@yahoo/uds 3.54.3 → 3.55.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 (94) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/utils/analytics.ts +25 -14
  6. package/dist/{Box-Dj8Mwnuq.d.cts → Box-BrCNYpJf.d.cts} +1 -1
  7. package/dist/{Box-ZfxGUUQ-.d.ts → Box-DvNI3HDT.d.ts} +1 -1
  8. package/dist/{Pressable-BsSxG1mQ.d.ts → Pressable-C_cD8YqL.d.ts} +1 -1
  9. package/dist/{Pressable-C042bbJQ.d.cts → Pressable-CpTWnaJC.d.cts} +1 -1
  10. package/dist/{Text-CVlnCCWA.d.cts → Text-CpFNy7i9.d.cts} +1 -1
  11. package/dist/{Text-fHksnirL.d.ts → Text-DxibXWon.d.ts} +1 -1
  12. package/dist/{VStack-CF3Bbwfr.d.cts → VStack-BZA9jJeV.d.cts} +2 -2
  13. package/dist/{VStack-BX-qY0m6.d.ts → VStack-CITd7-eN.d.ts} +2 -2
  14. package/dist/chunk-4BTEHROM.js +1 -0
  15. package/dist/{chunk-YWP3R2P2.js → chunk-5V32DSCR.js} +2 -2
  16. package/dist/{chunk-DCTSKJXQ.js → chunk-65GK2EDI.js} +1 -1
  17. package/dist/{chunk-UAZKJN3V.cjs → chunk-6MXNBOZO.cjs} +1 -1
  18. package/dist/{chunk-SBK2EDRB.cjs → chunk-AHOWBDMO.cjs} +2 -2
  19. package/dist/{chunk-G3RQYJ6X.js → chunk-DFZT2E6V.js} +2 -2
  20. package/dist/{chunk-3BVESHGU.cjs → chunk-DTZUJFHH.cjs} +1 -1
  21. package/dist/{chunk-XBZ4RUDC.js → chunk-E6Q2IF33.js} +1 -1
  22. package/dist/{chunk-5EBVETDI.cjs → chunk-FREQX5KF.cjs} +1 -1
  23. package/dist/{chunk-CPMKE2FG.js → chunk-KGQBYCWG.js} +1 -1
  24. package/dist/{chunk-LN2Y35HM.cjs → chunk-N52EAOOT.cjs} +1 -1
  25. package/dist/{chunk-4FZ4FV7F.cjs → chunk-NXVOHNXW.cjs} +1 -1
  26. package/dist/{chunk-CC52QB72.js → chunk-SAFLCQFN.js} +1 -1
  27. package/dist/{chunk-4HNO3P5K.js → chunk-TBKJVNN7.js} +3 -3
  28. package/dist/{chunk-KPDAURS7.js → chunk-TWSJ5YSB.js} +1 -1
  29. package/dist/{chunk-NGHQEWBP.cjs → chunk-TZYU57BN.cjs} +1 -1
  30. package/dist/{chunk-TYL3EGNR.cjs → chunk-WJWKTJQO.cjs} +1 -1
  31. package/dist/{chunk-CLZOHJHB.cjs → chunk-YHSLACUJ.cjs} +1 -1
  32. package/dist/client/Menu.cjs +1 -1
  33. package/dist/client/Menu.d.cts +4 -4
  34. package/dist/client/Menu.d.ts +4 -4
  35. package/dist/client/Menu.js +2 -2
  36. package/dist/client/index.cjs +1 -1
  37. package/dist/client/index.d.cts +4 -4
  38. package/dist/client/index.d.ts +4 -4
  39. package/dist/client/index.js +1 -1
  40. package/dist/defaultTokensConfig.cjs +1 -1
  41. package/dist/defaultTokensConfig.d.cts +2 -2
  42. package/dist/defaultTokensConfig.d.ts +2 -2
  43. package/dist/defaultTokensConfig.js +1 -1
  44. package/dist/experimental/client/SwitchV2.cjs +2 -1
  45. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  46. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  47. package/dist/experimental/client/SwitchV2.js +2 -1
  48. package/dist/experimental/client/index.cjs +1 -1
  49. package/dist/experimental/client/index.js +1 -1
  50. package/dist/experimental/index.cjs +1 -1
  51. package/dist/experimental/index.js +1 -1
  52. package/dist/{index-OprbCsvg.d.ts → index-Bj4zcQ8D.d.ts} +8 -8
  53. package/dist/{index-e-O3LVBN.d.cts → index-fOaETFpl.d.cts} +8 -8
  54. package/dist/index.cjs +1 -1
  55. package/dist/index.d.cts +105 -105
  56. package/dist/index.d.ts +105 -105
  57. package/dist/index.js +1 -1
  58. package/dist/metafile-cjs.json +1 -1
  59. package/dist/metafile-esm.json +1 -1
  60. package/dist/tailwind/plugin.cjs +1 -1
  61. package/dist/tailwind/plugin.d.cts +3 -3
  62. package/dist/tailwind/plugin.d.ts +3 -3
  63. package/dist/tailwind/plugin.js +1 -1
  64. package/dist/tailwind/purger.cjs +1 -1
  65. package/dist/tailwind/purger.js +1 -1
  66. package/dist/tailwind/tsMorph.cjs +1 -1
  67. package/dist/tailwind/tsMorph.js +2 -2
  68. package/dist/tailwind/utils.cjs +1 -1
  69. package/dist/tailwind/utils.d.cts +5 -5
  70. package/dist/tailwind/utils.d.ts +5 -5
  71. package/dist/tailwind/utils.js +1 -1
  72. package/dist/tokens/automation/configs.cjs +1 -1
  73. package/dist/tokens/automation/configs.d.cts +2 -2
  74. package/dist/tokens/automation/configs.d.ts +2 -2
  75. package/dist/tokens/automation/configs.js +1 -1
  76. package/dist/tokens/automation/properties.cjs +1 -1
  77. package/dist/tokens/automation/properties.d.cts +2 -2
  78. package/dist/tokens/automation/properties.d.ts +2 -2
  79. package/dist/tokens/automation/properties.js +1 -1
  80. package/dist/tokens/index.cjs +1 -1
  81. package/dist/tokens/index.d.cts +218 -218
  82. package/dist/tokens/index.d.ts +218 -218
  83. package/dist/tokens/index.js +1 -1
  84. package/dist/tokens/parseTokens.d.cts +1 -1
  85. package/dist/tokens/parseTokens.d.ts +1 -1
  86. package/package.json +1 -11
  87. package/cli/FullWidthClassToProp.mock.tsx +0 -17
  88. package/dist/analytics/server.cjs +0 -1
  89. package/dist/analytics/server.d.cts +0 -1
  90. package/dist/analytics/server.d.ts +0 -1
  91. package/dist/analytics/server.js +0 -1
  92. package/dist/chunk-P7TKSTM6.js +0 -1
  93. package/dist/{types-DSC_fUuJ.d.cts → types-CRqbgWm9.d.cts} +2195 -2195
  94. package/dist/{types-DSC_fUuJ.d.ts → types-CRqbgWm9.d.ts} +2195 -2195
Binary file
Binary file
Binary file
Binary file
@@ -1,17 +1,28 @@
1
- import type { EventName } from '@yahoo/uds/analytics/server';
2
- import { GA_MEASUREMENT_IDS, GA_MEASUREMENT_SECRETS, track } from '@yahoo/uds/analytics/server';
1
+ import { $ } from 'bun';
3
2
 
