@yahoo/uds 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +78 -131
- package/cli/commands/purge.ts +7 -3
- package/cli/env.d.ts +1 -0
- package/cli/utils/purgeCSS.test.ts +43 -3
- package/cli/utils/purgeCSS.ts +100 -14
- package/dist/Image.native-B3I4JoH3.d.cts +38 -0
- package/dist/Image.native-DUAFJodS.d.ts +38 -0
- package/dist/VStack-BHlRUsOR.d.cts +103 -0
- package/dist/VStack-DMb_RGRS.d.ts +103 -0
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +8 -8
- package/dist/experimental/index.d.ts +8 -8
- package/dist/experimental/index.js +1 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +1990 -0
- package/dist/fixtures.d.ts +81 -0
- package/dist/fixtures.js +1954 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +42 -237
- package/dist/index.d.ts +42 -237
- package/dist/index.js +1 -1
- package/dist/{index.native-CisPq4BI.d.ts → index.native-BTfOSmUx.d.ts} +1 -1
- package/dist/{index.native-DJlx-bfM.d.cts → index.native-Bm-r2Dpa.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +21 -84
- package/dist/index.native.d.ts +21 -84
- package/dist/index.native.js +1 -1
- package/dist/styles/globals.css +0 -1
- package/dist/styles/toast.css +1 -0
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +8 -2
- package/dist/tailwindPlugin.d.ts +8 -2
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +8 -3
- package/dist/tokens/index.d.ts +8 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +8 -18
- package/dist/tokens/parseTokens.d.ts +8 -18
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.cjs +1 -1
- package/dist/tokens/parseTokens.native.d.cts +4 -21
- package/dist/tokens/parseTokens.native.d.ts +4 -21
- package/dist/tokens/parseTokens.native.js +1 -1
- package/dist/{types-CzJpH_Oi.d.cts → types-COiuE8XK.d.cts} +49 -138
- package/dist/{types-CzJpH_Oi.d.ts → types-COiuE8XK.d.ts} +49 -138
- package/package.json +14 -13
- package/dist/Image.native-C6kOWgnf.d.ts +0 -38
- package/dist/Image.native-VeXt5aeI.d.cts +0 -38
- package/dist/VStack-BSD9TbBd.d.cts +0 -114
- package/dist/VStack-Dk3-8IyU.d.ts +0 -114
- package/dist/fixtures/index.cjs +0 -1
- package/dist/fixtures/index.d.cts +0 -154
- package/dist/fixtures/index.d.ts +0 -154
- package/dist/fixtures/index.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{forwardRef as et}from"react";import{backgroundColors as Uo,borderRadii as Wo,borderWidths as Xo,elevations as $o,foregroundColors as Zo,lineColors as Ko,textVariants as wo}from"@yahoo/uds/fixtures";import Yo from"clsx";import{extendTailwindMerge as qo}from"tailwind-merge";function Ye(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var b="uds",Qr=`${b}-spectrum-color`,jr=`${b}-font`,ea=`${b}-icon-size`,oa=`${b}-avatar-size`,ta=`${b}-border-radius`,ra=`${b}-border-width`,aa=`${b}-spacing`,na=`${b}-font-size`,sa=`${b}-line-height`,ia=`${b}-font-weight`,la=`${b}-text-transform`,co=`${b}-color-mode-dark`,bo=`${b}-color-mode-light`,mo=`${b}-scale-mode-xsmall`,fo=`${b}-scale-mode-small`,uo=`${b}-scale-mode-medium`,go=`${b}-scale-mode-large`,yo=`${b}-scale-mode-xlarge`,ho=`${b}-scale-mode-xxlarge`,xo=`${b}-scale-mode-xxxlarge`;var pa=`--${b}-font-icons`,ca=`--${b}-font-sans`,da=`--${b}-font-sans-beta`,ba=`--${b}-font-sans-condensed`,ma=`--${b}-font-serif-display`,fa=`--${b}-font-serif-text`;var vo={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"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]: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:{none:"p-[0px]",1:"p-1",2:"p-2",3:"p-3",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",13:"p-13",14:"p-14"},spacingHorizontal:{none:"px-none",1:"px-1",2:"px-2",3:"px-3",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",13:"px-13",14:"px-14"},spacingVertical:{none:"py-none",1:"py-1",2:"py-2",3:"py-3",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",13:"py-13",14:"py-14"},spacingBottom:{none:"pb-none",1:"pb-1",2:"pb-2",3:"pb-3",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",13:"pb-13",14:"pb-14"},spacingEnd:{none:"pe-none",1:"pe-1",2:"pe-2",3:"pe-3",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",13:"pe-13",14:"pe-14"},spacingStart:{none:"ps-none",1:"ps-1",2:"ps-2",3:"ps-3",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",13:"ps-13",14:"ps-14"},spacingTop:{none:"pt-none",1:"pt-1",2:"pt-2",3:"pt-3",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",13:"pt-13",14:"pt-14"},offset:{none:"-m-none",1:"-m-1",2:"-m-2",3:"-m-3",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",13:"-m-13",14:"-m-14"},offsetVertical:{none:"-my-none",1:"-my-1",2:"-my-2",3:"-my-3",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",13:"-my-13",14:"-my-14"},offsetHorizontal:{none:"-mx-none",1:"-mx-1",2:"-mx-2",3:"-mx-3",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",13:"-mx-13",14:"-mx-14"},offsetBottom:{none:"-mb-none",1:"-mb-1",2:"-mb-2",3:"-mb-3",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",13:"-mb-13",14:"-mb-14"},offsetEnd:{none:"-me-none",1:"-me-1",2:"-me-2",3:"-me-3",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",13:"-me-13",14:"-me-14"},offsetStart:{none:"-ms-none",1:"-ms-1",2:"-ms-2",3:"-ms-3",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",13:"-ms-13",14:"-ms-14"},offsetTop:{none:"-mt-none",1:"-mt-1",2:"-mt-2",3:"-mt-3",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",13:"-mt-13",14:"-mt-14"},columnGap:{none:"gap-x-none",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",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",13:"gap-x-13",14:"gap-x-14"},rowGap:{none:"gap-y-none",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",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",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},backgroundColorOnFocus:{accent:"focus:bg-accent",alert:"focus:bg-alert",black:"focus:bg-black",brand:"focus:bg-brand",positive:"focus:bg-positive",warning:"focus:bg-warning",white:"focus:bg-white","accent-wash":"focus:bg-accent-wash","alert-wash":"focus:bg-alert-wash","brand-wash":"focus:bg-brand-wash","elevation-1":"focus:bg-elevation-1","elevation-2":"focus:bg-elevation-2","elevation-3":"focus:bg-elevation-3","elevation-3-inverse":"focus:bg-elevation-3-inverse",overlay:"focus:bg-overlay","positive-wash":"focus:bg-positive-wash",primary:"focus:bg-primary",secondary:"focus:bg-secondary",transparent:"focus:bg-transparent","warning-wash":"focus:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},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"},bordered:{true:"border-thin border-solid"},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"},borderedVertical:{true:"border-y-thin"},borderedTop:{true:"border-t-thin"},borderedBottom:{true:"border-b-thin"},borderedHorizontal:{true:"border-x-thin"},borderedEnd:{true:"border-e-thin"},borderedStart:{true:"border-s-thin"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-[0px]"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-[0px]",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l 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"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:co,light:bo},scaleMode:{xSmall:mo,small:fo,medium:uo,large:go,xLarge:yo,xxxLarge:xo,xxLarge:ho}};var Jo=qo({cacheSize:0,extend:{theme:{borderColor:Ko,borderWidth:Xo,borderRadius:Wo}},override:{classGroups:{"text-color":[{text:Zo}],"bg-color":[{bg:Uo}],"font-family":[{font:["icons",...wo]}],leading:[{leading:wo}],shadow:[{shadow:$o}]},conflictingClassGroups:{}}}),u=(...o)=>{let e=Yo(o);return Jo(e)},Qo=o=>e=>{if(!o?.variants)return u(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let i=e?.[s],p=r?.[s],d=Ye(i)||Ye(p);return t[s][d]}),n={...r,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([d,f])=>n[d]===f)?u(s,i):s,"");return u(o?.base,a,l,e?.className)},c=Qo({variants:vo});import{Children as ze,cloneElement as To,forwardRef as Co,isValidElement as Ue}from"react";function jo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function Po(...o){return e=>o.forEach(t=>jo(t,e))}import{jsx as So}from"react/jsx-runtime";function T(){let o=Co((n,l)=>{let{children:s,...i}=n,p=ze.toArray(s),d=p.find(r);if(d){let f=d.props.children,h=p.map(w=>w===d?ze.count(f)>1?ze.only(null):Ue(f)?f.props.children:null:w);return So(e,{...i,ref:l,children:Ue(f)?To(f,void 0,h):null})}return So(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=Co((n,l)=>{let{children:s,...i}=n;return Ue(s)?To(s,{...a(i,s.props),ref:l?Po(l,s.ref):s.ref}):ze.count(s)>1?ze.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ue(n)&&n.type===t}function a(n,l){let s={...l};for(let i in l){let p=n[i],d=l[i];/^on[A-Z]/.test(i)?p&&d?s[i]=(...h)=>{d(...h),p(...h)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...d})}return{...n,...s}}return o}import{jsx as tt}from"react/jsx-runtime";var ot=T(),y=et(function({className:e,asChild:t=!1,size:r="l",color:a="primary",name:n,colorChecked:l,opacity:s,textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:I,borderRadius:D,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:N,borderColor:_,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:Ie,minHeight:De,maxHeight:Le,width:Me,minWidth:He,maxWidth:_e,...Oe},Ge){let Ze=t?ot:"span",Ke=c({iconSize:r,color:a,colorChecked:l,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:I,borderRadius:D,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:N,borderColor:_,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:Ie,minHeight:De,maxHeight:Le,width:Me,minWidth:He,maxWidth:_e,className:e});return tt(Ze,{className:Ke,ref:Ge,...Oe,children:n})});import{forwardRef as rt}from"react";import{jsx as nt}from"react/jsx-runtime";var at=T(),x=rt(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:D,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:N,borderColorOnFocus:_,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:Ie,width:De,minWidth:Le,maxWidth:Me,...He},_e){let Oe=c({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:D,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:N,borderColorOnFocus:_,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:Ie,width:De,minWidth:Le,maxWidth:Me,className:e});return nt(t?at:"button",{className:Oe,ref:_e,onClick:a,...He})});import{forwardRef as st}from"react";import{jsx as pt}from"react/jsx-runtime";var it=T(),lt={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"},m=st(function({className:e,asChild:t,color:r="primary",colorChecked:a,variant:n="body1",as:l=lt[n],fontSize:s=n,fontFamily:i=n,fontWeight:p=n,lineHeight:d=n,textTransform:f=n,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:I,borderedBottom:D,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:N,borderRadius:_,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:Ie,offsetStart:De,offsetTop:Le,columnGap:Me,rowGap:He,height:_e,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo,...Vo},Fo){let Go=c({className:e,color:r,colorChecked:a,fontFamily:i,fontSize:s,fontWeight:p,lineHeight:d,textTransform:f,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:I,borderedBottom:D,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:N,borderRadius:_,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:Ie,offsetStart:De,offsetTop:Le,columnGap:Me,rowGap:He,height:_e,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo});return pt(t?it:l,{className:Go,ref:Fo,...Vo})});import{forwardRef as mt}from"react";import{forwardRef as ct}from"react";import{jsx as bt}from"react/jsx-runtime";var dt=T(),C=ct(function({asChild:e,className:t,elevation:r,backgroundColor:a=r?`elevation-${r}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:D,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:N,borderColorOnHover:_,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae="flex",zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:Ie,maxWidth:De,...Le},Me){let He=c({elevation:r,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:D,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:N,borderColorOnHover:_,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:Ie,maxWidth:De,className:t});return bt(e?dt:"div",{className:He,ref:Me,...Le})});import{jsx as ft}from"react/jsx-runtime";var P=mt(function({gap:e,...t},r){return ft(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as gt,jsx as We,jsxs as ko}from"react/jsx-runtime";function ut({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",_content:n,...l}){return ko(gt,{children:[ko(x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,backgroundColorOnHover:"secondary",borderRadius:"md",width:"full",onClick:t,...l,children:[We(m,{variant:"title4",children:o}),We(y,{name:r?"chevronDown":"chevronUp",size:"s"})]}),We(P,{overflow:"hidden",maxHeight:r?"full":"none",className:"transition-[max-height] duration-500 ease-in-out",spacingHorizontal:a,...n,children:We(P,{minHeight:"min",children:e})})]})}var Ao={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},qe={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"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 Be({variant:o="accent",size:e="s"}){let{color:t,...r}=qe.variant[o],{variant:a,...n}=qe.size[e];return{pressable:{...qe.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}import{jsx as ht}from"react/jsx-runtime";function yt({size:o,shape:e,src:t,alt:r,...a}){let n=c({...Ao,avatarSize:o,borderRadius:e});return ht("img",{src:t,alt:r,className:n,...a})}import{forwardRef as xt}from"react";import{jsx as Je,jsxs as vt}from"react/jsx-runtime";var Qe=xt(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...l},s){let i=Be({variant:e,size:t}),p=r?Je(y,{name:r,...i.icon}):null,d=a?Je(y,{name:a,...i.icon}):null;return vt(x,{...i.pressable,ref:s,...l,children:[p,Je(m,{...i.text,children:n}),d]})});import{jsx as je,jsxs as Tt}from"react/jsx-runtime";var Ro={accent:"on-color",secondary:"primary"},wt={accent:"on-color",secondary:"tertiary"};function Pt({children:o,variant:e,startIcon:t,startContent:r=t?je(y,{name:t,size:"s",color:Ro[e]}):null,endIcon:a,endContent:n=a?je(y,{name:a,size:"s",color:Ro[e]}):null}){return Tt(x,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,je(m,{variant:"label2",color:wt[e],children:o}),n]})}import{Popover as kt,PopoverAnchor as At,PopoverArrow as Rt,PopoverDescription as Et,PopoverDisclosure as It,PopoverDisclosureArrow as Dt,PopoverDismiss as Lt,PopoverHeading as Mt,PopoverProvider as Ht,usePopoverStore as eo}from"@ariakit/react";import{forwardRef as Ct}from"react";import{jsx as St}from"react/jsx-runtime";var Xe=Ct(function({gap:e,...t},r){return St(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as Eo,jsxs as Vt}from"react/jsx-runtime";function Nt({children:o,leading:e,trailing:t}){return Vt(Xe,{children:[e,Eo(m,{variant:"headline1",asChild:!0,children:Eo(Mt,{children:o})}),t]})}var oo=kt,to=Rt,_t=At,Bt=Et,Ot=Lt,ro=Ht,ao=It,zt=Dt;var Ft=ro;import{forwardRef as Gt,useCallback as Ut}from"react";import{jsx as Wt}from"react/jsx-runtime";var no=Gt(function({children:e,onClick:t,...r},a){let n=eo(),l=Ut(s=>{s.preventDefault(),t?.(()=>n.setOpen(!1))},[t,n]);return Wt(x,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:t?l:void 0,ref:a,...r,children:e})});import{jsx as $e,jsxs as Io}from"react/jsx-runtime";function Xt({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...l}){return Io(no,{...l,children:[a&&$e(y,{name:a,size:"s"}),Io(P,{gap:"3",alignItems:"flex-start",children:[o&&$e(m,{variant:"headline1",...t,children:o}),e&&$e(m,{variant:"label2",color:"muted",...r,children:e})]}),n&&$e(y,{name:n,size:"s"})]})}import{forwardRef as $t}from"react";import{jsx as Do,jsxs as Kt}from"react/jsx-runtime";var Zt=$t(function({children:e,className:t,overflow:r="scroll",...a},n){return Do(P,{borderRadius:"lg",elevation:"3",className:u("max-h-[312px] min-w-[220px]",t),overflow:r,spacingVertical:"4",asChild:!0,children:Kt(oo,{preventBodyScroll:!0,...a,ref:n,children:[Do(to,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as Lo}from"react/jsx-runtime";function Yt({children:o,variant:e,size:t,...r}){let a=Be({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Lo(x,{...n,...r,asChild:!0,children:Lo(ao,{children:o})})}import{forwardRef as qt}from"react";import{jsx as Mo}from"react/jsx-runtime";var Jt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},so=qt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...l},s){let i=Be({variant:e,size:t});return Mo(x,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:u("leading-[0px]",Jt[t],a),...l,children:Mo(y,{name:r,...i.icon,color:n})})});import{Dialog as Qt,DialogDismiss as jt,useDialogStore as er}from"@ariakit/react";import{jsx as Ve,jsxs as nr}from"react/jsx-runtime";function or(o){return er({animated:!0,...o})}function tr({children:o,handleClose:e}){return nr(Xe,{alignItems:"center",justifyContent:"space-between",children:[Ve(m,{variant:"headline1",children:o}),Ve(Qe,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function rr({className:o,...e}){return Ve(P,{borderRadius:"md",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:u("inset-8 top-[250px] mx-auto w-[600px] origin-center scale-95 opacity-0 transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Ve(Qt,{backdrop:Ve("div",{className:"data-[enter]:bg-overlay opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var ar=jt;import{jsx as io,jsxs as Ho}from"react/jsx-runtime";function sr({className:o,...e}){return Ho("div",{role:"status",className:u("self-center",o),...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[Ho("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent h-8 w-8 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[io("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"}),io("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"})]}),io("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as Fe,isValidElement as ir}from"react";import{jsx as g,jsxs as mr}from"react/jsx-runtime";var lr=Fe(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",elevation:l="1",borderRadius:s="md",...i},p){return g(C,{asChild:!0,borderColor:n,elevation:l,borderRadius:s,className:t,overflow:a,display:r,...i,children:g("table",{ref:p,children:e})})}),pr=Fe(function({children:e,display:t="table-row",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tr",{ref:a,children:e})})}),cr=Fe(function({children:e,display:t="table-header-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("thead",{ref:a,children:e})})}),dr=Fe(function({children:e,display:t="table-row-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tbody",{ref:a,children:e})})}),br=Fe(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:l="primary",...s},i){let p=c({textAlign:"start",className:t});return g(m,{asChild:!0,variant:e?"headline1":"body1",color:l,display:r,spacing:a,borderBottomColor:n,borderedBottom:!0,className:p,children:g(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});v.Root=lr;v.Row=pr;v.Header=cr;v.Body=dr;v.Cell=br;function v({data:o,columns:e}){return mr(v.Root,{children:[g(v.Header,{children:g(v.Row,{children:e.map((t,r)=>g(v.Cell,{asHeaderCell:"column",children:t.title},r))})}),g(v.Body,{children:o.map((t,r)=>g(v.Row,{children:e.map((a,n)=>{let l=t[a.dataIndex];return g(v.Cell,{children:a.render?a.render(l,t,r):ir(l)?l:String(l)},n)})},r))})]})}import{Tab as fr,TabList as ur,TabPanel as gr,TabProvider as yr,useTabContext as No}from"@ariakit/react";import{forwardRef as _o}from"react";import{jsx as Ne,jsxs as Tr}from"react/jsx-runtime";var hr=T();function xr(o){return Ne(yr,{...o})}var vr=_o(function({className:e,...t},r){let a=c({display:"flex",flexDirection:"row",columnGap:"7",className:e});return Ne(ur,{ref:r,...t,className:a})}),wr=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?hr:"a",l=c({}),s=No();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===r,p=i?"accent":"primary";return Ne(fr,{id:r,className:l,render:Ne(n,{children:Tr(x,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[a?Ne(y,{name:a,color:p,size:"m"}):null,Ne(m,{color:p,variant:"headline1",children:t})]})})})},Pr=_o(function(e,t){let r=No();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return Ne(gr,{ref:t,tabId:a,...e})});import{jsx as Cr}from"react/jsx-runtime";function lo({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:d="body1",...f}){return Cr("input",{type:"text","data-1p-ignore":!0,className:u(c({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:i,spacingHorizontal:p,width:"full",fontSize:d,fontWeight:d,lineHeight:d,fontFamily:d,color:l,placeholderColor:s}),o),disabled:e,...f})}import{jsx as Sr,jsxs as kr}from"react/jsx-runtime";function po({children:o,required:e}){return kr(m,{variant:"caption2",children:[o,e&&Sr(m,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as Bo,jsxs as Rr}from"react/jsx-runtime";function Ar({label:o,required:e,...t}){return Rr(P,{gap:"4",width:"full",children:[Bo(po,{required:e,children:o}),Bo(lo,{required:e,...t})]})}import{Slide as Er,toast as Ir,ToastContainer as Dr}from"react-toastify";import{jsx as Oo}from"react/jsx-runtime";var Lr=c({elevation:"3",borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),Mr=c({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Hr=c({backgroundColor:"positive"}),Nr=c({backgroundColor:"alert"}),_r=c({backgroundColor:"accent"}),Br=c({backgroundColor:"warning"}),Or=c({backgroundColor:"elevation-3-inverse"}),zr=c({backgroundColor:"elevation-3-inverse"}),Vr=c({backgroundColor:"positive-wash",color:"positive"}),Fr=c({backgroundColor:"alert-wash",color:"alert"}),Gr=c({backgroundColor:"accent-wash",color:"accent"}),Ur=c({backgroundColor:"warning-wash",color:"warning"}),Wr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),Xr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),$r=o=>{let{type:e="default"}=o??{},t={success:Vr,error:Fr,info:Gr,warning:Ur,default:Wr,dark:Xr}[e];return u(Lr,t)};function Zr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:Hr,error:Nr,info:_r,warning:Br,default:Or,dark:zr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return u(a,r)}function Kr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Oo(so,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Yr(o){return Oo(Dr,{toastClassName:$r,bodyClassName:Mr,progressClassName:Zr,transition:Er,closeButton:Kr,...o})}export{ut as Accordion,yt as Avatar,Qe as Button,Pt as Chip,Ft as Dropdown,Xt as DropdownItem,no as DropdownItemPressable,Zt as DropdownItems,Yt as DropdownTrigger,so as IconButton,rr as Modal,ar as ModalDismiss,tr as ModalHeader,oo as Popover,_t as PopoverAnchor,to as PopoverArrow,Bt as PopoverDescription,ao as PopoverDisclosure,zt as PopoverDisclosureArrow,Ot as PopoverDismiss,Nt as PopoverHeading,ro as PopoverProvider,sr as Spinner,wr as Tab,vr as TabList,Pr as TabPanel,v as Table,xr as Tabs,lo as TextInput,Ar as TextInputGroup,po as TextInputLabel,Yr as ToastContainer,Ir as toast,or as useModalStore,eo as usePopoverStore};
|
1
|
+
import{backgroundColors as Do,borderRadii as Io,borderWidths as Lo,foregroundColors as Mo,lineColors as Ho,textVariants as io}from"@yahoo/uds/fixtures";import No from"clsx";import{extendTailwindMerge as _o}from"tailwind-merge";function _e(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",Mt=`${m}-spectrum-color`,Ht=`${m}-font`,Nt=`${m}-icon-size`,_t=`${m}-avatar-size`,Bt=`${m}-border-radius`,Ot=`${m}-border-width`,zt=`${m}-spacing`,Vt=`${m}-font-size`,Wt=`${m}-line-height`,Ft=`${m}-font-weight`,Gt=`${m}-text-transform`,Je=`${m}-color-mode-dark`,Qe=`${m}-color-mode-light`,je=`${m}-scale-mode-xsmall`,eo=`${m}-scale-mode-small`,oo=`${m}-scale-mode-medium`,ro=`${m}-scale-mode-large`,to=`${m}-scale-mode-xlarge`,no=`${m}-scale-mode-xxlarge`,ao=`${m}-scale-mode-xxxlarge`;var Ut=`--${m}-font-icons`,Xt=`--${m}-font-sans`,$t=`--${m}-font-sans-beta`,Zt=`--${m}-font-sans-condensed`,Kt=`--${m}-font-serif-display`,Yt=`--${m}-font-serif-text`;var so={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:{none:"p-[0px]",1:"p-1",2:"p-2",3:"p-3",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",13:"p-13",14:"p-14"},spacingHorizontal:{none:"px-none",1:"px-1",2:"px-2",3:"px-3",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",13:"px-13",14:"px-14"},spacingVertical:{none:"py-none",1:"py-1",2:"py-2",3:"py-3",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",13:"py-13",14:"py-14"},spacingBottom:{none:"pb-none",1:"pb-1",2:"pb-2",3:"pb-3",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",13:"pb-13",14:"pb-14"},spacingEnd:{none:"pe-none",1:"pe-1",2:"pe-2",3:"pe-3",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",13:"pe-13",14:"pe-14"},spacingStart:{none:"ps-none",1:"ps-1",2:"ps-2",3:"ps-3",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",13:"ps-13",14:"ps-14"},spacingTop:{none:"pt-none",1:"pt-1",2:"pt-2",3:"pt-3",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",13:"pt-13",14:"pt-14"},offset:{none:"-m-none",1:"-m-1",2:"-m-2",3:"-m-3",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",13:"-m-13",14:"-m-14"},offsetVertical:{none:"-my-none",1:"-my-1",2:"-my-2",3:"-my-3",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",13:"-my-13",14:"-my-14"},offsetHorizontal:{none:"-mx-none",1:"-mx-1",2:"-mx-2",3:"-mx-3",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",13:"-mx-13",14:"-mx-14"},offsetBottom:{none:"-mb-none",1:"-mb-1",2:"-mb-2",3:"-mb-3",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",13:"-mb-13",14:"-mb-14"},offsetEnd:{none:"-me-none",1:"-me-1",2:"-me-2",3:"-me-3",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",13:"-me-13",14:"-me-14"},offsetStart:{none:"-ms-none",1:"-ms-1",2:"-ms-2",3:"-ms-3",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",13:"-ms-13",14:"-ms-14"},offsetTop:{none:"-mt-none",1:"-mt-1",2:"-mt-2",3:"-mt-3",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",13:"-mt-13",14:"-mt-14"},columnGap:{none:"gap-x-none",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",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",13:"gap-x-13",14:"gap-x-14"},rowGap:{none:"gap-y-none",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",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",13:"gap-y-13",14:"gap-y-14"},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"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-[0px]"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-[0px]",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},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:Je,light:Qe},scaleMode:{xSmall:je,small:eo,medium:oo,large:ro,xLarge:to,xxxLarge:ao,xxLarge:no}};var Bo=_o({cacheSize:0,extend:{theme:{borderColor:Ho,borderWidth:Lo,borderRadius:Io}},override:{classGroups:{"text-color":[{text:Mo}],"bg-color":[{bg:Do}],"font-family":[{font:["icons",...io]}],leading:[{leading:io}]},conflictingClassGroups:{}}}),b=(...o)=>{let e=No(o);return Bo(e)},Oo=o=>e=>{if(!o?.variants)return b(o?.base,e?.className);let{variants:r,defaultVariants:t}=o,n=Object.keys(r).map(s=>{let i=e?.[s],p=t?.[s],c=_e(i)||_e(p);return r[s][c]}),a={...t,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([c,u])=>a[c]===u)?b(s,i):s,"");return b(o?.base,n,l,e?.className)},d=Oo({variants:so});import{forwardRef as Vo}from"react";import{Children as Re,cloneElement as po,forwardRef as co,isValidElement as De}from"react";function zo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function lo(...o){return e=>o.forEach(r=>zo(r,e))}import{jsx as mo}from"react/jsx-runtime";function v(){let o=co((a,l)=>{let{children:s,...i}=a,p=Re.toArray(s),c=p.find(t);if(c){let u=c.props.children,g=p.map(w=>w===c?Re.count(u)>1?Re.only(null):De(u)?u.props.children:null:w);return mo(e,{...i,ref:l,children:De(u)?po(u,void 0,g):null})}return mo(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=co((a,l)=>{let{children:s,...i}=a;return De(s)?po(s,{...n(i,s.props),ref:l?lo(l,s.ref):s.ref}):Re.count(s)>1?Re.only(null):null});e.displayName="SlotClone";let r=({children:a})=>a;function t(a){return De(a)&&a.type===r}function n(a,l){let s={...l};for(let i in l){let p=a[i],c=l[i];/^on[A-Z]/.test(i)?p&&c?s[i]=(...g)=>{c(...g),p(...g)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...c})}return{...a,...s}}return o}import{jsx as Fo}from"react/jsx-runtime";var Wo=v(),x=Vo(function({className:e,asChild:r,size:t,color:n,name:a,textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:u,borderBottomEndRadius:g,borderColor:w,borderColorOnActive:S,borderColorOnFocus:R,borderColorOnChecked:k,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:I,borderBottomColor:L,borderWidth:M,borderVerticalWidth:H,borderHorizontalWidth:N,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:re,spacingVertical:te,spacingBottom:ne,spacingEnd:ae,spacingStart:se,spacingTop:ie,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ue,rowGap:ye,height:xe,minHeight:ge,maxHeight:Pe,width:he,minWidth:we,maxWidth:ve,...Se},Ae){let He=r?Wo:"span",Ne=d({iconSize:t,color:n,fontFamily:"icons",textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:u,borderBottomEndRadius:g,borderColor:w,borderColorOnActive:S,borderColorOnFocus:R,borderColorOnChecked:k,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:I,borderBottomColor:L,borderWidth:M,borderVerticalWidth:H,borderHorizontalWidth:N,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:re,spacingVertical:te,spacingBottom:ne,spacingEnd:ae,spacingStart:se,spacingTop:ie,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ue,rowGap:ye,height:xe,minHeight:ge,maxHeight:Pe,width:he,minWidth:we,maxWidth:ve,className:e});return Fo(He,{className:Ne,ref:Ae,...Se,children:a})});import{forwardRef as Go}from"react";import{jsx as Xo}from"react/jsx-runtime";var Uo=v(),P=Go(function({className:e,asChild:r,onPress:t,onClick:n=t,backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:u,borderColorOnActive:g,borderColorOnFocus:w,borderColorOnChecked:S,borderColorOnHover:R,borderStartColor:k,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:I,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:H,borderEndWidth:N,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:re,spacingEnd:te,spacingStart:ne,spacingTop:ae,offset:se,offsetVertical:ie,offsetHorizontal:le,offsetBottom:pe,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,height:ue,minHeight:ye,maxHeight:xe,width:ge,minWidth:Pe,maxWidth:he,...we},ve){let Se=d({backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:u,borderColorOnActive:g,borderColorOnFocus:w,borderColorOnChecked:S,borderColorOnHover:R,borderStartColor:k,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:I,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:H,borderEndWidth:N,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:re,spacingEnd:te,spacingStart:ne,spacingTop:ae,offset:se,offsetVertical:ie,offsetHorizontal:le,offsetBottom:pe,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,height:ue,minHeight:ye,maxHeight:xe,width:ge,minWidth:Pe,maxWidth:he,className:e});return Xo(r?Uo:"button",{className:Se,ref:ve,onClick:n,...we})});import{forwardRef as $o}from"react";import{jsx as Yo}from"react/jsx-runtime";var Zo=v(),Ko={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=$o(function({className:e,asChild:r,color:t="primary",variant:n="body1",as:a=Ko[n],fontSize:l=n,fontFamily:s=n,fontWeight:i=n,lineHeight:p=n,textTransform:c=n,textAlign:u,backgroundColor:g,borderRadius:w,borderTopStartRadius:S,borderTopEndRadius:R,borderBottomStartRadius:k,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:I,borderColorOnChecked:L,borderColorOnHover:M,borderStartColor:H,borderEndColor:N,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:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ye,offsetEnd:xe,offsetStart:ge,offsetTop:Pe,columnGap:he,rowGap:we,height:ve,minHeight:Se,maxHeight:Ae,width:He,minWidth:Ne,maxWidth:Ro,...ko},Eo){let Ao=d({className:e,color:t,fontFamily:s,fontSize:l,fontWeight:i,lineHeight:p,textTransform:c,textAlign:u,backgroundColor:g,borderRadius:w,borderTopStartRadius:S,borderTopEndRadius:R,borderBottomStartRadius:k,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:I,borderColorOnChecked:L,borderColorOnHover:M,borderStartColor:H,borderEndColor:N,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:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ye,offsetEnd:xe,offsetStart:ge,offsetTop:Pe,columnGap:he,rowGap:we,height:ve,minHeight:Se,maxHeight:Ae,width:He,minWidth:Ne,maxWidth:Ro});return Yo(r?Zo:a,{className:Ao,ref:Eo,...ko})});import{forwardRef as jo}from"react";import{forwardRef as qo}from"react";import{jsx as Qo}from"react/jsx-runtime";var Jo=v(),C=qo(function({asChild:e,className:r,backgroundColor:t,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:u,borderColorOnChecked:g,borderColorOnHover:w,borderStartColor:S,borderEndColor:R,borderTopColor:k,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:I,borderStartWidth:L,borderEndWidth:M,borderTopWidth:H,borderBottomWidth:N,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:re,spacingTop:te,offset:ne,offsetVertical:ae,offsetHorizontal:se,offsetBottom:ie,offsetEnd:le,offsetStart:pe,offsetTop:ce,columnGap:de,rowGap:me,height:be,minHeight:fe,maxHeight:ue,width:ye,minWidth:xe,maxWidth:ge,...Pe},he){let we=d({backgroundColor:t,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:u,borderColorOnChecked:g,borderColorOnHover:w,borderStartColor:S,borderEndColor:R,borderTopColor:k,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:I,borderStartWidth:L,borderEndWidth:M,borderTopWidth:H,borderBottomWidth:N,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:re,spacingTop:te,offset:ne,offsetVertical:ae,offsetHorizontal:se,offsetBottom:ie,offsetEnd:le,offsetStart:pe,offsetTop:ce,columnGap:de,rowGap:me,height:be,minHeight:fe,maxHeight:ue,width:ye,minWidth:xe,maxWidth:ge,className:r});return Qo(e?Jo:"div",{className:we,ref:he,...Pe})});import{jsx as er}from"react/jsx-runtime";var T=jo(function({gap:e,...r},t){return er(C,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...r})});import{Fragment as rr,jsx as Ie,jsxs as bo}from"react/jsx-runtime";function or({label:o,children:e,onClick:r,open:t,spacingHorizontal:n="6",_content:a,className:l,...s}){return bo(rr,{children:[bo(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:n,borderRadius:"md",width:"full",onClick:r,className:b("hover:bg-secondary/80",l),...s,children:[Ie(f,{variant:"title4",color:"primary",children:o}),Ie(x,{name:t?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),Ie(T,{overflow:"hidden",maxHeight:t?"full":"none",className:"transition-[max-height] duration-500 ease-in-out",spacingHorizontal:n,...a,children:Ie(T,{minHeight:"min",children:e})})]})}var fo={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Be={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"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 Ce({variant:o="accent",size:e="s"}){let{color:r,...t}=Be.variant[o],{variant:n,...a}=Be.size[e];return{pressable:{...Be.base,...t,...a},text:{color:r,variant:n,textAlign:"center"},icon:{color:r,size:"sm"}}}import{jsx as nr}from"react/jsx-runtime";function tr({size:o,shape:e,src:r,alt:t,...n}){let a=d({...fo,avatarSize:o,borderRadius:e});return nr("img",{src:r,alt:t,className:a,...n})}import{forwardRef as ar}from"react";import{jsx as Oe,jsxs as sr}from"react/jsx-runtime";var ze=ar(function({variant:e="accent",size:r,startIcon:t,endIcon:n,children:a,...l},s){let i=Ce({variant:e,size:r}),p=t?Oe(x,{name:t,...i.icon}):null,c=n?Oe(x,{name:n,...i.icon}):null;return sr(P,{...i.pressable,ref:s,...l,children:[p,Oe(f,{...i.text,children:a}),c]})});import{jsx as Ve,jsxs as pr}from"react/jsx-runtime";var uo={accent:"on-color",secondary:"primary"},ir={accent:"on-color",secondary:"tertiary"};function lr({children:o,variant:e,startIcon:r,startContent:t=r?Ve(x,{name:r,size:"sm",color:uo[e]}):null,endIcon:n,endContent:a=n?Ve(x,{name:n,size:"sm",color:uo[e]}):null}){return pr(P,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,Ve(f,{variant:"label2",color:ir[e],children:o}),a]})}import{Popover as mr,PopoverAnchor as br,PopoverArrow as fr,PopoverDescription as ur,PopoverDisclosure as yr,PopoverDisclosureArrow as xr,PopoverDismiss as gr,PopoverHeading as Pr,PopoverProvider as hr,usePopoverStore as We}from"@ariakit/react";import{forwardRef as cr}from"react";import{jsx as dr}from"react/jsx-runtime";var Le=cr(function({gap:e,...r},t){return dr(C,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...r})});import{jsx as yo,jsxs as Rr}from"react/jsx-runtime";function wr({children:o,leading:e,trailing:r}){return Rr(Le,{children:[e,yo(f,{variant:"headline1",color:"primary",asChild:!0,children:yo(Pr,{children:o})}),r]})}var Fe=mr,Ge=fr,Tr=br,vr=ur,Cr=gr,Ue=hr,Xe=yr,Sr=xr;var kr=Ue;import{forwardRef as Er,useCallback as Ar}from"react";import{jsx as Dr}from"react/jsx-runtime";var $e=Er(function({children:e,disabled:r,onClick:t,...n},a){let l=We(),s=Ar(i=>{i.preventDefault(),t?.(()=>l.setOpen(!1))},[t,l]);return Dr(P,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:b(!r&&"hover:bg-gray-2",r&&"cursor-default"),onClick:t?s:void 0,ref:a,...n,children:e})});import{jsx as Me,jsxs as xo}from"react/jsx-runtime";function Ir({title:o,description:e,_title:r,_description:t,startIcon:n,endIcon:a,...l}){return xo($e,{...l,children:[n&&Me(x,{name:n,size:"sm",color:"primary"}),xo(T,{gap:"3",alignItems:"flex-start",children:[o&&Me(f,{variant:"headline1",color:"primary",...r,children:o}),e&&Me(f,{variant:"label2",color:"muted",...t,children:e})]}),a&&Me(x,{name:a,size:"sm",color:"primary"})]})}import{forwardRef as Lr}from"react";import{jsx as go,jsxs as Hr}from"react/jsx-runtime";var Mr=Lr(function({children:e,className:r,overflow:t="scroll",...n},a){return go(T,{borderRadius:"lg",backgroundColor:"primary",className:b("max-h-[312px] min-w-[220px] shadow-md",r),overflow:t,spacingVertical:"4",asChild:!0,children:Hr(Fe,{preventBodyScroll:!0,...n,ref:a,children:[go(Ge,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as Po}from"react/jsx-runtime";function Nr({children:o,variant:e,size:r,...t}){let n=Ce({variant:e,size:r}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Po(P,{...a,...t,asChild:!0,children:Po(Xe,{children:o})})}import{forwardRef as _r}from"react";import{jsx as ho}from"react/jsx-runtime";var Br={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},Ze=_r(function({variant:e="accent",size:r="s",name:t,className:n,color:a,...l},s){let i=Ce({variant:e,size:r});return ho(P,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:b("leading-[0px]",Br[r],n),...l,children:ho(x,{name:t,...i.icon,color:a})})});import{Dialog as Or,DialogDismiss as zr,useDialogStore as Vr}from"@ariakit/react";import{jsx as ke,jsxs as Xr}from"react/jsx-runtime";function Wr(o){return Vr({animated:!0,...o})}function Fr({children:o,handleClose:e}){return Xr(Le,{alignItems:"center",justifyContent:"space-between",children:[ke(f,{variant:"headline1",color:"primary",children:o}),ke(ze,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function Gr({className:o,...e}){return ke(T,{borderRadius:"md",position:"fixed",height:"fit",backgroundColor:"primary",className:b("inset-8 top-[250px] z-50 mx-auto 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:ke(Or,{backdrop:ke("div",{className:"data-[enter]:bg-overlay opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var Ur=zr;import{jsx as Ke,jsxs as wo}from"react/jsx-runtime";function $r({className:o,...e}){return wo("div",{role:"status",className:b("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[wo("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:[Ke("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"}),Ke("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"})]}),Ke("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as Ee,isValidElement as Zr}from"react";import{jsx as y,jsxs as jr}from"react/jsx-runtime";var Kr=Ee(function({children:e,className:r,display:t="table",overflow:n="hidden",borderColor:a="muted",borderRadius:l="md",...s},i){return y(C,{asChild:!0,borderColor:a,borderRadius:l,className:r,overflow:n,display:t,...s,children:y("table",{ref:i,children:e})})}),Yr=Ee(function({children:e,display:r="table-row",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("tr",{ref:n,children:e})})}),qr=Ee(function({children:e,display:r="table-header-group",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("thead",{ref:n,children:e})})}),Jr=Ee(function({children:e,display:r="table-row-group",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("tbody",{ref:n,children:e})})}),Qr=Ee(function({asHeaderCell:e,className:r,display:t="table-cell",spacing:n="5",borderBottomColor:a="muted",color:l="primary",...s},i){let p=d({textAlign:"start",className:r});return y(f,{asChild:!0,variant:e?"headline1":"body1",color:l,display:t,spacing:n,borderBottomColor:a,borderBottomWidth:"thin",className:p,children:y(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});h.Root=Kr;h.Row=Yr;h.Header=qr;h.Body=Jr;h.Cell=Qr;function h({data:o,columns:e,...r}){return jr(h.Root,{...r,children:[y(h.Header,{children:y(h.Row,{children:e.map((t,n)=>y(h.Cell,{asHeaderCell:"column",children:t.title},n))})}),y(h.Body,{children:o.map((t,n)=>y(h.Row,{children:e.map((a,l)=>{let s=t[a.dataIndex];return y(h.Cell,{children:a.render?a.render(s,t,n):Zr(s)?s:String(s)},l)})},n))})]})}import{Tab as et,TabList as ot,TabPanel as rt,TabProvider as tt,useTabContext as To}from"@ariakit/react";import{forwardRef as vo}from"react";import{jsx as Te,jsxs as pt}from"react/jsx-runtime";var nt=v();function at(o){return Te(tt,{...o})}var st=vo(function({className:e,...r},t){let n=d({display:"flex",flexDirection:"row",columnGap:"7",className:e});return Te(ot,{ref:t,...r,className:n})}),it=function({asChild:e,label:r,value:t,startIcon:n}){let a=e?nt:"a",l=d({}),s=To();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,p=i?"accent":"primary";return Te(et,{id:t,className:l,render:Te(a,{children:pt(P,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[n?Te(x,{name:n,color:p,size:"md"}):null,Te(f,{color:p,variant:"headline1",children:r})]})})})},lt=vo(function(e,r){let t=To();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return Te(rt,{ref:r,tabId:n,...e})});import{jsx as ct}from"react/jsx-runtime";function Ye({className:o,disabled:e,backgroundColor:r=e?"secondary":"primary",borderColor:t="tertiary",borderWidth:n="thin",borderRadius:a="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:c="body1",...u}){return ct("input",{type:"text","data-1p-ignore":!0,className:b(d({backgroundColor:r,borderColor:t,borderWidth:n,borderRadius:a,spacingVertical:i,spacingHorizontal:p,width:"full",fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),o),disabled:e,...u})}import{jsx as dt,jsxs as mt}from"react/jsx-runtime";function qe({children:o,required:e}){return mt(f,{variant:"caption2",color:"primary",children:[o,e&&dt(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as Co,jsxs as ft}from"react/jsx-runtime";function bt({label:o,required:e,...r}){return ft(T,{gap:"4",width:"full",children:[Co(qe,{required:e,children:o}),Co(Ye,{required:e,...r})]})}import{Slide as ut,toast as yt,ToastContainer as xt}from"react-toastify";import{jsx as So}from"react/jsx-runtime";var gt=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"}),Pt=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ht=d({backgroundColor:"positive"}),wt=d({backgroundColor:"alert"}),Tt=d({backgroundColor:"accent"}),vt=d({backgroundColor:"warning"}),Ct=d({backgroundColor:"brand"}),St=d({backgroundColor:"brand"}),Rt=d({backgroundColor:"brand",color:"on-color"}),kt=o=>o?.type==="default"?b(gt,Rt):o?.defaultClassName??"";function Et(o){let{type:e="default",defaultClassName:r=""}=o??{},t={success:ht,error:wt,info:Tt,warning:vt,default:Ct,dark:St}[e],n=r.replace(/Toastify__progress-bar-theme--light/,"");return b(n,t)}function At({closeToast:o,type:e}){let r={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return So(Ze,{name:"close",size:"s",variant:"accent-ghost",color:r,onClick:o})}function Dt(o){return So(xt,{toastClassName:kt,bodyClassName:Pt,progressClassName:Et,transition:ut,closeButton:At,...o})}export{or as Accordion,tr as Avatar,ze as Button,lr as Chip,kr as Dropdown,Ir as DropdownItem,$e as DropdownItemPressable,Mr as DropdownItems,Nr as DropdownTrigger,Ze as IconButton,Gr as Modal,Ur as ModalDismiss,Fr as ModalHeader,Fe as Popover,Tr as PopoverAnchor,Ge as PopoverArrow,vr as PopoverDescription,Xe as PopoverDisclosure,Sr as PopoverDisclosureArrow,Cr as PopoverDismiss,wr as PopoverHeading,Ue as PopoverProvider,$r as Spinner,it as Tab,st as TabList,lt as TabPanel,h as Table,at as Tabs,Ye as TextInput,bt as TextInputGroup,qe as TextInputLabel,Dt as ToastContainer,yt as toast,Wr as useModalStore,We as usePopoverStore};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var de=Object.defineProperty;var yt=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var St=Object.prototype.hasOwnProperty;var xt=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},vt=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ct(t))!St.call(e,a)&&a!==r&&de(e,a,{get:()=>t[a],enumerable:!(l=yt(t,a))||l.enumerable});return e};var wt=e=>vt(de({},"__esModule",{value:!0}),e);var Vt={};xt(Vt,{Avatar:()=>zt,Button:()=>Ht,IconButton:()=>Ft});module.exports=wt(Vt);var Re={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},We={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ze={none:0,thin:1,medium:2,thick:2},Ee={none:0,thin:1,medium:2,thick:4};var He={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var Be={auto:"auto",square:"1 / 1",video:"16 / 9"},Fe={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var Ve={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Oe={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Go={white:"#ffffff",black:"#000000",transparent:"transparent"};var se={s:16,m:24,l:32},Me=se,pe={s:16,m:24,l:32},Ae=pe;var Ie={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Ge={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Le={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},$e={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var No=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ue=["Georgia","Times","Times New Roman","serif"],De={icons:{fallbacks:No,name:"yahoo-icons"},sans:{fallbacks:No,name:"yahoo-sans"},"sans-beta":{fallbacks:No,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:No,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ue,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ue,name:"yahoo-serif-display"}},ce={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},I={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ge={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},me={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},be={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},fe={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...be.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},_o={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...fe.lineHeight,title2:36,title3:32}},ue={fontSize:{..._o.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{..._o.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},he={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...ue.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},ye={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...he.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Ne={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...ye.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Ce={fontFamily:ce,fontWeight:ge,textTransform:me,avatarSizes:se,iconSizes:pe,borderRadius:Re,borderWidth:ze,spacing:Ie},jo={fontFamily:ce,fontWeight:ge,textTransform:me,avatarSizes:Me,iconSizes:Ae,borderRadius:We,borderWidth:Ee,spacing:Ge},Xo={colorMode:{light:{palette:Ve,spectrum:Le},dark:{palette:Oe,spectrum:$e}},scaleMode:{xSmall:{...Ce,...be},small:{...Ce,...fe},medium:{...Ce,..._o},large:{...jo,...ue},xLarge:{...jo,...he},xxLarge:{...jo,...ye},xxxLarge:{...jo,...Ne}},aspectRatio:Be,elevation:He,fontFamily:De,zIndex:Fe};var Fo="light",Bo="large";function _e(e){return Object.entries(e)}var so=require("react");var Ye=require("@yahoo/uds/fixtures");function Yo(e,t){return Object.keys(e).reduce((r,l,a)=>(r[l]=t(e[l],l,a),r),{})}function je({spectrum:e,palette:t}){let r=Yo(e,a=>Yo(a,n=>`rgb(${n.replaceAll(" ",",")})`)),l=Yo(t,a=>Object.entries(a).reduce((n,[g,{hue:o,step:d,opacity:f}])=>{let i=e[o][d],s=f?`rgb(${i.replaceAll(" ",",")} / ${f})`:`rgb(${i.replaceAll(" ",",")})`;return{...n,[g]:s}},{}));return{spectrum:r,palette:l}}function kt(e){let t={};for(let[r,[{color:l,offsetX:a,offsetY:n,blurRadius:g}]]of _e(e)){let o={shadowColor:l,shadowOffset:{width:a,height:n},shadowOpacity:1,shadowRadius:g};t[r]=o}return t}function Xe({colorMode:e,elevation:t,...r}){return{...r,colorMode:{light:je(e.light),dark:je(e.dark)},elevation:kt(t)}}function Se(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var z={};function xe({colorMode:e,scaleMode:t},r){let{colorMode:l,scaleMode:a,fontFamily:n,...g}=Xe(r),o={fontFamilyGlobal:n,...g,...l[e],...a[t]},d=Object.assign,f=function(j){return function(c){let X={};if(!j?.variants)return d(X,j?.base);let{base:$o,variants:te,defaultVariants:re,compoundVariants:Mo}=j;$o&&d(X,$o);function ne(Ao){if(Ao){let{style:Io,...ae}=Ao;for(let Uo in ae){let Do=te[Uo],ie=c?.[Uo],Pe=re?.[Uo],le=Se(ie)||Se(Pe);if(le&&le in Do){let ht=Do[le];d(X,ht)}}Io&&d(X,Io)}}if(ne(c),Mo&&Mo?.length>0)for(let Ao of Mo){let{style:Io,...ae}=Ao;Object.entries(ae).every(([Do,ie])=>c?.[Do]===ie)&&Io&&d(X,Io)}return c?.style&&d(X,c.style),X}},i=o.spacing.none,s=o.spacing[1],p=o.spacing[2],m=o.spacing[3],u=o.spacing[4],h=o.spacing[5],y=o.spacing[6],C=o.spacing[7],S=o.spacing[8],x=o.spacing[9],v=o.spacing[10],w=o.spacing[11],k=o.spacing[12],T=o.spacing[13],P=o.spacing[14],R=o.palette.core.accent,W=o.palette.core.alert,E=o.palette.core.brand,H=o.palette.core.positive,B=o.palette.core.warning,F=Go.white,V=Go.black,O=Go.transparent,ao=o.palette.foreground.muted,io=o.palette.foreground["on-color"],lo=o.palette.foreground.primary,no=o.palette.foreground.secondary,po=o.palette.foreground.tertiary,Y=o.palette.backgroundWash["accent-wash"],K=o.palette.backgroundWash["alert-wash"],Z=o.palette.backgroundWash["brand-wash"],q=o.palette.backgroundWash["positive-wash"],J=o.palette.backgroundWash["warning-wash"],U=o.palette.elevation["elevation-1"],D=o.palette.elevation["elevation-2"],N=o.palette.elevation["elevation-3"],Q=o.palette.elevation["elevation-3-inverse"],oo=o.palette.elevation.overlay,eo=o.palette.background.primary,to=o.palette.background.secondary,M=o.palette.line.primary,G=o.palette.line.secondary,L=o.palette.line.tertiary,$=o.palette.line.muted,b=o.fontFamilyGlobal,co=b.sans.name,go=b["sans-beta"].name,mo=b["sans-condensed"].name,bo=b["serif-text"].name,fo=b["serif-display"].name,uo=b[o.fontFamily.display1].name,ho=b[o.fontFamily.display2].name,yo=b[o.fontFamily.display3].name,Co=b[o.fontFamily.title1].name,So=b[o.fontFamily.title2].name,xo=b[o.fontFamily.title3].name,vo=b[o.fontFamily.title4].name,wo=b[o.fontFamily.headline1].name,ko=b[o.fontFamily.body1].name,To=b[o.fontFamily.label1].name,Po=b[o.fontFamily.label2].name,Ro=b[o.fontFamily.caption1].name,Wo=b[o.fontFamily.caption2].name,zo=b[o.fontFamily.legal1].name;function Eo(_){return!!(typeof _=="string"&&Ye.textVariants.includes(_))}function Ho({style:_,...j}){let Oo={},c;Eo(j.fontWeight)?c=o.fontWeight[j.fontWeight]:c="regular";let X=f({variants:{color:{accent:{color:R},alert:{color:W},black:{color:V},brand:{color:E},positive:{color:H},warning:{color:B},white:{color:F},transparent:{color:O},muted:{color:ao},"on-color":{color:io},primary:{color:lo},secondary:{color:no},tertiary:{color:po}},colorChecked:{accent:{color:R},alert:{color:W},black:{color:V},brand:{color:E},positive:{color:H},warning:{color:B},white:{color:F},transparent:{color:O},muted:{color:ao},"on-color":{color:io},primary:{color:lo},secondary:{color:no},tertiary:{color:no}},fontFamily:{icons:{fontFamily:b.icons.name},sans:{fontFamily:`${co}-${c}`},"sans-beta":{fontFamily:`${go}-${c}`},"sans-condensed":{fontFamily:`${mo}-${c}`},"serif-text":{fontFamily:`${bo}-${c}`},"serif-display":{fontFamily:`${fo}-${c}`},display1:{fontFamily:`${uo}-${c}`},display2:{fontFamily:`${ho}-${c}`},display3:{fontFamily:`${yo}-${c}`},title1:{fontFamily:`${Co}-${c}`},title2:{fontFamily:`${So}-${c}`},title3:{fontFamily:`${xo}-${c}`},title4:{fontFamily:`${vo}-${c}`},headline1:{fontFamily:`${wo}-${c}`},body1:{fontFamily:`${ko}-${c}`},label1:{fontFamily:`${To}-${c}`},label2:{fontFamily:`${Po}-${c}`},caption1:{fontFamily:`${Ro}-${c}`},caption2:{fontFamily:`${Wo}-${c}`},legal1:{fontFamily:`${zo}-${c}`}},fontSize:{display1:{fontSize:o.fontSize.display1},display2:{fontSize:o.fontSize.display2},display3:{fontSize:o.fontSize.display3},title1:{fontSize:o.fontSize.title1},title2:{fontSize:o.fontSize.title2},title3:{fontSize:o.fontSize.title3},title4:{fontSize:o.fontSize.title4},headline1:{fontSize:o.fontSize.headline1},body1:{fontSize:o.fontSize.body1},label1:{fontSize:o.fontSize.label1},label2:{fontSize:o.fontSize.label2},caption1:{fontSize:o.fontSize.caption1},caption2:{fontSize:o.fontSize.caption2},legal1:{fontSize:o.fontSize.legal1}},fontWeight:{display1:{fontWeight:I[o.fontWeight.display1]},display2:{fontWeight:I[o.fontWeight.display2]},display3:{fontWeight:I[o.fontWeight.display3]},title1:{fontWeight:I[o.fontWeight.title1]},title2:{fontWeight:I[o.fontWeight.title2]},title3:{fontWeight:I[o.fontWeight.title3]},title4:{fontWeight:I[o.fontWeight.title4]},headline1:{fontWeight:I[o.fontWeight.headline1]},body1:{fontWeight:I[o.fontWeight.body1]},label1:{fontWeight:I[o.fontWeight.label1]},label2:{fontWeight:I[o.fontWeight.label2]},caption1:{fontWeight:I[o.fontWeight.caption1]},caption2:{fontWeight:I[o.fontWeight.caption2]},legal1:{fontWeight:I[o.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:o.lineHeight.display1},display2:{lineHeight:o.lineHeight.display2},display3:{lineHeight:o.lineHeight.display3},title1:{lineHeight:o.lineHeight.title1},title2:{lineHeight:o.lineHeight.title2},title3:{lineHeight:o.lineHeight.title3},title4:{lineHeight:o.lineHeight.title4},headline1:{lineHeight:o.lineHeight.headline1},body1:{lineHeight:o.lineHeight.body1},label1:{lineHeight:o.lineHeight.label1},label2:{lineHeight:o.lineHeight.label2},caption1:{lineHeight:o.lineHeight.caption1},caption2:{lineHeight:o.lineHeight.caption2},legal1:{lineHeight:o.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:Y},"alert-wash":{backgroundColor:K},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:U},"elevation-2":{backgroundColor:D},"elevation-3":{backgroundColor:N},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:to},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:J}},backgroundColorOnActive:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:Y},"alert-wash":{backgroundColor:K},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:U},"elevation-2":{backgroundColor:D},"elevation-3":{backgroundColor:N},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:to},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:J}},backgroundColorOnHover:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:Y},"alert-wash":{backgroundColor:K},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:U},"elevation-2":{backgroundColor:D},"elevation-3":{backgroundColor:N},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:to},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:J}},backgroundColorOnChecked:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:Y},"alert-wash":{backgroundColor:K},"brand-wash":{backgroundColor:Z},"elevation-1":{backgroundColor:U},"elevation-2":{backgroundColor:D},"elevation-3":{backgroundColor:N},"elevation-3-inverse":{backgroundColor:Q},overlay:{backgroundColor:oo},"positive-wash":{backgroundColor:q},primary:{backgroundColor:eo},secondary:{backgroundColor:to},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:J}},elevation:{1:{backgroundColor:U,shadowColor:"rgba(0, 0, 0, 0.08)",shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:1,overflow:"visible"},2:{backgroundColor:D,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowRadius:8,shadowOpacity:1,overflow:"visible"},3:{backgroundColor:N,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{width:0,height:4},shadowRadius:16,shadowOpacity:1,overflow:"visible"}},opacity:{0:{opacity:0},5:{opacity:.05},10:{opacity:.1},20:{opacity:.2},25:{opacity:.25},30:{opacity:.3},40:{opacity:.4},50:{opacity:.5},60:{opacity:.6},70:{opacity:.7},75:{opacity:.75},80:{opacity:.8},90:{opacity:.9},95:{opacity:.95},100:{opacity:1}},spacing:{none:{padding:i},1:{padding:s},2:{padding:p},3:{padding:m},4:{padding:u},5:{padding:h},6:{padding:y},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:v},11:{padding:w},12:{padding:k},13:{padding:T},14:{padding:P}},spacingHorizontal:{none:{paddingHorizontal:i},1:{paddingHorizontal:s},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:u},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:v},11:{paddingHorizontal:w},12:{paddingHorizontal:k},13:{paddingHorizontal:T},14:{paddingHorizontal:P}},spacingVertical:{none:{paddingVertical:i},1:{paddingVertical:s},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:u},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:v},11:{paddingVertical:w},12:{paddingVertical:k},13:{paddingVertical:T},14:{paddingVertical:P}},spacingBottom:{none:{paddingBottom:i},1:{paddingBottom:s},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:u},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:v},11:{paddingBottom:w},12:{paddingBottom:k},13:{paddingBottom:T},14:{paddingBottom:P}},spacingEnd:{none:{paddingEnd:i},1:{paddingEnd:s},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:u},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:v},11:{paddingEnd:w},12:{paddingEnd:k},13:{paddingEnd:T},14:{paddingEnd:P}},spacingStart:{none:{paddingStart:i},1:{paddingStart:s},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:u},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:v},11:{paddingStart:w},12:{paddingStart:k},13:{paddingStart:T},14:{paddingStart:P}},spacingTop:{none:{paddingTop:i},1:{paddingTop:s},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:u},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:v},11:{paddingTop:w},12:{paddingTop:k},13:{paddingTop:T},14:{paddingTop:P}},offset:{none:{margin:-i},1:{margin:-s},2:{margin:-p},3:{margin:-m},4:{margin:-u},5:{margin:-h},6:{margin:-y},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-v},11:{margin:-w},12:{margin:-k},13:{margin:-T},14:{margin:-P}},offsetVertical:{none:{marginVertical:-i},1:{marginVertical:-s},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-u},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-v},11:{marginVertical:-w},12:{marginVertical:-k},13:{marginVertical:-T},14:{marginVertical:-P}},offsetHorizontal:{none:{marginHorizontal:-i},1:{marginHorizontal:-s},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-u},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-v},11:{marginHorizontal:-w},12:{marginHorizontal:-k},13:{marginHorizontal:-T},14:{marginHorizontal:-P}},offsetBottom:{none:{marginBottom:-i},1:{marginBottom:-s},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-u},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-v},11:{marginBottom:-w},12:{marginBottom:-k},13:{marginBottom:-T},14:{marginBottom:-P}},offsetEnd:{none:{marginEnd:-i},1:{marginEnd:-s},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-u},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-v},11:{marginEnd:-w},12:{marginEnd:-k},13:{marginEnd:-T},14:{marginEnd:-P}},offsetStart:{none:{marginStart:-i},1:{marginStart:-s},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-u},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-v},11:{marginStart:-w},12:{marginStart:-k},13:{marginStart:-T},14:{marginStart:-P}},offsetTop:{none:{marginTop:-i},1:{marginTop:-s},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-u},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-v},11:{marginTop:-w},12:{marginTop:-k},13:{marginTop:-T},14:{marginTop:-P}},columnGap:{none:{columnGap:i},1:{columnGap:s},2:{columnGap:p},3:{columnGap:m},4:{columnGap:u},5:{columnGap:h},6:{columnGap:y},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:v},11:{columnGap:w},12:{columnGap:k},13:{columnGap:T},14:{columnGap:P}},rowGap:{none:{rowGap:i},1:{rowGap:s},2:{rowGap:p},3:{rowGap:m},4:{rowGap:u},5:{rowGap:h},6:{rowGap:y},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:v},11:{rowGap:w},12:{rowGap:k},13:{rowGap:T},14:{rowGap:P}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":z,"table-cell":z,"table-column":z,"table-column-group":z,"table-footer-group":z,"table-header-group":z,"table-row-group":z,"table-row":z,"flow-root":z,grid:z,contents:z},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:z,fixed:z,absolute:{position:"absolute"},relative:{position:"relative"},sticky:z},zIndex:{0:{zIndex:0},10:{zIndex:10},20:{zIndex:20},30:{zIndex:40},40:{zIndex:30},50:{zIndex:50},auto:z},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:z},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:z,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:o.avatarSizes.s,height:o.avatarSizes.s,lineHeight:o.avatarSizes.s,fontSize:o.avatarSizes.s},m:{width:o.avatarSizes.m,height:o.avatarSizes.m,lineHeight:o.avatarSizes.m,fontSize:o.avatarSizes.m},l:{width:o.avatarSizes.l,height:o.avatarSizes.l,lineHeight:o.avatarSizes.l,fontSize:o.avatarSizes.l}},iconSize:{s:{width:o.iconSizes.s,height:o.iconSizes.s,lineHeight:o.iconSizes.s,fontSize:o.iconSizes.s},m:{width:o.iconSizes.m,height:o.iconSizes.m,lineHeight:o.iconSizes.m,fontSize:o.iconSizes.m},l:{width:o.iconSizes.l,height:o.iconSizes.l,lineHeight:o.iconSizes.l,fontSize:o.iconSizes.l}},bordered:{true:{borderWidth:1}},borderColor:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:$},primary:{borderColor:M},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnActive:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:$},primary:{borderColor:M},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnFocus:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:$},primary:{borderColor:M},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnHover:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:$},primary:{borderColor:M},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnChecked:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:$},primary:{borderColor:M},secondary:{borderColor:G},tertiary:{borderColor:L}},borderStartColor:{accent:{borderStartColor:R},alert:{borderStartColor:W},black:{borderStartColor:V},brand:{borderStartColor:E},positive:{borderStartColor:H},warning:{borderStartColor:B},white:{borderStartColor:F},transparent:{borderStartColor:O},muted:{borderStartColor:$},primary:{borderStartColor:M},secondary:{borderStartColor:G},tertiary:{borderStartColor:L}},borderEndColor:{accent:{borderEndColor:R},alert:{borderEndColor:W},black:{borderEndColor:V},brand:{borderEndColor:E},positive:{borderEndColor:H},warning:{borderEndColor:B},white:{borderEndColor:F},transparent:{borderEndColor:O},muted:{borderEndColor:$},primary:{borderEndColor:M},secondary:{borderEndColor:G},tertiary:{borderEndColor:L}},borderBottomColor:{accent:{borderBottomColor:R},alert:{borderBottomColor:W},black:{borderBottomColor:V},brand:{borderBottomColor:E},positive:{borderBottomColor:H},warning:{borderBottomColor:B},white:{borderBottomColor:F},transparent:{borderBottomColor:O},muted:{borderBottomColor:$},primary:{borderBottomColor:M},secondary:{borderBottomColor:G},tertiary:{borderBottomColor:L}},borderTopColor:{accent:{borderTopColor:R},alert:{borderTopColor:W},black:{borderTopColor:V},brand:{borderTopColor:E},positive:{borderTopColor:H},warning:{borderTopColor:B},white:{borderTopColor:F},transparent:{borderTopColor:O},muted:{borderTopColor:$},primary:{borderTopColor:M},secondary:{borderTopColor:G},tertiary:{borderTopColor:L}},borderRadius:{none:{borderRadius:o.borderRadius.none},xs:{borderRadius:o.borderRadius.xs},sm:{borderRadius:o.borderRadius.sm},md:{borderRadius:o.borderRadius.md},lg:{borderRadius:o.borderRadius.lg},xl:{borderRadius:o.borderRadius.xl},full:{borderRadius:o.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:o.borderRadius.none},xs:{borderTopStartRadius:o.borderRadius.xs},sm:{borderTopStartRadius:o.borderRadius.sm},md:{borderTopStartRadius:o.borderRadius.md},lg:{borderTopStartRadius:o.borderRadius.lg},xl:{borderTopStartRadius:o.borderRadius.xl},full:{borderTopStartRadius:o.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:o.borderRadius.none},xs:{borderTopEndRadius:o.borderRadius.xs},sm:{borderTopEndRadius:o.borderRadius.sm},md:{borderTopEndRadius:o.borderRadius.md},lg:{borderTopEndRadius:o.borderRadius.lg},xl:{borderTopEndRadius:o.borderRadius.xl},full:{borderTopEndRadius:o.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:o.borderRadius.none},xs:{borderBottomStartRadius:o.borderRadius.xs},sm:{borderBottomStartRadius:o.borderRadius.sm},md:{borderBottomStartRadius:o.borderRadius.md},lg:{borderBottomStartRadius:o.borderRadius.lg},xl:{borderBottomStartRadius:o.borderRadius.xl},full:{borderBottomStartRadius:o.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:o.borderRadius.none},xs:{borderBottomEndRadius:o.borderRadius.xs},sm:{borderBottomEndRadius:o.borderRadius.sm},md:{borderBottomEndRadius:o.borderRadius.md},lg:{borderBottomEndRadius:o.borderRadius.lg},xl:{borderBottomEndRadius:o.borderRadius.xl},full:{borderBottomEndRadius:o.borderRadius.full}},borderWidth:{none:{borderWidth:o.borderWidth.none},thin:{borderWidth:o.borderWidth.thin},medium:{borderWidth:o.borderWidth.medium},thick:{borderWidth:o.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:o.borderWidth.none,borderBottomWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin,borderBottomWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium,borderBottomWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick,borderBottomWidth:o.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:o.borderWidth.none,borderEndWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin,borderEndWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium,borderEndWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick,borderEndWidth:o.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:o.borderWidth.none},thin:{borderEndWidth:o.borderWidth.thin},medium:{borderEndWidth:o.borderWidth.medium},thick:{borderEndWidth:o.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:o.borderWidth.none},thin:{borderBottomWidth:o.borderWidth.thin},medium:{borderBottomWidth:o.borderWidth.medium},thick:{borderBottomWidth:o.borderWidth.thick}},borderedVertical:{true:{borderTopWidth:1,borderBottomWidth:1,borderColor:M}},borderedTop:{true:{borderTopWidth:1,borderColor:M}},borderedBottom:{true:{borderBottomWidth:1,borderColor:M}},borderedHorizontal:{true:{borderStartWidth:1,borderEndWidth:1,borderColor:M}},borderedEnd:{true:{borderEndWidth:1,borderColor:M}},borderedStart:{true:{borderStartWidth:1,borderColor:M}},contentFit:{contain:z,cover:z,fill:z,none:z,"scale-down":z},textTransform:{display1:{textTransform:o.textTransform.display1},display2:{textTransform:o.textTransform.display2},display3:{textTransform:o.textTransform.display3},title1:{textTransform:o.textTransform.title1},title2:{textTransform:o.textTransform.title2},title3:{textTransform:o.textTransform.title3},title4:{textTransform:o.textTransform.title4},headline1:{textTransform:o.textTransform.headline1},body1:{textTransform:o.textTransform.body1},label1:{textTransform:o.textTransform.label1},label2:{textTransform:o.textTransform.label2},caption1:{textTransform:o.textTransform.caption1},caption2:{textTransform:o.textTransform.caption2},legal1:{textTransform:o.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(j);return d(Oo,X,_)}return{cva:f,getStyles:Ho,tokens:o}}var ve=xe({colorMode:Fo,scaleMode:Bo},Xo);var Ko=require("react"),Pt=require("react/jsx-runtime"),Tt=(0,Ko.createContext)(Fo);function Ke(){return(0,Ko.useContext)(Tt)}var Zo=require("react"),Wt=require("react/jsx-runtime"),Rt=(0,Zo.createContext)(Bo);function Ze(){let e=(0,Zo.useContext)(Rt);return e||Bo}var Je=require("react/jsx-runtime"),qe=(0,so.createContext)(ve),Pr=(0,so.memo)(function({children:t,value:r=Xo}){let l=Ke(),a=Ze(),n=(0,so.useMemo)(()=>r===void 0&&l===Fo&&a===Bo?ve:xe({colorMode:l,scaleMode:a},r),[l,a,r]);return(0,Je.jsx)(qe.Provider,{value:n,children:t})});function ro(e){let{getStyles:t}=(0,so.useContext)(qe);return t(e)}var Qe={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},we={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"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 qo({variant:e="accent",size:t="s"}){let{color:r,...l}=we.variant[e],{variant:a,...n}=we.size[t];return{pressable:{...we.base,...l,...n},text:{color:r,variant:a,textAlign:"center"},icon:{color:r,size:"s"}}}var ot=require("expo-image");var tt=require("react/jsx-runtime");function et({width:e,height:t,src:r,alt:l,contentFit:a="cover",elevation:n,backgroundColor:g=n?`elevation-${n}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:f,opacity:i,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:k,borderColor:T,borderColorOnActive:P,borderColorOnFocus:R,borderColorOnChecked:W,borderColorOnHover:E,borderStartColor:H,borderEndColor:B,borderTopColor:F,borderBottomColor:V,borderWidth:O,borderVerticalWidth:ao,borderHorizontalWidth:io,borderStartWidth:lo,borderEndWidth:no,borderTopWidth:po,borderBottomWidth:Y,alignContent:K,alignItems:Z,alignSelf:q,flex:J,flexDirection:U,flexGrow:D,flexShrink:N="0",flexWrap:Q,justifyContent:oo,flexBasis:eo,display:to="flex",zIndex:M,overflow:G,overflowX:L,overflowY:$,position:b,spacing:co,spacingHorizontal:go,spacingVertical:mo,spacingBottom:bo,spacingEnd:fo,spacingStart:uo,spacingTop:ho,offset:yo,offsetVertical:Co,offsetHorizontal:So,offsetBottom:xo,offsetEnd:vo,offsetStart:wo,offsetTop:ko,columnGap:To,rowGap:Po,minHeight:Ro,maxHeight:Wo,minWidth:zo,maxWidth:Eo,...Ho}){let _=ro({contentFit:a,elevation:n,backgroundColor:g,backgroundColorOnActive:o,backgroundColorOnHover:d,backgroundColorOnChecked:f,opacity:i,bordered:s,borderedTop:p,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:k,borderColor:T,borderColorOnActive:P,borderColorOnFocus:R,borderColorOnChecked:W,borderColorOnHover:E,borderStartColor:H,borderEndColor:B,borderTopColor:F,borderBottomColor:V,borderWidth:O,borderVerticalWidth:ao,borderHorizontalWidth:io,borderStartWidth:lo,borderEndWidth:no,borderTopWidth:po,borderBottomWidth:Y,alignContent:K,alignItems:Z,alignSelf:q,flex:J,flexDirection:U,flexGrow:D,flexShrink:N,flexWrap:Q,justifyContent:oo,flexBasis:eo,display:to,zIndex:M,overflow:G,overflowX:L,overflowY:$,position:b,spacing:co,spacingHorizontal:go,spacingVertical:mo,spacingBottom:bo,spacingEnd:fo,spacingStart:uo,spacingTop:ho,offset:yo,offsetVertical:Co,offsetHorizontal:So,offsetBottom:xo,offsetEnd:vo,offsetStart:wo,offsetTop:ko,columnGap:To,rowGap:Po,minHeight:Ro,maxHeight:Wo,minWidth:zo,maxWidth:Eo,style:{width:e,height:t,justifyContent:"flex-start"}});return(0,tt.jsx)(ot.Image,{source:r,alt:l,style:_,contentFit:a,contentPosition:"left",...Ho})}var rt=require("react/jsx-runtime");function zt({size:e,shape:t,contentFit:r="cover",...l}){let a=ro({...Qe,avatarSize:e,borderRadius:t});return(0,rt.jsx)(et,{style:a,contentFit:r,...l})}var bt=require("react");var it=require("react");var A=require("react");function Et(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function nt(...e){return t=>e.forEach(r=>Et(r,t))}var ke=require("react/jsx-runtime");function Jo(){let e=(0,A.forwardRef)((n,g)=>{let{children:o,...d}=n,f=A.Children.toArray(o),i=f.find(l);if(i){let s=i.props.children,p=f.map(m=>m===i?A.Children.count(s)>1?A.Children.only(null):(0,A.isValidElement)(s)?s.props.children:null:m);return(0,ke.jsx)(t,{...d,ref:g,children:(0,A.isValidElement)(s)?(0,A.cloneElement)(s,void 0,p):null})}return(0,ke.jsx)(t,{...d,ref:g,children:o})});e.displayName="Slot";let t=(0,A.forwardRef)((n,g)=>{let{children:o,...d}=n;return(0,A.isValidElement)(o)?(0,A.cloneElement)(o,{...a(d,o.props),ref:g?nt(g,o.ref):o.ref}):A.Children.count(o)>1?A.Children.only(null):null});t.displayName="SlotClone";let r=({children:n})=>n;function l(n){return(0,A.isValidElement)(n)&&n.type===r}function a(n,g){let o={...g};for(let d in g){let f=n[d],i=g[d];/^on[A-Z]/.test(d)?f&&i?o[d]=(...p)=>{i(...p),f(...p)}:f&&(o[d]=f):d==="style"&&(o[d]={...f,...i})}return{...n,...o}}return e}var Qo="RCTText",Gr=Jo(),oe=Jo(),at=Jo();var lt=require("react/jsx-runtime"),Lo=(0,it.forwardRef)(function({style:t,asChild:r=!1,size:l="l",color:a="primary",name:n,colorChecked:g,opacity:o,textAlign:d,spacing:f,spacingBottom:i,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:u,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:k,...T},P){let R=ro({color:a,colorChecked:g,opacity:o,fontFamily:"icons",textAlign:d,spacing:f,spacingBottom:i,spacingEnd:s,spacingHorizontal:p,spacingStart:m,spacingTop:u,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:k,iconSize:l,style:t});return(0,lt.jsx)(r?oe:Qo,{ref:P,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...T,children:n})});var dt=require("react"),st=require("react-native");var pt=require("react/jsx-runtime"),ee=(0,dt.forwardRef)(function({style:t,asChild:r=!1,backgroundColor:l,backgroundColorOnActive:a,backgroundColorOnHover:n,backgroundColorOnChecked:g,elevation:o,opacity:d,bordered:f,borderedTop:i,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:u,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:k,borderColorOnFocus:T,borderColorOnChecked:P,borderColorOnHover:R,borderStartColor:W,borderEndColor:E,borderTopColor:H,borderBottomColor:B,borderWidth:F,borderVerticalWidth:V,borderHorizontalWidth:O,borderStartWidth:ao,borderEndWidth:io,borderTopWidth:lo,borderBottomWidth:no,alignContent:po,alignItems:Y,alignSelf:K,flex:Z,flexBasis:q,flexDirection:J,flexGrow:U,flexShrink:D,flexWrap:N,justifyContent:Q,display:oo,zIndex:eo,overflow:to,overflowX:M,overflowY:G,position:L,spacing:$,spacingHorizontal:b,spacingVertical:co,spacingBottom:go,spacingEnd:mo,spacingStart:bo,spacingTop:fo,offset:uo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:wo,rowGap:ko,height:To,minHeight:Po,maxHeight:Ro,width:Wo,minWidth:zo,maxWidth:Eo,...Ho},_){let j=ro({backgroundColor:l,backgroundColorOnActive:a,backgroundColorOnHover:n,backgroundColorOnChecked:g,elevation:o,opacity:d,bordered:f,borderedTop:i,borderedBottom:s,borderedStart:p,borderedEnd:m,borderedHorizontal:u,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:k,borderColorOnFocus:T,borderColorOnChecked:P,borderColorOnHover:R,borderStartColor:W,borderEndColor:E,borderTopColor:H,borderBottomColor:B,borderWidth:F,borderVerticalWidth:V,borderHorizontalWidth:O,borderStartWidth:ao,borderEndWidth:io,borderTopWidth:lo,borderBottomWidth:no,alignContent:po,alignItems:Y,alignSelf:K,flex:Z,flexDirection:J,flexGrow:U,flexShrink:D,flexWrap:N,justifyContent:Q,flexBasis:q,display:oo,zIndex:eo,overflow:to,overflowX:M,overflowY:G,position:L,spacing:$,spacingHorizontal:b,spacingVertical:co,spacingBottom:go,spacingEnd:mo,spacingStart:bo,spacingTop:fo,offset:uo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:wo,rowGap:ko,height:To,minHeight:Po,maxHeight:Ro,width:Wo,minWidth:zo,maxWidth:Eo,style:t});return(0,pt.jsx)(r?at:st.Pressable,{style:j,ref:_,...Ho})});var ct=require("react");var mt=require("react/jsx-runtime"),gt=(0,ct.forwardRef)(function({style:t,asChild:r,color:l="primary",colorChecked:a,variant:n="body1",fontSize:g=n,fontFamily:o=n,fontWeight:d=n,lineHeight:f=n,textTransform:i=n,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:T,borderRadius:P,borderTopStartRadius:R,borderTopEndRadius:W,borderBottomStartRadius:E,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:O,borderColorOnHover:ao,borderStartColor:io,borderEndColor:lo,borderTopColor:no,borderBottomColor:po,borderWidth:Y,borderVerticalWidth:K,borderHorizontalWidth:Z,borderStartWidth:q,borderEndWidth:J,borderTopWidth:U,borderBottomWidth:D,alignContent:N,alignItems:Q,alignSelf:oo,flex:eo,flexDirection:to,flexGrow:M,flexShrink:G,flexWrap:L,justifyContent:$,flexBasis:b,display:co,zIndex:go,overflow:mo,overflowX:bo,overflowY:fo,position:uo,spacing:ho,spacingHorizontal:yo,spacingVertical:Co,spacingBottom:So,spacingEnd:xo,spacingStart:vo,spacingTop:wo,offset:ko,offsetVertical:To,offsetHorizontal:Po,offsetBottom:Ro,offsetEnd:Wo,offsetStart:zo,offsetTop:Eo,columnGap:Ho,rowGap:_,height:j,minHeight:Oo,maxHeight:c,width:X,minWidth:$o,maxWidth:te,...re},Mo){let ne=ro({style:t,color:l,colorChecked:a,fontFamily:o,fontSize:g,fontWeight:d,lineHeight:f,textTransform:i,textAlign:s,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:T,borderRadius:P,borderTopStartRadius:R,borderTopEndRadius:W,borderBottomStartRadius:E,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:O,borderColorOnHover:ao,borderStartColor:io,borderEndColor:lo,borderTopColor:no,borderBottomColor:po,borderWidth:Y,borderVerticalWidth:K,borderHorizontalWidth:Z,borderStartWidth:q,borderEndWidth:J,borderTopWidth:U,borderBottomWidth:D,alignContent:N,alignItems:Q,alignSelf:oo,flex:eo,flexDirection:to,flexGrow:M,flexShrink:G,flexWrap:L,justifyContent:$,flexBasis:b,display:co,zIndex:go,overflow:mo,overflowX:bo,overflowY:fo,position:uo,spacing:ho,spacingHorizontal:yo,spacingVertical:Co,spacingBottom:So,spacingEnd:xo,spacingStart:vo,spacingTop:wo,offset:ko,offsetVertical:To,offsetHorizontal:Po,offsetBottom:Ro,offsetEnd:Wo,offsetStart:zo,offsetTop:Eo,columnGap:Ho,rowGap:_,height:j,minHeight:Oo,maxHeight:c,width:X,minWidth:$o,maxWidth:te});return(0,mt.jsx)(r?oe:Qo,{style:ne,ref:Mo,maxFontSizeMultiplier:1,allowFontScaling:!1,...re})});var Vo=require("react/jsx-runtime"),Ht=(0,bt.forwardRef)(function({variant:t="accent",size:r,startIcon:l,endIcon:a,children:n,...g},o){let d=qo({variant:t,size:r}),f=l?(0,Vo.jsx)(Lo,{name:l,...d.icon}):null,i=a?(0,Vo.jsx)(Lo,{name:a,...d.icon}):null;return(0,Vo.jsxs)(ee,{ref:o,...d.pressable,...g,children:[f,(0,Vo.jsx)(gt,{...d.text,children:n}),i]})});var ut=require("react");var Te=require("react/jsx-runtime"),ft={s:36,m:48,l:64},Bt={},Ft=(0,ut.forwardRef)(function({variant:t="accent",size:r="s",name:l,style:a=Bt,...n},g){let o=qo({variant:t,size:r});return(0,Te.jsx)(ee,{ref:g,...o.pressable,flexShrink:"0",style:{...a,width:ft[r],height:ft[r]},...n,children:(0,Te.jsx)(Lo,{name:l,...o.icon})})});0&&(module.exports={Avatar,Button,IconButton});
|
1
|
+
"use strict";var Ye=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var at=Object.prototype.hasOwnProperty;var lt=(o,t)=>{for(var n in t)Ye(o,n,{get:t[n],enumerable:!0})},dt=(o,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of it(t))!at.call(o,r)&&r!==n&&Ye(o,r,{get:()=>t[r],enumerable:!(l=nt(t,r))||l.enumerable});return o};var st=o=>dt(Ye({},"__esModule",{value:!0}),o);var Ct={};lt(Ct,{Avatar:()=>ft,Button:()=>ht,IconButton:()=>ut});module.exports=st(Ct);var ho={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},yo={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var uo={none:0,thin:1,medium:2,thick:2},Co={none:0,thin:1,medium:2,thick:4};var So={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},xo={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},we={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ze={s:16,m:24,l:32},To=Ze,qe={sm:16,md:24,lg:32},vo=qe;var wo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Po={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Wo={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Ro={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Ee=["Helvetica Neue","Helvetica","Arial","sans-serif"],zo=["Georgia","Times","Times New Roman","serif"],ko={icons:{fallbacks:Ee,name:"yahoo-icons"},sans:{fallbacks:Ee,name:"yahoo-sans"},"sans-beta":{fallbacks:Ee,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ee,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:zo,name:"yahoo-serif-text"},"serif-display":{fallbacks:zo,name:"yahoo-serif-display"}},Je={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Qe={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},eo={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},oo={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},to={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...oo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Be={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...to.lineHeight,title2:36,title3:32}},ro={fontSize:{...Be.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Be.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},no={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...ro.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},io={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...no.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Fo={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...io.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var ao={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:Ze,iconSizes:qe,borderRadius:ho,borderWidth:uo,spacing:wo},Me={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:To,iconSizes:vo,borderRadius:yo,borderWidth:Co,spacing:Po},Ve={colorMode:{light:{palette:So,spectrum:Wo},dark:{palette:xo,spectrum:Ro}},scaleMode:{xSmall:{...ao,...oo},small:{...ao,...to},medium:{...ao,...Be},large:{...Me,...ro},xLarge:{...Me,...no},xxLarge:{...Me,...io},xxxLarge:{...Me,...Fo}},fontFamily:ko};var Se="light",Ce="large";function Ae(o,t){return Object.keys(o).reduce((n,l,r)=>(n[l]=t(o[l],l,r),n),{})}var _=require("react");var Bo=require("@yahoo/uds/fixtures");function Ho({spectrum:o,palette:t}){let n=Ae(o,r=>Ae(r,d=>`rgb(${d.replaceAll(" ",",")})`)),l=Ae(t,r=>Object.entries(r).reduce((d,[f,{hue:e,step:a,opacity:b}])=>{let i=o[e][a],s=b?`rgb(${i.replaceAll(" ",",")} / ${b})`:`rgb(${i.replaceAll(" ",",")})`;return{...d,[f]:s}},{}));return{spectrum:n,palette:l}}function Eo({colorMode:o,...t}){return{...t,colorMode:{light:Ho(o.light),dark:Ho(o.dark)}}}function lo(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var R={};function so({colorMode:o,scaleMode:t},n){let{colorMode:l,scaleMode:r,fontFamily:d,...f}=Eo(n),e={fontFamilyGlobal:d,...f,...l[o],...r[t]},a=Object.assign,b=function(N){return function(c){let U={};if(!N?.variants)return a(U,N?.base);let{base:ze,variants:Ne,defaultVariants:fo,compoundVariants:_e}=N;ze&&a(U,ze);function tt(ke){if(ke){let{style:ve,...je}=ke;for(let Fe in je){let He=Ne[Fe],Ke=c?.[Fe],bo=fo?.[Fe],Xe=lo(Ke)||lo(bo);if(Xe&&Xe in He){let rt=He[Xe];a(U,rt)}}ve&&a(U,ve)}}if(tt(c),_e&&_e?.length>0)for(let ke of _e){let{style:ve,...je}=ke;Object.entries(je).every(([He,Ke])=>c?.[He]===Ke)&&ve&&a(U,ve)}return c?.style&&a(U,c.style),U}},i=e.spacing.none,s=e.spacing[1],p=e.spacing[2],m=e.spacing[3],h=e.spacing[4],y=e.spacing[5],u=e.spacing[6],C=e.spacing[7],S=e.spacing[8],x=e.spacing[9],T=e.spacing[10],v=e.spacing[11],w=e.spacing[12],P=e.spacing[13],W=e.spacing[14],z=e.palette.core.accent,k=e.palette.core.alert,F=e.palette.core.brand,H=e.palette.core.positive,E=e.palette.core.warning,B=we.white,M=we.black,V=we.transparent,j=e.palette.foreground.muted,K=e.palette.foreground["on-color"],X=e.palette.foreground.primary,Y=e.palette.foreground.secondary,Z=e.palette.foreground.tertiary,q=e.palette.background.primary,J=e.palette.background.secondary,I=e.palette.line.primary,G=e.palette.line.secondary,L=e.palette.line.tertiary,$=e.palette.line.muted,g=e.fontFamilyGlobal,Q=g.sans.name,ee=g["sans-beta"].name,oe=g["sans-condensed"].name,te=g["serif-text"].name,re=g["serif-display"].name,ne=g[e.fontFamily.display1].name,ie=g[e.fontFamily.display2].name,ae=g[e.fontFamily.display3].name,le=g[e.fontFamily.title1].name,de=g[e.fontFamily.title2].name,se=g[e.fontFamily.title3].name,pe=g[e.fontFamily.title4].name,ce=g[e.fontFamily.headline1].name,me=g[e.fontFamily.body1].name,ge=g[e.fontFamily.label1].name,fe=g[e.fontFamily.label2].name,be=g[e.fontFamily.caption1].name,he=g[e.fontFamily.caption2].name,ye=g[e.fontFamily.legal1].name;function Te(ue){return!!(typeof ue=="string"&&Bo.textVariants.includes(ue))}function We({style:ue,...N}){let Re={},c;Te(N.fontWeight)?c=e.fontWeight[N.fontWeight]:c="regular";let U=b({variants:{color:{accent:{color:z},alert:{color:k},black:{color:M},brand:{color:F},positive:{color:H},warning:{color:E},white:{color:B},transparent:{color:V},muted:{color:j},"on-color":{color:K},primary:{color:X},secondary:{color:Y},tertiary:{color:Z}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${Q}-${c}`},"sans-beta":{fontFamily:`${ee}-${c}`},"sans-condensed":{fontFamily:`${oe}-${c}`},"serif-text":{fontFamily:`${te}-${c}`},"serif-display":{fontFamily:`${re}-${c}`},display1:{fontFamily:`${ne}-${c}`},display2:{fontFamily:`${ie}-${c}`},display3:{fontFamily:`${ae}-${c}`},title1:{fontFamily:`${le}-${c}`},title2:{fontFamily:`${de}-${c}`},title3:{fontFamily:`${se}-${c}`},title4:{fontFamily:`${pe}-${c}`},headline1:{fontFamily:`${ce}-${c}`},body1:{fontFamily:`${me}-${c}`},label1:{fontFamily:`${ge}-${c}`},label2:{fontFamily:`${fe}-${c}`},caption1:{fontFamily:`${be}-${c}`},caption2:{fontFamily:`${he}-${c}`},legal1:{fontFamily:`${ye}-${c}`}},fontSize:{display1:{fontSize:e.fontSize.display1},display2:{fontSize:e.fontSize.display2},display3:{fontSize:e.fontSize.display3},title1:{fontSize:e.fontSize.title1},title2:{fontSize:e.fontSize.title2},title3:{fontSize:e.fontSize.title3},title4:{fontSize:e.fontSize.title4},headline1:{fontSize:e.fontSize.headline1},body1:{fontSize:e.fontSize.body1},label1:{fontSize:e.fontSize.label1},label2:{fontSize:e.fontSize.label2},caption1:{fontSize:e.fontSize.caption1},caption2:{fontSize:e.fontSize.caption2},legal1:{fontSize:e.fontSize.legal1}},fontWeight:{display1:{fontWeight:O[e.fontWeight.display1]},display2:{fontWeight:O[e.fontWeight.display2]},display3:{fontWeight:O[e.fontWeight.display3]},title1:{fontWeight:O[e.fontWeight.title1]},title2:{fontWeight:O[e.fontWeight.title2]},title3:{fontWeight:O[e.fontWeight.title3]},title4:{fontWeight:O[e.fontWeight.title4]},headline1:{fontWeight:O[e.fontWeight.headline1]},body1:{fontWeight:O[e.fontWeight.body1]},label1:{fontWeight:O[e.fontWeight.label1]},label2:{fontWeight:O[e.fontWeight.label2]},caption1:{fontWeight:O[e.fontWeight.caption1]},caption2:{fontWeight:O[e.fontWeight.caption2]},legal1:{fontWeight:O[e.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:e.lineHeight.display1},display2:{lineHeight:e.lineHeight.display2},display3:{lineHeight:e.lineHeight.display3},title1:{lineHeight:e.lineHeight.title1},title2:{lineHeight:e.lineHeight.title2},title3:{lineHeight:e.lineHeight.title3},title4:{lineHeight:e.lineHeight.title4},headline1:{lineHeight:e.lineHeight.headline1},body1:{lineHeight:e.lineHeight.body1},label1:{lineHeight:e.lineHeight.label1},label2:{lineHeight:e.lineHeight.label2},caption1:{lineHeight:e.lineHeight.caption1},caption2:{lineHeight:e.lineHeight.caption2},legal1:{lineHeight:e.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:z},alert:{backgroundColor:k},black:{backgroundColor:M},brand:{backgroundColor:F},positive:{backgroundColor:H},warning:{backgroundColor:E},white:{backgroundColor:B},primary:{backgroundColor:q},secondary:{backgroundColor:J},transparent:{backgroundColor:V}},spacing:{none:{padding:i},1:{padding:s},2:{padding:p},3:{padding:m},4:{padding:h},5:{padding:y},6:{padding:u},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:T},11:{padding:v},12:{padding:w},13:{padding:P},14:{padding:W}},spacingHorizontal:{none:{paddingHorizontal:i},1:{paddingHorizontal:s},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:h},5:{paddingHorizontal:y},6:{paddingHorizontal:u},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:T},11:{paddingHorizontal:v},12:{paddingHorizontal:w},13:{paddingHorizontal:P},14:{paddingHorizontal:W}},spacingVertical:{none:{paddingVertical:i},1:{paddingVertical:s},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:h},5:{paddingVertical:y},6:{paddingVertical:u},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:T},11:{paddingVertical:v},12:{paddingVertical:w},13:{paddingVertical:P},14:{paddingVertical:W}},spacingBottom:{none:{paddingBottom:i},1:{paddingBottom:s},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:h},5:{paddingBottom:y},6:{paddingBottom:u},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:T},11:{paddingBottom:v},12:{paddingBottom:w},13:{paddingBottom:P},14:{paddingBottom:W}},spacingEnd:{none:{paddingEnd:i},1:{paddingEnd:s},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:h},5:{paddingEnd:y},6:{paddingEnd:u},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:T},11:{paddingEnd:v},12:{paddingEnd:w},13:{paddingEnd:P},14:{paddingEnd:W}},spacingStart:{none:{paddingStart:i},1:{paddingStart:s},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:h},5:{paddingStart:y},6:{paddingStart:u},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:T},11:{paddingStart:v},12:{paddingStart:w},13:{paddingStart:P},14:{paddingStart:W}},spacingTop:{none:{paddingTop:i},1:{paddingTop:s},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:h},5:{paddingTop:y},6:{paddingTop:u},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:T},11:{paddingTop:v},12:{paddingTop:w},13:{paddingTop:P},14:{paddingTop:W}},offset:{none:{margin:-i},1:{margin:-s},2:{margin:-p},3:{margin:-m},4:{margin:-h},5:{margin:-y},6:{margin:-u},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-T},11:{margin:-v},12:{margin:-w},13:{margin:-P},14:{margin:-W}},offsetVertical:{none:{marginVertical:-i},1:{marginVertical:-s},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-h},5:{marginVertical:-y},6:{marginVertical:-u},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-T},11:{marginVertical:-v},12:{marginVertical:-w},13:{marginVertical:-P},14:{marginVertical:-W}},offsetHorizontal:{none:{marginHorizontal:-i},1:{marginHorizontal:-s},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-h},5:{marginHorizontal:-y},6:{marginHorizontal:-u},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-T},11:{marginHorizontal:-v},12:{marginHorizontal:-w},13:{marginHorizontal:-P},14:{marginHorizontal:-W}},offsetBottom:{none:{marginBottom:-i},1:{marginBottom:-s},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-h},5:{marginBottom:-y},6:{marginBottom:-u},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-T},11:{marginBottom:-v},12:{marginBottom:-w},13:{marginBottom:-P},14:{marginBottom:-W}},offsetEnd:{none:{marginEnd:-i},1:{marginEnd:-s},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-h},5:{marginEnd:-y},6:{marginEnd:-u},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-T},11:{marginEnd:-v},12:{marginEnd:-w},13:{marginEnd:-P},14:{marginEnd:-W}},offsetStart:{none:{marginStart:-i},1:{marginStart:-s},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-h},5:{marginStart:-y},6:{marginStart:-u},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-T},11:{marginStart:-v},12:{marginStart:-w},13:{marginStart:-P},14:{marginStart:-W}},offsetTop:{none:{marginTop:-i},1:{marginTop:-s},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-h},5:{marginTop:-y},6:{marginTop:-u},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-T},11:{marginTop:-v},12:{marginTop:-w},13:{marginTop:-P},14:{marginTop:-W}},columnGap:{none:{columnGap:i},1:{columnGap:s},2:{columnGap:p},3:{columnGap:m},4:{columnGap:h},5:{columnGap:y},6:{columnGap:u},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:T},11:{columnGap:v},12:{columnGap:w},13:{columnGap:P},14:{columnGap:W}},rowGap:{none:{rowGap:i},1:{rowGap:s},2:{rowGap:p},3:{rowGap:m},4:{rowGap:h},5:{rowGap:y},6:{rowGap:u},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:T},11:{rowGap:v},12:{rowGap:w},13:{rowGap:P},14:{rowGap:W}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":R,"table-cell":R,"table-column":R,"table-column-group":R,"table-footer-group":R,"table-header-group":R,"table-row-group":R,"table-row":R,"flow-root":R,grid:R,contents:R},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:R,fixed:R,absolute:{position:"absolute"},relative:{position:"relative"},sticky:R},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:R},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:R,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnActive:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnFocus:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnHover:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnChecked:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderStartColor:{accent:{borderStartColor:z},alert:{borderStartColor:k},black:{borderStartColor:M},brand:{borderStartColor:F},positive:{borderStartColor:H},warning:{borderStartColor:E},white:{borderStartColor:B},transparent:{borderStartColor:V},muted:{borderStartColor:$},primary:{borderStartColor:I},secondary:{borderStartColor:G},tertiary:{borderStartColor:L}},borderEndColor:{accent:{borderEndColor:z},alert:{borderEndColor:k},black:{borderEndColor:M},brand:{borderEndColor:F},positive:{borderEndColor:H},warning:{borderEndColor:E},white:{borderEndColor:B},transparent:{borderEndColor:V},muted:{borderEndColor:$},primary:{borderEndColor:I},secondary:{borderEndColor:G},tertiary:{borderEndColor:L}},borderBottomColor:{accent:{borderBottomColor:z},alert:{borderBottomColor:k},black:{borderBottomColor:M},brand:{borderBottomColor:F},positive:{borderBottomColor:H},warning:{borderBottomColor:E},white:{borderBottomColor:B},transparent:{borderBottomColor:V},muted:{borderBottomColor:$},primary:{borderBottomColor:I},secondary:{borderBottomColor:G},tertiary:{borderBottomColor:L}},borderTopColor:{accent:{borderTopColor:z},alert:{borderTopColor:k},black:{borderTopColor:M},brand:{borderTopColor:F},positive:{borderTopColor:H},warning:{borderTopColor:E},white:{borderTopColor:B},transparent:{borderTopColor:V},muted:{borderTopColor:$},primary:{borderTopColor:I},secondary:{borderTopColor:G},tertiary:{borderTopColor:L}},borderRadius:{none:{borderRadius:e.borderRadius.none},xs:{borderRadius:e.borderRadius.xs},sm:{borderRadius:e.borderRadius.sm},md:{borderRadius:e.borderRadius.md},lg:{borderRadius:e.borderRadius.lg},xl:{borderRadius:e.borderRadius.xl},full:{borderRadius:e.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:e.borderRadius.none},xs:{borderTopStartRadius:e.borderRadius.xs},sm:{borderTopStartRadius:e.borderRadius.sm},md:{borderTopStartRadius:e.borderRadius.md},lg:{borderTopStartRadius:e.borderRadius.lg},xl:{borderTopStartRadius:e.borderRadius.xl},full:{borderTopStartRadius:e.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:e.borderRadius.none},xs:{borderTopEndRadius:e.borderRadius.xs},sm:{borderTopEndRadius:e.borderRadius.sm},md:{borderTopEndRadius:e.borderRadius.md},lg:{borderTopEndRadius:e.borderRadius.lg},xl:{borderTopEndRadius:e.borderRadius.xl},full:{borderTopEndRadius:e.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:e.borderRadius.none},xs:{borderBottomStartRadius:e.borderRadius.xs},sm:{borderBottomStartRadius:e.borderRadius.sm},md:{borderBottomStartRadius:e.borderRadius.md},lg:{borderBottomStartRadius:e.borderRadius.lg},xl:{borderBottomStartRadius:e.borderRadius.xl},full:{borderBottomStartRadius:e.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:e.borderRadius.none},xs:{borderBottomEndRadius:e.borderRadius.xs},sm:{borderBottomEndRadius:e.borderRadius.sm},md:{borderBottomEndRadius:e.borderRadius.md},lg:{borderBottomEndRadius:e.borderRadius.lg},xl:{borderBottomEndRadius:e.borderRadius.xl},full:{borderBottomEndRadius:e.borderRadius.full}},borderWidth:{none:{borderWidth:e.borderWidth.none},thin:{borderWidth:e.borderWidth.thin},medium:{borderWidth:e.borderWidth.medium},thick:{borderWidth:e.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:e.borderWidth.none,borderBottomWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin,borderBottomWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium,borderBottomWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick,borderBottomWidth:e.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:e.borderWidth.none,borderEndWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin,borderEndWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium,borderEndWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick,borderEndWidth:e.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:e.borderWidth.none},thin:{borderEndWidth:e.borderWidth.thin},medium:{borderEndWidth:e.borderWidth.medium},thick:{borderEndWidth:e.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:e.borderWidth.none},thin:{borderBottomWidth:e.borderWidth.thin},medium:{borderBottomWidth:e.borderWidth.medium},thick:{borderBottomWidth:e.borderWidth.thick}},contentFit:{contain:R,cover:R,fill:R,none:R,"scale-down":R},textTransform:{display1:{textTransform:e.textTransform.display1},display2:{textTransform:e.textTransform.display2},display3:{textTransform:e.textTransform.display3},title1:{textTransform:e.textTransform.title1},title2:{textTransform:e.textTransform.title2},title3:{textTransform:e.textTransform.title3},title4:{textTransform:e.textTransform.title4},headline1:{textTransform:e.textTransform.headline1},body1:{textTransform:e.textTransform.body1},label1:{textTransform:e.textTransform.label1},label2:{textTransform:e.textTransform.label2},caption1:{textTransform:e.textTransform.caption1},caption2:{textTransform:e.textTransform.caption2},legal1:{textTransform:e.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(N);return a(Re,U,ue)}return{cva:b,getStyles:We,tokens:e}}var po=so({colorMode:Se,scaleMode:Ce},Ve);var Oe=require("react"),ct=require("react/jsx-runtime"),pt=(0,Oe.createContext)(Se);function Mo(){return(0,Oe.useContext)(pt)}var Ie=require("react"),gt=require("react/jsx-runtime"),mt=(0,Ie.createContext)(Ce);function Vo(){let o=(0,Ie.useContext)(mt);return o||Ce}var Oo=require("react/jsx-runtime"),Ao=(0,_.createContext)(po),ir=(0,_.memo)(function({children:t,value:n=Ve}){let l=Mo(),r=Vo(),d=(0,_.useMemo)(()=>n===void 0&&l===Se&&r===Ce?po:so({colorMode:l,scaleMode:r},n),[l,r,n]);return(0,Oo.jsx)(Ao.Provider,{value:d,children:t})});function D(o){let{getStyles:t}=(0,_.useContext)(Ao);return t(o)}var Io={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},co={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"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:t="s"}){let{color:n,...l}=co.variant[o],{variant:r,...d}=co.size[t];return{pressable:{...co.base,...l,...d},text:{color:n,variant:r,textAlign:"center"},icon:{color:n,size:"sm"}}}var Go=require("expo-image");var $o=require("react/jsx-runtime");function Lo({width:o,height:t,src:n,alt:l,contentFit:r="cover",backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,borderColorOnActive:p,borderColorOnFocus:m,borderColorOnChecked:h,borderColorOnHover:y,borderStartColor:u,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:w,borderStartWidth:P,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:H,alignSelf:E,flex:B,flexDirection:M,flexGrow:V,flexShrink:j="0",flexWrap:K,justifyContent:X,flexBasis:Y,display:Z="flex",overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,...he}){let ye=D({contentFit:r,backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,borderColorOnActive:p,borderColorOnFocus:m,borderColorOnChecked:h,borderColorOnHover:y,borderStartColor:u,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:w,borderStartWidth:P,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:H,alignSelf:E,flex:B,flexDirection:M,flexGrow:V,flexShrink:j,flexWrap:K,justifyContent:X,flexBasis:Y,display:Z,overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,style:{width:o,height:t,justifyContent:"flex-start"}});return(0,$o.jsx)(Go.Image,{source:n,alt:l,style:ye,contentFit:r,contentPosition:"left",...he})}var Uo=require("react/jsx-runtime");function ft({size:o,shape:t,contentFit:n="cover",...l}){let r=D({...Io,avatarSize:o,borderRadius:t});return(0,Uo.jsx)(Lo,{style:r,contentFit:n,...l})}var Qo=require("react");var _o=require("react");var A=require("react");function bt(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function Do(...o){return t=>o.forEach(n=>bt(n,t))}var mo=require("react/jsx-runtime");function Le(){let o=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d,b=A.Children.toArray(e),i=b.find(l);if(i){let s=i.props.children,p=b.map(m=>m===i?A.Children.count(s)>1?A.Children.only(null):(0,A.isValidElement)(s)?s.props.children:null:m);return(0,mo.jsx)(t,{...a,ref:f,children:(0,A.isValidElement)(s)?(0,A.cloneElement)(s,void 0,p):null})}return(0,mo.jsx)(t,{...a,ref:f,children:e})});o.displayName="Slot";let t=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d;return(0,A.isValidElement)(e)?(0,A.cloneElement)(e,{...r(a,e.props),ref:f?Do(f,e.ref):e.ref}):A.Children.count(e)>1?A.Children.only(null):null});t.displayName="SlotClone";let n=({children:d})=>d;function l(d){return(0,A.isValidElement)(d)&&d.type===n}function r(d,f){let e={...f};for(let a in f){let b=d[a],i=f[a];/^on[A-Z]/.test(a)?b&&i?e[a]=(...p)=>{i(...p),b(...p)}:b&&(e[a]=b):a==="style"&&(e[a]={...b,...i})}return{...d,...e}}return o}var $e="RCTText",ur=Le(),Ue=Le(),No=Le();var jo=require("react/jsx-runtime"),Pe=(0,_o.forwardRef)(function({style:t,asChild:n=!1,size:l,color:r,name:d,textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,...v},w){let P=D({color:r,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,iconSize:l,style:t});return(0,jo.jsx)(n?Ue:$e,{ref:w,maxFontSizeMultiplier:1,allowFontScaling:!1,style:P,...v,children:d})});var Ko=require("react"),Xo=require("react-native");var Yo=require("react/jsx-runtime"),De=(0,Ko.forwardRef)(function({style:t,asChild:n=!1,backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,borderColorOnChecked:p,borderColorOnHover:m,borderStartColor:h,borderEndColor:y,borderTopColor:u,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:w,borderTopWidth:P,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:H,flexBasis:E,flexDirection:B,flexGrow:M,flexShrink:V,flexWrap:j,justifyContent:K,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,...he},ye){let Te=D({backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,borderColorOnChecked:p,borderColorOnHover:m,borderStartColor:h,borderEndColor:y,borderTopColor:u,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:w,borderTopWidth:P,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:H,flexDirection:B,flexGrow:M,flexShrink:V,flexWrap:j,justifyContent:K,flexBasis:E,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,style:t});return(0,Yo.jsx)(n?No:Xo.Pressable,{style:Te,ref:ye,...he})});var Zo=require("react");var Jo=require("react/jsx-runtime"),qo=(0,Zo.forwardRef)(function({style:t,asChild:n,color:l="primary",variant:r="body1",fontSize:d=r,fontFamily:f=r,fontWeight:e=r,lineHeight:a=r,textTransform:b=r,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:m,borderTopEndRadius:h,borderBottomStartRadius:y,borderBottomEndRadius:u,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:w,borderEndColor:P,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:H,borderStartWidth:E,borderEndWidth:B,borderTopWidth:M,borderBottomWidth:V,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c,...U},ze){let Ne=D({style:t,color:l,fontFamily:f,fontSize:d,fontWeight:e,lineHeight:a,textTransform:b,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:m,borderTopEndRadius:h,borderBottomStartRadius:y,borderBottomEndRadius:u,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:w,borderEndColor:P,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:H,borderStartWidth:E,borderEndWidth:B,borderTopWidth:M,borderBottomWidth:V,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c});return(0,Jo.jsx)(n?Ue:$e,{style:Ne,ref:ze,maxFontSizeMultiplier:1,allowFontScaling:!1,...U})});var xe=require("react/jsx-runtime"),ht=(0,Qo.forwardRef)(function({variant:t="accent",size:n,startIcon:l,endIcon:r,children:d,...f},e){let a=Ge({variant:t,size:n}),b=l?(0,xe.jsx)(Pe,{name:l,...a.icon}):null,i=r?(0,xe.jsx)(Pe,{name:r,...a.icon}):null;return(0,xe.jsxs)(De,{ref:e,...a.pressable,...f,children:[b,(0,xe.jsx)(qo,{...a.text,children:d}),i]})});var ot=require("react");var go=require("react/jsx-runtime"),et={s:36,m:48,l:64},yt={},ut=(0,ot.forwardRef)(function({variant:t="accent",size:n="s",name:l,style:r=yt,...d},f){let e=Ge({variant:t,size:n});return(0,go.jsx)(De,{ref:f,...e.pressable,flexShrink:"0",style:{...r,width:et[n],height:et[n]},...d,children:(0,go.jsx)(Pe,{name:l,...e.icon})})});0&&(module.exports={Avatar,Button,IconButton});
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import {
|
3
|
-
import { I as ImageProps, P as PressableProps } from '../Image.native-
|
4
|
-
export { a as IconButton, b as IconButtonProps } from '../Image.native-
|
2
|
+
import { g as UniversalAvatarProps, h as UniversalButtonProps } from '../types-COiuE8XK.cjs';
|
3
|
+
import { I as ImageProps, P as PressableProps } from '../Image.native-B3I4JoH3.cjs';
|
4
|
+
export { a as IconButton, b as IconButtonProps } from '../Image.native-B3I4JoH3.cjs';
|
5
5
|
import * as react from 'react';
|
6
6
|
import { View } from 'react-native';
|
7
7
|
import 'expo-image';
|