@yahoo/uds 3.39.0 → 3.41.0-beta.1

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 (122) hide show
  1. package/dist/{Box-C5GwvlME.d.ts → Box-BW0Ct5XD.d.ts} +1 -1
  2. package/dist/{Box-B2DvoAMD.d.cts → Box-CfWJXdeW.d.cts} +1 -1
  3. package/dist/{Pressable-BbJdaJUo.d.cts → Pressable-DZi-Ay9z.d.cts} +1 -1
  4. package/dist/{Pressable-CogcHtMQ.d.ts → Pressable-Nqmlz_FD.d.ts} +1 -1
  5. package/dist/{Text-Cghi693U.d.ts → Text-CXdUVeWA.d.ts} +2 -2
  6. package/dist/{Text-CgQcjNy7.d.cts → Text-Di0xLhJx.d.cts} +2 -2
  7. package/dist/{VStack-Cpgnc5oS.d.ts → VStack-By9oddRo.d.ts} +2 -2
  8. package/dist/{VStack-BrpD0qUH.d.cts → VStack-CEArkoYF.d.cts} +2 -2
  9. package/dist/{chunk-2FN7PYW3.cjs → chunk-3KCKTFBM.cjs} +1 -1
  10. package/dist/{chunk-GJLQAO4M.cjs → chunk-5RTXYZAR.cjs} +1 -1
  11. package/dist/{chunk-NYCASMFK.cjs → chunk-7IUKR73D.cjs} +1 -1
  12. package/dist/{chunk-NQ7BFO3S.cjs → chunk-A4HDAVWF.cjs} +1 -1
  13. package/dist/{chunk-ST7Z3YRS.js → chunk-AQQHB7VE.js} +2 -2
  14. package/dist/{chunk-KL36KHMK.cjs → chunk-B4JU4OUN.cjs} +1 -1
  15. package/dist/chunk-BG6J7LLT.cjs +1 -0
  16. package/dist/chunk-DP63H5CQ.js +2 -0
  17. package/dist/{chunk-NVU2HHNL.cjs → chunk-EIPNPQY4.cjs} +1 -1
  18. package/dist/{chunk-Z44HLHNN.js → chunk-FU4YDQQB.js} +1 -1
  19. package/dist/chunk-GSEOWOTM.js +2 -0
  20. package/dist/{chunk-LITEZHOE.js → chunk-HOAXINBM.js} +1 -1
  21. package/dist/{chunk-CWG6VECG.cjs → chunk-IAD33G4C.cjs} +1 -1
  22. package/dist/{chunk-WPPJ6CMJ.js → chunk-JEGSJ7GW.js} +1 -1
  23. package/dist/{chunk-ELVRZONR.cjs → chunk-LWXI5KNF.cjs} +1 -1
  24. package/dist/chunk-LZ6EKK62.cjs +1 -0
  25. package/dist/chunk-O4J7VREK.js +2 -0
  26. package/dist/{chunk-UAN7HYYD.js → chunk-PI6G7IEW.js} +3 -3
  27. package/dist/{chunk-3NOPVRK3.js → chunk-PMTM3ZON.js} +1 -1
  28. package/dist/{chunk-BCRZ2EQO.js → chunk-R7QLT7IG.js} +2 -2
  29. package/dist/{chunk-SVO6TMF5.js → chunk-TVB5Y4GA.js} +2 -2
  30. package/dist/{chunk-AX4IA6TK.cjs → chunk-UO7B7MHG.cjs} +1 -1
  31. package/dist/{chunk-JP3JNLAD.js → chunk-WILCJRXV.js} +1 -1
  32. package/dist/{chunk-S7ODSMBM.js → chunk-WXBCHQS7.js} +1 -1
  33. package/dist/{chunk-CQTZVA52.cjs → chunk-XENYAFZW.cjs} +1 -1
  34. package/dist/{chunk-S5NRWKDP.cjs → chunk-Y5LHP2WU.cjs} +1 -1
  35. package/dist/client/Menu.cjs +2 -2
  36. package/dist/client/Menu.d.cts +4 -4
  37. package/dist/client/Menu.d.ts +4 -4
  38. package/dist/client/Menu.js +2 -2
  39. package/dist/client/index.cjs +1 -1
  40. package/dist/client/index.d.cts +5 -5
  41. package/dist/client/index.d.ts +5 -5
  42. package/dist/client/index.js +1 -1
  43. package/dist/defaultTokensConfig.cjs +1 -1
  44. package/dist/defaultTokensConfig.d.cts +3360 -3360
  45. package/dist/defaultTokensConfig.d.ts +3360 -3360
  46. package/dist/defaultTokensConfig.js +1 -1
  47. package/dist/experimental/client/SwitchV2.cjs +1 -2
  48. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  49. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  50. package/dist/experimental/client/SwitchV2.js +1 -2
  51. package/dist/{index-uVTfvIWD.d.ts → index-BZR0-8yC.d.ts} +1 -1
  52. package/dist/{index-BNV_bpqb.d.cts → index-C23ezu3B.d.cts} +1 -1
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +9 -9
  55. package/dist/index.d.ts +9 -9
  56. package/dist/index.js +1 -1
  57. package/dist/metafile-cjs.json +1 -1
  58. package/dist/metafile-esm.json +1 -1
  59. package/dist/tailwind/plugin.cjs +1 -1
  60. package/dist/tailwind/plugin.d.cts +1 -1
  61. package/dist/tailwind/plugin.d.ts +1 -1
  62. package/dist/tailwind/plugin.js +1 -1
  63. package/dist/tailwind/tsMorph.cjs +1 -1
  64. package/dist/tailwind/tsMorph.js +2 -2
  65. package/dist/tailwind/utils.cjs +1 -1
  66. package/dist/tailwind/utils.d.cts +1 -1
  67. package/dist/tailwind/utils.d.ts +1 -1
  68. package/dist/tailwind/utils.js +1 -1
  69. package/dist/tokens/automation/configs.cjs +1 -1
  70. package/dist/tokens/automation/configs.d.cts +2 -2
  71. package/dist/tokens/automation/configs.d.ts +2 -2
  72. package/dist/tokens/automation/configs.js +1 -1
  73. package/dist/tokens/automation/properties.cjs +1 -1
  74. package/dist/tokens/automation/properties.d.cts +2 -2
  75. package/dist/tokens/automation/properties.d.ts +2 -2
  76. package/dist/tokens/automation/properties.js +1 -1
  77. package/dist/tokens/index.cjs +1 -1
  78. package/dist/tokens/index.d.cts +4 -4
  79. package/dist/tokens/index.d.ts +4 -4
  80. package/dist/tokens/index.js +1 -1
  81. package/dist/tokens/parseTokens.cjs +1 -1
  82. package/dist/tokens/parseTokens.d.cts +1 -1
  83. package/dist/tokens/parseTokens.d.ts +1 -1
  84. package/dist/tokens/parseTokens.js +1 -1
  85. package/dist/{types-BEsEvo0F.d.cts → types-A7dQQHNE.d.cts} +2027 -2025
  86. package/dist/{types-BEsEvo0F.d.ts → types-A7dQQHNE.d.ts} +2027 -2025
  87. package/package.json +1 -1
  88. package/dist/Box-CJ3zIj4N.d.cts +0 -34
  89. package/dist/Box-DggpNHav.d.ts +0 -34
  90. package/dist/Pressable-CE-tEoUc.d.cts +0 -44
  91. package/dist/Pressable-DEuYwe7j.d.ts +0 -44
  92. package/dist/Text-CoY1WLeq.d.ts +0 -139
  93. package/dist/Text-DDathn4e.d.cts +0 -139
  94. package/dist/VStack-CIUJgL-7.d.cts +0 -83
  95. package/dist/VStack-_eM5ET03.d.ts +0 -83
  96. package/dist/chunk-24RMELG3.js +0 -2
  97. package/dist/chunk-3AYBRPUC.cjs +0 -1
  98. package/dist/chunk-5D2A6RFS.js +0 -2
  99. package/dist/chunk-74BWCTGT.cjs +0 -1
  100. package/dist/chunk-CZH6WYYG.cjs +0 -1
  101. package/dist/chunk-DCZLRK3J.js +0 -2
  102. package/dist/chunk-IVKGRXGB.cjs +0 -1
  103. package/dist/chunk-KTN43MAD.js +0 -2
  104. package/dist/chunk-KYESDN2J.js +0 -2
  105. package/dist/chunk-MZKL2XHU.js +0 -2
  106. package/dist/chunk-NUOTAOOJ.js +0 -2
  107. package/dist/chunk-OIDUOWWP.cjs +0 -1
  108. package/dist/chunk-PQNUKUFA.js +0 -1
  109. package/dist/chunk-QF6YIMT4.js +0 -2
  110. package/dist/chunk-QFCUUITW.cjs +0 -1
  111. package/dist/chunk-QXAMOFS3.cjs +0 -1
  112. package/dist/chunk-SPTEOB2R.cjs +0 -2
  113. package/dist/chunk-VDZOZV5O.js +0 -3
  114. package/dist/chunk-VGS2HJDD.js +0 -1
  115. package/dist/chunk-VQ4KEVVH.cjs +0 -1
  116. package/dist/chunk-Y5HRSSOF.cjs +0 -1
  117. package/dist/chunk-ZEQ3QOPP.js +0 -2
  118. package/dist/chunk-ZJIWHNVT.cjs +0 -2
  119. package/dist/index-DE7BJVEA.d.cts +0 -245
  120. package/dist/index-DviXR06Z.d.ts +0 -245
  121. package/dist/types-rZt8SiS0.d.cts +0 -10586
  122. package/dist/types-rZt8SiS0.d.ts +0 -10586
