twenty-ui 2.54.3 → 2.56.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 (168) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +4 -3
  3. package/dist/{AllIcons-B9FfQJ70.js → AllIcons-DbdVWsOq.js} +260 -260
  4. package/dist/AllIcons-RgvlIG_O.cjs +1 -0
  5. package/dist/{Button-C3IE0Kup.cjs → Button-CbJ3qEQ9.cjs} +1 -1
  6. package/dist/{Button-By-nG5vV.js → Button-wpJzTy9O.js} +3 -3
  7. package/dist/{Dropdown-CyEoMEjR.cjs → Dropdown-CTTQTn7B.cjs} +1 -1
  8. package/dist/{Dropdown-Zdc0J7Bg.js → Dropdown-CWXJOVhy.js} +13 -13
  9. package/dist/{Heading-CHvEXL6n.cjs → Heading-DnDEfr6w.cjs} +1 -1
  10. package/dist/{Heading-Nj5BlPqB.js → Heading-prj1BR5x.js} +4 -4
  11. package/dist/IconAddressBook-B6S_w1Z7.cjs +1 -0
  12. package/dist/IconAddressBook-yE-1oV2W.js +41 -0
  13. package/dist/{Input-BKRR1xlO.js → Input-B9glruH9.js} +5 -5
  14. package/dist/{Input-DS19vWhl.cjs → Input-D0yWU3vB.cjs} +1 -1
  15. package/dist/{ListItem-D0WDJG-e.cjs → ListItem-D6FYdx6v.cjs} +1 -1
  16. package/dist/{ListItem-BgRDvHQG.js → ListItem-mIMpO2Ia.js} +8 -8
  17. package/dist/Loader-9tUcz6Y9.js +29 -0
  18. package/dist/Loader-r-OAVzF_.cjs +1 -0
  19. package/dist/{OverflowingTextWithTooltip-CuWHF8_e.cjs → OverflowingTextWithTooltip-B21zZWP6.cjs} +1 -1
  20. package/dist/{OverflowingTextWithTooltip-CAQ-5aUp.js → OverflowingTextWithTooltip-aPLt9O1-.js} +9 -9
  21. package/dist/{Popover-DhFCYRtv.js → Popover-5bTsqA1R.js} +1 -1
  22. package/dist/{Popover-B-VIhr5g.cjs → Popover-JaBFWSK-.cjs} +1 -1
  23. package/dist/{ProgressBar-km29TA-7.cjs → ProgressBar-BYw2pGjr.cjs} +1 -1
  24. package/dist/{ProgressBar-B_QvBWbI.js → ProgressBar-Bjj3a1R3.js} +10 -10
  25. package/dist/Radio-Bg-zmy-1.js +176 -0
  26. package/dist/{Radio-DUQ6MLGc.cjs → Radio-CjaEN7Bt.cjs} +1 -1
  27. package/dist/{ResizeHandle-B30OYZxS.js → ResizeHandle-BWoKp0dV.js} +11 -11
  28. package/dist/{ResizeHandle-B1MuHTNA.cjs → ResizeHandle-D4Q-ffcT.cjs} +1 -1
  29. package/dist/{Shortcut-CThgcmn_.js → Shortcut-04Wkuy0i.js} +10 -10
  30. package/dist/{Shortcut-CLngfg7s.cjs → Shortcut-Gp5Ix8K2.cjs} +1 -1
  31. package/dist/{Skeleton-tXeIy4qq.cjs → Skeleton-DSloDuSJ.cjs} +1 -1
  32. package/dist/{Skeleton-BbIF780H.js → Skeleton-gAiz2xVU.js} +4 -4
  33. package/dist/{Tooltip-BXeUFCdb.cjs → Tooltip-BTv1a0nT.cjs} +1 -1
  34. package/dist/{Tooltip-CT9YCDaV.js → Tooltip-C60MawQS.js} +10 -10
  35. package/dist/VisuallyHidden-BOlbK5vT.cjs +1 -0
  36. package/dist/{VisuallyHidden-CFZP7ybO.js → VisuallyHidden-EWkEBgpc.js} +4 -4
  37. package/dist/components/code-editor.cjs +1 -1
  38. package/dist/components/code-editor.mjs +11 -11
  39. package/dist/components/data-display/AssistantAvatar/AssistantAvatar.d.ts +2 -0
  40. package/dist/components/data-display/AssistantAvatar/internal/components/AnimatedAssistantAvatarFace.d.ts +6 -0
  41. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarBodyAssetByShape.constant.d.ts +12 -0
  42. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarColors.constant.d.ts +1 -0
  43. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarFaceAssetByFace.constant.d.ts +8 -0
  44. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarFaces.constant.d.ts +1 -0
  45. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarShapes.constant.d.ts +1 -0
  46. package/dist/components/data-display/AssistantAvatar/internal/constants/assistantAvatarSizes.constant.d.ts +1 -0
  47. package/dist/components/data-display/AssistantAvatar/types/AssistantAvatarColor.d.ts +3 -0
  48. package/dist/components/data-display/AssistantAvatar/types/AssistantAvatarFace.d.ts +2 -0
  49. package/dist/components/data-display/AssistantAvatar/types/AssistantAvatarProps.d.ts +12 -0
  50. package/dist/components/data-display/AssistantAvatar/types/AssistantAvatarShape.d.ts +2 -0
  51. package/dist/components/data-display/AssistantAvatar/types/AssistantAvatarSize.d.ts +2 -0
  52. package/dist/components/data-display/index.d.ts +6 -0
  53. package/dist/components/data-display.cjs +1 -1
  54. package/dist/components/data-display.mjs +9 -8
  55. package/dist/components/feedback.cjs +1 -1
  56. package/dist/components/feedback.mjs +1 -1
  57. package/dist/components/input/SegmentedControl/types/SegmentedControlProps.d.ts +2 -2
  58. package/dist/components/input.cjs +1 -1
  59. package/dist/components/input.mjs +2 -2
  60. package/dist/components/layout.cjs +1 -1
  61. package/dist/components/layout.mjs +1 -1
  62. package/dist/components/navigation.cjs +1 -1
  63. package/dist/components/navigation.mjs +2 -2
  64. package/dist/components/settings.cjs +1 -1
  65. package/dist/components/settings.mjs +1 -1
  66. package/dist/components.cjs +1 -1
  67. package/dist/components.mjs +43 -42
  68. package/dist/{data-display-DlmWaxYb.cjs → data-display-B0ANuV9c.cjs} +1 -1
  69. package/dist/data-display-Czu6NhqA.cjs +2 -0
  70. package/dist/data-display-_j--U7HG.js +520 -0
  71. package/dist/{data-display-DKSUI3GC.js → data-display-njtZTjjY.js} +24 -24
  72. package/dist/{feedback-DFTvn5aL.js → feedback-B-wGbbew.js} +31 -31
  73. package/dist/{feedback-Cvmm1EZX.cjs → feedback-DZF40uJe.cjs} +1 -1
  74. package/dist/icon/index.d.ts +0 -4
  75. package/dist/icon/{components → provider/components}/Icon.d.ts +1 -1
  76. package/dist/icon/provider/hooks/useIcons.d.ts +4 -0
  77. package/dist/icon/provider/index.d.ts +4 -0
  78. package/dist/icon/{internal → provider/internal}/IconsContext.d.ts +1 -1
  79. package/dist/icon/provider.cjs +1 -0
  80. package/dist/icon/provider.mjs +35 -0
  81. package/dist/{icon-BlUO7C4w.js → icon-6Nun996H.js} +360 -424
  82. package/dist/icon-BhAcFxaJ.cjs +1 -0
  83. package/dist/icon.cjs +1 -1
  84. package/dist/icon.mjs +143 -145
  85. package/dist/index.cjs +1 -1
  86. package/dist/index.mjs +605 -605
  87. package/dist/{input-Clzu-UFH.js → input-BaXuEzOr.js} +36 -36
  88. package/dist/input-BlZ0RHaV.js +379 -0
  89. package/dist/input-DQfXFl5C.cjs +1 -0
  90. package/dist/{input-E1x0D2jA.cjs → input-cZCDLL4-.cjs} +1 -1
  91. package/dist/{layout-DHW99Ejj.cjs → layout-CpDps22m.cjs} +1 -1
  92. package/dist/{layout-4p7UQD7l.js → layout-DGrag6ua.js} +99 -99
  93. package/dist/{navigation-BY8X2w04.js → navigation-B4F-yaFC.js} +6 -6
  94. package/dist/{navigation-4RI9GlzA.js → navigation-CmTgub0K.js} +14 -14
  95. package/dist/{navigation-B9jOHv99.cjs → navigation-CuI3MVOM.cjs} +1 -1
  96. package/dist/{navigation-ByYN6NgX.cjs → navigation-Dqiqv2rb.cjs} +1 -1
  97. package/dist/primitives/accessibility.cjs +1 -1
  98. package/dist/primitives/accessibility.mjs +1 -1
  99. package/dist/primitives/data-display/Badge/types/BadgeColor.d.ts +1 -1
  100. package/dist/primitives/data-display.cjs +1 -1
  101. package/dist/primitives/data-display.mjs +1 -1
  102. package/dist/primitives/feedback.cjs +1 -1
  103. package/dist/primitives/feedback.mjs +3 -3
  104. package/dist/primitives/input/RadioGroup/RadioGroup.d.ts +1 -1
  105. package/dist/primitives/input/RadioGroup/types/RadioGroupProps.d.ts +2 -0
  106. package/dist/primitives/input.cjs +1 -1
  107. package/dist/primitives/input.mjs +4 -4
  108. package/dist/primitives/layout.cjs +1 -1
  109. package/dist/primitives/layout.mjs +1 -1
  110. package/dist/primitives/navigation.cjs +1 -1
  111. package/dist/primitives/navigation.mjs +2 -2
  112. package/dist/primitives/surfaces/Card/Card.d.ts +1 -1
  113. package/dist/primitives/surfaces/Card/internal/CardRoot.d.ts +1 -1
  114. package/dist/primitives/surfaces/Card/types/CardRootProps.d.ts +2 -0
  115. package/dist/primitives/surfaces.cjs +1 -1
  116. package/dist/primitives/surfaces.mjs +3 -3
  117. package/dist/primitives/typography.cjs +1 -1
  118. package/dist/primitives/typography.mjs +4 -4
  119. package/dist/primitives.cjs +1 -1
  120. package/dist/primitives.mjs +19 -19
  121. package/dist/{settings-2ZhNkDgW.js → settings-BSIBOXgt.js} +2 -2
  122. package/dist/{settings-DR3dpWzy.cjs → settings-gd-ps3zs.cjs} +1 -1
  123. package/dist/style.css +1 -1
  124. package/dist/surfaces-BpIdyqtX.js +227 -0
  125. package/dist/surfaces-GkxUWBN6.cjs +1 -0
  126. package/dist/testing.cjs +1 -1
  127. package/dist/testing.mjs +2 -2
  128. package/dist/theme/constants/ThemeLight.d.ts +1 -0
  129. package/dist/theme/internal/ThemeNumericValueByCssVariable.d.ts +1 -0
  130. package/dist/theme/internal/ThemeTokenTree.d.ts +3 -0
  131. package/dist/theme/internal/resolveThemeTokens.d.ts +2 -0
  132. package/dist/theme/themeCssVariables.d.ts +1 -0
  133. package/dist/theme/themeTypes.d.ts +1 -0
  134. package/dist/{theme-CuGIQBsJ.js → theme-B1jMC8En.js} +2577 -2544
  135. package/dist/theme-CeIzO6UU.cjs +1 -0
  136. package/dist/theme-dark.css +1 -0
  137. package/dist/theme-light.css +1 -0
  138. package/dist/theme.cjs +1 -1
  139. package/dist/theme.mjs +13 -13
  140. package/dist/{typography-B4hug-TZ.cjs → typography-BQbeIT60.cjs} +1 -1
  141. package/dist/{typography-jl1UzvVu.js → typography-DvK5mDnG.js} +2 -2
  142. package/dist/{useIsMobile-CZeJLJJN.js → useIsMobile-B0P21Ov9.js} +1 -1
  143. package/dist/{useIsMobile-VmnhfE8g.cjs → useIsMobile-BnW-j5Bq.cjs} +1 -1
  144. package/dist/utilities/color/utils/themeColorSchema.d.ts +15 -15
  145. package/dist/utilities/index.d.ts +1 -0
  146. package/dist/utilities/zoom/utils/isPageZoomGesture.d.ts +1 -0
  147. package/dist/utilities-9ARl_uku.cjs +1 -0
  148. package/dist/{utilities-E91ftFp_.js → utilities-IyA_ho0H.js} +19 -18
  149. package/dist/utilities.cjs +1 -1
  150. package/dist/utilities.mjs +18 -17
  151. package/package.json +9 -1
  152. package/dist/AllIcons-HGLkp696.cjs +0 -1
  153. package/dist/Loader-Dau0YQpY.cjs +0 -1
  154. package/dist/Loader-U1LuZtJf.js +0 -29
  155. package/dist/Radio-rURvQ923.js +0 -176
  156. package/dist/VisuallyHidden-B-n4x1KY.cjs +0 -1
  157. package/dist/data-display-Cg9gF6Cb.cjs +0 -2
  158. package/dist/data-display-CuvXSBLo.js +0 -422
  159. package/dist/icon/hooks/useIcons.d.ts +0 -4
  160. package/dist/icon-C688lfSq.cjs +0 -1
  161. package/dist/input-BIUZSrhq.js +0 -374
  162. package/dist/input-CX8QPMDn.cjs +0 -1
  163. package/dist/surfaces-C70biBA8.js +0 -225
  164. package/dist/surfaces-DcGz8LO-.cjs +0 -1
  165. package/dist/theme-BJRNJNPO.cjs +0 -1
  166. package/dist/utilities-YhvQ2XFb.cjs +0 -1
  167. /package/dist/icon/{providers → provider}/IconsProvider.d.ts +0 -0
  168. /package/dist/icon/{providers → provider}/internal/AllIcons.d.ts +0 -0
