@yahoo/uds 3.36.0-beta.4 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/cli.ts +1 -21
  6. package/cli/commands/uds.ts +1 -4
  7. package/cli/env.d.ts +0 -2
  8. package/cli/utils/analytics.ts +7 -12
  9. package/dist/analytics/server.cjs +1 -1
  10. package/dist/analytics/server.js +1 -1
  11. package/dist/{chunk-H62QDZOV.cjs → chunk-266TEOBW.cjs} +1 -1
  12. package/dist/{chunk-QZIQVD63.js → chunk-3Q2RRNEV.js} +3 -3
  13. package/dist/{chunk-UYLBFQ4P.js → chunk-532FA5T4.js} +1 -1
  14. package/dist/{chunk-EXYFDTFM.js → chunk-6EDDHN2V.js} +1 -1
  15. package/dist/{chunk-MATTX7AJ.js → chunk-6T6RXVSC.js} +1 -1
  16. package/dist/chunk-7WIBH2QA.cjs +1 -0
  17. package/dist/{chunk-5U4J6DA5.cjs → chunk-AWLTZBG2.cjs} +1 -1
  18. package/dist/{chunk-MZKL2XHU.js → chunk-BP3AJRW6.js} +2 -2
  19. package/dist/{chunk-ST7Z3YRS.js → chunk-BV4WMKCN.js} +2 -2
  20. package/dist/{chunk-QQ7BRHDQ.js → chunk-BWLVHK35.js} +1 -1
  21. package/dist/{chunk-QXAMOFS3.cjs → chunk-CFZ3UOPU.cjs} +1 -1
  22. package/dist/chunk-DHFUGPYW.js +2 -0
  23. package/dist/{chunk-I7ZFG4YT.js → chunk-EJWE4ZDD.js} +2 -2
  24. package/dist/{chunk-Y5HRSSOF.cjs → chunk-EQ45R5CT.cjs} +1 -1
  25. package/dist/{chunk-6SQQBVSA.js → chunk-FEVGF4MB.js} +1 -1
  26. package/dist/{chunk-GJLQAO4M.cjs → chunk-GQ27QLWT.cjs} +1 -1
  27. package/dist/{chunk-LWGAE6PD.cjs → chunk-HKTEJW4O.cjs} +1 -1
  28. package/dist/{chunk-KPGAKQEP.js → chunk-IGSZSMZ3.js} +1 -1
  29. package/dist/chunk-JEM5Q5ZV.js +2 -0
  30. package/dist/{chunk-JM4WTJDB.cjs → chunk-JNCCDUC5.cjs} +2 -2
  31. package/dist/{chunk-4GUXQTU3.cjs → chunk-JXGXYM2J.cjs} +3 -3
  32. package/dist/{chunk-WX4V6S4A.js → chunk-KSMNVEEZ.js} +1 -1
  33. package/dist/{chunk-PVXOGAWH.js → chunk-LVNVY7D5.js} +1 -1
  34. package/dist/{chunk-RMRBUBTB.js → chunk-NOHU3JAB.js} +3 -3
  35. package/dist/{chunk-CTYIRZ5A.cjs → chunk-OJ3E5CMW.cjs} +1 -1
  36. package/dist/{chunk-SVO6TMF5.js → chunk-P5SQNXWX.js} +1 -1
  37. package/dist/{chunk-F7LPH2UL.cjs → chunk-PHE2SHFZ.cjs} +1 -1
  38. package/dist/{chunk-QF6YIMT4.js → chunk-QRMOGL7I.js} +1 -1
  39. package/dist/{chunk-WRE54KQN.js → chunk-QY4DHKAZ.js} +2 -2
  40. package/dist/{chunk-6HG5KSL6.cjs → chunk-R53FHPNV.cjs} +1 -1
  41. package/dist/{chunk-S5NRWKDP.cjs → chunk-RQQFTFXX.cjs} +1 -1
  42. package/dist/{chunk-VQV2OVOZ.cjs → chunk-S6UCK6XC.cjs} +1 -1
  43. package/dist/{chunk-4A2ZIK3D.cjs → chunk-SOXILHRS.cjs} +1 -1
  44. package/dist/chunk-XLYF7ZHQ.cjs +1 -0
  45. package/dist/{chunk-PNL4K4BQ.cjs → chunk-XUE7PBWU.cjs} +1 -1
  46. package/dist/{chunk-YBIQ3S5G.cjs → chunk-YBNT52RR.cjs} +1 -1
  47. package/dist/client/Menu.cjs +2 -2
  48. package/dist/client/Menu.js +2 -2
  49. package/dist/client/index.cjs +1 -1
  50. package/dist/client/index.js +1 -1
  51. package/dist/experimental/client/SwitchV2.cjs +1 -1
  52. package/dist/experimental/client/SwitchV2.js +1 -2
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/metafile-cjs.json +1 -1
  56. package/dist/metafile-esm.json +1 -1
  57. package/dist/tailwind/plugin.cjs +1 -1
  58. package/dist/tailwind/plugin.js +2 -1
  59. package/dist/tailwind/purger.cjs +1 -1
  60. package/dist/tailwind/purger.js +2 -2
  61. package/dist/tailwind/tsMorph.cjs +1 -1
  62. package/dist/tailwind/tsMorph.js +2 -2
  63. package/dist/tailwind/utils.cjs +1 -1
  64. package/dist/tailwind/utils.d.cts +8 -6
  65. package/dist/tailwind/utils.d.ts +8 -6
  66. package/dist/tailwind/utils.js +1 -1
  67. package/dist/tokens/automation/configs.cjs +1 -1
  68. package/dist/tokens/automation/configs.js +1 -1
  69. package/dist/tokens/automation/properties.cjs +1 -1
  70. package/dist/tokens/automation/properties.js +1 -1
  71. package/dist/tokens/index.cjs +1 -1
  72. package/dist/tokens/index.js +1 -1
  73. package/package.json +1 -1
  74. package/cli/commands/login.ts +0 -30
  75. package/cli/commands/logout.ts +0 -27
  76. package/cli/utils/auth.ts +0 -175
  77. package/dist/chunk-5D2A6RFS.js +0 -2
  78. package/dist/chunk-74BWCTGT.cjs +0 -1
  79. package/dist/chunk-DCZLRK3J.js +0 -2
  80. package/dist/chunk-VQ4KEVVH.cjs +0 -1
