PageSourceSearch

https://smartkit.ai/_next/static/chunks/e5e064c41b3c53dd.js

js smartkit.ai collected 2026-10-05 15:06:13 UTC 30,190 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,853660,e=>{"use strict";var t=e.i(271645);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let h=new Set(["top","bottom"]);function g(e){return h.has(u(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>f[e])}let w=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function A(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 S(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=p(g(t)),s=m(a),f=u(t),c="y"===l,h=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[s]/2-o[s]/2;switch(f){case"top":r={x:h,y:i.y-o.height};break;case"bottom":r={x:h,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}async function O(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=c(t,e),h=A(m),g=a[p?"floating"===d?"reference":"floating":d],y=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:f,rootBoundary:u,strategy:s})),w="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+h.top)/v.y,bottom:(b.bottom-y.bottom+h.bottom)/v.y,left:(y.left-b.left+h.left)/v.x,right:(b.right-y.right+h.right)/v.x}}let E=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=S(f,r,s),d=r,p={},m=0;for(let n=0;n<a.length;n++){var h;let{name:o,fn:g}=a[n],{x:y,y:w,data:x,reset:v}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:f,platform:{...l,detectOverflow:null!=(h=l.detectOverflow)?h:O},elements:{reference:e,floating:t}});c=null!=y?y:c,u=null!=w?w:u,p={...p,[o]:{...p[o],...x}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(f=!0===v.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):v.rects),{x:c,y:u}=S(f,d,s)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}let L=new Set(["left","top"]);async function j(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=d(n),s="y"===g(n),f=L.has(l)?-1:1,p=o&&s?-1:1,m=c(t,e),{mainAxis:h,crossAxis:y,alignmentAxis:w}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),s?{x:y*p,y:h*f}:{x:h*f,y:y*p}}function $(){return"u">typeof window}function N(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!$()&&(e instanceof Node||e instanceof D(e).Node)}function H(e){return!!$()&&(e instanceof Element||e instanceof D(e).Element)}function k(e){return!!$()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function M(e){return!(!$()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}let _=new Set(["inline","contents"]);function V(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!_.has(i)}let B=new Set(["table","td","th"]),z=[":popover-open",":modal"];function I(e){return z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function K(e){let t=U(),n=H(e)?J(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||X.some(e=>(n.willChange||"").includes(e))||q.some(e=>(n.contain||"").includes(e))}function U(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Z=new Set(["html","body","#document"]);function G(e){return Z.has(N(e))}function J(e){return D(e).getComputedStyle(e)}function Q(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||M(e)&&e.host||W(e);return M(t)?t.host:t}function et(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ee(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:k(n)&&V(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=D(i);if(o){let e=en(l);return t.concat(l,l.visualViewport||[],V(i)?i:[],e&&n?et(e):[])}return t.concat(i,et(i,[],n))}function en(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function er(e){let t=J(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=k(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=o(n)!==l||o(r)!==a;return s&&(n=l,r=a),{width:n,height:r,$:s}}function ei(e){return H(e)?e:e.contextElement}function eo(e){let t=ei(e);if(!k(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=er(t),s=(l?o(n.width):n.width)/r,f=(l?o(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),f&&Number.isFinite(f)||(f=1),{x:s,y:f}}let el=a(0);function ea(e){let t=D(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function es(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=ei(e),s=a(1);t&&(r?H(r)&&(s=eo(r)):s=eo(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===D(l))&&i)?ea(l):a(0),c=(o.left+f.x)/s.x,u=(o.top+f.y)/s.y,d=o.width/s.x,p=o.height/s.y;if(l){let e=D(l),t=r&&H(r)?D(r):r,n=e,i=en(n);for(;i&&r&&t!==n;){let e=eo(i),t=i.getBoundingClientRect(),r=J(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,p*=e.y,c+=o,u+=l,i=en(n=D(i))}}return C({width:d,height:p,x:c,y:u})}function ef(e,t){let n=Q(e).scrollLeft;return t?t.left+n:es(W(e)).left+n}function ec(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ef(e,n),y:n.top+t.scrollTop}}let eu=new Set(["absolute","fixed"]);function ed(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=D(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=U();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let f=ef(r);if(f<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else f<=25&&(o+=f);return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t){let t,n,l,a,s,f,c;r=W(e),t=W(r),n=Q(r),l=r.ownerDocument.body,a=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),s=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+ef(r),c=-n.scrollTop,"rtl"===J(l).direction&&(f+=i(t.clientWidth,l.clientWidth)-a),o={width:a,height:s,x:f,y:c}}else if(H(t)){let e,r,i,l,s,f;r=(e=es(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=k(t)?eo(t):a(1),s=t.clientWidth*l.x,f=t.clientHeight*l.y,o={width:s,height:f,x:i*l.x,y:r*l.y}}else{let n=ea(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(o)}function ep(e){return"static"===J(e).position}function em(e,t){if(!k(e)||"fixed"===J(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function eh(e,t){var n;let r=D(e);if(I(e))return r;if(!k(e)){let t=ee(e);for(;t&&!G(t);){if(H(t)&&!ep(t))return t;t=ee(t)}return r}let i=em(e,t);for(;i&&(n=i,B.has(N(n)))&&ep(i);)i=em(i,t);return i&&G(i)&&ep(i)&&!K(i)?r:i||function(e){let t=ee(e);for(;k(t)&&!G(t);){if(K(t))return t;if(I(t))break;t=ee(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||eh,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=k(t),i=W(t),o="fixed"===n,l=es(e,!0,o,t),s={scrollLeft:0,scrollTop:0},f=a(0);if(r||!r&&!o)if(("body"!==N(t)||V(i))&&(s=Q(t)),r){let e=es(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ef(i));o&&!r&&i&&(f.x=ef(i));let c=!i||r||o?a(0):ec(i,s);return{x:l.left+s.scrollLeft-f.x-c.x,y:l.top+s.scrollTop-f.y-c.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}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),s=!!t&&I(t.floating);if(r===l||s&&o)return n;let f={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=k(r);
1if((d||!d&&!o)&&(("body"!==N(r)||V(l))&&(f=Q(r)),k(r))){let e=es(r);c=eo(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!l||d||o?a(0):ec(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-f.scrollTop*c.y+u.y+p.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?I(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=et(e,[],!1).filter(e=>H(e)&&"body"!==N(e)),i=null,o="fixed"===J(e).position,l=o?ee(e):e;for(;H(l)&&!G(l);){let t=J(l),n=K(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eu.has(i.position)||V(l)&&!n&&function e(t,n){let r=ee(t);return!(r===n||!H(r)||G(r))&&("fixed"===J(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=ee(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],s=a[0],f=a.reduce((e,n)=>{let o=ed(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},ed(t,s,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent:eh,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=er(e);return{width:t,height:n}},getScale:eo,isElement:H,isRTL:function(e){return"rtl"===J(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:a,platform:s,elements:f,middlewareData:u}=t,{element:h,padding:y=0}=c(e,t)||{};if(null==h)return{};let w=A(y),x={x:n,y:o},v=p(g(l)),b=m(v),R=await s.getDimensions(h),C="y"===v,S=C?"clientHeight":"clientWidth",O=a.reference[b]+a.reference[v]-x[v]-a.floating[b],E=x[v]-a.reference[v],P=await (null==s.getOffsetParent?void 0:s.getOffsetParent(h)),T=P?P[S]:0;T&&await (null==s.isElement?void 0:s.isElement(P))||(T=f.floating[S]||a.floating[b]);let L=T/2-R[b]/2-1,j=r(w[C?"top":"left"],L),$=r(w[C?"bottom":"right"],L),N=T-R[b]-$,D=T/2-R[b]/2+(O/2-E/2),W=i(j,r(D,N)),F=!u.arrow&&null!=d(l)&&D!==W&&a.reference[b]/2-(D<j?j:$)-R[b]/2<0,H=F?D<j?D-j:D-N:0;return{[v]:x[v]+H,data:{[v]:W,centerOffset:D-W-H,...F&&{alignmentOffset:H}},reset:F}}});var ev=e.i(174080),eb="u">typeof document?t.useLayoutEffect:function(){};function eR(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(!eR(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)&&!eR(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eA(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eC(e,t){let n=eA(e);return Math.round(t*n)/n}function eS(e){let n=t.useRef(e);return eb(()=>{n.current=e}),n}var eO=e.i(820783),eE=e.i(843476),eP=Symbol("radix.slottable");function eT(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eP}var eL=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var r,i;let o,l,a,s=(i=r=`Primitive.${n}`,(o=t.forwardRef((e,n)=>{let{children:r,...i}=e;if(t.isValidElement(r)){var o;let e,l,a=(o=r,(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}}(i,r.props);return r.type!==t.Fragment&&(s.ref=n?(0,eO.composeRefs)(n,a):a),t.cloneElement(r,s)}return t.Children.count(r)>1?t.Children.only(null):null})).displayName=`${i}
1.SlotClone`,l=o,(a=t.forwardRef((e,n)=>{let{children:r,...i}=e,o=t.Children.toArray(r),a=o.find(eT);if(a){let e=a.props.children,r=o.map(n=>n!==a?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,eE.jsx)(l,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,eE.jsx)(l,{...i,ref:n,children:r})})).displayName=`${r}.Slot`,a),f=t.forwardRef((e,t)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eE.jsx)(r?s:n,{...i,ref:t})});return f.displayName=`Primitive.${n}`,{...e,[n]:f}},{}),ej=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eE.jsx)(eL.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eE.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ej.displayName="Arrow";var e$=Symbol("radix.slottable");function eN(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===e$}var eD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var r,i;let o,l,a,s=(i=r=`Primitive.${n}`,(o=t.forwardRef((e,n)=>{let{children:r,...i}=e;if(t.isValidElement(r)){var o;let e,l,a=(o=r,(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}}(i,r.props);return r.type!==t.Fragment&&(s.ref=n?(0,eO.composeRefs)(n,a):a),t.cloneElement(r,s)}return t.Children.count(r)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,l=o,(a=t.forwardRef((e,n)=>{let{children:r,...i}=e,o=t.Children.toArray(r),a=o.find(eN);if(a){let e=a.props.children,r=o.map(n=>n!==a?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,eE.jsx)(l,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,eE.jsx)(l,{...i,ref:n,children:r})})).displayName=`${r}.Slot`,a),f=t.forwardRef((e,t)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eE.jsx)(r?s:n,{...i,ref:t})});return f.displayName=`Primitive.${n}`,{...e,[n]:f}},{}),eW=e.i(30207),eF=e.i(934620),eH=e.i(635804),ek="Popper",[eM,e_]=function(e,n=[]){let r=[],i=()=>{let n=r.map(e=>t.createContext(e));return function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(n,i){let o=t.createContext(i),l=r.length;r=[...r,i];let a=n=>{let{scope:r,children:i,...a}=n,s=r?.[e]?.[l]||o,f=t.useMemo(()=>a,Object.values(a));return(0,eE.jsx)(s.Provider,{value:f,children:i})};return a.displayName=n+"Provider",[a,function(r,a){let s=a?.[e]?.[l]||o,f=t.useContext(s);if(f)return f;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}(i,...n)]}(ek),[eV,eB]=eM(ek),ez=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,eE.jsx)(eV,{scope:n,anchor:i,onAnchorChange:o,children:r})};ez.displayName=ek;var eI="PopperAnchor",eY=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=eB(eI,r),a=t.useRef(null),s=(0,eO.useComposedRefs)(n,a),f=t.useRef(null);return t.useEffect(()=>{let e=f.current;f.current=i?.current||a.current,e!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,eE.jsx)(eD.div,{...o,ref:s})});eY.displayName=eI;var eX="PopperContent",[eq,eK]=eM(eX),eU=t.forwardRef((e,n)=>{var o,a,s,f,h,A,C,S,O,$,N,D,F;let{__scopePopper:H,side:k="bottom",sideOffset:M=0,align:_="center",alignOffset:V=0,arrowPadding:B=0,avoidCollisions:z=!0,collisionBoundary:I=[],collisionPadding:Y=0,sticky:X="partial",hideWhenDetached:q=!1,updatePositionStrategy:K="optimized",onPlaced:U,...Z}=e,G=eB(eX,H),[J,Q]=t.useState(null),ee=(0,eO.useComposedRefs)(n,e=>Q(e)),[en,er]=t.useState(null),eo=(0,eH.useSize)(en),el=eo?.width??0,ea=eo?.height??0,ef="number"==typeof Y?Y:{top:0,right:0,bottom:0,left:0,...Y},ec=Array.isArray(I)?I:[I],eu=ec.length>0,ed={padding:ef,boundary:ec.filter(eQ),altBoundary:eu},{refs:ep,floatingStyles:em,placement:eh,isPositioned:eg,middlewareData:eP}=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:f,open:c}=e,[u,d]=t.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,m]=t.useState(i);eR(p,i)||m(i);let[h,g]=t.useState(null),[y,w]=t.useState(null),x=t.useCallback(e=>
1{e!==A.current&&(A.current=e,g(e))},[]),v=t.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),b=l||h,R=a||y,A=t.useRef(null),C=t.useRef(null),S=t.useRef(u),O=null!=f,P=eS(f),T=eS(o),L=eS(c),j=t.useCallback(()=>{var e,t;let i,o,l;if(!A.current||!C.current)return;let a={placement:n,strategy:r,middleware:p};T.current&&(a.platform=T.current),(e=A.current,t=C.current,i=new Map,l={...(o={platform:ey,...a}).platform,_c:i},E(e,t,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==L.current};$.current&&!eR(S.current,t)&&(S.current=t,ev.flushSync(()=>{d(t)}))})},[p,n,r,T,L]);eb(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let $=t.useRef(!1);eb(()=>($.current=!0,()=>{$.current=!1}),[]),eb(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(P.current)return P.current(b,R,j);j()}},[b,R,j,P,O]);let N=t.useMemo(()=>({reference:A,floating:C,setReference:x,setFloating:v}),[x,v]),D=t.useMemo(()=>({reference:b,floating:R}),[b,R]),W=t.useMemo(()=>{let e={position:r,left:0,top:0};if(!D.floating)return e;let t=eC(D.floating,u.x),n=eC(D.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...eA(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,D.floating,u.x,u.y]);return t.useMemo(()=>({...u,update:j,refs:N,elements:D,floatingStyles:W}),[u,j,N,D,W])}({strategy:"fixed",placement:k+("center"!==_?"-"+_:""),whileElementsMounted:(...e)=>(function(e,t,n,o){let a;void 0===o&&(o={});let{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=ei(e),m=s||f?[...p?et(p):[],...et(t)]:[];m.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let h=p&&u?function(e,t){let n,o=null,a=W(e);function s(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function f(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),s();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=d;if(c||t(),!h||!g)return;let y={rootMargin:-l(m)+"px "+-l(a.clientWidth-(p+h))+"px "+-l(a.clientHeight-(m+g))+"px "+-l(p)+"px",threshold:i(0,r(1,u))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==u){if(!w)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||ew(d,e.getBoundingClientRect())||f(),w=!1}try{o=new IntersectionObserver(x,{...y,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(x,y)}o.observe(e)}(!0),s}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),y.observe(t));let w=d?es(e):null;return d&&function t(){let r=es(e);w&&!ew(w,r)&&n(),w=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{s&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===K}),elements:{reference:G.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:M+ea,alignmentAxis:V},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:l}=e,s=await j(e,a);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:o}}}},options:[o,void 0]},z&&{...{name:"shift",options:h=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===X?{...(s=void 0,{options:s={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:a=!0,crossAxis:f=!0}=c(s,e),d={x:t,y:n},m=g(r),h=p(m),y=d[h],w=d[m],x=c(l,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+v.mainAxis,n=i.reference[h]+i.reference[e]-v.mainAxis;y<t?y=t:y>n&&(y=n)}if(f){var b,R;let e="y"===h?"width":"height",t=L.has(u(r)),n=i.reference[m]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[m])||0)+(t?0:v.crossAxis),l=i.reference[m]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[m])||0)-(t?v.crossAxis:0);w<n?w=n:w>l&&(w=l)}return{[h]:y,[m]:w}}}),options:[void 0,void 0]}:void 0,...ed},async fn(e){let{x:t,y:n,placement:o,platform:l}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(h,e),m={x:t,y:n},y=await l.detectOverflow(e,d),w=g(u(o)),x=p(w),v=m[x],b=m[w];if(a){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",n=v+y[e],o=v-y[t];v=i(n,r(v,o))}if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=b+y[e],o=b-y[t];b=i(n,r(b,o))}let R=f.fn({...e,[x]:v,[w]:b});return{...R,data:{x:R.x-t,y:R.y-n,enabled:{[x]:a,[w]:s}}}}},options:[f,void 0]},z&&{...{name:"flip",options:C=A={...ed},async fn(e){var t,n,r,i,o,l,a,s;let f,h,A,{placement:S,middlewareData:O,rects:E,initialPlacement:P,platform:T,elements:L}=e,{mainAxis:j=!0,crossAxis:$=!0,fallbackPlacements:N,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:W="none",flipAlignment:F=!0,...H}=c(C,e);if(null!=(t=O.arrow)&&t.alignmentOffset)return{};let k=u(S),M=g(P),_=u(P)===P,V=await (null==T.isRTL?void 0:T.isRTL(L.floating)),B=N||(_||!F?[R(P)]:(f=R(P),[y(P),f,y(f)])),z="none"!==W;!N&&z&&B.push(...(h=d(P),A=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?v:b;default:return[]}}(u(P),"start"===W,V),h&&(A=A.map(e=>e+"-"+h),F&&(A=A.concat(A.map(y)))),A));let I=[P,...B],Y=await T.detectOverflow(e,H),X=[],q=(null==(n=O.flip)?void 0:n.overflows)||[];if(j&&X.push(Y[k]),$){let e,t,n,r,i=(l=S,a=E,void 0===(s=V)&&(s=!1),e=d(l),n=m(t=p(g(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=R(r)),[r,R(r)]);X.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:S,overflows:X}],!X.every(e=>e<=0)){let e=((null==(r=O.flip)?void 0:r.index)||0)+1,t=I[e];if(t&&("alignment"!==$||M===g(t)||q.every(e=>g(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(D){case"bestFit":{let e=null==(o=q.filter(e=>{if(z){let t=g(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=P}if(S!==n)return{reset:{placement:n}}}return{}}},options:[A,void 0]},{...{name:"size",options:O=S={...ed,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,n;let o,l,{placement:a,rects:s,platform:f,elements:p}=e,{apply:m=()=>{},...h}=c(O,e),y=await f.detectOverflow(e,h),w=u(a),x=d(a),v="y"===g(a),{width:b,height:R}=s.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==f.isRTL?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(l=w,o="end"===x?"top":"bottom");let A=R-y.top-y.bottom,C=b-y.left-y.right,S=r(R-y[o],A),E=r(b-y[l],C),P=!e.middlewareData.shift,T=S,L=E;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(L=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(T=A),P&&!x){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);v?L=b-2*(0!==e||0!==t?e+t:i(y.left,y.right)):T=R-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await m({...e,availableWidth:L,availableHeight:T});let j=await f.getDimensions(p.floating);return b!==j.width||R!==j.height?{reset:{rects:!0}}:{}}},options:[S,void 0]},en&&{...{name:"arrow",options:N=$={element:en,padding:B},fn(e){let{element:t,padding:n}="function"==typeof N?N(e):N;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ex({element:t.current,padding:n}).fn(e):{}:t?ex({element:t,padding:n}).fn(e):{}}},options:[$,void 0]},e0({arrowWidth:el,arrowHeight:ea}),q&&{...{name:"hide",options:F=D={strategy:"referenceHidden",...ed},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=c(F,e);switch(r){case"referenceHidden":{let r=P(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:T(r)}}}case"escaped":{let r=P(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:T(r)}}}default:return{}}}},options:[D,void 0]}]}),[eT,eL]=e1(eh),ej=(0,eW.useCallbackRef)(U);(0,eF.useLayoutEffect)(()=>{eg&&ej?.()},[eg,ej]);let e$=eP.arrow?.x,eN=eP.arrow?.y,ek=eP.arrow?.centerOffset!==0,[eM,e_]=t.useState();return(0,eF.useLayoutEffect)(()=>{J&&e_(window.getComputedStyle(J).zIndex)},[J]),(0,eE.jsx)("div",{ref:ep.setFloating,"data-radix-popper-content-wrapper":"",style:{...em,transform:eg?em.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eM,"--radix-popper-transform-origin":[eP.transformOrigin?.x,eP.transformOrigin?.y].join(" "),...eP.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eE.jsx)(eq,{scope:H,placedSide:eT,onArrowChange:er,arrowX:e$,arrowY:eN,shouldHideArrow:ek,children:(0,eE.jsx)(eD.div,{"data-side":eT,"data-align":eL,...Z,ref:ee,style:{...Z.style,animation:eg?void 0:"none"}})})})});eU.displayName=eX;var eZ="PopperArrow",eG={top:"bottom",right:"left",bottom:"top",left:"right"},eJ=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eK(eZ,n),o=eG[i.placedSide];return(0,eE.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,eE.jsx)(ej,{...r,ref:t,style:{...r.style,display:"block"}})})});function eQ(e){return null!==e}eJ.displayName=eZ;var e0=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,f]=e1(n),c={start:"0%",center:"50%",end:"100%"}[f],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",m="";return"bottom"===s?(p=o?c:`${u}px`,m=`${-a}px`):"top"===s?(p=o?c:`${u}px`,m=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,m=o?c:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,m=o?c:`${d}px`),{data:{x:p,y:m}}}});function e1(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>eY,"Arrow",()=>eJ,"Content",()=>eU,"Root",()=>ez,"createPopperScope",()=>e_],853660)}]);

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.