@yahoo/uds 3.66.2 → 3.66.3

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.
@@ -1,2 +1,2 @@
1
1
  import{mapValues as e,entries as o}from"./chunk-RXOSKQ3M.js";import{require_isArray as t,require_createCompounder as a,require_getNative as r,require_Map as n,require_overArg as s,require_isPrototype as l,require_isArrayLike as i,require_isArguments as u,require_isBuffer as d,require_isTypedArray as f,require_isFunction as c,require_arrayMap as p,require_getTag as h,require_baseKeys as m,require_baseUnary as b,require_nodeUtil as v}from"./chunk-I3KJ5PGH.js";import{require_baseGetTag as y,require_isObjectLike as _,require_root as g,require_isObject as w,require_Symbol as x,BUTTON_SCALE_EFFECT as j,LETTER_SPACING_PREFIX as $,TEXT_TRANSFORM_PREFIX as S,LINE_HEIGHT_PREFIX as P,FONT_SIZE_PREFIX as W,FONT_WIDTH_PREFIX as C,FONT_SLANT_PREFIX as O,FONT_WEIGHT_PREFIX as T,FONT_FAMILY_PREFIX as A,TEXT_RESPONSIVE_CLASSNAME as V,BUTTON_SCALE_EFFECT_REST as F,BUTTON_SCALE_EFFECT_HOVER as k,BUTTON_SCALE_EFFECT_PRESSED as N,BUTTON_GAP_VAR as E,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as K}from"./chunk-STPH6333.js";import{__commonJS as Y,__toESM as z}from"./chunk-GF4A6TFM.js";import{textVariants as R,shadowOffsetMap as M,spacingMap as B,shadowSpreadRadiusMap as X}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- var I=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isString.js"(e,o){var a=y(),r=t(),n=_();o.exports=function(e){return"string"==typeof e||!r(e)&&n(e)&&"[object String]"==a(e)}}}),L=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/lowerCase.js"(e,o){var t=a()(function(e,o,t){return e+(t?" ":"")+o.toLowerCase()});o.exports=t}}),D=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheClear.js"(e,o){o.exports=function(){this.__data__=[],this.size=0}}}),H=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/eq.js"(e,o){o.exports=function(e,o){return e===o||e!=e&&o!=o}}}),U=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js"(e,o){var t=H();o.exports=function(e,o){for(var a=e.length;a--;)if(t(e[a][0],o))return a;return-1}}}),G=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js"(e,o){var t=U(),a=Array.prototype.splice;o.exports=function(e){var o=this.__data__,r=t(o,e);return!(r<0)&&(r==o.length-1?o.pop():a.call(o,r,1),--this.size,!0)}}}),q=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheGet.js"(e,o){var t=U();o.exports=function(e){var o=this.__data__,a=t(o,e);return a<0?void 0:o[a][1]}}}),J=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheHas.js"(e,o){var t=U();o.exports=function(e){return t(this.__data__,e)>-1}}}),Q=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheSet.js"(e,o){var t=U();o.exports=function(e,o){var a=this.__data__,r=t(a,e);return r<0?(++this.size,a.push([e,o])):a[r][1]=o,this}}}),Z=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_ListCache.js"(e,o){var t=D(),a=G(),r=q(),n=J(),s=Q();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),ee=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackClear.js"(e,o){var t=Z();o.exports=function(){this.__data__=new t,this.size=0}}}),oe=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),te=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackGet.js"(e,o){o.exports=function(e){return this.__data__.get(e)}}}),ae=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackHas.js"(e,o){o.exports=function(e){return this.__data__.has(e)}}}),re=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_nativeCreate.js"(e,o){var t=r()(Object,"create");o.exports=t}}),ne=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashClear.js"(e,o){var t=re();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),se=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),le=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashGet.js"(e,o){var t=re(),a=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;if(t){var r=o[e];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(o,e)?o[e]:void 0}}}),ie=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashHas.js"(e,o){var t=re(),a=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:a.call(o,e)}}}),ue=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashSet.js"(e,o){var t=re();o.exports=function(e,o){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=t&&void 0===o?"__lodash_hash_undefined__":o,this}}}),de=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Hash.js"(e,o){var t=ne(),a=se(),r=le(),n=ie(),s=ue();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),fe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js"(e,o){var t=de(),a=Z(),r=n();o.exports=function(){this.size=0,this.__data__={hash:new t,map:new(r||a),string:new t}}}}),ce=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),pe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getMapData.js"(e,o){var t=ce();o.exports=function(e,o){var a=e.__data__;return t(o)?a["string"==typeof o?"string":"hash"]:a.map}}}),he=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js"(e,o){var t=pe();o.exports=function(e){var o=t(this,e).delete(e);return this.size-=o?1:0,o}}}),me=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js"(e,o){var t=pe();o.exports=function(e){return t(this,e).get(e)}}}),be=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js"(e,o){var t=pe();o.exports=function(e){return t(this,e).has(e)}}}),ve=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js"(e,o){var t=pe();o.exports=function(e,o){var a=t(this,e),r=a.size;return a.set(e,o),this.size+=a.size==r?0:1,this}}}),ye=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_MapCache.js"(e,o){var t=fe(),a=he(),r=me(),n=be(),s=ve();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),_e=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackSet.js"(e,o){var t=Z(),a=n(),r=ye();o.exports=function(e,o){var n=this.__data__;if(n instanceof t){var s=n.__data__;if(!a||s.length<199)return s.push([e,o]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,o),this.size=n.size,this}}}),ge=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Stack.js"(e,o){var t=Z(),a=ee(),r=oe(),n=te(),s=ae(),l=_e();function i(e){var o=this.__data__=new t(e);this.size=o.size}i.prototype.clear=a,i.prototype.delete=r,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,o.exports=i}}),we=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_defineProperty.js"(e,o){var t=r(),a=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();o.exports=a}}),xe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js"(e,o){var t=we();o.exports=function(e,o,a){"__proto__"==o&&t?t(e,o,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[o]=a}}}),je=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js"(e,o){var t=xe(),a=H();o.exports=function(e,o,r){(void 0!==r&&!a(e[o],r)||void 0===r&&!(o in e))&&t(e,o,r)}}}),$e=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createBaseFor.js"(e,o){o.exports=function(e){return function(o,t,a){for(var r=-1,n=Object(o),s=a(o),l=s.length;l--;){var i=s[e?l:++r];if(!1===t(n[i],i,n))break}return o}}}}),Se=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseFor.js"(e,o){var t=$e()();o.exports=t}}),Pe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js"(e,o){var t=g(),a="object"==typeof e&&e&&!e.nodeType&&e,r=a&&"object"==typeof o&&o&&!o.nodeType&&o,n=r&&r.exports===a?t.Buffer:void 0,s=n?n.allocUnsafe:void 0;o.exports=function(e,o){if(o)return e.slice();var t=e.length,a=s?s(t):new e.constructor(t);return e.copy(a),a}}}),We=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Uint8Array.js"(e,o){var t=g().Uint8Array;o.exports=t}}),Ce=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js"(e,o){var t=We();o.exports=function(e){var o=new e.constructor(e.byteLength);return new t(o).set(new t(e)),o}}}),Oe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js"(e,o){var t=Ce();o.exports=function(e,o){var a=o?t(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}}}),Te=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copyArray.js"(e,o){o.exports=function(e,o){var t=-1,a=e.length;for(o||(o=Array(a));++t<a;)o[t]=e[t];return o}}}),Ae=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseCreate.js"(e,o){var t=w(),a=Object.create,r=function(){function e(){}return function(o){if(!t(o))return{};if(a)return a(o);e.prototype=o;var r=new e;return e.prototype=void 0,r}}();o.exports=r}}),Ve=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getPrototype.js"(e,o){var t=s()(Object.getPrototypeOf,Object);o.exports=t}}),Fe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneObject.js"(e,o){var t=Ae(),a=Ve(),r=l();o.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:t(a(e))}}}),ke=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js"(e,o){var t=i(),a=_();o.exports=function(e){return a(e)&&t(e)}}}),Ne=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isPlainObject.js"(e,o){var t=y(),a=Ve(),r=_(),n=Function.prototype,s=Object.prototype,l=n.toString,i=s.hasOwnProperty,u=l.call(Object);o.exports=function(e){if(!r(e)||"[object Object]"!=t(e))return!1;var o=a(e);if(null===o)return!0;var n=i.call(o,"constructor")&&o.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}}}),Ee=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_safeGet.js"(e,o){o.exports=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}}}),Ke=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assignValue.js"(e,o){var t=xe(),a=H(),r=Object.prototype.hasOwnProperty;o.exports=function(e,o,n){var s=e[o];r.call(e,o)&&a(s,n)&&(void 0!==n||o in e)||t(e,o,n)}}}),Ye=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copyObject.js"(e,o){var t=Ke(),a=xe();o.exports=function(e,o,r,n){var s=!r;r||(r={});for(var l=-1,i=o.length;++l<i;){var u=o[l],d=n?n(r[u],e[u],u,r,e):void 0;void 0===d&&(d=e[u]),s?a(r,u,d):t(r,u,d)}return r}}}),ze=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseTimes.js"(e,o){o.exports=function(e,o){for(var t=-1,a=Array(e);++t<e;)a[t]=o(t);return a}}}),Re=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isIndex.js"(e,o){var t=/^(?:0|[1-9]\d*)$/;o.exports=function(e,o){var a=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<o}}}),Me=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js"(e,o){var a=ze(),r=u(),n=t(),s=d(),l=Re(),i=f(),c=Object.prototype.hasOwnProperty;o.exports=function(e,o){var t=n(e),u=!t&&r(e),d=!t&&!u&&s(e),f=!t&&!u&&!d&&i(e),p=t||u||d||f,h=p?a(e.length,String):[],m=h.length;for(var b in e)!o&&!c.call(e,b)||p&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,m))||h.push(b);return h}}}),Be=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),Xe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js"(e,o){var t=w(),a=l(),r=Be(),n=Object.prototype.hasOwnProperty;o.exports=function(e){if(!t(e))return r(e);var o=a(e),s=[];for(var l in e)("constructor"!=l||!o&&n.call(e,l))&&s.push(l);return s}}}),Ie=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/keysIn.js"(e,o){var t=Me(),a=Xe(),r=i();o.exports=function(e){return r(e)?t(e,!0):a(e)}}}),Le=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/toPlainObject.js"(e,o){var t=Ye(),a=Ie();o.exports=function(e){return t(e,a(e))}}}),De=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js"(e,o){var a=je(),r=Pe(),n=Oe(),s=Te(),l=Fe(),i=u(),p=t(),h=ke(),m=d(),b=c(),v=w(),y=Ne(),_=f(),g=Ee(),x=Le();o.exports=function(e,o,t,u,d,f,c){var w=g(e,t),j=g(o,t),$=c.get(j);if($)a(e,t,$);else{var S=f?f(w,j,t+"",e,o,c):void 0,P=void 0===S;if(P){var W=p(j),C=!W&&m(j),O=!W&&!C&&_(j);S=j,W||C||O?p(w)?S=w:h(w)?S=s(w):C?(P=!1,S=r(j,!0)):O?(P=!1,S=n(j,!0)):S=[]:y(j)||i(j)?(S=w,i(w)?S=x(w):v(w)&&!b(w)||(S=l(j))):P=!1}P&&(c.set(j,S),d(S,j,u,f,c),c.delete(j)),a(e,t,S)}}}}),He=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseMerge.js"(e,o){var t=ge(),a=je(),r=Se(),n=De(),s=w(),l=Ie(),i=Ee();o.exports=function e(o,u,d,f,c){o!==u&&r(u,function(r,l){if(c||(c=new t),s(r))n(o,u,l,d,e,f,c);else{var p=f?f(i(o,l),r,l+"",o,u,c):void 0;void 0===p&&(p=r),a(o,l,p)}},l)}}}),Ue=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/identity.js"(e,o){o.exports=function(e){return e}}}),Ge=Y({"../../node_modules/.bun/lodash@4.17.21/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)}}}),qe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_overRest.js"(e,o){var t=Ge(),a=Math.max;o.exports=function(e,o,r){return o=a(void 0===o?e.length-1:o,0),function(){for(var n=arguments,s=-1,l=a(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]=r(i),t(e,this,u)}}}}),Je=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/constant.js"(e,o){o.exports=function(e){return function(){return e}}}}),Qe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseSetToString.js"(e,o){var t=Je(),a=we(),r=Ue(),n=a?function(e,o){return a(e,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:r;o.exports=n}}),Ze=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_shortOut.js"(e,o){var t=Date.now;o.exports=function(e){var o=0,a=0;return function(){var r=t(),n=16-(r-a);if(a=r,n>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}}}),eo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_setToString.js"(e,o){var t=Qe(),a=Ze()(t);o.exports=a}}),oo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseRest.js"(e,o){var t=Ue(),a=qe(),r=eo();o.exports=function(e,o){return r(a(e,o,t),e+"")}}}),to=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js"(e,o){var t=H(),a=i(),r=Re(),n=w();o.exports=function(e,o,s){if(!n(s))return!1;var l=typeof o;return!!("number"==l?a(s)&&r(o,s.length):"string"==l&&o in s)&&t(s[o],e)}}}),ao=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createAssigner.js"(e,o){var t=oo(),a=to();o.exports=function(e){return t(function(o,t){var r=-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&&a(t[0],t[1],l)&&(s=n<3?void 0:s,n=1),o=Object(o);++r<n;){var i=t[r];i&&e(o,i,r,s)}return o})}}}),ro=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/mergeWith.js"(e,o){var t=He(),a=ao()(function(e,o,a,r){t(e,o,a,r)});o.exports=a}}),no=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseToPairs.js"(e,o){var t=p();o.exports=function(e,o){return t(o,function(o){return[o,e[o]]})}}}),so=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapToArray.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e,a){t[++o]=[a,e]}),t}}}),lo=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),io=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createToPairs.js"(e,o){var t=no(),a=h(),r=so(),n=lo();o.exports=function(e){return function(o){var s=a(o);return"[object Map]"==s?r(o):"[object Set]"==s?n(o):t(o,e(o))}}}}),uo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/keys.js"(e,o){var t=Me(),a=m(),r=i();o.exports=function(e){return r(e)?t(e):a(e)}}}),fo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/toPairs.js"(e,o){var t=io()(uo());o.exports=t}}),co=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/entries.js"(e,o){o.exports=fo()}}),po=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayEach.js"(e,o){o.exports=function(e,o){for(var t=-1,a=null==e?0:e.length;++t<a&&!1!==o(e[t],t,e););return e}}}),ho=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssign.js"(e,o){var t=Ye(),a=uo();o.exports=function(e,o){return e&&t(o,a(o),e)}}}),mo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssignIn.js"(e,o){var t=Ye(),a=Ie();o.exports=function(e,o){return e&&t(o,a(o),e)}}}),bo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayFilter.js"(e,o){o.exports=function(e,o){for(var t=-1,a=null==e?0:e.length,r=0,n=[];++t<a;){var s=e[t];o(s,t,e)&&(n[r++]=s)}return n}}}),vo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/stubArray.js"(e,o){o.exports=function(){return[]}}}),yo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getSymbols.js"(e,o){var t=bo(),a=vo(),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(o){return r.call(e,o)}))}:a;o.exports=s}}),_o=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copySymbols.js"(e,o){var t=Ye(),a=yo();o.exports=function(e,o){return t(e,a(e),o)}}}),go=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayPush.js"(e,o){o.exports=function(e,o){for(var t=-1,a=o.length,r=e.length;++t<a;)e[r+t]=o[t];return e}}}),wo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getSymbolsIn.js"(e,o){var t=go(),a=Ve(),r=yo(),n=vo(),s=Object.getOwnPropertySymbols?function(e){for(var o=[];e;)t(o,r(e)),e=a(e);return o}:n;o.exports=s}}),xo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copySymbolsIn.js"(e,o){var t=Ye(),a=wo();o.exports=function(e,o){return t(e,a(e),o)}}}),jo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js"(e,o){var a=go(),r=t();o.exports=function(e,o,t){var n=o(e);return r(e)?n:a(n,t(e))}}}),$o=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getAllKeys.js"(e,o){var t=jo(),a=yo(),r=uo();o.exports=function(e){return t(e,r,a)}}}),So=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getAllKeysIn.js"(e,o){var t=jo(),a=wo(),r=Ie();o.exports=function(e){return t(e,r,a)}}}),Po=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneArray.js"(e,o){var t=Object.prototype.hasOwnProperty;o.exports=function(e){var o=e.length,a=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(a.index=e.index,a.input=e.input),a}}}),Wo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneDataView.js"(e,o){var t=Ce();o.exports=function(e,o){var a=o?t(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}}}),Co=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),Oo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneSymbol.js"(e,o){var t=x(),a=t?t.prototype:void 0,r=a?a.valueOf:void 0;o.exports=function(e){return r?Object(r.call(e)):{}}}}),To=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneByTag.js"(e,o){var t=Ce(),a=Wo(),r=Co(),n=Oo(),s=Oe();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 a(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 r(e);case"[object Symbol]":return n(e)}}}}),Ao=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseIsMap.js"(e,o){var t=h(),a=_();o.exports=function(e){return a(e)&&"[object Map]"==t(e)}}}),Vo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isMap.js"(e,o){var t=Ao(),a=b(),r=v(),n=r&&r.isMap,s=n?a(n):t;o.exports=s}}),Fo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseIsSet.js"(e,o){var t=h(),a=_();o.exports=function(e){return a(e)&&"[object Set]"==t(e)}}}),ko=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isSet.js"(e,o){var t=Fo(),a=b(),r=v(),n=r&&r.isSet,s=n?a(n):t;o.exports=s}}),No=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseClone.js"(e,o){var a=ge(),r=po(),n=Ke(),s=ho(),l=mo(),i=Pe(),u=Te(),f=_o(),c=xo(),p=$o(),m=So(),b=h(),v=Po(),y=To(),_=Fe(),g=t(),x=d(),j=Vo(),$=w(),S=ko(),P=uo(),W=Ie(),C="[object Arguments]",O="[object Function]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[O]=A["[object WeakMap]"]=!1,o.exports=function e(o,t,d,h,w,V){var F,k=1&t,N=2&t,E=4&t;if(d&&(F=w?d(o,h,w,V):d(o)),void 0!==F)return F;if(!$(o))return o;var K=g(o);if(K){if(F=v(o),!k)return u(o,F)}else{var Y=b(o),z=Y==O||"[object GeneratorFunction]"==Y;if(x(o))return i(o,k);if(Y==T||Y==C||z&&!w){if(F=N||z?{}:_(o),!k)return N?c(o,l(F,o)):f(o,s(F,o))}else{if(!A[Y])return w?o:{};F=y(o,Y,k)}}V||(V=new a);var R=V.get(o);if(R)return R;V.set(o,F),S(o)?o.forEach(function(a){F.add(e(a,t,d,a,o,V))}):j(o)&&o.forEach(function(a,r){F.set(r,e(a,t,d,r,o,V))});var M=K?void 0:(E?N?m:p:N?W:P)(o);return r(M||o,function(a,r){M&&(a=o[r=a]),n(F,r,e(a,t,d,r,o,V))}),F}}}),Eo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/cloneDeep.js"(e,o){var t=No();o.exports=function(e){return t(e,5)}}}),Ko=z(I(),1),Yo=e=>{throw new Error("Didn't expect to get here")};function zo(e){return Object.entries(e)}var Ro=e=>e.replace("/","-"),Mo=e=>"."+K[e],Bo=(e,o,t,a)=>{const r=e.typography[o]?.[t];if(!r)throw new Error(`Missing typography data for variant "${o}" and key "${t}"`);const n="base"===a?r.base:r.breakpoints?.[a];if(!n)throw new Error(`Missing value for variant "${o}", key "${t}", and breakpoint "${a}"`);if((0,Ko.default)(n))return n;switch(n.type){case"px":return n.value/16+"rem";case"unitless":return String(n.value)}return Yo()},Xo=(e,o)=>o in e.font?`var(--${A}-${o})`:o,Io=(e,o)=>Object.fromEntries(R.flatMap(t=>{const a=Ro(t);return[[`--${A}-${a}`,Xo(e,Bo(e,t,"fontFamily",o))],[`--${W}-${a}`,Bo(e,t,"fontSize",o)],[`--${T}-${a}`,Bo(e,t,"fontWeight",o)],[`--${O}-${a}`,Bo(e,t,"fontSlant",o)],[`--${C}-${a}`,Bo(e,t,"fontWidth",o)],[`--${P}-${a}`,Bo(e,t,"lineHeight",o)],[`--${S}-${a}`,Bo(e,t,"textTransform",o)],[`--${$}-${a}`,Bo(e,t,"letterSpacing",o)]]})),Lo=e=>Object.fromEntries(R.map(Ro).map(o=>[o,`var(--${e}-${o})`])),Do={fontFamily:Lo(A),fontWeight:Lo(T),fontSlant:Lo(O),fontWidth:Lo(C),fontSize:Lo(W),lineHeight:Lo(P),textTransform:Lo(S),letterSpacing:Lo($)},Ho=e=>Io(e,"base"),Uo=e=>{const o=zo(e.breakpoints).sort(([,{value:e}],[,{value:o}])=>e-o);return{[`.${V}`]:Object.fromEntries(o.map(([o,{value:t}])=>[`@media (min-width: ${t}px)`,Io(e,o)])),[Mo("base")]:Io(e,"base"),[Mo("defaultBreakpoint")]:Io(e,e.globalDefaults.breakpoint),...Object.fromEntries(o.map(([o])=>[Mo(o),Io(e,o)]))}},Go=z(c(),1),qo=z(L(),1),Jo=z(ro(),1);function Qo({variantKey:e,variantValue:o,layer:t,subComponentName:a,stateKey:r,stateValue:n}){return a?r&&n?`${a}/${e}/${o}/${r}/${n}/${t}`:`${a}/${e}/${o}/${t}`:r&&n?`${e}/${o}/${r}/${n}/${t}`:`${e}/${o}/${t}`}var Zo=e=>!!e?.layers,et=e=>!!e?.componentStates,ot=e=>e.reduce((e,o)=>e.flatMap(e=>o.map(o=>[e,o].flat())));function tt(o,t){const a=o.variants?.[t];if(a)return{type:"no-sub-components",variant:a};const r=ht(o);if(!r)return{type:"no-variants"};return{type:"has-sub-components",variants:e(r,e=>e.variants[t])}}function at(e,o,t){const a=e[o]?.defaults?.[t];if(void 0===a)throw new Error(`The variant default for "${t}" is not defined for the component "${o}"`);return a}function rt(e,o,t,a){return at(e,o,t)===a}function nt(e){let o=e;return o=o.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{o=o.replaceAll(e,"")}),o}var st=z(co(),1);function lt(e,o,t){const a=tt(e,o);switch(a.type){case"no-variants":return null;case"no-sub-components":return a.variant;case"has-sub-components":if(!t)throw new Error("subComponentName argument name is required for configs with subcomponents");return a.variants[t]}}function it(e,o,t){const a=lt(e,o,t);return a&&et(a)?a?.componentStates??null:null}function ut(e,o,t){const a=it(e,o,t);if(!a)return null;return ot((0,st.default)(a).map(([e,o])=>o.options.map(o=>({[e]:o})))).map(e=>Array.isArray(e)?e.reduce((e,o)=>({...e,...o}),{}):e)}function dt(o){if(!o||!Zo(o))return null;const t=e(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}var ft=["rest"];function ct(e,o,t,a){const r=lt(e,o,a);if(!r)return null;return[...Zo(r)?Object.entries(r?.layers??{}):[],...et(r)&&t?Object.entries(r.componentStates[t].layers??{}):[]].flatMap(([e,o])=>Object.entries(o.properties).map(([o,t])=>[e,o,t])).flatMap(([e,o,t])=>[...t.skipRestState?ft.filter(e=>"rest"!==e):ft,...t.pseudoStates??[]].map(a=>[e,o,t,a])).reduce((e,[o,t,a,r])=>{e[r]=e[r]??[];const n=[o,t,a];return e[r].push(n),e},{})}var pt=z(co(),1);function ht(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function mt(e,o="variant"){const t=tt(e,o);if("no-variants"===t.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===t.type){if(ht(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 a=(0,pt.default)(t.variants).reduce((e,[o,t])=>{for(const a of t.options)e[a]??=[],e[a].includes(o)||e[a].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(a),variantToSubcomponentNames:a}}var bt=z(Eo(),1);function vt(e,o,t,a,r){const n=e[t].variables[o];if(!n)throw new Error(`No layer variables found for ${o}.`);const s=n[a];if(!s)throw new Error(`No property variables found for ${a}.`);const l=s[r];if(!l)throw new Error(`No pseudoState variables found for ${r}.`);return l}function yt(e,o,t,a,r,n){const s=(0,bt.default)(e),l=vt(s,o,t,a,r);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function _t(e,o,t,a,r){return[vt(e,o,t,a,r),n=>yt(e,o,t,a,r,n)]}var gt="line-height",wt="border-width",xt="border-color",jt="box-shadow";function $t({lineHeight:e,schema:o,iconLayerKey:t,state:a,theme:r}){const n=o.variables?.[t]?.size?.[a]?.value;if(!n)return e;return`max(${e}, ${r(`sizing.icon.${n}`)})`}function St(e){const o=e[wt],t=e[xt];if(!o||!t)return e;const a=e=>e.replace(/\s*!important\s*$/,""),r=e=>e?.includes("!important")??!1,n=[`inset 0 0 0 ${a(o)} ${a(t)}`,e[jt]&&a(e[jt])].filter(Boolean),s=r(o)||r(t)||r(e[jt]),l={...e};return l[jt]=n.join(", ")+(s?" !important":""),delete l[wt],delete l[xt],l}var Pt={rest:"",hover:":hover:not(:active, :disabled, :has(:disabled))",pressed:":active:not(:disabled, :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:":is(:disabled, :has(:disabled))","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:active, :disabled, :has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:disabled, :has(:disabled))'},Wt={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 Ct(e,o){const t=e.defaults[o],a=e.typeOfFixture;let r=0;return e.values.forEach((e,o)=>{e.includes(t)&&(r=o)}),a[r]}function Ot(e){const o={},t={};for(const o in e.variants){const a=e.variants[o];t[o]=a.default}o.defaults=t,o.variables={};for(const t in e.variants){const a=e.variants[t];for(const e of a.options)if(et(a)){const r=a.componentStates;for(const a in r){const n=r[a];for(const r of n.options)for(const s in n.layers){const l=n.layers[s],i=Qo({variantKey:t,variantValue:e,stateKey:a,stateValue:r,layer:s});o.variables[i]={};for(const t in l.properties){const a=l.properties[t],r={[t]:{}};if(!0!==a?.skipRestState&&(r[t]={rest:{type:Ct(a,e),valueType:"alias",value:a.defaults[e]}}),a.pseudoStates)for(const o of a.pseudoStates)r[t][o]={type:Ct(a,e),valueType:"alias",value:a.defaults[e]};o.variables[i]={...o.variables[i],...r}}}}}else if(Zo(a)){const r=a.layers;for(const a in r){const n=r[a],s=Qo({variantKey:t,variantValue:e,layer:a});o.variables[s]={};for(const t in n.properties){const a=n.properties[t],r={[t]:{}};if(!0!==a?.skipRestState&&(r[t]={rest:{type:Ct(a,e),valueType:"alias",value:a.defaults[e]}}),a.pseudoStates)for(const o of a.pseudoStates)r[t][o]={type:Ct(a,e),valueType:"alias",value:a.defaults[e]};o.variables[s]={...o.variables[s],...r}}}}}if(e.subComponents){const{subComponents:t}=e;for(const e in t)for(const a in t[e].variants){const r=t[e].variants[a];o.defaults[a]=r.default;for(const t of r.options)if(et(r)){const n=r.componentStates;for(const r in n){const s=n[r];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=Qo({variantKey:a,variantValue:t,stateKey:r,stateValue:n,layer:l,subComponentName:e});o.variables[u]={};for(const e in i.properties){const a=i.properties[e],r={[e]:{}};if(!0!==a?.skipRestState&&(r[e]={rest:{type:Ct(a,t),valueType:"alias",value:a.defaults[t]}}),a.pseudoStates)for(const o of a.pseudoStates)r[e][o]={type:Ct(a,t),valueType:"alias",value:a.defaults[t]};o.variables[u]={...o.variables[u],...r}}}}}else if(Zo(r)){const n=r.layers;for(const r in n){const s=n[r],l=Qo({variantKey:a,variantValue:t,layer:r,subComponentName:e});o.variables[l]={};for(const e in s.properties){const a=s.properties[e],r={[e]:{}};if(!0!==a?.skipRestState&&(r[e]={rest:{type:Ct(a,t),valueType:"alias",value:a.defaults[t]}}),a.pseudoStates)for(const o of a.pseudoStates)r[e][o]={type:Ct(a,t),valueType:"alias",value:a.defaults[t]};o.variables[l]={...o.variables[l],...r}}}}}}return o}function Tt(e,o,t,a){return`uds-${e}${a?`-${a.toLowerCase()}`:""}-default-${o}-${t}`}function At({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,qo.default)(e)}-${(0,qo.default)(n)}-${(0,qo.default)(o)}`:`uds-${(0,qo.default)(e)}-${(0,qo.default)(o)}`,t&&(i=`${i}-${(0,qo.default)(t)}`),s&&l&&(i=`${i}-${(0,qo.default)(s)}-${(0,qo.default)(l)}`),i=`${i}-${(0,qo.default)(a)}`,r&&(i=`${i}${r}`),i.replaceAll(/\s+/g,"-")}function Vt({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:d,theme:f,currentStyles:c,previewOptions:p}){const h=Qo({variantKey:o,variantValue:t,layer:a,subComponentName:n,stateKey:s,stateValue:l});let m=At({componentName:e,variantKey:o,variantValue:t,layer:a,subComponentName:n,stateKey:s,stateValue:l});const b=i.variables[h][u];if(!b)throw new Error(`Prop definition (${e} - ${h} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const v={};for(const h in b){const y=h,_=Pt[y]??"",g=b[y];let w="";if("root"===a)if(s&&l){const r=At({componentName:e,variantKey:o,variantValue:t,layer:a,subComponentName:n});m=At({componentName:e,variantKey:o,layer:a,subComponentName:n,stateKey:s,stateValue:l}),w=`.${r}${_}.${m}`}else w=`.${m}${_}`;else{const i=At({componentName:e,variantKey:o,variantValue:t,layer:"root",subComponentName:n});if(s&&l){const u=At({componentName:e,variantKey:o,layer:"root",subComponentName:n,stateKey:s,stateValue:l});m=At({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n}),w=`.${i}${_}.${u} .${m}`}else w=`.${i}${_} .${m}`}const x=(e,o,t,a)=>{const{value:r,type:n}=e,s=ya[o];let l;if(ya[o].customValueRenderer)l=ya[o].customValueRenderer(e,i,t);else{l=t(ya[o].twThemePath(n,String(r)))}if(s.concatenate&&a){return`${a}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:j,extendedProperties:$}=ya[d.name],S={},P=(0,Go.default)($),W=P?$({componentName:e,subComponentName:n,layer:a,propertyKey:u}):$;if(W&&W.length){if(!P&&("string"==typeof j||Array.isArray(j)&&j.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of W){const o=ya[e].cssProperties;if("string"==typeof o){const t=c?.[w]?.[o];S[o]=x(g,e,f,t)}else if(Array.isArray(o))for(const t of o){const o=c?.[w]?.[t];S[t]=x(g,e,f,o)}}}else if("string"==typeof j){const e=c?.[w]?.[j];S[j]=x(g,d.name,f,e)}else if(Array.isArray(j))for(const e of j){const o=c?.[w]?.[e];S[e]=x(g,d.name,f,o)}if("button"===e&&"root"===a){if("gap"===u&&(S[E]=S.gap),"scaleEffect"===u&&!s&&"hover"===y){const e=`.${m}`,o=e=>ya.scaleEffect.customValueRenderer?.(e,i,()=>"")??"1";v[e]||(v[e]={}),v[e][F]="1",b.hover&&(v[e][k]=o(b.hover)),b.pressed&&(v[e][N]=o(b.pressed))}if(S[gt]){const e=Qo({variantKey:o,variantValue:t,layer:"icon",subComponentName:n});S[gt]=$t({lineHeight:S[gt],schema:i,iconLayerKey:e,state:y,theme:f})}}if(v[w]||(v[w]={...S,...v[w]}),p?.generatePseudoStateClassModifier){const e=Wt[y]??"";if(e.length>0&&"root"!==h){const o=Object.fromEntries(Object.entries(S).map(([e,o])=>[e,`${o} !important`]));v[`.${e}${w}`.replace(_,"")]={...o,...v[`.${e}${w}`.replace(_,"")]}}}}return v}function Ft(e,o,t,a){function r(e,o){return(0,Jo.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(et(i)){const u=i.componentStates;for(const i in u){const d=u[i];for(const u of d.options)for(const f in d.layers){const c=d.layers[f];for(const d in c.properties){const p=c.properties[d];s=r(s,Vt({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:f,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:d,originalPropertyDefinition:p,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}else if(Zo(i)){const u=i.layers;for(const i in u){const d=u[i];for(const u in d.properties){const f=d.properties[u];s=r(s,Vt({componentName:n,variantKey:l,variantValue:e,layer:i,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}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(et(u)){const d=u.componentStates;for(const u in d){const f=d[u];for(const d of f.options)for(const c in f.layers){const p=f.layers[c];for(const f in p.properties){const h=p.properties[f];s=r(s,Vt({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:d,subComponentName:e,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:f,originalPropertyDefinition:h,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}else if(Zo(u)){const d=u.layers;for(const u in d){const f=d[u];for(const d in f.properties){const c=f.properties[d];s=r(s,Vt({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:u,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:d,originalPropertyDefinition:c,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}}if("button"===n||"iconbutton"===n)for(const e in s)e.includes("-root")&&(s[e]=St(s[e]));return s}var kt=(e,o,t,a)=>{const r=Ft(e,o,t,a);if(!e.variants&&!e.subComponents)return r;const n=e.overrideComponentName?.toLowerCase()||e.label.toLowerCase();if("button"!==n&&"iconbutton"!==n)return r;const s=new Map,l=e=>{if(Zo(e))return Object.keys(e.layers);if(et(e)){const o=new Set;for(const t of Object.values(e.componentStates))Object.keys(t.layers).forEach(e=>o.add(e));return Array.from(o)}return[]},i=(e,t)=>{for(const[a,r]of Object.entries(e)){if(!Zo(r)&&!et(r))continue;const e=l(r);if(e.length){const r=o.defaults?.[a];if(r)for(const o of e){const e=At({componentName:n,variantKey:a,variantValue:r,layer:o,subComponentName:t}),l=Tt(n,a,o,t);s.set(e,`.${e}, .${l}`)}}}};if(e.variants&&i(e.variants),e.subComponents)for(const[o,t]of Object.entries(e.subComponents))i(t.variants,o);const u={};for(const[e,o]of Object.entries(r)){let t=e,a=!1;for(const[o,r]of s.entries())if(e.includes(o)){a=!0;const e=r.match(/,\s*\.([a-z0-9-]+)/);if(e){const a=e[1];t=t.replaceAll(o,a)}}a?u[`${e}, ${t}`]=o:u[e]=o}return u};function Nt(e){return e}function Et(e){return e}function Kt(e){return e}function Yt(e){return e}function zt(e){return e}function Rt(e){return e}function Mt(e){return e}var Bt={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"}}]}},Xt={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},It="system",Lt="system",Dt="light",Ht="large",Ut=!1,Gt="🇺🇸 US",qt="https://s.yimg.com/bw/fonts",Jt=["Helvetica Neue","Helvetica","Arial","sans-serif"],Qt=["Georgia","Times","Times New Roman","serif"],Zt={"centra-no2":{fallback:Jt,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('${qt}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${qt}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${qt}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${qt}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${qt}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${qt}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${qt}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${qt}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${qt}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${qt}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${qt}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${qt}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Jt,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('${qt}/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('${qt}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${qt}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${qt}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${qt}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${qt}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${qt}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Jt,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('${qt}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Jt,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('${qt}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Jt,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('${qt}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Jt,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('${qt}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${qt}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Jt,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('${qt}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Qt,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('${qt}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${qt}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${qt}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Qt,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('${qt}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function ea({palette:e="accent",variant:o="primary"}){return"accent"===e?o:"primary"===o?e:`${e}-${o}`}function oa(e){return Object.fromEntries(e)}var ta={black:"0 0 0",white:"255 255 255"};function aa({preset:e,prefix:o,shadowType:t}){const a=`--uds-${t}-shadow-`,r="palette"===e.color?.type,n="always"===e.color?.type;let s=`var(--uds-${r?"shadow":"spectrum"}-color-${e?.color?.value})`;n&&(s=ta[e.color.value]);const l=`var(${a}${o?`${o}-`:""}color, ${s})`;return`${"inset"===t?"inset ":""}${[`${M[e.offsetX]}px`,`${M[e.offsetY]}px`,`${B[e.blur]}px`,`${X[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${a}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function ra({config:e,shadowType:t}){const a=e?.shadow?.[t];if(!a)return{};const r={};return o(a).forEach(([e,o])=>{if("none"===e)return void(r[`--uds-${t}-shadow-${e}`]="0 0 transparent");const a=o.map((e,o)=>aa({preset:e,prefix:o>0?`${o+1}`:void 0,shadowType:t}));r[`--uds-${t}-shadow-${e}`]=`${a.join(", ")}`}),r}var na=e=>(o,t)=>`typography.${e}.${Ro(t)}`,sa=(e,o)=>{switch(e){case"alwaysPaletteAliases":return`colors.${o}`;case"spectrumColors":{const[e,t]=o.split("-");return`colors.${e}.${t}`}case"foregroundPaletteColors":return`textColor.${o}`;case"backgroundPaletteColors":return`backgroundColor.${o}`;case"linePaletteColors":return`borderColor.${o}`}return Yo()},la=({componentName:e,layer:o,propertyKey:t})=>!("chip"!==e||"root"!==o||!["borderColor","borderWidth"].includes(t))||!("input"!==e||"inputWrapper"!==o||!["borderColor","borderWidth"].includes(t)),ia={name:"backgroundColor",cssProperties:"background-color",twThemePath:sa,possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},ua={name:"fontSize",cssProperties:"font-size",twThemePath:na("fontSize"),possibleFixtures:["textVariants"]},da={name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:o}=e,t=Ro(o);return`"wght" var(--uds-font-weight-${t}), "slnt" var(--uds-font-slant-${t}), "wdth" var(--uds-font-width-${t});`}},fa={name:"fontWeight",cssProperties:"font-weight",twThemePath:na("fontWeight"),possibleFixtures:["textVariants"]},ca={name:"fontFamily",cssProperties:"font-family",twThemePath:na("fontFamily"),possibleFixtures:["textVariants"]},pa={name:"color",cssProperties:"color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},ha={name:"borderWidth",cssProperties:"border-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>la(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},ma={name:"borderColor",cssProperties:"border-color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>la(e)&&["outlineColor"]},ba={name:"outlineColor",cssProperties:"outline-color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},va={name:"textTransform",cssProperties:"text-transform",twThemePath:na("textTransform"),possibleFixtures:["textVariants"]},ya={...{backgroundColor:ia,borderWidth:ha,borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,o)=>`borderRadius.${o}`,possibleFixtures:["borderRadii"]},borderColor:ma,fontFamily:ca,fontSize:ua,fontVariationSettings:da,lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:na("lineHeight"),possibleFixtures:["textVariants"]},textTransform:va,letterSpacing:{name:"letterSpacing",cssProperties:"letter-spacing",twThemePath:na("letterSpacing"),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:pa,opacity:{name:"opacity",cssProperties:"opacity",twThemePath:(e,o)=>`opacity[${o}]`,possibleFixtures:["opacitySteps"]},fontWeight:fa,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","letterSpacing"]},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)=>aa({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)=>aa({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"]},scaleEffect:{name:"scaleEffect",cssProperties:j,possibleFixtures:["scaleEffects"],twThemePath:()=>"",customValueRenderer:e=>{const o=String(e.value);return"up"===o?"1.03":"down"===o?"0.97":"1"}}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:ba,insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:o},t,a)=>`calc(-1 * ${a("borderWidths"===o?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};export{Dt as DEFAULT_COLOR_MODE,It as DEFAULT_COLOR_MODE_FOR_APP,Ut as DEFAULT_HIGH_CONTRAST_MODE,Gt as DEFAULT_REGION_MODE,Ht as DEFAULT_SCALE_MODE,Lt as DEFAULT_SCALE_MODE_FOR_APP,Zt as FONT_DECLARATIONS_MAP,Do as RESPONSIVE_TAILWIND_CONFIG_MAP,Yo as assertUnreachable,ot as cartesianProduct,tt as coalesceConfigVariant,ya as configurableProperties,zt as createComponentStates,Nt as createConfigurableProperty,Rt as createLayerConfig,Mt as createSubComponentConfig,Et as createVariantConfig,Yt as createVariantConfigWithComponentStates,Kt as createVariantConfigWithProperties,zo as entries,Ct as findFixtureType,Xt as fontWeightMap,oa as fromEntries,At as generateClassName,Ft as generateConfigStyles,Vt as generateDeclaration,Tt as generateDefaultClassName,nt as generateKeyFromFlatConfigPath,Qo as generateSchemaKey,kt as generateStyles,Ho as getBaseTextVars,at as getConfigDefaultValue,vt as getConfigPseudoStateVariables,_t as getConfigPseudoStateVariablesWithSetter,ht as getConfigSubcomponents,it as getConfigVariantComponentStates,ut as getConfigVariantComponentStatesMatrix,dt as getConfigVariantProperties,ct as getConfigVariantPseudoStates,mt as getConfigVariants,Uo as getResponsiveTextStyles,aa as getShadowLayerValue,ra as getShadowPresetValues,rt as isConfigDefaultValue,ea as parseButtonVariantFlat,ye as require_MapCache,ge as require_Stack,We as require_Uint8Array,Se as require_baseFor,He as require_baseMerge,ao as require_createAssigner,H as require_eq,$o as require_getAllKeys,Ue as require_identity,Re as require_isIndex,I as require_isString,uo as require_keys,so as require_mapToArray,yt as setConfigPseudoStateVariable,Bt as shadow,Wt as statePseudoMapDocsMode,Ro as textVariantsSafe,Ot as toMinimalDbConfigObject};
2
+ var I=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isString.js"(e,o){var a=y(),r=t(),n=_();o.exports=function(e){return"string"==typeof e||!r(e)&&n(e)&&"[object String]"==a(e)}}}),L=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/lowerCase.js"(e,o){var t=a()(function(e,o,t){return e+(t?" ":"")+o.toLowerCase()});o.exports=t}}),D=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheClear.js"(e,o){o.exports=function(){this.__data__=[],this.size=0}}}),H=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/eq.js"(e,o){o.exports=function(e,o){return e===o||e!=e&&o!=o}}}),U=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js"(e,o){var t=H();o.exports=function(e,o){for(var a=e.length;a--;)if(t(e[a][0],o))return a;return-1}}}),G=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js"(e,o){var t=U(),a=Array.prototype.splice;o.exports=function(e){var o=this.__data__,r=t(o,e);return!(r<0)&&(r==o.length-1?o.pop():a.call(o,r,1),--this.size,!0)}}}),q=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheGet.js"(e,o){var t=U();o.exports=function(e){var o=this.__data__,a=t(o,e);return a<0?void 0:o[a][1]}}}),J=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheHas.js"(e,o){var t=U();o.exports=function(e){return t(this.__data__,e)>-1}}}),Q=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheSet.js"(e,o){var t=U();o.exports=function(e,o){var a=this.__data__,r=t(a,e);return r<0?(++this.size,a.push([e,o])):a[r][1]=o,this}}}),Z=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_ListCache.js"(e,o){var t=D(),a=G(),r=q(),n=J(),s=Q();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),ee=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackClear.js"(e,o){var t=Z();o.exports=function(){this.__data__=new t,this.size=0}}}),oe=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),te=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackGet.js"(e,o){o.exports=function(e){return this.__data__.get(e)}}}),ae=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackHas.js"(e,o){o.exports=function(e){return this.__data__.has(e)}}}),re=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_nativeCreate.js"(e,o){var t=r()(Object,"create");o.exports=t}}),ne=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashClear.js"(e,o){var t=re();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),se=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),le=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashGet.js"(e,o){var t=re(),a=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;if(t){var r=o[e];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(o,e)?o[e]:void 0}}}),ie=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashHas.js"(e,o){var t=re(),a=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:a.call(o,e)}}}),ue=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashSet.js"(e,o){var t=re();o.exports=function(e,o){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=t&&void 0===o?"__lodash_hash_undefined__":o,this}}}),de=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Hash.js"(e,o){var t=ne(),a=se(),r=le(),n=ie(),s=ue();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),fe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js"(e,o){var t=de(),a=Z(),r=n();o.exports=function(){this.size=0,this.__data__={hash:new t,map:new(r||a),string:new t}}}}),ce=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),pe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getMapData.js"(e,o){var t=ce();o.exports=function(e,o){var a=e.__data__;return t(o)?a["string"==typeof o?"string":"hash"]:a.map}}}),he=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js"(e,o){var t=pe();o.exports=function(e){var o=t(this,e).delete(e);return this.size-=o?1:0,o}}}),me=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js"(e,o){var t=pe();o.exports=function(e){return t(this,e).get(e)}}}),be=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js"(e,o){var t=pe();o.exports=function(e){return t(this,e).has(e)}}}),ve=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js"(e,o){var t=pe();o.exports=function(e,o){var a=t(this,e),r=a.size;return a.set(e,o),this.size+=a.size==r?0:1,this}}}),ye=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_MapCache.js"(e,o){var t=fe(),a=he(),r=me(),n=be(),s=ve();function l(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var a=e[o];this.set(a[0],a[1])}}l.prototype.clear=t,l.prototype.delete=a,l.prototype.get=r,l.prototype.has=n,l.prototype.set=s,o.exports=l}}),_e=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_stackSet.js"(e,o){var t=Z(),a=n(),r=ye();o.exports=function(e,o){var n=this.__data__;if(n instanceof t){var s=n.__data__;if(!a||s.length<199)return s.push([e,o]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,o),this.size=n.size,this}}}),ge=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Stack.js"(e,o){var t=Z(),a=ee(),r=oe(),n=te(),s=ae(),l=_e();function i(e){var o=this.__data__=new t(e);this.size=o.size}i.prototype.clear=a,i.prototype.delete=r,i.prototype.get=n,i.prototype.has=s,i.prototype.set=l,o.exports=i}}),we=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_defineProperty.js"(e,o){var t=r(),a=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();o.exports=a}}),xe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js"(e,o){var t=we();o.exports=function(e,o,a){"__proto__"==o&&t?t(e,o,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[o]=a}}}),je=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js"(e,o){var t=xe(),a=H();o.exports=function(e,o,r){(void 0!==r&&!a(e[o],r)||void 0===r&&!(o in e))&&t(e,o,r)}}}),$e=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createBaseFor.js"(e,o){o.exports=function(e){return function(o,t,a){for(var r=-1,n=Object(o),s=a(o),l=s.length;l--;){var i=s[e?l:++r];if(!1===t(n[i],i,n))break}return o}}}}),Se=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseFor.js"(e,o){var t=$e()();o.exports=t}}),Pe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js"(e,o){var t=g(),a="object"==typeof e&&e&&!e.nodeType&&e,r=a&&"object"==typeof o&&o&&!o.nodeType&&o,n=r&&r.exports===a?t.Buffer:void 0,s=n?n.allocUnsafe:void 0;o.exports=function(e,o){if(o)return e.slice();var t=e.length,a=s?s(t):new e.constructor(t);return e.copy(a),a}}}),We=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Uint8Array.js"(e,o){var t=g().Uint8Array;o.exports=t}}),Ce=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js"(e,o){var t=We();o.exports=function(e){var o=new e.constructor(e.byteLength);return new t(o).set(new t(e)),o}}}),Oe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js"(e,o){var t=Ce();o.exports=function(e,o){var a=o?t(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}}}),Te=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copyArray.js"(e,o){o.exports=function(e,o){var t=-1,a=e.length;for(o||(o=Array(a));++t<a;)o[t]=e[t];return o}}}),Ae=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseCreate.js"(e,o){var t=w(),a=Object.create,r=function(){function e(){}return function(o){if(!t(o))return{};if(a)return a(o);e.prototype=o;var r=new e;return e.prototype=void 0,r}}();o.exports=r}}),Ve=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getPrototype.js"(e,o){var t=s()(Object.getPrototypeOf,Object);o.exports=t}}),Fe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneObject.js"(e,o){var t=Ae(),a=Ve(),r=l();o.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:t(a(e))}}}),ke=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js"(e,o){var t=i(),a=_();o.exports=function(e){return a(e)&&t(e)}}}),Ne=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isPlainObject.js"(e,o){var t=y(),a=Ve(),r=_(),n=Function.prototype,s=Object.prototype,l=n.toString,i=s.hasOwnProperty,u=l.call(Object);o.exports=function(e){if(!r(e)||"[object Object]"!=t(e))return!1;var o=a(e);if(null===o)return!0;var n=i.call(o,"constructor")&&o.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}}}),Ee=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_safeGet.js"(e,o){o.exports=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}}}),Ke=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assignValue.js"(e,o){var t=xe(),a=H(),r=Object.prototype.hasOwnProperty;o.exports=function(e,o,n){var s=e[o];r.call(e,o)&&a(s,n)&&(void 0!==n||o in e)||t(e,o,n)}}}),Ye=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copyObject.js"(e,o){var t=Ke(),a=xe();o.exports=function(e,o,r,n){var s=!r;r||(r={});for(var l=-1,i=o.length;++l<i;){var u=o[l],d=n?n(r[u],e[u],u,r,e):void 0;void 0===d&&(d=e[u]),s?a(r,u,d):t(r,u,d)}return r}}}),ze=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseTimes.js"(e,o){o.exports=function(e,o){for(var t=-1,a=Array(e);++t<e;)a[t]=o(t);return a}}}),Re=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isIndex.js"(e,o){var t=/^(?:0|[1-9]\d*)$/;o.exports=function(e,o){var a=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<o}}}),Me=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js"(e,o){var a=ze(),r=u(),n=t(),s=d(),l=Re(),i=f(),c=Object.prototype.hasOwnProperty;o.exports=function(e,o){var t=n(e),u=!t&&r(e),d=!t&&!u&&s(e),f=!t&&!u&&!d&&i(e),p=t||u||d||f,h=p?a(e.length,String):[],m=h.length;for(var b in e)!o&&!c.call(e,b)||p&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,m))||h.push(b);return h}}}),Be=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),Xe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js"(e,o){var t=w(),a=l(),r=Be(),n=Object.prototype.hasOwnProperty;o.exports=function(e){if(!t(e))return r(e);var o=a(e),s=[];for(var l in e)("constructor"!=l||!o&&n.call(e,l))&&s.push(l);return s}}}),Ie=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/keysIn.js"(e,o){var t=Me(),a=Xe(),r=i();o.exports=function(e){return r(e)?t(e,!0):a(e)}}}),Le=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/toPlainObject.js"(e,o){var t=Ye(),a=Ie();o.exports=function(e){return t(e,a(e))}}}),De=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js"(e,o){var a=je(),r=Pe(),n=Oe(),s=Te(),l=Fe(),i=u(),p=t(),h=ke(),m=d(),b=c(),v=w(),y=Ne(),_=f(),g=Ee(),x=Le();o.exports=function(e,o,t,u,d,f,c){var w=g(e,t),j=g(o,t),$=c.get(j);if($)a(e,t,$);else{var S=f?f(w,j,t+"",e,o,c):void 0,P=void 0===S;if(P){var W=p(j),C=!W&&m(j),O=!W&&!C&&_(j);S=j,W||C||O?p(w)?S=w:h(w)?S=s(w):C?(P=!1,S=r(j,!0)):O?(P=!1,S=n(j,!0)):S=[]:y(j)||i(j)?(S=w,i(w)?S=x(w):v(w)&&!b(w)||(S=l(j))):P=!1}P&&(c.set(j,S),d(S,j,u,f,c),c.delete(j)),a(e,t,S)}}}}),He=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseMerge.js"(e,o){var t=ge(),a=je(),r=Se(),n=De(),s=w(),l=Ie(),i=Ee();o.exports=function e(o,u,d,f,c){o!==u&&r(u,function(r,l){if(c||(c=new t),s(r))n(o,u,l,d,e,f,c);else{var p=f?f(i(o,l),r,l+"",o,u,c):void 0;void 0===p&&(p=r),a(o,l,p)}},l)}}}),Ue=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/identity.js"(e,o){o.exports=function(e){return e}}}),Ge=Y({"../../node_modules/.bun/lodash@4.17.21/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)}}}),qe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_overRest.js"(e,o){var t=Ge(),a=Math.max;o.exports=function(e,o,r){return o=a(void 0===o?e.length-1:o,0),function(){for(var n=arguments,s=-1,l=a(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]=r(i),t(e,this,u)}}}}),Je=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/constant.js"(e,o){o.exports=function(e){return function(){return e}}}}),Qe=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseSetToString.js"(e,o){var t=Je(),a=we(),r=Ue(),n=a?function(e,o){return a(e,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:r;o.exports=n}}),Ze=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_shortOut.js"(e,o){var t=Date.now;o.exports=function(e){var o=0,a=0;return function(){var r=t(),n=16-(r-a);if(a=r,n>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}}}),eo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_setToString.js"(e,o){var t=Qe(),a=Ze()(t);o.exports=a}}),oo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseRest.js"(e,o){var t=Ue(),a=qe(),r=eo();o.exports=function(e,o){return r(a(e,o,t),e+"")}}}),to=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js"(e,o){var t=H(),a=i(),r=Re(),n=w();o.exports=function(e,o,s){if(!n(s))return!1;var l=typeof o;return!!("number"==l?a(s)&&r(o,s.length):"string"==l&&o in s)&&t(s[o],e)}}}),ao=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createAssigner.js"(e,o){var t=oo(),a=to();o.exports=function(e){return t(function(o,t){var r=-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&&a(t[0],t[1],l)&&(s=n<3?void 0:s,n=1),o=Object(o);++r<n;){var i=t[r];i&&e(o,i,r,s)}return o})}}}),ro=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/mergeWith.js"(e,o){var t=He(),a=ao()(function(e,o,a,r){t(e,o,a,r)});o.exports=a}}),no=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseToPairs.js"(e,o){var t=p();o.exports=function(e,o){return t(o,function(o){return[o,e[o]]})}}}),so=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapToArray.js"(e,o){o.exports=function(e){var o=-1,t=Array(e.size);return e.forEach(function(e,a){t[++o]=[a,e]}),t}}}),lo=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),io=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_createToPairs.js"(e,o){var t=no(),a=h(),r=so(),n=lo();o.exports=function(e){return function(o){var s=a(o);return"[object Map]"==s?r(o):"[object Set]"==s?n(o):t(o,e(o))}}}}),uo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/keys.js"(e,o){var t=Me(),a=m(),r=i();o.exports=function(e){return r(e)?t(e):a(e)}}}),fo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/toPairs.js"(e,o){var t=io()(uo());o.exports=t}}),co=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/entries.js"(e,o){o.exports=fo()}}),po=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayEach.js"(e,o){o.exports=function(e,o){for(var t=-1,a=null==e?0:e.length;++t<a&&!1!==o(e[t],t,e););return e}}}),ho=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssign.js"(e,o){var t=Ye(),a=uo();o.exports=function(e,o){return e&&t(o,a(o),e)}}}),mo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseAssignIn.js"(e,o){var t=Ye(),a=Ie();o.exports=function(e,o){return e&&t(o,a(o),e)}}}),bo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayFilter.js"(e,o){o.exports=function(e,o){for(var t=-1,a=null==e?0:e.length,r=0,n=[];++t<a;){var s=e[t];o(s,t,e)&&(n[r++]=s)}return n}}}),vo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/stubArray.js"(e,o){o.exports=function(){return[]}}}),yo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getSymbols.js"(e,o){var t=bo(),a=vo(),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,s=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(o){return r.call(e,o)}))}:a;o.exports=s}}),_o=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copySymbols.js"(e,o){var t=Ye(),a=yo();o.exports=function(e,o){return t(e,a(e),o)}}}),go=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_arrayPush.js"(e,o){o.exports=function(e,o){for(var t=-1,a=o.length,r=e.length;++t<a;)e[r+t]=o[t];return e}}}),wo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getSymbolsIn.js"(e,o){var t=go(),a=Ve(),r=yo(),n=vo(),s=Object.getOwnPropertySymbols?function(e){for(var o=[];e;)t(o,r(e)),e=a(e);return o}:n;o.exports=s}}),xo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_copySymbolsIn.js"(e,o){var t=Ye(),a=wo();o.exports=function(e,o){return t(e,a(e),o)}}}),jo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js"(e,o){var a=go(),r=t();o.exports=function(e,o,t){var n=o(e);return r(e)?n:a(n,t(e))}}}),$o=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getAllKeys.js"(e,o){var t=jo(),a=yo(),r=uo();o.exports=function(e){return t(e,r,a)}}}),So=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getAllKeysIn.js"(e,o){var t=jo(),a=wo(),r=Ie();o.exports=function(e){return t(e,r,a)}}}),Po=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneArray.js"(e,o){var t=Object.prototype.hasOwnProperty;o.exports=function(e){var o=e.length,a=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(a.index=e.index,a.input=e.input),a}}}),Wo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneDataView.js"(e,o){var t=Ce();o.exports=function(e,o){var a=o?t(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}}}),Co=Y({"../../node_modules/.bun/lodash@4.17.21/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}}}),Oo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_cloneSymbol.js"(e,o){var t=x(),a=t?t.prototype:void 0,r=a?a.valueOf:void 0;o.exports=function(e){return r?Object(r.call(e)):{}}}}),To=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_initCloneByTag.js"(e,o){var t=Ce(),a=Wo(),r=Co(),n=Oo(),s=Oe();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 a(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 r(e);case"[object Symbol]":return n(e)}}}}),Ao=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseIsMap.js"(e,o){var t=h(),a=_();o.exports=function(e){return a(e)&&"[object Map]"==t(e)}}}),Vo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isMap.js"(e,o){var t=Ao(),a=b(),r=v(),n=r&&r.isMap,s=n?a(n):t;o.exports=s}}),Fo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseIsSet.js"(e,o){var t=h(),a=_();o.exports=function(e){return a(e)&&"[object Set]"==t(e)}}}),ko=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/isSet.js"(e,o){var t=Fo(),a=b(),r=v(),n=r&&r.isSet,s=n?a(n):t;o.exports=s}}),No=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseClone.js"(e,o){var a=ge(),r=po(),n=Ke(),s=ho(),l=mo(),i=Pe(),u=Te(),f=_o(),c=xo(),p=$o(),m=So(),b=h(),v=Po(),y=To(),_=Fe(),g=t(),x=d(),j=Vo(),$=w(),S=ko(),P=uo(),W=Ie(),C="[object Arguments]",O="[object Function]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[O]=A["[object WeakMap]"]=!1,o.exports=function e(o,t,d,h,w,V){var F,k=1&t,N=2&t,E=4&t;if(d&&(F=w?d(o,h,w,V):d(o)),void 0!==F)return F;if(!$(o))return o;var K=g(o);if(K){if(F=v(o),!k)return u(o,F)}else{var Y=b(o),z=Y==O||"[object GeneratorFunction]"==Y;if(x(o))return i(o,k);if(Y==T||Y==C||z&&!w){if(F=N||z?{}:_(o),!k)return N?c(o,l(F,o)):f(o,s(F,o))}else{if(!A[Y])return w?o:{};F=y(o,Y,k)}}V||(V=new a);var R=V.get(o);if(R)return R;V.set(o,F),S(o)?o.forEach(function(a){F.add(e(a,t,d,a,o,V))}):j(o)&&o.forEach(function(a,r){F.set(r,e(a,t,d,r,o,V))});var M=K?void 0:(E?N?m:p:N?W:P)(o);return r(M||o,function(a,r){M&&(a=o[r=a]),n(F,r,e(a,t,d,r,o,V))}),F}}}),Eo=Y({"../../node_modules/.bun/lodash@4.17.21/node_modules/lodash/cloneDeep.js"(e,o){var t=No();o.exports=function(e){return t(e,5)}}}),Ko=z(I(),1),Yo=e=>{throw new Error("Didn't expect to get here")};function zo(e){return Object.entries(e)}var Ro=e=>e.replace("/","-"),Mo=e=>"."+K[e],Bo=(e,o,t,a)=>{const r=e.typography[o]?.[t];if(!r)throw new Error(`Missing typography data for variant "${o}" and key "${t}"`);const n="base"===a?r.base:r.breakpoints?.[a];if(!n)throw new Error(`Missing value for variant "${o}", key "${t}", and breakpoint "${a}"`);if((0,Ko.default)(n))return n;switch(n.type){case"px":return n.value/16+"rem";case"unitless":return String(n.value)}return Yo()},Xo=(e,o)=>o in e.font?`var(--${A}-${o})`:o,Io=(e,o)=>Object.fromEntries(R.flatMap(t=>{const a=Ro(t);return[[`--${A}-${a}`,Xo(e,Bo(e,t,"fontFamily",o))],[`--${W}-${a}`,Bo(e,t,"fontSize",o)],[`--${T}-${a}`,Bo(e,t,"fontWeight",o)],[`--${O}-${a}`,Bo(e,t,"fontSlant",o)],[`--${C}-${a}`,Bo(e,t,"fontWidth",o)],[`--${P}-${a}`,Bo(e,t,"lineHeight",o)],[`--${S}-${a}`,Bo(e,t,"textTransform",o)],[`--${$}-${a}`,Bo(e,t,"letterSpacing",o)]]})),Lo=e=>Object.fromEntries(R.map(Ro).map(o=>[o,`var(--${e}-${o})`])),Do={fontFamily:Lo(A),fontWeight:Lo(T),fontSlant:Lo(O),fontWidth:Lo(C),fontSize:Lo(W),lineHeight:Lo(P),textTransform:Lo(S),letterSpacing:Lo($)},Ho=e=>Io(e,"base"),Uo=e=>{const o=zo(e.breakpoints).sort(([,{value:e}],[,{value:o}])=>e-o);return{[`.${V}`]:Object.fromEntries(o.map(([o,{value:t}])=>[`@media (min-width: ${t}px)`,Io(e,o)])),[Mo("base")]:Io(e,"base"),[Mo("defaultBreakpoint")]:Io(e,e.globalDefaults.breakpoint),...Object.fromEntries(o.map(([o])=>[Mo(o),Io(e,o)]))}},Go=z(c(),1),qo=z(L(),1),Jo=z(ro(),1);function Qo({variantKey:e,variantValue:o,layer:t,subComponentName:a,stateKey:r,stateValue:n}){return a?r&&n?`${a}/${e}/${o}/${r}/${n}/${t}`:`${a}/${e}/${o}/${t}`:r&&n?`${e}/${o}/${r}/${n}/${t}`:`${e}/${o}/${t}`}var Zo=e=>!!e?.layers,et=e=>!!e?.componentStates,ot=e=>e.reduce((e,o)=>e.flatMap(e=>o.map(o=>[e,o].flat())));function tt(o,t){const a=o.variants?.[t];if(a)return{type:"no-sub-components",variant:a};const r=ht(o);if(!r)return{type:"no-variants"};return{type:"has-sub-components",variants:e(r,e=>e.variants[t])}}function at(e,o,t){const a=e[o]?.defaults?.[t];if(void 0===a)throw new Error(`The variant default for "${t}" is not defined for the component "${o}"`);return a}function rt(e,o,t,a){return at(e,o,t)===a}function nt(e){let o=e;return o=o.replaceAll(".","/"),["root/","variables/","variant/","/value"].forEach(e=>{o=o.replaceAll(e,"")}),o}var st=z(co(),1);function lt(e,o,t){const a=tt(e,o);switch(a.type){case"no-variants":return null;case"no-sub-components":return a.variant;case"has-sub-components":if(!t)throw new Error("subComponentName argument name is required for configs with subcomponents");return a.variants[t]}}function it(e,o,t){const a=lt(e,o,t);return a&&et(a)?a?.componentStates??null:null}function ut(e,o,t){const a=it(e,o,t);if(!a)return null;return ot((0,st.default)(a).map(([e,o])=>o.options.map(o=>({[e]:o})))).map(e=>Array.isArray(e)?e.reduce((e,o)=>({...e,...o}),{}):e)}function dt(o){if(!o||!Zo(o))return null;const t=e(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}var ft=["rest"];function ct(e,o,t,a){const r=lt(e,o,a);if(!r)return null;return[...Zo(r)?Object.entries(r?.layers??{}):[],...et(r)&&t?Object.entries(r.componentStates[t].layers??{}):[]].flatMap(([e,o])=>Object.entries(o.properties).map(([o,t])=>[e,o,t])).flatMap(([e,o,t])=>[...t.skipRestState?ft.filter(e=>"rest"!==e):ft,...t.pseudoStates??[]].map(a=>[e,o,t,a])).reduce((e,[o,t,a,r])=>{e[r]=e[r]??[];const n=[o,t,a];return e[r].push(n),e},{})}var pt=z(co(),1);function ht(e){return e.subComponents?0===Object.keys(e.subComponents).length?null:e.subComponents:null}function mt(e,o="variant"){const t=tt(e,o);if("no-variants"===t.type)return{type:"no-variants",description:"No variants"};if("no-sub-components"===t.type){if(ht(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 a=(0,pt.default)(t.variants).reduce((e,[o,t])=>{for(const a of t.options)e[a]??=[],e[a].includes(o)||e[a].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(a),variantToSubcomponentNames:a}}var bt=z(Eo(),1);function vt(e,o,t,a,r){const n=e[t].variables[o];if(!n)throw new Error(`No layer variables found for ${o}.`);const s=n[a];if(!s)throw new Error(`No property variables found for ${a}.`);const l=s[r];if(!l)throw new Error(`No pseudoState variables found for ${r}.`);return l}function yt(e,o,t,a,r,n){const s=(0,bt.default)(e),l=vt(s,o,t,a,r);return void 0!==n.type&&(l.type=n.type),void 0!==n.value&&(l.value=n.value),s}function _t(e,o,t,a,r){return[vt(e,o,t,a,r),n=>yt(e,o,t,a,r,n)]}var gt="line-height",wt="border-width",xt="border-color",jt="box-shadow";function $t({lineHeight:e,schema:o,iconLayerKey:t,state:a,theme:r}){const n=o.variables?.[t]?.size?.[a]?.value;if(!n)return e;return`max(${e}, ${r(`sizing.icon.${n}`)})`}function St(e){const o=e[wt],t=e[xt];if(!o||!t)return e;const a=e=>e.replace(/\s*!important\s*$/,""),r=e=>e?.includes("!important")??!1,n=[`inset 0 0 0 ${a(o)} ${a(t)}`,e[jt]&&a(e[jt])].filter(Boolean),s=r(o)||r(t)||r(e[jt]),l={...e};return l[jt]=n.join(", ")+(s?" !important":""),delete l[wt],delete l[xt],l}var Pt={rest:"",hover:":hover:not(:active, :disabled, :has(:disabled))",pressed:":active:not(:disabled, :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:":is(:disabled, :has(:disabled))","invalid&hover":':has(input[aria-invalid="true"]):hover:not(:active, :disabled, :has(:disabled))',"invalid&pressed":':has(input[aria-invalid="true"]):active:not(:disabled, :has(:disabled))'},Wt={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 Ct(e,o){const t=e.defaults[o],a=e.typeOfFixture;let r=0;return e.values.forEach((e,o)=>{e.includes(t)&&(r=o)}),a[r]}function Ot(e){const o={},t={};for(const o in e.variants){const a=e.variants[o];t[o]=a.default}o.defaults=t,o.variables={};for(const t in e.variants){const a=e.variants[t];for(const e of a.options)if(et(a)){const r=a.componentStates;for(const a in r){const n=r[a];for(const r of n.options)for(const s in n.layers){const l=n.layers[s],i=Qo({variantKey:t,variantValue:e,stateKey:a,stateValue:r,layer:s});o.variables[i]={};for(const t in l.properties){const a=l.properties[t],r={[t]:{}};if(!0!==a?.skipRestState&&(r[t]={rest:{type:Ct(a,e),valueType:"alias",value:a.defaults[e]}}),a.pseudoStates)for(const o of a.pseudoStates)r[t][o]={type:Ct(a,e),valueType:"alias",value:a.defaults[e]};o.variables[i]={...o.variables[i],...r}}}}}else if(Zo(a)){const r=a.layers;for(const a in r){const n=r[a],s=Qo({variantKey:t,variantValue:e,layer:a});o.variables[s]={};for(const t in n.properties){const a=n.properties[t],r={[t]:{}};if(!0!==a?.skipRestState&&(r[t]={rest:{type:Ct(a,e),valueType:"alias",value:a.defaults[e]}}),a.pseudoStates)for(const o of a.pseudoStates)r[t][o]={type:Ct(a,e),valueType:"alias",value:a.defaults[e]};o.variables[s]={...o.variables[s],...r}}}}}if(e.subComponents){const{subComponents:t}=e;for(const e in t)for(const a in t[e].variants){const r=t[e].variants[a];o.defaults[a]=r.default;for(const t of r.options)if(et(r)){const n=r.componentStates;for(const r in n){const s=n[r];for(const n of s.options)for(const l in s.layers){const i=s.layers[l],u=Qo({variantKey:a,variantValue:t,stateKey:r,stateValue:n,layer:l,subComponentName:e});o.variables[u]={};for(const e in i.properties){const a=i.properties[e],r={[e]:{}};if(!0!==a?.skipRestState&&(r[e]={rest:{type:Ct(a,t),valueType:"alias",value:a.defaults[t]}}),a.pseudoStates)for(const o of a.pseudoStates)r[e][o]={type:Ct(a,t),valueType:"alias",value:a.defaults[t]};o.variables[u]={...o.variables[u],...r}}}}}else if(Zo(r)){const n=r.layers;for(const r in n){const s=n[r],l=Qo({variantKey:a,variantValue:t,layer:r,subComponentName:e});o.variables[l]={};for(const e in s.properties){const a=s.properties[e],r={[e]:{}};if(!0!==a?.skipRestState&&(r[e]={rest:{type:Ct(a,t),valueType:"alias",value:a.defaults[t]}}),a.pseudoStates)for(const o of a.pseudoStates)r[e][o]={type:Ct(a,t),valueType:"alias",value:a.defaults[t]};o.variables[l]={...o.variables[l],...r}}}}}}return o}function Tt(e,o,t,a){return`uds-${e}${a?`-${a.toLowerCase()}`:""}-default-${o}-${t}`}function At({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n,stateKey:s,stateValue:l}){let i="";return i=n?`uds-${(0,qo.default)(e)}-${(0,qo.default)(n)}-${(0,qo.default)(o)}`:`uds-${(0,qo.default)(e)}-${(0,qo.default)(o)}`,t&&(i=`${i}-${(0,qo.default)(t)}`),s&&l&&(i=`${i}-${(0,qo.default)(s)}-${(0,qo.default)(l)}`),i=`${i}-${(0,qo.default)(a)}`,r&&(i=`${i}${r}`),i.replaceAll(/\s+/g,"-")}function Vt({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n,stateKey:s,stateValue:l,schema:i,propertyKey:u,originalPropertyDefinition:d,theme:f,currentStyles:c,previewOptions:p}){const h=Qo({variantKey:o,variantValue:t,layer:a,subComponentName:n,stateKey:s,stateValue:l});let m=At({componentName:e,variantKey:o,variantValue:t,layer:a,subComponentName:n,stateKey:s,stateValue:l});const b=i.variables[h][u];if(!b)throw new Error(`Prop definition (${e} - ${h} - ${u}) not found, this is not expected, please report the bug to the UDS team`);const v={};for(const h in b){const y=h,_=Pt[y]??"",g=b[y];let w="";if("root"===a)if(s&&l){const r=At({componentName:e,variantKey:o,variantValue:t,layer:a,subComponentName:n});m=At({componentName:e,variantKey:o,layer:a,subComponentName:n,stateKey:s,stateValue:l}),w=`.${r}${_}.${m}`}else w=`.${m}${_}`;else{const i=At({componentName:e,variantKey:o,variantValue:t,layer:"root",subComponentName:n});if(s&&l){const u=At({componentName:e,variantKey:o,layer:"root",subComponentName:n,stateKey:s,stateValue:l});m=At({componentName:e,variantKey:o,variantValue:t,layer:a,layerOptionalPseudoSelector:r,subComponentName:n}),w=`.${i}${_}.${u} .${m}`}else w=`.${i}${_} .${m}`}const x=(e,o,t,a)=>{const{value:r,type:n}=e,s=ya[o];let l;if(ya[o].customValueRenderer)l=ya[o].customValueRenderer(e,i,t);else{l=t(ya[o].twThemePath(n,String(r)))}if(s.concatenate&&a){return`${a}${s.concatenationDelimiter||", "}${l}`}return l},{cssProperties:j,extendedProperties:$}=ya[d.name],S={},P=(0,Go.default)($),W=P?$({componentName:e,subComponentName:n,layer:a,propertyKey:u}):$;if(W&&W.length){if(!P&&("string"==typeof j||Array.isArray(j)&&j.length>0))throw new Error("Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.");for(const e of W){const o=ya[e].cssProperties;if("string"==typeof o){const t=c?.[w]?.[o];S[o]=x(g,e,f,t)}else if(Array.isArray(o))for(const t of o){const o=c?.[w]?.[t];S[t]=x(g,e,f,o)}}}else if("string"==typeof j){const e=c?.[w]?.[j];S[j]=x(g,d.name,f,e)}else if(Array.isArray(j))for(const e of j){const o=c?.[w]?.[e];S[e]=x(g,d.name,f,o)}if("button"===e&&"root"===a){if("gap"===u&&(S[E]=S.gap),"scaleEffect"===u&&!s&&"hover"===y){const e=`.${m}`,o=e=>ya.scaleEffect.customValueRenderer?.(e,i,()=>"")??"1";v[e]||(v[e]={}),v[e][F]="1",b.hover&&(v[e][k]=o(b.hover)),b.pressed&&(v[e][N]=o(b.pressed))}if(S[gt]){const e=Qo({variantKey:o,variantValue:t,layer:"icon",subComponentName:n});S[gt]=$t({lineHeight:S[gt],schema:i,iconLayerKey:e,state:y,theme:f})}}if(v[w]||(v[w]={...S,...v[w]}),p?.generatePseudoStateClassModifier){const e=Wt[y]??"";if(e.length>0&&"root"!==h){const o=Object.fromEntries(Object.entries(S).map(([e,o])=>[e,`${o} !important`]));v[`.${e}${w}`.replace(_,"")]={...o,...v[`.${e}${w}`.replace(_,"")]}}}}return v}function Ft(e,o,t,a){function r(e,o){return(0,Jo.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(et(i)){const u=i.componentStates;for(const i in u){const d=u[i];for(const u of d.options)for(const f in d.layers){const c=d.layers[f];for(const d in c.properties){const p=c.properties[d];s=r(s,Vt({componentName:n,variantKey:l,variantValue:e,stateKey:i,stateValue:u,layer:f,layerOptionalPseudoSelector:c.pseudoSelector,propertyKey:d,originalPropertyDefinition:p,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}else if(Zo(i)){const u=i.layers;for(const i in u){const d=u[i];for(const u in d.properties){const f=d.properties[u];s=r(s,Vt({componentName:n,variantKey:l,variantValue:e,layer:i,layerOptionalPseudoSelector:d.pseudoSelector,propertyKey:u,originalPropertyDefinition:f,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}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(et(u)){const d=u.componentStates;for(const u in d){const f=d[u];for(const d of f.options)for(const c in f.layers){const p=f.layers[c];for(const f in p.properties){const h=p.properties[f];s=r(s,Vt({componentName:n,variantKey:i,variantValue:l,stateKey:u,stateValue:d,subComponentName:e,layer:c,layerOptionalPseudoSelector:p.pseudoSelector,propertyKey:f,originalPropertyDefinition:h,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}else if(Zo(u)){const d=u.layers;for(const u in d){const f=d[u];for(const d in f.properties){const c=f.properties[d];s=r(s,Vt({componentName:n,subComponentName:e,variantKey:i,variantValue:l,layer:u,layerOptionalPseudoSelector:f.pseudoSelector,propertyKey:d,originalPropertyDefinition:c,theme:t,schema:o,currentStyles:s,previewOptions:a}))}}}}}if("button"===n||"iconbutton"===n)for(const e in s)e.includes("-root")&&(s[e]=St(s[e]));return s}var kt=(e,o,t,a)=>{const r=Ft(e,o,t,a);if(!e.variants&&!e.subComponents)return r;const n=e.overrideComponentName?.toLowerCase()||e.label.toLowerCase();if("button"!==n&&"iconbutton"!==n)return r;const s=new Map,l=e=>{if(Zo(e))return Object.keys(e.layers);if(et(e)){const o=new Set;for(const t of Object.values(e.componentStates))Object.keys(t.layers).forEach(e=>o.add(e));return Array.from(o)}return[]},i=(e,t)=>{for(const[a,r]of Object.entries(e)){if(!Zo(r)&&!et(r))continue;const e=l(r);if(e.length){const r=o.defaults?.[a];if(r)for(const o of e){const e=At({componentName:n,variantKey:a,variantValue:r,layer:o,subComponentName:t}),l=Tt(n,a,o,t);s.set(e,`.${e}, .${l}`)}}}};if(e.variants&&i(e.variants),e.subComponents)for(const[o,t]of Object.entries(e.subComponents))i(t.variants,o);const u={};for(const[e,o]of Object.entries(r)){let t=e,a=!1;for(const[o,r]of s.entries())if(e.includes(o)){a=!0;const e=r.match(/,\s*\.([a-z0-9-]+)/);if(e){const a=e[1];t=t.replaceAll(o,a)}}a?u[`${e}, ${t}`]=o:u[e]=o}return u};function Nt(e){return e}function Et(e){return e}function Kt(e){return e}function Yt(e){return e}function zt(e){return e}function Rt(e){return e}function Mt(e){return e}var Bt={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"}}]}},Xt={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},It="system",Lt="system",Dt="light",Ht="large",Ut=!1,Gt="🇺🇸 US",qt="https://s.yimg.com/bw/fonts",Jt=["Helvetica Neue","Helvetica","Arial","sans-serif"],Qt=["Georgia","Times","Times New Roman","serif"],Zt={"centra-no2":{fallback:Jt,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('${qt}/centra-no2-hairline.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"50",src:`url('${qt}/centra-no2-hairline-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"100",src:`url('${qt}/centra-no2-thin.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${qt}/centra-no2-thin-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${qt}/centra-no2-light.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${qt}/centra-no2-light-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/centra-no2-book.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/centra-no2-book-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${qt}/centra-no2-medium.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${qt}/centra-no2-medium-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/centra-no2-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/centra-no2-bold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${qt}/centra-no2-extrabold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"800",src:`url('${qt}/centra-no2-extrabold-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${qt}/centra-no2-black.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"900",src:`url('${qt}/centra-no2-black-italic.woff2') format('woff2')`}]},inter:{fallback:Jt,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('${qt}/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('${qt}/roboto-mono-100.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"100",src:`url('${qt}/roboto-mono-100-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"300",src:`url('${qt}/roboto-mono-300.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"300",src:`url('${qt}/roboto-mono-300-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/roboto-mono-400.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/roboto-mono-400-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"500",src:`url('${qt}/roboto-mono-500.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"500",src:`url('${qt}/roboto-mono-500-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/roboto-mono-700.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/roboto-mono-700-italic.woff2') format('woff2')`}]},"yahoo-sans":{fallback:Jt,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('${qt}/yahoo-sans-vf.woff2') format('woff2')`}]},"yahoo-sans-cr4":{fallback:Jt,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('${qt}/yahoo-sans-cr4-vf.woff2') format('woff2')`}]},"yahoo-product-sans":{fallback:Jt,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('${qt}/yahoo-product-sans-vf.woff2') format('woff2-variations')`}]},"yahoo-product-sans-extended":{fallback:Jt,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('${qt}/YahooPd_Eval202412-v1.1.0.woff2') format("woff2 supports variations"), url('${qt}/YahooPd_Eval202412-v1.1.0.woff2') format('woff2-variations')`}]},"yahoo-sans-condensed":{fallback:Jt,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('${qt}/yahoo-sans-condensed-vf.woff2') format('woff2')`}]},"yahoo-serif-display":{fallback:Qt,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('${qt}/yahoo-serif-display-light.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"400",src:`url('${qt}/yahoo-serif-display-regular.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/yahoo-serif-display-bold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"800",src:`url('${qt}/yahoo-serif-display-extrabold.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"900",src:`url('${qt}/yahoo-serif-display-black.woff2') format('woff2')`}]},"yahoo-serif-text":{fallback:Qt,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('${qt}/yahoo-serif-text-regular.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"400",src:`url('${qt}/yahoo-serif-text-italic.woff2') format('woff2')`},{fontStyle:"normal",fontWeight:"700",src:`url('${qt}/yahoo-serif-text-bold.woff2') format('woff2')`},{fontStyle:"italic",fontWeight:"700",src:`url('${qt}/yahoo-serif-text-bold-italic.woff2') format('woff2')`}]}};function ea({palette:e="accent",variant:o="primary"}){return"accent"===e?o:"primary"===o?e:`${e}-${o}`}function oa(e){return Object.fromEntries(e)}var ta={black:"0 0 0",white:"255 255 255"};function aa({preset:e,prefix:o,shadowType:t}){const a=`--uds-${t}-shadow-`,r="palette"===e.color?.type,n="always"===e.color?.type;let s=`var(--uds-${r?"shadow":"spectrum"}-color-${e?.color?.value})`;n&&(s=ta[e.color.value]);const l=`var(${a}${o?`${o}-`:""}color, ${s})`;return`${"inset"===t?"inset ":""}${[`${M[e.offsetX]}px`,`${M[e.offsetY]}px`,`${B[e.blur]}px`,`${X[e.spread]}px`].map(e=>e).join(" ")} ${`rgb(${l} / var(${a}${o?`${o}-`:""}opacity, ${Number(e.opacity)/100}))`}`}function ra({config:e,shadowType:t}){const a=e?.shadow?.[t];if(!a)return{};const r={};return o(a).forEach(([e,o])=>{if("none"===e)return void(r[`--uds-${t}-shadow-${e}`]="0 0 transparent");const a=o.map((e,o)=>aa({preset:e,prefix:o>0?`${o+1}`:void 0,shadowType:t}));r[`--uds-${t}-shadow-${e}`]=`${a.join(", ")}`}),r}var na=e=>(o,t)=>`typography.${e}.${Ro(t)}`,sa=(e,o)=>{switch(e){case"alwaysPaletteAliases":return`colors.${o}`;case"spectrumColors":{const[e,t]=o.split("-");return`colors.${e}.${t}`}case"foregroundPaletteColors":return`textColor.${o}`;case"backgroundPaletteColors":return`backgroundColor.${o}`;case"linePaletteColors":return`borderColor.${o}`}return Yo()},la=({componentName:e,layer:o,propertyKey:t})=>!("chip"!==e||"root"!==o||!["borderColor","borderWidth"].includes(t))||!("input"!==e||"inputWrapper"!==o||!["borderColor","borderWidth"].includes(t)),ia={name:"backgroundColor",cssProperties:"background-color",twThemePath:sa,possibleFixtures:["backgroundPaletteColors","spectrumColors","alwaysPaletteAliases"]},ua={name:"fontSize",cssProperties:"font-size",twThemePath:na("fontSize"),possibleFixtures:["textVariants"]},da={name:"fontVariationSettings",cssProperties:"font-variation-settings",twThemePath:()=>"",possibleFixtures:["textVariants"],customValueRenderer:e=>{const{value:o}=e,t=Ro(o);return`"wght" var(--uds-font-weight-${t}), "slnt" var(--uds-font-slant-${t}), "wdth" var(--uds-font-width-${t})`}},fa={name:"fontWeight",cssProperties:"font-weight",twThemePath:na("fontWeight"),possibleFixtures:["textVariants"]},ca={name:"fontFamily",cssProperties:"font-family",twThemePath:na("fontFamily"),possibleFixtures:["textVariants"]},pa={name:"color",cssProperties:"color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","foregroundPaletteColors"]},ha={name:"borderWidth",cssProperties:"border-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"],extendedProperties:e=>la(e)&&["outlineWidth","insetOutlineOffset","solidOutline"]},ma={name:"borderColor",cssProperties:"border-color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"],extendedProperties:e=>la(e)&&["outlineColor"]},ba={name:"outlineColor",cssProperties:"outline-color",twThemePath:sa,possibleFixtures:["alwaysPaletteAliases","spectrumColors","linePaletteColors"]},va={name:"textTransform",cssProperties:"text-transform",twThemePath:na("textTransform"),possibleFixtures:["textVariants"]},ya={...{backgroundColor:ia,borderWidth:ha,borderRadius:{name:"borderRadius",cssProperties:"border-radius",twThemePath:(e,o)=>`borderRadius.${o}`,possibleFixtures:["borderRadii"]},borderColor:ma,fontFamily:ca,fontSize:ua,fontVariationSettings:da,lineHeight:{name:"lineHeight",cssProperties:"line-height",twThemePath:na("lineHeight"),possibleFixtures:["textVariants"]},textTransform:va,letterSpacing:{name:"letterSpacing",cssProperties:"letter-spacing",twThemePath:na("letterSpacing"),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:pa,opacity:{name:"opacity",cssProperties:"opacity",twThemePath:(e,o)=>`opacity[${o}]`,possibleFixtures:["opacitySteps"]},fontWeight:fa,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","letterSpacing"]},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)=>aa({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)=>aa({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"]},scaleEffect:{name:"scaleEffect",cssProperties:j,possibleFixtures:["scaleEffects"],twThemePath:()=>"",customValueRenderer:e=>{const o=String(e.value);return"up"===o?"1.03":"down"===o?"0.97":"1"}}},...{outlineWidth:{name:"outlineWidth",cssProperties:"outline-width",twThemePath:(e,o)=>"borderWidths"===e?`borderWidth[${o}]`:`spacing[${o}]`,possibleFixtures:["borderWidths","spacingAliases"]},outlineColor:ba,insetOutlineOffset:{name:"insetOutlineOffset",cssProperties:"outline-offset",twThemePath:()=>"",customValueRenderer:({value:e,type:o},t,a)=>`calc(-1 * ${a("borderWidths"===o?`borderWidth[${e}]`:`spacing[${e}]`)})`,possibleFixtures:["borderWidths","spacingAliases"]},solidOutline:{name:"solidOutline",cssProperties:"outline-style",twThemePath:()=>"",customValueRenderer:()=>"solid",possibleFixtures:[]}}};export{Dt as DEFAULT_COLOR_MODE,It as DEFAULT_COLOR_MODE_FOR_APP,Ut as DEFAULT_HIGH_CONTRAST_MODE,Gt as DEFAULT_REGION_MODE,Ht as DEFAULT_SCALE_MODE,Lt as DEFAULT_SCALE_MODE_FOR_APP,Zt as FONT_DECLARATIONS_MAP,Do as RESPONSIVE_TAILWIND_CONFIG_MAP,Yo as assertUnreachable,ot as cartesianProduct,tt as coalesceConfigVariant,ya as configurableProperties,zt as createComponentStates,Nt as createConfigurableProperty,Rt as createLayerConfig,Mt as createSubComponentConfig,Et as createVariantConfig,Yt as createVariantConfigWithComponentStates,Kt as createVariantConfigWithProperties,zo as entries,Ct as findFixtureType,Xt as fontWeightMap,oa as fromEntries,At as generateClassName,Ft as generateConfigStyles,Vt as generateDeclaration,Tt as generateDefaultClassName,nt as generateKeyFromFlatConfigPath,Qo as generateSchemaKey,kt as generateStyles,Ho as getBaseTextVars,at as getConfigDefaultValue,vt as getConfigPseudoStateVariables,_t as getConfigPseudoStateVariablesWithSetter,ht as getConfigSubcomponents,it as getConfigVariantComponentStates,ut as getConfigVariantComponentStatesMatrix,dt as getConfigVariantProperties,ct as getConfigVariantPseudoStates,mt as getConfigVariants,Uo as getResponsiveTextStyles,aa as getShadowLayerValue,ra as getShadowPresetValues,rt as isConfigDefaultValue,ea as parseButtonVariantFlat,ye as require_MapCache,ge as require_Stack,We as require_Uint8Array,Se as require_baseFor,He as require_baseMerge,ao as require_createAssigner,H as require_eq,$o as require_getAllKeys,Ue as require_identity,Re as require_isIndex,I as require_isString,uo as require_keys,so as require_mapToArray,yt as setConfigPseudoStateVariable,Bt as shadow,Wt as statePseudoMapDocsMode,Ro as textVariantsSafe,Ot as toMinimalDbConfigObject};