Binary file
Binary file
Binary file
Binary file
package/cli/cli.ts CHANGED
@@ -2,13 +2,10 @@
2
2
  // Start bluebun to run the correct CLI command
3
3
  import { parseArgs } from 'node:util';
4
4
 
5
- import { cli, print, red } from 'bluebun';
5
+ import { cli } from 'bluebun';
6
6
  import updateNotifier from 'simple-update-notifier';
7
7
 
8
8
  import packageJson from '../package.json' assert { type: 'json' };
9
- import { getAuthenticatedUser } from './utils/auth';
10
-
11
- const EXEMPT_FROM_AUTH = ['login'];
12
9
 
13
10
  async function main() {
14
11
  if (process.env.CI !== '1') {
@@ -38,23 +35,6 @@ async function main() {
38
35
  cliPath,
39
36
  });
40
37
 
41
- // Don't require auth when running root `--help`
42
- const isRootHelp = command.name === 'uds' && props.options.help;
43
- const shouldRequireAuth = !isRootHelp && !EXEMPT_FROM_AUTH.includes(command.name);
44
-
45
- if (shouldRequireAuth) {
46
- const user = await getAuthenticatedUser(cliPath);
47
-
48
- if (!user) {
49
- print(
50
- red(
51
- '🚨 Sign-in required. Please run `uds login` and use a @yahooinc.com email during sign-in.',
52
- ),
53
- );
54
- return;
55
- }
56
- }
57
-
58
38
  await command.run(props);
59
39
  }
60
40
 
@@ -2,7 +2,6 @@ import type { Props } from 'bluebun';
2
2
  import { print, red } from 'bluebun';
3
3
 
4
4
  import { trackEvent } from '../utils/analytics';
5
- import { getAuthenticatedUser } from '../utils/auth';
6
5
  import { getCommandHelp } from '../utils/getCommandHelp';
7
6
 
8
7
  export default {
@@ -13,8 +12,6 @@ export default {
13
12
  print(red(`Unknown command: ${props.first}`));
14
13
  await trackEvent('unknown_cmd', { cmd: props.first });
15
14
  }
16
- const user = await getAuthenticatedUser();
17
- const notes = user ? `🔒 Logged in as ${user.email}` : undefined;
18
- await getCommandHelp({ ...props, notes });
15
+ await getCommandHelp({ ...props });
19
16
  },
20
17
  };
package/cli/env.d.ts CHANGED
@@ -20,7 +20,5 @@ declare module 'bun' {
20
20
  UDS_ID?: string;
21
21
  /** UDS sync command - filename to write the config output */
22
22
  UDS_OUT_FILE?: string;
23
- /** UDS team slug for CLI */
24
- UDS_TEAM_SLUG?: string;
25
23
  }
26
24
  }
@@ -1,19 +1,14 @@
1
1
  import type { EventName } from '@yahoo/uds/analytics/server';
2
2
  import { GA_MEASUREMENT_IDS, GA_MEASUREMENT_SECRETS, track } from '@yahoo/uds/analytics/server';
3
3
 
4
- import { getAuthenticatedUser } from './auth';
5
-
6
4
  export async function setup() {
7
- const user = await getAuthenticatedUser();
8
- if (user) {
9
- await track.init({
10
- appName: 'cli',
11
- apiSecret: GA_MEASUREMENT_SECRETS.cli,
12
- measurementId: GA_MEASUREMENT_IDS.cli,
13
- // @ts-expect-error type is fine
14
- user,
15
- });
16
- }
5
+ // Initialize analytics without user authentication
6
+ // Analytics will work anonymously
7
+ await track.init({
8
+ appName: 'cli',
9
+ apiSecret: GA_MEASUREMENT_SECRETS.cli,
10
+ measurementId: GA_MEASUREMENT_IDS.cli,
11
+ });
17
12
  }
18
13
 
