PageSourceSearch

https://widemile.ai/_next/static/chunks/10-lt~7p6h-gb.js?dpl=d333a2946053d94adfdcd5052a328622d9aa926a

js widemile.ai collected 2026-10-05 15:19:24 UTC 34,077 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a10b95-3acb-7280-a7e0-9cb87f48206b")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,609459,399330,4847,e=>{"use strict";var t,n=e.i(151328),r=e.i(291967),i=e.i(735332),o=e.i(43260);function l(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["useCallbackRef",0,l],399330);var a=e.i(663924),s="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=n.forwardRef((e,u)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...w}=e,x=n.useContext(f),[b,E]=n.useState(null),R=b?.ownerDocument??globalThis?.document,[,L]=n.useState({}),P=(0,o.useComposedRefs)(u,e=>E(e)),C=Array.from(x.layers),[A]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),O=C.indexOf(A),S=b?C.indexOf(b):-1,T=x.layersWithOutsidePointerEventsDisabled.size>0,D=S>=O,k=function(e,t=globalThis?.document){let r=l(e),i=n.useRef(!1),o=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);i.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));D&&!n&&(m?.(e),y?.(e),e.defaultPrevented||v?.())},R),H=function(e,t=globalThis?.document){let r=l(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},R);return!function(e,t=globalThis?.document){let r=l(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{S===x.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},R),n.useEffect(()=>{if(b)return p&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(b)),x.layers.add(b),c(),()=>{p&&1===x.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[b,R,p,x]),n.useEffect(()=>()=>{b&&(x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),c())},[b,x]),n.useEffect(()=>{let e=()=>L({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,a.jsx)(i.Primitive.div,{...w,ref:P,style:{pointerEvents:T?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,k.onPointerDownCapture)})});function c(){let e=new CustomEvent(s);document.dispatchEvent(e)}function d(e,t,n,{discrete:r}){let o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,l):o.dispatchEvent(l)}u.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(f),l=n.useRef(null),s=(0,o.useComposedRefs)(t,l);return n.useEffect(()=>{let e=l.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.jsx)(i.Primitive.div,{...e,ref:s})}
1).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,u],609459);var p=e.i(147305),h=n[" useId ".trim().toString()]||(()=>void 0),m=0;e.s(["useId",0,function(e){let[t,r]=n.useState(h());return(0,p.useLayoutEffect)(()=>{e||r(e=>e??String(m++))},[e]),e||(t?`radix-${t}`:"")}],4847)},278928,e=>{"use strict";let t,n=["top","right","bottom","left"],r=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),i=Math.min,o=Math.max,l=Math.round,a=Math.floor,s=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e,t,n){void 0===n&&(n=!1);let r=d(e),i=p(m(e)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=E(l)),[l,E(l)]}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],w=["right","left"],x=["top","bottom"],b=["bottom","top"];function E(e){let t=c(e);return f[t]+e.slice(t.length)}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(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 P(e,t,n){let r,{reference:i,floating:o}=e,l=m(t),a=p(m(t)),s=h(a),f=c(t),u="y"===l,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[s]/2-o[s]/2;switch(f){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,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]-=v*(n&&u?-1:1);break;case"end":r[a]+=v*(n&&u?-1:1)}return r}async function C(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:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=R(h),g=a[p?"floating"===d?"reference":"floating":d],y=L(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:c,strategy:s})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:s}):v);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:C},s=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=P(f,r,s),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:w,data:x,reset:b}=await y({x:u,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:f,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,c=null!=w?w:c,h[g]={...h[g],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:u,y:c}=P(f,d,s)),n=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return n.some(t=>e[t]>=0)}function T(e){let t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top));return{x:t,y:n,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-n}}let D=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=c(n),a=d(n),s="y"===m(n),f=D.has(l)?-1:1,p=o&&s?-1:1,h=u(t,e),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}
1:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),s?{x:y*p,y:g*f}:{x:g*f,y:y*p}}function H(){return"u">typeof window}function W(e){return $(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=($(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $(e){return!!H()&&(e instanceof Node||e instanceof j(e).Node)}function B(e){return!!H()&&(e instanceof Element||e instanceof j(e).Element)}function M(e){return!!H()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function z(e){return!(!H()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}function N(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function V(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let I=/transform|translate|scale|rotate|perspective|filter/,_=/paint|layout|strict|content/,Y=e=>!!e&&"none"!==e;function U(e){let t=B(e)?K(e):e;return Y(t.transform)||Y(t.translate)||Y(t.scale)||Y(t.rotate)||Y(t.perspective)||!X()&&(Y(t.backdropFilter)||Y(t.filter))||I.test(t.willChange||"")||_.test(t.contain||"")}function X(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function q(e){return/^(html|body|#document)$/.test(W(e))}function K(e){return j(e).getComputedStyle(e)}function G(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||F(e);return z(t)?t.host:t}function Q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=J(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:M(n)&&N(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(!o)return t.concat(i,Q(i,[],n));{let e=Z(l);return t.concat(l,l.visualViewport||[],N(i)?i:[],e&&n?Q(e):[])}}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=M(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function et(e){return B(e)?e:e.contextElement}function en(e){let t=et(e);if(!M(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),a=(o?l(n.width):n.width)/r,f=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),f&&Number.isFinite(f)||(f=1),{x:a,y:f}}let er=s(0);function ei(e){let t=j(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=s(1);t&&(r?B(r)&&(a=en(r)):a=en(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?ei(l):s(0),u=(o.left+f.x)/a.x,c=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=j(l),t=r&&B(r)?j(r):r,n=e,i=Z(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=o,c+=l,i=Z(n=j(i))}}return L({width:d,height:p,x:u,y:c})}function el(e,t){let n=G(e).scrollLeft;return t?t.left+n:eo(F(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}
1function es(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=j(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=X();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let f=el(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,u;r=F(e),t=F(r),n=G(r),l=r.ownerDocument.body,a=o(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),s=o(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+el(r),u=-n.scrollTop,"rtl"===K(l).direction&&(f+=o(t.clientWidth,l.clientWidth)-a),i={width:a,height:s,x:f,y:u}}else if(B(t)){let e,r,o,l,a,f;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=M(t)?en(t):s(1),a=t.clientWidth*l.x,f=t.clientHeight*l.y,i={width:a,height:f,x:o*l.x,y:r*l.y}}else{let n=ei(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return L(i)}function ef(e){return"static"===K(e).position}function eu(e,t){if(!M(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function ec(e,t){var n;let r=j(e);if(V(e))return r;if(!M(e)){let t=J(e);for(;t&&!q(t);){if(B(t)&&!ef(t))return t;t=J(t)}return r}let i=eu(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(W(n)))&&ef(i);)i=eu(i,t);return i&&q(i)&&ef(i)&&!U(i)?r:i||function(e){let t=J(e);for(;M(t)&&!q(t);){if(U(t))return t;if(V(t))break;t=J(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ec,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=M(t),i=F(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=s(0);if(r||!r&&!o)if(("body"!==W(t)||N(i))&&(a=G(t)),r){let e=eo(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=el(i));o&&!r&&i&&(f.x=el(i));let u=!i||r||o?s(0):ea(i,a);return{x:l.left+a.scrollLeft-f.x-u.x,y:l.top+a.scrollTop-f.y-u.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}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),a=!!t&&V(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},u=s(1),c=s(0),d=M(r);if((d||!d&&!o)&&(("body"!==W(r)||N(l))&&(f=G(r)),d)){let e=eo(r);u=en(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?s(0):ea(l,f);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-f.scrollTop*u.y+c.y+p.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?V(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>B(e)&&"body"!==W(e)),i=null,o="fixed"===K(e).position,l=o?J(e):e;for(;B(l)&&!q(l);){let t=K(l),n=U(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||N(l)&&!n&&function e(t,n){let r=J(t);return!(r===n||!B(r)||q(r))&&("fixed"===K(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=J(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=es(t,a[0],l),f=s.top,u=s.right,c=s.bottom,d=s.left;for(let e=1;e<a.length;e++){let n=es(t,a[e],l);f=o(n.top,f),u=i(n.right,u),c=i(n.bottom,c),d=o(n.left,d)}return{width:u-d,height:c-f,x:d,y:f}},getOffsetParent:ec,getElementRects:ed,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:B,isRTL:function(e){return"rtl"===K(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:s,elements:f,middlewareData:c}=t,{element:g,padding:y=0}=u(e,t)||{};if(null==g)return{};let v=R(y),w={x:n,y:r},x=p(m(l)),b=h(x),E=await s.getDimensions(g),L="y"===x,P=L?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[x]-w[x]-a.floating[b],A=w[x]-a.reference[x],O=await (null==s.getOffsetParent?void 0:s.getOffsetParent(g)),S=O?O[P]:0;S&&await (null==s.isElement?void 0:s.isElement(O))||(S=f.floating[P]||a.floating[b]);
1let T=S/2-E[b]/2-1,D=i(v[L?"top":"left"],T),k=i(v[L?"bottom":"right"],T),H=S-E[b]-k,W=S/2-E[b]/2+(C/2-A/2),j=o(D,i(W,H)),F=!c.arrow&&null!=d(l)&&W!==j&&a.reference[b]/2-(W<D?D:k)-E[b]/2<0,$=F?W<D?W-D:W-H:0;return{[x]:w[x]+$,data:{[x]:j,centerOffset:W-j-$,...F&&{alignmentOffset:$}},reset:F}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,l;let{rects:a,middlewareData:s,placement:f,platform:p,elements:h}=t,{crossAxis:m=!1,alignment:v,allowedPlacements:w=r,autoAlignment:x=!0,...b}=u(e,t),E=void 0!==v||w===r?((l=v||null)?[...w.filter(e=>d(e)===l),...w.filter(e=>d(e)!==l)]:w.filter(e=>c(e)===e)).filter(e=>!l||d(e)===l||!!x&&y(e)!==e):w,R=await p.detectOverflow(t,b),L=(null==(n=s.autoPlacement)?void 0:n.index)||0,P=E[L];if(null==P)return{};let C=g(P,a,await (null==p.isRTL?void 0:p.isRTL(h.floating)));if(f!==P)return{reset:{placement:E[0]}};let A=[R[c(P)],R[C[0]],R[C[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:A}],S=E[L+1];if(S)return{data:{index:L+1,overflows:O},reset:{placement:S}};let T=O.map(e=>{let t=d(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=T.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||T[0][0];return D!==f?{data:{index:L+1,overflows:O},reset:{placement:D}}:{}}}},"autoUpdate",0,function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),h=s||f?[...p?Q(p):[],...t?Q(t):[]]:[];h.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,l=F(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),s();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(u||t(),!m||!g)return;let y={rootMargin:-a(h)+"px "+-a(l.clientWidth-(p+m))+"px "+-a(l.clientHeight-(h+g))+"px "+-a(p)+"px",threshold:o(0,i(1,c))||1},v=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!v)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||eh(d,e.getBoundingClientRect())||f(),v=!1}try{r=new IntersectionObserver(w,{...y,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),s}(p,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let v=d?eo(e):null;return d&&function t(){let r=eo(e);v&&!eh(v,r)&&n(),v=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(l)}},"computePosition",0,(e,t,n)=>{let r=new Map,i={platform:ep,...n},o={...i.platform,_c:r};return A(e,t,{...i,platform:o})},"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let a,s,f,{placement:p,middlewareData:h,rects:R,initialPlacement:L,platform:P,elements:C}=t,{mainAxis:A=!0,crossAxis:O=!0,fallbackPlacements:S,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:k=!0,...H}=u(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let W=c(p),j=m(L),F=c(L)===L,$=await (null==P.isRTL?void 0:P.isRTL(C.floating)),B=S||(F||!k?[E(L)]:(a=E(L),[y(L),a,y(a)])),M="none"!==D;!S&&M&&B.push(...(s=d(L),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:v;return t?v:w;case"left":case"right":return t?x:b;default:return[]}}(c(L),"start"===D,$),s&&(f=f.map(e=>e+"-"+s),k&&(f=f.concat(f.map(y)))),f));let z=[L,...B],N=await P.detectOverflow(t,H),V=[],I=(null==(r=h.flip)?void 0:r.overflows)||[];if(A&&V.push(N[W]),O){let e=g(p,R,$);V.push(N[e[0]],N[e[1]])}if(I=[...I,{placement:p,overflows:V}],!V.every(e=>e<=0)){let e=((null==(i=h.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==O||j===m(t)||I.every(e=>m(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(o=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(T){case"bestFit":{let e=null==(l=I.filter(e=>{if(M){let t=m(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=L}if(p!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=u(e,t);switch(i){case"referenceHidden":{let e=O(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:S(e)}}}case"escaped":{let e=O(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:S(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:r,rects:l,platform:a,strategy:s}=t,{padding:f=2,x:d,y:p}=u(e,t),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),g=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>L(T(e)))}(h),y=L(T(h)),v=R(f),w=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=d&&null!=p)return g.find(e=>d>e.left-v.left&&d<e.right+v.right&&p>e.top-v.top&&p<e.bottom+v.bottom)||y;if(g.length>=2){if("y"===m(n)){let e=g[0],t=g[g.length-1],r="top"===c(n),i=e.top,o=t.bottom,l=r?e.left:t.left,a=r?e.right:t.right;return{top:i,bottom:o,left:l,right:a,width:a-l,height:o-i,x:l,y:i}}let e="left"===c(n),t=o(...g.map(e=>e.right)),r=i(...g.map(e=>e.left)),l=g.filter(n=>e?n.left===r:n.right===t),a=l[0].top,s=l[l.length-1].bottom;return{top:a,bottom:s,left:r,right:t,width:t-r,height:s-a,x:r,y:a}}return y}},floating:r.floating,strategy:s});return l.reference.x!==w.reference.x||l.reference.y!==w.reference.y||l.reference.width!==w.reference.width||l.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:f=!0}=u(e,t),d={x:n,y:r},h=m(i),g=p(h),y=d[g],v=d[h],w=u(a,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){let e="y"===g?"height":"width",t=o.reference[g]-o.floating[e]+x.mainAxis,n=o.reference[g]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(f){var b,E;let e="y"===g?"width":"height",t=D.has(c(i)),n=o.reference[h]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[h])||0)+(t?0:x.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[h])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[g]:y,[h]:v}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await k(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l,platform:a}=t,{mainAxis:s=!0,crossAxis:f=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...h}=u(e,t),g={x:n,y:r},y=await a.detectOverflow(t,h),v=m(c(l)),w=p(v),x=g[w],b=g[v];if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=x+y[e],r=x-y[t];x=o(n,i(x,r))}if(f){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+y[e],r=b-y[t];b=o(n,i(b,r))}let E=d.fn({...t,[w]:x,[v]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[w]:s,[v]:f}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,a,{placement:s,rects:f,platform:p,elements:h}=t,{apply:g=()=>{},...y}=u(e,t),v=await p.detectOverflow(t,y),w=c(s),x=d(s),b="y"===m(s),{width:E,height:R}=f.floating;"top"===w||"bottom"===w?(l=w,a=x===(await (null==p.isRTL?void 0:p.isRTL(h.floating))?"start":"end")?"left":"right"):(a=w,l="end"===x?"top":"bottom");let L=R-v.top-v.bottom,P=E-v.left-v.right,C=i(R-v[l],L),A=i(E-v[a],P),O=!t.middlewareData.shift,S=C,T=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=P),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=L),O&&!x){let e=o(v.left,0),t=o(v.right,0),n=o(v.top,0),r=o(v.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:o(v.left,v.right)):S=R-2*(0!==n||0!==r?n+r:o(v.top,v.bottom))}await g({...t,availableWidth:T,availableHeight:S});let D=await p.getDimensions(h.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}}],278928)},69941,228110,834719,e=>{"use strict";var t=e.i(151328),n=e.i(278928),r=e.i(75646),i="u">typeof document?t.useLayoutEffect:function(){};function o(e,t){let n,r,i;if(e===t)return!0;
1if(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(!o(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)&&!o(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function a(e,t){let n=l(e);return Math.round(t*n)/n}function s(e){let n=t.useRef(e);return i(()=>{n.current=e}),n}var f=e.i(735332),u=e.i(663924),c=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,u.jsx)(f.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});c.displayName="Arrow";var d=e.i(43260),p=e.i(282864),h=e.i(399330),m=e.i(147305),g=e.i(940670),y="Popper",[v,w]=(0,p.createContextScope)(y),[x,b]=v(y),E=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,u.jsx)(x,{scope:n,anchor:i,onAnchorChange:o,children:r})};E.displayName=y;var R="PopperAnchor",L=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...o}
1=e,l=b(R,r),a=t.useRef(null),s=(0,d.useComposedRefs)(n,a),c=t.useRef(null);return t.useEffect(()=>{let e=c.current;c.current=i?.current||a.current,e!==c.current&&l.onAnchorChange(c.current)}),i?null:(0,u.jsx)(f.Primitive.div,{...o,ref:s})});L.displayName=R;var P="PopperContent",[C,A]=v(P),O=t.forwardRef((e,c)=>{var p,y,v,w,x,E,R;let L,A,O,S,T,D,{__scopePopper:j,side:F="bottom",sideOffset:$=0,align:B="center",alignOffset:M=0,arrowPadding:z=0,avoidCollisions:N=!0,collisionBoundary:V=[],collisionPadding:I=0,sticky:_="partial",hideWhenDetached:Y=!1,updatePositionStrategy:U="optimized",onPlaced:X,...q}=e,K=b(P,j),[G,J]=t.useState(null),Q=(0,d.useComposedRefs)(c,e=>J(e)),[Z,ee]=t.useState(null),et=(0,g.useSize)(Z),en=et?.width??0,er=et?.height??0,ei="number"==typeof I?I:{top:0,right:0,bottom:0,left:0,...I},eo=Array.isArray(V)?V:[V],el=eo.length>0,ea={padding:ei,boundary:eo.filter(k),altBoundary:el},{refs:es,floatingStyles:ef,placement:eu,isPositioned:ec,middlewareData:ed}=function(e){void 0===e&&(e={});let{placement:f="bottom",strategy:u="absolute",middleware:c=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,w]=t.useState({x:0,y:0,strategy:u,placement:f,middlewareData:{},isPositioned:!1}),[x,b]=t.useState(c);o(x,c)||b(c);let[E,R]=t.useState(null),[L,P]=t.useState(null),C=t.useCallback(e=>{e!==T.current&&(T.current=e,R(e))},[]),A=t.useCallback(e=>{e!==D.current&&(D.current=e,P(e))},[]),O=p||E,S=h||L,T=t.useRef(null),D=t.useRef(null),k=t.useRef(v),H=null!=g,W=s(g),j=s(d),F=s(y),$=t.useCallback(()=>{if(!T.current||!D.current)return;let e={placement:f,strategy:u,middleware:x};j.current&&(e.platform=j.current),(0,n.computePosition)(T.current,D.current,e).then(e=>{let t={...e,isPositioned:!1!==F.current};B.current&&!o(k.current,t)&&(k.current=t,r.flushSync(()=>{w(t)}))})},[x,f,u,j,F]);i(()=>{!1===y&&k.current.isPositioned&&(k.current.isPositioned=!1,w(e=>({...e,isPositioned:!1})))},[y]);let B=t.useRef(!1);i(()=>(B.current=!0,()=>{B.current=!1}),[]),i(()=>{if(O&&(T.current=O),S&&(D.current=S),O&&S){if(W.current)return W.current(O,S,$);$()}},[O,S,$,W,H]);let M=t.useMemo(()=>({reference:T,floating:D,setReference:C,setFloating:A}),[C,A]),z=t.useMemo(()=>({reference:O,floating:S}),[O,S]),N=t.useMemo(()=>{let e={position:u,left:0,top:0};if(!z.floating)return e;let t=a(z.floating,v.x),n=a(z.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:t,top:n}},[u,m,z.floating,v.x,v.y]);return t.useMemo(()=>({...v,update:$,refs:M,elements:z,floatingStyles:N}),[v,$,M,z,N])}({strategy:"fixed",placement:F+("center"!==B?"-"+B:""),whileElementsMounted:(...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===U}),elements:{reference:K.anchor},middleware:[(p={mainAxis:$+er,alignmentAxis:M},{name:(L=(0,n.offset)(p)).name,fn:L.fn,options:[p,void 0]}),N&&(y={mainAxis:!0,crossAxis:!1,limiter:"partial"===_?{fn:(0,n.limitShift)(void 0).fn,options:[void 0,void 0]}:void 0,...ea},{name:(A=(0,n.shift)(y)).name,fn:A.fn,options:[y,void 0]}),N&&(v={...ea},{name:(O=(0,n.flip)(v)).name,fn:O.fn,options:[v,void 0]}),(w={...ea,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`)}},{name:(S=(0,n.size)(w)).name,fn:S.fn,options:[w,void 0]}),Z&&{name:(T={name:"arrow",options:E=x={element:Z,padding:z},fn(e){let{element:t,padding:r}="function"==typeof E?E(e):E;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?(0,n.arrow)({element:t.current,padding:r}).fn(e):{}:t?(0,n.arrow)({element:t,padding:r}).fn(e):{}}}).name,fn:T.fn,options:[x,void 0]},H({arrowWidth:en,arrowHeight:er}),Y&&(R={strategy:"referenceHidden",...ea},{name:(D=(0,n.hide)(R)).name,fn:D.fn,options:[R,void 0]})]}),[ep,eh]=W(eu),em=(0,h.useCallbackRef)(X);(0,m.useLayoutEffect)(()=>{ec&&em?.()},[ec,em]);let eg=ed.arrow?.x,ey=ed.arrow?.y,ev=ed.arrow?.centerOffset!==0,[ew,ex]=t.useState();return(0,m.useLayoutEffect)(()=>{G&&ex(window.getComputedStyle(G).zIndex)},[G]),(0,u.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...ef,transform:ec?ef.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ew,"--radix-popper-transform-origin":[ed.transformOrigin?.x,ed.transformOrigin?.y].join(" "),...ed.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(C,{scope:j,placedSide:ep,onArrowChange:ee,arrowX:eg,arrowY:ey,shouldHideArrow:ev,children:(0,u.jsx)(f.Primitive.div,{"data-side":ep,"data-align":eh,...q,ref:Q,style:{...q.style,animation:ec?void 0:"none"}})})})});O.displayName=P;var S="PopperArrow",T={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},D=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=A(S,n),o=T[i.placedSide];return(0,u.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,u.jsx)(c,{...r,ref:t,style:{...r.style,display:"block"}})})});function k(e){return null!==e}D.displayName=S;var H=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]=W(n),u={start:"0%",center:"50%",end:"100%"}[f],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?u:`${c}px`,h=`${-a}px`):"top"===s?(p=o?u:`${c}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?u:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=o?u:`${d}px`),{data:{x:p,y:h}}}});function W(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,L,"Arrow",0,D,"Content",0,O,"Root",0,E,"createPopperScope",0,w],69941);var j=t.forwardRef((e,n)=>{let{container:i,...o}=e,[l,a]=t.useState(!1);(0,m.useLayoutEffect)(()=>a(!0),[]);let s=i||l&&globalThis?.document?.body;return s?r.default.createPortal((0,u.jsx)(f.Primitive.div,{...o,ref:n}),s):null});j.displayName="Portal",e.s(["Portal",0,j],228110);var F=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"}),$=t.forwardRef((e,t)=>(0,u.jsx)(f.Primitive.span,{...e,ref:t,style:{...F,...e.style}}));$.displayName="VisuallyHidden",e.s(["Root",0,$,"VISUALLY_HIDDEN_STYLES",0,F],834719)}]);
2
3//# chunkId=01a10b95-3acb-7280-a7e0-9cb87f48206b

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.