@yahoo/uds 3.41.2 → 3.43.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Box-BQypZMqK.d.cts → Box-B0LllWZj.d.cts} +1 -1
- package/dist/{Box-CsVRrRDn.d.ts → Box-D9iWmImZ.d.ts} +1 -1
- package/dist/{Box-DVBNsZP-.d.ts → Box-fE8vCK9j.d.ts} +1 -1
- package/dist/{Box-CIpeMJQ7.d.cts → Box-gliNRa6_.d.cts} +1 -1
- package/dist/{Pressable-BLpoRoJ0.d.ts → Pressable-CUPABukq.d.ts} +1 -1
- package/dist/{Pressable-C-ni2dkO.d.cts → Pressable-DDF5_8H0.d.cts} +1 -1
- package/dist/{Pressable-DszdqWG8.d.cts → Pressable-DV5RaKyp.d.cts} +1 -1
- package/dist/{Pressable-BUnPR5Jz.d.ts → Pressable-EzlcVc9I.d.ts} +1 -1
- package/dist/{Text-BS22RqVk.d.ts → Text-6N_KtHQd.d.ts} +3 -5
- package/dist/{Text-_YQwqzEU.d.ts → Text-Cc-8uf28.d.cts} +3 -5
- package/dist/{Text-B8DBsO1c.d.cts → Text-iA1FyaBd.d.ts} +3 -5
- package/dist/{Text-BiRnIMq9.d.cts → Text-te2aI0ra.d.cts} +3 -5
- package/dist/{VStack-6HCMXOVA.d.ts → VStack-B2VNB2Rz.d.ts} +2 -2
- package/dist/{VStack-DUYPy1bE.d.cts → VStack-B9xER92y.d.cts} +2 -2
- package/dist/{VStack-DVv1b724.d.ts → VStack-BB8x1waq.d.ts} +2 -2
- package/dist/{VStack-DIEn4Ej-.d.cts → VStack-RH1vOEi5.d.cts} +2 -2
- package/dist/{chunk-6B367G47.js → chunk-2VXJ6ZXC.js} +1 -1
- package/dist/{chunk-VLK7EUQY.cjs → chunk-3VUEFW4X.cjs} +2 -2
- package/dist/{chunk-JS37UUOY.cjs → chunk-3XMORCA6.cjs} +1 -1
- package/dist/{chunk-P32WR56G.cjs → chunk-42TM364I.cjs} +1 -1
- package/dist/{chunk-HIDTGATZ.cjs → chunk-4SWOQUGX.cjs} +1 -1
- package/dist/{chunk-LYH3HZZP.cjs → chunk-53KBVJPZ.cjs} +1 -1
- package/dist/{chunk-7HJZOCXN.js → chunk-5VROETXJ.js} +1 -1
- package/dist/{chunk-ZHZZBPTD.js → chunk-6IIFFVGC.js} +1 -1
- package/dist/{chunk-IEGNLDIQ.cjs → chunk-6KI6LPDE.cjs} +1 -1
- package/dist/{chunk-M6OTZ44P.js → chunk-6OLYHKI2.js} +2 -2
- package/dist/{chunk-A4HDAVWF.cjs → chunk-6RFI4VVW.cjs} +1 -1
- package/dist/{chunk-2H43JYG6.js → chunk-7IYNK6VF.js} +3 -3
- package/dist/{chunk-CON7PCS7.js → chunk-D4G2CCD4.js} +2 -2
- package/dist/{chunk-7NIY4P3T.js → chunk-D7XPTBPO.js} +1 -1
- package/dist/chunk-DETLKOCI.js +2 -0
- package/dist/{chunk-VB3FJZDC.cjs → chunk-DEYTPNUJ.cjs} +1 -1
- package/dist/{chunk-FU4YDQQB.js → chunk-EFOWTGKI.js} +1 -1
- package/dist/{chunk-R7H6N4CT.js → chunk-EWIQEL36.js} +2 -2
- package/dist/{chunk-XENYAFZW.cjs → chunk-F43AI46P.cjs} +1 -1
- package/dist/{chunk-FLN5XJPU.js → chunk-GGW73ECI.js} +1 -1
- package/dist/{chunk-LDTPSM22.cjs → chunk-GMQZWDKV.cjs} +1 -1
- package/dist/{chunk-6SGL2RSZ.cjs → chunk-H5RFGJT6.cjs} +1 -1
- package/dist/{chunk-YAQXHV4P.cjs → chunk-I4FBYECY.cjs} +1 -1
- package/dist/{chunk-GJCDWRR6.cjs → chunk-IWTF6VT4.cjs} +1 -1
- package/dist/{chunk-54KLTT2G.cjs → chunk-JD7PX7BB.cjs} +2 -2
- package/dist/{chunk-KFXLVMFU.cjs → chunk-K7DHGT5F.cjs} +1 -1
- package/dist/{chunk-LZ6EKK62.cjs → chunk-LNZSNDOV.cjs} +1 -1
- package/dist/{chunk-XVDW53GP.cjs → chunk-MEM4DBEJ.cjs} +1 -1
- package/dist/{chunk-WXBCHQS7.js → chunk-MLPUM5T5.js} +1 -1
- package/dist/{chunk-HK3EDM7I.cjs → chunk-MQ5HBFA2.cjs} +1 -1
- package/dist/chunk-NBUU5AZY.cjs +1 -0
- package/dist/{chunk-IDW7LALS.js → chunk-ND5BLCNY.js} +2 -2
- package/dist/chunk-O4TV6UVI.cjs +1 -0
- package/dist/chunk-PM4TFP3I.js +2 -0
- package/dist/{chunk-JGPAJLQM.js → chunk-PMXAH4FA.js} +3 -3
- package/dist/chunk-QCLXCOEJ.js +2 -0
- package/dist/{chunk-YCHCTTY5.js → chunk-SFRPZXWP.js} +2 -2
- package/dist/{chunk-TTFCIMMV.js → chunk-SLGIK6FM.js} +1 -1
- package/dist/{chunk-7IUKR73D.cjs → chunk-TWH2EAVG.cjs} +1 -1
- package/dist/chunk-UL6YUUOX.js +2 -0
- package/dist/{chunk-BRUA62LK.js → chunk-WFWWC766.js} +1 -1
- package/dist/{chunk-RMBR7QGP.js → chunk-XWRSYGZJ.js} +1 -1
- package/dist/{chunk-LJA4GYGV.js → chunk-YFLJTZBO.js} +1 -1
- package/dist/{chunk-246TFVNK.cjs → chunk-ZSA4T523.cjs} +1 -1
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.d.cts +8 -8
- package/dist/client/Menu.d.ts +8 -8
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +5 -5
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +2 -1
- package/dist/{index-B8yhu644.d.cts → index-BnRf_siO.d.cts} +1 -1
- package/dist/{index-B0O0u_Hs.d.cts → index-CvXCgx-c.d.cts} +1 -1
- package/dist/{index-CmWpT4Nf.d.ts → index-DQCJEaxt.d.ts} +1 -1
- package/dist/{index-OWLRM0RK.d.ts → index-voEKPSkj.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -36
- package/dist/index.d.ts +9 -36
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-C8XrtPU1.d.cts → types-CatBybWM.d.cts} +1946 -1940
- package/dist/{types-C8XrtPU1.d.ts → types-CatBybWM.d.ts} +1946 -1940
- package/dist/{types-DK15J9TU.d.cts → types-YEchfcue.d.cts} +1956 -1950
- package/dist/{types-DK15J9TU.d.ts → types-YEchfcue.d.ts} +1956 -1950
- package/package.json +1 -1
- package/dist/chunk-5QARLKER.cjs +0 -1
- package/dist/chunk-DP63H5CQ.js +0 -2
- package/dist/chunk-EAWAEOIH.js +0 -2
- package/dist/chunk-MHBYBGCL.js +0 -2
- package/dist/chunk-O4J7VREK.js +0 -2
- package/dist/chunk-SVYKOXB4.cjs +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-P32WR56G.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-42TM364I.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";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t="uds",o=`${t}-avatar-size`,e=`${t}-border-radius`,s=`${t}-border-width`,r=`${t}-font`,E=`${t}-font-size`,_=`${t}-font-weight`,d=`${t}-font-slant`,n=`${t}-font-width`,S=`${t}-icon-size`,i=`${t}-line-height`,A=`${t}-motion`,a=`${t}-spectrum-color`,l=`${t}-text-transform`,x=`${t}-color-mode-dark
|
1
|
+
"use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t="uds",o=`${t}-avatar-size`,e=`${t}-border-radius`,s=`${t}-border-width`,r=`${t}-font`,E=`${t}-font-size`,_=`${t}-font-weight`,d=`${t}-font-slant`,n=`${t}-font-width`,S=`${t}-icon-size`,i=`${t}-line-height`,A=`${t}-motion`,a=`${t}-spectrum-color`,l=`${t}-text-transform`,x=`${t}-color-mode-dark`,u=`${t}-color-mode-light`,$=`${t}-color-mode-system`,p=`${t}-color-mode-invert`,L=`${t}-scale-mode-xsmall`,O=`${t}-scale-mode-small`,b=`${t}-scale-mode-medium`,R=`${t}-scale-mode-large`,c=`${t}-scale-mode-xlarge`,M=`${t}-scale-mode-xxlarge`,C=`${t}-scale-mode-xxxlarge`,I=u,T=R,f={borderRadius:`--${t}-button-border-radius`,borderWidth:`--${t}-button-border-width`,color:`--${t}-button-color`,backgroundColor:`--${t}-button-background-color`,borderColor:`--${t}-button-border-color`,padding:`--${t}-button-padding`,columnGap:`--${t}-button-gap`,fontFamily:`--${t}-button-font`,fontWeight:`--${t}-button-font-weight`,fontWidth:`--${t}-button-font-width`,fontSlant:`--${t}-button-font-slant`,fontSize:`--${t}-button-font-size`,lineHeight:`--${t}-button-line-height`,textTransform:`--${t}-button-text-transform`,iconSize:`--${t}-button-icon-size`,dropShadow:`--${t}-button-shadow`,insetShadow:`--${t}-button-inset-shadow`,effects:{scale:{rest:`--${t}-button-effects-scale--rest`,hover:`--${t}-button-effects-scale--hover`,pressed:`--${t}-button-effects-scale--pressed`}}},N={padding:`--${t}-icon-button-padding`,iconSize:`--${t}-icon-button-icon-size`};exports.AVATAR_SIZE_PREFIX=o,exports.BORDER_RADIUS_PREFIX=e,exports.BORDER_WIDTH_PREFIX=s,exports.BUTTON_CSS_VAR_MAP=f,exports.DARK_COLOR_MODE_CLASSNAME=x,exports.DEFAULT_COLOR_MODE_CLASSNAME=I,exports.DEFAULT_SCALE_MODE_CLASSNAME=T,exports.FONT_FAMILY_PREFIX=r,exports.FONT_SIZE_PREFIX=E,exports.FONT_SLANT_PREFIX=d,exports.FONT_WEIGHT_PREFIX=_,exports.FONT_WIDTH_PREFIX=n,exports.ICON_BUTTON_CSS_VAR_MAP=N,exports.ICON_SIZE_PREFIX=S,exports.INVERT_COLOR_MODE_CLASSNAME=p,exports.LARGE_SCALE_MODE_CLASSNAME=R,exports.LIGHT_COLOR_MODE_CLASSNAME=u,exports.LINE_HEIGHT_PREFIX=i,exports.MEDIUM_SCALE_MODE_CLASSNAME=b,exports.MOTION_PREFIX=A,exports.PSEUDO_STYLE_SELECTOR_MAP={hover:":hover:not([disabled])",pressed:":active:not([disabled])",disabled:":disabled",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:has(:disabled))"},exports.SMALL_SCALE_MODE_CLASSNAME=O,exports.SPECTRUM_COLOR_PREFIX=a,exports.SYSTEM_COLOR_MODE_CLASSNAME=$,exports.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES={defaultBreakpoint:"uds-text-default",base:"uds-text-base",sm:"uds-text-sm",md:"uds-text-md",lg:"uds-text-lg",xl:"uds-text-xl","2xl":"uds-text-2xl"},exports.TEXT_RESPONSIVE_CLASSNAME="uds-text-responsive",exports.TEXT_TRANSFORM_PREFIX=l,exports.UDS_PREFIX=t,exports.XLARGE_SCALE_MODE_CLASSNAME=c,exports.XSMALL_SCALE_MODE_CLASSNAME=L,exports.XXLARGE_SCALE_MODE_CLASSNAME=M,exports.XXXLARGE_SCALE_MODE_CLASSNAME=C;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var r=require("./chunk-
|
1
|
+
"use strict";var r=require("./chunk-JD7PX7BB.cjs"),e=require("./chunk-42TM364I.cjs"),t=require("./chunk-QLXJH36U.cjs"),n=require("react"),a=require("react/jsx-runtime"),c=t.__toESM(e.require_isFunction(),1),i=(r,e)=>((r,e)=>{const t=(0,c.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(n.Children.toArray(r),r=>{const t=(0,c.default)(e)?e(r):e;return n.isValidElement(t)?n.cloneElement(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),o=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...c,children:n?i(t,n):t})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="HStack";var u=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...c,children:n?i(t,n):t})});u.displayName="VStack",exports.HStack=o,exports.VStack=u;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{mapValues as t,entries as o}from"./chunk-EWJ3J526.js";import{SPECTRUM_COLOR_PREFIX as r,UDS_PREFIX as n,ICON_SIZE_PREFIX as e,AVATAR_SIZE_PREFIX as i,BORDER_WIDTH_PREFIX as a,BORDER_RADIUS_PREFIX as s,TEXT_TRANSFORM_PREFIX as c,LINE_HEIGHT_PREFIX as f,FONT_WIDTH_PREFIX as $,FONT_SLANT_PREFIX as l,FONT_WEIGHT_PREFIX as d,FONT_SIZE_PREFIX as u,FONT_FAMILY_PREFIX as p}from"./chunk-
|
1
|
+
import{mapValues as t,entries as o}from"./chunk-EWJ3J526.js";import{SPECTRUM_COLOR_PREFIX as r,UDS_PREFIX as n,ICON_SIZE_PREFIX as e,AVATAR_SIZE_PREFIX as i,BORDER_WIDTH_PREFIX as a,BORDER_RADIUS_PREFIX as s,TEXT_TRANSFORM_PREFIX as c,LINE_HEIGHT_PREFIX as f,FONT_WIDTH_PREFIX as $,FONT_SLANT_PREFIX as l,FONT_WEIGHT_PREFIX as d,FONT_SIZE_PREFIX as u,FONT_FAMILY_PREFIX as p}from"./chunk-PM4TFP3I.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
2
|
function v(t){const{palette:e,spectrum:i}=t,a={},s={spectrum:{},palette:{}};for(const[t,n]of o(i))for(const[e,i]of o(n)){const o=`--${r}-${`${t}-${e}`}`;s.spectrum[t]||(s.spectrum[t]={}),s.spectrum[t][e]=`rgb(var(${o}))`,a[o]=i}return o(e).forEach(([t,o])=>{for(const[e,{hue:i,step:c,opacity:f}]of Object.entries(o)){t in s.palette||(s.palette[t]={});const o=`--${n}-${t}-color-${e}`;a[o]=`var(--${r}-${i}-${c})`,s.palette[t][e]=f?`rgb(var(${o}) / ${f})`:`rgb(var(${o}))`}}),{_vars:a,_raw:t,tailwindConfig:s}}function g(t,r){const n={},e={};for(const[i,a]of o(r)){const o=`--${t}-${i}`;n[o]=`${a}`,e[i]=`var(${o})`}return{_vars:n,_raw:r,tailwindConfig:e}}function h(t,r,n){const e={},i={};for(const[a,s]of o(r)){const o=`--${t}-${a}`,r=n?n(s):s;e[o]=r,i[a]=`var(${o})`}return{_vars:e,_raw:r,tailwindConfig:i}}function m(t,r){if(!r)return{_vars:{},_raw:{},tailwindConfig:{}};const n={},e={};for(const[i,a]of o(r)){const o=`--${t}-${i}`,r=`${a}px`;n[o]=r,e[i]=`var(${o})`}return{_vars:n,_raw:r,tailwindConfig:e}}function w(o){const{colorMode:r,scaleMode:n}=o;return{...o,colorMode:{light:v(r.light),dark:v(r.dark)},scaleMode:t(n,({borderRadius:t,borderWidth:o,fontSize:r,lineHeight:n,fontFamily:v,fontWeight:w,fontSlant:_,fontWidth:b,textTransform:S,avatarSizes:W,iconSizes:z})=>({fontFamily:h(p,v,t=>`var(--${p}-${t})`),fontSize:m(u,r),fontWeight:g(d,w),fontSlant:g(l,_),fontWidth:g($,b),lineHeight:m(f,n),textTransform:h(c,S),borderRadius:m(s,t),borderWidth:m(a,o),avatarSizes:m(i,W),iconSizes:m(e,z)}))}}export{w as parseTokens};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var r=require("./chunk-
|
1
|
+
"use strict";var r=require("./chunk-3VUEFW4X.cjs"),e=require("./chunk-DEYTPNUJ.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};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var e=require("./chunk-6RFI4VVW.cjs"),t=require("./chunk-ZSA4T523.cjs"),r=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-DEYTPNUJ.cjs"),n=require("./chunk-LNZSNDOV.cjs"),o=require("./chunk-QLXJH36U.cjs"),s=require("@yahoo/uds/fixtures");function i(e){return e&&e.__esModule?e:{default:e}}var c=i(require("tailwindcss/plugin.js")),l=o.__commonJS({"../../node_modules/lodash/isString.js"(e,t){var r=a.require_baseGetTag(),n=a.require_isArray(),o=a.require_isObjectLike();t.exports=function(e){return"string"==typeof e||!n(e)&&o(e)&&"[object String]"==r(e)}}}),u=o.__toESM(l(),1),d=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var _=e=>"."+n.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES[e],f=(e,t,r,a)=>{const n=e.typography[t]?.[r];if(!n)throw new Error(`Missing typography data for variant "${t}" and key "${r}"`);const o="base"===a?n.base:n.breakpoints?.[a];if(!o)throw new Error(`Missing value for variant "${t}", key "${r}", and breakpoint "${a}"`);if((0,u.default)(o))return o;switch(o.type){case"px":return o.value/16+"rem";case"unitless":return String(o.value)}return d()},p=(e,t)=>t in e.font?`var(--${n.FONT_FAMILY_PREFIX}-${t})`:t,E=(e,t)=>Object.fromEntries(s.textVariants.flatMap(r=>[[`--${n.FONT_FAMILY_PREFIX}-${r}`,p(e,f(e,r,"fontFamily",t))],[`--${n.FONT_SIZE_PREFIX}-${r}`,f(e,r,"fontSize",t)],[`--${n.FONT_WEIGHT_PREFIX}-${r}`,f(e,r,"fontWeight",t)],[`--${n.FONT_SLANT_PREFIX}-${r}`,f(e,r,"fontSlant",t)],[`--${n.FONT_WIDTH_PREFIX}-${r}`,f(e,r,"fontWidth",t)],[`--${n.LINE_HEIGHT_PREFIX}-${r}`,f(e,r,"lineHeight",t)],[`--${n.TEXT_TRANSFORM_PREFIX}-${r}`,f(e,r,"textTransform",t)]])),F=e=>Object.fromEntries(s.textVariants.map(t=>[t,`var(--${e}-${t})`])),S={fontFamily:F(n.FONT_FAMILY_PREFIX),fontWeight:F(n.FONT_WEIGHT_PREFIX),fontSlant:F(n.FONT_SLANT_PREFIX),fontWidth:F(n.FONT_WIDTH_PREFIX),fontSize:F(n.FONT_SIZE_PREFIX),lineHeight:F(n.LINE_HEIGHT_PREFIX),textTransform:F(n.TEXT_TRANSFORM_PREFIX)};function g(e,{addBase:t}){const r=I(e);for(const e of r)t({"@font-face":e})}var h=c.default.withOptions(function({fontIds:e}){return function({addBase:t}){g(e,{addBase:t})}});function I(e){return e.flatMap(e=>{const{declarations:r,fontFamily:a}=t.FONT_DECLARATIONS_MAP[e];return r.map(e=>({fontFamily:a,fontDisplay:"swap",...e}))})}function T(e){return`"${e}"`}function m(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.RESPONSIVE_TAILWIND_CONFIG_MAP=S,exports.addFontFaceDeclarations=g,exports.addFontsPlugin=h,exports.assertUnreachable=d,exports.getBaseTextVars=e=>E(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=I,exports.getFontStyles=function(e){return t.fromEntries(r.entries(e).map(([e,r])=>{const a=`--${n.FONT_FAMILY_PREFIX}-${e}`,o=t.FONT_DECLARATIONS_MAP[r];return[a,[o.fontFamily,...o.fallback].map(T).join(", ")]}))},exports.getMotionStyles=function(a){const n=r.entries(a).flatMap(([t,a])=>r.entries(a).flatMap(([r,a])=>s.motionSpringConfigOptions.map(n=>[e.getMotionVar({variant:t,speed:r,control:n}),`${a[n]}`])));return t.fromEntries(n)},exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${n.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:r}])=>[`@media (min-width: ${r}px)`,E(e,t)])),[_("base")]:E(e,"base"),[_("defaultBreakpoint")]:E(e,e.globalDefaults.breakpoint),...Object.fromEntries(t.map(([t])=>[_(t),E(e,t)]))}},exports.getScaleModeStyles=function(e){return{xSmall:m(e.scaleMode.xSmall),small:m(e.scaleMode.small),medium:m(e.scaleMode.medium),large:m(e.scaleMode.large),xLarge:m(e.scaleMode.xLarge),xxLarge:m(e.scaleMode.xxLarge),xxxLarge:m(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:a}){const o=e.shadow[a],s=r.entries(o).map(([e])=>[`.uds-${a}-shadow-${e}`,{[`--uds-${a}-shadow`]:`var(--${n.UDS_PREFIX}-${a}-shadow-${e})`,boxShadow:`var(--${n.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${n.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=l;
|