rbro-tat-uds 1.0.13
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/components/BreadcrumbItem/BreadcrumbItem.d.ts +11 -0
- package/dist/components/BreadcrumbItem/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +14 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/ConfigurationSaveInfo/ConfigurationSaveInfo.d.ts +9 -0
- package/dist/components/ConfigurationSaveInfo/index.d.ts +1 -0
- package/dist/components/Container/Container.d.ts +14 -0
- package/dist/components/Container/index.d.ts +1 -0
- package/dist/components/Content/Content.d.ts +8 -0
- package/dist/components/Content/index.d.ts +1 -0
- package/dist/components/Flex/Flex.d.ts +31 -0
- package/dist/components/Flex/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +4 -0
- package/dist/components/Icon/Icon.types.d.ts +8 -0
- package/dist/components/Icon/IconsList.d.ts +8 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/LabeledText/LabeledText.d.ts +13 -0
- package/dist/components/LabeledText/index.d.ts +1 -0
- package/dist/components/Layout/Layout.d.ts +8 -0
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/Logo/Logo.d.ts +7 -0
- package/dist/components/Logo/index.d.ts +1 -0
- package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +8 -0
- package/dist/components/ProductPageTitle/index.d.ts +1 -0
- package/dist/components/ProductShortcut/ProductShortcut.d.ts +10 -0
- package/dist/components/ProductShortcut/index.d.ts +1 -0
- package/dist/components/Products/ProductHeader/ProductHeader.d.ts +0 -0
- package/dist/components/SegmentedTabs/SegmentedTabs.d.ts +13 -0
- package/dist/components/SegmentedTabs/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +19 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/SidebarItem/SidebarItem.d.ts +10 -0
- package/dist/components/SidebarItem/index.d.ts +1 -0
- package/dist/components/Tab/Tab.d.ts +11 -0
- package/dist/components/Tab/index.d.ts +1 -0
- package/dist/components/index.d.ts +17 -0
- package/dist/index.cjs.js +719 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +2782 -0
- package/dist/index.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/colors.d.ts +52 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +57 -0
- package/readme.md +1 -0
@@ -0,0 +1,719 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react");function dn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Y=dn(U);var St={exports:{}},Me={};/**
|
2
|
+
* @license React
|
3
|
+
* react-jsx-runtime.production.min.js
|
4
|
+
*
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
+
*
|
7
|
+
* This source code is licensed under the MIT license found in the
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
9
|
+
*/var Jt;function fn(){if(Jt)return Me;Jt=1;var e=U,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(f,u,y){var h,m={},_=null,$=null;y!==void 0&&(_=""+y),u.key!==void 0&&(_=""+u.key),u.ref!==void 0&&($=u.ref);for(h in u)o.call(u,h)&&!s.hasOwnProperty(h)&&(m[h]=u[h]);if(f&&f.defaultProps)for(h in u=f.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:t,type:f,key:_,ref:$,props:m,_owner:i.current}}return Me.Fragment=r,Me.jsx=l,Me.jsxs=l,Me}var Ve={};/**
|
10
|
+
* @license React
|
11
|
+
* react-jsx-runtime.development.js
|
12
|
+
*
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
14
|
+
*
|
15
|
+
* This source code is licensed under the MIT license found in the
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
17
|
+
*/var Qt;function pn(){return Qt||(Qt=1,process.env.NODE_ENV!=="production"&&function(){var e=U,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),f=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),P=Symbol.iterator,A="@@iterator";function B(n){if(n===null||typeof n!="object")return null;var c=P&&n[P]||n[A];return typeof c=="function"?c:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(n){{for(var c=arguments.length,d=new Array(c>1?c-1:0),g=1;g<c;g++)d[g-1]=arguments[g];T("error",n,d)}}function T(n,c,d){{var g=R.ReactDebugCurrentFrame,k=g.getStackAddendum();k!==""&&(c+="%s",d=d.concat([k]));var j=d.map(function(E){return String(E)});j.unshift("Warning: "+c),Function.prototype.apply.call(console[n],console,j)}}var O=!1,D=!1,S=!1,v=!1,ne=!1,oe;oe=Symbol.for("react.module.reference");function pt(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===s||ne||n===i||n===y||n===h||v||n===$||O||D||S||typeof n=="object"&&n!==null&&(n.$$typeof===_||n.$$typeof===m||n.$$typeof===l||n.$$typeof===f||n.$$typeof===u||n.$$typeof===oe||n.getModuleId!==void 0))}function gt(n,c,d){var g=n.displayName;if(g)return g;var k=c.displayName||c.name||"";return k!==""?d+"("+k+")":d}function He(n){return n.displayName||"Context"}function q(n){if(n==null)return null;if(typeof n.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case s:return"Profiler";case i:return"StrictMode";case y:return"Suspense";case h:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case f:var c=n;return He(c)+".Consumer";case l:var d=n;return He(d._context)+".Provider";case u:return gt(n,n.render,"ForwardRef");case m:var g=n.displayName||null;return g!==null?g:q(n.type)||"Memo";case _:{var k=n,j=k._payload,E=k._init;try{return q(E(j))}catch{return null}}}return null}var ie=Object.assign,ge=0,We,_e,Le,Z,le,ue,H;function $e(){}$e.__reactDisabledLog=!0;function Fe(){{if(ge===0){We=console.log,_e=console.info,Le=console.warn,Z=console.error,le=console.group,ue=console.groupCollapsed,H=console.groupEnd;var n={configurable:!0,enumerable:!0,value:$e,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}ge++}}function we(){{if(ge--,ge===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},n,{value:We}),info:ie({},n,{value:_e}),warn:ie({},n,{value:Le}),error:ie({},n,{value:Z}),group:ie({},n,{value:le}),groupCollapsed:ie({},n,{value:ue}),groupEnd:ie({},n,{value:H})})}ge<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=R.ReactCurrentDispatcher,de;function J(n,c,d){{if(de===void 0)try{throw Error()}catch(k){var g=k.stack.trim().match(/\n( *(at )?)/);de=g&&g[1]||""}return`
|
18
|
+
`+de+n}}var Q=!1,fe;{var Se=typeof WeakMap=="function"?WeakMap:Map;fe=new Se}function ee(n,c){if(!n||Q)return"";{var d=fe.get(n);if(d!==void 0)return d}var g;Q=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var j;j=ae.current,ae.current=null,Fe();try{if(c){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(se){g=se}Reflect.construct(n,[],E)}else{try{E.call()}catch(se){g=se}n.call(E.prototype)}}else{try{throw Error()}catch(se){g=se}n()}}catch(se){if(se&&g&&typeof se.stack=="string"){for(var w=se.stack.split(`
|
19
|
+
`),W=g.stack.split(`
|
20
|
+
`),N=w.length-1,M=W.length-1;N>=1&&M>=0&&w[N]!==W[M];)M--;for(;N>=1&&M>=0;N--,M--)if(w[N]!==W[M]){if(N!==1||M!==1)do if(N--,M--,M<0||w[N]!==W[M]){var X=`
|
21
|
+
`+w[N].replace(" at new "," at ");return n.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",n.displayName)),typeof n=="function"&&fe.set(n,X),X}while(N>=1&&M>=0);break}}}finally{Q=!1,ae.current=j,we(),Error.prepareStackTrace=k}var ke=n?n.displayName||n.name:"",Kt=ke?J(ke):"";return typeof n=="function"&&fe.set(n,Kt),Kt}function Br(n,c,d){return ee(n,!1)}function Hr(n){var c=n.prototype;return!!(c&&c.isReactComponent)}function Ye(n,c,d){if(n==null)return"";if(typeof n=="function")return ee(n,Hr(n));if(typeof n=="string")return J(n);switch(n){case y:return J("Suspense");case h:return J("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case u:return Br(n.render);case m:return Ye(n.type,c,d);case _:{var g=n,k=g._payload,j=g._init;try{return Ye(j(k),c,d)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Mt={},Vt=R.ReactDebugCurrentFrame;function Ge(n){if(n){var c=n._owner,d=Ye(n.type,n._source,c?c.type:null);Vt.setExtraStackFrame(d)}else Vt.setExtraStackFrame(null)}function Wr(n,c,d,g,k){{var j=Function.call.bind(Ue);for(var E in n)if(j(n,E)){var w=void 0;try{if(typeof n[E]!="function"){var W=Error((g||"React class")+": "+d+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw W.name="Invariant Violation",W}w=n[E](c,E,g,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){w=N}w&&!(w instanceof Error)&&(Ge(k),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",g||"React class",d,E,typeof w),Ge(null)),w instanceof Error&&!(w.message in Mt)&&(Mt[w.message]=!0,Ge(k),b("Failed %s type: %s",d,w.message),Ge(null))}}}var Yr=Array.isArray;function ht(n){return Yr(n)}function Ur(n){{var c=typeof Symbol=="function"&&Symbol.toStringTag,d=c&&n[Symbol.toStringTag]||n.constructor.name||"Object";return d}}function Gr(n){try{return zt(n),!1}catch{return!0}}function zt(n){return""+n}function Bt(n){if(Gr(n))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ur(n)),zt(n)}var Ne=R.ReactCurrentOwner,qr={key:!0,ref:!0,__self:!0,__source:!0},Ht,Wt,yt;yt={};function Zr(n){if(Ue.call(n,"ref")){var c=Object.getOwnPropertyDescriptor(n,"ref").get;if(c&&c.isReactWarning)return!1}return n.ref!==void 0}function Xr(n){if(Ue.call(n,"key")){var c=Object.getOwnPropertyDescriptor(n,"key").get;if(c&&c.isReactWarning)return!1}return n.key!==void 0}function Kr(n,c){if(typeof n.ref=="string"&&Ne.current&&c&&Ne.current.stateNode!==c){var d=q(Ne.current.type);yt[d]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',q(Ne.current.type),n.ref),yt[d]=!0)}}function Jr(n,c){{var d=function(){Ht||(Ht=!0,b("%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://reactjs.org/link/special-props)",c))};d.isReactWarning=!0,Object.defineProperty(n,"key",{get:d,configurable:!0})}}function Qr(n,c){{var d=function(){Wt||(Wt=!0,b("%s: `ref` 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://reactjs.org/link/special-props)",c))};d.isReactWarning=!0,Object.defineProperty(n,"ref",{get:d,configurable:!0})}}var en=function(n,c,d,g,k,j,E){var w={$$typeof:t,type:n,key:c,ref:d,props:E,_owner:j};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function tn(n,c,d,g,k){{var j,E={},w=null,W=null;d!==void 0&&(Bt(d),w=""+d),Xr(c)&&(Bt(c.key),w=""+c.key),Zr(c)&&(W=c.ref,Kr(c,k));for(j in c)Ue.call(c,j)&&!qr.hasOwnProperty(j)&&(E[j]=c[j]);if(n&&n.defaultProps){var N=n.defaultProps;for(j in N)E[j]===void 0&&(E[j]=N[j])}if(w||W){var M=typeof n=="function"?n.displayName||n.name||"Unknown":n;w&&Jr(E,M),W&&Qr(E,M)}return en(n,w,W,k,g,Ne.current,E)}}var mt=R.ReactCurrentOwner,Yt=R.ReactDebugCurrentFrame;function Ee(n){if(n){var c=n._owner,d=Ye(n.type,n._source,c?c.type:null);Yt.setExtraStackFrame(d)}else Yt.setExtraStackFrame(null)}var vt;vt=!1;function bt(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function Ut(){{if(mt.current){var n=q(mt.current.type);if(n)return`
|
22
|
+
|
23
|
+
Check the render method of \``+n+"`."}return""}}function rn(n){{if(n!==void 0){var c=n.fileName.replace(/^.*[\\\/]/,""),d=n.lineNumber;return`
|
24
|
+
|
25
|
+
Check your code at `+c+":"+d+"."}return""}}var Gt={};function nn(n){{var c=Ut();if(!c){var d=typeof n=="string"?n:n.displayName||n.name;d&&(c=`
|
26
|
+
|
27
|
+
Check the top-level render call using <`+d+">.")}return c}}function qt(n,c){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var d=nn(c);if(Gt[d])return;Gt[d]=!0;var g="";n&&n._owner&&n._owner!==mt.current&&(g=" It was passed a child from "+q(n._owner.type)+"."),Ee(n),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',d,g),Ee(null)}}function Zt(n,c){{if(typeof n!="object")return;if(ht(n))for(var d=0;d<n.length;d++){var g=n[d];bt(g)&&qt(g,c)}else if(bt(n))n._store&&(n._store.validated=!0);else if(n){var k=B(n);if(typeof k=="function"&&k!==n.entries)for(var j=k.call(n),E;!(E=j.next()).done;)bt(E.value)&&qt(E.value,c)}}}function on(n){{var c=n.type;if(c==null||typeof c=="string")return;var d;if(typeof c=="function")d=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===u||c.$$typeof===m))d=c.propTypes;else return;if(d){var g=q(c);Wr(d,n.props,"prop",g,n)}else if(c.PropTypes!==void 0&&!vt){vt=!0;var k=q(c);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function an(n){{for(var c=Object.keys(n.props),d=0;d<c.length;d++){var g=c[d];if(g!=="children"&&g!=="key"){Ee(n),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",g),Ee(null);break}}n.ref!==null&&(Ee(n),b("Invalid attribute `ref` supplied to `React.Fragment`."),Ee(null))}}function Xt(n,c,d,g,k,j){{var E=pt(n);if(!E){var w="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var W=rn(k);W?w+=W:w+=Ut();var N;n===null?N="null":ht(n)?N="array":n!==void 0&&n.$$typeof===t?(N="<"+(q(n.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):N=typeof n,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,w)}var M=tn(n,c,d,k,j);if(M==null)return M;if(E){var X=c.children;if(X!==void 0)if(g)if(ht(X)){for(var ke=0;ke<X.length;ke++)Zt(X[ke],n);Object.freeze&&Object.freeze(X)}else b("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 Zt(X,n)}return n===o?an(M):on(M),M}}function sn(n,c,d){return Xt(n,c,d,!0)}function cn(n,c,d){return Xt(n,c,d,!1)}var ln=cn,un=sn;Ve.Fragment=o,Ve.jsx=ln,Ve.jsxs=un}()),Ve}process.env.NODE_ENV==="production"?St.exports=fn():St.exports=pn();var p=St.exports,G=function(){return G=Object.assign||function(t){for(var r,o=1,i=arguments.length;o<i;o++){r=arguments[o];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},G.apply(this,arguments)};function Re(e,t,r){if(r||arguments.length===2)for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}function gn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var hn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yn=gn(function(e){return hn.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),I="-ms-",Be="-moz-",C="-webkit-",mr="comm",at="rule",At="decl",mn="@import",vr="@keyframes",vn="@layer",br=Math.abs,It=String.fromCharCode,Et=Object.assign;function bn(e,t){return z(e,0)^45?(((t<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3):0}function xr(e){return e.trim()}function ce(e,t){return(e=t.exec(e))?e[0]:e}function x(e,t,r){return e.replace(t,r)}function Je(e,t,r){return e.indexOf(t,r)}function z(e,t){return e.charCodeAt(t)|0}function Te(e,t,r){return e.slice(t,r)}function re(e){return e.length}function _r(e){return e.length}function ze(e,t){return t.push(e),e}function xn(e,t){return e.map(t).join("")}function er(e,t){return e.filter(function(r){return!ce(r,t)})}var st=1,Pe=1,$r=0,K=0,V=0,Ie="";function ct(e,t,r,o,i,s,l,f){return{value:e,root:t,parent:r,type:o,props:i,children:s,line:st,column:Pe,length:l,return:"",siblings:f}}function pe(e,t){return Et(ct("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ce(e){for(;e.root;)e=pe(e.root,{children:[e]});ze(e,e.siblings)}function _n(){return V}function $n(){return V=K>0?z(Ie,--K):0,Pe--,V===10&&(Pe=1,st--),V}function te(){return V=K<$r?z(Ie,K++):0,Pe++,V===10&&(Pe=1,st++),V}function me(){return z(Ie,K)}function Qe(){return K}function lt(e,t){return Te(Ie,e,t)}function kt(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 wn(e){return st=Pe=1,$r=re(Ie=e),K=0,[]}function Sn(e){return Ie="",e}function xt(e){return xr(lt(K-1,Ct(e===91?e+2:e===40?e+1:e)))}function En(e){for(;(V=me())&&V<33;)te();return kt(e)>2||kt(V)>3?"":" "}function kn(e,t){for(;--t&&te()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return lt(e,Qe()+(t<6&&me()==32&&te()==32))}function Ct(e){for(;te();)switch(V){case e:return K;case 34:case 39:e!==34&&e!==39&&Ct(V);break;case 40:e===41&&Ct(e);break;case 92:te();break}return K}function Cn(e,t){for(;te()&&e+V!==57;)if(e+V===84&&me()===47)break;return"/*"+lt(t,K-1)+"*"+It(e===47?e:te())}function Rn(e){for(;!kt(me());)te();return lt(e,K)}function Tn(e){return Sn(et("",null,null,null,[""],e=wn(e),0,[0],e))}function et(e,t,r,o,i,s,l,f,u){for(var y=0,h=0,m=l,_=0,$=0,P=0,A=1,B=1,R=1,b=0,T="",O=i,D=s,S=o,v=T;B;)switch(P=b,b=te()){case 40:if(P!=108&&z(v,m-1)==58){Je(v+=x(xt(b),"&","&\f"),"&\f",br(y?f[y-1]:0))!=-1&&(R=-1);break}case 34:case 39:case 91:v+=xt(b);break;case 9:case 10:case 13:case 32:v+=En(P);break;case 92:v+=kn(Qe()-1,7);continue;case 47:switch(me()){case 42:case 47:ze(Pn(Cn(te(),Qe()),t,r,u),u);break;default:v+="/"}break;case 123*A:f[y++]=re(v)*R;case 125*A:case 59:case 0:switch(b){case 0:case 125:B=0;case 59+h:R==-1&&(v=x(v,/\f/g,"")),$>0&&re(v)-m&&ze($>32?rr(v+";",o,r,m-1,u):rr(x(v," ","")+";",o,r,m-2,u),u);break;case 59:v+=";";default:if(ze(S=tr(v,t,r,y,h,i,f,T,O=[],D=[],m,s),s),b===123)if(h===0)et(v,t,S,S,O,s,m,f,D);else switch(_===99&&z(v,3)===110?100:_){case 100:case 108:case 109:case 115:et(e,S,S,o&&ze(tr(e,S,S,0,0,i,f,T,i,O=[],m,D),D),i,D,m,f,o?O:D);break;default:et(v,S,S,S,[""],D,0,f,D)}}y=h=$=0,A=R=1,T=v="",m=l;break;case 58:m=1+re(v),$=P;default:if(A<1){if(b==123)--A;else if(b==125&&A++==0&&$n()==125)continue}switch(v+=It(b),b*A){case 38:R=h>0?1:(v+="\f",-1);break;case 44:f[y++]=(re(v)-1)*R,R=1;break;case 64:me()===45&&(v+=xt(te())),_=me(),h=m=re(T=v+=Rn(Qe())),b++;break;case 45:P===45&&re(v)==2&&(A=0)}}return s}function tr(e,t,r,o,i,s,l,f,u,y,h,m){for(var _=i-1,$=i===0?s:[""],P=_r($),A=0,B=0,R=0;A<o;++A)for(var b=0,T=Te(e,_+1,_=br(B=l[A])),O=e;b<P;++b)(O=xr(B>0?$[b]+" "+T:x(T,/&\f/g,$[b])))&&(u[R++]=O);return ct(e,t,r,i===0?at:f,u,y,h,m)}function Pn(e,t,r,o){return ct(e,t,r,mr,It(_n()),Te(e,2,-2),0,o)}function rr(e,t,r,o,i){return ct(e,t,r,At,Te(e,0,o),Te(e,o+1,-1),o,i)}function wr(e,t,r){switch(bn(e,t)){case 5103:return C+"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 C+e+e;case 4789:return Be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+Be+e+I+e+e;case 5936:switch(z(e,t+11)){case 114:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return C+e+I+e+e;case 6165:return C+e+I+"flex-"+e+e;case 5187:return C+e+x(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+I+"flex-$1$2")+e;case 5443:return C+e+I+"flex-item-"+x(e,/flex-|-self/g,"")+(ce(e,/flex-|baseline/)?"":I+"grid-row-"+x(e,/flex-|-self/g,""))+e;case 4675:return C+e+I+"flex-line-pack"+x(e,/align-content|flex-|-self/g,"")+e;case 5548:return C+e+I+x(e,"shrink","negative")+e;case 5292:return C+e+I+x(e,"basis","preferred-size")+e;case 6060:return C+"box-"+x(e,"-grow","")+C+e+I+x(e,"grow","positive")+e;case 4554:return C+x(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4200:if(!ce(e,/flex-|baseline/))return I+"grid-column-align"+Te(e,t)+e;break;case 2592:case 3360:return I+x(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,i){return t=i,ce(o.props,/grid-\w+-end/)})?~Je(e+(r=r[t].value),"span",0)?e:I+x(e,"-start","")+e+I+"grid-row-span:"+(~Je(r,"span",0)?ce(r,/\d+/):+ce(r,/\d+/)-+ce(e,/\d+/))+";":I+x(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return ce(o.props,/grid-\w+-start/)})?e:I+x(x(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,C+"$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(re(e)-1-t>6)switch(z(e,t+1)){case 109:if(z(e,t+4)!==45)break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+Be+(z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Je(e,"stretch",0)?wr(x(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,i,s,l,f,u,y){return I+i+":"+s+y+(l?I+i+"-span:"+(f?u:+u-+s)+y:"")+e});case 4949:if(z(e,t+6)===121)return x(e,":",":"+C)+e;break;case 6444:switch(z(e,z(e,14)===45?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+C+(z(e,14)===45?"inline-":"")+"box$3$1"+C+"$2$3$1"+I+"$2box$3")+e;case 100:return x(e,":",":"+I)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ot(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function jn(e,t,r,o){switch(e.type){case vn:if(e.children.length)break;case mn:case At:return e.return=e.return||e.value;case mr:return"";case vr:return e.return=e.value+"{"+ot(e.children,o)+"}";case at:if(!re(e.value=e.props.join(",")))return""}return re(r=ot(e.children,o))?e.return=e.value+"{"+r+"}":""}function On(e){var t=_r(e);return function(r,o,i,s){for(var l="",f=0;f<t;f++)l+=e[f](r,o,i,s)||"";return l}}function An(e){return function(t){t.root||(t=t.return)&&e(t)}}function In(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case At:e.return=wr(e.value,e.length,r);return;case vr:return ot([pe(e,{value:x(e.value,"@","@"+C)})],o);case at:if(e.length)return xn(r=e.props,function(i){switch(ce(i,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ce(pe(e,{props:[x(i,/:(read-\w+)/,":"+Be+"$1")]})),Ce(pe(e,{props:[i]})),Et(e,{props:er(r,o)});break;case"::placeholder":Ce(pe(e,{props:[x(i,/:(plac\w+)/,":"+C+"input-$1")]})),Ce(pe(e,{props:[x(i,/:(plac\w+)/,":"+Be+"$1")]})),Ce(pe(e,{props:[x(i,/:(plac\w+)/,I+"input-$1")]})),Ce(pe(e,{props:[i]})),Et(e,{props:er(r,o)});break}return""})}}var Dn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},xe=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Sr="active",Er="data-styled-version",ut="6.1.8",Dt=`/*!sc*/
|
28
|
+
`,Lt=typeof window<"u"&&"HTMLElement"in window,Ln=!!(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"),nr=/invalid hook call/i,qe=new Set,Fn=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(r,` has been created dynamically.
|
29
|
+
`)+`You may see this warning because you've called styled inside another component.
|
30
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var s=!0;console.error=function(l){for(var f=[],u=1;u<arguments.length;u++)f[u-1]=arguments[u];nr.test(l)?(s=!1,qe.delete(o)):i.apply(void 0,Re([l],f,!1))},U.useRef(),s&&!qe.has(o)&&(console.warn(o),qe.add(o))}catch(l){nr.test(l.message)&&qe.delete(o)}finally{console.error=i}}},dt=Object.freeze([]),je=Object.freeze({});function Nn(e,t,r){return r===void 0&&(r=je),e.theme!==r.theme&&e.theme||t||r.theme}var Rt=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"]),Mn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vn=/(^-|-$)/g;function or(e){return e.replace(Mn,"-").replace(Vn,"")}var zn=/(a)(d)/gi,Ze=52,ir=function(e){return String.fromCharCode(e+(e>25?39:97))};function Tt(e){var t,r="";for(t=Math.abs(e);t>Ze;t=t/Ze|0)r=ir(t%Ze)+r;return(ir(t%Ze)+r).replace(zn,"$1-$2")}var _t,kr=5381,he=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Cr=function(e){return he(kr,e)};function Bn(e){return Tt(Cr(e)>>>0)}function Rr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function $t(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Tr=typeof Symbol=="function"&&Symbol.for,Pr=Tr?Symbol.for("react.memo"):60115,Hn=Tr?Symbol.for("react.forward_ref"):60112,Wn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Yn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},jr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Un=((_t={})[Hn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_t[Pr]=jr,_t);function ar(e){return("type"in(t=e)&&t.type.$$typeof)===Pr?jr:"$$typeof"in e?Un[e.$$typeof]:Wn;var t}var Gn=Object.defineProperty,qn=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,Zn=Object.getOwnPropertyDescriptor,Xn=Object.getPrototypeOf,cr=Object.prototype;function Or(e,t,r){if(typeof t!="string"){if(cr){var o=Xn(t);o&&o!==cr&&Or(e,o,r)}var i=qn(t);sr&&(i=i.concat(sr(t)));for(var s=ar(e),l=ar(t),f=0;f<i.length;++f){var u=i[f];if(!(u in Yn||r&&r[u]||l&&u in l||s&&u in s)){var y=Zn(t,u);try{Gn(e,u,y)}catch{}}}}return e}function Oe(e){return typeof e=="function"}function Ft(e){return typeof e=="object"&&"styledComponentId"in e}function ye(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function lr(e,t){if(e.length===0)return"";for(var r=e[0],o=1;o<e.length;o++)r+=t?t+e[o]:e[o];return r}function Ae(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Pt(e,t,r){if(r===void 0&&(r=!1),!r&&!Ae(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=Pt(e[o],t[o]);else if(Ae(t))for(var o in t)e[o]=Pt(e[o],t[o]);return e}function Nt(e,t){Object.defineProperty(e,"toString",{value:t})}var Kn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
31
|
+
|
32
|
+
`,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.
|
33
|
+
|
34
|
+
- Are you trying to reuse it across renders?
|
35
|
+
- Are you accidentally calling collectStyles twice?
|
36
|
+
|
37
|
+
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
38
|
+
|
39
|
+
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
40
|
+
|
41
|
+
- Does this error occur on the client and is your target falsy?
|
42
|
+
- Does this error occur on the server and is the sheet falsy?
|
43
|
+
|
44
|
+
`,5:`The clone method cannot be used on the client!
|
45
|
+
|
46
|
+
- Are you running in a client-like environment on the server?
|
47
|
+
- Are you trying to run SSR on the client?
|
48
|
+
|
49
|
+
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
50
|
+
|
51
|
+
- Are you using a custom target that isn't mounted?
|
52
|
+
- Does your document not have a valid head element?
|
53
|
+
- Have you accidentally removed a style tag manually?
|
54
|
+
|
55
|
+
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
56
|
+
|
57
|
+
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
58
|
+
|
59
|
+
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
60
|
+
|
61
|
+
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s 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.
|
62
|
+
|
63
|
+
`,14:`ThemeProvider: "theme" prop is required.
|
64
|
+
|
65
|
+
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
66
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
67
|
+
as for instance in your render method then you may be running into this limitation.
|
68
|
+
|
69
|
+
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
70
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
71
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Jn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],i=1,s=e.length;i<s;i+=1)o.push(e[i]);return o.forEach(function(l){r=r.replace(/%[a-z]/,l)}),r}function De(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(Jn.apply(void 0,Re([Kn[e]],t,!1)).trim())}var Qn=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,o=0;o<t;o++)r+=this.groupSizes[o];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,i=o.length,s=i;t>=s;)if((s<<=1)<0)throw De(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(o),this.length=s;for(var l=i;l<s;l++)this.groupSizes[l]=0}for(var f=this.indexOfGroup(t+1),u=(l=0,r.length);l<u;l++)this.tag.insertRule(f,r[l])&&(this.groupSizes[t]++,f++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r;this.groupSizes[t]=0;for(var s=o;s<i;s++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],i=this.indexOfGroup(t),s=i+o,l=i;l<s;l++)r+="".concat(this.tag.getRule(l)).concat(Dt);return r},e}(),tt=new Map,it=new Map,rt=1,Xe=function(e){if(tt.has(e))return tt.get(e);for(;it.has(rt);)rt++;var t=rt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw De(16,"".concat(t));return tt.set(e,t),it.set(t,e),t},eo=function(e,t){rt=t+1,tt.set(e,t),it.set(t,e)},to="style[".concat(xe,"][").concat(Er,'="').concat(ut,'"]'),ro=new RegExp("^".concat(xe,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),no=function(e,t,r){for(var o,i=r.split(","),s=0,l=i.length;s<l;s++)(o=i[s])&&e.registerName(t,o)},oo=function(e,t){for(var r,o=((r=t.textContent)!==null&&r!==void 0?r:"").split(Dt),i=[],s=0,l=o.length;s<l;s++){var f=o[s].trim();if(f){var u=f.match(ro);if(u){var y=0|parseInt(u[1],10),h=u[2];y!==0&&(eo(h,y),no(e,h,u[3]),e.getTag().insertRules(y,i)),i.length=0}else i.push(f)}}};function io(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ar=function(e){var t=document.head,r=e||t,o=document.createElement("style"),i=function(f){var u=Array.from(f.querySelectorAll("style[".concat(xe,"]")));return u[u.length-1]}(r),s=i!==void 0?i.nextSibling:null;o.setAttribute(xe,Sr),o.setAttribute(Er,ut);var l=io();return l&&o.setAttribute("nonce",l),r.insertBefore(o,s),o},ao=function(){function e(t){this.element=Ar(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var o=document.styleSheets,i=0,s=o.length;i<s;i++){var l=o[i];if(l.ownerNode===r)return l}throw De(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}(),so=function(){function e(t){this.element=Ar(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r);return this.element.insertBefore(o,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}(),co=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}(),ur=Lt,lo={isServer:!Lt,useCSSOMInjection:!Ln},Ir=function(){function e(t,r,o){t===void 0&&(t=je),r===void 0&&(r={});var i=this;this.options=G(G({},lo),t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&Lt&&ur&&(ur=!1,function(s){for(var l=document.querySelectorAll(to),f=0,u=l.length;f<u;f++){var y=l[f];y&&y.getAttribute(xe)!==Sr&&(oo(s,y),y.parentNode&&y.parentNode.removeChild(y))}}(this)),Nt(this,function(){return function(s){for(var l=s.getTag(),f=l.length,u="",y=function(m){var _=function(R){return it.get(R)}(m);if(_===void 0)return"continue";var $=s.names.get(_),P=l.getGroup(m);if($===void 0||P.length===0)return"continue";var A="".concat(xe,".g").concat(m,'[id="').concat(_,'"]'),B="";$!==void 0&&$.forEach(function(R){R.length>0&&(B+="".concat(R,","))}),u+="".concat(P).concat(A,'{content:"').concat(B,'"}').concat(Dt)},h=0;h<f;h++)y(h);return u}(i)})}return e.registerId=function(t){return Xe(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(G(G({},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 o=r.useCSSOMInjection,i=r.target;return r.isServer?new co(i):o?new ao(i):new so(i)}(this.options),new Qn(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(Xe(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},e.prototype.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(Xe(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Xe(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),uo=/&/g,fo=/^\s*\/\/.*$/gm;function Dr(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(o){return"".concat(t," ").concat(o)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Dr(r.children,t)),r})}function po(e){var t,r,o,i=e===void 0?je:e,s=i.options,l=s===void 0?je:s,f=i.plugins,u=f===void 0?dt:f,y=function(_,$,P){return P.startsWith(r)&&P.endsWith(r)&&P.replaceAll(r,"").length>0?".".concat(t):_},h=u.slice();h.push(function(_){_.type===at&&_.value.includes("&")&&(_.props[0]=_.props[0].replace(uo,r).replace(o,y))}),l.prefix&&h.push(In),h.push(jn);var m=function(_,$,P,A){$===void 0&&($=""),P===void 0&&(P=""),A===void 0&&(A="&"),t=A,r=$,o=new RegExp("\\".concat(r,"\\b"),"g");var B=_.replace(fo,""),R=Tn(P||$?"".concat(P," ").concat($," { ").concat(B," }"):B);l.namespace&&(R=Dr(R,l.namespace));var b=[];return ot(R,On(h.concat(An(function(T){return b.push(T)})))),b};return m.hash=u.length?u.reduce(function(_,$){return $.name||De(15),he(_,$.name)},kr).toString():"",m}var go=new Ir,jt=po(),Lr=U.createContext({shouldForwardProp:void 0,styleSheet:go,stylis:jt});Lr.Consumer;U.createContext(void 0);function dr(){return U.useContext(Lr)}var fr=function(){function e(t,r){var o=this;this.inject=function(i,s){s===void 0&&(s=jt);var l=o.name+s.hash;i.hasNameForId(o.id,l)||i.insertRules(o.id,l,s(o.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Nt(this,function(){throw De(12,String(o.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=jt),this.name+t.hash},e}(),ho=function(e){return e>="A"&&e<="Z"};function pr(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(r===1&&o==="-"&&e[0]==="-")return e;ho(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Fr=function(e){return e==null||e===!1||e===""},Nr=function(e){var t,r,o=[];for(var i in e){var s=e[i];e.hasOwnProperty(i)&&!Fr(s)&&(Array.isArray(s)&&s.isCss||Oe(s)?o.push("".concat(pr(i),":"),s,";"):Ae(s)?o.push.apply(o,Re(Re(["".concat(i," {")],Nr(s),!1),["}"],!1)):o.push("".concat(pr(i),": ").concat((t=i,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Dn||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function ve(e,t,r,o){if(Fr(e))return[];if(Ft(e))return[".".concat(e.styledComponentId)];if(Oe(e)){if(!Oe(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof fr||Ae(i)||i===null||console.error("".concat(Rr(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.")),ve(i,t,r,o)}var s;return e instanceof fr?r?(e.inject(r,o),[e.getName(o)]):[e]:Ae(e)?Nr(e):Array.isArray(e)?Array.prototype.concat.apply(dt,e.map(function(l){return ve(l,t,r,o)})):[e.toString()]}function yo(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Oe(r)&&!Ft(r))return!1}return!0}var mo=Cr(ut),vo=function(){function e(t,r,o){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&yo(t),this.componentId=r,this.baseHash=he(mo,r),this.baseStyle=o,Ir.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,o){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))i=ye(i,this.staticRulesId);else{var s=lr(ve(this.rules,t,r,o)),l=Tt(he(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,l)){var f=o(s,".".concat(l),void 0,this.componentId);r.insertRules(this.componentId,l,f)}i=ye(i,l),this.staticRulesId=l}else{for(var u=he(this.baseHash,o.hash),y="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")y+=m,process.env.NODE_ENV!=="production"&&(u=he(u,m));else if(m){var _=lr(ve(m,t,r,o));u=he(u,_+h),y+=_}}if(y){var $=Tt(u>>>0);r.hasNameForId(this.componentId,$)||r.insertRules(this.componentId,$,o(y,".".concat($),void 0,this.componentId)),i=ye(i,$)}}return i},e}(),Mr=U.createContext(void 0);Mr.Consumer;var wt={},gr=new Set;function bo(e,t,r){var o=Ft(e),i=e,s=!$t(e),l=t.attrs,f=l===void 0?dt:l,u=t.componentId,y=u===void 0?function(O,D){var S=typeof O!="string"?"sc":or(O);wt[S]=(wt[S]||0)+1;var v="".concat(S,"-").concat(Bn(ut+S+wt[S]));return D?"".concat(D,"-").concat(v):v}(t.displayName,t.parentComponentId):u,h=t.displayName,m=h===void 0?function(O){return $t(O)?"styled.".concat(O):"Styled(".concat(Rr(O),")")}(e):h,_=t.displayName&&t.componentId?"".concat(or(t.displayName),"-").concat(t.componentId):t.componentId||y,$=o&&i.attrs?i.attrs.concat(f).filter(Boolean):f,P=t.shouldForwardProp;if(o&&i.shouldForwardProp){var A=i.shouldForwardProp;if(t.shouldForwardProp){var B=t.shouldForwardProp;P=function(O,D){return A(O,D)&&B(O,D)}}else P=A}var R=new vo(r,_,o?i.componentStyle:void 0);function b(O,D){return function(S,v,ne){var oe=S.attrs,pt=S.componentStyle,gt=S.defaultProps,He=S.foldedComponentIds,q=S.styledComponentId,ie=S.target,ge=U.useContext(Mr),We=dr(),_e=S.shouldForwardProp||We.shouldForwardProp;process.env.NODE_ENV!=="production"&&U.useDebugValue(q);var Le=Nn(v,ge,gt)||je,Z=function(we,ae,de){for(var J,Q=G(G({},ae),{className:void 0,theme:de}),fe=0;fe<we.length;fe+=1){var Se=Oe(J=we[fe])?J(Q):J;for(var ee in Se)Q[ee]=ee==="className"?ye(Q[ee],Se[ee]):ee==="style"?G(G({},Q[ee]),Se[ee]):Se[ee]}return ae.className&&(Q.className=ye(Q.className,ae.className)),Q}(oe,v,Le),le=Z.as||ie,ue={};for(var H in Z)Z[H]===void 0||H[0]==="$"||H==="as"||H==="theme"&&Z.theme===Le||(H==="forwardedAs"?ue.as=Z.forwardedAs:_e&&!_e(H,le)||(ue[H]=Z[H],_e||process.env.NODE_ENV!=="development"||yn(H)||gr.has(H)||!Rt.has(le)||(gr.add(H),console.warn('styled-components: it looks like an unknown prop "'.concat(H,'" 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(we,ae){var de=dr(),J=we.generateAndInjectStyles(ae,de.styleSheet,de.stylis);return process.env.NODE_ENV!=="production"&&U.useDebugValue(J),J}(pt,Z);process.env.NODE_ENV!=="production"&&S.warnTooManyClasses&&S.warnTooManyClasses($e);var Fe=ye(He,q);return $e&&(Fe+=" "+$e),Z.className&&(Fe+=" "+Z.className),ue[$t(le)&&!Rt.has(le)?"class":"className"]=Fe,ue.ref=ne,U.createElement(le,ue)}(T,O,D)}b.displayName=m;var T=U.forwardRef(b);return T.attrs=$,T.componentStyle=R,T.displayName=m,T.shouldForwardProp=P,T.foldedComponentIds=o?ye(i.foldedComponentIds,i.styledComponentId):"",T.styledComponentId=_,T.target=o?i.target:e,Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(O){this._foldedDefaultProps=o?function(D){for(var S=[],v=1;v<arguments.length;v++)S[v-1]=arguments[v];for(var ne=0,oe=S;ne<oe.length;ne++)Pt(D,oe[ne],!0);return D}({},i.defaultProps,O):O}}),process.env.NODE_ENV!=="production"&&(Fn(m,_),T.warnTooManyClasses=function(O,D){var S={},v=!1;return function(ne){if(!v&&(S[ne]=!0,Object.keys(S).length>=200)){var oe=D?' with the id of "'.concat(D,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(O).concat(oe,`.
|
72
|
+
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
73
|
+
Example:
|
74
|
+
const Component = styled.div.attrs(props => ({
|
75
|
+
style: {
|
76
|
+
background: props.background,
|
77
|
+
},
|
78
|
+
}))\`width: 100%;\`
|
79
|
+
|
80
|
+
<Component />`),v=!0,S={}}}}(m,_)),Nt(T,function(){return".".concat(T.styledComponentId)}),s&&Or(T,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),T}function hr(e,t){for(var r=[e[0]],o=0,i=t.length;o<i;o+=1)r.push(t[o],e[o+1]);return r}var yr=function(e){return Object.assign(e,{isCss:!0})};function F(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Oe(e)||Ae(e))return yr(ve(hr(dt,Re([e],t,!0))));var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?ve(o):yr(ve(hr(o,t)))}function Ot(e,t,r){if(r===void 0&&(r=je),!t)throw De(1,t);var o=function(i){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];return e(t,r,F.apply(void 0,Re([i],s,!1)))};return o.attrs=function(i){return Ot(e,t,G(G({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return Ot(e,t,G(G({},r),i))},o}var Vr=function(e){return Ot(bo,e)},L=Vr;Rt.forEach(function(e){L[e]=Vr(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.
|
81
|
+
Perhaps you're looking to import 'styled-components/native'?
|
82
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Ke="__sc-".concat(xe,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Ke]||(window[Ke]=0),window[Ke]===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.
|
83
|
+
|
84
|
+
See https://s-c.sh/2BAXzed for more info.`),window[Ke]+=1);const xo=e=>Y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 2H4V4H16.1492L13.3753 6.21913C13.1381 6.4089 13 6.69622 13 7V18H4V20H13V21C13 21.3844 13.2203 21.7348 13.5668 21.9013C13.9133 22.0678 14.3245 22.021 14.6247 21.7809L19.6247 17.7809C19.8619 17.5911 20 17.3038 20 17V3C20 2.44772 19.5523 2 19 2ZM15 7.48062L18 5.08062V16.5194L15 18.9194V7.48062Z"}),Y.createElement("path",{d:"M10.7071 11.7071C10.8946 11.5195 11 11.2652 11 11C11 10.7347 10.8946 10.4804 10.7071 10.2928L6.70711 6.29285L5.29289 7.70706L7.58579 9.99995L2 10V12L7.58579 12L5.29289 14.2928L6.70711 15.7071L10.7071 11.7071Z"})),_o=e=>Y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},Y.createElement("path",{d:"M9 15C9 14.4477 9.44772 14 10 14H14C14.5523 14 15 14.4477 15 15V19H19V12.4142L12 5.41421L5 12.4142V19H9V15ZM11 16V20C11 20.5523 10.5523 21 10 21H4C3.44772 21 3 20.5523 3 20V12C3 11.7348 3.10536 11.4804 3.29289 11.2929L11.2929 3.29289C11.6834 2.90237 12.3166 2.90237 12.7071 3.29289L20.7071 11.2929C20.8946 11.4804 21 11.7348 21 12V20C21 20.5523 20.5523 21 20 21H14C13.4477 21 13 20.5523 13 20V16H11Z"})),$o=e=>Y.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},Y.createElement("path",{d:"M14.4393 11.8536L7.14641 19.1465L8.56062 20.5607L16.5606 12.5607C16.9511 12.1701 16.9511 11.537 16.5606 11.1465L8.56062 3.14646L7.14641 4.56067L14.4393 11.8536Z"})),wo=e=>Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e},Y.createElement("circle",{cx:11.5771,cy:12,r:10,stroke:"#8F9199",strokeOpacity:.32,strokeWidth:3}),Y.createElement("path",{d:"M21.5772 12C21.5772 10.0222 20.9907 8.08879 19.8918 6.4443C18.793 4.79981 17.2312 3.51809 15.404 2.76121C13.5767 2.00433 11.5661 1.8063 9.62625 2.19215C7.68644 2.578 5.90461 3.53041 4.50609 4.92894C3.10756 6.32746 2.15515 8.10929 1.7693 10.0491C1.38345 11.9889 1.58148 13.9996 2.33836 15.8268C3.09523 17.6541 3.93266 18.9012 5.57715 20",stroke:"#232529",strokeWidth:3,strokeLinecap:"round"})),So=e=>Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 17",...e},Y.createElement("path",{d:"M4.6665 6.49992V13.8333H11.3332V6.49992H12.6665V14.4999C12.6665 14.8681 12.368 15.1666 11.9998 15.1666H3.99984C3.63165 15.1666 3.33317 14.8681 3.33317 14.4999V6.49992H4.6665ZM7.33317 6.49992V12.4999H5.99984V6.49992H7.33317ZM9.99984 6.49992V12.4999H8.6665V6.49992H9.99984ZM9.99984 1.83325C10.2868 1.83325 10.5415 2.01687 10.6323 2.2891L11.1465 3.83259L13.3332 3.83325V5.16659H2.6665V3.83325L4.8525 3.83259L5.36738 2.2891C5.45812 2.01687 5.71288 1.83325 5.99984 1.83325H9.99984ZM9.51933 3.16659H6.48034L6.25784 3.83259H9.74117L9.51933 3.16659Z"})),Eo={enter:xo,home:_o,"go-right":$o,spinner:wo,trash:So},a={white:"#fff",black:"#232529",gray_30:"#F9F9F9",gray_60:"#F2F2F3",gray_100:"#EAEAEB",gray_150:"#E0E0E1",gray_200:"#D5D5D6",gray_300:"#BFC0C2",gray_400:"#AAABAE",gray_500:"#949498",gray_600:"#808185",gray_700:"#696A6E",gray_800:"#55575D",gray_900:"#404248",gray_950:"#35373C",gray_1000:"#2B2D34",gray_100010:"#2B2D341A",accent_100:"#FFFDE6",accent_200:"#FFFACC",accent_300:"#FFF599",accent_400:"#FEF066",accent_500:"#FEEB33",accent_600:"#FEE600",accent_650:"#E2CD03",accent_700:"#CBB800",accent_800:"#988A00",accent_900:"#665C00",accent_1000:"#403A00",success_100:"#D7F4EE",success_600:"#00997D",success_800:"#057164",warning_100:"#FBECE4",warning_500:"#DD743C",warning_700:"#975430",info_100:"#DFF2F6",info_150:"#C6EBF0",info_200:"#AEE2EA",info_400:"#5CB7C7",info_500:"#40ABBE",info_600:"#1F9CB2",info_700:"#008FA8",info_800:"#00758F",danger_100:"#FCE9EA",danger_200:"#F7D4D4",danger_250:"#F4C2C3",danger_400:"#E7535D",danger_500:"#D7424C",danger_600:"#C73747",danger_700:"#9C3039"},ko=e=>{const{icon:t,size:r=24,fullWidth:o=!1,color:i=a.gray_950,...s}=e,l={8:8,12:12,14:14,16:16,20:20,24:24,32:32,40:40},f={...s,fill:i,width:o?"100%":r?l[r]:s.width,height:o?"100%":r?l[r]:s.height},u=!!t&&Eo[t];return p.jsx(u,{...f})},be=U.memo(ko),Co=L.div`
|
85
|
+
display: flex;
|
86
|
+
gap: 4px;
|
87
|
+
align-content: center;
|
88
|
+
cursor: ${e=>!e.disabled&&!e.selected&&"pointer"};
|
89
|
+
&:hover {
|
90
|
+
& p {
|
91
|
+
color: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.info_600};
|
92
|
+
}
|
93
|
+
& svg {
|
94
|
+
fill: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.info_600};
|
95
|
+
}
|
96
|
+
}
|
97
|
+
& svg {
|
98
|
+
fill: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.info_700};
|
99
|
+
}
|
100
|
+
`,Ro=L.p`
|
101
|
+
font-size: 14px;
|
102
|
+
line-height: 16.8px;
|
103
|
+
font-weight: 400;
|
104
|
+
margin: 0;
|
105
|
+
color: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.info_700};
|
106
|
+
`,To=({label:e,icon:t,selected:r=!1,disabled:o=!1,...i})=>p.jsxs(Co,{...i,selected:r,disabled:o,children:[t&&p.jsx(be,{icon:t,size:16}),p.jsx(Ro,{selected:r,disabled:o,children:e})]}),Po=L.div`
|
107
|
+
padding: ${e=>e.$padding};
|
108
|
+
display: flex;
|
109
|
+
align-items: center;
|
110
|
+
gap: ${({$gap:e})=>e}px;
|
111
|
+
`,jo=({gap:e=8,padding:t="0px",children:r,...o})=>p.jsx(Po,{$gap:e,$padding:t,...o,children:r}),Oo={small:F`
|
112
|
+
padding: 6.602px 15.2px;
|
113
|
+
font-size: 14px;
|
114
|
+
font-weight: 500;
|
115
|
+
line-height: 16.8px;
|
116
|
+
border-radius: 8px;
|
117
|
+
`,medium:F`
|
118
|
+
padding: 9.407px 15.2px;
|
119
|
+
font-size: 16px;
|
120
|
+
font-weight: 500;
|
121
|
+
line-height: 19.2px;
|
122
|
+
border-radius: 8px;
|
123
|
+
`,large:F`
|
124
|
+
padding: 13.40625px 15.2px;
|
125
|
+
font-size: 16px;
|
126
|
+
font-weight: 500;
|
127
|
+
line-height: 19.2px;
|
128
|
+
border-radius: 12px;
|
129
|
+
`},Ao={accent:{primary:F`
|
130
|
+
background-color: ${a.accent_600};
|
131
|
+
border: 1px solid ${a.gray_100010};
|
132
|
+
color: ${a.gray_950};
|
133
|
+
|
134
|
+
&:hover {
|
135
|
+
background-color: ${a.accent_650};
|
136
|
+
}
|
137
|
+
|
138
|
+
&:active {
|
139
|
+
background-color: ${a.accent_700};
|
140
|
+
}
|
141
|
+
|
142
|
+
&:focus-visible {
|
143
|
+
outline: 3px solid ${a.info_700+"66"};
|
144
|
+
outline-offset: 2px;
|
145
|
+
}
|
146
|
+
|
147
|
+
&:disabled {
|
148
|
+
background-color: ${a.gray_100};
|
149
|
+
color: ${a.gray_600};
|
150
|
+
}
|
151
|
+
`,secondary:F`
|
152
|
+
background-color: ${a.gray_60};
|
153
|
+
border: 1px solid ${a.gray_100010};
|
154
|
+
color: ${a.gray_950};
|
155
|
+
|
156
|
+
&:hover {
|
157
|
+
background-color: ${a.gray_200};
|
158
|
+
}
|
159
|
+
|
160
|
+
&:active {
|
161
|
+
background-color: ${a.gray_400};
|
162
|
+
}
|
163
|
+
|
164
|
+
&:focus-visible {
|
165
|
+
outline: 3px solid ${a.info_700+"66"};
|
166
|
+
outline-offset: 2px;
|
167
|
+
}
|
168
|
+
|
169
|
+
&:disabled {
|
170
|
+
background-color: ${a.gray_100};
|
171
|
+
color: ${a.gray_600};
|
172
|
+
}
|
173
|
+
`,secondaryOutlined:F`
|
174
|
+
background-color: ${a.white};
|
175
|
+
border: 1px solid ${a.gray_100010};
|
176
|
+
color: ${a.gray_950};
|
177
|
+
|
178
|
+
&:hover {
|
179
|
+
background-color: ${a.gray_100};
|
180
|
+
}
|
181
|
+
|
182
|
+
&:active {
|
183
|
+
background-color: ${a.gray_200};
|
184
|
+
}
|
185
|
+
|
186
|
+
&:focus-visible {
|
187
|
+
outline: 3px solid ${a.info_700+"66"};
|
188
|
+
outline-offset: 2px;
|
189
|
+
}
|
190
|
+
|
191
|
+
&:disabled {
|
192
|
+
background-color: ${a.white};
|
193
|
+
color: ${a.gray_300};
|
194
|
+
}
|
195
|
+
`,tertiary:F`
|
196
|
+
background-color: transparent;
|
197
|
+
border: 1px solid transparent;
|
198
|
+
color: ${a.info_800};
|
199
|
+
|
200
|
+
&:hover {
|
201
|
+
background-color: ${a.gray_100};
|
202
|
+
}
|
203
|
+
|
204
|
+
&:active {
|
205
|
+
background-color: ${a.gray_300};
|
206
|
+
}
|
207
|
+
|
208
|
+
&:focus-visible {
|
209
|
+
outline: 3px solid ${a.info_700+"66"};
|
210
|
+
outline-offset: 2px;
|
211
|
+
}
|
212
|
+
|
213
|
+
&:disabled {
|
214
|
+
background-color: transparent;
|
215
|
+
color: ${a.gray_200};
|
216
|
+
}
|
217
|
+
`},info:{primary:F`
|
218
|
+
background-color: ${a.info_700};
|
219
|
+
border: 1px solid ${a.gray_100010};
|
220
|
+
color: ${a.white};
|
221
|
+
|
222
|
+
&:hover {
|
223
|
+
background-color: ${a.info_600};
|
224
|
+
}
|
225
|
+
|
226
|
+
&:active {
|
227
|
+
background-color: ${a.info_500};
|
228
|
+
}
|
229
|
+
|
230
|
+
&:focus-visible {
|
231
|
+
outline: 3px solid ${a.info_700+"66"};
|
232
|
+
outline-offset: 2px;
|
233
|
+
}
|
234
|
+
|
235
|
+
&:disabled {
|
236
|
+
background-color: ${a.gray_100};
|
237
|
+
color: ${a.gray_600};
|
238
|
+
}
|
239
|
+
`,secondary:F`
|
240
|
+
background-color: ${a.info_100};
|
241
|
+
border: 1px solid ${a.gray_100010};
|
242
|
+
color: ${a.info_800};
|
243
|
+
|
244
|
+
&:hover {
|
245
|
+
background-color: ${a.info_150};
|
246
|
+
}
|
247
|
+
|
248
|
+
&:active {
|
249
|
+
background-color: ${a.info_200};
|
250
|
+
}
|
251
|
+
|
252
|
+
&:focus-visible {
|
253
|
+
outline: 3px solid ${a.info_700+"66"};
|
254
|
+
outline-offset: 2px;
|
255
|
+
}
|
256
|
+
|
257
|
+
&:disabled {
|
258
|
+
background-color: ${a.gray_100};
|
259
|
+
color: ${a.gray_600};
|
260
|
+
}
|
261
|
+
`,secondaryOutlined:F`
|
262
|
+
background-color: ${a.white};
|
263
|
+
border: 1px solid ${a.gray_100010};
|
264
|
+
color: ${a.info_800};
|
265
|
+
|
266
|
+
&:hover {
|
267
|
+
background-color: ${a.gray_100};
|
268
|
+
}
|
269
|
+
|
270
|
+
&:active {
|
271
|
+
background-color: ${a.gray_200};
|
272
|
+
}
|
273
|
+
|
274
|
+
&:focus-visible {
|
275
|
+
outline: 3px solid ${a.info_700+"66"};
|
276
|
+
outline-offset: 2px;
|
277
|
+
}
|
278
|
+
|
279
|
+
&:disabled {
|
280
|
+
background-color: ${a.white};
|
281
|
+
color: ${a.gray_300};
|
282
|
+
}
|
283
|
+
`},danger:{primary:F`
|
284
|
+
background-color: ${a.danger_500};
|
285
|
+
border: 1px solid ${a.gray_100010};
|
286
|
+
color: ${a.white};
|
287
|
+
|
288
|
+
&:hover {
|
289
|
+
background-color: ${a.danger_600};
|
290
|
+
}
|
291
|
+
|
292
|
+
&:active {
|
293
|
+
background-color: ${a.danger_700};
|
294
|
+
}
|
295
|
+
|
296
|
+
&:focus-visible {
|
297
|
+
outline: 3px solid ${a.info_700+"66"};
|
298
|
+
outline-offset: 2px;
|
299
|
+
}
|
300
|
+
|
301
|
+
&:disabled {
|
302
|
+
background-color: ${a.gray_100};
|
303
|
+
color: ${a.gray_600};
|
304
|
+
}
|
305
|
+
`,secondary:F`
|
306
|
+
background-color: ${a.danger_100};
|
307
|
+
border: 1px solid ${a.gray_100010};
|
308
|
+
color: ${a.danger_700};
|
309
|
+
|
310
|
+
&:hover {
|
311
|
+
background-color: ${a.danger_200};
|
312
|
+
}
|
313
|
+
|
314
|
+
&:active {
|
315
|
+
background-color: ${a.danger_250};
|
316
|
+
}
|
317
|
+
|
318
|
+
&:focus-visible {
|
319
|
+
outline: 3px solid ${a.info_700+"66"};
|
320
|
+
outline-offset: 2px;
|
321
|
+
}
|
322
|
+
|
323
|
+
&:disabled {
|
324
|
+
background-color: ${a.gray_100};
|
325
|
+
color: ${a.gray_600};
|
326
|
+
}
|
327
|
+
`,secondaryOutlined:F`
|
328
|
+
background-color: ${a.white};
|
329
|
+
border: 1px solid ${a.gray_100010};
|
330
|
+
color: ${a.danger_500};
|
331
|
+
|
332
|
+
&:hover {
|
333
|
+
background-color: ${a.gray_60};
|
334
|
+
}
|
335
|
+
|
336
|
+
&:active {
|
337
|
+
background-color: ${a.gray_300};
|
338
|
+
}
|
339
|
+
|
340
|
+
&:focus-visible {
|
341
|
+
outline: 3px solid ${a.info_700+"66"};
|
342
|
+
outline-offset: 2px;
|
343
|
+
}
|
344
|
+
|
345
|
+
&:disabled {
|
346
|
+
background-color: ${a.white};
|
347
|
+
color: ${a.gray_300};
|
348
|
+
}
|
349
|
+
`,tertiary:F`
|
350
|
+
background-color: transparent;
|
351
|
+
border: 1px solid transparent;
|
352
|
+
color: ${a.danger_500};
|
353
|
+
|
354
|
+
&:hover {
|
355
|
+
background-color: ${a.gray_200};
|
356
|
+
border: 1px solid ${a.gray_100010};
|
357
|
+
}
|
358
|
+
|
359
|
+
&:active {
|
360
|
+
background-color: ${a.gray_400};
|
361
|
+
border: 1px solid ${a.gray_100010};
|
362
|
+
}
|
363
|
+
|
364
|
+
&:focus-visible {
|
365
|
+
outline: 3px solid ${a.info_700+"66"};
|
366
|
+
outline-offset: 2px;
|
367
|
+
}
|
368
|
+
|
369
|
+
&:disabled {
|
370
|
+
background-color: transparent;
|
371
|
+
color: ${a.gray_300};
|
372
|
+
}
|
373
|
+
`}},Io=L.button`
|
374
|
+
${e=>e.$intent&&e.$variants&&Ao[e.$intent][e.$variants]}
|
375
|
+
|
376
|
+
${e=>e.$size&&Oo[e.$size]}
|
377
|
+
|
378
|
+
${e=>(e.$leftIcon||e.$rightIcon)&&F`
|
379
|
+
display: flex;
|
380
|
+
gap: 12px;
|
381
|
+
align-items: center;
|
382
|
+
`}
|
383
|
+
|
384
|
+
${e=>e.$loading&&F`
|
385
|
+
display: flex;
|
386
|
+
justify-content: center;
|
387
|
+
align-items: center;
|
388
|
+
padding-left: 35px;
|
389
|
+
padding-right: 35px;
|
390
|
+
`}
|
391
|
+
`,zr=({type:e="button",intent:t="accent",variants:r="primary",label:o="Button label",loading:i=!1,size:s="medium",leftIcon:l,rightIcon:f,...u})=>p.jsxs(Io,{$intent:t,$variants:r,$loading:i,$size:s,type:e,$leftIcon:l,$rightIcon:f,...u,children:[l&&p.jsx(be,{icon:l}),i?p.jsx(be,{icon:"spinner",color:"transparent"}):o,f&&p.jsx(be,{icon:f})]}),Do=e=>Y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none",...e},Y.createElement("path",{d:"M0 7.2C0 3.22355 3.22355 0 7.2 0H28.8C32.7764 0 36 3.22355 36 7.2V28.8C36 32.7764 32.7764 36 28.8 36H7.2C3.22355 36 0 32.7764 0 28.8V7.2Z",fill:"#FEE600"}),Y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1912 21.0785L26.8598 29.7204L30.2536 26.331L21.5756 17.6668L23.2672 15.9902L23.2675 12.6187L24.4732 11.4135L24.4759 14.2107L25.6541 15.3698L29.8871 11.1357L31.0312 12.2657C31.0312 11.5377 30.8165 9.03198 28.8031 7.0711C26.5482 4.87467 24.2917 6.15936 23.5144 6.93539L19.4267 11.0203L20.4437 12.0349L18.1912 14.2787L15.9415 12.0349L16.9571 11.0203L12.8708 6.93539C12.0928 6.15936 9.83664 4.87467 7.58111 7.07178C5.56874 9.03198 5.40009 11.5391 5.40009 12.2664L6.49771 11.1357L10.73 15.3698L11.91 14.1965L11.911 11.4135L13.1166 12.6187L13.1143 15.9817L14.809 17.6668L6.21763 26.2434L9.6077 29.6246L18.1912 21.0785Z",fill:"#232529"})),Lo=({size:e,fullWidth:t=!1,...r})=>{const o={24:24,32:32,36:36,40:40,48:48},i={...r,width:t?"100%":e?o[e]:r.width,height:t?"100%":e?o[e]:r.height};return p.jsx(Do,{...i})},Fo=L.div`
|
392
|
+
background-color: ${a.white};
|
393
|
+
flex-basis: 110px;
|
394
|
+
min-height: 100vh;
|
395
|
+
height: 100%;
|
396
|
+
flex-shrink: 0;
|
397
|
+
display: flex;
|
398
|
+
position: sticky;
|
399
|
+
left: 0;
|
400
|
+
top: 0;
|
401
|
+
flex-direction: column;
|
402
|
+
padding: 24px 8px 16px 8px;
|
403
|
+
row-gap: 40px;
|
404
|
+
`,No=L.div`
|
405
|
+
display: flex;
|
406
|
+
flex-direction: column;
|
407
|
+
row-gap: 40px;
|
408
|
+
width: 100%;
|
409
|
+
flex: 1;
|
410
|
+
`,Mo=L.div`
|
411
|
+
display: flex;
|
412
|
+
justify-content: center;
|
413
|
+
align-items: center;
|
414
|
+
`,Vo=L.div`
|
415
|
+
display: flex;
|
416
|
+
flex-direction: column;
|
417
|
+
justify-content: start;
|
418
|
+
align-items: center;
|
419
|
+
flex: 1;
|
420
|
+
row-gap: 24px;
|
421
|
+
`,zo=L.div`
|
422
|
+
display: flex;
|
423
|
+
justify-content: center;
|
424
|
+
align-items: center;
|
425
|
+
`,ft=({children:e})=>p.jsx(Fo,{children:p.jsx(No,{children:e})}),Bo=({children:e})=>p.jsx(Mo,{children:e}),Ho=({children:e})=>p.jsx(Vo,{children:e}),Wo=({children:e})=>p.jsx(zo,{children:e});ft.Top=Bo;ft.Middle=Ho;ft.Bottom=Wo;const Yo=L.button`
|
426
|
+
display: flex;
|
427
|
+
flex-direction: column;
|
428
|
+
gap: 8px;
|
429
|
+
justify-content: center;
|
430
|
+
align-items: center;
|
431
|
+
cursor: pointer;
|
432
|
+
outline: none;
|
433
|
+
background-color: transparent;
|
434
|
+
border: none;
|
435
|
+
|
436
|
+
& > div {
|
437
|
+
display: flex;
|
438
|
+
justify-content: center;
|
439
|
+
border: 2px solid transparent;
|
440
|
+
align-items: center;
|
441
|
+
padding: 4px 14px;
|
442
|
+
border-radius: 999999px;
|
443
|
+
background: ${e=>e.selected?a.info_100:"transparent"};
|
444
|
+
}
|
445
|
+
|
446
|
+
& > span {
|
447
|
+
color: ${a.gray_950};
|
448
|
+
font-weight: 500;
|
449
|
+
line-height: 14.4px;
|
450
|
+
font-size: 12px;
|
451
|
+
}
|
452
|
+
|
453
|
+
&:hover {
|
454
|
+
& > div {
|
455
|
+
background-color: ${a.gray_100};
|
456
|
+
}
|
457
|
+
}
|
458
|
+
&:focus-visible {
|
459
|
+
& > div {
|
460
|
+
background-color: transparent;
|
461
|
+
border: 2px solid ${a.info_400};
|
462
|
+
}
|
463
|
+
}
|
464
|
+
&:disabled {
|
465
|
+
cursor: default;
|
466
|
+
|
467
|
+
& > div {
|
468
|
+
background-color: transparent;
|
469
|
+
}
|
470
|
+
& > span {
|
471
|
+
color: ${a.gray_600};
|
472
|
+
}
|
473
|
+
}
|
474
|
+
`,Uo=({icon:e="empty",label:t="",selected:r=!1,...o})=>p.jsxs(Yo,{selected:r,...o,children:[p.jsx("div",{children:p.jsx(be,{icon:e,size:20,color:a.gray_950})}),p.jsx("span",{children:t})]}),Go=L.div`
|
475
|
+
width: 100%;
|
476
|
+
box-sizing: border-box;
|
477
|
+
padding: 0;
|
478
|
+
margin: 0;
|
479
|
+
font-size: 15px;
|
480
|
+
display: flex;
|
481
|
+
align-items: flex-start;
|
482
|
+
min-height: 100vh;
|
483
|
+
height: 100%;
|
484
|
+
position: relative;
|
485
|
+
background-color: ${e=>a[e.$bgColor]};
|
486
|
+
`,qo=({children:e,bgColor:t="gray_60",...r})=>p.jsx(Go,{$bgColor:t,...r,children:e}),Zo=L.div`
|
487
|
+
flex: 1;
|
488
|
+
width: 100%;
|
489
|
+
display: flex;
|
490
|
+
gap: ${e=>typeof e.$gap=="number"?e.$gap+"px":"32px"};
|
491
|
+
padding: ${e=>e.$padding};
|
492
|
+
margin: ${e=>e.$margin};
|
493
|
+
flex-direction: ${e=>e.$flexDirection==="column"?"column":"row"};
|
494
|
+
box-shadow: ${e=>typeof e.$shadow=="string"&&e.$shadow};
|
495
|
+
background-color: ${e=>a[e.$background]};
|
496
|
+
border-radius: ${e=>typeof e.$borderRadius=="number"&&e.$borderRadius+"px"};
|
497
|
+
`,Xo=({gap:e=32,padding:t="32px",margin:r="0px",flexDirection:o="column",shadow:i="0px 1px 1px 0px rgba(19, 20, 22, 0.20)",background:s="white",borderRadius:l=16,children:f})=>p.jsx(Zo,{$gap:e,$padding:t,$margin:r,$flexDirection:o,$shadow:i,$background:s,$borderRadius:l,children:f}),Ko=L.div`
|
498
|
+
width: 100%;
|
499
|
+
min-height: 100vh;
|
500
|
+
height: 100%;
|
501
|
+
display: flex;
|
502
|
+
justify-content: center;
|
503
|
+
`,Jo=L.div`
|
504
|
+
width: 100%;
|
505
|
+
max-width: 1220px;
|
506
|
+
min-height: 100vh;
|
507
|
+
height: 100%;
|
508
|
+
display: flex;
|
509
|
+
padding: ${({$padding:e="32px"})=>typeof e=="string"&&e};
|
510
|
+
flex-direction: column;
|
511
|
+
gap: ${({$gap:e})=>e}px;
|
512
|
+
`,Qo=({children:e,padding:t="32px",gap:r=32})=>p.jsx(Ko,{children:p.jsx(Jo,{$padding:t,$gap:r,children:e})}),ei=["row","row-reverse","column","column-reverse"],ti=["nowrap","wrap","wrap-reverse"],ri=["start","center","space-between","space-around","space-evenly"],ni=["stretch","center","start","end"],oi=["start","center","space-between","space-around"],ii=L.div`
|
513
|
+
display: flex;
|
514
|
+
|
515
|
+
width: ${e=>typeof e.$width=="string"&&e.$width};
|
516
|
+
|
517
|
+
height: ${e=>typeof e.$height=="string"&&e.$height};
|
518
|
+
|
519
|
+
background-color: ${e=>e.$background&&a[e.$background]};
|
520
|
+
|
521
|
+
gap: ${e=>typeof e.$gap=="number"&&e.$gap+"px"};
|
522
|
+
|
523
|
+
flex-direction: ${e=>e.$direction&&ei.includes(e.$direction)&&e.$direction};
|
524
|
+
|
525
|
+
flex-wrap: ${e=>e.$wrap&&ti.includes(e.$wrap)&&e.$wrap};
|
526
|
+
|
527
|
+
flex-grow: ${e=>typeof e.$grow=="number"&&e.$grow};
|
528
|
+
|
529
|
+
flex-shrink: ${e=>typeof e.$shrink=="number"&&e.$shrink};
|
530
|
+
|
531
|
+
flex-basis: ${e=>typeof e.$basis=="string"&&e.$basis};
|
532
|
+
|
533
|
+
justify-content: ${e=>e.$justify&&ri.includes(e.$justify)&&e.$justify};
|
534
|
+
|
535
|
+
align-items: ${e=>e.$items&&ni.includes(e.$items)&&e.$items};
|
536
|
+
|
537
|
+
align-content: ${e=>e.$content&&oi.includes(e.$content)&&e.$content};
|
538
|
+
|
539
|
+
padding: ${e=>typeof e.$padding=="string"&&e.$padding};
|
540
|
+
|
541
|
+
margin: ${e=>typeof e.$margin=="string"&&e.$margin};
|
542
|
+
|
543
|
+
border-radius: ${e=>typeof e.$radius=="number"&&e.$radius+"px"};
|
544
|
+
|
545
|
+
border: ${e=>typeof e.$border=="string"&&e.$border};
|
546
|
+
|
547
|
+
${e=>F`
|
548
|
+
${e.$css}
|
549
|
+
`}
|
550
|
+
`,ai=({children:e,element:t="div",width:r,height:o,background:i,gap:s,direction:l,wrap:f,grow:u,shrink:y,basis:h,justify:m,items:_,content:$,padding:P,margin:A,radius:B,border:R,css:b})=>{const T={div:"div",main:"main",article:"article",p:"p",span:"span"};return p.jsx(ii,{$width:r,$height:o,$background:i,$gap:s,$wrap:f,$grow:u,$shrink:y,$basis:h,$justify:m,$items:_,$content:$,$padding:P,$margin:A,$radius:B,$border:R,$css:b,$direction:l,as:T[t],children:e})},si=L.div`
|
551
|
+
width: fit-content;
|
552
|
+
align-content: center;
|
553
|
+
cursor: ${e=>!e.disabled&&!e.selected&&"pointer"};
|
554
|
+
|
555
|
+
& > div > svg {
|
556
|
+
fill: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.gray_700};
|
557
|
+
}
|
558
|
+
|
559
|
+
& > div.tabActivityIndicator {
|
560
|
+
height: 3px;
|
561
|
+
border-radius: 4px 4px 0 0;
|
562
|
+
margin-bottom: -1px;
|
563
|
+
background-color: ${e=>e.disabled?"transparent":e.selected?a.info_700:"transparent"};
|
564
|
+
}
|
565
|
+
|
566
|
+
&:focus {
|
567
|
+
border: 2px solid ${a.info_400};
|
568
|
+
border-radius: 8px 8px 0 0;
|
569
|
+
|
570
|
+
& > div.tabActivityIndicator {
|
571
|
+
background-color: ${a.gray_100};
|
572
|
+
}
|
573
|
+
}
|
574
|
+
|
575
|
+
&:hover {
|
576
|
+
& > div.tabActivityIndicator {
|
577
|
+
background-color: ${e=>e.disabled?"transparent":e.selected?a.info_700:a.gray_100};
|
578
|
+
}
|
579
|
+
& > div > p {
|
580
|
+
font-weight: ${e=>e.disabled?400:500};
|
581
|
+
}
|
582
|
+
& > div > svg,
|
583
|
+
& > div > p {
|
584
|
+
fill: ${e=>e.disabled?a.gray_600:(e.selected,a.gray_950)};
|
585
|
+
color: ${e=>e.disabled?a.gray_600:(e.selected,a.gray_950)};
|
586
|
+
}
|
587
|
+
}
|
588
|
+
`,ci=L.div`
|
589
|
+
display: flex;
|
590
|
+
gap: 8px;
|
591
|
+
padding: 12px 20px;
|
592
|
+
`,li=L.p`
|
593
|
+
font-size: 14px;
|
594
|
+
line-height: 16.8px;
|
595
|
+
font-weight: ${e=>e.disabled?400:e.selected?500:400};
|
596
|
+
margin: 0;
|
597
|
+
color: ${e=>e.disabled?a.gray_600:e.selected?a.gray_950:a.gray_700};
|
598
|
+
display: inline-flex;
|
599
|
+
flex-direction: column;
|
600
|
+
align-items: center;
|
601
|
+
justify-content: space-between;
|
602
|
+
&:after {
|
603
|
+
content: attr(data-text);
|
604
|
+
content: attr(data-text) / "";
|
605
|
+
height: 0;
|
606
|
+
visibility: hidden;
|
607
|
+
overflow: hidden;
|
608
|
+
user-select: none;
|
609
|
+
pointer-events: none;
|
610
|
+
font-weight: 500;
|
611
|
+
|
612
|
+
@media speech {
|
613
|
+
display: none;
|
614
|
+
}
|
615
|
+
}
|
616
|
+
`,ui=({label:e,icon:t,selected:r=!1,disabled:o=!1,onClick:i,...s})=>p.jsxs(si,{selected:r,disabled:o,onClick:()=>{!r&&!o&&i&&i()},...s,children:[p.jsxs(ci,{children:[t&&p.jsx(be,{icon:t,size:16}),p.jsx(li,{selected:r,disabled:o,"data-text":e,children:e})]}),p.jsx("div",{className:"tabActivityIndicator"})]}),di=L.div`
|
617
|
+
display: flex;
|
618
|
+
gap: ${e=>e.$gap}px;
|
619
|
+
padding: ${e=>e.$padding};
|
620
|
+
border-bottom: 1px solid ${a.gray_200};
|
621
|
+
border-bottom-style: inset;
|
622
|
+
`,fi=({children:e,gap:t=0,padding:r="0",...o})=>p.jsx(di,{$gap:t,$padding:r,...o,children:e}),pi=L.div`
|
623
|
+
width: fit-content;
|
624
|
+
${e=>!e.$category&&!e.$subcategory?F`
|
625
|
+
font-size: 24px;
|
626
|
+
font-weight: 700;
|
627
|
+
color: ${a.gray_950};
|
628
|
+
line-height: 28.8px;
|
629
|
+
`:F`
|
630
|
+
display: flex;
|
631
|
+
flex-direction: column;
|
632
|
+
gap: 8px;
|
633
|
+
& > h2 {
|
634
|
+
font-size: 24px;
|
635
|
+
font-weight: 700;
|
636
|
+
color: ${a.gray_950};
|
637
|
+
line-height: 28.8px;
|
638
|
+
}
|
639
|
+
|
640
|
+
& > span {
|
641
|
+
font-size: 14px;
|
642
|
+
color: ${a.gray_500};
|
643
|
+
font-weight: 400;
|
644
|
+
line-height: 16.8px;
|
645
|
+
}
|
646
|
+
`}
|
647
|
+
`,gi=({title:e,category:t,subcategory:r})=>{const o=!t&&!r;return p.jsxs(pi,{as:o?"h2":"div",$title:e,$category:t,$subcategory:r,children:[typeof t=="string"&&t&&p.jsx("span",{children:t}),typeof e=="string"&&e&&(o?e:p.jsx("h2",{children:e})),typeof r=="string"&&r&&p.jsx("span",{children:r})]})},hi=L.div`
|
648
|
+
display: flex;
|
649
|
+
flex-direction: column;
|
650
|
+
gap: ${e=>typeof e.$gap=="number"&&e.$gap+"px"};
|
651
|
+
|
652
|
+
& > span:first-child {
|
653
|
+
color: ${e=>a[e.$labelColor]};
|
654
|
+
font-size: ${e=>typeof e.$labelFontSize=="number"&&e.$labelFontSize+"px"};
|
655
|
+
font-weight: 400;
|
656
|
+
line-height: 14.4px;
|
657
|
+
}
|
658
|
+
|
659
|
+
& > span:last-child {
|
660
|
+
color: ${e=>a[e.$textColor]};
|
661
|
+
font-size: ${e=>typeof e.$textFontSize=="number"&&e.$textFontSize+"px"};
|
662
|
+
font-weight: 500;
|
663
|
+
line-height: 16.8px;
|
664
|
+
}
|
665
|
+
`,nt=({text:e="Text",label:t="Label",gap:r=4,labelFontSize:o=12,textFontSize:i=14,labelColor:s="gray_700",textColor:l="gray_950"})=>p.jsxs(hi,{$text:e,$label:t,$gap:r,$labelFontSize:o,$textFontSize:i,$labelColor:s,$textColor:l,children:[typeof t=="string"&&p.jsx("span",{children:t}),typeof e=="string"&&p.jsx("span",{children:e})]}),yi=L.div`
|
666
|
+
display: inline-flex;
|
667
|
+
flex-direction: row;
|
668
|
+
align-items: center;
|
669
|
+
gap: 20px;
|
670
|
+
|
671
|
+
& > div {
|
672
|
+
display: flex;
|
673
|
+
flex-direction: row;
|
674
|
+
align-items: start;
|
675
|
+
gap: 20px;
|
676
|
+
}
|
677
|
+
`,mi=({configurationId:e="N/A",date:t="N/A",branchName:r,children:o})=>p.jsxs(yi,{children:[p.jsxs("div",{children:[p.jsx(nt,{label:"Configuration ID",text:e}),p.jsx(nt,{label:"Din data",text:t}),typeof r=="string"&&!!r&&p.jsx(nt,{label:"Modificat in sucursala",text:r})]}),o&&o]}),vi=L.div`
|
678
|
+
display: flex;
|
679
|
+
flex-direction: column;
|
680
|
+
padding: 12px 16px 16px 16px;
|
681
|
+
gap: 16px;
|
682
|
+
border: 1px solid ${a.gray_150};
|
683
|
+
border-radius: 8px;
|
684
|
+
flex: 1;
|
685
|
+
|
686
|
+
${e=>e.$disabled&&F`
|
687
|
+
background-color: ${a.gray_30};
|
688
|
+
`}
|
689
|
+
|
690
|
+
& > div {
|
691
|
+
display: flex;
|
692
|
+
flex-direction: column;
|
693
|
+
gap: 6px;
|
694
|
+
flex: 1;
|
695
|
+
}
|
696
|
+
|
697
|
+
& > div > span:first-of-type {
|
698
|
+
color: ${e=>e.$disabled?a.gray_600:a.gray_950};
|
699
|
+
font-weight: 700;
|
700
|
+
font-size: 20px;
|
701
|
+
line-height: 24px;
|
702
|
+
}
|
703
|
+
|
704
|
+
${e=>e.$text&&F`
|
705
|
+
& > div > span:last-of-type {
|
706
|
+
font-weight: 400;
|
707
|
+
font-size: 16px;
|
708
|
+
line-height: 19.2px;
|
709
|
+
color: ${a.gray_700};
|
710
|
+
}
|
711
|
+
`}
|
712
|
+
|
713
|
+
${e=>e.$text&&e.$disabled&&F`
|
714
|
+
& > div > span:last-of-type {
|
715
|
+
color: ${a.gray_400};
|
716
|
+
}
|
717
|
+
`}
|
718
|
+
`,bi=({title:e="Title",text:t,buttonVariant:r="secondaryOutlined",buttonText:o,disabled:i})=>p.jsxs(vi,{$title:e,$text:t,$disabled:i,children:[p.jsxs("div",{children:[p.jsx("span",{children:e}),typeof t=="string"&&t&&p.jsx("span",{children:t})]}),p.jsx(zr,{label:o,disabled:i,intent:"accent",variants:r})]});exports.BreadcrumbItem=To;exports.Breadcrumbs=jo;exports.Button=zr;exports.ConfigurationSaveInfo=mi;exports.Container=Xo;exports.Content=Qo;exports.Flex=ai;exports.Icon=be;exports.LabeledText=nt;exports.Layout=qo;exports.Logo=Lo;exports.ProductPageTitle=gi;exports.ProductShortcut=bi;exports.SegmentedTabs=fi;exports.Sidebar=ft;exports.SidebarItem=Uo;exports.Tab=ui;
|
719
|
+
//# sourceMappingURL=index.cjs.js.map
|