@granto-umbrella/umbrella-components 1.0.2 → 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 (29) hide show
  1. package/.github/workflows/azure-static-web-apps-white-beach-08c746f0f.yml +1 -5
  2. package/dist/umbrella-components.es.js +178 -99
  3. package/dist/umbrella-components.umd.js +55 -52
  4. package/package.json +1 -1
  5. package/src/components/atoms/Button/Button.stories.tsx +16 -0
  6. package/src/components/atoms/Button/Button.styles.ts +22 -17
  7. package/src/components/atoms/Button/Button.tsx +10 -1
  8. package/src/components/atoms/Button/Button.types.ts +2 -0
  9. package/src/components/atoms/Input/Input.styles.ts +3 -3
  10. package/src/styles/tokens/colors.ts +126 -72
  11. package/src/styles/tokens/sizes.ts +9 -9
  12. package/src/styles/tokens/typography.ts +42 -29
  13. package/storybook-static/assets/Button.stories-CubAed3-.js +104 -0
  14. package/storybook-static/assets/{Color-F6OSRLHC-DIVYeXSt.js → Color-F6OSRLHC-Cp9-dG6V.js} +1 -1
  15. package/storybook-static/assets/{DocsRenderer-CFRXHY34-CT_eS361.js → DocsRenderer-CFRXHY34-DDGw4WUk.js} +4 -4
  16. package/storybook-static/assets/{Input.stories-Wd3mlW4i.js → Input.stories-Br0tECZv.js} +4 -4
  17. package/storybook-static/assets/{Select.stories-D_MrjaqW.js → Select.stories-BpxQqqz7.js} +1 -1
  18. package/storybook-static/assets/{Tokens.stories-UNT08x7W.js → Tokens.stories-DW0i3GNx.js} +8 -8
  19. package/storybook-static/assets/borders-z5bx5302.js +2 -0
  20. package/storybook-static/assets/{entry-preview-CiwqR2jx.js → entry-preview-BoDbnVR7.js} +1 -1
  21. package/storybook-static/assets/{iframe-039Wi6Rb.js → iframe-DzJWU6bo.js} +2 -2
  22. package/storybook-static/assets/{index-Bn6FWhtY.js → index-Bh6REuwa.js} +1 -1
  23. package/storybook-static/assets/{preview-M2P5O1Yh.js → preview-DzeJMkp6.js} +2 -2
  24. package/storybook-static/assets/{shadows-UA8VM2PE.js → shadows-fPU87ork.js} +1 -1
  25. package/storybook-static/iframe.html +1 -1
  26. package/storybook-static/index.json +1 -1
  27. package/storybook-static/project.json +1 -1
  28. package/storybook-static/assets/Button.stories-WRnO5s_-.js +0 -101
  29. package/storybook-static/assets/borders-DvLsUYxz.js +0 -2
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Bn6FWhtY.js","./iframe-039Wi6Rb.js","./index-C2WPW1L7.js","./jsx-runtime-C6qLVRqm.js","./index-CTkByED5.js","./index-NOh9rqHv.js","./index-ogSvIofg.js","./react-18-C6Qv4EOi.js","./Color-F6OSRLHC-DIVYeXSt.js","./index-BzY80IPM.js"])))=>i.map(i=>d[i]);
2
- var UD=Object.defineProperty;var qD=(e,t,r)=>t in e?UD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>qD(e,typeof t!="symbol"?t+"":t,r);import{_ as qp}from"./iframe-039Wi6Rb.js";import{r as l,g as WD,R as y}from"./index-C2WPW1L7.js";import{j as Z}from"./jsx-runtime-C6qLVRqm.js";import{r as GD}from"./index-CTkByED5.js";import{y as dh,g as wu}from"./index-NOh9rqHv.js";import{d as YD}from"./index-ogSvIofg.js";import{renderElement as KD,unmountElement as JD}from"./react-18-C6Qv4EOi.js";var ZD=Object.create,W4=Object.defineProperty,XD=Object.getOwnPropertyDescriptor,G4=Object.getOwnPropertyNames,QD=Object.getPrototypeOf,e9=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[G4(e)[0]])((t={exports:{}}).exports,t),t.exports},t9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of G4(t))!e9.call(e,a)&&a!==r&&W4(e,a,{get:()=>t[a],enumerable:!(n=XD(t,a))||n.enumerable});return e},Wp=(e,t,r)=>(r=e!=null?ZD(QD(e)):{},t9(t||!e||!e.__esModule?W4(r,"default",{value:e,enumerable:!0}):r,e));function r9(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function bV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=r9(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function n9(e){return Array.from(new Set(e))}function a9(e,t){let r={},n=Object.entries(e);for(let a=0;a<n.length;a++){let[o,i]=n[a];t(i,o)&&(r[o]=i)}return r}function o9(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function i9(e){return e==null||typeof e!="object"&&typeof e!="function"}function ph(e){return Wn(e)}function Wn(e,t=new Map){if(i9(e))return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);t.set(e,r);for(let n=0;n<e.length;n++)r[n]=Wn(e[n],t);return Object.prototype.hasOwnProperty.call(e,"index")&&(r.index=e.index),Object.prototype.hasOwnProperty.call(e,"input")&&(r.input=e.input),r}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let r=new RegExp(e.source,e.flags);return r.lastIndex=e.lastIndex,r}if(e instanceof Map){let r=new Map;t.set(e,r);for(let[n,a]of e.entries())r.set(n,Wn(a,t));return r}if(e instanceof Set){let r=new Set;t.set(e,r);for(let n of e.values())r.add(Wn(n,t));return r}if(typeof Buffer<"u"&&Buffer.isBuffer(e))return e.subarray();if(o9(e)){let r=new(Object.getPrototypeOf(e)).constructor(e.length);t.set(e,r);for(let n=0;n<e.length;n++)r[n]=Wn(e[n],t);return r}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let r=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return t.set(e,r),Jr(r,e,t),r}if(typeof File<"u"&&e instanceof File){let r=new File([e],e.name,{type:e.type});return t.set(e,r),Jr(r,e,t),r}if(e instanceof Blob){let r=new Blob([e],{type:e.type});return t.set(e,r),Jr(r,e,t),r}if(e instanceof Error){let r=new e.constructor;return t.set(e,r),r.message=e.message,r.name=e.name,r.stack=e.stack,r.cause=e.cause,Jr(r,e,t),r}if(typeof e=="object"&&e!==null){let r={};return t.set(e,r),Jr(r,e,t),r}return e}function Jr(e,t,r){let n=Object.keys(t);for(let a=0;a<n.length;a++){let o=n[a],i=Object.getOwnPropertyDescriptor(t,o);(i!=null&&i.writable||i!=null&&i.set)&&(e[o]=Wn(t[o],r))}}var l9="[object String]",s9="[object Number]",u9="[object Boolean]",c9="[object Arguments]";function d9(e){if(typeof e!="object")return ph(e);switch(Object.prototype.toString.call(e)){case s9:case l9:case u9:{let t=new e.constructor(e==null?void 0:e.valueOf());return Jr(t,e),t}case c9:{let t={};return Jr(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return ph(e)}}var vt=e=>`control-${e.replace(/\s+/g,"-")}`,fs=e=>`set-${e.replace(/\s+/g,"-")}`,p9=Object.create,Gp=Object.defineProperty,f9=Object.getOwnPropertyDescriptor,h9=Object.getOwnPropertyNames,m9=Object.getPrototypeOf,g9=Object.prototype.hasOwnProperty,R=(e,t)=>Gp(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),hs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),v9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of h9(t))!g9.call(e,a)&&a!==r&&Gp(e,a,{get:()=>t[a],enumerable:!(n=f9(t,a))||n.enumerable});return e},Yp=(e,t,r)=>(r=e!=null?p9(m9(e)):{},v9(t||!e||!e.__esModule?Gp(r,"default",{value:e,enumerable:!0}):r,e)),y9=hs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===h||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===c||P.$$typeof===m||P.$$typeof===x||P.$$typeof===D||P.$$typeof===E||P.$$typeof===w)}R(b,"isValidElementType");function C(P){if(typeof P=="object"&&P!==null){var rt=P.$$typeof;switch(rt){case r:var xt=P.type;switch(xt){case d:case p:case a:case i:case o:case h:return xt;default:var Mr=xt&&xt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,$=i,j=o,U=h,V=!1;function G(P){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q(P)||C(P)===d}R(G,"isAsyncMode");function Q(P){return C(P)===p}R(Q,"isConcurrentMode");function ne(P){return C(P)===c}R(ne,"isContextConsumer");function J(P){return C(P)===s}R(J,"isContextProvider");function ie(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}R(ie,"isElement");function N(P){return C(P)===m}R(N,"isForwardRef");function K(P){return C(P)===a}R(K,"isFragment");function re(P){return C(P)===g}R(re,"isLazy");function fe(P){return C(P)===v}R(fe,"isMemo");function Ce(P){return C(P)===n}R(Ce,"isPortal");function Et(P){return C(P)===i}R(Et,"isProfiler");function He(P){return C(P)===o}R(He,"isStrictMode");function tt(P){return C(P)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=$,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=J,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=Et,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),b9=hs((e,t)=>{t.exports=y9()}),Y4=hs((e,t)=>{var r=b9(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k<b.length;++k){var A=b[k];if(!a[A]&&!(D&&D[A])&&!(S&&S[A])&&!(C&&C[A])){var _=h(x,A);try{d(w,A,_)}catch{}}}}return w}R(g,"hoistNonReactStatics"),t.exports=g}),w9=hs((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c<o.length;c++)i(o[c]);return i},"e")({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}R(o,"Similar"),o.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c<this.size;c++)i.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},o.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(d){var p=new o(!1),m=[];return function(h){var f=R(function(){var v=p,g,w,x=arguments.length-1,D=Array(x+1),E=!0,b;if((f.numArgs||f.numArgs===0)&&f.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<x;b++){if(D[b]={cacheItem:v,arg:arguments[b]},v.has(arguments[b])){v=v.get(arguments[b]);continue}E=!1,g=new o(!1),v.set(arguments[b],g),v=g}return E&&(v.has(arguments[x])?w=v.get(arguments[x]):E=!1),E||(w=h.apply(null,arguments),v.set(arguments[x],w)),d>0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v<m;v++){for(f=!0,g=0;g<h;g++)if(!c(d[v][g].arg,p[g].arg)){f=!1;break}if(f)break}d.push(d.splice(v,1)[0])}R(i,"moveToMostRecentLru");function s(d){var p=d.length,m=d[p-1],h,f;for(m.cacheItem.delete(m.arg),f=p-2;f>=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(null,arguments)}R(Pt,"_extends");function Kp(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}R(Kp,"memoize");var E9=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Jp=Kp(function(e){return E9.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function K4(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}R(K4,"sheetForTag");function J4(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}R(J4,"createStyleElement");var x9=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?!1:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}R(e,"StyleSheet");var t=e.prototype;return t.hydrate=R(function(r){r.forEach(this._insertTag)},"hydrate"),t.insert=R(function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(J4(this));var n=this.tags[this.tags.length-1],a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;if(a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Bh6REuwa.js","./iframe-DzJWU6bo.js","./index-C2WPW1L7.js","./jsx-runtime-C6qLVRqm.js","./index-CTkByED5.js","./index-NOh9rqHv.js","./index-ogSvIofg.js","./react-18-C6Qv4EOi.js","./Color-F6OSRLHC-Cp9-dG6V.js","./index-BzY80IPM.js"])))=>i.map(i=>d[i]);
2
+ var UD=Object.defineProperty;var qD=(e,t,r)=>t in e?UD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>qD(e,typeof t!="symbol"?t+"":t,r);import{_ as qp}from"./iframe-DzJWU6bo.js";import{r as l,g as WD,R as y}from"./index-C2WPW1L7.js";import{j as Z}from"./jsx-runtime-C6qLVRqm.js";import{r as GD}from"./index-CTkByED5.js";import{y as dh,g as wu}from"./index-NOh9rqHv.js";import{d as YD}from"./index-ogSvIofg.js";import{renderElement as KD,unmountElement as JD}from"./react-18-C6Qv4EOi.js";var ZD=Object.create,W4=Object.defineProperty,XD=Object.getOwnPropertyDescriptor,G4=Object.getOwnPropertyNames,QD=Object.getPrototypeOf,e9=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[G4(e)[0]])((t={exports:{}}).exports,t),t.exports},t9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of G4(t))!e9.call(e,a)&&a!==r&&W4(e,a,{get:()=>t[a],enumerable:!(n=XD(t,a))||n.enumerable});return e},Wp=(e,t,r)=>(r=e!=null?ZD(QD(e)):{},t9(t||!e||!e.__esModule?W4(r,"default",{value:e,enumerable:!0}):r,e));function r9(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function bV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=r9(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function n9(e){return Array.from(new Set(e))}function a9(e,t){let r={},n=Object.entries(e);for(let a=0;a<n.length;a++){let[o,i]=n[a];t(i,o)&&(r[o]=i)}return r}function o9(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function i9(e){return e==null||typeof e!="object"&&typeof e!="function"}function ph(e){return Wn(e)}function Wn(e,t=new Map){if(i9(e))return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);t.set(e,r);for(let n=0;n<e.length;n++)r[n]=Wn(e[n],t);return Object.prototype.hasOwnProperty.call(e,"index")&&(r.index=e.index),Object.prototype.hasOwnProperty.call(e,"input")&&(r.input=e.input),r}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let r=new RegExp(e.source,e.flags);return r.lastIndex=e.lastIndex,r}if(e instanceof Map){let r=new Map;t.set(e,r);for(let[n,a]of e.entries())r.set(n,Wn(a,t));return r}if(e instanceof Set){let r=new Set;t.set(e,r);for(let n of e.values())r.add(Wn(n,t));return r}if(typeof Buffer<"u"&&Buffer.isBuffer(e))return e.subarray();if(o9(e)){let r=new(Object.getPrototypeOf(e)).constructor(e.length);t.set(e,r);for(let n=0;n<e.length;n++)r[n]=Wn(e[n],t);return r}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let r=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return t.set(e,r),Jr(r,e,t),r}if(typeof File<"u"&&e instanceof File){let r=new File([e],e.name,{type:e.type});return t.set(e,r),Jr(r,e,t),r}if(e instanceof Blob){let r=new Blob([e],{type:e.type});return t.set(e,r),Jr(r,e,t),r}if(e instanceof Error){let r=new e.constructor;return t.set(e,r),r.message=e.message,r.name=e.name,r.stack=e.stack,r.cause=e.cause,Jr(r,e,t),r}if(typeof e=="object"&&e!==null){let r={};return t.set(e,r),Jr(r,e,t),r}return e}function Jr(e,t,r){let n=Object.keys(t);for(let a=0;a<n.length;a++){let o=n[a],i=Object.getOwnPropertyDescriptor(t,o);(i!=null&&i.writable||i!=null&&i.set)&&(e[o]=Wn(t[o],r))}}var l9="[object String]",s9="[object Number]",u9="[object Boolean]",c9="[object Arguments]";function d9(e){if(typeof e!="object")return ph(e);switch(Object.prototype.toString.call(e)){case s9:case l9:case u9:{let t=new e.constructor(e==null?void 0:e.valueOf());return Jr(t,e),t}case c9:{let t={};return Jr(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return ph(e)}}var vt=e=>`control-${e.replace(/\s+/g,"-")}`,fs=e=>`set-${e.replace(/\s+/g,"-")}`,p9=Object.create,Gp=Object.defineProperty,f9=Object.getOwnPropertyDescriptor,h9=Object.getOwnPropertyNames,m9=Object.getPrototypeOf,g9=Object.prototype.hasOwnProperty,R=(e,t)=>Gp(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),hs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),v9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of h9(t))!g9.call(e,a)&&a!==r&&Gp(e,a,{get:()=>t[a],enumerable:!(n=f9(t,a))||n.enumerable});return e},Yp=(e,t,r)=>(r=e!=null?p9(m9(e)):{},v9(t||!e||!e.__esModule?Gp(r,"default",{value:e,enumerable:!0}):r,e)),y9=hs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===h||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===c||P.$$typeof===m||P.$$typeof===x||P.$$typeof===D||P.$$typeof===E||P.$$typeof===w)}R(b,"isValidElementType");function C(P){if(typeof P=="object"&&P!==null){var rt=P.$$typeof;switch(rt){case r:var xt=P.type;switch(xt){case d:case p:case a:case i:case o:case h:return xt;default:var Mr=xt&&xt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,$=i,j=o,U=h,V=!1;function G(P){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q(P)||C(P)===d}R(G,"isAsyncMode");function Q(P){return C(P)===p}R(Q,"isConcurrentMode");function ne(P){return C(P)===c}R(ne,"isContextConsumer");function J(P){return C(P)===s}R(J,"isContextProvider");function ie(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}R(ie,"isElement");function N(P){return C(P)===m}R(N,"isForwardRef");function K(P){return C(P)===a}R(K,"isFragment");function re(P){return C(P)===g}R(re,"isLazy");function fe(P){return C(P)===v}R(fe,"isMemo");function Ce(P){return C(P)===n}R(Ce,"isPortal");function Et(P){return C(P)===i}R(Et,"isProfiler");function He(P){return C(P)===o}R(He,"isStrictMode");function tt(P){return C(P)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=$,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=J,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=Et,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),b9=hs((e,t)=>{t.exports=y9()}),Y4=hs((e,t)=>{var r=b9(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k<b.length;++k){var A=b[k];if(!a[A]&&!(D&&D[A])&&!(S&&S[A])&&!(C&&C[A])){var _=h(x,A);try{d(w,A,_)}catch{}}}}return w}R(g,"hoistNonReactStatics"),t.exports=g}),w9=hs((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c<o.length;c++)i(o[c]);return i},"e")({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}R(o,"Similar"),o.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c<this.size;c++)i.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},o.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(d){var p=new o(!1),m=[];return function(h){var f=R(function(){var v=p,g,w,x=arguments.length-1,D=Array(x+1),E=!0,b;if((f.numArgs||f.numArgs===0)&&f.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<x;b++){if(D[b]={cacheItem:v,arg:arguments[b]},v.has(arguments[b])){v=v.get(arguments[b]);continue}E=!1,g=new o(!1),v.set(arguments[b],g),v=g}return E&&(v.has(arguments[x])?w=v.get(arguments[x]):E=!1),E||(w=h.apply(null,arguments),v.set(arguments[x],w)),d>0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v<m;v++){for(f=!0,g=0;g<h;g++)if(!c(d[v][g].arg,p[g].arg)){f=!1;break}if(f)break}d.push(d.splice(v,1)[0])}R(i,"moveToMostRecentLru");function s(d){var p=d.length,m=d[p-1],h,f;for(m.cacheItem.delete(m.arg),f=p-2;f>=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(null,arguments)}R(Pt,"_extends");function Kp(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}R(Kp,"memoize");var E9=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Jp=Kp(function(e){return E9.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function K4(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}R(K4,"sheetForTag");function J4(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}R(J4,"createStyleElement");var x9=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?!1:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}R(e,"StyleSheet");var t=e.prototype;return t.hydrate=R(function(r){r.forEach(this._insertTag)},"hydrate"),t.insert=R(function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(J4(this));var n=this.tags[this.tags.length-1],a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;if(a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
3
3
  `+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a,this.isSpeedy){var o=K4(n);try{o.insertRule(r,o.cssRules.length)}catch(i){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)||console.error('There was a problem inserting the following rule: "'+r+'"',i)}}else n.appendChild(document.createTextNode(r));this.ctr++},"insert"),t.flush=R(function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},"flush"),e}(),_e="-ms-",xl="-moz-",te="-webkit-",Zp="comm",Xp="rule",Qp="decl",D9="@import",Z4="@keyframes",C9="@layer",S9=Math.abs,ms=String.fromCharCode,k9=Object.assign;function X4(e,t){return we(e,0)^45?(((t<<2^we(e,0))<<2^we(e,1))<<2^we(e,2))<<2^we(e,3):0}R(X4,"hash");function e1(e){return e.trim()}R(e1,"trim");function Q4(e,t){return(e=t.exec(e))?e[0]:e}R(Q4,"match");function ee(e,t,r){return e.replace(t,r)}R(ee,"replace");function Dl(e,t){return e.indexOf(t)}R(Dl,"indexof");function we(e,t){return e.charCodeAt(t)|0}R(we,"charat");function oa(e,t,r){return e.slice(t,r)}R(oa,"substr");function lt(e){return e.length}R(lt,"strlen");function gs(e){return e.length}R(gs,"sizeof");function ao(e,t){return t.push(e),e}R(ao,"append");function ey(e,t){return e.map(t).join("")}R(ey,"combine");var vs=1,ia=1,ty=0,Pe=0,de=0,Sa="";function Yo(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:vs,column:ia,length:i,return:""}}R(Yo,"node");function Pn(e,t){return k9(Yo("",null,null,"",null,null,0),e,{length:-e.length},t)}R(Pn,"copy");function ry(){return de}R(ry,"char");function ny(){return de=Pe>0?we(Sa,--Pe):0,ia--,de===10&&(ia=1,vs--),de}R(ny,"prev");function Oe(){return de=Pe<ty?we(Sa,Pe++):0,ia++,de===10&&(ia=1,vs++),de}R(Oe,"next");function dt(){return we(Sa,Pe)}R(dt,"peek");function yo(){return Pe}R(yo,"caret");function ka(e,t){return oa(Sa,e,t)}R(ka,"slice");function la(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}R(la,"token");function t1(e){return vs=ia=1,ty=lt(Sa=e),Pe=0,[]}R(t1,"alloc");function r1(e){return Sa="",e}R(r1,"dealloc");function bo(e){return e1(ka(Pe-1,Cl(e===91?e+2:e===40?e+1:e)))}R(bo,"delimit");function ay(e){for(;(de=dt())&&de<33;)Oe();return la(e)>2||la(de)>3?"":" "}R(ay,"whitespace");function oy(e,t){for(;--t&&Oe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return ka(e,yo()+(t<6&&dt()==32&&Oe()==32))}R(oy,"escaping");function Cl(e){for(;Oe();)switch(de){case e:return Pe;case 34:case 39:e!==34&&e!==39&&Cl(de);break;case 40:e===41&&Cl(e);break;case 92:Oe();break}return Pe}R(Cl,"delimiter");function iy(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&dt()===47););return"/*"+ka(t,Pe-1)+"*"+ms(e===47?e:Oe())}R(iy,"commenter");function ly(e){for(;!la(dt());)Oe();return ka(e,Pe)}R(ly,"identifier");function sy(e){return r1(wo("",null,null,null,[""],e=t1(e),0,[0],e))}R(sy,"compile");function wo(e,t,r,n,a,o,i,s,c){for(var d=0,p=0,m=i,h=0,f=0,v=0,g=1,w=1,x=1,D=0,E="",b=a,C=o,S=n,k=E;w;)switch(v=D,D=Oe()){case 40:if(v!=108&&we(k,m-1)==58){Dl(k+=ee(bo(D),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=bo(D);break;case 9:case 10:case 13:case 32:k+=ay(v);break;case 92:k+=oy(yo()-1,7);continue;case 47:switch(dt()){case 42:case 47:ao(uy(iy(Oe(),yo()),t,r),c);break;default:k+="/"}break;case 123*g:s[d++]=lt(k)*x;case 125*g:case 59:case 0:switch(D){case 0:case 125:w=0;case 59+p:x==-1&&(k=ee(k,/\f/g,"")),f>0&&lt(k)-m&&ao(f>32?X0(k+";",n,r,m-1):X0(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(ao(S=Z0(k,t,r,d,p,a,s,E,b=[],C=[],m),o),D===123)if(p===0)wo(k,t,S,S,b,o,m,s,C);else switch(h===99&&we(k,3)===110?100:h){case 100:case 108:case 109:case 115:wo(e,S,S,n&&ao(Z0(e,S,S,0,0,a,s,E,a,b=[],m),C),a,C,m,s,n?b:C);break;default:wo(k,S,S,S,[""],C,0,s,C)}}d=p=f=0,g=x=1,E=k="",m=i;break;case 58:m=1+lt(k),f=v;default:if(g<1){if(D==123)--g;else if(D==125&&g++==0&&ny()==125)continue}switch(k+=ms(D),D*g){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[d++]=(lt(k)-1)*x,x=1;break;case 64:dt()===45&&(k+=bo(Oe())),h=dt(),p=m=lt(E=k+=ly(yo())),D++;break;case 45:v===45&&lt(k)==2&&(g=0)}}return o}R(wo,"parse");function Z0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=gs(h),v=0,g=0,w=0;v<n;++v)for(var x=0,D=oa(e,m+1,m=S9(g=i[v])),E=e;x<f;++x)(E=e1(g>0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Yo(e,t,r,a===0?Xp:s,c,d,p)}R(Z0,"ruleset");function uy(e,t,r){return Yo(e,t,r,Zp,ms(ry()),oa(e,2,-2),0)}R(uy,"comment");function X0(e,t,r,n){return Yo(e,t,r,Qp,oa(e,0,n),oa(e,n+1,-1),n)}R(X0,"declaration");function an(e,t){for(var r="",n=gs(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}R(an,"serialize");function cy(e,t,r,n){switch(e.type){case C9:if(e.children.length)break;case D9:case Qp:return e.return=e.return||e.value;case Zp:return"";case Z4:return e.return=e.value+"{"+an(e.children,n)+"}";case Xp:e.value=e.props.join(",")}return lt(r=an(e.children,n))?e.return=e.value+"{"+r+"}":""}R(cy,"stringify");function dy(e){var t=gs(e);return function(r,n,a,o){for(var i="",s=0;s<t;s++)i+=e[s](r,n,a,o)||"";return i}}R(dy,"middleware");var fh=R(function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},"weakMemoize"),A9=R(function(e,t,r){for(var n=0,a=0;n=a,a=dt(),n===38&&a===12&&(t[r]=1),!la(a);)Oe();return ka(e,Pe)},"identifierWithPointTracking"),F9=R(function(e,t){var r=-1,n=44;do switch(la(n)){case 0:n===38&&dt()===12&&(t[r]=1),e[r]+=A9(Pe-1,t,r);break;case 2:e[r]+=bo(n);break;case 4:if(n===44){e[++r]=dt()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ms(n)}while(n=Oe());return e},"toRules"),_9=R(function(e,t){return r1(F9(t1(e),t))},"getRules"),hh=new WeakMap,R9=R(function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!hh.get(r))&&!n){hh.set(e,!0);for(var a=[],o=_9(t,a),i=r.props,s=0,c=0;s<o.length;s++)for(var d=0;d<i.length;d++,c++)e.props[c]=a[s]?o[s].replace(/&\f/g,i[d]):i[d]+" "+o[s]}}},"compat"),I9=R(function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},"removeLabel"),B9="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",T9=R(function(e){return e.type==="comm"&&e.children.indexOf(B9)>-1},"isIgnoringComment"),z9=R(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var c=i[s];if(c.line<t.line)break;if(c.column<t.column){if(T9(c))return;break}}a.forEach(function(d){console.error('The pseudo class "'+d+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+d.split("-child")[0]+'-of-type".')})}}}},"createUnsafeSelectorsAlarm"),py=R(function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},"isImportRule"),L9=R(function(e,t){for(var r=e-1;r>=0;r--)if(!py(t[r]))return!0;return!1},"isPrependedWithRegularRules"),mh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),O9=R(function(e,t,r){py(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),mh(e)):L9(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),mh(e)))},"incorrectImportAlarm");function n1(e,t){switch(X4(e,t)){case 5103:return te+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+xl+e+_e+e+e;case 6828:case 4268:return te+e+_e+e+e;case 6165:return te+e+_e+"flex-"+e+e;case 5187:return te+e+ee(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+_e+"flex-$1$2")+e;case 5443:return te+e+_e+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return te+e+_e+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+_e+ee(e,"shrink","negative")+e;case 5292:return te+e+_e+ee(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ee(e,"-grow","")+te+e+_e+ee(e,"grow","positive")+e;case 4554:return te+ee(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+_e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,te+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(lt(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dl(e,"stretch")?n1(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,lt(e)-3-(~Dl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}R(n1,"prefix");var M9=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Qp:e.return=n1(e.value,e.length);break;case Z4:return an([Pn(e,{value:ee(e.value,"@","@"+te)})],n);case Xp:if(e.length)return ey(e.props,function(a){switch(Q4(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([Pn(e,{props:[ee(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return an([Pn(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),Pn(e,{props:[ee(a,/:(plac\w+)/,":"+xl+"$1")]}),Pn(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),$9=[M9],P9=R(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
4
4
  If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||$9;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),w=1;w<g.length;w++)a[g[w]]=!0;i.push(v)});var s,c=[R9,I9];c.push(z9({get compat(){return f.compat}}),O9);{var d,p=[cy,function(v){v.root||(v.return?d.insert(v.return):v.value&&v.type!==Zp&&d.insert(v.value+"{}"))}],m=dy(c.concat(n,p)),h=R(function(v){return an(sy(v),m)},"stylis");s=R(function(v,g,w,x){d=w,g.map!==void 0&&(d={insert:R(function(D){w.insert(D+g.map)},"insert")}),h(v?v+"{"+g.styles+"}":g.styles),x&&(f.inserted[g.name]=!0)},"insert")}var f={key:t,sheet:new x9({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return f.sheet.hydrate(i),f},"createCache"),N9=Yp(Y4()),H9=R(function(e,t){return(0,N9.default)(e,t)},"hoistNonReactStatics"),j9=!0;function ys(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}R(ys,"getRegisteredStyles");var bs=R(function(e,t,r){var n=e.key+"-"+t.name;(r===!1||j9===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},"registerStyles"),ws=R(function(e,t,r){bs(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}},"insertStyles");function fy(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}R(fy,"murmur2");var V9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gh=`You have illegal escape sequence in your template literal, most likely inside content's property value.
5
5
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
@@ -529,7 +529,7 @@ ${t}`);let r=t.match(YT);if(!r)return y.createElement(l.Fragment,null,t);let[,n,
529
529
  overflow: hidden;
530
530
  font-family: ${zt.fonts.mono};
531
531
  font-size: ${zt.size.s2-1}px;
532
- `;var pL=q8;Object.keys(q8).forEach(e=>{l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var fL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),hL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.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}))),mL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),gL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.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}))),vL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),yL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),Bp=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),SV=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),bL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),wL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.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}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),_x=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),kL=Object.create,Rx=Object.defineProperty,AL=Object.getOwnPropertyDescriptor,FL=Object.getOwnPropertyNames,_L=Object.getPrototypeOf,RL=Object.prototype.hasOwnProperty,IL=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),BL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of FL(t))!RL.call(e,a)&&a!==r&&Rx(e,a,{get:()=>t[a],enumerable:!(n=AL(t,a))||n.enumerable});return e},TL=(e,t,r)=>(r=e!=null?kL(_L(e)):{},BL(!e||!e.__esModule?Rx(r,"default",{value:e,enumerable:!0}):r,e)),zL=IL(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(s,c,d){var p,m,h,f=t.call(s),v=t.call(c);if(s===c)return!0;if(s==null||c==null)return!1;if(d.indexOf(s)>-1&&d.indexOf(c)>-1)return!0;if(d.push(s,c),f!=v||(p=n(s),m=n(c),p.length!=m.length||p.some(function(g){return!i(s[g],c[g],d)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==c.valueOf();case"Date":case"Number":return+s==+c||+s!=+s&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+c;case"Set":case"Map":p=s.entries(),m=c.entries();do if(!i((h=p.next()).value,m.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),c=new Uint8Array(c);case"DataView":s=new Uint8Array(s.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=c.length)return!1;for(h=0;h<s.length;h++)if((h in s||h in c)&&(h in s!=h in c||!i(s[h],c[h],d)))return!1;return!0;case"Object":return i(r(s),r(c),d);default:return!1}}(a,o,[])}}()}),m4=TL(zL()),Ix=e=>e.map(t=>typeof t<"u").filter(Boolean).length,LL=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Ix([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,m4.isEqual)(t,n);if(typeof a<"u")return!(0,m4.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},OL=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Ix([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return LL(e.if,o)};const{deprecate:ML,once:$L,logger:Kf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:g4,composeConfigs:kV,Preview:AV,DocsContext:FV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:v4,UPDATE_STORY_ARGS:PL,RESET_STORY_ARGS:NL,GLOBALS_UPDATED:y4,NAVIGATE_URL:HL}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var Bx=mn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&&xi;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c<o.length;c++)i(o[c]);return i}({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c<this.size;c++)i.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},o.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(d){var p=new o(!1),m=[];return function(h){var f=function(){var v=p,g,w,x=arguments.length-1,D=Array(x+1),E=!0,b;if((f.numArgs||f.numArgs===0)&&f.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<x;b++){if(D[b]={cacheItem:v,arg:arguments[b]},v.has(arguments[b])){v=v.get(arguments[b]);continue}E=!1,g=new o(!1),v.set(arguments[b],g),v=g}return E&&(v.has(arguments[x])?w=v.get(arguments[x]):E=!1),E||(w=h.apply(null,arguments),v.set(arguments[x],w)),d>0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v<m;v++){for(f=!0,g=0;g<h;g++)if(!c(d[v][g].arg,p[g].arg)){f=!1;break}if(f)break}d.push(d.splice(v,1)[0])}function s(d){var p=d.length,m=d[p-1],h,f;for(m.cacheItem.delete(m.arg),f=p-2;f>=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),jL=mn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),VL=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(b,C){var S=C.appendChild(m(b));if(b.children.length){var k=h(b.isCollapsed);b.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(b,C){var S=!1,k=h(S);if(C.forEach(function(A){d(A,k)}),i=b||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(k)}function m(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),k=r.listClass+c+r.extraListClasses;return b&&(k=k+c+r.collapsibleClass,k=k+c+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function v(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=v(b.offsetParent))),C}function g(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,k;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>C+r.headingsOffset+10){var $=O===0?O:O-1;return k=S[$],!0}else if(O===S.length-1)return k=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var I=i.querySelectorAll("."+r.linkClass);n.call(I,function(M){g(M,M.className.replace(c+r.activeLinkClass,""))});var B=i.querySelectorAll("."+r.listItemClass);n.call(B,function(M){g(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(g(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),UL=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function c(m,h){for(var f=s(m),v=f.headingLevel,g=h,w=a(g),x=w?w.headingLevel:0,D=v-x;D>0&&(w=a(g),!(w&&v===w.headingLevel));)w&&w.children!==void 0&&(g=w.children),D--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=s(f);return v&&c(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),qL=mn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),WL=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,i.easing(m,o,c,d)),m<d?requestAnimationFrame(h):f()}function f(){window.scrollTo(0,o+c),typeof i.callback=="function"&&i.callback()}function v(g,w,x,D){return g/=D/2,g<1?x/2*g*g+w:(g--,-x/2*(g*(g-2)-1)+w)}}}}),GL=mn({"../../node_modules/tocbot/src/js/index.js"(e,t){(function(r,n){typeof define=="function"&&define.amd?define([],n(r)):typeof e=="object"?t.exports=n(r):r.tocbot=n(r)})(typeof global<"u"?global:window||global,function(r){var n=jL(),a={},o={},i=VL(),s=UL(),c=qL(),d,p,m=!!r&&!!r.document&&!!r.document.querySelector&&!!r.addEventListener;if(typeof window>"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E<arguments.length;E++){var b=arguments[E];for(var C in b)f.call(b,C)&&(D[C]=b[C])}return D}function g(D,E,b){E||(E=250);var C,S;return function(){var k=this,A=+new Date,_=arguments;C&&A<C+E?(clearTimeout(S),S=setTimeout(function(){C=A,D.apply(k,_)},E)):(C=A,D.apply(k,_))}}function w(D){try{return D.contentElement||document.querySelector(D.contentSelector)}catch{return console.warn("Contents element not found: "+D.contentSelector),null}}function x(D){try{return D.tocElement||document.querySelector(D.tocSelector)}catch{return console.warn("TOC element not found: "+D.tocSelector),null}}return o.destroy=function(){var D=x(a);D!==null&&(a.skipRendering||D&&(D.innerHTML=""),a.scrollContainer&&document.querySelector(a.scrollContainer)?(document.querySelector(a.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(a.scrollContainer).removeEventListener("resize",this._scrollListener,!1),d&&document.querySelector(a.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),d&&document.removeEventListener("click",this._clickListener,!1)))},o.init=function(D){if(m){a=v(n,D||{}),this.options=a,this.state={},a.scrollSmooth&&(a.duration=a.scrollSmoothDuration,a.offset=a.scrollSmoothOffset,o.scrollSmooth=WL().initSmoothScrolling(a)),d=i(a),p=s(a),this._buildHtml=d,this._parseContent=p,this._headingsArray=h,o.destroy();var E=w(a);if(E!==null){var b=x(a);if(b!==null&&(h=p.selectHeadings(E,a.headingSelector),h!==null)){var C=p.nestHeadingsArray(h),S=C.nest;if(!a.skipRendering)d.render(b,S);else return this;this._scrollListener=g(function(A){d.updateToc(h),!a.disableTocScrollSync&&c(a);var _=A&&A.target&&A.target.scrollingElement&&A.target.scrollingElement.scrollTop===0;(A&&(A.eventPhase===0||A.currentTarget===null)||_)&&(d.updateToc(h),a.scrollEndCallback&&a.scrollEndCallback(A))},a.throttleTimeout),this._scrollListener(),a.scrollContainer&&document.querySelector(a.scrollContainer)?(document.querySelector(a.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(a.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var k=null;return this._clickListener=g(function(A){a.scrollSmooth&&d.disableTocAnimation(A),d.updateToc(h),k&&clearTimeout(k),k=setTimeout(function(){d.enableTocAnimation()},a.scrollSmoothDuration)},a.throttleTimeout),a.scrollContainer&&document.querySelector(a.scrollContainer)?document.querySelector(a.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}}}},o.refresh=function(D){o.destroy(),o.init(D||this.options)},r.tocbot=o,o})}});function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Da.apply(null,arguments)}function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wo(e,t){return Wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Wo(e,t)}function KL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wo(e,t)}function Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tp(e)}function JL(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Tx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Tx=function(){return!!e})()}function ZL(e,t,r){if(Tx())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Wo(a,r.prototype),a}function zp(e){var t=typeof Map=="function"?new Map:void 0;return zp=function(r){if(r===null||!JL(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return ZL(r,arguments,Tp(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Wo(n,r)},zp(e)}var Ot=function(e){KL(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,YL(n)}return t}(zp(Error));function N0(e){return Math.round(e*255)}function XL(e,t,r){return N0(e)+","+N0(t)+","+N0(r)}function ps(e,t,r,n){if(n===void 0&&(n=XL),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,c=0,d=0;a>=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var b4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function QL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return b4[t]?"#"+b4[t]:e}var eO=/^#[a-fA-F0-9]{6}$/,tO=/^#[a-fA-F0-9]{8}$/,rO=/^#[a-fA-F0-9]{3}$/,nO=/^#[a-fA-F0-9]{4}$/,H0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,aO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,oO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,iO=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function cu(e){if(typeof e!="string")throw new Ot(3);var t=QL(e);if(t.match(eO))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(tO)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(rO))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(nO)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=H0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=aO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=oO.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ps(s,c,d)+")",m=H0.exec(p);if(!m)throw new Ot(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=iO.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+ps(f,v,g)+")",x=H0.exec(w);if(!x)throw new Ot(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ot(5)}function lO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r<n?6:0);break;case r:s=(n-t)/c+2;break;default:s=(t-r)/c+4;break}return s*=60,e.alpha!==void 0?{hue:s,saturation:d,lightness:i,alpha:e.alpha}:{hue:s,saturation:d,lightness:i}}function zx(e){return lO(cu(e))}var sO=function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},Lp=sO;function Yr(e){var t=e.toString(16);return t.length===1?"0"+t:t}function j0(e){return Yr(Math.round(e*255))}function uO(e,t,r){return Lp("#"+j0(e)+j0(t)+j0(r))}function Lx(e,t,r){return ps(e,t,r,uO)}function cO(e,t,r){if(typeof e=="object"&&t===void 0&&r===void 0)return Lx(e.hue,e.saturation,e.lightness);throw new Ot(1)}function dO(e,t,r,n){if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Lx(e.hue,e.saturation,e.lightness):"rgba("+ps(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ot(2)}function Ox(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Lp("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Lp("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Ot(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=cu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ox(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Ot(7)}var pO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},fO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},hO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},mO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Mx(e){if(typeof e!="object")throw new Ot(8);if(fO(e))return nr(e);if(pO(e))return Ox(e);if(mO(e))return dO(e);if(hO(e))return cO(e);throw new Ot(8)}function $x(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$x(e,t,n)}}function du(e){return $x(e,e.length,[])}function pu(e,t,r){return Math.max(e,Math.min(t,r))}function gO(e,t){if(t==="transparent")return t;var r=zx(t);return Mx(Da({},r,{lightness:pu(0,1,r.lightness-parseFloat(e))}))}var vO=du(gO),Rt=vO;function yO(e,t){if(t==="transparent")return t;var r=zx(t);return Mx(Da({},r,{lightness:pu(0,1,r.lightness+parseFloat(e))}))}var bO=du(yO),Kr=bO;function wO(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:pu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var EO=du(wO),Ji=EO;function xO(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:pu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var DO=du(xO),oe=DO,CO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Px=e=>y.createElement(CO,{...e,className:"docblock-emptyblock sb-unstyled"}),SO=F(Pf)(({theme:e})=>({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"}})),kO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Zi=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${rd}`]:{margin:0}})),AO=()=>y.createElement(kO,null,y.createElement(Zi,null),y.createElement(Zi,{style:{width:"80%"}}),y.createElement(Zi,{style:{width:"30%"}}),y.createElement(Zi,{style:{width:"80%"}})),Nx=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=by();if(e)return y.createElement(AO,null);if(t)return y.createElement(Px,null,t);let c=y.createElement(SO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?ed.dark:ed.light;return y.createElement(wy,{theme:td({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Jf=600,FO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Jf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),_O=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Jf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),RO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={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"},"& code":{fontSize:"inherit"}},n={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"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,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}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",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}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,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"}},[he("span")]:{...t,"&.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"}}},[he("table")]:{...t,margin:"16px 0",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}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),IO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Jf}px)`]:{}})),BO=({children:e,toc:t})=>y.createElement(IO,{className:"sbdocs sbdocs-wrapper"},y.createElement(RO,{className:"sbdocs sbdocs-content"},e),t),fu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:TO}=globalThis,zO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=TO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},Hx=l.createContext({scale:1}),{PREVIEW_URL:LO}=globalThis,OO=LO||"iframe.html",Op=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,MO=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(XT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Op(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(jx,null),y.createElement("div",{ref:t,id:`${Op(e)}-inner`,"data-name":i.name}))},$O=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(Hx.Consumer,null,({scale:r})=>y.createElement(zO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:dL(OO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),PO=F.strong(({theme:e})=>({color:e.color.orange})),NO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(PO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Op(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(MO,{...e}):y.createElement($O,{...e}))},jx=()=>y.createElement(cL,null),HO=F(Yf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),jO=F.div({display:"flex",alignItems:"center",gap:4}),VO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),UO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(HO,{...o},y.createElement(jO,{key:"left"},e?[1,2,3].map(i=>y.createElement(VO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(fL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(mL,null))))),qO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),w4=F(Nx)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rt(.05,e.background.content)}})),WO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...fu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),GO=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function YO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var KO=F(UO)({position:"absolute",top:0,left:0,right:0,height:40}),JO=F.div({overflow:"hidden",position:"relative"}),Vx=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=GO(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await qp(async()=>{const{createCopyToClipboardFunction:B}=await import("./index-Bn6FWhtY.js");return{createCopyToClipboardFunction:B}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(WO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(KO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:YO(n),baseUrl:"./iframe.html"}),y.createElement(Hx.Provider,{value:{scale:g}},y.createElement(JO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(qO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(UT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(E1,{actionItems:C}))),a&&m&&f)};F(Vx)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zr.apply(this,arguments)}var ZO=["children","options"],E4,x4;(function(e){e.blockQuote="0",e.breakLine="1",e.breakThematic="2",e.codeBlock="3",e.codeFenced="4",e.codeInline="5",e.footnote="6",e.footnoteReference="7",e.gfmTask="8",e.heading="9",e.headingSetext="10",e.htmlBlock="11",e.htmlComment="12",e.htmlSelfClosing="13",e.image="14",e.link="15",e.linkAngleBraceStyleDetector="16",e.linkBareUrlDetector="17",e.linkMailtoDetector="18",e.newlineCoalescer="19",e.orderedList="20",e.paragraph="21",e.ref="22",e.refImage="23",e.refLink="24",e.table="25",e.tableSeparator="26",e.text="27",e.textBolded="28",e.textEmphasized="29",e.textEscaped="30",e.textMarked="31",e.textStrikethroughed="32",e.unorderedList="33"})(E4||(E4={})),function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(x4||(x4={}));var D4=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),C4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},XO=["style","script"],QO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,eM=/mailto:/i,tM=/\n{2,}$/,Ux=/^(\s*>[\s\S]*?)(?=\n{2,})/,rM=/^ *> ?/gm,nM=/^ {2,}\n/,aM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,qx=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Wx=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,oM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,iM=/^(?:\n *)*\n/,lM=/\r\n?/g,sM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,uM=/^\[\^([^\]]+)]/,cM=/\f/g,dM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,pM=/^\s*?\[(x|\s)\]/,Gx=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Yx=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Kx=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Mp=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,fM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Jx=/^<!--[\s\S]*?(?:-->)/,hM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,$p=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,mM=/^\{.*\}$/,gM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,vM=/^<([^ >]+@[^ >]+)>/,yM=/^<([^ >]+:\/[^ >]+)>/,bM=/-([a-z])?/gi,Zx=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,wM=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,EM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,xM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,DM=/(\[|\])/g,CM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,SM=/\t/g,kM=/^ *\| */,AM=/(^ *\||\| *$)/g,FM=/ *$/,_M=/^ *:-+: *$/,RM=/^ *:-+ *$/,IM=/^ *-+: *$/,hu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",BM=new RegExp(`^([*_])\\1${hu}\\1\\1(?!\\1)`),TM=new RegExp(`^([*_])${hu}\\1(?!\\1|\\w)`),zM=new RegExp(`^==${hu}==`),LM=new RegExp(`^~~${hu}~~`),OM=/^\\([^0-9A-Za-z\s])/,MM=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,$M=/^\n+/,PM=/^([ \t]*)/,NM=/\\([^\\])/g,S4=/ *\n+$/,HM=/(?:^|\n)( *)$/,Zf="(?:\\d+\\.)",Xf="(?:[*+-])";function Xx(e){return"( *)("+(e===1?Zf:Xf)+") +"}var Qx=Xx(1),eD=Xx(2);function tD(e){return new RegExp("^"+(e===1?Qx:eD))}var jM=tD(1),VM=tD(2);function rD(e){return new RegExp("^"+(e===1?Qx:eD)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Zf:Xf)+" )[^\\n]*)*(\\n|$)","gm")}var nD=rD(1),aD=rD(2);function oD(e){let t=e===1?Zf:Xf;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var iD=oD(1),lD=oD(2);function k4(e,t){let r=t===1,n=r?iD:lD,a=r?nD:aD,o=r?jM:VM;return{match(i,s,c){let d=HM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(tM,`
532
+ `;var pL=q8;Object.keys(q8).forEach(e=>{l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var fL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),hL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.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}))),mL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),gL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.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}))),vL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),yL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),Bp=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),SV=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),bL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),wL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.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}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}),l.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}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),_x=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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}))),kL=Object.create,Rx=Object.defineProperty,AL=Object.getOwnPropertyDescriptor,FL=Object.getOwnPropertyNames,_L=Object.getPrototypeOf,RL=Object.prototype.hasOwnProperty,IL=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),BL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of FL(t))!RL.call(e,a)&&a!==r&&Rx(e,a,{get:()=>t[a],enumerable:!(n=AL(t,a))||n.enumerable});return e},TL=(e,t,r)=>(r=e!=null?kL(_L(e)):{},BL(!e||!e.__esModule?Rx(r,"default",{value:e,enumerable:!0}):r,e)),zL=IL(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(s,c,d){var p,m,h,f=t.call(s),v=t.call(c);if(s===c)return!0;if(s==null||c==null)return!1;if(d.indexOf(s)>-1&&d.indexOf(c)>-1)return!0;if(d.push(s,c),f!=v||(p=n(s),m=n(c),p.length!=m.length||p.some(function(g){return!i(s[g],c[g],d)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==c.valueOf();case"Date":case"Number":return+s==+c||+s!=+s&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+c;case"Set":case"Map":p=s.entries(),m=c.entries();do if(!i((h=p.next()).value,m.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),c=new Uint8Array(c);case"DataView":s=new Uint8Array(s.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=c.length)return!1;for(h=0;h<s.length;h++)if((h in s||h in c)&&(h in s!=h in c||!i(s[h],c[h],d)))return!1;return!0;case"Object":return i(r(s),r(c),d);default:return!1}}(a,o,[])}}()}),m4=TL(zL()),Ix=e=>e.map(t=>typeof t<"u").filter(Boolean).length,LL=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Ix([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,m4.isEqual)(t,n);if(typeof a<"u")return!(0,m4.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},OL=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Ix([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return LL(e.if,o)};const{deprecate:ML,once:$L,logger:Kf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:g4,composeConfigs:kV,Preview:AV,DocsContext:FV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:v4,UPDATE_STORY_ARGS:PL,RESET_STORY_ARGS:NL,GLOBALS_UPDATED:y4,NAVIGATE_URL:HL}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var Bx=mn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&&xi;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c<o.length;c++)i(o[c]);return i}({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(s=this.indexOf(i),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c<this.size;c++)i.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(i){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,i))return s;return-1},o.prototype.isEqual=function(i,s){return i===s||i!==i&&s!==s},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(d){var p=new o(!1),m=[];return function(h){var f=function(){var v=p,g,w,x=arguments.length-1,D=Array(x+1),E=!0,b;if((f.numArgs||f.numArgs===0)&&f.numArgs!==x+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(b=0;b<x;b++){if(D[b]={cacheItem:v,arg:arguments[b]},v.has(arguments[b])){v=v.get(arguments[b]);continue}E=!1,g=new o(!1),v.set(arguments[b],g),v=g}return E&&(v.has(arguments[x])?w=v.get(arguments[x]):E=!1),E||(w=h.apply(null,arguments),v.set(arguments[x],w)),d>0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v<m;v++){for(f=!0,g=0;g<h;g++)if(!c(d[v][g].arg,p[g].arg)){f=!1;break}if(f)break}d.push(d.splice(v,1)[0])}function s(d){var p=d.length,m=d[p-1],h,f;for(m.cacheItem.delete(m.arg),f=p-2;f>=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),jL=mn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),VL=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(b,C){var S=C.appendChild(m(b));if(b.children.length){var k=h(b.isCollapsed);b.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(b,C){var S=!1,k=h(S);if(C.forEach(function(A){d(A,k)}),i=b||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(k)}function m(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),k=r.listClass+c+r.extraListClasses;return b&&(k=k+c+r.collapsibleClass,k=k+c+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function v(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=v(b.offsetParent))),C}function g(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,k;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>C+r.headingsOffset+10){var $=O===0?O:O-1;return k=S[$],!0}else if(O===S.length-1)return k=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var I=i.querySelectorAll("."+r.linkClass);n.call(I,function(M){g(M,M.className.replace(c+r.activeLinkClass,""))});var B=i.querySelectorAll("."+r.listItemClass);n.call(B,function(M){g(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(g(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),UL=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function c(m,h){for(var f=s(m),v=f.headingLevel,g=h,w=a(g),x=w?w.headingLevel:0,D=v-x;D>0&&(w=a(g),!(w&&v===w.headingLevel));)w&&w.children!==void 0&&(g=w.children),D--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=s(f);return v&&c(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),qL=mn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),WL=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,i.easing(m,o,c,d)),m<d?requestAnimationFrame(h):f()}function f(){window.scrollTo(0,o+c),typeof i.callback=="function"&&i.callback()}function v(g,w,x,D){return g/=D/2,g<1?x/2*g*g+w:(g--,-x/2*(g*(g-2)-1)+w)}}}}),GL=mn({"../../node_modules/tocbot/src/js/index.js"(e,t){(function(r,n){typeof define=="function"&&define.amd?define([],n(r)):typeof e=="object"?t.exports=n(r):r.tocbot=n(r)})(typeof global<"u"?global:window||global,function(r){var n=jL(),a={},o={},i=VL(),s=UL(),c=qL(),d,p,m=!!r&&!!r.document&&!!r.document.querySelector&&!!r.addEventListener;if(typeof window>"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E<arguments.length;E++){var b=arguments[E];for(var C in b)f.call(b,C)&&(D[C]=b[C])}return D}function g(D,E,b){E||(E=250);var C,S;return function(){var k=this,A=+new Date,_=arguments;C&&A<C+E?(clearTimeout(S),S=setTimeout(function(){C=A,D.apply(k,_)},E)):(C=A,D.apply(k,_))}}function w(D){try{return D.contentElement||document.querySelector(D.contentSelector)}catch{return console.warn("Contents element not found: "+D.contentSelector),null}}function x(D){try{return D.tocElement||document.querySelector(D.tocSelector)}catch{return console.warn("TOC element not found: "+D.tocSelector),null}}return o.destroy=function(){var D=x(a);D!==null&&(a.skipRendering||D&&(D.innerHTML=""),a.scrollContainer&&document.querySelector(a.scrollContainer)?(document.querySelector(a.scrollContainer).removeEventListener("scroll",this._scrollListener,!1),document.querySelector(a.scrollContainer).removeEventListener("resize",this._scrollListener,!1),d&&document.querySelector(a.scrollContainer).removeEventListener("click",this._clickListener,!1)):(document.removeEventListener("scroll",this._scrollListener,!1),document.removeEventListener("resize",this._scrollListener,!1),d&&document.removeEventListener("click",this._clickListener,!1)))},o.init=function(D){if(m){a=v(n,D||{}),this.options=a,this.state={},a.scrollSmooth&&(a.duration=a.scrollSmoothDuration,a.offset=a.scrollSmoothOffset,o.scrollSmooth=WL().initSmoothScrolling(a)),d=i(a),p=s(a),this._buildHtml=d,this._parseContent=p,this._headingsArray=h,o.destroy();var E=w(a);if(E!==null){var b=x(a);if(b!==null&&(h=p.selectHeadings(E,a.headingSelector),h!==null)){var C=p.nestHeadingsArray(h),S=C.nest;if(!a.skipRendering)d.render(b,S);else return this;this._scrollListener=g(function(A){d.updateToc(h),!a.disableTocScrollSync&&c(a);var _=A&&A.target&&A.target.scrollingElement&&A.target.scrollingElement.scrollTop===0;(A&&(A.eventPhase===0||A.currentTarget===null)||_)&&(d.updateToc(h),a.scrollEndCallback&&a.scrollEndCallback(A))},a.throttleTimeout),this._scrollListener(),a.scrollContainer&&document.querySelector(a.scrollContainer)?(document.querySelector(a.scrollContainer).addEventListener("scroll",this._scrollListener,!1),document.querySelector(a.scrollContainer).addEventListener("resize",this._scrollListener,!1)):(document.addEventListener("scroll",this._scrollListener,!1),document.addEventListener("resize",this._scrollListener,!1));var k=null;return this._clickListener=g(function(A){a.scrollSmooth&&d.disableTocAnimation(A),d.updateToc(h),k&&clearTimeout(k),k=setTimeout(function(){d.enableTocAnimation()},a.scrollSmoothDuration)},a.throttleTimeout),a.scrollContainer&&document.querySelector(a.scrollContainer)?document.querySelector(a.scrollContainer).addEventListener("click",this._clickListener,!1):document.addEventListener("click",this._clickListener,!1),this}}}},o.refresh=function(D){o.destroy(),o.init(D||this.options)},r.tocbot=o,o})}});function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Da.apply(null,arguments)}function YL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wo(e,t){return Wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Wo(e,t)}function KL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wo(e,t)}function Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tp(e)}function JL(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Tx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Tx=function(){return!!e})()}function ZL(e,t,r){if(Tx())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Wo(a,r.prototype),a}function zp(e){var t=typeof Map=="function"?new Map:void 0;return zp=function(r){if(r===null||!JL(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return ZL(r,arguments,Tp(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Wo(n,r)},zp(e)}var Ot=function(e){KL(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,YL(n)}return t}(zp(Error));function N0(e){return Math.round(e*255)}function XL(e,t,r){return N0(e)+","+N0(t)+","+N0(r)}function ps(e,t,r,n){if(n===void 0&&(n=XL),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,c=0,d=0;a>=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var b4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function QL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return b4[t]?"#"+b4[t]:e}var eO=/^#[a-fA-F0-9]{6}$/,tO=/^#[a-fA-F0-9]{8}$/,rO=/^#[a-fA-F0-9]{3}$/,nO=/^#[a-fA-F0-9]{4}$/,H0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,aO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,oO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,iO=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function cu(e){if(typeof e!="string")throw new Ot(3);var t=QL(e);if(t.match(eO))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(tO)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(rO))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(nO)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=H0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=aO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=oO.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ps(s,c,d)+")",m=H0.exec(p);if(!m)throw new Ot(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=iO.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+ps(f,v,g)+")",x=H0.exec(w);if(!x)throw new Ot(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ot(5)}function lO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r<n?6:0);break;case r:s=(n-t)/c+2;break;default:s=(t-r)/c+4;break}return s*=60,e.alpha!==void 0?{hue:s,saturation:d,lightness:i,alpha:e.alpha}:{hue:s,saturation:d,lightness:i}}function zx(e){return lO(cu(e))}var sO=function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},Lp=sO;function Yr(e){var t=e.toString(16);return t.length===1?"0"+t:t}function j0(e){return Yr(Math.round(e*255))}function uO(e,t,r){return Lp("#"+j0(e)+j0(t)+j0(r))}function Lx(e,t,r){return ps(e,t,r,uO)}function cO(e,t,r){if(typeof e=="object"&&t===void 0&&r===void 0)return Lx(e.hue,e.saturation,e.lightness);throw new Ot(1)}function dO(e,t,r,n){if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Lx(e.hue,e.saturation,e.lightness):"rgba("+ps(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ot(2)}function Ox(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Lp("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Lp("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Ot(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=cu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ox(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Ot(7)}var pO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},fO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},hO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},mO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Mx(e){if(typeof e!="object")throw new Ot(8);if(fO(e))return nr(e);if(pO(e))return Ox(e);if(mO(e))return dO(e);if(hO(e))return cO(e);throw new Ot(8)}function $x(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$x(e,t,n)}}function du(e){return $x(e,e.length,[])}function pu(e,t,r){return Math.max(e,Math.min(t,r))}function gO(e,t){if(t==="transparent")return t;var r=zx(t);return Mx(Da({},r,{lightness:pu(0,1,r.lightness-parseFloat(e))}))}var vO=du(gO),Rt=vO;function yO(e,t){if(t==="transparent")return t;var r=zx(t);return Mx(Da({},r,{lightness:pu(0,1,r.lightness+parseFloat(e))}))}var bO=du(yO),Kr=bO;function wO(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:pu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var EO=du(wO),Ji=EO;function xO(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:pu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var DO=du(xO),oe=DO,CO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Px=e=>y.createElement(CO,{...e,className:"docblock-emptyblock sb-unstyled"}),SO=F(Pf)(({theme:e})=>({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"}})),kO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Zi=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${rd}`]:{margin:0}})),AO=()=>y.createElement(kO,null,y.createElement(Zi,null),y.createElement(Zi,{style:{width:"80%"}}),y.createElement(Zi,{style:{width:"30%"}}),y.createElement(Zi,{style:{width:"80%"}})),Nx=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=by();if(e)return y.createElement(AO,null);if(t)return y.createElement(Px,null,t);let c=y.createElement(SO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?ed.dark:ed.light;return y.createElement(wy,{theme:td({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Jf=600,FO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Jf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),_O=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Jf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),RO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={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"},"& code":{fontSize:"inherit"}},n={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"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,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}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",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}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,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"}},[he("span")]:{...t,"&.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"}}},[he("table")]:{...t,margin:"16px 0",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}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),IO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Jf}px)`]:{}})),BO=({children:e,toc:t})=>y.createElement(IO,{className:"sbdocs sbdocs-wrapper"},y.createElement(RO,{className:"sbdocs sbdocs-content"},e),t),fu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:TO}=globalThis,zO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=TO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},Hx=l.createContext({scale:1}),{PREVIEW_URL:LO}=globalThis,OO=LO||"iframe.html",Op=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,MO=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(XT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Op(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(jx,null),y.createElement("div",{ref:t,id:`${Op(e)}-inner`,"data-name":i.name}))},$O=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(Hx.Consumer,null,({scale:r})=>y.createElement(zO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:dL(OO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),PO=F.strong(({theme:e})=>({color:e.color.orange})),NO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(PO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Op(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(MO,{...e}):y.createElement($O,{...e}))},jx=()=>y.createElement(cL,null),HO=F(Yf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),jO=F.div({display:"flex",alignItems:"center",gap:4}),VO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),UO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(HO,{...o},y.createElement(jO,{key:"left"},e?[1,2,3].map(i=>y.createElement(VO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(fL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(mL,null))))),qO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),w4=F(Nx)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rt(.05,e.background.content)}})),WO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...fu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),GO=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function YO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var KO=F(UO)({position:"absolute",top:0,left:0,right:0,height:40}),JO=F.div({overflow:"hidden",position:"relative"}),Vx=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=GO(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await qp(async()=>{const{createCopyToClipboardFunction:B}=await import("./index-Bh6REuwa.js");return{createCopyToClipboardFunction:B}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(WO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(KO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:YO(n),baseUrl:"./iframe.html"}),y.createElement(Hx.Provider,{value:{scale:g}},y.createElement(JO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(qO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(UT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(E1,{actionItems:C}))),a&&m&&f)};F(Vx)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zr.apply(this,arguments)}var ZO=["children","options"],E4,x4;(function(e){e.blockQuote="0",e.breakLine="1",e.breakThematic="2",e.codeBlock="3",e.codeFenced="4",e.codeInline="5",e.footnote="6",e.footnoteReference="7",e.gfmTask="8",e.heading="9",e.headingSetext="10",e.htmlBlock="11",e.htmlComment="12",e.htmlSelfClosing="13",e.image="14",e.link="15",e.linkAngleBraceStyleDetector="16",e.linkBareUrlDetector="17",e.linkMailtoDetector="18",e.newlineCoalescer="19",e.orderedList="20",e.paragraph="21",e.ref="22",e.refImage="23",e.refLink="24",e.table="25",e.tableSeparator="26",e.text="27",e.textBolded="28",e.textEmphasized="29",e.textEscaped="30",e.textMarked="31",e.textStrikethroughed="32",e.unorderedList="33"})(E4||(E4={})),function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(x4||(x4={}));var D4=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),C4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},XO=["style","script"],QO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,eM=/mailto:/i,tM=/\n{2,}$/,Ux=/^(\s*>[\s\S]*?)(?=\n{2,})/,rM=/^ *> ?/gm,nM=/^ {2,}\n/,aM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,qx=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Wx=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,oM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,iM=/^(?:\n *)*\n/,lM=/\r\n?/g,sM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,uM=/^\[\^([^\]]+)]/,cM=/\f/g,dM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,pM=/^\s*?\[(x|\s)\]/,Gx=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Yx=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Kx=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Mp=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,fM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Jx=/^<!--[\s\S]*?(?:-->)/,hM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,$p=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,mM=/^\{.*\}$/,gM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,vM=/^<([^ >]+@[^ >]+)>/,yM=/^<([^ >]+:\/[^ >]+)>/,bM=/-([a-z])?/gi,Zx=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,wM=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,EM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,xM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,DM=/(\[|\])/g,CM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,SM=/\t/g,kM=/^ *\| */,AM=/(^ *\||\| *$)/g,FM=/ *$/,_M=/^ *:-+: *$/,RM=/^ *:-+ *$/,IM=/^ *-+: *$/,hu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",BM=new RegExp(`^([*_])\\1${hu}\\1\\1(?!\\1)`),TM=new RegExp(`^([*_])${hu}\\1(?!\\1|\\w)`),zM=new RegExp(`^==${hu}==`),LM=new RegExp(`^~~${hu}~~`),OM=/^\\([^0-9A-Za-z\s])/,MM=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,$M=/^\n+/,PM=/^([ \t]*)/,NM=/\\([^\\])/g,S4=/ *\n+$/,HM=/(?:^|\n)( *)$/,Zf="(?:\\d+\\.)",Xf="(?:[*+-])";function Xx(e){return"( *)("+(e===1?Zf:Xf)+") +"}var Qx=Xx(1),eD=Xx(2);function tD(e){return new RegExp("^"+(e===1?Qx:eD))}var jM=tD(1),VM=tD(2);function rD(e){return new RegExp("^"+(e===1?Qx:eD)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Zf:Xf)+" )[^\\n]*)*(\\n|$)","gm")}var nD=rD(1),aD=rD(2);function oD(e){let t=e===1?Zf:Xf;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var iD=oD(1),lD=oD(2);function k4(e,t){let r=t===1,n=r?iD:lD,a=r?nD:aD,o=r?jM:VM;return{match(i,s,c){let d=HM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(tM,`
533
533
  `).match(a),m=!1;return{items:p.map(function(h,f){let v=o.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),w=h.replace(g,"").replace(o,""),x=f===p.length-1,D=w.indexOf(`