@@ -1,50 +1,51 @@
1
- import { a as o, c as t, i as s, n as r, o as e, r as n, s as i, t as m } from "./data-display-CuvXSBLo.js";
2
- import { a as u, i as p, n as l, o as d, r as I, t as T } from "./feedback-DFTvn5aL.js";
3
- import { a as B, c as C, d as S, f as g, i as w, l as L, n as P, o as h, p as k, r as D, s as R, t as A, u as O } from "./input-Clzu-UFH.js";
4
- import { a as v, o as y, t as E } from "./Dropdown-Zdc0J7Bg.js";
5
- import { i as M, n as _, r as j, t as x } from "./layout-4p7UQD7l.js";
6
- import { a as J, i as N, n as U, o as q, r as z, t as H } from "./navigation-4RI9GlzA.js";
7
- import { t as Q } from "./settings-2ZhNkDgW.js";
1
+ import { a as o, c as t, i as s, l as r, n as e, o as n, r as i, s as m, t as c } from "./data-display-_j--U7HG.js";
2
+ import { a as p, i as l, n as d, o as I, r as T, t as f } from "./feedback-B-wGbbew.js";
3
+ import { a as C, c as S, d as g, f as w, i as L, l as P, n as h, o as k, p as A, r as D, s as R, t as v, u as O } from "./input-BaXuEzOr.js";
4
+ import { a as y, o as E, t as F } from "./Dropdown-CWXJOVhy.js";
5
+ import { i as _, n as j, r as x, t as G } from "./layout-DGrag6ua.js";
6
+ import { a as N, i as U, n as q, o as z, r as H, t as K } from "./navigation-CmTgub0K.js";
7
+ import { t as V } from "./settings-BSIBOXgt.js";
8
8
  export {
9
- M as AnimatedIconCrossfade,
9
+ _ as AnimatedIconCrossfade,
10
+ r as AssistantAvatar,
10
11
  t as AvatarGroup,
11
- d as Callout,
12
- i as CommandBlock,
13
- q as CountPager,
14
- k as CountrySelect,
15
- g as CurrencyPicker,
16
- U as DEFAULT_COLOR_LABELS,
17
- S as DatePicker,
18
- e as DetailsRow,
19
- E as Dropdown,
12
+ I as Callout,
13
+ m as CommandBlock,
14
+ z as CountPager,
15
+ A as CountrySelect,
16
+ w as CurrencyPicker,
17
+ q as DEFAULT_COLOR_LABELS,
18
+ g as DatePicker,
19
+ n as DetailsRow,
20
+ F as Dropdown,
20
21
  O as EmojiPicker,
21
- L as FormFieldRow,
22
- y as IconButton,
23
- C as ImageInput,
24
- u as InlineBanner,
22
+ P as FormFieldRow,
23
+ E as IconButton,
24
+ S as ImageInput,
25
+ p as InlineBanner,
25
26
  o as JsonTree,
26
- j as LabeledSeparator,
27
+ x as LabeledSeparator,
27
28
  R as LightButton,
28
- v as LightIconButton,
29
- z as ListItemButton,
30
- h as MainButton,
29
+ y as LightIconButton,
30
+ H as ListItemButton,
31
+ k as MainButton,
31
32
  s as MetricRow,
32
- B as NumberStepper,
33
- _ as OverflowingList,
34
- w as PhoneCountryPicker,
33
+ C as NumberStepper,
34
+ j as OverflowingList,
35
+ L as PhoneCountryPicker,
35
36
  D as ReactionButton,
36
- P as SearchInput,
37
- x as Section,
38
- A as SegmentedControl,
39
- Q as SettingsRow,
40
- n as StackIcon,
41
- H as TabButton,
42
- m as TintedIconTile,
43
- I as Toast,
44
- l as ToastProvider,
45
- T as Toaster,
46
- r as getIconTileColorShades,
47
- J as useDropdownPage,
48
- N as useDropdownPlacementOrThrow,
49
- p as useToast
37
+ h as SearchInput,
38
+ G as Section,
39
+ v as SegmentedControl,
40
+ V as SettingsRow,
41
+ i as StackIcon,
42
+ K as TabButton,
43
+ c as TintedIconTile,
44
+ T as Toast,
45
+ d as ToastProvider,
46
+ f as Toaster,
47
+ e as getIconTileColorShades,
48
+ N as useDropdownPage,
49
+ U as useDropdownPlacementOrThrow,
50
+ l as useToast
50
51
  };
