2024-02-15 19:20:09 +01:00
import { _ as Fn } from "./iframe-e4327d0d.js" ; import { g as Ma , c as zu } from "./_commonjsHelpers-725317a4.js" ; import { L as V2 , O as Rv } from "./index-11d98b33.js" ; import { c as nn , d as U2 , f as k0 , g as q2 , h as Fv , j as W2 , k as _0 , l as Lv , m as Dv , n as Ji , o as O0 , i as al , b as G2 , p as Mv , q as Pv , r as Bv , s as Iv , t as Nv , u as jv , v as K2 , w as Hv , x as Zv , _ as zv , y as Vv , z as Uv , A as Y2 , B as X2 , S as I1 , C as Ks , a as Vu } from "./index-a04a29e8.js" ; import { d as Xe } from "./index-356e4a49.js" ; function qv ( e , t ) { for ( var r = 0 ; r < t . length ; r ++ ) { const n = t [ r ] ; if ( typeof n != "string" && ! Array . isArray ( n ) ) { for ( const a in n ) if ( a !== "default" && ! ( a in e ) ) { const o = Object . getOwnPropertyDescriptor ( n , a ) ; o && Object . defineProperty ( e , a , o . get ? o : { enumerable : ! 0 , get : ( ) => n [ a ] } ) } } } return Object . freeze ( Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) ) } var Q2 = { exports : { } } , Y = { } ; / * *
2024-02-08 10:52:22 +01:00
* @ license React
* react . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* /var ol=Symbol.for("react.element"),Wv=Symbol.for("react.portal"),Gv=Symbol.for("react.fragment"),Kv=Symbol.for("react.strict_mode"),Yv=Symbol.for("react.profiler"),Xv=Symbol.for("react.provider"),Qv=Symbol.for("react.context"),Jv=Symbol.for("react.forward_ref"),e3=Symbol.for("react.suspense"),t3=Symbol.for("react.memo"),r3=Symbol.for("react.lazy"),N1=Symbol.iterator;function n3(e){return e===null||typeof e!="object"?null:(e=N1&&e[N1]||e["@@iterator"],typeof e=="function"?e:null)}var J2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},e5=Object.assign,t5={};function Pa(e,t,r){this.props=e,this.context=t,this.refs=t5,this.updater=r||J2}Pa.prototype.isReactComponent={};Pa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Pa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function r5(){}r5.prototype=Pa.prototype;function T0(e,t,r){this.props=e,this.context=t,this.refs=t5,this.updater=r||J2}var $0=T0.prototype=new r5;$0.constructor=T0;e5($0,Pa.prototype);$0.isPureReactComponent=!0;var j1=Array.isArray,n5=Object.prototype.hasOwnProperty,R0={current:null},a5={key:!0,ref:!0,__self:!0,__source:!0};function o5(e,t,r){var n,a={},o=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)n5.call(t,n)&&!a5.hasOwnProperty(n)&&(a[n]=t[n]);var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)a[n]===void 0&&(a[n]=s[n]);return{$$typeof:ol,type:e,key:o,ref:l,props:a,_owner:R0.current}}function a3(e,t){return{$$typeof:ol,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function F0(e){return typeof e=="object"&&e!==null&&e.$$typeof===ol}function o3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/ [ = : ] / g , function ( r ) { return t [ r ] } ) } var H1 = /\/+/g ; function Uu ( e , t ) { return typeof e == "object" && e !== null && e . key != null ? o3 ( "" + e . key ) : t . toString ( 36 ) } function Kl ( e , t , r , n , a ) { var o = typeof e ; ( o === "undefined" || o === "boolean" ) && ( e = null ) ; var l = ! 1 ; if ( e === null ) l = ! 0 ; else switch ( o ) { case "string" : case "number" : l = ! 0 ; break ; case "object" : switch ( e . $$typeof ) { case ol : case Wv : l = ! 0 } } if ( l ) return l = e , a = a ( l ) , e = n === "" ? "." + Uu ( l , 0 ) : n , j1 ( a ) ? ( r = "" , e != null && ( r = e . replace ( H1 , "$&/" ) + "/" ) , Kl ( a , t , r , "" , function ( c ) { return c } ) ) : a != null && ( F0 ( a ) && ( a = a3 ( a , r + ( ! a . key || l && l . key === a . key ? "" : ( "" + a . key ) . replace ( H1 , "$&/" ) + "/" ) + e ) ) , t . push ( a ) ) , 1 ; if ( l = 0 , n = n === "" ? "." : n + ":" , j1 ( e ) ) for ( var s = 0 ; s < e . length ; s ++ ) { o = e [ s ] ; var u = n + Uu ( o , s ) ; l += Kl ( o , t , r , u , a ) } else if ( u = n3 ( e ) , typeof u == "function" ) for ( e = u . call ( e ) , s = 0 ; ! ( o = e . next ( ) ) . done ; ) o = o . value , u = n + Uu ( o , s ++ ) , l += Kl ( o , t , r , u , a ) ; else if ( o === "object" ) throw t = String ( e ) , Error ( "Objects are not valid as a React child (found: " + ( t === "[object Object]" ? "object with keys {" + Object . keys ( e ) . join ( ", " ) + "}" : t ) + "). If you meant to render a collection of children, use an array instead." ) ; return l } function wl ( e , t , r ) { if ( e == null ) return e ; var n = [ ] , a = 0 ; return Kl ( e , n , "" , "" , function ( o ) { return t . call ( r , o , a ++ ) } ) , n } function l3 ( e ) { if ( e . _status === - 1 ) { var t = e . _result ; t = t ( ) , t . then ( function ( r ) { ( e . _status === 0 || e . _status === - 1 ) && ( e . _status = 1 , e . _result = r ) } , function ( r ) { ( e . _status === 0 || e . _status === - 1 ) && ( e . _status = 2 , e . _result = r ) } ) , e . _status === - 1 && ( e . _status = 0 , e . _result = t ) } if ( e . _status === 1 ) return e . _result . default ; throw e . _result } var We = { current : null } , Yl = { transition : null } , i3 = { ReactCurrentDispatcher : We , ReactCurrentBatchConfig : Yl , ReactCurrentOwner : R0 } ; Y . Children = { map : wl , forEach : function ( e , t , r ) { wl ( e , function ( ) { t . apply ( this , arguments ) } , r ) } , count : function ( e ) { var t = 0 ; return wl ( e , function ( ) { t ++ } ) , t } , toArray : function ( e ) { return wl ( e , function ( t ) { return t } ) || [ ] } , only : function ( e ) { if ( ! F0 ( e ) ) throw Error ( "React.Children.only expected to receive a single React element child." ) ; return e } } ; Y . Component = Pa ; Y . Fragment = Gv ; Y . Profiler = Yv ; Y . Pure
` ,2: ` Passed invalid arguments to hsla , please pass multiple numbers e . g . hsla ( 360 , 0.75 , 0.4 , 0.7 ) or an object e . g . rgb ( { hue : 255 , saturation : 0.4 , lightness : 0.75 , alpha : 0.7 } ) .
` ,3: ` Passed an incorrect argument to a color function , please pass a string representation of a color .
` ,4: ` Couldn ' t generate valid rgb string from % s , it returned % s .
` ,5: ` Couldn ' t parse the color string . Please provide the color as a string in hex , rgb , rgba , hsl or hsla notation .
` ,6: ` Passed invalid arguments to rgb , please pass multiple numbers e . g . rgb ( 255 , 205 , 100 ) or an object e . g . rgb ( { red : 255 , green : 205 , blue : 100 } ) .
` ,7: ` Passed invalid arguments to rgba , please pass multiple numbers e . g . rgb ( 255 , 205 , 100 , 0.75 ) or an object e . g . rgb ( { red : 255 , green : 205 , blue : 100 , alpha : 0.75 } ) .
` ,8: ` Passed invalid argument to toColorString , please pass a RgbColor , RgbaColor , HslColor or HslaColor object .
` ,9: ` Please provide a number of steps to the modularScale helper .
` ,10: ` Please pass a number or one of the predefined scales to the modularScale helper as the ratio .
` ,11: ` Invalid value passed as base to modularScale , expected number or em string but got "%s"
` ,12: ` Expected a string ending in "px" or a number passed as the first argument to % s ( ) , got "%s" instead .
` ,13: ` Expected a string ending in "px" or a number passed as the second argument to % s ( ) , got "%s" instead .
` ,14: ` Passed invalid pixel value ( "%s" ) to % s ( ) , please pass a value like "12px" or 12.
` ,15: ` Passed invalid base value ( "%s" ) to % s ( ) , please pass a value like "12px" or 12.
` ,16: ` You must provide a template to this method .
` ,17: ` You passed an unsupported selector state to this method .
` ,18: ` minScreen and maxScreen must be provided as stringified numbers with the same units .
` ,19: ` fromSize and toSize must be provided as stringified numbers with the same units .
` ,20: ` expects either an array of objects or a single object with the properties prop , fromSize , and toSize .
` ,21:"expects the objects in the first argument array to have the properties ` prop ` , ` fromSize ` , and ` toSize ` . \n \n ",22:"expects the first argument object to have the properties ` prop ` , ` fromSize ` , and ` toSize ` . \n \n ",23: ` fontFace expects a name of a font - family .
` ,24: ` fontFace expects either the path to the font file ( s ) or a name of a local copy .
` ,25: ` fontFace expects localFonts to be an array .
` ,26: ` fontFace expects fileFormats to be an array .
` ,27: ` radialGradient requries at least 2 color - stops to properly render .
` ,28: ` Please supply a filename to retinaImage ( ) as the first argument .
` ,29: ` Passed invalid argument to triangle , please pass correct pointingDirection e . g . 'right' .
` ,30:"Passed an invalid value to ` height ` or ` width ` . Please provide a pixel based unit. \n \n ",31: ` The animation shorthand only takes 8 arguments . See the specification for more information : http : //mdn.io/animation
` ,32: ` To pass multiple animations please supply them in arrays , e . g . animation ( [ 'rotate' , '2s' ] , [ 'move' , '1s' ] )
To pass a single animation please supply them in simple values , e . g . animation ( 'rotate' , '2s' )
` ,33: ` The animation shorthand arrays can only have 8 elements . See the specification for more information : http : //mdn.io/animation
` ,34: ` borderRadius expects a radius value as a string or number as the second argument .
` ,35: ` borderRadius expects one of "top" , "bottom" , "left" or "right" as the first argument .
` ,36: ` Property must be a string value .
` ,37: ` Syntax Error at % s .
` ,38: ` Formula contains a function that needs parentheses at % s .
` ,39: ` Formula is missing closing parenthesis at % s .
` ,40: ` Formula has too many closing parentheses at % s .
` ,41: ` All values in a formula must have the same unit or be unitless .
` ,42: ` Please provide a number of steps to the modularScale helper .
` ,43: ` Please pass a number or one of the predefined scales to the modularScale helper as the ratio .
` ,44: ` Invalid value passed as base to modularScale , expected number or em / rem string but got % s .
` ,45: ` Passed invalid argument to hslToColorString , please pass a HslColor or HslaColor object .
` ,46: ` Passed invalid argument to rgbToColorString , please pass a RgbColor or RgbaColor object .
` ,47: ` minScreen and maxScreen must be provided as stringified numbers with the same units .
` ,48: ` fromSize and toSize must be provided as stringified numbers with the same units .
` ,49: ` Expects either an array of objects or a single object with the properties prop , fromSize , and toSize .
` ,50: ` Expects the objects in the first argument array to have the properties prop , fromSize , and toSize .
` ,51: ` Expects the first argument object to have the properties prop , fromSize , and toSize .
` ,52: ` fontFace expects either the path to the font file ( s ) or a name of a local copy .
` ,53: ` fontFace expects localFonts to be an array .
` ,54: ` fontFace expects fileFormats to be an array .
` ,55: ` fontFace expects a name of a font - family .
` ,56: ` linearGradient requries at least 2 color - stops to properly render .
` ,57: ` radialGradient requries at least 2 color - stops to properly render .
` ,58: ` Please supply a filename to retinaImage ( ) as the first argument .
` ,59: ` Passed invalid argument to triangle , please pass correct pointingDirection e . g . 'right' .
` ,60:"Passed an invalid value to ` height ` or ` width ` . Please provide a pixel based unit. \n \n ",61: ` Property must be a string value .
` ,62: ` borderRadius expects a radius value as a string or number as the second argument .
` ,63: ` borderRadius expects one of "top" , "bottom" , "left" or "right" as the first argument .
` ,64: ` The animation shorthand only takes 8 arguments . See the specification for more information : http : //mdn.io/animation.
` ,65: ` To pass multiple animations please supply them in arrays , e . g . animation ( [ 'rotate' , '2s' ] , [ 'move' , '1s' ] ) \ \ nTo pass a single animation please supply them in simple values , e . g . animation ( 'rotate' , '2s' ) .
` ,66: ` The animation shorthand arrays can only have 8 elements . See the specification for more information : http : //mdn.io/animation.
` ,67: ` You must provide a template to this method .
` ,68: ` You passed an unsupported selector state to this method .
` ,69: ` Expected a string ending in "px" or a number passed as the first argument to % s ( ) , got % s instead .
` ,70: ` Expected a string ending in "px" or a number passed as the second argument to % s ( ) , got % s instead .
` ,71: ` Passed invalid pixel value % s to % s ( ) , please pass a value like "12px" or 12.
` ,72: ` Passed invalid base value % s to % s ( ) , please pass a value like "12px" or 12.
` ,73: ` Please provide a valid CSS variable .
` ,74: ` CSS variable not found and no default was provided .
` ,75: ` important requires a valid style object , got a % s instead .
` ,76: ` fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen .
` ,77: ` remToPx expects a value in "rem" but you provided it in "%s" .
` ,78: ` base must be set in "px" or "%" but you set it in "%s" .
` };function E3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],a=[],o;for(o=1;o<t.length;o+=1)a.push(t[o]);return a.forEach(function(l){n=n.replace(/%[a-z]/,l)}),n}var or=function(e){g3(t,e);function t(r){for(var n,a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];return n=e.call(this,E3.apply(void 0,[b3[r]].concat(o)))||this,h3(n)}return t}(Xs(Error));function qu(e){return Math.round(e*255)}function x3(e,t,r){return qu(e)+","+qu(t)+","+qu(r)}function ko(e,t,r,n){if(n===void 0&&(n=x3),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,l=o*(1-Math.abs(a%2-1)),s=0,u=0,c=0;a>=0&&a<1?(s=o,u=l):a>=1&&a<2?(s=l,u=o):a>=2&&a<3?(u=o,c=l):a>=3&&a<4?(u=l,c=o):a>=4&&a<5?(s=l,c=o):a>=5&&a<6&&(s=o,c=l);var d=r-o/2,m=s+d,f=u+d,p=c+d;return n(m,f,p)}var z1={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 w3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return z1[t]?"#"+z1[t]:e}var S3=/^#[a-fA-F0-9]{6} $ /,C3=/^#[a-fA-F0-9]{8} $ /,A3=/^#[a-fA-F0-9]{3} $ /,k3=/^#[a-fA-F0-9]{4} $ /,Wu=/^rgb \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s * \) $ /i,_3=/^rgb(?:a)? \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,| \/ ) \s *([-+]? \d *[.]? \d +[%]?) \s * \) $ /i,O3=/^hsl \( \s *( \d {0,3}[.]?[0-9]+(?:deg)?) \s *(?:,)? \s *( \d {1,3}[.]?[0-9]?)% \s *(?:,)? \s *( \d {1,3}[.]?[0-9]?)% \s * \) $
` +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=d4(n);try{o.insertRule(r,o.cssRules.length)}catch(l){/:(-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+'"',l)}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),Ne="-ms-",xi="-moz-",ee="-webkit-",P0="comm",B0="rule",I0="decl",m4="@import",y5="@keyframes",h4="@layer",g4=Math.abs,au=String.fromCharCode,y4=Object.assign;function v4(e,t){return $ e(e,0)^45?(((t<<2^ $ e(e,0))<<2^ $ e(e,1))<<2^ $ e(e,2))<<2^ $ e(e,3):0}function v5(e){return e.trim()}function b4(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function rc(e,t){return e.indexOf(t)}function $ e(e,t){return e.charCodeAt(t)|0}function Oo(e,t,r){return e.slice(t,r)}function er(e){return e.length}function N0(e){return e.length}function Cl(e,t){return t.push(e),e}function E4(e,t){return e.map(t).join("")}var ou=1,va=1,b5=0,at=0,ye=0,Ba="";function lu(e,t,r,n,a,o,l){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:ou,column:va,length:l,return:""}}function Ka(e,t){return y4(lu("",null,null,"",null,null,0),e,{length:-e.length},t)}function x4(){return ye}function w4(){return ye=at>0? $ e(Ba,--at):0,va--,ye===10&&(va=1,ou--),ye}function st(){return ye=at<b5? $ e(Ba,at++):0,va++,ye===10&&(va=1,ou++),ye}function sr(){return $ e(Ba,at)}function Ql(){return at}function ll(e,t){return Oo(Ba,e,t)}function To(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}function E5(e){return ou=va=1,b5=er(Ba=e),at=0,[]}function x5(e){return Ba="",e}function Jl(e){return v5(ll(at-1,nc(e===91?e+2:e===40?e+1:e)))}function S4(e){for(;(ye=sr())&&ye<33;)st();return To(e)>2||To(ye)>3?"":" "}function C4(e,t){for(;--t&&st()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return ll(e,Ql()+(t<6&&sr()==32&&st()==32))}function nc(e){for(;st();)switch(ye){case e:return at;case 34:case 39:e!==34&&e!==39&&nc(ye);break;case 40:e===41&&nc(e);break;case 92:st();break}return at}function A4(e,t){for(;st()&&e+ye!==47+10&&!(e+ye===42+42&&sr()===47););return"/*"+ll(t,at-1)+"*"+au(e===47?e:st())}function k4(e){for(;!To(sr());)st();return ll(e,at)}function _4(e){return x5(ei("",null,null,null,[""],e=E5(e),0,[0],e))}function ei(e,t,r,n,a,o,l,s,u){for(var c=0,d=0,m=l,f=0,p=0,y=0,h=1,S=1,b=1,g=0,v="",E=a,w=o,C=n,A=v;S;)switch(y=g,g=st()){case 40:if(y!=108&& $ e(A,m-1)==58){rc(A+=te(Jl(g),"&","& \f "),"& \f ")!=-1&&(b=-1);break}case 34:case 39:case 91:A+=Jl(g);break;case 9:case 10:case 13:case 32:A+=S4(y);break;case 92:A+=C4(Ql()-1,7);continue;case 47:switch(sr()){case 42:case 47:Cl(O4(A4(st(),Ql()),t,r),u);break;default:A+="/"}break;case 123*h:s[c++]=er(A)*b;case 125*h:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+d:b==-1&&(A=te(A,/ \f /g,"")),p>0&&er(A)-m&&Cl(p>32?q1(A+";",n,r,m-1):q1(te(A," ","")+";",n,r,m-2),u);break;case 59:A+=";";default:if(Cl(C=U1(A,t,r,c,d,a,s,v,E=[],w=[],m),o),g===123)if(d===0)ei(A,t,C,C,E,o,m,s,w);else switch(f===99&& $ e(A,3)===110?100:f){case 100:case 108:case 109:case 115:ei(e,C,C,n&&Cl(U1(e,C,C,0,0,a,s,v,a,E=[],m),w),a,w,m,s,n?E:w);break;default:ei(A,C,C,C,[""],w,0,s,w)}}c=d=p=0,h=b=1,v=A="",m=l;break;case 58:m=1+er(A),p=y;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&w4()==125)continue}switch(A+=au(g),g*h){case 38:b=d>0?1:(A+=" \f ",-1);break;case 44:s[c++]=(er(A)-1)*b,b=1;break;case 64:sr()===45&&(A+=Jl(st())),f=sr(),d=m=er(v=A+=k4(Q
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(y){var h=y.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||Z4;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,l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(' style [ data - emotion ^= "'+t+' " ] '),function(y){for(var h=y.getAttribute("data-emotion").split(" "),S=1;S<h.length;S++)a[h[S]]=!0;l.push(y)});var s,u=[D4,M4];u.push(I4({get compat(){return p.compat}}),j4);{var c,d=[T4,function(y){y.root||(y.return?c.insert(y.return):y.value&&y.type!==P0&&c.insert(y.value+"{}"))}],m=$4(u.concat(n,d)),f=function(y){return ca(_4(y),m)};s=function(y,h,S,b){c=S,h.map!==void 0&&(c={insert:function(g){S.insert(g+h.map)}}),f(y?y+"{"+h.styles+"}":h.styles),b&&(p.inserted[h.name]=!0)}}var p={key:t,sheet:new f4({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 p.sheet.hydrate(l),p};function ac(){return ac=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},ac.apply(this,arguments)}u5(h5());var V4=!0;function j0(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var iu=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||V4===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},uu=function(e,t,r){iu(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)}};function U4(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)}var q4={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},Y1=`You have illegal escape sequence in your template literal, most likely inside content' s property value .
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';" .
You can read more about this here :
https : //developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,W4="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",G4=/[A-Z]|^ms/g,C5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,H0=function(e){return e.charCodeAt(1)===45},X1=function(e){return e!=null&&typeof e!="boolean"},Yu=g5(function(e){return H0(e)?e:e.replace(G4,"-$&").toLowerCase()}),wi=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(C5,function(r,n,a){return tr={name:n,styles:a,next:tr},n})}return q4[e]!==1&&!H0(e)&&typeof t=="number"&&t!==0?t+"px":t};Q1=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,J1=["normal","none","initial","inherit","unset"],ep=wi,tp=/^-ms-/,rp=/-(.)/g,Xu={},wi=function(e,t){if(e==="content"&&(typeof t!="string"||J1.indexOf(t)===-1&&!Q1.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=ep(e,t);return r!==""&&!H0(e)&&e.indexOf("-")!==-1&&Xu[e]===void 0&&(Xu[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(tp,"ms-").replace(rp,function(n,a){return a.toUpperCase()})+"?")),r};var Q1,J1,ep,tp,rp,Xu,A5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $o(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(A5);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return tr={name:r.name,styles:r.styles,next:tr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)tr={name:n.name,styles:n.styles,next:tr},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return K4(e,t,r)}case"function":{if(e!==void 0){var o=tr,l=r(e);return tr=o,$o(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var s=[],u=r.replace(C5,function(d,m,f){var p="animation"+s.length;return s.push("const "+p+" = keyframes`"+f.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
` )+ `
You should wrap it with \ ` css \` like this:
` +("css ` "+u+" ` "));break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function K4(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+= $ o(e,t,r[a])+";";else for(var o in r){var l=r[o];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":X1(l)&&(n+=Yu(o)+":"+wi(o,l)+";");else{if(o==="NO_COMPONENT_SELECTOR")throw new Error(A5);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var s=0;s<l.length;s++)X1(l[s])&&(n+=Yu(o)+":"+wi(o,l[s])+";");else{var u= $ o(e,t,l);switch(o){case"animation":case"animationName":{n+=Yu(o)+":"+u+";";break}default:o==="undefined"&&console.error(W4),n+=o+"{"+u+"}"}}}}return n}var np=/label: \s *([^ \s ; \n {]+) \s *(;| $ )/g,k5;k5=/ \/ \* # \s sourceMappingURL=data:application \/ json; \S + \s + \* \/ /g;var tr,ba=function(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";tr=void 0;var o=e[0];o==null||o.raw===void 0?(n=!1,a+= $ o(r,t,o)):(o[0]===void 0&&console.error(Y1),a+=o[0]);for(var l=1;l<e.length;l++)a+= $ o(r,t,e[l]),n&&(o[l]===void 0&&console.error(Y1),a+=o[l]);var s;a=a.replace(k5,function(m){return s=m,""}),np.lastIndex=0;for(var u="",c;(c=np.exec(a))!==null;)u+="-"+c[1];var d=U4(a)+u;return{name:d,styles:a,map:s,next:tr,toString:function(){return"You have tried to stringify object returned from ` css ` function. It isn't supposed to be used directly (e.g. as value of the ` className ` prop), but rather handed to emotion so it can handle it (e.g. as value of ` css ` prop)."}}},Y4={}.hasOwnProperty,Z0=x.createContext(typeof HTMLElement<"u"?z4({key:"css"}):null);Z0.displayName="EmotionCacheContext";Z0.Provider;var su=function(e){return x.forwardRef(function(t,r){var n=x.useContext(Z0);return e(t,n,r)})},en=x.createContext({});en.displayName="EmotionThemeContext";var X4=function(){return x.useContext(en)},Q4=function(e,t){if(typeof t=="function"){var r=t(e);if(r==null||typeof r!="object"||Array.isArray(r))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return ac({},e,t)},J4=W1(function(e){return W1(function(t){return Q4(e,t)})}),_5=function(e){var t=x.useContext(en);return e.theme!==t&&(t=J4(t)(e.theme)),x.createElement(en.Provider,{value:t},e.children)},ap="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",op="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",eb=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return iu(t,r,n),D0(function(){return uu(t,r,n)}),null},tb=su(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[ap],o=[n],l="";typeof e.className=="string"?l=j0(t.registered,o,e.className):e.className!=null&&(l=e.className+" ");var s=ba(o,void 0,x.useContext(en));if(s.name.indexOf("-")===-1){var u=e[op];u&&(s=ba([s,"label:"+u+";"]))}l+=t.key+"-"+s.name;var c={};for(var d in e)Y4.call(e,d)&&d!=="css"&&d!==ap&&d!==op&&(c[d]=e[d]);return c.ref=r,c.className=l,x.createElement(x.Fragment,null,x.createElement(eb,{cache:t,serialized:s,isStringTag:typeof a=="string"}),x.createElement(a,c))});tb.displayName="EmotionCssPropInternal";u5(h5());var rb={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.
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';" .
You can read more about this here :
https : //developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,cb=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return iu(t,r,n),D0(function(){return uu(t,r,n)}),null},db=function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
You may have forgotten to import it . ` );var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,l;r!==void 0&&(o=r.label,l=r.target);var s=sp(t,r,n),u=s||up(a),c=!u("as");return function(){var d=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)m.push.apply(m,d);else{d[0][0]===void 0&&console.error(cp),m.push(d[0][0]);for(var f=d.length,p=1;p<f;p++)d[0][p]===void 0&&console.error(cp),m.push(d[p],d[0][p])}var y=su(function(h,S,b){var g=c&&h.as||a,v="",E=[],w=h;if(h.theme==null){w={};for(var C in h)w[C]=h[C];w.theme=x.useContext(en)}typeof h.className=="string"?v=j0(S.registered,E,h.className):h.className!=null&&(v=h.className+" ");var A=ba(m.concat(E),S.registered,w);v+=S.key+"-"+A.name,l!==void 0&&(v+=" "+l);var k=c&&s===void 0?up(g):u,O={};for(var _ in h)c&&_==="as"||k(_)&&(O[_]=h[_]);return O.className=v,O.ref=b,x.createElement(x.Fragment,null,x.createElement(cb,{cache:S,serialized:A,isStringTag:typeof g=="string"}),x.createElement(g,O))});return y.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=a,y.__emotion_styles=m,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return l===void 0?"NO_COMPONENT_SELECTOR":"."+l}}),y.withComponent=function(h,S){return e(h,tc({},r,S,{shouldForwardProp:sp(y,S,!0)})).apply(void 0,m)},y}},pb=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],T=db.bind();pb.forEach(function(e){T[e]=T(e)});var fb=Nn(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));Nn(1)(({color:e,background:t,typography:r})=>{let n=fb({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop: ` 1 px solid $ { e . border } ` }}});var mb={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},hb=Ia `
from {
transform : rotate ( 0 deg ) ;
}
to {
transform : rotate ( 360 deg ) ;
}
` ,O5=Ia `
0 % , 100 % { opacity : 1 ; }
50 % { opacity : . 4 ; }
` ,gb=Ia `
0 % { transform : translateY ( 1 px ) ; }
25 % { transform : translateY ( 0 px ) ; }
50 % { transform : translateY ( - 3 px ) ; }
100 % { transform : translateY ( 1 px ) ; }
` ,yb=Ia `
0 % , 100 % { transform : translate3d ( 0 , 0 , 0 ) ; }
12.5 % , 62.5 % { transform : translate3d ( - 4 px , 0 , 0 ) ; }
37.5 % , 87.5 % { transform : translate3d ( 4 px , 0 , 0 ) ; }
` ,vb=z0 `
animation : $ { O5 } 1.5 s ease - in - out infinite ;
color : transparent ;
cursor : progress ;
` ,bb=z0 `
transition : all 150 ms ease - out ;
transform : translate3d ( 0 , 0 , 0 ) ;
& : hover {
transform : translate3d ( 0 , - 2 px , 0 ) ;
}
& : active {
transform : translate3d ( 0 , 0 , 0 ) ;
}
` ,Eb={rotate360:hb,glow:O5,float:gb,jiggle:yb,inlineGlow:vb,hoverable:bb},xb={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},wb={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Sb=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:e4(n)}),{}),Cb=({colors:e,mono:t})=>{let r=Sb(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},Ab={green1:"#008000",red1:"#A
[ ] { ` +Math.min.apply(Math,a)+"}","g");n=n.map(function(s){return s.replace(o, `
` )})}n[0]=n[0].replace(/^ \r ? \n /,"");var l=n[0];return t.forEach(function(s,u){var c=l.match(/(?:^| \n )( *) $ /),d=c?c[1]:"",m=s;typeof s=="string"&&s.includes( `
` )&&(m=String(s).split( `
` ).map(function(f,p){return p===0?f:""+d+f}).join( `
` )),l+=m+n[u+1]}),l}var Lb=e=>{if(!e)return oc(Ei);let t=Rb(Ei,e);return Object.keys(t).length&&i4.warn(Fb `
Your theme is missing properties , you should update your theme !
theme - data missing :
` ,t),oc(e)},lc="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Db=Object.create, $ 5=Object.defineProperty,Mb=Object.getOwnPropertyDescriptor,R5=Object.getOwnPropertyNames,Pb=Object.getPrototypeOf,Bb=Object.prototype.hasOwnProperty,q=(e,t)=>function(){return t||(0,e[R5(e)[0]])((t={exports:{}}).exports,t),t.exports},Ib=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of R5(t))!Bb.call(e,a)&&a!==r&& $ 5(e,a,{get:()=>t[a],enumerable:!(n=Mb(t,a))||n.enumerable});return e},ft=(e,t,r)=>(r=e!=null?Db(Pb(e)):{},Ib(t||!e||!e.__esModule? $ 5(r,"default",{value:e,enumerable:!0}):r,e)),Nb=q({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?: \\ .|[^ \\ \n \r ]|(?: \n | \r \n ?)(?![ \r \n ]))/.source;function l(y){return y=y.replace(/<inner>/g,function(){return o}),RegExp(/((?:^|[^ \\ ])(?: \\ {2})*)/.source+"(?:"+y+")")}var s=/(?: \\ .| ` ` (?:[^ ` \ r \ n ] | ` (?! ` ) ) + ` ` | ` [^ ` \ r \ n ] + ` |[^ \\ | \r \n ` ] ) + /.source,u=/ \ | ? _ _ ( ? : \ | _ _ ) + \ | ? ( ? : ( ? : \ n | \ r \ n ? ) | ( ? ! [ \ s \ S ] ) ) / . source . replace ( /__/g , function ( ) { return s } ) , c = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/ . source ; a . languages . markdown = a . languages . extend ( "markup" , { } ) , a . languages . insertBefore ( "markdown" , "prolog" , { "front-matter-block" : { pattern : /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/ , lookbehind : ! 0 , greedy : ! 0 , inside : { punctuation : /^---|---$/ , "front-matter" : { pattern : /\S+(?:\s+\S+)*/ , alias : [ "yaml" , "language-yaml" ] , inside : a . languages . yaml } } } , blockquote : { pattern : /^>(?:[\t ]*>)*/m , alias : "punctuation" } , table : { pattern : RegExp ( "^" + u + c + "(?:" + u + ")*" , "m" ) , inside : { "table-data-rows" : { pattern : RegExp ( "^(" + u + c + ")(?:" + u + ")*$" ) , lookbehind : ! 0 , inside : { "table-data" : { pattern : RegExp ( s ) , inside : a . languages . markdown } , punctuation : /\|/ } } , "table-line" : { pattern : RegExp ( "^(" + u + ")" + c + "$" ) , lookbehind : ! 0 , inside : { punctuation : /\||:?-{3,}:?/ } } , "table-header-row" : { pattern : RegExp ( "^" + u + "$" ) , inside : { "table-header" : { pattern : RegExp ( s ) , alias : "important" , inside : a . languages . markdown } , punctuation : /\|/ } } } } , code : [ { pattern : /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/ , lookbehind : ! 0 , alias : "keyword" } , { pattern : /^```[\s\S]*?^```$/m , greedy : ! 0 , inside : { "code-block" : { pattern : /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m , lookbehind : ! 0 } , "code-language" : { pattern : /^(```).+/ , lookbehind : ! 0 } , punctuation : /```/ } } ] , title : [ { pattern : /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m , alias : "important" , inside : { punctuation : /==+$|--+$/ } } , { pattern : /(^\s*)#.+/m , lookbehind : ! 0 , alias : "important" , inside : { punctuation : /^#+|#+$/ } } ] , hr : { pattern : /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m , lookbehind : ! 0 , alias : "punctuation" } , list : { pattern : /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m , lookbehind : ! 0 , alias : "punctuation" } , "url-reference" : { pattern : /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/ , inside : { variable : { pattern : /^(!?\[)[^\]]+/ , lookbehind : ! 0 } , string : /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/ , punctuation : /^[\[\]!:]|[<>]/ } , alias : "url" } , bold : { pattern : l ( /\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/ . source ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^..)[\s\S]+(?=..$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /\*\*|__/ } } , italic : { pattern : l ( /\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/ . source ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^.)[\s\S]+(?=.$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /[*_]/ } } , strike : { pattern : l ( /(~~?)(?:(?!~)<inner>)+\2/ . source ) , lookbehind : ! 0 , greedy : ! 0 , inside : { content : { pattern : /(^~~?)[\s\S]+(?=\1$)/ , lookbehind : ! 0 , inside : { } } , punctuation : /~~?/ } } , "code-snippet" : { pattern : /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/ , lookbehind : ! 0 , greedy : ! 0 , alias : [ "code" , "keyword" ] } , url : { pattern : l ( /!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/ . source ) , lookbehind : ! 0 , greedy : ! 0 , inside : { operator : /^!/ , content : { patte
` ,Nfr:"𝔑 ",NoBreak:" ",NonBreakingSpace:" ",Nopf:"ℕ ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩 ",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν ",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О ",Odblac:"Ő",Ofr:"𝔒 ",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο ",Oopf:"𝕆 ",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘ ",Or:"⩔",Oscr:"𝒪 ",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓 ",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ ",Popf:"ℙ ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫 ",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔 ",Qopf:"ℚ ",Qscr:"𝒬 ",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р ",Re:"ℜ ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ ",Rho:"Ρ ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь ",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С ",Sfr:"𝔖 ",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊 ",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮 ",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т ",Tfr:"𝔗 ",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼ ",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋 ",TripleDot:"⃛",Tscr:"𝒯 ",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У ",Udblac:"Ű",Ufr:"𝔘 ",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃ ",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌 ",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"
* @ license React
* scheduler . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* / ( f u n c t i o n ( e ) { f u n c t i o n t ( R , F ) { v a r P = R . l e n g t h ; R . p u s h ( F ) ; e : f o r ( ; 0 < P ; ) { v a r U = P - 1 > > > 1 , G = R [ U ] ; i f ( 0 < a ( G , F ) ) R [ U ] = F , R [ P ] = G , P = U ; e l s e b r e a k e } } f u n c t i o n r ( R ) { r e t u r n R . l e n g t h = = = 0 ? n u l l : R [ 0 ] } f u n c t i o n n ( R ) { i f ( R . l e n g t h = = = 0 ) r e t u r n n u l l ; v a r F = R [ 0 ] , P = R . p o p ( ) ; i f ( P ! = = F ) { R [ 0 ] = P ; e : f o r ( v a r U = 0 , G = R . l e n g t h , X = G > > > 1 ; U < X ; ) { v a r Q = 2 * ( U + 1 ) - 1 , j = R [ Q ] , W = Q + 1 , K = R [ W ] ; i f ( 0 > a ( j , P ) ) W < G & & 0 > a ( K , j ) ? ( R [ U ] = K , R [ W ] = P , U = W ) : ( R [ U ] = j , R [ Q ] = P , U = Q ) ; e l s e i f ( W < G & & 0 > a ( K , P ) ) R [ U ] = K , R [ W ] = P , U = W ; e l s e b r e a k e } } r e t u r n F } f u n c t i o n a ( R , F ) { v a r P = R . s o r t I n d e x - F . s o r t I n d e x ; r e t u r n P ! = = 0 ? P : R . i d - F . i d } i f ( t y p e o f p e r f o r m a n c e = = " o b j e c t " & & t y p e o f p e r f o r m a n c e . n o w = = " f u n c t i o n " ) { v a r o = p e r f o r m a n c e ; e . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n o . n o w ( ) } } e l s e { v a r l = D a t e , s = l . n o w ( ) ; e . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n l . n o w ( ) - s } } v a r u = [ ] , c = [ ] , d = 1 , m = n u l l , f = 3 , p = ! 1 , y = ! 1 , h = ! 1 , S = t y p e o f s e t T i m e o u t = = " f u n c t i o n " ? s e t T i m e o u t : n u l l , b = t y p e o f c l e a r T i m e o u t = = " f u n c t i o n " ? c l e a r T i m e o u t : n u l l , g = t y p e o f s e t I m m e d i a t e < " u " ? s e t I m m e d i a t e : n u l l ; t y p e o f n a v i g a t o r < " u " & & n a v i g a t o r . s c h e d u l i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g . b i n d ( n a v i g a t o r . s c h e d u l i n g ) ; f u n c t i o n v ( R ) { f o r ( v a r F = r ( c ) ; F ! = = n u l l ; ) { i f ( F . c a l l b a c k = = = n u l l ) n ( c ) ; e l s e i f ( F . s t a r t T i m e < = R ) n ( c ) , F . s o r t I n d e x = F . e x p i r a t i o n T i m e , t ( u , F ) ; e l s e b r e a k ; F = r ( c ) } } f u n c t i o n E ( R ) { i f ( h = ! 1 , v ( R ) , ! y ) i f ( r ( u ) ! = = n u l l ) y = ! 0 , I ( w ) ; e l s e { v a r F = r ( c ) ; F ! = = n u l l & & z ( E , F . s t a r t T i m e - R ) } } f u n c t i o n w ( R , F ) { y = ! 1 , h & & ( h = ! 1 , b ( k ) , k = - 1 ) , p = ! 0 ; v a r P = f ; t r y { f o r ( v ( F ) , m = r ( u ) ; m ! = = n u l l & & ( ! ( m . e x p i r a t i o n T i m e > F ) | | R & & ! $ ( ) ) ; ) { v a r U = m . c a l l b a c k ; i f ( t y p e o f U = = " f u n c t i o n " ) { m . c a l l b a c k = n u l l , f = m . p r i o r i t y L e v e l ; v a r G = U ( m . e x p i r a t i o n T i m e < = F ) ; F = e . u n s t a b l e _ n o w ( ) , t y p e o f G = = " f u n c t i o n " ? m . c a l l b a c k = G : m = = = r ( u ) & & n ( u ) , v ( F ) } e l s e n ( u ) ; m = r ( u ) } i f ( m ! = = n u l l ) v a r X = ! 0 ; e l s e { v a r Q = r ( c ) ; Q ! = = n u l l & & z ( E , Q . s t a r t T i m e - F ) , X = ! 1 } r e t u r n X } f i n a l l y { m = n u l l , f = P , p = ! 1 } } v a r C = ! 1 , A = n u l l , k = - 1 , O = 5 , _ = - 1 ; f u n c t i o n $ ( ) { r e t u r n ! ( e . u n s t a b l e _ n o w ( ) - _ < O ) } f u n c t i o n L ( ) { i f ( A ! = = n u l l ) { v a r R = e . u n s t a b l e _ n o w ( ) ; _ = R ; v a r F = ! 0 ; t r y { F = A ( ! 0 , R ) } f i n a l l y { F ? D ( ) : ( C = ! 1 , A = n u l l ) } } e l s e C = ! 1 } v a r D ; i f ( t y p e o f g = = " f u n c t i o n " ) D = f u n c t i o n ( ) { g ( L ) } ; e l s e i f ( t y p e o f M e s s a g e C h a n n e l < " u " ) { v a r Z = n e w M e s s a g e C h a n n e l , B = Z . p o r t 2 ; Z . p o r t 1 . o n m e s s a g e = L , D = f u n c t i o n ( ) { B . p o s t M e s s a g e ( n u l l ) } } e l s e D = f u n c t i o n ( ) { S ( L , 0 ) } ; f u n c t i o n I ( R ) { A = R , C | | ( C = ! 0 , D ( ) ) } f u n c t i o n z ( R , F ) { k = S ( f u n c t i o n ( ) { R ( e . u n s t a b l e _ n o w ( ) ) } , F ) } e . u n s t a b l e _ I d l e P r i o r i t y = 5 , e . u n s t a b l e _ I m m e d i a t e P r i o r i t y = 1 , e . u n s t a b l e _ L o w P r i o r i t y = 4 , e . u n s t a b l e _ N o r m a l P r i o r i t y = 3 , e . u n s t a b l e _ P r o f i l i n g = n u l l , e . u n s t a b l e _ U s e r B l o c k i n g P r i o r i t y = 2 , e . u n s t a b l e _ c a n c e l C a l l b a c k = f u n c t i o n ( R ) { R . c a l l b a c k = n u l l } , e . u n s t a b l e _ c o n t i n u e E x e c u t i o n = f u n c t i o n ( ) { y | | p | | ( y = ! 0 , I ( w ) ) } , e . u n s t a b l e _ f o r c e F r a m e R a t e = f u n c t i o n ( R ) { 0 > R | | 1 2 5 < R ? c o n s o l e . e r r o r ( " f o r c e F r a m e R a t e t a k e s a p o s i t i v e i n t b e t w e e n 0 a n d 1 2 5 , f o r c i n g f r a m e r a t e s h i g h e r t h a n 1 2 5 f p s i s n o t s u p p o r t e d " ) : O = 0 < R ? M a t h . f l o o r ( 1 e 3 / R ) : 5 } , e . u n s t a b l e _ g e t C u r r e n t P r i o r i t y L e v e l = f u n c t i o n ( ) { r e t u r n f } , e . u n s t a b l e _ g e t F i r s t C a l l b a c k N o d e = f u n c t i o n ( ) { r e t u r n r ( u ) } , e . u n s t a b l e _ n e x t = f u n c t i o n ( R ) { s w i t c h ( f ) { c a s e 1 : c a s e 2 : c a s e 3 : v a r F = 3 ; b r e a k ; d e f a u l t : F = f } v a r P = f ; f = F ; t r y { r e t u r n R ( ) } f i n a l l y { f = P } } , e . u n s t a b l e _ p a u s e E x e c u t i o n = f u n c t i o n ( ) { } , e . u n s t a b l e _ r e q u e s t P a i n t = f u n c t i o n ( ) { } , e . u n s t a b l e _ r u n W i t h P r i o r i t y = f u n c t i o n ( R , F ) { s w i t c h ( R ) { c a s e 1 : c a s e 2 : c a s e 3 : c a s e 4 : c a s e 5 : b r e a k ; d e f a u l t : R = 3 } v a r P = f ; f = R ; t r y { r e t u r n F ( ) } f i n a l l y { f = P } } , e . u n s t a b l e _ s c h e d u l e C a l l b a c k = f u n c t i o n ( R , F , P ) { v a r U = e . u n s t a b l e _ n o w ( ) ; s w i t c h ( t y p e o f P = = " o b j e c t " & & P ! = = n u l l ? ( P = P . d e l a y , P = t y p e o f P = = " n u m b e r " & & 0 < P ? U + P : U ) : P = U , R ) { c a s e 1 : v a r G = - 1 ; b r e a k ; c a s e 2 : G = 2 5 0 ; b r e a k ; c a s e 5 : G = 1 0 7 3 7 4 1 8 2 3 ; b r e a k ; c a s e 4 : G = 1 e 4 ; b r e a k ; d e f a u l t : G = 5 e 3 } r e t u r n G = P + G , R = { i d : d + + , c a l l b a c k : F , p r i o r i t y L e v e l : R , s t a r t T i m e : P , e x p i r a t i o n T i m e : G , s o r t I n d e x : - 1 } , P > U ? ( R . s o r t I n d e x = P , t ( c , R ) , r ( u ) = = = n u l l & & R = = = r ( c ) & & ( h ? ( b ( k ) , k = - 1 ) : h = ! 0 , z ( E , P - U ) ) ) : ( R . s o r t I n d e x = G , t ( u , R ) , y | | p | | ( y = ! 0 , I ( w ) ) ) , R } , e . u n s t a b l e _ s h o u l d Y i e l d = $ , e . u n s t a b l e _ w r a p C a l l b a c k = f u n c t i o n ( R ) { v a r F = f ; r e t u r n f u n c t i o n ( ) { v a r P = f ; f = F ; t r y { r e t u r n R . a p p l y ( t h i s , a r g u m e n t s ) } f i n a l l y { f = P } } } } ) ( z 5 ) ; Z 5 . e x p o r t s = z 5 ; v a r E 7 = Z 5 . e x p o r t s ; / * *
* @ license React
* react - dom . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* /var V5=x,dt=E7;function M(e){for(var t="https:/ / reactjs . org / docs / error - decoder . html ? invariant = "+e,r=1;r<arguments.length;r++)t+=" & args [ ] = "+encodeURIComponent(arguments[r]);return" Minified React error # "+e+" ; visit "+t+" for the full message or use the non - minified dev environment for full errors and additional helpful warnings . "}var U5=new Set,Ro={};function jn(e,t){Ea(e,t),Ea(e+" Capture ",t)}function Ea(e,t){for(Ro[e]=t,e=0;e<t.length;e++)U5.add(t[e])}var Cr=!(typeof window>" u "||typeof window.document>" u "||typeof window.document.createElement>" u "),ic=Object.prototype.hasOwnProperty,x7=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dp={},pp={};function w7(e){return ic.call(pp,e)?!0:ic.call(dp,e)?!1:x7.test(e)?pp[e]=!0:(dp[e]=!0,!1)}function S7(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case" function ":case" symbol ":return!0;case" boolean ":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!==" data - "&&e!==" aria - ");default:return!1}}function C7(e,t,r,n){if(t===null||typeof t>" u "||S7(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ge(e,t,r,n,a,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Le={};" children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style ".split(" ").forEach(function(e){Le[e]=new Ge(e,0,!1,e,null,!1,!1)});[[" acceptCharset "," accept - charset "],[" className "," class "],[" htmlFor "," for "],[" httpEquiv "," http - equiv "]].forEach(function(e){var t=e[0];Le[t]=new Ge(t,1,!1,e[1],null,!1,!1)});[" contentEditable "," draggable "," spellCheck "," value "].forEach(function(e){Le[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});[" autoReverse "," externalResourcesRequired "," focusable "," preserveAlpha "].forEach(function(e){Le[e]=new Ge(e,2,!1,e,null,!1,!1)});" allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope ".split(" ").forEach(function(e){Le[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});[" checked "," multiple "," muted "," selected "].forEach(function(e){Le[e]=new Ge(e,3,!0,e,null,!1,!1)});[" capture "," download "].forEach(function(e){Le[e]=new Ge(e,4,!1,e,null,!1,!1)});[" cols "," rows "," size "," span "].forEach(function(e){Le[e]=new Ge(e,6,!1,e,null,!1,!1)});[" rowSpan "," start "].forEach(function(e){Le[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var q0=/[\-:]([a-z])/g;function W0(e){return e[1].toUpperCase()}" accent - height alignment - baseline arabic - form baseline - shift cap - height clip - path clip - rule color - interpolation color - interpolation - filters color - profile color - rendering dominant - baseline enable - background fill - opacity fill - rule flood - color flood - opacity font - family font - size font - size - adjust font - stretch font - style font - variant font - weight glyph - name glyph - orientation - horizontal glyph - orientation - vertical horiz - adv - x horiz - origin - x image - rendering letter - spacing lighting - color marker - end marker - mid marker - start overline - position overline - thickness paint - order panose - 1 pointer - events rendering - intent shape - rendering stop - color stop - opacity strikethrough - position strikethrough - thickness stroke - dasharray stroke - dashoffset stroke - linecap stroke - linejoin stroke - miterlimit stroke - opacity stroke - width text - anchor text - decoration text - rendering underline - position underline - thickness unicode - bidi unicode - range units - per - em v - alphabetic v - hanging v - ideographic v - mathematical vector - effect vert - adv - y vert - origin -
` +rs+e}var ns=!1;function as(e,t){if(!e||ns)return"";ns=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var a=c.stack.split( `
` ),o=n.stack.split( `
` ),l=a.length-1,s=o.length-1;1<=l&&0<=s&&a[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(a[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||a[l]!==o[s]){var u= `
` +a[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{ns=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?so(e):""}function A7(e){switch(e.tag){case 5:return so(e.type);case 16:return so("Lazy");case 13:return so("Suspense");case 19:return so("SuspenseList");case 0:case 2:case 15:return e=as(e.type,!1),e;case 11:return e=as(e.type.render,!1),e;case 1:return e=as(e.type,!0),e;default:return""}}function dc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xn:return"Fragment";case Yn:return"Portal";case uc:return"Profiler";case K0:return"StrictMode";case sc:return"Suspense";case cc:return"SuspenseList"}if(typeof e=="object")switch(e. $ $ typeof){case W5:return(e.displayName||"Context")+".Consumer";case q5:return(e._context.displayName||"Context")+".Provider";case Y0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X0:return t=e.displayName||null,t!==null?t:dc(e.type)||"Memo";case Ir:t=e._payload,e=e._init;try{return dc(e(t))}catch{}}return null}function k7(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return dc(t);case 8:return t===K0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function K5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _7(e){var t=K5(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(l){n=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kl(e){e._valueTracker||(e._valueTracker=_7(e))}function Y5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=K5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Si(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pc(e,t){var r=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function mp(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=tn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function X5(e,t){t=t.checked,t!=null&&G0(e,"checked",t,!1)}function fc(e,t){X5(e,t);var r=tn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mc(e,t.type,r):t.hasOwnProperty("defaultValue")&&mc(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hp(e,t,r){if(t.hasOwnProperty("val
` ).replace(B6,"")}function Dl(e,t,r){if(t=Ip(t),Ip(e)!==t&&r)throw Error(M(425))}function Ri(){}var Oc=null,Tc=null;function $ c(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Rc=typeof setTimeout=="function"?setTimeout:void 0,I6=typeof clearTimeout=="function"?clearTimeout:void 0,Np=typeof Promise=="function"?Promise:void 0,N6=typeof queueMicrotask=="function"?queueMicrotask:typeof Np<"u"?function(e){return Np.resolve(null).then(e).catch(j6)}:Rc;function j6(e){setTimeout(function(){throw e})}function ys(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/ $ "){if(n===0){e.removeChild(a),Po(t);return}n--}else r!==" $ "&&r!==" $ ?"&&r!==" $ !"||n++;r=a}while(r);Po(t)}function Gr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===" $ "||t===" $ !"||t===" $ ?")break;if(t==="/ $ ")return null}}return e}function jp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===" $ "||r===" $ !"||r===" $ ?"){if(t===0)return e;t--}else r==="/ $ "&&t++}e=e.previousSibling}return null}var ja=Math.random().toString(36).slice(2),ar="__reactFiber $ "+ja,Ho="__reactProps $ "+ja,Ar="__reactContainer $ "+ja,Fc="__reactEvents $ "+ja,H6="__reactListeners $ "+ja,Z6="__reactHandles $ "+ja;function Sn(e){var t=e[ar];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ar]||r[ar]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=jp(e);e!==null;){if(r=e[ar])return r;e=jp(e)}return t}e=r,r=e.parentNode}return null}function cl(e){return e=e[ar]||e[Ar],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ta(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function mu(e){return e[Ho]||null}var Lc=[],ra=-1;function on(e){return{current:e}}function le(e){0>ra||(e.current=Lc[ra],Lc[ra]=null,ra--)}function ae(e,t){ra++,Lc[ra]=e.current,e.current=t}var rn={},He=on(rn),Je=on(!1),Ln=rn;function xa(e,t){var r=e.type.contextTypes;if(!r)return rn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function et(e){return e=e.childContextTypes,e!=null}function Fi(){le(Je),le(He)}function Hp(e,t,r){if(He.current!==rn)throw Error(M(168));ae(He,t),ae(Je,r)}function Nm(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(M(108,k7(e)||"Unknown",a));return de({},r,n)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rn,Ln=He.current,ae(He,e),ae(Je,Je.current),!0}function Zp(e,t,r){var n=e.stateNode;if(!n)throw Error(M(169));r?(e=Nm(e,t,Ln),n.__reactInternalMemoizedMergedChildContext=e,le(Je),le(He),ae(He,e)):le(Je),ae(Je,r)}var Er=null,hu=!1,vs=!1;function jm(e){Er===null?Er=[e]:Er.push(e)}function z6(e){hu=!0,jm(e)}function ln(){if(!vs&&Er!==null){vs=!0;var e=0,t=re;try{var r=Er;for(re=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Er=null,hu=!1}catch(a){throw Er!==null&&(Er=Er.slice(e+1)),dm(J0,ln),a}finally{re=t,vs=!1}}return null}var na=[],aa=0,Di=null,Mi=0,Et=[],xt=0,Dn=null,xr=1,wr="";function gn(e,t){na[aa++]=Mi,na[aa++]=Di,Di=e,Mi=t}function Hm(e,t,r){Et[xt++]=xr,Et[xt++]=wr,Et[xt++]=Dn,Dn=e;var n=xr;e=wr;var a=32-It(n)-1;n&=~(1<<a),r+=1;var o=32-It(t)+a;if(30<o){var l=a-a%5;o=(n&(1<<l)-1).toString(32),n>>=l,a-=l,xr=1<<32-It(t)+a|r<<a|n,wr=o+e}else xr=1<<o|r<<a|n,wr=e}function ud(e){e.return!==null&&(gn(e,1),Hm(e,1,0))}function sd(e){for(;e===Di;)Di=na[--aa],na[aa]=null,Mi=na[--aa],na[aa]=null;for(;e===Dn;)Dn=Et[--xt],Et[xt]=null,wr=Et[--xt],Et[xt]=null,xr=Et[--xt],Et[xt]=null}var ct=null,ut=null,ue=!1,Bt=null;function Zm(e,t){var r=wt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletio
Error generating stack : ` +o.message+ `
` +o.stack}return{value:e,source:t,stack:a,digest:null}}function Ss(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Nc(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Q6=typeof WeakMap=="function"?WeakMap:Map;function gh(e,t,r){r=Sr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){zi||(zi=!0,Kc=n),Nc(e,t)},r}function yh(e,t,r){r=Sr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){Nc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){Nc(e,t),typeof n!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function Qp(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new Q6;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=pE.bind(null,e,t,r),t.then(e,e))}function Jp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ef(e,t,r,n,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Sr(-1,1),t.tag=2,Kr(r,t,1))),r.lanes|=1),e)}var J6=Tr.ReactCurrentOwner,Qe=!1;function Ve(e,t,r,n){t.child=e===null?Km(t,null,r,n):Sa(t,e.child,r,n)}function tf(e,t,r,n,a){r=r.render;var o=t.ref;return ha(t,a),n=Ed(e,t,r,n,o,a),r=xd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,_r(e,t,a)):(ue&&r&&ud(t),t.flags|=1,Ve(e,t,n,a),t.child)}function rf(e,t,r,n,a){if(e===null){var o=r.type;return typeof o=="function"&&!Rd(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,vh(e,t,o,n,a)):(e=ci(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var l=o.memoizedProps;if(r=r.compare,r=r!==null?r:Io,r(l,n)&&e.ref===t.ref)return _r(e,t,a)}return t.flags|=1,e=Qr(o,n),e.ref=t.ref,e.return=t,t.child=e}function vh(e,t,r,n,a){if(e!==null){var o=e.memoizedProps;if(Io(o,n)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=n=o,(e.lanes&a)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,_r(e,t,a)}return jc(e,t,r,n,a)}function bh(e,t,r){var n=t.pendingProps,a=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(ia,it),it|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(ia,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,ae(ia,it),it|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,ae(ia,it),it|=n;return Ve(e,t,a,r),t.child}function Eh(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function jc(e,t,r,n,a){var o=et(r)?Ln:He.current;return o=xa(t,o),ha(t,a),r=Ed(e,t,r,n,o,a),n=xd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,_r(e,t,a)):(ue&&n&&ud(t),t.flags|=1,Ve(e,t,r,a),t.child)}function nf(e,t,r,n,a){if(et(r)){var o=!0;Li(t)}else o=!1;if(ha(t,a),t.stateNode===null)ii(e,t),Wm(t,r,n),Ic(t,r,n,a),n=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var u=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=kt(c):(c=et(r)?Ln:He.current,c=xa(t,c));var d=r.getDerivedStateFromProps,m=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==n||u!==c)&&Gp(t,l,n,c),Nr=!1;var f=t.memoizedState;l.state=f,Ii(t,n,l,a),u=t.memoizedState,s!==n||f!==u||Je.current||Nr?(typeof d=="function"&&(Bc(t,r,d,n),u=t.memoizedState),(s=Nr||Wp(t,r,s,n,f,u,c))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}function e8(e){return YE(e)||XE(e)||QE(e)||JE()}function Go(e){"@babel/helpers - typeof";return Go=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(e)}function t8(e,t){if(Go(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Go(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r8(e){var t=t8(e,"string");return Go(t)==="symbol"?t:String(t)}function Vh(e,t,r){return t=r8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e0(){return e0=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},e0.apply(this,arguments)}function yf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yf(Object(r),!0).forEach(function(n){Vh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function n8(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").conc
` ))})}function p8(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,o=e.numberStyle,l=o===void 0?{}:o,s=e.startingLineNumber;return i.createElement("code",{style:Object.assign({},r,a)},d8({lines:t.replace(/ \n $ /,"").split( `
` ),style:l,startingLineNumber:s}))}function f8(e){return"".concat(e.toString().length,".25em")}function Uh(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function qh(e,t,r){var n={display:"inline-block",minWidth:f8(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,o=rr(rr({},n),a);return o}function di(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,l=e.lineProps,s=l===void 0?{}:l,u=e.className,c=u===void 0?[]:u,d=e.showLineNumbers,m=e.wrapLongLines,f=typeof s=="function"?s(r):s;if(f.className=c,r&&o){var p=qh(n,r,a);t.unshift(Uh(r,p))}return m&d&&(f.style=rr(rr({},f.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:f,children:t}}function Wh(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<e.length;n++){var a=e[n];if(a.type==="text")r.push(di({children:[a],className:e8(new Set(t))}));else if(a.children){var o=t.concat(a.properties.className);Wh(a.children,o).forEach(function(l){return r.push(l)})}}return r}function m8(e,t,r,n,a,o,l,s,u){var c,d=Wh(e.value),m=[],f=-1,p=0;function y(w,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return di({children:w,lineNumber:C,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}function h(w,C){if(n&&C&&a){var A=qh(s,C,l);w.unshift(Uh(C,A))}return w}function S(w,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?y(w,C,A):h(w,C)}for(var b=function(){var w=d[p],C=w.children[0].value,A=c8(C);if(A){var k=C.split( `
` );k.forEach(function(O,_){var $ =n&&m.length+o,L={type:"text",value:"".concat(O, `
` )};if(_===0){var D=d.slice(f+1,p).concat(di({children:[L],className:w.properties.className})),Z=S(D, $ );m.push(Z)}else if(_===k.length-1){var B=d[p+1]&&d[p+1].children&&d[p+1].children[0],I={type:"text",value:"".concat(O)};if(B){var z=di({children:[I],className:w.properties.className});d.splice(p+1,0,z)}else{var R=[I],F=S(R, $ ,w.properties.className);m.push(F)}}else{var P=[L],U=S(P, $ ,w.properties.className);m.push(U)}}),f=p}p++};p<d.length;)b();if(f!==d.length-1){var g=d.slice(f+1,d.length);if(g&&g.length){var v=n&&m.length+o,E=S(g,v);m.push(E)}}return t?m:(c=[]).concat.apply(c,m)}function h8(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,o){return Bd({node:a,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(o)})})}function Gh(e){return e&&typeof e.highlightAuto<"u"}function g8(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(Gh(t)){var o=i8(t,r);return r==="text"?{value:a,language:"text"}:o?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function y8(e,t){return function(r){var n=r.language,a=r.children,o=r.style,l=o===void 0?t:o,s=r.customStyle,u=s===void 0?{}:s,c=r.codeTagProps,d=c===void 0?{className:n?"language-".concat(n):void 0,style:rr(rr({},l['code[class*="language-"]']),l['code[class*="language-'.concat(n,'"]')])}:c,m=r.useInlineStyles,f=m===void 0?!0:m,p=r.showLineNumbers,y=p===void 0?!1:p,h=r.showInlineLineNumbers,S=h===void 0?!0:h,b=r.startingLineNumber,g=b===void 0?1:b,v=r.lineNumberContainerStyle,E=r.lineNumberStyle,w=E===void 0?{}:E,C=r.wrapLines,A=r.wrapLongLines,k=A===void 0?!1:A,O=r.lineProps,_=O===void 0?{}:O, $ =r.renderer,L=r.PreTag,D=L===void 0?"pre":L,Z=r.CodeTag,B=Z===void 0?"code":Z,I=r.code,z=I===void 0?(Array.isArray(a)?a[0]:a)||"":I,R=r.astGenerator,F=KE(r,u8);R=R||e;var P=y?i.createElement(p8,{containerStyle:v,codeStyle:d.style||{},numberStyle:w,startingLineNumber:g,codeString:z}):null,U=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},G=Gh(R)?"hljs":"prismjs",X=f?Object.assign({},F,{style:Object.assign({},U,u)}):Object.assign({},F,{className:F.className?"".concat(G," ").concat(F.className):G,style:Object.assign({},u)});if(k?d.style=rr(rr({},d.style),{},{whiteSpace:"pre-wrap"}):d.style=rr(rr({},d.style),{},{whiteSpace:"pre"}),!R)return i.createElement(D,X,P,i.createElement(B,d,z));(C===void 0&& $ ||k)&&(C=!0), $ = $ ||h8;var Q=[{type:"text",value:z}],j=g8({astGenerator:R,language:n,code:z,defaultCodeValue:Q});j.language===null&&(j.value=Q);var W=j.value.length+g,K=m8(j,C,_,y,S,g,W,w,k);return i.createElement(D,X,i.createElement(B,d,!S&&P, $ ({rows:K,stylesheet:l,useInlineStyles:f})))}}var Id=ft(h7()),Nd=y8(Id.default,{});Nd.registerLanguage=function(e,t){return Id.default.register(t)};Nd.alias=function(e,t){return Id.default.alias(e,t)};var gt=Nd,v8=T.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Kh=T.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop: ` 1 px solid $ { e . appBorderColor } ` ,borderLeft: ` 1 px solid $ { e . appBorderColor } ` ,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight: ` 1 px solid $ { e . appBorderColor } ` },"& + *":{borderLeft: ` 1 px solid $ { e . appBorderColor } ` ,borderRadius:0},"&:focus":{boxShadow: ` $ { e . color . secondary } 0 - 3 px 0 0 inset ` ,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5});Kh.displayName="ActionButton";var jd=({actionItems:e,...t})=>i.createElement(v8,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},l)=>i.createElement(Kh,{key:l,className:n,onClick:a,disabled:o},r)));function be(){return be=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},be.apply(this,ar
drop - shadow ( 0 px 5 px 5 px rgba ( 0 , 0 , 0 , 0.05 ) )
drop - shadow ( 0 1 px 3 px rgba ( 0 , 0 , 0 , 0.1 ) )
` ,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),Yd=i.forwardRef(({placement:e,hasChrome:t,children:r,arrowProps:n,tooltipRef:a,color:o,withArrows:l,...s},u)=>i.createElement(Ow,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&l&&i.createElement(_w,{placement:e,...n,color:o}),r));Yd.displayName="Tooltip";Yd.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:fi}=dx,Tw=T.div `
display : inline - block ;
cursor : $ { e => e . trigger === "hover" || e . trigger . includes ( "hover" ) ? "default" : "pointer" } ;
` , $ w=T.g `
cursor : $ { e => e . trigger === "hover" || e . trigger . includes ( "hover" ) ? "default" : "pointer" } ;
` ,Eg=({svg:e,trigger:t,closeOnOutsideClick:r,placement:n,hasChrome:a,withArrows:o,offset:l,tooltip:s,children:u,closeOnTriggerHidden:c,mutationObserverOptions:d,closeOnClick:m,tooltipShown:f,onVisibilityChange:p,defaultVisible:y,delayHide:h,visible:S,interactive:b,delayShow:g,modifiers:v,strategy:E,followCursor:w,onVisibleChange:C,...A})=>{let k=e? $ w:Tw,{getArrowProps:O,getTooltipProps:_,setTooltipRef: $ ,setTriggerRef:L,visible:D,state:Z}=kw({trigger:t,placement:n,defaultVisible:y??f,delayHide:h,interactive:b,closeOnOutsideClick:r??m,closeOnTriggerHidden:c,onVisibleChange:I=>{p==null||p(I),C==null||C(I)},delayShow:g,followCursor:w,mutationObserverOptions:d,visible:S,offset:l},{modifiers:v,strategy:E}),B=i.createElement(Yd,{placement:Z==null?void 0:Z.placement,ref: $ ,hasChrome:a,arrowProps:O(),withArrows:o,..._()},typeof s=="function"?s({onHide:()=>C(!1)}):s);return i.createElement(i.Fragment,null,i.createElement(k,{trigger:t,ref:L,...A},u),D&&SE.createPortal(B,fi.body))};Eg.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var Rw=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=x.useState(e),o=x.useCallback(l=>{t&&t(l)===!1||a(l)},[t]);return x.useEffect(()=>{let l=()=>o(!1);fi.addEventListener("keydown",l,!1);let s=Array.from(fi.getElementsByTagName("iframe")),u=[];return s.forEach(c=>{let d=()=>{try{c.contentWindow.document&&(c.contentWindow.document.addEventListener("click",l),u.push(()=>{try{c.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}};d(),c.addEventListener("load",d),u.push(()=>{c.removeEventListener("load",d)})}),()=>{fi.removeEventListener("keydown",l),u.forEach(c=>{c()})}}),i.createElement(Eg,{...r,visible:n,onVisibleChange:o})};function Fw(e,t){var r=x.useRef(null),n=x.useRef(null);n.current=t;var a=x.useRef(null);x.useEffect(function(){o()});var o=x.useCallback(function(){var l=a.current,s=n.current,u=l||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return x.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),x.useCallback(function(l){a.current=l,o()},[o])}function Pf(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function xg(e){e===void 0&&(e={});var t=e.onResize,r=x.useRef(void 0);r.current=t;var n=e.round||Math.round,a=x.useRef(),o=x.useState({width:void 0,height:void 0}),l=o[0],s=o[1],u=x.useRef(!1);x.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var c=x.useRef({width:void 0,height:void 0}),d=Fw(x.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(f){var p=f[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=Pf(p,y,"inlineSize"),S=Pf(p,y,"blockSize"),b=h?n(h):void 0,g=S?n(S):void 0;if(c.current.width!==b||c.current.height!==g){var v={width:b,height:g};c.current.width=b,c.current.height=g,r.current?r.current(v):u.current||s(v)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return x.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}const{global:Lw}=__STORYBOOK_MODULE_GLOBAL__;var ie=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs", ` sbdocs - $ { t } ` ,...r].filter(Boolean).join(" "),e};function Xo(){return Xo=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},Xo.apply(this,arguments)}function Dw(e){if(e===void 0)throw new Refe
display : inline - block ;
shape - rendering : inherit ;
vertical - align : middle ;
fill : currentColor ;
path {
fill : currentColor ;
}
2024-02-15 19:20:09 +01:00
` ,qe=({icon:e,useSymbol:t,...r})=>i.createElement(Vg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?i.createElement("use",{xlinkHref: ` # icon -- $ { e } ` }):el[e]),vS=x.memo(function({icons:e=Object.keys(el)}){return i.createElement(Vg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>i.createElement("symbol",{id: ` icon -- $ { t } ` ,key:t},el[t])))}),bS=0,ES=e=>e.button===bS&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,xS=(e,t)=>{ES(e)&&(e.preventDefault(),t(e))},wS=T.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),SS=T.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:sa(.07,e.color.secondary),"svg path:not([fill])":{fill:sa(.07,e.color.secondary)}},"&:active":{color:sa(.1,e.color.secondary),"svg path:not([fill])":{fill:sa(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Jr=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:a,className:o,...l})=>i.createElement(SS,{...l,onClick:r&&e?s=>xS(s,r):r,className:o},i.createElement(wS,{withArrow:n,containsIcon:a},t,n&&i.createElement(qe,{icon:"arrowright"})));Jr.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var CS=T.div(({theme:e})=>({fontSize: ` $ { e . typography . size . s2 } px ` ,lineHeight:"1.6",h1:{fontSize: ` $ { e . typography . size . l1 } px ` ,fontWeight:e.typography.weight.bold},h2:{fontSize: ` $ { e . typography . size . m2 } px ` ,borderBottom: ` 1 px solid $ { e . appBorderColor } ` },h3:{fontSize: ` $ { e . typography . size . m1 } px ` },h4:{fontSize: ` $ { e . typography . size . s3 } px ` },h5:{fontSize: ` $ { e . typography . size . s2 } px ` },h6:{fontSize: ` $ { e . typography . size . s2 } px ` ,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop: ` 1 px solid $ { e . appBorderColor } ` ,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-ty
2024-02-08 10:52:22 +01:00
2024-02-15 19:20:09 +01:00
$ { t } ` );let r=t.match(NS);if(!r)return i.createElement(x.Fragment,null,t);let[,n,a]=r,o=t.split(/ \n /).slice(1),[,...l]=o.map(s=>{let u=s.match(jS)||s.match(HS)||s.match(ZS);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(PS.location.origin,"")}:null}).filter(Boolean);return i.createElement(x.Fragment,null,i.createElement("span",null,n),": ",i.createElement(BS,null,a),i.createElement("br",null),l.map((s,u)=>s.name?i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(IS,null,s.name)," (",i.createElement(If,null,s.location),")",i.createElement("br",null)):i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(If,null,s.location),i.createElement("br",null))))},Gg=T.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize: ` $ { e ? t . typography . size . s1 : t . typography . size . s2 - 1 } px ` ,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let a;return n?a=e.color.mediumlight:r?a=e.color.secondary:t&&(a=e.color.primary),a?{background:a,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:sa(.05,a)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow: ` $ { br ( a , 1 ) } 0 1 px 9 px 2 px ` ,outline:"none"},"&:focus:hover":{boxShadow: ` $ { br ( a , . 2 ) } 0 8 px 18 px 0 px ` }}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow: ` $ { e . button . border } 0 0 0 1 px inset ` ,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?sa(.02,e.button.background):lS(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow: ` $ { br ( e . color . secondary , 1 ) } 0 0 0 1 px inset ` ,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow: ` $ { Ye ( . 8 , e . color . defaultText ) } 0 0 0 1 px inset ` ,color:Ye(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow: ` $ { Ye ( . 5 , e . color . defaultText ) } 0 0 0 1 px inset ` ,outline:"none"},"&:active":{boxShadow: ` $ { Ye ( . 5 , e . color . defaultText ) } 0 0 0 2 px inset ` ,color:Ye(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow: ` $ { n } 0 0 0 1 px inset ` ,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow: ` $ { n } 0 0 0 1 px inset ` ,background:"transparent"},"&:active":{background:n,boxShadow: ` $ { n } 0 0 0 1 px inset ` ,color:e.color.tertiary},"&:focus":{boxShadow: ` $ { n } 0 0 0 1 px inset , $ { br ( n , . 4 ) } 0 1 px 9 px 2 px ` ,outline:"none"},"&:focus:hover":{boxShadow: ` $ { n } 0 0 0 1 px inset , $ { br ( n , . 2 ) } 0 8 px 18 px 0 px ` }}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let a;return n?a=e.color.secondary:r&&(a=e.color.primary),t&&a?{boxShadow: ` $ { a } 0 0 0 1 px inset ` ,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow: ` $ { a } 0 0 0 1 px inset ` ,background:"transparent"},"&:active":{background:a,boxShadow: ` $ { a } 0 0 0 1 px inset ` ,color:e.color.tertiary},"&:focus":{boxShadow: ` $ { a } 0 0 0 1 px inset , $ { br ( a , . 4 ) } 0 1 px 9 px 2 px ` ,outline:"none"},"&:focus:hover":{boxShadow: ` $ { a } 0 0 0 1 px inset , $ { br ( a , . 2 ) } 0 8 px 18 px 0 px ` }}:{}}),zS=Gg.withComponent("a"),Kg=Object.assign(x.forwardRef(function({isLink:e,children:t,...r},n){return e?i.createElement(zS,{...r,ref:n},t):i.createElement(Gg,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),VS=T.label(({theme:e})=>({display:"flex",borderBott
2024-02-08 10:52:22 +01:00
color : $ { r || e ? t . color . secondary : t . color . mediumdark } ;
& : hover {
color : $ { t . color . secondary } ;
. addon - collapsible - icon {
color : $ { t . color . secondary } ;
}
}
` );function T9(e){let t=x.useRef(),r=x.useRef(),n=x.useRef(new Map),{width:a=1}=xg({ref:t}),[o,l]=x.useState(e),[s,u]=x.useState([]),c=x.useRef(e),d=x.useCallback(({menuName:f,actions:p})=>{let y=s.some(({active:b})=>b),[h,S]=x.useState(!1);return i.createElement(i.Fragment,null,i.createElement(Rw,{interactive:!0,visible:h,onVisibleChange:S,placement:"bottom",delayHide:100,tooltip:i.createElement(l1,{links:s.map(({title:b,id:g,color:v,active:E})=>({id:g,title:b,color:v,active:E,onClick:w=>{w.preventDefault(),p.onSelect(g)}}))})},i.createElement(O9,{ref:r,active:y,preActive:h,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},f,i.createElement(_9,{className:"addon-collapsible-icon",isActive:y||h}))),s.map(({title:b,id:g,color:v},E)=>{let w= ` index - $ { E } ` ;return i.createElement(gl,{id: ` tabbutton - $ { V2 ( g ) ? ? w } ` ,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{n.current.set(g,C)},className:"tabbutton",type:"button",key:g,textColor:v,role:"tab"},b)}))},[s]),m=x.useCallback(()=>{if(!t.current||!r.current)return;let{x:f,width:p}=t.current.getBoundingClientRect(),{width:y}=r.current.getBoundingClientRect(),h=s.length?f+p-y:f+p,S=[],b=0,g=e.filter(v=>{let{id:E}=v,w=n.current.get(E),{width:C=0}=(w==null?void 0:w.getBoundingClientRect())||{},A=f+b+C>h;return(!A||!w)&&S.push(v),b+=C,A});(S.length!==o.length||c.current!==e)&&(l(S),u(g),c.current=e)},[s.length,e,o]);return x.useLayoutEffect(m,[m,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:d}}var $ 9="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",R9=T.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border: ` 1 px solid $ { e . appBorderColor } ` ,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),s1=T.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});s1.displayName="TabBar";var F9=T.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius: ` 0 0 $ { t . appBorderRadius - 1 } px $ { t . appBorderRadius - 1 } px ` }:{},({absolute:e,bordered:t})=>e?{height: ` calc ( 100 % - $ { t ? 42 : 40 } px ) ` ,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[ ` & > * : first - child$ { $9 } ` ]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height: ` calc ( 100 % - $ { t ? 2 : 0 } px ) ` ,overflow:"auto"}}:{}),L9=({active:e,render:t,children:r})=>i.createElement(ry,{active:e},t?t():r),Lu=x.memo(({children:e,selected:t,actions:r,absolute:n,bordered:a,tools:o,backgroundColor:l,id:s,menuName:u})=>{let c=Hf(e).map(h=>h.id),d=x.useMemo(()=>Hf(e).map((h,S)=>({...h,active:t?h.id===t:S===0})),[t,...c]),{visibleList:m,tabBarRef:f,tabRefs:p,AddonTab:y}=T9(d);return d.length?i.createElement(R9,{absolute:n,bordered:a,id:s},i.createElement(Fu,{scrollable:!1,border:!0,backgroundColor:l},i.createElement(s1,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:h,id:S,active:b,color:g},v)=>{let E= ` index - $ { v } ` ;return i.createElement(gl,{id: ` tabbutton - $ { V2 ( S ) ? ? E } ` ,ref:w=>{p.current.set(S,w)},className: ` tabbutton $ { b ? "tabbutton-active" : "" } ` ,type:"button",key:S,active:b,textColor:g,onClick:w=>{w.preventDefault(),r.onSelect(S)},role:"tab"},typeof h=="function"?i.createElement("title",null):h)}),i.createElement(y,{menuName:u,actions:r})),o),i.createElement(F9,{id:"panel-tab-content",bordered:a,absolute:n},d.map(({id:h,active:S,render:b})=>i.createElement(b,{key:h,active:S},null)))):i.createElement(Ug,null,i.createElement(x.Fragment,{key:"title"},"Nothing found"))});Lu.displayName="Tabs";Lu.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var ny=class extends x.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.st
from {
transform : rotate ( 0 deg ) ;
}
to {
transform : rotate ( 360 deg ) ;
}
` ,H9=T.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation: ` $ { j9 } 0.7 s linear infinite ` ,mixBlendMode:"difference"})),Zf=T.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),Z9=T.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Ye(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),z9=T.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),zf=T.div(({theme:e})=>({minHeight:"2em",fontSize: ` $ { e . typography . size . s1 } px ` ,color:e.barTextColor})),V9=T(qe)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),U9=Ia `
from { content : "..." }
33 % { content : "." }
66 % { content : ".." }
to { content : "..." }
` ,q9=T.span({"&::after":{content:"'...'",animation: ` $ { U9 } 1 s linear infinite ` ,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),ay=({progress:e,error:t,size:r,...n})=>{if(t)return i.createElement(Zf,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},i.createElement(V9,{icon:"lightningoff"}),i.createElement(zf,null,t.message));if(e){let{value:a,modules:o}=e,{message:l}=e;return o&&(l+= ` $ { o . complete } / $ { o . total } modules ` ),i.createElement(Zf,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":l,role:"progressbar",...n},i.createElement(Z9,null,i.createElement(z9,{style:{width: ` $ { a * 100 } % ` }})),i.createElement(zf,null,l,a<1&&i.createElement(q9,{key:l})))}return i.createElement(H9,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function W9(e){let t={},r=e.split("&");for(let n=0;n<r.length;n++){let a=r[n].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]||"")}return t}var oy=(e,t,r={})=>{let[n,a]=e.split("?"),o=a?{...W9(a),...r,id:t}:{...r,id:t};return ` $ { n } ? $ { Object . entries ( o ) . map ( l => ` ${ l [ 0 ] } = ${ l [ 1 ] } ` ) . join ( "&" ) } ` },G9=T.pre `
line - height : 18 px ;
padding : 11 px 1 rem ;
white - space : pre - wrap ;
background : rgba ( 0 , 0 , 0 , 0.05 ) ;
color : $ { V . darkest } ;
border - radius : 3 px ;
margin : 1 rem 0 ;
width : 100 % ;
display : block ;
overflow : hidden ;
font - family : $ { lr . fonts . mono } ;
font - size : $ { lr . size . s2 - 1 } px ;
` ,K9=({code:e,...t})=>i.createElement(G9,{id:"clipboard-code",...t},e),ly=zg,iy={};Object.keys(zg).forEach(e=>{iy[e]=x.forwardRef((t,r)=>x.createElement(e,{...t,ref:r}))});const Y9=Object.freeze(Object.defineProperty({__proto__:null,A:Ag,ActionBar:jd,AddonPanel:B9,Badge:yS,Bar:u1,Blockquote:kg,Button:Kg,ClipboardCode:K9,Code:e1,DL:Og,Div:_g,DocumentWrapper:CS,ErrorFormatter:Wg,FlexBar:Fu,Form:Ht,H1:Tg,H2:t1,H3:r1,H4: $ g,H5:Rg,H6:Fg,HR:Lg,IconButton:Rn,IconButtonSkeleton:ty,Icons:qe,Img:Dg,LI:Mg,Link:Jr,ListItem:o1,Loader:ay,OL:Pg,P:Bg,Placeholder:Ug,Pre:Ig,ResetWrapper:n1,ScrollArea:Zd,Separator:c1,Spaced:TS,Span:Ng,StorybookIcon:N9,StorybookLogo:I9,Symbols:vS,SyntaxHighlighter:Tu,TT:Hg,TabBar:s1,TabButton:gl,TabWrapper:L9,Table:jg,Tabs:Lu,TabsState:ny,TooltipLinkList:l1,TooltipMessage:Jg,TooltipNote:m9,UL:Zg,WithTooltip:l9,WithTooltipPure:Qg,Zoom:qg,codeCommon:Rr,components:ly,createCopyToClipboardFunction:ig,getStoryHref:oy,icons:el,interleaveSeparators:D9,nameSpaceClassNames:ie,resetComponents:iy,withReset:fe},Symbol.toStringTag,{value:"Module"}));function ot(){return ot=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},ot.apply(this,arguments)}function X9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tl(e,t){return tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},tl(e,t)}function Q9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,tl(e,t)}function f0(e){return f0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},f0(e)}function J9(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function uy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uy=function(){return!!e})()}function eC(e,t,r){if(uy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&tl(a,r.prototype),a}function m0(e){var t=typeof Map=="function"?new Map:void 0;return m0=function(n){if(n===null||!J9(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return eC(n,arguments,f0(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),tl(a,n)},m0(e)}var ur=function(e){Q9(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,X9(n)}return t}(m0(Error));function Rs(e){return Math.round(e*255)}function tC(e,t,r){return Rs(e)+","+Rs(t)+","+Rs(r)}function rl(e,t,r,n){if(n===void 0&&(n=tC),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,l=o*(1-Math.abs(a%2-1)),s=0,u=0,c=0;a>=0&&a<1?(s=o,u=l):a>=1&&a<2?(s=l,u=o):a>=2&&a<3?(u=o,c=l):a>=3&&a<4?(u=l,c=o):a>=4&&a<5?(s=l,c=o):a>=5&&a<6&&(s=o,c=l);var d=r-o/2,m=s+d,f=u+d,p=c+d;return n(m,f,p)}var Vf={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:"
` ).match(a);let m=!1;return{items:d.map(function(f,p){const y=o.exec(f)[0].length,h=new RegExp("^ {1,"+y+"}","gm"),S=f.replace(h,"").replace(o,""),b=p===d.length-1,g=S.indexOf( `
` )!==-1||b&&m;m=g;const v=u.inline,E=u.list;let w;u.list=!0,g?(u.inline=!1,w=S.replace(l2, `
` )):(u.inline=!0,w=S.replace(l2,""));const C=s(w,u);return u.inline=v,u.list=E,C}),ordered:r,start:c}},render:(l,s,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(c,d){return e("li",{key:d},s(c,u))}))}}const dT=/^ \[ ([^ \] ]*)] \( *((?: \( [^)]* \) |[^() ])*) *"?([^)"]*)?"? \) /,pT=/^! \[ ([^ \] ]*)] \( *((?: \( [^)]* \) |[^() ])*) *"?([^)"]*)?"? \) /,Vy=[ky,_y,Oy,Ty,Ry, $ y,Fy,Ly,Ny,Zy,jy,zy],fT=[...Vy,/^[^ \n ]+(?: \n | \n {2,})/,y0,v0];function mT(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function hT(e){return QO.test(e)?"right":YO.test(e)?"center":XO.test(e)?"left":null}function u2(e,t,r){const n=r.inTable;r.inTable=!0;const a=t(e.trim(),r);r.inTable=n;let o=[[]];return a.forEach(function(l,s){l.type==="26"?s!==0&&s!==a.length-1&&o.push([]):(l.type!=="27"||a[s+1]!=null&&a[s+1].type!=="26"||(l.text=l.text.replace(KO,"")),o[o.length-1].push(l))}),o}function gT(e,t,r){r.inline=!0;const n=u2(e[1],t,r),a=e[2].replace(GO,"").split("|").map(hT),o=function(l,s,u){return l.trim().split( `
` ).map(function(c){return u2(c,s,u)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function s2(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Dr(e){return function(t,r){return r.inline?e.exec(t):null}}function Mr(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function gr(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function lo(e){return function(t){return e.exec(t)}}function yT(e,t,r){if(t.inline||t.simple||r&&!r.endsWith( `
` ))return null;let n="";e.split( `
` ).every(o=>!Vy.some(l=>l.test(o))&&(n+=o+ `
` ,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Gn(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^ \s *(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function c2(e){return e.replace(iT," $ 1")}function hi(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function vT(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function bT(e,t,r){return r.inline=!1,e(t,r)}const Ms=(e,t,r)=>({children:hi(t,e[1],r)});function Ps(){return{}}function Bs(){return null}function ET(...e){return e.filter(Boolean).join(" ")}function Is(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function xT(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||mT,t.namedCodesToUnicode=t.namedCodesToUnicode?wn({},o2,t.namedCodesToUnicode):o2;const r=t.createElement||x.createElement;function n(p,y,...h){const S=Is(t.overrides, ` $ { p } . props ` ,{});return r(function(b,g){const v=Is(g,b);return v?typeof v=="function"||typeof v=="object"&&"render"in v?v:Is(g, ` $ { b } . component ` ,b):b}(p,t.overrides),wn({},y,S,{className:ET(y==null?void 0:y.className,S.className)||void 0}),...h)}function a(p){p=p.replace(FO,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=UO.test(p)===!1);const h=d(c(y?p: ` $ { p . trimEnd ( ) . replace ( oT , "" ) }
` ,{inline:y}));for(;typeof h[h.length-1]=="string"&&!h[h.length-1].trim();)h.pop();if(t.wrapper===null)return h;const S=t.wrapper||(y?"span":"div");let b;if(h.length>1||t.forceWrapper)b=h;else{if(h.length===1)return b=h[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return x.createElement(S,{key:"outer"},b)}function o(p){const y=p.match(EO);return y?y.reduce(function(h,S,b){const g=S.indexOf("=");if(g!==-1){const v=function(A){return A.indexOf("-")!==-1&&A.match(MO)===null&&(A=A.replace(jO,function(k,O){return O.toUpperCase()})),A}(S.slice(0,g)).trim(),E=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(S.slice(g+1).trim()),w=a2[v]||v,C=h[w]=function(A,k){return A==="style"?k.split(/; \s ?/).reduce(function(O,_){const $ =_.slice(0,_.indexOf(":"));return O[ $ .replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=_.slice( $ .length+1).trim(),O},{}):A==="href"||A==="src"?Gn(k):(k.match(PO)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(v,E);typeof C=="string"&&(y0.test(C)||v0.test(C))&&(h[w]=x.cloneElement(a(C.trim()),{key:b}))}else S!=="style"&&(h[a2[S]||S]=!0);return h},{}):null}const l=[],s={},u={0:{match:gr(ky),order:1,parse:(p,y,h)=>({children:y(p[0].replace(SO,""),h)}),render:(p,y,h)=>n("blockquote",{key:h.key},y(p.children,h))},1:{match:lo(CO),order:1,parse:Ps,render:(p,y,h)=>n("br",{key:h.key})},2:{match:gr(AO),order:1,parse:Ps,render:(p,y,h)=>n("hr",{key:h.key})},3:{match:gr(Oy),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/ \n + $ /,"")}),render:(p,y,h)=>n("pre",{key:h.key},n("code",wn({},p.attrs,{className:p.lang? ` lang - $ { p . lang } ` :""}),p.text))},4:{match:gr(_y),order:0,parse:p=>({attrs:o(p[3]||""),lang:p[2]||void 0,text:p[4],type:"3"})},5:{match:Mr(kO),order:3,parse:p=>({text:p[2]}),render:(p,y,h)=>n("code",{key:h.key},p.text)},6:{match:gr(TO),order:0,parse:p=>(l.push({footnote:p[2],identifier:p[1]}),{}),render:Bs},7:{match:Dr( $ O),order:1,parse:p=>({target: ` # $ { t . slugify ( p [ 1 ] ) } ` ,text:p[1]}),render:(p,y,h)=>n("a",{key:h.key,href:Gn(p.target)},n("sup",{key:h.key},p.text))},8:{match:Dr(LO),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,y,h)=>n("input",{checked:p.completed,key:h.key,readOnly:!0,type:"checkbox"})},9:{match:gr(t.enforceAtxHeadings? $ y:Ty),order:1,parse:(p,y,h)=>({children:hi(y,p[2],h),id:t.slugify(p[2]),level:p[1].length}),render:(p,y,h)=>n( ` h$ { p . level } ` ,{id:p.id,key:h.key},y(p.children,h))},10:{match:gr(Ry),order:0,parse:(p,y,h)=>({children:hi(y,p[1],h),level:p[2]==="="?1:2,type:"9"})},11:{match:lo(y0),order:1,parse(p,y,h){const[,S]=p[3].match(lT),b=new RegExp( ` ^ $ { S } ` ,"gm"),g=p[3].replace(b,""),v=(E=g,fT.some(k=>k.test(E))?bT:hi);var E;const w=p[1].toLowerCase(),C=bO.indexOf(w)!==-1,A={attrs:o(p[2]),noInnerParse:C,tag:C?w:p[1]};return h.inAnchor=h.inAnchor||w==="a",C?A.text=p[3]:A.children=v(y,g,h),h.inAnchor=!1,A},render:(p,y,h)=>n(p.tag,wn({key:h.key},p.attrs),p.text||y(p.children,h))},13:{match:lo(v0),order:1,parse:p=>({attrs:o(p[2]||""),tag:p[1]}),render:(p,y,h)=>n(p.tag,wn({},p.attrs,{key:h.key}))},12:{match:lo(Fy),order:1,parse:()=>({}),render:Bs},14:{match:Mr(pT),order:1,parse:p=>({alt:p[1],target:c2(p[2]),title:p[3]}),render:(p,y,h)=>n("img",{key:h.key,alt:p.alt||void 0,title:p.title||void 0,src:Gn(p.target)})},15:{match:Dr(dT),order:3,parse:(p,y,h)=>({children:vT(y,p[1],h),target:c2(p[2]),title:p[3]}),render:(p,y,h)=>n("a",{key:h.key,href:Gn(p.target),title:p.title},y(p.children,h))},16:{match:Dr(NO),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],type:"15"})},17:{match:(p,y)=>y.inAnchor?null:Dr(BO)(p,y),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],title:void 0,type:"15"})},18:{match:Dr(IO),order:0,parse(p){let y=p[1],h=p[1];return xO.test(h)||(h="mailto:"+h),{children:[{text:y.replace("mailto:",""),type:"27"}],target:h,type:"15"}}},20:i2(n,1),33:i2(n,2),19:{match:gr(_O),order:3,parse:Ps,render:()=> `
` },21:{match:yT,order:3,parse:Ms,render:(p,y,h)=>n("p",{key:h.key},y(p.children,h))},22:{match:Dr(HO),order:0,parse:p=>(s[p[1]]={target:p[2],title:p[4]},{}),render:Bs},23:{match:Mr(ZO),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,y,h)=>n("img",{key:h.key,alt:p.alt,src:Gn(s[p.ref].target),title:s[p.ref].title})},24:{match:Dr(zO),order:0,parse:(p,y,h)=>({children:y(p[1],h),fallbackChildren:y(p[0].replace(VO," \\ $ 1"),h),ref:p[2]}),render:(p,y,h)=>s[p.ref]?n("a",{key:h.key,href:Gn(s[p.ref].target),title:s[p.ref].title},y(p.children,h)):n("span",{key:h.key},y(p.fallbackChildren,h))},25:{match:gr(Ly),order:1,parse:gT,render:(p,y,h)=>n("table",{key:h.key},n("thead",null,n("tr",null,p.header.map(function(S,b){return n("th",{key:b,style:s2(p,b)},y(S,h))}))),n("tbody",null,p.cells.map(function(S,b){return n("tr",{key:b},S.map(function(g,v){return n("td",{key:v,style:s2(p,v)},y(g,h))}))})))},26:{match:function(p,y){return y.inTable?(y.inline=!0,WO.exec(p)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:lo(aT),order:4,parse:p=>({text:p[0].replace(DO,(y,h)=>t.namedCodesToUnicode[h]?t.namedCodesToUnicode[h]:y)}),render:p=>p.text},28:{match:Mr(JO),order:2,parse:(p,y,h)=>({children:y(p[2],h)}),render:(p,y,h)=>n("strong",{key:h.key},y(p.children,h))},29:{match:Mr(eT),order:3,parse:(p,y,h)=>({children:y(p[2],h)}),render:(p,y,h)=>n("em",{key:h.key},y(p.children,h))},30:{match:Mr(nT),order:1,parse:p=>({text:p[1],type:"27"})},31:{match:Mr(tT),order:3,parse:Ms,render:(p,y,h)=>n("mark",{key:h.key},y(p.children,h))},32:{match:Mr(rT),order:3,parse:Ms,render:(p,y,h)=>n("del",{key:h.key},y(p.children,h))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);const c=function(p){let y=Object.keys(p);function h(S,b){let g=[],v="";for(;S;){let E=0;for(;E<y.length;){const w=y[E],C=p[w],A=C.match(S,b,v);if(A){const k=A[0];S=S.substring(k.length);const O=C.parse(A,h,b);O.type==null&&(O.type=w),g.push(O),v=k;break}E++}}return g}return y.sort(function(S,b){let g=p[S].order,v=p[b].order;return g!==v?g-v:1}),function(S,b){return h(function(g){return g.replace(OO, `
` ).replace(RO,"").replace(qO," ")}(S),b)}}(u),d=(m=function(p,y){return function(h,S,b){const g=p[h.type].render;return y?y(()=>g(h,S,b),h,S,b):g(h,S,b)}}(u,t.renderRule),function p(y,h={}){if(Array.isArray(y)){const S=h.key,b=[];let g=!1;for(let v=0;v<y.length;v++){h.key=v;const E=p(y[v],h),w=typeof E=="string";w&&g?b[b.length-1]+=E:E!==null&&b.push(E),g=w}return h.key=S,b}return m(y,p,h)});var m;const f=a(e);return l.length?n("div",null,f,n("footer",{key:"footer"},l.map(function(p){return n("div",{id:t.slugify(p.identifier),key:p.identifier},p.identifier,d(c(p.footnote,{inline:!0})))}))):f}const Uy=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var l,s,u={},c=Object.keys(a);for(s=0;s<c.length;s++)o.indexOf(l=c[s])>=0||(u[l]=a[l]);return u}(e,vO);return x.cloneElement(xT(t,r),n)};function wT(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o<a;)if(t(e[o],o,e))return o;return-1}var ST=wT;function CT(e){return e!==e}var AT=CT;function kT(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}var _T=kT,OT=ST,TT=AT, $ T=_T;function RT(e,t,r){return t===t? $ T(e,t,r):OT(e,TT,r)}var FT=RT,LT=FT;function DT(e,t){var r=e==null?0:e.length;return!!r&<(e,t,0)>-1}var MT=DT;function PT(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var BT=PT;function IT(){}var NT=IT,Ns=jv,jT=NT,HT=K2,ZT=1/0,zT=Ns&&1/HT(new Ns([,-0]))[1]==ZT?function(e){return new Ns(e)}:jT,VT=zT,UT=Hv,qT=MT,WT=BT,GT=Zv,KT=VT,YT=K2,XT=200;function QT(e,t,r){var n=-1,a=qT,o=e.length,l=!0,s=[],u=s;if(r)l=!1,a=WT;else if(o>=XT){var c=t?null:KT(e);if(c)return YT(c);l=!1,a=GT,u=new UT}else u=t?[]:s;e:for(;++n<o;){var d=e[n],m=t?t(d):d;if(d=r||d!==0?d:0,l&&m===m){for(var f=u.length;f--;)if(u[f]===m)continue e;t&&u.push(m),s.push(d)}else a(u,m,r)||(u!==s&&u.push(m),s.push(d))}return s}var JT=QT,e $ =JT;function t $ (e){return e&&e.length?e $ (e):[]}var r $ =t $ ;const n $ =Ma(r $ );function a $ (e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var o $ =a $ ,l $ =g1,i $ =wy;function u $ (e,t,r,n){var a=!r;r||(r={});for(var o=-1,l=t.length;++o<l;){var s=t[o],u=n?n(r[s],e[s],s,r,e):void 0;u===void 0&&(u=e[s]),a?i $ (r,s,u):l $ (r,s,u)}return r}var Pu=u $ ,s $ =Pu,c $ =Du;function d $ (e,t){return e&&s $ (t,c $ (t),e)}var p $ =d $ ,f $ =Pu,m $ =y1;function h $ (e,t){return e&&f $ (t,m $ (t),e)}var g $ =h $ ,Qi={exports:{}};Qi.exports;(function(e,t){var r=zv,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,l=o?r.Buffer:void 0,s=l?l.allocUnsafe:void 0;function u(c,d){if(d)return c.slice();var m=c.length,f=s?s(m):new c.constructor(m);return c.copy(f),f}e.exports=u})(Qi,Qi.exports);var y $ =Qi.exports;function v $ (e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var b $ =v $ ,E $ =Pu,x $ =d1;function w $ (e,t){return E $ (e,x $ (e),t)}var S $ =w $ ,C $ =Pu,A $ =Cy;function k $ (e,t){return C $ (e,A $ (e),t)}var _ $ =k $ ,O $ =Object.prototype,T $ =O $ .hasOwnProperty;function $ $ (e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&T $ .call(e,"index")&&(r.index=e.index,r.input=e.input),r}var R $ = $ $ ,d2=Vv;function F $ (e){var t=new e.constructor(e.byteLength);return new d2(t).set(new d2(e)),t}var E1=F $ ,L $ =E1;function D $ (e,t){var r=t?L $ (e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var M $ =D $ ,P $ =/ \w * $ /;function B $ (e){var t=new e.constructor(e.source,P $ .exec(e));return t.lastIndex=e.lastIndex,t}var I $ =B $ ,p2=Uv,f2=p2?p2.prototype:void 0,m2=f2?f2.valueOf:void 0;function N $ (e){return m2?Object(m2.call(e)):{}}var j $ =N $ ,H $ =E1;function Z $ (e,t){var r=t?H $ (e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var z $ =Z $ ,V $ =E1,U $ =M $ ,q $ =I $ ,W $ =j $ ,G $ =z $ ,K $ ="[object Boolean]",Y $ ="[object Date]",X $ ="[object Map]",Q $ ="[object Number]",J $ ="[object RegExp]",eR="[object Set]",tR="[object String]",rR="[object Symbol]",nR="[object ArrayBuffer]",aR="[object DataView]",oR="[object Float32Array]",lR="[object Float64Array]",iR="[object Int8Array]",uR="[object Int16Array]",sR="[object Int32Array]",cR="[object Uint8Array]",dR="[object Uint8ClampedArray]",pR="[object Uint16Array]",fR="[object Uint32Array]";function mR(e,t,r)
` &&t!==" ` ")&&(t=null),a&&(e[l]===" / "&&e[l-1]!==" \ \ " || e [ l ] === `
` )&&(a=!1),r&&e[l-1]==="/"&&e[l-2]==="*"&&(r=!1),n&&e[l]=== `
` &&(n=!1)),!r&&!n&&(o+=e[l]);else o=e;return o},tM=Nn(1e4)(e=>eM(e).replace(/ \n \s */g,"").trim()),rM=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},nM=/^ \d {4}- \d {2}- \d {2}T \d {2}: \d {2}: \d {2}( \. \d {3})?Z $ /;function av(e){if(!JD(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=YF(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 aM=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const c=n.get(this)||this;for(;a.length&&c!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return ` _bigint _$ { u . toString ( ) } ` ;if(typeof u=="string")return nM.test(u)?t.allowDate? ` _date _$ { u } ` :void 0:u;if((0,oL.default)(u))return t.allowRegExp? ` _regexp _$ { u . flags } | $ { u . source } ` :void 0;if((0,lL.default)(u)){if(!t.allowFunction)return;const{name:m}=u,f=u.toString();return f.match(/( \[ native code \] |WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)? ` _function _$ { m } | $ { ( ( ) => { } ) . toString ( ) } ` : ` _function _$ { m } | $ { tM ( rM ( s , f ) ) } ` }if((0,iL.default)(u)){if(!t.allowSymbol)return;const m=Symbol.keyFor(u);return m!==void 0? ` _gsymbol _$ { m } ` : ` _symbol _$ { u . toString ( ) . slice ( 7 , - 1 ) } ` }if(a.length>=t.maxDepth)return Array.isArray(u)? ` [ Array ( $ { u . length } ) ] ` :"[Object]";if(u===this)return ` _duplicate _$ { JSON . stringify ( o ) } ` ;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const d=r.get(u);if(!d){const m=Array.isArray(u)?u:av(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(m,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(m),r.set(u,JSON.stringify(o)),u!==m&&n.set(u,m),m}return ` _duplicate _$ { d } ` }catch{return}}},oM={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},lM=(e,t={})=>{const r={...oM,...t};return JSON.stringify(av(e),aM(r),t.space)};/*!
* isobject < https : //github.com/jonschlinkert/isobject>
*
* Copyright ( c ) 2014 - 2017 , Jon Schlinkert .
* Released under the MIT License .
* //**
* @ license
* Lodash ( Custom Build ) < https : //lodash.com/>
* Build : ` lodash modularize exports="es" -o ./ `
* Copyright OpenJS Foundation and other contributors < https : //openjsf.org/>
* Released under MIT license < https : //lodash.com/license>
* Based on Underscore . js 1.8 . 3 < http : //underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas , DocumentCloud and Investigative Reporters & Editors
* /var ov={exports:{}},Hs,C2;function iM(){return C2||(C2=1,Hs={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(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),Hs}var Zs,A2;function uM(){return A2||(A2=1,Zs=function(e){var t=[].forEach,r=[].some,n=document.body,a,o=!0,l=" ";function s(g,v){var E=v.appendChild(c(g));if(g.children.length){var w=d(g.isCollapsed);g.children.forEach(function(C){s(C,w)}),E.appendChild(w)}}function u(g,v){var E=!1,w=d(E);if(v.forEach(function(C){s(C,w)}),a=g||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),v.length===0?a:a.appendChild(w)}function c(g){var v=document.createElement("li"),E=document.createElement("a");return e.listItemClass&&v.setAttribute("class",e.listItemClass),e.onClick&&(E.onclick=e.onClick),e.includeTitleTags&&E.setAttribute("title",g.textContent),e.includeHtml&&g.childNodes.length?t.call(g.childNodes,function(w){E.appendChild(w.cloneNode(!0))}):E.textContent=g.textContent,E.setAttribute("href",e.basePath+"#"+g.id),E.setAttribute("class",e.linkClass+l+"node-name--"+g.nodeName+l+e.extraLinkClasses),v.appendChild(E),v}function d(g){var v=e.orderedList?"ol":"ul",E=document.createElement(v),w=e.listClass+l+e.extraListClasses;return g&&(w=w+l+e.collapsibleClass,w=w+l+e.isCollapsedClass),E.setAttribute("class",w),E}function m(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var g;g=document.querySelector(e.scrollContainer).scrollTop}else g=document.documentElement.scrollTop||n.scrollTop;var v=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),g>e.fixedSidebarOffset?v.className.indexOf(e.positionFixedClass)===-1&&(v.className+=l+e.positionFixedClass):v.className=v.className.replace(l+e.positionFixedClass,"")}function f(g){var v=0;return g!==null&&(v=g.offsetTop,e.hasInnerContainers&&(v+=f(g.offsetParent))),v}function p(g,v){return g&&g.className!==v&&(g.className=v),g}function y(g){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var v;v=document.querySelector(e.scrollContainer).scrollTop}else v=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&m();var E=g,w;if(o&&a!==null&&E.length>0){r.call(E,function(L,D){if(f(L)>v+e.headingsOffset+10){var Z=D===0?D:D-1;return w=E[Z],!0}else if(D===E.length-1)return w=E[E.length-1],!0});var C=a.querySelector("."+e.activeLinkClass),A=a.querySelector("."+e.linkClass+".node-name--"+w.nodeName+'[href="'+e.basePath+"#"+w.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g , "\\$1" ) + '"]' ) ; if ( C === A ) return ; var k = a . querySelectorAll ( "." + e . linkClass ) ; t . call ( k , function ( L ) { p ( L , L . className . replace ( l + e . activeLinkClass , "" ) ) } ) ; var O = a . querySelectorAll ( "." + e . listItemClass ) ; t . call ( O , function ( L ) { p ( L , L . className . replace ( l + e . activeListItemClass , "" ) ) } ) , A && A . className . indexOf ( e . activeLinkClass ) === - 1 && ( A . className += l + e . activeLinkClass ) ; var _ = A && A . parentNode ; _ && _ . className . indexOf ( e . activeListItemClass ) === - 1 && ( _ . className += l + e . activeListItemClass ) ; var $ = a . querySelectorAll ( "." + e . listClass + "." + e . collapsibleClass ) ; t . call ( $ , function ( L ) { L . className . indexOf ( e . isCollapsedClass ) === - 1 && ( L . className += l + e . isCollapsedClass ) } ) , A && A . nextSibling && A . nextSibling . className . indexOf ( e . isCollapsedClass ) !== - 1 && p ( A . nextSibling , A . nextSibling . className . replace ( l + e . isCollapsedClass , "" ) ) , h ( A && A . parentNode . parentNode ) } } fun
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { En ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { En ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px inset ` ,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border: ` 1 px solid $ { nr ( e . appBorderColor , . 2 ) } ` ,borderRadius:"50px",boxShadow: ` 0 1 px 3 px 0 px $ { nr ( e . appBorderColor , . 2 ) } ` ,cursor:"grab",appearance:"none",background: ` $ { e . input . background } ` ,transition:"all 150ms ease-out","&:hover":{background: ` $ { Jt ( . 05 , e . input . background ) } ` ,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background: ` $ { e . input . background } ` ,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:nr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow: ` 0 0 px 5 px 0 px $ { e . color . secondary } ` }},"&::-moz-range-track":{background:e.base==="light"? ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { En ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { En ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px inset ` ,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border: ` 1 px solid $ { nr ( e . appBorderColor , . 2 ) } ` ,borderRadius:"50px",boxShadow: ` 0 1 px 3 px 0 px $ { nr ( e . appBorderColor , . 2 ) } ` ,cursor:"grab",background: ` $ { e . input . background } ` ,transition:"all 150ms ease-out","&:hover":{background: ` $ { Jt ( . 05 , e . input . background ) } ` ,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background: ` $ { e . input . background } ` ,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"? ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Jt ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { En ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
2024-02-15 19:20:09 +01:00
$ { En ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px 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: ` 1 px solid $ { nr ( e . appBorderColor , . 2 ) } ` ,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Ev=T.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),KP=T(Ev)(({numberOFDecimalsPlaces:e,max:t})=>({width: ` $ { e + t . toString ( ) . length * 2 + 3 } ch ` ,textAlign:"right",flexShrink:0})),YP=T.div({display:"flex",alignItems:"center",width:"100%"});function XP(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 QP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:s})=>{let u=m=>{r(dP(m.target.value))},c=t!==void 0,d=x.useMemo(()=>XP(o),[o]);return i.createElement(YP,null,i.createElement(Ev,null,n),i.createElement(GP,{id:Zt(e),type:"range",onChange:u,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:l}),i.createElement(KP,{numberOFDecimalsPlaces:d,max:a},c?t.toFixed(d):"--"," / ",a))},JP=T.label({display:"flex"}),eB=T.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),tB=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let l=m=>{r(m.target.value)},[s,u]=x.useState(!1),c=x.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return i.createElement(Ht.Button,{id:eu(e),onClick:c},"Set string");let d=typeof t=="string";return i.createElement(JP,null,i.createElement(Ht.Textarea,{id:Zt(e),maxLength:o,onChange:l,size:"flex",placeholder:"Edit string...",autoFocus:s,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:a}),o&&i.createElement(eB,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},rB=T(Ht.Input)({padding:10});function nB(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var aB=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=x.useRef(null);function o(l){if(!l.target.files)return;let s=Array.from(l.target.files).map(u=>URL.createObjectURL(u));e(s),nB(n)}return x.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),i.createElement(rB,{ref:a,id:Zt(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},oB=x.lazy(()=>Fn(()=>import("./Color-6VNJS4EI-98e22e35.js"),["./Color-6VNJS4EI-98e22e35.js","./_commonjsHelpers-725317a4.js","./index-a04a29e8.js","./iframe-e4327d0d.js","./index-11d98b33.js","./index-356e4a49.js"],import.meta.url)),lB=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(oB,{...e})),iB={array:H2,object:H2,boolean:nP,color:lB,date:sP,number:pP,check:Kn,"inline-check":Kn,radio:Kn,"inline-radio":Kn,select:Kn,"multi-select":Kn,range:QP,text:tB,file:aB},Z2=()=>i.createElement(i.Fragment,null,"-"),uB=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[l,s]=x.useState(!1),[u,c]=x.useState({value:t});x.useEffect(()=>{l||c({value:t})},[l,t]);let d=x.useCallback(h=>(c({value:h}),r({[a]:h}),h),[r,a]),m=x.useCallback(()=>s(!1),[]),f=x.useCallback(()=>s(!0),[]);if(!o||o.disable)return n?i.createElement(Jr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):i.createElement(Z2,null);let p={name:a,argType:e,value:u.value,onChange:d,onBlur:m,onFocus:f},y=iB[o.type]||Z2;return i.createElement(y,{...p,...o,controlType:o.type})},sB=T.span({fontWeight:"bold"}),cB=T.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),dB=T.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Rr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),pB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultT
2024-02-08 10:52:22 +01:00
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
` ),(c=t.parameters.docs)!=null&&c.transformSource&&Re(Xe ` The \ ` transformSource \` parameter at \` parameters.docs.transformSource \` is deprecated, please use \` parameters.docs.source.transform \` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
` ),(d=t.parameters.jsx)!=null&&d.transformSource&&Re(Xe ` The \ ` transformSource \` parameter at \` parameters.jsx.transformSource \` is deprecated, please use \` parameters.docs.source.transform \` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
` ),((p=n??o.transform??o.transformSource??((m=t.parameters.docs)==null?void 0:m.transformSource)??((f=t.parameters.jsx)==null?void 0:f.transformSource))==null?void 0:p(s,t))||s},Av=(e,t,r)=>{var p,y,h;let n=e.ids||(e.id?[e.id]:[]),a=R1(n,t),o=a,{of:l}=e;if("of"in e&&l===void 0)throw new Error("Unexpected ` of = { undefined } ` , did you mistype a CSF file reference?");if(l)o=[t.resolveOf(l,["story"]).story];else if(o.length===0)try{o=[t.storyById()]}catch{}if(!a.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let s=((h=(y=(p=o[0])==null?void 0:p.parameters)==null?void 0:y.docs)==null?void 0:h.source)||{},{code:u}=e,c=e.format??s.format,d=e.language??s.language??"jsx",m=e.dark??s.dark??!1;u||(u=o.map((S,b)=>{var w,C;if(!S)return"";let g=t.getStoryContext(S),v=e.__forceInitialArgs?g.initialArgs:g.unmappedArgs,E=ZB(S.id,v,r);return b===0&&(c=E.format??((C=(w=S.parameters.docs)==null?void 0:w.source)==null?void 0:C.format)??!1),zB({snippet:E.code,storyContext:{...g,args:v},typeFromProps:e.type,transformFromProps:e.transform})}).join( `
` ));let f=HB(o);return u?{code:u,format:c,language:d,dark:m,state:f}:{error:"Oh no! The source is not available.",state:f}},kv=(e,t)=>{let{id:r,of:n,meta:a,story:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected ` of = { undefined } ` , did you mistype a CSF file reference?");if(r)return Re(Xe ` Referencing stories by \ ` id \` is deprecated, please use \` of \` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:l}=e;return l?(Re(Xe`Referencing stories by \`name\` is deprecated, please use \`of\` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(l)):(o&&Re(Xe`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),a&&t.referenceMeta(a,!1),t.resolveOf(n||o||"story",["story"]).story.id)},VB=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;let{inlineStories:l,iframeHeight:s}=a;typeof l<"u"&&Re(Xe`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
` );let u=e.inline??o.inline??l??!1;if(typeof s<"u"&&Re(Xe ` The \ ` docs.iframeHeight \` parameter is deprecated, use \` docs.story.iframeHeight \` instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
` ),u){let d=e.height??o.height,m=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:d,autoplay:m,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let c=e.height??o.height??o.iframeHeight??s??"100px";return{story:t,inline:!1,height:c,primary:!!e.__primary}},UB=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=x.useContext(lt),r=kv(e,t),n=IB(r,t);if(!n)return i.createElement(O1,null);let a=VB(e,n,t);return a?i.createElement(MM,{...a}):null},qB=({withSource:e,mdxSource:t,children:r,layout:n,...a},o,l)=>{let s=x.Children.toArray(r).filter(f=>f.props&&(f.props.id||f.props.name||f.props.of)).map(f=>kv(f.props,o)),u=R1(s,o),c=u.some(f=>!f),d=Av({...t?{code:decodeURI(t)}:{ids:s},...a.of&&{of:a.of}},o,l);if(e==="none")return{isLoading:c,previewProps:a};let m=n;return x.Children.forEach(r,f=>{var p,y;m||(m=(y=(p=f==null?void 0:f.props)==null?void 0:p.parameters)==null?void 0:y.layout)}),u.forEach(f=>{var p,y;m||!f||(m=(f==null?void 0:f.parameters.layout)??((y=(p=f.parameters.docs)==null?void 0:p.canvas)==null?void 0:y.layout))}),{isLoading:c,previewProps:{...a,layout:m??"padded",withSource:d,isExpanded:(e||d.state)==="open"}}},WB=e=>{var S,b,g,v,E,w,C,A,k,O;let t=x.useContext(lt),r=x.useContext(Sv),{children:n,of:a,source:o}=e;if("of"in e&&a===void 0)throw new Error("Unexpected ` of = { undefined } ` , did you mistype a CSF file reference?");let{isLoading:l,previewProps:s}=qB(e,t,r),u,c,d;try{({story:u}=vl(a||"story",["story"]))}catch(_){n||(d=_)}try{c=Av({...o,...a&&{of:a}},t,r)}catch(_){n||(d=_)}if(d)throw d;if(e.withSource&&Re(Xe ` Setting source state with \ ` withSource \` is deprecated, please use \` sourceState \` with 'hidden', 'shown' or 'none' instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
` ),e.mdxSource&&Re(Xe ` Setting source code with \ ` mdxSource \` is deprecated, please use source={{code: '...'}} instead.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
` ),(e.isColumn!==void 0||e.columns!==void 0)&&Re(Xe ` \ ` isColumn \` and \` columns \` props are deprecated as the Canvas block now only supports showing a single story.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
` ),n)return Re(Xe ` Passing children to Canvas is deprecated , please use the \ ` of \` prop instead to reference a story.
Please refer to the migration guide : https : //github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
` ),l?i.createElement(zM,null):i.createElement(E0,{...s},n);let m=e.layout??u.parameters.layout??((b=(S=u.parameters.docs)==null?void 0:S.canvas)==null?void 0:b.layout)??"padded",f=e.withToolbar??((v=(g=u.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,p=e.additionalActions??((w=(E=u.parameters.docs)==null?void 0:E.canvas)==null?void 0:w.additionalActions),y=e.sourceState??((A=(C=u.parameters.docs)==null?void 0:C.canvas)==null?void 0:A.sourceState)??"hidden",h=e.className??((O=(k=u.parameters.docs)==null?void 0:k.canvas)==null?void 0:O.className);return i.createElement(E0,{withSource:y==="none"?void 0:c,isExpanded:y==="shown",withToolbar:f,additionalActions:p,className:h,layout:m},i.createElement(UB,{of:a||u.moduleExport,meta:e.meta,...e.story}))},GB=(e,t)=>{let r=t.getStoryContext(e),[n,a]=x.useState(r.globals);return x.useEffect(()=>{let o=l=>{a(l.globals)};return t.channel.on(R2,o),()=>t.channel.off(R2,o)},[t.channel]),[n]},KB=(e,t)=>{let r=YB(e,t);if(!r)throw new Error("No result when story was defined");return r},YB=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=x.useState(r.args);x.useEffect(()=>{let u=c=>{c.storyId===n&&o(c.args)};return t.channel.on( $ 2,u),()=>t.channel.off( $ 2,u)},[n,t.channel]);let l=x.useCallback(u=>t.channel.emit(mM,{storyId:n,updatedArgs:u}),[n,t.channel]),s=x.useCallback(u=>t.channel.emit(hM,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,l,s]},XB=e=>{var h;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=x.useContext(lt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o}=n,l=((h=a.docs)==null?void 0:h.controls)||{},s=e.include??l.include,u=e.exclude??l.exclude,c=e.sort??l.sort,[d,m,f]=KB(n,r),[p]=GB(n,r),y=fM(o,s,u);return i.createElement(MB,{rows:y,args:d,globals:p,updateArgs:m,resetArgs:f,sort:c})},{document:_v}=St,QB=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[ \n \r ]/g)))return i.createElement(e1,null,t);let n=e&&e.split("-");return i.createElement(k1,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function F1(e,t){e.channel.emit(gM,t)}var C0=ly.a,JB=({hash:e,children:t})=>{let r=x.useContext(lt);return i.createElement(C0,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);_v.getElementById(a)&&F1(r,e)}},t)},eI=e=>{let{href:t,target:r,children:n,...a}=e,o=x.useContext(lt);if(t){if(t.startsWith("#"))return i.createElement(JB,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return i.createElement(C0,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),F1(o,l.currentTarget.getAttribute("href")))},target:r,...a},n)}return i.createElement(C0,{...e})},Ov=["h1","h2","h3","h4","h5","h6"],tI=Ov.reduce((e,t)=>({...e,[t]:T(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),rI=T.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),nI=({as:e,id:t,children:r,...n})=>{let a=x.useContext(lt),o=tI[e],l= ` # $ { t } ` ;return i.createElement(o,{id:t,...n},i.createElement(rI,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:s=>{_v.getElementById(t)&&F1(a,l)}},i.createElement(qe,{icon:"link"})),r)},L1=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return i.createElement(nI,{as:t,id:r,...a},n);let o=t,{as:l,...s}=e;return i.createElement(o,{...ie(s,t)})},aI=Ov.reduce((e,t)=>({...e,[t]:r=>i.createElement(L1,{as:t,...r})}),{}),oI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Xe ` The Markdown block only accepts children as a single string , but children were of type : '${typeof e.children}'
This is often caused by not wrapping the child in a template string .
This is invalid :
< Markdown >
# Some heading
A paragraph
< / M a r k d o w n >
Instead do :
< Markdown >
{ \ `
# Some heading
A paragraph
\ ` }
< / M a r k d o w n >
` );return i.createElement(Uy,{...e,options:{forceBlock:!0,overrides:{code:QB,a:eI,...aI,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},lI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(lI||{}),yi="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",iI=e=>e&&(typeof e=="string"?e:Ks(e.markdown)||Ks(e.text)),uI=e=>e&&(typeof e=="string"?e:Ks(e.text)),sI=e=>null,cI=e=>{var t,r,n,a,o,l,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:c,component:d}=e.preparedMeta;return((a=(n=c.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=c.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,d,{component:d,parameters:c}))||null}case"component":{let{component:c,projectAnnotations:{parameters:d}}=e;return((u=(s=d.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,c,{component:c,parameters:d}))||null}default:throw new Error( ` Unrecognized module type resolved from 'useOf' , got : $ { e . type } ` )}},dI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:l,info:s,docs:u}=o;(l||s)&&Re( ` Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated . See $ { yi } ` );let{extractComponentDescription:c=sI,description:d}=u||{},m=d==null?void 0:d.component;if(m)return m;switch(e){case"info":return uI(s);case"notes":return iI(l);case"docgen":case"auto":default:return c(a,{component:a,...o})}},A0=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected ` of = { undefined } ` , did you mistype a CSF file reference?");let o=x.useContext(lt),l=vl(t||"meta"),s;return r||n||a?s=dI(e,o):s=cI(l),r&&Re( ` Manually specifying description type is deprecated . See $ { yi } ` ),n&&Re( ` The 'markdown' prop on the Description block is deprecated . See $ { yi } ` ),a&&Re( ` The 'children' prop on the Description block is deprecated . See $ { yi } ` ),s?i.createElement(oI,null,s):null},pI=T.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),fI=T.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft: ` solid 2 px $ { e . color . mediumlight } ` ,".toc-list":{paddingLeft:0,borderLeft: ` solid 2 px $ { e . color . mediumlight } ` ,".toc-list":{paddingLeft:0,borderLeft: ` solid 2 px $ { e . color . mediumlight } ` }}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft: ` solid 2 px $ { e . color . mediumdark } ` ,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),mI=T.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),hI=({title:e})=>e===null?null:typeof e=="string"?i.createElement(mI,null,e):e,gI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(x.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},s=setTimeout(()=>T2.init(l),100);return()=>{clearTimeout(s),T2.destroy()}},[t]),i.createElement(i.Fragment,null,i.createElement(pI,null,t?null:i.createElement(fI,null,i.createElement(h
The Primary block should only be used to render the primary story , which is automatically found .
2024-02-15 19:12:34 +01:00
` ),a?i.createElement(Tv,{of:a.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},kI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return i.createElement(t1,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return i.createElement(L1,{as:"h2",id:n,...r},e)},_I=T(kI)(({theme:e})=>({fontSize: ` $ { e . typography . size . s2 - 1 } px ` ,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),OI=({title:e="Stories",includePrimary:t=!0})=>{let{componentStories:r}=x.useContext(lt),n=r().filter(a=>{var o,l;return!((l=(o=a.parameters)==null?void 0:o.docs)!=null&&l.disable)});return t||(n=n.slice(1)),!n||n.length===0?null:i.createElement(i.Fragment,null,i.createElement(_I,null,e),n.map(a=>a&&i.createElement(Tv,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))},TI=()=>{let e=vl("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return i.createElement(i.Fragment,null,i.createElement(wI,null),i.createElement(SI,null),i.createElement(A0,{of:"meta"}),r?i.createElement(A0,{of:"story"}):null,i.createElement(AI,null),i.createElement(XB,null),r?null:i.createElement(OI,null))};function jI({context:e,docsParameter:t}){let r=t.container||bI,n=t.page||TI;return i.createElement(r,{context:e,theme:t.theme},i.createElement(n,null))}var HI=({of:e})=>{let t=x.useContext(lt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return i.createElement(xv,{storyId:r.id})}catch{return null}};export{eI as A,QB as C,jI as D,Ht as F,aI as H,qe as I,HI as M,i as R,zd as S,m9 as T,Rw as W,ft as _,Eg as a,q as b,ig as c,Pd as d,l9 as e,Zt as g,Nn as m,T as n,x as r,PI as s};