PageSourceSearch

https://stakecasino.com/assets/ui-core-B7vyv5H1.js

js stakecasino.com collected 2026-10-08 18:43:35 UTC 44,997 bytes, 9 lines download raw bytes

vendor: 19,723 bytes, lines 1-9
1import{r as f,b as ft,R as rn,G as sn}from"./react-vendor-DO1jVSC6.js";var dt={exports:{}},be={};/**
2 * @license React
3 * react-jsx-runtime.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var cn=f,an=Symbol.for("react.element"),ln=Symbol.for("react.fragment"),un=Object.prototype.hasOwnProperty,fn=cn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dn={key:!0,ref:!0,__self:!0,__source:!0};function pt(e,t,n){var o,r={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(o in t)un.call(t,o)&&!dn.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)r[o]===void 0&&(r[o]=t[o]);return{$$typeof:an,type:e,key:i,ref:s,props:r,_owner:fn.current}}be.Fragment=ln;be.jsx=pt;be.jsxs=pt;dt.exports=be;var C=dt.exports;function U(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function pn(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function mt(...e){return t=>e.forEach(n=>pn(n,t))}function te(...e){return f.useCallback(mt(...e),e)}function mn(e,t=[]){let n=[];function o(i,s){const c=f.createContext(s),l=n.length;n=[...n,s];const a=d=>{var v;const{scope:m,children:p,...h}=d,g=((v=m==null?void 0:m[e])==null?void 0:v[l])||c,x=f.useMemo(()=>h,Object.values(h));return C.jsx(g.Provider,{value:x,children:p})};a.displayName=i+"Provider";function u(d,m){var g;const p=((g=m==null?void 0:m[e])==null?void 0:g[l])||c,h=f.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[a,u]}const r=()=>{const i=n.map(s=>f.createContext(s));return function(c){const l=(c==null?void 0:c[e])||i;return f.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return r.scopeName=e,[o,hn(r,...t)]}function hn(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const s=o.reduce((c,{useScope:l,scopeName:a})=>{const d=l(i)[`__scope${a}`];return{...c,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ht=f.forwardRef((e,t)=>{const{children:n,...o}=e,r=f.Children.toArray(n),i=r.find(gn);if(i){const s=i.props.children,c=r.map(l=>l===i?f.Children.count(s)>1?f.Children.only(null):f.isValidElement(s)?s.props.children:null:l);return C.jsx(Te,{...o,ref:t,children:f.isValidElement(s)?f.cloneElement(s,void 0,c):null})}return C.jsx(Te,{...o,ref:t,children:n})});ht.displayName="Slot";var Te=f.forwardRef((e,t)=>{const{children:n,...o}=e;if(f.isValidElement(n)){const r=vn(n);return f.cloneElement(n,{...xn(o,n.props),ref:t?mt(t,r):r})}return f.Children.count(n)>1?f.Children.only(null):null});Te.displayName="SlotClone";var gt=({children:e})=>C.jsx(C.Fragment,{children:e});function gn(e){return f.isValidElement(e)&&e.type===gt}function xn(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...c)=>{i(...c),r(...c)}:r&&(n[o]=r):o==="style"?n[o]={...r,...i}:o==="className"&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function vn(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var yn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],G=yn.reduce((e,t)=>{const n=f.forwardRef((o,r)=>{const{asChild:i,...s}=o,c=i?ht:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(c,{...s,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function wn(e,t){e&&ft.flushSync(()=>e.dispatchEvent(t))}function ie(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function bn(e,t=globalThis==null?void 0:globalThis.document){const n=ie(e);f.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var En="DismissableLayer",Ne="dismissableLayer.update",Pn="dismissableLayer.pointerDownOutside",Cn="dismissableLayer.focusOutside",Qe,xt=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$e=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...l}=e,a=f.useContext(xt),[u,d]=f.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=f.useState({}),h=te(t,P=>d(P)),g=Array.from(a.layers),[x]=[...a.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(x),y=u?g.indexOf(u):-1,w=a.layersWithOutsidePointerEventsDisabled.size>0,b=y>=v,E=Rn(P=>{const O=P.target,_=[...a.branches].some(S=>S.contains(O));!b||_||(r==null||r(P),s==null||s(P),P.defaultPrevented||c==null||c())},m),A=On(P=>{const O=P.target;[...a.branches].some(S=>S.contains(O))||(i==null||i(P),s==null||s(P),P.defaultPrevented||c==null||c())},m);return bn(P=>{y===a.layers.size-1&&(o==null||o(P),!P.defaultPrevented&&c&&(P.preventDefault(),c()))},m),f.useEffect(()=>{if(u)return n&&(a.layersWithOutsidePointerEventsDisabled.size===0&&(Qe=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),a.layersWithOutsidePointerEventsDisabled.add(u)),a.layers.add(u),et(),()=>{n&&a.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Qe)}},[u,m,n,a]),f.useEffect(()=>()=>{u&&(a.layers.delete(u),a.layersWithOutsidePointerEventsDisabled.delete(u),et())},[u,a]),f.useEffect(()=>{const P=()=>p({});return document.addEventListener(Ne,P),()=>document.removeEventListener(Ne,P)},[]),C.jsx(G.div,{...l,ref:h,style:{pointerEvents:w?b?"auto":"none":void 0,...e.style},onFocusCapture:U(e.onFocusCapture,A.onFocusCapture),onBlurCapture:U(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:U(e.onPointerDownCapture,E.onPointerDownCapture)})});$e.displayName=En;var An="DismissableLayerBranch",vt=f.forwardRef((e,t)=>{const n=f.useContext(xt),o=f.useRef(null),r=te(t,o);return f.useEffect(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),C.jsx(G.div,{...e,ref:r})});vt.displayName=An;function Rn(e,t=globalThis==null?void 0:globalThis.document){const n=ie(e),o=f.useRef(!1),r=f.useRef(()=>{});return f.useEffect(()=>{const i=c=>{if(c.target&&!o.current){let l=function(){yt(Pn,n,a,{discrete:!0})};const a={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=l,t.addEventListener("click",r.current,{once:!0})):l()}else t.removeEventListener("click",r.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function On(e,t=globalThis==null?void 0:globalThis.document){const n=ie(e),o=f.useRef(!1);return f.useEffect(()=>{const r=i=>{i.target&&!o.current&&yt(Cn,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function et(){const e=new CustomEvent(Ne);document.dispatchEvent(e)}function yt(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?wn(r,i):r.dispatchEvent(i)}var hr=$e,gr=vt,Q=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},Sn=rn.useId||(()=>{}),Tn=0;function xr(e){const[t,n]=f.useState(Sn());return Q(()=>{n(o=>o??String(Tn++))},[e]),t?`radix-${t}`:""}const Nn=["top","right","bottom","left"],q=Math.min,I=Math.max,xe=Math.round,me=Math.floor,K=e=>({x:e,y:e}),Dn={left:"right",right:"left",bottom:"top",top:"bottom"},Ln={start:"end",end:"start"};function De(e,t,n){return I(e,q(t,n))}function Y(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function se(e){return e.split("-")[1]}function Ie(e){return e==="x"?"y":"x"}function je(e){return e==="y"?"height":"width"}function Z(e){return["top","bottom"].includes(X(e))?"y":"x"}function Fe(e){return Ie(Z(e))}function _n(e,t,n){n===void 0&&(n=!1);const o=se(e),r=Fe(e),i=je(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ve(s)),[s,ve(s)]}function Mn(e){const t=ve(e);return[Le(e),t,Le(t)]}function Le(e){return e.replace(/start|end/g,t=>Ln[t])}function kn(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:s;default:return[]}}function $n(e,t,n,o){const r=se(e);let i=kn(X(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Le)))),i}function ve(e){return e.replace(/left|right|bottom|top/g,t=>Dn[t])}function In(e){return{top:0,right:0,bottom:0,left:0,...e}}function wt(e){return typeof e!="number"?In(e):{top:e,right:e,bottom:e,left:e}}function ye(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function tt(e,t,n){let{reference:o,floating:r}=e;const i=Z(t),s=Fe(t),c=je(s),l=X(t),a=i==="y",u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,m=o[c]/2-r[c]/2;let p;switch(l){case"top":p={x:u,y:o.y-r.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-r.width,y:d};break;default:p={x:o.x,y:o.y}}switch(se(t)){case"start":p[s]-=m*(n&&a?-1:1);break;case"end":p[s]+=m*(n&&a?-1:1);break}return p}const jn=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=tt(a,o,l),m=o,p={},h=0;for(let g=0;g<c.length;g++){const{name:x,fn:v}=c[g],{x:y,y:w,data:b,reset:E}=await v({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:a,platform:s,elements:{reference:e,floating:t}});u=y??u,d=w??d,p={...p,[x]:{...p[x],...b}},E&&h<=50&&(h++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):E.rects),{x:u,y:d}=tt(a,m,l)),g=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}};async function le(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=Y(t,e),h=wt(p),x=c[m?d==="floating"?"reference":"floating":d],v=ye(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:a,rootBoundary:u,strategy:l})),y=d==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=ye(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:w,strategy:l}):y);return{top:(v.top-E.top+h.top)/b.y,bottom:(E.bottom-v.bottom+h.bottom)/b.y,left:(v.left-E.left+h.left)/b.x,right:(E.right-v.right+h.right)/b.x}}const Fn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:l}=t,{element:a,padding:u=0}=Y(e,t)||{};if(a==null)return{};const d=wt(u),m={x:n,y:o},p=Fe(r),h=je(p),g=await s.getDimensions(a),x=p==="y",v=x?"top":"left",y=x?"bottom":"right",w=x?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[p]-m[p]-i.floating[h],E=m[p]-i.reference[p],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let P=A?A[w]:0;(!P||!await(s.isElement==null?void 0:s.isElement(A)))&&(P=c.floating[w]||i.floating[h]);const O=b/2-E/2,_=P/2-g[h]/2-1,S=q(d[v],_),k=q(d[y],_),$=S,N=P-g[h]-k,T=P/2-g[h]/2+O,F=De($,T,N),D=!l.arrow&&se(r)!=null&&T!==F&&i.reference[h]/2-(T<$?S:k)-g[h]/2<0,L=D?T<$?T-$:T-N:0;return{[p]:m[p]+L,data:{[p]:F,centerOffset:T-F-L,...D&&{alignmentOffset:L}},reset:D}}}),Wn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:a}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...x}=Y(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=X(r),y=Z(c),w=X(c)===c,b=await(l.isRTL==null?void 0:l.isRTL(a.floating)),E=m||(w||!g?[ve(c)]:Mn(c)),A=h!=="none";!m&&A&&E.push(...$n(c,g,h,b));const P=[c,...E],O=await le(t,x),_=[];let S=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&_.push(O[v]),d){const T=_n(r,s,b);_.push(O[T[0]],O[T[1]])}if(S=[...S,{placement:r,overflows:_}],!_.every(T=>T<=0)){var k,$;const T=(((k=i.flip)==null?void 0:k.index)||0)+1,F=P[T];if(F)return{data:{index:T,overflows:S},reset:{placement:F}};let D=($=S.filter(L=>L.overflows[0]<=0).sort((L,R)=>L.overflows[1]-R.overflows[1])[0])==null?void 0:$.placement;if(!D)switch(p){case"bestFit":{var N;const L=(N=S.filter(R=>{if(A){const M=Z(R.placement);return M===y||M==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(M=>M>0).reduce((M,H)=>M+H,0)]).sort((R,M)=>R[1]-M[1])[0])==null?void 0:N[0];L&&(D=L);break}case"initialPlacement":D=c;break}if(r!==D)return{reset:{placement:D}}}return{}}}};function nt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ot(e){return Nn.some(t=>e[t]>=0)}const Bn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=Y(e,t);switch(o){case"referenceHidden":{const i=await le(t,{...r,elementContext:"reference"}),s=nt(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:ot(s)}}}case"escaped":{const i=await le(t,{...r,altBoundary:!0}),s=nt(i,n.floating);return{data:{escapedOffsets:s,escaped:ot(s)}}}default:return{}}}}};async function Hn(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=X(n),c=se(n),l=Z(n)==="y",a=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,d=Y(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),l?{x:p*u,y:m*a}:{x:m*a,y:p*u}}const Vn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=t,l=await Hn(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},zn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...l}=Y(e,t),a={x:n,y:o},u=await le(t,l),d=Z(X(r)),m=Ie(d);let p=a[m],h=a[d];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=p+u[x],w=p-u[v];p=De(y,p,w)}if(s){const x=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=h+u[x],w=h-u[v];h=De(y,h,w)}const g=c.fn({...t,[m]:p,[d]:h});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[m]:i,[d]:s}}}}}},Un=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=Y(e,t),u={x:n,y:o},d=Z(r),m=Ie(d);let p=u[m],h=u[d];const g=Y(c,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const w=m==="y"?"height":"width",b=i.reference[m]-i.floating[w]+x.mainAxis,E=i.reference[m]+i.reference[w]-x.mainAxis;p<b?p=b:p>E&&(p=E)}if(a){var v,y;const w=m==="y"?"width":"height",b=["top","left"].includes(X(r)),E=i.reference[d]-i.floating[w]+(b&&((v=s.offset)==null?void 0:v[d])||0)+(b?0:x.crossAxis),A=i.reference[d]+i.reference[w]+(b?0:((y=s.offset)==null?void 0:y[d])||0)-(b?x.crossAxis:0);h<E?h=E:h>A&&(h=A)}return{[m]:p,[d]:h}}}},Yn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:i,platform:s,elements:c}=t,{apply:l=()=>{},...a}=Y(e,t),u=await le(t,a),d=X(r),m=se(r),p=Z(r)==="y",{width:h,height:g}=i.floating;let x,v;d==="top"||d==="bottom"?(x=d,v=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(v=d,x=m==="end"?"top":"bottom");const y=g-u.top-u.bottom,w=h-u.left-u.right,b=q(g-u[x],y),E=q(h-u[v],w),A=!t.middlewareData.shift;let P=b,O=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(O=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(P=y),A&&!m){const S=I(u.left,0),k=I(u.right,0),$=I(u.top,0),N=I(u.bottom,0);p?O=h-2*(S!==0||k!==0?S+k:I(u.left,u.right)):P=g-2*($!==0||N!==0?$+N:I(u.top,u.bottom))}await l({...t,availableWidth:O,availableHeight:P});const _=await s.getDimensions(c.floating);return h!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}};function Ee(){return typeof window<"u"}function ce(e){return bt(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function z(e){var t;return(t=(bt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bt(e){return Ee()?e instanceof Node||e instanceof j(e).Node:!1}function W(e){return Ee()?e instanceof Element||e instanceof j(e).Element:!1}function V(e){return Ee()?e instanceof HTMLElement||e instanceof j(e).HTMLElement:!1}function rt(e){return!Ee()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof j(e).ShadowRoot}function fe(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function Xn(e){return["table","td","th"].includes(ce(e))}function Pe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function We(e){const t=Be(),n=W(e)?B(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Gn(e){let t=J(e);for(;V(t)&&!oe(t);){if(We(t))return t;if(Pe(t))return null;t=J(t)}return null}function Be(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oe(e){return["html","body","#document"].includes(ce(e))}function B(e){return j(e).getComputedStyle(e)}function Ce(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if(ce(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rt(e)&&e.host||z(e);return rt(t)?t.host:t}function Et(e){const t=J(e);return oe(t)?e.ownerDocument?e.ownerDocument.body:e.body:V(t)&&fe(t)?t:Et(t)}function ue(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Et(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=j(r);if(i){const c=_e(s);
vendor: 7,061 bytes, line 9
9return t.concat(s,s.visualViewport||[],fe(r)?r:[],c&&n?ue(c):[])}return t.concat(r,ue(r,[],n))}function _e(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pt(e){const t=B(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=V(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,c=xe(n)!==i||xe(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function He(e){return W(e)?e:e.contextElement}function ne(e){const t=He(e);if(!V(t))return K(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=Pt(t);let s=(i?xe(n.width):n.width)/o,c=(i?xe(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const qn=K(0);function Ct(e){const t=j(e);return!Be()||!t.visualViewport?qn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==j(e)?!1:t}function ee(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=He(e);let s=K(1);t&&(o?W(o)&&(s=ne(o)):s=ne(e));const c=Kn(i,n,o)?Ct(i):K(0);let l=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const m=j(i),p=o&&W(o)?j(o):o;let h=m,g=_e(h);for(;g&&o&&p!==h;){const x=ne(g),v=g.getBoundingClientRect(),y=B(g),w=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*x.x,b=v.top+(g.clientTop+parseFloat(y.paddingTop))*x.y;l*=x.x,a*=x.y,u*=x.x,d*=x.y,l+=w,a+=b,h=j(g),g=_e(h)}}return ye({width:u,height:d,x:l,y:a})}function Zn(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=z(o),c=t?Pe(t.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},a=K(1);const u=K(0),d=V(o);if((d||!d&&!i)&&((ce(o)!=="body"||fe(s))&&(l=Ce(o)),V(o))){const m=ee(o);a=ne(o),u.x=m.x+o.clientLeft,u.y=m.y+o.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+u.x,y:n.y*a.y-l.scrollTop*a.y+u.y}}function Jn(e){return Array.from(e.getClientRects())}function Me(e,t){const n=Ce(e).scrollLeft;return t?t.left+n:ee(z(e)).left+n}function Qn(e){const t=z(e),n=Ce(e),o=e.ownerDocument.body,r=I(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=I(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Me(e);const c=-n.scrollTop;return B(o).direction==="rtl"&&(s+=I(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}function eo(e,t){const n=j(e),o=z(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(r){i=r.width,s=r.height;const a=Be();(!a||a&&t==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}return{width:i,height:s,x:c,y:l}}function to(e,t){const n=ee(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=V(e)?ne(e):K(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,l=r*i.x,a=o*i.y;return{width:s,height:c,x:l,y:a}}function it(e,t,n){let o;if(t==="viewport")o=eo(e,n);else if(t==="document")o=Qn(z(e));else if(W(t))o=to(t,n);else{const r=Ct(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return ye(o)}function At(e,t){const n=J(e);return n===t||!W(n)||oe(n)?!1:B(n).position==="fixed"||At(n,t)}function no(e,t){const n=t.get(e);if(n)return n;let o=ue(e,[],!1).filter(c=>W(c)&&ce(c)!=="body"),r=null;const i=B(e).position==="fixed";let s=i?J(e):e;for(;W(s)&&!oe(s);){const c=B(s),l=We(s);!l&&c.position==="fixed"&&(r=null),(i?!l&&!r:!l&&c.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||fe(s)&&!l&&At(e,s))?o=o.filter(u=>u!==s):r=c,s=J(s)}return t.set(e,o),o}function oo(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?Pe(t)?[]:no(t,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,u)=>{const d=it(t,u,r);return a.top=I(d.top,a.top),a.right=q(d.right,a.right),a.bottom=q(d.bottom,a.bottom),a.left=I(d.left,a.left),a},it(t,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ro(e){const{width:t,height:n}=Pt(e);return{width:t,height:n}}function io(e,t,n){const o=V(t),r=z(t),i=n==="fixed",s=ee(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const l=K(0);if(o||!o&&!i)if((ce(t)!=="body"||fe(r))&&(c=Ce(t)),o){const p=ee(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else r&&(l.x=Me(r));let a=0,u=0;if(r&&!o&&!i){const p=r.getBoundingClientRect();u=p.top+c.scrollTop,a=p.left+c.scrollLeft-Me(r,p)}const d=s.left+c.scrollLeft-l.x-a,m=s.top+c.scrollTop-l.y-u;return{x:d,y:m,width:s.width,height:s.height}}function Oe(e){return B(e).position==="static"}function st(e,t){if(!V(e)||B(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return z(e)===n&&(n=n.ownerDocument.body),n}function Rt(e,t){const n=j(e);if(Pe(e))return n;if(!V(e)){let r=J(e);for(;r&&!oe(r);){if(W(r)&&!Oe(r))return r;r=J(r)}return n}let o=st(e,t);for(;o&&Xn(o)&&Oe(o);)o=st(o,t);return o&&oe(o)&&Oe(o)&&!We(o)?n:o||Gn(e)||n}const so=async function(e){const t=this.getOffsetParent||Rt,n=this.getDimensions,o=await n(e.floating);return{reference:io(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function co(e){return B(e).direction==="rtl"}const ao={convertOffsetParentRelativeRectToViewportRelativeRect:Zn,getDocumentElement:z,getClippingRect:oo,getOffsetParent:Rt,getElementRects:so,getClientRects:Jn,getDimensions:ro,getScale:ne,isElement:W,isRTL:co};function lo(e,t){let n=null,o;const r=z(e);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),i();const{left:a,top:u,width:d,height:m}=e.getBoundingClientRect();if(c||t(),!d||!m)return;const p=me(u),h=me(r.clientWidth-(a+d)),g=me(r.clientHeight-(u+m)),x=me(a),y={rootMargin:-p+"px "+-h+"px "+-g+"px "+-x+"px",threshold:I(0,q(1,l))||1};let w=!0;function b(E){const A=E[0].intersectionRatio;if(A!==l){if(!w)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(b,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(e)}return s(!0),i}function uo(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=He(e),u=r||i?[...a?ue(a):[],...ue(t)]:[];u.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=a&&c?lo(a,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(v=>{let[y]=v;y&&y.target===a&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),a&&!l&&p.observe(a),p.observe(t));let h,g=l?ee(e):null;l&&x();function x(){const v=ee(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,h=requestAnimationFrame(x)}return n(),()=>{var v;u.forEach(y=>{r&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const fo=Vn,po=zn,mo=Wn,ho=Yn,go=Bn,ct=Fn,xo=Un,vo=(e,t,n)=>{const o=new Map,r={platform:ao,...n},i={...r.platform,_c:o};return jn(e,t,{...r,platform:i})};var ge=typeof document<"u"?f.useLayoutEffect:f.useEffect;function we(e,t){if(e===t)return!0;
vendor: 11,248 bytes, line 9
9if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!we(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!we(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ot(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function at(e,t){const n=Ot(e);return Math.round(t*n)/n}function Se(e){const t=f.useRef(e);return ge(()=>{t.current=e}),t}function yo(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=e,[u,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=f.useState(o);we(m,o)||p(o);const[h,g]=f.useState(null),[x,v]=f.useState(null),y=f.useCallback(R=>{R!==A.current&&(A.current=R,g(R))},[]),w=f.useCallback(R=>{R!==P.current&&(P.current=R,v(R))},[]),b=i||h,E=s||x,A=f.useRef(null),P=f.useRef(null),O=f.useRef(u),_=l!=null,S=Se(l),k=Se(r),$=Se(a),N=f.useCallback(()=>{if(!A.current||!P.current)return;const R={placement:t,strategy:n,middleware:m};k.current&&(R.platform=k.current),vo(A.current,P.current,R).then(M=>{const H={...M,isPositioned:$.current!==!1};T.current&&!we(O.current,H)&&(O.current=H,ft.flushSync(()=>{d(H)}))})},[m,t,n,k,$]);ge(()=>{a===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d(R=>({...R,isPositioned:!1})))},[a]);const T=f.useRef(!1);ge(()=>(T.current=!0,()=>{T.current=!1}),[]),ge(()=>{if(b&&(A.current=b),E&&(P.current=E),b&&E){if(S.current)return S.current(b,E,N);N()}},[b,E,N,S,_]);const F=f.useMemo(()=>({reference:A,floating:P,setReference:y,setFloating:w}),[y,w]),D=f.useMemo(()=>({reference:b,floating:E}),[b,E]),L=f.useMemo(()=>{const R={position:n,left:0,top:0};if(!D.floating)return R;const M=at(D.floating,u.x),H=at(D.floating,u.y);return c?{...R,transform:"translate("+M+"px, "+H+"px)",...Ot(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:H}},[n,c,D.floating,u.x,u.y]);return f.useMemo(()=>({...u,update:N,refs:F,elements:D,floatingStyles:L}),[u,N,F,D,L])}const wo=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?ct({element:o.current,padding:r}).fn(n):{}:o?ct({element:o,padding:r}).fn(n):{}}}},bo=(e,t)=>({...fo(e),options:[e,t]}),Eo=(e,t)=>({...po(e),options:[e,t]}),Po=(e,t)=>({...xo(e),options:[e,t]}),Co=(e,t)=>({...mo(e),options:[e,t]}),Ao=(e,t)=>({...ho(e),options:[e,t]}),Ro=(e,t)=>({...go(e),options:[e,t]}),Oo=(e,t)=>({...wo(e),options:[e,t]});var So="Arrow",St=f.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...i}=e;return C.jsx(G.svg,{...i,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});St.displayName=So;var To=St;function No(e,t=[]){let n=[];function o(i,s){const c=f.createContext(s),l=n.length;n=[...n,s];function a(d){const{scope:m,children:p,...h}=d,g=(m==null?void 0:m[e][l])||c,x=f.useMemo(()=>h,Object.values(h));return C.jsx(g.Provider,{value:x,children:p})}function u(d,m){const p=(m==null?void 0:m[e][l])||c,h=f.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return a.displayName=i+"Provider",[a,u]}const r=()=>{const i=n.map(s=>f.createContext(s));return function(c){const l=(c==null?void 0:c[e])||i;return f.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return r.scopeName=e,[o,Do(r,...t)]}function Do(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const s=o.reduce((c,{useScope:l,scopeName:a})=>{const d=l(i)[`__scope${a}`];return{...c,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Lo(e){const[t,n]=f.useState(void 0);return Q(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let s,c;if("borderBoxSize"in i){const l=i.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var Ve="Popper",[Tt,Nt]=No(Ve),[_o,Dt]=Tt(Ve),Lt=e=>{const{__scopePopper:t,children:n}=e,[o,r]=f.useState(null);return C.jsx(_o,{scope:t,anchor:o,onAnchorChange:r,children:n})};Lt.displayName=Ve;var _t="PopperAnchor",Mt=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=Dt(_t,n),s=f.useRef(null),c=te(t,s);return f.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:C.jsx(G.div,{...r,ref:c})});Mt.displayName=_t;var ze="PopperContent",[Mo,ko]=Tt(ze),kt=f.forwardRef((e,t)=>{var Ye,Xe,Ge,qe,Ke,Ze;const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:m=!1,updatePositionStrategy:p="optimized",onPlaced:h,...g}=e,x=Dt(ze,n),[v,y]=f.useState(null),w=te(t,ae=>y(ae)),[b,E]=f.useState(null),A=Lo(b),P=(A==null?void 0:A.width)??0,O=(A==null?void 0:A.height)??0,_=o+(i!=="center"?"-"+i:""),S=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},k=Array.isArray(a)?a:[a],$=k.length>0,N={padding:S,boundary:k.filter(Io),altBoundary:$},{refs:T,floatingStyles:F,placement:D,isPositioned:L,middlewareData:R}=yo({strategy:"fixed",placement:_,whileElementsMounted:(...ae)=>uo(...ae,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[bo({mainAxis:r+O,alignmentAxis:s}),l&&Eo({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Po():void 0,...N}),l&&Co({...N}),Ao({...N,apply:({elements:ae,rects:Je,availableWidth:en,availableHeight:tn})=>{const{width:nn,height:on}=Je.reference,pe=ae.floating.style;pe.setProperty("--radix-popper-available-width",`${en}px`),pe.setProperty("--radix-popper-available-height",`${tn}px`),pe.setProperty("--radix-popper-anchor-width",`${nn}px`),pe.setProperty("--radix-popper-anchor-height",`${on}px`)}}),b&&Oo({element:b,padding:c}),jo({arrowWidth:P,arrowHeight:O}),m&&Ro({strategy:"referenceHidden",...N})]}),[M,H]=jt(D),de=ie(h);Q(()=>{L&&(de==null||de())},[L,de]);const qt=(Ye=R.arrow)==null?void 0:Ye.x,Kt=(Xe=R.arrow)==null?void 0:Xe.y,Zt=((Ge=R.arrow)==null?void 0:Ge.centerOffset)!==0,[Jt,Qt]=f.useState();return Q(()=>{v&&Qt(window.getComputedStyle(v).zIndex)},[v]),C.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:L?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Jt,"--radix-popper-transform-origin":[(qe=R.transformOrigin)==null?void 0:qe.x,(Ke=R.transformOrigin)==null?void 0:Ke.y].join(" "),...((Ze=R.hide)==null?void 0:Ze.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(Mo,{scope:n,placedSide:M,onArrowChange:E,arrowX:qt,arrowY:Kt,shouldHideArrow:Zt,children:C.jsx(G.div,{"data-side":M,"data-align":H,...g,ref:w,style:{...g.style,animation:L?void 0:"none"}})})})});kt.displayName=ze;var $t="PopperArrow",$o={top:"bottom",right:"left",bottom:"top",left:"right"},It=f.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,i=ko($t,o),s=$o[i.placedSide];return C.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]: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:C.jsx(To,{...r,ref:n,style:{...r.style,display:"block"}})})});It.displayName=$t;function Io(e){return e!==null}var jo=e=>({name:"transformOrigin",options:e,fn(t){var x,v,y;const{placement:n,rects:o,middlewareData:r}=t,s=((x=r.arrow)==null?void 0:x.centerOffset)!==0,c=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[a,u]=jt(n),d={start:"0%",center:"50%",end:"100%"}[u],m=(((v=r.arrow)==null?void 0:v.x)??0)+c/2,p=(((y=r.arrow)==null?void 0:y.y)??0)+l/2;let h="",g="";return a==="bottom"?(h=s?d:`${m}px`,g=`${-l}px`):a==="top"?(h=s?d:`${m}px`,g=`${o.floating.height+l}px`):a==="right"?(h=`${-l}px`,g=s?d:`${p}px`):a==="left"&&(h=`${o.floating.width+l}px`,g=s?d:`${p}px`),{data:{x:h,y:g}}}});function jt(e){const[t,n="center"]=e.split("-");return[t,n]}var vr=Lt,Fo=Mt,Wo=kt,Bo=It,Ho="Portal",Vo=f.forwardRef((e,t)=>{var c;const{container:n,...o}=e,[r,i]=f.useState(!1);Q(()=>i(!0),[]);const s=n||r&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return s?sn.createPortal(C.jsx(G.div,{...o,ref:t}),s):null});Vo.displayName=Ho;function zo(e,t){return f.useReducer((n,o)=>t[n][o]??n,e)}var Ft=e=>{const{present:t,children:n}=e,o=Uo(t),r=typeof n=="function"?n({present:o.isPresent}):f.Children.only(n),i=te(o.ref,Yo(r));return typeof n=="function"||o.isPresent?f.cloneElement(r,{ref:i}):null};Ft.displayName="Presence";function Uo(e){const[t,n]=f.useState(),o=f.useRef({}),r=f.useRef(e),i=f.useRef("none"),s=e?"mounted":"unmounted",[c,l]=zo(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const a=he(o.current);i.current=c==="mounted"?a:"none"},[c]),Q(()=>{const a=o.current,u=r.current;if(u!==e){const m=i.current,p=he(a);e?l("MOUNT"):p==="none"||(a==null?void 0:a.display)==="none"?l("UNMOUNT"):l(u&&m!==p?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,l]),Q(()=>{if(t){let a;const u=t.ownerDocument.defaultView??window,d=p=>{const g=he(o.current).includes(p.animationName);if(p.target===t&&g&&(l("ANIMATION_END"),!r.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",a=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},m=p=>{p.target===t&&(i.current=he(o.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(a),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:f.useCallback(a=>{a&&(o.current=getComputedStyle(a)),n(a)},[])}}function he(e){return(e==null?void 0:e.animationName)||"none"}function Yo(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function yr({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,r]=Xo({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:o,c=ie(n),l=f.useCallback(a=>
vendor: 4,813 bytes, line 9
9{if(i){const d=typeof a=="function"?a(e):a;d!==e&&c(d)}else r(a)},[i,e,r,c]);return[s,l]}function Xo({defaultProp:e,onChange:t}){const n=f.useState(e),[o]=n,r=f.useRef(o),i=ie(t);return f.useEffect(()=>{r.current!==o&&(i(o),r.current=o)},[o,r,i]),n}var Go="VisuallyHidden",Wt=f.forwardRef((e,t)=>C.jsx(G.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Wt.displayName=Go;var qo=Wt,[Ae,wr]=mn("Tooltip",[Nt]),Ue=Nt(),Bt="TooltipProvider",Ko=700,lt="tooltip.open",[Zo,Ht]=Ae(Bt),Vt=e=>{const{__scopeTooltip:t,delayDuration:n=Ko,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:i}=e,[s,c]=f.useState(!0),l=f.useRef(!1),a=f.useRef(0);return f.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),C.jsx(Zo,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(a.current),c(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>c(!0),o)},[o]),isPointerInTransitRef:l,onPointerInTransitChange:f.useCallback(u=>{l.current=u},[]),disableHoverableContent:r,children:i})};Vt.displayName=Bt;var zt="Tooltip",[br,Re]=Ae(zt),ke="TooltipTrigger",Jo=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Re(ke,n),i=Ht(ke,n),s=Ue(n),c=f.useRef(null),l=te(t,c,r.onTriggerChange),a=f.useRef(!1),u=f.useRef(!1),d=f.useCallback(()=>a.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),C.jsx(Fo,{asChild:!0,...s,children:C.jsx(G.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...o,ref:l,onPointerMove:U(e.onPointerMove,m=>{m.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(r.onTriggerEnter(),u.current=!0)}),onPointerLeave:U(e.onPointerLeave,()=>{r.onTriggerLeave(),u.current=!1}),onPointerDown:U(e.onPointerDown,()=>{a.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:U(e.onFocus,()=>{a.current||r.onOpen()}),onBlur:U(e.onBlur,r.onClose),onClick:U(e.onClick,r.onClose)})})});Jo.displayName=ke;var Qo="TooltipPortal",[Er,er]=Ae(Qo,{forceMount:void 0}),re="TooltipContent",Ut=f.forwardRef((e,t)=>{const n=er(re,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,s=Re(re,e.__scopeTooltip);return C.jsx(Ft,{present:o||s.open,children:s.disableHoverableContent?C.jsx(Yt,{side:r,...i,ref:t}):C.jsx(tr,{side:r,...i,ref:t})})}),tr=f.forwardRef((e,t)=>{const n=Re(re,e.__scopeTooltip),o=Ht(re,e.__scopeTooltip),r=f.useRef(null),i=te(t,r),[s,c]=f.useState(null),{trigger:l,onClose:a}=n,u=r.current,{onPointerInTransitChange:d}=o,m=f.useCallback(()=>{c(null),d(!1)},[d]),p=f.useCallback((h,g)=>{const x=h.currentTarget,v={x:h.clientX,y:h.clientY},y=ir(v,x.getBoundingClientRect()),w=sr(v,y),b=cr(g.getBoundingClientRect()),E=lr([...w,...b]);c(E),d(!0)},[d]);return f.useEffect(()=>()=>m(),[m]),f.useEffect(()=>{if(l&&u){const h=x=>p(x,u),g=x=>p(x,l);return l.addEventListener("pointerleave",h),u.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",g)}}},[l,u,p,m]),f.useEffect(()=>{if(s){const h=g=>{const x=g.target,v={x:g.clientX,y:g.clientY},y=(l==null?void 0:l.contains(x))||(u==null?void 0:u.contains(x)),w=!ar(v,s);y?m():w&&(m(),a())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,u,s,a,m]),C.jsx(Yt,{...e,ref:i})}),[nr,or]=Ae(zt,{isInside:!1}),Yt=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:i,onPointerDownOutside:s,...c}=e,l=Re(re,n),a=Ue(n),{onClose:u}=l;return f.useEffect(()=>(document.addEventListener(lt,u),()=>document.removeEventListener(lt,u)),[u]),f.useEffect(()=>{if(l.trigger){const d=m=>{const p=m.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),C.jsx($e,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:C.jsxs(Wo,{"data-state":l.stateAttribute,...a,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[C.jsx(gt,{children:o}),C.jsx(nr,{scope:n,isInside:!0,children:C.jsx(qo,{id:l.contentId,role:"tooltip",children:r||o})})]})})});Ut.displayName=re;var Xt="TooltipArrow",rr=f.forwardRef((e,t)=>
vendor: 2,152 bytes, line 9
9{const{__scopeTooltip:n,...o}=e,r=Ue(n);return or(Xt,n).isInside?null:C.jsx(Bo,{...r,...o,ref:t})});rr.displayName=Xt;function ir(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function sr(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function cr(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function ar(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i].x,l=t[i].y,a=t[s].x,u=t[s].y;l>o!=u>o&&n<(a-c)*(o-l)/(u-l)+c&&(r=!r)}return r}function lr(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),ur(t)}function ur(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Pr=Vt,Cr=Ut,fr="Separator",ut="horizontal",dr=["horizontal","vertical"],Gt=f.forwardRef((e,t)=>{const{decorative:n,orientation:o=ut,...r}=e,i=pr(o)?o:ut,c=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return C.jsx(G.div,{"data-orientation":i,...c,...r,ref:t})});Gt.displayName=fr;function pr(e){return dr.includes(e)}var Ar=Gt;export{Fo as A,gr as B,Wo as C,$e as D,G as P,vr as R,ht as S,Wt as V,ie as a,yr as b,U as c,xr as d,mn as e,Nt as f,Ft as g,Bo as h,mt as i,C as j,wn as k,Vo as l,Q as m,hr as n,Cr as o,Pr as p,Ar as q,te as u};

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.