@yahoo/uds 3.40.0 → 3.41.0-beta.2
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-C5GwvlME.d.ts → Box-BW0Ct5XD.d.ts} +1 -1
- package/dist/{Box-B2DvoAMD.d.cts → Box-CIpeMJQ7.d.cts} +1 -1
- package/dist/{Box-CJ3zIj4N.d.cts → Box-CfWJXdeW.d.cts} +1 -1
- package/dist/{Box-DggpNHav.d.ts → Box-CsVRrRDn.d.ts} +1 -1
- package/dist/{Pressable-CogcHtMQ.d.ts → Pressable-BLpoRoJ0.d.ts} +1 -1
- package/dist/{Pressable-BbJdaJUo.d.cts → Pressable-C-ni2dkO.d.cts} +1 -1
- package/dist/{Pressable-CE-tEoUc.d.cts → Pressable-DZi-Ay9z.d.cts} +1 -1
- package/dist/{Pressable-DEuYwe7j.d.ts → Pressable-Nqmlz_FD.d.ts} +1 -1
- package/dist/{Text-CgQcjNy7.d.cts → Text-B8DBsO1c.d.cts} +2 -2
- package/dist/{Text-Cghi693U.d.ts → Text-BS22RqVk.d.ts} +2 -2
- package/dist/{Text-CoY1WLeq.d.ts → Text-CXdUVeWA.d.ts} +2 -2
- package/dist/{Text-DDathn4e.d.cts → Text-Di0xLhJx.d.cts} +2 -2
- package/dist/{VStack-Cpgnc5oS.d.ts → VStack-By9oddRo.d.ts} +2 -2
- package/dist/{VStack-BrpD0qUH.d.cts → VStack-CEArkoYF.d.cts} +2 -2
- package/dist/{VStack-CIUJgL-7.d.cts → VStack-DUYPy1bE.d.cts} +2 -2
- package/dist/{VStack-_eM5ET03.d.ts → VStack-DVv1b724.d.ts} +2 -2
- package/dist/{chunk-2FN7PYW3.cjs → chunk-3KCKTFBM.cjs} +1 -1
- package/dist/{chunk-SPTEOB2R.cjs → chunk-54KLTT2G.cjs} +2 -2
- package/dist/{chunk-GJLQAO4M.cjs → chunk-5RTXYZAR.cjs} +1 -1
- package/dist/{chunk-3NOPVRK3.js → chunk-7HJZOCXN.js} +1 -1
- package/dist/{chunk-NYCASMFK.cjs → chunk-7IUKR73D.cjs} +1 -1
- package/dist/{chunk-NQ7BFO3S.cjs → chunk-A4HDAVWF.cjs} +1 -1
- package/dist/{chunk-ST7Z3YRS.js → chunk-AQQHB7VE.js} +2 -2
- package/dist/{chunk-KL36KHMK.cjs → chunk-B4JU4OUN.cjs} +1 -1
- package/dist/chunk-BG6J7LLT.cjs +1 -0
- package/dist/{chunk-JP3JNLAD.js → chunk-BRUA62LK.js} +1 -1
- package/dist/{chunk-NUOTAOOJ.js → chunk-BWENZ6PA.js} +1 -1
- package/dist/chunk-DP63H5CQ.js +2 -0
- package/dist/{chunk-NVU2HHNL.cjs → chunk-EIPNPQY4.cjs} +1 -1
- package/dist/{chunk-IVKGRXGB.cjs → chunk-ELYY2QWM.cjs} +1 -1
- package/dist/{chunk-Z44HLHNN.js → chunk-FU4YDQQB.js} +1 -1
- package/dist/{chunk-OIDUOWWP.cjs → chunk-GJCDWRR6.cjs} +1 -1
- package/dist/chunk-GSEOWOTM.js +2 -0
- package/dist/{chunk-ELVRZONR.cjs → chunk-HK3EDM7I.cjs} +1 -1
- package/dist/{chunk-VGS2HJDD.js → chunk-HOAXINBM.js} +1 -1
- package/dist/{chunk-CWG6VECG.cjs → chunk-IAD33G4C.cjs} +1 -1
- package/dist/{chunk-QF6YIMT4.js → chunk-IDW7LALS.js} +2 -2
- package/dist/{chunk-WPPJ6CMJ.js → chunk-JEGSJ7GW.js} +1 -1
- package/dist/{chunk-VDZOZV5O.js → chunk-JGPAJLQM.js} +3 -3
- package/dist/{chunk-AX4IA6TK.cjs → chunk-JS37UUOY.cjs} +1 -1
- package/dist/{chunk-S5NRWKDP.cjs → chunk-KFXLVMFU.cjs} +1 -1
- package/dist/{chunk-QFCUUITW.cjs → chunk-LWXI5KNF.cjs} +1 -1
- package/dist/chunk-LZ6EKK62.cjs +1 -0
- package/dist/chunk-MHBYBGCL.js +2 -0
- package/dist/chunk-O4J7VREK.js +2 -0
- package/dist/{chunk-Y5HRSSOF.cjs → chunk-P32WR56G.cjs} +1 -1
- package/dist/{chunk-UAN7HYYD.js → chunk-PI6G7IEW.js} +3 -3
- package/dist/{chunk-PQNUKUFA.js → chunk-PMTM3ZON.js} +1 -1
- package/dist/{chunk-BCRZ2EQO.js → chunk-R7QLT7IG.js} +2 -2
- package/dist/chunk-SVYKOXB4.cjs +1 -0
- package/dist/{chunk-LITEZHOE.js → chunk-TJ3N7GMT.js} +1 -1
- package/dist/{chunk-MZKL2XHU.js → chunk-TTFCIMMV.js} +2 -2
- package/dist/{chunk-SVO6TMF5.js → chunk-TVB5Y4GA.js} +2 -2
- package/dist/{chunk-CZH6WYYG.cjs → chunk-UO7B7MHG.cjs} +1 -1
- package/dist/{chunk-KTN43MAD.js → chunk-WILCJRXV.js} +1 -1
- package/dist/{chunk-ZJIWHNVT.cjs → chunk-WMRVS6LY.cjs} +1 -1
- package/dist/{chunk-S7ODSMBM.js → chunk-WXBCHQS7.js} +1 -1
- package/dist/{chunk-CQTZVA52.cjs → chunk-XENYAFZW.cjs} +1 -1
- package/dist/{chunk-QXAMOFS3.cjs → chunk-Y5LHP2WU.cjs} +1 -1
- package/dist/{chunk-ZEQ3QOPP.js → chunk-YCHCTTY5.js} +2 -2
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- 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 -2
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/{index-DE7BJVEA.d.cts → index-B8yhu644.d.cts} +1 -1
- package/dist/{index-uVTfvIWD.d.ts → index-BZR0-8yC.d.ts} +1 -1
- package/dist/{index-BNV_bpqb.d.cts → index-C23ezu3B.d.cts} +1 -1
- package/dist/{index-DviXR06Z.d.ts → index-CmWpT4Nf.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- 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/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-BEsEvo0F.d.cts → types-A7dQQHNE.d.cts} +2027 -2025
- package/dist/{types-BEsEvo0F.d.ts → types-A7dQQHNE.d.ts} +2027 -2025
- package/dist/{types-rZt8SiS0.d.cts → types-C8XrtPU1.d.cts} +2031 -2029
- package/dist/{types-rZt8SiS0.d.ts → types-C8XrtPU1.d.ts} +2031 -2029
- package/package.json +1 -1
- package/dist/chunk-24RMELG3.js +0 -2
- package/dist/chunk-3AYBRPUC.cjs +0 -1
- package/dist/chunk-5D2A6RFS.js +0 -2
- package/dist/chunk-74BWCTGT.cjs +0 -1
- package/dist/chunk-DCZLRK3J.js +0 -2
- package/dist/chunk-KYESDN2J.js +0 -2
- package/dist/chunk-VQ4KEVVH.cjs +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-Y5HRSSOF.cjs"),t=require("./chunk-QLXJH36U.cjs"),r=require("@yahoo/uds/fixtures"),a=t.__commonJS({"../../node_modules/lodash/lowerCase.js"(e,t){var r=o.require_createCompounder()(function(e,o,t){return e+(t?" ":"")+o.toLowerCase()});t.exports=r}}),n=t.__commonJS({"../../node_modules/lodash/_listCacheClear.js"(e,o){o.exports=function(){this.__data__=[],this.size=0}}}),s=t.__commonJS({"../../node_modules/lodash/eq.js"(e,o){o.exports=function(e,o){return e===o||e!=e&&o!=o}}}),l=t.__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(e,o){var t=s();o.exports=function(e,o){for(var r=e.length;r--;)if(t(e[r][0],o))return r;return-1}}}),i=t.__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(e,o){var t=l(),r=Array.prototype.splice;o.exports=function(e){var o=this.__data__,a=t(o,e);return!(a<0)&&(a==o.length-1?o.pop():r.call(o,a,1),--this.size,!0)}}}),u=t.__commonJS({"../../node_modules/lodash/_listCacheGet.js"(e,o){var t=l();o.exports=function(e){var o=this.__data__,r=t(o,e);return r<0?void 0:o[r][1]}}}),c=t.__commonJS({"../../node_modules/lodash/_listCacheHas.js"(e,o){var t=l();o.exports=function(e){return t(this.__data__,e)>-1}}}),p=t.__commonJS({"../../node_modules/lodash/_listCacheSet.js"(e,o){var t=l();o.exports=function(e,o){var r=this.__data__,a=t(r,e);return a<0?(++this.size,r.push([e,o])):r[a][1]=o,this}}}),f=t.__commonJS({"../../node_modules/lodash/_ListCache.js"(e,o){var t=n(),r=i(),a=u(),s=c(),l=p();function f(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}f.prototype.clear=t,f.prototype.delete=r,f.prototype.get=a,f.prototype.has=s,f.prototype.set=l,o.exports=f}}),d=t.__commonJS({"../../node_modules/lodash/_stackClear.js"(e,o){var t=f();o.exports=function(){this.__data__=new t,this.size=0}}}),m=t.__commonJS({"../../node_modules/lodash/_stackDelete.js"(e,o){o.exports=function(e){var o=this.__data__,t=o.delete(e);return this.size=o.size,t}}}),v=t.__commonJS({"../../node_modules/lodash/_stackGet.js"(e,o){o.exports=function(e){return this.__data__.get(e)}}}),y=t.__commonJS({"../../node_modules/lodash/_stackHas.js"(e,o){o.exports=function(e){return this.__data__.has(e)}}}),h=t.__commonJS({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=o.require_getNative()(Object,"create");t.exports=r}}),b=t.__commonJS({"../../node_modules/lodash/_hashClear.js"(e,o){var t=h();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),_=t.__commonJS({"../../node_modules/lodash/_hashDelete.js"(e,o){o.exports=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o}}}),g=t.__commonJS({"../../node_modules/lodash/_hashGet.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;if(t){var a=o[e];return"__lodash_hash_undefined__"===a?void 0:a}return r.call(o,e)?o[e]:void 0}}}),w=t.__commonJS({"../../node_modules/lodash/_hashHas.js"(e,o){var t=h(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:r.call(o,e)}}}),S=t.__commonJS({"../../node_modules/lodash/_hashSet.js"(e,o){var t=h();o.exports=function(e,o){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=t&&void 0===o?"__lodash_hash_undefined__":o,this}}}),x=t.__commonJS({"../../node_modules/lodash/_Hash.js"(e,o){var t=b(),r=_(),a=g(),n=w(),s=S();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),C=t.__commonJS({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=x(),a=f(),n=o.require_Map();t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(n||a),string:new r}}}}),j=t.__commonJS({"../../node_modules/lodash/_isKeyable.js"(e,o){o.exports=function(e){var o=typeof e;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==e:null===e}}}),$=t.__commonJS({"../../node_modules/lodash/_getMapData.js"(e,o){var t=j();o.exports=function(e,o){var r=e.__data__;return t(o)?r["string"==typeof o?"string":"hash"]:r.map}}}),P=t.__commonJS({"../../node_modules/lodash/_mapCacheDelete.js"(e,o){var t=$();o.exports=function(e){var o=t(this,e).delete(e);return this.size-=o?1:0,o}}}),k=t.__commonJS({"../../node_modules/lodash/_mapCacheGet.js"(e,o){var t=$();o.exports=function(e){return t(this,e).get(e)}}}),W=t.__commonJS({"../../node_modules/lodash/_mapCacheHas.js"(e,o){var t=$();o.exports=function(e){return t(this,e).has(e)}}}),O=t.__commonJS({"../../node_modules/lodash/_mapCacheSet.js"(e,o){var t=$();o.exports=function(e,o){var r=t(this,e),a=r.size;return r.set(e,o),this.size+=r.size==a?0:1,this}}}),A=t.__commonJS({"../../node_modules/lodash/_MapCache.js"(e,o){var t=C(),r=P(),a=k(),n=W(),s=O();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var r=e[o];this.set(r[0],r[1])}}l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=a,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),J=t.__commonJS({"../../node_modules/lodash/_stackSet.js"(e,t){var r=f(),a=o.require_Map(),n=A();t.exports=function(e,o){var t=this.__data__;if(t instanceof r){var s=t.__data__;if(!a||s.length<199)return s.push([e,o]),this.size=++t.size,this;t=this.__data__=new n(s)}return t.set(e,o),this.size=t.size,this}}}),V=t.__commonJS({"../../node_modules/lodash/_Stack.js"(e,o){var t=f(),r=d(),a=m(),n=v(),s=y(),l=J();function i(e){var o=this.__data__=new t(e);this.size=o.size}i.prototype.clear=r,i.prototype.delete=a,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,o.exports=i}}),T=t.__commonJS({"../../node_modules/lodash/_defineProperty.js"(e,t){var r=o.require_getNative(),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a}}),F=t.__commonJS({"../../node_modules/lodash/_baseAssignValue.js"(e,o){var t=T();o.exports=function(e,o,r){"__proto__"==o&&t?t(e,o,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[o]=r}}}),E=t.__commonJS({"../../node_modules/lodash/_assignMergeValue.js"(e,o){var t=F(),r=s();o.exports=function(e,o,a){(void 0!==a&&!r(e[o],a)||void 0===a&&!(o in e))&&t(e,o,a)}}}),M=t.__commonJS({"../../node_modules/lodash/_createBaseFor.js"(e,o){o.exports=function(e){return function(o,t,r){for(var a=-1,n=Object(o),s=r(o),l=s.length;l--;){var i=s[e?l:++a];if(!1===t(n[i],i,n))break}return o}}}}),N=t.__commonJS({"../../node_modules/lodash/_baseFor.js"(e,o){var t=M()();o.exports=t}}),q=t.__commonJS({"../../node_modules/lodash/_cloneBuffer.js"(e,t){var r=o.require_root(),a="object"==typeof e&&e&&!e.nodeType&&e,n=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=n&&n.exports===a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,o){if(o)return e.slice();var t=e.length,r=l?l(t):new e.constructor(t);return e.copy(r),r}}}),K=t.__commonJS({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=o.require_root().Uint8Array;t.exports=r}}),D=t.__commonJS({"../../node_modules/lodash/_cloneArrayBuffer.js"(e,o){var t=K();o.exports=function(e){var o=new e.constructor(e.byteLength);return new t(o).set(new t(e)),o}}}),L=t.__commonJS({"../../node_modules/lodash/_cloneTypedArray.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}}),z=t.__commonJS({"../../node_modules/lodash/_copyArray.js"(e,o){o.exports=function(e,o){var t=-1,r=e.length;for(o||(o=Array(r));++t<r;)o[t]=e[t];return o}}}),R=t.__commonJS({"../../node_modules/lodash/_baseCreate.js"(e,t){var r=o.require_isObject(),a=Object.create,n=function(){function e(){}return function(o){if(!r(o))return{};if(a)return a(o);e.prototype=o;var t=new e;return e.prototype=void 0,t}}();t.exports=n}}),Y=t.__commonJS({"../../node_modules/lodash/_getPrototype.js"(e,t){var r=o.require_overArg()(Object.getPrototypeOf,Object);t.exports=r}}),B=t.__commonJS({"../../node_modules/lodash/_initCloneObject.js"(e,t){var r=R(),a=Y(),n=o.require_isPrototype();t.exports=function(e){return"function"!=typeof e.constructor||n(e)?{}:r(a(e))}}}),X=t.__commonJS({"../../node_modules/lodash/isArrayLikeObject.js"(e,t){var r=o.require_isArrayLike(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&r(e)}}}),I=t.__commonJS({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=o.require_baseGetTag(),a=Y(),n=o.require_isObjectLike(),s=Function.prototype,l=Object.prototype,i=s.toString,u=l.hasOwnProperty,c=i.call(Object);t.exports=function(e){if(!n(e)||"[object Object]"!=r(e))return!1;var o=a(e);if(null===o)return!0;var t=u.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&i.call(t)==c}}}),U=t.__commonJS({"../../node_modules/lodash/_safeGet.js"(e,o){o.exports=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}}}),H=t.__commonJS({"../../node_modules/lodash/_assignValue.js"(e,o){var t=F(),r=s(),a=Object.prototype.hasOwnProperty;o.exports=function(e,o,n){var s=e[o];a.call(e,o)&&r(s,n)&&(void 0!==n||o in e)||t(e,o,n)}}}),G=t.__commonJS({"../../node_modules/lodash/_copyObject.js"(e,o){var t=H(),r=F();o.exports=function(e,o,a,n){var s=!a;a||(a={});for(var l=-1,i=o.length;++l<i;){var u=o[l],c=n?n(a[u],e[u],u,a,e):void 0;void 0===c&&(c=e[u]),s?r(a,u,c):t(a,u,c)}return a}}}),Q=t.__commonJS({"../../node_modules/lodash/_baseTimes.js"(e,o){o.exports=function(e,o){for(var t=-1,r=Array(e);++t<e;)r[t]=o(t);return r}}}),Z=t.__commonJS({"../../node_modules/lodash/_isIndex.js"(e,o){var t=/^(?:0|[1-9]\d*)$/;o.exports=function(e,o){var r=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<o}}}),ee=t.__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Q(),a=o.require_isArguments(),n=o.require_isArray(),s=o.require_isBuffer(),l=Z(),i=o.require_isTypedArray(),u=Object.prototype.hasOwnProperty;t.exports=function(e,o){var t=n(e),c=!t&&a(e),p=!t&&!c&&s(e),f=!t&&!c&&!p&&i(e),d=t||c||p||f,m=d?r(e.length,String):[],v=m.length;for(var y in e)!o&&!u.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,v))||m.push(y);return m}}}),oe=t.__commonJS({"../../node_modules/lodash/_nativeKeysIn.js"(e,o){o.exports=function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}}}),te=t.__commonJS({"../../node_modules/lodash/_baseKeysIn.js"(e,t){var r=o.require_isObject(),a=o.require_isPrototype(),n=oe(),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return n(e);var o=a(e),t=[];for(var l in e)("constructor"!=l||!o&&s.call(e,l))&&t.push(l);return t}}}),re=t.__commonJS({"../../node_modules/lodash/keysIn.js"(e,t){var r=ee(),a=te(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e,!0):a(e)}}}),ae=t.__commonJS({"../../node_modules/lodash/toPlainObject.js"(e,o){var t=G(),r=re();o.exports=function(e){return t(e,r(e))}}}),ne=t.__commonJS({"../../node_modules/lodash/_baseMergeDeep.js"(e,t){var r=E(),a=q(),n=L(),s=z(),l=B(),i=o.require_isArguments(),u=o.require_isArray(),c=X(),p=o.require_isBuffer(),f=o.require_isFunction(),d=o.require_isObject(),m=I(),v=o.require_isTypedArray(),y=U(),h=ae();t.exports=function(e,o,t,b,_,g,w){var S=y(e,t),x=y(o,t),C=w.get(x);if(C)r(e,t,C);else{var j=g?g(S,x,t+"",e,o,w):void 0,$=void 0===j;if($){var P=u(x),k=!P&&p(x),W=!P&&!k&&v(x);j=x,P||k||W?u(S)?j=S:c(S)?j=s(S):k?($=!1,j=a(x,!0)):W?($=!1,j=n(x,!0)):j=[]:m(x)||i(x)?(j=S,i(S)?j=h(S):d(S)&&!f(S)||(j=l(x))):$=!1}$&&(w.set(x,j),_(j,x,b,g,w),w.delete(x)),r(e,t,j)}}}}),se=t.__commonJS({"../../node_modules/lodash/_baseMerge.js"(e,t){var r=V(),a=E(),n=N(),s=ne(),l=o.require_isObject(),i=re(),u=U();t.exports=function e(o,t,c,p,f){o!==t&&n(t,function(n,i){if(f||(f=new r),l(n))s(o,t,i,c,e,p,f);else{var d=p?p(u(o,i),n,i+"",o,t,f):void 0;void 0===d&&(d=n),a(o,i,d)}},i)}}}),le=t.__commonJS({"../../node_modules/lodash/identity.js"(e,o){o.exports=function(e){return e}}}),ie=t.__commonJS({"../../node_modules/lodash/_apply.js"(e,o){o.exports=function(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}}}),ue=t.__commonJS({"../../node_modules/lodash/_overRest.js"(e,o){var t=ie(),r=Math.max;o.exports=function(e,o,a){return o=r(void 0===o?e.length-1:o,0),function(){for(var n=arguments,s=-1,l=r(n.length-o,0),i=Array(l);++s<l;)i[s]=n[o+s];s=-1;for(var u=Array(o+1);++s<o;)u[s]=n[s];return u[o]=a(i),t(e,this,u)}}}}),ce=t.__commonJS({"../../node_modules/lodash/constant.js"(e,o){o.exports=function(e){return function(){return e}}}}),pe=t.__commonJS({"../../node_modules/lodash/_baseSetToString.js"(e,o){var t=ce(),r=T(),a=le(),n=r?function(e,o){return r(e,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:a;o.exports=n}}),fe=t.__commonJS({"../../node_modules/lodash/_shortOut.js"(e,o){var t=Date.now;o.exports=function(e){var o=0,r=0;return function(){var a=t(),n=16-(a-r);if(r=a,n>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}}}),de=t.__commonJS({"../../node_modules/lodash/_setToString.js"(e,o){var t=pe(),r=fe()(t);o.exports=r}}),me=t.__commonJS({"../../node_modules/lodash/_baseRest.js"(e,o){var t=le(),r=ue(),a=de();o.exports=function(e,o){return a(r(e,o,t),e+"")}}}),ve=t.__commonJS({"../../node_modules/lodash/_isIterateeCall.js"(e,t){var r=s(),a=o.require_isArrayLike(),n=Z(),l=o.require_isObject();t.exports=function(e,o,t){if(!l(t))return!1;var s=typeof o;return!!("number"==s?a(t)&&n(o,t.length):"string"==s&&o in t)&&r(t[o],e)}}}),ye=t.__commonJS({"../../node_modules/lodash/_createAssigner.js"(e,o){var t=me(),r=ve();o.exports=function(e){return t(function(o,t){var a=-1,n=t.length,s=n>1?t[n-1]:void 0,l=n>2?t[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(t[0],t[1],l)&&(s=n<3?void 0:s,n=1),o=Object(o);++a<n;){var i=t[a];i&&e(o,i,a,s)}return o})}}}),he=t.__commonJS({"../../node_modules/lodash/mergeWith.js"(e,o){var t=se(),r=ye()(function(e,o,r,a){t(e,o,r,a)});o.exports=r}}),be=t.__commonJS({"../../node_modules/lodash/_baseToPairs.js"(e,t){var r=o.require_arrayMap();t.exports=function(e,o){return r(o,function(o){return[o,e[o]]})}}}),_e=t.__commonJS({"../../node_modules/lodash/_mapToArray.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e,r){t[++o]=[r,e]}),t}}}),ge=t.__commonJS({"../../node_modules/lodash/_setToPairs.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e){t[++o]=[e,e]}),t}}}),we=t.__commonJS({"../../node_modules/lodash/_createToPairs.js"(e,t){var r=be(),a=o.require_getTag(),n=_e(),s=ge();t.exports=function(e){return function(o){var t=a(o);return"[object Map]"==t?n(o):"[object Set]"==t?s(o):r(o,e(o))}}}}),Se=t.__commonJS({"../../node_modules/lodash/keys.js"(e,t){var r=ee(),a=o.require_baseKeys(),n=o.require_isArrayLike();t.exports=function(e){return n(e)?r(e):a(e)}}}),xe=t.__commonJS({"../../node_modules/lodash/toPairs.js"(e,o){var t=we()(Se());o.exports=t}}),Ce=t.__commonJS({"../../node_modules/lodash/entries.js"(e,o){o.exports=xe()}}),je=t.__commonJS({"../../node_modules/lodash/_arrayEach.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length;++t<r&&!1!==o(e[t],t,e););return e}}}),$e=t.__commonJS({"../../node_modules/lodash/_baseAssign.js"(e,o){var t=G(),r=Se();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),Pe=t.__commonJS({"../../node_modules/lodash/_baseAssignIn.js"(e,o){var t=G(),r=re();o.exports=function(e,o){return e&&t(o,r(o),e)}}}),ke=t.__commonJS({"../../node_modules/lodash/_arrayFilter.js"(e,o){o.exports=function(e,o){for(var t=-1,r=null==e?0:e.length,a=0,n=[];++t<r;){var s=e[t];o(s,t,e)&&(n[a++]=s)}return n}}}),We=t.__commonJS({"../../node_modules/lodash/stubArray.js"(e,o){o.exports=function(){return[]}}}),Oe=t.__commonJS({"../../node_modules/lodash/_getSymbols.js"(e,o){var t=ke(),r=We(),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(o){return a.call(e,o)}))}:r;o.exports=s}}),Ae=t.__commonJS({"../../node_modules/lodash/_copySymbols.js"(e,o){var t=G(),r=Oe();o.exports=function(e,o){return t(e,r(e),o)}}}),Je=t.__commonJS({"../../node_modules/lodash/_arrayPush.js"(e,o){o.exports=function(e,o){for(var t=-1,r=o.length,a=e.length;++t<r;)e[a+t]=o[t];return e}}}),Ve=t.__commonJS({"../../node_modules/lodash/_getSymbolsIn.js"(e,o){var t=Je(),r=Y(),a=Oe(),n=We(),s=Object.getOwnPropertySymbols?function(e){for(var o=[];e;)t(o,a(e)),e=r(e);return o}:n;o.exports=s}}),Te=t.__commonJS({"../../node_modules/lodash/_copySymbolsIn.js"(e,o){var t=G(),r=Ve();o.exports=function(e,o){return t(e,r(e),o)}}}),Fe=t.__commonJS({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=Je(),a=o.require_isArray();t.exports=function(e,o,t){var n=o(e);return a(e)?n:r(n,t(e))}}}),Ee=t.__commonJS({"../../node_modules/lodash/_getAllKeys.js"(e,o){var t=Fe(),r=Oe(),a=Se();o.exports=function(e){return t(e,a,r)}}}),Me=t.__commonJS({"../../node_modules/lodash/_getAllKeysIn.js"(e,o){var t=Fe(),r=Ve(),a=re();o.exports=function(e){return t(e,a,r)}}}),Ne=t.__commonJS({"../../node_modules/lodash/_initCloneArray.js"(e,o){var t=Object.prototype.hasOwnProperty;o.exports=function(e){var o=e.length,r=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}}}),qe=t.__commonJS({"../../node_modules/lodash/_cloneDataView.js"(e,o){var t=D();o.exports=function(e,o){var r=o?t(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}}),Ke=t.__commonJS({"../../node_modules/lodash/_cloneRegExp.js"(e,o){var t=/\w*$/;o.exports=function(e){var o=new e.constructor(e.source,t.exec(e));return o.lastIndex=e.lastIndex,o}}}),De=t.__commonJS({"../../node_modules/lodash/_cloneSymbol.js"(e,t){var r=o.require_Symbol(),a=r?r.prototype:void 0,n=a?a.valueOf:void 0;t.exports=function(e){return n?Object(n.call(e)):{}}}}),Le=t.__commonJS({"../../node_modules/lodash/_initCloneByTag.js"(e,o){var t=D(),r=qe(),a=Ke(),n=De(),s=L();o.exports=function(e,o,l){var i=e.constructor;switch(o){case"[object ArrayBuffer]":return t(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return r(e,l);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,l);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return a(e);case"[object Symbol]":return n(e)}}}}),ze=t.__commonJS({"../../node_modules/lodash/_baseIsMap.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Map]"==r(e)}}}),Re=t.__commonJS({"../../node_modules/lodash/isMap.js"(e,t){var r=ze(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isMap,l=s?a(s):r;t.exports=l}}),Ye=t.__commonJS({"../../node_modules/lodash/_baseIsSet.js"(e,t){var r=o.require_getTag(),a=o.require_isObjectLike();t.exports=function(e){return a(e)&&"[object Set]"==r(e)}}}),Be=t.__commonJS({"../../node_modules/lodash/isSet.js"(e,t){var r=Ye(),a=o.require_baseUnary(),n=o.require_nodeUtil(),s=n&&n.isSet,l=s?a(s):r;t.exports=l}}),Xe=t.__commonJS({"../../node_modules/lodash/_baseClone.js"(e,t){var r=V(),a=je(),n=H(),s=$e(),l=Pe(),i=q(),u=z(),c=Ae(),p=Te(),f=Ee(),d=Me(),m=o.require_getTag(),v=Ne(),y=Le(),h=B(),b=o.require_isArray(),_=o.require_isBuffer(),g=Re(),w=o.require_isObject(),S=Be(),x=Se(),C=re(),j="[object Arguments]",$="[object Function]",P="[object Object]",k={};k[j]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[P]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[$]=k["[object WeakMap]"]=!1,t.exports=function e(o,t,W,O,A,J){var V,T=1&t,F=2&t,E=4&t;if(W&&(V=A?W(o,O,A,J):W(o)),void 0!==V)return V;if(!w(o))return o;var M=b(o);if(M){if(V=v(o),!T)return u(o,V)}else{var N=m(o),q=N==$||"[object GeneratorFunction]"==N;if(_(o))return i(o,T);if(N==P||N==j||q&&!A){if(V=F||q?{}:h(o),!T)return F?p(o,l(V,o)):c(o,s(V,o))}else{if(!k[N])return A?o:{};V=y(o,N,T)}}J||(J=new r);var K=J.get(o);if(K)return K;J.set(o,V),S(o)?o.forEach(function(r){V.add(e(r,t,W,r,o,J))}):g(o)&&o.forEach(function(r,a){V.set(a,e(r,t,W,a,o,J))});var D=M?void 0:(E?F?d:f:F?C:x)(o);return a(D||o,function(r,a){D&&(r=o[a=r]),n(V,a,e(r,t,W,a,o,J))}),V}}}),Ie=t.__commonJS({"../../node_modules/lodash/cloneDeep.js"(e,o){var t=Xe();o.exports=function(e){return t(e,5)}}}),Ue=t.__toESM(o.require_isFunction(),1),He=t.__toESM(a(),1),Ge=t.__toESM(he(),1);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function Qe({variantKey:e,variantValue:o,layer:t,subComponentName:r,stateKey:a,stateValue:n}){return r?a&&n?`${r}/${e}/${o}/${a}/${n}/${t}`:`${r}/${e}/${o}/${t}`:a&&n?`${e}/${o}/${a}/${n}/${t}`:`${e}/${o}/${t}`}var Ze=e=>e.reduce((e,o)=>e.flatMap(e=>o.map(o=>[e,o].flat())));function eo(o,t){const r=o.variants?.[t];if(r)return{type:"no-sub-components",variant:r};const a=uo(o);if(!a)return{type:"no-variants"};return{type:"has-sub-components",variants:e.mapValues(a,e=>e.variants[t])}}function oo(e,o,t){const r=e[o]?.defaults?.[t];if(void 0===r)throw new Error(`The variant default for "${t}" is not defined for the component "${o}"`);return r}var to=t.__toESM(Ce(),1);function ro(e,o,t){const r=eo(e,o);switch(r.type){case"no-variants":return null;case"no-sub-components":return r.variant;case"has-sub-components":if(!t)throw new Error("subComponentName argument name is required for configs with subcomponents");return r.variants[t]}}var ao=e=>!!e?.layers,no=e=>!!e?.componentStates;function so(e,o,t){const r=ro(e,o,t);return r&&no(r)?r?.componentStates??null:null}var lo=["rest"];var io=t.__toESM(Ce(),1);function uo(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}var co=t.__toESM(Ie(),1);function po(e,o,t,r,a){const n=e[t].variables[o];if(!n)throw new Error(`No layer variables found for ${o}.`);const s=n[r];if(!s)throw new Error(`No property variables found for ${r}.`);const l=s[a];if(!l)throw new Error(`No pseudoState variables found for ${a}.`);return l}function fo(e,o,t,r,a,n){const s=(0,co.default)(e),l=po(s,o,t,r,a);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}var mo={rest:"",hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",focused:":focus","focus-within":":focus-within",invalid:':has(input[aria-invalid="true"])',"focused-keyboard":":focus-visible",visited:":visited",readonly:":has(input:read-only)",disabled:":has(:disabled)","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:has(:disabled))'},vo={rest:"",hover:"hover",pressed:"active",focused:"focus","focus-within":"focus-within",invalid:"has-input-invalid","focused-keyboard":"focus-visible",visited:"visited",readonly:"input-readonly",disabled:"has-disabled","invalid&hover":"has-input-invalid-and-hover","invalid&pressed":"has-input-invalid-and-active"};function yo(e,o){const t=e.defaults[o],r=e.typeOfFixture;let a=0;return e.values.forEach((e,o)=>{e.includes(t)&&(a=o)}),r[a]}function ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,He.default)(e)}-${(0,He.default)(n)}-${(0,He.default)(o)}`:`uds-${(0,He.default)(e)}-${(0,He.default)(o)}`,t&&(i=`${i}-${(0,He.default)(t)}`),s&&l&&(i=`${i}-${(0,He.default)(s)}-${(0,He.default)(l)}`),i=`${i}-${(0,He.default)(r)}`,a&&(i=`${i}${a}`),i.replaceAll(/\s+/g,"-")}function bo({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:c,theme:p,currentStyles:f,previewOptions:d}){const m=Qe({variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});let v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n,stateKey:s,stateValue:l});const y=i.variables[m][u];if(!y)throw"size/md/root"===m&&"spacingHorizontal"===u&&console.log({componentName:e,schemaKey:m,propertyKey:u},i.variables),new Error(`Prop definition (${e} - ${m} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const h={};for(const m in y){const b=mo[m]??"";let _="";if("root"===r)if(s&&l){const a=ho({componentName:e,variantKey:o,variantValue:t,layer:r,subComponentName:n});v=ho({componentName:e,variantKey:o,layer:r,subComponentName:n,stateKey:s,stateValue:l}),_=`.${a}${b}.${v}`}else _=`.${v}${b}`;else{const i=ho({componentName:e,variantKey:o,variantValue:t,layer:"root",subComponentName:n});if(s&&l){const u=ho({componentName:e,variantKey:o,layer:"root",subComponentName:n,stateKey:s,stateValue:l});v=ho({componentName:e,variantKey:o,variantValue:t,layer:r,layerOptionalPseudoSelector:a,subComponentName:n}),_=`.${i}${b}.${u} .${v}`}else _=`.${i}${b} .${v}`}const g=(e,o,t,r)=>{const{value:a,type:n}=e,s=Mo[o];let l;if(Mo[o].customValueRenderer)l=Mo[o].customValueRenderer(e,i,t);else{l=t(Mo[o].twThemePath(n,String(a)))}if(s.concatenate&&r){return`${r}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:w,extendedProperties:S}=Mo[c.name],x={},C=(0,Ue.default)(S),j=C?S({componentName:e,subComponentName:n,layer:r,propertyKey:u}):S;if(j&&j.length){if(!C&&("string"==typeof w||Array.isArray(w)&&w.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of j){const o=Mo[e].cssProperties;if("string"==typeof o){const t=f?.[_]?.[o];x[o]=g(y[m],e,p,t)}else if(Array.isArray(o))for(const t of o){const o=f?.[_]?.[t];x[t]=g(y[m],e,p,o)}}}else if("string"==typeof w){const e=f?.[_]?.[w];x[w]=g(y[m],c.name,p,e)}else if(Array.isArray(w))for(const e of w){const o=f?.[_]?.[e];x[e]=g(y[m],c.name,p,o)}if(h[_]||(h[_]={...x,...h[_]}),d?.generatePseudoStateClassModifier){const e=vo[m]??"";e.length>0&&"root"!==m&&(h[`.${e}${_}`.replace(b,"")]={...x,...h[`.${e}${_}`.replace(b,"")]})}}return h}var _o=["none","custom"],go=["none","up","down"],wo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},So={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},xo={hover:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"up",options:go}},pressed:{backgroundColor:{value:"none",options:_o},borderColor:{value:"none",options:_o},color:{value:"none",options:_o},scale:{value:"down",options:go}}},Co={dropShadow:{value:"none",config:null},insetShadow:{value:"none",config:null}};function jo(e){return{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:e},color:{type:"palette",value:"on-color"},scale:"none",...Co}}function $o(e){return{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:e},color:{type:"palette",value:e},scale:"none",...Co}}function Po(e){return{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:e},scale:"none",...Co}}var ko={fill:jo,outline:$o,ghost:Po},Wo={defaults:{palette:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"6",spacingVertical:"3",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"7",spacingVertical:"4",gap:"2",iconSize:"md",textVariant:"headline1"}},palette:{info:{primary:{kind:"fill",effect:wo,base:jo("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("info"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("info"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"info"},...Co}}}},accent:{primary:{kind:"fill",effect:wo,base:jo("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("accent"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-10"},color:{type:"spectrum",value:"carbon-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"carbon-11"},color:{type:"spectrum",value:"carbon-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("accent"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"carbon-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"carbon-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"},...Co}}}},brand:{primary:{kind:"fill",effect:wo,base:jo("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("brand"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("brand"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},...Co}}}},alert:{primary:{kind:"fill",effect:wo,base:jo("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("alert"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("alert"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},...Co}}}},positive:{primary:{kind:"fill",effect:wo,base:jo("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("positive"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("positive"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},...Co}}}},warning:{primary:{kind:"fill",effect:wo,base:jo("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"},...Co}}},secondary:{kind:"outline",effect:So,base:$o("warning"),state:{hover:{scale:"up",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"},...Co},pressed:{scale:"down",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"},...Co}}},tertiary:{kind:"ghost",effect:xo,base:Po("warning"),state:{hover:{scale:"up",backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co},pressed:{scale:"down",backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},...Co}}}}}},Oo="https://s.yimg.com/bw/fonts",Ao=["Helvetica Neue","Helvetica","Arial","sans-serif"],Jo=["Georgia","Times","Times New Roman","serif"],Vo={"centra-no2":{fallback:Ao,type:"sans",fontFamily:"Centra No2",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Hairline",value:50},{label:"Thin",value:100},{label:"Light",value:300},{label:"Book",value:400},{label:"Medium",value:500},{label:"Bold",value:700},{label:"ExtraBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"50",src:`url('${Oo}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${Oo}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${Oo}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${Oo}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${Oo}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Ao,type:"sans",fontFamily:"Inter",isVariableFont:!0,fontSlants:[{label:"Italic",value:-10},{label:"None",value:0}],fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Extra Light",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semi Bold",value:600},{label:"Bold",value:700},{label:"Extra Bold",value:800},{label:"Black",value:900}],defaults:{fontSlant:0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/inter-vf.woff2') format('woff2')`}]},"roboto-mono":{fallback:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"],type:"mono",fontFamily:"Roboto Mono",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Thin",value:100},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"100",src:`url('${Oo}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${Oo}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${Oo}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${Oo}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${Oo}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Ao,type:"sans",fontFamily:"Yahoo Sans",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"ExtraLight",value:200},{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Semibold",value:585},{label:"Bold",value:700},{label:"ExtraBold",value:810},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Ao,type:"sans",fontFamily:"Yahoo CR4 BETA VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Ao,type:"sans",fontFamily:"Yahoo Product Sans VF",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Ao,type:"sans",fontFamily:"YahooPd_Eval202412",isVariableFont:!0,fontSlants:[{label:"Italic",value:9},{label:"None",value:0}],fontWidths:[{label:"Cond",value:50},{label:"Normal",value:75},{label:"Ext",value:100}],fontWeights:[{label:"Light",value:300},{label:"Regular",value:450},{label:"Medium",value:500},{label:"Semibold",value:600},{label:"Bold",value:700},{label:"Black",value:850}],defaults:{fontSlant:0,fontWidth:75,fontWeight:450},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${Oo}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Ao,type:"sans",fontFamily:"Yahoo Sans Cond",isVariableFont:!0,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Medium",value:500},{label:"Bold",value:718},{label:"XBold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontWeight:"1 1000",src:`url('${Oo}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Jo,type:"serif",fontFamily:"Yahoo Serif Display",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Light",value:300},{label:"Regular",value:400},{label:"Bold",value:700},{label:"Extrabold",value:800},{label:"Black",value:900}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"300",src:`url('${Oo}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${Oo}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${Oo}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Jo,type:"serif",fontFamily:"Yahoo Serif Text",isVariableFont:!1,fontSlants:void 0,fontWidths:void 0,fontWeights:[{label:"Regular",value:400},{label:"Bold",value:700}],defaults:{fontSlant:void 0,fontWidth:void 0,fontWeight:400},declarations:[{fontStyle:"normal",fontWeight:"400",src:`url('${Oo}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${Oo}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${Oo}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};var To={black:"0 0 0",white:"255 255 255"};function Fo({preset:e,prefix:o,shadowType:t}){const a=`--uds-${t}-shadow-`,n="palette"===e.color?.type,s="always"===e.color?.type;let l=`var(--uds-${n?"shadow":"spectrum"}-color-${e?.color?.value})`;s&&(l=To[e.color.value]);const i=`var(${a}${o?`${o}-`:""}color, ${l})`;return`${"inset"===t?"inset ":""}${[`${r.shadowOffsetMap[e.offsetX]}px`,`${r.shadowOffsetMap[e.offsetY]}px`,`${r.spacingMap[e.blur]}px`,`${r.shadowSpreadRadiusMap[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${i} / var(${a}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}var Eo=({componentName:e,layer:o,propertyKey:t})=>!("chip"!==e||"root"!==o||!["borderColor","borderWidth"].includes(t))||!("input"!==e||"inputWrapper"!==o||!["borderColor","borderWidth"].includes(t)),Mo={...{backgroundColor:{name:"backgroundColor",cssProperties:"background-color",twThemePath:(e,o)=>{if("spectrumColors"===e){const[e,t]=o.split("-");return`colors.${e}.${t}`}return"backgroundPaletteColors"===e||"alwaysPaletteAliases"===e?`backgroundColor.${o}`:"Error"},possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},borderWidth:{name:"borderWidth",cssProperties:"border-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>Eo(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,o)=>`borderRadius.${o}`,possibleFixtures:["borderRadii"]},borderColor:{name:"borderColor",cssProperties:"border-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>Eo(e)&&["outlineColor"]},fontFamily:{name:"fontFamily",cssProperties:"font-family",twThemePath:(e,o)=>`typography.fontFamily.${o}`,possibleFixtures:["textVariants"]},fontSize:{name:"fontSize",cssProperties:"font-size",twThemePath:(e,o)=>`typography.fontSize.${o}`,possibleFixtures:["textVariants"]},fontVariationSettings:{name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:o}=e;return`"wght" var(--uds-font-weight-${o}), "slnt" var(--uds-font-slant-${o}), "wdth" var(--uds-font-width-${o});`}},lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:(e,o)=>`typography.lineHeight.${o}`,possibleFixtures:["textVariants"]},textTransform:{name:"textTransform",cssProperties:"text-transform",twThemePath:(e,o)=>`typography.textTransform.${o}`,possibleFixtures:["textVariants"]},padding:{name:"padding",cssProperties:"padding",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},gap:{name:"gap",cssProperties:"gap",twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},color:{name:"color",cssProperties:"color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"foregroundPaletteColors"===e)return`textColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`textColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},fontWeight:{name:"fontWeight",cssProperties:"font-weight",twThemePath:(e,o)=>`typography.fontWeight.${o}`,possibleFixtures:["textVariants"]},iconSize:{name:"iconSize",cssProperties:["width","height"],twThemePath:(e,o)=>`sizing.icon.${o}`,possibleFixtures:["iconSizes"]},spacingHorizontal:{name:"spacingHorizontal",cssProperties:["padding-right","padding-left"],twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},spacingVertical:{name:"spacingVertical",cssProperties:["padding-top","padding-bottom"],twThemePath:(e,o)=>`spacing[${o}]`,possibleFixtures:["spacingAliases"]},textVariant:{name:"textVariant",cssProperties:[],twThemePath:()=>"",possibleFixtures:["textVariants"],extendedProperties:["fontSize","fontWeight","fontFamily","lineHeight","textTransform","fontVariationSettings"]},textDecorationLine:{name:"textDecorationLine",cssProperties:"text-decoration-line",possibleFixtures:["textDecorationLines"],twThemePath:()=>"",customValueRenderer:e=>String(e.value)},shadow:{name:"drop shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const o="drop";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariants"]},insetShadow:{name:"inset shadow",cssProperties:"box-shadow",twThemePath:()=>"",concatenate:!0,customValueRenderer:e=>{const o="inset";if("alias"===e.valueType){const t="0 0 0 transparent";if("none"===e.value)return t;if("custom"!==e.value)return`var(--uds-${o}-shadow-${e.value})`}else if("custom"===e.valueType){const t=e.value.map((e,t)=>Fo({preset:e,shadowType:o,prefix:t>0?`${t+1}`:void 0}));return t?.join(", ")||"0 0 0 transparent"}throw new Error("Invalid valueType")},possibleFixtures:["shadowVariantsWithInvert"]},height:{name:"height",cssProperties:"height",twThemePath:(e,o)=>`height[${o}]`,possibleFixtures:["spacingAliases"]},width:{name:"width",cssProperties:"width",twThemePath:(e,o)=>`width[${o}]`,possibleFixtures:["spacingAliases"]}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:{name:"outlineColor",cssProperties:"outline-color",twThemePath:(e,o)=>{if("alwaysPaletteAliases"===e||"linePaletteColors"===e)return`borderColor.${o}`;if("spectrumColors"===e){const[e,t]=o.split("-");return`borderColor.${e}.${t}`}return"Error"},possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:o},t,r)=>`calc(-1 * ${r("borderWidths"===o?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};exports.DEFAULT_COLOR_MODE="light",exports.DEFAULT_COLOR_MODE_FOR_APP="system",exports.DEFAULT_HIGH_CONTRAST_MODE=!1,exports.DEFAULT_REGION_MODE="🇺🇸 US",exports.DEFAULT_SCALE_MODE="large",exports.DEFAULT_SCALE_MODE_FOR_APP="system",exports.FONT_DECLARATIONS_MAP=Vo,exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.button=Wo,exports.cartesianProduct=Ze,exports.coalesceConfigVariant=eo,exports.configurableProperties=Mo,exports.createComponentStateConfig=function(e){return e},exports.createComponentStates=function(e){return e},exports.createConfigurableProperty=function(e){return e},exports.createLayerConfig=function(e){return e},exports.createSubComponentConfig=function(e){return e},exports.createVariantConfig=function(e){return e},exports.createVariantConfigWithComponentStates=function(e){return e},exports.createVariantConfigWithProperties=function(e){return e},exports.findFixtureType=yo,exports.fontWeightMap={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},exports.fromEntries=function(e){return Object.fromEntries(e)},exports.generateClassName=ho,exports.generateDeclaration=bo,exports.generateKeyFromFlatConfigPath=function(e){let o=e;return o=o.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{o=o.replaceAll(e,"")}),o},exports.generateSchemaKey=Qe,exports.generateStyles=function(e,o,t,r){function a(e,o){return(0,Ge.default)({},e,o)}let n=e.label.toLowerCase();e.overrideComponentName&&(n=e.overrideComponentName.toLowerCase());let s={};for(const l in e.variants){const i=e.variants[l];for(const e of i.options)if(i.componentStates){const u=i.componentStates;for(const i in u){const c=u[i];for(const u of c.options)for(const p in c.layers){const f=c.layers[p];for(const c in f.properties){const d=f.properties[c];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:p,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:c,originalPropertyDefinition:d,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const u in i.layers){const c=i.layers[u];for(const i in c.properties){const p=c.properties[i];s=a(s,bo({componentName:n,variantKey:l,variantValue:e,layer:u,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:i,originalPropertyDefinition:p,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}if(e.subComponents){const{subComponents:l}=e;for(const e in l)for(const i in l[e].variants){const u=l[e].variants[i];for(const l of u.options)if(u.componentStates){const c=u.componentStates;for(const u in c){const p=c[u];for(const c of p.options)for(const f in p.layers){const d=p.layers[f];for(const p in d.properties){const m=d.properties[p];s=a(s,bo({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:c,subComponentName:e,layer:f,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:p,originalPropertyDefinition:m,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}else for(const c in u.layers){const p=u.layers[c];for(const u in p.properties){const f=p.properties[u];s=a(s,bo({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:t,schema:o,currentStyles:s,previewOptions:r}))}}}}return s},exports.getConfigDefaultValue=oo,exports.getConfigPseudoStateVariables=po,exports.getConfigPseudoStateVariablesWithSetter=function(e,o,t,r,a){return[po(e,o,t,r,a),n=>fo(e,o,t,r,a,n)]},exports.getConfigSubcomponents=uo,exports.getConfigVariantComponentStates=so,exports.getConfigVariantComponentStatesMatrix=function(e,o,t){const r=so(e,o,t);return r?Ze((0,to.default)(r).map(([e,o])=>o.options.map(o=>({[e]:o})))).map(e=>Array.isArray(e)?e.reduce((e,o)=>({...e,...o}),{}):e):null},exports.getConfigVariantProperties=function(o){if(!o||!ao(o))return null;const t=e.mapValues(o.layers,e=>e.properties);for(const e in t){const o=t[e];o&&0!==Object.keys(o).length||delete t[e]}return 0===Object.keys(t).length?null:t},exports.getConfigVariantPseudoStates=function(e,o,t,r){const a=ro(e,o,r);return a?[...ao(a)?Object.entries(a?.layers??{}):[],...no(a)&&t?Object.entries(a.componentStates[t].layers??{}):[]].flatMap(([e,o])=>Object.entries(o.properties).map(([o,t])=>[e,o,t])).flatMap(([e,o,t])=>[...lo,...t.pseudoStates??[]].map(r=>[e,o,t,r])).reduce((e,[o,t,r,a])=>{e[a]=e[a]??[];const n=[o,t,r];return e[a].push(n),e},{}):null},exports.getConfigVariants=function(e,o="variant"){const t=eo(e,o);if("no-variants"===t.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===t.type){if(uo(e))throw new Error("A config with a root variants.variant defintion cannot have subcomponents");return{type:"no-sub-components",description:t.variant.description,variantNames:[...t.variant.options]}}const r=(0,io.default)(t.variants).reduce((e,[o,t])=>{for(const r of t.options)e[r]??=[],e[r].includes(o)||e[r].push(o);return e},{});return{type:"has-sub-components",description:Object.values(t.variants).map(e=>e.description).filter(e=>e)[0]??"",variantNames:Object.keys(r),variantToSubcomponentNames:r}},exports.getDefaultButtonBaseMap=ko,exports.getShadowLayerValue=Fo,exports.getShadowPresetValues=function({config:o,shadowType:t}){const r=o?.shadow?.[t];if(!r)return{};const a={};return e.entries(r).forEach(([e,o])=>{if("none"===e)return void(a[`--uds-${t}-shadow-${e}`]="0 0 transparent");const r=o.map((e,o)=>Fo({preset:e,prefix:o>0?`${o+1}`:void 0,shadowType:t}));a[`--uds-${t}-shadow-${e}`]=`${r.join(", ")}`}),a},exports.isConfigDefaultValue=function(e,o,t,r){return oo(e,o,t)===r},exports.parseButtonVariantFlat=function({palette:e="accent",variant:o="primary"}){return"accent"===e?o:"primary"===o?e:`${e}-${o}`},exports.parseDeprecatedButtonPaletteVariant=function({flatVariant:e}){if(!e)return{palette:void 0,variant:void 0};const[o,t]=e.split("-");return t?{palette:o,variant:t}:["primary","secondary","tertiary"].includes(e)?{palette:"accent",variant:e}:{palette:e,variant:"primary"}},exports.setConfigPseudoStateVariable=fo,exports.shadow={drop:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}]},inset:{none:[],xs:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"palette",value:"primary"}}],sm:[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"palette",value:"primary"}}],md:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],lg:[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"palette",value:"primary"}}],xl:[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"palette",value:"primary"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"palette",value:"primary"}}],"2xl":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"palette",value:"primary"}}],"xs-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"5",color:{type:"always",value:"white"}}],"sm-invert":[{offsetX:"0",offsetY:"px",blur:"0.5",spread:"0",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"px",blur:"1",spread:"0",opacity:"10",color:{type:"always",value:"white"}}],"md-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-px",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"0.5",blur:"1",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"lg-invert":[{offsetX:"0",offsetY:"1",blur:"1.5",spread:"-1",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"2.5",blur:"3.5",spread:"-0.5",opacity:"10",color:{type:"always",value:"white"}}],"xl-invert":[{offsetX:"0",offsetY:"2",blur:"2.5",spread:"-1.5",opacity:"10",color:{type:"always",value:"white"}},{offsetX:"0",offsetY:"5",blur:"6",spread:"-1",opacity:"10",color:{type:"always",value:"white"}}],"2xl-invert":[{offsetX:"0",offsetY:"6",blur:"12",spread:"-3",opacity:"25",color:{type:"always",value:"white"}}]}},exports.statePseudoMapDocsMode=vo,exports.toMinimalDbConfigObject=function(e){const o={},t={};for(const o in e.variants){const r=e.variants[o];t[o]=r.default}o.defaults=t,o.variables={};for(const t in e.variants){const r=e.variants[t];for(const e of r.options)if(r.componentStates){const a=r.componentStates;for(const r in a){const n=a[r];for(const a of n.options)for(const s in n.layers){const l=n.layers[s],i=Qe({variantKey:t,variantValue:e,stateKey:r,stateValue:a,layer:s});o.variables[i]={};for(const t in l.properties){const r=l.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[i]={...o.variables[i],...a}}}}}else for(const a in r.layers){const n=r.layers[a],s=Qe({variantKey:t,variantValue:e,layer:a});o.variables[s]={};for(const t in n.properties){const r=n.properties[t],a={[t]:{rest:{type:yo(r,e),valueType:"alias",value:r.defaults[e]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[t][o]={type:yo(r,e),valueType:"alias",value:r.defaults[e]};o.variables[s]={...o.variables[s],...a}}}}if(e.subComponents){const{subComponents:t}=e;for(const e in t)for(const r in t[e].variants){const a=t[e].variants[r];o.defaults[r]=a.default;for(const t of a.options)if(a.componentStates){const n=a.componentStates;for(const a in n){const s=n[a];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=Qe({variantKey:r,variantValue:t,stateKey:a,stateValue:n,layer:l,subComponentName:e});o.variables[u]={};for(const e in i.properties){const r=i.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[u]={...o.variables[u],...a}}}}}else for(const n in a.layers){const s=a.layers[n],l=Qe({variantKey:r,variantValue:t,layer:n,subComponentName:e});o.variables[l]={};for(const e in s.properties){const r=s.properties[e],a={[e]:{rest:{type:yo(r,t),valueType:"alias",value:r.defaults[t]}}};if(r.pseudoStates)for(const o of r.pseudoStates)a[e][o]={type:yo(r,t),valueType:"alias",value:r.defaults[t]};o.variables[l]={...o.variables[l],...a}}}}}return o};
|
1
|
+
"use strict";var e=require("./chunk-J7PUOUXC.cjs"),o=require("./chunk-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 +1 @@
|
|
1
|
-
"use strict";var r=require("./chunk-
|
1
|
+
"use strict";var r=require("./chunk-IAD33G4C.cjs"),e=require("./chunk-5RTXYZAR.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";/*! © 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`,$=`${t}-color-mode-light`,L=`${t}-color-mode-system`,p=`${t}-color-mode-invert`,O=`${t}-scale-mode-xsmall`,u=`${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=$,T=R,N={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`}}},f={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=N,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=f,exports.ICON_SIZE_PREFIX=S,exports.INVERT_COLOR_MODE_CLASSNAME=p,exports.LARGE_SCALE_MODE_CLASSNAME=R,exports.LIGHT_COLOR_MODE_CLASSNAME=$,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=u,exports.SPECTRUM_COLOR_PREFIX=a,exports.SYSTEM_COLOR_MODE_CLASSNAME=L,exports.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES={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=O,exports.XXLARGE_SCALE_MODE_CLASSNAME=M,exports.XXXLARGE_SCALE_MODE_CLASSNAME=C;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{getMotionVar as r}from"./chunk-DP63H5CQ.js";import{FONT_DECLARATIONS_MAP as t,fromEntries as a}from"./chunk-TTFCIMMV.js";import{entries as n}from"./chunk-EWJ3J526.js";import{require_baseGetTag as o,require_isArray as e,require_isObjectLike as s}from"./chunk-IDW7LALS.js";import{TEXT_TRANSFORM_PREFIX as i,LINE_HEIGHT_PREFIX as d,FONT_SIZE_PREFIX as f,FONT_WIDTH_PREFIX as c,FONT_SLANT_PREFIX as l,FONT_WEIGHT_PREFIX as u,FONT_FAMILY_PREFIX as m,TEXT_RESPONSIVE_CLASSNAME as p,UDS_PREFIX as h,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as $}from"./chunk-O4J7VREK.js";import{__commonJS as g,__toESM as v}from"./chunk-GF4A6TFM.js";import{textVariants as w,motionSpringConfigOptions as x}from"@yahoo/uds/fixtures";import b from"tailwindcss/plugin.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
+
var M=g({"../../node_modules/lodash/isString.js"(r,t){var a=o(),n=e(),i=s();t.exports=function(r){return"string"==typeof r||!n(r)&&i(r)&&"[object String]"==a(r)}}}),k=v(M(),1),y=r=>{throw new Error("Didn't expect to get here")};var j=r=>"."+$[r],S=(r,t,a,n)=>{const o=r.typography[t]?.[a];if(!o)throw new Error(`Missing typography data for variant "${t}" and key "${a}"`);const e="base"===n?o.base:o.breakpoints?.[n];if(!e)throw new Error(`Missing value for variant "${t}", key "${a}", and breakpoint "${n}"`);if((0,k.default)(e))return e;switch(e.type){case"px":return e.value/16+"rem";case"unitless":return String(e.value)}return y()},E=(r,t)=>t in r.font?`var(--${m}-${t})`:t,F=(r,t)=>Object.fromEntries(w.flatMap(a=>[[`--${m}-${a}`,E(r,S(r,a,"fontFamily",t))],[`--${f}-${a}`,S(r,a,"fontSize",t)],[`--${u}-${a}`,S(r,a,"fontWeight",t)],[`--${l}-${a}`,S(r,a,"fontSlant",t)],[`--${c}-${a}`,S(r,a,"fontWidth",t)],[`--${d}-${a}`,S(r,a,"lineHeight",t)],[`--${i}-${a}`,S(r,a,"textTransform",t)]])),L=r=>Object.fromEntries(w.map(t=>[t,`var(--${r}-${t})`])),O={fontFamily:L(m),fontWeight:L(u),fontSlant:L(l),fontWidth:L(c),fontSize:L(f),lineHeight:L(d),textTransform:L(i)},W=r=>F(r,"base"),_=r=>{const t=(a=r.breakpoints,Object.entries(a)).sort(([,{value:r}],[,{value:t}])=>r-t);var a;return{[`.${p}`]:Object.fromEntries(t.map(([t,{value:a}])=>[`@media (min-width: ${a}px)`,F(r,t)])),[j("base")]:F(r,"base"),...Object.fromEntries(t.map(([t])=>[j(t),F(r,t)]))}};function T(r,{addBase:t}){const a=B(r);for(const r of a)t({"@font-face":r})}var z=b.withOptions(function({fontIds:r}){return function({addBase:t}){T(r,{addBase:t})}});function D(r){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...r.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...r.colorMode.dark._vars}}}function B(r){return r.flatMap(r=>{const{declarations:a,fontFamily:n}=t[r];return a.map(r=>({fontFamily:n,fontDisplay:"swap",...r}))})}function H(r){return`"${r}"`}function I(r){return a(n(r).map(([r,a])=>{const n=`--${m}-${r}`,o=t[a];return[n,[o.fontFamily,...o.fallback].map(H).join(", ")]}))}function J(t){const o=n(t).flatMap(([t,a])=>n(a).flatMap(([a,n])=>x.map(o=>[r({variant:t,speed:a,control:o}),`${n[o]}`])));return a(o)}function A(r){return{...r.borderRadius._vars,...r.borderWidth._vars,...r.avatarSizes._vars,...r.iconSizes._vars}}function C(r){return{xSmall:A(r.scaleMode.xSmall),small:A(r.scaleMode.small),medium:A(r.scaleMode.medium),large:A(r.scaleMode.large),xLarge:A(r.scaleMode.xLarge),xxLarge:A(r.scaleMode.xxLarge),xxxLarge:A(r.scaleMode.xxxLarge)}}function R({config:r,shadowType:t}){const o=r.shadow[t],e=n(o).map(([r])=>[`.uds-${t}-shadow-${r}`,{[`--uds-${t}-shadow`]:`var(--${h}-${t}-shadow-${r})`,boxShadow:`var(--${h}-drop-shadow, 0 0 transparent), var(--${h}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return a(e)}export{O as RESPONSIVE_TAILWIND_CONFIG_MAP,T as addFontFaceDeclarations,z as addFontsPlugin,y as assertUnreachable,W as getBaseTextVars,D as getColorModeStyles,B as getFontFaceDeclarations,I as getFontStyles,J as getMotionStyles,_ as getResponsiveTextStyles,C as getScaleModeStyles,R as getShadowStyles,M as require_isString};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
+
var t="uds",o=`${t}-avatar-size`,e=`${t}-border-radius`,s=`${t}-border-width`,d=`${t}-font`,n=`${t}-font-size`,i=`${t}-font-weight`,r=`${t}-font-slant`,a=`${t}-font-width`,l=`${t}-icon-size`,$=`${t}-line-height`,b=`${t}-motion`,u=`${t}-spectrum-color`,c=`${t}-text-transform`,f=`${t}-color-mode-dark`,m=`${t}-color-mode-light`,h=`${t}-color-mode-system`,x=`${t}-color-mode-invert`,g=`${t}-scale-mode-xsmall`,p=`${t}-scale-mode-small`,v=`${t}-scale-mode-medium`,w=`${t}-scale-mode-large`,z=`${t}-scale-mode-xlarge`,S=`${t}-scale-mode-xxlarge`,W=`${t}-scale-mode-xxxlarge`,k=m,y=w,C="uds-text-responsive",D={base:"uds-text-base",sm:"uds-text-sm",md:"uds-text-md",lg:"uds-text-lg",xl:"uds-text-xl","2xl":"uds-text-2xl"},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`}}},G={padding:`--${t}-icon-button-padding`,iconSize:`--${t}-icon-button-icon-size`},H={hover:":hover:not([disabled])",pressed:":active:not([disabled])",disabled:":disabled",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:has(:disabled))"};export{o as AVATAR_SIZE_PREFIX,e as BORDER_RADIUS_PREFIX,s as BORDER_WIDTH_PREFIX,F as BUTTON_CSS_VAR_MAP,f as DARK_COLOR_MODE_CLASSNAME,k as DEFAULT_COLOR_MODE_CLASSNAME,y as DEFAULT_SCALE_MODE_CLASSNAME,d as FONT_FAMILY_PREFIX,n as FONT_SIZE_PREFIX,r as FONT_SLANT_PREFIX,i as FONT_WEIGHT_PREFIX,a as FONT_WIDTH_PREFIX,G as ICON_BUTTON_CSS_VAR_MAP,l as ICON_SIZE_PREFIX,x as INVERT_COLOR_MODE_CLASSNAME,w as LARGE_SCALE_MODE_CLASSNAME,m as LIGHT_COLOR_MODE_CLASSNAME,$ as LINE_HEIGHT_PREFIX,v as MEDIUM_SCALE_MODE_CLASSNAME,b as MOTION_PREFIX,H as PSEUDO_STYLE_SELECTOR_MAP,p as SMALL_SCALE_MODE_CLASSNAME,u as SPECTRUM_COLOR_PREFIX,h as SYSTEM_COLOR_MODE_CLASSNAME,D as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,C as TEXT_RESPONSIVE_CLASSNAME,c as TEXT_TRANSFORM_PREFIX,t as UDS_PREFIX,z as XLARGE_SCALE_MODE_CLASSNAME,g as XSMALL_SCALE_MODE_CLASSNAME,S as XXLARGE_SCALE_MODE_CLASSNAME,W as XXXLARGE_SCALE_MODE_CLASSNAME};
|