@companycam/slab-web 0.0.23-beta.21 → 0.0.23-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -9
- package/index.mjs +0 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),B=require("react");var T=function(){return T=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},T.apply(this,arguments)};function Q(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}function ln(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,un=ln(function(e){return dn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),w="-ms-",he="-moz-",b="-webkit-",jt="comm",Ae="rule",rt="decl",pn="@import",At="@keyframes",_n="@layer",fn=Math.abs,ot=String.fromCharCode,Ye=Object.assign;function hn(e,t){return j(e,0)^45?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}function Nt(e){return e.trim()}function L(e,t){return(e=t.exec(e))?e[0]:e}function f(e,t,n){return e.replace(t,n)}function ke(e,t){return e.indexOf(t)}function j(e,t){return e.charCodeAt(t)|0}function oe(e,t,n){return e.slice(t,n)}function M(e){return e.length}function Tt(e){return e.length}function fe(e,t){return t.push(e),e}function gn(e,t){return e.map(t).join("")}function ut(e,t){return e.filter(function(n){return!L(n,t)})}var Ne=1,se=1,Pt=0,R=0,I=0,le="";function Te(e,t,n,r,o,s,i,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Ne,column:se,length:i,return:"",siblings:c}}function V(e,t){return Ye(Te("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ne(e){for(;e.root;)e=V(e.root,{children:[e]});fe(e,e.siblings)}function mn(){return I}function yn(){return I=R>0?j(le,--R):0,se--,I===10&&(se=1,Ne--),I}function D(){return I=R<Pt?j(le,R++):0,se++,I===10&&(se=1,Ne++),I}function X(){return j(le,R)}function $e(){return R}function Pe(e,t){return oe(le,e,t)}function Ue(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 bn(e){return Ne=se=1,Pt=M(le=e),R=0,[]}function vn(e){return le="",e}function Le(e){return Nt(Pe(R-1,We(e===91?e+2:e===40?e+1:e)))}function xn(e){for(;(I=X())&&I<33;)D();return Ue(e)>2||Ue(I)>3?"":" "}function wn(e,t){for(;--t&&D()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Pe(e,$e()+(t<6&&X()==32&&D()==32))}function We(e){for(;D();)switch(I){case e:return R;case 34:case 39:e!==34&&e!==39&&We(I);break;case 40:e===41&&We(e);break;case 92:D();break}return R}function kn(e,t){for(;D()&&e+I!==47+10;)if(e+I===42+42&&X()===47)break;return"/*"+Pe(t,R-1)+"*"+ot(e===47?e:D())}function $n(e){for(;!Ue(X());)D();return Pe(e,R)}function Sn(e){return vn(Se("",null,null,null,[""],e=bn(e),0,[0],e))}function Se(e,t,n,r,o,s,i,c,a){for(var d=0,_=0,u=i,g=0,m=0,v=0,$=1,A=1,z=1,C=0,x="",S=o,E=s,y=r,h=x;A;)switch(v=C,C=D()){case 40:if(v!=108&&j(h,u-1)==58){ke(h+=f(Le(C),"&","&\f"),"&\f")!=-1&&(z=-1);break}case 34:case 39:case 91:h+=Le(C);break;case 9:case 10:case 13:case 32:h+=xn(v);break;case 92:h+=wn($e()-1,7);continue;case 47:switch(X()){case 42:case 47:fe(zn(kn(D(),$e()),t,n,a),a);break;default:h+="/"}break;case 123*$:c[d++]=M(h)*z;case 125*$:case 59:case 0:switch(C){case 0:case 125:A=0;case 59+_:z==-1&&(h=f(h,/\f/g,"")),m>0&&M(h)-u&&fe(m>32?_t(h+";",r,n,u-1,a):_t(f(h," ","")+";",r,n,u-2,a),a);break;case 59:h+=";";default:if(fe(y=pt(h,t,n,d,_,o,c,x,S=[],E=[],u,s),s),C===123)if(_===0)Se(h,t,y,y,S,s,u,c,E);else switch(g===99&&j(h,3)===110?100:g){case 100:case 108:case 109:case 115:Se(e,y,y,r&&fe(pt(e,y,y,0,0,o,c,x,o,S=[],u,E),E),o,E,u,c,r?S:E);break;default:Se(h,y,y,y,[""],E,0,c,E)}}d=_=m=0,$=z=1,x=h="",u=i;break;case 58:u=1+M(h),m=v;default:if($<1){if(C==123)--$;else if(C==125&&$++==0&&yn()==125)continue}switch(h+=ot(C),C*$){case 38:z=_>0?1:(h+="\f",-1);break;case 44:c[d++]=(M(h)-1)*z,z=1;break;case 64:X()===45&&(h+=Le(D())),g=X(),_=u=M(x=h+=$n($e())),C++;break;case 45:v===45&&M(h)==2&&($=0)}}return s}function pt(e,t,n,r,o,s,i,c,a,d,_,u){for(var g=o-1,m=o===0?s:[""],v=Tt(m),$=0,A=0,z=0;$<r;++$)for(var C=0,x=oe(e,g+1,g=fn(A=i[$])),S=e;C<v;++C)(S=Nt(A>0?m[C]+" "+x:f(x,/&\f/g,m[C])))&&(a[z++]=S);return Te(e,t,n,o===0?Ae:c,a,d,_,u)}function zn(e,t,n,r){return Te(e,t,n,jt,ot(mn()),oe(e,2,-2),0,r)}function _t(e,t,n,r,o){return Te(e,t,n,rt,oe(e,0,r),oe(e,r+1,-1),r,o)}function Rt(e,t,n){switch(hn(e,t)){case 5103:return b+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return b+e+e;case 4789:return he+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return b+e+he+e+w+e+e;case 5936:switch(j(e,t+11)){case 114:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return b+e+w+e+e;case 6165:return b+e+w+"flex-"+e+e;case 5187:return b+e+f(e,/(\w+).+(:[^]+)/,b+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return b+e+w+"flex-item-"+f(e,/flex-|-self/g,"")+(L(e,/flex-|baseline/)?"":w+"grid-row-"+f(e,/flex-|-self/g,""))+e;case 4675:return b+e+w+"flex-line-pack"+f(e,/align-content|flex-|-self/g,"")+e;case 5548:return b+e+w+f(e,"shrink","negative")+e;case 5292:return b+e+w+f(e,"basis","preferred-size")+e;case 6060:return b+"box-"+f(e,"-grow","")+b+e+w+f(e,"grow","positive")+e;case 4554:return b+f(e,/([^-])(transform)/g,"$1"+b+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,b+"$1"),/(image-set)/,b+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,b+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,b+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+b+e+e;case 4200:if(!L(e,/flex-|baseline/))return w+"grid-column-align"+oe(e,t)+e;break;case 2592:case 3360:return w+f(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,L(r.props,/grid-\w+-end/)})?~ke(e+(n=n[t].value),"span")?e:w+f(e,"-start","")+e+w+"grid-row-span:"+(~ke(n,"span")?L(n,/\d+/):+L(n,/\d+/)-+L(e,/\d+/))+";":w+f(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return L(r.props,/grid-\w+-start/)})?e:w+f(f(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,b+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(M(e)-1-t>6)switch(j(e,t+1)){case 109:if(j(e,t+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+b+"$2-$3$1"+he+(j(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ke(e,"stretch")?Rt(f(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return f(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,s,i,c,a,d){return w+o+":"+s+d+(i?w+o+"-span:"+(c?a:+a-+s)+d:"")+e});case 4949:if(j(e,t+6)===121)return f(e,":",":"+b)+e;break;case 6444:switch(j(e,j(e,14)===45?18:11)){case 120:return f(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+b+(j(e,14)===45?"inline-":"")+"box$3$1"+b+"$2$3$1"+w+"$2box$3")+e;case 100:return f(e,":",":"+w)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(e,"scroll-","scroll-snap-")+e}return e}function Ee(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Cn(e,t,n,r){switch(e.type){case _n:if(e.children.length)break;case pn:case rt:return e.return=e.return||e.value;case jt:return"";case At:return e.return=e.value+"{"+Ee(e.children,r)+"}";case Ae:if(!M(e.value=e.props.join(",")))return""}return M(n=Ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function En(e){var t=Tt(e);return function(n,r,o,s){for(var i="",c=0;c<t;c++)i+=e[c](n,r,o,s)||"";return i}}function In(e){return function(t){t.root||(t=t.return)&&e(t)}}function jn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rt:e.return=Rt(e.value,e.length,n);return;case At:return Ee([V(e,{value:f(e.value,"@","@"+b)})],r);case Ae:if(e.length)return gn(n=e.props,function(o){switch(L(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ne(V(e,{props:[f(o,/:(read-\w+)/,":"+he+"$1")]})),ne(V(e,{props:[o]})),Ye(e,{props:ut(n,r)});break;case"::placeholder":ne(V(e,{props:[f(o,/:(plac\w+)/,":"+b+"input-$1")]})),ne(V(e,{props:[f(o,/:(plac\w+)/,":"+he+"$1")]})),ne(V(e,{props:[f(o,/:(plac\w+)/,w+"input-$1")]})),ne(V(e,{props:[o]})),Ye(e,{props:ut(n,r)});break}return""})}}var An={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},J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",st=typeof window<"u"&&"HTMLElement"in window,Nn=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ft=/invalid hook call/i,ve=new Set,Tn=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),B=require("react");var T=function(){return T=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},T.apply(this,arguments)};function Q(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}function ln(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,un=ln(function(e){return dn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),w="-ms-",he="-moz-",b="-webkit-",jt="comm",Ae="rule",rt="decl",pn="@import",At="@keyframes",_n="@layer",fn=Math.abs,ot=String.fromCharCode,Ye=Object.assign;function hn(e,t){return j(e,0)^45?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}function Nt(e){return e.trim()}function L(e,t){return(e=t.exec(e))?e[0]:e}function f(e,t,n){return e.replace(t,n)}function ke(e,t){return e.indexOf(t)}function j(e,t){return e.charCodeAt(t)|0}function oe(e,t,n){return e.slice(t,n)}function M(e){return e.length}function Tt(e){return e.length}function fe(e,t){return t.push(e),e}function gn(e,t){return e.map(t).join("")}function ut(e,t){return e.filter(function(n){return!L(n,t)})}var Ne=1,se=1,Pt=0,R=0,I=0,le="";function Te(e,t,n,r,o,s,i,c){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:Ne,column:se,length:i,return:"",siblings:c}}function V(e,t){return Ye(Te("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ne(e){for(;e.root;)e=V(e.root,{children:[e]});fe(e,e.siblings)}function mn(){return I}function yn(){return I=R>0?j(le,--R):0,se--,I===10&&(se=1,Ne--),I}function D(){return I=R<Pt?j(le,R++):0,se++,I===10&&(se=1,Ne++),I}function X(){return j(le,R)}function Se(){return R}function Pe(e,t){return oe(le,e,t)}function Ue(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 bn(e){return Ne=se=1,Pt=M(le=e),R=0,[]}function vn(e){return le="",e}function Le(e){return Nt(Pe(R-1,We(e===91?e+2:e===40?e+1:e)))}function xn(e){for(;(I=X())&&I<33;)D();return Ue(e)>2||Ue(I)>3?"":" "}function wn(e,t){for(;--t&&D()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return Pe(e,Se()+(t<6&&X()==32&&D()==32))}function We(e){for(;D();)switch(I){case e:return R;case 34:case 39:e!==34&&e!==39&&We(I);break;case 40:e===41&&We(e);break;case 92:D();break}return R}function kn(e,t){for(;D()&&e+I!==47+10;)if(e+I===42+42&&X()===47)break;return"/*"+Pe(t,R-1)+"*"+ot(e===47?e:D())}function Sn(e){for(;!Ue(X());)D();return Pe(e,R)}function $n(e){return vn($e("",null,null,null,[""],e=bn(e),0,[0],e))}function $e(e,t,n,r,o,s,i,c,a){for(var d=0,_=0,u=i,g=0,m=0,v=0,S=1,A=1,z=1,C=0,x="",$=o,E=s,y=r,h=x;A;)switch(v=C,C=D()){case 40:if(v!=108&&j(h,u-1)==58){ke(h+=f(Le(C),"&","&\f"),"&\f")!=-1&&(z=-1);break}case 34:case 39:case 91:h+=Le(C);break;case 9:case 10:case 13:case 32:h+=xn(v);break;case 92:h+=wn(Se()-1,7);continue;case 47:switch(X()){case 42:case 47:fe(zn(kn(D(),Se()),t,n,a),a);break;default:h+="/"}break;case 123*S:c[d++]=M(h)*z;case 125*S:case 59:case 0:switch(C){case 0:case 125:A=0;case 59+_:z==-1&&(h=f(h,/\f/g,"")),m>0&&M(h)-u&&fe(m>32?_t(h+";",r,n,u-1,a):_t(f(h," ","")+";",r,n,u-2,a),a);break;case 59:h+=";";default:if(fe(y=pt(h,t,n,d,_,o,c,x,$=[],E=[],u,s),s),C===123)if(_===0)$e(h,t,y,y,$,s,u,c,E);else switch(g===99&&j(h,3)===110?100:g){case 100:case 108:case 109:case 115:$e(e,y,y,r&&fe(pt(e,y,y,0,0,o,c,x,o,$=[],u,E),E),o,E,u,c,r?$:E);break;default:$e(h,y,y,y,[""],E,0,c,E)}}d=_=m=0,S=z=1,x=h="",u=i;break;case 58:u=1+M(h),m=v;default:if(S<1){if(C==123)--S;else if(C==125&&S++==0&&yn()==125)continue}switch(h+=ot(C),C*S){case 38:z=_>0?1:(h+="\f",-1);break;case 44:c[d++]=(M(h)-1)*z,z=1;break;case 64:X()===45&&(h+=Le(D())),g=X(),_=u=M(x=h+=Sn(Se())),C++;break;case 45:v===45&&M(h)==2&&(S=0)}}return s}function pt(e,t,n,r,o,s,i,c,a,d,_,u){for(var g=o-1,m=o===0?s:[""],v=Tt(m),S=0,A=0,z=0;S<r;++S)for(var C=0,x=oe(e,g+1,g=fn(A=i[S])),$=e;C<v;++C)($=Nt(A>0?m[C]+" "+x:f(x,/&\f/g,m[C])))&&(a[z++]=$);return Te(e,t,n,o===0?Ae:c,a,d,_,u)}function zn(e,t,n,r){return Te(e,t,n,jt,ot(mn()),oe(e,2,-2),0,r)}function _t(e,t,n,r,o){return Te(e,t,n,rt,oe(e,0,r),oe(e,r+1,-1),r,o)}function Rt(e,t,n){switch(hn(e,t)){case 5103:return b+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return b+e+e;case 4789:return he+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return b+e+he+e+w+e+e;case 5936:switch(j(e,t+11)){case 114:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return b+e+w+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return b+e+w+e+e;case 6165:return b+e+w+"flex-"+e+e;case 5187:return b+e+f(e,/(\w+).+(:[^]+)/,b+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return b+e+w+"flex-item-"+f(e,/flex-|-self/g,"")+(L(e,/flex-|baseline/)?"":w+"grid-row-"+f(e,/flex-|-self/g,""))+e;case 4675:return b+e+w+"flex-line-pack"+f(e,/align-content|flex-|-self/g,"")+e;case 5548:return b+e+w+f(e,"shrink","negative")+e;case 5292:return b+e+w+f(e,"basis","preferred-size")+e;case 6060:return b+"box-"+f(e,"-grow","")+b+e+w+f(e,"grow","positive")+e;case 4554:return b+f(e,/([^-])(transform)/g,"$1"+b+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,b+"$1"),/(image-set)/,b+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,b+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,b+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+b+e+e;case 4200:if(!L(e,/flex-|baseline/))return w+"grid-column-align"+oe(e,t)+e;break;case 2592:case 3360:return w+f(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,L(r.props,/grid-\w+-end/)})?~ke(e+(n=n[t].value),"span")?e:w+f(e,"-start","")+e+w+"grid-row-span:"+(~ke(n,"span")?L(n,/\d+/):+L(n,/\d+/)-+L(e,/\d+/))+";":w+f(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return L(r.props,/grid-\w+-start/)})?e:w+f(f(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,b+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(M(e)-1-t>6)switch(j(e,t+1)){case 109:if(j(e,t+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+b+"$2-$3$1"+he+(j(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ke(e,"stretch")?Rt(f(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return f(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,s,i,c,a,d){return w+o+":"+s+d+(i?w+o+"-span:"+(c?a:+a-+s)+d:"")+e});case 4949:if(j(e,t+6)===121)return f(e,":",":"+b)+e;break;case 6444:switch(j(e,j(e,14)===45?18:11)){case 120:return f(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+b+(j(e,14)===45?"inline-":"")+"box$3$1"+b+"$2$3$1"+w+"$2box$3")+e;case 100:return f(e,":",":"+w)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(e,"scroll-","scroll-snap-")+e}return e}function Ee(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Cn(e,t,n,r){switch(e.type){case _n:if(e.children.length)break;case pn:case rt:return e.return=e.return||e.value;case jt:return"";case At:return e.return=e.value+"{"+Ee(e.children,r)+"}";case Ae:if(!M(e.value=e.props.join(",")))return""}return M(n=Ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function En(e){var t=Tt(e);return function(n,r,o,s){for(var i="",c=0;c<t;c++)i+=e[c](n,r,o,s)||"";return i}}function In(e){return function(t){t.root||(t=t.return)&&e(t)}}function jn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rt:e.return=Rt(e.value,e.length,n);return;case At:return Ee([V(e,{value:f(e.value,"@","@"+b)})],r);case Ae:if(e.length)return gn(n=e.props,function(o){switch(L(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ne(V(e,{props:[f(o,/:(read-\w+)/,":"+he+"$1")]})),ne(V(e,{props:[o]})),Ye(e,{props:ut(n,r)});break;case"::placeholder":ne(V(e,{props:[f(o,/:(plac\w+)/,":"+b+"input-$1")]})),ne(V(e,{props:[f(o,/:(plac\w+)/,":"+he+"$1")]})),ne(V(e,{props:[f(o,/:(plac\w+)/,w+"input-$1")]})),ne(V(e,{props:[o]})),Ye(e,{props:ut(n,r)});break}return""})}}var An={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},J=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",st=typeof window<"u"&&"HTMLElement"in window,Nn=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ft=/invalid hook call/i,ve=new Set,Tn=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
|
|
2
2
|
`)+`You may see this warning because you've called styled inside another component.
|
|
3
3
|
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var s=!0;console.error=function(i){for(var c=[],a=1;a<arguments.length;a++)c[a-1]=arguments[a];ft.test(i)?(s=!1,ve.delete(r)):o.apply(void 0,Q([i],c,!1))},B.useRef(),s&&!ve.has(r)&&(console.warn(r),ve.add(r))}catch(i){ft.test(i.message)&&ve.delete(r)}finally{console.error=o}}},Re=Object.freeze([]),ie=Object.freeze({});function Pn(e,t,n){return n===void 0&&(n=ie),e.theme!==n.theme&&e.theme||t||n.theme}var qe=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Rn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,On=/(^-|-$)/g;function ht(e){return e.replace(Rn,"-").replace(On,"")}var Dn=/(a)(d)/gi,gt=function(e){return String.fromCharCode(e+(e>25?39:97))};function Xe(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=gt(t%52)+n;return(gt(t%52)+n).replace(Dn,"$1-$2")}var Fe,U=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ot=function(e){return U(5381,e)};function Dt(e){return Xe(Ot(e)>>>0)}function Mt(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function He(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Bt=typeof Symbol=="function"&&Symbol.for,Lt=Bt?Symbol.for("react.memo"):60115,Mn=Bt?Symbol.for("react.forward_ref"):60112,Bn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ln={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ft={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fn=((Fe={})[Mn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fe[Lt]=Ft,Fe);function mt(e){return("type"in(t=e)&&t.type.$$typeof)===Lt?Ft:"$$typeof"in e?Fn[e.$$typeof]:Bn;var t}var Hn=Object.defineProperty,Vn=Object.getOwnPropertyNames,yt=Object.getOwnPropertySymbols,Gn=Object.getOwnPropertyDescriptor,Yn=Object.getPrototypeOf,bt=Object.prototype;function Ht(e,t,n){if(typeof t!="string"){if(bt){var r=Yn(t);r&&r!==bt&&Ht(e,r,n)}var o=Vn(t);yt&&(o=o.concat(yt(t)));for(var s=mt(e),i=mt(t),c=0;c<o.length;++c){var a=o[c];if(!(a in Ln||n&&n[a]||i&&a in i||s&&a in s)){var d=Gn(t,a);try{Hn(e,a,d)}catch{}}}}return e}function ae(e){return typeof e=="function"}function it(e){return typeof e=="object"&&"styledComponentId"in e}function W(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ke(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function ce(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ze(e,t,n){if(n===void 0&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Ze(e[r],t[r]);else if(ce(t))for(var r in t)e[r]=Ze(e[r],t[r]);return e}function at(e,t){Object.defineProperty(e,"toString",{value:t})}var Un=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
4
4
|
|
|
@@ -43,8 +43,8 @@ as for instance in your render method then you may be running into this limitati
|
|
|
43
43
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
44
44
|
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Wn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,s=e.length;o<s;o+=1)r.push(e[o]);return r.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}function de(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Wn.apply(void 0,Q([Un[e]],t,!1)).trim())}var qn=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,s=o;t>=s;)if((s<<=1)<0)throw de(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(r),this.length=s;for(var i=o;i<s;i++)this.groupSizes[i]=0}for(var c=this.indexOfGroup(t+1),a=(i=0,n.length);i<a;i++)this.tag.insertRule(c,n[i])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var s=r;s<o;s++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),s=o+r,i=o;i<s;i++)n+="".concat(this.tag.getRule(i)).concat(`/*!sc*/
|
|
45
45
|
`);return n},e}(),ze=new Map,Ie=new Map,Ce=1,xe=function(e){if(ze.has(e))return ze.get(e);for(;Ie.has(Ce);)Ce++;var t=Ce++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw de(16,"".concat(t));return ze.set(e,t),Ie.set(t,e),t},Xn=function(e,t){Ce=t+1,ze.set(e,t),Ie.set(t,e)},Kn="style[".concat(J,"][").concat("data-styled-version",'="').concat("6.1.1",'"]'),Zn=new RegExp("^".concat(J,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Qn=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},Jn=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(`/*!sc*/
|
|
46
|
-
`),o=[],s=0,i=r.length;s<i;s++){var c=r[s].trim();if(c){var a=c.match(Zn);if(a){var d=0|parseInt(a[1],10),_=a[2];d!==0&&(Xn(_,d),Qn(e,_,a[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}};function er(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Vt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(c){var a=Array.from(c.querySelectorAll("style[".concat(J,"]")));return a[a.length-1]}(n),s=o!==void 0?o.nextSibling:null;r.setAttribute(J,"active"),r.setAttribute("data-styled-version","6.1.1");var i=er();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},tr=function(){function e(t){this.element=Vt(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,s=r.length;o<s;o++){var i=r[o];if(i.ownerNode===n)return i}throw de(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),nr=function(){function e(t){this.element=Vt(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),rr=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),vt=st,or={isServer:!st,useCSSOMInjection:!Nn},Gt=function(){function e(t,n,r){t===void 0&&(t=ie),n===void 0&&(n={});var o=this;this.options=T(T({},or),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&st&&vt&&(vt=!1,function(s){for(var i=document.querySelectorAll(Kn),c=0,a=i.length;c<a;c++){var d=i[c];d&&d.getAttribute(J)!=="active"&&(Jn(s,d),d.parentNode&&d.parentNode.removeChild(d))}}(this)),at(this,function(){return function(s){for(var i=s.getTag(),c=i.length,a="",d=function(u){var g=function(z){return Ie.get(z)}(u);if(g===void 0)return"continue";var m=s.names.get(g),v=i.getGroup(u);if(m===void 0||v.length===0)return"continue";var
|
|
47
|
-
`)},_=0;_<c;_++)d(_);return a}(o)})}return e.registerId=function(t){return xe(t)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(T(T({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new rr(o):r?new tr(o):new nr(o)}(this.options),new qn(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(xe(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(xe(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(xe(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),sr=/&/g,ir=/^\s*\/\/.*$/gm;function Yt(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Yt(n.children,t)),n})}function ar(e){var t,n,r,o=e===void 0?ie:e,s=o.options,i=s===void 0?ie:s,c=o.plugins,a=c===void 0?Re:c,d=function(g,m,v){return v===n||v.startsWith(n)&&v.endsWith(n)&&v.replaceAll(n,"").length>0?".".concat(t):g},_=a.slice();_.push(function(g){g.type===Ae&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(sr,n).replace(r,d))}),i.prefix&&_.push(jn),_.push(Cn);var u=function(g,m,v
|
|
46
|
+
`),o=[],s=0,i=r.length;s<i;s++){var c=r[s].trim();if(c){var a=c.match(Zn);if(a){var d=0|parseInt(a[1],10),_=a[2];d!==0&&(Xn(_,d),Qn(e,_,a[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}};function er(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Vt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(c){var a=Array.from(c.querySelectorAll("style[".concat(J,"]")));return a[a.length-1]}(n),s=o!==void 0?o.nextSibling:null;r.setAttribute(J,"active"),r.setAttribute("data-styled-version","6.1.1");var i=er();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},tr=function(){function e(t){this.element=Vt(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,s=r.length;o<s;o++){var i=r[o];if(i.ownerNode===n)return i}throw de(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),nr=function(){function e(t){this.element=Vt(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),rr=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),vt=st,or={isServer:!st,useCSSOMInjection:!Nn},Gt=function(){function e(t,n,r){t===void 0&&(t=ie),n===void 0&&(n={});var o=this;this.options=T(T({},or),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&st&&vt&&(vt=!1,function(s){for(var i=document.querySelectorAll(Kn),c=0,a=i.length;c<a;c++){var d=i[c];d&&d.getAttribute(J)!=="active"&&(Jn(s,d),d.parentNode&&d.parentNode.removeChild(d))}}(this)),at(this,function(){return function(s){for(var i=s.getTag(),c=i.length,a="",d=function(u){var g=function(z){return Ie.get(z)}(u);if(g===void 0)return"continue";var m=s.names.get(g),v=i.getGroup(u);if(m===void 0||v.length===0)return"continue";var S="".concat(J,".g").concat(u,'[id="').concat(g,'"]'),A="";m!==void 0&&m.forEach(function(z){z.length>0&&(A+="".concat(z,","))}),a+="".concat(v).concat(S,'{content:"').concat(A,'"}').concat(`/*!sc*/
|
|
47
|
+
`)},_=0;_<c;_++)d(_);return a}(o)})}return e.registerId=function(t){return xe(t)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(T(T({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new rr(o):r?new tr(o):new nr(o)}(this.options),new qn(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(xe(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(xe(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(xe(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),sr=/&/g,ir=/^\s*\/\/.*$/gm;function Yt(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Yt(n.children,t)),n})}function ar(e){var t,n,r,o=e===void 0?ie:e,s=o.options,i=s===void 0?ie:s,c=o.plugins,a=c===void 0?Re:c,d=function(g,m,v){return v===n||v.startsWith(n)&&v.endsWith(n)&&v.replaceAll(n,"").length>0?".".concat(t):g},_=a.slice();_.push(function(g){g.type===Ae&&g.value.includes("&")&&(g.props[0]=g.props[0].replace(sr,n).replace(r,d))}),i.prefix&&_.push(jn),_.push(Cn);var u=function(g,m,v,S){m===void 0&&(m=""),v===void 0&&(v=""),S===void 0&&(S="&"),t=S,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var A=g.replace(ir,""),z=$n(v||m?"".concat(v," ").concat(m," { ").concat(A," }"):A);i.namespace&&(z=Yt(z,i.namespace));var C=[];return Ee(z,En(_.concat(In(function(x){return C.push(x)})))),C};return u.hash=a.length?a.reduce(function(g,m){return m.name||de(15),U(g,m.name)},5381).toString():"",u}var cr=new Gt,Qe=ar(),Ut=B.createContext({shouldForwardProp:void 0,styleSheet:cr,stylis:Qe});Ut.Consumer;B.createContext(void 0);function xt(){return B.useContext(Ut)}var Je=function(){function e(t,n){var r=this;this.inject=function(o,s){s===void 0&&(s=Qe);var i=r.name+s.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,s(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,at(this,function(){throw de(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Qe),this.name+t.hash},e}(),lr=function(e){return e>="A"&&e<="Z"};function wt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;lr(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Wt=function(e){return e==null||e===!1||e===""},qt=function(e){var t,n,r=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Wt(s)&&(Array.isArray(s)&&s.isCss||ae(s)?r.push("".concat(wt(o),":"),s,";"):ce(s)?r.push.apply(r,Q(Q(["".concat(o," {")],qt(s),!1),["}"],!1)):r.push("".concat(wt(o),": ").concat((t=o,(n=s)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in An||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function K(e,t,n,r){if(Wt(e))return[];if(it(e))return[".".concat(e.styledComponentId)];if(ae(e)){if(!ae(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Je||ce(o)||o===null||console.error("".concat(Mt(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),K(o,t,n,r)}var s;return e instanceof Je?n?(e.inject(n,r),[e.getName(r)]):[e]:ce(e)?qt(e):Array.isArray(e)?Array.prototype.concat.apply(Re,e.map(function(i){return K(i,t,n,r)})):[e.toString()]}function dr(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ae(n)&&!it(n))return!1}return!0}var ur=Ot("6.1.1"),pr=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&dr(t),this.componentId=n,this.baseHash=U(ur,n),this.baseStyle=r,Gt.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=W(o,this.staticRulesId);else{var s=Ke(K(this.rules,t,n,r)),i=Xe(U(this.baseHash,s)>>>0);if(!n.hasNameForId(this.componentId,i)){var c=r(s,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,c)}o=W(o,i),this.staticRulesId=i}else{for(var a=U(this.baseHash,r.hash),d="",_=0;_<this.rules.length;_++){var u=this.rules[_];if(typeof u=="string")d+=u,process.env.NODE_ENV!=="production"&&(a=U(a,u));else if(u){var g=Ke(K(u,t,n,r));a=U(a,g+_),d+=g}}if(d){var m=Xe(a>>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(d,".".concat(m),void 0,this.componentId)),o=W(o,m)}}return o},e}(),Xt=B.createContext(void 0);Xt.Consumer;var Ve={},kt=new Set;function _r(e,t,n){var r=it(e),o=e,s=!He(e),i=t.attrs,c=i===void 0?Re:i,a=t.componentId,d=a===void 0?function($,E){var y=typeof $!="string"?"sc":ht($);Ve[y]=(Ve[y]||0)+1;var h="".concat(y,"-").concat(Dt("6.1.1"+y+Ve[y]));return E?"".concat(E,"-").concat(h):h}(t.displayName,t.parentComponentId):a,_=t.displayName,u=_===void 0?function($){return He($)?"styled.".concat($):"Styled(".concat(Mt($),")")}(e):_,g=t.displayName&&t.componentId?"".concat(ht(t.displayName),"-").concat(t.componentId):t.componentId||d,m=r&&o.attrs?o.attrs.concat(c).filter(Boolean):c,v=t.shouldForwardProp;if(r&&o.shouldForwardProp){var S=o.shouldForwardProp;if(t.shouldForwardProp){var A=t.shouldForwardProp;v=function($,E){return S($,E)&&A($,E)}}else v=S}var z=new pr(n,g,r?o.componentStyle:void 0);function C($,E){return function(y,h,G){var ee=y.attrs,nn=y.componentStyle,rn=y.defaultProps,on=y.foldedComponentIds,dt=y.styledComponentId,sn=y.target,an=B.useContext(Xt),cn=xt(),Oe=y.shouldForwardProp||cn.shouldForwardProp;process.env.NODE_ENV!=="production"&&B.useDebugValue(dt);var F=function(me,_e,ye){for(var te,Y=T(T({},_e),{className:void 0,theme:ye}),Be=0;Be<me.length;Be+=1){var be=ae(te=me[Be])?te(Y):te;for(var H in be)Y[H]=H==="className"?W(Y[H],be[H]):H==="style"?T(T({},Y[H]),be[H]):be[H]}return _e.className&&(Y.className=W(Y.className,_e.className)),Y}(ee,h,Pn(h,an,rn)||ie),ue=F.as||sn,pe={};for(var P in F)F[P]===void 0||P[0]==="$"||P==="as"||P==="theme"||(P==="forwardedAs"?pe.as=F.forwardedAs:Oe&&!Oe(P,ue)||(pe[P]=F[P],Oe||process.env.NODE_ENV!=="development"||un(P)||kt.has(P)||!qe.has(ue)||(kt.add(P),console.warn('styled-components: it looks like an unknown prop "'.concat(P,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var De=function(me,_e){var ye=xt(),te=me.generateAndInjectStyles(_e,ye.styleSheet,ye.stylis);return process.env.NODE_ENV!=="production"&&B.useDebugValue(te),te}(nn,F);process.env.NODE_ENV!=="production"&&y.warnTooManyClasses&&y.warnTooManyClasses(De);var Me=W(on,dt);return De&&(Me+=" "+De),F.className&&(Me+=" "+F.className),pe[He(ue)&&!qe.has(ue)?"class":"className"]=Me,pe.ref=G,B.createElement(ue,pe)}(x,$,E)}C.displayName=u;var x=B.forwardRef(C);return x.attrs=m,x.componentStyle=z,x.displayName=u,x.shouldForwardProp=v,x.foldedComponentIds=r?W(o.foldedComponentIds,o.styledComponentId):"",x.styledComponentId=g,x.target=r?o.target:e,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function($){this._foldedDefaultProps=r?function(E){for(var y=[],h=1;h<arguments.length;h++)y[h-1]=arguments[h];for(var G=0,ee=y;G<ee.length;G++)Ze(E,ee[G],!0);return E}({},o.defaultProps,$):$}}),process.env.NODE_ENV!=="production"&&(Tn(u,g),x.warnTooManyClasses=function($,E){var y={},h=!1;return function(G){if(!h&&(y[G]=!0,Object.keys(y).length>=200)){var ee=E?' with the id of "'.concat(E,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat($).concat(ee,`.
|
|
48
48
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
49
49
|
Example:
|
|
50
50
|
const Component = styled.div.attrs(props => ({
|
|
@@ -53,7 +53,7 @@ Example:
|
|
|
53
53
|
},
|
|
54
54
|
}))\`width: 100%;\`
|
|
55
55
|
|
|
56
|
-
<Component />`),h=!0,y={}}}}(u,g)),at(x,function(){return".".concat(x.styledComponentId)}),s&&Ht(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function
|
|
56
|
+
<Component />`),h=!0,y={}}}}(u,g)),at(x,function(){return".".concat(x.styledComponentId)}),s&&Ht(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function St(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var $t=function(e){return Object.assign(e,{isCss:!0})};function N(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(ae(e)||ce(e)){var r=e;return $t(K(St(Re,Q([r],t,!0))))}var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?K(o):$t(K(St(o,t)))}function et(e,t,n){if(n===void 0&&(n=ie),!t)throw de(1,t);var r=function(o){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,n,N.apply(void 0,Q([o],s,!1)))};return r.attrs=function(o){return et(e,t,T(T({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return et(e,t,T(T({},n),o))},r}var Kt=function(e){return et(_r,e)},p=Kt;qe.forEach(function(e){p[e]=Kt(e)});function Zt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=Ke(N.apply(void 0,Q([e],t,!1))),o=Dt(r);return new Je(o,r)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
57
57
|
Perhaps you're looking to import 'styled-components/native'?
|
|
58
58
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var we="__sc-".concat(J,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[we]||(window[we]=0),window[we]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
59
59
|
|
|
@@ -69,7 +69,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
|
|
|
69
69
|
clip: rect(0 0 0 0);
|
|
70
70
|
border: 0;
|
|
71
71
|
opacity: 0;
|
|
72
|
-
`,Qt=({children:e})=>l.jsx(fr,{children:e}),hr="#0967d2",gr="#142334",mr="#ffd000",yr="#0ce8d6",br="#7949d1",vr="#bca4e8",xr="#ef4e4e",wr="#f48585",kr="#ffd000"
|
|
72
|
+
`,Qt=({children:e})=>l.jsx(fr,{children:e}),hr="#0967d2",gr="#142334",mr="#ffd000",yr="#0ce8d6",br="#7949d1",vr="#bca4e8",xr="#ef4e4e",wr="#f48585",kr="#ffd000",Sr="#12a537",$r="#3ebd93",zr="#42608a",Cr="#e76119",Er="#ffffff",Ir="#142334",jr="#f5f7fa",Ar="#192d43",Nr="#ebeff5",Tr="#1f3751",Pr="rgba(31, 55, 81, 0.75)",Rr="#142334",Or="#ffffff",Dr="#4d5a68",Mr="#c3c8cc",Br="#8191a2",Lr="#a0a7af",Fr="#0967d2",Hr="#6fabf1",Vr="#1f3751",Gr="#ffffff",Yr="#ebeff5",Ur="#2a415a",Wr="#ef4e4e",qr="#f48585",Xr="#12a537",Kr="#3ebd93",Zr="#e5f1ff",Qr="rgba(255, 255, 255, 0.1)",Jr="#ffffff",eo="#142334",to="#ffffff",no="#142334",ro="#4d5a68",oo="#c3c8cc",so="#ffffff",io="#142334",ao="#ffffff",co="#142334",lo="#0967d2",uo="#6fabf1",po="#142334",_o="#ffffff",fo="#4d5a68",ho="#c3c8cc",go="rgba(20, 35, 52, 0.12)",mo="rgba(255, 255, 255, 0.15)",yo="rgba(20, 35, 52, 0.2)",bo="rgba(255, 255, 255, 0.22)",vo="#0967d2",xo="#6fabf1",wo="rgba(20, 35, 52, 0.13)",ko="rgba(6, 10, 16, 0.5)",So="rgba(20, 35, 52, 0.13)",$o="rgba(6, 10, 16, 0.6)",zo="rgba(20, 35, 52, 0.2)",Co="rgba(6, 10, 16, 0.7)",Eo="#31a03c",Io="#4191ed",jo="#a227c5",Ao="#354b62",No="#ffd000",To="#e76119",Po="#c73732",Ro="#828c95",Oo="#4d5a68",Do="#a227c5",Mo="#e76119",Bo="#31a03c",Lo="#4191ed",Fo="#c73732",Ho="#d28e09",Vo="#354b62",Go="#413ecf",Yo="#d63baa",Uo="#745138",Wo="#ffd000",qo=2,Xo=4,Ko=8,Zo=16,Qo=24,Jo=32,es=48,ts=1,ns=2,rs=4,os=8,ss=2,is=4,as=8,cs=16,ls=24,ds=1e3,us=10,ps=12,_s=14,fs=16,hs=20,gs=24,ms=32,ys=42,bs=16,vs=24,xs=32,ws=40,ks=3,Ss=1,$s=6,zs=2,Cs=12,Es=4,Is=Object.freeze(Object.defineProperty({__proto__:null,color_background_1_de:Ir,color_background_1_le:Er,color_background_2_de:Ar,color_background_2_le:jr,color_background_3_de:Tr,color_background_3_le:Nr,color_background_backdrop:Pr,color_border_default_de:mo,color_border_default_le:go,color_border_input_active_de:xo,color_border_input_active_le:vo,color_border_input_inactive_de:bo,color_border_input_inactive_le:yo,color_brand_accent:mr,color_brand_add_on_de:vr,color_brand_add_on_le:br,color_brand_primary:hr,color_brand_secondary:gr,color_brand_upgrade:yr,color_button_background_destroy_de:qr,color_button_background_destroy_le:Wr,color_button_background_primary_de:Hr,color_button_background_primary_le:Fr,color_button_background_secondary_de:Gr,color_button_background_secondary_le:Vr,color_button_background_subtle_de:Ur,color_button_background_subtle_le:Yr,color_button_background_success_de:Kr,color_button_background_success_le:Xr,color_button_background_tint_de:Qr,color_button_background_tint_le:Zr,color_button_text_destroy_de:io,color_button_text_destroy_le:so,color_button_text_primary_de:eo,color_button_text_primary_le:Jr,color_button_text_secondary_de:no,color_button_text_secondary_le:to,color_button_text_subtle_de:oo,color_button_text_subtle_le:ro,color_button_text_success_de:co,color_button_text_success_le:ao,color_collab_blue:Lo,color_collab_brown:Uo,color_collab_green:Bo,color_collab_magenta:Yo,color_collab_navy:Vo,color_collab_orange:Mo,color_collab_owner:Wo,color_collab_plum:Go,color_collab_purple:Do,color_collab_red:Fo,color_collab_yellow:Ho,color_depth_1_de:ko,color_depth_1_le:wo,color_depth_2_de:$o,color_depth_2_le:So,color_depth_3_de:Co,color_depth_3_le:zo,color_label_blue:Io,color_label_dark_gray:Oo,color_label_green:Eo,color_label_light_gray:Ro,color_label_navy:Ao,color_label_orange:To,color_label_purple:jo,color_label_red:Po,color_label_yellow:No,color_link_primary_de:uo,color_link_primary_le:lo,color_link_secondary_de:_o,color_link_secondary_le:po,color_link_subtle_de:ho,color_link_subtle_le:fo,color_text_default_de:Or,color_text_default_le:Rr,color_text_nonessential_de:Lr,color_text_nonessential_le:Br,color_text_subtle_de:Mr,color_text_subtle_le:Dr,color_utility_assigned:Cr,color_utility_caution:kr,color_utility_destroy_de:wr,color_utility_destroy_le:xr,color_utility_info:zr,color_utility_success_de:$r,color_utility_success_le:Sr,size_avatar_l:ws,size_avatar_m:xs,size_avatar_s:vs,size_avatar_xs:bs,size_border_radius_l:as,size_border_radius_m:is,size_border_radius_pill:ds,size_border_radius_s:ss,size_border_radius_xl:cs,size_border_radius_xxl:ls,size_border_width_l:rs,size_border_width_m:ns,size_border_width_s:ts,size_border_width_xl:os,size_depth_1_blur:ks,size_depth_1_y:Ss,size_depth_2_blur:$s,size_depth_2_y:zs,size_depth_3_blur:Cs,size_depth_3_y:Es,size_spacing_l:Qo,size_spacing_m:Zo,size_spacing_s:Ko,size_spacing_xl:Jo,size_spacing_xs:Xo,size_spacing_xxl:es,size_spacing_xxs:qo,size_text_l:hs,size_text_m:fs,size_text_s:_s,size_text_xl:gs,size_text_xs:ps,size_text_xxl:ms,size_text_xxs:us,size_text_xxxl:ys},Symbol.toStringTag,{value:"Module"})),q={...Is},ct=`font-family: system-ui, -apple-system, BlinkMacSystemFont,
|
|
73
73
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,lt=`font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
|
|
74
74
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,Jt=(e=!1,t=!1)=>{const n=N`
|
|
75
75
|
outline-width: var(--cc_size_border_width_m);
|
|
@@ -157,7 +157,6 @@ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
|
|
|
157
157
|
bottom: 0;
|
|
158
158
|
border-width: var(--cc_size_border_width_m);
|
|
159
159
|
border-style: solid;
|
|
160
|
-
border-color: ${e=>e.borderColor};
|
|
161
160
|
border-radius: 100%;
|
|
162
161
|
`,Ms=({borderColor:e,fullName:t,iconName:n,imageSrc:r,initials:o,size:s="medium",testId:i})=>{var u,g;const c=typeof s=="number"?s:en[s],a=Math.round(c/2.25),d=((g=(u=t.match(/(\b\S)?/g))==null?void 0:u.join("").match(/(^\S|\S$)?/g))==null?void 0:g.join(""))??"",_=()=>r?l.jsx(Rs,{src:r,alt:t}):n?l.jsx(zt,{initialsTextSize:a,children:l.jsx(Os,{initialsTextSize:a,className:`mdi mdi-${n}`,"aria-hidden":"true"})}):l.jsx(zt,{initialsTextSize:a,"aria-hidden":"true",children:o||d});return l.jsxs(Ps,{avatarSize:c,"data-testid":i,children:[r?null:l.jsx(Qt,{children:t}),_(),e?l.jsx(Ds,{borderColor:e}):null]})},O={add_on:"add_on",assigned:"assigned",caution:"caution",destroy:"destroy",info:"info",success:"success",upgrade:"upgrade"},ge={small:"small",medium:"medium"},Bs=e=>{switch(e){case O.info:return"var(--cc_color_background_2)";case O.upgrade:return"var(--cc_color_brand_upgrade_alpha_20)";case O.assigned:return"var(--cc_color_utility_assigned_alpha_20)";case O.add_on:return"var(--cc_color_brand_add_on_alpha_20)";default:return`var(--cc_color_utility_${e}_alpha_20)`}},Ls=e=>{switch(e){case O.info:return"var(--cc_color_border_default)";case O.upgrade:return"var(--cc_color_brand_upgrade_alpha_60)";case O.assigned:return"var(--cc_color_utility_assigned_alpha_60)";case O.add_on:return"var(--cc_color_brand_add_on_alpha_60)";default:return`var(--cc_color_utility_${e}_alpha_60)`}},Fs=p.span`
|
|
163
162
|
display: inline-flex;
|
|
@@ -397,7 +396,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
|
|
|
397
396
|
flex-shrink: 0;
|
|
398
397
|
`,wi=p.span`
|
|
399
398
|
${ct}
|
|
400
|
-
`;function ki({children:e,className:t,disabled:n=!1,id:r,message:o,status:s="default",style:i}){return l.jsxs(bi,{className:t,style:i,disabled:n,children:[e,o?l.jsxs(vi,{status:mi[s],children:[s==="success"||s==="error"?l.jsx(xi,{className:`mdi mdi-${yi[s]}`,"aria-hidden":"true"}):null,l.jsx(wi,{id:`${r}-message`,children:o})]}):null]})}const
|
|
399
|
+
`;function ki({children:e,className:t,disabled:n=!1,id:r,message:o,status:s="default",style:i}){return l.jsxs(bi,{className:t,style:i,disabled:n,children:[e,o?l.jsxs(vi,{status:mi[s],children:[s==="success"||s==="error"?l.jsx(xi,{className:`mdi mdi-${yi[s]}`,"aria-hidden":"true"}):null,l.jsx(wi,{id:`${r}-message`,children:o})]}):null]})}const Si=p.label`
|
|
401
400
|
all: initial;
|
|
402
401
|
${e=>e.$hideLabel?Ns:N`
|
|
403
402
|
box-sizing: border-box;
|
|
@@ -408,7 +407,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
|
|
|
408
407
|
color: var(--cc_color_text_default);
|
|
409
408
|
margin-block-end: var(--cc_size_spacing_xs);
|
|
410
409
|
`}
|
|
411
|
-
|
|
410
|
+
`,$i=p.input`
|
|
412
411
|
all: initial;
|
|
413
412
|
box-sizing: border-box;
|
|
414
413
|
background: transparent;
|
|
@@ -451,7 +450,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
|
|
|
451
450
|
line-height: 1;
|
|
452
451
|
`,Ct=p.span`
|
|
453
452
|
flex-shrink: 0;
|
|
454
|
-
`,Ei=({success:e,error:t})=>e&&!t?"success":t?"error":"default",Ii=({type:e})=>{switch(e){case"email":return"email-outline";case"tel":return"phone-outline";case"search":return"magnify";case"url":return"web";default:return null}};function ji({className:e,contentBefore:t,contentAfter:n,error:r=!1,hideLabel:o=!1,id:s,label:i,message:c,name:a,inputSize:d="medium",style:_,success:u=!1,testId:g,type:m="text",...v}){const
|
|
453
|
+
`,Ei=({success:e,error:t})=>e&&!t?"success":t?"error":"default",Ii=({type:e})=>{switch(e){case"email":return"email-outline";case"tel":return"phone-outline";case"search":return"magnify";case"url":return"web";default:return null}};function ji({className:e,contentBefore:t,contentAfter:n,error:r=!1,hideLabel:o=!1,id:s,label:i,message:c,name:a,inputSize:d="medium",style:_,success:u=!1,testId:g,type:m="text",...v}){const S=Ii({type:m}),A=t||S,z=()=>A?l.jsx(Ct,{children:t||l.jsx(Ci,{className:`mdi mdi-${S}`,$inputSize:d})}):null;return l.jsxs(ki,{id:s,message:c,disabled:v.disabled,className:e,status:Ei({success:u,error:r}),style:_,children:[l.jsx(Si,{htmlFor:s,$hideLabel:o,children:i}),l.jsxs(zi,{$disabled:v.disabled||!1,$success:u,$error:r,$type:m,children:[z(),l.jsx($i,{disabled:v.disabled,"aria-labelledby":c?`${s}-message`:"","aria-invalid":r,id:s,name:a||s,$inputSize:d,"data-testid":g,type:m,...v}),n?l.jsx(Ct,{children:n}):null]})]})}const k={add_on:"add_on",assigned:"assigned",caution:"caution",destroy:"destroy",info:"info",success:"success",upgrade:"upgrade"},Z={small:"small",medium:"medium",large:"large"},Ai=e=>{switch(e){case k.add_on:return"var(--cc_color_brand_add_on_alpha_10)";case k.assigned:return"var(--cc_color_utility_assigned_alpha_10)";case k.caution:return"var(--cc_color_utility_caution_alpha_20)";case k.destroy:return"var(--cc_color_utility_destroy_alpha_10)";case k.info:return"var(--cc_color_background_3_alpha_80)";case k.success:return"var(--cc_color_utility_success_alpha_10)";case k.upgrade:return"var(--cc_color_brand_upgrade_alpha_10)";default:return"var(--cc_color_background_3_alpha_80)"}},Ni=e=>{switch(e){case k.add_on:return"var(--cc_color_brand_add_on)";case k.assigned:return"var(--cc_color_utility_assigned)";case k.caution:return"var(--cc_color_utility_caution)";case k.destroy:return"var(--cc_color_utility_destroy)";case k.info:return"var(--cc_color_utility_info_alpha_80)";case k.success:return"var(--cc_color_utility_success)";case k.upgrade:return"var(--cc_color_brand_upgrade)";default:return"var(--cc_color_utility_info_alpha_80)"}},Ti=e=>{switch(e){case k.add_on:return"var(--cc_color_background_1)";case k.assigned:return"var(--cc_color_background_1)";case k.caution:return q.color_text_default_le;case k.destroy:return"var(--cc_color_background_1)";case k.info:return q.color_text_default_de;case k.success:return"var(--cc_color_background_1)";case k.upgrade:return"var(--cc_color_brand_secondary)";default:return q.color_text_default_de}},Pi=(e,t)=>{switch(t){case"add_on":return e||"information-outline";case"assigned":return e||"account-check";case"success":return e||"check";case"caution":return e||"alert-circle-outline";case"destroy":return e||"alert-circle-outline";case"upgrade":return e||"lightning-bolt";default:return e||"information-outline"}},Ri=e=>{switch(e){case"small":return"6px 8px";case"medium":return"calc(var(--cc_size_spacing_s) + 2px) var(--cc_size_spacing_m) calc(var(--cc_size_spacing_s) + 2px)";case"large":return"var(--cc_size_spacing_m) var(--cc_size_spacing_l) var(--cc_size_spacing_m) var(--cc_size_spacing_m)"}},Et=e=>{switch(e){case"small":return 24;case"medium":return 28;case"large":return 34}},Oi=e=>{switch(e){case"small":return"var(--cc_size_text_xs)";case"medium":return"calc(var(--cc_size_text_s) - 1px)";case"large":return"var(--cc_size_text_s)"}},Di=e=>{switch(e){case"small":return 16;case"medium":return 18;case"large":return 22}},Mi=p.div`
|
|
455
454
|
display: flex;
|
|
456
455
|
flex-wrap: wrap;
|
|
457
456
|
align-items: ${({$contentAlign:e="center"})=>e};
|
package/index.mjs
CHANGED