PageSourceSearch

https://www.zipsmart.ai/_next/static/chunks/997-57d90aecfc3b9f52.js

js zipsmart.ai collected 2026-10-05 13:21:02 UTC 39,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[997],{58463:function(e,t,n){"use strict";n.d(t,{YF:function(){return p},x7:function(){return a}});var r=n(88301),i=n(55863),o=n(67294),l=n(73935);let a=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;if(n&&({}).hasOwnProperty.call(n,"current")){if(null!=n.current)return(0,r.x7)({element:n.current,padding:i}).fn(t)}else if(n)return(0,r.x7)({element:n,padding:i}).fn(t);return{}}});var s="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function u(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(!u(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)&&!u(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function c(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function f(e,t){let n=c(e);return Math.round(t*n)/n}function d(e){let t=o.useRef(e);return s(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:y,open:g}=e,[v,w]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=o.useState(r);u(x,r)||b(r);let[E,C]=o.useState(null),[P,R]=o.useState(null),_=o.useCallback(e=>{e!=A.current&&(A.current=e,C(e))},[C]),T=o.useCallback(e=>{e!==L.current&&(L.current=e,R(e))},[R]),O=p||E,D=h||P,A=o.useRef(null),L=o.useRef(null),S=o.useRef(v),k=d(y),W=d(a),M=o.useCallback(()=>{if(!A.current||!L.current)return;let e={placement:t,strategy:n,middleware:x};W.current&&(e.platform=W.current),(0,i.oo)(A.current,L.current,e).then(e=>{let t={...e,isPositioned:!0};H.current&&!u(S.current,t)&&(S.current=t,l.flushSync(()=>{w(t)}))})},[x,t,n,W]);s(()=>{!1===g&&S.current.isPositioned&&(S.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[g]);let H=o.useRef(!1);s(()=>(H.current=!0,()=>{H.current=!1}),[]),s(()=>{if(O&&(A.current=O),D&&(L.current=D),O&&D){if(k.current)return k.current(O,D,M);M()}},[O,D,M,k]);let B=o.useMemo(()=>({reference:A,floating:L,setReference:_,setFloating:T}),[_,T]),F=o.useMemo(()=>({reference:O,floating:D}),[O,D]),V=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=f(F.floating,v.x),r=f(F.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...c(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,F.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:M,refs:B,elements:F,floatingStyles:V}),[v,M,B,F,V])}},41197:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(84297);let i=(0,r.Z)("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]])},95677:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return l},default:function(){return a}});let r=n(38754),i=(n(67294),r._(n(8976)));function o(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function a(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let a=r.loader,s=()=>null!=a?a().then(o):Promise.resolve(o(()=>null));return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:s}):(delete r.webpack,delete r.modules,l(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},92254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(38754),i=r._(n(67294)),o=i.default.createContext(null)},8976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let r=n(38754),i=r._(n(67294)),o=n(92254),l=[],a=[],s=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function l(){if(!r){let t=new c(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!s){let e=n.webpack?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function u(e,t){!function(){l();let e=i.default.useContext(o.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let a=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),i.default.useMemo(()=>{var t;return a.loading||a.error?i.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?i.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return u.preload=()=>l(),u.displayName="LoadableComponent",i.default.forwardRef(u)}(u,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(l).then(e,t)}),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=f.preloadReady;let p=f},5152:function(e,t,n){e.exports=n(95677)},88301:function(e,t,n){"use strict";function r(e){return e.split("-")[1]}function i(e){return"y"===e?"height":"width"}function o(e){return e.split("-")[0]}function l(e){return["top","bottom"].includes(o(e))?"x":"y"}function a(e,t,n){let a,{reference:s,floating:u}=e,c=s.x+s.width/2-u.width/2,f=s.y+s.height/2-u.height/2,d=l(t),p=i(d),h=s[p]/2-u[p]/2,m="x"===d;switch(o(t)){case"top":a={x:c,y:s.y-u.height};break;case"bottom":a={x:c,y:s.y+s.height};break;case"right":a={x:s.x+s.width,y:f};break;case"left":a={x:s.x-u.width,y:f};break;default:a={x:s.x,y:s.y}}switch(r(t)){case"start":a[d]-=h*(n&&m?-1:1);break;case"end":a[d]+=h*(n&&m?-1:1)}return a}n.d(t,{Cp:function(){return P},JB:function(){return f},RR:function(){return b},cv:function(){return R},dp:function(){return D},dr:function(){return O},oo:function(){return s},uY:function(){return T},x7:function(){return m}});let s=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}
1=n,s=o.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:d}=a(c,r,u),p=r,h={},m=0;for(let n=0;n<s.length;n++){let{name:o,fn:y}=s[n],{x:g,y:v,data:w,reset:x}=await y({x:f,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});f=null!=g?g:f,d=null!=v?v:d,h={...h,[o]:{...h[o],...w}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:d}=a(c,p,u)),n=-1)}return{x:f,y:d,placement:p,strategy:i,middlewareData:h}};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function f(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function d(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:m=!1,padding:y=0}=u(t,e),g=c(y),v=a[m?"floating"===h?"reference":"floating":h],w=f(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:d,rootBoundary:p,strategy:s})),x="floating"===h?{...l.floating,x:r,y:i}:l.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),E=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},C=f(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:b,strategy:s}):x);return{top:(w.top-C.top+g.top)/E.y,bottom:(C.bottom-w.bottom+g.bottom)/E.y,left:(w.left-C.left+g.left)/E.x,right:(C.right-w.right+g.right)/E.x}}let p=Math.min,h=Math.max,m=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:a,rects:s,platform:f,elements:d}=t,{element:m,padding:y=0}=u(e,t)||{};if(null==m)return{};let g=c(y),v={x:n,y:o},w=l(a),x=i(w),b=await f.getDimensions(m),E="y"===w,C=E?"clientHeight":"clientWidth",P=s.reference[x]+s.reference[w]-v[w]-s.floating[x],R=v[w]-s.reference[w],_=await (null==f.getOffsetParent?void 0:f.getOffsetParent(m)),T=_?_[C]:0;T&&await (null==f.isElement?void 0:f.isElement(_))||(T=d.floating[C]||s.floating[x]);let O=T/2-b[x]/2-1,D=p(g[E?"top":"left"],O),A=p(g[E?"bottom":"right"],O),L=T-b[x]-A,S=T/2-b[x]/2+(P/2-R/2),k=h(D,p(S,L)),W=null!=r(a)&&S!=k&&s.reference[x]/2-(S<D?D:A)-b[x]/2<0?S<D?D-S:L-S:0;return{[w]:v[w]-W,data:{[w]:k,centerOffset:S-k+W}}}}),y=["top","right","bottom","left"],g=(y.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function v(e){return e.replace(/left|right|bottom|top/g,e=>g[e])}let w={start:"end",end:"start"};function x(e){return e.replace(/start|end/g,e=>w[e])}let b=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,a,s,c;let{placement:f,middlewareData:p,rects:h,initialPlacement:m,platform:y,elements:g}=t,{mainAxis:w=!0,crossAxis:b=!0,fallbackPlacements:E,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:R=!0,..._}=u(e,t),T=o(f),O=o(m)===m,D=await (null==y.isRTL?void 0:y.isRTL(g.floating)),A=E||(O||!R?[v(m)]:function(e){let t=v(e);return[x(e),t,x(t)]}(m));E||"none"===P||A.push(...function(e,t,n,i){let l=r(e),a=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(o(e),"start"===n,i);return l&&(a=a.map(e=>e+"-"+l),t&&(a=a.concat(a.map(x)))),a}(m,R,P,D));let L=[m,...A],S=await d(t,_),k=[],W=(null==(n=p.flip)?void 0:n.overflows)||[];if(w&&k.push(S[T]),b){let{main:e,cross:t}=function(e,t,n){void 0===n&&(n=!1);let o=r(e),a=l(e),s=i(a),u="x"===a?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[s]>t.floating[s]&&(u=v(u)),{main:u,cross:v(u)}}(f,h,D);k.push(S[e],S[t])}if(W=[...W,{placement:f,overflows:k}],!k.every(e=>e<=0)){let e=((null==(a=p.flip)?void 0:a.index)||0)+1,t=L[e];if(t)return{data:{index:e,overflows:W},reset:{placement:t}};let n=null==(s=W.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:s.placement;if(!n)switch(C){case"bestFit":{let e=null==(c=W.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:c[0];e&&(n=e);break}case"initialPlacement":n=m}if(f!==n)return{reset:{placement:n}}}return{}}}};function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function C(e){return y.some(t=>e[t]>=0)}let P=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=u(e,t);switch(r){case"referenceHidden":{let e=E(await d(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:C(e)}}}case"escaped":{let e=E(await d(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:C(e)}}}default:return{}}}}},R=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:i}=t,a=await async function(e,t){let{placement:n,platform:i,elements:a}=e,s=await (null==i.isRTL?void 0:i.isRTL(a.floating)),c=o(n),f=r(n),d="x"===l(n),p=["left","top"].includes(c)?-1:1,h=s&&d?-1:1,m=u(t,e),{mainAxis:y,crossAxis:g,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return f&&"number"==typeof v&&(g="end"===f?-1*v:v),d?{x:g*h,y:y*p}:{x:y*p,y:g*h}}(t,e);return{x:n+a.x,y:i+a.y,data:a}}}};function _(e){return"x"===e?"y":"x"}let T=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=u(e,t),m={x:n,y:r},y=await d(t,f),g=l(o(i)),v=_(g),w=m[g],x=m[v];a&&(w=h(w+y["y"===g?"top":"left"],p(w,w-y["y"===g?"bottom":"right"]))),s&&(x=h(x+y["y"===v?"top":"left"],p(x,x-y["y"===v?"bottom":"right"])));let b=c.fn({...t,[g]:w,[v]:x});return{...b,data:{x:b.x-n,y:b.y-r}}}}},O=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:s}=t,{offset:c=0,mainAxis:f=!0,crossAxis:d=!0}=u(e,t),p={x:n,y:r},h=l(i),m=_(h),y=p[h],g=p[m],v=u(c,t),w="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(f){let e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+w.mainAxis,n=a.reference[h]+a.reference[e]-w.mainAxis;y<t?y=t:y>n&&(y=n)}if(d){var x,b;let e="y"===h?"width":"height",t=["top","left"].includes(o(i)),n=a.reference[m]-a.floating[e]+(t&&(null==(x=s.offset)?void 0:x[m])||0)+(t?0:w.crossAxis),r=a.reference[m]+a.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[m])||0)-(t?w.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[h]:y,[m]:g}}}},D=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i;let{placement:a,rects:s,platform:c,elements:f}=t,{apply:m=()=>{},...y}=u(e,t),g=await d(t,y),v=o(a),w=r(a),x="x"===l(a),{width:b,height:E}=s.floating;"top"===v||"bottom"===v?(n=v,i=w===(await (null==c.isRTL?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(i=v,n="end"===w?"top":"bottom");let C=E-g[n],P=b-g[i],R=!t.middlewareData.shift,_=C,T=P;if(x){let e=b-g.left-g.right;T=w||R?p(P,e):e}else{let e=E-g.top-g.bottom;_=w||R?p(C,e):e}if(R&&!w){let e=h(g.left,0),t=h(g.right,0),n=h(g.top,0),r=h(g.bottom,0);x?T=b-2*(0!==e||0!==t?e+t:h(g.left,g.right)):_=E-2*(0!==n||0!==r?n+r:h(g.top,g.bottom))}await m({...t,availableWidth:T,availableHeight:_});let O=await c.getDimensions(f.floating);return b!==O.width||E!==O.height?{reset:{rects:!0}}:{}}}}},55863:function(e,t,n){"use strict";n.d(t,{Me:function(){return M},oo:function(){return H}});var r=n(88301);function i(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){return i(e).getComputedStyle(e)}function l(e){return e instanceof i(e).Node}function a(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function s(e){return e instanceof i(e).HTMLElement}function u(e){return e instanceof i(e).Element}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}function f(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=o(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function d(e){let t=p(),n=o(e);return"none"!==n.transform||"none"!==n.perspective||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(a(e))}let m=Math.min,y=Math.max,g=Math.round,v=Math.floor,w=e=>({x:e,y:e});function x(e){let t=o(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=s(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,u=g(n)!==l||g(r)!==a;return u&&(n=l,r=a),{width:n,height:r,$:u}}function b(e){return u(e)?e:e.contextElement}function E(e){let t=b(e);if(!s(t))return w(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=x(t),l=(o?g(n.width):n.width)/r,a=(o?g(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let C=w(0);function P(e,t,n){var r,o;if(void 0===t&&(t=!0),!p())return C;let l=e?i(e):window;return!n||t&&n!==l?C:{x:(null==(r=l.visualViewport)?void 0:r.offsetLeft)||0,y:(null==(o=l.visualVie
1wport)?void 0:o.offsetTop)||0}}function R(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),a=b(e),s=w(1);t&&(o?u(o)&&(s=E(o)):s=E(e));let c=P(a,n,o),f=(l.left+c.x)/s.x,d=(l.top+c.y)/s.y,p=l.width/s.x,h=l.height/s.y;if(a){let e=i(a),t=o&&u(o)?i(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=E(n),t=n.getBoundingClientRect(),r=getComputedStyle(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,d*=e.y,p*=e.x,h*=e.y,f+=o,d+=l,n=i(n).frameElement}}return(0,r.JB)({width:p,height:h,x:f,y:d})}function _(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function T(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function O(e){return R(_(e)).left+T(e).scrollLeft}function D(e){if("html"===a(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||_(e);return c(t)?t.host:t}function A(e,t){var n;void 0===t&&(t=[]);let r=function e(t){let n=D(t);return h(n)?t.ownerDocument?t.ownerDocument.body:t.body:s(n)&&f(n)?n:e(n)}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),l=i(r);return o?t.concat(l,l.visualViewport||[],f(r)?r:[]):t.concat(r,A(r))}function L(e,t,n){let l;if("viewport"===t)l=function(e,t){let n=i(e),r=_(e),o=n.visualViewport,l=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){l=o.width,a=o.height;let e=p();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:l,height:a,x:s,y:u}}(e,n);else if("document"===t)l=function(e){let t=_(e),n=T(e),r=e.ownerDocument.body,i=y(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=y(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+O(e),s=-n.scrollTop;return"rtl"===o(r).direction&&(a+=y(t.clientWidth,r.clientWidth)-i),{width:i,height:l,x:a,y:s}}(_(e));else if(u(t))l=function(e,t){let n=R(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=s(e)?E(e):w(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=P(e);l={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(l)}function S(e,t){return s(e)&&"fixed"!==o(e).position?t?t(e):e.offsetParent:null}function k(e,t){let n=i(e);if(!s(e))return n;let r=S(e,t);for(;r&&["table","td","th"].includes(a(r))&&"static"===o(r).position;)r=S(r,t);return r&&("html"===a(r)||"body"===a(r)&&"static"===o(r).position&&!d(r))?n:r||function(e){let t=D(e);for(;s(t)&&!h(t);){if(d(t))return t;t=D(t)}return null}(e)||n}let W={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,l="clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=A(e).filter(e=>u(e)&&"body"!==a(e)),i=null,l="fixed"===o(e).position,s=l?D(e):e;for(;u(s)&&!h(s);){let t=o(s),n=d(s);n||"fixed"!==t.position||(i=null),(l?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||f(s)&&!n&&function e(t,n){let r=D(t);return!(r===n||!u(r)||h(r))&&("fixed"===o(r).position||e(r,n))}(e,s))?r=r.filter(e=>e!==s):i=t,s=D(s)}return t.set(e,r),r}(t,this._c):[].concat(n),s=[...l,r],c=s[0],p=s.reduce((e,n)=>{let r=L(t,n,i);return e.top=y(r.top,e.top),e.right=m(r.right,e.right),e.bottom=m(r.bottom,e.bottom),e.left=y(r.left,e.left),e},L(t,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=s(n),o=_(n);if(n===o)return t;let l={scrollLeft:0,scrollTop:0},u=w(1),c=w(0);if((i||!i&&"fixed"!==r)&&(("body"!==a(n)||f(o))&&(l=T(n)),s(n))){let e=R(n);u=E(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-l.scrollLeft*u.x+c.x,y:t.y*u.y-l.scrollTop*u.y+c.y}},isElement:u,getDimensions:function(e){return x(e)},getOffsetParent:k,getDocumentElement:_,getScale:E,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||k,o=this.getDimensions;return{reference:function(e,t,n){let r=s(t),i=_(t),o="fixed"===n,l=R(e,!0,o,t),u={scrollLeft:0,scrollTop:0},c=w(0);if(r||!r&&!o){if(("body"!==a(t)||f(i))&&(u=T(t)),s(t)){let e=R(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=O(i))}return{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===o(e).direction};function M(e,t,n,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=!0,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=b(e),c=i||o?[...u?A(u):[],...A(t)]:[];
1c.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let f=u&&a?function(e,t){let n,r=null,i=_(e);function o(){clearTimeout(n),r&&r.disconnect(),r=null}return function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let{left:u,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;let p=v(c),h=v(i.clientWidth-(u+f)),g=v(i.clientHeight-(c+d)),w=v(u),x=!0;(r=new IntersectionObserver(e=>{let t=e[0].intersectionRatio;if(t!==s){if(!x)return l();t?l(!1,t):n=setTimeout(()=>{l(!1,1e-7)},100)}x=!1},{rootMargin:-p+"px "+-h+"px "+-g+"px "+-w+"px",threshold:y(0,m(1,s))||1})).observe(e)}(!0),o}(u,n):null,d,p=null;l&&(p=new ResizeObserver(n),u&&!s&&p.observe(u),p.observe(t));let h=s?R(e):null;return s&&function t(){let r=R(e);h&&(r.x!==h.x||r.y!==h.y||r.width!==h.width||r.height!==h.height)&&n(),h=r,d=requestAnimationFrame(t)}(),n(),()=>{c.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),f&&f(),p&&p.disconnect(),p=null,s&&cancelAnimationFrame(d)}}let H=(e,t,n)=>{let i=new Map,o={platform:W,...n},l={...o.platform,_c:i};return(0,r.oo)(e,t,{...o,platform:l})}},50573:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(87462),i=n(67294),o=n(64757);let l=(0,i.forwardRef)((e,t)=>{let{children:n,width:l=10,height:a=5,...s}=e;return(0,i.createElement)(o.WV.svg,(0,r.Z)({},s,{ref:t,width:l,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,i.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),a=l},90667:function(e,t,n){"use strict";let r;n.d(t,{XB:function(){return p}});var i=n(87462),o=n(67294),l=n(36206),a=n(64757),s=n(28771),u=n(79698),c=n(78724);let f="dismissableLayer.update",d=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=(0,o.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:y,onPointerDownOutside:g,onFocusOutside:v,onInteractOutside:w,onDismiss:x,...b}=e,E=(0,o.useContext)(d),[C,P]=(0,o.useState)(null),R=null!==(n=null==C?void 0:C.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,_]=(0,o.useState)({}),T=(0,s.e)(t,e=>P(e)),O=Array.from(E.layers),[D]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),A=O.indexOf(D),L=C?O.indexOf(C):-1,S=E.layersWithOutsidePointerEventsDisabled.size>0,k=L>=A,W=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,u.W)(e),r=(0,o.useRef)(!1),i=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){m("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!k||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},R),M=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,u.W)(e),r=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!r.current&&m("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));n||(null==v||v(e),null==w||w(e),e.defaultPrevented||null==x||x())},R);return(0,c.e)(e=>{let t=L===E.layers.size-1;t&&(null==y||y(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},R),(0,o.useEffect)(()=>{if(C)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[C,R,p,E]),(0,o.useEffect)(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),h())},[C,E]),(0,o.useEffect)(()=>{let e=()=>_({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,o.createElement)(a.WV.div,(0,i.Z)({},b,{ref:T,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,l.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,l.M)(e.onPointerDownCapture,W.onPointerDownCapture)}))});function h(){let e=new CustomEvent(f);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,a.jH)(i,o):i.dispatchEvent(o)}},46293:function(e,t,n){"use strict";n.d(t,{D7:function(){return g},Eh:function(){return W},VY:function(){return k},ee:function(){return S},fC:function(){return L}});var r=n(87462),i=n(67294),o=n(58463),l=n(55863),a=n(88301),s=n(50573),u=n(28771),c=n(25360),f=n(64757),d=n(79698),p=n(9981),h=n(7546);let m="Popper",[y,g]=(0,c.b)(m),[v,w]=y(m),x=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,i.useState)(null);return(0,i.createElement)(v,{scope:t,anchor:r,onAnchorChange:o},n)},b=(0,i.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=w("PopperAnchor",n),s=(0,i.useRef)(null),c=(0,u.e)(t,s);return(0,i.useEffect)(()=>{a.onAnchorChange((null==o?void 0:o.current)||s.current)}),o?null:(0,i.createElement)(f.WV.div,(0,r.Z)({},l,{ref:c}))}),E="PopperContent",[C,P]=y(E),R=(0,i.forwardRef)((e,t)=>{var n,s,c,m,y,g,v,x;let{__scopePopper:b,side:P="bottom",sideOffset:R=0,align:_="center",alignOffset:T=0,arrowPadding:L=0,collisionBoundary:S=[],collisionPadding:k=0,sticky:W="partial",hideWhenDetached:M=!1,avoidCollisions:H=!0,onPlaced:B,...F}=e,V=w(E,b),[j,z]=(0,i.useState)(null),Y=(0,u.e)(t,e=>z(e)),[$,Z]=(0,i.useState)(null),I=(0,h.t)($),N=null!==(n=null==I?void 0:I.width)&&void 0!==n?n:0,
1X=null!==(s=null==I?void 0:I.height)&&void 0!==s?s:0,G="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},J=Array.isArray(S)?S:[S],K=J.length>0,q={padding:G,boundary:J.filter(O),altBoundary:K},{refs:Q,floatingStyles:U,placement:ee,isPositioned:et,middlewareData:en}=(0,o.YF)({strategy:"fixed",placement:P+("center"!==_?"-"+_:""),whileElementsMounted:l.Me,elements:{reference:V.anchor},middleware:[(0,a.cv)({mainAxis:R+X,alignmentAxis:T}),H&&(0,a.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===W?(0,a.dr)():void 0,...q}),H&&(0,a.RR)({...q}),(0,a.dp)({...q,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`)}}),$&&(0,o.x7)({element:$,padding:L}),D({arrowWidth:N,arrowHeight:X}),M&&(0,a.Cp)({strategy:"referenceHidden"})]}),[er,ei]=A(ee),eo=(0,d.W)(B);(0,p.b)(()=>{et&&(null==eo||eo())},[et,eo]);let el=null===(c=en.arrow)||void 0===c?void 0:c.x,ea=null===(m=en.arrow)||void 0===m?void 0:m.y,es=(null===(y=en.arrow)||void 0===y?void 0:y.centerOffset)!==0,[eu,ec]=(0,i.useState)();return(0,p.b)(()=>{j&&ec(window.getComputedStyle(j).zIndex)},[j]),(0,i.createElement)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:et?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(g=en.transformOrigin)||void 0===g?void 0:g.x,null===(v=en.transformOrigin)||void 0===v?void 0:v.y].join(" ")},dir:e.dir},(0,i.createElement)(C,{scope:b,placedSide:er,onArrowChange:Z,arrowX:el,arrowY:ea,shouldHideArrow:es},(0,i.createElement)(f.WV.div,(0,r.Z)({"data-side":er,"data-align":ei},F,{ref:Y,style:{...F.style,animation:et?void 0:"none",opacity:null!==(x=en.hide)&&void 0!==x&&x.referenceHidden?0:void 0}}))))}),_={top:"bottom",right:"left",bottom:"top",left:"right"},T=(0,i.forwardRef)(function(e,t){let{__scopePopper:n,...o}=e,l=P("PopperArrow",n),a=_[l.placedSide];return(0,i.createElement)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0}},(0,i.createElement)(s.f,(0,r.Z)({},o,{ref:t,style:{...o.style,display:"block"}})))});function O(e){return null!==e}let D=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=A(a),m={start:"0%",center:"50%",end:"100%"}[h],y=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+f/2,g=(null!==(o=null===(l=u.arrow)||void 0===l?void 0:l.y)&&void 0!==o?o:0)+d/2,v="",w="";return"bottom"===p?(v=c?m:`${y}px`,w=`${-d}px`):"top"===p?(v=c?m:`${y}px`,w=`${s.floating.height+d}px`):"right"===p?(v=`${-d}px`,w=c?m:`${g}px`):"left"===p&&(v=`${s.floating.width+d}px`,w=c?m:`${g}px`),{data:{x:v,y:w}}}});function A(e){let[t,n="center"]=e.split("-");return[t,n]}let L=x,S=b,k=R,W=T},42651:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(87462),i=n(67294),o=n(73935),l=n(64757);let a=(0,i.forwardRef)((e,t)=>{var n;let{container:a=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...s}=e;return a?o.createPortal((0,i.createElement)(l.WV.div,(0,r.Z)({},s,{ref:t})),a):null})},10418:function(e,t,n){"use strict";n.d(t,{pn:function(){return b}});var r=n(87462),i=n(67294),o=(n(36206),n(28771)),l=n(25360),a=n(90667),s=(n(91276),n(46293)),u=(n(42651),n(29115),n(64757));let c=(0,i.forwardRef)((e,t)=>{let{children:n,...o}=e,l=i.Children.toArray(n),a=l.find(p);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(f,(0,r.Z)({},o,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(f,(0,r.Z)({},o,{ref:t}),n)});c.displayName="Slot";let f=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r],l=/^on[A-Z]/.test(r);l?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}
1:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,o.F)(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});f.displayName="SlotClone";let d=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function p(e){return(0,i.isValidElement)(e)&&e.type===d}n(77342);let h=(0,i.forwardRef)((e,t)=>(0,i.createElement)(u.WV.span,(0,r.Z)({},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}}))),[m,y]=(0,l.b)("Tooltip",[s.D7]),g=(0,s.D7)(),v="tooltip.open",[w,x]=m("TooltipProvider"),b=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:l}=e,[a,s]=(0,i.useState)(!0),u=(0,i.useRef)(!1),c=(0,i.useRef)(0);return(0,i.useEffect)(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,i.createElement)(w,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:(0,i.useCallback)(()=>{window.clearTimeout(c.current),s(!1)},[]),onClose:(0,i.useCallback)(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:(0,i.useCallback)(e=>{u.current=e},[]),disableHoverableContent:o},l)},E="Tooltip",[C,P]=m(E),[R,_]=m("TooltipPortal",{forceMount:void 0}),T="TooltipContent",[O,D]=((e,t)=>{let n=P(T,e.__scopeTooltip),l=x(T,e.__scopeTooltip),a=(0,i.useRef)(null),s=(0,o.e)(t,a),[u,c]=(0,i.useState)(null),{trigger:f,onClose:d}=n,p=a.current,{onPointerInTransitChange:h}=l,m=(0,i.useCallback)(()=>{c(null),h(!1)},[h]),y=(0,i.useCallback)((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect()),o=function(e,t,n=5){let r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),l=function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect()),a=function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...o,...l]);c(a),h(!0)},[h]);return(0,i.useEffect)(()=>()=>m(),[m]),(0,i.useEffect)(()=>{if(f&&p){let e=e=>y(e,p),t=e=>y(e,f);return f.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{f.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[f,p,y,m]),(0,i.useEffect)(()=>{if(u){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==f?void 0:f.contains(t))||(null==p?void 0:p.contains(t)),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e].x,a=t[e].y,s=t[o].x,u=t[o].y,c=a>r!=u>r&&n<(s-l)*(r-a)/(u-a)+l;c&&(i=!i)}return i}(n,u);r?m():i&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[f,p,u,d,m]),(0,i.createElement)(A,(0,r.Z)({},e,{ref:s}))},m(E,{isInside:!1})),A=(0,i.forwardRef)((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:c,...f}=e,p=P(T,n),m=g(n),{onClose:y}=p;return(0,i.useEffect)(()=>(document.addEventListener(v,y),()=>document.removeEventListener(v,y)),[y]),(0,i.useEffect)(()=>
1{if(p.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(p.trigger)&&y()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,y]),(0,i.createElement)(a.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:y},(0,i.createElement)(s.VY,(0,r.Z)({"data-state":p.stateAttribute},m,f,{ref:t,style:{...f.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)"}}),(0,i.createElement)(d,null,o),(0,i.createElement)(O,{scope:n,isInside:!0},(0,i.createElement)(h,{id:p.contentId,role:"tooltip"},l||o))))})},7546:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(67294),i=n(9981);function o(e){let[t,n]=(0,r.useState)(void 0);return(0,i.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}}}]);

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.