PageSourceSearch

https://www.assurant.com/_next/static/chunks/3f0rhc_9vh4mp.js

js assurant.com collected 2026-09-24 10:25:00 UTC 43,163 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="93b537c2-56f7-2250-f0a2-d29ffe9da6d1")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,953760,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,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function f(e,t){return"function"==typeof e?e(t):e}function a(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function p(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=m(p(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=R(l)),[l,R(l)]}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],w=["right","left"],x=["top","bottom"],b=["bottom","top"];function R(e){let t=a(e);return c[t]+e.slice(t.length)}function E(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function S(e,t,n){let r,{reference:i,floating:o}=e,l=p(t),s=m(p(t)),u=h(s),c=a(t),f=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,v=i[u]/2-o[u]/2;switch(c){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}let y=d(t);return y&&(r[s]+=v*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function O(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=f(t,e),p=E(h),g=s[m?"floating"===d?"reference":"floating":d],v=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:a,strategy:u})),y="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(s.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=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:w,strategy:u}):y);return{top:(v.top-b.top+p.top)/x.y,bottom:(b.bottom-v.bottom+p.bottom)/x.y,left:(v.left-b.left+p.left)/x.x,right:(b.right-v.right+p.right)/x.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=l.detectOverflow?l:{...l,detectOverflow:O},u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:a}=S(c,r,u),d=r,m=0,h={};for(let n=0;n<o.length;n++){let p=o[n];if(!p)continue;let{name:g,fn:v}=p,{x:y,y:w,data:x,reset:b}=await v({x:f,y:a,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});f=null!=y?y:f,a=null!=w?w:a,h[g]={...h[g],...x},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:f,y:a}=S(c,d,u)),n=-1)}return{x:f,y:a,placement:d,strategy:i,middlewareData:h}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return n.some(t=>e[t]>=0)}function L(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 I=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=a(n),s=d(n),u="y"===p(n),c=I.has(l)?-1:1,m=o&&u?-1:1,h=f(t,e),{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}
2:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof y&&(v="end"===s?-1*y:y),u?{x:v*m,y:g*c}:{x:g*c,y:v*m}}function D(){return"u">typeof window}function M(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!D()&&(e instanceof Node||e instanceof k(e).Node)}function H(e){return!!D()&&(e instanceof Element||e instanceof k(e).Element)}function _(e){return!!D()&&(e instanceof HTMLElement||e instanceof k(e).HTMLElement)}function z(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof k(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function U(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let W=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,V=e=>!!e&&"none"!==e;function G(e){let t=H(e)?X(e):e;return V(t.transform)||V(t.translate)||V(t.scale)||V(t.rotate)||V(t.perspective)||!K()&&(V(t.backdropFilter)||V(t.filter))||W.test(t.willChange||"")||B.test(t.contain||"")}function K(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function q(e){return/^(html|body|#document)$/.test(M(e))}function X(e){return k(e).getComputedStyle(e)}function Y(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if("html"===M(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||j(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).body:_(n)&&$(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=k(i);if(!o)return t.concat(i,Q(i,[],n));{let e=Z(l);return t.concat(l,l.visualViewport||[],$(i)?i:[],e&&n?Q(e):[])}}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=X(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=_(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,u=l(n)!==o||l(r)!==s;return u&&(n=o,r=s),{width:n,height:r,$:u}}function et(e){return H(e)?e:e.contextElement}function en(e){let t=et(e);if(!_(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),s=(o?l(n.width):n.width)/r,c=(o?l(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}let er=u(0);function ei(e){let t=k(e);return K()&&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),s=u(1);t&&(r?H(r)&&(s=en(r)):s=en(e));let c=(void 0===(i=n)&&(i=!1),r&&i&&r===k(l))?ei(l):u(0),f=(o.left+c.x)/s.x,a=(o.top+c.y)/s.y,d=o.width/s.x,m=o.height/s.y;if(l&&r){let e=k(l),t=H(r)?k(r):r,n=e,i=Z(n);for(;i&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=X(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,a*=e.y,d*=e.x,m*=e.y,f+=o,a+=l,i=Z(n=k(i))}}return C({width:d,height:m,x:f,y:a})}function el(e,t){let n=Y(e).scrollLeft;return t?t.left+n:eo(j(e)).left+n}function es(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function eu(e,t,n){var r;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=k(e),o=j(e),l=i.visualViewport,s=o.clientWidth,u=o.clientHeight,c=0,f=0;if(l){let e=!K()||"fixed"===t;r?e||(c=-l.offsetLeft,f=-l.offsetTop):(s=l.width,u=l.height,e&&(c=l.offsetLeft,f=l.offsetTop))}if(0>=el(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(s-=l)}return{width:s,height:u,x:c,y:f}}(e,n,t);else if("document"===t){let t,n,l,s,u,c;t=Y(r=j(e)),n=r.ownerDocument.body,l=o(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),s=o(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),u=-t.scrollLeft+el(r),c=-t.scrollTop,"rtl"===X(n).direction&&(u+=o(r.clientWidth,n.clientWidth)-l),i={width:l,height:s,x:u,y:c}}else if(H(t)){let e,r,o,l,s,u;r=(e=eo(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=en(t),s=t.clientWidth*l.x,u=t.clientHeight*l.y,i={width:s,height:u,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 C(i)}function ec(e){return"static"===X(e).position}function ef(e,t){if(!_(e)||"fixed"===X(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ea(e,t){var n;let r=k(e);if(U(e))return r;if(!_(e)){let t=J(e);for(;t&&!q(t);){if(H(t)&&!ec(t))return t;t=J(t)}return r}let i=ef(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(M(n)))&&ec(i);)i=ef(i,t);return i&&q(i)&&ec(i)&&!G(i)?r:i||function(e){let t=J(e);for(;_(t)&&!q(t);){if(G(t))return t;if(U(t))break;t=J(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ea,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=_(t),i=j(t),o="fixed"===n,l=eo(e,!0,o,t),s={scrollLeft:0,scrollTop:0},c=u(0);if((r||!o)&&(("body"!==M(t)||$(i))&&(s=Y(t)),r)){let e=eo(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=el(i));let f=!i||r||o?u(0):es(i,s);return{x:l.left+s.scrollLeft-c.x-f.x,y:l.top+s.scrollTop-c.y-f.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}}},em={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=j(r),s=!!t&&U(t.floating);if(r===l||s&&o)return n;let c={scrollLeft:0,scrollTop:0},f=u(1),a=u(0),d=_(r);
2if((d||!o)&&(("body"!==M(r)||$(l))&&(c=Y(r)),d)){let e=eo(r);f=en(r),a.x=e.x+r.clientLeft,a.y=e.y+r.clientTop}let m=!l||d||o?u(0):es(l,c);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+a.x+m.x,y:n.y*f.y-c.scrollTop*f.y+a.y+m.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,s=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Q(e,[],!1).filter(e=>H(e)&&"body"!==M(e)),i=null,o="fixed"===X(e).position,l=o?J(e):e;for(;H(l)&&!q(l);){let e=X(l),t=G(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=J(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=eu(t,s[0],l),c=u.top,f=u.right,a=u.bottom,d=u.left;for(let e=1;e<s.length;e++){let n=eu(t,s[e],l);c=o(n.top,c),f=i(n.right,f),a=i(n.bottom,a),d=o(n.left,d)}return{width:f-d,height:a-c,x:d,y:c}},getOffsetParent:ea,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:H,isRTL:function(e){return"rtl"===X(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:s,platform:u,elements:c,middlewareData:a}=t,{element:g,padding:v=0}=f(e,t)||{};if(null==g)return{};let y=E(v),w={x:n,y:r},x=m(p(l)),b=h(x),R=await u.getDimensions(g),C="y"===x,S=C?"clientHeight":"clientWidth",O=s.reference[b]+s.reference[x]-w[x]-s.floating[b],A=w[x]-s.reference[x],P=await (null==u.getOffsetParent?void 0:u.getOffsetParent(g)),T=P?P[S]:0;T&&await (null==u.isElement?void 0:u.isElement(P))||(T=c.floating[S]||s.floating[b]);let L=T/2-R[b]/2-1,I=i(y[C?"top":"left"],L),N=i(y[C?"bottom":"right"],L),D=T-R[b]-N,M=T/2-R[b]/2+(O/2-A/2),k=o(I,i(M,D)),j=!a.arrow&&null!=d(l)&&M!==k&&s.reference[b]/2-(M<I?I:N)-R[b]/2<0,F=j?M<I?M-I:M-D:0;return{[x]:w[x]+F,data:{[x]:k,centerOffset:M-k-F,...j&&{alignmentOffset:F}},reset:j}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,o,l;let{rects:s,middlewareData:u,placement:c,platform:m,elements:h}=t,{crossAxis:p=!1,alignment:y,allowedPlacements:w=r,autoAlignment:x=!0,...b}=f(e,t),R=void 0!==y||w===r?((l=y||null)?[...w.filter(e=>d(e)===l),...w.filter(e=>d(e)!==l)]:w.filter(e=>a(e)===e)).filter(e=>!l||d(e)===l||!!x&&v(e)!==e):w,E=(null==(n=u.autoPlacement)?void 0:n.index)||0,C=R[E];if(null==C)return{};if(c!==C)return{reset:{placement:R[0]}};let S=await m.detectOverflow(t,b),O=g(C,s,await (null==m.isRTL?void 0:m.isRTL(h.floating))),A=[S[a(C)],S[O[0]],S[O[1]]],P=[...(null==(i=u.autoPlacement)?void 0:i.overflows)||[],{placement:C,overflows:A}],T=R[E+1];if(T)return{data:{index:E+1,overflows:P},reset:{placement:T}};let L=P.map(e=>{let t=d(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),I=(null==(o=L.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||L[0][0];return I!==c?{data:{index:E+1,overflows:P},reset:{placement:I}}:{}}}},"autoUpdate",0,function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,m=et(e),h=u||c?[...m?Q(m):[],...t?Q(t):[]]:[];h.forEach(e=>{u&&e.addEventListener("scroll",n),c&&e.addEventListener("resize",n)});let p=m&&a?function(e,t,n){let r,l=null,u=j(e);function c(){var e;clearTimeout(r),null==(e=l)||e.disconnect(),l=null}function f(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),c();let d=e.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(n||t(),!p||!g)return;let v={rootMargin:-s(h)+"px "+-s(u.clientWidth-(m+p))+"px "+-s(u.clientHeight-(h+g))+"px "+-s(m)+"px",threshold:o(0,i(1,a))||1},y=!0;function w(t){let n=t[0].intersectionRatio;if(!eh(d,e.getBoundingClientRect()))return f();if(n!==a){if(!y)return f();n?f(!1,n):r=setTimeout(()=>{f(!1,1e-7)},1e3)}y=!1}try{l=new IntersectionObserver(w,{...v,root:u.ownerDocument})}catch(e){l=new IntersectionObserver(w,v)}l.observe(e)}let a=k(e),d=()=>f(n);return a.addEventListener("resize",d),f(!0),()=>{a.removeEventListener("resize",d),c()}}(m,n,c):null,g=-1,v=null;f&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&v&&t&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),m&&!d&&v.observe(m),t&&v.observe(t));let y=d?eo(e):null;return d&&function t(){let r=eo(e);y&&!eh(y,r)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;
2h.forEach(e=>{u&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(l)}},"computePosition",0,(e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...em,...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 s,u,c,{placement:m,middlewareData:h,rects:E,initialPlacement:C,platform:S,elements:O}=t,{mainAxis:A=!0,crossAxis:P=!0,fallbackPlacements:T,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:N=!0,...D}=f(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let M=a(m),k=p(C),j=a(C)===C,F=await (null==S.isRTL?void 0:S.isRTL(O.floating)),H=T||(j||!N?[R(C)]:(s=R(C),[v(C),s,v(s)])),_="none"!==I;!T&&_&&H.push(...(u=d(C),c=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?w:y;return t?y:w;case"left":case"right":return t?x:b;default:return[]}}(a(C),"start"===I,F),u&&(c=c.map(e=>e+"-"+u),N&&(c=c.concat(c.map(v)))),c));let z=[C,...H],$=await S.detectOverflow(t,D),U=[],W=(null==(r=h.flip)?void 0:r.overflows)||[];if(A&&U.push($[M]),P){let e=g(m,E,F);U.push($[e[0]],$[e[1]])}if(W=[...W,{placement:m,overflows:U}],!U.every(e=>e<=0)){let e=((null==(i=h.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==P||k===p(t)||W.every(e=>p(e.placement)!==k||e.overflows[0]>0)))return{data:{index:e,overflows:W},reset:{placement:t}};let n=null==(o=W.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(l=W.filter(e=>{if(_){let t=p(e.placement);return t===k||"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=C}if(m!==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}=f(e,t);switch(i){case"referenceHidden":{let e=P(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=P(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(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:s,strategy:u}=t,{padding:c=2,x:d,y:m}=f(e,t),h=Array.from(await (null==s.getClientRects?void 0:s.getClientRects(r.reference))||[]);if(!h.length)return{};let 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=>C(L(e)))}(h),v=C(L(h)),y=E(c),w=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=d&&null!=m)return g.find(e=>d>e.left-y.left&&d<e.right+y.right&&m>e.top-y.top&&m<e.bottom+y.bottom)||v;if(g.length>=2){if("y"===p(n)){let e=g[0],t=g[g.length-1],r="top"===a(n),i=e.top,o=t.bottom,l=r?e.left:t.left;return C({x:l,y:i,width:(r?e.right:t.right)-l,height:o-i})}let e="left"===a(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),s=l[0].top;return C({x:r,y:s,width:t-r,height:l[l.length-1].bottom-s})}return v}},floating:r.floating,strategy:u});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){var n,r,i,o;let{x:l,y:s,placement:u,rects:c,middlewareData:d}=t,{offset:h=0,mainAxis:g=!0,crossAxis:v=!0}=f(e,t),y={x:l,y:s},w=p(u),x=m(w),b=y[x],R=y[w],E=f(h,t),C="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:null!=(n=E.mainAxis)?n:0,crossAxis:null!=(r=E.crossAxis)?r:0};if(g){let e="y"===x?"height":"width",t=c.reference[x]-c.floating[e]+C.mainAxis,n=c.reference[x]+c.reference[e]-C.mainAxis;b<t?b=t:b>n&&(b=n)}if(v){let e="y"===x?"width":"height",t=I.has(a(u)),n=c.reference[w]-c.floating[e]+(t&&(null==(i=d.offset)?void 0:i[w])||0)+(t?0:C.crossAxis),r=c.reference[w]+c.reference[e]+(t?0:(null==(o=d.offset)?void 0:o[w])||0)-(t?C.crossAxis:0);R<n?R=n:R>r&&(R=r)}return{[x]:b,[w]:R}}}},"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:s}=t,u=await N(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,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:s}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=f(e,t),h={x:n,y:r},g=await s.detectOverflow(t,d),v=p(l),y=m(v),w=h[y],x=h[v],b=(e,t)=>o(t+g["y"===e?"top":"left"],i(t,t-g["y"===e?"bottom":"right"]));u&&(w=b(y,w)),c&&(x=b(v,x));let R=a.fn({...t,[y]:w,[v]:x});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[y]:u,[v]:c}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:l,rects:s,platform:u,elements:c}=t,{apply:m=()=>{},...h}=f(e,t),g=await u.detectOverflow(t,h),v=a(l),y=d(l),w="y"===p(l),{width:x,height:b}=s.floating;"top"===v||"bottom"===v?(n=v,r=y===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(r=v,n="end"===y?"top":"bottom");let R=b-g.top-g.bottom,E=x-g.left-g.right,C=i(b-g[n],R),S=i(x-g[r],E),O=t.middlewareData.shift,A=!O,P=C,T=S;null!=O&&O.enabled.x&&(T=E),null!=O&&O.enabled.y&&(P=R),A&&!y&&(w?T=x-2*o(g.left,g.right):P=b-2*o(g.top,g.bottom)),await m({...t,availableWidth:T,availableHeight:P});let L=await u.getDimensions(c.floating);return x!==L.width||b!==L.height?{reset:{rects:!0}}:{}}}}],953760)},981140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function i(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function o(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function l(e){return"IFRAME"===e.tagName}n(i,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(o,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=o(t);if(!r?.nodeName)return null;if(l(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=o(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(l,"isFrame"),e.s(["composeEventHandlers",0,i])},705844,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},75830,e=>{"use strict";var t=e.i(271645),n=e.i(30030),r=e.i(820783),i=e.i(991918),o=e.i(843476),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0});function u(e){let l=e+"CollectionProvider",[u,c]=(0,n.createContextScope)(l),[f,a]=u(l,{collectionRef:{current:null},itemMap:new Map}),d=s(e=>{let{scope:n,children:r}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,o.jsx)(f,{scope:n,itemMap:l,collectionRef:i,children:r})},"CollectionProvider");d.displayName=l;let m=e+"CollectionSlot",h=(0,i.createSlot)(m),p=t.forwardRef((e,t)=>
2{let{scope:n,children:i}=e,l=a(m,n),s=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:s,children:i})});p.displayName=m;let g=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,i.createSlot)(g),w=t.forwardRef((e,n)=>{let{scope:i,children:l,...s}=e,u=t.useRef(null),c=(0,r.useComposedRefs)(n,u),f=a(g,i);return t.useEffect(()=>(f.itemMap.set(u,{ref:u,...s}),()=>void f.itemMap.delete(u))),(0,o.jsx)(y,{...{[v]:""},ref:c,children:l})});function x(n){let r=a(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return w.displayName=g,s(x,"useCollection"),[{Provider:d,Slot:p,ItemSlot:w},x,c]}s(u,"createCollection");var c=new WeakMap,f=class e extends Map{static{s(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=m(e),s=l>=0?l:o+l,u=s<0||s>=o?-1:s;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,n),this;let c=this.size+ +!i;l<0&&s++;let f=[...this.#e],a=!1;for(let e=s;e<c;e++)if(s===e){let o=f[e];f[e]===t&&(o=f[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{a||f[e-1]!==t||(a=!0);let n=f[a?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=a(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=a(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return a(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function a(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=d(e,t);return -1===n?void 0:e[n]}function d(e,t){let n=e.length,r=m(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}function m(e){return e!=e||0===e?0:Math.trunc(e)}function h(e,t){if(e===t)return!0;
2if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function p(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function g(e,t){return e[1].element&&t[1].element?p(e[1].element,t[1].element)?-1:1:0}function v(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}s(a,"at"),s(d,"toSafeIndex"),s(m,"toSafeInteger"),s(function(e){let l=e+"CollectionProvider",[u,c]=(0,n.createContextScope)(l),[a,d]=u(l,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new f,setItemMap:s(()=>void 0,"setItemMap")}),m=s(({state:e,...t})=>e?(0,o.jsx)(y,{...t,state:e}):(0,o.jsx)(p,{...t}),"CollectionProvider");m.displayName=l;let p=s(e=>{let t=S();return(0,o.jsx)(y,{...e,state:t})},"CollectionInit");p.displayName=l+"Init";let y=s(e=>{let{scope:n,children:i,state:l}=e,s=t.useRef(null),[u,c]=t.useState(null),f=(0,r.useComposedRefs)(s,c),[d,m]=l;return t.useEffect(()=>{if(!u)return;let e=v(()=>{});return e.observe(u,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[u]),(0,o.jsx)(a,{scope:n,itemMap:d,setItemMap:m,collectionRef:f,collectionRefObject:s,collectionElement:u,children:i})},"CollectionProviderImpl");y.displayName=l+"Impl";let w=e+"CollectionSlot",x=(0,i.createSlot)(w),b=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=d(w,n),s=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(x,{ref:s,children:i})});b.displayName=w;let R=e+"CollectionItemSlot",E=(0,i.createSlot)(R),C=t.forwardRef((e,n)=>{let{scope:i,children:l,...s}=e,u=t.useRef(null),[c,a]=t.useState(null),m=(0,r.useComposedRefs)(n,u,a),{setItemMap:p}=d(R,i),v=t.useRef(s);h(v.current,s)||(v.current=s);let y=v.current;return t.useEffect(()=>(p(e=>c?e.has(c)?e.set(c,{...y,element:c}).toSorted(g):(e.set(c,{...y,element:c}),e.toSorted(g)):e),()=>{p(e=>c&&e.has(c)?(e.delete(c),new f(e)):e)}),[c,y,p]),(0,o.jsx)(E,{"data-radix-collection-item":"",ref:m,children:l})});function S(){return t.useState(new f)}function O(t){let{itemMap:n}=d(e+"CollectionConsumer",t);return n}return C.displayName=R,s(S,"useInitCollection"),s(O,"useCollection"),[{Provider:m,Slot:b,ItemSlot:C},{createCollectionScope:c,useCollection:O,useInitCollection:S}]},"createCollection"),s(h,"shallowEqual"),s(p,"isElementPreceding"),s(g,"sortByDocumentPosition"),s(v,"getChildListObserver"),e.s(["createCollection",0,u])},30030,e=>{"use strict";var t=e.i(271645),n=e.i(843476),r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,r=[]){let s=[];function u(r,o){let l=t.createContext(o);l.displayName=r+"Context";let u=s.length;s=[...s,o];let c=i(r=>{let{scope:i,children:o,...s}=r,c=i?.[e]?.[u]||l,f=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(c.Provider,{value:f,children:o})},"Provider");function f(n,i,s={}){let{optional:c=!1}=s,a=i?.[e]?.[u]||l,d=t.useContext(a);if(d)return d;if(void 0!==o)return o;if(!c)throw Error(`\`${n}\` must be used within \`${r}\``)}return c.displayName=r+"Provider",i(f,"useContext"),[c,f]}i(u,"createContext");let c=i(()=>{let n=s.map(e=>t.createContext(e));return i(function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},"useScope")},"createScope");return c.scopeName=e,[u,l(c,...r)]}function l(...e){let n=e[0];if(1===e.length)return n;let r=i(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}i(function(e,r){let o=t.createContext(r);o.displayName=e+"Context";let l=i(e=>{let{children:r,...i}=e,l=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:l,children:r})},"Provider");function s(n,i={}){let{optional:l=!1}=i,u=t.useContext(o);if(u)return u;if(void 0!==r)return r;if(!l)throw Error(`\`${n}\` must be used within \`${e}\``)}return l.displayName=e+"Provider",i(s,"useContext"),[l,s]},"createContext"),i(o,"createContextScope"),i(l,"composeContextScopes"),e.s(["createContextScope",0,o])},586318,e=>{"use strict";var t=e.i(271645),n=(e.i(843476),Object.defineProperty),r=t.createContext(void 0);function i(e){let n=t.useContext(r);return e||n||"ltr"}n(i,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,i])},610772,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=Object.defineProperty,i=t[" useId ".trim().toString()]||(()=>void 0),o=0;function l(e){let[r,l]=t.useState(i());return(0,n.useLayoutEffect)(()=>{e||l(e=>e??String(o++))},[e]),e||(r?`radix-${r}`:"")}r(l,"name",{value:"useId",configurable:!0}),e.s(["useId",0,l])},296626,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,n){return t.useReducer((e,t)=>
2n[e][t]??e,e)}i(o,"useStateMachine");var l=i(e=>{let{present:n,children:r}=e,i=s(n),o="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),l=c(i.ref,a(o));return"function"==typeof r||i.isPresent?t.cloneElement(o,{ref:l}):null},"Presence");function s(e){let[r,l]=t.useState(),s=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),a=t.useRef(void 0),[d,m]=o(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(c.current=a.current??f(s.current),a.current=void 0):c.current="none"},[d]),(0,n.useLayoutEffect)(()=>{let t=s.current,n=u.current;if(n!==e){let r=c.current,i=f(t);e?(a.current=i,m("MOUNT")):"none"===i||t?.display==="none"?m("UNMOUNT"):n&&r!==i?m("ANIMATION_OUT"):m("UNMOUNT"),u.current=e}},[e,m]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=i(n=>{let i=f(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(m("ANIMATION_END"),!u.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),o=i(e=>{e.target===r&&(c.current=f(s.current))},"handleAnimationStart");return r.addEventListener("animationstart",o),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,a.current=f(t)}else s.current=null;l(e)},[])}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,i=t.map(t=>{let n=u(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():u(t[e],null)}}},[])}function f(e){return e?.animationName||"none"}function a(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}i(s,"usePresence"),i(u,"setRef"),i(c,"useStableComposedRefs"),i(f,"getAnimationName"),i(a,"getElementRef"),e.s(["Presence",0,l])},248425,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(991918),i=e.i(843476),o=Object.defineProperty,l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let o=(0,r.createSlot)(`Primitive.${n}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(r?o:n,{...l,ref:t})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{});function s(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}o(s,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,s])},842727,e=>{"use strict";var t=e.i(271645),n=e.i(981140),r=e.i(75830),i=e.i(820783),o=e.i(30030),l=e.i(610772),s=e.i(248425),u=e.i(30207),c=e.i(369340),f=e.i(586318),a=e.i(934620),d=Object.defineProperty,m=(e,t)=>d(e,"name",{value:t,configurable:!0}),h=!1;function p(){let[e,n]=t.useState(h);return t.useEffect(()=>{h||(h=!0,n(!0))},[]),e}m(p,"useIsHydrated");var g=t[" useSyncExternalStore ".trim().toString()];function v(){return()=>{}}function y(){return g(v,()=>!0,()=>!1)}m(v,"subscribe"),m(y,"useIsHydratedModern");var w="function"==typeof g?y:p,x=e.i(843476),b=Object.defineProperty,R=(e,t)=>b(e,"name",{value:t,configurable:!0}),E="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},S="RovingFocusGroup",[O,A,P]=(0,r.createCollection)(S),[T,L]=(0,o.createContextScope)(S,[P]),[I,N]=T(S),D=t.forwardRef(R(function(e,t){return(0,x.jsx)(O.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,x.jsx)(O.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,x.jsx)(M,{...e,ref:t})})})},"RovingFocusGroup")),M=t.forwardRef(R(function(e,r){let{__scopeRovingFocusGroup:o,orientation:l,loop:a=!1,dir:d,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,w=t.useRef(null),b=(0,i.useComposedRefs)(r,w),R=(0,f.useDirection)(d),[O,P]=(0,c.useControllableState)({prop:m,defaultProp:h??null,onChange:p,caller:S}
2),[T,L]=t.useState(!1),N=(0,u.useCallbackRef)(g),D=A(o),M=t.useRef(!1),[k,j]=t.useState(0);return t.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(E,N),()=>e.removeEventListener(E,N)},[N]),(0,x.jsx)(I,{scope:o,orientation:l,dir:R,loop:a,currentTabStopId:O,onItemFocus:t.useCallback(e=>P(e),[P]),onItemShiftTab:t.useCallback(()=>L(!0),[]),onFocusableItemAdd:t.useCallback(()=>j(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>j(e=>e-1),[]),children:(0,x.jsx)(s.Primitive.div,{tabIndex:T||0===k?-1:0,"data-orientation":l,...y,ref:b,style:{outline:"none",...e.style},onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,n.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(E,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=D().filter(e=>e.focusable);_([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),v)}}M.current=!1}),onBlur:(0,n.composeEventHandlers)(e.onBlur,()=>L(!1))})})},"RovingFocusGroupImpl")),k=t.forwardRef(R(function(e,r){let{__scopeRovingFocusGroup:i,focusable:o=!0,active:u=!1,tabStopId:c,children:f,...d}=e,m=(0,l.useId)(),h=c||m,p=N("RovingFocusGroupItem",i),g=p.currentTabStopId===h,v=A(i),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:R}=p,E=w();return(0,a.useLayoutEffect)(()=>{if(E&&o)return y(),()=>b()},[E,o,y,b]),t.useEffect(()=>{if(!E&&o)return y(),()=>b()},[E,o,y,b]),(0,x.jsx)(O.ItemSlot,{scope:i,id:h,focusable:o,active:u,children:(0,x.jsx)(s.Primitive.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...d,ref:r,onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,e=>{o?p.onItemFocus(h):e.preventDefault()}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:(0,n.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=H(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?z(n,r+1):n.slice(r+1)}setTimeout(()=>_(n))}}),children:"function"==typeof f?f({isCurrentTabStop:g,hasTabStop:null!=R}):f})})},"RovingFocusGroupItem")),j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function H(e,t,n){let r=F(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return j[r]}function _(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function z(e,t){return e.map((n,r)=>e[(t+r)%e.length])}R(F,"getDirectionAwareKey"),R(H,"getFocusIntent"),R(_,"focusFirst"),R(z,"wrapArray"),e.s(["Item",0,k,"Root",0,D,"createRovingFocusGroupScope",0,L],842727)},30207,e=>{"use strict";var t=e.i(271645);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}(0,Object.defineProperty)(n,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,n])},369340,e=>{"use strict";var t=e.i(271645),n=e.i(705844),r=e.i(934620),i=Object.defineProperty,o=t[" useEffectEvent ".trim().toString()],l=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof o)return o(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof l?l(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}i(s,"name",{value:"useEffectEvent",configurable:!0});var u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0}),f=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function a({prop:e,defaultProp:r,onChange:i=c(()=>{},"onChange"),caller:o}){let[l,s,u]=d({defaultProp:r,onChange:i}),f=void 0!==e,h=f?e:l;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==f){let t=f?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=f},[f,o])}return[h,t.useCallback(t=>{if(f){let n=m(t)?t(e):t;n!==e&&u.current?.(n)}else s(t)},[f,e,s,u])]}function d({defaultProp:e,onChange:n}){let[r,i]=t.useState(e),o=t.useRef(r),l=t.useRef(n);return f(()=>{l.current=n},[n]),t.useEffect(()=>{o.current!==r&&(l.current?.(r),o.current=r)},[r,o]),[r,i,l]}function m(e){return"function"==typeof e}c(a,"useControllableState"),c(d,"useUncontrolledState"),c(m,"isFunction");var h=Symbol("RADIX:SYNC_STATE");c(function(e,r,i,o){let{prop:l,defaultProp:u,onChange:c,caller:f}=r,a=void 0!==l,d=s(c);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==l);t.useEffect(()=>{let t=e.current;if(t!==a){let e=a?"controlled":"uncontrolled";console.warn(`${f} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=a},[a,f])}let m=[{...i,state:u}];o&&m.push(o);let[p,g]=t.useReducer((t,n)=>{if(n.type===h)return{...t,state:n.state};let r=e(t,n);return a&&!Object.is(r.state,t.state)&&d(r.state),r},...m),v=p.state,y=t.useRef(v);t.useEffect(()=>{y.current!==v&&(y.current=v,a||d(v))},[v,y,a]);let w=t.useMemo(()=>void 0!==l?{...p,state:l}:p,[p,l]);return t.useEffect(()=>{a&&!Object.is(l,p.state)&&g({type:h,state:l})},[l,p.state,a]),[w,g]},"useControllableStateReducer"),e.s(["useControllableState",0,a],369340)},934620,e=>{"use strict";var t=e.i(271645),n=globalThis?.document?t.useLayoutEffect:()=>{};
2e.s(["useLayoutEffect",0,n])},631171,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},664659,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDown",()=>t.default])}]);
3
4//# debugId=93b537c2-56f7-2250-f0a2-d29ffe9da6d1

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.