@yahoo/uds 0.4.4 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- import{backgroundColors as Co,borderRadii as So,borderWidths as ko,foregroundColors as Ro,lineColors as Eo,textVariants as oo}from"@yahoo/uds/fixtures";import Ao from"clsx";import{extendTailwindMerge as Do}from"tailwind-merge";function De(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",Rr=`${m}-spectrum-color`,Er=`${m}-font`,Ar=`${m}-icon-size`,Dr=`${m}-avatar-size`,Lr=`${m}-border-radius`,Ir=`${m}-border-width`,Mr=`${m}-font-size`,Nr=`${m}-line-height`,Hr=`${m}-font-weight`,_r=`${m}-text-transform`,Xe=`${m}-color-mode-dark`,$e=`${m}-color-mode-light`,Ze=`${m}-scale-mode-xsmall`,Ke=`${m}-scale-mode-small`,Ye=`${m}-scale-mode-medium`,qe=`${m}-scale-mode-large`,Je=`${m}-scale-mode-xlarge`,Qe=`${m}-scale-mode-xxlarge`,je=`${m}-scale-mode-xxxlarge`;var Br=`--${m}-font-icons`,Or=`--${m}-font-sans`,zr=`--${m}-font-sans-beta`,Vr=`--${m}-font-sans-condensed`,Wr=`--${m}-font-serif-display`,Fr=`--${m}-font-serif-text`;var eo={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px","0.5":"p-0.5",1:"p-1","1.5":"p-1.5",2:"p-2","2.5":"p-2.5",3:"p-3","3.5":"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px","0.5":"px-0.5",1:"px-1","1.5":"px-1.5",2:"px-2","2.5":"px-2.5",3:"px-3","3.5":"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px","0.5":"py-0.5",1:"py-1","1.5":"py-1.5",2:"py-2","2.5":"py-2.5",3:"py-3","3.5":"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px","0.5":"pb-0.5",1:"pb-1","1.5":"pb-1.5",2:"pb-2","2.5":"pb-2.5",3:"pb-3","3.5":"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px","0.5":"pe-0.5",1:"pe-1","1.5":"pe-1.5",2:"pe-2","2.5":"pe-2.5",3:"pe-3","3.5":"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px","0.5":"ps-0.5",1:"ps-1","1.5":"ps-1.5",2:"ps-2","2.5":"ps-2.5",3:"ps-3","3.5":"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px","0.5":"pt-0.5",1:"pt-1","1.5":"pt-1.5",2:"pt-2","2.5":"pt-2.5",3:"pt-3","3.5":"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px","0.5":"-m-0.5",1:"-m-1","1.5":"-m-1.5",2:"-m-2","2.5":"-m-2.5",3:"-m-3","3.5":"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px","0.5":"-my-0.5",1:"-my-1","1.5":"-my-1.5",2:"-my-2","2.5":"-my-2.5",3:"-my-3","3.5":"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px","0.5":"-mx-0.5",1:"-mx-1","1.5":"-mx-1.5",2:"-mx-2","2.5":"-mx-2.5",3:"-mx-3","3.5":"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px","0.5":"-mb-0.5",1:"-mb-1","1.5":"-mb-1.5",2:"-mb-2","2.5":"-mb-2.5",3:"-mb-3","3.5":"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px","0.5":"-me-0.5",1:"-me-1","1.5":"-me-1.5",2:"-me-2","2.5":"-me-2.5",3:"-me-3","3.5":"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px","0.5":"-ms-0.5",1:"-ms-1","1.5":"-ms-1.5",2:"-ms-2","2.5":"-ms-2.5",3:"-ms-3","3.5":"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px","0.5":"-mt-0.5",1:"-mt-1","1.5":"-mt-1.5",2:"-mt-2","2.5":"-mt-2.5",3:"-mt-3","3.5":"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px","0.5":"gap-x-0.5",1:"gap-x-1","1.5":"gap-x-1.5",2:"gap-x-2","2.5":"gap-x-2.5",3:"gap-x-3","3.5":"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px","0.5":"gap-y-0.5",1:"gap-y-1","1.5":"gap-y-1.5",2:"gap-y-2","2.5":"gap-y-2.5",3:"gap-y-3","3.5":"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{none:"rounded-none",xs:"rounded-xs",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:Xe,light:$e},scaleMode:{xSmall:Ze,small:Ke,medium:Ye,large:qe,xLarge:Je,xxxLarge:je,xxLarge:Qe}};var Lo=Do({cacheSize:0,extend:{theme:{borderColor:Eo,borderWidth:ko,borderRadius:So}},override:{classGroups:{"text-color":[{text:Ro}],"bg-color":[{bg:Co}],"font-family":[{font:["icons",...oo]}],leading:[{leading:oo}]},conflictingClassGroups:{}}}),b=(...o)=>{let e=Ao(o);return Lo(e)},Io=o=>e=>{if(!o?.variants)return b(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let p=e?.[s],l=r?.[s],c=De(p)||De(l);return t[s][c]}),n={...r,...e&&Object.entries(e).reduce((s,[p,l])=>typeof l>"u"?s:{...s,[p]:l},{})},i=o?.compoundVariants?.reduce((s,{className:p,...l})=>Object.entries(l).every(([c,y])=>n[c]===y)?b(s,p):s,"");return b(o?.base,a,i,e?.className)},d=Io({variants:eo});import{forwardRef as No}from"react";import{Children as he,cloneElement as ro,forwardRef as ao,isValidElement as Ce}from"react";function Mo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function to(...o){return e=>o.forEach(t=>Mo(t,e))}import{jsx as no}from"react/jsx-runtime";function w(){let o=ao((n,i)=>{let{children:s,...p}=n,l=he.toArray(s),c=l.find(r);if(c){let y=c.props.children,g=l.map(T=>T===c?he.count(y)>1?he.only(null):Ce(y)?y.props.children:null:T);return no(e,{...p,ref:i,children:Ce(y)?ro(y,void 0,g):null})}return no(e,{...p,ref:i,children:s})});o.displayName="Slot";let e=ao((n,i)=>{let{children:s,...p}=n;return Ce(s)?ro(s,{...a(p,s.props),ref:i?to(i,s.ref):s.ref}):he.count(s)>1?he.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ce(n)&&n.type===t}function a(n,i){let s={...i};for(let p in i){let l=n[p],c=i[p];/^on[A-Z]/.test(p)?l&&c?s[p]=(...g)=>{c(...g),l(...g)}:l&&(s[p]=l):p==="style"&&(s[p]={...l,...c})}return{...n,...s}}return o}import{jsx as _o}from"react/jsx-runtime";var Ho=w(),x=No(function({className:e,asChild:t,size:r,color:a,name:n,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,...Pe},we){let Ee=t?Ho:"span",Ae=d({iconSize:r,color:a,fontFamily:"icons",textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,className:e});return _o(Ee,{className:Ae,ref:we,...Pe,children:n})});import{forwardRef as Bo}from"react";import{jsx as zo}from"react/jsx-runtime";var Oo=w(),P=Bo(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,...ye},xe){let Pe=d({backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,className:e});return zo(t?Oo:"button",{className:Pe,ref:xe,onClick:a,...ye})});import{forwardRef as Vo}from"react";import{jsx as Go}from"react/jsx-runtime";var Wo=w(),Fo={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=Vo(function({className:e,asChild:t,color:r="primary",variant:a="body1",as:n=Fo[a],fontSize:i=a,fontFamily:s=a,fontWeight:p=a,lineHeight:l=a,textTransform:c=a,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho,...To},vo){let wo=d({className:e,color:r,fontFamily:s,fontSize:i,fontWeight:p,lineHeight:l,textTransform:c,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho});return Go(t?Wo:n,{className:wo,ref:vo,...To})});import{forwardRef as Zo}from"react";import{forwardRef as Uo}from"react";import{jsx as $o}from"react/jsx-runtime";var Xo=w(),C=Uo(function({asChild:e,className:t,backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$="flex",overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,...be},fe){let ye=d({backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$,overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,className:t});return $o(e?Xo:"div",{className:ye,ref:fe,...be})});import{jsx as Ko}from"react/jsx-runtime";var v=Zo(function({gap:e,...t},r){return Ko(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as qo,jsx as Se,jsxs as so}from"react/jsx-runtime";function Yo({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",_content:n,className:i,...s}){return so(qo,{children:[so(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,borderRadius:"md",onClick:t,className:b("hover:bg-secondary/80","w-full",i),...s,children:[Se(f,{variant:"title4",color:"primary",children:o}),Se(x,{name:r?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),Se(v,{overflow:"hidden",className:b("transition-[max-height]","duration-500","ease-in-out",r?"max-h-full":"max-h-0"),spacingHorizontal:a,...n,children:Se(v,{className:"min-h-min",children:e})})]})}var po={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Le={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function ge({variant:o="accent",size:e="s"}){let{color:t,...r}=Le.variant[o],{variant:a,...n}=Le.size[e];return{pressable:{...Le.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"sm"}}}import{jsx as Qo}from"react/jsx-runtime";function Jo({size:o,shape:e,src:t,alt:r,...a}){let n=d({...po,avatarSize:o,borderRadius:e});return Qo("img",{src:t,alt:r,className:n,...a})}import{forwardRef as jo}from"react";import{jsx as Ie,jsxs as et}from"react/jsx-runtime";var Me=jo(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...i},s){let p=ge({variant:e,size:t}),l=r?Ie(x,{name:r,...p.icon}):null,c=a?Ie(x,{name:a,...p.icon}):null;return et(P,{...p.pressable,ref:s,...i,children:[l,Ie(f,{...p.text,children:n}),c]})});import{jsx as Ne,jsxs as rt}from"react/jsx-runtime";var io={accent:"on-color",secondary:"primary"},ot={accent:"on-color",secondary:"tertiary"};function tt({children:o,variant:e,startIcon:t,startContent:r=t?Ne(x,{name:t,size:"sm",color:io[e]}):null,endIcon:a,endContent:n=a?Ne(x,{name:a,size:"sm",color:io[e]}):null}){return rt(P,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,Ne(f,{variant:"label2",color:ot[e],children:o}),n]})}import{Popover as st,PopoverAnchor as pt,PopoverArrow as it,PopoverDescription as lt,PopoverDisclosure as ct,PopoverDisclosureArrow as dt,PopoverDismiss as mt,PopoverHeading as bt,PopoverProvider as ft,usePopoverStore as He}from"@ariakit/react";import{forwardRef as at}from"react";import{jsx as nt}from"react/jsx-runtime";var ke=at(function({gap:e,...t},r){return nt(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as lo,jsxs as ht}from"react/jsx-runtime";function yt({children:o,leading:e,trailing:t}){return ht(ke,{children:[e,lo(f,{variant:"headline1",color:"primary",asChild:!0,children:lo(bt,{children:o})}),t]})}var _e=st,Be=it,ut=pt,xt=lt,gt=mt,Oe=ft,ze=ct,Pt=dt;var Tt=Oe;import{forwardRef as vt,useCallback as wt}from"react";import{jsx as Ct}from"react/jsx-runtime";var Ve=vt(function({children:e,disabled:t,onClick:r,...a},n){let i=He(),s=wt(p=>{p.preventDefault(),r?.(()=>i.setOpen(!1))},[r,i]);return Ct(P,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:b(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:r?s:void 0,ref:n,...a,children:e})});import{jsx as Re,jsxs as co}from"react/jsx-runtime";function St({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...i}){return co(Ve,{...i,children:[a&&Re(x,{name:a,size:"sm",color:"primary"}),co(v,{gap:"3",alignItems:"flex-start",children:[o&&Re(f,{variant:"headline1",color:"primary",...t,children:o}),e&&Re(f,{variant:"label2",color:"muted",...r,children:e})]}),n&&Re(x,{name:n,size:"sm",color:"primary"})]})}import{forwardRef as kt}from"react";import{jsx as mo,jsxs as Et}from"react/jsx-runtime";var Rt=kt(function({children:e,className:t,overflow:r="scroll",...a},n){return mo(v,{borderRadius:"lg",backgroundColor:"primary",className:b("max-h-[312px] min-w-[220px] shadow-md",t),overflow:r,spacingVertical:"4",asChild:!0,children:Et(_e,{preventBodyScroll:!0,...a,ref:n,children:[mo(Be,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as bo}from"react/jsx-runtime";function At({children:o,variant:e,size:t,...r}){let a=ge({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return bo(P,{...n,...r,asChild:!0,children:bo(ze,{children:o})})}import{forwardRef as Dt}from"react";import{jsx as fo}from"react/jsx-runtime";var Lt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},We=Dt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...i},s){let p=ge({variant:e,size:t});return fo(P,{...p.pressable,spacingHorizontal:p.pressable.spacingVertical,ref:s,className:b("leading-[0px]",Lt[t],a),...i,children:fo(x,{name:r,...p.icon,color:n})})});import{Dialog as It,DialogDismiss as Mt,useDialogStore as Nt}from"@ariakit/react";import{jsx as Te,jsxs as zt}from"react/jsx-runtime";function Ht(o){return Nt({animated:!0,...o})}function _t({children:o,handleClose:e}){return zt(ke,{alignItems:"center",justifyContent:"space-between",children:[Te(f,{variant:"headline1",color:"primary",children:o}),Te(Me,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Bt({className:o,...e}){return Te(v,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:b("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Te(It,{backdrop:Te("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var Ot=Mt;import{jsx as Fe,jsxs as yo}from"react/jsx-runtime";function Vt({className:o,...e}){return yo("div",{role:"status",className:b("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[yo("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),Fe("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),Fe("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as ve,isValidElement as Wt}from"react";import{jsx as u,jsxs as Zt}from"react/jsx-runtime";var Ft=ve(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",borderRadius:i="md",...s},p){return u(C,{asChild:!0,borderColor:n,borderRadius:i,className:t,overflow:a,display:r,...s,children:u("table",{ref:p,children:e})})}),Gt=ve(function({children:e,display:t="table-row",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tr",{ref:a,children:e})})}),Ut=ve(function({children:e,display:t="table-header-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("thead",{ref:a,children:e})})}),Xt=ve(function({children:e,display:t="table-row-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tbody",{ref:a,children:e})})}),$t=ve(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:i="primary",...s},p){let l=d({textAlign:"start",className:t});return u(f,{asChild:!0,variant:e?"headline1":"body1",color:i,display:r,spacing:a,borderBottomColor:n,borderBottomWidth:"thin",className:l,children:u(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:p})})});h.Root=Ft;h.Row=Gt;h.Header=Ut;h.Body=Xt;h.Cell=$t;function h({data:o,columns:e,...t}){return Zt(h.Root,{...t,children:[u(h.Header,{children:u(h.Row,{children:e.map((r,a)=>u(h.Cell,{asHeaderCell:"column",children:r.title},a))})}),u(h.Body,{children:o.map((r,a)=>u(h.Row,{children:e.map((n,i)=>{let s=r[n.dataIndex];return u(h.Cell,{children:n.render?n.render(s,r,a):Wt(s)?s:String(s)},i)})},a))})]})}import{Tab as Kt,TabList as Yt,TabPanel as qt,TabProvider as Jt,useTabContext as uo}from"@ariakit/react";import{forwardRef as xo}from"react";import{jsx as ue,jsxs as rr}from"react/jsx-runtime";var Qt=w();function jt(o){return ue(Jt,{...o})}var er=xo(function({className:e,...t},r){let a=d({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ue(Yt,{ref:r,...t,className:a})}),or=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?Qt:"a",i=d({}),s=uo();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let p=s?.useState().activeId===r,l=p?"accent":"primary";return ue(Kt,{id:r,className:i,render:ue(n,{children:rr(P,{borderColor:p?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[a?ue(x,{name:a,color:l,size:"md"}):null,ue(f,{color:l,variant:"headline1",children:t})]})})})},tr=xo(function(e,t){let r=uo();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return ue(qt,{ref:t,tabId:a,...e})});import{jsx as ar}from"react/jsx-runtime";function Ge({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:i="primary",placeholderColor:s="tertiary",spacingVertical:p="5",spacingHorizontal:l="6",fontSize:c="body1",...y}){return ar("input",{type:"text","data-1p-ignore":!0,className:b(d({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:p,spacingHorizontal:l,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:i,placeholderColor:s}),"w-full",o),disabled:e,...y})}import{jsx as nr,jsxs as sr}from"react/jsx-runtime";function Ue({children:o,required:e}){return sr(f,{variant:"caption2",color:"primary",children:[o,e&&nr(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as go,jsxs as ir}from"react/jsx-runtime";function pr({label:o,required:e,...t}){return ir(v,{gap:"4",className:"w-full",children:[go(Ue,{required:e,children:o}),go(Ge,{required:e,...t})]})}import{Slide as lr,toast as cr,ToastContainer as dr}from"react-toastify";import{jsx as Po}from"react/jsx-runtime";var mr=d({borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),br=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fr=d({backgroundColor:"positive"}),yr=d({backgroundColor:"alert"}),ur=d({backgroundColor:"accent"}),xr=d({backgroundColor:"warning"}),gr=d({backgroundColor:"brand"}),Pr=d({backgroundColor:"brand"}),hr=d({backgroundColor:"brand",color:"on-color"}),Tr=o=>o?.type==="default"?b(mr,hr):o?.defaultClassName??"";function vr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:fr,error:yr,info:ur,warning:xr,default:gr,dark:Pr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return b(a,r)}function wr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Po(We,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Cr(o){return Po(dr,{toastClassName:Tr,bodyClassName:br,progressClassName:vr,transition:lr,closeButton:wr,...o})}export{Yo as Accordion,Jo as Avatar,Me as Button,tt as Chip,Tt as Dropdown,St as DropdownItem,Ve as DropdownItemPressable,Rt as DropdownItems,At as DropdownTrigger,We as IconButton,Bt as Modal,Ot as ModalDismiss,_t as ModalHeader,_e as Popover,ut as PopoverAnchor,Be as PopoverArrow,xt as PopoverDescription,ze as PopoverDisclosure,Pt as PopoverDisclosureArrow,gt as PopoverDismiss,yt as PopoverHeading,Oe as PopoverProvider,Vt as Spinner,or as Tab,er as TabList,tr as TabPanel,h as Table,jt as Tabs,Ge as TextInput,pr as TextInputGroup,Ue as TextInputLabel,Cr as ToastContainer,cr as toast,Ht as useModalStore,He as usePopoverStore};
1
+ import{backgroundColors as Co,borderRadii as So,borderWidths as ko,foregroundColors as Ro,lineColors as Eo,textVariants as oo}from"@yahoo/uds/fixtures";import Ao from"clsx";import{extendTailwindMerge as Do}from"tailwind-merge";function De(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",Rr=`${m}-spectrum-color`,Er=`${m}-font`,Ar=`${m}-icon-size`,Dr=`${m}-avatar-size`,Lr=`${m}-border-radius`,Ir=`${m}-border-width`,Mr=`${m}-font-size`,Nr=`${m}-line-height`,Hr=`${m}-font-weight`,_r=`${m}-text-transform`,Xe=`${m}-color-mode-dark`,$e=`${m}-color-mode-light`,Ze=`${m}-scale-mode-xsmall`,Ke=`${m}-scale-mode-small`,Ye=`${m}-scale-mode-medium`,qe=`${m}-scale-mode-large`,Je=`${m}-scale-mode-xlarge`,Qe=`${m}-scale-mode-xxlarge`,je=`${m}-scale-mode-xxxlarge`;var Br=`--${m}-font-icons`,Or=`--${m}-font-sans`,zr=`--${m}-font-sans-beta`,Vr=`--${m}-font-sans-condensed`,Wr=`--${m}-font-serif-display`,Fr=`--${m}-font-serif-text`;var eo={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px","0.5":"p-0.5",1:"p-1","1.5":"p-1.5",2:"p-2","2.5":"p-2.5",3:"p-3","3.5":"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px","0.5":"px-0.5",1:"px-1","1.5":"px-1.5",2:"px-2","2.5":"px-2.5",3:"px-3","3.5":"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px","0.5":"py-0.5",1:"py-1","1.5":"py-1.5",2:"py-2","2.5":"py-2.5",3:"py-3","3.5":"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px","0.5":"pb-0.5",1:"pb-1","1.5":"pb-1.5",2:"pb-2","2.5":"pb-2.5",3:"pb-3","3.5":"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px","0.5":"pe-0.5",1:"pe-1","1.5":"pe-1.5",2:"pe-2","2.5":"pe-2.5",3:"pe-3","3.5":"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px","0.5":"ps-0.5",1:"ps-1","1.5":"ps-1.5",2:"ps-2","2.5":"ps-2.5",3:"ps-3","3.5":"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px","0.5":"pt-0.5",1:"pt-1","1.5":"pt-1.5",2:"pt-2","2.5":"pt-2.5",3:"pt-3","3.5":"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px","0.5":"-m-0.5",1:"-m-1","1.5":"-m-1.5",2:"-m-2","2.5":"-m-2.5",3:"-m-3","3.5":"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px","0.5":"-my-0.5",1:"-my-1","1.5":"-my-1.5",2:"-my-2","2.5":"-my-2.5",3:"-my-3","3.5":"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px","0.5":"-mx-0.5",1:"-mx-1","1.5":"-mx-1.5",2:"-mx-2","2.5":"-mx-2.5",3:"-mx-3","3.5":"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px","0.5":"-mb-0.5",1:"-mb-1","1.5":"-mb-1.5",2:"-mb-2","2.5":"-mb-2.5",3:"-mb-3","3.5":"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px","0.5":"-me-0.5",1:"-me-1","1.5":"-me-1.5",2:"-me-2","2.5":"-me-2.5",3:"-me-3","3.5":"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px","0.5":"-ms-0.5",1:"-ms-1","1.5":"-ms-1.5",2:"-ms-2","2.5":"-ms-2.5",3:"-ms-3","3.5":"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px","0.5":"-mt-0.5",1:"-mt-1","1.5":"-mt-1.5",2:"-mt-2","2.5":"-mt-2.5",3:"-mt-3","3.5":"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px","0.5":"gap-x-0.5",1:"gap-x-1","1.5":"gap-x-1.5",2:"gap-x-2","2.5":"gap-x-2.5",3:"gap-x-3","3.5":"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px","0.5":"gap-y-0.5",1:"gap-y-1","1.5":"gap-y-1.5",2:"gap-y-2","2.5":"gap-y-2.5",3:"gap-y-3","3.5":"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{none:"rounded-none",xs:"rounded-xs",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:Xe,light:$e},scaleMode:{xSmall:Ze,small:Ke,medium:Ye,large:qe,xLarge:Je,xxxLarge:je,xxLarge:Qe}};var Lo=Do({cacheSize:0,extend:{theme:{borderColor:Eo,borderWidth:ko,borderRadius:So}},override:{classGroups:{"text-color":[{text:Ro}],"bg-color":[{bg:Co}],"font-family":[{font:["icons",...oo]}],leading:[{leading:oo}]},conflictingClassGroups:{}}}),b=(...o)=>{let e=Ao(o);return Lo(e)},Io=o=>e=>{if(!o?.variants)return b(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let p=e?.[s],l=r?.[s],c=De(p)||De(l);return t[s][c]}),n={...r,...e&&Object.entries(e).reduce((s,[p,l])=>typeof l>"u"?s:{...s,[p]:l},{})},i=o?.compoundVariants?.reduce((s,{className:p,...l})=>Object.entries(l).every(([c,y])=>n[c]===y)?b(s,p):s,"");return b(o?.base,a,i,e?.className)},d=Io({variants:eo});import{forwardRef as No}from"react";import{Children as he,cloneElement as ro,forwardRef as ao,isValidElement as Ce}from"react";function Mo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function to(...o){return e=>o.forEach(t=>Mo(t,e))}import{jsx as no}from"react/jsx-runtime";function w(){let o=ao((n,i)=>{let{children:s,...p}=n,l=he.toArray(s),c=l.find(r);if(c){let y=c.props.children,g=l.map(T=>T===c?he.count(y)>1?he.only(null):Ce(y)?y.props.children:null:T);return no(e,{...p,ref:i,children:Ce(y)?ro(y,void 0,g):null})}return no(e,{...p,ref:i,children:s})});o.displayName="Slot";let e=ao((n,i)=>{let{children:s,...p}=n;return Ce(s)?ro(s,{...a(p,s.props),ref:i?to(i,s.ref):s.ref}):he.count(s)>1?he.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ce(n)&&n.type===t}function a(n,i){let s={...i};for(let p in i){let l=n[p],c=i[p];/^on[A-Z]/.test(p)?l&&c?s[p]=(...g)=>{c(...g),l(...g)}:l&&(s[p]=l):p==="style"&&(s[p]={...l,...c})}return{...n,...s}}return o}import{jsx as _o}from"react/jsx-runtime";var Ho=w(),x=No(function({className:e,asChild:t,size:r,color:a,name:n,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,...Pe},we){let Ee=t?Ho:"span",Ae=d({iconSize:r,color:a,fontFamily:"icons",textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,className:e});return _o(Ee,{className:Ae,ref:we,...Pe,children:n})});import{forwardRef as Bo}from"react";import{jsx as zo}from"react/jsx-runtime";var Oo=w(),P=Bo(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,...ye},xe){let Pe=d({backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,className:e});return zo(t?Oo:"button",{className:Pe,ref:xe,onClick:a,...ye})});import{forwardRef as Vo}from"react";import{jsx as Go}from"react/jsx-runtime";var Wo=w(),Fo={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=Vo(function({className:e,asChild:t,color:r="primary",variant:a="body1",as:n=Fo[a],fontSize:i=a,fontFamily:s=a,fontWeight:p=a,lineHeight:l=a,textTransform:c=a,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho,...To},vo){let wo=d({className:e,color:r,fontFamily:s,fontSize:i,fontWeight:p,lineHeight:l,textTransform:c,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho});return Go(t?Wo:n,{className:wo,ref:vo,...To})});import{forwardRef as Zo}from"react";import{forwardRef as Uo}from"react";import{jsx as $o}from"react/jsx-runtime";var Xo=w(),C=Uo(function({asChild:e,className:t,backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$="flex",overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,...be},fe){let ye=d({backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$,overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,className:t});return $o(e?Xo:"div",{className:ye,ref:fe,...be})});import{jsx as Ko}from"react/jsx-runtime";var v=Zo(function({gap:e,...t},r){return Ko(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as qo,jsx as Se,jsxs as so}from"react/jsx-runtime";function Yo({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="4",_content:n,className:i,...s}){return so(qo,{children:[so(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:a,borderRadius:"md",onClick:t,className:b("hover:bg-secondary/80","w-full",i),...s,children:[Se(f,{variant:"title4",color:"primary",children:o}),Se(x,{name:r?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),Se(v,{overflow:"hidden",className:b("transition-[max-height]","duration-500","ease-in-out",r?"max-h-full":"max-h-0"),spacingHorizontal:a,...n,children:Se(v,{className:"min-h-min",children:e})})]})}var po={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Le={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"4",spacingVertical:"2",columnGap:"2"},m:{variant:"headline1",spacingHorizontal:"6",spacingVertical:"3",columnGap:"2"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"4",columnGap:"2"}}};function ge({variant:o="accent",size:e="s"}){let{color:t,...r}=Le.variant[o],{variant:a,...n}=Le.size[e];return{pressable:{...Le.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"sm"}}}import{jsx as Qo}from"react/jsx-runtime";function Jo({size:o,shape:e,src:t,alt:r,...a}){let n=d({...po,avatarSize:o,borderRadius:e});return Qo("img",{src:t,alt:r,className:n,...a})}import{forwardRef as jo}from"react";import{jsx as Ie,jsxs as et}from"react/jsx-runtime";var Me=jo(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...i},s){let p=ge({variant:e,size:t}),l=r?Ie(x,{name:r,...p.icon}):null,c=a?Ie(x,{name:a,...p.icon}):null;return et(P,{...p.pressable,ref:s,...i,children:[l,Ie(f,{...p.text,children:n}),c]})});import{jsx as Ne,jsxs as rt}from"react/jsx-runtime";var io={accent:"on-color",secondary:"primary"},ot={accent:"on-color",secondary:"tertiary"};function tt({children:o,variant:e,startIcon:t,startContent:r=t?Ne(x,{name:t,size:"sm",color:io[e]}):null,endIcon:a,endContent:n=a?Ne(x,{name:a,size:"sm",color:io[e]}):null}){return rt(P,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[r,Ne(f,{variant:"label2",color:ot[e],children:o}),n]})}import{Popover as st,PopoverAnchor as pt,PopoverArrow as it,PopoverDescription as lt,PopoverDisclosure as ct,PopoverDisclosureArrow as dt,PopoverDismiss as mt,PopoverHeading as bt,PopoverProvider as ft,usePopoverStore as He}from"@ariakit/react";import{forwardRef as at}from"react";import{jsx as nt}from"react/jsx-runtime";var ke=at(function({gap:e,...t},r){return nt(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as lo,jsxs as ht}from"react/jsx-runtime";function yt({children:o,leading:e,trailing:t}){return ht(ke,{children:[e,lo(f,{variant:"headline1",color:"primary",asChild:!0,children:lo(bt,{children:o})}),t]})}var _e=st,Be=it,ut=pt,xt=lt,gt=mt,Oe=ft,ze=ct,Pt=dt;var Tt=Oe;import{forwardRef as vt,useCallback as wt}from"react";import{jsx as Ct}from"react/jsx-runtime";var Ve=vt(function({children:e,disabled:t,onClick:r,...a},n){let i=He(),s=wt(p=>{p.preventDefault(),r?.(()=>i.setOpen(!1))},[r,i]);return Ct(P,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:b(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:r?s:void 0,ref:n,...a,children:e})});import{jsx as Re,jsxs as co}from"react/jsx-runtime";function St({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...i}){return co(Ve,{...i,children:[a&&Re(x,{name:a,size:"sm",color:"primary"}),co(v,{gap:"3",alignItems:"flex-start",children:[o&&Re(f,{variant:"headline1",color:"primary",...t,children:o}),e&&Re(f,{variant:"label2",color:"muted",...r,children:e})]}),n&&Re(x,{name:n,size:"sm",color:"primary"})]})}import{forwardRef as kt}from"react";import{jsx as mo,jsxs as Et}from"react/jsx-runtime";var Rt=kt(function({children:e,className:t,overflow:r="scroll",...a},n){return mo(v,{borderRadius:"lg",backgroundColor:"primary",className:b("max-h-[312px] min-w-[220px] shadow-md",t),overflow:r,spacingVertical:"2",asChild:!0,children:Et(_e,{preventBodyScroll:!0,...a,ref:n,children:[mo(Be,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as bo}from"react/jsx-runtime";function At({children:o,variant:e,size:t,...r}){let a=ge({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return bo(P,{...n,...r,asChild:!0,children:bo(ze,{children:o})})}import{forwardRef as Dt}from"react";import{jsx as fo}from"react/jsx-runtime";var Lt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},We=Dt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...i},s){let p=ge({variant:e,size:t});return fo(P,{...p.pressable,spacingHorizontal:p.pressable.spacingVertical,ref:s,className:b("leading-[0px]",Lt[t],a),...i,children:fo(x,{name:r,...p.icon,color:n})})});import{Dialog as It,DialogDismiss as Mt,useDialogStore as Nt}from"@ariakit/react";import{jsx as Te,jsxs as zt}from"react/jsx-runtime";function Ht(o){return Nt({animated:!0,...o})}function _t({children:o,handleClose:e}){return zt(ke,{alignItems:"center",justifyContent:"space-between",children:[Te(f,{variant:"headline1",color:"primary",children:o}),Te(Me,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Bt({className:o,...e}){return Te(v,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:b("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Te(It,{backdrop:Te("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...e})})}var Ot=Mt;import{jsx as Fe,jsxs as yo}from"react/jsx-runtime";function Vt({className:o,...e}){return yo("div",{role:"status",className:b("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[yo("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),Fe("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),Fe("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as ve,isValidElement as Wt}from"react";import{jsx as u,jsxs as Zt}from"react/jsx-runtime";var Ft=ve(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",borderRadius:i="md",...s},p){return u(C,{asChild:!0,borderColor:n,borderRadius:i,className:t,overflow:a,display:r,...s,children:u("table",{ref:p,children:e})})}),Gt=ve(function({children:e,display:t="table-row",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tr",{ref:a,children:e})})}),Ut=ve(function({children:e,display:t="table-header-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("thead",{ref:a,children:e})})}),Xt=ve(function({children:e,display:t="table-row-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tbody",{ref:a,children:e})})}),$t=ve(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="3",borderBottomColor:n="muted",color:i="primary",...s},p){let l=d({textAlign:"start",className:t});return u(f,{asChild:!0,variant:e?"headline1":"body1",color:i,display:r,spacing:a,borderBottomColor:n,borderBottomWidth:"thin",className:l,children:u(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:p})})});h.Root=Ft;h.Row=Gt;h.Header=Ut;h.Body=Xt;h.Cell=$t;function h({data:o,columns:e,...t}){return Zt(h.Root,{...t,children:[u(h.Header,{children:u(h.Row,{children:e.map((r,a)=>u(h.Cell,{asHeaderCell:"column",children:r.title},a))})}),u(h.Body,{children:o.map((r,a)=>u(h.Row,{children:e.map((n,i)=>{let s=r[n.dataIndex];return u(h.Cell,{children:n.render?n.render(s,r,a):Wt(s)?s:String(s)},i)})},a))})]})}import{Tab as Kt,TabList as Yt,TabPanel as qt,TabProvider as Jt,useTabContext as uo}from"@ariakit/react";import{forwardRef as xo}from"react";import{jsx as ue,jsxs as rr}from"react/jsx-runtime";var Qt=w();function jt(o){return ue(Jt,{...o})}var er=xo(function({className:e,...t},r){let a=d({display:"flex",flexDirection:"row",columnGap:"6",className:e});return ue(Yt,{ref:r,...t,className:a})}),or=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?Qt:"a",i=d({}),s=uo();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let p=s?.useState().activeId===r,l=p?"accent":"primary";return ue(Kt,{id:r,className:i,render:ue(n,{children:rr(P,{borderColor:p?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",children:[a?ue(x,{name:a,color:l,size:"md"}):null,ue(f,{color:l,variant:"headline1",children:t})]})})})},tr=xo(function(e,t){let r=uo();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return ue(qt,{ref:t,tabId:a,...e})});import{jsx as ar}from"react/jsx-runtime";function Ge({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:i="primary",placeholderColor:s="tertiary",spacingVertical:p="3",spacingHorizontal:l="4",fontSize:c="body1",...y}){return ar("input",{type:"text","data-1p-ignore":!0,className:b(d({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:p,spacingHorizontal:l,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:i,placeholderColor:s}),"w-full",o),disabled:e,...y})}import{jsx as nr,jsxs as sr}from"react/jsx-runtime";function Ue({children:o,required:e}){return sr(f,{variant:"caption2",color:"primary",children:[o,e&&nr(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}import{jsx as go,jsxs as ir}from"react/jsx-runtime";function pr({label:o,required:e,...t}){return ir(v,{gap:"4",className:"w-full",children:[go(Ue,{required:e,children:o}),go(Ge,{required:e,...t})]})}import{Slide as lr,toast as cr,ToastContainer as dr}from"react-toastify";import{jsx as Po}from"react/jsx-runtime";var mr=d({borderRadius:"md",spacingVertical:"4",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),br=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fr=d({backgroundColor:"positive"}),yr=d({backgroundColor:"alert"}),ur=d({backgroundColor:"accent"}),xr=d({backgroundColor:"warning"}),gr=d({backgroundColor:"accent"}),Pr=d({backgroundColor:"brand"}),hr=d({backgroundColor:"accent"}),Tr=o=>o?.type==="default"?b(mr,hr):o?.defaultClassName??"";function vr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:fr,error:yr,info:ur,warning:xr,default:gr,dark:Pr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return b(a,r)}function wr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Po(We,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Cr(o){return Po(dr,{toastClassName:Tr,bodyClassName:br,progressClassName:vr,transition:lr,closeButton:wr,...o})}export{Yo as Accordion,Jo as Avatar,Me as Button,tt as Chip,Tt as Dropdown,St as DropdownItem,Ve as DropdownItemPressable,Rt as DropdownItems,At as DropdownTrigger,We as IconButton,Bt as Modal,Ot as ModalDismiss,_t as ModalHeader,_e as Popover,ut as PopoverAnchor,Be as PopoverArrow,xt as PopoverDescription,ze as PopoverDisclosure,Pt as PopoverDisclosureArrow,gt as PopoverDismiss,yt as PopoverHeading,Oe as PopoverProvider,Vt as Spinner,or as Tab,er as TabList,tr as TabPanel,h as Table,jt as Tabs,Ge as TextInput,pr as TextInputGroup,Ue as TextInputLabel,Cr as ToastContainer,cr as toast,Ht as useModalStore,He as usePopoverStore};