@@ -1 +1 @@
1
- const m=require("./theme-BJRNJNPO.cjs"),b=require("./isDefined-DS2Q42p5.cjs"),R=require("./doNotTranslate-CHE7WmRS.cjs"),q=require("./mergeClassNames-D4lshrT6.cjs"),x=require("./utilities-YhvQ2XFb.cjs"),M=require("./Loader-Dau0YQpY.cjs"),O=require("./OverflowingTextWithTooltip-CuWHF8_e.cjs");let T=require("@base-ui/react/use-render"),p=require("@sniptt/guards"),j=require("clsx"),t=require("react/jsx-runtime"),A=require("@base-ui/react/avatar");var W="_root_1bbob_1",Z="_avatarPulsing_1bbob_1",U="_image_1bbob_95",G="_fallback_1bbob_107",k={root:W,avatarPulsing:Z,image:U,fallback:G},B=({className:e,...a})=>(0,t.jsx)(A.Avatar.Fallback,{...a,className:q.mergeClassNames(k.fallback,e)}),E=({className:e,...a})=>(0,t.jsx)(A.Avatar.Image,{...a,className:q.mergeClassNames(k.image,e)}),V=({name:e,colorSeed:a=e,size:r="md",shape:o="square",variant:s="soft",color:i,backgroundColor:n,borderColor:u,pulsing:d=!1,ring:l=!1,className:v,style:c,...g})=>{const _=m.useTheme(),f=x.getAvatarInitial(e),w=f?i??x.stringToThemeColorP3String({string:a??"",variant:12,theme:_}):i??_.font.color.tertiary,N=f?n??x.stringToThemeColorP3String({string:a??"",variant:s==="outline"?5:4,theme:_}):n??_.background.transparent.light,y=u??(f?x.stringToThemeColorP3String({string:a??"",variant:6,theme:_}):void 0);return(0,t.jsx)(A.Avatar.Root,{...g,"data-size":r,"data-shape":o,"data-pulsing":d||void 0,"data-ring":l||void 0,className:q.mergeClassNames(k.root,v),style:h=>({"--tw-avatar-color":w,"--tw-avatar-background":h.imageLoadingStatus==="loaded"?"none":N,"--tw-avatar-border":s==="outline"&&h.imageLoadingStatus!=="loaded"&&y?R.doNotTranslate(`1px solid ${y}`):"none",...(0,p.isFunction)(c)?c(h):c})})},H=({src:e,name:a,icon:r,imageProps:o,fallbackProps:s,backgroundColor:i,...n})=>{const u=x.getAvatarInitial(a),d=b.isDefined(r)&&!(0,p.isBoolean)(r)&&r!=="",l=o?.alt??"",v=!d&&(0,p.isNonEmptyString)(l),{children:c=d?r:u||"-",...g}=s??{},_=b.isDefined(g.role)||b.isDefined(g["aria-label"])||b.isDefined(g["aria-labelledby"]),f=!v&&!_&&!b.isDefined(g.render);return(0,t.jsxs)(V,{...n,name:a,backgroundColor:d?"inherit":i,children:[!d&&(0,t.jsx)(E,{src:e??void 0,...o,alt:l}),(0,t.jsx)(B,{role:v?"img":void 0,"aria-label":v?l:void 0,"aria-hidden":f||void 0,...g,children:c})]})},J=Object.assign(H,{Root:V,Image:E,Fallback:B}),K={xxl:{fontSize:"16px",width:"40px"},xl:{fontSize:"16px",width:"32px"},lg:{fontSize:"13px",width:"24px"},md:{fontSize:"12px",width:"16px"},sm:{fontSize:"10px",width:"14px"},xs:{fontSize:"8px",width:"12px"}},Q="_badge_1bd5g_1",X={badge:Q},ee=({size:e="sm",color:a="tertiary",shape:r="pill",className:o,render:s,ref:i,...n})=>(0,T.useRender)({defaultTagName:"span",render:s,ref:i,props:{...n,className:(0,j.clsx)(X.badge,o),"data-badge-size":e,"data-badge-color":a,"data-badge-shape":r}}),ae="_chip_3fwe7_1",te="_label_3fwe7_29",re="_endElementDivider_3fwe7_90",S={chip:ae,label:te,endElementDivider:re},se={height:"var(--t-spacing-4)"},ie=({children:e,size:a="sm",variant:r="ghost",color:o="primary",shape:s="square",weight:i="regular",onClick:n,clickable:u=b.isDefined(n),startElement:d,endElement:l,endElementDivider:v=!1,maxWidth:c,truncate:g=!0,tooltipContent:_,tooltipDelay:f,isTooltipMultiline:w,tooltipPlace:N,alwaysShowTooltip:y=!1,className:h,style:F,render:I,ref:L,...z})=>{const $=b.isDefined(e)&&!(0,p.isBoolean)(e)&&e!=="",Y=(0,p.isString)(e)?{text:e,tooltipContent:_}:{text:e??!1,tooltipContent:_??""};return(0,T.useRender)({render:I,ref:L,state:{size:a,variant:r,color:o,shape:s,weight:i,clickable:u,truncate:g},props:{...z,onClick:n,className:(0,j.clsx)(S.chip,h),style:{...b.isDefined(c)?{"--tw-chip-max-width":R.doNotTranslate(`${c}px`)}:{},...F},children:(0,t.jsxs)(t.Fragment,{children:[d,$&&(0,t.jsx)(O.OverflowingTextWithTooltip,{...Y,render:(0,t.jsx)("span",{}),className:S.label,style:a==="md"?se:void 0,truncate:g,tooltipDelay:f,isTooltipMultiline:w,tooltipPlace:N,alwaysShowTooltip:y}),b.isDefined(l)&&l!==!1&&(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsx)("span",{className:S.endElementDivider}),l]})]})}})},ne="_root_6bfj6_1",oe="_circle_6bfj6_13",D={root:ne,circle:oe},le=({colorName:e,color:a,variant:r,className:o,style:s,render:i,ref:n,...u})=>(0,T.useRender)({defaultTagName:"div",render:i,ref:n,props:{...u,className:(0,j.clsx)(D.root,r==="circle"&&D.circle,o),style:{"--color-sample-color":a??m.themeCssVariables.tag.background[e],"--color-sample-border-color":m.themeCssVariables.tag.text[e],...s}}}),de="_status_y5v42_1",ue="_content_y5v42_49",P={status:de,content:ue},ce=({children:e,color:a,loading:r=!1,weight:o="regular",className:s,style:i,render:n,ref:u,...d})=>{const l=x.parseThemeColor(a);return(0,T.useRender)({defaultTagName:"span",render:n,ref:u,state:{loading:r,weight:o},props:{"aria-busy":r||void 0,...d,className:(0,j.clsx)(P.status,s),style:{"--tw-status-background":m.themeCssVariables.tag.background[l],"--tw-status-text-color":m.themeCssVariables.tag.text[l],...i},children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:P.content,children:e}),r&&(0,t.jsx)(M.Loader,{color:a,"aria-hidden":"true",render:(0,t.jsx)("span",{})})]})}})},ge="_tag_1ot0y_1",_e="_content_1ot0y_49",me="_overflowingText_1ot0y_58",be="_iconContainer_1ot0y_62",C={tag:ge,content:_e,overflowingText:me,iconContainer:be},ve=({children:e,color:a,weight:r="regular",variant:o="soft",startIcon:s,truncate:i=!0,borderStyle:n="solid",className:u,style:d,render:l,ref:v,...c})=>(0,T.useRender)({defaultTagName:"span",render:l,ref:v,state:{variant:o,weight:r,truncate:i},props:{...c,className:(0,j.clsx)(C.tag,u),style:{"--tw-tag-background":a==="transparent"?"transparent":m.themeCssVariables.tag.background[a]??m.themeCssVariables.tag.background.gray,"--tw-tag-text":a==="transparent"?m.themeCssVariables.font.color.secondary:m.themeCssVariables.tag.text[a]??m.themeCssVariables.font.color.secondary,"--tw-tag-border-style":n,...d},children:(0,t.jsxs)(t.Fragment,{children:[b.isDefined(s)&&!(0,p.isBoolean)(s)&&s!==""&&(0,t.jsx)("span",{className:C.iconContainer,"aria-hidden":!0,children:s}),(0,t.jsx)("span",{className:C.content,children:(0,p.isString)(e)&&i?(0,t.jsx)(O.OverflowingTextWithTooltip,{text:e,render:(0,t.jsx)("span",{}),className:C.overflowingText}):e})]})}});Object.defineProperty(exports,"AVATAR_PROPERTIES_BY_SIZE",{enumerable:!0,get:function(){return K}});Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return J}});Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return ee}});Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return ie}});Object.defineProperty(exports,"ColorSample",{enumerable:!0,get:function(){return le}});Object.defineProperty(exports,"Status",{enumerable:!0,get:function(){return ce}});Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return ve}});
1
+ const m=require("./theme-CeIzO6UU.cjs"),b=require("./isDefined-DS2Q42p5.cjs"),R=require("./doNotTranslate-CHE7WmRS.cjs"),k=require("./mergeClassNames-D4lshrT6.cjs"),x=require("./utilities-9ARl_uku.cjs"),M=require("./Loader-r-OAVzF_.cjs"),O=require("./OverflowingTextWithTooltip-B21zZWP6.cjs");let p=require("@sniptt/guards"),T=require("clsx"),t=require("react/jsx-runtime"),j=require("@base-ui/react/use-render"),q=require("@base-ui/react/avatar");var W="_root_1bbob_1",Z="_avatarPulsing_1bbob_1",U="_image_1bbob_95",G="_fallback_1bbob_107",A={root:W,avatarPulsing:Z,image:U,fallback:G},B=({className:e,...a})=>(0,t.jsx)(q.Avatar.Fallback,{...a,className:k.mergeClassNames(A.fallback,e)}),E=({className:e,...a})=>(0,t.jsx)(q.Avatar.Image,{...a,className:k.mergeClassNames(A.image,e)}),V=({name:e,colorSeed:a=e,size:r="md",shape:o="square",variant:s="soft",color:i,backgroundColor:n,borderColor:u,pulsing:d=!1,ring:l=!1,className:v,style:c,...g})=>{const _=m.useTheme(),f=x.getAvatarInitial(e),w=f?i??x.stringToThemeColorP3String({string:a??"",variant:12,theme:_}):i??_.font.color.tertiary,N=f?n??x.stringToThemeColorP3String({string:a??"",variant:s==="outline"?5:4,theme:_}):n??_.background.transparent.light,y=u??(f?x.stringToThemeColorP3String({string:a??"",variant:6,theme:_}):void 0);return(0,t.jsx)(q.Avatar.Root,{...g,"data-size":r,"data-shape":o,"data-pulsing":d||void 0,"data-ring":l||void 0,className:k.mergeClassNames(A.root,v),style:h=>({"--tw-avatar-color":w,"--tw-avatar-background":h.imageLoadingStatus==="loaded"?"none":N,"--tw-avatar-border":s==="outline"&&h.imageLoadingStatus!=="loaded"&&y?R.doNotTranslate(`1px solid ${y}`):"none",...(0,p.isFunction)(c)?c(h):c})})},H=({src:e,name:a,icon:r,imageProps:o,fallbackProps:s,backgroundColor:i,...n})=>{const u=x.getAvatarInitial(a),d=b.isDefined(r)&&!(0,p.isBoolean)(r)&&r!=="",l=o?.alt??"",v=!d&&(0,p.isNonEmptyString)(l),{children:c=d?r:u||"-",...g}=s??{},_=b.isDefined(g.role)||b.isDefined(g["aria-label"])||b.isDefined(g["aria-labelledby"]),f=!v&&!_&&!b.isDefined(g.render);return(0,t.jsxs)(V,{...n,name:a,backgroundColor:d?"inherit":i,children:[!d&&(0,t.jsx)(E,{src:e??void 0,...o,alt:l}),(0,t.jsx)(B,{role:v?"img":void 0,"aria-label":v?l:void 0,"aria-hidden":f||void 0,...g,children:c})]})},J=Object.assign(H,{Root:V,Image:E,Fallback:B}),K={xxl:{fontSize:"16px",width:"40px"},xl:{fontSize:"16px",width:"32px"},lg:{fontSize:"13px",width:"24px"},md:{fontSize:"12px",width:"16px"},sm:{fontSize:"10px",width:"14px"},xs:{fontSize:"8px",width:"12px"}},Q="_badge_eakxs_1",X={badge:Q},ee=({size:e="sm",color:a="tertiary",shape:r="pill",className:o,render:s,ref:i,...n})=>(0,j.useRender)({defaultTagName:"span",render:s,ref:i,props:{...n,className:(0,T.clsx)(X.badge,o),"data-badge-size":e,"data-badge-color":a,"data-badge-shape":r}}),ae="_chip_3fwe7_1",te="_label_3fwe7_29",re="_endElementDivider_3fwe7_90",S={chip:ae,label:te,endElementDivider:re},se={height:"var(--t-spacing-4)"},ie=({children:e,size:a="sm",variant:r="ghost",color:o="primary",shape:s="square",weight:i="regular",onClick:n,clickable:u=b.isDefined(n),startElement:d,endElement:l,endElementDivider:v=!1,maxWidth:c,truncate:g=!0,tooltipContent:_,tooltipDelay:f,isTooltipMultiline:w,tooltipPlace:N,alwaysShowTooltip:y=!1,className:h,style:F,render:I,ref:L,...z})=>{const $=b.isDefined(e)&&!(0,p.isBoolean)(e)&&e!=="",Y=(0,p.isString)(e)?{text:e,tooltipContent:_}:{text:e??!1,tooltipContent:_??""};return(0,j.useRender)({render:I,ref:L,state:{size:a,variant:r,color:o,shape:s,weight:i,clickable:u,truncate:g},props:{...z,onClick:n,className:(0,T.clsx)(S.chip,h),style:{...b.isDefined(c)?{"--tw-chip-max-width":R.doNotTranslate(`${c}px`)}:{},...F},children:(0,t.jsxs)(t.Fragment,{children:[d,$&&(0,t.jsx)(O.OverflowingTextWithTooltip,{...Y,render:(0,t.jsx)("span",{}),className:S.label,style:a==="md"?se:void 0,truncate:g,tooltipDelay:f,isTooltipMultiline:w,tooltipPlace:N,alwaysShowTooltip:y}),b.isDefined(l)&&l!==!1&&(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsx)("span",{className:S.endElementDivider}),l]})]})}})},ne="_root_6bfj6_1",oe="_circle_6bfj6_13",D={root:ne,circle:oe},le=({colorName:e,color:a,variant:r,className:o,style:s,render:i,ref:n,...u})=>(0,j.useRender)({defaultTagName:"div",render:i,ref:n,props:{...u,className:(0,T.clsx)(D.root,r==="circle"&&D.circle,o),style:{"--color-sample-color":a??m.themeCssVariables.tag.background[e],"--color-sample-border-color":m.themeCssVariables.tag.text[e],...s}}}),de="_status_y5v42_1",ue="_content_y5v42_49",P={status:de,content:ue},ce=({children:e,color:a,loading:r=!1,weight:o="regular",className:s,style:i,render:n,ref:u,...d})=>{const l=x.parseThemeColor(a);return(0,j.useRender)({defaultTagName:"span",render:n,ref:u,state:{loading:r,weight:o},props:{"aria-busy":r||void 0,...d,className:(0,T.clsx)(P.status,s),style:{"--tw-status-background":m.themeCssVariables.tag.background[l],"--tw-status-text-color":m.themeCssVariables.tag.text[l],...i},children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:P.content,children:e}),r&&(0,t.jsx)(M.Loader,{color:a,"aria-hidden":"true",render:(0,t.jsx)("span",{})})]})}})},ge="_tag_1ot0y_1",_e="_content_1ot0y_49",me="_overflowingText_1ot0y_58",be="_iconContainer_1ot0y_62",C={tag:ge,content:_e,overflowingText:me,iconContainer:be},ve=({children:e,color:a,weight:r="regular",variant:o="soft",startIcon:s,truncate:i=!0,borderStyle:n="solid",className:u,style:d,render:l,ref:v,...c})=>(0,j.useRender)({defaultTagName:"span",render:l,ref:v,state:{variant:o,weight:r,truncate:i},props:{...c,className:(0,T.clsx)(C.tag,u),style:{"--tw-tag-background":a==="transparent"?"transparent":m.themeCssVariables.tag.background[a]??m.themeCssVariables.tag.background.gray,"--tw-tag-text":a==="transparent"?m.themeCssVariables.font.color.secondary:m.themeCssVariables.tag.text[a]??m.themeCssVariables.font.color.secondary,"--tw-tag-border-style":n,...d},children:(0,t.jsxs)(t.Fragment,{children:[b.isDefined(s)&&!(0,p.isBoolean)(s)&&s!==""&&(0,t.jsx)("span",{className:C.iconContainer,"aria-hidden":!0,children:s}),(0,t.jsx)("span",{className:C.content,children:(0,p.isString)(e)&&i?(0,t.jsx)(O.OverflowingTextWithTooltip,{text:e,render:(0,t.jsx)("span",{}),className:C.overflowingText}):e})]})}});Object.defineProperty(exports,"AVATAR_PROPERTIES_BY_SIZE",{enumerable:!0,get:function(){return K}});Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return J}});Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return ee}});Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return ie}});Object.defineProperty(exports,"ColorSample",{enumerable:!0,get:function(){return le}});Object.defineProperty(exports,"Status",{enumerable:!0,get:function(){return ce}});Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return ve}});
@@ -0,0 +1,2 @@
1
+ const u=require("./theme-CeIzO6UU.cjs"),m=require("./isDefined-DS2Q42p5.cjs"),z=require("./isRenderableSlot-Guryb6Nf.cjs"),e2=require("./doNotTranslate-CHE7WmRS.cjs"),t2=require("./VisuallyHidden-BOlbK5vT.cjs"),a2=require("./ProgressRing-g1nHGyUp.cjs"),r2=require("./utilities-9ARl_uku.cjs");let v=require("@sniptt/guards"),d=require("clsx"),e=require("react/jsx-runtime"),j=require("@base-ui/react/use-render"),p=require("react"),P=require("@base-ui/react/collapsible"),x=require("@tabler/icons-react");var s2="_root_1qqt5_1",l2="_body_1qqt5_8",o2="_face_1qqt5_9",B={root:s2,body:l2,face:o2};var n2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15%208.88C15.4137%208.88%2015.8105%209.04436%2016.1031%209.33691C16.3956%209.62947%2016.56%2010.0263%2016.56%2010.44V13.56C16.56%2013.9737%2016.3956%2014.3705%2016.1031%2014.6631C15.8105%2014.9556%2015.4137%2015.12%2015%2015.12C14.5863%2015.12%2014.1895%2014.9556%2013.8969%2014.6631C13.6044%2014.3705%2013.44%2013.9737%2013.44%2013.56V10.44C13.44%2010.0263%2013.6044%209.62947%2013.8969%209.33691C14.1895%209.04436%2014.5863%208.88%2015%208.88Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",i2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.87977%2010.0205C9.21639%2010.0205%209.53221%2010.1857%209.72234%2010.4634L11.2821%2012.7439C11.6002%2013.2088%2011.481%2013.8438%2011.0161%2014.1619C10.5512%2014.48%209.91623%2014.3608%209.59812%2013.8959L8.87977%2012.8459L8.16141%2013.8959C7.84328%2014.3607%207.20832%2014.48%206.74344%2014.1619C6.27882%2013.8437%206.16057%2013.2087%206.47859%2012.7439L8.03836%2010.4634L8.1157%2010.365C8.3079%2010.1473%208.58542%2010.0205%208.87977%2010.0205Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",d2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.76%2013.701C8.199%2013.191%206.618%2012.171%206.618%2011.253C6.618%2010.335%207.332%209.774%207.995%209.774C8.403%209.774%208.658%2010.029%208.76%2010.335C8.862%2010.029%209.117%209.774%209.525%209.774C10.188%209.774%2010.902%2010.335%2010.902%2011.253C10.902%2012.171%209.321%2013.191%208.76%2013.701Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M15.24%2013.701C14.679%2013.191%2013.098%2012.171%2013.098%2011.253C13.098%2010.335%2013.812%209.774%2014.475%209.774C14.883%209.774%2015.138%2010.029%2015.24%2010.335C15.342%2010.029%2015.597%209.774%2016.005%209.774C16.668%209.774%2017.382%2010.335%2017.382%2011.253C17.382%2012.171%2015.801%2013.191%2015.24%2013.701Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",c2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M8.04%2011.88H9.72C9.97461%2011.88%2010.2188%2011.9811%2010.3988%2012.1612C10.5789%2012.3412%2010.68%2012.5854%2010.68%2012.84C10.68%2013.0946%2010.5789%2013.3388%2010.3988%2013.5188C10.2188%2013.6989%209.97461%2013.8%209.72%2013.8H8.04C7.78539%2013.8%207.54121%2013.6989%207.36118%2013.5188C7.18114%2013.3388%207.08%2013.0946%207.08%2012.84C7.08%2012.5854%207.18114%2012.3412%207.36118%2012.1612C7.54121%2011.9811%207.78539%2011.88%208.04%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M14.28%2011.88H15.96C16.2146%2011.88%2016.4588%2011.9811%2016.6388%2012.1612C16.8189%2012.3412%2016.92%2012.5854%2016.92%2012.84C16.92%2013.0946%2016.8189%2013.3388%2016.6388%2013.5188C16.4588%2013.6989%2016.2146%2013.8%2015.96%2013.8H14.28C14.0254%2013.8%2013.7812%2013.6989%2013.6012%2013.5188C13.4211%2013.3388%2013.32%2013.0946%2013.32%2012.84C13.32%2012.5854%2013.4211%2012.3412%2013.6012%2012.1612C13.7812%2011.9811%2014.0254%2011.88%2014.28%2011.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Z'%20opacity='0'%20d='M18.6005%207.37977C18.8161%207.37995%2019.011%207.50861%2019.0962%207.70672C19.1813%207.90493%2019.1402%208.13497%2018.9919%208.29148L17.5774%209.77977H18.6005C18.8985%209.78002%2019.1395%2010.0219%2019.1395%2010.32C19.1395%2010.6181%2018.8985%2010.86%2018.6005%2010.8602H16.32C16.1043%2010.8602%2015.9096%2010.7314%2015.8243%2010.5333C15.7392%2010.335%2015.78%2010.105%2015.9286%209.94852L17.343%208.46023H16.32C16.0218%208.46023%2015.7798%208.21823%2015.7798%207.92C15.7798%207.62177%2016.0218%207.37977%2016.32%207.37977H18.6005Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",C2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M6.6%2012C6.6%2012.2994%206.65897%2012.5959%206.77355%2012.8725C6.88814%2013.1491%207.05608%2013.4005%207.2678%2013.6122C7.47951%2013.8239%207.73086%2013.9919%208.00748%2014.1064C8.2841%2014.221%208.58059%2014.28%208.88%2014.28C9.17941%2014.28%209.4759%2014.221%209.75252%2014.1064C10.0291%2013.9919%2010.2805%2013.8239%2010.4922%2013.6122C10.7039%2013.4005%2010.8719%2013.1491%2010.9864%2012.8725C11.101%2012.5959%2011.16%2012.2994%2011.16%2012C11.16%2011.3953%2010.9198%2010.8154%2010.4922%2010.3878C10.0646%209.96021%209.48469%209.72%208.88%209.72C8.27531%209.72%207.69538%209.96021%207.2678%2010.3878C6.84021%2010.8154%206.6%2011.3953%206.6%2012Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Right%20eye'%20d='M12.84%2012C12.84%2012.6047%2013.0802%2013.1846%2013.5078%2013.6122C13.9354%2014.0398%2014.5153%2014.28%2015.12%2014.28C15.7247%2014.28%2016.3046%2014.0398%2016.7322%2013.6122C17.1598%2013.1846%2017.4%2012.6047%2017.4%2012C17.4%2011.3953%2017.1598%2010.8154%2016.7322%2010.3878C16.3046%209.96021%2015.7247%209.72%2015.12%209.72C14.5153%209.72%2013.9354%209.96021%2013.5078%2010.3878C13.0802%2010.8154%2012.84%2011.3953%2012.84%2012Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",v2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20face%20(static)'%3e%3cpath%20id='Left%20eye'%20d='M9%208.88C9.20486%208.88%209.40772%208.92035%209.59699%208.99875C9.78625%209.07714%209.95823%209.19205%2010.1031%209.33691C10.2479%209.48177%2010.3629%209.65375%2010.4413%209.84301C10.5196%2010.0323%2010.56%2010.2351%2010.56%2010.44V13.56C10.56%2013.7649%2010.5196%2013.9677%2010.4413%2014.157C10.3629%2014.3463%2010.2479%2014.5182%2010.1031%2014.6631C9.95823%2014.8079%209.78625%2014.9229%209.59699%2015.0013C9.40772%2015.0796%209.20486%2015.12%209%2015.12C8.58626%2015.12%208.18947%2014.9556%207.89691%2014.6631C7.60436%2014.3705%207.44%2013.9737%207.44%2013.56V10.44C7.44%2010.0263%207.60436%209.62947%207.89691%209.33691C8.18947%209.04436%208.58626%208.88%209%208.88Z'%20fill='%233A5CCC'/%3e%3cpath%20id='Wink'%20d='M15.1198%2010.0205C15.4564%2010.0205%2015.7722%2010.1857%2015.9623%2010.4634L17.5221%2012.7439C17.8402%2013.2088%2017.721%2013.8438%2017.2561%2014.1619C16.7912%2014.48%2016.1562%2014.3608%2015.8381%2013.8959L15.1198%2012.8459L14.4014%2013.8959C14.0833%2014.3607%2013.4483%2014.48%2012.9834%2014.1619C12.5188%2013.8437%2012.4006%2013.2087%2012.7186%2012.7439L14.2784%2010.4634L14.3557%2010.365C14.5479%2010.1473%2014.8254%2010.0205%2015.1198%2010.0205Z'%20fill='%233A5CCC'/%3e%3c/g%3e%3c/svg%3e",Z={default:n2,happy:i2,love:d2,sleepy:c2,surprised:C2,wink:v2},_2="_root_15z29_1",u2="_eye_15z29_2",g2="_wink_15z29_3",m2="_sleepSymbol_15z29_4",h2="_leftEye_15z29_26",p2="_rightEye_15z29_31",x2="_defaultIdle_15z29_1",b2="_happyIdle_15z29_1",w2="_winkEye_15z29_1",f2="_winkExpression_15z29_1",y2="_surprisedIdle_15z29_1",A2="_sleepyIdle_15z29_1",j2="_loveIdle_15z29_1",w={root:_2,eye:u2,wink:g2,sleepSymbol:m2,leftEye:h2,rightEye:p2,defaultIdle:x2,happyIdle:b2,winkEye:w2,winkExpression:f2,surprisedIdle:y2,sleepyIdle:A2,loveIdle:j2},L2=({face:t})=>{const a={maskImage:`url("${Z[t==="wink"?"default":t]}")`};return(0,e.jsxs)("span",{"aria-hidden":"true",className:w.root,"data-face":t,children:[(0,e.jsx)("span",{className:(0,d.clsx)(w.eye,w.leftEye),style:a}),(0,e.jsx)("span",{className:(0,d.clsx)(w.eye,w.rightEye),style:a}),t==="wink"&&(0,e.jsx)("span",{className:w.wink,style:{maskImage:`url("${Z.wink}")`}}),t==="sleepy"&&(0,e.jsx)("span",{className:w.sleepSymbol,style:{maskImage:`url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Z'%20d='M19.9202%203.72C20.1581%203.72009%2020.3729%203.86089%2020.4687%204.07859C20.5645%204.29639%2020.5228%204.55007%2020.362%204.72547L18.6429%206.60047H19.9202C20.2515%206.60059%2020.5202%206.86918%2020.5202%207.20047C20.52%207.53155%2020.2513%207.80034%2019.9202%207.80047H17.28C17.0421%207.80047%2016.8262%207.65962%2016.7304%207.44187C16.6346%207.22408%2016.6774%206.9704%2016.8382%206.795L18.5562%204.92H17.28C16.9486%204.92%2016.68%204.65137%2016.68%204.32C16.68%203.98863%2016.9486%203.72%2017.28%203.72H19.9202Z'%20fill='%233A5CCC'/%3e%3c/svg%3e")`}})]})},N2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C14.6522%200%2017.1963%201.05302%2019.0716%202.92839C20.947%204.80375%2022%207.34784%2022%2010V21.3333C22%2022.0406%2021.7188%2022.7187%2021.2188%2023.2188C20.7187%2023.7188%2020.0406%2024%2019.3333%2024H4.66667C3.95942%2024%203.28135%2023.7188%202.78125%2023.2188C2.28115%2022.7187%202%2022.0406%202%2021.3333V10C2%207.34784%203.05302%204.80375%204.92839%202.92839C6.80375%201.05302%209.34784%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",E2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M10.8875%200.415324C11.5258%20-0.138441%2012.4742%20-0.138441%2013.1125%200.415323L14.1046%201.27607C14.4984%201.61776%2015.0274%201.75951%2015.5393%201.66052L16.8289%201.41114C17.6586%201.25071%2018.4799%201.7249%2018.7558%202.52361L19.1846%203.76509C19.3548%204.25793%2019.7421%204.64519%2020.2349%204.81542L21.4764%205.24424C22.2751%205.52012%2022.7493%206.34144%2022.5889%207.17109L22.3395%208.46065C22.2405%208.97257%2022.3822%209.50159%2022.7239%209.89542L23.5847%2010.8875C24.1384%2011.5258%2024.1384%2012.4742%2023.5847%2013.1125L22.7239%2014.1046C22.3822%2014.4984%2022.2405%2015.0274%2022.3395%2015.5393L22.5889%2016.8289C22.7493%2017.6586%2022.2751%2018.4799%2021.4764%2018.7558L20.2349%2019.1846C19.7421%2019.3548%2019.3548%2019.7421%2019.1846%2020.2349L18.7558%2021.4764C18.4799%2022.2751%2017.6586%2022.7493%2016.8289%2022.5889L15.5393%2022.3395C15.0274%2022.2405%2014.4984%2022.3822%2014.1046%2022.7239L13.1125%2023.5847C12.4742%2024.1384%2011.5258%2024.1384%2010.8875%2023.5847L9.89542%2022.7239C9.50159%2022.3822%208.97257%2022.2405%208.46065%2022.3395L7.17109%2022.5889C6.34144%2022.7493%205.52012%2022.2751%205.24424%2021.4764L4.81542%2020.2349C4.64519%2019.7421%204.25793%2019.3548%203.76509%2019.1846L2.52361%2018.7558C1.7249%2018.4799%201.2507%2017.6586%201.41114%2016.8289L1.66052%2015.5393C1.75951%2015.0274%201.61776%2014.4984%201.27607%2014.1046L0.415324%2013.1125C-0.138441%2012.4742%20-0.138441%2011.5258%200.415323%2010.8875L1.27607%209.89543C1.61776%209.50159%201.75951%208.97257%201.66052%208.46065L1.41114%207.17109C1.25071%206.34144%201.7249%205.52012%202.52361%205.24424L3.76509%204.81542C4.25793%204.64519%204.64519%204.25793%204.81542%203.76509L5.24424%202.52361C5.52012%201.7249%206.34144%201.2507%207.17109%201.41114L8.46065%201.66052C8.97257%201.75951%209.50159%201.61776%209.89542%201.27607L10.8875%200.415324Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",k2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C18.6274%200%2024%205.37258%2024%2012C24%2018.6274%2018.6274%2024%2012%2024C5.37258%2024%200%2018.6274%200%2012C0%205.37258%205.37258%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",I2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M15.3333%201.33333C19.3834%201.33333%2022.6667%204.61658%2022.6667%208.66667C22.6667%209.88896%2022.3648%2011.04%2021.8359%2012.0534C23.1581%2013.154%2024%2014.8119%2024%2016.6667C24%2019.9804%2021.3137%2022.6667%2018%2022.6667H6C2.68629%2022.6667%200%2019.9804%200%2016.6667C0%2014.8122%200.841025%2013.154%202.16276%2012.0534C2.05739%2011.6081%202%2011.1441%202%2010.6667C2%207.35296%204.68629%204.66667%208%204.66667C8.38276%204.66667%208.75694%204.70363%209.11979%204.77214C10.417%202.7068%2012.7144%201.33333%2015.3333%201.33333Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",S2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C15.2947%200.000157425%2017.9863%202.57635%2018.1734%205.82422C21.4223%206.0103%2024%208.70327%2024%2011.9988C24%2015.2943%2021.4222%2017.986%2018.1734%2018.1722C17.9881%2021.4217%2015.2959%2023.9998%2012%2024C8.7039%2024%206.00945%2021.4219%205.82422%2018.1722C2.57626%2017.9851%200%2015.2936%200%2011.9988C0%208.70393%202.57623%206.01127%205.82422%205.82422C6.01124%202.5762%208.70512%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",R2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M8.97673%201.25213C10.6462%20-0.417376%2013.3538%20-0.417376%2015.0233%201.25213L16.0334%202.2622H17.4621C19.8229%202.2622%2021.7375%204.17595%2021.7378%206.53677V7.96665L22.7479%208.97673C24.4174%2010.6462%2024.4174%2013.3538%2022.7479%2015.0233L21.7378%2016.0334V17.4621C21.7378%2019.8231%2019.8231%2021.7378%2017.4621%2021.7378H16.0334L15.0233%2022.7479C13.3538%2024.4174%2010.6462%2024.4174%208.97673%2022.7479L7.96665%2021.7378H6.53793C4.1769%2021.7378%202.2622%2019.8231%202.2622%2017.4621V16.0334L1.25213%2015.0233C-0.417376%2013.3538%20-0.417375%2010.6462%201.25213%208.97673L2.2622%207.96665V6.53677C2.26245%204.17595%204.17705%202.2622%206.53793%202.2622H7.96665L8.97673%201.25213Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",T2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12.0006%200C14.2836%200.000152113%2016.2157%201.49811%2016.8704%203.56449C17.223%203.48754%2017.589%203.44616%2017.9646%203.44614C20.7862%203.44614%2023.0734%205.73344%2023.0735%208.55502C23.0735%209.8826%2022.5669%2011.0915%2021.7368%2012C22.567%2012.9084%2023.0734%2014.1174%2023.0735%2015.445C23.0735%2018.2667%2020.7863%2020.5539%2017.9646%2020.5539C17.5889%2020.5538%2017.223%2020.5125%2016.8704%2020.4355C16.2158%2022.5021%2014.2838%2023.9998%2012.0006%2024C9.71708%2024%207.78294%2022.5025%207.12841%2020.4355C6.77622%2020.5123%206.41059%2020.5539%206.03539%2020.5539C3.21381%2020.5537%200.926514%2018.2666%200.926514%2015.445C0.926572%2014.1175%201.43312%2012.9084%202.2632%2012C1.43321%2011.0916%200.926514%209.88249%200.926514%208.55502C0.926639%205.73352%203.21389%203.44627%206.03539%203.44614C6.41047%203.44614%206.77633%203.48662%207.12841%203.56333C7.78339%201.49714%209.71763%200%2012.0006%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",D2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M8.13491%201.60085C10.2695%20-0.533701%2013.7303%20-0.533533%2015.8649%201.60085L22.399%208.13491C24.5337%2010.2696%2024.5337%2013.7303%2022.399%2015.8649L15.8649%2022.399C13.7303%2024.5337%2010.2696%2024.5337%208.13491%2022.399L1.60085%2015.8649C-0.533533%2013.7303%20-0.533701%2010.2695%201.60085%208.13491L8.13491%201.60085Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",B2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M10.8108%200.318652C11.5467%20-0.106217%2012.4533%20-0.106217%2013.1892%200.318652L21.5217%205.12943C22.2576%205.5543%2022.711%206.33949%2022.711%207.18923V16.8108C22.711%2017.6605%2022.2576%2018.4457%2021.5217%2018.8706L13.1892%2023.6813C12.4533%2024.1062%2011.5467%2024.1062%2010.8108%2023.6813L2.47827%2018.8706C1.74237%2018.4457%201.28904%2017.6605%201.28904%2016.8108V7.18923C1.28904%206.33949%201.74237%205.5543%202.47827%205.12943L10.8108%200.318652Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",q2="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Agent%20avatar/.Dots%20body'%3e%3cpath%20id='Body'%20d='M12%200C16.5345%200%2020.2105%203.67598%2020.2105%208.21053V15.7895C20.2105%2020.324%2016.5345%2024%2012%2024C7.46545%2024%203.78947%2020.324%203.78947%2015.7895V8.21053C3.78947%203.67598%207.46545%200%2012%200Z'%20fill='%23E6EDFE'/%3e%3c/g%3e%3c/svg%3e",V2={arch:N2,burst:E2,circle:k2,cloud:I2,clover:S2,cookie:R2,flower:T2,gem:D2,hexagon:B2,pill:q2},M2=({shape:t="circle",color:a="blue",face:r="default",size:s=24,isAnimated:o=!1,className:n,style:l,"aria-label":i,"aria-labelledby":_,"aria-hidden":g,...c})=>{const C=(0,v.isNonEmptyString)(i)||(0,v.isNonEmptyString)(_),y=a==="sky"||a==="yellow"?11:10,b={"--assistant-avatar-body-color":u.themeCssVariables.color[`${a}4`],"--assistant-avatar-face-color":u.themeCssVariables.color[`${a}${y}`],width:s,height:s,...l};return(0,e.jsxs)("span",{...c,className:(0,d.clsx)(B.root,n),style:b,"data-shape":t,"data-color":a,"data-face":r,"data-size":s,"data-animated":o,role:C?"img":void 0,"aria-label":i,"aria-labelledby":_,"aria-hidden":g??(C?void 0:!0),children:[(0,e.jsx)("span",{"aria-hidden":"true",className:B.body,style:{maskImage:`url("${V2[t]}")`}}),(0,e.jsx)("span",{"aria-hidden":"true",className:B.face,style:{maskImage:`url("${Z[r]}")`}}),o&&(0,e.jsx)(L2,{face:r},r)]})},$2="_container_5cu4g_1",H2="_itemContainer_5cu4g_6",Z2="_overflowCountContainer_5cu4g_22",F2="_overflowCount_5cu4g_22",E={container:$2,itemContainer:H2,overflowCountContainer:Z2,overflowCount:F2},O2=4,J2=({avatars:t,className:a,maxVisible:r=O2,total:s,renderOverflow:o,overflowShape:n="square",overlap:l="right",overlapOffset:i="3px",render:_,ref:g,...c})=>{const C=p.Children.toArray(t),y=Number.isNaN(r)?0:Math.max(0,Math.floor(r)),b=C.slice(0,y),A=s??C.length,N=(Number.isFinite(A)?Math.max(C.length,Math.floor(A)):C.length)-b.length,I=m.isDefined(o),S=N>0&&(I?o(N):(0,e.jsxs)("span",{className:E.overflowCount,"data-shape":n,children:["+",N]})),O=(0,v.isNonEmptyArray)(p.Children.toArray(S)),J={"--avatar-group-overlap-offset":i},W=(0,j.useRender)({render:_,ref:g,props:{...c,className:(0,d.clsx)(E.container,a),children:(0,e.jsxs)(e.Fragment,{children:[p.Children.map(b,D=>(0,e.jsx)("span",{className:E.itemContainer,"data-overlap":l,style:J,children:D},(0,p.isValidElement)(D)?D.key:void 0)),O&&(0,e.jsx)("span",{className:(0,d.clsx)(E.itemContainer,!I&&E.overflowCountContainer),"data-overlap":l,style:J,children:S})]})}});return(0,v.isNonEmptyArray)(b)||O?W:null},z2="_container_1j72k_1",P2="_commands_1j72k_13",G2="_actions_1j72k_25",Y2="_prompt_1j72k_32",R={container:z2,commands:P2,actions:G2,prompt:Y2},K2=({commands:t,actions:a,render:r,ref:s,className:o,...n})=>(0,j.useRender)({render:r,ref:s,props:{...n,className:(0,d.clsx)(R.container,o),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("pre",{className:R.commands,children:(0,e.jsx)("code",{children:t.map((l,i)=>(0,e.jsxs)("span",{children:[i>0&&`
2
+ `,(0,e.jsx)("span",{className:R.prompt,"aria-hidden":"true",children:"> "}),l]},i))})}),m.isDefined(a)&&(0,e.jsx)("div",{className:R.actions,children:a})]})}}),U2="_row_1usvs_1",X2="_label_1usvs_11",Q2="_labelText_1usvs_22",W2="_icon_1usvs_27",e0="_description_1usvs_34",t0="_value_1usvs_43",a0="_action_1usvs_54",f={row:U2,label:X2,labelText:Q2,icon:W2,description:e0,value:t0,action:a0},r0=({label:t,children:a,startIcon:r,action:s,labelWidth:o="7rem",render:n,ref:l,className:i,style:_,...g})=>{const c={"--details-row-label-width":(0,v.isNumber)(o)?`${o}px`:o,..._};return(0,j.useRender)({render:n,ref:l,props:{...g,className:(0,d.clsx)(f.row,i),style:c,children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("dt",{className:f.label,children:[z.isRenderableSlot(r)&&(0,e.jsx)("span",{className:f.icon,"aria-hidden":"true",children:r}),(0,e.jsx)("span",{className:f.labelText,children:t})]}),(0,e.jsxs)("dd",{className:f.description,children:[(0,e.jsx)("div",{className:f.value,children:a}),z.isRenderableSlot(s)&&(0,e.jsx)("div",{className:f.action,children:s})]})]})}})},s0="_list_1i4lv_1",l0="_nested_1i4lv_8",G={list:s0,nested:l0},o0=({depth:t,className:a,children:r})=>(0,e.jsx)("ul",{className:(0,d.clsx)(G.list,t>0&&G.nested,a),children:r}),K=(0,p.createContext)(void 0),L=()=>{const t=(0,p.useContext)(K);if(!m.isDefined(t))throw new Error(e2.doNotTranslate("useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider"));return t},n0="_button_1e3ij_1",i0="_red_1e3ij_17",d0="_chevron_1e3ij_22",q={button:n0,red:i0,chevron:d0},c0=({isOpen:t,onClick:a,variant:r})=>{const s=u.useTheme(),{arrowButtonCollapsedLabel:o,arrowButtonExpandedLabel:n}=L(),l=r==="blue"?u.themeCssVariables.color.blue:r==="red"?u.themeCssVariables.font.color.danger:u.themeCssVariables.font.color.secondary;return(0,e.jsxs)("button",{className:(0,d.clsx)(q.button,r==="red"&&q.red),onClick:a,children:[(0,e.jsx)(t2.VisuallyHidden,{children:t?n:o}),(0,e.jsx)("div",{className:q.chevron,"data-open":t||void 0,children:(0,e.jsx)(x.IconChevronDown,{size:s.icon.size.md,color:l})})]})},C0=({label:t,value:a,depth:r,keyPath:s,highlighting:o})=>{const{emptyArrayLabel:n}=L();return(0,e.jsx)(F,{elements:[...a.entries()].map(([l,i])=>({id:l,label:String(l),value:i})),renderElementsCount:l=>`[${l}]`,label:t,Icon:x.IconBrackets,depth:r,emptyElementsText:n,keyPath:s,highlighting:o})},v0=({label:t,value:a,depth:r,keyPath:s,highlighting:o})=>{const{emptyObjectLabel:n}=L();return(0,e.jsx)(F,{elements:Object.entries(a).map(([l,i])=>({id:l,label:l,value:i})),renderElementsCount:l=>`{${l}}`,label:t,Icon:x.IconCube,depth:r,emptyElementsText:n,keyPath:s,highlighting:o})},_0="_labelContainer_1pq94_1",u0="_blue_1pq94_23",g0="_red_1pq94_29",V={labelContainer:_0,blue:u0,red:g0},U=({label:t,Icon:a,highlighting:r})=>{const s=u.useTheme();return(0,e.jsxs)("span",{className:(0,d.clsx)(V.labelContainer,r==="blue"&&V.blue,r==="red"&&V.red),children:[(0,e.jsx)(a,{size:s.icon.size.md,color:r==="blue"?s.color.blue:r==="red"?s.font.color.danger:s.font.color.tertiary}),(0,e.jsx)("span",{children:t})]})},m0="_text_1ot24_1",h0="_blue_1ot24_10",p0="_red_1ot24_14",x0="_button_1ot24_18",T={text:m0,blue:h0,red:p0,button:x0},b0=({valueAsString:t,highlighting:a})=>{const{onNodeValueClick:r}=L(),s=m.isDefined(r),o=()=>{r?.(t)},n=(0,d.clsx)(T.text,a==="blue"&&T.blue,a==="red"&&T.red);return s?(0,e.jsx)("button",{className:(0,d.clsx)(n,T.button),type:"button",onClick:o,children:t}):(0,e.jsx)("span",{className:n,children:t})},w0="_listItem_1i7if_1",f0={listItem:w0},k=t=>(0,e.jsxs)("li",{className:f0.listItem,children:[t.label&&(0,e.jsx)(U,{label:t.label,Icon:t.Icon,highlighting:t.highlighting}),(0,e.jsx)(b0,{valueAsString:t.valueAsString,highlighting:t.highlighting})]}),y0=t=>(0,v.isArray)(t),X=({label:t,value:a,depth:r,keyPath:s})=>{const{getNodeHighlighting:o,emptyStringLabel:n}=L(),l=o?.(s);return m.isDefined(a)?(0,v.isString)(a)?(0,e.jsx)(k,{label:t,valueAsString:(0,v.isNonEmptyString)(a)?a:n,Icon:x.IconTypography,highlighting:l}):(0,v.isNumber)(a)?(0,e.jsx)(k,{label:t,valueAsString:String(a),Icon:x.IconNumber9,highlighting:l}):(0,v.isBoolean)(a)?(0,e.jsx)(k,{label:t,valueAsString:String(a),Icon:x.IconCheckbox,highlighting:l}):y0(a)?(0,e.jsx)(C0,{label:t,value:a,depth:r,keyPath:s,highlighting:l}):(0,e.jsx)(v0,{label:t,value:a,depth:r,keyPath:s,highlighting:l}):(0,e.jsx)(k,{label:t,valueAsString:"null",Icon:x.IconCircleOff,highlighting:l})},A0="_container_d0cqx_1",j0="_labelContainer_d0cqx_6",L0="_elementsCount_d0cqx_12",N0="_elementsCountRed_d0cqx_16",E0="_panel_d0cqx_20",k0="_list_d0cqx_30",I0="_nested_d0cqx_37",h={container:A0,labelContainer:j0,elementsCount:L0,elementsCountRed:N0,panel:E0,list:k0,nested:I0},F=({label:t,Icon:a,elements:r,renderElementsCount:s,emptyElementsText:o,depth:n,keyPath:l,highlighting:i})=>{const{shouldExpandNodeInitially:_}=L(),g=!m.isDefined(t),[c,C]=(0,p.useState)(_({keyPath:l,depth:n})),y=(0,e.jsx)("ul",{className:(0,d.clsx)(h.list,n>0&&h.nested),children:r.length===0?(0,e.jsx)(k,{valueAsString:o,highlighting:void 0}):r.map(({id:A,label:N,value:I})=>{const S=(0,v.isNonEmptyString)(l)?`${l}.${A}`:String(A);return(0,e.jsx)(X,{label:N,value:I,depth:n+1,keyPath:S},A)})}),b=()=>{C(!c)};return g?(0,e.jsx)("li",{className:h.container,children:y}):(0,e.jsxs)(P.Collapsible.Root,{className:h.container,open:c,render:(0,e.jsx)("li",{}),children:[(0,e.jsxs)("div",{className:h.labelContainer,children:[(0,e.jsx)(c0,{isOpen:c,onClick:b,variant:i==="partial-blue"?"blue":i==="red"?i:void 0}),(0,e.jsx)(U,{label:t,Icon:a,highlighting:i==="red"?i:void 0}),s&&(0,e.jsx)("span",{className:(0,d.clsx)(h.elementsCount,i==="red"&&h.elementsCountRed),children:s(r.length)})]}),(0,e.jsx)(P.Collapsible.Panel,{className:h.panel,children:y})]})},S0=({value:t,children:a})=>(0,e.jsx)(K.Provider,{value:t,children:a}),R0=({depth:t})=>t<=1,T0=({value:t,entries:a,shouldExpandNodeInitially:r=R0,...s})=>(0,e.jsx)(S0,{value:{...s,shouldExpandNodeInitially:r},children:(0,e.jsx)(o0,{depth:0,children:m.isDefined(a)?(0,e.jsx)(F,{elements:a,Icon:x.IconBrackets,depth:0,keyPath:"",emptyElementsText:s.emptyObjectLabel}):(0,e.jsx)(X,{value:t??null,depth:0,keyPath:""})})}),D0="_row_1hj4l_1",B0="_label_1hj4l_11",q0="_icon_1hj4l_20",M={row:D0,label:B0,icon:q0},V0=({children:t,startIcon:a,value:r,progress:s,progressColor:o,progressValueText:n,render:l,ref:i,className:_,...g})=>{const c=(0,p.useId)(),C=n??r;return(0,j.useRender)({render:l,ref:i,props:{...g,className:(0,d.clsx)(M.row,_),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:M.label,children:[m.isDefined(a)&&(0,e.jsx)("span",{className:M.icon,"aria-hidden":"true",children:a}),(0,e.jsx)("span",{id:c,children:t})]}),m.isDefined(s)?(0,e.jsx)(a2.ProgressRing,{value:s,size:"sm",barColor:o,"aria-labelledby":c,...(0,v.isNonEmptyString)(C)?{"aria-valuetext":C}:{},children:r}):(0,e.jsx)("span",{children:r})]})}})},M0="_root_7l8sk_1",$0="_stackedIcon_7l8sk_14",Y={root:M0,stackedIcon:$0},H0=({icon:t,stackedIcon:a,className:r,render:s,ref:o,...n})=>(0,j.useRender)({render:s,ref:o,props:{...n,className:(0,d.clsx)(Y.root,r),children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{"aria-hidden":"true",children:t}),(0,e.jsx)("span",{"aria-hidden":"true",className:Y.stackedIcon,children:a})]})}}),$={background:4,border:6,icon:10},H=(t,a)=>u.themeCssVariables.color[`${t}${a}`]??u.themeCssVariables.tag.text[t],Q=t=>{const a=r2.parseThemeColor(t);return{backgroundColor:H(a,$.background),iconColor:H(a,$.icon),borderColor:H(a,$.border)}},Z0="_root_9ntdy_1",F0={root:Z0},O0=({icon:t,color:a=u.DEFAULT_THEME_COLOR_FALLBACK,className:r,style:s,render:o,ref:n,...l})=>{const i=Q(a);return(0,j.useRender)({render:o,ref:n,props:{...l,className:(0,d.clsx)(F0.root,r),style:{backgroundColor:i.backgroundColor,color:i.iconColor,...s},children:(0,e.jsx)("span",{"aria-hidden":"true",children:t})}})};Object.defineProperty(exports,"AssistantAvatar",{enumerable:!0,get:function(){return M2}});Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return J2}});Object.defineProperty(exports,"CommandBlock",{enumerable:!0,get:function(){return K2}});Object.defineProperty(exports,"DetailsRow",{enumerable:!0,get:function(){return r0}});Object.defineProperty(exports,"JsonTree",{enumerable:!0,get:function(){return T0}});Object.defineProperty(exports,"MetricRow",{enumerable:!0,get:function(){return V0}});Object.defineProperty(exports,"StackIcon",{enumerable:!0,get:function(){return H0}});Object.defineProperty(exports,"TintedIconTile",{enumerable:!0,get:function(){return O0}});Object.defineProperty(exports,"getIconTileColorShades",{enumerable:!0,get:function(){return Q}});