kilya-ui 0.0.8 → 0.0.10
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/dist/kilya-ui.es.js +1229 -877
- package/dist/kilya-ui.umd.js +387 -62
- package/package.json +1 -1
- package/dist/kilya-ui.css +0 -1
package/dist/kilya-ui.umd.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(q,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(q=typeof globalThis<"u"?globalThis:q||self,D(q["kilya-ui"]={},q.React))})(this,(function(q,D){"use strict";
|
|
1
|
+
(function(q,D){typeof exports=="object"&&typeof module<"u"?D(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],D):(q=typeof globalThis<"u"?globalThis:q||self,D(q["kilya-ui"]={},q.React))})(this,(function(q,D){"use strict";var Pe={exports:{}},ge={};var br;function gt(){if(br)return ge;br=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,n,i){var c=null;if(i!==void 0&&(c=""+i),n.key!==void 0&&(c=""+n.key),"key"in n){i={};for(var d in n)d!=="key"&&(i[d]=n[d])}else i=n;return n=i.ref,{$$typeof:e,type:o,key:c,ref:n!==void 0?n:null,props:i}}return ge.Fragment=r,ge.jsx=t,ge.jsxs=t,ge}var be={};var yr;function bt(){return yr||(yr=1,process.env.NODE_ENV!=="production"&&(function(){function e(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===mr?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case j:return"Fragment";case _:return"Profiler";case O:return"StrictMode";case g:return"Suspense";case f:return"SuspenseList";case hr:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case T:return"Portal";case x:return a.displayName||"Context";case S:return(a._context.displayName||"Context")+".Consumer";case R:var u=a.render;return a=a.displayName,a||(a=u.displayName||u.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case G:return u=a.displayName||null,u!==null?u:e(a.type)||"Memo";case U:u=a._payload,a=a._init;try{return e(a(u))}catch{}}return null}function r(a){return""+a}function t(a){try{r(a);var u=!1}catch{u=!0}if(u){u=console;var E=u.error,A=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return E.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",A),r(a)}}function o(a){if(a===j)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===U)return"<...>";try{var u=e(a);return u?"<"+u+">":"<...>"}catch{return"<...>"}}function n(){var a=ke.A;return a===null?null:a.getOwner()}function i(){return Error("react-stack-top-frame")}function c(a){if(Se.call(a,"key")){var u=Object.getOwnPropertyDescriptor(a,"key").get;if(u&&u.isReactWarning)return!1}return a.key!==void 0}function d(a,u){function E(){Ue||(Ue=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",u))}E.isReactWarning=!0,Object.defineProperty(a,"key",{get:E,configurable:!0})}function l(){var a=e(this.type);return me[a]||(me[a]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function k(a,u,E,A,X,J){var C=E.ref;return a={$$typeof:$,type:a,key:u,props:E,_owner:A},(C!==void 0?C:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:l}):Object.defineProperty(a,"ref",{enumerable:!1,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(a,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:X}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:J}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function y(a,u,E,A,X,J){var C=u.children;if(C!==void 0)if(A)if(gr(C)){for(A=0;A<C.length;A++)b(C[A]);Object.freeze&&Object.freeze(C)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else b(C);if(Se.call(u,"key")){C=e(a);var M=Object.keys(u).filter(function(Ee){return Ee!=="key"});A=0<M.length?"{key: someKey, "+M.join(": ..., ")+": ...}":"{key: someKey}",K[C+A]||(M=0<M.length?"{"+M.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
2
|
let props = %s;
|
|
3
3
|
<%s {...props} />
|
|
4
4
|
React keys must be passed directly to JSX without using spread:
|
|
5
5
|
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,T,C,z,C),Z[C+T]=!0)}if(C=null,x!==void 0&&(r(x),C=""+x),i(u)&&(r(u.key),C=""+u.key),"key"in u){x={};for(var Y in u)Y!=="key"&&(x[Y]=u[Y])}else x=u;return C&&c(x,typeof s=="function"?s.displayName||s.name||"Unknown":s),y(s,C,x,o(),H,X)}function g(s){v(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===G&&(s._payload.status==="fulfilled"?v(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function v(s){return typeof s=="object"&&s!==null&&s.$$typeof===k}var p=D,k=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),E=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),ut=Symbol.for("react.activity"),dt=Symbol.for("react.client.reference"),be=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,we=Object.prototype.hasOwnProperty,ft=Array.isArray,Se=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(s){return s()}};var Ve,he={},ke=p.react_stack_bottom_frame.bind(p,a)(),L=Se(n(a)),Z={};ge.Fragment=I,ge.jsx=function(s,u,x){var T=1e4>be.recentlyCreatedOwnerStacks++;return m(s,u,x,!1,T?Error("react-stack-top-frame"):ke,T?Se(n(s)):L)},ge.jsxs=function(s,u,x){var T=1e4>be.recentlyCreatedOwnerStacks++;return m(s,u,x,!0,T?Error("react-stack-top-frame"):ke,T?Se(n(s)):L)}})()),ge}var mt;function dr(){return mt||(mt=1,process.env.NODE_ENV==="production"?xe.exports=lr():xe.exports=ur()),xe.exports}var Q=dr(),Ge={exports:{}};var gt;function fr(){return gt||(gt=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(a=o(a,n(c)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var c in a)t.call(a,c)&&a[c]&&(i=o(i,c));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Ge)),Ge.exports}var pr=fr();const hr=cr(pr),yt=(e,t)=>hr(mr(e),t),mr=e=>{if(typeof e=="string")return`kilya-${e}`;if(Array.isArray(e))return e.map(r=>`kilya-${r}`).join(" ");const t={};return Object.keys(e).forEach(r=>{t[`kilya-${r}`]=e[r]}),t},gr=({children:e,disabled:t=!1,type:r="button",button:n="default",className:o="",...a})=>Q.jsx("button",{type:r,className:yt(`button-${n}`,o),disabled:t,...a,children:e});var M=function(){return M=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},M.apply(this,arguments)};function ae(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function yr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var vr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,br=yr(function(e){return vr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),_="-ms-",ye="-moz-",b="-webkit-",vt="comm",_e="rule",qe="decl",wr="@import",bt="@keyframes",Sr="@layer",wt=Math.abs,Ue=String.fromCharCode,He=Object.assign;function kr(e,t){return N(e,0)^45?(((t<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}function St(e){return e.trim()}function U(e,t){return(e=t.exec(e))?e[0]:e}function f(e,t,r){return e.replace(t,r)}function Re(e,t,r){return e.indexOf(t,r)}function N(e,t){return e.charCodeAt(t)|0}function se(e,t,r){return e.slice(t,r)}function V(e){return e.length}function kt(e){return e.length}function ve(e,t){return t.push(e),e}function Er(e,t){return e.map(t).join("")}function Et(e,t){return e.filter(function(r){return!U(r,t)})}var Pe=1,ie=1,xt=0,F=0,$=0,ce="";function Ce(e,t,r,n,o,a,i,c){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Pe,column:ie,length:i,return:"",siblings:c}}function J(e,t){return He(Ce("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function le(e){for(;e.root;)e=J(e.root,{children:[e]});ve(e,e.siblings)}function xr(){return $}function _r(){return $=F>0?N(ce,--F):0,ie--,$===10&&(ie=1,Pe--),$}function W(){return $=F<xt?N(ce,F++):0,ie++,$===10&&(ie=1,Pe++),$}function ee(){return N(ce,F)}function Ae(){return F}function Te(e,t){return se(ce,e,t)}function Xe(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 Rr(e){return Pe=ie=1,xt=V(ce=e),F=0,[]}function Pr(e){return ce="",e}function Je(e){return St(Te(F-1,Ze(e===91?e+2:e===40?e+1:e)))}function Cr(e){for(;($=ee())&&$<33;)W();return Xe(e)>2||Xe($)>3?"":" "}function Ar(e,t){for(;--t&&W()&&!($<48||$>102||$>57&&$<65||$>70&&$<97););return Te(e,Ae()+(t<6&&ee()==32&&W()==32))}function Ze(e){for(;W();)switch($){case e:return F;case 34:case 39:e!==34&&e!==39&&Ze($);break;case 40:e===41&&Ze(e);break;case 92:W();break}return F}function Tr(e,t){for(;W()&&e+$!==57;)if(e+$===84&&ee()===47)break;return"/*"+Te(t,F-1)+"*"+Ue(e===47?e:W())}function Or(e){for(;!Xe(ee());)W();return Te(e,F)}function $r(e){return Pr(Oe("",null,null,null,[""],e=Rr(e),0,[0],e))}function Oe(e,t,r,n,o,a,i,c,l){for(var y=0,m=0,g=i,v=0,p=0,k=0,A=1,I=1,O=1,R=0,S="",E=o,P=a,h=n,d=S;I;)switch(k=R,R=W()){case 40:if(k!=108&&N(d,g-1)==58){Re(d+=f(Je(R),"&","&\f"),"&\f",wt(y?c[y-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:d+=Je(R);break;case 9:case 10:case 13:case 32:d+=Cr(k);break;case 92:d+=Ar(Ae()-1,7);continue;case 47:switch(ee()){case 42:case 47:ve(Nr(Tr(W(),Ae()),t,r,l),l);break;default:d+="/"}break;case 123*A:c[y++]=V(d)*O;case 125*A:case 59:case 0:switch(R){case 0:case 125:I=0;case 59+m:O==-1&&(d=f(d,/\f/g,"")),p>0&&V(d)-g&&ve(p>32?Rt(d+";",n,r,g-1,l):Rt(f(d," ","")+";",n,r,g-2,l),l);break;case 59:d+=";";default:if(ve(h=_t(d,t,r,y,m,o,c,S,E=[],P=[],g,a),a),R===123)if(m===0)Oe(d,t,h,h,E,a,g,c,P);else switch(v===99&&N(d,3)===110?100:v){case 100:case 108:case 109:case 115:Oe(e,h,h,n&&ve(_t(e,h,h,0,0,o,c,S,o,E=[],g,P),P),o,P,g,c,n?E:P);break;default:Oe(d,h,h,h,[""],P,0,c,P)}}y=m=p=0,A=O=1,S=d="",g=i;break;case 58:g=1+V(d),p=k;default:if(A<1){if(R==123)--A;else if(R==125&&A++==0&&_r()==125)continue}switch(d+=Ue(R),R*A){case 38:O=m>0?1:(d+="\f",-1);break;case 44:c[y++]=(V(d)-1)*O,O=1;break;case 64:ee()===45&&(d+=Je(W())),v=ee(),m=g=V(S=d+=Or(Ae())),R++;break;case 45:k===45&&V(d)==2&&(A=0)}}return a}function _t(e,t,r,n,o,a,i,c,l,y,m,g){for(var v=o-1,p=o===0?a:[""],k=kt(p),A=0,I=0,O=0;A<n;++A)for(var R=0,S=se(e,v+1,v=wt(I=i[A])),E=e;R<k;++R)(E=St(I>0?p[R]+" "+S:f(S,/&\f/g,p[R])))&&(l[O++]=E);return Ce(e,t,r,o===0?_e:c,l,y,m,g)}function Nr(e,t,r,n){return Ce(e,t,r,vt,Ue(xr()),se(e,2,-2),0,n)}function Rt(e,t,r,n,o){return Ce(e,t,r,qe,se(e,0,n),se(e,n+1,-1),n,o)}function Pt(e,t,r){switch(kr(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 ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return b+e+ye+e+_+e+e;case 5936:switch(N(e,t+11)){case 114:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return b+e+_+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return b+e+_+e+e;case 6165:return b+e+_+"flex-"+e+e;case 5187:return b+e+f(e,/(\w+).+(:[^]+)/,b+"box-$1$2"+_+"flex-$1$2")+e;case 5443:return b+e+_+"flex-item-"+f(e,/flex-|-self/g,"")+(U(e,/flex-|baseline/)?"":_+"grid-row-"+f(e,/flex-|-self/g,""))+e;case 4675:return b+e+_+"flex-line-pack"+f(e,/align-content|flex-|-self/g,"")+e;case 5548:return b+e+_+f(e,"shrink","negative")+e;case 5292:return b+e+_+f(e,"basis","preferred-size")+e;case 6060:return b+"box-"+f(e,"-grow","")+b+e+_+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"+_+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+b+e+e;case 4200:if(!U(e,/flex-|baseline/))return _+"grid-column-align"+se(e,t)+e;break;case 2592:case 3360:return _+f(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,U(n.props,/grid-\w+-end/)})?~Re(e+(r=r[t].value),"span",0)?e:_+f(e,"-start","")+e+_+"grid-row-span:"+(~Re(r,"span",0)?U(r,/\d+/):+U(r,/\d+/)-+U(e,/\d+/))+";":_+f(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return U(n.props,/grid-\w+-start/)})?e:_+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(V(e)-1-t>6)switch(N(e,t+1)){case 109:if(N(e,t+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+b+"$2-$3$1"+ye+(N(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch",0)?Pt(f(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return f(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,i,c,l,y){return _+o+":"+a+y+(i?_+o+"-span:"+(c?l:+l-+a)+y:"")+e});case 4949:if(N(e,t+6)===121)return f(e,":",":"+b)+e;break;case 6444:switch(N(e,N(e,14)===45?18:11)){case 120:return f(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+b+(N(e,14)===45?"inline-":"")+"box$3$1"+b+"$2$3$1"+_+"$2box$3")+e;case 100:return f(e,":",":"+_)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(e,"scroll-","scroll-snap-")+e}return e}function $e(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function jr(e,t,r,n){switch(e.type){case Sr:if(e.children.length)break;case wr:case qe:return e.return=e.return||e.value;case vt:return"";case bt:return e.return=e.value+"{"+$e(e.children,n)+"}";case _e:if(!V(e.value=e.props.join(",")))return""}return V(r=$e(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ir(e){var t=kt(e);return function(r,n,o,a){for(var i="",c=0;c<t;c++)i+=e[c](r,n,o,a)||"";return i}}function Dr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mr(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case qe:e.return=Pt(e.value,e.length,r);return;case bt:return $e([J(e,{value:f(e.value,"@","@"+b)})],n);case _e:if(e.length)return Er(r=e.props,function(o){switch(U(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":le(J(e,{props:[f(o,/:(read-\w+)/,":"+ye+"$1")]})),le(J(e,{props:[o]})),He(e,{props:Et(r,n)});break;case"::placeholder":le(J(e,{props:[f(o,/:(plac\w+)/,":"+b+"input-$1")]})),le(J(e,{props:[f(o,/:(plac\w+)/,":"+ye+"$1")]})),le(J(e,{props:[f(o,/:(plac\w+)/,_+"input-$1")]})),le(J(e,{props:[o]})),He(e,{props:Et(r,n)});break}return""})}}var zr={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},te=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ct="active",At="data-styled-version",Ne="6.1.19",Ke=`/*!sc*/
|
|
7
|
-
`,
|
|
6
|
+
<%s key={someKey} {...props} />`,A,C,M,C),K[C+A]=!0)}if(C=null,E!==void 0&&(t(E),C=""+E),c(u)&&(t(u.key),C=""+u.key),"key"in u){E={};for(var Y in u)Y!=="key"&&(E[Y]=u[Y])}else E=u;return C&&d(E,typeof a=="function"?a.displayName||a.name||"Unknown":a),k(a,C,E,n(),X,J)}function b(a){v(a)?a._store&&(a._store.validated=1):typeof a=="object"&&a!==null&&a.$$typeof===U&&(a._payload.status==="fulfilled"?v(a._payload.value)&&a._payload.value._store&&(a._payload.value._store.validated=1):a._store&&(a._store.validated=1))}function v(a){return typeof a=="object"&&a!==null&&a.$$typeof===$}var m=D,$=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),hr=Symbol.for("react.activity"),mr=Symbol.for("react.client.reference"),ke=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Se=Object.prototype.hasOwnProperty,gr=Array.isArray,$e=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(a){return a()}};var Ue,me={},xe=m.react_stack_bottom_frame.bind(m,i)(),L=$e(o(i)),K={};be.Fragment=j,be.jsx=function(a,u,E){var A=1e4>ke.recentlyCreatedOwnerStacks++;return y(a,u,E,!1,A?Error("react-stack-top-frame"):xe,A?$e(o(a)):L)},be.jsxs=function(a,u,E){var A=1e4>ke.recentlyCreatedOwnerStacks++;return y(a,u,E,!0,A?Error("react-stack-top-frame"):xe,A?$e(o(a)):L)}})()),be}var vr;function yt(){return vr||(vr=1,process.env.NODE_ENV==="production"?Pe.exports=gt():Pe.exports=bt()),Pe.exports}var B=yt(),z=function(){return z=Object.assign||function(r){for(var t,o=1,n=arguments.length;o<n;o++){t=arguments[o];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},z.apply(this,arguments)};function ae(e,r,t){if(t||arguments.length===2)for(var o=0,n=r.length,i;o<n;o++)(i||!(o in r))&&(i||(i=Array.prototype.slice.call(r,0,o)),i[o]=r[o]);return e.concat(i||Array.prototype.slice.call(r))}typeof SuppressedError=="function"&&SuppressedError;function vt(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var wt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,kt=vt(function(e){return wt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),P="-ms-",ye="-moz-",w="-webkit-",wr="comm",_e="rule",He="decl",St="@import",kr="@keyframes",$t="@layer",Sr=Math.abs,Xe=String.fromCharCode,Je=Object.assign;function xt(e,r){return I(e,0)^45?(((r<<2^I(e,0))<<2^I(e,1))<<2^I(e,2))<<2^I(e,3):0}function $r(e){return e.trim()}function H(e,r){return(e=r.exec(e))?e[0]:e}function h(e,r,t){return e.replace(r,t)}function Re(e,r,t){return e.indexOf(r,t)}function I(e,r){return e.charCodeAt(r)|0}function se(e,r,t){return e.slice(r,t)}function V(e){return e.length}function xr(e){return e.length}function ve(e,r){return r.push(e),e}function Et(e,r){return e.map(r).join("")}function Er(e,r){return e.filter(function(t){return!H(t,r)})}var Ce=1,ie=1,Pr=0,F=0,N=0,ce="";function Te(e,r,t,o,n,i,c,d){return{value:e,root:r,parent:t,type:o,props:n,children:i,line:Ce,column:ie,length:c,return:"",siblings:d}}function Z(e,r){return Je(Te("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function le(e){for(;e.root;)e=Z(e.root,{children:[e]});ve(e,e.siblings)}function Pt(){return N}function _t(){return N=F>0?I(ce,--F):0,ie--,N===10&&(ie=1,Ce--),N}function W(){return N=F<Pr?I(ce,F++):0,ie++,N===10&&(ie=1,Ce++),N}function ee(){return I(ce,F)}function Ae(){return F}function Oe(e,r){return se(ce,e,r)}function Ze(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 Rt(e){return Ce=ie=1,Pr=V(ce=e),F=0,[]}function Ct(e){return ce="",e}function Ke(e){return $r(Oe(F-1,Qe(e===91?e+2:e===40?e+1:e)))}function Tt(e){for(;(N=ee())&&N<33;)W();return Ze(e)>2||Ze(N)>3?"":" "}function At(e,r){for(;--r&&W()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return Oe(e,Ae()+(r<6&&ee()==32&&W()==32))}function Qe(e){for(;W();)switch(N){case e:return F;case 34:case 39:e!==34&&e!==39&&Qe(N);break;case 40:e===41&&Qe(e);break;case 92:W();break}return F}function Ot(e,r){for(;W()&&e+N!==57;)if(e+N===84&&ee()===47)break;return"/*"+Oe(r,F-1)+"*"+Xe(e===47?e:W())}function Nt(e){for(;!Ze(ee());)W();return Oe(e,F)}function It(e){return Ct(Ne("",null,null,null,[""],e=Rt(e),0,[0],e))}function Ne(e,r,t,o,n,i,c,d,l){for(var k=0,y=0,b=c,v=0,m=0,$=0,T=1,j=1,O=1,_=0,S="",x=n,R=i,g=o,f=S;j;)switch($=_,_=W()){case 40:if($!=108&&I(f,b-1)==58){Re(f+=h(Ke(_),"&","&\f"),"&\f",Sr(k?d[k-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:f+=Ke(_);break;case 9:case 10:case 13:case 32:f+=Tt($);break;case 92:f+=At(Ae()-1,7);continue;case 47:switch(ee()){case 42:case 47:ve(jt(Ot(W(),Ae()),r,t,l),l);break;default:f+="/"}break;case 123*T:d[k++]=V(f)*O;case 125*T:case 59:case 0:switch(_){case 0:case 125:j=0;case 59+y:O==-1&&(f=h(f,/\f/g,"")),m>0&&V(f)-b&&ve(m>32?Rr(f+";",o,t,b-1,l):Rr(h(f," ","")+";",o,t,b-2,l),l);break;case 59:f+=";";default:if(ve(g=_r(f,r,t,k,y,n,d,S,x=[],R=[],b,i),i),_===123)if(y===0)Ne(f,r,g,g,x,i,b,d,R);else switch(v===99&&I(f,3)===110?100:v){case 100:case 108:case 109:case 115:Ne(e,g,g,o&&ve(_r(e,g,g,0,0,n,d,S,n,x=[],b,R),R),n,R,b,d,o?x:R);break;default:Ne(f,g,g,g,[""],R,0,d,R)}}k=y=m=0,T=O=1,S=f="",b=c;break;case 58:b=1+V(f),m=$;default:if(T<1){if(_==123)--T;else if(_==125&&T++==0&&_t()==125)continue}switch(f+=Xe(_),_*T){case 38:O=y>0?1:(f+="\f",-1);break;case 44:d[k++]=(V(f)-1)*O,O=1;break;case 64:ee()===45&&(f+=Ke(W())),v=ee(),y=b=V(S=f+=Nt(Ae())),_++;break;case 45:$===45&&V(f)==2&&(T=0)}}return i}function _r(e,r,t,o,n,i,c,d,l,k,y,b){for(var v=n-1,m=n===0?i:[""],$=xr(m),T=0,j=0,O=0;T<o;++T)for(var _=0,S=se(e,v+1,v=Sr(j=c[T])),x=e;_<$;++_)(x=$r(j>0?m[_]+" "+S:h(S,/&\f/g,m[_])))&&(l[O++]=x);return Te(e,r,t,n===0?_e:d,l,k,y,b)}function jt(e,r,t,o){return Te(e,r,t,wr,Xe(Pt()),se(e,2,-2),0,o)}function Rr(e,r,t,o,n){return Te(e,r,t,He,se(e,0,o),se(e,o+1,-1),o,n)}function Cr(e,r,t){switch(xt(e,r)){case 5103:return w+"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 w+e+e;case 4789:return ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return w+e+ye+e+P+e+e;case 5936:switch(I(e,r+11)){case 114:return w+e+P+h(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return w+e+P+h(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return w+e+P+h(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return w+e+P+e+e;case 6165:return w+e+P+"flex-"+e+e;case 5187:return w+e+h(e,/(\w+).+(:[^]+)/,w+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return w+e+P+"flex-item-"+h(e,/flex-|-self/g,"")+(H(e,/flex-|baseline/)?"":P+"grid-row-"+h(e,/flex-|-self/g,""))+e;case 4675:return w+e+P+"flex-line-pack"+h(e,/align-content|flex-|-self/g,"")+e;case 5548:return w+e+P+h(e,"shrink","negative")+e;case 5292:return w+e+P+h(e,"basis","preferred-size")+e;case 6060:return w+"box-"+h(e,"-grow","")+w+e+P+h(e,"grow","positive")+e;case 4554:return w+h(e,/([^-])(transform)/g,"$1"+w+"$2")+e;case 6187:return h(h(h(e,/(zoom-|grab)/,w+"$1"),/(image-set)/,w+"$1"),e,"")+e;case 5495:case 3959:return h(e,/(image-set\([^]*)/,w+"$1$`$1");case 4968:return h(h(e,/(.+:)(flex-)?(.*)/,w+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+w+e+e;case 4200:if(!H(e,/flex-|baseline/))return P+"grid-column-align"+se(e,r)+e;break;case 2592:case 3360:return P+h(e,"template-","")+e;case 4384:case 3616:return t&&t.some(function(o,n){return r=n,H(o.props,/grid-\w+-end/)})?~Re(e+(t=t[r].value),"span",0)?e:P+h(e,"-start","")+e+P+"grid-row-span:"+(~Re(t,"span",0)?H(t,/\d+/):+H(t,/\d+/)-+H(e,/\d+/))+";":P+h(e,"-start","")+e;case 4896:case 4128:return t&&t.some(function(o){return H(o.props,/grid-\w+-start/)})?e:P+h(h(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return h(e,/(.+)-inline(.+)/,w+"$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(V(e)-1-r>6)switch(I(e,r+1)){case 109:if(I(e,r+4)!==45)break;case 102:return h(e,/(.+:)(.+)-([^]+)/,"$1"+w+"$2-$3$1"+ye+(I(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Re(e,"stretch",0)?Cr(h(e,"stretch","fill-available"),r,t)+e:e}break;case 5152:case 5920:return h(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,n,i,c,d,l,k){return P+n+":"+i+k+(c?P+n+"-span:"+(d?l:+l-+i)+k:"")+e});case 4949:if(I(e,r+6)===121)return h(e,":",":"+w)+e;break;case 6444:switch(I(e,I(e,14)===45?18:11)){case 120:return h(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+w+(I(e,14)===45?"inline-":"")+"box$3$1"+w+"$2$3$1"+P+"$2box$3")+e;case 100:return h(e,":",":"+P)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return h(e,"scroll-","scroll-snap-")+e}return e}function Ie(e,r){for(var t="",o=0;o<e.length;o++)t+=r(e[o],o,e,r)||"";return t}function Dt(e,r,t,o){switch(e.type){case $t:if(e.children.length)break;case St:case He:return e.return=e.return||e.value;case wr:return"";case kr:return e.return=e.value+"{"+Ie(e.children,o)+"}";case _e:if(!V(e.value=e.props.join(",")))return""}return V(t=Ie(e.children,o))?e.return=e.value+"{"+t+"}":""}function zt(e){var r=xr(e);return function(t,o,n,i){for(var c="",d=0;d<r;d++)c+=e[d](t,o,n,i)||"";return c}}function Mt(e){return function(r){r.root||(r=r.return)&&e(r)}}function Ft(e,r,t,o){if(e.length>-1&&!e.return)switch(e.type){case He:e.return=Cr(e.value,e.length,t);return;case kr:return Ie([Z(e,{value:h(e.value,"@","@"+w)})],o);case _e:if(e.length)return Et(t=e.props,function(n){switch(H(n,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":le(Z(e,{props:[h(n,/:(read-\w+)/,":"+ye+"$1")]})),le(Z(e,{props:[n]})),Je(e,{props:Er(t,o)});break;case"::placeholder":le(Z(e,{props:[h(n,/:(plac\w+)/,":"+w+"input-$1")]})),le(Z(e,{props:[h(n,/:(plac\w+)/,":"+ye+"$1")]})),le(Z(e,{props:[h(n,/:(plac\w+)/,P+"input-$1")]})),le(Z(e,{props:[n]})),Je(e,{props:Er(t,o)});break}return""})}}var Lt={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},re=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Tr="active",Ar="data-styled-version",je="6.1.19",er=`/*!sc*/
|
|
7
|
+
`,De=typeof window<"u"&&typeof document<"u",Bt=!!(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"),Or=/invalid hook call/i,ze=new Set,Wt=function(e,r){if(process.env.NODE_ENV!=="production"){var t=r?' with the id of "'.concat(r,'"'):"",o="The component ".concat(e).concat(t,` has been created dynamically.
|
|
8
8
|
`)+`You may see this warning because you've called styled inside another component.
|
|
9
9
|
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
10
10
|
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
11
|
-
`,
|
|
11
|
+
`,n=console.error;try{var i=!0;console.error=function(c){for(var d=[],l=1;l<arguments.length;l++)d[l-1]=arguments[l];Or.test(c)?(i=!1,ze.delete(o)):n.apply(void 0,ae([c],d,!1))},D.useRef(),i&&!ze.has(o)&&(console.warn(o),ze.add(o))}catch(c){Or.test(c.message)&&ze.delete(o)}finally{console.error=n}}},Me=Object.freeze([]),ue=Object.freeze({});function Yt(e,r,t){return t===void 0&&(t=ue),e.theme!==t.theme&&e.theme||r||t.theme}var rr=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"]),Vt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Gt=/(^-|-$)/g;function Nr(e){return e.replace(Vt,"-").replace(Gt,"")}var Ut=/(a)(d)/gi,Fe=52,Ir=function(e){return String.fromCharCode(e+(e>25?39:97))};function tr(e){var r,t="";for(r=Math.abs(e);r>Fe;r=r/Fe|0)t=Ir(r%Fe)+t;return(Ir(r%Fe)+t).replace(Ut,"$1-$2")}var or,jr=5381,te=function(e,r){for(var t=r.length;t;)e=33*e^r.charCodeAt(--t);return e},Dr=function(e){return te(jr,e)};function qt(e){return tr(Dr(e)>>>0)}function zr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function nr(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Mr=typeof Symbol=="function"&&Symbol.for,Fr=Mr?Symbol.for("react.memo"):60115,Ht=Mr?Symbol.for("react.forward_ref"):60112,Xt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Jt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Lr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zt=((or={})[Ht]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},or[Fr]=Lr,or);function Br(e){return("type"in(r=e)&&r.type.$$typeof)===Fr?Lr:"$$typeof"in e?Zt[e.$$typeof]:Xt;var r}var Kt=Object.defineProperty,Qt=Object.getOwnPropertyNames,Wr=Object.getOwnPropertySymbols,eo=Object.getOwnPropertyDescriptor,ro=Object.getPrototypeOf,Yr=Object.prototype;function Vr(e,r,t){if(typeof r!="string"){if(Yr){var o=ro(r);o&&o!==Yr&&Vr(e,o,t)}var n=Qt(r);Wr&&(n=n.concat(Wr(r)));for(var i=Br(e),c=Br(r),d=0;d<n.length;++d){var l=n[d];if(!(l in Jt||t&&t[l]||c&&l in c||i&&l in i)){var k=eo(r,l);try{Kt(e,l,k)}catch{}}}}return e}function de(e){return typeof e=="function"}function ar(e){return typeof e=="object"&&"styledComponentId"in e}function oe(e,r){return e&&r?"".concat(e," ").concat(r):e||r||""}function Gr(e,r){if(e.length===0)return"";for(var t=e[0],o=1;o<e.length;o++)t+=e[o];return t}function pe(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function sr(e,r,t){if(t===void 0&&(t=!1),!t&&!pe(e)&&!Array.isArray(e))return r;if(Array.isArray(r))for(var o=0;o<r.length;o++)e[o]=sr(e[o],r[o]);else if(pe(r))for(var o in r)e[o]=sr(e[o],r[o]);return e}function ir(e,r){Object.defineProperty(e,"toString",{value:r})}var to=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
12
12
|
|
|
13
13
|
`,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.
|
|
14
14
|
|
|
@@ -49,7 +49,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
49
49
|
|
|
50
50
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
51
51
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
52
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,a=e.length;o<a;o+=1)n.push(e[o]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function pe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];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(tn.apply(void 0,ae([en[e]],t,!1)).trim())}var rn=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw pe(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=o;i<a;i++)this.groupSizes[i]=0}for(var c=this.indexOfGroup(t+1),l=(i=0,r.length);i<l;i++)this.tag.insertRule(c,r[i])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var a=n;a<o;a++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,i=o;i<a;i++)r+="".concat(this.tag.getRule(i)).concat(Ke);return r},e})(),nn=1<<30,ze=new Map,Fe=new Map,Le=1,We=function(e){if(ze.has(e))return ze.get(e);for(;Fe.has(Le);)Le++;var t=Le++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>nn))throw pe(16,"".concat(t));return ze.set(e,t),Fe.set(t,e),t},on=function(e,t){Le=t+1,ze.set(e,t),Fe.set(t,e)},an="style[".concat(te,"][").concat(At,'="').concat(Ne,'"]'),sn=new RegExp("^".concat(te,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),cn=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},ln=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Ke),o=[],a=0,i=n.length;a<i;a++){var c=n[a].trim();if(c){var l=c.match(sn);if(l){var y=0|parseInt(l[1],10),m=l[2];y!==0&&(on(m,y),cn(e,m,l[3]),e.getTag().insertRules(y,o)),o.length=0}else o.push(c)}}},Bt=function(e){for(var t=document.querySelectorAll(an),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(te)!==Ct&&(ln(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function un(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Gt=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=(function(c){var l=Array.from(c.querySelectorAll("style[".concat(te,"]")));return l[l.length-1]})(r),a=o!==void 0?o.nextSibling:null;n.setAttribute(te,Ct),n.setAttribute(At,Ne);var i=un();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},dn=(function(){function e(t){this.element=Gt(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,a=n.length;o<a;o++){var i=n[o];if(i.ownerNode===r)return i}throw pe(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e})(),fn=(function(){function e(t){this.element=Gt(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,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})(),pn=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),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})(),qt=je,hn={isServer:!je,useCSSOMInjection:!Fr},Ut=(function(){function e(t,r,n){t===void 0&&(t=ue),r===void 0&&(r={});var o=this;this.options=M(M({},hn),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&je&&qt&&(qt=!1,Bt(this)),at(this,function(){return(function(a){for(var i=a.getTag(),c=i.length,l="",y=function(g){var v=(function(O){return Fe.get(O)})(g);if(v===void 0)return"continue";var p=a.names.get(v),k=i.getGroup(g);if(p===void 0||!p.size||k.length===0)return"continue";var A="".concat(te,".g").concat(g,'[id="').concat(v,'"]'),I="";p!==void 0&&p.forEach(function(O){O.length>0&&(I+="".concat(O,","))}),l+="".concat(k).concat(A,'{content:"').concat(I,'"}').concat(Ke)},m=0;m<c;m++)y(m);return l})(o)})}return e.registerId=function(t){return We(t)},e.prototype.rehydrate=function(){!this.server&&je&&Bt(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(M(M({},this.options),t),this.gs,r&&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(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new pn(o):n?new dn(o):new fn(o)})(this.options),new rn(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(We(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(We(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(We(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),mn=/&/g,gn=/^\s*\/\/.*$/gm;function Ht(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ht(r.children,t)),r})}function yn(e){var t,r,n,o=ue,a=o.options,i=a===void 0?ue:a,c=o.plugins,l=c===void 0?De:c,y=function(v,p,k){return k.startsWith(r)&&k.endsWith(r)&&k.replaceAll(r,"").length>0?".".concat(t):v},m=l.slice();m.push(function(v){v.type===_e&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(mn,r).replace(n,y))}),i.prefix&&m.push(Mr),m.push(jr);var g=function(v,p,k,A){p===void 0&&(p=""),k===void 0&&(k=""),A===void 0&&(A="&"),t=A,r=p,n=new RegExp("\\".concat(r,"\\b"),"g");var I=v.replace(gn,""),O=$r(k||p?"".concat(k," ").concat(p," { ").concat(I," }"):I);i.namespace&&(O=Ht(O,i.namespace));var R=[];return $e(O,Ir(m.concat(Dr(function(S){return R.push(S)})))),R};return g.hash=l.length?l.reduce(function(v,p){return p.name||pe(15),re(v,p.name)},Nt).toString():"",g}var vn=new Ut,st=yn(),Xt=D.createContext({shouldForwardProp:void 0,styleSheet:vn,stylis:st});Xt.Consumer,D.createContext(void 0);function Jt(){return D.useContext(Xt)}var Zt=(function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=st);var i=n.name+a.hash;o.hasNameForId(n.id,i)||o.insertRules(n.id,i,a(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,at(this,function(){throw pe(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=st),this.name+t.hash},e})(),bn=function(e){return e>="A"&&e<="Z"};function Kt(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;bn(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Qt=function(e){return e==null||e===!1||e===""},er=function(e){var t,r,n=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Qt(a)&&(Array.isArray(a)&&a.isCss||de(a)?n.push("".concat(Kt(o),":"),a,";"):fe(a)?n.push.apply(n,ae(ae(["".concat(o," {")],er(a),!1),["}"],!1)):n.push("".concat(Kt(o),": ").concat((t=o,(r=a)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in zr||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function oe(e,t,r,n){if(Qt(e))return[];if(nt(e))return[".".concat(e.styledComponentId)];if(de(e)){if(!de(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Zt||fe(o)||o===null||console.error("".concat(It(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.")),oe(o,t,r,n)}var a;return e instanceof Zt?r?(e.inject(r,n),[e.getName(n)]):[e]:fe(e)?er(e):Array.isArray(e)?Array.prototype.concat.apply(De,e.map(function(i){return oe(i,t,r,n)})):[e.toString()]}function wn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(de(r)&&!nt(r))return!1}return!0}var Sn=jt(Ne),kn=(function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&wn(t),this.componentId=r,this.baseHash=re(Sn,r),this.baseStyle=n,Ut.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ne(o,this.staticRulesId);else{var a=Vt(oe(this.rules,t,r,n)),i=et(re(this.baseHash,a)>>>0);if(!r.hasNameForId(this.componentId,i)){var c=n(a,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,c)}o=ne(o,i),this.staticRulesId=i}else{for(var l=re(this.baseHash,n.hash),y="",m=0;m<this.rules.length;m++){var g=this.rules[m];if(typeof g=="string")y+=g,process.env.NODE_ENV!=="production"&&(l=re(l,g));else if(g){var v=Vt(oe(g,t,r,n));l=re(l,v+m),y+=v}}if(y){var p=et(l>>>0);r.hasNameForId(this.componentId,p)||r.insertRules(this.componentId,p,n(y,".".concat(p),void 0,this.componentId)),o=ne(o,p)}}return o},e})(),tr=D.createContext(void 0);tr.Consumer;var it={},rr=new Set;function En(e,t,r){var n=nt(e),o=e,a=!rt(e),i=t.attrs,c=i===void 0?De:i,l=t.componentId,y=l===void 0?(function(E,P){var h=typeof E!="string"?"sc":Ot(E);it[h]=(it[h]||0)+1;var d="".concat(h,"-").concat(Gr(Ne+h+it[h]));return P?"".concat(P,"-").concat(d):d})(t.displayName,t.parentComponentId):l,m=t.displayName,g=m===void 0?(function(E){return rt(E)?"styled.".concat(E):"Styled(".concat(It(E),")")})(e):m,v=t.displayName&&t.componentId?"".concat(Ot(t.displayName),"-").concat(t.componentId):t.componentId||y,p=n&&o.attrs?o.attrs.concat(c).filter(Boolean):c,k=t.shouldForwardProp;if(n&&o.shouldForwardProp){var A=o.shouldForwardProp;if(t.shouldForwardProp){var I=t.shouldForwardProp;k=function(E,P){return A(E,P)&&I(E,P)}}else k=A}var O=new kn(r,v,n?o.componentStyle:void 0);function R(E,P){return(function(h,d,B){var G=h.attrs,ut=h.componentStyle,dt=h.defaultProps,be=h.foldedComponentIds,we=h.styledComponentId,ft=h.target,Se=D.useContext(tr),Ve=Jt(),he=h.shouldForwardProp||Ve.shouldForwardProp;process.env.NODE_ENV!=="production"&&D.useDebugValue(we);var ke=Wr(d,Se,dt)||ue,L=(function(H,X,C){for(var z,Y=M(M({},X),{className:void 0,theme:C}),Ee=0;Ee<H.length;Ee+=1){var Be=de(z=H[Ee])?z(Y):z;for(var K in Be)Y[K]=K==="className"?ne(Y[K],Be[K]):K==="style"?M(M({},Y[K]),Be[K]):Be[K]}return X.className&&(Y.className=ne(Y.className,X.className)),Y})(G,d,ke),Z=L.as||ft,s={};for(var u in L)L[u]===void 0||u[0]==="$"||u==="as"||u==="theme"&&L.theme===ke||(u==="forwardedAs"?s.as=L.forwardedAs:he&&!he(u,Z)||(s[u]=L[u],he||process.env.NODE_ENV!=="development"||br(u)||rr.has(u)||!Qe.has(Z)||(rr.add(u),console.warn('styled-components: it looks like an unknown prop "'.concat(u,'" 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 x=(function(H,X){var C=Jt(),z=H.generateAndInjectStyles(X,C.styleSheet,C.stylis);return process.env.NODE_ENV!=="production"&&D.useDebugValue(z),z})(ut,L);process.env.NODE_ENV!=="production"&&h.warnTooManyClasses&&h.warnTooManyClasses(x);var T=ne(be,we);return x&&(T+=" "+x),L.className&&(T+=" "+L.className),s[rt(Z)&&!Qe.has(Z)?"class":"className"]=T,B&&(s.ref=B),D.createElement(Z,s)})(S,E,P)}R.displayName=g;var S=D.forwardRef(R);return S.attrs=p,S.componentStyle=O,S.displayName=g,S.shouldForwardProp=k,S.foldedComponentIds=n?ne(o.foldedComponentIds,o.styledComponentId):"",S.styledComponentId=v,S.target=n?o.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(E){this._foldedDefaultProps=n?(function(P){for(var h=[],d=1;d<arguments.length;d++)h[d-1]=arguments[d];for(var B=0,G=h;B<G.length;B++)ot(P,G[B],!0);return P})({},o.defaultProps,E):E}}),process.env.NODE_ENV!=="production"&&(Lr(g,v),S.warnTooManyClasses=(function(E,P){var h={},d=!1;return function(B){if(!d&&(h[B]=!0,Object.keys(h).length>=200)){var G=P?' with the id of "'.concat(P,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(E).concat(G,`.
|
|
52
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function oo(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t=e[0],o=[],n=1,i=e.length;n<i;n+=1)o.push(e[n]);return o.forEach(function(c){t=t.replace(/%[a-z]/,c)}),t}function fe(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];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(r.length>0?" Args: ".concat(r.join(", ")):"")):new Error(oo.apply(void 0,ae([to[e]],r,!1)).trim())}var no=(function(){function e(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}return e.prototype.indexOfGroup=function(r){for(var t=0,o=0;o<r;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(r,t){if(r>=this.groupSizes.length){for(var o=this.groupSizes,n=o.length,i=n;r>=i;)if((i<<=1)<0)throw fe(16,"".concat(r));this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var c=n;c<i;c++)this.groupSizes[c]=0}for(var d=this.indexOfGroup(r+1),l=(c=0,t.length);c<l;c++)this.tag.insertRule(d,t[c])&&(this.groupSizes[r]++,d++)},e.prototype.clearGroup=function(r){if(r<this.length){var t=this.groupSizes[r],o=this.indexOfGroup(r),n=o+t;this.groupSizes[r]=0;for(var i=o;i<n;i++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(r){var t="";if(r>=this.length||this.groupSizes[r]===0)return t;for(var o=this.groupSizes[r],n=this.indexOfGroup(r),i=n+o,c=n;c<i;c++)t+="".concat(this.tag.getRule(c)).concat(er);return t},e})(),ao=1<<30,Le=new Map,Be=new Map,We=1,Ye=function(e){if(Le.has(e))return Le.get(e);for(;Be.has(We);)We++;var r=We++;if(process.env.NODE_ENV!=="production"&&((0|r)<0||r>ao))throw fe(16,"".concat(r));return Le.set(e,r),Be.set(r,e),r},so=function(e,r){We=r+1,Le.set(e,r),Be.set(r,e)},io="style[".concat(re,"][").concat(Ar,'="').concat(je,'"]'),co=new RegExp("^".concat(re,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lo=function(e,r,t){for(var o,n=t.split(","),i=0,c=n.length;i<c;i++)(o=n[i])&&e.registerName(r,o)},uo=function(e,r){for(var t,o=((t=r.textContent)!==null&&t!==void 0?t:"").split(er),n=[],i=0,c=o.length;i<c;i++){var d=o[i].trim();if(d){var l=d.match(co);if(l){var k=0|parseInt(l[1],10),y=l[2];k!==0&&(so(y,k),lo(e,y,l[3]),e.getTag().insertRules(k,n)),n.length=0}else n.push(d)}}},Ur=function(e){for(var r=document.querySelectorAll(io),t=0,o=r.length;t<o;t++){var n=r[t];n&&n.getAttribute(re)!==Tr&&(uo(e,n),n.parentNode&&n.parentNode.removeChild(n))}};function po(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var qr=function(e){var r=document.head,t=e||r,o=document.createElement("style"),n=(function(d){var l=Array.from(d.querySelectorAll("style[".concat(re,"]")));return l[l.length-1]})(t),i=n!==void 0?n.nextSibling:null;o.setAttribute(re,Tr),o.setAttribute(Ar,je);var c=po();return c&&o.setAttribute("nonce",c),t.insertBefore(o,i),o},fo=(function(){function e(r){this.element=qr(r),this.element.appendChild(document.createTextNode("")),this.sheet=(function(t){if(t.sheet)return t.sheet;for(var o=document.styleSheets,n=0,i=o.length;n<i;n++){var c=o[n];if(c.ownerNode===t)return c}throw fe(17)})(this.element),this.length=0}return e.prototype.insertRule=function(r,t){try{return this.sheet.insertRule(t,r),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},e.prototype.getRule=function(r){var t=this.sheet.cssRules[r];return t&&t.cssText?t.cssText:""},e})(),ho=(function(){function e(r){this.element=qr(r),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(r,t){if(r<=this.length&&r>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[r]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},e.prototype.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},e})(),mo=(function(){function e(r){this.rules=[],this.length=0}return e.prototype.insertRule=function(r,t){return r<=this.length&&(this.rules.splice(r,0,t),this.length++,!0)},e.prototype.deleteRule=function(r){this.rules.splice(r,1),this.length--},e.prototype.getRule=function(r){return r<this.length?this.rules[r]:""},e})(),Hr=De,go={isServer:!De,useCSSOMInjection:!Bt},Xr=(function(){function e(r,t,o){r===void 0&&(r=ue),t===void 0&&(t={});var n=this;this.options=z(z({},go),r),this.gs=t,this.names=new Map(o),this.server=!!r.isServer,!this.server&&De&&Hr&&(Hr=!1,Ur(this)),ir(this,function(){return(function(i){for(var c=i.getTag(),d=c.length,l="",k=function(b){var v=(function(O){return Be.get(O)})(b);if(v===void 0)return"continue";var m=i.names.get(v),$=c.getGroup(b);if(m===void 0||!m.size||$.length===0)return"continue";var T="".concat(re,".g").concat(b,'[id="').concat(v,'"]'),j="";m!==void 0&&m.forEach(function(O){O.length>0&&(j+="".concat(O,","))}),l+="".concat($).concat(T,'{content:"').concat(j,'"}').concat(er)},y=0;y<d;y++)k(y);return l})(n)})}return e.registerId=function(r){return Ye(r)},e.prototype.rehydrate=function(){!this.server&&De&&Ur(this)},e.prototype.reconstructWithOptions=function(r,t){return t===void 0&&(t=!0),new e(z(z({},this.options),r),this.gs,t&&this.names||void 0)},e.prototype.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(r=(function(t){var o=t.useCSSOMInjection,n=t.target;return t.isServer?new mo(n):o?new fo(n):new ho(n)})(this.options),new no(r)));var r},e.prototype.hasNameForId=function(r,t){return this.names.has(r)&&this.names.get(r).has(t)},e.prototype.registerName=function(r,t){if(Ye(r),this.names.has(r))this.names.get(r).add(t);else{var o=new Set;o.add(t),this.names.set(r,o)}},e.prototype.insertRules=function(r,t,o){this.registerName(r,t),this.getTag().insertRules(Ye(r),o)},e.prototype.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},e.prototype.clearRules=function(r){this.getTag().clearGroup(Ye(r)),this.clearNames(r)},e.prototype.clearTag=function(){this.tag=void 0},e})(),bo=/&/g,yo=/^\s*\/\/.*$/gm;function Jr(e,r){return e.map(function(t){return t.type==="rule"&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map(function(o){return"".concat(r," ").concat(o)})),Array.isArray(t.children)&&t.type!=="@keyframes"&&(t.children=Jr(t.children,r)),t})}function vo(e){var r,t,o,n=ue,i=n.options,c=i===void 0?ue:i,d=n.plugins,l=d===void 0?Me:d,k=function(v,m,$){return $.startsWith(t)&&$.endsWith(t)&&$.replaceAll(t,"").length>0?".".concat(r):v},y=l.slice();y.push(function(v){v.type===_e&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(bo,t).replace(o,k))}),c.prefix&&y.push(Ft),y.push(Dt);var b=function(v,m,$,T){m===void 0&&(m=""),$===void 0&&($=""),T===void 0&&(T="&"),r=T,t=m,o=new RegExp("\\".concat(t,"\\b"),"g");var j=v.replace(yo,""),O=It($||m?"".concat($," ").concat(m," { ").concat(j," }"):j);c.namespace&&(O=Jr(O,c.namespace));var _=[];return Ie(O,zt(y.concat(Mt(function(S){return _.push(S)})))),_};return b.hash=l.length?l.reduce(function(v,m){return m.name||fe(15),te(v,m.name)},jr).toString():"",b}var wo=new Xr,cr=vo(),Zr=D.createContext({shouldForwardProp:void 0,styleSheet:wo,stylis:cr});Zr.Consumer,D.createContext(void 0);function Kr(){return D.useContext(Zr)}var Qr=(function(){function e(r,t){var o=this;this.inject=function(n,i){i===void 0&&(i=cr);var c=o.name+i.hash;n.hasNameForId(o.id,c)||n.insertRules(o.id,c,i(o.rules,c,"@keyframes"))},this.name=r,this.id="sc-keyframes-".concat(r),this.rules=t,ir(this,function(){throw fe(12,String(o.name))})}return e.prototype.getName=function(r){return r===void 0&&(r=cr),this.name+r.hash},e})(),ko=function(e){return e>="A"&&e<="Z"};function et(e){for(var r="",t=0;t<e.length;t++){var o=e[t];if(t===1&&o==="-"&&e[0]==="-")return e;ko(o)?r+="-"+o.toLowerCase():r+=o}return r.startsWith("ms-")?"-"+r:r}var rt=function(e){return e==null||e===!1||e===""},tt=function(e){var r,t,o=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!rt(i)&&(Array.isArray(i)&&i.isCss||de(i)?o.push("".concat(et(n),":"),i,";"):pe(i)?o.push.apply(o,ae(ae(["".concat(n," {")],tt(i),!1),["}"],!1)):o.push("".concat(et(n),": ").concat((r=n,(t=i)==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||r in Lt||r.startsWith("--")?String(t).trim():"".concat(t,"px")),";")))}return o};function ne(e,r,t,o){if(rt(e))return[];if(ar(e))return[".".concat(e.styledComponentId)];if(de(e)){if(!de(i=e)||i.prototype&&i.prototype.isReactComponent||!r)return[e];var n=e(r);return process.env.NODE_ENV==="production"||typeof n!="object"||Array.isArray(n)||n instanceof Qr||pe(n)||n===null||console.error("".concat(zr(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.")),ne(n,r,t,o)}var i;return e instanceof Qr?t?(e.inject(t,o),[e.getName(o)]):[e]:pe(e)?tt(e):Array.isArray(e)?Array.prototype.concat.apply(Me,e.map(function(c){return ne(c,r,t,o)})):[e.toString()]}function So(e){for(var r=0;r<e.length;r+=1){var t=e[r];if(de(t)&&!ar(t))return!1}return!0}var $o=Dr(je),xo=(function(){function e(r,t,o){this.rules=r,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&So(r),this.componentId=t,this.baseHash=te($o,t),this.baseStyle=o,Xr.registerId(t)}return e.prototype.generateAndInjectStyles=function(r,t,o){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(r,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=oe(n,this.staticRulesId);else{var i=Gr(ne(this.rules,r,t,o)),c=tr(te(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,c)){var d=o(i,".".concat(c),void 0,this.componentId);t.insertRules(this.componentId,c,d)}n=oe(n,c),this.staticRulesId=c}else{for(var l=te(this.baseHash,o.hash),k="",y=0;y<this.rules.length;y++){var b=this.rules[y];if(typeof b=="string")k+=b,process.env.NODE_ENV!=="production"&&(l=te(l,b));else if(b){var v=Gr(ne(b,r,t,o));l=te(l,v+y),k+=v}}if(k){var m=tr(l>>>0);t.hasNameForId(this.componentId,m)||t.insertRules(this.componentId,m,o(k,".".concat(m),void 0,this.componentId)),n=oe(n,m)}}return n},e})(),ot=D.createContext(void 0);ot.Consumer;var lr={},nt=new Set;function Eo(e,r,t){var o=ar(e),n=e,i=!nr(e),c=r.attrs,d=c===void 0?Me:c,l=r.componentId,k=l===void 0?(function(x,R){var g=typeof x!="string"?"sc":Nr(x);lr[g]=(lr[g]||0)+1;var f="".concat(g,"-").concat(qt(je+g+lr[g]));return R?"".concat(R,"-").concat(f):f})(r.displayName,r.parentComponentId):l,y=r.displayName,b=y===void 0?(function(x){return nr(x)?"styled.".concat(x):"Styled(".concat(zr(x),")")})(e):y,v=r.displayName&&r.componentId?"".concat(Nr(r.displayName),"-").concat(r.componentId):r.componentId||k,m=o&&n.attrs?n.attrs.concat(d).filter(Boolean):d,$=r.shouldForwardProp;if(o&&n.shouldForwardProp){var T=n.shouldForwardProp;if(r.shouldForwardProp){var j=r.shouldForwardProp;$=function(x,R){return T(x,R)&&j(x,R)}}else $=T}var O=new xo(t,v,o?n.componentStyle:void 0);function _(x,R){return(function(g,f,G){var U=g.attrs,hr=g.componentStyle,mr=g.defaultProps,ke=g.foldedComponentIds,Se=g.styledComponentId,gr=g.target,$e=D.useContext(ot),Ue=Kr(),me=g.shouldForwardProp||Ue.shouldForwardProp;process.env.NODE_ENV!=="production"&&D.useDebugValue(Se);var xe=Yt(f,$e,mr)||ue,L=(function(X,J,C){for(var M,Y=z(z({},J),{className:void 0,theme:C}),Ee=0;Ee<X.length;Ee+=1){var qe=de(M=X[Ee])?M(Y):M;for(var Q in qe)Y[Q]=Q==="className"?oe(Y[Q],qe[Q]):Q==="style"?z(z({},Y[Q]),qe[Q]):qe[Q]}return J.className&&(Y.className=oe(Y.className,J.className)),Y})(U,f,xe),K=L.as||gr,a={};for(var u in L)L[u]===void 0||u[0]==="$"||u==="as"||u==="theme"&&L.theme===xe||(u==="forwardedAs"?a.as=L.forwardedAs:me&&!me(u,K)||(a[u]=L[u],me||process.env.NODE_ENV!=="development"||kt(u)||nt.has(u)||!rr.has(K)||(nt.add(u),console.warn('styled-components: it looks like an unknown prop "'.concat(u,'" 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 E=(function(X,J){var C=Kr(),M=X.generateAndInjectStyles(J,C.styleSheet,C.stylis);return process.env.NODE_ENV!=="production"&&D.useDebugValue(M),M})(hr,L);process.env.NODE_ENV!=="production"&&g.warnTooManyClasses&&g.warnTooManyClasses(E);var A=oe(ke,Se);return E&&(A+=" "+E),L.className&&(A+=" "+L.className),a[nr(K)&&!rr.has(K)?"class":"className"]=A,G&&(a.ref=G),D.createElement(K,a)})(S,x,R)}_.displayName=b;var S=D.forwardRef(_);return S.attrs=m,S.componentStyle=O,S.displayName=b,S.shouldForwardProp=$,S.foldedComponentIds=o?oe(n.foldedComponentIds,n.styledComponentId):"",S.styledComponentId=v,S.target=o?n.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=o?(function(R){for(var g=[],f=1;f<arguments.length;f++)g[f-1]=arguments[f];for(var G=0,U=g;G<U.length;G++)sr(R,U[G],!0);return R})({},n.defaultProps,x):x}}),process.env.NODE_ENV!=="production"&&(Wt(b,v),S.warnTooManyClasses=(function(x,R){var g={},f=!1;return function(G){if(!f&&(g[G]=!0,Object.keys(g).length>=200)){var U=R?' with the id of "'.concat(R,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(x).concat(U,`.
|
|
53
53
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
54
54
|
Example:
|
|
55
55
|
const Component = styled.div.attrs(props => ({
|
|
@@ -58,11 +58,11 @@ Example:
|
|
|
58
58
|
},
|
|
59
59
|
}))\`width: 100%;\`
|
|
60
60
|
|
|
61
|
-
<Component />`),
|
|
61
|
+
<Component />`),f=!0,g={}}}})(b,v)),ir(S,function(){return".".concat(S.styledComponentId)}),i&&Vr(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function at(e,r){for(var t=[e[0]],o=0,n=r.length;o<n;o+=1)t.push(r[o],e[o+1]);return t}var st=function(e){return Object.assign(e,{isCss:!0})};function p(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];if(de(e)||pe(e))return st(ne(at(Me,ae([e],r,!0))));var o=e;return r.length===0&&o.length===1&&typeof o[0]=="string"?ne(o):st(ne(at(o,r)))}function ur(e,r,t){if(t===void 0&&(t=ue),!r)throw fe(1,r);var o=function(n){for(var i=[],c=1;c<arguments.length;c++)i[c-1]=arguments[c];return e(r,t,p.apply(void 0,ae([n],i,!1)))};return o.attrs=function(n){return ur(e,r,z(z({},t),{attrs:Array.prototype.concat(t.attrs,n).filter(Boolean)}))},o.withConfig=function(n){return ur(e,r,z(z({},t),n))},o}var it=function(e){return ur(Eo,e)},he=it;rr.forEach(function(e){he[e]=it(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
62
62
|
Perhaps you're looking to import 'styled-components/native'?
|
|
63
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
63
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Ve="__sc-".concat(re,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Ve]||(window[Ve]=0),window[Ve]===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.
|
|
64
64
|
|
|
65
|
-
See https://s-c.sh/2BAXzed for more info.`),window[
|
|
65
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Ve]+=1);const Ge=e=>p`
|
|
66
66
|
@media (hover: hover) {
|
|
67
67
|
&:hover:not(:disabled) {
|
|
68
68
|
${e}
|
|
@@ -74,25 +74,25 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
74
74
|
${e}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,Po=(e="1rem")=>p`
|
|
78
78
|
&:not(:last-child) {
|
|
79
79
|
margin-block-end: ${e};
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,_o=(e="1rem")=>p`
|
|
82
82
|
&:not(:first-child) {
|
|
83
83
|
margin-block-start: ${e};
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
86
|
-
${
|
|
87
|
-
${
|
|
88
|
-
`,
|
|
85
|
+
`,Ro=(e="1rem",r)=>p`
|
|
86
|
+
${_o(e)}
|
|
87
|
+
${Po(e)}
|
|
88
|
+
`,ct=(e="1.5rem",r)=>p`
|
|
89
89
|
--ava: ${e};
|
|
90
90
|
max-width: var(--ava);
|
|
91
91
|
min-width: var(--ava);
|
|
92
92
|
width: var(--ava);
|
|
93
93
|
height: ${"var(--ava)"};
|
|
94
94
|
max-height: var(--ava);
|
|
95
|
-
`,
|
|
95
|
+
`,Co=p`
|
|
96
96
|
path,
|
|
97
97
|
rect,
|
|
98
98
|
circle {
|
|
@@ -106,27 +106,27 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
106
106
|
transition: 0.2s stroke;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
`;
|
|
109
|
+
`;p`
|
|
110
110
|
position: absolute;
|
|
111
111
|
top: 50%;
|
|
112
112
|
left: 50%;
|
|
113
113
|
transform: translate(-50%, -50%);
|
|
114
|
-
`,
|
|
114
|
+
`,p`
|
|
115
115
|
list-style: none;
|
|
116
116
|
margin: 0;
|
|
117
117
|
padding-inline-start: 0;
|
|
118
|
-
${
|
|
119
|
-
`;const
|
|
118
|
+
${Ro("0")}
|
|
119
|
+
`;const To=p`
|
|
120
120
|
max-width: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
height: 100%;
|
|
123
123
|
object-fit: contain;
|
|
124
|
-
`;
|
|
124
|
+
`;p`
|
|
125
125
|
max-width: 100%;
|
|
126
126
|
width: 100%;
|
|
127
127
|
height: 100%;
|
|
128
128
|
object-fit: cover;
|
|
129
|
-
`;const
|
|
129
|
+
`;const s={colors:{bgPrimary:"var(--bg-primary, #1677ff)",bgDefault:"var(--bg-default, #d9d9d9)",bgWhite:"var(--bg-white, #fff)",text:"var(--color-text, #000)",white:"var(--color-white, #fff)",link:"var(--color-link, #1677ff)",brDefault:"var(--color-br-default, #d9d9d9)",inputText:"var(--color-input-text, #000)",inputBg:"var(--bg-input-text, #ffffff)",inputBorder:"var(--color-br-input-text, #a8a8a8)",hover:{bgPrimary:"var(--hover-bg-primary, #4096ff)",link:"var(--hover-color-link, #4096ff)"},focused:{bgPrimary:"var(--focused-bg-primary, #4096ff)"},pressed:{bgPrimary:"var(--pressed-bg-primary, #0958d9)",link:"var(--pressed-color-link, #0958d9)"},disabled:{bgPrimary:"var(--disabled-bg-primary, #ddd)",text:"var(--disabled-color-text, #818181)",white:"var(--disabled-color-white, #818181)",brDefault:"var(--disabled-br-default, #ddd)"},button:{colorClose:"var(--button-color-close, #888888)",hoverColorClose:"var(--button-hover-color-close, #ff0000)"}},typography:{fontFamily:"var(--button-font-family, system-ui)",button:{fontFamily:"var(--button-font-family, system-ui)",fontSize:"var(--button-font-size, 0.875rem)",fontWeight:"var(--button-font-weight, 400)"},label:{fontSize:"var(--label-font-size, 1rem)",fontWeight:"var(--label-font-weight, 400)"}},range:{colors:{borderImageSource:{default:"var(--range-border-image-source, #1677ff)",hover:"var(--range-hover-border-image-source, #4096ff)",pressed:"var(--range-pressed-border-image-source, #0958d9)"}},sizes:{thumb:"var(--range-thumb-size, 1.25rem)",track:"var(--range-track-size, 0.125rem)",line:"var(--range-line-size, 0.125rem)"},radius:"var(--range-radius, 1.25rem)"},radius:{button:{brSmall:"var(--br-button-small, 0.25rem)"},checkbox:"var(--br-checkbox, 0.125rem)",input:"var(--br-checkbox, 0.3125rem)"},padding:{button:"var(--button-padding, 0.5rem 1rem)",input:"var(--button-padding, 0.5rem 0.75rem)"},shadow:{checkmark:"var(--shadow-checkmark, 0 0 0 0.25rem rgba(13, 110, 253, 0.25))"}},we=p`
|
|
130
130
|
font-style: normal;
|
|
131
131
|
line-height: 1.5;
|
|
132
132
|
width: fit-content;
|
|
@@ -137,10 +137,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
137
137
|
user-select: none;
|
|
138
138
|
transition: 0.2s color, 0.2s background-color, 0.2s border-color;
|
|
139
139
|
|
|
140
|
-
${
|
|
140
|
+
${Co}
|
|
141
141
|
|
|
142
142
|
svg {
|
|
143
|
-
${
|
|
143
|
+
${To}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
&:focus-visible {
|
|
@@ -148,73 +148,123 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
&:disabled {
|
|
151
|
-
background-color: ${
|
|
152
|
-
color: ${
|
|
153
|
-
border-color: ${
|
|
151
|
+
background-color: ${s.colors.disabled.bgPrimary};
|
|
152
|
+
color: ${s.colors.disabled.white};
|
|
153
|
+
border-color: ${s.colors.disabled.brDefault};
|
|
154
154
|
pointer-events: none;
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
156
|
+
`,lt=p`
|
|
157
|
+
font-family: ${s.typography.button.fontFamily};
|
|
158
|
+
font-size: ${s.typography.button.fontSize};
|
|
159
|
+
font-weight: ${s.typography.button.fontWeight};
|
|
160
160
|
text-align: center;
|
|
161
161
|
display: flex;
|
|
162
162
|
align-items: center;
|
|
163
163
|
justify-content: center;
|
|
164
164
|
gap: 0.625rem;
|
|
165
|
-
`,
|
|
166
|
-
${Tn}
|
|
165
|
+
`,dr=p`
|
|
167
166
|
${lt}
|
|
168
|
-
|
|
169
|
-
color: var(--color, ${
|
|
170
|
-
|
|
171
|
-
border-
|
|
167
|
+
${we}
|
|
168
|
+
background-color: var(--background-color, ${s.colors.bgPrimary});
|
|
169
|
+
color: var(--color, ${s.colors.white});
|
|
170
|
+
border-color: var(--border-color, ${s.colors.bgPrimary});
|
|
171
|
+
border-radius: var(--border-radius, ${s.radius.button.brSmall});
|
|
172
172
|
padding: 0.5rem 1rem;
|
|
173
173
|
|
|
174
|
-
${
|
|
174
|
+
${Ge(p`
|
|
175
175
|
background-color: var(
|
|
176
176
|
--hover-background-color,
|
|
177
|
-
${
|
|
177
|
+
${s.colors.hover.bgPrimary}
|
|
178
178
|
);
|
|
179
|
-
color: var(--hover-color, ${
|
|
180
|
-
border-color: var(--hover-border-color, ${
|
|
179
|
+
color: var(--hover-color, ${s.colors.white});
|
|
180
|
+
border-color: var(--hover-border-color, ${s.colors.hover.bgPrimary});
|
|
181
181
|
`)}
|
|
182
182
|
|
|
183
183
|
&:active:not(:disabled) {
|
|
184
184
|
background-color: var(
|
|
185
185
|
--pressed-background-color,
|
|
186
|
-
${
|
|
186
|
+
${s.colors.pressed.bgPrimary}
|
|
187
187
|
);
|
|
188
|
-
color: var(--pressed-color, ${
|
|
188
|
+
color: var(--pressed-color, ${s.colors.white});
|
|
189
189
|
border-color: var(
|
|
190
190
|
--pressed-border-color,
|
|
191
|
-
${
|
|
191
|
+
${s.colors.pressed.bgPrimary}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
`,pr=p`
|
|
195
|
+
${we}
|
|
196
|
+
${dr}
|
|
197
|
+
--background-color: ${s.colors.bgPrimary};
|
|
198
|
+
--color: ${s.colors.white};
|
|
199
|
+
--border-color: ${s.colors.bgPrimary};
|
|
200
|
+
--border-radius: ${s.radius.button.brSmall};
|
|
201
|
+
--hover-background-color: ${s.colors.hover.bgPrimary};
|
|
202
|
+
--hover-color: ${s.colors.white};
|
|
203
|
+
--hover-border-color: ${s.colors.hover.bgPrimary};
|
|
204
|
+
--pressed-background-color: ${s.colors.pressed.bgPrimary};
|
|
205
|
+
--pressed-color: ${s.colors.white};
|
|
206
|
+
--pressed-border-color: ${s.colors.pressed.bgPrimary};
|
|
207
|
+
`,Ao=he.button`
|
|
208
|
+
${we}
|
|
195
209
|
${lt}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
--
|
|
203
|
-
--
|
|
204
|
-
--
|
|
205
|
-
--
|
|
206
|
-
--
|
|
207
|
-
|
|
208
|
-
${
|
|
209
|
-
${
|
|
210
|
+
|
|
211
|
+
// Общие стили для всех кнопок
|
|
212
|
+
border-radius: ${s.radius.button.brSmall};
|
|
213
|
+
padding: ${s.padding.button};
|
|
214
|
+
`,Oo=p`
|
|
215
|
+
${dr}
|
|
216
|
+
--background-color: transparent;
|
|
217
|
+
--color: ${s.colors.text};
|
|
218
|
+
--border-color: ${s.colors.bgPrimary};
|
|
219
|
+
--border-radius: ${s.radius.button.brSmall};
|
|
220
|
+
--hover-background-color: ${s.colors.hover.bgPrimary};
|
|
221
|
+
--hover-color: ${s.colors.white};
|
|
222
|
+
--hover-border-color: ${s.colors.hover.bgPrimary};
|
|
223
|
+
--pressed-background-color: ${s.colors.pressed.bgPrimary};
|
|
224
|
+
--pressed-color: ${s.colors.white};
|
|
225
|
+
--pressed-border-color: ${s.colors.pressed.bgPrimary};
|
|
226
|
+
`,No=p`
|
|
227
|
+
${pr}
|
|
228
|
+
`,Io=p`
|
|
229
|
+
color: var(--color, ${s.colors.link});
|
|
230
|
+
border: none;
|
|
231
|
+
border-radius: 0;
|
|
232
|
+
padding: 0;
|
|
233
|
+
|
|
234
|
+
${Ge(p`
|
|
235
|
+
color: var(--hover-color, ${s.colors.hover.link});
|
|
236
|
+
`)}
|
|
237
|
+
|
|
238
|
+
&:active:not(:disabled) {
|
|
239
|
+
color: var(--pressed-color, ${s.colors.pressed.link});
|
|
240
|
+
}
|
|
241
|
+
`,jo=p`
|
|
242
|
+
${we}
|
|
243
|
+
`,Do=p`
|
|
244
|
+
${dr}
|
|
245
|
+
--background-color: ${s.colors.bgWhite};
|
|
246
|
+
--color: ${s.colors.text};
|
|
247
|
+
--border-color: ${s.colors.bgWhite};
|
|
248
|
+
--border-radius: ${s.radius.button.brSmall};
|
|
249
|
+
--hover-background-color: ${s.colors.hover.bgPrimary};
|
|
250
|
+
--hover-color: ${s.colors.white};
|
|
251
|
+
--hover-border-color: ${s.colors.hover.bgPrimary};
|
|
252
|
+
--pressed-background-color: ${s.colors.pressed.bgPrimary};
|
|
253
|
+
--pressed-color: ${s.colors.white};
|
|
254
|
+
--pressed-border-color: ${s.colors.pressed.bgPrimary};
|
|
255
|
+
`,zo=he(Ao)`
|
|
256
|
+
${({button:e})=>{switch(e){case"border":return Oo;case"link":return Io;case"white":return Do;case"reset":return jo;default:return No}}}
|
|
257
|
+
`,Mo=({children:e,disabled:r=!1,type:t="button",button:o="default",className:n="",...i})=>B.jsx(zo,{type:t,disabled:r,button:o,className:n,"aria-disabled":r,...i,children:e}),Fo=he.button`
|
|
258
|
+
${we}
|
|
259
|
+
${ct("1.875rem")}
|
|
210
260
|
|
|
211
261
|
font-size: 0;
|
|
212
262
|
position: relative;
|
|
213
263
|
border-radius: 0.25rem;
|
|
214
|
-
color: ${e=>e.disabled?
|
|
264
|
+
color: ${e=>e.disabled?s.colors.disabled.text:e.color||s.colors.button.colorClose};
|
|
215
265
|
|
|
216
|
-
${
|
|
217
|
-
color: ${e=>e.disabled?
|
|
266
|
+
${Ge(p`
|
|
267
|
+
color: ${e=>e.disabled?s.colors.disabled.text:e.hoverColor||s.colors.button.hoverColorClose};
|
|
218
268
|
`)}
|
|
219
269
|
|
|
220
270
|
&:before {
|
|
@@ -232,4 +282,279 @@ See https://s-c.sh/2BAXzed for more info.`),window[Ye]+=1);const ir=e=>j`
|
|
|
232
282
|
stroke: currentColor;
|
|
233
283
|
stroke-width: 0.125rem;
|
|
234
284
|
}
|
|
235
|
-
`,
|
|
285
|
+
`,Lo=({disabled:e=!1,className:r="",...t})=>B.jsxs(Fo,{type:"button",className:r,disabled:e,"aria-label":"Close",...t,children:[B.jsx("span",{style:{display:"none"},children:"Close"}),B.jsxs("svg",{viewBox:"0 0 24 25",children:[B.jsx("path",{d:"M6.34314 18.1567L17.6568 6.84303"}),B.jsx("path",{d:"M17.6569 18.1567L6.34315 6.84303"})]})]}),Bo=p`
|
|
286
|
+
-webkit-appearance: none;
|
|
287
|
+
appearance: none;
|
|
288
|
+
${ct("1rem")}
|
|
289
|
+
border: 0.0625rem solid ${s.colors.bgPrimary};
|
|
290
|
+
border-radius: ${s.radius.checkbox};
|
|
291
|
+
background-repeat: no-repeat;
|
|
292
|
+
background-position: center;
|
|
293
|
+
background-size: contain;
|
|
294
|
+
background-color: ${s.colors.bgWhite};
|
|
295
|
+
cursor: pointer;
|
|
296
|
+
transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
|
|
297
|
+
border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
298
|
+
margin: 0;
|
|
299
|
+
cursor: pointer;
|
|
300
|
+
|
|
301
|
+
&[type="radio"] {
|
|
302
|
+
border-radius: var(--ava);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&:checked {
|
|
306
|
+
background-color: ${s.colors.bgPrimary};
|
|
307
|
+
border-color: ${s.colors.bgPrimary};
|
|
308
|
+
|
|
309
|
+
&[type="checkbox"] {
|
|
310
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&[type="radio"] {
|
|
314
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
${Ge(p`
|
|
319
|
+
border-color: ${s.colors.hover.bgPrimary};
|
|
320
|
+
|
|
321
|
+
&:checked {
|
|
322
|
+
background-color: ${s.colors.hover.bgPrimary};
|
|
323
|
+
}
|
|
324
|
+
`)}
|
|
325
|
+
|
|
326
|
+
&:focus-visible {
|
|
327
|
+
outline: none;
|
|
328
|
+
border-color: ${s.colors.hover.bgPrimary};
|
|
329
|
+
box-shadow: ${s.shadow.checkmark};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
&:disabled {
|
|
333
|
+
filter: none;
|
|
334
|
+
opacity: 0.5;
|
|
335
|
+
cursor: not-allowed;
|
|
336
|
+
|
|
337
|
+
~ p {
|
|
338
|
+
opacity: 0.5;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
body & ~ p {
|
|
343
|
+
margin-top: -0.1875em;
|
|
344
|
+
}
|
|
345
|
+
`,fr=p`
|
|
346
|
+
font-family: ${s.typography.fontFamily};
|
|
347
|
+
font-size: ${s.typography.label.fontSize};
|
|
348
|
+
font-weight: ${s.typography.label.fontWeight};
|
|
349
|
+
color: ${s.colors.inputText};
|
|
350
|
+
background-color: ${s.colors.inputBg};
|
|
351
|
+
border: 0.0625rem solid ${s.colors.inputBorder};
|
|
352
|
+
border-radius: ${s.radius.input};
|
|
353
|
+
padding: ${s.padding.input};
|
|
354
|
+
transition: 0.2s border-color, 0.2s background-color, 0.2s color;
|
|
355
|
+
|
|
356
|
+
&:focus-visible {
|
|
357
|
+
outline: none;
|
|
358
|
+
border-color: ${s.colors.bgPrimary};
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
@media (hover: hover) {
|
|
362
|
+
&:hover:not(:focus, :focus-visible, :disabled) {
|
|
363
|
+
border-color: ${s.colors.bgPrimary};
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
@media (hover: none) {
|
|
368
|
+
&:active:not(:focus, :focus-visible, :disabled) {
|
|
369
|
+
border-color: ${s.colors.bgPrimary};
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
`,Wo=p`
|
|
373
|
+
${fr}
|
|
374
|
+
-moz-appearance: textfield;
|
|
375
|
+
appearance: none;
|
|
376
|
+
outline: none;
|
|
377
|
+
min-width: 1.75rem;
|
|
378
|
+
width: fit-content;
|
|
379
|
+
text-align: center;
|
|
380
|
+
|
|
381
|
+
&::-webkit-outer-spin-button,
|
|
382
|
+
&::-webkit-inner-spin-button {
|
|
383
|
+
-webkit-appearance: none;
|
|
384
|
+
margin: 0;
|
|
385
|
+
}
|
|
386
|
+
`,ut=p`
|
|
387
|
+
width: ${s.range.sizes.thumb};
|
|
388
|
+
height: ${s.range.sizes.thumb};
|
|
389
|
+
margin-top: var(--margin-top-thumb);
|
|
390
|
+
border: none;
|
|
391
|
+
border-radius: ${s.range.radius};
|
|
392
|
+
background-color: ${s.colors.bgPrimary};
|
|
393
|
+
cursor: pointer;
|
|
394
|
+
transition: 0.2s;
|
|
395
|
+
`,dt=p`
|
|
396
|
+
box-sizing: border-box;
|
|
397
|
+
background-color: ${s.colors.bgDefault};
|
|
398
|
+
height: ${s.range.sizes.track};
|
|
399
|
+
border: none;
|
|
400
|
+
`,pt=p`
|
|
401
|
+
--border-image-source: ${s.range.colors.borderImageSource.hover};
|
|
402
|
+
`,ft=p`
|
|
403
|
+
--border-image-source: ${s.range.colors.borderImageSource.pressed};
|
|
404
|
+
`,ht=p`
|
|
405
|
+
box-shadow: 0 0 0 1.875rem inset ${s.colors.disabled.brDefault};
|
|
406
|
+
`,mt=p`
|
|
407
|
+
outline: 0.1875rem solid ${s.colors.focused.bgPrimary};
|
|
408
|
+
outline-offset: ${s.range.sizes.track};
|
|
409
|
+
`,Yo=p`
|
|
410
|
+
--border-image-source: ${s.range.colors.borderImageSource.default};
|
|
411
|
+
--margin-top-thumb: calc(
|
|
412
|
+
${s.range.sizes.thumb} / -2 + (${s.range.sizes.track} / 2)
|
|
413
|
+
);
|
|
414
|
+
accent-color: ${s.colors.bgPrimary};
|
|
415
|
+
appearance: none;
|
|
416
|
+
height: ${s.range.sizes.thumb};
|
|
417
|
+
overflow-x: clip;
|
|
418
|
+
background-color: transparent;
|
|
419
|
+
width: 100%;
|
|
420
|
+
cursor: pointer;
|
|
421
|
+
|
|
422
|
+
&::-webkit-slider-runnable-track {
|
|
423
|
+
${dt}
|
|
424
|
+
}
|
|
425
|
+
&::-moz-range-track {
|
|
426
|
+
${dt}
|
|
427
|
+
}
|
|
428
|
+
&::-webkit-slider-thumb {
|
|
429
|
+
-webkit-appearance: none;
|
|
430
|
+
${ut}
|
|
431
|
+
}
|
|
432
|
+
&::-moz-range-thumb {
|
|
433
|
+
-moz-appearance: none;
|
|
434
|
+
${ut}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/* Focus состояния */
|
|
438
|
+
&:focus-visible {
|
|
439
|
+
outline: none;
|
|
440
|
+
|
|
441
|
+
&::-webkit-slider-thumb {
|
|
442
|
+
${mt}
|
|
443
|
+
}
|
|
444
|
+
&::-moz-range-thumb {
|
|
445
|
+
${mt}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Hover состояния */
|
|
450
|
+
&:hover:not(:disabled),
|
|
451
|
+
&:focus-visible:not(:disabled) {
|
|
452
|
+
&::-webkit-slider-thumb {
|
|
453
|
+
${pt}
|
|
454
|
+
}
|
|
455
|
+
&::-moz-range-thumb {
|
|
456
|
+
${pt}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* Active состояния */
|
|
461
|
+
&:active:not(:disabled) {
|
|
462
|
+
&::-webkit-slider-thumb {
|
|
463
|
+
${ft}
|
|
464
|
+
}
|
|
465
|
+
&::-moz-range-thumb {
|
|
466
|
+
${ft}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/* Прогресс для Firefox */
|
|
471
|
+
&::-moz-range-progress {
|
|
472
|
+
background-color: var(--border-image-source);
|
|
473
|
+
height: ${s.range.sizes.track};
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
&::-webkit-slider-thumb {
|
|
477
|
+
background-color: var(--border-image-source);
|
|
478
|
+
border-image-outset: 0 100vw;
|
|
479
|
+
border-image-repeat: stretch;
|
|
480
|
+
border-image-slice: 0 1;
|
|
481
|
+
border-image-source: linear-gradient(
|
|
482
|
+
90deg,
|
|
483
|
+
var(--border-image-source) 50%,
|
|
484
|
+
transparent 0
|
|
485
|
+
);
|
|
486
|
+
border-image-width: calc(50% - ${s.range.sizes.line}) 50%;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* Disabled состояния */
|
|
490
|
+
&:disabled {
|
|
491
|
+
cursor: not-allowed;
|
|
492
|
+
opacity: 0.8;
|
|
493
|
+
|
|
494
|
+
&::-webkit-slider-thumb {
|
|
495
|
+
cursor: not-allowed;
|
|
496
|
+
${ht}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
&::-moz-range-thumb {
|
|
500
|
+
cursor: not-allowed;
|
|
501
|
+
${ht}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
`,Vo=p`
|
|
505
|
+
${pr}
|
|
506
|
+
display: inline-block;
|
|
507
|
+
`,Go=p`
|
|
508
|
+
width: 50px;
|
|
509
|
+
height: 30px;
|
|
510
|
+
padding: 2px;
|
|
511
|
+
border: 1px solid ${s.colors.brDefault};
|
|
512
|
+
border-radius: 4px;
|
|
513
|
+
cursor: pointer;
|
|
514
|
+
`,Uo=p`
|
|
515
|
+
padding: 8px;
|
|
516
|
+
border: 1px dashed ${s.colors.brDefault};
|
|
517
|
+
border-radius: 4px;
|
|
518
|
+
cursor: pointer;
|
|
519
|
+
|
|
520
|
+
&::file-selector-button {
|
|
521
|
+
${pr}
|
|
522
|
+
margin-right: 12px;
|
|
523
|
+
}
|
|
524
|
+
`,qo=p`
|
|
525
|
+
padding: 10px 20px;
|
|
526
|
+
border: none;
|
|
527
|
+
border-radius: 4px;
|
|
528
|
+
cursor: pointer;
|
|
529
|
+
font-weight: bold;
|
|
530
|
+
background-color: ${s.colors.bgPrimary};
|
|
531
|
+
color: ${s.colors.white};
|
|
532
|
+
|
|
533
|
+
&:hover:not(:disabled) {
|
|
534
|
+
background-color: ${s.colors.hover.bgPrimary};
|
|
535
|
+
}
|
|
536
|
+
`,Ho=p`
|
|
537
|
+
display: none;
|
|
538
|
+
`,Xo=p`
|
|
539
|
+
flex-direction: column;
|
|
540
|
+
|
|
541
|
+
p {
|
|
542
|
+
order: -1;
|
|
543
|
+
}
|
|
544
|
+
`,Jo=p``,Zo=e=>{switch(e){case"button":case"submit":case"reset":return Vo;case"checkbox":case"radio":return Bo;case"color":return Go;case"date":case"datetime-local":case"month":case"time":case"week":return fr;case"file":return Uo;case"image":return qo;case"number":return Wo;case"range":return Yo;case"hidden":return Ho;default:return fr}},Ko=e=>{switch(e){case"checkbox":case"radio":return Jo;default:return Xo}},Qo=he.input`
|
|
545
|
+
width: auto;
|
|
546
|
+
max-width: 100%;
|
|
547
|
+
${({type:e})=>Zo(e)}
|
|
548
|
+
`,en=he.label`
|
|
549
|
+
${({$type:e})=>Ko(e)}
|
|
550
|
+
display: flex;
|
|
551
|
+
gap: 0.25rem;
|
|
552
|
+
user-select: none;
|
|
553
|
+
|
|
554
|
+
p {
|
|
555
|
+
font-family: ${s.typography.fontFamily};
|
|
556
|
+
font-size: ${s.typography.label.fontSize};
|
|
557
|
+
font-weight: ${s.typography.label.fontWeight};
|
|
558
|
+
margin: 0;
|
|
559
|
+
}
|
|
560
|
+
`,rn=({id:e,type:r="text",label:t,...o})=>{const n=()=>B.jsx(Qo,{id:e,type:r,...o});return t?B.jsxs(en,{$type:r,children:[B.jsx(n,{}),B.jsx("p",{children:t})]}):B.jsx(n,{})};q.Button=Mo,q.ButtonClose=Lo,q.Input=rn,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})}));
|