@myinterview/component-library
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,2 +0,2 @@ | ||
import React,{useRef,useDebugValue,useContext,createElement,useState,useEffect}from"react";var classnames={exports:{}},classNames=(!function(e){function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r,o=typeof n;if("string"==o||"number"==o)e.push(n);else if(Array.isArray(n))!n.length||(r=s.apply(null,n))&&e.push(r);else if("object"==o)if(n.toString===Object.prototype.toString)for(var a in n)i.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}var i;i={}.hasOwnProperty,e.exports?e.exports=s.default=s:window.classNames=s}(classnames),classnames.exports);function styleInject(e,t){var n,r,t=(t=void 0===t?{}:t).insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(r=document.createElement("style")).type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)))}var css_248z$8=".button {\n border: none;\n border-radius: 5px;\n cursor: pointer;\n position: relative;\n}\n.button__disable-wrapper {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: white;\n opacity: 0.5;\n z-index: 10;\n}\n.button--disabled {\n pointer-events: none;\n cursor: unset;\n}\n.button--small {\n padding: 6px 20px;\n font-size: 14px;\n}\n.button--medium {\n padding: 15px 30px;\n font-size: 16px;\n}\n.button--large {\n padding: 16px 45px;\n font-size: 18px;\n}";styleInject(css_248z$8);const Button=({children:e="Button",size:t="medium",onClick:n,color:r="white",backgroundColor:o="primary",disabled:a=!1})=>{r=classNames({button:!0,["color--"+r]:!0,["background-color--"+o]:!0,["button--"+t]:t,"button--disabled":a});return React.createElement("button",{className:r,type:"button",onClick:n},a&&React.createElement("div",{className:"button__disable-wrapper"}),React.createElement("span",null,e))},EyeCloseSvg=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",fill:"#656569",enableBackground:"new 0 0 477.871 477.871",version:"1.1",viewBox:"0 0 477.871 477.871",xmlSpace:"preserve"},React.createElement("path",{d:"M474.609 228.901a453.124 453.124 0 00-103.219-98.287l67.345-67.345c6.78-6.548 6.968-17.352.42-24.132-6.548-6.78-17.352-6.968-24.132-.42-.142.137-.282.277-.42.42l-73.574 73.506a220.702 220.702 0 00-102.093-27.307C109.229 85.336 7.529 223.03 3.262 228.9a17.068 17.068 0 000 20.07 453.124 453.124 0 00103.219 98.287l-67.345 67.345c-6.78 6.548-6.968 17.352-.42 24.132 6.548 6.78 17.352 6.968 24.132.42.142-.137.282-.277.42-.42l73.574-73.506a220.702 220.702 0 00102.093 27.307c129.707 0 231.407-137.694 235.674-143.565a17.063 17.063 0 000-20.069zm-343.313 93.593a424.95 424.95 0 01-92.484-83.558c25.122-30.43 106.598-119.467 200.124-119.467a180.655 180.655 0 0176.612 18.773L285.92 167.87c-39.2-26.025-92.076-15.345-118.101 23.855-18.958 28.555-18.958 65.691 0 94.246l-36.523 36.523zm153.72-105.489a50.36 50.36 0 015.12 21.931c0 28.277-22.923 51.2-51.2 51.2a50.36 50.36 0 01-21.931-5.12l68.011-68.011zm-92.16 43.861a50.36 50.36 0 01-5.12-21.931c0-28.277 22.923-51.2 51.2-51.2a50.36 50.36 0 0121.931 5.12l-68.011 68.011zm46.08 97.536a180.659 180.659 0 01-76.612-18.773l29.628-29.628c39.2 26.025 92.076 15.345 118.101-23.855 18.958-28.555 18.958-65.691 0-94.246l36.523-36.523a424.975 424.975 0 0192.484 83.558c-25.123 30.431-106.599 119.467-200.124 119.467z"})),EyeOpenSvg=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",fill:"#656569",enableBackground:"new 0 0 511.999 511.999",version:"1.1",viewBox:"0 0 511.999 511.999",xmlSpace:"preserve"},React.createElement("path",{d:"M508.745 246.041c-4.574-6.257-113.557-153.206-252.748-153.206S7.818 239.784 3.249 246.035a16.896 16.896 0 000 19.923c4.569 6.257 113.557 153.206 252.748 153.206s248.174-146.95 252.748-153.201a16.875 16.875 0 000-19.922zM255.997 385.406c-102.529 0-191.33-97.533-217.617-129.418 26.253-31.913 114.868-129.395 217.617-129.395 102.524 0 191.319 97.516 217.617 129.418-26.253 31.912-114.868 129.395-217.617 129.395z"}),React.createElement("path",{d:"M255.997 154.725c-55.842 0-101.275 45.433-101.275 101.275s45.433 101.275 101.275 101.275S357.272 311.842 357.272 256s-45.433-101.275-101.275-101.275zm0 168.791c-37.23 0-67.516-30.287-67.516-67.516s30.287-67.516 67.516-67.516 67.516 30.287 67.516 67.516-30.286 67.516-67.516 67.516z"}));var reactIs$1={exports:{}},reactIs_production_min={},b$1="function"==typeof Symbol&&Symbol.for,c=b$1?Symbol.for("react.element"):60103,d=b$1?Symbol.for("react.portal"):60106,e=b$1?Symbol.for("react.fragment"):60107,f=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l=b$1?Symbol.for("react.async_mode"):60111,m=b$1?Symbol.for("react.concurrent_mode"):60111,n=b$1?Symbol.for("react.forward_ref"):60112,p=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?Symbol.for("react.suspense_list"):60120,r=b$1?Symbol.for("react.memo"):60115,t=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w$1=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;function z$1(o){if("object"==typeof o&&null!==o){var a=o.$$typeof;switch(a){case c:switch(o=o.type){case l:case m:case e:case g$1:case f:case p:return o;default:switch(o=o&&o.$$typeof){case k$1:case n:case t:case r:case h:return o;default:return a}}case d:return a}}}function A(e){return z$1(e)===m}reactIs_production_min.AsyncMode=l,reactIs_production_min.ConcurrentMode=m,reactIs_production_min.ContextConsumer=k$1,reactIs_production_min.ContextProvider=h,reactIs_production_min.Element=c,reactIs_production_min.ForwardRef=n,reactIs_production_min.Fragment=e,reactIs_production_min.Lazy=t,reactIs_production_min.Memo=r,reactIs_production_min.Portal=d,reactIs_production_min.Profiler=g$1,reactIs_production_min.StrictMode=f,reactIs_production_min.Suspense=p,reactIs_production_min.isAsyncMode=function(e){return A(e)||z$1(e)===l},reactIs_production_min.isConcurrentMode=A,reactIs_production_min.isContextConsumer=function(e){return z$1(e)===k$1},reactIs_production_min.isContextProvider=function(e){return z$1(e)===h},reactIs_production_min.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},reactIs_production_min.isForwardRef=function(e){return z$1(e)===n},reactIs_production_min.isFragment=function(t){return z$1(t)===e},reactIs_production_min.isLazy=function(e){return z$1(e)===t},reactIs_production_min.isMemo=function(e){return z$1(e)===r},reactIs_production_min.isPortal=function(e){return z$1(e)===d},reactIs_production_min.isProfiler=function(e){return z$1(e)===g$1},reactIs_production_min.isStrictMode=function(e){return z$1(e)===f},reactIs_production_min.isSuspense=function(e){return z$1(e)===p},reactIs_production_min.isValidElementType=function(o){return"string"==typeof o||"function"==typeof o||o===e||o===m||o===g$1||o===f||o===p||o===q$1||"object"==typeof o&&null!==o&&(o.$$typeof===t||o.$$typeof===r||o.$$typeof===h||o.$$typeof===k$1||o.$$typeof===n||o.$$typeof===w$1||o.$$typeof===x$1||o.$$typeof===y$1||o.$$typeof===v$1)},reactIs_production_min.typeOf=z$1;var reactIs_development={};function stylis_min(e){function j(e,t,n){var r=t.trim().split(d),o=(t=r).length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=l(e,t[s],n).trim();break;default:var i=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[i++]=l(e[c]+" ",r[s],n).trim()}return t}function l(e,t,n){var r=t.charCodeAt(0);switch(r=r<33?(t=t.trim()).charCodeAt(0):r){case 38:return t.replace(o,"$1"+e.trim());case 58:return e.trim()+t.replace(o,"$1"+e.trim());default:if(0<+n&&0<t.indexOf("\f"))return t.replace(o,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function A(e,t,n,r){var o,a=e+";",s=2*t+3*n+4*r;if(944==s)return e=a.indexOf(":",9)+1,o=a.substring(e,a.length-1).trim(),o=a.substring(0,e).trim()+o+";",1===z||2===z&&$(o,1)?"-webkit-"+o+o:o;if(0===z||2===z&&!$(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(g,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(o=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+o+a;case 1005:return c.test(a)?a.replace(i,":-webkit-")+a.replace(i,":-moz-")+a:a;case 1e3:switch(t=(o=a.substring(13).trim()).indexOf("-")+1,o.charCodeAt(0)+o.charCodeAt(t)){case 226:o=a.replace(u,"tb");break;case 232:o=a.replace(u,"tb-rl");break;case 220:o=a.replace(u,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+o+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(o=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|o.charCodeAt(7))){case 203:if(o.charCodeAt(8)<111)break;case 115:a=a.replace(o,"-webkit-"+o)+";"+a;break;case 207:case 102:a=a.replace(o,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(o,"-webkit-"+o)+";"+a.replace(o,"-ms-"+o+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return o=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+o+"-ms-flex-"+o+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(h,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(h,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===m.test(e))return 115===(o=e.substring(e.indexOf(":")+1)).charCodeAt(0)?A(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(o,"-webkit-"+o)+a.replace(o,"-moz-"+o.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function $(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),n=e.substring(n+1,e.length-1);return s(2!==t?r:r.replace(a,"$1"),n,t)}function D(e,t){var n=A(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(r," or ($1)").substring(4):"("+t+")"}function R(e,t,n,r,o,a,s,p,d,u){for(var i,c=0,l=t;c<P;++c)switch(i=y[c].call(f,e,l,n,r,o,a,s,p,d,u)){case void 0:case!1:case!0:case null:break;default:l=i}if(l!==t)return l}function t(e){return void 0!==(e=e.prefix)&&(s=null,e?"function"!=typeof e?z=1:(z=2,s=e):z=0),t}function f(e,t){e=[e=e.charCodeAt(0)<33?e.trim():e],0<P&&(void 0!==(n=R(-1,t,e,e,T,N,0,0,0,0))&&"string"==typeof n&&(t=n));var n,t=function p(d,u,e,f,h){for(var t,n,r,m,g,y=0,o=0,v=0,a=0,b=0,w=0,s=r=t=0,i=0,x=0,_=0,S=0,C=e.length,k=C-1,c="",l="",I="",E="";i<C;){if(n=e.charCodeAt(i),i===k&&0!==o+a+v+y&&(0!==o&&(n=47===o?10:47),a=v=y=0,C++,k++),0===o+a+v+y){if(i===k&&0<(c=0<x?c.replace(L,""):c).trim().length){switch(n){case 32:case 9:case 59:case 13:case 10:break;default:c+=e.charAt(i)}n=59}switch(n){case 123:for(t=(c=c.trim()).charCodeAt(0),r=1,S=++i;i<C;){switch(n=e.charCodeAt(i)){case 123:r++;break;case 125:r--;break;case 47:switch(n=e.charCodeAt(i+1)){case 42:case 47:e:{for(s=i+1;s<k;++s)switch(e.charCodeAt(s)){case 47:if(42!==n||42!==e.charCodeAt(s-1)||i+2===s)break;i=s+1;break e;case 10:if(47===n){i=s+1;break e}}i=s}}break;case 91:n++;case 40:n++;case 34:case 39:for(;i++<k&&e.charCodeAt(i)!==n;);}if(0===r)break;i++}if(r=e.substring(S,i),64===(t=0===t?(c=c.replace(M,"").trim()).charCodeAt(0):t)){switch(n=(c=0<x?c.replace(L,""):c).charCodeAt(1)){case 100:case 109:case 115:case 45:x=u;break;default:x=q}if(S=(r=p(u,x,r,n,h+1)).length,0<P&&(g=R(3,r,x=j(q,c,_),u,T,N,S,n,h,f),c=x.join(""),void 0!==g&&0===(S=(r=g.trim()).length)&&(n=0,r="")),0<S)switch(n){case 115:c=c.replace(Y,D);case 100:case 109:case 45:r=c+"{"+r+"}";break;case 107:r=(c=c.replace(F,"$1 $2"))+"{"+r+"}",r=1===z||2===z&&$("@"+r,3)?"@-webkit-"+r+"@"+r:"@"+r;break;default:r=c+r,112===f&&(l+=r,r="")}else r=""}else r=p(u,j(u,c,_),r,f,h+1);I+=r,r=_=x=s=t=0,c="",n=e.charCodeAt(++i);break;case 125:case 59:if(1<(S=(c=(0<x?c.replace(L,""):c).trim()).length))switch(0===s&&(t=c.charCodeAt(0),45===t||96<t&&t<123)&&(S=(c=c.replace(" ",":")).length),0<P&&void 0!==(g=R(1,c,u,d,T,N,l.length,f,h,f))&&0===(S=(c=g.trim()).length)&&(c="\0\0"),t=c.charCodeAt(0),n=c.charCodeAt(1),t){case 0:break;case 64:if(105===n||99===n){E+=c+e.charAt(i);break}default:58!==c.charCodeAt(S-1)&&(l+=A(c,t,n,c.charCodeAt(2)))}_=x=s=t=0,c="",n=e.charCodeAt(++i)}}switch(n){case 13:case 10:47===o?o=0:0===1+t&&107!==f&&0<c.length&&(x=1,c+="\0"),0<P*G&&R(0,c,u,d,T,N,l.length,f,h,f),N=1,T++;break;case 59:case 125:if(0===o+a+v+y){N++;break}default:switch(N++,m=e.charAt(i),n){case 9:case 32:if(0===a+y+o)switch(b){case 44:case 58:case 9:case 32:m="";break;default:32!==n&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===a+o+y&&(x=_=1,m="\f"+m);break;case 108:if(0===a+o+y+O&&0<s)switch(i-s){case 2:112===b&&58===e.charCodeAt(i-3)&&(O=b);case 8:111===w&&(O=w)}break;case 58:0===a+o+y&&(s=i);break;case 44:0===o+v+a+y&&(x=1,m+="\r");break;case 34:case 39:0===o&&(a=a===n?0:0===a?n:a);break;case 91:0===a+o+v&&y++;break;case 93:0===a+o+v&&y--;break;case 41:0===a+o+y&&v--;break;case 40:0===a+o+y&&(0===t&&(2*b+3*w==533||(t=1)),v++);break;case 64:0===o+v+a+y+s+r&&(r=1);break;case 42:case 47:if(!(0<a+y+v))switch(o){case 0:switch(2*n+3*e.charCodeAt(i+1)){case 235:o=47;break;case 220:S=i,o=42}break;case 42:47===n&&42===b&&S+2!==i&&(33===e.charCodeAt(S+2)&&(l+=e.substring(S,i+1)),m="",o=0)}}0===o&&(c+=m)}w=b,b=n,i++}if(0<(S=l.length)){if(x=u,0<P&&void 0!==(g=R(2,l,x,d,T,N,S,f,h,f))&&0===(l=g).length)return E+l+I;if(l=x.join(",")+"{"+l+"}",0!=z*O){switch(O=2!==z||$(l,2)?O:0){case 111:l=l.replace(V,":-moz-$1")+l;break;case 112:l=l.replace(B,"::-webkit-input-$1")+l.replace(B,"::-moz-$1")+l.replace(B,":-ms-input-$1")+l}O=0}}return E+l+I}(q,e,t,0,0);return 0<P&&(void 0!==(n=R(-2,t,e,e,T,N,t.length,0,0,0))&&(t=n)),O=0,N=T=1,t}var M=/^\0+/g,L=/[\0\r\f]/g,i=/: */g,c=/zoo|gra/,p=/([,: ])(transform)/g,d=/,\r+?/g,o=/([\t\r\n ])*\f?&/g,F=/@(k\w+)\s*(\S*)\s*/,B=/::(place)/g,V=/:(read-only)/g,u=/[svh]\w+-[tblr]{2}/,Y=/\(\s*(.*)\s*\)/g,r=/([\s\S]*?);/g,h=/-self|flex-/g,a=/[^]*?(:[rp][el]a[\w-]+)[^]*/,m=/stretch|:\s*\w+\-(?:conte|avail)/,g=/([^-])(image-set\()/,N=1,T=1,O=0,z=1,q=[],y=[],P=0,s=null,G=0;return f.use=function e(t){switch(t){case void 0:case null:P=y.length=0;break;default:if("function"==typeof t)y[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else G=0|!!t}return e},f.set=t,void 0!==e&&t(e),f}"production"!==process.env.NODE_ENV&&!function(){var e="function"==typeof Symbol&&Symbol.for,u=e?Symbol.for("react.element"):60103,f=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,n=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,r=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function t(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case u:var n=e.type;switch(n){case h:case l:case o:case s:case a:case d:return n;default:var r=n&&n.$$typeof;switch(r){case c:case p:case g:case m:case i:return r;default:return t}}case f:return t}}}var e=l,w=c,x=i,_=u,S=p,C=o,k=g,I=m,E=f,A=s,$=a,R=d,N=!1;function T(e){return t(e)===l}reactIs_development.AsyncMode=h,reactIs_development.ConcurrentMode=e,reactIs_development.ContextConsumer=w,reactIs_development.ContextProvider=x,reactIs_development.Element=_,reactIs_development.ForwardRef=S,reactIs_development.Fragment=C,reactIs_development.Lazy=k,reactIs_development.Memo=I,reactIs_development.Portal=E,reactIs_development.Profiler=A,reactIs_development.StrictMode=$,reactIs_development.Suspense=R,reactIs_development.isAsyncMode=function(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(e)||t(e)===h},reactIs_development.isConcurrentMode=T,reactIs_development.isContextConsumer=function(e){return t(e)===c},reactIs_development.isContextProvider=function(e){return t(e)===i},reactIs_development.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},reactIs_development.isForwardRef=function(e){return t(e)===p},reactIs_development.isFragment=function(e){return t(e)===o},reactIs_development.isLazy=function(e){return t(e)===g},reactIs_development.isMemo=function(e){return t(e)===m},reactIs_development.isPortal=function(e){return t(e)===f},reactIs_development.isProfiler=function(e){return t(e)===s},reactIs_development.isStrictMode=function(e){return t(e)===a},reactIs_development.isSuspense=function(e){return t(e)===d},reactIs_development.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===s||e===a||e===d||e===n||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===i||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===r)},reactIs_development.typeOf=t}(),"production"===process.env.NODE_ENV?reactIs$1.exports=reactIs_production_min:reactIs$1.exports=reactIs_development;var unitlessKeys={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function memoize(t){var n={};return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,index$1=memoize(function(e){return reactPropsRegex.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),reactIs=reactIs$1.exports,REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};function getStatics(e){return reactIs.isMemo(e)?MEMO_STATICS:TYPE_STATICS[e.$$typeof]||REACT_STATICS}TYPE_STATICS[reactIs.ForwardRef]=FORWARD_REF_STATICS,TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics(e,t,n){if("string"!=typeof t){!objectPrototype||(r=getPrototypeOf(t))&&r!==objectPrototype&&hoistNonReactStatics(e,r,n);for(var r,o=getOwnPropertyNames(t),a=(getOwnPropertySymbols&&(o=o.concat(getOwnPropertySymbols(t))),getStatics(e)),s=getStatics(t),i=0;i<o.length;++i){var c=o[i];if(!(KNOWN_STATICS[c]||n&&n[c]||s&&s[c]||a&&a[c])){var l=getOwnPropertyDescriptor(t,c);try{defineProperty(e,c,l)}catch(e){}}}}return e}var hoistNonReactStatics_cjs=hoistNonReactStatics;function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var v=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!reactIs$1.exports.typeOf(e)},S=Object.freeze([]),w=Object.freeze({});function E(e){return"function"==typeof e}function b(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&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.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),O="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"}:{};function R(){for(var t=arguments.length<=0?void 0:arguments[0],e=[],n=1,r=arguments.length;n<r;n+=1)e.push(n<0||arguments.length<=n?void 0:arguments[n]);return e.forEach(function(e){t=t.replace(/%[a-z]/,e)}),t}function D(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(0<n.length?" Args: "+n.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(n)).trim())}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;o<=e;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(s,t[i])&&(this.groupSizes[e]++,s++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],e=this.indexOfGroup(e),r=e+n,o=e;o<r;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),T=new Map,x=new Map,k=1,V=function(e){if(T.has(e))return T.get(e);for(;x.has(k);)k++;var t=k++;return"production"!==process.env.NODE_ENV&&((0|t)<0||1<<30<t)&&D(16,""+t),T.set(e,t),x.set(t,e),t},z=function(e){return x.get(e)},B=function(e,t){k<=t&&(k=t+1),T.set(e,t),x.set(t,e)},M="style["+N+'][data-styled-version="5.3.3"]',G=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,n){for(var r,o=n.split(","),a=0,s=o.length;a<s;a++)(r=o[a])&&e.registerName(t,r)},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,a=n.length;o<a;o++){var s,i,c,l=n[o].trim();l&&((s=l.match(G))?(i=0|parseInt(s[1],10),c=s[2],0!=i&&(B(c,i),L(e,c,s[3]),e.getTag().insertRules(i,r)),r.length=0):r.push(l))}},Y=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q=function(e){var t=document.head,r=e||t,e=document.createElement("style"),t=function(){for(var e=r.childNodes,t=e.length;0<=t;t--){var n=e[t];if(n&&1===n.nodeType&&n.hasAttribute(N))return n}}(),t=void 0!==t?t.nextSibling:null,n=(e.setAttribute(N,"active"),e.setAttribute("data-styled-version","5.3.3"),Y());return n&&e.setAttribute("nonce",n),r.insertBefore(e,t),e},H=function(){function e(e){e=this.element=q(e);e.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17)}(e),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){e=this.sheet.cssRules[e];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},e}(),$=function(){function e(e){e=this.element=q(e);this.nodes=e.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&0<=e&&(t=document.createTextNode(t),e=this.nodes[e],this.element.insertBefore(t,e||null),this.length++,!0)},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J={isServer:!C,useCSSOMInjection:!I},X=function(){function n(e,t,n){if(void 0===t&&(t={}),this.options=y({},J,{},e=void 0===e?w:e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U){U=!1;for(var r=this,o=document.querySelectorAll(M),a=0,s=o.length;a<s;a++){var i=o[a];i&&"active"!==i.getAttribute(N)&&(F(r,i),i.parentNode&&i.parentNode.removeChild(i))}}else;}n.registerId=function(e){return V(e)};var e=n.prototype;return e.reconstructWithOptions=function(e,t){return void 0===t&&(t=!0),new n(y({},this.options,{},e),this.gs,t&&this.names||void 0)},e.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.getTag=function(){return this.tag||(this.tag=(e=(n=this.options).isServer,t=n.useCSSOMInjection,n=n.target,e=new(e?W:t?H:$)(n),new j(e)));var e,t,n},e.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.registerName=function(e,t){var n;V(e),this.names.has(e)?this.names.get(e).add(t):((n=new Set).add(t),this.names.set(e,n))},e.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V(e),n)},e.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.clearRules=function(e){this.getTag().clearGroup(V(e)),this.clearNames(e)},e.clearTag=function(){this.tag=void 0},e.toString=function(){for(var e=this,t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var a,s,i,c=z(o);void 0!==c&&(a=e.names.get(c),s=t.getGroup(o),a&&s&&a.size&&(c=N+".g"+o+'[id="'+c+'"]',i="",void 0!==a&&a.forEach(function(e){0<e.length&&(i+=e+",")}),r+=s+c+'{content:"'+i+'"}/*!sc*/\n'))}return r},n}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(25<e?39:97))};function Q(e){for(var t="",n=Math.abs(e);52<n;n=n/52|0)t=K(n%52)+t;return(K(n%52)+t).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return!1}return!0}var re=te("5.3.3"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X.registerId(t)}return e.prototype.generateAndInjectStyles=function(p,e,t){var n=this.componentId,r=[];if(this.baseStyle&&r.push(this.baseStyle.generateAndInjectStyles(p,e,t)),this.isStatic&&!t.hash)this.staticRulesId&&e.hasNameForId(n,this.staticRulesId)?r.push(this.staticRulesId):(o=_e(this.rules,p,e,t).join(""),a=Q(ee(this.baseHash,o)>>>0),e.hasNameForId(n,a)||(o=t(o,"."+a,void 0,n),e.insertRules(n,a,o)),r.push(a),this.staticRulesId=a);else{for(var o,a,d=this.rules.length,s=ee(this.baseHash,t.hash),i="",c=0;c<d;c++){var l=this.rules[c];"string"==typeof l?(i+=l,"production"!==process.env.NODE_ENV&&(s=ee(s,l+c))):l&&(l=_e(l,p,e,t),l=Array.isArray(l)?l.join(""):l,s=ee(s,l+c),i+=l)}i&&(o=Q(s>>>0),e.hasNameForId(n,o)||(a=t(i,"."+o,void 0,n),e.insertRules(n,o,a)),r.push(o))}return r.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){function l(e,t,n,r,o,a,l,s,i,c){switch(e){case 1:if(0===i&&64===t.charCodeAt(0))return p(t+";"),"";break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return p(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(u)}}function d(e,t,n){return 0===t&&-1!==ie.indexOf(n[a.length])||n.match(i)?e:"."+o}var o,a,s,i,p,e=void 0===e?w:e,t=e.options,e=e.plugins,e=void 0===e?S:e,c=new stylis_min(void 0===t?w:t),n=[];p=function(e){n.push(e)};function u(e){if(e)try{p(e+"}")}catch(e){}}function r(e,t,n,r){void 0===r&&(r="&");e=e.replace(se,""),e=t&&n?n+" "+t+" { "+e+" }":e;return o=r,a=t,s=new RegExp("\\"+a+"\\b","g"),i=new RegExp("(\\"+a+"\\b){2,}"),c(n||!t?"":t,e)}return c.use([].concat(e,[function(e,t,n){2===e&&n.length&&0<n[0].lastIndexOf(a)&&(n[0]=n[0].replace(s,d))},l,function(e){if(-2===e)return e=n,n=[],e}])),r.hash=e.length?e.reduce(function(e,t){return t.name||D(15),ee(e,t.name)},5381).toString():"",r}var ce=React.createContext(),le=(ce.Consumer,React.createContext()),de=(le.Consumer,new X),he=ae();function pe(){return useContext(ce)||de}function fe(){return useContext(le)||he}var ye=function(){function e(e,t){var r=this;this.inject=function(e,t){var n=r.name+(t=void 0===t?he:t).hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return D(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return this.name+(e=void 0===e?he:e).hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return"-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,t,n,r){if(Array.isArray(e)){for(var o,a=[],s=0,i=e.length;s<i;s+=1)""!==(o=_e(e[s],t,n,r))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(be(e))return"";if(_(e))return"."+e.styledComponentId;if(E(e)){if("function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t)return e;var c=e(t);return"production"!==process.env.NODE_ENV&&reactIs$1.exports.isElement(c)&&console.warn(b(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."),_e(c,t,n,r)}return e instanceof ye?n?(e.inject(n,r),e.getName(r)):e:g(e)?function e(t,n){var r,o,a,s=[];for(a in t)t.hasOwnProperty(a)&&!be(t[a])&&(Array.isArray(t[a])&&t[a].isCss||E(t[a])?s.push(Ee(a)+":",t[a],";"):g(t[a])?s.push.apply(s,e(t[a],a)):s.push(Ee(a)+": "+(r=a,null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g(e)?Ne(_e(v(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v(e,n)))}var Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var o="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou 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.",a=console.error;try{var s=!0;console.error=function(e){if(Ce.test(e))s=!1,Ie.delete(o);else{for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.apply(void 0,[e].concat(n))}},useRef(),s&&!Ie.has(o)&&(console.warn(o),Ie.add(o))}catch(e){Ce.test(e.message)&&Ie.delete(o)}finally{console.error=a}}},Oe=function(e,t,n){return e.theme!==(n=void 0===n?w:n).theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t}function Be(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,a=n;o<a.length;o++){var s=a[o];if(ke(s))for(var i in s)Ve(i)&&ze(e,s[i],i)}return e}var Me=React.createContext(),Fe=(Me.Consumer,{});function Ye(r,o,l){var t=_(r),p=!xe(r),e=o.attrs,e=void 0===e?S:e,n=o.componentId,n=void 0===n?function(e,t){e="string"!=typeof e?"sc":je(e),Fe[e]=(Fe[e]||0)+1,e=e+"-"+Te("5.3.3"+e+Fe[e]);return t?t+"-"+e:e}(o.displayName,o.parentComponentId):n,a=o.displayName,s=void 0===a?xe(s=r)?"styled."+s:"Styled("+b(s)+")":a,a=o.displayName&&o.componentId?je(o.displayName)+"-"+o.componentId:o.componentId||n,d=t&&r.attrs?Array.prototype.concat(r.attrs,e).filter(Boolean):e,n=o.shouldForwardProp;t&&r.shouldForwardProp&&(n=o.shouldForwardProp?function(e,t,n){return r.shouldForwardProp(e,t,n)&&o.shouldForwardProp(e,t,n)}:r.shouldForwardProp);function u(e,p){var d,a,s,t,n=C,r=k,o=n.attrs,i=n.componentStyle,c=n.defaultProps,u=n.foldedComponentIds,f=n.shouldForwardProp,h=n.styledComponentId,m=n.target,o=("production"!==process.env.NODE_ENV&&useDebugValue(h),c=Oe(e,useContext(Me),c)||w,o=o,a=y({},e,{theme:c=void 0===c?w:c}),s={},o.forEach(function(e){var t,n,r,o=e;for(t in o=E(o)?o(a):o)a[t]=s[t]="className"===t?(n=s[t],r=o[t],n&&r?n+" "+r:n||r):o[t]}),(c=[a,s])[1]),c=(i=i,r=r,c=c[0],n="production"!==process.env.NODE_ENV?n.warnTooManyClasses:void 0,g=pe(),d=fe(),i=r?i.generateAndInjectStyles(w,g,d):i.generateAndInjectStyles(c,g,d),"production"!==process.env.NODE_ENV&&useDebugValue(i),"production"!==process.env.NODE_ENV&&!r&&n&&n(i),i),g=p,v=o.$as||e.$as||o.as||e.as||m,b=xe(v),x=o!==e?y({},e,{},o):e,l={};for(t in x)"$"!==t[0]&&"as"!==t&&("forwardedAs"===t?l.as=x[t]:(f?f(t,index$1,v):!b||index$1(t))&&(l[t]=x[t]));return e.style&&o.style!==e.style&&(l.style=y({},e.style,{},o.style)),l.className=Array.prototype.concat(u,h,c!==h?c:null,e.className,o.className).filter(Boolean).join(" "),l.ref=g,createElement(v,l)}var C,f,i,c,h,m=new oe(l,a,t?r.componentStyle:void 0),k=m.isStatic&&0===e.length;return u.displayName=s,(C=React.forwardRef(u)).attrs=d,C.componentStyle=m,C.displayName=s,C.shouldForwardProp=n,C.foldedComponentIds=t?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):S,C.styledComponentId=a,C.target=t?r.target:r,C.withComponent=function(e){var t=o.componentId,n=function(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r}(o,["componentId"]),t=t&&t+"-"+(xe(e)?e:je(b(e)));return Ye(e,y({},n,{attrs:d,componentId:t}),l)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=t?Be({},r.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Pe(s,a),C.warnTooManyClasses=(f=s,i=a,h=!(c={}),function(e){!h&&(c[e]=!0,200<=Object.keys(c).length)&&(console.warn("Over 200 classes were generated for component "+f+(i?' with the id of "'+i+'"':"")+".\nConsider 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 />"),h=!0,c={})})),C.toString=function(){return"."+C.styledComponentId},p&&hoistNonReactStatics_cjs(C,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function t(n,r,o){if(void 0===o&&(o=w),!reactIs$1.exports.isValidElementType(r))return D(1,String(r));function e(){return n(r,o,Ae.apply(void 0,arguments))}return e.withConfig=function(e){return t(n,r,y({},o,{},e))},e.attrs=function(e){return t(n,r,y({},o,{attrs:Array.prototype.concat(o.attrs,e).filter(Boolean)}))},e}(Ye,e)},Styled=(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){qe[e]=qe(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"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&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["__styled-components-init__"]+=1),qe);const IconWrapper=qe.div` | ||
import React,{useRef,useDebugValue,useContext,createElement,useState,useEffect}from"react";var classnames={exports:{}},classNames=(!function(e){function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n,o=typeof r;if("string"==o||"number"==o)e.push(r);else if(Array.isArray(r))!r.length||(n=s.apply(null,r))&&e.push(n);else if("object"==o)if(r.toString===Object.prototype.toString)for(var a in r)i.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}var i;i={}.hasOwnProperty,e.exports?e.exports=s.default=s:window.classNames=s}(classnames),classnames.exports);const Button=({children:e="Button",size:t="medium",onClick:r,color:n="white",backgroundColor:o="primary",disabled:a=!1})=>{n=classNames({button:!0,["color--"+n]:!0,["background-color--"+o]:!0,["button--"+t]:t,"button--disabled":a});return React.createElement("button",{className:n,type:"button",onClick:r},a&&React.createElement("div",{className:"button__disable-wrapper"}),React.createElement("span",null,e))},EyeCloseSvg=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",fill:"#656569",enableBackground:"new 0 0 477.871 477.871",version:"1.1",viewBox:"0 0 477.871 477.871",xmlSpace:"preserve"},React.createElement("path",{d:"M474.609 228.901a453.124 453.124 0 00-103.219-98.287l67.345-67.345c6.78-6.548 6.968-17.352.42-24.132-6.548-6.78-17.352-6.968-24.132-.42-.142.137-.282.277-.42.42l-73.574 73.506a220.702 220.702 0 00-102.093-27.307C109.229 85.336 7.529 223.03 3.262 228.9a17.068 17.068 0 000 20.07 453.124 453.124 0 00103.219 98.287l-67.345 67.345c-6.78 6.548-6.968 17.352-.42 24.132 6.548 6.78 17.352 6.968 24.132.42.142-.137.282-.277.42-.42l73.574-73.506a220.702 220.702 0 00102.093 27.307c129.707 0 231.407-137.694 235.674-143.565a17.063 17.063 0 000-20.069zm-343.313 93.593a424.95 424.95 0 01-92.484-83.558c25.122-30.43 106.598-119.467 200.124-119.467a180.655 180.655 0 0176.612 18.773L285.92 167.87c-39.2-26.025-92.076-15.345-118.101 23.855-18.958 28.555-18.958 65.691 0 94.246l-36.523 36.523zm153.72-105.489a50.36 50.36 0 015.12 21.931c0 28.277-22.923 51.2-51.2 51.2a50.36 50.36 0 01-21.931-5.12l68.011-68.011zm-92.16 43.861a50.36 50.36 0 01-5.12-21.931c0-28.277 22.923-51.2 51.2-51.2a50.36 50.36 0 0121.931 5.12l-68.011 68.011zm46.08 97.536a180.659 180.659 0 01-76.612-18.773l29.628-29.628c39.2 26.025 92.076 15.345 118.101-23.855 18.958-28.555 18.958-65.691 0-94.246l36.523-36.523a424.975 424.975 0 0192.484 83.558c-25.123 30.431-106.599 119.467-200.124 119.467z"})),EyeOpenSvg=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",fill:"#656569",enableBackground:"new 0 0 511.999 511.999",version:"1.1",viewBox:"0 0 511.999 511.999",xmlSpace:"preserve"},React.createElement("path",{d:"M508.745 246.041c-4.574-6.257-113.557-153.206-252.748-153.206S7.818 239.784 3.249 246.035a16.896 16.896 0 000 19.923c4.569 6.257 113.557 153.206 252.748 153.206s248.174-146.95 252.748-153.201a16.875 16.875 0 000-19.922zM255.997 385.406c-102.529 0-191.33-97.533-217.617-129.418 26.253-31.913 114.868-129.395 217.617-129.395 102.524 0 191.319 97.516 217.617 129.418-26.253 31.912-114.868 129.395-217.617 129.395z"}),React.createElement("path",{d:"M255.997 154.725c-55.842 0-101.275 45.433-101.275 101.275s45.433 101.275 101.275 101.275S357.272 311.842 357.272 256s-45.433-101.275-101.275-101.275zm0 168.791c-37.23 0-67.516-30.287-67.516-67.516s30.287-67.516 67.516-67.516 67.516 30.287 67.516 67.516-30.286 67.516-67.516 67.516z"}));var reactIs$1={exports:{}},reactIs_production_min={},b$1="function"==typeof Symbol&&Symbol.for,c=b$1?Symbol.for("react.element"):60103,d=b$1?Symbol.for("react.portal"):60106,e=b$1?Symbol.for("react.fragment"):60107,f=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l=b$1?Symbol.for("react.async_mode"):60111,m=b$1?Symbol.for("react.concurrent_mode"):60111,n=b$1?Symbol.for("react.forward_ref"):60112,p=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?Symbol.for("react.suspense_list"):60120,r=b$1?Symbol.for("react.memo"):60115,t=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w$1=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;function z$1(o){if("object"==typeof o&&null!==o){var a=o.$$typeof;switch(a){case c:switch(o=o.type){case l:case m:case e:case g$1:case f:case p:return o;default:switch(o=o&&o.$$typeof){case k$1:case n:case t:case r:case h:return o;default:return a}}case d:return a}}}function A(e){return z$1(e)===m}reactIs_production_min.AsyncMode=l,reactIs_production_min.ConcurrentMode=m,reactIs_production_min.ContextConsumer=k$1,reactIs_production_min.ContextProvider=h,reactIs_production_min.Element=c,reactIs_production_min.ForwardRef=n,reactIs_production_min.Fragment=e,reactIs_production_min.Lazy=t,reactIs_production_min.Memo=r,reactIs_production_min.Portal=d,reactIs_production_min.Profiler=g$1,reactIs_production_min.StrictMode=f,reactIs_production_min.Suspense=p,reactIs_production_min.isAsyncMode=function(e){return A(e)||z$1(e)===l},reactIs_production_min.isConcurrentMode=A,reactIs_production_min.isContextConsumer=function(e){return z$1(e)===k$1},reactIs_production_min.isContextProvider=function(e){return z$1(e)===h},reactIs_production_min.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},reactIs_production_min.isForwardRef=function(e){return z$1(e)===n},reactIs_production_min.isFragment=function(t){return z$1(t)===e},reactIs_production_min.isLazy=function(e){return z$1(e)===t},reactIs_production_min.isMemo=function(e){return z$1(e)===r},reactIs_production_min.isPortal=function(e){return z$1(e)===d},reactIs_production_min.isProfiler=function(e){return z$1(e)===g$1},reactIs_production_min.isStrictMode=function(e){return z$1(e)===f},reactIs_production_min.isSuspense=function(e){return z$1(e)===p},reactIs_production_min.isValidElementType=function(o){return"string"==typeof o||"function"==typeof o||o===e||o===m||o===g$1||o===f||o===p||o===q$1||"object"==typeof o&&null!==o&&(o.$$typeof===t||o.$$typeof===r||o.$$typeof===h||o.$$typeof===k$1||o.$$typeof===n||o.$$typeof===w$1||o.$$typeof===x$1||o.$$typeof===y$1||o.$$typeof===v$1)},reactIs_production_min.typeOf=z$1;var reactIs_development={};function stylis_min(e){function z(e,t,r){var n=t.trim().split(d),o=(t=n).length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=l(e,t[s],r).trim();break;default:var i=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[i++]=l(e[c]+" ",n[s],r).trim()}return t}function l(e,t,r){var n=t.charCodeAt(0);switch(n=n<33?(t=t.trim()).charCodeAt(0):n){case 38:return t.replace(o,"$1"+e.trim());case 58:return e.trim()+t.replace(o,"$1"+e.trim());default:if(0<+r&&0<t.indexOf("\f"))return t.replace(o,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function I(e,t,r,n){var o,a=e+";",s=2*t+3*r+4*n;if(944==s)return e=a.indexOf(":",9)+1,o=a.substring(e,a.length-1).trim(),o=a.substring(0,e).trim()+o+";",1===P||2===P&&$(o,1)?"-webkit-"+o+o:o;if(0===P||2===P&&!$(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(g,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(o=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+o+a;case 1005:return c.test(a)?a.replace(i,":-webkit-")+a.replace(i,":-moz-")+a:a;case 1e3:switch(t=(o=a.substring(13).trim()).indexOf("-")+1,o.charCodeAt(0)+o.charCodeAt(t)){case 226:o=a.replace(p,"tb");break;case 232:o=a.replace(p,"tb-rl");break;case 220:o=a.replace(p,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+o+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(o=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|o.charCodeAt(7))){case 203:if(o.charCodeAt(8)<111)break;case 115:a=a.replace(o,"-webkit-"+o)+";"+a;break;case 207:case 102:a=a.replace(o,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(o,"-webkit-"+o)+";"+a.replace(o,"-ms-"+o+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return o=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+o+"-ms-flex-"+o+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(m,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(m,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===h.test(e))return 115===(o=e.substring(e.indexOf(":")+1)).charCodeAt(0)?I(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):a.replace(o,"-webkit-"+o)+a.replace(o,"-moz-"+o.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+n&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(u,"$1-webkit-$2")+a}return a}function $(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10),r=e.substring(r+1,e.length-1);return s(2!==t?n:n.replace(a,"$1"),r,t)}function j(e,t){var r=I(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(n," or ($1)").substring(4):"("+t+")"}function R(e,t,r,n,o,a,s,u,d,p){for(var i,c=0,l=t;c<D;++c)switch(i=y[c].call(f,e,l,r,n,o,a,s,u,d,p)){case void 0:case!1:case!0:case null:break;default:l=i}if(l!==t)return l}function t(e){return void 0!==(e=e.prefix)&&(s=null,e?"function"!=typeof e?P=1:(P=2,s=e):P=0),t}function f(e,t){e=[e=e.charCodeAt(0)<33?e.trim():e],0<D&&(void 0!==(r=R(-1,t,e,e,T,N,0,0,0,0))&&"string"==typeof r&&(t=r));var r,t=function u(d,p,e,f,m){for(var t,r,n,h,g,y=0,o=0,v=0,a=0,b=0,w=0,s=n=t=0,i=0,S=0,_=0,C=0,k=e.length,x=k-1,c="",l="",E="",A="";i<k;){if(r=e.charCodeAt(i),i===x&&0!==o+a+v+y&&(0!==o&&(r=47===o?10:47),a=v=y=0,k++,x++),0===o+a+v+y){if(i===x&&0<(c=0<S?c.replace(L,""):c).trim().length){switch(r){case 32:case 9:case 59:case 13:case 10:break;default:c+=e.charAt(i)}r=59}switch(r){case 123:for(t=(c=c.trim()).charCodeAt(0),n=1,C=++i;i<k;){switch(r=e.charCodeAt(i)){case 123:n++;break;case 125:n--;break;case 47:switch(r=e.charCodeAt(i+1)){case 42:case 47:e:{for(s=i+1;s<x;++s)switch(e.charCodeAt(s)){case 47:if(42!==r||42!==e.charCodeAt(s-1)||i+2===s)break;i=s+1;break e;case 10:if(47===r){i=s+1;break e}}i=s}}break;case 91:r++;case 40:r++;case 34:case 39:for(;i++<x&&e.charCodeAt(i)!==r;);}if(0===n)break;i++}if(n=e.substring(C,i),64===(t=0===t?(c=c.replace(M,"").trim()).charCodeAt(0):t)){switch(r=(c=0<S?c.replace(L,""):c).charCodeAt(1)){case 100:case 109:case 115:case 45:S=p;break;default:S=q}if(C=(n=u(p,S,n,r,m+1)).length,0<D&&(g=R(3,n,S=z(q,c,_),p,T,N,C,r,m,f),c=S.join(""),void 0!==g&&0===(C=(n=g.trim()).length)&&(r=0,n="")),0<C)switch(r){case 115:c=c.replace(Y,j);case 100:case 109:case 45:n=c+"{"+n+"}";break;case 107:n=(c=c.replace(F,"$1 $2"))+"{"+n+"}",n=1===P||2===P&&$("@"+n,3)?"@-webkit-"+n+"@"+n:"@"+n;break;default:n=c+n,112===f&&(l+=n,n="")}else n=""}else n=u(p,z(p,c,_),n,f,m+1);E+=n,n=_=S=s=t=0,c="",r=e.charCodeAt(++i);break;case 125:case 59:if(1<(C=(c=(0<S?c.replace(L,""):c).trim()).length))switch(0===s&&(t=c.charCodeAt(0),45===t||96<t&&t<123)&&(C=(c=c.replace(" ",":")).length),0<D&&void 0!==(g=R(1,c,p,d,T,N,l.length,f,m,f))&&0===(C=(c=g.trim()).length)&&(c="\0\0"),t=c.charCodeAt(0),r=c.charCodeAt(1),t){case 0:break;case 64:if(105===r||99===r){A+=c+e.charAt(i);break}default:58!==c.charCodeAt(C-1)&&(l+=I(c,t,r,c.charCodeAt(2)))}_=S=s=t=0,c="",r=e.charCodeAt(++i)}}switch(r){case 13:case 10:47===o?o=0:0===1+t&&107!==f&&0<c.length&&(S=1,c+="\0"),0<D*G&&R(0,c,p,d,T,N,l.length,f,m,f),N=1,T++;break;case 59:case 125:if(0===o+a+v+y){N++;break}default:switch(N++,h=e.charAt(i),r){case 9:case 32:if(0===a+y+o)switch(b){case 44:case 58:case 9:case 32:h="";break;default:32!==r&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===a+o+y&&(S=_=1,h="\f"+h);break;case 108:if(0===a+o+y+O&&0<s)switch(i-s){case 2:112===b&&58===e.charCodeAt(i-3)&&(O=b);case 8:111===w&&(O=w)}break;case 58:0===a+o+y&&(s=i);break;case 44:0===o+v+a+y&&(S=1,h+="\r");break;case 34:case 39:0===o&&(a=a===r?0:0===a?r:a);break;case 91:0===a+o+v&&y++;break;case 93:0===a+o+v&&y--;break;case 41:0===a+o+y&&v--;break;case 40:0===a+o+y&&(0===t&&(2*b+3*w==533||(t=1)),v++);break;case 64:0===o+v+a+y+s+n&&(n=1);break;case 42:case 47:if(!(0<a+y+v))switch(o){case 0:switch(2*r+3*e.charCodeAt(i+1)){case 235:o=47;break;case 220:C=i,o=42}break;case 42:47===r&&42===b&&C+2!==i&&(33===e.charCodeAt(C+2)&&(l+=e.substring(C,i+1)),h="",o=0)}}0===o&&(c+=h)}w=b,b=r,i++}if(0<(C=l.length)){if(S=p,0<D&&void 0!==(g=R(2,l,S,d,T,N,C,f,m,f))&&0===(l=g).length)return A+l+E;if(l=S.join(",")+"{"+l+"}",0!=P*O){switch(O=2!==P||$(l,2)?O:0){case 111:l=l.replace(B,":-moz-$1")+l;break;case 112:l=l.replace(V,"::-webkit-input-$1")+l.replace(V,"::-moz-$1")+l.replace(V,":-ms-input-$1")+l}O=0}}return A+l+E}(q,e,t,0,0);return 0<D&&(void 0!==(r=R(-2,t,e,e,T,N,t.length,0,0,0))&&(t=r)),O=0,N=T=1,t}var M=/^\0+/g,L=/[\0\r\f]/g,i=/: */g,c=/zoo|gra/,u=/([,: ])(transform)/g,d=/,\r+?/g,o=/([\t\r\n ])*\f?&/g,F=/@(k\w+)\s*(\S*)\s*/,V=/::(place)/g,B=/:(read-only)/g,p=/[svh]\w+-[tblr]{2}/,Y=/\(\s*(.*)\s*\)/g,n=/([\s\S]*?);/g,m=/-self|flex-/g,a=/[^]*?(:[rp][el]a[\w-]+)[^]*/,h=/stretch|:\s*\w+\-(?:conte|avail)/,g=/([^-])(image-set\()/,N=1,T=1,O=0,P=1,q=[],y=[],D=0,s=null,G=0;return f.use=function e(t){switch(t){case void 0:case null:D=y.length=0;break;default:if("function"==typeof t)y[D++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else G=0|!!t}return e},f.set=t,void 0!==e&&t(e),f}"production"!==process.env.NODE_ENV&&!function(){var e="function"==typeof Symbol&&Symbol.for,p=e?Symbol.for("react.element"):60103,f=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,r=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,n=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function t(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case p:var r=e.type;switch(r){case m:case l:case o:case s:case a:case d:return r;default:var n=r&&r.$$typeof;switch(n){case c:case u:case g:case h:case i:return n;default:return t}}case f:return t}}}var e=l,w=c,S=i,_=p,C=u,k=o,x=g,E=h,A=f,I=s,$=a,R=d,N=!1;function T(e){return t(e)===l}reactIs_development.AsyncMode=m,reactIs_development.ConcurrentMode=e,reactIs_development.ContextConsumer=w,reactIs_development.ContextProvider=S,reactIs_development.Element=_,reactIs_development.ForwardRef=C,reactIs_development.Fragment=k,reactIs_development.Lazy=x,reactIs_development.Memo=E,reactIs_development.Portal=A,reactIs_development.Profiler=I,reactIs_development.StrictMode=$,reactIs_development.Suspense=R,reactIs_development.isAsyncMode=function(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(e)||t(e)===m},reactIs_development.isConcurrentMode=T,reactIs_development.isContextConsumer=function(e){return t(e)===c},reactIs_development.isContextProvider=function(e){return t(e)===i},reactIs_development.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===p},reactIs_development.isForwardRef=function(e){return t(e)===u},reactIs_development.isFragment=function(e){return t(e)===o},reactIs_development.isLazy=function(e){return t(e)===g},reactIs_development.isMemo=function(e){return t(e)===h},reactIs_development.isPortal=function(e){return t(e)===f},reactIs_development.isProfiler=function(e){return t(e)===s},reactIs_development.isStrictMode=function(e){return t(e)===a},reactIs_development.isSuspense=function(e){return t(e)===d},reactIs_development.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===s||e===a||e===d||e===r||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===i||e.$$typeof===c||e.$$typeof===u||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===n)},reactIs_development.typeOf=t}(),"production"===process.env.NODE_ENV?reactIs$1.exports=reactIs_production_min:reactIs$1.exports=reactIs_development;var unitlessKeys={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function memoize(t){var r={};return function(e){return void 0===r[e]&&(r[e]=t(e)),r[e]}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,index$1=memoize(function(e){return reactPropsRegex.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),reactIs=reactIs$1.exports,REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};function getStatics(e){return reactIs.isMemo(e)?MEMO_STATICS:TYPE_STATICS[e.$$typeof]||REACT_STATICS}TYPE_STATICS[reactIs.ForwardRef]=FORWARD_REF_STATICS,TYPE_STATICS[reactIs.Memo]=MEMO_STATICS;var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics(e,t,r){if("string"!=typeof t){!objectPrototype||(n=getPrototypeOf(t))&&n!==objectPrototype&&hoistNonReactStatics(e,n,r);for(var n,o=getOwnPropertyNames(t),a=(getOwnPropertySymbols&&(o=o.concat(getOwnPropertySymbols(t))),getStatics(e)),s=getStatics(t),i=0;i<o.length;++i){var c=o[i];if(!(KNOWN_STATICS[c]||r&&r[c]||s&&s[c]||a&&a[c])){var l=getOwnPropertyDescriptor(t,c);try{defineProperty(e,c,l)}catch(e){}}}}return e}var hoistNonReactStatics_cjs=hoistNonReactStatics;function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var v=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!reactIs$1.exports.typeOf(e)},S=Object.freeze([]),w=Object.freeze({});function E(e){return"function"==typeof e}function b(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&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.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),O="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"}:{};function R(){for(var t=arguments.length<=0?void 0:arguments[0],e=[],r=1,n=arguments.length;r<n;r+=1)e.push(r<0||arguments.length<=r?void 0:arguments[r]);return e.forEach(function(e){t=t.replace(/%[a-z]/,e)}),t}function D(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw"production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(0<r.length?" Args: "+r.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(r)).trim())}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;o<=e;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),i=0,c=t.length;i<c;i++)this.tag.insertRule(s,t[i])&&(this.groupSizes[e]++,s++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],e=this.indexOfGroup(e),n=e+r,o=e;o<n;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),T=new Map,x=new Map,k=1,V=function(e){if(T.has(e))return T.get(e);for(;x.has(k);)k++;var t=k++;return"production"!==process.env.NODE_ENV&&((0|t)<0||1<<30<t)&&D(16,""+t),T.set(e,t),x.set(t,e),t},z=function(e){return x.get(e)},B=function(e,t){k<=t&&(k=t+1),T.set(e,t),x.set(t,e)},M="style["+N+'][data-styled-version="5.3.3"]',G=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,r){for(var n,o=r.split(","),a=0,s=o.length;a<s;a++)(n=o[a])&&e.registerName(t,n)},F=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var s,i,c,l=r[o].trim();l&&((s=l.match(G))?(i=0|parseInt(s[1],10),c=s[2],0!=i&&(B(c,i),L(e,c,s[3]),e.getTag().insertRules(i,n)),n.length=0):n.push(l))}},Y=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q=function(e){var t=document.head,n=e||t,e=document.createElement("style"),t=function(){for(var e=n.childNodes,t=e.length;0<=t;t--){var r=e[t];if(r&&1===r.nodeType&&r.hasAttribute(N))return r}}(),t=void 0!==t?t.nextSibling:null,r=(e.setAttribute(N,"active"),e.setAttribute("data-styled-version","5.3.3"),Y());return r&&e.setAttribute("nonce",r),n.insertBefore(e,t),e},H=function(){function e(e){e=this.element=q(e);e.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}D(17)}(e),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){e=this.sheet.cssRules[e];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},e}(),$=function(){function e(e){e=this.element=q(e);this.nodes=e.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&0<=e&&(t=document.createTextNode(t),e=this.nodes[e],this.element.insertBefore(t,e||null),this.length++,!0)},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J={isServer:!C,useCSSOMInjection:!I},X=function(){function r(e,t,r){if(void 0===t&&(t={}),this.options=y({},J,{},e=void 0===e?w:e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&C&&U){U=!1;for(var n=this,o=document.querySelectorAll(M),a=0,s=o.length;a<s;a++){var i=o[a];i&&"active"!==i.getAttribute(N)&&(F(n,i),i.parentNode&&i.parentNode.removeChild(i))}}else;}r.registerId=function(e){return V(e)};var e=r.prototype;return e.reconstructWithOptions=function(e,t){return void 0===t&&(t=!0),new r(y({},this.options,{},e),this.gs,t&&this.names||void 0)},e.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.getTag=function(){return this.tag||(this.tag=(e=(r=this.options).isServer,t=r.useCSSOMInjection,r=r.target,e=new(e?W:t?H:$)(r),new j(e)));var e,t,r},e.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.registerName=function(e,t){var r;V(e),this.names.has(e)?this.names.get(e).add(t):((r=new Set).add(t),this.names.set(e,r))},e.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(V(e),r)},e.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.clearRules=function(e){this.getTag().clearGroup(V(e)),this.clearNames(e)},e.clearTag=function(){this.tag=void 0},e.toString=function(){for(var e=this,t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a,s,i,c=z(o);void 0!==c&&(a=e.names.get(c),s=t.getGroup(o),a&&s&&a.size&&(c=N+".g"+o+'[id="'+c+'"]',i="",void 0!==a&&a.forEach(function(e){0<e.length&&(i+=e+",")}),n+=s+c+'{content:"'+i+'"}/*!sc*/\n'))}return n},r}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(25<e?39:97))};function Q(e){for(var t="",r=Math.abs(e);52<r;r=r/52|0)t=K(r%52)+t;return(K(r%52)+t).replace(Z,"$1-$2")}var ee=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(E(r)&&!_(r))return!1}return!0}var re=te("5.3.3"),oe=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===r||r.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=r,X.registerId(t)}return e.prototype.generateAndInjectStyles=function(u,e,t){var r=this.componentId,n=[];if(this.baseStyle&&n.push(this.baseStyle.generateAndInjectStyles(u,e,t)),this.isStatic&&!t.hash)this.staticRulesId&&e.hasNameForId(r,this.staticRulesId)?n.push(this.staticRulesId):(o=_e(this.rules,u,e,t).join(""),a=Q(ee(this.baseHash,o)>>>0),e.hasNameForId(r,a)||(o=t(o,"."+a,void 0,r),e.insertRules(r,a,o)),n.push(a),this.staticRulesId=a);else{for(var o,a,d=this.rules.length,s=ee(this.baseHash,t.hash),i="",c=0;c<d;c++){var l=this.rules[c];"string"==typeof l?(i+=l,"production"!==process.env.NODE_ENV&&(s=ee(s,l+c))):l&&(l=_e(l,u,e,t),l=Array.isArray(l)?l.join(""):l,s=ee(s,l+c),i+=l)}i&&(o=Q(s>>>0),e.hasNameForId(r,o)||(a=t(i,"."+o,void 0,r),e.insertRules(r,o,a)),n.push(o))}return n.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){function l(e,t,r,n,o,a,l,s,i,c){switch(e){case 1:if(0===i&&64===t.charCodeAt(0))return u(t+";"),"";break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return u(r[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(p)}}function d(e,t,r){return 0===t&&-1!==ie.indexOf(r[a.length])||r.match(i)?e:"."+o}var o,a,s,i,u,e=void 0===e?w:e,t=e.options,e=e.plugins,e=void 0===e?S:e,c=new stylis_min(void 0===t?w:t),r=[];u=function(e){r.push(e)};function p(e){if(e)try{u(e+"}")}catch(e){}}function n(e,t,r,n){void 0===n&&(n="&");e=e.replace(se,""),e=t&&r?r+" "+t+" { "+e+" }":e;return o=n,a=t,s=new RegExp("\\"+a+"\\b","g"),i=new RegExp("(\\"+a+"\\b){2,}"),c(r||!t?"":t,e)}return c.use([].concat(e,[function(e,t,r){2===e&&r.length&&0<r[0].lastIndexOf(a)&&(r[0]=r[0].replace(s,d))},l,function(e){if(-2===e)return e=r,r=[],e}])),n.hash=e.length?e.reduce(function(e,t){return t.name||D(15),ee(e,t.name)},5381).toString():"",n}var ce=React.createContext(),le=(ce.Consumer,React.createContext()),de=(le.Consumer,new X),he=ae();function pe(){return useContext(ce)||de}function fe(){return useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){var r=n.name+(t=void 0===t?he:t).hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return this.name+(e=void 0===e?he:e).hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return"-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],s=0,i=e.length;s<i;s+=1)""!==(o=_e(e[s],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}if(be(e))return"";if(_(e))return"."+e.styledComponentId;if(E(e)){if("function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t)return e;var c=e(t);return"production"!==process.env.NODE_ENV&&reactIs$1.exports.isElement(c)&&console.warn(b(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."),_e(c,t,r,n)}return e instanceof ye?r?(e.inject(r,n),e.getName(n)):e:g(e)?function e(t,r){var n,o,a,s=[];for(a in t)t.hasOwnProperty(a)&&!be(t[a])&&(Array.isArray(t[a])&&t[a].isCss||E(t[a])?s.push(Ee(a)+":",t[a],";"):g(t[a])?s.push.apply(s,e(t[a],a)):s.push(Ee(a)+": "+(n=a,null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys?String(o).trim():o+"px")+";"));return r?[r+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return E(e)||g(e)?Ne(_e(v(S,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v(e,r)))}var Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var o="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou 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.",a=console.error;try{var s=!0;console.error=function(e){if(Ce.test(e))s=!1,Ie.delete(o);else{for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];a.apply(void 0,[e].concat(r))}},useRef(),s&&!Ie.has(o)&&(console.warn(o),Ie.add(o))}catch(e){Ce.test(e.message)&&Ie.delete(o)}finally{console.error=a}}},Oe=function(e,t,r){return e.theme!==(r=void 0===r?w:r).theme&&e.theme||t||r.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,r){var n=e[r];ke(t)&&ke(n)?Be(n,t):e[r]=t}function Be(e){for(var t=arguments.length,r=new Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var s=a[o];if(ke(s))for(var i in s)Ve(i)&&ze(e,s[i],i)}return e}var Me=React.createContext(),Fe=(Me.Consumer,{});function Ye(n,o,l){var t=_(n),u=!xe(n),e=o.attrs,e=void 0===e?S:e,r=o.componentId,r=void 0===r?function(e,t){e="string"!=typeof e?"sc":je(e),Fe[e]=(Fe[e]||0)+1,e=e+"-"+Te("5.3.3"+e+Fe[e]);return t?t+"-"+e:e}(o.displayName,o.parentComponentId):r,a=o.displayName,s=void 0===a?xe(s=n)?"styled."+s:"Styled("+b(s)+")":a,a=o.displayName&&o.componentId?je(o.displayName)+"-"+o.componentId:o.componentId||r,d=t&&n.attrs?Array.prototype.concat(n.attrs,e).filter(Boolean):e,r=o.shouldForwardProp;t&&n.shouldForwardProp&&(r=o.shouldForwardProp?function(e,t,r){return n.shouldForwardProp(e,t,r)&&o.shouldForwardProp(e,t,r)}:n.shouldForwardProp);function p(e,u){var d,a,s,t,r=C,n=k,o=r.attrs,i=r.componentStyle,c=r.defaultProps,p=r.foldedComponentIds,f=r.shouldForwardProp,m=r.styledComponentId,h=r.target,o=("production"!==process.env.NODE_ENV&&useDebugValue(m),c=Oe(e,useContext(Me),c)||w,o=o,a=y({},e,{theme:c=void 0===c?w:c}),s={},o.forEach(function(e){var t,r,n,o=e;for(t in o=E(o)?o(a):o)a[t]=s[t]="className"===t?(r=s[t],n=o[t],r&&n?r+" "+n:r||n):o[t]}),(c=[a,s])[1]),c=(i=i,n=n,c=c[0],r="production"!==process.env.NODE_ENV?r.warnTooManyClasses:void 0,g=pe(),d=fe(),i=n?i.generateAndInjectStyles(w,g,d):i.generateAndInjectStyles(c,g,d),"production"!==process.env.NODE_ENV&&useDebugValue(i),"production"!==process.env.NODE_ENV&&!n&&r&&r(i),i),g=u,v=o.$as||e.$as||o.as||e.as||h,b=xe(v),S=o!==e?y({},e,{},o):e,l={};for(t in S)"$"!==t[0]&&"as"!==t&&("forwardedAs"===t?l.as=S[t]:(f?f(t,index$1,v):!b||index$1(t))&&(l[t]=S[t]));return e.style&&o.style!==e.style&&(l.style=y({},e.style,{},o.style)),l.className=Array.prototype.concat(p,m,c!==m?c:null,e.className,o.className).filter(Boolean).join(" "),l.ref=g,createElement(v,l)}var C,f,i,c,m,h=new oe(l,a,t?n.componentStyle:void 0),k=h.isStatic&&0===e.length;return p.displayName=s,(C=React.forwardRef(p)).attrs=d,C.componentStyle=h,C.displayName=s,C.shouldForwardProp=r,C.foldedComponentIds=t?Array.prototype.concat(n.foldedComponentIds,n.styledComponentId):S,C.styledComponentId=a,C.target=t?n.target:n,C.withComponent=function(e){var t=o.componentId,r=function(e,t){if(null==e)return{};for(var r,n={},o=Object.keys(e),a=0;a<o.length;a++)r=o[a],0<=t.indexOf(r)||(n[r]=e[r]);return n}(o,["componentId"]),t=t&&t+"-"+(xe(e)?e:je(b(e)));return Ye(e,y({},r,{attrs:d,componentId:t}),l)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=t?Be({},n.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Pe(s,a),C.warnTooManyClasses=(f=s,i=a,m=!(c={}),function(e){!m&&(c[e]=!0,200<=Object.keys(c).length)&&(console.warn("Over 200 classes were generated for component "+f+(i?' with the id of "'+i+'"':"")+".\nConsider 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 />"),m=!0,c={})})),C.toString=function(){return"."+C.styledComponentId},u&&hoistNonReactStatics_cjs(C,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function t(r,n,o){if(void 0===o&&(o=w),!reactIs$1.exports.isValidElementType(n))return D(1,String(n));function e(){return r(n,o,Ae.apply(void 0,arguments))}return e.withConfig=function(e){return t(r,n,y({},o,{},e))},e.attrs=function(e){return t(r,n,y({},o,{attrs:Array.prototype.concat(o.attrs,e).filter(Boolean)}))},e}(Ye,e)},Styled=(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){qe[e]=qe(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"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&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["__styled-components-init__"]+=1),qe);const IconWrapper=qe.div` | ||
height: ${e=>e.height}; | ||
@@ -11,2 +11,2 @@ width: ${e=>e.width}; | ||
} | ||
`,IconComponent=({onClick:e,height:t,width:n,fill:r="black",icon:o,stroke:a})=>React.createElement(IconWrapper,{onClick:e,height:t,width:n,fill:r,stroke:a},o),Arrow=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor"},React.createElement("path",{d:"M16.354 5.075l-7.855 7.854L.646 5.075l.707-.707 7.145 7.146 7.148-7.147.708.708z"})),Close=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor"},React.createElement("path",{d:"M9.207 8.5l6.646 6.646-.707.707L8.5 9.207l-6.646 6.646-.707-.707L7.793 8.5 1.146 1.854l.707-.707L8.5 7.793l6.646-6.646.707.707L9.207 8.5z"}));var index=Object.freeze({__proto__:null,EyeCloseSvg:EyeCloseSvg,EyeOpenSvg:EyeOpenSvg,IconComponent:IconComponent,Arrow:Arrow,Close:Close}),css_248z$7=".dropdown {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n cursor: pointer;\n padding: 15px;\n white-space: nowrap;\n}\n.dropdown--standalone {\n position: relative;\n height: 50px;\n border: 0.5px solid var(--color-neutral-30);\n border-width: 0.5px !important;\n border-radius: 4px;\n max-width: 400px;\n}\n.dropdown--opened {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom: 0.5px solid var(--color-neutral-60);\n}\n.dropdown--opened .dropdown__options {\n visibility: visible;\n}\n.dropdown__selected-item {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.dropdown__selected-item::selection {\n background-color: transparent;\n}\n.dropdown__selected-item--placeholder {\n opacity: 0.5;\n}\n.dropdown__input {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n z-index: -1;\n pointer-events: none;\n opacity: 0;\n}\n.dropdown__arrow-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 17px;\n flex-shrink: 0;\n}\n.dropdown__options {\n margin: 0;\n padding: 0;\n list-style: none;\n position: absolute;\n bottom: 0;\n left: 0;\n transform: translate(-0.5px, 100%);\n visibility: hidden;\n border: 0.5px solid var(--color-neutral-30);\n width: calc(100% + 1px);\n border-top: 0;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n overflow: auto;\n max-height: 270px;\n}\n.dropdown__item {\n padding: 15px;\n cursor: pointer;\n}\n.dropdown__item:not(:last-child) {\n border-bottom: 0.5px solid var(--color-neutral-60);\n}\n.dropdown__item:hover {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.dropdown__item span {\n margin-right: 5px;\n}";styleInject(css_248z$7);const DropDown=({options:r,selectedFieldName:o="name",standAlone:e=!0,placeholder:t="Select",defaultValue:a,onSelect:p})=>{const[n,s]=useState(!1),[i,c]=useState(null),l=useRef(null);useEffect(()=>{let e=null;if("string"==typeof r[0])e=r.findIndex(e=>e===a);else{const t=r,n=a;e=t.findIndex(e=>e[o]===n[o])}-1!==e&&c(e)},[]),useEffect(()=>{null!==i&&p(r[i])},[i]);e=classNames({dropdown:!0,"dropdown--standalone":e,"dropdown--opened":n});return React.createElement("div",{className:e,role:"presentation",onMouseDown:e=>{e.preventDefault(),n?null!==(e=l.current)&&void 0!==e&&e.blur():null!==(e=l.current)&&void 0!==e&&e.focus()}},React.createElement("span",{className:"dropdown__selected-item "+(null===i?"dropdown__selected-item--placeholder":"")},(()=>{if(null==i)return t;var e="object"==typeof r[i]&&r[i];return e?e[o]:r[i]})()),React.createElement("input",{ref:l,className:"dropdown__input",type:"text",onFocus:()=>s(!0),onBlur:()=>s(!1)}),React.createElement("div",{className:"dropdown__arrow-wrapper"},React.createElement(Arrow,null)),React.createElement("ul",{className:"dropdown__options"},r.map((e,t)=>React.createElement("li",{key:"string"!=typeof e?e.name:e,className:"dropdown__item",onKeyDown:()=>c(t),onMouseDown:()=>c(t)},"string"==typeof e?React.createElement("span",null,e):Object.values(e).map(e=>React.createElement("span",{key:e},e))))))};var css_248z$6=".input-text {\n padding: 17px 13px;\n border: 0.5px solid var(--color-neutral-30);\n box-sizing: border-box;\n border-radius: 4px;\n width: 100%;\n max-width: 400px;\n}\n.input-text--error {\n border: 1px solid var(--color-error);\n}";styleInject(css_248z$6);const InputText=({name:e,type:t,ref:n,validation:r,placeholder:o,autoComplete:a,onChange:s,value:i,disabled:c,error:l})=>{l=classNames({"input-text":!0,"input-text--error":l});return React.createElement("input",{className:l,type:t,name:e,ref:n,placeholder:o,autoComplete:a,pattern:r,onChange:s,value:i,disabled:c})};var css_248z$5=".tag {\n background-color: #dde8f6;\n color: #4a90e2;\n display: inline-block;\n padding: 4px 11px;\n font-weight: 500;\n font-size: 13px;\n letter-spacing: 0.5px;\n border-radius: 3px;\n margin: 5px 8px 5px 0;\n text-transform: capitalize;\n}";styleInject(css_248z$5);const Tags=({children:e})=>React.createElement("span",{className:"tag"},e);var css_248z$4=".text--small {\n font-size: 12px;\n line-height: 20px;\n}\n.text--medium {\n font-size: 14px;\n line-height: 22px;\n}\n.text--large {\n font-size: 16px;\n line-height: 24px;\n}\n.text--xl {\n font-size: 20px;\n line-height: 28px;\n}\n.text--2xl {\n font-size: 30px;\n line-height: 38px;\n}\n.text--3xl {\n font-size: 38px;\n line-height: 46px;\n}\n.text--4xl {\n font-size: 46px;\n line-height: 54px;\n}\n.text--5xl {\n font-size: 56px;\n line-height: 64px;\n}\n.text--regular {\n font-weight: 400;\n}\n.text--semibold {\n font-weight: 600;\n}\n.text--bold {\n font-weight: 800;\n}\n.text--italic {\n font-style: italic;\n}\n.text--truncated {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}";styleInject(css_248z$4);const Text=({children:e="Hello, World!",size:t="medium",weight:n="regular",color:r="neutral-90",isTruncated:o=!1,fontStyle:a})=>{t=classNames({text:!0,["text--"+t]:t,["text--"+n]:n,["color--"+r]:r,["text--"+a]:a,"text--truncated":o});return React.createElement("p",{className:t},e)};var css_248z$3=".toggle-switch {\n position: relative;\n border-radius: 99999px;\n cursor: pointer;\n display: flex;\n align-items: center;\n transition: 0.2s;\n}\n.toggle-switch__indicator {\n position: absolute;\n height: 0.65em;\n width: 0.65em;\n border-radius: 50%;\n transition: 0.2s;\n left: 10%;\n}\n.toggle-switch__indicator--active {\n left: 90%;\n transform: translateX(-100%);\n}\n.toggle-switch:active .toggle-switch__indicator {\n height: 0.5em;\n width: 0.5em;\n}";styleInject(css_248z$3);const ToggleSwitch=({initialValue:e=!1,size:t=20,backgroundColor:n="primary",backgroundOffColor:r,indicatorColor:o="white",onChange:a})=>{const[s,i]=useState(e);useEffect(()=>{a(s)},[s]);e=!s&&r||n,e=classNames({"toggle-switch":!0,["background-color--"+e]:!0}),o=classNames({"toggle-switch__indicator":!0,"toggle-switch__indicator--active":s,["background-color--"+o]:!0});return React.createElement("div",{role:"presentation",className:e,onClick:()=>{i(e=>!e)},style:{fontSize:t,height:t,width:1.76*t,backgroundColor:!s&&r||n}},React.createElement("span",{className:o}))};var css_248z$2=".toggle-text {\n display: flex;\n width: fit-content;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.toggle-text__arrow-wrapepr {\n width: 1em;\n display: flex;\n align-items: center;\n margin-left: 5px;\n transition: 0.25s ease-in-out;\n}\n.toggle-text__arrow-wrapepr--opened {\n transform: rotate(-180deg);\n}";styleInject(css_248z$2);const ToggleText=({initialValue:e=!1,closedText:t="Show More",openedText:n="Show Less",textColor:r="primary",hideArrow:o=!1,onChange:a})=>{const[s,i]=useState(e);useEffect(()=>{a(s)},[s]);return React.createElement("div",{role:"presentation",className:"toggle-text color--"+r,onClick:()=>{i(e=>!e)}},React.createElement("span",{className:"toggle-text__text"},s?n:t),!o&&React.createElement("div",{className:"toggle-text__arrow-wrapepr "+(s?"toggle-text__arrow-wrapepr--opened":"")},React.createElement(Arrow,null)))};var css_248z$1=".logo-wrapper {\n height: 100%;\n}\n.logo-wrapper__img {\n height: 100%;\n max-height: 400px;\n max-width: 400px;\n}";styleInject(css_248z$1);const CompanyLogo=({url:e="https://logo.clearbit.com/myinterview.com"})=>React.createElement("div",{className:"logo-wrapper"},React.createElement("img",{className:"logo-wrapper__img",src:e,alt:"companyLogo"}));var css_248z=".modal-wrapper {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\n border-radius: 4px;\n max-height: 90vh;\n max-width: 90vw;\n overflow: auto;\n}\n.modal-wrapper--fullscreen {\n width: 100vw;\n height: 100vh;\n max-height: 100vh;\n max-width: 100vw;\n top: 0;\n left: 0;\n padding: 0;\n transform: none;\n border-radius: 0;\n box-shadow: none;\n}\n.modal-wrapper__box {\n max-height: 100%;\n max-width: 100%;\n width: 100%;\n height: 100%;\n overflow: auto;\n}\n.modal-wrapper__close-btn {\n position: absolute;\n top: 20px;\n right: 20px;\n cursor: pointer;\n}";styleInject(css_248z);const Modal=({children:e,fullScreen:t=!1,closeButton:n=!1,clickOutside:r=!1,style:o={},onClose:a})=>{const s=useRef(null),i=e=>{var t;!r||null!==(t=s.current)&&void 0!==t&&t.contains(e.target)||a()};useEffect(()=>(document.addEventListener("click",i),()=>document.removeEventListener("click",i)),[]);t=classNames({"modal-wrapper":!0,"modal-wrapper--fullscreen":t});return React.createElement("div",{ref:s,className:t},React.createElement("div",{className:"modal-wrapper__box",style:o},e),n&&React.createElement("div",{role:"presentation",className:"modal-wrapper__close-btn",onClick:a},React.createElement(Close,null)))};export{Button,CompanyLogo,DropDown,index as Icons,InputText,Modal,Tags,Text,ToggleSwitch,ToggleText}; | ||
`,IconComponent=({onClick:e,height:t,width:r,fill:n="black",icon:o,stroke:a})=>React.createElement(IconWrapper,{onClick:e,height:t,width:r,fill:n,stroke:a},o),Arrow=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor"},React.createElement("path",{d:"M16.354 5.075l-7.855 7.854L.646 5.075l.707-.707 7.145 7.146 7.148-7.147.708.708z"})),Close=()=>React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor"},React.createElement("path",{d:"M9.207 8.5l6.646 6.646-.707.707L8.5 9.207l-6.646 6.646-.707-.707L7.793 8.5 1.146 1.854l.707-.707L8.5 7.793l6.646-6.646.707.707L9.207 8.5z"}));var index=Object.freeze({__proto__:null,EyeCloseSvg:EyeCloseSvg,EyeOpenSvg:EyeOpenSvg,IconComponent:IconComponent,Arrow:Arrow,Close:Close});const DropDown=({options:n,selectedFieldName:o="name",standAlone:e=!0,placeholder:t="Select",defaultValue:a,onSelect:u})=>{const[r,s]=useState(!1),[i,c]=useState(null),l=useRef(null);useEffect(()=>{let e=null;if("string"==typeof n[0])e=n.findIndex(e=>e===a);else{const t=n,r=a;e=t.findIndex(e=>e[o]===r[o])}-1!==e&&c(e)},[]),useEffect(()=>{null!==i&&u(n[i])},[i]);e=classNames({dropdown:!0,"dropdown--standalone":e,"dropdown--opened":r});return React.createElement("div",{className:e,role:"presentation",onMouseDown:e=>{e.preventDefault(),r?null!==(e=l.current)&&void 0!==e&&e.blur():null!==(e=l.current)&&void 0!==e&&e.focus()}},React.createElement("span",{className:"dropdown__selected-item "+(null===i?"dropdown__selected-item--placeholder":"")},(()=>{if(null==i)return t;var e="object"==typeof n[i]&&n[i];return e?e[o]:n[i]})()),React.createElement("input",{ref:l,className:"dropdown__input",type:"text",onFocus:()=>s(!0),onBlur:()=>s(!1)}),React.createElement("div",{className:"dropdown__arrow-wrapper"},React.createElement(Arrow,null)),React.createElement("ul",{className:"dropdown__options"},n.map((e,t)=>React.createElement("li",{key:"string"!=typeof e?e.name:e,className:"dropdown__item",onKeyDown:()=>c(t),onMouseDown:()=>c(t)},"string"==typeof e?React.createElement("span",null,e):Object.values(e).map(e=>React.createElement("span",{key:e},e))))))},InputText=({name:e,type:t,ref:r,validation:n,placeholder:o,autoComplete:a,onChange:s,value:i,disabled:c,error:l})=>{l=classNames({"input-text":!0,"input-text--error":l});return React.createElement("input",{className:l,type:t,name:e,ref:r,placeholder:o,autoComplete:a,pattern:n,onChange:s,value:i,disabled:c})},Tags=({children:e})=>React.createElement("span",{className:"tag"},e),Text=({children:e="Hello, World!",size:t="medium",weight:r="regular",color:n="neutral-90",isTruncated:o=!1,fontStyle:a})=>{t=classNames({text:!0,["text--"+t]:t,["text--"+r]:r,["color--"+n]:n,["text--"+a]:a,"text--truncated":o});return React.createElement("p",{className:t},e)},ToggleSwitch=({initialValue:e=!1,size:t=20,backgroundColor:r="primary",backgroundOffColor:n,indicatorColor:o="white",onChange:a})=>{const[s,i]=useState(e);useEffect(()=>{a(s)},[s]);e=!s&&n||r,e=classNames({"toggle-switch":!0,["background-color--"+e]:!0}),o=classNames({"toggle-switch__indicator":!0,"toggle-switch__indicator--active":s,["background-color--"+o]:!0});return React.createElement("div",{role:"presentation",className:e,onClick:()=>{i(e=>!e)},style:{fontSize:t,height:t,width:1.76*t,backgroundColor:!s&&n||r}},React.createElement("span",{className:o}))},ToggleText=({initialValue:e=!1,closedText:t="Show More",openedText:r="Show Less",textColor:n="primary",hideArrow:o=!1,onChange:a})=>{const[s,i]=useState(e);useEffect(()=>{a(s)},[s]);return React.createElement("div",{role:"presentation",className:"toggle-text color--"+n,onClick:()=>{i(e=>!e)}},React.createElement("span",{className:"toggle-text__text"},s?r:t),!o&&React.createElement("div",{className:"toggle-text__arrow-wrapepr "+(s?"toggle-text__arrow-wrapepr--opened":"")},React.createElement(Arrow,null)))},CompanyLogo=({url:e="https://logo.clearbit.com/myinterview.com"})=>React.createElement("div",{className:"logo-wrapper"},React.createElement("img",{className:"logo-wrapper__img",src:e,alt:"companyLogo"})),Modal=({children:e,fullScreen:t=!1,closeButton:r=!1,clickOutside:n=!1,style:o={},onClose:a})=>{const s=useRef(null),i=e=>{var t;!n||null!==(t=s.current)&&void 0!==t&&t.contains(e.target)||a()};useEffect(()=>(document.addEventListener("click",i),()=>document.removeEventListener("click",i)),[]);t=classNames({"modal-wrapper":!0,"modal-wrapper--fullscreen":t});return React.createElement("div",{ref:s,className:t},React.createElement("div",{className:"modal-wrapper__box",style:o},e),r&&React.createElement("div",{role:"presentation",className:"modal-wrapper__close-btn",onClick:a},React.createElement(Close,null)))};export{Button,CompanyLogo,DropDown,index as Icons,InputText,Modal,Tags,Text,ToggleSwitch,ToggleText}; |
{ | ||
"name": "@myinterview/component-library", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
71404
37
32
442