@lotte-innovate/ui-component-test 0.2.39 → 0.2.41
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/globals.css +1 -1
- package/dist/lib/components/Box/index.d.ts +10 -0
- package/dist/lib/components/Box/index.js +57 -0
- package/dist/lib/components/Box/index.mjs +3 -0
- package/dist/lib/{_virtual → components/Box}/index.mjs.map +1 -1
- package/dist/lib/components/Calendar/index.js +4 -2
- package/dist/lib/components/Calendar/index.mjs +1 -1
- package/dist/lib/components/Datepicker/index.js +2 -2
- package/dist/lib/components/Datepicker/index.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Dialog/DialogRoot.js +1 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs +1 -1
- package/dist/lib/components/Grid/NumberingPagination.d.ts +2 -0
- package/dist/lib/components/Grid/NumberingPagination.js +41 -0
- package/dist/lib/components/Grid/NumberingPagination.mjs +2 -0
- package/dist/lib/components/Grid/NumberingPagination.mjs.map +1 -0
- package/dist/lib/components/Grid/index.js +2 -2
- package/dist/lib/components/Grid/index.mjs +1 -1
- package/dist/lib/components/Modal/ModalAction.mjs +1 -1
- package/dist/lib/components/Modal/ModalCancel.mjs +1 -1
- package/dist/lib/components/Modal/ModalRoot.js +1 -1
- package/dist/lib/components/Modal/ModalRoot.mjs +1 -1
- package/dist/lib/components/Modal/ModalTitle.d.ts +3 -0
- package/dist/lib/components/Modal/ModalTitle.js +17 -3
- package/dist/lib/components/Modal/ModalTitle.mjs +1 -1
- package/dist/lib/components/Modal/index.mjs.map +1 -1
- package/dist/lib/components/SideBar/index.mjs +1 -1
- package/dist/lib/components/Tabs/DynamicTabs.mjs +1 -1
- package/dist/lib/components/TextField/index.js +1 -1
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/Timeline/TimelineRoot.js +9 -3
- package/dist/lib/components/Timeline/TimelineRoot.mjs +1 -1
- package/dist/lib/components/Tooltip/index.d.ts +1 -0
- package/dist/lib/components/Tooltip/index.js +2 -2
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.js +1 -0
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/lib/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/lib/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/lib/_virtual/index.mjs +0 -2
- package/dist/lib/_virtual/index2.mjs +0 -2
- package/dist/lib/_virtual/index2.mjs.map +0 -1
- package/dist/lib/_virtual/index3.mjs +0 -2
- package/dist/lib/_virtual/index3.mjs.map +0 -1
- package/dist/lib/_virtual/react-is.development.mjs +0 -2
- package/dist/lib/_virtual/react-is.development.mjs.map +0 -1
- package/dist/lib/_virtual/react-is.production.min.mjs +0 -2
- package/dist/lib/_virtual/react-is.production.min.mjs.map +0 -1
- package/dist/lib/components/Grid/Pagination.mjs +0 -2
- package/dist/lib/components/Grid/Pagination.mjs.map +0 -1
- package/dist/lib/node_modules/object-assign/index.mjs +0 -7
- package/dist/lib/node_modules/object-assign/index.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +0 -2
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +0 -2
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +0 -2
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/index.mjs +0 -2
- package/dist/lib/node_modules/prop-types/index.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +0 -2
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/lib/has.mjs +0 -2
- package/dist/lib/node_modules/prop-types/lib/has.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +0 -10
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +0 -10
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +0 -1
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +0 -2
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +0 -1
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +0 -21
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +0 -1
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +0 -2
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +0 -1
@@ -1,21 +0,0 @@
|
|
1
|
-
import*as e from"react";import t,{createContext as n,useContext as r,createElement as o,Fragment as i,forwardRef as a}from"react";
|
2
|
-
/*! *****************************************************************************
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
-
purpose with or without fee is hereby granted.
|
7
|
-
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
15
|
-
***************************************************************************** */var s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};function c(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function l(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=d((function(e){return p.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var m=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),h="-ms-",v="-moz-",g="-webkit-",y="comm",b="rule",x="decl",w="@keyframes",E=Math.abs,O=String.fromCharCode,k=Object.assign;function S(e){return e.trim()}function N(e,t,n){return e.replace(t,n)}function _(e,t){return e.indexOf(t)}function C(e,t){return 0|e.charCodeAt(t)}function D(e,t,n){return e.slice(t,n)}function A(e){return e.length}function P(e){return e.length}function j(e,t){return t.push(e),e}var T=1,I=1,R=0,M=0,L=0,V="";function z(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:T,column:I,length:a,return:""}}function W(e,t){return k(z("",null,null,"",null,null,0),e,{length:-e.length},t)}function q(){return L=M>0?C(V,--M):0,I--,10===L&&(I=1,T--),L}function $(){return L=M<R?C(V,M++):0,I++,10===L&&(I=1,T++),L}function H(){return C(V,M)}function B(){return M}function U(e,t){return D(V,e,t)}function Y(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 F(e){return T=I=1,R=A(V=e),M=0,[]}function G(e){return V="",e}function X(e){return S(U(M-1,Z(91===e?e+2:40===e?e+1:e)))}function J(e){for(;(L=H())&&L<33;)$();return Y(e)>2||Y(L)>3?"":" "}function K(e,t){for(;--t&&$()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return U(e,B()+(t<6&&32==H()&&32==$()))}function Z(e){for(;$();)switch(L){case e:return M;case 34:case 39:34!==e&&39!==e&&Z(L);break;case 40:41===e&&Z(e);break;case 92:$()}return M}function Q(e,t){for(;$()&&e+L!==57&&(e+L!==84||47!==H()););return"/*"+U(t,M-1)+"*"+O(47===e?e:$())}function ee(e){for(;!Y(H());)$();return U(e,M)}function te(e){return G(ne("",null,null,null,[""],e=F(e),0,[0],e))}function ne(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,d=a,p=0,f=0,m=0,h=1,v=1,g=1,y=0,b="",x=o,w=i,E=r,k=b;v;)switch(m=y,y=$()){case 40:if(108!=m&&58==C(k,d-1)){-1!=_(k+=N(X(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:k+=X(y);break;case 9:case 10:case 13:case 32:k+=J(m);break;case 92:k+=K(B()-1,7);continue;case 47:switch(H()){case 42:case 47:j(oe(Q($(),B()),t,n),c);break;default:k+="/"}break;case 123*h:s[l++]=A(k)*g;case 125*h:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:f>0&&A(k)-d&&j(f>32?ie(k+";",r,n,d-1):ie(N(k," ","")+";",r,n,d-2),c);break;case 59:k+=";";default:if(j(E=re(k,t,n,l,u,o,s,b,x=[],w=[],d),i),123===y)if(0===u)ne(k,t,E,E,x,i,d,s,w);else switch(99===p&&110===C(k,3)?100:p){case 100:case 109:case 115:ne(e,E,E,r&&j(re(e,E,E,0,0,o,s,b,o,x=[],d),w),o,w,d,s,r?x:w);break;default:ne(k,E,E,E,[""],w,0,s,w)}}l=u=f=0,h=g=1,b=k="",d=a;break;case 58:d=1+A(k),f=m;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==q())continue;switch(k+=O(y),y*h){case 38:g=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(A(k)-1)*g,g=1;break;case 64:45===H()&&(k+=X($())),p=H(),u=d=A(b=k+=ee(B())),y++;break;case 45:45===m&&2==A(k)&&(h=0)}}return i}function re(e,t,n,r,o,i,a,s,c,l,u){for(var d=o-1,p=0===o?i:[""],f=P(p),m=0,h=0,v=0;m<r;++m)for(var g=0,y=D(e,d+1,d=E(h=a[m])),x=e;g<f;++g)(x=S(h>0?p[g]+" "+y:N(y,/&\f/g,p[g])))&&(c[v++]=x);return z(e,t,n,0===o?b:s,c,l,u)}function oe(e,t,n){return z(e,t,n,y,O(L),D(e,2,-2),0)}function ie(e,t,n,r){return z(e,t,n,x,D(e,0,r),D(e,r+1,-1),r)}function ae(e,t){for(var n="",r=P(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function se(e,t,n,r){switch(e.type){case"@import":case x:return e.return=e.return||e.value;case y:return"";case w:return e.return=e.value+"{"+ae(e.children,r)+"}";case b:e.value=e.props.join(",")}return A(n=ae(e.children,r))?e.return=e.value+"{"+n+"}":""}function ce(e){var t=P(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var le=function(e,t,n){for(var r=0,o=0;r=o,o=H(),38===r&&12===o&&(t[n]=1),!Y(o);)$();return U(e,M)},ue=function(e,t){return G(function(e,t){var n=-1,r=44;do{switch(Y(r)){case 0:38===r&&12===H()&&(t[n]=1),e[n]+=le(M-1,t,n);break;case 2:e[n]+=X(r);break;case 4:if(44===r){e[++n]=58===H()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=O(r)}}while(r=$());return e}(F(e),t))},de=new WeakMap,pe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||de.get(n))&&!r){de.set(e,!0);for(var o=[],i=ue(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},fe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},me=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},he=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},ve=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},ge=function(e,t,n){he(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ve(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!he(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ve(e)))};function ye(e,t){switch(function(e,t){return 45^C(e,0)?(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3):0}(e,t)){case 5103:return g+"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 g+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return g+e+v+e+h+e+e;case 6828:case 4268:return g+e+h+e+e;case 6165:return g+e+h+"flex-"+e+e;case 5187:return g+e+N(e,/(\w+).+(:[^]+)/,g+"box-$1$2"+h+"flex-$1$2")+e;case 5443:return g+e+h+"flex-item-"+N(e,/flex-|-self/,"")+e;case 4675:return g+e+h+"flex-line-pack"+N(e,/align-content|flex-|-self/,"")+e;case 5548:return g+e+h+N(e,"shrink","negative")+e;case 5292:return g+e+h+N(e,"basis","preferred-size")+e;case 6060:return g+"box-"+N(e,"-grow","")+g+e+h+N(e,"grow","positive")+e;case 4554:return g+N(e,/([^-])(transform)/g,"$1"+g+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,g+"$1"),/(image-set)/,g+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,g+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,g+"box-pack:$3"+h+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+g+e+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,g+"$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(A(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+g+"$2-$3$1"+v+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?ye(N(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==C(e,t+1))break;case 6444:switch(C(e,A(e)-3-(~_(e,"!important")&&10))){case 107:return N(e,":",":"+g)+e;case 101:return N(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+g+(45===C(e,14)?"inline-":"")+"box$3$1"+g+"$2$3$1"+h+"$2box$3")+e}break;case 5936:switch(C(e,t+11)){case 114:return g+e+h+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return g+e+h+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return g+e+h+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return g+e+h+e+e}return e}var be,xe,we="undefined"!=typeof document,Ee=we?void 0:(be=function(){return d((function(){var e={};return function(t){return e[t]}}))},xe=new WeakMap,function(e){if(xe.has(e))return xe.get(e);var t=be(e);return xe.set(e,t),t}),Oe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case x:e.return=ye(e.value,e.length);break;case w:return ae([W(e,{value:N(e.value,"@","@"+g)})],r);case b:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ae([W(e,{props:[N(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ae([W(e,{props:[N(t,/:(plac\w+)/,":"+g+"input-$1")]}),W(e,{props:[N(t,/:(plac\w+)/,":-moz-$1")]}),W(e,{props:[N(t,/:(plac\w+)/,h+"input-$1")]})],r)}return""}))}}],ke=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(we&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Oe;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];we&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var c,l=[pe,fe];if("production"!==process.env.NODE_ENV&&l.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent===r[0]?r[0].children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(me(s))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return b.compat}}),ge),we){var u,d=[se,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==y&&u.insert(e.value+"{}"))}:(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],p=ce(l.concat(r,d));i=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),ae(te(e?e+"{"+t.styles+"}":t.styles),p),r&&(b.inserted[t.name]=!0)}}else{var f=[se],h=ce(l.concat(r,f)),v=Ee(r)(t),g=function(e,t){var n=t.name;return void 0===v[n]&&(v[n]=ae(te(e?e+"{"+t.styles+"}":t.styles),h)),v[n]};i=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):r?void(b.inserted[o]=i):i}}var b={key:t,sheet:new m({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Se="undefined"!=typeof document;var Ne=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Se&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var _e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ce="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",De="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Ae=/[A-Z]|^ms/g,Pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,je=function(e){return 45===e.charCodeAt(1)},Te=function(e){return null!=e&&"boolean"!=typeof e},Ie=d((function(e){return je(e)?e:e.replace(Ae,"-$&").toLowerCase()})),Re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Pe,(function(e,t,n){return Ue={name:t,styles:n,next:Ue},t}))}return 1===_e[e]||je(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Me=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Le=["normal","none","initial","inherit","unset"],Ve=Re,ze=/^-ms-/,We=/-(.)/g,qe={};Re=function(e,t){if("content"===e&&("string"!=typeof t||-1===Le.indexOf(t)&&!Me.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Ve(e,t);return""===n||je(e)||-1===e.indexOf("-")||void 0!==qe[e]||(qe[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(ze,"ms-").replace(We,(function(e,t){return t.toUpperCase()}))+"?")),n}}var $e="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function He(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error($e);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Ue={name:n.name,styles:n.styles,next:Ue},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ue={name:r.name,styles:r.styles,next:Ue},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=He(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Te(a)&&(r+=Ie(i)+":"+Re(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error($e);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=He(e,t,a);switch(i){case"animation":case"animationName":r+=Ie(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(De),r+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)Te(a[c])&&(r+=Ie(i)+":"+Re(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=Ue,a=n(e);return Ue=i,He(e,t,a)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var s=[],c=n.replace(Pe,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+c+"`")}}if(null==t)return n;var l=t[n];return void 0!==l?l:n}var Be,Ue,Ye=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Be=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Fe=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ue=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=He(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(Ce),o+=a[0]);for(var s=1;s<e.length;s++)o+=He(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(Ce),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Be,(function(e){return i=e,""}))),Ye.lastIndex=0;for(var c,l="";null!==(c=Ye.exec(o));)l+="-"+c[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:i,next:Ue,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:Ue}},Ge="undefined"!=typeof document,Xe=function(e){return e()},Je=!!e.useInsertionEffect&&e.useInsertionEffect,Ke=Ge&&Je||Xe,Ze="undefined"!=typeof document,Qe={}.hasOwnProperty,et=n("undefined"!=typeof HTMLElement?ke({key:"css"}):null);"production"!==process.env.NODE_ENV&&(et.displayName="EmotionCacheContext"),et.Provider;var tt=function(e){return a((function(t,n){var o=r(et);return e(t,o,n)}))};Ze||(tt=function(e){return function(t){var n=r(et);return null===n?(n=ke({key:"css"}),o(et.Provider,{value:n},e(t,n))):e(t,n)}});var nt=n({});"production"!==process.env.NODE_ENV&&(nt.displayName="EmotionThemeContext");var rt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ot="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",it=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ne(t,n,r);var i=Ke((function(){return function(e,t,n){Ne(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);Se||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Se&&0!==o.length)return o}}(t,n,r)}));if(!Ze&&void 0!==i){for(var a,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return o("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},at=tt((function(e,t,n){var a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var s=e[rt],c=[a],l="";"string"==typeof e.className?l=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var u=Fe(c,void 0,r(nt));if("production"!==process.env.NODE_ENV&&-1===u.name.indexOf("-")){var d=e[ot];d&&(u=Fe([u,"label:"+d+";"]))}l+=t.key+"-"+u.name;var p={};for(var f in e)!Qe.call(e,f)||"css"===f||f===rt||"production"!==process.env.NODE_ENV&&f===ot||(p[f]=e[f]);return p.ref=n,p.className=l,o(i,null,o(it,{cache:t,serialized:u,isStringTag:"string"==typeof s}),o(s,p))}));"production"!==process.env.NODE_ENV&&(at.displayName="EmotionCssPropInternal");var st="undefined"!=typeof document;var ct=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===st&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ut="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",dt="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",pt=/[A-Z]|^ms/g,ft=/_EMO_([^_]+?)_([^]*?)_EMO_/g,mt=function(e){return 45===e.charCodeAt(1)},ht=function(e){return null!=e&&"boolean"!=typeof e},vt=d((function(e){return mt(e)?e:e.replace(pt,"-$&").toLowerCase()})),gt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ft,(function(e,t,n){return _t={name:t,styles:n,next:_t},t}))}return 1===lt[e]||mt(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var yt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,bt=["normal","none","initial","inherit","unset"],xt=gt,wt=/^-ms-/,Et=/-(.)/g,Ot={};gt=function(e,t){if("content"===e&&("string"!=typeof t||-1===bt.indexOf(t)&&!yt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=xt(e,t);return""===n||mt(e)||-1===e.indexOf("-")||void 0!==Ot[e]||(Ot[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(wt,"ms-").replace(Et,(function(e,t){return t.toUpperCase()}))+"?")),n}}var kt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function St(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(kt);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return _t={name:n.name,styles:n.styles,next:_t},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)_t={name:r.name,styles:r.styles,next:_t},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=St(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":ht(a)&&(r+=vt(i)+":"+gt(i,a)+";");else{if("NO_COMPONENT_SELECTOR"===i&&"production"!==process.env.NODE_ENV)throw new Error(kt);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=St(e,t,a);switch(i){case"animation":case"animationName":r+=vt(i)+":"+s+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===i&&console.error(dt),r+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)ht(a[c])&&(r+=vt(i)+":"+gt(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var i=_t,a=n(e);return _t=i,St(e,t,a)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var s=[],c=n.replace(ft,(function(e,t,n){var r="animation"+s.length;return s.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+c+"`")}}if(null==t)return n;var l=t[n];return void 0!==l?l:n}var Nt,_t,Ct=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Nt=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Dt=f,At=function(e){return"theme"!==e},Pt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Dt:At},jt=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Tt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",It="undefined"!=typeof document,Rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;ct(t,n,r);var i=Ke((function(){return function(e,t,n){ct(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);st||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!st&&0!==o.length)return o}}(t,n,r)}));if(!It&&void 0!==i){for(var a,s=n.name,c=n.next;void 0!==c;)s+=" "+c.name,c=c.next;return o("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Mt=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var a,s,c=t.__emotion_real===t,l=c&&t.__emotion_base||t;void 0!==n&&(a=n.label,s=n.target);var d=jt(t,n,c),p=d||Pt(l),f=!p("as");return function(){var m=arguments,h=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&h.push("label:"+a+";"),null==m[0]||void 0===m[0].raw)h.push.apply(h,m);else{"production"!==process.env.NODE_ENV&&void 0===m[0][0]&&console.error(Tt),h.push(m[0][0]);for(var v=m.length,g=1;g<v;g++)"production"!==process.env.NODE_ENV&&void 0===m[0][g]&&console.error(Tt),h.push(m[g],m[0][g])}var y=tt((function(e,t,n){var a,c,u,m,v=f&&e.as||l,g="",y=[],b=e;if(null==e.theme){for(var x in b={},e)b[x]=e[x];b.theme=r(nt)}"string"==typeof e.className?(a=t.registered,c=y,u=e.className,m="",u.split(" ").forEach((function(e){void 0!==a[e]?c.push(a[e]+";"):m+=e+" "})),g=m):null!=e.className&&(g=e.className+" ");var w=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";_t=void 0;var i,a=e[0];null==a||void 0===a.raw?(r=!1,o+=St(n,t,a)):("production"!==process.env.NODE_ENV&&void 0===a[0]&&console.error(ut),o+=a[0]);for(var s=1;s<e.length;s++)o+=St(n,t,e[s]),r&&("production"!==process.env.NODE_ENV&&void 0===a[s]&&console.error(ut),o+=a[s]);"production"!==process.env.NODE_ENV&&(o=o.replace(Nt,(function(e){return i=e,""}))),Ct.lastIndex=0;for(var c,l="";null!==(c=Ct.exec(o));)l+="-"+c[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:i,next:_t,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:_t}}(h.concat(y),t.registered,b);g+=t.key+"-"+w.name,void 0!==s&&(g+=" "+s);var E=f&&void 0===d?Pt(v):p,O={};for(var k in e)f&&"as"===k||E(k)&&(O[k]=e[k]);return O.className=g,O.ref=n,o(i,null,o(Rt,{cache:t,serialized:w,isStringTag:"string"==typeof v}),o(v,O))}));return y.displayName=void 0!==a?a:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=l,y.__emotion_styles=h,y.__emotion_forwardProp=d,Object.defineProperty(y,"toString",{value:function(){return void 0===s&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+s}}),y.withComponent=function(t,r){return e(t,u({},n,r,{shouldForwardProp:jt(y,r,!0)})).apply(void 0,h)},y}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Mt[e]=Mt(e)}));var Lt,Vt={exports:{}};
|
16
|
-
/*!
|
17
|
-
Copyright (c) 2018 Jed Watson.
|
18
|
-
Licensed under the MIT License (MIT), see
|
19
|
-
http://jedwatson.github.io/classnames
|
20
|
-
*/Lt=Vt,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)n.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&n.push(a)}}else if("object"===i){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){n.push(o.toString());continue}for(var s in o)e.call(o,s)&&o[s]&&n.push(s)}}}return n.join(" ")}Lt.exports?(t.default=t,Lt.exports=t):window.classNames=t}();var zt,Wt,qt,$t,Ht,Bt,Ut,Yt,Ft,Gt,Xt,Jt,Kt,Zt,Qt=Vt.exports,en=t.createContext(void 0),tn={root:"ps-sidebar-root",container:"ps-sidebar-container",image:"ps-sidebar-image",backdrop:"ps-sidebar-backdrop",collapsed:"ps-collapsed",toggled:"ps-toggled",rtl:"ps-rtl",broken:"ps-broken"},nn={root:"ps-menu-root",menuItemRoot:"ps-menuitem-root",subMenuRoot:"ps-submenu-root",button:"ps-menu-button",prefix:"ps-menu-prefix",suffix:"ps-menu-suffix",label:"ps-menu-label",icon:"ps-menu-icon",subMenuContent:"ps-submenu-content",SubMenuExpandIcon:"ps-submenu-expand-icon",disabled:"ps-disabled",active:"ps-active",open:"ps-open"},rn=Mt.div(zt||(zt=l(["\n position: fixed;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n z-index: 1;\n background-color: rgb(0, 0, 0, 0.3);\n"],["\n position: fixed;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n z-index: 1;\n background-color: rgb(0, 0, 0, 0.3);\n"]))),on={xs:"480px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1600px",always:"always",all:"all"},an=Mt.aside(Wt||(Wt=l(["\n position: relative;\n border-right-width: 1px;\n border-right-style: solid;\n border-color: #efefef;\n\n transition: ",";\n\n width: ",";\n min-width: ",";\n\n &."," {\n width: ",";\n min-width: ",";\n }\n\n &."," {\n direction: rtl;\n border-right-width: none;\n border-left-width: 1px;\n border-right-style: none;\n border-left-style: solid;\n }\n\n &."," {\n position: fixed;\n height: 100%;\n top: 0px;\n z-index: 100;\n\n ","\n\n &."," {\n ","\n }\n\n &."," {\n ","\n }\n\n &."," {\n right: -",";\n\n &."," {\n right: -",";\n }\n\n &."," {\n right: 0;\n }\n }\n }\n\n ","\n"],["\n position: relative;\n border-right-width: 1px;\n border-right-style: solid;\n border-color: #efefef;\n\n transition: ",";\n\n width: ",";\n min-width: ",";\n\n &."," {\n width: ",";\n min-width: ",";\n }\n\n &."," {\n direction: rtl;\n border-right-width: none;\n border-left-width: 1px;\n border-right-style: none;\n border-left-style: solid;\n }\n\n &."," {\n position: fixed;\n height: 100%;\n top: 0px;\n z-index: 100;\n\n ","\n\n &."," {\n ","\n }\n\n &."," {\n ","\n }\n\n &."," {\n right: -",";\n\n &."," {\n right: -",";\n }\n\n &."," {\n right: 0;\n }\n }\n }\n\n ","\n"])),(function(e){var t=e.transitionDuration;return"width, left, right, ".concat(t,"ms")}),(function(e){return e.width}),(function(e){return e.width}),tn.collapsed,(function(e){return e.collapsedWidth}),(function(e){return e.collapsedWidth}),tn.rtl,tn.broken,(function(e){var t=e.rtl,n=e.width;return t?"":"left: -".concat(n,";")}),tn.collapsed,(function(e){var t=e.rtl,n=e.collapsedWidth;return t?"":"left: -".concat(n,"; ")}),tn.toggled,(function(e){return e.rtl?"":"left: 0;"}),tn.rtl,(function(e){return e.width}),tn.collapsed,(function(e){return e.collapsedWidth}),tn.toggled,(function(e){return e.rootStyles})),sn=Mt.div(qt||(qt=l(["\n position: relative;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 3;\n\n ","\n"],["\n position: relative;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 3;\n\n ","\n"])),(function(e){var t=e.backgroundColor;return t?"background-color:".concat(t,";"):""})),cn=Mt.img($t||($t=l(["\n &."," {\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n }\n"],["\n &."," {\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n }\n"])),tn.image),ln=t.createContext({collapsed:!1,toggled:!1,rtl:!1,transitionDuration:300}),un=t.forwardRef((function(e,n){var r,o=e.collapsed,i=e.toggled,a=e.onBackdropClick,l=e.onBreakPoint,u=e.width,d=void 0===u?"250px":u,p=e.collapsedWidth,f=void 0===p?"80px":p,m=e.defaultCollapsed,h=e.className,v=e.children,g=e.breakPoint,y=e.customBreakPoint,b=e.backgroundColor,x=void 0===b?"rgb(249, 249, 249, 0.7)":b,w=e.transitionDuration,E=void 0===w?300:w,O=e.image,k=e.rtl,S=e.rootStyles,N=c(e,["collapsed","toggled","onBackdropClick","onBreakPoint","width","collapsedWidth","defaultCollapsed","className","children","breakPoint","customBreakPoint","backgroundColor","transitionDuration","image","rtl","rootStyles"]),_=t.useRef();_.current=function(e){null==l||l(e)};var C=function(e){var n=t.useState(!!e&&"undefined"!=typeof window&&window.matchMedia(e).matches),r=n[0],o=n[1];return t.useEffect((function(){if(e){var t=window.matchMedia(e),n=function(){t.matches!==r&&o(t.matches)};return n(),t.addEventListener("change",n),function(){return t.removeEventListener("change",n)}}}),[r,e]),r}(y?"(max-width: ".concat(y,")"):g?["xs","sm","md","lg","xl","xxl"].includes(g)?"(max-width: ".concat(on[g],")"):"always"===g||"all"===g?("always"===g&&console.warn('The "always" breakPoint is deprecated and will be removed in future release. Please use the "all" breakPoint instead.'),"screen"):"(max-width: ".concat(g,")"):void 0),D=t.useState(!1),A=D[0],P=D[1],j=t.useContext(en),T=null!=o?o:!(A||!m)||(null==j?void 0:j.collapsed),I=null!=i?i:null==j?void 0:j.toggled,R=function(){null==a||a(),null==j||j.updateSidebarState({toggled:!1})};return t.useEffect((function(){var e;null===(e=_.current)||void 0===e||e.call(_,C)}),[C]),t.useEffect((function(){null==j||j.updateSidebarState({broken:C,rtl:k,transitionDuration:E})}),[C,null==j?void 0:j.updateSidebarState,k,E]),t.useEffect((function(){A||(null==j||j.updateSidebarState({collapsed:m}),P(!0))}),[m,A,null==j?void 0:j.updateSidebarState]),t.createElement(ln.Provider,{value:{collapsed:T,toggled:I,rtl:k,transitionDuration:E}},t.createElement(an,s({ref:n,"data-testid":"".concat(tn.root,"-test-id"),rtl:k,rootStyles:S,width:d,collapsedWidth:f,transitionDuration:E,className:Qt(tn.root,(r={},r[tn.collapsed]=T,r[tn.toggled]=I,r[tn.broken]=C,r[tn.rtl]=k,r),h)},N),t.createElement(sn,{"data-testid":"".concat(tn.container,"-test-id"),className:tn.container,backgroundColor:x},v),O&&t.createElement(cn,{"data-testid":"".concat(tn.image,"-test-id"),src:O,alt:"sidebar background",className:tn.image}),C&&I&&t.createElement(rn,{"data-testid":"".concat(tn.backdrop,"-test-id"),role:"button",tabIndex:0,"aria-label":"backdrop",onClick:R,onKeyPress:R,className:tn.backdrop})))})),dn=Mt.ul(Ht||(Ht=l(["\n list-style-type: none;\n padding: 0;\n margin: 0;\n"],["\n list-style-type: none;\n padding: 0;\n margin: 0;\n"]))),pn=Mt.nav(Bt||(Bt=l(["\n &."," {\n ","\n }\n"],["\n &."," {\n ","\n }\n"])),nn.root,(function(e){return e.rootStyles})),fn=t.createContext(void 0),mn=t.createContext(0),hn=t.forwardRef((function(e,n){var r=e.children,o=e.className,i=e.transitionDuration,a=void 0===i?300:i,l=e.closeOnClick,u=void 0!==l&&l,d=e.rootStyles,p=e.menuItemStyles,f=e.renderExpandIcon,m=c(e,["children","className","transitionDuration","closeOnClick","rootStyles","menuItemStyles","renderExpandIcon"]),h=t.useMemo((function(){return{transitionDuration:a,closeOnClick:u,menuItemStyles:p,renderExpandIcon:f}}),[a,u,p,f]);return t.createElement(fn.Provider,{value:h},t.createElement(mn.Provider,{value:0},t.createElement(pn,s({ref:n,className:Qt(nn.root,o),rootStyles:d},m),t.createElement(dn,null,r))))})),vn=function(){var e=t.useContext(fn);if(void 0===e)throw new Error("Menu Component is required!");return e},gn=Mt.div(Ut||(Ut=l(["\n height: 0px;\n overflow: hidden;\n z-index: 999;\n transition: height ","ms;\n box-sizing: border-box;\n background-color: white;\n\n ","\n\n ","\n\n ",";\n\n ",";\n"],["\n height: 0px;\n overflow: hidden;\n z-index: 999;\n transition: height ","ms;\n box-sizing: border-box;\n background-color: white;\n\n ","\n\n ","\n\n ",";\n\n ",";\n"])),(function(e){return e.transitionDuration}),(function(e){var t=e.firstLevel,n=e.collapsed;return t&&n&&"\n background-color: white;\n box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;\n "}),(function(e){return e.defaultOpen&&"height: auto;display: block;"}),(function(e){var t=e.collapsed,n=e.firstLevel,r=e.openWhenCollapsed;return t&&n?"\n position: fixed;\n padding-left: 0px;\n width: 200px;\n border-radius: 4px;\n height: auto!important;\n display: block!important; \n transition: none!important; \n visibility: ".concat(r?"visible":"hidden",";\n "):"\n position: static!important;\n transform: none!important;\n "}),(function(e){return e.rootStyles})),yn=t.forwardRef((function(e,n){var r=e.children,o=e.open,i=e.openWhenCollapsed,a=e.firstLevel,l=e.collapsed,u=e.defaultOpen,d=c(e,["children","open","openWhenCollapsed","firstLevel","collapsed","defaultOpen"]),p=vn().transitionDuration,f=t.useState(u)[0];return t.createElement(gn,s({"data-testid":"".concat(nn.subMenuContent,"-test-id"),ref:n,firstLevel:a,collapsed:l,open:o,openWhenCollapsed:i,transitionDuration:p,defaultOpen:f},d),t.createElement(dn,null,r))})),bn=Mt.span(Yt||(Yt=l(["\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n ",";\n"],["\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n ",";\n"])),(function(e){return e.rootStyles})),xn=Mt.span(Ft||(Ft=l(["\n width: 35px;\n min-width: 35px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ","\n\n ",";\n"],["\n width: 35px;\n min-width: 35px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ","\n\n ",";\n"])),(function(e){return e.rtl?"margin-left: 10px;":"margin-right: 10px;"}),(function(e){return e.rootStyles})),wn=Mt.span(Gt||(Gt=l(["\n ","\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"],["\n ","\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"])),(function(e){return e.rtl?"margin-left: 5px;":"margin-right: 5px;"}),(function(e){var t=e.firstLevel,n=e.collapsed;return t&&n?"0":"1"}),(function(e){return e.transitionDuration}),(function(e){return e.rootStyles})),En=Mt.span(Xt||(Xt=l(["\n margin-right: 5px;\n margin-left: 5px;\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"],["\n margin-right: 5px;\n margin-left: 5px;\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"])),(function(e){var t=e.firstLevel,n=e.collapsed;return t&&n?"0":"1"}),(function(e){return e.transitionDuration}),(function(e){return e.rootStyles})),On=Mt.span(Jt||(Jt=l(["\n ","\n\n ",";\n"],["\n ","\n\n ",";\n"])),(function(e){var t=e.collapsed,n=e.level,r=e.rtl;return t&&0===n&&"\n position: absolute;\n ".concat(r?"left: 10px;":"right: 10px;","\n top: 50%;\n transform: translateY(-50%);\n \n ")}),(function(e){return e.rootStyles})),kn=Mt.span(Kt||(Kt=l(["\n display: inline-block;\n transition: transform 0.3s;\n ","\n\n width: 5px;\n height: 5px;\n transform: rotate(",");\n"],["\n display: inline-block;\n transition: transform 0.3s;\n ","\n\n width: 5px;\n height: 5px;\n transform: rotate(",");\n"])),(function(e){return e.rtl?"\n border-left: 2px solid currentcolor;\n border-top: 2px solid currentcolor;\n ":" border-right: 2px solid currentcolor;\n border-bottom: 2px solid currentcolor;\n "}),(function(e){var t=e.open,n=e.rtl;return t?n?"-135deg":"45deg":"-45deg"})),Sn=Mt.span(Zt||(Zt=l(["\n width: 5px;\n height: 5px;\n background-color: currentcolor;\n border-radius: 50%;\n display: inline-block;\n"],["\n width: 5px;\n height: 5px;\n background-color: currentcolor;\n border-radius: 50%;\n display: inline-block;\n"]))),Nn="top",_n="bottom",Cn="right",Dn="left",An="auto",Pn=[Nn,_n,Cn,Dn],jn="start",Tn="end",In="clippingParents",Rn="viewport",Mn="popper",Ln="reference",Vn=Pn.reduce((function(e,t){return e.concat([t+"-"+jn,t+"-"+Tn])}),[]),zn=[].concat(Pn,[An]).reduce((function(e,t){return e.concat([t,t+"-"+jn,t+"-"+Tn])}),[]),Wn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qn(e){return e?(e.nodeName||"").toLowerCase():null}function $n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Hn(e){return e instanceof $n(e).Element||e instanceof Element}function Bn(e){return e instanceof $n(e).HTMLElement||e instanceof HTMLElement}function Un(e){return"undefined"!=typeof ShadowRoot&&(e instanceof $n(e).ShadowRoot||e instanceof ShadowRoot)}var Yn={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Bn(o)&&qn(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Bn(r)&&qn(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Fn(e){return e.split("-")[0]}var Gn=Math.max,Xn=Math.min,Jn=Math.round;function Kn(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Zn(){return!/^((?!chrome|android).)*safari/i.test(Kn())}function Qn(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Bn(e)&&(o=e.offsetWidth>0&&Jn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Jn(r.height)/e.offsetHeight||1);var a=(Hn(e)?$n(e):window).visualViewport,s=!Zn()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,l=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function er(e){var t=Qn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function tr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Un(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function nr(e){return $n(e).getComputedStyle(e)}function rr(e){return["table","td","th"].indexOf(qn(e))>=0}function or(e){return((Hn(e)?e.ownerDocument:e.document)||window.document).documentElement}function ir(e){return"html"===qn(e)?e:e.assignedSlot||e.parentNode||(Un(e)?e.host:null)||or(e)}function ar(e){return Bn(e)&&"fixed"!==nr(e).position?e.offsetParent:null}function sr(e){for(var t=$n(e),n=ar(e);n&&rr(n)&&"static"===nr(n).position;)n=ar(n);return n&&("html"===qn(n)||"body"===qn(n)&&"static"===nr(n).position)?t:n||function(e){var t=/firefox/i.test(Kn());if(/Trident/i.test(Kn())&&Bn(e)&&"fixed"===nr(e).position)return null;var n=ir(e);for(Un(n)&&(n=n.host);Bn(n)&&["html","body"].indexOf(qn(n))<0;){var r=nr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function cr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lr(e,t,n){return Gn(e,Xn(t,n))}function ur(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function dr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var pr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Fn(n.placement),c=cr(s),l=[Dn,Cn].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ur("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:dr(e,Pn))}(o.padding,n),d=er(i),p="y"===c?Nn:Dn,f="y"===c?_n:Cn,m=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],h=a[c]-n.rects.reference[c],v=sr(i),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=m/2-h/2,b=u[p],x=g-d[l]-u[f],w=g/2-d[l]/2+y,E=lr(b,w,x),O=c;n.modifiersData[r]=((t={})[O]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(Bn(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),tr(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fr(e){return e.split("-")[1]}var mr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hr(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,m=a.y,h=void 0===m?0:m,v="function"==typeof u?u({x:f,y:h}):{x:f,y:h};f=v.x,h=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Dn,x=Nn,w=window;if(l){var E=sr(n),O="clientHeight",k="clientWidth";if(E===$n(n)&&"static"!==nr(E=or(n)).position&&"absolute"===s&&(O="scrollHeight",k="scrollWidth"),o===Nn||(o===Dn||o===Cn)&&i===Tn)x=_n,h-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[O])-r.height,h*=c?1:-1;if(o===Dn||(o===Nn||o===_n)&&i===Tn)b=Cn,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[k])-r.width,f*=c?1:-1}var S,N=Object.assign({position:s},l&&mr),_=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Jn(t*r)/r||0,y:Jn(n*r)/r||0}}({x:f,y:h}):{x:f,y:h};return f=_.x,h=_.y,c?Object.assign({},N,((S={})[x]=y?"0":"",S[b]=g?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",S)):Object.assign({},N,((t={})[x]=y?h+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var vr={passive:!0};var gr={left:"right",right:"left",bottom:"top",top:"bottom"};function yr(e){return e.replace(/left|right|bottom|top/g,(function(e){return gr[e]}))}var br={start:"end",end:"start"};function xr(e){return e.replace(/start|end/g,(function(e){return br[e]}))}function wr(e){var t=$n(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Er(e){return Qn(or(e)).left+wr(e).scrollLeft}function Or(e){var t=nr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function kr(e){return["html","body","#document"].indexOf(qn(e))>=0?e.ownerDocument.body:Bn(e)&&Or(e)?e:kr(ir(e))}function Sr(e,t){var n;void 0===t&&(t=[]);var r=kr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=$n(r),a=o?[i].concat(i.visualViewport||[],Or(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Sr(ir(a)))}function Nr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _r(e,t,n){return t===Rn?Nr(function(e,t){var n=$n(e),r=or(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=Zn();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Er(e),y:c}}(e,n)):Hn(t)?function(e,t){var n=Qn(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Nr(function(e){var t,n=or(e),r=wr(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Gn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Gn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Er(e),c=-r.scrollTop;return"rtl"===nr(o||n).direction&&(s+=Gn(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(or(e)))}function Cr(e,t,n,r){var o="clippingParents"===t?function(e){var t=Sr(ir(e)),n=["absolute","fixed"].indexOf(nr(e).position)>=0&&Bn(e)?sr(e):e;return Hn(n)?t.filter((function(e){return Hn(e)&&tr(e,n)&&"body"!==qn(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=_r(e,n,r);return t.top=Gn(o.top,t.top),t.right=Xn(o.right,t.right),t.bottom=Xn(o.bottom,t.bottom),t.left=Gn(o.left,t.left),t}),_r(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Dr(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Fn(o):null,a=o?fr(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case Nn:t={x:s,y:n.y-r.height};break;case _n:t={x:s,y:n.y+n.height};break;case Cn:t={x:n.x+n.width,y:c};break;case Dn:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=i?cr(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case jn:t[l]=t[l]-(n[u]/2-r[u]/2);break;case Tn:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function Ar(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?In:s,l=n.rootBoundary,u=void 0===l?Rn:l,d=n.elementContext,p=void 0===d?Mn:d,f=n.altBoundary,m=void 0!==f&&f,h=n.padding,v=void 0===h?0:h,g=ur("number"!=typeof v?v:dr(v,Pn)),y=p===Mn?Ln:Mn,b=e.rects.popper,x=e.elements[m?y:p],w=Cr(Hn(x)?x:x.contextElement||or(e.elements.popper),c,u,a),E=Qn(e.elements.reference),O=Dr({reference:E,element:b,strategy:"absolute",placement:o}),k=Nr(Object.assign({},b,O)),S=p===Mn?k:E,N={top:w.top-S.top+g.top,bottom:S.bottom-w.bottom+g.bottom,left:w.left-S.left+g.left,right:S.right-w.right+g.right},_=e.modifiersData.offset;if(p===Mn&&_){var C=_[o];Object.keys(N).forEach((function(e){var t=[Cn,_n].indexOf(e)>=0?1:-1,n=[Nn,_n].indexOf(e)>=0?"y":"x";N[e]+=C[n]*t}))}return N}function Pr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?zn:c,u=fr(r),d=u?s?Vn:Vn.filter((function(e){return fr(e)===u})):Pn,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=p.reduce((function(t,n){return t[n]=Ar(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Fn(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var jr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,h=n.allowedAutoPlacements,v=t.options.placement,g=Fn(v),y=c||(g===v||!m?[yr(v)]:function(e){if(Fn(e)===An)return[];var t=yr(e);return[xr(e),t,xr(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(Fn(n)===An?Pr(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,w=t.rects.popper,E=new Map,O=!0,k=b[0],S=0;S<b.length;S++){var N=b[S],_=Fn(N),C=fr(N)===jn,D=[Nn,_n].indexOf(_)>=0,A=D?"width":"height",P=Ar(t,{placement:N,boundary:u,rootBoundary:d,altBoundary:p,padding:l}),j=D?C?Cn:Dn:C?_n:Nn;x[A]>w[A]&&(j=yr(j));var T=yr(j),I=[];if(i&&I.push(P[_]<=0),s&&I.push(P[j]<=0,P[T]<=0),I.every((function(e){return e}))){k=N,O=!1;break}E.set(N,I)}if(O)for(var R=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},M=m?3:1;M>0;M--){if("break"===R(M))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Tr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ir(e){return[Nn,Cn,_n,Dn].some((function(t){return e[t]>=0}))}var Rr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=zn.reduce((function(e,n){return e[n]=function(e,t,n){var r=Fn(e),o=[Dn,Nn].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Dn,Cn].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}};var Mr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,h=void 0===m?0:m,v=Ar(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),g=Fn(t.placement),y=fr(t.placement),b=!y,x=cr(g),w="x"===x?"y":"x",E=t.modifiersData.popperOffsets,O=t.rects.reference,k=t.rects.popper,S="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,N="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(E){if(i){var D,A="y"===x?Nn:Dn,P="y"===x?_n:Cn,j="y"===x?"height":"width",T=E[x],I=T+v[A],R=T-v[P],M=f?-k[j]/2:0,L=y===jn?O[j]:k[j],V=y===jn?-k[j]:-O[j],z=t.elements.arrow,W=f&&z?er(z):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=q[A],H=q[P],B=lr(0,O[j],W[j]),U=b?O[j]/2-M-B-$-N.mainAxis:L-B-$-N.mainAxis,Y=b?-O[j]/2+M+B+H+N.mainAxis:V+B+H+N.mainAxis,F=t.elements.arrow&&sr(t.elements.arrow),G=F?"y"===x?F.clientTop||0:F.clientLeft||0:0,X=null!=(D=null==_?void 0:_[x])?D:0,J=T+Y-X,K=lr(f?Xn(I,T+U-X-G):I,T,f?Gn(R,J):R);E[x]=K,C[x]=K-T}if(s){var Z,Q="x"===x?Nn:Dn,ee="x"===x?_n:Cn,te=E[w],ne="y"===w?"height":"width",re=te+v[Q],oe=te-v[ee],ie=-1!==[Nn,Dn].indexOf(g),ae=null!=(Z=null==_?void 0:_[w])?Z:0,se=ie?re:te-O[ne]-k[ne]-ae+N.altAxis,ce=ie?te+O[ne]+k[ne]-ae-N.altAxis:oe,le=f&&ie?function(e,t,n){var r=lr(e,t,n);return r>n?n:r}(se,te,ce):lr(f?se:re,te,f?ce:oe);E[w]=le,C[w]=le-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]};function Lr(e,t,n){void 0===n&&(n=!1);var r=Bn(t),o=Bn(t)&&function(e){var t=e.getBoundingClientRect(),n=Jn(t.width)/e.offsetWidth||1,r=Jn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=or(t),a=Qn(e,o,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==qn(t)||Or(i))&&(s=function(e){return e!==$n(e)&&Bn(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:wr(e);var t}(t)),Bn(t)?((c=Qn(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Er(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Vr(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function zr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Wr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',qr='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',$r=["name","enabled","phase","fn","effect","requires","options"];var Hr="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Br={placement:"bottom",modifiers:[],strategy:"absolute"};function Ur(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Yr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Br:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Br,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Hn(e)?Sr(e):e.contextElement?Sr(e.contextElement):[],popper:Sr(t)};var a,l,p,f=function(e){var t=Vr(e);return Wn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=f.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){var m=(a=[].concat(f,s.options.modifiers),l=function(e){return e.name},p=new Set,a.filter((function(e){var t=l(e);if(!p.has(t))return p.add(t),!0})));if(function(e){e.forEach((function(t){[].concat(Object.keys(t),$r).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(zr(Wr,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(zr(Wr,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":Wn.indexOf(t.phase)<0&&console.error(zr(Wr,t.name,'"phase"',"either "+Wn.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(zr(Wr,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(zr(Wr,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(zr(Wr,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(zr(Wr,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+$r.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(zr(qr,String(t.name),n,n))}))}))}))}(m),Fn(s.options.placement)===An)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=nr(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}})),u.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(Ur(t,n)){s.rects={reference:Lr(t,sr(n),"fixed"===s.options.strategy),popper:er(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,c=i.options,d=void 0===c?{}:c,p=i.name;"function"==typeof a&&(s=a({state:s,options:d,name:p,instance:u})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(Hr)}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),l=!0}};if(!Ur(e,t))return"production"!==process.env.NODE_ENV&&console.error(Hr),u;function d(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Fr,Gr,Xr=Yr({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=$n(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",n.update,vr)})),s&&c.addEventListener("resize",n.update,vr),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,vr)})),s&&c.removeEventListener("resize",n.update,vr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Dr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s;if("production"!==process.env.NODE_ENV){var l=nr(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return l.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:Fn(t.placement),variation:fr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,hr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,hr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Yn,Rr,jr,Mr,pr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ar(t,{elementContext:"reference"}),s=Ar(t,{altBoundary:!0}),c=Tr(a,r),l=Tr(s,o,i),u=Ir(c),d=Ir(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Jr=function(e){var t=e.rtl,n=e.level,r=e.collapsed,o=e.disabled,i=e.active;return"\n display: flex;\n align-items: center;\n height: 50px;\n text-decoration: none;\n color: inherit;\n box-sizing: border-box;\n cursor: pointer;\n\n ".concat(t?"padding-left: 20px;\n padding-right: ".concat(0===n?20:20*(r?n:n+1),"px;\n "):"padding-right: 20px;\n padding-left: ".concat(0===n?20:20*(r?n:n+1),"px;\n "),"\n\n &:hover {\n background-color: #f3f3f3;\n }\n\n ").concat(o&&" \n pointer-events: none;\n cursor: default;\n color:#adadad;\n ","\n\n ").concat(i&&"background-color: #e2eef9;","\n \n ")},Kr=t.forwardRef((function(e,n){var r=e.className,o=e.component,i=e.children,a=c(e,["className","component","children"]);if(o){if("string"==typeof o)return t.createElement(o,s(s({className:Qt(r)},a),{ref:n}),i);var l=o.props,u=l.className,d=c(l,["className"]);return t.cloneElement(o,s(s(s({className:Qt(r,u)},a),d),{ref:n}),i)}return t.createElement("a",s({ref:n,className:Qt(r)},a),i)})),Zr=Mt.li(Fr||(Fr=l(["\n position: relative;\n width: 100%;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"],["\n position: relative;\n width: 100%;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"])),(function(e){return e.menuItemStyles}),(function(e){return e.rootStyles}),nn.button,(function(e){var t=e.level,n=e.disabled,r=e.active,o=e.collapsed,i=e.rtl;return Jr({level:t,disabled:n,active:r,collapsed:o,rtl:i})}),(function(e){return e.buttonStyles})),Qr=function(e,n){var r,o=e.children,i=e.className,a=e.label,l=e.icon,u=e.title,d=e.prefix,p=e.suffix,f=e.open,m=e.defaultOpen,h=e.active,v=void 0!==h&&h,g=e.disabled,y=void 0!==g&&g,b=e.rootStyles,x=e.component,w=e.onOpenChange,E=e.onClick,O=e.onKeyUp,k=c(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),S=t.useContext(mn),N=t.useContext(ln),_=N.collapsed,C=N.rtl,D=N.transitionDuration,A=vn(),P=A.renderExpandIcon,j=A.closeOnClick,T=A.menuItemStyles,I=A.transitionDuration,R=t.useState(!!m),M=R[0],L=R[1],V=t.useState(!1),z=V[0],W=V[1],q=t.useState(!1),$=q[0],H=q[1],B=t.useRef(null),U=t.useRef(null),Y=t.useRef(),F=function(e){var n=e.level,r=e.buttonRef,o=e.contentRef,i=t.useContext(ln),a=i.collapsed,s=i.toggled,c=i.transitionDuration,l=t.useRef();return t.useEffect((function(){return 0===n&&a&&o.current&&r.current&&(l.current=Xr(r.current,o.current,{placement:"right",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]})),function(){var e;return null===(e=l.current)||void 0===e?void 0:e.destroy()}}),[n,a,o,r]),t.useEffect((function(){if(o.current&&r.current){var e=new ResizeObserver((function(){var e;null===(e=l.current)||void 0===e||e.update()}));e.observe(o.current),e.observe(r.current)}setTimeout((function(){var e;null===(e=l.current)||void 0===e||e.update()}),c)}),[c,s,o,r]),{popperInstance:l.current}}({level:S,buttonRef:B,contentRef:U}).popperInstance,G=t.useCallback((function(){var e,t=U.current;if(t){var n=null===(e=null==t?void 0:t.querySelector(".".concat(nn.subMenuContent," > ul")))||void 0===e?void 0:e.clientHeight;t.style.overflow="hidden",t.style.height="".concat(n,"px"),Y.current=setTimeout((function(){t.style.overflow="auto",t.style.height="auto"}),I)}}),[I]),X=function(){var e,t=U.current;if(t){var n=null===(e=null==t?void 0:t.querySelector(".".concat(nn.subMenuContent," > ul")))||void 0===e?void 0:e.clientHeight;t.style.overflow="hidden",t.style.height="".concat(n,"px"),t.offsetHeight,t.style.height="0px"}},J=function(){0===S&&_||(void 0===f?(clearTimeout(Number(Y.current)),M?X():G(),null==w||w(!M),L(!M)):null==w||w(!f))};t.useEffect((function(){0===S&&_||void 0===f||!$||(clearTimeout(Number(Y.current)),f?G():X())}),[_,G,a,S,w,f]);var K=function(e){if(T){var t={level:S,disabled:y,active:v,isSubmenu:!0,open:null!=f?f:M},n=T.root,r=T.button,o=T.label,i=T.icon,a=T.prefix,s=T.suffix,c=T.subMenuContent,l=T.SubMenuExpandIcon;switch(e){case"root":return"function"==typeof n?n(t):n;case"button":return"function"==typeof r?r(t):r;case"label":return"function"==typeof o?o(t):o;case"icon":return"function"==typeof i?i(t):i;case"prefix":return"function"==typeof a?a(t):a;case"suffix":return"function"==typeof s?s(t):s;case"SubMenuExpandIcon":return"function"==typeof l?l(t):l;case"subMenuContent":return"function"==typeof c?c(t):c;default:return}}};t.useEffect((function(){setTimeout((function(){return null==F?void 0:F.update()}),D),_&&0===S&&W(!1)}),[_,S,C,D,F]),t.useEffect((function(){var e=function(e){var t,n,r;!z&&(null===(t=B.current)||void 0===t?void 0:t.contains(e))?W(!0):(j&&!(null===(n=e.closest(".".concat(nn.menuItemRoot)))||void 0===n?void 0:n.classList.contains(nn.subMenuRoot))||!(null===(r=U.current)||void 0===r?void 0:r.contains(e))&&z)&&W(!1)},t=function(t){e(t.target)},n=function(t){"Enter"===t.key?e(t.target):"Escape"===t.key&&W(!1)},r=function(){document.removeEventListener("click",t),document.removeEventListener("keyup",n)};return r(),_&&0===S&&(document.addEventListener("click",t,!1),document.addEventListener("keyup",n,!1)),function(){r()}}),[_,S,j,z]),t.useEffect((function(){H(!0)}),[]);var Z=((r={})[nn.active]=v,r[nn.disabled]=y,r[nn.open]=null!=f?f:M,r);return t.createElement(Zr,{ref:n,className:Qt(nn.menuItemRoot,nn.subMenuRoot,Z,i),menuItemStyles:K("root"),level:S,collapsed:_,rtl:C,disabled:y,active:v,buttonStyles:K("button"),rootStyles:b},t.createElement(Kr,s({"data-testid":"".concat(nn.button,"-test-id"),ref:B,title:u,className:Qt(nn.button,Z),onClick:function(e){null==E||E(e),J()},onKeyUp:function(e){null==O||O(e),"Enter"===e.key&&J()},component:x,tabIndex:0},k),l&&t.createElement(xn,{rtl:C,className:Qt(nn.icon,Z),rootStyles:K("icon")},l),d&&t.createElement(wn,{collapsed:_,transitionDuration:D,firstLevel:0===S,className:Qt(nn.prefix,Z),rtl:C,rootStyles:K("prefix")},d),t.createElement(bn,{className:Qt(nn.label,Z),rootStyles:K("label")},a),p&&t.createElement(En,{collapsed:_,transitionDuration:D,firstLevel:0===S,className:Qt(nn.suffix,Z),rootStyles:K("suffix")},p),t.createElement(On,{rtl:C,className:Qt(nn.SubMenuExpandIcon,Z),collapsed:_,level:S,rootStyles:K("SubMenuExpandIcon")},P?P({level:S,disabled:y,active:v,open:null!=f?f:M}):_&&0===S?t.createElement(Sn,null):t.createElement(kn,{rtl:C,open:null!=f?f:M}))),t.createElement(yn,{ref:U,openWhenCollapsed:z,open:null!=f?f:M,firstLevel:0===S,collapsed:_,defaultOpen:f&&!$||m,className:Qt(nn.subMenuContent,Z),rootStyles:K("subMenuContent")},t.createElement(mn.Provider,{value:S+1},o)))},eo=t.forwardRef(Qr),to=Mt.li(Gr||(Gr=l(["\n width: 100%;\n position: relative;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"],["\n width: 100%;\n position: relative;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"])),(function(e){return e.menuItemStyles}),(function(e){return e.rootStyles}),nn.button,(function(e){var t=e.level,n=e.disabled,r=e.active,o=e.collapsed,i=e.rtl;return Jr({level:t,disabled:n,active:r,collapsed:o,rtl:i})}),(function(e){return e.buttonStyles})),no=function(e,n){var r,o=e.children,i=e.icon,a=e.className,l=e.prefix,u=e.suffix,d=e.active,p=void 0!==d&&d,f=e.disabled,m=void 0!==f&&f,h=e.component,v=e.rootStyles,g=c(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),y=t.useContext(mn),b=t.useContext(ln),x=b.collapsed,w=b.rtl,E=b.transitionDuration,O=vn().menuItemStyles,k=function(e){if(O){var t={level:y,disabled:m,active:p,isSubmenu:!1},n=O.root,r=O.button,o=O.label,i=O.icon,a=O.prefix,s=O.suffix;switch(e){case"root":return"function"==typeof n?n(t):n;case"button":return"function"==typeof r?r(t):r;case"label":return"function"==typeof o?o(t):o;case"icon":return"function"==typeof i?i(t):i;case"prefix":return"function"==typeof a?a(t):a;case"suffix":return"function"==typeof s?s(t):s;default:return}}},S=((r={})[nn.active]=p,r[nn.disabled]=m,r);return t.createElement(to,{ref:n,className:Qt(nn.menuItemRoot,S,a),menuItemStyles:k("root"),level:y,collapsed:x,rtl:w,disabled:m,active:p,buttonStyles:k("button"),rootStyles:v},t.createElement(Kr,s({className:Qt(nn.button,S),"data-testid":"".concat(nn.button,"-test-id"),component:h,tabIndex:0},g),i&&t.createElement(xn,{rtl:w,className:Qt(nn.icon,S),rootStyles:k("icon")},i),l&&t.createElement(wn,{collapsed:x,transitionDuration:E,firstLevel:0===y,className:Qt(nn.prefix,S),rtl:w,rootStyles:k("prefix")},l),t.createElement(bn,{className:Qt(nn.label,S),rootStyles:k("label")},o),u&&t.createElement(En,{collapsed:x,transitionDuration:E,firstLevel:0===y,className:Qt(nn.suffix,S),rootStyles:k("suffix")},u)))},ro=t.forwardRef(no);export{mn as LevelContext,hn as Menu,fn as MenuContext,ro as MenuItem,no as MenuItemFR,un as Sidebar,ln as SidebarContext,eo as SubMenu,Qr as SubMenuFR,nn as menuClasses,tn as sidebarClasses};
|
21
|
-
//# sourceMappingURL=index.es.mjs.map
|