4
- export async function setup() {
5
- // Initialize analytics without user authentication
6
- // Analytics will work anonymously
7
- await track.init({
8
- appName: 'cli',
9
- apiSecret: GA_MEASUREMENT_SECRETS.cli,
10
- measurementId: GA_MEASUREMENT_IDS.cli,
11
- });
12
- }
3
+ export async function trackEvent(eventName: string, eventParams?: Record<string, unknown>) {
4
+ try {
5
+ const userEmail = process.env.CI
6
+ ? 'CI'
7
+ : (await $`git config user.email`.quiet()).text().trim();
8
+ const team = process.env.UDS_TEAM_SLUG;
9
+
10
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
11
+ const request = new Request('https://config.uds.build/api/cli-analytics', {
12
+ method: 'POST',
13
+ body: JSON.stringify({
14
+ userEmail,
15
+ team,
16
+ eventName,
17
+ eventParams,
18
+ }),
19
+ headers: { 'Content-Type': 'application/json' },
20
+ });
13
21
 
14
- export async function trackEvent(...args: Parameters<typeof track.event<EventName['cli']>>) {
15
- await setup();
16
- await track.event(...args);
22
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
23
+ await fetch(request);
24
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
25
+ } catch (_error) {
26
+ // analytic errors should not throw. silently ignore errors instead
27
+ }
17
28
  }
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-DSC_fUuJ.cjs';
2
+ import { b as UniversalBoxProps } from './types-CRqbgWm9.cjs';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-DSC_fUuJ.js';
2
+ import { b as UniversalBoxProps } from './types-CRqbgWm9.js';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-DSC_fUuJ.js';
2
+ import { a as UniversalPressableProps } from './types-CRqbgWm9.js';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-DSC_fUuJ.cjs';
2
+ import { a as UniversalPressableProps } from './types-CRqbgWm9.cjs';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-DSC_fUuJ.cjs';
3
+ import { U as UniversalTextProps } from './types-CRqbgWm9.cjs';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-DSC_fUuJ.js';
3
+ import { U as UniversalTextProps } from './types-CRqbgWm9.js';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-DSC_fUuJ.cjs';
3
- import { B as BoxProps, D as DivProps } from './Box-Dj8Mwnuq.cjs';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-CRqbgWm9.cjs';
3
+ import { B as BoxProps, D as DivProps } from './Box-BrCNYpJf.cjs';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-DSC_fUuJ.js';
3
- import { B as BoxProps, D as DivProps } from './Box-ZfxGUUQ-.js';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-CRqbgWm9.js';
3
+ import { B as BoxProps, D as DivProps } from './Box-DvNI3HDT.js';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -0,0 +1 @@
1
+ import{getStyles as o}from"./chunk-TBKJVNN7.js";import{jsx as r}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:C,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:B,borderEndWidth:x,borderTopWidth:T,borderBottomWidth:w,alignContent:E,alignItems:R,alignSelf:V,flex:v,flexDirection:y,flexGrow:z,flexShrink:G,flexWrap:H,justifyContent:k,flexBasis:j,display:N,overflow:I,overflowX:D,overflowY:F,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:K,spacingBottom:q,spacingEnd:A,spacingStart:L,spacingTop:M,offset:O,offsetVertical:P,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:C,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:B,borderEndWidth:x,borderTopWidth:T,borderBottomWidth:w,alignContent:E,alignItems:R,alignSelf:V,flex:v,flexDirection:y,flexGrow:z,flexShrink:G,flexWrap:H,justifyContent:k,flexBasis:j,display:N,overflow:I,overflowX:D,overflowY:F,position:X,spacing:Y,spacingHorizontal:J,spacingVertical:K,spacingBottom:q,spacingEnd:A,spacingStart:L,spacingTop:M,offset:O,offsetVertical:P,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image";export{t as Image};
@@ -1,2 +1,2 @@
1
- import{mapValues as e,entries as t}from"./chunk-EWJ3J526.js";import{require_baseGetTag as o,require_isArray as r,require_isObjectLike as a,require_createCompounder as n,require_getNative as s,require_Map as l,require_root as i,require_isObject as u,require_overArg as p,require_isPrototype as c,require_isArrayLike as f,require_isArguments as d,require_isBuffer as v,require_isTypedArray as y,require_isFunction as h,require_arrayMap as b,require_getTag as m,require_baseKeys as g,require_Symbol as _,require_baseUnary as w,require_nodeUtil as x}from"./chunk-XBZ4RUDC.js";import{TEXT_TRANSFORM_PREFIX as j,LINE_HEIGHT_PREFIX as $,FONT_SIZE_PREFIX as C,FONT_WIDTH_PREFIX as S,FONT_SLANT_PREFIX as k,FONT_WEIGHT_PREFIX as P,FONT_FAMILY_PREFIX as W,TEXT_RESPONSIVE_CLASSNAME as O,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as V}from"./chunk-PM4TFP3I.js";import{__commonJS as A,__toESM as T}from"./chunk-GF4A6TFM.js";import{textVariants as F,shadowOffsetMap as N,spacingMap as z,shadowSpreadRadiusMap as K}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- var E=A({"../../node_modules/lodash/isString.js"(e,t){var n=o(),s=r(),l=a();t.exports=function(e){return"string"==typeof e||!s(e)&&l(e)&&"[object String]"==n(e)}}}),Y=A({"../../node_modules/lodash/lowerCase.js"(e,t){var o=n()(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()});t.exports=o}}),M=A({"../../node_modules/lodash/_listCacheClear.js"(e,t){t.exports=function(){this.__data__=[],this.size=0}}}),B=A({"../../node_modules/lodash/eq.js"(e,t){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}),R=A({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var o=B();t.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}}}),X=A({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var o=R(),r=Array.prototype.splice;t.exports=function(e){var t=this.__data__,a=o(t,e);return!(a<0)&&(a==t.length-1?t.pop():r.call(t,a,1),--this.size,!0)}}}),I=A({"../../node_modules/lodash/_listCacheGet.js"(e,t){var o=R();t.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}}}),D=A({"../../node_modules/lodash/_listCacheHas.js"(e,t){var o=R();t.exports=function(e){return o(this.__data__,e)>-1}}}),L=A({"../../node_modules/lodash/_listCacheSet.js"(e,t){var o=R();t.exports=function(e,t){var r=this.__data__,a=o(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}}}),H=A({"../../node_modules/lodash/_ListCache.js"(e,t){var o=M(),r=X(),a=I(),n=D(),s=L();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),U=A({"../../node_modules/lodash/_stackClear.js"(e,t){var o=H();t.exports=function(){this.__data__=new o,this.size=0}}}),G=A({"../../node_modules/lodash/_stackDelete.js"(e,t){t.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}}}),q=A({"../../node_modules/lodash/_stackGet.js"(e,t){t.exports=function(e){return this.__data__.get(e)}}}),J=A({"../../node_modules/lodash/_stackHas.js"(e,t){t.exports=function(e){return this.__data__.has(e)}}}),Z=A({"../../node_modules/lodash/_nativeCreate.js"(e,t){var o=s()(Object,"create");t.exports=o}}),Q=A({"../../node_modules/lodash/_hashClear.js"(e,t){var o=Z();t.exports=function(){this.__data__=o?o(null):{},this.size=0}}}),ee=A({"../../node_modules/lodash/_hashDelete.js"(e,t){t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}}),te=A({"../../node_modules/lodash/_hashGet.js"(e,t){var o=Z(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(o){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(t,e)?t[e]:void 0}}}),oe=A({"../../node_modules/lodash/_hashHas.js"(e,t){var o=Z(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}}}),re=A({"../../node_modules/lodash/_hashSet.js"(e,t){var o=Z();t.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}}}),ae=A({"../../node_modules/lodash/_Hash.js"(e,t){var o=Q(),r=ee(),a=te(),n=oe(),s=re();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),ne=A({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var o=ae(),r=H(),a=l();t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||r),string:new o}}}}),se=A({"../../node_modules/lodash/_isKeyable.js"(e,t){t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}}),le=A({"../../node_modules/lodash/_getMapData.js"(e,t){var o=se();t.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}}}),ie=A({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var o=le();t.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}}}),ue=A({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var o=le();t.exports=function(e){return o(this,e).get(e)}}}),pe=A({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var o=le();t.exports=function(e){return o(this,e).has(e)}}}),ce=A({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var o=le();t.exports=function(e,t){var r=o(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}}}),fe=A({"../../node_modules/lodash/_MapCache.js"(e,t){var o=ne(),r=ie(),a=ue(),n=pe(),s=ce();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),de=A({"../../node_modules/lodash/_stackSet.js"(e,t){var o=H(),r=l(),a=fe();t.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(s)}return n.set(e,t),this.size=n.size,this}}}),ve=A({"../../node_modules/lodash/_Stack.js"(e,t){var o=H(),r=U(),a=G(),n=q(),s=J(),l=de();function i(e){var t=this.__data__=new o(e);this.size=t.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,t.exports=i}}),ye=A({"../../node_modules/lodash/_defineProperty.js"(e,t){var o=s(),r=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=r}}),he=A({"../../node_modules/lodash/_baseAssignValue.js"(e,t){var o=ye();t.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}),be=A({"../../node_modules/lodash/_assignMergeValue.js"(e,t){var o=he(),r=B();t.exports=function(e,t,a){(void 0!==a&&!r(e[t],a)||void 0===a&&!(t in e))&&o(e,t,a)}}}),me=A({"../../node_modules/lodash/_createBaseFor.js"(e,t){t.exports=function(e){return function(t,o,r){for(var a=-1,n=Object(t),s=r(t),l=s.length;l--;){var i=s[e?l:++a];if(!1===o(n[i],i,n))break}return t}}}}),ge=A({"../../node_modules/lodash/_baseFor.js"(e,t){var o=me()();t.exports=o}}),_e=A({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var o=i(),r="object"==typeof e&&e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,n=a&&a.exports===r?o.Buffer:void 0,s=n?n.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var o=e.length,r=s?s(o):new e.constructor(o);return e.copy(r),r}}}),we=A({"../../node_modules/lodash/_Uint8Array.js"(e,t){var o=i().Uint8Array;t.exports=o}}),xe=A({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,t){var o=we();t.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}}}),je=A({"../../node_modules/lodash/_cloneTypedArray.js"(e,t){var o=xe();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),$e=A({"../../node_modules/lodash/_copyArray.js"(e,t){t.exports=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}}}),Ce=A({"../../node_modules/lodash/_baseCreate.js"(e,t){var o=u(),r=Object.create,a=function(){function e(){}return function(t){if(!o(t))return{};if(r)return r(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();t.exports=a}}),Se=A({"../../node_modules/lodash/_getPrototype.js"(e,t){var o=p()(Object.getPrototypeOf,Object);t.exports=o}}),ke=A({"../../node_modules/lodash/_initCloneObject.js"(e,t){var o=Ce(),r=Se(),a=c();t.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:o(r(e))}}}),Pe=A({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var o=f(),r=a();t.exports=function(e){return r(e)&&o(e)}}}),We=A({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=o(),n=Se(),s=a(),l=Function.prototype,i=Object.prototype,u=l.toString,p=i.hasOwnProperty,c=u.call(Object);t.exports=function(e){if(!s(e)||"[object Object]"!=r(e))return!1;var t=n(e);if(null===t)return!0;var o=p.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&u.call(o)==c}}}),Oe=A({"../../node_modules/lodash/_safeGet.js"(e,t){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}),Ve=A({"../../node_modules/lodash/_assignValue.js"(e,t){var o=he(),r=B(),a=Object.prototype.hasOwnProperty;t.exports=function(e,t,n){var s=e[t];a.call(e,t)&&r(s,n)&&(void 0!==n||t in e)||o(e,t,n)}}}),Ae=A({"../../node_modules/lodash/_copyObject.js"(e,t){var o=Ve(),r=he();t.exports=function(e,t,a,n){var s=!a;a||(a={});for(var l=-1,i=t.length;++l<i;){var u=t[l],p=n?n(a[u],e[u],u,a,e):void 0;void 0===p&&(p=e[u]),s?r(a,u,p):o(a,u,p)}return a}}}),Te=A({"../../node_modules/lodash/_baseTimes.js"(e,t){t.exports=function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}}}),Fe=A({"../../node_modules/lodash/_isIndex.js"(e,t){var o=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e<t}}}),Ne=A({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var o=Te(),a=d(),n=r(),s=v(),l=Fe(),i=y(),u=Object.prototype.hasOwnProperty;t.exports=function(e,t){var r=n(e),p=!r&&a(e),c=!r&&!p&&s(e),f=!r&&!p&&!c&&i(e),d=r||p||c||f,v=d?o(e.length,String):[],y=v.length;for(var h in e)!t&&!u.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||l(h,y))||v.push(h);return v}}}),ze=A({"../../node_modules/lodash/_nativeKeysIn.js"(e,t){t.exports=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}}}),Ke=A({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var o=u(),r=c(),a=ze(),n=Object.prototype.hasOwnProperty;t.exports=function(e){if(!o(e))return a(e);var t=r(e),s=[];for(var l in e)("constructor"!=l||!t&&n.call(e,l))&&s.push(l);return s}}}),Ee=A({"../../node_modules/lodash/keysIn.js"(e,t){var o=Ne(),r=Ke(),a=f();t.exports=function(e){return a(e)?o(e,!0):r(e)}}}),Ye=A({"../../node_modules/lodash/toPlainObject.js"(e,t){var o=Ae(),r=Ee();t.exports=function(e){return o(e,r(e))}}}),Me=A({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var o=be(),a=_e(),n=je(),s=$e(),l=ke(),i=d(),p=r(),c=Pe(),f=v(),b=h(),m=u(),g=We(),_=y(),w=Oe(),x=Ye();t.exports=function(e,t,r,u,d,v,y){var h=w(e,r),j=w(t,r),$=y.get(j);if($)o(e,r,$);else{var C=v?v(h,j,r+"",e,t,y):void 0,S=void 0===C;if(S){var k=p(j),P=!k&&f(j),W=!k&&!P&&_(j);C=j,k||P||W?p(h)?C=h:c(h)?C=s(h):P?(S=!1,C=a(j,!0)):W?(S=!1,C=n(j,!0)):C=[]:g(j)||i(j)?(C=h,i(h)?C=x(h):m(h)&&!b(h)||(C=l(j))):S=!1}S&&(y.set(j,C),d(C,j,u,v,y),y.delete(j)),o(e,r,C)}}}}),Be=A({"../../node_modules/lodash/_baseMerge.js"(e,t){var o=ve(),r=be(),a=ge(),n=Me(),s=u(),l=Ee(),i=Oe();t.exports=function e(t,u,p,c,f){t!==u&&a(u,function(a,l){if(f||(f=new o),s(a))n(t,u,l,p,e,c,f);else{var d=c?c(i(t,l),a,l+"",t,u,f):void 0;void 0===d&&(d=a),r(t,l,d)}},l)}}}),Re=A({"../../node_modules/lodash/identity.js"(e,t){t.exports=function(e){return e}}}),Xe=A({"../../node_modules/lodash/_apply.js"(e,t){t.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}}}),Ie=A({"../../node_modules/lodash/_overRest.js"(e,t){var o=Xe(),r=Math.max;t.exports=function(e,t,a){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,s=-1,l=r(n.length-t,0),i=Array(l);++s<l;)i[s]=n[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=n[s];return u[t]=a(i),o(e,this,u)}}}}),De=A({"../../node_modules/lodash/constant.js"(e,t){t.exports=function(e){return function(){return e}}}}),Le=A({"../../node_modules/lodash/_baseSetToString.js"(e,t){var o=De(),r=ye(),a=Re(),n=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;t.exports=n}}),He=A({"../../node_modules/lodash/_shortOut.js"(e,t){var o=Date.now;t.exports=function(e){var t=0,r=0;return function(){var a=o(),n=16-(a-r);if(r=a,n>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}}}),Ue=A({"../../node_modules/lodash/_setToString.js"(e,t){var o=Le(),r=He()(o);t.exports=r}}),Ge=A({"../../node_modules/lodash/_baseRest.js"(e,t){var o=Re(),r=Ie(),a=Ue();t.exports=function(e,t){return a(r(e,t,o),e+"")}}}),qe=A({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var o=B(),r=f(),a=Fe(),n=u();t.exports=function(e,t,s){if(!n(s))return!1;var l=typeof t;return!!("number"==l?r(s)&&a(t,s.length):"string"==l&&t in s)&&o(s[t],e)}}}),Je=A({"../../node_modules/lodash/_createAssigner.js"(e,t){var o=Ge(),r=qe();t.exports=function(e){return o(function(t,o){var a=-1,n=o.length,s=n>1?o[n-1]:void 0,l=n>2?o[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(o[0],o[1],l)&&(s=n<3?void 0:s,n=1),t=Object(t);++a<n;){var i=o[a];i&&e(t,i,a,s)}return t})}}}),Ze=A({"../../node_modules/lodash/mergeWith.js"(e,t){var o=Be(),r=Je()(function(e,t,r,a){o(e,t,r,a)});t.exports=r}}),Qe=A({"../../node_modules/lodash/_baseToPairs.js"(e,t){var o=b();t.exports=function(e,t){return o(t,function(t){return[t,e[t]]})}}}),et=A({"../../node_modules/lodash/_mapToArray.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e,r){o[++t]=[r,e]}),o}}}),tt=A({"../../node_modules/lodash/_setToPairs.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e){o[++t]=[e,e]}),o}}}),ot=A({"../../node_modules/lodash/_createToPairs.js"(e,t){var o=Qe(),r=m(),a=et(),n=tt();t.exports=function(e){return function(t){var s=r(t);return"[object Map]"==s?a(t):"[object Set]"==s?n(t):o(t,e(t))}}}}),rt=A({"../../node_modules/lodash/keys.js"(e,t){var o=Ne(),r=g(),a=f();t.exports=function(e){return a(e)?o(e):r(e)}}}),at=A({"../../node_modules/lodash/toPairs.js"(e,t){var o=ot()(rt());t.exports=o}}),nt=A({"../../node_modules/lodash/entries.js"(e,t){t.exports=at()}}),st=A({"../../node_modules/lodash/_arrayEach.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length;++o<r&&!1!==t(e[o],o,e););return e}}}),lt=A({"../../node_modules/lodash/_baseAssign.js"(e,t){var o=Ae(),r=rt();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),it=A({"../../node_modules/lodash/_baseAssignIn.js"(e,t){var o=Ae(),r=Ee();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),ut=A({"../../node_modules/lodash/_arrayFilter.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length,a=0,n=[];++o<r;){var s=e[o];t(s,o,e)&&(n[a++]=s)}return n}}}),pt=A({"../../node_modules/lodash/stubArray.js"(e,t){t.exports=function(){return[]}}}),ct=A({"../../node_modules/lodash/_getSymbols.js"(e,t){var o=ut(),r=pt(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),o(n(e),function(t){return a.call(e,t)}))}:r;t.exports=s}}),ft=A({"../../node_modules/lodash/_copySymbols.js"(e,t){var o=Ae(),r=ct();t.exports=function(e,t){return o(e,r(e),t)}}}),dt=A({"../../node_modules/lodash/_arrayPush.js"(e,t){t.exports=function(e,t){for(var o=-1,r=t.length,a=e.length;++o<r;)e[a+o]=t[o];return e}}}),vt=A({"../../node_modules/lodash/_getSymbolsIn.js"(e,t){var o=dt(),r=Se(),a=ct(),n=pt(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,a(e)),e=r(e);return t}:n;t.exports=s}}),yt=A({"../../node_modules/lodash/_copySymbolsIn.js"(e,t){var o=Ae(),r=vt();t.exports=function(e,t){return o(e,r(e),t)}}}),ht=A({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var o=dt(),a=r();t.exports=function(e,t,r){var n=t(e);return a(e)?n:o(n,r(e))}}}),bt=A({"../../node_modules/lodash/_getAllKeys.js"(e,t){var o=ht(),r=ct(),a=rt();t.exports=function(e){return o(e,a,r)}}}),mt=A({"../../node_modules/lodash/_getAllKeysIn.js"(e,t){var o=ht(),r=vt(),a=Ee();t.exports=function(e){return o(e,a,r)}}}),gt=A({"../../node_modules/lodash/_initCloneArray.js"(e,t){var o=Object.prototype.hasOwnProperty;t.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),_t=A({"../../node_modules/lodash/_cloneDataView.js"(e,t){var o=xe();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),wt=A({"../../node_modules/lodash/_cloneRegExp.js"(e,t){var o=/\w*$/;t.exports=function(e){var t=new e.constructor(e.source,o.exec(e));return t.lastIndex=e.lastIndex,t}}}),xt=A({"../../node_modules/lodash/_cloneSymbol.js"(e,t){var o=_(),r=o?o.prototype:void 0,a=r?r.valueOf:void 0;t.exports=function(e){return a?Object(a.call(e)):{}}}}),jt=A({"../../node_modules/lodash/_initCloneByTag.js"(e,t){var o=xe(),r=_t(),a=wt(),n=xt(),s=je();t.exports=function(e,t,l){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return r(e,l);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,l);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return a(e);case"[object Symbol]":return n(e)}}}}),$t=A({"../../node_modules/lodash/_baseIsMap.js"(e,t){var o=m(),r=a();t.exports=function(e){return r(e)&&"[object Map]"==o(e)}}}),Ct=A({"../../node_modules/lodash/isMap.js"(e,t){var o=$t(),r=w(),a=x(),n=a&&a.isMap,s=n?r(n):o;t.exports=s}}),St=A({"../../node_modules/lodash/_baseIsSet.js"(e,t){var o=m(),r=a();t.exports=function(e){return r(e)&&"[object Set]"==o(e)}}}),kt=A({"../../node_modules/lodash/isSet.js"(e,t){var o=St(),r=w(),a=x(),n=a&&a.isSet,s=n?r(n):o;t.exports=s}}),Pt=A({"../../node_modules/lodash/_baseClone.js"(e,t){var o=ve(),a=st(),n=Ve(),s=lt(),l=it(),i=_e(),p=$e(),c=ft(),f=yt(),d=bt(),y=mt(),h=m(),b=gt(),g=jt(),_=ke(),w=r(),x=v(),j=Ct(),$=u(),C=kt(),S=rt(),k=Ee(),P="[object Arguments]",W="[object Function]",O="[object Object]",V={};V[P]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object DataView]"]=V["[object Boolean]"]=V["[object Date]"]=V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Map]"]=V["[object Number]"]=V[O]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object Symbol]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Error]"]=V[W]=V["[object WeakMap]"]=!1,t.exports=function e(t,r,u,v,m,A){var T,F=1&r,N=2&r,z=4&r;if(u&&(T=m?u(t,v,m,A):u(t)),void 0!==T)return T;if(!$(t))return t;var K=w(t);if(K){if(T=b(t),!F)return p(t,T)}else{var E=h(t),Y=E==W||"[object GeneratorFunction]"==E;if(x(t))return i(t,F);if(E==O||E==P||Y&&!m){if(T=N||Y?{}:_(t),!F)return N?f(t,l(T,t)):c(t,s(T,t))}else{if(!V[E])return m?t:{};T=g(t,E,F)}}A||(A=new o);var M=A.get(t);if(M)return M;A.set(t,T),C(t)?t.forEach(function(o){T.add(e(o,r,u,o,t,A))}):j(t)&&t.forEach(function(o,a){T.set(a,e(o,r,u,a,t,A))});var B=K?void 0:(z?N?y:d:N?k:S)(t);return a(B||t,function(o,a){B&&(o=t[a=o]),n(T,a,e(o,r,u,a,t,A))}),T}}}),Wt=A({"../../node_modules/lodash/cloneDeep.js"(e,t){var o=Pt();t.exports=function(e){return o(e,5)}}}),Ot=T(E(),1),Vt=e=>{throw new Error("Didn't expect to get here")};var At=e=>e.replace("/","-"),Tt=e=>"."+V[e],Ft=(e,t,o,r)=>{const a=e.typography[t]?.[o];if(!a)throw new Error(`Missing typography data for variant "${t}" and key "${o}"`);const n="base"===r?a.base:a.breakpoints?.[r];if(!n)throw new Error(`Missing value for variant "${t}", key "${o}", and breakpoint "${r}"`);if((0,Ot.default)(n))return n;switch(n.type){case"px":return n.value/16+"rem";case"unitless":return String(n.value)}return Vt()},Nt=(e,t)=>t in e.font?`var(--${W}-${t})`:t,zt=(e,t)=>Object.fromEntries(F.flatMap(o=>{const r=At(o);return[[`--${W}-${r}`,Nt(e,Ft(e,o,"fontFamily",t))],[`--${C}-${r}`,Ft(e,o,"fontSize",t)],[`--${P}-${r}`,Ft(e,o,"fontWeight",t)],[`--${k}-${r}`,Ft(e,o,"fontSlant",t)],[`--${S}-${r}`,Ft(e,o,"fontWidth",t)],[`--${$}-${r}`,Ft(e,o,"lineHeight",t)],[`--${j}-${r}`,Ft(e,o,"textTransform",t)]]})),Kt=e=>Object.fromEntries(F.map(At).map(t=>[t,`var(--${e}-${t})`])),Et={fontFamily:Kt(W),fontWeight:Kt(P),fontSlant:Kt(k),fontWidth:Kt(S),fontSize:Kt(C),lineHeight:Kt($),textTransform:Kt(j)},Yt=e=>zt(e,"base"),Mt=e=>{const t=(o=e.breakpoints,Object.entries(o)).sort(([,{value:e}],[,{value:t}])=>e-t);var o;return{[`.${O}`]:Object.fromEntries(t.map(([t,{value:o}])=>[`@media (min-width: ${o}px)`,zt(e,t)])),[Tt("base")]:zt(e,"base"),[Tt("defaultBreakpoint")]:zt(e,e.globalDefaults.breakpoint),...Object.fromEntries(t.map(([t])=>[Tt(t),zt(e,t)]))}},Bt=T(h(),1),Rt=T(Y(),1),Xt=T(Ze(),1);function It({variantKey:e,variantValue:t,layer:o,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${t}/${a}/${n}/${o}`:`${r}/${e}/${t}/${o}`:a&&n?`${e}/${t}/${a}/${n}/${o}`:`${e}/${t}/${o}`}var Dt=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function Lt(t,o){const r=t.variants?.[o];if(r)return{type:"no-sub-components",variant:r};const a=so(t);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e(a,e=>e.variants[o])}}function Ht(e,t,o){const r=e[t]?.defaults?.[o];if(void 0===r)throw new Error(`The variant default for "${o}" is not defined for the component "${t}"`);return r}function Ut(e,t,o,r){return Ht(e,t,o)===r}function Gt(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t}var qt=T(nt(),1);function Jt(e,t,o){const r=Lt(e,t);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!o)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[o]}}var Zt=e=>!!e?.layers,Qt=e=>!!e?.componentStates;function eo(e,t,o){const r=Jt(e,t,o);return r&&Qt(r)?r?.componentStates??null:null}function to(e,t,o){const r=eo(e,t,o);if(!r)return null;return Dt((0,qt.default)(r).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e)}function oo(t){if(!t||!Zt(t))return null;const o=e(t.layers,e=>e.properties);for(const e in o){const t=o[e];t&&0!==Object.keys(t).length||delete o[e]}return 0===Object.keys(o).length?null:o}var ro=["rest"];function ao(e,t,o,r){const a=Jt(e,t,r);if(!a)return null;return[...Zt(a)?Object.entries(a?.layers??{}):[],...Qt(a)&&o?Object.entries(a.componentStates[o].layers??{}):[]].flatMap(([e,t])=>Object.entries(t.properties).map(([t,o])=>[e,t,o])).flatMap(([e,t,o])=>[...ro,...o.pseudoStates??[]].map(r=>[e,t,o,r])).reduce((e,[t,o,r,a])=>{e[a]=e[a]??[];const n=[t,o,r];return e[a].push(n),e},{})}var no=T(nt(),1);function so(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function lo(e,t="variant"){const o=Lt(e,t);if("no-variants"===o.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===o.type){if(so(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:o.variant.description,variantNames:[...o.variant.options]}}const r=(0,no.default)(o.variants).reduce((e,[t,o])=>{for(const r of o.options)e[r]??=[],e[r].includes(t)||e[r].push(t);return e},{});return{type:"has-sub-components",description:Object.values(o.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}}var io=T(Wt(),1);function uo(e,t,o,r,a){const n=e[o].variables[t];if(!n)throw new Error(`No layer variables found for ${t}.`);const s=n[r];if(!s)throw new Error(`No property variables found for ${r}.`);const l=s[a];if(!l)throw new Error(`No pseudoState variables found for ${a}.`);return l}function po(e,t,o,r,a,n){const s=(0,io.default)(e),l=uo(s,t,o,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function co(e,t,o,r,a){return[uo(e,t,o,r,a),n=>po(e,t,o,r,a,n)]}var fo={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},vo={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function yo(e,t){const o=e.defaults[t],r=e.typeOfFixture;let a=0;return e.values.forEach((e,t)=>{e.includes(o)&&(a=t)}),r[a]}function ho(e){const t={},o={};for(const t in e.variants){const r=e.variants[t];o[t]=r.default}t.defaults=o,t.variables={};for(const o in e.variants){const r=e.variants[o];for(const e of r.options)if(r.componentStates){const a=r.componentStates;for(const r in a){const n=a[r];for(const a of n.options)for(const s in n.layers){const l=n.layers[s],i=It({variantKey:o,variantValue:e,stateKey:r,stateValue:a,layer:s});t.variables[i]={};for(const o in l.properties){const r=l.properties[o],a={[o]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};t.variables[i]={...t.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=It({variantKey:o,variantValue:e,layer:a});t.variables[s]={};for(const o in n.properties){const r=n.properties[o],a={[o]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};t.variables[s]={...t.variables[s],...a}}}}if(e.subComponents){const{subComponents:o}=e;for(const e in o)for(const r in o[e].variants){const a=o[e].variants[r];t.defaults[r]=a.default;for(const o of a.options)if(a.componentStates){const n=a.componentStates;for(const a in n){const s=n[a];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=It({variantKey:r,variantValue:o,stateKey:a,stateValue:n,layer:l,subComponentName:e});t.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:yo(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:yo(r,o),valueType:"alias",value:r.defaults[o]};t.variables[u]={...t.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=It({variantKey:r,variantValue:o,layer:n,subComponentName:e});t.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:yo(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:yo(r,o),valueType:"alias",value:r.defaults[o]};t.variables[l]={...t.variables[l],...a}}}}}return t}function bo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,Rt.default)(e)}-${(0,Rt.default)(n)}-${(0,Rt.default)(t)}`:`uds-${(0,Rt.default)(e)}-${(0,Rt.default)(t)}`,o&&(i=`${i}-${(0,Rt.default)(o)}`),s&&l&&(i=`${i}-${(0,Rt.default)(s)}-${(0,Rt.default)(l)}`),i=`${i}-${(0,Rt.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function mo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:p,theme:c,currentStyles:f,previewOptions:d}){const v=It({variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});let y=bo({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});const h=i.variables[v][u];if(!h)throw"size/md/root"===v&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:v,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${v} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const b={};for(const v in h){const m=v,g=fo[m]??"",_=h[m];let w="";if("root"===r)if(s&&l){const a=bo({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n});y=bo({componentName:e,variantKey:t,layer:r,subComponentName:n,stateKey:s,stateValue:l}),w=`.${a}${g}.${y}`}else w=`.${y}${g}`;else{const i=bo({componentName:e,variantKey:t,variantValue:o,layer:"root",subComponentName:n});if(s&&l){const u=bo({componentName:e,variantKey:t,layer:"root",subComponentName:n,stateKey:s,stateValue:l});y=bo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),w=`.${i}${g}.${u} .${y}`}else w=`.${i}${g} .${y}`}const x=(e,t,o,r)=>{const{value:a,type:n}=e,s=br[t];let l;if(br[t].customValueRenderer)l=br[t].customValueRenderer(e,i,o);else{l=o(br[t].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:j,extendedProperties:$}=br[p.name],C={},S=(0,Bt.default)($),k=S?$({componentName:e,subComponentName:n,layer:r,propertyKey:u}):$;if(k&&k.length){if(!S&&("string"==typeof j||Array.isArray(j)&&j.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of k){const t=br[e].cssProperties;if("string"==typeof t){const o=f?.[w]?.[t];C[t]=x(_,e,c,o)}else if(Array.isArray(t))for(const o of t){const t=f?.[w]?.[o];C[o]=x(_,e,c,t)}}}else if("string"==typeof j){const e=f?.[w]?.[j];C[j]=x(_,p.name,c,e)}else if(Array.isArray(j))for(const e of j){const t=f?.[w]?.[e];C[e]=x(_,p.name,c,t)}if(b[w]||(b[w]={...C,...b[w]}),d?.generatePseudoStateClassModifier){const e=vo[m]??"";if(e.length>0&&"root"!==v){const t=Object.fromEntries(Object.entries(C).map(([e,t])=>[e,`${t} !important`]));b[`.${e}${w}`.replace(g,"")]={...t,...b[`.${e}${w}`.replace(g,"")]}}}}return b}function go(e,t,o,r){function a(e,t){return(0,Xt.default)({},e,t)}let n=e.label.toLowerCase();e.overrideComponentName&&(n=e.overrideComponentName.toLowerCase());let s={};for(const l in e.variants){const i=e.variants[l];for(const e of i.options)if(i.componentStates){const u=i.componentStates;for(const i in u){const p=u[i];for(const u of p.options)for(const c in p.layers){const f=p.layers[c];for(const p in f.properties){const d=f.properties[p];s=a(s,mo({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:c,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:p,originalPropertyDefinition:d,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const p=i.layers[u];for(const i in p.properties){const c=p.properties[i];s=a(s,mo({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:i,originalPropertyDefinition:c,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}if(e.subComponents){const{subComponents:l}=e;for(const e in l)for(const i in l[e].variants){const u=l[e].variants[i];for(const l of u.options)if(u.componentStates){const p=u.componentStates;for(const u in p){const c=p[u];for(const p of c.options)for(const f in c.layers){const d=c.layers[f];for(const c in d.properties){const v=d.properties[c];s=a(s,mo({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:p,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:c,originalPropertyDefinition:v,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const p in u.layers){const c=u.layers[p];for(const u in c.properties){const f=c.properties[u];s=a(s,mo({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:p,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}return s}function _o(e){return e}function wo(e){return e}function xo(e){return e}function jo(e){return e}function $o(e){return e}function Co(e){return e}function So(e){return e}function ko(e){return e}var Po=["none","custom"],Wo=["none","up","down"],Oo={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},Vo={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},Ao={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},To={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function Fo(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...To}}function No(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...To}}function zo(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...To}}var Ko={fill:Fo,outline:No,ghost:zo},Eo={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:{info:{primary:{kind:"fill",effect:Oo,base:Fo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...To}}}},accent:{primary:{kind:"fill",effect:Oo,base:Fo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...To}}}},brand:{primary:{kind:"fill",effect:Oo,base:Fo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...To}}}},alert:{primary:{kind:"fill",effect:Oo,base:Fo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...To}}}},positive:{primary:{kind:"fill",effect:Oo,base:Fo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...To}}}},warning:{primary:{kind:"fill",effect:Oo,base:Fo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...To}}}}}},Yo={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},Mo={drop:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}]},inset:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}],"xs-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"always",value:"white"}}],"sm-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"always",value:"white"}}],"md-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"lg-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"xl-invert":[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"always",value:"white"}}],"2xl-invert":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"always",value:"white"}}]}},Bo={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ro="system",Xo="system",Io="light",Do="large",Lo=!1,Ho="🇺🇸 US",Uo="https://s.yimg.com/bw/fonts",Go=["Helvetica Neue","Helvetica","Arial","sans-serif"],qo=["Georgia","Times","Times New Roman","serif"],Jo={"centra-no2":{fallback:Go,type:"sans",fontFamily:"Centra No2",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Hairline",value:50},{label:"Thin",value:100},{label:"Light",value:300},{label:"Book",value:400},{label:"Medium",value:500},{label:"Bold",value:700},{label:"ExtraBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"50",src:`url('${Uo}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Uo}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Uo}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Uo}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Uo}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Uo}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Uo}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Uo}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Uo}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Uo}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Uo}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Go,type:"sans",fontFamily:"Inter",isVariableFont:!0,fontSlants:[{label:"Italic",value:-10},{label:"None",value:0}],fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Extra Light",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semi Bold",value:600},{label:"Bold",value:700},{label:"Extra Bold",value:800},{label:"Black",value:900}],defaults:{fontSlant:0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",fontFamily:"Roboto Mono",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"100",src:`url('${Uo}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Uo}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Uo}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Uo}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Uo}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Go,type:"sans",fontFamily:"Yahoo Sans",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"ExtraLight",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semibold",value:585},{label:"Bold",value:700},{label:"ExtraBold",value:810},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Go,type:"sans",fontFamily:"Yahoo CR4 BETA VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Go,type:"sans",fontFamily:"Yahoo Product Sans VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Go,type:"sans",fontFamily:"YahooPd_Eval202412",isVariableFont:!0,fontSlants:[{label:"Italic",value:9},{label:"None",value:0}],fontWidths:[{label:"Cond",value:50},{label:"Normal",value:75},{label:"Ext",value:100}],fontWeights:[{label:"Light",value:300},{label:"Regular",value:450},{label:"Medium",value:500},{label:"Semibold",value:600},{label:"Bold",value:700},{label:"Black",value:850}],defaults:{fontSlant:0,fontWidth:75,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Uo}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Go,type:"sans",fontFamily:"Yahoo Sans Cond",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:718},{label:"XBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:qo,type:"serif",fontFamily:"Yahoo Serif Display",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Bold",value:700},{label:"Extrabold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Uo}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Uo}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:qo,type:"serif",fontFamily:"Yahoo Serif Text",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function Zo({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`}function Qo({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[t,o]=e.split("-");return o?{palette:t,variant:o}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}}function er(e){return Object.fromEntries(e)}var tr={black:"0 0 0",white:"255 255 255"};function or({preset:e,prefix:t,shadowType:o}){const r=`--uds-${o}-shadow-`,a="palette"===e.color?.type,n="always"===e.color?.type;let s=`var(--uds-${a?"shadow":"spectrum"}-color-${e?.color?.value})`;n&&(s=tr[e.color.value]);const l=`var(${r}${t?`${t}-`:""}color, ${s})`;return`${"inset"===o?"inset ":""}${[`${N[e.offsetX]}px`,`${N[e.offsetY]}px`,`${z[e.blur]}px`,`${K[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${r}${t?`${t}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function rr({config:e,shadowType:o}){const r=e?.shadow?.[o];if(!r)return{};const a={};return t(r).forEach(([e,t])=>{if("none"===e)return void(a[`--uds-${o}-shadow-${e}`]="0 0 transparent");const r=t.map((e,t)=>or({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));a[`--uds-${o}-shadow-${e}`]=`${r.join(", ")}`}),a}var ar=e=>(t,o)=>`typography.${e}.${At(o)}`,nr=(e,t)=>{switch(e){case"alwaysPaletteAliases":return`colors.${t}`;case"spectrumColors":{const[e,o]=t.split("-");return`colors.${e}.${o}`}case"foregroundPaletteColors":return`textColor.${t}`;case"backgroundPaletteColors":return`backgroundColor.${t}`;case"linePaletteColors":return`borderColor.${t}`}return Vt()},sr=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),lr={name:"backgroundColor",cssProperties:"background-color",twThemePath:nr,possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},ir={name:"fontSize",cssProperties:"font-size",twThemePath:ar("fontSize"),possibleFixtures:["textVariants"]},ur={name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e,o=At(t);return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},pr={name:"fontWeight",cssProperties:"font-weight",twThemePath:ar("fontWeight"),possibleFixtures:["textVariants"]},cr={name:"fontFamily",cssProperties:"font-family",twThemePath:ar("fontFamily"),possibleFixtures:["textVariants"]},fr={name:"color",cssProperties:"color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},dr={name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>sr(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},vr={name:"borderColor",cssProperties:"border-color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>sr(e)&&["outlineColor"]},yr={name:"outlineColor",cssProperties:"outline-color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},hr={name:"textTransform",cssProperties:"text-transform",twThemePath:ar("textTransform"),possibleFixtures:["textVariants"]},br={...{backgroundColor:lr,borderWidth:dr,borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:vr,fontFamily:cr,fontSize:ir,fontVariationSettings:ur,lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:ar("lineHeight"),possibleFixtures:["textVariants"]},textTransform:hr,padding:{name:"padding",cssProperties:"padding",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},color:fr,fontWeight:pr,iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,t)=>`sizing.icon.${t}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},textVariant:{name:"textVariant",cssProperties:[],twThemePath:()=>"",possibleFixtures:["textVariants"],extendedProperties:["fontSize","fontWeight","fontFamily","lineHeight","textTransform","fontVariationSettings"]},textDecorationLine:{name:"textDecorationLine",cssProperties:"text-decoration-line",possibleFixtures:["textDecorationLines"],twThemePath:()=>"",customValueRenderer:e=>String(e.value)},shadow:{name:"drop shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="drop";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>or({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariants"]},insetShadow:{name:"inset shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="inset";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>or({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,t)=>`height[${t}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,t)=>`width[${t}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:yr,insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:t},o,r)=>`calc(-1 * ${r("borderWidths"===t?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};export{Io as DEFAULT_COLOR_MODE,Ro as DEFAULT_COLOR_MODE_FOR_APP,Lo as DEFAULT_HIGH_CONTRAST_MODE,Ho as DEFAULT_REGION_MODE,Do as DEFAULT_SCALE_MODE,Xo as DEFAULT_SCALE_MODE_FOR_APP,Jo as FONT_DECLARATIONS_MAP,Et as RESPONSIVE_TAILWIND_CONFIG_MAP,Yo as alwaysPalette,Vt as assertUnreachable,Eo as button,Dt as cartesianProduct,Lt as coalesceConfigVariant,br as configurableProperties,xo as createComponentStateConfig,Co as createComponentStates,_o as createConfigurableProperty,So as createLayerConfig,ko as createSubComponentConfig,wo as createVariantConfig,$o as createVariantConfigWithComponentStates,jo as createVariantConfigWithProperties,yo as findFixtureType,Bo as fontWeightMap,er as fromEntries,bo as generateClassName,mo as generateDeclaration,Gt as generateKeyFromFlatConfigPath,It as generateSchemaKey,go as generateStyles,Yt as getBaseTextVars,Ht as getConfigDefaultValue,uo as getConfigPseudoStateVariables,co as getConfigPseudoStateVariablesWithSetter,so as getConfigSubcomponents,eo as getConfigVariantComponentStates,to as getConfigVariantComponentStatesMatrix,oo as getConfigVariantProperties,ao as getConfigVariantPseudoStates,lo as getConfigVariants,Ko as getDefaultButtonBaseMap,Mt as getResponsiveTextStyles,or as getShadowLayerValue,rr as getShadowPresetValues,Ut as isConfigDefaultValue,Zo as parseButtonVariantFlat,Qo as parseDeprecatedButtonPaletteVariant,E as require_isString,po as setConfigPseudoStateVariable,Mo as shadow,vo as statePseudoMapDocsMode,At as textVariantsSafe,ho as toMinimalDbConfigObject};
1
+ import{mapValues as e,entries as t}from"./chunk-EWJ3J526.js";import{require_baseGetTag as o,require_isArray as r,require_isObjectLike as a,require_createCompounder as n,require_getNative as s,require_Map as l,require_root as i,require_isObject as u,require_overArg as p,require_isPrototype as c,require_isArrayLike as f,require_isArguments as d,require_isBuffer as v,require_isTypedArray as y,require_isFunction as h,require_arrayMap as b,require_getTag as m,require_baseKeys as g,require_Symbol as _,require_baseUnary as w,require_nodeUtil as x}from"./chunk-E6Q2IF33.js";import{TEXT_TRANSFORM_PREFIX as j,LINE_HEIGHT_PREFIX as $,FONT_SIZE_PREFIX as C,FONT_WIDTH_PREFIX as S,FONT_SLANT_PREFIX as k,FONT_WEIGHT_PREFIX as P,FONT_FAMILY_PREFIX as W,TEXT_RESPONSIVE_CLASSNAME as O,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as V}from"./chunk-PM4TFP3I.js";import{__commonJS as A,__toESM as T}from"./chunk-GF4A6TFM.js";import{textVariants as F,shadowOffsetMap as N,spacingMap as z,shadowSpreadRadiusMap as E}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ var K=A({"../../node_modules/lodash/isString.js"(e,t){var n=o(),s=r(),l=a();t.exports=function(e){return"string"==typeof e||!s(e)&&l(e)&&"[object String]"==n(e)}}}),Y=A({"../../node_modules/lodash/lowerCase.js"(e,t){var o=n()(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()});t.exports=o}}),M=A({"../../node_modules/lodash/_listCacheClear.js"(e,t){t.exports=function(){this.__data__=[],this.size=0}}}),B=A({"../../node_modules/lodash/eq.js"(e,t){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}),R=A({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var o=B();t.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}}}),X=A({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var o=R(),r=Array.prototype.splice;t.exports=function(e){var t=this.__data__,a=o(t,e);return!(a<0)&&(a==t.length-1?t.pop():r.call(t,a,1),--this.size,!0)}}}),I=A({"../../node_modules/lodash/_listCacheGet.js"(e,t){var o=R();t.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}}}),D=A({"../../node_modules/lodash/_listCacheHas.js"(e,t){var o=R();t.exports=function(e){return o(this.__data__,e)>-1}}}),L=A({"../../node_modules/lodash/_listCacheSet.js"(e,t){var o=R();t.exports=function(e,t){var r=this.__data__,a=o(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}}}),H=A({"../../node_modules/lodash/_ListCache.js"(e,t){var o=M(),r=X(),a=I(),n=D(),s=L();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),U=A({"../../node_modules/lodash/_stackClear.js"(e,t){var o=H();t.exports=function(){this.__data__=new o,this.size=0}}}),G=A({"../../node_modules/lodash/_stackDelete.js"(e,t){t.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}}}),q=A({"../../node_modules/lodash/_stackGet.js"(e,t){t.exports=function(e){return this.__data__.get(e)}}}),J=A({"../../node_modules/lodash/_stackHas.js"(e,t){t.exports=function(e){return this.__data__.has(e)}}}),Q=A({"../../node_modules/lodash/_nativeCreate.js"(e,t){var o=s()(Object,"create");t.exports=o}}),Z=A({"../../node_modules/lodash/_hashClear.js"(e,t){var o=Q();t.exports=function(){this.__data__=o?o(null):{},this.size=0}}}),ee=A({"../../node_modules/lodash/_hashDelete.js"(e,t){t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}}),te=A({"../../node_modules/lodash/_hashGet.js"(e,t){var o=Q(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(o){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(t,e)?t[e]:void 0}}}),oe=A({"../../node_modules/lodash/_hashHas.js"(e,t){var o=Q(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}}}),re=A({"../../node_modules/lodash/_hashSet.js"(e,t){var o=Q();t.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}}}),ae=A({"../../node_modules/lodash/_Hash.js"(e,t){var o=Z(),r=ee(),a=te(),n=oe(),s=re();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),ne=A({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var o=ae(),r=H(),a=l();t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||r),string:new o}}}}),se=A({"../../node_modules/lodash/_isKeyable.js"(e,t){t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}}),le=A({"../../node_modules/lodash/_getMapData.js"(e,t){var o=se();t.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}}}),ie=A({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var o=le();t.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}}}),ue=A({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var o=le();t.exports=function(e){return o(this,e).get(e)}}}),pe=A({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var o=le();t.exports=function(e){return o(this,e).has(e)}}}),ce=A({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var o=le();t.exports=function(e,t){var r=o(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}}}),fe=A({"../../node_modules/lodash/_MapCache.js"(e,t){var o=ne(),r=ie(),a=ue(),n=pe(),s=ce();function l(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,t.exports=l}}),de=A({"../../node_modules/lodash/_stackSet.js"(e,t){var o=H(),r=l(),a=fe();t.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(s)}return n.set(e,t),this.size=n.size,this}}}),ve=A({"../../node_modules/lodash/_Stack.js"(e,t){var o=H(),r=U(),a=G(),n=q(),s=J(),l=de();function i(e){var t=this.__data__=new o(e);this.size=t.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,t.exports=i}}),ye=A({"../../node_modules/lodash/_defineProperty.js"(e,t){var o=s(),r=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=r}}),he=A({"../../node_modules/lodash/_baseAssignValue.js"(e,t){var o=ye();t.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}),be=A({"../../node_modules/lodash/_assignMergeValue.js"(e,t){var o=he(),r=B();t.exports=function(e,t,a){(void 0!==a&&!r(e[t],a)||void 0===a&&!(t in e))&&o(e,t,a)}}}),me=A({"../../node_modules/lodash/_createBaseFor.js"(e,t){t.exports=function(e){return function(t,o,r){for(var a=-1,n=Object(t),s=r(t),l=s.length;l--;){var i=s[e?l:++a];if(!1===o(n[i],i,n))break}return t}}}}),ge=A({"../../node_modules/lodash/_baseFor.js"(e,t){var o=me()();t.exports=o}}),_e=A({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var o=i(),r="object"==typeof e&&e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,n=a&&a.exports===r?o.Buffer:void 0,s=n?n.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var o=e.length,r=s?s(o):new e.constructor(o);return e.copy(r),r}}}),we=A({"../../node_modules/lodash/_Uint8Array.js"(e,t){var o=i().Uint8Array;t.exports=o}}),xe=A({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,t){var o=we();t.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}}}),je=A({"../../node_modules/lodash/_cloneTypedArray.js"(e,t){var o=xe();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),$e=A({"../../node_modules/lodash/_copyArray.js"(e,t){t.exports=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}}}),Ce=A({"../../node_modules/lodash/_baseCreate.js"(e,t){var o=u(),r=Object.create,a=function(){function e(){}return function(t){if(!o(t))return{};if(r)return r(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}();t.exports=a}}),Se=A({"../../node_modules/lodash/_getPrototype.js"(e,t){var o=p()(Object.getPrototypeOf,Object);t.exports=o}}),ke=A({"../../node_modules/lodash/_initCloneObject.js"(e,t){var o=Ce(),r=Se(),a=c();t.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:o(r(e))}}}),Pe=A({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var o=f(),r=a();t.exports=function(e){return r(e)&&o(e)}}}),We=A({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=o(),n=Se(),s=a(),l=Function.prototype,i=Object.prototype,u=l.toString,p=i.hasOwnProperty,c=u.call(Object);t.exports=function(e){if(!s(e)||"[object Object]"!=r(e))return!1;var t=n(e);if(null===t)return!0;var o=p.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&u.call(o)==c}}}),Oe=A({"../../node_modules/lodash/_safeGet.js"(e,t){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}),Ve=A({"../../node_modules/lodash/_assignValue.js"(e,t){var o=he(),r=B(),a=Object.prototype.hasOwnProperty;t.exports=function(e,t,n){var s=e[t];a.call(e,t)&&r(s,n)&&(void 0!==n||t in e)||o(e,t,n)}}}),Ae=A({"../../node_modules/lodash/_copyObject.js"(e,t){var o=Ve(),r=he();t.exports=function(e,t,a,n){var s=!a;a||(a={});for(var l=-1,i=t.length;++l<i;){var u=t[l],p=n?n(a[u],e[u],u,a,e):void 0;void 0===p&&(p=e[u]),s?r(a,u,p):o(a,u,p)}return a}}}),Te=A({"../../node_modules/lodash/_baseTimes.js"(e,t){t.exports=function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}}}),Fe=A({"../../node_modules/lodash/_isIndex.js"(e,t){var o=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&o.test(e))&&e>-1&&e%1==0&&e<t}}}),Ne=A({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var o=Te(),a=d(),n=r(),s=v(),l=Fe(),i=y(),u=Object.prototype.hasOwnProperty;t.exports=function(e,t){var r=n(e),p=!r&&a(e),c=!r&&!p&&s(e),f=!r&&!p&&!c&&i(e),d=r||p||c||f,v=d?o(e.length,String):[],y=v.length;for(var h in e)!t&&!u.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||l(h,y))||v.push(h);return v}}}),ze=A({"../../node_modules/lodash/_nativeKeysIn.js"(e,t){t.exports=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}}}),Ee=A({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var o=u(),r=c(),a=ze(),n=Object.prototype.hasOwnProperty;t.exports=function(e){if(!o(e))return a(e);var t=r(e),s=[];for(var l in e)("constructor"!=l||!t&&n.call(e,l))&&s.push(l);return s}}}),Ke=A({"../../node_modules/lodash/keysIn.js"(e,t){var o=Ne(),r=Ee(),a=f();t.exports=function(e){return a(e)?o(e,!0):r(e)}}}),Ye=A({"../../node_modules/lodash/toPlainObject.js"(e,t){var o=Ae(),r=Ke();t.exports=function(e){return o(e,r(e))}}}),Me=A({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var o=be(),a=_e(),n=je(),s=$e(),l=ke(),i=d(),p=r(),c=Pe(),f=v(),b=h(),m=u(),g=We(),_=y(),w=Oe(),x=Ye();t.exports=function(e,t,r,u,d,v,y){var h=w(e,r),j=w(t,r),$=y.get(j);if($)o(e,r,$);else{var C=v?v(h,j,r+"",e,t,y):void 0,S=void 0===C;if(S){var k=p(j),P=!k&&f(j),W=!k&&!P&&_(j);C=j,k||P||W?p(h)?C=h:c(h)?C=s(h):P?(S=!1,C=a(j,!0)):W?(S=!1,C=n(j,!0)):C=[]:g(j)||i(j)?(C=h,i(h)?C=x(h):m(h)&&!b(h)||(C=l(j))):S=!1}S&&(y.set(j,C),d(C,j,u,v,y),y.delete(j)),o(e,r,C)}}}}),Be=A({"../../node_modules/lodash/_baseMerge.js"(e,t){var o=ve(),r=be(),a=ge(),n=Me(),s=u(),l=Ke(),i=Oe();t.exports=function e(t,u,p,c,f){t!==u&&a(u,function(a,l){if(f||(f=new o),s(a))n(t,u,l,p,e,c,f);else{var d=c?c(i(t,l),a,l+"",t,u,f):void 0;void 0===d&&(d=a),r(t,l,d)}},l)}}}),Re=A({"../../node_modules/lodash/identity.js"(e,t){t.exports=function(e){return e}}}),Xe=A({"../../node_modules/lodash/_apply.js"(e,t){t.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}}}),Ie=A({"../../node_modules/lodash/_overRest.js"(e,t){var o=Xe(),r=Math.max;t.exports=function(e,t,a){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,s=-1,l=r(n.length-t,0),i=Array(l);++s<l;)i[s]=n[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=n[s];return u[t]=a(i),o(e,this,u)}}}}),De=A({"../../node_modules/lodash/constant.js"(e,t){t.exports=function(e){return function(){return e}}}}),Le=A({"../../node_modules/lodash/_baseSetToString.js"(e,t){var o=De(),r=ye(),a=Re(),n=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;t.exports=n}}),He=A({"../../node_modules/lodash/_shortOut.js"(e,t){var o=Date.now;t.exports=function(e){var t=0,r=0;return function(){var a=o(),n=16-(a-r);if(r=a,n>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}}}),Ue=A({"../../node_modules/lodash/_setToString.js"(e,t){var o=Le(),r=He()(o);t.exports=r}}),Ge=A({"../../node_modules/lodash/_baseRest.js"(e,t){var o=Re(),r=Ie(),a=Ue();t.exports=function(e,t){return a(r(e,t,o),e+"")}}}),qe=A({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var o=B(),r=f(),a=Fe(),n=u();t.exports=function(e,t,s){if(!n(s))return!1;var l=typeof t;return!!("number"==l?r(s)&&a(t,s.length):"string"==l&&t in s)&&o(s[t],e)}}}),Je=A({"../../node_modules/lodash/_createAssigner.js"(e,t){var o=Ge(),r=qe();t.exports=function(e){return o(function(t,o){var a=-1,n=o.length,s=n>1?o[n-1]:void 0,l=n>2?o[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(o[0],o[1],l)&&(s=n<3?void 0:s,n=1),t=Object(t);++a<n;){var i=o[a];i&&e(t,i,a,s)}return t})}}}),Qe=A({"../../node_modules/lodash/mergeWith.js"(e,t){var o=Be(),r=Je()(function(e,t,r,a){o(e,t,r,a)});t.exports=r}}),Ze=A({"../../node_modules/lodash/_baseToPairs.js"(e,t){var o=b();t.exports=function(e,t){return o(t,function(t){return[t,e[t]]})}}}),et=A({"../../node_modules/lodash/_mapToArray.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e,r){o[++t]=[r,e]}),o}}}),tt=A({"../../node_modules/lodash/_setToPairs.js"(e,t){t.exports=function(e){var t=-1,o=Array(e.size);return e.forEach(function(e){o[++t]=[e,e]}),o}}}),ot=A({"../../node_modules/lodash/_createToPairs.js"(e,t){var o=Ze(),r=m(),a=et(),n=tt();t.exports=function(e){return function(t){var s=r(t);return"[object Map]"==s?a(t):"[object Set]"==s?n(t):o(t,e(t))}}}}),rt=A({"../../node_modules/lodash/keys.js"(e,t){var o=Ne(),r=g(),a=f();t.exports=function(e){return a(e)?o(e):r(e)}}}),at=A({"../../node_modules/lodash/toPairs.js"(e,t){var o=ot()(rt());t.exports=o}}),nt=A({"../../node_modules/lodash/entries.js"(e,t){t.exports=at()}}),st=A({"../../node_modules/lodash/_arrayEach.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length;++o<r&&!1!==t(e[o],o,e););return e}}}),lt=A({"../../node_modules/lodash/_baseAssign.js"(e,t){var o=Ae(),r=rt();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),it=A({"../../node_modules/lodash/_baseAssignIn.js"(e,t){var o=Ae(),r=Ke();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),ut=A({"../../node_modules/lodash/_arrayFilter.js"(e,t){t.exports=function(e,t){for(var o=-1,r=null==e?0:e.length,a=0,n=[];++o<r;){var s=e[o];t(s,o,e)&&(n[a++]=s)}return n}}}),pt=A({"../../node_modules/lodash/stubArray.js"(e,t){t.exports=function(){return[]}}}),ct=A({"../../node_modules/lodash/_getSymbols.js"(e,t){var o=ut(),r=pt(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),o(n(e),function(t){return a.call(e,t)}))}:r;t.exports=s}}),ft=A({"../../node_modules/lodash/_copySymbols.js"(e,t){var o=Ae(),r=ct();t.exports=function(e,t){return o(e,r(e),t)}}}),dt=A({"../../node_modules/lodash/_arrayPush.js"(e,t){t.exports=function(e,t){for(var o=-1,r=t.length,a=e.length;++o<r;)e[a+o]=t[o];return e}}}),vt=A({"../../node_modules/lodash/_getSymbolsIn.js"(e,t){var o=dt(),r=Se(),a=ct(),n=pt(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,a(e)),e=r(e);return t}:n;t.exports=s}}),yt=A({"../../node_modules/lodash/_copySymbolsIn.js"(e,t){var o=Ae(),r=vt();t.exports=function(e,t){return o(e,r(e),t)}}}),ht=A({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var o=dt(),a=r();t.exports=function(e,t,r){var n=t(e);return a(e)?n:o(n,r(e))}}}),bt=A({"../../node_modules/lodash/_getAllKeys.js"(e,t){var o=ht(),r=ct(),a=rt();t.exports=function(e){return o(e,a,r)}}}),mt=A({"../../node_modules/lodash/_getAllKeysIn.js"(e,t){var o=ht(),r=vt(),a=Ke();t.exports=function(e){return o(e,a,r)}}}),gt=A({"../../node_modules/lodash/_initCloneArray.js"(e,t){var o=Object.prototype.hasOwnProperty;t.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),_t=A({"../../node_modules/lodash/_cloneDataView.js"(e,t){var o=xe();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),wt=A({"../../node_modules/lodash/_cloneRegExp.js"(e,t){var o=/\w*$/;t.exports=function(e){var t=new e.constructor(e.source,o.exec(e));return t.lastIndex=e.lastIndex,t}}}),xt=A({"../../node_modules/lodash/_cloneSymbol.js"(e,t){var o=_(),r=o?o.prototype:void 0,a=r?r.valueOf:void 0;t.exports=function(e){return a?Object(a.call(e)):{}}}}),jt=A({"../../node_modules/lodash/_initCloneByTag.js"(e,t){var o=xe(),r=_t(),a=wt(),n=xt(),s=je();t.exports=function(e,t,l){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return o(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return r(e,l);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,l);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return a(e);case"[object Symbol]":return n(e)}}}}),$t=A({"../../node_modules/lodash/_baseIsMap.js"(e,t){var o=m(),r=a();t.exports=function(e){return r(e)&&"[object Map]"==o(e)}}}),Ct=A({"../../node_modules/lodash/isMap.js"(e,t){var o=$t(),r=w(),a=x(),n=a&&a.isMap,s=n?r(n):o;t.exports=s}}),St=A({"../../node_modules/lodash/_baseIsSet.js"(e,t){var o=m(),r=a();t.exports=function(e){return r(e)&&"[object Set]"==o(e)}}}),kt=A({"../../node_modules/lodash/isSet.js"(e,t){var o=St(),r=w(),a=x(),n=a&&a.isSet,s=n?r(n):o;t.exports=s}}),Pt=A({"../../node_modules/lodash/_baseClone.js"(e,t){var o=ve(),a=st(),n=Ve(),s=lt(),l=it(),i=_e(),p=$e(),c=ft(),f=yt(),d=bt(),y=mt(),h=m(),b=gt(),g=jt(),_=ke(),w=r(),x=v(),j=Ct(),$=u(),C=kt(),S=rt(),k=Ke(),P="[object Arguments]",W="[object Function]",O="[object Object]",V={};V[P]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object DataView]"]=V["[object Boolean]"]=V["[object Date]"]=V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Map]"]=V["[object Number]"]=V[O]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object Symbol]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Error]"]=V[W]=V["[object WeakMap]"]=!1,t.exports=function e(t,r,u,v,m,A){var T,F=1&r,N=2&r,z=4&r;if(u&&(T=m?u(t,v,m,A):u(t)),void 0!==T)return T;if(!$(t))return t;var E=w(t);if(E){if(T=b(t),!F)return p(t,T)}else{var K=h(t),Y=K==W||"[object GeneratorFunction]"==K;if(x(t))return i(t,F);if(K==O||K==P||Y&&!m){if(T=N||Y?{}:_(t),!F)return N?f(t,l(T,t)):c(t,s(T,t))}else{if(!V[K])return m?t:{};T=g(t,K,F)}}A||(A=new o);var M=A.get(t);if(M)return M;A.set(t,T),C(t)?t.forEach(function(o){T.add(e(o,r,u,o,t,A))}):j(t)&&t.forEach(function(o,a){T.set(a,e(o,r,u,a,t,A))});var B=E?void 0:(z?N?y:d:N?k:S)(t);return a(B||t,function(o,a){B&&(o=t[a=o]),n(T,a,e(o,r,u,a,t,A))}),T}}}),Wt=A({"../../node_modules/lodash/cloneDeep.js"(e,t){var o=Pt();t.exports=function(e){return o(e,5)}}}),Ot=T(K(),1),Vt=e=>{throw new Error("Didn't expect to get here")};var At=e=>e.replace("/","-"),Tt=e=>"."+V[e],Ft=(e,t,o,r)=>{const a=e.typography[t]?.[o];if(!a)throw new Error(`Missing typography data for variant "${t}" and key "${o}"`);const n="base"===r?a.base:a.breakpoints?.[r];if(!n)throw new Error(`Missing value for variant "${t}", key "${o}", and breakpoint "${r}"`);if((0,Ot.default)(n))return n;switch(n.type){case"px":return n.value/16+"rem";case"unitless":return String(n.value)}return Vt()},Nt=(e,t)=>t in e.font?`var(--${W}-${t})`:t,zt=(e,t)=>Object.fromEntries(F.flatMap(o=>{const r=At(o);return[[`--${W}-${r}`,Nt(e,Ft(e,o,"fontFamily",t))],[`--${C}-${r}`,Ft(e,o,"fontSize",t)],[`--${P}-${r}`,Ft(e,o,"fontWeight",t)],[`--${k}-${r}`,Ft(e,o,"fontSlant",t)],[`--${S}-${r}`,Ft(e,o,"fontWidth",t)],[`--${$}-${r}`,Ft(e,o,"lineHeight",t)],[`--${j}-${r}`,Ft(e,o,"textTransform",t)]]})),Et=e=>Object.fromEntries(F.map(At).map(t=>[t,`var(--${e}-${t})`])),Kt={fontFamily:Et(W),fontWeight:Et(P),fontSlant:Et(k),fontWidth:Et(S),fontSize:Et(C),lineHeight:Et($),textTransform:Et(j)},Yt=e=>zt(e,"base"),Mt=e=>{const t=(o=e.breakpoints,Object.entries(o)).sort(([,{value:e}],[,{value:t}])=>e-t);var o;return{[`.${O}`]:Object.fromEntries(t.map(([t,{value:o}])=>[`@media (min-width: ${o}px)`,zt(e,t)])),[Tt("base")]:zt(e,"base"),[Tt("defaultBreakpoint")]:zt(e,e.globalDefaults.breakpoint),...Object.fromEntries(t.map(([t])=>[Tt(t),zt(e,t)]))}},Bt=T(h(),1),Rt=T(Y(),1),Xt=T(Qe(),1);function It({variantKey:e,variantValue:t,layer:o,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${t}/${a}/${n}/${o}`:`${r}/${e}/${t}/${o}`:a&&n?`${e}/${t}/${a}/${n}/${o}`:`${e}/${t}/${o}`}var Dt=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function Lt(t,o){const r=t.variants?.[o];if(r)return{type:"no-sub-components",variant:r};const a=so(t);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e(a,e=>e.variants[o])}}function Ht(e,t,o){const r=e[t]?.defaults?.[o];if(void 0===r)throw new Error(`The variant default for "${o}" is not defined for the component "${t}"`);return r}function Ut(e,t,o,r){return Ht(e,t,o)===r}function Gt(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t}var qt=T(nt(),1);function Jt(e,t,o){const r=Lt(e,t);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!o)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[o]}}var Qt=e=>!!e?.layers,Zt=e=>!!e?.componentStates;function eo(e,t,o){const r=Jt(e,t,o);return r&&Zt(r)?r?.componentStates??null:null}function to(e,t,o){const r=eo(e,t,o);if(!r)return null;return Dt((0,qt.default)(r).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e)}function oo(t){if(!t||!Qt(t))return null;const o=e(t.layers,e=>e.properties);for(const e in o){const t=o[e];t&&0!==Object.keys(t).length||delete o[e]}return 0===Object.keys(o).length?null:o}var ro=["rest"];function ao(e,t,o,r){const a=Jt(e,t,r);if(!a)return null;return[...Qt(a)?Object.entries(a?.layers??{}):[],...Zt(a)&&o?Object.entries(a.componentStates[o].layers??{}):[]].flatMap(([e,t])=>Object.entries(t.properties).map(([t,o])=>[e,t,o])).flatMap(([e,t,o])=>[...ro,...o.pseudoStates??[]].map(r=>[e,t,o,r])).reduce((e,[t,o,r,a])=>{e[a]=e[a]??[];const n=[t,o,r];return e[a].push(n),e},{})}var no=T(nt(),1);function so(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function lo(e,t="variant"){const o=Lt(e,t);if("no-variants"===o.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===o.type){if(so(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:o.variant.description,variantNames:[...o.variant.options]}}const r=(0,no.default)(o.variants).reduce((e,[t,o])=>{for(const r of o.options)e[r]??=[],e[r].includes(t)||e[r].push(t);return e},{});return{type:"has-sub-components",description:Object.values(o.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}}var io=T(Wt(),1);function uo(e,t,o,r,a){const n=e[o].variables[t];if(!n)throw new Error(`No layer variables found for ${t}.`);const s=n[r];if(!s)throw new Error(`No property variables found for ${r}.`);const l=s[a];if(!l)throw new Error(`No pseudoState variables found for ${a}.`);return l}function po(e,t,o,r,a,n){const s=(0,io.default)(e),l=uo(s,t,o,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function co(e,t,o,r,a){return[uo(e,t,o,r,a),n=>po(e,t,o,r,a,n)]}var fo={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},vo={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function yo(e,t){const o=e.defaults[t],r=e.typeOfFixture;let a=0;return e.values.forEach((e,t)=>{e.includes(o)&&(a=t)}),r[a]}function ho(e){const t={},o={};for(const t in e.variants){const r=e.variants[t];o[t]=r.default}t.defaults=o,t.variables={};for(const o in e.variants){const r=e.variants[o];for(const e of r.options)if(r.componentStates){const a=r.componentStates;for(const r in a){const n=a[r];for(const a of n.options)for(const s in n.layers){const l=n.layers[s],i=It({variantKey:o,variantValue:e,stateKey:r,stateValue:a,layer:s});t.variables[i]={};for(const o in l.properties){const r=l.properties[o],a={[o]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};t.variables[i]={...t.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=It({variantKey:o,variantValue:e,layer:a});t.variables[s]={};for(const o in n.properties){const r=n.properties[o],a={[o]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};t.variables[s]={...t.variables[s],...a}}}}if(e.subComponents){const{subComponents:o}=e;for(const e in o)for(const r in o[e].variants){const a=o[e].variants[r];t.defaults[r]=a.default;for(const o of a.options)if(a.componentStates){const n=a.componentStates;for(const a in n){const s=n[a];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=It({variantKey:r,variantValue:o,stateKey:a,stateValue:n,layer:l,subComponentName:e});t.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:yo(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:yo(r,o),valueType:"alias",value:r.defaults[o]};t.variables[u]={...t.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=It({variantKey:r,variantValue:o,layer:n,subComponentName:e});t.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:yo(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:yo(r,o),valueType:"alias",value:r.defaults[o]};t.variables[l]={...t.variables[l],...a}}}}}return t}function bo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,Rt.default)(e)}-${(0,Rt.default)(n)}-${(0,Rt.default)(t)}`:`uds-${(0,Rt.default)(e)}-${(0,Rt.default)(t)}`,o&&(i=`${i}-${(0,Rt.default)(o)}`),s&&l&&(i=`${i}-${(0,Rt.default)(s)}-${(0,Rt.default)(l)}`),i=`${i}-${(0,Rt.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function mo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:p,theme:c,currentStyles:f,previewOptions:d}){const v=It({variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});let y=bo({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});const h=i.variables[v][u];if(!h)throw"size/md/root"===v&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:v,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${v} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const b={};for(const v in h){const m=v,g=fo[m]??"",_=h[m];let w="";if("root"===r)if(s&&l){const a=bo({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n});y=bo({componentName:e,variantKey:t,layer:r,subComponentName:n,stateKey:s,stateValue:l}),w=`.${a}${g}.${y}`}else w=`.${y}${g}`;else{const i=bo({componentName:e,variantKey:t,variantValue:o,layer:"root",subComponentName:n});if(s&&l){const u=bo({componentName:e,variantKey:t,layer:"root",subComponentName:n,stateKey:s,stateValue:l});y=bo({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),w=`.${i}${g}.${u} .${y}`}else w=`.${i}${g} .${y}`}const x=(e,t,o,r)=>{const{value:a,type:n}=e,s=br[t];let l;if(br[t].customValueRenderer)l=br[t].customValueRenderer(e,i,o);else{l=o(br[t].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:j,extendedProperties:$}=br[p.name],C={},S=(0,Bt.default)($),k=S?$({componentName:e,subComponentName:n,layer:r,propertyKey:u}):$;if(k&&k.length){if(!S&&("string"==typeof j||Array.isArray(j)&&j.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of k){const t=br[e].cssProperties;if("string"==typeof t){const o=f?.[w]?.[t];C[t]=x(_,e,c,o)}else if(Array.isArray(t))for(const o of t){const t=f?.[w]?.[o];C[o]=x(_,e,c,t)}}}else if("string"==typeof j){const e=f?.[w]?.[j];C[j]=x(_,p.name,c,e)}else if(Array.isArray(j))for(const e of j){const t=f?.[w]?.[e];C[e]=x(_,p.name,c,t)}if(b[w]||(b[w]={...C,...b[w]}),d?.generatePseudoStateClassModifier){const e=vo[m]??"";if(e.length>0&&"root"!==v){const t=Object.fromEntries(Object.entries(C).map(([e,t])=>[e,`${t} !important`]));b[`.${e}${w}`.replace(g,"")]={...t,...b[`.${e}${w}`.replace(g,"")]}}}}return b}function go(e,t,o,r){function a(e,t){return(0,Xt.default)({},e,t)}let n=e.label.toLowerCase();e.overrideComponentName&&(n=e.overrideComponentName.toLowerCase());let s={};for(const l in e.variants){const i=e.variants[l];for(const e of i.options)if(i.componentStates){const u=i.componentStates;for(const i in u){const p=u[i];for(const u of p.options)for(const c in p.layers){const f=p.layers[c];for(const p in f.properties){const d=f.properties[p];s=a(s,mo({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:c,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:p,originalPropertyDefinition:d,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const p=i.layers[u];for(const i in p.properties){const c=p.properties[i];s=a(s,mo({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:i,originalPropertyDefinition:c,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}if(e.subComponents){const{subComponents:l}=e;for(const e in l)for(const i in l[e].variants){const u=l[e].variants[i];for(const l of u.options)if(u.componentStates){const p=u.componentStates;for(const u in p){const c=p[u];for(const p of c.options)for(const f in c.layers){const d=c.layers[f];for(const c in d.properties){const v=d.properties[c];s=a(s,mo({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:p,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:c,originalPropertyDefinition:v,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}else for(const p in u.layers){const c=u.layers[p];for(const u in c.properties){const f=c.properties[u];s=a(s,mo({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:p,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:o,schema:t,currentStyles:s,previewOptions:r}))}}}}return s}function _o(e){return e}function wo(e){return e}function xo(e){return e}function jo(e){return e}function $o(e){return e}function Co(e){return e}function So(e){return e}function ko(e){return e}var Po=["none","custom"],Wo=["none","up","down"],Oo={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},Vo={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},Ao={hover:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"up",options:Wo}},pressed:{backgroundColor:{value:"none",options:Po},borderColor:{value:"none",options:Po},color:{value:"none",options:Po},scale:{value:"down",options:Wo}}},To={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function Fo(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...To}}function No(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...To}}function zo(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...To}}var Eo={fill:Fo,outline:No,ghost:zo},Ko={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:{info:{primary:{kind:"fill",effect:Oo,base:Fo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...To}}}},accent:{primary:{kind:"fill",effect:Oo,base:Fo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...To}}}},brand:{primary:{kind:"fill",effect:Oo,base:Fo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...To}}}},alert:{primary:{kind:"fill",effect:Oo,base:Fo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...To}}}},positive:{primary:{kind:"fill",effect:Oo,base:Fo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...To}}}},warning:{primary:{kind:"fill",effect:Oo,base:Fo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...To}}},secondary:{kind:"outline",effect:Vo,base:No("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...To},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...To}}},tertiary:{kind:"ghost",effect:Ao,base:zo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...To},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...To}}}}}},Yo={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},Mo={drop:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}]},inset:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}],"xs-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"always",value:"white"}}],"sm-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"always",value:"white"}}],"md-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"lg-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"xl-invert":[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"always",value:"white"}}],"2xl-invert":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"always",value:"white"}}]}},Bo={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ro="system",Xo="system",Io="light",Do="large",Lo=!1,Ho="🇺🇸 US",Uo="https://s.yimg.com/bw/fonts",Go=["Helvetica Neue","Helvetica","Arial","sans-serif"],qo=["Georgia","Times","Times New Roman","serif"],Jo={"centra-no2":{fallback:Go,type:"sans",fontFamily:"Centra No2",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Hairline",value:50},{label:"Thin",value:100},{label:"Light",value:300},{label:"Book",value:400},{label:"Medium",value:500},{label:"Bold",value:700},{label:"ExtraBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"50",src:`url('${Uo}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Uo}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Uo}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Uo}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Uo}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Uo}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Uo}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Uo}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Uo}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Uo}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Uo}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Go,type:"sans",fontFamily:"Inter",isVariableFont:!0,fontSlants:[{label:"Italic",value:-10},{label:"None",value:0}],fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Extra Light",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semi Bold",value:600},{label:"Bold",value:700},{label:"Extra Bold",value:800},{label:"Black",value:900}],defaults:{fontSlant:0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",fontFamily:"Roboto Mono",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"100",src:`url('${Uo}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Uo}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Uo}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Uo}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Uo}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Go,type:"sans",fontFamily:"Yahoo Sans",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"ExtraLight",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semibold",value:585},{label:"Bold",value:700},{label:"ExtraBold",value:810},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Go,type:"sans",fontFamily:"Yahoo CR4 BETA VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Go,type:"sans",fontFamily:"Yahoo Product Sans VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Go,type:"sans",fontFamily:"YahooPd_Eval202412",isVariableFont:!0,fontSlants:[{label:"Italic",value:9},{label:"None",value:0}],fontWidths:[{label:"Cond",value:50},{label:"Normal",value:75},{label:"Ext",value:100}],fontWeights:[{label:"Light",value:300},{label:"Regular",value:450},{label:"Medium",value:500},{label:"Semibold",value:600},{label:"Bold",value:700},{label:"Black",value:850}],defaults:{fontSlant:0,fontWidth:75,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Uo}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Go,type:"sans",fontFamily:"Yahoo Sans Cond",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:718},{label:"XBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Uo}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:qo,type:"serif",fontFamily:"Yahoo Serif Display",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Bold",value:700},{label:"Extrabold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"300",src:`url('${Uo}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Uo}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Uo}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:qo,type:"serif",fontFamily:"Yahoo Serif Text",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"400",src:`url('${Uo}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Uo}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Uo}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Uo}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function Qo({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`}function Zo({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[t,o]=e.split("-");return o?{palette:t,variant:o}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}}function er(e){return Object.fromEntries(e)}var tr={black:"0 0 0",white:"255 255 255"};function or({preset:e,prefix:t,shadowType:o}){const r=`--uds-${o}-shadow-`,a="palette"===e.color?.type,n="always"===e.color?.type;let s=`var(--uds-${a?"shadow":"spectrum"}-color-${e?.color?.value})`;n&&(s=tr[e.color.value]);const l=`var(${r}${t?`${t}-`:""}color, ${s})`;return`${"inset"===o?"inset ":""}${[`${N[e.offsetX]}px`,`${N[e.offsetY]}px`,`${z[e.blur]}px`,`${E[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${r}${t?`${t}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function rr({config:e,shadowType:o}){const r=e?.shadow?.[o];if(!r)return{};const a={};return t(r).forEach(([e,t])=>{if("none"===e)return void(a[`--uds-${o}-shadow-${e}`]="0 0 transparent");const r=t.map((e,t)=>or({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));a[`--uds-${o}-shadow-${e}`]=`${r.join(", ")}`}),a}var ar=e=>(t,o)=>`typography.${e}.${At(o)}`,nr=(e,t)=>{switch(e){case"alwaysPaletteAliases":return`colors.${t}`;case"spectrumColors":{const[e,o]=t.split("-");return`colors.${e}.${o}`}case"foregroundPaletteColors":return`textColor.${t}`;case"backgroundPaletteColors":return`backgroundColor.${t}`;case"linePaletteColors":return`borderColor.${t}`}return Vt()},sr=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),lr={name:"backgroundColor",cssProperties:"background-color",twThemePath:nr,possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},ir={name:"fontSize",cssProperties:"font-size",twThemePath:ar("fontSize"),possibleFixtures:["textVariants"]},ur={name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e,o=At(t);return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},pr={name:"fontWeight",cssProperties:"font-weight",twThemePath:ar("fontWeight"),possibleFixtures:["textVariants"]},cr={name:"fontFamily",cssProperties:"font-family",twThemePath:ar("fontFamily"),possibleFixtures:["textVariants"]},fr={name:"color",cssProperties:"color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},dr={name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>sr(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},vr={name:"borderColor",cssProperties:"border-color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>sr(e)&&["outlineColor"]},yr={name:"outlineColor",cssProperties:"outline-color",twThemePath:nr,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},hr={name:"textTransform",cssProperties:"text-transform",twThemePath:ar("textTransform"),possibleFixtures:["textVariants"]},br={...{backgroundColor:lr,borderWidth:dr,borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:vr,fontFamily:cr,fontSize:ir,fontVariationSettings:ur,lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:ar("lineHeight"),possibleFixtures:["textVariants"]},textTransform:hr,padding:{name:"padding",cssProperties:"padding",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},color:fr,fontWeight:pr,iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,t)=>`sizing.icon.${t}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,t)=>`spacing[${t}]`,possibleFixtures:["spacingAliases"]},textVariant:{name:"textVariant",cssProperties:[],twThemePath:()=>"",possibleFixtures:["textVariants"],extendedProperties:["fontSize","fontWeight","fontFamily","lineHeight","textTransform","fontVariationSettings"]},textDecorationLine:{name:"textDecorationLine",cssProperties:"text-decoration-line",possibleFixtures:["textDecorationLines"],twThemePath:()=>"",customValueRenderer:e=>String(e.value)},shadow:{name:"drop shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="drop";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>or({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariants"]},insetShadow:{name:"inset shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const t="inset";if("alias"===e.valueType){const o="0 0 0 transparent";if("none"===e.value)return o;if("custom"!==e.value)return`var(--uds-${t}-shadow-${e.value})`}else if("custom"===e.valueType){const o=e.value.map((e,o)=>or({preset:e,shadowType:t,prefix:o>0?`${o+1}`:void 0}));return o?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,t)=>`height[${t}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,t)=>`width[${t}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:yr,insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:t},o,r)=>`calc(-1 * ${r("borderWidths"===t?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};export{Io as DEFAULT_COLOR_MODE,Ro as DEFAULT_COLOR_MODE_FOR_APP,Lo as DEFAULT_HIGH_CONTRAST_MODE,Ho as DEFAULT_REGION_MODE,Do as DEFAULT_SCALE_MODE,Xo as DEFAULT_SCALE_MODE_FOR_APP,Jo as FONT_DECLARATIONS_MAP,Kt as RESPONSIVE_TAILWIND_CONFIG_MAP,Yo as alwaysPalette,Vt as assertUnreachable,Ko as button,Dt as cartesianProduct,Lt as coalesceConfigVariant,br as configurableProperties,xo as createComponentStateConfig,Co as createComponentStates,_o as createConfigurableProperty,So as createLayerConfig,ko as createSubComponentConfig,wo as createVariantConfig,$o as createVariantConfigWithComponentStates,jo as createVariantConfigWithProperties,yo as findFixtureType,Bo as fontWeightMap,er as fromEntries,bo as generateClassName,mo as generateDeclaration,Gt as generateKeyFromFlatConfigPath,It as generateSchemaKey,go as generateStyles,Yt as getBaseTextVars,Ht as getConfigDefaultValue,uo as getConfigPseudoStateVariables,co as getConfigPseudoStateVariablesWithSetter,so as getConfigSubcomponents,eo as getConfigVariantComponentStates,to as getConfigVariantComponentStatesMatrix,oo as getConfigVariantProperties,ao as getConfigVariantPseudoStates,lo as getConfigVariants,Eo as getDefaultButtonBaseMap,Mt as getResponsiveTextStyles,or as getShadowLayerValue,rr as getShadowPresetValues,Ut as isConfigDefaultValue,Qo as parseButtonVariantFlat,Zo as parseDeprecatedButtonPaletteVariant,K as require_isString,po as setConfigPseudoStateVariable,Mo as shadow,vo as statePseudoMapDocsMode,At as textVariantsSafe,ho as toMinimalDbConfigObject};
@@ -1,2 +1,2 @@
1
- import{Box as r}from"./chunk-4HNO3P5K.js";import{require_isFunction as e}from"./chunk-XBZ4RUDC.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{forwardRef as o,Children as a,cloneElement as n,isValidElement as c}from"react";import{jsx as p}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
1
+ import{Box as r}from"./chunk-TBKJVNN7.js";import{require_isFunction as e}from"./chunk-E6Q2IF33.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{forwardRef as o,Children as a,cloneElement as n,isValidElement as c}from"react";import{jsx as p}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
2
  var i=t(e(),1),l=(r,e)=>((r,e)=>{const t=(0,i.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(a.toArray(r),r=>{const t=(0,i.default)(e)?e(r):e;return c(t)?n(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),m=o(function({gap:e,children:t,separator:o,...a},n){return p(r,{ref:n,flexDirection:"row",rowGap:e,columnGap:e,...a,children:o?l(t,o):t})});m.displayName="HStack";var u=o(function({gap:e,children:t,separator:o,...a},n){return p(r,{ref:n,flexDirection:"column",columnGap:e,rowGap:e,...a,children:o?l(t,o):t})});u.displayName="VStack";export{m as HStack,u as VStack};
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("./chunk-SBK2EDRB.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:B,flexShrink:A,flexWrap:W,justifyContent:E,flexBasis:R,display:T,overflow:_,overflowX:P,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:K,offsetVertical:J,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:B,flexShrink:A,flexWrap:W,justifyContent:E,flexBasis:R,display:T,overflow:_,overflowX:P,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:K,offsetVertical:J,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="Pressable";var n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
1
+ "use strict";var r=require("./chunk-AHOWBDMO.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:J,offsetHorizontal:K,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:O,spacingTop:X,offset:Y,offsetVertical:J,offsetHorizontal:K,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="Pressable";var n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{children:t.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 t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
2
2
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=a,exports.a=o,exports.e=s,exports.e2=h,exports.o=i,exports.o2=c,exports.t=n;