PageSourceSearch

https://console.cuebicai.com/_next/static/chunks/7199-5e2aac727f9722fa.js

js cuebicai.com collected 2026-10-04 13:37:07 UTC 43,857 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a15bc6e-67ac-4cbf-8956-28d4782a4a97",e._sentryDebugIdIdentifier="sentry-dbid-3a15bc6e-67ac-4cbf-8956-28d4782a4a97")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7199],{2821:(e,t,n)=>{function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{$:()=>r,A:()=>i});let i=r},4129:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(12115),i=globalThis?.document?r.useLayoutEffect:()=>{}},23558:(e,t,n)=>{n.d(t,{i:()=>a});var r,i=n(12115),o=n(4129),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,a,u]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),a=i.useRef(t);return l(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}({defaultProp:t,onChange:n}),s=void 0!==e,f=s?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,r])}return[f,i.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else a(t)},[s,e,a,u])]}Symbol("RADIX:SYNC_STATE")},37194:(e,t,n)=>{n.d(t,{Mz:()=>k,i3:()=>$,UC:()=>I,bL:()=>M,Bk:()=>b});var r=n(12115),i=n(88334),o=n(58146);n(47650);var l=n(94446),a=n(95155),u=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,a,u=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,l.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),u=l.find(s);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),c=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,a.jsx)(f.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,a.jsx)("polygon",{points:"0,0 30,0 15,10"})})});c.displayName="Arrow";var d=Symbol("radix.slottable");function p(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,a,u=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,l.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,l=r.Children.toArray(i),u=l.find(p);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),h=n(70222),y=n(4129),g=n(84288),v="Popper",[w,b]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),l=n.length;n=[...n,i];let u=t=>{let{scope:n,children:i,...u}=t,s=n?.[e]?.[l]||o,f=r.useMemo(()=>u,Object.values(u));return(0,a.jsx)(s.Provider,{value:f,children:i})};return u.displayName=t+"Provider",[u,function(n,a){let u=a?.[e]?.[l]||o,s=r.useContext(u);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(v),[x,E]=w(v),R=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,a.jsx)(x,{scope:t,anchor:i,onAnchorChange:o,children:n})};R.displayName=v;var C="PopperAnchor",O=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,u=E(C,n),s=r.useRef(null),f=(0,l.s)(t,s),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=(null==i?void 0:i.current)||s.current,e!==c.current&&u.onAnchorChange(c.current)}),i?null:(0,a.jsx)(m.div,{...o,ref:f})});O.displayName=C;var N="PopperContent",[A,S]=w(N),P=r.forwardRef((e,t)=>{var n,u,s,f,c,d,p,v;let{__scopePopper:w,side:b="bottom",sideOffset:x=0,align:R="center",alignOffset:C=0,arrowPadding:O=0,avoidCollisions:S=!0,collisionBoundary:P=[],collisionPadding:D=0,sticky:L="partial",hideWhenDetached:T=!1,updatePositionStrategy:M="optimized",onPlaced:k,...I}=e,$=E(N,w),[F,V]=r.useState(null),B=(0,l.s)(t,e=>V(e)),[U,H]=r.useState(null),z=(0,g.X)(U),Y=null!=(p=null==z?void 0:z.width)?p:0,X=null!=(v=null==z?void 0:z.height)?v:0,Z="number"==typeof D?D:{top:0,right:0,bottom:0,left:0,...D},K=Array.isArray(P)?P:[P],q=K.length>0,G={padding:Z,boundary:K.filter(j),altBoundary:q},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,i.we)({strategy:"fixed",placement:b+("center"!==R?"-"+R:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.ll)(...t,{animationFrame:"always"===M})},elements:{reference:$.anchor},middleware:[(0,i.cY)({mainAxis:x+X,alignmentAxis:C}),S&&(0,i.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===L?(0,i.ER)():void 0,...G}),S&&(0,i.UU)({...G}),(0,i.Ej)({...G,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),U&&(0,i.UE)({element:U,padding:O}),W({arrowWidth:Y,arrowHeight:X}),T&&(0,i.jD)({strategy:"referenceHidden",...G})]}),[er,ei]=_(ee),eo=(0,h.c)(k);(0,y.N)(()=>{et&&(null==eo||eo())},[et,eo]);let el=null==(n=en.arrow)?void 0:n.x,ea=null==(u=en.arrow)?void 0:u.y,eu=(null==(s=en.arrow)?void 0:s.centerOffset)!==0,[es,ef]=r.useState();return(0,y.N)(()=>{F&&ef(window.getComputedStyle(F).zIndex)},[F]),(0,a.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null==(f=en.transformOrigin)?void 0:f.x,null==(c=en.transformOrigin)?void 0:c.y].join(" "),...(null==(d=en.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,a.jsx)(A,{scope:w,placedSide:er,onArrowChange:H,arrowX:el,arrowY:ea,shouldHideArrow:eu,children:(0,a.jsx)(m.div,{"data-side":er,"data-align":ei,...I,ref:B,style:{...I.style,animation:et?void 0:"none"}})})})});P.displayName=N;var D="PopperArrow",L={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},T=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=S(D,n),o=L[i.placedSide];return(0,a.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,a.jsx)(c,{...r,ref:t,style:{...r.style,display:"block"}})})});function j(e){return null!==e}T.displayName=D;var W=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:u,middlewareData:s}=t,f=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,c=f?0:e.arrowWidth,d=f?0:e.arrowHeight,[p,m]=_(a),h={start:"0%",center:"50%",end:"100%"}[m],y=(null!=(o=null==(r=s.arrow)?void 0:r.x)?o:0)+c/2,g=(null!=(l=null==(i=s.arrow)?void 0:i.y)?l:0)+d/2,v="",w="";return"bottom"===p?(v=f?h:"".concat(y,"px"),w="".concat(-d,"px")):"top"===p?(v=f?h:"".concat(y,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(v="".concat(-d,"px"),w=f?h:"".concat(g,"px")):"left"===p&&(v="".concat(u.floating.width+d,"px"),w=f?h:"".concat(g,"px")),{data:{x:v,y:w}}}});function _(e){let[t,n="center"]=e.split("-");return[t,n]}var M=R,k=O,I=P,$=T},58146:(e,t,n)=>{let r;n.d(t,{UE:()=>eb,ll:()=>em,rD:()=>eE,UU:()=>eg,jD:()=>ew,ER:()=>ex,cY:()=>eh,BN:()=>ey,Ej:()=>ev});let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,u=Math.floor,s=e=>({x:e,y:e}
1),f={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function y(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],w=["right","left"],b=["top","bottom"],x=["bottom","top"];function E(e){let t=d(e);return f[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(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 O(e,t,n){let r,{reference:i,floating:o}=e,l=y(t),a=m(y(t)),u=h(a),s=d(t),f="y"===l,c=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,v=i[u]/2-o[u]/2;switch(s){case"top":r={x:c,y:i.y-o.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-o.width,y:g};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[a]-=v*(n&&f?-1:1);break;case"end":r[a]+=v*(n&&f?-1:1)}return r}async function N(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=c(t,e),h=R(m),y=a[p?"floating"===d?"reference":"floating":d],g=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(y)))||n?y:y.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:u}):v);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:N},u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=O(s,r,u),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:y,fn:g}=h,{x:v,y:w,data:b,reset:x}=await g({x:f,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:s,platform:a,elements:{reference:e,floating:t}});f=null!=v?v:f,c=null!=w?w:c,m[y]={...m[y],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:c}=O(s,d,u)),n=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:m}};function S(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return i.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function L(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),a=p(n),u="y"===y(n),s=D.has(l)?-1:1,f=o&&u?-1:1,m=c(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(g="end"===a?-1*v:v),u?{x:g*f,y:h*s}:{x:h*s,y:g*f}}function T(){return"undefined"!=typeof window}function j(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function W(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!T()&&(e instanceof Node||e instanceof W(e).Node)}function k(e){return!!T()&&(e instanceof Element||e instanceof W(e).Element)}function I(e){return!!T()&&(e instanceof HTMLElement||e instanceof W(e).HTMLElement)}function $(e){return!!T()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof W(e).ShadowRoot)}function F(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function V(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let B=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,H=e=>!!e&&"none"!==e;function z(e){let t=k(e)?Z(e):e;return H(t.transform)||H(t.translate)||H(t.scale)||H(t.rotate)||H(t.perspective)||!Y()&&(H(t.backdropFilter)||H(t.filter))||B.test(t.willChange||"")||U.test(t.contain||"")}function Y(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function X(e){return/^(html|body|#document)$/.test(j(e))}function Z(e){return W(e).getComputedStyle(e)}function K(e){return k(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||_(e);return $(t)?t.host:t}function G(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=q(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:I(n)&&F(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=W(i);if(!o)return t.concat(i,G(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],F(i)?i:[],e&&n?G(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=Z(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=I(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=a(n)!==o||a(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function ee(e){return k(e)?e:e.contextElement}function et(e){let t=ee(e);if(!I(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Q(t),l=(o?a(n.width):n.width)/r,u=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let en=s(0);function er(e){let t=W(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function ei(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ee(e),a=s(1);t&&(r?k(r)&&(a=et(r)):a=et(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===W(l))&&i)?er(l):s(0),f=(o.left+u.x)/a.x,c=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=W(l),t=r&&k(r)?W(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=et(i),t=i.getBoundingClientRect(),r=Z(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,c*=e.y,d*=e.x,p*=e.y,f+=o,c+=l,i=J(n=W(i))}}return C({width:d,height:p,x:f,y:c})}function eo(e,t){let n=K(e).scrollLeft;return t?t.left+n:ei(_(e)).left+n}function el(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=W(e),r=_(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,u=0;if(i){o=i.width,l=i.height;let e=Y();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}let s=eo(r);if(s<=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 s<=25&&(o+=s);return{width:o,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=_(e),n=K(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eo(e),u=-n.scrollTop;return"rtl"===Z(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:u}}(_(e));else if(k(t))r=function(e,t){let n=ei(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=I(e)?et(e):s(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=er(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function eu(e){return"static"===Z(e).position}function es(e,t){if(!I(e)||"fixed"===Z(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=W(e);if(V(e))return r;if(!I(e)){let t=q(e);for(;t&&!X(t);){if(k(t)&&!eu(t))return t;t=q(t)}return r}let i=es(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(j(n)))&&eu(i);)i=es(i,t);return i&&X(i)&&eu(i)&&!z(i)?r:i||function(e){let t=q(e);for(;I(t)&&!X(t);){if(z(t))return t;if(V(t))break;t=q(t)}return null}(e)||r}let ec=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=I(t),i=_(t),o="fixed"===n,l=ei(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!o)if(("body"!==j(t)||F(i))&&(a=K(t)),r){let e=ei(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=eo(i));o&&!r&&i&&(u.x=eo(i));let f=!i||r||o?s(0):el(i,a);return{x:l.left+a.scrollLeft-u.x-f.x,y:l.top+a.scrollTop-u.y-f.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=_(r),a=!!t&&V(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},f=s(1),c=s(0),d=I(r);if((d||!d&&!o)&&(("body"!==j(r)||F(l))&&(u=K(r)),d)){let e=ei(r);f=et(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?s(0):el(l,u);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+c.x+p.x,y:n.y*f.y-u.scrollTop*f.y+c.y+p.y}},getDocumentElement:_,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?V(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=G(e,[],!1).filter(e=>k(e)&&"body"!==j(e)),i=null,o="fixed"===Z(e).position,l=o?q(e):e;for(;k(l)&&!X(l);){let t=Z(l),n=z(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||F(l)&&!n&&function e(t,n){let r=q(t);return!(r===n||!k(r)||X(r))&&("fixed"===Z(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=q(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=ea(t,a[0],i),s=u.top,f=u.right,c=u.bottom,d=u.left;for(let e=1;e<a.length;e++){let n=ea(t,a[e],i);s=l(n.top,s),f=o(n.right,f),c=o(n.bottom,c),d=l(n.left,d)}return{width:f-d,height:c-s,x:d,y:s}},getOffsetParent:ef,getElementRects:ec,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:et,isElement:k,isRTL:function(e){return"rtl"===Z(e).direction}};function ep(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function em(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=ee(e),m=a||s?[...p?G(p):[],...t?G(t):[]]:[];
1m.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let h=p&&c?function(e,t){let n,r=null,i=_(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:y}=d;if(f||t(),!h||!y)return;let g=u(m),v=u(i.clientWidth-(p+h)),w={rootMargin:-g+"px "+-v+"px "+-u(i.clientHeight-(m+y))+"px "+-u(p)+"px",threshold:l(0,o(1,c))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==c){if(!b)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ep(d,e.getBoundingClientRect())||s(),b=!1}try{r=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),a}(p,n):null,y=-1,g=null;f&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),t&&g.observe(t));let v=d?ei(e):null;return d&&function t(){let r=ei(e);v&&!ep(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{a&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(i)}}let eh=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:a}=t,u=await L(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}},ey=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:u=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...p}=c(e,t),h={x:n,y:r},g=await a.detectOverflow(t,p),v=y(d(i)),w=m(v),b=h[w],x=h[v];if(u){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=b+g[e],r=b-g[t];b=l(n,o(b,r))}if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+g[e],r=x-g[t];x=l(n,o(x,r))}let E=f.fn({...t,[w]:b,[v]:x});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[w]:u,[v]:s}}}}}},eg=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:f,platform:R,elements:C}=t,{mainAxis:O=!0,crossAxis:N=!0,fallbackPlacements:A,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:D=!0,...L}=c(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let T=d(a),j=y(f),W=d(f)===f,_=await (null==R.isRTL?void 0:R.isRTL(C.floating)),M=A||(W||!D?[E(f)]:function(e){let t=E(e);return[g(e),t,g(t)]}(f)),k="none"!==P;!A&&k&&M.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:v;return t?v:w;case"left":case"right":return t?b:x;default:return[]}}(d(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(g)))),o}(f,D,P,_));let I=[f,...M],$=await R.detectOverflow(t,L),F=[],V=(null==(r=u.flip)?void 0:r.overflows)||[];if(O&&F.push($[T]),N){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=m(y(e)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=E(l)),[l,E(l)]}(a,s,_);F.push($[e[0]],$[e[1]])}if(V=[...V,{placement:a,overflows:F}],!F.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=I[e];if(t&&("alignment"!==N||j===y(t)||V.every(e=>y(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(o=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(S){case"bestFit":{let e=null==(l=V.filter(e=>{if(k){let t=y(e.placement);return t===j||"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:l[0];e&&(n=e);break}case"initialPlacement":n=f}if(a!==n)return{reset:{placement:n}}}return{}}}},ev=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:u,rects:s,platform:f,elements:m}=t,{apply:h=()=>{},...g}=c(e,t),v=await f.detectOverflow(t,g),w=d(u),b=p(u),x="y"===y(u),{width:E,height:R}=s.floating;"top"===w||"bottom"===w?(i=w,a=b===(await (null==f.isRTL?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(a=w,i="end"===b?"top":"bottom");let C=R-v.top-v.bottom,O=E-v.left-v.right,N=o(R-v[i],C),A=o(E-v[a],O),S=!t.middlewareData.shift,P=N,D=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(D=O),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=C),S&&!b){let e=l(v.left,0),t=l(v.right,0),n=l(v.top,0),r=l(v.bottom,0);x?D=E-2*(0!==e||0!==t?e+t:l(v.left,v.right)):P=R-2*(0!==n||0!==r?n+r:l(v.top,v.bottom))}await h({...t,availableWidth:D,availableHeight:P});let L=await f.getDimensions(m.floating);return E!==L.width||R!==L.height?{reset:{rects:!0}}:{}}}},ew=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=c(e,t);switch(i){case"referenceHidden":{let e=S(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=S(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}},eb=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:u,elements:s,middlewareData:f}=t,{element:d,padding:g=0}=c(e,t)||{};if(null==d)return{};let v=R(g),w={x:n,y:r},b=m(y(i)),x=h(b),E=await u.getDimensions(d),C="y"===b,O=C?"clientHeight":"clientWidth",N=a.reference[x]+a.reference[b]-w[b]-a.floating[x],A=w[b]-a.reference[b],S=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),P=S?S[O]:0;P&&await (null==u.isElement?void 0:u.isElement(S))||(P=s.floating[O]||a.floating[x]);let D=P/2-E[x]/2-1,L=o(v[C?"top":"left"],D),T=o(v[C?"bottom":"right"],D),j=P-E[x]-T,W=P/2-E[x]/2+(N/2-A/2),_=l(L,o(W,j)),M=!f.arrow&&null!=p(i)&&W!==_&&a.reference[x]/2-(W<L?L:T)-E[x]/2<0,k=M?W<L?W-L:W-j:0;return{[b]:w[b]+k,data:{[b]:_,centerOffset:W-_-k,...M&&{alignmentOffset:k}},reset:M}}}),ex=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=c(e,t),f={x:n,y:r},p=y(i),h=m(p),g=f[h],v=f[p],w=c(a,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+b.mainAxis,n=o.reference[h]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(s){var x,E;let e="y"===h?"width":"height",t=D.has(d(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(x=l.offset)?void 0:x[p])||0)+(t?0:b.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[p])||0)-(t?b.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:g,[p]:v}}}},eE=(e,t,n)=>{let r=new Map,i={platform:ed,...n},o={...i.platform,_c:r};return A(e,t,{...i,platform:o})}}
1,58462:(e,t,n)=>{n.d(t,{qW:()=>h});var r,i=n(12115),o=n(92556),l=n(47650),a=n(94446),u=n(95155),s=Symbol("radix.slottable");function f(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:n,...r}=e;if(i.isValidElement(n)){var o;let e,l,u=(o=n,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==i.Fragment&&(s.ref=t?(0,a.t)(t,u):u),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:r,...o}=e,l=i.Children.toArray(r),a=l.find(f);if(a){let e=a.props.children,r=l.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,u.jsx)(t,{...o,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,u.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=i.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),d=n(70222),p="dismissableLayer.update",m=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{var n,l;let{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:w,onDismiss:b,...x}=e,E=i.useContext(m),[R,C]=i.useState(null),O=null!=(l=null==R?void 0:R.ownerDocument)?l:null==(n=globalThis)?void 0:n.document,[,N]=i.useState({}),A=(0,a.s)(t,e=>C(e)),S=Array.from(E.layers),[P]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),D=S.indexOf(P),L=R?S.indexOf(R):-1,T=E.layersWithOutsidePointerEventsDisabled.size>0,j=L>=D,W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,d.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){g("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));j&&!n&&(null==h||h(e),null==w||w(e),e.defaultPrevented||null==b||b())},O),_=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,d.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&g("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...E.branches].some(e=>e.contains(t))&&(null==v||v(e),null==w||w(e),e.defaultPrevented||null==b||b())},O);return!function(e,t=globalThis?.document){let n=(0,d.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L===E.layers.size-1&&(null==f||f(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},O),i.useEffect(()=>{if(R)return s&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),y(),()=>{s&&1===E.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=r)}},[R,O,s,E]),i.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),y())},[R,E]),i.useEffect(()=>{let e=()=>N({});return document.addEventListener(p,e),()=>document.removeEventListener(p,e)},[]),(0,u.jsx)(c.div,{...x,ref:A,style:{pointerEvents:T?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,W.onPointerDownCapture)})});function y(){let e=new CustomEvent(p);document.dispatchEvent(e)}function g(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&o.addEventListener(e,t,{once:!0}),i)o&&l.flushSync(()=>o.dispatchEvent(a));else o.dispatchEvent(a)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(m),r=i.useRef(null),o=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(c.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},61584:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(12115),i=n(47650),o=n(94446),l=n(95155),a=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var l;let e,a,u=(l=n,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,o.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),s=a.find(u);if(s){let e=s.props.children,i=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,l.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),f=n(4129),c=r.forwardRef((e,t)=>{var n,o;let{container:a,...u}=e,[c,d]=r.useState(!1);(0,f.N)(()=>d(!0),[]);let p=a||c&&(null==(o=globalThis)||null==(n=o.document)?void 0:n.body);return p?i.createPortal((0,l.jsx)(s.div,{...u,ref:t}),p):null});c.displayName="Portal"},68946:(e,t,n)=>{n.d(t,{B:()=>u});var r,i=n(12115),o=n(4129),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,n]=i.useState(l());return(0,o.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},70222:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(12115);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},76842:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(12115),i=n(94446),o=n(4129),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=r.useState(),u=r.useRef(null),s=r.useRef(e),f=r.useRef("none"),[c,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(u.current);f.current="mounted"===c?e:"none"},[c]),(0,o.N)(()=>{let t=u.current,n=s.current;if(n!==e){let r=f.current,i=a(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,o.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=a(u.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(d("ANIMATION_END"),!s.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(f.current=a(u.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")}
1,[i,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(t),u="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),s=(0,i.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||l.isPresent?r.cloneElement(u,{ref:s}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},84288:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(12115),i=n(4129);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},88334:(e,t,n)=>{n.d(t,{BN:()=>p,ER:()=>m,Ej:()=>y,UE:()=>v,UU:()=>h,cY:()=>d,jD:()=>g,we:()=>c});var r=n(58146),i=n(12115),o=n(47650),l="undefined"!=typeof document?i.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 u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function f(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:c=[],platform:d,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:y,open:g}=e,[v,w]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(c);a(b,c)||x(c);let[E,R]=i.useState(null),[C,O]=i.useState(null),N=i.useCallback(e=>{e!==D.current&&(D.current=e,R(e))},[]),A=i.useCallback(e=>{e!==L.current&&(L.current=e,O(e))},[]),S=p||E,P=m||C,D=i.useRef(null),L=i.useRef(null),T=i.useRef(v),j=null!=y,W=f(y),_=f(d),M=f(g),k=i.useCallback(()=>{if(!D.current||!L.current)return;let e={placement:t,strategy:n,middleware:b};_.current&&(e.platform=_.current),(0,r.rD)(D.current,L.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};I.current&&!a(T.current,t)&&(T.current=t,o.flushSync(()=>{w(t)}))})},[b,t,n,_,M]);l(()=>{!1===g&&T.current.isPositioned&&(T.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let I=i.useRef(!1);l(()=>(I.current=!0,()=>{I.current=!1}),[]),l(()=>{if(S&&(D.current=S),P&&(L.current=P),S&&P){if(W.current)return W.current(S,P,k);k()}},[S,P,k,W,j]);let $=i.useMemo(()=>({reference:D,floating:L,setReference:N,setFloating:A}),[N,A]),F=i.useMemo(()=>({reference:S,floating:P}),[S,P]),V=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=s(F.floating,v.x),r=s(F.floating,v.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...u(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,F.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:k,refs:$,elements:F,floatingStyles:V}),[v,k,$,F,V])}let d=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>({fn:(0,r.ER)(e).fn,options:[e,t]}),h=(e,t)=>{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,r.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>
1{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},92556:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement}}]);

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.