19
14
  export async function trackEvent(...args: Parameters<typeof track.event<EventName['cli']>>) {
@@ -1 +1 @@
1
- "use strict";var e=require("os"),t=require("child_process"),i=require("uuid");function r(e){return e&&e.__esModule?e:{default:e}}var n=r(e),s=r(t),a=/^(\w+)\:\s+flags=/,o=/^(\w+)\s{2,}link encap:\w+/i,c=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,l=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function u(){let e="eth";const t=n.default.platform();return"darwin"===t?e="en":"win32"===t&&(e=void 0),e}function d(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function f(e,t,i=!1){let r;for(const n of e)if(d(n.family,t)){if(i&&n.address.startsWith("127."))continue;if("IPv6"!==t)return n;if(0===n.scopeid)return n;r||(r=n)}return r}function m(e,t){let i;i=e,i=i||u();const r=function(e,t){const i=n.default.networkInterfaces(),r=!t;if(e=e||"IPv4",t=t||u())for(let r=-1;r<8;r++){const n=i[t+(r>=0?r:"")];if(n){const t=f(n,e);if(t)return t}}if(r)for(const t in i){const r=i[t];if(r){const t=f(r,e,!0);if(t)return t}}}("IPv4",i);return r?(process.env.CI||"ff:00:00:00:00:00"!==r.mac&&"00:00:00:00:00:00"!==r.mac||(r.mac=""),r.mac?t(null,r.mac):void s.default.exec("win32"===n.default.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},(e,n)=>{if(e||!n)return t(e);if(!i)return t();const s=function(e,t,i){const r=e.split("\n");for(let e=0;e<r.length;e++){let n=r[e].trimEnd();const s=a.exec(n)||o.exec(n);if(!s)continue;if(0!==s[1].indexOf(t))continue;let u=null,d=null,f=c.exec(n);for(f&&(d=f[1]),e++;;){if(n=r[e],!n||a.exec(n)||o.exec(n)){e--;break}d||(f=c.exec(n),f&&(d=f[1])),u||(f=l.exec(n),f&&(u=f[1])),e++}if(u===i)return d}return null}(n||"",i,r.address);t(null,s)})):t()}async function h(){const e=await new Promise((e,t)=>{m("",(i,r)=>{if(i)return t(i);e(r||null)})})??n.default.hostname();return i.v5(e,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var p={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0",create:"G-YQKTV5NWTC"},w={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},g=["development","test"].includes(process.env.NODE_ENV??""),v=new class{#e;#t;#i;#r=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:r,user:n}){if(!this.#r)return this.#e=t,this.#t=i,this.user=n,this.appName=e,this.debugMode=r??g,h().then(e=>{this.#i=e,this.#r=!0,this.#n()});console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#n(){if(!this.#r)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.");if(!this.user)throw new Error("UDS analytics: user has not been set.");if(!this.user.analyticsContext)throw new Error("UDS analytics: user is missing analyticsContext.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#n();const{role:i,team:r}=this.user.analyticsContext??{},n=i&&r?{role:{value:i},team:{value:r}}:void 0,s={client_id:this.#i,user_id:this.user.id,user_properties:n,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:p.all,apiSecret:w.all}].map(async({id:t,apiSecret:i})=>{try{const r=new URL("https://www.google-analytics.com/mp/collect");r.searchParams.set("measurement_id",t),r.searchParams.set("api_secret",i);const n=await fetch(r.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!n.ok)throw new Error(`HTTP error status: ${n.status}`);g&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}});return Promise.allSettled(a)}};exports.GA_MEASUREMENT_IDS=p,exports.GA_MEASUREMENT_SECRETS=w,exports.track=v;
1
+ "use strict";var e=require("os"),t=require("child_process"),i=require("uuid");function r(e){return e&&e.__esModule?e:{default:e}}var n=r(e),s=r(t),a=/^(\w+)\:\s+flags=/,o=/^(\w+)\s{2,}link encap:\w+/i,c=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,l=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function d(){let e="eth";const t=n.default.platform();return"darwin"===t?e="en":"win32"===t&&(e=void 0),e}function u(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function f(e,t,i=!1){let r;for(const n of e)if(u(n.family,t)){if(i&&n.address.startsWith("127."))continue;if("IPv6"!==t)return n;if(0===n.scopeid)return n;r||(r=n)}return r}function m(e,t){let i;i=e,i=i||d();const r=function(e,t){const i=n.default.networkInterfaces(),r=!t;if(e=e||"IPv4",t=t||d())for(let r=-1;r<8;r++){const n=i[t+(r>=0?r:"")];if(n){const t=f(n,e);if(t)return t}}if(r)for(const t in i){const r=i[t];if(r){const t=f(r,e,!0);if(t)return t}}}("IPv4",i);return r?(process.env.CI||"ff:00:00:00:00:00"!==r.mac&&"00:00:00:00:00:00"!==r.mac||(r.mac=""),r.mac?t(null,r.mac):void s.default.exec("win32"===n.default.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},(e,n)=>{if(e||!n)return t(e);if(!i)return t();const s=function(e,t,i){const r=e.split("\n");for(let e=0;e<r.length;e++){let n=r[e].trimEnd();const s=a.exec(n)||o.exec(n);if(!s)continue;if(0!==s[1].indexOf(t))continue;let d=null,u=null,f=c.exec(n);for(f&&(u=f[1]),e++;;){if(n=r[e],!n||a.exec(n)||o.exec(n)){e--;break}u||(f=c.exec(n),f&&(u=f[1])),d||(f=l.exec(n),f&&(d=f[1])),e++}if(d===i)return u}return null}(n||"",i,r.address);t(null,s)})):t()}async function h(){const e=await new Promise((e,t)=>{m("",(i,r)=>{if(i)return t(i);e(r||null)})})??n.default.hostname();return i.v5(e,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var p={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0",create:"G-YQKTV5NWTC"},v={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},g=["development","test"].includes(process.env.NODE_ENV??""),w=new class{#e;#t;#i;#r=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:r,user:n}){if(!this.#r)return this.#e=t,this.#t=i,this.user=n,this.appName=e,this.debugMode=r??g,h().then(e=>{this.#i=e,this.#r=!0,this.#n()});console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#n(){if(!this.#r)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#n();const{role:i,team:r}=this.user?.analyticsContext??{},n=i&&r?{role:{value:i},team:{value:r}}:void 0,s={client_id:this.#i,user_id:this.user?.id??void 0,user_properties:n,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:p.all,apiSecret:v.all}].map(async({id:t,apiSecret:i})=>{try{const r=new URL("https://www.google-analytics.com/mp/collect");r.searchParams.set("measurement_id",t),r.searchParams.set("api_secret",i);const n=await fetch(r.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!n.ok)throw new Error(`HTTP error status: ${n.status}`);g&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}});return Promise.allSettled(a)}};exports.GA_MEASUREMENT_IDS=p,exports.GA_MEASUREMENT_SECRETS=v,exports.track=w;
@@ -1 +1 @@
1
- import e from"os";import t from"child_process";import{v5 as i}from"uuid";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var n=/^(\w+)\:\s+flags=/,r=/^(\w+)\s{2,}link encap:\w+/i,s=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,a=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function o(){let t="eth";const i=e.platform();return"darwin"===i?t="en":"win32"===i&&(t=void 0),t}function c(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function l(e,t,i=!1){let n;for(const r of e)if(c(r.family,t)){if(i&&r.address.startsWith("127."))continue;if("IPv6"!==t)return r;if(0===r.scopeid)return r;n||(n=r)}return n}function d(i,c){let d;d=i,d=d||o();const u=function(t,i){const n=e.networkInterfaces(),r=!i;if(t=t||"IPv4",i=i||o())for(let e=-1;e<8;e++){const r=n[i+(e>=0?e:"")];if(r){const e=l(r,t);if(e)return e}}if(r)for(const e in n){const i=n[e];if(i){const e=l(i,t,!0);if(e)return e}}}("IPv4",d);return u?(process.env.CI||"ff:00:00:00:00:00"!==u.mac&&"00:00:00:00:00:00"!==u.mac||(u.mac=""),u.mac?c(null,u.mac):void t.exec("win32"===e.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},(e,t)=>{if(e||!t)return c(e);if(!d)return c();const i=function(e,t,i){const o=e.split("\n");for(let e=0;e<o.length;e++){let c=o[e].trimEnd();const l=n.exec(c)||r.exec(c);if(!l)continue;if(0!==l[1].indexOf(t))continue;let d=null,u=null,m=s.exec(c);for(m&&(u=m[1]),e++;;){if(c=o[e],!c||n.exec(c)||r.exec(c)){e--;break}u||(m=s.exec(c),m&&(u=m[1])),d||(m=a.exec(c),m&&(d=m[1])),e++}if(d===i)return u}return null}(t||"",d,u.address);c(null,i)})):c()}async function u(){const t=await new Promise((e,t)=>{d("",(i,n)=>{if(i)return t(i);e(n||null)})})??e.hostname();return i(t,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var m={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0",create:"G-YQKTV5NWTC"},f={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},h=["development","test"].includes(process.env.NODE_ENV??""),p=new class{#e;#t;#i;#n=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:n,user:r}){if(!this.#n)return this.#e=t,this.#t=i,this.user=r,this.appName=e,this.debugMode=n??h,u().then(e=>{this.#i=e,this.#n=!0,this.#r()});console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#r(){if(!this.#n)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.");if(!this.user)throw new Error("UDS analytics: user has not been set.");if(!this.user.analyticsContext)throw new Error("UDS analytics: user is missing analyticsContext.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#r();const{role:i,team:n}=this.user.analyticsContext??{},r=i&&n?{role:{value:i},team:{value:n}}:void 0,s={client_id:this.#i,user_id:this.user.id,user_properties:r,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:m.all,apiSecret:f.all}].map(async({id:t,apiSecret:i})=>{try{const n=new URL("https://www.google-analytics.com/mp/collect");n.searchParams.set("measurement_id",t),n.searchParams.set("api_secret",i);const r=await fetch(n.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!r.ok)throw new Error(`HTTP error status: ${r.status}`);h&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}});return Promise.allSettled(a)}};export{m as GA_MEASUREMENT_IDS,f as GA_MEASUREMENT_SECRETS,p as track};
1
+ import e from"os";import t from"child_process";import{v5 as i}from"uuid";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var n=/^(\w+)\:\s+flags=/,r=/^(\w+)\s{2,}link encap:\w+/i,s=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,a=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function o(){let t="eth";const i=e.platform();return"darwin"===i?t="en":"win32"===i&&(t=void 0),t}function c(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function l(e,t,i=!1){let n;for(const r of e)if(c(r.family,t)){if(i&&r.address.startsWith("127."))continue;if("IPv6"!==t)return r;if(0===r.scopeid)return r;n||(n=r)}return n}function d(i,c){let d;d=i,d=d||o();const u=function(t,i){const n=e.networkInterfaces(),r=!i;if(t=t||"IPv4",i=i||o())for(let e=-1;e<8;e++){const r=n[i+(e>=0?e:"")];if(r){const e=l(r,t);if(e)return e}}if(r)for(const e in n){const i=n[e];if(i){const e=l(i,t,!0);if(e)return e}}}("IPv4",d);return u?(process.env.CI||"ff:00:00:00:00:00"!==u.mac&&"00:00:00:00:00:00"!==u.mac||(u.mac=""),u.mac?c(null,u.mac):void t.exec("win32"===e.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},(e,t)=>{if(e||!t)return c(e);if(!d)return c();const i=function(e,t,i){const o=e.split("\n");for(let e=0;e<o.length;e++){let c=o[e].trimEnd();const l=n.exec(c)||r.exec(c);if(!l)continue;if(0!==l[1].indexOf(t))continue;let d=null,u=null,m=s.exec(c);for(m&&(u=m[1]),e++;;){if(c=o[e],!c||n.exec(c)||r.exec(c)){e--;break}u||(m=s.exec(c),m&&(u=m[1])),d||(m=a.exec(c),m&&(d=m[1])),e++}if(d===i)return u}return null}(t||"",d,u.address);c(null,i)})):c()}async function u(){const t=await new Promise((e,t)=>{d("",(i,n)=>{if(i)return t(i);e(n||null)})})??e.hostname();return i(t,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var m={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0",create:"G-YQKTV5NWTC"},f={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},h=["development","test"].includes(process.env.NODE_ENV??""),p=new class{#e;#t;#i;#n=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:n,user:r}){if(!this.#n)return this.#e=t,this.#t=i,this.user=r,this.appName=e,this.debugMode=n??h,u().then(e=>{this.#i=e,this.#n=!0,this.#r()});console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#r(){if(!this.#n)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#r();const{role:i,team:n}=this.user?.analyticsContext??{},r=i&&n?{role:{value:i},team:{value:n}}:void 0,s={client_id:this.#i,user_id:this.user?.id??void 0,user_properties:r,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:m.all,apiSecret:f.all}].map(async({id:t,apiSecret:i})=>{try{const n=new URL("https://www.google-analytics.com/mp/collect");n.searchParams.set("measurement_id",t),n.searchParams.set("api_secret",i);const r=await fetch(n.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!r.ok)throw new Error(`HTTP error status: ${r.status}`);h&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}});return Promise.allSettled(a)}};export{m as GA_MEASUREMENT_IDS,f as GA_MEASUREMENT_SECRETS,p as track};
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("./chunk-4GUXQTU3.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:X,spacingStart:D,spacingTop:U,offset:Y,offsetVertical:Q,offsetHorizontal:J,offsetBottom:K,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:T,flexBasis:E,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:X,spacingStart:D,spacingTop:U,offset:Y,offsetVertical:Q,offsetHorizontal:J,offsetBottom:K,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})}),n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
1
+ "use strict";var r=require("./chunk-JNCCDUC5.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:U,offsetHorizontal:K,offsetBottom:O,offsetEnd:Q,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:R,overflowX:P,overflowY:I,position:k,spacing:G,spacingHorizontal:y,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:U,offsetHorizontal:K,offsetBottom:O,offsetEnd:Q,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})}),n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
2
2
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=a,exports.a=o,exports.e=s,exports.e2=h,exports.o=i,exports.o2=c,exports.t=n;
@@ -1,3 +1,3 @@
1
- import{require_isFunction as o,variants as r}from"./chunk-SVO6TMF5.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{textVariants as e,backgroundColors as n,foregroundColors as i,spectrumColors as a,borderRadii as s,borderWidths as l,lineColors as d}from"@yahoo/uds/fixtures";import{getFeatureFlags as f}from"@yahoo/uds/flags";import c from"clsx";import p from"imurmurhash";import{extendTailwindMerge as u}from"tailwind-merge";import{forwardRef as m,memo as b,isValidElement as h,cloneElement as g,Children as S}from"react";import{jsx as x}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- function y(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function C(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var w=u({extend:{theme:{borderColor:d,borderWidth:l,borderRadius:s}},override:{classGroups:{"text-color":[{text:[...i,...a]}],"bg-color":[{bg:n}],"font-family":[{font:["icons",...e]}],leading:[{leading:e}]},conflictingClassGroups:{}}}),W=(...o)=>{const r=c(o);return w(r)},v=o=>r=>{if(!o?.variants)return W(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map(o=>{const n=r?.[o],i=e?.[o],a=y(n)||y(i);return t[o][a]}),i={...e,...r&&C(r)},a=o?.compoundVariants?.reduce((o,{className:r,...t})=>Object.entries(t).every(([o,r])=>i[o]===r)?W(o,r):o,"");return W(o?.base,n,a,r?.className)},B=v({variants:r}),T=new Map,N=o=>{const{useGetStylesCache:r}=f();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(C(o)),t=(new p).hash(JSON.stringify(r)).result();if(T.has(t))return T.get(t);const e=B(r);return T.set(t,e),e}return B(o)};function E(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function R(){const o=m((o,t)=>{const{children:n,...i}=o,a=S.toArray(n),s=a.find(e);if(s){const o=s.props.children,e=a.map(r=>r===s?S.count(o)>1?S.only(null):h(o)?o.props.children:null:r);return x(r,{...i,ref:t,children:h(o)?g(o,void 0,e):null})}return x(r,{...i,ref:t,children:n})});o.displayName="Slot";const r=m((o,r)=>{const{children:t,...e}=o;return h(t)?g(t,{...n(e,t.props),ref:r?E(r,t.ref):t.ref}):S.count(t)>1?S.only(null):null});r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return h(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var z=R(),G=m(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:S,borderTopWidth:y,borderBottomWidth:C,alignContent:w,alignItems:W,alignSelf:v,flex:B,flexDirection:T,flexGrow:E,flexShrink:R,flexWrap:G,justifyContent:V,flexBasis:H,display:j="flex",overflow:k,overflowX:O,overflowY:I,position:A,spacing:F,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:M,spacingStart:$,spacingTop:J,offset:P,offsetVertical:Z,offsetHorizontal:_,offsetBottom:q,offsetEnd:K,offsetStart:L,offsetTop:Q,columnGap:U,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=N({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:S,borderTopWidth:y,borderBottomWidth:C,alignContent:w,alignItems:W,alignSelf:v,flex:B,flexDirection:T,flexGrow:E,flexShrink:R,flexWrap:G,justifyContent:V,flexBasis:H,display:j,overflow:k,overflowX:O,overflowY:I,position:A,spacing:F,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:M,spacingStart:$,spacingTop:J,offset:P,offsetVertical:Z,offsetHorizontal:_,offsetBottom:q,offsetEnd:K,offsetStart:L,offsetTop:Q,columnGap:U,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t});return x(o?z:r,{className:so,ref:ao,...io})});G.displayName="Box";var V=R(),H={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},j=m(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=H[e],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:l,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:S,borderEndColor:y,borderTopColor:C,borderBottomColor:w,borderWidth:W,borderVerticalWidth:v,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:j,alignSelf:k,flex:O,flexDirection:I,flexGrow:A,flexShrink:F,flexWrap:D,justifyContent:X,flexBasis:Y,display:M,overflow:$,overflowX:J,overflowY:P,position:Z,spacing:_,spacingHorizontal:q,spacingVertical:K,spacingBottom:L,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:s??e,lineHeight:l??e,textTransform:d??e}:{},textAlign:f},mo=N({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:S,borderEndColor:y,borderTopColor:C,borderBottomColor:w,borderWidth:W,borderVerticalWidth:v,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:z,alignContent:G,alignItems:j,alignSelf:k,flex:O,flexDirection:I,flexGrow:A,flexShrink:F,flexWrap:D,justifyContent:X,flexBasis:Y,display:M,overflow:$,overflowX:J,overflowY:P,position:Z,spacing:_,spacingHorizontal:q,spacingVertical:K,spacingBottom:L,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo});return x(r?V:n,{className:mo,ref:po,...co})});j.displayName="Text";var k={xs:12,sm:16,md:24,lg:32},O=m(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const s=o.metadata?.variants??[],l=s.includes(t)?t:s[0]??"fill",d="multicolor"===l,f=N({flex:"none",color:d?void 0:e,className:W(n,!d&&"[&_path]:fill-current")}),c=k[r];return x("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:x(o,{size:r,variant:l})})});O.displayName="Icon";var I=t(o(),1),A=b(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},a=W(t,n),s=o;if(s.metadata?.isSvgIcon)return x(O,{name:s,...i,...e,className:a});if((0,I.default)(o)){const t=o(r||{}),n=t?.props.className;return h(t)&&g(t,{...e,className:W(a,n)})}return h(o)&&g(o,{...i,...o.props,...e,className:W(a,o.props.className)})});A.displayName="IconSlot";
3
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,O as Icon,A as IconSlot,j as Text,R as createSlot,v as cva,W as cx,N as getStyles};
1
+ import{require_isFunction as o,variants as r}from"./chunk-QRMOGL7I.js";import{__toESM as t}from"./chunk-GF4A6TFM.js";import{textVariants as e,backgroundColors as n,foregroundColors as i,spectrumColors as a,borderRadii as s,borderWidths as l,lineColors as d}from"@yahoo/uds/fixtures";import{getFeatureFlags as f}from"@yahoo/uds/flags";import c from"clsx";import p from"imurmurhash";import{extendTailwindMerge as u}from"tailwind-merge";import{forwardRef as m,memo as b,isValidElement as h,cloneElement as g,Children as S}from"react";import{jsx as x}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ function y(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function C(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var w=u({extend:{theme:{borderColor:d,borderWidth:l,borderRadius:s}},override:{classGroups:{"text-color":[{text:[...i,...a]}],"bg-color":[{bg:n}],"font-family":[{font:["icons",...e]}],leading:[{leading:e}]},conflictingClassGroups:{}}}),W=(...o)=>{const r=c(o);return w(r)},v=o=>r=>{if(!o?.variants)return W(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map(o=>{const n=r?.[o],i=e?.[o],a=y(n)||y(i);return t[o][a]}),i={...e,...r&&C(r)},a=o?.compoundVariants?.reduce((o,{className:r,...t})=>Object.entries(t).every(([o,r])=>i[o]===r)?W(o,r):o,"");return W(o?.base,n,a,r?.className)},B=v({variants:r}),T=new Map,N=o=>{const{useGetStylesCache:r}=f();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(C(o)),t=(new p).hash(JSON.stringify(r)).result();if(T.has(t))return T.get(t);const e=B(r);return T.set(t,e),e}return B(o)};function E(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function R(){const o=m((o,t)=>{const{children:n,...i}=o,a=S.toArray(n),s=a.find(e);if(s){const o=s.props.children,e=a.map(r=>r===s?S.count(o)>1?S.only(null):h(o)?o.props.children:null:r);return x(r,{...i,ref:t,children:h(o)?g(o,void 0,e):null})}return x(r,{...i,ref:t,children:n})});o.displayName="Slot";const r=m((o,r)=>{const{children:t,...e}=o;return h(t)?g(t,{...n(e,t.props),ref:r?E(r,t.ref):t.ref}):S.count(t)>1?S.only(null):null});r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return h(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var G=R(),z=m(function({asChild:o,as:r="div",className:t,backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:S,borderTopWidth:y,borderBottomWidth:C,alignContent:w,alignItems:W,alignSelf:v,flex:B,flexDirection:T,flexGrow:E,flexShrink:R,flexWrap:z,justifyContent:H,flexBasis:V,display:j="flex",overflow:k,overflowX:I,overflowY:O,position:A,spacing:D,spacingHorizontal:F,spacingVertical:X,spacingBottom:Y,spacingEnd:M,spacingStart:$,spacingTop:J,offset:L,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:U,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,...io},ao){const so=N({backgroundColor:e,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:l,borderColor:d,borderStartColor:f,borderEndColor:c,borderTopColor:p,borderBottomColor:u,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:h,borderStartWidth:g,borderEndWidth:S,borderTopWidth:y,borderBottomWidth:C,alignContent:w,alignItems:W,alignSelf:v,flex:B,flexDirection:T,flexGrow:E,flexShrink:R,flexWrap:z,justifyContent:H,flexBasis:V,display:j,overflow:k,overflowX:I,overflowY:O,position:A,spacing:D,spacingHorizontal:F,spacingVertical:X,spacingBottom:Y,spacingEnd:M,spacingStart:$,spacingTop:J,offset:L,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:U,rowGap:oo,width:ro,height:to,dropShadow:eo,insetShadow:no,className:t});return x(o?G:r,{className:so,ref:ao,...io})});z.displayName="Box";var H=R(),V={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},j=m(function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=V[e],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:l,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:S,borderEndColor:y,borderTopColor:C,borderBottomColor:w,borderWidth:W,borderVerticalWidth:v,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:G,alignContent:z,alignItems:j,alignSelf:k,flex:I,flexDirection:O,flexGrow:A,flexShrink:D,flexWrap:F,justifyContent:X,flexBasis:Y,display:M,overflow:$,overflowX:J,overflowY:L,position:P,spacing:Q,spacingHorizontal:Z,spacingVertical:_,spacingBottom:q,spacingEnd:K,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:s??e,lineHeight:l??e,textTransform:d??e}:{},textAlign:f},mo=N({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:g,borderStartColor:S,borderEndColor:y,borderTopColor:C,borderBottomColor:w,borderWidth:W,borderVerticalWidth:v,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:G,alignContent:z,alignItems:j,alignSelf:k,flex:I,flexDirection:O,flexGrow:A,flexShrink:D,flexWrap:F,justifyContent:X,flexBasis:Y,display:M,overflow:$,overflowX:J,overflowY:L,position:P,spacing:Q,spacingHorizontal:Z,spacingVertical:_,spacingBottom:q,spacingEnd:K,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:fo});return x(r?H:n,{className:mo,ref:po,...co})});j.displayName="Text";var k={xs:12,sm:16,md:24,lg:32},I=m(function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const s=o.metadata?.variants??[],l=s.includes(t)?t:s[0]??"fill",d="multicolor"===l,f=N({flex:"none",color:d?void 0:e,className:W(n,!d&&"[&_path]:fill-current")}),c=k[r];return x("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:x(o,{size:r,variant:l})})});I.displayName="Icon";var O=t(o(),1),A=b(function({icon:o,iconProps:r,className:t,...e}){if(!o)return null;const{className:n,...i}=r||{},a=W(t,n),s=o;if(s.metadata?.isSvgIcon)return x(I,{name:s,...i,...e,className:a});if((0,O.default)(o)){const t=o(r||{}),n=t?.props.className;return h(t)&&g(t,{...e,className:W(a,n)})}return h(o)&&g(o,{...i,...o.props,...e,className:W(a,o.props.className)})});A.displayName="IconSlot";
3
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{z as Box,I as Icon,A as IconSlot,j as Text,R as createSlot,v as cva,W as cx,N as getStyles};
@@ -1,2 +1,2 @@
1
- import{createSlot as r,getStyles as l}from"./chunk-RMRBUBTB.js";import{forwardRef as e}from"react";import{jsx as t,Fragment as o,jsxs as a}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r(),n=e(function({className:r,asChild:e,onPress:o,onClick:a=o,backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:B,flexDirection:A,flexGrow:W,flexShrink:T,flexWrap:E,justifyContent:R,flexBasis:_,display:I,overflow:P,overflowX:k,overflowY:G,position:j,spacing:y,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:U,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:Q,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,...or},ar){const ir=l({backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:B,flexDirection:A,flexGrow:W,flexShrink:T,flexWrap:E,justifyContent:R,flexBasis:_,display:I,overflow:P,overflowX:k,overflowY:G,position:j,spacing:y,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:U,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:Q,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,className:r});return t(e?i:"button",{className:ir,ref:ar,onClick:a,tabIndex:0,...or})}),h=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:a("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t(o,{})};h.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t(o,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t(o,{})};d.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t(o,{})};s.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t(o,{})};u.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t(o,{})};f.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
1
+ import{createSlot as r,getStyles as l}from"./chunk-3Q2RRNEV.js";import{forwardRef as e}from"react";import{jsx as t,Fragment as o,jsxs as a}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r(),n=e(function({className:r,asChild:e,onPress:o,onClick:a=o,backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:R,justifyContent:T,flexBasis:_,display:I,overflow:P,overflowX:k,overflowY:G,position:j,spacing:y,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:Q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,...or},ar){const ir=l({backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:R,justifyContent:T,flexBasis:_,display:I,overflow:P,overflowX:k,overflowY:G,position:j,spacing:y,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:Q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,className:r});return t(e?i:"button",{className:ir,ref:ar,onClick:a,tabIndex:0,...or})}),h=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:a("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t(o,{})};h.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t(o,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t(o,{})};d.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t(o,{})};s.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t(o,{})};u.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===l)switch(r){case"xs":return t(o,{children:t("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t(o,{children:t("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t(o,{children:t("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t(o,{children:t("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t(o,{})};f.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
2
2
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{n as Pressable,d as a,c as e,u as e2,s as o,f as o2,h as t};
@@ -1 +1 @@
1
- import{HStack as o}from"./chunk-KPGAKQEP.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-QZIQVD63.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:E,alignContent:V,alignItems:w,alignSelf:H,flex:I,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:P,overflowX:N,overflowY:D,position:F,spacing:Q,spacingHorizontal:K,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:L,offsetHorizontal:M,offsetBottom:O,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:E,alignContent:V,alignItems:w,alignSelf:H,flex:I,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:P,overflowX:N,overflowY:D,position:F,spacing:Q,spacingHorizontal:K,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:L,offsetHorizontal:M,offsetBottom:O,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
1
+ import{HStack as o}from"./chunk-IGSZSMZ3.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-NOHU3JAB.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:H,alignContent:w,alignItems:E,alignSelf:I,flex:V,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:F,overflowY:P,position:D,spacing:X,spacingHorizontal:Y,spacingVertical:Z,spacingBottom:A,spacingEnd:J,spacingStart:M,spacingTop:O,offset:U,offsetVertical:q,offsetHorizontal:K,offsetBottom:L,offsetEnd:Q,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:H,alignContent:w,alignItems:E,alignSelf:I,flex:V,flexDirection:R,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:F,overflowY:P,position:D,spacing:X,spacingHorizontal:Y,spacingVertical:Z,spacingBottom:A,spacingEnd:J,spacingStart:M,spacingTop:O,offset:U,offsetVertical:q,offsetHorizontal:K,offsetBottom:L,offsetEnd:Q,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
@@ -1 +1 @@
1
- import{HStack as o}from"./chunk-PVXOGAWH.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-RMRBUBTB.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:B,borderEndWidth:W,borderTopWidth:C,borderBottomWidth:H,alignContent:V,alignItems:w,alignSelf:E,flex:R,flexDirection:I,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:P,overflowY:F,position:X,spacing:D,spacingHorizontal:Y,spacingVertical:A,spacingBottom:M,spacingEnd:O,spacingStart:U,spacingTop:q,offset:J,offsetVertical:K,offsetHorizontal:L,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:B,borderEndWidth:W,borderTopWidth:C,borderBottomWidth:H,alignContent:V,alignItems:w,alignSelf:E,flex:R,flexDirection:I,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:G,flexBasis:k,display:j,overflow:N,overflowX:P,overflowY:F,position:X,spacing:D,spacingHorizontal:Y,spacingVertical:A,spacingBottom:M,spacingEnd:O,spacingStart:U,spacingTop:q,offset:J,offsetVertical:K,offsetHorizontal:L,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
1
+ import{HStack as o}from"./chunk-LVNVY7D5.js";import{getStyles as r,cx as t,IconSlot as e}from"./chunk-3Q2RRNEV.js";import{jsxs as i,jsx as n}from"react/jsx-runtime";import{memo as a}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function l({width:o,height:t,src:e,alt:i,contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:V,borderBottomWidth:B,alignContent:E,alignItems:w,alignSelf:H,flex:R,flexDirection:I,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:j,overflowX:D,overflowY:F,position:P,spacing:Y,spacingHorizontal:X,spacingVertical:L,spacingBottom:Q,spacingEnd:q,spacingStart:A,spacingTop:J,offset:K,offsetVertical:M,offsetHorizontal:O,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:a,backgroundColor:l,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:f,borderBottomEndRadius:c,borderColor:b,borderStartColor:u,borderEndColor:m,borderTopColor:h,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:V,borderBottomWidth:B,alignContent:E,alignItems:w,alignSelf:H,flex:R,flexDirection:I,flexGrow:z,flexShrink:v,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:j,overflowX:D,overflowY:F,position:P,spacing:Y,spacingHorizontal:X,spacingVertical:L,spacingBottom:Q,spacingEnd:q,spacingStart:A,spacingTop:J,offset:K,offsetVertical:M,offsetHorizontal:O,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return n("img",{src:e,alt:i,className:eo,style:{width:o,height:t},...to})}var d=a(function({startIcon:a,endIcon:l,iconProps:d,children:s,size:p,isFilled:f,...c}){const b={helperText:t(r({inputSizeHelperText:p,inputVariantHelperText:"default",inputVariantValueHelperText:f?"filled":"empty"})),helperIcon:r({inputSizeHelperIcon:p,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:f?"filled":"empty"})},u={variant:"outline",...d};return i(o,{gap:"1",alignItems:"center",...c,children:[a&&n(e,{icon:a,...u,iconProps:d,className:b.helperIcon}),n("span",{className:b.helperText,children:s}),l&&n(e,{icon:l,...u,iconProps:d,className:b.helperIcon})]})});export{l as Image,d as InputHelpTextMemo};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./chunk-NQ7BFO3S.cjs"),t=require("./chunk-RQQFTFXX.cjs"),r=require("./chunk-J7PUOUXC.cjs"),n=require("./chunk-EQ45R5CT.cjs"),o=require("./chunk-3AYBRPUC.cjs"),a=require("./chunk-QLXJH36U.cjs"),s=require("@yahoo/uds/fixtures");function i(e){return e&&e.__esModule?e:{default:e}}var c=i(require("tailwindcss/plugin.js")),u=a.__commonJS({"../../node_modules/lodash/isString.js"(e,t){var r=n.require_baseGetTag(),o=n.require_isArray(),a=n.require_isObjectLike();t.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}}}),l=a.__toESM(u(),1),d=e=>{throw new Error("Didn't expect to get here")};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var f=(e,t,r,n)=>{const o=e.typography[t]?.[r];if(!o)throw new Error(`Missing typography data for variant "${t}" and key "${r}"`);const a="base"===n?o.base:o.breakpoints?.[n];if(!a)throw new Error(`Missing value for variant "${t}", key "${r}", and breakpoint "${n}"`);if((0,l.default)(a))return a;switch(a.type){case"px":return a.value/16+"rem";case"unitless":return String(a.value)}return d()},_=(e,t)=>t in e.font?`var(--${o.FONT_FAMILY_PREFIX}-${t})`:t,F=(e,t)=>Object.fromEntries(s.textVariants.flatMap(r=>[[`--${o.FONT_FAMILY_PREFIX}-${r}`,_(e,f(e,r,"fontFamily",t))],[`--${o.FONT_SIZE_PREFIX}-${r}`,f(e,r,"fontSize",t)],[`--${o.FONT_WEIGHT_PREFIX}-${r}`,f(e,r,"fontWeight",t)],[`--${o.FONT_SLANT_PREFIX}-${r}`,f(e,r,"fontSlant",t)],[`--${o.FONT_WIDTH_PREFIX}-${r}`,f(e,r,"fontWidth",t)],[`--${o.LINE_HEIGHT_PREFIX}-${r}`,f(e,r,"lineHeight",t)],[`--${o.TEXT_TRANSFORM_PREFIX}-${r}`,f(e,r,"textTransform",t)]])),p=e=>Object.fromEntries(s.textVariants.map(t=>[t,`var(--${e}-${t})`])),E={fontFamily:p(o.FONT_FAMILY_PREFIX),fontWeight:p(o.FONT_WEIGHT_PREFIX),fontSlant:p(o.FONT_SLANT_PREFIX),fontWidth:p(o.FONT_WIDTH_PREFIX),fontSize:p(o.FONT_SIZE_PREFIX),lineHeight:p(o.LINE_HEIGHT_PREFIX),textTransform:p(o.TEXT_TRANSFORM_PREFIX)};function S(e,t){const r=h(e);for(const e of r)t({"@font-face":e})}var g=c.default.withOptions(function({fontIds:e}){return function({addBase:t}){S(e,t)}});function h(e){return e.flatMap(e=>{const{declarations:r,fontFamily:n}=t.FONT_DECLARATIONS_MAP[e];return r.map(e=>({fontFamily:n,fontDisplay:"swap",...e}))})}function m(e){return`"${e}"`}function x(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.RESPONSIVE_TAILWIND_CONFIG_MAP=E,exports.addFontFaceDeclarations=S,exports.addFontsPlugin=g,exports.assertUnreachable=d,exports.getBaseTextStyles=e=>({":root":F(e,"base")}),exports.getColorModeStyles=function(e){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...e.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...e.colorMode.dark._vars}}},exports.getFontFaceDeclarations=h,exports.getFontStyles=function(e){return t.fromEntries(r.entries(e).map(([e,r])=>{const n=`--${o.FONT_FAMILY_PREFIX}-${e}`,a=t.FONT_DECLARATIONS_MAP[r];return[n,[a.fontFamily,...a.fallback].map(m).join(", ")]}))},exports.getMotionStyles=function(n){const o=r.entries(n).flatMap(([t,n])=>r.entries(n).flatMap(([r,n])=>s.motionSpringConfigOptions.map(o=>[e.getMotionVar({variant:t,speed:r,control:o}),`${n[o]}`])));return t.fromEntries(o)},exports.getResponsiveTextStyles=e=>{const t=(r=e.breakpoints,Object.entries(r)).sort(([,{value:e}],[,{value:t}])=>e-t);var r;return{[`.${o.TEXT_RESPONSIVE_CLASSNAME}`]:Object.fromEntries(t.map(([t,{value:r}])=>[`@media (min-width: ${r}px)`,F(e,t)])),".uds-text-base":F(e,"base"),...Object.fromEntries(t.map(([t])=>[`.uds-text-${t}`,F(e,t)]))}},exports.getScaleModeStyles=function(e){return{xSmall:x(e.scaleMode.xSmall),small:x(e.scaleMode.small),medium:x(e.scaleMode.medium),large:x(e.scaleMode.large),xLarge:x(e.scaleMode.xLarge),xxLarge:x(e.scaleMode.xxLarge),xxxLarge:x(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:n}){const a=e.shadow[n],s=r.entries(a).map(([e])=>[`.uds-${n}-shadow-${e}`,{[`--uds-${n}-shadow`]:`var(--${o.UDS_PREFIX}-${n}-shadow-${e})`,boxShadow:`var(--${o.UDS_PREFIX}-drop-shadow, 0 0 transparent), var(--${o.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return t.fromEntries(s)},exports.require_isString=u;
@@ -1 +1 @@
1
- "use strict";var r=require("./chunk-4GUXQTU3.cjs"),e=require("./chunk-Y5HRSSOF.cjs"),t=require("./chunk-QLXJH36U.cjs"),n=require("react"),a=require("react/jsx-runtime"),c=t.__toESM(e.require_isFunction(),1),i=(r,e)=>((r,e)=>{const t=(0,c.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(n.Children.toArray(r),r=>{const t=(0,c.default)(e)?e(r):e;return n.isValidElement(t)?n.cloneElement(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),o=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...c,children:n?i(t,n):t})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="HStack";var u=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...c,children:n?i(t,n):t})});u.displayName="VStack",exports.HStack=o,exports.VStack=u;
1
+ "use strict";var r=require("./chunk-JXGXYM2J.cjs"),e=require("./chunk-EQ45R5CT.cjs"),t=require("./chunk-QLXJH36U.cjs"),n=require("react"),a=require("react/jsx-runtime"),c=t.__toESM(e.require_isFunction(),1),i=(r,e)=>((r,e)=>{const t=(0,c.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(n.Children.toArray(r),r=>{const t=(0,c.default)(e)?e(r):e;return n.isValidElement(t)?n.cloneElement(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),o=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...c,children:n?i(t,n):t})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="HStack";var u=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...c,children:n?i(t,n):t})});u.displayName="VStack",exports.HStack=o,exports.VStack=u;