@@ -1,2 +1,2 @@
1
- import{mapValues as e,entries as t}from"./chunk-EWJ3J526.js";import{require_createCompounder as o,require_getNative as r,require_Map as a,require_root as n,require_isObject as s,require_overArg as l,require_isPrototype as i,require_isArrayLike as u,require_isObjectLike as p,require_baseGetTag as c,require_isArguments as f,require_isArray 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-QF6YIMT4.js";import{__commonJS as j,__toESM as C}from"./chunk-GF4A6TFM.js";import{shadowOffsetMap as $,spacingMap as S,shadowSpreadRadiusMap as P}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- var k=j({"../../node_modules/lodash/lowerCase.js"(e,t){var r=o()(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()});t.exports=r}}),W=j({"../../node_modules/lodash/_listCacheClear.js"(e,t){t.exports=function(){this.__data__=[],this.size=0}}}),A=j({"../../node_modules/lodash/eq.js"(e,t){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}),V=j({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var o=A();t.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}}}),O=j({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var o=V(),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)}}}),T=j({"../../node_modules/lodash/_listCacheGet.js"(e,t){var o=V();t.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}}}),F=j({"../../node_modules/lodash/_listCacheHas.js"(e,t){var o=V();t.exports=function(e){return o(this.__data__,e)>-1}}}),N=j({"../../node_modules/lodash/_listCacheSet.js"(e,t){var o=V();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}}}),K=j({"../../node_modules/lodash/_ListCache.js"(e,t){var o=W(),r=O(),a=T(),n=F(),s=N();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}}),z=j({"../../node_modules/lodash/_stackClear.js"(e,t){var o=K();t.exports=function(){this.__data__=new o,this.size=0}}}),Y=j({"../../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}}}),E=j({"../../node_modules/lodash/_stackGet.js"(e,t){t.exports=function(e){return this.__data__.get(e)}}}),M=j({"../../node_modules/lodash/_stackHas.js"(e,t){t.exports=function(e){return this.__data__.has(e)}}}),R=j({"../../node_modules/lodash/_nativeCreate.js"(e,t){var o=r()(Object,"create");t.exports=o}}),B=j({"../../node_modules/lodash/_hashClear.js"(e,t){var o=R();t.exports=function(){this.__data__=o?o(null):{},this.size=0}}}),X=j({"../../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}}}),I=j({"../../node_modules/lodash/_hashGet.js"(e,t){var o=R(),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}}}),D=j({"../../node_modules/lodash/_hashHas.js"(e,t){var o=R(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}}}),L=j({"../../node_modules/lodash/_hashSet.js"(e,t){var o=R();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}}}),H=j({"../../node_modules/lodash/_Hash.js"(e,t){var o=B(),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=j({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var o=H(),r=K(),n=a();t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(n||r),string:new o}}}}),G=j({"../../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}}}),q=j({"../../node_modules/lodash/_getMapData.js"(e,t){var o=G();t.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}}}),J=j({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var o=q();t.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}}}),Q=j({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var o=q();t.exports=function(e){return o(this,e).get(e)}}}),Z=j({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var o=q();t.exports=function(e){return o(this,e).has(e)}}}),ee=j({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var o=q();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}}}),te=j({"../../node_modules/lodash/_MapCache.js"(e,t){var o=U(),r=J(),a=Q(),n=Z(),s=ee();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}}),oe=j({"../../node_modules/lodash/_stackSet.js"(e,t){var o=K(),r=a(),n=te();t.exports=function(e,t){var a=this.__data__;if(a instanceof o){var s=a.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++a.size,this;a=this.__data__=new n(s)}return a.set(e,t),this.size=a.size,this}}}),re=j({"../../node_modules/lodash/_Stack.js"(e,t){var o=K(),r=z(),a=Y(),n=E(),s=M(),l=oe();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}}),ae=j({"../../node_modules/lodash/_defineProperty.js"(e,t){var o=r(),a=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a}}),ne=j({"../../node_modules/lodash/_baseAssignValue.js"(e,t){var o=ae();t.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}),se=j({"../../node_modules/lodash/_assignMergeValue.js"(e,t){var o=ne(),r=A();t.exports=function(e,t,a){(void 0!==a&&!r(e[t],a)||void 0===a&&!(t in e))&&o(e,t,a)}}}),le=j({"../../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}}}}),ie=j({"../../node_modules/lodash/_baseFor.js"(e,t){var o=le()();t.exports=o}}),ue=j({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var o=n(),r="object"==typeof e&&e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===r?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var o=e.length,r=l?l(o):new e.constructor(o);return e.copy(r),r}}}),pe=j({"../../node_modules/lodash/_Uint8Array.js"(e,t){var o=n().Uint8Array;t.exports=o}}),ce=j({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,t){var o=pe();t.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}}}),fe=j({"../../node_modules/lodash/_cloneTypedArray.js"(e,t){var o=ce();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),de=j({"../../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}}}),ve=j({"../../node_modules/lodash/_baseCreate.js"(e,t){var o=s(),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}}),ye=j({"../../node_modules/lodash/_getPrototype.js"(e,t){var o=l()(Object.getPrototypeOf,Object);t.exports=o}}),he=j({"../../node_modules/lodash/_initCloneObject.js"(e,t){var o=ve(),r=ye(),a=i();t.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:o(r(e))}}}),be=j({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var o=u(),r=p();t.exports=function(e){return r(e)&&o(e)}}}),me=j({"../../node_modules/lodash/isPlainObject.js"(e,t){var o=c(),r=ye(),a=p(),n=Function.prototype,s=Object.prototype,l=n.toString,i=s.hasOwnProperty,u=l.call(Object);t.exports=function(e){if(!a(e)||"[object Object]"!=o(e))return!1;var t=r(e);if(null===t)return!0;var n=i.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}}}),ge=j({"../../node_modules/lodash/_safeGet.js"(e,t){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}),_e=j({"../../node_modules/lodash/_assignValue.js"(e,t){var o=ne(),r=A(),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)}}}),we=j({"../../node_modules/lodash/_copyObject.js"(e,t){var o=_e(),r=ne();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}}}),xe=j({"../../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}}}),je=j({"../../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}}}),Ce=j({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var o=xe(),r=f(),a=d(),n=v(),s=je(),l=y(),i=Object.prototype.hasOwnProperty;t.exports=function(e,t){var u=a(e),p=!u&&r(e),c=!u&&!p&&n(e),f=!u&&!p&&!c&&l(e),d=u||p||c||f,v=d?o(e.length,String):[],y=v.length;for(var h in e)!t&&!i.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,y))||v.push(h);return v}}}),$e=j({"../../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}}}),Se=j({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var o=s(),r=i(),a=$e(),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}}}),Pe=j({"../../node_modules/lodash/keysIn.js"(e,t){var o=Ce(),r=Se(),a=u();t.exports=function(e){return a(e)?o(e,!0):r(e)}}}),ke=j({"../../node_modules/lodash/toPlainObject.js"(e,t){var o=we(),r=Pe();t.exports=function(e){return o(e,r(e))}}}),We=j({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var o=se(),r=ue(),a=fe(),n=de(),l=he(),i=f(),u=d(),p=be(),c=v(),b=h(),m=s(),g=me(),_=y(),w=ge(),x=ke();t.exports=function(e,t,s,f,d,v,y){var h=w(e,s),j=w(t,s),C=y.get(j);if(C)o(e,s,C);else{var $=v?v(h,j,s+"",e,t,y):void 0,S=void 0===$;if(S){var P=u(j),k=!P&&c(j),W=!P&&!k&&_(j);$=j,P||k||W?u(h)?$=h:p(h)?$=n(h):k?(S=!1,$=r(j,!0)):W?(S=!1,$=a(j,!0)):$=[]:g(j)||i(j)?($=h,i(h)?$=x(h):m(h)&&!b(h)||($=l(j))):S=!1}S&&(y.set(j,$),d($,j,f,v,y),y.delete(j)),o(e,s,$)}}}}),Ae=j({"../../node_modules/lodash/_baseMerge.js"(e,t){var o=re(),r=se(),a=ie(),n=We(),l=s(),i=Pe(),u=ge();t.exports=function e(t,s,p,c,f){t!==s&&a(s,function(a,i){if(f||(f=new o),l(a))n(t,s,i,p,e,c,f);else{var d=c?c(u(t,i),a,i+"",t,s,f):void 0;void 0===d&&(d=a),r(t,i,d)}},i)}}}),Ve=j({"../../node_modules/lodash/identity.js"(e,t){t.exports=function(e){return e}}}),Oe=j({"../../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)}}}),Te=j({"../../node_modules/lodash/_overRest.js"(e,t){var o=Oe(),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)}}}}),Fe=j({"../../node_modules/lodash/constant.js"(e,t){t.exports=function(e){return function(){return e}}}}),Ne=j({"../../node_modules/lodash/_baseSetToString.js"(e,t){var o=Fe(),r=ae(),a=Ve(),n=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;t.exports=n}}),Ke=j({"../../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)}}}}),ze=j({"../../node_modules/lodash/_setToString.js"(e,t){var o=Ne(),r=Ke()(o);t.exports=r}}),Ye=j({"../../node_modules/lodash/_baseRest.js"(e,t){var o=Ve(),r=Te(),a=ze();t.exports=function(e,t){return a(r(e,t,o),e+"")}}}),Ee=j({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var o=A(),r=u(),a=je(),n=s();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)}}}),Me=j({"../../node_modules/lodash/_createAssigner.js"(e,t){var o=Ye(),r=Ee();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})}}}),Re=j({"../../node_modules/lodash/mergeWith.js"(e,t){var o=Ae(),r=Me()(function(e,t,r,a){o(e,t,r,a)});t.exports=r}}),Be=j({"../../node_modules/lodash/_baseToPairs.js"(e,t){var o=b();t.exports=function(e,t){return o(t,function(t){return[t,e[t]]})}}}),Xe=j({"../../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}}}),Ie=j({"../../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}}}),De=j({"../../node_modules/lodash/_createToPairs.js"(e,t){var o=Be(),r=m(),a=Xe(),n=Ie();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))}}}}),Le=j({"../../node_modules/lodash/keys.js"(e,t){var o=Ce(),r=g(),a=u();t.exports=function(e){return a(e)?o(e):r(e)}}}),He=j({"../../node_modules/lodash/toPairs.js"(e,t){var o=De()(Le());t.exports=o}}),Ue=j({"../../node_modules/lodash/entries.js"(e,t){t.exports=He()}}),Ge=j({"../../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}}}),qe=j({"../../node_modules/lodash/_baseAssign.js"(e,t){var o=we(),r=Le();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),Je=j({"../../node_modules/lodash/_baseAssignIn.js"(e,t){var o=we(),r=Pe();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),Qe=j({"../../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}}}),Ze=j({"../../node_modules/lodash/stubArray.js"(e,t){t.exports=function(){return[]}}}),et=j({"../../node_modules/lodash/_getSymbols.js"(e,t){var o=Qe(),r=Ze(),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}}),tt=j({"../../node_modules/lodash/_copySymbols.js"(e,t){var o=we(),r=et();t.exports=function(e,t){return o(e,r(e),t)}}}),ot=j({"../../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}}}),rt=j({"../../node_modules/lodash/_getSymbolsIn.js"(e,t){var o=ot(),r=ye(),a=et(),n=Ze(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,a(e)),e=r(e);return t}:n;t.exports=s}}),at=j({"../../node_modules/lodash/_copySymbolsIn.js"(e,t){var o=we(),r=rt();t.exports=function(e,t){return o(e,r(e),t)}}}),nt=j({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var o=ot(),r=d();t.exports=function(e,t,a){var n=t(e);return r(e)?n:o(n,a(e))}}}),st=j({"../../node_modules/lodash/_getAllKeys.js"(e,t){var o=nt(),r=et(),a=Le();t.exports=function(e){return o(e,a,r)}}}),lt=j({"../../node_modules/lodash/_getAllKeysIn.js"(e,t){var o=nt(),r=rt(),a=Pe();t.exports=function(e){return o(e,a,r)}}}),it=j({"../../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}}}),ut=j({"../../node_modules/lodash/_cloneDataView.js"(e,t){var o=ce();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),pt=j({"../../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}}}),ct=j({"../../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)):{}}}}),ft=j({"../../node_modules/lodash/_initCloneByTag.js"(e,t){var o=ce(),r=ut(),a=pt(),n=ct(),s=fe();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)}}}}),dt=j({"../../node_modules/lodash/_baseIsMap.js"(e,t){var o=m(),r=p();t.exports=function(e){return r(e)&&"[object Map]"==o(e)}}}),vt=j({"../../node_modules/lodash/isMap.js"(e,t){var o=dt(),r=w(),a=x(),n=a&&a.isMap,s=n?r(n):o;t.exports=s}}),yt=j({"../../node_modules/lodash/_baseIsSet.js"(e,t){var o=m(),r=p();t.exports=function(e){return r(e)&&"[object Set]"==o(e)}}}),ht=j({"../../node_modules/lodash/isSet.js"(e,t){var o=yt(),r=w(),a=x(),n=a&&a.isSet,s=n?r(n):o;t.exports=s}}),bt=j({"../../node_modules/lodash/_baseClone.js"(e,t){var o=re(),r=Ge(),a=_e(),n=qe(),l=Je(),i=ue(),u=de(),p=tt(),c=at(),f=st(),y=lt(),h=m(),b=it(),g=ft(),_=he(),w=d(),x=v(),j=vt(),C=s(),$=ht(),S=Le(),P=Pe(),k="[object Arguments]",W="[object Function]",A="[object Object]",V={};V[k]=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[A]=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,s,d,v,m,O){var T,F=1&s,N=2&s,K=4&s;if(d&&(T=m?d(t,v,m,O):d(t)),void 0!==T)return T;if(!C(t))return t;var z=w(t);if(z){if(T=b(t),!F)return u(t,T)}else{var Y=h(t),E=Y==W||"[object GeneratorFunction]"==Y;if(x(t))return i(t,F);if(Y==A||Y==k||E&&!m){if(T=N||E?{}:_(t),!F)return N?c(t,l(T,t)):p(t,n(T,t))}else{if(!V[Y])return m?t:{};T=g(t,Y,F)}}O||(O=new o);var M=O.get(t);if(M)return M;O.set(t,T),$(t)?t.forEach(function(o){T.add(e(o,s,d,o,t,O))}):j(t)&&t.forEach(function(o,r){T.set(r,e(o,s,d,r,t,O))});var R=z?void 0:(K?N?y:f:N?P:S)(t);return r(R||t,function(o,r){R&&(o=t[r=o]),a(T,r,e(o,s,d,r,t,O))}),T}}}),mt=j({"../../node_modules/lodash/cloneDeep.js"(e,t){var o=bt();t.exports=function(e){return o(e,5)}}}),gt=C(h(),1),_t=C(k(),1),wt=C(Re(),1);function xt({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 jt=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function Ct(t,o){const r=t.variants?.[o];if(r)return{type:"no-sub-components",variant:r};const a=Yt(t);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e(a,e=>e.variants[o])}}function $t(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 St(e,t,o,r){return $t(e,t,o)===r}function Pt(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t}var kt=C(Ue(),1);function Wt(e,t,o){const r=Ct(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 At=e=>!!e?.layers,Vt=e=>!!e?.componentStates;function Ot(e,t,o){const r=Wt(e,t,o);return r&&Vt(r)?r?.componentStates??null:null}function Tt(e,t,o){const r=Ot(e,t,o);if(!r)return null;return jt((0,kt.default)(r).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e)}function Ft(t){if(!t||!At(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 Nt=["rest"];function Kt(e,t,o,r){const a=Wt(e,t,r);if(!a)return null;return[...At(a)?Object.entries(a?.layers??{}):[],...Vt(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])=>[...Nt,...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 zt=C(Ue(),1);function Yt(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function Et(e,t="variant"){const o=Ct(e,t);if("no-variants"===o.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===o.type){if(Yt(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,zt.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 Mt=C(mt(),1);function Rt(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 Bt(e,t,o,r,a,n){const s=(0,Mt.default)(e),l=Rt(s,t,o,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function Xt(e,t,o,r,a){return[Rt(e,t,o,r,a),n=>Bt(e,t,o,r,a,n)]}var It={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))'},Dt={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 Lt(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 Ht(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=xt({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:Lt(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:Lt(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=xt({variantKey:o,variantValue:e,layer:a});t.variables[s]={};for(const o in n.properties){const r=n.properties[o],a={[o]:{rest:{type:Lt(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:Lt(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=xt({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:Lt(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:Lt(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=xt({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:Lt(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:Lt(r,o),valueType:"alias",value:r.defaults[o]};t.variables[l]={...t.variables[l],...a}}}}}return t}function Ut({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,_t.default)(e)}-${(0,_t.default)(n)}-${(0,_t.default)(t)}`:`uds-${(0,_t.default)(e)}-${(0,_t.default)(t)}`,o&&(i=`${i}-${(0,_t.default)(o)}`),s&&l&&(i=`${i}-${(0,_t.default)(s)}-${(0,_t.default)(l)}`),i=`${i}-${(0,_t.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function Gt({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=xt({variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});let y=Ut({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=It[v]??"";let g="";if("root"===r)if(s&&l){const a=Ut({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n});y=Ut({componentName:e,variantKey:t,layer:r,subComponentName:n,stateKey:s,stateValue:l}),g=`.${a}${m}.${y}`}else g=`.${y}${m}`;else{const i=Ut({componentName:e,variantKey:t,variantValue:o,layer:"root",subComponentName:n});if(s&&l){const u=Ut({componentName:e,variantKey:t,layer:"root",subComponentName:n,stateKey:s,stateValue:l});y=Ut({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),g=`.${i}${m}.${u} .${y}`}else g=`.${i}${m} .${y}`}const _=(e,t,o,r)=>{const{value:a,type:n}=e,s=zo[t];let l;if(zo[t].customValueRenderer)l=zo[t].customValueRenderer(e,i,o);else{l=o(zo[t].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:w,extendedProperties:x}=zo[p.name],j={},C=(0,gt.default)(x),$=C?x({componentName:e,subComponentName:n,layer:r,propertyKey:u}):x;if($&&$.length){if(!C&&("string"==typeof w||Array.isArray(w)&&w.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 $){const t=zo[e].cssProperties;if("string"==typeof t){const o=f?.[g]?.[t];j[t]=_(h[v],e,c,o)}else if(Array.isArray(t))for(const o of t){const t=f?.[g]?.[o];j[o]=_(h[v],e,c,t)}}}else if("string"==typeof w){const e=f?.[g]?.[w];j[w]=_(h[v],p.name,c,e)}else if(Array.isArray(w))for(const e of w){const t=f?.[g]?.[e];j[e]=_(h[v],p.name,c,t)}if(b[g]||(b[g]={...j,...b[g]}),d?.generatePseudoStateClassModifier){const e=Dt[v]??"";e.length>0&&"root"!==v&&(b[`.${e}${g}`.replace(m,"")]={...j,...b[`.${e}${g}`.replace(m,"")]})}}return b}function qt(e,t,o,r){function a(e,t){return(0,wt.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,Gt({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,Gt({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,Gt({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,Gt({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 Jt(e){return e}function Qt(e){return e}function Zt(e){return e}function eo(e){return e}function to(e){return e}function oo(e){return e}function ro(e){return e}function ao(e){return e}var no=["none","custom"],so=["none","up","down"],lo={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},io={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},uo={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},po={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function co(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...po}}function fo(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...po}}function vo(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...po}}var yo={fill:co,outline:fo,ghost:vo},ho={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:lo,base:co("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...po}}}},accent:{primary:{kind:"fill",effect:lo,base:co("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...po}}}},brand:{primary:{kind:"fill",effect:lo,base:co("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...po}}}},alert:{primary:{kind:"fill",effect:lo,base:co("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...po}}}},positive:{primary:{kind:"fill",effect:lo,base:co("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...po}}}},warning:{primary:{kind:"fill",effect:lo,base:co("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...po}}}}}},bo={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"}}]}},go={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},_o="system",wo="system",xo="light",jo="large",Co=!1,$o="🇺🇸 US",So="https://s.yimg.com/bw/fonts",Po=["Helvetica Neue","Helvetica","Arial","sans-serif"],ko=["Georgia","Times","Times New Roman","serif"],Wo={"centra-no2":{fallback:Po,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('${So}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${So}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${So}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${So}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${So}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${So}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${So}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${So}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${So}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${So}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${So}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${So}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Po,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('${So}/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('${So}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${So}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${So}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${So}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${So}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${So}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Po,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('${So}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Po,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('${So}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Po,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('${So}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Po,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('${So}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${So}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Po,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('${So}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:ko,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('${So}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${So}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${So}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:ko,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('${So}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function Ao({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`}function Vo({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 Oo(e){return Object.fromEntries(e)}var To={black:"0 0 0",white:"255 255 255"};function Fo({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=To[e.color.value]);const l=`var(${r}${t?`${t}-`:""}color, ${s})`;return`${"inset"===o?"inset ":""}${[`${$[e.offsetX]}px`,`${$[e.offsetY]}px`,`${S[e.blur]}px`,`${P[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${r}${t?`${t}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function No({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)=>Fo({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));a[`--uds-${o}-shadow-${e}`]=`${r.join(", ")}`}),a}var Ko=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),zo={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,t)=>{if("spectrumColors"===e){const[e,o]=t.split("-");return`colors.${e}.${o}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${t}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Ko(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Ko(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,t)=>`typography.fontFamily.${t}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,t)=>`typography.fontSize.${t}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e;return`"wght" var(--uds-font-weight-${t}), "slnt" var(--uds-font-slant-${t}), "wdth" var(--uds-font-width-${t});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,t)=>`typography.lineHeight.${t}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,t)=>`typography.textTransform.${t}`,possibleFixtures:["textVariants"]},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:{name:"color",cssProperties:"color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`textColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,t)=>`typography.fontWeight.${t}`,possibleFixtures:["textVariants"]},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)=>Fo({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)=>Fo({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:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},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{xo as DEFAULT_COLOR_MODE,_o as DEFAULT_COLOR_MODE_FOR_APP,Co as DEFAULT_HIGH_CONTRAST_MODE,$o as DEFAULT_REGION_MODE,jo as DEFAULT_SCALE_MODE,wo as DEFAULT_SCALE_MODE_FOR_APP,Wo as FONT_DECLARATIONS_MAP,bo as alwaysPalette,ho as button,jt as cartesianProduct,Ct as coalesceConfigVariant,zo as configurableProperties,Zt as createComponentStateConfig,oo as createComponentStates,Jt as createConfigurableProperty,ro as createLayerConfig,ao as createSubComponentConfig,Qt as createVariantConfig,to as createVariantConfigWithComponentStates,eo as createVariantConfigWithProperties,Lt as findFixtureType,go as fontWeightMap,Oo as fromEntries,Ut as generateClassName,Gt as generateDeclaration,Pt as generateKeyFromFlatConfigPath,xt as generateSchemaKey,qt as generateStyles,$t as getConfigDefaultValue,Rt as getConfigPseudoStateVariables,Xt as getConfigPseudoStateVariablesWithSetter,Yt as getConfigSubcomponents,Ot as getConfigVariantComponentStates,Tt as getConfigVariantComponentStatesMatrix,Ft as getConfigVariantProperties,Kt as getConfigVariantPseudoStates,Et as getConfigVariants,yo as getDefaultButtonBaseMap,Fo as getShadowLayerValue,No as getShadowPresetValues,St as isConfigDefaultValue,Ao as parseButtonVariantFlat,Vo as parseDeprecatedButtonPaletteVariant,Bt as setConfigPseudoStateVariable,mo as shadow,Dt as statePseudoMapDocsMode,Ht as toMinimalDbConfigObject};
1
+ import{mapValues as e,entries as t}from"./chunk-EWJ3J526.js";import{require_createCompounder as o,require_getNative as r,require_Map as a,require_root as n,require_isObject as s,require_overArg as l,require_isPrototype as i,require_isArrayLike as u,require_isObjectLike as p,require_baseGetTag as c,require_isArguments as f,require_isArray 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-TVB5Y4GA.js";import{__commonJS as j,__toESM as C}from"./chunk-GF4A6TFM.js";import{shadowOffsetMap as $,spacingMap as S,shadowSpreadRadiusMap as P}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ var k=j({"../../node_modules/lodash/lowerCase.js"(e,t){var r=o()(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()});t.exports=r}}),W=j({"../../node_modules/lodash/_listCacheClear.js"(e,t){t.exports=function(){this.__data__=[],this.size=0}}}),A=j({"../../node_modules/lodash/eq.js"(e,t){t.exports=function(e,t){return e===t||e!=e&&t!=t}}}),V=j({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var o=A();t.exports=function(e,t){for(var r=e.length;r--;)if(o(e[r][0],t))return r;return-1}}}),O=j({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var o=V(),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)}}}),T=j({"../../node_modules/lodash/_listCacheGet.js"(e,t){var o=V();t.exports=function(e){var t=this.__data__,r=o(t,e);return r<0?void 0:t[r][1]}}}),F=j({"../../node_modules/lodash/_listCacheHas.js"(e,t){var o=V();t.exports=function(e){return o(this.__data__,e)>-1}}}),N=j({"../../node_modules/lodash/_listCacheSet.js"(e,t){var o=V();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}}}),K=j({"../../node_modules/lodash/_ListCache.js"(e,t){var o=W(),r=O(),a=T(),n=F(),s=N();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}}),z=j({"../../node_modules/lodash/_stackClear.js"(e,t){var o=K();t.exports=function(){this.__data__=new o,this.size=0}}}),Y=j({"../../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}}}),E=j({"../../node_modules/lodash/_stackGet.js"(e,t){t.exports=function(e){return this.__data__.get(e)}}}),B=j({"../../node_modules/lodash/_stackHas.js"(e,t){t.exports=function(e){return this.__data__.has(e)}}}),R=j({"../../node_modules/lodash/_nativeCreate.js"(e,t){var o=r()(Object,"create");t.exports=o}}),M=j({"../../node_modules/lodash/_hashClear.js"(e,t){var o=R();t.exports=function(){this.__data__=o?o(null):{},this.size=0}}}),X=j({"../../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}}}),I=j({"../../node_modules/lodash/_hashGet.js"(e,t){var o=R(),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}}}),D=j({"../../node_modules/lodash/_hashHas.js"(e,t){var o=R(),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}}}),L=j({"../../node_modules/lodash/_hashSet.js"(e,t){var o=R();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}}}),H=j({"../../node_modules/lodash/_Hash.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=j({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var o=H(),r=K(),n=a();t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(n||r),string:new o}}}}),G=j({"../../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}}}),q=j({"../../node_modules/lodash/_getMapData.js"(e,t){var o=G();t.exports=function(e,t){var r=e.__data__;return o(t)?r["string"==typeof t?"string":"hash"]:r.map}}}),J=j({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var o=q();t.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}}}),Q=j({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var o=q();t.exports=function(e){return o(this,e).get(e)}}}),Z=j({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var o=q();t.exports=function(e){return o(this,e).has(e)}}}),ee=j({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var o=q();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}}}),te=j({"../../node_modules/lodash/_MapCache.js"(e,t){var o=U(),r=J(),a=Q(),n=Z(),s=ee();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}}),oe=j({"../../node_modules/lodash/_stackSet.js"(e,t){var o=K(),r=a(),n=te();t.exports=function(e,t){var a=this.__data__;if(a instanceof o){var s=a.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++a.size,this;a=this.__data__=new n(s)}return a.set(e,t),this.size=a.size,this}}}),re=j({"../../node_modules/lodash/_Stack.js"(e,t){var o=K(),r=z(),a=Y(),n=E(),s=B(),l=oe();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}}),ae=j({"../../node_modules/lodash/_defineProperty.js"(e,t){var o=r(),a=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a}}),ne=j({"../../node_modules/lodash/_baseAssignValue.js"(e,t){var o=ae();t.exports=function(e,t,r){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}}),se=j({"../../node_modules/lodash/_assignMergeValue.js"(e,t){var o=ne(),r=A();t.exports=function(e,t,a){(void 0!==a&&!r(e[t],a)||void 0===a&&!(t in e))&&o(e,t,a)}}}),le=j({"../../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}}}}),ie=j({"../../node_modules/lodash/_baseFor.js"(e,t){var o=le()();t.exports=o}}),ue=j({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var o=n(),r="object"==typeof e&&e&&!e.nodeType&&e,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===r?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var o=e.length,r=l?l(o):new e.constructor(o);return e.copy(r),r}}}),pe=j({"../../node_modules/lodash/_Uint8Array.js"(e,t){var o=n().Uint8Array;t.exports=o}}),ce=j({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,t){var o=pe();t.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}}}),fe=j({"../../node_modules/lodash/_cloneTypedArray.js"(e,t){var o=ce();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),de=j({"../../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}}}),ve=j({"../../node_modules/lodash/_baseCreate.js"(e,t){var o=s(),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}}),ye=j({"../../node_modules/lodash/_getPrototype.js"(e,t){var o=l()(Object.getPrototypeOf,Object);t.exports=o}}),he=j({"../../node_modules/lodash/_initCloneObject.js"(e,t){var o=ve(),r=ye(),a=i();t.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:o(r(e))}}}),be=j({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var o=u(),r=p();t.exports=function(e){return r(e)&&o(e)}}}),me=j({"../../node_modules/lodash/isPlainObject.js"(e,t){var o=c(),r=ye(),a=p(),n=Function.prototype,s=Object.prototype,l=n.toString,i=s.hasOwnProperty,u=l.call(Object);t.exports=function(e){if(!a(e)||"[object Object]"!=o(e))return!1;var t=r(e);if(null===t)return!0;var n=i.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}}}),ge=j({"../../node_modules/lodash/_safeGet.js"(e,t){t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}}),_e=j({"../../node_modules/lodash/_assignValue.js"(e,t){var o=ne(),r=A(),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)}}}),we=j({"../../node_modules/lodash/_copyObject.js"(e,t){var o=_e(),r=ne();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}}}),xe=j({"../../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}}}),je=j({"../../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}}}),Ce=j({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var o=xe(),r=f(),a=d(),n=v(),s=je(),l=y(),i=Object.prototype.hasOwnProperty;t.exports=function(e,t){var u=a(e),p=!u&&r(e),c=!u&&!p&&n(e),f=!u&&!p&&!c&&l(e),d=u||p||c||f,v=d?o(e.length,String):[],y=v.length;for(var h in e)!t&&!i.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,y))||v.push(h);return v}}}),$e=j({"../../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}}}),Se=j({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var o=s(),r=i(),a=$e(),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}}}),Pe=j({"../../node_modules/lodash/keysIn.js"(e,t){var o=Ce(),r=Se(),a=u();t.exports=function(e){return a(e)?o(e,!0):r(e)}}}),ke=j({"../../node_modules/lodash/toPlainObject.js"(e,t){var o=we(),r=Pe();t.exports=function(e){return o(e,r(e))}}}),We=j({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var o=se(),r=ue(),a=fe(),n=de(),l=he(),i=f(),u=d(),p=be(),c=v(),b=h(),m=s(),g=me(),_=y(),w=ge(),x=ke();t.exports=function(e,t,s,f,d,v,y){var h=w(e,s),j=w(t,s),C=y.get(j);if(C)o(e,s,C);else{var $=v?v(h,j,s+"",e,t,y):void 0,S=void 0===$;if(S){var P=u(j),k=!P&&c(j),W=!P&&!k&&_(j);$=j,P||k||W?u(h)?$=h:p(h)?$=n(h):k?(S=!1,$=r(j,!0)):W?(S=!1,$=a(j,!0)):$=[]:g(j)||i(j)?($=h,i(h)?$=x(h):m(h)&&!b(h)||($=l(j))):S=!1}S&&(y.set(j,$),d($,j,f,v,y),y.delete(j)),o(e,s,$)}}}}),Ae=j({"../../node_modules/lodash/_baseMerge.js"(e,t){var o=re(),r=se(),a=ie(),n=We(),l=s(),i=Pe(),u=ge();t.exports=function e(t,s,p,c,f){t!==s&&a(s,function(a,i){if(f||(f=new o),l(a))n(t,s,i,p,e,c,f);else{var d=c?c(u(t,i),a,i+"",t,s,f):void 0;void 0===d&&(d=a),r(t,i,d)}},i)}}}),Ve=j({"../../node_modules/lodash/identity.js"(e,t){t.exports=function(e){return e}}}),Oe=j({"../../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)}}}),Te=j({"../../node_modules/lodash/_overRest.js"(e,t){var o=Oe(),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)}}}}),Fe=j({"../../node_modules/lodash/constant.js"(e,t){t.exports=function(e){return function(){return e}}}}),Ne=j({"../../node_modules/lodash/_baseSetToString.js"(e,t){var o=Fe(),r=ae(),a=Ve(),n=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:a;t.exports=n}}),Ke=j({"../../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)}}}}),ze=j({"../../node_modules/lodash/_setToString.js"(e,t){var o=Ne(),r=Ke()(o);t.exports=r}}),Ye=j({"../../node_modules/lodash/_baseRest.js"(e,t){var o=Ve(),r=Te(),a=ze();t.exports=function(e,t){return a(r(e,t,o),e+"")}}}),Ee=j({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var o=A(),r=u(),a=je(),n=s();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)}}}),Be=j({"../../node_modules/lodash/_createAssigner.js"(e,t){var o=Ye(),r=Ee();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})}}}),Re=j({"../../node_modules/lodash/mergeWith.js"(e,t){var o=Ae(),r=Be()(function(e,t,r,a){o(e,t,r,a)});t.exports=r}}),Me=j({"../../node_modules/lodash/_baseToPairs.js"(e,t){var o=b();t.exports=function(e,t){return o(t,function(t){return[t,e[t]]})}}}),Xe=j({"../../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}}}),Ie=j({"../../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}}}),De=j({"../../node_modules/lodash/_createToPairs.js"(e,t){var o=Me(),r=m(),a=Xe(),n=Ie();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))}}}}),Le=j({"../../node_modules/lodash/keys.js"(e,t){var o=Ce(),r=g(),a=u();t.exports=function(e){return a(e)?o(e):r(e)}}}),He=j({"../../node_modules/lodash/toPairs.js"(e,t){var o=De()(Le());t.exports=o}}),Ue=j({"../../node_modules/lodash/entries.js"(e,t){t.exports=He()}}),Ge=j({"../../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}}}),qe=j({"../../node_modules/lodash/_baseAssign.js"(e,t){var o=we(),r=Le();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),Je=j({"../../node_modules/lodash/_baseAssignIn.js"(e,t){var o=we(),r=Pe();t.exports=function(e,t){return e&&o(t,r(t),e)}}}),Qe=j({"../../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}}}),Ze=j({"../../node_modules/lodash/stubArray.js"(e,t){t.exports=function(){return[]}}}),et=j({"../../node_modules/lodash/_getSymbols.js"(e,t){var o=Qe(),r=Ze(),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}}),tt=j({"../../node_modules/lodash/_copySymbols.js"(e,t){var o=we(),r=et();t.exports=function(e,t){return o(e,r(e),t)}}}),ot=j({"../../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}}}),rt=j({"../../node_modules/lodash/_getSymbolsIn.js"(e,t){var o=ot(),r=ye(),a=et(),n=Ze(),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o(t,a(e)),e=r(e);return t}:n;t.exports=s}}),at=j({"../../node_modules/lodash/_copySymbolsIn.js"(e,t){var o=we(),r=rt();t.exports=function(e,t){return o(e,r(e),t)}}}),nt=j({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var o=ot(),r=d();t.exports=function(e,t,a){var n=t(e);return r(e)?n:o(n,a(e))}}}),st=j({"../../node_modules/lodash/_getAllKeys.js"(e,t){var o=nt(),r=et(),a=Le();t.exports=function(e){return o(e,a,r)}}}),lt=j({"../../node_modules/lodash/_getAllKeysIn.js"(e,t){var o=nt(),r=rt(),a=Pe();t.exports=function(e){return o(e,a,r)}}}),it=j({"../../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}}}),ut=j({"../../node_modules/lodash/_cloneDataView.js"(e,t){var o=ce();t.exports=function(e,t){var r=t?o(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),pt=j({"../../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}}}),ct=j({"../../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)):{}}}}),ft=j({"../../node_modules/lodash/_initCloneByTag.js"(e,t){var o=ce(),r=ut(),a=pt(),n=ct(),s=fe();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)}}}}),dt=j({"../../node_modules/lodash/_baseIsMap.js"(e,t){var o=m(),r=p();t.exports=function(e){return r(e)&&"[object Map]"==o(e)}}}),vt=j({"../../node_modules/lodash/isMap.js"(e,t){var o=dt(),r=w(),a=x(),n=a&&a.isMap,s=n?r(n):o;t.exports=s}}),yt=j({"../../node_modules/lodash/_baseIsSet.js"(e,t){var o=m(),r=p();t.exports=function(e){return r(e)&&"[object Set]"==o(e)}}}),ht=j({"../../node_modules/lodash/isSet.js"(e,t){var o=yt(),r=w(),a=x(),n=a&&a.isSet,s=n?r(n):o;t.exports=s}}),bt=j({"../../node_modules/lodash/_baseClone.js"(e,t){var o=re(),r=Ge(),a=_e(),n=qe(),l=Je(),i=ue(),u=de(),p=tt(),c=at(),f=st(),y=lt(),h=m(),b=it(),g=ft(),_=he(),w=d(),x=v(),j=vt(),C=s(),$=ht(),S=Le(),P=Pe(),k="[object Arguments]",W="[object Function]",A="[object Object]",V={};V[k]=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[A]=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,s,d,v,m,O){var T,F=1&s,N=2&s,K=4&s;if(d&&(T=m?d(t,v,m,O):d(t)),void 0!==T)return T;if(!C(t))return t;var z=w(t);if(z){if(T=b(t),!F)return u(t,T)}else{var Y=h(t),E=Y==W||"[object GeneratorFunction]"==Y;if(x(t))return i(t,F);if(Y==A||Y==k||E&&!m){if(T=N||E?{}:_(t),!F)return N?c(t,l(T,t)):p(t,n(T,t))}else{if(!V[Y])return m?t:{};T=g(t,Y,F)}}O||(O=new o);var B=O.get(t);if(B)return B;O.set(t,T),$(t)?t.forEach(function(o){T.add(e(o,s,d,o,t,O))}):j(t)&&t.forEach(function(o,r){T.set(r,e(o,s,d,r,t,O))});var R=z?void 0:(K?N?y:f:N?P:S)(t);return r(R||t,function(o,r){R&&(o=t[r=o]),a(T,r,e(o,s,d,r,t,O))}),T}}}),mt=j({"../../node_modules/lodash/cloneDeep.js"(e,t){var o=bt();t.exports=function(e){return o(e,5)}}}),gt=C(h(),1),_t=C(k(),1),wt=C(Re(),1);function xt({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 jt=e=>e.reduce((e,t)=>e.flatMap(e=>t.map(t=>[e,t].flat())));function Ct(t,o){const r=t.variants?.[o];if(r)return{type:"no-sub-components",variant:r};const a=Yt(t);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e(a,e=>e.variants[o])}}function $t(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 St(e,t,o,r){return $t(e,t,o)===r}function Pt(e){let t=e;return t=t.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{t=t.replaceAll(e,"")}),t}var kt=C(Ue(),1);function Wt(e,t,o){const r=Ct(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 At=e=>!!e?.layers,Vt=e=>!!e?.componentStates;function Ot(e,t,o){const r=Wt(e,t,o);return r&&Vt(r)?r?.componentStates??null:null}function Tt(e,t,o){const r=Ot(e,t,o);if(!r)return null;return jt((0,kt.default)(r).map(([e,t])=>t.options.map(t=>({[e]:t})))).map(e=>Array.isArray(e)?e.reduce((e,t)=>({...e,...t}),{}):e)}function Ft(t){if(!t||!At(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 Nt=["rest"];function Kt(e,t,o,r){const a=Wt(e,t,r);if(!a)return null;return[...At(a)?Object.entries(a?.layers??{}):[],...Vt(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])=>[...Nt,...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 zt=C(Ue(),1);function Yt(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function Et(e,t="variant"){const o=Ct(e,t);if("no-variants"===o.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===o.type){if(Yt(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,zt.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 Bt=C(mt(),1);function Rt(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 Mt(e,t,o,r,a,n){const s=(0,Bt.default)(e),l=Rt(s,t,o,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function Xt(e,t,o,r,a){return[Rt(e,t,o,r,a),n=>Mt(e,t,o,r,a,n)]}var It={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))'},Dt={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 Lt(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 Ht(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=xt({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:Lt(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:Lt(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=xt({variantKey:o,variantValue:e,layer:a});t.variables[s]={};for(const o in n.properties){const r=n.properties[o],a={[o]:{rest:{type:Lt(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[o][t]={type:Lt(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=xt({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:Lt(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:Lt(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=xt({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:Lt(r,o),valueType:"alias",value:r.defaults[o]}}};if(r.pseudoStates)for(const t of r.pseudoStates)a[e][t]={type:Lt(r,o),valueType:"alias",value:r.defaults[o]};t.variables[l]={...t.variables[l],...a}}}}}return t}function Ut({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,_t.default)(e)}-${(0,_t.default)(n)}-${(0,_t.default)(t)}`:`uds-${(0,_t.default)(e)}-${(0,_t.default)(t)}`,o&&(i=`${i}-${(0,_t.default)(o)}`),s&&l&&(i=`${i}-${(0,_t.default)(s)}-${(0,_t.default)(l)}`),i=`${i}-${(0,_t.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function Gt({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=xt({variantKey:t,variantValue:o,layer:r,subComponentName:n,stateKey:s,stateValue:l});let y=Ut({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=It[v]??"";let g="";if("root"===r)if(s&&l){const a=Ut({componentName:e,variantKey:t,variantValue:o,layer:r,subComponentName:n});y=Ut({componentName:e,variantKey:t,layer:r,subComponentName:n,stateKey:s,stateValue:l}),g=`.${a}${m}.${y}`}else g=`.${y}${m}`;else{const i=Ut({componentName:e,variantKey:t,variantValue:o,layer:"root",subComponentName:n});if(s&&l){const u=Ut({componentName:e,variantKey:t,layer:"root",subComponentName:n,stateKey:s,stateValue:l});y=Ut({componentName:e,variantKey:t,variantValue:o,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),g=`.${i}${m}.${u} .${y}`}else g=`.${i}${m} .${y}`}const _=(e,t,o,r)=>{const{value:a,type:n}=e,s=zo[t];let l;if(zo[t].customValueRenderer)l=zo[t].customValueRenderer(e,i,o);else{l=o(zo[t].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:w,extendedProperties:x}=zo[p.name],j={},C=(0,gt.default)(x),$=C?x({componentName:e,subComponentName:n,layer:r,propertyKey:u}):x;if($&&$.length){if(!C&&("string"==typeof w||Array.isArray(w)&&w.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 $){const t=zo[e].cssProperties;if("string"==typeof t){const o=f?.[g]?.[t];j[t]=_(h[v],e,c,o)}else if(Array.isArray(t))for(const o of t){const t=f?.[g]?.[o];j[o]=_(h[v],e,c,t)}}}else if("string"==typeof w){const e=f?.[g]?.[w];j[w]=_(h[v],p.name,c,e)}else if(Array.isArray(w))for(const e of w){const t=f?.[g]?.[e];j[e]=_(h[v],p.name,c,t)}if(b[g]||(b[g]={...j,...b[g]}),d?.generatePseudoStateClassModifier){const e=Dt[v]??"";e.length>0&&"root"!==v&&(b[`.${e}${g}`.replace(m,"")]={...j,...b[`.${e}${g}`.replace(m,"")]})}}return b}function qt(e,t,o,r){function a(e,t){return(0,wt.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,Gt({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,Gt({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,Gt({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,Gt({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 Jt(e){return e}function Qt(e){return e}function Zt(e){return e}function eo(e){return e}function to(e){return e}function oo(e){return e}function ro(e){return e}function ao(e){return e}var no=["none","custom"],so=["none","up","down"],lo={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},io={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},uo={hover:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"up",options:so}},pressed:{backgroundColor:{value:"none",options:no},borderColor:{value:"none",options:no},color:{value:"none",options:no},scale:{value:"down",options:so}}},po={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function co(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...po}}function fo(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...po}}function vo(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...po}}var yo={fill:co,outline:fo,ghost:vo},ho={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:lo,base:co("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...po}}}},accent:{primary:{kind:"fill",effect:lo,base:co("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...po}}}},brand:{primary:{kind:"fill",effect:lo,base:co("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...po}}}},alert:{primary:{kind:"fill",effect:lo,base:co("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...po}}}},positive:{primary:{kind:"fill",effect:lo,base:co("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...po}}}},warning:{primary:{kind:"fill",effect:lo,base:co("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...po}}},secondary:{kind:"outline",effect:io,base:fo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...po},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...po}}},tertiary:{kind:"ghost",effect:uo,base:vo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...po},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...po}}}}}},bo={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"}}]}},go={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},_o="system",wo="system",xo="light",jo="large",Co=!1,$o="🇺🇸 US",So="https://s.yimg.com/bw/fonts",Po=["Helvetica Neue","Helvetica","Arial","sans-serif"],ko=["Georgia","Times","Times New Roman","serif"],Wo={"centra-no2":{fallback:Po,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('${So}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${So}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${So}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${So}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${So}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${So}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${So}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${So}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${So}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${So}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${So}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${So}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Po,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('${So}/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('${So}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${So}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${So}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${So}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${So}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${So}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Po,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('${So}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Po,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('${So}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Po,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('${So}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Po,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('${So}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${So}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Po,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('${So}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:ko,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('${So}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${So}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${So}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${So}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:ko,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('${So}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${So}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${So}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${So}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function Ao({palette:e="accent",variant:t="primary"}){return"accent"===e?t:"primary"===t?e:`${e}-${t}`}function Vo({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 Oo(e){return Object.fromEntries(e)}var To={black:"0 0 0",white:"255 255 255"};function Fo({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=To[e.color.value]);const l=`var(${r}${t?`${t}-`:""}color, ${s})`;return`${"inset"===o?"inset ":""}${[`${$[e.offsetX]}px`,`${$[e.offsetY]}px`,`${S[e.blur]}px`,`${P[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${r}${t?`${t}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function No({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)=>Fo({preset:e,prefix:t>0?`${t+1}`:void 0,shadowType:o}));a[`--uds-${o}-shadow-${e}`]=`${r.join(", ")}`}),a}var Ko=({componentName:e,layer:t,propertyKey:o})=>!("chip"!==e||"root"!==t||!["borderColor","borderWidth"].includes(o))||!("input"!==e||"inputWrapper"!==t||!["borderColor","borderWidth"].includes(o)),zo={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,t)=>{if("spectrumColors"===e){const[e,o]=t.split("-");return`colors.${e}.${o}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${t}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,t)=>"borderWidths"===e?`borderWidth[${t}]`:`spacing[${t}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Ko(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,t)=>`borderRadius.${t}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Ko(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,t)=>`typography.fontFamily.${t}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,t)=>`typography.fontSize.${t}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:t}=e;return`"wght" var(--uds-font-weight-${t}), "slnt" var(--uds-font-slant-${t}), "wdth" var(--uds-font-width-${t});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,t)=>`typography.lineHeight.${t}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,t)=>`typography.textTransform.${t}`,possibleFixtures:["textVariants"]},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:{name:"color",cssProperties:"color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`textColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,t)=>`typography.fontWeight.${t}`,possibleFixtures:["textVariants"]},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)=>Fo({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)=>Fo({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:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,t)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${t}`;if("spectrumColors"===e){const[e,o]=t.split("-");return`borderColor.${e}.${o}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},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{xo as DEFAULT_COLOR_MODE,_o as DEFAULT_COLOR_MODE_FOR_APP,Co as DEFAULT_HIGH_CONTRAST_MODE,$o as DEFAULT_REGION_MODE,jo as DEFAULT_SCALE_MODE,wo as DEFAULT_SCALE_MODE_FOR_APP,Wo as FONT_DECLARATIONS_MAP,bo as alwaysPalette,ho as button,jt as cartesianProduct,Ct as coalesceConfigVariant,zo as configurableProperties,Zt as createComponentStateConfig,oo as createComponentStates,Jt as createConfigurableProperty,ro as createLayerConfig,ao as createSubComponentConfig,Qt as createVariantConfig,to as createVariantConfigWithComponentStates,eo as createVariantConfigWithProperties,Lt as findFixtureType,go as fontWeightMap,Oo as fromEntries,Ut as generateClassName,Gt as generateDeclaration,Pt as generateKeyFromFlatConfigPath,xt as generateSchemaKey,qt as generateStyles,$t as getConfigDefaultValue,Rt as getConfigPseudoStateVariables,Xt as getConfigPseudoStateVariablesWithSetter,Yt as getConfigSubcomponents,Ot as getConfigVariantComponentStates,Tt as getConfigVariantComponentStatesMatrix,Ft as getConfigVariantProperties,Kt as getConfigVariantPseudoStates,Et as getConfigVariants,yo as getDefaultButtonBaseMap,Fo as getShadowLayerValue,No as getShadowPresetValues,St as isConfigDefaultValue,Ao as parseButtonVariantFlat,Vo as parseDeprecatedButtonPaletteVariant,Mt as setConfigPseudoStateVariable,mo as shadow,Dt as statePseudoMapDocsMode,Ht as toMinimalDbConfigObject};
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("./chunk-CWG6VECG.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:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,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:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,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})}),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,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */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-IAD33G4C.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:R,overflowX:I,overflowY:P,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:D,spacingEnd:N,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,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:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:I,overflowY:P,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:D,spacingEnd:N,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,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})}),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,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */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;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./chunk-A4HDAVWF.cjs"),t=require("./chunk-Y5LHP2WU.cjs"),r=require("./chunk-J7PUOUXC.cjs"),n=require("./chunk-5RTXYZAR.cjs"),a=require("./chunk-LZ6EKK62.cjs"),o=require("./chunk-QLXJH36U.cjs"),s=require("@yahoo/uds/fixtures");function i(e){return e&&e.__esModule?e:{default:e}}var c=i(require("tailwindcss/plugin.js")),d=o.__commonJS({"../../node_modules/lodash/isString.js"(e,t){var r=n.require_baseGetTag(),a=n.require_isArray(),o=n.require_isObjectLike();t.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==r(e)}}}),u=o.__toESM(d(),1),l=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var _=e=>"."+a.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES[e],f=(e,t,r,n)=>{const a=e.typography[t]?.[r];if(!a)throw new Error(`Missing typography data for variant "${t}" and key "${r}"`);const o="base"===n?a.base:a.breakpoints?.[n];if(!o)throw new Error(`Missing value for variant "${t}", key "${r}", and breakpoint "${n}"`);if((0,u.default)(o))return o;switch(o.type){case"px":return o.value/16+"rem";case"unitless":return String(o.value)}return l()},E=(e,t)=>t in e.font?`var(--${a.FONT_FAMILY_PREFIX}-${t})`:t,p=(e,t)=>Object.fromEntries(s.textVariants.flatMap(r=>[[`--${a.FONT_FAMILY_PREFIX}-${r}`,E(e,f(e,r,"fontFamily",t))],[`--${a.FONT_SIZE_PREFIX}-${r}`,f(e,r,"fontSize",t)],[`--${a.FONT_WEIGHT_PREFIX}-${r}`,f(e,r,"fontWeight",t)],[`--${a.FONT_SLANT_PREFIX}-${r}`,f(e,r,"fontSlant",t)],[`--${a.FONT_WIDTH_PREFIX}-${r}`,f(e,r,"fontWidth",t)],[`--${a.LINE_HEIGHT_PREFIX}-${r}`,f(e,r,"lineHeight",t)],[`--${a.TEXT_TRANSFORM_PREFIX}-${r}`,f(e,r,"textTransform",t)]])),F=e=>Object.fromEntries(s.textVariants.map(t=>[t,`var(--${e}-${t})`])),S={fontFamily:F(a.FONT_FAMILY_PREFIX),fontWeight:F(a.FONT_WEIGHT_PREFIX),fontSlant:F(a.FONT_SLANT_PREFIX),fontWidth:F(a.FONT_WIDTH_PREFIX),fontSize:F(a.FONT_SIZE_PREFIX),lineHeight:F(a.LINE_HEIGHT_PREFIX),textTransform:F(a.TEXT_TRANSFORM_PREFIX)};function g(e,{addBase:t}){const r=m(e);for(const e of r)t({"@font-face":e})}var h=c.default.withOptions(function({fontIds:e}){return function({addBase:t}){g(e,{addBase:t})}});function m(e){return e.flatMap(e=>{const{declarations:r,fontFamily:n}=t.FONT_DECLARATIONS_MAP[e];return r.map(e=>({fontFamily:n,fontDisplay:"swap",...e}))})}function I(e){return`"${e}"`}function T(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.RESPONSIVE_TAILWIND_CONFIG_MAP=S,exports.addFontFaceDeclarations=g,exports.addFontsPlugin=h,exports.assertUnreachable=l,exports.getBaseTextVars=e=>p(e,"base"),exports.getColorModeStyles=function(e){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...e.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...e.colorMode.dark._vars}}},exports.getFontFaceDeclarations=m,exports.getFontStyles=function(e){return t.fromEntries(r.entries(e).map(([e,r])=>{const n=`--${a.FONT_FAMILY_PREFIX}-${e}`,o=t.FONT_DECLARATIONS_MAP[r];return[n,[o.fontFamily,...o.fallback].map(I).join(", ")]}))},exports.getMotionStyles=function(n){const a=r.entries(n).flatMap(([t,n])=>r.entries(n).flatMap(([r,n])=>s.motionSpringConfigOptions.map(a=>[e.getMotionVar({variant:t,speed:r,control:a}),`${n[a]}`])));return t.fromEntries(a)},exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${a.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:r}])=>[`@media (min-width: ${r}px)`,p(e,t)])),[_("base")]:p(e,"base"),...Object.fromEntries(t.map(([t])=>[_(t),p(e,t)]))}},exports.getScaleModeStyles=function(e){return{xSmall:T(e.scaleMode.xSmall),small:T(e.scaleMode.small),medium:T(e.scaleMode.medium),large:T(e.scaleMode.large),xLarge:T(e.scaleMode.xLarge),xxLarge:T(e.scaleMode.xxLarge),xxxLarge:T(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:n}){const o=e.shadow[n],s=r.entries(o).map(([e])=>[`.uds-${n}-shadow-${e}`,{[`--uds-${n}-shadow`]:`var(--${a.UDS_PREFIX}-${n}-shadow-${e})`,boxShadow:`var(--${a.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${a.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return t.fromEntries(s)},exports.require_isString=d;
@@ -0,0 +1,2 @@
1
+ import{MOTION_PREFIX as n}from"./chunk-O4J7VREK.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ function o({variant:o,speed:r,control:t}){return`${[`--${n}`,o,r,t].join("-")}`}export{o as getMotionVar};
@@ -1 +1 @@
1
- "use strict";var o=require("./chunk-2FN7PYW3.cjs"),r=require("./chunk-SPTEOB2R.cjs"),t=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var e=require("react").memo(function({startIcon:e,endIcon:i,iconProps:n,children:a,size:l,isFilled:s,...d}){const c={helperText:r.cx(r.getStyles({inputSizeHelperText:l,inputVariantHelperText:"default",inputVariantValueHelperText:s?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:l,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:s?"filled":"empty"})},p={variant:"outline",...n};return t.jsxs(o.HStack,{gap:"1",alignItems:"center",...d,children:[e&&t.jsx(r.IconSlot,{icon:e,...p,iconProps:n,className:c.helperIcon}),t.jsx("span",{className:c.helperText,children:a}),i&&t.jsx(r.IconSlot,{icon:i,...p,iconProps:n,className:c.helperIcon})]})});exports.Image=function({width:o,height:e,src:i,alt:n,contentFit:a,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:b,borderEndColor:h,borderTopColor:g,borderBottomColor:m,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:B,borderBottomWidth:I,alignContent:H,alignItems:E,alignSelf:w,flex:V,flexDirection:R,flexGrow:j,flexShrink:y,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:N,overflowX:P,overflowY:q,position:F,spacing:Y,spacingHorizontal:D,spacingVertical:X,spacingBottom:M,spacingEnd:O,spacingStart:A,spacingTop:J,offset:K,offsetVertical:L,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r.getStyles({contentFit:a,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:b,borderEndColor:h,borderTopColor:g,borderBottomColor:m,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:B,borderBottomWidth:I,alignContent:H,alignItems:E,alignSelf:w,flex:V,flexDirection:R,flexGrow:j,flexShrink:y,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:N,overflowX:P,overflowY:q,position:F,spacing:Y,spacingHorizontal:D,spacingVertical:X,spacingBottom:M,spacingEnd:O,spacingStart:A,spacingTop:J,offset:K,offsetVertical:L,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return t.jsx("img",{src:i,alt:n,className:eo,style:{width:o,height:e},...to})},exports.InputHelpTextMemo=e;
1
+ "use strict";var o=require("./chunk-3KCKTFBM.cjs"),r=require("./chunk-IAD33G4C.cjs"),t=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var e=require("react").memo(function({startIcon:e,endIcon:i,iconProps:n,children:a,size:l,isFilled:s,...d}){const c={helperText:r.cx(r.getStyles({inputSizeHelperText:l,inputVariantHelperText:"default",inputVariantValueHelperText:s?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:l,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:s?"filled":"empty"})},p={variant:"outline",...n};return t.jsxs(o.HStack,{gap:"1",alignItems:"center",...d,children:[e&&t.jsx(r.IconSlot,{icon:e,...p,iconProps:n,className:c.helperIcon}),t.jsx("span",{className:c.helperText,children:a}),i&&t.jsx(r.IconSlot,{icon:i,...p,iconProps:n,className:c.helperIcon})]})});exports.Image=function({width:o,height:e,src:i,alt:n,contentFit:a,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:b,borderEndColor:h,borderTopColor:g,borderBottomColor:m,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:I,borderTopWidth:W,borderBottomWidth:B,alignContent:H,alignItems:w,alignSelf:E,flex:V,flexDirection:j,flexGrow:y,flexShrink:R,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:q,overflowX:F,overflowY:N,position:D,spacing:P,spacingHorizontal:K,spacingVertical:M,spacingBottom:X,spacingEnd:Y,spacingStart:A,spacingTop:J,offset:L,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r.getStyles({contentFit:a,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:b,borderEndColor:h,borderTopColor:g,borderBottomColor:m,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:I,borderTopWidth:W,borderBottomWidth:B,alignContent:H,alignItems:w,alignSelf:E,flex:V,flexDirection:j,flexGrow:y,flexShrink:R,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:q,overflowX:F,overflowY:N,position:D,spacing:P,spacingHorizontal:K,spacingVertical:M,spacingBottom:X,spacingEnd:Y,spacingStart:A,spacingTop:J,offset:L,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return t.jsx("img",{src:i,alt:n,className:eo,style:{width:o,height:e},...to})},exports.InputHelpTextMemo=e;
@@ -1 +1 @@
1
- import{getMotionVar as s}from"./chunk-KYESDN2J.js";import{createContext as n,useState as t,useEffect as e,useMemo as i,useContext as o}from"react";import{LazyMotion as r,MotionConfig as f}from"motion/react";import{jsx as a}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var m=n(!1),p=m.Provider,d={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},g=()=>import("./domAnimation-FQC75V5T.js").then(({domAnimation:s})=>s);function u({children:n,reducedMotion:p="user",loadFeatures:u=g,layoutVariant:c="subtle",layoutSpeed:l="3",colorVariant:y="smooth",colorSpeed:b="3"}){const h=d[c][l],V=d[y][b],[v,N]=t(h),[P,C]=t(V),S={variant:y,speed:b},j=s({...S,control:"stiffness"}),k=s({...S,control:"damping"}),x={variant:c,speed:l},A=s({...x,control:"stiffness"}),E=s({...x,control:"damping"});e(()=>{const s=getComputedStyle(document.documentElement),n={type:"spring",damping:Number(s.getPropertyValue(E)),stiffness:Number(s.getPropertyValue(A))},t={type:"spring",damping:Number(s.getPropertyValue(k)),stiffness:Number(s.getPropertyValue(j))};N(n),C(t)},[k,j,E,A]);const F=i(()=>({type:"spring",mass:1,...v,layout:v,opacity:P,color:P,borderColor:P,backgroundColor:P}),[P,v]);return o(m)?n:a(r,{features:u,strict:!0,children:a(f,{transition:F,reducedMotion:p,children:n})})}export{p as AvoidMotionLibraryProvider,u as SpringMotionConfig};
1
+ import{getMotionVar as s}from"./chunk-DP63H5CQ.js";import{createContext as n,useState as t,useEffect as e,useMemo as i,useContext as o}from"react";import{LazyMotion as r,MotionConfig as f}from"motion/react";import{jsx as a}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var m=n(!1),p=m.Provider,d={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},g=()=>import("./domAnimation-FQC75V5T.js").then(({domAnimation:s})=>s);function u({children:n,reducedMotion:p="user",loadFeatures:u=g,layoutVariant:c="subtle",layoutSpeed:l="3",colorVariant:y="smooth",colorSpeed:b="3"}){const h=d[c][l],V=d[y][b],[P,v]=t(h),[C,N]=t(V),j={variant:y,speed:b},S=s({...j,control:"stiffness"}),k=s({...j,control:"damping"}),x={variant:c,speed:l},A=s({...x,control:"stiffness"}),F=s({...x,control:"damping"});e(()=>{const s=getComputedStyle(document.documentElement),n={type:"spring",damping:Number(s.getPropertyValue(F)),stiffness:Number(s.getPropertyValue(A))},t={type:"spring",damping:Number(s.getPropertyValue(k)),stiffness:Number(s.getPropertyValue(S))};v(n),N(t)},[k,S,F,A]);const M=i(()=>({type:"spring",mass:1,...P,layout:P,opacity:C,color:C,borderColor:C,backgroundColor:C}),[C,P]);return o(m)?n:a(r,{features:u,strict:!0,children:a(f,{transition:M,reducedMotion:p,children:n})})}export{p as AvoidMotionLibraryProvider,u as SpringMotionConfig};
@@ -0,0 +1,2 @@
1
+ import{getMotionVar as r}from"./chunk-DP63H5CQ.js";import{FONT_DECLARATIONS_MAP as t,fromEntries as a}from"./chunk-AQQHB7VE.js";import{entries as n}from"./chunk-EWJ3J526.js";import{require_baseGetTag as o,require_isArray as e,require_isObjectLike as s}from"./chunk-TVB5Y4GA.js";import{TEXT_TRANSFORM_PREFIX as i,LINE_HEIGHT_PREFIX as d,FONT_SIZE_PREFIX as f,FONT_WIDTH_PREFIX as c,FONT_SLANT_PREFIX as l,FONT_WEIGHT_PREFIX as u,FONT_FAMILY_PREFIX as m,TEXT_RESPONSIVE_CLASSNAME as p,UDS_PREFIX as h,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as $}from"./chunk-O4J7VREK.js";import{__commonJS as g,__toESM as v}from"./chunk-GF4A6TFM.js";import{textVariants as w,motionSpringConfigOptions as x}from"@yahoo/uds/fixtures";import b from"tailwindcss/plugin.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ var k=g({"../../node_modules/lodash/isString.js"(r,t){var a=o(),n=e(),i=s();t.exports=function(r){return"string"==typeof r||!n(r)&&i(r)&&"[object String]"==a(r)}}}),y=v(k(),1),M=r=>{throw new Error("Didn't expect to get here")};var j=r=>"."+$[r],S=(r,t,a,n)=>{const o=r.typography[t]?.[a];if(!o)throw new Error(`Missing typography data for variant "${t}" and key "${a}"`);const e="base"===n?o.base:o.breakpoints?.[n];if(!e)throw new Error(`Missing value for variant "${t}", key "${a}", and breakpoint "${n}"`);if((0,y.default)(e))return e;switch(e.type){case"px":return e.value/16+"rem";case"unitless":return String(e.value)}return M()},E=(r,t)=>t in r.font?`var(--${m}-${t})`:t,F=(r,t)=>Object.fromEntries(w.flatMap(a=>[[`--${m}-${a}`,E(r,S(r,a,"fontFamily",t))],[`--${f}-${a}`,S(r,a,"fontSize",t)],[`--${u}-${a}`,S(r,a,"fontWeight",t)],[`--${l}-${a}`,S(r,a,"fontSlant",t)],[`--${c}-${a}`,S(r,a,"fontWidth",t)],[`--${d}-${a}`,S(r,a,"lineHeight",t)],[`--${i}-${a}`,S(r,a,"textTransform",t)]])),O=r=>Object.fromEntries(w.map(t=>[t,`var(--${r}-${t})`])),_={fontFamily:O(m),fontWeight:O(u),fontSlant:O(l),fontWidth:O(c),fontSize:O(f),lineHeight:O(d),textTransform:O(i)},L=r=>F(r,"base"),W=r=>{const t=(a=r.breakpoints,Object.entries(a)).sort(([,{value:r}],[,{value:t}])=>r-t);var a;return{[`.${p}`]:Object.fromEntries(t.map(([t,{value:a}])=>[`@media (min-width: ${a}px)`,F(r,t)])),[j("base")]:F(r,"base"),...Object.fromEntries(t.map(([t])=>[j(t),F(r,t)]))}};function B(r,{addBase:t}){const a=H(r);for(const r of a)t({"@font-face":r})}var T=b.withOptions(function({fontIds:r}){return function({addBase:t}){B(r,{addBase:t})}});function z(r){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...r.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...r.colorMode.dark._vars}}}function H(r){return r.flatMap(r=>{const{declarations:a,fontFamily:n}=t[r];return a.map(r=>({fontFamily:n,fontDisplay:"swap",...r}))})}function A(r){return`"${r}"`}function D(r){return a(n(r).map(([r,a])=>{const n=`--${m}-${r}`,o=t[a];return[n,[o.fontFamily,...o.fallback].map(A).join(", ")]}))}function J(t){const o=n(t).flatMap(([t,a])=>n(a).flatMap(([a,n])=>x.map(o=>[r({variant:t,speed:a,control:o}),`${n[o]}`])));return a(o)}function Q(r){return{...r.borderRadius._vars,...r.borderWidth._vars,...r.avatarSizes._vars,...r.iconSizes._vars}}function V(r){return{xSmall:Q(r.scaleMode.xSmall),small:Q(r.scaleMode.small),medium:Q(r.scaleMode.medium),large:Q(r.scaleMode.large),xLarge:Q(r.scaleMode.xLarge),xxLarge:Q(r.scaleMode.xxLarge),xxxLarge:Q(r.scaleMode.xxxLarge)}}function G({config:r,shadowType:t}){const o=r.shadow[t],e=n(o).map(([r])=>[`.uds-${t}-shadow-${r}`,{[`--uds-${t}-shadow`]:`var(--${h}-${t}-shadow-${r})`,boxShadow:`var(--${h}-drop-shadow, 0 0 transparent), var(--${h}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return a(e)}export{_ as RESPONSIVE_TAILWIND_CONFIG_MAP,B as addFontFaceDeclarations,T as addFontsPlugin,M as assertUnreachable,L as getBaseTextVars,z as getColorModeStyles,H as getFontFaceDeclarations,D as getFontStyles,J as getMotionStyles,W as getResponsiveTextStyles,V as getScaleModeStyles,G as getShadowStyles,k as require_isString};
@@ -1 +1 @@
1
- import{HStack as o}from"./chunk-KTN43MAD.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-UAN7HYYD.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:H,alignContent:w,alignItems:E,alignSelf:V,flex:I,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:j,overflowX:D,overflowY:Y,position:F,spacing:P,spacingHorizontal:A,spacingVertical:X,spacingBottom:K,spacingEnd:M,spacingStart:U,spacingTop:q,offset:J,offsetVertical:L,offsetHorizontal:O,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:H,alignContent:w,alignItems:E,alignSelf:V,flex:I,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:j,overflowX:D,overflowY:Y,position:F,spacing:P,spacingHorizontal:A,spacingVertical:X,spacingBottom:K,spacingEnd:M,spacingStart:U,spacingTop:q,offset:J,offsetVertical:L,offsetHorizontal:O,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
1
+ import{HStack as o}from"./chunk-WILCJRXV.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-PI6G7IEW.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:C,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:I,alignContent:E,alignItems:V,alignSelf:w,flex:H,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:P,overflowY:F,position:X,spacing:D,spacingHorizontal:Y,spacingVertical:J,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:W,borderStartWidth:C,borderEndWidth:T,borderTopWidth:B,borderBottomWidth:I,alignContent:E,alignItems:V,alignSelf:w,flex:H,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:P,overflowY:F,position:X,spacing:D,spacingHorizontal:Y,spacingVertical:J,spacingBottom:L,spacingEnd:q,spacingStart:A,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
@@ -1,2 +1,2 @@
1
- "use strict";var o=require("./chunk-GJLQAO4M.cjs"),r=require("./chunk-QLXJH36U.cjs"),e=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),n=require("clsx"),i=require("imurmurhash"),a=require("tailwind-merge"),s=require("react"),l=require("react/jsx-runtime");function d(o){return o&&o.__esModule?o:{default:o}}var c=d(i);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function f(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function p(o){const r=Object.create(null),e=Object.keys(o);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==o[n]&&(r[n]=o[n])}return r}var u=a.extendTailwindMerge({extend:{theme:{borderColor:e.lineColors,borderWidth:e.borderWidths,borderRadius:e.borderRadii}},override:{classGroups:{"text-color":[{text:[...e.foregroundColors,...e.spectrumColors]}],"bg-color":[{bg:e.backgroundColors}],"font-family":[{font:["icons",...e.textVariants]}],leading:[{leading:e.textVariants}]},conflictingClassGroups:{}}}),b=(...o)=>{const r=n.clsx(o);return u(r)},h=o=>r=>{if(!o?.variants)return b(o?.base,r?.className);const{variants:e,defaultVariants:t}=o,n=Object.keys(e).map(o=>{const n=r?.[o],i=t?.[o],a=f(n)||f(i);return e[o][a]}),i={...t,...r&&p(r)},a=o?.compoundVariants?.reduce((o,{className:r,...e})=>Object.entries(e).every(([o,r])=>i[o]===r)?b(o,r):o,"");return b(o?.base,n,a,r?.className)},m=h({variants:o.variants}),g=new Map,x=o=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(o){const r=Object.create(null),e=Object.keys(o).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];r[n]=o[n]}return r}(p(o)),e=(new c.default).hash(JSON.stringify(r)).result();if(g.has(e))return g.get(e);const t=m(r);return g.set(e,t),t}return m(o)};function S(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function C(){const o=s.forwardRef((o,e)=>{const{children:n,...i}=o,a=s.Children.toArray(n),d=a.find(t);if(d){const o=d.props.children,t=a.map(r=>r===d?s.Children.count(o)>1?s.Children.only(null):s.isValidElement(o)?o.props.children:null:r);return l.jsx(r,{...i,ref:e,children:s.isValidElement(o)?s.cloneElement(o,void 0,t):null})}return l.jsx(r,{...i,ref:e,children:n})});o.displayName="Slot";const r=s.forwardRef((o,r)=>{const{children:e,...t}=o;return s.isValidElement(e)?s.cloneElement(e,{...n(t,e.props),ref:r?S(r,e.ref):e.ref}):s.Children.count(e)>1?s.Children.only(null):null});r.displayName="SlotClone";const e=({children:o})=>o;function t(o){return s.isValidElement(o)&&o.type===e}function n(o,r){const e={...r};for(const t in r){const n=o[t],i=r[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...o)=>{i(...o),n(...o)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...o,...e}}return o}var w=C(),y=s.forwardRef(function({asChild:o,as:r="div",className:e,backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H="flex",overflow:k,overflowX:q,overflowY:I,position:O,spacing:_,spacingHorizontal:A,spacingVertical:F,spacingBottom:M,spacingEnd:X,spacingStart:D,spacingTop:Y,offset:J,offsetVertical:$,offsetHorizontal:L,offsetBottom:Q,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,...io},ao){const so=x({backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H,overflow:k,overflowX:q,overflowY:I,position:O,spacing:_,spacingHorizontal:A,spacingVertical:F,spacingBottom:M,spacingEnd:X,spacingStart:D,spacingTop:Y,offset:J,offsetVertical:$,offsetHorizontal:L,offsetBottom:Q,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,className:e}),lo=o?w:r;return l.jsx(lo,{className:so,ref:ao,...io})});y.displayName="Box";var v=C(),E={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},W=s.forwardRef(function({className:o,asChild:r,color:e="primary",variant:t="body1",as:n=E[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:W,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:_,flexWrap:A,justifyContent:F,flexBasis:M,display:X,overflow:D,overflowX:Y,overflowY:J,position:$,spacing:L,spacingHorizontal:Q,spacingVertical:P,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:i??t,fontSize:a??t,fontWeight:s??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},bo=x({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:W,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:_,flexWrap:A,justifyContent:F,flexBasis:M,display:X,overflow:D,overflowX:Y,overflowY:J,position:$,spacing:L,spacingHorizontal:Q,spacingVertical:P,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),ho=r?v:n;return l.jsx(ho,{className:bo,ref:po,...fo})});W.displayName="Text";var B={xs:12,sm:16,md:24,lg:32},T=s.forwardRef(function({name:o,size:r="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=o.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=x({flex:"none",color:c?void 0:t,className:b(n,!c&&"[&_path]:fill-current")}),p=B[r];return l.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:l.jsx(o,{size:r,variant:d})})});T.displayName="Icon";var R=r.__toESM(o.require_isFunction(),1),N=s.memo(function({icon:o,iconProps:r,className:e,...t}){if(!o)return null;const{className:n,...i}=r||{},a=b(e,n),d=o;if(d.metadata?.isSvgIcon)return l.jsx(T,{name:d,...i,...t,className:a});if((0,R.default)(o)){const e=o(r||{}),n=e?.props.className;return s.isValidElement(e)&&s.cloneElement(e,{...t,className:b(a,n)})}return s.isValidElement(o)&&s.cloneElement(o,{...i,...o.props,...t,className:b(a,o.props.className)})});N.displayName="IconSlot",
1
+ "use strict";var o=require("./chunk-5RTXYZAR.cjs"),r=require("./chunk-QLXJH36U.cjs"),e=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),n=require("clsx"),i=require("imurmurhash"),a=require("tailwind-merge"),s=require("react"),l=require("react/jsx-runtime");function d(o){return o&&o.__esModule?o:{default:o}}var c=d(i);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function f(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function p(o){const r=Object.create(null),e=Object.keys(o);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==o[n]&&(r[n]=o[n])}return r}var u=a.extendTailwindMerge({extend:{theme:{borderColor:e.lineColors,borderWidth:e.borderWidths,borderRadius:e.borderRadii}},override:{classGroups:{"text-color":[{text:[...e.foregroundColors,...e.spectrumColors]}],"bg-color":[{bg:e.backgroundColors}],"font-family":[{font:["icons",...e.textVariants]}],leading:[{leading:e.textVariants}]},conflictingClassGroups:{}}}),b=(...o)=>{const r=n.clsx(o);return u(r)},h=o=>r=>{if(!o?.variants)return b(o?.base,r?.className);const{variants:e,defaultVariants:t}=o,n=Object.keys(e).map(o=>{const n=r?.[o],i=t?.[o],a=f(n)||f(i);return e[o][a]}),i={...t,...r&&p(r)},a=o?.compoundVariants?.reduce((o,{className:r,...e})=>Object.entries(e).every(([o,r])=>i[o]===r)?b(o,r):o,"");return b(o?.base,n,a,r?.className)},m=h({variants:o.variants}),g=new Map,x=o=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(o){const r=Object.create(null),e=Object.keys(o).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];r[n]=o[n]}return r}(p(o)),e=(new c.default).hash(JSON.stringify(r)).result();if(g.has(e))return g.get(e);const t=m(r);return g.set(e,t),t}return m(o)};function S(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function C(){const o=s.forwardRef((o,e)=>{const{children:n,...i}=o,a=s.Children.toArray(n),d=a.find(t);if(d){const o=d.props.children,t=a.map(r=>r===d?s.Children.count(o)>1?s.Children.only(null):s.isValidElement(o)?o.props.children:null:r);return l.jsx(r,{...i,ref:e,children:s.isValidElement(o)?s.cloneElement(o,void 0,t):null})}return l.jsx(r,{...i,ref:e,children:n})});o.displayName="Slot";const r=s.forwardRef((o,r)=>{const{children:e,...t}=o;return s.isValidElement(e)?s.cloneElement(e,{...n(t,e.props),ref:r?S(r,e.ref):e.ref}):s.Children.count(e)>1?s.Children.only(null):null});r.displayName="SlotClone";const e=({children:o})=>o;function t(o){return s.isValidElement(o)&&o.type===e}function n(o,r){const e={...r};for(const t in r){const n=o[t],i=r[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...o)=>{i(...o),n(...o)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...o,...e}}return o}var w=C(),y=s.forwardRef(function({asChild:o,as:r="div",className:e,backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H="flex",overflow:k,overflowX:q,overflowY:I,position:O,spacing:X,spacingHorizontal:_,spacingVertical:A,spacingBottom:F,spacingEnd:Y,spacingStart:D,spacingTop:M,offset:$,offsetVertical:J,offsetHorizontal:Z,offsetBottom:L,offsetEnd:P,offsetStart:Q,offsetTop:U,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,...io},ao){const so=x({backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H,overflow:k,overflowX:q,overflowY:I,position:O,spacing:X,spacingHorizontal:_,spacingVertical:A,spacingBottom:F,spacingEnd:Y,spacingStart:D,spacingTop:M,offset:$,offsetVertical:J,offsetHorizontal:Z,offsetBottom:L,offsetEnd:P,offsetStart:Q,offsetTop:U,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,className:e}),lo=o?w:r;return l.jsx(lo,{className:so,ref:ao,...io})});y.displayName="Box";var v=C(),E={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},W=s.forwardRef(function({className:o,asChild:r,color:e="primary",variant:t="body1",as:n=E[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:W,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:X,flexWrap:_,justifyContent:A,flexBasis:F,display:Y,overflow:D,overflowX:M,overflowY:$,position:J,spacing:Z,spacingHorizontal:L,spacingVertical:P,spacingBottom:Q,spacingEnd:U,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:i??t,fontSize:a??t,fontWeight:s??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},bo=x({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:S,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:W,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:X,flexWrap:_,justifyContent:A,flexBasis:F,display:Y,overflow:D,overflowX:M,overflowY:$,position:J,spacing:Z,spacingHorizontal:L,spacingVertical:P,spacingBottom:Q,spacingEnd:U,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),ho=r?v:n;return l.jsx(ho,{className:bo,ref:po,...fo})});W.displayName="Text";var B={xs:12,sm:16,md:24,lg:32},T=s.forwardRef(function({name:o,size:r="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=o.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=x({flex:"none",color:c?void 0:t,className:b(n,!c&&"[&_path]:fill-current")}),p=B[r];return l.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:l.jsx(o,{size:r,variant:d})})});T.displayName="Icon";var R=r.__toESM(o.require_isFunction(),1),N=s.memo(function({icon:o,iconProps:r,className:e,...t}){if(!o)return null;const{className:n,...i}=r||{},a=b(e,n),d=o;if(d.metadata?.isSvgIcon)return l.jsx(T,{name:d,...i,...t,className:a});if((0,R.default)(o)){const e=o(r||{}),n=e?.props.className;return s.isValidElement(e)&&s.cloneElement(e,{...t,className:b(a,n)})}return s.isValidElement(o)&&s.cloneElement(o,{...i,...o.props,...t,className:b(a,o.props.className)})});N.displayName="IconSlot",
2
2
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=y,exports.Icon=T,exports.IconSlot=N,exports.Text=W,exports.createSlot=C,exports.cva=h,exports.cx=b,exports.getStyles=x;