@brightspot/ui 1.0.1-wc.4 → 1.2.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 (131) hide show
  1. package/README.md +7 -90
  2. package/dist/LucideDynamicLoader.d.ts +1 -0
  3. package/dist/LucideDynamicLoader.d.ts.map +1 -1
  4. package/dist/LucideDynamicLoader.js +2 -0
  5. package/dist/LucideDynamicLoader.js.map +1 -1
  6. package/dist/LucideDynamicLoader.ts +3 -0
  7. package/dist/components/avatar/Avatar.d.ts +82 -0
  8. package/dist/components/avatar/Avatar.d.ts.map +1 -0
  9. package/dist/components/avatar/Avatar.js +162 -0
  10. package/dist/components/avatar/Avatar.js.map +1 -0
  11. package/dist/components/avatar/AvatarGroup.d.ts +70 -0
  12. package/dist/components/avatar/AvatarGroup.d.ts.map +1 -0
  13. package/dist/components/avatar/AvatarGroup.js +145 -0
  14. package/dist/components/avatar/AvatarGroup.js.map +1 -0
  15. package/dist/components/badge/Badge.d.ts +75 -0
  16. package/dist/components/badge/Badge.d.ts.map +1 -0
  17. package/dist/components/badge/Badge.js +118 -0
  18. package/dist/components/badge/Badge.js.map +1 -0
  19. package/dist/components/circular-progress/CircularProgress.d.ts +57 -0
  20. package/dist/components/circular-progress/CircularProgress.d.ts.map +1 -0
  21. package/dist/components/circular-progress/CircularProgress.js +173 -0
  22. package/dist/components/circular-progress/CircularProgress.js.map +1 -0
  23. package/dist/components/icon/Icon.d.ts +90 -0
  24. package/dist/components/icon/Icon.d.ts.map +1 -0
  25. package/dist/components/icon/Icon.js +172 -0
  26. package/dist/components/icon/Icon.js.map +1 -0
  27. package/dist/components/linear-progress/LinearProgress.d.ts +40 -0
  28. package/dist/components/linear-progress/LinearProgress.d.ts.map +1 -0
  29. package/dist/components/linear-progress/LinearProgress.js +95 -0
  30. package/dist/components/linear-progress/LinearProgress.js.map +1 -0
  31. package/dist/custom-elements.json +772 -0
  32. package/dist/global.d.ts +4 -0
  33. package/dist/storybook/assets/Avatar.stories-BlxrclP0.js +209 -0
  34. package/dist/storybook/assets/AvatarGroup.stories-E3VUvBae.js +211 -0
  35. package/dist/storybook/assets/Badge.stories-f4YvPz0W.js +121 -0
  36. package/dist/storybook/assets/Button.stories-N66xrq4q.js +63 -0
  37. package/dist/storybook/assets/CircularProgress.stories-zWyELtfc.js +451 -0
  38. package/dist/storybook/assets/{Color-64QXVMR3-BV_8WWIP.js → Color-64QXVMR3-B3Y5c9dl.js} +1 -1
  39. package/dist/storybook/assets/{Colors.stories-CcpJ2Txp.js → Colors.stories-nEoNeHhf.js} +1 -1
  40. package/dist/storybook/assets/Events.stories-BP3ensxX.js +108 -0
  41. package/dist/storybook/assets/Heading.stories-DGqWaBpi.js +3 -0
  42. package/dist/storybook/assets/Icon.stories-BWWjh4NZ.js +245 -0
  43. package/dist/storybook/assets/LinearProgress.stories-DMVolkoE.js +397 -0
  44. package/dist/storybook/assets/ReadyMixin.stories-DavcxbQ0.js +55 -0
  45. package/dist/storybook/assets/ScrollShadow.stories-BmwSRNje.js +17 -0
  46. package/dist/storybook/assets/Throttle.stories-DBj-9rhV.js +303 -0
  47. package/dist/storybook/assets/{WithTooltip-SK46ZJ2J-DyavE1Bj.js → WithTooltip-SK46ZJ2J-DW4NXFWt.js} +5 -5
  48. package/dist/storybook/assets/formatter-OMEEQ6HG-BBn014aZ.js +1 -0
  49. package/dist/storybook/assets/iframe-CxsKJSj-.css +1 -0
  50. package/dist/storybook/assets/{iframe-mIh0R_Av.js → iframe-Z4F0Cgki.js} +87 -100
  51. package/dist/storybook/assets/{index-C8IjQgz6.js → index-BUj5S-B7.js} +1 -1
  52. package/dist/storybook/assets/{syntaxhighlighter-CAVLW7PM-36bUIV4n.js → syntaxhighlighter-CAVLW7PM-CsQveU1N.js} +1 -1
  53. package/dist/storybook/iframe.html +2 -2
  54. package/dist/storybook/index.json +1 -1
  55. package/dist/storybook/project.json +1 -1
  56. package/dist/tailwind-plugin-avatar.d.ts +2 -0
  57. package/dist/tailwind-plugin-avatar.d.ts.map +1 -0
  58. package/dist/tailwind-plugin-avatar.js +130 -0
  59. package/dist/tailwind-plugin-avatar.js.map +1 -0
  60. package/dist/tailwind-plugin-avatar.ts +181 -0
  61. package/dist/tailwind-plugin-badge.js +24 -9
  62. package/dist/tailwind-plugin-badge.js.map +1 -1
  63. package/dist/tailwind-plugin-badge.ts +30 -11
  64. package/dist/tailwind-plugin-button.js +14 -15
  65. package/dist/tailwind-plugin-button.js.map +1 -1
  66. package/dist/tailwind-plugin-button.ts +14 -17
  67. package/dist/tailwind-plugin-contrast.d.ts +2 -0
  68. package/dist/tailwind-plugin-contrast.d.ts.map +1 -0
  69. package/dist/tailwind-plugin-contrast.js +17 -0
  70. package/dist/tailwind-plugin-contrast.js.map +1 -0
  71. package/dist/tailwind-plugin-contrast.ts +18 -0
  72. package/dist/tailwind-plugin-icon.js +17 -10
  73. package/dist/tailwind-plugin-icon.js.map +1 -1
  74. package/dist/tailwind-plugin-icon.ts +17 -10
  75. package/dist/tailwind-plugin-ring-contrast.d.ts +2 -0
  76. package/dist/tailwind-plugin-ring-contrast.d.ts.map +1 -0
  77. package/dist/tailwind-plugin-ring-contrast.js +76 -0
  78. package/dist/tailwind-plugin-ring-contrast.js.map +1 -0
  79. package/dist/tailwind-plugin-ring-contrast.ts +90 -0
  80. package/dist/tailwind.config.d.ts +21 -0
  81. package/dist/tailwind.config.d.ts.map +1 -1
  82. package/dist/tailwind.config.js +27 -2
  83. package/dist/tailwind.config.js.map +1 -1
  84. package/dist/tailwind.config.ts +27 -2
  85. package/dist/{utils → util}/EventEmitterMixin.d.ts +23 -17
  86. package/dist/util/EventEmitterMixin.d.ts.map +1 -0
  87. package/dist/{utils → util}/EventEmitterMixin.js +7 -7
  88. package/dist/util/EventEmitterMixin.js.map +1 -0
  89. package/dist/util/ProgressMixin.d.ts +52 -0
  90. package/dist/util/ProgressMixin.d.ts.map +1 -0
  91. package/dist/util/ProgressMixin.js +190 -0
  92. package/dist/util/ProgressMixin.js.map +1 -0
  93. package/dist/util/ReadyMixin.d.ts +31 -0
  94. package/dist/util/ReadyMixin.d.ts.map +1 -0
  95. package/dist/util/ReadyMixin.js +42 -0
  96. package/dist/util/ReadyMixin.js.map +1 -0
  97. package/dist/util/aria.d.ts +3 -0
  98. package/dist/util/aria.d.ts.map +1 -0
  99. package/dist/util/aria.js +44 -0
  100. package/dist/util/aria.js.map +1 -0
  101. package/dist/util/svg.d.ts +9 -0
  102. package/dist/util/svg.d.ts.map +1 -1
  103. package/dist/util/svg.js +22 -0
  104. package/dist/util/svg.js.map +1 -1
  105. package/dist/util/throttle.d.ts +4 -0
  106. package/dist/util/throttle.d.ts.map +1 -0
  107. package/dist/util/throttle.js +30 -0
  108. package/dist/util/throttle.js.map +1 -0
  109. package/package.json +7 -6
  110. package/custom-elements.json +0 -214
  111. package/dist/components/widget/Widget.css +0 -118
  112. package/dist/components/widget/Widget.d.ts +0 -90
  113. package/dist/components/widget/Widget.d.ts.map +0 -1
  114. package/dist/components/widget/Widget.js +0 -196
  115. package/dist/components/widget/Widget.js.map +0 -1
  116. package/dist/components/widget/WidgetUtils.d.ts +0 -14
  117. package/dist/components/widget/WidgetUtils.d.ts.map +0 -1
  118. package/dist/components/widget/WidgetUtils.js +0 -42
  119. package/dist/components/widget/WidgetUtils.js.map +0 -1
  120. package/dist/storybook/assets/Badge.stories-cKvztBhm.js +0 -43
  121. package/dist/storybook/assets/Button.stories-BH3fEuOH.js +0 -63
  122. package/dist/storybook/assets/Heading.stories-cqZamo-6.js +0 -3
  123. package/dist/storybook/assets/Icon.stories-uPhO3RBG.js +0 -28543
  124. package/dist/storybook/assets/Loader.stories-D7Bl-LN9.js +0 -3
  125. package/dist/storybook/assets/ScrollShadow.stories-CWKYDYLk.js +0 -17
  126. package/dist/storybook/assets/Widget-CRTwFkFc.css +0 -1
  127. package/dist/storybook/assets/Widget.stories-CcjywoYR.js +0 -300
  128. package/dist/storybook/assets/formatter-OMEEQ6HG-DBJ97XaR.js +0 -1
  129. package/dist/storybook/assets/iframe-BdHEYpHD.css +0 -1
  130. package/dist/utils/EventEmitterMixin.d.ts.map +0 -1
  131. package/dist/utils/EventEmitterMixin.js.map +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./syntaxhighlighter-CAVLW7PM-36bUIV4n.js","./iframe-mIh0R_Av.js","./preload-helper-PPVm8Dsz.js","./iframe-BdHEYpHD.css","./formatter-OMEEQ6HG-DBJ97XaR.js","./Color-64QXVMR3-BV_8WWIP.js","./index-C8IjQgz6.js"])))=>i.map(i=>d[i]);
