PageSourceSearch

https://www.getqatalog.com/assets/index-C2zdhveP.js

js getqatalog.com collected 2026-10-09 22:03:53 UTC 27,214 bytes, 1 lines download raw bytes

vendor: 6,895 bytes, line 1
1import{r as O,$ as Oe,j as z,n as mt,x as Ce,v as Xt,a2 as Pe,w as Nt}from"./index-CaSTYgGV.js";import{u as Se}from"./index-DzV6tuBY.js";const Ee=["top","right","bottom","left"],K=Math.min,k=Math.max,at=Math.round,ct=Math.floor,I=t=>({x:t,y:t}),Le={left:"right",right:"left",bottom:"top",top:"bottom"};function bt(t,e,n){return k(t,K(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function Ot(t){return t==="x"?"y":"x"}function Ct(t){return t==="y"?"height":"width"}function j(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function Pt(t){return Ot(j(t))}function De(t,e,n){n===void 0&&(n=!1);const o=et(t),r=Pt(t),i=Ct(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ft(s)),[s,ft(s)]}function Me(t){const e=ft(t);return[At(t),e,At(e)]}function At(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const Wt=["left","right"],_t=["right","left"],Te=["top","bottom"],$e=["bottom","top"];function Ne(t,e,n){switch(t){case"top":case"bottom":return n?e?_t:Wt:e?Wt:_t;case"left":case"right":return e?Te:$e;default:return[]}}function We(t,e,n,o){const r=et(t);let i=Ne(q(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(At)))),i}function ft(t){const e=q(t);return Le[e]+t.slice(e.length)}function _e(t){return{top:0,right:0,bottom:0,left:0,...t}}function qt(t){return typeof t!="number"?_e(t):{top:t,right:t,bottom:t,left:t}}function ut(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function kt(t,e,n){let{reference:o,floating:r}=t;const i=j(e),s=Pt(e),c=Ct(s),l=q(e),u=i==="y",a=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 f;switch(l){case"top":f={x:a,y:o.y-r.height};break;case"bottom":f={x:a,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch(et(e)){case"start":f[s]-=m*(n&&u?-1:1);break;case"end":f[s]+=m*(n&&u?-1:1);break}return f}async function ke(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:m=!1,padding:f=0}=X(e,t),p=qt(f),x=c[m?d==="floating"?"reference":"floating":d],g=ut(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:u,rootBoundary:a,strategy:l})),v=d==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),w=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},A=ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-A.top+p.top)/w.y,bottom:(A.bottom-g.bottom+p.bottom)/w.y,left:(g.left-A.left+p.left)/w.x,right:(A.right-g.right+p.right)/w.x}}const Fe=50,He=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:ke},l=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:a,y:d}=kt(u,o,l),m=o,f=0;const p={};for(let h=0;h<i.length;h++){const x=i[h];if(!x)continue;const{name:g,fn:v}=x,{x:y,y:w,data:A,reset:R}=await v({x:a,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:u,platform:c,elements:{reference:t,floating:e}});a=y??a,d=w??d,p[g]={...p[g],...A},R&&f<Fe&&(f++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):R.rects),{x:a,y:d}=kt(u,m,l)),h=-1)}return{x:a,y:d,placement:m,strategy:r,middlewareData:p}},Be=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:l}=e,{element:u,padding:a=0}=X(t,e)||{};if(u==null)return{};const d=qt(a),m={x:n,y:o},f=Pt(r),p=Ct(f),h=await s.getDimensions(u),x=f==="y",g=x?"top":"left",v=x?"bottom":"right",y=x?"clientHeight":"clientWidth",w=i.reference[p]+i.reference[f]-m[f]-i.floating[p],A=m[f]-i.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let C=R?R[y]:0;(!C||!await(s.isElement==null?void 0:s.isElement(R)))&&(C=c.floating[y]||i.floating[p]);const M=w/2-A/2,W=C/2-h[p]/2-1,D=K(d[g],W),$=K(d[v],W),N=D,S=C-h[p]-$,P=C/2-h[p]/2+M,_=bt(N,P,S),E=!l.arrow&&et(r)!=null&&P!==_&&i.reference[p]/2-(P<N?D:$)-h[p]/2<0,L=E?P<N?P-N:P-S:0;return{[f]:m[f]+L,data:{[f]:_,centerOffset:P-_-L,...E&&{alignmentOffset:L}},reset:E}}}),Ve=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:u}=e,{mainAxis:a=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...x}=X(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=q(r),v=j(c),y=q(c)===c,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),A=m||(y||!h?[ft(c)]:Me(c)),R=p!=="none";!m&&R&&A.push(...We(c,h,p,w));const C=[c,...A],M=await l.detectOverflow(e,x),W=[];let D=((o=i.flip)==null?void 0:o.overflows)||[];if(a&&W.push(M[g]),d){const P=De(r,s,w);W.push(M[P[0]],M[P[1]])}if(D=[...D,{placement:r,overflows:W}],!W.every(P=>P<=0)){var $,N;const P=((($=i.flip)==null?void 0:$.index)||0)+1,_=C[P];if(_&&(!(d==="alignment"?v!==j(_):!1)||D.every(b=>j(b.placement)===v?b.overflows[0]>0:!0)))return{data:{index:P,overflows:D},reset:{placement:_}};let E=(N=D.filter(L=>L.overflows[0]<=0).sort((L,b)=>L.overflows[1]-b.overflows[1])[0])==null?void 0:N.placement;if(!E)switch(f){case"bestFit":{var S;const L=(S=D.filter(b=>{if(R){const T=j(b.placement);return T===v||T==="y"}return!0}).map(b=>[b.placement,b.overflows.filter(T=>T>0).reduce((T,V)=>T+V,0)]).sort((b,T)=>b[1]-T[1])[0])==null?void 0:S[0];L&&(E=L);break}case"initialPlacement":E=c;break}if(r!==E)return{reset:{placement:E}}}return{}}}};function Ft(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ht(t){return Ee.some(e=>t[e]>=0)}const je=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=X(t,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=Ft(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ht(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=Ft(s,n.floating);return{data:{escapedOffsets:c,escaped:Ht(c)}}}default:return{}}}}}
1,Ut=new Set(["left","top"]);async function ze(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=q(n),c=et(n),l=j(n)==="y",u=Ut.has(s)?-1:1,a=i&&l?-1:1,d=X(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return c&&typeof p=="number"&&(f=c==="end"?p*-1:p),l?{x:f*a,y:m*u}:{x:m*u,y:f*a}}const Ie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,l=await ze(e,t);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}}}}},Ye=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...u}=X(t,e),a={x:n,y:o},d=await i.detectOverflow(e,u),m=j(q(r)),f=Ot(m);let p=a[f],h=a[m];if(s){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=p+d[g],w=p-d[v];p=bt(y,p,w)}if(c){const g=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=h+d[g],w=h-d[v];h=bt(y,h,w)}const x=l.fn({...e,[f]:p,[m]:h});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[f]:s,[m]:c}}}}}},Xe=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:u=!0}=X(t,e),a={x:n,y:o},d=j(r),m=Ot(d);let f=a[m],p=a[d];const h=X(c,e),x=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=m==="y"?"height":"width",w=i.reference[m]-i.floating[y]+x.mainAxis,A=i.reference[m]+i.reference[y]-x.mainAxis;f<w?f=w:f>A&&(f=A)}if(u){var g,v;const y=m==="y"?"width":"height",w=Ut.has(q(r)),A=i.reference[d]-i.floating[y]+(w&&((g=s.offset)==null?void 0:g[d])||0)+(w?0:x.crossAxis),R=i.reference[d]+i.reference[y]+(w?0:((v=s.offset)==null?void 0:v[d])||0)-(w?x.crossAxis:0);p<A?p=A:p>R&&(p=R)}return{[m]:f,[d]:p}}}},qe=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:l=()=>{},...u}=X(t,e),a=await s.detectOverflow(e,u),d=q(r),m=et(r),f=j(r)==="y",{width:p,height:h}=i.floating;let x,g;d==="top"||d==="bottom"?(x=d,g=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=d,x=m==="end"?"top":"bottom");const v=h-a.top-a.bottom,y=p-a.left-a.right,w=K(h-a[x],v),A=K(p-a[g],y),R=!e.middlewareData.shift;let C=w,M=A;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(M=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(C=v),R&&!m){const D=k(a.left,0),$=k(a.right,0),N=k(a.top,0),S=k(a.bottom,0);f?M=p-2*(D!==0||$!==0?D+$:k(a.left,a.right)):C=h-2*(N!==0||S!==0?N+S:k(a.top,a.bottom))}await l({...e,availableWidth:M,availableHeight:C});const W=await s.getDimensions(c.floating);return p!==W.width||h!==W.height?{reset:{rects:!0}}:{}}}};function pt(){return typeof window<"u"}function nt(t){return Kt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Y(t){var e;return(e=(Kt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Kt(t){return pt()?t instanceof Node||t instanceof F(t).Node:!1}function H(t){return pt()?t instanceof Element||t instanceof F(t).Element:!1}function U(t){return pt()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function Bt(t){return!pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function it(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=B(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&r!=="inline"&&r!=="contents"}function Ue(t){return/^(table|td|th)$/.test(nt(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const Ke=/transform|translate|scale|rotate|perspective|filter/,Ze=/paint|layout|strict|content/,G=t=>!!t&&t!=="none";let xt;function St(t){const e=H(t)?B(t):t;return G(e.transform)||G(e.translate)||G(e.scale)||G(e.rotate)||G(e.perspective)||!Et()&&(G(e.backdropFilter)||G(e.filter))||Ke.test(e.willChange||"")||Ze.test(e.contain||"")}function Ge(t){let e=Z(t);for(;U(e)&&!tt(e);){if(St(e))return e;if(ht(e))return null;e=Z(e)}return null}function Et(){return xt==null&&(xt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),xt}function tt(t){return/^(html|body|#document)$/.test(nt(t))}function B(t){return F(t).getComputedStyle(t)}function gt(t){return H(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(nt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Bt(t)&&t.host||Y(t);return Bt(e)?e.host:e}function Zt(t){const e=Z(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:U(e)&&it(e)?e:Zt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Zt(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=F(r);if(i){const c=Rt(s);
vendor: 2,688 bytes, line 1
1return e.concat(s,s.visualViewport||[],it(r)?r:[],c&&n?rt(c):[])}else return e.concat(r,rt(r,[],n))}function Rt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Gt(t){const e=B(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=U(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=at(n)!==i||at(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function Lt(t){return H(t)?t:t.contextElement}function Q(t){const e=Lt(t);if(!U(e))return I(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=Gt(e);let s=(i?at(n.width):n.width)/o,c=(i?at(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Je=I(0);function Jt(t){const e=F(t);return!Et()||!e.visualViewport?Je:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=Lt(t);let s=I(1);e&&(o?H(o)&&(s=Q(o)):s=Q(t));const c=Qe(i,n,o)?Jt(i):I(0);let l=(r.left+c.x)/s.x,u=(r.top+c.y)/s.y,a=r.width/s.x,d=r.height/s.y;if(i){const m=F(i),f=o&&H(o)?F(o):o;let p=m,h=Rt(p);for(;h&&o&&f!==p;){const x=Q(h),g=h.getBoundingClientRect(),v=B(h),y=g.left+(h.clientLeft+parseFloat(v.paddingLeft))*x.x,w=g.top+(h.clientTop+parseFloat(v.paddingTop))*x.y;l*=x.x,u*=x.y,a*=x.x,d*=x.y,l+=y,u+=w,p=F(h),h=Rt(p)}}return ut({width:a,height:d,x:l,y:u})}function wt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:J(Y(t)).left+n}function Qt(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-wt(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function tn(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=Y(o),c=e?ht(e.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},u=I(1);const a=I(0),d=U(o);if((d||!d&&!i)&&((nt(o)!=="body"||it(s))&&(l=gt(o)),d)){const f=J(o);u=Q(o),a.x=f.x+o.clientLeft,a.y=f.y+o.clientTop}const m=s&&!d&&!i?Qt(s,l):I(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+a.x+m.x,y:n.y*u.y-l.scrollTop*u.y+a.y+m.y}}function en(t){return Array.from(t.getClientRects())}function nn(t){const e=Y(t),n=gt(t),o=t.ownerDocument.body,r=k(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=k(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+wt(t);const c=-n.scrollTop;return B(o).direction==="rtl"&&(s+=k(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const Vt=25;function on(t,e){const n=F(t),o=Y(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(r){i=r.width,s=r.height;const a=Et();(!a||a&&e==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}
vendor: 10,937 bytes, line 1
1const u=wt(o);if(u<=0){const a=o.ownerDocument,d=a.body,m=getComputedStyle(d),f=a.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,p=Math.abs(o.clientWidth-d.clientWidth-f);p<=Vt&&(i-=p)}else u<=Vt&&(i+=u);return{width:i,height:s,x:c,y:l}}function rn(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=U(t)?Q(t):I(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=r*i.x,u=o*i.y;return{width:s,height:c,x:l,y:u}}function jt(t,e,n){let o;if(e==="viewport")o=on(t,n);else if(e==="document")o=nn(Y(t));else if(H(e))o=rn(e,n);else{const r=Jt(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return ut(o)}function te(t,e){const n=Z(t);return n===e||!H(n)||tt(n)?!1:B(n).position==="fixed"||te(n,e)}function sn(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(c=>H(c)&&nt(c)!=="body"),r=null;const i=B(t).position==="fixed";let s=i?Z(t):t;for(;H(s)&&!tt(s);){const c=B(s),l=St(s);!l&&c.position==="fixed"&&(r=null),(i?!l&&!r:!l&&c.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||it(s)&&!l&&te(t,s))?o=o.filter(a=>a!==s):r=c,s=Z(s)}return e.set(t,o),o}function cn(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?ht(e)?[]:sn(e,this._c):[].concat(n),o],c=jt(e,s[0],r);let l=c.top,u=c.right,a=c.bottom,d=c.left;for(let m=1;m<s.length;m++){const f=jt(e,s[m],r);l=k(f.top,l),u=K(f.right,u),a=K(f.bottom,a),d=k(f.left,d)}return{width:u-d,height:a-l,x:d,y:l}}function ln(t){const{width:e,height:n}=Gt(t);return{width:e,height:n}}function an(t,e,n){const o=U(e),r=Y(e),i=n==="fixed",s=J(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const l=I(0);function u(){l.x=wt(r)}if(o||!o&&!i)if((nt(e)!=="body"||it(r))&&(c=gt(e)),o){const f=J(e,!0,i,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else r&&u();i&&!o&&r&&u();const a=r&&!o&&!i?Qt(r,c):I(0),d=s.left+c.scrollLeft-l.x-a.x,m=s.top+c.scrollTop-l.y-a.y;return{x:d,y:m,width:s.width,height:s.height}}function yt(t){return B(t).position==="static"}function zt(t,e){if(!U(t)||B(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Y(t)===n&&(n=n.ownerDocument.body),n}function ee(t,e){const n=F(t);if(ht(t))return n;if(!U(t)){let r=Z(t);for(;r&&!tt(r);){if(H(r)&&!yt(r))return r;r=Z(r)}return n}let o=zt(t,e);for(;o&&Ue(o)&&yt(o);)o=zt(o,e);return o&&tt(o)&&yt(o)&&!St(o)?n:o||Ge(t)||n}const fn=async function(t){const e=this.getOffsetParent||ee,n=this.getDimensions,o=await n(t.floating);return{reference:an(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function un(t){return B(t).direction==="rtl"}const dn={convertOffsetParentRelativeRectToViewportRelativeRect:tn,getDocumentElement:Y,getClippingRect:cn,getOffsetParent:ee,getElementRects:fn,getClientRects:en,getDimensions:ln,getScale:Q,isElement:H,isRTL:un};function ne(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function mn(t,e){let n=null,o;const r=Y(t);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 u=t.getBoundingClientRect(),{left:a,top:d,width:m,height:f}=u;if(c||e(),!m||!f)return;const p=ct(d),h=ct(r.clientWidth-(a+m)),x=ct(r.clientHeight-(d+f)),g=ct(a),y={rootMargin:-p+"px "+-h+"px "+-x+"px "+-g+"px",threshold:k(0,K(1,l))||1};let w=!0;function A(R){const C=R[0].intersectionRatio;if(C!==l){if(!w)return s();C?s(!1,C):o=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!ne(u,t.getBoundingClientRect())&&s(),w=!1}try{n=new IntersectionObserver(A,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(A,y)}n.observe(t)}return s(!0),i}function pn(t,e,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,u=Lt(t),a=r||i?[...u?rt(u):[],...e?rt(e):[]]:[];a.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&c?mn(u,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(g=>{let[v]=g;v&&v.target===u&&f&&e&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),u&&!l&&f.observe(u),e&&f.observe(e));let p,h=l?J(t):null;l&&x();function x(){const g=J(t);h&&!ne(h,g)&&n(),h=g,p=requestAnimationFrame(x)}return n(),()=>{var g;a.forEach(v=>{r&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),d?.(),(g=f)==null||g.disconnect(),f=null,l&&cancelAnimationFrame(p)}}const hn=Ie,gn=Ye,wn=Ve,xn=qe,yn=je,It=Be,vn=Xe,bn=(t,e,n)=>{const o=new Map,r={platform:dn,...n},i={...r.platform,_c:o};return He(t,e,{...r,platform:i})};var An=typeof document<"u",Rn=function(){},lt=An?O.useLayoutEffect:Rn;function dt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,r;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!dt(t[o],e[o]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&t.$$typeof)&&!dt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function oe(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Yt(t,e){const n=oe(t);return Math.round(e*n)/n}function vt(t){const e=O.useRef(t);return lt(()=>{e.current=t}),e}function On(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:u}=t,[a,d]=O.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=O.useState(o);dt(m,o)||f(o);const[p,h]=O.useState(null),[x,g]=O.useState(null),v=O.useCallback(b=>{b!==R.current&&(R.current=b,h(b))},[]),y=O.useCallback(b=>{b!==C.current&&(C.current=b,g(b))},[]),w=i||p,A=s||x,R=O.useRef(null),C=O.useRef(null),M=O.useRef(a),W=l!=null,D=vt(l),$=vt(r),N=vt(u),S=O.useCallback(()=>{if(!R.current||!C.current)return;const b={placement:e,strategy:n,middleware:m};$.current&&(b.platform=$.current),bn(R.current,C.current,b).then(T=>{const V={...T,isPositioned:N.current!==!1};P.current&&!dt(M.current,V)&&(M.current=V,Oe.flushSync(()=>{d(V)}))})},[m,e,n,$,N]);lt(()=>{u===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,d(b=>({...b,isPositioned:!1})))},[u]);const P=O.useRef(!1);lt(()=>(P.current=!0,()=>{P.current=!1}),[]),lt(()=>{if(w&&(R.current=w),A&&(C.current=A),w&&A){if(D.current)return D.current(w,A,S);S()}},[w,A,S,D,W]);const _=O.useMemo(()=>({reference:R,floating:C,setReference:v,setFloating:y}),[v,y]),E=O.useMemo(()=>({reference:w,floating:A}),[w,A]),L=O.useMemo(()=>{const b={position:n,left:0,top:0};if(!E.floating)return b;const T=Yt(E.floating,a.x),V=Yt(E.floating,a.y);return c?{...b,transform:"translate("+T+"px, "+V+"px)",...oe(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:V}},[n,c,E.floating,a.x,a.y]);return O.useMemo(()=>({...a,update:S,refs:_,elements:E,floatingStyles:L}),[a,S,_,E,L])}const Cn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:r}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?It({element:o.current,padding:r}).fn(n):{}:o?It({element:o,padding:r}).fn(n):{}}}},Pn=(t,e)=>{const n=hn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Sn=(t,e)=>{const n=gn(t);return{name:n.name,fn:n.fn,options:[t,e]}},En=(t,e)=>({fn:vn(t).fn,options:[t,e]}),Ln=(t,e)=>{const n=wn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Dn=(t,e)=>{const n=xn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Mn=(t,e)=>{const n=yn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Tn=(t,e)=>{const n=Cn(t);return{name:n.name,fn:n.fn,options:[t,e]}};var $n="Arrow",re=O.forwardRef((t,e)=>{const{children:n,width:o=10,height:r=5,...i}=t;return z.jsx(mt.svg,{...i,ref:e,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:z.jsx("polygon",{points:"0,0 30,0 15,10"})})});re.displayName=$n;var Nn=re,Dt="Popper",[ie,Yn]=Ce(Dt),[Wn,se]=ie(Dt),ce=t=>{const{__scopePopper:e,children:n}=t,[o,r]=O.useState(null);return z.jsx(Wn,{scope:e,anchor:o,onAnchorChange:r,children:n})};ce.displayName=Dt;var le="PopperAnchor",ae=O.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...r}=t,i=se(le,n),s=O.useRef(null),c=Xt(e,s),l=O.useRef(null);return O.useEffect(()=>{const u=l.current;l.current=o?.current||s.current,u!==l.current&&i.onAnchorChange(l.current)}),o?null:z.jsx(mt.div,{...r,ref:c})});ae.displayName=le;var Mt="PopperContent",[_n,kn]=ie(Mt),fe=O.forwardRef((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:a=0,sticky:d="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:p,...h}=t,x=se(Mt,n),[g,v]=O.useState(null),y=Xt(e,ot=>v(ot)),[w,A]=O.useState(null),R=Se(w),C=R?.width??0,M=R?.height??0,W=o+(i!=="center"?"-"+i:""),D=typeof a=="number"?a:{top:0,right:0,bottom:0,left:0,...a},$=Array.isArray(u)?u:[u],N=$.length>0,S={padding:D,boundary:$.filter(Hn),altBoundary:N},{refs:P,floatingStyles:_,placement:E,isPositioned:L,middlewareData:b}=On({strategy:"fixed",placement:W,whileElementsMounted:(...ot)=>pn(...ot,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[Pn({mainAxis:r+M,alignmentAxis:s}),l&&Sn({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?En():void 0,...S}),l&&Ln({...S}),Dn({...S,apply:({elements:ot,rects:$t,availableWidth:ve,availableHeight:be})=>{const{width:Ae,height:Re}=$t.reference,st=ot.floating.style;st.setProperty("--radix-popper-available-width",`${ve}px`),st.setProperty("--radix-popper-available-height",`${be}px`),st.setProperty("--radix-popper-anchor-width",`${Ae}px`),st.setProperty("--radix-popper-anchor-height",`${Re}px`)}}),w&&Tn({element:w,padding:c}),Bn({arrowWidth:C,arrowHeight:M}),m&&Mn({strategy:"referenceHidden",...S})]}),[T,V]=me(E),Tt=Pe(p);Nt(()=>{L&&Tt?.()},[L,Tt]);const he=b.arrow?.x,ge=b.arrow?.y,we=b.arrow?.centerOffset!==0,[xe,ye]=O.useState();return Nt(()=>{g&&ye(window.getComputedStyle(g).zIndex)},[g]),z.jsx("div",{ref:P.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:L?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[b.transformOrigin?.x,b.transformOrigin?.y].join(" "),...b.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:z.jsx(_n,{scope:n,placedSide:T,onArrowChange:A,arrowX:he,arrowY:ge,shouldHideArrow:we,children:z.jsx(mt.div,{"data-side":T,"data-align":V,...h,ref:y,style:{...h.style,animation:L?void 0:"none"}})})})});fe.displayName=Mt;var ue="PopperArrow",Fn={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},de=O.forwardRef(function(e,n){const{__scopePopper:o,...r}=e,i=kn(ue,o),s=Fn[i.placedSide];return z.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:z.jsx(Nn,{...r,ref:n,style:{...r.style,display:"block"}})})});de.displayName=ue;function Hn(t){return t!==null}var Bn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:r}=e,s=r.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[u,a]=me(n),d={start:"0%",center:"50%",end:"100%"}[a],m=(r.arrow?.x??0)+c/2,f=(r.arrow?.y??0)+l/2;let p="",h="";return u==="bottom"?(p=s?d:`${m}px`,h=`${-l}px`):u==="top"?(p=s?d:`${m}px`,h=`${o.floating.height+l}px`):u==="right"?(p=`${-l}px`,h=s?d:`${f}px`):u==="left"&&(p=`${o.floating.width+l}px`,h=s?d:`${f}px`),{data:{x:p,y:h}}}});function me(t){const[e,n="center"]=t.split("-");return[e,n]}var Xn=ce,qn=ae,Un=fe,Kn=de,Vn=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),jn="VisuallyHidden",pe=O.forwardRef((t,e)=>z.jsx(mt.span,{...t,ref:e,style:{...Vn,...t.style}}));pe.displayName=jn;var Zn=pe;export{qn as A,Un as C,Xn as R,Vn as V,Zn as a,Kn as b,Yn as c};

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.