534
534
 
535
535
  `)!==-1||x&&m;m=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(S4,`
@@ -560,7 +560,7 @@ ${t}`);let r=t.match(YT);if(!r)return y.createElement(l.Fragment,null,t);let[,n,
560
560
  ${Rt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
561
561
  ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
562
562
  ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
563
- ${Kr(.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 ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),ED=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),X$=F(ED)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Q$=F.div({display:"flex",alignItems:"center",width:"100%"});function eP(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var tP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(d$(v.target.value))},p=t!==void 0,m=l.useMemo(()=>eP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(Q$,{"aria-readonly":h},y.createElement(ED,null,n),y.createElement(Z$,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(X$,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},rP=F.label({display:"flex"}),nP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),aP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:fs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(rP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(nP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},oP=F(yi.Input)({padding:10});function iP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var lP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),iP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(oP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},sP=l.lazy(()=>qp(()=>import("./Color-F6OSRLHC-DIVYeXSt.js"),__vite__mapDeps([8,2,1,3,4,5,6,7]),import.meta.url)),uP=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(sP,{...e})),cP={array:O4,object:O4,boolean:n$,color:uP,date:u$,number:f$,check:$n,"inline-check":$n,radio:$n,"inline-radio":$n,select:$n,"multi-select":$n,range:tP,text:aP,file:lP},M4=()=>y.createElement(y.Fragment,null,"-"),dP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(M4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=cP[o.type]||M4;return y.createElement(v,{...f,...o,controlType:o.type})},pP=F.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:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),fP=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(pP,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},hP=Wp(Bx()),Hp=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),mP=F.span(Lr,({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}})),gP=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),vP=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),yP=F.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"}})),bP=F(CL)({marginLeft:4}),wP=F(_x)({marginLeft:4}),EP=()=>y.createElement("span",null,"-"),xD=({text:e,simple:t})=>y.createElement(mP,{simple:t},e),xP=(0,hP.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),DP=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return n9(t)},P4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Hp)),r.map(n=>y.createElement(xD,{key:n,text:n===""?'""':n}))},CP=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(xD,{text:c});let d=DP(c),p=d.length;return p>Hp?y.createElement($4,{isExpanded:i},P4(d,i),y.createElement(gP,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Hp} more...`)):y.createElement($4,null,P4(d))}return y.createElement(Cz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(yP,{width:xP(n)},y.createElement(Pf,{language:"jsx",format:!1},n))},y.createElement(vP,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(bP,null):y.createElement(wP,null)))},Y0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(EP,null):y.createElement(CP,{value:e,initialExpandedArgs:t}),SP=F.span({fontWeight:"bold"}),kP=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),AP=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),FP=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),_P=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),RP=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),IP=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||IP(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(RP,{expandable:i},y.createElement(SP,null,c),f?y.createElement(kP,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(AP,null,y.createElement(uD,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(_P,{hasDescription:v},y.createElement(Y0,{value:m,initialExpandedArgs:s})),y.createElement(fP,{tags:p.jsDocTags})):y.createElement(FP,{hasDescription:v},y.createElement(Y0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(Y0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(dP,{...e,isHovered:t})):null)},BP=F.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,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),TP=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),zP=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),LP=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(BP,{inAddonPanel:e},y.createElement(Cx,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.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:y.createElement(TP,null,e&&y.createElement(y.Fragment,null,y.createElement(Io,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(yL,null)," Watch 5m video"),y.createElement(zP,null),y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Read docs")),!e&&y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Learn how to set that up"))}))},OP=F(xL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),MP=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),$P=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),PP=F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),NP=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),HP=F.td(()=>({position:"relative"})),jP=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),N4=F.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"})),K0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?NP:PP,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(jP,{title:p},y.createElement(s,{colSpan:1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement($P,null,o?y.createElement(OP,null):y.createElement(MP,null),t)),y.createElement(HP,{colSpan:a-1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],VP=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),UP=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{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:r?0:25,marginBottom:r?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"?oe(.25,e.color.defaultText):oe(.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:r?0:1,marginRight:r?0:1,tbody:{...r?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}`},...r?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}}}}})),qP=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),WP=F.span({display:"flex",justifyContent:"space-between"}),GP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},YP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=GP[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},KP=(e,t,r)=>{try{return OL(e,t,r)}catch(n){return $L.warn(n.message),!1}},jp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(Px,null,D," ",y.createElement(Io,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Read the docs"))}if(s)return y.createElement(VP,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=YP(a9(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&KP(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(LP,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(H8,null,y.createElement(UP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(WP,null,"Control"," ",!s&&r&&y.createElement(qP,{onClick:()=>r(),title:"Reset controls"},y.createElement(SL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(K0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(K0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(K0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},JP=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(jp,{...r[0][1],...t}):y.createElement(eL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(jp,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(se,({theme:e})=>({...fu(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...fu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...fu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var ZP=e=>`anchor--${e}`,XP=({storyId:e,children:t})=>y.createElement("div",{id:ZP(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Yt=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Yt).resolveOf(e,t),QP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),eN=e=>{if(e)return typeof e=="string"?e.includes("-")?QP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function tN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var rN=Object.create,DD=Object.defineProperty,nN=Object.getOwnPropertyDescriptor,CD=Object.getOwnPropertyNames,aN=Object.getPrototypeOf,oN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[CD(e)[0]])((t={exports:{}}).exports,t),t.exports},iN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of CD(t))!oN.call(e,a)&&a!==r&&DD(e,a,{get:()=>t[a],enumerable:!(n=nN(t,a))||n.enumerable});return e},th=(e,t,r)=>(r=e!=null?rN(aN(e)):{},iN(!e||!e.__esModule?DD(r,"default",{value:e,enumerable:!0}):r,e)),lN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],sN=["detail"];function uN(e){let t=lN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&sN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var cN=Wp(Bx(),1),SD=et({"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 r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kD=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=SD();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),dN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f<m;f++)h.push("$"+f);if(d=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(p),s.prototype){var v=function(){};v.prototype=s.prototype,d.prototype=new v,v.prototype=null}return d}}}),rh=et({"node_modules/function-bind/index.js"(e,t){var r=dN();t.exports=Function.prototype.bind||r}}),pN=et({"node_modules/has/src/index.js"(e,t){var r=rh();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),AD=et({"node_modules/get-intrinsic/index.js"(e,t){var r,n=SyntaxError,a=Function,o=TypeError,i=function(z){try{return a('"use strict"; return ('+z+").constructor;")()}catch{}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch{s=null}var c=function(){throw new o},d=s?function(){try{return arguments.callee,c}catch{try{return s(arguments,"callee").get}catch{return c}}}():c,p=kD()(),m=Object.getPrototypeOf||function(z){return z.__proto__},h={},f=typeof Uint8Array>"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var $=z("%AsyncGenerator%");$&&(M=m($.prototype))}return v[L]=M,M},w={"%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"]},x=rh(),D=pN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function($,j,U,V){O[O.length]=U?C(V,_,"$1"):j||$}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var $=v[M];if($===h&&($=g(M)),typeof $>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:$}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",$=B("%"+O+"%",L),j=$.name,U=$.value,V=!1,G=$.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q<M.length;Q+=1){var J=M[Q],ie=S(J,0,1),N=S(J,-1);if((ie==='"'||ie==="'"||ie==="`"||N==='"'||N==="'"||N==="`")&&ie!==N)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!ne)&&(V=!0),O+="."+J,j="%"+O+"%",D(v,j))U=v[j];else if(U!=null){if(!(J in U)){if(!L)throw new o("base intrinsic for "+z+" exists, but the property is not available.");return}if(s&&Q+1>=M.length){var K=s(U,J);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[J]}else ne=D(U,J),U=U[J];ne&&!V&&(v[j]=U)}}return U}}}),fN=et({"node_modules/call-bind/index.js"(e,t){var r=rh(),n=AD(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),hN=et({"node_modules/call-bind/callBound.js"(e,t){var r=AD(),n=fN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),mN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=SD();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),gN=et({"node_modules/is-regex/index.js"(e,t){var r=hN(),n=mN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),vN=et({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),yN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kD()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),bN=th(gN()),wN=th(vN()),EN=th(yN());function xN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var DN=typeof global=="object"&&global&&global.Object===Object&&global,CN=DN,SN=typeof self=="object"&&self&&self.Object===Object&&self,kN=CN||SN||Function("return this")(),nh=kN,AN=nh.Symbol,Ca=AN,FD=Object.prototype,FN=FD.hasOwnProperty,_N=FD.toString,no=Ca?Ca.toStringTag:void 0;function RN(e){var t=FN.call(e,no),r=e[no];try{e[no]=void 0;var n=!0}catch{}var a=_N.call(e);return n&&(t?e[no]=r:delete e[no]),a}var IN=RN,BN=Object.prototype,TN=BN.toString;function zN(e){return TN.call(e)}var LN=zN,ON="[object Null]",MN="[object Undefined]",H4=Ca?Ca.toStringTag:void 0;function $N(e){return e==null?e===void 0?MN:ON:H4&&H4 in Object(e)?IN(e):LN(e)}var PN=$N,j4=Ca?Ca.prototype:void 0;j4&&j4.toString;function NN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _D=NN,HN="[object AsyncFunction]",jN="[object Function]",VN="[object GeneratorFunction]",UN="[object Proxy]";function qN(e){if(!_D(e))return!1;var t=PN(e);return t==jN||t==VN||t==HN||t==UN}var WN=qN,GN=nh["__core-js_shared__"],J0=GN,V4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function YN(e){return!!V4&&V4 in e}var KN=YN,JN=Function.prototype,ZN=JN.toString;function XN(e){if(e!=null){try{return ZN.call(e)}catch{}try{return e+""}catch{}}return""}var QN=XN,eH=/[\\^$.*+?()[\]{}|]/g,tH=/^\[object .+?Constructor\]$/,rH=Function.prototype,nH=Object.prototype,aH=rH.toString,oH=nH.hasOwnProperty,iH=RegExp("^"+aH.call(oH).replace(eH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lH(e){if(!_D(e)||KN(e))return!1;var t=WN(e)?iH:tH;return t.test(QN(e))}var sH=lH;function uH(e,t){return e==null?void 0:e[t]}var cH=uH;function dH(e,t){var r=cH(e,t);return sH(r)?r:void 0}var RD=dH;function pH(e,t){return e===t||e!==e&&t!==t}var fH=pH,hH=RD(Object,"create"),Go=hH;function mH(){this.__data__=Go?Go(null):{},this.size=0}var gH=mH;function vH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yH=vH,bH="__lodash_hash_undefined__",wH=Object.prototype,EH=wH.hasOwnProperty;function xH(e){var t=this.__data__;if(Go){var r=t[e];return r===bH?void 0:r}return EH.call(t,e)?t[e]:void 0}var DH=xH,CH=Object.prototype,SH=CH.hasOwnProperty;function kH(e){var t=this.__data__;return Go?t[e]!==void 0:SH.call(t,e)}var AH=kH,FH="__lodash_hash_undefined__";function _H(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Go&&t===void 0?FH:t,this}var RH=_H;function za(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}za.prototype.clear=gH;za.prototype.delete=yH;za.prototype.get=DH;za.prototype.has=AH;za.prototype.set=RH;var U4=za;function IH(){this.__data__=[],this.size=0}var BH=IH;function TH(e,t){for(var r=e.length;r--;)if(fH(e[r][0],t))return r;return-1}var gu=TH,zH=Array.prototype,LH=zH.splice;function OH(e){var t=this.__data__,r=gu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():LH.call(t,r,1),--this.size,!0}var MH=OH;function $H(e){var t=this.__data__,r=gu(t,e);return r<0?void 0:t[r][1]}var PH=$H;function NH(e){return gu(this.__data__,e)>-1}var HH=NH;function jH(e,t){var r=this.__data__,n=gu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var VH=jH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}La.prototype.clear=BH;La.prototype.delete=MH;La.prototype.get=PH;La.prototype.has=HH;La.prototype.set=VH;var UH=La,qH=RD(nh,"Map"),WH=qH;function GH(){this.size=0,this.__data__={hash:new U4,map:new(WH||UH),string:new U4}}var YH=GH;function KH(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var JH=KH;function ZH(e,t){var r=e.__data__;return JH(t)?r[typeof t=="string"?"string":"hash"]:r.map}var vu=ZH;function XH(e){var t=vu(this,e).delete(e);return this.size-=t?1:0,t}var QH=XH;function ej(e){return vu(this,e).get(e)}var tj=ej;function rj(e){return vu(this,e).has(e)}var nj=rj;function aj(e,t){var r=vu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var oj=aj;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oa.prototype.clear=YH;Oa.prototype.delete=QH;Oa.prototype.get=tj;Oa.prototype.has=nj;Oa.prototype.set=oj;var ID=Oa,ij="Expected a function";function ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ij);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(ah.Cache||ID),r}ah.Cache=ID;var lj=ah,sj=500;function uj(e){var t=lj(e,function(n){return r.size===sj&&r.clear(),n}),r=t.cache;return t}var cj=uj,dj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pj=/\\(\\)?/g;cj(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dj,function(r,n,a,o){t.push(a?o.replace(pj,"$1"):n||r)}),t});var fj=xN,hj=e=>{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!n&&!a?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?n=!0:e[i]==="/"&&e[i+1]!=="/"&&(a=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
563
+ ${Kr(.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 ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),ED=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),X$=F(ED)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Q$=F.div({display:"flex",alignItems:"center",width:"100%"});function eP(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var tP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(d$(v.target.value))},p=t!==void 0,m=l.useMemo(()=>eP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(Q$,{"aria-readonly":h},y.createElement(ED,null,n),y.createElement(Z$,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(X$,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},rP=F.label({display:"flex"}),nP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),aP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:fs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(rP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(nP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},oP=F(yi.Input)({padding:10});function iP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var lP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),iP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(oP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},sP=l.lazy(()=>qp(()=>import("./Color-F6OSRLHC-Cp9-dG6V.js"),__vite__mapDeps([8,2,1,3,4,5,6,7]),import.meta.url)),uP=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(sP,{...e})),cP={array:O4,object:O4,boolean:n$,color:uP,date:u$,number:f$,check:$n,"inline-check":$n,radio:$n,"inline-radio":$n,select:$n,"multi-select":$n,range:tP,text:aP,file:lP},M4=()=>y.createElement(y.Fragment,null,"-"),dP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(M4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=cP[o.type]||M4;return y.createElement(v,{...f,...o,controlType:o.type})},pP=F.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:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),fP=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(pP,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},hP=Wp(Bx()),Hp=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),mP=F.span(Lr,({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}})),gP=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),vP=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),yP=F.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"}})),bP=F(CL)({marginLeft:4}),wP=F(_x)({marginLeft:4}),EP=()=>y.createElement("span",null,"-"),xD=({text:e,simple:t})=>y.createElement(mP,{simple:t},e),xP=(0,hP.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),DP=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return n9(t)},P4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Hp)),r.map(n=>y.createElement(xD,{key:n,text:n===""?'""':n}))},CP=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(xD,{text:c});let d=DP(c),p=d.length;return p>Hp?y.createElement($4,{isExpanded:i},P4(d,i),y.createElement(gP,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Hp} more...`)):y.createElement($4,null,P4(d))}return y.createElement(Cz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(yP,{width:xP(n)},y.createElement(Pf,{language:"jsx",format:!1},n))},y.createElement(vP,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(bP,null):y.createElement(wP,null)))},Y0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(EP,null):y.createElement(CP,{value:e,initialExpandedArgs:t}),SP=F.span({fontWeight:"bold"}),kP=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),AP=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),FP=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),_P=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),RP=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),IP=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||IP(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(RP,{expandable:i},y.createElement(SP,null,c),f?y.createElement(kP,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(AP,null,y.createElement(uD,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(_P,{hasDescription:v},y.createElement(Y0,{value:m,initialExpandedArgs:s})),y.createElement(fP,{tags:p.jsDocTags})):y.createElement(FP,{hasDescription:v},y.createElement(Y0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(Y0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(dP,{...e,isHovered:t})):null)},BP=F.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,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),TP=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),zP=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),LP=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(BP,{inAddonPanel:e},y.createElement(Cx,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.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:y.createElement(TP,null,e&&y.createElement(y.Fragment,null,y.createElement(Io,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(yL,null)," Watch 5m video"),y.createElement(zP,null),y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Read docs")),!e&&y.createElement(Io,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Learn how to set that up"))}))},OP=F(xL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),MP=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),$P=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),PP=F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),NP=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),HP=F.td(()=>({position:"relative"})),jP=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),N4=F.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"})),K0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?NP:PP,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(jP,{title:p},y.createElement(s,{colSpan:1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement($P,null,o?y.createElement(OP,null):y.createElement(MP,null),t)),y.createElement(HP,{colSpan:a-1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Fe=[2,4,2,2],VP=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),UP=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{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:r?0:25,marginBottom:r?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"?oe(.25,e.color.defaultText):oe(.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:r?0:1,marginRight:r?0:1,tbody:{...r?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}`},...r?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}}}}})),qP=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),WP=F.span({display:"flex",justifyContent:"space-between"}),GP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},YP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=GP[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},KP=(e,t,r)=>{try{return OL(e,t,r)}catch(n){return $L.warn(n.message),!1}},jp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(Px,null,D," ",y.createElement(Io,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(Bp,null)," Read the docs"))}if(s)return y.createElement(VP,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=YP(a9(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&KP(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(LP,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(H8,null,y.createElement(UP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(WP,null,"Control"," ",!s&&r&&y.createElement(qP,{onClick:()=>r(),title:"Reset controls"},y.createElement(SL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(K0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(K0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(K0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},JP=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(jp,{...r[0][1],...t}):y.createElement(eL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(jp,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(se,({theme:e})=>({...fu(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...fu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...fu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var ZP=e=>`anchor--${e}`,XP=({storyId:e,children:t})=>y.createElement("div",{id:ZP(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Yt=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Yt).resolveOf(e,t),QP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),eN=e=>{if(e)return typeof e=="string"?e.includes("-")?QP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function tN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var rN=Object.create,DD=Object.defineProperty,nN=Object.getOwnPropertyDescriptor,CD=Object.getOwnPropertyNames,aN=Object.getPrototypeOf,oN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[CD(e)[0]])((t={exports:{}}).exports,t),t.exports},iN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of CD(t))!oN.call(e,a)&&a!==r&&DD(e,a,{get:()=>t[a],enumerable:!(n=nN(t,a))||n.enumerable});return e},th=(e,t,r)=>(r=e!=null?rN(aN(e)):{},iN(!e||!e.__esModule?DD(r,"default",{value:e,enumerable:!0}):r,e)),lN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],sN=["detail"];function uN(e){let t=lN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&sN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var cN=Wp(Bx(),1),SD=et({"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 r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kD=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=SD();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),dN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f<m;f++)h.push("$"+f);if(d=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(p),s.prototype){var v=function(){};v.prototype=s.prototype,d.prototype=new v,v.prototype=null}return d}}}),rh=et({"node_modules/function-bind/index.js"(e,t){var r=dN();t.exports=Function.prototype.bind||r}}),pN=et({"node_modules/has/src/index.js"(e,t){var r=rh();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),AD=et({"node_modules/get-intrinsic/index.js"(e,t){var r,n=SyntaxError,a=Function,o=TypeError,i=function(z){try{return a('"use strict"; return ('+z+").constructor;")()}catch{}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch{s=null}var c=function(){throw new o},d=s?function(){try{return arguments.callee,c}catch{try{return s(arguments,"callee").get}catch{return c}}}():c,p=kD()(),m=Object.getPrototypeOf||function(z){return z.__proto__},h={},f=typeof Uint8Array>"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var $=z("%AsyncGenerator%");$&&(M=m($.prototype))}return v[L]=M,M},w={"%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"]},x=rh(),D=pN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function($,j,U,V){O[O.length]=U?C(V,_,"$1"):j||$}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var $=v[M];if($===h&&($=g(M)),typeof $>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:$}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",$=B("%"+O+"%",L),j=$.name,U=$.value,V=!1,G=$.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q<M.length;Q+=1){var J=M[Q],ie=S(J,0,1),N=S(J,-1);if((ie==='"'||ie==="'"||ie==="`"||N==='"'||N==="'"||N==="`")&&ie!==N)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!ne)&&(V=!0),O+="."+J,j="%"+O+"%",D(v,j))U=v[j];else if(U!=null){if(!(J in U)){if(!L)throw new o("base intrinsic for "+z+" exists, but the property is not available.");return}if(s&&Q+1>=M.length){var K=s(U,J);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[J]}else ne=D(U,J),U=U[J];ne&&!V&&(v[j]=U)}}return U}}}),fN=et({"node_modules/call-bind/index.js"(e,t){var r=rh(),n=AD(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),hN=et({"node_modules/call-bind/callBound.js"(e,t){var r=AD(),n=fN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),mN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=SD();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),gN=et({"node_modules/is-regex/index.js"(e,t){var r=hN(),n=mN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),vN=et({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),yN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kD()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),bN=th(gN()),wN=th(vN()),EN=th(yN());function xN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var DN=typeof global=="object"&&global&&global.Object===Object&&global,CN=DN,SN=typeof self=="object"&&self&&self.Object===Object&&self,kN=CN||SN||Function("return this")(),nh=kN,AN=nh.Symbol,Ca=AN,FD=Object.prototype,FN=FD.hasOwnProperty,_N=FD.toString,no=Ca?Ca.toStringTag:void 0;function RN(e){var t=FN.call(e,no),r=e[no];try{e[no]=void 0;var n=!0}catch{}var a=_N.call(e);return n&&(t?e[no]=r:delete e[no]),a}var IN=RN,BN=Object.prototype,TN=BN.toString;function zN(e){return TN.call(e)}var LN=zN,ON="[object Null]",MN="[object Undefined]",H4=Ca?Ca.toStringTag:void 0;function $N(e){return e==null?e===void 0?MN:ON:H4&&H4 in Object(e)?IN(e):LN(e)}var PN=$N,j4=Ca?Ca.prototype:void 0;j4&&j4.toString;function NN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _D=NN,HN="[object AsyncFunction]",jN="[object Function]",VN="[object GeneratorFunction]",UN="[object Proxy]";function qN(e){if(!_D(e))return!1;var t=PN(e);return t==jN||t==VN||t==HN||t==UN}var WN=qN,GN=nh["__core-js_shared__"],J0=GN,V4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function YN(e){return!!V4&&V4 in e}var KN=YN,JN=Function.prototype,ZN=JN.toString;function XN(e){if(e!=null){try{return ZN.call(e)}catch{}try{return e+""}catch{}}return""}var QN=XN,eH=/[\\^$.*+?()[\]{}|]/g,tH=/^\[object .+?Constructor\]$/,rH=Function.prototype,nH=Object.prototype,aH=rH.toString,oH=nH.hasOwnProperty,iH=RegExp("^"+aH.call(oH).replace(eH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lH(e){if(!_D(e)||KN(e))return!1;var t=WN(e)?iH:tH;return t.test(QN(e))}var sH=lH;function uH(e,t){return e==null?void 0:e[t]}var cH=uH;function dH(e,t){var r=cH(e,t);return sH(r)?r:void 0}var RD=dH;function pH(e,t){return e===t||e!==e&&t!==t}var fH=pH,hH=RD(Object,"create"),Go=hH;function mH(){this.__data__=Go?Go(null):{},this.size=0}var gH=mH;function vH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yH=vH,bH="__lodash_hash_undefined__",wH=Object.prototype,EH=wH.hasOwnProperty;function xH(e){var t=this.__data__;if(Go){var r=t[e];return r===bH?void 0:r}return EH.call(t,e)?t[e]:void 0}var DH=xH,CH=Object.prototype,SH=CH.hasOwnProperty;function kH(e){var t=this.__data__;return Go?t[e]!==void 0:SH.call(t,e)}var AH=kH,FH="__lodash_hash_undefined__";function _H(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Go&&t===void 0?FH:t,this}var RH=_H;function za(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}za.prototype.clear=gH;za.prototype.delete=yH;za.prototype.get=DH;za.prototype.has=AH;za.prototype.set=RH;var U4=za;function IH(){this.__data__=[],this.size=0}var BH=IH;function TH(e,t){for(var r=e.length;r--;)if(fH(e[r][0],t))return r;return-1}var gu=TH,zH=Array.prototype,LH=zH.splice;function OH(e){var t=this.__data__,r=gu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():LH.call(t,r,1),--this.size,!0}var MH=OH;function $H(e){var t=this.__data__,r=gu(t,e);return r<0?void 0:t[r][1]}var PH=$H;function NH(e){return gu(this.__data__,e)>-1}var HH=NH;function jH(e,t){var r=this.__data__,n=gu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var VH=jH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}La.prototype.clear=BH;La.prototype.delete=MH;La.prototype.get=PH;La.prototype.has=HH;La.prototype.set=VH;var UH=La,qH=RD(nh,"Map"),WH=qH;function GH(){this.size=0,this.__data__={hash:new U4,map:new(WH||UH),string:new U4}}var YH=GH;function KH(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var JH=KH;function ZH(e,t){var r=e.__data__;return JH(t)?r[typeof t=="string"?"string":"hash"]:r.map}var vu=ZH;function XH(e){var t=vu(this,e).delete(e);return this.size-=t?1:0,t}var QH=XH;function ej(e){return vu(this,e).get(e)}var tj=ej;function rj(e){return vu(this,e).has(e)}var nj=rj;function aj(e,t){var r=vu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var oj=aj;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oa.prototype.clear=YH;Oa.prototype.delete=QH;Oa.prototype.get=tj;Oa.prototype.has=nj;Oa.prototype.set=oj;var ID=Oa,ij="Expected a function";function ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ij);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(ah.Cache||ID),r}ah.Cache=ID;var lj=ah,sj=500;function uj(e){var t=lj(e,function(n){return r.size===sj&&r.clear(),n}),r=t.cache;return t}var cj=uj,dj=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pj=/\\(\\)?/g;cj(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dj,function(r,n,a,o){t.push(a?o.replace(pj,"$1"):n||r)}),t});var fj=xN,hj=e=>{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i<e.length;i+=1)!t&&!r&&!n&&!a?e[i]==='"'||e[i]==="'"||e[i]==="`"?t=e[i]:e[i]==="/"&&e[i+1]==="*"?r=!0:e[i]==="/"&&e[i+1]==="/"?n=!0:e[i]==="/"&&e[i+1]!=="/"&&(a=!0):(t&&(e[i]===t&&e[i-1]!=="\\"||e[i]===`
564
564
  `&&t!=="`")&&(t=null),a&&(e[i]==="/"&&e[i-1]!=="\\"||e[i]===`
565
565
  `)&&(a=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]===`
566
566
  `&&(n=!1)),!r&&!n&&(o+=e[i]);else o=e;return o},mj=(0,cN.default)(1e4)(e=>hj(e).replace(/\n\s*/g,"").trim()),gj=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},vj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function BD(e){if(!fj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=uN(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var yj=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return vj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,bN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,wN.default)(i)){if(!e.allowFunction)return;let{name:d}=i,p=i.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${mj(gj(o,p))}`}if((0,EN.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:BD(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},bj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},wj=(e,t={})=>{let r={...bj,...t};return JSON.stringify(BD(e),yj(r),t.space)};function TD(e){return wj(e,{allowFunction:!1})}var zD=l.createContext({sources:{}}),LD="--unknown--",Ej=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:p,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,h=d?TD(d):LD;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:m}}}))};return t.on(dh,a),()=>t.off(dh,a)},[]),y.createElement(zD.Provider,{value:{sources:r}},e)},xj=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[TD(t)])||(a==null?void 0:a[LD])||{code:""}},Dj=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||wu.AUTO;if(o.code!==void 0)return o.code;let s=i===wu.DYNAMIC||i===wu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},Cj=(e,t,r)=>{var f,v,g,w;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=xj(n.id,m,r);return s=h.format??((w=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:w.format)??!1,{code:Dj({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function Sj(e,t){let r=kj([e],t);return r&&r[0]}function kj(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Aj=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},Fj=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},_j=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Yt),r=Aj(e,t),n=Sj(r,t);if(!n)return y.createElement(jx,null);let a=Fj(e,n,t);return a?y.createElement(NO,{...a}):null},Rj=e=>{var h,f,v,g,w,x,D,E,b,C;let t=l.useContext(Yt),r=l.useContext(zD),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=kn(n||"story",["story"]),i=Cj({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.className);return y.createElement(Vx,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(_j,{of:n||o.moduleExport,meta:e.meta,...e.story}))},Ij=(e,t)=>{let r=Bj(e,t);if(!r)throw new Error("No result when story was defined");return r},Bj=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(v4,c),()=>t.channel.off(v4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(PL,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(NL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Tj=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(y4,o),()=>t.channel.off(y4,o)},[t.channel]),[n]};function zj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Lj=e=>{var b;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Yt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((b=a.docs)==null?void 0:b.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,m=e.sort??c.sort,[h,f,v]=Ij(n,r),[g]=Tj(n,r),w=g4(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?y.createElement(jp,{rows:w,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let x=eN(i),D=Object.fromEntries(Object.entries(s).map(([C,S])=>[C,{rows:g4(zj(S,a),d,p),sort:m}])),E={[x]:{rows:w,sort:m},...D};return y.createElement(JP,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:OD}=globalThis,MD=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(j8,null,t);let n=e&&e.split("-");return y.createElement(Nx,{language:n&&n[1]||"text",format:!1,code:t,...r})};function oh(e,t){e.channel.emit(HL,t)}var Vp=pL.a,Oj=({hash:e,children:t})=>{let r=l.useContext(Yt);return y.createElement(Vp,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);OD.getElementById(a)&&oh(r,e)}},t)},$D=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Yt);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(Vp,{...e}):t.startsWith("#")?y.createElement(Oj,{hash:t},n):y.createElement(Vp,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),oh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},PD=["h1","h2","h3","h4","h5","h6"],Mj=PD.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),$j=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Pj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Yt),o=Mj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement($j,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{OD.getElementById(t)&&oh(a,i)}},y.createElement(EL,null)),r)},ih=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Pj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...le(s,t)})},ND=PD.reduce((e,t)=>({...e,[t]:r=>y.createElement(ih,{as:t,...r})}),{}),Nj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(YD`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'