1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22353,e=>{"use strict";var t=e.i(91983);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():r(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return t.useCallback(n(...e),e)}])},47163,7284,e=>{"use strict";function t(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",0,t],7284);let r=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),n=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let a=r.validators;if(null===a)return;let l=0===t?e.join("-"):e.slice(t).join("-"),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(l))return t.classGroupId}},i=(e,t)=>{let n=r();for(let r in e)a(e[r],n,r,t);return n},a=(e,t,r,n)=>{let o=e.length;for(let i=0;i<o;i++)l(e[i],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?s(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},s=(e,t,r)=>{(""===e?t:u(t,e)).classGroupId=r},c=(e,t,r,n)=>{f(e)?a(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let o=Object.entries(e),i=o.length;for(let e=0;e<i;e++){let[i,l]=o[e];a(l,u(t,i),r,n)}},u=(e,t)=>{let n=e,o=t.split("-"),i=o.length;for(let e=0;e<i;e++){let t=o[e],i=n.nextPart.get(t);i||(i=r(),n.nextPart.set(t,i)),n=i}return n},f=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,p=[],m=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),h=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},x=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,y=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+\/\d+$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,N=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,C=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>w.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),A=e=>e.endsWith("%")&&S(e.slice(0,-1)),P=e=>k.test(e),O=()=>!0,T=e=>j.test(e)&&!E.test(e),L=()=>!1,D=e=>N.test(e),I=e=>C.test(e),z=e=>!F(e)&&!V(e),_=e=>J(e,er,L),F=e=>x.test(e),H=e=>J(e,en,T),W=e=>J(e,eo,S),B=e=>J(e,ee,L),$=e=>J(e,et,I),G=e=>J(e,ea,D),V=e=>y.test(e),K=e=>Q(e,en),U=e=>Q(e,ei),q=e=>Q(e,ee),X=e=>Q(e,er),Y=e=>Q(e,et),Z=e=>Q(e,ea,!0),J=(e,t,r)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},Q=(e,t,r=!1)=>{let n=y.exec(e);return!!n&&(n[1]?t(n[1]):r)},ee=e=>"position"===e||"percentage"===e,et=e=>"image"===e||"url"===e,er=e=>"length"===e||"size"===e||"bg-size"===e,en=e=>"length"===e,eo=e=>"number"===e,ei=e=>"family-name"===e,ea=e=>"shadow"===e,el=((e,...t)=>{let r,a,l,s,c=e=>{let t=a(e);if(t)return t;let n=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],l=e.trim().split(h),s="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{isExternal:c,modifiers:d,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:p}=r(t);if(c){s=t+(s.length>0?" "+s:s);continue}let m=!!p,h=n(m?f.substring(0,p):f);if(!h){if(!m||!(h=n(f))){s=t+(s.length>0?" "+s:s);continue}m=!1}let g=0===d.length?"":1===d.length?d[0]:i(d).join(":"),v=u?g+"!":g,b=v+h;if(a.indexOf(b)>-1)continue;a.push(b);let x=o(h,m);for(let e=0;e<x.length;++e){let t=x[e];a.push(v+t)}s=t+(s.length>0?" "+s:s)}return s})(e,r);return l(e,n),n};return s=d=>{var u;let f;return a=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),o=(o,i)=>{r[o]=i,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in r?r[e]=t:o(e,t)}}})((u=t.reduce((e,t)=>
1t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,o=0,i=0,a=e.length;for(let l=0;l<a;l++){let a=e[l];if(0===n&&0===o){if(":"===a){r.push(e.slice(i,l)),i=l+1;continue}if("/"===a){t=l;continue}}"["===a?n++:"]"===a?n--:"("===a?o++:")"===a&&o--}let l=0===r.length?e:e.slice(i),s=l,c=!1;return l.endsWith("!")?(s=l.slice(0,-1),c=!0):l.startsWith("!")&&(s=l.slice(1),c=!0),m(r,c,s,t&&t>i?t-i:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):m(p,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(u),sortModifiers:(f=new Map,u.orderSensitiveModifiers.forEach((e,t)=>{f.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let o=e[n],i="["===o[0],a=f.has(o);i||a?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(o)):r.push(o)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return i(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,o;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(o=t.slice(0,n))?"arbitrary.."+o:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=a[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||n}return r[e]||n}}})(u)}).cache.get,l=r.cache.set,s=c,c(d)},(...e)=>s(((...e)=>{let t,r,n=0,o="";for(;n<e.length;)(t=e[n++])&&(r=g(t))&&(o&&(o+=" "),o+=r);return o})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),o=b("tracking"),i=b("leading"),a=b("breakpoint"),l=b("container"),s=b("spacing"),c=b("radius"),d=b("shadow"),u=b("inset-shadow"),f=b("text-shadow"),p=b("drop-shadow"),m=b("blur"),h=b("perspective"),g=b("aspect"),v=b("ease"),x=b("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),V,F],j=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],N=()=>[V,F,s],C=()=>[R,"full","auto",...N()],T=()=>[M,"none","subgrid",V,F],L=()=>["auto",{span:["full",M,V,F]},M,V,F],D=()=>[M,"auto",V,F],I=()=>["auto","min","max","fr",V,F],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...N()],et=()=>[R,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],er=()=>[e,V,F],en=()=>[...w(),q,B,{position:[V,F]}],eo=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ei=()=>["auto","cover","contain",X,_,{size:[V,F]}],ea=()=>[A,K,H],el=()=>["","none","full",c,V,F],es=()=>["",S,K,H],ec=()=>["solid","dashed","dotted","double"],ed=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eu=()=>[S,A,q,B],ef=()=>["","none",m,V,F],ep=()=>["none",S,V,F],em=()=>["none",S,V,F],eh=()=>[S,V,F],eg=()=>[R,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[P],breakpoint:[P],color:[O],container:[P],"drop-shadow":[P],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[P],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[P],shadow:[P],spacing:["px",S],text:[P],"text-shadow":[P],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",R,F,V,g]}],container:["container"],columns:[{columns:[S,F,V,l]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}
vendor: 4,328 bytes, line 1
1],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",V,F]}],basis:[{basis:[R,"full","auto",l,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,R,"auto","initial","none",F]}],grow:[{grow:["",S,V,F]}],shrink:[{shrink:["",S,V,F]}],order:[{order:[M,"first","last","none",V,F]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:et()}],w:[{w:[l,"screen",...et()]}],"min-w":[{"min-w":[l,"screen","none",...et()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...et()]}],h:[{h:["screen","lh",...et()]}],"min-h":[{"min-h":["screen","lh","none",...et()]}],"max-h":[{"max-h":["screen","lh",...et()]}],"font-size":[{text:["base",r,K,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,V,W]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",A,F]}],"font-family":[{font:[U,F,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,V,F]}],"line-clamp":[{"line-clamp":[S,"none",V,W]}],leading:[{leading:[i,...N()]}],"list-image":[{"list-image":["none",V,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",V,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:er()}],"text-color":[{text:er()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ec(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",V,H]}],"text-decoration-color":[{decoration:er()}],"underline-offset":[{"underline-offset":[S,"auto",V,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:en()}],"bg-repeat":[{bg:eo()}],"bg-size":[{bg:ei()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,V,F],radial:["",V,F],conic:[M,V,F]},Y,$]}],"bg-color":[{bg:er()}],"gradient-from-pos":[{from:ea()}
1],"gradient-via-pos":[{via:ea()}],"gradient-to-pos":[{to:ea()}],"gradient-from":[{from:er()}],"gradient-via":[{via:er()}],"gradient-to":[{to:er()}],rounded:[{rounded:el()}],"rounded-s":[{"rounded-s":el()}],"rounded-e":[{"rounded-e":el()}],"rounded-t":[{"rounded-t":el()}],"rounded-r":[{"rounded-r":el()}],"rounded-b":[{"rounded-b":el()}],"rounded-l":[{"rounded-l":el()}],"rounded-ss":[{"rounded-ss":el()}],"rounded-se":[{"rounded-se":el()}],"rounded-ee":[{"rounded-ee":el()}],"rounded-es":[{"rounded-es":el()}],"rounded-tl":[{"rounded-tl":el()}],"rounded-tr":[{"rounded-tr":el()}],"rounded-br":[{"rounded-br":el()}],"rounded-bl":[{"rounded-bl":el()}],"border-w":[{border:es()}],"border-w-x":[{"border-x":es()}],"border-w-y":[{"border-y":es()}],"border-w-s":[{"border-s":es()}],"border-w-e":[{"border-e":es()}],"border-w-t":[{"border-t":es()}],"border-w-r":[{"border-r":es()}],"border-w-b":[{"border-b":es()}],"border-w-l":[{"border-l":es()}],"divide-x":[{"divide-x":es()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":es()}
vendor: 6,168 bytes, line 1
1],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ec(),"hidden","none"]}],"divide-style":[{divide:[...ec(),"hidden","none"]}],"border-color":[{border:er()}],"border-color-x":[{"border-x":er()}],"border-color-y":[{"border-y":er()}],"border-color-s":[{"border-s":er()}],"border-color-e":[{"border-e":er()}],"border-color-t":[{"border-t":er()}],"border-color-r":[{"border-r":er()}],"border-color-b":[{"border-b":er()}],"border-color-l":[{"border-l":er()}],"divide-color":[{divide:er()}],"outline-style":[{outline:[...ec(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,V,F]}],"outline-w":[{outline:["",S,K,H]}],"outline-color":[{outline:er()}],shadow:[{shadow:["","none",d,Z,G]}],"shadow-color":[{shadow:er()}],"inset-shadow":[{"inset-shadow":["none",u,Z,G]}],"inset-shadow-color":[{"inset-shadow":er()}],"ring-w":[{ring:es()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:er()}],"ring-offset-w":[{"ring-offset":[S,H]}],"ring-offset-color":[{"ring-offset":er()}],"inset-ring-w":[{"inset-ring":es()}],"inset-ring-color":[{"inset-ring":er()}],"text-shadow":[{"text-shadow":["none",f,Z,G]}],"text-shadow-color":[{"text-shadow":er()}],opacity:[{opacity:[S,V,F]}],"mix-blend":[{"mix-blend":[...ed(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ed()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":eu()}],"mask-image-linear-to-pos":[{"mask-linear-to":eu()}],"mask-image-linear-from-color":[{"mask-linear-from":er()}],"mask-image-linear-to-color":[{"mask-linear-to":er()}],"mask-image-t-from-pos":[{"mask-t-from":eu()}],"mask-image-t-to-pos":[{"mask-t-to":eu()}],"mask-image-t-from-color":[{"mask-t-from":er()}],"mask-image-t-to-color":[{"mask-t-to":er()}],"mask-image-r-from-pos":[{"mask-r-from":eu()}],"mask-image-r-to-pos":[{"mask-r-to":eu()}],"mask-image-r-from-color":[{"mask-r-from":er()}],"mask-image-r-to-color":[{"mask-r-to":er()}],"mask-image-b-from-pos":[{"mask-b-from":eu()}],"mask-image-b-to-pos":[{"mask-b-to":eu()}],"mask-image-b-from-color":[{"mask-b-from":er()}],"mask-image-b-to-color":[{"mask-b-to":er()}],"mask-image-l-from-pos":[{"mask-l-from":eu()}],"mask-image-l-to-pos":[{"mask-l-to":eu()}],"mask-image-l-from-color":[{"mask-l-from":er()}],"mask-image-l-to-color":[{"mask-l-to":er()}],"mask-image-x-from-pos":[{"mask-x-from":eu()}],"mask-image-x-to-pos":[{"mask-x-to":eu()}],"mask-image-x-from-color":[{"mask-x-from":er()}],"mask-image-x-to-color":[{"mask-x-to":er()}],"mask-image-y-from-pos":[{"mask-y-from":eu()}],"mask-image-y-to-pos":[{"mask-y-to":eu()}],"mask-image-y-from-color":[{"mask-y-from":er()}],"mask-image-y-to-color":[{"mask-y-to":er()}],"mask-image-radial":[{"mask-radial":[V,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":eu()}],"mask-image-radial-to-pos":[{"mask-radial-to":eu()}],"mask-image-radial-from-color":[{"mask-radial-from":er()}],"mask-image-radial-to-color":[{"mask-radial-to":er()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":eu()}],"mask-image-conic-to-pos":[{"mask-conic-to":eu()}],"mask-image-conic-from-color":[{"mask-conic-from":er()}],"mask-image-conic-to-color":[{"mask-conic-to":er()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:en()}],"mask-repeat":[{mask:eo()}],"mask-size":[{mask:ei()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",V,F]}],filter:[{filter:["","none",V,F]}],blur:[{blur:ef()}],brightness:[{brightness:[S,V,F]}],contrast:[{contrast:[S,V,F]}],"drop-shadow":[{"drop-shadow":["","none",p,Z,G]}],"drop-shadow-color":[{"drop-shadow":er()}],grayscale:[{grayscale:["",S,V,F]}],"hue-rotate":[{"hue-rotate":[S,V,F]}],invert:[{invert:["",S,V,F]}],saturate:[{saturate:[S,V,F]}],sepia:[{sepia:["",S,V,F]}],"backdrop-filter":[{"backdrop-filter":["","none",V,F]}],"backdrop-blur":[{"backdrop-blur":ef()}],"backdrop-brightness":[{"backdrop-brightness":[S,V,F]}],"backdrop-contrast":[{"backdrop-contrast":[S,V,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,V,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,V,F]}],"backdrop-invert":[{"backdrop-invert":["",S,V,F]}],"backdrop-opacity":[{"backdrop-opacity":[S,V,F]}],"backdrop-saturate":[{"backdrop-saturate":[S,V,F]}],"backdrop-sepia":[{"backdrop-sepia":["",S,V,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",V,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",V,F]}],ease:[{ease:["linear","initial",v,V,F]}],delay:[{delay:[S,V,F]}],animate:[{animate:["none",x,V,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,V,F]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ep()}],"rotate-x":[{"rotate-x":ep()}],"rotate-y":[{"rotate-y":ep()}],"rotate-z":[{"rotate-z":ep()}],scale:[{scale:em()}],"scale-x":[{"scale-x":em()}],"scale-y":[{"scale-y":em()}],"scale-z":[{"scale-z":em()}],"scale-3d":["scale-3d"],skew:[{skew:eh()}],"skew-x":[{"skew-x":eh()}],"skew-y":[{"skew-y":eh()}],transform:[{transform:[V,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:eg()}],"translate-x":[{"translate-x":eg()}],"translate-y":[{"translate-y":eg()}],"translate-z":[{"translate-z":eg()}],"translate-none":["translate-none"],accent:[{accent:er()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:er()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V,F]}],fill:[{fill:["none",...er()]}],"stroke-w":[{stroke:[S,K,H,W]}],stroke:[{stroke:["none",...er()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["cn",0,function(...e){return el(t(e))}],47163)},67881,93739,e=>{"use strict";let t,r;var n=e.i(77117),o=e.i(91983),i=e.i(22353),a=Symbol.for("react.lazy"),l=o[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var t;let r,a=(t=e,(r=o.forwardRef((e,t)=>
1{let{children:r,...n}=e;if(s(r)&&"function"==typeof l&&(r=l(r._payload)),o.isValidElement(r)){var a;let e,l,s=(a=r,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(c.ref=t?(0,i.composeRefs)(t,s):s),o.cloneElement(r,c)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName=`${t}.SlotClone`,r),c=o.forwardRef((e,t)=>{let{children:r,...i}=e;s(r)&&"function"==typeof l&&(r=l(r._payload));let c=o.Children.toArray(r),d=c.find(f);if(d){let e=d.props.children,r=c.map(t=>t!==d?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,n.jsx)(a,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,n.jsx)(a,{...i,ref:t,children:r})});return c.displayName=`${e}.Slot`,c}var d=c("Slot"),u=Symbol("radix.slottable");function f(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}e.s(["Slot",0,d,"createSlot",0,c],93739);var p=e.i(7284);let m=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,h=p.clsx;var g=e.i(47163);let v=(t="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}},e=>{var n;if((null==r?void 0:r.variants)==null)return h(t,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:o,defaultVariants:i}=r,a=Object.keys(o).map(t=>{let r=null==e?void 0:e[t],n=null==i?void 0:i[t];if(null===r)return null;let a=m(r)||m(n);return o[t][a]}),l=e&&Object.entries(e).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return h(t,a,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...l}[t]):({...i,...l})[t]===r})?[...e,r,n]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)});e.s(["Button",0,function({className:e,variant:t,size:r,asChild:o=!1,...i}){return(0,n.jsx)(o?d:"button",{"data-slot":"button",className:(0,g.cn)(v({variant:t,size:r,className:e})),...i})}],67881)},92013,e=>{"use strict";let t=(0,e.i(31763).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],92013)},44930,e=>{"use strict";let t=(0,e.i(31763).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],44930)},16911,e=>{"use strict";let t=(0,e.i(31763).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},6789,e=>{"use strict";var t=e.i(16911);e.s(["Check",()=>t.default])},91967,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},9413,e=>{"use strict";var t=e.i(91983),r=e.i(77117);e.s(["createContextScope",0,function(e,n=[]){let o=[],i=()=>{let r=o.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(n,i){let a=t.createContext(i),l=o.length;o=[...o,i];let s=n=>{let{scope:o,children:i,...s}=n,c=o?.[e]?.[l]||a,d=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(c.Provider,{value:d,children:i})};return s.displayName=n+"Provider",[s,function(r,o){let s=o?.[e]?.[l]||a,c=t.useContext(s);if(c)return c;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>
1{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(i,...n)]}])},36567,18731,e=>{"use strict";var t=e.i(91983),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],18731),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:o=()=>{},caller:i}){let[a,l,s]=function({defaultProp:e,onChange:r}){let[o,i]=t.useState(e),a=t.useRef(o),l=t.useRef(r);return n(()=>{l.current=r},[r]),t.useEffect(()=>{a.current!==o&&(l.current?.(o),a.current=o)},[o,a]),[o,i,l]}({defaultProp:r,onChange:o}),c=void 0!==e,d=c?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} 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.`)}r.current=c},[c,i])}return[d,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else l(t)},[c,e,l,s])]}],36567)},60310,e=>{"use strict";var t=e.i(91983),r=e.i(22353),n=e.i(77117),o=Symbol("radix.slottable");function i(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["createSlot",0,function(e){var o;let a,l=(o=e,(a=t.forwardRef((e,n)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,l,s=(a=o,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(c.ref=n?(0,r.composeRefs)(n,s):s),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,a),s=t.forwardRef((e,r)=>{let{children:o,...a}=e,s=t.Children.toArray(o),c=s.find(i);if(c){let e=c.props.children,o=s.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(l,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,n.jsx)(l,{...a,ref:r,children:o})});return s.displayName=`${e}.Slot`,s}])},85565,e=>{"use strict";var t=e.i(91983),r=e.i(85144),n=e.i(60310),o=e.i(77117),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let i=(0,n.createSlot)(`Primitive.${r}`),a=t.forwardRef((e,t)=>{let{asChild:n,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?i:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},87099,e=>{"use strict";var t=e.i(91983),r=e.i(9413),n=e.i(22353),o=e.i(60310),i=e.i(77117),a=new WeakMap;function l(e,t){var r,n;let o,i,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,o=r.length,(a=(i=s(n))>=0?i:o+i)<0||a>=o?-1:a);return -1===l?void 0:e[l]}function s(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,a=s(e),l=a>=0?a:i+a,c=l<0||l>=i?-1:l;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;a<0&&l++;let u=[...this.#e],f=!1;for(let e=l;e<d;e++)if(l===e){let i=u[e];u[e]===t&&(i=u[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}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,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}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=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let a=e+"CollectionProvider",[l,s]=(0,r.createContextScope)(a),[c,d]=l(a,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:n}=e,o=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,i.jsx)(c,{scope:r,itemMap:a,collectionRef:o,children:n})};u.displayName=a;let f=e+"CollectionSlot",p=(0,o.createSlot)(f),m=t.default.forwardRef((e,t)=>
1{let{scope:r,children:o}=e,a=d(f,r),l=(0,n.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(p,{ref:l,children:o})});m.displayName=f;let h=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,o.createSlot)(h),b=t.default.forwardRef((e,r)=>{let{scope:o,children:a,...l}=e,s=t.default.useRef(null),c=(0,n.useComposedRefs)(r,s),u=d(h,o);return t.default.useEffect(()=>(u.itemMap.set(s,{ref:s,...l}),()=>void u.itemMap.delete(s))),(0,i.jsx)(v,{...{[g]:""},ref:c,children:a})});return b.displayName=h,[{Provider:u,Slot:m,ItemSlot:b},function(r){let n=d(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},s]}])},75649,e=>{"use strict";var t=e.i(91983);e.i(77117);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},11207,e=>{"use strict";var t=e.i(91983),r=e.i(18731),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},90816,e=>{"use strict";var t=e.i(91983),r=e.i(22353),n=e.i(18731),o=e=>{var o;let a,l,{present:s,children:c}=e,d=function(e){var r,o;let[a,l]=t.useState(),s=t.useRef(null),c=t.useRef(e),d=t.useRef("none"),[u,f]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=i(s.current);d.current="mounted"===u?e:"none"},[u]),(0,n.useLayoutEffect)(()=>{let t=s.current,r=c.current;if(r!==e){let n=d.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(s.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(d.current=i(s.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),u="function"==typeof c?c({present:d.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(d.ref,(o=u,(l=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(l=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof c||d.isPresent?t.cloneElement(u,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",0,o])},63415,e=>{"use strict";let t;var r,n,o,i,a,l,s,c,d=e.i(77117),u=e.i(91983),f=e.i(91967),p=e.i(22353),m=e.i(9413),h=e.i(36567),g=e.i(85565),v=e.i(87099),b=e.i(75649);function x(e){let t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...e)=>t.current?.(...e),[])}var y="dismissableLayer.update",w=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=u.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...c}=e,m=u.useContext(w),[h,v]=u.useState(null),b=h?.ownerDocument??globalThis?.document,[,k]=u.useState({}),N=(0,p.useComposedRefs)(t,e=>v(e)),C=Array.from(m.layers),[R]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),S=C.indexOf(R),M=h?C.indexOf(h):-1,A=m.layersWithOutsidePointerEventsDisabled.size>0,P=M>=S,O=function(e,t=globalThis?.document){let r=x(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>
1{if(e.target&&!n.current){let n=function(){E("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);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...m.branches].some(e=>e.contains(t));P&&!r&&(o?.(e),a?.(e),e.defaultPrevented||l?.())},b),T=function(e,t=globalThis?.document){let r=x(e),n=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!n.current&&E("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...m.branches].some(e=>e.contains(t))&&(i?.(e),a?.(e),e.defaultPrevented||l?.())},b);return!function(e,t=globalThis?.document){let r=x(e);u.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=>{M===m.layers.size-1&&(n?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},b),u.useEffect(()=>{if(h)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(s=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(h)),m.layers.add(h),j(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(b.body.style.pointerEvents=s)}},[h,b,r,m]),u.useEffect(()=>()=>{h&&(m.layers.delete(h),m.layersWithOutsidePointerEventsDisabled.delete(h),j())},[h,m]),u.useEffect(()=>{let e=()=>k({});return document.addEventListener(y,e),()=>document.removeEventListener(y,e)},[]),(0,d.jsx)(g.Primitive.div,{...c,ref:N,style:{pointerEvents:A?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,f.composeEventHandlers)(e.onFocusCapture,T.onFocusCapture),onBlurCapture:(0,f.composeEventHandlers)(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:(0,f.composeEventHandlers)(e.onPointerDownCapture,O.onPointerDownCapture)})});function j(){let e=new CustomEvent(y);document.dispatchEvent(e)}function E(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,g.dispatchDiscreteCustomEvent)(o,i):o.dispatchEvent(i)}k.displayName="DismissableLayer",u.forwardRef((e,t)=>{let r=u.useContext(w),n=u.useRef(null),o=(0,p.useComposedRefs)(t,n);return u.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,d.jsx)(g.Primitive.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var N=0;function C(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var R="focusScope.autoFocusOnMount",S="focusScope.autoFocusOnUnmount",M={bubbles:!1,cancelable:!0},A=u.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=u.useState(null),c=x(o),f=x(i),m=u.useRef(null),h=(0,p.useComposedRefs)(t,e=>s(e)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let e=function(e){if(v.paused||!l)return;let t=e.target;l.contains(t)?m.current=t:T(m.current,{select:!0})},t=function(e){if(v.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||T(m.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&T(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,v.paused]),u.useEffect(()=>{if(l){L.add(v);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(R,M);l.addEventListener(R,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(T(n,{select:t}),document.activeElement!==r)return}(P(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(l))}return()=>{l.removeEventListener(R,c),setTimeout(()=>{let t=new CustomEvent(S,M);l.addEventListener(S,f),l.dispatchEvent(t),t.defaultPrevented||T(e??document.body,{select:!0}),l.removeEventListener(S,f),L.remove(v)},0)}}},[l,c,f,v]);let b=u.useCallback(e=>{if(!r&&!n||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,n=e.currentTarget,[a,l]=[O(t=P(i=n),i),O(t.reverse(),i)];a&&l?e.shiftKey||o!==l?e.shiftKey&&o===a&&(e.preventDefault(),r&&T(l,{select:!0})):(e.preventDefault(),r&&T(a,{select:!0})):o===n&&e.preventDefault()}},[r,n,v.paused]);return(0,d.jsx)(g.Primitive.div,{tabIndex:-1,...a,ref:h,onKeyDown:b})});function P(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function O(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function T(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}
1A.displayName="FocusScope";var L=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=D(t,e)).unshift(e)},remove(e){t=D(t,e),t[0]?.resume()}});function D(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var I=e.i(11207);let z=["top","right","bottom","left"],_=Math.min,F=Math.max,H=Math.round,W=Math.floor,B=e=>({x:e,y:e}),$={left:"right",right:"left",bottom:"top",top:"bottom"},G={start:"end",end:"start"};function V(e,t){return"function"==typeof e?e(t):e}function K(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function q(e){return"x"===e?"y":"x"}function X(e){return"y"===e?"height":"width"}let Y=new Set(["top","bottom"]);function Z(e){return Y.has(K(e))?"y":"x"}function J(e){return e.replace(/start|end/g,e=>G[e])}let Q=["left","right"],ee=["right","left"],et=["top","bottom"],er=["bottom","top"];function en(e){return e.replace(/left|right|bottom|top/g,e=>$[e])}function eo(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ei(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function ea(e,t,r){let n,{reference:o,floating:i}=e,a=Z(t),l=q(Z(t)),s=X(l),c=K(t),d="y"===a,u=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(c){case"top":n={x:u,y:o.y-i.height};break;case"bottom":n={x:u,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-i.width,y:f};break;default:n={x:o.x,y:o.y}}switch(U(t)){case"start":n[l]-=p*(r&&d?-1:1);break;case"end":n[l]+=p*(r&&d?-1:1)}return n}async function el(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=V(t,e),m=eo(p),h=l[f?"floating"===u?"reference":"floating":u],g=ei(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(h)))||r?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:s})),v="floating"===u?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},y=ei(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(g.top-y.top+m.top)/x.y,bottom:(y.bottom-g.bottom+m.bottom)/x.y,left:(g.left-y.left+m.left)/x.x,right:(y.right-g.right+m.right)/x.x}}let es=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=ea(c,n,s),f=n,p={},m=0;for(let r=0;r<l.length;r++){var h;let{name:i,fn:g}=l[r],{x:v,y:b,data:x,reset:y}=await g({x:d,y:u,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:{...a,detectOverflow:null!=(h=a.detectOverflow)?h:el},elements:{reference:e,floating:t}});d=null!=v?v:d,u=null!=b?b:u,p={...p,[i]:{...p[i],...x}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:u}=ea(c,f,s)),r=-1)}return{x:d,y:u,placement:f,strategy:o,middlewareData:p}};function ec(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ed(e){return z.some(t=>e[t]>=0)}let eu=new Set(["left","top"]);async function ef(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=K(r),l=U(r),s="y"===Z(r),c=eu.has(a)?-1:1,d=i&&s?-1:1,u=V(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),s?{x:p*d,y:f*c}:{x:f*c,y:p*d}}function ep(){return"u">typeof window}function em(e){return ev(e)?(e.nodeName||"").toLowerCase():"#document"}function eh(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eg(e){var t;return null==(t=(ev(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ev(e){return!!ep()&&(e instanceof Node||e instanceof eh(e).Node)}function eb(e){return!!ep()&&(e instanceof Element||e instanceof eh(e).Element)}function ex(e){return!!ep()&&(e instanceof HTMLElement||e instanceof eh(e).HTMLElement)}function ey(e){return!(!ep()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof eh(e).ShadowRoot)}let ew=new Set(["inline","contents"]);function ek(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=eT(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!ew.has(o)}let ej=new Set(["table","td","th"]),eE=[":popover-open",":modal"];function eN(e){return eE.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let eC=["transform","translate","scale","rotate","perspective"],eR=["transform","translate","scale","rotate","perspective","filter"],eS=["paint","layout","strict","content"];function eM(e){let t=eA(),r=eb(e)?eT(e):e;return eC.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||eR.some(e=>(r.willChange||"").includes(e))||eS.some(e=>(r.contain||"").includes(e))}function eA(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eP=new Set(["html","body","#document"]);function eO(e){return eP.has(em(e))}function eT(e){return eh(e).getComputedStyle(e)}function eL(e){return eb(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eD(e){if("html"===em(e))return e;let t=e.assignedSlot||e.parentNode||ey(e)&&e.host||eg(e);return ey(t)?t.host:t}function eI(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=eD(t);return eO(r)?t.ownerDocument?t.ownerDocument.body:t.body:ex(r)&&ek(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=eh(o);if(i){let e=ez(a);
1return t.concat(a,a.visualViewport||[],ek(o)?o:[],e&&r?eI(e):[])}return t.concat(o,eI(o,[],r))}function ez(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function e_(e){let t=eT(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=ex(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,l=H(r)!==i||H(n)!==a;return l&&(r=i,n=a),{width:r,height:n,$:l}}function eF(e){return eb(e)?e:e.contextElement}function eH(e){let t=eF(e);if(!ex(t))return B(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=e_(t),a=(i?H(r.width):r.width)/n,l=(i?H(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let eW=B(0);function eB(e){let t=eh(e);return eA()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eW}function e$(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=eF(e),l=B(1);t&&(n?eb(n)&&(l=eH(n)):l=eH(e));let s=(void 0===(o=r)&&(o=!1),n&&(!o||n===eh(a))&&o)?eB(a):B(0),c=(i.left+s.x)/l.x,d=(i.top+s.y)/l.y,u=i.width/l.x,f=i.height/l.y;if(a){let e=eh(a),t=n&&eb(n)?eh(n):n,r=e,o=ez(r);for(;o&&n&&t!==r;){let e=eH(o),t=o.getBoundingClientRect(),n=eT(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,d*=e.y,u*=e.x,f*=e.y,c+=i,d+=a,o=ez(r=eh(o))}}return ei({width:u,height:f,x:c,y:d})}function eG(e,t){let r=eL(e).scrollLeft;return t?t.left+r:e$(eg(e)).left+r}function eV(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-eG(e,r),y:r.top+t.scrollTop}}let eK=new Set(["absolute","fixed"]);function eU(e,t,r){var n;let o;if("viewport"===t)o=function(e,t){let r=eh(e),n=eg(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=eA();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let c=eG(n);if(c<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:l,y:s}}(e,r);else if("document"===t){let t,r,i,a,l,s,c;n=eg(e),t=eg(n),r=eL(n),i=n.ownerDocument.body,a=F(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=F(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+eG(n),c=-r.scrollTop,"rtl"===eT(i).direction&&(s+=F(t.clientWidth,i.clientWidth)-a),o={width:a,height:l,x:s,y:c}}else if(eb(t)){let e,n,i,a,l,s;n=(e=e$(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,a=ex(t)?eH(t):B(1),l=t.clientWidth*a.x,s=t.clientHeight*a.y,o={width:l,height:s,x:i*a.x,y:n*a.y}}else{let r=eB(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return ei(o)}function eq(e){return"static"===eT(e).position}function eX(e,t){if(!ex(e)||"fixed"===eT(e).position)return null;if(t)return t(e);let r=e.offsetParent;return eg(e)===r&&(r=r.ownerDocument.body),r}function eY(e,t){var r;let n=eh(e);if(eN(e))return n;if(!ex(e)){let t=eD(e);for(;t&&!eO(t);){if(eb(t)&&!eq(t))return t;t=eD(t)}return n}let o=eX(e,t);for(;o&&(r=o,ej.has(em(r)))&&eq(o);)o=eX(o,t);return o&&eO(o)&&eq(o)&&!eM(o)?n:o||function(e){let t=eD(e);for(;ex(t)&&!eO(t);){if(eM(t))return t;if(eN(t))break;t=eD(t)}return null}(e)||n}let eZ=async function(e){let t=this.getOffsetParent||eY,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=ex(t),o=eg(t),i="fixed"===r,a=e$(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=B(0);if(n||!n&&!i)if(("body"!==em(t)||ek(o))&&(l=eL(t)),n){let e=e$(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eG(o));i&&!n&&o&&(s.x=eG(o));let c=!o||n||i?B(0):eV(o,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eJ={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=eg(n),l=!!t&&eN(t.floating);if(n===a||l&&i)return r;let s={scrollLeft:0,scrollTop:0},c=B(1),d=B(0),u=ex(n);if((u||!u&&!i)&&(("body"!==em(n)||ek(a))&&(s=eL(n)),ex(n))){let e=e$(n);c=eH(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let f=!a||u||i?B(0):eV(a,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+d.x+f.x,y:r.y*c.y-s.scrollTop*c.y+d.y+f.y}},getDocumentElement:eg,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?eN(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=eI(e,[],!1).filter(e=>eb(e)&&"body"!==em(e)),o=null,i="fixed"===eT(e).position,a=i?eD(e):e;for(;eb(a)&&!eO(a);){let t=eT(a),r=eM(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&eK.has(o.position)||ek(a)&&!r&&function e(t,r){let n=eD(t);return!(n===r||!eb(n)||eO(n))&&("fixed"===eT(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=eD(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=i[0],l=i.reduce((e,r)=>{let n=eU(t,r,o);return e.top=F(n.top,e.top),e.right=_(n.right,e.right),e.bottom=_(n.bottom,e.bottom),e.left=F(n.left,e.left),e},eU(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eY,getElementRects:eZ,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=e_(e);return{width:t,height:r}},getScale:eH,isElement:eb,isRTL:function(e){return"rtl"===eT(e).direction}};function eQ(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let e0=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:d=0}=V(e,t)||{};if(null==c)return{};let u=eo(d),f={x:r,y:n},p=q(Z(o)),m=X(p),h=await a.getDimensions(c),g="y"===p,v=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[p]-f[p]-i.floating[m],x=f[p]-i.reference[p],y=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),w=y?y[v]:0;w&&await (null==a.isElement?void 0:a.isElement(y))||(w=l.floating[v]||i.floating[m]);let k=w/2-h[m]/2-1,j=_(u[g?"top":"left"],k),E=_(u[g?"bottom":"right"],k),N=w-h[m]-E,C=w/2-h[m]/2+(b/2-x/2),R=F(j,_(C,N)),S=!s.arrow&&null!=U(o)&&C!==R&&i.reference[m]/2-(C<j?j:E)-h[m]/2<0,M=S?C<j?C-j:C-N:0;return{[p]:f[p]+M,data:{[p]:R,centerOffset:C-R-M,...S&&{alignmentOffset:M}},reset:S}}});var e1=e.i(85144),e2="u">typeof document?u.useLayoutEffect:function(){};function e5(e,t){let r,n,o;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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!e5(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!e5(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function e3(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e4(e,t){let r=e3(e);return Math.round(t*r)/r}function e6(e){let t=u.useRef(e);return e2(()=>{t.current=e}),t}var e9=u.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,d.jsx)(g.Primitive.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e9.displayName="Arrow";var e8=e.i(18731),e7="Popper",[te,tt]=(0,m.createContextScope)(e7),[tr,tn]=te(e7),to=e=>{let{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return(0,d.jsx)(tr,{scope:t,anchor:n,onAnchorChange:o,children:r})};to.displayName=e7;var ti="PopperAnchor",ta=u.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,i=tn(ti,r),a=u.useRef(null),l=(0,p.useComposedRefs)(t,a),s=u.useRef(null);return u.useEffect(()=>{let e=s.current;s.current=n?.current||a.current,e!==s.current&&i.onAnchorChange(s.current)}),n?null:(0,d.jsx)(g.Primitive.div,{...o,ref:l})});ta.displayName=ti;var tl="PopperContent",[ts,tc]=te(tl),td=u.forwardRef((e,t)=>{var r,n,o,i,a,l,s,c,f,m,h,v,b,y,w,k,j,E,N,C,R;let{__scopePopper:S,side:M="bottom",sideOffset:A=0,align:P="center",alignOffset:O=0,arrowPadding:T=0,avoidCollisions:L=!0,collisionBoundary:D=[],collisionPadding:I=0,sticky:z="partial",hideWhenDetached:H=!1,updatePositionStrategy:B="optimized",onPlaced:$,...G}=e,Y=tn(tl,S),[eo,ei]=u.useState(null),ea=(0,p.useComposedRefs)(t,e=>ei(e)),[el,ep]=u.useState(null),em=function(e){let[t,r]=u.useState(void 0);return(0,e8.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(el),eh=em?.width??0,ev=em?.height??0,eb="number"==typeof I?I:{top:0,right:0,bottom:0,left:0,...I},ex=Array.isArray(D)?D:[D],ey=ex.length>0,ew={padding:eb,boundary:ex.filter(tm),altBoundary:ey},{refs:ek,floatingStyles:ej,placement:eE,isPositioned:eN,middlewareData:eC}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[d,f]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=u.useState(n);e5(p,n)||m(n);let[h,g]=u.useState(null),[v,b]=u.useState(null),x=u.useCallback(e=>{e!==j.current&&(j.current=e,g(e))},[]),y=u.useCallback(e=>{e!==E.current&&(E.current=e,b(e))},[]),w=i||h,k=a||v,j=u.useRef(null),E=u.useRef(null),N=u.useRef(d),C=null!=s,R=e6(s),S=e6(o),M=e6(c),A=u.useCallback(()=>{var e,n;let o,i,a;if(!j.current||!E.current)return;let l={placement:t,strategy:r,middleware:p};S.current&&(l.platform=S.current),(e=j.current,n=E.current,o=new Map,a={...(i={platform:eJ,...l}).platform,_c:o},es(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==M.current};P.current&&!e5(N.current,t)&&(N.current=t,e1.flushSync(()=>{f(t)}))})},[p,t,r,S,M]);e2(()=>{!1===c&&N.current.isPositioned&&(N.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let P=u.useRef(!1);e2(()=>(P.current=!0,()=>{P.current=!1}),[]),e2(()=>{if(w&&(j.current=w),k&&(E.current=k),w&&k){if(R.current)return R.current(w,k,A);A()}},[w,k,A,R,C]);let O=u.useMemo(()=>({reference:j,floating:E,setReference:x,setFloating:y}),[x,y]),T=u.useMemo(()=>({reference:w,floating:k}),[w,k]),L=u.useMemo(()=>{let e={position:r,left:0,top:0};if(!T.floating)return e;let t=e4(T.floating,d.x),n=e4(T.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...e3(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,T.floating,d.x,d.y]);return u.useMemo(()=>({...d,update:A,refs:O,elements:T,floatingStyles:L}),[d,A,O,T,L])}({strategy:"fixed",placement:M+("center"!==P?"-"+P:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,d=eF(e),u=i||a?[...d?eI(d):[],...eI(t)]:[];
1u.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let f=d&&s?function(e,t){let r,n=null,o=eg(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:d,top:u,width:f,height:p}=c;if(l||t(),!f||!p)return;let m={rootMargin:-W(u)+"px "+-W(o.clientWidth-(d+f))+"px "+-W(o.clientHeight-(u+p))+"px "+-W(d)+"px",threshold:F(0,_(1,s))||1},h=!0;function g(t){let n=t[0].intersectionRatio;if(n!==s){if(!h)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eQ(c,e.getBoundingClientRect())||a(),h=!1}try{n=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(g,m)}n.observe(e)}(!0),i}(d,r):null,p=-1,m=null;l&&(m=new ResizeObserver(e=>{let[n]=e;n&&n.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),r()}),d&&!c&&m.observe(d),m.observe(t));let h=c?e$(e):null;return c&&function t(){let n=e$(e);h&&!eQ(h,n)&&r(),h=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===B}),elements:{reference:Y.anchor},middleware:[{...{name:"offset",options:o=r={mainAxis:A+ev,alignmentAxis:O},async fn(e){var t,r;let{x:n,y:i,placement:a,middlewareData:l}=e,s=await ef(e,o);return a===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:n+s.x,y:i+s.y,data:{...s,placement:a}}}},options:[r,n]},L&&{...{name:"shift",options:f=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===z?{...(void 0===(l=i)&&(l={}),{options:l,fn(e){let{x:t,y:r,placement:n,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=V(l,e),d={x:t,y:r},u=Z(n),f=q(u),p=d[f],m=d[u],h=V(a,e),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,r=o.reference[f]+o.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var v,b;let e="y"===f?"width":"height",t=eu.has(K(n)),r=o.reference[u]-o.floating[e]+(t&&(null==(v=i.offset)?void 0:v[u])||0)+(t?0:g.crossAxis),a=o.reference[u]+o.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[u])||0)-(t?g.crossAxis:0);m<r?m=r:m>a&&(m=a)}return{[f]:p,[u]:m}}}),options:[i,a]}:void 0,...ew},async fn(e){let{x:t,y:r,placement:n,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=V(f,e),c={x:t,y:r},d=await o.detectOverflow(e,s),u=Z(K(n)),p=q(u),m=c[p],h=c[u];
1if(i){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=m+d[e],n=m-d[t];m=F(r,_(m,n))}if(a){let e="y"===u?"top":"left",t="y"===u?"bottom":"right",r=h+d[e],n=h-d[t];h=F(r,_(h,n))}let g=l.fn({...e,[p]:m,[u]:h});return{...g,data:{x:g.x-t,y:g.y-r,enabled:{[p]:i,[u]:a}}}}},options:[s,c]},L&&{...{name:"flip",options:v=m={...ew},async fn(e){var t,r,n,o,i,a,l,s;let c,d,u,{placement:f,middlewareData:p,rects:m,initialPlacement:h,platform:g,elements:b}=e,{mainAxis:x=!0,crossAxis:y=!0,fallbackPlacements:w,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:E=!0,...N}=V(v,e);if(null!=(t=p.arrow)&&t.alignmentOffset)return{};let C=K(f),R=Z(h),S=K(h)===h,M=await (null==g.isRTL?void 0:g.isRTL(b.floating)),A=w||(S||!E?[en(h)]:(c=en(h),[J(h),c,J(c)])),P="none"!==j;!w&&P&&A.push(...(d=U(h),u=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?ee:Q;return t?Q:ee;case"left":case"right":return t?et:er;default:return[]}}(K(h),"start"===j,M),d&&(u=u.map(e=>e+"-"+d),E&&(u=u.concat(u.map(J)))),u));let O=[h,...A],T=await g.detectOverflow(e,N),L=[],D=(null==(r=p.flip)?void 0:r.overflows)||[];if(x&&L.push(T[C]),y){let e,t,r,n,o=(a=f,l=m,void 0===(s=M)&&(s=!1),e=U(a),r=X(t=q(Z(a))),n="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=en(n)),[n,en(n)]);L.push(T[o[0]],T[o[1]])}if(D=[...D,{placement:f,overflows:L}],!L.every(e=>e<=0)){let e=((null==(n=p.flip)?void 0:n.index)||0)+1,t=O[e];if(t&&("alignment"!==y||R===Z(t)||D.every(e=>Z(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:D},reset:{placement:t}};let r=null==(o=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(k){case"bestFit":{let e=null==(i=D.filter(e=>{if(P){let t=Z(e.placement);return t===R||"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:i[0];e&&(r=e);break}case"initialPlacement":r=h}if(f!==r)return{reset:{placement:r}}}return{}}},options:[m,h]},{...{name:"size",options:w=b={...ew,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,r;let n,o,{placement:i,rects:a,platform:l,elements:s}=e,{apply:c=()=>{},...d}=V(w,e),u=await l.detectOverflow(e,d),f=K(i),p=U(i),m="y"===Z(i),{width:h,height:g}=a.floating;"top"===f||"bottom"===f?(n=f,o=p===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(o=f,n="end"===p?"top":"bottom");let v=g-u.top-u.bottom,b=h-u.left-u.right,x=_(g-u[n],v),y=_(h-u[o],b),k=!e.middlewareData.shift,j=x,E=y;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=b),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(j=v),k&&!p){let e=F(u.left,0),t=F(u.right,0),r=F(u.top,0),n=F(u.bottom,0);m?E=h-2*(0!==e||0!==t?e+t:F(u.left,u.right)):j=g-2*(0!==r||0!==n?r+n:F(u.top,u.bottom))}await c({...e,availableWidth:E,availableHeight:j});let N=await l.getDimensions(s.floating);return h!==N.width||g!==N.height?{reset:{rects:!0}}:{}}},options:[b,y]},el&&{...{name:"arrow",options:E=k={element:el,padding:T},fn(e){let{element:t,padding:r}="function"==typeof E?E(e):E;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?e0({element:t.current,padding:r}).fn(e):{}:t?e0({element:t,padding:r}).fn(e):{}}},options:[k,j]},th({arrowWidth:eh,arrowHeight:ev}),H&&{...{name:"hide",options:R=N={strategy:"referenceHidden",...ew},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...o}=V(R,e);switch(n){case"referenceHidden":{let n=ec(await r.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:ed(n)}}}case"escaped":{let n=ec(await r.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:ed(n)}}}default:return{}}}},options:[N,C]}]}),[eR,eS]=tg(eE),eM=x($);(0,e8.useLayoutEffect)(()=>{eN&&eM?.()},[eN,eM]);let eA=eC.arrow?.x,eP=eC.arrow?.y,eO=eC.arrow?.centerOffset!==0,[eT,eL]=u.useState();return(0,e8.useLayoutEffect)(()=>{eo&&eL(window.getComputedStyle(eo).zIndex)},[eo]),(0,d.jsx)("div",{ref:ek.setFloating,"data-radix-popper-content-wrapper":"",style:{...ej,transform:eN?ej.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eT,"--radix-popper-transform-origin":[eC.transformOrigin?.x,eC.transformOrigin?.y].join(" "),...eC.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(ts,{scope:S,placedSide:eR,onArrowChange:ep,arrowX:eA,arrowY:eP,shouldHideArrow:eO,children:(0,d.jsx)(g.Primitive.div,{"data-side":eR,"data-align":eS,...G,ref:ea,style:{...G.style,animation:eN?void 0:"none"}})})})});td.displayName=tl;var tu="PopperArrow",tf={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},tp=u.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=tc(tu,r),i=tf[o.placedSide];return(0,d.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,d.jsx)(e9,{...n,ref:t,style:{...n.style,display:"block"}})})});function tm(e){return null!==e}tp.displayName=tu;var th=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,c]=tg(r),d={start:"0%",center:"50%",end:"100%"}[c],u=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?d:`${u}px`,m=`${-l}px`):"top"===s?(p=i?d:`${u}px`,m=`${n.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?d:`${f}px`):"left"===s&&(p=`${n.floating.width+l}px`,m=i?d:`${f}px`),{data:{x:p,y:m}}}});function tg(e){let[t,r="center"]=e.split("-");return[t,r]}var tv=u.forwardRef((e,t)=>{let{container:r,...n}=e,[o,i]=u.useState(!1);(0,e8.useLayoutEffect)(()=>i(!0),[]);let a=r||o&&globalThis?.document?.body;return a?e1.default.createPortal((0,d.jsx)(g.Primitive.div,{...n,ref:t}),a):null});tv.displayName="Portal";var tb=e.i(90816),tx="rovingFocusGroup.onEntryFocus",ty={bubbles:!1,cancelable:!0},tw="RovingFocusGroup",[tk,tj,tE]=(0,v.createCollection)(tw),[tN,tC]=(0,m.createContextScope)(tw,[tE]),[tR,tS]=tN(tw),tM=u.forwardRef((e,t)=>(0,d.jsx)(tk.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(tk.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(tA,{...e,ref:t})})}));tM.displayName=tw;var tA=u.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:c,preventScrollOnEntryFocus:m=!1,...v}=e,y=u.useRef(null),w=(0,p.useComposedRefs)(t,y),k=(0,b.useDirection)(i),[j,E]=(0,h.useControllableState)({prop:a,defaultProp:l??null,onChange:s,caller:tw}),[N,C]=u.useState(!1),R=x(c),S=tj(r),M=u.useRef(!1),[A,P]=u.useState(0);return u.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(tx,R),()=>e.removeEventListener(tx,R)},[R]),(0,d.jsx)(tR,{scope:r,orientation:n,dir:k,loop:o,currentTabStopId:j,onItemFocus:u.useCallback(e=>E(e),[E]),onItemShiftTab:u.useCallback(()=>C(!0),[]),onFocusableItemAdd:u.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:u.useCallback(()=>P(e=>e-1),[]),children:(0,d.jsx)(g.Primitive.div,{tabIndex:N||0===A?-1:0,"data-orientation":n,...v,ref:w,style:{outline:"none",...e.style},onMouseDown:(0,f.composeEventHandlers)(e.onMouseDown,()=>{M.current=!0}),onFocus:(0,f.composeEventHandlers)(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(tx,ty);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=S().filter(e=>e.focusable);tL([e.find(e=>e.active),e.find(e=>e.id===j),...e].filter(Boolean).map(e=>e.ref.current),m)}}M.current=!1}),onBlur:(0,f.composeEventHandlers)(e.onBlur,()=>C(!1))})})}),tP="RovingFocusGroupItem",tO=u.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,children:a,...l}=e,s=(0,I.useId)(),c=i||s,p=tS(tP,r),m=p.currentTabStopId===c,h=tj(r),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:x}=p;return u.useEffect(()=>{if(n)return v(),()=>b()},[n,v,b]),(0,d.jsx)(tk.ItemSlot,{scope:r,id:c,focusable:n,active:o,children:(0,d.jsx)(g.Primitive.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:(0,f.composeEventHandlers)(e.onMouseDown,e=>{n?p.onItemFocus(c):e.preventDefault()}),onFocus:(0,f.composeEventHandlers)(e.onFocus,()=>p.onItemFocus(c)),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tT[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=h().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=p.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>tL(o))}}),children:"function"==typeof a?a({isCurrentTabStop:m,hasTabStop:null!=x}):a})})});tO.displayName=tP;var tT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tL(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var tD=e.i(60310),tI=new WeakMap,tz=new WeakMap,t_={},tF=0,tH=function(e){return e&&(e.host||tH(e.parentNode))},tW=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=tH(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});t_[r]||(t_[r]=new WeakMap);var i=t_[r],a=[],l=new Set,s=new Set(o),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};o.forEach(c);var d=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))d(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,s=(tI.get(e)||0)+1,c=(i.get(e)||0)+1;tI.set(e,s),i.set(e,c),a.push(e),1===s&&o&&tz.set(e,!0),1===c&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return d(t),l.clear(),tF++,function(){a.forEach(function(e){var t=tI.get(e)-1,o=i.get(e)-1;tI.set(e,t),i.set(e,o),t||(tz.has(e)||e.removeAttribute(n),tz.delete(e)),o||e.removeAttribute(r)}),--tF||(tI=new WeakMap,tI=new WeakMap,tz=new WeakMap,t_={})}},tB=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),tW(n,o,r,"aria-hidden")):function(){return null}},t$=function(){return(t$=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tG(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var tV=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),tK="width-before-scroll-bar";function tU(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tq="u">typeof window?u.useLayoutEffect:u.useEffect,tX=new WeakMap,tY=(void 0===r&&(r={}),(void 0===n&&(n=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=n(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=t$({async:!0,ssr:!1},r),a),tZ=function(){},tJ=u.forwardRef(function(e,t){var r,n,o,i,a=u.useRef(null),l=u.useState({onScrollCapture:tZ,onWheelCapture:tZ,onTouchMoveCapture:tZ}),s=l[0],c=l[1],d=e.forwardProps,f=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,g=e.shards,v=e.sideCar,b=e.noRelative,x=e.noIsolation,y=e.inert,w=e.allowPinchZoom,k=e.as,j=e.gapMode,E=tG(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(r=[a,t],n=function(e){return r.forEach(function(t){return tU(t,e)})},(o=(0,u.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,tq(function(){var e=tX.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||tU(e,null)}
1),n.forEach(function(e){t.has(e)||tU(e,o)})}tX.set(i,r)},[r]),i),C=t$(t$({},E),s);return u.createElement(u.Fragment,null,h&&u.createElement(v,{sideCar:tY,removeScrollBar:m,shards:g,noRelative:b,noIsolation:x,inert:y,setCallbacks:c,allowPinchZoom:!!w,lockRef:a,gapMode:j}),d?u.cloneElement(u.Children.only(f),t$(t$({},C),{ref:N})):u.createElement(void 0===k?"div":k,t$({},C,{className:p,ref:N}),f))});tJ.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tJ.classNames={fullWidth:tK,zeroRight:tV};var tQ=function(e){var t=e.sideCar,r=tG(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return u.createElement(n,t$({},r))};tQ.isSideCarExport=!0;var t0=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},t1=function(){var e=t0();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},t2=function(){var e=t1();return function(t){return e(t.styles,t.dynamic),null}},t5={left:0,top:0,right:0,gap:0},t3=function(e){return parseInt(e||"",10)||0},t4=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[t3(r),t3(n),t3(o)]},t6=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return t5;var t=t4(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},t9=t2(),t8="data-scroll-locked",t7=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(t8,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tV," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(tK," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(tV," .").concat(tV," {\n right: 0 ").concat(n,";\n }\n \n .").concat(tK," .").concat(tK," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(t8,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},re=function(){var e=parseInt(document.body.getAttribute(t8)||"0",10);return isFinite(e)?e:0},rt=function(){u.useEffect(function(){return document.body.setAttribute(t8,(re()+1).toString()),function(){var e=re()-1;e<=0?document.body.removeAttribute(t8):document.body.setAttribute(t8,e.toString())}},[])},rr=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;rt();var i=u.useMemo(function(){return t6(o)},[o]);return u.createElement(t9,{styles:t7(i,!t,o,r?"":"!important")})},rn=!1;if("u">typeof window)try{var ro=Object.defineProperty({},"passive",{get:function(){return rn=!0,!0}});window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch(e){rn=!1}var ri=!!rn&&{passive:!1},ra=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},rl=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),rs(e,n)){var o=rc(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},rs=function(e,t){return"v"===e?ra(t,"overflowY"):ra(t,"overflowX")},rc=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},rd=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,s=r.target,c=t.contains(s),d=!1,u=l>0,f=0,p=0;
1do{if(!s)break;var m=rc(e,s),h=m[0],g=m[1]-m[2]-a*h;(h||g)&&rs(e,s)&&(f+=g,p+=h);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return u&&(o&&1>Math.abs(f)||!o&&l>f)?d=!0:!u&&(o&&1>Math.abs(p)||!o&&-l>p)&&(d=!0),d},ru=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},rf=function(e){return[e.deltaX,e.deltaY]},rp=function(e){return e&&"current"in e?e.current:e},rm=0,rh=[];let rg=(l=function(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(rm++)[0],i=u.useState(t2)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(rp),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=ru(e),l=r.current,s="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],d=e.target,u=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===d||p.contains(d)))return!1;var m=rl(u,d);if(!m)return!0;if(m?o=u:(o="v"===u?"h":"v",m=rl(u,d)),!m)return!1;if(!n.current&&"changedTouches"in e&&(s||c)&&(n.current=o),!o)return!0;var h=n.current||o;return rd(h,t,e,"h"===h?s:c,!0)},[]),s=u.useCallback(function(e){if(rh.length&&rh[rh.length-1]===i){var r="deltaY"in e?rf(e):ru(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(rp).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=u.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=u.useCallback(function(e){r.current=ru(e),n.current=void 0},[]),f=u.useCallback(function(t){c(t.type,rf(t),t.target,l(t,e.lockRef.current))},[]),p=u.useCallback(function(t){c(t.type,ru(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return rh.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,ri),document.addEventListener("touchmove",s,ri),document.addEventListener("touchstart",d,ri),function(){rh=rh.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,ri),document.removeEventListener("touchmove",s,ri),document.removeEventListener("touchstart",d,ri)}},[]);var m=e.removeScrollBar,h=e.inert;return u.createElement(u.Fragment,null,h?u.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?u.createElement(rr,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tY.useMedium(l),tQ);var rv=u.forwardRef(function(e,t){return u.createElement(tJ,t$({},e,{ref:t,sideCar:rg}))});rv.classNames=tJ.classNames;var rb=["Enter"," "],rx=["ArrowUp","PageDown","End"],ry=["ArrowDown","PageUp","Home",...rx],rw={ltr:[...rb,"ArrowRight"],rtl:[...rb,"ArrowLeft"]},rk={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rj="Menu",[rE,rN,rC]=(0,v.createCollection)(rj),[rR,rS]=(0,m.createContextScope)(rj,[rC,tt,tC]),rM=tt(),rA=tC(),[rP,rO]=rR(rj),[rT,rL]=rR(rj),rD=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:i,modal:
1a=!0}=e,l=rM(t),[s,c]=u.useState(null),f=u.useRef(!1),p=x(i),m=(0,b.useDirection)(o);return u.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,d.jsx)(to,{...l,children:(0,d.jsx)(rP,{scope:t,open:r,onOpenChange:p,content:s,onContentChange:c,children:(0,d.jsx)(rT,{scope:t,onClose:u.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:a,children:n})})})};rD.displayName=rj;var rI=u.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=rM(r);return(0,d.jsx)(ta,{...o,...n,ref:t})});rI.displayName="MenuAnchor";var rz="MenuPortal",[r_,rF]=rR(rz,{forceMount:void 0}),rH=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=rO(rz,t);return(0,d.jsx)(r_,{scope:t,forceMount:r,children:(0,d.jsx)(tb.Presence,{present:r||i.open,children:(0,d.jsx)(tv,{asChild:!0,container:o,children:n})})})};rH.displayName=rz;var rW="MenuContent",[rB,r$]=rR(rW),rG=u.forwardRef((e,t)=>{let r=rF(rW,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=rO(rW,e.__scopeMenu),a=rL(rW,e.__scopeMenu);return(0,d.jsx)(rE.Provider,{scope:e.__scopeMenu,children:(0,d.jsx)(tb.Presence,{present:n||i.open,children:(0,d.jsx)(rE.Slot,{scope:e.__scopeMenu,children:a.modal?(0,d.jsx)(rV,{...o,ref:t}):(0,d.jsx)(rK,{...o,ref:t})})})})}),rV=u.forwardRef((e,t)=>{let r=rO(rW,e.__scopeMenu),n=u.useRef(null),o=(0,p.useComposedRefs)(t,n);return u.useEffect(()=>{let e=n.current;if(e)return tB(e)},[]),(0,d.jsx)(rq,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,f.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),rK=u.forwardRef((e,t)=>{let r=rO(rW,e.__scopeMenu);return(0,d.jsx)(rq,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),rU=(0,tD.createSlot)("MenuContent.ScrollLock"),rq=u.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:v,disableOutsideScroll:b,...x}=e,y=rO(rW,r),w=rL(rW,r),j=rM(r),E=rA(r),R=rN(r),[S,M]=u.useState(null),P=u.useRef(null),O=(0,p.useComposedRefs)(t,P,y.onContentChange),T=u.useRef(0),L=u.useRef(""),D=u.useRef(0),I=u.useRef(null),z=u.useRef("right"),_=u.useRef(0),F=b?rv:u.Fragment;u.useEffect(()=>()=>window.clearTimeout(T.current),[]),u.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??C()),document.body.insertAdjacentElement("beforeend",e[1]??C()),N++,()=>{1===N&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),N--}},[]);let H=u.useCallback(e=>{var t,r;return z.current===I.current?.side&&(t=e,!!(r=I.current?.area)&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,c=a.y,d=l.x,u=l.y;c>n!=u>n&&r<(d-s)*(n-c)/(u-c)+s&&(o=!o)}return o}({x:t.clientX,y:t.clientY},r))},[]);return(0,d.jsx)(rB,{scope:r,searchRef:L,onItemEnter:u.useCallback(e=>{H(e)&&e.preventDefault()},[H]),onItemLeave:u.useCallback(e=>{H(e)||(P.current?.focus(),M(null))},[H]),onTriggerLeave:u.useCallback(e=>{H(e)&&e.preventDefault()},[H]),pointerGraceTimerRef:D,onPointerGraceIntentChange:u.useCallback(e=>{I.current=e},[]),children:(0,d.jsx)(F,{...b?{as:rU,allowPinchZoom:!0}:void 0,children:(0,d.jsx)(A,{asChild:!0,trapped:o,onMountAutoFocus:(0,f.composeEventHandlers)(i,e=>{e.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:(0,d.jsx)(k,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:v,children:(0,d.jsx)(tM,{asChild:!0,...E,dir:w.dir,orientation:"vertical",loop:n,currentTabStopId:S,onCurrentTabStopIdChange:M,onEntryFocus:(0,f.composeEventHandlers)(s,e=>
1{w.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,d.jsx)(td,{role:"menu","aria-orientation":"vertical","data-state":nd(y.open),"data-radix-menu-content":"",dir:w.dir,...j,...x,ref:O,style:{outline:"none",...x.style},onKeyDown:(0,f.composeEventHandlers)(x.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(t){var o;let t,i,a,l,s,c;"Tab"===e.key&&e.preventDefault(),!r&&n&&(o=e.key,t=L.current+o,i=R().filter(e=>!e.disabled),a=document.activeElement,l=i.find(e=>e.ref.current===a)?.textValue,s=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,a=(n=Math.max(i,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}(i.map(e=>e.textValue),t,l),c=i.find(e=>e.textValue===s)?.ref.current,function e(t){L.current=t,window.clearTimeout(T.current),""!==t&&(T.current=window.setTimeout(()=>e(""),1e3))}(t),c&&setTimeout(()=>c.focus()))}let i=P.current;if(e.target!==i||!ry.includes(e.key))return;e.preventDefault();let a=R().filter(e=>!e.disabled).map(e=>e.ref.current);rx.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,f.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(T.current),L.current="")}),onPointerMove:(0,f.composeEventHandlers)(e.onPointerMove,np(e=>{let t=e.target,r=_.current!==e.clientX;e.currentTarget.contains(t)&&r&&(z.current=e.clientX>_.current?"right":"left",_.current=e.clientX)}))})})})})})})});rG.displayName=rW;var rX=u.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,d.jsx)(g.Primitive.div,{role:"group",...n,ref:t})});rX.displayName="MenuGroup";var rY=u.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,d.jsx)(g.Primitive.div,{...n,ref:t})});rY.displayName="MenuLabel";var rZ="MenuItem",rJ="menu.itemSelect",rQ=u.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...o}=e,i=u.useRef(null),a=rL(rZ,e.__scopeMenu),l=r$(rZ,e.__scopeMenu),s=(0,p.useComposedRefs)(t,i),c=u.useRef(!1);return(0,d.jsx)(r0,{...o,ref:s,disabled:r,onClick:(0,f.composeEventHandlers)(e.onClick,()=>{let e=i.current;if(!r&&e){let t=new CustomEvent(rJ,{bubbles:!0,cancelable:!0});e.addEventListener(rJ,e=>n?.(e),{once:!0}),(0,g.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?c.current=!1:a.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),c.current=!0},onPointerUp:(0,f.composeEventHandlers)(e.onPointerUp,e=>{c.current||e.currentTarget?.click()}),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==l.searchRef.current;r||t&&" "===e.key||rb.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});rQ.displayName=rZ;var r0=u.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:o,...i}=e,a=r$(rZ,r),l=rA(r),s=u.useRef(null),c=(0,p.useComposedRefs)(t,s),[m,h]=u.useState(!1),[v,b]=u.useState("");return u.useEffect(()=>{let e=s.current;e&&b((e.textContent??"").trim())},[i.children]),(0,d.jsx)(rE.ItemSlot,{scope:r,disabled:n,textValue:o??v,children:(0,d.jsx)(tO,{asChild:!0,...l,focusable:!n,children:(0,d.jsx)(g.Primitive.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...i,ref:c,onPointerMove:(0,f.composeEventHandlers)(e.onPointerMove,np(e=>{n?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,f.composeEventHandlers)(e.onPointerLeave,np(e=>a.onItemLeave(e))),onFocus:(0,f.composeEventHandlers)(e.onFocus,()=>h(!0)),onBlur:(0,f.composeEventHandlers)(e.onBlur,()=>h(!1))})})})}),r1=u.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return(0,d.jsx)(r7,{scope:e.__scopeMenu,checked:r,children:(0,d.jsx)(rQ,{role:"menuitemcheckbox","aria-checked":nu(r)?"mixed":r,...o,ref:t,"data-state":nf(r),onSelect:(0,f.composeEventHandlers)(o.onSelect,()=>n?.(!!nu(r)||!r),{checkForDefaultPrevented:!1})})})});r1.displayName="MenuCheckboxItem";var r2="MenuRadioGroup",[r5,r3]=rR(r2,{value:void 0,onValueChange:()=>{}}),r4=u.forwardRef((e,t)=>
1{let{value:r,onValueChange:n,...o}=e,i=x(n);return(0,d.jsx)(r5,{scope:e.__scopeMenu,value:r,onValueChange:i,children:(0,d.jsx)(rX,{...o,ref:t})})});r4.displayName=r2;var r6="MenuRadioItem",r9=u.forwardRef((e,t)=>{let{value:r,...n}=e,o=r3(r6,e.__scopeMenu),i=r===o.value;return(0,d.jsx)(r7,{scope:e.__scopeMenu,checked:i,children:(0,d.jsx)(rQ,{role:"menuitemradio","aria-checked":i,...n,ref:t,"data-state":nf(i),onSelect:(0,f.composeEventHandlers)(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});r9.displayName=r6;var r8="MenuItemIndicator",[r7,ne]=rR(r8,{checked:!1}),nt=u.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,i=ne(r8,r);return(0,d.jsx)(tb.Presence,{present:n||nu(i.checked)||!0===i.checked,children:(0,d.jsx)(g.Primitive.span,{...o,ref:t,"data-state":nf(i.checked)})})});nt.displayName=r8;var nr=u.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,d.jsx)(g.Primitive.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});nr.displayName="MenuSeparator";var nn=u.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=rM(r);return(0,d.jsx)(tp,{...o,...n,ref:t})});nn.displayName="MenuArrow";var[no,ni]=rR("MenuSub"),na="MenuSubTrigger",nl=u.forwardRef((e,t)=>{let r=rO(na,e.__scopeMenu),n=rL(na,e.__scopeMenu),o=ni(na,e.__scopeMenu),i=r$(na,e.__scopeMenu),a=u.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=i,c={__scopeMenu:e.__scopeMenu},m=u.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return u.useEffect(()=>m,[m]),u.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),s(null)}},[l,s]),(0,d.jsx)(rI,{asChild:!0,...c,children:(0,d.jsx)(r0,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":nd(r.open),...e,ref:(0,p.composeRefs)(t,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,f.composeEventHandlers)(e.onPointerMove,np(t=>{i.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{r.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,f.composeEventHandlers)(e.onPointerLeave,np(e=>{m();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,o="right"===n,a=t[o?"left":"right"],s=t[o?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:a,y:t.bottom}],side:n}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,t=>{let o=""!==i.searchRef.current;e.disabled||o&&" "===t.key||rw[n.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});nl.displayName=na;var ns="MenuSubContent",nc=u.forwardRef((e,t)=>{let r=rF(rW,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=rO(rW,e.__scopeMenu),a=rL(rW,e.__scopeMenu),l=ni(ns,e.__scopeMenu),s=u.useRef(null),c=(0,p.useComposedRefs)(t,s);return(0,d.jsx)(rE.Provider,{scope:e.__scopeMenu,children:(0,d.jsx)(tb.Presence,{present:n||i.open,children:(0,d.jsx)(rE.Slot,{scope:e.__scopeMenu,children:(0,d.jsx)(rq,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:c,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{a.isUsingKeyboardRef.current&&s.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,f.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,f.composeEventHandlers)(e.onEscapeKeyDown,e=>{a.onClose(),e.preventDefault()}),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=rk[a.dir].includes(e.key);t&&r&&(i.onOpenChange(!1),l.trigger?.focus(),e.preventDefault())})})})})})});function nd(e){return e?"open":"closed"}function nu(e){return"indeterminate"===e}function nf(e){return nu(e)?"indeterminate":e?"checked":"unchecked"}function np(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}nc.displayName=ns;var nm="DropdownMenu",[nh,ng]=(0,m.createContextScope)(nm,[rS]),nv=rS(),[nb,nx]=nh(nm),ny=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,s=nv(t),c=u.useRef(null),[f,p]=(0,h.useControllableState)({prop:o,defaultProp:i??!1,onChange:a,caller:nm});return(0,d.jsx)(nb,{scope:t,triggerId:(0,I.useId)(),triggerRef:c,contentId:(0,I.useId)(),open:f,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(e=>!e),[p]),modal:l,children:(0,d.jsx)(rD,{...s,open:f,onOpenChange:p,dir:n,modal:l,children:r})})};ny.displayName=nm;var nw="DropdownMenuTrigger",nk=u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,i=nx(nw,r),a=nv(r);return(0,d.jsx)(rI,{asChild:!0,...a,children:(0,d.jsx)(g.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:(0,p.composeRefs)(t,i.triggerRef),onPointerDown:(0,f.composeEventHandlers)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});nk.displayName=nw;var nj=e=>{let{__scopeDropdownMenu:t,...r}=e,n=nv(t);return(0,d.jsx)(rH,{...n,...r})};nj.displayName="DropdownMenuPortal";var nE="DropdownMenuContent",nN=u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nx(nE,r),i=nv(r),a=u.useRef(!1);return(0,d.jsx)(rG,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...n,ref:t,onCloseAutoFocus:(0,f.composeEventHandlers)(e.onCloseAutoFocus,e=>{a.current||o.triggerRef.current?.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:(0,f.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!o.modal||n)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nN.displayName=nE,u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(rX,{...o,...n,ref:t})}).displayName="DropdownMenuGroup",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(rY,{...o,...n,ref:t})}).displayName="DropdownMenuLabel";var nC=u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(rQ,{...o,...n,ref:t})});nC.displayName="DropdownMenuItem",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(r1,{...o,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(r4,{...o,...n,ref:t})}).displayName="DropdownMenuRadioGroup",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(r9,{...o,...n,ref:t})}).displayName="DropdownMenuRadioItem",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(nt,{...o,...n,ref:t})}).displayName="DropdownMenuItemIndicator",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(nr,{...o,...n,ref:t})}).displayName="DropdownMenuSeparator",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(nn,{...o,...n,ref:t})}).displayName="DropdownMenuArrow",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(nl,{...o,...n,ref:t})}).displayName="DropdownMenuSubTrigger",u.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=nv(r);return(0,d.jsx)(nc,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent",e.i(16911);var nR=e.i(31763);(0,nR.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),(0,nR.default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var nS=e.i(47163);e.s(["DropdownMenu",0,function({...e}){return(0,d.jsx)(ny,{"data-slot":"dropdown-menu",...e})},"DropdownMenuContent",0,function({className:e,sideOffset:t=4,...r}){return(0,d.jsx)(nj,{children:(0,d.jsx)(nN,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,nS.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})},"DropdownMenuItem",0,function({className:e,inset:t,variant:r="default",...n}){return(0,d.jsx)(nC,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:(0,nS.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})},"DropdownMenuTrigger",0,function({...e}){return(0,d.jsx)(nk,{"data-slot":"dropdown-menu-trigger",...e})}],63415)},13293,e=>{"use strict";var t=e.i(77117),r=e.i(67881);let n=(0,e.i(31763).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var o=e.i(92013),i=e.i(43871),a=e.i(91983),l=e.i(44930),s=e.i(6789),c=e.i(51905),d=e.i(63415);let u=[{code:"en",name:"English",nativeName:"English"},{code:"es",name:"Spanish",nativeName:"Espanol"},{code:"fr",name:"French",nativeName:"Francais"},{code:"de",name:"German",nativeName:"Deutsch"},{code:"zh",name:"Chinese",nativeName:"Zhongwen"},{code:"ja",name:"Japanese",nativeName:"Nihongo"},{code:"ar",name:"Arabic",nativeName:"Al-Arabiyya"},{code:"pt",name:"Portuguese",nativeName:"Portugues"},{code:"ru",name:"Russian",nativeName:"Russkiy"},{code:"hi",name:"Hindi",nativeName:"Hindi"}];function f(){let[e,n]=(0,a.useState)("en"),o=u.find(t=>t.code===e);return(0,t.jsxs)(d.DropdownMenu,{children:[(0,t.jsx)(d.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(r.Button,{variant:"ghost",size:"sm",className:"gap-2 text-muted-foreground hover:text-foreground hover:bg-secondary/50",children:[(0,t.jsx)(l.Globe,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:o?.nativeName}),(0,t.jsx)(c.ChevronDown,{className:"h-3 w-3 opacity-50"})]})}),(0,t.jsx)(d.DropdownMenuContent,{align:"end",className:"w-48 bg-card/95 backdrop-blur-lg border-border/50",children:u.map(r=>(0,t.jsxs)(d.DropdownMenuItem,{onClick:()=>(e=>{n(e);let t=`https://translate.google.com/translate?sl=en&tl=${e}&u=${encodeURIComponent(window.location.href)}`;if("en"===e){let e=document.querySelector(".goog-te-banner-frame");e&&(e.style.display="none"),window.location.href=window.location.href.split("?")[0].replace(/^https?:\/\/translate\.googleusercontent\.com\/translate_c\?.*u=/,"")}else window.open(t,"_self")})(r.code),className:"flex items-center justify-between cursor-pointer hover:bg-secondary/50",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"text-sm text-foreground",children:r.name}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:r.nativeName})]}),e===r.code&&(0,t.jsx)(s.Check,{className:"h-4 w-4 text-accent"})]},r.code))})]})}let p=[{label:"About",href:"/about"},{label:"Services",href:"/services"},{label:"Blog",href:"/blog"},{label:"AI Score",href:"/ai-readiness"},{label:"Reviews",href:"/reviews"},{label:"FAQ",href:"/faq"},{label:"Contact",href:"/contact"}];e.s(["Header",0,function(){let[e,l]=(0,a.useState)(!1),[s,c]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=()=>{l(window.scrollY>50)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-background/80 backdrop-blur-lg border-b border-border/50":"bg-transparent"}`,children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between h-16 sm:h-20",children:[(0,t.jsx)(i.default,{href:"/",className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-xl font-bold text-foreground tracking-tight",children:"Simon Wilby"})}),(0,t.jsx)("nav",{className:"hidden md:flex items-center gap-8",children:p.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:e.label},e.label))}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-4",children:[(0,t.jsx)(f,{}),(0,t.jsx)(r.Button,{asChild:!0,size:"sm",className:"bg-primary text-primary-foreground hover:bg-primary/90",children:(0,t.jsx)(i.default,{href:"/contact",children:"Get in Touch"})})]}),(0,t.jsxs)("div",{className:"flex md:hidden items-center gap-2",children:[(0,t.jsx)(f,{}),(0,t.jsx)("button",{className:"p-2 text-foreground",onClick:()=>c(!s),"aria-label":"Toggle menu",children:s?(0,t.jsx)(o.X,{className:"w-6 h-6"}):(0,t.jsx)(n,{className:"w-6 h-6"})})]})]}),s&&(0,t.jsx)("div",{className:"md:hidden py-4 border-t border-border/50",children:(0,t.jsxs)("nav",{className:"flex flex-col gap-4",children:[p.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"text-muted-foreground hover:text-foreground transition-colors py-2",onClick:()=>c(!1),children:e.label},e.label)),(0,t.jsx)(r.Button,{asChild:!0,className:"mt-2 bg-primary text-primary-foreground hover:bg-primary/90",children:(0,t.jsx)(i.default,{href:"/contact",onClick:()=>c(!1),children:"Get in Touch"})})]})})]})})}],13293)},4614,e=>{"use strict";let t=(0,e.i(31763).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,t],4614)},89268,e=>{"use strict";let t=(0,e.i(31763).default)("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);e.s(["Twitter",0,t],89268)},54100,e=>{"use strict";let t=(0,e.i(31763).default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",0,t],54100)},53747,96918,e=>{"use strict";var t=e.i(31763);let r=(0,t.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,r],53747);let n=(0,t.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,n],96918)},76841,e=>{"use strict";var t=e.i(77117),r=e.i(43871),n=e.i(31763);let o=(0,n.default)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);var i=e.i(54100),a=e.i(89268),l=e.i(53747),s=e.i(96918),c=e.i(14860);let d=(0,n.default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]),u=(0,n.default)("tv",[["path",{d:"m17 2-5 5-5-5",key:"16satq"}],["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",key:"1e6viu"}]]);var f=e.i(68605),p=e.i(4614),m=e.i(44930);let h=[{title:"AI Ventures",icon:d,projects:[{name:"Wilby.ai",url:"https://www.wilby.ai/"},{name:"Simon Wilby AI",url:"https://www.simonwilby.ai"},{name:"Utopia TV",url:"https://www.utopiatv.ai/"},{name:"Freedom of Speech",url:"https://www.freedomofspeech.ai/"},{name:"America's Voice",url:"https://www.americasvoice.ai/"},{name:"Ripoff AI",url:"https://www.ripoff.ai/"},{name:"Hey Grok",url:"https://www.heygrok.ai/"},{name:"Hey Meta",url:"https://www.heymeta.ai/"},{name:"1 Voice AI",url:"https://www.1voice.ai/"},{name:"Voice.bz",url:"https://www.voice.bz/"}]},{title:"AI Sports Picks & Betting Predictions",icon:(0,n.default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]),projects:[{name:"AI Sports Betting Predictions",url:"https://www.sportsai.ml/"},{name:"AI Sports Analytics Platform",url:"https://www.aisports.ml/"},{name:"Las Vegas Sports Picks & Odds",url:"https://www.lasvegas.ml/"},{name:"Apollo Sports Prediction AI",url:"https://www.apollo.ml/"},{name:"Daily Expert Plays & Picks",url:"https://www.plays.ml/"},{name:"1-on-1 Sports Handicapping",url:"https://www.1on1.ml/"},{name:"1-to-1 Betting Predictions",url:"https://www.1to1.ml/"},{name:"AI Sports Intelligence Hub",url:"https://www.1.ml/"}]},{title:"ML Projects",icon:p.Sparkles,projects:[{name:"AGI.ml",url:"https://www.agi.ml/"},{name:"Dreams.ml",url:"https://www.dreams.ml/"},{name:"Reviews.ml",url:"https://www.reviews.ml/"},{name:"Beauty.ml",url:"https://www.beauty.ml/"},{name:"Studios.ml",url:"https://www.studios.ml/"}]},{title:"Media & Entertainment",icon:u,projects:[{name:"Utopia.ad",url:"https://www.utopia.ad/"},{name:"TMZ Celebrity",url:"https://www.tmzcelebrity.com/"},{name:"MLS.tv",url:"https://www.mls.tv/"},{name:"Simon.fm",url:"https://www.simon.fm/"}]},{title:"Studios & Services",icon:f.Building2,projects:[{name:"Studios Expert",url:"https://www.studios.expert/"},{name:"File A Complaint",url:"https://www.fileacomplaint.com/"},{name:"Flyover Direct",url:"https://www.flyover.direct/"}]},{title:"Personal & Portfolio",icon:m.Globe,projects:[{name:"Simon Wilby UK",url:"https://www.simonwilby.uk/"},{name:"Simon Wilby IO",url:"https://www.simonwilby.io/"},{name:"We Wilby",url:"https://www.wewilby.com/"}]}],g=[{label:"About",href:"/about"},{label:"Services",href:"/services"},{label:"Reviews",href:"/reviews"},{label:"Locations",href:"/locations"},{label:"Resources",href:"/resources"},{label:"FAQ",href:"/faq"},{label:"Contact",href:"/contact"}],v=[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Cookie Policy",href:"/cookies"},{label:"GDPR Rights",href:"/privacy#gdpr"},{label:"PIPL Rights",href:"/privacy#pipl"}],b=[{icon:a.Twitter,href:"https://twitter.com/simonwilby",label:"Twitter"},{icon:i.Linkedin,href:"https://linkedin.com/in/simonwilby",label:"LinkedIn"},{icon:o,href:"https://github.com/simonwilby",label:"GitHub"}];e.s(["Footer",0,function(){return(0,t.jsxs)("footer",{className:"bg-card/50 border-t border-border",children:[(0,t.jsx)("div",{className:"border-b border-border/50",children:(0,t.jsx)("div",{className:"container mx-auto px-4 py-16",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-12",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-foreground mb-4",children:"Simon Wilby's Ecosystem"}),(0,t.jsx)("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"A portfolio of 30+ innovative AI ventures, sports prediction platforms, machine learning projects, and digital platforms transforming industries w
1orldwide."})]}),(0,t.jsx)("div",{className:"space-y-10",children:h.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"p-2 rounded-lg bg-accent/10",children:(0,t.jsx)(e.icon,{className:"w-5 h-5 text-accent"})}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:e.title}),(0,t.jsx)("div",{className:"flex-1 h-px bg-border/50"}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground px-2 py-1 rounded-full bg-secondary/50",children:[e.projects.length," projects"]})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-2",children:e.projects.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex items-center justify-between gap-2 px-3 py-2 rounded-lg border border-border/50 bg-background/50 hover:border-accent/50 hover:bg-accent/5 transition-all",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground group-hover:text-foreground transition-colors truncate",children:e.name}),(0,t.jsx)(c.ExternalLink,{className:"w-3 h-3 text-muted-foreground/50 group-hover:text-accent transition-colors flex-shrink-0"})]},e.name))})]},e.title))}),(0,t.jsx)("div",{className:"mt-12 p-6 rounded-2xl bg-gradient-to-r from-accent/5 via-accent/10 to-accent/5 border border-accent/20",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-6 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-accent",children:"30+"}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:"Active Projects"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-accent",children:"10+"}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:"AI Ventures"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-accent",children:"8"}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:"Sports AI Sites"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-accent",children:"Global"}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:"Reach"})]})]})})]})})}),(0,t.jsx)("div",{className:"container mx-auto px-4 py-12",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-5 gap-8 mb-12",children:[(0,t.jsxs)("div",{className:"lg:col-span-2",children:[(0,t.jsxs)(r.default,{href:"/",className:"inline-flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl bg-accent/10 border border-accent/20 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-xl font-bold text-accent",children:"SW"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-xl font-bold text-foreground block",children:"Simon Wilby"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"Architect of Intelligent Systems"})]})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-6 max-w-sm",children:"Building the future of AI across multiple ventures and platforms. Transforming industries through intelligent systems and innovative technology."}),(0,t.jsx)("div",{className:"flex items-center gap-3",children:b.map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"p-2.5 rounded-lg bg-secondary/50 border border-border/50 text-muted-foreground hover:text-foreground hover:border-accent/50 hover:bg-accent/5 transition-all","aria-label":e.label,children:(0,t.jsx)(e.icon,{className:"w-5 h-5"})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-4",children:"Navigation"}),(0,t.jsx)("ul",{className:"space-y-3",children:g.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:e.label})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-4",children:"Legal"}),(0,t.jsx)("ul",{className:"space-y-3",children:v.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:e.label})},e.label))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-4",children:"Contact"}),(0,t.jsxs)("ul",{className:"space-y-3 mb-6",children:[(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(l.Mail,{className:"w-4 h-4"}),"[email protected]"]})}),(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:"tel:+12122020004",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(s.Phone,{className:"w-4 h-4"}),"212-202-0004"]})})]}),(0,t.jsxs)("div",{className:"p-4 rounded-xl bg-secondary/30 border border-border/50",children:[(0,t.jsx)("h4",{className:"text-sm font-medium text-foreground mb-2",children:"Stay Updated"}),(0,t.jsxs)("form",{className:"flex gap-2",children:[(0,t.jsx)("input",{type:"email",placeholder:"Email",className:"flex-1 px-3 py-2 text-sm rounded-lg bg-background border border-border text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-accent/50 focus:border-accent/50"}),(0,t.jsx)("button",{type:"submit",className:"px-4 py-2 rounded-lg bg-accent text-accent-foreground text-sm font-medium hover:bg-accent/90 transition-colors",children:"Join"})]})]})]})]}),(0,t.jsx)("div",{className:"pt-8 border-t border-border/30 mb-8",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[(0,t.jsxs)(r.default,{href:"/privacy#gdpr",className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20 hover:border-accent/50 transition-colors",children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground",children:"GDPR Compliant"}),(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground",children:"EU"})]}),(0,t.jsxs)(r.default,{href:"/privacy#pipl",className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20 hover:border-accent/50 transition-colors",children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground",children:"个人信æ¯ä¿æ¤æ³ (PIPL)"}),(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground",children:"ä¸å½"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20",children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground",children:"SSL Secured"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20",children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-accent",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2
10 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground",children:"Global Coverage"})]})]})}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4 pt-8 border-t border-border/30",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"© 2027 Simon Wilby. All rights reserved."}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)("span",{children:"Built with"}),(0,t.jsx)("span",{className:"text-accent",children:"AI"}),(0,t.jsx)("span",{children:"|"}),(0,t.jsx)("span",{children:"Powered by Innovation"})]})]})]})})]})}],76841)}]);
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.