@yahoo/uds 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/chunk-3I3D5S54.js +1 -0
- package/dist/chunk-74YHFBTD.js +1 -0
- package/dist/chunk-7FQGDIJ2.js +1 -0
- package/dist/chunk-JKZI2WLD.js +1 -0
- package/dist/chunk-M346JMQS.js +0 -0
- package/dist/chunk-WYDHNV42.js +1 -0
- package/dist/chunk-Z34QGHWU.js +1 -0
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +141 -0
- package/dist/fixtures/index.d.ts +141 -0
- package/dist/fixtures/index.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +59 -57
- package/dist/index.d.ts +59 -57
- package/dist/index.js +1 -1
- package/dist/index.native-DzfcCYUh.d.ts +15 -0
- package/dist/index.native-VVqy3X9H.d.cts +15 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +2 -1
- package/dist/tailwindPlugin.d.ts +2 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.d.cts +39 -0
- package/dist/tokens/index.d.ts +39 -0
- package/dist/tokens/index.js +1 -0
- package/dist/tokens/index.native.cjs +1 -0
- package/dist/tokens/index.native.d.cts +3 -0
- package/dist/tokens/index.native.d.ts +3 -0
- package/dist/tokens/index.native.js +1 -0
- package/dist/tokens/parseTokens.cjs +1 -0
- package/dist/tokens/parseTokens.d.cts +85 -0
- package/dist/tokens/parseTokens.d.ts +85 -0
- package/dist/tokens/parseTokens.js +1 -0
- package/dist/tokens/parseTokens.native.cjs +1 -0
- package/dist/tokens/parseTokens.native.d.cts +416 -0
- package/dist/tokens/parseTokens.native.d.ts +416 -0
- package/dist/tokens/parseTokens.native.js +1 -0
- package/dist/types-VgTlNoi_.d.cts +509 -0
- package/dist/types-VgTlNoi_.d.ts +509 -0
- package/package.json +49 -31
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var yo=Object.create;var or=Object.defineProperty;var ho=Object.getOwnPropertyDescriptor;var vo=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,wo=Object.prototype.hasOwnProperty;var Po=(r,e)=>{for(var o in e)or(r,o,{get:e[o],enumerable:!0})},rr=(r,e,o,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of vo(e))!wo.call(r,n)&&n!==o&&or(r,n,{get:()=>e[n],enumerable:!(t=ho(e,n))||t.enumerable});return r},Fe=(r,e,o)=>(rr(r,e,"default"),o&&rr(o,e,"default")),ko=(r,e,o)=>(o=r!=null?yo(xo(r)):{},rr(e||!r||!r.__esModule?or(o,"default",{value:r,enumerable:!0}):o,r)),Co=r=>rr(or({},"__esModule",{value:!0}),r);var Ge={};Po(Ge,{Accordion:()=>Ar,Avatar:()=>Vr,Box:()=>je,Button:()=>tr,Chip:()=>Ur,Dropdown:()=>Kr,DropdownItem:()=>$r,DropdownItemPressable:()=>ur,DropdownItems:()=>_r,DropdownTrigger:()=>Jr,HStack:()=>$e,Icon:()=>g,IconButton:()=>lr,Image:()=>Qr,Modal:()=>to,ModalDismiss:()=>ao,ModalHeader:()=>oo,Popover:()=>ar,PopoverAnchor:()=>Fr,PopoverArrow:()=>nr,PopoverDescription:()=>jr,PopoverDisclosure:()=>ir,PopoverDisclosureArrow:()=>Zr,PopoverDismiss:()=>Xr,PopoverHeading:()=>qr,PopoverProvider:()=>sr,Pressable:()=>x,Spinner:()=>no,Tab:()=>lo,TabList:()=>io,TabPanel:()=>po,Tabs:()=>so,Text:()=>m,TextInput:()=>vr,TextInputGroup:()=>co,TextInputLabel:()=>hr,ToastContainer:()=>bo,VStack:()=>k,cva:()=>br,cx:()=>y,getStyles:()=>l,toast:()=>We.toast,useModalStore:()=>ro,usePopoverStore:()=>b.usePopoverStore});module.exports=Co(Ge);var Cr=require("react");var v=require("@yahoo/uds-fixtures"),wr=ko(require("clsx"),1),Pr=require("tailwind-merge");function dr(r){return typeof r=="boolean"?`${r}`:r===0?"0":r}var To=(0,Pr.extendTailwindMerge)({cacheSize:0,override:{classGroups:{"text-color":[{text:v.foregroundColors}],"border-color":[{border:v.lineColors}],"border-w":[{border:v.borderWidths}],"bg-color":[{bg:v.backgroundColors}],rounded:[{rounded:v.shapes}],"font-family":[{font:["icons",...v.textVariants]}],leading:[{leading:v.textVariants}],shadow:[{shadow:v.elevations}]},conflictingClassGroups:{}}}),y=(...r)=>{let e=(0,wr.default)(r);return To(e)},br=r=>e=>{if(!r?.variants)return y(r?.base,e?.className);let{variants:o,defaultVariants:t}=r,n=Object.keys(o).map(s=>{let i=e?.[s],c=t?.[s],d=dr(i)||dr(c);return o[s][d]}),a={...t,...e&&Object.entries(e).reduce((s,[i,c])=>typeof c>"u"?s:{...s,[i]:c},{})},p=r?.compoundVariants?.reduce((s,{className:i,...c})=>Object.entries(c).every(([d,f])=>a[d]===f)?y(s,i):s,"");return y(r?.base,n,p,e?.className)},l=br({variants:{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"},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",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",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",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",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",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",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:{0:"px-0",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:{0:"py-0",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:{0:"pb-0",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:{0:"pe-0",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:{0:"ps-0",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:{0:"pt-0",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:{0:"-m-0",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:{0:"-my-0",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:{0:"-mx-0",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:{0:"-mb-0",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:{0:"-me-0",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:{0:"-ms-0",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:{0:"-mt-0",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:{0:"gap-x-0",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:{0:"gap-y-0",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"},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:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},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-none"},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-none",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"}}});var u=require("react");function So(r,e){typeof r=="function"?r(e):r!=null&&(r.current=e)}function kr(...r){return e=>r.forEach(o=>So(o,e))}var mr=require("react/jsx-runtime");function T(){let r=(0,u.forwardRef)((a,p)=>{let{children:s,...i}=a,c=u.Children.toArray(s),d=c.find(t);if(d){let f=d.props.children,h=c.map(P=>P===d?u.Children.count(f)>1?u.Children.only(null):(0,u.isValidElement)(f)?f.props.children:null:P);return(0,mr.jsx)(e,{...i,ref:p,children:(0,u.isValidElement)(f)?(0,u.cloneElement)(f,void 0,h):null})}return(0,mr.jsx)(e,{...i,ref:p,children:s})});r.displayName="Slot";let e=(0,u.forwardRef)((a,p)=>{let{children:s,...i}=a;return(0,u.isValidElement)(s)?(0,u.cloneElement)(s,{...n(i,s.props),ref:p?kr(p,s.ref):s.ref}):u.Children.count(s)>1?u.Children.only(null):null});e.displayName="SlotClone";let o=({children:a})=>a;function t(a){return(0,u.isValidElement)(a)&&a.type===o}function n(a,p){let s={...p};for(let i in p){let c=a[i],d=p[i];/^on[A-Z]/.test(i)?c&&d?s[i]=(...h)=>{d(...h),c(...h)}:c&&(s[i]=c):i==="style"&&(s[i]={...c,...d})}return{...a,...s}}return r}var Tr=require("react/jsx-runtime"),Io=T(),g=(0,Cr.forwardRef)(function({className:e,asChild:o=!1,size:t="l",color:n="primary",name:a,colorChecked:p,opacity:s,textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:P,borderedTop:I,borderedBottom:D,borderedStart:H,borderedEnd:B,borderedHorizontal:R,borderedVertical:z,borderRadius:N,borderTopStartRadius:A,borderTopEndRadius:M,borderBottomStartRadius:V,borderBottomEndRadius:L,borderColor:E,borderColorOnActive:O,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:G,borderStartColor:q,borderEndColor:F,borderTopColor:j,borderBottomColor:X,borderWidth:Z,borderVerticalWidth:_,borderHorizontalWidth:$,borderStartWidth:J,borderEndWidth:K,borderTopWidth:Y,borderBottomWidth:Q,alignContent:ee,alignItems:re,alignSelf:oe,flex:te,flexDirection:ae,flexGrow:ne,flexShrink:se,flexWrap:ie,justifyContent:le,flexBasis:pe,display:ce,zIndex:de,overflow:be,overflowX:me,overflowY:fe,position:ue,spacing:ge,spacingHorizontal:ye,spacingVertical:he,spacingBottom:ve,spacingEnd:xe,spacingStart:we,spacingTop:Pe,offset:ke,offsetVertical:Ce,offsetHorizontal:Te,offsetBottom:Se,offsetEnd:Ie,offsetStart:De,offsetTop:He,columnGap:Be,rowGap:Re,height:ze,minHeight:Ne,maxHeight:Ae,width:Me,minWidth:Oe,maxWidth:qe,...Ke},er){let pr=o?Io:"span",cr=l({iconSize:t,color:n,colorChecked:p,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:P,borderedTop:I,borderedBottom:D,borderedStart:H,borderedEnd:B,borderedHorizontal:R,borderedVertical:z,borderRadius:N,borderTopStartRadius:A,borderTopEndRadius:M,borderBottomStartRadius:V,borderBottomEndRadius:L,borderColor:E,borderColorOnActive:O,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:G,borderStartColor:q,borderEndColor:F,borderTopColor:j,borderBottomColor:X,borderWidth:Z,borderVerticalWidth:_,borderHorizontalWidth:$,borderStartWidth:J,borderEndWidth:K,borderTopWidth:Y,borderBottomWidth:Q,alignContent:ee,alignItems:re,alignSelf:oe,flex:te,flexDirection:ae,flexGrow:ne,flexShrink:se,flexWrap:ie,justifyContent:le,flexBasis:pe,display:ce,zIndex:de,overflow:be,overflowX:me,overflowY:fe,position:ue,spacing:ge,spacingHorizontal:ye,spacingVertical:he,spacingBottom:ve,spacingEnd:xe,spacingStart:we,spacingTop:Pe,offset:ke,offsetVertical:Ce,offsetHorizontal:Te,offsetBottom:Se,offsetEnd:Ie,offsetStart:De,offsetTop:He,columnGap:Be,rowGap:Re,height:ze,minHeight:Ne,maxHeight:Ae,width:Me,minWidth:Oe,maxWidth:qe,className:e});return(0,Tr.jsx)(pr,{className:cr,ref:er,...Ke,children:a})});var Sr=require("react");var Ir=require("react/jsx-runtime"),Do=T(),x=(0,Sr.forwardRef)(function({className:e,asChild:o,onPress:t,onClick:n=t,backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:f,borderedTop:h,borderedBottom:P,borderedStart:I,borderedEnd:D,borderedHorizontal:H,borderedVertical:B,borderRadius:R,borderTopStartRadius:z,borderTopEndRadius:N,borderBottomStartRadius:A,borderBottomEndRadius:M,borderColor:V,borderColorOnActive:L,borderColorOnFocus:E,borderColorOnChecked:O,borderColorOnHover:U,borderStartColor:W,borderEndColor:G,borderTopColor:q,borderBottomColor:F,borderWidth:j,borderVerticalWidth:X,borderHorizontalWidth:Z,borderStartWidth:_,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:ee,flex:re,flexDirection:oe,flexGrow:te,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:ve,spacingTop:xe,offset:we,offsetVertical:Pe,offsetHorizontal:ke,offsetBottom:Ce,offsetEnd:Te,offsetStart:Se,offsetTop:Ie,columnGap:De,rowGap:He,height:Be,minHeight:Re,maxHeight:ze,width:Ne,minWidth:Ae,maxWidth:Me,...Oe},qe){let Ke=l({backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:f,borderedTop:h,borderedBottom:P,borderedStart:I,borderedEnd:D,borderedHorizontal:H,borderedVertical:B,borderRadius:R,borderTopStartRadius:z,borderTopEndRadius:N,borderBottomStartRadius:A,borderBottomEndRadius:M,borderColor:V,borderColorOnActive:L,borderColorOnFocus:E,borderColorOnChecked:O,borderColorOnHover:U,borderStartColor:W,borderEndColor:G,borderTopColor:q,borderBottomColor:F,borderWidth:j,borderVerticalWidth:X,borderHorizontalWidth:Z,borderStartWidth:_,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:ee,flex:re,flexDirection:oe,flexGrow:te,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:ve,spacingTop:xe,offset:we,offsetVertical:Pe,offsetHorizontal:ke,offsetBottom:Ce,offsetEnd:Te,offsetStart:Se,offsetTop:Ie,columnGap:De,rowGap:He,height:Be,minHeight:Re,maxHeight:ze,width:Ne,minWidth:Ae,maxWidth:Me,className:e});return(0,Ir.jsx)(o?Do:"button",{className:Ke,ref:qe,onClick:n,...Oe})});var Dr=require("react");var Hr=require("react/jsx-runtime"),Ho=T(),Bo={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},m=(0,Dr.forwardRef)(function({className:e,asChild:o,color:t="primary",colorChecked:n,variant:a="body1",as:p=Bo[a],fontSize:s=a,fontFamily:i=a,fontWeight:c=a,lineHeight:d=a,textTransform:f=a,textAlign:h,backgroundColor:P,backgroundColorOnActive:I,backgroundColorOnHover:D,backgroundColorOnChecked:H,opacity:B,bordered:R,borderedTop:z,borderedBottom:N,borderedStart:A,borderedEnd:M,borderedHorizontal:V,borderedVertical:L,borderRadius:E,borderTopStartRadius:O,borderTopEndRadius:U,borderBottomStartRadius:W,borderBottomEndRadius:G,borderColor:q,borderColorOnActive:F,borderColorOnFocus:j,borderColorOnChecked:X,borderColorOnHover:Z,borderStartColor:_,borderEndColor:$,borderTopColor:J,borderBottomColor:K,borderWidth:Y,borderVerticalWidth:Q,borderHorizontalWidth:ee,borderStartWidth:re,borderEndWidth:oe,borderTopWidth:te,borderBottomWidth:ae,alignContent:ne,alignItems:se,alignSelf:ie,flex:le,flexDirection:pe,flexGrow:ce,flexShrink:de,flexWrap:be,justifyContent:me,flexBasis:fe,display:ue,zIndex:ge,overflow:ye,overflowX:he,overflowY:ve,position:xe,spacing:we,spacingHorizontal:Pe,spacingVertical:ke,spacingBottom:Ce,spacingEnd:Te,spacingStart:Se,spacingTop:Ie,offset:De,offsetVertical:He,offsetHorizontal:Be,offsetBottom:Re,offsetEnd:ze,offsetStart:Ne,offsetTop:Ae,columnGap:Me,rowGap:Oe,height:qe,minHeight:Ke,maxHeight:er,width:pr,minWidth:cr,maxWidth:mo,...fo},uo){let go=l({className:e,color:t,colorChecked:n,fontFamily:i,fontSize:s,fontWeight:c,lineHeight:d,textTransform:f,textAlign:h,backgroundColor:P,backgroundColorOnActive:I,backgroundColorOnHover:D,backgroundColorOnChecked:H,opacity:B,bordered:R,borderedTop:z,borderedBottom:N,borderedStart:A,borderedEnd:M,borderedHorizontal:V,borderedVertical:L,borderRadius:E,borderTopStartRadius:O,borderTopEndRadius:U,borderBottomStartRadius:W,borderBottomEndRadius:G,borderColor:q,borderColorOnActive:F,borderColorOnFocus:j,borderColorOnChecked:X,borderColorOnHover:Z,borderStartColor:_,borderEndColor:$,borderTopColor:J,borderBottomColor:K,borderWidth:Y,borderVerticalWidth:Q,borderHorizontalWidth:ee,borderStartWidth:re,borderEndWidth:oe,borderTopWidth:te,borderBottomWidth:ae,alignContent:ne,alignItems:se,alignSelf:ie,flex:le,flexDirection:pe,flexGrow:ce,flexShrink:de,flexWrap:be,justifyContent:me,flexBasis:fe,display:ue,zIndex:ge,overflow:ye,overflowX:he,overflowY:ve,position:xe,spacing:we,spacingHorizontal:Pe,spacingVertical:ke,spacingBottom:Ce,spacingEnd:Te,spacingStart:Se,spacingTop:Ie,offset:De,offsetVertical:He,offsetHorizontal:Be,offsetBottom:Re,offsetEnd:ze,offsetStart:Ne,offsetTop:Ae,columnGap:Me,rowGap:Oe,height:qe,minHeight:Ke,maxHeight:er,width:pr,minWidth:cr,maxWidth:mo});return(0,Hr.jsx)(o?Ho:p,{className:go,ref:uo,...fo})});var zr=require("react");var Br=require("react");var Rr=require("react/jsx-runtime"),Ro=T(),je=(0,Br.forwardRef)(function({asChild:e,className:o,elevation:t,backgroundColor:n=t?`elevation-${t}`:void 0,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:P,borderedHorizontal:I,borderedVertical:D,borderRadius:H,borderTopStartRadius:B,borderTopEndRadius:R,borderBottomStartRadius:z,borderBottomEndRadius:N,borderColor:A,borderColorOnActive:M,borderColorOnFocus:V,borderColorOnChecked:L,borderColorOnHover:E,borderStartColor:O,borderEndColor:U,borderTopColor:W,borderBottomColor:G,borderWidth:q,borderVerticalWidth:F,borderHorizontalWidth:j,borderStartWidth:X,borderEndWidth:Z,borderTopWidth:_,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:ee,flexGrow:re,flexShrink:oe,flexWrap:te,justifyContent:ae,flexBasis:ne,display:se="flex",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:ve,offsetVertical:xe,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:ke,offsetStart:Ce,offsetTop:Te,columnGap:Se,rowGap:Ie,height:De,minHeight:He,maxHeight:Be,width:Re,minWidth:ze,maxWidth:Ne,...Ae},Me){let Oe=l({elevation:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:P,borderedHorizontal:I,borderedVertical:D,borderRadius:H,borderTopStartRadius:B,borderTopEndRadius:R,borderBottomStartRadius:z,borderBottomEndRadius:N,borderColor:A,borderColorOnActive:M,borderColorOnFocus:V,borderColorOnChecked:L,borderColorOnHover:E,borderStartColor:O,borderEndColor:U,borderTopColor:W,borderBottomColor:G,borderWidth:q,borderVerticalWidth:F,borderHorizontalWidth:j,borderStartWidth:X,borderEndWidth:Z,borderTopWidth:_,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:ee,flexGrow:re,flexShrink:oe,flexWrap:te,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:ve,offsetVertical:xe,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:ke,offsetStart:Ce,offsetTop:Te,columnGap:Se,rowGap:Ie,height:De,minHeight:He,maxHeight:Be,width:Re,minWidth:ze,maxWidth:Ne,className:o});return(0,Rr.jsx)(e?Ro:"div",{className:Oe,ref:Me,...Ae})});var Nr=require("react/jsx-runtime"),k=(0,zr.forwardRef)(function({gap:e,...o},t){return(0,Nr.jsx)(je,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...o})});var Ve=require("react/jsx-runtime");function Ar({label:r,children:e,onClick:o,open:t}){return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsxs)(x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:o,children:[(0,Ve.jsx)(m,{variant:"title4",children:r}),(0,Ve.jsx)(g,{name:t?"chevronDown":"chevronUp",size:"s"})]}),(0,Ve.jsx)(k,{spacingHorizontal:"8",children:t&&e})]})}var Mr={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},fr={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",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 Xe({variant:r="accent",size:e="s"}){let{color:o,...t}=fr.variant[r],{variant:n,...a}=fr.size[e];return{pressable:{...fr.base,...t,...a},text:{color:o,variant:n,textAlign:"center"},icon:{color:o,size:"s"}}}var Lr=require("react/jsx-runtime");function Vr({size:r,shape:e,src:o,alt:t,...n}){let a=l({...Mr,avatarSize:r,borderRadius:e});return(0,Lr.jsx)("img",{src:o,alt:t,className:a,...n})}var Er=require("react");var Ze=require("react/jsx-runtime"),tr=(0,Er.forwardRef)(function({variant:e="accent",size:o,startIcon:t,endIcon:n,children:a,...p},s){let i=Xe({variant:e,size:o}),c=t?(0,Ze.jsx)(g,{name:t,...i.icon}):null,d=n?(0,Ze.jsx)(g,{name:n,...i.icon}):null;return(0,Ze.jsxs)(x,{...i.pressable,ref:s,...p,children:[c,(0,Ze.jsx)(m,{...i.text,children:a}),d]})});var _e=require("react/jsx-runtime"),Or={accent:"on-color",secondary:"primary"},zo={accent:"on-color",secondary:"tertiary"};function Ur({children:r,variant:e,startIcon:o,startContent:t=o?(0,_e.jsx)(g,{name:o,size:"s",color:Or[e]}):null,endIcon:n,endContent:a=n?(0,_e.jsx)(g,{name:n,size:"s",color:Or[e]}):null}){return(0,_e.jsxs)(x,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,(0,_e.jsx)(m,{variant:"label2",color:zo[e],children:r}),a]})}var Qe=require("react");var b=require("@ariakit/react");var Wr=require("react");var Gr=require("react/jsx-runtime"),$e=(0,Wr.forwardRef)(function({gap:e,...o},t){return(0,Gr.jsx)(je,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...o})});var Ye=require("react/jsx-runtime");function qr({children:r,leading:e,trailing:o}){return(0,Ye.jsxs)($e,{children:[e,(0,Ye.jsx)(m,{variant:"headline1",asChild:!0,children:(0,Ye.jsx)(b.PopoverHeading,{children:r})}),o]})}var ar=b.Popover,nr=b.PopoverArrow,Fr=b.PopoverAnchor,jr=b.PopoverDescription,Xr=b.PopoverDismiss,sr=b.PopoverProvider,ir=b.PopoverDisclosure,Zr=b.PopoverDisclosureArrow;var w=require("react/jsx-runtime"),_r=(0,Qe.forwardRef)(function({children:e,className:o,overflow:t="scroll",...n},a){return(0,w.jsx)(k,{borderRadius:"l",elevation:"3",className:y("min-w-[220px] max-h-[312px]",o),overflow:t,spacingVertical:"4",asChild:!0,children:(0,w.jsxs)(ar,{preventBodyScroll:!0,...n,ref:a,children:[(0,w.jsx)(nr,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})}),ur=(0,Qe.forwardRef)(function({children:e,onClick:o,...t},n){let a=(0,b.usePopoverStore)(),p=(0,Qe.useCallback)(s=>{s.preventDefault(),o?.(()=>a.setOpen(!1))},[o,a]);return(0,w.jsx)(x,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?p:void 0,ref:n,...t,children:e})});function $r({title:r,description:e,_title:o,_description:t,startIcon:n,endIcon:a,...p}){return(0,w.jsxs)(ur,{...p,children:[n&&(0,w.jsx)(g,{name:n,size:"s"}),(0,w.jsxs)(k,{gap:"3",alignItems:"flex-start",children:[r&&(0,w.jsx)(m,{variant:"headline1",...o,children:r}),e&&(0,w.jsx)(m,{variant:"label2",color:"muted",...t,children:e})]}),a&&(0,w.jsx)(g,{name:a,size:"s"})]})}function Jr({children:r,variant:e,size:o,...t}){let n=Xe({variant:e,size:o}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return(0,w.jsx)(x,{...a,...t,asChild:!0,children:(0,w.jsx)(ir,{children:r})})}var Kr=sr;var Yr=require("react");var gr=require("react/jsx-runtime"),No={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},lr=(0,Yr.forwardRef)(function({variant:e="accent",size:o="s",name:t,className:n,color:a,...p},s){let i=Xe({variant:e,size:o});return(0,gr.jsx)(x,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:y("leading-[0px]",No[o],n),...p,children:(0,gr.jsx)(g,{name:t,...i.icon,color:a})})});var eo=require("react/jsx-runtime");function Qr({width:r,height:e,src:o,alt:t,contentFit:n="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:f,borderedTop:h,borderedBottom:P,borderedStart:I,borderedEnd:D,borderedHorizontal:H,borderedVertical:B,borderRadius:R,borderTopStartRadius:z,borderTopEndRadius:N,borderBottomStartRadius:A,borderBottomEndRadius:M,borderColor:V,borderColorOnActive:L,borderColorOnFocus:E,borderColorOnChecked:O,borderColorOnHover:U,borderStartColor:W,borderEndColor:G,borderTopColor:q,borderBottomColor:F,borderWidth:j,borderVerticalWidth:X,borderHorizontalWidth:Z,borderStartWidth:_,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:ee,flex:re,flexDirection:oe,flexGrow:te,flexShrink:ae="0",flexWrap:ne,justifyContent:se,flexBasis:ie,display:le="flex",zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:ve,spacingTop:xe,offset:we,offsetVertical:Pe,offsetHorizontal:ke,offsetBottom:Ce,offsetEnd:Te,offsetStart:Se,offsetTop:Ie,columnGap:De,rowGap:He,minHeight:Be,maxHeight:Re,minWidth:ze,maxWidth:Ne,...Ae}){let Me=l({contentFit:n,elevation:a,backgroundColor:p,backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:f,borderedTop:h,borderedBottom:P,borderedStart:I,borderedEnd:D,borderedHorizontal:H,borderedVertical:B,borderRadius:R,borderTopStartRadius:z,borderTopEndRadius:N,borderBottomStartRadius:A,borderBottomEndRadius:M,borderColor:V,borderColorOnActive:L,borderColorOnFocus:E,borderColorOnChecked:O,borderColorOnHover:U,borderStartColor:W,borderEndColor:G,borderTopColor:q,borderBottomColor:F,borderWidth:j,borderVerticalWidth:X,borderHorizontalWidth:Z,borderStartWidth:_,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:ee,flex:re,flexDirection:oe,flexGrow:te,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:ve,spacingTop:xe,offset:we,offsetVertical:Pe,offsetHorizontal:ke,offsetBottom:Ce,offsetEnd:Te,offsetStart:Se,offsetTop:Ie,columnGap:De,rowGap:He,minHeight:Be,maxHeight:Re,minWidth:ze,maxWidth:Ne});return(0,eo.jsx)("img",{src:o,alt:t,className:Me,style:{objectPosition:"left",width:r,height:e},...Ae})}var Je=require("@ariakit/react");var Le=require("react/jsx-runtime");function ro(r){return(0,Je.useDialogStore)({animated:!0,...r})}function oo({children:r,handleClose:e}){return(0,Le.jsxs)($e,{alignItems:"center",justifyContent:"space-between",children:[(0,Le.jsx)(m,{variant:"headline1",children:r}),(0,Le.jsx)(tr,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function to({className:r,...e}){return(0,Le.jsx)(k,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:y("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",r),spacing:"8",asChild:!0,children:(0,Le.jsx)(Je.Dialog,{backdrop:(0,Le.jsx)("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var ao=Je.DialogDismiss;var Ue=require("react/jsx-runtime");function no({className:r,...e}){return(0,Ue.jsxs)("div",{role:"status",className:`self-center ${r}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[(0,Ue.jsxs)("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ue.jsx)("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"}),(0,Ue.jsx)("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"})]}),(0,Ue.jsx)("span",{className:"sr-only",children:"Loading..."})]})}var C=require("@ariakit/react"),yr=require("react");var S=require("react/jsx-runtime"),Ao=T();function so(r){return(0,S.jsx)(C.TabProvider,{...r})}var io=(0,yr.forwardRef)(function({className:e,...o},t){let n=l({display:"flex",flexDirection:"row",columnGap:"7",className:e});return(0,S.jsx)(C.TabList,{ref:t,...o,className:n})}),lo=function({asChild:e,label:o,value:t,startIcon:n}){let a=e?Ao:"a",p=l({}),s=(0,C.useTabContext)();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,c=i?"accent":"primary";return(0,S.jsx)(C.Tab,{id:t,className:p,render:(0,S.jsx)(a,{children:(0,S.jsxs)(x,{borderColor:i?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[n?(0,S.jsx)(g,{name:n,color:c,size:"m"}):null,(0,S.jsx)(m,{color:c,variant:"headline1",children:o})]})})})},po=(0,yr.forwardRef)(function(e,o){let t=(0,C.useTabContext)();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return(0,S.jsx)(C.TabPanel,{ref:o,tabId:n,...e})});var Ee=require("react/jsx-runtime");function hr({children:r,required:e}){return(0,Ee.jsxs)(m,{variant:"caption2",children:[r,e&&(0,Ee.jsx)(m,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}function vr({className:r,disabled:e,...o}){return(0,Ee.jsx)("input",{type:"text","data-1p-ignore":!0,className:y(l({backgroundColor:e?"secondary":"primary",borderColor:"tertiary",bordered:!0,borderRadius:"m",spacingVertical:"5",spacingHorizontal:"6",className:"placeholder:text-tertiary font-sans",width:"full",fontSize:"body1",fontWeight:"body1",lineHeight:"body1",color:"primary"}),r),disabled:e,...o})}function co({label:r,required:e,...o}){return(0,Ee.jsxs)(k,{gap:"4",width:"full",children:[(0,Ee.jsx)(hr,{required:e,children:r}),(0,Ee.jsx)(vr,{required:e,...o})]})}var We=require("react-toastify");var xr=require("react/jsx-runtime"),Mo=l({elevation:"3",borderRadius:"m",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),Vo=l({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Lo=l({backgroundColor:"positive"}),Eo=l({backgroundColor:"alert"}),Oo=l({backgroundColor:"accent"}),Uo=l({backgroundColor:"warning"}),Wo=l({backgroundColor:"elevation-3-inverse"}),Go=l({backgroundColor:"elevation-3-inverse"}),qo=l({backgroundColor:"positive-wash",color:"positive"}),Fo=l({backgroundColor:"alert-wash",color:"alert"}),jo=l({backgroundColor:"accent-wash",color:"accent"}),Xo=l({backgroundColor:"warning-wash",color:"warning"}),Zo=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),_o=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),$o=r=>{let{type:e="default"}=r??{},o={success:qo,error:Fo,info:jo,warning:Xo,default:Zo,dark:_o}[e];return y(Mo,o)};function Jo(r){let{type:e="default",defaultClassName:o=""}=r??{},t={success:Lo,error:Eo,info:Oo,warning:Uo,default:Wo,dark:Go}[e],n=o.replace(/Toastify__progress-bar-theme--light/,"");return y(n,t)}function Ko({closeToast:r,type:e}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return(0,xr.jsx)(lr,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:r})}function bo(r){return(0,xr.jsx)(We.ToastContainer,{toastClassName:$o,bodyClassName:Vo,progressClassName:Jo,transition:We.Slide,closeButton:Ko,...r})}Fe(Ge,require("@yahoo/uds-tokens"),module.exports);0&&(module.exports={Accordion,Avatar,Box,Button,Chip,Dropdown,DropdownItem,DropdownItemPressable,DropdownItems,DropdownTrigger,HStack,Icon,IconButton,Image,Modal,ModalDismiss,ModalHeader,Popover,PopoverAnchor,PopoverArrow,PopoverDescription,PopoverDisclosure,PopoverDisclosureArrow,PopoverDismiss,PopoverHeading,PopoverProvider,Pressable,Spinner,Tab,TabList,TabPanel,Tabs,Text,TextInput,TextInputGroup,TextInputLabel,ToastContainer,VStack,cva,cx,getStyles,toast,useModalStore,usePopoverStore,...require("@yahoo/uds-tokens")});
|
1
|
+
"use strict";var ar=Object.create;var et=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty;var pr=(e,t)=>{for(var o in t)et(e,o,{get:t[o],enumerable:!0})},zt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of sr(t))!lr.call(e,n)&&n!==o&&et(e,n,{get:()=>t[n],enumerable:!(r=nr(t,n))||r.enumerable});return e};var cr=(e,t,o)=>(o=e!=null?ar(ir(e)):{},zt(t||!e||!e.__esModule?et(o,"default",{value:e,enumerable:!0}):o,e)),dr=e=>zt(et({},"__esModule",{value:!0}),e);var ba={};pr(ba,{AVATAR_SIZE_PREFIX:()=>Ur,Accordion:()=>jt,Avatar:()=>Jt,Box:()=>Ge,Button:()=>tt,Chip:()=>oo,DARK_COLOR_MODE_CLASSNAME:()=>qo,DEFAULT_COLOR_MODE:()=>la,DEFAULT_COLOR_MODE_CLASSNAME:()=>jr,DEFAULT_COLOR_MODE_FOR_APP:()=>sa,DEFAULT_HIGH_CONTRAST_MODE:()=>ca,DEFAULT_REGION_MODE:()=>da,DEFAULT_SCALE_MODE:()=>pa,DEFAULT_SCALE_MODE_CLASSNAME:()=>Kr,DEFAULT_SCALE_MODE_FOR_APP:()=>ia,Dropdown:()=>go,DropdownItem:()=>mo,DropdownItemPressable:()=>xt,DropdownItems:()=>co,DropdownTrigger:()=>bo,FONT_FAMILY_PREFIX:()=>Vr,FONT_ICONS_CSS_VAR:()=>ea,FONT_SANS_BETA_CSS_VAR:()=>oa,FONT_SANS_CONDENSED_CSS_VAR:()=>ra,FONT_SANS_CSS_VAR:()=>ta,FONT_SERIF_DISPLAY_CSS_VAR:()=>aa,FONT_SERIF_TEXT_CSS_VAR:()=>na,FONT_SIZE_PREFIX:()=>$r,FONT_WEIGHT_PREFIX:()=>Yr,HStack:()=>Ye,ICON_SIZE_PREFIX:()=>Wr,Icon:()=>y,IconButton:()=>st,Image:()=>uo,LARGE_SCALE_MODE_CLASSNAME:()=>mt,LIGHT_COLOR_MODE_CLASSNAME:()=>dt,LINE_HEIGHT_PREFIX:()=>qr,MEDIUM_SCALE_MODE_CLASSNAME:()=>jo,Modal:()=>vo,ModalDismiss:()=>wo,ModalHeader:()=>xo,Popover:()=>ot,PopoverAnchor:()=>so,PopoverArrow:()=>rt,PopoverDescription:()=>io,PopoverDisclosure:()=>nt,PopoverDisclosureArrow:()=>po,PopoverDismiss:()=>lo,PopoverHeading:()=>no,PopoverProvider:()=>at,Pressable:()=>w,SHAPE_PREFIX:()=>Gr,SMALL_SCALE_MODE_CLASSNAME:()=>Zo,SPACING_PREFIX:()=>Xr,SPECTRUM_COLOR_PREFIX:()=>Fr,Spinner:()=>Po,TEXT_TRANSFORM_PREFIX:()=>Zr,Tab:()=>ko,TabList:()=>So,TabPanel:()=>To,Tabs:()=>Co,Text:()=>g,TextInput:()=>Ct,TextInputGroup:()=>Io,TextInputLabel:()=>Pt,ToastContainer:()=>Ao,UDS_PREFIX:()=>d,VStack:()=>S,XLARGE_SCALE_MODE_CLASSNAME:()=>Ko,XSMALL_SCALE_MODE_CLASSNAME:()=>Yo,XXLARGE_SCALE_MODE_CLASSNAME:()=>Jo,XXXLARGE_SCALE_MODE_CLASSNAME:()=>Qo,alwaysPalette:()=>No,cva:()=>ut,cx:()=>h,defaultTokensConfig:()=>Br,entries:()=>ma,fontFamilyGlobal:()=>pt,fontWeightMap:()=>Xo,getColorModeClassName:()=>Jr,getScaleModeClassName:()=>Qr,getStyles:()=>l,toast:()=>We.toast,useModalStore:()=>ho,usePopoverStore:()=>b.usePopoverStore});module.exports=dr(ba);var Ft=require("react");var v=require("@yahoo/uds/fixtures"),_t=cr(require("clsx"),1),Ot=require("tailwind-merge");function ft(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var mr=(0,Ot.extendTailwindMerge)({cacheSize:0,override:{classGroups:{"text-color":[{text:v.foregroundColors}],"border-color":[{border:v.lineColors}],"border-w":[{border:v.borderWidths}],"bg-color":[{bg:v.backgroundColors}],rounded:[{rounded:v.shapes}],"font-family":[{font:["icons",...v.textVariants]}],leading:[{leading:v.textVariants}],shadow:[{shadow:v.elevations}]},conflictingClassGroups:{}}}),h=(...e)=>{let t=(0,_t.default)(e);return mr(t)},ut=e=>t=>{if(!e?.variants)return h(e?.base,t?.className);let{variants:o,defaultVariants:r}=e,n=Object.keys(o).map(s=>{let i=t?.[s],c=r?.[s],m=ft(i)||ft(c);return o[s][m]}),a={...r,...t&&Object.entries(t).reduce((s,[i,c])=>typeof c>"u"?s:{...s,[i]:c},{})},p=e?.compoundVariants?.reduce((s,{className:i,...c})=>Object.entries(c).every(([m,f])=>a[m]===f)?h(s,i):s,"");return h(e?.base,n,p,t?.className)},l=ut({variants:{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"},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",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",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",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",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",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",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:{0:"px-0",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:{0:"py-0",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:{0:"pb-0",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:{0:"pe-0",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:{0:"ps-0",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:{0:"pt-0",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:{0:"-m-0",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:{0:"-my-0",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:{0:"-mx-0",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:{0:"-mb-0",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:{0:"-me-0",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:{0:"-ms-0",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:{0:"-mt-0",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:{0:"gap-x-0",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:{0:"gap-y-0",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"},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:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},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-none"},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-none",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"}}});var u=require("react");function br(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Bt(...e){return t=>e.forEach(o=>br(o,t))}var yt=require("react/jsx-runtime");function T(){let e=(0,u.forwardRef)((a,p)=>{let{children:s,...i}=a,c=u.Children.toArray(s),m=c.find(r);if(m){let f=m.props.children,x=c.map(C=>C===m?u.Children.count(f)>1?u.Children.only(null):(0,u.isValidElement)(f)?f.props.children:null:C);return(0,yt.jsx)(t,{...i,ref:p,children:(0,u.isValidElement)(f)?(0,u.cloneElement)(f,void 0,x):null})}return(0,yt.jsx)(t,{...i,ref:p,children:s})});e.displayName="Slot";let t=(0,u.forwardRef)((a,p)=>{let{children:s,...i}=a;return(0,u.isValidElement)(s)?(0,u.cloneElement)(s,{...n(i,s.props),ref:p?Bt(p,s.ref):s.ref}):u.Children.count(s)>1?u.Children.only(null):null});t.displayName="SlotClone";let o=({children:a})=>a;function r(a){return(0,u.isValidElement)(a)&&a.type===o}function n(a,p){let s={...p};for(let i in p){let c=a[i],m=p[i];/^on[A-Z]/.test(i)?c&&m?s[i]=(...x)=>{m(...x),c(...x)}:c&&(s[i]=c):i==="style"&&(s[i]={...c,...m})}return{...a,...s}}return e}var Vt=require("react/jsx-runtime"),gr=T(),y=(0,Ft.forwardRef)(function({className:t,asChild:o=!1,size:r="l",color:n="primary",name:a,colorChecked:p,opacity:s,textAlign:i,backgroundColor:c,backgroundColorOnActive:m,backgroundColorOnHover:f,backgroundColorOnChecked:x,bordered:C,borderedTop:A,borderedBottom:R,borderedStart:D,borderedEnd:E,borderedHorizontal:M,borderedVertical:H,borderRadius:L,borderTopStartRadius:N,borderTopEndRadius:z,borderBottomStartRadius:_,borderBottomEndRadius:O,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:W,borderColorOnHover:U,borderStartColor:G,borderEndColor:X,borderTopColor:$,borderBottomColor:q,borderWidth:Y,borderVerticalWidth:Z,borderHorizontalWidth:j,borderStartWidth:K,borderEndWidth:J,borderTopWidth:Q,borderBottomWidth:ee,alignContent:te,alignItems:oe,alignSelf:re,flex:ae,flexDirection:ne,flexGrow:se,flexShrink:ie,flexWrap:le,justifyContent:pe,flexBasis:ce,display:de,zIndex:me,overflow:be,overflowX:ge,overflowY:fe,position:ue,spacing:ye,spacingHorizontal:he,spacingVertical:xe,spacingBottom:ve,spacingEnd:we,spacingStart:Pe,spacingTop:Ce,offset:Se,offsetVertical:ke,offsetHorizontal:Te,offsetBottom:Ie,offsetEnd:Ae,offsetStart:Re,offsetTop:De,columnGap:Ee,rowGap:Me,height:He,minHeight:Le,maxHeight:Ne,width:ze,minWidth:Fe,maxWidth:Ue,...je},Qe){let bt=o?gr:"span",gt=l({iconSize:r,color:n,colorChecked:p,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:c,backgroundColorOnActive:m,backgroundColorOnHover:f,backgroundColorOnChecked:x,bordered:C,borderedTop:A,borderedBottom:R,borderedStart:D,borderedEnd:E,borderedHorizontal:M,borderedVertical:H,borderRadius:L,borderTopStartRadius:N,borderTopEndRadius:z,borderBottomStartRadius:_,borderBottomEndRadius:O,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:W,borderColorOnHover:U,borderStartColor:G,borderEndColor:X,borderTopColor:$,borderBottomColor:q,borderWidth:Y,borderVerticalWidth:Z,borderHorizontalWidth:j,borderStartWidth:K,borderEndWidth:J,borderTopWidth:Q,borderBottomWidth:ee,alignContent:te,alignItems:oe,alignSelf:re,flex:ae,flexDirection:ne,flexGrow:se,flexShrink:ie,flexWrap:le,justifyContent:pe,flexBasis:ce,display:de,zIndex:me,overflow:be,overflowX:ge,overflowY:fe,position:ue,spacing:ye,spacingHorizontal:he,spacingVertical:xe,spacingBottom:ve,spacingEnd:we,spacingStart:Pe,spacingTop:Ce,offset:Se,offsetVertical:ke,offsetHorizontal:Te,offsetBottom:Ie,offsetEnd:Ae,offsetStart:Re,offsetTop:De,columnGap:Ee,rowGap:Me,height:He,minHeight:Le,maxHeight:Ne,width:ze,minWidth:Fe,maxWidth:Ue,className:t});return(0,Vt.jsx)(bt,{className:gt,ref:Qe,...je,children:a})});var Wt=require("react");var Ut=require("react/jsx-runtime"),fr=T(),w=(0,Wt.forwardRef)(function({className:t,asChild:o,onPress:r,onClick:n=r,backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:m,bordered:f,borderedTop:x,borderedBottom:C,borderedStart:A,borderedEnd:R,borderedHorizontal:D,borderedVertical:E,borderRadius:M,borderTopStartRadius:H,borderTopEndRadius:L,borderBottomStartRadius:N,borderBottomEndRadius:z,borderColor:_,borderColorOnActive:O,borderColorOnFocus:B,borderColorOnChecked:F,borderColorOnHover:V,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:X,borderWidth:$,borderVerticalWidth:q,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:j,borderTopWidth:K,borderBottomWidth:J,alignContent:Q,alignItems:ee,alignSelf:te,flex:oe,flexDirection:re,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:ge,spacing:fe,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:he,spacingEnd:xe,spacingStart:ve,spacingTop:we,offset:Pe,offsetVertical:Ce,offsetHorizontal:Se,offsetBottom:ke,offsetEnd:Te,offsetStart:Ie,offsetTop:Ae,columnGap:Re,rowGap:De,height:Ee,minHeight:Me,maxHeight:He,width:Le,minWidth:Ne,maxWidth:ze,...Fe},Ue){let je=l({backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:m,bordered:f,borderedTop:x,borderedBottom:C,borderedStart:A,borderedEnd:R,borderedHorizontal:D,borderedVertical:E,borderRadius:M,borderTopStartRadius:H,borderTopEndRadius:L,borderBottomStartRadius:N,borderBottomEndRadius:z,borderColor:_,borderColorOnActive:O,borderColorOnFocus:B,borderColorOnChecked:F,borderColorOnHover:V,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:X,borderWidth:$,borderVerticalWidth:q,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:j,borderTopWidth:K,borderBottomWidth:J,alignContent:Q,alignItems:ee,alignSelf:te,flex:oe,flexDirection:re,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:ge,spacing:fe,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:he,spacingEnd:xe,spacingStart:ve,spacingTop:we,offset:Pe,offsetVertical:Ce,offsetHorizontal:Se,offsetBottom:ke,offsetEnd:Te,offsetStart:Ie,offsetTop:Ae,columnGap:Re,rowGap:De,height:Ee,minHeight:Me,maxHeight:He,width:Le,minWidth:Ne,maxWidth:ze,className:t});return(0,Ut.jsx)(o?fr:"button",{className:je,ref:Ue,onClick:n,...Fe})});var Gt=require("react");var Xt=require("react/jsx-runtime"),ur=T(),yr={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},g=(0,Gt.forwardRef)(function({className:t,asChild:o,color:r="primary",colorChecked:n,variant:a="body1",as:p=yr[a],fontSize:s=a,fontFamily:i=a,fontWeight:c=a,lineHeight:m=a,textTransform:f=a,textAlign:x,backgroundColor:C,backgroundColorOnActive:A,backgroundColorOnHover:R,backgroundColorOnChecked:D,opacity:E,bordered:M,borderedTop:H,borderedBottom:L,borderedStart:N,borderedEnd:z,borderedHorizontal:_,borderedVertical:O,borderRadius:B,borderTopStartRadius:F,borderTopEndRadius:V,borderBottomStartRadius:W,borderBottomEndRadius:U,borderColor:G,borderColorOnActive:X,borderColorOnFocus:$,borderColorOnChecked:q,borderColorOnHover:Y,borderStartColor:Z,borderEndColor:j,borderTopColor:K,borderBottomColor:J,borderWidth:Q,borderVerticalWidth:ee,borderHorizontalWidth:te,borderStartWidth:oe,borderEndWidth:re,borderTopWidth:ae,borderBottomWidth:ne,alignContent:se,alignItems:ie,alignSelf:le,flex:pe,flexDirection:ce,flexGrow:de,flexShrink:me,flexWrap:be,justifyContent:ge,flexBasis:fe,display:ue,zIndex:ye,overflow:he,overflowX:xe,overflowY:ve,position:we,spacing:Pe,spacingHorizontal:Ce,spacingVertical:Se,spacingBottom:ke,spacingEnd:Te,spacingStart:Ie,spacingTop:Ae,offset:Re,offsetVertical:De,offsetHorizontal:Ee,offsetBottom:Me,offsetEnd:He,offsetStart:Le,offsetTop:Ne,columnGap:ze,rowGap:Fe,height:Ue,minHeight:je,maxHeight:Qe,width:bt,minWidth:gt,maxWidth:er,...tr},or){let rr=l({className:t,color:r,colorChecked:n,fontFamily:i,fontSize:s,fontWeight:c,lineHeight:m,textTransform:f,textAlign:x,backgroundColor:C,backgroundColorOnActive:A,backgroundColorOnHover:R,backgroundColorOnChecked:D,opacity:E,bordered:M,borderedTop:H,borderedBottom:L,borderedStart:N,borderedEnd:z,borderedHorizontal:_,borderedVertical:O,borderRadius:B,borderTopStartRadius:F,borderTopEndRadius:V,borderBottomStartRadius:W,borderBottomEndRadius:U,borderColor:G,borderColorOnActive:X,borderColorOnFocus:$,borderColorOnChecked:q,borderColorOnHover:Y,borderStartColor:Z,borderEndColor:j,borderTopColor:K,borderBottomColor:J,borderWidth:Q,borderVerticalWidth:ee,borderHorizontalWidth:te,borderStartWidth:oe,borderEndWidth:re,borderTopWidth:ae,borderBottomWidth:ne,alignContent:se,alignItems:ie,alignSelf:le,flex:pe,flexDirection:ce,flexGrow:de,flexShrink:me,flexWrap:be,justifyContent:ge,flexBasis:fe,display:ue,zIndex:ye,overflow:he,overflowX:xe,overflowY:ve,position:we,spacing:Pe,spacingHorizontal:Ce,spacingVertical:Se,spacingBottom:ke,spacingEnd:Te,spacingStart:Ie,spacingTop:Ae,offset:Re,offsetVertical:De,offsetHorizontal:Ee,offsetBottom:Me,offsetEnd:He,offsetStart:Le,offsetTop:Ne,columnGap:ze,rowGap:Fe,height:Ue,minHeight:je,maxHeight:Qe,width:bt,minWidth:gt,maxWidth:er});return(0,Xt.jsx)(o?ur:p,{className:rr,ref:or,...tr})});var Yt=require("react");var $t=require("react");var qt=require("react/jsx-runtime"),hr=T(),Ge=(0,$t.forwardRef)(function({asChild:t,className:o,elevation:r,backgroundColor:n=r?`elevation-${r}`:void 0,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:m,borderedBottom:f,borderedStart:x,borderedEnd:C,borderedHorizontal:A,borderedVertical:R,borderRadius:D,borderTopStartRadius:E,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:L,borderColor:N,borderColorOnActive:z,borderColorOnFocus:_,borderColorOnChecked:O,borderColorOnHover:B,borderStartColor:F,borderEndColor:V,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:X,borderHorizontalWidth:$,borderStartWidth:q,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:j,alignContent:K,alignItems:J,alignSelf:Q,flex:ee,flexDirection:te,flexGrow:oe,flexShrink:re,flexWrap:ae,justifyContent:ne,flexBasis:se,display:ie="flex",zIndex:le,overflow:pe,overflowX:ce,overflowY:de,position:me,spacing:be,spacingHorizontal:ge,spacingVertical:fe,spacingBottom:ue,spacingEnd:ye,spacingStart:he,spacingTop:xe,offset:ve,offsetVertical:we,offsetHorizontal:Pe,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Te,columnGap:Ie,rowGap:Ae,height:Re,minHeight:De,maxHeight:Ee,width:Me,minWidth:He,maxWidth:Le,...Ne},ze){let Fe=l({elevation:r,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:m,borderedBottom:f,borderedStart:x,borderedEnd:C,borderedHorizontal:A,borderedVertical:R,borderRadius:D,borderTopStartRadius:E,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:L,borderColor:N,borderColorOnActive:z,borderColorOnFocus:_,borderColorOnChecked:O,borderColorOnHover:B,borderStartColor:F,borderEndColor:V,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:X,borderHorizontalWidth:$,borderStartWidth:q,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:j,alignContent:K,alignItems:J,alignSelf:Q,flex:ee,flexDirection:te,flexGrow:oe,flexShrink:re,flexWrap:ae,justifyContent:ne,flexBasis:se,display:ie,zIndex:le,overflow:pe,overflowX:ce,overflowY:de,position:me,spacing:be,spacingHorizontal:ge,spacingVertical:fe,spacingBottom:ue,spacingEnd:ye,spacingStart:he,spacingTop:xe,offset:ve,offsetVertical:we,offsetHorizontal:Pe,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Te,columnGap:Ie,rowGap:Ae,height:Re,minHeight:De,maxHeight:Ee,width:Me,minWidth:He,maxWidth:Le,className:o});return(0,qt.jsx)(t?hr:"div",{className:Fe,ref:ze,...Ne})});var Zt=require("react/jsx-runtime"),S=(0,Yt.forwardRef)(function({gap:t,...o},r){return(0,Zt.jsx)(Ge,{ref:r,flexDirection:"column",columnGap:t,rowGap:t,...o})});var _e=require("react/jsx-runtime");function jt({label:e,children:t,onClick:o,open:r}){return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsxs)(w,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:o,children:[(0,_e.jsx)(g,{variant:"title4",children:e}),(0,_e.jsx)(y,{name:r?"chevronDown":"chevronUp",size:"s"})]}),(0,_e.jsx)(S,{spacingHorizontal:"8",children:r&&t})]})}var Kt={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},ht={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",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 Xe({variant:e="accent",size:t="s"}){let{color:o,...r}=ht.variant[e],{variant:n,...a}=ht.size[t];return{pressable:{...ht.base,...r,...a},text:{color:o,variant:n,textAlign:"center"},icon:{color:o,size:"s"}}}var Qt=require("react/jsx-runtime");function Jt({size:e,shape:t,src:o,alt:r,...n}){let a=l({...Kt,avatarSize:e,borderRadius:t});return(0,Qt.jsx)("img",{src:o,alt:r,className:a,...n})}var eo=require("react");var $e=require("react/jsx-runtime"),tt=(0,eo.forwardRef)(function({variant:t="accent",size:o,startIcon:r,endIcon:n,children:a,...p},s){let i=Xe({variant:t,size:o}),c=r?(0,$e.jsx)(y,{name:r,...i.icon}):null,m=n?(0,$e.jsx)(y,{name:n,...i.icon}):null;return(0,$e.jsxs)(w,{...i.pressable,ref:s,...p,children:[c,(0,$e.jsx)(g,{...i.text,children:a}),m]})});var qe=require("react/jsx-runtime"),to={accent:"on-color",secondary:"primary"},xr={accent:"on-color",secondary:"tertiary"};function oo({children:e,variant:t,startIcon:o,startContent:r=o?(0,qe.jsx)(y,{name:o,size:"s",color:to[t]}):null,endIcon:n,endContent:a=n?(0,qe.jsx)(y,{name:n,size:"s",color:to[t]}):null}){return(0,qe.jsxs)(w,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:t,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,(0,qe.jsx)(g,{variant:"label2",color:xr[t],children:e}),a]})}var Je=require("react");var b=require("@ariakit/react");var ro=require("react");var ao=require("react/jsx-runtime"),Ye=(0,ro.forwardRef)(function({gap:t,...o},r){return(0,ao.jsx)(Ge,{ref:r,flexDirection:"row",rowGap:t,columnGap:t,...o})});var Ke=require("react/jsx-runtime");function no({children:e,leading:t,trailing:o}){return(0,Ke.jsxs)(Ye,{children:[t,(0,Ke.jsx)(g,{variant:"headline1",asChild:!0,children:(0,Ke.jsx)(b.PopoverHeading,{children:e})}),o]})}var ot=b.Popover,rt=b.PopoverArrow,so=b.PopoverAnchor,io=b.PopoverDescription,lo=b.PopoverDismiss,at=b.PopoverProvider,nt=b.PopoverDisclosure,po=b.PopoverDisclosureArrow;var P=require("react/jsx-runtime"),co=(0,Je.forwardRef)(function({children:t,className:o,overflow:r="scroll",...n},a){return(0,P.jsx)(S,{borderRadius:"l",elevation:"3",className:h("min-w-[220px] max-h-[312px]",o),overflow:r,spacingVertical:"4",asChild:!0,children:(0,P.jsxs)(ot,{preventBodyScroll:!0,...n,ref:a,children:[(0,P.jsx)(rt,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),t]})})}),xt=(0,Je.forwardRef)(function({children:t,onClick:o,...r},n){let a=(0,b.usePopoverStore)(),p=(0,Je.useCallback)(s=>{s.preventDefault(),o?.(()=>a.setOpen(!1))},[o,a]);return(0,P.jsx)(w,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?p:void 0,ref:n,...r,children:t})});function mo({title:e,description:t,_title:o,_description:r,startIcon:n,endIcon:a,...p}){return(0,P.jsxs)(xt,{...p,children:[n&&(0,P.jsx)(y,{name:n,size:"s"}),(0,P.jsxs)(S,{gap:"3",alignItems:"flex-start",children:[e&&(0,P.jsx)(g,{variant:"headline1",...o,children:e}),t&&(0,P.jsx)(g,{variant:"label2",color:"muted",...r,children:t})]}),a&&(0,P.jsx)(y,{name:a,size:"s"})]})}function bo({children:e,variant:t,size:o,...r}){let n=Xe({variant:t,size:o}),a=t?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return(0,P.jsx)(w,{...a,...r,asChild:!0,children:(0,P.jsx)(nt,{children:e})})}var go=at;var fo=require("react");var vt=require("react/jsx-runtime"),vr={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},st=(0,fo.forwardRef)(function({variant:t="accent",size:o="s",name:r,className:n,color:a,...p},s){let i=Xe({variant:t,size:o});return(0,vt.jsx)(w,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:h("leading-[0px]",vr[o],n),...p,children:(0,vt.jsx)(y,{name:r,...i.icon,color:a})})});var yo=require("react/jsx-runtime");function uo({width:e,height:t,src:o,alt:r,contentFit:n="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:m,bordered:f,borderedTop:x,borderedBottom:C,borderedStart:A,borderedEnd:R,borderedHorizontal:D,borderedVertical:E,borderRadius:M,borderTopStartRadius:H,borderTopEndRadius:L,borderBottomStartRadius:N,borderBottomEndRadius:z,borderColor:_,borderColorOnActive:O,borderColorOnFocus:B,borderColorOnChecked:F,borderColorOnHover:V,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:X,borderWidth:$,borderVerticalWidth:q,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:j,borderTopWidth:K,borderBottomWidth:J,alignContent:Q,alignItems:ee,alignSelf:te,flex:oe,flexDirection:re,flexGrow:ae,flexShrink:ne="0",flexWrap:se,justifyContent:ie,flexBasis:le,display:pe="flex",zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:ge,spacing:fe,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:he,spacingEnd:xe,spacingStart:ve,spacingTop:we,offset:Pe,offsetVertical:Ce,offsetHorizontal:Se,offsetBottom:ke,offsetEnd:Te,offsetStart:Ie,offsetTop:Ae,columnGap:Re,rowGap:De,minHeight:Ee,maxHeight:Me,minWidth:He,maxWidth:Le,...Ne}){let ze=l({contentFit:n,elevation:a,backgroundColor:p,backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:m,bordered:f,borderedTop:x,borderedBottom:C,borderedStart:A,borderedEnd:R,borderedHorizontal:D,borderedVertical:E,borderRadius:M,borderTopStartRadius:H,borderTopEndRadius:L,borderBottomStartRadius:N,borderBottomEndRadius:z,borderColor:_,borderColorOnActive:O,borderColorOnFocus:B,borderColorOnChecked:F,borderColorOnHover:V,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:X,borderWidth:$,borderVerticalWidth:q,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:j,borderTopWidth:K,borderBottomWidth:J,alignContent:Q,alignItems:ee,alignSelf:te,flex:oe,flexDirection:re,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:ge,spacing:fe,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:he,spacingEnd:xe,spacingStart:ve,spacingTop:we,offset:Pe,offsetVertical:Ce,offsetHorizontal:Se,offsetBottom:ke,offsetEnd:Te,offsetStart:Ie,offsetTop:Ae,columnGap:Re,rowGap:De,minHeight:Ee,maxHeight:Me,minWidth:He,maxWidth:Le});return(0,yo.jsx)("img",{src:o,alt:r,className:ze,style:{objectPosition:"left",width:e,height:t},...Ne})}var Ze=require("@ariakit/react");var Oe=require("react/jsx-runtime");function ho(e){return(0,Ze.useDialogStore)({animated:!0,...e})}function xo({children:e,handleClose:t}){return(0,Oe.jsxs)(Ye,{alignItems:"center",justifyContent:"space-between",children:[(0,Oe.jsx)(g,{variant:"headline1",children:e}),(0,Oe.jsx)(tt,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:t,children:"close"})]})}function vo({className:e,...t}){return(0,Oe.jsx)(S,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:h("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",e),spacing:"8",asChild:!0,children:(0,Oe.jsx)(Ze.Dialog,{backdrop:(0,Oe.jsx)("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...t})})}var wo=Ze.DialogDismiss;var Ve=require("react/jsx-runtime");function Po({className:e,...t}){return(0,Ve.jsxs)("div",{role:"status",className:`self-center ${e}`,...t,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[(0,Ve.jsxs)("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ve.jsx)("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"}),(0,Ve.jsx)("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"})]}),(0,Ve.jsx)("span",{className:"sr-only",children:"Loading..."})]})}var k=require("@ariakit/react"),wt=require("react");var I=require("react/jsx-runtime"),wr=T();function Co(e){return(0,I.jsx)(k.TabProvider,{...e})}var So=(0,wt.forwardRef)(function({className:t,...o},r){let n=l({display:"flex",flexDirection:"row",columnGap:"7",className:t});return(0,I.jsx)(k.TabList,{ref:r,...o,className:n})}),ko=function({asChild:t,label:o,value:r,startIcon:n}){let a=t?wr:"a",p=l({}),s=(0,k.useTabContext)();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===r,c=i?"accent":"primary";return(0,I.jsx)(k.Tab,{id:r,className:p,render:(0,I.jsx)(a,{children:(0,I.jsxs)(w,{borderColor:i?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[n?(0,I.jsx)(y,{name:n,color:c,size:"m"}):null,(0,I.jsx)(g,{color:c,variant:"headline1",children:o})]})})})},To=(0,wt.forwardRef)(function(t,o){let r=(0,k.useTabContext)();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let n=r.useState("selectedId");return(0,I.jsx)(k.TabPanel,{ref:o,tabId:n,...t})});var Be=require("react/jsx-runtime");function Pt({children:e,required:t}){return(0,Be.jsxs)(g,{variant:"caption2",children:[e,t&&(0,Be.jsx)(g,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}function Ct({className:e,disabled:t,...o}){return(0,Be.jsx)("input",{type:"text","data-1p-ignore":!0,className:h(l({backgroundColor:t?"secondary":"primary",borderColor:"tertiary",bordered:!0,borderRadius:"m",spacingVertical:"5",spacingHorizontal:"6",className:"placeholder:text-tertiary font-sans",width:"full",fontSize:"body1",fontWeight:"body1",lineHeight:"body1",color:"primary"}),e),disabled:t,...o})}function Io({label:e,required:t,...o}){return(0,Be.jsxs)(S,{gap:"4",width:"full",children:[(0,Be.jsx)(Pt,{required:t,children:e}),(0,Be.jsx)(Ct,{required:t,...o})]})}var We=require("react-toastify");var St=require("react/jsx-runtime"),Pr=l({elevation:"3",borderRadius:"m",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),Cr=l({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Sr=l({backgroundColor:"positive"}),kr=l({backgroundColor:"alert"}),Tr=l({backgroundColor:"accent"}),Ir=l({backgroundColor:"warning"}),Ar=l({backgroundColor:"elevation-3-inverse"}),Rr=l({backgroundColor:"elevation-3-inverse"}),Dr=l({backgroundColor:"positive-wash",color:"positive"}),Er=l({backgroundColor:"alert-wash",color:"alert"}),Mr=l({backgroundColor:"accent-wash",color:"accent"}),Hr=l({backgroundColor:"warning-wash",color:"warning"}),Lr=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),Nr=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),zr=e=>{let{type:t="default"}=e??{},o={success:Dr,error:Er,info:Mr,warning:Hr,default:Lr,dark:Nr}[t];return h(Pr,o)};function _r(e){let{type:t="default",defaultClassName:o=""}=e??{},r={success:Sr,error:kr,info:Tr,warning:Ir,default:Ar,dark:Rr}[t],n=o.replace(/Toastify__progress-bar-theme--light/,"");return h(n,r)}function Or({closeToast:e,type:t}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[t];return(0,St.jsx)(st,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:e})}function Ao(e){return(0,St.jsx)(We.ToastContainer,{toastClassName:zr,bodyClassName:Cr,progressClassName:_r,transition:We.Slide,closeButton:Or,...e})}var Ro={0:0,1:1,2:2,4:4,8:8};var Do={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 Eo={auto:"auto",square:"1 / 1",video:"16 / 9"},Mo={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var Ho={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"}}},Lo={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"}}},No={white:"#ffffff",black:"#000000",transparent:"transparent"};var zo={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},_o={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var kt={s:16,m:24,l:32},Oo=kt,Tt={s:16,m:24,l:32},Bo=Tt;var Fo={0: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},Vo={0: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:{15:"16 0 38",14:"29 0 71",13:"43 0 103",12:"57 0 125",11:"80 21 176",10:"96 1 210",9:"126 31 255",8:"129 56 255",7:"124 73 252",6:"122 93 252",5:"149 126 252",4:"176 159 252",3:"202 194 255",2:"225 217 255",1:"235 229 255",0:"248 244 255"},pink:{15:"38 0 16",14:"76 0 33",13:"116 0 52",12:"156 0 72",11:"195 0 94",10:"227 0 113",9:"255 0 128",8:"255 54 161",7:"255 79 176",6:"255 121 200",5:"255 155 219",4:"255 183 233",3:"255 204 242",2:"255 220 248",1:"255 235 249",0:"255 247 252"},red:{15:"38 3 0",14:"68 4 0",13:"98 3 0",12:"127 0 0",11:"157 0 4",10:"187 0 10",9:"211 13 46",8:"245 44 57",7:"255 77 82",6:"253 106 116",5:"255 152 159",4:"255 187 192",3:"255 214 218",2:"255 231 232",1:"255 240 241",0:"255 250 250"},yellow:{15:"38 30 0",14:"49 38 0",13:"64 50 0",12:"83 65 0",11:"108 85 0",10:"138 109 4",9:"160 127 8",8:"181 144 12",7:"229 185 23",6:"255 211 51",5:"255 224 46",4:"255 233 87",3:"255 242 125",2:"255 246 161",1:"255 250 209",0:"255 253 238"},green:{15:"3 33 21",14:"4 43 27",13:"4 51 31",12:"4 59 35",11:"4 77 44",10:"4 94 52",9:"0 108 59",8:"10 122 68",7:"0 135 81",6:"48 161 89",5:"86 196 112",4:"126 228 135",3:"162 242 162",2:"202 250 197",1:"225 253 220",0:"246 255 244"},teal:{15:"0 38 38",14:"0 44 44",13:"0 54 53",12:"0 69 67",11:"0 89 86",10:"0 110 107",9:"0 122 122",8:"0 160 160",7:"0 189 184",6:"17 211 205",5:"78 232 220",4:"133 247 233",3:"177 255 243",2:"207 255 248",1:"224 255 248",0:"242 255 251"},gray:{15:"0 0 0",14:"16 21 24",13:"29 34 40",12:"35 42 49",11:"44 54 63",10:"70 78 86",9:"91 99 106",8:"110 119 128",7:"130 138 147",6:"151 158 168",5:"176 185 193",4:"199 205 210",3:"224 228 233",2:"240 243 245",1:"245 248 250",0:"255 255 255"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"240 114 5",8:"217 94 18",9:"191 73 0",10:"166 64 0",11:"145 56 0",3:"249 208 167",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:"128 128 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:"77 137 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:"93 94 255",7:"64 64 227",8:"47 41 204",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"}},Uo={blue:{15:"240 247 252",14:"213 237 252",13:"182 224 252",12:"150 210 250",11:"125 203 255",10:"99 192 255",9:"18 169 255",8:"17 148 236",7:"0 116 210",6:"0 87 183",5:"0 63 156",4:"0 44 129",3:"0 29 102",2:"0 19 75",1:"0 14 57",0:"0 10 38"},purple:{15:"248 244 255",14:"235 232 254",13:"225 219 252",12:"209 201 251",11:"187 174 249",10:"165 149 248",9:"144 124 255",8:"119 89 255",7:"108 36 242",6:"96 1 210",5:"80 21 176",4:"57 0 125",3:"51 0 102",2:"42 0 75",1:"34 0 57",0:"25 0 38"},pink:{15:"255 229 247",14:"255 212 240",13:"255 186 228",12:"255 150 211",11:"255 101 186",10:"255 54 161",9:"255 0 128",8:"233 0 107",7:"194 0 81",6:"157 0 67",5:"123 0 54",4:"96 0 43",3:"75 0 34",2:"58 0 27",1:"48 0 23",0:"38 0 19"},red:{15:"255 240 241",14:"254 210 214",13:"255 183 188",12:"255 155 161",11:"255 135 141",10:"255 105 109",9:"255 77 82",8:"232 58 62",7:"210 46 47",6:"183 28 27",5:"156 15 12",4:"129 5 0",3:"102 1 0",2:"75 3 0",1:"57 3 0",0:"38 3 0"},yellow:{15:"255 253 238",14:"255 251 197",13:"255 249 163",12:"255 243 138",11:"255 232 102",10:"255 220 79",9:"255 204 0",8:"233 171 0",7:"194 136 0",6:"157 112 0",5:"123 91 0",4:"96 73 0",3:"75 60 0",2:"58 49 0",1:"48 42 0",0:"38 35 0"},green:{15:"247 255 245",14:"213 255 208",13:"169 251 169",12:"128 242 143",11:"91 235 126",10:"55 219 115",9:"26 197 103",8:"29 181 97",7:"23 149 83",6:"18 118 68",5:"14 91 55",4:"11 70 44",3:"8 55 36",2:"8 48 32",1:"7 43 29",0:"7 33 23"},teal:{15:"242 255 254",14:"216 255 252",13:"185 255 251",12:"145 249 243",11:"99 237 231",10:"52 227 222",9:"17 211 205",8:"15 194 190",7:"1 160 159",6:"0 126 127",5:"0 97 99",4:"0 73 76",3:"0 56 60",2:"0 45 49",1:"0 40 43",0:"0 35 38"},gray:{15:"255 255 255",14:"245 248 250",13:"240 243 245",12:"224 228 233",11:"199 205 210",10:"176 185 193",9:"151 158 168",8:"130 138 147",7:"110 119 128",6:"91 99 106",5:"70 78 86",4:"44 54 63",3:"35 42 49",2:"29 34 40",1:"16 21 24",0:"0 0 0"},carbon:{15:"255 255 255",14:"252 251 251",13:"245 245 245",12:"227 227 227",11:"205 205 205",10:"176 176 176",9:"142 142 142",8:"117 117 117",7:"90 90 90",6:"68 68 68",5:"50 50 50",4:"41 41 41",3:"31 31 31",2:"20 20 20",1:"10 10 10",0:"0 0 0"},orange:{15:"255 246 240",14:"255 224 204",13:"255 192 153",12:"255 161 102",0:"38 15 0",1:"46 17 0",2:"54 19 0",4:"86 28 0",3:"67 23 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"},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 it=["Helvetica Neue","Helvetica","Arial","sans-serif"],Go=["Georgia","Times","Times New Roman","serif"],pt={icons:{fallbacks:it},sans:{fallbacks:it},"sans-beta":{fallbacks:it},"sans-condensed":{fallbacks:it},"serif-text":{fallbacks:Go},"serif-display":{fallbacks:Go}},It={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},Xo={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},At={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},Rt={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},Dt={fontSize:{display1:46,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,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},Et={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Dt.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},lt={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Et.lineHeight,title2:36,title3:32}},Mt={fontSize:{...lt.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...lt.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Ht={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...Mt.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Lt={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Ht.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},$o={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...Lt.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Nt={fontFamily:It,fontWeight:At,textTransform:Rt,avatarSizes:kt,iconSizes:Tt,shapes:zo,spacing:Fo},ct={fontFamily:It,fontWeight:At,textTransform:Rt,avatarSizes:Oo,iconSizes:Bo,shapes:_o,spacing:Vo},Br={colorMode:{light:{palette:Ho,spectrum:Wo},dark:{palette:Lo,spectrum:Uo}},scaleMode:{xSmall:{...Nt,...Dt},small:{...Nt,...Et},medium:{...Nt,...lt},large:{...ct,...Mt},xLarge:{...ct,...Ht},xxLarge:{...ct,...Lt},xxxLarge:{...ct,...$o}},aspectRatio:Eo,borderWidth:Ro,elevation:Do,fontFamily:pt,zIndex:Mo};var d="uds",Fr=`${d}-spectrum-color`,Vr=`${d}-font`,Wr=`${d}-icon-size`,Ur=`${d}-avatar-size`,Gr=`${d}-shape`,Xr=`${d}-spacing`,$r=`${d}-font-size`,qr=`${d}-line-height`,Yr=`${d}-font-weight`,Zr=`${d}-text-transform`,qo=`${d}-color-mode-dark`,dt=`${d}-color-mode-light`,Yo=`${d}-scale-mode-xsmall`,Zo=`${d}-scale-mode-small`,jo=`${d}-scale-mode-medium`,mt=`${d}-scale-mode-large`,Ko=`${d}-scale-mode-xlarge`,Jo=`${d}-scale-mode-xxlarge`,Qo=`${d}-scale-mode-xxxlarge`,jr=dt,Kr=mt;function Jr(e){switch(e){case"light":return dt;case"dark":return qo;default:}}function Qr(e){switch(e){case"xSmall":return Yo;case"small":return Zo;case"medium":return jo;case"large":return mt;case"xLarge":return Ko;case"xxLarge":return Jo;case"xxxLarge":return Qo;default:}}var ea=`--${d}-font-icons`,ta=`--${d}-font-sans`,oa=`--${d}-font-sans-beta`,ra=`--${d}-font-sans-condensed`,aa=`--${d}-font-serif-display`,na=`--${d}-font-serif-text`;var sa="system",ia="system",la="light",pa="large",ca=!1,da="\u{1F1FA}\u{1F1F8} US";function ma(e){return Object.entries(e)}0&&(module.exports={AVATAR_SIZE_PREFIX,Accordion,Avatar,Box,Button,Chip,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_CLASSNAME,DEFAULT_SCALE_MODE_FOR_APP,Dropdown,DropdownItem,DropdownItemPressable,DropdownItems,DropdownTrigger,FONT_FAMILY_PREFIX,FONT_ICONS_CSS_VAR,FONT_SANS_BETA_CSS_VAR,FONT_SANS_CONDENSED_CSS_VAR,FONT_SANS_CSS_VAR,FONT_SERIF_DISPLAY_CSS_VAR,FONT_SERIF_TEXT_CSS_VAR,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,HStack,ICON_SIZE_PREFIX,Icon,IconButton,Image,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,Modal,ModalDismiss,ModalHeader,Popover,PopoverAnchor,PopoverArrow,PopoverDescription,PopoverDisclosure,PopoverDisclosureArrow,PopoverDismiss,PopoverHeading,PopoverProvider,Pressable,SHAPE_PREFIX,SMALL_SCALE_MODE_CLASSNAME,SPACING_PREFIX,SPECTRUM_COLOR_PREFIX,Spinner,TEXT_TRANSFORM_PREFIX,Tab,TabList,TabPanel,Tabs,Text,TextInput,TextInputGroup,TextInputLabel,ToastContainer,UDS_PREFIX,VStack,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME,alwaysPalette,cva,cx,defaultTokensConfig,entries,fontFamilyGlobal,fontWeightMap,getColorModeClassName,getScaleModeClassName,getStyles,toast,useModalStore,usePopoverStore});
|
package/dist/index.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { UniversalAvatarProps, UniversalBoxProps, UniversalPressableProps, UniversalButtonProps, IconName, Overflow, UniversalTextProps, ButtonVariant, ButtonSize, UniversalStackProps, UniversalIconProps, UniversalIconButtonProps, ForegroundColor, UniversalImageProps, UniversalTextInputProps } from '
|
3
|
-
export
|
2
|
+
import { j as UniversalAvatarProps, k as UniversalBoxProps, l as UniversalPressableProps, m as UniversalButtonProps, I as IconName, O as Overflow, n as UniversalTextProps, o as ButtonVariant, p as ButtonSize, q as UniversalStackProps, r as UniversalIconProps, s as UniversalIconButtonProps, t as ForegroundColor, u as UniversalImageProps, v as UniversalTextInputProps } from './types-VgTlNoi_.cjs';
|
3
|
+
export { A as AlwaysPalette, x as AlwaysPaletteAlias, y as Animation, z as AriaAttribute, D as AspectRatioAlias, G as AspectRatioConfig, J as AvatarSizeAlias, K as AvatarSizeConfig, M as BackgroundColor, d as BackgroundPalette, N as BackgroundPaletteAlias, Q as BackgroundStyleProps, e as BackgroundWashPalette, R as BackgroundWashPaletteAlias, T as BorderStyleProps, V as BorderWidthAlias, B as BorderWidthConfig, W as BoxShadowConfig, C as ColorMode, X as ColorModeForApp, a as ColorsConfig, c as CorePalette, Y as CorePaletteAlias, Z as DataAttribute, h as ElevationAlias, E as ElevationConfig, _ as ElevationPaletteAlias, $ as FlexStyleProps, a0 as FontFamilyConfig, a1 as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, a2 as FontSizeConfig, f as FontWeightConfig, a3 as FontWeightDescriptiveAlias, g as FontWeightNumericAlias, F as ForegroundPalette, a4 as ForegroundPaletteAlias, a5 as HighContrastMode, H as Hue, b as HueStep, a6 as IconSizeAlias, a7 as IconSizeConfig, a8 as LayoutStyleProps, a9 as LetterSpacingAlias, aa as LineClampAlias, ab as LineColor, ac as LineHeightConfig, L as LinePalette, ad as LinePaletteAlias, ae as Modes, af as OpacityAlias, ag as OpacityStyleProps, ah as Palette, ai as PaletteConfig, aj as PaletteType, P as PaletteValue, ak as PlatformMode, al as RegionMode, am as ScaleConfig, S as ScaleMode, an as ScaleModeConfig, ao as ScaleModeForApp, ap as ShapeAlias, aq as ShapeConfig, ar as SizingStyleProps, as as SpacingAlias, at as SpacingConfig, au as SpacingStyleProps, av as SpectrumColor, aw as SpectrumConfig, ax as StateStyleProps, ay as StyleProps, az as TextConfig, aA as TextStyleProps, aB as TextTransformAlias, aC as TextTransformConfig, aD as TextVariant, aE as TransitionDelay, aF as TransitionDuration, aG as TransitionTiming, U as UniversalTokensConfig, aH as ZIndexAlias, aI as ZIndexConfig, w as alwaysPalette } from './types-VgTlNoi_.cjs';
|
4
4
|
import * as react from 'react';
|
5
5
|
import react__default, { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
@@ -8,6 +8,8 @@ import { PopoverProps, PopoverProviderProps, DialogProps, useDialogStore, Dialog
|
|
8
8
|
export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
|
9
9
|
import { ToastContainerProps } from 'react-toastify';
|
10
10
|
export { toast } from 'react-toastify';
|
11
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-VVqy3X9H.cjs';
|
12
|
+
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.cjs';
|
11
13
|
|
12
14
|
interface AccordionProps extends React.PropsWithChildren {
|
13
15
|
label: string;
|
@@ -530,50 +532,50 @@ interface CX<T> {
|
|
530
532
|
declare const cx: CX<string>;
|
531
533
|
declare const cva: CVA<string>;
|
532
534
|
declare const getStyles: (props?: ({
|
533
|
-
color?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
534
|
-
colorChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
535
|
-
fontFamily?: "
|
535
|
+
color?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
536
|
+
colorChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
537
|
+
fontFamily?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "icons" | "sans" | "sans-beta" | "sans-condensed" | "serif-text" | "serif-display" | "display2" | undefined;
|
536
538
|
fontSize?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
537
|
-
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
539
|
+
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | "display2" | undefined;
|
538
540
|
lineHeight?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
539
|
-
textAlign?: "
|
540
|
-
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
541
|
-
spacing?: "
|
542
|
-
spacingHorizontal?: "
|
543
|
-
spacingVertical?: "
|
544
|
-
spacingBottom?: "
|
545
|
-
spacingEnd?: "
|
546
|
-
spacingStart?: "
|
547
|
-
spacingTop?: "
|
548
|
-
offset?: "
|
549
|
-
offsetVertical?: "
|
550
|
-
offsetHorizontal?: "
|
551
|
-
offsetBottom?: "
|
552
|
-
offsetEnd?: "
|
553
|
-
offsetStart?: "
|
554
|
-
offsetTop?: "
|
555
|
-
columnGap?: "
|
556
|
-
rowGap?: "
|
557
|
-
backgroundColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
558
|
-
backgroundColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
559
|
-
backgroundColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
560
|
-
backgroundColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
541
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
542
|
+
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | "display2" | undefined;
|
543
|
+
spacing?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
544
|
+
spacingHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
545
|
+
spacingVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
546
|
+
spacingBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
547
|
+
spacingEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
548
|
+
spacingStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
549
|
+
spacingTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
550
|
+
offset?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
551
|
+
offsetVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
552
|
+
offsetHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
553
|
+
offsetBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
554
|
+
offsetEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
555
|
+
offsetStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
556
|
+
offsetTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
557
|
+
columnGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
558
|
+
rowGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
559
|
+
backgroundColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
560
|
+
backgroundColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
561
|
+
backgroundColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
562
|
+
backgroundColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
561
563
|
elevation?: "1" | "2" | "3" | undefined;
|
562
|
-
opacity?: "0" | "5" | "10" | "
|
563
|
-
borderColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
564
|
-
borderColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
565
|
-
borderColorOnFocus?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
566
|
-
borderColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
567
|
-
borderColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
568
|
-
borderStartColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
569
|
-
borderEndColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
570
|
-
borderBottomColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
571
|
-
borderTopColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
572
|
-
borderRadius?: "
|
573
|
-
borderTopStartRadius?: "
|
574
|
-
borderTopEndRadius?: "
|
575
|
-
borderBottomStartRadius?: "
|
576
|
-
borderBottomEndRadius?: "
|
564
|
+
opacity?: "0" | "5" | "10" | "100" | "20" | "30" | "40" | "50" | "25" | "60" | "70" | "75" | "80" | "90" | "95" | undefined;
|
565
|
+
borderColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
566
|
+
borderColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
567
|
+
borderColorOnFocus?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
568
|
+
borderColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
569
|
+
borderColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
570
|
+
borderStartColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
571
|
+
borderEndColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
572
|
+
borderBottomColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
573
|
+
borderTopColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
574
|
+
borderRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
575
|
+
borderTopStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
576
|
+
borderTopEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
|
+
borderBottomStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
578
|
+
borderBottomEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
579
|
bordered?: boolean | undefined;
|
578
580
|
borderWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
579
581
|
borderVerticalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
@@ -588,35 +590,35 @@ declare const getStyles: (props?: ({
|
|
588
590
|
borderedHorizontal?: boolean | undefined;
|
589
591
|
borderedEnd?: boolean | undefined;
|
590
592
|
borderedStart?: boolean | undefined;
|
591
|
-
height?: "auto" | "
|
593
|
+
height?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
592
594
|
minHeight?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
593
595
|
maxHeight?: "none" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
594
|
-
width?: "auto" | "
|
596
|
+
width?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | undefined;
|
595
597
|
minWidth?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
596
598
|
maxWidth?: "none" | "full" | "min" | "max" | "fit" | undefined;
|
597
|
-
avatarSize?: "
|
598
|
-
iconSize?: "
|
599
|
-
alignContent?: "
|
600
|
-
alignItems?: "
|
601
|
-
alignSelf?: "
|
599
|
+
avatarSize?: "s" | "m" | "l" | undefined;
|
600
|
+
iconSize?: "s" | "m" | "l" | undefined;
|
601
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
602
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
603
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
602
604
|
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
603
605
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
604
606
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
605
607
|
flexShrink?: "0" | "1" | undefined;
|
606
|
-
flexWrap?: "wrap" | "
|
607
|
-
justifyContent?: "
|
608
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
609
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
608
610
|
flexBasis?: "min-content" | undefined;
|
609
|
-
display?: "
|
611
|
+
display?: "grid" | "block" | "inline-block" | "inline" | "flex" | "inline-flex" | "table" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "contents" | undefined;
|
610
612
|
overflow?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
611
613
|
overflowX?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
612
614
|
overflowY?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
613
|
-
position?: "
|
614
|
-
zIndex?: "0" | "10" | "
|
615
|
-
contentFit?: "
|
615
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
616
|
+
zIndex?: "0" | "10" | "auto" | "20" | "30" | "40" | "50" | undefined;
|
617
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
616
618
|
} & {
|
617
619
|
className?: string | undefined;
|
618
620
|
}) | undefined) => string;
|
619
621
|
|
620
622
|
type SetState<T> = Dispatch<SetStateAction<T>>;
|
621
623
|
|
622
|
-
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, type SetState, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
624
|
+
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, type SetState, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|