luis-ui-lib 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@luis-ui.cjs.js +2 -2
- package/dist/@luis-ui.es.js +14 -4
- package/dist/cq-CQJHxqbP.cjs +1 -0
- package/dist/{cq-4fzlKBy8.js → cq-Dno0uxWn.js} +2 -3
- package/dist/panda.buildinfo.json +2 -0
- package/dist/styled-system.cjs.js +1 -1
- package/dist/styled-system.es.js +2 -2
- package/dist/styles.css +8 -0
- package/dist/types/styled-system/recipes/block.d.ts +1 -1
- package/dist/types/styled-system/recipes/tag-recipe.d.ts +0 -1
- package/dist/types/styled-system/recipes/text-recipe.d.ts +1 -1
- package/dist/types/ui-lib/src/components/Block/Block.stories.d.ts.map +1 -1
- package/dist/types/ui-lib/src/components/Block/block.recipe.d.ts.map +1 -1
- package/dist/types/ui-lib/src/components/Block/index.d.ts +1 -1
- package/dist/types/ui-lib/src/components/Block/index.d.ts.map +1 -1
- package/dist/types/ui-lib/src/components/Text/Text.stories.d.ts.map +1 -1
- package/dist/types/ui-lib/src/components/Text/text.recipe.d.ts.map +1 -1
- package/dist/types/ui-lib/src/components/Text/text.types.d.ts +1 -1
- package/dist/types/ui-lib/src/components/Text/text.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cq-Wp0BDmvX.cjs +0 -1
package/dist/@luis-ui.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),Q=require("./cq-Wp0BDmvX.cjs"),St=require("react-dom");function c1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const A=c1(B),d1=c1(St);function f1(){const e=t=>t;return new Proxy(e,{get(){return e}})}var br=f1(),k0=f1();const H0={className:"accordion",description:"Styles for the Accordion component",slots:["root","item","header","trigger","content"],base:{item:{overflow:"hidden",marginTop:1,"&:first-child":{marginTop:0,borderTopLeftRadius:"4px",borderTopRightRadius:"4px"},"&:last-child":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},"&:focus-within":{position:"relative",zIndex:1}},header:{borderBottom:"1px solid #F0F0F0",all:"unset",display:"flex",transition:"all 0.25s",_hover:{background:"gray_20"}},trigger:{flex:1,all:"unset",width:"100%",color:"black",height:"44px",display:"flex",fontSize:"14px",cursor:"pointer",padding:"0 20px",fontWeight:"500",lineHeight:"20px",fontFamily:"Poppins",fontStyle:"normal",position:"relative",alignItems:"center",justifyContent:"space-between"},content:{overflow:"hidden",backgroundColor:"white",padding:"8px 20px",color:"gray_60",fontFamily:"Poppins",fontSize:"14px",fontStyle:"normal",fontWeight:"500",position:"relative",'&[data-state="open"]':{animation:"slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)"},'&[data-state="closed"]':{animation:"slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)"}},root:{borderRadius:"4px",width:"100%",backgroundColor:"white"}}},Z0={className:"Anchor",description:"Estilo base e variantes do componente Anchor",base:{color:"blue_80",cursor:"pointer",textDecoration:"none",_disabled:{opacity:.5,cursor:"not-allowed",textDecoration:"none",pointerEvents:"none"}},variants:{underlined:{true:{_hover:{textDecoration:"underline"}}},disabled:{true:{opacity:.5,cursor:"not-allowed",textDecoration:"none",pointerEvents:"none"}}}},X0={className:"avatar",description:"Styles for the Avatar component",slots:["root","image","fallback"],base:{root:{width:45,height:45,overflow:"hidden",userSelect:"none",alignItems:"center",borderRadius:"100%",display:"inline-flex",verticalAlign:"middle",justifyContent:"center",backgroundColor:"gray_80"},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"inherit"},fallback:{color:"text.primary.blue",width:"100%",lineHeight:1,height:"100%",display:"flex",fontWeight:500,fontSize:"15px",alignItems:"center",justifyContent:"center",backgroundColor:"gray_60"}},variants:{inline:{true:{root:{display:"inline-block"}}},size:{micro:{root:{width:"22.5px",height:"22.5px"}},small:{root:{width:"37.5px",height:"37.5px"}},medium:{root:{width:"32.5px",height:"32.5px"}},large:{root:{width:"75px",height:"75px"}}},shape:{default:{root:{borderRadius:"50%"}},square:{root:{borderRadius:"0.25rem"}}}}},z0={className:"avatarGroup",description:"Styles for the AvatarGroup component",slots:["container","avatarStyle","othersStyle"],base:{container:{display:"flex",alignItems:"center",position:"relateive"},othersStyle:{borderRadius:"0.25px",cursor:"pointer",marginLeft:"12px"},avatarStyle:{borderRadius:"50%",marginLeft:"-15px",backgroundColor:"gray_60",boxShadow:"3px 3px 3px -1px #d3d3d3","&:nth-child(1)":{marginLeft:0}}},variants:{square:{true:{avatarStyle:{borderRadius:0}}}}},$0={className:"blanket",description:"Estilo base e variantes do componente blanket",base:{top:0,left:0,right:0,bottom:0,zIndex:99,width:"100%",opacity:.75,height:"100%",background:"white",transition:"opacity 300ms ease-out"},variants:{position:{absolute:{position:"absolute"},fixed:{position:"fixed"}},global:{true:{zIndex:101}},primary:{true:{background:"blue_60"}},entering:{true:{opacity:.85,background:"grayDarkest",transition:"opacity 300ms ease-out"}},exiting:{true:{opacity:.01,transition:"opacity 300ms ease-out"}}},defaultVariants:{position:"fixed",entering:!0}},Y0={className:"Block",description:"Estilo base e variantes do componente Block",base:{borderRadius:"4px",padding:"1rem"},variants:{background:{white:{background:"white"},gray:{background:"gray_20"},blue:{background:"blue_60"},lightBlue:{background:"blue_tint"},transparent:{background:"transparent"}},border:{noBorder:{border:"none"},gray:{border:"1px solid {colors.gray_60}"},blue:{border:"1px solid {colors.blue_60}"},borderTop:{borderTop:"1px solid {colors.gray_60}"}},alignItems:{center:{gap:"8px",display:"flex",alignItems:"center"},end:{gap:"8px",display:"flex",alignItems:"flex-end"},start:{gap:"8px",display:"flex",alignItems:"flex-start"},baseline:{gap:"8px",display:"flex",alignItems:"baseline"},stretch:{gap:"8px",display:"flex",alignItems:"stretch"}},padding:{noVerticalPadding:{paddingTop:"0px",paddingBottom:"0px"},noPadding:{padding:0},largePadding:{padding:"2rem"},microPadding:{padding:"0.5rem"},smallPadding:{padding:"1rem"}},relative:{true:{position:"relative"}},justifyContent:{justifyCenter:{gap:"8px",display:"flex",justifyContent:"center"},justifyEnd:{gap:"8px",display:"flex",justifyContent:"flex-end"},justifyStart:{gap:"8px",display:"flex",justifyContent:"flex-start"}},direction:{row:{flexDirection:"row"},column:{flexDirection:"column"}},fullHeight:{true:{height:"100%"}},radius:{true:{borderRadius:6},false:{borderRadius:0}}},defaultVariants:{background:"white",border:"gray"}},q0={className:"boxGroup",description:"Styles for the boxGroup component",slots:["boxStyle","rowStyle","container","others","subItens"],base:{boxStyle:{backgroundColor:"blue_60",borderRadius:"4px",margin:"4px 16px",width:"fit-content",cursor:"default"},rowStyle:{display:"flex",overflowY:"auto",flexDirection:"column",flexWrap:"wrap"},container:{display:"flex",alignItems:"center"},others:{borderRadius:3,cursor:"pointer",marginLeft:"12px"},subItens:{display:"flex"}},variants:{size:{micro:{boxStyle:{padding:"6px"}},small:{boxStyle:{padding:"8px"}},medium:{boxStyle:{padding:"10px"}},large:{boxStyle:{padding:"12px"}}}},defaultVariants:{size:"medium"}},J0={className:"button",description:"Estilo base e variantes do componente Button",slots:["buttonStyle","wrapperShimmer","contentStyle","buttonLoader"],base:{buttonStyle:{outline:0,borderWidth:0,textAlign:"center",appearance:"none",display:"inline-flex",justifyContent:"center",margin:"0px 2px 8px 2px",borderRadius:4,fontFamily:"Poppins",fontWeight:"500",position:"relative",cursor:"pointer",boxSizing:"border-box",overflow:"hidden",flexShrink:0,transition:"all 0.2s ease-in-out",_disabled:{opacity:.5,pointerEvents:"none"}},wrapperShimmer:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0},contentStyle:{opacity:1,display:"flex",userSelect:"none",alignItems:"center",whiteSpace:"nowrap",transition:"opacity .2s",justifyContent:"flex-start"},buttonLoader:{top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",position:"absolute",justifyContent:"center"}},variants:{style:{solid:{buttonStyle:{backgroundColor:"surface.strong.blue",color:"white",_hover:{backgroundColor:"blue_80"},_active:{backgroundColor:"blue_100"},_disabled:{backgroundColor:"blue_40"}}},outline:{buttonStyle:{color:"text.primary.blue",border:"1px solid {colors.border.blue}",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{border:"1px solid {colors.blue_40}"}}},ghost:{buttonStyle:{color:"text.primary.blue",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},soft:{buttonStyle:{background:"surface.light.blue_moderate",color:"text.primary.blue",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},dashed:{buttonStyle:{color:"blue_60",border:"1px dashed {colors.blue_60}",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},shade:{buttonStyle:{backgroundColor:"shadowWeakest",color:"gray_80","& svg":{"& path":{fill:"gray_80"}},_hover:{backgroundColor:"shadowWeaker"},_active:{backgroundColor:"shadowWeak"}}},error:{buttonStyle:{backgroundColor:"red_tint",border:"1px solid {colors.danger_red}",color:"text.secondary.red",_hover:{backgroundColor:"none"},_active:{backgroundColor:"danger_red",color:"white"}}},mono:{buttonStyle:{border:"1px solid {colors.gray_60}",color:"gray_60",_hover:{backgroundColor:"none"},_active:{backgroundColor:"gray_20"}}},danger:{buttonStyle:{backgroundColor:"danger_red",color:"white",transition:"0.2s all",_hover:{backgroundColor:"danger_red"},_active:{backgroundColor:"danger_red"}}},gradient:{buttonStyle:{border:"1px solid transparent",color:"blue_60",backgroundImage:"linear-gradient(white, white), radial-gradient(circle at top left, rgb(0, 34, 255) 26%, rgb(0, 221, 238) 68%)",backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{border:"1px solid blue_40"}}}},rightIcon:{true:{buttonStyle:{gap:"8px"},contentStyle:{gap:"8px"}}},leftIcon:{true:{buttonStyle:{gap:"8px"},contentStyle:{gap:"8px"}}},grouped:{grouped:{buttonStyle:{margin:"0 0.5px"}},groupedFirst:{buttonStyle:{borderRadius:"3px 0 0 3px",marginLeft:0}},groupedLast:{buttonStyle:{borderRadius:"0 3px 3px 0",marginRight:0}}},size:{large:{buttonStyle:{padding:"8px 12px",fontSize:"14px",gap:10}},medium:{buttonStyle:{padding:"6px 10px",fontSize:"12px",gap:8}},small:{buttonStyle:{padding:"4px 8px",fontSize:"12px",gap:6}}},shape:{rectangular:{buttonStyle:{borderRadius:0}},noBorder:{buttonStyle:{border:"none",borderWidth:0}},rounded:{buttonStyle:{borderRadius:"22px"}},regular:{buttonStyle:{borderRadius:4}}},spacing:{noSpacing:{buttonStyle:{marginBottom:0}},removeSideSpacing:{buttonStyle:{marginLeft:0,marginRight:0}}},fullWidth:{true:{buttonStyle:{width:"100%"}}},loading:{true:{buttonStyle:{opacity:"1px",pointerEvents:"none"}}},block:{true:{buttonStyle:{width:"100%",textAlign:"left",margin:0}}},compact:{true:{buttonStyle:{paddingRight:"12px",paddingLeft:"12px"}}},short:{true:{buttonStyle:{height:"2rem"}}},tall:{true:{buttonStyle:{height:"3rem"}}},underlined:{true:{buttonStyle:{textDecoration:"underline"}}},contentLoading:{true:{contentStyle:{opacity:0}}},contentFullWidth:{true:{contentStyle:{justifyContent:"center"}}}},defaultVariants:{style:"solid",size:"medium"}},U0={className:"Cell",description:"Estilo base e variantes do componente Cell",base:{paddingLeft:"gutter_small_regular_left",paddingRight:"gutter_small_regular_right",boxSizing:"border-box",md:{paddingLeft:"gutter_medium_regular_left",paddingRight:"gutter_medium_regular_right"},lg:{paddingLeft:"gutter_large_regular_left",paddingRight:"gutter_large_regular_right"},sm:{paddingLeft:"gutter_small_regular_left",paddingRight:"gutter_small_regular_right"},xl:{paddingLeft:"gutter_xlarge_regular_left",paddingRight:"gutter_xlarge_regular_right"}},variants:{fullHeight:{true:{height:"100%"}},fullHeightOnMedium:{true:{md:{height:"100%"}}},fullHeightOnLarge:{true:{lg:{height:"100%"}}},fullHeightOnXlarge:{true:{xl:{height:"100%"}}},microSpacing:{true:{paddingLeft:"gutter_small_micro_left",paddingRight:"gutter_small_micro_right",md:{paddingLeft:"gutter_medium_micro_left",paddingRight:"gutter_medium_micro_right"},lg:{paddingLeft:"gutter_large_micro_left",paddingRight:"gutter_large_micro_right"},xl:{paddingLeft:"gutter_xlarge_micro_left",paddingRight:"gutter_xlarge_micro_right"}}},smallPadding:{true:{paddingLeft:"gutter_small_small_left",paddingRight:"gutter_small_small_right",md:{paddingLeft:"gutter_medium_small_left",paddingRight:"gutter_medium_small_right"},lg:{paddingLeft:"gutter_large_small_left",paddingRight:"gutter_large_small_right"},xl:{paddingLeft:"gutter_xlarge_small_left",paddingRight:"gutter_xlarge_small_right"}}},largeSpacing:{true:{paddingLeft:"gutter_small_large_left",paddingRight:"gutter_small_large_right",md:{paddingLeft:"gutter_medium_large_left",paddingRight:"gutter_medium_large_right"},lg:{paddingLeft:"gutter_medium_large_left",paddingRight:"gutter_large_large_right"},xl:{paddingLeft:"gutter_xlarge_large_left",paddingRight:"gutter_xlarge_large_right"}}},verticalSpacing:{true:{paddingTop:"gutter_small_regular_top",paddingBottom:"gutter_small_regular_bottom",md:{paddingTop:"gutter_medium_regular_top",paddingBottom:"gutter_medium_regular_bottom"},lg:{paddingTop:"gutter_large_regular_top",paddingBottom:"gutter_large_regular_bottom"},xl:{paddingTop:"gutter_xlarge_regular_top",paddingBottom:"gutter_xlarge_regular_bottom"}}},microVerticalSpacing:{true:{paddingTop:"gutter_small_micro_top",paddingBottom:"gutter_small_micro_bottom",md:{paddingTop:"gutter_medium_micro_top",paddingBottom:"gutter_medium_micro_bottom"},lg:{paddingTop:"gutter_large_micro_top",paddingBottom:"gutter_large_micro_bottom"},xl:{paddingTop:"gutter_xlarge_micro_top",paddingBottom:"gutter_xlarge_micro_bottom"}}},smallVerticalSpacing:{true:{paddingTop:"gutter_small_small_top",paddingBottom:"gutter_small_small_bottom",md:{paddingTop:"gutter_medium_small_top",paddingBottom:"gutter_medium_small_bottom"},lg:{paddingTop:"gutter_large_small_top",paddingBottom:"gutter_large_small_bottom"},xl:{paddingTop:"gutter_xlarge_small_top",paddingBottom:"gutter_xlarge_small_bottom"}}},largeVerticalSpacing:{true:{paddingTop:"gutter_small_large_top",paddingBottom:"gutter_small_large_bottom",md:{paddingTop:"gutter_medium_large_top",paddingBottom:"gutter_medium_large_bottom"},lg:{paddingTop:"gutter_large_large_top",paddingBottom:"gutter_large_large_bottom"},xl:{paddingTop:"gutter_xlarge_large_top",paddingBottom:"gutter_xlarge_large_bottom"}}},noSpacing:{true:{padding:0,md:{padding:0},lg:{padding:0},xl:{padding:0}}},auto:{true:{flex:"1 1 0",width:"auto"}},autoOnMedium:{true:{md:{flex:"1 1 0",width:"auto"}}},autoOnLarge:{true:{lg:{flex:"1 1 0",width:"auto"}}},autoOnXlarge:{true:{xl:{flex:"1 1 0",width:"auto"}}},shrink:{true:{flex:"0 0 auto",width:"auto"}},shrinkOnMedium:{true:{md:{flex:"0 0 auto",width:"auto"}}},shrinkOnLarge:{true:{lg:{flex:"0 0 auto",width:"auto"}}},shrinkOnXlarge:{true:{xl:{flex:"0 0 auto",width:"auto"}}},fit:{true:{flex:"0 1 auto",width:"auto"}},fitOnMedium:{true:{md:{flex:"0 1 auto",width:"auto"}}},fitOnLarge:{true:{lg:{flex:"0 1 auto",width:"auto"}}},fitOnXlarge:{true:{xl:{flex:"0 1 auto",width:"auto"}}},grow:{true:{flex:"1 0 auto",width:"auto"}},growOnMedium:{true:{md:{flex:"1 0 auto",width:"auto"}}},growOnLarge:{true:{lg:{flex:"1 0 auto",width:"auto"}}},growOnXlarge:{true:{xl:{flex:"1 0 auto",width:"auto"}}},scroll:{true:{overflow:"auto"}},relative:{true:{position:"relative"}}}},Q0={className:"CheckBox",description:"Styles for the CheckBox component",slots:["containerCheckOnly","checkboxStyle","checkboxInput","markContainer","checkMark","checkMarkIcon","columnStyles","subtitle","checkboxLabel"],base:{containerCheckOnly:{marginTop:"2px",cursor:"pointer",overflow:"hidden",position:"relative",display:"inline-block",borderRadius:"4px","&:focus-within":{boxShadow:"0 0 2px secondary"}},checkboxStyle:{width:"18px",height:"18px",background:"white",textAlign:"center",border:"1px solid {colors.gray_60}",borderRadius:"0.25rem",boxSizing:"border-box"},checkboxInput:{top:0,left:0,right:0,margin:0,bottom:0,padding:0,opacity:0,width:"100%",height:"100%",position:"absolute","&:focus + [data-fake-checkbox]":{zIndex:1,border:"1px solid {colors.blue_40}",boxSizing:"border-box"}},markContainer:{display:"flex",position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0,alignItems:"center",justifyContent:"center",borderRadius:"0.25rem"},checkMark:{background:"blue_60",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},checkMarkIcon:{fill:"white",width:"60%"},columnStyles:{display:"table-cell",verticalAlign:"top"},subtitle:{paddingTop:2},checkboxLabel:{color:"gray_80",cursor:"pointer",display:"inline-block",wordWrap:"break-word",letterSpacing:"normal",fontSize:"16px",lineHeight:"normal",lg:{fontSize:"16px"}}},variants:{disabled:{true:{checkboxStyle:{background:"gray_20",border:"1px solid {colors.gray_40}",borderRadius:"0.25rem"}}},invalid:{true:{checkboxStyle:{background:"alert_red",border:"1px solid {colors.alert_orange}",borderRadius:"0.25rem"}}},pullRight:{true:{columnStyles:{float:"right"}}},spacing:{true:{columnStyles:{paddingLeft:"12px"}}},marginRight:{true:{columnStyles:{marginRight:"32px"}}},subtitle:{true:{columnStyles:{paddingTop:"2px"}}},columnTextBreak:{true:{columnStyles:{whiteSpace:"normal"}}},columnTextNoBreak:{true:{columnStyles:{whiteSpace:"nowrap"}}}}},K0={className:"clickable",description:"Estilo base e variantes do componente Clickable",base:{cursor:"pointer",borderRadius:"0.25rem",_hover:{backgroundColor:"shadowWeakest"},_active:{backgroundColor:"shadowWeaker"}},variants:{disabled:{true:{pointerEvents:"none",opacity:.5}},inverse:{true:{_hover:{backgroundColor:"fogWeakest"},_active:{backgroundColor:"fogWeaker"}}},rectangular:{true:{borderRadius:0}}}},ep={className:"dialog",description:"Styles for the Dialog component",slots:["root","close","title","portal","header","footer","trigger","overlay","content","description"],base:{overlay:{inset:"0",zIndex:50,position:"fixed",backdropBlur:"4px",bg:"shadowStronger",animation:"overlayShow 0.85s cubic-bezier(0.16, 1, 0.3, 1)"},close:{top:16,right:16,opacity:"0.7",cursor:"pointer",position:"absolute",transition:"opacity",borderRadius:"50%",background:"gray_40",boxShadow:" 0px 2px 8px 0px rgba(0, 0, 0, 0.15)",_hover:{opacity:"1"},_focus:{outline:"2px solid {colors.transparent}",outlineOffset:"2px",focusRingWidth:"2",focusRingColor:"ring",focusRingOffsetWidth:"2"},_disabled:{pointerEvents:"none"}},content:{top:"50%",zIndex:50,left:"50%",position:"fixed",background:"white",boxSizing:"border-box",width:"calc(100% - 30px)",transform:"translate(-50%, -50%)",border:"1px solid {colors.gray_60}",animation:"contentShow 0.85s cubic-bezier(0.16, 1, 0.3, 1)"},header:{display:"flex",textAlign:"center",flexDirection:"column"},footer:{display:"flex",flexDirection:"column-reverse"},title:{border:"1px solid transparent"},description:{textStyle:"sm",border:"1px solid",marginTop:"16px",color:"muted"}},variants:{size:{default:{content:{maxWidth:450}},medium:{content:{maxWidth:600}},micro:{content:{maxWidth:270}},small:{content:{maxWidth:360}},large:{content:{maxWidth:960}},xlarge:{content:{maxWidth:1440}},fullScreen:{content:{margin:0,border:0,inset:0,width:"unset",borderRadius:0,transform:"unset"}}},padding:{micro:{content:{padding:4},close:{top:4,right:4}},small:{content:{padding:8},close:{top:8,right:8}},default:{content:{padding:16},close:{top:16,right:16}},large:{content:{padding:32},close:{top:32,right:32}},xLarge:{content:{padding:64},close:{top:64,right:64}}},shape:{default:{content:{borderRadius:4}},noBorder:{content:{borderRadius:4}}},fullHeight:{true:{content:{minHeight:"calc(100% - 45px)","@large":{maxHeight:"calc(100% - 45px)"}},description:{minHeight:"calc(100% - 45px)","@large":{maxHeight:"calc(100% - 45px)"}}}}},defaultVariants:{size:"default",shape:"default",padding:"default",fullHeight:!1}},tp={className:"drawer",description:"Styles for the Drawer component",slots:["container","drawerStyle","closeButton"],base:{container:{top:0,left:0,right:0,zIndex:100,width:"100%",minHeight:"100%",overflowX:"hidden",pointerEvents:"none"},drawerStyle:{top:0,bottom:0,zIndex:100,width:"100%",overflowY:"auto",background:"white",overflowX:"hidden",position:"absolute",pointerEvents:"all",transition:"transform 250ms ease-out, box-shadow 250ms ease-out"},closeButton:{zIndex:101,marginTop:8,marginRight:8,float:"right"}},variants:{fixed:{true:{container:{position:"fixed"},drawerStyle:{position:"fixed"},closeButton:{top:0,right:0,zIndex:101,position:"absolute"}}},absolute:{true:{container:{position:"absolute"},drawerStyle:{position:"absolute"}}},side:{left:{drawerStyle:{left:0}},right:{drawerStyle:{right:0}}},size:{micro:{drawerStyle:{maxWidth:360}},small:{drawerStyle:{maxWidth:520}},medium:{drawerStyle:{maxWidth:744}},large:{drawerStyle:{maxWidth:1128}}},elevated:{true:{drawerStyle:{boxShadow:"0 0 9px 3px {colors.shadowWeak} "}}},border:{left:{drawerStyle:{borderLeft:"1px solid {colors.gray_80}"}},right:{drawerStyle:{borderRight:"1px solid {colors.gray_80}"}}},entering:{true:{drawerStyle:{transform:"translate(0, 0)",transition:"transform 250ms ease-out"}}},exiting:{true:{drawerStyle:{transform:"translate(100%, 0)",transition:"transform 250ms ease-out"}}},exitingLeft:{true:{drawerStyle:{transform:"translate(-100%, 0)",transition:"transform 250ms ease-out"}}}},defaultVariants:{side:"right",size:"medium"}},rp={className:"dropdown",description:"Styles for the Dropdown component",slots:["dropdownMenu","dropdownContainer","dropdownList","labelStyle","dropdownArrow","dropdownStyles"],base:{dropdownMenu:{zIndex:50,top:"100%",opacity:.01,padding:"8px",marginTop:"4px",borderRadius:"4px",position:"absolute",pointerEvents:"none",backgroundColor:"white",transform:"translate(0, -10%)",border:"1px solid {colors.blue_tint}",boxShadow:'0 7.5px {units(0.75)} {units(-0.45)} {"shadow"}',transition:"opacity 200ms ease-out, transform 300ms ease-out"},dropdownContainer:{maxWidth:"100%",position:"relative",display:"inline-block",boxSizing:"border-box"},dropdownList:{margin:0,padding:0,listStyle:"none"},labelStyle:{fontSize:"14px",color:"text.primary.gray",margin:"0px 2px",position:"static"},dropdownArrow:{width:"10px",fill:"gray_60",marginLeft:"8px"},dropdownStyles:{borderWidth:0,display:"flex",outline:"none",cursor:"pointer",minWidth:"22.5px",minHeight:"22.5px",alignItems:"center",position:"relative",justifyContent:"center",background:"transparent"}},variants:{left:{true:{dropdownMenu:{left:0}}},right:{true:{dropdownMenu:{right:0}}},revertTop:{true:{dropdownMenu:{top:"-100%"}}},sideTop:{true:{dropdownMenu:{top:0}}},sideBottom:{true:{dropdownMenu:{top:"unset",bottom:0}}},leftSide:{true:{dropdownMenu:{right:"100%",marginTop:0,marginRight:"3.75px"}}},rightSide:{true:{dropdownMenu:{left:"100%",marginTop:0,marginLeft:"3.75px"}}},insideAButton:{true:{dropdownMenu:{marginRight:"2px",marginLeft:"2px"}}},entering:{true:{dropdownMenu:{opacity:1,transform:"translate(0, 0)",transition:"opacity 200ms ease-out, transform 300ms ease-out",pointerEvents:"auto"}}},exiting:{true:{dropdownMenu:{opacity:0,transform:"translate(0, -10%)",transition:"opacity 200ms ease-out, transform 300ms ease-out",pointerEvents:"none"}}},relative:{true:{dropdownContainer:{position:"relative"}}},asAButton:{true:{dropdownContainer:{marginTop:0},dropdownStyles:{margin:0}}},noSpacing:{true:{dropdownContainer:{marginBottom:0}}},absolute:{true:{dropdownContainer:{position:"absolute"}}},leftMarged:{true:{dropdownArrow:{marginLeft:"11.25px"}}},rightMarged:{true:{dropdownArrow:{marginRight:"11.25px"}}},mono:{true:{dropdownArrow:{fill:"#9B9B9B"}}},primary:{true:{dropdownArrow:{fill:"pantone_2286_C"}}},secondary:{true:{dropdownArrow:{fill:"blue_60"}}},only:{true:{dropdownStyles:{minWidth:"37.5px",height:"37.5px"}}}}},np={className:"flatButton",description:"Styles for the FlatButton component",slots:["buttonFlat","contentButton","loaderButton","shimmerButton"],base:{buttonFlat:{appearance:"none",borderWidth:0,height:"40px",padding:"0 16px",borderRadius:"8px",outline:0,position:"relative",fontWeight:500,fontFamily:"inherit",cursor:"pointer",boxSizing:"border-box",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out"},contentButton:{display:"flex",alignItems:"center",justifyContent:"center",opacity:1,transition:"opacity 0.2s",whiteSpace:"nowrap",userSelect:"none"},loaderButton:{position:"absolute",top:0,right:0,bottom:0,left:0,display:"flex",alignItems:"center",justifyContent:"center"},shimmerButton:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0}},variants:{size:{small:{buttonFlat:{height:"32px",fontSize:"14px"}},medium:{buttonFlat:{height:"40px",fontSize:"16px"}},large:{buttonFlat:{height:"48px",fontSize:"18px"}}},variant:{primary:{buttonFlat:{background:"blue_80",color:"white"}},secondary:{buttonFlat:{background:"transparent",border:"1px solid {colors.green_success}",color:"green_success"}},inverse:{buttonFlat:{background:"white",color:"blue_80"}},transparent:{buttonFlat:{background:"transparent",color:"blue_80"}},mono:{buttonFlat:{background:"transparent",border:"1px solid {colors.black}",color:"black"}}},soft:{true:{buttonFlat:{background:"grayLighter"}}},square:{true:{buttonFlat:{borderRadius:"4px"}}},loading:{true:{buttonFlat:{pointerEvents:"none",opacity:.6}}},disabled:{true:{buttonFlat:{pointerEvents:"none",opacity:.5}}}}},op={className:"formElement",description:"Styles for the Form Element component",slots:["label","elementStyle","legend","elementGroup"],base:{label:{marginBottom:"8px",display:"flex",alignItems:"center",gap:"0.25rem"},elementStyle:{display:"inline-block"},legend:{padding:0,margin:0},elementGroup:{border:0,margin:0,padding:0}},variants:{hideLabel:{true:{label:{display:"none"}}},block:{true:{elementStyle:{display:"block",width:"100%"}}}}},ip={className:"grid",description:"Styles for the Grid component",slots:["root","content"],base:{root:{width:"100%",display:"flex",flexBasis:"auto"},content:{width:"100%",flex:"1 1 0",display:"flex",boxSizing:"border-box",alignItems:"flex-start"}},variants:{fullHeight:{true:{root:{height:"100vh"},content:{height:"100%"}}},gap:{micro:{content:{gap:"0.25rem"}},small:{content:{gap:"0.5rem"}},medium:{content:{gap:"0.75rem"}},large:{content:{gap:"1rem"}},xlarge:{content:{gap:"1.5rem"}}},flexDirection:{row:{content:{flexDirection:"row"}},column:{content:{flexDirection:"column"}},rowReverse:{content:{flexDirection:"row-reverse"}},columnReverse:{content:{flexDirection:"column-reverse"}}},justifyContent:{end:{content:{justifyContent:"flex-end"}},center:{content:{justifyContent:"center"}},start:{content:{justifyContent:"flex-start"}},between:{content:{justifyContent:"space-between"}}},alignItems:{end:{content:{alignItems:"flex-end"}},center:{content:{alignItems:"center"}},stretch:{content:{alignItems:"stretch"}},start:{content:{alignItems:"flex-start"}},baseline:{content:{alignItems:"baseline"}}},flexWrap:{wrap:{content:{flexWrap:"wrap"}},noWrap:{content:{flexWrap:"nowrap"}},wrapReverse:{content:{flexWrap:"wrap-reverse"}}},spacing:{resetSpacing:{content:{marginLeft:"-gutter_small_regular_left",marginRight:"-gutter_small_regular_right",lg:{marginLeft:"-gutter_large_regular_left",marginRight:"-gutter_large_regular_right"},xl:{marginLeft:"-gutter_xlarge_regular_left",marginRight:"-gutter_xlarge_regular_right"}}},resetLargeSpacing:{content:{marginLeft:"-gutter_small_large_left",marginRight:"-gutter_small_large_right",lg:{marginLeft:"-gutter_large_large_left",marginRight:"-gutter_large_large_right"},xl:{marginLeft:"-gutter_xlarge_large_left",marginRight:"-gutter_xlarge_large_right"}}},resetMicroSpacing:{content:{marginLeft:"-gutter_small_micro_left",marginRight:"-gutter_small_micro_right",lg:{marginLeft:"-gutter_large_micro_left",marginRight:"-gutter_large_micro_right"},xl:{marginLeft:"-gutter_xlarge_micro_left",marginRight:"-gutter_xlarge_micro_right"}}},resetSmallSpacing:{content:{marginLeft:"-gutter_small_small_left",marginRight:"-gutter_small_small_right",lg:{marginLeft:"-gutter_large_small_left",marginRight:"-gutter_large_small_right"},xl:{marginLeft:"-gutter_xlarge_small_left",marginRight:"-gutter_xlarge_small_right"}}}}},defaultVariants:{flexWrap:"wrap",flexDirection:"row"}},ap={className:"icon-recipe",description:"Estilo base e variantes do componente Icon",base:{width:20},variants:{color:{mono:{fill:"black"},white:{fill:"white"},muted:{fill:"blue_40"},secondary:{fill:"blue_60"},blueLight:{fill:"blue_60"},grayLight:{fill:"gray_80"},redLight:{fill:"danger_red"},primary:{fill:"pantone_2286_C"},text:{fill:"text.primary.gray"},orangeLight:{fill:"alert_orange"},greenLight:{fill:"green_success"}},size:{micro:{width:8},huge:{width:36},small:{width:16},large:{width:24},default:{width:12}}},defaultVariants:{color:"secondary",size:"default"}},up={className:"input",description:"Styles for the Input component",slots:["root","separator","input","loader","masked","prefixContainer"],base:{root:{width:"100%",flexWrap:"nowrap",lineHeight:"1.3px",borderRadius:"4px",position:"relative",alignItems:"center",marginBottom:"7.5px",display:"inline-flex",letterSpacing:"normal",boxSizing:"border-box"},separator:{flexShrink:0},input:{margin:0,width:"100%",border:"none",height:"auto",cursor:"pointer",fontWeight:"400",borderRadius:"4px",lineHeight:"1.3px",marginBottom:"0px",fontFamily:"Poppins",fontStyle:"normal",letterSpacing:"normal",boxSizing:"border-box",background:"transparent",_focus:{outline:"none",boxShadow:"none",border:0}},loader:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0},masked:{border:0,margin:0,background:"transparent",width:"100%",height:"auto",boxSizing:"border-box",_focus:{outline:"none",boxShadow:"none",border:0}},prefixContainer:{}},variants:{color:{gray:{root:{border:"1px solid {colors.gray_60}",background:"white",_hover:{background:"gray_20"},_focusWithin:{border:"1px solid {colors.blue_60}"}},input:{color:"gray_80",_placeholder:{color:"gray_80"}},separator:{color:"gray_80"},masked:{color:"gray_80",_placeholder:{color:"gray_80"}}},blue:{root:{border:"1px solid {colors.gray_60}",background:"white",_hover:{background:"gray_20"},_focusWithin:{border:"1px solid {colors.blue_60}"}},input:{color:"blue_60",_placeholder:{color:"blue_60"}},separator:{color:"blue_60"},masked:{color:"blue_60",_placeholder:{color:"blue_60"}}}},size:{small:{input:{fontSize:"small_micro",padding:"6px 10px"},masked:{fontSize:"small_micro",padding:"6px 10px"}},medium:{input:{fontSize:"small_small",padding:"8px 12px"},masked:{fontSize:"small_small",padding:"8px 12px"}},large:{input:{fontSize:"small_regular",padding:"10px 16px"},masked:{fontSize:"small_regular",padding:"10px 16px"}}},focusBorderless:{true:{root:{_focusWithin:{borderWidth:"0px"}}}},showOverflowEllipsis:{true:{root:{textOverflow:"ellipsis"},separator:{textOverflow:"ellipsis"},masked:{textOverflow:"ellipsis"}}},separatorPrefix:{true:{root:{marginLeft:"10px"}}},separatorSuffix:{true:{root:{marginRight:"10px"}}},removePrefixSpacing:{true:{root:{paddingLeft:"0px"}}},removeSuffixSpacing:{true:{root:{paddingRight:"0px"}}},prefix:{true:{root:{paddingLeft:"10px",flexShrink:0},separator:{marginLeft:"10px"}}},suffix:{true:{root:{paddingRight:"10px",flexShrink:0},separator:{marginRight:"10px"}}},noPadding:{true:{separator:{padding:0}}},inverse:{true:{root:{background:"#FFF",border:"1px solid {colors.gray_20}",color:"gray_80"}}},disabled:{true:{root:{opacity:.5,pointerEvents:"none",border:"1px solid {colors.gray_40}"}}},invalid:{true:{root:{border:"1px solid {colors.alert_orange}",background:"white",borderRadius:"0.25rem",_focusWithin:{border:"1px solid {colors.alert_orange}",borderRadius:"0.25rem"}}}},error:{true:{root:{border:"1px solid {colors.error}",background:"white",borderRadius:"0.25rem",_focusWithin:{border:"1px solid {colors.error}",borderRadius:"0.25rem"}}}},flat:{true:{root:{borderColor:"blue_40",background:"white"}}},borderless:{true:{root:{borderColor:"grayLight"}}},floating:{true:{root:{boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",background:"white",borderColor:"white"}}},removeMargin:{true:{root:{margin:0}}},separator:{true:{root:{width:"1px",height:"22.5px",background:"gray",flexShrink:0}}},block:{true:{root:{display:"flex",width:"100%"}}},inputDefaultPlaceholder:{true:{separator:{_placeholder:{color:"grayDark",opacity:1}},masked:{_placeholder:{color:"grayDark",opacity:1}}}},inpuFakeValuePlaceholder:{true:{separator:{_placeholder:{color:"grayDarker",opacity:1}},masked:{_placeholder:{color:"grayDarker",opacity:1}}}},inputInversePlaceholder:{true:{separator:{_placeholder:{color:"white",opacity:1}},masked:{_placeholder:{color:"white",opacity:1}}}}},defaultVariants:{color:"gray",size:"medium"}},lp={className:"label",description:"Styles for the label component",slots:["labelStyles","tableRow"],base:{labelStyles:{backgroundColor:"transparent",border:0,cursor:"pointer",display:"block",padding:0},tableRow:{display:"table-row"}},variants:{inline:{true:{labelStyles:{display:"inline-block",whiteSpace:"nowrap"}}},table:{true:{labelStyles:{display:"table"}}}}},sp={className:"loader",description:"Estilo base e variantes do componente Loader",base:{width:15,height:15,margin:"1.5px",backgroundColor:"white",borderRadius:"100%",display:"inline-block",animationName:"bounce",animationDuration:"1.4s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",animationDirection:"both"},variants:{size:{small:{width:8,height:8},large:{width:30,height:30}},color:{mono:{backgroundColor:"gray_60"},primary:{backgroundColor:"blue_60"},secondary:{backgroundColor:"pantone_2286_C"}},second:{true:{animationDelay:"0.16s"}},third:{true:{animationDelay:"0.32s"}}},defaultVariants:{size:"small",color:"primary"}},cp={className:"select",description:"Styles for the select component",slots:["selectStyle","separator","selectPrefix","selectSuffix"],base:{separator:{width:1,height:24,background:"gray_60",flexShrink:0},selectPrefix:{paddingLeft:10,flexShrink:0},selectSuffix:{paddingRight:10,flexShrink:0},selectStyle:{width:"100%",minHeight:40,lineHeight:1.3,color:"gray_60",marginBottom:8,flexWrap:"nowrap",background:"#FFF",borderRadius:"4px",position:"relative",alignItems:"center",display:"inline-flex",letterSpacing:"normal",boxSizing:"border-box",fontSize:"small_regular",border:"1px solid {colors.gray_60}","&:focus-within":{borderRadius:4,background:"white",border:"1px solid {colors.blue_60}"}}},variants:{prefix:{true:{separator:{marginLeft:10}}},suffix:{true:{separator:{marginRight:10},selectPrefix:{paddingRight:10,flexShrink:0}}},removePrefixSpacing:{true:{separator:{marginLeft:0},selectPrefix:{padding:0}}},removeSuffixSpacing:{true:{separator:{marginRight:0},selectSuffix:{padding:0}}},inverse:{true:{selectStyle:{background:"white"}}},removeMargins:{true:{selectStyle:{margin:0}}},primary:{true:{selectStyle:{color:"blue_60",svg:{color:"blue_60"}}}},focusBorderless:{true:{selectStyle:{"&:focus-within":{borderWidth:0}}}},insidePrefix:{true:{selectStyle:{height:38}}},insideSuffix:{true:{selectStyle:{height:38}}},disabled:{true:{selectStyle:{background:"gray_20",border:"1px solid {colors.gray_20}",borderRadius:4,color:"gray_40","&::placeholder":{fontSize:"14px",color:"gray_20",lineHeight:"20px"}}}},invalid:{true:{selectStyle:{border:"1px solid {colors.alert_orange}",background:"orange_tint",borderRadius:4,"&:focus":{border:"1px solid {colors.alert_orange}",background:"orange_tint",borderRadius:4}}}},flat:{true:{selectStyle:{borderColor:"blue_20",background:"white"}}},floating:{true:{selectStyle:{borderColor:"white",background:"white"}}},small:{true:{selectStyle:{color:"gray_80",fontSize:"small_small",letterSpacing:"normal",lineHeight:1.4,height:32}}}}},dp={className:"separator",description:"Styles for the Separator component",base:{flexShrink:0,background:"gray_80"},variants:{orientation:{horizontal:{height:"1px",width:"100%"},vertical:{height:"100%",width:"1px"}},marginHorizontal:{micro:{margin:"4px 0"},small:{margin:"8px 0"},medium:{margin:"16px 0"},large:{margin:"32px 0"},xLarge:{margin:"64px 0"}},marginVertical:{micro:{margin:"0 4px"},small:{margin:"0 8px"},medium:{margin:"0 16px"},large:{margin:"0 32px"},xLarge:{margin:"0 64px"}}},defaultVariants:{orientation:"horizontal"}},fp={className:"switchRecipe",description:"Styles for the Switch component",slots:["root","thumb","container","content","label","subtitle"],base:{root:{all:"unset",width:"30px",height:"14px",marginTop:"5px",backgroundColor:"#a6a6a6",borderRadius:"10px",position:"relative",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",transition:"all ",_focusVisible:{outline:"2px solid transparent",outlineOffset:"2px",focusRingWidth:"2",focusRingColor:"ring",focusRingOffsetWidth:"2"},_disabled:{cursor:"not-allowed",pointerEvents:"none"},"&[data-state=checked]":{bg:"blue_60",_hover:{bg:"blue_80"},_disabled:{bg:"blue_40"}},"&[data-state=unchecked]":{bg:"gray_80",_hover:{bg:"gray_100"},_disabled:{bg:"gray_60"}}},thumb:{display:"block",width:"10px",height:"10px",backgroundColor:"white",borderRadius:"10px",transition:"transform 100ms",transform:"translateX(2px)",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(1.1875rem)"}},container:{display:"flex",alignItems:"flex-start",gap:"8px"},content:{display:"flex",flexDirection:"column"},label:{color:"#323232",fontFamily:"Poppins",fontSize:"14px",fontStyle:"normal",fontWeight:400,lineHeight:"20px"},subtitle:{color:"#a6a6a6",fontFamily:"Poppins",fontSize:"12px",fontStyle:"normal",fontWeight:"400",lineHeight:"16px"}}},pp={className:"tabsSlot",description:"Styles for the Tabs component",slots:["root","list","trigger","content"],base:{list:{flexShrink:0,display:"flex",borderBottom:"1px solid #F0F0F0"},trigger:{all:"unset",height:"45px",display:"flex",fontSize:"15px",color:"gray_80",padding:"0 12px",lineHeight:"1px",userSelect:"none",alignItems:"center",fontFamily:"inherit",backgroundColor:"white",justifyContent:"center","&:first-child":{borderTopLeftRadius:6},"&:last-child":{borderTopRightRadius:6},_hover:{backgroundColor:"blue_tint",color:"blue_60",cursor:"pointer"},_disabled:{opacity:.25,color:"gray_80",cursor:"not-allowed !important",textDecoration:"none",pointerEvents:"none"},'&[data-state="active"]':{color:"blue_60",boxShadow:"inset 0 -1px 0 0 currentColor, 0 1px 0 0 currentColor",_disabled:{opacity:.25,color:"blue_40",cursor:"not-allowed !important",textDecoration:"none",pointerEvents:"none"},_hover:{backgroundColor:"blue_tint",cursor:"pointer"}}},content:{flexGrow:1,padding:"1.25rem 0.25rem",backgroundColor:"white",borderBottomLeftRadius:"6px",borderBottomRightRadius:"6px",outline:"none"},root:{display:"flex",flexDirection:"column"}},variants:{btnIcon:{true:{trigger:{display:"flex",padding:"0px 20px",alignItems:"center",svg:{marginRight:"8px"}}}}}},gp={className:"tagRecipe",description:"Estilo base e variantes do componente Tag",base:{display:"inline-flex",background:"gray_100",alignItems:"center",margin:"0px 8px",padding:"4.4px 8px",width:"auto",color:"white"},variants:{shape:{rounded:{borderRadius:16},squared:{borderRadius:4}},border:{primary:{borderWidth:"1px",borderStyle:"solid",borderColor:"text.primary.blue"}},size:{default:{padding:"2px 6px",fontSize:10},large:{padding:"4px 12px",fontSize:12}},icon:{true:{gap:8}},color:{blue:{backgroundColor:"blue_60"},gray:{backgroundColor:"gray_100"},orange:{backgroundColor:"alert_orange"},red:{backgroundColor:"danger_red"},green:{backgroundColor:"green_success"},blueLight:{backgroundColor:"blue_tint",color:"blue_60",fill:"red !important"},grayLight:{backgroundColor:"gray_20",color:"gray_80",fill:"red !important"},orangeLight:{backgroundColor:"orange_tint",color:"alert_orange",fill:"red !important"},redLight:{backgroundColor:"red_tint",color:"danger_red"},greenLight:{backgroundColor:"green_tint",color:"green_success",fill:"red !important"}},noSpacing:{true:{margin:0}}},defaultVariants:{color:"blue",size:"default",shape:"rounded"}},vp={className:"title",description:"Styles for the Title component",slots:["titleStyle","titleHeader"],base:{titleStyle:{margin:0,display:"block",fontWeight:"bold",padding:"16px 0px",color:"grayDarker",lineHeight:"short",textAlign:"inherit",wordWrap:"break-word",letterSpacing:"normal",fontFamily:"Poppins"},titleHeader:{margin:0,padding:0,display:"flex",fontSize:"font_size_md",color:"inherit",alignItems:"center",lineHeight:"inherit",fontWeight:"inherit"}},variants:{color:{gray:{titleStyle:{color:"gray_0"}},gray30:{titleStyle:{color:"gray_40"}},gray60:{titleStyle:{color:"gray_60"}},gray80:{titleStyle:{color:"gray_80"}},inverse:{titleStyle:{color:"white"}},mono:{titleStyle:{true:{color:"black"}}},muted:{titleStyle:{true:{color:"gray_40"}}},negative:{titleStyle:{true:{color:"error"}}},primary:{titleStyle:{true:{color:"blue_80"}}},positive:{titleStyle:{true:{color:"green_success"}}},secondary:{titleStyle:{true:{color:"green_success"}}}},alternativeFont:{true:{titleStyle:{fontFamily:"Poppins"}}},fontMontserrat:{true:{titleStyle:{fontFamily:"Montserrat",fontFeatureSettings:"'pnum' on, 'lnum' on"}}},textAlign:{center:{titleStyle:{true:{textAlign:"center"}}},right:{titleStyle:{true:{textAlign:"right"}}},left:{titleStyle:{true:{textAlign:"left"}}}},level:{1:{titleStyle:{true:{fontSize:"font_size_2xl"}}},2:{titleStyle:{true:{fontSize:"font_size_xl"}}},3:{titleStyle:{true:{fontSize:"font_size_lg"}}},4:{titleStyle:{true:{fontSize:"small_title4"}}},5:{titleStyle:{true:{fontSize:"font_size_md"}}},6:{titleStyle:{true:{fontSize:"font_size_sm"}}}},fontWeight:{light:{titleStyle:{true:{fontWeight:"light"}}},regular:{titleStyle:{true:{fontWeight:"normal"}}}},lineHeight:{short:{titleStyle:{true:{lineHeight:"shorter"}}},tall:{titleStyle:{true:{lineHeight:"tall"}}}},noBottomSpacing:{true:{titleStyle:{paddingBottom:0}}},noTopSpacing:{true:{titleStyle:{paddingTop:0}}},noSpacing:{true:{titleStyle:{padding:0}}},truncate:{true:{titleStyle:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"inline-block",textOverflow:"ellipsis"},titleHeader:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"inline-block",textOverflow:"ellipsis"}}},inline:{true:{titleStyle:{display:"inline-block"}}},size:{micro:{titleHeader:{fontSize:"font_size_xs"}},small:{titleHeader:{fontSize:"font_size_sm"}},normal:{titleHeader:{fontSize:"font_size_md"}},medium:{titleHeader:{fontSize:"font_size_lg"}},large:{titleHeader:{fontSize:"font_size_xl"}},xLarge:{titleHeader:{fontSize:"font_size_2xl"}}},block:{true:{titleHeader:{display:"block"}}},flex:{true:{titleHeader:{display:"flex"}}}}},mp={className:"tooltip",description:"Styles for the Tooltip component",slots:["root","trigger","content","arrow"],base:{content:{zIndex:50,overflow:"hidden",rounded:"4px",bg:"surface.strong.gray",padding:"4px 10px",py:"1.5",textStyle:"sm",color:"white",shadow:"md",animateIn:!0,fadeIn:0,zoomIn:95,"&[data-state=closed]":{animateOut:!0,fadeOut:0,zoomOut:95},"&[data-side=top]":{slideInFromBottom:"2"},"&[data-side=bottom]":{slideInFromTop:"2"},"&[data-side=left]":{slideInFromRight:"2"},"&[data-side=right]":{slideInFromLeft:"2"}},arrow:{fill:"surface.strong.gray"}}},hp={className:"visibility",description:"Styles for the Visibility component",slots:["container"],base:{container:{display:"block"}},variants:{hidden:{true:{container:{display:"none"}}}}},bp={className:"wrapper",description:"Estilo base e variantes do componente Wrapper",base:{boxSizing:"border-box",width:"100%",paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem","@large":{paddingInlineStart:"4rem",paddingInlineEnd:"4rem"}},variants:{container:{true:{marginInlineStart:"auto",marginInlineEnd:"auto",alignSelf:"center"}},size:{default:{maxWidth:"1440px"},micro:{maxWidth:"800px"},small:{maxWidth:"1200px"},large:{maxWidth:"1800px"}},fullHeight:{true:{height:"100vh"}},gray:{true:{backgroundColor:"gray_20"}},spacing:{large:{paddingInlineStart:"3rem",paddingInlineEnd:"3rem","@large":{paddingInlineStart:"6rem",paddingInlineEnd:"6rem"}},small:{paddingInlineStart:"1rem",paddingInlineEnd:"1rem","@large":{paddingInlineStart:"3rem",paddingInlineEnd:"3rem"}},micro:{paddingInlineStart:"0.5rem",paddingInlineEnd:"0.5rem","@large":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem"}},none:{padding:0,"@large":{padding:0}}},verticalSpacing:{large:{paddingBlockStart:"5rem",paddingBlockEnd:"5rem"},small:{paddingBlockStart:"1rem",paddingBlockEnd:"1rem"},micro:{paddingBlockStart:"8px",paddingBlockEnd:"8px"},default:{paddingBlockStart:"2.5rem",paddingBlockEnd:"2.5rem"}},relative:{true:{position:"relative"}}},defaultVariants:{size:"default",spacing:"none",verticalSpacing:"default"}},yp={transform(e){return{"@media (max-width: 743px)":{width:`${e/12*100}%`}}}},Cp={transform(e){return{"@media (max-width: 1127px)":{width:`${e/12*100}%`}}}},xp={transform(e){return{"@media (min-width: 1127px)":{width:`${e/12*100}%`}}}},Ip={transform(e){return{"@media (min-width: 1439px)":{width:`${e/12*100}%`}}}},wp={className:"text-recipe",base:{margin:0,padding:0,display:"block",fontFamily:"Poppins",fontWeight:"normal",wordWrap:"break-word",letterSpacing:"normal",fontSize:"font_size_md",color:"text.primary.gray",fontVariantNumeric:"lining-nums proportional-nums"},variants:{textAlign:{right:{textAlign:"right"},center:{textAlign:"center"},left:{textAlign:"left"}},textDecoration:{underline:{textDecoration:"underline"}},fontMontserrat:{true:{fontFamily:"Montserrat",fontFeatureSettings:"'pnum' on, 'lnum' on"}},error:{true:{color:"text.primary.red",fontFamily:"Montserrat",fontSize:"font_size_sm",fontStyle:"normal",fontWeight:"500",lineHeight:"16px"}},size:{xxLarge:{fontSize:"font_size_2xl"},xLarge:{fontSize:"font_size_xl"},large:{fontSize:"font_size_lg"},regular:{fontSize:"font_size_md"},medium:{fontSize:"font_size_md_sm"},small:{fontSize:"font_size_sm"},micro:{fontSize:"font_size_xs"}},fontWeight:{bold:{fontWeight:"bold"},light:{fontWeight:"light"},semibold:{fontWeight:"semibold"}},color:{mono:{color:"black"},gray:{color:"gray_80"},inverse:{color:"white"},light:{color:"gray_60"},muted:{color:"gray_40"},secondary:{color:"text.secondary.gray"},primary:{color:"text.primary.gray"},positive:{color:"green_success"}},lineHeight:{tall:{lineHeight:"tall"},short:{lineHeight:"short"}},inline:{true:{display:"inline-block"}},nowrap:{true:{whiteSpace:"nowrap",width:"100%"}},disabled:{true:{opacity:.5}},collapsed:{true:{lineClamp:1,WebkitLineClamp:1,overflow:"hidden",display:"-webkit-box",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"}},header:{true:{margin:0,padding:0,display:"flex",fontSize:"1rem",color:"inherit",alignItems:"center",lineHeight:"inherit",fontWeight:"inherit"}}},defaultVariants:{size:"regular",color:"gray"}},Sp=br.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#0a0a0a"},white:{value:"#fefefe"},pantone_black_6c:{value:"#000023"},pantone_2369_c:{value:"#461CDC"},pantone_2286_C:{value:"#6BFF50"},pantone_421_U:{value:"#BFBFBF"},pantone_cool_gray_2_u:{value:"#F2F2F2"},pantone_000_C:{value:"#FFFFFF"},gray_0:{value:"{colors.pantone_000_C}"},gray_20:{value:"#F7F7F7"},gray_40:{value:"{colors.pantone_cool_gray_2_u}"},gray_60:{value:"{colors.pantone_421_U}"},gray_80:{value:"#808080"},gray_100:{value:"#404040"},grayDarkest:{value:"#202020"},grayLighter:{value:"#FAFAFD"},blue_0:{value:"#F2F6FF"},blue_20:{value:"#E0E8FF"},blue_40:{value:"#A3B8FF"},blue_60:{value:"{colors.pantone_2369_c}"},blue_80:{value:"#1C1C7A"},blue_100:{value:"{colors.pantone_black_6c}"},danger_red:{value:"#F45D4D"},alert_orange:{value:"#FF9800"},green_success:{value:"#34A853"},blue_informative:{value:"{colors.blue_60}"},red_tint:{value:"#FDF3F2"},blue_tint:{value:"#F2F6FF"},green_tint:{value:"#E9FFE7"},orange_tint:{value:"#FFF9E4"},sky_cyan:{value:"#00ACC1"},soft_blue:{value:"#6A5FFF"},blush_pink:{value:"#FF8FB1"},deep_purple:{value:"#8E24AA"},warm_yellow:{value:"#FFCA28"},earth_brown:{value:"#795548"},charcoal_gray:{value:"#616161"},crimson_red:{value:"{colors.danger_red}"},lime_green:{value:"{colors.pantone_2286_C}"},forest_green:{value:"{colors.green_success}"},vibrant_orange:{value:"{colors.alert_orange}"},indigo_blue:{value:"{colors.blue_informative}"},complementary_background:{value:"{colors.pantone_421_U}"},interactive_hover:{value:"{colors.pantone_cool_gray_2_u} "},shadow:{value:"rgba(0, 0, 0, .2)"},shadowWeakest:{value:"rgba(0, 0, 0, .035)"},shadowWeaker:{value:"rgba(0, 0, 0, .055)"},shadowWeak:{value:"rgba(0, 0, 0, .1)"},shadowStrong:{value:"rgba(0, 0, 0, .3)"},shadowStronger:{value:"rgba(0, 0, 0, .5)"},shadowStrongest:{value:"rgba(0, 0, 0, .7)"},fog:{value:"rgba(255, 255, 255, .2)"},fogWeakest:{value:"rgba(255, 255, 255, .075)"},fogWeaker:{value:"rgba(255, 255, 255, .1)"},fogWeak:{value:"rgba(255, 255, 255, .15)"},fogStrong:{value:"rgba(255, 255, 255, .3)"},fogStronger:{value:"rgba(255, 255, 255, .5)"},fogStrongest:{value:"rgba(255, 255, 255, .7)"},error:{value:"#FF594C"}}),Ap=k0.colors({text:{primary:{blue:{value:"{colors.blue_60}"},gray:{value:"{colors.gray_100}"},white:{value:"{colors.gray_0}"}},secondary:{gray:{value:"{colors.gray_80}"},orange:{value:"{colors.alert_orange}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"}}},border:{gray:{light:{value:"{colors.gray_60} "},lighter:{value:"{colors.gray_40} "}},blue:{DEFAULT:{value:"{colors.blue_60}"}}},surface:{strong:{blue:{value:"{colors.blue_60}"},gray:{value:"{colors.gray_100}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"},orange:{value:"{colors.alert_orange}"}},light:{gray:{value:"{colors.gray_20}"},red:{value:"{colors.red_tint}"},white:{value:"{colors.gray_0}"},blue:{value:"{colors.blue_tint}"},green:{value:"{colors.green_tint}"},orange:{value:"{colors.orange_tint}"},blue_moderate:{value:"{colors.blue_20}"}}},icon:{gray:{value:"{colors.gray_80}"},blue:{value:"{colors.blue_60}"},white:{value:"{colors.gray_0}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"},orange:{value:"{colors.alert_orange}"}}}),Ep=br.fontSizes({small_title1:{value:"32px"},small_title2:{value:"26px"},small_title3:{value:"21px"},small_title4:{value:"18px"},small_title5:{value:"16px"},small_title6:{value:"14px"},small_large:{value:"18px"},small_regular:{value:"16px"},small_small:{value:"14px"},small_micro:{value:"12px"},large_title1:{value:"34px"},large_title2:{value:"29px"},large_title3:{value:"23px"},large_title4:{value:"24px"},large_title5:{value:"16px"},large_title6:{value:"14px"},large_large:{value:"18px"},large_regular:{value:"16px"},large_small:{value:"14px"},large_micro:{value:"12px"},font_size_xs:{value:"10px"},font_size_sm:{value:"12px"},font_size_md_sm:{value:"14px"},font_size_md:{value:"16px"},font_size_lg:{value:"20px"},font_size_xl:{value:"24px"},font_size_2xl:{value:"32px"}}),Rp=br.fontWeights({bold:{value:600},light:{value:300},normal:{value:400},semibold:{value:500}}),Op={shimmer:{"0%":{opacity:1},"50%":{opacity:.5},"100% ":{opacity:1}},slideUp:{from:{height:"45px"},to:{height:0}},bounce:{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1.0)"}},slideLeftAndFade:{"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}},slideDownAndFade:{"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}},slideRightAndFade:{"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}},slideUpAndFade:{"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}},slideDown:{from:{height:0},to:{height:"45px"}},slideDownJsonEditor:{from:{height:0},to:{height:"610px"}},slideUpJsonEditor:{from:{height:"610px"},to:{height:0}},overlayShow:{"0%":{opacity:0},"100%":{opacity:1}},contentShow:{"0%":{opacity:0,transform:"translate(-50%, -48%) scale(.96)"},"100%":{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}},_p=br.lineHeights({regular:{value:1.4},short:{value:1.125},shorter:{value:1},tall:{value:1.6}}),Pp=br.spacing({gutter_small_micro_top:{value:"4px"},gutter_small_micro_right:{value:"4px"},gutter_small_micro_bottom:{value:"4px"},gutter_small_micro_left:{value:"4px"},gutter_small_small_top:{value:"8px"},gutter_small_small_right:{value:"8px"},gutter_small_small_bottom:{value:"8px"},gutter_small_small_left:{value:"8px"},gutter_small_regular_top:{value:"16px"},gutter_small_regular_right:{value:"16px"},gutter_small_regular_bottom:{value:"16px"},gutter_small_regular_left:{value:"16px"},gutter_small_large_top:{value:"16px"},gutter_small_large_right:{value:"16px"},gutter_small_large_bottom:{value:"16px"},gutter_small_large_left:{value:"16px"},gutter_medium_micro_top:{value:"4px"},gutter_medium_micro_right:{value:"4px"},gutter_medium_micro_bottom:{value:"4px"},gutter_medium_micro_left:{value:"4px"},gutter_medium_small_top:{value:"8px"},gutter_medium_small_right:{value:"8px"},gutter_medium_small_bottom:{value:"8px"},gutter_medium_small_left:{value:"8px"},gutter_medium_regular_top:{value:"8px"},gutter_medium_regular_right:{value:"8px"},gutter_medium_regular_bottom:{value:"8px"},gutter_medium_regular_left:{value:"8px"},gutter_medium_large_top:{value:"16px"},gutter_medium_large_right:{value:"16px"},gutter_medium_large_bottom:{value:"16px"},gutter_medium_large_left:{value:"16px"},gutter_large_small_right:{value:"8px"},gutter_large_small_left:{value:"8px"},gutter_large_small_top:{value:"8px"},gutter_large_small_bottom:{value:"8px"},gutter_large_micro_top:{value:"4px"},gutter_large_micro_right:{value:"4px"},gutter_large_micro_bottom:{value:"4px"},gutter_large_micro_left:{value:"4px"},gutter_large_small:{value:"8px"},gutter_large_regular_top:{value:"8px"},gutter_large_regular_right:{value:"8px"},gutter_large_regular_bottom:{value:"8px"},gutter_large_regular_left:{value:"8px"},gutter_large_large_top:{value:"16px"},gutter_large_large_right:{value:"16px"},gutter_large_large_bottom:{value:"16px"},gutter_large_large_left:{value:"16px"},gutter_xlarge_micro_top:{value:"4px"},gutter_xlarge_micro_right:{value:"4px"},gutter_xlarge_micro_bottom:{value:"4px"},gutter_xlarge_micro_left:{value:"4px"},gutter_xlarge_small_top:{value:"8px"},gutter_xlarge_small_right:{value:"8px"},gutter_xlarge_small_bottom:{value:"8px"},gutter_xlarge_small_left:{value:"8px"},gutter_xlarge_regular_top:{value:"16px"},gutter_xlarge_regular_right:{value:"16px"},gutter_xlarge_regular_bottom:{value:"16px"},gutter_xlarge_regular_left:{value:"16px"},gutter_xlarge_large_top:{value:"16px"},gutter_xlarge_large_right:{value:"16px"},gutter_xlarge_large_bottom:{value:"16px"},gutter_xlarge_large_left:{value:"16px"}}),Tp={name:"auroraPreset",utilities:{extend:{small:yp,large:xp,medium:Cp,xlarge:Ip}},staticCss:{css:[{properties:{large:[1,2,3,4,5,6,7,8,9,10,11,12],medium:[1,2,3,4,5,6,7,8,9,10,11,12],small:[1,2,3,4,5,6,7,8,9,10,11,12],xlarge:[1,2,3,4,5,6,7,8,9,10,11,12]}}]},globalVars:{"--font-poppins":"Poppins, sans-serif","--font-montserrat":"Montserrat Variable, monospace"},theme:{semanticTokens:{colors:Ap},extend:{breakpoints:{sm:"640px",md:"1127px",lg:"1024px",xl:"1280px","2xl":"1536px"},recipes:{tagRecipe:gp,textRecipe:wp,icon:ap,block:Y0,clickableRecipe:K0,loader:sp,separator:dp,anchor:Z0,cell:U0,blanketRecipe:$0,wrapperRecipe:bp},slotRecipes:{visibilitySlot:hp,avatar:X0,tooltip:mp,dialog:ep,drawerSlot:tp,flatButtonSlot:np,gridSlot:ip,tabsSlot:pp,switchSlot:fp,accordionSlot:H0,input:up,formElement:op,dropdown:rp,select:cp,avatarGroup:z0,boxGroupSlot:q0,checkBoxSlot:Q0,button:J0,labelSlot:lp,titleSlot:vp},keyframes:Op,tokens:{colors:Sp,spacing:Pp,fontSizes:Ep,fontWeights:Rp,lineHeights:_p,fonts:{Montserrat:{value:"var(--font-montserrat)"},Poppins:{value:"var(--font-poppins)"}}}}}};var Mp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),r}var fa={exports:{}},ir={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),Q=require("./cq-CQJHxqbP.cjs"),St=require("react-dom");function c1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const A=c1(B),d1=c1(St);function f1(){const e=t=>t;return new Proxy(e,{get(){return e}})}var br=f1(),k0=f1();const H0={className:"accordion",description:"Styles for the Accordion component",slots:["root","item","header","trigger","content"],base:{item:{overflow:"hidden",marginTop:1,"&:first-child":{marginTop:0,borderTopLeftRadius:"4px",borderTopRightRadius:"4px"},"&:last-child":{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},"&:focus-within":{position:"relative",zIndex:1}},header:{borderBottom:"1px solid #F0F0F0",all:"unset",display:"flex",transition:"all 0.25s",_hover:{background:"gray_20"}},trigger:{flex:1,all:"unset",width:"100%",color:"black",height:"44px",display:"flex",fontSize:"14px",cursor:"pointer",padding:"0 20px",fontWeight:"500",lineHeight:"20px",fontFamily:"Poppins",fontStyle:"normal",position:"relative",alignItems:"center",justifyContent:"space-between"},content:{overflow:"hidden",backgroundColor:"white",padding:"8px 20px",color:"gray_60",fontFamily:"Poppins",fontSize:"14px",fontStyle:"normal",fontWeight:"500",position:"relative",'&[data-state="open"]':{animation:"slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)"},'&[data-state="closed"]':{animation:"slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)"}},root:{borderRadius:"4px",width:"100%",backgroundColor:"white"}}},Z0={className:"Anchor",description:"Estilo base e variantes do componente Anchor",base:{color:"blue_80",cursor:"pointer",textDecoration:"none",_disabled:{opacity:.5,cursor:"not-allowed",textDecoration:"none",pointerEvents:"none"}},variants:{underlined:{true:{_hover:{textDecoration:"underline"}}},disabled:{true:{opacity:.5,cursor:"not-allowed",textDecoration:"none",pointerEvents:"none"}}}},X0={className:"avatar",description:"Styles for the Avatar component",slots:["root","image","fallback"],base:{root:{width:45,height:45,overflow:"hidden",userSelect:"none",alignItems:"center",borderRadius:"100%",display:"inline-flex",verticalAlign:"middle",justifyContent:"center",backgroundColor:"gray_80"},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"inherit"},fallback:{color:"text.primary.blue",width:"100%",lineHeight:1,height:"100%",display:"flex",fontWeight:500,fontSize:"15px",alignItems:"center",justifyContent:"center",backgroundColor:"gray_60"}},variants:{inline:{true:{root:{display:"inline-block"}}},size:{micro:{root:{width:"22.5px",height:"22.5px"}},small:{root:{width:"37.5px",height:"37.5px"}},medium:{root:{width:"32.5px",height:"32.5px"}},large:{root:{width:"75px",height:"75px"}}},shape:{default:{root:{borderRadius:"50%"}},square:{root:{borderRadius:"0.25rem"}}}}},z0={className:"avatarGroup",description:"Styles for the AvatarGroup component",slots:["container","avatarStyle","othersStyle"],base:{container:{display:"flex",alignItems:"center",position:"relateive"},othersStyle:{borderRadius:"0.25px",cursor:"pointer",marginLeft:"12px"},avatarStyle:{borderRadius:"50%",marginLeft:"-15px",backgroundColor:"gray_60",boxShadow:"3px 3px 3px -1px #d3d3d3","&:nth-child(1)":{marginLeft:0}}},variants:{square:{true:{avatarStyle:{borderRadius:0}}}}},$0={className:"blanket",description:"Estilo base e variantes do componente blanket",base:{top:0,left:0,right:0,bottom:0,zIndex:99,width:"100%",opacity:.75,height:"100%",background:"white",transition:"opacity 300ms ease-out"},variants:{position:{absolute:{position:"absolute"},fixed:{position:"fixed"}},global:{true:{zIndex:101}},primary:{true:{background:"blue_60"}},entering:{true:{opacity:.85,background:"grayDarkest",transition:"opacity 300ms ease-out"}},exiting:{true:{opacity:.01,transition:"opacity 300ms ease-out"}}},defaultVariants:{position:"fixed",entering:!0}},Y0={className:"Block",description:"Estilo base e variantes do componente Block",base:{borderRadius:"4px",padding:"1rem"},variants:{background:{white:{background:"white"},gray:{background:"gray_20"},blue:{background:"blue_60"},lightBlue:{background:"blue_tint"},transparent:{background:"transparent"}},border:{noBorder:{border:"none"},gray:{border:"1px solid {colors.gray_60}"},blue:{border:"1px solid {colors.blue_60}"},borderTop:{borderTop:"1px solid {colors.gray_60}"}},alignItems:{center:{gap:"8px",display:"flex",alignItems:"center"},end:{gap:"8px",display:"flex",alignItems:"flex-end"},start:{gap:"8px",display:"flex",alignItems:"flex-start"},baseline:{gap:"8px",display:"flex",alignItems:"baseline"},stretch:{gap:"8px",display:"flex",alignItems:"stretch"}},padding:{noVerticalPadding:{paddingTop:"0px",paddingBottom:"0px"},noPadding:{padding:0},largePadding:{padding:"2rem"},microPadding:{padding:"0.5rem"},smallPadding:{padding:"1rem"}},relative:{true:{position:"relative"}},fullWidth:{true:{width:"100%"}},justifyContent:{justifyCenter:{gap:"8px",display:"flex",justifyContent:"center"},justifyEnd:{gap:"8px",display:"flex",justifyContent:"flex-end"},justifyStart:{gap:"8px",display:"flex",justifyContent:"flex-start"}},direction:{row:{flexDirection:"row"},column:{flexDirection:"column"}},fullHeight:{true:{height:"100%"}},radius:{true:{borderRadius:6},false:{borderRadius:0}}},defaultVariants:{background:"white",border:"gray"}},q0={className:"boxGroup",description:"Styles for the boxGroup component",slots:["boxStyle","rowStyle","container","others","subItens"],base:{boxStyle:{backgroundColor:"blue_60",borderRadius:"4px",margin:"4px 16px",width:"fit-content",cursor:"default"},rowStyle:{display:"flex",overflowY:"auto",flexDirection:"column",flexWrap:"wrap"},container:{display:"flex",alignItems:"center"},others:{borderRadius:3,cursor:"pointer",marginLeft:"12px"},subItens:{display:"flex"}},variants:{size:{micro:{boxStyle:{padding:"6px"}},small:{boxStyle:{padding:"8px"}},medium:{boxStyle:{padding:"10px"}},large:{boxStyle:{padding:"12px"}}}},defaultVariants:{size:"medium"}},J0={className:"button",description:"Estilo base e variantes do componente Button",slots:["buttonStyle","wrapperShimmer","contentStyle","buttonLoader"],base:{buttonStyle:{outline:0,borderWidth:0,textAlign:"center",appearance:"none",display:"inline-flex",justifyContent:"center",margin:"0px 2px 8px 2px",borderRadius:4,fontFamily:"Poppins",fontWeight:"500",position:"relative",cursor:"pointer",boxSizing:"border-box",overflow:"hidden",flexShrink:0,transition:"all 0.2s ease-in-out",_disabled:{opacity:.5,pointerEvents:"none"}},wrapperShimmer:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0},contentStyle:{opacity:1,display:"flex",userSelect:"none",alignItems:"center",whiteSpace:"nowrap",transition:"opacity .2s",justifyContent:"flex-start"},buttonLoader:{top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",position:"absolute",justifyContent:"center"}},variants:{style:{solid:{buttonStyle:{backgroundColor:"surface.strong.blue",color:"white",_hover:{backgroundColor:"blue_80"},_active:{backgroundColor:"blue_100"},_disabled:{backgroundColor:"blue_40"}}},outline:{buttonStyle:{color:"text.primary.blue",border:"1px solid {colors.border.blue}",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{border:"1px solid {colors.blue_40}"}}},ghost:{buttonStyle:{color:"text.primary.blue",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},soft:{buttonStyle:{background:"surface.light.blue_moderate",color:"text.primary.blue",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},dashed:{buttonStyle:{color:"blue_60",border:"1px dashed {colors.blue_60}",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{opacity:.5,pointerEvents:"none"}}},shade:{buttonStyle:{backgroundColor:"shadowWeakest",color:"gray_80","& svg":{"& path":{fill:"gray_80"}},_hover:{backgroundColor:"shadowWeaker"},_active:{backgroundColor:"shadowWeak"}}},error:{buttonStyle:{backgroundColor:"red_tint",border:"1px solid {colors.danger_red}",color:"text.secondary.red",_hover:{backgroundColor:"none"},_active:{backgroundColor:"danger_red",color:"white"}}},mono:{buttonStyle:{border:"1px solid {colors.gray_60}",color:"gray_60",_hover:{backgroundColor:"none"},_active:{backgroundColor:"gray_20"}}},danger:{buttonStyle:{backgroundColor:"danger_red",color:"white",transition:"0.2s all",_hover:{backgroundColor:"danger_red"},_active:{backgroundColor:"danger_red"}}},gradient:{buttonStyle:{border:"1px solid transparent",color:"blue_60",backgroundImage:"linear-gradient(white, white), radial-gradient(circle at top left, rgb(0, 34, 255) 26%, rgb(0, 221, 238) 68%)",backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",_hover:{backgroundColor:"surface.light.blue"},_active:{backgroundColor:"surface.light.blue_moderate"},_disabled:{border:"1px solid blue_40"}}}},rightIcon:{true:{buttonStyle:{gap:"8px"},contentStyle:{gap:"8px"}}},leftIcon:{true:{buttonStyle:{gap:"8px"},contentStyle:{gap:"8px"}}},grouped:{grouped:{buttonStyle:{margin:"0 0.5px"}},groupedFirst:{buttonStyle:{borderRadius:"3px 0 0 3px",marginLeft:0}},groupedLast:{buttonStyle:{borderRadius:"0 3px 3px 0",marginRight:0}}},size:{large:{buttonStyle:{padding:"8px 12px",fontSize:"14px",gap:10}},medium:{buttonStyle:{padding:"6px 10px",fontSize:"12px",gap:8}},small:{buttonStyle:{padding:"4px 8px",fontSize:"12px",gap:6}}},shape:{rectangular:{buttonStyle:{borderRadius:0}},noBorder:{buttonStyle:{border:"none",borderWidth:0}},rounded:{buttonStyle:{borderRadius:"22px"}},regular:{buttonStyle:{borderRadius:4}}},spacing:{noSpacing:{buttonStyle:{marginBottom:0}},removeSideSpacing:{buttonStyle:{marginLeft:0,marginRight:0}}},fullWidth:{true:{buttonStyle:{width:"100%"}}},loading:{true:{buttonStyle:{opacity:"1px",pointerEvents:"none"}}},block:{true:{buttonStyle:{width:"100%",textAlign:"left",margin:0}}},compact:{true:{buttonStyle:{paddingRight:"12px",paddingLeft:"12px"}}},short:{true:{buttonStyle:{height:"2rem"}}},tall:{true:{buttonStyle:{height:"3rem"}}},underlined:{true:{buttonStyle:{textDecoration:"underline"}}},contentLoading:{true:{contentStyle:{opacity:0}}},contentFullWidth:{true:{contentStyle:{justifyContent:"center"}}}},defaultVariants:{style:"solid",size:"medium"}},U0={className:"Cell",description:"Estilo base e variantes do componente Cell",base:{paddingLeft:"gutter_small_regular_left",paddingRight:"gutter_small_regular_right",boxSizing:"border-box",md:{paddingLeft:"gutter_medium_regular_left",paddingRight:"gutter_medium_regular_right"},lg:{paddingLeft:"gutter_large_regular_left",paddingRight:"gutter_large_regular_right"},sm:{paddingLeft:"gutter_small_regular_left",paddingRight:"gutter_small_regular_right"},xl:{paddingLeft:"gutter_xlarge_regular_left",paddingRight:"gutter_xlarge_regular_right"}},variants:{fullHeight:{true:{height:"100%"}},fullHeightOnMedium:{true:{md:{height:"100%"}}},fullHeightOnLarge:{true:{lg:{height:"100%"}}},fullHeightOnXlarge:{true:{xl:{height:"100%"}}},microSpacing:{true:{paddingLeft:"gutter_small_micro_left",paddingRight:"gutter_small_micro_right",md:{paddingLeft:"gutter_medium_micro_left",paddingRight:"gutter_medium_micro_right"},lg:{paddingLeft:"gutter_large_micro_left",paddingRight:"gutter_large_micro_right"},xl:{paddingLeft:"gutter_xlarge_micro_left",paddingRight:"gutter_xlarge_micro_right"}}},smallPadding:{true:{paddingLeft:"gutter_small_small_left",paddingRight:"gutter_small_small_right",md:{paddingLeft:"gutter_medium_small_left",paddingRight:"gutter_medium_small_right"},lg:{paddingLeft:"gutter_large_small_left",paddingRight:"gutter_large_small_right"},xl:{paddingLeft:"gutter_xlarge_small_left",paddingRight:"gutter_xlarge_small_right"}}},largeSpacing:{true:{paddingLeft:"gutter_small_large_left",paddingRight:"gutter_small_large_right",md:{paddingLeft:"gutter_medium_large_left",paddingRight:"gutter_medium_large_right"},lg:{paddingLeft:"gutter_medium_large_left",paddingRight:"gutter_large_large_right"},xl:{paddingLeft:"gutter_xlarge_large_left",paddingRight:"gutter_xlarge_large_right"}}},verticalSpacing:{true:{paddingTop:"gutter_small_regular_top",paddingBottom:"gutter_small_regular_bottom",md:{paddingTop:"gutter_medium_regular_top",paddingBottom:"gutter_medium_regular_bottom"},lg:{paddingTop:"gutter_large_regular_top",paddingBottom:"gutter_large_regular_bottom"},xl:{paddingTop:"gutter_xlarge_regular_top",paddingBottom:"gutter_xlarge_regular_bottom"}}},microVerticalSpacing:{true:{paddingTop:"gutter_small_micro_top",paddingBottom:"gutter_small_micro_bottom",md:{paddingTop:"gutter_medium_micro_top",paddingBottom:"gutter_medium_micro_bottom"},lg:{paddingTop:"gutter_large_micro_top",paddingBottom:"gutter_large_micro_bottom"},xl:{paddingTop:"gutter_xlarge_micro_top",paddingBottom:"gutter_xlarge_micro_bottom"}}},smallVerticalSpacing:{true:{paddingTop:"gutter_small_small_top",paddingBottom:"gutter_small_small_bottom",md:{paddingTop:"gutter_medium_small_top",paddingBottom:"gutter_medium_small_bottom"},lg:{paddingTop:"gutter_large_small_top",paddingBottom:"gutter_large_small_bottom"},xl:{paddingTop:"gutter_xlarge_small_top",paddingBottom:"gutter_xlarge_small_bottom"}}},largeVerticalSpacing:{true:{paddingTop:"gutter_small_large_top",paddingBottom:"gutter_small_large_bottom",md:{paddingTop:"gutter_medium_large_top",paddingBottom:"gutter_medium_large_bottom"},lg:{paddingTop:"gutter_large_large_top",paddingBottom:"gutter_large_large_bottom"},xl:{paddingTop:"gutter_xlarge_large_top",paddingBottom:"gutter_xlarge_large_bottom"}}},noSpacing:{true:{padding:0,md:{padding:0},lg:{padding:0},xl:{padding:0}}},auto:{true:{flex:"1 1 0",width:"auto"}},autoOnMedium:{true:{md:{flex:"1 1 0",width:"auto"}}},autoOnLarge:{true:{lg:{flex:"1 1 0",width:"auto"}}},autoOnXlarge:{true:{xl:{flex:"1 1 0",width:"auto"}}},shrink:{true:{flex:"0 0 auto",width:"auto"}},shrinkOnMedium:{true:{md:{flex:"0 0 auto",width:"auto"}}},shrinkOnLarge:{true:{lg:{flex:"0 0 auto",width:"auto"}}},shrinkOnXlarge:{true:{xl:{flex:"0 0 auto",width:"auto"}}},fit:{true:{flex:"0 1 auto",width:"auto"}},fitOnMedium:{true:{md:{flex:"0 1 auto",width:"auto"}}},fitOnLarge:{true:{lg:{flex:"0 1 auto",width:"auto"}}},fitOnXlarge:{true:{xl:{flex:"0 1 auto",width:"auto"}}},grow:{true:{flex:"1 0 auto",width:"auto"}},growOnMedium:{true:{md:{flex:"1 0 auto",width:"auto"}}},growOnLarge:{true:{lg:{flex:"1 0 auto",width:"auto"}}},growOnXlarge:{true:{xl:{flex:"1 0 auto",width:"auto"}}},scroll:{true:{overflow:"auto"}},relative:{true:{position:"relative"}}}},Q0={className:"CheckBox",description:"Styles for the CheckBox component",slots:["containerCheckOnly","checkboxStyle","checkboxInput","markContainer","checkMark","checkMarkIcon","columnStyles","subtitle","checkboxLabel"],base:{containerCheckOnly:{marginTop:"2px",cursor:"pointer",overflow:"hidden",position:"relative",display:"inline-block",borderRadius:"4px","&:focus-within":{boxShadow:"0 0 2px secondary"}},checkboxStyle:{width:"18px",height:"18px",background:"white",textAlign:"center",border:"1px solid {colors.gray_60}",borderRadius:"0.25rem",boxSizing:"border-box"},checkboxInput:{top:0,left:0,right:0,margin:0,bottom:0,padding:0,opacity:0,width:"100%",height:"100%",position:"absolute","&:focus + [data-fake-checkbox]":{zIndex:1,border:"1px solid {colors.blue_40}",boxSizing:"border-box"}},markContainer:{display:"flex",position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0,alignItems:"center",justifyContent:"center",borderRadius:"0.25rem"},checkMark:{background:"blue_60",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},checkMarkIcon:{fill:"white",width:"60%"},columnStyles:{display:"table-cell",verticalAlign:"top"},subtitle:{paddingTop:2},checkboxLabel:{color:"gray_80",cursor:"pointer",display:"inline-block",wordWrap:"break-word",letterSpacing:"normal",fontSize:"16px",lineHeight:"normal",lg:{fontSize:"16px"}}},variants:{disabled:{true:{checkboxStyle:{background:"gray_20",border:"1px solid {colors.gray_40}",borderRadius:"0.25rem"}}},invalid:{true:{checkboxStyle:{background:"alert_red",border:"1px solid {colors.alert_orange}",borderRadius:"0.25rem"}}},pullRight:{true:{columnStyles:{float:"right"}}},spacing:{true:{columnStyles:{paddingLeft:"12px"}}},marginRight:{true:{columnStyles:{marginRight:"32px"}}},subtitle:{true:{columnStyles:{paddingTop:"2px"}}},columnTextBreak:{true:{columnStyles:{whiteSpace:"normal"}}},columnTextNoBreak:{true:{columnStyles:{whiteSpace:"nowrap"}}}}},K0={className:"clickable",description:"Estilo base e variantes do componente Clickable",base:{cursor:"pointer",borderRadius:"0.25rem",_hover:{backgroundColor:"shadowWeakest"},_active:{backgroundColor:"shadowWeaker"}},variants:{disabled:{true:{pointerEvents:"none",opacity:.5}},inverse:{true:{_hover:{backgroundColor:"fogWeakest"},_active:{backgroundColor:"fogWeaker"}}},rectangular:{true:{borderRadius:0}}}},ep={className:"dialog",description:"Styles for the Dialog component",slots:["root","close","title","portal","header","footer","trigger","overlay","content","description"],base:{overlay:{inset:"0",zIndex:50,position:"fixed",backdropBlur:"4px",bg:"shadowStronger",animation:"overlayShow 0.85s cubic-bezier(0.16, 1, 0.3, 1)"},close:{top:16,right:16,opacity:"0.7",cursor:"pointer",position:"absolute",transition:"opacity",borderRadius:"50%",background:"gray_40",boxShadow:" 0px 2px 8px 0px rgba(0, 0, 0, 0.15)",_hover:{opacity:"1"},_focus:{outline:"2px solid {colors.transparent}",outlineOffset:"2px",focusRingWidth:"2",focusRingColor:"ring",focusRingOffsetWidth:"2"},_disabled:{pointerEvents:"none"}},content:{top:"50%",zIndex:50,left:"50%",position:"fixed",background:"white",boxSizing:"border-box",width:"calc(100% - 30px)",transform:"translate(-50%, -50%)",border:"1px solid {colors.gray_60}",animation:"contentShow 0.85s cubic-bezier(0.16, 1, 0.3, 1)"},header:{display:"flex",textAlign:"center",flexDirection:"column"},footer:{display:"flex",flexDirection:"column-reverse"},title:{border:"1px solid transparent"},description:{textStyle:"sm",border:"1px solid",marginTop:"16px",color:"muted"}},variants:{size:{default:{content:{maxWidth:450}},medium:{content:{maxWidth:600}},micro:{content:{maxWidth:270}},small:{content:{maxWidth:360}},large:{content:{maxWidth:960}},xlarge:{content:{maxWidth:1440}},fullScreen:{content:{margin:0,border:0,inset:0,width:"unset",borderRadius:0,transform:"unset"}}},padding:{micro:{content:{padding:4},close:{top:4,right:4}},small:{content:{padding:8},close:{top:8,right:8}},default:{content:{padding:16},close:{top:16,right:16}},large:{content:{padding:32},close:{top:32,right:32}},xLarge:{content:{padding:64},close:{top:64,right:64}}},shape:{default:{content:{borderRadius:4}},noBorder:{content:{borderRadius:4}}},fullHeight:{true:{content:{minHeight:"calc(100% - 45px)","@large":{maxHeight:"calc(100% - 45px)"}},description:{minHeight:"calc(100% - 45px)","@large":{maxHeight:"calc(100% - 45px)"}}}}},defaultVariants:{size:"default",shape:"default",padding:"default",fullHeight:!1}},tp={className:"drawer",description:"Styles for the Drawer component",slots:["container","drawerStyle","closeButton"],base:{container:{top:0,left:0,right:0,zIndex:100,width:"100%",minHeight:"100%",overflowX:"hidden",pointerEvents:"none"},drawerStyle:{top:0,bottom:0,zIndex:100,width:"100%",overflowY:"auto",background:"white",overflowX:"hidden",position:"absolute",pointerEvents:"all",transition:"transform 250ms ease-out, box-shadow 250ms ease-out"},closeButton:{zIndex:101,marginTop:8,marginRight:8,float:"right"}},variants:{fixed:{true:{container:{position:"fixed"},drawerStyle:{position:"fixed"},closeButton:{top:0,right:0,zIndex:101,position:"absolute"}}},absolute:{true:{container:{position:"absolute"},drawerStyle:{position:"absolute"}}},side:{left:{drawerStyle:{left:0}},right:{drawerStyle:{right:0}}},size:{micro:{drawerStyle:{maxWidth:360}},small:{drawerStyle:{maxWidth:520}},medium:{drawerStyle:{maxWidth:744}},large:{drawerStyle:{maxWidth:1128}}},elevated:{true:{drawerStyle:{boxShadow:"0 0 9px 3px {colors.shadowWeak} "}}},border:{left:{drawerStyle:{borderLeft:"1px solid {colors.gray_80}"}},right:{drawerStyle:{borderRight:"1px solid {colors.gray_80}"}}},entering:{true:{drawerStyle:{transform:"translate(0, 0)",transition:"transform 250ms ease-out"}}},exiting:{true:{drawerStyle:{transform:"translate(100%, 0)",transition:"transform 250ms ease-out"}}},exitingLeft:{true:{drawerStyle:{transform:"translate(-100%, 0)",transition:"transform 250ms ease-out"}}}},defaultVariants:{side:"right",size:"medium"}},rp={className:"dropdown",description:"Styles for the Dropdown component",slots:["dropdownMenu","dropdownContainer","dropdownList","labelStyle","dropdownArrow","dropdownStyles"],base:{dropdownMenu:{zIndex:50,top:"100%",opacity:.01,padding:"8px",marginTop:"4px",borderRadius:"4px",position:"absolute",pointerEvents:"none",backgroundColor:"white",transform:"translate(0, -10%)",border:"1px solid {colors.blue_tint}",boxShadow:'0 7.5px {units(0.75)} {units(-0.45)} {"shadow"}',transition:"opacity 200ms ease-out, transform 300ms ease-out"},dropdownContainer:{maxWidth:"100%",position:"relative",display:"inline-block",boxSizing:"border-box"},dropdownList:{margin:0,padding:0,listStyle:"none"},labelStyle:{fontSize:"14px",color:"text.primary.gray",margin:"0px 2px",position:"static"},dropdownArrow:{width:"10px",fill:"gray_60",marginLeft:"8px"},dropdownStyles:{borderWidth:0,display:"flex",outline:"none",cursor:"pointer",minWidth:"22.5px",minHeight:"22.5px",alignItems:"center",position:"relative",justifyContent:"center",background:"transparent"}},variants:{left:{true:{dropdownMenu:{left:0}}},right:{true:{dropdownMenu:{right:0}}},revertTop:{true:{dropdownMenu:{top:"-100%"}}},sideTop:{true:{dropdownMenu:{top:0}}},sideBottom:{true:{dropdownMenu:{top:"unset",bottom:0}}},leftSide:{true:{dropdownMenu:{right:"100%",marginTop:0,marginRight:"3.75px"}}},rightSide:{true:{dropdownMenu:{left:"100%",marginTop:0,marginLeft:"3.75px"}}},insideAButton:{true:{dropdownMenu:{marginRight:"2px",marginLeft:"2px"}}},entering:{true:{dropdownMenu:{opacity:1,transform:"translate(0, 0)",transition:"opacity 200ms ease-out, transform 300ms ease-out",pointerEvents:"auto"}}},exiting:{true:{dropdownMenu:{opacity:0,transform:"translate(0, -10%)",transition:"opacity 200ms ease-out, transform 300ms ease-out",pointerEvents:"none"}}},relative:{true:{dropdownContainer:{position:"relative"}}},asAButton:{true:{dropdownContainer:{marginTop:0},dropdownStyles:{margin:0}}},noSpacing:{true:{dropdownContainer:{marginBottom:0}}},absolute:{true:{dropdownContainer:{position:"absolute"}}},leftMarged:{true:{dropdownArrow:{marginLeft:"11.25px"}}},rightMarged:{true:{dropdownArrow:{marginRight:"11.25px"}}},mono:{true:{dropdownArrow:{fill:"#9B9B9B"}}},primary:{true:{dropdownArrow:{fill:"pantone_2286_C"}}},secondary:{true:{dropdownArrow:{fill:"blue_60"}}},only:{true:{dropdownStyles:{minWidth:"37.5px",height:"37.5px"}}}}},np={className:"flatButton",description:"Styles for the FlatButton component",slots:["buttonFlat","contentButton","loaderButton","shimmerButton"],base:{buttonFlat:{appearance:"none",borderWidth:0,height:"40px",padding:"0 16px",borderRadius:"8px",outline:0,position:"relative",fontWeight:500,fontFamily:"inherit",cursor:"pointer",boxSizing:"border-box",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out"},contentButton:{display:"flex",alignItems:"center",justifyContent:"center",opacity:1,transition:"opacity 0.2s",whiteSpace:"nowrap",userSelect:"none"},loaderButton:{position:"absolute",top:0,right:0,bottom:0,left:0,display:"flex",alignItems:"center",justifyContent:"center"},shimmerButton:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0}},variants:{size:{small:{buttonFlat:{height:"32px",fontSize:"14px"}},medium:{buttonFlat:{height:"40px",fontSize:"16px"}},large:{buttonFlat:{height:"48px",fontSize:"18px"}}},variant:{primary:{buttonFlat:{background:"blue_80",color:"white"}},secondary:{buttonFlat:{background:"transparent",border:"1px solid {colors.green_success}",color:"green_success"}},inverse:{buttonFlat:{background:"white",color:"blue_80"}},transparent:{buttonFlat:{background:"transparent",color:"blue_80"}},mono:{buttonFlat:{background:"transparent",border:"1px solid {colors.black}",color:"black"}}},soft:{true:{buttonFlat:{background:"grayLighter"}}},square:{true:{buttonFlat:{borderRadius:"4px"}}},loading:{true:{buttonFlat:{pointerEvents:"none",opacity:.6}}},disabled:{true:{buttonFlat:{pointerEvents:"none",opacity:.5}}}}},op={className:"formElement",description:"Styles for the Form Element component",slots:["label","elementStyle","legend","elementGroup"],base:{label:{marginBottom:"8px",display:"flex",alignItems:"center",gap:"0.25rem"},elementStyle:{display:"inline-block"},legend:{padding:0,margin:0},elementGroup:{border:0,margin:0,padding:0}},variants:{hideLabel:{true:{label:{display:"none"}}},block:{true:{elementStyle:{display:"block",width:"100%"}}}}},ip={className:"grid",description:"Styles for the Grid component",slots:["root","content"],base:{root:{width:"100%",display:"flex",flexBasis:"auto"},content:{width:"100%",flex:"1 1 0",display:"flex",boxSizing:"border-box",alignItems:"flex-start"}},variants:{fullHeight:{true:{root:{height:"100vh"},content:{height:"100%"}}},gap:{micro:{content:{gap:"0.25rem"}},small:{content:{gap:"0.5rem"}},medium:{content:{gap:"0.75rem"}},large:{content:{gap:"1rem"}},xlarge:{content:{gap:"1.5rem"}}},flexDirection:{row:{content:{flexDirection:"row"}},column:{content:{flexDirection:"column"}},rowReverse:{content:{flexDirection:"row-reverse"}},columnReverse:{content:{flexDirection:"column-reverse"}}},justifyContent:{end:{content:{justifyContent:"flex-end"}},center:{content:{justifyContent:"center"}},start:{content:{justifyContent:"flex-start"}},between:{content:{justifyContent:"space-between"}}},alignItems:{end:{content:{alignItems:"flex-end"}},center:{content:{alignItems:"center"}},stretch:{content:{alignItems:"stretch"}},start:{content:{alignItems:"flex-start"}},baseline:{content:{alignItems:"baseline"}}},flexWrap:{wrap:{content:{flexWrap:"wrap"}},noWrap:{content:{flexWrap:"nowrap"}},wrapReverse:{content:{flexWrap:"wrap-reverse"}}},spacing:{resetSpacing:{content:{marginLeft:"-gutter_small_regular_left",marginRight:"-gutter_small_regular_right",lg:{marginLeft:"-gutter_large_regular_left",marginRight:"-gutter_large_regular_right"},xl:{marginLeft:"-gutter_xlarge_regular_left",marginRight:"-gutter_xlarge_regular_right"}}},resetLargeSpacing:{content:{marginLeft:"-gutter_small_large_left",marginRight:"-gutter_small_large_right",lg:{marginLeft:"-gutter_large_large_left",marginRight:"-gutter_large_large_right"},xl:{marginLeft:"-gutter_xlarge_large_left",marginRight:"-gutter_xlarge_large_right"}}},resetMicroSpacing:{content:{marginLeft:"-gutter_small_micro_left",marginRight:"-gutter_small_micro_right",lg:{marginLeft:"-gutter_large_micro_left",marginRight:"-gutter_large_micro_right"},xl:{marginLeft:"-gutter_xlarge_micro_left",marginRight:"-gutter_xlarge_micro_right"}}},resetSmallSpacing:{content:{marginLeft:"-gutter_small_small_left",marginRight:"-gutter_small_small_right",lg:{marginLeft:"-gutter_large_small_left",marginRight:"-gutter_large_small_right"},xl:{marginLeft:"-gutter_xlarge_small_left",marginRight:"-gutter_xlarge_small_right"}}}}},defaultVariants:{flexWrap:"wrap",flexDirection:"row"}},ap={className:"icon-recipe",description:"Estilo base e variantes do componente Icon",base:{width:20},variants:{color:{mono:{fill:"black"},white:{fill:"white"},muted:{fill:"blue_40"},secondary:{fill:"blue_60"},blueLight:{fill:"blue_60"},grayLight:{fill:"gray_80"},redLight:{fill:"danger_red"},primary:{fill:"pantone_2286_C"},text:{fill:"text.primary.gray"},orangeLight:{fill:"alert_orange"},greenLight:{fill:"green_success"}},size:{micro:{width:8},huge:{width:36},small:{width:16},large:{width:24},default:{width:12}}},defaultVariants:{color:"secondary",size:"default"}},up={className:"input",description:"Styles for the Input component",slots:["root","separator","input","loader","masked","prefixContainer"],base:{root:{width:"100%",flexWrap:"nowrap",lineHeight:"1.3px",borderRadius:"4px",position:"relative",alignItems:"center",marginBottom:"7.5px",display:"inline-flex",letterSpacing:"normal",boxSizing:"border-box"},separator:{flexShrink:0},input:{margin:0,width:"100%",border:"none",height:"auto",cursor:"pointer",fontWeight:"400",borderRadius:"4px",lineHeight:"1.3px",marginBottom:"0px",fontFamily:"Poppins",fontStyle:"normal",letterSpacing:"normal",boxSizing:"border-box",background:"transparent",_focus:{outline:"none",boxShadow:"none",border:0}},loader:{position:"absolute",width:"100%",height:"100%",top:0,right:0,bottom:0,left:0},masked:{border:0,margin:0,background:"transparent",width:"100%",height:"auto",boxSizing:"border-box",_focus:{outline:"none",boxShadow:"none",border:0}},prefixContainer:{}},variants:{color:{gray:{root:{border:"1px solid {colors.gray_60}",background:"white",_hover:{background:"gray_20"},_focusWithin:{border:"1px solid {colors.blue_60}"}},input:{color:"gray_80",_placeholder:{color:"gray_80"}},separator:{color:"gray_80"},masked:{color:"gray_80",_placeholder:{color:"gray_80"}}},blue:{root:{border:"1px solid {colors.gray_60}",background:"white",_hover:{background:"gray_20"},_focusWithin:{border:"1px solid {colors.blue_60}"}},input:{color:"blue_60",_placeholder:{color:"blue_60"}},separator:{color:"blue_60"},masked:{color:"blue_60",_placeholder:{color:"blue_60"}}}},size:{small:{input:{fontSize:"small_micro",padding:"6px 10px"},masked:{fontSize:"small_micro",padding:"6px 10px"}},medium:{input:{fontSize:"small_small",padding:"8px 12px"},masked:{fontSize:"small_small",padding:"8px 12px"}},large:{input:{fontSize:"small_regular",padding:"10px 16px"},masked:{fontSize:"small_regular",padding:"10px 16px"}}},focusBorderless:{true:{root:{_focusWithin:{borderWidth:"0px"}}}},showOverflowEllipsis:{true:{root:{textOverflow:"ellipsis"},separator:{textOverflow:"ellipsis"},masked:{textOverflow:"ellipsis"}}},separatorPrefix:{true:{root:{marginLeft:"10px"}}},separatorSuffix:{true:{root:{marginRight:"10px"}}},removePrefixSpacing:{true:{root:{paddingLeft:"0px"}}},removeSuffixSpacing:{true:{root:{paddingRight:"0px"}}},prefix:{true:{root:{paddingLeft:"10px",flexShrink:0},separator:{marginLeft:"10px"}}},suffix:{true:{root:{paddingRight:"10px",flexShrink:0},separator:{marginRight:"10px"}}},noPadding:{true:{separator:{padding:0}}},inverse:{true:{root:{background:"#FFF",border:"1px solid {colors.gray_20}",color:"gray_80"}}},disabled:{true:{root:{opacity:.5,pointerEvents:"none",border:"1px solid {colors.gray_40}"}}},invalid:{true:{root:{border:"1px solid {colors.alert_orange}",background:"white",borderRadius:"0.25rem",_focusWithin:{border:"1px solid {colors.alert_orange}",borderRadius:"0.25rem"}}}},error:{true:{root:{border:"1px solid {colors.error}",background:"white",borderRadius:"0.25rem",_focusWithin:{border:"1px solid {colors.error}",borderRadius:"0.25rem"}}}},flat:{true:{root:{borderColor:"blue_40",background:"white"}}},borderless:{true:{root:{borderColor:"grayLight"}}},floating:{true:{root:{boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",background:"white",borderColor:"white"}}},removeMargin:{true:{root:{margin:0}}},separator:{true:{root:{width:"1px",height:"22.5px",background:"gray",flexShrink:0}}},block:{true:{root:{display:"flex",width:"100%"}}},inputDefaultPlaceholder:{true:{separator:{_placeholder:{color:"grayDark",opacity:1}},masked:{_placeholder:{color:"grayDark",opacity:1}}}},inpuFakeValuePlaceholder:{true:{separator:{_placeholder:{color:"grayDarker",opacity:1}},masked:{_placeholder:{color:"grayDarker",opacity:1}}}},inputInversePlaceholder:{true:{separator:{_placeholder:{color:"white",opacity:1}},masked:{_placeholder:{color:"white",opacity:1}}}}},defaultVariants:{color:"gray",size:"medium"}},lp={className:"label",description:"Styles for the label component",slots:["labelStyles","tableRow"],base:{labelStyles:{backgroundColor:"transparent",border:0,cursor:"pointer",display:"block",padding:0},tableRow:{display:"table-row"}},variants:{inline:{true:{labelStyles:{display:"inline-block",whiteSpace:"nowrap"}}},table:{true:{labelStyles:{display:"table"}}}}},sp={className:"loader",description:"Estilo base e variantes do componente Loader",base:{width:15,height:15,margin:"1.5px",backgroundColor:"white",borderRadius:"100%",display:"inline-block",animationName:"bounce",animationDuration:"1.4s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",animationDirection:"both"},variants:{size:{small:{width:8,height:8},large:{width:30,height:30}},color:{mono:{backgroundColor:"gray_60"},primary:{backgroundColor:"blue_60"},secondary:{backgroundColor:"pantone_2286_C"}},second:{true:{animationDelay:"0.16s"}},third:{true:{animationDelay:"0.32s"}}},defaultVariants:{size:"small",color:"primary"}},cp={className:"select",description:"Styles for the select component",slots:["selectStyle","separator","selectPrefix","selectSuffix"],base:{separator:{width:1,height:24,background:"gray_60",flexShrink:0},selectPrefix:{paddingLeft:10,flexShrink:0},selectSuffix:{paddingRight:10,flexShrink:0},selectStyle:{width:"100%",minHeight:40,lineHeight:1.3,color:"gray_60",marginBottom:8,flexWrap:"nowrap",background:"#FFF",borderRadius:"4px",position:"relative",alignItems:"center",display:"inline-flex",letterSpacing:"normal",boxSizing:"border-box",fontSize:"small_regular",border:"1px solid {colors.gray_60}","&:focus-within":{borderRadius:4,background:"white",border:"1px solid {colors.blue_60}"}}},variants:{prefix:{true:{separator:{marginLeft:10}}},suffix:{true:{separator:{marginRight:10},selectPrefix:{paddingRight:10,flexShrink:0}}},removePrefixSpacing:{true:{separator:{marginLeft:0},selectPrefix:{padding:0}}},removeSuffixSpacing:{true:{separator:{marginRight:0},selectSuffix:{padding:0}}},inverse:{true:{selectStyle:{background:"white"}}},removeMargins:{true:{selectStyle:{margin:0}}},primary:{true:{selectStyle:{color:"blue_60",svg:{color:"blue_60"}}}},focusBorderless:{true:{selectStyle:{"&:focus-within":{borderWidth:0}}}},insidePrefix:{true:{selectStyle:{height:38}}},insideSuffix:{true:{selectStyle:{height:38}}},disabled:{true:{selectStyle:{background:"gray_20",border:"1px solid {colors.gray_20}",borderRadius:4,color:"gray_40","&::placeholder":{fontSize:"14px",color:"gray_20",lineHeight:"20px"}}}},invalid:{true:{selectStyle:{border:"1px solid {colors.alert_orange}",background:"orange_tint",borderRadius:4,"&:focus":{border:"1px solid {colors.alert_orange}",background:"orange_tint",borderRadius:4}}}},flat:{true:{selectStyle:{borderColor:"blue_20",background:"white"}}},floating:{true:{selectStyle:{borderColor:"white",background:"white"}}},small:{true:{selectStyle:{color:"gray_80",fontSize:"small_small",letterSpacing:"normal",lineHeight:1.4,height:32}}}}},dp={className:"separator",description:"Styles for the Separator component",base:{flexShrink:0,background:"gray_80"},variants:{orientation:{horizontal:{height:"1px",width:"100%"},vertical:{height:"100%",width:"1px"}},marginHorizontal:{micro:{margin:"4px 0"},small:{margin:"8px 0"},medium:{margin:"16px 0"},large:{margin:"32px 0"},xLarge:{margin:"64px 0"}},marginVertical:{micro:{margin:"0 4px"},small:{margin:"0 8px"},medium:{margin:"0 16px"},large:{margin:"0 32px"},xLarge:{margin:"0 64px"}}},defaultVariants:{orientation:"horizontal"}},fp={className:"switchRecipe",description:"Styles for the Switch component",slots:["root","thumb","container","content","label","subtitle"],base:{root:{all:"unset",width:"30px",height:"14px",marginTop:"5px",backgroundColor:"#a6a6a6",borderRadius:"10px",position:"relative",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",transition:"all ",_focusVisible:{outline:"2px solid transparent",outlineOffset:"2px",focusRingWidth:"2",focusRingColor:"ring",focusRingOffsetWidth:"2"},_disabled:{cursor:"not-allowed",pointerEvents:"none"},"&[data-state=checked]":{bg:"blue_60",_hover:{bg:"blue_80"},_disabled:{bg:"blue_40"}},"&[data-state=unchecked]":{bg:"gray_80",_hover:{bg:"gray_100"},_disabled:{bg:"gray_60"}}},thumb:{display:"block",width:"10px",height:"10px",backgroundColor:"white",borderRadius:"10px",transition:"transform 100ms",transform:"translateX(2px)",willChange:"transform",'&[data-state="checked"]':{transform:"translateX(1.1875rem)"}},container:{display:"flex",alignItems:"flex-start",gap:"8px"},content:{display:"flex",flexDirection:"column"},label:{color:"#323232",fontFamily:"Poppins",fontSize:"14px",fontStyle:"normal",fontWeight:400,lineHeight:"20px"},subtitle:{color:"#a6a6a6",fontFamily:"Poppins",fontSize:"12px",fontStyle:"normal",fontWeight:"400",lineHeight:"16px"}}},pp={className:"tabsSlot",description:"Styles for the Tabs component",slots:["root","list","trigger","content"],base:{list:{flexShrink:0,display:"flex",borderBottom:"1px solid #F0F0F0"},trigger:{all:"unset",height:"45px",display:"flex",fontSize:"15px",color:"gray_80",padding:"0 12px",lineHeight:"1px",userSelect:"none",alignItems:"center",fontFamily:"inherit",backgroundColor:"white",justifyContent:"center","&:first-child":{borderTopLeftRadius:6},"&:last-child":{borderTopRightRadius:6},_hover:{backgroundColor:"blue_tint",color:"blue_60",cursor:"pointer"},_disabled:{opacity:.25,color:"gray_80",cursor:"not-allowed !important",textDecoration:"none",pointerEvents:"none"},'&[data-state="active"]':{color:"blue_60",boxShadow:"inset 0 -1px 0 0 currentColor, 0 1px 0 0 currentColor",_disabled:{opacity:.25,color:"blue_40",cursor:"not-allowed !important",textDecoration:"none",pointerEvents:"none"},_hover:{backgroundColor:"blue_tint",cursor:"pointer"}}},content:{flexGrow:1,padding:"1.25rem 0.25rem",backgroundColor:"white",borderBottomLeftRadius:"6px",borderBottomRightRadius:"6px",outline:"none"},root:{display:"flex",flexDirection:"column"}},variants:{btnIcon:{true:{trigger:{display:"flex",padding:"0px 20px",alignItems:"center",svg:{marginRight:"8px"}}}}}},gp={className:"tagRecipe",description:"Estilo base e variantes do componente Tag",base:{display:"inline-flex",background:"gray_100",alignItems:"center",margin:"0px 8px",padding:"4.4px 8px",width:"auto",color:"white"},variants:{shape:{rounded:{borderRadius:16},squared:{borderRadius:4}},border:{primary:{borderWidth:"1px",borderStyle:"solid",borderColor:"text.primary.blue"}},size:{default:{padding:"2px 6px",fontSize:10},large:{padding:"4px 12px",fontSize:12}},icon:{true:{gap:8}},color:{blue:{backgroundColor:"blue_60"},gray:{backgroundColor:"gray_100"},orange:{backgroundColor:"alert_orange"},red:{backgroundColor:"danger_red"},green:{backgroundColor:"green_success"},blueLight:{backgroundColor:"blue_tint",color:"blue_60",fill:"red !important"},grayLight:{backgroundColor:"gray_20",color:"gray_80",fill:"red !important"},orangeLight:{backgroundColor:"orange_tint",color:"alert_orange",fill:"red !important"},redLight:{backgroundColor:"red_tint",color:"danger_red"},greenLight:{backgroundColor:"green_tint",color:"green_success",fill:"red !important"}},noSpacing:{true:{margin:0}}},defaultVariants:{color:"blue",size:"default",shape:"rounded"}},vp={className:"title",description:"Styles for the Title component",slots:["titleStyle","titleHeader"],base:{titleStyle:{margin:0,display:"block",fontWeight:"bold",padding:"16px 0px",color:"grayDarker",lineHeight:"short",textAlign:"inherit",wordWrap:"break-word",letterSpacing:"normal",fontFamily:"Poppins"},titleHeader:{margin:0,padding:0,display:"flex",fontSize:"font_size_md",color:"inherit",alignItems:"center",lineHeight:"inherit",fontWeight:"inherit"}},variants:{color:{gray:{titleStyle:{color:"gray_0"}},gray30:{titleStyle:{color:"gray_40"}},gray60:{titleStyle:{color:"gray_60"}},gray80:{titleStyle:{color:"gray_80"}},inverse:{titleStyle:{color:"white"}},mono:{titleStyle:{true:{color:"black"}}},muted:{titleStyle:{true:{color:"gray_40"}}},negative:{titleStyle:{true:{color:"error"}}},primary:{titleStyle:{true:{color:"blue_80"}}},positive:{titleStyle:{true:{color:"green_success"}}},secondary:{titleStyle:{true:{color:"green_success"}}}},alternativeFont:{true:{titleStyle:{fontFamily:"Poppins"}}},fontMontserrat:{true:{titleStyle:{fontFamily:"Montserrat",fontFeatureSettings:"'pnum' on, 'lnum' on"}}},textAlign:{center:{titleStyle:{true:{textAlign:"center"}}},right:{titleStyle:{true:{textAlign:"right"}}},left:{titleStyle:{true:{textAlign:"left"}}}},level:{1:{titleStyle:{true:{fontSize:"font_size_2xl"}}},2:{titleStyle:{true:{fontSize:"font_size_xl"}}},3:{titleStyle:{true:{fontSize:"font_size_lg"}}},4:{titleStyle:{true:{fontSize:"small_title4"}}},5:{titleStyle:{true:{fontSize:"font_size_md"}}},6:{titleStyle:{true:{fontSize:"font_size_sm"}}}},fontWeight:{light:{titleStyle:{true:{fontWeight:"light"}}},regular:{titleStyle:{true:{fontWeight:"normal"}}}},lineHeight:{short:{titleStyle:{true:{lineHeight:"shorter"}}},tall:{titleStyle:{true:{lineHeight:"tall"}}}},noBottomSpacing:{true:{titleStyle:{paddingBottom:0}}},noTopSpacing:{true:{titleStyle:{paddingTop:0}}},noSpacing:{true:{titleStyle:{padding:0}}},truncate:{true:{titleStyle:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"inline-block",textOverflow:"ellipsis"},titleHeader:{width:"100%",overflow:"hidden",whiteSpace:"nowrap",display:"inline-block",textOverflow:"ellipsis"}}},inline:{true:{titleStyle:{display:"inline-block"}}},size:{micro:{titleHeader:{fontSize:"font_size_xs"}},small:{titleHeader:{fontSize:"font_size_sm"}},normal:{titleHeader:{fontSize:"font_size_md"}},medium:{titleHeader:{fontSize:"font_size_lg"}},large:{titleHeader:{fontSize:"font_size_xl"}},xLarge:{titleHeader:{fontSize:"font_size_2xl"}}},block:{true:{titleHeader:{display:"block"}}},flex:{true:{titleHeader:{display:"flex"}}}}},mp={className:"tooltip",description:"Styles for the Tooltip component",slots:["root","trigger","content","arrow"],base:{content:{zIndex:50,overflow:"hidden",rounded:"4px",bg:"surface.strong.gray",padding:"4px 10px",py:"1.5",textStyle:"sm",color:"white",shadow:"md",animateIn:!0,fadeIn:0,zoomIn:95,"&[data-state=closed]":{animateOut:!0,fadeOut:0,zoomOut:95},"&[data-side=top]":{slideInFromBottom:"2"},"&[data-side=bottom]":{slideInFromTop:"2"},"&[data-side=left]":{slideInFromRight:"2"},"&[data-side=right]":{slideInFromLeft:"2"}},arrow:{fill:"surface.strong.gray"}}},hp={className:"visibility",description:"Styles for the Visibility component",slots:["container"],base:{container:{display:"block"}},variants:{hidden:{true:{container:{display:"none"}}}}},bp={className:"wrapper",description:"Estilo base e variantes do componente Wrapper",base:{boxSizing:"border-box",width:"100%",paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem","@large":{paddingInlineStart:"4rem",paddingInlineEnd:"4rem"}},variants:{container:{true:{marginInlineStart:"auto",marginInlineEnd:"auto",alignSelf:"center"}},size:{default:{maxWidth:"1440px"},micro:{maxWidth:"800px"},small:{maxWidth:"1200px"},large:{maxWidth:"1800px"}},fullHeight:{true:{height:"100vh"}},gray:{true:{backgroundColor:"gray_20"}},spacing:{large:{paddingInlineStart:"3rem",paddingInlineEnd:"3rem","@large":{paddingInlineStart:"6rem",paddingInlineEnd:"6rem"}},small:{paddingInlineStart:"1rem",paddingInlineEnd:"1rem","@large":{paddingInlineStart:"3rem",paddingInlineEnd:"3rem"}},micro:{paddingInlineStart:"0.5rem",paddingInlineEnd:"0.5rem","@large":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem"}},none:{padding:0,"@large":{padding:0}}},verticalSpacing:{large:{paddingBlockStart:"5rem",paddingBlockEnd:"5rem"},small:{paddingBlockStart:"1rem",paddingBlockEnd:"1rem"},micro:{paddingBlockStart:"8px",paddingBlockEnd:"8px"},default:{paddingBlockStart:"2.5rem",paddingBlockEnd:"2.5rem"}},relative:{true:{position:"relative"}}},defaultVariants:{size:"default",spacing:"none",verticalSpacing:"default"}},yp={transform(e){return{"@media (max-width: 743px)":{width:`${e/12*100}%`}}}},Cp={transform(e){return{"@media (max-width: 1127px)":{width:`${e/12*100}%`}}}},xp={transform(e){return{"@media (min-width: 1127px)":{width:`${e/12*100}%`}}}},Ip={transform(e){return{"@media (min-width: 1439px)":{width:`${e/12*100}%`}}}},wp={className:"text-recipe",base:{margin:0,padding:0,display:"block",fontFamily:"Poppins",fontWeight:"normal",wordWrap:"break-word",letterSpacing:"normal",fontSize:"font_size_md",color:"text.primary.gray",fontVariantNumeric:"lining-nums proportional-nums"},variants:{textAlign:{right:{textAlign:"right"},center:{textAlign:"center"},left:{textAlign:"left"}},textDecoration:{underline:{textDecoration:"underline"}},fontMontserrat:{true:{fontFamily:"Montserrat",fontFeatureSettings:"'pnum' on, 'lnum' on"}},error:{true:{color:"text.primary.red",fontFamily:"Montserrat",fontSize:"font_size_sm",fontStyle:"normal",fontWeight:"500",lineHeight:"16px"}},size:{xxLarge:{fontSize:"font_size_2xl"},xLarge:{fontSize:"font_size_xl"},large:{fontSize:"font_size_lg"},regular:{fontSize:"font_size_md"},medium:{fontSize:"font_size_md_sm"},small:{fontSize:"font_size_sm"},micro:{fontSize:"font_size_xs"}},fontWeight:{bold:{fontWeight:"bold"},light:{fontWeight:"light"},semibold:{fontWeight:"semibold"}},color:{mono:{color:"black"},gray:{color:"gray_80"},blue:{color:"blue_60"},inverse:{color:"white"},light:{color:"gray_60"},muted:{color:"gray_40"},secondary:{color:"text.secondary.gray"},primary:{color:"text.primary.gray"},positive:{color:"green_success"}},lineHeight:{tall:{lineHeight:"tall"},short:{lineHeight:"short"}},inline:{true:{display:"inline-block"}},nowrap:{true:{whiteSpace:"nowrap",width:"100%"}},disabled:{true:{opacity:.5}},collapsed:{true:{lineClamp:1,WebkitLineClamp:1,overflow:"hidden",display:"-webkit-box",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"}},header:{true:{margin:0,padding:0,display:"flex",fontSize:"1rem",color:"inherit",alignItems:"center",lineHeight:"inherit",fontWeight:"inherit"}}},defaultVariants:{size:"regular",color:"gray"}},Sp=br.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#0a0a0a"},white:{value:"#fefefe"},pantone_black_6c:{value:"#000023"},pantone_2369_c:{value:"#461CDC"},pantone_2286_C:{value:"#6BFF50"},pantone_421_U:{value:"#BFBFBF"},pantone_cool_gray_2_u:{value:"#F2F2F2"},pantone_000_C:{value:"#FFFFFF"},gray_0:{value:"{colors.pantone_000_C}"},gray_20:{value:"#F7F7F7"},gray_40:{value:"{colors.pantone_cool_gray_2_u}"},gray_60:{value:"{colors.pantone_421_U}"},gray_80:{value:"#808080"},gray_100:{value:"#404040"},grayDarkest:{value:"#202020"},grayLighter:{value:"#FAFAFD"},blue_0:{value:"#F2F6FF"},blue_20:{value:"#E0E8FF"},blue_40:{value:"#A3B8FF"},blue_60:{value:"{colors.pantone_2369_c}"},blue_80:{value:"#1C1C7A"},blue_100:{value:"{colors.pantone_black_6c}"},danger_red:{value:"#F45D4D"},alert_orange:{value:"#FF9800"},green_success:{value:"#34A853"},blue_informative:{value:"{colors.blue_60}"},red_tint:{value:"#FDF3F2"},blue_tint:{value:"#F2F6FF"},green_tint:{value:"#E9FFE7"},orange_tint:{value:"#FFF9E4"},sky_cyan:{value:"#00ACC1"},soft_blue:{value:"#6A5FFF"},blush_pink:{value:"#FF8FB1"},deep_purple:{value:"#8E24AA"},warm_yellow:{value:"#FFCA28"},earth_brown:{value:"#795548"},charcoal_gray:{value:"#616161"},crimson_red:{value:"{colors.danger_red}"},lime_green:{value:"{colors.pantone_2286_C}"},forest_green:{value:"{colors.green_success}"},vibrant_orange:{value:"{colors.alert_orange}"},indigo_blue:{value:"{colors.blue_informative}"},complementary_background:{value:"{colors.pantone_421_U}"},interactive_hover:{value:"{colors.pantone_cool_gray_2_u} "},shadow:{value:"rgba(0, 0, 0, .2)"},shadowWeakest:{value:"rgba(0, 0, 0, .035)"},shadowWeaker:{value:"rgba(0, 0, 0, .055)"},shadowWeak:{value:"rgba(0, 0, 0, .1)"},shadowStrong:{value:"rgba(0, 0, 0, .3)"},shadowStronger:{value:"rgba(0, 0, 0, .5)"},shadowStrongest:{value:"rgba(0, 0, 0, .7)"},fog:{value:"rgba(255, 255, 255, .2)"},fogWeakest:{value:"rgba(255, 255, 255, .075)"},fogWeaker:{value:"rgba(255, 255, 255, .1)"},fogWeak:{value:"rgba(255, 255, 255, .15)"},fogStrong:{value:"rgba(255, 255, 255, .3)"},fogStronger:{value:"rgba(255, 255, 255, .5)"},fogStrongest:{value:"rgba(255, 255, 255, .7)"},error:{value:"#FF594C"}}),Ap=k0.colors({text:{primary:{blue:{value:"{colors.blue_60}"},gray:{value:"{colors.gray_100}"},white:{value:"{colors.gray_0}"}},secondary:{gray:{value:"{colors.gray_80}"},orange:{value:"{colors.alert_orange}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"}}},border:{gray:{light:{value:"{colors.gray_60} "},lighter:{value:"{colors.gray_40} "}},blue:{DEFAULT:{value:"{colors.blue_60}"}}},surface:{strong:{blue:{value:"{colors.blue_60}"},gray:{value:"{colors.gray_100}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"},orange:{value:"{colors.alert_orange}"}},light:{gray:{value:"{colors.gray_20}"},red:{value:"{colors.red_tint}"},white:{value:"{colors.gray_0}"},blue:{value:"{colors.blue_tint}"},green:{value:"{colors.green_tint}"},orange:{value:"{colors.orange_tint}"},blue_moderate:{value:"{colors.blue_20}"}}},icon:{gray:{value:"{colors.gray_80}"},blue:{value:"{colors.blue_60}"},white:{value:"{colors.gray_0}"},red:{value:"{colors.danger_red}"},green:{value:"{colors.green_success}"},orange:{value:"{colors.alert_orange}"}}}),Ep=br.fontSizes({small_title1:{value:"32px"},small_title2:{value:"26px"},small_title3:{value:"21px"},small_title4:{value:"18px"},small_title5:{value:"16px"},small_title6:{value:"14px"},small_large:{value:"18px"},small_regular:{value:"16px"},small_small:{value:"14px"},small_micro:{value:"12px"},large_title1:{value:"34px"},large_title2:{value:"29px"},large_title3:{value:"23px"},large_title4:{value:"24px"},large_title5:{value:"16px"},large_title6:{value:"14px"},large_large:{value:"18px"},large_regular:{value:"16px"},large_small:{value:"14px"},large_micro:{value:"12px"},font_size_xs:{value:"10px"},font_size_sm:{value:"12px"},font_size_md_sm:{value:"14px"},font_size_md:{value:"16px"},font_size_lg:{value:"20px"},font_size_xl:{value:"24px"},font_size_2xl:{value:"32px"}}),Rp=br.fontWeights({bold:{value:600},light:{value:300},normal:{value:400},semibold:{value:500}}),Op={shimmer:{"0%":{opacity:1},"50%":{opacity:.5},"100% ":{opacity:1}},slideUp:{from:{height:"45px"},to:{height:0}},bounce:{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1.0)"}},slideLeftAndFade:{"0%":{opacity:0,transform:"translateX(2px)"},"100%":{opacity:1,transform:"translateX(0)"}},slideDownAndFade:{"0%":{opacity:0,transform:"translateY(-2px)"},"100%":{opacity:1,transform:"translateY(0)"}},slideRightAndFade:{"0%":{opacity:0,transform:"translateX(-2px)"},"100%":{opacity:1,transform:"translateX(0)"}},slideUpAndFade:{"0%":{opacity:0,transform:"translateY(2px)"},"100%":{opacity:1,transform:"translateY(0)"}},slideDown:{from:{height:0},to:{height:"45px"}},slideDownJsonEditor:{from:{height:0},to:{height:"610px"}},slideUpJsonEditor:{from:{height:"610px"},to:{height:0}},overlayShow:{"0%":{opacity:0},"100%":{opacity:1}},contentShow:{"0%":{opacity:0,transform:"translate(-50%, -48%) scale(.96)"},"100%":{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}},_p=br.lineHeights({regular:{value:1.4},short:{value:1.125},shorter:{value:1},tall:{value:1.6}}),Pp=br.spacing({gutter_small_micro_top:{value:"4px"},gutter_small_micro_right:{value:"4px"},gutter_small_micro_bottom:{value:"4px"},gutter_small_micro_left:{value:"4px"},gutter_small_small_top:{value:"8px"},gutter_small_small_right:{value:"8px"},gutter_small_small_bottom:{value:"8px"},gutter_small_small_left:{value:"8px"},gutter_small_regular_top:{value:"16px"},gutter_small_regular_right:{value:"16px"},gutter_small_regular_bottom:{value:"16px"},gutter_small_regular_left:{value:"16px"},gutter_small_large_top:{value:"16px"},gutter_small_large_right:{value:"16px"},gutter_small_large_bottom:{value:"16px"},gutter_small_large_left:{value:"16px"},gutter_medium_micro_top:{value:"4px"},gutter_medium_micro_right:{value:"4px"},gutter_medium_micro_bottom:{value:"4px"},gutter_medium_micro_left:{value:"4px"},gutter_medium_small_top:{value:"8px"},gutter_medium_small_right:{value:"8px"},gutter_medium_small_bottom:{value:"8px"},gutter_medium_small_left:{value:"8px"},gutter_medium_regular_top:{value:"8px"},gutter_medium_regular_right:{value:"8px"},gutter_medium_regular_bottom:{value:"8px"},gutter_medium_regular_left:{value:"8px"},gutter_medium_large_top:{value:"16px"},gutter_medium_large_right:{value:"16px"},gutter_medium_large_bottom:{value:"16px"},gutter_medium_large_left:{value:"16px"},gutter_large_small_right:{value:"8px"},gutter_large_small_left:{value:"8px"},gutter_large_small_top:{value:"8px"},gutter_large_small_bottom:{value:"8px"},gutter_large_micro_top:{value:"4px"},gutter_large_micro_right:{value:"4px"},gutter_large_micro_bottom:{value:"4px"},gutter_large_micro_left:{value:"4px"},gutter_large_small:{value:"8px"},gutter_large_regular_top:{value:"8px"},gutter_large_regular_right:{value:"8px"},gutter_large_regular_bottom:{value:"8px"},gutter_large_regular_left:{value:"8px"},gutter_large_large_top:{value:"16px"},gutter_large_large_right:{value:"16px"},gutter_large_large_bottom:{value:"16px"},gutter_large_large_left:{value:"16px"},gutter_xlarge_micro_top:{value:"4px"},gutter_xlarge_micro_right:{value:"4px"},gutter_xlarge_micro_bottom:{value:"4px"},gutter_xlarge_micro_left:{value:"4px"},gutter_xlarge_small_top:{value:"8px"},gutter_xlarge_small_right:{value:"8px"},gutter_xlarge_small_bottom:{value:"8px"},gutter_xlarge_small_left:{value:"8px"},gutter_xlarge_regular_top:{value:"16px"},gutter_xlarge_regular_right:{value:"16px"},gutter_xlarge_regular_bottom:{value:"16px"},gutter_xlarge_regular_left:{value:"16px"},gutter_xlarge_large_top:{value:"16px"},gutter_xlarge_large_right:{value:"16px"},gutter_xlarge_large_bottom:{value:"16px"},gutter_xlarge_large_left:{value:"16px"}}),Tp={name:"auroraPreset",utilities:{extend:{small:yp,large:xp,medium:Cp,xlarge:Ip}},staticCss:{css:[{properties:{large:[1,2,3,4,5,6,7,8,9,10,11,12],medium:[1,2,3,4,5,6,7,8,9,10,11,12],small:[1,2,3,4,5,6,7,8,9,10,11,12],xlarge:[1,2,3,4,5,6,7,8,9,10,11,12]}}]},globalVars:{"--font-poppins":"Poppins, sans-serif","--font-montserrat":"Montserrat Variable, monospace"},theme:{semanticTokens:{colors:Ap},extend:{breakpoints:{sm:"640px",md:"1127px",lg:"1024px",xl:"1280px","2xl":"1536px"},recipes:{tagRecipe:gp,textRecipe:wp,icon:ap,block:Y0,clickableRecipe:K0,loader:sp,separator:dp,anchor:Z0,cell:U0,blanketRecipe:$0,wrapperRecipe:bp},slotRecipes:{visibilitySlot:hp,avatar:X0,tooltip:mp,dialog:ep,drawerSlot:tp,flatButtonSlot:np,gridSlot:ip,tabsSlot:pp,switchSlot:fp,accordionSlot:H0,input:up,formElement:op,dropdown:rp,select:cp,avatarGroup:z0,boxGroupSlot:q0,checkBoxSlot:Q0,button:J0,labelSlot:lp,titleSlot:vp},keyframes:Op,tokens:{colors:Sp,spacing:Pp,fontSizes:Ep,fontWeights:Rp,lineHeights:_p,fonts:{Montserrat:{value:"var(--font-montserrat)"},Poppins:{value:"var(--font-poppins)"}}}}}};var Mp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),r}var fa={exports:{}},ir={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -66,7 +66,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66
66
|
|
|
67
67
|
`)+("The mask that was received is: "+JSON.stringify(g)));return g.map(function(b){return b instanceof RegExp?m:b}).join("")}function l(g){return Array.isArray&&Array.isArray(g)||g instanceof Array}function u(g){return typeof g=="string"||g instanceof String}function s(g){return typeof g=="number"&&g.length===void 0&&!isNaN(g)}function c(g){return typeof g>"u"||g===null}function d(g){for(var m=[],b=void 0;b=g.indexOf(v),b!==-1;)m.push(b),g.splice(b,1);return{maskWithoutCaretTraps:g,indexes:m}}Object.defineProperty(n,"__esModule",{value:!0}),n.convertMaskToPlaceholder=a,n.isArray=l,n.isString=u,n.isNumber=s,n.isNil=c,n.processCaretTraps=d;var f=i(1),p=[],v="[]"},function(o,n,i){function a(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(0,u.isArray)(p)){if((typeof p>"u"?"undefined":l(p))!==s.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");p=p(f,v),p=(0,u.processCaretTraps)(p).maskWithoutCaretTraps}var g=v.guide,m=g===void 0||g,b=v.previousConformedValue,y=b===void 0?d:b,w=v.placeholderChar,I=w===void 0?s.placeholderChar:w,x=v.placeholder,S=x===void 0?(0,u.convertMaskToPlaceholder)(p,I):x,C=v.currentCaretPosition,E=v.keepCharPositions,_=m===!1&&y!==void 0,V=f.length,N=y.length,L=S.length,P=p.length,M=V-N,T=M>0,F=C+(T?-M:0),H=F+Math.abs(M);if(E===!0&&!T){for(var D=d,$=F;$<H;$++)S[$]===I&&(D+=I);f=f.slice(0,F)+D+f.slice(F,V)}for(var O=f.split(d).map(function(Ee,Se){return{char:Ee,isNew:Se>=F&&Se<H}}),j=V-1;j>=0;j--){var G=O[j].char;if(G!==I){var X=j>=F&&N===P;G===S[X?j-M:j]&&O.splice(j,1)}}var k=d,Y=!1;e:for(var z=0;z<L;z++){var q=S[z];if(q===I){if(O.length>0)for(;O.length>0;){var J=O.shift(),K=J.char,te=J.isNew;if(K===I&&_!==!0){k+=I;continue e}if(p[z].test(K)){if(E===!0&&te!==!1&&y!==d&&m!==!1&&T){for(var ie=O.length,W=null,ae=0;ae<ie;ae++){var ge=O[ae];if(ge.char!==I&&ge.isNew===!1)break;if(ge.char===I){W=ae;break}}W!==null?(k+=K,O.splice(W,1)):z--}else k+=K;continue e}Y=!0}_===!1&&(k+=S.substr(z,L));break}k+=q}if(_&&T===!1){for(var de=null,be=0;be<k.length;be++)S[be]===I&&(de=be);k=de!==null?k.substr(0,de+1):d}return{conformedValue:k,meta:{someCharsRejected:Y}}}Object.defineProperty(n,"__esModule",{value:!0});var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};n.default=a;var u=i(2),s=i(1),c=[],d=""},function(o,n){function i(u){var s=u.previousConformedValue,c=s===void 0?l:s,d=u.previousPlaceholder,f=d===void 0?l:d,p=u.currentCaretPosition,v=p===void 0?0:p,g=u.conformedValue,m=u.rawValue,b=u.placeholderChar,y=u.placeholder,w=u.indexesOfPipedChars,I=w===void 0?a:w,x=u.caretTrapIndexes,S=x===void 0?a:x;if(v===0||!m.length)return 0;var C=m.length,E=c.length,_=y.length,V=g.length,N=C-E,L=N>0,P=E===0,M=N>1&&!L&&!P;if(M)return v;var T=L&&(c===g||g===y),F=0,H=void 0,D=void 0;if(T)F=v-N;else{var $=g.toLowerCase(),O=m.toLowerCase(),j=O.substr(0,v).split(l),G=j.filter(function(le){return $.indexOf(le)!==-1});D=G[G.length-1];var X=f.substr(0,G.length).split(l).filter(function(le){return le!==b}).length,k=y.substr(0,G.length).split(l).filter(function(le){return le!==b}).length,Y=k!==X,z=f[G.length-1]!==void 0&&y[G.length-2]!==void 0&&f[G.length-1]!==b&&f[G.length-1]!==y[G.length-1]&&f[G.length-1]===y[G.length-2];!L&&(Y||z)&&X>0&&y.indexOf(D)>-1&&m[v]!==void 0&&(H=!0,D=m[v]);for(var q=I.map(function(le){return $[le]}),J=q.filter(function(le){return le===D}).length,K=G.filter(function(le){return le===D}).length,te=y.substr(0,y.indexOf(b)).split(l).filter(function(le,Ae){return le===D&&m[Ae]!==le}).length,ie=te+K+J+(H?1:0),W=0,ae=0;ae<V;ae++){var ge=$[ae];if(F=ae+1,ge===D&&W++,W>=ie)break}}if(L){for(var de=F,be=F;be<=_;be++)if(y[be]===b&&(de=be),y[be]===b||S.indexOf(be)!==-1||be===_)return de}else if(H){for(var Ee=F-1;Ee>=0;Ee--)if(g[Ee]===D||S.indexOf(Ee)!==-1||Ee===0)return Ee}else for(var Se=F;Se>=0;Se--)if(y[Se-1]===b||S.indexOf(Se)!==-1||Se===0)return Se}Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var a=[],l=""},function(o,n,i){function a(C){return C&&C.__esModule?C:{default:C}}function l(C){var E={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:E,update:function(_){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,N=V.inputElement,L=V.mask,P=V.guide,M=V.pipe,T=V.placeholderChar,F=T===void 0?b.placeholderChar:T,H=V.keepCharPositions,D=H!==void 0&&H,$=V.showMask,O=$!==void 0&&$;if(typeof _>"u"&&(_=N.value),_!==E.previousConformedValue){(typeof L>"u"?"undefined":d(L))===I&&L.pipe!==void 0&&L.mask!==void 0&&(M=L.pipe,L=L.mask);var j=void 0,G=void 0;if(L instanceof Array&&(j=(0,m.convertMaskToPlaceholder)(L,F)),L!==!1){var X=s(_),k=N.selectionEnd,Y=E.previousConformedValue,z=E.previousPlaceholder,q=void 0;if((typeof L>"u"?"undefined":d(L))===b.strFunction){if(G=L(X,{currentCaretPosition:k,previousConformedValue:Y,placeholderChar:F}),G===!1)return;var J=(0,m.processCaretTraps)(G),K=J.maskWithoutCaretTraps,te=J.indexes;G=K,q=te,j=(0,m.convertMaskToPlaceholder)(G,F)}else G=L;var ie={previousConformedValue:Y,guide:P,placeholderChar:F,pipe:M,placeholder:j,currentCaretPosition:k,keepCharPositions:D},W=(0,g.default)(X,G,ie),ae=W.conformedValue,ge=(typeof M>"u"?"undefined":d(M))===b.strFunction,de={};ge&&(de=M(ae,c({rawValue:X},ie)),de===!1?de={value:Y,rejected:!0}:(0,m.isString)(de)&&(de={value:de}));var be=ge?de.value:ae,Ee=(0,p.default)({previousConformedValue:Y,previousPlaceholder:z,conformedValue:be,placeholder:j,rawValue:X,currentCaretPosition:k,placeholderChar:F,indexesOfPipedChars:de.indexesOfPipedChars,caretTrapIndexes:q}),Se=be===j&&Ee===0,le=O?j:y,Ae=Se?le:be;E.previousConformedValue=Ae,E.previousPlaceholder=j,N.value!==Ae&&(N.value=Ae,u(N,Ee))}}}}}function u(C,E){document.activeElement===C&&(x?S(function(){return C.setSelectionRange(E,E,w)},0):C.setSelectionRange(E,E,w))}function s(C){if((0,m.isString)(C))return C;if((0,m.isNumber)(C))return String(C);if(C==null)return y;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
|
|
68
68
|
|
|
69
|
-
`+JSON.stringify(C))}Object.defineProperty(n,"__esModule",{value:!0});var c=Object.assign||function(C){for(var E=1;E<arguments.length;E++){var _=arguments[E];for(var V in _)Object.prototype.hasOwnProperty.call(_,V)&&(C[V]=_[V])}return C},d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C};n.default=l;var f=i(4),p=a(f),v=i(3),g=a(v),m=i(2),b=i(1),y="",w="none",I="object",x=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),S=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout},function(o,n){function i(l){return function(){return l}}var a=function(){};a.thatReturns=i,a.thatReturnsFalse=i(!1),a.thatReturnsTrue=i(!0),a.thatReturnsNull=i(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(l){return l},o.exports=a},function(o,n,i){function a(l,u,s,c,d,f,p,v){if(!l){var g;if(u===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[s,c,d,f,p,v],b=0;g=new Error(u.replace(/%s/g,function(){return m[b++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}}o.exports=a},function(o,n,i){var a=i(6),l=i(7),u=i(10);o.exports=function(){function s(f,p,v,g,m,b){b!==u&&l(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function c(){return s}s.isRequired=s;var d={array:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:c,element:s,instanceOf:c,node:s,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return d.checkPropTypes=a,d.PropTypes=d,d}},function(o,n,i){o.exports=i(8)()},function(o,n){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";o.exports=i},function(o,n){o.exports=r}])})})(Ld);var M3=Ld.exports;const F3=Va(M3);var V3="Separator",pc="horizontal",j3=["horizontal","vertical"],Nd=A.forwardRef((e,t)=>{const{decorative:r,orientation:o=pc,...n}=e,i=B3(o)?o:pc,l=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return h.jsx(he.div,{"data-orientation":i,...l,...n,ref:t})});Nd.displayName=V3;function B3(e){return j3.includes(e)}var L3=Nd;const ha=({orientation:e,marginVertical:t,marginHorizontal:r})=>h.jsx(L3,{className:Q.separator({orientation:e,marginHorizontal:r,marginVertical:t})}),Dd=B.forwardRef(({id:e,flat:t,mask:r,name:o,type:n,icon:i,size:a,value:l,block:u,style:s,color:c,onBlur:d,prefix:f,suffix:p,invalid:v,error:g,inverse:m,onFocus:b,shimmer:y,disabled:w,floating:I,onChange:x,readOnly:S,maxLength:C,onKeyDown:E,noPadding:_,separator:V,borderless:N,spellCheck:L,autoCorrect:P,placeholder:M,autoComplete:T,removeMargin:F,focusBorderless:H,separatorPrefix:D,separatorSuffix:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,inputDefaultPlaceholder:X,inputInversePlaceholder:k,inpuFakeValuePlaceholder:Y,...z},q)=>{const J=Q.input({flat:t,block:u,prefix:!!f,suffix:!!p,inverse:m,invalid:v,error:g,color:c,size:a,disabled:w,floating:I,noPadding:_,separator:V,borderless:N,removeMargin:F,focusBorderless:H,separatorPrefix:D,separatorSuffix:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,inputDefaultPlaceholder:X,inputInversePlaceholder:k,inpuFakeValuePlaceholder:Y});return h.jsxs("div",{ref:q,className:J.root,style:s,children:[y&&h.jsx("div",{className:J.loader,children:h.jsx(ze,{width:"100%",height:"100%"})}),f&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:J.prefixContainer,children:f}),D&&h.jsx(ha,{orientation:"vertical",marginVertical:"small"})]}),r!=null?h.jsx(F3,{id:e,mask:r,name:o,type:n,value:l,onBlur:d,onFocus:b,onChange:x,readOnly:S,disabled:!!w,maxLength:C,onKeyDown:E,spellCheck:L,"aria-readonly":S,autoCorrect:P,placeholder:M,className:J.masked,autoComplete:T,...z}):h.jsx("input",{id:e,name:o,type:n,value:l,onBlur:d,onFocus:b,onChange:x,readOnly:S,disabled:!!w,maxLength:C,onKeyDown:E,spellCheck:L,"aria-readonly":S,className:J.input,autoCorrect:P,placeholder:M,autoComplete:T,...z}),i&&i,p&&h.jsxs(h.Fragment,{children:[$&&h.jsx(ha,{orientation:"vertical",marginVertical:"small"}),h.jsx("div",{className:J.separator,children:p})]})]})});Dd.displayName="InputOnly";const Gd=B.forwardRef(({id:e,name:t,mask:r,type:o,size:n,label:i,value:a,style:l,color:u,inline:s,onBlur:c,prefix:d,suffix:f,invalid:p,error:v,inverse:g,onFocus:m,disabled:b,floating:y,onChange:w,readOnly:I,hideLabel:x=!1,maxLength:S,onKeyDown:C,borderless:E,fontWeight:_,spellCheck:V,autoCorrect:N,placeholder:L,autoComplete:P,errorMessage:M,removeMargin:T,focusBorderless:F,separatorPrefix:H,separatorSuffix:D,labelDescription:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,...X},k)=>h.jsx(Bd,{label:i,inline:s,invalid:p,hideLabel:x,fontWeight:_,errorMessage:M,labelDescription:$,block:!1,children:h.jsx(Dd,{id:e,ref:k,...X,size:n,name:t,mask:r,type:o,color:u,value:a,style:l,onBlur:c,prefix:d,suffix:f,invalid:p,error:v,inverse:g,onFocus:m,disabled:b,floating:y,onChange:w,readOnly:I,maxLength:S,onKeyDown:C,borderless:E,spellCheck:V,autoCorrect:N,placeholder:L,autoComplete:P,removeMargin:T,focusBorderless:F,separatorPrefix:H,separatorSuffix:D,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G})}));function N3({id:e,name:t,size:r,label:o,value:n,prefix:i,inline:a,invalid:l,inverse:u,disabled:s,hideLabel:c,placeholder:d,labelDescription:f,inputRemoveMargins:p,inputFocusBorderless:v,inputOverflowEllipsis:g}){return h.jsx(jd,{onOutsideClick:()=>{},children:h.jsx(Gd,{id:e,name:t,type:"text",value:n,label:o,size:r,prefix:!!i,inline:a,invalid:l,inverse:u,autoComplete:"off",disabled:s,hideLabel:c,placeholder:d,removeMargin:p,labelDescription:f,focusBorderless:v,showOverflowEllipsis:g,color:"gray",separatorPrefix:!1,separatorSuffix:!1,removePrefixSpacing:!1,removeSuffixSpacing:!1,suffix:!1,noPadding:!1,error:!1,flat:!1,borderless:!1,floating:!1,separator:!1,block:!1,inputDefaultPlaceholder:!1,inpuFakeValuePlaceholder:!1,inputInversePlaceholder:!1})})}var au="Avatar",[D3,W7]=st(au),[G3,Wd]=D3(au),kd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,...o}=e,[n,i]=A.useState("idle");return h.jsx(G3,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:i,children:h.jsx(he.span,{...o,ref:t})})});kd.displayName=au;var Hd="AvatarImage",Zd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...i}=e,a=Wd(Hd,r),l=W3(o,i.referrerPolicy),u=it(s=>{n(s),a.onImageLoadingStatusChange(s)});return at(()=>{l!=="idle"&&u(l)},[l,u]),l==="loaded"?h.jsx(he.img,{...i,ref:t,src:o}):null});Zd.displayName=Hd;var Xd="AvatarFallback",zd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:o,...n}=e,i=Wd(Xd,r),[a,l]=A.useState(o===void 0);return A.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>l(!0),o);return()=>window.clearTimeout(u)}},[o]),a&&i.imageLoadingStatus!=="loaded"?h.jsx(he.span,{...n,ref:t}):null});zd.displayName=Xd;function W3(e,t){const[r,o]=A.useState("idle");return at(()=>{if(!e){o("error");return}let n=!0;const i=new window.Image,a=l=>()=>{n&&o(l)};return o("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,t&&(i.referrerPolicy=t),()=>{n=!1}},[e,t]),r}var k3=kd,H3=Zd,Z3=zd;const $d=({icon:e,size:t,shape:r,source:o,inline:n,loading:i,fallback:a})=>{const l=Q.avatar({inline:n,size:t,shape:r});return h.jsxs(k3,{className:l.root,children:[h.jsx(H3,{className:l.image,src:o,alt:"Avatar"}),h.jsxs(Z3,{className:l.fallback,delayMs:600,children:[a&&!i&&!e&&a,!a&&!i&&e&&h.jsx(ut,{name:"alert",size:"large",color:"secondary"}),i&&h.jsx(ze,{width:"100%",height:"100%"})]})]})};function X3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e);A.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var z3="DismissableLayer",ba="dismissableLayer.update",$3="dismissableLayer.pointerDownOutside",Y3="dismissableLayer.focusOutside",gc,Yd=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uu=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...u}=e,s=A.useContext(Yd),[c,d]=A.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=A.useState({}),v=Ve(t,C=>d(C)),g=Array.from(s.layers),[m]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(m),y=c?g.indexOf(c):-1,w=s.layersWithOutsidePointerEventsDisabled.size>0,I=y>=b,x=U3(C=>{const E=C.target,_=[...s.branches].some(V=>V.contains(E));!I||_||(n==null||n(C),a==null||a(C),C.defaultPrevented||l==null||l())},f),S=Q3(C=>{const E=C.target;[...s.branches].some(V=>V.contains(E))||(i==null||i(C),a==null||a(C),C.defaultPrevented||l==null||l())},f);return X3(C=>{y===s.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&l&&(C.preventDefault(),l()))},f),A.useEffect(()=>{if(c)return r&&(s.layersWithOutsidePointerEventsDisabled.size===0&&(gc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(c)),s.layers.add(c),vc(),()=>{r&&s.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=gc)}},[c,f,r,s]),A.useEffect(()=>()=>{c&&(s.layers.delete(c),s.layersWithOutsidePointerEventsDisabled.delete(c),vc())},[c,s]),A.useEffect(()=>{const C=()=>p({});return document.addEventListener(ba,C),()=>document.removeEventListener(ba,C)},[]),h.jsx(he.div,{...u,ref:v,style:{pointerEvents:w?I?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,S.onFocusCapture),onBlurCapture:we(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,x.onPointerDownCapture)})});uu.displayName=z3;var q3="DismissableLayerBranch",J3=A.forwardRef((e,t)=>{const r=A.useContext(Yd),o=A.useRef(null),n=Ve(t,o);return A.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),h.jsx(he.div,{...e,ref:n})});J3.displayName=q3;function U3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e),o=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=l=>{if(l.target&&!o.current){let u=function(){qd($3,r,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Q3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e),o=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!o.current&&qd(Y3,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function vc(){const e=new CustomEvent(ba);document.dispatchEvent(e)}function qd(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Hp(n,i):n.dispatchEvent(i)}const K3=["top","right","bottom","left"],ht=Math.min,ke=Math.max,Kr=Math.round,Mr=Math.floor,nt=e=>({x:e,y:e}),em={left:"right",right:"left",bottom:"top",top:"bottom"},tm={start:"end",end:"start"};function ya(e,t,r){return ke(e,ht(t,r))}function ft(e,t){return typeof e=="function"?e(t):e}function pt(e){return e.split("-")[0]}function tr(e){return e.split("-")[1]}function lu(e){return e==="x"?"y":"x"}function su(e){return e==="y"?"height":"width"}function bt(e){return["top","bottom"].includes(pt(e))?"y":"x"}function cu(e){return lu(bt(e))}function rm(e,t,r){r===void 0&&(r=!1);const o=tr(e),n=cu(e),i=su(n);let a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=en(a)),[a,en(a)]}function nm(e){const t=en(e);return[Ca(e),t,Ca(t)]}function Ca(e){return e.replace(/start|end/g,t=>tm[t])}function om(e,t,r){const o=["left","right"],n=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?i:a;default:return[]}}function im(e,t,r,o){const n=tr(e);let i=om(pt(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(Ca)))),i}function en(e){return e.replace(/left|right|bottom|top/g,t=>em[t])}function am(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jd(e){return typeof e!="number"?am(e):{top:e,right:e,bottom:e,left:e}}function tn(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function mc(e,t,r){let{reference:o,floating:n}=e;const i=bt(t),a=cu(t),l=su(a),u=pt(t),s=i==="y",c=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[l]/2-n[l]/2;let p;switch(u){case"top":p={x:c,y:o.y-n.height};break;case"bottom":p={x:c,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-n.width,y:d};break;default:p={x:o.x,y:o.y}}switch(tr(t)){case"start":p[a]-=f*(r&&s?-1:1);break;case"end":p[a]+=f*(r&&s?-1:1);break}return p}const um=async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=mc(s,o,u),f=o,p={},v=0;for(let g=0;g<l.length;g++){const{name:m,fn:b}=l[g],{x:y,y:w,data:I,reset:x}=await b({x:c,y:d,initialPlacement:o,placement:f,strategy:n,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=y??c,d=w??d,p={...p,[m]:{...p[m],...I}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(f=x.placement),x.rects&&(s=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:n}):x.rects),{x:c,y:d}=mc(s,f,u)),g=-1)}return{x:c,y:d,placement:f,strategy:n,middlewareData:p}};async function pr(e,t){var r;t===void 0&&(t={});const{x:o,y:n,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=ft(t,e),v=Jd(p),m=l[f?d==="floating"?"reference":"floating":d],b=tn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(m)))==null||r?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:c,strategy:u})),y=d==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},x=tn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:u}):y);return{top:(b.top-x.top+v.top)/I.y,bottom:(x.bottom-b.bottom+v.bottom)/I.y,left:(b.left-x.left+v.left)/I.x,right:(x.right-b.right+v.right)/I.x}}const lm=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:i,platform:a,elements:l,middlewareData:u}=t,{element:s,padding:c=0}=ft(e,t)||{};if(s==null)return{};const d=Jd(c),f={x:r,y:o},p=cu(n),v=su(p),g=await a.getDimensions(s),m=p==="y",b=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",I=i.reference[v]+i.reference[p]-f[p]-i.floating[v],x=f[p]-i.reference[p],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s));let C=S?S[w]:0;(!C||!await(a.isElement==null?void 0:a.isElement(S)))&&(C=l.floating[w]||i.floating[v]);const E=I/2-x/2,_=C/2-g[v]/2-1,V=ht(d[b],_),N=ht(d[y],_),L=V,P=C-g[v]-N,M=C/2-g[v]/2+E,T=ya(L,M,P),F=!u.arrow&&tr(n)!=null&&M!==T&&i.reference[v]/2-(M<L?V:N)-g[v]/2<0,H=F?M<L?M-L:M-P:0;return{[p]:f[p]+H,data:{[p]:T,centerOffset:M-T-H,...F&&{alignmentOffset:H}},reset:F}}}),sm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:i,rects:a,initialPlacement:l,platform:u,elements:s}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...m}=ft(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=pt(n),y=bt(l),w=pt(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(s.floating)),x=f||(w||!g?[en(l)]:nm(l)),S=v!=="none";!f&&S&&x.push(...im(l,g,v,I));const C=[l,...x],E=await pr(t,m),_=[];let V=((o=i.flip)==null?void 0:o.overflows)||[];if(c&&_.push(E[b]),d){const M=rm(n,a,I);_.push(E[M[0]],E[M[1]])}if(V=[...V,{placement:n,overflows:_}],!_.every(M=>M<=0)){var N,L;const M=(((N=i.flip)==null?void 0:N.index)||0)+1,T=C[M];if(T)return{data:{index:M,overflows:V},reset:{placement:T}};let F=(L=V.filter(H=>H.overflows[0]<=0).sort((H,D)=>H.overflows[1]-D.overflows[1])[0])==null?void 0:L.placement;if(!F)switch(p){case"bestFit":{var P;const H=(P=V.filter(D=>{if(S){const $=bt(D.placement);return $===y||$==="y"}return!0}).map(D=>[D.placement,D.overflows.filter($=>$>0).reduce(($,O)=>$+O,0)]).sort((D,$)=>D[1]-$[1])[0])==null?void 0:P[0];H&&(F=H);break}case"initialPlacement":F=l;break}if(n!==F)return{reset:{placement:F}}}return{}}}};function hc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bc(e){return K3.some(t=>e[t]>=0)}const cm=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...n}=ft(e,t);switch(o){case"referenceHidden":{const i=await pr(t,{...n,elementContext:"reference"}),a=hc(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:bc(a)}}}case"escaped":{const i=await pr(t,{...n,altBoundary:!0}),a=hc(i,r.floating);return{data:{escapedOffsets:a,escaped:bc(a)}}}default:return{}}}}};async function dm(e,t){const{placement:r,platform:o,elements:n}=e,i=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=pt(r),l=tr(r),u=bt(r)==="y",s=["left","top"].includes(a)?-1:1,c=i&&u?-1:1,d=ft(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof v=="number"&&(p=l==="end"?v*-1:v),u?{x:p*c,y:f*s}:{x:f*s,y:p*c}}const fm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:i,placement:a,middlewareData:l}=t,u=await dm(t,e);return a===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+u.x,y:i+u.y,data:{...u,placement:a}}}}},pm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:b,y}=m;return{x:b,y}}},...u}=ft(e,t),s={x:r,y:o},c=await pr(t,u),d=bt(pt(n)),f=lu(d);let p=s[f],v=s[d];if(i){const m=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=p+c[m],w=p-c[b];p=ya(y,p,w)}if(a){const m=d==="y"?"top":"left",b=d==="y"?"bottom":"right",y=v+c[m],w=v-c[b];v=ya(y,v,w)}const g=l.fn({...t,[f]:p,[d]:v});return{...g,data:{x:g.x-r,y:g.y-o,enabled:{[f]:i,[d]:a}}}}}},gm=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:u=!0,crossAxis:s=!0}=ft(e,t),c={x:r,y:o},d=bt(n),f=lu(d);let p=c[f],v=c[d];const g=ft(l,t),m=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const w=f==="y"?"height":"width",I=i.reference[f]-i.floating[w]+m.mainAxis,x=i.reference[f]+i.reference[w]-m.mainAxis;p<I?p=I:p>x&&(p=x)}if(s){var b,y;const w=f==="y"?"width":"height",I=["top","left"].includes(pt(n)),x=i.reference[d]-i.floating[w]+(I&&((b=a.offset)==null?void 0:b[d])||0)+(I?0:m.crossAxis),S=i.reference[d]+i.reference[w]+(I?0:((y=a.offset)==null?void 0:y[d])||0)-(I?m.crossAxis:0);v<x?v=x:v>S&&(v=S)}return{[f]:p,[d]:v}}}},vm=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:i,platform:a,elements:l}=t,{apply:u=()=>{},...s}=ft(e,t),c=await pr(t,s),d=pt(n),f=tr(n),p=bt(n)==="y",{width:v,height:g}=i.floating;let m,b;d==="top"||d==="bottom"?(m=d,b=f===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(b=d,m=f==="end"?"top":"bottom");const y=g-c.top-c.bottom,w=v-c.left-c.right,I=ht(g-c[m],y),x=ht(v-c[b],w),S=!t.middlewareData.shift;let C=I,E=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(C=y),S&&!f){const V=ke(c.left,0),N=ke(c.right,0),L=ke(c.top,0),P=ke(c.bottom,0);p?E=v-2*(V!==0||N!==0?V+N:ke(c.left,c.right)):C=g-2*(L!==0||P!==0?L+P:ke(c.top,c.bottom))}await u({...t,availableWidth:E,availableHeight:C});const _=await a.getDimensions(l.floating);return v!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}};function yn(){return typeof window<"u"}function rr(e){return Ud(e)?(e.nodeName||"").toLowerCase():"#document"}function He(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ct(e){var t;return(t=(Ud(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ud(e){return yn()?e instanceof Node||e instanceof He(e).Node:!1}function Ye(e){return yn()?e instanceof Element||e instanceof He(e).Element:!1}function lt(e){return yn()?e instanceof HTMLElement||e instanceof He(e).HTMLElement:!1}function yc(e){return!yn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof He(e).ShadowRoot}function Ar(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=qe(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function mm(e){return["table","td","th"].includes(rr(e))}function Cn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function du(e){const t=fu(),r=Ye(e)?qe(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function hm(e){let t=yt(e);for(;lt(t)&&!Ut(t);){if(du(t))return t;if(Cn(t))return null;t=yt(t)}return null}function fu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ut(e){return["html","body","#document"].includes(rr(e))}function qe(e){return He(e).getComputedStyle(e)}function xn(e){return Ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yt(e){if(rr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yc(e)&&e.host||ct(e);return yc(t)?t.host:t}function Qd(e){const t=yt(e);return Ut(t)?e.ownerDocument?e.ownerDocument.body:e.body:lt(t)&&Ar(t)?t:Qd(t)}function gr(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const n=Qd(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=He(n);if(i){const l=xa(a);return t.concat(a,a.visualViewport||[],Ar(n)?n:[],l&&r?gr(l):[])}return t.concat(n,gr(n,[],r))}function xa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kd(e){const t=qe(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=lt(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,l=Kr(r)!==i||Kr(o)!==a;return l&&(r=i,o=a),{width:r,height:o,$:l}}function pu(e){return Ye(e)?e:e.contextElement}function zt(e){const t=pu(e);if(!lt(t))return nt(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=Kd(t);let a=(i?Kr(r.width):r.width)/o,l=(i?Kr(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const bm=nt(0);function ef(e){const t=He(e);return!fu()||!t.visualViewport?bm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ym(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==He(e)?!1:t}function Et(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=pu(e);let a=nt(1);t&&(o?Ye(o)&&(a=zt(o)):a=zt(e));const l=ym(i,r,o)?ef(i):nt(0);let u=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,c=n.width/a.x,d=n.height/a.y;if(i){const f=He(i),p=o&&Ye(o)?He(o):o;let v=f,g=xa(v);for(;g&&o&&p!==v;){const m=zt(g),b=g.getBoundingClientRect(),y=qe(g),w=b.left+(g.clientLeft+parseFloat(y.paddingLeft))*m.x,I=b.top+(g.clientTop+parseFloat(y.paddingTop))*m.y;u*=m.x,s*=m.y,c*=m.x,d*=m.y,u+=w,s+=I,v=He(g),g=xa(v)}}return tn({width:c,height:d,x:u,y:s})}function gu(e,t){const r=xn(e).scrollLeft;return t?t.left+r:Et(ct(e)).left+r}function tf(e,t,r){r===void 0&&(r=!1);const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-(r?0:gu(e,o)),i=o.top+t.scrollTop;return{x:n,y:i}}function Cm(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i=n==="fixed",a=ct(o),l=t?Cn(t.floating):!1;if(o===a||l&&i)return r;let u={scrollLeft:0,scrollTop:0},s=nt(1);const c=nt(0),d=lt(o);if((d||!d&&!i)&&((rr(o)!=="body"||Ar(a))&&(u=xn(o)),lt(o))){const p=Et(o);s=zt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}const f=a&&!d&&!i?tf(a,u,!0):nt(0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-u.scrollLeft*s.x+c.x+f.x,y:r.y*s.y-u.scrollTop*s.y+c.y+f.y}}function xm(e){return Array.from(e.getClientRects())}function Im(e){const t=ct(e),r=xn(e),o=e.ownerDocument.body,n=ke(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ke(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+gu(e);const l=-r.scrollTop;return qe(o).direction==="rtl"&&(a+=ke(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:l}}function wm(e,t){const r=He(e),o=ct(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,u=0;if(n){i=n.width,a=n.height;const s=fu();(!s||s&&t==="fixed")&&(l=n.offsetLeft,u=n.offsetTop)}return{width:i,height:a,x:l,y:u}}function Sm(e,t){const r=Et(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=lt(e)?zt(e):nt(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,u=n*i.x,s=o*i.y;return{width:a,height:l,x:u,y:s}}function Cc(e,t,r){let o;if(t==="viewport")o=wm(e,r);else if(t==="document")o=Im(ct(e));else if(Ye(t))o=Sm(t,r);else{const n=ef(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return tn(o)}function rf(e,t){const r=yt(e);return r===t||!Ye(r)||Ut(r)?!1:qe(r).position==="fixed"||rf(r,t)}function Am(e,t){const r=t.get(e);if(r)return r;let o=gr(e,[],!1).filter(l=>Ye(l)&&rr(l)!=="body"),n=null;const i=qe(e).position==="fixed";let a=i?yt(e):e;for(;Ye(a)&&!Ut(a);){const l=qe(a),u=du(a);!u&&l.position==="fixed"&&(n=null),(i?!u&&!n:!u&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ar(a)&&!u&&rf(e,a))?o=o.filter(c=>c!==a):n=l,a=yt(a)}return t.set(e,o),o}function Em(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[...r==="clippingAncestors"?Cn(t)?[]:Am(t,this._c):[].concat(r),o],l=a[0],u=a.reduce((s,c)=>{const d=Cc(t,c,n);return s.top=ke(d.top,s.top),s.right=ht(d.right,s.right),s.bottom=ht(d.bottom,s.bottom),s.left=ke(d.left,s.left),s},Cc(t,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Rm(e){const{width:t,height:r}=Kd(e);return{width:t,height:r}}function Om(e,t,r){const o=lt(t),n=ct(t),i=r==="fixed",a=Et(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=nt(0);if(o||!o&&!i)if((rr(t)!=="body"||Ar(n))&&(l=xn(t)),o){const f=Et(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else n&&(u.x=gu(n));const s=n&&!o&&!i?tf(n,l):nt(0),c=a.left+l.scrollLeft-u.x-s.x,d=a.top+l.scrollTop-u.y-s.y;return{x:c,y:d,width:a.width,height:a.height}}function Yi(e){return qe(e).position==="static"}function xc(e,t){if(!lt(e)||qe(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ct(e)===r&&(r=r.ownerDocument.body),r}function nf(e,t){const r=He(e);if(Cn(e))return r;if(!lt(e)){let n=yt(e);for(;n&&!Ut(n);){if(Ye(n)&&!Yi(n))return n;n=yt(n)}return r}let o=xc(e,t);for(;o&&mm(o)&&Yi(o);)o=xc(o,t);return o&&Ut(o)&&Yi(o)&&!du(o)?r:o||hm(e)||r}const _m=async function(e){const t=this.getOffsetParent||nf,r=this.getDimensions,o=await r(e.floating);return{reference:Om(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Pm(e){return qe(e).direction==="rtl"}const Tm={convertOffsetParentRelativeRectToViewportRelativeRect:Cm,getDocumentElement:ct,getClippingRect:Em,getOffsetParent:nf,getElementRects:_m,getClientRects:xm,getDimensions:Rm,getScale:zt,isElement:Ye,isRTL:Pm};function of(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mm(e,t){let r=null,o;const n=ct(e);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function a(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const s=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=s;if(l||t(),!f||!p)return;const v=Mr(d),g=Mr(n.clientWidth-(c+f)),m=Mr(n.clientHeight-(d+p)),b=Mr(c),w={rootMargin:-v+"px "+-g+"px "+-m+"px "+-b+"px",threshold:ke(0,ht(1,u))||1};let I=!0;function x(S){const C=S[0].intersectionRatio;if(C!==u){if(!I)return a();C?a(!1,C):o=setTimeout(()=>{a(!1,1e-7)},1e3)}C===1&&!of(s,e.getBoundingClientRect())&&a(),I=!1}try{r=new IntersectionObserver(x,{...w,root:n.ownerDocument})}catch{r=new IntersectionObserver(x,w)}r.observe(e)}return a(!0),i}function af(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,s=pu(e),c=n||i?[...s?gr(s):[],...gr(t)]:[];c.forEach(b=>{n&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const d=s&&l?Mm(s,r):null;let f=-1,p=null;a&&(p=new ResizeObserver(b=>{let[y]=b;y&&y.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),r()}),s&&!u&&p.observe(s),p.observe(t));let v,g=u?Et(e):null;u&&m();function m(){const b=Et(e);g&&!of(g,b)&&r(),g=b,v=requestAnimationFrame(m)}return r(),()=>{var b;c.forEach(y=>{n&&y.removeEventListener("scroll",r),i&&y.removeEventListener("resize",r)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,u&&cancelAnimationFrame(v)}}const Fm=fm,Vm=pm,jm=sm,Bm=vm,Lm=cm,Ic=lm,Nm=gm,Dm=(e,t,r)=>{const o=new Map,n={platform:Tm,...r},i={...n.platform,_c:o};return um(e,t,{...n,platform:i})};var Hr=typeof document<"u"?B.useLayoutEffect:B.useEffect;function rn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!rn(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;o--!==0;){const i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!rn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function uf(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wc(e,t){const r=uf(e);return Math.round(t*r)/r}function qi(e){const t=A.useRef(e);return Hr(()=>{t.current=e}),t}function Gm(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:u,open:s}=e,[c,d]=A.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=A.useState(o);rn(f,o)||p(o);const[v,g]=A.useState(null),[m,b]=A.useState(null),y=A.useCallback(D=>{D!==S.current&&(S.current=D,g(D))},[]),w=A.useCallback(D=>{D!==C.current&&(C.current=D,b(D))},[]),I=i||v,x=a||m,S=A.useRef(null),C=A.useRef(null),E=A.useRef(c),_=u!=null,V=qi(u),N=qi(n),L=qi(s),P=A.useCallback(()=>{if(!S.current||!C.current)return;const D={placement:t,strategy:r,middleware:f};N.current&&(D.platform=N.current),Dm(S.current,C.current,D).then($=>{const O={...$,isPositioned:L.current!==!1};M.current&&!rn(E.current,O)&&(E.current=O,d1.flushSync(()=>{d(O)}))})},[f,t,r,N,L]);Hr(()=>{s===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(D=>({...D,isPositioned:!1})))},[s]);const M=A.useRef(!1);Hr(()=>(M.current=!0,()=>{M.current=!1}),[]),Hr(()=>{if(I&&(S.current=I),x&&(C.current=x),I&&x){if(V.current)return V.current(I,x,P);P()}},[I,x,P,V,_]);const T=A.useMemo(()=>({reference:S,floating:C,setReference:y,setFloating:w}),[y,w]),F=A.useMemo(()=>({reference:I,floating:x}),[I,x]),H=A.useMemo(()=>{const D={position:r,left:0,top:0};if(!F.floating)return D;const $=wc(F.floating,c.x),O=wc(F.floating,c.y);return l?{...D,transform:"translate("+$+"px, "+O+"px)",...uf(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:$,top:O}},[r,l,F.floating,c.x,c.y]);return A.useMemo(()=>({...c,update:P,refs:T,elements:F,floatingStyles:H}),[c,P,T,F,H])}const Wm=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:n}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?Ic({element:o.current,padding:n}).fn(r):{}:o?Ic({element:o,padding:n}).fn(r):{}}}},km=(e,t)=>({...Fm(e),options:[e,t]}),Hm=(e,t)=>({...Vm(e),options:[e,t]}),Zm=(e,t)=>({...Nm(e),options:[e,t]}),Xm=(e,t)=>({...jm(e),options:[e,t]}),zm=(e,t)=>({...Bm(e),options:[e,t]}),$m=(e,t)=>({...Lm(e),options:[e,t]}),Ym=(e,t)=>({...Wm(e),options:[e,t]});var qm="Arrow",lf=A.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return h.jsx(he.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});lf.displayName=qm;var Jm=lf;function sf(e){const[t,r]=A.useState(void 0);return at(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,l;if("borderBoxSize"in i){const u=i.borderBoxSize,s=Array.isArray(u)?u[0]:u;a=s.inlineSize,l=s.blockSize}else a=e.offsetWidth,l=e.offsetHeight;r({width:a,height:l})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var vu="Popper",[cf,df]=st(vu),[Um,ff]=cf(vu),pf=e=>{const{__scopePopper:t,children:r}=e,[o,n]=A.useState(null);return h.jsx(Um,{scope:t,anchor:o,onAnchorChange:n,children:r})};pf.displayName=vu;var gf="PopperAnchor",vf=A.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=ff(gf,r),a=A.useRef(null),l=Ve(t,a);return A.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||a.current)}),o?null:h.jsx(he.div,{...n,ref:l})});vf.displayName=gf;var mu="PopperContent",[Qm,Km]=cf(mu),mf=A.forwardRef((e,t)=>{var q,J,K,te,ie,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:s=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:v,...g}=e,m=ff(mu,r),[b,y]=A.useState(null),w=Ve(t,ae=>y(ae)),[I,x]=A.useState(null),S=sf(I),C=(S==null?void 0:S.width)??0,E=(S==null?void 0:S.height)??0,_=o+(i!=="center"?"-"+i:""),V=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},N=Array.isArray(s)?s:[s],L=N.length>0,P={padding:V,boundary:N.filter(th),altBoundary:L},{refs:M,floatingStyles:T,placement:F,isPositioned:H,middlewareData:D}=Gm({strategy:"fixed",placement:_,whileElementsMounted:(...ae)=>af(...ae,{animationFrame:p==="always"}),elements:{reference:m.anchor},middleware:[km({mainAxis:n+E,alignmentAxis:a}),u&&Hm({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Zm():void 0,...P}),u&&Xm({...P}),zm({...P,apply:({elements:ae,rects:ge,availableWidth:de,availableHeight:be})=>{const{width:Ee,height:Se}=ge.reference,le=ae.floating.style;le.setProperty("--radix-popper-available-width",`${de}px`),le.setProperty("--radix-popper-available-height",`${be}px`),le.setProperty("--radix-popper-anchor-width",`${Ee}px`),le.setProperty("--radix-popper-anchor-height",`${Se}px`)}}),I&&Ym({element:I,padding:l}),rh({arrowWidth:C,arrowHeight:E}),f&&$m({strategy:"referenceHidden",...P})]}),[$,O]=yf(F),j=it(v);at(()=>{H&&(j==null||j())},[H,j]);const G=(q=D.arrow)==null?void 0:q.x,X=(J=D.arrow)==null?void 0:J.y,k=((K=D.arrow)==null?void 0:K.centerOffset)!==0,[Y,z]=A.useState();return at(()=>{b&&z(window.getComputedStyle(b).zIndex)},[b]),h.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:H?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[(te=D.transformOrigin)==null?void 0:te.x,(ie=D.transformOrigin)==null?void 0:ie.y].join(" "),...((W=D.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(Qm,{scope:r,placedSide:$,onArrowChange:x,arrowX:G,arrowY:X,shouldHideArrow:k,children:h.jsx(he.div,{"data-side":$,"data-align":O,...g,ref:w,style:{...g.style,animation:H?void 0:"none"}})})})});mf.displayName=mu;var hf="PopperArrow",eh={top:"bottom",right:"left",bottom:"top",left:"right"},bf=A.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=Km(hf,o),a=eh[i.placedSide];return h.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:h.jsx(Jm,{...n,ref:r,style:{...n.style,display:"block"}})})});bf.displayName=hf;function th(e){return e!==null}var rh=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:r,rects:o,middlewareData:n}=t,a=((m=n.arrow)==null?void 0:m.centerOffset)!==0,l=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[s,c]=yf(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+l/2,p=(((y=n.arrow)==null?void 0:y.y)??0)+u/2;let v="",g="";return s==="bottom"?(v=a?d:`${f}px`,g=`${-u}px`):s==="top"?(v=a?d:`${f}px`,g=`${o.floating.height+u}px`):s==="right"?(v=`${-u}px`,g=a?d:`${p}px`):s==="left"&&(v=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:v,y:g}}}});function yf(e){const[t,r="center"]=e.split("-");return[t,r]}var nh=pf,oh=vf,ih=mf,ah=bf,uh="Portal",Cf=A.forwardRef((e,t)=>{var l;const{container:r,...o}=e,[n,i]=A.useState(!1);at(()=>i(!0),[]);const a=r||n&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?St.createPortal(h.jsx(he.div,{...o,ref:t}),a):null});Cf.displayName=uh;var lh="VisuallyHidden",xf=A.forwardRef((e,t)=>h.jsx(he.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));xf.displayName=lh;var sh=xf,[In,k7]=st("Tooltip",[df]),wn=df(),If="TooltipProvider",ch=700,Ia="tooltip.open",[dh,hu]=In(If),wf=e=>{const{__scopeTooltip:t,delayDuration:r=ch,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:i}=e,[a,l]=A.useState(!0),u=A.useRef(!1),s=A.useRef(0);return A.useEffect(()=>{const c=s.current;return()=>window.clearTimeout(c)},[]),h.jsx(dh,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:A.useCallback(()=>{window.clearTimeout(s.current),l(!1)},[]),onClose:A.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>l(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:A.useCallback(c=>{u.current=c},[]),disableHoverableContent:n,children:i})};wf.displayName=If;var Sn="Tooltip",[fh,An]=In(Sn),Sf=e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:l}=e,u=hu(Sn,e.__scopeTooltip),s=wn(t),[c,d]=A.useState(null),f=mt(),p=A.useRef(0),v=a??u.disableHoverableContent,g=l??u.delayDuration,m=A.useRef(!1),[b=!1,y]=Ct({prop:o,defaultProp:n,onChange:C=>{C?(u.onOpen(),document.dispatchEvent(new CustomEvent(Ia))):u.onClose(),i==null||i(C)}}),w=A.useMemo(()=>b?m.current?"delayed-open":"instant-open":"closed",[b]),I=A.useCallback(()=>{window.clearTimeout(p.current),p.current=0,m.current=!1,y(!0)},[y]),x=A.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y(!1)},[y]),S=A.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{m.current=!0,y(!0),p.current=0},g)},[g,y]);return A.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),h.jsx(nh,{...s,children:h.jsx(fh,{scope:t,contentId:f,open:b,stateAttribute:w,trigger:c,onTriggerChange:d,onTriggerEnter:A.useCallback(()=>{u.isOpenDelayed?S():I()},[u.isOpenDelayed,S,I]),onTriggerLeave:A.useCallback(()=>{v?x():(window.clearTimeout(p.current),p.current=0)},[x,v]),onOpen:I,onClose:x,disableHoverableContent:v,children:r})})};Sf.displayName=Sn;var wa="TooltipTrigger",Af=A.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=An(wa,r),i=hu(wa,r),a=wn(r),l=A.useRef(null),u=Ve(t,l,n.onTriggerChange),s=A.useRef(!1),c=A.useRef(!1),d=A.useCallback(()=>s.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.jsx(oh,{asChild:!0,...a,children:h.jsx(he.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:u,onPointerMove:we(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:we(e.onPointerDown,()=>{s.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:we(e.onFocus,()=>{s.current||n.onOpen()}),onBlur:we(e.onBlur,n.onClose),onClick:we(e.onClick,n.onClose)})})});Af.displayName=wa;var ph="TooltipPortal",[H7,gh]=In(ph,{forceMount:void 0}),Qt="TooltipContent",Ef=A.forwardRef((e,t)=>{const r=gh(Qt,e.__scopeTooltip),{forceMount:o=r.forceMount,side:n="top",...i}=e,a=An(Qt,e.__scopeTooltip);return h.jsx(_t,{present:o||a.open,children:a.disableHoverableContent?h.jsx(Rf,{side:n,...i,ref:t}):h.jsx(vh,{side:n,...i,ref:t})})}),vh=A.forwardRef((e,t)=>{const r=An(Qt,e.__scopeTooltip),o=hu(Qt,e.__scopeTooltip),n=A.useRef(null),i=Ve(t,n),[a,l]=A.useState(null),{trigger:u,onClose:s}=r,c=n.current,{onPointerInTransitChange:d}=o,f=A.useCallback(()=>{l(null),d(!1)},[d]),p=A.useCallback((v,g)=>{const m=v.currentTarget,b={x:v.clientX,y:v.clientY},y=bh(b,m.getBoundingClientRect()),w=yh(b,y),I=Ch(g.getBoundingClientRect()),x=Ih([...w,...I]);l(x),d(!0)},[d]);return A.useEffect(()=>()=>f(),[f]),A.useEffect(()=>{if(u&&c){const v=m=>p(m,c),g=m=>p(m,u);return u.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[u,c,p,f]),A.useEffect(()=>{if(a){const v=g=>{const m=g.target,b={x:g.clientX,y:g.clientY},y=(u==null?void 0:u.contains(m))||(c==null?void 0:c.contains(m)),w=!xh(b,a);y?f():w&&(f(),s())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[u,c,a,s,f]),h.jsx(Rf,{...e,ref:i})}),[mh,hh]=In(Sn,{isInside:!1}),Rf=A.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:a,...l}=e,u=An(Qt,r),s=wn(r),{onClose:c}=u;return A.useEffect(()=>(document.addEventListener(Ia,c),()=>document.removeEventListener(Ia,c)),[c]),A.useEffect(()=>{if(u.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(u.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,c]),h.jsx(uu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:h.jsxs(ih,{"data-state":u.stateAttribute,...s,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(g1,{children:o}),h.jsx(mh,{scope:r,isInside:!0,children:h.jsx(sh,{id:u.contentId,role:"tooltip",children:n||o})})]})})});Ef.displayName=Qt;var Of="TooltipArrow",_f=A.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=wn(r);return hh(Of,r).isInside?null:h.jsx(ah,{...n,...o,ref:t})});_f.displayName=Of;function bh(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,o,n,i)){case i:return"left";case n:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function yh(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function Ch(e){const{top:t,right:r,bottom:o,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:o},{x:n,y:o}]}function xh(e,t){const{x:r,y:o}=e;let n=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const l=t[i].x,u=t[i].y,s=t[a].x,c=t[a].y;u>o!=c>o&&r<(s-l)*(o-u)/(c-u)+l&&(n=!n)}return n}function Ih(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),wh(t)}function wh(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))t.pop();else break}t.push(n)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const n=e[o];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))r.pop();else break}r.push(n)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Sh=wf,Ah=Sf,Eh=Af,Rh=Ef,Oh=_f;const Sa=({open:e,content:t,children:r,defaultOpen:o,onOpenChange:n,side:i="top"})=>{const a=Q.tooltip({});return h.jsx(Sh,{delayDuration:800,skipDelayDuration:500,children:h.jsxs(Ah,{open:e,defaultOpen:o,onOpenChange:n,children:[h.jsx(Eh,{children:r}),h.jsxs(Rh,{side:i,className:a.content,children:[t,h.jsx(Oh,{className:a.arrow})]})]})})},_h=({size:e,side:t,apps:r=[],showItems:o=4,square:n,rawCounter:i,inline:a})=>{var s,c;const l=`+${i==null?void 0:i.toLocaleString("pt-BR")}`,u=Q.avatarGroup({square:n});return h.jsxs("div",{className:u.container,children:[(s=r==null?void 0:r.filter((d,f)=>f<o))==null?void 0:s.map((d,f)=>h.jsx("div",{className:u.avatarStyle,children:h.jsx(Sa,{side:t,content:d&&(d==null?void 0:d.name),children:h.jsx($d,{source:d==null?void 0:d.icon,size:e,shape:n?"square":"default",inline:a})})},f)),i&&h.jsx("div",{className:u.othersStyle,children:h.jsx(Le,{size:"small",color:"muted",fontWeight:"bold",children:l})}),!i&&r.length>o&&h.jsx("div",{className:u.othersStyle,children:h.jsx(Sa,{side:t,content:(c=r==null?void 0:r.filter((d,f)=>f>=o))==null?void 0:c.map((d,f)=>h.jsx(Le,{size:"micro",textAlign:"center",color:"inverse",collapsed:!0,children:d&&(d==null?void 0:d.name)},d?d==null?void 0:d.name:f)),children:h.jsx(Le,{size:"small",color:"muted",fontWeight:"bold",children:`+${r.length-o}`})})})]})},Ph=({border:e,padding:t,children:r,relative:o,direction:n,alignItems:i,fullHeight:a,background:l,justifyContent:u,...s})=>h.jsx("div",{...s,className:Q.block({border:e,padding:t,relative:o,direction:n,alignItems:i,fullHeight:a,background:l,justifyContent:u}),children:r}),Th=({size:e,segments:t,showItems:r=4})=>{const o=Q.boxGroupSlot({size:e}),n=(l,u,s)=>h.jsxs("div",{className:o.subItens,children:[h.jsx("div",{className:o.boxStyle,children:u.name}),h.jsx("div",{className:o.boxStyle,children:l[s+1].name})]},s),i=(l,u)=>h.jsx("div",{className:o.subItens,children:h.jsx("div",{className:Q.boxGroupSlot({size:e}).boxStyle,children:l.name})},u),a=()=>{const l=t.filter((u,s)=>s<r);return l.map((u,s)=>s+1<l.length&&s%2===0?n(l,u,s):l.length%2!==0&&s===l.length-1?i(u,s):null)};return h.jsxs("div",{className:o.container,children:[h.jsx("div",{className:o.rowStyle,children:a()}),t.length>r&&h.jsx("div",{className:o.others,children:h.jsx(Sa,{side:"bottom",content:t.filter((l,u)=>u>=r).map((l,u)=>h.jsx(Le,{collapsed:!0,size:"micro",color:"inverse",textAlign:"center",children:l&&l.name},l?l.name:u)),children:h.jsx(Le,{size:"small",color:"gray",fontWeight:"bold",children:`+${(t==null?void 0:t.length)-r}`})})})]})},Mh=Q.css({display:"flex",alignItems:"center",justifyContent:"center"}),bu=({color:e,second:t,size:r,third:o})=>h.jsxs("div",{className:Mh,children:[h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})}),h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})}),h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})})]}),En=B.forwardRef(({size:e,tall:t,block:r,shape:o,short:n,style:i,type:a,compact:l,grouped:u,loading:s,spacing:c,shimmer:d,children:f,leftIcon:p,disabled:v,fullWidth:g,rightIcon:m,underlined:b,onBlur:y,onClick:w,...I},x)=>{const S=i==="ghost"?"primary":i==="solid"?"secondary":i==="mono"?"mono":"primary";return h.jsxs("button",{ref:x,type:a,disabled:v,onBlur:y,onClick:w,className:Q.button({size:e,tall:t,block:r,shape:o,short:n,style:i,compact:l,grouped:u,loading:s,spacing:c,fullWidth:g,underlined:b,leftIcon:!!p,rightIcon:!!m}).buttonStyle,...I,children:[s&&d&&h.jsx("div",{className:Q.button({}).wrapperShimmer,children:h.jsx(ze,{height:"100%",width:"100%"})}),h.jsxs("div",{className:Q.button({leftIcon:!!p,rightIcon:!!m,contentLoading:!!s,contentFullWidth:!!g}).contentStyle,children:[p,f,m]}),s&&h.jsx("div",{className:Q.button({}).buttonLoader,children:!d&&h.jsx(bu,{size:"small",color:S})})]})});En.displayName="Button";const Fh=({fit:e,size:t,auto:r,grow:o,style:n,shrink:i,scroll:a,children:l,relative:u,largeSize:s,noSpacing:c,mediumSize:d,xlargeSize:f,fitOnLarge:p,fullHeight:v,fitOnMedium:g,fitOnXlarge:m,autoOnLarge:b,growOnLarge:y,microSpacing:w,smallSpacing:I,largeSpacing:x,autoOnMedium:S,autoOnXlarge:C,growOnMedium:E,growOnXlarge:_,shrinkOnLarge:V,shrinkOnMedium:N,shrinkOnXlarge:L,verticalSpacing:P,fullHeightOnLarge:M,fullHeightOnMedium:T,fullHeightOnXlarge:F,microVerticalSpacing:H,smallVerticalSpacing:D,largeVerticalSpacing:$})=>{const O=f||s||d||t,j=Q.cx(Q.cell({fit:e,auto:r,grow:o,scroll:a,shrink:i,relative:u,noSpacing:c,fitOnLarge:p,fullHeight:v,fitOnMedium:g,fitOnXlarge:m,autoOnLarge:b,growOnLarge:y,microSpacing:w,largeSpacing:x,autoOnMedium:S,autoOnXlarge:C,growOnMedium:E,growOnXlarge:_,shrinkOnLarge:V,shrinkOnMedium:N,shrinkOnXlarge:L,verticalSpacing:P,fullHeightOnLarge:M,fullHeightOnMedium:T,fullHeightOnXlarge:F,microVerticalSpacing:H,smallVerticalSpacing:D,largeVerticalSpacing:$,smallPadding:I}),Q.css({small:t??O,large:s??O,medium:d??O,xlarge:f??O}));return h.jsx("div",{style:n,className:j,children:l})},Pf=({children:e,htmlFor:t,inline:r,table:o})=>{const n=Q.labelSlot({inline:r,table:o});return h.jsx("label",{className:n.labelStyles,htmlFor:t,children:o?h.jsx("div",{className:n.tableRow,children:e}):e})},Vh=({checked:e,defaultChecked:t,disabled:r,id:o,invalid:n,name:i,onBlur:a,onChange:l,onFocus:u})=>{const s=Q.checkBoxSlot({});return h.jsx("div",{className:s.containerCheckOnly,children:h.jsxs("div",{className:Q.checkBoxSlot({disabled:r,invalid:n}).checkboxStyle,children:[h.jsx("input",{className:s.checkboxInput,type:"checkbox",id:o,name:i,checked:e,defaultChecked:t,disabled:r,"aria-invalid":n,onBlur:a,onChange:l,onFocus:u}),h.jsx("div",{className:s.markContainer,"data-fake-checkbox":!n&&!r,children:e&&h.jsx("div",{className:s.checkMark,children:h.jsx("svg",{className:s.checkMarkIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54.19 42.05",children:h.jsx("path",{d:"M48,0a6,6,0,0,0-4.12,1.81c-9.36,9.38-16.58,17.25-25.16,26L10,20.47a6,6,0,0,0-8,8.92l.28.23,13,11a6,6,0,0,0,8.13-.34c10.79-10.81,18.46-19.43,29-30A6,6,0,0,0,48,0Z"})})})})]})})},jh=({id:e,name:t,label:r,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:l,onChange:u,subtitle:s,pullRight:c,boldLabel:d,smallLabel:f,inlineText:p})=>{const v=Q.checkBoxSlot({pullRight:c,spacing:!c,marginRight:c,columnTextBreak:!p,columnTextNoBreak:p});return h.jsxs(Pf,{htmlFor:e,children:[h.jsx("div",{className:v.columnStyles,children:h.jsx(Vh,{id:e,name:t,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:l,onChange:u})}),r&&h.jsxs("div",{className:v.columnStyles,children:[h.jsx("div",{className:v.checkboxLabel,children:typeof r=="string"?h.jsx(Le,{disabled:l,size:f?"small":"regular",fontWeight:d?"bold":"semibold",children:r}):r}),s&&h.jsx("div",{className:v.subtitle,children:h.jsx(Le,{size:"micro",color:"gray",children:s})})]})]})},Bh=({children:e,disabled:t,inline:r,inverse:o,onClick:n,rectangular:i})=>r?h.jsx("span",{className:Q.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e}):h.jsx("div",{className:Q.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e});var Ji="focusScope.autoFocusOnMount",Ui="focusScope.autoFocusOnUnmount",Sc={bubbles:!1,cancelable:!0},Lh="FocusScope",Tf=A.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[l,u]=A.useState(null),s=it(n),c=it(i),d=A.useRef(null),f=Ve(t,g=>u(g)),p=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(o){let g=function(w){if(p.paused||!l)return;const I=w.target;l.contains(I)?d.current=I:vt(d.current,{select:!0})},m=function(w){if(p.paused||!l)return;const I=w.relatedTarget;I!==null&&(l.contains(I)||vt(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const x of w)x.removedNodes.length>0&&vt(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",m);const y=new MutationObserver(b);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",m),y.disconnect()}}},[o,l,p.paused]),A.useEffect(()=>{if(l){Ec.add(p);const g=document.activeElement;if(!l.contains(g)){const b=new CustomEvent(Ji,Sc);l.addEventListener(Ji,s),l.dispatchEvent(b),b.defaultPrevented||(Nh(Hh(Mf(l)),{select:!0}),document.activeElement===g&&vt(l))}return()=>{l.removeEventListener(Ji,s),setTimeout(()=>{const b=new CustomEvent(Ui,Sc);l.addEventListener(Ui,c),l.dispatchEvent(b),b.defaultPrevented||vt(g??document.body,{select:!0}),l.removeEventListener(Ui,c),Ec.remove(p)},0)}}},[l,s,c,p]);const v=A.useCallback(g=>{if(!r&&!o||p.paused)return;const m=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(m&&b){const y=g.currentTarget,[w,I]=Dh(y);w&&I?!g.shiftKey&&b===I?(g.preventDefault(),r&&vt(w,{select:!0})):g.shiftKey&&b===w&&(g.preventDefault(),r&&vt(I,{select:!0})):b===y&&g.preventDefault()}},[r,o,p.paused]);return h.jsx(he.div,{tabIndex:-1,...a,ref:f,onKeyDown:v})});Tf.displayName=Lh;function Nh(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(vt(o,{select:t}),document.activeElement!==r)return}function Dh(e){const t=Mf(e),r=Ac(t,e),o=Ac(t.reverse(),e);return[r,o]}function Mf(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ac(e,t){for(const r of e)if(!Gh(r,{upTo:t}))return r}function Gh(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Wh(e){return e instanceof HTMLInputElement&&"select"in e}function vt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Wh(e)&&t&&e.select()}}var Ec=kh();function kh(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Rc(e,t),e.unshift(t)},remove(t){var r;e=Rc(e,t),(r=e[0])==null||r.resume()}}}function Rc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function Hh(e){return e.filter(t=>t.tagName!=="A")}var Qi=0;function Zh(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Oc()),document.body.insertAdjacentElement("beforeend",e[1]??Oc()),Qi++,()=>{Qi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Qi--}},[])}function Oc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var rt=function(){return rt=Object.assign||function(t){for(var r,o=1,n=arguments.length;o<n;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},rt.apply(this,arguments)};function Ff(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}function Xh(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Zr="right-scroll-bar-position",Xr="width-before-scroll-bar",zh="with-scroll-bars-hidden",$h="--removed-body-scroll-bar-size";function Ki(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Yh(e,t){var r=B.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(o){var n=r.value;n!==o&&(r.value=o,r.callback(o,n))}}}})[0];return r.callback=t,r.facade}var qh=typeof window<"u"?A.useLayoutEffect:A.useEffect,_c=new WeakMap;function Jh(e,t){var r=Yh(null,function(o){return e.forEach(function(n){return Ki(n,o)})});return qh(function(){var o=_c.get(r);if(o){var n=new Set(o),i=new Set(e),a=r.current;n.forEach(function(l){i.has(l)||Ki(l,null)}),i.forEach(function(l){n.has(l)||Ki(l,a)})}_c.set(r,e)},[e]),r}function Uh(e){return e}function Qh(e,t){t===void 0&&(t=Uh);var r=[],o=!1,n={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,o);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(i){for(o=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){o=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(i),a=r}var u=function(){var c=a;a=[],c.forEach(i)},s=function(){return Promise.resolve().then(u)};s(),r={push:function(c){a.push(c),s()},filter:function(c){return a=a.filter(c),r}}}};return n}function Kh(e){e===void 0&&(e={});var t=Qh(null);return t.options=rt({async:!0,ssr:!1},e),t}var Vf=function(e){var t=e.sideCar,r=Ff(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return A.createElement(o,rt({},r))};Vf.isSideCarExport=!0;function e4(e,t){return e.useMedium(t),Vf}var jf=Kh(),ea=function(){},Rn=A.forwardRef(function(e,t){var r=A.useRef(null),o=A.useState({onScrollCapture:ea,onWheelCapture:ea,onTouchMoveCapture:ea}),n=o[0],i=o[1],a=e.forwardProps,l=e.children,u=e.className,s=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,v=e.inert,g=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,y=e.gapMode,w=Ff(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=f,x=Jh([r,t]),S=rt(rt({},w),n);return A.createElement(A.Fragment,null,c&&A.createElement(I,{sideCar:jf,removeScrollBar:s,shards:d,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:r,gapMode:y}),a?A.cloneElement(A.Children.only(l),rt(rt({},S),{ref:x})):A.createElement(b,rt({},S,{className:u,ref:x}),l))});Rn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rn.classNames={fullWidth:Xr,zeroRight:Zr};var t4=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function r4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=t4();return t&&e.setAttribute("nonce",t),e}function n4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var i4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=r4())&&(n4(t,r),o4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a4=function(){var e=i4();return function(t,r){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Bf=function(){var e=a4(),t=function(r){var o=r.styles,n=r.dynamic;return e(o,n),null};return t},u4={left:0,top:0,right:0,gap:0},ta=function(e){return parseInt(e||"",10)||0},l4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[ta(r),ta(o),ta(n)]},s4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return u4;var t=l4(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},c4=Bf(),$t="data-scroll-locked",d4=function(e,t,r,o){var n=e.left,i=e.top,a=e.right,l=e.gap;return r===void 0&&(r="margin"),`
|
|
69
|
+
`+JSON.stringify(C))}Object.defineProperty(n,"__esModule",{value:!0});var c=Object.assign||function(C){for(var E=1;E<arguments.length;E++){var _=arguments[E];for(var V in _)Object.prototype.hasOwnProperty.call(_,V)&&(C[V]=_[V])}return C},d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C};n.default=l;var f=i(4),p=a(f),v=i(3),g=a(v),m=i(2),b=i(1),y="",w="none",I="object",x=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),S=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout},function(o,n){function i(l){return function(){return l}}var a=function(){};a.thatReturns=i,a.thatReturnsFalse=i(!1),a.thatReturnsTrue=i(!0),a.thatReturnsNull=i(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(l){return l},o.exports=a},function(o,n,i){function a(l,u,s,c,d,f,p,v){if(!l){var g;if(u===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[s,c,d,f,p,v],b=0;g=new Error(u.replace(/%s/g,function(){return m[b++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}}o.exports=a},function(o,n,i){var a=i(6),l=i(7),u=i(10);o.exports=function(){function s(f,p,v,g,m,b){b!==u&&l(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function c(){return s}s.isRequired=s;var d={array:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:c,element:s,instanceOf:c,node:s,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return d.checkPropTypes=a,d.PropTypes=d,d}},function(o,n,i){o.exports=i(8)()},function(o,n){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";o.exports=i},function(o,n){o.exports=r}])})})(Ld);var M3=Ld.exports;const F3=Va(M3);var V3="Separator",pc="horizontal",j3=["horizontal","vertical"],Nd=A.forwardRef((e,t)=>{const{decorative:r,orientation:o=pc,...n}=e,i=B3(o)?o:pc,l=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return h.jsx(he.div,{"data-orientation":i,...l,...n,ref:t})});Nd.displayName=V3;function B3(e){return j3.includes(e)}var L3=Nd;const ha=({orientation:e,marginVertical:t,marginHorizontal:r})=>h.jsx(L3,{className:Q.separator({orientation:e,marginHorizontal:r,marginVertical:t})}),Dd=B.forwardRef(({id:e,flat:t,mask:r,name:o,type:n,icon:i,size:a,value:l,block:u,style:s,color:c,onBlur:d,prefix:f,suffix:p,invalid:v,error:g,inverse:m,onFocus:b,shimmer:y,disabled:w,floating:I,onChange:x,readOnly:S,maxLength:C,onKeyDown:E,noPadding:_,separator:V,borderless:N,spellCheck:L,autoCorrect:P,placeholder:M,autoComplete:T,removeMargin:F,focusBorderless:H,separatorPrefix:D,separatorSuffix:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,inputDefaultPlaceholder:X,inputInversePlaceholder:k,inpuFakeValuePlaceholder:Y,...z},q)=>{const J=Q.input({flat:t,block:u,prefix:!!f,suffix:!!p,inverse:m,invalid:v,error:g,color:c,size:a,disabled:w,floating:I,noPadding:_,separator:V,borderless:N,removeMargin:F,focusBorderless:H,separatorPrefix:D,separatorSuffix:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,inputDefaultPlaceholder:X,inputInversePlaceholder:k,inpuFakeValuePlaceholder:Y});return h.jsxs("div",{ref:q,className:J.root,style:s,children:[y&&h.jsx("div",{className:J.loader,children:h.jsx(ze,{width:"100%",height:"100%"})}),f&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:J.prefixContainer,children:f}),D&&h.jsx(ha,{orientation:"vertical",marginVertical:"small"})]}),r!=null?h.jsx(F3,{id:e,mask:r,name:o,type:n,value:l,onBlur:d,onFocus:b,onChange:x,readOnly:S,disabled:!!w,maxLength:C,onKeyDown:E,spellCheck:L,"aria-readonly":S,autoCorrect:P,placeholder:M,className:J.masked,autoComplete:T,...z}):h.jsx("input",{id:e,name:o,type:n,value:l,onBlur:d,onFocus:b,onChange:x,readOnly:S,disabled:!!w,maxLength:C,onKeyDown:E,spellCheck:L,"aria-readonly":S,className:J.input,autoCorrect:P,placeholder:M,autoComplete:T,...z}),i&&i,p&&h.jsxs(h.Fragment,{children:[$&&h.jsx(ha,{orientation:"vertical",marginVertical:"small"}),h.jsx("div",{className:J.separator,children:p})]})]})});Dd.displayName="InputOnly";const Gd=B.forwardRef(({id:e,name:t,mask:r,type:o,size:n,label:i,value:a,style:l,color:u,inline:s,onBlur:c,prefix:d,suffix:f,invalid:p,error:v,inverse:g,onFocus:m,disabled:b,floating:y,onChange:w,readOnly:I,hideLabel:x=!1,maxLength:S,onKeyDown:C,borderless:E,fontWeight:_,spellCheck:V,autoCorrect:N,placeholder:L,autoComplete:P,errorMessage:M,removeMargin:T,focusBorderless:F,separatorPrefix:H,separatorSuffix:D,labelDescription:$,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G,...X},k)=>h.jsx(Bd,{label:i,inline:s,invalid:p,hideLabel:x,fontWeight:_,errorMessage:M,labelDescription:$,block:!1,children:h.jsx(Dd,{id:e,ref:k,...X,size:n,name:t,mask:r,type:o,color:u,value:a,style:l,onBlur:c,prefix:d,suffix:f,invalid:p,error:v,inverse:g,onFocus:m,disabled:b,floating:y,onChange:w,readOnly:I,maxLength:S,onKeyDown:C,borderless:E,spellCheck:V,autoCorrect:N,placeholder:L,autoComplete:P,removeMargin:T,focusBorderless:F,separatorPrefix:H,separatorSuffix:D,removePrefixSpacing:O,removeSuffixSpacing:j,showOverflowEllipsis:G})}));function N3({id:e,name:t,size:r,label:o,value:n,prefix:i,inline:a,invalid:l,inverse:u,disabled:s,hideLabel:c,placeholder:d,labelDescription:f,inputRemoveMargins:p,inputFocusBorderless:v,inputOverflowEllipsis:g}){return h.jsx(jd,{onOutsideClick:()=>{},children:h.jsx(Gd,{id:e,name:t,type:"text",value:n,label:o,size:r,prefix:!!i,inline:a,invalid:l,inverse:u,autoComplete:"off",disabled:s,hideLabel:c,placeholder:d,removeMargin:p,labelDescription:f,focusBorderless:v,showOverflowEllipsis:g,color:"gray",separatorPrefix:!1,separatorSuffix:!1,removePrefixSpacing:!1,removeSuffixSpacing:!1,suffix:!1,noPadding:!1,error:!1,flat:!1,borderless:!1,floating:!1,separator:!1,block:!1,inputDefaultPlaceholder:!1,inpuFakeValuePlaceholder:!1,inputInversePlaceholder:!1})})}var au="Avatar",[D3,W7]=st(au),[G3,Wd]=D3(au),kd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,...o}=e,[n,i]=A.useState("idle");return h.jsx(G3,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:i,children:h.jsx(he.span,{...o,ref:t})})});kd.displayName=au;var Hd="AvatarImage",Zd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...i}=e,a=Wd(Hd,r),l=W3(o,i.referrerPolicy),u=it(s=>{n(s),a.onImageLoadingStatusChange(s)});return at(()=>{l!=="idle"&&u(l)},[l,u]),l==="loaded"?h.jsx(he.img,{...i,ref:t,src:o}):null});Zd.displayName=Hd;var Xd="AvatarFallback",zd=A.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:o,...n}=e,i=Wd(Xd,r),[a,l]=A.useState(o===void 0);return A.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>l(!0),o);return()=>window.clearTimeout(u)}},[o]),a&&i.imageLoadingStatus!=="loaded"?h.jsx(he.span,{...n,ref:t}):null});zd.displayName=Xd;function W3(e,t){const[r,o]=A.useState("idle");return at(()=>{if(!e){o("error");return}let n=!0;const i=new window.Image,a=l=>()=>{n&&o(l)};return o("loading"),i.onload=a("loaded"),i.onerror=a("error"),i.src=e,t&&(i.referrerPolicy=t),()=>{n=!1}},[e,t]),r}var k3=kd,H3=Zd,Z3=zd;const $d=({icon:e,size:t,shape:r,source:o,inline:n,loading:i,fallback:a})=>{const l=Q.avatar({inline:n,size:t,shape:r});return h.jsxs(k3,{className:l.root,children:[h.jsx(H3,{className:l.image,src:o,alt:"Avatar"}),h.jsxs(Z3,{className:l.fallback,delayMs:600,children:[a&&!i&&!e&&a,!a&&!i&&e&&h.jsx(ut,{name:"alert",size:"large",color:"secondary"}),i&&h.jsx(ze,{width:"100%",height:"100%"})]})]})};function X3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e);A.useEffect(()=>{const o=n=>{n.key==="Escape"&&r(n)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[r,t])}var z3="DismissableLayer",ba="dismissableLayer.update",$3="dismissableLayer.pointerDownOutside",Y3="dismissableLayer.focusOutside",gc,Yd=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uu=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...u}=e,s=A.useContext(Yd),[c,d]=A.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=A.useState({}),v=Ve(t,C=>d(C)),g=Array.from(s.layers),[m]=[...s.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(m),y=c?g.indexOf(c):-1,w=s.layersWithOutsidePointerEventsDisabled.size>0,I=y>=b,x=U3(C=>{const E=C.target,_=[...s.branches].some(V=>V.contains(E));!I||_||(n==null||n(C),a==null||a(C),C.defaultPrevented||l==null||l())},f),S=Q3(C=>{const E=C.target;[...s.branches].some(V=>V.contains(E))||(i==null||i(C),a==null||a(C),C.defaultPrevented||l==null||l())},f);return X3(C=>{y===s.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&l&&(C.preventDefault(),l()))},f),A.useEffect(()=>{if(c)return r&&(s.layersWithOutsidePointerEventsDisabled.size===0&&(gc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),s.layersWithOutsidePointerEventsDisabled.add(c)),s.layers.add(c),vc(),()=>{r&&s.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=gc)}},[c,f,r,s]),A.useEffect(()=>()=>{c&&(s.layers.delete(c),s.layersWithOutsidePointerEventsDisabled.delete(c),vc())},[c,s]),A.useEffect(()=>{const C=()=>p({});return document.addEventListener(ba,C),()=>document.removeEventListener(ba,C)},[]),h.jsx(he.div,{...u,ref:v,style:{pointerEvents:w?I?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,S.onFocusCapture),onBlurCapture:we(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,x.onPointerDownCapture)})});uu.displayName=z3;var q3="DismissableLayerBranch",J3=A.forwardRef((e,t)=>{const r=A.useContext(Yd),o=A.useRef(null),n=Ve(t,o);return A.useEffect(()=>{const i=o.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),h.jsx(he.div,{...e,ref:n})});J3.displayName=q3;function U3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e),o=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=l=>{if(l.target&&!o.current){let u=function(){qd($3,r,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=u,t.addEventListener("click",n.current,{once:!0})):u()}else t.removeEventListener("click",n.current);o.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}function Q3(e,t=globalThis==null?void 0:globalThis.document){const r=it(e),o=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!o.current&&qd(Y3,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function vc(){const e=new CustomEvent(ba);document.dispatchEvent(e)}function qd(e,t,r,{discrete:o}){const n=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),o?Hp(n,i):n.dispatchEvent(i)}const K3=["top","right","bottom","left"],ht=Math.min,ke=Math.max,Kr=Math.round,Mr=Math.floor,nt=e=>({x:e,y:e}),em={left:"right",right:"left",bottom:"top",top:"bottom"},tm={start:"end",end:"start"};function ya(e,t,r){return ke(e,ht(t,r))}function ft(e,t){return typeof e=="function"?e(t):e}function pt(e){return e.split("-")[0]}function tr(e){return e.split("-")[1]}function lu(e){return e==="x"?"y":"x"}function su(e){return e==="y"?"height":"width"}function bt(e){return["top","bottom"].includes(pt(e))?"y":"x"}function cu(e){return lu(bt(e))}function rm(e,t,r){r===void 0&&(r=!1);const o=tr(e),n=cu(e),i=su(n);let a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=en(a)),[a,en(a)]}function nm(e){const t=en(e);return[Ca(e),t,Ca(t)]}function Ca(e){return e.replace(/start|end/g,t=>tm[t])}function om(e,t,r){const o=["left","right"],n=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?i:a;default:return[]}}function im(e,t,r,o){const n=tr(e);let i=om(pt(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(Ca)))),i}function en(e){return e.replace(/left|right|bottom|top/g,t=>em[t])}function am(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jd(e){return typeof e!="number"?am(e):{top:e,right:e,bottom:e,left:e}}function tn(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function mc(e,t,r){let{reference:o,floating:n}=e;const i=bt(t),a=cu(t),l=su(a),u=pt(t),s=i==="y",c=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[l]/2-n[l]/2;let p;switch(u){case"top":p={x:c,y:o.y-n.height};break;case"bottom":p={x:c,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:d};break;case"left":p={x:o.x-n.width,y:d};break;default:p={x:o.x,y:o.y}}switch(tr(t)){case"start":p[a]-=f*(r&&s?-1:1);break;case"end":p[a]+=f*(r&&s?-1:1);break}return p}const um=async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:d}=mc(s,o,u),f=o,p={},v=0;for(let g=0;g<l.length;g++){const{name:m,fn:b}=l[g],{x:y,y:w,data:I,reset:x}=await b({x:c,y:d,initialPlacement:o,placement:f,strategy:n,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});c=y??c,d=w??d,p={...p,[m]:{...p[m],...I}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(f=x.placement),x.rects&&(s=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:n}):x.rects),{x:c,y:d}=mc(s,f,u)),g=-1)}return{x:c,y:d,placement:f,strategy:n,middlewareData:p}};async function pr(e,t){var r;t===void 0&&(t={});const{x:o,y:n,platform:i,rects:a,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=ft(t,e),v=Jd(p),m=l[f?d==="floating"?"reference":"floating":d],b=tn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(m)))==null||r?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:c,strategy:u})),y=d==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},x=tn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:u}):y);return{top:(b.top-x.top+v.top)/I.y,bottom:(x.bottom-b.bottom+v.bottom)/I.y,left:(b.left-x.left+v.left)/I.x,right:(x.right-b.right+v.right)/I.x}}const lm=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:i,platform:a,elements:l,middlewareData:u}=t,{element:s,padding:c=0}=ft(e,t)||{};if(s==null)return{};const d=Jd(c),f={x:r,y:o},p=cu(n),v=su(p),g=await a.getDimensions(s),m=p==="y",b=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",I=i.reference[v]+i.reference[p]-f[p]-i.floating[v],x=f[p]-i.reference[p],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s));let C=S?S[w]:0;(!C||!await(a.isElement==null?void 0:a.isElement(S)))&&(C=l.floating[w]||i.floating[v]);const E=I/2-x/2,_=C/2-g[v]/2-1,V=ht(d[b],_),N=ht(d[y],_),L=V,P=C-g[v]-N,M=C/2-g[v]/2+E,T=ya(L,M,P),F=!u.arrow&&tr(n)!=null&&M!==T&&i.reference[v]/2-(M<L?V:N)-g[v]/2<0,H=F?M<L?M-L:M-P:0;return{[p]:f[p]+H,data:{[p]:T,centerOffset:M-T-H,...F&&{alignmentOffset:H}},reset:F}}}),sm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:i,rects:a,initialPlacement:l,platform:u,elements:s}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...m}=ft(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=pt(n),y=bt(l),w=pt(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(s.floating)),x=f||(w||!g?[en(l)]:nm(l)),S=v!=="none";!f&&S&&x.push(...im(l,g,v,I));const C=[l,...x],E=await pr(t,m),_=[];let V=((o=i.flip)==null?void 0:o.overflows)||[];if(c&&_.push(E[b]),d){const M=rm(n,a,I);_.push(E[M[0]],E[M[1]])}if(V=[...V,{placement:n,overflows:_}],!_.every(M=>M<=0)){var N,L;const M=(((N=i.flip)==null?void 0:N.index)||0)+1,T=C[M];if(T)return{data:{index:M,overflows:V},reset:{placement:T}};let F=(L=V.filter(H=>H.overflows[0]<=0).sort((H,D)=>H.overflows[1]-D.overflows[1])[0])==null?void 0:L.placement;if(!F)switch(p){case"bestFit":{var P;const H=(P=V.filter(D=>{if(S){const $=bt(D.placement);return $===y||$==="y"}return!0}).map(D=>[D.placement,D.overflows.filter($=>$>0).reduce(($,O)=>$+O,0)]).sort((D,$)=>D[1]-$[1])[0])==null?void 0:P[0];H&&(F=H);break}case"initialPlacement":F=l;break}if(n!==F)return{reset:{placement:F}}}return{}}}};function hc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bc(e){return K3.some(t=>e[t]>=0)}const cm=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...n}=ft(e,t);switch(o){case"referenceHidden":{const i=await pr(t,{...n,elementContext:"reference"}),a=hc(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:bc(a)}}}case"escaped":{const i=await pr(t,{...n,altBoundary:!0}),a=hc(i,r.floating);return{data:{escapedOffsets:a,escaped:bc(a)}}}default:return{}}}}};async function dm(e,t){const{placement:r,platform:o,elements:n}=e,i=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=pt(r),l=tr(r),u=bt(r)==="y",s=["left","top"].includes(a)?-1:1,c=i&&u?-1:1,d=ft(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof v=="number"&&(p=l==="end"?v*-1:v),u?{x:p*c,y:f*s}:{x:f*s,y:p*c}}const fm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:i,placement:a,middlewareData:l}=t,u=await dm(t,e);return a===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+u.x,y:i+u.y,data:{...u,placement:a}}}}},pm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:b,y}=m;return{x:b,y}}},...u}=ft(e,t),s={x:r,y:o},c=await pr(t,u),d=bt(pt(n)),f=lu(d);let p=s[f],v=s[d];if(i){const m=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=p+c[m],w=p-c[b];p=ya(y,p,w)}if(a){const m=d==="y"?"top":"left",b=d==="y"?"bottom":"right",y=v+c[m],w=v-c[b];v=ya(y,v,w)}const g=l.fn({...t,[f]:p,[d]:v});return{...g,data:{x:g.x-r,y:g.y-o,enabled:{[f]:i,[d]:a}}}}}},gm=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:u=!0,crossAxis:s=!0}=ft(e,t),c={x:r,y:o},d=bt(n),f=lu(d);let p=c[f],v=c[d];const g=ft(l,t),m=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const w=f==="y"?"height":"width",I=i.reference[f]-i.floating[w]+m.mainAxis,x=i.reference[f]+i.reference[w]-m.mainAxis;p<I?p=I:p>x&&(p=x)}if(s){var b,y;const w=f==="y"?"width":"height",I=["top","left"].includes(pt(n)),x=i.reference[d]-i.floating[w]+(I&&((b=a.offset)==null?void 0:b[d])||0)+(I?0:m.crossAxis),S=i.reference[d]+i.reference[w]+(I?0:((y=a.offset)==null?void 0:y[d])||0)-(I?m.crossAxis:0);v<x?v=x:v>S&&(v=S)}return{[f]:p,[d]:v}}}},vm=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:i,platform:a,elements:l}=t,{apply:u=()=>{},...s}=ft(e,t),c=await pr(t,s),d=pt(n),f=tr(n),p=bt(n)==="y",{width:v,height:g}=i.floating;let m,b;d==="top"||d==="bottom"?(m=d,b=f===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(b=d,m=f==="end"?"top":"bottom");const y=g-c.top-c.bottom,w=v-c.left-c.right,I=ht(g-c[m],y),x=ht(v-c[b],w),S=!t.middlewareData.shift;let C=I,E=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(E=w),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(C=y),S&&!f){const V=ke(c.left,0),N=ke(c.right,0),L=ke(c.top,0),P=ke(c.bottom,0);p?E=v-2*(V!==0||N!==0?V+N:ke(c.left,c.right)):C=g-2*(L!==0||P!==0?L+P:ke(c.top,c.bottom))}await u({...t,availableWidth:E,availableHeight:C});const _=await a.getDimensions(l.floating);return v!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}};function yn(){return typeof window<"u"}function rr(e){return Ud(e)?(e.nodeName||"").toLowerCase():"#document"}function He(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ct(e){var t;return(t=(Ud(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ud(e){return yn()?e instanceof Node||e instanceof He(e).Node:!1}function Ye(e){return yn()?e instanceof Element||e instanceof He(e).Element:!1}function lt(e){return yn()?e instanceof HTMLElement||e instanceof He(e).HTMLElement:!1}function yc(e){return!yn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof He(e).ShadowRoot}function Ar(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=qe(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function mm(e){return["table","td","th"].includes(rr(e))}function Cn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function du(e){const t=fu(),r=Ye(e)?qe(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function hm(e){let t=yt(e);for(;lt(t)&&!Ut(t);){if(du(t))return t;if(Cn(t))return null;t=yt(t)}return null}function fu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ut(e){return["html","body","#document"].includes(rr(e))}function qe(e){return He(e).getComputedStyle(e)}function xn(e){return Ye(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yt(e){if(rr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yc(e)&&e.host||ct(e);return yc(t)?t.host:t}function Qd(e){const t=yt(e);return Ut(t)?e.ownerDocument?e.ownerDocument.body:e.body:lt(t)&&Ar(t)?t:Qd(t)}function gr(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const n=Qd(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=He(n);if(i){const l=xa(a);return t.concat(a,a.visualViewport||[],Ar(n)?n:[],l&&r?gr(l):[])}return t.concat(n,gr(n,[],r))}function xa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kd(e){const t=qe(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=lt(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,l=Kr(r)!==i||Kr(o)!==a;return l&&(r=i,o=a),{width:r,height:o,$:l}}function pu(e){return Ye(e)?e:e.contextElement}function zt(e){const t=pu(e);if(!lt(t))return nt(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=Kd(t);let a=(i?Kr(r.width):r.width)/o,l=(i?Kr(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const bm=nt(0);function ef(e){const t=He(e);return!fu()||!t.visualViewport?bm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ym(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==He(e)?!1:t}function Et(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=pu(e);let a=nt(1);t&&(o?Ye(o)&&(a=zt(o)):a=zt(e));const l=ym(i,r,o)?ef(i):nt(0);let u=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,c=n.width/a.x,d=n.height/a.y;if(i){const f=He(i),p=o&&Ye(o)?He(o):o;let v=f,g=xa(v);for(;g&&o&&p!==v;){const m=zt(g),b=g.getBoundingClientRect(),y=qe(g),w=b.left+(g.clientLeft+parseFloat(y.paddingLeft))*m.x,I=b.top+(g.clientTop+parseFloat(y.paddingTop))*m.y;u*=m.x,s*=m.y,c*=m.x,d*=m.y,u+=w,s+=I,v=He(g),g=xa(v)}}return tn({width:c,height:d,x:u,y:s})}function gu(e,t){const r=xn(e).scrollLeft;return t?t.left+r:Et(ct(e)).left+r}function tf(e,t,r){r===void 0&&(r=!1);const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-(r?0:gu(e,o)),i=o.top+t.scrollTop;return{x:n,y:i}}function Cm(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i=n==="fixed",a=ct(o),l=t?Cn(t.floating):!1;if(o===a||l&&i)return r;let u={scrollLeft:0,scrollTop:0},s=nt(1);const c=nt(0),d=lt(o);if((d||!d&&!i)&&((rr(o)!=="body"||Ar(a))&&(u=xn(o)),lt(o))){const p=Et(o);s=zt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}const f=a&&!d&&!i?tf(a,u,!0):nt(0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-u.scrollLeft*s.x+c.x+f.x,y:r.y*s.y-u.scrollTop*s.y+c.y+f.y}}function xm(e){return Array.from(e.getClientRects())}function Im(e){const t=ct(e),r=xn(e),o=e.ownerDocument.body,n=ke(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=ke(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+gu(e);const l=-r.scrollTop;return qe(o).direction==="rtl"&&(a+=ke(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:l}}function wm(e,t){const r=He(e),o=ct(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,u=0;if(n){i=n.width,a=n.height;const s=fu();(!s||s&&t==="fixed")&&(l=n.offsetLeft,u=n.offsetTop)}return{width:i,height:a,x:l,y:u}}function Sm(e,t){const r=Et(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=lt(e)?zt(e):nt(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,u=n*i.x,s=o*i.y;return{width:a,height:l,x:u,y:s}}function Cc(e,t,r){let o;if(t==="viewport")o=wm(e,r);else if(t==="document")o=Im(ct(e));else if(Ye(t))o=Sm(t,r);else{const n=ef(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return tn(o)}function rf(e,t){const r=yt(e);return r===t||!Ye(r)||Ut(r)?!1:qe(r).position==="fixed"||rf(r,t)}function Am(e,t){const r=t.get(e);if(r)return r;let o=gr(e,[],!1).filter(l=>Ye(l)&&rr(l)!=="body"),n=null;const i=qe(e).position==="fixed";let a=i?yt(e):e;for(;Ye(a)&&!Ut(a);){const l=qe(a),u=du(a);!u&&l.position==="fixed"&&(n=null),(i?!u&&!n:!u&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ar(a)&&!u&&rf(e,a))?o=o.filter(c=>c!==a):n=l,a=yt(a)}return t.set(e,o),o}function Em(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[...r==="clippingAncestors"?Cn(t)?[]:Am(t,this._c):[].concat(r),o],l=a[0],u=a.reduce((s,c)=>{const d=Cc(t,c,n);return s.top=ke(d.top,s.top),s.right=ht(d.right,s.right),s.bottom=ht(d.bottom,s.bottom),s.left=ke(d.left,s.left),s},Cc(t,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Rm(e){const{width:t,height:r}=Kd(e);return{width:t,height:r}}function Om(e,t,r){const o=lt(t),n=ct(t),i=r==="fixed",a=Et(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=nt(0);if(o||!o&&!i)if((rr(t)!=="body"||Ar(n))&&(l=xn(t)),o){const f=Et(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else n&&(u.x=gu(n));const s=n&&!o&&!i?tf(n,l):nt(0),c=a.left+l.scrollLeft-u.x-s.x,d=a.top+l.scrollTop-u.y-s.y;return{x:c,y:d,width:a.width,height:a.height}}function Yi(e){return qe(e).position==="static"}function xc(e,t){if(!lt(e)||qe(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ct(e)===r&&(r=r.ownerDocument.body),r}function nf(e,t){const r=He(e);if(Cn(e))return r;if(!lt(e)){let n=yt(e);for(;n&&!Ut(n);){if(Ye(n)&&!Yi(n))return n;n=yt(n)}return r}let o=xc(e,t);for(;o&&mm(o)&&Yi(o);)o=xc(o,t);return o&&Ut(o)&&Yi(o)&&!du(o)?r:o||hm(e)||r}const _m=async function(e){const t=this.getOffsetParent||nf,r=this.getDimensions,o=await r(e.floating);return{reference:Om(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Pm(e){return qe(e).direction==="rtl"}const Tm={convertOffsetParentRelativeRectToViewportRelativeRect:Cm,getDocumentElement:ct,getClippingRect:Em,getOffsetParent:nf,getElementRects:_m,getClientRects:xm,getDimensions:Rm,getScale:zt,isElement:Ye,isRTL:Pm};function of(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mm(e,t){let r=null,o;const n=ct(e);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function a(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const s=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=s;if(l||t(),!f||!p)return;const v=Mr(d),g=Mr(n.clientWidth-(c+f)),m=Mr(n.clientHeight-(d+p)),b=Mr(c),w={rootMargin:-v+"px "+-g+"px "+-m+"px "+-b+"px",threshold:ke(0,ht(1,u))||1};let I=!0;function x(S){const C=S[0].intersectionRatio;if(C!==u){if(!I)return a();C?a(!1,C):o=setTimeout(()=>{a(!1,1e-7)},1e3)}C===1&&!of(s,e.getBoundingClientRect())&&a(),I=!1}try{r=new IntersectionObserver(x,{...w,root:n.ownerDocument})}catch{r=new IntersectionObserver(x,w)}r.observe(e)}return a(!0),i}function af(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,s=pu(e),c=n||i?[...s?gr(s):[],...gr(t)]:[];c.forEach(b=>{n&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const d=s&&l?Mm(s,r):null;let f=-1,p=null;a&&(p=new ResizeObserver(b=>{let[y]=b;y&&y.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),r()}),s&&!u&&p.observe(s),p.observe(t));let v,g=u?Et(e):null;u&&m();function m(){const b=Et(e);g&&!of(g,b)&&r(),g=b,v=requestAnimationFrame(m)}return r(),()=>{var b;c.forEach(y=>{n&&y.removeEventListener("scroll",r),i&&y.removeEventListener("resize",r)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,u&&cancelAnimationFrame(v)}}const Fm=fm,Vm=pm,jm=sm,Bm=vm,Lm=cm,Ic=lm,Nm=gm,Dm=(e,t,r)=>{const o=new Map,n={platform:Tm,...r},i={...n.platform,_c:o};return um(e,t,{...n,platform:i})};var Hr=typeof document<"u"?B.useLayoutEffect:B.useEffect;function rn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!rn(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;o--!==0;){const i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!rn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function uf(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wc(e,t){const r=uf(e);return Math.round(t*r)/r}function qi(e){const t=A.useRef(e);return Hr(()=>{t.current=e}),t}function Gm(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:u,open:s}=e,[c,d]=A.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=A.useState(o);rn(f,o)||p(o);const[v,g]=A.useState(null),[m,b]=A.useState(null),y=A.useCallback(D=>{D!==S.current&&(S.current=D,g(D))},[]),w=A.useCallback(D=>{D!==C.current&&(C.current=D,b(D))},[]),I=i||v,x=a||m,S=A.useRef(null),C=A.useRef(null),E=A.useRef(c),_=u!=null,V=qi(u),N=qi(n),L=qi(s),P=A.useCallback(()=>{if(!S.current||!C.current)return;const D={placement:t,strategy:r,middleware:f};N.current&&(D.platform=N.current),Dm(S.current,C.current,D).then($=>{const O={...$,isPositioned:L.current!==!1};M.current&&!rn(E.current,O)&&(E.current=O,d1.flushSync(()=>{d(O)}))})},[f,t,r,N,L]);Hr(()=>{s===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(D=>({...D,isPositioned:!1})))},[s]);const M=A.useRef(!1);Hr(()=>(M.current=!0,()=>{M.current=!1}),[]),Hr(()=>{if(I&&(S.current=I),x&&(C.current=x),I&&x){if(V.current)return V.current(I,x,P);P()}},[I,x,P,V,_]);const T=A.useMemo(()=>({reference:S,floating:C,setReference:y,setFloating:w}),[y,w]),F=A.useMemo(()=>({reference:I,floating:x}),[I,x]),H=A.useMemo(()=>{const D={position:r,left:0,top:0};if(!F.floating)return D;const $=wc(F.floating,c.x),O=wc(F.floating,c.y);return l?{...D,transform:"translate("+$+"px, "+O+"px)",...uf(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:$,top:O}},[r,l,F.floating,c.x,c.y]);return A.useMemo(()=>({...c,update:P,refs:T,elements:F,floatingStyles:H}),[c,P,T,F,H])}const Wm=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:n}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?Ic({element:o.current,padding:n}).fn(r):{}:o?Ic({element:o,padding:n}).fn(r):{}}}},km=(e,t)=>({...Fm(e),options:[e,t]}),Hm=(e,t)=>({...Vm(e),options:[e,t]}),Zm=(e,t)=>({...Nm(e),options:[e,t]}),Xm=(e,t)=>({...jm(e),options:[e,t]}),zm=(e,t)=>({...Bm(e),options:[e,t]}),$m=(e,t)=>({...Lm(e),options:[e,t]}),Ym=(e,t)=>({...Wm(e),options:[e,t]});var qm="Arrow",lf=A.forwardRef((e,t)=>{const{children:r,width:o=10,height:n=5,...i}=e;return h.jsx(he.svg,{...i,ref:t,width:o,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});lf.displayName=qm;var Jm=lf;function sf(e){const[t,r]=A.useState(void 0);return at(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let a,l;if("borderBoxSize"in i){const u=i.borderBoxSize,s=Array.isArray(u)?u[0]:u;a=s.inlineSize,l=s.blockSize}else a=e.offsetWidth,l=e.offsetHeight;r({width:a,height:l})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else r(void 0)},[e]),t}var vu="Popper",[cf,df]=st(vu),[Um,ff]=cf(vu),pf=e=>{const{__scopePopper:t,children:r}=e,[o,n]=A.useState(null);return h.jsx(Um,{scope:t,anchor:o,onAnchorChange:n,children:r})};pf.displayName=vu;var gf="PopperAnchor",vf=A.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,i=ff(gf,r),a=A.useRef(null),l=Ve(t,a);return A.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||a.current)}),o?null:h.jsx(he.div,{...n,ref:l})});vf.displayName=gf;var mu="PopperContent",[Qm,Km]=cf(mu),mf=A.forwardRef((e,t)=>{var q,J,K,te,ie,W;const{__scopePopper:r,side:o="bottom",sideOffset:n=0,align:i="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:u=!0,collisionBoundary:s=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:v,...g}=e,m=ff(mu,r),[b,y]=A.useState(null),w=Ve(t,ae=>y(ae)),[I,x]=A.useState(null),S=sf(I),C=(S==null?void 0:S.width)??0,E=(S==null?void 0:S.height)??0,_=o+(i!=="center"?"-"+i:""),V=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},N=Array.isArray(s)?s:[s],L=N.length>0,P={padding:V,boundary:N.filter(th),altBoundary:L},{refs:M,floatingStyles:T,placement:F,isPositioned:H,middlewareData:D}=Gm({strategy:"fixed",placement:_,whileElementsMounted:(...ae)=>af(...ae,{animationFrame:p==="always"}),elements:{reference:m.anchor},middleware:[km({mainAxis:n+E,alignmentAxis:a}),u&&Hm({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Zm():void 0,...P}),u&&Xm({...P}),zm({...P,apply:({elements:ae,rects:ge,availableWidth:de,availableHeight:be})=>{const{width:Ee,height:Se}=ge.reference,le=ae.floating.style;le.setProperty("--radix-popper-available-width",`${de}px`),le.setProperty("--radix-popper-available-height",`${be}px`),le.setProperty("--radix-popper-anchor-width",`${Ee}px`),le.setProperty("--radix-popper-anchor-height",`${Se}px`)}}),I&&Ym({element:I,padding:l}),rh({arrowWidth:C,arrowHeight:E}),f&&$m({strategy:"referenceHidden",...P})]}),[$,O]=yf(F),j=it(v);at(()=>{H&&(j==null||j())},[H,j]);const G=(q=D.arrow)==null?void 0:q.x,X=(J=D.arrow)==null?void 0:J.y,k=((K=D.arrow)==null?void 0:K.centerOffset)!==0,[Y,z]=A.useState();return at(()=>{b&&z(window.getComputedStyle(b).zIndex)},[b]),h.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:H?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[(te=D.transformOrigin)==null?void 0:te.x,(ie=D.transformOrigin)==null?void 0:ie.y].join(" "),...((W=D.hide)==null?void 0:W.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(Qm,{scope:r,placedSide:$,onArrowChange:x,arrowX:G,arrowY:X,shouldHideArrow:k,children:h.jsx(he.div,{"data-side":$,"data-align":O,...g,ref:w,style:{...g.style,animation:H?void 0:"none"}})})})});mf.displayName=mu;var hf="PopperArrow",eh={top:"bottom",right:"left",bottom:"top",left:"right"},bf=A.forwardRef(function(t,r){const{__scopePopper:o,...n}=t,i=Km(hf,o),a=eh[i.placedSide];return h.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:h.jsx(Jm,{...n,ref:r,style:{...n.style,display:"block"}})})});bf.displayName=hf;function th(e){return e!==null}var rh=e=>({name:"transformOrigin",options:e,fn(t){var m,b,y;const{placement:r,rects:o,middlewareData:n}=t,a=((m=n.arrow)==null?void 0:m.centerOffset)!==0,l=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[s,c]=yf(r),d={start:"0%",center:"50%",end:"100%"}[c],f=(((b=n.arrow)==null?void 0:b.x)??0)+l/2,p=(((y=n.arrow)==null?void 0:y.y)??0)+u/2;let v="",g="";return s==="bottom"?(v=a?d:`${f}px`,g=`${-u}px`):s==="top"?(v=a?d:`${f}px`,g=`${o.floating.height+u}px`):s==="right"?(v=`${-u}px`,g=a?d:`${p}px`):s==="left"&&(v=`${o.floating.width+u}px`,g=a?d:`${p}px`),{data:{x:v,y:g}}}});function yf(e){const[t,r="center"]=e.split("-");return[t,r]}var nh=pf,oh=vf,ih=mf,ah=bf,uh="Portal",Cf=A.forwardRef((e,t)=>{var l;const{container:r,...o}=e,[n,i]=A.useState(!1);at(()=>i(!0),[]);const a=r||n&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?St.createPortal(h.jsx(he.div,{...o,ref:t}),a):null});Cf.displayName=uh;var lh="VisuallyHidden",xf=A.forwardRef((e,t)=>h.jsx(he.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));xf.displayName=lh;var sh=xf,[In,k7]=st("Tooltip",[df]),wn=df(),If="TooltipProvider",ch=700,Ia="tooltip.open",[dh,hu]=In(If),wf=e=>{const{__scopeTooltip:t,delayDuration:r=ch,skipDelayDuration:o=300,disableHoverableContent:n=!1,children:i}=e,[a,l]=A.useState(!0),u=A.useRef(!1),s=A.useRef(0);return A.useEffect(()=>{const c=s.current;return()=>window.clearTimeout(c)},[]),h.jsx(dh,{scope:t,isOpenDelayed:a,delayDuration:r,onOpen:A.useCallback(()=>{window.clearTimeout(s.current),l(!1)},[]),onClose:A.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>l(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:A.useCallback(c=>{u.current=c},[]),disableHoverableContent:n,children:i})};wf.displayName=If;var Sn="Tooltip",[fh,An]=In(Sn),Sf=e=>{const{__scopeTooltip:t,children:r,open:o,defaultOpen:n=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:l}=e,u=hu(Sn,e.__scopeTooltip),s=wn(t),[c,d]=A.useState(null),f=mt(),p=A.useRef(0),v=a??u.disableHoverableContent,g=l??u.delayDuration,m=A.useRef(!1),[b=!1,y]=Ct({prop:o,defaultProp:n,onChange:C=>{C?(u.onOpen(),document.dispatchEvent(new CustomEvent(Ia))):u.onClose(),i==null||i(C)}}),w=A.useMemo(()=>b?m.current?"delayed-open":"instant-open":"closed",[b]),I=A.useCallback(()=>{window.clearTimeout(p.current),p.current=0,m.current=!1,y(!0)},[y]),x=A.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y(!1)},[y]),S=A.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{m.current=!0,y(!0),p.current=0},g)},[g,y]);return A.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]),h.jsx(nh,{...s,children:h.jsx(fh,{scope:t,contentId:f,open:b,stateAttribute:w,trigger:c,onTriggerChange:d,onTriggerEnter:A.useCallback(()=>{u.isOpenDelayed?S():I()},[u.isOpenDelayed,S,I]),onTriggerLeave:A.useCallback(()=>{v?x():(window.clearTimeout(p.current),p.current=0)},[x,v]),onOpen:I,onClose:x,disableHoverableContent:v,children:r})})};Sf.displayName=Sn;var wa="TooltipTrigger",Af=A.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=An(wa,r),i=hu(wa,r),a=wn(r),l=A.useRef(null),u=Ve(t,l,n.onTriggerChange),s=A.useRef(!1),c=A.useRef(!1),d=A.useCallback(()=>s.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.jsx(oh,{asChild:!0,...a,children:h.jsx(he.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...o,ref:u,onPointerMove:we(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:we(e.onPointerDown,()=>{s.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:we(e.onFocus,()=>{s.current||n.onOpen()}),onBlur:we(e.onBlur,n.onClose),onClick:we(e.onClick,n.onClose)})})});Af.displayName=wa;var ph="TooltipPortal",[H7,gh]=In(ph,{forceMount:void 0}),Qt="TooltipContent",Ef=A.forwardRef((e,t)=>{const r=gh(Qt,e.__scopeTooltip),{forceMount:o=r.forceMount,side:n="top",...i}=e,a=An(Qt,e.__scopeTooltip);return h.jsx(_t,{present:o||a.open,children:a.disableHoverableContent?h.jsx(Rf,{side:n,...i,ref:t}):h.jsx(vh,{side:n,...i,ref:t})})}),vh=A.forwardRef((e,t)=>{const r=An(Qt,e.__scopeTooltip),o=hu(Qt,e.__scopeTooltip),n=A.useRef(null),i=Ve(t,n),[a,l]=A.useState(null),{trigger:u,onClose:s}=r,c=n.current,{onPointerInTransitChange:d}=o,f=A.useCallback(()=>{l(null),d(!1)},[d]),p=A.useCallback((v,g)=>{const m=v.currentTarget,b={x:v.clientX,y:v.clientY},y=bh(b,m.getBoundingClientRect()),w=yh(b,y),I=Ch(g.getBoundingClientRect()),x=Ih([...w,...I]);l(x),d(!0)},[d]);return A.useEffect(()=>()=>f(),[f]),A.useEffect(()=>{if(u&&c){const v=m=>p(m,c),g=m=>p(m,u);return u.addEventListener("pointerleave",v),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",g)}}},[u,c,p,f]),A.useEffect(()=>{if(a){const v=g=>{const m=g.target,b={x:g.clientX,y:g.clientY},y=(u==null?void 0:u.contains(m))||(c==null?void 0:c.contains(m)),w=!xh(b,a);y?f():w&&(f(),s())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[u,c,a,s,f]),h.jsx(Rf,{...e,ref:i})}),[mh,hh]=In(Sn,{isInside:!1}),Rf=A.forwardRef((e,t)=>{const{__scopeTooltip:r,children:o,"aria-label":n,onEscapeKeyDown:i,onPointerDownOutside:a,...l}=e,u=An(Qt,r),s=wn(r),{onClose:c}=u;return A.useEffect(()=>(document.addEventListener(Ia,c),()=>document.removeEventListener(Ia,c)),[c]),A.useEffect(()=>{if(u.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(u.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,c]),h.jsx(uu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:h.jsxs(ih,{"data-state":u.stateAttribute,...s,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(g1,{children:o}),h.jsx(mh,{scope:r,isInside:!0,children:h.jsx(sh,{id:u.contentId,role:"tooltip",children:n||o})})]})})});Ef.displayName=Qt;var Of="TooltipArrow",_f=A.forwardRef((e,t)=>{const{__scopeTooltip:r,...o}=e,n=wn(r);return hh(Of,r).isInside?null:h.jsx(ah,{...n,...o,ref:t})});_f.displayName=Of;function bh(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,o,n,i)){case i:return"left";case n:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function yh(e,t,r=5){const o=[];switch(t){case"top":o.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":o.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":o.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":o.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return o}function Ch(e){const{top:t,right:r,bottom:o,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:o},{x:n,y:o}]}function xh(e,t){const{x:r,y:o}=e;let n=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const l=t[i].x,u=t[i].y,s=t[a].x,c=t[a].y;u>o!=c>o&&r<(s-l)*(o-u)/(c-u)+l&&(n=!n)}return n}function Ih(e){const t=e.slice();return t.sort((r,o)=>r.x<o.x?-1:r.x>o.x?1:r.y<o.y?-1:r.y>o.y?1:0),wh(t)}function wh(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const n=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))t.pop();else break}t.push(n)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const n=e[o];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(n.y-a.y)>=(i.y-a.y)*(n.x-a.x))r.pop();else break}r.push(n)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Sh=wf,Ah=Sf,Eh=Af,Rh=Ef,Oh=_f;const Sa=({open:e,content:t,children:r,defaultOpen:o,onOpenChange:n,side:i="top"})=>{const a=Q.tooltip({});return h.jsx(Sh,{delayDuration:800,skipDelayDuration:500,children:h.jsxs(Ah,{open:e,defaultOpen:o,onOpenChange:n,children:[h.jsx(Eh,{children:r}),h.jsxs(Rh,{side:i,className:a.content,children:[t,h.jsx(Oh,{className:a.arrow})]})]})})},_h=({size:e,side:t,apps:r=[],showItems:o=4,square:n,rawCounter:i,inline:a})=>{var s,c;const l=`+${i==null?void 0:i.toLocaleString("pt-BR")}`,u=Q.avatarGroup({square:n});return h.jsxs("div",{className:u.container,children:[(s=r==null?void 0:r.filter((d,f)=>f<o))==null?void 0:s.map((d,f)=>h.jsx("div",{className:u.avatarStyle,children:h.jsx(Sa,{side:t,content:d&&(d==null?void 0:d.name),children:h.jsx($d,{source:d==null?void 0:d.icon,size:e,shape:n?"square":"default",inline:a})})},f)),i&&h.jsx("div",{className:u.othersStyle,children:h.jsx(Le,{size:"small",color:"muted",fontWeight:"bold",children:l})}),!i&&r.length>o&&h.jsx("div",{className:u.othersStyle,children:h.jsx(Sa,{side:t,content:(c=r==null?void 0:r.filter((d,f)=>f>=o))==null?void 0:c.map((d,f)=>h.jsx(Le,{size:"micro",textAlign:"center",color:"inverse",collapsed:!0,children:d&&(d==null?void 0:d.name)},d?d==null?void 0:d.name:f)),children:h.jsx(Le,{size:"small",color:"muted",fontWeight:"bold",children:`+${r.length-o}`})})})]})},Ph=({border:e,padding:t,children:r,relative:o,direction:n,alignItems:i,fullHeight:a,background:l,justifyContent:u,fullWidth:s,...c})=>h.jsx("div",{...c,className:Q.block({border:e,padding:t,relative:o,direction:n,alignItems:i,fullHeight:a,background:l,justifyContent:u,fullWidth:s}),children:r}),Th=({size:e,segments:t,showItems:r=4})=>{const o=Q.boxGroupSlot({size:e}),n=(l,u,s)=>h.jsxs("div",{className:o.subItens,children:[h.jsx("div",{className:o.boxStyle,children:u.name}),h.jsx("div",{className:o.boxStyle,children:l[s+1].name})]},s),i=(l,u)=>h.jsx("div",{className:o.subItens,children:h.jsx("div",{className:Q.boxGroupSlot({size:e}).boxStyle,children:l.name})},u),a=()=>{const l=t.filter((u,s)=>s<r);return l.map((u,s)=>s+1<l.length&&s%2===0?n(l,u,s):l.length%2!==0&&s===l.length-1?i(u,s):null)};return h.jsxs("div",{className:o.container,children:[h.jsx("div",{className:o.rowStyle,children:a()}),t.length>r&&h.jsx("div",{className:o.others,children:h.jsx(Sa,{side:"bottom",content:t.filter((l,u)=>u>=r).map((l,u)=>h.jsx(Le,{collapsed:!0,size:"micro",color:"inverse",textAlign:"center",children:l&&l.name},l?l.name:u)),children:h.jsx(Le,{size:"small",color:"gray",fontWeight:"bold",children:`+${(t==null?void 0:t.length)-r}`})})})]})},Mh=Q.css({display:"flex",alignItems:"center",justifyContent:"center"}),bu=({color:e,second:t,size:r,third:o})=>h.jsxs("div",{className:Mh,children:[h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})}),h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})}),h.jsx("div",{className:Q.loader({color:e,size:r,second:t,third:o})})]}),En=B.forwardRef(({size:e,tall:t,block:r,shape:o,short:n,style:i,type:a,compact:l,grouped:u,loading:s,spacing:c,shimmer:d,children:f,leftIcon:p,disabled:v,fullWidth:g,rightIcon:m,underlined:b,onBlur:y,onClick:w,...I},x)=>{const S=i==="ghost"?"primary":i==="solid"?"secondary":i==="mono"?"mono":"primary";return h.jsxs("button",{ref:x,type:a,disabled:v,onBlur:y,onClick:w,className:Q.button({size:e,tall:t,block:r,shape:o,short:n,style:i,compact:l,grouped:u,loading:s,spacing:c,fullWidth:g,underlined:b,leftIcon:!!p,rightIcon:!!m}).buttonStyle,...I,children:[s&&d&&h.jsx("div",{className:Q.button({}).wrapperShimmer,children:h.jsx(ze,{height:"100%",width:"100%"})}),h.jsxs("div",{className:Q.button({leftIcon:!!p,rightIcon:!!m,contentLoading:!!s,contentFullWidth:!!g}).contentStyle,children:[p,f,m]}),s&&h.jsx("div",{className:Q.button({}).buttonLoader,children:!d&&h.jsx(bu,{size:"small",color:S})})]})});En.displayName="Button";const Fh=({fit:e,size:t,auto:r,grow:o,style:n,shrink:i,scroll:a,children:l,relative:u,largeSize:s,noSpacing:c,mediumSize:d,xlargeSize:f,fitOnLarge:p,fullHeight:v,fitOnMedium:g,fitOnXlarge:m,autoOnLarge:b,growOnLarge:y,microSpacing:w,smallSpacing:I,largeSpacing:x,autoOnMedium:S,autoOnXlarge:C,growOnMedium:E,growOnXlarge:_,shrinkOnLarge:V,shrinkOnMedium:N,shrinkOnXlarge:L,verticalSpacing:P,fullHeightOnLarge:M,fullHeightOnMedium:T,fullHeightOnXlarge:F,microVerticalSpacing:H,smallVerticalSpacing:D,largeVerticalSpacing:$})=>{const O=f||s||d||t,j=Q.cx(Q.cell({fit:e,auto:r,grow:o,scroll:a,shrink:i,relative:u,noSpacing:c,fitOnLarge:p,fullHeight:v,fitOnMedium:g,fitOnXlarge:m,autoOnLarge:b,growOnLarge:y,microSpacing:w,largeSpacing:x,autoOnMedium:S,autoOnXlarge:C,growOnMedium:E,growOnXlarge:_,shrinkOnLarge:V,shrinkOnMedium:N,shrinkOnXlarge:L,verticalSpacing:P,fullHeightOnLarge:M,fullHeightOnMedium:T,fullHeightOnXlarge:F,microVerticalSpacing:H,smallVerticalSpacing:D,largeVerticalSpacing:$,smallPadding:I}),Q.css({small:t??O,large:s??O,medium:d??O,xlarge:f??O}));return h.jsx("div",{style:n,className:j,children:l})},Pf=({children:e,htmlFor:t,inline:r,table:o})=>{const n=Q.labelSlot({inline:r,table:o});return h.jsx("label",{className:n.labelStyles,htmlFor:t,children:o?h.jsx("div",{className:n.tableRow,children:e}):e})},Vh=({checked:e,defaultChecked:t,disabled:r,id:o,invalid:n,name:i,onBlur:a,onChange:l,onFocus:u})=>{const s=Q.checkBoxSlot({});return h.jsx("div",{className:s.containerCheckOnly,children:h.jsxs("div",{className:Q.checkBoxSlot({disabled:r,invalid:n}).checkboxStyle,children:[h.jsx("input",{className:s.checkboxInput,type:"checkbox",id:o,name:i,checked:e,defaultChecked:t,disabled:r,"aria-invalid":n,onBlur:a,onChange:l,onFocus:u}),h.jsx("div",{className:s.markContainer,"data-fake-checkbox":!n&&!r,children:e&&h.jsx("div",{className:s.checkMark,children:h.jsx("svg",{className:s.checkMarkIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54.19 42.05",children:h.jsx("path",{d:"M48,0a6,6,0,0,0-4.12,1.81c-9.36,9.38-16.58,17.25-25.16,26L10,20.47a6,6,0,0,0-8,8.92l.28.23,13,11a6,6,0,0,0,8.13-.34c10.79-10.81,18.46-19.43,29-30A6,6,0,0,0,48,0Z"})})})})]})})},jh=({id:e,name:t,label:r,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:l,onChange:u,subtitle:s,pullRight:c,boldLabel:d,smallLabel:f,inlineText:p})=>{const v=Q.checkBoxSlot({pullRight:c,spacing:!c,marginRight:c,columnTextBreak:!p,columnTextNoBreak:p});return h.jsxs(Pf,{htmlFor:e,children:[h.jsx("div",{className:v.columnStyles,children:h.jsx(Vh,{id:e,name:t,onBlur:o,checked:n,invalid:i,onFocus:a,disabled:l,onChange:u})}),r&&h.jsxs("div",{className:v.columnStyles,children:[h.jsx("div",{className:v.checkboxLabel,children:typeof r=="string"?h.jsx(Le,{disabled:l,size:f?"small":"regular",fontWeight:d?"bold":"semibold",children:r}):r}),s&&h.jsx("div",{className:v.subtitle,children:h.jsx(Le,{size:"micro",color:"gray",children:s})})]})]})},Bh=({children:e,disabled:t,inline:r,inverse:o,onClick:n,rectangular:i})=>r?h.jsx("span",{className:Q.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e}):h.jsx("div",{className:Q.clickableRecipe({disabled:t,inverse:o,rectangular:i}),onClick:n,children:e});var Ji="focusScope.autoFocusOnMount",Ui="focusScope.autoFocusOnUnmount",Sc={bubbles:!1,cancelable:!0},Lh="FocusScope",Tf=A.forwardRef((e,t)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...a}=e,[l,u]=A.useState(null),s=it(n),c=it(i),d=A.useRef(null),f=Ve(t,g=>u(g)),p=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(o){let g=function(w){if(p.paused||!l)return;const I=w.target;l.contains(I)?d.current=I:vt(d.current,{select:!0})},m=function(w){if(p.paused||!l)return;const I=w.relatedTarget;I!==null&&(l.contains(I)||vt(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const x of w)x.removedNodes.length>0&&vt(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",m);const y=new MutationObserver(b);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",m),y.disconnect()}}},[o,l,p.paused]),A.useEffect(()=>{if(l){Ec.add(p);const g=document.activeElement;if(!l.contains(g)){const b=new CustomEvent(Ji,Sc);l.addEventListener(Ji,s),l.dispatchEvent(b),b.defaultPrevented||(Nh(Hh(Mf(l)),{select:!0}),document.activeElement===g&&vt(l))}return()=>{l.removeEventListener(Ji,s),setTimeout(()=>{const b=new CustomEvent(Ui,Sc);l.addEventListener(Ui,c),l.dispatchEvent(b),b.defaultPrevented||vt(g??document.body,{select:!0}),l.removeEventListener(Ui,c),Ec.remove(p)},0)}}},[l,s,c,p]);const v=A.useCallback(g=>{if(!r&&!o||p.paused)return;const m=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(m&&b){const y=g.currentTarget,[w,I]=Dh(y);w&&I?!g.shiftKey&&b===I?(g.preventDefault(),r&&vt(w,{select:!0})):g.shiftKey&&b===w&&(g.preventDefault(),r&&vt(I,{select:!0})):b===y&&g.preventDefault()}},[r,o,p.paused]);return h.jsx(he.div,{tabIndex:-1,...a,ref:f,onKeyDown:v})});Tf.displayName=Lh;function Nh(e,{select:t=!1}={}){const r=document.activeElement;for(const o of e)if(vt(o,{select:t}),document.activeElement!==r)return}function Dh(e){const t=Mf(e),r=Ac(t,e),o=Ac(t.reverse(),e);return[r,o]}function Mf(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const n=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||n?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ac(e,t){for(const r of e)if(!Gh(r,{upTo:t}))return r}function Gh(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Wh(e){return e instanceof HTMLInputElement&&"select"in e}function vt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Wh(e)&&t&&e.select()}}var Ec=kh();function kh(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Rc(e,t),e.unshift(t)},remove(t){var r;e=Rc(e,t),(r=e[0])==null||r.resume()}}}function Rc(e,t){const r=[...e],o=r.indexOf(t);return o!==-1&&r.splice(o,1),r}function Hh(e){return e.filter(t=>t.tagName!=="A")}var Qi=0;function Zh(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Oc()),document.body.insertAdjacentElement("beforeend",e[1]??Oc()),Qi++,()=>{Qi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Qi--}},[])}function Oc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var rt=function(){return rt=Object.assign||function(t){for(var r,o=1,n=arguments.length;o<n;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},rt.apply(this,arguments)};function Ff(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}function Xh(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var Zr="right-scroll-bar-position",Xr="width-before-scroll-bar",zh="with-scroll-bars-hidden",$h="--removed-body-scroll-bar-size";function Ki(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Yh(e,t){var r=B.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(o){var n=r.value;n!==o&&(r.value=o,r.callback(o,n))}}}})[0];return r.callback=t,r.facade}var qh=typeof window<"u"?A.useLayoutEffect:A.useEffect,_c=new WeakMap;function Jh(e,t){var r=Yh(null,function(o){return e.forEach(function(n){return Ki(n,o)})});return qh(function(){var o=_c.get(r);if(o){var n=new Set(o),i=new Set(e),a=r.current;n.forEach(function(l){i.has(l)||Ki(l,null)}),i.forEach(function(l){n.has(l)||Ki(l,a)})}_c.set(r,e)},[e]),r}function Uh(e){return e}function Qh(e,t){t===void 0&&(t=Uh);var r=[],o=!1,n={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,o);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(i){for(o=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){o=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(i),a=r}var u=function(){var c=a;a=[],c.forEach(i)},s=function(){return Promise.resolve().then(u)};s(),r={push:function(c){a.push(c),s()},filter:function(c){return a=a.filter(c),r}}}};return n}function Kh(e){e===void 0&&(e={});var t=Qh(null);return t.options=rt({async:!0,ssr:!1},e),t}var Vf=function(e){var t=e.sideCar,r=Ff(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return A.createElement(o,rt({},r))};Vf.isSideCarExport=!0;function e4(e,t){return e.useMedium(t),Vf}var jf=Kh(),ea=function(){},Rn=A.forwardRef(function(e,t){var r=A.useRef(null),o=A.useState({onScrollCapture:ea,onWheelCapture:ea,onTouchMoveCapture:ea}),n=o[0],i=o[1],a=e.forwardProps,l=e.children,u=e.className,s=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,v=e.inert,g=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,y=e.gapMode,w=Ff(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=f,x=Jh([r,t]),S=rt(rt({},w),n);return A.createElement(A.Fragment,null,c&&A.createElement(I,{sideCar:jf,removeScrollBar:s,shards:d,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:r,gapMode:y}),a?A.cloneElement(A.Children.only(l),rt(rt({},S),{ref:x})):A.createElement(b,rt({},S,{className:u,ref:x}),l))});Rn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Rn.classNames={fullWidth:Xr,zeroRight:Zr};var t4=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function r4(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=t4();return t&&e.setAttribute("nonce",t),e}function n4(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o4(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var i4=function(){var e=0,t=null;return{add:function(r){e==0&&(t=r4())&&(n4(t,r),o4(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a4=function(){var e=i4();return function(t,r){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Bf=function(){var e=a4(),t=function(r){var o=r.styles,n=r.dynamic;return e(o,n),null};return t},u4={left:0,top:0,right:0,gap:0},ta=function(e){return parseInt(e||"",10)||0},l4=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[ta(r),ta(o),ta(n)]},s4=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return u4;var t=l4(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},c4=Bf(),$t="data-scroll-locked",d4=function(e,t,r,o){var n=e.left,i=e.top,a=e.right,l=e.gap;return r===void 0&&(r="margin"),`
|
|
70
70
|
.`.concat(zh,` {
|
|
71
71
|
overflow: hidden `).concat(o,`;
|
|
72
72
|
padding-right: `).concat(l,"px ").concat(o,`;
|