iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.statista.com/outlook/build/_shared/chunk-ZHAVCDQ7.js
import{a as a3,f as qa,k as Ja,u as su}from"/outlook/build/_shared/chunk-GQZFP2RK.js";import{a as y,b as N}from"/outlook/build/_shared/chunk-GUO4IAGI.js";import{c as Q4,d as g}from"/outlook/build/_shared/chunk-SIXSUHUE.js";var ps=Q4(Cs=>{"use strict";var P2=y();function Zc(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Tc=typeof Object.is=="function"?Object.is:Zc,Fc=P2.useState,Bc=P2.useEffect,Rc=P2.useLayoutEffect,Ic=P2.useDebugValue;function Ac(t,e){var r=e(),o=Fc({inst:{value:r,getSnapshot:e}}),a=o[0].inst,l=o[1];return Rc(function(){a.value=r,a.getSnapshot=e,so(a)&&l({inst:a})},[t,r,e]),Bc(function(){return so(a)&&l({inst:a}),t(function(){so(a)&&l({inst:a})})},[t]),Ic(r),r}function so(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Tc(t,r)}catch{return!0}}function zc(t,e){return e()}var Kc=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?zc:Ac;Cs.useSyncExternalStore=P2.useSyncExternalStore!==void 0?P2.useSyncExternalStore:Kc});var bs=Q4((fT,ms)=>{"use strict";ms.exports=ps()});var BC=Q4((pW,Qn)=>{Qn.exports={}});var t6=g(N(),1);var N9=g(y(),1),Xa=(0,N9.createContext)({}),Qa=Xa.Provider;function B1(){let{icon:t}=(0,N9.useContext)(Xa);if(!t)throw new Error("No icon provider configured");return t}var el=g(N(),1),O3=g(y(),1),tl=(0,O3.forwardRef)(({to:t,children:e,...r},o)=>(0,el.jsx)("a",{ref:o,href:t,...r,children:e}));tl.displayName="FallbackLink";var rl=(0,O3.createContext)({}),ol=rl.Provider;function e6(){let{link:t}=(0,O3.useContext)(rl);return t??tl}var YC=({icon:t,link:e,children:r})=>(0,t6.jsx)(Qa,{value:{icon:t},children:(0,t6.jsx)(ol,{value:{link:e},children:r})});var Cl=g(N(),1);var o6="-";function nu(t){let e=du(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=t;function a(i){let s=i.split(o6);return s[0]===""&&s.length!==1&&s.shift(),nl(s,e)||uu(i)}function l(i,s){let n=r[i]||[];return s&&o[i]?[...n,...o[i]]:n}return{getClassGroupId:a,getConflictingClassGroupIds:l}}function nl(t,e){if(t.length===0)return e.classGroupId;let r=t[0],o=e.nextPart.get(r),a=o?nl(t.slice(1),o):void 0;if(a)return a;if(e.validators.length===0)return;let l=t.join(o6);return e.validators.find(({validator:i})=>i(l))?.classGroupId}var al=/^\[(.+)\]$/;function uu(t){if(al.test(t)){let e=al.exec(t)[1],r=e?.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}}function du(t){let{theme:e,prefix:r}=t,o={nextPart:new Map,validators:[]};return fu(Object.entries(t.classGroups),r).forEach(([l,i])=>{r6(i,o,l,e)}),o}function r6(t,e,r,o){t.forEach(a=>{if(typeof a=="string"){let l=a===""?e:ll(e,a);l.classGroupId=r;return}if(typeof a=="function"){if(cu(a)){r6(a(o),e,r,o);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([l,i])=>{r6(i,ll(e,l),r,o)})})}function ll(t,e){let r=t;return e.split(o6).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function cu(t){return t.isThemeGetter}function fu(t,e){return e?t.map(([r,o])=>{let a=o.map(l=>typeof l=="string"?e+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([i,s])=>[e+i,s])):l);return[r,a]}):t}function Cu(t){if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,o=new Map;function a(l,i){r.set(l,i),e++,e>t&&(e=0,o=r,r=new Map)}return{get(l){let i=r.get(l);if(i!==void 0)return i;if((i=o.get(l))!==void 0)return a(l,i),i},set(l,i){r.has(l)?r.set(l,i):a(l,i)}}}var ul="!";function pu(t){let e=t.separator,r=e.length===1,o=e[0],a=e.length;return function(i){let s=[],n=0,u=0,d;for(let $=0;$u?d-u:void 0;return{modifiers:s,hasImportantModifier:C,baseClassName:f,maybePostfixModifierPosition:p}}}function mu(t){if(t.length<=1)return t;let e=[],r=[];return t.forEach(o=>{o[0]==="["?(e.push(...r.sort(),o),r=[]):r.push(o)}),e.push(...r.sort()),e}function bu(t){return{cache:Cu(t.cacheSize),splitModifiers:pu(t),...nu(t)}}var $u=/\s+/;function hu(t,e){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=e,l=new Set;return t.trim().split($u).map(i=>{let{modifiers:s,hasImportantModifier:n,baseClassName:u,maybePostfixModifierPosition:d}=r(i),c=o(d?u.substring(0,d):u),C=Boolean(d);if(!c){if(!d)return{isTailwindClass:!1,originalClassName:i};if(c=o(u),!c)return{isTailwindClass:!1,originalClassName:i};C=!1}let f=mu(s).join(":");return{isTailwindClass:!0,modifierId:n?f+ul:f,classGroupId:c,originalClassName:i,hasPostfixModifier:C}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;let{modifierId:s,classGroupId:n,hasPostfixModifier:u}=i,d=s+n;return l.has(d)?!1:(l.add(d),a(n,u).forEach(c=>l.add(s+c)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function gu(){let t=0,e,r,o="";for(;tc(d),t());return r=bu(u),o=r.cache.get,a=r.cache.set,l=s,s(n)}function s(n){let u=o(n);if(u)return u;let d=hu(n,r);return a(n,d),d}return function(){return l(gu.apply(null,arguments))}}function c1(t){let e=r=>r[t]||[];return e.isThemeGetter=!0,e}var cl=/^\[(?:([a-z-]+):)?(.+)\]$/i,vu=/^\d+\/\d+$/,xu=new Set(["px","full","screen"]),Lu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yu=/\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$/,Mu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Su=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function t0(t){return l3(t)||xu.has(t)||vu.test(t)}function E0(t){return j3(t,"length",Tu)}function l3(t){return Boolean(t)&&!Number.isNaN(Number(t))}function O9(t){return j3(t,"number",l3)}function j2(t){return Boolean(t)&&Number.isInteger(Number(t))}function Hu(t){return t.endsWith("%")&&l3(t.slice(0,-1))}function q(t){return cl.test(t)}function w0(t){return Lu.test(t)}var Vu=new Set(["length","size","percentage"]);function Eu(t){return j3(t,Vu,fl)}function wu(t){return j3(t,"position",fl)}var Du=new Set(["image","url"]);function ku(t){return j3(t,Du,Bu)}function Zu(t){return j3(t,"",Fu)}function G2(){return!0}function j3(t,e,r){let o=cl.exec(t);return o?o[1]?typeof e=="string"?o[1]===e:e.has(o[1]):r(o[2]):!1}function Tu(t){return yu.test(t)&&!Mu.test(t)}function fl(){return!1}function Fu(t){return Su.test(t)}function Bu(t){return Pu.test(t)}function sl(){let t=c1("colors"),e=c1("spacing"),r=c1("blur"),o=c1("brightness"),a=c1("borderColor"),l=c1("borderRadius"),i=c1("borderSpacing"),s=c1("borderWidth"),n=c1("contrast"),u=c1("grayscale"),d=c1("hueRotate"),c=c1("invert"),C=c1("gap"),f=c1("gradientColorStops"),p=c1("gradientColorStopPositions"),$=c1("inset"),h=c1("margin"),b=c1("opacity"),x=c1("padding"),v=c1("saturate"),S=c1("scale"),L=c1("sepia"),H=c1("skew"),Z=c1("space"),m=c1("translate"),D=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",q,e],T=()=>[q,e],M=()=>["",t0,E0],A=()=>["auto",l3,q],w=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],p1=()=>["","0",q],E1=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[l3,O9],J=()=>[l3,q];return{cacheSize:500,separator:":",theme:{colors:[G2],spacing:[t0,E0],blur:["none","",w0,q],brightness:I(),borderColor:[t],borderRadius:["none","","full",w0,q],borderSpacing:T(),borderWidth:M(),contrast:I(),grayscale:p1(),hueRotate:J(),invert:p1(),gap:T(),gradientColorStops:[t],gradientColorStopPositions:[Hu,E0],inset:V(),margin:V(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:p1(),skew:J(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[w0]}],"break-after":[{"break-after":E1()}],"break-before":[{"break-before":E1()}],"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"],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:[...w(),q]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[$]}],"inset-x":[{"inset-x":[$]}],"inset-y":[{"inset-y":[$]}],start:[{start:[$]}],end:[{end:[$]}],top:[{top:[$]}],right:[{right:[$]}],bottom:[{bottom:[$]}],left:[{left:[$]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j2,q]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:p1()}],shrink:[{shrink:p1()}],order:[{order:["first","last","none",j2,q]}],"grid-cols":[{"grid-cols":[G2]}],"col-start-end":[{col:["auto",{span:["full",j2,q]},q]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[G2]}],"row-start-end":[{row:["auto",{span:[j2,q]},q]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[Z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,e]}],"min-w":[{"min-w":[q,e,"min","max","fit"]}],"max-w":[{"max-w":[q,e,"none","full","min","max","fit","prose",{screen:[w0]},w0]}],h:[{h:[q,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,e,"auto","min","max","fit"]}],"font-size":[{text:["base",w0,E0]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O9]}],"font-family":[{font:[G2]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",q]}],"line-clamp":[{"line-clamp":["none",l3,O9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",t0,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",t0,E0]}],"underline-offset":[{"underline-offset":["auto",t0,q]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...w(),wu]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Eu]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ku]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:R()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[t0,q]}],"outline-w":[{outline:[t0,E0]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[t0,E0]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",w0,Zu]}],"shadow-color":[{shadow:[G2]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[n]}],"drop-shadow":[{"drop-shadow":["","none",w0,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[v]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[n]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",q]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[j2,q]}],"translate-x":[{"translate-x":[m]}],"translate-y":[{"translate-y":[m]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],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",q]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"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",q]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[t0,E0,O9]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}}function Ru(t,{cacheSize:e,prefix:r,separator:o,extend:a={},override:l={}}){j9(t,"cacheSize",e),j9(t,"prefix",r),j9(t,"separator",o);for(let i in l)Iu(t[i],l[i]);for(let i in a)Au(t[i],a[i]);return t}function j9(t,e,r){r!==void 0&&(t[e]=r)}function Iu(t,e){if(e)for(let r in e)j9(t,r,e[r])}function Au(t,e){if(e)for(let r in e){let o=e[r];o!==void 0&&(t[r]=(t[r]||[]).concat(o))}}function G9(t,...e){return typeof t=="function"?il(sl,t,...e):il(()=>Ru(sl(),t),...e)}var F=G9({override:{classGroups:{z:["deep:","default","fixed","sticky","tooltip","dialog","dropdown","overlay","modal","spinner"]}}});var tp=t=>{let{children:e,padding:r="none",className:o}=t;return(0,Cl.jsx)("div",{...t,className:F("rounded bg-surface-neutral shadow",{none:"p-0",sm:"p-2",md:"p-4",lg:"p-6",xl:"p-8"}[r],o),children:e})};var pl=g(N(),1);function Y(t,...e){let r="";for(let[o,a]of e.entries())r+=t[o]+String(a);return r+t.at(-1)}var G3=({className:t,children:e})=>(0,pl.jsx)("div",{className:F("ml-auto mr-auto max-w-[76.125rem] px-4",t),children:e});var _9=g(N(),1);var cp=({spacing:t,"background-color":e,"aria-labelledby":r,className:o="",children:a,headline:l,roofTitle:i,align:s="left"})=>{let n=e==="strong";return(0,_9.jsx)("section",{"aria-labelledby":r,className:F("text-foreground-neutral",{left:"text-left",center:"text-center",right:"text-right"}[s],{sm:"py-4 md:py-6 lg:py-8 xl:py-10",md:"py-6 md:py-10 lg:py-14 xl:py-16",lg:"py-8 md:py-12 lg:py-16 xl:py-20",xl:"py-10 md:py-16 lg:py-20 xl:py-30",none:"py-0"}[t],{neutral:"bg-background-neutral",strong:"bg-background-strong text-foreground-inverted",muted:"bg-background-muted"}[e],o),children:(0,_9.jsxs)(G3,{children:[i?i({className:F("text-foreground-primary",n&&"text-foreground-primary-inverted")}):void 0,l({className:F(n?"text-foreground-inverted":"text-foreground-strong")}),a]})})};var r1=g(N(),1);var mp=t=>{let{topLeft:e,topRight:r,bottomLeft:o,bottomRight:a,mobileMenuTrigger:l,skipLink:i=!1}=t;return(0,r1.jsxs)(r1.Fragment,{children:[i?(0,r1.jsx)("a",{href:"#main-content",className:"absolute start-0 top-0 z-fixed m-2 scale-0 bg-surface-neutral px-3 py-2 text-sm font-semibold text-on-surface focus-visible:scale-100",children:"Skip to main content"}):void 0,(0,r1.jsx)("header",{className:"border-b-3 border-solid border-primary bg-surface-strong pb-[10px] pt-[20px] text-sm text-inverted-on-surface",children:(0,r1.jsxs)(G3,{className:"flex flex-wrap items-center gap-x-[20px] gap-y-[10px]",children:[(0,r1.jsxs)("div",{className:F("relative mb-[10px] flex w-full flex-wrap items-center gap-[20px]",o?"lg:contents":"lg:mb-0 lg:flex"),children:[(0,r1.jsx)("a",{href:"/",children:(0,r1.jsx)(zu,{})}),(0,r1.jsx)("div",{className:"me-auto hidden grow lg:block",children:e}),(0,r1.jsx)("div",{className:"ms-auto",children:r}),(0,r1.jsx)("div",{className:"block lg:hidden",children:l})]}),(0,r1.jsxs)("div",{className:"relative contents xl:flex xl:w-full xl:justify-between xl:gap-[20px]",children:[(0,r1.jsx)("div",{className:"order-2 hidden grow lg:block xl:order-1",children:o}),(0,r1.jsx)("div",{className:"order-1 hidden lg:block xl:order-2",children:a})]})]})}),i?(0,r1.jsx)("div",{id:"main-content"}):void 0]})},zu=()=>(0,r1.jsxs)("svg",{"aria-label":"Statista Logo",viewBox:"0 0 215 42",width:215,height:42,role:"img",fill:"currentColor",className:"max-w-[9.625rem] text-inverted-on-surface lg:max-w-[11.5rem]",children:[(0,r1.jsx)("path",{d:"M7.14,16.41c0-1.69,1.21-2.6,3-2.6,2.18,0,3.39,1.46,3.87,4.06l5.75-1c-1-5.08-4.6-8.65-9.92-8.65C4.72,8.25.72,11.82.72,17c0,8.89,12.71,11,12.71,16.63a2.75,2.75,0,0,1-3,2.85c-3.08,0-4.05-2.43-4.47-5.15L0,32.93C1,38.61,4.42,42,10.34,42c5.51,0,9.5-3,9.5-8.77C19.84,23.55,7.14,21.5,7.14,16.41Z"}),(0,r1.jsx)("path",{d:"M33,.08H26.25V8.85H22.5v5.57h3.75V34.68c0,5,2.84,7.32,7.92,7.32a11.76,11.76,0,0,0,3.39-.36V35.83H35.32c-1.57,0-2.3-1-2.3-2.66V14.42h4.54V8.85H33Z"}),(0,r1.jsx)("path",{d:"M62,17.08c0-5.93-3.57-8.83-9.86-8.83S41.61,11.82,41.25,18.41H48c.13-2.78.79-4.6,3.87-4.6,2.24,0,3.33,1.46,3.33,4.18v1.93c-9.74,3.69-14.45,7.62-14.45,14.76,0,4.17,2.29,7.32,6.89,7.32,3.27,0,5.38-1.09,7.92-3.15.06.79.31,1.64.37,2.54h6.47A23.22,23.22,0,0,1,62,38ZM55.22,33.41c-1.15,1.63-2.66,3-4.54,3-2,0-3.14-.85-3.14-3,0-2.84,1.51-5.08,7.68-8.59Z"}),(0,r1.jsx)("path",{d:"M81.23,14.42V8.85H76.69V.08H69.92V8.85H66.17v5.57h3.75V34.68c0,5,2.84,7.32,7.92,7.32a11.8,11.8,0,0,0,3.39-.36V35.83H79c-1.57,0-2.3-1-2.3-2.66V14.42Z"}),(0,r1.jsxs)("g",{children:[(0,r1.jsx)("rect",{x:"85.7",y:"8.85",width:"6.78",height:"32.54"}),(0,r1.jsx)("rect",{x:"85.7",width:"6.78",height:"6.17"})]}),(0,r1.jsx)("path",{d:"M104.58,16.41c0-1.69,1.2-2.6,3-2.6,2.18,0,3.39,1.46,3.87,4.06l5.75-1c-1-5.08-4.6-8.65-9.92-8.65-5.09,0-9.08,3.57-9.08,8.71,0,8.89,12.7,11,12.7,16.63a2.75,2.75,0,0,1-3,2.85c-3.08,0-4-2.43-4.48-5.15l-5.92,1.64c1,5.68,4.41,9.07,10.34,9.07,5.5,0,9.5-3,9.5-8.77C117.28,23.55,104.58,21.5,104.58,16.41Z"}),(0,r1.jsx)("path",{d:"M130.46.08h-6.77V8.85h-3.75v5.57h3.75V34.68c0,5,2.84,7.32,7.92,7.32a11.8,11.8,0,0,0,3.39-.36V35.83h-2.24c-1.57,0-2.3-1-2.3-2.66V14.42H135V8.85h-4.54Z"}),(0,r1.jsx)("path",{d:"M159.43,17.08c0-5.93-3.57-8.83-9.86-8.83s-10.52,3.57-10.88,10.16h6.77c.12-2.78.79-4.6,3.87-4.6,2.24,0,3.33,1.46,3.33,4.18v1.93c-9.74,3.69-14.46,7.62-14.46,14.76,0,4.17,2.3,7.32,6.9,7.32,3.26,0,5.38-1.09,7.92-3.15.06.79.3,1.64.36,2.54h6.48a23.43,23.43,0,0,1-.43-3.44Zm-6.77,16.33c-1.15,1.63-2.66,3-4.54,3-2.05,0-3.14-.85-3.14-3,0-2.84,1.51-5.08,7.68-8.59Z"}),(0,r1.jsxs)("g",{children:[(0,r1.jsx)("path",{d:"M205.13,15.5a19,19,0,0,0-5.84,5.33l-1.55,2.24c-.23.32-.45.64-.51.71l-.47.67-1.43,2.06s-3.81,5.5-9.21,8.3c-5.6,2.91-12.93,2.72-13.53,2.7v3A1.47,1.47,0,0,0,174.06,42h39a1.47,1.47,0,0,0,1.47-1.47V13.91a1.58,1.58,0,0,1-.38.05S207.84,14.08,205.13,15.5Z"}),(0,r1.jsx)("path",{d:"M213.07,0h-39a1.47,1.47,0,0,0-1.47,1.47V28.1l.21,0s6.32-.12,9-1.53a19.06,19.06,0,0,0,5.84-5.34L189.23,19l.5-.71c.06-.07.32-.45.47-.67s.8-1.14,1.43-2.06a29.65,29.65,0,0,1,9.21-8.3c5.84-3,13.58-2.7,13.58-2.7h.12v-3A1.47,1.47,0,0,0,213.07,0Z"})]})]});var ml=g(N(),1);var hp=({renderAs:t,size:e,children:r,id:o,className:a})=>(0,ml.jsx)(t,{id:o,className:F("font-light text-foreground-strong [text-wrap:balance]",{"2xs":"tracking-spacious text-sm font-bold uppercase leading-tight text-foreground-neutral",xs:"text-xl",sm:"text-xl leading-tight lg:text-2xl lg:leading-tight",md:"text-2xl leading-tight lg:text-3xl lg:leading-tight",lg:"text-3xl leading-tight lg:text-4xl lg:leading-tight",xl:"text-4xl leading-tight lg:text-5xl lg:leading-tight","2xl":"text-5xl leading-tight lg:text-6xl lg:leading-tight"}[e],a),children:r});var bl=g(N(),1);var xp=({size:t="default",className:e,children:r})=>(0,bl.jsx)("p",{className:F("font-normal leading-normal",{sm:"text-sm",default:"text-base"}[t],e),children:r});var $l=g(N(),1);var Mp=({label:t,renderAs:e,size:r="md",className:o})=>(0,$l.jsx)(e,{className:F("pb-1 font-bold uppercase tracking-wide text-foreground-primary",{sm:"text-sm",md:"text-lg",lg:"text-xl"}[r],o),children:t});var ns=g(N(),1);var hl=g(y(),1),j=typeof document<"u"?hl.default.useLayoutEffect:()=>{};var W9=g(y(),1);function n1(t){let e=(0,W9.useRef)(null);return j(()=>{e.current=t},[t]),(0,W9.useCallback)((...r)=>{let o=e.current;return o?.(...r)},[])}var U9=g(y(),1);function gl(t){let[e,r]=(0,U9.useState)(t),o=(0,U9.useRef)(null),a=n1(()=>{if(!o.current)return;let i=o.current.next();if(i.done){o.current=null;return}e===i.value?a():r(i.value)});j(()=>{o.current&&a()});let l=n1(i=>{o.current=i(e),a()});return[e,l]}var r0=g(y(),1);var w1=g(y(),1),Y9={prefix:String(Math.round(Math.random()*1e10)),current:0},vl=w1.default.createContext(Y9),Ku=w1.default.createContext(!1);var Nu=Boolean(typeof window<"u"&&window.document&&window.document.createElement),a6=new WeakMap;function Ou(t=!1){let e=(0,w1.useContext)(vl),r=(0,w1.useRef)(null);if(r.current===null&&!t){var o,a;let l=(a=w1.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(o=a.ReactCurrentOwner)===null||o===void 0?void 0:o.current;if(l){let i=a6.get(l);i==null?a6.set(l,{id:e.current,state:l.memoizedState}):l.memoizedState!==i.state&&(e.current=i.id,a6.delete(l))}r.current=++e.current}return r.current}function ju(t){let e=(0,w1.useContext)(vl);e===Y9&&!Nu&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let r=Ou(!!t),o=`react-aria${e.prefix}`;return t||`${o}-${r}`}function Gu(t){let e=w1.default.useId(),[r]=(0,w1.useState)(y1()),o=r?"react-aria":`react-aria${Y9.prefix}`;return t||`${o}-${e}`}var l6=typeof w1.default.useId=="function"?Gu:ju;function _u(){return!1}function Wu(){return!0}function Uu(t){return()=>{}}function y1(){return typeof w1.default.useSyncExternalStore=="function"?w1.default.useSyncExternalStore(Uu,_u,Wu):(0,w1.useContext)(Ku)}var qu=Boolean(typeof window<"u"&&window.document&&window.document.createElement),D0=new Map;function X(t){let[e,r]=(0,r0.useState)(t),o=(0,r0.useRef)(null),a=l6(e),l=(0,r0.useCallback)(i=>{o.current=i},[]);return qu&&(D0.has(a)&&!D0.get(a).includes(l)?D0.set(a,[...D0.get(a),l]):D0.set(a,[l])),j(()=>{let i=a;return()=>{D0.delete(i)}},[a]),(0,r0.useEffect)(()=>{let i=o.current;i&&(o.current=null,r(i))}),a}function i6(t,e){if(t===e)return t;let r=D0.get(t);if(r)return r.forEach(a=>a(e)),e;let o=D0.get(e);return o?(o.forEach(a=>a(t)),t):e}function ie(t=[]){let e=X(),[r,o]=gl(e),a=(0,r0.useCallback)(()=>{o(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,o]);return j(a,[e,a,...t]),r}function D1(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}var t1=t=>{var e;return(e=t?.ownerDocument)!==null&&e!==void 0?e:document},R1=t=>t&&"window"in t&&t.window===t?t:t1(t).defaultView||window;function xl(t){var e,r,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e=65&&a.charCodeAt(2)<=90?e[a]=D1(l,i):(a==="className"||a==="UNSAFE_className")&&typeof l=="string"&&typeof i=="string"?e[a]=Ll(l,i):a==="id"&&l&&i?e.id=i6(l,i):e[a]=i!==void 0?i:l}}return e}function Ee(...t){return t.length===1&&t[0]?t[0]:e=>{for(let r of t)typeof r=="function"?r(e):r!=null&&(r.current=e)}}var Xu=new Set(["id"]),Qu=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ed=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),td=/^(data-.*)$/;function z(t,e={}){let{labelable:r,isLink:o,propNames:a}=e,l={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(Xu.has(i)||r&&Qu.has(i)||o&&ed.has(i)||a?.has(i)||td.test(i))&&(l[i]=t[i]);return l}function z1(t){if(rd())t.focus({preventScroll:!0});else{let e=od(t);t.focus(),ad(e)}}var q9=null;function rd(){if(q9==null){q9=!1;try{document.createElement("div").focus({get preventScroll(){return q9=!0,!0}})}catch{}}return q9}function od(t){let e=t.parentNode,r=[],o=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==o;)(e.offsetHeight"u"||window.navigator==null?!1:((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands.some(r=>t.test(r.brand)))||t.test(window.navigator.userAgent)}function s6(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function o0(t){let e=null;return()=>(e==null&&(e=t()),e)}var J1=o0(function(){return s6(/^Mac/i)}),yl=o0(function(){return s6(/^iPhone/i)}),X9=o0(function(){return s6(/^iPad/i)||J1()&&navigator.maxTouchPoints>1}),i3=o0(function(){return yl()||X9()}),n6=o0(function(){return J1()||i3()}),s3=o0(function(){return J9(/AppleWebKit/i)&&!Ml()}),Ml=o0(function(){return J9(/Chrome/i)}),n3=o0(function(){return J9(/Android/i)}),u6=o0(function(){return J9(/Firefox/i)});var _3=g(y(),1),ld=(0,_3.createContext)({isNative:!0,open:sd,useHref:t=>t});function a0(){return(0,_3.useContext)(ld)}function Ke(t,e,r=!0){var o,a;let{metaKey:l,ctrlKey:i,altKey:s,shiftKey:n}=e;u6()&&(!((a=window.event)===null||a===void 0||(o=a.type)===null||o===void 0)&&o.startsWith("key"))&&t.target==="_blank"&&(J1()?l=!0:i=!0);let u=s3()&&J1()&&!X9()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:i,altKey:s,shiftKey:n}):new MouseEvent("click",{metaKey:l,ctrlKey:i,altKey:s,shiftKey:n,bubbles:!0,cancelable:!0});Ke.isOpening=r,z1(t),t.dispatchEvent(u),Ke.isOpening=!1}Ke.isOpening=!1;function id(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let r=document.createElement("a");r.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(r.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(r.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(r.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(r.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(r),e(r),t.removeChild(r)}}function sd(t,e){id(t,r=>Ke(r,e))}function d6(t){let e=a0();var r;let o=e.useHref((r=t.href)!==null&&r!==void 0?r:"");return{"data-href":t.href?o:void 0,"data-target":t.target,"data-rel":t.rel,"data-download":t.download,"data-ping":t.ping,"data-referrer-policy":t.referrerPolicy}}function u3(t){let e=a0();var r;let o=e.useHref((r=t?.href)!==null&&r!==void 0?r:"");return{href:t?.href?o:void 0,target:t?.target,rel:t?.rel,download:t?.download,ping:t?.ping,referrerPolicy:t?.referrerPolicy}}var W3=new Map,c6=new Set;function Sl(){if(typeof window>"u")return;function t(o){return"propertyName"in o}let e=o=>{if(!t(o)||!o.target)return;let a=W3.get(o.target);a||(a=new Set,W3.set(o.target,a),o.target.addEventListener("transitioncancel",r,{once:!0})),a.add(o.propertyName)},r=o=>{if(!t(o)||!o.target)return;let a=W3.get(o.target);if(a&&(a.delete(o.propertyName),a.size===0&&(o.target.removeEventListener("transitioncancel",r),W3.delete(o.target)),W3.size===0)){for(let l of c6)l();c6.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Sl():document.addEventListener("DOMContentLoaded",Sl));function _2(t){requestAnimationFrame(()=>{W3.size===0?t():c6.add(t)})}var k0=g(y(),1);function we(){let t=(0,k0.useRef)(new Map),e=(0,k0.useCallback)((a,l,i,s)=>{let n=s?.once?(...u)=>{t.current.delete(i),i(...u)}:i;t.current.set(i,{type:l,eventTarget:a,fn:n,options:s}),a.addEventListener(l,i,s)},[]),r=(0,k0.useCallback)((a,l,i,s)=>{var n;let u=((n=t.current.get(i))===null||n===void 0?void 0:n.fn)||i;a.removeEventListener(l,u,s),t.current.delete(i)},[]),o=(0,k0.useCallback)(()=>{t.current.forEach((a,l)=>{r(a.eventTarget,a.type,l,a.options)})},[r]);return(0,k0.useEffect)(()=>o,[o]),{addGlobalListener:e,removeGlobalListener:r,removeAllGlobalListeners:o}}function l0(t,e){let{id:r,"aria-label":o,"aria-labelledby":a}=t;return r=X(r),a&&o?a=[...new Set([r,...a.trim().split(/\s+/)])].join(" "):a&&(a=a.trim().split(/\s+/).join(" ")),!o&&!a&&e&&(o=e),{id:r,"aria-label":o,"aria-labelledby":a}}var Q9=g(y(),1);function i1(t){let e=(0,Q9.useRef)(null);return(0,Q9.useMemo)(()=>({get current(){return e.current},set current(r){e.current=r,typeof t=="function"?t(r):t&&(t.current=r)}}),[t])}var U3=g(y(),1);function W2(t,e){let r=(0,U3.useRef)(!0),o=(0,U3.useRef)(null);(0,U3.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,U3.useEffect)(()=>{r.current?r.current=!1:(!o.current||e.some((a,l)=>!Object.is(a,o[l])))&&t(),o.current=e},e)}var Pl=g(y(),1);function nd(){return typeof window.ResizeObserver<"u"}function i0(t){let{ref:e,box:r,onResize:o}=t;(0,Pl.useEffect)(()=>{let a=e?.current;if(a)if(nd()){let l=new window.ResizeObserver(i=>{i.length&&o()});return l.observe(a,{box:r}),()=>{a&&l.unobserve(a)}}else return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)}},[o,e,r])}function d3(t,e){j(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function Ne(t,e){let r=window.getComputedStyle(t),o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return o&&e&&(o=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),o}function De(t,e){let r=t;for(Ne(r,e)&&(r=r.parentElement);r&&!Ne(r,e);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function Hl(t,e){let r=[];for(;t&&t!==document.documentElement;)Ne(t,e)&&r.push(t),t=t.parentElement;return r}var e5=g(y(),1);var me=typeof document<"u"&&window.visualViewport;function f6(){let t=y1(),[e,r]=(0,e5.useState)(()=>t?{width:0,height:0}:Vl());return(0,e5.useEffect)(()=>{let o=()=>{r(a=>{let l=Vl();return l.width===a.width&&l.height===a.height?a:l})};return me?me.addEventListener("resize",o):window.addEventListener("resize",o),()=>{me?me.removeEventListener("resize",o):window.removeEventListener("resize",o)}},[]),e}function Vl(){return{width:me&&me?.width||window.innerWidth,height:me&&me?.height||window.innerHeight}}var El=g(y(),1),ud=0,C6=new Map;function s0(t){let[e,r]=(0,El.useState)();return j(()=>{if(!t)return;let o=C6.get(t);if(o)r(o.element.id);else{let a=`react-aria-description-${ud++}`;r(a);let l=document.createElement("div");l.id=a,l.style.display="none",l.textContent=t,document.body.appendChild(l),o={refCount:0,element:l},C6.set(t,o)}return o.refCount++,()=>{o&&--o.refCount===0&&(o.element.remove(),C6.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}var wl=g(y(),1);function t5(t,e,r,o){let a=n1(r),l=r==null;(0,wl.useEffect)(()=>{if(l||!t.current)return;let i=t.current;return i.addEventListener(e,a,o),()=>{i.removeEventListener(e,a,o)}},[t,e,o,l,a])}function r5(t,e){let r=Dl(t,e,"left"),o=Dl(t,e,"top"),a=e.offsetWidth,l=e.offsetHeight,i=t.scrollLeft,s=t.scrollTop,{borderTopWidth:n,borderLeftWidth:u}=getComputedStyle(t),d=t.scrollLeft+parseInt(u,10),c=t.scrollTop+parseInt(n,10),C=d+t.clientWidth,f=c+t.clientHeight;r<=i?i=r-parseInt(u,10):r+a>C&&(i+=r+a-C),o<=c?s=o-parseInt(n,10):o+l>f&&(s+=o+l-f),t.scrollLeft=i,t.scrollTop=s}function Dl(t,e,r){let o=r==="left"?"offsetLeft":"offsetTop",a=0;for(;e.offsetParent&&(a+=e[o],e.offsetParent!==t);){if(e.offsetParent.contains(t)){a-=t[o];break}e=e.offsetParent}return a}function ke(t,e){if(document.contains(t)){let i=document.scrollingElement||document.documentElement;if(window.getComputedStyle(i).overflow==="hidden"){let n=Hl(t);for(let u of n)r5(u,t)}else{var r;let{left:n,top:u}=t.getBoundingClientRect();t==null||(r=t.scrollIntoView)===null||r===void 0||r.call(t,{block:"nearest"});let{left:d,top:c}=t.getBoundingClientRect();if(Math.abs(n-d)>1||Math.abs(u-c)>1){var o,a,l;e==null||(a=e.containingElement)===null||a===void 0||(o=a.scrollIntoView)===null||o===void 0||o.call(a,{block:"center",inline:"center"}),(l=t.scrollIntoView)===null||l===void 0||l.call(t,{block:"nearest"})}}}}function Y3(t){return t.mozInputSource===0&&t.isTrusted?!0:n3()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function p6(t){return!n3()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}var o5=g(y(),1);function Ze(t,e,r){let o=(0,o5.useRef)(e),a=n1(()=>{r&&r(o.current)});(0,o5.useEffect)(()=>{var l;let i=t==null||(l=t.current)===null||l===void 0?void 0:l.form;return i?.addEventListener("reset",a),()=>{i?.removeEventListener("reset",a)}},[t,a])}var Z0=g(y(),1);function v1(t,e,r){let[o,a]=(0,Z0.useState)(t||e),l=(0,Z0.useRef)(t!==void 0),i=t!==void 0;(0,Z0.useEffect)(()=>{let u=l.current;u!==i&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}.`),l.current=i},[i]);let s=i?t:o,n=(0,Z0.useCallback)((u,...d)=>{let c=(C,...f)=>{r&&(Object.is(s,C)||r(C,...f)),i||(s=C)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),a((f,...p)=>{let $=u(i?s:f,...p);return c($,...d),i?f:$})):(i||a(u),c(u,...d))},[i,s,r]);return[s,n]}function be(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}function a5(t,e){let r=t,o=e.toString(),a=o.indexOf("."),l=a>=0?o.length-a:0;if(l>0){let i=Math.pow(10,l);r=Math.round(r*i)/i}return r}function T0(t,e,r,o){e=Number(e),r=Number(r);let a=(t-(isNaN(e)?0:e))%o,l=a5(Math.abs(a)*2>=o?t+Math.sign(a)*(o-Math.abs(a)):t-a,o);return isNaN(e)?!isNaN(r)&&l>r&&(l=Math.floor(a5(r/o,o))*o):lr&&(l=e+Math.floor(a5((r-e)/o,o))*o),l=a5(l,o),l}var us=g(y(),1);var q3="default",m6="",l5=new WeakMap;function U2(t){if(i3()){if(q3==="default"){let e=t1(t);m6=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}q3="disabled"}else(t instanceof HTMLElement||t instanceof SVGElement)&&(l5.set(t,t.style.userSelect),t.style.userSelect="none")}function c3(t){if(i3()){if(q3!=="disabled")return;q3="restoring",setTimeout(()=>{_2(()=>{if(q3==="restoring"){let e=t1(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=m6||""),m6="",q3="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&l5.has(t)){let e=l5.get(t);t.style.userSelect==="none"&&(t.style.userSelect=e),t.getAttribute("style")===""&&t.removeAttribute("style"),l5.delete(t)}}var kl=g(y(),1),f3=kl.default.createContext({register:()=>{}});f3.displayName="PressResponderContext";function Zl(t,e){return e.get?e.get.call(t):e.value}function i5(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function Tl(t,e){var r=i5(t,e,"get");return Zl(t,r)}function Fl(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Bl(t,e,r){Fl(t,e),e.set(t,r)}function Rl(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function b6(t,e,r){var o=i5(t,e,"set");return Rl(t,o,r),r}var Oe=g(y(),1);function cd(t){let e=(0,Oe.useContext)(f3);if(e){let{register:r,...o}=e;t=E(o,t),r()}return d3(e,t.ref),t}var s5=new WeakMap,X3=class{continuePropagation(){b6(this,s5,!1)}get shouldStopPropagation(){return Tl(this,s5)}constructor(e,r,o,a){Bl(this,s5,{writable:!0,value:void 0}),b6(this,s5,!0);var l;let i=(l=a?.target)!==null&&l!==void 0?l:o.currentTarget,s=i?.getBoundingClientRect(),n,u=0,d,c=null;o.clientX!=null&&o.clientY!=null&&(d=o.clientX,c=o.clientY),s&&(d!=null&&c!=null?(n=d-s.left,u=c-s.top):(n=s.width/2,u=s.height/2)),this.type=e,this.pointerType=r,this.target=o.currentTarget,this.shiftKey=o.shiftKey,this.metaKey=o.metaKey,this.ctrlKey=o.ctrlKey,this.altKey=o.altKey,this.x=n,this.y=u}},Il=Symbol("linkClicked");function k1(t){let{onPress:e,onPressChange:r,onPressStart:o,onPressEnd:a,onPressUp:l,isDisabled:i,isPressed:s,preventFocusOnPress:n,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:c,...C}=cd(t),[f,p]=(0,Oe.useState)(!1),$=(0,Oe.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:h,removeAllGlobalListeners:b}=we(),x=n1((m,D)=>{let P=$.current;if(i||P.didFirePressStart)return!1;let V=!0;if(P.isTriggeringEvent=!0,o){let T=new X3("pressstart",D,m);o(T),V=T.shouldStopPropagation}return r&&r(!0),P.isTriggeringEvent=!1,P.didFirePressStart=!0,p(!0),V}),v=n1((m,D,P=!0)=>{let V=$.current;if(!V.didFirePressStart)return!1;V.ignoreClickAfterPress=!0,V.didFirePressStart=!1,V.isTriggeringEvent=!0;let T=!0;if(a){let M=new X3("pressend",D,m);a(M),T=M.shouldStopPropagation}if(r&&r(!1),p(!1),e&&P&&!i){let M=new X3("press",D,m);e(M),T&&(T=M.shouldStopPropagation)}return V.isTriggeringEvent=!1,T}),S=n1((m,D)=>{let P=$.current;if(i)return!1;if(l){P.isTriggeringEvent=!0;let V=new X3("pressup",D,m);return l(V),P.isTriggeringEvent=!1,V.shouldStopPropagation}return!0}),L=n1(m=>{let D=$.current;D.isPressed&&D.target&&(D.isOverTarget&&D.pointerType!=null&&v(n0(D.target,m),D.pointerType,!1),D.isPressed=!1,D.isOverTarget=!1,D.activePointerId=null,D.pointerType=null,b(),d||c3(D.target))}),H=n1(m=>{u&&L(m)}),Z=(0,Oe.useMemo)(()=>{let m=$.current,D={onKeyDown(V){if($6(V.nativeEvent,V.currentTarget)&&V.currentTarget.contains(V.target)){var T;zl(V.target,V.key)&&V.preventDefault();let M=!0;if(!m.isPressed&&!V.repeat){m.target=V.currentTarget,m.isPressed=!0,M=x(V,"keyboard");let A=V.currentTarget,w=R=>{$6(R,A)&&!R.repeat&&A.contains(R.target)&&m.target&&S(n0(m.target,R),"keyboard")};h(t1(V.currentTarget),"keyup",D1(w,P),!0)}M&&V.stopPropagation(),V.metaKey&&J1()&&((T=m.metaKeyEvents)===null||T===void 0||T.set(V.key,V.nativeEvent))}else V.key==="Meta"&&(m.metaKeyEvents=new Map)},onClick(V){if(!(V&&!V.currentTarget.contains(V.target))&&V&&V.button===0&&!m.isTriggeringEvent&&!Ke.isOpening){let T=!0;if(i&&V.preventDefault(),!m.ignoreClickAfterPress&&!m.ignoreEmulatedMouseEvents&&!m.isPressed&&(m.pointerType==="virtual"||Y3(V.nativeEvent))){!i&&!n&&z1(V.currentTarget);let M=x(V,"virtual"),A=S(V,"virtual"),w=v(V,"virtual");T=M&&A&&w}m.ignoreEmulatedMouseEvents=!1,m.ignoreClickAfterPress=!1,T&&V.stopPropagation()}}},P=V=>{var T;if(m.isPressed&&m.target&&$6(V,m.target)){var M;zl(V.target,V.key)&&V.preventDefault();let w=V.target;v(n0(m.target,V),"keyboard",m.target.contains(w)),b(),V.key!=="Enter"&&g6(m.target)&&m.target.contains(w)&&!V[Il]&&(V[Il]=!0,Ke(m.target,V,!1)),m.isPressed=!1,(M=m.metaKeyEvents)===null||M===void 0||M.delete(V.key)}else if(V.key==="Meta"&&(!((T=m.metaKeyEvents)===null||T===void 0)&&T.size)){var A;let w=m.metaKeyEvents;m.metaKeyEvents=void 0;for(let R of w.values())(A=m.target)===null||A===void 0||A.dispatchEvent(new KeyboardEvent("keyup",R))}};if(typeof PointerEvent<"u"){D.onPointerDown=w=>{if(w.button!==0||!w.currentTarget.contains(w.target))return;if(p6(w.nativeEvent)){m.pointerType="virtual";return}h6(w.currentTarget)&&w.preventDefault(),m.pointerType=w.pointerType;let R=!0;m.isPressed||(m.isPressed=!0,m.isOverTarget=!0,m.activePointerId=w.pointerId,m.target=w.currentTarget,!i&&!n&&z1(w.currentTarget),d||U2(m.target),R=x(w,m.pointerType),h(t1(w.currentTarget),"pointermove",V,!1),h(t1(w.currentTarget),"pointerup",T,!1),h(t1(w.currentTarget),"pointercancel",A,!1)),R&&w.stopPropagation()},D.onMouseDown=w=>{w.currentTarget.contains(w.target)&&w.button===0&&(h6(w.currentTarget)&&w.preventDefault(),w.stopPropagation())},D.onPointerUp=w=>{!w.currentTarget.contains(w.target)||m.pointerType==="virtual"||w.button===0&&J3(w,w.currentTarget)&&S(w,m.pointerType||w.pointerType)};let V=w=>{w.pointerId===m.activePointerId&&(m.target&&J3(w,m.target)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,x(n0(m.target,w),m.pointerType)):m.target&&m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,v(n0(m.target,w),m.pointerType,!1),H(w)))},T=w=>{w.pointerId===m.activePointerId&&m.isPressed&&w.button===0&&m.target&&(J3(w,m.target)&&m.pointerType!=null?v(n0(m.target,w),m.pointerType):m.isOverTarget&&m.pointerType!=null&&v(n0(m.target,w),m.pointerType,!1),m.isPressed=!1,m.isOverTarget=!1,m.activePointerId=null,m.pointerType=null,b(),d||c3(m.target),"ontouchend"in m.target&&w.pointerType!=="mouse"&&h(m.target,"touchend",M,{once:!0}))},M=w=>{Kl(w.currentTarget)&&w.preventDefault()},A=w=>{L(w)};D.onDragStart=w=>{w.currentTarget.contains(w.target)&&L(w)}}else{D.onMouseDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(h6(M.currentTarget)&&M.preventDefault(),m.ignoreEmulatedMouseEvents){M.stopPropagation();return}m.isPressed=!0,m.isOverTarget=!0,m.target=M.currentTarget,m.pointerType=Y3(M.nativeEvent)?"virtual":"mouse",!i&&!n&&z1(M.currentTarget),x(M,m.pointerType)&&M.stopPropagation(),h(t1(M.currentTarget),"mouseup",V,!1)},D.onMouseEnter=M=>{if(!M.currentTarget.contains(M.target))return;let A=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!0,A=x(M,m.pointerType)),A&&M.stopPropagation()},D.onMouseLeave=M=>{if(!M.currentTarget.contains(M.target))return;let A=!0;m.isPressed&&!m.ignoreEmulatedMouseEvents&&m.pointerType!=null&&(m.isOverTarget=!1,A=v(M,m.pointerType,!1),H(M)),A&&M.stopPropagation()},D.onMouseUp=M=>{M.currentTarget.contains(M.target)&&!m.ignoreEmulatedMouseEvents&&M.button===0&&S(M,m.pointerType||"mouse")};let V=M=>{if(M.button===0){if(m.isPressed=!1,b(),m.ignoreEmulatedMouseEvents){m.ignoreEmulatedMouseEvents=!1;return}m.target&&J3(M,m.target)&&m.pointerType!=null?v(n0(m.target,M),m.pointerType):m.target&&m.isOverTarget&&m.pointerType!=null&&v(n0(m.target,M),m.pointerType,!1),m.isOverTarget=!1}};D.onTouchStart=M=>{if(!M.currentTarget.contains(M.target))return;let A=fd(M.nativeEvent);if(!A)return;m.activePointerId=A.identifier,m.ignoreEmulatedMouseEvents=!0,m.isOverTarget=!0,m.isPressed=!0,m.target=M.currentTarget,m.pointerType="touch",!i&&!n&&z1(M.currentTarget),d||U2(m.target),x(F0(m.target,M),m.pointerType)&&M.stopPropagation(),h(R1(M.currentTarget),"scroll",T,!0)},D.onTouchMove=M=>{if(!M.currentTarget.contains(M.target))return;if(!m.isPressed){M.stopPropagation();return}let A=Al(M.nativeEvent,m.activePointerId),w=!0;A&&J3(A,M.currentTarget)?!m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!0,w=x(F0(m.target,M),m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(m.isOverTarget=!1,w=v(F0(m.target,M),m.pointerType,!1),H(F0(m.target,M))),w&&M.stopPropagation()},D.onTouchEnd=M=>{if(!M.currentTarget.contains(M.target))return;if(!m.isPressed){M.stopPropagation();return}let A=Al(M.nativeEvent,m.activePointerId),w=!0;A&&J3(A,M.currentTarget)&&m.pointerType!=null?(S(F0(m.target,M),m.pointerType),w=v(F0(m.target,M),m.pointerType)):m.isOverTarget&&m.pointerType!=null&&(w=v(F0(m.target,M),m.pointerType,!1)),w&&M.stopPropagation(),m.isPressed=!1,m.activePointerId=null,m.isOverTarget=!1,m.ignoreEmulatedMouseEvents=!0,m.target&&!d&&c3(m.target),b()},D.onTouchCancel=M=>{M.currentTarget.contains(M.target)&&(M.stopPropagation(),m.isPressed&&L(F0(m.target,M)))};let T=M=>{m.isPressed&&M.target.contains(m.target)&&L({currentTarget:m.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};D.onDragStart=M=>{M.currentTarget.contains(M.target)&&L(M)}}return D},[h,i,n,b,d,L,H,v,x,S]);return(0,Oe.useEffect)(()=>()=>{var m;d||c3((m=$.current.target)!==null&&m!==void 0?m:void 0)},[d]),{isPressed:s||f,pressProps:E(C,Z)}}function g6(t){return t.tagName==="A"&&t.hasAttribute("href")}function $6(t,e){let{key:r,code:o}=t,a=e,l=a.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||o==="Space")&&!(a instanceof R1(a).HTMLInputElement&&!Nl(a,r)||a instanceof R1(a).HTMLTextAreaElement||a.isContentEditable)&&!((l==="link"||!l&&g6(a))&&r!=="Enter")}function fd(t){let{targetTouches:e}=t;return e.length>0?e[0]:null}function Al(t,e){let r=t.changedTouches;for(let o=0;oe.right||e.left>t.right||t.top>e.bottom||e.top>t.bottom)}function J3(t,e){let r=e.getBoundingClientRect(),o=Cd(t);return pd(r,o)}function h6(t){return!(t instanceof HTMLElement)||!t.hasAttribute("draggable")}function Kl(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!g6(t)}function zl(t,e){return t instanceof HTMLInputElement?!Nl(t,e):Kl(t)}var md=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Nl(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":md.has(t.type)}var $e=g(y(),1),Y2=$e.default.forwardRef(({children:t,...e},r)=>{let o=(0,$e.useRef)(!1),a=(0,$e.useContext)(f3);r=i1(r||a?.ref);let l=E(a||{},{...e,ref:r,register(){o.current=!0,a&&a.register()}});return d3(a,r),(0,$e.useEffect)(()=>{o.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with component."),o.current=!0)},[]),$e.default.createElement(f3.Provider,{value:l},t)});function v6({children:t}){let e=(0,$e.useMemo)(()=>({register:()=>{}}),[]);return $e.default.createElement(f3.Provider,{value:e},t)}var n5=g(y(),1);var x6=class{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=e}};function u5(t){let e=(0,n5.useRef)({isFocused:!1,observer:null});j(()=>{let o=e.current;return()=>{o.observer&&(o.observer.disconnect(),o.observer=null)}},[]);let r=n1(o=>{t?.(o)});return(0,n5.useCallback)(o=>{if(o.target instanceof HTMLButtonElement||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement||o.target instanceof HTMLSelectElement){e.current.isFocused=!0;let a=o.target,l=i=>{e.current.isFocused=!1,a.disabled&&r(new x6("blur",i)),e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};a.addEventListener("focusout",l,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&a.disabled){var i;(i=e.current.observer)===null||i===void 0||i.disconnect();let s=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),e.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}var L6=g(y(),1);function B0(t){let{isDisabled:e,onFocus:r,onBlur:o,onFocusChange:a}=t,l=(0,L6.useCallback)(n=>{if(n.target===n.currentTarget)return o&&o(n),a&&a(!1),!0},[o,a]),i=u5(l),s=(0,L6.useCallback)(n=>{let u=t1(n.target);n.target===n.currentTarget&&u.activeElement===n.target&&(r&&r(n),a&&a(!0),i(n))},[a,r,i]);return{focusProps:{onFocus:!e&&(r||a||o)?s:void 0,onBlur:!e&&(o||a)?l:void 0}}}var X2=g(y(),1);var u0=null,J2=new Set,q2=new Map,C3=!1,y6=!1,bd={Tab:!0,Escape:!0};function f5(t,e){for(let r of J2)r(t,e)}function $d(t){return!(t.metaKey||!J1()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function d5(t){C3=!0,$d(t)&&(u0="keyboard",f5("keyboard",t))}function he(t){u0="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(C3=!0,f5("pointer",t))}function Ol(t){Y3(t)&&(C3=!0,u0="virtual")}function jl(t){t.target===window||t.target===document||(!C3&&!y6&&(u0="virtual",f5("virtual",t)),C3=!1,y6=!1)}function Gl(){C3=!1,y6=!0}function c5(t){if(typeof window>"u"||q2.get(R1(t)))return;let e=R1(t),r=t1(t),o=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){C3=!0,o.apply(this,arguments)},r.addEventListener("keydown",d5,!0),r.addEventListener("keyup",d5,!0),r.addEventListener("click",Ol,!0),e.addEventListener("focus",jl,!0),e.addEventListener("blur",Gl,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",he,!0),r.addEventListener("pointermove",he,!0),r.addEventListener("pointerup",he,!0)):(r.addEventListener("mousedown",he,!0),r.addEventListener("mousemove",he,!0),r.addEventListener("mouseup",he,!0)),e.addEventListener("beforeunload",()=>{_l(t)},{once:!0}),q2.set(e,{focus:o})}var _l=(t,e)=>{let r=R1(t),o=t1(t);e&&o.removeEventListener("DOMContentLoaded",e),q2.has(r)&&(r.HTMLElement.prototype.focus=q2.get(r).focus,o.removeEventListener("keydown",d5,!0),o.removeEventListener("keyup",d5,!0),o.removeEventListener("click",Ol,!0),r.removeEventListener("focus",jl,!0),r.removeEventListener("blur",Gl,!1),typeof PointerEvent<"u"?(o.removeEventListener("pointerdown",he,!0),o.removeEventListener("pointermove",he,!0),o.removeEventListener("pointerup",he,!0)):(o.removeEventListener("mousedown",he,!0),o.removeEventListener("mousemove",he,!0),o.removeEventListener("mouseup",he,!0)),q2.delete(r))};function Wl(t){let e=t1(t),r;return e.readyState!=="loading"?c5(t):(r=()=>{c5(t)},e.addEventListener("DOMContentLoaded",r)),()=>_l(t,r)}typeof document<"u"&&Wl();function se(){return u0!=="pointer"}function R0(){return u0}function p3(t){u0=t,f5(t,null)}function Q2(){c5();let[t,e]=(0,X2.useState)(u0);return(0,X2.useEffect)(()=>{let r=()=>{e(u0)};return J2.add(r),()=>{J2.delete(r)}},[]),y1()?null:t}var hd=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function gd(t,e,r){var o;let a=typeof window<"u"?R1(r?.target).HTMLInputElement:HTMLInputElement,l=typeof window<"u"?R1(r?.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?R1(r?.target).HTMLElement:HTMLElement,s=typeof window<"u"?R1(r?.target).KeyboardEvent:KeyboardEvent;return t=t||r?.target instanceof a&&!hd.has(r==null||(o=r.target)===null||o===void 0?void 0:o.type)||r?.target instanceof l||r?.target instanceof i&&r?.target.isContentEditable,!(t&&e==="keyboard"&&r instanceof s&&!bd[r.key])}function M6(t,e,r){c5(),(0,X2.useEffect)(()=>{let o=(a,l)=>{gd(!!r?.isTextInput,a,l)&&t(se())};return J2.add(o),()=>{J2.delete(o)}},e)}var e9=g(y(),1);function X1(t){let{isDisabled:e,onBlurWithin:r,onFocusWithin:o,onFocusWithinChange:a}=t,l=(0,e9.useRef)({isFocusWithin:!1}),i=(0,e9.useCallback)(u=>{l.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(l.current.isFocusWithin=!1,r&&r(u),a&&a(!1))},[r,a,l]),s=u5(i),n=(0,e9.useCallback)(u=>{!l.current.isFocusWithin&&document.activeElement===u.target&&(o&&o(u),a&&a(!0),l.current.isFocusWithin=!0,s(u))},[o,a,s]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:n,onBlur:i}}}var d0=g(y(),1),C5=!1,S6=0;function P6(){C5=!0,setTimeout(()=>{C5=!1},50)}function Ul(t){t.pointerType==="touch"&&P6()}function vd(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Ul):document.addEventListener("touchend",P6),S6++,()=>{S6--,!(S6>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ul):document.removeEventListener("touchend",P6))}}function a1(t){let{onHoverStart:e,onHoverChange:r,onHoverEnd:o,isDisabled:a}=t,[l,i]=(0,d0.useState)(!1),s=(0,d0.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,d0.useEffect)(vd,[]);let{hoverProps:n,triggerHoverEnd:u}=(0,d0.useMemo)(()=>{let d=(f,p)=>{if(s.pointerType=p,a||p==="touch"||s.isHovered||!f.currentTarget.contains(f.target))return;s.isHovered=!0;let $=f.currentTarget;s.target=$,e&&e({type:"hoverstart",target:$,pointerType:p}),r&&r(!0),i(!0)},c=(f,p)=>{if(s.pointerType="",s.target=null,p==="touch"||!s.isHovered)return;s.isHovered=!1;let $=f.currentTarget;o&&o({type:"hoverend",target:$,pointerType:p}),r&&r(!1),i(!1)},C={};return typeof PointerEvent<"u"?(C.onPointerEnter=f=>{C5&&f.pointerType==="mouse"||d(f,f.pointerType)},C.onPointerLeave=f=>{!a&&f.currentTarget.contains(f.target)&&c(f,f.pointerType)}):(C.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},C.onMouseEnter=f=>{!s.ignoreEmulatedMouseEvents&&!C5&&d(f,"mouse"),s.ignoreEmulatedMouseEvents=!1},C.onMouseLeave=f=>{!a&&f.currentTarget.contains(f.target)&&c(f,"mouse")}),{hoverProps:C,triggerHoverEnd:c}},[e,r,o,a,s]);return(0,d0.useEffect)(()=>{a&&u({currentTarget:s.target},s.pointerType)},[a]),{hoverProps:n,isHovered:l}}var m5=g(y(),1);function Q3(t){let{ref:e,onInteractOutside:r,isDisabled:o,onInteractOutsideStart:a}=t,l=(0,m5.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=n1(n=>{r&&p5(n,e)&&(a&&a(n),l.current.isPointerDown=!0)}),s=n1(n=>{r&&r(n)});(0,m5.useEffect)(()=>{let n=l.current;if(o)return;let u=e.current,d=t1(u);if(typeof PointerEvent<"u"){let c=C=>{n.isPointerDown&&p5(C,e)&&s(C),n.isPointerDown=!1};return d.addEventListener("pointerdown",i,!0),d.addEventListener("pointerup",c,!0),()=>{d.removeEventListener("pointerdown",i,!0),d.removeEventListener("pointerup",c,!0)}}else{let c=f=>{n.ignoreEmulatedMouseEvents?n.ignoreEmulatedMouseEvents=!1:n.isPointerDown&&p5(f,e)&&s(f),n.isPointerDown=!1},C=f=>{n.ignoreEmulatedMouseEvents=!0,n.isPointerDown&&p5(f,e)&&s(f),n.isPointerDown=!1};return d.addEventListener("mousedown",i,!0),d.addEventListener("mouseup",c,!0),d.addEventListener("touchstart",i,!0),d.addEventListener("touchend",C,!0),()=>{d.removeEventListener("mousedown",i,!0),d.removeEventListener("mouseup",c,!0),d.removeEventListener("touchstart",i,!0),d.removeEventListener("touchend",C,!0)}}},[e,o,i,s])}function p5(t,e){if(t.button>0)return!1;if(t.target){let r=t.target.ownerDocument;if(!r||!r.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current&&!e.current.contains(t.target)}function H6(t){if(!t)return;let e=!0;return r=>{let o={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){e=!1}};t(o),e&&r.stopPropagation()}}function I0(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:H6(t.onKeyDown),onKeyUp:H6(t.onKeyUp)}}}var b5=g(y(),1);function e2(t){let{onMoveStart:e,onMove:r,onMoveEnd:o}=t,a=(0,b5.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:l,removeGlobalListener:i}=we(),s=n1((d,c,C,f)=>{C===0&&f===0||(a.current.didMove||(a.current.didMove=!0,e?.({type:"movestart",pointerType:c,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),r?.({type:"move",pointerType:c,deltaX:C,deltaY:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),n=n1((d,c)=>{c3(),a.current.didMove&&o?.({type:"moveend",pointerType:c,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})});return{moveProps:(0,b5.useMemo)(()=>{let d={},c=()=>{U2(),a.current.didMove=!1};if(typeof PointerEvent>"u"){let f=b=>{if(b.button===0){var x,v,S,L;s(b,"mouse",b.pageX-((S=(x=a.current.lastPosition)===null||x===void 0?void 0:x.pageX)!==null&&S!==void 0?S:0),b.pageY-((L=(v=a.current.lastPosition)===null||v===void 0?void 0:v.pageY)!==null&&L!==void 0?L:0)),a.current.lastPosition={pageX:b.pageX,pageY:b.pageY}}},p=b=>{b.button===0&&(n(b,"mouse"),i(window,"mousemove",f,!1),i(window,"mouseup",p,!1))};d.onMouseDown=b=>{b.button===0&&(c(),b.stopPropagation(),b.preventDefault(),a.current.lastPosition={pageX:b.pageX,pageY:b.pageY},l(window,"mousemove",f,!1),l(window,"mouseup",p,!1))};let $=b=>{let x=[...b.changedTouches].findIndex(({identifier:Z})=>Z===a.current.id);if(x>=0){var v,S;let{pageX:Z,pageY:m}=b.changedTouches[x];var L,H;s(b,"touch",Z-((L=(v=a.current.lastPosition)===null||v===void 0?void 0:v.pageX)!==null&&L!==void 0?L:0),m-((H=(S=a.current.lastPosition)===null||S===void 0?void 0:S.pageY)!==null&&H!==void 0?H:0)),a.current.lastPosition={pageX:Z,pageY:m}}},h=b=>{[...b.changedTouches].findIndex(({identifier:v})=>v===a.current.id)>=0&&(n(b,"touch"),a.current.id=null,i(window,"touchmove",$),i(window,"touchend",h),i(window,"touchcancel",h))};d.onTouchStart=b=>{if(b.changedTouches.length===0||a.current.id!=null)return;let{pageX:x,pageY:v,identifier:S}=b.changedTouches[0];c(),b.stopPropagation(),b.preventDefault(),a.current.lastPosition={pageX:x,pageY:v},a.current.id=S,l(window,"touchmove",$,!1),l(window,"touchend",h,!1),l(window,"touchcancel",h,!1)}}else{let f=$=>{if($.pointerId===a.current.id){var h,b;let S=$.pointerType||"mouse";var x,v;s($,S,$.pageX-((x=(h=a.current.lastPosition)===null||h===void 0?void 0:h.pageX)!==null&&x!==void 0?x:0),$.pageY-((v=(b=a.current.lastPosition)===null||b===void 0?void 0:b.pageY)!==null&&v!==void 0?v:0)),a.current.lastPosition={pageX:$.pageX,pageY:$.pageY}}},p=$=>{if($.pointerId===a.current.id){let h=$.pointerType||"mouse";n($,h),a.current.id=null,i(window,"pointermove",f,!1),i(window,"pointerup",p,!1),i(window,"pointercancel",p,!1)}};d.onPointerDown=$=>{$.button===0&&a.current.id==null&&(c(),$.stopPropagation(),$.preventDefault(),a.current.lastPosition={pageX:$.pageX,pageY:$.pageY},a.current.id=$.pointerId,l(window,"pointermove",f,!1),l(window,"pointerup",p,!1),l(window,"pointercancel",p,!1))}}let C=(f,p,$)=>{c(),s(f,"keyboard",p,$),n(f,"keyboard")};return d.onKeyDown=f=>{switch(f.key){case"Left":case"ArrowLeft":f.preventDefault(),f.stopPropagation(),C(f,-1,0);break;case"Right":case"ArrowRight":f.preventDefault(),f.stopPropagation(),C(f,1,0);break;case"Up":case"ArrowUp":f.preventDefault(),f.stopPropagation(),C(f,0,-1);break;case"Down":case"ArrowDown":f.preventDefault(),f.stopPropagation(),C(f,0,1);break}},d},[a,l,i,s,n])}}var Yl=g(y(),1),xd=500;function t2(t){let{isDisabled:e,onLongPressStart:r,onLongPressEnd:o,onLongPress:a,threshold:l=xd,accessibilityDescription:i}=t,s=(0,Yl.useRef)(void 0),{addGlobalListener:n,removeGlobalListener:u}=we(),{pressProps:d}=k1({isDisabled:e,onPressStart(C){if(C.continuePropagation(),(C.pointerType==="mouse"||C.pointerType==="touch")&&(r&&r({...C,type:"longpressstart"}),s.current=setTimeout(()=>{C.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),a&&a({...C,type:"longpress"}),s.current=void 0},l),C.pointerType==="touch")){let f=p=>{p.preventDefault()};n(C.target,"contextmenu",f,{once:!0}),n(window,"pointerup",()=>{setTimeout(()=>{u(C.target,"contextmenu",f)},30)},{once:!0})}},onPressEnd(C){s.current&&clearTimeout(s.current),o&&(C.pointerType==="mouse"||C.pointerType==="touch")&&o({...C,type:"longpressend"})}}),c=s0(a&&!e?i:void 0);return{longPressProps:E(d,c)}}function h1(t){let e=t1(t);if(R0()==="virtual"){let r=e.activeElement;_2(()=>{e.activeElement===r&&t.isConnected&&z1(t)})}else z1(t)}function yd(t){let e=R1(t);if(!(t instanceof e.HTMLElement)&&!(t instanceof e.SVGElement))return!1;let{display:r,visibility:o}=t.style,a=r!=="none"&&o!=="hidden"&&o!=="collapse";if(a){let{getComputedStyle:l}=t.ownerDocument.defaultView,{display:i,visibility:s}=l(t);a=i!=="none"&&s!=="hidden"&&s!=="collapse"}return a}function Md(t,e){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}function V6(t,e){return t.nodeName!=="#comment"&&yd(t)&&Md(t,e)&&(!t.parentElement||V6(t.parentElement,t))}var g1=g(y(),1),ql=g1.default.createContext(null),E6="react-aria-focus-scope-restore",u1=null;function ge(t){let{children:e,contain:r,restoreFocus:o,autoFocus:a}=t,l=(0,g1.useRef)(null),i=(0,g1.useRef)(null),s=(0,g1.useRef)([]),{parentNode:n}=(0,g1.useContext)(ql)||{},u=(0,g1.useMemo)(()=>new o9({scopeRef:s}),[s]);j(()=>{let C=n||M1.root;if(M1.getTreeNode(C.scopeRef)&&u1&&!h5(u1,C.scopeRef)){let f=M1.getTreeNode(u1);f&&(C=f)}C.addChild(u),M1.addNode(u)},[u,n]),j(()=>{let C=M1.getTreeNode(s);C&&(C.contain=!!r)},[r]),j(()=>{var C;let f=(C=l.current)===null||C===void 0?void 0:C.nextSibling,p=[],$=h=>h.stopPropagation();for(;f&&f!==i.current;)p.push(f),f.addEventListener(E6,$),f=f.nextSibling;return s.current=p,()=>{for(let h of p)h.removeEventListener(E6,$)}},[e]),wd(s,o,r),Vd(s,r),kd(s,o,r),Ed(s,a),(0,g1.useEffect)(()=>{let C=t1(s.current?s.current[0]:void 0).activeElement,f=null;if(K1(C,s.current)){for(let p of M1.traverse())p.scopeRef&&K1(C,p.scopeRef.current)&&(f=p);f===M1.getTreeNode(s)&&(u1=f.scopeRef)}},[s]),j(()=>()=>{var C,f,p;let $=(p=(f=M1.getTreeNode(s))===null||f===void 0||(C=f.parent)===null||C===void 0?void 0:C.scopeRef)!==null&&p!==void 0?p:null;(s===u1||h5(s,u1))&&(!$||M1.getTreeNode($))&&(u1=$),M1.removeTreeNode(s)},[s]);let d=(0,g1.useMemo)(()=>Sd(s),[]),c=(0,g1.useMemo)(()=>({focusManager:d,parentNode:u}),[u,d]);return g1.default.createElement(ql.Provider,{value:c},g1.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),e,g1.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function Sd(t){return{focusNext(e={}){let r=t.current,{from:o,tabbable:a,wrap:l,accept:i}=e,s=o||t1(r[0]).activeElement,n=r[0].previousElementSibling,u=m3(r),d=Z1(u,{tabbable:a,accept:i},r);d.currentNode=K1(s,r)?s:n;let c=d.nextNode();return!c&&l&&(d.currentNode=n,c=d.nextNode()),c&&c0(c,!0),c},focusPrevious(e={}){let r=t.current,{from:o,tabbable:a,wrap:l,accept:i}=e,s=o||t1(r[0]).activeElement,n=r[r.length-1].nextElementSibling,u=m3(r),d=Z1(u,{tabbable:a,accept:i},r);d.currentNode=K1(s,r)?s:n;let c=d.previousNode();return!c&&l&&(d.currentNode=n,c=d.previousNode()),c&&c0(c,!0),c},focusFirst(e={}){let r=t.current,{tabbable:o,accept:a}=e,l=m3(r),i=Z1(l,{tabbable:o,accept:a},r);i.currentNode=r[0].previousElementSibling;let s=i.nextNode();return s&&c0(s,!0),s},focusLast(e={}){let r=t.current,{tabbable:o,accept:a}=e,l=m3(r),i=Z1(l,{tabbable:o,accept:a},r);i.currentNode=r[r.length-1].nextElementSibling;let s=i.previousNode();return s&&c0(s,!0),s}}}var D6=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],Pd=D6.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";D6.push('[tabindex]:not([tabindex="-1"]):not([disabled])');var Hd=D6.join(':not([hidden]):not([tabindex="-1"]),');function m3(t){return t[0].parentElement}function t9(t){let e=M1.getTreeNode(u1);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}function Vd(t,e){let r=(0,g1.useRef)(void 0),o=(0,g1.useRef)(void 0);j(()=>{let a=t.current;if(!e){o.current&&(cancelAnimationFrame(o.current),o.current=void 0);return}let l=t1(a?a[0]:void 0),i=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!t9(t)||u.isComposing)return;let d=l.activeElement,c=t.current;if(!c||!K1(d,c))return;let C=m3(c),f=Z1(C,{tabbable:!0},c);if(!d)return;f.currentNode=d;let p=u.shiftKey?f.previousNode():f.nextNode();p||(f.currentNode=u.shiftKey?c[c.length-1].nextElementSibling:c[0].previousElementSibling,p=u.shiftKey?f.previousNode():f.nextNode()),u.preventDefault(),p&&c0(p,!0)},s=u=>{(!u1||h5(u1,t))&&K1(u.target,t.current)?(u1=t,r.current=u.target):t9(t)&&!$5(u.target,t)?r.current?r.current.focus():u1&&u1.current&&w6(u1.current):t9(t)&&(r.current=u.target)},n=u=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(()=>{if(l.activeElement&&t9(t)&&!$5(l.activeElement,t))if(u1=t,l.body.contains(u.target)){var d;r.current=u.target,(d=r.current)===null||d===void 0||d.focus()}else u1.current&&w6(u1.current)})};return l.addEventListener("keydown",i,!1),l.addEventListener("focusin",s,!1),a?.forEach(u=>u.addEventListener("focusin",s,!1)),a?.forEach(u=>u.addEventListener("focusout",n,!1)),()=>{l.removeEventListener("keydown",i,!1),l.removeEventListener("focusin",s,!1),a?.forEach(u=>u.removeEventListener("focusin",s,!1)),a?.forEach(u=>u.removeEventListener("focusout",n,!1))}},[t,e]),j(()=>()=>{o.current&&cancelAnimationFrame(o.current)},[o])}function Xl(t){return $5(t)}function K1(t,e){return!t||!e?!1:e.some(r=>r.contains(t))}function $5(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of M1.traverse(M1.getTreeNode(e)))if(r&&K1(t,r.current))return!0;return!1}function k6(t){return $5(t,u1)}function h5(t,e){var r;let o=(r=M1.getTreeNode(e))===null||r===void 0?void 0:r.parent;for(;o;){if(o.scopeRef===t)return!0;o=o.parent}return!1}function c0(t,e=!1){if(t!=null&&!e)try{h1(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function Ql(t,e=!0){let r=t[0].previousElementSibling,o=m3(t),a=Z1(o,{tabbable:e},t);a.currentNode=r;let l=a.nextNode();return e&&!l&&(o=m3(t),a=Z1(o,{tabbable:!1},t),a.currentNode=r,l=a.nextNode()),l}function w6(t,e=!0){c0(Ql(t,e))}function Ed(t,e){let r=g1.default.useRef(e);(0,g1.useEffect)(()=>{if(r.current){u1=t;let o=t1(t.current?t.current[0]:void 0);!K1(o.activeElement,u1.current)&&t.current&&w6(t.current)}r.current=!1},[t])}function wd(t,e,r){j(()=>{if(e||r)return;let o=t.current,a=t1(o?o[0]:void 0),l=i=>{let s=i.target;K1(s,t.current)?u1=t:Xl(s)||(u1=null)};return a.addEventListener("focusin",l,!1),o?.forEach(i=>i.addEventListener("focusin",l,!1)),()=>{a.removeEventListener("focusin",l,!1),o?.forEach(i=>i.removeEventListener("focusin",l,!1))}},[t,e,r])}function Dd(t){let e=M1.getTreeNode(u1);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===t}function kd(t,e,r){let o=(0,g1.useRef)(typeof document<"u"?t1(t.current?t.current[0]:void 0).activeElement:null);j(()=>{let a=t.current,l=t1(a?a[0]:void 0);if(!e||r)return;let i=()=>{(!u1||h5(u1,t))&&K1(l.activeElement,t.current)&&(u1=t)};return l.addEventListener("focusin",i,!1),a?.forEach(s=>s.addEventListener("focusin",i,!1)),()=>{l.removeEventListener("focusin",i,!1),a?.forEach(s=>s.removeEventListener("focusin",i,!1))}},[t,r]),j(()=>{let a=t1(t.current?t.current[0]:void 0);if(!e)return;let l=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!t9(t)||i.isComposing)return;let s=a.activeElement;if(!K1(s,t.current))return;let n=M1.getTreeNode(t);if(!n)return;let u=n.nodeToRestore,d=Z1(a.body,{tabbable:!0});d.currentNode=s;let c=i.shiftKey?d.previousNode():d.nextNode();if((!u||!a.body.contains(u)||u===a.body)&&(u=void 0,n.nodeToRestore=void 0),(!c||!K1(c,t.current))&&u){d.currentNode=u;do c=i.shiftKey?d.previousNode():d.nextNode();while(K1(c,t.current));i.preventDefault(),i.stopPropagation(),c?c0(c,!0):Xl(u)?c0(u,!0):s.blur()}};return r||a.addEventListener("keydown",l,!0),()=>{r||a.removeEventListener("keydown",l,!0)}},[t,e,r]),j(()=>{let a=t1(t.current?t.current[0]:void 0);if(!e)return;let l=M1.getTreeNode(t);if(l){var i;return l.nodeToRestore=(i=o.current)!==null&&i!==void 0?i:void 0,()=>{let s=M1.getTreeNode(t);if(!s)return;let n=s.nodeToRestore;if(e&&n&&(K1(a.activeElement,t.current)||a.activeElement===a.body&&Dd(t))){let u=M1.clone();requestAnimationFrame(()=>{if(a.activeElement===a.body){let d=u.getTreeNode(t);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){Jl(d.nodeToRestore);return}d=d.parent}for(d=u.getTreeNode(t);d;){if(d.scopeRef&&d.scopeRef.current&&M1.getTreeNode(d.scopeRef)){let c=Ql(d.scopeRef.current,!0);Jl(c);return}d=d.parent}}})}}}},[t,e])}function Jl(t){t.dispatchEvent(new CustomEvent(E6,{bubbles:!0,cancelable:!0}))&&c0(t)}function Z1(t,e,r){let o=e?.tabbable?Hd:Pd,a=t1(t).createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var i;return!(e==null||(i=e.from)===null||i===void 0)&&i.contains(l)?NodeFilter.FILTER_REJECT:l.matches(o)&&V6(l)&&(!r||K1(l,r))&&(!e?.accept||e.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(a.currentNode=e.from),a}var r9=class{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,r,o){let a=this.fastMap.get(r??null);if(!a)return;let l=new o9({scopeRef:e});a.addChild(l),l.parent=a,this.fastMap.set(e,l),o&&(l.nodeToRestore=o)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let r=this.fastMap.get(e);if(!r)return;let o=r.parent;for(let l of this.traverse())l!==r&&r.nodeToRestore&&l.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&K1(l.nodeToRestore,r.scopeRef.current)&&(l.nodeToRestore=r.nodeToRestore);let a=r.children;o&&(o.removeChild(r),a.size>0&&a.forEach(l=>o&&o.addChild(l))),this.fastMap.delete(r.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let r of e.children)yield*this.traverse(r)}clone(){var e;let r=new r9;var o;for(let a of this.traverse())r.addTreeNode(a.scopeRef,(o=(e=a.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&o!==void 0?o:null,a.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new o9({scopeRef:null}),this.fastMap.set(null,this.root)}},o9=class{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}},M1=new r9;var A0=g(y(),1);function e1(t={}){let{autoFocus:e=!1,isTextInput:r,within:o}=t,a=(0,A0.useRef)({isFocused:!1,isFocusVisible:e||se()}),[l,i]=(0,A0.useState)(!1),[s,n]=(0,A0.useState)(()=>a.current.isFocused&&a.current.isFocusVisible),u=(0,A0.useCallback)(()=>n(a.current.isFocused&&a.current.isFocusVisible),[]),d=(0,A0.useCallback)(f=>{a.current.isFocused=f,i(f),u()},[u]);M6(f=>{a.current.isFocusVisible=f,u()},[],{isTextInput:r});let{focusProps:c}=B0({isDisabled:o,onFocusChange:d}),{focusWithinProps:C}=X1({isDisabled:!o,onFocusWithinChange:d});return{isFocused:l,isFocusVisible:s,focusProps:o?C:c}}var je=g(y(),1);var ei=je.default.createContext(null);function Zd(t){let e=(0,je.useContext)(ei)||{};d3(e,t);let{ref:r,...o}=e;return o}function Td(t,e){let{children:r,...o}=t,a=i1(e),l={...o,ref:a};return je.default.createElement(ei.Provider,{value:l},r)}var Z6=je.default.forwardRef(Td);function N1(t,e){let{focusProps:r}=B0(t),{keyboardProps:o}=I0(t),a=E(r,o),l=Zd(e),i=t.isDisabled?{}:l,s=(0,je.useRef)(t.autoFocus);return(0,je.useEffect)(()=>{s.current&&e.current&&h1(e.current),s.current=!1},[e]),{focusableProps:E({...a,tabIndex:t.excludeFromTabOrder&&!t.isDisabled?-1:void 0},i)}}var ti=g(y(),1);function a9(t,e){let r=e?.isDisabled,[o,a]=(0,ti.useState)(!1);return j(()=>{if(t?.current&&!r){let l=()=>{if(t.current){let s=Z1(t.current,{tabbable:!0});a(!!s.nextNode())}};l();let i=new MutationObserver(l);return i.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{i.disconnect()}}}),r?!1:o}var T6={};T6={breadcrumbs:"\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0648\u0627\u062C\u0647\u0629"};var F6={};F6={breadcrumbs:"\u0422\u0440\u043E\u0445\u0438 \u0445\u043B\u044F\u0431"};var B6={};B6={breadcrumbs:"Popis cesty"};var R6={};R6={breadcrumbs:"Br\xF8dkrummer"};var I6={};I6={breadcrumbs:"Breadcrumbs"};var A6={};A6={breadcrumbs:"\u03A0\u03BB\u03BF\u03B7\u03B3\u03AE\u03C3\u03B5\u03B9\u03C2 breadcrumb"};var z6={};z6={breadcrumbs:"Breadcrumbs"};var K6={};K6={breadcrumbs:"Migas de pan"};var N6={};N6={breadcrumbs:"Lingiread"};var O6={};O6={breadcrumbs:"Navigointilinkit"};var j6={};j6={breadcrumbs:"Chemin de navigation"};var G6={};G6={breadcrumbs:"\u05E9\u05D1\u05D9\u05DC\u05D9 \u05E0\u05D9\u05D5\u05D5\u05D8"};var _6={};_6={breadcrumbs:"Navigacijski putovi"};var W6={};W6={breadcrumbs:"Morzsamen\xFC"};var U6={};U6={breadcrumbs:"Breadcrumb"};var Y6={};Y6={breadcrumbs:"\u30D1\u30F3\u304F\u305A\u30EA\u30B9\u30C8"};var q6={};q6={breadcrumbs:"\uD0D0\uC0C9 \uD45C\uC2DC"};var J6={};J6={breadcrumbs:"Nar\u0161ymo kelias"};var X6={};X6={breadcrumbs:"Atpaka\u013Cce\u013Ci"};var Q6={};Q6={breadcrumbs:"Navigasjonsstier"};var e7={};e7={breadcrumbs:"Broodkruimels"};var t7={};t7={breadcrumbs:"Struktura nawigacyjna"};var r7={};r7={breadcrumbs:"Caminho detalhado"};var o7={};o7={breadcrumbs:"Categorias"};var a7={};a7={breadcrumbs:"Miez de p\xE2ine"};var l7={};l7={breadcrumbs:"\u041D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F"};var i7={};i7={breadcrumbs:"Naviga\u010Dn\xE9 prvky Breadcrumbs"};var s7={};s7={breadcrumbs:"Drobtine"};var n7={};n7={breadcrumbs:"Putanje navigacije"};var u7={};u7={breadcrumbs:"S\xF6kv\xE4gar"};var d7={};d7={breadcrumbs:"\u0130\xE7erik haritalar\u0131"};var c7={};c7={breadcrumbs:"\u041D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u0439\u043D\u0430 \u0441\u0442\u0435\u0436\u043A\u0430"};var f7={};f7={breadcrumbs:"\u5BFC\u822A\u680F"};var C7={};C7={breadcrumbs:"\u5C0E\u89BD\u5217"};var p7={};p7={"ar-AE":T6,"bg-BG":F6,"cs-CZ":B6,"da-DK":R6,"de-DE":I6,"el-GR":A6,"en-US":z6,"es-ES":K6,"et-EE":N6,"fi-FI":O6,"fr-FR":j6,"he-IL":G6,"hr-HR":_6,"hu-HU":W6,"it-IT":U6,"ja-JP":Y6,"ko-KR":q6,"lt-LT":J6,"lv-LV":X6,"nb-NO":Q6,"nl-NL":e7,"pl-PL":t7,"pt-BR":r7,"pt-PT":o7,"ro-RO":a7,"ru-RU":l7,"sk-SK":i7,"sl-SI":s7,"sr-SP":n7,"sv-SE":u7,"tr-TR":d7,"uk-UA":c7,"zh-CN":f7,"zh-TW":C7};var Bd=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Rd=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function ri(t){if(Intl.Locale){let r=new Intl.Locale(t).maximize(),o=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(o)return o.direction==="rtl";if(r.script)return Bd.has(r.script)}let e=t.split("-")[0];return Rd.has(e)}var g5=g(y(),1);var Id=Symbol.for("react-aria.i18n.locale");function ai(){let t=typeof window<"u"&&window[Id]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:ri(t)?"rtl":"ltr"}}var m7=ai(),l9=new Set;function oi(){m7=ai();for(let t of l9)t(m7)}function li(){let t=y1(),[e,r]=(0,g5.useState)(m7);return(0,g5.useEffect)(()=>(l9.size===0&&window.addEventListener("languagechange",oi),l9.add(r),()=>{l9.delete(r),l9.size===0&&window.removeEventListener("languagechange",oi)}),[]),t?{locale:"en-US",direction:"ltr"}:e}var v5=g(y(),1),Ad=v5.default.createContext(null);function o1(){let t=li();return(0,v5.useContext)(Ad)||t}var zd=Symbol.for("react-aria.i18n.locale"),Kd=Symbol.for("react-aria.i18n.strings"),r2,z0=class{getStringForLocale(e,r){let a=this.getStringsForLocale(r)[e];if(!a)throw new Error(`Could not find intl message ${e} in ${r} locale`);return a}getStringsForLocale(e){let r=this.strings[e];return r||(r=Nd(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[zd];if(r2===void 0){let a=window[Kd];if(!a)return null;r2={};for(let l in a)r2[l]=new z0({[r]:a[l]},r)}let o=r2?.[e];if(!o)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return o}constructor(e,r="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,o])=>o)),this.defaultLocale=r}};function Nd(t,e,r="en-US"){if(e[t])return e[t];let o=Od(t);if(e[o])return e[o];for(let a in e)if(a.startsWith(o+"-"))return e[a];return e[r]}function Od(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}var ii=new Map,si=new Map,i9=class{format(e,r){let o=this.strings.getStringForLocale(e,this.locale);return typeof o=="function"?o(r,this):o}plural(e,r,o="cardinal"){let a=r["="+e];if(a)return typeof a=="function"?a():a;let l=this.locale+":"+o,i=ii.get(l);i||(i=new Intl.PluralRules(this.locale,{type:o}),ii.set(l,i));let s=i.select(e);return a=r[s]||r.other,typeof a=="function"?a():a}number(e){let r=si.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),si.set(this.locale,r)),r.format(e)}select(e,r){let o=e[r]||e.other;return typeof o=="function"?o():o}constructor(e,r){this.locale=e,this.strings=r}};var ui=g(y(),1),ni=new WeakMap;function jd(t){let e=ni.get(t);return e||(e=new z0(t),ni.set(t,e)),e}function di(t,e){return e&&z0.getGlobalDictionaryForPackage(e)||jd(t)}function f1(t,e){let{locale:r}=o1(),o=di(t,e);return(0,ui.useMemo)(()=>new i9(r,o),[r,o])}var b7=new Map,$7=!1;try{$7=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}var x5=!1;try{x5=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}var ci={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}},s9=class{format(e){let r="";if(!$7&&this.options.signDisplay!=null?r=_d(this.numberFormatter,this.options.signDisplay,e):r=this.numberFormatter.format(e),this.options.style==="unit"&&!x5){var o;let{unit:a,unitDisplay:l="short",locale:i}=this.resolvedOptions();if(!a)return r;let s=(o=ci[a])===null||o===void 0?void 0:o[l];r+=s[i]||s.default}return r}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,r);if(r= start date");return`${this.format(e)} \u2013 ${this.format(r)}`}formatRangeToParts(e,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,r);if(r= start date");let o=this.numberFormatter.formatToParts(e),a=this.numberFormatter.formatToParts(r);return[...o.map(l=>({...l,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...a.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!$7&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!x5&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,r={}){this.numberFormatter=Gd(e,r),this.options=r}};function Gd(t,e={}){let{numberingSystem:r}=e;if(r&&t.includes("-nu-")&&(t.includes("-u-")||(t+="-u-"),t+=`-nu-${r}`),e.style==="unit"&&!x5){var o;let{unit:i,unitDisplay:s="short"}=e;if(!i)throw new Error('unit option must be provided with style: "unit"');if(!(!((o=ci[i])===null||o===void 0)&&o[s]))throw new Error(`Unsupported unit ${i} with unitDisplay = ${s}`);e={...e,style:"decimal"}}let a=t+(e?Object.entries(e).sort((i,s)=>i[0]0||Object.is(r,0):e==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):o=r>0),o){let a=t.format(-r),l=t.format(r),i=a.replace(l,"").replace(/\u200e|\u061C/,"");return[...i].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(l,"!!!").replace(i,"+").replace("!!!",l)}else return t.format(r)}}var fi=g(y(),1);function L5(t={}){let{locale:e}=o1();return(0,fi.useMemo)(()=>new s9(e,t),[e,t])}var h7=new Map;function ve(t){let{locale:e}=o1(),r=e+(t?Object.entries(t).sort((a,l)=>a[0]{c&&(c(L),console.warn("onClick is deprecated, please use onPress"))}})}}var Ge=null;function K0(t,e="assertive",r=7e3){Ge?Ge.announce(t,e,r):(Ge=new g7,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Ge.announce(t,e,r):setTimeout(()=>{Ge?.isAttached()&&Ge?.announce(t,e,r)},100))}var g7=class{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",e),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,r="assertive",o=7e3){var a,l;if(!this.node)return;let i=document.createElement("div");typeof e=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",e["aria-labelledby"])):i.textContent=e,r==="assertive"?(a=this.assertiveLog)===null||a===void 0||a.appendChild(i):(l=this.politeLog)===null||l===void 0||l.appendChild(i),e!==""&&setTimeout(()=>{i.remove()},o)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}};var bi=g(y(),1);var Ci=g(y(),1);function f0(t,e,r){let{validationBehavior:o,focus:a}=t;j(()=>{if(o==="native"&&r?.current){let n=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(n),r.current.hasAttribute("title")||(r.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(qd(r.current))}});let l=n1(()=>{e.resetValidation()}),i=n1(n=>{var u;e.displayValidation.isInvalid||e.commitValidation();let d=r==null||(u=r.current)===null||u===void 0?void 0:u.form;if(!n.defaultPrevented&&r&&d&&Jd(d)===r.current){var c;a?a():(c=r.current)===null||c===void 0||c.focus(),p3("keyboard")}n.preventDefault()}),s=n1(()=>{e.commitValidation()});(0,Ci.useEffect)(()=>{let n=r?.current;if(!n)return;let u=n.form;return n.addEventListener("invalid",i),n.addEventListener("change",s),u?.addEventListener("reset",l),()=>{n.removeEventListener("invalid",i),n.removeEventListener("change",s),u?.removeEventListener("reset",l)}},[r,i,s,l,o])}function Yd(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}function qd(t){return{isInvalid:!t.validity.valid,validationDetails:Yd(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function Jd(t){for(let e=0;epi(Qd(i,a)),[i,a]);l?.validationDetails.valid&&(l=null);let d=(0,T1.useContext)(u9),c=(0,T1.useMemo)(()=>o?Array.isArray(o)?o.flatMap(P=>x7(d[P])):x7(d[o]):[],[d,o]),[C,f]=(0,T1.useState)(d),[p,$]=(0,T1.useState)(!1);d!==C&&(f(d),$(!1));let h=(0,T1.useMemo)(()=>pi(p?[]:c),[p,c]),b=(0,T1.useRef)(N0),[x,v]=(0,T1.useState)(N0),S=(0,T1.useRef)(N0),L=()=>{if(!H)return;Z(!1);let P=u||l||b.current;v7(P,S.current)||(S.current=P,v(P))},[H,Z]=(0,T1.useState)(!1);return(0,T1.useEffect)(L),{realtimeValidation:n||h||u||l||N0,displayValidation:s==="native"?n||h||x:n||h||u||l||x,updateValidation(P){s==="aria"&&!v7(x,P)?v(P):b.current=P},resetValidation(){let P=N0;v7(P,S.current)||(S.current=P,v(P)),s==="native"&&Z(!1),$(!0)},commitValidation(){s==="native"&&Z(!0),$(!0)}}}function x7(t){return t?Array.isArray(t)?t:[t]:[]}function Qd(t,e){if(typeof t=="function"){let r=t(e);if(r&&typeof r!="boolean")return x7(r)}return[]}function pi(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:mi}:null}function v7(t,e){return t===e?!0:t&&e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((r,o)=>r===e.validationErrors[o])&&Object.entries(t.validationDetails).every(([r,o])=>e.validationDetails[r]===o)}function L7(...t){let e=new Set,r=!1,o={...M5};for(let i of t){var a,l;for(let s of i.validationErrors)e.add(s);r||(r=i.isInvalid);for(let s in o)(a=o)[l=s]||(a[l]=i.validationDetails[s])}return o.valid=!r,{isInvalid:r,validationErrors:[...e],validationDetails:o}}function y7(t,e,r){let{isDisabled:o=!1,isReadOnly:a=!1,value:l,name:i,children:s,"aria-label":n,"aria-labelledby":u,validationState:d="valid",isInvalid:c}=t,C=H=>{H.stopPropagation(),e.setSelected(H.target.checked)},f=s!=null,p=n!=null||u!=null;!f&&!p&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:$,isPressed:h}=k1({isDisabled:o}),{pressProps:b,isPressed:x}=k1({isDisabled:o||a,onPress(){e.toggle()}}),{focusableProps:v}=N1(t,r),S=E($,v),L=z(t,{labelable:!0});return Ze(r,e.isSelected,e.setSelected),{labelProps:E(b,{onClick:H=>H.preventDefault()}),inputProps:E(L,{"aria-invalid":c||d==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-controls":t["aria-controls"],"aria-readonly":a||void 0,onChange:C,disabled:o,...l==null?{}:{value:l},name:i,type:"checkbox",...S}),isSelected:e.isSelected,isPressed:h||x,isDisabled:o,isReadOnly:a,isInvalid:c||d==="invalid"}}function a2(t,e,r){let o=ne({...t,value:e.isSelected}),{isInvalid:a,validationErrors:l,validationDetails:i}=o.displayValidation,{labelProps:s,inputProps:n,isSelected:u,isPressed:d,isDisabled:c,isReadOnly:C}=y7({...t,isInvalid:a},e,r);f0(t,o,r);let{isIndeterminate:f,isRequired:p,validationBehavior:$="aria"}=t;return(0,bi.useEffect)(()=>{r.current&&(r.current.indeterminate=!!f)}),{labelProps:s,inputProps:{...n,checked:u,"aria-required":p&&$==="aria"||void 0,required:p&&$==="native"},isSelected:u,isPressed:d,isDisabled:c,isReadOnly:C,isInvalid:a,validationErrors:l,validationDetails:i}}var S5=new WeakMap;function C0(t){let{id:e,label:r,"aria-labelledby":o,"aria-label":a,labelElementType:l="label"}=t;e=X(e);let i=X(),s={};r?(o=o?`${i} ${o}`:i,s={id:i,htmlFor:l==="label"?e:void 0}):!o&&!a&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let n=l0({id:e,"aria-label":a,"aria-labelledby":o});return{labelProps:s,fieldProps:n}}function p0(t){let{description:e,errorMessage:r,isInvalid:o,validationState:a}=t,{labelProps:l,fieldProps:i}=C0(t),s=ie([Boolean(e),Boolean(r),o,a]),n=ie([Boolean(e),Boolean(r),o,a]);return i=E(i,{"aria-describedby":[s,n,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:l,fieldProps:i,descriptionProps:{id:s},errorMessageProps:{id:n}}}function P5(t,e){let{isDisabled:r,name:o,validationBehavior:a="aria"}=t,{isInvalid:l,validationErrors:i,validationDetails:s}=e.displayValidation,{labelProps:n,fieldProps:u,descriptionProps:d,errorMessageProps:c}=p0({...t,labelElementType:"span",isInvalid:l,errorMessage:t.errorMessage||i});S5.set(e,{name:o,descriptionId:d.id,errorMessageId:c.id,validationBehavior:a});let C=z(t,{labelable:!0}),{focusWithinProps:f}=X1({onBlurWithin:t.onBlur,onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange});return{groupProps:E(C,{role:"group","aria-disabled":r||void 0,...u,...f}),labelProps:n,descriptionProps:d,errorMessageProps:c,isInvalid:l,validationErrors:i,validationDetails:s}}var H5=g(y(),1);function l2(t={}){let{isReadOnly:e}=t,[r,o]=v1(t.isSelected,t.defaultSelected||!1,t.onChange);function a(i){e||o(i)}function l(){e||o(!r)}return{isSelected:r,setSelected:a,toggle:l}}function V5(t,e,r){let o=l2({isReadOnly:t.isReadOnly||e.isReadOnly,isSelected:e.isSelected(t.value),onChange(h){h?e.addValue(t.value):e.removeValue(t.value),t.onChange&&t.onChange(h)}}),{name:a,descriptionId:l,errorMessageId:i,validationBehavior:s}=S5.get(e);var n;s=(n=t.validationBehavior)!==null&&n!==void 0?n:s;let{realtimeValidation:u}=ne({...t,value:o.isSelected,name:void 0,validationBehavior:"aria"}),d=(0,H5.useRef)(N0),c=()=>{e.setInvalid(t.value,u.isInvalid?u:d.current)};(0,H5.useEffect)(c);let C=e.realtimeValidation.isInvalid?e.realtimeValidation:u,f=s==="native"?e.displayValidation:C;var p;let $=a2({...t,isReadOnly:t.isReadOnly||e.isReadOnly,isDisabled:t.isDisabled||e.isDisabled,name:t.name||a,isRequired:(p=t.isRequired)!==null&&p!==void 0?p:e.isRequired,validationBehavior:s,[n9]:{realtimeValidation:C,displayValidation:f,resetValidation:e.resetValidation,commitValidation:e.commitValidation,updateValidation(h){d.current=h,c()}}},o,r);return{...$,inputProps:{...$.inputProps,"aria-describedby":[t["aria-describedby"],e.isInvalid?i:null,l].filter(Boolean).join(" ")||void 0}}}var ue=g(y(),1),ec=0,tc=100,rc=1;function E5(t){let{isDisabled:e=!1,minValue:r=ec,maxValue:o=tc,numberFormatter:a,step:l=rc,orientation:i="horizontal"}=t,s=(0,ue.useMemo)(()=>{let I=(o-r)/10;return I=T0(I,0,I+l,l),Math.max(I,l)},[l,o,r]),n=(0,ue.useCallback)(I=>I?.map((J,b1)=>{let K=b1===0?r:J[b1-1],A1=b1===I.length-1?o:J[b1+1];return T0(J,K,A1,l)}),[r,o,l]),u=(0,ue.useMemo)(()=>n(hi(t.value)),[t.value]),d=(0,ue.useMemo)(()=>{var I;return n((I=hi(t.defaultValue))!==null&&I!==void 0?I:[r])},[t.defaultValue,r]),c=gi(t.value,t.defaultValue,t.onChange),C=gi(t.value,t.defaultValue,t.onChangeEnd),[f,p]=v1(u,d,c),[$,h]=(0,ue.useState)(new Array(f.length).fill(!1)),b=(0,ue.useRef)(new Array(f.length).fill(!0)),[x,v]=(0,ue.useState)(void 0),S=(0,ue.useRef)(f),L=(0,ue.useRef)($),H=I=>{S.current=I,p(I)},Z=I=>{L.current=I,h(I)};function m(I){return(I-r)/(o-r)}function D(I){return I===0?r:f[I-1]}function P(I){return I===f.length-1?o:f[I+1]}function V(I){return b.current[I]}function T(I,J){b.current[I]=J}function M(I,J){if(e||!V(I))return;let b1=D(I),K=P(I);J=T0(J,b1,K,l);let A1=$i(S.current,I,J);H(A1)}function A(I,J){if(e||!V(I))return;J&&(S.current=f);let b1=L.current[I];L.current=$i(L.current,I,J),Z(L.current),C&&b1&&!L.current.some(Boolean)&&C(S.current)}function w(I){return a.format(I)}function R(I,J){M(I,Q(J))}function B(I){return Math.round((I-r)/l)*l+r}function Q(I){let J=I*(o-r)+r;return be(B(J),r,o)}function p1(I,J=1){let b1=Math.max(J,l);M(I,T0(f[I]+b1,r,o,l))}function E1(I,J=1){let b1=Math.max(J,l);M(I,T0(f[I]-b1,r,o,l))}return{values:f,getThumbValue:I=>f[I],setThumbValue:M,setThumbPercent:R,isThumbDragging:I=>$[I],setThumbDragging:A,focusedThumb:x,setFocusedThumb:v,getThumbPercent:I=>m(f[I]),getValuePercent:m,getThumbValueLabel:I=>w(f[I]),getFormattedValue:w,getThumbMinValue:D,getThumbMaxValue:P,getPercentValue:Q,isThumbEditable:V,setThumbEditable:T,incrementThumb:p1,decrementThumb:E1,step:l,pageSize:s,orientation:i,isDisabled:e}}function $i(t,e,r){return t[e]===r?t:[...t.slice(0,e),r,...t.slice(e+1)]}function hi(t){if(t!=null)return Array.isArray(t)?t:[t]}function gi(t,e,r){return o=>{r?.(typeof t=="number"||typeof e=="number"?o[0]:o)}}var i2=g(y(),1);var vi={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function m0(t={}){let{style:e,isFocusable:r}=t,[o,a]=(0,i2.useState)(!1),{focusWithinProps:l}=X1({isDisabled:!r,onFocusWithinChange:s=>a(s)}),i=(0,i2.useMemo)(()=>o?e:e?{...vi,...e}:vi,[o]);return{visuallyHiddenProps:{...l,style:i}}}function O1(t){let{children:e,elementType:r="div",isFocusable:o,style:a,...l}=t,{visuallyHiddenProps:i}=m0(t);return i2.default.createElement(r,E(l,i),e)}var d9=new WeakMap;function c9(t,e){let r=d9.get(t);if(!r)throw new Error("Unknown slider state");return`${r.id}-${e}`}var w5=g(y(),1);function D5(t,e,r){let{labelProps:o,fieldProps:a}=C0(t),l=t.orientation==="vertical";var i;d9.set(e,{id:(i=o.id)!==null&&i!==void 0?i:a.id,"aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]});let{direction:s}=o1(),{addGlobalListener:n,removeGlobalListener:u}=we(),d=(0,w5.useRef)(null),c=s==="rtl",C=(0,w5.useRef)(null),{moveProps:f}=e2({onMoveStart(){C.current=null},onMove({deltaX:b,deltaY:x}){let{height:v,width:S}=r.current.getBoundingClientRect(),L=l?v:S;C.current==null&&(C.current=e.getThumbPercent(d.current)*L);let H=l?x:b;if((l||c)&&(H=-H),C.current+=H,d.current!=null&&r.current){let Z=be(C.current/L,0,1);e.setThumbPercent(d.current,Z)}},onMoveEnd(){d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null)}}),p=(0,w5.useRef)(void 0),$=(b,x,v,S)=>{if(r.current&&!t.isDisabled&&e.values.every((L,H)=>!e.isThumbDragging(H))){let{height:L,width:H,top:Z,left:m}=r.current.getBoundingClientRect(),D=l?L:H,M=((l?S:v)-(l?Z:m))/D;(s==="rtl"||l)&&(M=1-M);let A=e.getPercentValue(M),w,R=e.values.findIndex(B=>A-B<0);if(R===0)w=R;else if(R===-1)w=e.values.length-1;else{let B=e.values[R-1],Q=e.values[R];Math.abs(B-A)=0&&e.isThumbEditable(w)?(b.preventDefault(),d.current=w,e.setFocusedThumb(w),p.current=x,e.setThumbDragging(d.current,!0),e.setThumbValue(w,A),n(window,"mouseup",h,!1),n(window,"touchend",h,!1),n(window,"pointerup",h,!1)):d.current=null}},h=b=>{var x,v;((v=b.pointerId)!==null&&v!==void 0?v:(x=b.changedTouches)===null||x===void 0?void 0:x[0].identifier)===p.current&&(d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null),u(window,"mouseup",h,!1),u(window,"touchend",h,!1),u(window,"pointerup",h,!1))};return"htmlFor"in o&&o.htmlFor&&(delete o.htmlFor,o.onClick=()=>{var b;(b=document.getElementById(c9(e,0)))===null||b===void 0||b.focus(),p3("keyboard")}),{labelProps:o,groupProps:{role:"group",...a},trackProps:E({onMouseDown(b){b.button!==0||b.altKey||b.ctrlKey||b.metaKey||$(b,void 0,b.clientX,b.clientY)},onPointerDown(b){b.pointerType==="mouse"&&(b.button!==0||b.altKey||b.ctrlKey||b.metaKey)||$(b,b.pointerId,b.clientX,b.clientY)},onTouchStart(b){$(b,b.changedTouches[0].identifier,b.changedTouches[0].clientX,b.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},f),outputProps:{htmlFor:e.values.map((b,x)=>c9(e,x)).join(" "),"aria-live":"off"}}}var b3=g(y(),1);function k5(t,e){let{index:r=0,isRequired:o,validationState:a,isInvalid:l,trackRef:i,inputRef:s,orientation:n=e.orientation,name:u}=t,d=t.isDisabled||e.isDisabled,c=n==="vertical",{direction:C}=o1(),{addGlobalListener:f,removeGlobalListener:p}=we(),$=d9.get(e);var h;let{labelProps:b,fieldProps:x}=C0({...t,id:c9(e,r),"aria-labelledby":`${$.id} ${(h=t["aria-labelledby"])!==null&&h!==void 0?h:""}`.trim()}),v=e.values[r],S=(0,b3.useCallback)(()=>{s.current&&z1(s.current)},[s]),L=e.focusedThumb===r;(0,b3.useEffect)(()=>{L&&S()},[L,S]);let H=C==="rtl",Z=(0,b3.useRef)(null),{keyboardProps:m}=I0({onKeyDown(R){let{getThumbMaxValue:B,getThumbMinValue:Q,decrementThumb:p1,incrementThumb:E1,setThumbValue:I,setThumbDragging:J,pageSize:b1}=e;if(!/^(PageUp|PageDown|Home|End)$/.test(R.key)){R.continuePropagation();return}switch(R.preventDefault(),J(r,!0),R.key){case"PageUp":E1(r,b1);break;case"PageDown":p1(r,b1);break;case"Home":I(r,Q(r));break;case"End":I(r,B(r));break}J(r,!1)}}),{moveProps:D}=e2({onMoveStart(){Z.current=null,e.setThumbDragging(r,!0)},onMove({deltaX:R,deltaY:B,pointerType:Q,shiftKey:p1}){let{getThumbPercent:E1,setThumbPercent:I,decrementThumb:J,incrementThumb:b1,step:K,pageSize:A1}=e,{width:ze,height:K3}=i.current.getBoundingClientRect(),K9=c?K3:ze;if(Z.current==null&&(Z.current=E1(r)*K9),Q==="keyboard")R>0&&H||R<0&&!H||B>0?J(r,p1?A1:K):b1(r,p1?A1:K);else{let N3=c?B:R;(c||H)&&(N3=-N3),Z.current+=N3,I(r,be(Z.current/K9,0,1))}},onMoveEnd(){e.setThumbDragging(r,!1)}});e.setThumbEditable(r,!d);let{focusableProps:P}=N1(E(t,{onFocus:()=>e.setFocusedThumb(r),onBlur:()=>e.setFocusedThumb(void 0)}),s),V=(0,b3.useRef)(void 0),T=R=>{S(),V.current=R,e.setThumbDragging(r,!0),f(window,"mouseup",M,!1),f(window,"touchend",M,!1),f(window,"pointerup",M,!1)},M=R=>{var B,Q;((Q=R.pointerId)!==null&&Q!==void 0?Q:(B=R.changedTouches)===null||B===void 0?void 0:B[0].identifier)===V.current&&(S(),e.setThumbDragging(r,!1),p(window,"mouseup",M,!1),p(window,"touchend",M,!1),p(window,"pointerup",M,!1))},A=e.getThumbPercent(r);(c||C==="rtl")&&(A=1-A);let w=d?{}:E(m,D,{onMouseDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||T()},onPointerDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||T(R.pointerId)},onTouchStart:R=>{T(R.changedTouches[0].identifier)}});return Ze(s,v,R=>{e.setThumbValue(r,R)}),{inputProps:E(P,x,{type:"range",tabIndex:d?void 0:0,min:e.getThumbMinValue(r),max:e.getThumbMaxValue(r),step:e.step,value:v,name:u,disabled:d,"aria-orientation":n,"aria-valuetext":e.getThumbValueLabel(r),"aria-required":o||void 0,"aria-invalid":l||a==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-describedby":[$["aria-describedby"],t["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[$["aria-details"],t["aria-details"]].filter(Boolean).join(" "),onChange:R=>{e.setThumbValue(r,parseFloat(R.target.value))}}),thumbProps:{...w,style:{position:"absolute",[c?"top":"left"]:`${A*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:b,isDragging:e.isThumbDragging(r),isDisabled:d,isFocused:L}}var xi=g(y(),1);function M7(t,e){let{inputElementType:r="input",isDisabled:o=!1,isRequired:a=!1,isReadOnly:l=!1,type:i="text",validationBehavior:s="aria"}=t,[n,u]=v1(t.value,t.defaultValue||"",t.onChange),{focusableProps:d}=N1(t,e),c=ne({...t,value:n}),{isInvalid:C,validationErrors:f,validationDetails:p}=c.displayValidation,{labelProps:$,fieldProps:h,descriptionProps:b,errorMessageProps:x}=p0({...t,isInvalid:C,errorMessage:t.errorMessage||f}),v=z(t,{labelable:!0}),S={type:i,pattern:t.pattern};return Ze(e,n,u),f0(t,c,e),(0,xi.useEffect)(()=>{if(e.current instanceof R1(e.current).HTMLTextAreaElement){let L=e.current;Object.defineProperty(L,"defaultValue",{get:()=>L.value,set:()=>{},configurable:!0})}},[e]),{labelProps:$,inputProps:E(v,r==="input"?S:void 0,{disabled:o,readOnly:l,required:a&&s==="native","aria-required":a&&s==="aria"||void 0,"aria-invalid":C||void 0,"aria-errormessage":t["aria-errormessage"],"aria-activedescendant":t["aria-activedescendant"],"aria-autocomplete":t["aria-autocomplete"],"aria-haspopup":t["aria-haspopup"],value:n,onChange:L=>u(L.target.value),autoComplete:t.autoComplete,autoCapitalize:t.autoCapitalize,maxLength:t.maxLength,minLength:t.minLength,name:t.name,placeholder:t.placeholder,inputMode:t.inputMode,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onCompositionEnd:t.onCompositionEnd,onCompositionStart:t.onCompositionStart,onCompositionUpdate:t.onCompositionUpdate,onSelect:t.onSelect,onBeforeInput:t.onBeforeInput,onInput:t.onInput,...d,...h}),descriptionProps:b,errorMessageProps:x,isInvalid:C,validationErrors:f,validationDetails:p}}var _e={top:"top",bottom:"top",left:"left",right:"left"},T5={top:"bottom",bottom:"top",left:"right",right:"left"},oc={top:"left",left:"top"},P7={top:"height",left:"width"},Vi={width:"totalWidth",height:"totalHeight"},Z5={},Q1=typeof document<"u"&&window.visualViewport;function Li(t){let e=0,r=0,o=0,a=0,l=0,i=0,s={},n=Q1?.scale>1;if(t.tagName==="BODY"){let c=document.documentElement;o=c.clientWidth,a=c.clientHeight;var u;e=(u=Q1?.width)!==null&&u!==void 0?u:o;var d;r=(d=Q1?.height)!==null&&d!==void 0?d:a,s.top=c.scrollTop||t.scrollTop,s.left=c.scrollLeft||t.scrollLeft,Q1&&(l=Q1.offsetTop,i=Q1.offsetLeft)}else({width:e,height:r,top:l,left:i}=s2(t)),s.top=t.scrollTop,s.left=t.scrollLeft,o=e,a=r;return s3()&&(t.tagName==="BODY"||t.tagName==="HTML")&&n&&(s.top=0,s.left=0,l=Q1.pageTop,i=Q1.pageLeft),{width:e,height:r,totalWidth:o,totalHeight:a,scroll:s,top:l,left:i}}function ac(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function yi(t,e,r,o,a,l,i){let s=a.scroll[t],n=o[P7[t]],u=o.scroll[_e[t]]+l,d=n+o.scroll[_e[t]]-l,c=e-s+i[t]-o[_e[t]],C=e-s+r+i[t]-o[_e[t]];return cd?Math.max(d-C,u-c):0}function lc(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function Mi(t){if(Z5[t])return Z5[t];let[e,r]=t.split(" "),o=_e[e]||"right",a=oc[o];_e[r]||(r="center");let l=P7[o],i=P7[a];return Z5[t]={placement:e,crossPlacement:r,axis:o,crossAxis:a,size:l,crossSize:i},Z5[t]}function S7(t,e,r,o,a,l,i,s,n,u){let{placement:d,crossPlacement:c,axis:C,crossAxis:f,size:p,crossSize:$}=o,h={};h[f]=t[f],c==="center"?h[f]+=(t[$]-r[$])/2:c!==f&&(h[f]+=t[$]-r[$]),h[f]+=l;let b=t[f]-r[$]+n+u,x=t[f]+t[$]-n-u;if(h[f]=be(h[f],b,x),d===C){let v=s?i[p]:e[Vi[p]];h[T5[C]]=Math.floor(v-t[C]+a)}else h[C]=Math.floor(t[C]+t[p]+a);return h}function ic(t,e,r,o,a,l,i,s){let n=o?r.height:e[Vi.height],u=t.top!=null?r.top+t.top:r.top+(n-t.bottom-i),d=s!=="top"?Math.max(0,e.height+e.top+e.scroll.top-u-(a.top+a.bottom+l)):Math.max(0,u+i-(e.top+e.scroll.top)-(a.top+a.bottom+l));return Math.min(e.height-l*2,d)}function Si(t,e,r,o,a,l){let{placement:i,axis:s,size:n}=l;return i===s?Math.max(0,r[s]-t[s]-t.scroll[s]+e[s]-o[s]-o[T5[s]]-a):Math.max(0,t[n]+t[s]+t.scroll[s]-e[s]-r[s]-r[n]-o[s]-o[T5[s]]-a)}function sc(t,e,r,o,a,l,i,s,n,u,d,c,C,f,p,$){let h=Mi(t),{size:b,crossAxis:x,crossSize:v,placement:S,crossPlacement:L}=h,H=S7(e,s,r,h,d,c,u,C,p,$),Z=d,m=Si(s,u,e,a,l+d,h);if(i&&o[b]>m){let E1=Mi(`${T5[S]} ${L}`),I=S7(e,s,r,E1,d,c,u,C,p,$);Si(s,u,e,a,l+d,E1)>m&&(h=E1,H=I,Z=d)}let D="bottom";h.axis==="top"?h.placement==="top"?D="top":h.placement==="bottom"&&(D="bottom"):h.crossAxis==="top"&&(h.crossPlacement==="top"?D="bottom":h.crossPlacement==="bottom"&&(D="top"));let P=yi(x,H[x],r[v],s,n,l,u);H[x]+=P;let V=ic(H,s,u,C,a,l,r.height,D);f&&f{if(!r||o===null)return;let a=l=>{let i=l.target;if(!e.current||i instanceof Node&&!i.contains(e.current)||l.target instanceof HTMLInputElement||l.target instanceof HTMLTextAreaElement)return;let s=o||H7.get(e.current);s&&s()};return window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("scroll",a,!0)}},[r,o,e])}var We=g(y(),1);var x1=typeof document<"u"&&window.visualViewport;function n2(t){let{direction:e}=o1(),{arrowSize:r=0,targetRef:o,overlayRef:a,scrollRef:l=a,placement:i="bottom",containerPadding:s=12,shouldFlip:n=!0,boundaryElement:u=typeof document<"u"?document.body:null,offset:d=0,crossOffset:c=0,shouldUpdatePosition:C=!0,isOpen:f=!0,onClose:p,maxHeight:$,arrowBoundaryOffset:h=0}=t,[b,x]=(0,We.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),v=[C,i,a.current,o.current,l.current,s,n,u,d,c,f,e,$,h,r],S=(0,We.useRef)(x1?.scale);(0,We.useEffect)(()=>{f&&(S.current=x1?.scale)},[f]);let L=(0,We.useCallback)(()=>{if(C===!1||!f||!a.current||!o.current||!u||x1?.scale!==S.current)return;let D=null;if(l.current&&l.current.contains(document.activeElement)){let A=document.activeElement.getBoundingClientRect(),w=l.current.getBoundingClientRect();D={type:"top",offset:A.top-w.top},D.offset>w.height/2&&(D.type="bottom",D.offset=A.bottom-w.bottom)}let P=a.current;if(!$&&a.current){var V;P.style.top="0px",P.style.bottom="";var T;P.style.maxHeight=((T=(V=window.visualViewport)===null||V===void 0?void 0:V.height)!==null&&T!==void 0?T:window.innerHeight)+"px"}let M=Ei({placement:dc(i,e),overlayNode:a.current,targetNode:o.current,scrollNode:l.current||a.current,padding:s,shouldFlip:n,boundaryElement:u,offset:d,crossOffset:c,maxHeight:$,arrowSize:r,arrowBoundaryOffset:h});if(P.style.top="",P.style.bottom="",P.style.left="",P.style.right="",Object.keys(M.position).forEach(A=>P.style[A]=M.position[A]+"px"),P.style.maxHeight=M.maxHeight!=null?M.maxHeight+"px":void 0,D){let A=document.activeElement.getBoundingClientRect(),w=l.current.getBoundingClientRect(),R=A[D.type]-w[D.type];l.current.scrollTop+=R-D.offset}x(M)},v);j(L,v),uc(L),i0({ref:a,onResize:L}),i0({ref:o,onResize:L});let H=(0,We.useRef)(!1);j(()=>{let D,P=()=>{H.current=!0,clearTimeout(D),D=setTimeout(()=>{H.current=!1},500),L()},V=()=>{H.current&&P()};return x1?.addEventListener("resize",P),x1?.addEventListener("scroll",V),()=>{x1?.removeEventListener("resize",P),x1?.removeEventListener("scroll",V)}},[L]);let Z=(0,We.useCallback)(()=>{H.current||p()},[p,H]);Di({triggerRef:o,isOpen:f,onClose:p&&Z});var m;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...b.position,maxHeight:(m=b.maxHeight)!==null&&m!==void 0?m:"100vh"}},placement:b.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:b.arrowOffsetLeft,top:b.arrowOffsetTop}},updatePosition:L}}function uc(t){j(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function dc(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}var ki=g(y(),1);var b0=[];function O0(t,e){let{onClose:r,shouldCloseOnBlur:o,isOpen:a,isDismissable:l=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=t;(0,ki.useEffect)(()=>(a&&b0.push(e),()=>{let p=b0.indexOf(e);p>=0&&b0.splice(p,1)}),[a,e]);let n=()=>{b0[b0.length-1]===e&&r&&r()},u=p=>{(!s||s(p.target))&&b0[b0.length-1]===e&&(p.stopPropagation(),p.preventDefault())},d=p=>{(!s||s(p.target))&&(b0[b0.length-1]===e&&(p.stopPropagation(),p.preventDefault()),n())},c=p=>{p.key==="Escape"&&!i&&!p.nativeEvent.isComposing&&(p.stopPropagation(),p.preventDefault(),n())};Q3({ref:e,onInteractOutside:l&&a?d:null,onInteractOutsideStart:u});let{focusWithinProps:C}=X1({isDisabled:!o,onBlurWithin:p=>{!p.relatedTarget||k6(p.relatedTarget)||(!s||s(p.relatedTarget))&&r()}}),f=p=>{p.target===p.currentTarget&&p.preventDefault()};return{overlayProps:{onKeyDown:c,...C},underlayProps:{onPointerDown:f}}}var Zi=g(y(),1);function u2(t,e,r){let{type:o}=t,{isOpen:a}=e;(0,Zi.useEffect)(()=>{r&&r.current&&H7.set(r.current,e.close)});let l;o==="menu"?l=!0:o==="listbox"&&(l="listbox");let i=X();return{triggerProps:{"aria-haspopup":l,"aria-expanded":a,"aria-controls":a?i:null,onPress:e.toggle},overlayProps:{id:i}}}var V7=typeof document<"u"&&window.visualViewport,cc=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),F5=0,E7;function j0(t={}){let{isDisabled:e}=t;j(()=>{if(!e)return F5++,F5===1&&(i3()?E7=Cc():E7=fc()),()=>{F5--,F5===0&&E7()}},[e])}function fc(){return D1(d2(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),d2(document.documentElement,"overflow","hidden"))}function Cc(){let t,e,r=u=>{t=De(u.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=d2(t,"overscrollBehavior","contain"))},o=u=>{if(!t||t===document.documentElement||t===document.body){u.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&u.preventDefault()},a=u=>{let d=u.target;Fi(d)&&d!==document.activeElement&&(u.preventDefault(),s(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),e&&e()},l=u=>{let d=u.target;Fi(d)&&(s(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",V7&&(V7.height{Ti(d)}):V7.addEventListener("resize",()=>Ti(d),{once:!0}))}))},i=null,s=()=>{if(i)return;let u=()=>{window.scrollTo(0,0)},d=window.pageXOffset,c=window.pageYOffset;i=D1(f9(window,"scroll",u),d2(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),d2(document.documentElement,"overflow","hidden"),d2(document.body,"marginTop",`-${c}px`),()=>{window.scrollTo(d,c)}),window.scrollTo(0,0)},n=D1(f9(document,"touchstart",r,{passive:!1,capture:!0}),f9(document,"touchmove",o,{passive:!1,capture:!0}),f9(document,"touchend",a,{passive:!1,capture:!0}),f9(document,"focus",l,!0));return()=>{e?.(),i?.(),n()}}function d2(t,e,r){let o=t.style[e];return t.style[e]=r,()=>{t.style[e]=o}}function f9(t,e,r,o){return t.addEventListener(e,r,o),()=>{t.removeEventListener(e,r,o)}}function Ti(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let r=De(t);if(r!==document.documentElement&&r!==document.body&&r!==t){let o=r.getBoundingClientRect().top,a=t.getBoundingClientRect().top;a>o+t.clientHeight&&(r.scrollTop+=a-o)}t=r.parentElement}}function Fi(t){return t instanceof HTMLInputElement&&!cc.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}var F1=g(y(),1),Bi=g(a3(),1);var B5=F1.default.createContext(null);function w7(t){let{children:e}=t,r=(0,F1.useContext)(B5),[o,a]=(0,F1.useState)(0),l=(0,F1.useMemo)(()=>({parent:r,modalCount:o,addModal(){a(i=>i+1),r&&r.addModal()},removeModal(){a(i=>i-1),r&&r.removeModal()}}),[r,o]);return F1.default.createElement(B5.Provider,{value:l},e)}function D7(){let t=(0,F1.useContext)(B5);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:null}}}function pc(t){let{modalProviderProps:e}=D7();return F1.default.createElement("div",{"data-overlay-container":!0,...t,...e})}function C9(t){return F1.default.createElement(w7,null,F1.default.createElement(pc,t))}function c2(t){let e=y1(),{portalContainer:r=e?null:document.body,...o}=t;if(F1.default.useEffect(()=>{if(r?.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[r]),!r)return null;let a=F1.default.createElement(C9,o);return Bi.default.createPortal(a,r)}function R5(t){let e=(0,F1.useContext)(B5);if(!e)throw new Error("Modal is not contained within a provider");return(0,F1.useEffect)(()=>{if(!(t?.isDisabled||!e||!e.parent))return e.parent.addModal(),()=>{e&&e.parent&&e.parent.removeModal()}},[e,e.parent,t?.isDisabled]),{modalProps:{"data-ismodal":!t?.isDisabled}}}var k7={};k7={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var Z7={};Z7={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var T7={};T7={dismiss:"Odstranit"};var F7={};F7={dismiss:"Luk"};var B7={};B7={dismiss:"Schlie\xDFen"};var R7={};R7={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var I7={};I7={dismiss:"Dismiss"};var A7={};A7={dismiss:"Descartar"};var z7={};z7={dismiss:"L\xF5peta"};var K7={};K7={dismiss:"Hylk\xE4\xE4"};var N7={};N7={dismiss:"Rejeter"};var O7={};O7={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var j7={};j7={dismiss:"Odbaci"};var G7={};G7={dismiss:"Elutas\xEDt\xE1s"};var _7={};_7={dismiss:"Ignora"};var W7={};W7={dismiss:"\u9589\u3058\u308B"};var U7={};U7={dismiss:"\uBB34\uC2DC"};var Y7={};Y7={dismiss:"Atmesti"};var q7={};q7={dismiss:"Ner\u0101d\u012Bt"};var J7={};J7={dismiss:"Lukk"};var X7={};X7={dismiss:"Negeren"};var Q7={};Q7={dismiss:"Zignoruj"};var e8={};e8={dismiss:"Descartar"};var t8={};t8={dismiss:"Dispensar"};var r8={};r8={dismiss:"Revocare"};var o8={};o8={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var a8={};a8={dismiss:"Zru\u0161i\u0165"};var l8={};l8={dismiss:"Opusti"};var i8={};i8={dismiss:"Odbaci"};var s8={};s8={dismiss:"Avvisa"};var n8={};n8={dismiss:"Kapat"};var u8={};u8={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var d8={};d8={dismiss:"\u53D6\u6D88"};var c8={};c8={dismiss:"\u95DC\u9589"};var f8={};f8={"ar-AE":k7,"bg-BG":Z7,"cs-CZ":T7,"da-DK":F7,"de-DE":B7,"el-GR":R7,"en-US":I7,"es-ES":A7,"et-EE":z7,"fi-FI":K7,"fr-FR":N7,"he-IL":O7,"hr-HR":j7,"hu-HU":G7,"it-IT":_7,"ja-JP":W7,"ko-KR":U7,"lt-LT":Y7,"lv-LV":q7,"nb-NO":J7,"nl-NL":X7,"pl-PL":Q7,"pt-BR":e8,"pt-PT":t8,"ro-RO":r8,"ru-RU":o8,"sk-SK":a8,"sl-SI":l8,"sr-SP":i8,"sv-SE":s8,"tr-TR":n8,"uk-UA":u8,"zh-CN":d8,"zh-TW":c8};var C8=g(y(),1);function mc(t){return t&&t.__esModule?t.default:t}function $3(t){let{onDismiss:e,...r}=t,o=f1(mc(f8),"@react-aria/overlays"),a=l0(r,o.format("dismiss")),l=()=>{e&&e()};return C8.default.createElement(O1,null,C8.default.createElement("button",{...a,tabIndex:-1,onClick:l,style:{width:1,height:1}}))}var p9=new WeakMap,xe=[];function I5(t,e=document.body){let r=new Set(t),o=new Set,a=n=>{for(let C of n.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(C);let u=C=>{if(r.has(C)||o.has(C.parentElement)&&C.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let f of r)if(C.contains(f))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},d=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),c=u(n);if(c===NodeFilter.FILTER_ACCEPT&&l(n),c!==NodeFilter.FILTER_REJECT){let C=d.nextNode();for(;C!=null;)l(C),C=d.nextNode()}},l=n=>{var u;let d=(u=p9.get(n))!==null&&u!==void 0?u:0;n.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&n.setAttribute("aria-hidden","true"),o.add(n),p9.set(n,d+1))};xe.length&&xe[xe.length-1].disconnect(),a(e);let i=new MutationObserver(n=>{for(let u of n)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...r,...o].some(d=>d.contains(u.target))){for(let d of u.removedNodes)d instanceof Element&&(r.delete(d),o.delete(d));for(let d of u.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?r.add(d):d instanceof Element&&a(d)}});i.observe(e,{childList:!0,subtree:!0});let s={observe(){i.observe(e,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return xe.push(s),()=>{i.disconnect();for(let n of o){let u=p9.get(n);u===1?(n.removeAttribute("aria-hidden"),p9.delete(n)):p9.set(n,u-1)}s===xe[xe.length-1]?(xe.pop(),xe.length&&xe[xe.length-1].observe()):xe.splice(xe.indexOf(s),1)}}function A5(t,e){let{triggerRef:r,popoverRef:o,isNonModal:a,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:i,...s}=t,{overlayProps:n,underlayProps:u}=O0({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!a,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:i},o),{overlayProps:d,arrowProps:c,placement:C}=n2({...s,targetRef:r,overlayRef:o,isOpen:e.isOpen,onClose:a?e.close:null});return j0({isDisabled:a||!e.isOpen}),j(()=>{if(e.isOpen&&!a&&o.current)return I5([o.current])},[a,e.isOpen,o]),{popoverProps:E(n,d),arrowProps:c,underlayProps:u,placement:C}}var m9=g(y(),1),bc=(0,m9.createContext)({});function Ri(){var t;return(t=(0,m9.useContext)(bc))!==null&&t!==void 0?t:{}}var Te=g(y(),1),Ii=g(a3(),1);var Ai=Te.default.createContext(null);function f2(t){let e=y1(),{portalContainer:r=e?null:document.body,isExiting:o}=t,[a,l]=(0,Te.useState)(!1),i=(0,Te.useMemo)(()=>({contain:a,setContain:l}),[a,l]),{getContainer:s}=Ri();if(!t.portalContainer&&s&&(r=s()),!r)return null;let n=t.children;return t.disableFocusManagement||(n=Te.default.createElement(ge,{restoreFocus:!0,contain:a&&!o},n)),n=Te.default.createElement(Ai.Provider,{value:i},Te.default.createElement(v6,null,n)),Ii.default.createPortal(n,r)}function b9(){let t=(0,Te.useContext)(Ai),e=t?.setContain;j(()=>{e?.(!0)},[e])}var zi=g(y(),1);function z5(t,e,r){let{overlayProps:o,underlayProps:a}=O0({...t,isOpen:e.isOpen,onClose:e.close},r);return j0({isDisabled:!e.isOpen}),b9(),(0,zi.useEffect)(()=>{if(e.isOpen)return I5([r.current])},[e.isOpen,r]),{modalProps:E(o),underlayProps:a}}var $9=new WeakMap;function $c(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function Ki(t,e){let r=$9.get(t);if(!r)throw new Error("Unknown list");return`${r.id}-option-${$c(e)}`}function h9(t){return n6()?t.altKey:t.ctrlKey}function G0(t){return J1()?t.metaKey:t.ctrlKey}var Ni=g(y(),1),hc=1e3;function g9(t){let{keyboardDelegate:e,selectionManager:r,onTypeSelect:o}=t,a=(0,Ni.useRef)({search:"",timeout:null}).current,l=i=>{let s=gc(i.key);if(!s||i.ctrlKey||i.metaKey||!i.currentTarget.contains(i.target))return;s===" "&&a.search.trim().length>0&&(i.preventDefault(),"continuePropagation"in i||i.stopPropagation()),a.search+=s;let n=e.getKeyForSearch(a.search,r.focusedKey);n==null&&(n=e.getKeyForSearch(a.search)),n!=null&&(r.setFocusedKey(n),o&&o(n)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},hc)};return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?l:null}}}function gc(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}var Oi=g(a3(),1),h3=g(y(),1);function g3(t){let{selectionManager:e,keyboardDelegate:r,ref:o,autoFocus:a=!1,shouldFocusWrap:l=!1,disallowEmptySelection:i=!1,disallowSelectAll:s=!1,selectOnFocus:n=e.selectionBehavior==="replace",disallowTypeAhead:u=!1,shouldUseVirtualFocus:d,allowsTabNavigation:c=!1,isVirtualized:C,scrollRef:f=o,linkBehavior:p="action"}=t,{direction:$}=o1(),h=a0(),b=P=>{if(P.altKey&&P.key==="Tab"&&P.preventDefault(),!o.current.contains(P.target))return;let V=(K,A1)=>{if(K!=null){if(e.isLink(K)&&p==="selection"&&n&&!h9(P)){(0,Oi.flushSync)(()=>{e.setFocusedKey(K,A1)});let ze=f.current.querySelector(`[data-key="${CSS.escape(K.toString())}"]`),K3=e.getItemProps(K);h.open(ze,P,K3.href,K3.routerOptions);return}if(e.setFocusedKey(K,A1),e.isLink(K)&&p==="override")return;P.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(K):n&&!h9(P)&&e.replaceSelection(K)}};switch(P.key){case"ArrowDown":if(r.getKeyBelow){var T,M,A;let K=e.focusedKey!=null?(T=r.getKeyBelow)===null||T===void 0?void 0:T.call(r,e.focusedKey):(M=r.getFirstKey)===null||M===void 0?void 0:M.call(r);K==null&&l&&(K=(A=r.getFirstKey)===null||A===void 0?void 0:A.call(r,e.focusedKey)),K!=null&&(P.preventDefault(),V(K))}break;case"ArrowUp":if(r.getKeyAbove){var w,R,B;let K=e.focusedKey!=null?(w=r.getKeyAbove)===null||w===void 0?void 0:w.call(r,e.focusedKey):(R=r.getLastKey)===null||R===void 0?void 0:R.call(r);K==null&&l&&(K=(B=r.getLastKey)===null||B===void 0?void 0:B.call(r,e.focusedKey)),K!=null&&(P.preventDefault(),V(K))}break;case"ArrowLeft":if(r.getKeyLeftOf){var Q,p1,E1;let K=(Q=r.getKeyLeftOf)===null||Q===void 0?void 0:Q.call(r,e.focusedKey);K==null&&l&&(K=$==="rtl"?(p1=r.getFirstKey)===null||p1===void 0?void 0:p1.call(r,e.focusedKey):(E1=r.getLastKey)===null||E1===void 0?void 0:E1.call(r,e.focusedKey)),K!=null&&(P.preventDefault(),V(K,$==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var I,J,b1;let K=(I=r.getKeyRightOf)===null||I===void 0?void 0:I.call(r,e.focusedKey);K==null&&l&&(K=$==="rtl"?(J=r.getLastKey)===null||J===void 0?void 0:J.call(r,e.focusedKey):(b1=r.getFirstKey)===null||b1===void 0?void 0:b1.call(r,e.focusedKey)),K!=null&&(P.preventDefault(),V(K,$==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){P.preventDefault();let K=r.getFirstKey(e.focusedKey,G0(P));e.setFocusedKey(K),G0(P)&&P.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(K):n&&e.replaceSelection(K)}break;case"End":if(r.getLastKey){P.preventDefault();let K=r.getLastKey(e.focusedKey,G0(P));e.setFocusedKey(K),G0(P)&&P.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(K):n&&e.replaceSelection(K)}break;case"PageDown":if(r.getKeyPageBelow){let K=r.getKeyPageBelow(e.focusedKey);K!=null&&(P.preventDefault(),V(K))}break;case"PageUp":if(r.getKeyPageAbove){let K=r.getKeyPageAbove(e.focusedKey);K!=null&&(P.preventDefault(),V(K))}break;case"a":G0(P)&&e.selectionMode==="multiple"&&s!==!0&&(P.preventDefault(),e.selectAll());break;case"Escape":!i&&e.selectedKeys.size!==0&&(P.stopPropagation(),P.preventDefault(),e.clearSelection());break;case"Tab":if(!c){if(P.shiftKey)o.current.focus();else{let K=Z1(o.current,{tabbable:!0}),A1,ze;do ze=K.lastChild(),ze&&(A1=ze);while(ze);A1&&!A1.contains(document.activeElement)&&z1(A1)}break}}},x=(0,h3.useRef)({top:0,left:0});t5(f,"scroll",C?null:()=>{x.current={top:f.current.scrollTop,left:f.current.scrollLeft}});let v=P=>{if(e.isFocused){P.currentTarget.contains(P.target)||e.setFocused(!1);return}if(P.currentTarget.contains(P.target)){if(e.setFocused(!0),e.focusedKey==null){let M=w=>{w!=null&&(e.setFocusedKey(w),n&&e.replaceSelection(w))},A=P.relatedTarget;var V,T;A&&P.currentTarget.compareDocumentPosition(A)&Node.DOCUMENT_POSITION_FOLLOWING?M((V=e.lastSelectedKey)!==null&&V!==void 0?V:r.getLastKey()):M((T=e.firstSelectedKey)!==null&&T!==void 0?T:r.getFirstKey())}else C||(f.current.scrollTop=x.current.top,f.current.scrollLeft=x.current.left);if(e.focusedKey!=null){let M=f.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);M&&(M.contains(document.activeElement)||z1(M),R0()==="keyboard"&&ke(M,{containingElement:o.current}))}}},S=P=>{P.currentTarget.contains(P.relatedTarget)||e.setFocused(!1)},L=(0,h3.useRef)(a);(0,h3.useEffect)(()=>{if(L.current){let P=null;a==="first"&&(P=r.getFirstKey()),a==="last"&&(P=r.getLastKey());let V=e.selectedKeys;if(V.size){for(let T of V)if(e.canSelectItem(T)){P=T;break}}e.setFocused(!0),e.setFocusedKey(P),P==null&&!d&&h1(o.current)}},[]);let H=(0,h3.useRef)(e.focusedKey);(0,h3.useEffect)(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==H.current||L.current)&&f?.current){let P=R0(),V=o.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);if(!V)return;(P==="keyboard"||L.current)&&(r5(f.current,V),P!=="virtual"&&ke(V,{containingElement:o.current}))}!d&&e.isFocused&&e.focusedKey==null&&H.current!=null&&h1(o.current),H.current=e.focusedKey,L.current=!1}),t5(o,"react-aria-focus-scope-restore",P=>{P.preventDefault(),e.setFocused(!0)});let Z={onKeyDown:b,onFocus:v,onBlur:S,onMouseDown(P){f.current===P.target&&P.preventDefault()}},{typeSelectProps:m}=g9({keyboardDelegate:r,selectionManager:e});u||(Z=E(m,Z));let D;return d||(D=e.focusedKey==null?0:-1),{collectionProps:{...Z,tabIndex:D}}}var C2=g(y(),1);function Fe(t){let{selectionManager:e,key:r,ref:o,shouldSelectOnPressUp:a,shouldUseVirtualFocus:l,focus:i,isDisabled:s,onAction:n,allowsDifferentPressOrigin:u,linkBehavior:d="action"}=t,c=a0(),C=B=>{if(B.pointerType==="keyboard"&&h9(B))e.toggleSelection(r);else{if(e.selectionMode==="none")return;if(e.isLink(r)){if(d==="selection"){let Q=e.getItemProps(r);c.open(o.current,B,Q.href,Q.routerOptions),e.setSelectedKeys(e.selectedKeys);return}else if(d==="override"||d==="none")return}e.selectionMode==="single"?e.isSelected(r)&&!e.disallowEmptySelection?e.toggleSelection(r):e.replaceSelection(r):B&&B.shiftKey?e.extendSelection(r):e.selectionBehavior==="toggle"||B&&(G0(B)||B.pointerType==="touch"||B.pointerType==="virtual")?e.toggleSelection(r):e.replaceSelection(r)}};(0,C2.useEffect)(()=>{r===e.focusedKey&&e.isFocused&&!l&&(i?i():document.activeElement!==o.current&&h1(o.current))},[o,r,e.focusedKey,e.childFocusStrategy,e.isFocused,l]),s=s||e.isDisabled(r);let f={};!l&&!s?f={tabIndex:r===e.focusedKey?0:-1,onFocus(B){B.target===o.current&&e.setFocusedKey(r)}}:s&&(f.onMouseDown=B=>{B.preventDefault()});let p=e.isLink(r)&&d==="override",$=e.isLink(r)&&d!=="selection"&&d!=="none",h=!s&&e.canSelectItem(r)&&!p,b=(n||$)&&!s,x=b&&(e.selectionBehavior==="replace"?!h:!h||e.isEmpty),v=b&&h&&e.selectionBehavior==="replace",S=x||v,L=(0,C2.useRef)(null),H=S&&h,Z=(0,C2.useRef)(!1),m=(0,C2.useRef)(!1),D=B=>{if(n&&n(),$){let Q=e.getItemProps(r);c.open(o.current,B,Q.href,Q.routerOptions)}},P={};a?(P.onPressStart=B=>{L.current=B.pointerType,Z.current=H,B.pointerType==="keyboard"&&(!S||Gi())&&C(B)},u?(P.onPressUp=x?null:B=>{B.pointerType!=="keyboard"&&h&&C(B)},P.onPress=x?D:null):P.onPress=B=>{if(x||v&&B.pointerType!=="mouse"){if(B.pointerType==="keyboard"&&!ji())return;D(B)}else B.pointerType!=="keyboard"&&h&&C(B)}):(P.onPressStart=B=>{L.current=B.pointerType,Z.current=H,m.current=x,h&&(B.pointerType==="mouse"&&!x||B.pointerType==="keyboard"&&(!b||Gi()))&&C(B)},P.onPress=B=>{(B.pointerType==="touch"||B.pointerType==="pen"||B.pointerType==="virtual"||B.pointerType==="keyboard"&&S&&ji()||B.pointerType==="mouse"&&m.current)&&(S?D(B):h&&C(B))}),f["data-key"]=r,P.preventFocusOnPress=l;let{pressProps:V,isPressed:T}=k1(P),M=v?B=>{L.current==="mouse"&&(B.stopPropagation(),B.preventDefault(),D(B))}:void 0,{longPressProps:A}=t2({isDisabled:!H,onLongPress(B){B.pointerType==="touch"&&(C(B),e.setSelectionBehavior("toggle"))}}),w=B=>{L.current==="touch"&&Z.current&&B.preventDefault()},R=e.isLink(r)?B=>{Ke.isOpening||B.preventDefault()}:void 0;return{itemProps:E(f,h||x?V:{},H?A:{},{onDoubleClick:M,onDragStartCapture:w,onClick:R}),isPressed:T,isSelected:e.isSelected(r),isFocused:e.isFocused&&e.focusedKey===r,isDisabled:s,allowsSelection:h,hasAction:S}}function ji(){let t=window.event;return t?.key==="Enter"}function Gi(){let t=window.event;return t?.key===" "||t?.code==="Space"}var _0=class{getItemRect(e){let r=this.ref.current,o=e!=null?r.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!o)return null;let a=r.getBoundingClientRect(),l=o.getBoundingClientRect();return{x:l.left-a.left+r.scrollLeft,y:l.top-a.top+r.scrollTop,width:l.width,height:l.height}}getContentSize(){let e=this.ref.current;return{width:e.scrollWidth,height:e.scrollHeight}}getVisibleRect(){let e=this.ref.current;return{x:e.scrollLeft,y:e.scrollTop,width:e.offsetWidth,height:e.offsetHeight}}constructor(e){this.ref=e}};var Le=class{isDisabled(e){var r;return this.disabledBehavior==="all"&&(((r=e.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,r){for(;e!=null;){let o=this.collection.getItem(e);if(o?.type==="item"&&!this.isDisabled(o))return e;e=r(e)}return null}getNextKey(e){return e=this.collection.getKeyAfter(e),this.findNextNonDisabled(e,r=>this.collection.getKeyAfter(r))}getPreviousKey(e){return e=this.collection.getKeyBefore(e),this.findNextNonDisabled(e,r=>this.collection.getKeyBefore(r))}findKey(e,r,o){let a=this.layoutDelegate.getItemRect(e);if(!a)return null;let l=a;do e=r(e),a=this.layoutDelegate.getItemRect(e);while(a&&o(l,a));return e}isSameRow(e,r){return e.y===r.y||e.x!==r.x}isSameColumn(e,r){return e.x===r.x||e.y!==r.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,r){return r?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,o=>this.layoutDelegate[r](o))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,o=>this.getNextColumn(o,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,o=>this.layoutDelegate[r](o))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,o=>this.getNextColumn(o,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyAfter(r))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(e){let r=this.ref.current,o=this.layoutDelegate.getItemRect(e);if(!o)return null;if(!Ne(r))return this.getFirstKey();if(this.orientation==="horizontal"){let a=Math.max(0,o.x+o.width-this.layoutDelegate.getVisibleRect().width);for(;o&&o.x>a;)e=this.getKeyAbove(e),o=e==null?null:this.layoutDelegate.getItemRect(e)}else{let a=Math.max(0,o.y+o.height-this.layoutDelegate.getVisibleRect().height);for(;o&&o.y>a;)e=this.getKeyAbove(e),o=e==null?null:this.layoutDelegate.getItemRect(e)}return e??this.getFirstKey()}getKeyPageBelow(e){let r=this.ref.current,o=this.layoutDelegate.getItemRect(e);if(!o)return null;if(!Ne(r))return this.getLastKey();if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,o.y-o.width+this.layoutDelegate.getVisibleRect().width);for(;o&&o.xl||new Le({collection:r,disabledKeys:o,disabledBehavior:n,ref:a,collator:s,layoutDelegate:i}),[l,i,r,o,a,s,n]),{collectionProps:d}=g3({...t,ref:a,selectionManager:e,keyboardDelegate:u});return{listProps:d}}function K5(t,e,r){let o=z(t,{labelable:!0}),a=t.selectionBehavior||"toggle",l=t.linkBehavior||(a==="replace"?"action":"override");a==="toggle"&&l==="action"&&(l="override");let{listProps:i}=v9({...t,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:l}),{focusWithinProps:s}=X1({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),n=X(t.id);$9.set(e,{id:n,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:l});let{labelProps:u,fieldProps:d}=C0({...t,id:n,labelElementType:"span"});return{labelProps:u,listBoxProps:E(o,s,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...E(d,i)})}}var p8=g(y(),1);function Wi(t){return null}Wi.getCollectionNode=function*(e,r){let{childItems:o,title:a,children:l}=e,i=e.title||e.children,s=e.textValue||(typeof i=="string"?i:"")||e["aria-label"]||"";!s&&!r?.suppressTextValueWarning&&console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:i,textValue:s,"aria-label":e["aria-label"],hasChildNodes:vc(e),*childNodes(){if(o)for(let n of o)yield{type:"item",value:n};else if(a){let n=[];p8.default.Children.forEach(l,u=>{n.push({type:"item",element:u})}),yield*n}}}};function vc(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&p8.default.Children.count(t.children)>0)}var N5=Wi;var W0=g(y(),1),O5=class{build(e,r){return this.context=r,Ui(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:r,items:o}=e;if(W0.default.isValidElement(r)&&r.type===W0.default.Fragment)yield*this.iterateCollection({children:r.props.children,items:o});else if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of e.items)yield*this.getFullNode({value:a},{renderer:r})}else{let a=[];W0.default.Children.forEach(r,i=>{a.push(i)});let l=0;for(let i of a){let s=this.getFullNode({element:i,index:l},{});for(let n of s)l++,yield n}}}getKey(e,r,o,a){if(e.key!=null)return e.key;if(r.type==="cell"&&r.key!=null)return`${a}${r.key}`;let l=r.value;if(l!=null){var i;let s=(i=l.key)!==null&&i!==void 0?i:l.id;if(s==null)throw new Error("No key found for item");return s}return a?`${a}.${r.index}`:`$.${r.index}`}getChildState(e,r){return{renderer:r.renderer||e.renderer}}*getFullNode(e,r,o,a){if(W0.default.isValidElement(e.element)&&e.element.type===W0.default.Fragment){let n=[];W0.default.Children.forEach(e.element.props.children,d=>{n.push(d)});let u=e.index;for(let d of n)yield*this.getFullNode({element:d,index:u++},r,o,a);return}let l=e.element;if(!l&&e.value&&r&&r.renderer){let n=this.cache.get(e.value);if(n&&(!n.shouldInvalidate||!n.shouldInvalidate(this.context))){n.index=e.index,n.parentKey=a?a.key:null,yield n;return}l=r.renderer(e.value)}if(W0.default.isValidElement(l)){let n=l.type;if(typeof n!="function"&&typeof n.getCollectionNode!="function"){let C=typeof l.type=="function"?l.type.name:l.type;throw new Error(`Unknown element <${C}> in collection.`)}let u=n.getCollectionNode(l.props,this.context),d=e.index,c=u.next();for(;!c.done&&c.value;){let C=c.value;e.index=d;let f=C.key;f||(f=C.element?null:this.getKey(l,e,r,o));let $=[...this.getFullNode({...C,key:f,index:d,wrapper:xc(e.wrapper,C.wrapper)},this.getChildState(r,C),o?`${o}${l.key}`:l.key,a)];for(let h of $){if(h.value=C.value||e.value,h.value&&this.cache.set(h.value,h),e.type&&h.type!==e.type)throw new Error(`Unsupported type <${m8(h.type)}> in <${m8(a.type)}>. Only <${m8(e.type)}> is supported.`);d++,yield h}c=u.next($)}return}if(e.key==null)return;let i=this,s={type:e.type,props:e.props,key:e.key,parentKey:a?a.key:null,value:e.value,level:a?a.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:Ui(function*(){if(!e.hasChildNodes)return;let n=0;for(let u of e.childNodes()){u.key!=null&&(u.key=`${s.key}${u.key}`),u.index=n;let d=i.getFullNode(u,i.getChildState(r,u),s.key,s);for(let c of d)n++,yield c}})};yield s}constructor(){this.cache=new WeakMap}};function Ui(t){let e=[],r=null;return{*[Symbol.iterator](){for(let o of e)yield o;r||(r=t());for(let o of r)e.push(o),yield o}}}function xc(t,e){if(t&&e)return r=>t(e(r));if(t)return t;if(e)return e}function m8(t){return t[0].toUpperCase()+t.slice(1)}var b8=g(y(),1);function U0(t,e,r){let o=(0,b8.useMemo)(()=>new O5,[]),{children:a,items:l,collection:i}=t;return(0,b8.useMemo)(()=>{if(i)return i;let n=o.build({children:a,items:l},r);return e(n)},[o,a,l,i,r,e])}function d1(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function G1(t){return Be(t,0)}function Be(t,e){if(e<0)return;let r=0;for(let o of t){if(r===e)return o;r++}}function de(t){let e;for(let r of t)e=r;return e}function x9(t,e,r){if(e.parentKey===r.parentKey)return e.index-r.index;let o=[...Yi(t,e),e],a=[...Yi(t,r),r],l=o.slice(0,a.length).findIndex((i,s)=>i!==a[s]);return l!==-1?(e=o[l],r=a[l],e.index-r.index):o.findIndex(i=>i===r)>=0?1:(a.findIndex(i=>i===e)>=0,-1)}function Yi(t,e){let r=[];for(;e?.parentKey!=null;)e=t.getItem(e.parentKey),r.unshift(e);return r}var qi=new WeakMap;function L9(t){let e=qi.get(t);if(e!=null)return e;e=0;let r=o=>{for(let a of o)a.type==="section"?r(d1(a,t)):e++};return r(t),qi.set(t,e),e}function j5(t,e,r){var o,a;let{key:l}=t,i=$9.get(e);var s;let n=(s=t.isDisabled)!==null&&s!==void 0?s:e.selectionManager.isDisabled(l);var u;let d=(u=t.isSelected)!==null&&u!==void 0?u:e.selectionManager.isSelected(l);var c;let C=(c=t.shouldSelectOnPressUp)!==null&&c!==void 0?c:i?.shouldSelectOnPressUp;var f;let p=(f=t.shouldFocusOnHover)!==null&&f!==void 0?f:i?.shouldFocusOnHover;var $;let h=($=t.shouldUseVirtualFocus)!==null&&$!==void 0?$:i?.shouldUseVirtualFocus;var b;let x=(b=t.isVirtualized)!==null&&b!==void 0?b:i?.isVirtualized,v=ie(),S=ie(),L={role:"option","aria-disabled":n||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};J1()&&s3()||(L["aria-label"]=t["aria-label"],L["aria-labelledby"]=v,L["aria-describedby"]=S);let H=e.collection.getItem(l);if(x){let R=Number(H?.index);L["aria-posinset"]=Number.isNaN(R)?void 0:R+1,L["aria-setsize"]=L9(e.collection)}let Z=i?.onAction?()=>{var R;return i==null||(R=i.onAction)===null||R===void 0?void 0:R.call(i,l)}:void 0,{itemProps:m,isPressed:D,isFocused:P,hasAction:V,allowsSelection:T}=Fe({selectionManager:e.selectionManager,key:l,ref:r,shouldSelectOnPressUp:C,allowsDifferentPressOrigin:C&&p,isVirtualized:x,shouldUseVirtualFocus:h,isDisabled:n,onAction:Z||!(H==null||(o=H.props)===null||o===void 0)&&o.onAction?D1(H==null||(a=H.props)===null||a===void 0?void 0:a.onAction,Z):void 0,linkBehavior:i?.linkBehavior}),{hoverProps:M}=a1({isDisabled:n||!p,onHoverStart(){se()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(l))}}),A=z(H?.props);delete A.id;let w=u3(H?.props);return{optionProps:{...L,...E(A,m,M,w),id:Ki(e,l)},labelProps:{id:v},descriptionProps:{id:S},isFocused:P,isFocusVisible:P&&se(),isSelected:d,isDisabled:n,isPressed:D,allowsSelection:T,hasAction:V}}function G5(t){let{heading:e,"aria-label":r}=t,o=X();return{itemProps:{role:"presentation"},headingProps:e?{id:o,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?o:void 0}}}var $8={};$8={longPressMessage:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u0627\u064B \u0623\u0648 \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + \u0627\u0644\u0633\u0647\u0645 \u0644\u0623\u0633\u0641\u0644 \u0644\u0641\u062A\u062D \u0627\u0644\u0642\u0627\u0626\u0645\u0629"};var h8={};h8={longPressMessage:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt+ \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u0434\u043E\u043B\u0443, \u0437\u0430 \u0434\u0430 \u043E\u0442\u0432\u043E\u0440\u0438\u0442\u0435 \u043C\u0435\u043D\u044E\u0442\u043E"};var g8={};g8={longPressMessage:"Dlouh\xFDm stiskem nebo stisknut\xEDm kl\xE1ves Alt + \u0161ipka dol\u016F otev\u0159ete nab\xEDdku"};var v8={};v8={longPressMessage:"Langt tryk eller tryk p\xE5 Alt + pil ned for at \xE5bne menuen"};var x8={};x8={longPressMessage:"Dr\xFCcken Sie lange oder dr\xFCcken Sie Alt + Nach-unten, um das Men\xFC zu \xF6ffnen"};var L8={};L8={longPressMessage:"\u03A0\u03B9\u03AD\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + \u03BA\u03AC\u03C4\u03C9 \u03B2\u03AD\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B1\u03BD\u03BF\u03AF\u03BE\u03B5\u03C4\u03B5 \u03C4\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD"};var y8={};y8={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var M8={};M8={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xFA"};var S8={};S8={longPressMessage:"Men\xFC\xFC avamiseks vajutage pikalt v\xF5i vajutage klahve Alt + allanool"};var P8={};P8={longPressMessage:"Avaa valikko painamalla pohjassa tai n\xE4pp\xE4inyhdistelm\xE4ll\xE4 Alt + Alanuoli"};var H8={};H8={longPressMessage:"Appuyez de mani\xE8re prolong\xE9e ou appuyez sur Alt\xA0+\xA0Fl\xE8che vers le bas pour ouvrir le menu."};var V8={};V8={longPressMessage:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05D0\u05D5 \u05D4\u05E7\u05E9 Alt + ArrowDown \u05DB\u05D3\u05D9 \u05DC\u05E4\u05EA\u05D5\u05D7 \u05D0\u05EA \u05D4\u05EA\u05E4\u05E8\u05D9\u05D8"};var E8={};E8={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var w8={};w8={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xEDl gombot a men\xFC megnyit\xE1s\xE1hoz"};var D8={};D8={longPressMessage:"Premere a lungo o premere Alt + Freccia gi\xF9 per aprire il menu"};var k8={};k8={longPressMessage:"\u9577\u62BC\u3057\u307E\u305F\u306F Alt+\u4E0B\u77E2\u5370\u30AD\u30FC\u3067\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F"};var Z8={};Z8={longPressMessage:"\uAE38\uAC8C \uB204\uB974\uAC70\uB098 Alt + \uC544\uB798\uCABD \uD654\uC0B4\uD45C\uB97C \uB20C\uB7EC \uBA54\uB274 \uC5F4\uAE30"};var T8={};T8={longPressMessage:"Nor\u0117dami atidaryti meniu, nuspaud\u0119 palaikykite arba paspauskite \u201EAlt + ArrowDown\u201C."};var F8={};F8={longPressMessage:"Lai atv\u0113rtu izv\u0113lni, turiet nospiestu vai nospiediet tausti\u0146u kombin\u0101ciju Alt + lejupv\u0113rst\u0101 bulti\u0146a"};var B8={};B8={longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xE5 \xE5pne menyen"};var R8={};R8={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var I8={};I8={longPressMessage:"Naci\u015Bnij i przytrzymaj lub naci\u015Bnij klawisze Alt + Strza\u0142ka w d\xF3\u0142, aby otworzy\u0107 menu"};var A8={};A8={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var z8={};z8={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var K8={};K8={longPressMessage:"Ap\u0103sa\u021Bi lung sau ap\u0103sa\u021Bi pe Alt + s\u0103geat\u0103 \xEEn jos pentru a deschide meniul"};var N8={};N8={longPressMessage:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E"};var O8={};O8={longPressMessage:"Ponuku otvor\xEDte dlh\xFDm stla\u010Den\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Alt + kl\xE1vesu so \u0161\xEDpkou nadol"};var j8={};j8={longPressMessage:"Za odprtje menija pritisnite in dr\u017Eite gumb ali pritisnite Alt+pu\u0161\u010Dica navzdol"};var G8={};G8={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var _8={};_8={longPressMessage:"H\xE5ll nedtryckt eller tryck p\xE5 Alt + pil ned\xE5t f\xF6r att \xF6ppna menyn"};var W8={};W8={longPressMessage:"Men\xFCy\xFC a\xE7mak i\xE7in uzun bas\u0131n veya Alt + A\u015Fa\u011F\u0131 Ok tu\u015Funa bas\u0131n"};var U8={};U8={longPressMessage:"\u0414\u043E\u0432\u0433\u043E \u0430\u0431\u043E \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044E \u043A\u043B\u0430\u0432\u0456\u0448 Alt \u0456 \u0441\u0442\u0440\u0456\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0449\u043E\u0431 \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043C\u0435\u043D\u044E"};var Y8={};Y8={longPressMessage:"\u957F\u6309\u6216\u6309 Alt + \u5411\u4E0B\u65B9\u5411\u952E\u4EE5\u6253\u5F00\u83DC\u5355"};var q8={};q8={longPressMessage:"\u9577\u6309\u6216\u6309 Alt+\u5411\u4E0B\u9375\u4EE5\u958B\u555F\u529F\u80FD\u8868"};var J8={};J8={"ar-AE":$8,"bg-BG":h8,"cs-CZ":g8,"da-DK":v8,"de-DE":x8,"el-GR":L8,"en-US":y8,"es-ES":M8,"et-EE":S8,"fi-FI":P8,"fr-FR":H8,"he-IL":V8,"hr-HR":E8,"hu-HU":w8,"it-IT":D8,"ja-JP":k8,"ko-KR":Z8,"lt-LT":T8,"lv-LV":F8,"nb-NO":B8,"nl-NL":R8,"pl-PL":I8,"pt-BR":A8,"pt-PT":z8,"ro-RO":K8,"ru-RU":N8,"sk-SK":O8,"sl-SI":j8,"sr-SP":G8,"sv-SE":_8,"tr-TR":W8,"uk-UA":U8,"zh-CN":Y8,"zh-TW":q8};function Lc(t){return t&&t.__esModule?t.default:t}function Y0(t,e,r){let{type:o="menu",isDisabled:a,trigger:l="press"}=t,i=X(),{triggerProps:s,overlayProps:n}=u2({type:o},e,r),u=f=>{if(!a&&!(l==="longPress"&&!f.altKey)&&r&&r.current)switch(f.key){case"Enter":case" ":if(l==="longPress")return;case"ArrowDown":"continuePropagation"in f||f.stopPropagation(),f.preventDefault(),e.toggle("first");break;case"ArrowUp":"continuePropagation"in f||f.stopPropagation(),f.preventDefault(),e.toggle("last");break;default:"continuePropagation"in f&&f.continuePropagation()}},d=f1(Lc(J8),"@react-aria/menu"),{longPressProps:c}=t2({isDisabled:a||l!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),C={onPressStart(f){f.pointerType!=="touch"&&f.pointerType!=="keyboard"&&!a&&e.open(f.pointerType==="virtual"?"first":null)},onPress(f){f.pointerType==="touch"&&!a&&e.toggle()}};return delete s.onPress,{menuTriggerProps:{...s,...l==="press"?C:c,id:i,onKeyDown:u},menuProps:{...n,"aria-labelledby":i,autoFocus:e.focusStrategy||!0,onClose:e.close}}}var X8=new WeakMap;function _5(t,e,r){let{shouldFocusWrap:o=!0,onKeyDown:a,onKeyUp:l,...i}=t;!t["aria-label"]&&!t["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let s=z(t,{labelable:!0}),{listProps:n}=v9({...i,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:o,linkBehavior:"override"});return X8.set(e,{onClose:t.onClose,onAction:t.onAction}),{menuProps:E(s,{onKeyDown:a,onKeyUp:l},{role:"menu",...n,onKeyDown:u=>{u.key!=="Escape"&&n.onKeyDown(u)}})}}function W5(t,e,r){let{id:o,key:a,closeOnSelect:l,isVirtualized:i,"aria-haspopup":s,onPressStart:n,onPressUp:u,onPress:d,onPressChange:c,onPressEnd:C,onHoverStart:f,onHoverChange:p,onHoverEnd:$,onKeyDown:h,onKeyUp:b,onFocus:x,onFocusChange:v,onBlur:S}=t,L=!!s;var H;let Z=(H=t.isDisabled)!==null&&H!==void 0?H:e.selectionManager.isDisabled(a);var m;let D=(m=t.isSelected)!==null&&m!==void 0?m:e.selectionManager.isSelected(a),P=X8.get(e),V=e.collection.getItem(a),T=t.onClose||P.onClose,M=a0(),A=H1=>{var X4;if(!L){if(!(V==null||(X4=V.props)===null||X4===void 0)&&X4.onAction?V.props.onAction():t.onAction&&t.onAction(a),P.onAction){let iu=P.onAction;iu(a)}H1.target instanceof HTMLAnchorElement&&M.open(H1.target,H1,V.props.href,V.props.routerOptions)}},w="menuitem";L||(e.selectionManager.selectionMode==="single"?w="menuitemradio":e.selectionManager.selectionMode==="multiple"&&(w="menuitemcheckbox"));let R=ie(),B=ie(),Q=ie(),p1={id:o,"aria-disabled":Z||void 0,role:w,"aria-label":t["aria-label"],"aria-labelledby":R,"aria-describedby":[B,Q].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":s,"aria-expanded":t["aria-expanded"]};e.selectionManager.selectionMode!=="none"&&!L&&(p1["aria-checked"]=D),i&&(p1["aria-posinset"]=V?.index,p1["aria-setsize"]=L9(e.collection));let E1=H1=>{H1.pointerType==="keyboard"&&A(H1),n?.(H1)},I=H1=>{H1.pointerType!=="keyboard"&&(A(H1),!L&&T&&(l??(e.selectionManager.selectionMode!=="multiple"||e.selectionManager.isLink(a)))&&T()),u?.(H1)},{itemProps:J,isFocused:b1}=Fe({selectionManager:e.selectionManager,key:a,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:K,isPressed:A1}=k1({onPressStart:E1,onPress:d,onPressUp:I,onPressChange:c,onPressEnd:C,isDisabled:Z}),{hoverProps:ze}=a1({isDisabled:Z,onHoverStart(H1){se()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(a)),f?.(H1)},onHoverChange:p,onHoverEnd:$}),{keyboardProps:K3}=I0({onKeyDown:H1=>{if(H1.repeat){H1.continuePropagation();return}switch(H1.key){case" ":!Z&&e.selectionManager.selectionMode==="none"&&!L&&l!==!1&&T&&T();break;case"Enter":!Z&&l!==!1&&!L&&T&&T();break;default:L||H1.continuePropagation(),h?.(H1);break}},onKeyUp:b}),{focusProps:K9}=B0({onBlur:S,onFocus:x,onFocusChange:v}),N3=z(V.props);delete N3.id;let lu=u3(V.props);return{menuItemProps:{...p1,...E(N3,lu,L?{onFocus:J.onFocus,"data-key":J["data-key"]}:J,K,ze,K3,K9),tabIndex:J.tabIndex!=null?-1:void 0},labelProps:{id:R},descriptionProps:{id:B},keyboardShortcutProps:{id:Q},isFocused:b1,isSelected:D,isPressed:A1,isDisabled:Z}}function U5(t){let{heading:e,"aria-label":r}=t,o=X();return{itemProps:{role:"presentation"},headingProps:e?{id:o,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?o:void 0}}}var Y5=g(y(),1);function p2(t,e){let{role:r="dialog"}=t,o=ie();o=t["aria-label"]?void 0:o;let a=(0,Y5.useRef)(!1);return(0,Y5.useEffect)(()=>{if(e.current&&!e.current.contains(document.activeElement)){h1(e.current);let l=setTimeout(()=>{document.activeElement===e.current&&(a.current=!0,e.current&&(e.current.blur(),h1(e.current)),a.current=!1)},500);return()=>{clearTimeout(l)}}},[e]),b9(),{dialogProps:{...z(t,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||o,onBlur:l=>{a.current&&l.stopPropagation()}},titleProps:{id:o}}}var v3=class{isCell(e){return e.type==="cell"}isRow(e){return e.type==="row"||e.type==="item"}isDisabled(e){var r;return this.disabledBehavior==="all"&&(((r=e.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(e.key))}findPreviousKey(e,r){let o=e!=null?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;o!=null;){let a=this.collection.getItem(o);if(!this.isDisabled(a)&&(!r||r(a)))return o;o=this.collection.getKeyBefore(o)}}findNextKey(e,r){let o=e!=null?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;o!=null;){let a=this.collection.getItem(o);if(!this.isDisabled(a)&&(!r||r(a)))return o;o=this.collection.getKeyAfter(o)}}getKeyBelow(e){let r=this.collection.getItem(e);if(r&&(this.isCell(r)&&(e=r.parentKey),e=this.findNextKey(e,o=>o.type==="item"),e!=null)){if(this.isCell(r)){let o=this.collection.getItem(e);return Be(d1(o,this.collection),r.index).key}if(this.focusMode==="row")return e}}getKeyAbove(e){let r=this.collection.getItem(e);if(r&&(this.isCell(r)&&(e=r.parentKey),e=this.findPreviousKey(e,o=>o.type==="item"),e!=null)){if(this.isCell(r)){let o=this.collection.getItem(e);return Be(d1(o,this.collection),r.index).key}if(this.focusMode==="row")return e}}getKeyRightOf(e){let r=this.collection.getItem(e);if(r){if(this.isRow(r)){let o=d1(r,this.collection);return this.direction==="rtl"?de(o).key:G1(o).key}if(this.isCell(r)){let o=this.collection.getItem(r.parentKey),a=d1(o,this.collection),l=this.direction==="rtl"?Be(a,r.index-1):Be(a,r.index+1);return l?l.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getFirstKey(e):this.getLastKey(e)}}}getKeyLeftOf(e){let r=this.collection.getItem(e);if(r){if(this.isRow(r)){let o=d1(r,this.collection);return this.direction==="rtl"?G1(o).key:de(o).key}if(this.isCell(r)){let o=this.collection.getItem(r.parentKey),a=d1(o,this.collection),l=this.direction==="rtl"?Be(a,r.index+1):Be(a,r.index-1);return l?l.key:this.focusMode==="row"?r.parentKey:this.direction==="rtl"?this.getLastKey(e):this.getFirstKey(e)}}}getFirstKey(e,r){let o;if(e!=null){if(o=this.collection.getItem(e),!o)return;if(this.isCell(o)&&!r){let a=this.collection.getItem(o.parentKey);return G1(d1(a,this.collection)).key}}if(e=this.findNextKey(null,a=>a.type==="item"),e!=null&&o&&this.isCell(o)&&r||this.focusMode==="cell"){let a=this.collection.getItem(e);e=G1(d1(a,this.collection)).key}return e}getLastKey(e,r){let o;if(e!=null){if(o=this.collection.getItem(e),!o)return;if(this.isCell(o)&&!r){let a=this.collection.getItem(o.parentKey),l=d1(a,this.collection);return de(l).key}}if(e=this.findPreviousKey(null,a=>a.type==="item"),e!=null&&o&&this.isCell(o)&&r||this.focusMode==="cell"){let a=this.collection.getItem(e),l=d1(a,this.collection);e=de(l).key}return e}getKeyPageAbove(e){let r=this.layoutDelegate.getItemRect(e);if(!r)return null;let o=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>o;)e=this.getKeyAbove(e),r=this.layoutDelegate.getItemRect(e);return e}getKeyPageBelow(e){let r=this.layoutDelegate.getItemRect(e);if(!r)return null;let o=this.layoutDelegate.getVisibleRect().height,a=Math.min(this.layoutDelegate.getContentSize().height,r.y+o);for(;r&&r.y+r.heightn.type==="item"),a==null&&!i&&(a=this.getFirstKey(),i=!0)}return null}constructor(e){this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,this.layoutDelegate=e.layoutDelegate||(e.layout?new Q8(e.layout):new _0(e.ref)),this.focusMode=e.focusMode||"row"}},Q8=class{getContentSize(){return this.layout.getContentSize()}getItemRect(e){var r;return((r=this.layout.getLayoutInfo(e))===null||r===void 0?void 0:r.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(e){this.layout=e}};var m2=new WeakMap;var et={};et={deselectedItem:t=>`${t.item} \u063A\u064A\u0631 \u0627\u0644\u0645\u062D\u062F\u062F`,longPressToSelect:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u064B\u0627 \u0644\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0648\u0636\u0639 \u0627\u0644\u062A\u062D\u062F\u064A\u062F.",select:"\u062A\u062D\u062F\u064A\u062F",selectedAll:"\u062C\u0645\u064A\u0639 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062D\u062F\u062F\u0629.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u0644\u0645 \u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0639\u0646\u0627\u0635\u0631",one:()=>`${e.number(t.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`,other:()=>`${e.number(t.count)} \u0639\u0646\u0635\u0631 \u0645\u062D\u062F\u062F`})}.`,selectedItem:t=>`${t.item} \u0627\u0644\u0645\u062D\u062F\u062F`};var tt={};tt={deselectedItem:t=>`${t.item} \u043D\u0435 \u0435 \u0438\u0437\u0431\u0440\u0430\u043D.`,longPressToSelect:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u0438 \u0437\u0430\u0434\u0440\u044A\u0436\u0442\u0435 \u0437\u0430 \u0434\u0430 \u0432\u043B\u0435\u0437\u0435\u0442\u0435 \u0432 \u0438\u0437\u0431\u0438\u0440\u0430\u0442\u0435\u043B\u0435\u043D \u0440\u0435\u0436\u0438\u043C.",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectedAll:"\u0412\u0441\u0438\u0447\u043A\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u041D\u044F\u043C\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438",one:()=>`${e.number(t.count)} \u0438\u0437\u0431\u0440\u0430\u043D \u0435\u043B\u0435\u043C\u0435\u043D\u0442`,other:()=>`${e.number(t.count)} \u0438\u0437\u0431\u0440\u0430\u043D\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438`})}.`,selectedItem:t=>`${t.item} \u0438\u0437\u0431\u0440\u0430\u043D.`};var rt={};rt={deselectedItem:t=>`Polo\u017Eka ${t.item} nen\xED vybr\xE1na.`,longPressToSelect:"Dlouh\xFDm stisknut\xEDm p\u0159ejdete do re\u017Eimu v\xFDb\u011Bru.",select:"Vybrat",selectedAll:"Vybr\xE1ny v\u0161echny polo\u017Eky.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nevybr\xE1ny \u017E\xE1dn\xE9 polo\u017Eky",one:()=>`Vybr\xE1na ${e.number(t.count)} polo\u017Eka`,other:()=>`Vybr\xE1no ${e.number(t.count)} polo\u017Eek`})}.`,selectedItem:t=>`Vybr\xE1na polo\u017Eka ${t.item}.`};var ot={};ot={deselectedItem:t=>`${t.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"V\xE6lg",selectedAll:"Alle elementer valgt.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Ingen elementer valgt",one:()=>`${e.number(t.count)} element valgt`,other:()=>`${e.number(t.count)} elementer valgt`})}.`,selectedItem:t=>`${t.item} valgt.`};var at={};at={deselectedItem:t=>`${t.item} nicht ausgew\xE4hlt.`,longPressToSelect:"Gedr\xFCckt halten, um Auswahlmodus zu \xF6ffnen.",select:"Ausw\xE4hlen",selectedAll:"Alle Elemente ausgew\xE4hlt.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Keine Elemente ausgew\xE4hlt",one:()=>`${e.number(t.count)} Element ausgew\xE4hlt`,other:()=>`${e.number(t.count)} Elemente ausgew\xE4hlt`})}.`,selectedItem:t=>`${t.item} ausgew\xE4hlt.`};var lt={};lt={deselectedItem:t=>`\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${t.item}.`,longPressToSelect:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03C0\u03B5\u03AF\u03C4\u03B5 \u03C3\u03B5 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE\u03C2.",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectedAll:"\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03CC\u03BB\u03B1 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u0394\u03B5\u03BD \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",one:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 ${e.number(t.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF`,other:()=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B1\u03BD ${e.number(t.count)} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1`})}.`,selectedItem:t=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF ${t.item}.`};var it={};it={deselectedItem:t=>`${t.item} not selected.`,select:"Select",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"No items selected",one:()=>`${e.number(t.count)} item selected`,other:()=>`${e.number(t.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:t=>`${t.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var st={};st={deselectedItem:t=>`${t.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selecci\xF3n.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Ning\xFAn elemento seleccionado",one:()=>`${e.number(t.count)} elemento seleccionado`,other:()=>`${e.number(t.count)} elementos seleccionados`})}.`,selectedItem:t=>`${t.item} seleccionado.`};var nt={};nt={deselectedItem:t=>`${t.item} pole valitud.`,longPressToSelect:"Valikure\u017Eiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"K\xF5ik \xFCksused valitud.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\xDCksusi pole valitud",one:()=>`${e.number(t.count)} \xFCksus valitud`,other:()=>`${e.number(t.count)} \xFCksust valitud`})}.`,selectedItem:t=>`${t.item} valitud.`};var ut={};ut={deselectedItem:t=>`Kohdetta ${t.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitk\xE4\xE4n.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Ei yht\xE4\xE4n kohdetta valittu",one:()=>`${e.number(t.count)} kohde valittu`,other:()=>`${e.number(t.count)} kohdetta valittu`})}.`,selectedItem:t=>`${t.item} valittu.`};var dt={};dt={deselectedItem:t=>`${t.item} non s\xE9lectionn\xE9.`,longPressToSelect:"Appuyez de mani\xE8re prolong\xE9e pour passer en mode de s\xE9lection.",select:"S\xE9lectionner",selectedAll:"Tous les \xE9l\xE9ments s\xE9lectionn\xE9s.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Aucun \xE9l\xE9ment s\xE9lectionn\xE9",one:()=>`${e.number(t.count)} \xE9l\xE9ment s\xE9lectionn\xE9`,other:()=>`${e.number(t.count)} \xE9l\xE9ments s\xE9lectionn\xE9s`})}.`,selectedItem:t=>`${t.item} s\xE9lectionn\xE9.`};var ct={};ct={deselectedItem:t=>`${t.item} \u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8.`,longPressToSelect:"\u05D4\u05E7\u05E9\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DC\u05DB\u05E0\u05D9\u05E1\u05D4 \u05DC\u05DE\u05E6\u05D1 \u05D1\u05D7\u05D9\u05E8\u05D4.",select:"\u05D1\u05D7\u05E8",selectedAll:"\u05DB\u05DC \u05D4\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8\u05D5 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",one:()=>`\u05E4\u05E8\u05D9\u05D8 ${e.number(t.count)} \u05E0\u05D1\u05D7\u05E8`,other:()=>`${e.number(t.count)} \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05E0\u05D1\u05D7\u05E8\u05D5`})}.`,selectedItem:t=>`${t.item} \u05E0\u05D1\u05D7\u05E8.`};var ft={};ft={deselectedItem:t=>`Stavka ${t.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u na\u010Din odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${e.number(t.count)} stavka`,other:()=>`Odabrano je ${e.number(t.count)} stavki`})}.`,selectedItem:t=>`Stavka ${t.item} je odabrana.`};var Ct={};Ct={deselectedItem:t=>`${t.item} nincs kijel\xF6lve.`,longPressToSelect:"Nyomja hosszan a kijel\xF6l\xE9shez.",select:"Kijel\xF6l\xE9s",selectedAll:"Az \xF6sszes elem kijel\xF6lve.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Egy elem sincs kijel\xF6lve",one:()=>`${e.number(t.count)} elem kijel\xF6lve`,other:()=>`${e.number(t.count)} elem kijel\xF6lve`})}.`,selectedItem:t=>`${t.item} kijel\xF6lve.`};var pt={};pt={deselectedItem:t=>`${t.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalit\xE0 di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nessun elemento selezionato",one:()=>`${e.number(t.count)} elemento selezionato`,other:()=>`${e.number(t.count)} elementi selezionati`})}.`,selectedItem:t=>`${t.item} selezionato.`};var mt={};mt={deselectedItem:t=>`${t.item} \u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002`,longPressToSelect:"\u9577\u62BC\u3057\u3057\u3066\u9078\u629E\u30E2\u30FC\u30C9\u3092\u958B\u304D\u307E\u3059\u3002",select:"\u9078\u629E",selectedAll:"\u3059\u3079\u3066\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u9805\u76EE\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",one:()=>`${e.number(t.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`,other:()=>`${e.number(t.count)} \u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F`})}\u3002`,selectedItem:t=>`${t.item} \u3092\u9078\u629E\u3057\u307E\u3057\u305F\u3002`};var bt={};bt={deselectedItem:t=>`${t.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.`,longPressToSelect:"\uC120\uD0DD \uBAA8\uB4DC\uB85C \uB4E4\uC5B4\uAC00\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",select:"\uC120\uD0DD",selectedAll:"\uBAA8\uB4E0 \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\uC120\uD0DD\uB41C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",one:()=>`${e.number(t.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`,other:()=>`${e.number(t.count)}\uAC1C \uD56D\uBAA9\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4`})}.`,selectedItem:t=>`${t.item}\uC774(\uAC00) \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4.`};var $t={};$t={deselectedItem:t=>`${t.item} nepasirinkta.`,longPressToSelect:"Nor\u0117dami \u012Fjungti pasirinkimo re\u017Eim\u0105, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nepasirinktas n\u0117 vienas elementas",one:()=>`Pasirinktas ${e.number(t.count)} elementas`,other:()=>`Pasirinkta element\u0173: ${e.number(t.count)}`})}.`,selectedItem:t=>`Pasirinkta: ${t.item}.`};var ht={};ht={deselectedItem:t=>`Vienums ${t.item} nav atlas\u012Bts.`,longPressToSelect:"Ilgi turiet nospiestu. lai iesl\u0113gtu atlases re\u017E\u012Bmu.",select:"Atlas\u012Bt",selectedAll:"Atlas\u012Bti visi vienumi.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nav atlas\u012Bts neviens vienums",one:()=>`Atlas\u012Bto vienumu skaits: ${e.number(t.count)}`,other:()=>`Atlas\u012Bto vienumu skaits: ${e.number(t.count)}`})}.`,selectedItem:t=>`Atlas\u012Bts vienums ${t.item}.`};var gt={};gt={deselectedItem:t=>`${t.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for \xE5 g\xE5 inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Ingen elementer er valgt",one:()=>`${e.number(t.count)} element er valgt`,other:()=>`${e.number(t.count)} elementer er valgt`})}.`,selectedItem:t=>`${t.item} er valgt.`};var vt={};vt={deselectedItem:t=>`${t.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Geen items geselecteerd",one:()=>`${e.number(t.count)} item geselecteerd`,other:()=>`${e.number(t.count)} items geselecteerd`})}.`,selectedItem:t=>`${t.item} geselecteerd.`};var xt={};xt={deselectedItem:t=>`Nie zaznaczono ${t.item}.`,longPressToSelect:"Naci\u015Bnij i przytrzymaj, aby wej\u015B\u0107 do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nie zaznaczono \u017Cadnych element\xF3w",one:()=>`${e.number(t.count)} zaznaczony element`,other:()=>`${e.number(t.count)} zaznaczonych element\xF3w`})}.`,selectedItem:t=>`Zaznaczono ${t.item}.`};var Lt={};Lt={deselectedItem:t=>`${t.item} n\xE3o selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nenhum item selecionado",one:()=>`${e.number(t.count)} item selecionado`,other:()=>`${e.number(t.count)} itens selecionados`})}.`,selectedItem:t=>`${t.item} selecionado.`};var yt={};yt={deselectedItem:t=>`${t.item} n\xE3o selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de sele\xE7\xE3o.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nenhum item selecionado",one:()=>`${e.number(t.count)} item selecionado`,other:()=>`${e.number(t.count)} itens selecionados`})}.`,selectedItem:t=>`${t.item} selecionado.`};var Mt={};Mt={deselectedItem:t=>`${t.item} neselectat.`,longPressToSelect:"Ap\u0103sa\u021Bi lung pentru a intra \xEEn modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Niciun element selectat",one:()=>`${e.number(t.count)} element selectat`,other:()=>`${e.number(t.count)} elemente selectate`})}.`,selectedItem:t=>`${t.item} selectat.`};var St={};St={deselectedItem:t=>`${t.item} \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u0432\u0445\u043E\u0434\u0430 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u044B\u0431\u043E\u0440\u0430.",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectedAll:"\u0412\u044B\u0431\u0440\u0430\u043D\u044B \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u041D\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432",one:()=>`${e.number(t.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u044B\u0431\u0440\u0430\u043D`,other:()=>`${e.number(t.count)} \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043E`})}.`,selectedItem:t=>`${t.item} \u0432\u044B\u0431\u0440\u0430\u043D\u043E.`};var Pt={};Pt={deselectedItem:t=>`Nevybrat\xE9 polo\u017Eky: ${t.item}.`,longPressToSelect:"Dlh\u0161\xEDm stla\u010Den\xEDm prejdite do re\u017Eimu v\xFDberu.",select:"Vybra\u0165",selectedAll:"V\u0161etky vybrat\xE9 polo\u017Eky.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u017Diadne vybrat\xE9 polo\u017Eky",one:()=>`${e.number(t.count)} vybrat\xE1 polo\u017Eka`,other:()=>`Po\u010Det vybrat\xFDch polo\u017Eiek:${e.number(t.count)}`})}.`,selectedItem:t=>`Vybrat\xE9 polo\u017Eky: ${t.item}.`};var Ht={};Ht={deselectedItem:t=>`Element ${t.item} ni izbran.`,longPressToSelect:"Za izbirni na\u010Din pritisnite in dlje \u010Dasa dr\u017Eite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Noben element ni izbran",one:()=>`${e.number(t.count)} element je izbran`,other:()=>`${e.number(t.count)} elementov je izbranih`})}.`,selectedItem:t=>`Element ${t.item} je izbran.`};var Vt={};Vt={deselectedItem:t=>`${t.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u re\u017Eim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${e.number(t.count)} stavka`,other:()=>`Izabrano je ${e.number(t.count)} stavki`})}.`,selectedItem:t=>`${t.item} je izabrano.`};var Et={};Et={deselectedItem:t=>`${t.item} ej markerat.`,longPressToSelect:"Tryck l\xE4nge n\xE4r du vill \xF6ppna v\xE4ljarl\xE4ge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Inga markerade objekt",one:()=>`${e.number(t.count)} markerat objekt`,other:()=>`${e.number(t.count)} markerade objekt`})}.`,selectedItem:t=>`${t.item} markerat.`};var wt={};wt={deselectedItem:t=>`${t.item} se\xE7ilmedi.`,longPressToSelect:"Se\xE7im moduna girmek i\xE7in uzun bas\u0131n.",select:"Se\xE7",selectedAll:"T\xFCm \xF6geler se\xE7ildi.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"Hi\xE7bir \xF6ge se\xE7ilmedi",one:()=>`${e.number(t.count)} \xF6ge se\xE7ildi`,other:()=>`${e.number(t.count)} \xF6ge se\xE7ildi`})}.`,selectedItem:t=>`${t.item} se\xE7ildi.`};var Dt={};Dt={deselectedItem:t=>`${t.item} \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`,longPressToSelect:"\u0412\u0438\u043A\u043E\u043D\u0430\u0439\u0442\u0435 \u0434\u043E\u0432\u0433\u0435 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C \u0432\u0438\u0431\u043E\u0440\u0443.",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectedAll:"\u0423\u0441\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u043E.",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u0416\u043E\u0434\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0435 \u0432\u0438\u0431\u0440\u0430\u043D\u043E",one:()=>`${e.number(t.count)} \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u0438\u0431\u0440\u0430\u043D\u043E`,other:()=>`\u0412\u0438\u0431\u0440\u0430\u043D\u043E \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432: ${e.number(t.count)}`})}.`,selectedItem:t=>`${t.item} \u0432\u0438\u0431\u0440\u0430\u043D\u043E.`};var kt={};kt={deselectedItem:t=>`\u672A\u9009\u62E9 ${t.item}\u3002`,longPressToSelect:"\u957F\u6309\u4EE5\u8FDB\u5165\u9009\u62E9\u6A21\u5F0F\u3002",select:"\u9009\u62E9",selectedAll:"\u5DF2\u9009\u62E9\u6240\u6709\u9879\u76EE\u3002",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u672A\u9009\u62E9\u9879\u76EE",one:()=>`\u5DF2\u9009\u62E9 ${e.number(t.count)} \u4E2A\u9879\u76EE`,other:()=>`\u5DF2\u9009\u62E9 ${e.number(t.count)} \u4E2A\u9879\u76EE`})}\u3002`,selectedItem:t=>`\u5DF2\u9009\u62E9 ${t.item}\u3002`};var Zt={};Zt={deselectedItem:t=>`\u672A\u9078\u53D6\u300C${t.item}\u300D\u3002`,longPressToSelect:"\u9577\u6309\u4EE5\u9032\u5165\u9078\u64C7\u6A21\u5F0F\u3002",select:"\u9078\u53D6",selectedAll:"\u5DF2\u9078\u53D6\u6240\u6709\u9805\u76EE\u3002",selectedCount:(t,e)=>`${e.plural(t.count,{"=0":"\u672A\u9078\u53D6\u4EFB\u4F55\u9805\u76EE",one:()=>`\u5DF2\u9078\u53D6 ${e.number(t.count)} \u500B\u9805\u76EE`,other:()=>`\u5DF2\u9078\u53D6 ${e.number(t.count)} \u500B\u9805\u76EE`})}\u3002`,selectedItem:t=>`\u5DF2\u9078\u53D6\u300C${t.item}\u300D\u3002`};var x3={};x3={"ar-AE":et,"bg-BG":tt,"cs-CZ":rt,"da-DK":ot,"de-DE":at,"el-GR":lt,"en-US":it,"es-ES":st,"et-EE":nt,"fi-FI":ut,"fr-FR":dt,"he-IL":ct,"hr-HR":ft,"hu-HU":Ct,"it-IT":pt,"ja-JP":mt,"ko-KR":bt,"lt-LT":$t,"lv-LV":ht,"nb-NO":gt,"nl-NL":vt,"pl-PL":xt,"pt-BR":Lt,"pt-PT":yt,"ro-RO":Mt,"ru-RU":St,"sk-SK":Pt,"sl-SI":Ht,"sr-SP":Vt,"sv-SE":Et,"tr-TR":wt,"uk-UA":Dt,"zh-CN":kt,"zh-TW":Zt};var Xi=g(y(),1);function yc(t){return t&&t.__esModule?t.default:t}function Qi(t,e){let{getRowText:r=i=>{var s,n,u,d;return(d=(s=(n=e.collection).getTextValue)===null||s===void 0?void 0:s.call(n,i))!==null&&d!==void 0?d:(u=e.collection.getItem(i))===null||u===void 0?void 0:u.textValue}}=t,o=f1(yc(x3),"@react-aria/grid"),a=e.selectionManager.rawSelection,l=(0,Xi.useRef)(a);W2(()=>{var i;if(!e.selectionManager.isFocused){l.current=a;return}let s=Ji(a,l.current),n=Ji(l.current,a),u=e.selectionManager.selectionBehavior==="replace",d=[];if(e.selectionManager.selectedKeys.size===1&&u){if(e.collection.getItem(e.selectionManager.selectedKeys.keys().next().value)){let c=r(e.selectionManager.selectedKeys.keys().next().value);c&&d.push(o.format("selectedItem",{item:c}))}}else if(s.size===1&&n.size===0){let c=r(s.keys().next().value);c&&d.push(o.format("selectedItem",{item:c}))}else if(n.size===1&&s.size===0&&e.collection.getItem(n.keys().next().value)){let c=r(n.keys().next().value);c&&d.push(o.format("deselectedItem",{item:c}))}e.selectionManager.selectionMode==="multiple"&&(d.length===0||a==="all"||a.size>1||l.current==="all"||((i=l.current)===null||i===void 0?void 0:i.size)>1)&&d.push(a==="all"?o.format("selectedAll"):o.format("selectedCount",{count:a.size})),d.length>0&&K0(d.join(" ")),l.current=a},[a])}function Ji(t,e){let r=new Set;if(t==="all"||e==="all")return r;for(let o of t.keys())e.has(o)||r.add(o);return r}var es=g(y(),1);function Mc(t){return t&&t.__esModule?t.default:t}function ts(t){let e=f1(Mc(x3),"@react-aria/grid"),r=Q2(),o=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,a=(0,es.useMemo)(()=>{let i=t.selectionManager.selectionMode,s=t.selectionManager.selectionBehavior,n;return o&&(n=e.format("longPressToSelect")),s==="replace"&&i!=="none"&&t.hasItemActions?n:void 0},[t.selectionManager.selectionMode,t.selectionManager.selectionBehavior,t.hasItemActions,e,o]);return s0(a)}var y9=g(y(),1);function Tt(t,e,r){let{isVirtualized:o,keyboardDelegate:a,focusMode:l,scrollRef:i,getRowText:s,onRowAction:n,onCellAction:u}=t,{selectionManager:d}=e;!t["aria-label"]&&!t["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let c=ve({usage:"search",sensitivity:"base"}),{direction:C}=o1(),f=e.selectionManager.disabledBehavior,p=(0,y9.useMemo)(()=>a||new v3({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:f,ref:r,direction:C,collator:c,focusMode:l}),[a,e.collection,e.disabledKeys,f,r,C,c,l]),{collectionProps:$}=g3({ref:r,selectionManager:d,keyboardDelegate:p,isVirtualized:o,scrollRef:i}),h=X(t.id);m2.set(e,{keyboardDelegate:p,actions:{onRowAction:n,onCellAction:u}});let b=ts({selectionManager:d,hasItemActions:!!(n||u)}),x=z(t,{labelable:!0}),v=(0,y9.useCallback)(Z=>{if(d.isFocused){Z.currentTarget.contains(Z.target)||d.setFocused(!1);return}Z.currentTarget.contains(Z.target)&&d.setFocused(!0)},[d]),S=(0,y9.useMemo)(()=>({onBlur:$.onBlur,onFocus:v}),[v,$.onBlur]),L=a9(r,{isDisabled:e.collection.size!==0}),H=E(x,{role:"grid",id:h,"aria-multiselectable":d.selectionMode==="multiple"?"true":void 0},e.isKeyboardNavigationDisabled?S:$,e.collection.size===0&&{tabIndex:L?-1:0},b);return o&&(H["aria-rowcount"]=e.collection.size,H["aria-colcount"]=e.collection.columnCount),Qi({getRowText:s},e),{gridProps:H}}function Ft(){return{rowGroupProps:{role:"rowgroup"}}}function Bt(t,e,r){var o,a;let{node:l,isVirtualized:i,shouldSelectOnPressUp:s,onAction:n}=t,{actions:u}=m2.get(e),d=u.onRowAction?()=>u.onRowAction(l.key):n,{itemProps:c,...C}=Fe({selectionManager:e.selectionManager,key:l.key,ref:r,isVirtualized:i,shouldSelectOnPressUp:s,onAction:d||!(l==null||(o=l.props)===null||o===void 0)&&o.onAction?D1(l==null||(a=l.props)===null||a===void 0?void 0:a.onAction,d):void 0,isDisabled:e.collection.size===0}),f=e.selectionManager.isSelected(l.key),p={role:"row","aria-selected":e.selectionManager.selectionMode!=="none"?f:void 0,"aria-disabled":C.isDisabled||void 0,...c};return i&&(p["aria-rowindex"]=l.index+1),{rowProps:p,...C}}var rs=g(y(),1);function M9(t,e,r){let{node:o,isVirtualized:a,focusMode:l="child",shouldSelectOnPressUp:i,onAction:s}=t,{direction:n}=o1(),{keyboardDelegate:u,actions:{onCellAction:d}}=m2.get(e),c=(0,rs.useRef)(null),C=()=>{let v=Z1(r.current);if(l==="child"){if(r.current.contains(document.activeElement)&&r.current!==document.activeElement)return;let S=e.selectionManager.childFocusStrategy==="last"?Rt(v):v.firstChild();if(S){h1(S);return}}(c.current!=null&&o.key!==c.current||!r.current.contains(document.activeElement))&&h1(r.current)},{itemProps:f,isPressed:p}=Fe({selectionManager:e.selectionManager,key:o.key,ref:r,isVirtualized:a,focus:C,shouldSelectOnPressUp:i,onAction:d?()=>d(o.key):s,isDisabled:e.collection.size===0}),b=E(f,{role:"gridcell",onKeyDownCapture:v=>{if(!v.currentTarget.contains(v.target)||e.isKeyboardNavigationDisabled)return;let S=Z1(r.current);switch(S.currentNode=document.activeElement,v.key){case"ArrowLeft":{let L=n==="rtl"?S.nextNode():S.previousNode();if(l==="child"&&L===r.current&&(L=null),v.preventDefault(),v.stopPropagation(),L)h1(L),ke(L,{containingElement:De(r.current)});else{if(u.getKeyLeftOf(o.key)!==o.key){r.current.parentElement.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent));break}l==="cell"&&n==="rtl"?(h1(r.current),ke(r.current,{containingElement:De(r.current)})):(S.currentNode=r.current,L=n==="rtl"?S.firstChild():Rt(S),L&&(h1(L),ke(L,{containingElement:De(r.current)})))}break}case"ArrowRight":{let L=n==="rtl"?S.previousNode():S.nextNode();if(l==="child"&&L===r.current&&(L=null),v.preventDefault(),v.stopPropagation(),L)h1(L),ke(L,{containingElement:De(r.current)});else{if(u.getKeyRightOf(o.key)!==o.key){r.current.parentElement.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent));break}l==="cell"&&n==="ltr"?(h1(r.current),ke(r.current,{containingElement:De(r.current)})):(S.currentNode=r.current,L=n==="rtl"?Rt(S):S.firstChild(),L&&(h1(L),ke(L,{containingElement:De(r.current)})))}break}case"ArrowUp":case"ArrowDown":!v.altKey&&r.current.contains(v.target)&&(v.stopPropagation(),v.preventDefault(),r.current.parentElement.dispatchEvent(new KeyboardEvent(v.nativeEvent.type,v.nativeEvent)));break}},onFocus:v=>{if(c.current=o.key,v.target!==r.current){se()||e.selectionManager.setFocusedKey(o.key);return}requestAnimationFrame(()=>{l==="child"&&document.activeElement===r.current&&C()})}});var x;return a&&(b["aria-colindex"]=((x=o.colIndex)!==null&&x!==void 0?x:o.index)+1),i&&b.tabIndex!=null&&b.onPointerDown==null&&(b.onPointerDown=v=>{let S=v.currentTarget,L=S.getAttribute("tabindex");S.removeAttribute("tabindex"),requestAnimationFrame(()=>{S.setAttribute("tabindex",L)})}),{gridCellProps:b,isPressed:p}}function Rt(t){let e,r;do r=t.lastChild(),r&&(e=r);while(r);return e}function Sc(t){return t&&t.__esModule?t.default:t}function It(t,e){let{key:r}=t,o=e.selectionManager,a=X(),l=!e.selectionManager.canSelectItem(r),i=e.selectionManager.isSelected(r),s=()=>o.toggleSelection(r),n=f1(Sc(x3),"@react-aria/grid");return{checkboxProps:{id:a,"aria-label":n.format("select"),isSelected:i,isDisabled:l,onChange:s}}}var q5=new WeakMap;function b2(t,e,r){let{value:o,children:a,"aria-label":l,"aria-labelledby":i}=t,s=t.isDisabled||e.isDisabled,n=a!=null,u=l!=null||i!=null;!n&&!u&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=e.selectedValue===o,c=m=>{m.stopPropagation(),e.setSelectedValue(o)},{pressProps:C,isPressed:f}=k1({isDisabled:s}),{pressProps:p,isPressed:$}=k1({isDisabled:s,onPress(){e.setSelectedValue(o)}}),{focusableProps:h}=N1(E(t,{onFocus:()=>e.setLastFocusedValue(o)}),r),b=E(C,h),x=z(t,{labelable:!0}),v=-1;e.selectedValue!=null?e.selectedValue===o&&(v=0):(e.lastFocusedValue===o||e.lastFocusedValue==null)&&(v=0),s&&(v=void 0);let{name:S,descriptionId:L,errorMessageId:H,validationBehavior:Z}=q5.get(e);return Ze(r,e.selectedValue,e.setSelectedValue),f0({validationBehavior:Z},e,r),{labelProps:E(p,{onClick:m=>m.preventDefault()}),inputProps:E(x,{...b,type:"radio",name:S,tabIndex:v,disabled:s,required:e.isRequired&&Z==="native",checked:d,value:o,onChange:c,"aria-describedby":[t["aria-describedby"],e.isInvalid?H:null,L].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:d,isPressed:f||$}}function $2(t,e){let{name:r,isReadOnly:o,isRequired:a,isDisabled:l,orientation:i="vertical",validationBehavior:s="aria"}=t,{direction:n}=o1(),{isInvalid:u,validationErrors:d,validationDetails:c}=e.displayValidation,{labelProps:C,fieldProps:f,descriptionProps:p,errorMessageProps:$}=p0({...t,labelElementType:"span",isInvalid:e.isInvalid,errorMessage:t.errorMessage||d}),h=z(t,{labelable:!0}),{focusWithinProps:b}=X1({onBlurWithin(S){var L;(L=t.onBlur)===null||L===void 0||L.call(t,S),e.selectedValue||e.setLastFocusedValue(null)},onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange}),x=S=>{let L;switch(S.key){case"ArrowRight":n==="rtl"&&i!=="vertical"?L="prev":L="next";break;case"ArrowLeft":n==="rtl"&&i!=="vertical"?L="next":L="prev";break;case"ArrowDown":L="next";break;case"ArrowUp":L="prev";break;default:return}S.preventDefault();let H=Z1(S.currentTarget,{from:S.target}),Z;L==="next"?(Z=H.nextNode(),Z||(H.currentNode=S.currentTarget,Z=H.firstChild())):(Z=H.previousNode(),Z||(H.currentNode=S.currentTarget,Z=H.lastChild())),Z&&(Z.focus(),e.setSelectedValue(Z.value))},v=X(r);return q5.set(e,{name:v,descriptionId:p.id,errorMessageId:$.id,validationBehavior:s}),{radioGroupProps:E(h,{role:"radiogroup",onKeyDown:x,"aria-invalid":e.isInvalid||void 0,"aria-errormessage":t["aria-errormessage"],"aria-readonly":o||void 0,"aria-required":a||void 0,"aria-disabled":l||void 0,"aria-orientation":i,...f,...b}),labelProps:C,descriptionProps:p,errorMessageProps:$,isInvalid:u,validationErrors:d,validationDetails:c}}var At={};At={"Clear search":"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B"};var zt={};zt={"Clear search":"\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u044A\u0440\u0441\u0435\u043D\u0435"};var Kt={};Kt={"Clear search":"Vymazat hled\xE1n\xED"};var Nt={};Nt={"Clear search":"Ryd s\xF8gning"};var Ot={};Ot={"Clear search":"Suche zur\xFCcksetzen"};var jt={};jt={"Clear search":"\u0391\u03C0\u03B1\u03BB\u03BF\u03B9\u03C6\u03AE \u03B1\u03BD\u03B1\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7\u03C2"};var Gt={};Gt={"Clear search":"Clear search"};var _t={};_t={"Clear search":"Borrar b\xFAsqueda"};var Wt={};Wt={"Clear search":"T\xFChjenda otsing"};var Ut={};Ut={"Clear search":"Tyhjenn\xE4 haku"};var Yt={};Yt={"Clear search":"Effacer la recherche"};var qt={};qt={"Clear search":"\u05E0\u05E7\u05D4 \u05D7\u05D9\u05E4\u05D5\u05E9"};var Jt={};Jt={"Clear search":"Obri\u0161i pretragu"};var Xt={};Xt={"Clear search":"Keres\xE9s t\xF6rl\xE9se"};var Qt={};Qt={"Clear search":"Cancella ricerca"};var er={};er={"Clear search":"\u691C\u7D22\u3092\u30AF\u30EA\u30A2"};var tr={};tr={"Clear search":"\uAC80\uC0C9 \uC9C0\uC6B0\uAE30"};var rr={};rr={"Clear search":"I\u0161valyti ie\u0161k\u0105"};var or={};or={"Clear search":"Not\u012Br\u012Bt mekl\u0113\u0161anu"};var ar={};ar={"Clear search":"T\xF8m s\xF8k"};var lr={};lr={"Clear search":"Zoekactie wissen"};var ir={};ir={"Clear search":"Wyczy\u015B\u0107 zawarto\u015B\u0107 wyszukiwania"};var sr={};sr={"Clear search":"Limpar pesquisa"};var nr={};nr={"Clear search":"Limpar pesquisa"};var ur={};ur={"Clear search":"\u015Eterge\u0163i c\u0103utarea"};var dr={};dr={"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A"};var cr={};cr={"Clear search":"Vymaza\u0165 vyh\u013Ead\xE1vanie"};var fr={};fr={"Clear search":"Po\u010Disti iskanje"};var Cr={};Cr={"Clear search":"Obri\u0161i pretragu"};var pr={};pr={"Clear search":"Rensa s\xF6kning"};var mr={};mr={"Clear search":"Aramay\u0131 temizle"};var br={};br={"Clear search":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A"};var $r={};$r={"Clear search":"\u6E05\u9664\u641C\u7D22"};var hr={};hr={"Clear search":"\u6E05\u9664\u641C\u5C0B\u689D\u4EF6"};var gr={};gr={"ar-AE":At,"bg-BG":zt,"cs-CZ":Kt,"da-DK":Nt,"de-DE":Ot,"el-GR":jt,"en-US":Gt,"es-ES":_t,"et-EE":Wt,"fi-FI":Ut,"fr-FR":Yt,"he-IL":qt,"hr-HR":Jt,"hu-HU":Xt,"it-IT":Qt,"ja-JP":er,"ko-KR":tr,"lt-LT":rr,"lv-LV":or,"nb-NO":ar,"nl-NL":lr,"pl-PL":ir,"pt-BR":sr,"pt-PT":nr,"ro-RO":ur,"ru-RU":dr,"sk-SK":cr,"sl-SI":fr,"sr-SP":Cr,"sv-SE":pr,"tr-TR":mr,"uk-UA":br,"zh-CN":$r,"zh-TW":hr};function Pc(t){return t&&t.__esModule?t.default:t}function h2(t,e,r){let o=f1(Pc(gr),"@react-aria/searchfield"),{isDisabled:a,isReadOnly:l,onSubmit:i,onClear:s,type:n="search"}=t,u=b=>{let x=b.key;x==="Enter"&&(a||l)&&b.preventDefault(),!(a||l)&&(x==="Enter"&&i&&(b.preventDefault(),i(e.value)),x==="Escape"&&(e.value===""?b.continuePropagation():(e.setValue(""),s&&s())))},d=()=>{e.setValue(""),s&&s()},c=()=>{var b;(b=r.current)===null||b===void 0||b.focus()},{labelProps:C,inputProps:f,descriptionProps:p,errorMessageProps:$,...h}=M7({...t,value:e.value,onChange:e.setValue,onKeyDown:l?t.onKeyDown:D1(u,t.onKeyDown),type:n},r);return{labelProps:C,inputProps:{...f,defaultValue:void 0},clearButtonProps:{"aria-label":o.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:a||l,onPress:d,onPressStart:c},descriptionProps:p,errorMessageProps:$,...h}}var os=g(y(),1);var vr=new WeakMap;function J5(t,e,r){let{keyboardDelegate:o,isDisabled:a,isRequired:l,name:i,validationBehavior:s="aria"}=t,n=ve({usage:"search",sensitivity:"base"}),u=(0,os.useMemo)(()=>o||new Le(e.collection,e.disabledKeys,null,n),[o,e.collection,e.disabledKeys,n]),{menuTriggerProps:d,menuProps:c}=Y0({isDisabled:a,type:"listbox"},e,r),C=m=>{switch(m.key){case"ArrowLeft":{m.preventDefault();let D=e.selectedKey!=null?u.getKeyAbove(e.selectedKey):u.getFirstKey();D&&e.setSelectedKey(D);break}case"ArrowRight":{m.preventDefault();let D=e.selectedKey!=null?u.getKeyBelow(e.selectedKey):u.getFirstKey();D&&e.setSelectedKey(D);break}}},{typeSelectProps:f}=g9({keyboardDelegate:u,selectionManager:e.selectionManager,onTypeSelect(m){e.setSelectedKey(m)}}),{isInvalid:p,validationErrors:$,validationDetails:h}=e.displayValidation,{labelProps:b,fieldProps:x,descriptionProps:v,errorMessageProps:S}=p0({...t,labelElementType:"span",isInvalid:p,errorMessage:t.errorMessage||$});f.onKeyDown=f.onKeyDownCapture,delete f.onKeyDownCapture;let L=z(t,{labelable:!0}),H=E(f,d,x),Z=X();return vr.set(e,{isDisabled:a,isRequired:l,name:i,validationBehavior:s}),{labelProps:{...b,onClick:()=>{t.isDisabled||(r.current.focus(),p3("keyboard"))}},triggerProps:E(L,{...H,isDisabled:a,onKeyDown:D1(H.onKeyDown,C,t.onKeyDown),onKeyUp:t.onKeyUp,"aria-labelledby":[Z,H["aria-labelledby"],H["aria-label"]&&!H["aria-labelledby"]?H.id:null].filter(Boolean).join(" "),onFocus(m){e.isFocused||(t.onFocus&&t.onFocus(m),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(m){e.isOpen||(t.onBlur&&t.onBlur(m),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:Z},menuProps:{...c,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:m=>{m.currentTarget.contains(m.relatedTarget)||(t.onBlur&&t.onBlur(m),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[x["aria-labelledby"],H["aria-label"]&&!x["aria-labelledby"]?H.id:null].filter(Boolean).join(" ")},descriptionProps:v,errorMessageProps:S,isInvalid:p,validationErrors:$,validationDetails:h}}var Ue=g(y(),1);function xr(t,e,r){let o=vr.get(e)||{},{autoComplete:a,name:l=o.name,isDisabled:i=o.isDisabled}=t,{validationBehavior:s,isRequired:n}=o,u=Q2(),{visuallyHiddenProps:d}=m0();Ze(t.selectRef,e.selectedKey,e.setSelectedKey),f0({validationBehavior:s,focus:()=>r.current.focus()},e,t.selectRef);var c;return{containerProps:{...d,"aria-hidden":!0,["data-react-aria-prevent-focus"]:!0,["data-a11y-ignore"]:"aria-hidden-focus"},inputProps:{type:"text",tabIndex:u==null||e.isFocused||e.isOpen?-1:0,style:{fontSize:16},onFocus:()=>r.current.focus(),disabled:i},selectProps:{tabIndex:-1,autoComplete:a,disabled:i,required:s==="native"&&n,name:l,value:(c=e.selectedKey)!==null&&c!==void 0?c:"",onChange:C=>e.setSelectedKey(C.target.value)}}}function X5(t){let{state:e,triggerRef:r,label:o,name:a,isDisabled:l}=t,i=(0,Ue.useRef)(null),{containerProps:s,inputProps:n,selectProps:u}=xr({...t,selectRef:i},e,r);var d;return e.collection.size<=300?Ue.default.createElement("div",{...s,"data-testid":"hidden-select-container"},Ue.default.createElement("input",n),Ue.default.createElement("label",null,o,Ue.default.createElement("select",{...u,ref:i},Ue.default.createElement("option",null),[...e.collection.getKeys()].map(c=>{let C=e.collection.getItem(c);if(C.type==="item")return Ue.default.createElement("option",{key:C.key,value:C.key},C.textValue)})))):a?Ue.default.createElement("input",{type:"hidden",autoComplete:u.autoComplete,name:a,disabled:l,value:(d=e.selectedKey)!==null&&d!==void 0?d:""}):null}var Q5=new WeakMap;function Lr(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function as(t,e){let r=Q5.get(t);if(!r)throw new Error("Unknown grid");return`${r}-${Lr(e)}`}function yr(t,e,r){let o=Q5.get(t);if(!o)throw new Error("Unknown grid");return`${o}-${Lr(e)}-${Lr(r)}`}function e4(t,e){return[...t.collection.rowHeaderColumnKeys].map(r=>yr(t,e,r)).join(" ")}var Mr={};Mr={ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",ascendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A`,columnSize:t=>`${t.value} \u0628\u0627\u0644\u0628\u0643\u0633\u0644`,descending:"\u062A\u0646\u0627\u0632\u0644\u064A",descendingSort:t=>`\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628 \u0627\u0644\u0639\u0645\u0648\u062F ${t.columnName} \u0628\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A`,resizerDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D Enter \u0644\u0628\u062F\u0621 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",select:"\u062A\u062D\u062F\u064A\u062F",selectAll:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sortable:"\u0639\u0645\u0648\u062F \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0631\u062A\u064A\u0628"};var Sr={};Sr={ascending:"\u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432\u044A\u0432 \u0432\u044A\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441\u0435\u043B\u0430`,descending:"\u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u043D\u043E \u043F\u043E \u043A\u043E\u043B\u043E\u043D\u0430 ${t.columnName} \u0432 \u043D\u0438\u0437\u0445\u043E\u0434\u044F\u0449 \u0440\u0435\u0434`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u0442\u0435",select:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435",selectAll:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0432\u0441\u0438\u0447\u043A\u043E",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0430\u0449\u0430 \u043A\u043E\u043B\u043E\u043D\u0430"};var Pr={};Pr={ascending:"vzestupn\u011B",ascendingSort:t=>`\u0159azeno vzestupn\u011B podle sloupce ${t.columnName}`,columnSize:t=>`${t.value} pixel\u016F`,descending:"sestupn\u011B",descendingSort:t=>`\u0159azeno sestupn\u011B podle sloupce ${t.columnName}`,resizerDescription:"Stisknut\xEDm kl\xE1vesy Enter za\u010Dnete m\u011Bnit velikost",select:"Vybrat",selectAll:"Vybrat v\u0161e",sortable:"sloupec s mo\u017Enost\xED \u0159azen\xED"};var Hr={};Hr={ascending:"stigende",ascendingSort:t=>`sorteret efter kolonne ${t.columnName} i stigende r\xE6kkef\xF8lge`,columnSize:t=>`${t.value} pixels`,descending:"faldende",descendingSort:t=>`sorteret efter kolonne ${t.columnName} i faldende r\xE6kkef\xF8lge`,resizerDescription:"Tryk p\xE5 Enter for at \xE6ndre st\xF8rrelse",select:"V\xE6lg",selectAll:"V\xE6lg alle",sortable:"sorterbar kolonne"};var Vr={};Vr={ascending:"aufsteigend",ascendingSort:t=>`sortiert nach Spalte ${t.columnName} in aufsteigender Reihenfolge`,columnSize:t=>`${t.value} Pixel`,descending:"absteigend",descendingSort:t=>`sortiert nach Spalte ${t.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Gr\xF6\xDFen\xE4nderung dr\xFCcken",select:"Ausw\xE4hlen",selectAll:"Alles ausw\xE4hlen",sortable:"sortierbare Spalte"};var Er={};Er={ascending:"\u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1",ascendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03B1\u03CD\u03BE\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,columnSize:t=>`${t.value} pixel`,descending:"\u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1",descendingSort:t=>`\u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE \u03B1\u03BD\u03AC \u03C3\u03C4\u03AE\u03BB\u03B7 ${t.columnName} \u03C3\u03B5 \u03C6\u03B8\u03AF\u03BD\u03BF\u03C5\u03C3\u03B1 \u03C3\u03B5\u03B9\u03C1\u03AC`,resizerDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AE\u03C2 \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2",select:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE",selectAll:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03CC\u03BB\u03C9\u03BD",sortable:"\u03A3\u03C4\u03AE\u03BB\u03B7 \u03B4\u03B9\u03B1\u03BB\u03BF\u03B3\u03AE\u03C2"};var wr={};wr={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:t=>`sorted by column ${t.columnName} in ascending order`,descendingSort:t=>`sorted by column ${t.columnName} in descending order`,columnSize:t=>`${t.value} pixels`,resizerDescription:"Press Enter to start resizing"};var Dr={};Dr={ascending:"de subida",ascendingSort:t=>`ordenado por columna ${t.columnName} en orden de subida`,columnSize:t=>`${t.value} p\xEDxeles`,descending:"de bajada",descendingSort:t=>`ordenado por columna ${t.columnName} en orden de bajada`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var kr={};kr={ascending:"t\xF5usev j\xE4rjestus",ascendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} t\xF5usvas j\xE4rjestuses`,columnSize:t=>`${t.value} pikslit`,descending:"laskuv j\xE4rjestus",descendingSort:t=>`sorditud veeru j\xE4rgi ${t.columnName} laskuvas j\xE4rjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali k\xF5ik",sortable:"sorditav veerg"};var Zr={};Zr={ascending:"nouseva",ascendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan nousevassa j\xE4rjestyksess\xE4`,columnSize:t=>`${t.value} pikseli\xE4`,descending:"laskeva",descendingSort:t=>`lajiteltu sarakkeen ${t.columnName} mukaan laskevassa j\xE4rjestyksess\xE4`,resizerDescription:"Aloita koon muutos painamalla Enter-n\xE4pp\xE4int\xE4",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var Tr={};Tr={ascending:"croissant",ascendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre croissant`,columnSize:t=>`${t.value}\xA0pixels`,descending:"d\xE9croissant",descendingSort:t=>`tri\xE9 en fonction de la colonne\xA0${t.columnName} par ordre d\xE9croissant`,resizerDescription:"Appuyez sur Entr\xE9e pour commencer le redimensionnement.",select:"S\xE9lectionner",selectAll:"S\xE9lectionner tout",sortable:"colonne triable"};var Fr={};Fr={ascending:"\u05E2\u05D5\u05DC\u05D4",ascendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05E2\u05D5\u05DC\u05D4`,columnSize:t=>`${t.value} \u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD`,descending:"\u05D9\u05D5\u05E8\u05D3",descendingSort:t=>`\u05DE\u05D5\u05D9\u05DF \u05DC\u05E4\u05D9 \u05E2\u05DE\u05D5\u05D3\u05D4 ${t.columnName} \u05D1\u05E1\u05D3\u05E8 \u05D9\u05D5\u05E8\u05D3`,resizerDescription:"\u05D4\u05E7\u05E9 Enter \u05DB\u05D3\u05D9 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05D2\u05D5\u05D3\u05DC",select:"\u05D1\u05D7\u05E8",selectAll:"\u05D1\u05D7\u05E8 \u05D4\u05DB\u05D5\u05DC",sortable:"\u05E2\u05DE\u05D5\u05D3\u05D4 \u05E9\u05E0\u05D9\u05EA\u05DF \u05DC\u05DE\u05D9\u05D9\u05DF"};var Br={};Br={ascending:"rastu\u0107i",ascendingSort:t=>`razvrstano po stupcima ${t.columnName} rastu\u0107em redoslijedom`,columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`razvrstano po stupcima ${t.columnName} padaju\u0107im redoslijedom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se mo\u017Ee razvrstati"};var Rr={};Rr={ascending:"n\xF6vekv\u0151",ascendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, n\xF6vekv\u0151 sorrendben`,columnSize:t=>`${t.value} k\xE9ppont`,descending:"cs\xF6kken\u0151",descendingSort:t=>`rendezve a(z) ${t.columnName} oszlop szerint, cs\xF6kken\u0151 sorrendben`,resizerDescription:"Nyomja le az Enter billenty\u0171t az \xE1tm\xE9retez\xE9s megkezd\xE9s\xE9hez",select:"Kijel\xF6l\xE9s",selectAll:"\xD6sszes kijel\xF6l\xE9se",sortable:"rendezend\u0151 oszlop"};var Ir={};Ir={ascending:"crescente",ascendingSort:t=>`in ordine crescente in base alla colonna ${t.columnName}`,columnSize:t=>`${t.value} pixel`,descending:"decrescente",descendingSort:t=>`in ordine decrescente in base alla colonna ${t.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var Ar={};Ar={ascending:"\u6607\u9806",ascendingSort:t=>`\u5217 ${t.columnName} \u3092\u6607\u9806\u3067\u4E26\u3079\u66FF\u3048`,columnSize:t=>`${t.value} \u30D4\u30AF\u30BB\u30EB`,descending:"\u964D\u9806",descendingSort:t=>`\u5217 ${t.columnName} \u3092\u964D\u9806\u3067\u4E26\u3079\u66FF\u3048`,resizerDescription:"Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u958B\u59CB",select:"\u9078\u629E",selectAll:"\u3059\u3079\u3066\u9078\u629E",sortable:"\u4E26\u3079\u66FF\u3048\u53EF\u80FD\u306A\u5217"};var zr={};zr={ascending:"\uC624\uB984\uCC28\uC21C",ascendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uC624\uB984\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,columnSize:t=>`${t.value} \uD53D\uC140`,descending:"\uB0B4\uB9BC\uCC28\uC21C",descendingSort:t=>`${t.columnName} \uC5F4\uC744 \uAE30\uC900\uC73C\uB85C \uB0B4\uB9BC\uCC28\uC21C\uC73C\uB85C \uC815\uB82C\uB428`,resizerDescription:"\uD06C\uAE30 \uC870\uC815\uC744 \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",select:"\uC120\uD0DD",selectAll:"\uBAA8\uB450 \uC120\uD0DD",sortable:"\uC815\uB82C \uAC00\uB2A5\uD55C \uC5F4"};var Kr={};Kr={ascending:"did\u0117jan\u010Dia tvarka",ascendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} did\u0117jan\u010Dia tvarka`,columnSize:t=>`${t.value} piks.`,descending:"ma\u017E\u0117jan\u010Dia tvarka",descendingSort:t=>`surikiuota pagal stulpel\u012F ${t.columnName} ma\u017E\u0117jan\u010Dia tvarka`,resizerDescription:"Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te keisti dyd\u012F",select:"Pasirinkti",selectAll:"Pasirinkti visk\u0105",sortable:"rikiuojamas stulpelis"};var Nr={};Nr={ascending:"augo\u0161\u0101 sec\u012Bb\u0101",ascendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} augo\u0161\u0101 sec\u012Bb\u0101`,columnSize:t=>`${t.value} pikse\u013Ci`,descending:"dilsto\u0161\u0101 sec\u012Bb\u0101",descendingSort:t=>`k\u0101rtots p\u0113c kolonnas ${t.columnName} dilsto\u0161\u0101 sec\u012Bb\u0101`,resizerDescription:"Nospiediet Enter, lai s\u0101ktu izm\u0113ru main\u012B\u0161anu",select:"Atlas\u012Bt",selectAll:"Atlas\u012Bt visu",sortable:"k\u0101rtojam\u0101 kolonna"};var Or={};Or={ascending:"stigende",ascendingSort:t=>`sortert etter kolonne ${t.columnName} i stigende rekkef\xF8lge`,columnSize:t=>`${t.value} piksler`,descending:"synkende",descendingSort:t=>`sortert etter kolonne ${t.columnName} i synkende rekkef\xF8lge`,resizerDescription:"Trykk p\xE5 Enter for \xE5 starte st\xF8rrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var jr={};jr={ascending:"oplopend",ascendingSort:t=>`gesorteerd in oplopende volgorde in kolom ${t.columnName}`,columnSize:t=>`${t.value} pixels`,descending:"aflopend",descendingSort:t=>`gesorteerd in aflopende volgorde in kolom ${t.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var Gr={};Gr={ascending:"rosn\u0105co",ascendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku rosn\u0105cym`,columnSize:t=>`Liczba pikseli: ${t.value}`,descending:"malej\u0105co",descendingSort:t=>`posortowano wed\u0142ug kolumny ${t.columnName} w porz\u0105dku malej\u0105cym`,resizerDescription:"Naci\u015Bnij Enter, aby rozpocz\u0105\u0107 zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z mo\u017Cliwo\u015Bci\u0105 sortowania"};var _r={};_r={ascending:"crescente",ascendingSort:t=>`classificado pela coluna ${t.columnName} em ordem crescente`,columnSize:t=>`${t.value} pixels`,descending:"decrescente",descendingSort:t=>`classificado pela coluna ${t.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para come\xE7ar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classific\xE1vel"};var Wr={};Wr={ascending:"ascendente",ascendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem ascendente`,columnSize:t=>`${t.value} pixels`,descending:"descendente",descendingSort:t=>`Ordenar por coluna ${t.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna orden\xE1vel"};var Ur={};Ur={ascending:"cresc\u0103toare",ascendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine cresc\u0103toare`,columnSize:t=>`${t.value} pixeli`,descending:"descresc\u0103toare",descendingSort:t=>`sortate dup\u0103 coloana ${t.columnName} \xEEn ordine descresc\u0103toare`,resizerDescription:"Ap\u0103sa\u021Bi pe Enter pentru a \xEEncepe redimensionarea",select:"Selectare",selectAll:"Selectare total\u0103",sortable:"coloan\u0103 sortabil\u0103"};var Yr={};Yr={ascending:"\u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u0435",ascendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044F`,columnSize:t=>`${t.value} \u043F\u0438\u043A\u0441.`,descending:"\u0443\u0431\u044B\u0432\u0430\u043D\u0438\u0435",descendingSort:t=>`\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u043E\u043B\u0431\u0435\u0446 ${t.columnName} \u0432 \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044F`,resizerDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0443 Enter \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u043E\u0432",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",selectAll:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u043C\u044B\u0439 \u0441\u0442\u043E\u043B\u0431\u0435\u0446"};var qr={};qr={ascending:"vzostupne",ascendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,columnSize:t=>`Po\u010Det pixelov: ${t.value}`,descending:"zostupne",descendingSort:t=>`zoraden\xE9 zostupne pod\u013Ea st\u013Apca ${t.columnName}`,resizerDescription:"Stla\u010Den\xEDm kl\xE1vesu Enter za\u010Dnete zmenu ve\u013Ekosti",select:"Vybra\u0165",selectAll:"Vybra\u0165 v\u0161etko",sortable:"zoradite\u013En\xFD st\u013Apec"};var Jr={};Jr={ascending:"nara\u0161\u010Dajo\u010De",ascendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v nara\u0161\u010Dajo\u010Dem vrstnem redu`,columnSize:t=>`${t.value} slikovnih pik`,descending:"padajo\u010De",descendingSort:t=>`razvr\u0161\u010Deno po stolpcu ${t.columnName} v padajo\u010Dem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da za\u010Dnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var Xr={};Xr={ascending:"rastu\u0107i",ascendingSort:t=>`sortirano po kolonama ${t.columnName} rastu\u0107im redosledom`,columnSize:t=>`${t.value} piksela`,descending:"padaju\u0107i",descendingSort:t=>`sortirano po kolonama ${t.columnName} padaju\u0107im redosledom`,resizerDescription:"Pritisnite Enter da biste zapo\u010Deli promenu veli\u010Dine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se mo\u017Ee sortirati"};var Qr={};Qr={ascending:"stigande",ascendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i stigande ordning`,columnSize:t=>`${t.value} pixlar`,descending:"fallande",descendingSort:t=>`sorterat p\xE5 kolumn ${t.columnName} i fallande ordning`,resizerDescription:"Tryck p\xE5 Retur f\xF6r att b\xF6rja \xE4ndra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var eo={};eo={ascending:"artan s\u0131rada",ascendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re artan d\xFCzende s\u0131rala`,columnSize:t=>`${t.value} piksel`,descending:"azalan s\u0131rada",descendingSort:t=>`${t.columnName} s\xFCtuna g\xF6re azalan d\xFCzende s\u0131rala`,resizerDescription:"Yeniden boyutland\u0131rmak i\xE7in Enter'a bas\u0131n",select:"Se\xE7",selectAll:"T\xFCm\xFCn\xFC Se\xE7",sortable:"S\u0131ralanabilir s\xFCtun"};var to={};to={ascending:"\u0432\u0438\u0441\u0445\u0456\u0434\u043D\u0438\u0439",ascendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u0432\u0438\u0441\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,columnSize:t=>`${t.value} \u043F\u0456\u043A\u0441.`,descending:"\u043D\u0438\u0437\u0445\u0456\u0434\u043D\u0438\u0439",descendingSort:t=>`\u0432\u0456\u0434\u0441\u043E\u0440\u0442\u043E\u0432\u0430\u043D\u043E \u0437\u0430 \u0441\u0442\u043E\u0432\u043F\u0446\u0435\u043C ${t.columnName} \u0443 \u043D\u0438\u0437\u0445\u0456\u0434\u043D\u043E\u043C\u0443 \u043F\u043E\u0440\u044F\u0434\u043A\u0443`,resizerDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0437\u043C\u0456\u043D\u0443 \u0440\u043E\u0437\u043C\u0456\u0440\u0443",select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438",selectAll:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435",sortable:"\u0441\u043E\u0440\u0442\u0443\u0432\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u043E\u0432\u043F\u0435\u0446\u044C"};var ro={};ro={ascending:"\u5347\u5E8F",ascendingSort:t=>`\u6309\u5217 ${t.columnName} \u5347\u5E8F\u6392\u5E8F`,columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u964D\u5E8F",descendingSort:t=>`\u6309\u5217 ${t.columnName} \u964D\u5E8F\u6392\u5E8F`,resizerDescription:"\u6309\u201C\u8F93\u5165\u201D\u952E\u5F00\u59CB\u8C03\u6574\u5927\u5C0F\u3002",select:"\u9009\u62E9",selectAll:"\u5168\u9009",sortable:"\u53EF\u6392\u5E8F\u7684\u5217"};var oo={};oo={ascending:"\u905E\u589E",ascendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u589E\u6392\u5E8F`,columnSize:t=>`${t.value} \u50CF\u7D20`,descending:"\u905E\u6E1B",descendingSort:t=>`\u5DF2\u4F9D\u64DA\u300C${t.columnName}\u300D\u6B04\u905E\u6E1B\u6392\u5E8F`,resizerDescription:"\u6309 Enter \u9375\u4EE5\u958B\u59CB\u8ABF\u6574\u5927\u5C0F",select:"\u9078\u53D6",selectAll:"\u5168\u9078",sortable:"\u53EF\u6392\u5E8F\u7684\u6B04"};var L3={};L3={"ar-AE":Mr,"bg-BG":Sr,"cs-CZ":Pr,"da-DK":Hr,"de-DE":Vr,"el-GR":Er,"en-US":wr,"es-ES":Dr,"et-EE":kr,"fi-FI":Zr,"fr-FR":Tr,"he-IL":Fr,"hr-HR":Br,"hu-HU":Rr,"it-IT":Ir,"ja-JP":Ar,"ko-KR":zr,"lt-LT":Kr,"lv-LV":Nr,"nb-NO":Or,"nl-NL":jr,"pl-PL":Gr,"pt-BR":_r,"pt-PT":Wr,"ro-RO":Ur,"ru-RU":Yr,"sk-SK":qr,"sl-SI":Jr,"sr-SP":Xr,"sv-SE":Qr,"tr-TR":eo,"uk-UA":to,"zh-CN":ro,"zh-TW":oo};var t4=class extends v3{isCell(e){return e.type==="cell"||e.type==="rowheader"||e.type==="column"}getKeyBelow(e){let r=this.collection.getItem(e);if(r){if(r.type==="column"){let o=G1(d1(r,this.collection));if(o)return o.key;let a=this.getFirstKey();if(a==null)return;let l=this.collection.getItem(a);return Be(d1(l,this.collection),r.index).key}return super.getKeyBelow(e)}}getKeyAbove(e){let r=this.collection.getItem(e);if(!r)return;if(r.type==="column"){let a=this.collection.getItem(r.parentKey);return a&&a.type==="column"?a.key:void 0}let o=super.getKeyAbove(e);return o!=null&&this.collection.getItem(o).type!=="headerrow"?o:this.isCell(r)?this.collection.columns[r.index].key:this.collection.columns[0].key}findNextColumnKey(e){let r=this.findNextKey(e.key,a=>a.type==="column");if(r!=null)return r;let o=this.collection.headerRows[e.level];for(let a of d1(o,this.collection))if(a.type==="column")return a.key}findPreviousColumnKey(e){let r=this.findPreviousKey(e.key,l=>l.type==="column");if(r!=null)return r;let o=this.collection.headerRows[e.level],a=[...d1(o,this.collection)];for(let l=a.length-1;l>=0;l--){let i=a[l];if(i.type==="column")return i.key}}getKeyRightOf(e){let r=this.collection.getItem(e);if(r)return r.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(r):this.findNextColumnKey(r):super.getKeyRightOf(e)}getKeyLeftOf(e){let r=this.collection.getItem(e);if(r)return r.type==="column"?this.direction==="rtl"?this.findNextColumnKey(r):this.findPreviousColumnKey(r):super.getKeyLeftOf(e)}getKeyForSearch(e,r){if(!this.collator)return null;let o=this.collection,a=r??this.getFirstKey();if(a==null)return null;let l=o.getItem(a);l.type==="cell"&&(a=l.parentKey);let i=!1;for(;a!=null;){let s=o.getItem(a);for(let n of d1(s,this.collection)){let u=o.columns[n.index];if(o.rowHeaderColumnKeys.has(u.key)&&n.textValue){let d=n.textValue.slice(0,e.length);if(this.collator.compare(d,e)===0)return(r!=null?o.getItem(r):l).type==="cell"?n.key:s.key}}a=this.getKeyBelow(a),a==null&&!i&&(a=this.getFirstKey(),i=!0)}return null}};var Hc=!1;function y3(){return Hc}var ao=g(y(),1);function Vc(t){return t&&t.__esModule?t.default:t}function g2(t,e,r){let{keyboardDelegate:o,isVirtualized:a,layoutDelegate:l,layout:i}=t,s=ve({usage:"search",sensitivity:"base"}),{direction:n}=o1(),u=e.selectionManager.disabledBehavior,d=(0,ao.useMemo)(()=>o||new t4({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:u,ref:r,direction:n,collator:s,layoutDelegate:l,layout:i}),[o,e.collection,e.disabledKeys,u,r,n,s,l,i]),c=X(t.id);Q5.set(e,c);let{gridProps:C}=Tt({...t,id:c,keyboardDelegate:d},e,r);a&&(C["aria-rowcount"]=e.collection.size+e.collection.headerRows.length),y3()&&"expandedKeys"in e&&(C.role="treegrid");let{column:f,direction:p}=e.sortDescriptor||{},$=f1(Vc(L3),"@react-aria/table"),h=(0,ao.useMemo)(()=>{var x;let v=(x=e.collection.columns.find(S=>S.key===f))===null||x===void 0?void 0:x.textValue;return p&&f?$.format(`${p}Sort`,{columnName:v}):void 0},[p,f,e.collection.columns]),b=s0(h);return W2(()=>{K0(h,"assertive",500)},[h]),{gridProps:E(C,b,{"aria-describedby":[b["aria-describedby"],C["aria-describedby"]].filter(Boolean).join(" ")})}}var ls=g(y(),1);function Ec(t){return t&&t.__esModule?t.default:t}function v2(t,e,r){var o,a;let{node:l}=t,i=l.props.allowsSorting,{gridCellProps:s}=M9({...t,focusMode:"child"},e,r),n=l.props.isSelectionCell&&e.selectionManager.selectionMode==="single",{pressProps:u}=k1({isDisabled:!i||n,onPress(){e.sort(l.key)},ref:r}),{focusableProps:d}=N1({},r),c=null,C=((o=e.sortDescriptor)===null||o===void 0?void 0:o.column)===l.key,f=(a=e.sortDescriptor)===null||a===void 0?void 0:a.direction;l.props.allowsSorting&&!n3()&&(c=C?f:"none");let p=f1(Ec(L3),"@react-aria/table"),$;i&&($=`${p.format("sortable")}`,C&&f&&n3()&&($=`${$}, ${p.format(f)}`));let h=s0($),b=e.collection.size===0;return(0,ls.useEffect)(()=>{b&&e.selectionManager.focusedKey===l.key&&e.selectionManager.setFocusedKey(null)},[b,e.selectionManager,l.key]),{columnHeaderProps:{...E(s,u,d,h,b&&{tabIndex:-1}),role:"columnheader",id:as(e,l.key),"aria-colspan":l.colspan&&l.colspan>1?l.colspan:null,"aria-sort":c}}}var is={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function x2(t,e,r){let{node:o,isVirtualized:a}=t,{rowProps:l,...i}=Bt(t,e,r),{direction:s}=o1();a&&!(y3()&&"expandedKeys"in e)?l["aria-rowindex"]=o.index+1+e.collection.headerRows.length:delete l["aria-rowindex"];let n={};if(y3()&&"expandedKeys"in e){let p=e.keyMap.get(o.key);if(p!=null){var u,d,c;let $=((u=p.props)===null||u===void 0?void 0:u.UNSTABLE_childItems)||((c=p.props)===null||c===void 0||(d=c.children)===null||d===void 0?void 0:d.length)>e.userColumnCount;n={onKeyDown:h=>{(h.key===is.expand[s]&&e.selectionManager.focusedKey===p.key&&$&&e.expandedKeys!=="all"&&!e.expandedKeys.has(p.key)||h.key===is.collapse[s]&&e.selectionManager.focusedKey===p.key&&$&&(e.expandedKeys==="all"||e.expandedKeys.has(p.key)))&&(e.toggleKey(p.key),h.stopPropagation())},"aria-expanded":$?e.expandedKeys==="all"||e.expandedKeys.has(o.key):void 0,"aria-level":p.level,"aria-posinset":p.indexOfType+1,"aria-setsize":p.level>1?de(e.keyMap.get(p?.parentKey).childNodes).indexOfType+1:de(e.keyMap.get(e.collection.body.key).childNodes).indexOfType+1}}}let C=d6(o.props),f=i.hasAction?C:{};return{rowProps:{...E(l,n,f),"aria-labelledby":e4(e,o.key)},...i}}function L2(t,e,r){let{node:o,isVirtualized:a}=t,l={role:"row"};return a&&!(y3()&&"expandedKeys"in e)&&(l["aria-rowindex"]=o.index+1),{rowProps:l}}function y2(t,e,r){let{gridCellProps:o,isPressed:a}=M9(t,e,r),l=t.node.column.key;return e.collection.rowHeaderColumnKeys.has(l)&&(o.role="rowheader",o.id=yr(e,t.node.parentKey,l)),{gridCellProps:o,isPressed:a}}function wc(t){return t&&t.__esModule?t.default:t}function r4(t,e){let{key:r}=t,{checkboxProps:o}=It(t,e);return{checkboxProps:{...o,"aria-labelledby":`${o.id} ${e4(e,r)}`}}}function o4(t){let{isEmpty:e,isSelectAll:r,selectionMode:o}=t.selectionManager;return{checkboxProps:{"aria-label":f1(wc(L3),"@react-aria/table").format(o==="single"?"select":"selectAll"),isSelected:r,isDisabled:o!=="multiple"||t.collection.size===0,isIndeterminate:!e&&!r,onChange:()=>t.selectionManager.toggleSelectAll()}}}function M2(){return Ft()}var lo=new WeakMap;function S2(t,e,r){return t?(typeof e=="string"&&(e=e.replace(/\s+/g,"")),`${lo.get(t)}-${r}-${e}`):""}function a4(t,e,r){let{key:o,isDisabled:a,shouldSelectOnPressUp:l}=t,{selectionManager:i,selectedKey:s}=e,n=o===s,u=a||e.isDisabled||e.selectionManager.isDisabled(o),{itemProps:d,isPressed:c}=Fe({selectionManager:i,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:l,linkBehavior:"selection"}),C=S2(e,o,"tab"),f=S2(e,o,"tabpanel"),{tabIndex:p}=d,$=e.collection.getItem(o),h=z($?.props,{labelable:!0});delete h.id;let b=u3($?.props);return{tabProps:E(h,b,d,{id:C,"aria-selected":n,"aria-disabled":u||void 0,"aria-controls":n?f:void 0,tabIndex:u?void 0:p,role:"tab"}),isSelected:n,isDisabled:u,isPressed:c}}function l4(t,e,r){let o=a9(r)?void 0:0;var a;let l=S2(e,(a=t.id)!==null&&a!==void 0?a:e?.selectedKey,"tabpanel"),i=l0({...t,id:l,"aria-labelledby":S2(e,e?.selectedKey,"tab")});return{tabPanelProps:E(i,{tabIndex:o,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}var i4=class{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var r,o;return this.disabledKeys.has(e)||!!(!((o=this.collection.getItem(e))===null||o===void 0||(r=o.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){do e=this.collection.getKeyAfter(e),e==null&&(e=this.collection.getFirstKey());while(this.isDisabled(e));return e}getPreviousKey(e){do e=this.collection.getKeyBefore(e),e==null&&(e=this.collection.getLastKey());while(this.isDisabled(e));return e}constructor(e,r,o,a=new Set){this.collection=e,this.flipDirection=r==="rtl"&&o==="horizontal",this.disabledKeys=a,this.tabDirection=o==="horizontal"}};var ss=g(y(),1);function s4(t,e,r){let{orientation:o="horizontal",keyboardActivation:a="automatic"}=t,{collection:l,selectionManager:i,disabledKeys:s}=e,{direction:n}=o1(),u=(0,ss.useMemo)(()=>new i4(l,n,o,s),[l,s,o,n]),{collectionProps:d}=g3({ref:r,selectionManager:i,keyboardDelegate:u,selectOnFocus:a==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),c=X();lo.set(e,c);let C=l0({...t,id:c});return{tabListProps:{...E(d,C),role:"tablist","aria-orientation":o,tabIndex:void 0}}}function n4(t,e){let r=z(t,{labelable:!0}),{hoverProps:o}=a1({onHoverStart:()=>e?.open(!0),onHoverEnd:()=>e?.close()});return{tooltipProps:E(r,o,{role:"tooltip"})}}var S9=g(y(),1);function u4(t,e,r){let{isDisabled:o,trigger:a}=t,l=X(),i=(0,S9.useRef)(!1),s=(0,S9.useRef)(!1),n=()=>{(i.current||s.current)&&e.open(s.current)},u=b=>{!i.current&&!s.current&&e.close(b)};(0,S9.useEffect)(()=>{let b=x=>{r&&r.current&&x.key==="Escape"&&(x.stopPropagation(),e.close(!0))};if(e.isOpen)return document.addEventListener("keydown",b,!0),()=>{document.removeEventListener("keydown",b,!0)}},[r,e]);let d=()=>{a!=="focus"&&(R0()==="pointer"?i.current=!0:i.current=!1,n())},c=()=>{a!=="focus"&&(s.current=!1,i.current=!1,u())},C=()=>{s.current=!1,i.current=!1,u(!0)},f=()=>{se()&&(s.current=!0,n())},p=()=>{s.current=!1,i.current=!1,u(!0)},{hoverProps:$}=a1({isDisabled:o,onHoverStart:d,onHoverEnd:c}),{focusableProps:h}=N1({isDisabled:o,onFocus:f,onBlur:p},r);return{triggerProps:{"aria-describedby":e.isOpen?l:void 0,...E(h,$,{onPointerDown:C,onKeyDown:C})},tooltipProps:{id:l}}}var M3=(0,us.forwardRef)((t,e)=>{let r=i1(e),{buttonProps:o}=o2(t,r),{className:a,children:l}=t,i,s;if("variant"in t){let{variant:n,size:u="sm"}=t;i={primary:Y` border-primary bg-primary text-on-primary hover:border-primary-hover hover:bg-primary-hover focus-visible:border-primary-focus focus-visible:bg-primary-focus focus-visible:outline-primary-focus active:border-primary-pressed active:bg-primary-pressed disabled:border-primary-disabled disabled:bg-primary-disabled disabled:text-on-primary-disabled `,neutral:Y` border-surface bg-surface text-on-surface drop-shadow-lg hover:text-primary-hover focus-visible:outline-primary-focus active:border-primary-pressed active:text-primary-pressed disabled:border-primary-disabled disabled:bg-primary-disabled disabled:text-on-primary-disabled `,outline:Y` border-primary bg-transparent text-primary hover:border-primary-hover hover:text-primary-hover focus-visible:border-primary-focus focus-visible:text-primary-focus focus-visible:outline-primary-focus active:border-primary-pressed active:text-primary-pressed disabled:border-primary-disabled disabled:bg-transparent disabled:text-on-primary-disabled `,conversion:Y` border-accent bg-accent text-on-accent hover:border-accent-hover hover:bg-accent-hover focus-visible:border-accent-focus focus-visible:bg-accent-focus focus-visible:outline-accent-focus active:border-accent-pressed active:bg-accent-pressed disabled:border-accent-disabled disabled:bg-accent-disabled disabled:text-on-accent-disabled `}[n],s={sm:Y`h-10 gap-2 px-4 text-sm`,lg:Y`h-14 gap-3 px-6 text-base`,unspecified:void 0}[u]}return(0,ns.jsx)("button",{name:t.name,value:t.value,formNoValidate:t.formNoValidate,role:t.role,style:t.style,...o,ref:e,className:F(i&&"inline-flex cursor-pointer items-center rounded border-[1.5px] border-solid font-semibold leading-normal transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1",i,s,a),children:l})});M3.displayName="Button";var d4=g(N(),1),YZ=({id:t="hexagon"})=>(0,d4.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"hidden",children:(0,d4.jsx)("symbol",{id:t,fill:"none",viewBox:"0 0 615 625",children:(0,d4.jsx)("path",{d:"M611.241 281.675L555.116 490.883C545.679 526.06 518.505 553.844 483.652 563.698L277.037 620.847C242.184 630.702 204.772 620.689 179.522 594.75L29.1969 442.074C3.94641 416.134 -5.6779 378.502 3.75903 343.325L59.884 134.117C69.3209 98.9404 96.4946 71.1564 131.348 61.3021L337.963 4.15266C372.816 -5.70161 410.227 4.31063 435.478 30.2501L585.803 182.926C611.054 208.866 620.678 246.498 611.241 281.675Z",fill:"currentColor"})})});var ds=g(N(),1);var XZ=({variant:t="default",gap:e,children:r,className:o})=>(0,ds.jsx)("div",{className:F("grid grid-cols-[minmax(0,1fr)] gap-y-4",{small:"gap-x-4",large:"gap-x-10"}[e],{default:"",sidebar:"lg:grid-cols-[minmax(0,3fr)_minmax(15rem,1fr)]",half:"md:grid-cols-[repeat(2,minmax(0,1fr))]",third:"md:grid-cols-[repeat(2,minmax(0,1fr))] lg:grid-cols-[repeat(3,minmax(0,1fr))]",quarter:"md:grid-cols-[repeat(2,minmax(0,1fr))] lg:grid-cols-[repeat(4,minmax(0,1fr))]"}[t],o),children:r});var M0=g(N(),1);var S3=g(y(),1),P9=(0,S3.createContext)(null),eT=(0,S3.createContext)(null),tT=(0,S3.createContext)(null),rT=(0,S3.createContext)(null),oT=(0,S3.createContext)(null),c4=(0,S3.createContext)({});var Ye=class{get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new Ye(this.type,this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e}constructor(e,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.type=e,this.key=r}},P3=class{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=e.nextKey!=null?this.keyMap.get(e.nextKey):void 0}getChildren(e){let r=this.keyMap;return{*[Symbol.iterator](){let o=r.get(e),a=o?.firstChildKey!=null?r.get(o.firstChildKey):null;for(;a;)yield a,a=a.nextKey!=null?r.get(a.nextKey):void 0}}}getKeyBefore(e){let r=this.keyMap.get(e);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var o;return(o=r?.key)!==null&&o!==void 0?o:null}return r.parentKey}getKeyAfter(e){let r=this.keyMap.get(e);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);var r;return(r=e?.key)!==null&&r!==void 0?r:null}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let e=this.constructor,r=new e;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(e){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(e.key,e)}removeNode(e){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(e)}commit(e,r,o=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=r,this.frozen=!o}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}};var f4=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return((e=this.parentNode)===null||e===void 0?void 0:e.isConnected)||!1}appendChild(e){this.ownerDocument.startTransaction(),e.parentNode&&e.parentNode.removeChild(e),this.firstChild==null&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),e.hasSetProps&&this.ownerDocument.addNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(e,r){if(r==null)return this.appendChild(e);this.ownerDocument.startTransaction(),e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=r,e.previousSibling=r.previousSibling,e.index=r.index,this.firstChild===r?this.firstChild=e:r.previousSibling&&(r.previousSibling.nextSibling=e),r.previousSibling=e,e.parentNode=r.parentNode;let o=r;for(;o;)o.index++,o=o.nextSibling;e.hasSetProps&&this.ownerDocument.addNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(e){if(e.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let r=e.nextSibling;for(;r;)r.index--,r=r.nextSibling;e.nextSibling&&(e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.removeNode(e),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=e}},H3=class extends f4{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof H3?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var e,r,o,a;let l=this.ownerDocument.getMutableNode(this);l.index=this.index,l.level=this.level,l.parentKey=this.parentNode instanceof H3?this.parentNode.node.key:null;var i;l.prevKey=(i=(e=this.previousSibling)===null||e===void 0?void 0:e.node.key)!==null&&i!==void 0?i:null;var s;l.nextKey=(s=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null,l.hasChildNodes=!!this.firstChild;var n;l.firstChildKey=(n=(o=this.firstChild)===null||o===void 0?void 0:o.node.key)!==null&&n!==void 0?n:null;var u;l.lastChildKey=(u=(a=this.lastChild)===null||a===void 0?void 0:a.node.key)!==null&&u!==void 0?u:null}setProps(e,r,o,a){let l=this.ownerDocument.getMutableNode(this),{value:i,textValue:s,id:n,...u}=e;if(u.ref=r,l.props=u,l.rendered=o,l.render=a,l.value=i,l.textValue=s||(typeof u.children=="string"?u.children:"")||e["aria-label"]||"",n!=null&&n!==l.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");l.key=n}this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new Ye(e,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}},C4=class extends f4{get isConnected(){return this.isMounted}createElement(e){return new H3(e,this)}getMutableNode(e){let r=e.node;return this.mutatedNodes.has(e)||(r=e.node.clone(),this.mutatedNodes.add(e),e.node=r),this.markDirty(e),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(e){this.dirtyNodes.add(e)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(e){let r=this.getMutableCollection();if(!r.getItem(e.node.key)){r.addNode(e.node);for(let o of e)this.addNode(o)}this.markDirty(e)}removeNode(e){for(let o of e)this.removeNode(o);this.getMutableCollection().removeNode(e.node.key),this.markDirty(e)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let l of this.dirtyNodes)l instanceof H3&&l.isConnected&&l.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var e,r;let l=this.getMutableCollection();for(let i of this.mutatedNodes)i.isConnected&&l.addNode(i.node);var o,a;l.commit((o=(e=this.firstChild)===null||e===void 0?void 0:e.node.key)!==null&&o!==void 0?o:null,(a=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&a!==void 0?a:null,this.isSSR),this.mutatedNodes.clear()}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let e of this.subscriptions)e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=e,this.collectionMutated=!0}};var H9=g(y(),1);function V3(t){let{children:e,items:r,idScope:o,addIdAndValue:a,dependencies:l=[]}=t,i=(0,H9.useMemo)(()=>new WeakMap,l);return(0,H9.useMemo)(()=>{if(r&&typeof e=="function"){let u=[];for(let d of r){let c=i.get(d);if(!c){c=e(d);var s,n;let C=(n=(s=c.props.id)!==null&&s!==void 0?s:d.key)!==null&&n!==void 0?n:d.id;if(C==null)throw new Error("Could not determine key for item");o&&(C=o+":"+C),c=(0,H9.cloneElement)(c,a?{key:C,id:C,value:d}:{key:C}),i.set(d,c)}u.push(c)}return u}else if(typeof e!="function")return e},[e,r,i,o,a])}var cs=g(a3(),1),ce=g(y(),1);if(typeof HTMLTemplateElement<"u"){let t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}var p4=(0,ce.createContext)(!1),kc=typeof DocumentFragment<"u"?new DocumentFragment:null;function fs(t){let e=(0,ce.useContext)(p4),r=y1();if(e)return ce.default.createElement(ce.default.Fragment,null,t.children);let o=ce.default.createElement(p4.Provider,{value:!0},t.children);return r?ce.default.createElement("template",{"data-react-aria-hidden":!0},o):(0,cs.createPortal)(o,kc)}function E3(t){let e=(r,o)=>(0,ce.useContext)(p4)?null:t(r,o);return e.displayName=t.displayName||t.name,(0,ce.forwardRef)(e)}function io(){return(0,ce.useContext)(p4)}var hs=g(a3(),1),G=g(y(),1);var gs=g(bs(),1),vs=(0,G.createContext)(!1),V9=(0,G.createContext)(null);function ye(t){if((0,G.useContext)(V9))return t.content;let{collection:r,document:o}=Gc(t.createCollection);return G.default.createElement(G.default.Fragment,null,G.default.createElement(fs,null,G.default.createElement(V9.Provider,{value:o},t.content)),G.default.createElement(Nc,{render:t.children,collection:r}))}function Nc({collection:t,render:e}){return e(t)}function Oc(t,e,r){let o=y1(),a=(0,G.useRef)(o);a.current=o;let l=(0,G.useCallback)(()=>a.current?r():e(),[e,r]);return(0,gs.useSyncExternalStore)(t,l)}var jc=typeof G.default.useSyncExternalStore=="function"?G.default.useSyncExternalStore:Oc;function Gc(t){let[e]=(0,G.useState)(()=>new C4(t?.()||new P3)),r=(0,G.useCallback)(i=>e.subscribe(i),[e]),o=(0,G.useCallback)(()=>{let i=e.getCollection();return e.isSSR&&e.resetAfterSSR(),i},[e]),a=(0,G.useCallback)(()=>(e.isSSR=!0,e.getCollection()),[e]),l=jc(r,o,a);return j(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:l,document:e}}var no=(0,G.createContext)(null);function xs(t,e,r,o,a,l){let i=(0,G.useCallback)(n=>{n?.setProps(e,r,o,l)},[e,r,o,l]),s=(0,G.useContext)(no);if(s){let n=s.ownerDocument.nodesByProps.get(e);return n||(n=s.ownerDocument.createElement(t),n.setProps(e,r,o,l),s.appendChild(n),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(e,n)),a?G.default.createElement(no.Provider,{value:n},a):null}return G.default.createElement(t,{ref:i},a)}function Me(t,e){let r=({node:a})=>e(a.props,a.props.ref,a),o=(0,G.forwardRef)((a,l)=>{if(!(0,G.useContext)(vs)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(a,l)}return xs(t,a,l,"children"in a?a.children:null,null,s=>G.default.createElement(r,{node:s}))});return o.displayName=e.name,o}function q0(t,e,r=Ls){let o=({node:l})=>e(l.props,l.props.ref,l),a=(0,G.forwardRef)((l,i)=>{let s=r(l);var n;return(n=xs(t,l,i,null,s,u=>G.default.createElement(o,{node:u})))!==null&&n!==void 0?n:G.default.createElement(G.default.Fragment,null)});return a.displayName=e.name,a}function Ls(t){return V3({...t,addIdAndValue:!0})}var $s=(0,G.createContext)(null);function Se(t){let e=(0,G.useContext)($s),r=(e?.dependencies||[]).concat(t.dependencies),o=t.idScope||e?.idScope,a=Ls({...t,idScope:o,dependencies:r});return(0,G.useContext)(V9)&&(a=G.default.createElement(_c,null,a)),e=(0,G.useMemo)(()=>({dependencies:r,idScope:o}),[o,...r]),G.default.createElement($s.Provider,{value:e},a)}function _c({children:t}){let e=(0,G.useContext)(V9),r=(0,G.useMemo)(()=>G.default.createElement(V9.Provider,{value:null},G.default.createElement(vs.Provider,{value:!0},t)),[t]);return y1()?G.default.createElement(no.Provider,{value:e},r):(0,hs.createPortal)(r,e)}var $0=g(y(),1),m4=(0,$0.createContext)(null);var b4={CollectionRoot({collection:t,renderDropIndicator:e}){return ys(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:r}){return ys(t,e,r)}};function ys(t,e,r){return V3({items:e?t.getChildren(e.key):t,dependencies:[r],children(o){var a;let l=o.render(o);if(!r||o.type!=="item")return l;let i=o.key,s=t.getKeyAfter(i);return $0.default.createElement($0.default.Fragment,null,r({type:"item",key:i,dropPosition:"before"}),l,(s==null||((a=t.getItem(s))===null||a===void 0?void 0:a.type)!=="item")&&r({type:"item",key:i,dropPosition:"after"}))}})}var L1=(0,$0.createContext)(b4);function Ms(t){return(0,$0.useMemo)(()=>t!=null?new Set([t]):null,[t])}var V1=g(y(),1),Ss=g(a3(),1),H2=Symbol("default");function l1({values:t,children:e}){for(let[r,o]of t)e=V1.default.createElement(r.Provider,{value:o},e);return e}function O(t){let{className:e,style:r,children:o,defaultClassName:a,defaultChildren:l,defaultStyle:i,values:s}=t;return(0,V1.useMemo)(()=>{let n,u,d;return typeof e=="function"?n=e({...s,defaultClassName:a}):n=e,typeof r=="function"?u=r({...s,defaultStyle:i||{}}):u=r,typeof o=="function"?d=o({...s,defaultChildren:l}):o==null?d=l:d=o,{className:n??a,style:u||i?{...i,...u}:void 0,children:d??l,"data-rac":""}},[e,r,o,a,l,i,s])}function I1(t,e){let r=(0,V1.useContext)(t);if(e===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(l=>`"${l}"`));if(!e&&!r.slots[H2])throw new Error(`A slot prop is required. Valid slot names are ${o}.`);let a=e||H2;if(!r.slots[a])throw new Error(`Invalid slot "${e}". Valid slot names are ${o}.`);return r.slots[a]}return r}function _(t,e,r){let o=I1(r,t.slot)||{},{ref:a,...l}=o,i=i1((0,V1.useMemo)(()=>Ee(e,a),[e,a])),s=E(l,t);return"style"in l&&l.style&&"style"in t&&t.style&&(typeof l.style=="function"||typeof t.style=="function"?s.style=n=>{let u=typeof l.style=="function"?l.style(n):l.style,d={...n.defaultStyle,...u},c=typeof t.style=="function"?t.style({...n,defaultStyle:d}):t.style;return{...d,...c}}:s.style={...l.style,...t.style}),[s,i]}function _1(){let[t,e]=(0,V1.useState)(!0),r=(0,V1.useRef)(!1),o=(0,V1.useCallback)(a=>{r.current=!0,e(!!a)},[]);return j(()=>{r.current||e(!1)},[]),[o,t]}function w3(t,e=!0){let[r,o]=(0,V1.useState)(!0);return Ps(t,r&&e,(0,V1.useCallback)(()=>o(!1),[])),r&&e}function D3(t,e){let[r,o]=(0,V1.useState)(!1),[a,l]=(0,V1.useState)("idle");return!e&&t.current&&a==="idle"&&(r=!0,o(!0),l("exiting")),!t.current&&a==="exited"&&l("idle"),Ps(t,r,(0,V1.useCallback)(()=>{l("exited"),o(!1)},[])),r}function Ps(t,e,r){let o=(0,V1.useRef)(null);e&&t.current&&(o.current=window.getComputedStyle(t.current).animation),j(()=>{if(e&&t.current){let a=window.getComputedStyle(t.current);if(a.animationName&&a.animationName!=="none"&&a.animation!==o.current){let l=s=>{s.target===t.current&&(i.removeEventListener("animationend",l),Ss.default.flushSync(()=>{r()}))},i=t.current;return i.addEventListener("animationend",l),()=>{i.removeEventListener("animationend",l)}}else r()}},[t,e,r])}function h0(t){let e=/^(data-.*)$/,r={};for(let o in t)e.test(o)||(r[o]=t[o]);return r}var $4=g(y(),1),Hs=(0,$4.createContext)(null);var ee=g(y(),1),h4=(0,ee.createContext)(null);function Wc(t,e){[t,e]=_(t,e,h4);let{CollectionRoot:r}=(0,ee.useContext)(L1),{navProps:o}=y5(t);return ee.default.createElement(ye,{content:ee.default.createElement(Se,t)},a=>{var l;return ee.default.createElement("ol",{ref:e,...o,slot:t.slot||void 0,style:t.style,className:(l=t.className)!==null&&l!==void 0?l:"react-aria-Breadcrumbs"},ee.default.createElement(h4.Provider,{value:t},ee.default.createElement(r,{collection:a})))})}var Uc=(0,ee.forwardRef)(Wc),Yc=Me("item",function(e,r,o){let a=o.nextKey==null,{isDisabled:l,onAction:i}=I1(h4),s={"aria-current":a?"page":null,isDisabled:l||a,onPress:()=>i?.(o.key)},n=O({...o.props,children:o.rendered,values:{isDisabled:l||a,isCurrent:a},defaultClassName:"react-aria-Breadcrumb"});return ee.default.createElement("li",{...z(e),...n,ref:r,"data-disabled":l||a||void 0,"data-current":a||void 0},ee.default.createElement(Hs.Provider,{value:s},n.children))});var g4=g(y(),1),fe=(0,g4.createContext)({});function qc(t,e){[t,e]=_(t,e,fe);let{elementType:r="label",...o}=t;return g4.default.createElement(r,{className:"react-aria-Label",...o,ref:e})}var k3=E3(qc);var v4=g(y(),1),Vs=(0,v4.createContext)(null);var g0=g(y(),1),Jc=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),J0=(0,g0.createContext)({});function Xc(t,e){[t,e]=_(t,e,J0),t=Qc(t);let r=t,{isPending:o}=r,{buttonProps:a,isPressed:l}=o2(t,e),{focusProps:i,isFocused:s,isFocusVisible:n}=e1(t),{hoverProps:u,isHovered:d}=a1({...t,isDisabled:t.isDisabled||o}),c={isHovered:d,isPressed:(r.isPressed||l)&&!o,isFocused:s,isFocusVisible:n,isDisabled:t.isDisabled||!1,isPending:o??!1},C=O({...t,values:c,defaultClassName:"react-aria-Button"}),f=X(a.id),p=X(),$=a["aria-labelledby"];o&&($?$=`${$} ${p}`:a["aria-label"]&&($=`${f} ${p}`));let h=(0,g0.useRef)(o);return(0,g0.useEffect)(()=>{let b={"aria-labelledby":$||f};!h.current&&s&&o?K0(b,"assertive"):h.current&&s&&!o&&K0(b,"assertive"),h.current=o},[o,s,$,f]),g0.default.createElement("button",{...z(t,{propNames:Jc}),...E(a,i,u),...C,id:f,ref:e,"aria-labelledby":$,slot:t.slot||void 0,"aria-disabled":o?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":c.isPressed||void 0,"data-hovered":d||void 0,"data-focused":s||void 0,"data-pending":o||void 0,"data-focus-visible":n||void 0},g0.default.createElement(Vs.Provider,{value:{id:p}},C.children))}function Qc(t){return t.isPending&&(t.onPress=void 0,t.onPressStart=void 0,t.onPressEnd=void 0,t.onPressChange=void 0,t.onPressUp=void 0,t.onKeyDown=void 0,t.onKeyUp=void 0,t.onClick=void 0,t.href=void 0),t}var v0=E3(Xc);var V2=g(y(),1),te=(0,V2.createContext)({});function ef(t,e){[t,e]=_(t,e,te);let{elementType:r="span",...o}=t;return V2.default.createElement(r,{className:"react-aria-Text",...o,ref:e})}var Es=(0,V2.forwardRef)(ef);var ws=g(y(),1);function x4(t={}){let[e,r]=v1(t.value,t.defaultValue||[],t.onChange),o=!!t.isRequired&&e.length===0,a=(0,ws.useRef)(new Map),l=ne({...t,value:e}),i=l.displayValidation.isInvalid;var s;return{...l,value:e,setValue(u){t.isReadOnly||t.isDisabled||r(u)},isDisabled:t.isDisabled||!1,isReadOnly:t.isReadOnly||!1,isSelected(u){return e.includes(u)},addValue(u){t.isReadOnly||t.isDisabled||e.includes(u)||r(e.concat(u))},removeValue(u){t.isReadOnly||t.isDisabled||e.includes(u)&&r(e.filter(d=>d!==u))},toggleValue(u){t.isReadOnly||t.isDisabled||(e.includes(u)?r(e.filter(d=>d!==u)):r(e.concat(u)))},setInvalid(u,d){let c=new Map(a.current);d.isInvalid?c.set(u,d):c.delete(u),a.current=c,l.updateValidation(L7(...c.values()))},validationState:(s=t.validationState)!==null&&s!==void 0?s:i?"invalid":null,isInvalid:i,isRequired:o}}var E9=class{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);var o;return r&&(o=r.prevKey)!==null&&o!==void 0?o:null}getKeyAfter(e){let r=this.keyMap.get(e);var o;return r&&(o=r.nextKey)!==null&&o!==void 0?o:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(e){let r=[...this.getKeys()];return this.getItem(r[e])}getChildren(e){let r=this.keyMap.get(e);return r?.childNodes||[]}constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&i.type==="section")for(let s of i.childNodes)r(s)};for(let i of e)r(i);let o=null,a=0;for(let[i,s]of this.keyMap)o?(o.nextKey=i,s.prevKey=o.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=a++),o=s,o.nextKey=void 0;var l;this.lastKey=(l=o?.key)!==null&&l!==void 0?l:null}};var W1=class extends Set{constructor(e,r,o){super(e),e instanceof W1?(this.anchorKey=r??e.anchorKey,this.currentKey=o??e.currentKey):(this.anchorKey=r,this.currentKey=o)}};var U1=g(y(),1);function tf(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function qe(t){let{selectionMode:e="none",disallowEmptySelection:r,allowDuplicateSelectionEvents:o,selectionBehavior:a="toggle",disabledBehavior:l="all"}=t,i=(0,U1.useRef)(!1),[,s]=(0,U1.useState)(!1),n=(0,U1.useRef)(null),u=(0,U1.useRef)(null),[,d]=(0,U1.useState)(null),c=(0,U1.useMemo)(()=>Ds(t.selectedKeys),[t.selectedKeys]),C=(0,U1.useMemo)(()=>Ds(t.defaultSelectedKeys,new W1),[t.defaultSelectedKeys]),[f,p]=v1(c,C,t.onSelectionChange),$=(0,U1.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[h,b]=(0,U1.useState)(a);a==="replace"&&h==="toggle"&&typeof f=="object"&&f.size===0&&b("replace");let x=(0,U1.useRef)(a);return(0,U1.useEffect)(()=>{a!==x.current&&(b(a),x.current=a)},[a]),{selectionMode:e,disallowEmptySelection:r,selectionBehavior:h,setSelectionBehavior:b,get isFocused(){return i.current},setFocused(v){i.current=v,s(v)},get focusedKey(){return n.current},get childFocusStrategy(){return u.current},setFocusedKey(v,S="first"){n.current=v,u.current=S,d(v)},selectedKeys:f,setSelectedKeys(v){(o||!tf(v,f))&&p(v)},disabledKeys:$,disabledBehavior:l}}function Ds(t,e){return t?t==="all"?"all":new W1(t):e}var x0=class{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,r){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return this.state.selectionMode==="none"?!1:(e=this.getKey(e),this.state.selectedKeys==="all"?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=e.every(o=>r.has(o)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!e||o&&x9(this.collection,o,e)<0)&&(e=o)}return e?.key}get lastSelectedKey(){let e=null;for(let r of this.state.selectedKeys){let o=this.collection.getItem(r);(!e||o&&x9(this.collection,o,e)>0)&&(e=o)}return e?.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}e=this.getKey(e);let r;if(this.state.selectedKeys==="all")r=new W1([e],e,e);else{let l=this.state.selectedKeys;var o;let i=(o=l.anchorKey)!==null&&o!==void 0?o:e;r=new W1(l,i,e);var a;for(let s of this.getKeyRange(i,(a=l.currentKey)!==null&&a!==void 0?a:e))r.delete(s);for(let s of this.getKeyRange(e,i))this.canSelectItem(s)&&r.add(s)}this.state.setSelectedKeys(r)}getKeyRange(e,r){let o=this.collection.getItem(e),a=this.collection.getItem(r);return o&&a?x9(this.collection,o,a)<=0?this.getKeyRangeInternal(e,r):this.getKeyRangeInternal(r,e):[]}getKeyRangeInternal(e,r){var o;if(!((o=this.layoutDelegate)===null||o===void 0)&&o.getKeyRange)return this.layoutDelegate.getKeyRange(e,r);let a=[],l=e;for(;l!=null;){let i=this.collection.getItem(l);if((i&&i.type==="item"||i.type==="cell"&&this.allowsCellSelection)&&a.push(l),l===r)return a;l=this.collection.getKeyAfter(l)}return[]}getKey(e){let r=this.collection.getItem(e);if(!r||r.type==="cell"&&this.allowsCellSelection)return e;for(;r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}if(e=this.getKey(e),e==null)return;let r=new W1(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(e)?r.delete(e):this.canSelectItem(e)&&(r.add(e),r.anchorKey=e,r.currentKey=e),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(e){if(this.selectionMode==="none"||(e=this.getKey(e),e==null))return;let r=this.canSelectItem(e)?new W1([e],e,e):new W1;this.state.setSelectedKeys(r)}setSelectedKeys(e){if(this.selectionMode==="none")return;let r=new W1;for(let o of e)if(o=this.getKey(o),o!=null&&(r.add(o),this.selectionMode==="single"))break;this.state.setSelectedKeys(r)}getSelectAllKeys(){let e=[],r=o=>{for(;o!=null;){if(this.canSelectItem(o)){let a=this.collection.getItem(o);a.type==="item"&&e.push(o),a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r(G1(d1(a,this.collection)).key)}o=this.collection.getKeyAfter(o)}};return r(this.collection.getFirstKey()),e}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new W1)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(e.size!==r.size)return!1;for(let o of e)if(!r.has(o))return!1;for(let o of r)if(!e.has(o))return!1;return!0}canSelectItem(e){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let o=this.collection.getItem(e);return!(!o||!(o==null||(r=o.props)===null||r===void 0)&&r.isDisabled||o.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){var r,o;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!(!((o=this.collection.getItem(e))===null||o===void 0||(r=o.props)===null||r===void 0)&&r.isDisabled))}isLink(e){var r,o;return!!(!((o=this.collection.getItem(e))===null||o===void 0||(r=o.props)===null||r===void 0)&&r.href)}getItemProps(e){var r;return(r=this.collection.getItem(e))===null||r===void 0?void 0:r.props}constructor(e,r,o){this.collection=e,this.state=r;var a;this.allowsCellSelection=(a=o?.allowsCellSelection)!==null&&a!==void 0?a:!1,this._isSelectAll=null,this.layoutDelegate=o?.layoutDelegate||null}};var Je=g(y(),1);function E2(t){let{filter:e,layoutDelegate:r}=t,o=qe(t),a=(0,Je.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=(0,Je.useCallback)(d=>e?new E9(e(d)):new E9(d),[e]),i=(0,Je.useMemo)(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),s=U0(t,l,i),n=(0,Je.useMemo)(()=>new x0(s,o,{layoutDelegate:r}),[s,o,r]),u=(0,Je.useRef)(null);return(0,Je.useEffect)(()=>{if(o.focusedKey!=null&&!s.getItem(o.focusedKey)&&u.current){let b=u.current.getItem(o.focusedKey),x=[...u.current.getKeys()].map(m=>{let D=u.current.getItem(m);return D?.type==="item"?D:null}).filter(m=>m!==null),v=[...s.getKeys()].map(m=>{let D=s.getItem(m);return D?.type==="item"?D:null}).filter(m=>m!==null);var d,c;let S=((d=x?.length)!==null&&d!==void 0?d:0)-((c=v?.length)!==null&&c!==void 0?c:0);var C,f,p;let L=Math.min(S>1?Math.max(((C=b?.index)!==null&&C!==void 0?C:0)-S+1,0):(f=b?.index)!==null&&f!==void 0?f:0,((p=v?.length)!==null&&p!==void 0?p:0)-1),H=null,Z=!1;for(;L>=0;){if(!n.isDisabled(v[L].key)){H=v[L];break}if(L(($=b?.index)!==null&&$!==void 0?$:0)&&(L=(h=b?.index)!==null&&h!==void 0?h:0),L--}}o.setFocusedKey(H?H.key:null)}u.current=s},[s,n,o,o.focusedKey]),{collection:s,disabledKeys:a,selectionManager:n}}var ks=g(y(),1);function w2(t){var e;let[r,o]=v1(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),a=(0,ks.useMemo)(()=>r!=null?[r]:[],[r]),{collection:l,disabledKeys:i,selectionManager:s}=E2({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:a,onSelectionChange:u=>{if(u==="all")return;var d;let c=(d=u.values().next().value)!==null&&d!==void 0?d:null;c===r&&t.onSelectionChange&&t.onSelectionChange(c),o(c)}}),n=r!=null?l.getItem(r):null;return{collection:l,disabledKeys:i,selectionManager:s,selectedKey:r,setSelectedKey:o,selectedItem:n}}var L4=g(y(),1);function re(t){let[e,r]=v1(t.isOpen,t.defaultOpen||!1,t.onOpenChange),o=(0,L4.useCallback)(()=>{r(!0)},[r]),a=(0,L4.useCallback)(()=>{r(!1)},[r]),l=(0,L4.useCallback)(()=>{r(!e)},[r,e]);return{isOpen:e,setOpen:r,open:o,close:a,toggle:l}}var Ts=g(y(),1);function Fs(t,e){let{cursor:r,getKey:o}=t;return{setSelectedKeys(a){e(l=>({...l,selectedKeys:a}))},setFilterText(a){e(l=>({...l,filterText:a}))},insert(a,...l){e(i=>w9(i,a,...l))},insertBefore(a,...l){e(i=>{let s=i.items.findIndex(n=>o(n)===a);if(s===-1)if(i.items.length===0)s=0;else return i;return w9(i,s,...l)})},insertAfter(a,...l){e(i=>{let s=i.items.findIndex(n=>o(n)===a);if(s===-1)if(i.items.length===0)s=0;else return i;return w9(i,s+1,...l)})},prepend(...a){e(l=>w9(l,0,...a))},append(...a){e(l=>w9(l,l.items.length,...a))},remove(...a){e(l=>{let i=new Set(a),s=l.items.filter(u=>!i.has(o(u))),n="all";if(l.selectedKeys!=="all"){n=new Set(l.selectedKeys);for(let u of a)n.delete(u)}return r==null&&s.length===0&&(n=new Set),{...l,items:s,selectedKeys:n}})},removeSelectedItems(){e(a=>{if(a.selectedKeys==="all")return{...a,items:[],selectedKeys:new Set};let l=a.selectedKeys,i=a.items.filter(s=>!l.has(o(s)));return{...a,items:i,selectedKeys:new Set}})},move(a,l){e(i=>{let s=i.items.findIndex(d=>o(d)===a);if(s===-1)return i;let n=i.items.slice(),[u]=n.splice(s,1);return n.splice(l,0,u),{...i,items:n}})},moveBefore(a,l){e(i=>{let s=i.items.findIndex(d=>o(d)===a);if(s===-1)return i;let u=(Array.isArray(l)?l:[...l]).map(d=>i.items.findIndex(c=>o(c)===d)).sort((d,c)=>d-c);return Zs(i,u,s)})},moveAfter(a,l){e(i=>{let s=i.items.findIndex(d=>o(d)===a);if(s===-1)return i;let u=(Array.isArray(l)?l:[...l]).map(d=>i.items.findIndex(c=>o(c)===d)).sort((d,c)=>d-c);return Zs(i,u,s+1)})},update(a,l){e(i=>{let s=i.items.findIndex(n=>o(n)===a);return s===-1?i:{...i,items:[...i.items.slice(0,s),l,...i.items.slice(s+1)]}})}}}function w9(t,e,...r){return{...t,items:[...t.items.slice(0,e),...r,...t.items.slice(e)]}}function Zs(t,e,r){r-=e.filter(l=>l({from:l,to:r++}));for(let l=0;li&&o[s].from--}for(let l=0;ll;s--){let n=o[s];n.fromc.id||c.key,initialFilterText:i=""}=t,[s,n]=(0,D2.useReducer)(rf,{state:"idle",error:null,items:[],selectedKeys:o==="all"?"all":new Set(o),sortDescriptor:a,filterText:i}),u=async(c,C)=>{let f=new AbortController;try{n({...c,abortController:f});var p;let b=(p=c.filterText)!==null&&p!==void 0?p:s.filterText;var $;let x=await C({items:s.items.slice(),selectedKeys:s.selectedKeys,sortDescriptor:($=c.sortDescriptor)!==null&&$!==void 0?$:s.sortDescriptor,signal:f.signal,cursor:c.type==="loadingMore"?s.cursor:null,filterText:b});var h;let v=(h=x.filterText)!==null&&h!==void 0?h:b;n({type:"success",...x,abortController:f}),v&&v!==b&&!f.signal.aborted&&u({type:"filtering",filterText:v},e)}catch(b){n({type:"error",error:b,abortController:f})}},d=(0,D2.useRef)(!1);return(0,D2.useEffect)(()=>{d.current||(u({type:"loading"},e),d.current=!0)},[]),{items:s.items,selectedKeys:s.selectedKeys,sortDescriptor:s.sortDescriptor,isLoading:s.state==="loading"||s.state==="loadingMore"||s.state==="sorting"||s.state==="filtering",loadingState:s.state,error:s.error,filterText:s.filterText,getItem(c){return s.items.find(C=>l(C)===c)},reload(){u({type:"loading"},e)},loadMore(){s.state==="loadingMore"||s.state==="filtering"||s.cursor==null||u({type:"loadingMore"},e)},sort(c){u({type:"sorting",sortDescriptor:c},r||e)},...Fs({...t,getKey:l,cursor:s.cursor},c=>{n({type:"update",updater:c})}),setFilterText(c){u({type:"filtering",filterText:c},e)}}}var co=g(y(),1);function k2(t){let e=re(t),[r,o]=(0,co.useState)(null),[a,l]=(0,co.useState)([]),i=()=>{l([]),e.close()};return{focusStrategy:r,...e,open(u=null){o(u),e.open()},toggle(u=null){o(u),e.toggle()},close(){i()},expandedKeysStack:a,openSubmenu:(u,d)=>{l(c=>d>c.length?c:[...c.slice(0,d),u])},closeSubmenu:(u,d)=>{l(c=>c[d]===u?c.slice(0,d):c)}}}var y4=g(y(),1),of=Math.round(Math.random()*1e10),af=0;function Z2(t){let e=(0,y4.useMemo)(()=>t.name||`radio-group-${of}-${++af}`,[t.name]);var r;let[o,a]=v1(t.value,(r=t.defaultValue)!==null&&r!==void 0?r:null,t.onChange),[l,i]=(0,y4.useState)(null),s=ne({...t,value:o}),n=d=>{!t.isReadOnly&&!t.isDisabled&&(a(d),s.commitValidation())},u=s.displayValidation.isInvalid;return{...s,name:e,selectedValue:o,setSelectedValue:n,lastFocusedValue:l,setLastFocusedValue:i,isDisabled:t.isDisabled||!1,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1,validationState:t.validationState||(u?"invalid":null),isInvalid:u}}function T2(t){let[e,r]=v1(Bs(t.value),Bs(t.defaultValue)||"",t.onChange);return{value:e,setValue:r}}function Bs(t){if(t!=null)return t.toString()}var fo=g(y(),1);function M4(t){let e=re(t),[r,o]=(0,fo.useState)(null),a=w2({...t,onSelectionChange:n=>{t.onSelectionChange!=null&&t.onSelectionChange(n),e.close(),l.commitValidation()}}),l=ne({...t,value:a.selectedKey}),[i,s]=(0,fo.useState)(!1);return{...l,...a,...e,focusStrategy:r,open(n=null){a.collection.size!==0&&(o(n),e.open())},toggle(n=null){a.collection.size!==0&&(o(n),e.toggle())},isFocused:i,setFocused:s}}var Z3=g(y(),1);function Co(t){let{collection:e,focusMode:r}=t,o=t.UNSAFE_selectionState||qe(t),a=(0,Z3.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=o.setFocusedKey;o.setFocusedKey=(n,u)=>{if(r==="cell"&&n!=null){let C=e.getItem(n);if(C?.type==="item"){var d,c;let f=d1(C,e);u==="last"?n=(d=de(f))===null||d===void 0?void 0:d.key:n=(c=G1(f))===null||c===void 0?void 0:c.key}}l(n,u)};let i=(0,Z3.useMemo)(()=>new x0(e,o),[e,o]),s=(0,Z3.useRef)(null);return(0,Z3.useEffect)(()=>{if(o.focusedKey!=null&&!e.getItem(o.focusedKey)){let n=s.current.getItem(o.focusedKey),u=n.parentKey!=null&&(n.type==="cell"||n.type==="rowheader"||n.type==="column")?s.current.getItem(n.parentKey):n,d=s.current.rows,c=e.rows,C=d.length-c.length,f=Math.min(C>1?Math.max(u.index-C+1,0):u.index,c.length-1),p;for(;f>=0;){if(!i.isDisabled(c[f].key)&&c[f].type!=="headerrow"){p=c[f];break}fu.index&&(f=u.index),f--)}if(p){let $=p.hasChildNodes?[...d1(p,e)]:[],h=p.hasChildNodes&&u!==n&&n.index<$.length?$[n.index].key:p.key;o.setFocusedKey(h)}else o.setFocusedKey(null)}s.current=e},[e,i,o,o.focusedKey]),{collection:e,disabledKeys:a,isKeyboardNavigationDisabled:!1,selectionManager:i}}var D9=class{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);return r?r.prevKey:null}getKeyAfter(e){let r=this.keyMap.get(e);return r?r.nextKey:null}getFirstKey(){var e;return(e=[...this.rows][0])===null||e===void 0?void 0:e.key}getLastKey(){var e;let r=[...this.rows];return(e=r[r.length-1])===null||e===void 0?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){let r=[...this.getKeys()];return this.getItem(r[e])}getChildren(e){let r=this.keyMap.get(e);return r?.childNodes||[]}constructor(e){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=e?.columnCount,this.rows=[];let r=l=>{let i=this.keyMap.get(l.key);e.visitNode&&(l=e.visitNode(l)),this.keyMap.set(l.key,l);let s=new Set,n;for(let u of l.childNodes)u.type==="cell"&&u.parentKey==null&&(u.parentKey=l.key),s.add(u.key),n?(n.nextKey=u.key,u.prevKey=n.key):u.prevKey=null,r(u),n=u;if(n&&(n.nextKey=null),i)for(let u of i.childNodes)s.has(u.key)||o(u)},o=l=>{this.keyMap.delete(l.key);for(let i of l.childNodes)this.keyMap.get(i.key)===i&&o(i)},a;e.items.forEach((l,i)=>{let s={level:0,key:"row-"+i,type:"row",value:void 0,hasChildNodes:!0,childNodes:[...l.childNodes],rendered:void 0,textValue:void 0,...l};a?(a.nextKey=s.key,s.prevKey=a.key):s.prevKey=null,this.rows.push(s),r(s),a=s}),a&&(a.nextKey=null)}};var Rs="row-header-column-"+Math.random().toString(36).slice(2),po="row-header-column-"+Math.random().toString(36).slice(2);for(;Rs===po;)po="row-header-column-"+Math.random().toString(36).slice(2);function S4(t,e){if(e.length===0)return[];let r=[],o=new Map;for(let n of e){let u=n.parentKey,d=[n];for(;u;){let c=t.get(u);if(!c)break;if(o.has(c)){c.colspan++;let{column:C,index:f}=o.get(c);if(f>d.length)break;for(let p=f;pn.length)),l=Array(a).fill(0).map(()=>[]),i=0;for(let n of r){let u=a-1;for(let d of n){if(d){let c=l[u],C=c.reduce((f,p)=>f+p.colspan,0);if(C0&&(c[c.length-1].nextKey=f.key,f.prevKey=c[c.length-1].key),c.push(f)}c.length>0&&(c[c.length-1].nextKey=d.key,d.prevKey=c[c.length-1].key),d.level=u,d.colIndex=i,c.push(d)}u--}i++}let s=0;for(let n of l){let u=n.reduce((d,c)=>d+c.colspan,0);if(u({type:"headerrow",key:"headerrow-"+u,index:u,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:n,textValue:null}))}var k9=class extends D9{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);return r?r.prevKey:null}getKeyAfter(e){let r=this.keyMap.get(e);return r?r.nextKey:null}getFirstKey(){var e;return(e=G1(this.body.childNodes))===null||e===void 0?void 0:e.key}getLastKey(){var e;return(e=de(this.body.childNodes))===null||e===void 0?void 0:e.key}getItem(e){return this.keyMap.get(e)}at(e){let r=[...this.getKeys()];return this.getItem(r[e])}getChildren(e){return e===this.body.key?this.body.childNodes:super.getChildren(e)}getTextValue(e){let r=this.getItem(e);if(!r)return"";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys;if(o){let a=[];for(let l of r.childNodes){let i=this.columns[l.index];if(o.has(i.key)&&l.textValue&&a.push(l.textValue),a.length===o.size)break}return a.join(" ")}return""}constructor(e,r,o){let a=new Set,l,i=[];if(o?.showSelectionCheckboxes){let c={type:"column",key:Rs,value:null,textValue:"",level:0,index:o?.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};i.unshift(c)}if(o?.showDragButtons){let c={type:"column",key:po,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};i.unshift(c)}let s=[],n=new Map,u=c=>{switch(c.type){case"body":l=c;break;case"column":n.set(c.key,c),c.hasChildNodes||(i.push(c),c.props.isRowHeader&&a.add(c.key));break;case"item":s.push(c);return}for(let C of c.childNodes)u(C)};for(let c of e)u(c);let d=S4(n,i);d.forEach((c,C)=>s.splice(C,0,c)),super({columnCount:i.length,items:s,visitNode:c=>(c.column=i[c.index],c)}),this._size=0,this.columns=i,this.rowHeaderColumnKeys=a,this.body=l,this.headerRows=d,this._size=[...l.childNodes].length,this.rowHeaderColumnKeys.size===0&&this.rowHeaderColumnKeys.add(this.columns.find(c=>{var C,f;return!(!((C=c.props)===null||C===void 0)&&C.isDragButtonCell)&&!(!((f=c.props)===null||f===void 0)&&f.isSelectionCell)}).key)}};var F2=g(y(),1);var lf={ascending:"descending",descending:"ascending"};function B2(t){let[e,r]=(0,F2.useState)(!1),{selectionMode:o="none",showSelectionCheckboxes:a,showDragButtons:l}=t,i=(0,F2.useMemo)(()=>({showSelectionCheckboxes:a&&o!=="none",showDragButtons:l,selectionMode:o,columns:[]}),[t.children,a,o,l]),s=U0(t,(0,F2.useCallback)(d=>new k9(d,null,i),[i]),i),{disabledKeys:n,selectionManager:u}=Co({...t,collection:s,disabledBehavior:t.disabledBehavior||"selection"});return{collection:s,disabledKeys:n,selectionManager:u,showSelectionCheckboxes:t.showSelectionCheckboxes||!1,sortDescriptor:t.sortDescriptor,isKeyboardNavigationDisabled:s.size===0||e,setKeyboardNavigationDisabled:r,sort(d,c){var C;t.onSortChange({column:d,direction:c??(((C=t.sortDescriptor)===null||C===void 0?void 0:C.column)===d?lf[t.sortDescriptor.direction]:"ascending")})}}}var Is=g(y(),1);function As(t){return null}As.getCollectionNode=function*(e,r){let{children:o,columns:a}=e;if(r.columns=[],typeof o=="function"){if(!a)throw new Error("props.children was a function but props.columns is missing");for(let l of a)yield{type:"column",value:l,renderer:o}}else{let l=[];Is.default.Children.forEach(o,i=>{l.push({type:"column",element:i})}),yield*l}};var mo=As;var zs=g(y(),1);function Ks(t){return null}Ks.getCollectionNode=function*(e){let{children:r,items:o}=e;yield{type:"body",hasChildNodes:!0,props:e,*childNodes(){if(typeof r=="function"){if(!o)throw new Error("props.children was a function but props.items is missing");for(let a of o)yield{type:"item",value:a,renderer:r}}else{let a=[];zs.default.Children.forEach(r,l=>{a.push({type:"item",element:l})}),yield*a}}}};var bo=Ks;var $o=g(y(),1);function Ns(t){return null}Ns.getCollectionNode=function*(e,r){let{title:o,children:a,childColumns:l}=e,i=o||a,s=e.textValue||(typeof i=="string"?i:"")||e["aria-label"],n=yield{type:"column",hasChildNodes:!!l||o&&$o.default.Children.count(a)>0,rendered:i,textValue:s,props:e,*childNodes(){if(l)for(let d of l)yield{type:"column",value:d};else if(o){let d=[];$o.default.Children.forEach(a,c=>{d.push({type:"column",element:c})}),yield*d}},shouldInvalidate(d){return u(d),!1}},u=d=>{for(let c of n)c.hasChildNodes||d.columns.push(c)};u(r)};var ho=Ns;var Os=g(y(),1);function go(t){return null}go.getCollectionNode=function*(e,r){let{children:o,textValue:a,UNSTABLE_childItems:l}=e;yield{type:"item",props:e,textValue:a,"aria-label":e["aria-label"],hasChildNodes:!0,*childNodes(){if(r.showDragButtons&&(yield{type:"cell",key:"header-drag",props:{isDragButtonCell:!0}}),r.showSelectionCheckboxes&&r.selectionMode!=="none"&&(yield{type:"cell",key:"header",props:{isSelectionCell:!0}}),typeof o=="function"){for(let i of r.columns)yield{type:"cell",element:o(i.key),key:i.key};if(l)for(let i of l)yield{type:"item",value:i}}else{let i=[],s=[];if(Os.default.Children.forEach(o,n=>{if(n.type===go){if(i.lengths.key!==r.columns[n].key)||i.showSelectionCheckboxes!==r.showSelectionCheckboxes||i.showDragButtons!==r.showDragButtons||i.selectionMode!==r.selectionMode}}};var vo=go;function js(t){return null}js.getCollectionNode=function*(e){let{children:r}=e,o=e.textValue||(typeof r=="string"?r:"")||e["aria-label"]||"";yield{type:"cell",props:e,rendered:r,textValue:o,"aria-label":e["aria-label"],hasChildNodes:!1}};var xo=js;var P4=g(y(),1);function H4(t){var e;let r=w2({...t,suppressTextValueWarning:!0,defaultSelectedKey:(e=t.defaultSelectedKey)!==null&&e!==void 0?e:Gs(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set)}),{selectionManager:o,collection:a,selectedKey:l}=r,i=(0,P4.useRef)(l);return(0,P4.useEffect)(()=>{let s=l;(o.isEmpty||!a.getItem(s))&&(s=Gs(a,r.disabledKeys),s!=null&&o.setSelectedKeys([s])),(s!=null&&o.focusedKey==null||!o.isFocused&&s!==i.current)&&o.setFocusedKey(s),i.current=s}),{...r,isDisabled:t.isDisabled||!1}}function Gs(t,e){let r=null;if(t){var o,a,l,i;for(r=t.getFirstKey();(e.has(r)||!((a=t.getItem(r))===null||a===void 0||(o=a.props)===null||o===void 0)&&o.isDisabled)&&r!==t.getLastKey();)r=t.getKeyAfter(r);(e.has(r)||!((i=t.getItem(r))===null||i===void 0||(l=i.props)===null||l===void 0)&&l.isDisabled)&&r===t.getLastKey()&&(r=t.getFirstKey())}return r}var X0=g(y(),1);var sf=1500,_s=500,T3={},nf=0,Z9=!1,L0=null,F3=null;function T9(t={}){let{delay:e=sf,closeDelay:r=_s}=t,{isOpen:o,open:a,close:l}=re(t),i=(0,X0.useMemo)(()=>`${++nf}`,[]),s=(0,X0.useRef)(void 0),n=(0,X0.useRef)(l),u=()=>{T3[i]=C},d=()=>{for(let p in T3)p!==i&&(T3[p](!0),delete T3[p])},c=()=>{clearTimeout(s.current),s.current=null,d(),u(),Z9=!0,a(),L0&&(clearTimeout(L0),L0=null),F3&&(clearTimeout(F3),F3=null)},C=p=>{p||r<=0?(clearTimeout(s.current),s.current=null,n.current()):s.current||(s.current=setTimeout(()=>{s.current=null,n.current()},r)),L0&&(clearTimeout(L0),L0=null),Z9&&(F3&&clearTimeout(F3),F3=setTimeout(()=>{delete T3[i],F3=null,Z9=!1},Math.max(_s,r)))},f=()=>{d(),u(),!o&&!L0&&!Z9?L0=setTimeout(()=>{L0=null,Z9=!0,c()},e):o||c()};return(0,X0.useEffect)(()=>{n.current=l},[l]),(0,X0.useEffect)(()=>()=>{clearTimeout(s.current),T3[i]&&delete T3[i]},[i]),{isOpen:o,open:p=>{!p&&e>0&&!s.current?f():c()},close:C}}var V4=class{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);return r?r.prevKey:null}getKeyAfter(e){let r=this.keyMap.get(e);return r?r.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){let r=[...this.getKeys()];return this.getItem(r[e])}constructor(e,{expandedKeys:r}={}){this.keyMap=new Map,this.iterable=e,r=r||new Set;let o=i=>{if(this.keyMap.set(i.key,i),i.childNodes&&(i.type==="section"||r.has(i.key)))for(let s of i.childNodes)o(s)};for(let i of e)o(i);let a,l=0;for(let[i,s]of this.keyMap)a?(a.nextKey=i,s.prevKey=a.key):(this.firstKey=i,s.prevKey=void 0),s.type==="item"&&(s.index=l++),a=s,a.nextKey=void 0;this.lastKey=a?.key}};var R2=g(y(),1);function E4(t){let{onExpandedChange:e}=t,[r,o]=v1(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),a=qe(t),l=(0,R2.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),i=U0(t,(0,R2.useCallback)(n=>new V4(n,{expandedKeys:r}),[r]),null);return(0,R2.useEffect)(()=>{a.focusedKey!=null&&!i.getItem(a.focusedKey)&&a.setFocusedKey(null)},[i,a.focusedKey]),{collection:i,expandedKeys:r,disabledKeys:l,toggleKey:n=>{o(uf(r,n))},setExpandedKeys:o,selectionManager:new x0(i,a)}}function uf(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}var Re=g(y(),1),Ie=(0,Re.createContext)(null);function cf(t,e){let r=(0,Re.useContext)(Ie);return r?.isInvalid?Re.default.createElement(ff,{...t,ref:e}):null}var Lo=(0,Re.forwardRef)(cf),ff=(0,Re.forwardRef)((t,e)=>{let r=(0,Re.useContext)(Ie),o=z(t),a=O({...t,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return a.children==null?null:Re.default.createElement(Es,{slot:"errorMessage",...o,...a,ref:e})});var Q0=g(y(),1),Pe=(0,Q0.createContext)(null);function Cf(t,e){[t,e]=_(t,e,Pe);let{validationErrors:r,validationBehavior:o="native",children:a,className:l,...i}=t;return Q0.default.createElement("form",{noValidate:o!=="native",...i,ref:e,className:l||"react-aria-Form"},Q0.default.createElement(Pe.Provider,{value:{...t,validationBehavior:o}},Q0.default.createElement(u9.Provider,{value:r??{}},a)))}var pf=(0,Q0.forwardRef)(Cf);var oe=g(y(),1),Ws=(0,oe.createContext)(null),yo=(0,oe.createContext)(null);function mf(t,e){[t,e]=_(t,e,Ws);let{validationBehavior:r}=I1(Pe)||{};var o,a;let l=(a=(o=t.validationBehavior)!==null&&o!==void 0?o:r)!==null&&a!==void 0?a:"native",i=x4({...t,validationBehavior:l}),[s,n]=_1(),{groupProps:u,labelProps:d,descriptionProps:c,errorMessageProps:C,...f}=P5({...t,label:n,validationBehavior:l},i),p=O({...t,values:{isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:t.isRequired||!1,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-CheckboxGroup"});return oe.default.createElement("div",{...u,...p,ref:e,slot:t.slot||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":i.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},oe.default.createElement(l1,{values:[[yo,i],[fe,{...d,ref:s,elementType:"span"}],[te,{slots:{description:c,errorMessage:C}}],[Ie,f]]},p.children))}function bf(t,e){let{inputRef:r=null,...o}=t;[t,e]=_(o,e,P9);let{validationBehavior:a}=I1(Pe)||{};var l,i;let s=(i=(l=t.validationBehavior)!==null&&l!==void 0?l:a)!==null&&i!==void 0?i:"native",n=(0,oe.useContext)(yo),u=i1(Ee(r,t.inputRef!==void 0?t.inputRef:null)),{labelProps:d,inputProps:c,isSelected:C,isDisabled:f,isReadOnly:p,isPressed:$,isInvalid:h}=n?V5({...h0(t),value:t.value,children:typeof t.children=="function"?!0:t.children},n,u):a2({...h0(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},l2(t),u),{isFocused:b,isFocusVisible:x,focusProps:v}=e1(),S=f||p,{hoverProps:L,isHovered:H}=a1({...t,isDisabled:S}),Z=O({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:C,isIndeterminate:t.isIndeterminate||!1,isPressed:$,isHovered:H,isFocused:b,isFocusVisible:x,isDisabled:f,isReadOnly:p,isInvalid:h,isRequired:t.isRequired||!1}}),m=z(t);return delete m.id,oe.default.createElement("label",{...E(m,d,L,Z),ref:e,slot:t.slot||void 0,"data-selected":C||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":$||void 0,"data-hovered":H||void 0,"data-focused":b||void 0,"data-focus-visible":x||void 0,"data-disabled":f||void 0,"data-readonly":p||void 0,"data-invalid":h||void 0,"data-required":t.isRequired||void 0},oe.default.createElement(O1,{elementType:"span"},oe.default.createElement("input",{...E(c,v),ref:u})),Z.children)}var Mo=(0,oe.forwardRef)(bf),So=(0,oe.forwardRef)(mf);var w4=g(y(),1),D4=(0,w4.createContext)({}),$f=t=>{let{onHoverStart:e,onHoverChange:r,onHoverEnd:o,...a}=t;return a};function hf(t,e){[t,e]=_(t,e,D4);let{hoverProps:r,isHovered:o}=a1(t),{isFocused:a,isFocusVisible:l,focusProps:i}=e1({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",n=O({...t,values:{isHovered:o,isFocused:a,isFocusVisible:l,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return w4.default.createElement("input",{...E($f(t),i,r),...n,ref:e,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":o||void 0,"data-focus-visible":l||void 0,"data-invalid":s||void 0})}var Po=E3(hf);var Ho={};Ho={colorSwatchPicker:"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u0623\u0644\u0648\u0627\u0646",dropzoneLabel:"DropZone",selectPlaceholder:"\u062D\u062F\u062F \u0639\u0646\u0635\u0631\u064B\u0627",tableResizer:"\u0623\u062F\u0627\u0629 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645"};var Vo={};Vo={colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u0438 \u043C\u043E\u0441\u0442\u0440\u0438",dropzoneLabel:"DropZone",selectPlaceholder:"\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043F\u0440\u0435\u0434\u043C\u0435\u0442",tableResizer:"\u041F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B"};var Eo={};Eo={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"M\xEDsto pro p\u0159eta\u017Een\xED",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"Zm\u011Bna velikosti"};var wo={};wo={colorSwatchPicker:"Farvepr\xF8ver",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE6lg et element",tableResizer:"St\xF8rrelses\xE6ndring"};var Do={};Do={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element w\xE4hlen",tableResizer:"Gr\xF6\xDFenanpassung"};var ko={};ko={colorSwatchPicker:"\u03A7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03AC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1\u03C4\u03B1",dropzoneLabel:"DropZone",selectPlaceholder:"\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF",tableResizer:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03BC\u03B5\u03B3\u03AD\u03B8\u03BF\u03C5\u03C2"};var Zo={};Zo={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var To={};To={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un art\xEDculo",tableResizer:"Cambiador de tama\xF1o"};var Fo={};Fo={colorSwatchPicker:"V\xE4rvin\xE4idised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige \xFCksus",tableResizer:"Suuruse muutja"};var Bo={};Bo={colorSwatchPicker:"V\xE4rimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var Ro={};Ro={colorSwatchPicker:"\xC9chantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"S\xE9lectionner un \xE9l\xE9ment",tableResizer:"Redimensionneur"};var Io={};Io={colorSwatchPicker:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05D5\u05EA \u05E6\u05D1\u05E2",dropzoneLabel:"DropZone",selectPlaceholder:"\u05D1\u05D7\u05E8 \u05E4\u05E8\u05D9\u05D8",tableResizer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D2\u05D5\u05D3\u05DC"};var Ao={};Ao={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spu\u0161tanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veli\u010Dine"};var zo={};zo={colorSwatchPicker:"Sz\xEDnt\xE1rak",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE1lasszon ki egy elemet",tableResizer:"\xC1tm\xE9retez\u0151"};var Ko={};Ko={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var No={};No={colorSwatchPicker:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",dropzoneLabel:"\u30C9\u30ED\u30C3\u30D7\u30BE\u30FC\u30F3",selectPlaceholder:"\u9805\u76EE\u3092\u9078\u629E",tableResizer:"\u30B5\u30A4\u30BA\u5909\u66F4\u30C4\u30FC\u30EB"};var Oo={};Oo={colorSwatchPicker:"\uC0C9\uC0C1 \uACAC\uBCF8",dropzoneLabel:"\uB4DC\uB86D \uC601\uC5ED",selectPlaceholder:"\uD56D\uBAA9 \uC120\uD0DD",tableResizer:"\uD06C\uAE30 \uC870\uC815\uAE30"};var jo={};jo={colorSwatchPicker:"Spalv\u0173 pavyzd\u017Eiai",dropzoneLabel:"\u201EDropZone\u201C",selectPlaceholder:"Pasirinkite element\u0105",tableResizer:"Dyd\u017Eio keitiklis"};var Go={};Go={colorSwatchPicker:"Kr\u0101su paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izv\u0113l\u0113ties vienumu",tableResizer:"Izm\u0113ra main\u012Bt\u0101js"};var _o={};_o={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"St\xF8rrelsesendrer"};var Wo={};Wo={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var Uo={};Uo={colorSwatchPicker:"Pr\xF3bki kolor\xF3w",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var Yo={};Yo={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var qo={};qo={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Jo={};Jo={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zon\u0103 de plasare",selectPlaceholder:"Selecta\u021Bi un element",tableResizer:"Instrument de redimensionare"};var Xo={};Xo={colorSwatchPicker:"\u0426\u0432\u0435\u0442\u043E\u0432\u044B\u0435 \u043E\u0431\u0440\u0430\u0437\u0446\u044B",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0430\u0437\u043C\u0435\u0440\u0430"};var Qo={};Qo={colorSwatchPicker:"Vzorkovn\xEDky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte polo\u017Eku",tableResizer:"N\xE1stroj na zmenu ve\u013Ekosti"};var ea={};ea={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var ta={};ta={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veli\u010Dine"};var ra={};ra={colorSwatchPicker:"F\xE4rgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"V\xE4lj en artikel",tableResizer:"Storleks\xE4ndrare"};var oa={};oa={colorSwatchPicker:"Renk \xF6rnekleri",dropzoneLabel:"B\u0131rakma B\xF6lgesi",selectPlaceholder:"Bir \xF6\u011Fe se\xE7in",tableResizer:"Yeniden boyutland\u0131r\u0131c\u0131"};var aa={};aa={colorSwatchPicker:"\u0417\u0440\u0430\u0437\u043A\u0438 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",dropzoneLabel:"DropZone",selectPlaceholder:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0435\u043B\u0435\u043C\u0435\u043D\u0442",tableResizer:"\u0417\u0430\u0441\u0456\u0431 \u0437\u043C\u0456\u043D\u0435\u043D\u043D\u044F \u0440\u043E\u0437\u043C\u0456\u0440\u0443"};var la={};la={colorSwatchPicker:"\u989C\u8272\u8272\u677F",dropzoneLabel:"\u653E\u7F6E\u533A\u57DF",selectPlaceholder:"\u9009\u62E9\u4E00\u4E2A\u9879\u76EE",tableResizer:"\u5C3A\u5BF8\u8C03\u6574\u5668"};var ia={};ia={colorSwatchPicker:"\u8272\u7968",dropzoneLabel:"\u653E\u7F6E\u5340",selectPlaceholder:"\u9078\u53D6\u9805\u76EE",tableResizer:"\u5927\u5C0F\u8ABF\u6574\u5668"};var sa={};sa={"ar-AE":Ho,"bg-BG":Vo,"cs-CZ":Eo,"da-DK":wo,"de-DE":Do,"el-GR":ko,"en-US":Zo,"es-ES":To,"et-EE":Fo,"fi-FI":Bo,"fr-FR":Ro,"he-IL":Io,"hr-HR":Ao,"hu-HU":zo,"it-IT":Ko,"ja-JP":No,"ko-KR":Oo,"lt-LT":jo,"lv-LV":Go,"nb-NO":_o,"nl-NL":Wo,"pl-PL":Uo,"pt-BR":Yo,"pt-PT":qo,"ro-RO":Jo,"ru-RU":Xo,"sk-SK":Qo,"sl-SI":ea,"sr-SP":ta,"sv-SE":ra,"tr-TR":oa,"uk-UA":aa,"zh-CN":la,"zh-TW":ia};var Y1=g(y(),1),He=(0,Y1.createContext)({}),F9=(0,Y1.createContext)(null);function gf(t,e){let{render:r}=(0,Y1.useContext)(F9);return Y1.default.createElement(Y1.default.Fragment,null,r(t,e))}var vf=(0,Y1.forwardRef)(gf);function B9(t,e){var r;let o=t?.renderDropIndicator,a=t==null||(r=t.isVirtualDragging)===null||r===void 0?void 0:r.call(t),l=(0,Y1.useCallback)(i=>{if(a||e?.isDropTarget(i))return o?o(i):Y1.default.createElement(vf,{target:i})},[e?.target,a,o]);return t?.useDropIndicator?l:void 0}function k4(t,e,r){var o,a;let l=t.focusedKey,i=null;if(!(e==null||(o=e.isVirtualDragging)===null||o===void 0)&&o.call(e)&&(r==null||(a=r.target)===null||a===void 0?void 0:a.type)==="item"){i=r.target.key;var s;r.target.dropPosition==="after"&&(i=(s=r.collection.getKeyAfter(i))!==null&&s!==void 0?s:i)}return(0,Y1.useMemo)(()=>new Set([l,i].filter(n=>n!==null)),[l,i])}var na=g(y(),1),Z4=(0,na.createContext)({});var ua=g(y(),1),T4=(0,ua.createContext)({});var W=g(y(),1),R9=(0,W.createContext)(null),B3=(0,W.createContext)(null);function xf(t,e){[t,e]=_(t,e,R9);let r=(0,W.useContext)(B3);return r?W.default.createElement(Us,{state:r,props:t,listBoxRef:e}):W.default.createElement(ye,{content:W.default.createElement(Se,t)},o=>W.default.createElement(Lf,{props:t,listBoxRef:e,collection:o}))}function Lf({props:t,listBoxRef:e,collection:r}){t={...t,collection:r,children:null,items:null};let{layoutDelegate:o}=(0,W.useContext)(L1),a=E2({...t,layoutDelegate:o});return W.default.createElement(Us,{state:a,props:t,listBoxRef:e})}var da=(0,W.forwardRef)(xf);function Us({state:t,props:e,listBoxRef:r}){let{dragAndDropHooks:o,layout:a="stack",orientation:l="vertical"}=e,{collection:i,selectionManager:s}=t,n=!!o?.useDraggableCollectionState,u=!!o?.useDroppableCollectionState,{direction:d}=o1(),{disabledBehavior:c,disabledKeys:C}=s,f=ve({usage:"search",sensitivity:"base"}),{isVirtualized:p,layoutDelegate:$,dropTargetDelegate:h,CollectionRoot:b}=(0,W.useContext)(L1),x=(0,W.useMemo)(()=>e.keyboardDelegate||new Le({collection:i,collator:f,ref:r,disabledKeys:C,disabledBehavior:c,layout:a,orientation:l,direction:d,layoutDelegate:$}),[i,f,r,c,C,l,d,e.keyboardDelegate,a,$]),{listBoxProps:v}=K5({...e,shouldSelectOnPressUp:n||e.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:p},t,r),S=(0,W.useRef)(n),L=(0,W.useRef)(u);(0,W.useEffect)(()=>{S.current!==n&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),L.current!==u&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[n,u]);let H,Z,m,D=!1,P=null,V=(0,W.useRef)(null);if(n&&o){H=o.useDraggableCollectionState({collection:i,selectionManager:s,preview:o.renderDragPreview?V:void 0}),o.useDraggableCollection({},H,r);let Q=o.DragPreview;P=o.renderDragPreview?W.default.createElement(Q,{ref:V},o.renderDragPreview):null}if(u&&o){Z=o.useDroppableCollectionState({collection:i,selectionManager:s});let Q=o.dropTargetDelegate||h||new o.ListDropTargetDelegate(i,r,{orientation:l,layout:a,direction:d});m=o.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:Q},Z,r),D=Z.isDropTarget({type:"root"})}let{focusProps:T,isFocused:M,isFocusVisible:A}=e1(),w={isDropTarget:D,isEmpty:t.collection.size===0,isFocused:M,isFocusVisible:A,layout:e.layout||"stack",state:t},R=O({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:w}),B=null;return t.collection.size===0&&e.renderEmptyState&&(B=W.default.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(w))),W.default.createElement(ge,null,W.default.createElement("div",{...z(e),...E(v,T,m?.collectionProps),...R,ref:r,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":D||void 0,"data-empty":t.collection.size===0||void 0,"data-focused":M||void 0,"data-focus-visible":A||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},W.default.createElement(l1,{values:[[R9,e],[B3,t],[He,{dragAndDropHooks:o,dragState:H,dropState:Z}],[T4,{elementType:"div"}],[F9,{render:Mf}],[m4,{render:yf}]]},W.default.createElement(b,{collection:i,scrollRef:r,persistedKeys:k4(s,o,Z),renderDropIndicator:B9(o,Z)})),B,P))}function yf(t,e,r){let o=(0,W.useContext)(B3),{dragAndDropHooks:a,dropState:l}=(0,W.useContext)(He),{CollectionBranch:i}=(0,W.useContext)(L1),[s,n]=_1();var u;let{headingProps:d,groupProps:c}=G5({heading:n,"aria-label":(u=t["aria-label"])!==null&&u!==void 0?u:void 0}),C=O({defaultClassName:"react-aria-Section",className:t.className,style:t.style,values:{}});return W.default.createElement("section",{...z(t),...c,...C,ref:e},W.default.createElement(Z4.Provider,{value:{...d,ref:s}},W.default.createElement(i,{collection:o.collection,parent:r,renderDropIndicator:B9(a,l)})))}var ca=Me("item",function(e,r,o){let a=i1(r),l=(0,W.useContext)(B3),{dragAndDropHooks:i,dragState:s,dropState:n}=(0,W.useContext)(He),{optionProps:u,labelProps:d,descriptionProps:c,...C}=j5({key:o.key,"aria-label":e?.["aria-label"]},l,a),{hoverProps:f,isHovered:p}=a1({isDisabled:!C.allowsSelection&&!C.hasAction,onHoverStart:o.props.onHoverStart,onHoverChange:o.props.onHoverChange,onHoverEnd:o.props.onHoverEnd}),$=null;s&&i&&($=i.useDraggableItem({key:o.key},s));let h=null;n&&i&&(h=i.useDroppableItem({target:{type:"item",key:o.key,dropPosition:"on"}},n,a));let b=s&&s.isDragging(o.key),x=O({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...C,isHovered:p,selectionMode:l.selectionManager.selectionMode,selectionBehavior:l.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:b,isDropTarget:h?.isDropTarget}});(0,W.useEffect)(()=>{o.textValue||console.warn("A `textValue` prop is required for elements with non-plain text children in order to support accessibility features such as type to select.")},[o.textValue]);let v=e.href?"a":"div";return W.default.createElement(v,{...E(u,f,$?.dragProps,h?.dropProps),...x,ref:a,"data-allows-dragging":!!s||void 0,"data-selected":C.isSelected||void 0,"data-disabled":C.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":C.isFocused||void 0,"data-focus-visible":C.isFocusVisible||void 0,"data-pressed":C.isPressed||void 0,"data-dragging":b||void 0,"data-drop-target":h?.isDropTarget||void 0,"data-selection-mode":l.selectionManager.selectionMode==="none"?void 0:l.selectionManager.selectionMode},W.default.createElement(l1,{values:[[te,{slots:{label:d,description:c}}]]},x.children))});function Mf(t,e){e=i1(e);let{dragAndDropHooks:r,dropState:o}=(0,W.useContext)(He),{dropIndicatorProps:a,isHidden:l,isDropTarget:i}=r.useDropIndicator(t,o,e);return l?null:W.default.createElement(Pf,{...t,dropIndicatorProps:a,isDropTarget:i,ref:e})}function Sf(t,e){let{dropIndicatorProps:r,isDropTarget:o,...a}=t,l=O({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:o}});return W.default.createElement("div",{...r,...l,role:"option",ref:e,"data-drop-target":o||void 0})}var Pf=(0,W.forwardRef)(Sf);var $1=g(y(),1);var Ys=(0,$1.createContext)(null),F4=(0,$1.createContext)(null),B4=(0,$1.createContext)(null),qs=(0,$1.createContext)(null);function Hf(t,e){[t,e]=_(t,e,Ys);let r=(0,$1.useRef)(null),o=L5(t.formatOptions),a=E5({...t,numberFormatter:o}),[l,i]=_1(),{groupProps:s,trackProps:n,labelProps:u,outputProps:d}=D5({...t,label:i},a,r),c=O({...t,values:{orientation:a.orientation,isDisabled:a.isDisabled,state:a},defaultClassName:"react-aria-Slider"}),C=z(t);return delete C.id,$1.default.createElement(l1,{values:[[F4,a],[B4,{...n,ref:r}],[qs,d],[fe,{...u,ref:l}]]},$1.default.createElement("div",{...C,...s,...c,ref:e,slot:t.slot||void 0,"data-orientation":a.orientation,"data-disabled":a.isDisabled||void 0}))}var Vf=(0,$1.forwardRef)(Hf);function Ef(t,e){[t,e]=_(t,e,B4);let r=(0,$1.useContext)(F4),{onHoverStart:o,onHoverEnd:a,onHoverChange:l,...i}=t,{hoverProps:s,isHovered:n}=a1({onHoverStart:o,onHoverEnd:a,onHoverChange:l}),u=O({...t,defaultClassName:"react-aria-SliderTrack",values:{orientation:r.orientation,isDisabled:r.isDisabled,isHovered:n,state:r}});return $1.default.createElement("div",{...E(i,s),...u,ref:e,"data-hovered":n||void 0,"data-orientation":r.orientation||void 0,"data-disabled":r.isDisabled||void 0})}var wf=(0,$1.forwardRef)(Ef);function Df(t,e){let{inputRef:r=null}=t,o=(0,$1.useContext)(F4),{ref:a}=I1(B4),{index:l=0}=t,i=(0,$1.useRef)(null),s=r||i,[n,u]=_1(),{thumbProps:d,inputProps:c,labelProps:C,isDragging:f,isFocused:p,isDisabled:$}=k5({...t,index:l,trackRef:a,inputRef:s,label:u},o),{focusProps:h,isFocusVisible:b}=e1(),{hoverProps:x,isHovered:v}=a1(t),S=O({...t,defaultClassName:"react-aria-SliderThumb",values:{state:o,isHovered:v,isDragging:f,isFocused:p,isFocusVisible:b,isDisabled:$}}),L=z(t);return delete L.id,$1.default.createElement("div",{...E(L,d,x),...S,ref:e,style:{...d.style,...S.style},"data-hovered":v||void 0,"data-dragging":f||void 0,"data-focused":p||void 0,"data-focus-visible":b||void 0,"data-disabled":$||void 0},$1.default.createElement(O1,null,$1.default.createElement("input",{ref:s,...E(c,h)})),$1.default.createElement(l1,{values:[[fe,{...C,ref:n}]]},S.children))}var kf=(0,$1.forwardRef)(Df);var R4=g(y(),1),Js=(0,R4.createContext)({});var I2=g(y(),1),I9=(0,I2.createContext)({placement:"bottom"});function Zf(t,e){[t,e]=_(t,e,I9);let r=t.placement,o={position:"absolute",[r]:"100%",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"},a=O({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});return a.style&&Object.keys(a.style).forEach(l=>a.style[l]===void 0&&delete a.style[l]),I2.default.createElement("div",{...t,...a,style:{...o,...a.style},ref:e,"data-placement":r})}var A9=(0,I2.forwardRef)(Zf);var S1=g(y(),1);var Xe=(0,S1.createContext)(null);function Tf(t,e){[t,e]=_(t,e,Xe);let r=(0,S1.useContext)(Ce),o=re(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?o:r,l=D3(e,a.isOpen)||t.isExiting||!1;if(io()){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),S1.default.createElement(S1.default.Fragment,null,s)}return a&&!a.isOpen&&!l?null:S1.default.createElement(Ff,{...t,triggerRef:t.triggerRef,state:a,popoverRef:e,isExiting:l})}var R3=(0,S1.forwardRef)(Tf);function Ff({state:t,isExiting:e,UNSTABLE_portalContainer:r,...o}){let a=(0,S1.useRef)(null),[l,i]=(0,S1.useState)(0);j(()=>{a.current&&t.isOpen&&i(a.current.getBoundingClientRect().width)},[t.isOpen,a]);var s;let{popoverProps:n,underlayProps:u,arrowProps:d,placement:c}=A5({...o,offset:(s=o.offset)!==null&&s!==void 0?s:8,arrowSize:l},t),C=o.popoverRef,f=w3(C,!!c)||o.isEntering||!1,p=O({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:c,isEntering:f,isExiting:e}}),$={...n.style,...p.style};return S1.default.createElement(f2,{isExiting:e,portalContainer:r},!o.isNonModal&&t.isOpen&&S1.default.createElement("div",{"data-testid":"underlay",...u,style:{position:"fixed",inset:0}}),S1.default.createElement("div",{...E(z(o),n),...p,ref:C,slot:o.slot||void 0,style:$,"data-trigger":o.trigger,"data-placement":c,"data-entering":f||void 0,"data-exiting":e||void 0},!o.isNonModal&&S1.default.createElement($3,{onDismiss:t.close}),S1.default.createElement(I9.Provider,{value:{...d,placement:c,ref:a}},p.children),S1.default.createElement($3,{onDismiss:t.close})))}var ae=g(y(),1),fa=(0,ae.createContext)(null),Ce=(0,ae.createContext)(null);function Ca(t){let e=re(t),r=(0,ae.useRef)(null),{triggerProps:o,overlayProps:a}=u2({type:"dialog"},e,r);return o.id=X(),a["aria-labelledby"]=o.id,ae.default.createElement(l1,{values:[[Ce,e],[fa,a],[Xe,{trigger:"DialogTrigger",triggerRef:r}]]},ae.default.createElement(Y2,{...o,ref:r,isPressed:e.isOpen},t.children))}function Bf(t,e){let r=t["aria-labelledby"];[t,e]=_(t,e,fa);let{dialogProps:o,titleProps:a}=p2({...t,"aria-labelledby":r},e),l=(0,ae.useContext)(Ce),i=t.children;typeof i=="function"&&(i=i({close:l?.close||(()=>{})})),!o["aria-label"]&&!o["aria-labelledby"]&&(t["aria-labelledby"]?o["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a , it must have an aria-label or aria-labelledby attribute for accessibility.'));var s;return ae.default.createElement("section",{...z(t),...o,ref:e,slot:t.slot||void 0,style:t.style,className:(s=t.className)!==null&&s!==void 0?s:"react-aria-Dialog"},ae.default.createElement(l1,{values:[[c4,{slots:{[H2]:{},title:{...a,level:2}}}]]},i))}var pa=(0,ae.forwardRef)(Bf);var I4=g(y(),1);function Rf(t,e){[t,e]=_(t,e,c4);let{children:r,level:o=3,className:a,...l}=t,i=`h${o}`;return I4.default.createElement(i,{...l,ref:e,className:a??"react-aria-Heading"},r)}var ma=(0,I4.forwardRef)(Rf);var A4=g(y(),1),Xs=(0,A4.createContext)({});var U=g(y(),1);var $a=(0,U.createContext)(null),z4=(0,U.createContext)(null),ha=(0,U.createContext)(null);function ga(t){let e=k2(t),r=(0,U.useRef)(null),{menuTriggerProps:o,menuProps:a}=Y0({...t,type:"menu"},e,r),[l,i]=(0,U.useState)(null),s=(0,U.useCallback)(()=>{r.current&&i(r.current.offsetWidth+"px")},[r]);i0({ref:r,onResize:s});let n=(0,U.useRef)(null);return U.default.createElement(l1,{values:[[$a,{...a,ref:n}],[Ce,e],[ha,e],[Xe,{trigger:"MenuTrigger",triggerRef:r,scrollRef:n,placement:"bottom start",style:{"--trigger-width":l}}]]},U.default.createElement(Y2,{...o,ref:r,isPressed:e.isOpen},t.children))}var If=(0,U.createContext)(null);function Af(t,e){return[t,e]=_(t,e,$a),U.default.createElement(ye,{content:U.default.createElement(Se,t)},r=>r.size>0&&U.default.createElement(zf,{props:t,collection:r,menuRef:e}))}function zf({props:t,collection:e,menuRef:r}){let o=E4({...t,collection:e,children:void 0}),[a,l]=(0,U.useState)(null),{isVirtualized:i,CollectionRoot:s}=(0,U.useContext)(L1),{menuProps:n}=_5({...t,isVirtualized:i},o,r),u=(0,U.useContext)(ha),d=(0,U.useContext)(Xe),c=d?.trigger==="SubmenuTrigger";Q3({ref:r,onInteractOutside:h=>{u&&!a?.contains(h.target)&&u.close()},isDisabled:c||u?.expandedKeysStack.length===0});let C=(0,U.useRef)(null),[f,p]=(0,U.useState)({left:0});(0,U.useEffect)(()=>{if(a&&C.current!==a&&f.left===0){C.current=a;let{left:h}=a.getBoundingClientRect();p({left:-1*h})}},[f,a]);let $=O({defaultClassName:"react-aria-Menu",className:t.className,style:t.style,values:{}});return U.default.createElement(ge,null,U.default.createElement("div",{...z(t),...n,...$,ref:r,slot:t.slot||void 0,onScroll:t.onScroll},U.default.createElement(l1,{values:[[z4,o],[T4,{elementType:"div"}],[Xe,{UNSTABLE_portalContainer:a||void 0}],[m4,{render:Kf}],[If,{parentMenuRef:r}],[ba,null]]},U.default.createElement(s,{collection:e,persistedKeys:Ms(o.selectionManager.focusedKey),scrollRef:r}))),U.default.createElement("div",{ref:l,style:{width:"100vw",position:"absolute",top:0,...f}}))}var va=(0,U.forwardRef)(Af);function Kf(t,e,r){var o,a;let l=(0,U.useContext)(z4),{CollectionBranch:i}=(0,U.useContext)(L1),[s,n]=_1();var u;let{headingProps:d,groupProps:c}=U5({heading:n,"aria-label":(u=r.props["aria-label"])!==null&&u!==void 0?u:void 0}),C=O({defaultClassName:"react-aria-Section",className:(o=r.props)===null||o===void 0?void 0:o.className,style:(a=r.props)===null||a===void 0?void 0:a.style,values:{}});return U.default.createElement("section",{...z(t),...c,...C,ref:e},U.default.createElement(Z4.Provider,{value:{...d,ref:s}},U.default.createElement(i,{collection:l.collection,parent:r})))}var ba=(0,U.createContext)(null),xa=Me("item",function(e,r,o){var a;[e,r]=_(e,r,ba);let l=(a=I1(ba))===null||a===void 0?void 0:a.id,i=(0,U.useContext)(z4),s=i1(r),{menuItemProps:n,labelProps:u,descriptionProps:d,keyboardShortcutProps:c,...C}=W5({...e,id:l,key:o.key},i,s),{isFocusVisible:f,focusProps:p}=e1(),{hoverProps:$,isHovered:h}=a1({isDisabled:C.isDisabled}),b=O({...e,id:void 0,children:o.rendered,defaultClassName:"react-aria-MenuItem",values:{...C,isHovered:h,isFocusVisible:f,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:e["aria-expanded"]==="true"}}),x=e.href?"a":"div";return U.default.createElement(x,{...E(n,p,$),...b,ref:s,"data-disabled":C.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":C.isFocused||void 0,"data-focus-visible":f||void 0,"data-pressed":C.isPressed||void 0,"data-selected":C.isSelected||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":e["aria-expanded"]==="true"||void 0},U.default.createElement(l1,{values:[[te,{slots:{label:u,description:d}}],[Xs,c]]},b.children))});var C1=g(y(),1),en=(0,C1.createContext)(null),La=(0,C1.createContext)(null);function Nf(t,e){if((0,C1.useContext)(La))return C1.default.createElement(Qs,{...t,modalRef:e},t.children);let{isDismissable:o,isKeyboardDismissDisabled:a,isOpen:l,defaultOpen:i,onOpenChange:s,children:n,isEntering:u,isExiting:d,UNSTABLE_portalContainer:c,shouldCloseOnInteractOutside:C,...f}=t;return C1.default.createElement(tn,{isDismissable:o,isKeyboardDismissDisabled:a,isOpen:l,defaultOpen:i,onOpenChange:s,isEntering:u,isExiting:d,UNSTABLE_portalContainer:c,shouldCloseOnInteractOutside:C},C1.default.createElement(Qs,{...f,modalRef:e},n))}var Of=(0,C1.forwardRef)(Nf);function jf(t,e){[t,e]=_(t,e,en);let r=(0,C1.useContext)(Ce),o=re(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?o:r,l=i1(e),i=(0,C1.useRef)(null),s=D3(l,a.isOpen),n=D3(i,a.isOpen),u=s||n||t.isExiting||!1,d=y1();return!a.isOpen&&!u||d?null:C1.default.createElement(Gf,{...t,state:a,isExiting:u,overlayRef:l,modalRef:i})}var tn=(0,C1.forwardRef)(jf);function Gf({UNSTABLE_portalContainer:t,...e}){let r=e.modalRef,{state:o}=e,{modalProps:a,underlayProps:l}=z5(e,o,r),i=w3(e.overlayRef)||e.isEntering||!1,s=O({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:i,isExiting:e.isExiting,state:o}}),n=f6(),u={...s.style,"--visual-viewport-height":n.height+"px"};return C1.default.createElement(f2,{isExiting:e.isExiting,portalContainer:t},C1.default.createElement("div",{...E(z(e),l),...s,style:u,ref:e.overlayRef,"data-entering":i||void 0,"data-exiting":e.isExiting||void 0},C1.default.createElement(l1,{values:[[La,{modalProps:a,modalRef:r,isExiting:e.isExiting,isDismissable:e.isDismissable}],[Ce,o]]},s.children)))}function Qs(t){let{modalProps:e,modalRef:r,isExiting:o,isDismissable:a}=(0,C1.useContext)(La),l=(0,C1.useContext)(Ce),i=(0,C1.useMemo)(()=>Ee(t.modalRef,r),[t.modalRef,r]),s=i1(i),n=w3(s),u=O({...t,defaultClassName:"react-aria-Modal",values:{isEntering:n,isExiting:o,state:l}});return C1.default.createElement("div",{...E(z(t),e),...u,ref:s,"data-entering":n||void 0,"data-exiting":o||void 0},a&&C1.default.createElement($3,{onDismiss:l.close}),u.children)}var le=g(y(),1),rn=(0,le.createContext)(null),on=(0,le.createContext)(null),ya=(0,le.createContext)(null);function _f(t,e){[t,e]=_(t,e,rn);let{validationBehavior:r}=I1(Pe)||{};var o,a;let l=(a=(o=t.validationBehavior)!==null&&o!==void 0?o:r)!==null&&a!==void 0?a:"native",i=Z2({...t,validationBehavior:l}),[s,n]=_1(),{radioGroupProps:u,labelProps:d,descriptionProps:c,errorMessageProps:C,...f}=$2({...t,label:n,validationBehavior:l},i),p=O({...t,values:{orientation:t.orientation||"vertical",isDisabled:i.isDisabled,isReadOnly:i.isReadOnly,isRequired:i.isRequired,isInvalid:i.isInvalid,state:i},defaultClassName:"react-aria-RadioGroup"});return le.default.createElement("div",{...u,...p,ref:e,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":i.isInvalid||void 0,"data-disabled":i.isDisabled||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},le.default.createElement(l1,{values:[[ya,i],[fe,{...d,ref:s,elementType:"span"}],[te,{slots:{description:c,errorMessage:C}}],[Ie,f]]},p.children))}function Wf(t,e){let{inputRef:r=null,...o}=t;[t,e]=_(o,e,on);let a=le.default.useContext(ya),l=i1(Ee(r,t.inputRef!==void 0?t.inputRef:null)),{labelProps:i,inputProps:s,isSelected:n,isDisabled:u,isPressed:d}=b2({...h0(t),children:typeof t.children=="function"?!0:t.children},a,l),{isFocused:c,isFocusVisible:C,focusProps:f}=e1(),p=u||a.isReadOnly,{hoverProps:$,isHovered:h}=a1({...t,isDisabled:p}),b=O({...t,defaultClassName:"react-aria-Radio",values:{isSelected:n,isPressed:d,isHovered:h,isFocused:c,isFocusVisible:C,isDisabled:u,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=z(t);return delete x.id,le.default.createElement("label",{...E(x,i,$,b),ref:e,"data-selected":n||void 0,"data-pressed":d||void 0,"data-hovered":h||void 0,"data-focused":c||void 0,"data-focus-visible":C||void 0,"data-disabled":u||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},le.default.createElement(O1,{elementType:"span"},le.default.createElement("input",{...E(s,f),ref:l})),b.children)}var Uf=(0,le.forwardRef)(_f),Yf=(0,le.forwardRef)(Wf);var y0=g(y(),1);var an=(0,y0.createContext)(null);function qf(t,e){[t,e]=_(t,e,an);let{validationBehavior:r}=I1(Pe)||{};var o,a;let l=(a=(o=t.validationBehavior)!==null&&o!==void 0?o:r)!==null&&a!==void 0?a:"native",i=(0,y0.useRef)(null),[s,n]=_1(),u=T2({...t,validationBehavior:l}),{labelProps:d,inputProps:c,clearButtonProps:C,descriptionProps:f,errorMessageProps:p,...$}=h2({...h0(t),label:n,validationBehavior:l},u,i),h=O({...t,values:{isEmpty:u.value==="",isDisabled:t.isDisabled||!1,isInvalid:$.isInvalid||!1,state:u},defaultClassName:"react-aria-SearchField"}),b=z(t);return delete b.id,y0.default.createElement("div",{...b,...h,ref:e,slot:t.slot||void 0,"data-empty":u.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":$.isInvalid||void 0},y0.default.createElement(l1,{values:[[fe,{...d,ref:s}],[D4,{...c,ref:i}],[J0,C],[te,{slots:{description:f,errorMessage:p}}],[Js,{isInvalid:$.isInvalid,isDisabled:t.isDisabled||!1}],[Ie,$]]},h.children))}var Ma=(0,y0.forwardRef)(qf);var s1=g(y(),1);function Jf(t){return t&&t.__esModule?t.default:t}var K4=(0,s1.createContext)(null),Sa=(0,s1.createContext)(null);function Xf(t,e){[t,e]=_(t,e,K4);let{children:r,isDisabled:o=!1,isInvalid:a=!1,isRequired:l=!1}=t,i=(0,s1.useMemo)(()=>typeof r=="function"?r({isOpen:!1,isDisabled:o,isInvalid:a,isRequired:l,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):r,[r,o,a,l]);return s1.default.createElement(ye,{content:i},s=>s1.default.createElement(Qf,{props:t,collection:s,selectRef:e}))}function Qf({props:t,selectRef:e,collection:r}){let{validationBehavior:o}=I1(Pe)||{};var a,l;let i=(l=(a=t.validationBehavior)!==null&&a!==void 0?a:o)!==null&&l!==void 0?l:"native",s=M4({...t,collection:r,children:void 0,validationBehavior:i}),{isFocusVisible:n,focusProps:u}=e1({within:!0}),d=(0,s1.useRef)(null),[c,C]=_1(),{labelProps:f,triggerProps:p,valueProps:$,menuProps:h,descriptionProps:b,errorMessageProps:x,...v}=J5({...h0(t),label:C,validationBehavior:i},s,d),[S,L]=(0,s1.useState)(null),H=(0,s1.useCallback)(()=>{d.current&&L(d.current.offsetWidth+"px")},[d]);i0({ref:d,onResize:H});let Z=(0,s1.useMemo)(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:n,isDisabled:t.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:t.isRequired||!1}),[s.isOpen,s.isFocused,n,t.isDisabled,v.isInvalid,t.isRequired]),m=O({...t,values:Z,defaultClassName:"react-aria-Select"}),D=z(t);delete D.id;let P=(0,s1.useRef)(null);return s1.default.createElement(l1,{values:[[K4,t],[Sa,s],[Ha,$],[fe,{...f,ref:c,elementType:"span"}],[J0,{...p,ref:d,isPressed:s.isOpen}],[Ce,s],[Xe,{trigger:"Select",triggerRef:d,scrollRef:P,placement:"bottom start",style:{"--trigger-width":S}}],[R9,{...h,ref:P}],[B3,s],[te,{slots:{description:b,errorMessage:x}}],[Ie,v]]},s1.default.createElement("div",{...D,...m,...u,ref:e,slot:t.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":n||void 0,"data-open":s.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":t.isRequired||void 0}),s1.default.createElement(X5,{state:s,triggerRef:d,label:C,name:t.name,isDisabled:t.isDisabled}))}var Pa=(0,s1.forwardRef)(Xf),Ha=(0,s1.createContext)(null);function eC(t,e){var r,o;[t,e]=_(t,e,Ha);let a=(0,s1.useContext)(Sa),{placeholder:l}=I1(K4),i=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,s=i?.props.children;typeof s=="function"&&(s=s({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let n=f1(Jf(sa),"react-aria-components");var u,d,c;let C=O({...t,defaultChildren:(u=s??l)!==null&&u!==void 0?u:n.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(d=(r=a.selectedItem)===null||r===void 0?void 0:r.value)!==null&&d!==void 0?d:null,selectedText:(c=(o=a.selectedItem)===null||o===void 0?void 0:o.textValue)!==null&&c!==void 0?c:null,isPlaceholder:!i}}),f=z(t);return s1.default.createElement("span",{ref:e,...f,...C,"data-placeholder":!i||void 0},s1.default.createElement(te.Provider,{value:void 0},C.children))}var Va=(0,s1.forwardRef)(eC);var k=g(y(),1),tC=g(a3(),1);var Ea=class extends P3{addNode(e){super.addNode(e),this.columnsDirty||(this.columnsDirty=e.type==="column"),e.type==="tableheader"&&(this.head=e),e.type==="tablebody"&&(this.body=e)}commit(e,r,o=!1){this.updateColumns(o),super.commit(e,r,o),this.rows=[...this.getChildren(this.body.key)]}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let r=new Map,o=a=>{switch(a.type){case"column":r.set(a.key,a),a.hasChildNodes||(a.index=this.columns.length,this.columns.push(a),a.props.isRowHeader&&this.rowHeaderColumnKeys.add(a.key));break}for(let l of this.getChildren(a.key))o(l)};for(let a of this.getChildren(this.head.key))o(a);if(this.headerRows=S4(r,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(e){let r=this.getItem(e);var o;return r?.type==="column"?(o=r.nextKey)!==null&&o!==void 0?o:null:super.getKeyAfter(e)}getKeyBefore(e){var r;let o=this.getItem(e);var a;if(o?.type==="column")return(a=o.prevKey)!==null&&a!==void 0?a:null;let l=super.getKeyBefore(e);return l!=null&&((r=this.getItem(l))===null||r===void 0?void 0:r.type)==="tablebody"?null:l}getChildren(e){if(!this.getItem(e)){for(let r of this.headerRows)if(r.key===e)return r.childNodes}return super.getChildren(e)}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e.body=this.body,e}getTextValue(e){let r=this.getItem(e);if(!r)return"";if(r.textValue)return r.textValue;let o=this.rowHeaderColumnKeys,a=[];for(let l of this.getChildren(e)){let i=this.columns[l.index];if(o.has(i.key)&&l.textValue&&a.push(l.textValue),a.length===o.size)break}return a.join(" ")}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Ye("tableheader",-1),this.body=new Ye("tablebody",-2),this.columnsDirty=!0}},rC=(0,k.createContext)(null);var ln=(0,k.createContext)(null),Ae=(0,k.createContext)(null),wa=(0,k.createContext)(null);function oC(t,e){var r;[t,e]=_(t,e,ln);let o=qe(t),{selectionBehavior:a,selectionMode:l,disallowEmptySelection:i}=o,s=!!(!((r=t.dragAndDropHooks)===null||r===void 0)&&r.useDraggableCollectionState),n=(0,k.useMemo)(()=>({selectionBehavior:l==="none"?null:a,selectionMode:l,disallowEmptySelection:i,allowsDragging:s}),[a,l,i,s]),u=k.default.createElement(iC.Provider,{value:n},k.default.createElement(Se,t));return k.default.createElement(ye,{content:u,createCollection:()=>new Ea},d=>k.default.createElement(aC,{props:t,forwardedRef:e,selectionState:o,collection:d}))}function aC({props:t,forwardedRef:e,selectionState:r,collection:o}){let a=(0,k.useContext)(rC);e=i1((0,k.useMemo)(()=>Ee(e,a?.tableRef),[e,a?.tableRef]));let l=B2({...t,collection:o,children:void 0,UNSAFE_selectionState:r}),{isVirtualized:i,layoutDelegate:s,dropTargetDelegate:n,CollectionRoot:u}=(0,k.useContext)(L1),{dragAndDropHooks:d}=t,{gridProps:c}=g2({...t,layoutDelegate:s,isVirtualized:i},l,e),C=l.selectionManager,f=!!d?.useDraggableCollectionState,p=!!d?.useDroppableCollectionState,$=(0,k.useRef)(f),h=(0,k.useRef)(p);(0,k.useEffect)(()=>{$.current!==f&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),h.current!==p&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[f,p]);let b,x,v,S=!1,L=null,H=(0,k.useRef)(null);if(f&&d){b=d.useDraggableCollectionState({collection:o,selectionManager:C,preview:d.renderDragPreview?H:void 0}),d.useDraggableCollection({},b,e);let R=d.DragPreview;L=d.renderDragPreview?k.default.createElement(R,{ref:H},d.renderDragPreview):null}if(p&&d){x=d.useDroppableCollectionState({collection:o,selectionManager:C});let R=new Le({collection:o,disabledKeys:C.disabledKeys,disabledBehavior:C.disabledBehavior,ref:e,layoutDelegate:s}),B=d.dropTargetDelegate||n||new d.ListDropTargetDelegate(o.rows,e);v=d.useDroppableCollection({keyboardDelegate:R,dropTargetDelegate:B},x,e),S=x.isDropTarget({type:"root"})}let{focusProps:Z,isFocused:m,isFocusVisible:D}=e1(),P=O({className:t.className,style:t.style,defaultClassName:"react-aria-Table",values:{isDropTarget:S,isFocused:m,isFocusVisible:D,state:l}}),V=!!(f&&!b?.isDisabled),T=P.style,M=null;a&&(M=a.useTableColumnResizeState({tableWidth:a.tableWidth},l),i||(T={...T,tableLayout:"fixed",width:"fit-content"}));let A=j1("table");var w;return k.default.createElement(l1,{values:[[Ae,l],[wa,M],[He,{dragAndDropHooks:d,dragState:b,dropState:x}],[F9,{render:pC}]]},k.default.createElement(ge,null,k.default.createElement(A,{...z(t),...P,...E(c,Z,v?.collectionProps),style:T,ref:e,slot:t.slot||void 0,onScroll:t.onScroll,"data-allows-dragging":V||void 0,"data-drop-target":S||void 0,"data-focused":m||void 0,"data-focus-visible":D||void 0},k.default.createElement(u,{collection:o,scrollRef:(w=a?.scrollRef)!==null&&w!==void 0?w:e,persistedKeys:k4(C,d,x)}))),L)}var lC=(0,k.forwardRef)(oC);function j1(t){let{isVirtualized:e}=(0,k.useContext)(L1);return e?"div":t}var iC=(0,k.createContext)(null);var sC=q0("tableheader",(t,e)=>{let r=(0,k.useContext)(Ae).collection,o=V3({items:r.headerRows,children:(0,k.useCallback)(u=>{switch(u.type){case"headerrow":return k.default.createElement(nC,{item:u});default:throw new Error("Unsupported node type in TableHeader: "+u.type)}},[])}),a=j1("thead"),{rowGroupProps:l}=M2(),{hoverProps:i,isHovered:s}=a1({onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),n=O({className:t.className,style:t.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:s}});return k.default.createElement(a,{...E(z(t),l,i),...n,ref:e,"data-hovered":s||void 0},o)},t=>k.default.createElement(Se,{dependencies:t.dependencies,items:t.columns},t.children));function nC({item:t}){let e=(0,k.useRef)(null),r=(0,k.useContext)(Ae),{isVirtualized:o,CollectionBranch:a}=(0,k.useContext)(L1),{rowProps:l}=L2({node:t,isVirtualized:o},r,e),{checkboxProps:i}=o4(r),s=j1("tr");return k.default.createElement(s,{...l,ref:e},k.default.createElement(l1,{values:[[P9,{slots:{selection:i}}]]},k.default.createElement(a,{collection:r.collection,parent:t})))}var uC=Me("column",(t,e,r)=>{var o,a;let l=i1(e),i=(0,k.useContext)(Ae),{isVirtualized:s}=(0,k.useContext)(L1),{columnHeaderProps:n}=v2({node:r,isVirtualized:s},i,l),{isFocused:u,isFocusVisible:d,focusProps:c}=e1(),C=(0,k.useContext)(wa),f=!1;if(C)f=C.resizingColumn===r.key;else for(let v in["width","defaultWidth","minWidth","maxWidth"])v in r.props&&console.warn(`The ${v} prop on a only applies when a is wrapped in a . If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:p,isHovered:$}=a1({isDisabled:!t.allowsSorting}),h=O({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-Column",values:{isHovered:$,isFocused:u,isFocusVisible:d,allowsSorting:r.props.allowsSorting,sortDirection:((o=i.sortDescriptor)===null||o===void 0?void 0:o.column)===r.key?i.sortDescriptor.direction:void 0,isResizing:f,startResize:()=>{if(C)C.startResize(r.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your
in a to enable column resizing")},sort:v=>{i.sort(r.key,v)}}}),b=h.style;C&&(b={...b,width:C.getColumnWidth(r.key)});let x=j1("th");return k.default.createElement(x,{...E(z(t),n,c,p),...h,style:b,colSpan:r.colspan,ref:l,"data-hovered":$||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-resizing":f||void 0,"data-allows-sorting":r.props.allowsSorting||void 0,"data-sort-direction":((a=i.sortDescriptor)===null||a===void 0?void 0:a.column)===r.key?i.sortDescriptor.direction:void 0},k.default.createElement(l1,{values:[[dC,{column:r,triggerRef:l}],[L1,b4]]},h.children))}),dC=(0,k.createContext)(null);var cC=q0("tablebody",(t,e)=>{let r=(0,k.useContext)(Ae),{isVirtualized:o}=(0,k.useContext)(L1),a=r.collection,{CollectionBranch:l}=(0,k.useContext)(L1),{dragAndDropHooks:i,dropState:s}=(0,k.useContext)(He),n=!!i?.useDroppableCollectionState&&!s?.isDisabled;var u;let c={isDropTarget:n&&!!s&&((u=s.isDropTarget({type:"root"}))!==null&&u!==void 0?u:!1),isEmpty:a.size===0},C=O({...t,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:c}),f,p=j1("tr"),$=j1("td"),h=a.columnCount;if(a.size===0&&t.renderEmptyState&&r){let v={},S={},L={};o?(v["aria-rowindex"]=a.headerRows.length+1,S["aria-colspan"]=h,L={display:"contents"}):S.colSpan=h,f=k.default.createElement(p,{role:"row",...v,style:L},k.default.createElement($,{role:"rowheader",...S,style:L},t.renderEmptyState(c)))}let{rowGroupProps:b}=M2(),x=j1("tbody");return k.default.createElement(x,{...E(z(t),b),...C,ref:e,"data-empty":a.size===0||void 0},n&&k.default.createElement($C,null),k.default.createElement(l,{collection:a,parent:a.body,renderDropIndicator:B9(i,s)}),f)}),fC=q0("item",(t,e,r)=>{let o=i1(e),a=(0,k.useContext)(Ae),{dragAndDropHooks:l,dragState:i,dropState:s}=(0,k.useContext)(He),{isVirtualized:n,CollectionBranch:u}=(0,k.useContext)(L1),{rowProps:d,...c}=x2({node:r,shouldSelectOnPressUp:!!i,isVirtualized:n},a,o),{isFocused:C,isFocusVisible:f,focusProps:p}=e1(),{isFocusVisible:$,focusProps:h}=e1({within:!0}),{hoverProps:b,isHovered:x}=a1({isDisabled:!c.allowsSelection&&!c.hasAction,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:v}=r4({key:r.key},a),S;i&&l&&(S=l.useDraggableItem({key:r.key,hasDragButton:!0},i));let L,H=(0,k.useRef)(null),{visuallyHiddenProps:Z}=m0();s&&l&&(L=l.useDropIndicator({target:{type:"item",key:r.key,dropPosition:"on"}},s,H));let m=(0,k.useRef)(null);(0,k.useEffect)(()=>{i&&!m.current&&console.warn('Draggable items in a Table must contain a