dga-ui-react 1.8.0 → 1.8.2
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/cjs/index.js +452 -85
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +430 -63
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +70 -3
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDebugValue as n,createElement as i,useRef as a,useContext as l,useEffect as s}from"react";import{Calendar as d}from"react-multi-date-picker";import{createRoot as c}from"react-dom/client";const p=o.createContext(null),u=({theme:t,children:r})=>e(p.Provider,{value:t,children:r}),g=t=>()=>e(u,{theme:{direction:"rtl"},children:e(t,{})}),h={direction:"ltr",fontFamily:"IBM Plex Sans",textColor:"#161616",textOnColor:"#FFFFFF",palette:{neutral:{25:"#FCFCFD",50:"#F9FAFB",100:"#F3F4F6",200:"#E5E7EB",300:"#D2D6DB",400:"#9DA4AE",500:"#6C737F",600:"#4D5761",700:"#384250",800:"#1F2A37",900:"#111927",950:"#0D121C",light:"#D2D6DB",main:"#6C737F",dark:"#384250",contrastText:"#FFF"},primary:{25:"#F7FDF9",50:"#F3FCF6",100:"#DFF6E7",200:"#B8EACB",300:"#88D8AD",400:"#54C08A",500:"#25935F",600:"#1B8354",700:"#166A45",800:"#14573A",900:"#104631",950:"#092A1E",light:"#54C08A",main:"#1B8354",dark:"#14573A",contrastText:"#FFF"},secondary:{25:"#FFFEF7",50:"#FFFEF2",100:"#FFFCE6",200:"#FCF3BD",300:"#FAE996",400:"#F7D54D",500:"#F5BD02",600:"#DBA102",700:"#B87B02",800:"#945C01",900:"#6E3C00",950:"#472400",light:"#F7D54D",main:"#DBA102",dark:"#945C01",contrastText:"#0D121C"},error:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#55160C",light:"#FDA29B",main:"#F04438",dark:"#B42318",contrastText:"#FFF"},warning:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#4E1D09",light:"#FEC84B",main:"#F79009",dark:"#B54708",contrastText:"#0D121C"},info:{25:"#F5FAFF",50:"#ECFDF3",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185",950:"#102A56",light:"#84CAFF",main:"#2E90FA",dark:"#175CD3",contrastText:"#FFF"},success:{25:"#F6FEF9",50:"#ECFDF3",100:"#DCFAE6",200:"#ABEFC6",300:"#75E0A7",400:"#47CD89",500:"#17B26A",600:"#079455",700:"#067647",800:"#085D3A",900:"#074D31",950:"#053321",light:"#75E0A7",main:"#17B26A",dark:"#067647",contrastText:"#FFF"}},typography:{h1:{fontSize:"72px",lineHeight:"90px"},h2:{fontSize:"60px",lineHeight:"72px"},h3:{fontSize:"48px",lineHeight:"60px"},h4:{fontSize:"36px",lineHeight:"44px"},h5:{fontSize:"30px",lineHeight:"38px"},h6:{fontSize:"24px",lineHeight:"32px"},xl:{fontSize:"20px",lineHeight:"30px"},lg:{fontSize:"18px",lineHeight:"28px"},md:{fontSize:"16px",lineHeight:"24px"},sm:{fontSize:"14px",lineHeight:"20px"},xs:{fontSize:"12px",lineHeight:"18px"}},elevation:{shadows:{xs:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);",sm:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .06), 0px 1px 3px 0px rgba(16, 24, 40, .1);",md:"box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);",lg:"box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);",xl:"box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -4px rgba(16, 24, 40, .08);","2xl":"box-shadow: 0 24px 48px -12px #1018282e;","3xl":"box-shadow: 0 32px 64px -12px #10182824;"},backdropBlur:{sm:"filter: blur(8px);-webkit-filter: blur(8px);",md:"filter: blur(16px);-webkit-filter: blur(16px);",lg:"filter: blur(24px);-webkit-filter: blur(24px);",xl:"filter: blur(40px);-webkit-filter: blur(40px);"}},raduises:{none:"0",xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"24px",full:"9999px"},breakPoints:{lg:1280,md:768,sm:375}},m=(e,t,r=" ")=>e+r+(null!=t?t:""),A=()=>Date.now().toString(36)+Math.random().toString(36).substring(2,8);function f(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}f(".dgaui {\n font-family: IBM Plex Sans Arabic;\n box-sizing: border-box;\n font-size: 14px;\n -webkit-tap-highlight-color: transparent;\n}\n\n.dgaui input,\n.dgaui textarea,\n.dgaui select {\n font-family: IBM Plex Sans Arabic;\n}\n\n.dgaui_hiddenScrollbar {\n -ms-overflow-style: none; /* IE and Edge */\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n/* Hide scrollbar for Chrome, Safari and Opera */\n.dgaui_hiddenScrollbar::-webkit-scrollbar {\n display: none;\n}\n\n.dgauiDragging {\n cursor: grabbing;\n}\n");const b=()=>{const e=o.useContext(p);let t=h;return e&&(t=((e,t)=>{let r={};return t&&(r=function e(t,r){let o=Object.assign({},t);for(const i in r)(n=r[i])&&"object"==typeof n&&!Array.isArray(n)&&i in t?o[i]=e(t[i],r[i]):o[i]=r[i];var n;return o}(e,t)),r})(h,e)),t};var x=function(){return x=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},x.apply(this,arguments)};function v(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}function y(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function C(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}"function"==typeof SuppressedError&&SuppressedError;var w=/^((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)-.*))$/,$=C((function(e){return w.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function k(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S="-ms-",B="-moz-",E="-webkit-",N="comm",z="rule",I="decl",F="@keyframes",R=Math.abs,U=String.fromCharCode,D=Object.assign;function O(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function Y(e,t,r){return e.replace(t,r)}function H(e,t,r){return e.indexOf(t,r)}function M(e,t){return 0|e.charCodeAt(t)}function L(e,t,r){return e.slice(t,r)}function Q(e){return e.length}function j(e){return e.length}function V(e,t){return t.push(e),e}function P(e,t){return e.filter((function(e){return!T(e,t)}))}var K=1,X=1,G=0,W=0,J=0,Z="";function q(e,t,r,o,n,i,a,l){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:K,column:X,length:a,return:"",siblings:l}}function _(e,t){return D(q("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ee(e){for(;e.root;)e=_(e.root,{children:[e]});V(e,e.siblings)}function te(){return J=W>0?M(Z,--W):0,X--,10===J&&(X=1,K--),J}function re(){return J=W<G?M(Z,W++):0,X++,10===J&&(X=1,K++),J}function oe(){return M(Z,W)}function ne(){return W}function ie(e,t){return L(Z,e,t)}function ae(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 le(e){return O(ie(W-1,ce(91===e?e+2:40===e?e+1:e)))}function se(e){for(;(J=oe())&&J<33;)re();return ae(e)>2||ae(J)>3?"":" "}function de(e,t){for(;--t&&re()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return ie(e,ne()+(t<6&&32==oe()&&32==re()))}function ce(e){for(;re();)switch(J){case e:return W;case 34:case 39:34!==e&&39!==e&&ce(J);break;case 40:41===e&&ce(e);break;case 92:re()}return W}function pe(e,t){for(;re()&&e+J!==57&&(e+J!==84||47!==oe()););return"/*"+ie(t,W-1)+"*"+U(47===e?e:re())}function ue(e){for(;!ae(oe());)re();return ie(e,W)}function ge(e){return function(e){return Z="",e}(he("",null,null,null,[""],e=function(e){return K=X=1,G=Q(Z=e),W=0,[]}(e),0,[0],e))}function he(e,t,r,o,n,i,a,l,s){for(var d=0,c=0,p=a,u=0,g=0,h=0,m=1,A=1,f=1,b=0,x="",v=n,y=i,C=o,w=x;A;)switch(h=b,b=re()){case 40:if(108!=h&&58==M(w,p-1)){-1!=H(w+=Y(le(b),"&","&\f"),"&\f",R(d?l[d-1]:0))&&(f=-1);break}case 34:case 39:case 91:w+=le(b);break;case 9:case 10:case 13:case 32:w+=se(h);break;case 92:w+=de(ne()-1,7);continue;case 47:switch(oe()){case 42:case 47:V(Ae(pe(re(),ne()),t,r,s),s);break;default:w+="/"}break;case 123*m:l[d++]=Q(w)*f;case 125*m:case 59:case 0:switch(b){case 0:case 125:A=0;case 59+c:-1==f&&(w=Y(w,/\f/g,"")),g>0&&Q(w)-p&&V(g>32?fe(w+";",o,r,p-1,s):fe(Y(w," ","")+";",o,r,p-2,s),s);break;case 59:w+=";";default:if(V(C=me(w,t,r,d,c,n,l,x,v=[],y=[],p,i),i),123===b)if(0===c)he(w,t,C,C,v,i,p,l,y);else switch(99===u&&110===M(w,3)?100:u){case 100:case 108:case 109:case 115:he(e,C,C,o&&V(me(e,C,C,0,0,n,l,x,n,v=[],p,y),y),n,y,p,l,o?v:y);break;default:he(w,C,C,C,[""],y,0,l,y)}}d=c=g=0,m=f=1,x=w="",p=a;break;case 58:p=1+Q(w),g=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==te())continue;switch(w+=U(b),b*m){case 38:f=c>0?1:(w+="\f",-1);break;case 44:l[d++]=(Q(w)-1)*f,f=1;break;case 64:45===oe()&&(w+=le(re())),u=oe(),c=p=Q(x=w+=ue(ne())),b++;break;case 45:45===h&&2==Q(w)&&(m=0)}}return i}function me(e,t,r,o,n,i,a,l,s,d,c,p){for(var u=n-1,g=0===n?i:[""],h=j(g),m=0,A=0,f=0;m<o;++m)for(var b=0,x=L(e,u+1,u=R(A=a[m])),v=e;b<h;++b)(v=O(A>0?g[b]+" "+x:Y(x,/&\f/g,g[b])))&&(s[f++]=v);return q(e,t,r,0===n?z:l,s,d,c,p)}function Ae(e,t,r,o){return q(e,t,r,N,U(J),L(e,2,-2),0,o)}function fe(e,t,r,o,n){return q(e,t,r,I,L(e,0,o),L(e,o+1,-1),o,n)}function be(e,t,r){switch(function(e,t){return 45^M(e,0)?(((t<<2^M(e,0))<<2^M(e,1))<<2^M(e,2))<<2^M(e,3):0}(e,t)){case 5103:return E+"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 E+e+e;case 4789:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return E+e+B+e+S+e+e;case 5936:switch(M(e,t+11)){case 114:return E+e+S+Y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return E+e+S+Y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return E+e+S+Y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return E+e+S+e+e;case 6165:return E+e+S+"flex-"+e+e;case 5187:return E+e+Y(e,/(\w+).+(:[^]+)/,E+"box-$1$2"+S+"flex-$1$2")+e;case 5443:return E+e+S+"flex-item-"+Y(e,/flex-|-self/g,"")+(T(e,/flex-|baseline/)?"":S+"grid-row-"+Y(e,/flex-|-self/g,""))+e;case 4675:return E+e+S+"flex-line-pack"+Y(e,/align-content|flex-|-self/g,"")+e;case 5548:return E+e+S+Y(e,"shrink","negative")+e;case 5292:return E+e+S+Y(e,"basis","preferred-size")+e;case 6060:return E+"box-"+Y(e,"-grow","")+E+e+S+Y(e,"grow","positive")+e;case 4554:return E+Y(e,/([^-])(transform)/g,"$1"+E+"$2")+e;case 6187:return Y(Y(Y(e,/(zoom-|grab)/,E+"$1"),/(image-set)/,E+"$1"),e,"")+e;case 5495:case 3959:return Y(e,/(image-set\([^]*)/,E+"$1$`$1");case 4968:return Y(Y(e,/(.+:)(flex-)?(.*)/,E+"box-pack:$3"+S+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+E+e+e;case 4200:if(!T(e,/flex-|baseline/))return S+"grid-column-align"+L(e,t)+e;break;case 2592:case 3360:return S+Y(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,T(e.props,/grid-\w+-end/)}))?~H(e+(r=r[t].value),"span",0)?e:S+Y(e,"-start","")+e+S+"grid-row-span:"+(~H(r,"span",0)?T(r,/\d+/):+T(r,/\d+/)-+T(e,/\d+/))+";":S+Y(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return T(e.props,/grid-\w+-start/)}))?e:S+Y(Y(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Y(e,/(.+)-inline(.+)/,E+"$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(Q(e)-1-t>6)switch(M(e,t+1)){case 109:if(45!==M(e,t+4))break;case 102:return Y(e,/(.+:)(.+)-([^]+)/,"$1"+E+"$2-$3$1"+B+(108==M(e,t+3)?"$3":"$2-$3"))+e;case 115:return~H(e,"stretch",0)?be(Y(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Y(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,n,i,a,l){return S+r+":"+o+l+(n?S+r+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===M(e,t+6))return Y(e,":",":"+E)+e;break;case 6444:switch(M(e,45===M(e,14)?18:11)){case 120:return Y(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+E+(45===M(e,14)?"inline-":"")+"box$3$1"+E+"$2$3$1"+S+"$2box$3")+e;case 100:return Y(e,":",":"+S)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Y(e,"scroll-","scroll-snap-")+e}return e}function xe(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function ve(e,t,r,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case I:return e.return=e.return||e.value;case N:return"";case F:return e.return=e.value+"{"+xe(e.children,o)+"}";case z:if(!Q(e.value=e.props.join(",")))return""}return Q(r=xe(e.children,o))?e.return=e.value+"{"+r+"}":""}function ye(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case I:return void(e.return=be(e.value,e.length,r));case F:return xe([_(e,{value:Y(e.value,"@","@"+E)})],o);case z:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(T(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ee(_(e,{props:[Y(t,/:(read-\w+)/,":-moz-$1")]})),ee(_(e,{props:[t]})),D(e,{props:P(r,o)});break;case"::placeholder":ee(_(e,{props:[Y(t,/:(plac\w+)/,":"+E+"input-$1")]})),ee(_(e,{props:[Y(t,/:(plac\w+)/,":-moz-$1")]})),ee(_(e,{props:[Y(t,/:(plac\w+)/,S+"input-$1")]})),ee(_(e,{props:[t]})),D(e,{props:P(r,o)})}return""}))}}var Ce={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},we="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",$e="active",ke="data-styled-version",Se="6.1.15",Be="/*!sc*/\n",Ee="undefined"!=typeof window&&"HTMLElement"in window,Ne=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),ze=/invalid hook call/i,Ie=new Set,Fe=function(e,t){if("production"!==process.env.NODE_ENV){var r=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(r," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",n=console.error;try{var i=!0;console.error=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];ze.test(e)?(i=!1,Ie.delete(o)):n.apply(void 0,y([e],t,!1))},a(),i&&!Ie.has(o)&&(console.warn(o),Ie.add(o))}catch(e){ze.test(e.message)&&Ie.delete(o)}finally{console.error=n}}},Re=Object.freeze([]),Ue=Object.freeze({});var De=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"]),Oe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Te=/(^-|-$)/g;function Ye(e){return e.replace(Oe,"-").replace(Te,"")}var He=/(a)(d)/gi,Me=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Me(t%52)+r;return(Me(t%52)+r).replace(He,"$1-$2")}var Qe,je=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ve=function(e){return je(5381,e)};function Pe(e){return Le(Ve(e)>>>0)}function Ke(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ge="function"==typeof Symbol&&Symbol.for,We=Ge?Symbol.for("react.memo"):60115,Je=Ge?Symbol.for("react.forward_ref"):60112,Ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},qe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},et=((Qe={})[Je]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Qe[We]=_e,Qe);function tt(e){return("type"in(t=e)&&t.type.$$typeof)===We?_e:"$$typeof"in e?et[e.$$typeof]:Ze;var t}var rt=Object.defineProperty,ot=Object.getOwnPropertyNames,nt=Object.getOwnPropertySymbols,it=Object.getOwnPropertyDescriptor,at=Object.getPrototypeOf,lt=Object.prototype;function st(e,t,r){if("string"!=typeof t){if(lt){var o=at(t);o&&o!==lt&&st(e,o,r)}var n=ot(t);nt&&(n=n.concat(nt(t)));for(var i=tt(e),a=tt(t),l=0;l<n.length;++l){var s=n[l];if(!(s in qe||r&&r[s]||a&&s in a||i&&s in i)){var d=it(t,s);try{rt(e,s,d)}catch(e){}}}}return e}function dt(e){return"function"==typeof e}function ct(e){return"object"==typeof e&&"styledComponentId"in e}function pt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ut(e,t){if(0===e.length)return"";for(var r=e[0],o=1;o<e.length;o++)r+=e[o];return r}function gt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ht(e,t,r){if(void 0===r&&(r=!1),!r&&!gt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=ht(e[o],t[o]);else if(gt(t))for(var o in t)e[o]=ht(e[o],t[o]);return e}function mt(e,t){Object.defineProperty(e,"toString",{value:t})}var At="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ft(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],n=1,i=e.length;n<i;n+=1)o.push(e[n]);return o.forEach((function(e){r=r.replace(/%[a-z]/,e)})),r}function bt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return"production"===process.env.NODE_ENV?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(ft.apply(void 0,y([At[e]],t,!1)).trim())}var xt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)if((n<<=1)<0)throw bt(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),o=r+t;this.groupSizes[e]=0;for(var n=r;n<o;n++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,i=o;i<n;i++)t+="".concat(this.tag.getRule(i)).concat(Be);return t},e}(),vt=1<<30,yt=new Map,Ct=new Map,wt=1,$t=function(e){if(yt.has(e))return yt.get(e);for(;Ct.has(wt);)wt++;var t=wt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>vt))throw bt(16,"".concat(t));return yt.set(e,t),Ct.set(t,e),t},kt=function(e,t){wt=t+1,yt.set(e,t),Ct.set(t,e)},St="style[".concat(we,"][").concat(ke,'="').concat(Se,'"]'),Bt=new RegExp("^".concat(we,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Et=function(e,t,r){for(var o,n=r.split(","),i=0,a=n.length;i<a;i++)(o=n[i])&&e.registerName(t,o)},Nt=function(e,t){for(var r,o=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Be),n=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Bt);if(s){var d=0|parseInt(s[1],10),c=s[2];0!==d&&(kt(c,d),Et(e,c,s[3]),e.getTag().insertRules(d,n)),n.length=0}else n.push(l)}}},zt=function(e){for(var t=document.querySelectorAll(St),r=0,o=t.length;r<o;r++){var n=t[r];n&&n.getAttribute(we)!==$e&&(Nt(e,n),n.parentNode&&n.parentNode.removeChild(n))}};var It=function(e){var t=document.head,r=e||t,o=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(we,"]")));return t[t.length-1]}(r),i=void 0!==n?n.nextSibling:null;o.setAttribute(we,$e),o.setAttribute(ke,Se);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),r.insertBefore(o,i),o},Ft=function(){function e(e){this.element=It(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r<o;r++){var n=t[r];if(n.ownerNode===e)return n}throw bt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Rt=function(){function e(e){this.element=It(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ut=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Dt=Ee,Ot={isServer:!Ee,useCSSOMInjection:!Ne},Tt=function(){function e(e,t,r){void 0===e&&(e=Ue),void 0===t&&(t={});var o=this;this.options=x(x({},Ot),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Ee&&Dt&&(Dt=!1,zt(this)),mt(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,o="",n=function(r){var n=function(e){return Ct.get(e)}(r);if(void 0===n)return"continue";var i=e.names.get(n),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var l="".concat(we,".g").concat(r,'[id="').concat(n,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Be)},i=0;i<r;i++)n(i);return o}(o)}))}return e.registerId=function(e){return $t(e)},e.prototype.rehydrate=function(){!this.server&&Ee&&zt(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(x(x({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Ut(r):t?new Ft(r):new Rt(r)}(this.options),new xt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if($t(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules($t(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup($t(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Yt=/&/g,Ht=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}var Lt=new Tt,Qt=function(){var e,t,r,o=Ue,n=o.options,i=void 0===n?Ue:n,a=o.plugins,l=void 0===a?Re:a,s=function(r,o,n){return n.startsWith(t)&&n.endsWith(t)&&n.replaceAll(t,"").length>0?".".concat(e):r},d=l.slice();d.push((function(e){e.type===z&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Yt,t).replace(r,s))})),i.prefix&&d.push(ye),d.push(ve);var c=function(o,n,a,l){void 0===n&&(n=""),void 0===a&&(a=""),void 0===l&&(l="&"),e=l,t=n,r=new RegExp("\\".concat(t,"\\b"),"g");var s=o.replace(Ht,""),c=ge(a||n?"".concat(a," ").concat(n," { ").concat(s," }"):s);i.namespace&&(c=Mt(c,i.namespace));var p,u=[];return xe(c,function(e){var t=j(e);return function(r,o,n,i){for(var a="",l=0;l<t;l++)a+=e[l](r,o,n,i)||"";return a}}(d.concat((p=function(e){return u.push(e)},function(e){e.root||(e=e.return)&&p(e)})))),u};return c.hash=l.length?l.reduce((function(e,t){return t.name||bt(15),je(e,t.name)}),5381).toString():"",c}(),jt=o.createContext({shouldForwardProp:void 0,styleSheet:Lt,stylis:Qt});function Vt(){return l(jt)}jt.Consumer,o.createContext(void 0);var Pt=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Qt);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,mt(this,(function(){throw bt(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Qt),this.name+e.hash},e}(),Kt=function(e){return e>="A"&&e<="Z"};function Xt(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(1===r&&"-"===o&&"-"===e[0])return e;Kt(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Gt=function(e){return null==e||!1===e||""===e},Wt=function(e){var t,r,o=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!Gt(i)&&(Array.isArray(i)&&i.isCss||dt(i)?o.push("".concat(Xt(n),":"),i,";"):gt(i)?o.push.apply(o,y(y(["".concat(n," {")],Wt(i),!1),["}"],!1)):o.push("".concat(Xt(n),": ").concat((t=n,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Ce||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function Jt(e,t,r,o){if(Gt(e))return[];if(ct(e))return[".".concat(e.styledComponentId)];if(dt(e)){if(!dt(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var n=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof n||Array.isArray(n)||n instanceof Pt||gt(n)||null===n||console.error("".concat(Ke(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.")),Jt(n,t,r,o)}var i;return e instanceof Pt?r?(e.inject(r,o),[e.getName(o)]):[e]:gt(e)?Wt(e):Array.isArray(e)?Array.prototype.concat.apply(Re,e.map((function(e){return Jt(e,t,r,o)}))):[e.toString()]}var Zt=Ve(Se),qt=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===r||r.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(dt(r)&&!ct(r))return!1}return!0}(e),this.componentId=t,this.baseHash=je(Zt,t),this.baseStyle=r,Tt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=pt(o,this.staticRulesId);else{var n=ut(Jt(this.rules,e,t,r)),i=Le(je(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(n,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=pt(o,i),this.staticRulesId=i}else{for(var l=je(this.baseHash,r.hash),s="",d=0;d<this.rules.length;d++){var c=this.rules[d];if("string"==typeof c)s+=c,"production"!==process.env.NODE_ENV&&(l=je(l,c));else if(c){var p=ut(Jt(c,e,t,r));l=je(l,p+d),s+=p}}if(s){var u=Le(l>>>0);t.hasNameForId(this.componentId,u)||t.insertRules(this.componentId,u,r(s,".".concat(u),void 0,this.componentId)),o=pt(o,u)}}return o},e}(),_t=o.createContext(void 0);_t.Consumer;var er={},tr=new Set;function rr(e,t,r){var a=ct(e),l=e,s=!Xe(e),d=t.attrs,c=void 0===d?Re:d,p=t.componentId,u=void 0===p?function(e,t){var r="string"!=typeof e?"sc":Ye(e);er[r]=(er[r]||0)+1;var o="".concat(r,"-").concat(Pe(Se+r+er[r]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):p,g=t.displayName,h=void 0===g?function(e){return Xe(e)?"styled.".concat(e):"Styled(".concat(Ke(e),")")}(e):g,m=t.displayName&&t.componentId?"".concat(Ye(t.displayName),"-").concat(t.componentId):t.componentId||u,A=a&&l.attrs?l.attrs.concat(c).filter(Boolean):c,f=t.shouldForwardProp;if(a&&l.shouldForwardProp){var b=l.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;f=function(e,t){return b(e,t)&&v(e,t)}}else f=b}var y=new qt(r,m,a?l.componentStyle:void 0);function C(e,t){return function(e,t,r){var a=e.attrs,l=e.componentStyle,s=e.defaultProps,d=e.foldedComponentIds,c=e.styledComponentId,p=e.target,u=o.useContext(_t),g=Vt(),h=e.shouldForwardProp||g.shouldForwardProp;"production"!==process.env.NODE_ENV&&n(c);var m=function(e,t,r){return void 0===r&&(r=Ue),e.theme!==r.theme&&e.theme||t||r.theme}(t,u,s)||Ue,A=function(e,t,r){for(var o,n=x(x({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=dt(o=e[i])?o(n):o;for(var l in a)n[l]="className"===l?pt(n[l],a[l]):"style"===l?x(x({},n[l]),a[l]):a[l]}return t.className&&(n.className=pt(n.className,t.className)),n}(a,t,m),f=A.as||p,b={};for(var v in A)void 0===A[v]||"$"===v[0]||"as"===v||"theme"===v&&A.theme===m||("forwardedAs"===v?b.as=A.forwardedAs:h&&!h(v,f)||(b[v]=A[v],h||"development"!==process.env.NODE_ENV||$(v)||tr.has(v)||!De.has(f)||(tr.add(v),console.warn('styled-components: it looks like an unknown prop "'.concat(v,'" 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 y=function(e,t){var r=Vt(),o=e.generateAndInjectStyles(t,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&n(o),o}(l,A);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(y);var C=pt(d,c);return y&&(C+=" "+y),A.className&&(C+=" "+A.className),b[Xe(f)&&!De.has(f)?"class":"className"]=C,r&&(b.ref=r),i(f,b)}(w,e,t)}C.displayName=h;var w=o.forwardRef(C);return w.attrs=A,w.componentStyle=y,w.displayName=h,w.shouldForwardProp=f,w.foldedComponentIds=a?pt(l.foldedComponentIds,l.styledComponentId):"",w.styledComponentId=m,w.target=a?l.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var o=0,n=t;o<n.length;o++)ht(e,n[o],!0);return e}({},l.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Fe(h,m),w.warnTooManyClasses=function(e,t){var r={},o=!1;return function(n){if(!o&&(r[n]=!0,Object.keys(r).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,r={}}}}(h,m)),mt(w,(function(){return".".concat(w.styledComponentId)})),s&&st(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function or(e,t){for(var r=[e[0]],o=0,n=t.length;o<n;o+=1)r.push(t[o],e[o+1]);return r}var nr=function(e){return Object.assign(e,{isCss:!0})};function ir(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(dt(e)||gt(e))return nr(Jt(or(Re,y([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Jt(o):nr(Jt(or(o,t)))}function ar(e,t,r){if(void 0===r&&(r=Ue),!t)throw bt(1,t);var o=function(o){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return e(t,r,ir.apply(void 0,y([o],n,!1)))};return o.attrs=function(o){return ar(e,t,x(x({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return ar(e,t,x(x({},r),o))},o}var lr=function(e){return ar(rr,e)},sr=lr;function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=ut(ir.apply(void 0,y([e],t,!1))),n=Pe(o);return new Pt(n,o)}De.forEach((function(e){sr[e]=lr(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var cr="__sc-".concat(we,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[cr]||(window[cr]=0),1===window[cr]&&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.\n\nSee https://s-c.sh/2BAXzed for more info."),window[cr]+=1);var pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAClSURBVHgB7Y89DsIwDIUdomRIMnTIz8oR2Fi5CVfoDYCNjYzcpitnyYJYsoKN2gURSmFsPimSZT8/vwBUZkiD/KNbvDaEEHvnXAcjSCk71MVRQ855ZIwtUXwqmXnvdxSStPAN1toNLt1DCO07M5rhwRVMAU3bfnE79KguHRrgpUHO+aK1xt+zaIy5KaXWWJ9xdEgpHeFXKCkmu9L7lGwSTQ9UKk8eYgIfE1UYUugAAAAASUVORK5CYII=";const ur={small:{h:40,p:8,f:16},medium:{h:48,p:12,f:16},large:{h:56,p:16,f:16}},gr=n=>{var i,{size:a="medium",title:l,expanded:s,onChange:d,defaultExpanded:c,iconAlignment:p="trailing",flush:u=!1,children:g}=n,h=v(n,["size","title","expanded","onChange","defaultExpanded","iconAlignment","flush","children"]);const A=b(),f=o.useRef(null),[x,y]=o.useState(c),[C,w]=o.useState(0);let $=`solid 1px ${A.palette.neutral[300]}`,k="solid 2px transparent",S="pointer",B="#161616";const E=void 0!==s?s:x;h.disabled&&(S="default",$=`solid 1px ${A.palette.neutral[300]}`,k="none",B=A.palette.neutral[400]);return o.useEffect((()=>{var e;(null===(e=f.current)||void 0===e?void 0:e.clientHeight)&&w(f.current.clientHeight)}),[null===(i=f.current)||void 0===i?void 0:i.clientHeight]),t("div",{className:m("dgaui dgaui_accordion",h.className),tabIndex:1,children:[t(hr,Object.assign({$customStyle:{direction:A.direction,minHeight:ur[a].h,padding:ur[a].p,fontSize:ur[a].f,fontColor:B,colors:A.palette.neutral,border:k,borderTop:$,cursor:S},flush:u},h,{onClick:e=>{d&&d(e,!E),y(!E)},className:"dgaui dgaui_accordion_title",children:["leading"===p&&t("div",{style:{display:"flex",alignItems:"flex-start",justifyItems:"center",gap:16},children:[e("span",{children:e("img",{alt:"arrowdown",src:pr,style:{transition:"all 0.2s",transform:E?"rotateZ(180deg)":"none"}})}),e("span",{children:l})]}),"trailing"===p&&t(r,{children:[e("span",{children:l}),e("img",{alt:"arrowdown",src:pr,style:{transition:"all 0.2s",transform:E?"rotateZ(180deg)":"none"}})]})]})),e("div",{className:"dgaui_accordionContent",style:{direction:A.direction,height:E?C:0,overflow:"hidden",transition:"all 0.2s",color:B},children:e("div",{ref:f,style:{padding:16},children:g})})]})},hr=sr.button`
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDebugValue as n,createElement as i,useRef as a,useContext as l,useEffect as s}from"react";import{Calendar as d}from"react-multi-date-picker";import{createRoot as c}from"react-dom/client";const p=o.createContext(null),u=({theme:t,children:r})=>e(p.Provider,{value:t,children:r}),g=t=>()=>e(u,{theme:{direction:"rtl"},children:e(t,{})}),h={direction:"ltr",fontFamily:"IBM Plex Sans",textColor:"#161616",textOnColor:"#FFFFFF",palette:{neutral:{25:"#FCFCFD",50:"#F9FAFB",100:"#F3F4F6",200:"#E5E7EB",300:"#D2D6DB",400:"#9DA4AE",500:"#6C737F",600:"#4D5761",700:"#384250",800:"#1F2A37",900:"#111927",950:"#0D121C",light:"#D2D6DB",main:"#6C737F",dark:"#384250",contrastText:"#FFF"},primary:{25:"#F7FDF9",50:"#F3FCF6",100:"#DFF6E7",200:"#B8EACB",300:"#88D8AD",400:"#54C08A",500:"#25935F",600:"#1B8354",700:"#166A45",800:"#14573A",900:"#104631",950:"#092A1E",light:"#54C08A",main:"#1B8354",dark:"#14573A",contrastText:"#FFF"},secondary:{25:"#FFFEF7",50:"#FFFEF2",100:"#FFFCE6",200:"#FCF3BD",300:"#FAE996",400:"#F7D54D",500:"#F5BD02",600:"#DBA102",700:"#B87B02",800:"#945C01",900:"#6E3C00",950:"#472400",light:"#F7D54D",main:"#DBA102",dark:"#945C01",contrastText:"#0D121C"},error:{25:"#FFFBFA",50:"#FEF3F2",100:"#FEE4E2",200:"#FECDCA",300:"#FDA29B",400:"#F97066",500:"#F04438",600:"#D92D20",700:"#B42318",800:"#912018",900:"#7A271A",950:"#55160C",light:"#FDA29B",main:"#F04438",dark:"#B42318",contrastText:"#FFF"},warning:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E",950:"#4E1D09",light:"#FEC84B",main:"#F79009",dark:"#B54708",contrastText:"#0D121C"},info:{25:"#F5FAFF",50:"#ECFDF3",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185",950:"#102A56",light:"#84CAFF",main:"#2E90FA",dark:"#175CD3",contrastText:"#FFF"},success:{25:"#F6FEF9",50:"#ECFDF3",100:"#DCFAE6",200:"#ABEFC6",300:"#75E0A7",400:"#47CD89",500:"#17B26A",600:"#079455",700:"#067647",800:"#085D3A",900:"#074D31",950:"#053321",light:"#75E0A7",main:"#17B26A",dark:"#067647",contrastText:"#FFF"}},typography:{h1:{fontSize:"72px",lineHeight:"90px"},h2:{fontSize:"60px",lineHeight:"72px"},h3:{fontSize:"48px",lineHeight:"60px"},h4:{fontSize:"36px",lineHeight:"44px"},h5:{fontSize:"30px",lineHeight:"38px"},h6:{fontSize:"24px",lineHeight:"32px"},xl:{fontSize:"20px",lineHeight:"30px"},lg:{fontSize:"18px",lineHeight:"28px"},md:{fontSize:"16px",lineHeight:"24px"},sm:{fontSize:"14px",lineHeight:"20px"},xs:{fontSize:"12px",lineHeight:"18px"}},elevation:{shadows:{xs:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);",sm:"box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .06), 0px 1px 3px 0px rgba(16, 24, 40, .1);",md:"box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);",lg:"box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);",xl:"box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -4px rgba(16, 24, 40, .08);","2xl":"box-shadow: 0 24px 48px -12px #1018282e;","3xl":"box-shadow: 0 32px 64px -12px #10182824;"},backdropBlur:{sm:"filter: blur(8px);-webkit-filter: blur(8px);",md:"filter: blur(16px);-webkit-filter: blur(16px);",lg:"filter: blur(24px);-webkit-filter: blur(24px);",xl:"filter: blur(40px);-webkit-filter: blur(40px);"}},raduises:{none:"0",xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"24px",full:"9999px"},breakPoints:{lg:1280,md:768,sm:375}},m=(e,t,r=" ")=>e+r+(null!=t?t:""),A=()=>Date.now().toString(36)+Math.random().toString(36).substring(2,8);function f(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}f(".dgaui {\n font-family: IBM Plex Sans Arabic;\n box-sizing: border-box;\n font-size: 14px;\n -webkit-tap-highlight-color: transparent;\n}\n\n.dgaui input,\n.dgaui textarea,\n.dgaui select {\n font-family: IBM Plex Sans Arabic;\n}\n\n.dgaui_hiddenScrollbar {\n -ms-overflow-style: none; /* IE and Edge */\n /* Hide scrollbar for IE, Edge and Firefox */\n scrollbar-width: none; /* Firefox */\n}\n/* Hide scrollbar for Chrome, Safari and Opera */\n.dgaui_hiddenScrollbar::-webkit-scrollbar {\n display: none;\n}\n\n.dgauiDragging {\n cursor: grabbing;\n}\n");const b=()=>{const e=o.useContext(p);let t=h;return e&&(t=((e,t)=>{let r={};return t&&(r=function e(t,r){let o=Object.assign({},t);for(const i in r)(n=r[i])&&"object"==typeof n&&!Array.isArray(n)&&i in t?o[i]=e(t[i],r[i]):o[i]=r[i];var n;return o}(e,t)),r})(h,e)),t};var x=function(){return x=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},x.apply(this,arguments)};function v(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}function y(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function w(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}"function"==typeof SuppressedError&&SuppressedError;var C=/^((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)-.*))$/,$=w((function(e){return C.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function k(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S="-ms-",B="-moz-",E="-webkit-",N="comm",z="rule",I="decl",F="@keyframes",U=Math.abs,R=String.fromCharCode,D=Object.assign;function T(e){return e.trim()}function O(e,t){return(e=t.exec(e))?e[0]:e}function Q(e,t,r){return e.replace(t,r)}function H(e,t,r){return e.indexOf(t,r)}function M(e,t){return 0|e.charCodeAt(t)}function Y(e,t,r){return e.slice(t,r)}function L(e){return e.length}function j(e){return e.length}function P(e,t){return t.push(e),e}function V(e,t){return e.filter((function(e){return!O(e,t)}))}var K=1,X=1,G=0,W=0,J=0,Z="";function q(e,t,r,o,n,i,a,l){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:K,column:X,length:a,return:"",siblings:l}}function _(e,t){return D(q("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ee(e){for(;e.root;)e=_(e.root,{children:[e]});P(e,e.siblings)}function te(){return J=W>0?M(Z,--W):0,X--,10===J&&(X=1,K--),J}function re(){return J=W<G?M(Z,W++):0,X++,10===J&&(X=1,K++),J}function oe(){return M(Z,W)}function ne(){return W}function ie(e,t){return Y(Z,e,t)}function ae(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 le(e){return T(ie(W-1,ce(91===e?e+2:40===e?e+1:e)))}function se(e){for(;(J=oe())&&J<33;)re();return ae(e)>2||ae(J)>3?"":" "}function de(e,t){for(;--t&&re()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return ie(e,ne()+(t<6&&32==oe()&&32==re()))}function ce(e){for(;re();)switch(J){case e:return W;case 34:case 39:34!==e&&39!==e&&ce(J);break;case 40:41===e&&ce(e);break;case 92:re()}return W}function pe(e,t){for(;re()&&e+J!==57&&(e+J!==84||47!==oe()););return"/*"+ie(t,W-1)+"*"+R(47===e?e:re())}function ue(e){for(;!ae(oe());)re();return ie(e,W)}function ge(e){return function(e){return Z="",e}(he("",null,null,null,[""],e=function(e){return K=X=1,G=L(Z=e),W=0,[]}(e),0,[0],e))}function he(e,t,r,o,n,i,a,l,s){for(var d=0,c=0,p=a,u=0,g=0,h=0,m=1,A=1,f=1,b=0,x="",v=n,y=i,w=o,C=x;A;)switch(h=b,b=re()){case 40:if(108!=h&&58==M(C,p-1)){-1!=H(C+=Q(le(b),"&","&\f"),"&\f",U(d?l[d-1]:0))&&(f=-1);break}case 34:case 39:case 91:C+=le(b);break;case 9:case 10:case 13:case 32:C+=se(h);break;case 92:C+=de(ne()-1,7);continue;case 47:switch(oe()){case 42:case 47:P(Ae(pe(re(),ne()),t,r,s),s);break;default:C+="/"}break;case 123*m:l[d++]=L(C)*f;case 125*m:case 59:case 0:switch(b){case 0:case 125:A=0;case 59+c:-1==f&&(C=Q(C,/\f/g,"")),g>0&&L(C)-p&&P(g>32?fe(C+";",o,r,p-1,s):fe(Q(C," ","")+";",o,r,p-2,s),s);break;case 59:C+=";";default:if(P(w=me(C,t,r,d,c,n,l,x,v=[],y=[],p,i),i),123===b)if(0===c)he(C,t,w,w,v,i,p,l,y);else switch(99===u&&110===M(C,3)?100:u){case 100:case 108:case 109:case 115:he(e,w,w,o&&P(me(e,w,w,0,0,n,l,x,n,v=[],p,y),y),n,y,p,l,o?v:y);break;default:he(C,w,w,w,[""],y,0,l,y)}}d=c=g=0,m=f=1,x=C="",p=a;break;case 58:p=1+L(C),g=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==te())continue;switch(C+=R(b),b*m){case 38:f=c>0?1:(C+="\f",-1);break;case 44:l[d++]=(L(C)-1)*f,f=1;break;case 64:45===oe()&&(C+=le(re())),u=oe(),c=p=L(x=C+=ue(ne())),b++;break;case 45:45===h&&2==L(C)&&(m=0)}}return i}function me(e,t,r,o,n,i,a,l,s,d,c,p){for(var u=n-1,g=0===n?i:[""],h=j(g),m=0,A=0,f=0;m<o;++m)for(var b=0,x=Y(e,u+1,u=U(A=a[m])),v=e;b<h;++b)(v=T(A>0?g[b]+" "+x:Q(x,/&\f/g,g[b])))&&(s[f++]=v);return q(e,t,r,0===n?z:l,s,d,c,p)}function Ae(e,t,r,o){return q(e,t,r,N,R(J),Y(e,2,-2),0,o)}function fe(e,t,r,o,n){return q(e,t,r,I,Y(e,0,o),Y(e,o+1,-1),o,n)}function be(e,t,r){switch(function(e,t){return 45^M(e,0)?(((t<<2^M(e,0))<<2^M(e,1))<<2^M(e,2))<<2^M(e,3):0}(e,t)){case 5103:return E+"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 E+e+e;case 4789:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return E+e+B+e+S+e+e;case 5936:switch(M(e,t+11)){case 114:return E+e+S+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return E+e+S+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return E+e+S+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return E+e+S+e+e;case 6165:return E+e+S+"flex-"+e+e;case 5187:return E+e+Q(e,/(\w+).+(:[^]+)/,E+"box-$1$2"+S+"flex-$1$2")+e;case 5443:return E+e+S+"flex-item-"+Q(e,/flex-|-self/g,"")+(O(e,/flex-|baseline/)?"":S+"grid-row-"+Q(e,/flex-|-self/g,""))+e;case 4675:return E+e+S+"flex-line-pack"+Q(e,/align-content|flex-|-self/g,"")+e;case 5548:return E+e+S+Q(e,"shrink","negative")+e;case 5292:return E+e+S+Q(e,"basis","preferred-size")+e;case 6060:return E+"box-"+Q(e,"-grow","")+E+e+S+Q(e,"grow","positive")+e;case 4554:return E+Q(e,/([^-])(transform)/g,"$1"+E+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,E+"$1"),/(image-set)/,E+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,E+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,E+"box-pack:$3"+S+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+E+e+e;case 4200:if(!O(e,/flex-|baseline/))return S+"grid-column-align"+Y(e,t)+e;break;case 2592:case 3360:return S+Q(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,O(e.props,/grid-\w+-end/)}))?~H(e+(r=r[t].value),"span",0)?e:S+Q(e,"-start","")+e+S+"grid-row-span:"+(~H(r,"span",0)?O(r,/\d+/):+O(r,/\d+/)-+O(e,/\d+/))+";":S+Q(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return O(e.props,/grid-\w+-start/)}))?e:S+Q(Q(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,E+"$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(L(e)-1-t>6)switch(M(e,t+1)){case 109:if(45!==M(e,t+4))break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+E+"$2-$3$1"+B+(108==M(e,t+3)?"$3":"$2-$3"))+e;case 115:return~H(e,"stretch",0)?be(Q(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Q(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,n,i,a,l){return S+r+":"+o+l+(n?S+r+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===M(e,t+6))return Q(e,":",":"+E)+e;break;case 6444:switch(M(e,45===M(e,14)?18:11)){case 120:return Q(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+E+(45===M(e,14)?"inline-":"")+"box$3$1"+E+"$2$3$1"+S+"$2box$3")+e;case 100:return Q(e,":",":"+S)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Q(e,"scroll-","scroll-snap-")+e}return e}function xe(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function ve(e,t,r,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case I:return e.return=e.return||e.value;case N:return"";case F:return e.return=e.value+"{"+xe(e.children,o)+"}";case z:if(!L(e.value=e.props.join(",")))return""}return L(r=xe(e.children,o))?e.return=e.value+"{"+r+"}":""}function ye(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case I:return void(e.return=be(e.value,e.length,r));case F:return xe([_(e,{value:Q(e.value,"@","@"+E)})],o);case z:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(O(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ee(_(e,{props:[Q(t,/:(read-\w+)/,":-moz-$1")]})),ee(_(e,{props:[t]})),D(e,{props:V(r,o)});break;case"::placeholder":ee(_(e,{props:[Q(t,/:(plac\w+)/,":"+E+"input-$1")]})),ee(_(e,{props:[Q(t,/:(plac\w+)/,":-moz-$1")]})),ee(_(e,{props:[Q(t,/:(plac\w+)/,S+"input-$1")]})),ee(_(e,{props:[t]})),D(e,{props:V(r,o)})}return""}))}}var we={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},Ce="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",$e="active",ke="data-styled-version",Se="6.1.15",Be="/*!sc*/\n",Ee="undefined"!=typeof window&&"HTMLElement"in window,Ne=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),ze=/invalid hook call/i,Ie=new Set,Fe=function(e,t){if("production"!==process.env.NODE_ENV){var r=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(r," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",n=console.error;try{var i=!0;console.error=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];ze.test(e)?(i=!1,Ie.delete(o)):n.apply(void 0,y([e],t,!1))},a(),i&&!Ie.has(o)&&(console.warn(o),Ie.add(o))}catch(e){ze.test(e.message)&&Ie.delete(o)}finally{console.error=n}}},Ue=Object.freeze([]),Re=Object.freeze({});var De=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"]),Te=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Oe=/(^-|-$)/g;function Qe(e){return e.replace(Te,"-").replace(Oe,"")}var He=/(a)(d)/gi,Me=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ye(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Me(t%52)+r;return(Me(t%52)+r).replace(He,"$1-$2")}var Le,je=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Pe=function(e){return je(5381,e)};function Ve(e){return Ye(Pe(e)>>>0)}function Ke(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ge="function"==typeof Symbol&&Symbol.for,We=Ge?Symbol.for("react.memo"):60115,Je=Ge?Symbol.for("react.forward_ref"):60112,Ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},qe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},et=((Le={})[Je]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Le[We]=_e,Le);function tt(e){return("type"in(t=e)&&t.type.$$typeof)===We?_e:"$$typeof"in e?et[e.$$typeof]:Ze;var t}var rt=Object.defineProperty,ot=Object.getOwnPropertyNames,nt=Object.getOwnPropertySymbols,it=Object.getOwnPropertyDescriptor,at=Object.getPrototypeOf,lt=Object.prototype;function st(e,t,r){if("string"!=typeof t){if(lt){var o=at(t);o&&o!==lt&&st(e,o,r)}var n=ot(t);nt&&(n=n.concat(nt(t)));for(var i=tt(e),a=tt(t),l=0;l<n.length;++l){var s=n[l];if(!(s in qe||r&&r[s]||a&&s in a||i&&s in i)){var d=it(t,s);try{rt(e,s,d)}catch(e){}}}}return e}function dt(e){return"function"==typeof e}function ct(e){return"object"==typeof e&&"styledComponentId"in e}function pt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ut(e,t){if(0===e.length)return"";for(var r=e[0],o=1;o<e.length;o++)r+=e[o];return r}function gt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ht(e,t,r){if(void 0===r&&(r=!1),!r&&!gt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=ht(e[o],t[o]);else if(gt(t))for(var o in t)e[o]=ht(e[o],t[o]);return e}function mt(e,t){Object.defineProperty(e,"toString",{value:t})}var At="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ft(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],n=1,i=e.length;n<i;n+=1)o.push(e[n]);return o.forEach((function(e){r=r.replace(/%[a-z]/,e)})),r}function bt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return"production"===process.env.NODE_ENV?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(ft.apply(void 0,y([At[e]],t,!1)).trim())}var xt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)if((n<<=1)<0)throw bt(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),o=r+t;this.groupSizes[e]=0;for(var n=r;n<o;n++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,i=o;i<n;i++)t+="".concat(this.tag.getRule(i)).concat(Be);return t},e}(),vt=1<<30,yt=new Map,wt=new Map,Ct=1,$t=function(e){if(yt.has(e))return yt.get(e);for(;wt.has(Ct);)Ct++;var t=Ct++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>vt))throw bt(16,"".concat(t));return yt.set(e,t),wt.set(t,e),t},kt=function(e,t){Ct=t+1,yt.set(e,t),wt.set(t,e)},St="style[".concat(Ce,"][").concat(ke,'="').concat(Se,'"]'),Bt=new RegExp("^".concat(Ce,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Et=function(e,t,r){for(var o,n=r.split(","),i=0,a=n.length;i<a;i++)(o=n[i])&&e.registerName(t,o)},Nt=function(e,t){for(var r,o=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Be),n=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Bt);if(s){var d=0|parseInt(s[1],10),c=s[2];0!==d&&(kt(c,d),Et(e,c,s[3]),e.getTag().insertRules(d,n)),n.length=0}else n.push(l)}}},zt=function(e){for(var t=document.querySelectorAll(St),r=0,o=t.length;r<o;r++){var n=t[r];n&&n.getAttribute(Ce)!==$e&&(Nt(e,n),n.parentNode&&n.parentNode.removeChild(n))}};var It=function(e){var t=document.head,r=e||t,o=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Ce,"]")));return t[t.length-1]}(r),i=void 0!==n?n.nextSibling:null;o.setAttribute(Ce,$e),o.setAttribute(ke,Se);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),r.insertBefore(o,i),o},Ft=function(){function e(e){this.element=It(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r<o;r++){var n=t[r];if(n.ownerNode===e)return n}throw bt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ut=function(){function e(e){this.element=It(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Rt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Dt=Ee,Tt={isServer:!Ee,useCSSOMInjection:!Ne},Ot=function(){function e(e,t,r){void 0===e&&(e=Re),void 0===t&&(t={});var o=this;this.options=x(x({},Tt),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Ee&&Dt&&(Dt=!1,zt(this)),mt(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,o="",n=function(r){var n=function(e){return wt.get(e)}(r);if(void 0===n)return"continue";var i=e.names.get(n),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var l="".concat(Ce,".g").concat(r,'[id="').concat(n,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Be)},i=0;i<r;i++)n(i);return o}(o)}))}return e.registerId=function(e){return $t(e)},e.prototype.rehydrate=function(){!this.server&&Ee&&zt(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(x(x({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Rt(r):t?new Ft(r):new Ut(r)}(this.options),new xt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if($t(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules($t(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup($t(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Qt=/&/g,Ht=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}var Yt=new Ot,Lt=function(){var e,t,r,o=Re,n=o.options,i=void 0===n?Re:n,a=o.plugins,l=void 0===a?Ue:a,s=function(r,o,n){return n.startsWith(t)&&n.endsWith(t)&&n.replaceAll(t,"").length>0?".".concat(e):r},d=l.slice();d.push((function(e){e.type===z&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Qt,t).replace(r,s))})),i.prefix&&d.push(ye),d.push(ve);var c=function(o,n,a,l){void 0===n&&(n=""),void 0===a&&(a=""),void 0===l&&(l="&"),e=l,t=n,r=new RegExp("\\".concat(t,"\\b"),"g");var s=o.replace(Ht,""),c=ge(a||n?"".concat(a," ").concat(n," { ").concat(s," }"):s);i.namespace&&(c=Mt(c,i.namespace));var p,u=[];return xe(c,function(e){var t=j(e);return function(r,o,n,i){for(var a="",l=0;l<t;l++)a+=e[l](r,o,n,i)||"";return a}}(d.concat((p=function(e){return u.push(e)},function(e){e.root||(e=e.return)&&p(e)})))),u};return c.hash=l.length?l.reduce((function(e,t){return t.name||bt(15),je(e,t.name)}),5381).toString():"",c}(),jt=o.createContext({shouldForwardProp:void 0,styleSheet:Yt,stylis:Lt});function Pt(){return l(jt)}jt.Consumer,o.createContext(void 0);var Vt=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Lt);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,mt(this,(function(){throw bt(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Lt),this.name+e.hash},e}(),Kt=function(e){return e>="A"&&e<="Z"};function Xt(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(1===r&&"-"===o&&"-"===e[0])return e;Kt(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Gt=function(e){return null==e||!1===e||""===e},Wt=function(e){var t,r,o=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!Gt(i)&&(Array.isArray(i)&&i.isCss||dt(i)?o.push("".concat(Xt(n),":"),i,";"):gt(i)?o.push.apply(o,y(y(["".concat(n," {")],Wt(i),!1),["}"],!1)):o.push("".concat(Xt(n),": ").concat((t=n,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in we||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function Jt(e,t,r,o){if(Gt(e))return[];if(ct(e))return[".".concat(e.styledComponentId)];if(dt(e)){if(!dt(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var n=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof n||Array.isArray(n)||n instanceof Vt||gt(n)||null===n||console.error("".concat(Ke(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.")),Jt(n,t,r,o)}var i;return e instanceof Vt?r?(e.inject(r,o),[e.getName(o)]):[e]:gt(e)?Wt(e):Array.isArray(e)?Array.prototype.concat.apply(Ue,e.map((function(e){return Jt(e,t,r,o)}))):[e.toString()]}var Zt=Pe(Se),qt=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===r||r.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(dt(r)&&!ct(r))return!1}return!0}(e),this.componentId=t,this.baseHash=je(Zt,t),this.baseStyle=r,Ot.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=pt(o,this.staticRulesId);else{var n=ut(Jt(this.rules,e,t,r)),i=Ye(je(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(n,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=pt(o,i),this.staticRulesId=i}else{for(var l=je(this.baseHash,r.hash),s="",d=0;d<this.rules.length;d++){var c=this.rules[d];if("string"==typeof c)s+=c,"production"!==process.env.NODE_ENV&&(l=je(l,c));else if(c){var p=ut(Jt(c,e,t,r));l=je(l,p+d),s+=p}}if(s){var u=Ye(l>>>0);t.hasNameForId(this.componentId,u)||t.insertRules(this.componentId,u,r(s,".".concat(u),void 0,this.componentId)),o=pt(o,u)}}return o},e}(),_t=o.createContext(void 0);_t.Consumer;var er={},tr=new Set;function rr(e,t,r){var a=ct(e),l=e,s=!Xe(e),d=t.attrs,c=void 0===d?Ue:d,p=t.componentId,u=void 0===p?function(e,t){var r="string"!=typeof e?"sc":Qe(e);er[r]=(er[r]||0)+1;var o="".concat(r,"-").concat(Ve(Se+r+er[r]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):p,g=t.displayName,h=void 0===g?function(e){return Xe(e)?"styled.".concat(e):"Styled(".concat(Ke(e),")")}(e):g,m=t.displayName&&t.componentId?"".concat(Qe(t.displayName),"-").concat(t.componentId):t.componentId||u,A=a&&l.attrs?l.attrs.concat(c).filter(Boolean):c,f=t.shouldForwardProp;if(a&&l.shouldForwardProp){var b=l.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;f=function(e,t){return b(e,t)&&v(e,t)}}else f=b}var y=new qt(r,m,a?l.componentStyle:void 0);function w(e,t){return function(e,t,r){var a=e.attrs,l=e.componentStyle,s=e.defaultProps,d=e.foldedComponentIds,c=e.styledComponentId,p=e.target,u=o.useContext(_t),g=Pt(),h=e.shouldForwardProp||g.shouldForwardProp;"production"!==process.env.NODE_ENV&&n(c);var m=function(e,t,r){return void 0===r&&(r=Re),e.theme!==r.theme&&e.theme||t||r.theme}(t,u,s)||Re,A=function(e,t,r){for(var o,n=x(x({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=dt(o=e[i])?o(n):o;for(var l in a)n[l]="className"===l?pt(n[l],a[l]):"style"===l?x(x({},n[l]),a[l]):a[l]}return t.className&&(n.className=pt(n.className,t.className)),n}(a,t,m),f=A.as||p,b={};for(var v in A)void 0===A[v]||"$"===v[0]||"as"===v||"theme"===v&&A.theme===m||("forwardedAs"===v?b.as=A.forwardedAs:h&&!h(v,f)||(b[v]=A[v],h||"development"!==process.env.NODE_ENV||$(v)||tr.has(v)||!De.has(f)||(tr.add(v),console.warn('styled-components: it looks like an unknown prop "'.concat(v,'" 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 y=function(e,t){var r=Pt(),o=e.generateAndInjectStyles(t,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&n(o),o}(l,A);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(y);var w=pt(d,c);return y&&(w+=" "+y),A.className&&(w+=" "+A.className),b[Xe(f)&&!De.has(f)?"class":"className"]=w,r&&(b.ref=r),i(f,b)}(C,e,t)}w.displayName=h;var C=o.forwardRef(w);return C.attrs=A,C.componentStyle=y,C.displayName=h,C.shouldForwardProp=f,C.foldedComponentIds=a?pt(l.foldedComponentIds,l.styledComponentId):"",C.styledComponentId=m,C.target=a?l.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var o=0,n=t;o<n.length;o++)ht(e,n[o],!0);return e}({},l.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Fe(h,m),C.warnTooManyClasses=function(e,t){var r={},o=!1;return function(n){if(!o&&(r[n]=!0,Object.keys(r).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,r={}}}}(h,m)),mt(C,(function(){return".".concat(C.styledComponentId)})),s&&st(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function or(e,t){for(var r=[e[0]],o=0,n=t.length;o<n;o+=1)r.push(t[o],e[o+1]);return r}var nr=function(e){return Object.assign(e,{isCss:!0})};function ir(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(dt(e)||gt(e))return nr(Jt(or(Ue,y([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Jt(o):nr(Jt(or(o,t)))}function ar(e,t,r){if(void 0===r&&(r=Re),!t)throw bt(1,t);var o=function(o){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return e(t,r,ir.apply(void 0,y([o],n,!1)))};return o.attrs=function(o){return ar(e,t,x(x({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return ar(e,t,x(x({},r),o))},o}var lr=function(e){return ar(rr,e)},sr=lr;function dr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=ut(ir.apply(void 0,y([e],t,!1))),n=Ve(o);return new Vt(n,o)}De.forEach((function(e){sr[e]=lr(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var cr="__sc-".concat(Ce,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[cr]||(window[cr]=0),1===window[cr]&&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.\n\nSee https://s-c.sh/2BAXzed for more info."),window[cr]+=1);var pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAClSURBVHgB7Y89DsIwDIUdomRIMnTIz8oR2Fi5CVfoDYCNjYzcpitnyYJYsoKN2gURSmFsPimSZT8/vwBUZkiD/KNbvDaEEHvnXAcjSCk71MVRQ855ZIwtUXwqmXnvdxSStPAN1toNLt1DCO07M5rhwRVMAU3bfnE79KguHRrgpUHO+aK1xt+zaIy5KaXWWJ9xdEgpHeFXKCkmu9L7lGwSTQ9UKk8eYgIfE1UYUugAAAAASUVORK5CYII=";const ur={small:{h:40,p:8,f:16},medium:{h:48,p:12,f:16},large:{h:56,p:16,f:16}},gr=n=>{var i,{size:a="medium",title:l,expanded:s,onChange:d,defaultExpanded:c,iconAlignment:p="trailing",flush:u=!1,children:g}=n,h=v(n,["size","title","expanded","onChange","defaultExpanded","iconAlignment","flush","children"]);const A=b(),f=o.useRef(null),[x,y]=o.useState(c),[w,C]=o.useState(0);let $=`solid 1px ${A.palette.neutral[300]}`,k="solid 2px transparent",S="pointer",B="#161616";const E=void 0!==s?s:x;h.disabled&&(S="default",$=`solid 1px ${A.palette.neutral[300]}`,k="none",B=A.palette.neutral[400]);return o.useEffect((()=>{var e;(null===(e=f.current)||void 0===e?void 0:e.clientHeight)&&C(f.current.clientHeight)}),[null===(i=f.current)||void 0===i?void 0:i.clientHeight]),t("div",{className:m("dgaui dgaui_accordion",h.className),tabIndex:1,children:[t(hr,Object.assign({$customStyle:{direction:A.direction,minHeight:ur[a].h,padding:ur[a].p,fontSize:ur[a].f,fontColor:B,colors:A.palette.neutral,border:k,borderTop:$,cursor:S},flush:u},h,{onClick:e=>{d&&d(e,!E),y(!E)},className:"dgaui dgaui_accordion_title",children:["leading"===p&&t("div",{style:{display:"flex",alignItems:"flex-start",justifyItems:"center",gap:16},children:[e("span",{children:e("img",{alt:"arrowdown",src:pr,style:{transition:"all 0.2s",transform:E?"rotateZ(180deg)":"none"}})}),e("span",{children:l})]}),"trailing"===p&&t(r,{children:[e("span",{children:l}),e("img",{alt:"arrowdown",src:pr,style:{transition:"all 0.2s",transform:E?"rotateZ(180deg)":"none"}})]})]})),e("div",{className:"dgaui_accordionContent",style:{direction:A.direction,height:E?w:0,overflow:"hidden",transition:"all 0.2s",color:B},children:e("div",{ref:f,style:{padding:16},children:g})})]})},hr=sr.button`
|
|
2
2
|
direction: ${e=>e.$customStyle.direction};
|
|
3
3
|
outline: none;
|
|
4
4
|
min-height: ${e=>e.$customStyle.minHeight}px;
|
|
@@ -30,7 +30,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
30
30
|
&:disabled:active {
|
|
31
31
|
background-color: #fff;
|
|
32
32
|
}
|
|
33
|
-
`;var mr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEA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DVcit/IlEvIf/ksmSsEROKr4b//Fi+TEsC7KhkxVSAqOsrfPgcM2tdIvAWTNazJr7d0V/hnXbqURLlmbECXvZQLcWJHDF0l77PrcLjKVs6DuLJLtQlDM3IWD5pv4iVV5lKVuYoWyVc8t+4QA3Peqf/Oha5ZkNSz9TWbn+d5Zh+4G5fQMA8cBCDpoKdwAAAABJRU5ErkJggg==";const br=({indeterminate:t=!1})=>e("svg",t?{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("rect",{width:"12",height:"2",rx:"1",className:"checkmark",fill:"white"})}:{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5945 0.535432C12.1352 1.07616 12.1352 1.95286 11.5945 2.4936L5.2483 8.83982C4.98864 9.09949 4.63645 9.24537 4.26923 9.24537C3.90201 9.24537 3.54983 9.09949 3.29016 8.83982L0.405544 5.95517C-0.135181 5.41444 -0.135181 4.53774 0.405545 3.99701C0.946271 3.45628 1.82296 3.45628 2.36369 3.99701L4.26923 5.90257L9.63631 0.535432C10.177 -0.00530017 11.0537 -0.00530013 11.5945 0.535432Z",className:"checkmark",fill:"white"})}),xr={xSmall:{w:14,h:14,svgW:9,svgH:9,svgLeft:2.5,svgTop:3},small:{w:18,h:18,svgW:12,svgH:12,svgLeft:3,svgTop:4},medium:{w:22,h:22,svgW:14,svgH:14,svgLeft:4,svgTop:5}},vr=r=>{var{label:o,description:n,error:i,onChange:l,value:d,size:c,style:p="primary",indeterminate:u=!1}=r,g=v(r,["label","description","error","onChange","value","size","style","indeterminate"]);const h=b(),f={neutral:{default:(x=h).palette.neutral[600],hovered:x.palette.neutral[800],active:x.palette.neutral[900],disabled:x.palette.neutral[200]},primary:{default:x.palette.primary[600],hovered:x.palette.primary[800],active:x.palette.primary[900],disabled:x.palette.neutral[200]}};var x;const y=null!=c?c:"medium";let
|
|
33
|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YH0c6v5+/vb8IgWB5RgPxuQSE0JOyBeAzUprcJBZufV9GMEHCvlSuHg6jU8koPUNFY8KxDNkplUuVD6yKhXaDVcit/IlEvIf/ksmSsEROKr4b//Fi+TEsC7KhkxVSAqOsrfPgcM2tdIvAWTNazJr7d0V/hnXbqURLlmbECXvZQLcWJHDF0l77PrcLjKVs6DuLJLtQlDM3IWD5pv4iVV5lKVuYoWyVc8t+4QA3Peqf/Oha5ZkNSz9TWbn+d5Zh+4G5fQMA8cBCDpoKdwAAAABJRU5ErkJggg==";const br=({indeterminate:t=!1})=>e("svg",t?{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("rect",{width:"12",height:"2",rx:"1",className:"checkmark",fill:"white"})}:{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5945 0.535432C12.1352 1.07616 12.1352 1.95286 11.5945 2.4936L5.2483 8.83982C4.98864 9.09949 4.63645 9.24537 4.26923 9.24537C3.90201 9.24537 3.54983 9.09949 3.29016 8.83982L0.405544 5.95517C-0.135181 5.41444 -0.135181 4.53774 0.405545 3.99701C0.946271 3.45628 1.82296 3.45628 2.36369 3.99701L4.26923 5.90257L9.63631 0.535432C10.177 -0.00530017 11.0537 -0.00530013 11.5945 0.535432Z",className:"checkmark",fill:"white"})}),xr={xSmall:{w:14,h:14,svgW:9,svgH:9,svgLeft:2.5,svgTop:3},small:{w:18,h:18,svgW:12,svgH:12,svgLeft:3,svgTop:4},medium:{w:22,h:22,svgW:14,svgH:14,svgLeft:4,svgTop:5}},vr=r=>{var{label:o,description:n,error:i,onChange:l,value:d,size:c,style:p="primary",indeterminate:u=!1}=r,g=v(r,["label","description","error","onChange","value","size","style","indeterminate"]);const h=b(),f={neutral:{default:(x=h).palette.neutral[600],hovered:x.palette.neutral[800],active:x.palette.neutral[900],disabled:x.palette.neutral[200]},primary:{default:x.palette.primary[600],hovered:x.palette.primary[800],active:x.palette.primary[900],disabled:x.palette.neutral[200]}};var x;const y=null!=c?c:"medium";let w=h.textColor,C=f[p].default,$=f[p].hovered,k=f[p].active;const S=A(),B=a(null);return s((()=>{B.current&&(B.current.indeterminate=u)}),[u]),t(yr,{$customStyle:{theme:h,fontColor:w,backgroundColor:C,backgroundColorHovered:$,backgroundColorActive:k,width:xr[y].w,height:xr[y].h,svgW:xr[y].svgW,svgH:xr[y].svgW,svgLeft:xr[y].svgLeft,svgTop:xr[y].svgTop},className:m("dgaui dgaui_checkboxContainer",g.className),children:[t("div",{className:"dgaui_checkboxHead",children:[t("label",{className:"dgaui_checkbox",children:[e("input",Object.assign({ref:B,id:S,type:"checkbox"},g,{checked:d,onChange:e=>{l&&l(e,e.target.checked)}})),e(br,{indeterminate:u})]}),o&&e("label",{htmlFor:g.id||S,className:"dgaui_checkboxLabel",children:o})]}),(n||i)&&t("div",{className:"dgaui_checkboxDescription",children:[n&&e("div",{className:"dgaui_checkboxDescriptionText",children:n}),i&&e("div",{className:"dgaui_checkboxDescriptionError",children:i})]})]})},yr=sr.div`
|
|
34
34
|
direction: ${e=>e.$customStyle.theme.direction};
|
|
35
35
|
color: ${e=>e.$customStyle.fontColor};
|
|
36
36
|
|
|
@@ -217,7 +217,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
217
217
|
height: 0;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
`,
|
|
220
|
+
`,wr=r=>{var{selected:o,multiple:n,value:i,onClick:a,children:l}=r,s=v(r,["selected","multiple","value","onClick","children"]);const d=b();return t(Cr,{className:m("dgaui dgaui_dropdownItem"+(o?" selected":""),s.className),$theme:d,$selected:o,$multiple:n,onClick:e=>{a&&a(e,i)},children:[n&&e(vr,{color:"neutral",size:"small",value:o}),l]})},Cr=sr.div`
|
|
221
221
|
direction: ${e=>e.$theme.direction};
|
|
222
222
|
color: ${e=>e.$theme.textColor};
|
|
223
223
|
padding: 8px;
|
|
@@ -249,7 +249,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
249
249
|
margin-bottom: 0;
|
|
250
250
|
margin-inline-end: 8px;
|
|
251
251
|
}
|
|
252
|
-
`,$r={xsmall:{w:56,h:20,py:8,f:10},small:{w:64,h:24,py:8,f:12},medium:{w:86,h:32,py:12,f:16}},kr=o=>{var n,{children:i,style:a,size:l,outLine:s,iconOnly:d,leadIcon:c,trailIcon:p,rounded:u}=o,g=v(o,["children","style","size","outLine","iconOnly","leadIcon","trailIcon","rounded"]);const h=b(),A=null!=a?a:"neutral",f=null!=l?l:"medium",x=null==s||s,y=null!==(n={neutral:{bg:(
|
|
252
|
+
`,$r={xsmall:{w:56,h:20,py:8,f:10},small:{w:64,h:24,py:8,f:12},medium:{w:86,h:32,py:12,f:16}},kr=o=>{var n,{children:i,style:a,size:l,outLine:s,iconOnly:d,leadIcon:c,trailIcon:p,rounded:u}=o,g=v(o,["children","style","size","outLine","iconOnly","leadIcon","trailIcon","rounded"]);const h=b(),A=null!=a?a:"neutral",f=null!=l?l:"medium",x=null==s||s,y=null!==(n={neutral:{bg:(w=h).palette.neutral[50],border:w.palette.neutral[200],borderOutlined:w.palette.neutral[600],fontColor:w.palette.neutral[800]},success:{bg:w.palette.info[50],border:w.palette.success[200],borderOutlined:w.palette.success[700],fontColor:w.palette.success[800]},error:{bg:w.palette.error[50],border:w.palette.error[200],borderOutlined:w.palette.error[700],fontColor:w.palette.error[800]},warning:{bg:w.palette.warning[50],border:w.palette.warning[200],borderOutlined:w.palette.warning[700],fontColor:w.palette.warning[800]},info:{bg:"#EFF8FF",border:w.palette.info[200],borderOutlined:w.palette.info[700],fontColor:w.palette.info[800]},onColor:{bg:"rgba(255, 255, 255, 0.2)",border:"transparent",borderOutlined:"rgba(255, 255, 255, 0.6)",fontColor:w.textOnColor}})&&void 0!==n?n:"neutral";var w;let C=y[A].bg,$=y[A].border,k=y[A].borderOutlined,S=y[A].fontColor,B=`border: 1px solid ${$}`,E=u?9999:4;return x&&(C="transparent",B=`border: 1px solid ${k}`),t(Sr,{className:m("dgaui dgaui_tag",g.className),$customStyle:{direction:h.direction,minWidth:d?0:$r[f].w,height:$r[f].h,paddingY:$r[f].py,fontSize:$r[f].f,fontColor:S,backgroundColor:C,border:B,borderRadius:E},children:[d&&e("div",{className:"iconOnly",children:c||i}),!d&&t(r,{children:[e("div",{className:"leadIcon",children:c}),i,e("div",{className:"trailIcon",children:p})]})]})},Sr=sr.div`
|
|
253
253
|
direction: ${e=>e.$customStyle.direction};
|
|
254
254
|
min-width: ${e=>e.$customStyle.minWidth}px;
|
|
255
255
|
color: ${e=>e.$customStyle.fontColor};
|
|
@@ -272,7 +272,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
272
272
|
margin-inline-start: 4px;
|
|
273
273
|
display: inline-flex;
|
|
274
274
|
}
|
|
275
|
-
`,Br={medium:{w:320,h:32,p:16,f:14},large:{w:320,h:40,p:16,f:16}},Er=({label:r,className:n,size:i,variant:a,error:l,onChange:s,value:d,placeholder:c,options:p,getOptionLabel:u,disabled:g,multiple:h,maxTagsToShow:A,maxTagsLabel:f})=>{const x=b(),[v,y]=o.useState(!1),[C
|
|
275
|
+
`,Br={medium:{w:320,h:32,p:16,f:14},large:{w:320,h:40,p:16,f:16}},Er=({label:r,className:n,size:i,variant:a,error:l,onChange:s,value:d,placeholder:c,options:p,getOptionLabel:u,disabled:g,multiple:h,maxTagsToShow:A,maxTagsLabel:f})=>{const x=b(),[v,y]=o.useState(!1),[w,C]=o.useState(""),[$,k]=o.useState(""),[S,B]=o.useState(),[E,N]=o.useState({top:0,left:0,width:0}),z=o.useRef(null),I=null!=i?i:"large";let F=x.textColor,U=x.palette.neutral[500],R=`1px solid ${l?x.palette.error[700]:x.palette.neutral[400]}`,D=`1px solid ${l?x.palette.error[700]:x.palette.neutral[700]}`,T=`1px solid ${l?x.palette.error[700]:x.palette.neutral[700]}`,O="#FFF",Q=l?x.palette.error[700]:x.textColor,H=x.elevation.shadows.md;"lighter"===a&&(O=x.palette.neutral[25],R="1px solid transparent",D=`1px solid ${x.palette.neutral[400]}`,T=`1px solid ${x.palette.neutral[400]}`),"darker"===a&&(O=x.palette.neutral[100]),g&&(F=x.palette.neutral[400],R=`1px solid ${x.palette.neutral[200]}`,D=`1px solid ${x.palette.neutral[200]}`);const M=e=>u?u(e):null==e?void 0:e.label,Y=o.useMemo((()=>{let e=[];return $&&p.length>0?p.forEach((t=>{var r;(u&&u(t).toLowerCase().trim().includes($.toLowerCase().trim())||!u&&(null===(r=null==t?void 0:t.label)||void 0===r?void 0:r.toLowerCase().trim().includes($.toLowerCase().trim())))&&e.push(t)})):e=p,e}),[p,$]),L=()=>{z.current&&N({top:z.current.offsetTop+z.current.clientHeight,left:z.current.offsetLeft,width:z.current.clientWidth})};return o.useEffect((()=>{if(z.current){const e=()=>{z.current&&L()},t=e=>{var t;(null===(t=z.current)||void 0===t?void 0:t.contains(e.target))||y(!1)};return window.addEventListener("resize",e),window.addEventListener("click",t),()=>{window.removeEventListener("resize",e),window.removeEventListener("click",t)}}}),[z]),o.useEffect((()=>{if(!d)return C(""),k(""),B([]),void y(!1);Array.isArray(d)||C(M(d)),h&&Array.isArray(d)?B(d):B([d])}),[d,p]),o.useEffect((()=>{v&&L()}),[v,S]),t(Nr,{$theme:x,className:m("dgaui dgaui_autocomplete",n),children:[e("label",{className:g?"disabled":void 0,children:r}),t(zr,{ref:z,onClick:()=>y((e=>!e)),className:"dgaui_dropdownContainer "+(h?"multiple ":"")+(g?"disabled":""),$customStyle:{theme:x,direction:x.direction,minWidth:Br[I].w,height:Br[I].h,padding:Br[I].p,fontSize:Br[I].f,placeholderFontColor:U,fontColor:F,border:R,borderHovered:D,borderFocused:T,backgroundColor:O,shadowFocus:H},children:[h&&(!A||A&&S&&(null==S?void 0:S.length)<=A)&&(null==S?void 0:S.map(((r,o)=>t(kr,{rounded:!0,size:"medium",color:"neutral",children:[M(r),e("button",{className:"deleteIcon",onClick:e=>((e,t)=>{if(e.stopPropagation(),h&&S){let r=[];const o=S.filter((e=>e!==t));B(o),r=p.filter((e=>o.includes(e))),s&&s(e,r)}})(e,r)})]},o)))),h&&A&&A>0&&S&&(null==S?void 0:S.length)>A&&t(kr,{rounded:!0,size:"medium",color:"neutral",children:[f||`${S.length} selected`,e("button",{className:"deleteIcon",onClick:e=>{e.stopPropagation(),h&&S&&(B([]),s&&s(e,[]))}})]}),e("input",{className:"dgaui",disabled:g,placeholder:c,value:w,onChange:e=>{v||y(!0),C(e.target.value),k(e.target.value)}})]}),(null==Y?void 0:Y.length)>0&&e("div",{className:"items"+(v?" slide-bottom":""),style:E,children:Y.map(((t,r)=>{if(!t)return null;let o=t;return"object"==typeof t&&(o=null==t?void 0:t.label),e(wr,{value:t,onClick:(e,t)=>((e,t)=>{if(h&&e.stopPropagation(),h&&S){let r=[];if(S.includes(t)){const e=S.filter((e=>e!==t));B(e),r=e}if(!S.includes(t)){const e=[...S,t];B(e),r=e}s&&s(e,r)}else{s&&s(e,t),B([t]);const r=M(t);C(r)}})(e,t),selected:null==S?void 0:S.includes(t),children:u?u(t):o},r)}))}),e(Ir,{$bgColor:Q,className:"dgaui_autocompleteSeparator"+(v?" open":"")})]})},Nr=sr.div`
|
|
276
276
|
direction: ${e=>e.$theme.direction};
|
|
277
277
|
display: flex;
|
|
278
278
|
flex-direction: column;
|
|
@@ -456,7 +456,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
456
456
|
&.open {
|
|
457
457
|
transform: scaleX(0.995) translateY(-2.5px);
|
|
458
458
|
}
|
|
459
|
-
`,Fr={xxSmall:{wh:24,b:2,f:10,fw:700},xSmall:{wh:32,b:2,f:12,fw:600},small:{wh:40,b:2,f:14,fw:600},medium:{wh:48,b:2,f:16,fw:500},large:{wh:64,b:2,f:20,fw:500},xLarge:{wh:80,b:2,f:30,fw:400},xxLarge:{wh:120,b:4,f:36,fw:400}},
|
|
459
|
+
`,Fr={xxSmall:{wh:24,b:2,f:10,fw:700},xSmall:{wh:32,b:2,f:12,fw:600},small:{wh:40,b:2,f:14,fw:600},medium:{wh:48,b:2,f:16,fw:500},large:{wh:64,b:2,f:20,fw:500},xLarge:{wh:80,b:2,f:30,fw:400},xxLarge:{wh:120,b:4,f:36,fw:400}},Ur=({size:t="medium",text:r,icon:o,imageSrc:n,className:i,square:a,index:l,border:s=!1,borderColor:d="#16161633"})=>{const c=b();let p=r,u=!1;return o&&(u=!0,p=o),n&&(p=e("img",{alt:"avatar",src:n})),e(Rr,{$theme:c,$size:Fr[t],$square:a,$isIcon:u,className:m("dgaui dgaui_avatar",i),$index:l,$border:s,$borderColor:d,children:p})},Rr=sr.div`
|
|
460
460
|
display: flex;
|
|
461
461
|
justify-content: center;
|
|
462
462
|
align-items: center;
|
|
@@ -480,7 +480,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
480
480
|
&.stacked {
|
|
481
481
|
${e=>(({index:e=0,op:t="-"})=>`\n transform: translateX(${t}${8*e}px);\n`)({index:e.$index,op:"ltr"===e.$theme.direction?"-":"+"})}
|
|
482
482
|
}
|
|
483
|
-
`;const Dr=({items:n,className:i})=>{const a=b(),[l,s]=o.useState(!1),d=o.useRef(null),c=o.useRef(null),[p,u]=o.useState({top:0,left:0,width:0}),g=()=>{s(!0)};let h=n.map(((t,r)=>e("span",{className:"dgaui_breadcrumbItem",onClick:()=>t.onClick&&t.onClick(),children:t.label},r)));if(n.length>5){const o=[n[n.length-2],n[n.length-1]];h=t(r,{children:[e("span",{className:"dgaui_breadcrumbItem",onClick:()=>n[0].onClick&&n[0].onClick(),children:n[0].label}),e("span",{ref:d,onClick:g,className:"dgaui_breadcrumbItem dots",children:"..."}),o.map(((t,r)=>e("span",{className:"dgaui_breadcrumbItem",onClick:()=>t.onClick&&t.onClick(),children:t.label},r)))]})}return o.useEffect((()=>{if(d.current&&c.current){u({top:c.current.offsetTop+c.current.clientHeight,left:c.current.offsetLeft,width:c.current.clientWidth});const e=()=>{d.current&&c.current&&u({top:c.current.offsetTop+c.current.clientHeight,left:c.current.offsetLeft,width:c.current.clientWidth})},t=e=>{var t;(null===(t=c.current)||void 0===t?void 0:t.contains(e.target))||s(!1)};return window.addEventListener("resize",e),window.addEventListener("click",t),()=>{window.removeEventListener("resize",e),window.removeEventListener("click",t)}}}),[d]),t(r,{children:[e(
|
|
483
|
+
`;const Dr=({items:n,className:i})=>{const a=b(),[l,s]=o.useState(!1),d=o.useRef(null),c=o.useRef(null),[p,u]=o.useState({top:0,left:0,width:0}),g=()=>{s(!0)};let h=n.map(((t,r)=>e("span",{className:"dgaui_breadcrumbItem",onClick:()=>t.onClick&&t.onClick(),children:t.label},r)));if(n.length>5){const o=[n[n.length-2],n[n.length-1]];h=t(r,{children:[e("span",{className:"dgaui_breadcrumbItem",onClick:()=>n[0].onClick&&n[0].onClick(),children:n[0].label}),e("span",{ref:d,onClick:g,className:"dgaui_breadcrumbItem dots",children:"..."}),o.map(((t,r)=>e("span",{className:"dgaui_breadcrumbItem",onClick:()=>t.onClick&&t.onClick(),children:t.label},r)))]})}return o.useEffect((()=>{if(d.current&&c.current){u({top:c.current.offsetTop+c.current.clientHeight,left:c.current.offsetLeft,width:c.current.clientWidth});const e=()=>{d.current&&c.current&&u({top:c.current.offsetTop+c.current.clientHeight,left:c.current.offsetLeft,width:c.current.clientWidth})},t=e=>{var t;(null===(t=c.current)||void 0===t?void 0:t.contains(e.target))||s(!1)};return window.addEventListener("resize",e),window.addEventListener("click",t),()=>{window.removeEventListener("resize",e),window.removeEventListener("click",t)}}}),[d]),t(r,{children:[e(Tr,{className:m("dgaui dgaui_breadcrumb",i),$theme:a,$icon:"ltr"===a.direction?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACbSURBVHgBzZHBDYMwDEUdh0HaTTpCK45tpebAHG03KPdKaZG4ITECI8AocAcHOCAhFIgRF97R9n9RbIBd8o2Ss47TJ2cWbUXZyILIPDgSMdfQOj2QZzJE8VPXy3u1gCtZFHAkTsFIkmNdHZVS5biHsBGnYPgCgQmnr/ewltiF/8Hdf9lmnGdcCs8KuOEez1YkSScSEAY3/wO7pwU2FFQ/1m+2IwAAAABJRU5ErkJggg==":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACPSURBVHgB5ZI9CoUwEIQ34R3gXU1S+gMi1uoJjDdIL2KhluLZ7DWrayUSNbY6sKQY5stmCMA3VHdDUrV9avK4RTjXiEoj/E0+swjLdYrYF/IRwCZ8CrANk4wdTLMe6fxxjnAjIyAOhKLbaQva5gpwWWLZ9JIzlq8jQ9cpHgP2EADMIk+oo3/7D6jE7TnwWi3nAk7pNHjsVAAAAABJRU5ErkJggg==",ref:c,children:h}),n.length>5&&e(Or,{$theme:a,className:"dgaui_breadcrumbList"+(l?" slide-bottom":""),style:Object.assign({},p),children:n.map(((t,r)=>e(wr,{onClick:()=>t.onClick&&t.onClick(),children:t.label},r)))})]})},Tr=sr.div`
|
|
484
484
|
direction: ${e=>e.$theme.direction};
|
|
485
485
|
display: flex;
|
|
486
486
|
|
|
@@ -522,7 +522,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
522
522
|
cursor: auto;
|
|
523
523
|
pointer-events: none;
|
|
524
524
|
}
|
|
525
|
-
`,
|
|
525
|
+
`,Or=sr.div`
|
|
526
526
|
position: absolute;
|
|
527
527
|
top: 35px;
|
|
528
528
|
left: 0;
|
|
@@ -554,7 +554,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
554
554
|
opacity: 1;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
`,
|
|
557
|
+
`,Qr="#FFF",Hr="#FFF3",Mr="#FFFFFF4D",Yr="#FFF6",Lr="#FFF9",jr="#FFFFFFB2",Pr="#FFFC",Vr={small:{w:74,h:24,p:8,f:12},medium:{w:94,h:32,p:12,f:14},large:{w:110,h:40,p:16,f:16}},Kr=o.forwardRef(((o,n)=>{var{children:i,size:a="large",style:l="primary",buttonStyle:s,destructive:d,iconOnly:c,onColor:p,leadIcon:u,trailIcon:g}=o,h=v(o,["children","size","style","buttonStyle","destructive","iconOnly","onColor","leadIcon","trailIcon"]);const A=b(),f=((e,t=!1,r=!1)=>t||r?!t&&r?{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Qr}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[700],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}}:t&&!r?{neutral:{backgroundColor:{default:Qr,hovered:Pr,active:Lr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Yr},borderColor:{focus:Qr},innerBorderColor:{focus:e.textColor}},primary:{backgroundColor:{default:Qr,hovered:Pr,active:Lr,disabled:Hr},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:Yr},borderColor:{focus:Qr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:Hr,hovered:Hr,active:Yr,disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:Yr},borderColor:{focus:Qr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:Hr,active:Yr,disabled:"transparent"},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:Yr},borderColor:{default:Yr,hovered:Yr,active:Yr,disabled:e.palette.neutral[400],focus:Qr}},subtle:{backgroundColor:{default:"transparent",hovered:Hr,active:Yr,disabled:"transparent"},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:Yr},borderColor:{focus:Qr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textOnColor||Qr,hovered:e.palette.primary[400],active:e.palette.primary[300],disabled:Yr},borderColor:{focus:Qr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]}},primary:{backgroundColor:{default:e.palette.error[600],hovered:e.palette.error[700],active:e.palette.error[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]},borderColor:{focus:Qr},innerBorderColor:{focus:e.textColor}},"secondary-solid":{backgroundColor:{default:e.palette.error[50],hovered:e.palette.error[100],active:e.palette.error[200],disabled:e.palette.neutral[200]},fontColor:{default:e.palette.error[700],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400]},borderColor:{focus:Qr}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{default:e.palette.error[200],hovered:e.palette.error[200],active:e.palette.error[200],disabled:e.palette.neutral[400],focus:Qr}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.error[100],active:e.palette.error[200],disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[700],active:e.palette.error[700],disabled:e.palette.neutral[400]},borderColor:{focus:Qr}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.palette.error[200],hovered:e.palette.error[300],active:e.palette.error[400],disabled:e.palette.neutral[400]},borderColor:{focus:Qr}}}:{neutral:{backgroundColor:{default:e.palette.neutral[950],hovered:e.palette.neutral[800],active:e.palette.neutral[600],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Qr}},primary:{backgroundColor:{default:e.palette.primary[600],hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[200]},fontColor:{default:e.textOnColor||Qr,hovered:e.textOnColor||Qr,active:e.textOnColor||Qr,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor},innerBorderColor:{focus:Qr}},"secondary-solid":{backgroundColor:{default:e.palette.neutral[100],hovered:e.palette.neutral[200],active:e.palette.neutral[200],disabled:e.palette.neutral[200]},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},"secondary-outline":{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{default:e.palette.neutral[300],hovered:e.palette.neutral[200],active:e.palette.neutral[300],disabled:e.palette.neutral[400],focus:e.textColor}},subtle:{backgroundColor:{default:"transparent",hovered:e.palette.neutral[100],active:e.palette.neutral[200],disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.textColor,active:e.textColor,disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}},transparent:{backgroundColor:{default:"transparent",hovered:"transparent",active:"transparent",disabled:"transparent"},fontColor:{default:e.textColor,hovered:e.palette.primary[700],active:e.palette.primary[900],disabled:e.palette.neutral[400]},borderColor:{focus:e.textColor}}})(A,p,d),x=f[l].backgroundColor,y=f[l].fontColor,w=f[l].borderColor,C=f[l].innerBorderColor;return t(Xr,Object.assign({},h,{ref:n,className:m("dgaui dgaui_button",h.className),$disabled:h.disabled,$customStyle:{theme:A,minWidth:c?0:Vr[a].w,height:Vr[a].h,padding:Vr[a].p,fontSize:Vr[a].f,fontColor:y,backgroundColor:x,borderColor:w,innerBorderColor:C},style:s,children:[c&&e("div",{className:"iconOnly",children:u||i}),!c&&t(r,{children:[e("div",{className:"leadIcon",children:u}),i,e("div",{className:"trailIcon",children:g})]})]}))})),Xr=sr.button`
|
|
558
558
|
outline: none;
|
|
559
559
|
border-radius: 4px;
|
|
560
560
|
cursor: pointer;
|
|
@@ -630,7 +630,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
630
630
|
.iconOnly {
|
|
631
631
|
display: inline-flex;
|
|
632
632
|
}
|
|
633
|
-
`,Gr=n=>{var i,{title:a,description:l,icon:s,type:d="default",state:c="default",effect:p="withShadow",expandableContent:u,actionsButtons:g,selected:h,expanded:A,onChange:f}=n,x=v(n,["title","description","icon","type","state","effect","expandableContent","actionsButtons","selected","expanded","onChange"]);const y=b(),[C
|
|
633
|
+
`,Gr=n=>{var i,{title:a,description:l,icon:s,type:d="default",state:c="default",effect:p="withShadow",expandableContent:u,actionsButtons:g,selected:h,expanded:A,onChange:f}=n,x=v(n,["title","description","icon","type","state","effect","expandableContent","actionsButtons","selected","expanded","onChange"]);const y=b(),[w,C]=o.useState(!1),[$,k]=o.useState(0),S=o.useRef(null),B=void 0!==A?A:w,E="selectable"===d,N="expandable"===d,z="expandable"===d||"selectable"===d?"all":"none";o.useEffect((()=>{var e;N&&(null===(e=S.current)||void 0===e?void 0:e.clientHeight)&&k(S.current.clientHeight)}),[N,null===(i=S.current)||void 0===i?void 0:i.clientHeight]);return t(Wr,Object.assign({className:m("dgaui dgaui_card"+("disabled"===c?" disabled":"")+(E?" selectable":""),x.className),$theme:y,$pointerEvents:z,$effect:p,$contentHeight:$,$expanded:B,$state:c},x,{tabIndex:0,onClick:e=>{x.onClick&&x.onClick(e),null==f||f(e,!h)},children:[(s||E)&&t("div",{className:"cardHeader",children:[e("div",{className:"iconContainer",children:s}),E&&e("div",{className:"checkboxContainer",onClick:e=>e.stopPropagation(),children:e(vr,{value:h,onChange:f,size:"medium",disabled:"disabled"===c})})]}),a&&e("div",{className:"titleContainer",children:a}),l&&e("div",{className:"descriptionContainer",children:l}),!!g&&g.length>0&&"default"===d&&e("div",{className:"actionsButtonsContainer",onClick:e=>e.stopPropagation(),children:g}),N&&t(r,{children:[e("div",{className:"caretButtonContainer",children:e("img",{src:pr,onClick:()=>{void 0===A&&C((e=>!e))},style:{transition:"all 0.2s",transform:B?"rotateZ(-180deg)":"none"}})}),e("div",{className:"expandableContentContainer",style:{height:B?$:0},children:e("div",{className:"expandableContent",ref:S,style:{visibility:B?"visible":"hidden"},children:u})})]})]}))},Wr=sr.div`
|
|
634
634
|
direction: ${e=>e.$theme.direction};
|
|
635
635
|
/* pointer-events: ${e=>e.$pointerEvents}; */
|
|
636
636
|
border: none;
|
|
@@ -727,7 +727,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
727
727
|
.expandableContent {
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
`;var Jr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({name:"gregorian",startYear:1,yearLength:365,epoch:1721424,century:20,weekStartDayIndex:1,getMonthLengths:e=>[31,e?29:28,31,30,31,30,31,31,30,31,30,31],isLeap:e=>e%4==0&&e%100!=0||e%400==0,getLeaps(e){if(0===e)return;let t=e>0?1:-1,r=[];for(;e>0?t<=e:e<=t;)this.isLeap(t)&&r.push(t),e>0?t++:t--;return r},getDayOfYear({year:e,month:t,day:r}){let o=this.getMonthLengths(this.isLeap(e));for(let e=0;e<t.index;e++)r+=o[e];return r},getAllDays(e){const{year:t}=e;return this.yearLength*(t-1)+this.leapsLength(t)+this.getDayOfYear(e)},leapsLength:e=>((e-1)/4|0)+(-(e-1)/100|0)+((e-1)/400|0),guessYear:(e,t)=>~~(e/365.24)+(t>0?1:-1)}),Zr=k(Jr);var qr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({name:"arabic",startYear:1,yearLength:354,epoch:1948438,century:14,weekStartDayIndex:0,getMonthLengths:e=>[30,29,30,29,30,29,30,29,30,29,30,e?30:29],isLeap:e=>[2,5,7,10,13,15,18,21,24,26,29].includes(e%30),getLeaps(e){if(0===e)return;let t=e>0?1:-1,r=[];for(;e>0?t<=e:e<=t;)this.isLeap(t)&&r.push(t),e>0?t++:t--;return r},getDayOfYear({year:e,month:t,day:r}){let o=this.getMonthLengths(this.isLeap(e));for(let e=0;e<t.index;e++)r+=o[e];return r},getAllDays(e){const{year:t}=e;return this.yearLength*(t-1)+this.leapsLength(t)+this.getDayOfYear(e)},leapsLength:e=>11/30*(e-1)+.5|0,guessYear:(e,t)=>~~((e-.5)/354.366)+(t>0?1:-1)}),_r=k(qr);const eo={name:"gregorian_ar",months:[["يناير","ينا"],["فبراير","فبر"],["مارس","ما"],["إبريل","إبر"],["مايو","ما"],["يونيو","يو"],["يوليو","يوليو"],["أغسطس","أغس"],["سبتمبر","سب"],["أكتوبر","اک"],["نوفمبر","نو"],["ديسمبر","دس"]],weekDays:[["السّبت","سب"],["الأحد","اح"],["الإثنينِ","ثن"],["الثلاثاء","ثل"],["الأربعاء","ار"],["الخميس","خم"],["الجمعة","جم"]],digits:["0","1","2","3","4","5","6","7","8","9"],meridiems:[["قبل الظهر","ق.ظ"],["بعد الظهر","ب.ظ"]]},to={name:"arabic_ar",months:[["محرم","محرم"],["صفر","صفر"],["ربیع الاول","ربیع الاول"],["ربیع الثانی","ربیع الثانی"],["جمادی الاول","جمادی الاول"],["جمادی الثانی","جمادی الثانی"],["رجب","رجب"],["شعبان","شعبان"],["رمضان","رمضان"],["شوال","شوال"],["ذو القعدة","ذو القعدة"],["ذو الحجة","ذو الحجة"]],weekDays:[["السّبت","سب"],["الأحد","اح"],["الإثنينِ","ثن"],["الثلاثاء","ثل"],["الأربعاء","ار"],["الخميس","خم"],["الجمعة","جم"]],digits:["0","1","2","3","4","5","6","7","8","9"],meridiems:[["قبل الظهر","ق.ظ"],["بعد الظهر","ب.ظ"]]},ro={medium:{w:320,h:32,p:8,f:14,prefixW:72},large:{w:320,h:40,p:8,f:16,prefixW:61}},oo=o.forwardRef(((r,o)=>{var{label:n,size:i="large",style:a,error:l,prefix:s,prefixStyle:d="solid",onPrefixClicked:c,suffix:p,suffixStyle:u="solid",onSuffixClicked:g,icon:h}=r,A=v(r,["label","size","style","error","prefix","prefixStyle","onPrefixClicked","suffix","suffixStyle","onSuffixClicked","icon"]);const f=b(),x=null!=i?i:"large";let y=f.textColor,
|
|
730
|
+
`;var Jr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({name:"gregorian",startYear:1,yearLength:365,epoch:1721424,century:20,weekStartDayIndex:1,getMonthLengths:e=>[31,e?29:28,31,30,31,30,31,31,30,31,30,31],isLeap:e=>e%4==0&&e%100!=0||e%400==0,getLeaps(e){if(0===e)return;let t=e>0?1:-1,r=[];for(;e>0?t<=e:e<=t;)this.isLeap(t)&&r.push(t),e>0?t++:t--;return r},getDayOfYear({year:e,month:t,day:r}){let o=this.getMonthLengths(this.isLeap(e));for(let e=0;e<t.index;e++)r+=o[e];return r},getAllDays(e){const{year:t}=e;return this.yearLength*(t-1)+this.leapsLength(t)+this.getDayOfYear(e)},leapsLength:e=>((e-1)/4|0)+(-(e-1)/100|0)+((e-1)/400|0),guessYear:(e,t)=>~~(e/365.24)+(t>0?1:-1)}),Zr=k(Jr);var qr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({name:"arabic",startYear:1,yearLength:354,epoch:1948438,century:14,weekStartDayIndex:0,getMonthLengths:e=>[30,29,30,29,30,29,30,29,30,29,30,e?30:29],isLeap:e=>[2,5,7,10,13,15,18,21,24,26,29].includes(e%30),getLeaps(e){if(0===e)return;let t=e>0?1:-1,r=[];for(;e>0?t<=e:e<=t;)this.isLeap(t)&&r.push(t),e>0?t++:t--;return r},getDayOfYear({year:e,month:t,day:r}){let o=this.getMonthLengths(this.isLeap(e));for(let e=0;e<t.index;e++)r+=o[e];return r},getAllDays(e){const{year:t}=e;return this.yearLength*(t-1)+this.leapsLength(t)+this.getDayOfYear(e)},leapsLength:e=>11/30*(e-1)+.5|0,guessYear:(e,t)=>~~((e-.5)/354.366)+(t>0?1:-1)}),_r=k(qr);const eo={name:"gregorian_ar",months:[["يناير","ينا"],["فبراير","فبر"],["مارس","ما"],["إبريل","إبر"],["مايو","ما"],["يونيو","يو"],["يوليو","يوليو"],["أغسطس","أغس"],["سبتمبر","سب"],["أكتوبر","اک"],["نوفمبر","نو"],["ديسمبر","دس"]],weekDays:[["السّبت","سب"],["الأحد","اح"],["الإثنينِ","ثن"],["الثلاثاء","ثل"],["الأربعاء","ار"],["الخميس","خم"],["الجمعة","جم"]],digits:["0","1","2","3","4","5","6","7","8","9"],meridiems:[["قبل الظهر","ق.ظ"],["بعد الظهر","ب.ظ"]]},to={name:"arabic_ar",months:[["محرم","محرم"],["صفر","صفر"],["ربیع الاول","ربیع الاول"],["ربیع الثانی","ربیع الثانی"],["جمادی الاول","جمادی الاول"],["جمادی الثانی","جمادی الثانی"],["رجب","رجب"],["شعبان","شعبان"],["رمضان","رمضان"],["شوال","شوال"],["ذو القعدة","ذو القعدة"],["ذو الحجة","ذو الحجة"]],weekDays:[["السّبت","سب"],["الأحد","اح"],["الإثنينِ","ثن"],["الثلاثاء","ثل"],["الأربعاء","ار"],["الخميس","خم"],["الجمعة","جم"]],digits:["0","1","2","3","4","5","6","7","8","9"],meridiems:[["قبل الظهر","ق.ظ"],["بعد الظهر","ب.ظ"]]},ro={medium:{w:320,h:32,p:8,f:14,prefixW:72},large:{w:320,h:40,p:8,f:16,prefixW:61}},oo=o.forwardRef(((r,o)=>{var{label:n,size:i="large",style:a,error:l,prefix:s,prefixStyle:d="solid",onPrefixClicked:c,suffix:p,suffixStyle:u="solid",onSuffixClicked:g,icon:h}=r,A=v(r,["label","size","style","error","prefix","prefixStyle","onPrefixClicked","suffix","suffixStyle","onSuffixClicked","icon"]);const f=b(),x=null!=i?i:"large";let y=f.textColor,w=f.palette.neutral[500],C=`1px solid ${l?f.palette.error[700]:f.palette.neutral[400]}`,$=`1px solid ${l?f.palette.error[700]:f.palette.neutral[700]}`,k=`1px solid ${l?f.palette.error[700]:f.palette.neutral[700]}`,S="#FFF",B=l?f.palette.error[700]:f.textColor,E=f.elevation.shadows.md,N="solid"===d?f.palette.neutral[100]:"transparent",z=f.palette.neutral[100],I=f.palette.neutral[200],F="solid"===u?f.palette.neutral[100]:"transparent",U=f.palette.neutral[100],R=f.palette.neutral[200];return"filledLighter"===a&&(S=f.palette.neutral[25],l||(C="1px solid transparent",$=`1px solid ${f.palette.neutral[400]}`,k=`1px solid ${f.palette.neutral[400]}`)),"filledDarker"===a&&(S=f.palette.neutral[100]),A.disabled&&(y=f.palette.neutral[400],C=`1px solid ${f.palette.neutral[200]}`,$=`1px solid ${f.palette.neutral[200]}`),t(no,{$theme:f,className:m("dgaui dgaui_textInput",A.className),$customStyle:{prefixBg:N,prefixBgHover:z,prefixBgActive:I,suffixBg:F,suffixBgHover:U,suffixBgActive:R,size:i,iconPadding:h?"20px":"0px"},children:[e("label",{style:{marginBottom:8,textAlign:"start"},htmlFor:A.id,children:n}),s&&e("div",{className:"prefix",onClick:()=>null==c?void 0:c(),children:s}),p&&e("div",{className:"suffix",onClick:()=>null==g?void 0:g(),children:p}),t("div",{style:{display:"flex",alignItems:"center"},children:[h&&e("div",{className:"icon",children:h}),e(io,Object.assign({$customStyle:{direction:f.direction,minWidth:ro[x].w,height:ro[x].h,padding:ro[x].p,fontSize:ro[x].f,placeholderFontColor:w,fontColor:y,border:C,borderHovered:$,borderFocused:k,backgroundColor:S,shadowFocus:E}},A,{ref:o,className:"dgaui dgaui_textInput_input"}))]}),e(ao,{$bgColor:B,className:"dgauiInputSeparator"})]})})),no=sr.div`
|
|
731
731
|
position: relative;
|
|
732
732
|
direction: ${e=>e.$theme.direction};
|
|
733
733
|
display: flex;
|
|
@@ -800,8 +800,8 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
800
800
|
&:has(.prefix) {
|
|
801
801
|
input {
|
|
802
802
|
padding-inline-start: calc(
|
|
803
|
-
${e=>"large"===e.$customStyle.size?"74px":"61px"} +
|
|
804
|
-
|
|
803
|
+
${e=>"large"===e.$customStyle.size?"74px":"61px"} + ${e=>e.$customStyle.iconPadding} +
|
|
804
|
+
8px
|
|
805
805
|
);
|
|
806
806
|
}
|
|
807
807
|
.icon {
|
|
@@ -811,9 +811,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
811
811
|
|
|
812
812
|
&:has(.suffix) {
|
|
813
813
|
input {
|
|
814
|
-
padding-inline-end: calc(
|
|
815
|
-
${e=>"large"===e.$customStyle.size?"74px":"61px"} + 8px
|
|
816
|
-
);
|
|
814
|
+
padding-inline-end: calc(${e=>"large"===e.$customStyle.size?"74px":"61px"} + 8px);
|
|
817
815
|
}
|
|
818
816
|
}
|
|
819
817
|
&:has(.dgaui_textInput_input:disabled),
|
|
@@ -870,7 +868,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
870
868
|
transition: all 0.2s;
|
|
871
869
|
border-bottom-left-radius: 50px;
|
|
872
870
|
border-bottom-right-radius: 50px;
|
|
873
|
-
`,lo=r=>{var{children:n,menuItems:i,disabled:a,keepOpenOnItemsClicked:l,onOpen:s,onClose:d,reverseOpeningDirection:c}=r,p=v(r,["children","menuItems","disabled","keepOpenOnItemsClicked","onOpen","onClose","reverseOpeningDirection"]);const u=b(),[g,h]=o.useState(!1),[A,f]=o.useState(""),[x,y]=o.useState({top:0,left:0}),
|
|
871
|
+
`,lo=r=>{var{children:n,menuItems:i,disabled:a,keepOpenOnItemsClicked:l,onOpen:s,onClose:d,reverseOpeningDirection:c}=r,p=v(r,["children","menuItems","disabled","keepOpenOnItemsClicked","onOpen","onClose","reverseOpeningDirection"]);const u=b(),[g,h]=o.useState(!1),[A,f]=o.useState(""),[x,y]=o.useState({top:0,left:0}),w=o.useRef(null),C=o.useRef(null),$=o.useRef(null),k=()=>{const e=Math.max(document.documentElement.clientHeight,window.innerHeight);if(C.current&&$.current){const t=C.current.getBoundingClientRect();let r={top:t.bottom,left:"ltr"===u.direction?t.left:t.right-$.current.clientWidth};"ltr"===u.direction?r.left+$.current.clientWidth>window.innerWidth&&(r.left=window.innerWidth-$.current.clientWidth):r.left&&t.right-$.current.clientWidth<0&&(r.left=0),c&&(r={top:r.top,left:"ltr"===u.direction?t.right-$.current.clientWidth:t.left},r.left<0&&(r.left=0),t.left+$.current.clientWidth>innerWidth&&(r.left=innerWidth-$.current.clientWidth)),t.bottom+$.current.clientHeight>e&&(r.top=t.top-$.current.clientHeight),r.top<0&&(r.top=0),r.top>e&&(r.top=$.current.clientHeight),y(r)}};return o.useEffect((()=>{if(C.current){const e=()=>{k()},t=e=>{var t;(null===(t=w.current)||void 0===t?void 0:t.contains(e.target))||(null==d||d(e),h(!1))};return window.addEventListener("resize",e),window.addEventListener("click",t),()=>{window.removeEventListener("resize",e),window.removeEventListener("click",t)}}}),[C,c]),o.useEffect((()=>{const e=document.getElementsByTagName("body");e&&e[0]&&(e[0].style.overflow=g?"hidden":A)}),[g]),o.useEffect((()=>{var e,t,r;f(null===(r=null===(t=null===(e=document.getElementsByTagName("body"))||void 0===e?void 0:e[0])||void 0===t?void 0:t.style)||void 0===r?void 0:r.overflow)}),[]),t(so,Object.assign({$theme:u},p,{className:m("dgaui dgaui_menu",p.className),ref:w,children:[e("div",{ref:C,onClick:e=>(e=>{g?(h(!1),null==d||d(e)):(k(),h(!0),null==s||s(e))})(e),className:"menuChildren",children:n}),e("div",{ref:$,className:"menueItemsContainer dgaui_hiddenScrollbar "+(g?" slide-bottom":""),style:x,onClick:e=>{l||(h(!1),null==d||d(e))},children:i})]}))},so=sr.div`
|
|
874
872
|
direction: ${e=>e.$theme.direction};
|
|
875
873
|
display: inline-block;
|
|
876
874
|
|
|
@@ -906,7 +904,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
906
904
|
}
|
|
907
905
|
}
|
|
908
906
|
}
|
|
909
|
-
`;var co="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dUxroJAEAbgAV5I6LaBUHqExxG8wWtf9Z4n8Ah6I49gbaU30JJAIQUVCeA/xsLCgl2zRpP/SzYLxSSTmZ1dESIiIiJ6IE3TZZZlK3lSKJ6M4xhgWyPJvTFmJu8IVfzHOiPJo2uSgXiW5/lsGIYtPg2qOq/r+mAT7z1BdZ9k13VF0zSnqbFfYkEPPrYfsdT3vQTBtRYmjmMdnMXUWKshuR18J4htxMFLWqwDgsppiyUMw3lZlqepsVYtdoFj8Y32blBBg1+r5JS3e1AhuT9s18pFUVTYTrBX+opgjXpR6xSLo0g8SZKkQGt3VVX9tm3rNCBEREREn+8C+TlJKy8I1/cAAAAASUVORK5CYII=",po="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEJSURBVHgB7dU9boNAEAXgtySigYKGn9JHSI7AEXIC5wi5QXKEtOlyhZwgbTp8g7gEUWQLQBEF+I1l916stWxpPmnFFFsMszO7gFJKKaXULbvDmbIse43j+LHv+x94EGChJElWTK5i+DbPc4JrckjuN03TP65neHQPR0zogZ9vLstVtm27gUfGZbNULgxDSQ5BEJR1XW/hmVOCrN6nMWbNcMO+s1iAP/bVNM37yfvhgMkdw4sNhVMFi6JYTdO0P+JxHEtr7RaeOVVQeo5H+ySx9KL0JDxzvgdlamVAJGaSFftyjWskx83kKt6Hc57nL/Bk8VPXdZ0dhuEjiiLOjvn39dQppZRSSt22HXZvSded5pbnAAAAAElFTkSuQmCC";const uo=({hijri:r=!1,range:n=!1,minYear:i,maxYear:a,minDate:l,maxDate:s,onChange:c,onRangeChange:p,value:u,withTextInput:g=!0,textInputProps:h,closeOnSelect:m=!0,rangeSeparator:A=" - "})=>{const f=b(),[x,v]=o.useState(),[y,
|
|
907
|
+
`;var co="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dUxroJAEAbgAV5I6LaBUHqExxG8wWtf9Z4n8Ah6I49gbaU30JJAIQUVCeA/xsLCgl2zRpP/SzYLxSSTmZ1dESIiIiJ6IE3TZZZlK3lSKJ6M4xhgWyPJvTFmJu8IVfzHOiPJo2uSgXiW5/lsGIYtPg2qOq/r+mAT7z1BdZ9k13VF0zSnqbFfYkEPPrYfsdT3vQTBtRYmjmMdnMXUWKshuR18J4htxMFLWqwDgsppiyUMw3lZlqepsVYtdoFj8Y32blBBg1+r5JS3e1AhuT9s18pFUVTYTrBX+opgjXpR6xSLo0g8SZKkQGt3VVX9tm3rNCBEREREn+8C+TlJKy8I1/cAAAAASUVORK5CYII=",po="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEJSURBVHgB7dU9boNAEAXgtySigYKGn9JHSI7AEXIC5wi5QXKEtOlyhZwgbTp8g7gEUWQLQBEF+I1l916stWxpPmnFFFsMszO7gFJKKaXULbvDmbIse43j+LHv+x94EGChJElWTK5i+DbPc4JrckjuN03TP65neHQPR0zogZ9vLstVtm27gUfGZbNULgxDSQ5BEJR1XW/hmVOCrN6nMWbNcMO+s1iAP/bVNM37yfvhgMkdw4sNhVMFi6JYTdO0P+JxHEtr7RaeOVVQeo5H+ySx9KL0JDxzvgdlamVAJGaSFftyjWskx83kKt6Hc57nL/Bk8VPXdZ0dhuEjiiLOjvn39dQppZRSSt22HXZvSded5pbnAAAAAElFTkSuQmCC";const uo=({hijri:r=!1,range:n=!1,minYear:i,maxYear:a,minDate:l,maxDate:s,onChange:c,onRangeChange:p,value:u,withTextInput:g=!0,textInputProps:h,closeOnSelect:m=!0,rangeSeparator:A=" - "})=>{const f=b(),[x,v]=o.useState(),[y,w]=o.useState(""),[C,$]=o.useState([]),[k,S]=o.useState(0),B=o.useRef(),E=n&&Array.isArray(x)&&1===x.length;o.useEffect((()=>{let e=0,t=0;r?(e=l?l.year:i||1300,t=s?s.year:a||1500):(e=l?l.year:i||1900,t=(s?s.year:a||2100)+1);let o=[];if(e>=t)return o=Array(200).fill(0).map(((e,t)=>t+1900)),void $(o);o=e&&t?Array(t-e).fill(0).map(((t,r)=>r+e)):e&&!t?Array(200).fill(0).map(((t,r)=>r+e)):!e&&t?Array(200).fill(0).map(((e,t)=>t+(r?1300:1900))):r?Array(200).fill(0).map(((e,t)=>t+1300)):Array(200).fill(0).map(((e,t)=>t+1900)),$(o)}),[i,a,l,s,r]),o.useEffect((()=>{const e=(new Date).getFullYear(),t=(new Date).getMonth()+1;S(r?function(e,t){let r=(e-622)/.970224;t>=9&&(r+=1);return Math.floor(r)}(e,t):e)}),[r]),o.useEffect((()=>{n||v(void 0)}),[n]),o.useEffect((()=>{v(u)}),[u]),o.useEffect((()=>{let e="";n&&Array.isArray(x)&&2===x.length?e=`${mo(x[0])}${A}${mo(x[1])}`:x&&!Array.isArray(x)&&(e=mo(x)),w(e)}),[x,n]);const N=e(d,{ref:B,value:u||x,range:n,calendar:r?_r:Zr,onMonthChange:e=>S(e.year),locale:r?to:"rtl"===f.direction?eo:void 0,weekStartDayIndex:r?1:0,weekDays:r?["سبت","أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة"]:"rtl"===f.direction?["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"]:void 0,onChange:e=>{v(e),n&&p&&Array.isArray(e)?p(e):e&&c&&c(e),m&&(n&&Array.isArray(e)&&e.length>1?document.body.click():n||document.body.click())},format:"YYYY/MM/DD",showOtherDays:!0,monthYearSeparator:" ",minDate:l,maxDate:s,children:e("div",{className:"yearsSelect",children:e("select",{value:k,onChange:e=>(e=>{var t;v(void 0),null===(t=null==B?void 0:B.current)||void 0===t||t.set("year",e),S(e)})(+e.target.value),children:C.map((t=>e("option",{value:t,children:t},t)))})})});return t(go,{className:"dgaui"+(E?" rangeOnlyOneSelected":""),$theme:f,children:[!g&&N,g&&e(lo,{menuItems:N,keepOpenOnItemsClicked:!0,children:e(oo,Object.assign({value:(null==h?void 0:h.value)||y,readOnly:!0},h))})]})},go=sr.div`
|
|
910
908
|
.rmdp-top-class {
|
|
911
909
|
width: 424px;
|
|
912
910
|
display: block !important;
|
|
@@ -1215,6 +1213,10 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1215
1213
|
top: 10px;
|
|
1216
1214
|
}
|
|
1217
1215
|
}
|
|
1216
|
+
|
|
1217
|
+
.dgaui_menu {
|
|
1218
|
+
display: block;
|
|
1219
|
+
}
|
|
1218
1220
|
`;const ho=e=>null==e?void 0:e.toString().padStart(2,"0"),mo=e=>`${ho(e.day)}/${ho(e.month.number)}/${e.year}`,Ao=()=>t("svg",{className:"elementsIcon",width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9998 0.250854C14.1608 0.250854 15.903 0.250854 17.23 1.18585C17.611 1.45385 17.95 1.77385 18.24 2.13685C19.251 3.40785 19.251 5.03485 19.251 8.27385V10.8189C19.251 13.8738 19.251 15.4069 18.729 16.7229C17.895 18.8279 16.139 20.4849 13.911 21.2669C12.7097 21.6876 11.3248 21.7418 8.85332 21.7488C8.841 21.7499 8.82868 21.7509 8.81633 21.7518C8.80186 21.753 8.78781 21.7518 8.77406 21.749C8.43151 21.7499 8.0683 21.7499 7.68208 21.7499C5.80016 21.7499 4.85498 21.7499 4.01699 21.4559C2.65599 20.9779 1.582 19.9639 1.071 18.6749C0.75 17.8659 0.75 16.9689 0.75 15.1829V10.6703C0.75 10.2563 1.086 9.92028 1.5 9.92028C1.914 9.92028 2.25 10.2563 2.25 10.6703V15.1828C2.25 16.7787 2.25 17.5799 2.46499 18.1229C2.81599 19.0079 3.56301 19.7079 4.51301 20.0419C5.11001 20.2519 5.96899 20.2519 7.68096 20.2519C8.0634 20.2519 8.42207 20.2519 8.75907 20.2511C10.0619 20.1207 11.083 19.0176 11.083 17.681C11.083 17.5211 11.075 17.3488 11.0666 17.1666L11.0647 17.1261C11.0398 16.5815 11.0115 15.9649 11.165 15.389C11.388 14.557 12.043 13.902 12.875 13.679C13.4506 13.5256 14.0659 13.5537 14.6112 13.5787L14.6511 13.5805C14.8339 13.589 15.0067 13.597 15.167 13.597C16.5666 13.597 17.7102 12.4773 17.749 11.0869C17.749 10.9993 17.749 10.9104 17.749 10.82V8.27485C17.749 5.38385 17.749 3.93285 17.064 3.07185C16.864 2.82085 16.629 2.59885 16.364 2.41385C15.465 1.78085 13.9868 1.75286 10.9978 1.75286C10.5838 1.75286 10.2478 1.41686 10.2478 1.00286C10.2478 0.588855 10.5838 0.252855 10.9978 0.252855L10.9998 0.250854ZM17.6944 14.2184C16.9986 14.7683 16.1204 15.097 15.167 15.097C14.9762 15.097 14.7811 15.0883 14.5905 15.0799C14.5763 15.0792 14.5621 15.0786 14.548 15.078L14.5321 15.0772C14.0781 15.0565 13.6109 15.0351 13.263 15.129C12.948 15.213 12.699 15.462 12.615 15.777C12.5212 16.1291 12.5429 16.6017 12.5638 17.0587L12.564 17.062C12.574 17.266 12.583 17.476 12.583 17.681C12.583 18.617 12.2663 19.4805 11.7344 20.17C12.4126 20.1131 12.9462 20.0165 13.413 19.8529C15.23 19.2149 16.659 17.8729 17.333 16.1719C17.5375 15.6556 17.6415 15.0456 17.6944 14.2184Z",fill:"#161616"}),e("path",{d:"M3.58933 3.36016C3.39711 3.60489 3.19487 3.86201 3.03781 4.0236C2.74911 4.32062 2.27428 4.32737 1.97726 4.03867C1.68023 3.74996 1.67349 3.27514 1.96219 2.97811C2.05089 2.88685 2.19651 2.70504 2.40971 2.43362L2.45675 2.37369C2.64683 2.13155 2.8698 1.84749 3.09954 1.57636C3.34574 1.28581 3.62131 0.984013 3.89679 0.749391C4.03484 0.631816 4.19043 0.515847 4.35782 0.426268C4.51926 0.339874 4.74172 0.250854 5 0.250854C5.25829 0.250854 5.48074 0.339874 5.64218 0.426268C5.80957 0.515847 5.96517 0.631816 6.10321 0.749391C6.37869 0.984012 6.65426 1.28581 6.90047 1.57636C7.1302 1.84748 7.35317 2.13154 7.54324 2.37368L7.59029 2.43362C7.80349 2.70504 7.94911 2.88685 8.03781 2.97811C8.32651 3.27514 8.31977 3.74996 8.02274 4.03867C7.72572 4.32737 7.25089 4.32062 6.96219 4.0236C6.80513 3.86201 6.6029 3.60489 6.41067 3.36016L6.36595 3.30321C6.17304 3.05748 5.96675 2.79471 5.75606 2.54607L5.75 2.53893V9.00085C5.75 9.41507 5.41421 9.75085 5 9.75085C4.58579 9.75085 4.25 9.41507 4.25 9.00085V2.53893L4.24394 2.54607C4.03326 2.7947 3.82698 3.05746 3.63408 3.30318L3.58933 3.36016Z",fill:"#161616"})]});const fo=({status:r,filename:o,helperText:n,onDelete:i,theme:a})=>t(bo,{className:"dgaui dgaui_fileCard "+("error"===r?"error":""),$theme:a,children:[t("div",{className:"dgaui_fileCardContent",children:[t("div",{className:"dgaui_fileCardFileName",children:["loading"===r&&e("span",{className:"dgaui_loader dgaui_fileCardIcon"}),"success"===r&&e("img",{className:"dgaui_fileCardIcon",src:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0002 19.1667C15.0628 19.1667 19.1668 15.0626 19.1668 10C19.1668 4.93743 15.0628 0.833374 10.0002 0.833374C4.93755 0.833374 0.833496 4.93743 0.833496 10C0.833496 15.0626 4.93755 19.1667 10.0002 19.1667Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0002 19.1667C15.0628 19.1667 19.1668 15.0626 19.1668 10C19.1668 4.93743 15.0628 0.833374 10.0002 0.833374C4.93755 0.833374 0.833496 4.93743 0.833496 10C0.833496 15.0626 4.93755 19.1667 10.0002 19.1667ZM5.87534 9.26781C5.54991 9.59324 5.54991 10.1209 5.87534 10.4463L8.23237 12.8033C8.5578 13.1288 9.08544 13.1288 9.41088 12.8033L14.1249 8.0893C14.4504 7.76386 14.4504 7.23622 14.1249 6.91078C13.7995 6.58535 13.2718 6.58535 12.9464 6.91078L8.82162 11.0356L7.05385 9.26781C6.72842 8.94237 6.20078 8.94237 5.87534 9.26781Z' fill='%23067647'/%3e%3c/svg%3e"}),"error"===r&&e("img",{className:"dgaui_fileCardIcon",src:"data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0002 19.1666C15.0628 19.1666 19.1668 15.0626 19.1668 9.99998C19.1668 4.93737 15.0628 0.833313 10.0002 0.833313C4.93755 0.833313 0.833496 4.93737 0.833496 9.99998C0.833496 15.0626 4.93755 19.1666 10.0002 19.1666Z' fill='white'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0002 19.1666C15.0628 19.1666 19.1668 15.0626 19.1668 9.99998C19.1668 4.93737 15.0628 0.833313 10.0002 0.833313C4.93755 0.833313 0.833496 4.93737 0.833496 9.99998C0.833496 15.0626 4.93755 19.1666 10.0002 19.1666ZM10.0002 5.83331C9.53992 5.83331 9.16683 6.20641 9.16683 6.66665V9.99998C9.16683 10.4602 9.53992 10.8333 10.0002 10.8333C10.4604 10.8333 10.8335 10.4602 10.8335 9.99998V6.66665C10.8335 6.20641 10.4604 5.83331 10.0002 5.83331ZM10.0002 12.5C9.53992 12.5 9.16683 12.8731 9.16683 13.3333C9.16683 13.7935 9.53992 14.1666 10.0002 14.1666C10.4604 14.1666 10.8335 13.7935 10.8335 13.3333C10.8335 12.8731 10.4604 12.5 10.0002 12.5Z' fill='%23B42318'/%3e%3c/svg%3e"}),o]}),e("img",{src:mr,className:"dgaui_fileCardCloseIcon",onClick:()=>i()})]}),"error"===r&&n&&e("div",{className:"dgaui_fileCardContentError",children:n})]}),bo=sr.div`
|
|
1219
1221
|
direction: ${e=>e.$theme.direction};
|
|
1220
1222
|
margin-top: 8px;
|
|
@@ -1336,7 +1338,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1336
1338
|
fill: ${e=>e.$theme.palette.neutral[400]};
|
|
1337
1339
|
}
|
|
1338
1340
|
}
|
|
1339
|
-
`;var yo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADMSURBVHgB7ZJBDoIwEEU7VfccwSt4A69giCslLAyu5QTgCeheQxOpK1OJJ8AjeB+lY6sxJg2I0SW8pJt25s1PM4R0tBDOc+efOmpflH0Vp0IWpAEcYLHNJGsU9m6UIcKQizypk/F9HiES56pr7TeoathkhzGFnk6J4WLuMlumEOMSYLScTS6NCQ2BNz0rhaGel6Ti6L/uU3HyjUzpQVWy2oTvpDKmAJFJSoGiljF91oHnxnU9H4UP6U6unlJCFGiZ9QU/YVbk23XqaAN3EK5V48n9BCMAAAAASUVORK5CYII=";const
|
|
1341
|
+
`;var yo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADMSURBVHgB7ZJBDoIwEEU7VfccwSt4A69giCslLAyu5QTgCeheQxOpK1OJJ8AjeB+lY6sxJg2I0SW8pJt25s1PM4R0tBDOc+efOmpflH0Vp0IWpAEcYLHNJGsU9m6UIcKQizypk/F9HiES56pr7TeoathkhzGFnk6J4WLuMlumEOMSYLScTS6NCQ2BNz0rhaGel6Ti6L/uU3HyjUzpQVWy2oTvpDKmAJFJSoGiljF91oHnxnU9H4UP6U6unlJCFGiZ9QU/YVbk23XqaAN3EK5V48n9BCMAAAAASUVORK5CYII=";const wo={medium:{w:320,h:32,p:16,f:14},large:{w:320,h:40,p:16,f:16}},Co=r=>{const n=b(),{state:i,error:a,filled:l,style:s,onChange:d,children:c,onOpen:p,className:u,dropdownStyle:g,label:h,placeholder:A,value:f,valueDisplay:x,multiple:y,name:w,size:C}=r,$=v(r,["state","error","filled","style","onChange","children","onOpen","className","dropdownStyle","label","placeholder","value","valueDisplay","multiple","name","size"]),[k,S]=o.useState(""),[B,E]=o.useState(!1),[N,z]=o.useState({top:0,left:0,width:0}),I=o.useRef(null),F=null!=C?C:"large";let U=n.textColor,R=n.palette.neutral[500],D=`1px solid ${a?n.palette.error[700]:n.palette.neutral[400]}`,T=`1px solid ${a?n.palette.error[700]:n.palette.neutral[700]}`,O=`1px solid ${a?n.palette.error[700]:n.palette.neutral[700]}`,Q="#FFF",H=a?n.palette.error[700]:n.textColor,M=n.elevation.shadows.md;"filled"===s&&(Q=n.palette.neutral[50],D=`1px solid ${n.palette.neutral[300]}`),"filled-darker"===s&&(Q=n.palette.neutral[100],D=`1px solid ${n.palette.neutral[400]}`),"filled-lighter"===s&&(Q=n.palette.neutral[25],D=`1px solid ${n.palette.neutral[200]}`),l&&(Q=n.palette.neutral[50],D=`1px solid ${n.palette.neutral[300]}`),"disabled"===i&&(U=n.palette.neutral[400],D=`1px solid ${n.palette.neutral[200]}`,T=`1px solid ${n.palette.neutral[200]}`,O=`1px solid ${n.palette.neutral[200]}`,Q=n.palette.neutral[50]),"read-only"===i&&(Q=n.palette.neutral[25],D=`1px solid ${n.palette.neutral[300]}`,T=`1px solid ${n.palette.neutral[300]}`,O=`1px solid ${n.palette.neutral[300]}`),"hovered"===i&&(D=T),"focused"===i&&(D=O,M=n.elevation.shadows.md),"pressed"===i&&(Q=n.palette.neutral[100],D=O),a&&(D=`1px solid ${n.palette.error[700]}`,T=`1px solid ${n.palette.error[700]}`,O=`1px solid ${n.palette.error[700]}`,H=n.palette.error[700]);const Y=()=>{I.current&&z({top:I.current.offsetTop+I.current.clientHeight,left:I.current.offsetLeft,width:I.current.clientWidth})},L=(e,t)=>{if(y||null==d||d(e,t),y){let r=[];r=f&&Array.isArray(f)&&f.includes(t)?f.filter((e=>e!==t)):[...f||[],t],null==d||d(e,r)}},j=o.Children.map(c,(e=>{var t,r;if(e)return o.cloneElement(e,Object.assign(Object.assign({},e.props),{onClick:L,selected:(null===(t=e.props)||void 0===t?void 0:t.selected)||f===(null===(r=e.props)||void 0===r?void 0:r.value)||Array.isArray(f)&&f.includes(e.props.value),multiple:y}))}));return o.useEffect((()=>{let e="";y?(null==j||j.map((t=>{t.props.selected&&(e=e.concat(t.props.children+", "))})),e=e.slice(0,e.length-2)):null==j||j.map((t=>{t.props.selected&&(e=t.props.children)})),S(e)}),[j,f]),o.useEffect((()=>{if(I.current){const e=()=>{I.current&&Y()},t=e=>{var t;(null===(t=I.current)||void 0===t?void 0:t.contains(e.target))||(!y||y&&e.target&&e.target.classList&&!e.target.classList.contains("dgaui_dropdownItem"))&&E(!1)};return window.addEventListener("resize",e),window.addEventListener("click",t),()=>{window.removeEventListener("resize",e),window.removeEventListener("click",t)}}}),[I]),o.useEffect((()=>{B&&Y(),B&&p&&p()}),[B,p]),t($o,Object.assign({style:g,$theme:n,className:m("dgaui dgaui_dropdown",u)},$,{children:[h&&e("label",{className:"disabled"===i?"disabled":"read-only"===i?"readonly":void 0,children:h}),t(ko,{ref:I,onClick:()=>{"disabled"!==i&&"read-only"!==i&&E((e=>!e))},className:"dgaui_dropdownContainer "+("disabled"===i?"disabled":"")+("read-only"===i?" readonly":""),$customStyle:{theme:n,direction:n.direction,minWidth:wo[F].w,height:wo[F].h,padding:wo[F].p,fontSize:wo[F].f,placeholderFontColor:R,fontColor:U,border:D,borderHovered:T,borderFocused:O,backgroundColor:Q,shadowFocus:M},children:[A&&!x&&!k&&e("div",{className:"placeholder",children:A}),e("div",{className:"valueDisplay",children:x||k})]}),e("div",{className:"dgaui_dropdownItems"+(B?" slide-bottom":""),style:Object.assign({},N),children:j}),e(So,{$bgColor:H,className:"dgaui_dropdownSeparator"+(B?" open":"")})]}))},$o=sr.div`
|
|
1340
1342
|
direction: ${e=>e.$theme.direction};
|
|
1341
1343
|
display: flex;
|
|
1342
1344
|
flex-direction: column;
|
|
@@ -1536,7 +1538,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1536
1538
|
pointer-events: none;
|
|
1537
1539
|
color: ${e=>e.$theme.palette.neutral[400]};
|
|
1538
1540
|
}
|
|
1539
|
-
`,No=(e=768,t=1024)=>{const[r,n]=o.useState({isMobile:!1,isTablet:!1,isDesktop:!0});return o.useEffect((()=>{const r=()=>n({isMobile:window.innerWidth<=e,isTablet:window.innerWidth>e&&window.innerWidth<=t,isDesktop:window.innerWidth>t});return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)}),[]),r},zo=t=>{var{container:r,sm:o,md:n,lg:i,rowSpacing:a=0,columnSpacing:l=0,children:s}=t,d=v(t,["container","sm","md","lg","rowSpacing","columnSpacing","children"]);const c=b(),{isMobile:p,isTablet:u,isDesktop:g}=No();if(r){const t=
|
|
1541
|
+
`,No=(e=768,t=1024)=>{const[r,n]=o.useState({isMobile:!1,isTablet:!1,isDesktop:!0});return o.useEffect((()=>{const r=()=>n({isMobile:window.innerWidth<=e,isTablet:window.innerWidth>e&&window.innerWidth<=t,isDesktop:window.innerWidth>t});return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)}),[]),r},zo=t=>{var{container:r,sm:o,md:n,lg:i,rowSpacing:a=0,columnSpacing:l=0,children:s}=t,d=v(t,["container","sm","md","lg","rowSpacing","columnSpacing","children"]);const c=b(),{isMobile:p,isTablet:u,isDesktop:g}=No();if(r){const t=Uo(s,l,a);return e(Io,Object.assign({},d,{$theme:c,$rowSpacing:a,$columnSpacing:l,className:m("dgaui dgaui_gridContainer",d.className),children:t}))}return e(Fo,Object.assign({},d,{$theme:c,$columnSpan:(()=>{let e=12;return p&&o&&(e=o),u&&(e=n||o),g&&(e=i||n||o),e})(),$columnSpacing:l,className:m("dgaui dgaui_gridItem",d.className),children:s}))},Io=sr.div`
|
|
1540
1542
|
direction: ${e=>e.$theme.direction};
|
|
1541
1543
|
display: grid;
|
|
1542
1544
|
grid-template-columns: repeat(12, 1fr);
|
|
@@ -1544,7 +1546,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1544
1546
|
`,Fo=sr.div`
|
|
1545
1547
|
direction: ${e=>e.$theme.direction};
|
|
1546
1548
|
grid-column: span ${e=>e.$columnSpan};
|
|
1547
|
-
`,
|
|
1549
|
+
`,Uo=(e,t,r)=>o.Children.map(e,(e=>o.isValidElement(e)?e.type===o.Fragment?Uo(e.props.children,t,r):o.cloneElement(e,{columnSpacing:t,rowSpacing:r}):e));const Ro=r=>{var{leadText:o,helpText:n,type:i="neutral",actions:a,closeButton:l,onClose:s,background:d}=r,c=v(r,["leadText","helpText","type","actions","closeButton","onClose","background"]);const p=b(),u=No(),g=(h=p,{neutral:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASKSURBVHgBzVm/cxpHFH57HAiKYNKjjDyjymRGDmmMm0hNUBVNZiK1iRNSy8h/AKiKUgRwHXnitJCZtKDGpIlSxXgmpIpjMnJvTEO4427zvhUQQAfawxrkb2YHbn+w3719v/YhaEF0bXtTSLkhpNgkkrdJiBh3xwbDbUHUkpJaLrnPyDDqkWCwTgtA+JkspYz1+/19V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zr8PMJAizv2KSxx+IVquE9ga1m1GoQ75v3TlIV0zUK8ZLypNxOJwOFTiC/RDuiZg7+li0qzSx5Nl1WXGiDS49PHBdL9nNsOFnE/5QzsEvilYGHUUj7zGPAlCH1f4bZZx3NgjzEUjr8oWMDcf5IX3XUfeYxNv0dUDRpnFHvMmaZWAUXlAacTv5X4WILWVoJmfJbVx+Cqij4gSfbRAHafNxXc+TrOkQ2whguNQmYbh8rWQr61CXbzQRn9DsOPnuopoSCHr0hHPIpHF/ob4D9qk6fUuw5aHAAAAAElFTkSuQmCC",vLine:h.palette.neutral[200],border:h.palette.neutral[200],font:h.palette.neutral[800],bg:h.palette.neutral[25]},destructive:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASRSURBVHgBzVlPiFtFGP9m3stB2fzTg9DdQ/agtR7cFYsWFMyC50q9eKjSFjyIIN09iOKhmy0oSg9NEcRDwV20h16s9qqSiBdbWtjtoX/oYVNoS1tok7yU9rB5b/r9Jnlpkr6XnUlDtj/I7nvzZjK/9/v+zDcTQUNCVat5ct0ZRSpPSs2SEBluzrQf17hHhUhUVKDWZBCURTZbpiEgbDozqQyTOsik5rvImM5U4cnKtOEvMdmK+TBTYo6zqATN0wggBC2bEt2UoGo0oFiBbBXbfGZWVBbExMTK4G4DoDzv6KhUiyUgqCgmUguxz6MaYVLlOqf4Mk9jgVoVzWCOTV7rfyIjuyfcEo2NHCBm24I8gScIwqw6bYwfeXWf5+5Dj4mbnrdfCvqFthCcNxecdLoY3ncIst/lVMIpkaIcbS1qoulPh/7YMXHgyMIzQA7IUMJZDG+0glo911mnIXD33Bm6XfpbfzYaDd32/LZJSm5/laZ2f0gv7nybhgGrmIWKmqDv1ZeFEPtsvuDBzet04dDXdO/cWXph51v00tz79Ny2KUokk+RduaTbQRrtO778hklP2Xw9fHGJfbGgCQb3vXUb84LA/59+QilWaebwD0xsMrLfw5s3aO3QV/r/m0d/4v47yAI1mUxlBaoSNm/JdBSUO8PkYL6XP/vCaMzVn3+kyokVeufkH1ZK+uTPyUDKPFng0pHvtGL95KDq+YXPWdmP9XU30Bc+CZewAZOblUKKGdMBYUDArN2AqjB5IpnSCkHhjYbX0wdj4Jf4DlMIofKcZkTOdMD107+3g6HX50AGwfH64e/1B/f9KmIMggkvaAwpZ5igypn2965cjkwb6e2v0bsn/9TX8De3rWQ/8HJWBBVlkKiN6zxEI3wpCjAvTA2Cr7DPRUU20lCznSsNkZFkiUETIFKhUm5vdEqFG9jCJb3BMVMRE0DFOEA1KBkH+GVczoxBzWU713jBMyIIdW6V/opVaHrv/oHjEcE2yVrwzlDy31XTASCIVAFfi8L6iWUd6VHAmDulf2hy9x4yhVLqmuQ171/TAYhgpIq4hBsWDVHAGLygTfGglFgVG41q3iHzpQ4++N9HH7A591ktdVB21/HfrHwQS12rWGh4VbJIN+GyhsmQmOPW17DiQf7cdfxXu2JBsf+l0tOtcqteL/CSt0gWgJIXj3zbKalgehBAGgIxtIel2KCKJw7Y3PN29EBYsGKbWaUhgMi8cfoU1VnVMAUhHYG0rc/1EGyV/ZXOnsRv1IuCxEF6BhCqp6/DxraKKPtHe8RhC/Y94etNfAW3naUO9b8K/CXaYnAsFLoPlXrWYiedLfJB0THaImBuNm3PYVLk2QynnTEffQBqVSbTb/S3RlYzHEF7MIDGhzIOj6IeRBNkf8TbjMPcmIN3b5EnW8DAetBJpucD5R9AZNHImamaEnwOw3MM6rZpweqmsssIe64sVmhE0MHgB9POxONDojjYHqLncIbDg97jbJqzGdtSjI7JZlCMM+dTE+wGqiDet+Zb21beeOFkovVThCZDqNQFl0ukyk0K1hLJ4X6GeARlTwkNXxVzeAAAAABJRU5ErkJggg==",vLine:h.palette.error[600],border:h.palette.error[200],font:h.palette.error[700],bg:h.palette.error[25]},warning:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACg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DnCLG2DItRUSv+I3y0El0PyMD5x4/G6d+0QxlsbbKfPB7lierRtMO7gM5z9ip3yjcrRxjuPP+Vq3c/+gDY8YCxbQI9x+pCKwsM2cNn9Qv/UCzFO4y2g1h/AGct/1Uwe0+ZgHlUlxE/rbm1ySFLC9URvFLUHFPHzmXqi7ytL/bWxweoV2xcnmE3eOz2lCnV1G26nCe3gWkTDri9Gn9PbFkkMOcwqKhUo2bSe57M4Vsr7c++K0ZER7c2HjVfTYTCu4Db+j0jjRCX0fcbrgK5HykLTH+mh6Em8IaHqCdrbjrYNFyPkgPjqGsjlCJW+g+XJTjFNaW+49tJ6wiMjhNGzojJPIiuoZKITQXrxZl6/fDAyr/hjaYAkk63E55EIM3cjT3TCE8N9ksnOhUYD28qIbkNTX9K6Ky8OdftE4Mi8jQDgHt7NsPqpMSz/wAP+ylCNjUveUAAAAASUVORK5CYII=",vLine:h.palette.warning[600],border:h.palette.warning[200],font:h.palette.warning[700],bg:h.palette.warning[25]},success:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANiSURBVHgBzZg9aFNRFMf/976kKP16wSaQQUhcK7QuCl1MwcFRUTcHFRzEoS2Ia9O1S1NXQVtwEZTi5pa4CkI6dG7AodAPEpIUhbx3r+e85pU0pkney8vHb0nyPvL+73/uPffcI+CTo1oxJWVoTgukhNbzGsKkw2b9dAkCBfosaFvtAioXDUdy8IHwcnFRF02F0JJWWG4Q0xX0AgV6WM6QtbWIiBS6va8rgWfCjFWtxDICQWx1K7SjwBNdYcfS8OhYJxxHJdIzYmK73XWivbjyRnCuXSJAisw1MbFy6flWBzmktg7t0GumMAgE8oawFinkpeZTstX1lg5nByaO0Zh3DGnBfwI5rJw2MGjIkBNd3Wg+fCHEh1b5mRTiI4aIglqJGdMZ9/e5QBp3CUuFswI6geFSMqSVdMfjeYhrtpEeAXEM5dzwqvvDcZDds1VoHyMEuRhhFx0H2T2MGJYlnfzrOHhkV/dHJLyNlGaMyYjkqqTf4sp/T+ED86hWSVGIZQp95HfxEPfevcH3vZ/witZqntKenEOfYHGP3q9iIXkT92dvwyu0TpODAgn0gUZxmSev4QdJ5vEsTiBgXHHTV8d9i2M0tMkCA63zGsV9fbmGHjElAqRZ3NSVcfQKCyx5venzryzurL9yBLlwKnnxad1JrB+evg1EHGuTlAM9C1y4MUvjA3hMbrFIFsfOlf+c4gs5dz0SQyDQzlAcW5Ud+vIAHnHDyY7NxhPYOygEKw6cB/U3qZT6AR+wEB5n7GQ/xDlonRe8nNDuKgufsJM8KQIacxeg3eSiUywc25UiAk43vUI5sBA1ppJOmtFKbWLEEJC5s0/Ut5kqVMQIUaOyP06dB8dBrlwp3iPkotiK19sijZsms172D3Us8tizpL3oCjxf6thFZaueF89eEVKm4w1NpQtrcWxsOjPMUPOzm5tJLXszx6oy2NYHQY3QfFRO3mo+3rKaoUbOQ27oYFBo5KrUPGp1qm37jVaZDK0yS+gjHNZoePLSFl/bepBvVFo/55mFwNE0KcVKO3FMx4I1Fpra4mlPQrcREOxaRdrJ2NhEptO1nproB9QiMbiHI3BXQCTgCU2LgdishqxMskWjEkEIbISrIGqWpZxtq7Mz5M2/MF0x9MclrUWeXianFHYplDn44B+38nKPa3CIJgAAAABJRU5ErkJggg==",vLine:h.palette.success[600],border:h.palette.success[200],font:h.palette.success[700],bg:h.palette.success[25]},info:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARRSURBVHgBzVk/bBNXGP+9S0niVLFiGbWVkqqOWol2ggx06VAjMqMydWpTOltKMnRgaZwOMHRoLMEMdGNK1ZmIdGgHFswEDBXHn6gVwrKVQGyCcsf3e3cXbOfueM+ybH7Si8/37sv73ffvfe+zQo+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vAkLtBZchQi2ycO13i8MWLoMj6tscbHVyAGDCXsWQMcJ+TVtTqWMvlqhZk35eBcNDJdvVTIrvzbT8wbY+AiZV8bu57tvx1UwTZ+Wv8RbYB2yyeRQ3EUuQ/ijmnhuQuSuyVmxni0itB/MTakkiiuHuov8goWUhl9p/NGsBS+eBrRHbw30KKtI5KCdprR12TfQ3RL+GfR+nIdaoYFw6qgbEeiLYDlZBPFM7Sh9bC+F48zNEMKr8CULaGHd6/RniNTDfu03o+dx1AAAAAElFTkSuQmCC",vLine:h.palette.info[600],border:h.palette.neutral[200],font:h.palette.info[700],bg:h.palette.info[25]}})[i];var h;const A="color"===d,f=!n&&!a;return t(Do,Object.assign({$theme:p,$colors:g,$isColored:A},c,{className:m("dgaui dgaui_inlineAlert "+(u.isMobile?" mobile ":"")+(f?" minimal ":""),c.className),children:[e("div",{className:"icon"}),t("div",{className:"content",children:[e("div",{className:"leadText",children:o}),n&&e("div",{className:"helpText",children:n}),a&&e("div",{className:"actions",children:a})]}),l&&e("div",{className:"close",onClick:()=>null==s?void 0:s()})]}))},Do=sr.div`
|
|
1548
1550
|
direction: ${e=>e.$theme.direction};
|
|
1549
1551
|
width: 100%;
|
|
1550
1552
|
display: flex;
|
|
@@ -1670,7 +1672,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1670
1672
|
}
|
|
1671
1673
|
}
|
|
1672
1674
|
}
|
|
1673
|
-
`,
|
|
1675
|
+
`,To={medium:{f:16,lh:24},small:{f:14,lh:20}},Oo=t=>{var{children:r,style:o="primary",size:n="medium",inline:i,disabled:a}=t,l=v(t,["children","style","size","inline","disabled"]);const s=b(),d="on-color"===o?"#FFF":s.textColor,c=(p=s,{primary:{default:p.palette.primary[600],hovered:p.palette.primary[400],active:p.palette.primary[600],visited:p.palette.primary[800],disabled:p.palette.neutral[400]},neutral:{default:p.palette.neutral[700],hovered:p.palette.neutral[500],active:p.palette.neutral[400],visited:p.palette.primary[800],disabled:p.palette.neutral[400]},"on-color":{default:"#FFF",hovered:"rgba(255, 255, 255, 0.8)",active:"rgba(255, 255, 255, 0.6)",visited:"rgba(255, 255, 255, 0.9)",disabled:"rgba(255, 255, 255, 0.3)"}})[o];var p;return e(Qo,Object.assign({$theme:s,$fontSize:To[n].f,$lineHeight:To[n].lh,$focusBorderColor:d,$style:c,$inline:i,$disabled:a},l,{href:a?"":l.href,className:m("dgaui dgaui_link",l.className),children:r}))},Qo=sr.a`
|
|
1674
1676
|
font-size: ${e=>e.$fontSize}px;
|
|
1675
1677
|
line-height: ${e=>e.$lineHeight}px;
|
|
1676
1678
|
color: ${e=>e.$disabled?e.$style.disabled:e.$style.default};
|
|
@@ -1696,11 +1698,11 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1696
1698
|
&:hover {
|
|
1697
1699
|
color: ${e=>e.$disabled?e.$style.disabled:e.$style.hovered};
|
|
1698
1700
|
}
|
|
1699
|
-
`,Ho=t=>{var{children:r,style:o="primary",type:n="ordered-list",level:i=1,iconUrl:a=""}=t,l=v(t,["children","style","type","level","iconUrl"]);const s=b(),d=(c=s,{neutral:{text:c.textColor},primary:{text:c.palette.primary[600]},"on-color":{text:"#FFF"}})[o];var c;return e("ordered-list"===n?
|
|
1700
|
-
${e=>
|
|
1701
|
-
`,
|
|
1702
|
-
${e=>
|
|
1703
|
-
`,
|
|
1701
|
+
`,Ho=t=>{var{children:r,style:o="primary",type:n="ordered-list",level:i=1,iconUrl:a=""}=t,l=v(t,["children","style","type","level","iconUrl"]);const s=b(),d=(c=s,{neutral:{text:c.textColor},primary:{text:c.palette.primary[600]},"on-color":{text:"#FFF"}})[o];var c;return e("ordered-list"===n?Yo:Mo,Object.assign({$theme:s,$colors:d,$listStyleType:jo(n,i)},l,{className:m("dgaui dgaui_list",l.className),type:"ordered-list"===n&&1==+i?"1":"a",$iconUrl:a,$level:+i,$ol:"ordered-list"===n,children:r}))},Mo=sr.ul`
|
|
1702
|
+
${e=>Lo(e)};
|
|
1703
|
+
`,Yo=sr.ol`
|
|
1704
|
+
${e=>Lo(e)};
|
|
1705
|
+
`,Lo=e=>ir`
|
|
1704
1706
|
direction: ${e.$theme.direction};
|
|
1705
1707
|
color: ${e.$colors.text};
|
|
1706
1708
|
font-size: 16px;
|
|
@@ -1752,7 +1754,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
1752
1754
|
}
|
|
1753
1755
|
}
|
|
1754
1756
|
`:""};
|
|
1755
|
-
`,jo=(e,t)=>{const r=+t;switch(e){case"ordered-list":return 1===r?"decimal":"";case"unordered-list":return 1===r?'"- "':2===r?"disc":"";default:return"with-icon"}},
|
|
1757
|
+
`,jo=(e,t)=>{const r=+t;switch(e){case"ordered-list":return 1===r?"decimal":"";case"unordered-list":return 1===r?'"- "':2===r?"disc":"";default:return"with-icon"}},Po={xxSmall:{wh:20,b:2},xSmall:{wh:24,b:2},small:{wh:28,b:2},medium:{wh:32,b:3},large:{wh:36,b:3},xLarge:{wh:40,b:3},xxLarge:{wh:44,b:4}},Vo=t=>{var{style:r="primary",size:o="medium",className:n,loadingStyle:i}=t,a=v(t,["style","size","className","loadingStyle"]);const l=b(),s={primary:(d=l).palette.primary.main,neutral:d.textColor,"on-color":d.textOnColor||Qr};var d;return e(Ko,Object.assign({},a,{$theme:l,$customStyle:{color:s[r],size:Po[o]},$style:r,className:m("dgaui dgaui_loading",n)}))},Ko=sr.div`
|
|
1756
1758
|
width: ${e=>e.$customStyle.size.wh}px;
|
|
1757
1759
|
height: ${e=>e.$customStyle.size.wh}px;
|
|
1758
1760
|
border: ${e=>e.$customStyle.size.b}px solid
|
|
@@ -2092,7 +2094,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2092
2094
|
filter: opacity(0.5) grayscale(100%);
|
|
2093
2095
|
}
|
|
2094
2096
|
}
|
|
2095
|
-
`,an=o=>{var{count:n,currentPage:i,siblingCount:a=1,onPageChange:l,size:s="small"}=o,d=v(o,["count","currentPage","siblingCount","onPageChange","size"]);const c=b(),p=n<=1e3?e(lo,{onOpen:()=>{var e,t;const r=document.getElementsByClassName("menueItemsContainer");for(let o=0;o<r.length;o++)null===(e=r[o])||void 0===e||e.scrollTo(0,(null===(t=document.getElementsByClassName("selectedMenueItem")[0])||void 0===t?void 0:t.offsetTop)||0)},menuItems:Array(n).fill("").map(((t,r)=>e(Xo,{onClick:()=>null==l?void 0:l(r+1),trailIcon:i===r+1?e("img",{src:Ar}):void 0,className:i===r+1?"selectedMenueItem":void 0,children:r+1},r))),children:e(on,{size:s,children:"..."})}):e(on,{size:s,children:"..."}),u=2*a>=n?1:a,g=1===u?i<=2*u+1:i<2*u+1,h=!g&&i>n-2*u,A=!g&&!h,f=!g,x=!h;let y=1+2*u;const
|
|
2097
|
+
`,an=o=>{var{count:n,currentPage:i,siblingCount:a=1,onPageChange:l,size:s="small"}=o,d=v(o,["count","currentPage","siblingCount","onPageChange","size"]);const c=b(),p=n<=1e3?e(lo,{onOpen:()=>{var e,t;const r=document.getElementsByClassName("menueItemsContainer");for(let o=0;o<r.length;o++)null===(e=r[o])||void 0===e||e.scrollTo(0,(null===(t=document.getElementsByClassName("selectedMenueItem")[0])||void 0===t?void 0:t.offsetTop)||0)},menuItems:Array(n).fill("").map(((t,r)=>e(Xo,{onClick:()=>null==l?void 0:l(r+1),trailIcon:i===r+1?e("img",{src:Ar}):void 0,className:i===r+1?"selectedMenueItem":void 0,children:r+1},r))),children:e(on,{size:s,children:"..."})}):e(on,{size:s,children:"..."}),u=2*a>=n?1:a,g=1===u?i<=2*u+1:i<2*u+1,h=!g&&i>n-2*u,A=!g&&!h,f=!g,x=!h;let y=1+2*u;const w=Array(y).fill(0).map(((e,t)=>t+1)),C=Array(y).fill(0).map(((e,t)=>i-u+t)),$=Array(y).fill(0).map(((e,t)=>n-t)).reverse(),k=n<=5;return t(ln,Object.assign({$theme:c},d,{className:m("dgaui dgaui_pagination",d.className),children:[e(on,{className:"noAfter",size:s,onClick:()=>i>1?null==l?void 0:l(i-1):void 0,children:"<"}),k&&Array(n).fill(0).map(((e,t)=>t+1)).map((t=>e(on,{size:s,selected:t===i,onClick:()=>null==l?void 0:l(t),children:t},t))),!k&&t(r,{children:[!g&&e(on,{size:s,selected:1===i,onClick:()=>null==l?void 0:l(1),children:"1"}),f&&p,g&&w.map((t=>e(on,{size:s,selected:t===i,onClick:()=>null==l?void 0:l(t),children:t},t))),A&&C.map((t=>e(on,{size:s,selected:t===i,onClick:()=>null==l?void 0:l(t),children:t},t))),x&&p,h&&$.map((t=>e(on,{size:s,selected:t===i,onClick:()=>null==l?void 0:l(t),children:t},t))),!h&&e(on,{size:s,selected:i===n,onClick:()=>null==l?void 0:l(n),children:n})]}),e(on,{className:"noAfter",size:s,onClick:()=>i<n?null==l?void 0:l(i+1):void 0,children:">"})]}))},ln=sr.div`
|
|
2096
2098
|
direction: ${e=>e.$theme.direction};
|
|
2097
2099
|
display: flex;
|
|
2098
2100
|
align-items: center;
|
|
@@ -2281,7 +2283,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2281
2283
|
display: none;
|
|
2282
2284
|
}
|
|
2283
2285
|
}
|
|
2284
|
-
`,hn=r=>{var{label:o,description:n,error:i,onChange:a,value:l,groupValue:s,style:d="primary"}=r,c=v(r,["label","description","error","onChange","value","groupValue","style"]);const p=b(),u={neutral:{default:(g=p).palette.neutral[600],hovered:g.palette.neutral[800],active:g.palette.neutral[900],disabled:g.palette.neutral[200]},primary:{default:g.palette.primary[600],hovered:g.palette.primary[800],active:g.palette.primary[900],disabled:g.palette.neutral[200]}};var g;const h=null!=d?d:"primary";let A=p.textColor,f=u[h].default,x=u[h].hovered,y=u[h].active,
|
|
2286
|
+
`,hn=r=>{var{label:o,description:n,error:i,onChange:a,value:l,groupValue:s,style:d="primary"}=r,c=v(r,["label","description","error","onChange","value","groupValue","style"]);const p=b(),u={neutral:{default:(g=p).palette.neutral[600],hovered:g.palette.neutral[800],active:g.palette.neutral[900],disabled:g.palette.neutral[200]},primary:{default:g.palette.primary[600],hovered:g.palette.primary[800],active:g.palette.primary[900],disabled:g.palette.neutral[200]}};var g;const h=null!=d?d:"primary";let A=p.textColor,f=u[h].default,x=u[h].hovered,y=u[h].active,w=p.palette.neutral[950],C=p.palette.neutral[600],$=p.palette.neutral[500],k=p.palette.neutral[300];const S=c.id;return t(mn,{$customStyle:{theme:p,fontColor:A,backgroundColor:f,backgroundColorHovered:x,backgroundColorActive:y,sliderBg:w,sliderBgHovered:C,sliderBgActive:$,sliderBgDisabled:k},className:m("dgaui dgaui_radioContainer",c.className),children:[t("div",{className:"dgaui_radioHead",children:[t("label",{className:"dgaui_radio",children:[e("input",Object.assign({id:S,type:"radio"},c,{checked:s===l,onChange:e=>a&&a(e,l)})),e("span",{className:"dgaui_radioDot"})]}),e("label",{htmlFor:S,className:"dgaui_radioLabel",children:o})]}),t("div",{className:"dgaui_radioDescription",children:[n&&e("div",{className:"dgaui_radioDescriptionText",children:n}),i&&e("div",{className:"dgaui_radioDescriptionError",children:i})]})]})},mn=sr.div`
|
|
2285
2287
|
direction: ${e=>e.$customStyle.theme.direction};
|
|
2286
2288
|
color: ${e=>e.$customStyle.fontColor};
|
|
2287
2289
|
|
|
@@ -2500,7 +2502,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2500
2502
|
.dgaui_radioLabel {
|
|
2501
2503
|
margin-inline-start: 40px;
|
|
2502
2504
|
}
|
|
2503
|
-
`,bn=r=>{var{label:o,helperText:n,color:i,alertMessage:a,checked:l,trailSwitch:s,icon:d,onChange:c}=r,p=v(r,["label","helperText","color","alertMessage","checked","trailSwitch","icon","onChange"]);const u=b(),g={neutral:{default:(h=u).palette.neutral[600],hovered:h.palette.neutral[800],active:h.palette.neutral[900],disabled:h.palette.neutral[200]},primary:{default:h.palette.primary[600],hovered:h.palette.primary[800],active:h.palette.primary[900],disabled:h.palette.neutral[200]},secondary:{default:h.palette.secondary[600],hovered:h.palette.secondary[800],active:h.palette.secondary[900],disabled:h.palette.neutral[200]},error:{default:h.palette.error[600],hovered:h.palette.error[800],active:h.palette.error[900],disabled:h.palette.neutral[200]},warning:{default:h.palette.warning[600],hovered:h.palette.warning[800],active:h.palette.warning[900],disabled:h.palette.neutral[200]},success:{default:h.palette.success[600],hovered:h.palette.success[800],active:h.palette.success[900],disabled:h.palette.neutral[200]},info:{default:h.palette.info[600],hovered:h.palette.info[800],active:h.palette.info[900],disabled:h.palette.neutral[200]}};var h;const f=null!=i?i:"primary";let x=u.textColor,y=g[f].default,
|
|
2505
|
+
`,bn=r=>{var{label:o,helperText:n,color:i,alertMessage:a,checked:l,trailSwitch:s,icon:d,onChange:c}=r,p=v(r,["label","helperText","color","alertMessage","checked","trailSwitch","icon","onChange"]);const u=b(),g={neutral:{default:(h=u).palette.neutral[600],hovered:h.palette.neutral[800],active:h.palette.neutral[900],disabled:h.palette.neutral[200]},primary:{default:h.palette.primary[600],hovered:h.palette.primary[800],active:h.palette.primary[900],disabled:h.palette.neutral[200]},secondary:{default:h.palette.secondary[600],hovered:h.palette.secondary[800],active:h.palette.secondary[900],disabled:h.palette.neutral[200]},error:{default:h.palette.error[600],hovered:h.palette.error[800],active:h.palette.error[900],disabled:h.palette.neutral[200]},warning:{default:h.palette.warning[600],hovered:h.palette.warning[800],active:h.palette.warning[900],disabled:h.palette.neutral[200]},success:{default:h.palette.success[600],hovered:h.palette.success[800],active:h.palette.success[900],disabled:h.palette.neutral[200]},info:{default:h.palette.info[600],hovered:h.palette.info[800],active:h.palette.info[900],disabled:h.palette.neutral[200]}};var h;const f=null!=i?i:"primary";let x=u.textColor,y=g[f].default,w=g[f].hovered,C=g[f].active,$=u.palette.neutral[950],k=u.palette.neutral[600],S=u.palette.neutral[500],B=u.palette.neutral[300];const E=p.id||A();return t(xn,{$customStyle:{theme:u,fontColor:x,backgroundColor:y,backgroundColorHovered:w,backgroundColorActive:C,sliderBg:$,sliderBgHovered:k,sliderBgActive:S,sliderBgDisabled:B},className:m("dgaui dgaui_switchContainer "+(s?"endSwitch":""),p.className),children:[t("div",{className:"dgaui_switchHead",children:[t("label",{className:"dgaui_switch",children:[e("input",Object.assign({id:E,type:"checkbox"},p,{checked:l,onChange:e=>c&&c(e,e.target.checked)})),e("span",{className:"dgaui_switchSlider",children:d&&e("span",{className:"icon",children:d})})]}),e("label",{htmlFor:E,className:"dgaui_switchLabel",children:o})]}),t("div",{className:"dgaui_switchDescription",children:[n&&e("div",{className:"dgaui_switchDescriptionText",children:n}),a&&e("div",{className:"dgaui_switchDescriptionError",children:a})]})]})},xn=sr.div`
|
|
2504
2506
|
direction: ${e=>e.$customStyle.theme.direction};
|
|
2505
2507
|
color: ${e=>e.$customStyle.fontColor};
|
|
2506
2508
|
|
|
@@ -2692,7 +2694,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2692
2694
|
border: 4px solid transparent;
|
|
2693
2695
|
}
|
|
2694
2696
|
}
|
|
2695
|
-
`,vn={xsmall:{w:64,h:20,py:8,f:10},small:{h:24,py:8,f:12},medium:{h:32,py:16,f:16}},yn=r=>{var o,n,i,{children:a,status:l,size:s,style:d}=r,c=v(r,["children","status","size","style"]);const p=b(),u=null!=d?d:"neutral",g=null!=s?s:"medium",h=l||"subtle",A={neutral:{subtle:{bg:(f=p).palette.neutral[50],iconBg:f.palette.neutral[600],font:f.palette.neutral[800]},inverted:{bg:f.palette.neutral[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.neutral[600],font:f.palette.neutral[800]}},blue:{subtle:{bg:"#EFF8FF",iconBg:f.palette.info[800],font:f.palette.info[800]},inverted:{bg:f.palette.info[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.info[800],font:f.palette.neutral[800]}},green:{subtle:{bg:f.palette.success[50],iconBg:f.palette.success[800],font:f.palette.success[800]},inverted:{bg:f.palette.success[700],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.success[800],font:f.palette.neutral[800]}},red:{subtle:{bg:f.palette.error[50],iconBg:f.palette.error[800],font:f.palette.error[800]},inverted:{bg:f.palette.error[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.error[800],font:f.palette.neutral[800]}},yellow:{subtle:{bg:f.palette.warning[50],iconBg:f.palette.warning[800],font:f.palette.warning[800]},inverted:{bg:f.palette.warning[700],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.warning[800],font:f.palette.neutral[800]}}};var f;let x=null===(o=A[u][h])||void 0===o?void 0:o.bg,y=null===(n=A[u][h])||void 0===n?void 0:n.iconBg,
|
|
2697
|
+
`,vn={xsmall:{w:64,h:20,py:8,f:10},small:{h:24,py:8,f:12},medium:{h:32,py:16,f:16}},yn=r=>{var o,n,i,{children:a,status:l,size:s,style:d}=r,c=v(r,["children","status","size","style"]);const p=b(),u=null!=d?d:"neutral",g=null!=s?s:"medium",h=l||"subtle",A={neutral:{subtle:{bg:(f=p).palette.neutral[50],iconBg:f.palette.neutral[600],font:f.palette.neutral[800]},inverted:{bg:f.palette.neutral[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.neutral[600],font:f.palette.neutral[800]}},blue:{subtle:{bg:"#EFF8FF",iconBg:f.palette.info[800],font:f.palette.info[800]},inverted:{bg:f.palette.info[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.info[800],font:f.palette.neutral[800]}},green:{subtle:{bg:f.palette.success[50],iconBg:f.palette.success[800],font:f.palette.success[800]},inverted:{bg:f.palette.success[700],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.success[800],font:f.palette.neutral[800]}},red:{subtle:{bg:f.palette.error[50],iconBg:f.palette.error[800],font:f.palette.error[800]},inverted:{bg:f.palette.error[600],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.error[800],font:f.palette.neutral[800]}},yellow:{subtle:{bg:f.palette.warning[50],iconBg:f.palette.warning[800],font:f.palette.warning[800]},inverted:{bg:f.palette.warning[700],iconBg:"#ffffff99",font:"#fff"},ghost:{bg:"transparent",iconBg:f.palette.warning[800],font:f.palette.neutral[800]}}};var f;let x=null===(o=A[u][h])||void 0===o?void 0:o.bg,y=null===(n=A[u][h])||void 0===n?void 0:n.iconBg,w=null===(i=A[u][h])||void 0===i?void 0:i.font;return t(wn,{className:m("dgaui dgaui_statusTag",c.className),$customStyle:{direction:p.direction,height:vn[g].h,paddingY:vn[g].py,fontSize:vn[g].f,fontColor:w,backgroundColor:x,iconBackgroundColor:y},children:[e("i",{className:"dgaui_icon"}),a]})},wn=sr.div`
|
|
2696
2698
|
direction: ${e=>e.$customStyle.direction};
|
|
2697
2699
|
height: ${e=>e.$customStyle.height}px;
|
|
2698
2700
|
padding: 0 ${e=>e.$customStyle.paddingY}px;
|
|
@@ -2712,7 +2714,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2712
2714
|
background-color: ${e=>e.$customStyle.iconBackgroundColor};
|
|
2713
2715
|
margin-inline-end: 8px;
|
|
2714
2716
|
}
|
|
2715
|
-
`,
|
|
2717
|
+
`,Cn=({contained:r,compact:n,alternatingRows:i,selectable:a,className:l,labels:s,values:d,onRowClick:c,onCheck:p,responsiveThreshold:u,columnDivider:g,headerColumnDivider:h=!0,lastColumnWidthMultiply:A})=>{const f=b(),[x,v]=o.useState(!1),[y,w]=o.useState(!1),C=e=>{null==p||p(d.map((t=>t===e?Object.assign(Object.assign({},t),{selected:!(null==t?void 0:t.selected)}):t)))};return o.useEffect((()=>{if(a){let e=!0;d.forEach((t=>{(null==t?void 0:t.selected)||(e=!1)})),v(e)}}),[d]),o.useEffect((()=>{const e=()=>w(window.innerWidth<=(u||768));return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),y?e(kn,{$theme:f,$compact:n,$contained:r,$alternatingRows:i,$onRowClick:!!c,className:m("dgaui dgaui_table",l),children:d.map(((r,o)=>{const l=null==r?void 0:r.selected;return t("div",{className:"mobileRow "+(l?"checked ":""),onClick:e=>{if(!(e.target instanceof HTMLElement))return;"DIV"===e.target.nodeName&&(null==c||c(r))},children:[a&&e("div",{className:"cell selectable",children:e(vr,{size:n?"small":"medium",value:l,onChange:()=>C(r),onClick:e=>e.stopPropagation()})}),Object.keys(s).filter((e=>!!s[e])).map(((o,n)=>t("div",{className:"mobileRowContainer",children:[e("div",{className:"cell label",children:s[o]}),e("div",{className:"cell value "+(i?(n+1)%2==0?"even":"odd":""),children:r[o]})]},n)))]},o)}))}):t($n,{$theme:f,$headerColumnDivider:h,$compact:n,$contained:r,$alternatingRows:i,$onRowClick:!!c,className:m("dgaui dgaui_table"+(g?" columnDivider":""),l),cellPadding:0,cellSpacing:0,children:[e("thead",{children:t("tr",{children:[a&&e("th",{className:"selectable",children:e(vr,{value:x,onChange:(e,t)=>{if(v(t),p){let e=[];e=t?d.map((e=>Object.assign(Object.assign({},e),{selected:!0}))):d.map((e=>Object.assign(Object.assign({},e),{selected:!1}))),p(e)}}})}),Object.keys(s).filter((e=>!!s[e])).map(((t,r)=>e("th",{style:{flex:A&&r===Object.keys(s).length-1?A:void 0},children:s[t]},r)))]})}),d&&d.length>0&&e("tbody",{children:d.map(((r,o)=>{const n=null==r?void 0:r.selected;return t("tr",{onClick:e=>{if(!(e.target instanceof HTMLElement))return;const t=e.target.nodeName;"TR"!==t&&"TD"!==t||null==c||c(r)},className:(n?"checked ":"")+(i?(o+1)%2==0?"even":"odd":""),children:[a&&e("td",{className:"selectable",children:e(vr,{value:n,onChange:()=>C(r),onClick:e=>e.stopPropagation()})}),Object.entries(r).filter((e=>!!s[e[0]])).map((([t,r],o)=>s[t]&&e("td",{style:{flex:A&&o===Object.keys(s).length-1?A:void 0},children:r},t)))]},o)}))})]})},$n=sr.table`
|
|
2716
2718
|
direction: ${e=>e.$theme.direction};
|
|
2717
2719
|
width: 100%;
|
|
2718
2720
|
overflow: hidden;
|
|
@@ -2966,7 +2968,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
2966
2968
|
transition: all 0.2s;
|
|
2967
2969
|
border-bottom-left-radius: 50px;
|
|
2968
2970
|
border-bottom-right-radius: 50px;
|
|
2969
|
-
`;const Fn=r=>{var{leadText:o,helpText:n,type:i,actions:a,closeButton:l,onClose:s,style:d}=r,c=v(r,["leadText","helpText","type","actions","closeButton","onClose","style"]);const p=b(),u=No(),g=(e=>({neutral:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJv0lEQVR4Ae1dzVPbRhTflWUBl4TeoXWvJjNJTq17IpeSW9KZ4h6bBPecmP4BkD+gQM6FtD3W7kzJDXpJTqW30JlCj3EL9zrugSLb2r6f7FXkD9laWSs7kJ0xklb78d5Pb9++fW8lOBtjEkLMNpvNxUbDyRiGcZ0xkRH0a5HE28fWFf2tcsYqODLGK47j/J5K8UPTNA8555Q3nkQ0JZcAWKPRuCEYu0PndwmITBy9ExOH1NahYbBnBOhuHG2GbSMRAOv1+qIQ/EuSLgKNzYYlLmI5klS+y7n4IZ1Ov4jYRuhq2gBsS9tDR7BHRI1u0AIY5hXOnMeWZX0fUGDk7NgBnAzgunHhFeE0nkxPT2913xn1OlYAzxuNu8xxNuPSbaMy11s/fomMBcCzs7NMKmV+R5PDYi/RE5gj2K5jmcUZziujUmeM2oBt2w+NlPnyrQEPDHN216g3XhLt90blP7IEQtfVG4010ZokRqVj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rLNVjOugPtXzO6UP9TsARMY4pBD9vg1JOILeWrK2/LT2ANiSwvrLdzv1/TDhvFf6kNvjUHVNGsMo4ua79AYBfMDnzdWbsx4JlLdoy9tzwdiivL7UR/pMCu3M/6wfBoEAvnvZ0IMr2suGMzMzFfLS9BVbr+lLcEJmy8AP9PToQD8m05a1RcP4iT/vMp2Dd7/N14/3wCEsC2NWpje3oQ9vyLzLcCRgDumDPDeH8TpQAlEZs3Kz2SAFqid+PIzA8dznFXyIJ0zfQyVQNnJ5vtyh9u2Y0AACyIsPohp4wEQJwIsNojp4wGOoDkQhf4J54zSbt6Bk/flv8zl4ifLdLPCsDCAqAUTMUBfBxAEP+MBO0Fc5wO+gpDyEuxtrv6S9Sfmz3fcm/LpK3pXH3d4VVZpHBhAdupOLSZ9Jab8/pkpE0uWJ6RdkptyPKnV+emMBUDbYkkZ4tHlG5k3WkXaiGaw4FePHumMFUIL1n20/ooYfThCQVXob/8m0ZW657jpJaAxHLQBKuiZAIrUBJ3nUCqDsBCFT5oh7tBHnDuXpnmzcT8E36VPw8rsGkg4dx0QA9BOOt+OdpnM3xfn1+BwUglxv7JngfBc7puIepn76u88TB9BPADw9eHWe0xuj8t9h0H28v5zB0V9WOjNoV0CFdKv77zCwtxHb85IErJMmxv4H6H/z+b2+mWkAAAAASUVORK5CYII=",vLine:e.palette.neutral[200],border:e.palette.neutral[200],font:e.palette.neutral[800],bg:e.palette.neutral[25]},critical:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJrklEQVR4Ae1dTYwURRSu6pkVV3eWWQjhz+hwQLmxS/BkQna9KJrAEhM9aCI/F0yIsBcSQhTQEA0eYI0JXkBM5AAXFxM5CtGjRsabYAxjgvyEwA6zqx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zSWjT4EBw54xKGwEFFCasvq0gARQzoMi+mFsj0tv7NklFxUQ3sVFmCqgeWhL0WqKZKImsheNERv74SIss9+hcyx2gnWFdmbI1cjaNtNx4gpprQi+oSI46zAW0DrluKs8HBPBWZuoyX64qAEgGqE5Y5Iu+agbRCRwm04QqNNVUfN38sP0gXi4XSvu5CufEf/2LV6j8uYAWJt6cJjQPaQyo74CSBxTwzG26u2btA15szHR67alNBgrNk+SZvcObYwHuLqApmA77B+xmAMgdtrJqb5OZSPXwiAAYQ5Tvptf+Sj3U/zaacpzaB/yH50PpAcYE9LC8Ti1sEkoWwLmwBRPntokcb8VjI07c+ZoIDKlFvYY9HIhL+D5MdURcNE+5Fh+oA0laCE3+Zgt6fEtIWCa/IgbEE0aqAqRRb5E98PqeYFfJyie3uaGQZMGqkL0PsQOuo80OlG859dV4N0QzxHpDeDAQIle9XRV2/kFQHvSmoKP0bRW8uLiCSAq4D1ZevWhyfJ4Meu2dPTd7vO59c9zDlSFLd/QoPkw+WPASoZUrrTeRxHHUKu2fTUQlaVVrprbGJnxVsy6Jp/6ymepzwGopQYqHqSJBdFDmtjt/qEFHj42UVJ997sGBhBMuh7EkOABk1AAdjWIGuABj5ZzIArZCapN88MI6WPRnj6v77FBRH0KOmztfQ0NICqjISO3eKgbXBz0QRc8iYUdTZ17+ZI2p89+prQEpiOzVUfga79HMn3tfVc19BzoJjCMC8tmjov586WPywhVdYass/+RAKiYSm00xKGOdXVgKGilSe2oKbnbuUYKoBKk9uDBPp5h9PUPXlBp6V5puNJiqFE1T5DWRbpAEguACqz0NTI+4FQfYwVQNSI/BS/M7Zy+oU82POb9FhgHPv8/Ba/Ac15JK0dNJkYJzPUE5qAzX+tZiBJZ1AvyiAqdsoh6mPrJlIgGegmAlR68bmua9Mao+nMYjP5EBmOFJk0lkCQfzgGW9ecw6J7R8bwkAZMy2P77H1JgF4wqWUkFAAAAAElFTkSuQmCC",vLine:e.palette.error[600],border:e.palette.error[200],font:e.palette.error[700],bg:e.pal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k17bGM3dl3oN1X36HVgt1eebHr4LRjRcAuhr6jcYoLewau4ougpghwZlBgg12BGVrSfPoOctqKdoxNxFj59RivfvL+kkrlWwSsowsV8AzOjGGJoFUeajhbz79NPE8M6MU6XO+oI1Cp4BQWLhFzw8v05MbiQU822xop8WlzKfOTbmRM8pyg+n42pVvvdwt32B9MO55AmOFXoEi6nEj7+/IjP7RjO5UDFg7AWLAqRsQV5Yk64fBbf+9JT/PrhUjzW5fO4fzir1fEV8IWfBSi1N/Aw2iiszwB/nHhPHXmXcKroKhWn4mH9wYmvtNblMb0kC7iSJusA/3mYRX4Y8yrpOVypLOFc5rhi1527OKgAcBpia63O33ZLsVYVj34GMSUiz96oA+RPGuUKWzEw8abhI5BPGU7kTJyOeMfHsakCxVzz7HYFZf/5ggLIfFl6lMPfTLPOybXr1uP5GwDrVlwGzzgWj2YB+CpmV3GJP1/g8fksVrR7ixp33k/wOe6AYwwuQH5BiQ03izy3T4Zkfv/HJNfFzYCQdmbwnm7mHX1bLgDcy/vn2WNBV2iH30R7wX0/+gY+bD4Z8pvGF6C6j0Z6sJrjcDe7tQebIlk0BugoIlGOIPXcwK/g8A7xWcSFbRRuxRx68rVgs7oK2mp1iKT8vJn/39oyT/ZWUnTwpmxNvptE10Xu/JUgK5RF9rwC9yd0ehp+ERe0PEW2cjp3+vULBLB5AHXhr9+pUwCcgIx/UfyYilgAAKHWlCjnUDEd9N8Q/wKvLq424p4TIgAAAABJRU5ErkJggg==",vLine:e.palette.warning[600],border:e.palette.warning[200],font:e.palette.warning[700],bg:e.palette.warning[25]},success:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAFJklEQVRYCc1YTWhcVRQ+976JKGbamSZTqBA7cadTSFqp0Lpw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vNQQHmXtLC1xuTvrFm7aFEHmptcg15fJNYjsDEBRrPwHk/MefNwUHGezX2J9tSSn1p9RC3LUVQJnAr17BbRVfkEHSBDo8CJHjnURbexAvgoKLvRilxJbAi/0Yh4ZApCgrILDqlgr8sEoU8APgB19d54CPGcCNCrd3WAA/4hShYEv4LO1w2rsNwBW3hGNNylYYfDCeunPLxBWW7hwfuXBawfa2/HCFZvmohXjFUazZiaexTTHZ6bS/bwAWdCHiqhC8GJgAAlsgdhkUchDKETIeSRUo5oz09t/OsT9vAGJodas0zpc813w8T7G57T0AqADc8eISj1nH4kG8AWJPyi18xOehv/LRZM7/rsochNEgOjXf13jgqgCi0/EMf48q+jSIwn3lZdu1l0mVJfYbWlWlQ736gG3e1nIdsv20HwfalSX2Tzii/I7gCx3/2IG2BWWl2OqrZ6MuQMRjhwyfPpTlxrLKcN2bLQCuC9B7k8628DBfPXGxFHlvbL+eHFtF7YoRY6OJ0roxWMvPJSi+5Tpp/oB5r3ZuT332mhMqp7FSreStAHpKPKAO3+wH+dCHPDymGFgoVB63AebZDATQE8JzZauU5ABJcjL1sJI4X3jG9U6RBxi+SinyUS4ntLqrlMzF2sJZv7xt+z/+xgcVO9htPQAAAABJRU5ErkJggg==",vLine:e.palette.success[600],border:e.palette.success[200],font:e.palette.success[700],bg:e.palette.success[25]},info:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJd0lEQVR4Ae1dPWwURxR+d07AToRjCxIJGZxFkRJcYRdJQZqLgBbsKqn8U8cSuEgBRYAmRKIwjpzahiqpbFKDcBMKUthUQMXGxIoUgWxBgm0It3nf7L29vbtd787ezt75Lk/a293ZmTcz3743782b3b0cNZDWHaeHXlGB3pBFHXSMHN6T2tAqH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oZjEKQc68NGweN6WH0DHu3I8OEiWEmxlOg4Oox1E4T+RdWRHkSYYeA5wmrfEuMshopMKOjhIlTMD1cafT7G3zlX9VY9lfZfA4gA1R8EQFAC82qRNsmPvJDiKOAlfwp7m197OCJ8PBVGAj/idonV+KJczGIPiYIaygpe3DobAJzbNIcm+JWHeWlnJYD4EM42GTUmUnH1HhKJlTwsRsHQqIcqS1Ft5IVxUA9esnOMebbpca66faXzCulDWgWASGiEFKLeXUI1by3VAuhK4TJ3yNolncqqmTXSh4prAqpqapejxN8QyKo3mdfDD5cH1VkjgZKJLfIdPi7IeZvvF9nyjgRhUCOBXia2Nny84Z2378EGx0xDNTIUwNLbiYFi21ZYRnygJxRAgKTeky3STFsBVtnZGb/PV3nJPQsdAyVzKdCA8XBQ0tpiz+EqfqFmKKqvO0ogCiur7BAGUBvnbUI2PsQTp6+REihM2MG22O2GJFqS1qJ7rW/HxAYQYLUBiFrgARMtAFscRG3wgEfkGIhMflLuDcfDOG3Fn76rj7G+keC7WeizNoAoBBDZxRnigbYVXJwZXtrV/ugYcABpq7BbrPzL4+I4c5nmFGPrKeXaUj3CLOuy8nXrYFs3gKgbxiWXp2nH/cxxHc3JrOgSqywCo3a9NaYCoDSiJI0X+dyStCbb26wtU2l+rDtVAAUsjuSc4+OzvFmS1uA9AgIz/Nn4a/4PRqTRJiMASsOaQCKNASd9NAqgVMJAFvgYxuYM700bm9b4FLyAV71Xb8fjjwj4PTO+Nlh9PeG5zeVuspouZv3vDplIYBgoKtKDV+fxwnf57zAgoRZv1ZJqcxoIhsDmv9C4r55t5Mfz0h7X3Gri/f4H+Cp1vmMx470AAAAASUVORK5CYII=",vLine:e.palette.info[600],border:e.palette.info[200],font:e.palette.info[700],bg:e.palette.info[25]}}))(p)[i],h=!n&&!a;return t(Rn,Object.assign({$theme:p,$colors:g,style:d},c,{className:m("dgaui dgaui_inlineAlert "+(u.isMobile?" mobile ":"")+(h?" minimal ":"")),children:[e("div",{className:"icon"}),t("div",{className:"content",children:[e("div",{className:"leadText",children:o}),n&&e("div",{className:"helpText",children:n}),a&&e("div",{className:"actions",children:a})]}),l&&e("div",{className:"close",onClick:()=>null==s?void 0:s()})]}))},Rn=sr.div`
|
|
2971
|
+
`;const Fn=r=>{var{leadText:o,helpText:n,type:i,actions:a,closeButton:l,onClose:s,style:d}=r,c=v(r,["leadText","helpText","type","actions","closeButton","onClose","style"]);const p=b(),u=No(),g=(e=>({neutral:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJv0lEQVR4Ae1dzVPbRhTflWUBl4TeoXWvJjNJTq17IpeSW9KZ4h6bBPecmP4BkD+gQM6FtD3W7kzJDXpJTqW30JlCj3EL9zrugSLb2r6f7FXkD9laWSs7kJ0xklb78d5Pb9++fW8lOBtjEkLMNpvNxUbDyRiGcZ0xkRH0a5HE28fWFf2tcsYqODLGK47j/J5K8UPTNA8555Q3nkQ0JZcAWKPRuCEYu0PndwmITBy9ExOH1NahYbBnBOhuHG2GbSMRAOv1+qIQ/EuSLgKNzYYlLmI5klS+y7n4IZ1Ov4jYRuhq2gBsS9tDR7BHRI1u0AIY5hXOnMeWZX0fUGDk7NgBnAzgunHhFeE0nkxPT2913xn1OlYAzxuNu8xxNuPSbaMy11s/fomMBcCzs7NMKmV+R5PDYi/RE5gj2K5jmcUZziujUmeM2oBt2w+NlPnyrQEPDHN216g3XhLt90blP7IEQtfVG4010ZokRqVjbPUJgC3LShejEhAJwPaQ/Zmk7kbUjiepHoFw2Eybn0UZ0soAAjwjlXo+uRNF1EdDq5t06pYqiEoAXlzwJOjqIIYG8OKDFw3EUABeHvDUQQwFoG3XYaZciAlDQjTsSMAcptPmrWGenqF2oF2vb1428AAueK7XG2shgA4uckaGpsH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PToQD8m05a1RcP4iT/vMp2Dd7/N14/3wCEsC2NWpje3oQ9vyLzLcCRgDumDPDeH8TpQAlEZs3Kz2SAFqid+PIzA8dznFXyIJ0zfQyVQNnJ5vtyh9u2Y0AACyIsPohp4wEQJwIsNojp4wGOoDkQhf4J54zSbt6Bk/flv8zl4ifLdLPCsDCAqAUTMUBfBxAEP+MBO0Fc5wO+gpDyEuxtrv6S9Sfmz3fcm/LpK3pXH3d4VVZpHBhAdupOLSZ9Jab8/pkpE0uWJ6RdkptyPKnV+emMBUDbYkkZ4tHlG5k3WkXaiGaw4FePHumMFUIL1n20/ooYfThCQVXob/8m0ZW657jpJaAxHLQBKuiZAIrUBJ3nUCqDsBCFT5oh7tBHnDuXpnmzcT8E36VPw8rsGkg4dx0QA9BOOt+OdpnM3xfn1+BwUglxv7JngfBc7puIepn76u88TB9BPADw9eHWe0xuj8t9h0H28v5zB0V9WOjNoV0CFdKv77zCwtxHb85IErJMmxv4H6H/z+b2+mWkAAAAASUVORK5CYII=",vLine:e.palette.neutral[200],border:e.palette.neutral[200],font:e.palette.neutral[800],bg:e.palette.neutral[25]},critical:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJrklEQVR4Ae1dTYwURRSu6pkVV3eWWQjhz+hwQLmxS/BkQna9KJrAEhM9aCI/F0yIsBcSQhTQEA0eYI0JXkBM5AAXFxM5CtGjRsabYAxjgvyEwA6zqxvcmS7fVz019PZ093TX9M/sLC+B7q6fV6++eVXvvarqXs5SJCFEnk1NDZtCFFiGr+eCFRjuQZwXcLFRmTFRooyy4KzEauI3wzCKrK+vyDmnvHSIJ9msBGx6epBxtlWY5qgLSJriiKLgvGiY7ALv75/QZKJVLREABbSMi3dJw0ZJy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sP0gXi4XSvu5CufEf/2LV6j8uYAWJt6cJjQPaQyo74CSBxTwzG26u2btA15szHR67alNBgrNk+SZvcObYwHuLqApmA77B+xmAMgdtrJqb5OZSPXwiAAYQ5Tvptf+Sj3U/zaacpzaB/yH50PpAcYE9LC8Ti1sEkoWwLmwBRPntokcb8VjI07c+ZoIDKlFvYY9HIhL+D5MdURcNE+5Fh+oA0laCE3+Zgt6fEtIWCa/IgbEE0aqAqRRb5E98PqeYFfJyie3uaGQZMGqkL0PsQOuo80OlG859dV4N0QzxHpDeDAQIle9XRV2/kFQHvSmoKP0bRW8uLiCSAq4D1ZevWhyfJ4Meu2dPTd7vO59c9zDlSFLd/QoPkw+WPASoZUrrTeRxHHUKu2fTUQlaVVrprbGJnxVsy6Jp/6ymepzwGopQYqHqSJBdFDmtjt/qEFHj42UVJ997sGBhBMuh7EkOABk1AAdjWIGuABj5ZzIArZCapN88MI6WPRnj6v77FBRH0KOmztfQ0NICqjISO3eKgbXBz0QRc8iYUdTZ17+ZI2p89+prQEpiOzVUfga79HMn3tfVc19BzoJjCMC8tmjov586WPywhVdYass/+RAKiYSm00xKGOdXVgKGilSe2oKbnbuUYKoBKk9uDBPp5h9PUPXlBp6V5puNJiqFE1T5DWRbpAEguACqz0NTI+4FQfYwVQNSI/BS/M7Zy+oU82POb9FhgHPv8/Ba/Ac15JK0dNJkYJzPUE5qAzX+tZiBJZ1AvyiAqdsoh6mPrJlIgGegmAlR68bmua9Mao+nMYjP5EBmOFJk0lkCQfzgGW9ecw6J7R8bwkAZMy2P77H1JgF4wqWUkFAAAAAElFTkSuQmCC",vLine:e.palette.error[600],border:e.palette.error[200],font:e.palette.error[700],bg:e.palette.error[25]},warning:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQA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g+n42pVvvdwt32B9MO55AmOFXoEi6nEj7+/IjP7RjO5UDFg7AWLAqRsQV5Yk64fBbf+9JT/PrhUjzW5fO4fzir1fEV8IWfBSi1N/Aw2iiszwB/nHhPHXmXcKroKhWn4mH9wYmvtNblMb0kC7iSJusA/3mYRX4Y8yrpOVypLOFc5rhi1527OKgAcBpia63O33ZLsVYVj34GMSUiz96oA+RPGuUKWzEw8abhI5BPGU7kTJyOeMfHsakCxVzz7HYFZf/5ggLIfFl6lMPfTLPOybXr1uP5GwDrVlwGzzgWj2YB+CpmV3GJP1/g8fksVrR7ixp33k/wOe6AYwwuQH5BiQ03izy3T4Zkfv/HJNfFzYCQdmbwnm7mHX1bLgDcy/vn2WNBV2iH30R7wX0/+gY+bD4Z8pvGF6C6j0Z6sJrjcDe7tQebIlk0BugoIlGOIPXcwK/g8A7xWcSFbRRuxRx68rVgs7oK2mp1iKT8vJn/39oyT/ZWUnTwpmxNvptE10Xu/JUgK5RF9rwC9yd0ehp+ERe0PEW2cjp3+vULBLB5AHXhr9+pUwCcgIx/UfyYilgAAKHWlCjnUDEd9N8Q/wKvLq424p4TIgAAAABJRU5ErkJggg==",vLine:e.palette.warning[600],border:e.palette.warning[200],font:e.palette.warning[700],bg:e.palette.warning[25]},success:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAFJklEQVRYCc1YTWhcVRQ+976JKGbamSZTqBA7cadTSFqp0LpwgoUWdCNNshKMSFcFmxDQ5cxsKyURrAsDNgtXMdBNhQSVTBdaiCgjmLgzo4EKTdKZZlIjZN69nu8mb/pmMj/3hST1wMy7P+fne+eec+59V9AeaUWXklKpXi3kG0LrXiIR0UQRqBNERf7Lcz+vNf1KkrIxEc7uxRTrsqeC1hF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4LO1w2rsNwBW3hGNNylYYfDCeunPLxBWW7hwfuXBawfa2/HCFZvmohXjFUazZiaexTTHZ6bS/bwAWdCHiqhC8GJgAAlsgdhkUchDKETIeSRUo5oz09t/OsT9vAGJodas0zpc813w8T7G57T0AqADc8eISj1nH4kG8AWJPyi18xOehv/LRZM7/rsochNEgOjXf13jgqgCi0/EMf48q+jSIwn3lZdu1l0mVJfYbWlWlQ736gG3e1nIdsv20HwfalSX2Tzii/I7gCx3/2IG2BWWl2OqrZ6MuQMRjhwyfPpTlxrLKcN2bLQCuC9B7k8628DBfPXGxFHlvbL+eHFtF7YoRY6OJ0roxWMvPJSi+5Tpp/oB5r3ZuT332mhMqp7FSreStAHpKPKAO3+wH+dCHPDymGFgoVB63AebZDATQE8JzZauU5ABJcjL1sJI4X3jG9U6RBxi+SinyUS4ntLqrlMzF2sJZv7xt+z/+xgcVO9htPQAAAABJRU5ErkJggg==",vLine:e.palette.success[600],border:e.palette.success[200],font:e.palette.success[700],bg:e.palette.success[25]},info:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJd0lEQVR4Ae1dPWwURxR+d07AToRjCxIJGZxFkRJcYRdJQZqLgBbsKqn8U8cSuEgBRYAmRKIwjpzahiqpbFKDcBMKUthUQMXGxIoUgWxBgm0It3nf7L29vbtd787ezt75Lk/a293ZmTcz3743782b3b0cNZDWHaeHXlGB3pBFHXSMHN6T2tAqHPtpg3Jkcx53/4bu8/kKddJKby634c+Y5XEuy8oUYFs0yGCdoSINc91WKvUDSFLbzd69ucVUeMZkkgmA65tOgfI0xtID0Hpiti1pNkjoIt+g671duaWkTOKWMwZgST3PMmjnuDGmQQvrL1T+MgM5H5ah3vTUAWwS4KpxsTlhprczd636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Icm+JWHeWlnJYD4EM42GTUmUnH1HhKJlTwsRsHQqIcqS1Ft5IVxUA9esnOMebbpca66faXzCulDWgWASGiEFKLeXUI1by3VAuhK4TJ3yNolncqqmTXSh4prAqpqapejxN8QyKo3mdfDD5cH1VkjgZKJLfIdPi7IeZvvF9nyjgRhUCOBXia2Nny84Z2378EGx0xDNTIUwNLbiYFi21ZYRnygJxRAgKTeky3STFsBVtnZGb/PV3nJPQsdAyVzKdCA8XBQ0tpiz+EqfqFmKKqvO0ogCiur7BAGUBvnbUI2PsQTp6+REihM2MG22O2GJFqS1qJ7rW/HxAYQYLUBiFrgARMtAFscRG3wgEfkGIhMflLuDcfDOG3Fn76rj7G+keC7WeizNoAoBBDZxRnigbYVXJwZXtrV/ugYcABpq7BbrPzL4+I4c5nmFGPrKeXaUj3CLOuy8nXrYFs3gKgbxiWXp2nH/cxxHc3JrOgSqywCo3a9NaYCoDSiJI0X+dyStCbb26wtU2l+rDtVAAUsjuSc4+OzvFmS1uA9AgIz/Nn4a/4PRqTRJiMASsOaQCKNASd9NAqgVMJAFvgYxuYM700bm9b4FLyAV71Xb8fjjwj4PTO+Nlh9PeG5zeVuspouZv3vDplIYBgoKtKDV+fxwnf57zAgoRZv1ZJqcxoIhsDmv9C4r55t5Mfz0h7X3Gri/f4H+Cp1vmMx470AAAAASUVORK5CYII=",vLine:e.palette.info[600],border:e.palette.info[200],font:e.palette.info[700],bg:e.palette.info[25]}}))(p)[i],h=!n&&!a;return t(Un,Object.assign({$theme:p,$colors:g,style:d},c,{className:m("dgaui dgaui_inlineAlert "+(u.isMobile?" mobile ":"")+(h?" minimal ":"")),children:[e("div",{className:"icon"}),t("div",{className:"content",children:[e("div",{className:"leadText",children:o}),n&&e("div",{className:"helpText",children:n}),a&&e("div",{className:"actions",children:a})]}),l&&e("div",{className:"close",onClick:()=>null==s?void 0:s()})]}))},Un=sr.div`
|
|
2970
2972
|
direction: ${e=>e.$theme.direction};
|
|
2971
2973
|
width: 100%;
|
|
2972
2974
|
display: flex;
|
|
@@ -3087,7 +3089,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3087
3089
|
}
|
|
3088
3090
|
}
|
|
3089
3091
|
}
|
|
3090
|
-
`,
|
|
3092
|
+
`,Rn=t=>{var{position:r="bottom-left",duration:o=993e3,rtl:n}=t,i=v(t,["position","duration","rtl"]);const a=document.createElement("div");a.className="dgaui dgaui_toastContainer";document.getElementsByTagName("body")[0].appendChild(a);const l=c(a),s=()=>{var e;null===(e=i.onClose)||void 0===e||e.call(i),l.unmount(),a.remove()},d=()=>{a.childNodes[0]&&a.childNodes[0]instanceof Element&&(a.childNodes[0].className=a.childNodes[0].className+" toastClose")};setTimeout(d,+o),setTimeout(s,+o+200),l.render(e(Tn,{className:"dgaui_toast",$position:r,children:e(Fn,Object.assign({},i,{onClose:()=>{d(),setTimeout(s,200)},closeButton:i.closeButton,style:{direction:n?"rtl":"ltr"}}))}))},Dn=e=>{switch(e){case"top-left":return{keyframes:dr`
|
|
3091
3093
|
from {
|
|
3092
3094
|
left: -484px;
|
|
3093
3095
|
}
|
|
@@ -3171,7 +3173,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3171
3173
|
right: -484px;
|
|
3172
3174
|
`,mobileCss:ir`
|
|
3173
3175
|
padding-inline-start: 16px;
|
|
3174
|
-
`}}},
|
|
3176
|
+
`}}},Tn=sr.div`
|
|
3175
3177
|
z-index: 2500;
|
|
3176
3178
|
width: 484px;
|
|
3177
3179
|
background-color: #fff;
|
|
@@ -3197,7 +3199,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3197
3199
|
@media screen and (max-width: 640px) {
|
|
3198
3200
|
width: calc(100% - 32px);
|
|
3199
3201
|
}
|
|
3200
|
-
`;const
|
|
3202
|
+
`;const On=n=>{var{title:i,content:a,jsxContents:l,children:s,beakPlacement:d="top",beakAlignment:c="center",noBeak:p,inverted:u,backgroundColor:g,icon:h=!1}=n,A=v(n,["title","content","jsxContents","children","beakPlacement","beakAlignment","noBeak","inverted","backgroundColor","icon"]);const f=b(),[x,y]=o.useState(!1),[w,C]=o.useState(!1),$=o.useRef(null),k=o.useRef(null),[S,B]=o.useState({top:0,left:0,caret:{top:0,left:0,color:""}}),E=x||w;let N=u?f.palette.neutral[800]:"#fff";g&&(N=g);const z={toBottom:`${N} transparent transparent transparent`,toTop:`transparent transparent ${N} transparent`,toLeft:`transparent ${N} transparent transparent`,toRight:`transparent transparent transparent ${N}`},I=()=>{if($.current&&k.current){let e=0,t=0,r={top:0,left:0,color:""};const o=$.current.clientWidth,n=$.current.clientHeight,i=$.current.offsetTop,a=$.current.offsetLeft,l=k.current.clientWidth,s=k.current.clientHeight;"top"===d&&"start"===c&&(e=i-s-6,t=a,r={top:i-6,left:a+6,color:z.toBottom}),"top"===d&&"center"===c&&(e=i-s-6,t=a-l/2,r={top:i-6,left:a,color:z.toBottom}),"top"===d&&"end"===c&&(e=i-s-6,t=a+18-l,r={top:i-6,left:a,color:z.toBottom}),"bottom"===d&&"start"===c&&(e=i+n+6,t=a,r={top:i+n-6,left:a+6,color:z.toTop}),"bottom"===d&&"center"===c&&(e=i+n+6,t=a-l/2,r={top:i+n-6,left:a,color:z.toTop}),"bottom"===d&&"end"===c&&(e=i+n+6,t=a+24-l,r={top:i+n-6,left:a+6,color:z.toTop}),"left"===d&&"start"===c&&(e=i,t=a-l-6,r={top:i+6,left:a-6,color:z.toRight}),"left"===d&&"center"===c&&(e=i+9-s/2,t=a-l-6,r={top:i+6,left:a-6,color:z.toRight}),"left"===d&&"end"===c&&(e=i-s+24,t=a-l-6,r={top:i+6,left:a-6,color:z.toRight}),"right"===d&&"start"===c&&(e=i,t=a+o+6,r={top:i+6,left:a+o-6,color:z.toLeft}),"right"===d&&"center"===c&&(e=i-s/2+12,t=a+o+6,r={top:i+6,left:a+o-6,color:z.toLeft}),"right"===d&&"end"===c&&(e=i-s+24,t=a+o+6,r={top:i+6,left:a+o-6,color:z.toLeft}),B({top:e,left:t,caret:r})}};return o.useEffect((()=>{if($.current){I();const e=()=>{I()},t=e=>{var t;(null===(t=$.current)||void 0===t?void 0:t.contains(e.target))||(y(!1),C(!1))},r=e=>{I(),y(!0)},o=()=>{y(!1)};return window.addEventListener("click",t),window.addEventListener("resize",e),$.current.addEventListener("mouseover",r),$.current.addEventListener("mouseleave",o),$.current.addEventListener("click",r),()=>{var n,i,a;window.removeEventListener("resize",e),window.removeEventListener("click",t),null===(n=null==$?void 0:$.current)||void 0===n||n.removeEventListener("mouseover",r),null===(i=null==$?void 0:$.current)||void 0===i||i.removeEventListener("mouseleave",o),null===(a=null==$?void 0:$.current)||void 0===a||a.removeEventListener("click",r)}}}),[$,k,d,c]),t(Qn,Object.assign({className:m("dgaui dgaui_tooltip",A.className),$theme:f,$inverted:u},A,{ref:$,onClick:()=>{C(!0)},$position:S,children:[s,t(Hn,{ref:k,$theme:f,$position:S,$inverted:u,$backgroundColor:g,className:"dgaui_tooltipContent"+(E?" show-tooltip":""),children:[l&&l,!l&&t(r,{children:[h&&e("div",{className:"dgaui_tooltipContentIcon",children:e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHaSURBVHgBjVQ9SMNAFP4SOxR0cHAQFJv6Ax3rIAqK1CIqiFh0UFC04uAgojiog2JxchJdBEGFujmZxcFBzVgQtIKCqGA2fwYpmEqp0PjuMDWkSdoPrne59/L1fXffiwAXtIUiEk1swAskFUVOOeUK1o1QKFKZETFPy6hBYoJKb8QS53LclaglFAmWiTixIUABYQ5dCUVWC4iYDF3EDW1UogToQCpHZFeKnGTPZUagtj7ASKrNyU0NfnSHO+Crq4GmfUNLp81SvKKAvkZfIK6qDxkPryYciVrl9PeGsbo0l39+ffvA7OIaXt8/zGkSnecCzTHxb2PdWvr0xAienl/QMziOobEZVFSUY3V5DjaYZD+eIN0SbA734OgY17d3+NLSfNzQmkm1gcTOVyR/BO2ip2cXXA7DyPAAOttbObEDJA+K4GhvC02Nflwn77Cze+iYx4hUN6J9kqiRNJdquOu5j+jWXlDchPbQoSYuZb9xa3GnvM2NFX6DLkQxNnFDVvkCSdI4Si4rcHU2+4P7h0d8fqbsq1HkKbbMtwjrM3LqpSCU2CI6UoKOZqPfDGlgPcMC7F+Ks0DN6Q5NawYZLEqRdRqSJcRejHtz2LZ+m2yJDPBv079hVXMFVvwCXOukAPYYzukAAAAASUVORK5CYII="})}),t("div",{className:"dgaui_tooltipContentText",children:[e("div",{className:"dgaui_tooltipTitle",children:i}),e("div",{className:"dgaui_tooltipDescription",children:a})]})]})]}),!p&&e("span",{className:E?"show":""})]}))},Qn=sr.div`
|
|
3201
3203
|
direction: ${e=>e.$theme.direction};
|
|
3202
3204
|
display: inline-block;
|
|
3203
3205
|
|
|
@@ -3268,7 +3270,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3268
3270
|
opacity: 1;
|
|
3269
3271
|
}
|
|
3270
3272
|
}
|
|
3271
|
-
`,Mn=t=>{var{children:r,selected:o}=t,n=v(t,["children","selected"]);const i=b();return e(
|
|
3273
|
+
`,Mn=t=>{var{children:r,selected:o}=t,n=v(t,["children","selected"]);const i=b();return e(Yn,Object.assign({},n,{className:m("dgaui dgaui_headerMenuItem",n.className),$theme:i,$selected:o,children:r}))},Yn=sr.button`
|
|
3272
3274
|
direction: ${e=>e.$theme.direction};
|
|
3273
3275
|
height: 72px;
|
|
3274
3276
|
outline: none;
|
|
@@ -3319,7 +3321,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3319
3321
|
opacity: ${e=>e.$selected?1:0};
|
|
3320
3322
|
}
|
|
3321
3323
|
}
|
|
3322
|
-
`,
|
|
3324
|
+
`,Ln=n=>{var i,{children:a,title:l,selected:s,type:d="link",level:c=1,disabled:p,expanded:u,defaultExpanded:g}=n,h=v(n,["children","title","selected","type","level","disabled","expanded","defaultExpanded"]);const A=b(),[f,x]=o.useState(g),[y,w]=o.useState(0),C=o.useRef(null),$=void 0!==u?u:f,k=m("dgaui dgaui_ndi"+(p?" disabled":"")+("parent"===d?" parent":""),h.className);return o.useEffect((()=>{var e;(null===(e=C.current)||void 0===e?void 0:e.clientHeight)&&w(C.current.clientHeight+10)}),[null===(i=C.current)||void 0===i?void 0:i.clientHeight]),"divider"===d?e(Pn,{}):t(r,{children:[t(jn,Object.assign({},h,{className:k,$theme:A,$selected:s,$level:c,$type:d,tabIndex:0,onClick:()=>{x(!$)},children:[l,"parent"===d&&e("img",{src:pr,style:{transition:"all 0.2s",transform:$?"rotateZ(180deg)":"none"}})]})),"parent"===d&&e("div",{className:"dgaui_ndiContent",style:{direction:A.direction,height:$?y:0,overflow:"hidden",transition:"all 0.2s"},children:e("div",{ref:C,children:a})})]})},jn=sr.div`
|
|
3323
3325
|
direction: ${e=>e.$theme.direction};
|
|
3324
3326
|
height: 36px;
|
|
3325
3327
|
outline: none;
|
|
@@ -3385,12 +3387,12 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3385
3387
|
filter: opacity(0.5) grayscale(100%);
|
|
3386
3388
|
}
|
|
3387
3389
|
}
|
|
3388
|
-
`,
|
|
3390
|
+
`,Pn=sr.div`
|
|
3389
3391
|
margin: 8px 16px;
|
|
3390
3392
|
height: 1px;
|
|
3391
3393
|
background-color: #d2d6db;
|
|
3392
3394
|
width: 100%;
|
|
3393
|
-
`;const
|
|
3395
|
+
`;const Vn=r=>{var{label:o,icon:n,showTrailingIcon:i=!0,showLabel:a=!0,helperText:l,onSearchByVoiceClicked:s}=r,d=v(r,["label","icon","showTrailingIcon","showLabel","helperText","onSearchByVoiceClicked"]);const c=b();return t(Kn,{className:m("dgaui dgaui_searchBox",d.className),$showTrailingIcon:i,$showLabel:a&&!!o,$disabled:d.disabled,$theme:c,children:[a&&e("label",{style:{marginBottom:13,textAlign:"start"},htmlFor:d.id,children:o}),e(oo,Object.assign({},d,{icon:n})),i&&e("img",{className:"dgaui_searchBox_trailIcon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOTSURBVHgB5Ve9UttAED7LhuFnYFwAQ4fyBuYJEF26mDJVRJeOuEqJ6dLhNwA6OpwylZ0uHeYJEB3mZ0bMAMPw53yf2GMOYZ1PTjIp2Bnp7la7t7+3tyqonDAzMxMUCoUqniUsy8T1er0IQ4Rx5+zsrO2yT0E5wuzsbAXDJgQGA0ij29vb5TiOI/WngiF0DQIbeg3LYgwdChGUn1YI61q3220MLXhubq6KYc9AbcCiBiyKTbr5+Xn/8fExxHTdUDA8PT3dyS24XC77IyMj+9C+LFYuY6OOjUdC0iIPxhhKLvZzu2fbBELrsgFdtzpIKIE0UHJF64491vvRZVpMa0dHRw9luX1ycrKqcgAsb0ncafW7dGgyLS4WixU9R+x2VE6A1RsypdXV9PeSchDscjYltmt6rUMkc99ZMEATR8oNtiCgkvFtQeUQnAsg9LuSSmaAn0X/1wQj+eoY6iYONeAwS7j1OP1LeHuCkxhLPd5UT4ViQw0B2IMVKkyh/Qy6qra4KkShGh5C2cN8sugqOqsj9VrDZxzKZzld8tLw8PBQ8zzvg4nDEQtlemSgfb4SwSiJMZgSLK+34+NjdhMRGBNcqVRiYWgrC5yfnzcxNPVaOpVQFNjnyPqvv2tXdwzNA453d3dNuQrJuK5ygmEt5wcczTKcCL6/v+8YQhJ30bVSjYgLaIFyBCYreD7JcpseTIR5nr4sYi8tBBAwpkJY1wphvicXgRVIA54tzskLvuSU0M2GMs2iZhgfH4/FPWMgHru+vv5xeXkZT05OdtlVEo/xM9ZsEI5ubm5eJBuVnZ6e/gqaXTxj4qmP6Lt+cT41NdXQlwhyqlZIaasvb35c1tch3PwFymyatLCG3yJZ+ngqqavwudlL9W1JU/FCMDMaybXfr1+SZq6lLDeOoVBNt0nSySR8dD0SbJExf9X6wOoQgrdkyWO1YvZaTDJYHwK/oC94yYOfGJtm08B4g2ZPK2vrOpW4po6nZzy5jhPjTZ7UHnWTptiP8erqqo1ku4C27wUVIKnCiYmJGG67SCeWKZAJBo/sGrxJvBHXbyatta+2xDX5i9BHTTYP+tGBpm9b7PoLE0r18pUbUGDDFk/nnzaCJFaATZcksXz5FKknLxzAQ23XP8ahgEroxMlTTjX8tw4kz/8xm/XnWi1FJin6qSpGaFvPq6tgiW1L5QAos2j7yXPqq3lt4mLomLV4gNAI93lko/kNLXmsYTAB8fwAAAAASUVORK5CYII=",onClick:()=>null==s?void 0:s()}),l&&e("div",{className:"dgaui dgaui_searchBox_helperText",children:l})]})},Kn=sr.div`
|
|
3394
3396
|
direction: ${e=>e.$theme.direction};
|
|
3395
3397
|
|
|
3396
3398
|
.dgaui_searchBox_trailIcon {
|
|
@@ -3419,7 +3421,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3419
3421
|
.dgaui_contentSwitcherItem {
|
|
3420
3422
|
background-color: ${e=>e.$onColor?Hr:e.$theme.palette.neutral[100]};
|
|
3421
3423
|
outline: none;
|
|
3422
|
-
color: ${e=>e.$onColor?
|
|
3424
|
+
color: ${e=>e.$onColor?Qr:e.$theme.textColor};
|
|
3423
3425
|
height: 100%;
|
|
3424
3426
|
padding: 8px 16px;
|
|
3425
3427
|
border-inline-end: 1px solid #d2d6db;
|
|
@@ -3495,7 +3497,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3495
3497
|
${e=>"neutral"===e.$color&&`background-color: ${e.$theme.palette.neutral[300]};`}
|
|
3496
3498
|
${e=>"primary"===e.$color&&`background-color: ${e.$theme.palette.primary[600]};`}
|
|
3497
3499
|
${e=>"alphaWhite"===e.$color&&`background-color: ${Mr};`}
|
|
3498
|
-
${e=>"white"===e.$color&&`background-color: ${
|
|
3500
|
+
${e=>"white"===e.$color&&`background-color: ${Qr};`}
|
|
3499
3501
|
`;f("@keyframes blink {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.5;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.skeletonAnimation {\n background: linear-gradient(\n 90deg,\n rgba(157, 164, 174, 0.2) 0%,\n rgba(210, 214, 219, 0.2) 49.5%,\n rgba(229, 231, 235, 0.2) 100%\n );\n\n animation: blink 1.5s infinite;\n}\n");const qn=t=>{var{size:r="120px"}=t,o=v(t,["size"]);const n=b();return e(_n,Object.assign({},o,{$theme:n,$size:r,className:m("dgaui dgaui_skeletonCircle skeletonAnimation",o.className)}))},_n=sr.div`
|
|
3500
3502
|
direction: ${e=>e.$theme.direction};
|
|
3501
3503
|
height: ${e=>e.$size};
|
|
@@ -3641,19 +3643,19 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3641
3643
|
}
|
|
3642
3644
|
|
|
3643
3645
|
&.onColor {
|
|
3644
|
-
background-color: ${e=>e.$selected?jr:
|
|
3646
|
+
background-color: ${e=>e.$selected?jr:Qr};
|
|
3645
3647
|
color: ${e=>e.$theme.textColor};
|
|
3646
3648
|
|
|
3647
3649
|
&:hover {
|
|
3648
|
-
background-color: ${
|
|
3650
|
+
background-color: ${Pr};
|
|
3649
3651
|
}
|
|
3650
3652
|
&:active {
|
|
3651
|
-
background-color: ${
|
|
3653
|
+
background-color: ${Lr};
|
|
3652
3654
|
}
|
|
3653
3655
|
|
|
3654
3656
|
&.disabled {
|
|
3655
3657
|
background-color: ${Hr};
|
|
3656
|
-
color: ${
|
|
3658
|
+
color: ${Yr};
|
|
3657
3659
|
}
|
|
3658
3660
|
}
|
|
3659
3661
|
`,hi=r=>{var{size:o="large",style:n="Primary-Neutral",onColor:i=!1,selected:a=!1,disabled:l=!1,iconOnly:s=!1,children:d,leadIcon:c}=r,p=v(r,["size","style","onColor","selected","disabled","iconOnly","children","leadIcon"]);const u=b();return t(mi,Object.assign({$size:o,$theme:u,$iconOnly:s,$selected:a,className:m("dgaui dgaui_floatingButton"+("Primary-Brand"===n?" primaryBrand":"")+("Secondary-Solid"===n?" secondarySolid":"")+(l?" disabled":"")+(i?" onColor":""),p.className)},p,{children:[c&&e("div",{className:"leadIcon",children:c}),d&&!s&&e("div",{children:d})]}))},mi=sr.button`
|
|
@@ -3672,7 +3674,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3672
3674
|
border: none;
|
|
3673
3675
|
justify-content: ${e=>e.$iconOnly?"center":"flex-start"};
|
|
3674
3676
|
background-color: ${e=>e.$selected?e.$theme.palette.neutral[700]:e.$theme.palette.neutral[950]};
|
|
3675
|
-
color: ${
|
|
3677
|
+
color: ${Qr};
|
|
3676
3678
|
|
|
3677
3679
|
&:hover {
|
|
3678
3680
|
background-color: ${e=>e.$theme.palette.neutral[800]};
|
|
@@ -3735,14 +3737,14 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3735
3737
|
}
|
|
3736
3738
|
|
|
3737
3739
|
&.onColor {
|
|
3738
|
-
background-color: ${e=>e.$selected?jr:
|
|
3740
|
+
background-color: ${e=>e.$selected?jr:Qr};
|
|
3739
3741
|
color: ${e=>e.$theme.textColor};
|
|
3740
3742
|
|
|
3741
3743
|
&:hover {
|
|
3742
|
-
background-color: ${
|
|
3744
|
+
background-color: ${Pr};
|
|
3743
3745
|
}
|
|
3744
3746
|
&:active {
|
|
3745
|
-
background-color: ${
|
|
3747
|
+
background-color: ${Lr};
|
|
3746
3748
|
}
|
|
3747
3749
|
|
|
3748
3750
|
&:focus {
|
|
@@ -3752,7 +3754,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3752
3754
|
}
|
|
3753
3755
|
|
|
3754
3756
|
&.primaryBrand {
|
|
3755
|
-
color: ${
|
|
3757
|
+
color: ${Qr};
|
|
3756
3758
|
background-color: ${e=>e.$selected?e.$theme.palette.primary[700]:e.$theme.palette.primary[600]};
|
|
3757
3759
|
|
|
3758
3760
|
&:hover {
|
|
@@ -3764,7 +3766,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3764
3766
|
}
|
|
3765
3767
|
|
|
3766
3768
|
&.secondarySolid {
|
|
3767
|
-
color: ${
|
|
3769
|
+
color: ${Qr};
|
|
3768
3770
|
background-color: ${e=>e.$selected?Mr:Hr};
|
|
3769
3771
|
|
|
3770
3772
|
&:hover {
|
|
@@ -3774,13 +3776,13 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3774
3776
|
background-color: transparent;
|
|
3775
3777
|
}
|
|
3776
3778
|
&:active {
|
|
3777
|
-
background-color: ${
|
|
3779
|
+
background-color: ${Yr};
|
|
3778
3780
|
}
|
|
3779
3781
|
}
|
|
3780
3782
|
|
|
3781
3783
|
&.disabled {
|
|
3782
3784
|
background-color: ${Hr};
|
|
3783
|
-
color: ${
|
|
3785
|
+
color: ${Yr};
|
|
3784
3786
|
}
|
|
3785
3787
|
}
|
|
3786
3788
|
`,Ai={"40px":{borderWidth:2,width:40,circleRadius:2,magicNumber:118,stepNameFontSize:12,descriptionFontSize:10,innerCircleFontSize:9},"48px":{borderWidth:4,width:48,circleRadius:4,magicNumber:136,stepNameFontSize:14,descriptionFontSize:12,innerCircleFontSize:10.5},"64px":{borderWidth:5,width:64,circleRadius:5,magicNumber:185,stepNameFontSize:14,descriptionFontSize:12,innerCircleFontSize:14},"80px":{borderWidth:8,width:80,circleRadius:8,magicNumber:225,stepNameFontSize:16,descriptionFontSize:14,innerCircleFontSize:16},"120px":{borderWidth:10,width:120,circleRadius:10,magicNumber:340,stepNameFontSize:20,descriptionFontSize:14,innerCircleFontSize:24}},fi=r=>{var{size:o="64px",style:n="primary",onColor:i=!1,stepsCount:a,activeStep:l,innerCircleText:s,description:d,preStepName:c,stepName:p,nextStepName:u}=r,g=v(r,["size","style","onColor","stepsCount","activeStep","innerCircleText","description","preStepName","stepName","nextStepName"]);const h=b(),A=Ai[o].circleRadius;return t(bi,Object.assign({$size:o,$circleRadius:A,$theme:h,className:m("dgaui dgaui_radialStepper"+("neutral"===n?" neutral":"")+(i?" onColor":""),g.className)},g,{$stepsCount:a,$activeStep:l,children:[t("div",{className:"dgaui dgaui_circle",children:[e("div",{className:"innerCircleText",children:s}),e("svg",{className:"dgaui_circle-svg",width:Ai[o].width,height:Ai[o].width,children:e("circle",{className:"dgaui_circle-path",cx:Ai[o].width/2,cy:Ai[o].width/2,r:Ai[o].width/2-A/2,strokeWidth:Ai[o].borderWidth})})]}),t("div",{className:"dgaui_content",children:[e("div",{className:"preStepName",children:c}),e("div",{className:"stepName",children:p}),e("div",{className:"description",children:d}),e("div",{className:"nextStepName",children:u})]})]}))},bi=sr.div`
|
|
@@ -3857,11 +3859,11 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3857
3859
|
}
|
|
3858
3860
|
|
|
3859
3861
|
&.onColor {
|
|
3860
|
-
color: ${
|
|
3862
|
+
color: ${Qr};
|
|
3861
3863
|
.dgaui_circle {
|
|
3862
3864
|
border-color: ${Mr};
|
|
3863
3865
|
.dgaui_circle-path {
|
|
3864
|
-
stroke: ${
|
|
3866
|
+
stroke: ${Qr};
|
|
3865
3867
|
}
|
|
3866
3868
|
}
|
|
3867
3869
|
|
|
@@ -3870,10 +3872,10 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3870
3872
|
color: ${jr};
|
|
3871
3873
|
}
|
|
3872
3874
|
.stepName {
|
|
3873
|
-
color: ${
|
|
3875
|
+
color: ${Qr};
|
|
3874
3876
|
}
|
|
3875
3877
|
.description {
|
|
3876
|
-
color: ${
|
|
3878
|
+
color: ${Pr};
|
|
3877
3879
|
}
|
|
3878
3880
|
.nextStepName {
|
|
3879
3881
|
color: ${jr};
|
|
@@ -3923,7 +3925,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3923
3925
|
.helperText {
|
|
3924
3926
|
color: ${e=>e.$success?e.$theme.palette.success[700]:e.$error?e.$theme.palette.error[700]:"initial"};
|
|
3925
3927
|
}
|
|
3926
|
-
`;const yi=e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC4SURBVHgB7dhBCsIwEIXhiS6zTtZ6Ao+gN7FH8SbiTfQInqDus882zkiFrHxoApbyPmiZTcsPpXToWjoIIQze+13O+S7/ZjExxmKHzkdptJJGzrlNNW+lUXNQbwxCGIQwCGEQwiCEQYizk60Q9Vf7G6WUvV57mOarzjf5gV47ppQuboo5ywxo1MBH9uE+r0cmrXR1Pb1XWJulEV97hEEIgxAGIQxCGIQsL0jXhkc1jzIHtk/1+HtmniG3OoMZpqw2AAAAAElFTkSuQmCC",style:{width:17.5}}),
|
|
3928
|
+
`;const yi=e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC4SURBVHgB7dhBCsIwEIXhiS6zTtZ6Ao+gN7FH8SbiTfQInqDus882zkiFrHxoApbyPmiZTcsPpXToWjoIIQze+13O+S7/ZjExxmKHzkdptJJGzrlNNW+lUXNQbwxCGIQwCGEQwiCEQYizk60Q9Vf7G6WUvV57mOarzjf5gV47ppQuboo5ywxo1MBH9uE+r0cmrXR1Pb1XWJulEV97hEEIgxAGIQxCGIQsL0jXhkc1jzIHtk/1+HtmniG3OoMZpqw2AAAAAElFTkSuQmCC",style:{width:17.5}}),wi=e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAECAYAAADmrJ2uAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA9SURBVHgBzdHBDQAgCAPA1rgCf0dzM+NkDsAQCAk7wD36blrCicgmuVDIzJ6q3pllDop5hxgGA80wotNlHyEREYxNANeWAAAAAElFTkSuQmCC",style:{width:17.5}}),Ci=o.forwardRef(((t,r)=>{var{prefixType:o="plus",suffixType:n="minus"}=t,i=v(t,["prefixType","suffixType"]);return e($i,Object.assign({className:m("dgaui dgaui_numberInput",i.className),ref:r,prefix:"plus"===o?yi:wi,suffix:"plus"===n?yi:wi,prefixStyle:i.prefixStyle?i.prefixStyle:"filledLighter"===i.style?"subtle":void 0,suffixStyle:i.suffixStyle?i.suffixStyle:"filledLighter"===i.style?"subtle":void 0},i,{onWheel:e=>{e.target.blur()},type:"number",pattern:"[0-9]*",inputMode:"numeric",onKeyDown:e=>{var t;("e"===e.key||"E"===e.key)&&e.preventDefault(),null===(t=i.onKeyDown)||void 0===t||t.call(i,e)}}))})),$i=sr(oo)`
|
|
3927
3929
|
input[type="number"] {
|
|
3928
3930
|
appearance: textfield;
|
|
3929
3931
|
-moz-appearance: textfield;
|
|
@@ -3952,7 +3954,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
3952
3954
|
filter: brightness(8);
|
|
3953
3955
|
}
|
|
3954
3956
|
}
|
|
3955
|
-
`,ki=()=>{const[e,t]=o.useState({width:window.innerWidth,height:window.innerHeight});return o.useEffect((()=>{const e=()=>{};return window.addEventListener("resize",(()=>{t({width:window.innerWidth,height:window.innerHeight})})),()=>{window.removeEventListener("resize",e)}}),[]),e},Si=r=>{var{label:n="",helperText:i="",size:a="medium",percentage:l=0,onChnage:s}=r,d=v(r,["label","helperText","size","percentage","onChnage"]);const c=b(),p=ki(),u=o.useRef(null),g=o.useRef(null),[h,A]=o.useState(!1),[f,x]=o.useState(0),[y,
|
|
3957
|
+
`,ki=()=>{const[e,t]=o.useState({width:window.innerWidth,height:window.innerHeight});return o.useEffect((()=>{const e=()=>{};return window.addEventListener("resize",(()=>{t({width:window.innerWidth,height:window.innerHeight})})),()=>{window.removeEventListener("resize",e)}}),[]),e},Si=r=>{var{label:n="",helperText:i="",size:a="medium",percentage:l=0,onChnage:s}=r,d=v(r,["label","helperText","size","percentage","onChnage"]);const c=b(),p=ki(),u=o.useRef(null),g=o.useRef(null),[h,A]=o.useState(!1),[f,x]=o.useState(0),[y,w]=o.useState([0,0]),C="medium"===a?16:12;return o.useEffect((()=>{const e=100*(f-y[0])/(y[1]-y[0]),t=Math.round(e);null==s||s(t)}),[f,y]),o.useEffect((()=>{if(u.current&&g.current){const e=u.current.getBoundingClientRect(),t=g.current.getBoundingClientRect();w([e.left,e.right]),x(t.x+C/2)}}),[u,g,p]),o.useEffect((()=>{if(h){const e=e=>{const t=e.clientX;console.log("newClientX a",t),t>y[0]&&t<y[1]&&x(t),t<=y[0]&&x(y[0]),t>=y[1]&&x(y[1])},t=()=>{document.getElementsByTagName("body")[0].classList.remove("dgauiDragging"),A(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}}),[h,p,window.innerWidth]),t(Bi,Object.assign({$size:a,$theme:c,$percentage:l,$indicatorWidth:C,className:m("dgaui dgaui_slider",d.className)},d,{children:[n&&e("label",{children:n}),t("div",{className:"sliderBaseContent",children:[e("div",{className:"dgaui sliderBase",ref:u,children:e("div",{ref:g,className:"dgaui sliderIndicator",onMouseDown:()=>{document.getElementsByTagName("body")[0].classList.add("dgauiDragging"),A(!0)}})}),e("div",{className:"dgaui_percentageText",children:l})]}),i&&e("div",{className:"helperText",children:i})]}))},Bi=sr.div`
|
|
3956
3958
|
direction: ${e=>e.$theme.direction};
|
|
3957
3959
|
width: 100%;
|
|
3958
3960
|
|
|
@@ -4008,7 +4010,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
4008
4010
|
}
|
|
4009
4011
|
}
|
|
4010
4012
|
}
|
|
4011
|
-
`,Ei=r=>{var{label:n="",helperText:i="",size:a="medium",percentage:l=[0,0],onChnage:s}=r,d=v(r,["label","helperText","size","percentage","onChnage"]);const c=b(),p=ki(),u=o.useRef(null),g=o.useRef(null),h=o.useRef(null),[A,f]=o.useState(!1),[x,y]=o.useState(!1),[C
|
|
4013
|
+
`,Ei=r=>{var{label:n="",helperText:i="",size:a="medium",percentage:l=[0,0],onChnage:s}=r,d=v(r,["label","helperText","size","percentage","onChnage"]);const c=b(),p=ki(),u=o.useRef(null),g=o.useRef(null),h=o.useRef(null),[A,f]=o.useState(!1),[x,y]=o.useState(!1),[w,C]=o.useState(0),[$,k]=o.useState(0),[S,B]=o.useState([0,0]),E="medium"===a?16:12;return o.useEffect((()=>{const e=100*(w-S[0])/(S[1]-S[0]),t=[Math.round(e),l[1]];null==s||s(t)}),[w,S]),o.useEffect((()=>{const e=100*($-S[0])/(S[1]-S[0]),t=[l[0],Math.round(e)];null==s||s(t)}),[$,S]),o.useEffect((()=>{if(u.current&&g.current&&h.current){const e=u.current.getBoundingClientRect(),t=g.current.getBoundingClientRect(),r=h.current.getBoundingClientRect();B([e.left,e.right]),C(t.x+E/2),k(r.x+E/2)}}),[u,g,h,p]),o.useEffect((()=>{if(A){const e=e=>{var t;const r=null===(t=h.current)||void 0===t?void 0:t.getBoundingClientRect(),o=e.clientX;o>S[0]&&o<r.left+E/2&&C(o),o<=S[0]&&C(S[0]),o>=r.left+E/2&&C(r.left+E/2)},t=()=>{document.getElementsByTagName("body")[0].classList.remove("dgauiDragging"),f(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}}),[A,p]),o.useEffect((()=>{if(x){const e=e=>{var t;const r=null===(t=g.current)||void 0===t?void 0:t.getBoundingClientRect(),o=e.clientX;o>r.left+E/2&&o<S[1]&&k(o),o<=r.left+E/2&&k(r.left+E/2),o>=S[1]&&k(S[1])},t=()=>{document.getElementsByTagName("body")[0].classList.remove("dgauiDragging"),y(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}}}),[x,p]),t(Ni,Object.assign({$size:a,$theme:c,$percentage:l,$indicatorWidth:E,className:m("dgaui dgaui_rangeSlider",d.className)},d,{children:[n&&e("label",{children:n}),t("div",{className:"dgaui_rangeSliderContainer",children:[e("div",{className:"dgaui_percentageText",children:l[0]}),e("div",{className:"sliderBaseContent",children:t("div",{className:"dgaui sliderBase",ref:u,children:[e("div",{ref:g,className:"dgaui sliderIndicator",onMouseDown:()=>{document.getElementsByTagName("body")[0].classList.add("dgauiDragging"),f(!0)}}),e("div",{ref:h,className:"dgaui sliderIndicator end",onMouseDown:()=>{document.getElementsByTagName("body")[0].classList.add("dgauiDragging"),y(!0)}})]})}),e("div",{className:"dgaui_percentageText",children:l[1]})]}),i&&e("div",{className:"helperText",children:i})]}))},Ni=sr.div`
|
|
4012
4014
|
direction: ${e=>e.$theme.direction};
|
|
4013
4015
|
width: 100%;
|
|
4014
4016
|
|
|
@@ -4077,5 +4079,370 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import o,{useDeb
|
|
|
4077
4079
|
}
|
|
4078
4080
|
}
|
|
4079
4081
|
}
|
|
4080
|
-
|
|
4082
|
+
`,zi=({size:t="large",selected:r,onClick:o})=>{const n=b();return e(Ii,{$theme:n,className:"dgaui_carouselDot "+t+(r?" selected":""),onClick:()=>o()})},Ii=sr.div`
|
|
4083
|
+
background-color: ${e=>e.$theme.palette.neutral[200]};
|
|
4084
|
+
border-radius: 100%;
|
|
4085
|
+
margin-inline-end: 8px;
|
|
4086
|
+
cursor: pointer;
|
|
4087
|
+
|
|
4088
|
+
&.large {
|
|
4089
|
+
width: 16px;
|
|
4090
|
+
height: 16px;
|
|
4091
|
+
}
|
|
4092
|
+
&.medium {
|
|
4093
|
+
width: 12px;
|
|
4094
|
+
height: 12px;
|
|
4095
|
+
}
|
|
4096
|
+
&.small {
|
|
4097
|
+
width: 8px;
|
|
4098
|
+
height: 8px;
|
|
4099
|
+
}
|
|
4100
|
+
&.selected {
|
|
4101
|
+
background-color: ${e=>e.$theme.palette.primary[600]};
|
|
4102
|
+
}
|
|
4103
|
+
`;const Fi=({position:t,style:r,size:o,onClick:n})=>e(Kr,{iconOnly:!0,leadIcon:e("img",{src:"primary"===r?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEDSURBVHgB7djRDYJADAbgH+O7jsAIjIAbuIFuoBvoBjqCG+gGugFu4AiOUNt4RD2OJwjhj/2Shte/oeUuAM4555z7MyKy1lqBjYbOta7y0bmJKQaiYQt9nLVysNHwG2nag4EGPUTBn1olxk5DzqN5N5XtAcYuLGsVhT9ZUxi7EP7BOu+p8FswSIS3ZV2CRSJ8ARaJT2UJFmF0+Ga+ZoG/wl8wsAn6NQMbeZ+4vCNkNPSRdolNeAsV7WfU0B9kRpivErWWJnZg0tKEndbjv07XwmKfoyasqRxMNPA+0UQJJvJ73aDdi0Kae9H5v1Dfd6FWWZbd9bHQuoGdsP5adM4551zkBQszBWdT8Sb1AAAAAElFTkSuQmCC":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAITSURBVHgB7Zg9TgJREMeHzwQIcS2AlhtIaQkdJZxAPIF4Az2B3gAprZATAKWVcAK35KvABIghBPxP8tbgBqudWULyfsmGt68g/3k7M29miCwWi8VisZyOGJ2AXC7XyGQyV+v1ekQBiVOIOI5TTCQSrUgkUuZ3GEKz2axNAQjNAIgtQXgHyyIJEqUQgPg7iP+gv+Ifg54+EyFlIP4J4pve+36/X+Cpz+fzPgmgZgD83YG/dzx/Nwyj0Wh9PB67JISKC3GwJpPJnk98e7PZVCTFM+JfwBNPPn+fTqcPpICoAcfE4yvcTyaTZ1JCzAC/eA5WiL/Fyb+RImL3gF88fioQPyRlRAzgVEkHbmPSpLp4JrALGdf5/P1DZZ/3EziNxuPxmreG+G6Y4hnRe2C3211QyAQ2YLvdvnhrvrgKhUKTQiRwP/AN0un0JcRfm61qKpUaoNZ3KQRE7gFT93DpUDJbXLBVUG2qZyKRGFiAWCxWx9I1Ww6M6eXz+RopIxbEXKSh0qzQgRF4OtoxIdoTL5fLRTab7cJ9+OQds11F/0ur1WpACog39f8YUUagO7jw3jnoSRDVhgaCW1gexoHLPQFCxiUh1MYqfNJwm1e4Dx9S2Ww7CPYa0uxIKs2qz4VgRB+Cv5CVqmaLM1RDKi7Um3qPY2MVxEkj6GQilLEKw5cap1mI7tO5w6NFPDdksVgsFovlzPkB3uXHj+IHmZAAAAAASUVORK5CYII="}),style:r,size:o,className:t,onClick:()=>n()}),Ui=({style:r="dots",selectedContentIndex:n,content:i,dotsSize:a="medium",className:l,onChange:s,arrowsSize:d="medium",arrowsStyle:c="subtle"})=>{const p=b();return o.useEffect((()=>{if("dotsOnly"!==r){const e=document.querySelectorAll(".dgaui_carouselSlide")[n],t=document.querySelector(".dgaui_carouselSlides");if(e&&t){const r=e.offsetLeft;t.scrollTo({left:r,behavior:"smooth"})}}}),[n,r]),o.useEffect((()=>{if("dotsOnly"!==r){const e=document.querySelectorAll(".dgaui_carouselSlide")[n],t=document.querySelector(".dgaui_carouselSlides");if(e&&t){const r=e.offsetLeft;t.scrollTo({left:r,behavior:"instant"})}}}),[]),t(Ri,{$theme:p,className:m("dgaui dgaui_carousel",l),$arrowsSize:d,$style:r,children:["dotsOnly"!==r&&t("div",{className:"dgaui_carouselSlidesContainer "+("arrows"===r?" arrows":""),children:[e("div",{className:"leftArrow",children:e(Fi,{position:"left",style:c,size:d,onClick:()=>n>0&&(null==s?void 0:s(n-1))})}),e("div",{className:"dgaui_carouselSlides",children:i.map(((t,r)=>e("div",{className:"dgaui_carouselSlide",children:t},r)))}),e("div",{className:"rightArrow",children:e(Fi,{position:"right",style:c,size:d,onClick:()=>n<i.length-1&&(null==s?void 0:s(n+1))})})]}),("dots"===r||"dotsOnly"===r)&&e("div",{className:"dots",children:i.map(((t,r)=>e(zi,{selected:r===n,size:a,onClick:()=>null==s?void 0:s(r)})))})]})},Ri=sr.div`
|
|
4104
|
+
direction: ${e=>e.$theme.direction};
|
|
4105
|
+
height: 100%;
|
|
4106
|
+
width: 100%;
|
|
4107
|
+
|
|
4108
|
+
.dgaui_carouselSlidesContainer {
|
|
4109
|
+
.leftArrow,
|
|
4110
|
+
.rightArrow {
|
|
4111
|
+
display: none;
|
|
4112
|
+
}
|
|
4113
|
+
&.arrows {
|
|
4114
|
+
display: flex;
|
|
4115
|
+
.dgaui_carouselSlides {
|
|
4116
|
+
flex: 1;
|
|
4117
|
+
}
|
|
4118
|
+
.leftArrow,
|
|
4119
|
+
.rightArrow {
|
|
4120
|
+
display: flex;
|
|
4121
|
+
justify-content: center;
|
|
4122
|
+
align-items: center;
|
|
4123
|
+
}
|
|
4124
|
+
.leftArrow {
|
|
4125
|
+
margin-right: 44px;
|
|
4126
|
+
margin-right: 44px;
|
|
4127
|
+
}
|
|
4128
|
+
.rightArrow {
|
|
4129
|
+
margin-left: 44px;
|
|
4130
|
+
}
|
|
4131
|
+
}
|
|
4132
|
+
}
|
|
4133
|
+
|
|
4134
|
+
.dgaui_carouselSlides {
|
|
4135
|
+
overflow-x: hidden;
|
|
4136
|
+
overscroll-behavior-x: contain; /* Prevents unwanted page scrolling */
|
|
4137
|
+
scroll-snap-type: x mandatory; /* Snaps to each slide */
|
|
4138
|
+
height: 100%;
|
|
4139
|
+
display: block;
|
|
4140
|
+
margin-bottom: ${e=>"arrows"===e.$style?0:24}px;
|
|
4141
|
+
display: flex;
|
|
4142
|
+
|
|
4143
|
+
.dgaui_carouselSlide {
|
|
4144
|
+
flex: 0 0 100%;
|
|
4145
|
+
width: 100%; /* Fallback for older browsers */
|
|
4146
|
+
/* Aligns the snap point to the start of each slide */
|
|
4147
|
+
scroll-snap-align: start;
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
.dots {
|
|
4152
|
+
padding: 16px;
|
|
4153
|
+
display: flex;
|
|
4154
|
+
justify-content: center;
|
|
4155
|
+
align-items: center;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
.dgaui_button {
|
|
4159
|
+
border-radius: 9999px;
|
|
4160
|
+
border-width: 3px;
|
|
4161
|
+
&:focus:after {
|
|
4162
|
+
border-radius: 9999px;
|
|
4163
|
+
border-width: 2px;
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
width: ${e=>"large"===e.$arrowsSize?48:"medium"===e.$arrowsSize?40:32}px;
|
|
4167
|
+
height: ${e=>"large"===e.$arrowsSize?48:"medium"===e.$arrowsSize?40:32}px;
|
|
4168
|
+
|
|
4169
|
+
.iconOnly {
|
|
4170
|
+
img {
|
|
4171
|
+
width: ${e=>"large"===e.$arrowsSize?24:16}px;
|
|
4172
|
+
height: ${e=>"large"===e.$arrowsSize?24:16}px;
|
|
4173
|
+
}
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
&.right {
|
|
4177
|
+
.iconOnly {
|
|
4178
|
+
img {
|
|
4179
|
+
transform: rotateZ(180deg);
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
`,Di=r=>{var{size:o,whiteBackground:n=!0,title:i,description:a,authorDetails:l}=r,s=v(r,["size","whiteBackground","title","description","authorDetails"]);const d=b();return t(Ti,Object.assign({$theme:d,className:m("dgaui dgaui_quote"+(n?" whiteBackground":"")+(l?"":" noAuthorDetails")+` ${d.direction} ${null!=o?o:""}`,s.className)},s,{children:[t("div",{className:"dgaui_quoteTextContainer",children:[e("span",{className:"dgaui_quoteTitleQuote start",children:"”"}),e("span",{className:"dgaui_quoteTitleText",children:i}),e("span",{className:"dgaui_quoteTitleQuote end",children:"“"}),a&&e("div",{className:"dgaui_quoteDescription",children:a})]}),l&&t("div",{className:"dgaui_quoteAuthorDetailsContainer",children:[l.avatar&&e("div",{className:"dgaui_quoteAuthorDetailsAvatar",children:l.avatar}),t("div",{className:"dgaui_quoteAuthorDetailsText",children:[e("div",{className:"dgaui_quoteAuthorDetailsName",children:l.name}),e("div",{className:"dgaui_quoteAuthorDetailsTitle",children:l.title})]})]})]}))},Ti=sr.p`
|
|
4185
|
+
direction: ${e=>e.$theme.direction};
|
|
4186
|
+
border-radius: 16px;
|
|
4187
|
+
padding: 20px;
|
|
4188
|
+
|
|
4189
|
+
&.small {
|
|
4190
|
+
width: 640px;
|
|
4191
|
+
}
|
|
4192
|
+
&.large {
|
|
4193
|
+
width: 846px;
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
&.whiteBackground {
|
|
4197
|
+
background-color: ${e=>e.$theme.palette.neutral[50]};
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
.dgaui_quoteTextContainer {
|
|
4201
|
+
position: relative;
|
|
4202
|
+
color: ${e=>e.$theme.textColor};
|
|
4203
|
+
|
|
4204
|
+
margin-inline-start: 64px;
|
|
4205
|
+
|
|
4206
|
+
.dgaui_quoteDescription {
|
|
4207
|
+
line-height: 30px;
|
|
4208
|
+
color: ${e=>e.$theme.palette.neutral[700]};
|
|
4209
|
+
font-weight: 400;
|
|
4210
|
+
font-size: 20px;
|
|
4211
|
+
margin-top: 16px;
|
|
4212
|
+
}
|
|
4213
|
+
.dgaui_quoteTitleText {
|
|
4214
|
+
font-size: 24px;
|
|
4215
|
+
line-height: 32px;
|
|
4216
|
+
font-weight: 500;
|
|
4217
|
+
}
|
|
4218
|
+
.dgaui_quoteTitleQuote {
|
|
4219
|
+
color: ${e=>e.$theme.palette.primary[800]};
|
|
4220
|
+
display: block;
|
|
4221
|
+
transform: rotateY(180deg);
|
|
4222
|
+
position: absolute;
|
|
4223
|
+
|
|
4224
|
+
&.start {
|
|
4225
|
+
line-height: 0;
|
|
4226
|
+
font-size: 128px;
|
|
4227
|
+
top: 45px;
|
|
4228
|
+
inset-inline-start: -75px;
|
|
4229
|
+
}
|
|
4230
|
+
&.end {
|
|
4231
|
+
line-height: 0;
|
|
4232
|
+
font-size: 128px;
|
|
4233
|
+
bottom: -56px;
|
|
4234
|
+
inset-inline-end: 0;
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
}
|
|
4238
|
+
|
|
4239
|
+
.dgaui_quoteAuthorDetailsContainer {
|
|
4240
|
+
margin-top: 48px;
|
|
4241
|
+
display: flex;
|
|
4242
|
+
align-items: center;
|
|
4243
|
+
|
|
4244
|
+
.dgaui_quoteAuthorDetailsAvatar {
|
|
4245
|
+
margin-inline-end: 8px;
|
|
4246
|
+
}
|
|
4247
|
+
.dgaui_quoteAuthorDetailsText {
|
|
4248
|
+
.dgaui_quoteAuthorDetailsName {
|
|
4249
|
+
font-size: 20px;
|
|
4250
|
+
}
|
|
4251
|
+
.dgaui_quoteAuthorDetailsTitle {
|
|
4252
|
+
color: ${e=>e.$theme.textColor};
|
|
4253
|
+
margin-top: 8px;
|
|
4254
|
+
color: ${e=>e.$theme.palette.neutral[700]};
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
&.noAuthorDetails {
|
|
4260
|
+
.dgaui_quoteTextContainer {
|
|
4261
|
+
.dgaui_quoteDescription {
|
|
4262
|
+
margin-inline-end: 64px;
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
.dgaui_quoteTitleQuote {
|
|
4267
|
+
&.end {
|
|
4268
|
+
bottom: 20%;
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
&.rtl {
|
|
4274
|
+
.dgaui_quoteTextContainer {
|
|
4275
|
+
.dgaui_quoteTitleQuote {
|
|
4276
|
+
transform: rotateY(0deg);
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
`,Oi=r=>{var{items:o,actions:n,style:i="gray"}=r,a=v(r,["items","actions","style"]);const l=b();return t(Qi,Object.assign({$theme:l,$style:i,className:m("dgaui dgaui_secondNavHeader "+(null!=i?i:" "),a.className)},a,{children:[e("div",{className:"dgaui_secondNavHeaderItems",children:o.map(((r,o)=>t("div",{className:"dgaui_secondNavHeaderItem",children:[e("div",{className:"icon",children:r.icon}),e("div",{className:"text",children:r.text})]},o)))}),e("div",{className:"dgaui_secondNavHeaderActions",children:n.map(((t,r)=>e("div",{className:"action",children:t},r)))})]}))},Qi=sr.div`
|
|
4281
|
+
direction: ${e=>e.$theme.direction};
|
|
4282
|
+
padding: 0 32px;
|
|
4283
|
+
display: flex;
|
|
4284
|
+
align-items: center;
|
|
4285
|
+
justify-content: space-between;
|
|
4286
|
+
border-bottom: 1px solid ${e=>"gray"===e.$style?e.$theme.palette.neutral[300]:Mr};
|
|
4287
|
+
|
|
4288
|
+
background-color: ${e=>e.$theme.palette.primary[600]};
|
|
4289
|
+
&.gray {
|
|
4290
|
+
background-color: ${e=>e.$theme.palette.neutral[100]};
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
.dgaui_secondNavHeaderItems {
|
|
4294
|
+
display: flex;
|
|
4295
|
+
align-items: center;
|
|
4296
|
+
|
|
4297
|
+
.dgaui_secondNavHeaderItem {
|
|
4298
|
+
color: ${e=>"gray"===e.$style?e.$theme.palette.neutral[700]:Qr};
|
|
4299
|
+
|
|
4300
|
+
margin-inline-end: 16px;
|
|
4301
|
+
display: flex;
|
|
4302
|
+
align-items: center;
|
|
4303
|
+
|
|
4304
|
+
.icon {
|
|
4305
|
+
margin-inline-end: 4px;
|
|
4306
|
+
display: flex;
|
|
4307
|
+
align-items: center;
|
|
4308
|
+
justify-content: center;
|
|
4309
|
+
}
|
|
4310
|
+
.text {
|
|
4311
|
+
font-size: 16px;
|
|
4312
|
+
white-space: nowrap;
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
.dgaui_secondNavHeaderActions {
|
|
4318
|
+
display: flex;
|
|
4319
|
+
align-items: center;
|
|
4320
|
+
|
|
4321
|
+
.action {
|
|
4322
|
+
margin-inline-start: 4px;
|
|
4323
|
+
.dgaui_button {
|
|
4324
|
+
padding: 4px;
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
`;const Hi=r=>{var{children:n,type:i="singleLine",multiLineItems:a,onTabClicked:l}=r,s=v(r,["children","type","multiLineItems","onTabClicked"]);const d=b(),[c,p]=o.useState(!1),u=o.useMemo((()=>{var e;let t=[""];if(a){t=((null===(e=a.find((e=>e.active)))||void 0===e?void 0:e.code)||"").split("\n")}return t}),[a]),g=e(Kr,{iconOnly:!0,leadIcon:c?"copied!":e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMvSURBVHgB7VhLbhpBEC0+RkgsQsRH7Dw5AeMTeLgBNwBOADlBuEHsE9g+QZwThJwAcwJPdgiQgiUW/MkrqB61MYb5QVj4SeOubjzF66quT0P0gWCIvPdBGri4uChDvMZjRCIRg1xitVrZInYgPw4Ggxb5xE6CuVyujqEJUmkKBzaer71e75E84g3BfD5/h6Gq5rDAUL7gidzDwJPGBk19Ebqq/X7/gTwgskXuG4amTO3lclkL4h7tmHxX3gDJK5B0vdmIpsxIJBLPitx0Or0aAhQCcGRMEGwLwRYIlty+G1UCdmopmS0XFjkGWwzEblkGUYst6/bdqCar8zIM4tb3gE23lByPx0237+kEi/wHO/USDK4BDzl6vaQsneDa7NFo9IWOgG63ayvZF0Etyv7SGSFKJ4TkVB5dB0mcQoREZxpBYOz7P3jrMpvNWvP53EaysOmYBDl/IgAaECseSmMZZ72MvMvFgedPePd+Mpk8bKe3QC5GAq6AXBvK6wHrtgm334Bwmzesf+DbgqyId63mXCEwcDPwonUze8HRLBFdoU39Zm9wL1AKTBCKmkpGEi4FTO5NeONGPGHx+VT6fLsYiq5l/BlG5ZnNZk0V5dBZVuu+CEq0GjJtUQiQ4LBZRgAZat2vBQ1NfqaQAMt1eIQli2rNIaiZ9/MhRchzTsQuFoujlEYFnaAt4yWdEfRa/EdE00u/dmzoFnQuNEiYDToTOAQlVdgyrXObTmeAV1HMrb6IfCNrg+QdJ83t8nNKvKokbEWQqoEclxs+l1V+tKK+jnashXZfOYQ3eRAXnHskyi8Qd95fpSkw6ETYWYulPa/CtQ2+4IBUUeVHaTZ5btH/Iqgg5adFW+UMxE1ujViOxWKf6IjwVeqSyaRzBhFYByuPW2hFwtHvi+B4PNaDJMx0pC5uwQjqnQfJfToopAFebxbjb7UeI59IpVLsWos7YsjcwHZg2TH5gPwu9ANigefIIrXRaLRpXsgnuF5LoBhqjdt+zpG6i/ZBUpa5peMWqc4ptb4JMgqFgoEg+UUh5cVtcoxABBUymQxfIy3anMe02xueVCWb5KdiL78bfsAt/gGRnkOtTYslCgAAAABJRU5ErkJggg==",width:20}),size:"medium",style:"subtle",buttonStyle:{padding:4},onClick:()=>{var e;if(p(!0),setTimeout((()=>{p(!1)}),800),navigator.clipboard){const t=null===(e=document.getElementById("dgaui_codeSnippetText"))||void 0===e?void 0:e.innerText;navigator.clipboard.writeText(t)}}});return t(Mi,Object.assign({},s,{className:m("dgaui dgaui_codeSnippet "+i,s.className),$theme:d,children:["singleLine"===i&&t("div",{className:"singleLine",children:[e("div",{className:"content",id:"dgaui_codeSnippetText",children:n}),e("div",{className:"copyIcon",children:g})]}),"multiLine"===i&&a&&t("div",{className:"multiLine",children:[e(Sn,{children:a.map(((t,r)=>e(on,{selected:t.active,onClick:()=>null==l?void 0:l(r,t),children:t.title})))}),t("div",{className:"content",children:[e("pre",{className:"linesNumbers",children:e("code",{children:Array(u.length).fill("").map(((e,t)=>t+1+"\n"))})}),e("pre",{children:e("code",{className:"code",id:"dgaui_codeSnippetText",children:u.map((e=>e+"\n"))})})]}),e("div",{className:"floatCopyIcon",children:g})]})]}))},Mi=sr.div`
|
|
4329
|
+
direction: ltr;
|
|
4330
|
+
border-radius: 16px;
|
|
4331
|
+
overflow: hidden;
|
|
4332
|
+
border: 1px solid ${e=>e.$theme.palette.neutral[200]};
|
|
4333
|
+
|
|
4334
|
+
.singleLine {
|
|
4335
|
+
padding: 24px;
|
|
4336
|
+
border-radius: 16px;
|
|
4337
|
+
background-color: #fff;
|
|
4338
|
+
border: 1px solid ${e=>e.$theme.palette.neutral[200]};
|
|
4339
|
+
display: flex;
|
|
4340
|
+
justify-content: space-between;
|
|
4341
|
+
align-items: center;
|
|
4342
|
+
.content {
|
|
4343
|
+
font-size: 16px;
|
|
4344
|
+
color: ${e=>e.$theme.palette.primary[600]};
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
.multiLine {
|
|
4349
|
+
position: relative;
|
|
4350
|
+
.floatCopyIcon {
|
|
4351
|
+
position: absolute;
|
|
4352
|
+
z-index: 1;
|
|
4353
|
+
inset-inline-end: 24px;
|
|
4354
|
+
top: 74px;
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
.content {
|
|
4358
|
+
display: flex;
|
|
4359
|
+
font-size: 16px;
|
|
4360
|
+
|
|
4361
|
+
.linesNumbers {
|
|
4362
|
+
background-color: ${e=>e.$theme.palette.neutral[50]};
|
|
4363
|
+
padding: 24px;
|
|
4364
|
+
border-right: 1px solid ${e=>e.$theme.palette.neutral[200]};
|
|
4365
|
+
font-weight: 500;
|
|
4366
|
+
box-sizing: border-box;
|
|
4367
|
+
color: #667085;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
.code {
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4373
|
+
pre {
|
|
4374
|
+
margin: 0;
|
|
4375
|
+
padding: 24px;
|
|
4376
|
+
overflow: scroll;
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
`;const Yi=r=>{var{open:n=!1,backdrop:i=!0,backgroundColor:a="gray",navHeader:l,onCloseClicked:s,onClose:d,border:c=!0,children:p}=r,u=v(r,["open","backdrop","backgroundColor","navHeader","onCloseClicked","onClose","border","children"]);const g=b(),h=o.useRef(null),[A,f]=o.useState();return o.useEffect((()=>{if(h.current){const e=h.current.getBoundingClientRect();f(e)}}),[h.current]),t(Li,{$open:n,$backdrop:i,children:[e("div",{className:"backdrop",onClick:()=>null==d?void 0:d()}),t(ji,Object.assign({},u,{ref:h,$open:n,$theme:g,$border:c,$showNavHeaderDivider:null==l?void 0:l.showDivider,$backgroundColor:a,$rect:A,className:m("dgaui dgaui_slideoutMenu",u.className),children:[l&&t("div",{className:"dgaui dgaui_slideoutMenuHeader",children:[l.showFeaturedIcon&&e("div",{className:"iconContainer",children:l.icon}),t("div",{className:"contentContainer",children:[t("div",{className:"title",children:[e("span",{children:l.titleText}),e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADBSURBVHgBrdSxCsQgDABQ4+DsJI7+Sr/8PuUcHR3FQe5StIhojNAMVRL7WiUoxIsB+DDGfHHMOV8xRn/wvtBaO6XUB+eyy99JLDKdHnIPJqW8/oM/AQfIowGtaK11pZSnSG15BoUQPPSLOOAKwhqMX6VACppiKxDzFLTEZmBNLyESm4CCgjAkhaWUWLntn42HXdP3fNU2wIFqU4td2wAHame060PgQi0oEE6gHQinEAX29xkbWoF9nx1BGLi2u77EDwcz3kn4IV7cAAAAAElFTkSuQmCC",alt:"close",onClick:()=>null==s?void 0:s()})]}),l.showDescription&&e("div",{className:"descriptionText",children:l.descriptionText})]})]}),e("div",{className:"dgaui dgaui_slideoutMenuContent",children:p})]}))]})},Li=sr.div`
|
|
4381
|
+
position: relative;
|
|
4382
|
+
|
|
4383
|
+
.backdrop {
|
|
4384
|
+
position: fixed;
|
|
4385
|
+
width: 100vw;
|
|
4386
|
+
height: 100vh;
|
|
4387
|
+
z-index: 1399;
|
|
4388
|
+
top: 0;
|
|
4389
|
+
left: 0;
|
|
4390
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
4391
|
+
visibility: ${e=>e.$open?"visible":"hidden"};
|
|
4392
|
+
opacity: ${e=>e.$backdrop&&e.$open?1:0};
|
|
4393
|
+
transition: all 0.2s ease;
|
|
4394
|
+
}
|
|
4395
|
+
`,ji=sr.div`
|
|
4396
|
+
direction: ${e=>e.$theme.direction};
|
|
4397
|
+
overflow: scroll;
|
|
4398
|
+
${e=>e.$border?`border-inline-end: 1px solid ${e.$theme.palette.neutral[300]};`:""}
|
|
4399
|
+
width: 350px;
|
|
4400
|
+
height: 100vh;
|
|
4401
|
+
background-color: ${e=>"white"===e.$backgroundColor?Qr:e.$theme.palette.neutral[100]};
|
|
4402
|
+
display: ${e=>e.$rect?"block":"none"};
|
|
4403
|
+
position: fixed;
|
|
4404
|
+
z-index: 1400;
|
|
4405
|
+
top: 0;
|
|
4406
|
+
left: ${e=>{var t;const r=(null===(t=e.$rect)||void 0===t?void 0:t.width)||350;return e.$open?"rtl"===e.$theme.direction?window.innerWidth-r:0:"rtl"===e.$theme.direction?window.innerWidth+r:-r}}px;
|
|
4407
|
+
|
|
4408
|
+
transition: left 0.2s ease;
|
|
4409
|
+
|
|
4410
|
+
.dgaui_slideoutMenuHeader {
|
|
4411
|
+
width: 100%;
|
|
4412
|
+
padding: 16px;
|
|
4413
|
+
background-color: ${e=>e.$theme.palette.neutral[50]};
|
|
4414
|
+
border-bottom: ${e=>e.$showNavHeaderDivider?`1px solid ${e.$theme.palette.neutral[300]}`:"none"};
|
|
4415
|
+
|
|
4416
|
+
display: flex;
|
|
4417
|
+
align-items: center;
|
|
4418
|
+
height: 78px;
|
|
4419
|
+
|
|
4420
|
+
.iconContainer {
|
|
4421
|
+
margin-inline-end: 8px;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
.contentContainer {
|
|
4425
|
+
flex: 1;
|
|
4426
|
+
|
|
4427
|
+
.title {
|
|
4428
|
+
display: flex;
|
|
4429
|
+
justify-content: space-between;
|
|
4430
|
+
align-items: center;
|
|
4431
|
+
color: ${e=>e.$theme.textColor};
|
|
4432
|
+
font-weight: 600;
|
|
4433
|
+
margin-bottom: 4px;
|
|
4434
|
+
|
|
4435
|
+
img {
|
|
4436
|
+
cursor: pointer;
|
|
4437
|
+
width: 8px;
|
|
4438
|
+
height: 8px;
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
|
|
4443
|
+
.descriptionText {
|
|
4444
|
+
color: ${e=>e.$theme.palette.neutral[500]};
|
|
4445
|
+
}
|
|
4446
|
+
}
|
|
4447
|
+
`;export{gr as Accordion,Er as Autocomplete,Ur as Avatar,Dr as Breadcrumb,Kr as Button,Gr as Card,Ui as Carousel,vr as Checkbox,ui as Chip,Hi as CodeSnippet,Gn as ContentSwitcher,uo as DatePicker,Jn as Divider,xo as DropZone,Co as Dropdown,wr as DropdownItem,fo as FileCard,Bo as FileUpload,hi as FloatingButton,zo as Grid,Mn as HeaderMenuItem,Ro as InlineAlert,Oo as Link,Ho as List,Vo as Loading,lo as Menu,Xo as MenuItem,Wo as MenuItemGroup,Zo as Modal,Ln as NavigationDrawerItem,en as Notification,Ci as NumberInput,an as Pagination,xi as ProgressBar,pn as ProgressIndicator,Di as Quote,fi as RadialStepper,hn as Radio,An as RadioGroup,Ei as RangeSlider,ci as Rating,Vn as SearchBox,Oi as SecondNavHeader,li as Skeleton,qn as SkeletonCircle,ei as SkeletonLine,ni as SkeletonRectangle,ri as SkeletonSquare,Yi as SlideoutMenu,Si as Slider,yn as StatusTag,bn as Switch,on as Tab,Sn as TabList,Cn as Table,kr as Tag,oo as TextInput,Nn as Textarea,u as ThemeProvider,On as Tooltip,Rn as toast,b as useTheme,g as withRtl};
|
|
4081
4448
|
//# sourceMappingURL=index.js.map
|