@yahoo/uds 3.36.0-beta.3 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/cli.ts +1 -21
  6. package/cli/commands/uds.ts +1 -4
  7. package/cli/env.d.ts +0 -2
  8. package/cli/utils/analytics.ts +7 -12
  9. package/dist/analytics/server.cjs +1 -1
  10. package/dist/analytics/server.js +1 -1
  11. package/dist/{chunk-H62QDZOV.cjs → chunk-266TEOBW.cjs} +1 -1
  12. package/dist/{chunk-QZIQVD63.js → chunk-3Q2RRNEV.js} +3 -3
  13. package/dist/{chunk-UYLBFQ4P.js → chunk-532FA5T4.js} +1 -1
  14. package/dist/{chunk-EXYFDTFM.js → chunk-6EDDHN2V.js} +1 -1
  15. package/dist/{chunk-MATTX7AJ.js → chunk-6T6RXVSC.js} +1 -1
  16. package/dist/chunk-7WIBH2QA.cjs +1 -0
  17. package/dist/{chunk-5U4J6DA5.cjs → chunk-AWLTZBG2.cjs} +1 -1
  18. package/dist/{chunk-MZKL2XHU.js → chunk-BP3AJRW6.js} +2 -2
  19. package/dist/{chunk-ST7Z3YRS.js → chunk-BV4WMKCN.js} +2 -2
  20. package/dist/{chunk-QQ7BRHDQ.js → chunk-BWLVHK35.js} +1 -1
  21. package/dist/{chunk-QXAMOFS3.cjs → chunk-CFZ3UOPU.cjs} +1 -1
  22. package/dist/chunk-DHFUGPYW.js +2 -0
  23. package/dist/{chunk-I7ZFG4YT.js → chunk-EJWE4ZDD.js} +2 -2
  24. package/dist/{chunk-Y5HRSSOF.cjs → chunk-EQ45R5CT.cjs} +1 -1
  25. package/dist/{chunk-6SQQBVSA.js → chunk-FEVGF4MB.js} +1 -1
  26. package/dist/{chunk-GJLQAO4M.cjs → chunk-GQ27QLWT.cjs} +1 -1
  27. package/dist/{chunk-LWGAE6PD.cjs → chunk-HKTEJW4O.cjs} +1 -1
  28. package/dist/{chunk-KPGAKQEP.js → chunk-IGSZSMZ3.js} +1 -1
  29. package/dist/chunk-JEM5Q5ZV.js +2 -0
  30. package/dist/{chunk-JM4WTJDB.cjs → chunk-JNCCDUC5.cjs} +2 -2
  31. package/dist/{chunk-4GUXQTU3.cjs → chunk-JXGXYM2J.cjs} +3 -3
  32. package/dist/{chunk-WX4V6S4A.js → chunk-KSMNVEEZ.js} +1 -1
  33. package/dist/{chunk-PVXOGAWH.js → chunk-LVNVY7D5.js} +1 -1
  34. package/dist/{chunk-RMRBUBTB.js → chunk-NOHU3JAB.js} +3 -3
  35. package/dist/{chunk-CTYIRZ5A.cjs → chunk-OJ3E5CMW.cjs} +1 -1
  36. package/dist/{chunk-SVO6TMF5.js → chunk-P5SQNXWX.js} +1 -1
  37. package/dist/{chunk-F7LPH2UL.cjs → chunk-PHE2SHFZ.cjs} +1 -1
  38. package/dist/{chunk-QF6YIMT4.js → chunk-QRMOGL7I.js} +1 -1
  39. package/dist/{chunk-WRE54KQN.js → chunk-QY4DHKAZ.js} +2 -2
  40. package/dist/{chunk-6HG5KSL6.cjs → chunk-R53FHPNV.cjs} +1 -1
  41. package/dist/{chunk-S5NRWKDP.cjs → chunk-RQQFTFXX.cjs} +1 -1
  42. package/dist/{chunk-VQV2OVOZ.cjs → chunk-S6UCK6XC.cjs} +1 -1
  43. package/dist/{chunk-4A2ZIK3D.cjs → chunk-SOXILHRS.cjs} +1 -1
  44. package/dist/chunk-XLYF7ZHQ.cjs +1 -0
  45. package/dist/{chunk-PNL4K4BQ.cjs → chunk-XUE7PBWU.cjs} +1 -1
  46. package/dist/{chunk-YBIQ3S5G.cjs → chunk-YBNT52RR.cjs} +1 -1
  47. package/dist/client/Menu.cjs +2 -2
  48. package/dist/client/Menu.js +2 -2
  49. package/dist/client/index.cjs +1 -1
  50. package/dist/client/index.js +1 -1
  51. package/dist/experimental/client/SwitchV2.cjs +1 -1
  52. package/dist/experimental/client/SwitchV2.js +1 -2
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/metafile-cjs.json +1 -1
  56. package/dist/metafile-esm.json +1 -1
  57. package/dist/tailwind/plugin.cjs +1 -1
  58. package/dist/tailwind/plugin.js +2 -1
  59. package/dist/tailwind/purger.cjs +1 -1
  60. package/dist/tailwind/purger.js +2 -2
  61. package/dist/tailwind/tsMorph.cjs +1 -1
  62. package/dist/tailwind/tsMorph.js +2 -2
  63. package/dist/tailwind/utils.cjs +1 -1
  64. package/dist/tailwind/utils.d.cts +8 -6
  65. package/dist/tailwind/utils.d.ts +8 -6
  66. package/dist/tailwind/utils.js +1 -1
  67. package/dist/tokens/automation/configs.cjs +1 -1
  68. package/dist/tokens/automation/configs.js +1 -1
  69. package/dist/tokens/automation/properties.cjs +1 -1
  70. package/dist/tokens/automation/properties.js +1 -1
  71. package/dist/tokens/index.cjs +1 -1
  72. package/dist/tokens/index.js +1 -1
  73. package/package.json +1 -1
  74. package/cli/FullWidthClassToProp.mock.tsx +0 -17
  75. package/cli/commands/login.ts +0 -30
  76. package/cli/commands/logout.ts +0 -27
  77. package/cli/utils/auth.ts +0 -175
  78. package/dist/chunk-5D2A6RFS.js +0 -2
  79. package/dist/chunk-74BWCTGT.cjs +0 -1
  80. package/dist/chunk-DCZLRK3J.js +0 -2
  81. package/dist/chunk-VQ4KEVVH.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";var e=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-Y5HRSSOF.cjs"),t=require("./chunk-QLXJH36U.cjs"),r=require("@yahoo/uds/fixtures"),a=t.__commonJS({"../../node_modules/lodash/lowerCase.js"(e,t){var r=o.require_createCompounder()(function(e,o,t){return e+(t?" ":"")+o.toLowerCase()});t.exports=r}}),n=t.__commonJS({"../../node_modules/lodash/_listCacheClear.js"(e,o){o.exports=function(){this.__data__=[],this.size=0}}}),s=t.__commonJS({"../../node_modules/lodash/eq.js"(e,o){o.exports=function(e,o){return e===o||e!=e&&o!=o}}}),l=t.__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(e,o){var t=s();o.exports=function(e,o){for(var r=e.length;r--;)if(t(e[r][0],o))return r;return-1}}}),i=t.__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(e,o){var t=l(),r=Array.prototype.splice;o.exports=function(e){var o=this.__data__,a=t(o,e);return!(a<0)&&(a==o.length-1?o.pop():r.call(o,a,1),--this.size,!0)}}}),u=t.__commonJS({"../../node_modules/lodash/_listCacheGet.js"(e,o){var t=l();o.exports=function(e){var o=this.__data__,r=t(o,e);return r<0?void 0:o[r][1]}}}),c=t.__commonJS({"../../node_modules/lodash/_listCacheHas.js"(e,o){var t=l();o.exports=function(e){return t(this.__data__,e)>-1}}}),p=t.__commonJS({"../../node_modules/lodash/_listCacheSet.js"(e,o){var t=l();o.exports=function(e,o){var r=this.__data__,a=t(r,e);return a<0?(++this.size,r.push([e,o])):r[a][1]=o,this}}}),f=t.__commonJS({"../../node_modules/lodash/_ListCache.js"(e,o){var t=n(),r=i(),a=u(),s=c(),l=p();function f(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}f.prototype.clear=t,f.prototype.delete=r,f.prototype.get=a,f.prototype.has=s,f.prototype.set=l,o.exports=f}}),d=t.__commonJS({"../../node_modules/lodash/_stackClear.js"(e,o){var t=f();o.exports=function(){this.__data__=new t,this.size=0}}}),m=t.__commonJS({"../../node_modules/lodash/_stackDelete.js"(e,o){o.exports=function(e){var o=this.__data__,t=o.delete(e);return this.size=o.size,t}}}),v=t.__commonJS({"../../node_modules/lodash/_stackGet.js"(e,o){o.exports=function(e){return this.__data__.get(e)}}}),y=t.__commonJS({"../../node_modules/lodash/_stackHas.js"(e,o){o.exports=function(e){return this.__data__.has(e)}}}),h=t.__commonJS({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=o.require_getNative()(Object,"create");t.exports=r}}),b=t.__commonJS({"../../node_modules/lodash/_hashClear.js"(e,o){var t=h();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),_=t.__commonJS({"../../node_modules/lodash/_hashDelete.js"(e,o){o.exports=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o}}}),g=t.__commonJS({"../../node_modules/lodash/_hashGet.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;if(t){var a=o[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(o,e)?o[e]:void 0}}}),w=t.__commonJS({"../../node_modules/lodash/_hashHas.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:r.call(o,e)}}}),S=t.__commonJS({"../../node_modules/lodash/_hashSet.js"(e,o){var t=h();o.exports=function(e,o){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=t&&void 0===o?"__lodash_hash_undefined__":o,this}}}),x=t.__commonJS({"../../node_modules/lodash/_Hash.js"(e,o){var t=b(),r=_(),a=g(),n=w(),s=S();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),C=t.__commonJS({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=x(),a=f(),n=o.require_Map();t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(n||a),string:new r}}}}),j=t.__commonJS({"../../node_modules/lodash/_isKeyable.js"(e,o){o.exports=function(e){var o=typeof e;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==e:null===e}}}),$=t.__commonJS({"../../node_modules/lodash/_getMapData.js"(e,o){var t=j();o.exports=function(e,o){var r=e.__data__;return t(o)?r["string"==typeof o?"string":"hash"]:r.map}}}),P=t.__commonJS({"../../node_modules/lodash/_mapCacheDelete.js"(e,o){var t=$();o.exports=function(e){var o=t(this,e).delete(e);return this.size-=o?1:0,o}}}),k=t.__commonJS({"../../node_modules/lodash/_mapCacheGet.js"(e,o){var t=$();o.exports=function(e){return t(this,e).get(e)}}}),W=t.__commonJS({"../../node_modules/lodash/_mapCacheHas.js"(e,o){var t=$();o.exports=function(e){return t(this,e).has(e)}}}),O=t.__commonJS({"../../node_modules/lodash/_mapCacheSet.js"(e,o){var t=$();o.exports=function(e,o){var r=t(this,e),a=r.size;return r.set(e,o),this.size+=r.size==a?0:1,this}}}),A=t.__commonJS({"../../node_modules/lodash/_MapCache.js"(e,o){var t=C(),r=P(),a=k(),n=W(),s=O();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),J=t.__commonJS({"../../node_modules/lodash/_stackSet.js"(e,t){var r=f(),a=o.require_Map(),n=A();t.exports=function(e,o){var t=this.__data__;if(t instanceof r){var s=t.__data__;if(!a||s.length<199)return s.push([e,o]),this.size=++t.size,this;t=this.__data__=new n(s)}return t.set(e,o),this.size=t.size,this}}}),V=t.__commonJS({"../../node_modules/lodash/_Stack.js"(e,o){var t=f(),r=d(),a=m(),n=v(),s=y(),l=J();function i(e){var o=this.__data__=new t(e);this.size=o.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,o.exports=i}}),T=t.__commonJS({"../../node_modules/lodash/_defineProperty.js"(e,t){var r=o.require_getNative(),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a}}),F=t.__commonJS({"../../node_modules/lodash/_baseAssignValue.js"(e,o){var t=T();o.exports=function(e,o,r){"__proto__"==o&&t?t(e,o,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[o]=r}}}),E=t.__commonJS({"../../node_modules/lodash/_assignMergeValue.js"(e,o){var t=F(),r=s();o.exports=function(e,o,a){(void 0!==a&&!r(e[o],a)||void 0===a&&!(o in e))&&t(e,o,a)}}}),M=t.__commonJS({"../../node_modules/lodash/_createBaseFor.js"(e,o){o.exports=function(e){return function(o,t,r){for(var a=-1,n=Object(o),s=r(o),l=s.length;l--;){var i=s[e?l:++a];if(!1===t(n[i],i,n))break}return o}}}}),N=t.__commonJS({"../../node_modules/lodash/_baseFor.js"(e,o){var t=M()();o.exports=t}}),q=t.__commonJS({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var r=o.require_root(),a="object"==typeof e&&e&&!e.nodeType&&e,n=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=n&&n.exports===a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,o){if(o)return e.slice();var t=e.length,r=l?l(t):new e.constructor(t);return e.copy(r),r}}}),K=t.__commonJS({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=o.require_root().Uint8Array;t.exports=r}}),D=t.__commonJS({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,o){var t=K();o.exports=function(e){var o=new e.constructor(e.byteLength);return new t(o).set(new t(e)),o}}}),L=t.__commonJS({"../../node_modules/lodash/_cloneTypedArray.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),z=t.__commonJS({"../../node_modules/lodash/_copyArray.js"(e,o){o.exports=function(e,o){var t=-1,r=e.length;for(o||(o=Array(r));++t<r;)o[t]=e[t];return o}}}),R=t.__commonJS({"../../node_modules/lodash/_baseCreate.js"(e,t){var r=o.require_isObject(),a=Object.create,n=function(){function e(){}return function(o){if(!r(o))return{};if(a)return a(o);e.prototype=o;var t=new e;return e.prototype=void 0,t}}();t.exports=n}}),Y=t.__commonJS({"../../node_modules/lodash/_getPrototype.js"(e,t){var r=o.require_overArg()(Object.getPrototypeOf,Object);t.exports=r}}),B=t.__commonJS({"../../node_modules/lodash/_initCloneObject.js"(e,t){var r=R(),a=Y(),n=o.require_isPrototype();t.exports=function(e){return"function"!=typeof e.constructor||n(e)?{}:r(a(e))}}}),X=t.__commonJS({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var r=o.require_isArrayLike(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&r(e)}}}),I=t.__commonJS({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=o.require_baseGetTag(),a=Y(),n=o.require_isObjectLike(),s=Function.prototype,l=Object.prototype,i=s.toString,u=l.hasOwnProperty,c=i.call(Object);t.exports=function(e){if(!n(e)||"[object Object]"!=r(e))return!1;var o=a(e);if(null===o)return!0;var t=u.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&i.call(t)==c}}}),U=t.__commonJS({"../../node_modules/lodash/_safeGet.js"(e,o){o.exports=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}}}),H=t.__commonJS({"../../node_modules/lodash/_assignValue.js"(e,o){var t=F(),r=s(),a=Object.prototype.hasOwnProperty;o.exports=function(e,o,n){var s=e[o];a.call(e,o)&&r(s,n)&&(void 0!==n||o in e)||t(e,o,n)}}}),G=t.__commonJS({"../../node_modules/lodash/_copyObject.js"(e,o){var t=H(),r=F();o.exports=function(e,o,a,n){var s=!a;a||(a={});for(var l=-1,i=o.length;++l<i;){var u=o[l],c=n?n(a[u],e[u],u,a,e):void 0;void 0===c&&(c=e[u]),s?r(a,u,c):t(a,u,c)}return a}}}),Q=t.__commonJS({"../../node_modules/lodash/_baseTimes.js"(e,o){o.exports=function(e,o){for(var t=-1,r=Array(e);++t<e;)r[t]=o(t);return r}}}),Z=t.__commonJS({"../../node_modules/lodash/_isIndex.js"(e,o){var t=/^(?:0|[1-9]\d*)$/;o.exports=function(e,o){var r=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<o}}}),ee=t.__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Q(),a=o.require_isArguments(),n=o.require_isArray(),s=o.require_isBuffer(),l=Z(),i=o.require_isTypedArray(),u=Object.prototype.hasOwnProperty;t.exports=function(e,o){var t=n(e),c=!t&&a(e),p=!t&&!c&&s(e),f=!t&&!c&&!p&&i(e),d=t||c||p||f,m=d?r(e.length,String):[],v=m.length;for(var y in e)!o&&!u.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,v))||m.push(y);return m}}}),oe=t.__commonJS({"../../node_modules/lodash/_nativeKeysIn.js"(e,o){o.exports=function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}}}),te=t.__commonJS({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var r=o.require_isObject(),a=o.require_isPrototype(),n=oe(),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return n(e);var o=a(e),t=[];for(var l in e)("constructor"!=l||!o&&s.call(e,l))&&t.push(l);return t}}}),re=t.__commonJS({"../../node_modules/lodash/keysIn.js"(e,t){var r=ee(),a=te(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e,!0):a(e)}}}),ae=t.__commonJS({"../../node_modules/lodash/toPlainObject.js"(e,o){var t=G(),r=re();o.exports=function(e){return t(e,r(e))}}}),ne=t.__commonJS({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var r=E(),a=q(),n=L(),s=z(),l=B(),i=o.require_isArguments(),u=o.require_isArray(),c=X(),p=o.require_isBuffer(),f=o.require_isFunction(),d=o.require_isObject(),m=I(),v=o.require_isTypedArray(),y=U(),h=ae();t.exports=function(e,o,t,b,_,g,w){var S=y(e,t),x=y(o,t),C=w.get(x);if(C)r(e,t,C);else{var j=g?g(S,x,t+"",e,o,w):void 0,$=void 0===j;if($){var P=u(x),k=!P&&p(x),W=!P&&!k&&v(x);j=x,P||k||W?u(S)?j=S:c(S)?j=s(S):k?($=!1,j=a(x,!0)):W?($=!1,j=n(x,!0)):j=[]:m(x)||i(x)?(j=S,i(S)?j=h(S):d(S)&&!f(S)||(j=l(x))):$=!1}$&&(w.set(x,j),_(j,x,b,g,w),w.delete(x)),r(e,t,j)}}}}),se=t.__commonJS({"../../node_modules/lodash/_baseMerge.js"(e,t){var r=V(),a=E(),n=N(),s=ne(),l=o.require_isObject(),i=re(),u=U();t.exports=function e(o,t,c,p,f){o!==t&&n(t,function(n,i){if(f||(f=new r),l(n))s(o,t,i,c,e,p,f);else{var d=p?p(u(o,i),n,i+"",o,t,f):void 0;void 0===d&&(d=n),a(o,i,d)}},i)}}}),le=t.__commonJS({"../../node_modules/lodash/identity.js"(e,o){o.exports=function(e){return e}}}),ie=t.__commonJS({"../../node_modules/lodash/_apply.js"(e,o){o.exports=function(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}}}),ue=t.__commonJS({"../../node_modules/lodash/_overRest.js"(e,o){var t=ie(),r=Math.max;o.exports=function(e,o,a){return o=r(void 0===o?e.length-1:o,0),function(){for(var n=arguments,s=-1,l=r(n.length-o,0),i=Array(l);++s<l;)i[s]=n[o+s];s=-1;for(var u=Array(o+1);++s<o;)u[s]=n[s];return u[o]=a(i),t(e,this,u)}}}}),ce=t.__commonJS({"../../node_modules/lodash/constant.js"(e,o){o.exports=function(e){return function(){return e}}}}),pe=t.__commonJS({"../../node_modules/lodash/_baseSetToString.js"(e,o){var t=ce(),r=T(),a=le(),n=r?function(e,o){return r(e,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:a;o.exports=n}}),fe=t.__commonJS({"../../node_modules/lodash/_shortOut.js"(e,o){var t=Date.now;o.exports=function(e){var o=0,r=0;return function(){var a=t(),n=16-(a-r);if(r=a,n>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}}}),de=t.__commonJS({"../../node_modules/lodash/_setToString.js"(e,o){var t=pe(),r=fe()(t);o.exports=r}}),me=t.__commonJS({"../../node_modules/lodash/_baseRest.js"(e,o){var t=le(),r=ue(),a=de();o.exports=function(e,o){return a(r(e,o,t),e+"")}}}),ve=t.__commonJS({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var r=s(),a=o.require_isArrayLike(),n=Z(),l=o.require_isObject();t.exports=function(e,o,t){if(!l(t))return!1;var s=typeof o;return!!("number"==s?a(t)&&n(o,t.length):"string"==s&&o in t)&&r(t[o],e)}}}),ye=t.__commonJS({"../../node_modules/lodash/_createAssigner.js"(e,o){var t=me(),r=ve();o.exports=function(e){return t(function(o,t){var a=-1,n=t.length,s=n>1?t[n-1]:void 0,l=n>2?t[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(t[0],t[1],l)&&(s=n<3?void 0:s,n=1),o=Object(o);++a<n;){var i=t[a];i&&e(o,i,a,s)}return o})}}}),he=t.__commonJS({"../../node_modules/lodash/mergeWith.js"(e,o){var t=se(),r=ye()(function(e,o,r,a){t(e,o,r,a)});o.exports=r}}),be=t.__commonJS({"../../node_modules/lodash/_baseToPairs.js"(e,t){var r=o.require_arrayMap();t.exports=function(e,o){return r(o,function(o){return[o,e[o]]})}}}),_e=t.__commonJS({"../../node_modules/lodash/_mapToArray.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e,r){t[++o]=[r,e]}),t}}}),ge=t.__commonJS({"../../node_modules/lodash/_setToPairs.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e){t[++o]=[e,e]}),t}}}),we=t.__commonJS({"../../node_modules/lodash/_createToPairs.js"(e,t){var r=be(),a=o.require_getTag(),n=_e(),s=ge();t.exports=function(e){return function(o){var t=a(o);return"[object Map]"==t?n(o):"[object Set]"==t?s(o):r(o,e(o))}}}}),Se=t.__commonJS({"../../node_modules/lodash/keys.js"(e,t){var r=ee(),a=o.require_baseKeys(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e):a(e)}}}),xe=t.__commonJS({"../../node_modules/lodash/toPairs.js"(e,o){var t=we()(Se());o.exports=t}}),Ce=t.__commonJS({"../../node_modules/lodash/entries.js"(e,o){o.exports=xe()}}),je=t.__commonJS({"../../node_modules/lodash/_arrayEach.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length;++t<r&&!1!==o(e[t],t,e););return e}}}),$e=t.__commonJS({"../../node_modules/lodash/_baseAssign.js"(e,o){var t=G(),r=Se();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),Pe=t.__commonJS({"../../node_modules/lodash/_baseAssignIn.js"(e,o){var t=G(),r=re();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),ke=t.__commonJS({"../../node_modules/lodash/_arrayFilter.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length,a=0,n=[];++t<r;){var s=e[t];o(s,t,e)&&(n[a++]=s)}return n}}}),We=t.__commonJS({"../../node_modules/lodash/stubArray.js"(e,o){o.exports=function(){return[]}}}),Oe=t.__commonJS({"../../node_modules/lodash/_getSymbols.js"(e,o){var t=ke(),r=We(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(o){return a.call(e,o)}))}:r;o.exports=s}}),Ae=t.__commonJS({"../../node_modules/lodash/_copySymbols.js"(e,o){var t=G(),r=Oe();o.exports=function(e,o){return t(e,r(e),o)}}}),Je=t.__commonJS({"../../node_modules/lodash/_arrayPush.js"(e,o){o.exports=function(e,o){for(var t=-1,r=o.length,a=e.length;++t<r;)e[a+t]=o[t];return e}}}),Ve=t.__commonJS({"../../node_modules/lodash/_getSymbolsIn.js"(e,o){var t=Je(),r=Y(),a=Oe(),n=We(),s=Object.getOwnPropertySymbols?function(e){for(var o=[];e;)t(o,a(e)),e=r(e);return o}:n;o.exports=s}}),Te=t.__commonJS({"../../node_modules/lodash/_copySymbolsIn.js"(e,o){var t=G(),r=Ve();o.exports=function(e,o){return t(e,r(e),o)}}}),Fe=t.__commonJS({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=Je(),a=o.require_isArray();t.exports=function(e,o,t){var n=o(e);return a(e)?n:r(n,t(e))}}}),Ee=t.__commonJS({"../../node_modules/lodash/_getAllKeys.js"(e,o){var t=Fe(),r=Oe(),a=Se();o.exports=function(e){return t(e,a,r)}}}),Me=t.__commonJS({"../../node_modules/lodash/_getAllKeysIn.js"(e,o){var t=Fe(),r=Ve(),a=re();o.exports=function(e){return t(e,a,r)}}}),Ne=t.__commonJS({"../../node_modules/lodash/_initCloneArray.js"(e,o){var t=Object.prototype.hasOwnProperty;o.exports=function(e){var o=e.length,r=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),qe=t.__commonJS({"../../node_modules/lodash/_cloneDataView.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),Ke=t.__commonJS({"../../node_modules/lodash/_cloneRegExp.js"(e,o){var t=/\w*$/;o.exports=function(e){var o=new e.constructor(e.source,t.exec(e));return o.lastIndex=e.lastIndex,o}}}),De=t.__commonJS({"../../node_modules/lodash/_cloneSymbol.js"(e,t){var r=o.require_Symbol(),a=r?r.prototype:void 0,n=a?a.valueOf:void 0;t.exports=function(e){return n?Object(n.call(e)):{}}}}),Le=t.__commonJS({"../../node_modules/lodash/_initCloneByTag.js"(e,o){var t=D(),r=qe(),a=Ke(),n=De(),s=L();o.exports=function(e,o,l){var i=e.constructor;switch(o){case"[object ArrayBuffer]":return t(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)}}}}),ze=t.__commonJS({"../../node_modules/lodash/_baseIsMap.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Map]"==r(e)}}}),Re=t.__commonJS({"../../node_modules/lodash/isMap.js"(e,t){var r=ze(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isMap,l=s?a(s):r;t.exports=l}}),Ye=t.__commonJS({"../../node_modules/lodash/_baseIsSet.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Set]"==r(e)}}}),Be=t.__commonJS({"../../node_modules/lodash/isSet.js"(e,t){var r=Ye(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isSet,l=s?a(s):r;t.exports=l}}),Xe=t.__commonJS({"../../node_modules/lodash/_baseClone.js"(e,t){var r=V(),a=je(),n=H(),s=$e(),l=Pe(),i=q(),u=z(),c=Ae(),p=Te(),f=Ee(),d=Me(),m=o.require_getTag(),v=Ne(),y=Le(),h=B(),b=o.require_isArray(),_=o.require_isBuffer(),g=Re(),w=o.require_isObject(),S=Be(),x=Se(),C=re(),j="[object Arguments]",$="[object Function]",P="[object Object]",k={};k[j]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[P]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[$]=k["[object WeakMap]"]=!1,t.exports=function e(o,t,W,O,A,J){var V,T=1&t,F=2&t,E=4&t;if(W&&(V=A?W(o,O,A,J):W(o)),void 0!==V)return V;if(!w(o))return o;var M=b(o);if(M){if(V=v(o),!T)return u(o,V)}else{var N=m(o),q=N==$||"[object GeneratorFunction]"==N;if(_(o))return i(o,T);if(N==P||N==j||q&&!A){if(V=F||q?{}:h(o),!T)return F?p(o,l(V,o)):c(o,s(V,o))}else{if(!k[N])return A?o:{};V=y(o,N,T)}}J||(J=new r);var K=J.get(o);if(K)return K;J.set(o,V),S(o)?o.forEach(function(r){V.add(e(r,t,W,r,o,J))}):g(o)&&o.forEach(function(r,a){V.set(a,e(r,t,W,a,o,J))});var D=M?void 0:(E?F?d:f:F?C:x)(o);return a(D||o,function(r,a){D&&(r=o[a=r]),n(V,a,e(r,t,W,a,o,J))}),V}}}),Ie=t.__commonJS({"../../node_modules/lodash/cloneDeep.js"(e,o){var t=Xe();o.exports=function(e){return t(e,5)}}}),Ue=t.__toESM(o.require_isFunction(),1),He=t.__toESM(a(),1),Ge=t.__toESM(he(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function Qe({variantKey:e,variantValue:o,layer:t,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${o}/${a}/${n}/${t}`:`${r}/${e}/${o}/${t}`:a&&n?`${e}/${o}/${a}/${n}/${t}`:`${e}/${o}/${t}`}var Ze=e=>e.reduce((e,o)=>e.flatMap(e=>o.map(o=>[e,o].flat())));function eo(o,t){const r=o.variants?.[t];if(r)return{type:"no-sub-components",variant:r};const a=uo(o);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e.mapValues(a,e=>e.variants[t])}}function oo(e,o,t){const r=e[o]?.defaults?.[t];if(void 0===r)throw new Error(`The variant default for "${t}" is not defined for the component "${o}"`);return r}var to=t.__toESM(Ce(),1);function ro(e,o,t){const r=eo(e,o);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!t)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[t]}}var ao=e=>!!e?.layers,no=e=>!!e?.componentStates;function so(e,o,t){const r=ro(e,o,t);return r&&no(r)?r?.componentStates??null:null}var lo=["rest"];var io=t.__toESM(Ce(),1);function uo(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}var co=t.__toESM(Ie(),1);function po(e,o,t,r,a){const n=e[t].variables[o];if(!n)throw new Error(`No layer variables found for ${o}.`);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 fo(e,o,t,r,a,n){const s=(0,co.default)(e),l=po(s,o,t,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}var mo={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},vo={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function yo(e,o){const t=e.defaults[o],r=e.typeOfFixture;let a=0;return e.values.forEach((e,o)=>{e.includes(t)&&(a=o)}),r[a]}function ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,He.default)(e)}-${(0,He.default)(n)}-${(0,He.default)(o)}`:`uds-${(0,He.default)(e)}-${(0,He.default)(o)}`,t&&(i=`${i}-${(0,He.default)(t)}`),s&&l&&(i=`${i}-${(0,He.default)(s)}-${(0,He.default)(l)}`),i=`${i}-${(0,He.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function bo({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:c,theme:p,currentStyles:f,previewOptions:d}){const m=Qe({variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});let v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});const y=i.variables[m][u];if(!y)throw"size/md/root"===m&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:m,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${m} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const h={};for(const m in y){const b=mo[m]??"";let _="";if("root"===r)if(s&&l){const a=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n});v=ho({componentName:e,variantKey:o,layer:r,subComponentName:n,stateKey:s,stateValue:l}),_=`.${a}${b}.${v}`}else _=`.${v}${b}`;else{const i=ho({componentName:e,variantKey:o,variantValue:t,layer:"root",subComponentName:n});if(s&&l){const u=ho({componentName:e,variantKey:o,layer:"root",subComponentName:n,stateKey:s,stateValue:l});v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),_=`.${i}${b}.${u} .${v}`}else _=`.${i}${b} .${v}`}const g=(e,o,t,r)=>{const{value:a,type:n}=e,s=Mo[o];let l;if(Mo[o].customValueRenderer)l=Mo[o].customValueRenderer(e,i,t);else{l=t(Mo[o].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:w,extendedProperties:S}=Mo[c.name],x={},C=(0,Ue.default)(S),j=C?S({componentName:e,subComponentName:n,layer:r,propertyKey:u}):S;if(j&&j.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 j){const o=Mo[e].cssProperties;if("string"==typeof o){const t=f?.[_]?.[o];x[o]=g(y[m],e,p,t)}else if(Array.isArray(o))for(const t of o){const o=f?.[_]?.[t];x[t]=g(y[m],e,p,o)}}}else if("string"==typeof w){const e=f?.[_]?.[w];x[w]=g(y[m],c.name,p,e)}else if(Array.isArray(w))for(const e of w){const o=f?.[_]?.[e];x[e]=g(y[m],c.name,p,o)}if(h[_]||(h[_]={...x,...h[_]}),d?.generatePseudoStateClassModifier){const e=vo[m]??"";e.length>0&&"root"!==m&&(h[`.${e}${_}`.replace(b,"")]={...x,...h[`.${e}${_}`.replace(b,"")]})}}return h}var _o=["none","custom"],go=["none","up","down"],wo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},So={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},xo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},Co={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function jo(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...Co}}function $o(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...Co}}function Po(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...Co}}var ko={fill:jo,outline:$o,ghost:Po},Wo={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:wo,base:jo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co}}}},accent:{primary:{kind:"fill",effect:wo,base:jo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co}}}},brand:{primary:{kind:"fill",effect:wo,base:jo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co}}}},alert:{primary:{kind:"fill",effect:wo,base:jo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co}}}},positive:{primary:{kind:"fill",effect:wo,base:jo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co}}}},warning:{primary:{kind:"fill",effect:wo,base:jo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co}}}}}},Oo="https://s.yimg.com/bw/fonts",Ao=["Helvetica Neue","Helvetica","Arial","sans-serif"],Jo=["Georgia","Times","Times New Roman","serif"],Vo={"centra-no2":{fallback:Ao,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('${Oo}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Oo}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Oo}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Oo}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Ao,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('${Oo}/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('${Oo}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Ao,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('${Oo}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Ao,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('${Oo}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Ao,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('${Oo}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Ao,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('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Ao,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('${Oo}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Jo,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('${Oo}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Jo,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('${Oo}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};var To={black:"0 0 0",white:"255 255 255"};function Fo({preset:e,prefix:o,shadowType:t}){const a=`--uds-${t}-shadow-`,n="palette"===e.color?.type,s="always"===e.color?.type;let l=`var(--uds-${n?"shadow":"spectrum"}-color-${e?.color?.value})`;s&&(l=To[e.color.value]);const i=`var(${a}${o?`${o}-`:""}color, ${l})`;return`${"inset"===t?"inset ":""}${[`${r.shadowOffsetMap[e.offsetX]}px`,`${r.shadowOffsetMap[e.offsetY]}px`,`${r.spacingMap[e.blur]}px`,`${r.shadowSpreadRadiusMap[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${i} / var(${a}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}var Eo=({componentName:e,layer:o,propertyKey:t})=>!("chip"!==e||"root"!==o||!["borderColor","borderWidth"].includes(t))||!("input"!==e||"inputWrapper"!==o||!["borderColor","borderWidth"].includes(t)),Mo={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,o)=>{if("spectrumColors"===e){const[e,t]=o.split("-");return`colors.${e}.${t}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${o}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Eo(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,o)=>`borderRadius.${o}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Eo(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,o)=>`typography.fontFamily.${o}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,o)=>`typography.fontSize.${o}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:o}=e;return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,o)=>`typography.lineHeight.${o}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,o)=>`typography.textTransform.${o}`,possibleFixtures:["textVariants"]},padding:{name:"padding",cssProperties:"padding",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},color:{name:"color",cssProperties:"color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`textColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,o)=>`typography.fontWeight.${o}`,possibleFixtures:["textVariants"]},iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,o)=>`sizing.icon.${o}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,o)=>`spacing[${o}]`,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 o="drop";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.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 o="inset";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,o)=>`height[${o}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,o)=>`width[${o}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:o},t,r)=>`calc(-1 * ${r("borderWidths"===o?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.FONT_DECLARATIONS_MAP=Vo,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.button=Wo,exports.cartesianProduct=Ze,exports.coalesceConfigVariant=eo,exports.configurableProperties=Mo,exports.createComponentStateConfig=function(e){return e},exports.createComponentStates=function(e){return e},exports.createConfigurableProperty=function(e){return e},exports.createLayerConfig=function(e){return e},exports.createSubComponentConfig=function(e){return e},exports.createVariantConfig=function(e){return e},exports.createVariantConfigWithComponentStates=function(e){return e},exports.createVariantConfigWithProperties=function(e){return e},exports.findFixtureType=yo,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},exports.fromEntries=function(e){return Object.fromEntries(e)},exports.generateClassName=ho,exports.generateDeclaration=bo,exports.generateKeyFromFlatConfigPath=function(e){let o=e;return o=o.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{o=o.replaceAll(e,"")}),o},exports.generateSchemaKey=Qe,exports.generateStyles=function(e,o,t,r){function a(e,o){return(0,Ge.default)({},e,o)}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 c=u[i];for(const u of c.options)for(const p in c.layers){const f=c.layers[p];for(const c in f.properties){const d=f.properties[c];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:p,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:c,originalPropertyDefinition:d,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const c=i.layers[u];for(const i in c.properties){const p=c.properties[i];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:i,originalPropertyDefinition:p,theme:t,schema:o,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 c=u.componentStates;for(const u in c){const p=c[u];for(const c of p.options)for(const f in p.layers){const d=p.layers[f];for(const p in d.properties){const m=d.properties[p];s=a(s,bo({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:c,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:p,originalPropertyDefinition:m,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const c in u.layers){const p=u.layers[c];for(const u in p.properties){const f=p.properties[u];s=a(s,bo({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}return s},exports.getConfigDefaultValue=oo,exports.getConfigPseudoStateVariables=po,exports.getConfigPseudoStateVariablesWithSetter=function(e,o,t,r,a){return[po(e,o,t,r,a),n=>fo(e,o,t,r,a,n)]},exports.getConfigSubcomponents=uo,exports.getConfigVariantComponentStates=so,exports.getConfigVariantComponentStatesMatrix=function(e,o,t){const r=so(e,o,t);return r?Ze((0,to.default)(r).map(([e,o])=>o.options.map(o=>({[e]:o})))).map(e=>Array.isArray(e)?e.reduce((e,o)=>({...e,...o}),{}):e):null},exports.getConfigVariantProperties=function(o){if(!o||!ao(o))return null;const t=e.mapValues(o.layers,e=>e.properties);for(const e in t){const o=t[e];o&&0!==Object.keys(o).length||delete t[e]}return 0===Object.keys(t).length?null:t},exports.getConfigVariantPseudoStates=function(e,o,t,r){const a=ro(e,o,r);return a?[...ao(a)?Object.entries(a?.layers??{}):[],...no(a)&&t?Object.entries(a.componentStates[t].layers??{}):[]].flatMap(([e,o])=>Object.entries(o.properties).map(([o,t])=>[e,o,t])).flatMap(([e,o,t])=>[...lo,...t.pseudoStates??[]].map(r=>[e,o,t,r])).reduce((e,[o,t,r,a])=>{e[a]=e[a]??[];const n=[o,t,r];return e[a].push(n),e},{}):null},exports.getConfigVariants=function(e,o="variant"){const t=eo(e,o);if("no-variants"===t.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===t.type){if(uo(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:t.variant.description,variantNames:[...t.variant.options]}}const r=(0,io.default)(t.variants).reduce((e,[o,t])=>{for(const r of t.options)e[r]??=[],e[r].includes(o)||e[r].push(o);return e},{});return{type:"has-sub-components",description:Object.values(t.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}},exports.getDefaultButtonBaseMap=ko,exports.getShadowLayerValue=Fo,exports.getShadowPresetValues=function({config:o,shadowType:t}){const r=o?.shadow?.[t];if(!r)return{};const a={};return e.entries(r).forEach(([e,o])=>{if("none"===e)return void(a[`--uds-${t}-shadow-${e}`]="0 0 transparent");const r=o.map((e,o)=>Fo({preset:e,prefix:o>0?`${o+1}`:void 0,shadowType:t}));a[`--uds-${t}-shadow-${e}`]=`${r.join(", ")}`}),a},exports.isConfigDefaultValue=function(e,o,t,r){return oo(e,o,t)===r},exports.parseButtonVariantFlat=function({palette:e="accent",variant:o="primary"}){return"accent"===e?o:"primary"===o?e:`${e}-${o}`},exports.parseDeprecatedButtonPaletteVariant=function({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[o,t]=e.split("-");return t?{palette:o,variant:t}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}},exports.setConfigPseudoStateVariable=fo,exports.shadow={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"}}]}},exports.statePseudoMapDocsMode=vo,exports.toMinimalDbConfigObject=function(e){const o={},t={};for(const o in e.variants){const r=e.variants[o];t[o]=r.default}o.defaults=t,o.variables={};for(const t in e.variants){const r=e.variants[t];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=Qe({variantKey:t,variantValue:e,stateKey:r,stateValue:a,layer:s});o.variables[i]={};for(const t in l.properties){const r=l.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[i]={...o.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=Qe({variantKey:t,variantValue:e,layer:a});o.variables[s]={};for(const t in n.properties){const r=n.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[s]={...o.variables[s],...a}}}}if(e.subComponents){const{subComponents:t}=e;for(const e in t)for(const r in t[e].variants){const a=t[e].variants[r];o.defaults[r]=a.default;for(const t 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=Qe({variantKey:r,variantValue:t,stateKey:a,stateValue:n,layer:l,subComponentName:e});o.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[u]={...o.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=Qe({variantKey:r,variantValue:t,layer:n,subComponentName:e});o.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[l]={...o.variables[l],...a}}}}}return o};
1
+ "use strict";var e=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-EQ45R5CT.cjs"),t=require("./chunk-QLXJH36U.cjs"),r=require("@yahoo/uds/fixtures"),a=t.__commonJS({"../../node_modules/lodash/lowerCase.js"(e,t){var r=o.require_createCompounder()(function(e,o,t){return e+(t?" ":"")+o.toLowerCase()});t.exports=r}}),n=t.__commonJS({"../../node_modules/lodash/_listCacheClear.js"(e,o){o.exports=function(){this.__data__=[],this.size=0}}}),s=t.__commonJS({"../../node_modules/lodash/eq.js"(e,o){o.exports=function(e,o){return e===o||e!=e&&o!=o}}}),l=t.__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(e,o){var t=s();o.exports=function(e,o){for(var r=e.length;r--;)if(t(e[r][0],o))return r;return-1}}}),i=t.__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(e,o){var t=l(),r=Array.prototype.splice;o.exports=function(e){var o=this.__data__,a=t(o,e);return!(a<0)&&(a==o.length-1?o.pop():r.call(o,a,1),--this.size,!0)}}}),u=t.__commonJS({"../../node_modules/lodash/_listCacheGet.js"(e,o){var t=l();o.exports=function(e){var o=this.__data__,r=t(o,e);return r<0?void 0:o[r][1]}}}),c=t.__commonJS({"../../node_modules/lodash/_listCacheHas.js"(e,o){var t=l();o.exports=function(e){return t(this.__data__,e)>-1}}}),p=t.__commonJS({"../../node_modules/lodash/_listCacheSet.js"(e,o){var t=l();o.exports=function(e,o){var r=this.__data__,a=t(r,e);return a<0?(++this.size,r.push([e,o])):r[a][1]=o,this}}}),f=t.__commonJS({"../../node_modules/lodash/_ListCache.js"(e,o){var t=n(),r=i(),a=u(),s=c(),l=p();function f(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}f.prototype.clear=t,f.prototype.delete=r,f.prototype.get=a,f.prototype.has=s,f.prototype.set=l,o.exports=f}}),d=t.__commonJS({"../../node_modules/lodash/_stackClear.js"(e,o){var t=f();o.exports=function(){this.__data__=new t,this.size=0}}}),m=t.__commonJS({"../../node_modules/lodash/_stackDelete.js"(e,o){o.exports=function(e){var o=this.__data__,t=o.delete(e);return this.size=o.size,t}}}),v=t.__commonJS({"../../node_modules/lodash/_stackGet.js"(e,o){o.exports=function(e){return this.__data__.get(e)}}}),y=t.__commonJS({"../../node_modules/lodash/_stackHas.js"(e,o){o.exports=function(e){return this.__data__.has(e)}}}),h=t.__commonJS({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=o.require_getNative()(Object,"create");t.exports=r}}),b=t.__commonJS({"../../node_modules/lodash/_hashClear.js"(e,o){var t=h();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),_=t.__commonJS({"../../node_modules/lodash/_hashDelete.js"(e,o){o.exports=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o}}}),g=t.__commonJS({"../../node_modules/lodash/_hashGet.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;if(t){var a=o[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(o,e)?o[e]:void 0}}}),w=t.__commonJS({"../../node_modules/lodash/_hashHas.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:r.call(o,e)}}}),S=t.__commonJS({"../../node_modules/lodash/_hashSet.js"(e,o){var t=h();o.exports=function(e,o){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=t&&void 0===o?"__lodash_hash_undefined__":o,this}}}),x=t.__commonJS({"../../node_modules/lodash/_Hash.js"(e,o){var t=b(),r=_(),a=g(),n=w(),s=S();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),C=t.__commonJS({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=x(),a=f(),n=o.require_Map();t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(n||a),string:new r}}}}),j=t.__commonJS({"../../node_modules/lodash/_isKeyable.js"(e,o){o.exports=function(e){var o=typeof e;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==e:null===e}}}),$=t.__commonJS({"../../node_modules/lodash/_getMapData.js"(e,o){var t=j();o.exports=function(e,o){var r=e.__data__;return t(o)?r["string"==typeof o?"string":"hash"]:r.map}}}),P=t.__commonJS({"../../node_modules/lodash/_mapCacheDelete.js"(e,o){var t=$();o.exports=function(e){var o=t(this,e).delete(e);return this.size-=o?1:0,o}}}),k=t.__commonJS({"../../node_modules/lodash/_mapCacheGet.js"(e,o){var t=$();o.exports=function(e){return t(this,e).get(e)}}}),W=t.__commonJS({"../../node_modules/lodash/_mapCacheHas.js"(e,o){var t=$();o.exports=function(e){return t(this,e).has(e)}}}),O=t.__commonJS({"../../node_modules/lodash/_mapCacheSet.js"(e,o){var t=$();o.exports=function(e,o){var r=t(this,e),a=r.size;return r.set(e,o),this.size+=r.size==a?0:1,this}}}),A=t.__commonJS({"../../node_modules/lodash/_MapCache.js"(e,o){var t=C(),r=P(),a=k(),n=W(),s=O();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),J=t.__commonJS({"../../node_modules/lodash/_stackSet.js"(e,t){var r=f(),a=o.require_Map(),n=A();t.exports=function(e,o){var t=this.__data__;if(t instanceof r){var s=t.__data__;if(!a||s.length<199)return s.push([e,o]),this.size=++t.size,this;t=this.__data__=new n(s)}return t.set(e,o),this.size=t.size,this}}}),V=t.__commonJS({"../../node_modules/lodash/_Stack.js"(e,o){var t=f(),r=d(),a=m(),n=v(),s=y(),l=J();function i(e){var o=this.__data__=new t(e);this.size=o.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,o.exports=i}}),T=t.__commonJS({"../../node_modules/lodash/_defineProperty.js"(e,t){var r=o.require_getNative(),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a}}),F=t.__commonJS({"../../node_modules/lodash/_baseAssignValue.js"(e,o){var t=T();o.exports=function(e,o,r){"__proto__"==o&&t?t(e,o,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[o]=r}}}),E=t.__commonJS({"../../node_modules/lodash/_assignMergeValue.js"(e,o){var t=F(),r=s();o.exports=function(e,o,a){(void 0!==a&&!r(e[o],a)||void 0===a&&!(o in e))&&t(e,o,a)}}}),M=t.__commonJS({"../../node_modules/lodash/_createBaseFor.js"(e,o){o.exports=function(e){return function(o,t,r){for(var a=-1,n=Object(o),s=r(o),l=s.length;l--;){var i=s[e?l:++a];if(!1===t(n[i],i,n))break}return o}}}}),N=t.__commonJS({"../../node_modules/lodash/_baseFor.js"(e,o){var t=M()();o.exports=t}}),q=t.__commonJS({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var r=o.require_root(),a="object"==typeof e&&e&&!e.nodeType&&e,n=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=n&&n.exports===a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,o){if(o)return e.slice();var t=e.length,r=l?l(t):new e.constructor(t);return e.copy(r),r}}}),K=t.__commonJS({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=o.require_root().Uint8Array;t.exports=r}}),D=t.__commonJS({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,o){var t=K();o.exports=function(e){var o=new e.constructor(e.byteLength);return new t(o).set(new t(e)),o}}}),L=t.__commonJS({"../../node_modules/lodash/_cloneTypedArray.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),z=t.__commonJS({"../../node_modules/lodash/_copyArray.js"(e,o){o.exports=function(e,o){var t=-1,r=e.length;for(o||(o=Array(r));++t<r;)o[t]=e[t];return o}}}),R=t.__commonJS({"../../node_modules/lodash/_baseCreate.js"(e,t){var r=o.require_isObject(),a=Object.create,n=function(){function e(){}return function(o){if(!r(o))return{};if(a)return a(o);e.prototype=o;var t=new e;return e.prototype=void 0,t}}();t.exports=n}}),Y=t.__commonJS({"../../node_modules/lodash/_getPrototype.js"(e,t){var r=o.require_overArg()(Object.getPrototypeOf,Object);t.exports=r}}),B=t.__commonJS({"../../node_modules/lodash/_initCloneObject.js"(e,t){var r=R(),a=Y(),n=o.require_isPrototype();t.exports=function(e){return"function"!=typeof e.constructor||n(e)?{}:r(a(e))}}}),X=t.__commonJS({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var r=o.require_isArrayLike(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&r(e)}}}),I=t.__commonJS({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=o.require_baseGetTag(),a=Y(),n=o.require_isObjectLike(),s=Function.prototype,l=Object.prototype,i=s.toString,u=l.hasOwnProperty,c=i.call(Object);t.exports=function(e){if(!n(e)||"[object Object]"!=r(e))return!1;var o=a(e);if(null===o)return!0;var t=u.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&i.call(t)==c}}}),U=t.__commonJS({"../../node_modules/lodash/_safeGet.js"(e,o){o.exports=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}}}),H=t.__commonJS({"../../node_modules/lodash/_assignValue.js"(e,o){var t=F(),r=s(),a=Object.prototype.hasOwnProperty;o.exports=function(e,o,n){var s=e[o];a.call(e,o)&&r(s,n)&&(void 0!==n||o in e)||t(e,o,n)}}}),G=t.__commonJS({"../../node_modules/lodash/_copyObject.js"(e,o){var t=H(),r=F();o.exports=function(e,o,a,n){var s=!a;a||(a={});for(var l=-1,i=o.length;++l<i;){var u=o[l],c=n?n(a[u],e[u],u,a,e):void 0;void 0===c&&(c=e[u]),s?r(a,u,c):t(a,u,c)}return a}}}),Q=t.__commonJS({"../../node_modules/lodash/_baseTimes.js"(e,o){o.exports=function(e,o){for(var t=-1,r=Array(e);++t<e;)r[t]=o(t);return r}}}),Z=t.__commonJS({"../../node_modules/lodash/_isIndex.js"(e,o){var t=/^(?:0|[1-9]\d*)$/;o.exports=function(e,o){var r=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<o}}}),ee=t.__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Q(),a=o.require_isArguments(),n=o.require_isArray(),s=o.require_isBuffer(),l=Z(),i=o.require_isTypedArray(),u=Object.prototype.hasOwnProperty;t.exports=function(e,o){var t=n(e),c=!t&&a(e),p=!t&&!c&&s(e),f=!t&&!c&&!p&&i(e),d=t||c||p||f,m=d?r(e.length,String):[],v=m.length;for(var y in e)!o&&!u.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,v))||m.push(y);return m}}}),oe=t.__commonJS({"../../node_modules/lodash/_nativeKeysIn.js"(e,o){o.exports=function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}}}),te=t.__commonJS({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var r=o.require_isObject(),a=o.require_isPrototype(),n=oe(),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return n(e);var o=a(e),t=[];for(var l in e)("constructor"!=l||!o&&s.call(e,l))&&t.push(l);return t}}}),re=t.__commonJS({"../../node_modules/lodash/keysIn.js"(e,t){var r=ee(),a=te(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e,!0):a(e)}}}),ae=t.__commonJS({"../../node_modules/lodash/toPlainObject.js"(e,o){var t=G(),r=re();o.exports=function(e){return t(e,r(e))}}}),ne=t.__commonJS({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var r=E(),a=q(),n=L(),s=z(),l=B(),i=o.require_isArguments(),u=o.require_isArray(),c=X(),p=o.require_isBuffer(),f=o.require_isFunction(),d=o.require_isObject(),m=I(),v=o.require_isTypedArray(),y=U(),h=ae();t.exports=function(e,o,t,b,_,g,w){var S=y(e,t),x=y(o,t),C=w.get(x);if(C)r(e,t,C);else{var j=g?g(S,x,t+"",e,o,w):void 0,$=void 0===j;if($){var P=u(x),k=!P&&p(x),W=!P&&!k&&v(x);j=x,P||k||W?u(S)?j=S:c(S)?j=s(S):k?($=!1,j=a(x,!0)):W?($=!1,j=n(x,!0)):j=[]:m(x)||i(x)?(j=S,i(S)?j=h(S):d(S)&&!f(S)||(j=l(x))):$=!1}$&&(w.set(x,j),_(j,x,b,g,w),w.delete(x)),r(e,t,j)}}}}),se=t.__commonJS({"../../node_modules/lodash/_baseMerge.js"(e,t){var r=V(),a=E(),n=N(),s=ne(),l=o.require_isObject(),i=re(),u=U();t.exports=function e(o,t,c,p,f){o!==t&&n(t,function(n,i){if(f||(f=new r),l(n))s(o,t,i,c,e,p,f);else{var d=p?p(u(o,i),n,i+"",o,t,f):void 0;void 0===d&&(d=n),a(o,i,d)}},i)}}}),le=t.__commonJS({"../../node_modules/lodash/identity.js"(e,o){o.exports=function(e){return e}}}),ie=t.__commonJS({"../../node_modules/lodash/_apply.js"(e,o){o.exports=function(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}}}),ue=t.__commonJS({"../../node_modules/lodash/_overRest.js"(e,o){var t=ie(),r=Math.max;o.exports=function(e,o,a){return o=r(void 0===o?e.length-1:o,0),function(){for(var n=arguments,s=-1,l=r(n.length-o,0),i=Array(l);++s<l;)i[s]=n[o+s];s=-1;for(var u=Array(o+1);++s<o;)u[s]=n[s];return u[o]=a(i),t(e,this,u)}}}}),ce=t.__commonJS({"../../node_modules/lodash/constant.js"(e,o){o.exports=function(e){return function(){return e}}}}),pe=t.__commonJS({"../../node_modules/lodash/_baseSetToString.js"(e,o){var t=ce(),r=T(),a=le(),n=r?function(e,o){return r(e,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:a;o.exports=n}}),fe=t.__commonJS({"../../node_modules/lodash/_shortOut.js"(e,o){var t=Date.now;o.exports=function(e){var o=0,r=0;return function(){var a=t(),n=16-(a-r);if(r=a,n>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}}}),de=t.__commonJS({"../../node_modules/lodash/_setToString.js"(e,o){var t=pe(),r=fe()(t);o.exports=r}}),me=t.__commonJS({"../../node_modules/lodash/_baseRest.js"(e,o){var t=le(),r=ue(),a=de();o.exports=function(e,o){return a(r(e,o,t),e+"")}}}),ve=t.__commonJS({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var r=s(),a=o.require_isArrayLike(),n=Z(),l=o.require_isObject();t.exports=function(e,o,t){if(!l(t))return!1;var s=typeof o;return!!("number"==s?a(t)&&n(o,t.length):"string"==s&&o in t)&&r(t[o],e)}}}),ye=t.__commonJS({"../../node_modules/lodash/_createAssigner.js"(e,o){var t=me(),r=ve();o.exports=function(e){return t(function(o,t){var a=-1,n=t.length,s=n>1?t[n-1]:void 0,l=n>2?t[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(t[0],t[1],l)&&(s=n<3?void 0:s,n=1),o=Object(o);++a<n;){var i=t[a];i&&e(o,i,a,s)}return o})}}}),he=t.__commonJS({"../../node_modules/lodash/mergeWith.js"(e,o){var t=se(),r=ye()(function(e,o,r,a){t(e,o,r,a)});o.exports=r}}),be=t.__commonJS({"../../node_modules/lodash/_baseToPairs.js"(e,t){var r=o.require_arrayMap();t.exports=function(e,o){return r(o,function(o){return[o,e[o]]})}}}),_e=t.__commonJS({"../../node_modules/lodash/_mapToArray.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e,r){t[++o]=[r,e]}),t}}}),ge=t.__commonJS({"../../node_modules/lodash/_setToPairs.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e){t[++o]=[e,e]}),t}}}),we=t.__commonJS({"../../node_modules/lodash/_createToPairs.js"(e,t){var r=be(),a=o.require_getTag(),n=_e(),s=ge();t.exports=function(e){return function(o){var t=a(o);return"[object Map]"==t?n(o):"[object Set]"==t?s(o):r(o,e(o))}}}}),Se=t.__commonJS({"../../node_modules/lodash/keys.js"(e,t){var r=ee(),a=o.require_baseKeys(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e):a(e)}}}),xe=t.__commonJS({"../../node_modules/lodash/toPairs.js"(e,o){var t=we()(Se());o.exports=t}}),Ce=t.__commonJS({"../../node_modules/lodash/entries.js"(e,o){o.exports=xe()}}),je=t.__commonJS({"../../node_modules/lodash/_arrayEach.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length;++t<r&&!1!==o(e[t],t,e););return e}}}),$e=t.__commonJS({"../../node_modules/lodash/_baseAssign.js"(e,o){var t=G(),r=Se();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),Pe=t.__commonJS({"../../node_modules/lodash/_baseAssignIn.js"(e,o){var t=G(),r=re();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),ke=t.__commonJS({"../../node_modules/lodash/_arrayFilter.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length,a=0,n=[];++t<r;){var s=e[t];o(s,t,e)&&(n[a++]=s)}return n}}}),We=t.__commonJS({"../../node_modules/lodash/stubArray.js"(e,o){o.exports=function(){return[]}}}),Oe=t.__commonJS({"../../node_modules/lodash/_getSymbols.js"(e,o){var t=ke(),r=We(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(o){return a.call(e,o)}))}:r;o.exports=s}}),Ae=t.__commonJS({"../../node_modules/lodash/_copySymbols.js"(e,o){var t=G(),r=Oe();o.exports=function(e,o){return t(e,r(e),o)}}}),Je=t.__commonJS({"../../node_modules/lodash/_arrayPush.js"(e,o){o.exports=function(e,o){for(var t=-1,r=o.length,a=e.length;++t<r;)e[a+t]=o[t];return e}}}),Ve=t.__commonJS({"../../node_modules/lodash/_getSymbolsIn.js"(e,o){var t=Je(),r=Y(),a=Oe(),n=We(),s=Object.getOwnPropertySymbols?function(e){for(var o=[];e;)t(o,a(e)),e=r(e);return o}:n;o.exports=s}}),Te=t.__commonJS({"../../node_modules/lodash/_copySymbolsIn.js"(e,o){var t=G(),r=Ve();o.exports=function(e,o){return t(e,r(e),o)}}}),Fe=t.__commonJS({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=Je(),a=o.require_isArray();t.exports=function(e,o,t){var n=o(e);return a(e)?n:r(n,t(e))}}}),Ee=t.__commonJS({"../../node_modules/lodash/_getAllKeys.js"(e,o){var t=Fe(),r=Oe(),a=Se();o.exports=function(e){return t(e,a,r)}}}),Me=t.__commonJS({"../../node_modules/lodash/_getAllKeysIn.js"(e,o){var t=Fe(),r=Ve(),a=re();o.exports=function(e){return t(e,a,r)}}}),Ne=t.__commonJS({"../../node_modules/lodash/_initCloneArray.js"(e,o){var t=Object.prototype.hasOwnProperty;o.exports=function(e){var o=e.length,r=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),qe=t.__commonJS({"../../node_modules/lodash/_cloneDataView.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),Ke=t.__commonJS({"../../node_modules/lodash/_cloneRegExp.js"(e,o){var t=/\w*$/;o.exports=function(e){var o=new e.constructor(e.source,t.exec(e));return o.lastIndex=e.lastIndex,o}}}),De=t.__commonJS({"../../node_modules/lodash/_cloneSymbol.js"(e,t){var r=o.require_Symbol(),a=r?r.prototype:void 0,n=a?a.valueOf:void 0;t.exports=function(e){return n?Object(n.call(e)):{}}}}),Le=t.__commonJS({"../../node_modules/lodash/_initCloneByTag.js"(e,o){var t=D(),r=qe(),a=Ke(),n=De(),s=L();o.exports=function(e,o,l){var i=e.constructor;switch(o){case"[object ArrayBuffer]":return t(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)}}}}),ze=t.__commonJS({"../../node_modules/lodash/_baseIsMap.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Map]"==r(e)}}}),Re=t.__commonJS({"../../node_modules/lodash/isMap.js"(e,t){var r=ze(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isMap,l=s?a(s):r;t.exports=l}}),Ye=t.__commonJS({"../../node_modules/lodash/_baseIsSet.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Set]"==r(e)}}}),Be=t.__commonJS({"../../node_modules/lodash/isSet.js"(e,t){var r=Ye(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isSet,l=s?a(s):r;t.exports=l}}),Xe=t.__commonJS({"../../node_modules/lodash/_baseClone.js"(e,t){var r=V(),a=je(),n=H(),s=$e(),l=Pe(),i=q(),u=z(),c=Ae(),p=Te(),f=Ee(),d=Me(),m=o.require_getTag(),v=Ne(),y=Le(),h=B(),b=o.require_isArray(),_=o.require_isBuffer(),g=Re(),w=o.require_isObject(),S=Be(),x=Se(),C=re(),j="[object Arguments]",$="[object Function]",P="[object Object]",k={};k[j]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[P]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[$]=k["[object WeakMap]"]=!1,t.exports=function e(o,t,W,O,A,J){var V,T=1&t,F=2&t,E=4&t;if(W&&(V=A?W(o,O,A,J):W(o)),void 0!==V)return V;if(!w(o))return o;var M=b(o);if(M){if(V=v(o),!T)return u(o,V)}else{var N=m(o),q=N==$||"[object GeneratorFunction]"==N;if(_(o))return i(o,T);if(N==P||N==j||q&&!A){if(V=F||q?{}:h(o),!T)return F?p(o,l(V,o)):c(o,s(V,o))}else{if(!k[N])return A?o:{};V=y(o,N,T)}}J||(J=new r);var K=J.get(o);if(K)return K;J.set(o,V),S(o)?o.forEach(function(r){V.add(e(r,t,W,r,o,J))}):g(o)&&o.forEach(function(r,a){V.set(a,e(r,t,W,a,o,J))});var D=M?void 0:(E?F?d:f:F?C:x)(o);return a(D||o,function(r,a){D&&(r=o[a=r]),n(V,a,e(r,t,W,a,o,J))}),V}}}),Ie=t.__commonJS({"../../node_modules/lodash/cloneDeep.js"(e,o){var t=Xe();o.exports=function(e){return t(e,5)}}}),Ue=t.__toESM(o.require_isFunction(),1),He=t.__toESM(a(),1),Ge=t.__toESM(he(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function Qe({variantKey:e,variantValue:o,layer:t,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${o}/${a}/${n}/${t}`:`${r}/${e}/${o}/${t}`:a&&n?`${e}/${o}/${a}/${n}/${t}`:`${e}/${o}/${t}`}var Ze=e=>e.reduce((e,o)=>e.flatMap(e=>o.map(o=>[e,o].flat())));function eo(o,t){const r=o.variants?.[t];if(r)return{type:"no-sub-components",variant:r};const a=uo(o);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e.mapValues(a,e=>e.variants[t])}}function oo(e,o,t){const r=e[o]?.defaults?.[t];if(void 0===r)throw new Error(`The variant default for "${t}" is not defined for the component "${o}"`);return r}var to=t.__toESM(Ce(),1);function ro(e,o,t){const r=eo(e,o);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!t)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[t]}}var ao=e=>!!e?.layers,no=e=>!!e?.componentStates;function so(e,o,t){const r=ro(e,o,t);return r&&no(r)?r?.componentStates??null:null}var lo=["rest"];var io=t.__toESM(Ce(),1);function uo(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}var co=t.__toESM(Ie(),1);function po(e,o,t,r,a){const n=e[t].variables[o];if(!n)throw new Error(`No layer variables found for ${o}.`);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 fo(e,o,t,r,a,n){const s=(0,co.default)(e),l=po(s,o,t,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}var mo={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},vo={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function yo(e,o){const t=e.defaults[o],r=e.typeOfFixture;let a=0;return e.values.forEach((e,o)=>{e.includes(t)&&(a=o)}),r[a]}function ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,He.default)(e)}-${(0,He.default)(n)}-${(0,He.default)(o)}`:`uds-${(0,He.default)(e)}-${(0,He.default)(o)}`,t&&(i=`${i}-${(0,He.default)(t)}`),s&&l&&(i=`${i}-${(0,He.default)(s)}-${(0,He.default)(l)}`),i=`${i}-${(0,He.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function bo({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:c,theme:p,currentStyles:f,previewOptions:d}){const m=Qe({variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});let v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});const y=i.variables[m][u];if(!y)throw"size/md/root"===m&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:m,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${m} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const h={};for(const m in y){const b=mo[m]??"";let _="";if("root"===r)if(s&&l){const a=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n});v=ho({componentName:e,variantKey:o,layer:r,subComponentName:n,stateKey:s,stateValue:l}),_=`.${a}${b}.${v}`}else _=`.${v}${b}`;else{const i=ho({componentName:e,variantKey:o,variantValue:t,layer:"root",subComponentName:n});if(s&&l){const u=ho({componentName:e,variantKey:o,layer:"root",subComponentName:n,stateKey:s,stateValue:l});v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),_=`.${i}${b}.${u} .${v}`}else _=`.${i}${b} .${v}`}const g=(e,o,t,r)=>{const{value:a,type:n}=e,s=Mo[o];let l;if(Mo[o].customValueRenderer)l=Mo[o].customValueRenderer(e,i,t);else{l=t(Mo[o].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:w,extendedProperties:S}=Mo[c.name],x={},C=(0,Ue.default)(S),j=C?S({componentName:e,subComponentName:n,layer:r,propertyKey:u}):S;if(j&&j.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 j){const o=Mo[e].cssProperties;if("string"==typeof o){const t=f?.[_]?.[o];x[o]=g(y[m],e,p,t)}else if(Array.isArray(o))for(const t of o){const o=f?.[_]?.[t];x[t]=g(y[m],e,p,o)}}}else if("string"==typeof w){const e=f?.[_]?.[w];x[w]=g(y[m],c.name,p,e)}else if(Array.isArray(w))for(const e of w){const o=f?.[_]?.[e];x[e]=g(y[m],c.name,p,o)}if(h[_]||(h[_]={...x,...h[_]}),d?.generatePseudoStateClassModifier){const e=vo[m]??"";e.length>0&&"root"!==m&&(h[`.${e}${_}`.replace(b,"")]={...x,...h[`.${e}${_}`.replace(b,"")]})}}return h}var _o=["none","custom"],go=["none","up","down"],wo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},So={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},xo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},Co={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function jo(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...Co}}function $o(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...Co}}function Po(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...Co}}var ko={fill:jo,outline:$o,ghost:Po},Wo={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:wo,base:jo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co}}}},accent:{primary:{kind:"fill",effect:wo,base:jo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co}}}},brand:{primary:{kind:"fill",effect:wo,base:jo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co}}}},alert:{primary:{kind:"fill",effect:wo,base:jo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co}}}},positive:{primary:{kind:"fill",effect:wo,base:jo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co}}}},warning:{primary:{kind:"fill",effect:wo,base:jo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co}}}}}},Oo="https://s.yimg.com/bw/fonts",Ao=["Helvetica Neue","Helvetica","Arial","sans-serif"],Jo=["Georgia","Times","Times New Roman","serif"],Vo={"centra-no2":{fallback:Ao,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('${Oo}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Oo}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Oo}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Oo}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Ao,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('${Oo}/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('${Oo}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Ao,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('${Oo}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Ao,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('${Oo}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Ao,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('${Oo}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Ao,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('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Ao,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('${Oo}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Jo,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('${Oo}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Jo,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('${Oo}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};var To={black:"0 0 0",white:"255 255 255"};function Fo({preset:e,prefix:o,shadowType:t}){const a=`--uds-${t}-shadow-`,n="palette"===e.color?.type,s="always"===e.color?.type;let l=`var(--uds-${n?"shadow":"spectrum"}-color-${e?.color?.value})`;s&&(l=To[e.color.value]);const i=`var(${a}${o?`${o}-`:""}color, ${l})`;return`${"inset"===t?"inset ":""}${[`${r.shadowOffsetMap[e.offsetX]}px`,`${r.shadowOffsetMap[e.offsetY]}px`,`${r.spacingMap[e.blur]}px`,`${r.shadowSpreadRadiusMap[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${i} / var(${a}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}var Eo=({componentName:e,layer:o,propertyKey:t})=>!("chip"!==e||"root"!==o||!["borderColor","borderWidth"].includes(t))||!("input"!==e||"inputWrapper"!==o||!["borderColor","borderWidth"].includes(t)),Mo={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,o)=>{if("spectrumColors"===e){const[e,t]=o.split("-");return`colors.${e}.${t}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${o}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Eo(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,o)=>`borderRadius.${o}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Eo(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,o)=>`typography.fontFamily.${o}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,o)=>`typography.fontSize.${o}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:o}=e;return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,o)=>`typography.lineHeight.${o}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,o)=>`typography.textTransform.${o}`,possibleFixtures:["textVariants"]},padding:{name:"padding",cssProperties:"padding",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},color:{name:"color",cssProperties:"color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`textColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,o)=>`typography.fontWeight.${o}`,possibleFixtures:["textVariants"]},iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,o)=>`sizing.icon.${o}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,o)=>`spacing[${o}]`,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 o="drop";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.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 o="inset";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,o)=>`height[${o}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,o)=>`width[${o}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:o},t,r)=>`calc(-1 * ${r("borderWidths"===o?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.FONT_DECLARATIONS_MAP=Vo,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.button=Wo,exports.cartesianProduct=Ze,exports.coalesceConfigVariant=eo,exports.configurableProperties=Mo,exports.createComponentStateConfig=function(e){return e},exports.createComponentStates=function(e){return e},exports.createConfigurableProperty=function(e){return e},exports.createLayerConfig=function(e){return e},exports.createSubComponentConfig=function(e){return e},exports.createVariantConfig=function(e){return e},exports.createVariantConfigWithComponentStates=function(e){return e},exports.createVariantConfigWithProperties=function(e){return e},exports.findFixtureType=yo,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},exports.fromEntries=function(e){return Object.fromEntries(e)},exports.generateClassName=ho,exports.generateDeclaration=bo,exports.generateKeyFromFlatConfigPath=function(e){let o=e;return o=o.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{o=o.replaceAll(e,"")}),o},exports.generateSchemaKey=Qe,exports.generateStyles=function(e,o,t,r){function a(e,o){return(0,Ge.default)({},e,o)}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 c=u[i];for(const u of c.options)for(const p in c.layers){const f=c.layers[p];for(const c in f.properties){const d=f.properties[c];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:p,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:c,originalPropertyDefinition:d,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const c=i.layers[u];for(const i in c.properties){const p=c.properties[i];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:i,originalPropertyDefinition:p,theme:t,schema:o,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 c=u.componentStates;for(const u in c){const p=c[u];for(const c of p.options)for(const f in p.layers){const d=p.layers[f];for(const p in d.properties){const m=d.properties[p];s=a(s,bo({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:c,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:p,originalPropertyDefinition:m,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const c in u.layers){const p=u.layers[c];for(const u in p.properties){const f=p.properties[u];s=a(s,bo({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}return s},exports.getConfigDefaultValue=oo,exports.getConfigPseudoStateVariables=po,exports.getConfigPseudoStateVariablesWithSetter=function(e,o,t,r,a){return[po(e,o,t,r,a),n=>fo(e,o,t,r,a,n)]},exports.getConfigSubcomponents=uo,exports.getConfigVariantComponentStates=so,exports.getConfigVariantComponentStatesMatrix=function(e,o,t){const r=so(e,o,t);return r?Ze((0,to.default)(r).map(([e,o])=>o.options.map(o=>({[e]:o})))).map(e=>Array.isArray(e)?e.reduce((e,o)=>({...e,...o}),{}):e):null},exports.getConfigVariantProperties=function(o){if(!o||!ao(o))return null;const t=e.mapValues(o.layers,e=>e.properties);for(const e in t){const o=t[e];o&&0!==Object.keys(o).length||delete t[e]}return 0===Object.keys(t).length?null:t},exports.getConfigVariantPseudoStates=function(e,o,t,r){const a=ro(e,o,r);return a?[...ao(a)?Object.entries(a?.layers??{}):[],...no(a)&&t?Object.entries(a.componentStates[t].layers??{}):[]].flatMap(([e,o])=>Object.entries(o.properties).map(([o,t])=>[e,o,t])).flatMap(([e,o,t])=>[...lo,...t.pseudoStates??[]].map(r=>[e,o,t,r])).reduce((e,[o,t,r,a])=>{e[a]=e[a]??[];const n=[o,t,r];return e[a].push(n),e},{}):null},exports.getConfigVariants=function(e,o="variant"){const t=eo(e,o);if("no-variants"===t.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===t.type){if(uo(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:t.variant.description,variantNames:[...t.variant.options]}}const r=(0,io.default)(t.variants).reduce((e,[o,t])=>{for(const r of t.options)e[r]??=[],e[r].includes(o)||e[r].push(o);return e},{});return{type:"has-sub-components",description:Object.values(t.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}},exports.getDefaultButtonBaseMap=ko,exports.getShadowLayerValue=Fo,exports.getShadowPresetValues=function({config:o,shadowType:t}){const r=o?.shadow?.[t];if(!r)return{};const a={};return e.entries(r).forEach(([e,o])=>{if("none"===e)return void(a[`--uds-${t}-shadow-${e}`]="0 0 transparent");const r=o.map((e,o)=>Fo({preset:e,prefix:o>0?`${o+1}`:void 0,shadowType:t}));a[`--uds-${t}-shadow-${e}`]=`${r.join(", ")}`}),a},exports.isConfigDefaultValue=function(e,o,t,r){return oo(e,o,t)===r},exports.parseButtonVariantFlat=function({palette:e="accent",variant:o="primary"}){return"accent"===e?o:"primary"===o?e:`${e}-${o}`},exports.parseDeprecatedButtonPaletteVariant=function({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[o,t]=e.split("-");return t?{palette:o,variant:t}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}},exports.setConfigPseudoStateVariable=fo,exports.shadow={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"}}]}},exports.statePseudoMapDocsMode=vo,exports.toMinimalDbConfigObject=function(e){const o={},t={};for(const o in e.variants){const r=e.variants[o];t[o]=r.default}o.defaults=t,o.variables={};for(const t in e.variants){const r=e.variants[t];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=Qe({variantKey:t,variantValue:e,stateKey:r,stateValue:a,layer:s});o.variables[i]={};for(const t in l.properties){const r=l.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[i]={...o.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=Qe({variantKey:t,variantValue:e,layer:a});o.variables[s]={};for(const t in n.properties){const r=n.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[s]={...o.variables[s],...a}}}}if(e.subComponents){const{subComponents:t}=e;for(const e in t)for(const r in t[e].variants){const a=t[e].variants[r];o.defaults[r]=a.default;for(const t 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=Qe({variantKey:r,variantValue:t,stateKey:a,stateValue:n,layer:l,subComponentName:e});o.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[u]={...o.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=Qe({variantKey:r,variantValue:t,layer:n,subComponentName:e});o.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[l]={...o.variables[l],...a}}}}}return o};
@@ -1 +1 @@
1
- "use strict";var o=require("./chunk-F7LPH2UL.cjs"),r=require("./chunk-JM4WTJDB.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:H,alignContent:I,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:P,spacing:D,spacingHorizontal:J,spacingVertical:L,spacingBottom:M,spacingEnd:X,spacingStart:Y,spacingTop:U,offset:A,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,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:H,alignContent:I,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:P,spacing:D,spacingHorizontal:J,spacingVertical:L,spacingBottom:M,spacingEnd:X,spacingStart:Y,spacingTop:U,offset:A,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,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-PHE2SHFZ.cjs"),r=require("./chunk-JNCCDUC5.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:C,borderStartWidth:T,borderEndWidth:H,borderTopWidth:W,borderBottomWidth:I,alignContent:B,alignItems:E,alignSelf:w,flex:V,flexDirection:j,flexGrow:y,flexShrink:R,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:N,overflowX:q,overflowY:F,position:P,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:J,spacingEnd:M,spacingStart:U,spacingTop:Z,offset:A,offsetVertical:K,offsetHorizontal:L,offsetBottom:O,offsetEnd:Q,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:C,borderStartWidth:T,borderEndWidth:H,borderTopWidth:W,borderBottomWidth:I,alignContent:B,alignItems:E,alignSelf:w,flex:V,flexDirection:j,flexGrow:y,flexShrink:R,flexWrap:v,justifyContent:z,flexBasis:k,display:G,overflow:N,overflowX:q,overflowY:F,position:P,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:J,spacingEnd:M,spacingStart:U,spacingTop:Z,offset:A,offsetVertical:K,offsetHorizontal:L,offsetBottom:O,offsetEnd:Q,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,2 +1,2 @@
1
- "use strict";var r=require("./chunk-JM4WTJDB.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:B,flexShrink:A,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:D,spacingEnd:N,spacingStart:J,spacingTop:X,offset:Y,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:B,flexShrink:A,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:D,spacingEnd:N,spacingStart:J,spacingTop:X,offset:Y,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-JXGXYM2J.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:X,spacingEnd:N,spacingStart:Y,spacingTop:D,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:X,spacingEnd:N,spacingStart:Y,spacingTop:D,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-NQ7BFO3S.cjs"),t=require("./chunk-CFZ3UOPU.cjs"),r=require("./chunk-J7PUOUXC.cjs"),n=require("./chunk-GQ27QLWT.cjs"),o=require("./chunk-3AYBRPUC.cjs"),a=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")),u=a.__commonJS({"../../node_modules/lodash/isString.js"(e,t){var r=n.require_baseGetTag(),o=n.require_isArray(),a=n.require_isObjectLike();t.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}}}),l=a.__toESM(u(),1),d=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var f=(e,t,r,n)=>{const o=e.typography[t]?.[r];if(!o)throw new Error(`Missing typography data for variant "${t}" and key "${r}"`);const a="base"===n?o.base:o.breakpoints?.[n];if(!a)throw new Error(`Missing value for variant "${t}", key "${r}", and breakpoint "${n}"`);if((0,l.default)(a))return a;switch(a.type){case"px":return a.value/16+"rem";case"unitless":return String(a.value)}return d()},_=(e,t)=>t in e.font?`var(--${o.FONT_FAMILY_PREFIX}-${t})`:t,p=(e,t)=>Object.fromEntries(s.textVariants.flatMap(r=>[[`--${o.FONT_FAMILY_PREFIX}-${r}`,_(e,f(e,r,"fontFamily",t))],[`--${o.FONT_SIZE_PREFIX}-${r}`,f(e,r,"fontSize",t)],[`--${o.FONT_WEIGHT_PREFIX}-${r}`,f(e,r,"fontWeight",t)],[`--${o.FONT_SLANT_PREFIX}-${r}`,f(e,r,"fontSlant",t)],[`--${o.FONT_WIDTH_PREFIX}-${r}`,f(e,r,"fontWidth",t)],[`--${o.LINE_HEIGHT_PREFIX}-${r}`,f(e,r,"lineHeight",t)],[`--${o.TEXT_TRANSFORM_PREFIX}-${r}`,f(e,r,"textTransform",t)]])),F=e=>Object.fromEntries(s.textVariants.map(t=>[t,`var(--${e}-${t})`])),E={fontFamily:F(o.FONT_FAMILY_PREFIX),fontWeight:F(o.FONT_WEIGHT_PREFIX),fontSlant:F(o.FONT_SLANT_PREFIX),fontWidth:F(o.FONT_WIDTH_PREFIX),fontSize:F(o.FONT_SIZE_PREFIX),lineHeight:F(o.LINE_HEIGHT_PREFIX),textTransform:F(o.TEXT_TRANSFORM_PREFIX)};function S(e,t){const r=h(e);for(const e of r)t({"@font-face":e})}var g=c.default.withOptions(function({fontIds:e}){return function({addBase:t}){S(e,t)}});function h(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 m(e){return`"${e}"`}function x(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.RESPONSIVE_TAILWIND_CONFIG_MAP=E,exports.addFontFaceDeclarations=S,exports.addFontsPlugin=g,exports.assertUnreachable=d,exports.getBaseTextStyles=e=>({":root":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=h,exports.getFontStyles=function(e){return t.fromEntries(r.entries(e).map(([e,r])=>{const n=`--${o.FONT_FAMILY_PREFIX}-${e}`,a=t.FONT_DECLARATIONS_MAP[r];return[n,[a.fontFamily,...a.fallback].map(m).join(", ")]}))},exports.getMotionStyles=function(n){const o=r.entries(n).flatMap(([t,n])=>r.entries(n).flatMap(([r,n])=>s.motionSpringConfigOptions.map(o=>[e.getMotionVar({variant:t,speed:r,control:o}),`${n[o]}`])));return t.fromEntries(o)},exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${o.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:r}])=>[`@media (min-width: ${r}px)`,p(e,t)])),".uds-text-base":p(e,"base"),...Object.fromEntries(t.map(([t])=>[`.uds-text-${t}`,p(e,t)]))}},exports.getScaleModeStyles=function(e){return{xSmall:x(e.scaleMode.xSmall),small:x(e.scaleMode.small),medium:x(e.scaleMode.medium),large:x(e.scaleMode.large),xLarge:x(e.scaleMode.xLarge),xxLarge:x(e.scaleMode.xxLarge),xxxLarge:x(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:n}){const a=e.shadow[n],s=r.entries(a).map(([e])=>[`.uds-${n}-shadow-${e}`,{[`--uds-${n}-shadow`]:`var(--${o.UDS_PREFIX}-${n}-shadow-${e})`,boxShadow:`var(--${o.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${o.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=u;
@@ -1 +1 @@
1
- "use strict";var e=require("./chunk-F7LPH2UL.cjs"),r=require("./chunk-JM4WTJDB.cjs"),t=require("react"),i=require("react/jsx-runtime"),a={horizontal:"w-full",vertical:""},o=t.forwardRef(function({vertical:o=!1,contentPosition:l="center",className:n,layerClassNames:s,children:c,...d},x){const h=o?"vertical":"horizontal",m=o?e.VStack:e.HStack,f=t.useMemo(()=>({root:r.cx(a[h],n,s?.root),label:r.cx(s?.text),line:s?.line}),[n,h,s?.root,s?.text,s?.line]),u=t.useMemo(()=>"vertical"===h?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[h]),v=()=>i.jsx(r.Box,{flex:"1",className:f.line,style:u});return c?i.jsxs(m,{flex:"1",alignItems:"center",className:f.root,ref:x,...d,children:["start"!==l&&i.jsx(v,{}),i.jsx(r.Box,{flex:"none",children:i.jsx(r.Text,{color:"inherit",variant:"inherit",className:f.label,children:c})}),"end"!==l&&i.jsx(v,{})]}):i.jsx(r.Box,{display:"flex",flex:"none",className:f.root,ref:x,...d,children:i.jsx(v,{})})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="DividerCore";var l=t.forwardRef(function({variant:e="primary",layerClassNames:a,...l},n){const s=t.useMemo(()=>({root:r.cx("inherit"!==e&&r.getStyles({dividerVariantRoot:e}),a?.root),text:r.cx("inherit"!==e?r.getStyles({dividerVariantLabel:e}):void 0,a?.text),line:r.cx("inherit"!==e&&r.getStyles({dividerVariantLine:e}),a?.line)}),[a?.line,a?.root,a?.text,e]);return i.jsx(o,{ref:n,layerClassNames:s,...l})});l.displayName="DividerInternal",exports.DividerInternal=l;
1
+ "use strict";var e=require("./chunk-PHE2SHFZ.cjs"),r=require("./chunk-JNCCDUC5.cjs"),t=require("react"),i=require("react/jsx-runtime"),a={horizontal:"w-full",vertical:""},o=t.forwardRef(function({vertical:o=!1,contentPosition:l="center",className:n,layerClassNames:s,children:c,...d},x){const h=o?"vertical":"horizontal",m=o?e.VStack:e.HStack,f=t.useMemo(()=>({root:r.cx(a[h],n,s?.root),label:r.cx(s?.text),line:s?.line}),[n,h,s?.root,s?.text,s?.line]),u=t.useMemo(()=>"vertical"===h?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[h]),v=()=>i.jsx(r.Box,{flex:"1",className:f.line,style:u});return c?i.jsxs(m,{flex:"1",alignItems:"center",className:f.root,ref:x,...d,children:["start"!==l&&i.jsx(v,{}),i.jsx(r.Box,{flex:"none",children:i.jsx(r.Text,{color:"inherit",variant:"inherit",className:f.label,children:c})}),"end"!==l&&i.jsx(v,{})]}):i.jsx(r.Box,{display:"flex",flex:"none",className:f.root,ref:x,...d,children:i.jsx(v,{})})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="DividerCore";var l=t.forwardRef(function({variant:e="primary",layerClassNames:a,...l},n){const s=t.useMemo(()=>({root:r.cx("inherit"!==e&&r.getStyles({dividerVariantRoot:e}),a?.root),text:r.cx("inherit"!==e?r.getStyles({dividerVariantLabel:e}):void 0,a?.text),line:r.cx("inherit"!==e&&r.getStyles({dividerVariantLine:e}),a?.line)}),[a?.line,a?.root,a?.text,e]);return i.jsx(o,{ref:n,layerClassNames:s,...l})});l.displayName="DividerInternal",exports.DividerInternal=l;
@@ -1 +1 @@
1
- "use strict";var r=require("./chunk-JM4WTJDB.cjs"),e=require("./chunk-GJLQAO4M.cjs"),i=require("./chunk-QLXJH36U.cjs"),a=require("react/jsx-runtime"),s=i.__toESM(e.require_isFunction(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.FormLabel=({htmlFor:e,required:i,label:t,children:c,color:l="muted",variant:n="label3",hasError:u=!1,showRequiredAsterisk:o=!1,as:h="label",className:d,...m})=>{const q=t?(0,s.default)(t)?t():t:c;return q?a.jsxs(r.Text,{variant:n,color:l,as:h,htmlFor:e,className:r.cx("cursor-[inherit]",d),...m,children:[q,i&&o&&a.jsx(r.Text,{as:"sup",color:u?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};
1
+ "use strict";var r=require("./chunk-JXGXYM2J.cjs"),e=require("./chunk-EQ45R5CT.cjs"),i=require("./chunk-QLXJH36U.cjs"),a=require("react/jsx-runtime"),s=i.__toESM(e.require_isFunction(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.FormLabel=({htmlFor:e,required:i,label:t,children:c,color:l="muted",variant:n="label3",hasError:u=!1,showRequiredAsterisk:o=!1,as:h="label",className:d,...m})=>{const q=t?(0,s.default)(t)?t():t:c;return q?a.jsxs(r.Text,{variant:n,color:l,as:h,htmlFor:e,className:r.cx("cursor-[inherit]",d),...m,children:[q,i&&o&&a.jsx(r.Text,{as:"sup",color:u?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use strict";var e=require("../chunk-PNL4K4BQ.cjs"),r=require("../chunk-4A2ZIK3D.cjs"),t=require("../chunk-F7LPH2UL.cjs"),a=require("../chunk-NYCASMFK.cjs"),d=require("../chunk-JM4WTJDB.cjs"),s=require("../chunk-QLXJH36U.cjs"),n=require("@ariakit/react/menu"),i=require("react"),c=require("use-sync-external-store/shim/index.js"),o=require("@yahoo/uds/fixtures"),u=require("motion/react"),l=require("react/jsx-runtime"),x=require("@ariakit/react");function m(e){return e&&e.__esModule?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var b=p(i),f=m(c);function h(e){return e}function _(e,r){const t=e.__unstableInternals;return function(e,r){if(!e)throw new Error(r)}(t,"Invalid store"),t[r]}var{useSyncExternalStore:v}=f.default;function g(e,r=h){const t=b.useCallback(r=>e?function(e,...r){if(e)return _(e,"subscribe")(...r)}(e,null,r):()=>{},[e]),a=()=>{const t="string"==typeof r?r:null,a="function"==typeof r?r:null,d=null==e?void 0:e.getState();if(a)return a(d);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
3
- var s,n;if(d&&(t&&(s=d,n=t,"function"==typeof Object.hasOwn?Object.hasOwn(s,n):Object.prototype.hasOwnProperty.call(s,n))))return d[t]};return v(t,a,a)}var y=u.m.create(t.VStack),I=5,S=.97,C={top:{x:0,y:I},bottom:{x:0,y:-5},left:{x:I,y:0},right:{x:-5,y:0}},w=e=>i.useMemo(()=>((e="bottom")=>{const[r="top"]=e?.split("-");return{closed:{...C[r],opacity:0,scale:S},open:{y:0,x:0,opacity:1,scale:1}}})(e),[e]),j=i.forwardRef(function({gap:e,spacing:r,spacingBottom:t,spacingEnd:a,spacingStart:s,spacingTop:c,gutter:x="1",backgroundColor:m="primary",borderRadius:p="md",borderColor:b,borderWidth:f="thin",overflow:h,dropShadow:_="lg",className:v,sameWidth:I,focusable:S,children:C,portalElement:j,portal:k=!0,disableAutoBorderRadius:N,...M},V){const E=n.useMenuContext(),P=g(E,"open"),R=g(E,"mounted"),O=g(E,"currentPlacement"),A=g(E,"placement"),[q,z]=i.useState(O),[T,B]=i.useState(O);i.useEffect(()=>{A!==T&&B(A)},[A]),i.useEffect(()=>{O!==T&&B(O)},[O]),i.useEffect(()=>{R&&T!==q&&z(T)},[R,T,q]);const D=i.useMemo(()=>P&&R?"open":"closed",[P,R]),H=i.useMemo(()=>P?_:"none",[P,_]),L=w(T),F=(({borderRadius:e,spacing:r})=>{if(void 0===r||"0"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xs)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xs)_-_var(--uds-border-width-thin))]";case"sm":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-sm)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-sm)_-_var(--uds-border-width-thin))]";case"md":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-md)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-md)_-_var(--uds-border-width-thin))]";case"lg":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-lg)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-lg)_-_var(--uds-border-width-thin))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_var(--uds-border-width-thin))]"}if("px"===r||"0.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_2px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_2px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_2px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_2px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_2px))]";case"xl":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-xl)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-xl)_-_2px))]"}if("1"===r||"1.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_4px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_4px)] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_4px)]"}if("2"===r||"2.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_8px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_8px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_8px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_8px))]";case"md":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-md)_-_8px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-md)_-_8px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-lg)_-_8px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-lg)_-_8px))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_8px)] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_8px)]"}if("3"===r||"3.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-xs)_-_6px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-xs)_-_6px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-sm)_-_6px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-sm)_-_6px))]";case"md":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-md)_-_6px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-md)_-_6px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-lg)_-_6px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-lg)_-_6px))]";case"xl":return"[&>*:first-child]:rounded-t-[min(20px,calc(var(--uds-border-radius-xl)_-_6px))] [&>*:last-child]:rounded-b-[min(20px,calc(var(--uds-border-radius-xl)_-_6px))]"}if("4"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_16px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_16px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_16px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_16px))]";case"md":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-md)_-_16px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-md)_-_16px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-lg)_-_16px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-lg)_-_16px))]";case"xl":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-xl)_-_16px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-xl)_-_16px))]"}switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_4px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))]";case"xl":return"[&>*:first-child]:rounded-t-[min(18px,calc(var(--uds-border-radius-xl)_-_4px))] [&>*:last-child]:rounded-b-[min(18px,calc(var(--uds-border-radius-xl)_-_4px))]"}})({borderRadius:p,spacing:r}),W=i.useMemo(()=>o.spacingMap[x],[x]);return l.jsx(u.AnimatePresence,{initial:!1,children:l.jsx(n.Menu,{gutter:W,sameWidth:I,focusable:S,store:E,ref:V,portalElement:j,portal:k,...M,render:l.jsx(y,{backgroundColor:m,gap:e,spacing:r,spacingBottom:t,spacingEnd:a,spacingStart:s,spacingTop:c,borderRadius:p,borderColor:b,borderWidth:f,overflow:h,animate:D,variants:L,dropShadow:H,className:d.cx("uds-menu-content","transition-shadow","duration-200","ease-in-out","min-w-60","max-w-lg","max-h-96","overflow-auto","uds-ring","z-10","group",!N&&F,v),children:C})})})}),k=i.forwardRef(function({role:r="separator",contentPosition:t="start",gap:a="4",children:s,spacingVertical:n=(s?"2":"0"),spacingHorizontal:i=(s?"4":"0"),className:c,...o},u){const x={root:d.getStyles({menuDividerVariantRoot:"default",className:c}),text:d.getStyles({menuDividerVariantText:"default"}),line:d.getStyles({menuDividerVariantLine:"default"})};return l.jsx(e.DividerInternal,{ref:u,role:r,variant:"inherit",contentPosition:t,gap:a,spacingVertical:n,spacingHorizontal:i,className:x.root,layerClassNames:x,...o,children:s})});k.displayName="MenuDivider";var N={};s.__export(N,{Content:()=>j,Divider:()=>k,Item:()=>P,ItemCheckbox:()=>R,Provider:()=>q,Trigger:()=>z,useMenuContext:()=>n.useMenuContext,useMenuStore:()=>n.useMenuStore,useStoreState:()=>x.useStoreState});var M="uds-menu-item",V={visible:{scale:1,opacity:1},hidden:{scale:.7,opacity:0}},E=i.forwardRef(function({spacing:e="0",spacingBottom:a,spacingEnd:s,spacingHorizontal:n="4",spacingStart:c,spacingTop:o,spacingVertical:x="3.5",columnGap:m="2",className:p,children:b,endIcon:f,startIcon:h,hideEndIcon:_,active:v,disabled:g,as:y,rootProps:I,name:S,alignItems:C="center",justifyContent:w="space-between",layerClassNames:j,...k},N){const E=i.Children.count(b)>1,P=(({active:e,disabled:r,className:t})=>d.cx(M,"focus-visible:text-brand","focus-visible:bg-brand-secondary","focus-visible:z-10","uds-ring","!-outline-offset-2",e&&["[&:not([aria-checked])]:cursor-default"],r&&"opacity-25 cursor-not-allowed","duration-20 transition-[font-variation-settings] ease-in-out","z-0",t))({active:v,disabled:g,className:p}),R=d.getStyles({className:d.cx(`${M}-content truncate`,j?.text),textAlign:"start",...E&&{columnGap:m,display:"flex",alignItems:"center",width:"full",justifyContent:"space-between"}}),O=i.useMemo(()=>({root:d.getStyles({menuSizeRoot:"default",className:d.cx(j?.root,P)}),startIcon:d.getStyles({menuSizeStartIcon:"default",className:j?.startIcon}),endIcon:d.getStyles({menuSizeEndIcon:"default",className:j?.endIcon})}),[j,P]);return l.jsx(d.Box,{asChild:!0,spacing:e,spacingBottom:a,spacingEnd:s,spacingHorizontal:n,spacingStart:c,spacingTop:o,spacingVertical:x,columnGap:m,className:O.root,alignItems:C,justifyContent:w,children:l.jsxs(y,{render:l.jsx(r.Pressable,{ref:N,...k}),name:S??"",disabled:g,...I,children:[l.jsxs(t.HStack,{gap:m,alignItems:"center",width:"full",children:[l.jsx(u.AnimatePresence,{initial:!1,children:h&&l.jsx(u.m.span,{variants:V,initial:"hidden",animate:"visible",exit:"hidden",className:"uds-start-icon",children:l.jsx(d.IconSlot,{icon:h,className:O.startIcon,iconProps:{size:"sm",variant:v?"fill":"outline",color:"current"}})})}),l.jsx("span",{className:R,children:b})]}),l.jsx(u.AnimatePresence,{initial:!1,mode:"popLayout",children:!_&&f&&l.jsx(u.m.span,{variants:V,initial:"hidden",animate:"visible",exit:"hidden",className:"uds-end-icon",children:l.jsx(d.IconSlot,{icon:f,className:O.endIcon,iconProps:{size:"sm",variant:v?"fill":"outline",color:"current"}})})})]})})}),P=i.forwardRef(function({active:e,hideOnClick:r,...t},a){const s={root:d.getStyles({menuItemVariantRoot:"default",menuItemVariantActiveRoot:e?"on":"off"}),text:d.getStyles({menuItemVariantText:"default",menuItemVariantActiveText:e?"on":"off"}),startIcon:d.getStyles({menuItemVariantIcon:"default",menuItemVariantActiveIcon:e?"on":"off"})};return l.jsx(E,{ref:a,as:n.MenuItem,active:e,layerClassNames:s,rootProps:{hideOnClick:r},...t})});P.displayName="MenuItem";var R=i.forwardRef(function({name:e,endIcon:t=r.e,checked:a,defaultChecked:s,hideOnClick:c,className:o,...u},m){const p=e,b=i.useRef(!1),f=n.useMenuContext(),h=x.useStoreState(f);i.useEffect(()=>{!b.current&&void 0!==s&&f&&(f.setValues(e=>({...e,[p]:s})),b.current=!0)},[f,s,p]);const _=i.useMemo(()=>{if(void 0!==a)return a;if(h?.items?.length){const e=h?.items.find(e=>e.element?.name===p);if(e?.element)return e.element.checked}const e=h?.values[p];return"boolean"==typeof e?e:s??!1},[h?.items,h?.values,p,a,s]),v=i.useCallback(e=>{void 0===a&&f?.setValues(r=>({...r,[p]:e.target.checked}))},[p,f,a]),g={root:d.getStyles({menuItemCheckboxVariantRoot:"default",menuItemCheckboxVariantActiveRoot:_?"on":"off"}),text:d.getStyles({menuItemCheckboxVariantText:"default",menuItemCheckboxVariantActiveText:_?"on":"off"}),startIcon:d.getStyles({menuItemCheckboxVariantStartIcon:"default",menuItemCheckboxVariantActiveStartIcon:_?"on":"off"}),endIcon:d.getStyles({menuItemCheckboxVariantEndIcon:"default",menuItemCheckboxVariantActiveEndIcon:_?"on":"off"})};return l.jsx(E,{ref:m,as:n.MenuItemCheckbox,hideEndIcon:!_,endIcon:t,active:_,className:d.cx("uds-menu-item-checkbox",o),layerClassNames:g,rootProps:{name:e,onChange:v,defaultChecked:s,checked:void 0!==a?a:void 0,hideOnClick:c},...u})});R.displayName="MenuItemCheckbox";var O=()=>{if("undefined"==typeof document)return!1;return"rtl"===getComputedStyle(document.documentElement).direction},A=e=>{const[r,t]=i.useState(O);return i.useEffect(()=>{if(e?.explicit)return void t(e.explicit);const r=(e=>{const r=new MutationObserver(r=>{r.some(e=>"attributes"===e.type&&"dir"===e.attributeName)&&e()});return r.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),r})(()=>{t(O())});return()=>r.disconnect()},[e?.explicit]),r},q=function({placement:e="bottom",rtl:r,...t}){const d=A({explicit:r}),s=((e,r)=>{const t=r?.rtl;if("start"===e)return t?"right":"left";if("end"===e)return t?"left":"right";if(e?.includes("-")){const[r,a]=e.split("-");if(!("start"!==r&&"end"!==r||"top"!==a&&"bottom"!==a))return`${"start"===r?t?"right":"left":t?"left":"right"}-${"bottom"===a?"end":"start"}`;if("top"===r||"bottom"===r)return`${r}-${"start"===a?t?"end":"start":t?"start":"end"}`}return e})(e,{rtl:d});return l.jsx(a.SpringMotionConfig,{children:l.jsx(n.MenuProvider,{placement:s,rtl:d,...t})})},z=i.forwardRef(function({asChild:e,children:r,className:t,...a},s){const c=i.useRef(null),o=e?{render:l.jsx(d.Box,{asChild:!0,ref:c,className:"uds-ring h-fit w-fit",children:r})}:{children:r},u=i.useCallback(()=>{const e=c.current?.firstChild;e instanceof HTMLElement&&"function"==typeof e.focus&&e.focus()},[c]);return l.jsx(n.MenuButton,{onFocus:u,onFocusVisible:u,ref:s,className:d.cx("uds-menu-trigger",t),...o,...a})});exports.Menu=N;
2
+ "use strict";var e=require("../chunk-XUE7PBWU.cjs"),r=require("../chunk-266TEOBW.cjs"),t=require("../chunk-PHE2SHFZ.cjs"),a=require("../chunk-NYCASMFK.cjs"),d=require("../chunk-JNCCDUC5.cjs"),s=require("../chunk-QLXJH36U.cjs"),n=require("@ariakit/react/menu"),i=require("react"),c=require("use-sync-external-store/shim/index.js"),o=require("@yahoo/uds/fixtures"),u=require("motion/react"),l=require("react/jsx-runtime"),x=require("@ariakit/react");function m(e){return e&&e.__esModule?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var b=p(i),f=m(c);function h(e){return e}function _(e,r){const t=e.__unstableInternals;return function(e,r){if(!e)throw new Error(r)}(t,"Invalid store"),t[r]}var{useSyncExternalStore:v}=f.default;function g(e,r=h){const t=b.useCallback(r=>e?function(e,...r){if(e)return _(e,"subscribe")(...r)}(e,null,r):()=>{},[e]),a=()=>{const t="string"==typeof r?r:null,a="function"==typeof r?r:null,d=null==e?void 0:e.getState();if(a)return a(d);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
3
+ var s,n;if(d&&(t&&(s=d,n=t,"function"==typeof Object.hasOwn?Object.hasOwn(s,n):Object.prototype.hasOwnProperty.call(s,n))))return d[t]};return v(t,a,a)}var y=u.m.create(t.VStack),I=5,C=.97,S={top:{x:0,y:I},bottom:{x:0,y:-5},left:{x:I,y:0},right:{x:-5,y:0}},w=e=>i.useMemo(()=>((e="bottom")=>{const[r="top"]=e?.split("-");return{closed:{...S[r],opacity:0,scale:C},open:{y:0,x:0,opacity:1,scale:1}}})(e),[e]),j=i.forwardRef(function({gap:e,spacing:r,spacingBottom:t,spacingEnd:a,spacingStart:s,spacingTop:c,gutter:x="1",backgroundColor:m="primary",borderRadius:p="md",borderColor:b,borderWidth:f="thin",overflow:h,dropShadow:_="lg",className:v,sameWidth:I,focusable:C,children:S,portalElement:j,portal:k=!0,disableAutoBorderRadius:N,...M},E){const V=n.useMenuContext(),P=g(V,"open"),R=g(V,"mounted"),O=g(V,"currentPlacement"),q=g(V,"placement"),[z,A]=i.useState(O),[T,B]=i.useState(O);i.useEffect(()=>{q!==T&&B(q)},[q]),i.useEffect(()=>{O!==T&&B(O)},[O]),i.useEffect(()=>{R&&T!==z&&A(T)},[R,T,z]);const H=i.useMemo(()=>P&&R?"open":"closed",[P,R]),D=i.useMemo(()=>P?_:"none",[P,_]),W=w(T),F=(({borderRadius:e,spacing:r})=>{if(void 0===r||"0"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xs)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xs)_-_var(--uds-border-width-thin))]";case"sm":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-sm)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-sm)_-_var(--uds-border-width-thin))]";case"md":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-md)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-md)_-_var(--uds-border-width-thin))]";case"lg":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-lg)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-lg)_-_var(--uds-border-width-thin))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_var(--uds-border-width-thin))] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_var(--uds-border-width-thin))]"}if("px"===r||"0.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_2px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_2px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_2px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_2px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_2px))]";case"xl":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-xl)_-_2px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-xl)_-_2px))]"}if("1"===r||"1.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_4px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_4px)] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_4px)]"}if("2"===r||"2.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_8px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_8px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_8px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_8px))]";case"md":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-md)_-_8px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-md)_-_8px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-lg)_-_8px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-lg)_-_8px))]";case"xl":return"[&>*:first-child]:rounded-t-[calc(var(--uds-border-radius-xl)_-_8px)] [&>*:last-child]:rounded-b-[calc(var(--uds-border-radius-xl)_-_8px)]"}if("3"===r||"3.5"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-xs)_-_6px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-xs)_-_6px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-sm)_-_6px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-sm)_-_6px))]";case"md":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-md)_-_6px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-md)_-_6px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-lg)_-_6px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-lg)_-_6px))]";case"xl":return"[&>*:first-child]:rounded-t-[min(20px,calc(var(--uds-border-radius-xl)_-_6px))] [&>*:last-child]:rounded-b-[min(20px,calc(var(--uds-border-radius-xl)_-_6px))]"}if("4"===r)switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_16px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_16px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_16px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_16px))]";case"md":return"[&>*:first-child]:rounded-t-[max(4px,calc(var(--uds-border-radius-md)_-_16px))] [&>*:last-child]:rounded-b-[max(4px,calc(var(--uds-border-radius-md)_-_16px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-lg)_-_16px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-lg)_-_16px))]";case"xl":return"[&>*:first-child]:rounded-t-[max(6px,calc(var(--uds-border-radius-xl)_-_16px))] [&>*:last-child]:rounded-b-[max(6px,calc(var(--uds-border-radius-xl)_-_16px))]"}switch(e){case"xs":return"[&>*:first-child]:rounded-t-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))] [&>*:last-child]:rounded-b-[max(1px,calc(var(--uds-border-radius-xs)_-_4px))]";case"sm":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-sm)_-_4px))]";case"md":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-md)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-md)_-_4px))]";case"lg":return"[&>*:first-child]:rounded-t-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))] [&>*:last-child]:rounded-b-[max(2px,calc(var(--uds-border-radius-lg)_-_4px))]";case"xl":return"[&>*:first-child]:rounded-t-[min(18px,calc(var(--uds-border-radius-xl)_-_4px))] [&>*:last-child]:rounded-b-[min(18px,calc(var(--uds-border-radius-xl)_-_4px))]"}})({borderRadius:p,spacing:r}),$=i.useMemo(()=>o.spacingMap[x],[x]);return l.jsx(u.AnimatePresence,{initial:!1,children:l.jsx(n.Menu,{gutter:$,sameWidth:I,focusable:C,store:V,ref:E,portalElement:j,portal:k,...M,render:l.jsx(y,{backgroundColor:m,gap:e,spacing:r,spacingBottom:t,spacingEnd:a,spacingStart:s,spacingTop:c,borderRadius:p,borderColor:b,borderWidth:f,overflow:h,animate:H,variants:W,dropShadow:D,className:d.cx("uds-menu-content","transition-shadow","duration-200","ease-in-out","min-w-60","max-w-lg","max-h-96","overflow-auto","uds-ring","z-10","group",!N&&F,v),children:S})})})}),k=i.forwardRef(function({role:r="separator",contentPosition:t="start",gap:a="4",children:s,spacingVertical:n=(s?"2":"0"),spacingHorizontal:i=(s?"4":"0"),className:c,...o},u){const x={root:d.getStyles({menuDividerVariantRoot:"default",className:c}),text:d.getStyles({menuDividerVariantText:"default"}),line:d.getStyles({menuDividerVariantLine:"default"})};return l.jsx(e.DividerInternal,{ref:u,role:r,variant:"inherit",contentPosition:t,gap:a,spacingVertical:n,spacingHorizontal:i,className:x.root,layerClassNames:x,...o,children:s})});k.displayName="MenuDivider";var N={};s.__export(N,{Content:()=>j,Divider:()=>k,Item:()=>P,ItemCheckbox:()=>R,Provider:()=>z,Trigger:()=>A,useMenuContext:()=>n.useMenuContext,useMenuStore:()=>n.useMenuStore,useStoreState:()=>x.useStoreState});var M="uds-menu-item",E={visible:{scale:1,opacity:1},hidden:{scale:.7,opacity:0}},V=i.forwardRef(function({spacing:e="0",spacingBottom:a,spacingEnd:s,spacingHorizontal:n="4",spacingStart:c,spacingTop:o,spacingVertical:x="3.5",columnGap:m="2",className:p,children:b,endIcon:f,startIcon:h,hideEndIcon:_,active:v,disabled:g,as:y,rootProps:I,name:C,alignItems:S="center",justifyContent:w="space-between",layerClassNames:j,...k},N){const V=i.Children.count(b)>1,P=(({active:e,disabled:r,className:t})=>d.cx(M,"focus-visible:text-brand","focus-visible:bg-brand-secondary","focus-visible:z-10","uds-ring","!-outline-offset-2",e&&["[&:not([aria-checked])]:cursor-default"],r&&"opacity-25 cursor-not-allowed","duration-20 transition-[font-variation-settings] ease-in-out","z-0",t))({active:v,disabled:g,className:p}),R=d.getStyles({className:d.cx(`${M}-content truncate`,j?.text),textAlign:"start",...V&&{columnGap:m,display:"flex",alignItems:"center",width:"full",justifyContent:"space-between"}}),O=i.useMemo(()=>({root:d.getStyles({menuSizeRoot:"default",className:d.cx(j?.root,P)}),startIcon:d.getStyles({menuSizeStartIcon:"default",className:j?.startIcon}),endIcon:d.getStyles({menuSizeEndIcon:"default",className:j?.endIcon})}),[j,P]);return l.jsx(d.Box,{asChild:!0,spacing:e,spacingBottom:a,spacingEnd:s,spacingHorizontal:n,spacingStart:c,spacingTop:o,spacingVertical:x,columnGap:m,className:O.root,alignItems:S,justifyContent:w,children:l.jsxs(y,{render:l.jsx(r.Pressable,{ref:N,...k}),name:C??"",disabled:g,...I,children:[l.jsxs(t.HStack,{gap:m,alignItems:"center",width:"full",children:[l.jsx(u.AnimatePresence,{initial:!1,children:h&&l.jsx(u.m.span,{variants:E,initial:"hidden",animate:"visible",exit:"hidden",className:"uds-start-icon",children:l.jsx(d.IconSlot,{icon:h,className:O.startIcon,iconProps:{size:"sm",variant:v?"fill":"outline",color:"current"}})})}),l.jsx("span",{className:R,children:b})]}),l.jsx(u.AnimatePresence,{initial:!1,mode:"popLayout",children:!_&&f&&l.jsx(u.m.span,{variants:E,initial:"hidden",animate:"visible",exit:"hidden",className:"uds-end-icon",children:l.jsx(d.IconSlot,{icon:f,className:O.endIcon,iconProps:{size:"sm",variant:v?"fill":"outline",color:"current"}})})})]})})}),P=i.forwardRef(function({active:e,hideOnClick:r,...t},a){const s={root:d.getStyles({menuItemVariantRoot:"default",menuItemVariantActiveRoot:e?"on":"off"}),text:d.getStyles({menuItemVariantText:"default",menuItemVariantActiveText:e?"on":"off"}),startIcon:d.getStyles({menuItemVariantIcon:"default",menuItemVariantActiveIcon:e?"on":"off"})};return l.jsx(V,{ref:a,as:n.MenuItem,active:e,layerClassNames:s,rootProps:{hideOnClick:r},...t})});P.displayName="MenuItem";var R=i.forwardRef(function({name:e,endIcon:t=r.e,checked:a,defaultChecked:s,hideOnClick:c,className:o,...u},m){const p=e,b=i.useRef(!1),f=n.useMenuContext(),h=x.useStoreState(f);i.useEffect(()=>{!b.current&&void 0!==s&&f&&(f.setValues(e=>({...e,[p]:s})),b.current=!0)},[f,s,p]);const _=i.useMemo(()=>{if(void 0!==a)return a;if(h?.items?.length){const e=h?.items.find(e=>e.element?.name===p);if(e?.element)return e.element.checked}const e=h?.values[p];return"boolean"==typeof e?e:s??!1},[h?.items,h?.values,p,a,s]),v=i.useCallback(e=>{void 0===a&&f?.setValues(r=>({...r,[p]:e.target.checked}))},[p,f,a]),g={root:d.getStyles({menuItemCheckboxVariantRoot:"default",menuItemCheckboxVariantActiveRoot:_?"on":"off"}),text:d.getStyles({menuItemCheckboxVariantText:"default",menuItemCheckboxVariantActiveText:_?"on":"off"}),startIcon:d.getStyles({menuItemCheckboxVariantStartIcon:"default",menuItemCheckboxVariantActiveStartIcon:_?"on":"off"}),endIcon:d.getStyles({menuItemCheckboxVariantEndIcon:"default",menuItemCheckboxVariantActiveEndIcon:_?"on":"off"})};return l.jsx(V,{ref:m,as:n.MenuItemCheckbox,hideEndIcon:!_,endIcon:t,active:_,className:d.cx("uds-menu-item-checkbox",o),layerClassNames:g,rootProps:{name:e,onChange:v,defaultChecked:s,checked:void 0!==a?a:void 0,hideOnClick:c},...u})});R.displayName="MenuItemCheckbox";var O=()=>{if("undefined"==typeof document)return!1;return"rtl"===getComputedStyle(document.documentElement).direction},q=e=>{const[r,t]=i.useState(O);return i.useEffect(()=>{if(e?.explicit)return void t(e.explicit);const r=(e=>{const r=new MutationObserver(r=>{r.some(e=>"attributes"===e.type&&"dir"===e.attributeName)&&e()});return r.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),r})(()=>{t(O())});return()=>r.disconnect()},[e?.explicit]),r},z=function({placement:e="bottom",rtl:r,...t}){const d=q({explicit:r}),s=((e,r)=>{const t=r?.rtl;if("start"===e)return t?"right":"left";if("end"===e)return t?"left":"right";if(e?.includes("-")){const[r,a]=e.split("-");if(!("start"!==r&&"end"!==r||"top"!==a&&"bottom"!==a))return`${"start"===r?t?"right":"left":t?"left":"right"}-${"bottom"===a?"end":"start"}`;if("top"===r||"bottom"===r)return`${r}-${"start"===a?t?"end":"start":t?"start":"end"}`}return e})(e,{rtl:d});return l.jsx(a.SpringMotionConfig,{children:l.jsx(n.MenuProvider,{placement:s,rtl:d,...t})})},A=i.forwardRef(function({asChild:e,children:r,className:t,...a},s){const c=i.useRef(null),o=e?{render:l.jsx(d.Box,{asChild:!0,ref:c,className:"uds-ring h-fit w-fit",children:r})}:{children:r},u=i.useCallback(()=>{const e=c.current?.firstChild;e instanceof HTMLElement&&"function"==typeof e.focus&&e.focus()},[c]);return l.jsx(n.MenuButton,{onFocus:u,onFocusVisible:u,ref:s,className:d.cx("uds-menu-trigger",t),...o,...a})});exports.Menu=N;