@companycam/slab-web 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,34 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),ce=require("react");function It(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Le={exports:{}},j={};/**
2
- * @license React
3
- * react-is.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var nt;function Mt(){if(nt)return j;nt=1;var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),d=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),x;x=Symbol.for("react.module.reference");function S(c){if(typeof c=="object"&&c!==null){var P=c.$$typeof;switch(P){case e:switch(c=c.type,c){case t:case o:case n:case _:case v:return c;default:switch(c=c&&c.$$typeof,c){case d:case i:case p:case $:case b:case a:return c;default:return P}}case r:return P}}}return j.ContextConsumer=i,j.ContextProvider=a,j.Element=e,j.ForwardRef=p,j.Fragment=t,j.Lazy=$,j.Memo=b,j.Portal=r,j.Profiler=o,j.StrictMode=n,j.Suspense=_,j.SuspenseList=v,j.isAsyncMode=function(){return!1},j.isConcurrentMode=function(){return!1},j.isContextConsumer=function(c){return S(c)===i},j.isContextProvider=function(c){return S(c)===a},j.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},j.isForwardRef=function(c){return S(c)===p},j.isFragment=function(c){return S(c)===t},j.isLazy=function(c){return S(c)===$},j.isMemo=function(c){return S(c)===b},j.isPortal=function(c){return S(c)===r},j.isProfiler=function(c){return S(c)===o},j.isStrictMode=function(c){return S(c)===n},j.isSuspense=function(c){return S(c)===_},j.isSuspenseList=function(c){return S(c)===v},j.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===t||c===o||c===n||c===_||c===v||c===R||typeof c=="object"&&c!==null&&(c.$$typeof===$||c.$$typeof===b||c.$$typeof===a||c.$$typeof===i||c.$$typeof===p||c.$$typeof===x||c.getModuleId!==void 0)},j.typeOf=S,j}var D={};/**
10
- * @license React
11
- * react-is.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ot;function jt(){return ot||(ot=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),d=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),x=!1,S=!1,c=!1,P=!1,k=!1,A;A=Symbol.for("react.module.reference");function w(h){return!!(typeof h=="string"||typeof h=="function"||h===t||h===o||k||h===n||h===_||h===v||P||h===R||x||S||c||typeof h=="object"&&h!==null&&(h.$$typeof===$||h.$$typeof===b||h.$$typeof===a||h.$$typeof===i||h.$$typeof===p||h.$$typeof===A||h.getModuleId!==void 0))}function l(h){if(typeof h=="object"&&h!==null){var z=h.$$typeof;switch(z){case e:var H=h.type;switch(H){case t:case o:case n:case _:case v:return H;default:var M=H&&H.$$typeof;switch(M){case d:case i:case p:case $:case b:case a:return M;default:return z}}case r:return z}}}var G=i,oe=a,Q=e,re=p,se=t,ue=$,X=b,J=r,ne=o,W=n,fe=_,ee=v,q=!1,de=!1;function ae(h){return q||(q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function pe(h){return de||(de=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function y(h){return l(h)===i}function m(h){return l(h)===a}function g(h){return typeof h=="object"&&h!==null&&h.$$typeof===e}function C(h){return l(h)===p}function s(h){return l(h)===t}function N(h){return l(h)===$}function f(h){return l(h)===b}function V(h){return l(h)===r}function I(h){return l(h)===o}function O(h){return l(h)===n}function u(h){return l(h)===_}function B(h){return l(h)===v}D.ContextConsumer=G,D.ContextProvider=oe,D.Element=Q,D.ForwardRef=re,D.Fragment=se,D.Lazy=ue,D.Memo=X,D.Portal=J,D.Profiler=ne,D.StrictMode=W,D.Suspense=fe,D.SuspenseList=ee,D.isAsyncMode=ae,D.isConcurrentMode=pe,D.isContextConsumer=y,D.isContextProvider=m,D.isElement=g,D.isForwardRef=C,D.isFragment=s,D.isLazy=N,D.isMemo=f,D.isPortal=V,D.isProfiler=I,D.isStrictMode=O,D.isSuspense=u,D.isSuspenseList=B,D.isValidElementType=w,D.typeOf=l}()),D}process.env.NODE_ENV==="production"?Le.exports=Mt():Le.exports=jt();var Ke=Le.exports;function Dt(e){function r(y,m,g,C,s){for(var N=0,f=0,V=0,I=0,O,u,B=0,h=0,z,H=z=O=0,M=0,Z=0,Se=0,K=0,Ae=g.length,we=Ae-1,ie,E="",U="",Ie="",Me="",he;M<Ae;){if(u=g.charCodeAt(M),M===we&&f+I+V+N!==0&&(f!==0&&(u=f===47?10:47),I=V=N=0,Ae++,we++),f+I+V+N===0){if(M===we&&(0<Z&&(E=E.replace($,"")),0<E.trim().length)){switch(u){case 32:case 9:case 59:case 13:case 10:break;default:E+=g.charAt(M)}u=59}switch(u){case 123:for(E=E.trim(),O=E.charCodeAt(0),z=1,K=++M;M<Ae;){switch(u=g.charCodeAt(M)){case 123:z++;break;case 125:z--;break;case 47:switch(u=g.charCodeAt(M+1)){case 42:case 47:e:{for(H=M+1;H<we;++H)switch(g.charCodeAt(H)){case 47:if(u===42&&g.charCodeAt(H-1)===42&&M+2!==H){M=H+1;break e}break;case 10:if(u===47){M=H+1;break e}}M=H}}break;case 91:u++;case 40:u++;case 34:case 39:for(;M++<we&&g.charCodeAt(M)!==u;);}if(z===0)break;M++}switch(z=g.substring(K,M),O===0&&(O=(E=E.replace(b,"").trim()).charCodeAt(0)),O){case 64:switch(0<Z&&(E=E.replace($,"")),u=E.charCodeAt(1),u){case 100:case 109:case 115:case 45:Z=m;break;default:Z=fe}if(z=r(m,Z,z,u,s+1),K=z.length,0<q&&(Z=t(fe,E,Se),he=d(3,z,Z,m,J,X,K,u,s,C),E=Z.join(""),he!==void 0&&(K=(z=he.trim()).length)===0&&(u=0,z="")),0<K)switch(u){case 115:E=E.replace(G,i);case 100:case 109:case 45:z=E+"{"+z+"}";break;case 107:E=E.replace(k,"$1 $2"),z=E+"{"+z+"}",z=W===1||W===2&&a("@"+z,3)?"@-webkit-"+z+"@"+z:"@"+z;break;default:z=E+z,C===112&&(z=(U+=z,""))}else z="";break;default:z=r(m,t(m,E,Se),z,C,s+1)}Ie+=z,z=Se=Z=H=O=0,E="",u=g.charCodeAt(++M);break;case 125:case 59:if(E=(0<Z?E.replace($,""):E).trim(),1<(K=E.length))switch(H===0&&(O=E.charCodeAt(0),O===45||96<O&&123>O)&&(K=(E=E.replace(" ",":")).length),0<q&&(he=d(1,E,m,y,J,X,U.length,C,s,C))!==void 0&&(K=(E=he.trim()).length)===0&&(E="\0\0"),O=E.charCodeAt(0),u=E.charCodeAt(1),O){case 0:break;case 64:if(u===105||u===99){Me+=E+g.charAt(M);break}default:E.charCodeAt(K-1)!==58&&(U+=o(E,O,u,E.charCodeAt(2)))}Se=Z=H=O=0,E="",u=g.charCodeAt(++M)}}switch(u){case 13:case 10:f===47?f=0:1+O===0&&C!==107&&0<E.length&&(Z=1,E+="\0"),0<q*ae&&d(0,E,m,y,J,X,U.length,C,s,C),X=1,J++;break;case 59:case 125:if(f+I+V+N===0){X++;break}default:switch(X++,ie=g.charAt(M),u){case 9:case 32:if(I+N+f===0)switch(B){case 44:case 58:case 9:case 32:ie="";break;default:u!==32&&(ie=" ")}break;case 0:ie="\\0";break;case 12:ie="\\f";break;case 11:ie="\\v";break;case 38:I+f+N===0&&(Z=Se=1,ie="\f"+ie);break;case 108:if(I+f+N+ne===0&&0<H)switch(M-H){case 2:B===112&&g.charCodeAt(M-3)===58&&(ne=B);case 8:h===111&&(ne=h)}break;case 58:I+f+N===0&&(H=M);break;case 44:f+V+I+N===0&&(Z=1,ie+="\r");break;case 34:case 39:f===0&&(I=I===u?0:I===0?u:I);break;case 91:I+f+V===0&&N++;break;case 93:I+f+V===0&&N--;break;case 41:I+f+N===0&&V--;break;case 40:if(I+f+N===0){if(O===0)switch(2*B+3*h){case 533:break;default:O=1}V++}break;case 64:f+V+I+N+H+z===0&&(z=1);break;case 42:case 47:if(!(0<I+N+V))switch(f){case 0:switch(2*u+3*g.charCodeAt(M+1)){case 235:f=47;break;case 220:K=M,f=42}break;case 42:u===47&&B===42&&K+2!==M&&(g.charCodeAt(K+2)===33&&(U+=g.substring(K,M+1)),ie="",f=0)}}f===0&&(E+=ie)}h=B,B=u,M++}if(K=U.length,0<K){if(Z=m,0<q&&(he=d(2,U,Z,y,J,X,K,C,s,C),he!==void 0&&(U=he).length===0))return Me+U+Ie;if(U=Z.join(",")+"{"+U+"}",W*ne!==0){switch(W!==2||a(U,2)||(ne=0),ne){case 111:U=U.replace(w,":-moz-$1")+U;break;case 112:U=U.replace(A,"::-webkit-input-$1")+U.replace(A,"::-moz-$1")+U.replace(A,":-ms-input-$1")+U}ne=0}}return Me+U+Ie}function t(y,m,g){var C=m.trim().split(c);m=C;var s=C.length,N=y.length;switch(N){case 0:case 1:var f=0;for(y=N===0?"":y[0]+" ";f<s;++f)m[f]=n(y,m[f],g).trim();break;default:var V=f=0;for(m=[];f<s;++f)for(var I=0;I<N;++I)m[V++]=n(y[I]+" ",C[f],g).trim()}return m}function n(y,m,g){var C=m.charCodeAt(0);switch(33>C&&(C=(m=m.trim()).charCodeAt(0)),C){case 38:return m.replace(P,"$1"+y.trim());case 58:return y.trim()+m.replace(P,"$1"+y.trim());default:if(0<1*g&&0<m.indexOf("\f"))return m.replace(P,(y.charCodeAt(0)===58?"":"$1")+y.trim())}return y+m}function o(y,m,g,C){var s=y+";",N=2*m+3*g+4*C;if(N===944){y=s.indexOf(":",9)+1;var f=s.substring(y,s.length-1).trim();return f=s.substring(0,y).trim()+f+";",W===1||W===2&&a(f,1)?"-webkit-"+f+f:f}if(W===0||W===2&&!a(s,1))return s;switch(N){case 1015:return s.charCodeAt(10)===97?"-webkit-"+s+s:s;case 951:return s.charCodeAt(3)===116?"-webkit-"+s+s:s;case 963:return s.charCodeAt(5)===110?"-webkit-"+s+s:s;case 1009:if(s.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:if(s.charCodeAt(8)===45)return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(ue,"$1-webkit-$2")+s;break;case 932:if(s.charCodeAt(4)===45)switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(s.charCodeAt(8)!==99)break;return f=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+f+"-webkit-"+s+"-ms-flex-pack"+f+s;case 1005:return x.test(s)?s.replace(R,":-webkit-")+s.replace(R,":-moz-")+s:s;case 1e3:switch(f=s.substring(13).trim(),m=f.indexOf("-")+1,f.charCodeAt(0)+f.charCodeAt(m)){case 226:f=s.replace(l,"tb");break;case 232:f=s.replace(l,"tb-rl");break;case 220:f=s.replace(l,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+f+s;case 1017:if(s.indexOf("sticky",9)===-1)break;case 975:switch(m=(s=y).length-10,f=(s.charCodeAt(m)===33?s.substring(0,m):s).substring(y.indexOf(":",7)+1).trim(),N=f.charCodeAt(0)+(f.charCodeAt(7)|0)){case 203:if(111>f.charCodeAt(8))break;case 115:s=s.replace(f,"-webkit-"+f)+";"+s;break;case 207:case 102:s=s.replace(f,"-webkit-"+(102<N?"inline-":"")+"box")+";"+s.replace(f,"-webkit-"+f)+";"+s.replace(f,"-ms-"+f+"box")+";"+s}return s+";";case 938:if(s.charCodeAt(5)===45)switch(s.charCodeAt(6)){case 105:return f=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+f+"-ms-flex-"+f+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(Q,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(Q,"")+s}break;case 973:case 989:if(s.charCodeAt(3)!==45||s.charCodeAt(4)===122)break;case 931:case 953:if(se.test(y)===!0)return(f=y.substring(y.indexOf(":")+1)).charCodeAt(0)===115?o(y.replace("stretch","fill-available"),m,g,C).replace(":fill-available",":stretch"):s.replace(f,"-webkit-"+f)+s.replace(f,"-moz-"+f.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(s.charCodeAt(5)===102?"-ms-"+s:"")+s,g+C===211&&s.charCodeAt(13)===105&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(S,"$1-webkit-$2")+s}return s}function a(y,m){var g=y.indexOf(m===1?":":"{"),C=y.substring(0,m!==3?g:10);return g=y.substring(g+1,y.length-1),de(m!==2?C:C.replace(re,"$1"),g,m)}function i(y,m){var g=o(m,m.charCodeAt(0),m.charCodeAt(1),m.charCodeAt(2));return g!==m+";"?g.replace(oe," or ($1)").substring(4):"("+m+")"}function d(y,m,g,C,s,N,f,V,I,O){for(var u=0,B=m,h;u<q;++u)switch(h=ee[u].call(v,y,B,g,C,s,N,f,V,I,O)){case void 0:case!1:case!0:case null:break;default:B=h}if(B!==m)return B}function p(y){switch(y){case void 0:case null:q=ee.length=0;break;default:if(typeof y=="function")ee[q++]=y;else if(typeof y=="object")for(var m=0,g=y.length;m<g;++m)p(y[m]);else ae=!!y|0}return p}function _(y){return y=y.prefix,y!==void 0&&(de=null,y?typeof y!="function"?W=1:(W=2,de=y):W=0),_}function v(y,m){var g=y;if(33>g.charCodeAt(0)&&(g=g.trim()),pe=g,g=[pe],0<q){var C=d(-1,m,g,g,J,X,0,0,0,0);C!==void 0&&typeof C=="string"&&(m=C)}var s=r(fe,g,m,0,0);return 0<q&&(C=d(-2,s,g,g,J,X,s.length,0,0,0),C!==void 0&&(s=C)),pe="",ne=0,X=J=1,s}var b=/^\0+/g,$=/[\0\r\f]/g,R=/: */g,x=/zoo|gra/,S=/([,: ])(transform)/g,c=/,\r+?/g,P=/([\t\r\n ])*\f?&/g,k=/@(k\w+)\s*(\S*)\s*/,A=/::(place)/g,w=/:(read-only)/g,l=/[svh]\w+-[tblr]{2}/,G=/\(\s*(.*)\s*\)/g,oe=/([\s\S]*?);/g,Q=/-self|flex-/g,re=/[^]*?(:[rp][el]a[\w-]+)[^]*/,se=/stretch|:\s*\w+\-(?:conte|avail)/,ue=/([^-])(image-set\()/,X=1,J=1,ne=0,W=1,fe=[],ee=[],q=0,de=null,ae=0,pe="";return v.use=p,v.set=_,e!==void 0&&_(e),v}var Ft={animationIterationCount: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};function Lt(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Yt=/^((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)-.*))$/,st=Lt(function(e){return Yt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ye={exports:{}},F={};/** @license React v16.13.1
18
- * react-is.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */var at;function Vt(){if(at)return F;at=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,_=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,$=e?Symbol.for("react.suspense_list"):60120,R=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,c=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function A(l){if(typeof l=="object"&&l!==null){var G=l.$$typeof;switch(G){case r:switch(l=l.type,l){case p:case _:case n:case a:case o:case b:return l;default:switch(l=l&&l.$$typeof,l){case d:case v:case x:case R:case i:return l;default:return G}}case t:return G}}}function w(l){return A(l)===_}return F.AsyncMode=p,F.ConcurrentMode=_,F.ContextConsumer=d,F.ContextProvider=i,F.Element=r,F.ForwardRef=v,F.Fragment=n,F.Lazy=x,F.Memo=R,F.Portal=t,F.Profiler=a,F.StrictMode=o,F.Suspense=b,F.isAsyncMode=function(l){return w(l)||A(l)===p},F.isConcurrentMode=w,F.isContextConsumer=function(l){return A(l)===d},F.isContextProvider=function(l){return A(l)===i},F.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===r},F.isForwardRef=function(l){return A(l)===v},F.isFragment=function(l){return A(l)===n},F.isLazy=function(l){return A(l)===x},F.isMemo=function(l){return A(l)===R},F.isPortal=function(l){return A(l)===t},F.isProfiler=function(l){return A(l)===a},F.isStrictMode=function(l){return A(l)===o},F.isSuspense=function(l){return A(l)===b},F.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===_||l===a||l===o||l===b||l===$||typeof l=="object"&&l!==null&&(l.$$typeof===x||l.$$typeof===R||l.$$typeof===i||l.$$typeof===d||l.$$typeof===v||l.$$typeof===c||l.$$typeof===P||l.$$typeof===k||l.$$typeof===S)},F.typeOf=A,F}var L={};/** @license React v16.13.1
25
- * react-is.development.js
26
- *
27
- * Copyright (c) Facebook, Inc. and its affiliates.
28
- *
29
- * This source code is licensed under the MIT license found in the
30
- * LICENSE file in the root directory of this source tree.
31
- */var it;function Bt(){return it||(it=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,_=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,$=e?Symbol.for("react.suspense_list"):60120,R=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,c=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function A(u){return typeof u=="string"||typeof u=="function"||u===n||u===_||u===a||u===o||u===b||u===$||typeof u=="object"&&u!==null&&(u.$$typeof===x||u.$$typeof===R||u.$$typeof===i||u.$$typeof===d||u.$$typeof===v||u.$$typeof===c||u.$$typeof===P||u.$$typeof===k||u.$$typeof===S)}function w(u){if(typeof u=="object"&&u!==null){var B=u.$$typeof;switch(B){case r:var h=u.type;switch(h){case p:case _:case n:case a:case o:case b:return h;default:var z=h&&h.$$typeof;switch(z){case d:case v:case x:case R:case i:return z;default:return B}}case t:return B}}}var l=p,G=_,oe=d,Q=i,re=r,se=v,ue=n,X=x,J=R,ne=t,W=a,fe=o,ee=b,q=!1;function de(u){return q||(q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ae(u)||w(u)===p}function ae(u){return w(u)===_}function pe(u){return w(u)===d}function y(u){return w(u)===i}function m(u){return typeof u=="object"&&u!==null&&u.$$typeof===r}function g(u){return w(u)===v}function C(u){return w(u)===n}function s(u){return w(u)===x}function N(u){return w(u)===R}function f(u){return w(u)===t}function V(u){return w(u)===a}function I(u){return w(u)===o}function O(u){return w(u)===b}L.AsyncMode=l,L.ConcurrentMode=G,L.ContextConsumer=oe,L.ContextProvider=Q,L.Element=re,L.ForwardRef=se,L.Fragment=ue,L.Lazy=X,L.Memo=J,L.Portal=ne,L.Profiler=W,L.StrictMode=fe,L.Suspense=ee,L.isAsyncMode=de,L.isConcurrentMode=ae,L.isContextConsumer=pe,L.isContextProvider=y,L.isElement=m,L.isForwardRef=g,L.isFragment=C,L.isLazy=s,L.isMemo=N,L.isPortal=f,L.isProfiler=V,L.isStrictMode=I,L.isSuspense=O,L.isValidElementType=A,L.typeOf=w}()),L}process.env.NODE_ENV==="production"?Ye.exports=Vt():Ye.exports=Bt();var Ht=Ye.exports,Qe=Ht,Ut={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Gt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Wt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Je={};Je[Qe.ForwardRef]=Wt;Je[Qe.Memo]=vt;function ct(e){return Qe.isMemo(e)?vt:Je[e.$$typeof]||Ut}var qt=Object.defineProperty,Xt=Object.getOwnPropertyNames,lt=Object.getOwnPropertySymbols,Zt=Object.getOwnPropertyDescriptor,Kt=Object.getPrototypeOf,ut=Object.prototype;function bt(e,r,t){if(typeof r!="string"){if(ut){var n=Kt(r);n&&n!==ut&&bt(e,n,t)}var o=Xt(r);lt&&(o=o.concat(lt(r)));for(var a=ct(e),i=ct(r),d=0;d<o.length;++d){var p=o[d];if(!Gt[p]&&!(t&&t[p])&&!(i&&i[p])&&!(a&&a[p])){var _=Zt(r,p);try{qt(e,p,_)}catch{}}}}return e}var Qt=bt;const Jt=It(Qt);function _e(){return(_e=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var dt=function(e,r){for(var t=[e[0]],n=0,o=r.length;n<o;n+=1)t.push(r[n],e[n+1]);return t},Ve=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Ke.typeOf(e)},Oe=Object.freeze([]),me=Object.freeze({});function Ee(e){return typeof e=="function"}function Be(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function et(e){return e&&typeof e.styledComponentId=="string"}var ve=typeof process<"u"&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",tt=typeof window<"u"&&"HTMLElement"in window,er=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&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.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"),tr=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
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.
2
+ `)+`You may see this warning because you've called styled inside another component.
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.
32
4
 
33
5
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
34
6
 
@@ -69,13 +41,11 @@ as for instance in your render method then you may be running into this limitati
69
41
 
70
42
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
71
43
  Has styled-components' style tag been unmounted or altered by another script?
72
- `}:{};function rr(){for(var e=arguments.length<=0?void 0:arguments[0],r=[],t=1,n=arguments.length;t<n;t+=1)r.push(t<0||arguments.length<=t?void 0:arguments[t]);return r.forEach(function(o){e=e.replace(/%[a-z]/,o)}),e}function xe(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(t.length>0?" Args: "+t.join(", "):"")):new Error(rr.apply(void 0,[tr[e]].concat(t)).trim())}var nr=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var r=e.prototype;return r.indexOfGroup=function(t){for(var n=0,o=0;o<t;o++)n+=this.groupSizes[o];return n},r.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,i=a;t>=i;)(i<<=1)<0&&xe(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var d=a;d<i;d++)this.groupSizes[d]=0}for(var p=this.indexOfGroup(t+1),_=0,v=n.length;_<v;_++)this.tag.insertRule(p,n[_])&&(this.groupSizes[t]++,p++)},r.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n;this.groupSizes[t]=0;for(var i=o;i<a;i++)this.tag.deleteRule(o)}},r.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),i=a+o,d=a;d<i;d++)n+=this.tag.getRule(d)+`/*!sc*/
73
- `;return n},e}(),Pe=new Map,Ne=new Map,Ce=1,$e=function(e){if(Pe.has(e))return Pe.get(e);for(;Ne.has(Ce);)Ce++;var r=Ce++;return process.env.NODE_ENV!=="production"&&((0|r)<0||r>1<<30)&&xe(16,""+r),Pe.set(e,r),Ne.set(r,e),r},or=function(e){return Ne.get(e)},sr=function(e,r){r>=Ce&&(Ce=r+1),Pe.set(e,r),Ne.set(r,e)},ar="style["+ve+'][data-styled-version="5.3.6"]',ir=new RegExp("^"+ve+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),cr=function(e,r,t){for(var n,o=t.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(r,n)},lr=function(e,r){for(var t=(r.textContent||"").split(`/*!sc*/
74
- `),n=[],o=0,a=t.length;o<a;o++){var i=t[o].trim();if(i){var d=i.match(ir);if(d){var p=0|parseInt(d[1],10),_=d[2];p!==0&&(sr(_,p),cr(e,_,d[3]),e.getTag().insertRules(p,n)),n.length=0}else n.push(i)}}},ur=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},xt=function(e){var r=document.head,t=e||r,n=document.createElement("style"),o=function(d){for(var p=d.childNodes,_=p.length;_>=0;_--){var v=p[_];if(v&&v.nodeType===1&&v.hasAttribute(ve))return v}}(t),a=o!==void 0?o.nextSibling:null;n.setAttribute(ve,"active"),n.setAttribute("data-styled-version","5.3.6");var i=ur();return i&&n.setAttribute("nonce",i),t.insertBefore(n,a),n},dr=function(){function e(t){var n=this.element=xt(t);n.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var a=document.styleSheets,i=0,d=a.length;i<d;i++){var p=a[i];if(p.ownerNode===o)return p}xe(17)}(n),this.length=0}var r=e.prototype;return r.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},r.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},r.getRule=function(t){var n=this.sheet.cssRules[t];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},e}(),fr=function(){function e(t){var n=this.element=xt(t);this.nodes=n.childNodes,this.length=0}var r=e.prototype;return r.insertRule=function(t,n){if(t<=this.length&&t>=0){var o=document.createTextNode(n),a=this.nodes[t];return this.element.insertBefore(o,a||null),this.length++,!0}return!1},r.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},r.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),pr=function(){function e(t){this.rules=[],this.length=0}var r=e.prototype;return r.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},r.deleteRule=function(t){this.rules.splice(t,1),this.length--},r.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ft=tt,_r={isServer:!tt,useCSSOMInjection:!er},St=function(){function e(t,n,o){t===void 0&&(t=me),n===void 0&&(n={}),this.options=_e({},_r,{},t),this.gs=n,this.names=new Map(o),this.server=!!t.isServer,!this.server&&tt&&ft&&(ft=!1,function(a){for(var i=document.querySelectorAll(ar),d=0,p=i.length;d<p;d++){var _=i[d];_&&_.getAttribute(ve)!=="active"&&(lr(a,_),_.parentNode&&_.parentNode.removeChild(_))}}(this))}e.registerId=function(t){return $e(t)};var r=e.prototype;return r.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(_e({},this.options,{},t),this.gs,n&&this.names||void 0)},r.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},r.getTag=function(){return this.tag||(this.tag=(o=(n=this.options).isServer,a=n.useCSSOMInjection,i=n.target,t=o?new pr(i):a?new dr(i):new fr(i),new nr(t)));var t,n,o,a,i},r.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},r.registerName=function(t,n){if($e(t),this.names.has(t))this.names.get(t).add(n);else{var o=new Set;o.add(n),this.names.set(t,o)}},r.insertRules=function(t,n,o){this.registerName(t,n),this.getTag().insertRules($e(t),o)},r.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},r.clearRules=function(t){this.getTag().clearGroup($e(t)),this.clearNames(t)},r.clearTag=function(){this.tag=void 0},r.toString=function(){return function(t){for(var n=t.getTag(),o=n.length,a="",i=0;i<o;i++){var d=or(i);if(d!==void 0){var p=t.names.get(d),_=n.getGroup(i);if(p&&_&&p.size){var v=ve+".g"+i+'[id="'+d+'"]',b="";p!==void 0&&p.forEach(function($){$.length>0&&(b+=$+",")}),a+=""+_+v+'{content:"'+b+`"}/*!sc*/
75
- `}}}return a}(this)},e}(),hr=/(a)(d)/gi,pt=function(e){return String.fromCharCode(e+(e>25?39:97))};function He(e){var r,t="";for(r=Math.abs(e);r>52;r=r/52|0)t=pt(r%52)+t;return(pt(r%52)+t).replace(hr,"$1-$2")}var ge=function(e,r){for(var t=r.length;t;)e=33*e^r.charCodeAt(--t);return e},wt=function(e){return ge(5381,e)};function mr(e){for(var r=0;r<e.length;r+=1){var t=e[r];if(Ee(t)&&!et(t))return!1}return!0}var gr=wt("5.3.6"),yr=function(){function e(r,t,n){this.rules=r,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&mr(r),this.componentId=t,this.baseHash=ge(gr,t),this.baseStyle=n,St.registerId(t)}return e.prototype.generateAndInjectStyles=function(r,t,n){var o=this.componentId,a=[];if(this.baseStyle&&a.push(this.baseStyle.generateAndInjectStyles(r,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))a.push(this.staticRulesId);else{var i=be(this.rules,r,t,n).join(""),d=He(ge(this.baseHash,i)>>>0);if(!t.hasNameForId(o,d)){var p=n(i,"."+d,void 0,o);t.insertRules(o,d,p)}a.push(d),this.staticRulesId=d}else{for(var _=this.rules.length,v=ge(this.baseHash,n.hash),b="",$=0;$<_;$++){var R=this.rules[$];if(typeof R=="string")b+=R,process.env.NODE_ENV!=="production"&&(v=ge(v,R+$));else if(R){var x=be(R,r,t,n),S=Array.isArray(x)?x.join(""):x;v=ge(v,S+$),b+=S}}if(b){var c=He(v>>>0);if(!t.hasNameForId(o,c)){var P=n(b,"."+c,void 0,o);t.insertRules(o,c,P)}a.push(c)}}return a.join(" ")},e}(),vr=/^\s*\/\/.*$/gm,br=[":","[",".","#"];function xr(e){var r,t,n,o,a=e===void 0?me:e,i=a.options,d=i===void 0?me:i,p=a.plugins,_=p===void 0?Oe:p,v=new Dt(d),b=[],$=function(S){function c(P){if(P)try{S(P+"}")}catch{}}return function(P,k,A,w,l,G,oe,Q,re,se){switch(P){case 1:if(re===0&&k.charCodeAt(0)===64)return S(k+";"),"";break;case 2:if(Q===0)return k+"/*|*/";break;case 3:switch(Q){case 102:case 112:return S(A[0]+k),"";default:return k+(se===0?"/*|*/":"")}case-2:k.split("/*|*/}").forEach(c)}}}(function(S){b.push(S)}),R=function(S,c,P){return c===0&&br.indexOf(P[t.length])!==-1||P.match(o)?S:"."+r};function x(S,c,P,k){k===void 0&&(k="&");var A=S.replace(vr,""),w=c&&P?P+" "+c+" { "+A+" }":A;return r=k,t=c,n=new RegExp("\\"+t+"\\b","g"),o=new RegExp("(\\"+t+"\\b){2,}"),v(P||!c?"":c,w)}return v.use([].concat(_,[function(S,c,P){S===2&&P.length&&P[0].lastIndexOf(t)>0&&(P[0]=P[0].replace(n,R))},$,function(S){if(S===-2){var c=b;return b=[],c}}])),x.hash=_.length?_.reduce(function(S,c){return c.name||xe(15),ge(S,c.name)},5381).toString():"",x}var Ct=ce.createContext();Ct.Consumer;var Et=ce.createContext(),Sr=(Et.Consumer,new St),Ue=xr();function wr(){return ce.useContext(Ct)||Sr}function Cr(){return ce.useContext(Et)||Ue}var kt=function(){function e(r,t){var n=this;this.inject=function(o,a){a===void 0&&(a=Ue);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.toString=function(){return xe(12,String(n.name))},this.name=r,this.id="sc-keyframes-"+r,this.rules=t}return e.prototype.getName=function(r){return r===void 0&&(r=Ue),this.name+r.hash},e}(),Er=/([A-Z])/,kr=/([A-Z])/g,Ar=/^ms-/,$r=function(e){return"-"+e.toLowerCase()};function _t(e){return Er.test(e)?e.replace(kr,$r).replace(Ar,"-ms-"):e}var ht=function(e){return e==null||e===!1||e===""};function be(e,r,t,n){if(Array.isArray(e)){for(var o,a=[],i=0,d=e.length;i<d;i+=1)(o=be(e[i],r,t,n))!==""&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(ht(e))return"";if(et(e))return"."+e.styledComponentId;if(Ee(e)){if(typeof(_=e)!="function"||_.prototype&&_.prototype.isReactComponent||!r)return e;var p=e(r);return process.env.NODE_ENV!=="production"&&Ke.isElement(p)&&console.warn(Be(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."),be(p,r,t,n)}var _;return e instanceof kt?t?(e.inject(t,n),e.getName(n)):e:Ve(e)?function v(b,$){var R,x,S=[];for(var c in b)b.hasOwnProperty(c)&&!ht(b[c])&&(Array.isArray(b[c])&&b[c].isCss||Ee(b[c])?S.push(_t(c)+":",b[c],";"):Ve(b[c])?S.push.apply(S,v(b[c],c)):S.push(_t(c)+": "+(R=c,(x=b[c])==null||typeof x=="boolean"||x===""?"":typeof x!="number"||x===0||R in Ft?String(x).trim():x+"px")+";"));return $?[$+" {"].concat(S,["}"]):S}(e):e.toString()}var mt=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function te(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return Ee(e)||Ve(e)?mt(be(dt(Oe,[e].concat(t)))):t.length===0&&e.length===1&&typeof e[0]=="string"?e:mt(be(dt(e,t)))}var gt=/invalid hook call/i,ze=new Set,zr=function(e,r){if(process.env.NODE_ENV!=="production"){var t="The component "+e+(r?' with the id of "'+r+'"':"")+` has been created dynamically.
76
- You may see this warning because you've called styled inside another component.
77
- To resolve this only create new StyledComponents outside of any render method and function component.`,n=console.error;try{var o=!0;console.error=function(a){if(gt.test(a))o=!1,ze.delete(t);else{for(var i=arguments.length,d=new Array(i>1?i-1:0),p=1;p<i;p++)d[p-1]=arguments[p];n.apply(void 0,[a].concat(d))}},ce.useRef(),o&&!ze.has(t)&&(console.warn(t),ze.add(t))}catch(a){gt.test(a.message)&&ze.delete(t)}finally{console.error=n}}},Tr=function(e,r,t){return t===void 0&&(t=me),e.theme!==t.theme&&e.theme||r||t.theme},Rr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Pr=/(^-|-$)/g;function je(e){return e.replace(Rr,"-").replace(Pr,"")}var At=function(e){return He(wt(e)>>>0)};function Te(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ge=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},Or=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function Nr(e,r,t){var n=e[t];Ge(r)&&Ge(n)?$t(n,r):e[t]=r}function $t(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];for(var o=0,a=t;o<a.length;o++){var i=a[o];if(Ge(i))for(var d in i)Or(d)&&Nr(e,i[d],d)}return e}var zt=ce.createContext();zt.Consumer;var De={};function Tt(e,r,t){var n=et(e),o=!Te(e),a=r.attrs,i=a===void 0?Oe:a,d=r.componentId,p=d===void 0?function(k,A){var w=typeof k!="string"?"sc":je(k);De[w]=(De[w]||0)+1;var l=w+"-"+At("5.3.6"+w+De[w]);return A?A+"-"+l:l}(r.displayName,r.parentComponentId):d,_=r.displayName,v=_===void 0?function(k){return Te(k)?"styled."+k:"Styled("+Be(k)+")"}(e):_,b=r.displayName&&r.componentId?je(r.displayName)+"-"+r.componentId:r.componentId||p,$=n&&e.attrs?Array.prototype.concat(e.attrs,i).filter(Boolean):i,R=r.shouldForwardProp;n&&e.shouldForwardProp&&(R=r.shouldForwardProp?function(k,A,w){return e.shouldForwardProp(k,A,w)&&r.shouldForwardProp(k,A,w)}:e.shouldForwardProp);var x,S=new yr(t,b,n?e.componentStyle:void 0),c=S.isStatic&&i.length===0,P=function(k,A){return function(w,l,G,oe){var Q=w.attrs,re=w.componentStyle,se=w.defaultProps,ue=w.foldedComponentIds,X=w.shouldForwardProp,J=w.styledComponentId,ne=w.target;process.env.NODE_ENV!=="production"&&ce.useDebugValue(J);var W=function(C,s,N){C===void 0&&(C=me);var f=_e({},s,{theme:C}),V={};return N.forEach(function(I){var O,u,B,h=I;for(O in Ee(h)&&(h=h(f)),h)f[O]=V[O]=O==="className"?(u=V[O],B=h[O],u&&B?u+" "+B:u||B):h[O]}),[f,V]}(Tr(l,ce.useContext(zt),se)||me,l,Q),fe=W[0],ee=W[1],q=function(C,s,N,f){var V=wr(),I=Cr(),O=s?C.generateAndInjectStyles(me,V,I):C.generateAndInjectStyles(N,V,I);return process.env.NODE_ENV!=="production"&&ce.useDebugValue(O),process.env.NODE_ENV!=="production"&&!s&&f&&f(O),O}(re,oe,fe,process.env.NODE_ENV!=="production"?w.warnTooManyClasses:void 0),de=G,ae=ee.$as||l.$as||ee.as||l.as||ne,pe=Te(ae),y=ee!==l?_e({},l,{},ee):l,m={};for(var g in y)g[0]!=="$"&&g!=="as"&&(g==="forwardedAs"?m.as=y[g]:(X?X(g,st,ae):!pe||st(g))&&(m[g]=y[g]));return l.style&&ee.style!==l.style&&(m.style=_e({},l.style,{},ee.style)),m.className=Array.prototype.concat(ue,J,q!==J?q:null,l.className,ee.className).filter(Boolean).join(" "),m.ref=de,ce.createElement(ae,m)}(x,k,A,c)};return P.displayName=v,(x=ce.forwardRef(P)).attrs=$,x.componentStyle=S,x.displayName=v,x.shouldForwardProp=R,x.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Oe,x.styledComponentId=b,x.target=n?e.target:e,x.withComponent=function(k){var A=r.componentId,w=function(G,oe){if(G==null)return{};var Q,re,se={},ue=Object.keys(G);for(re=0;re<ue.length;re++)Q=ue[re],oe.indexOf(Q)>=0||(se[Q]=G[Q]);return se}(r,["componentId"]),l=A&&A+"-"+(Te(k)?k:je(Be(k)));return Tt(k,_e({},w,{attrs:$,componentId:l}),t)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(k){this._foldedDefaultProps=n?$t({},e.defaultProps,k):k}}),process.env.NODE_ENV!=="production"&&(zr(v,b),x.warnTooManyClasses=function(k,A){var w={},l=!1;return function(G){if(!l&&(w[G]=!0,Object.keys(w).length>=200)){var oe=A?' with the id of "'+A+'"':"";console.warn("Over 200 classes were generated for component "+k+oe+`.
78
- Consider using the attrs method, together with a style object for frequently changed styles.
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
+ `);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 $="".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($,'{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,$){m===void 0&&(m=""),v===void 0&&(v=""),$===void 0&&($="&"),t=$,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var A=g.replace(ir,""),z=Sn(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(S,E){var y=typeof S!="string"?"sc":ht(S);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(S){return He(S)?"styled.".concat(S):"Styled(".concat(Mt(S),")")}(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 $=o.shouldForwardProp;if(t.shouldForwardProp){var A=t.shouldForwardProp;v=function(S,E){return $(S,E)&&A(S,E)}}else v=$}var z=new pr(n,g,r?o.componentStyle:void 0);function C(S,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,S,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(S){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,S):S}}),process.env.NODE_ENV!=="production"&&(Tn(u,g),x.warnTooManyClasses=function(S,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(S).concat(ee,`.
48
+ `)+`Consider using the attrs method, together with a style object for frequently changed styles.
79
49
  Example:
80
50
  const Component = styled.div.attrs(props => ({
81
51
  style: {
@@ -83,52 +53,34 @@ Example:
83
53
  },
84
54
  }))\`width: 100%;\`
85
55
 
86
- <Component />`),l=!0,w={}}}}(v,b)),x.toString=function(){return"."+x.styledComponentId},o&&Jt(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),x}var We=function(e){return function r(t,n,o){if(o===void 0&&(o=me),!Ke.isValidElementType(n))return xe(1,String(n));var a=function(){return t(n,o,te.apply(void 0,arguments))};return a.withConfig=function(i){return r(t,n,_e({},o,{},i))},a.attrs=function(i){return r(t,n,_e({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},a}(Tt,e)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){We[e]=We(e)});function Rt(e){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.");for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var o=te.apply(void 0,[e].concat(t)).join(""),a=At(o);return new kt(a,o)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
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 $t(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 St=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 St(K($t(Re,Q([r],t,!0))))}var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?K(o):St(K($t(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.
87
57
  Perhaps you're looking to import 'styled-components/native'?
88
- Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===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.
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.
89
59
 
90
- See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const Y=We,le={add_on:"add_on",assigned:"assigned",caution:"caution",destroy:"destroy",info:"info",success:"success",upgrade:"upgrade"},ke={small:"small",medium:"medium"},Ir=e=>{switch(e){case le.info:return"var(--cc_color_background_2)";case le.upgrade:return"var(--cc_color_brand_upgrade_alpha_20)";case le.assigned:return"var(--cc_color_utility_assigned_alpha_20)";case le.add_on:return"var(--cc_color_brand_add_on_alpha_20)";default:return`var(--cc_color_utility_${e}_alpha_20)`}},Mr=e=>{switch(e){case le.info:return"var(--cc_color_border_default)";case le.upgrade:return"var(--cc_color_brand_upgrade_alpha_60)";case le.assigned:return"var(--cc_color_utility_assigned_alpha_60)";case le.add_on:return"var(--cc_color_brand_add_on_alpha_60)";default:return`var(--cc_color_utility_${e}_alpha_60)`}},jr=Y.span`
91
- display: inline-flex;
92
- align-items: center;
93
- justify-content: center;
94
- gap: var(--cc_size_spacing_xs);
95
- background-color: ${e=>Ir(e.color||le.info)};
96
- border-radius: var(--cc_size_border_radius_pill);
97
- border: var(--cc_size_border_width_s) solid
98
- ${e=>Mr(e.color||le.info)};
99
- padding: ${e=>e.size===ke.small?"6px":"var(--cc_size_spacing_s)"};
100
- height: ${e=>e.size===ke.small?"var(--cc_size_avatar_xs)":"var(--cc_size_avatar_s)"};
101
- line-height: 1.5;
102
- `,Dr=Y.i`
103
- color: var(--cc_color_text_default);
104
- font-size: ${e=>e.size===ke.small?"11px":"14px"};
105
- line-height: 0;
106
- `,Fr=Y.span`
107
- color: var(--cc_color_text_default);
108
- font-family: 'Averta', system-ui, sans-serif;
109
- font-weight: 600;
110
- font-size: ${e=>e.size===ke.small?"9px":"10px"};
111
- text-transform: uppercase;
112
- white-space: nowrap;
60
+ See https://s-c.sh/2BAXzed for more info.`),window[we]+=1);const fr=p.span`
61
+ width: 1px;
62
+ height: 1px;
63
+ margin: -1px;
64
+ padding: 0;
65
+ position: absolute;
66
+ top: 0;
67
+ left: 0;
113
68
  overflow: hidden;
114
- text-overflow: ellipsis;
115
- letter-spacing: 0.25px;
116
-
117
- &:empty {
118
- display: none;
119
- }
120
- `;function Lr({children:e,color:r=le.info,className:t,iconName:n,size:o=ke.medium,style:a,testId:i}){return T.jsxs(jr,{size:o,className:t,color:r,style:a,"data-testid":i,children:[n?T.jsx(Dr,{size:o,className:`mdi mdi-${n}`}):null,T.jsx(Fr,{size:o,children:e})]})}const Yr="#0967d2",Vr="#142334",Br="#ffd000",Hr="#0ce8d6",Ur="#7949d1",Gr="#bca4e8",Wr="#ef4e4e",qr="#f48585",Xr="#ffd000",Zr="#12a537",Kr="#3ebd93",Qr="#42608a",Jr="#e76119",en="#ffffff",tn="#142334",rn="#f5f7fa",nn="#192d43",on="#ebeff5",sn="#1f3751",an="rgba(31, 55, 81, 0.75)",cn="#142334",ln="#ffffff",un="#4d5a68",dn="#c3c8cc",fn="#8191a2",pn="#a0a7af",_n="#0967d2",hn="#6fabf1",mn="#1f3751",gn="#ffffff",yn="#ebeff5",vn="#2a415a",bn="#ef4e4e",xn="#f48585",Sn="#12a537",wn="#3ebd93",Cn="#e5f1ff",En="rgba(255, 255, 255, 0.1)",kn="#ffffff",An="#142334",$n="#ffffff",zn="#142334",Tn="#4d5a68",Rn="#c3c8cc",Pn="#ffffff",On="#142334",Nn="#ffffff",In="#142334",Mn="#0967d2",jn="#6fabf1",Dn="#142334",Fn="#ffffff",Ln="#4d5a68",Yn="#c3c8cc",Vn="rgba(20, 35, 52, 0.12)",Bn="rgba(255, 255, 255, 0.15)",Hn="rgba(20, 35, 52, 0.2)",Un="rgba(255, 255, 255, 0.22)",Gn="#0967d2",Wn="#6fabf1",qn="rgba(20, 35, 52, 0.13)",Xn="rgba(6, 10, 16, 0.5)",Zn="rgba(20, 35, 52, 0.13)",Kn="rgba(6, 10, 16, 0.6)",Qn="rgba(20, 35, 52, 0.2)",Jn="rgba(6, 10, 16, 0.7)",eo="#31a03c",to="#4191ed",ro="#a227c5",no="#354b62",oo="#ffd000",so="#e76119",ao="#c73732",io="#828c95",co="#4d5a68",lo="#a227c5",uo="#e76119",fo="#31a03c",po="#4191ed",_o="#c73732",ho="#d28e09",mo="#354b62",go="#413ecf",yo="#d63baa",vo="#745138",bo="#ffd000",xo=2,So=4,wo=8,Co=16,Eo=24,ko=32,Ao=48,$o=1,zo=2,To=4,Ro=8,Po=2,Oo=4,No=8,Io=16,Mo=24,jo=1e3,Do=10,Fo=12,Lo=14,Yo=16,Vo=20,Bo=24,Ho=32,Uo=42,Go=16,Wo=24,qo=32,Xo=40,Zo=3,Ko=1,Qo=6,Jo=2,es=12,ts=4,rs=Object.freeze(Object.defineProperty({__proto__:null,color_background_1_de:tn,color_background_1_le:en,color_background_2_de:nn,color_background_2_le:rn,color_background_3_de:sn,color_background_3_le:on,color_background_backdrop:an,color_border_default_de:Bn,color_border_default_le:Vn,color_border_input_active_de:Wn,color_border_input_active_le:Gn,color_border_input_inactive_de:Un,color_border_input_inactive_le:Hn,color_brand_accent:Br,color_brand_add_on_de:Gr,color_brand_add_on_le:Ur,color_brand_primary:Yr,color_brand_secondary:Vr,color_brand_upgrade:Hr,color_button_background_destroy_de:xn,color_button_background_destroy_le:bn,color_button_background_primary_de:hn,color_button_background_primary_le:_n,color_button_background_secondary_de:gn,color_button_background_secondary_le:mn,color_button_background_subtle_de:vn,color_button_background_subtle_le:yn,color_button_background_success_de:wn,color_button_background_success_le:Sn,color_button_background_tint_de:En,color_button_background_tint_le:Cn,color_button_text_destroy_de:On,color_button_text_destroy_le:Pn,color_button_text_primary_de:An,color_button_text_primary_le:kn,color_button_text_secondary_de:zn,color_button_text_secondary_le:$n,color_button_text_subtle_de:Rn,color_button_text_subtle_le:Tn,color_button_text_success_de:In,color_button_text_success_le:Nn,color_collab_blue:po,color_collab_brown:vo,color_collab_green:fo,color_collab_magenta:yo,color_collab_navy:mo,color_collab_orange:uo,color_collab_owner:bo,color_collab_plum:go,color_collab_purple:lo,color_collab_red:_o,color_collab_yellow:ho,color_depth_1_de:Xn,color_depth_1_le:qn,color_depth_2_de:Kn,color_depth_2_le:Zn,color_depth_3_de:Jn,color_depth_3_le:Qn,color_label_blue:to,color_label_dark_gray:co,color_label_green:eo,color_label_light_gray:io,color_label_navy:no,color_label_orange:so,color_label_purple:ro,color_label_red:ao,color_label_yellow:oo,color_link_primary_de:jn,color_link_primary_le:Mn,color_link_secondary_de:Fn,color_link_secondary_le:Dn,color_link_subtle_de:Yn,color_link_subtle_le:Ln,color_text_default_de:ln,color_text_default_le:cn,color_text_nonessential_de:pn,color_text_nonessential_le:fn,color_text_subtle_de:dn,color_text_subtle_le:un,color_utility_assigned:Jr,color_utility_caution:Xr,color_utility_destroy_de:qr,color_utility_destroy_le:Wr,color_utility_info:Qr,color_utility_success_de:Kr,color_utility_success_le:Zr,size_avatar_l:Xo,size_avatar_m:qo,size_avatar_s:Wo,size_avatar_xs:Go,size_border_radius_l:No,size_border_radius_m:Oo,size_border_radius_pill:jo,size_border_radius_s:Po,size_border_radius_xl:Io,size_border_radius_xxl:Mo,size_border_width_l:To,size_border_width_m:zo,size_border_width_s:$o,size_border_width_xl:Ro,size_depth_1_blur:Zo,size_depth_1_y:Ko,size_depth_2_blur:Qo,size_depth_2_y:Jo,size_depth_3_blur:es,size_depth_3_y:ts,size_spacing_l:Eo,size_spacing_m:Co,size_spacing_s:wo,size_spacing_xl:ko,size_spacing_xs:So,size_spacing_xxl:Ao,size_spacing_xxs:xo,size_text_l:Vo,size_text_m:Yo,size_text_s:Lo,size_text_xl:Bo,size_text_xs:Fo,size_text_xxl:Ho,size_text_xxs:Do,size_text_xxxl:Uo},Symbol.toStringTag,{value:"Module"})),Re={...rs},rt=`font-family: system-ui, -apple-system, BlinkMacSystemFont,
121
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,Pt=`font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
122
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,Ot=(e=!1,r=!1)=>{const t=te`
69
+ clip: rect(0 0 0 0);
70
+ border: 0;
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",$r="#12a537",Sr="#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)",$o="rgba(20, 35, 52, 0.13)",So="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,$s=1,Ss=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:So,color_depth_2_le:$o,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:Sr,color_utility_success_le:$r,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:$s,size_depth_2_blur:Ss,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
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,lt=`font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
74
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,Jt=(e=!1,t=!1)=>{const n=N`
123
75
  outline-width: var(--cc_size_border_width_m);
124
76
  outline-style: solid;
125
- `;return e||r?te`
126
- ${t}
127
- outline-color: ${r&&!e?"var(--cc_color_utility_success)":"var(--cc_color_utility_destroy)"};
128
- `:te`
129
- ${t}
77
+ `;return e||t?N`
78
+ ${n}
79
+ outline-color: ${t&&!e?"var(--cc_color_utility_success)":"var(--cc_color_utility_destroy)"};
80
+ `:N`
81
+ ${n}
130
82
  outline-color: var(--cc_color_border_input_active);
131
- `},ns=({disabled:e=!1,readOnly:r=!1})=>`
83
+ `},js=({disabled:e=!1,readOnly:t=!1})=>`
132
84
  all: initial;
133
85
  box-sizing: border-box;
134
86
  font-family: inherit;
@@ -149,17 +101,17 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
149
101
  -moz-osx-font-smoothing: grayscale;
150
102
 
151
103
  &:focus-visible {
152
- ${Ot}
104
+ ${Jt}
153
105
  }
154
106
 
155
- ${e||r?te`
107
+ ${e||t?N`
156
108
  pointer-events: none;
157
109
  `:""}
158
- ${e?te`
110
+ ${e?N`
159
111
  opacity: 0.5;
160
112
  cursor: not-allowed;
161
113
  `:""}
162
- `,os={small:"var(--cc_size_avatar_m)",medium:"var(--cc_size_avatar_l)",large:"48px"},ss=te`
114
+ `,As={small:"var(--cc_size_avatar_m)",medium:"var(--cc_size_avatar_l)",large:"48px"},Ns=N`
163
115
  margin: -1px;
164
116
  padding: 0;
165
117
  width: 1px;
@@ -168,69 +120,138 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
168
120
  clip: rect(0 0 0 0);
169
121
  clip: rect(0, 0, 0, 0);
170
122
  position: absolute;
171
- `,as=e=>{const r=["xxl","xl","l","m","s","xs","xxs"],t=e.split(" "),n=[];return t.forEach(o=>{r.includes(o)?n.push(`var(--cc_size_spacing_${o})`):n.push("0")}),n.join(" ")},is={large:Re.size_avatar_l,medium:Re.size_avatar_m,small:Re.size_avatar_s,xsmall:Re.size_avatar_xs},cs=Rt`
123
+ `,Ts=e=>{const t=["xxl","xl","l","m","s","xs","xxs"],n=e.split(" "),r=[];return n.forEach(o=>{t.includes(o)?r.push(`var(--cc_size_spacing_${o})`):r.push("0")}),r.join(" ")},en={large:q.size_avatar_l,medium:q.size_avatar_m,small:q.size_avatar_s,xsmall:q.size_avatar_xs},Ps=p.span`
124
+ box-sizing: border-box;
125
+ position: relative;
126
+ display: inline-flex;
127
+ width: ${e=>e.$avatarSize}px;
128
+ height: ${e=>e.$avatarSize}px;
129
+ background-color: var(--cc_color_background_3);
130
+ border-radius: 100%;
131
+ color: var(--cc_color_text_subtle);
132
+ ${lt};
133
+ font-weight: 600;
134
+ `,Rs=p.img`
135
+ width: 100%;
136
+ height: 100%;
137
+ border-radius: 100%;
138
+ object-fit: cover;
139
+ object-position: center;
140
+ `,zt=p.span`
141
+ font-size: ${e=>e.$initialsTextSize}px;
142
+ width: 100%;
143
+ height: 100%;
144
+ display: grid;
145
+ place-items: center;
146
+ text-align: center;
147
+ `,Os=p.i`
148
+ // make icon slightly larger than initials
149
+ font-size: ${e=>e.$initialsTextSize+4}px;
150
+ `,Ds=p.span`
151
+ position: absolute;
152
+ display: block;
153
+ pointer-events: none;
154
+ top: 0;
155
+ left: 0;
156
+ right: 0;
157
+ bottom: 0;
158
+ border-width: var(--cc_size_border_width_m);
159
+ border-style: solid;
160
+ border-color: ${e=>e.$borderColor};
161
+ border-radius: 100%;
162
+ `,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
+ display: inline-flex;
164
+ align-items: center;
165
+ justify-content: center;
166
+ gap: var(--cc_size_spacing_xs);
167
+ background-color: ${e=>Bs(e.color||O.info)};
168
+ border-radius: var(--cc_size_border_radius_pill);
169
+ border: var(--cc_size_border_width_s) solid
170
+ ${e=>Ls(e.color||O.info)};
171
+ padding: ${e=>e.size===ge.small?"6px":"var(--cc_size_spacing_s)"};
172
+ height: ${e=>e.size===ge.small?"var(--cc_size_avatar_xs)":"var(--cc_size_avatar_s)"};
173
+ line-height: 1.5;
174
+ `,Hs=p.i`
175
+ color: var(--cc_color_text_default);
176
+ font-size: ${e=>e.size===ge.small?"11px":"14px"};
177
+ line-height: 0;
178
+ `,Vs=p.span`
179
+ color: var(--cc_color_text_default);
180
+ font-family: 'Averta', system-ui, sans-serif;
181
+ font-weight: 600;
182
+ font-size: ${e=>e.size===ge.small?"9px":"10px"};
183
+ text-transform: uppercase;
184
+ white-space: nowrap;
185
+ overflow: hidden;
186
+ text-overflow: ellipsis;
187
+ letter-spacing: 0.25px;
188
+
189
+ &:empty {
190
+ display: none;
191
+ }
192
+ `;function Gs({children:e,color:t=O.info,className:n,iconName:r,size:o=ge.medium,style:s,testId:i}){return l.jsxs(Fs,{size:o,className:n,color:t,style:s,"data-testid":i,children:[r?l.jsx(Hs,{size:o,className:`mdi mdi-${r}`}):null,l.jsx(Vs,{size:o,children:e})]})}const Ys=Zt`
172
193
  to {
173
194
  stroke-dashoffset: 200;
174
195
  }
175
- `,ls=Rt`
196
+ `,Us=Zt`
176
197
  to {
177
198
  transform: rotate(1turn);
178
199
  }
179
- `,us=Y.span`
200
+ `,Ws=p.span`
180
201
  display: inline-flex;
181
- flex-direction: ${e=>e.layout==="vertical"?"column":"row"};
202
+ flex-direction: ${e=>e.$layout==="vertical"?"column":"row"};
182
203
  align-items: center;
183
- `,ds=Y.span`
204
+ `,qs=p.span`
184
205
  font-family: system-ui, sans-serif;
185
206
  font-weight: 400;
186
- font-size: ${e=>e.labelFontSize}px;
207
+ font-size: ${e=>e.$fontSize}px;
187
208
  color: var(--cc_color_text_nonessential);
188
- margin-${e=>e.layout==="vertical"?"block-start":"inline-start"}: 12px;
189
- `,fs=Y.span`
209
+ margin-${e=>e.$layout==="vertical"?"block-start":"inline-start"}: 12px;
210
+ `,Xs=p.span`
190
211
  display: block;
191
212
  position: relative;
192
- width: ${e=>e.size}px;
193
- height: ${e=>e.size}px;
194
- `,ps=Y.svg`
213
+ width: ${e=>e.$size}px;
214
+ height: ${e=>e.$size}px;
215
+ `,Ks=p.svg`
195
216
  position: absolute;
196
217
  top: 0;
197
218
  bottom: 0;
198
219
  left: 0;
199
220
  right: 0;
200
221
  transform: rotate(0turn);
201
- animation-name: ${ls};
222
+ animation-name: ${Us};
202
223
  animation-duration: 0.75s;
203
224
  animation-iteration-count: infinite;
204
225
  animation-timing-function: linear;
205
- `,_s=Y.circle`
206
- stroke: ${e=>e.trackColor};
226
+ `,Zs=p.circle`
227
+ stroke: ${e=>e.$trackColor};
207
228
  fill: transparent;
208
229
  stroke-width: 28;
209
- `,hs=Y.circle`
210
- stroke: ${e=>e.meterColor};
230
+ `,Qs=p.circle`
231
+ stroke: ${e=>e.$meterColor};
211
232
  stroke-width: 28;
212
233
  fill: transparent;
213
234
  stroke-dasharray: 540;
214
235
  stroke-dashoffset: 506;
215
- animation-name: ${cs};
236
+ animation-name: ${Ys};
216
237
  animation-duration: 1s;
217
238
  animation-iteration-count: infinite;
218
239
  animation-direction: alternate;
219
240
  animation-timing-function: linear;
220
- `,Nt=({accessibilityLabel:e,testId:r,className:t,label:n,layout:o="horizontal",meterColor:a="var(--cc_color_border_input_inactive)",size:i="medium",style:d,trackColor:p="var(--cc_color_background_2)"})=>{const _=typeof i=="number"?i:is[i],v=_<=24?12:14,b=T.jsx(fs,{size:_,className:t,style:d,"data-testid":r,children:T.jsxs(ps,{viewBox:"0 0 200 200",focusable:"false","data-svg-type":"spinner",children:[T.jsx("title",{children:e}),T.jsxs("g",{role:"presentation",children:[T.jsx(_s,{r:"86",cy:"100",cx:"100",trackColor:p}),T.jsx(hs,{r:"86",cy:"100",cx:"100",meterColor:a})]})]})});return n?T.jsxs(us,{layout:o,children:[b,T.jsx(ds,{labelFontSize:v,layout:o,children:n})]}):b},Fe={solid:"solid",outline:"outline",minimal:"minimal"},ms={small:"0 calc(var(--cc_size_spacing_s) * 1.25)",medium:"0 var(--cc_size_spacing_m)",large:"0 var(--cc_size_spacing_l)"},qe={small:"calc(var(--cc_size_text_xs) + 1px)",medium:"calc(var(--cc_size_text_s) + 1px)",large:"calc(var(--cc_size_text_m) + 1px)"},gs=e=>`
241
+ `,tn=({accessibilityLabel:e,testId:t,className:n,label:r,layout:o="horizontal",meterColor:s="var(--cc_color_border_input_inactive)",size:i="medium",style:c,trackColor:a="var(--cc_color_background_2)"})=>{const d=typeof i=="number"?i:en[i],_=d<=24?12:14,u=l.jsx(Xs,{$size:d,className:n,style:c,"data-testid":t,children:l.jsxs(Ks,{viewBox:"0 0 200 200",focusable:"false","data-svg-type":"spinner",children:[l.jsx("title",{children:e}),l.jsxs("g",{role:"presentation",children:[l.jsx(Zs,{r:"86",cy:"100",cx:"100",$trackColor:a}),l.jsx(Qs,{r:"86",cy:"100",cx:"100",$meterColor:s})]})]})});return r?l.jsxs(Ws,{$layout:o,children:[u,l.jsx(qs,{$fontSize:_,$layout:o,children:r})]}):u},Ge={solid:"solid",outline:"outline",minimal:"minimal"},Js={small:"0 calc(var(--cc_size_spacing_s) * 1.25)",medium:"0 var(--cc_size_spacing_m)",large:"0 var(--cc_size_spacing_l)"},tt={small:"calc(var(--cc_size_text_xs) + 1px)",medium:"calc(var(--cc_size_text_s) + 1px)",large:"calc(var(--cc_size_text_m) + 1px)"},ei=e=>`
221
242
  color: var(--cc_color_button_text_${e});
222
243
  background: var(--cc_color_button_background_${e});
223
244
  &:hover {
224
245
  background: var(--cc_color_button_background_${e}_darken_10);
225
246
  }
226
- `,ys=(e,r)=>e==="destroy"||e==="success"?`
247
+ `,ti=(e,t)=>e==="destroy"||e==="success"?`
227
248
  background: transparent;
228
249
  color: var(--cc_color_utility_${e});
229
250
  &:hover {
230
251
  color: var(--cc_color_utility_${e}_darken_10);
231
252
  background: var(--cc_color_button_background_${e}_alpha_10);
232
253
  }
233
- ${r?`
254
+ ${t?`
234
255
  border-color: var(--cc_color_button_background_${e});
235
256
  &:hover {
236
257
  border-color: var(--cc_color_button_background_${e}_darken_10);
@@ -243,133 +264,127 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
243
264
  background: var(--cc_color_button_background_${e}_alpha_${e==="subtle"?"70":"10"});
244
265
  color: var(--cc_color_link_${e}_darken_15);
245
266
  }
246
- ${r?`
267
+ ${t?`
247
268
  border-color: var(--cc_color_link_${e});
248
269
  &:hover {
249
270
  border-color: var(--cc_color_link_${e}_darken_10);
250
271
  }
251
272
  `:null}
252
- `,vs=Y.button`
253
- ${e=>ns({disabled:e.disabled})}
273
+ `,ni=p.button`
274
+ ${e=>js({disabled:e.disabled})}
254
275
  -webkit-font-smoothing: antialiased;
255
276
  -moz-osx-font-smoothing: grayscale;
256
277
  line-height: 1.2;
257
278
  display: inline-flex;
258
279
  align-items: center;
259
280
  justify-content: center;
260
- gap: ${e=>`calc(${qe[e.size]} * 0.25 + 4px)`};
281
+ gap: ${e=>`calc(${tt[e.$size]} * 0.25 + 4px)`};
261
282
  border: var(--cc_size_border_width_m) solid transparent;
262
283
  border-radius: var(--cc_size_border_radius_l);
263
284
  font-weight: 700;
264
285
  transition: transform 0.25s, color 0.25s, background 0.25s;
265
286
  box-sizing: border-box;
266
- ${e=>e.design===Fe.outline||e.design===Fe.minimal?ys(e.buttonColor,e.design===Fe.outline):gs(e.buttonColor)};
267
- height: ${e=>os[e.size]};
268
- padding: ${e=>ms[e.size]};
287
+ ${e=>e.$design===Ge.outline||e.$design===Ge.minimal?ti(e.$color,e.$design===Ge.outline):ei(e.$color)};
288
+ height: ${e=>As[e.$size]};
289
+ padding: ${e=>Js[e.$size]};
269
290
  font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
270
291
  'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
271
- font-size: ${e=>qe[e.size]};
292
+ font-size: ${e=>tt[e.$size]};
272
293
 
273
294
  &:active {
274
295
  transform: scale(0.98);
275
296
  }
276
- `,bs=Y.span`
297
+ `,ri=p.span`
277
298
  position: relative;
278
299
  white-space: nowrap;
279
300
  overflow: hidden;
280
301
  text-overflow: ellipsis;
281
- ${e=>e.isLoading?te`
302
+ ${e=>e.$isLoading?N`
282
303
  visibility: hidden;
283
304
  `:null}
284
- `,xs=Y(Nt)`
305
+ `,oi=p(tn)`
285
306
  position: absolute;
286
307
  top: 50%;
287
308
  left: 50%;
288
309
  transform: translate3d(-50%, -50%, 0);
289
- `,Ss=Y.i`
310
+ `,si=p.i`
290
311
  // make icons render at the font size + 4px
291
- font-size: ${e=>`calc(${qe[e.size]} + 4px)`};
312
+ font-size: ${e=>`calc(${tt[e.size]} + 4px)`};
292
313
  // because MD icon font has extra space at top
293
314
  transform: translateY(-0.05ch);
294
315
  top: 0;
295
316
 
296
- ${e=>e.isLoading?te`
317
+ ${e=>e.$isLoading?N`
297
318
  visibility: hidden;
298
319
  `:null}
299
- `,Xe=({children:e,color:r="subtle",design:t="solid",href:n,icon:o={position:"before"},loading:a=!1,size:i="medium",type:d="button",...p})=>{const _=o!=null&&o.name?T.jsx(Ss,{className:`mdi mdi-${o.name}`,size:i,isLoading:a}):null;return T.jsxs(vs,{as:n?"a":"button",buttonColor:r,href:n,disabled:p.disabled,design:t,size:i,type:n?void 0:d,className:p.className,style:p.style,...p,children:[(o==null?void 0:o.position)==="before"?_:null,T.jsx(bs,{isLoading:a,children:e}),(o==null?void 0:o.position)==="after"?_:null,a?T.jsx(xs,{accessibilityLabel:"Loading",size:i==="large"?20:"xsmall",trackColor:"rgba(0, 0, 0, 0.2)",meterColor:"currentColor"}):null]})},ye={xxxl:{size:"var(--cc_size_text_xxxl)",family:"heading",weight:800,lineHeight:1.1},xxl:{size:"var(--cc_size_text_xxl)",family:"heading",weight:800,lineHeight:1.1},xl:{size:"var(--cc_size_text_xl)",family:"heading",weight:700,lineHeight:1.1},l:{size:"var(--cc_size_text_l)",family:"system",weight:700,lineHeight:1.2},m:{size:"var(--cc_size_text_m)",family:"system",lineHeight:1.4},s:{size:"var(--cc_size_text_s)",family:"system",lineHeight:1.4},xs:{size:"var(--cc_size_text_xs)",family:"system",lineHeight:1.4},xxs:{size:"var(--cc_size_text_xxs)",family:"system",lineHeight:1.4}},ws=Y.span`
320
+ `,je=({children:e,color:t="subtle",design:n="solid",href:r,icon:o={position:"before"},loading:s=!1,size:i="medium",type:c="button",...a})=>{const d=o!=null&&o.name?l.jsx(si,{className:`mdi mdi-${o.name}`,size:i,$isLoading:s}):null;return l.jsxs(ni,{as:r?"a":"button",$color:t,href:r,disabled:a.disabled,$design:n,$size:i,type:r?void 0:c,className:a.className,style:a.style,...a,children:[(o==null?void 0:o.position)==="before"?d:null,l.jsx(ri,{$isLoading:s,children:e}),(o==null?void 0:o.position)==="after"?d:null,s?l.jsx(oi,{accessibilityLabel:"Loading",size:i==="large"?20:"xsmall",trackColor:"rgba(0, 0, 0, 0.2)",meterColor:"currentColor"}):null]})},re={xxxl:{size:"var(--cc_size_text_xxxl)",family:"heading",weight:800,lineHeight:1.1},xxl:{size:"var(--cc_size_text_xxl)",family:"heading",weight:800,lineHeight:1.1},xl:{size:"var(--cc_size_text_xl)",family:"heading",weight:700,lineHeight:1.1},l:{size:"var(--cc_size_text_l)",family:"system",weight:700,lineHeight:1.2},m:{size:"var(--cc_size_text_m)",family:"system",lineHeight:1.4},s:{size:"var(--cc_size_text_s)",family:"system",lineHeight:1.4},xs:{size:"var(--cc_size_text_xs)",family:"system",lineHeight:1.4},xxs:{size:"var(--cc_size_text_xxs)",family:"system",lineHeight:1.4}},ii=p.span`
300
321
  /* unset all global typography styles */
301
322
  all: unset;
302
323
 
303
324
  /* default is block */
304
- display: ${e=>e.textDisplay};
325
+ display: ${e=>e.$display};
305
326
 
306
327
  /* Component can inherit font color for one-offs */
307
- color: ${e=>e.textColor==="inherit"?"inherit":`var(--cc_color_text_${e.textColor})`};
328
+ color: ${e=>e.$color==="inherit"?"inherit":`var(--cc_color_text_${e.$color})`};
308
329
 
309
330
  /* Use either Averta (heading) or system font stack default */
310
- ${e=>e.textFontFamily&&e.textFontFamily==="heading"||ye[e.size].family==="heading"?Pt:rt}
331
+ ${e=>e.$family&&e.$family==="heading"||re[e.size].family==="heading"?lt:ct}
311
332
 
312
333
  /* Add 1px to font size if heading font family, due to Averta lookin' too small */
313
- font-size: ${e=>e.textFontFamily==="heading"?`calc(${ye[e.size].size} + 1px)`:ye[e.size].size};
314
- line-height: ${e=>ye[e.size].lineHeight};
334
+ font-size: ${e=>e.$family==="heading"?`calc(${re[e.size].size} + 1px)`:re[e.size].size};
335
+ line-height: ${e=>re[e.size].lineHeight};
315
336
 
316
337
  /* if ccMargin is specified in props, convert spacing tokens to CSS variables */
317
- ${e=>e.ccMargin?te`
318
- margin: ${as(e.ccMargin)};
338
+ ${e=>e.$ccMargin?N`
339
+ margin: ${Ts(e.$ccMargin)};
319
340
  `:null}
320
341
 
321
342
  /* if user specifies weight in props OR there is a weight default for the font size, set it in CSS */
322
- ${e=>e.weight||ye[e.size].weight?te`
323
- font-weight: ${e.weight||ye[e.size].weight};
343
+ ${e=>e.$weight||re[e.size].weight?N`
344
+ font-weight: ${e.$weight||re[e.size].weight};
324
345
  `:null}
325
- `;function Ze({as:e,children:r,color:t="default",size:n="s",family:o,ccMargin:a,weight:i,display:d="block",className:p,style:_,...v}){return T.jsx(ws,{as:e,size:n,textFontFamily:o,ccMargin:a,textColor:t,weight:i,textDisplay:d,className:p,style:_,...v,children:r})}const Cs={success:"var(--cc_color_utility_success)",caution:"var(--cc_color_utility_caution)",destroy:"var(--cc_color_utility_destroy)",info:"var(--cc_color_utility_info)"},Es=Y.div`
346
+ `;function nt({as:e,forwardedAs:t,children:n,color:r="default",size:o="s",family:s,ccMargin:i,weight:c,display:a="block",className:d,style:_,...u}){return l.jsx(ii,{as:e,forwardedAs:t,size:o,$family:s,$ccMargin:i,$color:r,$weight:c,$display:a,className:d,style:_,...u,children:n})}const ai={success:"var(--cc_color_utility_success)",caution:"var(--cc_color_utility_caution)",destroy:"var(--cc_color_utility_destroy)",info:"var(--cc_color_utility_info)"},ci=p.div`
326
347
  height: 100%;
327
348
  display: flex;
328
349
  align-items: center;
329
350
  justify-content: center;
330
351
  flex-direction: column;
331
- `,ks=Y.div`
352
+ `,li=p.div`
332
353
  text-align: center;
333
- `,As=Y.div`
354
+ `,di=p.div`
334
355
  height: 128px;
335
356
  width: 128px;
336
357
  margin-block-end: var(--cc_size_spacing_xs);
337
- `,$s=Y.img`
358
+ `,ui=p.img`
338
359
  width: 100%;
339
360
  height: 100%;
340
361
  object-fit: contain;
341
- `,zs=Y.i`
362
+ `,pi=p.i`
342
363
  display: block;
343
- color: ${e=>Cs[e.iconColor]};
364
+ color: ${e=>ai[e.$iconColor]};
344
365
  font-size: 48px;
345
366
  line-height: 1;
346
367
  margin-block-end: var(--cc_size_spacing_xs);
347
- `,Ts=Y.div`
368
+ `,_i=p.div`
348
369
  display: flex;
349
370
  flex-direction: column;
350
371
  gap: var(--cc_size_spacing_s);
351
372
  margin-block-start: var(--cc_size_spacing_m);
352
- `,Rs=({image:e,className:r,color:t="info",iconName:n,message:o="",primaryAction:a,secondaryAction:i,style:d,title:p})=>{var v,b,$,R;const _=()=>e!=null&&e.src?T.jsx(As,{style:e.imageContainerStyle,children:T.jsx($s,{src:e.src,alt:e.alt})}):T.jsx(zs,{className:`mdi mdi-${n}`,iconColor:t,"aria-hidden":"true"});return T.jsxs(Es,{className:r,style:d,children:[_(),T.jsxs(ks,{children:[T.jsx(Ze,{as:"h3",family:"heading",size:"xl",weight:"800",ccMargin:"none none xs",children:p}),T.jsx(Ze,{as:"p",color:"subtle",children:o})]}),T.jsxs(Ts,{children:[a?T.jsx(Xe,{...a,"data-testid":a["data-testid"],color:t==="destroy"?"destroy":"primary",icon:{name:(v=a.icon)==null?void 0:v.name,position:(b=a.icon)==null?void 0:b.position},children:a.label}):null,i?T.jsx(Xe,{...i,"datatest-id":i["data-testid"],color:"subtle",icon:{name:($=i.icon)==null?void 0:$.name,position:(R=i.icon)==null?void 0:R.position},children:i.label}):null]})]})},Ps=Y.span`
353
- width: 1px;
354
- height: 1px;
355
- margin: -1px;
356
- padding: 0;
357
- position: absolute;
358
- top: 0;
359
- left: 0;
360
- overflow: hidden;
361
- clip: rect(0 0 0 0);
362
- border: 0;
363
- opacity: 0;
364
- `,Os=({children:e})=>T.jsx(Ps,{children:e}),Ns=Y.div`
373
+ `,fi=({image:e,className:t,color:n="info",iconName:r,message:o="",primaryAction:s,secondaryAction:i,style:c,title:a})=>{var _,u,g,m;const d=()=>e!=null&&e.src?l.jsx(di,{style:e.imageContainerStyle,children:l.jsx(ui,{src:e.src,alt:e.alt})}):l.jsx(pi,{className:`mdi mdi-${r}`,$iconColor:n,"aria-hidden":"true"});return l.jsxs(ci,{className:t,style:c,children:[d(),l.jsxs(li,{children:[a?l.jsx(nt,{as:"h3",family:"heading",size:"xl",weight:"800",ccMargin:"none none xs",children:a}):null,l.jsx(nt,{as:"p",color:"subtle",children:o})]}),l.jsxs(_i,{children:[s?l.jsx(je,{...s,"data-testid":s["data-testid"],color:n==="destroy"?"destroy":"primary",icon:{name:(_=s.icon)==null?void 0:_.name,position:(u=s.icon)==null?void 0:u.position},children:s.label}):null,i?l.jsx(je,{...i,"datatest-id":i["data-testid"],color:"subtle",icon:{name:(g=i.icon)==null?void 0:g.name,position:(m=i.icon)==null?void 0:m.position},children:i.label}):null]})]})},hi=p(je)`
374
+ padding: 0 0.25ch;
375
+ height: auto;
376
+ line-height: inherit;
377
+ vertical-align: baseline;
378
+ border-radius: var(--cc_size_border_radius_m);
379
+ `,gi=({...e})=>l.jsx(hi,{design:"minimal",...e}),mi={default:"default",error:"error",success:"success"},yi={error:"alert-circle-outline",success:"check-circle-outline"},bi=p.div`
365
380
  position: relative;
366
381
  z-index: 1;
367
- ${e=>e.disabled?te`
382
+ ${e=>e.disabled?N`
368
383
  opacity: 0.5;
369
384
  pointer-events: none;
370
385
  user-select: none;
371
386
  `:null}
372
- `,Is=Y.div`
387
+ `,vi=p.div`
373
388
  display: flex;
374
389
  align-items: center;
375
390
  gap: var(--cc_size_spacing_xs);
@@ -377,63 +392,90 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
377
392
  font-weight: 400;
378
393
  margin-block-start: var(--cc_size_spacing_xs);
379
394
  color: ${e=>`var(--cc_color_utility_${e.status})`};
380
- `,Ms=Y.i`
395
+ `,xi=p.i`
381
396
  font-size: 18px;
382
397
  flex-shrink: 0;
383
- `,js=Y.span`
384
- ${rt}
385
- `;function Ds({children:e,className:r,disabled:t=!1,id:n,message:o,status:a="default",style:i}){const d={default:"info",error:"destroy",success:"success"},p={error:"alert-circle-outline",success:"check-circle-outline"};return T.jsxs(Ns,{className:r,style:i,disabled:t,children:[e,o?T.jsxs(Is,{status:d[a],children:[a==="success"||a==="error"?T.jsx(Ms,{className:`mdi mdi-${p[a]}`,"aria-hidden":"true"}):null,T.jsx(js,{id:`${n}-message`,children:o})]}):null]})}const Fs=Y.label`
398
+ `,wi=p.span`
399
+ ${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 $i=p.label`
386
401
  all: initial;
387
- ${e=>e.hideLabel?ss:te`
402
+ ${e=>e.$hideLabel?Ns:N`
388
403
  box-sizing: border-box;
389
404
  display: block;
390
- ${Pt}
405
+ ${lt}
391
406
  font-weight: 600;
392
407
  font-size: calc(var(--cc_size_text_s) + 1px);
393
408
  color: var(--cc_color_text_default);
394
409
  margin-block-end: var(--cc_size_spacing_xs);
395
410
  `}
396
- `,Ls=Y.input`
411
+ `,Si=p.input`
397
412
  all: initial;
398
413
  box-sizing: border-box;
399
414
  background: transparent;
400
- ${rt};
415
+ ${ct};
401
416
  font-size: var(--cc_size_text_m);
402
417
  color: var(--cc_color_text_default);
403
418
  padding: 0 calc(var(--cc_size_spacing_m) * 0.75);
404
419
  flex: 1;
405
- height: ${e=>e.inputSize==="medium"?38:48}px;
420
+ height: ${e=>e.$inputSize==="medium"?38:48}px;
406
421
  overflow: hidden;
407
422
  max-width: 100%;
408
423
  &::placeholder {
409
424
  color: var(--cc_color_text_nonessential);
410
425
  }
411
- `,Ys=Y.div`
426
+ `,zi=p.div`
412
427
  border-width: var(--cc_size_border_width_s);
413
428
  border-style: solid;
414
- border-color: ${e=>e.error?"var(--cc_color_utility_destroy)":"var(--cc_color_border_input_inactive)"};
429
+ border-color: ${e=>e.$error?"var(--cc_color_utility_destroy)":"var(--cc_color_border_input_inactive)"};
415
430
  display: flex;
416
431
  align-items: center;
417
432
  min-width: 1px;
418
433
  transition: border-color 0.3s;
419
434
  border-radius: ${e=>e.$type==="search"?"var(--cc_size_border_radius_pill)":"var(--cc_size_border_radius_l)"};
420
435
  background: var(--cc_color_background_1);
421
- ${e=>e.disabled?null:te`
436
+ ${e=>e.$disabled?null:N`
422
437
  &:hover {
423
438
  border-color: var(--cc_color_button_background_secondary);
424
439
  }
425
440
  `}
426
441
 
427
442
  &:focus-within {
428
- ${e=>Ot(e.error,e.success)}
443
+ ${e=>Jt(e.$error,e.$success)}
429
444
  border-color: transparent;
430
445
  outline-offset: -2px;
431
446
  }
432
- `,Vs=Y.i`
447
+ `,Ci=p.i`
433
448
  color: var(--cc_color_text_nonessential);
434
- font-size: ${e=>e.inputSize==="large"?22:20}px;
449
+ font-size: ${e=>e.$inputSize==="large"?22:20}px;
435
450
  margin-inline-start: calc(var(--cc_size_spacing_m) * 0.75);
436
451
  line-height: 1;
437
- `,yt=Y.span`
452
+ `,Ct=p.span`
453
+ 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 $=Ii({type:m}),A=t||$,z=()=>A?l.jsx(Ct,{children:t||l.jsx(Ci,{className:`mdi mdi-${$}`,$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($i,{htmlFor:s,$hideLabel:o,children:i}),l.jsxs(zi,{$disabled:v.disabled||!1,$success:u,$error:r,$type:m,children:[z(),l.jsx(Si,{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
+ display: flex;
456
+ flex-wrap: wrap;
457
+ align-items: ${({$contentAlign:e="center"})=>e};
458
+ gap: ${({size:e=Z.medium})=>e==="small"?"calc(var(--cc_size_spacing_s) + 2px)":"var(--cc_size_spacing_m)"};
459
+ padding: ${({size:e=Z.medium})=>Ri(e)};
460
+ background-color: ${({color:e=k.info})=>Ai(e)};
461
+ border-radius: var(--cc_size_border_radius_l);
462
+ color: var(--cc_color_text_subtle);
463
+ font-size: ${({size:e=Z.medium})=>Oi(e)};
464
+ font-family: system-ui, sans-serif;
465
+ line-height: 1.3;
466
+ `,Bi=p.span`
467
+ flex: 1;
468
+ `,It=p.span`
438
469
  flex-shrink: 0;
439
- `,Bs=({success:e,error:r})=>e&&!r?"success":r?"error":"default",Hs=({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 Us({className:e,contentBefore:r,contentAfter:t,error:n=!1,hideLabel:o=!1,id:a,label:i,message:d,name:p,inputSize:_="medium",style:v,success:b=!1,testId:$,type:R="text",...x}){const S=Hs({type:R}),c=r||S,P=()=>c?T.jsx(yt,{children:r||T.jsx(Vs,{className:`mdi mdi-${S}`,inputSize:_})}):null;return T.jsxs(Ds,{id:a,message:d,disabled:x.disabled,className:e,status:Bs({success:b,error:n}),style:v,children:[T.jsx(Fs,{htmlFor:a,hideLabel:o,children:i}),T.jsxs(Ys,{disabled:x.disabled||!1,success:b,error:n,$type:R,children:[P(),T.jsx(Ls,{disabled:x.disabled,"aria-labelledby":d?`${a}-message`:"","aria-invalid":n,id:a,name:p||a,inputSize:_,"data-testid":$,type:R,...x}),t?T.jsx(yt,{children:t}):null]})]})}exports.Badge=Lr;exports.Billboard=Rs;exports.Button=Xe;exports.InputText=Us;exports.ScreenReaderContent=Os;exports.Spinner=Nt;exports.Text=Ze;
470
+ `,Li=p.span`
471
+ flex-shrink: 0;
472
+ display: grid;
473
+ place-items: center;
474
+ width: ${({size:e=Z.medium})=>Et(e)}px;
475
+ height: ${({size:e=Z.medium})=>Et(e)}px;
476
+ background-color: ${({color:e=k.info})=>Ni(e)};
477
+ border-radius: var(--cc_size_border_radius_l);
478
+ `,Fi=p.i`
479
+ font-size: ${({size:e=Z.medium})=>Di(e)}px;
480
+ color: ${({color:e=k.info})=>Ti(e)};
481
+ `;function Hi({children:e,color:t=k.info,contentBefore:n,contentAfter:r,contentAlign:o="center",iconName:s="",hideIcon:i,size:c=Z.medium,testId:a}){return l.jsxs(Mi,{color:t,size:c,$contentAlign:o,"data-testid":a,children:[!i&&!n?l.jsx(Li,{color:t,size:c,children:l.jsx(Fi,{className:`mdi mdi-${Pi(s,t)}`,"aria-hidden":"true",size:c,color:t,"data-testid":"icon"})}):null,n?l.jsx(It,{children:n}):null,l.jsx(Bi,{children:e}),r?l.jsx(It,{children:r}):null]})}exports.Avatar=Ms;exports.Badge=Gs;exports.Billboard=fi;exports.Button=je;exports.ButtonCondensed=gi;exports.InputText=ji;exports.Notice=Hi;exports.ScreenReaderContent=Qt;exports.Spinner=tn;exports.Text=nt;