2
- import{_ as Ua}from"./preload-helper-PPVm8Dsz.js";import{d,e as ot,i as GM,f as VM,h as Xg,j as Zg,u as WC,k as KC,l as XC,m as ZC,s as JC,n as QC,o as ew,r as tw,p as Jc,q as rw,t as nw,v as aw,w as ow,y as iw,z as lw,A as sw,B as uw,C as cw,D as fw,E as dw,F as pw,G as Jg,H as Xn,I as YM,J as WM,K as KM,L as XM,M as Nc,N as Bo,c as or,S as Qg,O as Wf,_,P as ZM,Q as sg,a as JM,b as QM,R as kc}from"./iframe-mIh0R_Av.js";function e8(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(o,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var vf="backgrounds",t8="measureEnabled",hw="outline",r8={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},n8=5e3;function Kf(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}d(Kf,"isTestEnvironment");function L0(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};const t=document.createElement("style");t.textContent=`*, *:before, *:after {
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./syntaxhighlighter-CAVLW7PM-CsQveU1N.js","./iframe-Z4F0Cgki.js","./preload-helper-PPVm8Dsz.js","./iframe-CxsKJSj-.css","./formatter-OMEEQ6HG-BBn014aZ.js","./Color-64QXVMR3-B3Y5c9dl.js","./index-BUj5S-B7.js"])))=>i.map(i=>d[i]);
2
+ import{_ as Ua}from"./preload-helper-PPVm8Dsz.js";import{d,e as ot,i as GM,f as VM,h as Xg,j as Zg,u as WC,k as KC,l as XC,m as ZC,s as JC,n as QC,o as ew,r as tw,p as Jc,q as rw,t as nw,v as aw,w as ow,y as iw,z as lw,A as sw,B as uw,C as cw,D as fw,F as dw,G as pw,H as Jg,I as Xn,J as YM,K as WM,L as KM,M as XM,N as Nc,O as Bo,c as or,S as Qg,P as Wf,_,Q as ZM,R as sg,a as JM,b as QM,T as kc}from"./iframe-Z4F0Cgki.js";function e8(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(o,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var vf="backgrounds",t8="measureEnabled",hw="outline",r8={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},n8=5e3;function Kf(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}d(Kf,"isTestEnvironment");function L0(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};const t=document.createElement("style");t.textContent=`*, *:before, *:after {
3
3
  animation: none !important;
4
4
  }`,document.head.appendChild(t);const n=document.createElement("style");return n.textContent=`*, *:before, *:after {
5
5
  animation-delay: 0s !important;
@@ -687,7 +687,7 @@ Error generating stack: `+u.message+`
687
687
  cursor: ${e=>e.trigger==="hover"||e.trigger?.includes("hover")?"default":"pointer"};
688
688
  `,w$=G.g`
689
689
  cursor: ${e=>e.trigger==="hover"||e.trigger?.includes("hover")?"default":"pointer"};
690
- `,A3=d(({svg:e=!1,trigger:t="click",closeOnOutsideClick:n=!1,placement:o="top",modifiers:i=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:s=!0,defaultVisible:c=!1,withArrows:f,offset:p,tooltip:h,children:y,closeOnTriggerHidden:v,mutationObserverOptions:b,delayHide:S=t==="hover"?200:0,visible:w,interactive:x,delayShow:O=t==="hover"?400:0,strategy:A,followCursor:R,onVisibleChange:T,portalContainer:F,...N})=>{const L=e?w$:C$,{getArrowProps:B,getTooltipProps:$,setTooltipRef:P,setTriggerRef:I,visible:U,state:Q}=E3({trigger:t,placement:o,defaultVisible:c,delayHide:S,interactive:x,closeOnOutsideClick:n,closeOnTriggerHidden:v,onVisibleChange:T,delayShow:O,followCursor:R,mutationObserverOptions:b,visible:w,offset:p},{modifiers:i,strategy:A}),X=(typeof F=="string"?qs.querySelector(F):F)||qs.body,z=U?E.createElement(S3,{placement:Q?.placement,ref:P,hasChrome:s,arrowProps:B(),withArrows:f,...$()},typeof h=="function"?h({onHide:d(()=>T(!1),"onHide")}):h):null;return E.createElement(E.Fragment,null,E.createElement(L,{trigger:t,ref:I,...N},y),U&&aT.createPortal(z,X))},"WithTooltipPure"),l0=d(({startOpen:e=!1,onVisibleChange:t,...n})=>{const[o,i]=C.useState(e),s=C.useCallback(c=>{t&&t(c)===!1||i(c)},[t]);return C.useEffect(()=>{const c=d(()=>s(!1),"hide"),f=d(y=>{y.key==="Escape"&&c()},"handleKeyDown");qs.addEventListener("keydown",f,!1);const p=Array.from(qs.getElementsByTagName("iframe")),h=[];return p.forEach(y=>{const v=d(()=>{try{y.contentWindow.document&&(y.contentWindow.document.addEventListener("click",c),h.push(()=>{try{y.contentWindow.document.removeEventListener("click",c)}catch{}}))}catch{}},"bind");v(),y.addEventListener("load",v),h.push(()=>{y.removeEventListener("load",v)})}),()=>{qs.removeEventListener("keydown",f),h.forEach(y=>{y()})}}),E.createElement(A3,{...n,visible:o,onVisibleChange:s})},"WithToolTipState"),x$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),D$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),_$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),O$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),T$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),C.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),R$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),s0=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),xX=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),F$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),B$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),M$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),L$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),C.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),N$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),C.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),k$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),C3=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),z$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),w3=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),j$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),nt=d(({...e},t)=>{const n=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...n].filter(Boolean).join(" "),e},"nameSpaceClassNames"),wl=d(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),ra=d(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?br(.1,e.color.defaultText):br(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),it=d(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Ho={margin:"16px 0"},ov=G.div(it),$$=d(({href:e="",...t})=>{const o=/^\//.test(e)?`./?path=${e}`:e,s=/^#.*/.test(e)?"_self":"_top";return E.createElement("a",{href:o,target:s,...t})},"Link"),x3=G($$)(it,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),D3=G.blockquote(it,Ho,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Fo=[],hl=null,P$=C.lazy(async()=>{const{SyntaxHighlighter:e}=await Ua(async()=>{const{SyntaxHighlighter:t}=await import("./syntaxhighlighter-CAVLW7PM-36bUIV4n.js");return{SyntaxHighlighter:t}},__vite__mapDeps([0,1,2,3]),import.meta.url);return Fo.length>0&&(Fo.forEach(t=>{e.registerLanguage(...t)}),Fo=[]),hl===null&&(hl=e),{default:d(t=>E.createElement(e,{...t}),"default")}}),I$=C.lazy(async()=>{const[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Ua(()=>import("./syntaxhighlighter-CAVLW7PM-36bUIV4n.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),Ua(()=>import("./formatter-OMEEQ6HG-DBJ97XaR.js"),__vite__mapDeps([4,1,2,3]),import.meta.url)]);return Fo.length>0&&(Fo.forEach(n=>{e.registerLanguage(...n)}),Fo=[]),hl===null&&(hl=e),{default:d(n=>E.createElement(e,{...n,formatter:t}),"default")}}),yu=d(e=>E.createElement(C.Suspense,{fallback:E.createElement("div",null)},e.format!==!1?E.createElement(I$,{...e}):E.createElement(P$,{...e})),"SyntaxHighlighter");yu.registerLanguage=(...e)=>{if(hl!==null){hl.registerLanguage(...e);return}Fo.push(e)};var H$=d(e=>typeof e=="string","isReactChildString"),U$=/[\n\r]/g,q$=G.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),ra),G$=G(yu)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),iv=d(({className:e,children:t,...n})=>{const o=(e||"").match(/lang-(\S+)/),i=C.Children.toArray(t);return i.filter(H$).some(c=>c.match(U$))?E.createElement(G$,{bordered:!0,copyable:!0,language:o?.[1]??"text",format:!1,...n},t):E.createElement(q$,{...n,className:e},i)},"Code"),_3=G.dl(it,Ho,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),O3=G.div(it),T3=G.h1(it,wl,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lv=G.h2(it,wl,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),sv=G.h3(it,wl,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),R3=G.h4(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),F3=G.h5(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),B3=G.h6(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),M3=G.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),L3=G.img({maxWidth:"100%"}),N3=G.li(it,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":ra({theme:e})})),V$={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},k3=G.ol(it,Ho,V$,{listStyle:"decimal"}),z3=G.p(it,Ho,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":ra({theme:e})})),j3=G.pre(it,Ho,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),$3=G.span(it,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),P3=G.title(ra),I3=G.table(it,Ho,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),Y$={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},H3=G.ul(it,Ho,Y$,{listStyle:"disc"}),U3={h1:d(e=>E.createElement(T3,{...nt(e,"h1")}),"h1"),h2:d(e=>E.createElement(lv,{...nt(e,"h2")}),"h2"),h3:d(e=>E.createElement(sv,{...nt(e,"h3")}),"h3"),h4:d(e=>E.createElement(R3,{...nt(e,"h4")}),"h4"),h5:d(e=>E.createElement(F3,{...nt(e,"h5")}),"h5"),h6:d(e=>E.createElement(B3,{...nt(e,"h6")}),"h6"),pre:d(e=>E.createElement(j3,{...nt(e,"pre")}),"pre"),a:d(e=>E.createElement(x3,{...nt(e,"a")}),"a"),hr:d(e=>E.createElement(M3,{...nt(e,"hr")}),"hr"),dl:d(e=>E.createElement(_3,{...nt(e,"dl")}),"dl"),blockquote:d(e=>E.createElement(D3,{...nt(e,"blockquote")}),"blockquote"),table:d(e=>E.createElement(I3,{...nt(e,"table")}),"table"),img:d(e=>E.createElement(L3,{...nt(e,"img")}),"img"),div:d(e=>E.createElement(O3,{...nt(e,"div")}),"div"),span:d(e=>E.createElement($3,{...nt(e,"span")}),"span"),li:d(e=>E.createElement(N3,{...nt(e,"li")}),"li"),ul:d(e=>E.createElement(H3,{...nt(e,"ul")}),"ul"),ol:d(e=>E.createElement(k3,{...nt(e,"ol")}),"ol"),p:d(e=>E.createElement(z3,{...nt(e,"p")}),"p"),code:d(e=>E.createElement(iv,{...nt(e,"code")}),"code"),tt:d(e=>E.createElement(P3,{...nt(e,"tt")}),"tt"),resetwrapper:d(e=>E.createElement(ov,{...nt(e,"resetwrapper")}),"resetwrapper")};G.div(({theme:e,compact:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"12px",minWidth:20,borderRadius:20,padding:t?"4px 7px":"4px 10px"}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.textMutedColor,background:e.base==="light"?e.background.app:e.barBg,boxShadow:`inset 0 0 0 1px ${br(.8,e.textMutedColor)}`};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.positiveText)}`:"none"};case"active":return{color:e.color.secondary,background:e.background.hoverable,boxShadow:`inset 0 0 0 1px ${br(.9,e.color.secondary)}`};default:return{}}});var W$=0,K$=d(e=>e.button===W$&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),X$=d((e,t)=>{K$(e)&&(e.preventDefault(),t(e))},"cancelled"),Z$=G.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),J$=G.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:xo(.07,e.color.secondary),"svg path:not([fill])":{fill:xo(.07,e.color.secondary)}},"&:active":{color:xo(.1,e.color.secondary),"svg path:not([fill])":{fill:xo(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let o;return t&&(o=[e.textMutedColor,e.color.dark,e.color.darker]),n&&(o=[e.color.dark,e.color.darkest,e.textMutedColor]),o?{color:o[0],"svg path:not([fill])":{fill:o[0]},"&:hover":{color:o[1],"svg path:not([fill])":{fill:o[1]}},"&:active":{color:o[2],"svg path:not([fill])":{fill:o[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),tu=d(({cancel:e=!0,children:t,onClick:n=void 0,withArrow:o=!1,containsIcon:i=!1,className:s=void 0,style:c=void 0,...f})=>E.createElement(J$,{...f,onClick:n&&e?p=>X$(p,n):n,className:s},E.createElement(Z$,{withArrow:o,containsIcon:i},t,o&&E.createElement(C3,null))),"Link");G.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var q3={};Wf(q3,{Close:()=>tR,Content:()=>J5,Description:()=>eR,Dialog:()=>pv,DialogClose:()=>Av,DialogContent:()=>vv,DialogDescription:()=>Sv,DialogOverlay:()=>yv,DialogPortal:()=>mv,DialogTitle:()=>Ev,DialogTrigger:()=>hv,Overlay:()=>Z5,Portal:()=>X5,Root:()=>K5,Title:()=>Q5,Trigger:()=>ZP,WarningProvider:()=>YP,createDialogScope:()=>PP});function Xi(e,t,{checkForDefaultPrevented:n=!0}={}){return d(function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)},"handleEvent")}d(Xi,"composeEventHandlers");function u0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}d(u0,"setRef");function uv(...e){return t=>{let n=!1;const o=e.map(i=>{const s=u0(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<o.length;i++){const s=o[i];typeof s=="function"?s():u0(e[i],null)}}}}d(uv,"composeRefs");function Ka(...e){return C.useCallback(uv(...e),e)}d(Ka,"useComposedRefs");function G3(e,t){const n=C.createContext(t),o=d(s=>{const{children:c,...f}=s,p=C.useMemo(()=>f,Object.values(f));return de.jsx(n.Provider,{value:p,children:c})},"Provider");o.displayName=e+"Provider";function i(s){const c=C.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return d(i,"useContext2"),[o,i]}d(G3,"createContext2");function V3(e,t=[]){let n=[];function o(s,c){const f=C.createContext(c),p=n.length;n=[...n,c];const h=d(v=>{const{scope:b,children:S,...w}=v,x=b?.[e]?.[p]||f,O=C.useMemo(()=>w,Object.values(w));return de.jsx(x.Provider,{value:O,children:S})},"Provider");h.displayName=s+"Provider";function y(v,b){const S=b?.[e]?.[p]||f,w=C.useContext(S);if(w)return w;if(c!==void 0)return c;throw new Error(`\`${v}\` must be used within \`${s}\``)}return d(y,"useContext2"),[h,y]}d(o,"createContext3");const i=d(()=>{const s=n.map(c=>C.createContext(c));return d(function(f){const p=f?.[e]||s;return C.useMemo(()=>({[`__scope${e}`]:{...f,[e]:p}}),[f,p])},"useScope")},"createScope");return i.scopeName=e,[o,Y3(i,...t)]}d(V3,"createContextScope");function Y3(...e){const t=e[0];if(e.length===1)return t;const n=d(()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return d(function(s){const c=o.reduce((f,{useScope:p,scopeName:h})=>{const v=p(s)[`__scope${h}`];return{...f,...v}},{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}d(Y3,"composeContextScopes");var ru=globalThis?.document?C.useLayoutEffect:()=>{},Q$=Z_[" useId ".trim().toString()]||(()=>{}),eP=0;function sf(e){const[t,n]=C.useState(Q$());return ru(()=>{e||n(o=>o??String(eP++))},[e]),e||(t?`radix-${t}`:"")}d(sf,"useId");var tP=Z_[" useInsertionEffect ".trim().toString()]||ru;function W3({prop:e,defaultProp:t,onChange:n=d(()=>{},"onChange"),caller:o}){const[i,s,c]=K3({defaultProp:t,onChange:n}),f=e!==void 0,p=f?e:i;{const y=C.useRef(e!==void 0);C.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${o} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,o])}const h=C.useCallback(y=>{if(f){const v=X3(y)?y(e):y;v!==e&&c.current?.(v)}else s(y)},[f,e,s,c]);return[p,h]}d(W3,"useControllableState");function K3({defaultProp:e,onChange:t}){const[n,o]=C.useState(e),i=C.useRef(n),s=C.useRef(t);return tP(()=>{s.current=t},[t]),C.useEffect(()=>{i.current!==n&&(s.current?.(n),i.current=n)},[n,i]),[n,o,s]}d(K3,"useUncontrolledState");function X3(e){return typeof e=="function"}d(X3,"isFunction");function uf(e,t,{checkForDefaultPrevented:n=!0}={}){return d(function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)},"handleEvent")}d(uf,"composeEventHandlers");function Bd(e){const t=Z3(e),n=C.forwardRef((o,i)=>{const{children:s,...c}=o,f=C.Children.toArray(s),p=f.find(e5);if(p){const h=p.props.children,y=f.map(v=>v===p?C.Children.count(h)>1?C.Children.only(null):C.isValidElement(h)?h.props.children:null:v);return de.jsx(t,{...c,ref:i,children:C.isValidElement(h)?C.cloneElement(h,void 0,y):null})}return de.jsx(t,{...c,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}d(Bd,"createSlot");var rP=Bd("Slot");function Z3(e){const t=C.forwardRef((n,o)=>{const{children:i,...s}=n;if(C.isValidElement(i)){const c=r5(i),f=t5(s,i.props);return i.type!==C.Fragment&&(f.ref=o?uv(o,c):c),C.cloneElement(i,f)}return C.Children.count(i)>1?C.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}d(Z3,"createSlotClone");var J3=Symbol("radix.slottable");function Q3(e){const t=d(({children:n})=>de.jsx(de.Fragment,{children:n}),"Slottable2");return t.displayName=`${e}.Slottable`,t.__radixId=J3,t}d(Q3,"createSlottable");Q3("Slottable");function e5(e){return C.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===J3}d(e5,"isSlottable");function t5(e,t){const n={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?n[o]=(...f)=>{const p=s(...f);return i(...f),p}:i&&(n[o]=i):o==="style"?n[o]={...i,...s}:o==="className"&&(n[o]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}d(t5,"mergeProps");function r5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}d(r5,"getElementRef");var nP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],na=nP.reduce((e,t)=>{const n=Bd(`Primitive.${t}`),o=C.forwardRef((i,s)=>{const{asChild:c,...f}=i,p=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),de.jsx(p,{...f,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function n5(e,t){e&&wd.flushSync(()=>e.dispatchEvent(t))}d(n5,"dispatchDiscreteCustomEvent");function gl(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),C.useMemo(()=>(...n)=>t.current?.(...n),[])}d(gl,"useCallbackRef");function a5(e,t=globalThis?.document){const n=gl(e);C.useEffect(()=>{const o=d(i=>{i.key==="Escape"&&n(i)},"handleKeyDown");return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}d(a5,"useEscapeKeydown");var aP="DismissableLayer",c0="dismissableLayer.update",oP="dismissableLayer.pointerDownOutside",iP="dismissableLayer.focusOutside",WA,o5=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),i5=C.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:c,onDismiss:f,...p}=e,h=C.useContext(o5),[y,v]=C.useState(null),b=y?.ownerDocument??globalThis?.document,[,S]=C.useState({}),w=Ka(t,B=>v(B)),x=Array.from(h.layers),[O]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=x.indexOf(O),R=y?x.indexOf(y):-1,T=h.layersWithOutsidePointerEventsDisabled.size>0,F=R>=A,N=l5(B=>{const $=B.target,P=[...h.branches].some(I=>I.contains($));!F||P||(i?.(B),c?.(B),B.defaultPrevented||f?.())},b),L=s5(B=>{const $=B.target;[...h.branches].some(I=>I.contains($))||(s?.(B),c?.(B),B.defaultPrevented||f?.())},b);return a5(B=>{R===h.layers.size-1&&(o?.(B),!B.defaultPrevented&&f&&(B.preventDefault(),f()))},b),C.useEffect(()=>{if(y)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(WA=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),f0(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=WA)}},[y,b,n,h]),C.useEffect(()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),f0())},[y,h]),C.useEffect(()=>{const B=d(()=>S({}),"handleUpdate");return document.addEventListener(c0,B),()=>document.removeEventListener(c0,B)},[]),de.jsx(na.div,{...p,ref:w,style:{pointerEvents:T?F?"auto":"none":void 0,...e.style},onFocusCapture:uf(e.onFocusCapture,L.onFocusCapture),onBlurCapture:uf(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:uf(e.onPointerDownCapture,N.onPointerDownCapture)})});i5.displayName=aP;var lP="DismissableLayerBranch",sP=C.forwardRef((e,t)=>{const n=C.useContext(o5),o=C.useRef(null),i=Ka(t,o);return C.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),de.jsx(na.div,{...e,ref:i})});sP.displayName=lP;function l5(e,t=globalThis?.document){const n=gl(e),o=C.useRef(!1),i=C.useRef(()=>{});return C.useEffect(()=>{const s=d(f=>{if(f.target&&!o.current){let p=d(function(){cv(oP,n,h,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");const h={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=p,t.addEventListener("click",i.current,{once:!0})):p()}else t.removeEventListener("click",i.current);o.current=!1},"handlePointerDown"),c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:d(()=>o.current=!0,"onPointerDownCapture")}}d(l5,"usePointerDownOutside");function s5(e,t=globalThis?.document){const n=gl(e),o=C.useRef(!1);return C.useEffect(()=>{const i=d(s=>{s.target&&!o.current&&cv(iP,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:d(()=>o.current=!0,"onFocusCapture"),onBlurCapture:d(()=>o.current=!1,"onBlurCapture")}}d(s5,"useFocusOutside");function f0(){const e=new CustomEvent(c0);document.dispatchEvent(e)}d(f0,"dispatchUpdate");function cv(e,t,n,{discrete:o}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?n5(i,s):i.dispatchEvent(s)}d(cv,"handleAndDispatchCustomEvent");var Ng="focusScope.autoFocusOnMount",kg="focusScope.autoFocusOnUnmount",KA={bubbles:!1,cancelable:!0},uP="FocusScope",u5=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=e,[f,p]=C.useState(null),h=gl(i),y=gl(s),v=C.useRef(null),b=Ka(t,x=>p(x)),S=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(o){let x=d(function(T){if(S.paused||!f)return;const F=T.target;f.contains(F)?v.current=F:qn(v.current,{select:!0})},"handleFocusIn2"),O=d(function(T){if(S.paused||!f)return;const F=T.relatedTarget;F!==null&&(f.contains(F)||qn(v.current,{select:!0}))},"handleFocusOut2"),A=d(function(T){if(document.activeElement===document.body)for(const N of T)N.removedNodes.length>0&&qn(f)},"handleMutations2");document.addEventListener("focusin",x),document.addEventListener("focusout",O);const R=new MutationObserver(A);return f&&R.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",O),R.disconnect()}}},[o,f,S.paused]),C.useEffect(()=>{if(f){XA.add(S);const x=document.activeElement;if(!f.contains(x)){const A=new CustomEvent(Ng,KA);f.addEventListener(Ng,h),f.dispatchEvent(A),A.defaultPrevented||(c5(g5(fv(f)),{select:!0}),document.activeElement===x&&qn(f))}return()=>{f.removeEventListener(Ng,h),setTimeout(()=>{const A=new CustomEvent(kg,KA);f.addEventListener(kg,y),f.dispatchEvent(A),A.defaultPrevented||qn(x??document.body,{select:!0}),f.removeEventListener(kg,y),XA.remove(S)},0)}}},[f,h,y,S]);const w=C.useCallback(x=>{if(!n&&!o||S.paused)return;const O=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,A=document.activeElement;if(O&&A){const R=x.currentTarget,[T,F]=f5(R);T&&F?!x.shiftKey&&A===F?(x.preventDefault(),n&&qn(T,{select:!0})):x.shiftKey&&A===T&&(x.preventDefault(),n&&qn(F,{select:!0})):A===R&&x.preventDefault()}},[n,o,S.paused]);return de.jsx(na.div,{tabIndex:-1,...c,ref:b,onKeyDown:w})});u5.displayName=uP;function c5(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(qn(o,{select:t}),document.activeElement!==n)return}d(c5,"focusFirst");function f5(e){const t=fv(e),n=d0(t,e),o=d0(t.reverse(),e);return[n,o]}d(f5,"getTabbableEdges");function fv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:d(o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}d(fv,"getTabbableCandidates");function d0(e,t){for(const n of e)if(!d5(n,{upTo:t}))return n}d(d0,"findVisible");function d5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}d(d5,"isHidden");function p5(e){return e instanceof HTMLInputElement&&"select"in e}d(p5,"isSelectableInput");function qn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&p5(e)&&t&&e.select()}}d(qn,"focus");var XA=h5();function h5(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=p0(e,t),e.unshift(t)},remove(t){e=p0(e,t),e[0]?.resume()}}}d(h5,"createFocusScopesStack");function p0(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}d(p0,"arrayRemove");function g5(e){return e.filter(t=>t.tagName!=="A")}d(g5,"removeLinks");var cP="Portal",m5=C.forwardRef((e,t)=>{const{container:n,...o}=e,[i,s]=C.useState(!1);ru(()=>s(!0),[]);const c=n||i&&globalThis?.document?.body;return c?aT.createPortal(de.jsx(na.div,{...o,ref:t}),c):null});m5.displayName=cP;function y5(e,t){return C.useReducer((n,o)=>t[n][o]??n,e)}d(y5,"useStateMachine");var Md=d(e=>{const{present:t,children:n}=e,o=v5(t),i=typeof n=="function"?n({present:o.isPresent}):C.Children.only(n),s=Ka(o.ref,b5(i));return typeof n=="function"||o.isPresent?C.cloneElement(i,{ref:s}):null},"Presence");Md.displayName="Presence";function v5(e){const[t,n]=C.useState(),o=C.useRef(null),i=C.useRef(e),s=C.useRef("none"),c=e?"mounted":"unmounted",[f,p]=y5(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const h=Bs(o.current);s.current=f==="mounted"?h:"none"},[f]),ru(()=>{const h=o.current,y=i.current;if(y!==e){const b=s.current,S=Bs(h);e?p("MOUNT"):S==="none"||h?.display==="none"?p("UNMOUNT"):p(y&&b!==S?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,p]),ru(()=>{if(t){let h;const y=t.ownerDocument.defaultView??window,v=d(S=>{const x=Bs(o.current).includes(CSS.escape(S.animationName));if(S.target===t&&x&&(p("ANIMATION_END"),!i.current)){const O=t.style.animationFillMode;t.style.animationFillMode="forwards",h=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=O)})}},"handleAnimationEnd"),b=d(S=>{S.target===t&&(s.current=Bs(o.current))},"handleAnimationStart");return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{y.clearTimeout(h),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:C.useCallback(h=>{o.current=h?getComputedStyle(h):null,n(h)},[])}}d(v5,"usePresence");function Bs(e){return e?.animationName||"none"}d(Bs,"getAnimationName");function b5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}d(b5,"getElementRef");var zg=0;function E5(){C.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??h0()),document.body.insertAdjacentElement("beforeend",e[1]??h0()),zg++,()=>{zg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zg--}},[])}d(E5,"useFocusGuards");function h0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}d(h0,"createFocusGuard");var gn=d(function(){return gn=Object.assign||d(function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},"__assign"),gn.apply(this,arguments)},"__assign");function dv(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}d(dv,"__rest");function S5(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}d(S5,"__spreadArray");var cf="right-scroll-bar-position",ff="width-before-scroll-bar",fP="with-scroll-bars-hidden",dP="--removed-body-scroll-bar-size";function df(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}d(df,"assignRef");function A5(e,t){var n=C.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var i=n.value;i!==o&&(n.value=o,n.callback(o,i))}}}})[0];return n.callback=t,n.facade}d(A5,"useCallbackRef");var pP=typeof window<"u"?C.useLayoutEffect:C.useEffect,ZA=new WeakMap;function C5(e,t){var n=A5(t||null,function(o){return e.forEach(function(i){return df(i,o)})});return pP(function(){var o=ZA.get(n);if(o){var i=new Set(o),s=new Set(e),c=n.current;i.forEach(function(f){s.has(f)||df(f,null)}),s.forEach(function(f){i.has(f)||df(f,c)})}ZA.set(n,e)},[e]),n}d(C5,"useMergeRefs");function w5(e){return e}d(w5,"ItoI");function x5(e,t){t===void 0&&(t=w5);var n=[],o=!1,i={read:d(function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},"read"),useMedium:d(function(s){var c=t(s,o);return n.push(c),function(){n=n.filter(function(f){return f!==c})}},"useMedium"),assignSyncMedium:d(function(s){for(o=!0;n.length;){var c=n;n=[],c.forEach(s)}n={push:d(function(f){return s(f)},"push"),filter:d(function(){return n},"filter")}},"assignSyncMedium"),assignMedium:d(function(s){o=!0;var c=[];if(n.length){var f=n;n=[],f.forEach(s),c=n}var p=d(function(){var y=c;c=[],y.forEach(s)},"executeQueue"),h=d(function(){return Promise.resolve().then(p)},"cycle");h(),n={push:d(function(y){c.push(y),h()},"push"),filter:d(function(y){return c=c.filter(y),n},"filter")}},"assignMedium")};return i}d(x5,"innerCreateMedium");function D5(e){e===void 0&&(e={});var t=x5(null);return t.options=gn({async:!0,ssr:!1},e),t}d(D5,"createSidecarMedium");var _5=d(function(e){var t=e.sideCar,n=dv(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return C.createElement(o,gn({},n))},"SideCar");_5.isSideCarExport=!0;function O5(e,t){return e.useMedium(t),_5}d(O5,"exportSidecar");var T5=D5(),jg=d(function(){},"nothing"),Ld=C.forwardRef(function(e,t){var n=C.useRef(null),o=C.useState({onScrollCapture:jg,onWheelCapture:jg,onTouchMoveCapture:jg}),i=o[0],s=o[1],c=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,y=e.enabled,v=e.shards,b=e.sideCar,S=e.noRelative,w=e.noIsolation,x=e.inert,O=e.allowPinchZoom,A=e.as,R=A===void 0?"div":A,T=e.gapMode,F=dv(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=b,L=C5([n,t]),B=gn(gn({},F),i);return C.createElement(C.Fragment,null,y&&C.createElement(N,{sideCar:T5,removeScrollBar:h,shards:v,noRelative:S,noIsolation:w,inert:x,setCallbacks:s,allowPinchZoom:!!O,lockRef:n,gapMode:T}),c?C.cloneElement(C.Children.only(f),gn(gn({},B),{ref:L})):C.createElement(R,gn({},B,{className:p,ref:L}),f))});Ld.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ld.classNames={fullWidth:ff,zeroRight:cf};var hP=d(function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function R5(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=hP();return t&&e.setAttribute("nonce",t),e}d(R5,"makeStyleTag");function F5(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}d(F5,"injectStyles");function B5(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}d(B5,"insertStyleTag");var gP=d(function(){var e=0,t=null;return{add:d(function(n){e==0&&(t=R5())&&(F5(t,n),B5(t)),e++},"add"),remove:d(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),mP=d(function(){var e=gP();return function(t,n){C.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},"styleHookSingleton"),M5=d(function(){var e=mP(),t=d(function(n){var o=n.styles,i=n.dynamic;return e(o,i),null},"Sheet");return t},"styleSingleton"),yP={left:0,top:0,right:0,gap:0},$g=d(function(e){return parseInt(e||"",10)||0},"parse"),vP=d(function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[$g(n),$g(o),$g(i)]},"getOffset"),bP=d(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yP;var t=vP(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},"getGapWidth"),EP=M5(),Zi="data-scroll-locked",SP=d(function(e,t,n,o){var i=e.left,s=e.top,c=e.right,f=e.gap;return n===void 0&&(n="margin"),`
690
+ `,A3=d(({svg:e=!1,trigger:t="click",closeOnOutsideClick:n=!1,placement:o="top",modifiers:i=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:s=!0,defaultVisible:c=!1,withArrows:f,offset:p,tooltip:h,children:y,closeOnTriggerHidden:v,mutationObserverOptions:b,delayHide:S=t==="hover"?200:0,visible:w,interactive:x,delayShow:O=t==="hover"?400:0,strategy:A,followCursor:R,onVisibleChange:T,portalContainer:F,...N})=>{const L=e?w$:C$,{getArrowProps:B,getTooltipProps:$,setTooltipRef:P,setTriggerRef:I,visible:U,state:Q}=E3({trigger:t,placement:o,defaultVisible:c,delayHide:S,interactive:x,closeOnOutsideClick:n,closeOnTriggerHidden:v,onVisibleChange:T,delayShow:O,followCursor:R,mutationObserverOptions:b,visible:w,offset:p},{modifiers:i,strategy:A}),X=(typeof F=="string"?qs.querySelector(F):F)||qs.body,z=U?E.createElement(S3,{placement:Q?.placement,ref:P,hasChrome:s,arrowProps:B(),withArrows:f,...$()},typeof h=="function"?h({onHide:d(()=>T(!1),"onHide")}):h):null;return E.createElement(E.Fragment,null,E.createElement(L,{trigger:t,ref:I,...N},y),U&&aT.createPortal(z,X))},"WithTooltipPure"),l0=d(({startOpen:e=!1,onVisibleChange:t,...n})=>{const[o,i]=C.useState(e),s=C.useCallback(c=>{t&&t(c)===!1||i(c)},[t]);return C.useEffect(()=>{const c=d(()=>s(!1),"hide"),f=d(y=>{y.key==="Escape"&&c()},"handleKeyDown");qs.addEventListener("keydown",f,!1);const p=Array.from(qs.getElementsByTagName("iframe")),h=[];return p.forEach(y=>{const v=d(()=>{try{y.contentWindow.document&&(y.contentWindow.document.addEventListener("click",c),h.push(()=>{try{y.contentWindow.document.removeEventListener("click",c)}catch{}}))}catch{}},"bind");v(),y.addEventListener("load",v),h.push(()=>{y.removeEventListener("load",v)})}),()=>{qs.removeEventListener("keydown",f),h.forEach(y=>{y()})}}),E.createElement(A3,{...n,visible:o,onVisibleChange:s})},"WithToolTipState"),x$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),D$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),_$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),O$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),T$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),C.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),R$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),s0=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),xX=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),F$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),B$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),M$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),L$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),C.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),N$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),C.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),k$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),C3=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),z$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),w3=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),j$=C.forwardRef(({color:e="currentColor",size:t=14,...n},o)=>C.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...n},C.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),nt=d(({...e},t)=>{const n=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...n].filter(Boolean).join(" "),e},"nameSpaceClassNames"),wl=d(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),ra=d(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?br(.1,e.color.defaultText):br(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),it=d(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Ho={margin:"16px 0"},ov=G.div(it),$$=d(({href:e="",...t})=>{const o=/^\//.test(e)?`./?path=${e}`:e,s=/^#.*/.test(e)?"_self":"_top";return E.createElement("a",{href:o,target:s,...t})},"Link"),x3=G($$)(it,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),D3=G.blockquote(it,Ho,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),Fo=[],hl=null,P$=C.lazy(async()=>{const{SyntaxHighlighter:e}=await Ua(async()=>{const{SyntaxHighlighter:t}=await import("./syntaxhighlighter-CAVLW7PM-CsQveU1N.js");return{SyntaxHighlighter:t}},__vite__mapDeps([0,1,2,3]),import.meta.url);return Fo.length>0&&(Fo.forEach(t=>{e.registerLanguage(...t)}),Fo=[]),hl===null&&(hl=e),{default:d(t=>E.createElement(e,{...t}),"default")}}),I$=C.lazy(async()=>{const[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Ua(()=>import("./syntaxhighlighter-CAVLW7PM-CsQveU1N.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),Ua(()=>import("./formatter-OMEEQ6HG-BBn014aZ.js"),__vite__mapDeps([4,1,2,3]),import.meta.url)]);return Fo.length>0&&(Fo.forEach(n=>{e.registerLanguage(...n)}),Fo=[]),hl===null&&(hl=e),{default:d(n=>E.createElement(e,{...n,formatter:t}),"default")}}),yu=d(e=>E.createElement(C.Suspense,{fallback:E.createElement("div",null)},e.format!==!1?E.createElement(I$,{...e}):E.createElement(P$,{...e})),"SyntaxHighlighter");yu.registerLanguage=(...e)=>{if(hl!==null){hl.registerLanguage(...e);return}Fo.push(e)};var H$=d(e=>typeof e=="string","isReactChildString"),U$=/[\n\r]/g,q$=G.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),ra),G$=G(yu)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),iv=d(({className:e,children:t,...n})=>{const o=(e||"").match(/lang-(\S+)/),i=C.Children.toArray(t);return i.filter(H$).some(c=>c.match(U$))?E.createElement(G$,{bordered:!0,copyable:!0,language:o?.[1]??"text",format:!1,...n},t):E.createElement(q$,{...n,className:e},i)},"Code"),_3=G.dl(it,Ho,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),O3=G.div(it),T3=G.h1(it,wl,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),lv=G.h2(it,wl,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),sv=G.h3(it,wl,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),R3=G.h4(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),F3=G.h5(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),B3=G.h6(it,wl,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),M3=G.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),L3=G.img({maxWidth:"100%"}),N3=G.li(it,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":ra({theme:e})})),V$={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},k3=G.ol(it,Ho,V$,{listStyle:"decimal"}),z3=G.p(it,Ho,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":ra({theme:e})})),j3=G.pre(it,Ho,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),$3=G.span(it,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),P3=G.title(ra),I3=G.table(it,Ho,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),Y$={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},H3=G.ul(it,Ho,Y$,{listStyle:"disc"}),U3={h1:d(e=>E.createElement(T3,{...nt(e,"h1")}),"h1"),h2:d(e=>E.createElement(lv,{...nt(e,"h2")}),"h2"),h3:d(e=>E.createElement(sv,{...nt(e,"h3")}),"h3"),h4:d(e=>E.createElement(R3,{...nt(e,"h4")}),"h4"),h5:d(e=>E.createElement(F3,{...nt(e,"h5")}),"h5"),h6:d(e=>E.createElement(B3,{...nt(e,"h6")}),"h6"),pre:d(e=>E.createElement(j3,{...nt(e,"pre")}),"pre"),a:d(e=>E.createElement(x3,{...nt(e,"a")}),"a"),hr:d(e=>E.createElement(M3,{...nt(e,"hr")}),"hr"),dl:d(e=>E.createElement(_3,{...nt(e,"dl")}),"dl"),blockquote:d(e=>E.createElement(D3,{...nt(e,"blockquote")}),"blockquote"),table:d(e=>E.createElement(I3,{...nt(e,"table")}),"table"),img:d(e=>E.createElement(L3,{...nt(e,"img")}),"img"),div:d(e=>E.createElement(O3,{...nt(e,"div")}),"div"),span:d(e=>E.createElement($3,{...nt(e,"span")}),"span"),li:d(e=>E.createElement(N3,{...nt(e,"li")}),"li"),ul:d(e=>E.createElement(H3,{...nt(e,"ul")}),"ul"),ol:d(e=>E.createElement(k3,{...nt(e,"ol")}),"ol"),p:d(e=>E.createElement(z3,{...nt(e,"p")}),"p"),code:d(e=>E.createElement(iv,{...nt(e,"code")}),"code"),tt:d(e=>E.createElement(P3,{...nt(e,"tt")}),"tt"),resetwrapper:d(e=>E.createElement(ov,{...nt(e,"resetwrapper")}),"resetwrapper")};G.div(({theme:e,compact:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"12px",minWidth:20,borderRadius:20,padding:t?"4px 7px":"4px 10px"}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.textMutedColor,background:e.base==="light"?e.background.app:e.barBg,boxShadow:`inset 0 0 0 1px ${br(.8,e.textMutedColor)}`};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${br(.9,e.color.positiveText)}`:"none"};case"active":return{color:e.color.secondary,background:e.background.hoverable,boxShadow:`inset 0 0 0 1px ${br(.9,e.color.secondary)}`};default:return{}}});var W$=0,K$=d(e=>e.button===W$&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),X$=d((e,t)=>{K$(e)&&(e.preventDefault(),t(e))},"cancelled"),Z$=G.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),J$=G.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:xo(.07,e.color.secondary),"svg path:not([fill])":{fill:xo(.07,e.color.secondary)}},"&:active":{color:xo(.1,e.color.secondary),"svg path:not([fill])":{fill:xo(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:n})=>{let o;return t&&(o=[e.textMutedColor,e.color.dark,e.color.darker]),n&&(o=[e.color.dark,e.color.darkest,e.textMutedColor]),o?{color:o[0],"svg path:not([fill])":{fill:o[0]},"&:hover":{color:o[1],"svg path:not([fill])":{fill:o[1]}},"&:active":{color:o[2],"svg path:not([fill])":{fill:o[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),tu=d(({cancel:e=!0,children:t,onClick:n=void 0,withArrow:o=!1,containsIcon:i=!1,className:s=void 0,style:c=void 0,...f})=>E.createElement(J$,{...f,onClick:n&&e?p=>X$(p,n):n,className:s},E.createElement(Z$,{withArrow:o,containsIcon:i},t,o&&E.createElement(C3,null))),"Link");G.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var q3={};Wf(q3,{Close:()=>tR,Content:()=>J5,Description:()=>eR,Dialog:()=>pv,DialogClose:()=>Av,DialogContent:()=>vv,DialogDescription:()=>Sv,DialogOverlay:()=>yv,DialogPortal:()=>mv,DialogTitle:()=>Ev,DialogTrigger:()=>hv,Overlay:()=>Z5,Portal:()=>X5,Root:()=>K5,Title:()=>Q5,Trigger:()=>ZP,WarningProvider:()=>YP,createDialogScope:()=>PP});function Xi(e,t,{checkForDefaultPrevented:n=!0}={}){return d(function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)},"handleEvent")}d(Xi,"composeEventHandlers");function u0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}d(u0,"setRef");function uv(...e){return t=>{let n=!1;const o=e.map(i=>{const s=u0(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<o.length;i++){const s=o[i];typeof s=="function"?s():u0(e[i],null)}}}}d(uv,"composeRefs");function Ka(...e){return C.useCallback(uv(...e),e)}d(Ka,"useComposedRefs");function G3(e,t){const n=C.createContext(t),o=d(s=>{const{children:c,...f}=s,p=C.useMemo(()=>f,Object.values(f));return de.jsx(n.Provider,{value:p,children:c})},"Provider");o.displayName=e+"Provider";function i(s){const c=C.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return d(i,"useContext2"),[o,i]}d(G3,"createContext2");function V3(e,t=[]){let n=[];function o(s,c){const f=C.createContext(c),p=n.length;n=[...n,c];const h=d(v=>{const{scope:b,children:S,...w}=v,x=b?.[e]?.[p]||f,O=C.useMemo(()=>w,Object.values(w));return de.jsx(x.Provider,{value:O,children:S})},"Provider");h.displayName=s+"Provider";function y(v,b){const S=b?.[e]?.[p]||f,w=C.useContext(S);if(w)return w;if(c!==void 0)return c;throw new Error(`\`${v}\` must be used within \`${s}\``)}return d(y,"useContext2"),[h,y]}d(o,"createContext3");const i=d(()=>{const s=n.map(c=>C.createContext(c));return d(function(f){const p=f?.[e]||s;return C.useMemo(()=>({[`__scope${e}`]:{...f,[e]:p}}),[f,p])},"useScope")},"createScope");return i.scopeName=e,[o,Y3(i,...t)]}d(V3,"createContextScope");function Y3(...e){const t=e[0];if(e.length===1)return t;const n=d(()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return d(function(s){const c=o.reduce((f,{useScope:p,scopeName:h})=>{const v=p(s)[`__scope${h}`];return{...f,...v}},{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}d(Y3,"composeContextScopes");var ru=globalThis?.document?C.useLayoutEffect:()=>{},Q$=Z_[" useId ".trim().toString()]||(()=>{}),eP=0;function sf(e){const[t,n]=C.useState(Q$());return ru(()=>{e||n(o=>o??String(eP++))},[e]),e||(t?`radix-${t}`:"")}d(sf,"useId");var tP=Z_[" useInsertionEffect ".trim().toString()]||ru;function W3({prop:e,defaultProp:t,onChange:n=d(()=>{},"onChange"),caller:o}){const[i,s,c]=K3({defaultProp:t,onChange:n}),f=e!==void 0,p=f?e:i;{const y=C.useRef(e!==void 0);C.useEffect(()=>{const v=y.current;v!==f&&console.warn(`${o} is changing from ${v?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=f},[f,o])}const h=C.useCallback(y=>{if(f){const v=X3(y)?y(e):y;v!==e&&c.current?.(v)}else s(y)},[f,e,s,c]);return[p,h]}d(W3,"useControllableState");function K3({defaultProp:e,onChange:t}){const[n,o]=C.useState(e),i=C.useRef(n),s=C.useRef(t);return tP(()=>{s.current=t},[t]),C.useEffect(()=>{i.current!==n&&(s.current?.(n),i.current=n)},[n,i]),[n,o,s]}d(K3,"useUncontrolledState");function X3(e){return typeof e=="function"}d(X3,"isFunction");function uf(e,t,{checkForDefaultPrevented:n=!0}={}){return d(function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)},"handleEvent")}d(uf,"composeEventHandlers");function Bd(e){const t=Z3(e),n=C.forwardRef((o,i)=>{const{children:s,...c}=o,f=C.Children.toArray(s),p=f.find(e5);if(p){const h=p.props.children,y=f.map(v=>v===p?C.Children.count(h)>1?C.Children.only(null):C.isValidElement(h)?h.props.children:null:v);return de.jsx(t,{...c,ref:i,children:C.isValidElement(h)?C.cloneElement(h,void 0,y):null})}return de.jsx(t,{...c,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}d(Bd,"createSlot");var rP=Bd("Slot");function Z3(e){const t=C.forwardRef((n,o)=>{const{children:i,...s}=n;if(C.isValidElement(i)){const c=r5(i),f=t5(s,i.props);return i.type!==C.Fragment&&(f.ref=o?uv(o,c):c),C.cloneElement(i,f)}return C.Children.count(i)>1?C.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}d(Z3,"createSlotClone");var J3=Symbol("radix.slottable");function Q3(e){const t=d(({children:n})=>de.jsx(de.Fragment,{children:n}),"Slottable2");return t.displayName=`${e}.Slottable`,t.__radixId=J3,t}d(Q3,"createSlottable");Q3("Slottable");function e5(e){return C.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===J3}d(e5,"isSlottable");function t5(e,t){const n={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?n[o]=(...f)=>{const p=s(...f);return i(...f),p}:i&&(n[o]=i):o==="style"?n[o]={...i,...s}:o==="className"&&(n[o]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}d(t5,"mergeProps");function r5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}d(r5,"getElementRef");var nP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],na=nP.reduce((e,t)=>{const n=Bd(`Primitive.${t}`),o=C.forwardRef((i,s)=>{const{asChild:c,...f}=i,p=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),de.jsx(p,{...f,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function n5(e,t){e&&wd.flushSync(()=>e.dispatchEvent(t))}d(n5,"dispatchDiscreteCustomEvent");function gl(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),C.useMemo(()=>(...n)=>t.current?.(...n),[])}d(gl,"useCallbackRef");function a5(e,t=globalThis?.document){const n=gl(e);C.useEffect(()=>{const o=d(i=>{i.key==="Escape"&&n(i)},"handleKeyDown");return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}d(a5,"useEscapeKeydown");var aP="DismissableLayer",c0="dismissableLayer.update",oP="dismissableLayer.pointerDownOutside",iP="dismissableLayer.focusOutside",WA,o5=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),i5=C.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:c,onDismiss:f,...p}=e,h=C.useContext(o5),[y,v]=C.useState(null),b=y?.ownerDocument??globalThis?.document,[,S]=C.useState({}),w=Ka(t,B=>v(B)),x=Array.from(h.layers),[O]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=x.indexOf(O),R=y?x.indexOf(y):-1,T=h.layersWithOutsidePointerEventsDisabled.size>0,F=R>=A,N=l5(B=>{const $=B.target,P=[...h.branches].some(I=>I.contains($));!F||P||(i?.(B),c?.(B),B.defaultPrevented||f?.())},b),L=s5(B=>{const $=B.target;[...h.branches].some(I=>I.contains($))||(s?.(B),c?.(B),B.defaultPrevented||f?.())},b);return a5(B=>{R===h.layers.size-1&&(o?.(B),!B.defaultPrevented&&f&&(B.preventDefault(),f()))},b),C.useEffect(()=>{if(y)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(WA=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(y)),h.layers.add(y),f0(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=WA)}},[y,b,n,h]),C.useEffect(()=>()=>{y&&(h.layers.delete(y),h.layersWithOutsidePointerEventsDisabled.delete(y),f0())},[y,h]),C.useEffect(()=>{const B=d(()=>S({}),"handleUpdate");return document.addEventListener(c0,B),()=>document.removeEventListener(c0,B)},[]),de.jsx(na.div,{...p,ref:w,style:{pointerEvents:T?F?"auto":"none":void 0,...e.style},onFocusCapture:uf(e.onFocusCapture,L.onFocusCapture),onBlurCapture:uf(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:uf(e.onPointerDownCapture,N.onPointerDownCapture)})});i5.displayName=aP;var lP="DismissableLayerBranch",sP=C.forwardRef((e,t)=>{const n=C.useContext(o5),o=C.useRef(null),i=Ka(t,o);return C.useEffect(()=>{const s=o.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),de.jsx(na.div,{...e,ref:i})});sP.displayName=lP;function l5(e,t=globalThis?.document){const n=gl(e),o=C.useRef(!1),i=C.useRef(()=>{});return C.useEffect(()=>{const s=d(f=>{if(f.target&&!o.current){let p=d(function(){cv(oP,n,h,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");const h={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=p,t.addEventListener("click",i.current,{once:!0})):p()}else t.removeEventListener("click",i.current);o.current=!1},"handlePointerDown"),c=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:d(()=>o.current=!0,"onPointerDownCapture")}}d(l5,"usePointerDownOutside");function s5(e,t=globalThis?.document){const n=gl(e),o=C.useRef(!1);return C.useEffect(()=>{const i=d(s=>{s.target&&!o.current&&cv(iP,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:d(()=>o.current=!0,"onFocusCapture"),onBlurCapture:d(()=>o.current=!1,"onBlurCapture")}}d(s5,"useFocusOutside");function f0(){const e=new CustomEvent(c0);document.dispatchEvent(e)}d(f0,"dispatchUpdate");function cv(e,t,n,{discrete:o}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?n5(i,s):i.dispatchEvent(s)}d(cv,"handleAndDispatchCustomEvent");var Ng="focusScope.autoFocusOnMount",kg="focusScope.autoFocusOnUnmount",KA={bubbles:!1,cancelable:!0},uP="FocusScope",u5=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=e,[f,p]=C.useState(null),h=gl(i),y=gl(s),v=C.useRef(null),b=Ka(t,x=>p(x)),S=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(o){let x=d(function(T){if(S.paused||!f)return;const F=T.target;f.contains(F)?v.current=F:qn(v.current,{select:!0})},"handleFocusIn2"),O=d(function(T){if(S.paused||!f)return;const F=T.relatedTarget;F!==null&&(f.contains(F)||qn(v.current,{select:!0}))},"handleFocusOut2"),A=d(function(T){if(document.activeElement===document.body)for(const N of T)N.removedNodes.length>0&&qn(f)},"handleMutations2");document.addEventListener("focusin",x),document.addEventListener("focusout",O);const R=new MutationObserver(A);return f&&R.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",O),R.disconnect()}}},[o,f,S.paused]),C.useEffect(()=>{if(f){XA.add(S);const x=document.activeElement;if(!f.contains(x)){const A=new CustomEvent(Ng,KA);f.addEventListener(Ng,h),f.dispatchEvent(A),A.defaultPrevented||(c5(g5(fv(f)),{select:!0}),document.activeElement===x&&qn(f))}return()=>{f.removeEventListener(Ng,h),setTimeout(()=>{const A=new CustomEvent(kg,KA);f.addEventListener(kg,y),f.dispatchEvent(A),A.defaultPrevented||qn(x??document.body,{select:!0}),f.removeEventListener(kg,y),XA.remove(S)},0)}}},[f,h,y,S]);const w=C.useCallback(x=>{if(!n&&!o||S.paused)return;const O=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,A=document.activeElement;if(O&&A){const R=x.currentTarget,[T,F]=f5(R);T&&F?!x.shiftKey&&A===F?(x.preventDefault(),n&&qn(T,{select:!0})):x.shiftKey&&A===T&&(x.preventDefault(),n&&qn(F,{select:!0})):A===R&&x.preventDefault()}},[n,o,S.paused]);return de.jsx(na.div,{tabIndex:-1,...c,ref:b,onKeyDown:w})});u5.displayName=uP;function c5(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(qn(o,{select:t}),document.activeElement!==n)return}d(c5,"focusFirst");function f5(e){const t=fv(e),n=d0(t,e),o=d0(t.reverse(),e);return[n,o]}d(f5,"getTabbableEdges");function fv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:d(o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}d(fv,"getTabbableCandidates");function d0(e,t){for(const n of e)if(!d5(n,{upTo:t}))return n}d(d0,"findVisible");function d5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}d(d5,"isHidden");function p5(e){return e instanceof HTMLInputElement&&"select"in e}d(p5,"isSelectableInput");function qn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&p5(e)&&t&&e.select()}}d(qn,"focus");var XA=h5();function h5(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=p0(e,t),e.unshift(t)},remove(t){e=p0(e,t),e[0]?.resume()}}}d(h5,"createFocusScopesStack");function p0(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}d(p0,"arrayRemove");function g5(e){return e.filter(t=>t.tagName!=="A")}d(g5,"removeLinks");var cP="Portal",m5=C.forwardRef((e,t)=>{const{container:n,...o}=e,[i,s]=C.useState(!1);ru(()=>s(!0),[]);const c=n||i&&globalThis?.document?.body;return c?aT.createPortal(de.jsx(na.div,{...o,ref:t}),c):null});m5.displayName=cP;function y5(e,t){return C.useReducer((n,o)=>t[n][o]??n,e)}d(y5,"useStateMachine");var Md=d(e=>{const{present:t,children:n}=e,o=v5(t),i=typeof n=="function"?n({present:o.isPresent}):C.Children.only(n),s=Ka(o.ref,b5(i));return typeof n=="function"||o.isPresent?C.cloneElement(i,{ref:s}):null},"Presence");Md.displayName="Presence";function v5(e){const[t,n]=C.useState(),o=C.useRef(null),i=C.useRef(e),s=C.useRef("none"),c=e?"mounted":"unmounted",[f,p]=y5(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const h=Bs(o.current);s.current=f==="mounted"?h:"none"},[f]),ru(()=>{const h=o.current,y=i.current;if(y!==e){const b=s.current,S=Bs(h);e?p("MOUNT"):S==="none"||h?.display==="none"?p("UNMOUNT"):p(y&&b!==S?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,p]),ru(()=>{if(t){let h;const y=t.ownerDocument.defaultView??window,v=d(S=>{const x=Bs(o.current).includes(CSS.escape(S.animationName));if(S.target===t&&x&&(p("ANIMATION_END"),!i.current)){const O=t.style.animationFillMode;t.style.animationFillMode="forwards",h=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=O)})}},"handleAnimationEnd"),b=d(S=>{S.target===t&&(s.current=Bs(o.current))},"handleAnimationStart");return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{y.clearTimeout(h),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:C.useCallback(h=>{o.current=h?getComputedStyle(h):null,n(h)},[])}}d(v5,"usePresence");function Bs(e){return e?.animationName||"none"}d(Bs,"getAnimationName");function b5(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}d(b5,"getElementRef");var zg=0;function E5(){C.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??h0()),document.body.insertAdjacentElement("beforeend",e[1]??h0()),zg++,()=>{zg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),zg--}},[])}d(E5,"useFocusGuards");function h0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}d(h0,"createFocusGuard");var gn=d(function(){return gn=Object.assign||d(function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},"__assign"),gn.apply(this,arguments)},"__assign");function dv(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}d(dv,"__rest");function S5(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}d(S5,"__spreadArray");var cf="right-scroll-bar-position",ff="width-before-scroll-bar",fP="with-scroll-bars-hidden",dP="--removed-body-scroll-bar-size";function df(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}d(df,"assignRef");function A5(e,t){var n=C.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var i=n.value;i!==o&&(n.value=o,n.callback(o,i))}}}})[0];return n.callback=t,n.facade}d(A5,"useCallbackRef");var pP=typeof window<"u"?C.useLayoutEffect:C.useEffect,ZA=new WeakMap;function C5(e,t){var n=A5(t||null,function(o){return e.forEach(function(i){return df(i,o)})});return pP(function(){var o=ZA.get(n);if(o){var i=new Set(o),s=new Set(e),c=n.current;i.forEach(function(f){s.has(f)||df(f,null)}),s.forEach(function(f){i.has(f)||df(f,c)})}ZA.set(n,e)},[e]),n}d(C5,"useMergeRefs");function w5(e){return e}d(w5,"ItoI");function x5(e,t){t===void 0&&(t=w5);var n=[],o=!1,i={read:d(function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},"read"),useMedium:d(function(s){var c=t(s,o);return n.push(c),function(){n=n.filter(function(f){return f!==c})}},"useMedium"),assignSyncMedium:d(function(s){for(o=!0;n.length;){var c=n;n=[],c.forEach(s)}n={push:d(function(f){return s(f)},"push"),filter:d(function(){return n},"filter")}},"assignSyncMedium"),assignMedium:d(function(s){o=!0;var c=[];if(n.length){var f=n;n=[],f.forEach(s),c=n}var p=d(function(){var y=c;c=[],y.forEach(s)},"executeQueue"),h=d(function(){return Promise.resolve().then(p)},"cycle");h(),n={push:d(function(y){c.push(y),h()},"push"),filter:d(function(y){return c=c.filter(y),n},"filter")}},"assignMedium")};return i}d(x5,"innerCreateMedium");function D5(e){e===void 0&&(e={});var t=x5(null);return t.options=gn({async:!0,ssr:!1},e),t}d(D5,"createSidecarMedium");var _5=d(function(e){var t=e.sideCar,n=dv(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return C.createElement(o,gn({},n))},"SideCar");_5.isSideCarExport=!0;function O5(e,t){return e.useMedium(t),_5}d(O5,"exportSidecar");var T5=D5(),jg=d(function(){},"nothing"),Ld=C.forwardRef(function(e,t){var n=C.useRef(null),o=C.useState({onScrollCapture:jg,onWheelCapture:jg,onTouchMoveCapture:jg}),i=o[0],s=o[1],c=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,y=e.enabled,v=e.shards,b=e.sideCar,S=e.noRelative,w=e.noIsolation,x=e.inert,O=e.allowPinchZoom,A=e.as,R=A===void 0?"div":A,T=e.gapMode,F=dv(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=b,L=C5([n,t]),B=gn(gn({},F),i);return C.createElement(C.Fragment,null,y&&C.createElement(N,{sideCar:T5,removeScrollBar:h,shards:v,noRelative:S,noIsolation:w,inert:x,setCallbacks:s,allowPinchZoom:!!O,lockRef:n,gapMode:T}),c?C.cloneElement(C.Children.only(f),gn(gn({},B),{ref:L})):C.createElement(R,gn({},B,{className:p,ref:L}),f))});Ld.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ld.classNames={fullWidth:ff,zeroRight:cf};var hP=d(function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function R5(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=hP();return t&&e.setAttribute("nonce",t),e}d(R5,"makeStyleTag");function F5(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}d(F5,"injectStyles");function B5(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}d(B5,"insertStyleTag");var gP=d(function(){var e=0,t=null;return{add:d(function(n){e==0&&(t=R5())&&(F5(t,n),B5(t)),e++},"add"),remove:d(function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)},"remove")}},"stylesheetSingleton"),mP=d(function(){var e=gP();return function(t,n){C.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},"styleHookSingleton"),M5=d(function(){var e=mP(),t=d(function(n){var o=n.styles,i=n.dynamic;return e(o,i),null},"Sheet");return t},"styleSingleton"),yP={left:0,top:0,right:0,gap:0},$g=d(function(e){return parseInt(e||"",10)||0},"parse"),vP=d(function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[$g(n),$g(o),$g(i)]},"getOffset"),bP=d(function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yP;var t=vP(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},"getGapWidth"),EP=M5(),Zi="data-scroll-locked",SP=d(function(e,t,n,o){var i=e.left,s=e.top,c=e.right,f=e.gap;return n===void 0&&(n="margin"),`
691
691
  .`.concat(fP,` {
692
692
  overflow: hidden `).concat(o,`;
693
693
  padding-right: `).concat(f,"px ").concat(o,`;
@@ -806,7 +806,7 @@ ${t}`);const n=t.match(pI);if(!n)return E.createElement(C.Fragment,null,t);const
806
806
  ${pn(.02,e.input.background)} 100%)`:`linear-gradient(to right,
807
807
  ${e.color.green} 0%, ${e.color.green} ${(o-t)/(n-t)*100}%,
808
808
  ${So(.02,e.input.background)} ${(o-t)/(n-t)*100}%,
809
- ${So(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Yr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),oF=G.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),iV=G(oF)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),lV=G.div({display:"flex",alignItems:"center",width:"100%"});function iF(e){const t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}_(iF,"getNumberOfDecimalPlaces");var sV=_(({name:e,value:t,onChange:n,min:o=0,max:i=100,step:s=1,onBlur:c,onFocus:f,argType:p})=>{const h=_(S=>{n(mG(S.target.value))},"handleChange"),y=t!==void 0,v=C.useMemo(()=>iF(s),[s]),b=!!p?.table?.readonly;return E.createElement(lV,{"aria-readonly":b},E.createElement(oF,null,o),E.createElement(oV,{id:en(e),type:"range",disabled:b,onChange:h,name:e,min:o,max:i,step:s,onFocus:f,onBlur:c,value:t??o}),E.createElement(iV,{numberOFDecimalsPlaces:v,max:i},y?t.toFixed(v):"--"," / ",i))},"RangeControl"),uV=G.label({display:"flex"}),cV=G.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),fV=_(({name:e,value:t,onChange:n,onFocus:o,onBlur:i,maxLength:s,argType:c})=>{const f=_(S=>{n(S.target.value)},"handleChange"),p=!!c?.table?.readonly,[h,y]=C.useState(!1),v=C.useCallback(()=>{n(""),y(!0)},[y]);if(t===void 0)return E.createElement(Xa,{variant:"outline",size:"medium",disabled:p,id:gd(e),onClick:v},"Set string");const b=typeof t=="string";return E.createElement(uV,null,E.createElement(xl.Textarea,{id:en(e),maxLength:s,onChange:f,disabled:p,size:"flex",placeholder:"Edit string...",autoFocus:h,valid:b?void 0:"error",name:e,value:b?t:"",onFocus:o,onBlur:i}),s&&E.createElement(cV,{isMaxed:t?.length===s},t?.length??0," / ",s))},"TextControl"),dV=G(xl.Input)({padding:10});function lF(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}_(lF,"revokeOldUrls");var pV=_(({onChange:e,name:t,accept:n="image/*",value:o,argType:i})=>{const s=C.useRef(null),c=i?.control?.readOnly;function f(p){if(!p.target.files)return;const h=Array.from(p.target.files).map(y=>URL.createObjectURL(y));e(h),lF(o||[])}return _(f,"handleFileChange"),C.useEffect(()=>{o==null&&s.current&&(s.current.value="")},[o,t]),E.createElement(dV,{ref:s,id:en(t),type:"file",name:t,multiple:!0,disabled:c,onChange:f,accept:n,size:"flex"})},"FilesControl"),hV=C.lazy(()=>Ua(()=>import("./Color-64QXVMR3-BV_8WWIP.js"),__vite__mapDeps([5,1,2,3]),import.meta.url)),gV=_(e=>E.createElement(C.Suspense,{fallback:E.createElement("div",null)},E.createElement(hV,{...e})),"ColorControl"),mV={array:NC,object:NC,boolean:sG,color:gV,date:hG,number:vG,check:ki,"inline-check":ki,radio:ki,"inline-radio":ki,select:ki,"multi-select":ki,range:sV,text:fV,file:pV},kC=_(()=>E.createElement(E.Fragment,null,"-"),"NoControl"),yV=_(({row:e,arg:t,updateArgs:n,isHovered:o})=>{const{key:i,control:s}=e,[c,f]=C.useState(!1),[p,h]=C.useState({value:t});C.useEffect(()=>{c||h({value:t})},[c,t]);const y=C.useCallback(x=>(h({value:x}),n({[i]:x}),x),[n,i]),v=C.useCallback(()=>f(!1),[]),b=C.useCallback(()=>f(!0),[]);if(!s||s.disable){const x=s?.disable!==!0&&e?.type?.name!=="function";return o&&x?E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},"Setup controls"):E.createElement(kC,null)}const S={name:i,argType:e,value:p.value,onChange:y,onBlur:v,onFocus:b},w=mV[s.type]||kC;return E.createElement(w,{...S,...s,controlType:s.type})},"ArgControl"),vV=G.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:ra({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),bV=_(({tags:e})=>{const t=(e.params||[]).filter(s=>s.description),n=t.length!==0,o=e.deprecated!=null,i=e.returns!=null&&e.returns.description!=null;return!n&&!i&&!o?null:E.createElement(E.Fragment,null,E.createElement(vV,null,E.createElement("tbody",null,o&&E.createElement("tr",{key:"deprecated"},E.createElement("td",{colSpan:2},E.createElement("strong",null,"Deprecated"),": ",e.deprecated?.toString())),n&&t.map(s=>E.createElement("tr",{key:s.name},E.createElement("td",null,E.createElement("code",null,s.name)),E.createElement("td",null,s.description))),i&&E.createElement("tr",{key:"returns"},E.createElement("td",null,E.createElement("code",null,"Returns")),E.createElement("td",null,e.returns?.description)))))},"ArgJsDoc");function sF(e){return Array.from(new Set(e))}_(sF,"uniq");var EV=JM(rU()),R0=8,zC=G.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),SV=G.span(ra,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),AV=G.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),CV=G.div(ra,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),wV=G.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),xV=G(z$)({marginLeft:4}),DV=G(w3)({marginLeft:4}),_V=_(()=>E.createElement("span",null,"-"),"EmptyArg"),uF=_(({text:e,simple:t})=>E.createElement(SV,{simple:t},e),"ArgText"),OV=(0,EV.default)(1e3)(e=>{const t=e.split(/\r?\n/);return`${Math.max(...t.map(n=>n.length))}ch`}),TV=_(e=>{if(!e)return[e];const n=e.split("|").map(o=>o.trim());return sF(n)},"getSummaryItems"),jC=_((e,t=!0)=>{let n=e;return t||(n=e.slice(0,R0)),n.map(o=>E.createElement(uF,{key:o,text:o===""?'""':o}))},"renderSummaryItems"),RV=_(({value:e,initialExpandedArgs:t})=>{const{summary:n,detail:o}=e,[i,s]=C.useState(!1),[c,f]=C.useState(t||!1);if(n==null)return null;const p=typeof n.toString=="function"?n.toString():n;if(o==null){if(/[(){}[\]<>]/.test(p))return E.createElement(uF,{text:p});const y=TV(p),v=y.length;return v>R0?E.createElement(zC,{isExpanded:c},jC(y,c),E.createElement(AV,{onClick:()=>f(!c)},c?"Show less...":`Show ${v-R0} more...`)):E.createElement(zC,null,jC(y))}return E.createElement(bR,{closeOnOutsideClick:!0,placement:"bottom",visible:i,onVisibleChange:h=>{s(h)},tooltip:E.createElement(wV,{width:OV(o)},E.createElement(yu,{language:"jsx",format:!1},o))},E.createElement(CV,{className:"sbdocs-expandable"},E.createElement("span",null,p),i?E.createElement(xV,null):E.createElement(DV,null)))},"ArgSummary"),Yg=_(({value:e,initialExpandedArgs:t})=>e==null?E.createElement(_V,null):E.createElement(RV,{value:e,initialExpandedArgs:t}),"ArgValue"),FV=G.span({fontWeight:"bold"}),BV=G.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),MV=G.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ra({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),LV=G.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?et(.1,e.color.defaultText):et(.2,e.color.defaultText),marginTop:t?4:0})),NV=G.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?et(.1,e.color.defaultText):et(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),kV=G.td(({expandable:e})=>({paddingLeft:e?"40px !important":"20px !important"})),zV=_(e=>e&&{summary:typeof e=="string"?e:e.name},"toSummary"),Xc=_(e=>{const[t,n]=C.useState(!1),{row:o,updateArgs:i,compact:s,expandable:c,initialExpandedArgs:f}=e,{name:p,description:h}=o,y=o.table||{},v=y.type||zV(o.type),b=y.defaultValue||o.defaultValue,S=o.type?.required,w=h!=null&&h!=="";return E.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},E.createElement(kV,{expandable:c??!1},E.createElement(FV,null,p),S?E.createElement(BV,{title:"Required"},"*"):null),s?null:E.createElement("td",null,w&&E.createElement(MV,null,E.createElement(P4,null,h)),y.jsDocTags!=null?E.createElement(E.Fragment,null,E.createElement(NV,{hasDescription:w},E.createElement(Yg,{value:v,initialExpandedArgs:f})),E.createElement(bV,{tags:y.jsDocTags})):E.createElement(LV,{hasDescription:w},E.createElement(Yg,{value:v,initialExpandedArgs:f}))),s?null:E.createElement("td",null,E.createElement(Yg,{value:b,initialExpandedArgs:f})),i?E.createElement("td",null,E.createElement(yV,{...e,isHovered:t})):null)},"ArgRow"),jV=G.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content})),$V=G.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),PV=_(({inAddonPanel:e})=>{const[t,n]=C.useState(!0);return C.useEffect(()=>{const o=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(o)},[]),t?null:E.createElement(jV,{inAddonPanel:e},E.createElement($d,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:E.createElement(E.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:E.createElement($V,null,e&&E.createElement(E.Fragment,null,E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Read docs")),!e&&E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Learn how to set that up"))}))},"Empty"),IV=G(k$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?et(.25,e.color.defaultText):et(.3,e.color.defaultText),border:"none",display:"inline-block"})),HV=G(C3)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?et(.25,e.color.defaultText):et(.3,e.color.defaultText),border:"none",display:"inline-block"})),UV=G.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),qV=G.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?et(.4,e.color.defaultText):et(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),GV=G.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),VV=G.td({position:"relative"}),YV=G.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${So(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),$C=G.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),Wg=_(({level:e="section",label:t,children:n,initialExpanded:o=!0,colSpan:i=3})=>{const[s,c]=C.useState(o),f=e==="subsection"?GV:qV,p=n?.length||0,h=e==="subsection"?`${p} item${p!==1?"s":""}`:"",y=`${s?"Hide":"Show"} ${e==="subsection"?p:t} item${p!==1?"s":""}`;return E.createElement(E.Fragment,null,E.createElement(YV,{title:y},E.createElement(f,{colSpan:1},E.createElement($C,{onClick:v=>c(!s),tabIndex:0},y),E.createElement(UV,null,s?E.createElement(IV,null):E.createElement(HV,null),t)),E.createElement(VV,{colSpan:i-1},E.createElement($C,{onClick:v=>c(!s),tabIndex:-1,style:{outline:"none"}},y),s?null:h)),s?n:null)},"SectionRow"),WV=G.div(({theme:e})=>({width:"100%",borderSpacing:0,color:e.color.defaultText})),Zc=G.div(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),jt=G.div(({position:e,theme:t})=>{const n={display:"flex",flexDirection:"column",gap:5,padding:"10px 15px",alignItems:"flex-start"};switch(e){case"first":return{...n,width:"25%",paddingLeft:20};case"second":return{...n,width:"35%"};case"third":return{...n,width:"15%"};case"last":return{...n,width:"25%",paddingRight:20}}}),At=G.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),KV=_(()=>E.createElement(WV,null,E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"})))),"Skeleton"),XV=G.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?et(.25,e.color.defaultText):et(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),ZV=G.div({position:"relative"}),JV=G.div({position:"absolute",right:8,top:6}),QV={alpha:_((e,t)=>(e.name??"").localeCompare(t.name??""),"alpha"),requiredFirst:_((e,t)=>+!!t.type?.required-+!!e.type?.required||(e.name??"").localeCompare(t.name??""),"requiredFirst"),none:null},eY=_((e,t)=>{const n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([c,f])=>{const{category:p,subcategory:h}=f?.table||{};if(p){const y=n.sections[p]||{ungrouped:[],subsections:{}};if(!h)y.ungrouped.push({key:c,...f});else{const v=y.subsections[h]||[];v.push({key:c,...f}),y.subsections[h]=v}n.sections[p]=y}else if(h){const y=n.ungroupedSubsections[h]||[];y.push({key:c,...f}),n.ungroupedSubsections[h]=y}else n.ungrouped.push({key:c,...f})});const o=QV[t],i=_(c=>o?Object.keys(c).reduce((f,p)=>({...f,[p]:c[p].sort(o)}),{}):c,"sortSubsection");return{ungrouped:o?n.ungrouped.sort(o):n.ungrouped,ungroupedSubsections:i(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((c,f)=>({...c,[f]:{ungrouped:o?n.sections[f].ungrouped.sort(o):n.sections[f].ungrouped,subsections:i(n.sections[f].subsections)}}),{})}},"groupRows"),tY=_((e,t,n)=>{try{return E_(e,t,n)}catch(o){return nU.warn(o.message),!1}},"safeIncludeConditionalArg"),F0=_(e=>{const{updateArgs:t,resetArgs:n,compact:o,inAddonPanel:i,initialExpandedArgs:s,sort:c="none",isLoading:f}=e;if("error"in e){const{error:R}=e;return E.createElement(r4,null,R," ",E.createElement(tu,{href:"http://storybook.js.org/docs/?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Read the docs"))}if(f)return E.createElement(KV,null);const{rows:p,args:h,globals:y}="rows"in e?e:{rows:void 0,args:void 0,globals:void 0},v=eY(c4(p||{},R=>!R?.table?.disable&&tY(R,h||{},y||{})),c),b=v.ungrouped.length===0,S=Object.entries(v.sections).length===0,w=Object.entries(v.ungroupedSubsections).length===0;if(b&&S&&w)return E.createElement(PV,{inAddonPanel:i});let x=1;t&&(x+=1),o||(x+=2);const O=Object.keys(v.sections).length>0,A={updateArgs:t,compact:o,inAddonPanel:i,initialExpandedArgs:s};return E.createElement(ov,null,E.createElement(ZV,null,t&&!f&&n&&E.createElement(JV,null,E.createElement(Kn,{onClick:()=>n(),"aria-label":"Reset controls",title:"Reset controls"},E.createElement(j$,null))),E.createElement(XV,{compact:o,inAddonPanel:i,className:"docblock-argstable sb-unstyled"},E.createElement("thead",{className:"docblock-argstable-head"},E.createElement("tr",null,E.createElement("th",null,E.createElement("span",null,"Name")),o?null:E.createElement("th",null,E.createElement("span",null,"Description")),o?null:E.createElement("th",null,E.createElement("span",null,"Default")),t?E.createElement("th",null,E.createElement("span",null,"Control")):null)),E.createElement("tbody",{className:"docblock-argstable-body"},v.ungrouped.map(R=>E.createElement(Xc,{key:R.key,row:R,arg:h&&h[R.key],...A})),Object.entries(v.ungroupedSubsections).map(([R,T])=>E.createElement(Wg,{key:R,label:R,level:"subsection",colSpan:x},T.map(F=>E.createElement(Xc,{key:F.key,row:F,arg:h&&h[F.key],expandable:O,...A})))),Object.entries(v.sections).map(([R,T])=>E.createElement(Wg,{key:R,label:R,level:"section",colSpan:x},T.ungrouped.map(F=>E.createElement(Xc,{key:F.key,row:F,arg:h&&h[F.key],...A})),Object.entries(T.subsections).map(([F,N])=>E.createElement(Wg,{key:F,label:F,level:"subsection",colSpan:x},N.map(L=>E.createElement(Xc,{key:L.key,row:L,arg:h&&h[L.key],expandable:O,...A}))))))))))},"ArgsTable"),rY=_(e=>`anchor--${e}`,"anchorBlockIdFromId"),nY=_(({storyId:e,children:t})=>E.createElement("div",{id:rY(e),className:"sb-anchor"},t),"Anchor");const{filterArgTypes:zX}=__STORYBOOK_MODULE_PREVIEW_API__;var qo=_((e,t)=>C.useContext(nn).resolveOf(e,t),"useOf"),aY=_(e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),"titleCase"),oY=_(e=>{if(e)return typeof e=="string"?e.includes("-")?aY(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name},"getComponentName");function cF(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}_(cF,"scrollToElement");function fF(e,t){const{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}_(fF,"extractComponentArgTypes");function iY(e){if(e.type==="component"){const{component:s,projectAnnotations:{parameters:c}}=e;return{argTypes:fF(s,c),parameters:c,component:s}}if(e.type==="meta"){const{preparedMeta:{argTypes:s,parameters:c,component:f,subcomponents:p}}=e;return{argTypes:s,parameters:c,component:f,subcomponents:p}}const{story:{argTypes:t,parameters:n,component:o,subcomponents:i}}=e;return{argTypes:t,parameters:n,component:o,subcomponents:i}}_(iY,"getArgTypesFromResolved");var lY=Object.create,dF=Object.defineProperty,sY=Object.getOwnPropertyDescriptor,pF=Object.getOwnPropertyNames,uY=Object.getPrototypeOf,cY=Object.prototype.hasOwnProperty,Ae=_((e,t)=>_(function(){return t||(0,e[pF(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),fY=_((e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pF(t))!cY.call(e,i)&&i!==n&&dF(e,i,{get:_(()=>t[i],"get"),enumerable:!(o=sY(t,i))||o.enumerable});return e},"__copyProps"),Gv=_((e,t,n)=>(n=e!=null?lY(uY(e)):{},fY(t||!e||!e.__esModule?dF(n,"default",{value:e,enumerable:!0}):n,e)),"__toESM"),dY=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],pY=["detail"];function hF(e){const t=dY.filter(n=>e[n]!==void 0).reduce((n,o)=>(n[o]=e[o],n),{});if(e instanceof CustomEvent)for(const n of pY.filter(o=>e[o]!==void 0))t[n]=e[n];return t}_(hF,"extractEventHiddenProperties");var gF=Ae({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),hY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),gY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),mY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),yY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),vY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Vv=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),bY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),EY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),SY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),AY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),CY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),wY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),xY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),DY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||_(function(o){return o!==o},"isNaN2")}}),_Y=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var n=DY();t.exports=_(function(i){return n(i)||i===0?i:i<0?-1:1},"sign")}}),OY=Ae({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Yv=Ae({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var n=OY();if(n)try{n([],"length")}catch{n=null}t.exports=n}}),TY=Ae({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}}),mF=Ae({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=_(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var o={},i=Symbol("test"),s=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var c=42;o[i]=c;for(var f in o)return!1;if(typeof Object.keys=="function"&&Object.keys(o).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(o).length!==0)return!1;var p=Object.getOwnPropertySymbols(o);if(p.length!==1||p[0]!==i||!Object.prototype.propertyIsEnumerable.call(o,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(o,i);if(h.value!==c||h.enumerable!==!0)return!1}return!0},"hasSymbols")}}),yF=Ae({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<"u"&&Symbol,o=mF();t.exports=_(function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),vF=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),bF=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var n=gF();t.exports=n.getPrototypeOf||null}}),RY=Ae({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var n="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,i=Math.max,s="[object Function]",c=_(function(y,v){for(var b=[],S=0;S<y.length;S+=1)b[S]=y[S];for(var w=0;w<v.length;w+=1)b[w+y.length]=v[w];return b},"concatty2"),f=_(function(y,v){for(var b=[],S=v||0,w=0;S<y.length;S+=1,w+=1)b[w]=y[S];return b},"slicy2"),p=_(function(h,y){for(var v="",b=0;b<h.length;b+=1)v+=h[b],b+1<h.length&&(v+=y);return v},"joiny");t.exports=_(function(y){var v=this;if(typeof v!="function"||o.apply(v)!==s)throw new TypeError(n+v);for(var b=f(arguments,1),S,w=_(function(){if(this instanceof S){var T=v.apply(this,c(b,arguments));return Object(T)===T?T:this}return v.apply(y,c(b,arguments))},"binder"),x=i(0,v.length-b.length),O=[],A=0;A<x;A++)O[A]="$"+A;if(S=Function("binder","return function ("+p(O,",")+"){ return binder.apply(this,arguments); }")(w),v.prototype){var R=_(function(){},"Empty2");R.prototype=v.prototype,S.prototype=new R,R.prototype=null}return S},"bind")}}),Gd=Ae({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var n=RY();t.exports=Function.prototype.bind||n}}),Wv=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),EF=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),FY=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),BY=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var n=Gd(),o=EF(),i=Wv(),s=FY();t.exports=s||n.call(i,o)}}),SF=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var n=Gd(),o=Vv(),i=Wv(),s=BY();t.exports=_(function(f){if(f.length<1||typeof f[0]!="function")throw new o("a function is required");return s(n,i,f)},"callBindBasic")}}),MY=Ae({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var n=SF(),o=Yv(),i;try{i=[].__proto__===Array.prototype}catch(p){if(!p||typeof p!="object"||!("code"in p)||p.code!=="ERR_PROTO_ACCESS")throw p}var s=!!i&&o&&o(Object.prototype,"__proto__"),c=Object,f=c.getPrototypeOf;t.exports=s&&typeof s.get=="function"?n([s.get]):typeof f=="function"?_(function(h){return f(h==null?h:c(h))},"getDunder"):!1}}),LY=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var n=vF(),o=bF(),i=MY();t.exports=n?_(function(c){return n(c)},"getProto"):o?_(function(c){if(!c||typeof c!="object"&&typeof c!="function")throw new TypeError("getProto: not an object");return o(c)},"getProto"):i?_(function(c){return i(c)},"getProto"):null}}),AF=Ae({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=Gd();t.exports=i.call(n,o)}}),NY=Ae({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var n,o=gF(),i=hY(),s=gY(),c=mY(),f=yY(),p=vY(),h=Vv(),y=bY(),v=EY(),b=SY(),S=AY(),w=CY(),x=wY(),O=xY(),A=_Y(),R=Function,T=_(function(Ke){try{return R('"use strict"; return ('+Ke+").constructor;")()}catch{}},"getEvalledConstructor"),F=Yv(),N=TY(),L=_(function(){throw new h},"throwTypeError"),B=F?(function(){try{return arguments.callee,L}catch{try{return F(arguments,"callee").get}catch{return L}}})():L,$=yF()(),P=LY(),I=bF(),U=vF(),Q=EF(),X=Wv(),z={},q=typeof Uint8Array>"u"||!P?n:P(Uint8Array),k={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":$&&P?P([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":R,"%GeneratorFunction%":z,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&P?P(P([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!P?n:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":F,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":c,"%ReferenceError%":f,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!P?n:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&P?P(""[Symbol.iterator]()):n,"%Symbol%":$?Symbol:n,"%SyntaxError%":p,"%ThrowTypeError%":B,"%TypedArray%":q,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":Q,"%Object.defineProperty%":N,"%Object.getPrototypeOf%":I,"%Math.abs%":v,"%Math.floor%":b,"%Math.max%":S,"%Math.min%":w,"%Math.pow%":x,"%Math.round%":O,"%Math.sign%":A,"%Reflect.getPrototypeOf%":U};if(P)try{null.error}catch(Ke){Y=P(P(Ke)),k["%Error.prototype%"]=Y}var Y,ae=_(function Ke(Re){var tt;if(Re==="%AsyncFunction%")tt=T("async function () {}");else if(Re==="%GeneratorFunction%")tt=T("function* () {}");else if(Re==="%AsyncGeneratorFunction%")tt=T("async function* () {}");else if(Re==="%AsyncGenerator%"){var Le=Ke("%AsyncGeneratorFunction%");Le&&(tt=Le.prototype)}else if(Re==="%AsyncIteratorPrototype%"){var Be=Ke("%AsyncGenerator%");Be&&P&&(tt=P(Be.prototype))}return k[Re]=tt,tt},"doEval2"),le={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ce=Gd(),j=AF(),W=ce.call(X,Array.prototype.concat),ne=ce.call(Q,Array.prototype.splice),ue=ce.call(X,String.prototype.replace),se=ce.call(X,String.prototype.slice),fe=ce.call(X,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fe=/\\(\\)?/g,De=_(function(Re){var tt=se(Re,0,1),Le=se(Re,-1);if(tt==="%"&&Le!=="%")throw new p("invalid intrinsic syntax, expected closing `%`");if(Le==="%"&&tt!=="%")throw new p("invalid intrinsic syntax, expected opening `%`");var Be=[];return ue(Re,pe,function(Ie,Nt,lt,Sr){Be[Be.length]=lt?ue(Sr,Fe,"$1"):Nt||Ie}),Be},"stringToPath3"),bt=_(function(Re,tt){var Le=Re,Be;if(j(le,Le)&&(Be=le[Le],Le="%"+Be[0]+"%"),j(k,Le)){var Ie=k[Le];if(Ie===z&&(Ie=ae(Le)),typeof Ie>"u"&&!tt)throw new h("intrinsic "+Re+" exists, but is not available. Please file an issue!");return{alias:Be,name:Le,value:Ie}}throw new p("intrinsic "+Re+" does not exist!")},"getBaseIntrinsic2");t.exports=_(function(Re,tt){if(typeof Re!="string"||Re.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof tt!="boolean")throw new h('"allowMissing" argument must be a boolean');if(fe(/^%?[^%]*%?$/,Re)===null)throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Le=De(Re),Be=Le.length>0?Le[0]:"",Ie=bt("%"+Be+"%",tt),Nt=Ie.name,lt=Ie.value,Sr=!1,Ot=Ie.alias;Ot&&(Be=Ot[0],ne(Le,W([0,1],Ot)));for(var sr=1,an=!0;sr<Le.length;sr+=1){var qt=Le[sr],st=se(qt,0,1),bn=se(qt,-1);if((st==='"'||st==="'"||st==="`"||bn==='"'||bn==="'"||bn==="`")&&st!==bn)throw new p("property names with quotes must have matching quotes");if((qt==="constructor"||!an)&&(Sr=!0),Be+="."+qt,Nt="%"+Be+"%",j(k,Nt))lt=k[Nt];else if(lt!=null){if(!(qt in lt)){if(!tt)throw new h("base intrinsic for "+Re+" exists, but the property is not available.");return}if(F&&sr+1>=Le.length){var on=F(lt,qt);an=!!on,an&&"get"in on&&!("originalValue"in on.get)?lt=on.get:lt=lt[qt]}else an=j(lt,qt),lt=lt[qt];an&&!Sr&&(k[Nt]=lt)}}return lt},"GetIntrinsic")}}),Kv=Ae({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var n=NY(),o=SF(),i=o([n("%String.prototype.indexOf%")]);t.exports=_(function(c,f){var p=n(c,!!f);return typeof p=="function"&&i(c,".prototype.")>-1?o([p]):p},"callBoundIntrinsic")}}),kY=Ae({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var n=mF();t.exports=_(function(){return n()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),CF=Ae({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var n=Kv(),o=kY()(),i=AF(),s=Yv(),c;o?(f=n("RegExp.prototype.exec"),p={},h=_(function(){throw p},"throwRegexMarker"),y={toString:h,valueOf:h},typeof Symbol.toPrimitive=="symbol"&&(y[Symbol.toPrimitive]=h),c=_(function(w){if(!w||typeof w!="object")return!1;var x=s(w,"lastIndex"),O=x&&i(x,"value");if(!O)return!1;try{f(w,y)}catch(A){return A===p}},"isRegex")):(v=n("Object.prototype.toString"),b="[object RegExp]",c=_(function(w){return!w||typeof w!="object"&&typeof w!="function"?!1:v(w)===b},"isRegex"));var f,p,h,y,v,b;t.exports=c}}),zY=Ae({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=o;var n=Object.prototype.toString;function o(i){if(!i)return!1;var s=n.call(i);return s==="[object Function]"||typeof i=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}_(o,"isFunction3")}}),jY=Ae({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var n=Kv(),o=CF(),i=n("RegExp.prototype.exec"),s=Vv();t.exports=_(function(f){if(!o(f))throw new s("`regex` must be a RegExp");return _(function(h){return i(f,h)!==null},"test")},"regexTester")}}),$Y=Ae({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var n=Kv(),o=n("Object.prototype.toString"),i=yF()(),s=jY();i?(c=n("Symbol.prototype.toString"),f=s(/^Symbol\(.*\)$/),p=_(function(y){return typeof y.valueOf()!="symbol"?!1:f(c(y))},"isRealSymbolObject"),t.exports=_(function(y){if(typeof y=="symbol")return!0;if(!y||typeof y!="object"||o(y)!=="[object Symbol]")return!1;try{return p(y)}catch{return!1}},"isSymbol3")):t.exports=_(function(y){return!1},"isSymbol3");var c,f,p}}),PY=Gv(CF()),IY=Gv(zY()),HY=Gv($Y());function wF(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}_(wF,"isObject");var UY=typeof global=="object"&&global&&global.Object===Object&&global,qY=UY,GY=typeof self=="object"&&self&&self.Object===Object&&self,VY=qY||GY||Function("return this")(),Xv=VY,YY=Xv.Symbol,vl=YY,xF=Object.prototype,WY=xF.hasOwnProperty,KY=xF.toString,xs=vl?vl.toStringTag:void 0;function DF(e){var t=WY.call(e,xs),n=e[xs];try{e[xs]=void 0;var o=!0}catch{}var i=KY.call(e);return o&&(t?e[xs]=n:delete e[xs]),i}_(DF,"getRawTag");var XY=DF,ZY=Object.prototype,JY=ZY.toString;function _F(e){return JY.call(e)}_(_F,"objectToString");var QY=_F,eW="[object Null]",tW="[object Undefined]",PC=vl?vl.toStringTag:void 0;function OF(e){return e==null?e===void 0?tW:eW:PC&&PC in Object(e)?XY(e):QY(e)}_(OF,"baseGetTag");var rW=OF,IC=vl?vl.prototype:void 0;IC&&IC.toString;function TF(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}_(TF,"isObject2");var RF=TF,nW="[object AsyncFunction]",aW="[object Function]",oW="[object GeneratorFunction]",iW="[object Proxy]";function FF(e){if(!RF(e))return!1;var t=rW(e);return t==aW||t==oW||t==nW||t==iW}_(FF,"isFunction");var lW=FF,sW=Xv["__core-js_shared__"],Kg=sW,HC=(function(){var e=/[^.]+$/.exec(Kg&&Kg.keys&&Kg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function BF(e){return!!HC&&HC in e}_(BF,"isMasked");var uW=BF,cW=Function.prototype,fW=cW.toString;function MF(e){if(e!=null){try{return fW.call(e)}catch{}try{return e+""}catch{}}return""}_(MF,"toSource");var dW=MF,pW=/[\\^$.*+?()[\]{}|]/g,hW=/^\[object .+?Constructor\]$/,gW=Function.prototype,mW=Object.prototype,yW=gW.toString,vW=mW.hasOwnProperty,bW=RegExp("^"+yW.call(vW).replace(pW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LF(e){if(!RF(e)||uW(e))return!1;var t=lW(e)?bW:hW;return t.test(dW(e))}_(LF,"baseIsNative");var EW=LF;function NF(e,t){return e?.[t]}_(NF,"getValue");var SW=NF;function kF(e,t){var n=SW(e,t);return EW(n)?n:void 0}_(kF,"getNative");var zF=kF;function jF(e,t){return e===t||e!==e&&t!==t}_(jF,"eq");var AW=jF,CW=zF(Object,"create"),au=CW;function $F(){this.__data__=au?au(null):{},this.size=0}_($F,"hashClear");var wW=$F;function PF(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}_(PF,"hashDelete");var xW=PF,DW="__lodash_hash_undefined__",_W=Object.prototype,OW=_W.hasOwnProperty;function IF(e){var t=this.__data__;if(au){var n=t[e];return n===DW?void 0:n}return OW.call(t,e)?t[e]:void 0}_(IF,"hashGet");var TW=IF,RW=Object.prototype,FW=RW.hasOwnProperty;function HF(e){var t=this.__data__;return au?t[e]!==void 0:FW.call(t,e)}_(HF,"hashHas");var BW=HF,MW="__lodash_hash_undefined__";function UF(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=au&&t===void 0?MW:t,this}_(UF,"hashSet");var LW=UF;function Go(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Go,"Hash");Go.prototype.clear=wW;Go.prototype.delete=xW;Go.prototype.get=TW;Go.prototype.has=BW;Go.prototype.set=LW;var UC=Go;function qF(){this.__data__=[],this.size=0}_(qF,"listCacheClear");var NW=qF;function GF(e,t){for(var n=e.length;n--;)if(AW(e[n][0],t))return n;return-1}_(GF,"assocIndexOf");var Vd=GF,kW=Array.prototype,zW=kW.splice;function VF(e){var t=this.__data__,n=Vd(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():zW.call(t,n,1),--this.size,!0}_(VF,"listCacheDelete");var jW=VF;function YF(e){var t=this.__data__,n=Vd(t,e);return n<0?void 0:t[n][1]}_(YF,"listCacheGet");var $W=YF;function WF(e){return Vd(this.__data__,e)>-1}_(WF,"listCacheHas");var PW=WF;function KF(e,t){var n=this.__data__,o=Vd(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}_(KF,"listCacheSet");var IW=KF;function Vo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Vo,"ListCache");Vo.prototype.clear=NW;Vo.prototype.delete=jW;Vo.prototype.get=$W;Vo.prototype.has=PW;Vo.prototype.set=IW;var HW=Vo,UW=zF(Xv,"Map"),qW=UW;function XF(){this.size=0,this.__data__={hash:new UC,map:new(qW||HW),string:new UC}}_(XF,"mapCacheClear");var GW=XF;function ZF(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}_(ZF,"isKeyable");var VW=ZF;function JF(e,t){var n=e.__data__;return VW(t)?n[typeof t=="string"?"string":"hash"]:n.map}_(JF,"getMapData");var Yd=JF;function QF(e){var t=Yd(this,e).delete(e);return this.size-=t?1:0,t}_(QF,"mapCacheDelete");var YW=QF;function eB(e){return Yd(this,e).get(e)}_(eB,"mapCacheGet");var WW=eB;function tB(e){return Yd(this,e).has(e)}_(tB,"mapCacheHas");var KW=tB;function rB(e,t){var n=Yd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}_(rB,"mapCacheSet");var XW=rB;function Yo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Yo,"MapCache");Yo.prototype.clear=GW;Yo.prototype.delete=YW;Yo.prototype.get=WW;Yo.prototype.has=KW;Yo.prototype.set=XW;var nB=Yo,ZW="Expected a function";function Wd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ZW);var n=_(function(){var o=arguments,i=t?t.apply(this,o):o[0],s=n.cache;if(s.has(i))return s.get(i);var c=e.apply(this,o);return n.cache=s.set(i,c)||s,c},"memoized");return n.cache=new(Wd.Cache||nB),n}_(Wd,"memoize");Wd.Cache=nB;var JW=Wd,QW=500;function aB(e){var t=JW(e,function(o){return n.size===QW&&n.clear(),o}),n=t.cache;return t}_(aB,"memoizeCapped");var eK=aB,tK=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rK=/\\(\\)?/g;eK(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tK,function(n,o,i,s){t.push(i?s.replace(rK,"$1"):o||n)}),t});var nK=wF,aK=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Zv(e){if(!nK(e))return e;let t=e,n=!1;return typeof Event<"u"&&e instanceof Event&&(t=hF(t),n=!0),t=Object.keys(t).reduce((o,i)=>{try{t[i]&&t[i].toJSON,o[i]=t[i]}catch{n=!0}return o},{}),n?t:e}_(Zv,"convertUnconventionalData");var oK=_(function(t){let n,o,i,s;return _(function(f,p){try{if(f==="")return s=[],n=new Map([[p,"[]"]]),o=new Map,i=[],p;const h=o.get(this)||this;for(;i.length&&h!==i[0];)i.shift(),s.pop();if(typeof p=="boolean")return p;if(p===void 0)return t.allowUndefined?"_undefined_":void 0;if(p===null)return null;if(typeof p=="number")return p===Number.NEGATIVE_INFINITY?"_-Infinity_":p===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(p)?"_NaN_":p;if(typeof p=="bigint")return`_bigint_${p.toString()}`;if(typeof p=="string")return aK.test(p)?t.allowDate?`_date_${p}`:void 0:p;if((0,PY.default)(p))return t.allowRegExp?`_regexp_${p.flags}|${p.source}`:void 0;if((0,IY.default)(p))return;if((0,HY.default)(p)){if(!t.allowSymbol)return;const v=Symbol.keyFor(p);return v!==void 0?`_gsymbol_${v}`:`_symbol_${p.toString().slice(7,-1)}`}if(i.length>=t.maxDepth)return Array.isArray(p)?`[Array(${p.length})]`:"[Object]";if(p===this)return`_duplicate_${JSON.stringify(s)}`;if(p instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...p.cause?{cause:p.cause}:{},...p,name:p.name,message:p.message,stack:p.stack,"_constructor-name_":p.constructor.name}};if(p?.constructor?.name&&p.constructor.name!=="Object"&&!Array.isArray(p)){const v=n.get(p);if(!v){const b={__isClassInstance__:!0,__className__:p.constructor.name,...Object.getOwnPropertyNames(p).reduce((S,w)=>{try{S[w]=p[w]}catch{}return S},{})};return s.push(f),i.unshift(b),n.set(p,JSON.stringify(s)),p!==b&&o.set(p,b),b}return`_duplicate_${v}`}const y=n.get(p);if(!y){const v=Array.isArray(p)?p:Zv(p);return s.push(f),i.unshift(v),n.set(p,JSON.stringify(s)),p!==v&&o.set(p,v),v}return`_duplicate_${y}`}catch{return}},"replace")},"replacer2"),iK={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},lK=_((e,t={})=>{const n={...iK,...t};return JSON.stringify(Zv(e),oK(n),t.space)},"stringify");function Jv(e){return lK(e,{maxDepth:50})}_(Jv,"argsHash");var oB=C.createContext({sources:{}}),iB="--unknown--",sK=_(({children:e,channel:t})=>{const[n,o]=C.useState({});return C.useEffect(()=>{const i=_((s,c=null,f=!1)=>{const{id:p,args:h=void 0,source:y,format:v}=typeof s=="string"?{id:s,source:c,format:f}:s,b=h?Jv(h):iB;o(S=>({...S,[p]:{...S[p],[b]:{code:y||"",format:v}}}))},"handleSnippetRendered");return t.on(Qg,i),()=>t.off(Qg,i)},[]),E.createElement(oB.Provider,{value:{sources:n}},e)},"SourceContainer");function lB(e,t,n){const[o,i]=C.useState("Transforming..."),s=t?t?.(e,n):e;return C.useEffect(()=>{async function c(){const f=await s;f!==o&&i(f)}_(c,"getTransformedCode"),c()}),typeof s=="object"&&typeof s.then=="function"?o:s}_(lB,"useTransformCode");var uK=_((e,t,n)=>{const{sources:o}=n,i=o?.[e];return i?.[Jv(t)]||i?.[iB]||{code:""}},"getStorySource"),cK=_(({snippet:e,storyContext:t,typeFromProps:n,transformFromProps:o})=>{const i=t.parameters??{},{__isArgsStory:s}=i,c=i.docs?.source||{},f=n||c.type||sg.AUTO,h=f===sg.DYNAMIC||f===sg.AUTO&&e&&s?e:c.originalSource||"",y=o??c.transform,v=y?lB(h,y,t):h;return c.code!==void 0?c.code:v},"useCode"),fK=_((e,t,n)=>{const{of:o}=e,i=C.useMemo(()=>{if(o)return t.resolveOf(o,["story"]).story;try{return t.storyById()}catch{}},[t,o]),s=i?t.getStoryContext(i):{},c=e.__forceInitialArgs?s.initialArgs:s.unmappedArgs,f=i?uK(i.id,c,n):null,p=cK({snippet:f?f.code:"",storyContext:{...s,args:c},typeFromProps:e.type,transformFromProps:e.transform});if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const h=i?.parameters?.docs?.source||{};let y=e.format;const v=e.language??h.language??"jsx",b=e.dark??h.dark??!1;return!e.code&&!i?{error:"Oh no! The source is not available."}:e.code?{code:e.code,format:y,language:v,dark:b}:(y=f?.format??!0,{code:p,format:y,language:v,dark:b})},"useSourceProps"),dK=_(e=>{const t=C.useContext(nn),n=C.useContext(oB),{of:o,source:i}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const{story:s}=qo(o||"story",["story"]),c=fK({...i,...o&&{of:o}},t,n),f=e.layout??s.parameters.layout??s.parameters.docs?.canvas?.layout??"padded",p=e.withToolbar??s.parameters.docs?.canvas?.withToolbar??!1,h=e.additionalActions??s.parameters.docs?.canvas?.additionalActions,y=e.sourceState??s.parameters.docs?.canvas?.sourceState??"hidden",v=e.className??s.parameters.docs?.canvas?.className,b=e.story?.inline??s.parameters?.docs?.story?.inline??!1;return E.createElement(v4,{withSource:y==="none"?void 0:c,isExpanded:y==="shown",withToolbar:p,additionalActions:h,className:v,layout:f,inline:b},E.createElement(BU,{of:o||s.moduleExport,meta:e.meta,...e.story}))},"Canvas");const{filterArgTypes:qC}=__STORYBOOK_MODULE_PREVIEW_API__,{RESET_STORY_ARGS:pK,STORY_ARGS_UPDATED:GC,UPDATE_STORY_ARGS:hK}=__STORYBOOK_MODULE_CORE_EVENTS__;var gK=_((e,t)=>{const n=mK(e,t);if(!n)throw new Error("No result when story was defined");return n},"useArgs"),mK=_((e,t)=>{const n=e?t.getStoryContext(e):{args:{}},{id:o}=e||{id:"none"},[i,s]=C.useState(n.args);C.useEffect(()=>{const p=_(h=>{h.storyId===o&&s(h.args)},"onArgsUpdated");return t.channel.on(GC,p),()=>t.channel.off(GC,p)},[o,t.channel]);const c=C.useCallback(p=>t.channel.emit(hK,{storyId:o,updatedArgs:p}),[o,t.channel]),f=C.useCallback(p=>t.channel.emit(pK,{storyId:o,argNames:p}),[o,t.channel]);return e&&[i,c,f]},"useArgsIfDefined");const{GLOBALS_UPDATED:VC}=__STORYBOOK_MODULE_CORE_EVENTS__;var yK=_((e,t)=>{const n=t.getStoryContext(e),[o,i]=C.useState(n.globals);return C.useEffect(()=>{const s=_(c=>{i(c.globals)},"onGlobalsUpdated");return t.channel.on(VC,s),()=>t.channel.off(VC,s)},[t.channel]),[o]},"useGlobals");function sB(e,t){const{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}_(sB,"extractComponentArgTypes");var vK=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const n=C.useContext(nn),{story:o}=n.resolveOf(t||"story",["story"]),{parameters:i,argTypes:s,component:c,subcomponents:f}=o,p=i.docs?.controls||{},h=e.include??p.include,y=e.exclude??p.exclude,v=e.sort??p.sort,[b,S,w]=gK(o,n),[x]=yK(o,n),O=qC(s,h,y);if(!(!!f&&Object.keys(f||{}).length>0))return Object.keys(O).length>0||Object.keys(b).length>0?E.createElement(F0,{rows:O,sort:v,args:b,globals:x,updateArgs:S,resetArgs:w}):null;const R=oY(c)||"Story",T=Object.fromEntries(Object.entries(f||{}).map(([N,L])=>[N,{rows:qC(sB(L,i),h,y),sort:v}])),F={[R]:{rows:O,sort:v},...T};return E.createElement(WU,{tabs:F,sort:v,args:b,globals:x,updateArgs:S,resetArgs:w})},"Controls");const{NAVIGATE_URL:bK}=__STORYBOOK_MODULE_CORE_EVENTS__;var{document:uB}=globalThis,cB=_(({className:e,children:t,...n})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return E.createElement(iv,null,t);const o=e&&e.split("-");return E.createElement(n4,{language:o&&o[1]||"text",format:!1,code:t,...n})},"CodeOrSourceMdx");function Kd(e,t){e.channel.emit(bK,t)}_(Kd,"navigate");var B0=RR.a,EK=_(({hash:e,children:t})=>{const n=C.useContext(nn);return E.createElement(B0,{href:e,target:"_self",onClick:o=>{const i=e.substring(1);uB.getElementById(i)&&Kd(n,e)}},t)},"AnchorInPage"),fB=_(e=>{const{href:t,target:n,children:o,...i}=e,s=C.useContext(nn);return!t||n==="_blank"||/^https?:\/\//.test(t)?E.createElement(B0,{...e}):t.startsWith("#")?E.createElement(EK,{hash:t},o):E.createElement(B0,{href:t,onClick:c=>{c.button===0&&!c.altKey&&!c.ctrlKey&&!c.metaKey&&!c.shiftKey&&(c.preventDefault(),Kd(s,c.currentTarget.getAttribute("href")||""))},target:n,...i},o)},"AnchorMdx"),dB=["h1","h2","h3","h4","h5","h6"],SK=dB.reduce((e,t)=>({...e,[t]:G(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),AK=G.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),CK=_(({as:e,id:t,children:n,...o})=>{const i=C.useContext(nn),s=SK[e],c=`#${t}`;return E.createElement(s,{id:t,...o},E.createElement(AK,{"aria-hidden":"true",href:c,tabIndex:-1,target:"_self",onClick:f=>{uB.getElementById(t)&&Kd(i,c)}},E.createElement(L$,null)),n)},"HeaderWithOcticonAnchor"),Qv=_(e=>{const{as:t,id:n,children:o,...i}=e;if(n)return E.createElement(CK,{as:t,id:n,...i},o);const s=t,{as:c,...f}=e;return E.createElement(s,{...nt(f,t)})},"HeaderMdx"),pB=dB.reduce((e,t)=>({...e,[t]:n=>E.createElement(Qv,{as:t,...n})}),{}),wK=_(e=>{if(!e.children)return null;if(typeof e.children!="string")throw new Error(ZM`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
809
+ ${So(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Yr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),oF=G.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),iV=G(oF)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),lV=G.div({display:"flex",alignItems:"center",width:"100%"});function iF(e){const t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}_(iF,"getNumberOfDecimalPlaces");var sV=_(({name:e,value:t,onChange:n,min:o=0,max:i=100,step:s=1,onBlur:c,onFocus:f,argType:p})=>{const h=_(S=>{n(mG(S.target.value))},"handleChange"),y=t!==void 0,v=C.useMemo(()=>iF(s),[s]),b=!!p?.table?.readonly;return E.createElement(lV,{"aria-readonly":b},E.createElement(oF,null,o),E.createElement(oV,{id:en(e),type:"range",disabled:b,onChange:h,name:e,min:o,max:i,step:s,onFocus:f,onBlur:c,value:t??o}),E.createElement(iV,{numberOFDecimalsPlaces:v,max:i},y?t.toFixed(v):"--"," / ",i))},"RangeControl"),uV=G.label({display:"flex"}),cV=G.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),fV=_(({name:e,value:t,onChange:n,onFocus:o,onBlur:i,maxLength:s,argType:c})=>{const f=_(S=>{n(S.target.value)},"handleChange"),p=!!c?.table?.readonly,[h,y]=C.useState(!1),v=C.useCallback(()=>{n(""),y(!0)},[y]);if(t===void 0)return E.createElement(Xa,{variant:"outline",size:"medium",disabled:p,id:gd(e),onClick:v},"Set string");const b=typeof t=="string";return E.createElement(uV,null,E.createElement(xl.Textarea,{id:en(e),maxLength:s,onChange:f,disabled:p,size:"flex",placeholder:"Edit string...",autoFocus:h,valid:b?void 0:"error",name:e,value:b?t:"",onFocus:o,onBlur:i}),s&&E.createElement(cV,{isMaxed:t?.length===s},t?.length??0," / ",s))},"TextControl"),dV=G(xl.Input)({padding:10});function lF(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}_(lF,"revokeOldUrls");var pV=_(({onChange:e,name:t,accept:n="image/*",value:o,argType:i})=>{const s=C.useRef(null),c=i?.control?.readOnly;function f(p){if(!p.target.files)return;const h=Array.from(p.target.files).map(y=>URL.createObjectURL(y));e(h),lF(o||[])}return _(f,"handleFileChange"),C.useEffect(()=>{o==null&&s.current&&(s.current.value="")},[o,t]),E.createElement(dV,{ref:s,id:en(t),type:"file",name:t,multiple:!0,disabled:c,onChange:f,accept:n,size:"flex"})},"FilesControl"),hV=C.lazy(()=>Ua(()=>import("./Color-64QXVMR3-B3Y5c9dl.js"),__vite__mapDeps([5,1,2,3]),import.meta.url)),gV=_(e=>E.createElement(C.Suspense,{fallback:E.createElement("div",null)},E.createElement(hV,{...e})),"ColorControl"),mV={array:NC,object:NC,boolean:sG,color:gV,date:hG,number:vG,check:ki,"inline-check":ki,radio:ki,"inline-radio":ki,select:ki,"multi-select":ki,range:sV,text:fV,file:pV},kC=_(()=>E.createElement(E.Fragment,null,"-"),"NoControl"),yV=_(({row:e,arg:t,updateArgs:n,isHovered:o})=>{const{key:i,control:s}=e,[c,f]=C.useState(!1),[p,h]=C.useState({value:t});C.useEffect(()=>{c||h({value:t})},[c,t]);const y=C.useCallback(x=>(h({value:x}),n({[i]:x}),x),[n,i]),v=C.useCallback(()=>f(!1),[]),b=C.useCallback(()=>f(!0),[]);if(!s||s.disable){const x=s?.disable!==!0&&e?.type?.name!=="function";return o&&x?E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},"Setup controls"):E.createElement(kC,null)}const S={name:i,argType:e,value:p.value,onChange:y,onBlur:v,onFocus:b},w=mV[s.type]||kC;return E.createElement(w,{...S,...s,controlType:s.type})},"ArgControl"),vV=G.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:ra({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),bV=_(({tags:e})=>{const t=(e.params||[]).filter(s=>s.description),n=t.length!==0,o=e.deprecated!=null,i=e.returns!=null&&e.returns.description!=null;return!n&&!i&&!o?null:E.createElement(E.Fragment,null,E.createElement(vV,null,E.createElement("tbody",null,o&&E.createElement("tr",{key:"deprecated"},E.createElement("td",{colSpan:2},E.createElement("strong",null,"Deprecated"),": ",e.deprecated?.toString())),n&&t.map(s=>E.createElement("tr",{key:s.name},E.createElement("td",null,E.createElement("code",null,s.name)),E.createElement("td",null,s.description))),i&&E.createElement("tr",{key:"returns"},E.createElement("td",null,E.createElement("code",null,"Returns")),E.createElement("td",null,e.returns?.description)))))},"ArgJsDoc");function sF(e){return Array.from(new Set(e))}_(sF,"uniq");var EV=JM(rU()),R0=8,zC=G.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),SV=G.span(ra,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),AV=G.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),CV=G.div(ra,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),wV=G.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),xV=G(z$)({marginLeft:4}),DV=G(w3)({marginLeft:4}),_V=_(()=>E.createElement("span",null,"-"),"EmptyArg"),uF=_(({text:e,simple:t})=>E.createElement(SV,{simple:t},e),"ArgText"),OV=(0,EV.default)(1e3)(e=>{const t=e.split(/\r?\n/);return`${Math.max(...t.map(n=>n.length))}ch`}),TV=_(e=>{if(!e)return[e];const n=e.split("|").map(o=>o.trim());return sF(n)},"getSummaryItems"),jC=_((e,t=!0)=>{let n=e;return t||(n=e.slice(0,R0)),n.map(o=>E.createElement(uF,{key:o,text:o===""?'""':o}))},"renderSummaryItems"),RV=_(({value:e,initialExpandedArgs:t})=>{const{summary:n,detail:o}=e,[i,s]=C.useState(!1),[c,f]=C.useState(t||!1);if(n==null)return null;const p=typeof n.toString=="function"?n.toString():n;if(o==null){if(/[(){}[\]<>]/.test(p))return E.createElement(uF,{text:p});const y=TV(p),v=y.length;return v>R0?E.createElement(zC,{isExpanded:c},jC(y,c),E.createElement(AV,{onClick:()=>f(!c)},c?"Show less...":`Show ${v-R0} more...`)):E.createElement(zC,null,jC(y))}return E.createElement(bR,{closeOnOutsideClick:!0,placement:"bottom",visible:i,onVisibleChange:h=>{s(h)},tooltip:E.createElement(wV,{width:OV(o)},E.createElement(yu,{language:"jsx",format:!1},o))},E.createElement(CV,{className:"sbdocs-expandable"},E.createElement("span",null,p),i?E.createElement(xV,null):E.createElement(DV,null)))},"ArgSummary"),Yg=_(({value:e,initialExpandedArgs:t})=>e==null?E.createElement(_V,null):E.createElement(RV,{value:e,initialExpandedArgs:t}),"ArgValue"),FV=G.span({fontWeight:"bold"}),BV=G.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),MV=G.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ra({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),LV=G.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?et(.1,e.color.defaultText):et(.2,e.color.defaultText),marginTop:t?4:0})),NV=G.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?et(.1,e.color.defaultText):et(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),kV=G.td(({expandable:e})=>({paddingLeft:e?"40px !important":"20px !important"})),zV=_(e=>e&&{summary:typeof e=="string"?e:e.name},"toSummary"),Xc=_(e=>{const[t,n]=C.useState(!1),{row:o,updateArgs:i,compact:s,expandable:c,initialExpandedArgs:f}=e,{name:p,description:h}=o,y=o.table||{},v=y.type||zV(o.type),b=y.defaultValue||o.defaultValue,S=o.type?.required,w=h!=null&&h!=="";return E.createElement("tr",{onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)},E.createElement(kV,{expandable:c??!1},E.createElement(FV,null,p),S?E.createElement(BV,{title:"Required"},"*"):null),s?null:E.createElement("td",null,w&&E.createElement(MV,null,E.createElement(P4,null,h)),y.jsDocTags!=null?E.createElement(E.Fragment,null,E.createElement(NV,{hasDescription:w},E.createElement(Yg,{value:v,initialExpandedArgs:f})),E.createElement(bV,{tags:y.jsDocTags})):E.createElement(LV,{hasDescription:w},E.createElement(Yg,{value:v,initialExpandedArgs:f}))),s?null:E.createElement("td",null,E.createElement(Yg,{value:b,initialExpandedArgs:f})),i?E.createElement("td",null,E.createElement(yV,{...e,isHovered:t})):null)},"ArgRow"),jV=G.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content})),$V=G.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),PV=_(({inAddonPanel:e})=>{const[t,n]=C.useState(!0);return C.useEffect(()=>{const o=setTimeout(()=>{n(!1)},100);return()=>clearTimeout(o)},[]),t?null:E.createElement(jV,{inAddonPanel:e},E.createElement($d,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:E.createElement(E.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:E.createElement($V,null,e&&E.createElement(E.Fragment,null,E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Read docs")),!e&&E.createElement(tu,{href:"https://storybook.js.org/docs/essentials/controls?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Learn how to set that up"))}))},"Empty"),IV=G(k$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?et(.25,e.color.defaultText):et(.3,e.color.defaultText),border:"none",display:"inline-block"})),HV=G(C3)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?et(.25,e.color.defaultText):et(.3,e.color.defaultText),border:"none",display:"inline-block"})),UV=G.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),qV=G.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?et(.4,e.color.defaultText):et(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),GV=G.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),VV=G.td({position:"relative"}),YV=G.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${So(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),$C=G.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),Wg=_(({level:e="section",label:t,children:n,initialExpanded:o=!0,colSpan:i=3})=>{const[s,c]=C.useState(o),f=e==="subsection"?GV:qV,p=n?.length||0,h=e==="subsection"?`${p} item${p!==1?"s":""}`:"",y=`${s?"Hide":"Show"} ${e==="subsection"?p:t} item${p!==1?"s":""}`;return E.createElement(E.Fragment,null,E.createElement(YV,{title:y},E.createElement(f,{colSpan:1},E.createElement($C,{onClick:v=>c(!s),tabIndex:0},y),E.createElement(UV,null,s?E.createElement(IV,null):E.createElement(HV,null),t)),E.createElement(VV,{colSpan:i-1},E.createElement($C,{onClick:v=>c(!s),tabIndex:-1,style:{outline:"none"}},y),s?null:h)),s?n:null)},"SectionRow"),WV=G.div(({theme:e})=>({width:"100%",borderSpacing:0,color:e.color.defaultText})),Zc=G.div(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),jt=G.div(({position:e,theme:t})=>{const n={display:"flex",flexDirection:"column",gap:5,padding:"10px 15px",alignItems:"flex-start"};switch(e){case"first":return{...n,width:"25%",paddingLeft:20};case"second":return{...n,width:"35%"};case"third":return{...n,width:"15%"};case"last":return{...n,width:"25%",paddingRight:20}}}),At=G.div(({theme:e,width:t,height:n})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:n||16,borderRadius:3})),KV=_(()=>E.createElement(WV,null,E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"}))),E.createElement(Zc,null,E.createElement(jt,{position:"first"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"second"},E.createElement(At,{width:"80%"}),E.createElement(At,{width:"30%"})),E.createElement(jt,{position:"third"},E.createElement(At,{width:"60%"})),E.createElement(jt,{position:"last"},E.createElement(At,{width:"60%"})))),"Skeleton"),XV=G.table(({theme:e,compact:t,inAddonPanel:n})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:n?0:25,marginBottom:n?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?et(.25,e.color.defaultText):et(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:n?0:1,marginRight:n?0:1,tbody:{...n?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...n?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),ZV=G.div({position:"relative"}),JV=G.div({position:"absolute",right:8,top:6}),QV={alpha:_((e,t)=>(e.name??"").localeCompare(t.name??""),"alpha"),requiredFirst:_((e,t)=>+!!t.type?.required-+!!e.type?.required||(e.name??"").localeCompare(t.name??""),"requiredFirst"),none:null},eY=_((e,t)=>{const n={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return n;Object.entries(e).forEach(([c,f])=>{const{category:p,subcategory:h}=f?.table||{};if(p){const y=n.sections[p]||{ungrouped:[],subsections:{}};if(!h)y.ungrouped.push({key:c,...f});else{const v=y.subsections[h]||[];v.push({key:c,...f}),y.subsections[h]=v}n.sections[p]=y}else if(h){const y=n.ungroupedSubsections[h]||[];y.push({key:c,...f}),n.ungroupedSubsections[h]=y}else n.ungrouped.push({key:c,...f})});const o=QV[t],i=_(c=>o?Object.keys(c).reduce((f,p)=>({...f,[p]:c[p].sort(o)}),{}):c,"sortSubsection");return{ungrouped:o?n.ungrouped.sort(o):n.ungrouped,ungroupedSubsections:i(n.ungroupedSubsections),sections:Object.keys(n.sections).reduce((c,f)=>({...c,[f]:{ungrouped:o?n.sections[f].ungrouped.sort(o):n.sections[f].ungrouped,subsections:i(n.sections[f].subsections)}}),{})}},"groupRows"),tY=_((e,t,n)=>{try{return E_(e,t,n)}catch(o){return nU.warn(o.message),!1}},"safeIncludeConditionalArg"),F0=_(e=>{const{updateArgs:t,resetArgs:n,compact:o,inAddonPanel:i,initialExpandedArgs:s,sort:c="none",isLoading:f}=e;if("error"in e){const{error:R}=e;return E.createElement(r4,null,R," ",E.createElement(tu,{href:"http://storybook.js.org/docs/?ref=ui",target:"_blank",withArrow:!0},E.createElement(s0,null)," Read the docs"))}if(f)return E.createElement(KV,null);const{rows:p,args:h,globals:y}="rows"in e?e:{rows:void 0,args:void 0,globals:void 0},v=eY(c4(p||{},R=>!R?.table?.disable&&tY(R,h||{},y||{})),c),b=v.ungrouped.length===0,S=Object.entries(v.sections).length===0,w=Object.entries(v.ungroupedSubsections).length===0;if(b&&S&&w)return E.createElement(PV,{inAddonPanel:i});let x=1;t&&(x+=1),o||(x+=2);const O=Object.keys(v.sections).length>0,A={updateArgs:t,compact:o,inAddonPanel:i,initialExpandedArgs:s};return E.createElement(ov,null,E.createElement(ZV,null,t&&!f&&n&&E.createElement(JV,null,E.createElement(Kn,{onClick:()=>n(),"aria-label":"Reset controls",title:"Reset controls"},E.createElement(j$,null))),E.createElement(XV,{compact:o,inAddonPanel:i,className:"docblock-argstable sb-unstyled"},E.createElement("thead",{className:"docblock-argstable-head"},E.createElement("tr",null,E.createElement("th",null,E.createElement("span",null,"Name")),o?null:E.createElement("th",null,E.createElement("span",null,"Description")),o?null:E.createElement("th",null,E.createElement("span",null,"Default")),t?E.createElement("th",null,E.createElement("span",null,"Control")):null)),E.createElement("tbody",{className:"docblock-argstable-body"},v.ungrouped.map(R=>E.createElement(Xc,{key:R.key,row:R,arg:h&&h[R.key],...A})),Object.entries(v.ungroupedSubsections).map(([R,T])=>E.createElement(Wg,{key:R,label:R,level:"subsection",colSpan:x},T.map(F=>E.createElement(Xc,{key:F.key,row:F,arg:h&&h[F.key],expandable:O,...A})))),Object.entries(v.sections).map(([R,T])=>E.createElement(Wg,{key:R,label:R,level:"section",colSpan:x},T.ungrouped.map(F=>E.createElement(Xc,{key:F.key,row:F,arg:h&&h[F.key],...A})),Object.entries(T.subsections).map(([F,N])=>E.createElement(Wg,{key:F,label:F,level:"subsection",colSpan:x},N.map(L=>E.createElement(Xc,{key:L.key,row:L,arg:h&&h[L.key],expandable:O,...A}))))))))))},"ArgsTable"),rY=_(e=>`anchor--${e}`,"anchorBlockIdFromId"),nY=_(({storyId:e,children:t})=>E.createElement("div",{id:rY(e),className:"sb-anchor"},t),"Anchor");const{filterArgTypes:zX}=__STORYBOOK_MODULE_PREVIEW_API__;var qo=_((e,t)=>C.useContext(nn).resolveOf(e,t),"useOf"),aY=_(e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),"titleCase"),oY=_(e=>{if(e)return typeof e=="string"?e.includes("-")?aY(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name},"getComponentName");function cF(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}_(cF,"scrollToElement");function fF(e,t){const{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}_(fF,"extractComponentArgTypes");function iY(e){if(e.type==="component"){const{component:s,projectAnnotations:{parameters:c}}=e;return{argTypes:fF(s,c),parameters:c,component:s}}if(e.type==="meta"){const{preparedMeta:{argTypes:s,parameters:c,component:f,subcomponents:p}}=e;return{argTypes:s,parameters:c,component:f,subcomponents:p}}const{story:{argTypes:t,parameters:n,component:o,subcomponents:i}}=e;return{argTypes:t,parameters:n,component:o,subcomponents:i}}_(iY,"getArgTypesFromResolved");var lY=Object.create,dF=Object.defineProperty,sY=Object.getOwnPropertyDescriptor,pF=Object.getOwnPropertyNames,uY=Object.getPrototypeOf,cY=Object.prototype.hasOwnProperty,Ae=_((e,t)=>_(function(){return t||(0,e[pF(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),fY=_((e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pF(t))!cY.call(e,i)&&i!==n&&dF(e,i,{get:_(()=>t[i],"get"),enumerable:!(o=sY(t,i))||o.enumerable});return e},"__copyProps"),Gv=_((e,t,n)=>(n=e!=null?lY(uY(e)):{},fY(t||!e||!e.__esModule?dF(n,"default",{value:e,enumerable:!0}):n,e)),"__toESM"),dY=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],pY=["detail"];function hF(e){const t=dY.filter(n=>e[n]!==void 0).reduce((n,o)=>(n[o]=e[o],n),{});if(e instanceof CustomEvent)for(const n of pY.filter(o=>e[o]!==void 0))t[n]=e[n];return t}_(hF,"extractEventHiddenProperties");var gF=Ae({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),hY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),gY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),mY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),yY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),vY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Vv=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),bY=Ae({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),EY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),SY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),AY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),CY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),wY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),xY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),DY=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||_(function(o){return o!==o},"isNaN2")}}),_Y=Ae({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var n=DY();t.exports=_(function(i){return n(i)||i===0?i:i<0?-1:1},"sign")}}),OY=Ae({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Yv=Ae({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var n=OY();if(n)try{n([],"length")}catch{n=null}t.exports=n}}),TY=Ae({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}}),mF=Ae({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=_(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var o={},i=Symbol("test"),s=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var c=42;o[i]=c;for(var f in o)return!1;if(typeof Object.keys=="function"&&Object.keys(o).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(o).length!==0)return!1;var p=Object.getOwnPropertySymbols(o);if(p.length!==1||p[0]!==i||!Object.prototype.propertyIsEnumerable.call(o,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(o,i);if(h.value!==c||h.enumerable!==!0)return!1}return!0},"hasSymbols")}}),yF=Ae({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<"u"&&Symbol,o=mF();t.exports=_(function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),vF=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),bF=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var n=gF();t.exports=n.getPrototypeOf||null}}),RY=Ae({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var n="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,i=Math.max,s="[object Function]",c=_(function(y,v){for(var b=[],S=0;S<y.length;S+=1)b[S]=y[S];for(var w=0;w<v.length;w+=1)b[w+y.length]=v[w];return b},"concatty2"),f=_(function(y,v){for(var b=[],S=v||0,w=0;S<y.length;S+=1,w+=1)b[w]=y[S];return b},"slicy2"),p=_(function(h,y){for(var v="",b=0;b<h.length;b+=1)v+=h[b],b+1<h.length&&(v+=y);return v},"joiny");t.exports=_(function(y){var v=this;if(typeof v!="function"||o.apply(v)!==s)throw new TypeError(n+v);for(var b=f(arguments,1),S,w=_(function(){if(this instanceof S){var T=v.apply(this,c(b,arguments));return Object(T)===T?T:this}return v.apply(y,c(b,arguments))},"binder"),x=i(0,v.length-b.length),O=[],A=0;A<x;A++)O[A]="$"+A;if(S=Function("binder","return function ("+p(O,",")+"){ return binder.apply(this,arguments); }")(w),v.prototype){var R=_(function(){},"Empty2");R.prototype=v.prototype,S.prototype=new R,R.prototype=null}return S},"bind")}}),Gd=Ae({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var n=RY();t.exports=Function.prototype.bind||n}}),Wv=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),EF=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),FY=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),BY=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var n=Gd(),o=EF(),i=Wv(),s=FY();t.exports=s||n.call(i,o)}}),SF=Ae({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var n=Gd(),o=Vv(),i=Wv(),s=BY();t.exports=_(function(f){if(f.length<1||typeof f[0]!="function")throw new o("a function is required");return s(n,i,f)},"callBindBasic")}}),MY=Ae({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var n=SF(),o=Yv(),i;try{i=[].__proto__===Array.prototype}catch(p){if(!p||typeof p!="object"||!("code"in p)||p.code!=="ERR_PROTO_ACCESS")throw p}var s=!!i&&o&&o(Object.prototype,"__proto__"),c=Object,f=c.getPrototypeOf;t.exports=s&&typeof s.get=="function"?n([s.get]):typeof f=="function"?_(function(h){return f(h==null?h:c(h))},"getDunder"):!1}}),LY=Ae({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var n=vF(),o=bF(),i=MY();t.exports=n?_(function(c){return n(c)},"getProto"):o?_(function(c){if(!c||typeof c!="object"&&typeof c!="function")throw new TypeError("getProto: not an object");return o(c)},"getProto"):i?_(function(c){return i(c)},"getProto"):null}}),AF=Ae({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=Gd();t.exports=i.call(n,o)}}),NY=Ae({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var n,o=gF(),i=hY(),s=gY(),c=mY(),f=yY(),p=vY(),h=Vv(),y=bY(),v=EY(),b=SY(),S=AY(),w=CY(),x=wY(),O=xY(),A=_Y(),R=Function,T=_(function(Ke){try{return R('"use strict"; return ('+Ke+").constructor;")()}catch{}},"getEvalledConstructor"),F=Yv(),N=TY(),L=_(function(){throw new h},"throwTypeError"),B=F?(function(){try{return arguments.callee,L}catch{try{return F(arguments,"callee").get}catch{return L}}})():L,$=yF()(),P=LY(),I=bF(),U=vF(),Q=EF(),X=Wv(),z={},q=typeof Uint8Array>"u"||!P?n:P(Uint8Array),k={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":$&&P?P([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":z,"%AsyncGenerator%":z,"%AsyncGeneratorFunction%":z,"%AsyncIteratorPrototype%":z,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":R,"%GeneratorFunction%":z,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$&&P?P(P([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$||!P?n:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":F,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":c,"%ReferenceError%":f,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$||!P?n:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$&&P?P(""[Symbol.iterator]()):n,"%Symbol%":$?Symbol:n,"%SyntaxError%":p,"%ThrowTypeError%":B,"%TypedArray%":q,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":y,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":X,"%Function.prototype.apply%":Q,"%Object.defineProperty%":N,"%Object.getPrototypeOf%":I,"%Math.abs%":v,"%Math.floor%":b,"%Math.max%":S,"%Math.min%":w,"%Math.pow%":x,"%Math.round%":O,"%Math.sign%":A,"%Reflect.getPrototypeOf%":U};if(P)try{null.error}catch(Ke){Y=P(P(Ke)),k["%Error.prototype%"]=Y}var Y,ae=_(function Ke(Re){var tt;if(Re==="%AsyncFunction%")tt=T("async function () {}");else if(Re==="%GeneratorFunction%")tt=T("function* () {}");else if(Re==="%AsyncGeneratorFunction%")tt=T("async function* () {}");else if(Re==="%AsyncGenerator%"){var Le=Ke("%AsyncGeneratorFunction%");Le&&(tt=Le.prototype)}else if(Re==="%AsyncIteratorPrototype%"){var Be=Ke("%AsyncGenerator%");Be&&P&&(tt=P(Be.prototype))}return k[Re]=tt,tt},"doEval2"),le={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ce=Gd(),j=AF(),W=ce.call(X,Array.prototype.concat),ne=ce.call(Q,Array.prototype.splice),ue=ce.call(X,String.prototype.replace),se=ce.call(X,String.prototype.slice),fe=ce.call(X,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fe=/\\(\\)?/g,De=_(function(Re){var tt=se(Re,0,1),Le=se(Re,-1);if(tt==="%"&&Le!=="%")throw new p("invalid intrinsic syntax, expected closing `%`");if(Le==="%"&&tt!=="%")throw new p("invalid intrinsic syntax, expected opening `%`");var Be=[];return ue(Re,pe,function(Ie,Nt,lt,Sr){Be[Be.length]=lt?ue(Sr,Fe,"$1"):Nt||Ie}),Be},"stringToPath3"),bt=_(function(Re,tt){var Le=Re,Be;if(j(le,Le)&&(Be=le[Le],Le="%"+Be[0]+"%"),j(k,Le)){var Ie=k[Le];if(Ie===z&&(Ie=ae(Le)),typeof Ie>"u"&&!tt)throw new h("intrinsic "+Re+" exists, but is not available. Please file an issue!");return{alias:Be,name:Le,value:Ie}}throw new p("intrinsic "+Re+" does not exist!")},"getBaseIntrinsic2");t.exports=_(function(Re,tt){if(typeof Re!="string"||Re.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof tt!="boolean")throw new h('"allowMissing" argument must be a boolean');if(fe(/^%?[^%]*%?$/,Re)===null)throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Le=De(Re),Be=Le.length>0?Le[0]:"",Ie=bt("%"+Be+"%",tt),Nt=Ie.name,lt=Ie.value,Sr=!1,Ot=Ie.alias;Ot&&(Be=Ot[0],ne(Le,W([0,1],Ot)));for(var sr=1,an=!0;sr<Le.length;sr+=1){var qt=Le[sr],st=se(qt,0,1),bn=se(qt,-1);if((st==='"'||st==="'"||st==="`"||bn==='"'||bn==="'"||bn==="`")&&st!==bn)throw new p("property names with quotes must have matching quotes");if((qt==="constructor"||!an)&&(Sr=!0),Be+="."+qt,Nt="%"+Be+"%",j(k,Nt))lt=k[Nt];else if(lt!=null){if(!(qt in lt)){if(!tt)throw new h("base intrinsic for "+Re+" exists, but the property is not available.");return}if(F&&sr+1>=Le.length){var on=F(lt,qt);an=!!on,an&&"get"in on&&!("originalValue"in on.get)?lt=on.get:lt=lt[qt]}else an=j(lt,qt),lt=lt[qt];an&&!Sr&&(k[Nt]=lt)}}return lt},"GetIntrinsic")}}),Kv=Ae({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var n=NY(),o=SF(),i=o([n("%String.prototype.indexOf%")]);t.exports=_(function(c,f){var p=n(c,!!f);return typeof p=="function"&&i(c,".prototype.")>-1?o([p]):p},"callBoundIntrinsic")}}),kY=Ae({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var n=mF();t.exports=_(function(){return n()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),CF=Ae({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var n=Kv(),o=kY()(),i=AF(),s=Yv(),c;o?(f=n("RegExp.prototype.exec"),p={},h=_(function(){throw p},"throwRegexMarker"),y={toString:h,valueOf:h},typeof Symbol.toPrimitive=="symbol"&&(y[Symbol.toPrimitive]=h),c=_(function(w){if(!w||typeof w!="object")return!1;var x=s(w,"lastIndex"),O=x&&i(x,"value");if(!O)return!1;try{f(w,y)}catch(A){return A===p}},"isRegex")):(v=n("Object.prototype.toString"),b="[object RegExp]",c=_(function(w){return!w||typeof w!="object"&&typeof w!="function"?!1:v(w)===b},"isRegex"));var f,p,h,y,v,b;t.exports=c}}),zY=Ae({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=o;var n=Object.prototype.toString;function o(i){if(!i)return!1;var s=n.call(i);return s==="[object Function]"||typeof i=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}_(o,"isFunction3")}}),jY=Ae({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var n=Kv(),o=CF(),i=n("RegExp.prototype.exec"),s=Vv();t.exports=_(function(f){if(!o(f))throw new s("`regex` must be a RegExp");return _(function(h){return i(f,h)!==null},"test")},"regexTester")}}),$Y=Ae({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var n=Kv(),o=n("Object.prototype.toString"),i=yF()(),s=jY();i?(c=n("Symbol.prototype.toString"),f=s(/^Symbol\(.*\)$/),p=_(function(y){return typeof y.valueOf()!="symbol"?!1:f(c(y))},"isRealSymbolObject"),t.exports=_(function(y){if(typeof y=="symbol")return!0;if(!y||typeof y!="object"||o(y)!=="[object Symbol]")return!1;try{return p(y)}catch{return!1}},"isSymbol3")):t.exports=_(function(y){return!1},"isSymbol3");var c,f,p}}),PY=Gv(CF()),IY=Gv(zY()),HY=Gv($Y());function wF(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}_(wF,"isObject");var UY=typeof global=="object"&&global&&global.Object===Object&&global,qY=UY,GY=typeof self=="object"&&self&&self.Object===Object&&self,VY=qY||GY||Function("return this")(),Xv=VY,YY=Xv.Symbol,vl=YY,xF=Object.prototype,WY=xF.hasOwnProperty,KY=xF.toString,xs=vl?vl.toStringTag:void 0;function DF(e){var t=WY.call(e,xs),n=e[xs];try{e[xs]=void 0;var o=!0}catch{}var i=KY.call(e);return o&&(t?e[xs]=n:delete e[xs]),i}_(DF,"getRawTag");var XY=DF,ZY=Object.prototype,JY=ZY.toString;function _F(e){return JY.call(e)}_(_F,"objectToString");var QY=_F,eW="[object Null]",tW="[object Undefined]",PC=vl?vl.toStringTag:void 0;function OF(e){return e==null?e===void 0?tW:eW:PC&&PC in Object(e)?XY(e):QY(e)}_(OF,"baseGetTag");var rW=OF,IC=vl?vl.prototype:void 0;IC&&IC.toString;function TF(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}_(TF,"isObject2");var RF=TF,nW="[object AsyncFunction]",aW="[object Function]",oW="[object GeneratorFunction]",iW="[object Proxy]";function FF(e){if(!RF(e))return!1;var t=rW(e);return t==aW||t==oW||t==nW||t==iW}_(FF,"isFunction");var lW=FF,sW=Xv["__core-js_shared__"],Kg=sW,HC=(function(){var e=/[^.]+$/.exec(Kg&&Kg.keys&&Kg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function BF(e){return!!HC&&HC in e}_(BF,"isMasked");var uW=BF,cW=Function.prototype,fW=cW.toString;function MF(e){if(e!=null){try{return fW.call(e)}catch{}try{return e+""}catch{}}return""}_(MF,"toSource");var dW=MF,pW=/[\\^$.*+?()[\]{}|]/g,hW=/^\[object .+?Constructor\]$/,gW=Function.prototype,mW=Object.prototype,yW=gW.toString,vW=mW.hasOwnProperty,bW=RegExp("^"+yW.call(vW).replace(pW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LF(e){if(!RF(e)||uW(e))return!1;var t=lW(e)?bW:hW;return t.test(dW(e))}_(LF,"baseIsNative");var EW=LF;function NF(e,t){return e?.[t]}_(NF,"getValue");var SW=NF;function kF(e,t){var n=SW(e,t);return EW(n)?n:void 0}_(kF,"getNative");var zF=kF;function jF(e,t){return e===t||e!==e&&t!==t}_(jF,"eq");var AW=jF,CW=zF(Object,"create"),au=CW;function $F(){this.__data__=au?au(null):{},this.size=0}_($F,"hashClear");var wW=$F;function PF(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}_(PF,"hashDelete");var xW=PF,DW="__lodash_hash_undefined__",_W=Object.prototype,OW=_W.hasOwnProperty;function IF(e){var t=this.__data__;if(au){var n=t[e];return n===DW?void 0:n}return OW.call(t,e)?t[e]:void 0}_(IF,"hashGet");var TW=IF,RW=Object.prototype,FW=RW.hasOwnProperty;function HF(e){var t=this.__data__;return au?t[e]!==void 0:FW.call(t,e)}_(HF,"hashHas");var BW=HF,MW="__lodash_hash_undefined__";function UF(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=au&&t===void 0?MW:t,this}_(UF,"hashSet");var LW=UF;function Go(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Go,"Hash");Go.prototype.clear=wW;Go.prototype.delete=xW;Go.prototype.get=TW;Go.prototype.has=BW;Go.prototype.set=LW;var UC=Go;function qF(){this.__data__=[],this.size=0}_(qF,"listCacheClear");var NW=qF;function GF(e,t){for(var n=e.length;n--;)if(AW(e[n][0],t))return n;return-1}_(GF,"assocIndexOf");var Vd=GF,kW=Array.prototype,zW=kW.splice;function VF(e){var t=this.__data__,n=Vd(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():zW.call(t,n,1),--this.size,!0}_(VF,"listCacheDelete");var jW=VF;function YF(e){var t=this.__data__,n=Vd(t,e);return n<0?void 0:t[n][1]}_(YF,"listCacheGet");var $W=YF;function WF(e){return Vd(this.__data__,e)>-1}_(WF,"listCacheHas");var PW=WF;function KF(e,t){var n=this.__data__,o=Vd(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}_(KF,"listCacheSet");var IW=KF;function Vo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Vo,"ListCache");Vo.prototype.clear=NW;Vo.prototype.delete=jW;Vo.prototype.get=$W;Vo.prototype.has=PW;Vo.prototype.set=IW;var HW=Vo,UW=zF(Xv,"Map"),qW=UW;function XF(){this.size=0,this.__data__={hash:new UC,map:new(qW||HW),string:new UC}}_(XF,"mapCacheClear");var GW=XF;function ZF(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}_(ZF,"isKeyable");var VW=ZF;function JF(e,t){var n=e.__data__;return VW(t)?n[typeof t=="string"?"string":"hash"]:n.map}_(JF,"getMapData");var Yd=JF;function QF(e){var t=Yd(this,e).delete(e);return this.size-=t?1:0,t}_(QF,"mapCacheDelete");var YW=QF;function eB(e){return Yd(this,e).get(e)}_(eB,"mapCacheGet");var WW=eB;function tB(e){return Yd(this,e).has(e)}_(tB,"mapCacheHas");var KW=tB;function rB(e,t){var n=Yd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}_(rB,"mapCacheSet");var XW=rB;function Yo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_(Yo,"MapCache");Yo.prototype.clear=GW;Yo.prototype.delete=YW;Yo.prototype.get=WW;Yo.prototype.has=KW;Yo.prototype.set=XW;var nB=Yo,ZW="Expected a function";function Wd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ZW);var n=_(function(){var o=arguments,i=t?t.apply(this,o):o[0],s=n.cache;if(s.has(i))return s.get(i);var c=e.apply(this,o);return n.cache=s.set(i,c)||s,c},"memoized");return n.cache=new(Wd.Cache||nB),n}_(Wd,"memoize");Wd.Cache=nB;var JW=Wd,QW=500;function aB(e){var t=JW(e,function(o){return n.size===QW&&n.clear(),o}),n=t.cache;return t}_(aB,"memoizeCapped");var eK=aB,tK=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rK=/\\(\\)?/g;eK(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tK,function(n,o,i,s){t.push(i?s.replace(rK,"$1"):o||n)}),t});var nK=wF,aK=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Zv(e){if(!nK(e))return e;let t=e,n=!1;return typeof Event<"u"&&e instanceof Event&&(t=hF(t),n=!0),t=Object.keys(t).reduce((o,i)=>{try{t[i]&&t[i].toJSON,o[i]=t[i]}catch{n=!0}return o},{}),n?t:e}_(Zv,"convertUnconventionalData");var oK=_(function(t){let n,o,i,s;return _(function(f,p){try{if(f==="")return s=[],n=new Map([[p,"[]"]]),o=new Map,i=[],p;const h=o.get(this)||this;for(;i.length&&h!==i[0];)i.shift(),s.pop();if(typeof p=="boolean")return p;if(p===void 0)return t.allowUndefined?"_undefined_":void 0;if(p===null)return null;if(typeof p=="number")return p===Number.NEGATIVE_INFINITY?"_-Infinity_":p===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(p)?"_NaN_":p;if(typeof p=="bigint")return`_bigint_${p.toString()}`;if(typeof p=="string")return aK.test(p)?t.allowDate?`_date_${p}`:void 0:p;if((0,PY.default)(p))return t.allowRegExp?`_regexp_${p.flags}|${p.source}`:void 0;if((0,IY.default)(p))return;if((0,HY.default)(p)){if(!t.allowSymbol)return;const v=Symbol.keyFor(p);return v!==void 0?`_gsymbol_${v}`:`_symbol_${p.toString().slice(7,-1)}`}if(i.length>=t.maxDepth)return Array.isArray(p)?`[Array(${p.length})]`:"[Object]";if(p===this)return`_duplicate_${JSON.stringify(s)}`;if(p instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...p.cause?{cause:p.cause}:{},...p,name:p.name,message:p.message,stack:p.stack,"_constructor-name_":p.constructor.name}};if(p?.constructor?.name&&p.constructor.name!=="Object"&&!Array.isArray(p)){const v=n.get(p);if(!v){const b={__isClassInstance__:!0,__className__:p.constructor.name,...Object.getOwnPropertyNames(p).reduce((S,w)=>{try{S[w]=p[w]}catch{}return S},{})};return s.push(f),i.unshift(b),n.set(p,JSON.stringify(s)),p!==b&&o.set(p,b),b}return`_duplicate_${v}`}const y=n.get(p);if(!y){const v=Array.isArray(p)?p:Zv(p);return s.push(f),i.unshift(v),n.set(p,JSON.stringify(s)),p!==v&&o.set(p,v),v}return`_duplicate_${y}`}catch{return}},"replace")},"replacer2"),iK={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},lK=_((e,t={})=>{const n={...iK,...t};return JSON.stringify(Zv(e),oK(n),t.space)},"stringify");function Jv(e){return lK(e,{maxDepth:50})}_(Jv,"argsHash");var oB=C.createContext({sources:{}}),iB="--unknown--",sK=_(({children:e,channel:t})=>{const[n,o]=C.useState({});return C.useEffect(()=>{const i=_((s,c=null,f=!1)=>{const{id:p,args:h=void 0,source:y,format:v}=typeof s=="string"?{id:s,source:c,format:f}:s,b=h?Jv(h):iB;o(S=>({...S,[p]:{...S[p],[b]:{code:y||"",format:v}}}))},"handleSnippetRendered");return t.on(Qg,i),()=>t.off(Qg,i)},[]),E.createElement(oB.Provider,{value:{sources:n}},e)},"SourceContainer");function lB(e,t,n){const[o,i]=C.useState("Transforming..."),s=t?t?.(e,n):e;return C.useEffect(()=>{async function c(){const f=await s;f!==o&&i(f)}_(c,"getTransformedCode"),c()}),typeof s=="object"&&typeof s.then=="function"?o:s}_(lB,"useTransformCode");var uK=_((e,t,n)=>{const{sources:o}=n,i=o?.[e];return i?.[Jv(t)]||i?.[iB]||{code:""}},"getStorySource"),cK=_(({snippet:e,storyContext:t,typeFromProps:n,transformFromProps:o})=>{const i=t.parameters??{},{__isArgsStory:s}=i,c=i.docs?.source||{},f=n||c.type||sg.AUTO,h=f===sg.DYNAMIC||f===sg.AUTO&&e&&s?e:c.originalSource||"",y=o??c.transform,v=y?lB(h,y,t):h;return c.code!==void 0?c.code:v},"useCode"),fK=_((e,t,n)=>{const{of:o}=e,i=C.useMemo(()=>{if(o)return t.resolveOf(o,["story"]).story;try{return t.storyById()}catch{}},[t,o]),s=i?t.getStoryContext(i):{},c=e.__forceInitialArgs?s.initialArgs:s.unmappedArgs,f=i?uK(i.id,c,n):null,p=cK({snippet:f?f.code:"",storyContext:{...s,args:c},typeFromProps:e.type,transformFromProps:e.transform});if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const h=i?.parameters?.docs?.source||{};let y=e.format;const v=e.language??h.language??"jsx",b=e.dark??h.dark??!1;return!e.code&&!i?{error:"Oh no! The source is not available."}:e.code?{code:e.code,format:y,language:v,dark:b}:(y=f?.format??!0,{code:p,format:y,language:v,dark:b})},"useSourceProps"),dK=_(e=>{const t=C.useContext(nn),n=C.useContext(oB),{of:o,source:i}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const{story:s}=qo(o||"story",["story"]),c=fK({...i,...o&&{of:o}},t,n),f=e.layout??s.parameters.layout??s.parameters.docs?.canvas?.layout??"padded",p=e.withToolbar??s.parameters.docs?.canvas?.withToolbar??!1,h=e.additionalActions??s.parameters.docs?.canvas?.additionalActions,y=e.sourceState??s.parameters.docs?.canvas?.sourceState??"hidden",v=e.className??s.parameters.docs?.canvas?.className,b=e.story?.inline??s.parameters?.docs?.story?.inline??!1;return E.createElement(v4,{withSource:y==="none"?void 0:c,isExpanded:y==="shown",withToolbar:p,additionalActions:h,className:v,layout:f,inline:b},E.createElement(BU,{of:o||s.moduleExport,meta:e.meta,...e.story}))},"Canvas");const{filterArgTypes:qC}=__STORYBOOK_MODULE_PREVIEW_API__,{RESET_STORY_ARGS:pK,STORY_ARGS_UPDATED:GC,UPDATE_STORY_ARGS:hK}=__STORYBOOK_MODULE_CORE_EVENTS__;var gK=_((e,t)=>{const n=mK(e,t);if(!n)throw new Error("No result when story was defined");return n},"useArgs"),mK=_((e,t)=>{const n=e?t.getStoryContext(e):{args:{}},{id:o}=e||{id:"none"},[i,s]=C.useState(n.args);C.useEffect(()=>{const p=_(h=>{h.storyId===o&&s(h.args)},"onArgsUpdated");return t.channel.on(GC,p),()=>t.channel.off(GC,p)},[o,t.channel]);const c=C.useCallback(p=>t.channel.emit(hK,{storyId:o,updatedArgs:p}),[o,t.channel]),f=C.useCallback(p=>t.channel.emit(pK,{storyId:o,argNames:p}),[o,t.channel]);return e&&[i,c,f]},"useArgsIfDefined");const{GLOBALS_UPDATED:VC}=__STORYBOOK_MODULE_CORE_EVENTS__;var yK=_((e,t)=>{const n=t.getStoryContext(e),[o,i]=C.useState(n.globals);return C.useEffect(()=>{const s=_(c=>{i(c.globals)},"onGlobalsUpdated");return t.channel.on(VC,s),()=>t.channel.off(VC,s)},[t.channel]),[o]},"useGlobals");function sB(e,t){const{extractArgTypes:n}=t.docs||{};if(!n)throw new Error("Args unsupported. See Args documentation for your framework.");return n(e)}_(sB,"extractComponentArgTypes");var vK=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const n=C.useContext(nn),{story:o}=n.resolveOf(t||"story",["story"]),{parameters:i,argTypes:s,component:c,subcomponents:f}=o,p=i.docs?.controls||{},h=e.include??p.include,y=e.exclude??p.exclude,v=e.sort??p.sort,[b,S,w]=gK(o,n),[x]=yK(o,n),O=qC(s,h,y);if(!(!!f&&Object.keys(f||{}).length>0))return Object.keys(O).length>0||Object.keys(b).length>0?E.createElement(F0,{rows:O,sort:v,args:b,globals:x,updateArgs:S,resetArgs:w}):null;const R=oY(c)||"Story",T=Object.fromEntries(Object.entries(f||{}).map(([N,L])=>[N,{rows:qC(sB(L,i),h,y),sort:v}])),F={[R]:{rows:O,sort:v},...T};return E.createElement(WU,{tabs:F,sort:v,args:b,globals:x,updateArgs:S,resetArgs:w})},"Controls");const{NAVIGATE_URL:bK}=__STORYBOOK_MODULE_CORE_EVENTS__;var{document:uB}=globalThis,cB=_(({className:e,children:t,...n})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return E.createElement(iv,null,t);const o=e&&e.split("-");return E.createElement(n4,{language:o&&o[1]||"text",format:!1,code:t,...n})},"CodeOrSourceMdx");function Kd(e,t){e.channel.emit(bK,t)}_(Kd,"navigate");var B0=RR.a,EK=_(({hash:e,children:t})=>{const n=C.useContext(nn);return E.createElement(B0,{href:e,target:"_self",onClick:o=>{const i=e.substring(1);uB.getElementById(i)&&Kd(n,e)}},t)},"AnchorInPage"),fB=_(e=>{const{href:t,target:n,children:o,...i}=e,s=C.useContext(nn);return!t||n==="_blank"||/^https?:\/\//.test(t)?E.createElement(B0,{...e}):t.startsWith("#")?E.createElement(EK,{hash:t},o):E.createElement(B0,{href:t,onClick:c=>{c.button===0&&!c.altKey&&!c.ctrlKey&&!c.metaKey&&!c.shiftKey&&(c.preventDefault(),Kd(s,c.currentTarget.getAttribute("href")||""))},target:n,...i},o)},"AnchorMdx"),dB=["h1","h2","h3","h4","h5","h6"],SK=dB.reduce((e,t)=>({...e,[t]:G(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),AK=G.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),CK=_(({as:e,id:t,children:n,...o})=>{const i=C.useContext(nn),s=SK[e],c=`#${t}`;return E.createElement(s,{id:t,...o},E.createElement(AK,{"aria-hidden":"true",href:c,tabIndex:-1,target:"_self",onClick:f=>{uB.getElementById(t)&&Kd(i,c)}},E.createElement(L$,null)),n)},"HeaderWithOcticonAnchor"),Qv=_(e=>{const{as:t,id:n,children:o,...i}=e;if(n)return E.createElement(CK,{as:t,id:n,...i},o);const s=t,{as:c,...f}=e;return E.createElement(s,{...nt(f,t)})},"HeaderMdx"),pB=dB.reduce((e,t)=>({...e,[t]:n=>E.createElement(Qv,{as:t,...n})}),{}),wK=_(e=>{if(!e.children)return null;if(typeof e.children!="string")throw new Error(ZM`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
810
810
  This is often caused by not wrapping the child in a template string.
811
811
 
812
812
  This is invalid:
@@ -822,4 +822,4 @@ ${t}`);const n=t.match(pI);if(!n)return E.createElement(C.Fragment,null,t);const
822
822
  A paragraph
823
823
  \`}
824
824
  </Markdown>
825
- `);return E.createElement(P4,{...e,options:{forceBlock:!0,overrides:{code:cB,a:fB,...pB,...e?.options?.overrides},...e?.options}})},"Markdown"),xK=_(e=>{switch(e.type){case"story":return e.story.parameters.docs?.description?.story||null;case"meta":{const{parameters:t,component:n}=e.preparedMeta,o=t.docs?.description?.component;return o||t.docs?.extractComponentDescription?.(n,{component:n,parameters:t})||null}case"component":{const{component:t,projectAnnotations:{parameters:n}}=e;return n?.docs?.extractComponentDescription?.(t,{component:t,parameters:n})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},"getDescriptionFromResolvedOf"),M0=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const n=qo(t||"meta"),o=xK(n);return o?E.createElement(wK,null,o):null},"DescriptionContainer"),{document:DK,window:_K}=globalThis,OK=_(({context:e,theme:t,children:n})=>{let o;try{o=e.resolveOf("meta",["meta"]).preparedMeta.parameters?.docs?.toc}catch{o=e?.projectAnnotations?.parameters?.docs?.toc}return C.useEffect(()=>{let i;try{if(i=new URL(_K.parent.location.toString()),i.hash){const s=DK.getElementById(decodeURIComponent(i.hash.substring(1)));s&&setTimeout(()=>{cF(s)},200)}}catch{}}),E.createElement(nn.Provider,{value:e},E.createElement(sK,{channel:e.channel},E.createElement(QO,{theme:vj(t)},E.createElement(RU,{toc:o?E.createElement(iq,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...o}):null},n))))},"DocsContainer"),TK=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,RK=Object.hasOwnProperty,hB=class{constructor(){this.occurrences,this.reset()}slug(t,n){const o=this;let i=gB(t,n===!0);const s=i;for(;RK.call(o.occurrences,i);)o.occurrences[s]++,i=s+"-"+o.occurrences[s];return o.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}};_(hB,"BananaSlug");var FK=hB;function gB(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(TK,"").replace(/ /g,"-"))}_(gB,"slug");var mB=new FK,BK=_(({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return E.createElement(lv,null,e);const o=mB.slug(e.toLowerCase());return E.createElement(Qv,{as:"h2",id:o,...n},e)},"Heading"),MK=_(({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return E.createElement(sv,null,e);const n=mB.slug(e.toLowerCase());return E.createElement(Qv,{as:"h3",id:n},e)},"Subheading"),yB=_(({of:e,expanded:t=!0,withToolbar:n=!1,__forceInitialArgs:o=!1,__primary:i=!1})=>{const{story:s}=qo(e||"story",["story"]),c=s.parameters.docs?.canvas?.withToolbar??n;return E.createElement(nY,{storyId:s.id},t&&E.createElement(E.Fragment,null,E.createElement(MK,null,s.name),E.createElement(M0,{of:e})),E.createElement(dK,{of:e,withToolbar:c,story:{__forceInitialArgs:o,__primary:i},source:{__forceInitialArgs:o}}))},"DocsStory"),LK=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const{csfFile:n}=qo(t||"meta",["meta"]),i=C.useContext(nn).componentStoriesFromCSFFile(n)[0];return i?E.createElement(yB,{of:i.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},"Primary"),NK=G(BK)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),kK=_(({title:e="Stories",includePrimary:t=!0})=>{const{componentStories:n,projectAnnotations:o,getStoryContext:i}=C.useContext(nn);let s=n();const{stories:{filter:c}={filter:void 0}}=o.parameters?.docs||{};return c&&(s=s.filter(p=>c(p,i(p)))),s.some(p=>p.tags?.includes("autodocs"))&&(s=s.filter(p=>p.tags?.includes("autodocs")&&!p.usesMount)),t||(s=s.slice(1)),!s||s.length===0?null:E.createElement(E.Fragment,null,typeof e=="string"?E.createElement(NK,null,e):e,s.map(p=>p&&E.createElement(yB,{key:p.id,of:p.moduleExport,expanded:!0,__forceInitialArgs:!0})))},"Stories");const{deprecate:zK}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var jK="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",$K=_(e=>{const{of:t,children:n}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o;try{o=qo(t||"meta",["meta"]).preparedMeta}catch(f){if(n&&!f.message.includes("did you forget to use <Meta of={} />?"))throw f}const{componentSubtitle:i,docs:s}=o?.parameters||{};i&&zK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${jK}`);const c=n||s?.subtitle||i;return c?E.createElement(_U,{className:"sbdocs-subtitle sb-unstyled"},c):null},"Subtitle"),PK=/\s*\/\s*/,IK=_(e=>{const t=e.trim().split(PK);return t?.[t?.length-1]||e},"extractTitle"),HK=_(e=>{const{children:t,of:n}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o;try{o=qo(n||"meta",["meta"]).preparedMeta}catch(s){if(t&&s instanceof Error&&!s.message.includes("did you forget to use <Meta of={} />?"))throw s}const i=t||IK(o?.title||"");return i?E.createElement(DU,{className:"sbdocs-title sb-unstyled"},i):null},"Title"),UK=_(()=>{const e=qo("meta",["meta"]),{stories:t}=e.csfFile,n=Object.keys(t).length===1;return E.createElement(E.Fragment,null,E.createElement(HK,null),E.createElement($K,null),E.createElement(M0,{of:"meta"}),n?E.createElement(M0,{of:"story"}):null,E.createElement(LK,null),E.createElement(vK,null),n?null:E.createElement(kK,null))},"DocsPage");function eb({context:e,docsParameter:t}){const n=t.container||OK,o=t.page||UK;return E.createElement(n,{context:e,theme:t.theme},E.createElement(o,null))}_(eb,"Docs");const{composeConfigs:qK}=__STORYBOOK_MODULE_PREVIEW_API__,{Channel:GK}=__STORYBOOK_MODULE_CHANNELS__,{Preview:VK,composeConfigs:YK}=__STORYBOOK_MODULE_PREVIEW_API__,{DocsContext:WK}=__STORYBOOK_MODULE_PREVIEW_API__;var vB=class extends WK{constructor(t,n,o,i){super(t,n,o,[]),this.channel=t,this.store=n,this.renderStoryToElement=o,this.processMetaExports=i,this.referenceMeta=_((s,c)=>{const f=this.processMetaExports(s);this.referenceCSFFile(f),super.referenceMeta(s,c)},"referenceMeta")}};_(vB,"ExternalDocsContext");var KK=vB,bB=class{constructor(t){this.prefix=t,this.entries=new Map}get(t){return this.entries.has(t)||this.entries.set(t,`${this.prefix}${this.entries.size}`),this.entries.get(t)}};_(bB,"ConstantMap");var YC=bB,EB=class extends VK{constructor(t){const n=_(i=>Promise.resolve(this.moduleExportsByImportPath[i]),"importFn"),o=_(()=>YK([{parameters:{docs:{story:{inline:!0}}}},this.projectAnnotations]),"getProjectAnnotations");super(n,o,new GK({})),this.projectAnnotations=t,this.importPaths=new YC("./importPath/"),this.titles=new YC("title-"),this.storyIndex={v:5,entries:{}},this.moduleExportsByImportPath={},this.processMetaExports=_(i=>{const s=this.importPaths.get(i);this.moduleExportsByImportPath[s]=i;const c=i.default.title||this.titles.get(i),f=this.storyStoreValue.processCSFFileWithCache(i,s,c);return Object.values(f.stories).forEach(({id:p,name:h})=>{this.storyIndex.entries[p]={id:p,importPath:s,title:c,name:h,type:"story",subtype:"story"}}),this.onStoriesChanged({storyIndex:this.storyIndex}),f},"processMetaExports"),this.docsContext=_(()=>new KK(this.channel,this.storyStoreValue,this.renderStoryToElement.bind(this),this.processMetaExports.bind(this)),"docsContext")}async getStoryIndexFromServer(){return this.storyIndex}};_(EB,"ExternalPreview");var XK=EB;function SB(e){const t=C.useRef();return t.current||(t.current=new XK(e)),t.current}_(SB,"usePreview");function ZK({projectAnnotationsList:e,children:t}){const n=qK(e),o=SB(n),i={...n.parameters?.docs,page:_(()=>t,"page")},s=eb;return E.createElement(s,{docsParameter:i,context:o.docsContext()})}_(ZK,"ExternalDocs");var AB={code:cB,a:fB,...pB},CB=class extends C.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){const{showException:n}=this.props;n(t)}render(){const{hasError:t}=this.state,{children:n}=this.props;return t?null:E.createElement(E.Fragment,null,n)}};_(CB,"ErrorBoundary");var JK=CB,wB=class{constructor(){this.render=async(t,n,o)=>{const i={...AB,...n?.components},s=eb;return new Promise((c,f)=>{Ua(async()=>{const{MDXProvider:p}=await import("./index-C8IjQgz6.js");return{MDXProvider:p}},__vite__mapDeps([6,2,1,3]),import.meta.url).then(({MDXProvider:p})=>kk(E.createElement(JK,{showException:f,key:Math.random()},E.createElement(p,{components:i},E.createElement(s,{context:t,docsParameter:n}))),o)).then(()=>c())})},this.unmount=t=>{zk(t)}}};_(wB,"DocsRenderer");var QK=wB;const qX=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:QK,defaultComponents:AB},Symbol.toStringTag,{value:"Module"})),xB=Object.freeze(Object.defineProperty({__proto__:null,WithToolTipState:l0,WithTooltip:l0,WithTooltipPure:A3},Symbol.toStringTag,{value:"Module"}));export{iT as A,qX as D,xl as F,xX as M,E as R,Yy as S,WI as T,GI as W,Wy as _,ou as a,Xe as b,LT as c,Jr as d,en as g,C as r,G as s};
825
+ `);return E.createElement(P4,{...e,options:{forceBlock:!0,overrides:{code:cB,a:fB,...pB,...e?.options?.overrides},...e?.options}})},"Markdown"),xK=_(e=>{switch(e.type){case"story":return e.story.parameters.docs?.description?.story||null;case"meta":{const{parameters:t,component:n}=e.preparedMeta,o=t.docs?.description?.component;return o||t.docs?.extractComponentDescription?.(n,{component:n,parameters:t})||null}case"component":{const{component:t,projectAnnotations:{parameters:n}}=e;return n?.docs?.extractComponentDescription?.(t,{component:t,parameters:n})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},"getDescriptionFromResolvedOf"),M0=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const n=qo(t||"meta"),o=xK(n);return o?E.createElement(wK,null,o):null},"DescriptionContainer"),{document:DK,window:_K}=globalThis,OK=_(({context:e,theme:t,children:n})=>{let o;try{o=e.resolveOf("meta",["meta"]).preparedMeta.parameters?.docs?.toc}catch{o=e?.projectAnnotations?.parameters?.docs?.toc}return C.useEffect(()=>{let i;try{if(i=new URL(_K.parent.location.toString()),i.hash){const s=DK.getElementById(decodeURIComponent(i.hash.substring(1)));s&&setTimeout(()=>{cF(s)},200)}}catch{}}),E.createElement(nn.Provider,{value:e},E.createElement(sK,{channel:e.channel},E.createElement(QO,{theme:vj(t)},E.createElement(RU,{toc:o?E.createElement(iq,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...o}):null},n))))},"DocsContainer"),TK=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,RK=Object.hasOwnProperty,hB=class{constructor(){this.occurrences,this.reset()}slug(t,n){const o=this;let i=gB(t,n===!0);const s=i;for(;RK.call(o.occurrences,i);)o.occurrences[s]++,i=s+"-"+o.occurrences[s];return o.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}};_(hB,"BananaSlug");var FK=hB;function gB(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(TK,"").replace(/ /g,"-"))}_(gB,"slug");var mB=new FK,BK=_(({children:e,disableAnchor:t,...n})=>{if(t||typeof e!="string")return E.createElement(lv,null,e);const o=mB.slug(e.toLowerCase());return E.createElement(Qv,{as:"h2",id:o,...n},e)},"Heading"),MK=_(({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return E.createElement(sv,null,e);const n=mB.slug(e.toLowerCase());return E.createElement(Qv,{as:"h3",id:n},e)},"Subheading"),yB=_(({of:e,expanded:t=!0,withToolbar:n=!1,__forceInitialArgs:o=!1,__primary:i=!1})=>{const{story:s}=qo(e||"story",["story"]),c=s.parameters.docs?.canvas?.withToolbar??n;return E.createElement(nY,{storyId:s.id},t&&E.createElement(E.Fragment,null,E.createElement(MK,null,s.name),E.createElement(M0,{of:e})),E.createElement(dK,{of:e,withToolbar:c,story:{__forceInitialArgs:o,__primary:i},source:{__forceInitialArgs:o}}))},"DocsStory"),LK=_(e=>{const{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");const{csfFile:n}=qo(t||"meta",["meta"]),i=C.useContext(nn).componentStoriesFromCSFFile(n)[0];return i?E.createElement(yB,{of:i.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},"Primary"),NK=G(BK)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),kK=_(({title:e="Stories",includePrimary:t=!0})=>{const{componentStories:n,projectAnnotations:o,getStoryContext:i}=C.useContext(nn);let s=n();const{stories:{filter:c}={filter:void 0}}=o.parameters?.docs||{};return c&&(s=s.filter(p=>c(p,i(p)))),s.some(p=>p.tags?.includes("autodocs"))&&(s=s.filter(p=>p.tags?.includes("autodocs")&&!p.usesMount)),t||(s=s.slice(1)),!s||s.length===0?null:E.createElement(E.Fragment,null,typeof e=="string"?E.createElement(NK,null,e):e,s.map(p=>p&&E.createElement(yB,{key:p.id,of:p.moduleExport,expanded:!0,__forceInitialArgs:!0})))},"Stories");const{deprecate:zK}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var jK="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",$K=_(e=>{const{of:t,children:n}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o;try{o=qo(t||"meta",["meta"]).preparedMeta}catch(f){if(n&&!f.message.includes("did you forget to use <Meta of={} />?"))throw f}const{componentSubtitle:i,docs:s}=o?.parameters||{};i&&zK(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${jK}`);const c=n||s?.subtitle||i;return c?E.createElement(_U,{className:"sbdocs-subtitle sb-unstyled"},c):null},"Subtitle"),PK=/\s*\/\s*/,IK=_(e=>{const t=e.trim().split(PK);return t?.[t?.length-1]||e},"extractTitle"),HK=_(e=>{const{children:t,of:n}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o;try{o=qo(n||"meta",["meta"]).preparedMeta}catch(s){if(t&&s instanceof Error&&!s.message.includes("did you forget to use <Meta of={} />?"))throw s}const i=t||IK(o?.title||"");return i?E.createElement(DU,{className:"sbdocs-title sb-unstyled"},i):null},"Title"),UK=_(()=>{const e=qo("meta",["meta"]),{stories:t}=e.csfFile,n=Object.keys(t).length===1;return E.createElement(E.Fragment,null,E.createElement(HK,null),E.createElement($K,null),E.createElement(M0,{of:"meta"}),n?E.createElement(M0,{of:"story"}):null,E.createElement(LK,null),E.createElement(vK,null),n?null:E.createElement(kK,null))},"DocsPage");function eb({context:e,docsParameter:t}){const n=t.container||OK,o=t.page||UK;return E.createElement(n,{context:e,theme:t.theme},E.createElement(o,null))}_(eb,"Docs");const{composeConfigs:qK}=__STORYBOOK_MODULE_PREVIEW_API__,{Channel:GK}=__STORYBOOK_MODULE_CHANNELS__,{Preview:VK,composeConfigs:YK}=__STORYBOOK_MODULE_PREVIEW_API__,{DocsContext:WK}=__STORYBOOK_MODULE_PREVIEW_API__;var vB=class extends WK{constructor(t,n,o,i){super(t,n,o,[]),this.channel=t,this.store=n,this.renderStoryToElement=o,this.processMetaExports=i,this.referenceMeta=_((s,c)=>{const f=this.processMetaExports(s);this.referenceCSFFile(f),super.referenceMeta(s,c)},"referenceMeta")}};_(vB,"ExternalDocsContext");var KK=vB,bB=class{constructor(t){this.prefix=t,this.entries=new Map}get(t){return this.entries.has(t)||this.entries.set(t,`${this.prefix}${this.entries.size}`),this.entries.get(t)}};_(bB,"ConstantMap");var YC=bB,EB=class extends VK{constructor(t){const n=_(i=>Promise.resolve(this.moduleExportsByImportPath[i]),"importFn"),o=_(()=>YK([{parameters:{docs:{story:{inline:!0}}}},this.projectAnnotations]),"getProjectAnnotations");super(n,o,new GK({})),this.projectAnnotations=t,this.importPaths=new YC("./importPath/"),this.titles=new YC("title-"),this.storyIndex={v:5,entries:{}},this.moduleExportsByImportPath={},this.processMetaExports=_(i=>{const s=this.importPaths.get(i);this.moduleExportsByImportPath[s]=i;const c=i.default.title||this.titles.get(i),f=this.storyStoreValue.processCSFFileWithCache(i,s,c);return Object.values(f.stories).forEach(({id:p,name:h})=>{this.storyIndex.entries[p]={id:p,importPath:s,title:c,name:h,type:"story",subtype:"story"}}),this.onStoriesChanged({storyIndex:this.storyIndex}),f},"processMetaExports"),this.docsContext=_(()=>new KK(this.channel,this.storyStoreValue,this.renderStoryToElement.bind(this),this.processMetaExports.bind(this)),"docsContext")}async getStoryIndexFromServer(){return this.storyIndex}};_(EB,"ExternalPreview");var XK=EB;function SB(e){const t=C.useRef();return t.current||(t.current=new XK(e)),t.current}_(SB,"usePreview");function ZK({projectAnnotationsList:e,children:t}){const n=qK(e),o=SB(n),i={...n.parameters?.docs,page:_(()=>t,"page")},s=eb;return E.createElement(s,{docsParameter:i,context:o.docsContext()})}_(ZK,"ExternalDocs");var AB={code:cB,a:fB,...pB},CB=class extends C.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){const{showException:n}=this.props;n(t)}render(){const{hasError:t}=this.state,{children:n}=this.props;return t?null:E.createElement(E.Fragment,null,n)}};_(CB,"ErrorBoundary");var JK=CB,wB=class{constructor(){this.render=async(t,n,o)=>{const i={...AB,...n?.components},s=eb;return new Promise((c,f)=>{Ua(async()=>{const{MDXProvider:p}=await import("./index-BUj5S-B7.js");return{MDXProvider:p}},__vite__mapDeps([6,2,1,3]),import.meta.url).then(({MDXProvider:p})=>kk(E.createElement(JK,{showException:f,key:Math.random()},E.createElement(p,{components:i},E.createElement(s,{context:t,docsParameter:n}))),o)).then(()=>c())})},this.unmount=t=>{zk(t)}}};_(wB,"DocsRenderer");var QK=wB;const qX=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:QK,defaultComponents:AB},Symbol.toStringTag,{value:"Module"})),xB=Object.freeze(Object.defineProperty({__proto__:null,WithToolTipState:l0,WithTooltip:l0,WithTooltipPure:A3},Symbol.toStringTag,{value:"Module"}));export{iT as A,qX as D,xl as F,xX as M,E as R,Yy as S,WI as T,GI as W,Wy as _,ou as a,Xe as b,LT as c,Jr as d,en as g,C as r,G as s};