@yahoo/uds 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/cli/codemods/addCommentAboveComponents.ts +3 -78
  2. package/cli/codemods/propsToClass.ts +2 -12
  3. package/cli/codemods/remapProps.ts +5 -11
  4. package/cli/codemods/replaceTwClassNameWithProp.ts +99 -0
  5. package/cli/codemods/utils/getGlobPattern.ts +11 -0
  6. package/cli/codemods/utils/getImportsFromPackage.ts +21 -0
  7. package/cli/codemods/utils/getJSXElements.ts +9 -0
  8. package/cli/codemods/utils/getProject.ts +12 -0
  9. package/cli/codemods/utils/hasJSXProperty.ts +14 -0
  10. package/cli/codemods/utils/index.ts +14 -0
  11. package/cli/codemods/utils/matchesJSXTagName.ts +14 -0
  12. package/cli/commands/codemod/tailwindClassesToProps.ts +24 -0
  13. package/dist/{chunk-AJYO7N7R.js → chunk-7QHJ6LHA.js} +1 -1
  14. package/dist/{chunk-GRZ5XQ3F.js → chunk-FYVGDNGL.js} +1 -1
  15. package/dist/{chunk-GIKZRY45.cjs → chunk-GL5JI7EX.cjs} +1 -1
  16. package/dist/{chunk-T6P7XTY2.js → chunk-MOUM7BAW.js} +2 -2
  17. package/dist/{chunk-TNA4SFJT.cjs → chunk-RXSJCGB3.cjs} +1 -1
  18. package/dist/{chunk-QYZNWDRL.js → chunk-U2K4DT7E.js} +2 -2
  19. package/dist/{chunk-6URF5YHM.cjs → chunk-WJ55DEUW.cjs} +1 -1
  20. package/dist/{chunk-SBHC4YQG.cjs → chunk-XZCEFUNX.cjs} +1 -1
  21. package/dist/client/index.cjs +1 -1
  22. package/dist/client/index.d.cts +1 -1
  23. package/dist/client/index.d.ts +1 -1
  24. package/dist/client/index.js +3 -3
  25. package/dist/experimental/client/index.cjs +2 -2
  26. package/dist/experimental/client/index.js +2 -2
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.d.cts +2 -2
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +1 -1
  31. package/dist/metafile-cjs.json +1 -1
  32. package/dist/metafile-esm.json +1 -1
  33. package/dist/tailwind/plugin.cjs +1 -1
  34. package/dist/tailwind/plugin.d.cts +1 -1
  35. package/dist/tailwind/plugin.d.ts +1 -1
  36. package/dist/tailwind/plugin.js +2 -2
  37. package/dist/tailwind/purger.cjs +1 -1
  38. package/dist/tailwind/purger.js +1 -1
  39. package/dist/tailwind/utils.cjs +1 -1
  40. package/dist/tailwind/utils.d.cts +1 -1
  41. package/dist/tailwind/utils.d.ts +1 -1
  42. package/dist/tailwind/utils.js +1 -1
  43. package/dist/tokens/index.cjs +1 -1
  44. package/dist/tokens/index.d.cts +2 -2
  45. package/dist/tokens/index.d.ts +2 -2
  46. package/dist/tokens/index.js +1 -1
  47. package/dist/tokens/parseTokens.d.cts +1 -1
  48. package/dist/tokens/parseTokens.d.ts +1 -1
  49. package/dist/{types-aAFnCpDR.d.cts → types-sNL75NRe.d.cts} +2 -2
  50. package/dist/{types-aAFnCpDR.d.ts → types-sNL75NRe.d.ts} +2 -2
  51. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";var o=require("./chunk-GIJ2FHY5.cjs"),e=["none","custom","lighten","darken"],t=["none","custom"],a=["none","up","down"],r={hover:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"down",options:a}}},n={hover:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"down",options:a}}},l={hover:{backgroundColor:{value:"lighten",options:["none","custom","lighten"]},borderColor:{value:"none",options:t},color:{value:"none",options:["none","custom","lighten"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"lighten",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:e},scale:{value:"down",options:a}}};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function s(o){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:o},color:{type:"palette",value:"on-color"},scale:"none"}}function i(o){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:o},color:{type:"palette",value:o},scale:"none"}}function f(o){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:o},scale:"none"}}var p={fill:s,outline:i,ghost:f},c={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"6",spacingVertical:"3",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"7",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"headline1"}},palette:{accent:{primary:{kind:"fill",effect:r,base:s("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}}}}},brand:{primary:{kind:"fill",effect:r,base:s("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}}}}},alert:{primary:{kind:"fill",effect:r,base:s("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}}}}},positive:{primary:{kind:"fill",effect:r,base:s("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}}}}},warning:{primary:{kind:"fill",effect:r,base:s("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}}}}}}},u={light:{palette:{core:{brand:{hue:"purple",step:"9"},accent:{hue:"carbon",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"carbon",step:"13"},secondary:{hue:"carbon",step:"10"},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"}}},spectrum:{blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"125 46 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}}},dark:{palette:{core:{brand:{hue:"purple",step:"9"},accent:{hue:"carbon",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"carbon",step:"13"},secondary:{hue:"carbon",step:"10"},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"}}},spectrum:{blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}}}},y={defaults:c.defaults,size:{xs:{spacing:"1",iconSize:"sm"},sm:{spacing:c.size.sm.spacingVertical,iconSize:c.size.sm.iconSize},md:{spacing:c.size.md.spacingVertical,iconSize:c.size.md.iconSize},lg:{spacing:c.size.lg.spacingVertical,iconSize:c.size.lg.iconSize},xl:{spacing:"4",iconSize:"lg"}}},d={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},m={sm:16,md:24,lg:32},g={sm:16,md:24,lg:32},b=g,h=m,w=m,v={fontFamily:o.fontFamily,fontWeight:o.fontWeight,textTransform:o.textTransform,avatarSizes:g,iconSizes:h,borderRadius:{none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:2}},C={fontFamily:o.fontFamily,fontWeight:o.fontWeight,textTransform:o.textTransform,avatarSizes:b,iconSizes:w,borderRadius:{none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:4}},k={colorMode:u,scaleMode:{xSmall:{...v,...o.xSmall},small:{...v,...o.small},medium:{...v,...o.medium},large:{...C,...o.large},xLarge:{...C,...o.xLarge},xxLarge:{...C,...o.xxLarge},xxxLarge:{...C,...o.xxxLarge}},font:{sans:"yahoo-sans-cr4","sans-alt":"yahoo-sans-condensed",serif:"yahoo-serif-display","serif-alt":"yahoo-serif-text",mono:"roboto-mono"},button:c,iconButton:y,version:"v0.0.0",motion:d},S="https://s.yimg.com/bw/fonts",F=["Helvetica Neue","Helvetica","Arial","sans-serif"],D=["Georgia","Times","Times New Roman","serif"],x={"centra-no2":{fallback:F,type:"sans",isVariableFont:!1,declarations:[{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/centra-no2-hairline.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/centra-no2-thin.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/centra-no2-thin-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/centra-no2-light.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/centra-no2-light-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/centra-no2-book.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/centra-no2-book-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/centra-no2-medium.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/centra-no2-medium-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/centra-no2-bold.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/centra-no2-bold-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/centra-no2-extrabold.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/centra-no2-black.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Inter",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",isVariableFont:!1,declarations:[{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/roboto-mono-100.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/roboto-mono-100-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/roboto-mono-200.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/roboto-mono-200-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/roboto-mono-300.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/roboto-mono-300-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/roboto-mono-400.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/roboto-mono-400-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/roboto-mono-500.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/roboto-mono-500-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"600",src:`url('${S}/roboto-mono-600.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"600",src:`url('${S}/roboto-mono-600-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/roboto-mono-700.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans CR4",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Product Sans",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-product-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-condensed":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans Condensed",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:D,type:"serif",isVariableFont:!1,declarations:[{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/yahoo-serif-display-light.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:D,type:"serif",isVariableFont:!1,declarations:[{fontFamily:"Yahoo Serif Text",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};
1
+ "use strict";var o=require("./chunk-GIJ2FHY5.cjs"),e=["none","custom","lighten","darken"],t=["none","custom"],a=["none","up","down"],r={hover:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]},scale:{value:"down",options:a}}},n={hover:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e},scale:{value:"down",options:a}}},l={hover:{backgroundColor:{value:"lighten",options:["none","custom","lighten"]},borderColor:{value:"none",options:t},color:{value:"none",options:["none","custom","lighten"]},scale:{value:"up",options:a}},pressed:{backgroundColor:{value:"lighten",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:e},scale:{value:"down",options:a}}};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function s(o){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:o},color:{type:"palette",value:"on-color"},scale:"none"}}function i(o){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:o},color:{type:"palette",value:o},scale:"none"}}function f(o){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:o},scale:"none"}}var p={fill:s,outline:i,ghost:f},c={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"6",spacingVertical:"3",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"7",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"headline1"}},palette:{accent:{primary:{kind:"fill",effect:r,base:s("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}}}}},brand:{primary:{kind:"fill",effect:r,base:s("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}}}}},alert:{primary:{kind:"fill",effect:r,base:s("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}}}}},positive:{primary:{kind:"fill",effect:r,base:s("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}}}}},warning:{primary:{kind:"fill",effect:r,base:s("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:n,base:i("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"}},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"}}}},tertiary:{kind:"ghost",effect:l,base:f("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}}}}}}},u={light:{palette:{core:{brand:{hue:"purple",step:"9"},accent:{hue:"carbon",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"carbon",step:"13"},secondary:{hue:"carbon",step:"10"},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"}}},spectrum:{blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"125 46 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}}},dark:{palette:{core:{brand:{hue:"purple",step:"9"},accent:{hue:"carbon",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"carbon",step:"13"},secondary:{hue:"carbon",step:"10"},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"}}},spectrum:{blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}}}},y={defaults:c.defaults,size:{xs:{spacing:"1",iconSize:"sm"},sm:{spacing:c.size.sm.spacingVertical,iconSize:c.size.sm.iconSize},md:{spacing:c.size.md.spacingVertical,iconSize:c.size.md.iconSize},lg:{spacing:c.size.lg.spacingVertical,iconSize:c.size.lg.iconSize},xl:{spacing:"4",iconSize:"lg"}}},d={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},m={sm:16,md:24,lg:32},g={sm:16,md:24,lg:32},b=g,h=m,w=m,v={fontFamily:o.fontFamily,fontWeight:o.fontWeight,textTransform:o.textTransform,avatarSizes:g,iconSizes:h,borderRadius:{none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:2}},C={fontFamily:o.fontFamily,fontWeight:o.fontWeight,textTransform:o.textTransform,avatarSizes:b,iconSizes:w,borderRadius:{none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999},borderWidth:{none:0,thin:1,medium:2,thick:4}},k={colorMode:u,scaleMode:{xSmall:{...v,...o.xSmall},small:{...v,...o.small},medium:{...v,...o.medium},large:{...C,...o.large},xLarge:{...C,...o.xLarge},xxLarge:{...C,...o.xxLarge},xxxLarge:{...C,...o.xxxLarge}},font:{sans:"yahoo-sans-cr4","sans-alt":"yahoo-sans-condensed",serif:"yahoo-serif-display","serif-alt":"yahoo-serif-text",mono:"roboto-mono"},button:c,iconButton:y,version:"v0.0.0",motion:d},S="https://s.yimg.com/bw/fonts",F=["Helvetica Neue","Helvetica","Arial","sans-serif"],D=["Georgia","Times","Times New Roman","serif"],x={"centra-no2":{fallback:F,type:"sans",isVariableFont:!1,declarations:[{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/centra-no2-hairline.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/centra-no2-thin.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/centra-no2-thin-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/centra-no2-light.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/centra-no2-light-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/centra-no2-book.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/centra-no2-book-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/centra-no2-medium.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/centra-no2-medium-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/centra-no2-bold.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/centra-no2-bold-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/centra-no2-extrabold.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"normal",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/centra-no2-black.woff2') format('woff2')`},{fontFamily:"Centra No2",fontStyle:"italic",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Inter",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",isVariableFont:!1,declarations:[{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/roboto-mono-100.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"100",src:`url('${S}/roboto-mono-100-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/roboto-mono-200.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"200",src:`url('${S}/roboto-mono-200-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/roboto-mono-300.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/roboto-mono-300-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/roboto-mono-400.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/roboto-mono-400-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/roboto-mono-500.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"500",src:`url('${S}/roboto-mono-500-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"600",src:`url('${S}/roboto-mono-600.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"600",src:`url('${S}/roboto-mono-600-italic.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/roboto-mono-700.woff2') format('woff2')`},{fontFamily:"Roboto Mono",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans CR4 BETA VF",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Product Sans VF",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-product-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-condensed":{fallback:F,type:"sans",isVariableFont:!0,declarations:[{fontFamily:"Yahoo Sans Condensed",fontDisplay:"swap",fontWeight:"1 1000",src:`url('${S}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:D,type:"serif",isVariableFont:!1,declarations:[{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"300",src:`url('${S}/yahoo-serif-display-light.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"800",src:`url('${S}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Display",fontStyle:"normal",fontDisplay:"swap",fontWeight:"900",src:`url('${S}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:D,type:"serif",isVariableFont:!1,declarations:[{fontFamily:"Yahoo Serif Text",fontStyle:"normal",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"italic",fontDisplay:"swap",fontWeight:"400",src:`url('${S}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"normal",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontFamily:"Yahoo Serif Text",fontStyle:"italic",fontDisplay:"swap",fontWeight:"700",src:`url('${S}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};
2
2
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.FONT_DECLARATIONS_MAP=x,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.button=c,exports.defaultTokensConfig=k,exports.fromEntries=function(o){return Object.fromEntries(o)},exports.generateConfigCombinations=function(o){return Object.keys(o).filter((o=>"defaults"!==o)).reduce(((e,t)=>{const a=[],r=[...Object.keys(o[t]),void 0];return 0===e.length?r.forEach((o=>{a.push({[t]:o})})):e.forEach((o=>{r.forEach((e=>{a.push({...o,[t]:e})}))})),a}),[])},exports.getDefaultButtonBaseMap=p,exports.motion=d,exports.normalIconSizes=w;
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./chunk-6URF5YHM.cjs"),r=require("./chunk-6453EQCC.cjs"),n=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),o=require("clsx"),s=require("imurmurhash"),l=require("tailwind-merge"),i=require("react"),a=require("react/jsx-runtime");function c(e){return e&&e.__esModule?e:{default:e}}var u=c(o),d=c(s);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
1
+ "use strict";var e=require("./chunk-WJ55DEUW.cjs"),r=require("./chunk-6453EQCC.cjs"),n=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),o=require("clsx"),s=require("imurmurhash"),l=require("tailwind-merge"),i=require("react"),a=require("react/jsx-runtime");function c(e){return e&&e.__esModule?e:{default:e}}var u=c(o),d=c(s);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
2
  function f(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}function h(e){const r=Object.create(null),n=Object.keys(e);for(let t=0,o=n.length;t<o;t++){const o=n[t];void 0!==e[o]&&(r[o]=e[o])}return r}var m=l.extendTailwindMerge({extend:{theme:{borderColor:n.lineColors,borderWidth:n.borderWidths,borderRadius:n.borderRadii}},override:{classGroups:{"text-color":[{text:[...n.foregroundColors,...n.spectrumColors]}],"bg-color":[{bg:n.backgroundColors}],"font-family":[{font:["icons",...n.textVariants]}],leading:[{leading:n.textVariants}]},conflictingClassGroups:{}}}),p=(...e)=>{const r=u.default(e);return m(r)},x=e=>r=>{if(!e?.variants)return p(e?.base,r?.className);const{variants:n,defaultVariants:t}=e,o=Object.keys(n).map((e=>{const o=r?.[e],s=t?.[e],l=f(o)||f(s);return n[e][l]})),s={...t,...r&&h(r)},l=e?.compoundVariants?.reduce(((e,{className:r,...n})=>Object.entries(n).every((([e,r])=>s[e]===r))?p(e,r):e),"");return p(e?.base,o,l,r?.className)},g=x({variants:r.variants}),y=new Map,b=e=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),n=Object.keys(e).sort();for(let t=0,o=n.length;t<o;t++){const o=n[t];r[o]=e[o]}return r}(h(e)),n=(new d.default).hash(JSON.stringify(r)).result();if(y.has(n))return y.get(n);const t=g(r);return y.set(n,t),t}return g(e)},v=i.forwardRef((function({name:r,size:n="md",variant:t="outline",color:o="primary",className:s,...l},i){const c=b({color:o,flex:"none",className:s}),u=e.normalIconSizes[n];return a.jsx("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:u,height:u,viewBox:`0 0 ${u} ${u}`,"aria-hidden":"true",focusable:"false",className:c,...l,children:a.jsx(r,{size:n,variant:t})})}));function C(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}exports.Icon=v,exports.createSlot=function(){const e=i.forwardRef(((e,n)=>{const{children:o,...s}=e,l=i.Children.toArray(o),c=l.find(t);if(c){const e=c.props.children,t=l.map((r=>r===c?i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null:r));return a.jsx(r,{...s,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,t):null})}return a.jsx(r,{...s,ref:n,children:o})}));e.displayName="Slot";const r=i.forwardRef(((e,r)=>{const{children:n,...t}=e;return i.isValidElement(n)?i.cloneElement(n,{...o(t,n.props),ref:r?C(r,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null}));r.displayName="SlotClone";const n=({children:e})=>e;function t(e){return i.isValidElement(e)&&e.type===n}function o(e,r){const n={...r};for(const t in r){const o=e[t],s=r[t];/^on[A-Z]/.test(t)?o&&s?n[t]=(...e)=>{s(...e),o(...e)}:o&&(n[t]=o):"style"===t&&(n[t]={...o,...s})}return{...e,...n}}return e},exports.cva=x,exports.cx=p,exports.getStyles=b;
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use strict";var t=require("../chunk-SBHC4YQG.cjs"),e=require("../chunk-TNA4SFJT.cjs"),o=require("../chunk-6URF5YHM.cjs"),n=require("../chunk-5WBROFT5.cjs"),r=require("@yahoo/uds/fixtures"),a=require("react/jsx-runtime"),i=require("motion/react"),s=require("react"),c={scale:.7,opacity:0},l={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},d={icon:l,hide:c,loading:c},u={loading:l,hide:c,icon:c},m=`var(${n.BUTTON_CSS_VAR_MAP.columnGap})`,p=`var(${n.BUTTON_CSS_VAR_MAP.iconSize})`,h={rest:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.rest})`},hover:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.hover})`},pressed:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:m}},f={hide:{width:"0px",opacity:0,display:"none"},loading:{width:p,display:"flex",opacity:1},icon:{width:p,display:"flex",opacity:1}},g=({size:t,variant:e})=>{if("outline"===e)switch(t){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(t){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return a.jsx(a.Fragment,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */g.metadata={name:"Progress",isSvgIcon:!0};var b=()=>import("../motionFeatures-HQUM526D.cjs").then((({domAnimation:t})=>t));function x({reducedMotion:t="user",children:n,layoutVariant:r="subtle",layoutSpeed:c="3",colorVariant:l="smooth",colorSpeed:d="3"}){const u=o.motion[r][c],m=o.motion[l][d],[p,h]=s.useState(u),[f,g]=s.useState(m),x={variant:l,speed:d},S=e.getMotionVar({...x,control:"stiffness"}),v=e.getMotionVar({...x,control:"damping"}),j={variant:r,speed:c},C=e.getMotionVar({...j,control:"stiffness"}),y=e.getMotionVar({...j,control:"damping"});s.useEffect((()=>{const t=getComputedStyle(document.documentElement),e={damping:Number(t.getPropertyValue(y)),stiffness:Number(t.getPropertyValue(C))},o={damping:Number(t.getPropertyValue(v)),stiffness:Number(t.getPropertyValue(S))};h(e),g(o)}),[v,S,y,C]);const w=s.useMemo((()=>({type:"spring",mass:1,...p,layout:p,opacity:f,color:f,borderColor:f,backgroundColor:f})),[f,p]);return a.jsx(i.LazyMotion,{features:b,strict:!0,children:a.jsx(i.MotionConfig,{transition:w,reducedMotion:t,children:n})})}var S=t.createSlot(),v=i.m.create(S),j=s.forwardRef((function({palette:e,variant:o,size:n,startIcon:c,endIcon:l,iconVariant:m,loading:p,disableEffects:b,children:S,asChild:j,type:C="button",className:y,width:w,...M},I){const N=s.useRef(null);s.useImperativeHandle(I,(()=>N.current));const V=l?"icon":"hide",T=(({startIcon:t,endIcon:e,loading:o})=>t||e||o?"withIcon":"withoutIcon")({startIcon:c,endIcon:l,loading:p}),B=(({loading:t,startIcon:e})=>t?"loading":e?"icon":"hide")({loading:p,startIcon:c}),R={button:t.getStyles({width:w,buttonSize:n,buttonVariant:o,buttonPalette:e,className:t.cx("uds-button","uds-ring","uds-hit-target",p&&"uds-button-loading",b&&"uds-button-without-effects","withIcon"===T&&"uds-button-with-gap",y)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},z=i.useReducedMotion()?"smooth":"subtle",A=s.useMemo((()=>a.jsx(i.m.span,{className:R.iconContainer,initial:!1,variants:f,animate:B,children:a.jsxs(i.AnimatePresence,{initial:!1,mode:"popLayout",children:[p&&a.jsx(i.m.span,{variants:u,initial:"hide",animate:"loading",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:g,variant:m,color:"current",className:R.loading})},"loading"),c&&!p&&a.jsx(i.m.span,{variants:d,initial:"hide",animate:"icon",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:c,variant:m,color:"current",className:R.start})},c.name)]})})),[R.iconContainer,R.loading,R.start,B,p,m,c]),E=s.useMemo((()=>a.jsx(i.m.span,{className:R.iconContainer,initial:!1,variants:f,animate:V,children:a.jsx(i.AnimatePresence,{initial:!1,mode:"popLayout",children:l&&a.jsx(i.m.span,{variants:d,initial:"hide",animate:"icon",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:l,variant:m,color:"current",className:R.start})},l.name)})})),[R.iconContainer,R.start,l,V,m]),P=s.useMemo((()=>b?{...h,rest:{},hover:{},pressed:{}}:h),[b]);return j&&s.isValidElement(S)?a.jsx(x,{layoutSpeed:"3",layoutVariant:z,children:a.jsx(v,{type:C,className:R.button,initial:["hide",T],animate:T,variants:P,whileHover:"hover",whileTap:"pressed",...M,children:s.cloneElement(S,S.props,a.jsxs(a.Fragment,{children:[A,a.jsx("span",{className:R.content,children:S.props.children}),E]}))})}):a.jsx(x,{layoutSpeed:"3",layoutVariant:z,children:a.jsxs(i.m.button,{ref:N,type:C,className:R.button,initial:["hide",T],animate:T,variants:P,whileHover:"hover",whileTap:"pressed",...M,children:[A,a.jsx("span",{className:R.content,children:S}),E]})})})),C=s.forwardRef((function({palette:e,variant:o,size:n,iconVariant:c,loading:l,disableEffects:m,name:p,type:f="button",className:b,children:S,...v},j){const C=s.useRef(null);s.useImperativeHandle(j,(()=>C.current));const y=s.useMemo((()=>({button:t.getStyles({buttonVariant:o,buttonPalette:e,iconButtonSize:n,className:t.cx("uds-icon-button","uds-button","uds-ring","uds-hit-target",l&&"uds-button-loading",m&&"uds-button-without-effects",b)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[e,o,b,m,n,l]),w=i.useReducedMotion(),M=s.useMemo((()=>w?"smooth":"subtle"),[w]),I=s.useMemo((()=>{const{rest:t,hover:e,pressed:o}=h;return m?{rest:{},hover:{},pressed:{}}:{rest:t,hover:e,pressed:o}}),[m]);return a.jsx(x,{layoutSpeed:"3",layoutVariant:M,reducedMotion:m?"always":"user",children:a.jsx(i.m.button,{ref:C,type:f,className:y.button,initial:"icon",variants:I,whileHover:"hover",whileTap:"pressed",...v,children:a.jsxs(i.AnimatePresence,{initial:!1,mode:"popLayout",children:[l&&a.jsx(i.m.span,{variants:u,initial:"loading",animate:"loading",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:g,variant:c,color:"current",className:y.loading})},"loading"),p&&!l&&a.jsx(i.m.span,{variants:d,initial:"icon",animate:"icon",exit:"hide",children:S||a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:p,variant:c,color:"current",className:y.icon})},p.name)]})})})})),y=t.createSlot(),w=s.forwardRef((function({className:e,asChild:o,onPress:n,onClick:r=n,backgroundColor:i,borderRadius:s,borderTopStartRadius:c,borderTopEndRadius:l,borderBottomStartRadius:d,borderBottomEndRadius:u,borderColor:m,borderStartColor:p,borderEndColor:h,borderTopColor:f,borderBottomColor:g,borderWidth:b,borderVerticalWidth:x,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:j,borderTopWidth:C,borderBottomWidth:w,alignContent:M,alignItems:I,alignSelf:N,flex:V,flexDirection:T,flexGrow:B,flexShrink:R,flexWrap:z,justifyContent:A,flexBasis:E,display:P,overflow:W,overflowX:_,overflowY:H,position:F,spacing:k,spacingHorizontal:G,spacingVertical:q,spacingBottom:U,spacingEnd:O,spacingStart:$,spacingTop:L,offset:Y,offsetVertical:D,offsetHorizontal:Q,offsetBottom:X,offsetEnd:J,offsetStart:K,offsetTop:Z,columnGap:tt,rowGap:et,...ot},nt){const rt=t.getStyles({backgroundColor:i,borderRadius:s,borderTopStartRadius:c,borderTopEndRadius:l,borderBottomStartRadius:d,borderBottomEndRadius:u,borderColor:m,borderStartColor:p,borderEndColor:h,borderTopColor:f,borderBottomColor:g,borderWidth:b,borderVerticalWidth:x,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:j,borderTopWidth:C,borderBottomWidth:w,alignContent:M,alignItems:I,alignSelf:N,flex:V,flexDirection:T,flexGrow:B,flexShrink:R,flexWrap:z,justifyContent:A,flexBasis:E,display:P,overflow:W,overflowX:_,overflowY:H,position:F,spacing:k,spacingHorizontal:G,spacingVertical:q,spacingBottom:U,spacingEnd:O,spacingStart:$,spacingTop:L,offset:Y,offsetVertical:D,offsetHorizontal:Q,offsetBottom:X,offsetEnd:J,offsetStart:K,offsetTop:Z,columnGap:tt,rowGap:et,className:e}),at=o?y:"button";return a.jsx(at,{className:rt,ref:nt,onClick:r,...ot})}));
2
+ "use strict";var t=require("../chunk-XZCEFUNX.cjs"),e=require("../chunk-RXSJCGB3.cjs"),o=require("../chunk-WJ55DEUW.cjs"),n=require("../chunk-5WBROFT5.cjs"),r=require("@yahoo/uds/fixtures"),a=require("react/jsx-runtime"),i=require("motion/react"),s=require("react"),c={scale:.7,opacity:0},l={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},d={icon:l,hide:c,loading:c},u={loading:l,hide:c,icon:c},m=`var(${n.BUTTON_CSS_VAR_MAP.columnGap})`,p=`var(${n.BUTTON_CSS_VAR_MAP.iconSize})`,h={rest:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.rest})`},hover:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.hover})`},pressed:{scale:`var(${n.BUTTON_CSS_VAR_MAP.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:m}},f={hide:{width:"0px",opacity:0,display:"none"},loading:{width:p,display:"flex",opacity:1},icon:{width:p,display:"flex",opacity:1}},g=({size:t,variant:e})=>{if("outline"===e)switch(t){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(t){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return a.jsx(a.Fragment,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */g.metadata={name:"Progress",isSvgIcon:!0};var b=()=>import("../motionFeatures-HQUM526D.cjs").then((({domAnimation:t})=>t));function x({reducedMotion:t="user",children:n,layoutVariant:r="subtle",layoutSpeed:c="3",colorVariant:l="smooth",colorSpeed:d="3"}){const u=o.motion[r][c],m=o.motion[l][d],[p,h]=s.useState(u),[f,g]=s.useState(m),x={variant:l,speed:d},S=e.getMotionVar({...x,control:"stiffness"}),v=e.getMotionVar({...x,control:"damping"}),j={variant:r,speed:c},C=e.getMotionVar({...j,control:"stiffness"}),y=e.getMotionVar({...j,control:"damping"});s.useEffect((()=>{const t=getComputedStyle(document.documentElement),e={damping:Number(t.getPropertyValue(y)),stiffness:Number(t.getPropertyValue(C))},o={damping:Number(t.getPropertyValue(v)),stiffness:Number(t.getPropertyValue(S))};h(e),g(o)}),[v,S,y,C]);const w=s.useMemo((()=>({type:"spring",mass:1,...p,layout:p,opacity:f,color:f,borderColor:f,backgroundColor:f})),[f,p]);return a.jsx(i.LazyMotion,{features:b,strict:!0,children:a.jsx(i.MotionConfig,{transition:w,reducedMotion:t,children:n})})}var S=t.createSlot(),v=i.m.create(S),j=s.forwardRef((function({palette:e,variant:o,size:n,startIcon:c,endIcon:l,iconVariant:m,loading:p,disableEffects:b,children:S,asChild:j,type:C="button",className:y,width:w,...M},I){const N=s.useRef(null);s.useImperativeHandle(I,(()=>N.current));const V=l?"icon":"hide",T=(({startIcon:t,endIcon:e,loading:o})=>t||e||o?"withIcon":"withoutIcon")({startIcon:c,endIcon:l,loading:p}),B=(({loading:t,startIcon:e})=>t?"loading":e?"icon":"hide")({loading:p,startIcon:c}),R={button:t.getStyles({width:w,buttonSize:n,buttonVariant:o,buttonPalette:e,className:t.cx("uds-button","uds-ring","uds-hit-target",p&&"uds-button-loading",b&&"uds-button-without-effects","withIcon"===T&&"uds-button-with-gap",y)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},z=i.useReducedMotion()?"smooth":"subtle",E=s.useMemo((()=>a.jsx(i.m.span,{className:R.iconContainer,initial:!1,variants:f,animate:B,children:a.jsxs(i.AnimatePresence,{initial:!1,mode:"popLayout",children:[p&&a.jsx(i.m.span,{variants:u,initial:"hide",animate:"loading",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:g,variant:m,color:"current",className:R.loading})},"loading"),c&&!p&&a.jsx(i.m.span,{variants:d,initial:"hide",animate:"icon",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:c,variant:m,color:"current",className:R.start})},c.name)]})})),[R.iconContainer,R.loading,R.start,B,p,m,c]),W=s.useMemo((()=>a.jsx(i.m.span,{className:R.iconContainer,initial:!1,variants:f,animate:V,children:a.jsx(i.AnimatePresence,{initial:!1,mode:"popLayout",children:l&&a.jsx(i.m.span,{variants:d,initial:"hide",animate:"icon",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:l,variant:m,color:"current",className:R.start})},l.name)})})),[R.iconContainer,R.start,l,V,m]),A=s.useMemo((()=>b?{...h,rest:{},hover:{},pressed:{}}:h),[b]);return j&&s.isValidElement(S)?a.jsx(x,{layoutSpeed:"3",layoutVariant:z,children:a.jsx(v,{type:C,className:R.button,initial:["hide",T],animate:T,variants:A,whileHover:"hover",whileTap:"pressed",...M,children:s.cloneElement(S,S.props,a.jsxs(a.Fragment,{children:[E,a.jsx("span",{className:R.content,children:S.props.children}),W]}))})}):a.jsx(x,{layoutSpeed:"3",layoutVariant:z,children:a.jsxs(i.m.button,{ref:N,type:C,className:R.button,initial:["hide",T],animate:T,variants:A,whileHover:"hover",whileTap:"pressed",...M,children:[E,a.jsx("span",{className:R.content,children:S}),W]})})})),C=s.forwardRef((function({palette:e,variant:o,size:n,iconVariant:c,loading:l,disableEffects:m,name:p,type:f="button",className:b,children:S,...v},j){const C=s.useRef(null);s.useImperativeHandle(j,(()=>C.current));const y=s.useMemo((()=>({button:t.getStyles({buttonVariant:o,buttonPalette:e,iconButtonSize:n,className:t.cx("uds-icon-button","uds-button","uds-ring","uds-hit-target",l&&"uds-button-loading",m&&"uds-button-without-effects",b)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[e,o,b,m,n,l]),w=i.useReducedMotion(),M=s.useMemo((()=>w?"smooth":"subtle"),[w]),I=s.useMemo((()=>{const{rest:t,hover:e,pressed:o}=h;return m?{rest:{},hover:{},pressed:{}}:{rest:t,hover:e,pressed:o}}),[m]);return a.jsx(x,{layoutSpeed:"3",layoutVariant:M,reducedMotion:m?"always":"user",children:a.jsx(i.m.button,{ref:C,type:f,className:y.button,initial:"icon",variants:I,whileHover:"hover",whileTap:"pressed",...v,children:a.jsxs(i.AnimatePresence,{initial:!1,mode:"popLayout",children:[l&&a.jsx(i.m.span,{variants:u,initial:"loading",animate:"loading",exit:"hide",children:a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:g,variant:c,color:"current",className:y.loading})},"loading"),p&&!l&&a.jsx(i.m.span,{variants:d,initial:"icon",animate:"icon",exit:"hide",children:S||a.jsx(t.Icon,{size:r.buttonIconSvgSize,name:p,variant:c,color:"current",className:y.icon})},p.name)]})})})})),y=t.createSlot(),w=s.forwardRef((function({className:e,asChild:o,onPress:n,onClick:r=n,backgroundColor:i,borderRadius:s,borderTopStartRadius:c,borderTopEndRadius:l,borderBottomStartRadius:d,borderBottomEndRadius:u,borderColor:m,borderStartColor:p,borderEndColor:h,borderTopColor:f,borderBottomColor:g,borderWidth:b,borderVerticalWidth:x,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:j,borderTopWidth:C,borderBottomWidth:w,alignContent:M,alignItems:I,alignSelf:N,flex:V,flexDirection:T,flexGrow:B,flexShrink:R,flexWrap:z,justifyContent:E,flexBasis:W,display:A,overflow:P,overflowX:_,overflowY:H,position:k,spacing:F,spacingHorizontal:G,spacingVertical:q,spacingBottom:U,spacingEnd:O,spacingStart:X,spacingTop:$,offset:D,offsetVertical:L,offsetHorizontal:J,offsetBottom:Y,offsetEnd:Q,offsetStart:Z,offsetTop:K,columnGap:tt,rowGap:et,...ot},nt){const rt=t.getStyles({backgroundColor:i,borderRadius:s,borderTopStartRadius:c,borderTopEndRadius:l,borderBottomStartRadius:d,borderBottomEndRadius:u,borderColor:m,borderStartColor:p,borderEndColor:h,borderTopColor:f,borderBottomColor:g,borderWidth:b,borderVerticalWidth:x,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:j,borderTopWidth:C,borderBottomWidth:w,alignContent:M,alignItems:I,alignSelf:N,flex:V,flexDirection:T,flexGrow:B,flexShrink:R,flexWrap:z,justifyContent:E,flexBasis:W,display:A,overflow:P,overflowX:_,overflowY:H,position:k,spacing:F,spacingHorizontal:G,spacingVertical:q,spacingBottom:U,spacingEnd:O,spacingStart:X,spacingTop:$,offset:D,offsetVertical:L,offsetHorizontal:J,offsetBottom:Y,offsetEnd:Q,offsetStart:Z,offsetTop:K,columnGap:tt,rowGap:et,className:e}),at=o?y:"button";return a.jsx(at,{className:rt,ref:nt,onClick:r,...ot})}));
3
3
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Button=j,exports.IconButton=C,exports.Pressable=w,exports.SpringMotionConfig=x;
@@ -1,4 +1,4 @@
1
- import { e as UniversalButtonProps, f as UniversalIconButtonProps, g as UniversalPressableProps, M as MotionVariant, h as MotionVariantSpeed } from '../types-aAFnCpDR.cjs';
1
+ import { e as UniversalButtonProps, f as UniversalIconButtonProps, g as UniversalPressableProps, M as MotionVariant, h as MotionVariantSpeed } from '../types-sNL75NRe.cjs';
2
2
  import { HTMLMotionProps, MotionConfigProps } from 'motion/react';
3
3
  import * as react from 'react';
4
4
  import react__default from 'react';
@@ -1,4 +1,4 @@
1
- import { e as UniversalButtonProps, f as UniversalIconButtonProps, g as UniversalPressableProps, M as MotionVariant, h as MotionVariantSpeed } from '../types-aAFnCpDR.js';
1
+ import { e as UniversalButtonProps, f as UniversalIconButtonProps, g as UniversalPressableProps, M as MotionVariant, h as MotionVariantSpeed } from '../types-sNL75NRe.js';
2
2
  import { HTMLMotionProps, MotionConfigProps } from 'motion/react';
3
3
  import * as react from 'react';
4
4
  import react__default from 'react';
@@ -1,4 +1,4 @@
1
1
  "use client";
2
- import{createSlot as t,getStyles as o,cx as e,Icon as n}from"../chunk-T6P7XTY2.js";import{getMotionVar as r}from"../chunk-AJYO7N7R.js";import{motion as i}from"../chunk-QYZNWDRL.js";import{BUTTON_CSS_VAR_MAP as a}from"../chunk-PE2P7J44.js";import{buttonIconSvgSize as s}from"@yahoo/uds/fixtures";import{jsx as l,jsxs as d,Fragment as c}from"react/jsx-runtime";import{m as u,useReducedMotion as p,AnimatePresence as h,LazyMotion as m,MotionConfig as f}from"motion/react";import{forwardRef as b,useRef as g,useImperativeHandle as v,useMemo as y,isValidElement as C,cloneElement as w,useState as S,useEffect as x}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
3
- var N={scale:.7,opacity:0},V={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},T={icon:V,hide:N,loading:N},z={loading:V,hide:N,icon:N},W=`var(${a.columnGap})`,E=`var(${a.iconSize})`,I={rest:{scale:`var(${a.effects.scale.rest})`},hover:{scale:`var(${a.effects.scale.hover})`},pressed:{scale:`var(${a.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:W}},B={hide:{width:"0px",opacity:0,display:"none"},loading:{width:E,display:"flex",opacity:1},icon:{width:E,display:"flex",opacity:1}},R=({size:t,variant:o})=>{if("outline"===o)switch(t){case"sm":return l(c,{children:l("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return l(c,{children:l("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return l(c,{children:l("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===o)switch(t){case"sm":return l(c,{children:l("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return l(c,{children:l("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return l(c,{children:l("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return l(c,{})};R.metadata={name:"Progress",isSvgIcon:!0};var P=()=>import("../motionFeatures-PRT45UQH.js").then((({domAnimation:t})=>t));function k({reducedMotion:t="user",children:o,layoutVariant:e="subtle",layoutSpeed:n="3",colorVariant:a="smooth",colorSpeed:s="3"}){const d=i[e][n],c=i[a][s],[u,p]=S(d),[h,b]=S(c),g={variant:a,speed:s},v=r({...g,control:"stiffness"}),C=r({...g,control:"damping"}),w={variant:e,speed:n},N=r({...w,control:"stiffness"}),V=r({...w,control:"damping"});x((()=>{const t=getComputedStyle(document.documentElement),o={damping:Number(t.getPropertyValue(V)),stiffness:Number(t.getPropertyValue(N))},e={damping:Number(t.getPropertyValue(C)),stiffness:Number(t.getPropertyValue(v))};p(o),b(e)}),[C,v,V,N]);const T=y((()=>({type:"spring",mass:1,...u,layout:u,opacity:h,color:h,borderColor:h,backgroundColor:h})),[h,u]);return l(m,{features:P,strict:!0,children:l(f,{transition:T,reducedMotion:t,children:o})})}var H=t(),G=u.create(H),M=b((function({palette:t,variant:r,size:i,startIcon:a,endIcon:m,iconVariant:f,loading:b,disableEffects:S,children:x,asChild:N,type:V="button",className:W,width:E,...P},H){const M=g(null);v(H,(()=>M.current));const j=m?"icon":"hide",A=(({startIcon:t,endIcon:o,loading:e})=>t||o||e?"withIcon":"withoutIcon")({startIcon:a,endIcon:m,loading:b}),Y=(({loading:t,startIcon:o})=>t?"loading":o?"icon":"hide")({loading:b,startIcon:a}),$={button:o({width:E,buttonSize:i,buttonVariant:r,buttonPalette:t,className:e("uds-button","uds-ring","uds-hit-target",b&&"uds-button-loading",S&&"uds-button-without-effects","withIcon"===A&&"uds-button-with-gap",W)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},L=p()?"smooth":"subtle",D=y((()=>l(u.span,{className:$.iconContainer,initial:!1,variants:B,animate:Y,children:d(h,{initial:!1,mode:"popLayout",children:[b&&l(u.span,{variants:z,initial:"hide",animate:"loading",exit:"hide",children:l(n,{size:s,name:R,variant:f,color:"current",className:$.loading})},"loading"),a&&!b&&l(u.span,{variants:T,initial:"hide",animate:"icon",exit:"hide",children:l(n,{size:s,name:a,variant:f,color:"current",className:$.start})},a.name)]})})),[$.iconContainer,$.loading,$.start,Y,b,f,a]),X=y((()=>l(u.span,{className:$.iconContainer,initial:!1,variants:B,animate:j,children:l(h,{initial:!1,mode:"popLayout",children:m&&l(u.span,{variants:T,initial:"hide",animate:"icon",exit:"hide",children:l(n,{size:s,name:m,variant:f,color:"current",className:$.start})},m.name)})})),[$.iconContainer,$.start,m,j,f]),J=y((()=>S?{...I,rest:{},hover:{},pressed:{}}:I),[S]);return N&&C(x)?l(k,{layoutSpeed:"3",layoutVariant:L,children:l(G,{type:V,className:$.button,initial:["hide",A],animate:A,variants:J,whileHover:"hover",whileTap:"pressed",...P,children:w(x,x.props,d(c,{children:[D,l("span",{className:$.content,children:x.props.children}),X]}))})}):l(k,{layoutSpeed:"3",layoutVariant:L,children:d(u.button,{ref:M,type:V,className:$.button,initial:["hide",A],animate:A,variants:J,whileHover:"hover",whileTap:"pressed",...P,children:[D,l("span",{className:$.content,children:x}),X]})})})),j=b((function({palette:t,variant:r,size:i,iconVariant:a,loading:c,disableEffects:m,name:f,type:b="button",className:C,children:w,...S},x){const N=g(null);v(x,(()=>N.current));const V=y((()=>({button:o({buttonVariant:r,buttonPalette:t,iconButtonSize:i,className:e("uds-icon-button","uds-button","uds-ring","uds-hit-target",c&&"uds-button-loading",m&&"uds-button-without-effects",C)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,r,C,m,i,c]),W=p(),E=y((()=>W?"smooth":"subtle"),[W]),B=y((()=>{const{rest:t,hover:o,pressed:e}=I;return m?{rest:{},hover:{},pressed:{}}:{rest:t,hover:o,pressed:e}}),[m]);return l(k,{layoutSpeed:"3",layoutVariant:E,reducedMotion:m?"always":"user",children:l(u.button,{ref:N,type:b,className:V.button,initial:"icon",variants:B,whileHover:"hover",whileTap:"pressed",...S,children:d(h,{initial:!1,mode:"popLayout",children:[c&&l(u.span,{variants:z,initial:"loading",animate:"loading",exit:"hide",children:l(n,{size:s,name:R,variant:a,color:"current",className:V.loading})},"loading"),f&&!c&&l(u.span,{variants:T,initial:"icon",animate:"icon",exit:"hide",children:w||l(n,{size:s,name:f,variant:a,color:"current",className:V.icon})},f.name)]})})})})),A=t(),Y=b((function({className:t,asChild:e,onPress:n,onClick:r=n,backgroundColor:i,borderRadius:a,borderTopStartRadius:s,borderTopEndRadius:d,borderBottomStartRadius:c,borderBottomEndRadius:u,borderColor:p,borderStartColor:h,borderEndColor:m,borderTopColor:f,borderBottomColor:b,borderWidth:g,borderVerticalWidth:v,borderHorizontalWidth:y,borderStartWidth:C,borderEndWidth:w,borderTopWidth:S,borderBottomWidth:x,alignContent:N,alignItems:V,alignSelf:T,flex:z,flexDirection:W,flexGrow:E,flexShrink:I,flexWrap:B,justifyContent:R,flexBasis:P,display:k,overflow:H,overflowX:G,overflowY:M,position:j,spacing:Y,spacingHorizontal:$,spacingVertical:L,spacingBottom:D,spacingEnd:X,spacingStart:J,spacingTop:Q,offset:F,offsetVertical:O,offsetHorizontal:U,offsetBottom:Z,offsetEnd:q,offsetStart:K,offsetTop:_,columnGap:tt,rowGap:ot,...et},nt){const rt=o({backgroundColor:i,borderRadius:a,borderTopStartRadius:s,borderTopEndRadius:d,borderBottomStartRadius:c,borderBottomEndRadius:u,borderColor:p,borderStartColor:h,borderEndColor:m,borderTopColor:f,borderBottomColor:b,borderWidth:g,borderVerticalWidth:v,borderHorizontalWidth:y,borderStartWidth:C,borderEndWidth:w,borderTopWidth:S,borderBottomWidth:x,alignContent:N,alignItems:V,alignSelf:T,flex:z,flexDirection:W,flexGrow:E,flexShrink:I,flexWrap:B,justifyContent:R,flexBasis:P,display:k,overflow:H,overflowX:G,overflowY:M,position:j,spacing:Y,spacingHorizontal:$,spacingVertical:L,spacingBottom:D,spacingEnd:X,spacingStart:J,spacingTop:Q,offset:F,offsetVertical:O,offsetHorizontal:U,offsetBottom:Z,offsetEnd:q,offsetStart:K,offsetTop:_,columnGap:tt,rowGap:ot,className:t});return l(e?A:"button",{className:rt,ref:nt,onClick:r,...et})}));
4
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{M as Button,j as IconButton,Y as Pressable,k as SpringMotionConfig};
2
+ import{createSlot as t,getStyles as o,cx as e,Icon as n}from"../chunk-MOUM7BAW.js";import{getMotionVar as r}from"../chunk-7QHJ6LHA.js";import{motion as i}from"../chunk-U2K4DT7E.js";import{BUTTON_CSS_VAR_MAP as a}from"../chunk-PE2P7J44.js";import{buttonIconSvgSize as s}from"@yahoo/uds/fixtures";import{jsx as l,jsxs as d,Fragment as c}from"react/jsx-runtime";import{m as u,useReducedMotion as p,AnimatePresence as h,LazyMotion as m,MotionConfig as f}from"motion/react";import{forwardRef as b,useRef as g,useImperativeHandle as v,useMemo as y,isValidElement as C,cloneElement as w,useState as S,useEffect as x}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
3
+ var N={scale:.7,opacity:0},V={scale:[.7,.7,1],opacity:[0,0,1],transition:{times:[0,.5,1]}},z={icon:V,hide:N,loading:N},E={loading:V,hide:N,icon:N},T=`var(${a.columnGap})`,W=`var(${a.iconSize})`,B={rest:{scale:`var(${a.effects.scale.rest})`},hover:{scale:`var(${a.effects.scale.hover})`},pressed:{scale:`var(${a.effects.scale.pressed})`},withoutIcon:{columnGap:"0px"},withIcon:{columnGap:T}},I={hide:{width:"0px",opacity:0,display:"none"},loading:{width:W,display:"flex",opacity:1},icon:{width:W,display:"flex",opacity:1}},H=({size:t,variant:o})=>{if("outline"===o)switch(t){case"sm":return l(c,{children:l("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return l(c,{children:l("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return l(c,{children:l("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===o)switch(t){case"sm":return l(c,{children:l("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return l(c,{children:l("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return l(c,{children:l("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return l(c,{})};H.metadata={name:"Progress",isSvgIcon:!0};var k=()=>import("../motionFeatures-PRT45UQH.js").then((({domAnimation:t})=>t));function M({reducedMotion:t="user",children:o,layoutVariant:e="subtle",layoutSpeed:n="3",colorVariant:a="smooth",colorSpeed:s="3"}){const d=i[e][n],c=i[a][s],[u,p]=S(d),[h,b]=S(c),g={variant:a,speed:s},v=r({...g,control:"stiffness"}),C=r({...g,control:"damping"}),w={variant:e,speed:n},N=r({...w,control:"stiffness"}),V=r({...w,control:"damping"});x((()=>{const t=getComputedStyle(document.documentElement),o={damping:Number(t.getPropertyValue(V)),stiffness:Number(t.getPropertyValue(N))},e={damping:Number(t.getPropertyValue(C)),stiffness:Number(t.getPropertyValue(v))};p(o),b(e)}),[C,v,V,N]);const z=y((()=>({type:"spring",mass:1,...u,layout:u,opacity:h,color:h,borderColor:h,backgroundColor:h})),[h,u]);return l(m,{features:k,strict:!0,children:l(f,{transition:z,reducedMotion:t,children:o})})}var P=t(),R=u.create(P),G=b((function({palette:t,variant:r,size:i,startIcon:a,endIcon:m,iconVariant:f,loading:b,disableEffects:S,children:x,asChild:N,type:V="button",className:T,width:W,...k},P){const G=g(null);v(P,(()=>G.current));const j=m?"icon":"hide",A=(({startIcon:t,endIcon:o,loading:e})=>t||o||e?"withIcon":"withoutIcon")({startIcon:a,endIcon:m,loading:b}),$=(({loading:t,startIcon:o})=>t?"loading":o?"icon":"hide")({loading:b,startIcon:a}),L={button:o({width:W,buttonSize:i,buttonVariant:r,buttonPalette:t,className:e("uds-button","uds-ring","uds-hit-target",b&&"uds-button-loading",S&&"uds-button-without-effects","withIcon"===A&&"uds-button-with-gap",T)}),content:"uds-button-content truncate",iconContainer:"uds-button-icon-container flex overflow-clip",loading:"uds-button-icon start-content animate-spin",start:"uds-button-icon start-content",end:"uds-button-icon end-content"},D=p()?"smooth":"subtle",U=y((()=>l(u.span,{className:L.iconContainer,initial:!1,variants:I,animate:$,children:d(h,{initial:!1,mode:"popLayout",children:[b&&l(u.span,{variants:E,initial:"hide",animate:"loading",exit:"hide",children:l(n,{size:s,name:H,variant:f,color:"current",className:L.loading})},"loading"),a&&!b&&l(u.span,{variants:z,initial:"hide",animate:"icon",exit:"hide",children:l(n,{size:s,name:a,variant:f,color:"current",className:L.start})},a.name)]})})),[L.iconContainer,L.loading,L.start,$,b,f,a]),J=y((()=>l(u.span,{className:L.iconContainer,initial:!1,variants:I,animate:j,children:l(h,{initial:!1,mode:"popLayout",children:m&&l(u.span,{variants:z,initial:"hide",animate:"icon",exit:"hide",children:l(n,{size:s,name:m,variant:f,color:"current",className:L.start})},m.name)})})),[L.iconContainer,L.start,m,j,f]),Q=y((()=>S?{...B,rest:{},hover:{},pressed:{}}:B),[S]);return N&&C(x)?l(M,{layoutSpeed:"3",layoutVariant:D,children:l(R,{type:V,className:L.button,initial:["hide",A],animate:A,variants:Q,whileHover:"hover",whileTap:"pressed",...k,children:w(x,x.props,d(c,{children:[U,l("span",{className:L.content,children:x.props.children}),J]}))})}):l(M,{layoutSpeed:"3",layoutVariant:D,children:d(u.button,{ref:G,type:V,className:L.button,initial:["hide",A],animate:A,variants:Q,whileHover:"hover",whileTap:"pressed",...k,children:[U,l("span",{className:L.content,children:x}),J]})})})),j=b((function({palette:t,variant:r,size:i,iconVariant:a,loading:c,disableEffects:m,name:f,type:b="button",className:C,children:w,...S},x){const N=g(null);v(x,(()=>N.current));const V=y((()=>({button:o({buttonVariant:r,buttonPalette:t,iconButtonSize:i,className:e("uds-icon-button","uds-button","uds-ring","uds-hit-target",c&&"uds-button-loading",m&&"uds-button-without-effects",C)}),loading:"uds-button-icon start-content animate-spin",icon:"uds-button-icon start-content"})),[t,r,C,m,i,c]),T=p(),W=y((()=>T?"smooth":"subtle"),[T]),I=y((()=>{const{rest:t,hover:o,pressed:e}=B;return m?{rest:{},hover:{},pressed:{}}:{rest:t,hover:o,pressed:e}}),[m]);return l(M,{layoutSpeed:"3",layoutVariant:W,reducedMotion:m?"always":"user",children:l(u.button,{ref:N,type:b,className:V.button,initial:"icon",variants:I,whileHover:"hover",whileTap:"pressed",...S,children:d(h,{initial:!1,mode:"popLayout",children:[c&&l(u.span,{variants:E,initial:"loading",animate:"loading",exit:"hide",children:l(n,{size:s,name:H,variant:a,color:"current",className:V.loading})},"loading"),f&&!c&&l(u.span,{variants:z,initial:"icon",animate:"icon",exit:"hide",children:w||l(n,{size:s,name:f,variant:a,color:"current",className:V.icon})},f.name)]})})})})),A=t(),$=b((function({className:t,asChild:e,onPress:n,onClick:r=n,backgroundColor:i,borderRadius:a,borderTopStartRadius:s,borderTopEndRadius:d,borderBottomStartRadius:c,borderBottomEndRadius:u,borderColor:p,borderStartColor:h,borderEndColor:m,borderTopColor:f,borderBottomColor:b,borderWidth:g,borderVerticalWidth:v,borderHorizontalWidth:y,borderStartWidth:C,borderEndWidth:w,borderTopWidth:S,borderBottomWidth:x,alignContent:N,alignItems:V,alignSelf:z,flex:E,flexDirection:T,flexGrow:W,flexShrink:B,flexWrap:I,justifyContent:H,flexBasis:k,display:M,overflow:P,overflowX:R,overflowY:G,position:j,spacing:$,spacingHorizontal:L,spacingVertical:D,spacingBottom:U,spacingEnd:J,spacingStart:Q,spacingTop:X,offset:Y,offsetVertical:F,offsetHorizontal:K,offsetBottom:O,offsetEnd:q,offsetStart:Z,offsetTop:_,columnGap:tt,rowGap:ot,...et},nt){const rt=o({backgroundColor:i,borderRadius:a,borderTopStartRadius:s,borderTopEndRadius:d,borderBottomStartRadius:c,borderBottomEndRadius:u,borderColor:p,borderStartColor:h,borderEndColor:m,borderTopColor:f,borderBottomColor:b,borderWidth:g,borderVerticalWidth:v,borderHorizontalWidth:y,borderStartWidth:C,borderEndWidth:w,borderTopWidth:S,borderBottomWidth:x,alignContent:N,alignItems:V,alignSelf:z,flex:E,flexDirection:T,flexGrow:W,flexShrink:B,flexWrap:I,justifyContent:H,flexBasis:k,display:M,overflow:P,overflowX:R,overflowY:G,position:j,spacing:$,spacingHorizontal:L,spacingVertical:D,spacingBottom:U,spacingEnd:J,spacingStart:Q,spacingTop:X,offset:Y,offsetVertical:F,offsetHorizontal:K,offsetBottom:O,offsetEnd:q,offsetStart:Z,offsetTop:_,columnGap:tt,rowGap:ot,className:t});return l(e?A:"button",{className:rt,ref:nt,onClick:r,...et})}));
4
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Button,j as IconButton,$ as Pressable,M as SpringMotionConfig};
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),r=require("motion/react"),t=require("@yahoo/uds/fixtures"),o=require("@yahoo/uds/flags"),n=require("clsx"),a=require("imurmurhash"),i=require("tailwind-merge"),l=require("react"),s=require("lodash-es"),d=require("@yahoo/uds/client"),p=require("@ariakit/react"),c=require("react-toastify");function m(e){return e&&e.__esModule?e:{default:e}}var b=m(n),u=m(a),x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})};x.metadata={name:"CheckBox",isSvgIcon:!0};var f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e.jsx(e.Fragment,{})};f.metadata={name:"ChevronRight",isSvgIcon:!0};var g=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})};g.metadata={name:"Cross",isSvgIcon:!0};var h=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function y(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}h.metadata={name:"Square",isSvgIcon:!0};var w="uds",v={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",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},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",current:"border-current"},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",current:"border-s-current"},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",current:"border-e-current"},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",current:"border-b-current"},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",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${w}-color-mode-dark`,light:`${w}-color-mode-light`},scaleMode:{xSmall:`${w}-scale-mode-xsmall`,small:`${w}-scale-mode-small`,medium:`${w}-scale-mode-medium`,large:`${w}-scale-mode-large`,xLarge:`${w}-scale-mode-xlarge`,xxxLarge:`${w}-scale-mode-xxxlarge`,xxLarge:`${w}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"},width:{full:"w-full",fit:"w-fit",screen:"w-screen"},height:{full:"h-full",fit:"h-fit",screen:"h-screen"}};function j(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var C,z=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),k=(...e)=>{const r=b.default(e);return z(r)},S=(C={variants:v},e=>{if(!C?.variants)return k(C?.base,e?.className);const{variants:r,defaultVariants:t}=C,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],i=y(n)||y(a);return r[o][i]})),n={...t,...e&&j(e)},a=C?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?k(e,r):e),"");return k(C?.base,o,a,e?.className)}),T=new Map,W=e=>{const{useGetStylesCache:r}=o.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(j(e)),t=(new u.default).hash(JSON.stringify(r)).result();if(T.has(t))return T.get(t);const o=S(r);return T.set(t,o),o}return S(e)};function B(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function N(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?B(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var R=N(),H=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:T,flexWrap:B,justifyContent:N,flexBasis:H,display:E="flex",overflow:V,overflowX:P,overflowY:F,position:I,spacing:M,spacingHorizontal:D,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,width:ee,height:re,...te},oe){const ne=W({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:T,flexWrap:B,justifyContent:N,flexBasis:H,display:E,overflow:V,overflowX:P,overflowY:F,position:I,spacing:M,spacingHorizontal:D,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,width:ee,height:re,className:t}),ae=r?R:"div";return e.jsx(ae,{className:ne,ref:oe,...te})})),E=(e,r)=>((e,r)=>{const t=s.isFunction(r)?r:()=>r;return e.flatMap(((e,r)=>0!==r?[t(r),e]:[e]))})(l.Children.toArray(e),(e=>{const t=s.isFunction(r)?r(e):r;return l.isValidElement(t)?l.cloneElement(t,{...t.props,key:t.key??`interspersed-${e}`}):null})),V=l.forwardRef((function({gap:r,children:t,separator:o,...n},a){return e.jsx(H,{ref:a,flexDirection:"row",rowGap:r,columnGap:r,...n,children:o?E(t,o):t})})),P={sm:16,md:24,lg:32},F=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...i},l){const s=W({color:n,flex:"none",className:a}),d=P[t];return e.jsx("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e.jsx(r,{size:t,variant:o})})})),I=N(),M={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},D=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=M[n],fontSize:i=n,fontFamily:l=n,fontWeight:s=n,lineHeight:d=n,textTransform:p=n,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:E,flex:V,flexDirection:P,flexGrow:F,flexShrink:D,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de,...pe},ce){const me=W({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:N,alignContent:R,alignItems:H,alignSelf:E,flex:V,flexDirection:P,flexGrow:F,flexShrink:D,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de}),be=t?I:a;return e.jsx(be,{className:me,ref:ce,...pe})})),G=l.forwardRef((function({gap:r,children:t,separator:o,...n},a){return e.jsx(H,{ref:a,flexDirection:"column",columnGap:r,rowGap:r,...n,children:o?E(t,o):t})}));var L={accent:"on-color",secondary:"primary"},q={accent:"on-color",secondary:"tertiary"};var A=p.Popover,$=p.PopoverArrow,O=p.PopoverAnchor,_=p.PopoverDescription,X=p.PopoverDismiss,Y=p.PopoverProvider,J=p.PopoverDisclosure,Z=p.PopoverDisclosureArrow,K=Y,Q=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const i=p.usePopoverStore(),s=l.useCallback((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e.jsx(d.Pressable,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:k(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?s:void 0,ref:a,...n,children:r})}));var U=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(G,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:k("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs(A,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx($,{className:"!stroke-2"}),r]})})}));var ee=p.DialogDismiss,re=N();var te=l.forwardRef((function({className:r,...t},o){const n=W({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(p.TabList,{ref:o,...t,className:n})})),oe=l.forwardRef((function(r,t){const o=p.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(p.TabPanel,{ref:t,tabId:n,...r})}));function ne({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:k(W({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function ae({children:r,required:t}){return e.jsxs(D,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(D,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var ie=W({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),le=W({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),se=W({backgroundColor:"positive"}),de=W({backgroundColor:"alert"}),pe=W({backgroundColor:"accent"}),ce=W({backgroundColor:"warning"}),me=W({backgroundColor:"accent"}),be=W({backgroundColor:"brand"}),ue=W({backgroundColor:"accent"}),xe=e=>"default"===e?.type?k(ie,ue):e?.defaultClassName??"";function fe(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:se,error:de,info:pe,warning:ce,default:me,dark:be}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return k(n,o)}function ge({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(d.IconButton,{name:g,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
3
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */Object.defineProperty(exports,"usePopoverStore",{enumerable:!0,get:function(){return p.usePopoverStore}}),Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return c.toast}}),exports.Accordion=function({label:t,children:o,onClick:n,open:a,spacingHorizontal:i="4",_content:l,className:s,textProps:p,...c}){return e.jsxs(d.SpringMotionConfig,{layoutVariant:"smooth",layoutSpeed:"3",children:[e.jsxs(d.Pressable,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:i,borderRadius:"md",onClick:n,className:k("hover:bg-secondary/80","w-full",s),...c,children:[e.jsx(D,{variant:"title4",color:"primary",...p||{},children:t}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{rotate:90},collapsed:{rotate:0}},"data-testid":"chevron-motion",children:e.jsx(F,{name:f,variant:"fill",size:"sm",color:"primary"})})})]}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0,overflow:"hidden"}},children:e.jsx(G,{spacingHorizontal:i,...l,children:o})},"content")})]})},exports.CheckBox=({label:r,checked:t,onChange:o})=>e.jsx(V,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:t,onChange:e=>{o(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e.jsx(F,{name:t?x:h,color:"tertiary",size:"md"}),e.jsx(D,{variant:"label2",color:"secondary",className:"select-none",children:r})]})}),exports.Chip=function({children:r,variant:t,startIcon:o,startContent:n=(o?e.jsx(F,{name:o,variant:"fill",size:"sm",color:L[t]}):null),endIcon:a,endContent:i=(a?e.jsx(F,{name:a,variant:"fill",size:"sm",color:L[t]}):null)}){return e.jsxs(d.Pressable,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:t,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e.jsx(D,{variant:"label2",color:q[t],children:r}),i]})},exports.Dropdown=K,exports.DropdownItem=function({title:r,description:t,_title:o,_description:n,startIcon:a,endIcon:i,...l}){return e.jsxs(Q,{...l,children:[a&&e.jsx(F,{name:a,size:"md",color:"primary"}),e.jsxs(G,{gap:"3",alignItems:"flex-start",children:[r&&e.jsx(D,{variant:"headline1",color:"primary",...o,children:r}),t&&e.jsx(D,{variant:"label2",color:"muted",...n,children:t})]}),i&&e.jsx(F,{name:i,size:"md",color:"primary"})]})},exports.DropdownItemPressable=Q,exports.DropdownItems=U,exports.DropdownTrigger=function(r){return e.jsx(J,{render:t=>r.children?e.jsx(H,{...t,asChild:!0,children:e.jsx(d.Button,{startIcon:r.startIcon,...r,children:r.children})}):e.jsx(H,{...t,asChild:!0,children:e.jsx(d.IconButton,{...r,name:r.name??r.startIcon})})})},exports.Modal=function({className:r,...t}){return e.jsx(G,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:k("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e.jsx(p.Dialog,{backdrop:e.jsx("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})},exports.ModalDismiss=ee,exports.ModalHeader=function({children:r,handleClose:t}){return e.jsxs(V,{alignItems:"center",justifyContent:"space-between",children:[e.jsx(D,{variant:"headline1",color:"primary",children:r}),e.jsx(d.IconButton,{"aria-label":"Close",size:"sm",variant:"tertiary",name:g,onClick:t})]})},exports.Popover=A,exports.PopoverAnchor=O,exports.PopoverArrow=$,exports.PopoverDescription=_,exports.PopoverDisclosure=J,exports.PopoverDisclosureArrow=Z,exports.PopoverDismiss=X,exports.PopoverHeading=function({children:r,leading:t,trailing:o}){return e.jsxs(V,{children:[t,e.jsx(D,{variant:"headline1",color:"primary",asChild:!0,children:e.jsx(p.PopoverHeading,{children:r})}),o]})},exports.PopoverProvider=Y,exports.Tab=function({asChild:r,label:t,value:o,startIcon:n}){const a=r?re:"button",i=W({});if(!p.useTabContext())throw new Error("Tab must be wrapped in a Tabs component");const l=k("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e.jsx(p.Tab,{id:o,className:i,render:e.jsx(d.Pressable,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:l,asChild:!0,children:e.jsxs(a,{children:[n?e.jsx(F,{name:n,className:"text-current",size:"md"}):null,e.jsx(D,{className:"text-current",variant:"headline1",as:"span",children:t})]})})})},exports.TabList=te,exports.TabPanel=oe,exports.Tabs=function(r){return e.jsx(p.TabProvider,{...r})},exports.TextInput=ne,exports.TextInputGroup=function({label:r,required:t,...o}){return e.jsxs(G,{gap:"4",className:"w-full",children:[e.jsx(ae,{required:t,children:r}),e.jsx(ne,{required:t,...o})]})},exports.TextInputLabel=ae,exports.ToastContainer=function(r){return e.jsx(c.ToastContainer,{toastClassName:xe,className:le,progressClassName:fe,transition:c.Slide,closeButton:ge,...r})},exports.getProgressClassName=fe,exports.getToastClassName=xe,exports.useModalStore=function(e){return p.useDialogStore({animated:!0,...e})};
2
+ "use strict";var e=require("react/jsx-runtime"),r=require("motion/react"),t=require("@yahoo/uds/fixtures"),o=require("@yahoo/uds/flags"),n=require("clsx"),a=require("imurmurhash"),i=require("tailwind-merge"),l=require("react"),s=require("lodash-es"),d=require("@yahoo/uds/client"),p=require("@ariakit/react"),c=require("react-toastify");function m(e){return e&&e.__esModule?e:{default:e}}var b=m(n),u=m(a),x=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2.8 2.8v10.4h10.4V2.8zM1 1h14v14H1zm10.684 5.131-1.386-1.148-2.846 3.435-1.708-1.69-1.267 1.278 3.106 3.076z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.8 4.8v14.4h14.4V4.8zM3 3h18v18H3zm13.74 6.131-1.387-1.148-4.174 5.04-2.519-2.494-1.266 1.28 3.916 3.877z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M4.1 4.1v23.8h23.8V4.1zM2 2h28v28H2zm21.548 9.348L21.777 9.88l-7.032 8.489-4.253-4.21-1.618 1.634 6.039 5.979z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M15 1H1v14h14zm-2.816 4.881-4.722 5.7-3.485-3.45 1.267-1.279L7.33 8.918l3.467-4.185z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M21 3H3v18h18zm-4.066 6.131-5.55 6.7-3.99-3.95 1.266-1.279 2.592 2.566 4.295-5.185z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M30 2H2v28h28zm-6.452 9.348-8.635 10.425-6.04-5.979 1.619-1.635 4.253 4.211 7.031-8.49z"})})}return e.jsx(e.Fragment,{})};x.metadata={name:"CheckBox",isSvgIcon:!0};var f=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.21 7.784-6.415 6.414-1.414-1.414 5-5-5-5L6.795 1.37z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.24 11.56-7.484 7.25-1.516-1.47 5.969-5.781L8.24 5.778 9.756 4.31z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.12 15.648 10.735 28.415l-1.853-1.767 11.533-11-11.533-11 1.853-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.628 8 7 14.627 5.375 13l5-5-5-5 1.626-1.626z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m17.763 12-7.686 7.686-1.839-1.838L14.086 12 8.238 6.153l1.839-1.839z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M24.122 16 11 29.122 8.88 27l11-11-11-11L11 2.88z"})})}return e.jsx(e.Fragment,{})};f.metadata={name:"ChevronRight",isSvgIcon:!0};var g=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.169 7.896 5.364-5.363L13.26 1.26 7.896 6.624 2.533 1.26 1.26 2.533l5.363 5.363L1.26 13.26l1.273 1.273 5.363-5.364 5.364 5.364 1.273-1.273z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m9.485 8 5.257-5.258-1.485-1.484L8 6.515 2.742 1.258 1.257 2.742 6.515 8l-5.258 5.258 1.485 1.485L8 9.485l5.257 5.258 1.485-1.485z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return e.jsx(e.Fragment,{})};g.metadata={name:"Cross",isSvgIcon:!0};var h=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M13.2 2.8v10.4H2.8V2.8zM1 1v14h14V1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M19.2 4.8v14.4H4.8V4.8zM3 3v18h18V3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M27.9 4.1v22.8H4.1V4.1zM2 2v27h28V2z"})})}if("fill"===t)switch(r){case"sm":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M1 1h14v14H1z"})});case"md":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M3 3h18v18H3z"})});case"lg":return e.jsx(e.Fragment,{children:e.jsx("path",{fill:"currentColor",d:"M2 2h28v27H2z"})})}return e.jsx(e.Fragment,{})};function y(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}h.metadata={name:"Square",isSvgIcon:!0};var w="uds",v={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",current:"text-current"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary",current:"placeholder:text-current"},fontFamily:{sans:"font-sans","sans-alt":"font-sans-alt",serif:"font-serif","serif-alt":"font-serif-alt",mono:"font-mono",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px",.5:"p-0.5",1:"p-1",1.5:"p-1.5",2:"p-2",2.5:"p-2.5",3:"p-3",3.5:"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px",.5:"px-0.5",1:"px-1",1.5:"px-1.5",2:"px-2",2.5:"px-2.5",3:"px-3",3.5:"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px",.5:"py-0.5",1:"py-1",1.5:"py-1.5",2:"py-2",2.5:"py-2.5",3:"py-3",3.5:"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px",.5:"pb-0.5",1:"pb-1",1.5:"pb-1.5",2:"pb-2",2.5:"pb-2.5",3:"pb-3",3.5:"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px",.5:"pe-0.5",1:"pe-1",1.5:"pe-1.5",2:"pe-2",2.5:"pe-2.5",3:"pe-3",3.5:"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px",.5:"ps-0.5",1:"ps-1",1.5:"ps-1.5",2:"ps-2",2.5:"ps-2.5",3:"ps-3",3.5:"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px",.5:"pt-0.5",1:"pt-1",1.5:"pt-1.5",2:"pt-2",2.5:"pt-2.5",3:"pt-3",3.5:"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px",.5:"-m-0.5",1:"-m-1",1.5:"-m-1.5",2:"-m-2",2.5:"-m-2.5",3:"-m-3",3.5:"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px",.5:"-my-0.5",1:"-my-1",1.5:"-my-1.5",2:"-my-2",2.5:"-my-2.5",3:"-my-3",3.5:"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px",.5:"-mx-0.5",1:"-mx-1",1.5:"-mx-1.5",2:"-mx-2",2.5:"-mx-2.5",3:"-mx-3",3.5:"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px",.5:"-mb-0.5",1:"-mb-1",1.5:"-mb-1.5",2:"-mb-2",2.5:"-mb-2.5",3:"-mb-3",3.5:"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px",.5:"-me-0.5",1:"-me-1",1.5:"-me-1.5",2:"-me-2",2.5:"-me-2.5",3:"-me-3",3.5:"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px",.5:"-ms-0.5",1:"-ms-1",1.5:"-ms-1.5",2:"-ms-2",2.5:"-ms-2.5",3:"-ms-3",3.5:"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px",.5:"-mt-0.5",1:"-mt-1",1.5:"-mt-1.5",2:"-mt-2",2.5:"-mt-2.5",3:"-mt-3",3.5:"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px",.5:"gap-x-0.5",1:"gap-x-1",1.5:"gap-x-1.5",2:"gap-x-2",2.5:"gap-x-2.5",3:"gap-x-3",3.5:"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px",.5:"gap-y-0.5",1:"gap-y-1",1.5:"gap-y-1.5",2:"gap-y-2",2.5:"gap-y-2.5",3:"gap-y-3",3.5:"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent",current:"bg-current"},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",current:"border-current"},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",current:"border-s-current"},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",current:"border-e-current"},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",current:"border-b-current"},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",current:"border-t-current"},borderRadius:{none:"rounded-none",xs:"rounded-sm",sm:"rounded",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{sm:"avatarSize-sm",md:"avatarSize-md",lg:"avatarSize-lg"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:`${w}-color-mode-dark`,light:`${w}-color-mode-light`},scaleMode:{xSmall:`${w}-scale-mode-xsmall`,small:`${w}-scale-mode-small`,medium:`${w}-scale-mode-medium`,large:`${w}-scale-mode-large`,xLarge:`${w}-scale-mode-xlarge`,xxxLarge:`${w}-scale-mode-xxxlarge`,xxLarge:`${w}-scale-mode-xxlarge`},buttonPalette:{accent:"uds-button-accent",brand:"uds-button-brand",alert:"uds-button-alert",positive:"uds-button-positive",warning:"uds-button-warning"},buttonVariant:{primary:"uds-button-primary",secondary:"uds-button-secondary",tertiary:"uds-button-tertiary"},buttonSize:{sm:"uds-button-sm",md:"uds-button-md",lg:"uds-button-lg"},iconButtonSize:{xs:"uds-icon-button-xs",sm:"uds-icon-button-sm",md:"uds-icon-button-md",lg:"uds-icon-button-lg",xl:"uds-icon-button-xl"},width:{full:"w-full",fit:"w-fit",screen:"w-screen"},height:{full:"h-full",fit:"h-fit",screen:"h-screen"}};function j(e){const r=Object.create(null),t=Object.keys(e);for(let o=0,n=t.length;o<n;o++){const n=t[o];void 0!==e[n]&&(r[n]=e[n])}return r}var C,z=i.extendTailwindMerge({extend:{theme:{borderColor:t.lineColors,borderWidth:t.borderWidths,borderRadius:t.borderRadii}},override:{classGroups:{"text-color":[{text:[...t.foregroundColors,...t.spectrumColors]}],"bg-color":[{bg:t.backgroundColors}],"font-family":[{font:["icons",...t.textVariants]}],leading:[{leading:t.textVariants}]},conflictingClassGroups:{}}}),k=(...e)=>{const r=b.default(e);return z(r)},S=(C={variants:v},e=>{if(!C?.variants)return k(C?.base,e?.className);const{variants:r,defaultVariants:t}=C,o=Object.keys(r).map((o=>{const n=e?.[o],a=t?.[o],i=y(n)||y(a);return r[o][i]})),n={...t,...e&&j(e)},a=C?.compoundVariants?.reduce(((e,{className:r,...t})=>Object.entries(t).every((([e,r])=>n[e]===r))?k(e,r):e),"");return k(C?.base,o,a,e?.className)}),T=new Map,W=e=>{const{useGetStylesCache:r}=o.getFeatureFlags();if(r){const r=function(e){const r=Object.create(null),t=Object.keys(e).sort();for(let o=0,n=t.length;o<n;o++){const n=t[o];r[n]=e[n]}return r}(j(e)),t=(new u.default).hash(JSON.stringify(r)).result();if(T.has(t))return T.get(t);const o=S(r);return T.set(t,o),o}return S(e)};function B(...e){return r=>e.forEach((e=>function(e,r){"function"==typeof e?e(r):null!=e&&(e.current=r)}(e,r)))}function R(){const r=l.forwardRef(((r,o)=>{const{children:a,...i}=r,s=l.Children.toArray(a),d=s.find(n);if(d){const r=d.props.children,n=s.map((e=>e===d?l.Children.count(r)>1?l.Children.only(null):l.isValidElement(r)?r.props.children:null:e));return e.jsx(t,{...i,ref:o,children:l.isValidElement(r)?l.cloneElement(r,void 0,n):null})}return e.jsx(t,{...i,ref:o,children:a})}));r.displayName="Slot";const t=l.forwardRef(((e,r)=>{const{children:t,...o}=e;return l.isValidElement(t)?l.cloneElement(t,{...a(o,t.props),ref:r?B(r,t.ref):t.ref}):l.Children.count(t)>1?l.Children.only(null):null}));t.displayName="SlotClone";const o=({children:e})=>e;function n(e){return l.isValidElement(e)&&e.type===o}function a(e,r){const t={...r};for(const o in r){const n=e[o],a=r[o];/^on[A-Z]/.test(o)?n&&a?t[o]=(...e)=>{a(...e),n(...e)}:n&&(t[o]=n):"style"===o&&(t[o]={...n,...a})}return{...e,...t}}return r}var N=R(),H=l.forwardRef((function({asChild:r,className:t,backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:T,flexWrap:B,justifyContent:R,flexBasis:H,display:E="flex",overflow:V,overflowX:P,overflowY:F,position:I,spacing:M,spacingHorizontal:D,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,width:ee,height:re,...te},oe){const ne=W({backgroundColor:o,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:i,borderBottomStartRadius:l,borderBottomEndRadius:s,borderColor:d,borderStartColor:p,borderEndColor:c,borderTopColor:m,borderBottomColor:b,borderWidth:u,borderVerticalWidth:x,borderHorizontalWidth:f,borderStartWidth:g,borderEndWidth:h,borderTopWidth:y,borderBottomWidth:w,alignContent:v,alignItems:j,alignSelf:C,flex:z,flexDirection:k,flexGrow:S,flexShrink:T,flexWrap:B,justifyContent:R,flexBasis:H,display:E,overflow:V,overflowX:P,overflowY:F,position:I,spacing:M,spacingHorizontal:D,spacingVertical:G,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:$,offset:O,offsetVertical:_,offsetHorizontal:X,offsetBottom:Y,offsetEnd:J,offsetStart:Z,offsetTop:K,columnGap:Q,rowGap:U,width:ee,height:re,className:t}),ae=r?N:"div";return e.jsx(ae,{className:ne,ref:oe,...te})})),E=(e,r)=>((e,r)=>{const t=s.isFunction(r)?r:()=>r;return e.flatMap(((e,r)=>0!==r?[t(r),e]:[e]))})(l.Children.toArray(e),(e=>{const t=s.isFunction(r)?r(e):r;return l.isValidElement(t)?l.cloneElement(t,{...t.props,key:t.key??`interspersed-${e}`}):null})),V=l.forwardRef((function({gap:r,children:t,separator:o,...n},a){return e.jsx(H,{ref:a,flexDirection:"row",rowGap:r,columnGap:r,...n,children:o?E(t,o):t})})),P={sm:16,md:24,lg:32},F=l.forwardRef((function({name:r,size:t="md",variant:o="outline",color:n="primary",className:a,...i},l){const s=W({color:n,flex:"none",className:a}),d=P[t];return e.jsx("svg",{ref:l,xmlns:"http://www.w3.org/2000/svg",width:d,height:d,viewBox:`0 0 ${d} ${d}`,"aria-hidden":"true",focusable:"false",className:s,...i,children:e.jsx(r,{size:t,variant:o})})})),I=R(),M={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},D=l.forwardRef((function({className:r,asChild:t,color:o="primary",variant:n="body1",as:a=M[n],fontSize:i=n,fontFamily:l=n,fontWeight:s=n,lineHeight:d=n,textTransform:p=n,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:R,alignContent:N,alignItems:H,alignSelf:E,flex:V,flexDirection:P,flexGrow:F,flexShrink:D,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de,...pe},ce){const me=W({className:r,color:o,fontFamily:l,fontSize:i,fontWeight:s,lineHeight:d,textTransform:p,textAlign:c,backgroundColor:m,borderRadius:b,borderTopStartRadius:u,borderTopEndRadius:x,borderBottomStartRadius:f,borderBottomEndRadius:g,borderColor:h,borderStartColor:y,borderEndColor:w,borderTopColor:v,borderBottomColor:j,borderWidth:C,borderVerticalWidth:z,borderHorizontalWidth:k,borderStartWidth:S,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:R,alignContent:N,alignItems:H,alignSelf:E,flex:V,flexDirection:P,flexGrow:F,flexShrink:D,flexWrap:G,justifyContent:L,flexBasis:q,display:A,overflow:$,overflowX:O,overflowY:_,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:Z,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:ee,offset:re,offsetVertical:te,offsetHorizontal:oe,offsetBottom:ne,offsetEnd:ae,offsetStart:ie,offsetTop:le,columnGap:se,rowGap:de}),be=t?I:a;return e.jsx(be,{className:me,ref:ce,...pe})})),G=l.forwardRef((function({gap:r,children:t,separator:o,...n},a){return e.jsx(H,{ref:a,flexDirection:"column",columnGap:r,rowGap:r,...n,children:o?E(t,o):t})}));var L={accent:"on-color",secondary:"primary"},q={accent:"on-color",secondary:"tertiary"};var A=p.Popover,$=p.PopoverArrow,O=p.PopoverAnchor,_=p.PopoverDescription,X=p.PopoverDismiss,Y=p.PopoverProvider,J=p.PopoverDisclosure,Z=p.PopoverDisclosureArrow,K=Y,Q=l.forwardRef((function({children:r,disabled:t,onClick:o,...n},a){const i=p.usePopoverStore(),s=l.useCallback((e=>{e.preventDefault();o?.((()=>i.setOpen(!1)))}),[o,i]);return e.jsx(d.Pressable,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"4",spacingHorizontal:"8",columnGap:"3",borderColor:"muted",className:k(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:o?s:void 0,ref:a,...n,children:r})}));var U=l.forwardRef((function({children:r,className:t,overflow:o="scroll",...n},a){return e.jsx(G,{borderRadius:"lg",backgroundColor:"primary",position:"relative",className:k("z-10 max-h-[312px] min-w-[220px] shadow-md",t),overflow:o,asChild:!0,children:e.jsxs(A,{preventBodyScroll:!0,autoFocusOnHide:!1,...n,ref:a,children:[e.jsx($,{className:"!stroke-2"}),r]})})}));var ee=p.DialogDismiss,re=R();var te=l.forwardRef((function({className:r,...t},o){const n=W({display:"flex",flexDirection:"row",columnGap:"6",className:r});return e.jsx(p.TabList,{ref:o,...t,className:n})})),oe=l.forwardRef((function(r,t){const o=p.useTabContext();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");const n=o.useState("selectedId");return e.jsx(p.TabPanel,{ref:t,tabId:n,...r})}));function ne({className:r,disabled:t,backgroundColor:o=(t?"secondary":"primary"),borderColor:n="tertiary",borderWidth:a="thin",borderRadius:i="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:d="3",spacingHorizontal:p="4",fontSize:c="body1",...m}){return e.jsx("input",{type:"text","data-1p-ignore":!0,className:k(W({backgroundColor:o,borderColor:n,borderWidth:a,borderRadius:i,spacingVertical:d,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",r),disabled:t,...m})}function ae({children:r,required:t}){return e.jsxs(D,{variant:"caption2",color:"primary",children:[r,t&&e.jsx(D,{variant:"caption2",as:"span",color:"alert",spacingStart:"0.5",children:"*"})]})}var ie=W({borderRadius:"md",spacingVertical:"2",spacingHorizontal:"3",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),le=W({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),se=W({backgroundColor:"positive"}),de=W({backgroundColor:"alert"}),pe=W({backgroundColor:"accent"}),ce=W({backgroundColor:"warning"}),me=W({backgroundColor:"accent"}),be=W({backgroundColor:"brand"}),ue=W({backgroundColor:"accent"}),xe=e=>"default"===e?.type?k(ie,ue):e?.defaultClassName??"";function fe(e){const{type:r="default",defaultClassName:t=""}=e??{},o={success:se,error:de,info:pe,warning:ce,default:me,dark:be}[r],n=t.replace(/Toastify__progress-bar-theme--light/,"");return k(n,o)}function ge({closeToast:r,type:t}){const o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"accent",dark:"accent"}[t];return e.jsx(d.IconButton,{name:g,size:"sm",palette:o,onClick:r,className:"h-fit self-center"})}
3
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */Object.defineProperty(exports,"usePopoverStore",{enumerable:!0,get:function(){return p.usePopoverStore}}),Object.defineProperty(exports,"toast",{enumerable:!0,get:function(){return c.toast}}),exports.Accordion=function({label:t,children:o,onClick:n,open:a,spacingHorizontal:i="4",_content:l,className:s,textProps:p,...c}){return e.jsxs(d.SpringMotionConfig,{layoutVariant:"smooth",layoutSpeed:"3",children:[e.jsxs(d.Pressable,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"4",spacingHorizontal:i,borderRadius:"md",onClick:n,className:k("hover:bg-secondary/80","w-full",s),...c,children:[e.jsx(D,{variant:"title4",color:"primary",...p||{},children:t}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{rotate:90},collapsed:{rotate:0}},"data-testid":"chevron-motion",children:e.jsx(F,{name:f,variant:"fill",size:"sm",color:"primary"})})})]}),e.jsx(r.AnimatePresence,{initial:!1,children:e.jsx(r.m.div,{initial:"collapsed",animate:a?"open":"collapsed",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0,overflow:"hidden"}},children:e.jsx(G,{spacingHorizontal:i,...l,children:o})},"content")})]})},exports.CheckBox=({label:r,checked:t,onChange:o})=>e.jsx(V,{asChild:!0,alignItems:"center",className:"cursor-pointer",gap:"2",children:e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:t,onChange:e=>{o(e.target.checked)},className:"!max-w-0 cursor-pointer opacity-0"}),e.jsx(F,{name:t?x:h,color:"tertiary",size:"md"}),e.jsx(D,{variant:"label2",color:"secondary",className:"select-none",children:r})]})}),exports.Chip=function({children:r,variant:t,startIcon:o,startContent:n=(o?e.jsx(F,{name:o,variant:"fill",size:"sm",color:L[t]}):null),endIcon:a,endContent:i=(a?e.jsx(F,{name:a,variant:"fill",size:"sm",color:L[t]}):null)}){return e.jsxs(d.Pressable,{display:"inline-flex",flexDirection:"row",columnGap:"2",borderRadius:"full",backgroundColor:t,alignItems:"center",spacingVertical:"2",spacingHorizontal:"3",children:[n,e.jsx(D,{variant:"label2",color:q[t],children:r}),i]})},exports.Dropdown=K,exports.DropdownItem=function({title:r,description:t,_title:o,_description:n,startIcon:a,endIcon:i,...l}){return e.jsxs(Q,{...l,children:[a&&e.jsx(F,{name:a,size:"md",color:"primary"}),e.jsxs(G,{gap:"3",alignItems:"flex-start",children:[r&&e.jsx(D,{variant:"headline1",color:"primary",...o,children:r}),t&&e.jsx(D,{variant:"label2",color:"muted",...n,children:t})]}),i&&e.jsx(F,{name:i,size:"md",color:"primary"})]})},exports.DropdownItemPressable=Q,exports.DropdownItems=U,exports.DropdownTrigger=function(r){return e.jsx(J,{render:t=>r.children?e.jsx(H,{...t,asChild:!0,children:e.jsx(d.Button,{startIcon:r.startIcon,...r,children:r.children})}):e.jsx(H,{...t,asChild:!0,children:e.jsx(d.IconButton,{...r,name:r.name??r.startIcon})})})},exports.Modal=function({className:r,...t}){return e.jsx(G,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:k("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",r),spacing:"8",asChild:!0,overflow:"hidden",children:e.jsx(p.Dialog,{backdrop:e.jsx("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-60 data-[enter]:backdrop-blur-sm"}),...t})})},exports.ModalDismiss=ee,exports.ModalHeader=function({children:r,handleClose:t}){return e.jsxs(V,{alignItems:"center",justifyContent:"space-between",children:[e.jsx(D,{variant:"headline1",color:"primary",children:r}),e.jsx(d.IconButton,{"aria-label":"Close",size:"sm",variant:"tertiary",name:g,onClick:t})]})},exports.Popover=A,exports.PopoverAnchor=O,exports.PopoverArrow=$,exports.PopoverDescription=_,exports.PopoverDisclosure=J,exports.PopoverDisclosureArrow=Z,exports.PopoverDismiss=X,exports.PopoverHeading=function({children:r,leading:t,trailing:o}){return e.jsxs(V,{children:[t,e.jsx(D,{variant:"headline1",color:"primary",asChild:!0,children:e.jsx(p.PopoverHeading,{children:r})}),o]})},exports.PopoverProvider=Y,exports.Tab=function({asChild:r,label:t,value:o,startIcon:n}){const a=r?re:"button",i=W({});if(!p.useTabContext())throw new Error("Tab must be wrapped in a Tabs component");const l=k("text-tertiary","border-b-transparent","aria-selected:border-b-accent","aria-selected:text-accent");return e.jsx(p.Tab,{id:o,className:i,render:e.jsx(d.Pressable,{borderBottomWidth:"thick",spacingBottom:"1",spacingTop:"4",className:l,asChild:!0,children:e.jsxs(a,{children:[n?e.jsx(F,{name:n,className:"text-current",size:"md"}):null,e.jsx(D,{className:"text-current",variant:"headline1",as:"span",children:t})]})})})},exports.TabList=te,exports.TabPanel=oe,exports.Tabs=function(r){return e.jsx(p.TabProvider,{...r})},exports.TextInput=ne,exports.TextInputGroup=function({label:r,required:t,...o}){return e.jsxs(G,{width:"full",gap:"4",children:[e.jsx(ae,{required:t,children:r}),e.jsx(ne,{required:t,...o})]})},exports.TextInputLabel=ae,exports.ToastContainer=function(r){return e.jsx(c.ToastContainer,{toastClassName:xe,className:le,progressClassName:fe,transition:c.Slide,closeButton:ge,...r})},exports.getProgressClassName=fe,exports.getToastClassName=xe,exports.useModalStore=function(e){return p.useDialogStore({animated:!0,...e})};