topiray-auth-react 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +194 -1
- package/dist/i18n/I18nProvider.d.ts +13 -0
- package/dist/i18n/en.json.d.ts +93 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/types.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +3486 -2224
- package/dist/index.umd.js +55 -32
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
|
-
(function(O,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],f):(O=typeof globalThis<"u"?globalThis:O||self,f(O.TopirayAuthReact={},O.jsxRuntime,O.React))})(this,function(O,f,j){"use strict";function zo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}function qo(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const W=zo(j),Je={colors:{primary:"#3B82F6",secondary:"#6B7280",tertiary:"#9CA3AF",background:"#FFFFFF",surface:"#F8FAFC",text:"#1F2937",textSecondary:"#6B7280",border:"#E5E7EB",success:"#10B981",warning:"#F59E0B",error:"#EF4444",info:"#3B82F6",hover:"#F3F4F6",active:"#E5E7EB",disabled:"#D1D5DB",inputBackground:"#FFFFFF",inputBorder:"#D1D5DB",inputText:"#1F2937",inputPlaceholder:"#9CA3AF",buttonPrimary:"#3B82F6",buttonPrimaryText:"#FFFFFF",buttonSecondary:"#F3F4F6",buttonSecondaryText:"#1F2937",buttonSocial:"#4B5563",buttonSocialText:"#FFFFFF"},components:{spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"},borderRadius:{sm:"4px",md:"8px",lg:"12px",xl:"16px"},typography:{fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontSize:{xs:"12px",sm:"14px",md:"16px",lg:"18px",xl:"20px",xxl:"24px"},fontWeight:{normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},transitions:{fast:"0.1s ease",normal:"0.2s ease",slow:"0.3s ease"}},brand:{logo:void 0,logoAlt:"Logo",primaryLogo:void 0,secondaryLogo:void 0},customization:{roundedCorners:!0,animations:!0,showFormHeader:!0,showSocialLogin:!0,showBackArrow:!0,showLogo:!0,backgroundImage:void 0,leftPanelContent:void 0}},Ro={...Je,colors:{...Je.colors,primary:"#60A5FA",secondary:"#9CA3AF",background:"#111827",surface:"#1F2937",text:"#F9FAFB",textSecondary:"#D1D5DB",border:"#374151",hover:"#374151",active:"#4B5563",disabled:"#6B7280",inputBackground:"#1F2937",inputBorder:"#4B5563",inputText:"#F9FAFB",inputPlaceholder:"#9CA3AF",buttonPrimary:"#60A5FA",buttonPrimaryText:"#111827",buttonSecondary:"#374151",buttonSecondaryText:"#F9FAFB",buttonSocial:"#4B5563",buttonSocialText:"#F9FAFB"}},Uo=e=>{const t=(r,n)=>{const o={...r};for(const i in n)n[i]&&typeof n[i]=="object"&&!Array.isArray(n[i])?o[i]=t(r[i]||{},n[i]):o[i]=n[i];return o};return t(Je,e)},Wr=j.createContext(void 0),ee=()=>{const e=j.useContext(Wr);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},Ho=({children:e,theme:t=Je})=>(j.useEffect(()=>{const r=document.documentElement;r.style.setProperty("--topiray-color-primary",t.colors.primary),r.style.setProperty("--topiray-color-tertiary",t.colors.tertiary),r.style.setProperty("--topiray-color-secondary",t.colors.secondary),r.style.setProperty("--topiray-color-background",t.colors.background),r.style.setProperty("--topiray-color-surface",t.colors.surface),r.style.setProperty("--topiray-color-text",t.colors.text),r.style.setProperty("--topiray-color-text-secondary",t.colors.textSecondary),r.style.setProperty("--topiray-color-border",t.colors.border),r.style.setProperty("--topiray-color-success",t.colors.success),r.style.setProperty("--topiray-color-warning",t.colors.warning),r.style.setProperty("--topiray-color-error",t.colors.error),r.style.setProperty("--topiray-color-info",t.colors.info),r.style.setProperty("--topiray-color-hover",t.colors.hover),r.style.setProperty("--topiray-color-active",t.colors.active),r.style.setProperty("--topiray-color-disabled",t.colors.disabled),r.style.setProperty("--topiray-input-background",t.colors.inputBackground),r.style.setProperty("--topiray-input-border",t.colors.inputBorder),r.style.setProperty("--topiray-input-text",t.colors.inputText),r.style.setProperty("--topiray-input-placeholder",t.colors.inputPlaceholder),r.style.setProperty("--topiray-button-primary",t.colors.buttonPrimary),r.style.setProperty("--topiray-button-primary-text",t.colors.buttonPrimaryText),r.style.setProperty("--topiray-button-secondary",t.colors.buttonSecondary),r.style.setProperty("--topiray-button-secondary-text",t.colors.buttonSecondaryText),r.style.setProperty("--topiray-button-social",t.colors.buttonSocial),r.style.setProperty("--topiray-button-social-text",t.colors.buttonSocialText),r.style.setProperty("--topiray-spacing-xs",t.components.spacing.xs),r.style.setProperty("--topiray-spacing-sm",t.components.spacing.sm),r.style.setProperty("--topiray-spacing-md",t.components.spacing.md),r.style.setProperty("--topiray-spacing-lg",t.components.spacing.lg),r.style.setProperty("--topiray-spacing-xl",t.components.spacing.xl),r.style.setProperty("--topiray-radius-sm",t.components.borderRadius.sm),r.style.setProperty("--topiray-radius-md",t.components.borderRadius.md),r.style.setProperty("--topiray-radius-lg",t.components.borderRadius.lg),r.style.setProperty("--topiray-radius-xl",t.components.borderRadius.xl),r.style.setProperty("--topiray-font-family",t.components.typography.fontFamily),r.style.setProperty("--topiray-font-size-xs",t.components.typography.fontSize.xs),r.style.setProperty("--topiray-font-size-sm",t.components.typography.fontSize.sm),r.style.setProperty("--topiray-font-size-md",t.components.typography.fontSize.md),r.style.setProperty("--topiray-font-size-lg",t.components.typography.fontSize.lg),r.style.setProperty("--topiray-font-size-xl",t.components.typography.fontSize.xl),r.style.setProperty("--topiray-font-size-xxl",t.components.typography.fontSize.xxl),r.style.setProperty("--topiray-font-weight-normal",t.components.typography.fontWeight.normal),r.style.setProperty("--topiray-font-weight-medium",t.components.typography.fontWeight.medium),r.style.setProperty("--topiray-font-weight-semibold",t.components.typography.fontWeight.semibold),r.style.setProperty("--topiray-font-weight-bold",t.components.typography.fontWeight.bold),r.style.setProperty("--topiray-line-height-tight",t.components.typography.lineHeight.tight),r.style.setProperty("--topiray-line-height-normal",t.components.typography.lineHeight.normal),r.style.setProperty("--topiray-line-height-relaxed",t.components.typography.lineHeight.relaxed),r.style.setProperty("--topiray-shadow-sm",t.components.shadows.sm),r.style.setProperty("--topiray-shadow-md",t.components.shadows.md),r.style.setProperty("--topiray-shadow-lg",t.components.shadows.lg),r.style.setProperty("--topiray-shadow-xl",t.components.shadows.xl),r.style.setProperty("--topiray-transition-fast",t.components.transitions.fast),r.style.setProperty("--topiray-transition-normal",t.components.transitions.normal),r.style.setProperty("--topiray-transition-slow",t.components.transitions.slow)},[t]),f.jsx(Wr.Provider,{value:{theme:t},children:e})),$e={layout:"_layout_yv7xa_1",leftPane:"_leftPane_yv7xa_29",leftBackground:"_leftBackground_yv7xa_53",leftContent:"_leftContent_yv7xa_79",logoIcon:"_logoIcon_yv7xa_101",backgroundBlur:"_backgroundBlur_yv7xa_117",rightPane:"_rightPane_yv7xa_149"},Wo=({leftContent:e,rightContent:t,leftBackgroundImage:r,logoSrc:n,className:o})=>{const{theme:i}=ee(),a=[$e.layout,o].filter(Boolean).join(" ");return f.jsxs("div",{className:a,children:[f.jsx("div",{className:$e.leftPane,children:f.jsx("div",{className:$e.leftBackground,style:{backgroundImage:r?`url(${r})`:void 0},children:f.jsxs("div",{className:$e.leftContent,children:[e||f.jsxs(f.Fragment,{children:[(n||i.brand.logo)&&f.jsx("img",{className:$e.logoIcon,alt:i.brand.logoAlt||"Logo",src:n||i.brand.logo}),i.customization.leftPanelContent]}),f.jsx("div",{className:$e.backgroundBlur})]})})}),f.jsx("div",{className:$e.rightPane,children:t})]})},ut={container:"_container_gqjw7_1",contentWrapper:"_contentWrapper_gqjw7_33",middle:"_middle_gqjw7_55",right:"_right_gqjw7_69"},Vo=({middle:e,right:t,className:r})=>{ee();const n=[ut.container,r].filter(Boolean).join(" ");return f.jsx("div",{className:n,children:f.jsxs("div",{className:ut.contentWrapper,children:[f.jsx("div",{className:ut.middle,children:e}),t&&f.jsx("div",{className:ut.right,children:t})]})})},Qe={black:"#000",white:"#fff"},Oe={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Le={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},je={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},De={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ze={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Xe={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ko={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ee(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Go="$$material";function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ot.apply(null,arguments)}function Yo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Jo(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Qo=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jo(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Yo(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),X="-ms-",dt="-moz-",I="-webkit-",Vr="comm",Lt="rule",jt="decl",Xo="@import",Kr="@keyframes",Zo="@layer",ei=Math.abs,ft=String.fromCharCode,ti=Object.assign;function ri(e,t){return Q(e,0)^45?(((t<<2^Q(e,0))<<2^Q(e,1))<<2^Q(e,2))<<2^Q(e,3):0}function Gr(e){return e.trim()}function ni(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function Dt(e,t){return e.indexOf(t)}function Q(e,t){return e.charCodeAt(t)|0}function Ze(e,t,r){return e.slice(t,r)}function fe(e){return e.length}function zt(e){return e.length}function pt(e,t){return t.push(e),e}function oi(e,t){return e.map(t).join("")}var ht=1,qe=1,Yr=0,re=0,G=0,Re="";function gt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ht,column:qe,length:a,return:""}}function et(e,t){return ti(gt("",null,null,"",null,null,0),e,{length:-e.length},t)}function ii(){return G}function ai(){return G=re>0?Q(Re,--re):0,qe--,G===10&&(qe=1,ht--),G}function ne(){return G=re<Yr?Q(Re,re++):0,qe++,G===10&&(qe=1,ht++),G}function pe(){return Q(Re,re)}function mt(){return re}function tt(e,t){return Ze(Re,e,t)}function rt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Jr(e){return ht=qe=1,Yr=fe(Re=e),re=0,[]}function Qr(e){return Re="",e}function yt(e){return Gr(tt(re-1,qt(e===91?e+2:e===40?e+1:e)))}function si(e){for(;(G=pe())&&G<33;)ne();return rt(e)>2||rt(G)>3?"":" "}function ci(e,t){for(;--t&&ne()&&!(G<48||G>102||G>57&&G<65||G>70&&G<97););return tt(e,mt()+(t<6&&pe()==32&&ne()==32))}function qt(e){for(;ne();)switch(G){case e:return re;case 34:case 39:e!==34&&e!==39&&qt(G);break;case 40:e===41&&qt(e);break;case 92:ne();break}return re}function li(e,t){for(;ne()&&e+G!==57;)if(e+G===84&&pe()===47)break;return"/*"+tt(t,re-1)+"*"+ft(e===47?e:ne())}function ui(e){for(;!rt(pe());)ne();return tt(e,re)}function di(e){return Qr(bt("",null,null,null,[""],e=Jr(e),0,[0],e))}function bt(e,t,r,n,o,i,a,s,l){for(var d=0,g=0,p=a,m=0,y=0,h=0,u=1,T=1,C=1,A=0,_="",x=o,w=i,S=n,k=_;T;)switch(h=A,A=ne()){case 40:if(h!=108&&Q(k,p-1)==58){Dt(k+=F(yt(A),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:k+=yt(A);break;case 9:case 10:case 13:case 32:k+=si(h);break;case 92:k+=ci(mt()-1,7);continue;case 47:switch(pe()){case 42:case 47:pt(fi(li(ne(),mt()),t,r),l);break;default:k+="/"}break;case 123*u:s[d++]=fe(k)*C;case 125*u:case 59:case 0:switch(A){case 0:case 125:T=0;case 59+g:C==-1&&(k=F(k,/\f/g,"")),y>0&&fe(k)-p&&pt(y>32?Zr(k+";",n,r,p-1):Zr(F(k," ","")+";",n,r,p-2),l);break;case 59:k+=";";default:if(pt(S=Xr(k,t,r,d,g,o,s,_,x=[],w=[],p),i),A===123)if(g===0)bt(k,t,S,S,x,i,p,s,w);else switch(m===99&&Q(k,3)===110?100:m){case 100:case 108:case 109:case 115:bt(e,S,S,n&&pt(Xr(e,S,S,0,0,o,s,_,o,x=[],p),w),o,w,p,s,n?x:w);break;default:bt(k,S,S,S,[""],w,0,s,w)}}d=g=y=0,u=C=1,_=k="",p=a;break;case 58:p=1+fe(k),y=h;default:if(u<1){if(A==123)--u;else if(A==125&&u++==0&&ai()==125)continue}switch(k+=ft(A),A*u){case 38:C=g>0?1:(k+="\f",-1);break;case 44:s[d++]=(fe(k)-1)*C,C=1;break;case 64:pe()===45&&(k+=yt(ne())),m=pe(),g=p=fe(_=k+=ui(mt())),A++;break;case 45:h===45&&fe(k)==2&&(u=0)}}return i}function Xr(e,t,r,n,o,i,a,s,l,d,g){for(var p=o-1,m=o===0?i:[""],y=zt(m),h=0,u=0,T=0;h<n;++h)for(var C=0,A=Ze(e,p+1,p=ei(u=a[h])),_=e;C<y;++C)(_=Gr(u>0?m[C]+" "+A:F(A,/&\f/g,m[C])))&&(l[T++]=_);return gt(e,t,r,o===0?Lt:s,l,d,g)}function fi(e,t,r){return gt(e,t,r,Vr,ft(ii()),Ze(e,2,-2),0)}function Zr(e,t,r,n){return gt(e,t,r,jt,Ze(e,0,n),Ze(e,n+1,-1),n)}function Ue(e,t){for(var r="",n=zt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pi(e,t,r,n){switch(e.type){case Zo:if(e.children.length)break;case Xo:case jt:return e.return=e.return||e.value;case Vr:return"";case Kr:return e.return=e.value+"{"+Ue(e.children,n)+"}";case Lt:e.value=e.props.join(",")}return fe(r=Ue(e.children,n))?e.return=e.value+"{"+r+"}":""}function hi(e){var t=zt(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function gi(e){return function(t){t.root||(t=t.return)&&e(t)}}function en(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var mi=function(t,r,n){for(var o=0,i=0;o=i,i=pe(),o===38&&i===12&&(r[n]=1),!rt(i);)ne();return tt(t,re)},yi=function(t,r){var n=-1,o=44;do switch(rt(o)){case 0:o===38&&pe()===12&&(r[n]=1),t[n]+=mi(re-1,r,n);break;case 2:t[n]+=yt(o);break;case 4:if(o===44){t[++n]=pe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ft(o)}while(o=ne());return t},bi=function(t,r){return Qr(yi(Jr(t),r))},tn=new WeakMap,wi=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!tn.get(n))&&!o){tn.set(t,!0);for(var i=[],a=bi(r,i),s=n.props,l=0,d=0;l<a.length;l++)for(var g=0;g<s.length;g++,d++)t.props[d]=i[l]?a[l].replace(/&\f/g,s[g]):s[g]+" "+a[l]}}},Ci=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function rn(e,t){switch(ri(e,t)){case 5103:return I+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+dt+e+X+e+e;case 6828:case 4268:return I+e+X+e+e;case 6165:return I+e+X+"flex-"+e+e;case 5187:return I+e+F(e,/(\w+).+(:[^]+)/,I+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return I+e+X+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return I+e+X+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return I+e+X+F(e,"shrink","negative")+e;case 5292:return I+e+X+F(e,"basis","preferred-size")+e;case 6060:return I+"box-"+F(e,"-grow","")+I+e+X+F(e,"grow","positive")+e;case 4554:return I+F(e,/([^-])(transform)/g,"$1"+I+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,I+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(fe(e)-1-t>6)switch(Q(e,t+1)){case 109:if(Q(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+dt+(Q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dt(e,"stretch")?rn(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Q(e,t+1)!==115)break;case 6444:switch(Q(e,fe(e)-3-(~Dt(e,"!important")&&10))){case 107:return F(e,":",":"+I)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(Q(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Q(e,t+11)){case 114:return I+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+X+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+X+e+e}return e}var _i=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case jt:t.return=rn(t.value,t.length);break;case Kr:return Ue([et(t,{value:F(t.value,"@","@"+I)})],o);case Lt:if(t.length)return oi(t.props,function(i){switch(ni(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ue([et(t,{props:[F(i,/:(read-\w+)/,":"+dt+"$1")]})],o);case"::placeholder":return Ue([et(t,{props:[F(i,/:(plac\w+)/,":"+I+"input-$1")]}),et(t,{props:[F(i,/:(plac\w+)/,":"+dt+"$1")]}),et(t,{props:[F(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},vi=[_i],Si=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(u){var T=u.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(u),u.setAttribute("data-s",""))})}var o=t.stylisPlugins||vi,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(u){for(var T=u.getAttribute("data-emotion").split(" "),C=1;C<T.length;C++)i[T[C]]=!0;s.push(u)});var l,d=[wi,Ci];{var g,p=[pi,gi(function(u){g.insert(u)})],m=hi(d.concat(o,p)),y=function(T){return Ue(di(T),m)};l=function(T,C,A,_){g=A,y(T?T+"{"+C.styles+"}":C.styles),_&&(h.inserted[C.name]=!0)}}var h={key:r,sheet:new Qo({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return h.sheet.hydrate(s),h};function xi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rt={exports:{}},M={};/** @license React v16.13.1
|
|
1
|
+
(function($,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("react"),require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["exports","react","react/jsx-runtime"],B):($=typeof globalThis<"u"?globalThis:$||self,B($.TopirayAuthReact={},$.React,$.jsxRuntime))})(this,function($,B,zt){"use strict";function ms(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}function ps(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const U=ms(B);function hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qt={exports:{}},mt={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-dev-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var ln;function gs(){if(ln)return mt;ln=1;var e=Symbol.for("react.fragment");return mt.Fragment=e,mt.jsxDEV=void 0,mt}var un;function ys(){return un||(un=1,qt.exports=gs()),qt.exports}var f=ys();const Xe={colors:{primary:"#3B82F6",secondary:"#6B7280",tertiary:"#9CA3AF",background:"#FFFFFF",surface:"#F8FAFC",text:"#1F2937",textSecondary:"#6B7280",border:"#E5E7EB",success:"#10B981",warning:"#F59E0B",error:"#EF4444",info:"#3B82F6",hover:"#F3F4F6",active:"#E5E7EB",disabled:"#D1D5DB",inputBackground:"#FFFFFF",inputBorder:"#D1D5DB",inputText:"#1F2937",inputPlaceholder:"#9CA3AF",buttonPrimary:"#3B82F6",buttonPrimaryText:"#FFFFFF",buttonSecondary:"#F3F4F6",buttonSecondaryText:"#1F2937",buttonSocial:"#4B5563",buttonSocialText:"#FFFFFF"},components:{spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"},borderRadius:{sm:"4px",md:"8px",lg:"12px",xl:"16px"},typography:{fontFamily:"Inter, system-ui, -apple-system, sans-serif",fontSize:{xs:"12px",sm:"14px",md:"16px",lg:"18px",xl:"20px",xxl:"24px"},fontWeight:{normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},transitions:{fast:"0.1s ease",normal:"0.2s ease",slow:"0.3s ease"}},brand:{logo:void 0,logoAlt:"Logo",primaryLogo:void 0,secondaryLogo:void 0},customization:{roundedCorners:!0,animations:!0,showFormHeader:!0,showSocialLogin:!0,showBackArrow:!0,showLogo:!0,backgroundImage:void 0,leftPanelContent:void 0}},bs={...Xe,colors:{...Xe.colors,primary:"#60A5FA",secondary:"#9CA3AF",background:"#111827",surface:"#1F2937",text:"#F9FAFB",textSecondary:"#D1D5DB",border:"#374151",hover:"#374151",active:"#4B5563",disabled:"#6B7280",inputBackground:"#1F2937",inputBorder:"#4B5563",inputText:"#F9FAFB",inputPlaceholder:"#9CA3AF",buttonPrimary:"#60A5FA",buttonPrimaryText:"#111827",buttonSecondary:"#374151",buttonSecondaryText:"#F9FAFB",buttonSocial:"#4B5563",buttonSocialText:"#F9FAFB"}},vs=e=>{const t=(r,n)=>{const o={...r};for(const s in n)n[s]&&typeof n[s]=="object"&&!Array.isArray(n[s])?o[s]=t(r[s]||{},n[s]):o[s]=n[s];return o};return t(Xe,e)},dn=B.createContext(void 0),ee=()=>{const e=B.useContext(dn);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},Ns=({children:e,theme:t=Xe})=>(B.useEffect(()=>{const r=document.documentElement;r.style.setProperty("--topiray-color-primary",t.colors.primary),r.style.setProperty("--topiray-color-tertiary",t.colors.tertiary),r.style.setProperty("--topiray-color-secondary",t.colors.secondary),r.style.setProperty("--topiray-color-background",t.colors.background),r.style.setProperty("--topiray-color-surface",t.colors.surface),r.style.setProperty("--topiray-color-text",t.colors.text),r.style.setProperty("--topiray-color-text-secondary",t.colors.textSecondary),r.style.setProperty("--topiray-color-border",t.colors.border),r.style.setProperty("--topiray-color-success",t.colors.success),r.style.setProperty("--topiray-color-warning",t.colors.warning),r.style.setProperty("--topiray-color-error",t.colors.error),r.style.setProperty("--topiray-color-info",t.colors.info),r.style.setProperty("--topiray-color-hover",t.colors.hover),r.style.setProperty("--topiray-color-active",t.colors.active),r.style.setProperty("--topiray-color-disabled",t.colors.disabled),r.style.setProperty("--topiray-input-background",t.colors.inputBackground),r.style.setProperty("--topiray-input-border",t.colors.inputBorder),r.style.setProperty("--topiray-input-text",t.colors.inputText),r.style.setProperty("--topiray-input-placeholder",t.colors.inputPlaceholder),r.style.setProperty("--topiray-button-primary",t.colors.buttonPrimary),r.style.setProperty("--topiray-button-primary-text",t.colors.buttonPrimaryText),r.style.setProperty("--topiray-button-secondary",t.colors.buttonSecondary),r.style.setProperty("--topiray-button-secondary-text",t.colors.buttonSecondaryText),r.style.setProperty("--topiray-button-social",t.colors.buttonSocial),r.style.setProperty("--topiray-button-social-text",t.colors.buttonSocialText),r.style.setProperty("--topiray-spacing-xs",t.components.spacing.xs),r.style.setProperty("--topiray-spacing-sm",t.components.spacing.sm),r.style.setProperty("--topiray-spacing-md",t.components.spacing.md),r.style.setProperty("--topiray-spacing-lg",t.components.spacing.lg),r.style.setProperty("--topiray-spacing-xl",t.components.spacing.xl),r.style.setProperty("--topiray-radius-sm",t.components.borderRadius.sm),r.style.setProperty("--topiray-radius-md",t.components.borderRadius.md),r.style.setProperty("--topiray-radius-lg",t.components.borderRadius.lg),r.style.setProperty("--topiray-radius-xl",t.components.borderRadius.xl),r.style.setProperty("--topiray-font-family",t.components.typography.fontFamily),r.style.setProperty("--topiray-font-size-xs",t.components.typography.fontSize.xs),r.style.setProperty("--topiray-font-size-sm",t.components.typography.fontSize.sm),r.style.setProperty("--topiray-font-size-md",t.components.typography.fontSize.md),r.style.setProperty("--topiray-font-size-lg",t.components.typography.fontSize.lg),r.style.setProperty("--topiray-font-size-xl",t.components.typography.fontSize.xl),r.style.setProperty("--topiray-font-size-xxl",t.components.typography.fontSize.xxl),r.style.setProperty("--topiray-font-weight-normal",t.components.typography.fontWeight.normal),r.style.setProperty("--topiray-font-weight-medium",t.components.typography.fontWeight.medium),r.style.setProperty("--topiray-font-weight-semibold",t.components.typography.fontWeight.semibold),r.style.setProperty("--topiray-font-weight-bold",t.components.typography.fontWeight.bold),r.style.setProperty("--topiray-line-height-tight",t.components.typography.lineHeight.tight),r.style.setProperty("--topiray-line-height-normal",t.components.typography.lineHeight.normal),r.style.setProperty("--topiray-line-height-relaxed",t.components.typography.lineHeight.relaxed),r.style.setProperty("--topiray-shadow-sm",t.components.shadows.sm),r.style.setProperty("--topiray-shadow-md",t.components.shadows.md),r.style.setProperty("--topiray-shadow-lg",t.components.shadows.lg),r.style.setProperty("--topiray-shadow-xl",t.components.shadows.xl),r.style.setProperty("--topiray-transition-fast",t.components.transitions.fast),r.style.setProperty("--topiray-transition-normal",t.components.transitions.normal),r.style.setProperty("--topiray-transition-slow",t.components.transitions.slow)},[t]),f.jsxDEV(dn.Provider,{value:{theme:t},children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/theme/ThemeProvider.tsx",lineNumber:98,columnNumber:5},void 0)),Fe={layout:"_layout_yv7xa_1",leftPane:"_leftPane_yv7xa_29",leftBackground:"_leftBackground_yv7xa_53",leftContent:"_leftContent_yv7xa_79",logoIcon:"_logoIcon_yv7xa_101",backgroundBlur:"_backgroundBlur_yv7xa_117",rightPane:"_rightPane_yv7xa_149"},xs=({leftContent:e,rightContent:t,leftBackgroundImage:r,logoSrc:n,className:o})=>{const{theme:s}=ee(),i=[Fe.layout,o].filter(Boolean).join(" ");return f.jsxDEV("div",{className:i,children:[f.jsxDEV("div",{className:Fe.leftPane,children:f.jsxDEV("div",{className:Fe.leftBackground,style:{backgroundImage:r?`url(${r})`:void 0},children:f.jsxDEV("div",{className:Fe.leftContent,children:[e||f.jsxDEV(f.Fragment,{children:[(n||s.brand.logo)&&f.jsxDEV("img",{className:Fe.logoIcon,alt:s.brand.logoAlt||"Logo",src:n||s.brand.logo},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:33,columnNumber:19},void 0),s.customization.leftPanelContent]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:31,columnNumber:15},void 0),f.jsxDEV("div",{className:Fe.backgroundBlur},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:42,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:29,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:23,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:22,columnNumber:7},void 0),f.jsxDEV("div",{className:Fe.rightPane,children:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:46,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/TwoPanelLayout.tsx",lineNumber:21,columnNumber:5},void 0)},pt={container:"_container_gqjw7_1",contentWrapper:"_contentWrapper_gqjw7_33",middle:"_middle_gqjw7_55",right:"_right_gqjw7_69"},ws=({middle:e,right:t,className:r})=>{ee();const n=[pt.container,r].filter(Boolean).join(" ");return f.jsxDEV("div",{className:n,children:f.jsxDEV("div",{className:pt.contentWrapper,children:[f.jsxDEV("div",{className:pt.middle,children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/NavLinksLayout.tsx",lineNumber:21,columnNumber:9},void 0),t&&f.jsxDEV("div",{className:pt.right,children:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/NavLinksLayout.tsx",lineNumber:25,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/NavLinksLayout.tsx",lineNumber:20,columnNumber:7},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/layouts/NavLinksLayout.tsx",lineNumber:19,columnNumber:5},void 0)},Ze={black:"#000",white:"#fff"},Ue={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ve={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Me={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Oe={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Je={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},et={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Cs={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Pe(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Ss="$$material";function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wt.apply(null,arguments)}function _s(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Es(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ts=function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!1:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Es(this));var o=this.tags[this.tags.length-1];{var s=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;s&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
10
|
+
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!s}if(this.isSpeedy){var i=_s(o);try{i.insertRule(n,i.cssRules.length)}catch(a){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)||console.error('There was a problem inserting the following rule: "'+n+'"',a)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),X="-ms-",ht="-moz-",j="-webkit-",Ht="comm",Kt="rule",Gt="decl",Ds="@import",fn="@keyframes",ks="@layer",Fs=Math.abs,gt=String.fromCharCode,Ps=Object.assign;function As(e,t){return Q(e,0)^45?(((t<<2^Q(e,0))<<2^Q(e,1))<<2^Q(e,2))<<2^Q(e,3):0}function mn(e){return e.trim()}function Bs(e,t){return(e=t.exec(e))?e[0]:e}function I(e,t,r){return e.replace(t,r)}function Yt(e,t){return e.indexOf(t)}function Q(e,t){return e.charCodeAt(t)|0}function tt(e,t,r){return e.slice(t,r)}function fe(e){return e.length}function Qt(e){return e.length}function yt(e,t){return t.push(e),e}function $s(e,t){return e.map(t).join("")}var bt=1,Le=1,pn=0,re=0,K=0,ze="";function vt(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:bt,column:Le,length:i,return:""}}function rt(e,t){return Ps(vt("",null,null,"",null,null,0),e,{length:-e.length},t)}function js(){return K}function Is(){return K=re>0?Q(ze,--re):0,Le--,K===10&&(Le=1,bt--),K}function ne(){return K=re<pn?Q(ze,re++):0,Le++,K===10&&(Le=1,bt++),K}function me(){return Q(ze,re)}function Nt(){return re}function nt(e,t){return tt(ze,e,t)}function ot(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function hn(e){return bt=Le=1,pn=fe(ze=e),re=0,[]}function gn(e){return ze="",e}function xt(e){return mn(nt(re-1,Xt(e===91?e+2:e===40?e+1:e)))}function Rs(e){for(;(K=me())&&K<33;)ne();return ot(e)>2||ot(K)>3?"":" "}function Us(e,t){for(;--t&&ne()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return nt(e,Nt()+(t<6&&me()==32&&ne()==32))}function Xt(e){for(;ne();)switch(K){case e:return re;case 34:case 39:e!==34&&e!==39&&Xt(K);break;case 40:e===41&&Xt(e);break;case 92:ne();break}return re}function Vs(e,t){for(;ne()&&e+K!==57;)if(e+K===84&&me()===47)break;return"/*"+nt(t,re-1)+"*"+gt(e===47?e:ne())}function Ms(e){for(;!ot(me());)ne();return nt(e,re)}function Os(e){return gn(wt("",null,null,null,[""],e=hn(e),0,[0],e))}function wt(e,t,r,n,o,s,i,a,c){for(var u=0,m=0,h=i,p=0,y=0,g=0,d=1,x=1,N=1,E=0,w="",_=o,v=s,C=n,T=w;x;)switch(g=E,E=ne()){case 40:if(g!=108&&Q(T,h-1)==58){Yt(T+=I(xt(E),"&","&\f"),"&\f")!=-1&&(N=-1);break}case 34:case 39:case 91:T+=xt(E);break;case 9:case 10:case 13:case 32:T+=Rs(g);break;case 92:T+=Us(Nt()-1,7);continue;case 47:switch(me()){case 42:case 47:yt(Js(Vs(ne(),Nt()),t,r),c);break;default:T+="/"}break;case 123*d:a[u++]=fe(T)*N;case 125*d:case 59:case 0:switch(E){case 0:case 125:x=0;case 59+m:N==-1&&(T=I(T,/\f/g,"")),y>0&&fe(T)-h&&yt(y>32?bn(T+";",n,r,h-1):bn(I(T," ","")+";",n,r,h-2),c);break;case 59:T+=";";default:if(yt(C=yn(T,t,r,u,m,o,a,w,_=[],v=[],h),s),E===123)if(m===0)wt(T,t,C,C,_,s,h,a,v);else switch(p===99&&Q(T,3)===110?100:p){case 100:case 108:case 109:case 115:wt(e,C,C,n&&yt(yn(e,C,C,0,0,o,a,w,o,_=[],h),v),o,v,h,a,n?_:v);break;default:wt(T,C,C,C,[""],v,0,a,v)}}u=m=y=0,d=N=1,w=T="",h=i;break;case 58:h=1+fe(T),y=g;default:if(d<1){if(E==123)--d;else if(E==125&&d++==0&&Is()==125)continue}switch(T+=gt(E),E*d){case 38:N=m>0?1:(T+="\f",-1);break;case 44:a[u++]=(fe(T)-1)*N,N=1;break;case 64:me()===45&&(T+=xt(ne())),p=me(),m=h=fe(w=T+=Ms(Nt())),E++;break;case 45:g===45&&fe(T)==2&&(d=0)}}return s}function yn(e,t,r,n,o,s,i,a,c,u,m){for(var h=o-1,p=o===0?s:[""],y=Qt(p),g=0,d=0,x=0;g<n;++g)for(var N=0,E=tt(e,h+1,h=Fs(d=i[g])),w=e;N<y;++N)(w=mn(d>0?p[N]+" "+E:I(E,/&\f/g,p[N])))&&(c[x++]=w);return vt(e,t,r,o===0?Kt:a,c,u,m)}function Js(e,t,r){return vt(e,t,r,Ht,gt(js()),tt(e,2,-2),0)}function bn(e,t,r,n){return vt(e,t,r,Gt,tt(e,0,n),tt(e,n+1,-1),n)}function qe(e,t){for(var r="",n=Qt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ls(e,t,r,n){switch(e.type){case ks:if(e.children.length)break;case Ds:case Gt:return e.return=e.return||e.value;case Ht:return"";case fn:return e.return=e.value+"{"+qe(e.children,n)+"}";case Kt:e.value=e.props.join(",")}return fe(r=qe(e.children,n))?e.return=e.value+"{"+r+"}":""}function zs(e){var t=Qt(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function vn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var qs=function(t,r,n){for(var o=0,s=0;o=s,s=me(),o===38&&s===12&&(r[n]=1),!ot(s);)ne();return nt(t,re)},Ws=function(t,r){var n=-1,o=44;do switch(ot(o)){case 0:o===38&&me()===12&&(r[n]=1),t[n]+=qs(re-1,r,n);break;case 2:t[n]+=xt(o);break;case 4:if(o===44){t[++n]=me()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=gt(o)}while(o=ne());return t},Hs=function(t,r){return gn(Ws(hn(t),r))},Nn=new WeakMap,Ks=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Nn.get(n))&&!o){Nn.set(t,!0);for(var s=[],i=Hs(r,s),a=n.props,c=0,u=0;c<i.length;c++)for(var m=0;m<a.length;m++,u++)t.props[u]=s[c]?i[c].replace(/&\f/g,a[m]):a[m]+" "+i[c]}}},Gs=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Ys="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Qs=function(t){return t.type==="comm"&&t.children.indexOf(Ys)>-1},Xs=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var s=r.value.match(/(:first|:nth|:nth-last)-child/g);if(s){for(var i=!!r.parent,a=i?r.parent.children:o,c=a.length-1;c>=0;c--){var u=a[c];if(u.line<r.line)break;if(u.column<r.column){if(Qs(u))return;break}}s.forEach(function(m){console.error('The pseudo class "'+m+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+m.split("-child")[0]+'-of-type".')})}}}},xn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Zs=function(t,r){for(var n=t-1;n>=0;n--)if(!xn(r[n]))return!0;return!1},wn=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ei=function(t,r,n){xn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),wn(t)):Zs(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),wn(t)))};function Cn(e,t){switch(As(e,t)){case 5103:return j+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+ht+e+X+e+e;case 6828:case 4268:return j+e+X+e+e;case 6165:return j+e+X+"flex-"+e+e;case 5187:return j+e+I(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return j+e+X+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return j+e+X+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+X+I(e,"shrink","negative")+e;case 5292:return j+e+X+I(e,"basis","preferred-size")+e;case 6060:return j+"box-"+I(e,"-grow","")+j+e+X+I(e,"grow","positive")+e;case 4554:return j+I(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,j+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(fe(e)-1-t>6)switch(Q(e,t+1)){case 109:if(Q(e,t+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+ht+(Q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yt(e,"stretch")?Cn(I(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Q(e,t+1)!==115)break;case 6444:switch(Q(e,fe(e)-3-(~Yt(e,"!important")&&10))){case 107:return I(e,":",":"+j)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(Q(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Q(e,t+11)){case 114:return j+e+X+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+X+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+X+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+X+e+e}return e}var ti=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Gt:t.return=Cn(t.value,t.length);break;case fn:return qe([rt(t,{value:I(t.value,"@","@"+j)})],o);case Kt:if(t.length)return $s(t.props,function(s){switch(Bs(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([rt(t,{props:[I(s,/:(read-\w+)/,":"+ht+"$1")]})],o);case"::placeholder":return qe([rt(t,{props:[I(s,/:(plac\w+)/,":"+j+"input-$1")]}),rt(t,{props:[I(s,/:(plac\w+)/,":"+ht+"$1")]}),rt(t,{props:[I(s,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},ri=[ti],Zt;{var ni=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Zt=function(t){var r=t.match(ni);if(r)return r[r.length-1]}}var oi=function(t){var r=t.key;if(!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
11
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(d){var x=d.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var o=t.stylisPlugins||ri;if(/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(d){for(var x=d.getAttribute("data-emotion").split(" "),N=1;N<x.length;N++)s[x[N]]=!0;a.push(d)});var c,u=[Ks,Gs];u.push(Xs({get compat(){return g.compat}}),ei);{var m,h=[Ls,function(d){d.root||(d.return?m.insert(d.return):d.value&&d.type!==Ht&&m.insert(d.value+"{}"))}],p=zs(u.concat(o,h)),y=function(x){return qe(Os(x),p)};c=function(x,N,E,w){if(m=E,Zt){var _=Zt(N.styles);_&&(m={insert:function(C){E.insert(C+_)}})}y(x?x+"{"+N.styles+"}":N.styles),w&&(g.inserted[N.name]=!0)}}var g={key:r,sheet:new Ts({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:c};return g.sheet.hydrate(a),g},er={exports:{}},R={};/** @license React v16.13.1
|
|
2
12
|
* react-is.production.min.js
|
|
3
13
|
*
|
|
4
14
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
15
|
*
|
|
6
16
|
* This source code is licensed under the MIT license found in the
|
|
7
17
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var nn;function ki(){if(nn)return M;nn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function _(w){if(typeof w=="object"&&w!==null){var S=w.$$typeof;switch(S){case t:switch(w=w.type,w){case l:case d:case n:case i:case o:case p:return w;default:switch(w=w&&w.$$typeof,w){case s:case g:case h:case y:case a:return w;default:return S}}case r:return S}}}function x(w){return _(w)===d}return M.AsyncMode=l,M.ConcurrentMode=d,M.ContextConsumer=s,M.ContextProvider=a,M.Element=t,M.ForwardRef=g,M.Fragment=n,M.Lazy=h,M.Memo=y,M.Portal=r,M.Profiler=i,M.StrictMode=o,M.Suspense=p,M.isAsyncMode=function(w){return x(w)||_(w)===l},M.isConcurrentMode=x,M.isContextConsumer=function(w){return _(w)===s},M.isContextProvider=function(w){return _(w)===a},M.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},M.isForwardRef=function(w){return _(w)===g},M.isFragment=function(w){return _(w)===n},M.isLazy=function(w){return _(w)===h},M.isMemo=function(w){return _(w)===y},M.isPortal=function(w){return _(w)===r},M.isProfiler=function(w){return _(w)===i},M.isStrictMode=function(w){return _(w)===o},M.isSuspense=function(w){return _(w)===p},M.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===d||w===i||w===o||w===p||w===m||typeof w=="object"&&w!==null&&(w.$$typeof===h||w.$$typeof===y||w.$$typeof===a||w.$$typeof===s||w.$$typeof===g||w.$$typeof===T||w.$$typeof===C||w.$$typeof===A||w.$$typeof===u)},M.typeOf=_,M}var on;function Ti(){return on||(on=1,Rt.exports=ki()),Rt.exports}var Ut,an;function Ai(){if(an)return Ut;an=1;var e=Ti(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(h){return e.isMemo(h)?o:i[h.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function y(h,u,T){if(typeof u!="string"){if(m){var C=p(u);C&&C!==m&&y(h,C,T)}var A=l(u);d&&(A=A.concat(d(u)));for(var _=a(h),x=a(u),w=0;w<A.length;++w){var S=A[w];if(!r[S]&&!(T&&T[S])&&!(x&&x[S])&&!(_&&_[S])){var k=g(u,S);try{s(h,S,k)}catch{}}}}return h}return Ut=y,Ut}Ai();var Pi=!0;function sn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Ht=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Pi===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},cn=function(t,r,n){Ht(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function $i(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ei={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale: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},Bi=/[A-Z]|^ms/g,Ni=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ln=function(t){return t.charCodeAt(1)===45},un=function(t){return t!=null&&typeof t!="boolean"},Wt=en(function(e){return ln(e)?e:e.replace(Bi,"-$&").toLowerCase()}),dn=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ni,function(n,o,i){return he={name:o,styles:i,next:he},o})}return Ei[t]!==1&&!ln(t)&&typeof r=="number"&&r!==0?r+"px":r};function nt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return he={name:o.name,styles:o.styles,next:he},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)he={name:a.name,styles:a.styles,next:he},a=a.next;var s=i.styles+";";return s}return Ii(e,t,r)}case"function":{if(e!==void 0){var l=he,d=r(e);return he=l,nt(e,t,d)}break}}var g=r;if(t==null)return g;var p=t[g];return p!==void 0?p:g}function Ii(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=nt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":un(s)&&(n+=Wt(i)+":"+dn(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)un(a[l])&&(n+=Wt(i)+":"+dn(i,a[l])+";");else{var d=nt(e,t,a);switch(i){case"animation":case"animationName":{n+=Wt(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var fn=/label:\s*([^\s;{]+)\s*(;|$)/g,he;function wt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";he=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=nt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=nt(r,t,e[s]),n){var l=i;o+=l[s]}fn.lastIndex=0;for(var d="",g;(g=fn.exec(o))!==null;)d+="-"+g[1];var p=$i(o)+d;return{name:p,styles:o,next:he}}var Fi=function(t){return t()},Mi=W.useInsertionEffect?W.useInsertionEffect:!1,pn=Mi||Fi,hn=W.createContext(typeof HTMLElement<"u"?Si({key:"css"}):null);hn.Provider;var gn=function(t){return j.forwardRef(function(r,n){var o=j.useContext(hn);return t(r,o,n)})},mn=W.createContext({}),Vt={}.hasOwnProperty,Kt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Oi=function(t,r){var n={};for(var o in r)Vt.call(r,o)&&(n[o]=r[o]);return n[Kt]=t,n},Li=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ht(r,n,o),pn(function(){return cn(r,n,o)}),null},ji=gn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Kt],i=[n],a="";typeof e.className=="string"?a=sn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=wt(i,void 0,W.useContext(mn));a+=t.key+"-"+s.name;var l={};for(var d in e)Vt.call(e,d)&&d!=="css"&&d!==Kt&&(l[d]=e[d]);return l.className=a,r&&(l.ref=r),W.createElement(W.Fragment,null,W.createElement(Li,{cache:t,serialized:s,isStringTag:typeof o=="string"}),W.createElement(o,l))}),Di=ji,yn=function(t,r){var n=arguments;if(r==null||!Vt.call(r,"css"))return W.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Di,i[1]=Oi(t,r);for(var a=2;a<o;a++)i[a]=n[a];return W.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(yn||(yn={}));function Gt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wt(t)}function bn(){var e=Gt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,qi=en(function(e){return zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ri=qi,Ui=function(t){return t!=="theme"},wn=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ri:Ui},Cn=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Hi=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ht(r,n,o),pn(function(){return cn(r,n,o)}),null},Wi=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Cn(t,r,n),l=s||wn(o),d=!l("as");return function(){var g=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),g[0]==null||g[0].raw===void 0)p.push.apply(p,g);else{var m=g[0];p.push(m[0]);for(var y=g.length,h=1;h<y;h++)p.push(g[h],m[h])}var u=gn(function(T,C,A){var _=d&&T.as||o,x="",w=[],S=T;if(T.theme==null){S={};for(var k in T)S[k]=T[k];S.theme=W.useContext(mn)}typeof T.className=="string"?x=sn(C.registered,w,T.className):T.className!=null&&(x=T.className+" ");var B=wt(p.concat(w),C.registered,S);x+=C.key+"-"+B.name,a!==void 0&&(x+=" "+a);var P=d&&s===void 0?wn(_):l,c={};for(var v in T)d&&v==="as"||P(v)&&(c[v]=T[v]);return c.className=x,A&&(c.ref=A),W.createElement(W.Fragment,null,W.createElement(Hi,{cache:C,serialized:B,isStringTag:typeof _=="string"}),W.createElement(_,c))});return u.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",u.defaultProps=t.defaultProps,u.__emotion_real=u,u.__emotion_base=o,u.__emotion_styles=p,u.__emotion_forwardProp=s,Object.defineProperty(u,"toString",{value:function(){return"."+a}}),u.withComponent=function(T,C){var A=e(T,Ot({},r,C,{shouldForwardProp:Cn(u,C,!0)}));return A.apply(void 0,p)},u}},Vi=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Yt=Wi.bind(null);Vi.forEach(function(e){Yt[e]=Yt(e)});function Ki(e,t){return Yt(e,t)}function Gi(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const _n=[];function Be(e){return _n[0]=e,wt(_n)}var Jt={exports:{}},L={};/**
|
|
18
|
+
*/var Sn;function si(){if(Sn)return R;Sn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(v){if(typeof v=="object"&&v!==null){var C=v.$$typeof;switch(C){case t:switch(v=v.type,v){case c:case u:case n:case s:case o:case h:return v;default:switch(v=v&&v.$$typeof,v){case a:case m:case g:case y:case i:return v;default:return C}}case r:return C}}}function _(v){return w(v)===u}return R.AsyncMode=c,R.ConcurrentMode=u,R.ContextConsumer=a,R.ContextProvider=i,R.Element=t,R.ForwardRef=m,R.Fragment=n,R.Lazy=g,R.Memo=y,R.Portal=r,R.Profiler=s,R.StrictMode=o,R.Suspense=h,R.isAsyncMode=function(v){return _(v)||w(v)===c},R.isConcurrentMode=_,R.isContextConsumer=function(v){return w(v)===a},R.isContextProvider=function(v){return w(v)===i},R.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},R.isForwardRef=function(v){return w(v)===m},R.isFragment=function(v){return w(v)===n},R.isLazy=function(v){return w(v)===g},R.isMemo=function(v){return w(v)===y},R.isPortal=function(v){return w(v)===r},R.isProfiler=function(v){return w(v)===s},R.isStrictMode=function(v){return w(v)===o},R.isSuspense=function(v){return w(v)===h},R.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===u||v===s||v===o||v===h||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===g||v.$$typeof===y||v.$$typeof===i||v.$$typeof===a||v.$$typeof===m||v.$$typeof===x||v.$$typeof===N||v.$$typeof===E||v.$$typeof===d)},R.typeOf=w,R}var _n;function ii(){return _n||(_n=1,er.exports=si()),er.exports}var tr,En;function ai(){if(En)return tr;En=1;var e=ii(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=n,s[e.Memo]=o;function i(g){return e.isMemo(g)?o:s[g.$$typeof]||t}var a=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function y(g,d,x){if(typeof d!="string"){if(p){var N=h(d);N&&N!==p&&y(g,N,x)}var E=c(d);u&&(E=E.concat(u(d)));for(var w=i(g),_=i(d),v=0;v<E.length;++v){var C=E[v];if(!r[C]&&!(x&&x[C])&&!(_&&_[C])&&!(w&&w[C])){var T=m(d,C);try{a(g,C,T)}catch{}}}}return g}return tr=y,tr}ai();var ci=!0;function rr(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Ct=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||ci===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},St=function(t,r,n){Ct(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function li(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ui={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale: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},di=!0,Tn=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
19
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
20
|
+
You can read more about this here:
|
|
21
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,fi="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",mi=/[A-Z]|^ms/g,Dn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nr=function(t){return t.charCodeAt(1)===45},kn=function(t){return t!=null&&typeof t!="boolean"},or=vn(function(e){return nr(e)?e:e.replace(mi,"-$&").toLowerCase()}),_t=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Dn,function(n,o,s){return pe={name:o,styles:s,next:pe},o})}return ui[t]!==1&&!nr(t)&&typeof r=="number"&&r!==0?r+"px":r};{var pi=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,hi=["normal","none","initial","inherit","unset"],gi=_t,yi=/^-ms-/,bi=/-(.)/g,Fn={};_t=function(t,r){if(t==="content"&&(typeof r!="string"||hi.indexOf(r)===-1&&!pi.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=gi(t,r);return n!==""&&!nr(t)&&t.indexOf("-")!==-1&&Fn[t]===void 0&&(Fn[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(yi,"ms-").replace(bi,function(o,s){return s.toUpperCase()})+"?")),n}}var Pn="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function st(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0){if(String(n)==="NO_COMPONENT_SELECTOR")throw new Error(Pn);return n}switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return pe={name:o.name,styles:o.styles,next:pe},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)pe={name:i.name,styles:i.styles,next:pe},i=i.next;var a=s.styles+";";return a}return Ni(e,t,r)}case"function":{if(e!==void 0){var c=pe,u=r(e);return pe=c,st(e,t,u)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":{var m=[],h=r.replace(Dn,function(g,d,x){var N="animation"+m.length;return m.push("const "+N+" = keyframes`"+x.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+N+"}"});m.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(m,["`"+h+"`"]).join(`
|
|
22
|
+
`)+`
|
|
23
|
+
|
|
24
|
+
You should wrap it with \`css\` like this:
|
|
25
|
+
|
|
26
|
+
css\``+h+"`")}break}var p=r;if(t==null)return p;var y=t[p];return y!==void 0?y:p}function Ni(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=st(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?n+=s+"{"+t[a]+"}":kn(a)&&(n+=or(s)+":"+_t(s,a)+";")}else{if(s==="NO_COMPONENT_SELECTOR"&&di)throw new Error(Pn);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var c=0;c<i.length;c++)kn(i[c])&&(n+=or(s)+":"+_t(s,i[c])+";");else{var u=st(e,t,i);switch(s){case"animation":case"animationName":{n+=or(s)+":"+u+";";break}default:s==="undefined"&&console.error(fi),n+=s+"{"+u+"}"}}}}return n}var An=/label:\s*([^\s;{]+)\s*(;|$)/g,pe;function Ae(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";pe=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=st(r,t,s);else{var i=s;i[0]===void 0&&console.error(Tn),o+=i[0]}for(var a=1;a<e.length;a++)if(o+=st(r,t,e[a]),n){var c=s;c[a]===void 0&&console.error(Tn),o+=c[a]}An.lastIndex=0;for(var u="",m;(m=An.exec(o))!==null;)u+="-"+m[1];var h=li(o)+u;{var p={name:h,styles:o,next:pe,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};return p}}var xi=function(t){return t()},Bn=U.useInsertionEffect?U.useInsertionEffect:!1,sr=Bn||xi,$n=Bn||U.useLayoutEffect,ir=U.createContext(typeof HTMLElement<"u"?oi({key:"css"}):null);ir.displayName="EmotionCacheContext",ir.Provider;var Et=function(t){return B.forwardRef(function(r,n){var o=B.useContext(ir);return t(r,o,n)})},it=U.createContext({});it.displayName="EmotionThemeContext";var ar={}.hasOwnProperty,jn=function(t){var r=t.split(".");return r[r.length-1]},wi=function(t){var r=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(r||(r=/^([A-Za-z0-9$.]+)@/.exec(t),r))return jn(r[1])},Ci=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Si=function(t){return t.replace(/\$/g,"-")},_i=function(t){if(t)for(var r=t.split(`
|
|
27
|
+
`),n=0;n<r.length;n++){var o=wi(r[n]);if(o){if(Ci.has(o))break;if(/^[A-Z]/.test(o))return Si(o)}}},cr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lr="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ei=function(t,r){if(typeof r.css=="string"&&r.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+r.css+"`");var n={};for(var o in r)ar.call(r,o)&&(n[o]=r[o]);if(n[cr]=t,typeof globalThis<"u"&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&r.css&&(typeof r.css!="object"||!("name"in r.css)||typeof r.css.name!="string"||r.css.name.indexOf("-")===-1)){var s=_i(new Error().stack);s&&(n[lr]=s)}return n},Ti=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ct(r,n,o),sr(function(){return St(r,n,o)}),null},In=Et(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[cr],s=[n],i="";typeof e.className=="string"?i=rr(t.registered,s,e.className):e.className!=null&&(i=e.className+" ");var a=Ae(s,void 0,U.useContext(it));if(a.name.indexOf("-")===-1){var c=e[lr];c&&(a=Ae([a,"label:"+c+";"]))}i+=t.key+"-"+a.name;var u={};for(var m in e)ar.call(e,m)&&m!=="css"&&m!==cr&&m!==lr&&(u[m]=e[m]);return u.className=i,r&&(u.ref=r),U.createElement(U.Fragment,null,U.createElement(Ti,{cache:t,serialized:a,isStringTag:typeof o=="string"}),U.createElement(o,u))});In.displayName="EmotionCssPropInternal";var Di=In,Rn=!0,ki={version:"11.14.0"},Un=function(t,r){var n=arguments;if(r==null||!ar.call(r,"css"))return U.createElement.apply(void 0,n);var o=n.length,s=new Array(o);s[0]=Di,s[1]=Ei(t,r);for(var i=2;i<o;i++)s[i]=n[i];return U.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Un||(Un={}));var Vn=!1,Fi=Et(function(e,t){!Vn&&("className"in e&&e.className||"css"in e&&e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Vn=!0);var r=e.styles,n=Ae([r],void 0,U.useContext(it)),o=U.useRef();return $n(function(){var s=t.key+"-global",i=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+s+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),c!==null&&(a=!0,c.setAttribute("data-emotion",s),i.hydrate([c])),o.current=[i,a],function(){i.flush()}},[t]),$n(function(){var s=o.current,i=s[0],a=s[1];if(a){s[1]=!1;return}if(n.next!==void 0&&St(t,n.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});Fi.displayName="EmotionGlobal";function ur(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t)}function Mn(){var e=ur.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Pi=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var s=t[n];if(s!=null){var i=void 0;switch(typeof s){case"boolean":break;case"object":{if(Array.isArray(s))i=e(s);else{s.styles!==void 0&&s.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var a in s)s[a]&&a&&(i&&(i+=" "),i+=a)}break}default:i=s}i&&(o&&(o+=" "),o+=i)}}return o};function Ai(e,t,r){var n=[],o=rr(e,n,r);return n.length<2?r:o+t(n)}var Bi=function(t){var r=t.cache,n=t.serializedArr;return sr(function(){for(var o=0;o<n.length;o++)St(r,n[o],!1)}),null},$i=Et(function(e,t){var r=!1,n=[],o=function(){if(r&&Rn)throw new Error("css can only be used during render");for(var u=arguments.length,m=new Array(u),h=0;h<u;h++)m[h]=arguments[h];var p=Ae(m,t.registered);return n.push(p),Ct(t,p,!1),t.key+"-"+p.name},s=function(){if(r&&Rn)throw new Error("cx can only be used during render");for(var u=arguments.length,m=new Array(u),h=0;h<u;h++)m[h]=arguments[h];return Ai(t.registered,o,Pi(m))},i={css:o,cx:s,theme:U.useContext(it)},a=e.children(i);return r=!0,U.createElement(U.Fragment,null,U.createElement(Bi,{cache:t,serializedArr:n}),a)});$i.displayName="EmotionClassNames";{var On=typeof document<"u",ji=typeof jest<"u"||typeof vi<"u";if(On&&!ji){var Jn=typeof globalThis<"u"?globalThis:On?window:global,Ln="__EMOTION_REACT_"+ki.version.split(".")[0]+"__";Jn[Ln]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Jn[Ln]=!0}}var Ii=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ri=vn(function(e){return Ii.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ui=!0,Vi=Ri,Mi=function(t){return t!=="theme"},zn=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Vi:Mi},qn=function(t,r,n){var o;if(r){var s=r.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(i){return t.__emotion_forwardProp(i)&&s(i)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Wn=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
28
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
29
|
+
You can read more about this here:
|
|
30
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Oi=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ct(r,n,o),sr(function(){return St(r,n,o)}),null},Ji=function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
31
|
+
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,i;r!==void 0&&(s=r.label,i=r.target);var a=qn(t,r,n),c=a||zn(o),u=!c("as");return function(){var m=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&h.push("label:"+s+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{var p=m[0];p[0]===void 0&&console.error(Wn),h.push(p[0]);for(var y=m.length,g=1;g<y;g++)p[g]===void 0&&console.error(Wn),h.push(m[g],p[g])}var d=Et(function(x,N,E){var w=u&&x.as||o,_="",v=[],C=x;if(x.theme==null){C={};for(var T in x)C[T]=x[T];C.theme=U.useContext(it)}typeof x.className=="string"?_=rr(N.registered,v,x.className):x.className!=null&&(_=x.className+" ");var P=Ae(h.concat(v),N.registered,C);_+=N.key+"-"+P.name,i!==void 0&&(_+=" "+i);var D=u&&a===void 0?zn(w):c,l={};for(var S in x)u&&S==="as"||D(S)&&(l[S]=x[S]);return l.className=_,E&&(l.ref=E),U.createElement(U.Fragment,null,U.createElement(Oi,{cache:N,serialized:P,isStringTag:typeof w=="string"}),U.createElement(w,l))});return d.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=o,d.__emotion_styles=h,d.__emotion_forwardProp=a,Object.defineProperty(d,"toString",{value:function(){return i===void 0&&Ui?"NO_COMPONENT_SELECTOR":"."+i}}),d.withComponent=function(x,N){var E=e(x,Wt({},r,N,{shouldForwardProp:qn(d,N,!0)}));return E.apply(void 0,h)},d}},Li=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],dr=Ji.bind(null);Li.forEach(function(e){dr[e]=dr(e)});function zi(e,t){return dr(e,t)}function qi(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Hn=[];function Be(e){return Hn[0]=e,Ae(Hn)}var fr={exports:{}},V={};/**
|
|
9
32
|
* @license React
|
|
10
33
|
* react-is.production.js
|
|
11
34
|
*
|
|
@@ -13,14 +36,14 @@
|
|
|
13
36
|
*
|
|
14
37
|
* This source code is licensed under the MIT license found in the
|
|
15
38
|
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/var vn;function Yi(){if(vn)return L;vn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function h(u){if(typeof u=="object"&&u!==null){var T=u.$$typeof;switch(T){case e:switch(u=u.type,u){case r:case o:case n:case l:case d:case m:return u;default:switch(u=u&&u.$$typeof,u){case a:case s:case p:case g:return u;case i:return u;default:return T}}case t:return T}}}return L.ContextConsumer=i,L.ContextProvider=a,L.Element=e,L.ForwardRef=s,L.Fragment=r,L.Lazy=p,L.Memo=g,L.Portal=t,L.Profiler=o,L.StrictMode=n,L.Suspense=l,L.SuspenseList=d,L.isContextConsumer=function(u){return h(u)===i},L.isContextProvider=function(u){return h(u)===a},L.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},L.isForwardRef=function(u){return h(u)===s},L.isFragment=function(u){return h(u)===r},L.isLazy=function(u){return h(u)===p},L.isMemo=function(u){return h(u)===g},L.isPortal=function(u){return h(u)===t},L.isProfiler=function(u){return h(u)===o},L.isStrictMode=function(u){return h(u)===n},L.isSuspense=function(u){return h(u)===l},L.isSuspenseList=function(u){return h(u)===d},L.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===l||u===d||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===g||u.$$typeof===a||u.$$typeof===i||u.$$typeof===s||u.$$typeof===y||u.getModuleId!==void 0)},L.typeOf=h,L}var Sn;function Ji(){return Sn||(Sn=1,Jt.exports=Yi()),Jt.exports}var xn=Ji();function we(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function kn(e){if(W.isValidElement(e)||xn.isValidElementType(e)||!we(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=kn(e[r])}),t}function oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return we(e)&&we(t)&&Object.keys(t).forEach(o=>{W.isValidElement(t[o])||xn.isValidElementType(t[o])?n[o]=t[o]:we(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&we(e[o])?n[o]=oe(e[o],t[o],r):r.clone?n[o]=we(t[o])?kn(t[o]):t[o]:n[o]=t[o]}),n}const Qi=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Xi(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Qi(t),a=Object.keys(i);function s(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function d(m,y){const h=a.indexOf(y);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(h!==-1&&typeof t[a[h]]=="number"?t[a[h]]:y)-n/100}${r})`}function g(m){return a.indexOf(m)+1<a.length?d(m,a[a.indexOf(m)+1]):s(m)}function p(m){const y=a.indexOf(m);return y===0?s(a[1]):y===a.length-1?l(a[y]):d(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:l,between:d,only:g,not:p,unit:r,...o}}function Tn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Zi(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ea(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function ta(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const ra={borderRadius:4};function ot(e,t){return t?oe(e,t,{clone:!1}):e}const Ct={xs:0,sm:600,md:900,lg:1200,xl:1536},An={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ct[e]}px)`},na={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Ct[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ce(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||An;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||An;return Object.keys(t).reduce((a,s)=>{if(Zi(i.keys,s)){const l=ea(n.containerQueries?n:na,s);l&&(a[l]=r(t[s],s))}else if(Object.keys(i.values||Ct).includes(s)){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function oa(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function Pn(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function He(e){if(typeof e!="string")throw new Error(Ee(7));return e.charAt(0).toUpperCase()+e.slice(1)}function _t(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=_t(e,r)||n,t&&(o=t(o,n,e)),o}function V(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,d=_t(l,n)||{};return Ce(a,s,p=>{let m=vt(d,o,p);return p===m&&typeof p=="string"&&(m=vt(d,o,`${t}${p==="default"?"":He(p)}`,p)),r===!1?m:{[r]:m}})};return i.propTypes={},i.filterProps=[t],i}function ia(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const aa={m:"margin",p:"padding"},sa={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},$n={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ca=ia(e=>{if(e.length>2)if($n[e])e=$n[e];else return[e];const[t,r]=e.split(""),n=aa[t],o=sa[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Qt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Xt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Qt,...Xt];function it(e,t,r,n){const o=_t(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i),s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:()=>{}}function Zt(e){return it(e,"spacing",8)}function at(e,t){return typeof t=="string"||t==null?t:e(t)}function la(e,t){return r=>e.reduce((n,o)=>(n[o]=at(t,r),n),{})}function ua(e,t,r,n){if(!t.includes(r))return null;const o=ca(r),i=la(o,n),a=e[r];return Ce(e,a,i)}function En(e,t){const r=Zt(e.theme);return Object.keys(e).map(n=>ua(e,t,n,r)).reduce(ot,{})}function R(e){return En(e,Qt)}R.propTypes={},R.filterProps=Qt;function U(e){return En(e,Xt)}U.propTypes={},U.filterProps=Xt;function Bn(e=8,t=Zt({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function St(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?ot(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ce(e){return typeof e!="number"?e:`${e}px solid`}function le(e,t){return V({prop:e,themeKey:"borders",transform:t})}const da=le("border",ce),fa=le("borderTop",ce),pa=le("borderRight",ce),ha=le("borderBottom",ce),ga=le("borderLeft",ce),ma=le("borderColor"),ya=le("borderTopColor"),ba=le("borderRightColor"),wa=le("borderBottomColor"),Ca=le("borderLeftColor"),_a=le("outline",ce),va=le("outlineColor"),xt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=it(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:at(t,n)});return Ce(e,e.borderRadius,r)}return null};xt.propTypes={},xt.filterProps=["borderRadius"],St(da,fa,pa,ha,ga,ma,ya,ba,wa,Ca,xt,_a,va);const kt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=it(e.theme,"spacing",8),r=n=>({gap:at(t,n)});return Ce(e,e.gap,r)}return null};kt.propTypes={},kt.filterProps=["gap"];const Tt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=it(e.theme,"spacing",8),r=n=>({columnGap:at(t,n)});return Ce(e,e.columnGap,r)}return null};Tt.propTypes={},Tt.filterProps=["columnGap"];const At=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=it(e.theme,"spacing",8),r=n=>({rowGap:at(t,n)});return Ce(e,e.rowGap,r)}return null};At.propTypes={},At.filterProps=["rowGap"];const Sa=V({prop:"gridColumn"}),xa=V({prop:"gridRow"}),ka=V({prop:"gridAutoFlow"}),Ta=V({prop:"gridAutoColumns"}),Aa=V({prop:"gridAutoRows"}),Pa=V({prop:"gridTemplateColumns"}),$a=V({prop:"gridTemplateRows"}),Ea=V({prop:"gridTemplateAreas"}),Ba=V({prop:"gridArea"});St(kt,Tt,At,Sa,xa,ka,Ta,Aa,Pa,$a,Ea,Ba);function We(e,t){return t==="grey"?t:e}const Na=V({prop:"color",themeKey:"palette",transform:We}),Ia=V({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:We}),Fa=V({prop:"backgroundColor",themeKey:"palette",transform:We});St(Na,Ia,Fa);function ie(e){return e<=1&&e!==0?`${e*100}%`:e}const Ma=V({prop:"width",transform:ie}),er=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||Ct[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ie(r)}};return Ce(e,e.maxWidth,t)}return null};er.filterProps=["maxWidth"];const Oa=V({prop:"minWidth",transform:ie}),La=V({prop:"height",transform:ie}),ja=V({prop:"maxHeight",transform:ie}),Da=V({prop:"minHeight",transform:ie});V({prop:"size",cssProperty:"width",transform:ie}),V({prop:"size",cssProperty:"height",transform:ie});const za=V({prop:"boxSizing"});St(Ma,er,Oa,La,ja,Da,za);const Pt={border:{themeKey:"borders",transform:ce},borderTop:{themeKey:"borders",transform:ce},borderRight:{themeKey:"borders",transform:ce},borderBottom:{themeKey:"borders",transform:ce},borderLeft:{themeKey:"borders",transform:ce},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ce},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:xt},color:{themeKey:"palette",transform:We},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:We},backgroundColor:{themeKey:"palette",transform:We},p:{style:U},pt:{style:U},pr:{style:U},pb:{style:U},pl:{style:U},px:{style:U},py:{style:U},padding:{style:U},paddingTop:{style:U},paddingRight:{style:U},paddingBottom:{style:U},paddingLeft:{style:U},paddingX:{style:U},paddingY:{style:U},paddingInline:{style:U},paddingInlineStart:{style:U},paddingInlineEnd:{style:U},paddingBlock:{style:U},paddingBlockStart:{style:U},paddingBlockEnd:{style:U},m:{style:R},mt:{style:R},mr:{style:R},mb:{style:R},ml:{style:R},mx:{style:R},my:{style:R},margin:{style:R},marginTop:{style:R},marginRight:{style:R},marginBottom:{style:R},marginLeft:{style:R},marginX:{style:R},marginY:{style:R},marginInline:{style:R},marginInlineStart:{style:R},marginInlineEnd:{style:R},marginBlock:{style:R},marginBlockStart:{style:R},marginBlockEnd:{style:R},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:kt},rowGap:{style:At},columnGap:{style:Tt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ie},maxWidth:{style:er},minWidth:{transform:ie},height:{transform:ie},maxHeight:{transform:ie},minHeight:{transform:ie},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qa(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ra(e,t){return typeof e=="function"?e(t):e}function Ua(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:d,transform:g,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const m=_t(o,d)||{};return p?p(a):Ce(a,n,h=>{let u=vt(m,g,h);return h===u&&typeof h=="string"&&(u=vt(m,g,`${r}${h==="default"?"":He(h)}`,h)),l===!1?u:{[l]:u}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Pt;function s(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const g=oa(o.breakpoints),p=Object.keys(g);let m=g;return Object.keys(d).forEach(y=>{const h=Ra(d[y],o);if(h!=null)if(typeof h=="object")if(a[y])m=ot(m,e(y,h,o,a));else{const u=Ce({theme:o},h,T=>({[y]:T}));qa(u,h)?m[y]=t({sx:h,theme:o,nested:!0}):m=ot(m,u)}else m=ot(m,e(y,h,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Tn(o,Pn(p,m))}:Tn(o,Pn(p,m))}return Array.isArray(n)?n.map(s):s(n)}return t}const Ve=Ua();Ve.filterProps=["sx"];function Ha(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function Nn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Xi(r),l=Bn(o);let d=oe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...ra,...i}},a);return d=ta(d),d.applyStyles=Ha,d=t.reduce((g,p)=>oe(g,p),d),d.unstable_sxConfig={...Pt,...a?.unstable_sxConfig},d.unstable_sx=function(p){return Ve({sx:p,theme:this})},d}const In=e=>e,Wa=(()=>{let e=In;return{configure(t){e=t},generate(t){return e(t)},reset(){e=In}}})();function Fn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Fn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Fn(e))&&(n&&(n+=" "),n+=t);return n}const Va={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function On(e,t,r="Mui"){const n=Va[t];return n?`${r}-${n}`:`${Wa.generate(e)}-${t}`}function Ka(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=On(e,o,r)}),n}function Ln(e){const{variants:t,...r}=e,n={variants:t,style:Be(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Be(o.style))}),n}const Ga=Nn();function tr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ne(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ya(e){return e?(t,r)=>r[e]:null}function Ja(e,t,r){e.theme=Za(e.theme)?r:e.theme[t]||e.theme}function $t(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>$t(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?Ne(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?Ne(Be(a),r):a}return jn(e,n.variants,[o],r)}return n?.isProcessed?r?Ne(Be(n.style),r):n.style:r?Ne(Be(n),r):n}function jn(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&e.ownerState?.[s]!==a.props[s])continue e;typeof a.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Ne(Be(a.style(o)),n):a.style(o))):r.push(n?Ne(Be(a.style),n):a.style)}return r}function Qa(e={}){const{themeId:t,defaultTheme:r=Ga,rootShouldForwardProp:n=tr,slotShouldForwardProp:o=tr}=e;function i(s){Ja(s,t,r)}return(s,l={})=>{Gi(s,S=>S.filter(k=>k!==Ve));const{name:d,slot:g,skipVariantsResolver:p,skipSx:m,overridesResolver:y=Ya(ts(g)),...h}=l,u=d&&d.startsWith("Mui")||g?"components":"custom",T=p!==void 0?p:g&&g!=="Root"&&g!=="root"||!1,C=m||!1;let A=tr;g==="Root"||g==="root"?A=n:g?A=o:es(s)&&(A=void 0);const _=Ki(s,{shouldForwardProp:A,label:Xa(),...h}),x=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(B){return $t(B,S,B.theme.modularCssLayers?u:void 0)};if(we(S)){const k=Ln(S);return function(P){return k.variants?$t(P,k,P.theme.modularCssLayers?u:void 0):P.theme.modularCssLayers?Ne(k.style,u):k.style}}return S},w=(...S)=>{const k=[],B=S.map(x),P=[];if(k.push(i),d&&y&&P.push(function($){const K=$.theme.components?.[d]?.styleOverrides;if(!K)return null;const Pe={};for(const Ft in K)Pe[Ft]=$t($,K[Ft],$.theme.modularCssLayers?"theme":void 0);return y($,Pe)}),d&&!T&&P.push(function($){const K=$.theme?.components?.[d]?.variants;return K?jn($,K,[],$.theme.modularCssLayers?"theme":void 0):null}),C||P.push(Ve),Array.isArray(B[0])){const E=B.shift(),$=new Array(k.length).fill(""),N=new Array(P.length).fill("");let K;K=[...$,...E,...N],K.raw=[...$,...E.raw,...N],k.unshift(K)}const c=[...k,...B,...P],v=_(...c);return s.muiName&&(v.muiName=s.muiName),v};return _.withConfig&&(w.withConfig=_.withConfig),w}}function Xa(e,t){return void 0}function Za(e){for(const t in e)return!1;return!0}function es(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ts(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function rr(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const d=l;n[i][d]=rr(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=Mn(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}function rs(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function nr(e,t=0,r=1){return rs(e,t,r)}function ns(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ke(e){if(e.type)return e;if(e.charAt(0)==="#")return ke(ns(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Ee(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Ee(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const os=e=>{const t=ke(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},st=(e,t)=>{try{return os(e)}catch{return e}};function Et(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Dn(e){e=ke(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,g=(d+r/30)%12)=>o-i*Math.max(Math.min(g-3,9-g,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Et({type:s,values:l})}function or(e){e=ke(e);let t=e.type==="hsl"||e.type==="hsla"?ke(Dn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function is(e,t){const r=or(e),n=or(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function as(e,t){return e=ke(e),t=nr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Et(e)}function Bt(e,t,r){try{return as(e,t)}catch{return e}}function ir(e,t){if(e=ke(e),t=nr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Et(e)}function D(e,t,r){try{return ir(e,t)}catch{return e}}function ar(e,t){if(e=ke(e),t=nr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Et(e)}function z(e,t,r){try{return ar(e,t)}catch{return e}}function ss(e,t=.15){return or(e)>.5?ir(e,t):ar(e,t)}function Nt(e,t,r){try{return ss(e,t)}catch{return e}}const cs=W.createContext(void 0);function ls(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?rr(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?rr(o,n,t.components.mergeClassNameAndStyle):n}function us({props:e,name:t}){const r=W.useContext(cs);return ls({props:e,name:t,theme:{components:r}})}const zn={theme:void 0};function ds(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(zn.theme=o.theme,i=Ln(e(zn)),t=i,r=o.theme),i}}function fs(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const qn=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},ps=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!r||r&&!r([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}n(e)},hs=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function sr(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return ps(e,(s,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const g=`--${r?`${r}-`:""}${s.join("-")}`,p=hs(s,l);Object.assign(o,{[g]:p}),qn(i,s,`var(${g})`,d),qn(a,s,`var(${g}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function gs(e,t={}){const{getSelector:r=T,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...l}=e,{vars:d,css:g,varsWithDefaults:p}=sr(l,t);let m=p;const y={},{[s]:h,...u}=i;if(Object.entries(u||{}).forEach(([_,x])=>{const{vars:w,css:S,varsWithDefaults:k}=sr(x,t);m=oe(m,k),y[_]={css:S,vars:w}}),h){const{css:_,vars:x,varsWithDefaults:w}=sr(h,t);m=oe(m,w),y[s]={css:_,vars:x}}function T(_,x){let w=o;if(o==="class"&&(w=".%s"),o==="data"&&(w="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(w=`[${o}="%s"]`),_){if(w==="media")return e.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${i[_]?.palette?.mode||_})`]:{":root":x}};if(w)return e.defaultColorScheme===_?`:root, ${w.replace("%s",String(_))}`:w.replace("%s",String(_))}return":root"}return{vars:m,generateThemeVars:()=>{let _={...d};return Object.entries(y).forEach(([,{vars:x}])=>{_=oe(_,x)}),_},generateStyleSheets:()=>{const _=[],x=e.defaultColorScheme||"light";function w(B,P){Object.keys(P).length&&_.push(typeof B=="string"?{[B]:{...P}}:B)}w(r(void 0,{...g}),g);const{[x]:S,...k}=y;if(S){const{css:B}=S,P=i[x]?.palette?.mode,c=!n&&P?{colorScheme:P,...B}:{...B};w(r(x,{...c}),c)}return Object.entries(k).forEach(([B,{css:P}])=>{const c=i[B]?.palette?.mode,v=!n&&c?{colorScheme:c,...P}:{...P};w(r(B,{...v}),v)}),_}}}function ms(e){return function(r){return e==="media"?`@media (prefers-color-scheme: ${r})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function ys(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l<i.length;l+=1){const d=i[l];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function Rn(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qe.white,default:Qe.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const bs=Rn();function Un(){return{text:{primary:Qe.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qe.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Hn=Un();function Wn(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ar(e.main,o):t==="dark"&&(e.dark=ir(e.main,i)))}function ws(e="light"){return e==="dark"?{main:je[200],light:je[50],dark:je[400]}:{main:je[700],light:je[400],dark:je[800]}}function Cs(e="light"){return e==="dark"?{main:Le[200],light:Le[50],dark:Le[400]}:{main:Le[500],light:Le[300],dark:Le[700]}}function _s(e="light"){return e==="dark"?{main:Oe[500],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[400],dark:Oe[800]}}function vs(e="light"){return e==="dark"?{main:De[400],light:De[300],dark:De[700]}:{main:De[700],light:De[500],dark:De[900]}}function Ss(e="light"){return e==="dark"?{main:ze[400],light:ze[300],dark:ze[700]}:{main:ze[800],light:ze[500],dark:ze[900]}}function xs(e="light"){return e==="dark"?{main:Xe[400],light:Xe[300],dark:Xe[700]}:{main:"#ed6c02",light:Xe[500],dark:Xe[900]}}function cr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||ws(t),a=e.secondary||Cs(t),s=e.error||_s(t),l=e.info||vs(t),d=e.success||Ss(t),g=e.warning||xs(t);function p(u){return is(u,Hn.text.primary)>=r?Hn.text.primary:bs.text.primary}const m=({color:u,name:T,mainShade:C=500,lightShade:A=300,darkShade:_=700})=>{if(u={...u},!u.main&&u[C]&&(u.main=u[C]),!u.hasOwnProperty("main"))throw new Error(Ee(11,T?` (${T})`:"",C));if(typeof u.main!="string")throw new Error(Ee(12,T?` (${T})`:"",JSON.stringify(u.main)));return Wn(u,"light",A,n),Wn(u,"dark",_,n),u.contrastText||(u.contrastText=p(u.main)),u};let y;return t==="light"?y=Rn():t==="dark"&&(y=Un()),oe({common:{...Qe},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:g,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:d,name:"success"}),grey:Ko,contrastThreshold:r,getContrastText:p,augmentColor:m,tonalOffset:n,...y},o)}function ks(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Ts(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function As(e){return Math.round(e*1e5)/1e5}const Vn={textTransform:"uppercase"},Kn='"Roboto", "Helvetica", "Arial", sans-serif';function Ps(e,t){const{fontFamily:r=Kn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:d,pxToRem:g,...p}=typeof t=="function"?t(e):t,m=n/14,y=g||(T=>`${T/l*m}rem`),h=(T,C,A,_,x)=>({fontFamily:r,fontWeight:T,fontSize:y(C),lineHeight:A,...r===Kn?{letterSpacing:`${As(_/C)}em`}:{},...x,...d}),u={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,Vn),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Vn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oe({htmlFontSize:l,pxToRem:y,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...u},p,{clone:!1})}const $s=.2,Es=.14,Bs=.12;function q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$s})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Es})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Bs})`].join(",")}const Ns=["none",q(0,2,1,-1,0,1,1,0,0,1,3,0),q(0,3,1,-2,0,2,2,0,0,1,5,0),q(0,3,3,-2,0,3,4,0,0,1,8,0),q(0,2,4,-1,0,4,5,0,0,1,10,0),q(0,3,5,-1,0,5,8,0,0,1,14,0),q(0,3,5,-1,0,6,10,0,0,1,18,0),q(0,4,5,-2,0,7,10,1,0,2,16,1),q(0,5,5,-3,0,8,10,1,0,3,14,2),q(0,5,6,-3,0,9,12,1,0,3,16,2),q(0,6,6,-3,0,10,14,1,0,4,18,3),q(0,6,7,-4,0,11,15,1,0,4,20,3),q(0,7,8,-4,0,12,17,2,0,5,22,4),q(0,7,8,-4,0,13,19,2,0,5,24,4),q(0,7,9,-4,0,14,21,2,0,5,26,4),q(0,8,9,-5,0,15,22,2,0,6,28,5),q(0,8,10,-5,0,16,24,2,0,6,30,5),q(0,8,11,-5,0,17,26,2,0,6,32,5),q(0,9,11,-5,0,18,28,2,0,7,34,6),q(0,9,12,-6,0,19,29,2,0,7,36,6),q(0,10,13,-6,0,20,31,3,0,8,38,7),q(0,10,13,-6,0,21,33,3,0,8,40,7),q(0,10,14,-6,0,22,35,3,0,8,42,7),q(0,11,14,-7,0,23,36,3,0,9,44,8),q(0,11,15,-7,0,24,38,3,0,9,46,8)],Is={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Fs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gn(e){return`${Math.round(e)}ms`}function Ms(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Os(e){const t={...Is,...e.easing},r={...Fs,...e.duration};return{getAutoHeightDuration:Ms,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0,...d}=i;return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof a=="string"?a:Gn(a)} ${s} ${typeof l=="string"?l:Gn(l)}`).join(",")},...e,easing:t,duration:r}}const Ls={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function js(e){return we(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Yn(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!js(s)||a.startsWith("unstable_")?delete n[a]:we(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
39
|
+
*/var Kn;function Wi(){if(Kn)return V;Kn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function g(d){if(typeof d=="object"&&d!==null){var x=d.$$typeof;switch(x){case e:switch(d=d.type,d){case r:case o:case n:case c:case u:case p:return d;default:switch(d=d&&d.$$typeof,d){case i:case a:case h:case m:return d;case s:return d;default:return x}}case t:return x}}}return V.ContextConsumer=s,V.ContextProvider=i,V.Element=e,V.ForwardRef=a,V.Fragment=r,V.Lazy=h,V.Memo=m,V.Portal=t,V.Profiler=o,V.StrictMode=n,V.Suspense=c,V.SuspenseList=u,V.isContextConsumer=function(d){return g(d)===s},V.isContextProvider=function(d){return g(d)===i},V.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},V.isForwardRef=function(d){return g(d)===a},V.isFragment=function(d){return g(d)===r},V.isLazy=function(d){return g(d)===h},V.isMemo=function(d){return g(d)===m},V.isPortal=function(d){return g(d)===t},V.isProfiler=function(d){return g(d)===o},V.isStrictMode=function(d){return g(d)===n},V.isSuspense=function(d){return g(d)===c},V.isSuspenseList=function(d){return g(d)===u},V.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===o||d===n||d===c||d===u||typeof d=="object"&&d!==null&&(d.$$typeof===h||d.$$typeof===m||d.$$typeof===i||d.$$typeof===s||d.$$typeof===a||d.$$typeof===y||d.getModuleId!==void 0)},V.typeOf=g,V}var Gn;function Hi(){return Gn||(Gn=1,fr.exports=Wi()),fr.exports}var Yn=Hi();function ve(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Qn(e){if(U.isValidElement(e)||Yn.isValidElementType(e)||!ve(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Qn(e[r])}),t}function oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ve(e)&&ve(t)&&Object.keys(t).forEach(o=>{U.isValidElement(t[o])||Yn.isValidElementType(t[o])?n[o]=t[o]:ve(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ve(e[o])?n[o]=oe(e[o],t[o],r):r.clone?n[o]=ve(t[o])?Qn(t[o]):t[o]:n[o]=t[o]}),n}const Ki=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Gi(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,s=Ki(t),i=Object.keys(s);function a(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function c(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function u(p,y){const g=i.indexOf(y);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:y)-n/100}${r})`}function m(p){return i.indexOf(p)+1<i.length?u(p,i[i.indexOf(p)+1]):a(p)}function h(p){const y=i.indexOf(p);return y===0?a(i[1]):y===i.length-1?c(i[y]):u(p,i[i.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:a,down:c,between:u,only:m,not:h,unit:r,...o}}function Xn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const s=/min-width:\s*([0-9.]+)/;return+(n.match(s)?.[1]||0)-+(o.match(s)?.[1]||0)});return r.length?r.reduce((n,o)=>{const s=t[o];return delete n[o],n[o]=s,n},{...t}):t}function Yi(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Qi(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,s=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(s)}function Xi(e){const t=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function r(s,i){s.up=(...a)=>t(e.breakpoints.up(...a),i),s.down=(...a)=>t(e.breakpoints.down(...a),i),s.between=(...a)=>t(e.breakpoints.between(...a),i),s.only=(...a)=>t(e.breakpoints.only(...a),i),s.not=(...a)=>{const c=t(e.breakpoints.not(...a),i);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const n={},o=s=>(r(n,s),n);return r(o),{...e,containerQueries:o}}const Zi={borderRadius:4};function at(e,t){return t?oe(e,t,{clone:!1}):e}const Tt={xs:0,sm:600,md:900,lg:1200,xl:1536},Zn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Tt[e]}px)`},ea={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Tt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ne(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const s=n.breakpoints||Zn;return t.reduce((i,a,c)=>(i[s.up(s.keys[c])]=r(t[c]),i),{})}if(typeof t=="object"){const s=n.breakpoints||Zn;return Object.keys(t).reduce((i,a)=>{if(Yi(s.keys,a)){const c=Qi(n.containerQueries?n:ea,a);c&&(i[c]=r(t[a],a))}else if(Object.keys(s.values||Tt).includes(a)){const c=s.up(a);i[c]=r(t[a],a)}else{const c=a;i[c]=t[c]}return i},{})}return r(t)}function ta(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function eo(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function We(e){if(typeof e!="string")throw new Error(Pe(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Dt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function kt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Dt(e,r)||n,t&&(o=t(o,n,e)),o}function W(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,s=i=>{if(i[t]==null)return null;const a=i[t],c=i.theme,u=Dt(c,n)||{};return Ne(i,a,h=>{let p=kt(u,o,h);return h===p&&typeof h=="string"&&(p=kt(u,o,`${t}${h==="default"?"":We(h)}`,h)),r===!1?p:{[r]:p}})};return s.propTypes={},s.filterProps=[t],s}function ra(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const na={m:"margin",p:"padding"},oa={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},to={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},sa=ra(e=>{if(e.length>2)if(to[e])e=to[e];else return[e];const[t,r]=e.split(""),n=na[t],o=oa[r]||"";return Array.isArray(o)?o.map(s=>n+s):[n+o]}),mr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mr,...pr];function ct(e,t,r,n){const o=Dt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:typeof o=="string"?o.startsWith("var(")&&s===0?0:o.startsWith("var(")&&s===1?o:`calc(${s} * ${o})`:o*s:Array.isArray(o)?s=>{if(typeof s=="string")return s;const i=Math.abs(s),a=o[i];return s>=0?a:typeof a=="number"?-a:typeof a=="string"&&a.startsWith("var(")?`calc(-1 * ${a})`:`-${a}`}:typeof o=="function"?o:()=>{}}function hr(e){return ct(e,"spacing",8)}function lt(e,t){return typeof t=="string"||t==null?t:e(t)}function ia(e,t){return r=>e.reduce((n,o)=>(n[o]=lt(t,r),n),{})}function aa(e,t,r,n){if(!t.includes(r))return null;const o=sa(r),s=ia(o,n),i=e[r];return Ne(e,i,s)}function ro(e,t){const r=hr(e.theme);return Object.keys(e).map(n=>aa(e,t,n,r)).reduce(at,{})}function L(e){return ro(e,mr)}L.propTypes={},L.filterProps=mr;function z(e){return ro(e,pr)}z.propTypes={},z.filterProps=pr;function no(e=8,t=hr({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function Ft(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(s=>{n[s]=o}),n),{}),r=n=>Object.keys(n).reduce((o,s)=>t[s]?at(o,t[s](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ce(e){return typeof e!="number"?e:`${e}px solid`}function le(e,t){return W({prop:e,themeKey:"borders",transform:t})}const ca=le("border",ce),la=le("borderTop",ce),ua=le("borderRight",ce),da=le("borderBottom",ce),fa=le("borderLeft",ce),ma=le("borderColor"),pa=le("borderTopColor"),ha=le("borderRightColor"),ga=le("borderBottomColor"),ya=le("borderLeftColor"),ba=le("outline",ce),va=le("outlineColor"),Pt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ct(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:lt(t,n)});return Ne(e,e.borderRadius,r)}return null};Pt.propTypes={},Pt.filterProps=["borderRadius"],Ft(ca,la,ua,da,fa,ma,pa,ha,ga,ya,Pt,ba,va);const At=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ct(e.theme,"spacing",8),r=n=>({gap:lt(t,n)});return Ne(e,e.gap,r)}return null};At.propTypes={},At.filterProps=["gap"];const Bt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ct(e.theme,"spacing",8),r=n=>({columnGap:lt(t,n)});return Ne(e,e.columnGap,r)}return null};Bt.propTypes={},Bt.filterProps=["columnGap"];const $t=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ct(e.theme,"spacing",8),r=n=>({rowGap:lt(t,n)});return Ne(e,e.rowGap,r)}return null};$t.propTypes={},$t.filterProps=["rowGap"];const Na=W({prop:"gridColumn"}),xa=W({prop:"gridRow"}),wa=W({prop:"gridAutoFlow"}),Ca=W({prop:"gridAutoColumns"}),Sa=W({prop:"gridAutoRows"}),_a=W({prop:"gridTemplateColumns"}),Ea=W({prop:"gridTemplateRows"}),Ta=W({prop:"gridTemplateAreas"}),Da=W({prop:"gridArea"});Ft(At,Bt,$t,Na,xa,wa,Ca,Sa,_a,Ea,Ta,Da);function He(e,t){return t==="grey"?t:e}const ka=W({prop:"color",themeKey:"palette",transform:He}),Fa=W({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:He}),Pa=W({prop:"backgroundColor",themeKey:"palette",transform:He});Ft(ka,Fa,Pa);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Aa=W({prop:"width",transform:se}),gr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||Tt[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return Ne(e,e.maxWidth,t)}return null};gr.filterProps=["maxWidth"];const Ba=W({prop:"minWidth",transform:se}),$a=W({prop:"height",transform:se}),ja=W({prop:"maxHeight",transform:se}),Ia=W({prop:"minHeight",transform:se});W({prop:"size",cssProperty:"width",transform:se}),W({prop:"size",cssProperty:"height",transform:se});const Ra=W({prop:"boxSizing"});Ft(Aa,gr,Ba,$a,ja,Ia,Ra);const jt={border:{themeKey:"borders",transform:ce},borderTop:{themeKey:"borders",transform:ce},borderRight:{themeKey:"borders",transform:ce},borderBottom:{themeKey:"borders",transform:ce},borderLeft:{themeKey:"borders",transform:ce},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ce},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Pt},color:{themeKey:"palette",transform:He},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:He},backgroundColor:{themeKey:"palette",transform:He},p:{style:z},pt:{style:z},pr:{style:z},pb:{style:z},pl:{style:z},px:{style:z},py:{style:z},padding:{style:z},paddingTop:{style:z},paddingRight:{style:z},paddingBottom:{style:z},paddingLeft:{style:z},paddingX:{style:z},paddingY:{style:z},paddingInline:{style:z},paddingInlineStart:{style:z},paddingInlineEnd:{style:z},paddingBlock:{style:z},paddingBlockStart:{style:z},paddingBlockEnd:{style:z},m:{style:L},mt:{style:L},mr:{style:L},mb:{style:L},ml:{style:L},mx:{style:L},my:{style:L},margin:{style:L},marginTop:{style:L},marginRight:{style:L},marginBottom:{style:L},marginLeft:{style:L},marginX:{style:L},marginY:{style:L},marginInline:{style:L},marginInlineStart:{style:L},marginInlineEnd:{style:L},marginBlock:{style:L},marginBlockStart:{style:L},marginBlockEnd:{style:L},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:At},rowGap:{style:$t},columnGap:{style:Bt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:se},maxWidth:{style:gr},minWidth:{transform:se},height:{transform:se},maxHeight:{transform:se},minHeight:{transform:se},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ua(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Va(e,t){return typeof e=="function"?e(t):e}function Ma(){function e(r,n,o,s){const i={[r]:n,theme:o},a=s[r];if(!a)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:m,style:h}=a;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const p=Dt(o,u)||{};return h?h(i):Ne(i,n,g=>{let d=kt(p,m,g);return g===d&&typeof g=="string"&&(d=kt(p,m,`${r}${g==="default"?"":We(g)}`,g)),c===!1?d:{[c]:d}})}function t(r){const{sx:n,theme:o={},nested:s}=r||{};if(!n)return null;const i=o.unstable_sxConfig??jt;function a(c){let u=c;if(typeof c=="function")u=c(o);else if(typeof c!="object")return c;if(!u)return null;const m=ta(o.breakpoints),h=Object.keys(m);let p=m;return Object.keys(u).forEach(y=>{const g=Va(u[y],o);if(g!=null)if(typeof g=="object")if(i[y])p=at(p,e(y,g,o,i));else{const d=Ne({theme:o},g,x=>({[y]:x}));Ua(d,g)?p[y]=t({sx:g,theme:o,nested:!0}):p=at(p,d)}else p=at(p,e(y,g,o,i))}),!s&&o.modularCssLayers?{"@layer sx":Xn(o,eo(h,p))}:Xn(o,eo(h,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const Ke=Ma();Ke.filterProps=["sx"];function Oa(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function oo(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:s={},...i}=e,a=Gi(r),c=no(o);let u=oe({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:c,shape:{...Zi,...s}},i);return u=Xi(u),u.applyStyles=Oa,u=t.reduce((m,h)=>oe(m,h),u),u.unstable_sxConfig={...jt,...i?.unstable_sxConfig},u.unstable_sx=function(h){return Ke({sx:h,theme:this})},u}const so=e=>e,Ja=(()=>{let e=so;return{configure(t){e=t},generate(t){return e(t)},reset(){e=so}}})();function io(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=io(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ao(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=io(e))&&(n&&(n+=" "),n+=t);return n}const La={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function co(e,t,r="Mui"){const n=La[t];return n?`${r}-${n}`:`${Ja.generate(e)}-${t}`}function za(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=co(e,o,r)}),n}function lo(e){const{variants:t,...r}=e,n={variants:t,style:Be(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Be(o.style))}),n}const qa=oo();function yr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $e(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Wa(e){return e?(t,r)=>r[e]:null}function Ha(e,t,r){e.theme=Ya(e.theme)?r:e.theme[t]||e.theme}function It(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>It(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?$e(n.style,r):n.style;else{const{variants:s,...i}=n;o=r?$e(Be(i),r):i}return uo(e,n.variants,[o],r)}return n?.isProcessed?r?$e(Be(n.style),r):n.style:r?$e(Be(n),r):n}function uo(e,t,r=[],n=void 0){let o;e:for(let s=0;s<t.length;s+=1){const i=t[s];if(typeof i.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(o))continue}else for(const a in i.props)if(e[a]!==i.props[a]&&e.ownerState?.[a]!==i.props[a])continue e;typeof i.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?$e(Be(i.style(o)),n):i.style(o))):r.push(n?$e(Be(i.style),n):i.style)}return r}function Ka(e={}){const{themeId:t,defaultTheme:r=qa,rootShouldForwardProp:n=yr,slotShouldForwardProp:o=yr}=e;function s(a){Ha(a,t,r)}return(a,c={})=>{qi(a,C=>C.filter(T=>T!==Ke));const{name:u,slot:m,skipVariantsResolver:h,skipSx:p,overridesResolver:y=Wa(Xa(m)),...g}=c,d=u&&u.startsWith("Mui")||m?"components":"custom",x=h!==void 0?h:m&&m!=="Root"&&m!=="root"||!1,N=p||!1;let E=yr;m==="Root"||m==="root"?E=n:m?E=o:Qa(a)&&(E=void 0);const w=zi(a,{shouldForwardProp:E,label:Ga(),...g}),_=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(P){return It(P,C,P.theme.modularCssLayers?d:void 0)};if(ve(C)){const T=lo(C);return function(D){return T.variants?It(D,T,D.theme.modularCssLayers?d:void 0):D.theme.modularCssLayers?$e(T.style,d):T.style}}return C},v=(...C)=>{const T=[],P=C.map(_),D=[];if(T.push(s),u&&y&&D.push(function(k){const H=k.theme.components?.[u]?.styleOverrides;if(!H)return null;const ke={};for(const Jt in H)ke[Jt]=It(k,H[Jt],k.theme.modularCssLayers?"theme":void 0);return y(k,ke)}),u&&!x&&D.push(function(k){const H=k.theme?.components?.[u]?.variants;return H?uo(k,H,[],k.theme.modularCssLayers?"theme":void 0):null}),N||D.push(Ke),Array.isArray(P[0])){const F=P.shift(),k=new Array(T.length).fill(""),A=new Array(D.length).fill("");let H;H=[...k,...F,...A],H.raw=[...k,...F.raw,...A],T.unshift(H)}const l=[...T,...P,...D],S=w(...l);return a.muiName&&(S.muiName=a.muiName),S};return w.withConfig&&(v.withConfig=w.withConfig),v}}function Ga(e,t){return void 0}function Ya(e){for(const t in e)return!1;return!0}function Qa(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Xa(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function br(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],a=t[s];if(!a)n[s]=i||{};else if(!i)n[s]=a;else{n[s]={...a};for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)){const u=c;n[s][u]=br(i[u],a[u],r)}}}else s==="className"&&r&&t.className?n.className=ao(e?.className,t?.className):s==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[s]===void 0&&(n[s]=e[s])}return n}function Za(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function vr(e,t=0,r=1){return Za(e,t,r)}function ec(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ee(e){if(e.type)return e;if(e.charAt(0)==="#")return Ee(ec(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Pe(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Pe(10,o))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:o}}const tc=e=>{const t=Ee(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},ut=(e,t)=>{try{return tc(e)}catch{return e}};function Rt(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,s)=>s<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function fo(e){e=Ee(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,s=n*Math.min(o,1-o),i=(u,m=(u+r/30)%12)=>o-s*Math.max(Math.min(m-3,9-m,1),-1);let a="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",c.push(t[3])),Rt({type:a,values:c})}function Nr(e){e=Ee(e);let t=e.type==="hsl"||e.type==="hsla"?Ee(fo(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function rc(e,t){const r=Nr(e),n=Nr(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function nc(e,t){return e=Ee(e),t=vr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Rt(e)}function Ut(e,t,r){try{return nc(e,t)}catch{return e}}function xr(e,t){if(e=Ee(e),t=vr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Rt(e)}function M(e,t,r){try{return xr(e,t)}catch{return e}}function wr(e,t){if(e=Ee(e),t=vr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Rt(e)}function O(e,t,r){try{return wr(e,t)}catch{return e}}function oc(e,t=.15){return Nr(e)>.5?xr(e,t):wr(e,t)}function Vt(e,t,r){try{return oc(e,t)}catch{return e}}const sc=U.createContext(void 0);function ic(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?br(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?br(o,n,t.components.mergeClassNameAndStyle):n}function ac({props:e,name:t}){const r=U.useContext(sc);return ic({props:e,name:t,theme:{components:r}})}const mo={theme:void 0};function cc(e){let t,r;return function(o){let s=t;return(s===void 0||o.theme!==r)&&(mo.theme=o.theme,s=lo(e(mo)),t=s,r=o.theme),s}}function lc(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const po=(e,t,r,n=[])=>{let o=e;t.forEach((s,i)=>{i===t.length-1?Array.isArray(o)?o[Number(s)]=r:o&&typeof o=="object"&&(o[s]=r):o&&typeof o=="object"&&(o[s]||(o[s]=n.includes(s)?[]:{}),o=o[s])})},uc=(e,t,r)=>{function n(o,s=[],i=[]){Object.entries(o).forEach(([a,c])=>{(!r||r&&!r([...s,a]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?n(c,[...s,a],Array.isArray(c)?[...i,a]:i):t([...s,a],c,i))})}n(e)},dc=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Cr(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},s={},i={};return uc(e,(a,c,u)=>{if((typeof c=="string"||typeof c=="number")&&(!n||!n(a,c))){const m=`--${r?`${r}-`:""}${a.join("-")}`,h=dc(a,c);Object.assign(o,{[m]:h}),po(s,a,`var(${m})`,u),po(i,a,`var(${m}, ${h})`,u)}},a=>a[0]==="vars"),{css:o,vars:s,varsWithDefaults:i}}function fc(e,t={}){const{getSelector:r=x,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:s={},components:i,defaultColorScheme:a="light",...c}=e,{vars:u,css:m,varsWithDefaults:h}=Cr(c,t);let p=h;const y={},{[a]:g,...d}=s;if(Object.entries(d||{}).forEach(([w,_])=>{const{vars:v,css:C,varsWithDefaults:T}=Cr(_,t);p=oe(p,T),y[w]={css:C,vars:v}}),g){const{css:w,vars:_,varsWithDefaults:v}=Cr(g,t);p=oe(p,v),y[a]={css:w,vars:_}}function x(w,_){let v=o;if(o==="class"&&(v=".%s"),o==="data"&&(v="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(v=`[${o}="%s"]`),w){if(v==="media")return e.defaultColorScheme===w?":root":{[`@media (prefers-color-scheme: ${s[w]?.palette?.mode||w})`]:{":root":_}};if(v)return e.defaultColorScheme===w?`:root, ${v.replace("%s",String(w))}`:v.replace("%s",String(w))}return":root"}return{vars:p,generateThemeVars:()=>{let w={...u};return Object.entries(y).forEach(([,{vars:_}])=>{w=oe(w,_)}),w},generateStyleSheets:()=>{const w=[],_=e.defaultColorScheme||"light";function v(P,D){Object.keys(D).length&&w.push(typeof P=="string"?{[P]:{...D}}:P)}v(r(void 0,{...m}),m);const{[_]:C,...T}=y;if(C){const{css:P}=C,D=s[_]?.palette?.mode,l=!n&&D?{colorScheme:D,...P}:{...P};v(r(_,{...l}),l)}return Object.entries(T).forEach(([P,{css:D}])=>{const l=s[P]?.palette?.mode,S=!n&&l?{colorScheme:l,...D}:{...D};v(r(P,{...S}),S)}),w}}}function mc(e){return function(r){return e==="media"?`@media (prefers-color-scheme: ${r})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function pc(e,t,r=void 0){const n={};for(const o in e){const s=e[o];let i="",a=!0;for(let c=0;c<s.length;c+=1){const u=s[c];u&&(i+=(a===!0?"":" ")+t(u),a=!1,r&&r[u]&&(i+=" "+r[u]))}n[o]=i}return n}function ho(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ze.white,default:Ze.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const hc=ho();function go(){return{text:{primary:Ze.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ze.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const yo=go();function bo(e,t,r,n){const o=n.light||n,s=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=wr(e.main,o):t==="dark"&&(e.dark=xr(e.main,s)))}function gc(e="light"){return e==="dark"?{main:Me[200],light:Me[50],dark:Me[400]}:{main:Me[700],light:Me[400],dark:Me[800]}}function yc(e="light"){return e==="dark"?{main:Ve[200],light:Ve[50],dark:Ve[400]}:{main:Ve[500],light:Ve[300],dark:Ve[700]}}function bc(e="light"){return e==="dark"?{main:Ue[500],light:Ue[300],dark:Ue[700]}:{main:Ue[700],light:Ue[400],dark:Ue[800]}}function vc(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[500],dark:Oe[900]}}function Nc(e="light"){return e==="dark"?{main:Je[400],light:Je[300],dark:Je[700]}:{main:Je[800],light:Je[500],dark:Je[900]}}function xc(e="light"){return e==="dark"?{main:et[400],light:et[300],dark:et[700]}:{main:"#ed6c02",light:et[500],dark:et[900]}}function Sr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,s=e.primary||gc(t),i=e.secondary||yc(t),a=e.error||bc(t),c=e.info||vc(t),u=e.success||Nc(t),m=e.warning||xc(t);function h(d){return rc(d,yo.text.primary)>=r?yo.text.primary:hc.text.primary}const p=({color:d,name:x,mainShade:N=500,lightShade:E=300,darkShade:w=700})=>{if(d={...d},!d.main&&d[N]&&(d.main=d[N]),!d.hasOwnProperty("main"))throw new Error(Pe(11,x?` (${x})`:"",N));if(typeof d.main!="string")throw new Error(Pe(12,x?` (${x})`:"",JSON.stringify(d.main)));return bo(d,"light",E,n),bo(d,"dark",w,n),d.contrastText||(d.contrastText=h(d.main)),d};let y;return t==="light"?y=ho():t==="dark"&&(y=go()),oe({common:{...Ze},mode:t,primary:p({color:s,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:a,name:"error"}),warning:p({color:m,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:u,name:"success"}),grey:Cs,contrastThreshold:r,getContrastText:h,augmentColor:p,tonalOffset:n,...y},o)}function wc(e){const t={};return Object.entries(e).forEach(n=>{const[o,s]=n;typeof s=="object"&&(t[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function Cc(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Sc(e){return Math.round(e*1e5)/1e5}const vo={textTransform:"uppercase"},No='"Roboto", "Helvetica", "Arial", sans-serif';function _c(e,t){const{fontFamily:r=No,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:a=700,htmlFontSize:c=16,allVariants:u,pxToRem:m,...h}=typeof t=="function"?t(e):t,p=n/14,y=m||(x=>`${x/c*p}rem`),g=(x,N,E,w,_)=>({fontFamily:r,fontWeight:x,fontSize:y(N),lineHeight:E,...r===No?{letterSpacing:`${Sc(w/N)}em`}:{},..._,...u}),d={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(i,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(i,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(i,14,1.75,.4,vo),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,vo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oe({htmlFontSize:c,pxToRem:y,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:a,...d},h,{clone:!1})}const Ec=.2,Tc=.14,Dc=.12;function J(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ec})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Tc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Dc})`].join(",")}const kc=["none",J(0,2,1,-1,0,1,1,0,0,1,3,0),J(0,3,1,-2,0,2,2,0,0,1,5,0),J(0,3,3,-2,0,3,4,0,0,1,8,0),J(0,2,4,-1,0,4,5,0,0,1,10,0),J(0,3,5,-1,0,5,8,0,0,1,14,0),J(0,3,5,-1,0,6,10,0,0,1,18,0),J(0,4,5,-2,0,7,10,1,0,2,16,1),J(0,5,5,-3,0,8,10,1,0,3,14,2),J(0,5,6,-3,0,9,12,1,0,3,16,2),J(0,6,6,-3,0,10,14,1,0,4,18,3),J(0,6,7,-4,0,11,15,1,0,4,20,3),J(0,7,8,-4,0,12,17,2,0,5,22,4),J(0,7,8,-4,0,13,19,2,0,5,24,4),J(0,7,9,-4,0,14,21,2,0,5,26,4),J(0,8,9,-5,0,15,22,2,0,6,28,5),J(0,8,10,-5,0,16,24,2,0,6,30,5),J(0,8,11,-5,0,17,26,2,0,6,32,5),J(0,9,11,-5,0,18,28,2,0,7,34,6),J(0,9,12,-6,0,19,29,2,0,7,36,6),J(0,10,13,-6,0,20,31,3,0,8,38,7),J(0,10,13,-6,0,21,33,3,0,8,40,7),J(0,10,14,-6,0,22,35,3,0,8,42,7),J(0,11,14,-7,0,23,36,3,0,9,44,8),J(0,11,15,-7,0,24,38,3,0,9,46,8)],Fc={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Pc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xo(e){return`${Math.round(e)}ms`}function Ac(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Bc(e){const t={...Fc,...e.easing},r={...Pc,...e.duration};return{getAutoHeightDuration:Ac,create:(o=["all"],s={})=>{const{duration:i=r.standard,easing:a=t.easeInOut,delay:c=0,...u}=s;return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof i=="string"?i:xo(i)} ${a} ${typeof c=="string"?c:xo(c)}`).join(",")},...e,easing:t,duration:r}}const $c={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function jc(e){return ve(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function wo(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let s=0;s<o.length;s++){const[i,a]=o[s];!jc(a)||i.startsWith("unstable_")?delete n[i]:ve(a)&&(n[i]={...a},r(n[i]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
17
40
|
|
|
18
41
|
const theme = ${JSON.stringify(t,null,2)};
|
|
19
42
|
|
|
20
43
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
21
44
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
22
45
|
|
|
23
|
-
export default theme;`}function lr(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Ee(20));const g=cr(i),p=Nn(e);let m=oe(p,{mixins:Ts(p.breakpoints,n),palette:g,shadows:Ns.slice(),typography:Ps(g,s),transitions:Os(a),zIndex:{...Ls}});return m=oe(m,d),m=t.reduce((y,h)=>oe(y,h),m),m.unstable_sxConfig={...Pt,...d?.unstable_sxConfig},m.unstable_sx=function(h){return Ve({sx:h,theme:this})},m.toRuntimeSource=Yn,m}function Ds(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const zs=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ds(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Jn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Qn(e){return e==="dark"?zs:[]}function qs(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=cr(t);return{palette:i,opacity:{...Jn(i.mode),...r},overlays:n||Qn(i.mode),...o}}function Rs(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Us=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Hs=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Us(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Ws(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function b(e,t,r){!e[t]&&r&&(e[t]=r)}function ct(e){return typeof e!="string"||!e.startsWith("hsl")?e:Dn(e)}function _e(e,t){`${t}Channel`in e||(e[`${t}Channel`]=st(ct(e[t])))}function Vs(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ge=e=>{try{return e()}catch{}},Ks=(e="mui")=>fs(e);function ur(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=qs({...t,palette:{mode:o,...t?.palette}});return}const{palette:i,...a}=lr({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:i,opacity:{...Jn(o),...t?.opacity},overlays:t?.overlays||Qn(o)},a}function Gs(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Rs,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:l=":root",...d}=e,g=Object.keys(r)[0],p=n||(r.light&&g!=="light"?"light":g),m=Ks(i),{[p]:y,light:h,dark:u,...T}=r,C={...T};let A=y;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(Ee(21,p));const _=ur(C,A,d,p);h&&!C.light&&ur(C,h,void 0,"light"),u&&!C.dark&&ur(C,u,void 0,"dark");let x={defaultColorScheme:p,..._,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:m,colorSchemes:C,font:{...ks(_.typography),..._.font},spacing:Vs(d.spacing)};Object.keys(x.colorSchemes).forEach(P=>{const c=x.colorSchemes[P].palette,v=E=>{const $=E.split("-"),N=$[1],K=$[2];return m(E,c[N][K])};if(c.mode==="light"&&(b(c.common,"background","#fff"),b(c.common,"onBackground","#000")),c.mode==="dark"&&(b(c.common,"background","#000"),b(c.common,"onBackground","#fff")),Ws(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){b(c.Alert,"errorColor",D(c.error.light,.6)),b(c.Alert,"infoColor",D(c.info.light,.6)),b(c.Alert,"successColor",D(c.success.light,.6)),b(c.Alert,"warningColor",D(c.warning.light,.6)),b(c.Alert,"errorFilledBg",v("palette-error-main")),b(c.Alert,"infoFilledBg",v("palette-info-main")),b(c.Alert,"successFilledBg",v("palette-success-main")),b(c.Alert,"warningFilledBg",v("palette-warning-main")),b(c.Alert,"errorFilledColor",ge(()=>c.getContrastText(c.error.main))),b(c.Alert,"infoFilledColor",ge(()=>c.getContrastText(c.info.main))),b(c.Alert,"successFilledColor",ge(()=>c.getContrastText(c.success.main))),b(c.Alert,"warningFilledColor",ge(()=>c.getContrastText(c.warning.main))),b(c.Alert,"errorStandardBg",z(c.error.light,.9)),b(c.Alert,"infoStandardBg",z(c.info.light,.9)),b(c.Alert,"successStandardBg",z(c.success.light,.9)),b(c.Alert,"warningStandardBg",z(c.warning.light,.9)),b(c.Alert,"errorIconColor",v("palette-error-main")),b(c.Alert,"infoIconColor",v("palette-info-main")),b(c.Alert,"successIconColor",v("palette-success-main")),b(c.Alert,"warningIconColor",v("palette-warning-main")),b(c.AppBar,"defaultBg",v("palette-grey-100")),b(c.Avatar,"defaultBg",v("palette-grey-400")),b(c.Button,"inheritContainedBg",v("palette-grey-300")),b(c.Button,"inheritContainedHoverBg",v("palette-grey-A100")),b(c.Chip,"defaultBorder",v("palette-grey-400")),b(c.Chip,"defaultAvatarColor",v("palette-grey-700")),b(c.Chip,"defaultIconColor",v("palette-grey-700")),b(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(c.LinearProgress,"primaryBg",z(c.primary.main,.62)),b(c.LinearProgress,"secondaryBg",z(c.secondary.main,.62)),b(c.LinearProgress,"errorBg",z(c.error.main,.62)),b(c.LinearProgress,"infoBg",z(c.info.main,.62)),b(c.LinearProgress,"successBg",z(c.success.main,.62)),b(c.LinearProgress,"warningBg",z(c.warning.main,.62)),b(c.Skeleton,"bg",`rgba(${v("palette-text-primaryChannel")} / 0.11)`),b(c.Slider,"primaryTrack",z(c.primary.main,.62)),b(c.Slider,"secondaryTrack",z(c.secondary.main,.62)),b(c.Slider,"errorTrack",z(c.error.main,.62)),b(c.Slider,"infoTrack",z(c.info.main,.62)),b(c.Slider,"successTrack",z(c.success.main,.62)),b(c.Slider,"warningTrack",z(c.warning.main,.62));const E=Nt(c.background.default,.8);b(c.SnackbarContent,"bg",E),b(c.SnackbarContent,"color",ge(()=>c.getContrastText(E))),b(c.SpeedDialAction,"fabHoverBg",Nt(c.background.paper,.15)),b(c.StepConnector,"border",v("palette-grey-400")),b(c.StepContent,"border",v("palette-grey-400")),b(c.Switch,"defaultColor",v("palette-common-white")),b(c.Switch,"defaultDisabledColor",v("palette-grey-100")),b(c.Switch,"primaryDisabledColor",z(c.primary.main,.62)),b(c.Switch,"secondaryDisabledColor",z(c.secondary.main,.62)),b(c.Switch,"errorDisabledColor",z(c.error.main,.62)),b(c.Switch,"infoDisabledColor",z(c.info.main,.62)),b(c.Switch,"successDisabledColor",z(c.success.main,.62)),b(c.Switch,"warningDisabledColor",z(c.warning.main,.62)),b(c.TableCell,"border",z(Bt(c.divider,1),.88)),b(c.Tooltip,"bg",Bt(c.grey[700],.92))}if(c.mode==="dark"){b(c.Alert,"errorColor",z(c.error.light,.6)),b(c.Alert,"infoColor",z(c.info.light,.6)),b(c.Alert,"successColor",z(c.success.light,.6)),b(c.Alert,"warningColor",z(c.warning.light,.6)),b(c.Alert,"errorFilledBg",v("palette-error-dark")),b(c.Alert,"infoFilledBg",v("palette-info-dark")),b(c.Alert,"successFilledBg",v("palette-success-dark")),b(c.Alert,"warningFilledBg",v("palette-warning-dark")),b(c.Alert,"errorFilledColor",ge(()=>c.getContrastText(c.error.dark))),b(c.Alert,"infoFilledColor",ge(()=>c.getContrastText(c.info.dark))),b(c.Alert,"successFilledColor",ge(()=>c.getContrastText(c.success.dark))),b(c.Alert,"warningFilledColor",ge(()=>c.getContrastText(c.warning.dark))),b(c.Alert,"errorStandardBg",D(c.error.light,.9)),b(c.Alert,"infoStandardBg",D(c.info.light,.9)),b(c.Alert,"successStandardBg",D(c.success.light,.9)),b(c.Alert,"warningStandardBg",D(c.warning.light,.9)),b(c.Alert,"errorIconColor",v("palette-error-main")),b(c.Alert,"infoIconColor",v("palette-info-main")),b(c.Alert,"successIconColor",v("palette-success-main")),b(c.Alert,"warningIconColor",v("palette-warning-main")),b(c.AppBar,"defaultBg",v("palette-grey-900")),b(c.AppBar,"darkBg",v("palette-background-paper")),b(c.AppBar,"darkColor",v("palette-text-primary")),b(c.Avatar,"defaultBg",v("palette-grey-600")),b(c.Button,"inheritContainedBg",v("palette-grey-800")),b(c.Button,"inheritContainedHoverBg",v("palette-grey-700")),b(c.Chip,"defaultBorder",v("palette-grey-700")),b(c.Chip,"defaultAvatarColor",v("palette-grey-300")),b(c.Chip,"defaultIconColor",v("palette-grey-300")),b(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(c.LinearProgress,"primaryBg",D(c.primary.main,.5)),b(c.LinearProgress,"secondaryBg",D(c.secondary.main,.5)),b(c.LinearProgress,"errorBg",D(c.error.main,.5)),b(c.LinearProgress,"infoBg",D(c.info.main,.5)),b(c.LinearProgress,"successBg",D(c.success.main,.5)),b(c.LinearProgress,"warningBg",D(c.warning.main,.5)),b(c.Skeleton,"bg",`rgba(${v("palette-text-primaryChannel")} / 0.13)`),b(c.Slider,"primaryTrack",D(c.primary.main,.5)),b(c.Slider,"secondaryTrack",D(c.secondary.main,.5)),b(c.Slider,"errorTrack",D(c.error.main,.5)),b(c.Slider,"infoTrack",D(c.info.main,.5)),b(c.Slider,"successTrack",D(c.success.main,.5)),b(c.Slider,"warningTrack",D(c.warning.main,.5));const E=Nt(c.background.default,.98);b(c.SnackbarContent,"bg",E),b(c.SnackbarContent,"color",ge(()=>c.getContrastText(E))),b(c.SpeedDialAction,"fabHoverBg",Nt(c.background.paper,.15)),b(c.StepConnector,"border",v("palette-grey-600")),b(c.StepContent,"border",v("palette-grey-600")),b(c.Switch,"defaultColor",v("palette-grey-300")),b(c.Switch,"defaultDisabledColor",v("palette-grey-600")),b(c.Switch,"primaryDisabledColor",D(c.primary.main,.55)),b(c.Switch,"secondaryDisabledColor",D(c.secondary.main,.55)),b(c.Switch,"errorDisabledColor",D(c.error.main,.55)),b(c.Switch,"infoDisabledColor",D(c.info.main,.55)),b(c.Switch,"successDisabledColor",D(c.success.main,.55)),b(c.Switch,"warningDisabledColor",D(c.warning.main,.55)),b(c.TableCell,"border",D(Bt(c.divider,1),.68)),b(c.Tooltip,"bg",Bt(c.grey[700],.92))}_e(c.background,"default"),_e(c.background,"paper"),_e(c.common,"background"),_e(c.common,"onBackground"),_e(c,"divider"),Object.keys(c).forEach(E=>{const $=c[E];E!=="tonalOffset"&&$&&typeof $=="object"&&($.main&&b(c[E],"mainChannel",st(ct($.main))),$.light&&b(c[E],"lightChannel",st(ct($.light))),$.dark&&b(c[E],"darkChannel",st(ct($.dark))),$.contrastText&&b(c[E],"contrastTextChannel",st(ct($.contrastText))),E==="text"&&(_e(c[E],"primary"),_e(c[E],"secondary")),E==="action"&&($.active&&_e(c[E],"active"),$.selected&&_e(c[E],"selected")))})}),x=t.reduce((P,c)=>oe(P,c),x);const w={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Hs(x)},{vars:S,generateThemeVars:k,generateStyleSheets:B}=gs(x,w);return x.vars=S,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([P,c])=>{x[P]=c}),x.generateThemeVars=k,x.generateStyleSheets=B,x.generateSpacing=function(){return Bn(d.spacing,Zt(this))},x.getColorSchemeSelector=ms(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=a,x.unstable_sxConfig={...Pt,...d?.unstable_sxConfig},x.unstable_sx=function(c){return Ve({sx:c,theme:this})},x.toRuntimeSource=Yn,x}function Xn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:cr({...r===!0?{}:r.palette,mode:t})})}function Ys(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...a}=e,s=i||"light",l=o?.[s],d={...o,...r?{[s]:{...typeof l!="boolean"&&l,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return lr(e,...t);let g=r;"palette"in e||d[s]&&(d[s]!==!0?g=d[s].palette:s==="dark"&&(g={mode:"dark"}));const p=lr({...e,palette:g},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Xn(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Xn(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Gs({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Js=Ys();function Qs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const dr=Qa({themeId:Go,defaultTheme:Js,rootShouldForwardProp:e=>Qs(e)&&e!=="classes"}),Zn=ds;function Xs(e){return us(e)}function Zs(e){return typeof e.main=="string"}function ec(e,t=[]){if(!Zs(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function tc(e=[]){return([,t])=>t&&ec(t,e)}function rc(e){return On("MuiCircularProgress",e)}Ka("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Te=44,fr=bn`
|
|
46
|
+
export default theme;`}function _r(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:s={},transitions:i={},typography:a={},shape:c,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(Pe(20));const m=Sr(s),h=oo(e);let p=oe(h,{mixins:Cc(h.breakpoints,n),palette:m,shadows:kc.slice(),typography:_c(m,a),transitions:Bc(i),zIndex:{...$c}});return p=oe(p,u),p=t.reduce((y,g)=>oe(y,g),p),p.unstable_sxConfig={...jt,...u?.unstable_sxConfig},p.unstable_sx=function(g){return Ke({sx:g,theme:this})},p.toRuntimeSource=wo,p}function Ic(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Rc=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ic(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Co(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function So(e){return e==="dark"?Rc:[]}function Uc(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,s=Sr(t);return{palette:s,opacity:{...Co(s.mode),...r},overlays:n||So(s.mode),...o}}function Vc(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Mc=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Oc=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return Mc(e.cssVarPrefix).forEach(a=>{i[a]=r[a],delete r[a]}),s==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:i}}:s?{[s.replace("%s",t)]:i,[`${n}, ${s.replace("%s",t)}`]:r}:{[n]:{...r,...i}}}if(s&&s!=="media")return`${n}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(s)return s.replace("%s",String(t))}return n};function Jc(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function b(e,t,r){!e[t]&&r&&(e[t]=r)}function dt(e){return typeof e!="string"||!e.startsWith("hsl")?e:fo(e)}function xe(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ut(dt(e[t])))}function Lc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const he=e=>{try{return e()}catch{}},zc=(e="mui")=>lc(e);function Er(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=Uc({...t,palette:{mode:o,...t?.palette}});return}const{palette:s,...i}=_r({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:s,opacity:{...Co(o),...t?.opacity},overlays:t?.overlays||So(o)},i}function qc(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:i=Vc,colorSchemeSelector:a=r.light&&r.dark?"media":void 0,rootSelector:c=":root",...u}=e,m=Object.keys(r)[0],h=n||(r.light&&m!=="light"?"light":m),p=zc(s),{[h]:y,light:g,dark:d,...x}=r,N={...x};let E=y;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(E=!0),!E)throw new Error(Pe(21,h));const w=Er(N,E,u,h);g&&!N.light&&Er(N,g,void 0,"light"),d&&!N.dark&&Er(N,d,void 0,"dark");let _={defaultColorScheme:h,...w,cssVarPrefix:s,colorSchemeSelector:a,rootSelector:c,getCssVar:p,colorSchemes:N,font:{...wc(w.typography),...w.font},spacing:Lc(u.spacing)};Object.keys(_.colorSchemes).forEach(D=>{const l=_.colorSchemes[D].palette,S=F=>{const k=F.split("-"),A=k[1],H=k[2];return p(F,l[A][H])};if(l.mode==="light"&&(b(l.common,"background","#fff"),b(l.common,"onBackground","#000")),l.mode==="dark"&&(b(l.common,"background","#000"),b(l.common,"onBackground","#fff")),Jc(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){b(l.Alert,"errorColor",M(l.error.light,.6)),b(l.Alert,"infoColor",M(l.info.light,.6)),b(l.Alert,"successColor",M(l.success.light,.6)),b(l.Alert,"warningColor",M(l.warning.light,.6)),b(l.Alert,"errorFilledBg",S("palette-error-main")),b(l.Alert,"infoFilledBg",S("palette-info-main")),b(l.Alert,"successFilledBg",S("palette-success-main")),b(l.Alert,"warningFilledBg",S("palette-warning-main")),b(l.Alert,"errorFilledColor",he(()=>l.getContrastText(l.error.main))),b(l.Alert,"infoFilledColor",he(()=>l.getContrastText(l.info.main))),b(l.Alert,"successFilledColor",he(()=>l.getContrastText(l.success.main))),b(l.Alert,"warningFilledColor",he(()=>l.getContrastText(l.warning.main))),b(l.Alert,"errorStandardBg",O(l.error.light,.9)),b(l.Alert,"infoStandardBg",O(l.info.light,.9)),b(l.Alert,"successStandardBg",O(l.success.light,.9)),b(l.Alert,"warningStandardBg",O(l.warning.light,.9)),b(l.Alert,"errorIconColor",S("palette-error-main")),b(l.Alert,"infoIconColor",S("palette-info-main")),b(l.Alert,"successIconColor",S("palette-success-main")),b(l.Alert,"warningIconColor",S("palette-warning-main")),b(l.AppBar,"defaultBg",S("palette-grey-100")),b(l.Avatar,"defaultBg",S("palette-grey-400")),b(l.Button,"inheritContainedBg",S("palette-grey-300")),b(l.Button,"inheritContainedHoverBg",S("palette-grey-A100")),b(l.Chip,"defaultBorder",S("palette-grey-400")),b(l.Chip,"defaultAvatarColor",S("palette-grey-700")),b(l.Chip,"defaultIconColor",S("palette-grey-700")),b(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(l.LinearProgress,"primaryBg",O(l.primary.main,.62)),b(l.LinearProgress,"secondaryBg",O(l.secondary.main,.62)),b(l.LinearProgress,"errorBg",O(l.error.main,.62)),b(l.LinearProgress,"infoBg",O(l.info.main,.62)),b(l.LinearProgress,"successBg",O(l.success.main,.62)),b(l.LinearProgress,"warningBg",O(l.warning.main,.62)),b(l.Skeleton,"bg",`rgba(${S("palette-text-primaryChannel")} / 0.11)`),b(l.Slider,"primaryTrack",O(l.primary.main,.62)),b(l.Slider,"secondaryTrack",O(l.secondary.main,.62)),b(l.Slider,"errorTrack",O(l.error.main,.62)),b(l.Slider,"infoTrack",O(l.info.main,.62)),b(l.Slider,"successTrack",O(l.success.main,.62)),b(l.Slider,"warningTrack",O(l.warning.main,.62));const F=Vt(l.background.default,.8);b(l.SnackbarContent,"bg",F),b(l.SnackbarContent,"color",he(()=>l.getContrastText(F))),b(l.SpeedDialAction,"fabHoverBg",Vt(l.background.paper,.15)),b(l.StepConnector,"border",S("palette-grey-400")),b(l.StepContent,"border",S("palette-grey-400")),b(l.Switch,"defaultColor",S("palette-common-white")),b(l.Switch,"defaultDisabledColor",S("palette-grey-100")),b(l.Switch,"primaryDisabledColor",O(l.primary.main,.62)),b(l.Switch,"secondaryDisabledColor",O(l.secondary.main,.62)),b(l.Switch,"errorDisabledColor",O(l.error.main,.62)),b(l.Switch,"infoDisabledColor",O(l.info.main,.62)),b(l.Switch,"successDisabledColor",O(l.success.main,.62)),b(l.Switch,"warningDisabledColor",O(l.warning.main,.62)),b(l.TableCell,"border",O(Ut(l.divider,1),.88)),b(l.Tooltip,"bg",Ut(l.grey[700],.92))}if(l.mode==="dark"){b(l.Alert,"errorColor",O(l.error.light,.6)),b(l.Alert,"infoColor",O(l.info.light,.6)),b(l.Alert,"successColor",O(l.success.light,.6)),b(l.Alert,"warningColor",O(l.warning.light,.6)),b(l.Alert,"errorFilledBg",S("palette-error-dark")),b(l.Alert,"infoFilledBg",S("palette-info-dark")),b(l.Alert,"successFilledBg",S("palette-success-dark")),b(l.Alert,"warningFilledBg",S("palette-warning-dark")),b(l.Alert,"errorFilledColor",he(()=>l.getContrastText(l.error.dark))),b(l.Alert,"infoFilledColor",he(()=>l.getContrastText(l.info.dark))),b(l.Alert,"successFilledColor",he(()=>l.getContrastText(l.success.dark))),b(l.Alert,"warningFilledColor",he(()=>l.getContrastText(l.warning.dark))),b(l.Alert,"errorStandardBg",M(l.error.light,.9)),b(l.Alert,"infoStandardBg",M(l.info.light,.9)),b(l.Alert,"successStandardBg",M(l.success.light,.9)),b(l.Alert,"warningStandardBg",M(l.warning.light,.9)),b(l.Alert,"errorIconColor",S("palette-error-main")),b(l.Alert,"infoIconColor",S("palette-info-main")),b(l.Alert,"successIconColor",S("palette-success-main")),b(l.Alert,"warningIconColor",S("palette-warning-main")),b(l.AppBar,"defaultBg",S("palette-grey-900")),b(l.AppBar,"darkBg",S("palette-background-paper")),b(l.AppBar,"darkColor",S("palette-text-primary")),b(l.Avatar,"defaultBg",S("palette-grey-600")),b(l.Button,"inheritContainedBg",S("palette-grey-800")),b(l.Button,"inheritContainedHoverBg",S("palette-grey-700")),b(l.Chip,"defaultBorder",S("palette-grey-700")),b(l.Chip,"defaultAvatarColor",S("palette-grey-300")),b(l.Chip,"defaultIconColor",S("palette-grey-300")),b(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(l.LinearProgress,"primaryBg",M(l.primary.main,.5)),b(l.LinearProgress,"secondaryBg",M(l.secondary.main,.5)),b(l.LinearProgress,"errorBg",M(l.error.main,.5)),b(l.LinearProgress,"infoBg",M(l.info.main,.5)),b(l.LinearProgress,"successBg",M(l.success.main,.5)),b(l.LinearProgress,"warningBg",M(l.warning.main,.5)),b(l.Skeleton,"bg",`rgba(${S("palette-text-primaryChannel")} / 0.13)`),b(l.Slider,"primaryTrack",M(l.primary.main,.5)),b(l.Slider,"secondaryTrack",M(l.secondary.main,.5)),b(l.Slider,"errorTrack",M(l.error.main,.5)),b(l.Slider,"infoTrack",M(l.info.main,.5)),b(l.Slider,"successTrack",M(l.success.main,.5)),b(l.Slider,"warningTrack",M(l.warning.main,.5));const F=Vt(l.background.default,.98);b(l.SnackbarContent,"bg",F),b(l.SnackbarContent,"color",he(()=>l.getContrastText(F))),b(l.SpeedDialAction,"fabHoverBg",Vt(l.background.paper,.15)),b(l.StepConnector,"border",S("palette-grey-600")),b(l.StepContent,"border",S("palette-grey-600")),b(l.Switch,"defaultColor",S("palette-grey-300")),b(l.Switch,"defaultDisabledColor",S("palette-grey-600")),b(l.Switch,"primaryDisabledColor",M(l.primary.main,.55)),b(l.Switch,"secondaryDisabledColor",M(l.secondary.main,.55)),b(l.Switch,"errorDisabledColor",M(l.error.main,.55)),b(l.Switch,"infoDisabledColor",M(l.info.main,.55)),b(l.Switch,"successDisabledColor",M(l.success.main,.55)),b(l.Switch,"warningDisabledColor",M(l.warning.main,.55)),b(l.TableCell,"border",M(Ut(l.divider,1),.68)),b(l.Tooltip,"bg",Ut(l.grey[700],.92))}xe(l.background,"default"),xe(l.background,"paper"),xe(l.common,"background"),xe(l.common,"onBackground"),xe(l,"divider"),Object.keys(l).forEach(F=>{const k=l[F];F!=="tonalOffset"&&k&&typeof k=="object"&&(k.main&&b(l[F],"mainChannel",ut(dt(k.main))),k.light&&b(l[F],"lightChannel",ut(dt(k.light))),k.dark&&b(l[F],"darkChannel",ut(dt(k.dark))),k.contrastText&&b(l[F],"contrastTextChannel",ut(dt(k.contrastText))),F==="text"&&(xe(l[F],"primary"),xe(l[F],"secondary")),F==="action"&&(k.active&&xe(l[F],"active"),k.selected&&xe(l[F],"selected")))})}),_=t.reduce((D,l)=>oe(D,l),_);const v={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:Oc(_)},{vars:C,generateThemeVars:T,generateStyleSheets:P}=fc(_,v);return _.vars=C,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([D,l])=>{_[D]=l}),_.generateThemeVars=T,_.generateStyleSheets=P,_.generateSpacing=function(){return no(u.spacing,hr(this))},_.getColorSchemeSelector=mc(a),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=i,_.unstable_sxConfig={...jt,...u?.unstable_sxConfig},_.unstable_sx=function(l){return Ke({sx:l,theme:this})},_.toRuntimeSource=wo,_}function _o(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Sr({...r===!0?{}:r.palette,mode:t})})}function Wc(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:s=r?.mode,...i}=e,a=s||"light",c=o?.[a],u={...o,...r?{[a]:{...typeof c!="boolean"&&c,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return _r(e,...t);let m=r;"palette"in e||u[a]&&(u[a]!==!0?m=u[a].palette:a==="dark"&&(m={mode:"dark"}));const h=_r({...e,palette:m},...t);return h.defaultColorScheme=a,h.colorSchemes=u,h.palette.mode==="light"&&(h.colorSchemes.light={...u.light!==!0&&u.light,palette:h.palette},_o(h,"dark",u.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:h.palette},_o(h,"light",u.light)),h}return!r&&!("light"in u)&&a==="light"&&(u.light=!0),qc({...i,colorSchemes:u,defaultColorScheme:a,...typeof n!="boolean"&&n},...t)}const Hc=Wc();function Kc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Tr=Ka({themeId:Ss,defaultTheme:Hc,rootShouldForwardProp:e=>Kc(e)&&e!=="classes"}),Eo=cc;function Gc(e){return ac(e)}function Yc(e){return typeof e.main=="string"}function Qc(e,t=[]){if(!Yc(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Xc(e=[]){return([,t])=>t&&Qc(t,e)}function Zc(e){return co("MuiCircularProgress",e)}za("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Te=44,Dr=Mn`
|
|
24
47
|
0% {
|
|
25
48
|
transform: rotate(0deg);
|
|
26
49
|
}
|
|
@@ -28,7 +51,7 @@ export default theme;`}function lr(e={},...t){const{breakpoints:r,mixins:n={},sp
|
|
|
28
51
|
100% {
|
|
29
52
|
transform: rotate(360deg);
|
|
30
53
|
}
|
|
31
|
-
`,
|
|
54
|
+
`,kr=Mn`
|
|
32
55
|
0% {
|
|
33
56
|
stroke-dasharray: 1px, 200px;
|
|
34
57
|
stroke-dashoffset: 0;
|
|
@@ -43,87 +66,87 @@ export default theme;`}function lr(e={},...t){const{breakpoints:r,mixins:n={},sp
|
|
|
43
66
|
stroke-dasharray: 1px, 200px;
|
|
44
67
|
stroke-dashoffset: -126px;
|
|
45
68
|
}
|
|
46
|
-
`,
|
|
47
|
-
animation: ${
|
|
48
|
-
`:null,
|
|
49
|
-
animation: ${
|
|
50
|
-
`:null,
|
|
69
|
+
`,el=typeof Dr!="string"?ur`
|
|
70
|
+
animation: ${Dr} 1.4s linear infinite;
|
|
71
|
+
`:null,tl=typeof kr!="string"?ur`
|
|
72
|
+
animation: ${kr} 1.4s ease-in-out infinite;
|
|
73
|
+
`:null,rl=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,s={root:["root",r,`color${We(n)}`],svg:["svg"],circle:["circle",`circle${We(r)}`,o&&"circleDisableShrink"]};return pc(s,Zc,t)},nl=Tr("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${We(r.color)}`]]}})(Eo(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:el||{animation:`${Dr} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Xc()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),ol=Tr("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),sl=Tr("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${We(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Eo(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:tl||{animation:`${kr} 1.4s ease-in-out infinite`}}]}))),To=U.forwardRef(function(t,r){const n=Gc({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:i=!1,size:a=40,style:c,thickness:u=3.6,value:m=0,variant:h="indeterminate",...p}=n,y={...n,color:s,disableShrink:i,size:a,thickness:u,value:m,variant:h},g=rl(y),d={},x={},N={};if(h==="determinate"){const E=2*Math.PI*((Te-u)/2);d.strokeDasharray=E.toFixed(3),N["aria-valuenow"]=Math.round(m),d.strokeDashoffset=`${((100-m)/100*E).toFixed(3)}px`,x.transform="rotate(-90deg)"}return zt.jsx(nl,{className:ao(g.root,o),style:{width:a,height:a,...x,...c},ownerState:y,ref:r,role:"progressbar",...N,...p,children:zt.jsx(ol,{className:g.svg,ownerState:y,viewBox:`${Te/2} ${Te/2} ${Te} ${Te}`,children:zt.jsx(sl,{className:g.circle,style:d,ownerState:y,cx:Te,cy:Te,r:(Te-u)/2,fill:"none",strokeWidth:u})})})}),ue={button:"_button_1lonh_3",primary:"_primary_1lonh_81",secondary:"_secondary_1lonh_103",social:"_social_1lonh_125",sm:"_sm_1lonh_149",md:"_md_1lonh_161",lg:"_lg_1lonh_173",fullWidth:"_fullWidth_1lonh_187",content:"_content_1lonh_197",loading:"_loading_1lonh_209",loadingText:"_loadingText_1lonh_221",icon:"_icon_1lonh_229",text:"_text_1lonh_241"},ie=({children:e,isLoading:t=!1,loadingText:r="Loading...",variant:n="primary",size:o="md",fullWidth:s=!1,icon:i,iconPosition:a="left",className:c,disabled:u,...m})=>{const{theme:h}=ee(),p=[ue.button,ue[n],ue[o],s&&ue.fullWidth,c].filter(Boolean).join(" "),y=u||t,g=()=>t?f.jsxDEV("div",{className:ue.loading,children:[f.jsxDEV(To,{size:o==="sm"?16:o==="lg"?24:20,thickness:4,style:{color:n==="primary"?h.colors.buttonPrimaryText:h.colors.buttonSecondaryText}},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:36,columnNumber:11},void 0),f.jsxDEV("span",{className:ue.loadingText,children:r},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:43,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:35,columnNumber:9},void 0):i?f.jsxDEV("div",{className:ue.content,children:[a==="left"&&f.jsxDEV("span",{className:ue.icon,children:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:51,columnNumber:39},void 0),f.jsxDEV("span",{className:ue.text,children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:52,columnNumber:11},void 0),a==="right"&&f.jsxDEV("span",{className:ue.icon,children:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:53,columnNumber:40},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:50,columnNumber:9},void 0):f.jsxDEV("span",{className:ue.text,children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:58,columnNumber:12},void 0);return f.jsxDEV("button",{className:p,disabled:y,...m,children:g()},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/Button.tsx",lineNumber:62,columnNumber:5},void 0)};/**
|
|
51
74
|
* @license lucide-react v0.525.0 - ISC
|
|
52
75
|
*
|
|
53
76
|
* This source code is licensed under the ISC license.
|
|
54
77
|
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/const
|
|
78
|
+
*/const il=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),al=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Do=e=>{const t=al(e);return t.charAt(0).toUpperCase()+t.slice(1)},ko=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),cl=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
56
79
|
* @license lucide-react v0.525.0 - ISC
|
|
57
80
|
*
|
|
58
81
|
* This source code is licensed under the ISC license.
|
|
59
82
|
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/var
|
|
83
|
+
*/var ll={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
61
84
|
* @license lucide-react v0.525.0 - ISC
|
|
62
85
|
*
|
|
63
86
|
* This source code is licensed under the ISC license.
|
|
64
87
|
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/const
|
|
88
|
+
*/const ul=B.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:i,...a},c)=>B.createElement("svg",{ref:c,...ll,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:ko("lucide",o),...!s&&!cl(a)&&{"aria-hidden":"true"},...a},[...i.map(([u,m])=>B.createElement(u,m)),...Array.isArray(s)?s:[s]]));/**
|
|
66
89
|
* @license lucide-react v0.525.0 - ISC
|
|
67
90
|
*
|
|
68
91
|
* This source code is licensed under the ISC license.
|
|
69
92
|
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/const
|
|
93
|
+
*/const ge=(e,t)=>{const r=B.forwardRef(({className:n,...o},s)=>B.createElement(ul,{ref:s,iconNode:t,className:ko(`lucide-${il(Do(e))}`,`lucide-${e}`,n),...o}));return r.displayName=Do(e),r};/**
|
|
71
94
|
* @license lucide-react v0.525.0 - ISC
|
|
72
95
|
*
|
|
73
96
|
* This source code is licensed under the ISC license.
|
|
74
97
|
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/const
|
|
98
|
+
*/const dl=ge("apple",[["path",{d:"M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z",key:"3s7exb"}],["path",{d:"M10 2c1 .5 2 2 2 5",key:"fcco2y"}]]);/**
|
|
76
99
|
* @license lucide-react v0.525.0 - ISC
|
|
77
100
|
*
|
|
78
101
|
* This source code is licensed under the ISC license.
|
|
79
102
|
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/const
|
|
103
|
+
*/const fl=ge("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
81
104
|
* @license lucide-react v0.525.0 - ISC
|
|
82
105
|
*
|
|
83
106
|
* This source code is licensed under the ISC license.
|
|
84
107
|
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
-
*/const
|
|
108
|
+
*/const ml=ge("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
|
|
86
109
|
* @license lucide-react v0.525.0 - ISC
|
|
87
110
|
*
|
|
88
111
|
* This source code is licensed under the ISC license.
|
|
89
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/const
|
|
113
|
+
*/const pl=ge("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
91
114
|
* @license lucide-react v0.525.0 - ISC
|
|
92
115
|
*
|
|
93
116
|
* This source code is licensed under the ISC license.
|
|
94
117
|
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/const
|
|
118
|
+
*/const hl=ge("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
96
119
|
* @license lucide-react v0.525.0 - ISC
|
|
97
120
|
*
|
|
98
121
|
* This source code is licensed under the ISC license.
|
|
99
122
|
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/const
|
|
123
|
+
*/const gl=ge("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
101
124
|
* @license lucide-react v0.525.0 - ISC
|
|
102
125
|
*
|
|
103
126
|
* This source code is licensed under the ISC license.
|
|
104
127
|
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/const
|
|
128
|
+
*/const yl=ge("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
106
129
|
* @license lucide-react v0.525.0 - ISC
|
|
107
130
|
*
|
|
108
131
|
* This source code is licensed under the ISC license.
|
|
109
132
|
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/const
|
|
133
|
+
*/const bl=ge("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
111
134
|
* @license lucide-react v0.525.0 - ISC
|
|
112
135
|
*
|
|
113
136
|
* This source code is licensed under the ISC license.
|
|
114
137
|
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/const
|
|
138
|
+
*/const vl=ge("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
116
139
|
* @license lucide-react v0.525.0 - ISC
|
|
117
140
|
*
|
|
118
141
|
* This source code is licensed under the ISC license.
|
|
119
142
|
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/const Sc=me("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ye={alert:"_alert_16snf_3",content:"_content_16snf_31",icon:"_icon_16snf_45",message:"_message_16snf_57",close:"_close_16snf_71",closeIcon:"_closeIcon_16snf_105",success:"_success_16snf_117",error:"_error_16snf_145",warning:"_warning_16snf_173",info:"_info_16snf_201"},hr=({message:e,type:t,onClose:r,dismissible:n=!1,className:o})=>{ee();const i=()=>{switch(t){case"success":return f.jsx(wc,{className:ye.icon});case"error":return f.jsx(bc,{className:ye.icon});case"warning":return f.jsx(_c,{className:ye.icon});case"info":return f.jsx(Cc,{className:ye.icon});default:return null}},a=[ye.alert,ye[t],o].filter(Boolean).join(" ");return f.jsxs("div",{className:a,role:"alert",children:[f.jsxs("div",{className:ye.content,children:[i(),f.jsx("span",{className:ye.message,children:e})]}),n&&r&&f.jsx("button",{type:"button",className:ye.close,onClick:r,"aria-label":"Close alert",children:f.jsx(Sc,{className:ye.closeIcon})})]})},gr={button:"_button_pn1qk_1",disabled:"_disabled_pn1qk_31",icon:"_icon_pn1qk_57"},Ke=({fallbackRoute:e="/signup",disabled:t=!1,className:r="",iconClassName:n="",onBack:o})=>{ee();const i=()=>{t||(o?o():typeof window<"u"&&(window.history.length>1?window.history.back():window.location.href=e))},a=[gr.button,t&&gr.disabled,r].filter(Boolean).join(" "),s=[gr.icon,n].filter(Boolean).join(" ");return f.jsx("button",{type:"button",onClick:i,disabled:t,className:a,"aria-label":"Go back",children:f.jsx(gc,{className:s})})},Ie={container:"_container_1quc1_1",horizontal:"_horizontal_1quc1_17",vertical:"_vertical_1quc1_27",button:"_button_1quc1_35",icon:"_icon_1quc1_45",label:"_label_1quc1_65"},mr=({onSocialLogin:e,isLoading:t=!1,providers:r=["apple","google","facebook"],showLabels:n=!1,orientation:o="horizontal",className:i})=>{ee();const a=[Ie.container,Ie[o],i].filter(Boolean).join(" "),s=l=>{switch(l){case"apple":return f.jsx(hc,{className:Ie.icon});case"google":return f.jsxs("svg",{className:Ie.icon,viewBox:"0 0 24 24",fill:"currentColor",children:[f.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),f.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),f.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),f.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]});case"facebook":return f.jsx("svg",{className:Ie.icon,viewBox:"0 0 24 24",fill:"currentColor",children:f.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z",fill:"#1877F2"})});default:return null}};return f.jsx("div",{className:a,children:r.map(l=>f.jsx(ae,{type:"button",variant:"social",onClick:()=>e?.(l),disabled:t,icon:s(l),className:Ie.button,children:n&&f.jsx("span",{className:Ie.label,children:l.charAt(0).toUpperCase()+l.slice(1)})},l))})},xc={authCard:"_authCard_xzyxk_1"},kc=({children:e,className:t})=>{ee();const r=[xc.authCard,t].filter(Boolean).join(" ");return f.jsx("div",{className:r,children:e})},J={container:"_container_1o9xl_1",formHeader:"_formHeader_1o9xl_19",titleContainer:"_titleContainer_1o9xl_41",title:"_title_1o9xl_41",logoIcon:"_logoIcon_1o9xl_73",form:"_form_1o9xl_19",inputField:"_inputField_1o9xl_101",divider:"_divider_1o9xl_165",dividerLine:"_dividerLine_1o9xl_185",dividerText:"_dividerText_1o9xl_197",caption:"_caption_1o9xl_211",footerContainer:"_footerContainer_1o9xl_223",footerRow:"_footerRow_1o9xl_245",linkButton:"_linkButton_1o9xl_263"},Tc=({onSubmit:e,onForgotPassword:t,onSignUp:r,onSocialLogin:n,authProviders:o=["apple","google","facebook"],logoSrc:i,isLoading:a=!1,className:s})=>{const{theme:l}=ee(),[d,g]=j.useState(""),[p,m]=j.useState(""),y=u=>{u.preventDefault(),e?.(d,p)},h=[J.container,s].filter(Boolean).join(" ");return f.jsxs("div",{className:h,children:[l.customization.showFormHeader&&f.jsxs("div",{className:J.formHeader,children:[f.jsx("div",{className:J.titleContainer,children:f.jsx("b",{className:J.title,children:"Sign in"})}),(i||l.brand.secondaryLogo)&&l.customization.showLogo&&f.jsx("img",{className:J.logoIcon,alt:l.brand.logoAlt||"Logo",src:i||l.brand.secondaryLogo})]}),f.jsxs("form",{onSubmit:y,className:J.form,children:[f.jsx("input",{className:J.inputField,placeholder:"Email",type:"email",value:d,onChange:u=>g(u.target.value),required:!0,disabled:a}),f.jsx("input",{className:J.inputField,placeholder:"Password",type:"password",value:p,onChange:u=>m(u.target.value),required:!0,disabled:a}),f.jsx(ae,{type:"submit",isLoading:a,loadingText:"Signing in...",fullWidth:!0,children:"Continue"})]}),l.customization.showSocialLogin&&f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:J.divider,children:[f.jsx("div",{className:J.dividerLine}),f.jsx("div",{className:J.dividerText,children:f.jsx("div",{className:J.caption,children:"or sign in with"})}),f.jsx("div",{className:J.dividerLine})]}),f.jsx(mr,{providers:o,onSocialLogin:n,isLoading:a})]}),f.jsxs("div",{className:J.footerContainer,children:[f.jsx("div",{className:J.footerRow,children:f.jsx("button",{type:"button",className:J.linkButton,onClick:t,disabled:a,children:"Forgot Password?"})}),f.jsxs("div",{className:J.footerRow,children:[f.jsx("span",{className:J.caption,children:"Don't have an account? "}),f.jsx("button",{type:"button",className:J.linkButton,onClick:r,disabled:a,children:"Sign up"})]})]})]})},H={container:"_container_146dj_1",formHeader:"_formHeader_146dj_21",titleContainer:"_titleContainer_146dj_47",title:"_title_146dj_47",logoIcon:"_logoIcon_146dj_79",accountTypeContainer:"_accountTypeContainer_146dj_95",accountTypeButton:"_accountTypeButton_146dj_123",selected:"_selected_146dj_157",accountTypeIcon:"_accountTypeIcon_146dj_169",accountTypeText:"_accountTypeText_146dj_183",form:"_form_146dj_21",inputField:"_inputField_146dj_257",divider:"_divider_146dj_323",dividerLine:"_dividerLine_146dj_343",dividerText:"_dividerText_146dj_355",caption:"_caption_146dj_369",footerContainer:"_footerContainer_146dj_383",footerRow:"_footerRow_146dj_405",linkButton:"_linkButton_146dj_423"},Ac=({onSubmit:e,onSignIn:t,onSocialLogin:r,logoSrc:n,authProviders:o=["apple","google","facebook"],accountTypes:i=[{label:"Business",icon:mc},{label:"Individual",icon:vc}],isLoading:a=!1,className:s})=>{const{theme:l}=ee(),[d,g]=j.useState(""),[p,m]=j.useState(""),[y,h]=j.useState(i.length>0?i[0]:null),u=C=>{C.preventDefault(),e?.(d,p,y?.label||null)},T=[H.container,s].filter(Boolean).join(" ");return f.jsxs("div",{className:T,children:[l.customization.showFormHeader&&f.jsxs("div",{className:H.formHeader,children:[f.jsx("div",{className:H.titleContainer,children:f.jsx("b",{className:H.title,children:"Create your account"})}),(n||l.brand.secondaryLogo)&&l.customization.showLogo&&f.jsx("img",{className:H.logoIcon,alt:l.brand.logoAlt||"Logo",src:n||l.brand.secondaryLogo})]}),i.length>1&&f.jsx("div",{className:H.accountTypeContainer,children:i.map((C,A)=>f.jsxs("button",{type:"button",className:`${H.accountTypeButton} ${y?.label===C.label?H.selected:""}`,onClick:()=>h(C),disabled:a,children:[f.jsx(C.icon,{className:H.accountTypeIcon}),f.jsx("b",{className:H.accountTypeText,children:C.label})]},`account-type-${A}`))}),f.jsxs("form",{onSubmit:u,className:H.form,children:[f.jsx("input",{className:H.inputField,placeholder:"Email",type:"email",value:d,onChange:C=>g(C.target.value),required:!0,disabled:a}),f.jsx("input",{className:H.inputField,placeholder:"Password",type:"password",value:p,onChange:C=>m(C.target.value),required:!0,disabled:a}),f.jsx(ae,{type:"submit",isLoading:a,loadingText:"Creating account...",fullWidth:!0,children:"Create Account"})]}),l.customization.showSocialLogin&&f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:H.divider,children:[f.jsx("div",{className:H.dividerLine}),f.jsx("div",{className:H.dividerText,children:f.jsx("div",{className:H.caption,children:"or sign up with"})}),f.jsx("div",{className:H.dividerLine})]}),f.jsx(mr,{providers:o,onSocialLogin:r,isLoading:a})]}),f.jsx("div",{className:H.footerContainer,children:f.jsxs("div",{className:H.footerRow,children:[f.jsx("span",{className:H.caption,children:"Already have an account? "}),f.jsx("button",{type:"button",className:H.linkButton,onClick:t,disabled:a,children:"Sign in"})]})})]})},ve={container:"_container_1uxj3_1",backArrow:"_backArrow_1uxj3_31",backArrowIcon:"_backArrowIcon_1uxj3_49",spacer:"_spacer_1uxj3_73",titleContainer:"_titleContainer_1uxj3_89",title:"_title_1uxj3_89",description:"_description_1uxj3_121",descriptionText:"_descriptionText_1uxj3_141",emailInput:"_emailInput_1uxj3_153"},Pc=({onSubmit:e,isLoading:t=!1,className:r,backArrowFallbackRoute:n="/signin"})=>{const{theme:o}=ee(),[i,a]=j.useState(""),s=d=>{d.preventDefault(),e(i)},l=[ve.container,r].filter(Boolean).join(" ");return f.jsxs("form",{onSubmit:s,className:l,children:[o.customization.showBackArrow&&f.jsxs("div",{className:ve.backArrow,children:[f.jsx(Ke,{fallbackRoute:n,className:ve.backArrowIcon,disabled:t}),f.jsx("div",{className:ve.spacer})]}),f.jsx("div",{className:ve.titleContainer,children:f.jsx("b",{className:ve.title,children:"Forgot your password?"})}),f.jsx("div",{className:ve.description,children:f.jsx("div",{className:ve.descriptionText,children:"Enter your email address associated to your account and we will send you a one time link to reset your password."})}),f.jsx("input",{required:!0,className:ve.emailInput,type:"email",placeholder:"Email",value:i,onChange:d=>a(d.target.value),disabled:t}),f.jsx(ae,{type:"submit",isLoading:t,loadingText:"Sending...",fullWidth:!0,children:"Reset Password"})]})},te={container:"_container_3cd8r_1",backArrow:"_backArrow_3cd8r_29",backArrowIcon:"_backArrowIcon_3cd8r_47",progressContainer:"_progressContainer_3cd8r_71",progressBar:"_progressBar_3cd8r_93",progressBarEmpty:"_progressBarEmpty_3cd8r_107",spacer:"_spacer_3cd8r_121",imageContainer:"_imageContainer_3cd8r_137",image:"_image_3cd8r_137",titleContainer:"_titleContainer_3cd8r_167",title:"_title_3cd8r_167",titleText:"_titleText_3cd8r_199",description:"_description_3cd8r_215",descriptionText:"_descriptionText_3cd8r_235"},$c=({onSubmit:e,onResendEmail:t,email:r,isLoading:n=!1,className:o,backArrowFallbackRoute:i="/signup"})=>{const{theme:a}=ee(),s=[te.container,o].filter(Boolean).join(" ");return f.jsxs("div",{className:s,children:[a.customization.showBackArrow&&f.jsxs("div",{className:te.backArrow,children:[f.jsx(Ke,{disabled:n,className:te.backArrowIcon,fallbackRoute:i}),f.jsxs("div",{className:te.progressContainer,children:[f.jsx("div",{className:te.progressBar}),f.jsx("div",{className:te.progressBarEmpty}),f.jsx("div",{className:te.progressBarEmpty})]}),f.jsx("div",{className:te.spacer})]}),f.jsx("div",{className:te.imageContainer,children:f.jsx("img",{className:te.image,alt:"Email verification",src:"/images/email-verification.png"})}),f.jsx("div",{className:te.titleContainer,children:f.jsx("div",{className:te.title,children:f.jsx("b",{className:te.titleText,children:"Verify your email"})})}),f.jsx("div",{className:te.description,children:f.jsxs("div",{className:te.descriptionText,children:[f.jsx("span",{children:"We sent a verification email to "}),f.jsx("b",{children:r||"[your email]"}),f.jsx("span",{children:". Please tap the link inside that email to continue."})]})}),f.jsx(ae,{onClick:e,disabled:n,fullWidth:!0,children:"Check my inbox"}),f.jsx(ae,{variant:"secondary",onClick:t,isLoading:n,loadingText:"Sending...",fullWidth:!0,children:"Resend Email"})]})},se={backArrowIcon:"_backArrowIcon_gamra_49",buttons:"_buttons_gamra_327"},Ec=({onNext:e,onCancel:t,qrCodeUri:r,sharedKey:n,isLoading:o=!1,backArrowFallbackRoute:i="/accountstatus"})=>{const a=j.useRef(null);j.useEffect(()=>{r&&a.current&&Promise.resolve().then(()=>rl).then(d=>{a.current&&d.toCanvas(a.current,r,{width:193,margin:1})}).catch(()=>{console.error("Failed to generate QR code")})},[r]);const s=()=>{o||e?.()},l=()=>{o||t?.()};return f.jsxs("div",{className:se.loginform,children:[f.jsxs("div",{className:se.backarrow,children:[f.jsx(Ke,{disabled:o,className:se.backArrowIcon,iconClassName:se.vectorIcon,fallbackRoute:i}),f.jsx("div",{className:se.backArrowIcon1})]}),f.jsx("div",{className:se.text,children:f.jsx("b",{className:se.h3MediumTitle,children:"Multi-Factor Authentication"})}),f.jsx("div",{className:se.text1,children:f.jsxs("div",{className:se.h6FinePrintContainer,children:[f.jsx("span",{children:"Use your authentication app to scan this QR code. If you don't have an authentication app on your device, you'll need to install one now. "}),f.jsx("a",{href:"https://support.google.com/accounts/answer/1066447?hl=en",target:"_blank",rel:"noopener noreferrer",children:"Learn more"})]})}),f.jsxs("div",{className:se.qrcontainer,children:[o?f.jsx("div",{style:{width:"193.3px",height:"192px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid var(--color-gray-600)",borderRadius:"15.36px"},children:f.jsx(eo,{size:40,sx:{color:"var(--color-white)"}})}):r?f.jsx("canvas",{ref:a,style:{padding:"16px",backgroundColor:"white",borderRadius:"15.36px",minHeight:"192px",display:"block"}}):f.jsx("div",{style:{width:"193.3px",height:"192px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid var(--color-gray-600)",borderRadius:"15.36px",backgroundColor:"var(--color-gray-100)",color:"var(--color-white)"},children:f.jsx("span",{children:"QR Code will appear here"})}),f.jsx("div",{className:se.text2,children:f.jsx("div",{className:se.h6FinePrint,children:"Can't scan the QR code?"})}),n&&f.jsxs("div",{style:{marginTop:"8px",padding:"8px 12px",backgroundColor:"var(--color-gray-100)",borderRadius:"8px",fontSize:"14px",fontFamily:"monospace",color:"var(--color-white)",wordBreak:"break-all"},children:["Manual entry key: ",n]})]}),f.jsxs("div",{className:se.buttons,children:[f.jsx(ae,{variant:"secondary",onClick:l,disabled:o,type:"button",children:"Cancel"}),f.jsx(ae,{onClick:s,disabled:o,type:"button",isLoading:o,loadingText:"Loading...",children:"Next"})]})]})},Z={container:"_container_p91jn_1",backArrow:"_backArrow_p91jn_29",backArrowIcon:"_backArrowIcon_p91jn_47",progressContainer:"_progressContainer_p91jn_71",progressBar:"_progressBar_p91jn_93",progressBarEmpty:"_progressBarEmpty_p91jn_107",spacer:"_spacer_p91jn_121",titleContainer:"_titleContainer_p91jn_137",title:"_title_p91jn_137",description:"_description_p91jn_169",descriptionText:"_descriptionText_p91jn_189",errorMessage:"_errorMessage_p91jn_201",inputContainer:"_inputContainer_p91jn_211",inputRow:"_inputRow_p91jn_227",digitInput:"_digitInput_p91jn_245",helpText:"_helpText_p91jn_307"},Bc=({onVerify:e,isLoading:t=!1,error:r,backRoute:n="/twofactor",className:o})=>{const{theme:i}=ee(),[a,s]=j.useState(["","","","","",""]),l=j.useRef([]);j.useEffect(()=>{l.current[0]&&l.current[0].focus()},[]);const d=(h,u)=>{if(u&&!/^\d$/.test(u))return;const T=[...a];if(T[h]=u,s(T),u&&h<5&&l.current[h+1]&&l.current[h+1]?.focus(),u&&h===5){const C=T.join("");C.length===6&&e?.(C)}},g=(h,u)=>{u.key==="Backspace"&&!a[h]&&h>0?l.current[h-1]?.focus():u.key==="v"&&(u.ctrlKey||u.metaKey)&&(u.preventDefault(),navigator.clipboard.readText().then(T=>{const C=T.replace(/\D/g,"").slice(0,6);if(C.length===6){const A=C.split("");s(A),e?.(C)}}).catch(()=>{}))},p=()=>{const h=a.join("");h.length===6&&!t&&e?.(h)},m=a.every(h=>h!==""),y=[Z.container,o].filter(Boolean).join(" ");return f.jsxs("div",{className:y,children:[i.customization.showBackArrow&&f.jsxs("div",{className:Z.backArrow,children:[f.jsx(Ke,{fallbackRoute:n,className:Z.backArrowIcon,disabled:t}),f.jsxs("div",{className:Z.progressContainer,children:[f.jsx("div",{className:Z.progressBar}),f.jsx("div",{className:Z.progressBarEmpty})]}),f.jsx("div",{className:Z.spacer})]}),f.jsx("div",{className:Z.titleContainer,children:f.jsx("b",{className:Z.title,children:"Enter your verification code"})}),f.jsx("div",{className:Z.description,children:f.jsx("div",{className:Z.descriptionText,children:"Enter the code that you see in your authenticator app"})}),r&&f.jsx(hr,{type:"error",message:r,className:Z.errorMessage}),f.jsx("div",{className:Z.inputContainer,children:f.jsx("div",{className:Z.inputRow,children:a.map((h,u)=>f.jsx("input",{ref:T=>{l.current[u]=T},className:Z.digitInput,type:"text",value:h,onChange:T=>d(u,T.target.value),onKeyDown:T=>g(u,T),maxLength:1,disabled:t},u))})}),f.jsx(ae,{onClick:p,disabled:!m||t,type:"button",isLoading:t,loadingText:"Verifying...",fullWidth:!0,children:"Verify"}),f.jsx("div",{className:Z.helpText,children:"You can also paste your 6-digit code"})]})},Y={container:"_container_19w5z_1",header:"_header_19w5z_29",titleContainer:"_titleContainer_19w5z_49",title:"_title_19w5z_49",checkIcon:"_checkIcon_19w5z_81",description:"_description_19w5z_95",descriptionText:"_descriptionText_19w5z_113",codesContainer:"_codesContainer_19w5z_143",backupCodesContainer:"_backupCodesContainer_19w5z_165",codeGroup:"_codeGroup_19w5z_191",codeColumn:"_codeColumn_19w5z_205",codeText:"_codeText_19w5z_219",buttonContainer:"_buttonContainer_19w5z_243",pillButton:"_pillButton_19w5z_263",pillTag:"_pillTag_19w5z_309",footer:"_footer_19w5z_327",footerText:"_footerText_19w5z_347",actions:"_actions_19w5z_359"},Nc=({onDone:e,backupCodes:t=["1337gd","298edg","388hd3","a1b2c3","x4y5z6","m7n8o9","z1x2c3","v4b5n6","m7k8j9","4b5c6a","2d3e4f","9g8h7j"],isLoading:r=!1,className:n})=>{ee();const[o,i]=j.useState(!1),a=()=>{r||e?.()},s=async()=>{try{const p=t.join(`
|
|
121
|
-
`);await navigator.clipboard.writeText(p),i(!0),setTimeout(()=>i(!1),2e3)}catch(p){console.error("Failed to copy backup codes:",p)}},
|
|
122
|
-
`),m=new Blob([p],{type:"text/plain"}),y=URL.createObjectURL(m),h=document.createElement("a");h.href=y,h.download="backup-codes.txt",document.body.appendChild(h),h.click(),document.body.removeChild(h),URL.revokeObjectURL(y)},d=[];for(let p=0;p<t.length;p+=3)d.push(t.slice(p,p+3));const g=[Y.container,n].filter(Boolean).join(" ");return f.jsxs("div",{className:g,children:[f.jsxs("div",{className:Y.header,children:[f.jsx("div",{className:Y.titleContainer,children:f.jsx("b",{className:Y.title,children:"You're all set"})}),f.jsx(yc,{className:Y.checkIcon})]}),f.jsx("div",{className:Y.description,children:f.jsxs("div",{className:Y.descriptionText,children:[f.jsx("p",{children:"Now you can use the mobile authenticator app to get an authentication code any time you log in."}),f.jsx("p",{children:"Save these single-use backup codes in a safe place."})]})}),f.jsxs("div",{className:Y.codesContainer,children:[f.jsx("div",{className:Y.backupCodesContainer,children:d.map((p,m)=>f.jsx("div",{className:Y.codeGroup,children:f.jsx("div",{className:Y.codeColumn,children:p.map((y,h)=>f.jsx("p",{className:Y.codeText,children:y},h))})},m))}),f.jsxs("div",{className:Y.buttonContainer,children:[f.jsx("button",{className:Y.pillButton,onClick:s,disabled:r,type:"button",children:f.jsx("div",{className:Y.pillTag,children:o?"Copied!":"Copy"})}),f.jsx("button",{className:Y.pillButton,onClick:l,disabled:r,type:"button",children:f.jsx("div",{className:Y.pillTag,children:"Download"})})]})]}),f.jsx("div",{className:Y.footer,children:f.jsx("div",{className:Y.footerText,children:"These backup codes let you log in if you can't receive a text message or don't have access to any of your other two-factor authentication methods."})}),f.jsxs("div",{className:Y.actions,children:[f.jsx(ae,{onClick:a,disabled:r,type:"button",isLoading:r,loadingText:"Loading...",fullWidth:!0,children:"Done"}),f.jsx(ae,{variant:"secondary",onClick:s,disabled:r,type:"button",fullWidth:!0,children:o?"Copied!":"Copy Codes"})]})]})},de={container:"_container_1u36u_1",backArrow:"_backArrow_1u36u_31",backArrowIcon:"_backArrowIcon_1u36u_49",spacer:"_spacer_1u36u_73",titleContainer:"_titleContainer_1u36u_89",title:"_title_1u36u_89",description:"_description_1u36u_121",descriptionText:"_descriptionText_1u36u_141",alert:"_alert_1u36u_153",passwordInput:"_passwordInput_1u36u_161"},Ic=({onSubmit:e,isLoading:t=!1,className:r,description:n="Enter your new password below. Make sure it's secure and at least 8 characters long.",errorStr:o=null,backArrowFallbackRoute:i="/signin"})=>{const{theme:a}=ee(),[s,l]=j.useState(""),[d,g]=j.useState(""),[p,m]=j.useState(o||"");j.useEffect(()=>{m(o||"")},[o]);const y=u=>{if(u.preventDefault(),m(""),!s){m("Password is required");return}if(!d){m("Confirm password is required");return}if(s!==d){m("Passwords do not match");return}e(s)},h=[de.container,r].filter(Boolean).join(" ");return f.jsxs("form",{onSubmit:y,className:h,children:[a.customization.showBackArrow&&f.jsxs("div",{className:de.backArrow,children:[f.jsx(Ke,{fallbackRoute:i,className:de.backArrowIcon,disabled:t}),f.jsx("div",{className:de.spacer})]}),f.jsx("div",{className:de.titleContainer,children:f.jsx("b",{className:de.title,children:"Reset your password"})}),f.jsx("div",{className:de.description,children:f.jsx("div",{className:de.descriptionText,children:n})}),p&&f.jsx(hr,{type:"error",message:p,className:de.alert}),f.jsx("input",{required:!0,className:de.passwordInput,type:"password",placeholder:"New Password",value:s,onChange:u=>l(u.target.value),disabled:t}),f.jsx("input",{required:!0,className:de.passwordInput,type:"password",placeholder:"Confirm Password",value:d,onChange:u=>g(u.target.value),disabled:t}),f.jsx(ae,{type:"submit",isLoading:t,loadingText:"Resetting...",fullWidth:!0,children:"Reset Password"})]})},Fc="Building component library...";var Ge={},yr,no;function Mc(){return no||(no=1,yr=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),yr}var br={},Ae={},oo;function Fe(){if(oo)return Ae;oo=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ae.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Ae.getSymbolTotalCodewords=function(n){return t[n]},Ae.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},Ae.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},Ae.isKanjiModeEnabled=function(){return typeof e<"u"},Ae.toSJIS=function(n){return e(n)},Ae}var wr={},io;function Cr(){return io||(io=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}}(wr)),wr}var _r,ao;function Oc(){if(ao)return _r;ao=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},_r=e,_r}var vr,so;function Lc(){if(so)return vr;so=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const i=t*this.size+r;this.data[i]=n,o&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},vr=e,vr}var Sr={},co;function jc(){return co||(co=1,function(e){const t=Fe().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,i=t(n),a=i===145?26:Math.ceil((i-13)/(2*o-2))*2,s=[i-7];for(let l=1;l<o-1;l++)s[l]=s[l-1]-a;return s.push(6),s.reverse()},e.getPositions=function(n){const o=[],i=e.getRowColCoords(n),a=i.length;for(let s=0;s<a;s++)for(let l=0;l<a;l++)s===0&&l===0||s===0&&l===a-1||s===a-1&&l===0||o.push([i[s],i[l]]);return o}}(Sr)),Sr}var xr={},lo;function Dc(){if(lo)return xr;lo=1;const e=Fe().getSymbolSize,t=7;return xr.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},xr}var kr={},uo;function zc(){return uo||(uo=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const i=o.size;let a=0,s=0,l=0,d=null,g=null;for(let p=0;p<i;p++){s=l=0,d=g=null;for(let m=0;m<i;m++){let y=o.get(p,m);y===d?s++:(s>=5&&(a+=t.N1+(s-5)),d=y,s=1),y=o.get(m,p),y===g?l++:(l>=5&&(a+=t.N1+(l-5)),g=y,l=1)}s>=5&&(a+=t.N1+(s-5)),l>=5&&(a+=t.N1+(l-5))}return a},e.getPenaltyN2=function(o){const i=o.size;let a=0;for(let s=0;s<i-1;s++)for(let l=0;l<i-1;l++){const d=o.get(s,l)+o.get(s,l+1)+o.get(s+1,l)+o.get(s+1,l+1);(d===4||d===0)&&a++}return a*t.N2},e.getPenaltyN3=function(o){const i=o.size;let a=0,s=0,l=0;for(let d=0;d<i;d++){s=l=0;for(let g=0;g<i;g++)s=s<<1&2047|o.get(d,g),g>=10&&(s===1488||s===93)&&a++,l=l<<1&2047|o.get(g,d),g>=10&&(l===1488||l===93)&&a++}return a*t.N3},e.getPenaltyN4=function(o){let i=0;const a=o.data.length;for(let l=0;l<a;l++)i+=o.data[l];return Math.abs(Math.ceil(i*100/a/5)-10)*t.N4};function r(n,o,i){switch(n){case e.Patterns.PATTERN000:return(o+i)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(o+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return o*i%2+o*i%3===0;case e.Patterns.PATTERN110:return(o*i%2+o*i%3)%2===0;case e.Patterns.PATTERN111:return(o*i%3+(o+i)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,i){const a=i.size;for(let s=0;s<a;s++)for(let l=0;l<a;l++)i.isReserved(l,s)||i.xor(l,s,r(o,l,s))},e.getBestMask=function(o,i){const a=Object.keys(e.Patterns).length;let s=0,l=1/0;for(let d=0;d<a;d++){i(d),e.applyMask(d,o);const g=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),g<l&&(l=g,s=d)}return s}}(kr)),kr}var It={},fo;function po(){if(fo)return It;fo=1;const e=Cr(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return It.getBlocksCount=function(o,i){switch(i){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},It.getTotalCodewordsCount=function(o,i){switch(i){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},It}var Tr={},lt={},ho;function qc(){if(ho)return lt;ho=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]}(),lt.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},lt.exp=function(n){return e[n]},lt.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},lt}var go;function Rc(){return go||(go=1,function(e){const t=qc();e.mul=function(n,o){const i=new Uint8Array(n.length+o.length-1);for(let a=0;a<n.length;a++)for(let s=0;s<o.length;s++)i[a+s]^=t.mul(n[a],o[s]);return i},e.mod=function(n,o){let i=new Uint8Array(n);for(;i.length-o.length>=0;){const a=i[0];for(let l=0;l<o.length;l++)i[l]^=t.mul(o[l],a);let s=0;for(;s<i.length&&i[s]===0;)s++;i=i.slice(s)}return i},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let i=0;i<n;i++)o=e.mul(o,new Uint8Array([1,t.exp(i)]));return o}}(Tr)),Tr}var Ar,mo;function Uc(){if(mo)return Ar;mo=1;const e=Rc();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const i=e.mod(o,this.genPoly),a=this.degree-i.length;if(a>0){const s=new Uint8Array(this.degree);return s.set(i,a),s}return i},Ar=t,Ar}var Pr={},$r={},Er={},yo;function bo(){return yo||(yo=1,Er.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Er}var be={},wo;function Co(){if(wo)return be;wo=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
123
|
-
]))+`;be.KANJI=new RegExp(r,"g"),be.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),be.BYTE=new RegExp(n,"g"),be.NUMERIC=new RegExp(e,"g"),be.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),
|
|
124
|
-
Make sure your charset is UTF-8`);
|
|
125
|
-
Suggested mode is: `+t.toString(
|
|
143
|
+
*/const Nl=ge("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ye={alert:"_alert_16snf_3",content:"_content_16snf_31",icon:"_icon_16snf_45",message:"_message_16snf_57",close:"_close_16snf_71",closeIcon:"_closeIcon_16snf_105",success:"_success_16snf_117",error:"_error_16snf_145",warning:"_warning_16snf_173",info:"_info_16snf_201"},Fr=({message:e,type:t,onClose:r,dismissible:n=!1,className:o})=>{ee();const s=()=>{switch(t){case"success":return f.jsxDEV(gl,{className:ye.icon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:19,columnNumber:16},void 0);case"error":return f.jsxDEV(hl,{className:ye.icon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:21,columnNumber:16},void 0);case"warning":return f.jsxDEV(bl,{className:ye.icon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:23,columnNumber:16},void 0);case"info":return f.jsxDEV(yl,{className:ye.icon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:25,columnNumber:16},void 0);default:return null}},i=[ye.alert,ye[t],o].filter(Boolean).join(" ");return f.jsxDEV("div",{className:i,role:"alert",children:[f.jsxDEV("div",{className:ye.content,children:[s(),f.jsxDEV("span",{className:ye.message,children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:41,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:39,columnNumber:7},void 0),n&&r&&f.jsxDEV("button",{type:"button",className:ye.close,onClick:r,"aria-label":"Close alert",children:f.jsxDEV(Nl,{className:ye.closeIcon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:50,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:44,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/AlertMessage.tsx",lineNumber:38,columnNumber:5},void 0)},Pr={button:"_button_pn1qk_1",disabled:"_disabled_pn1qk_31",icon:"_icon_pn1qk_57"},Ge=({fallbackRoute:e="/signup",disabled:t=!1,className:r="",iconClassName:n="",onBack:o})=>{ee();const s=()=>{t||(o?o():typeof window<"u"&&(window.history.length>1?window.history.back():window.location.href=e))},i=[Pr.button,t&&Pr.disabled,r].filter(Boolean).join(" "),a=[Pr.icon,n].filter(Boolean).join(" ");return f.jsxDEV("button",{type:"button",onClick:s,disabled:t,className:i,"aria-label":"Go back",children:f.jsxDEV(fl,{className:a},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/BackArrow.tsx",lineNumber:51,columnNumber:7},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/BackArrow.tsx",lineNumber:44,columnNumber:5},void 0)},je={container:"_container_1quc1_1",horizontal:"_horizontal_1quc1_17",vertical:"_vertical_1quc1_27",button:"_button_1quc1_35",icon:"_icon_1quc1_45",label:"_label_1quc1_65"},Ar=({onSocialLogin:e,isLoading:t=!1,providers:r=["apple","google","facebook"],showLabels:n=!1,orientation:o="horizontal",className:s})=>{ee();const i=[je.container,je[o],s].filter(Boolean).join(" "),a=c=>{switch(c){case"apple":return f.jsxDEV(dl,{className:je.icon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:27,columnNumber:16},void 0);case"google":return f.jsxDEV("svg",{className:je.icon,viewBox:"0 0 24 24",fill:"currentColor",children:[f.jsxDEV("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:31,columnNumber:13},void 0),f.jsxDEV("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:32,columnNumber:13},void 0),f.jsxDEV("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:33,columnNumber:13},void 0),f.jsxDEV("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:34,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:30,columnNumber:11},void 0);case"facebook":return f.jsxDEV("svg",{className:je.icon,viewBox:"0 0 24 24",fill:"currentColor",children:f.jsxDEV("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z",fill:"#1877F2"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:40,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:39,columnNumber:11},void 0);default:return null}};return f.jsxDEV("div",{className:i,children:r.map(c=>f.jsxDEV(ie,{type:"button",variant:"social",onClick:()=>e?.(c),disabled:t,icon:a(c),className:je.button,children:n&&f.jsxDEV("span",{className:je.label,children:c.charAt(0).toUpperCase()+c.slice(1)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:61,columnNumber:13},void 0)},c,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:51,columnNumber:9},void 0))},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/common/SocialLoginButtons.tsx",lineNumber:49,columnNumber:5},void 0)},Mt={topiray:{auth:{signIn:{title:"Sign in",emailPlaceholder:"Email",passwordPlaceholder:"Password",submitButton:"Continue",submittingButton:"Signing in...",dividerText:"or sign in with",forgotPassword:"Forgot Password?",noAccount:"Don't have an account?",signUpLink:"Sign up"},signUp:{title:"Create your account",emailPlaceholder:"Email",passwordPlaceholder:"Password",submitButton:"Create Account",submittingButton:"Creating account...",dividerText:"or sign up with",hasAccount:"Already have an account?",signInLink:"Sign in"},forgottenPassword:{title:"Forgot your password?",description:"Enter your email address associated to your account and we will send you a one time link to reset your password.",emailPlaceholder:"Email",submitButton:"Reset Password",submittingButton:"Sending..."},resetPassword:{title:"Reset your password",description:"Enter your new password below. Make sure it's secure and at least 8 characters long.",newPasswordPlaceholder:"New Password",confirmPasswordPlaceholder:"Confirm Password",submitButton:"Reset Password",submittingButton:"Resetting...",errors:{passwordRequired:"Password is required",confirmPasswordRequired:"Confirm password is required",passwordsMismatch:"Passwords do not match"}},verifyEmail:{title:"Verify your email",imageAlt:"Email verification",descriptionPrefix:"We sent a verification email to",descriptionSuffix:". Please tap the link inside that email to continue.",emailFallback:"[your email]",checkInbox:"Check my inbox",resendEmail:"Resend Email",resendingEmail:"Sending..."},twoFactor:{setup:{title:"Multi-Factor Authentication",description:"Use your authentication app to scan this QR code. If you don't have an authentication app on your device, you'll need to install one now.",learnMore:"Learn more",cantScanQr:"Can't scan the QR code?",qrPlaceholder:"QR Code will appear here",manualEntryKey:"Manual entry key:",cancelButton:"Cancel",nextButton:"Next",loadingButton:"Loading..."},verify:{title:"Enter your verification code",description:"Enter the code that you see in your authenticator app",verifyButton:"Verify",verifyingButton:"Verifying...",helpText:"You can also paste your 6-digit code"},complete:{title:"You're all set",descriptionLine1:"Now you can use the mobile authenticator app to get an authentication code any time you log in.",descriptionLine2:"Save these single-use backup codes in a safe place.",copyButton:"Copy",copiedButton:"Copied!",downloadButton:"Download",footerText:"These backup codes let you log in if you can't receive a text message or don't have access to any of your other two-factor authentication methods.",doneButton:"Done",loadingButton:"Loading...",copyCodesButton:"Copy Codes",copiedCodesButton:"Copied!"}}}}},Fo=B.createContext(void 0);function Br(e,t){const r=t.split(".");let n=e;for(const o of r){if(n==null||typeof n!="object")return t;n=n[o]}return typeof n=="string"?n:t}const we=()=>{const e=B.useContext(Fo);return e||{t:t=>Br(Mt,t),translations:Mt}},xl=({children:e,translations:t})=>{const r=n=>{const o=Br(t,n);return o!==n?o:Br(Mt,n)};return f.jsxDEV(Fo.Provider,{value:{t:r,translations:t},children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/i18n/I18nProvider.tsx",lineNumber:50,columnNumber:5},void 0)},wl={authCard:"_authCard_xzyxk_1"},Cl=({children:e,className:t})=>{ee();const r=[wl.authCard,t].filter(Boolean).join(" ");return f.jsxDEV("div",{className:r,children:e},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/AuthCard.tsx",lineNumber:18,columnNumber:5},void 0)},Y={container:"_container_1o9xl_1",formHeader:"_formHeader_1o9xl_19",titleContainer:"_titleContainer_1o9xl_41",title:"_title_1o9xl_41",logoIcon:"_logoIcon_1o9xl_73",form:"_form_1o9xl_19",inputField:"_inputField_1o9xl_101",divider:"_divider_1o9xl_165",dividerLine:"_dividerLine_1o9xl_185",dividerText:"_dividerText_1o9xl_197",caption:"_caption_1o9xl_211",footerContainer:"_footerContainer_1o9xl_223",footerRow:"_footerRow_1o9xl_245",linkButton:"_linkButton_1o9xl_263"},Sl=({onSubmit:e,onForgotPassword:t,onSignUp:r,onSocialLogin:n,authProviders:o=["apple","google","facebook"],logoSrc:s,isLoading:i=!1,className:a})=>{const{theme:c}=ee(),{t:u}=we(),[m,h]=B.useState(""),[p,y]=B.useState(""),g=x=>{x.preventDefault(),e?.(m,p)},d=[Y.container,a].filter(Boolean).join(" ");return f.jsxDEV("div",{className:d,children:[c.customization.showFormHeader&&f.jsxDEV("div",{className:Y.formHeader,children:[f.jsxDEV("div",{className:Y.titleContainer,children:f.jsxDEV("b",{className:Y.title,children:u("topiray.auth.signIn.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:39,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:38,columnNumber:11},void 0),(s||c.brand.secondaryLogo)&&c.customization.showLogo&&f.jsxDEV("img",{className:Y.logoIcon,alt:c.brand.logoAlt||"Logo",src:s||c.brand.secondaryLogo},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:42,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:37,columnNumber:9},void 0),f.jsxDEV("form",{onSubmit:g,className:Y.form,children:[f.jsxDEV("input",{className:Y.inputField,placeholder:u("topiray.auth.signIn.emailPlaceholder"),type:"email",value:m,onChange:x=>h(x.target.value),required:!0,disabled:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:52,columnNumber:9},void 0),f.jsxDEV("input",{className:Y.inputField,placeholder:u("topiray.auth.signIn.passwordPlaceholder"),type:"password",value:p,onChange:x=>y(x.target.value),required:!0,disabled:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:62,columnNumber:9},void 0),f.jsxDEV(ie,{type:"submit",isLoading:i,loadingText:u("topiray.auth.signIn.submittingButton"),fullWidth:!0,children:u("topiray.auth.signIn.submitButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:72,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:51,columnNumber:7},void 0),c.customization.showSocialLogin&&f.jsxDEV(f.Fragment,{children:[f.jsxDEV("div",{className:Y.divider,children:[f.jsxDEV("div",{className:Y.dividerLine},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:85,columnNumber:13},void 0),f.jsxDEV("div",{className:Y.dividerText,children:f.jsxDEV("div",{className:Y.caption,children:u("topiray.auth.signIn.dividerText")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:87,columnNumber:15},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:86,columnNumber:13},void 0),f.jsxDEV("div",{className:Y.dividerLine},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:89,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:84,columnNumber:11},void 0),f.jsxDEV(Ar,{providers:o,onSocialLogin:n,isLoading:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:92,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:83,columnNumber:9},void 0),f.jsxDEV("div",{className:Y.footerContainer,children:[f.jsxDEV("div",{className:Y.footerRow,children:f.jsxDEV("button",{type:"button",className:Y.linkButton,onClick:t,disabled:i,children:u("topiray.auth.signIn.forgotPassword")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:98,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:97,columnNumber:9},void 0),f.jsxDEV("div",{className:Y.footerRow,children:[f.jsxDEV("span",{className:Y.caption,children:[u("topiray.auth.signIn.noAccount")," "]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:108,columnNumber:11},void 0),f.jsxDEV("button",{type:"button",className:Y.linkButton,onClick:r,disabled:i,children:u("topiray.auth.signIn.signUpLink")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:109,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:107,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:96,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignInForm.tsx",lineNumber:35,columnNumber:5},void 0)},q={container:"_container_146dj_1",formHeader:"_formHeader_146dj_21",titleContainer:"_titleContainer_146dj_47",title:"_title_146dj_47",logoIcon:"_logoIcon_146dj_79",accountTypeContainer:"_accountTypeContainer_146dj_95",accountTypeButton:"_accountTypeButton_146dj_123",selected:"_selected_146dj_157",accountTypeIcon:"_accountTypeIcon_146dj_169",accountTypeText:"_accountTypeText_146dj_183",form:"_form_146dj_21",inputField:"_inputField_146dj_257",divider:"_divider_146dj_323",dividerLine:"_dividerLine_146dj_343",dividerText:"_dividerText_146dj_355",caption:"_caption_146dj_369",footerContainer:"_footerContainer_146dj_383",footerRow:"_footerRow_146dj_405",linkButton:"_linkButton_146dj_423"},_l=({onSubmit:e,onSignIn:t,onSocialLogin:r,logoSrc:n,authProviders:o=["apple","google","facebook"],accountTypes:s=[{label:"Business",icon:ml},{label:"Individual",icon:vl}],isLoading:i=!1,className:a})=>{const{theme:c}=ee(),{t:u}=we(),[m,h]=B.useState(""),[p,y]=B.useState(""),[g,d]=B.useState(s.length>0?s[0]:null),x=E=>{E.preventDefault(),e?.(m,p,g?.label||null)},N=[q.container,a].filter(Boolean).join(" ");return f.jsxDEV("div",{className:N,children:[c.customization.showFormHeader&&f.jsxDEV("div",{className:q.formHeader,children:[f.jsxDEV("div",{className:q.titleContainer,children:f.jsxDEV("b",{className:q.title,children:u("topiray.auth.signUp.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:42,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:41,columnNumber:11},void 0),(n||c.brand.secondaryLogo)&&c.customization.showLogo&&f.jsxDEV("img",{className:q.logoIcon,alt:c.brand.logoAlt||"Logo",src:n||c.brand.secondaryLogo},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:46,columnNumber:15},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:40,columnNumber:9},void 0),s.length>1&&f.jsxDEV("div",{className:q.accountTypeContainer,children:s.map((E,w)=>f.jsxDEV("button",{type:"button",className:`${q.accountTypeButton} ${g?.label===E.label?q.selected:""}`,onClick:()=>d(E),disabled:i,children:[f.jsxDEV(E.icon,{className:q.accountTypeIcon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:67,columnNumber:15},void 0),f.jsxDEV("b",{className:q.accountTypeText,children:E.label},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:68,columnNumber:15},void 0)]},`account-type-${w}`,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:58,columnNumber:13},void 0))},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:56,columnNumber:9},void 0),f.jsxDEV("form",{onSubmit:x,className:q.form,children:[f.jsxDEV("input",{className:q.inputField,placeholder:u("topiray.auth.signUp.emailPlaceholder"),type:"email",value:m,onChange:E=>h(E.target.value),required:!0,disabled:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:75,columnNumber:9},void 0),f.jsxDEV("input",{className:q.inputField,placeholder:u("topiray.auth.signUp.passwordPlaceholder"),type:"password",value:p,onChange:E=>y(E.target.value),required:!0,disabled:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:85,columnNumber:9},void 0),f.jsxDEV(ie,{type:"submit",isLoading:i,loadingText:u("topiray.auth.signUp.submittingButton"),fullWidth:!0,children:u("topiray.auth.signUp.submitButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:95,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:74,columnNumber:7},void 0),c.customization.showSocialLogin&&f.jsxDEV(f.Fragment,{children:[f.jsxDEV("div",{className:q.divider,children:[f.jsxDEV("div",{className:q.dividerLine},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:108,columnNumber:13},void 0),f.jsxDEV("div",{className:q.dividerText,children:f.jsxDEV("div",{className:q.caption,children:u("topiray.auth.signUp.dividerText")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:110,columnNumber:15},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:109,columnNumber:13},void 0),f.jsxDEV("div",{className:q.dividerLine},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:112,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:107,columnNumber:11},void 0),f.jsxDEV(Ar,{providers:o,onSocialLogin:r,isLoading:i},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:115,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:106,columnNumber:9},void 0),f.jsxDEV("div",{className:q.footerContainer,children:f.jsxDEV("div",{className:q.footerRow,children:[f.jsxDEV("span",{className:q.caption,children:[u("topiray.auth.signUp.hasAccount")," "]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:125,columnNumber:11},void 0),f.jsxDEV("button",{type:"button",className:q.linkButton,onClick:t,disabled:i,children:u("topiray.auth.signUp.signInLink")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:126,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:124,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:123,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/SignUpForm.tsx",lineNumber:38,columnNumber:5},void 0)},Ce={container:"_container_1uxj3_1",backArrow:"_backArrow_1uxj3_31",backArrowIcon:"_backArrowIcon_1uxj3_49",spacer:"_spacer_1uxj3_73",titleContainer:"_titleContainer_1uxj3_89",title:"_title_1uxj3_89",description:"_description_1uxj3_121",descriptionText:"_descriptionText_1uxj3_141",emailInput:"_emailInput_1uxj3_153"},El=({onSubmit:e,isLoading:t=!1,className:r,backArrowFallbackRoute:n="/signin"})=>{const{theme:o}=ee(),{t:s}=we(),[i,a]=B.useState(""),c=m=>{m.preventDefault(),e(i)},u=[Ce.container,r].filter(Boolean).join(" ");return f.jsxDEV("form",{onSubmit:c,className:u,children:[o.customization.showBackArrow&&f.jsxDEV("div",{className:Ce.backArrow,children:[f.jsxDEV(Ge,{fallbackRoute:n,className:Ce.backArrowIcon,disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:33,columnNumber:11},void 0),f.jsxDEV("div",{className:Ce.spacer},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:38,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:32,columnNumber:9},void 0),f.jsxDEV("div",{className:Ce.titleContainer,children:f.jsxDEV("b",{className:Ce.title,children:s("topiray.auth.forgottenPassword.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:43,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:42,columnNumber:7},void 0),f.jsxDEV("div",{className:Ce.description,children:f.jsxDEV("div",{className:Ce.descriptionText,children:s("topiray.auth.forgottenPassword.description")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:47,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:46,columnNumber:7},void 0),f.jsxDEV("input",{required:!0,className:Ce.emailInput,type:"email",placeholder:s("topiray.auth.forgottenPassword.emailPlaceholder"),value:i,onChange:m=>a(m.target.value),disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:52,columnNumber:7},void 0),f.jsxDEV(ie,{type:"submit",isLoading:t,loadingText:s("topiray.auth.forgottenPassword.submittingButton"),fullWidth:!0,children:s("topiray.auth.forgottenPassword.submitButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:62,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ForgottenPasswordForm.tsx",lineNumber:30,columnNumber:5},void 0)},te={container:"_container_3cd8r_1",backArrow:"_backArrow_3cd8r_29",backArrowIcon:"_backArrowIcon_3cd8r_47",progressContainer:"_progressContainer_3cd8r_71",progressBar:"_progressBar_3cd8r_93",progressBarEmpty:"_progressBarEmpty_3cd8r_107",spacer:"_spacer_3cd8r_121",imageContainer:"_imageContainer_3cd8r_137",image:"_image_3cd8r_137",titleContainer:"_titleContainer_3cd8r_167",title:"_title_3cd8r_167",titleText:"_titleText_3cd8r_199",description:"_description_3cd8r_215",descriptionText:"_descriptionText_3cd8r_235"},Tl=({onSubmit:e,onResendEmail:t,email:r,isLoading:n=!1,className:o,backArrowFallbackRoute:s="/signup"})=>{const{theme:i}=ee(),{t:a}=we(),c=[te.container,o].filter(Boolean).join(" ");return f.jsxDEV("div",{className:c,children:[i.customization.showBackArrow&&f.jsxDEV("div",{className:te.backArrow,children:[f.jsxDEV(Ge,{disabled:n,className:te.backArrowIcon,fallbackRoute:s},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:29,columnNumber:11},void 0),f.jsxDEV("div",{className:te.progressContainer,children:[f.jsxDEV("div",{className:te.progressBar},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:35,columnNumber:13},void 0),f.jsxDEV("div",{className:te.progressBarEmpty},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:36,columnNumber:13},void 0),f.jsxDEV("div",{className:te.progressBarEmpty},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:37,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:34,columnNumber:11},void 0),f.jsxDEV("div",{className:te.spacer},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:39,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:28,columnNumber:9},void 0),f.jsxDEV("div",{className:te.imageContainer,children:f.jsxDEV("img",{className:te.image,alt:a("topiray.auth.verifyEmail.imageAlt"),src:"/images/email-verification.png"},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:44,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:43,columnNumber:7},void 0),f.jsxDEV("div",{className:te.titleContainer,children:f.jsxDEV("div",{className:te.title,children:f.jsxDEV("b",{className:te.titleText,children:a("topiray.auth.verifyEmail.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:49,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:48,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:47,columnNumber:7},void 0),f.jsxDEV("div",{className:te.description,children:f.jsxDEV("div",{className:te.descriptionText,children:[f.jsxDEV("span",{children:[a("topiray.auth.verifyEmail.descriptionPrefix")," "]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:55,columnNumber:11},void 0),f.jsxDEV("b",{children:r||a("topiray.auth.verifyEmail.emailFallback")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:56,columnNumber:11},void 0),f.jsxDEV("span",{children:a("topiray.auth.verifyEmail.descriptionSuffix")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:57,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:54,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:53,columnNumber:7},void 0),f.jsxDEV(ie,{onClick:e,disabled:n,fullWidth:!0,children:a("topiray.auth.verifyEmail.checkInbox")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:61,columnNumber:7},void 0),f.jsxDEV(ie,{variant:"secondary",onClick:t,isLoading:n,loadingText:a("topiray.auth.verifyEmail.resendingEmail"),fullWidth:!0,children:a("topiray.auth.verifyEmail.resendEmail")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:69,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/VerifyEmailForm.tsx",lineNumber:26,columnNumber:5},void 0)},ae={backArrowIcon:"_backArrowIcon_gamra_49",buttons:"_buttons_gamra_327"},Dl=({onNext:e,onCancel:t,qrCodeUri:r,sharedKey:n,isLoading:o=!1,backArrowFallbackRoute:s="/accountstatus"})=>{const i=B.useRef(null),{t:a}=we();B.useEffect(()=>{r&&i.current&&Promise.resolve().then(()=>eu).then(m=>{i.current&&m.toCanvas(i.current,r,{width:193,margin:1})}).catch(()=>{console.error("Failed to generate QR code")})},[r]);const c=()=>{o||e?.()},u=()=>{o||t?.()};return f.jsxDEV("div",{className:ae.loginform,children:[f.jsxDEV("div",{className:ae.backarrow,children:[f.jsxDEV(Ge,{disabled:o,className:ae.backArrowIcon,iconClassName:ae.vectorIcon,fallbackRoute:s},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:61,columnNumber:9},void 0),f.jsxDEV("div",{className:ae.backArrowIcon1},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:67,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:60,columnNumber:7},void 0),f.jsxDEV("div",{className:ae.text,children:f.jsxDEV("b",{className:ae.h3MediumTitle,children:a("topiray.auth.twoFactor.setup.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:70,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:69,columnNumber:7},void 0),f.jsxDEV("div",{className:ae.text1,children:f.jsxDEV("div",{className:ae.h6FinePrintContainer,children:[f.jsxDEV("span",{children:`${a("topiray.auth.twoFactor.setup.description")} `},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:74,columnNumber:11},void 0),f.jsxDEV("a",{href:"https://support.google.com/accounts/answer/1066447?hl=en",target:"_blank",rel:"noopener noreferrer",children:a("topiray.auth.twoFactor.setup.learnMore")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:75,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:73,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:72,columnNumber:7},void 0),f.jsxDEV("div",{className:ae.qrcontainer,children:[o?f.jsxDEV("div",{style:{width:"193.3px",height:"192px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid var(--color-gray-600)",borderRadius:"15.36px"},children:f.jsxDEV(To,{size:40,sx:{color:"var(--color-white)"}},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:89,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:80,columnNumber:11},void 0):r?f.jsxDEV("canvas",{ref:i,style:{padding:"16px",backgroundColor:"white",borderRadius:"15.36px",minHeight:"192px",display:"block"}},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:92,columnNumber:11},void 0):f.jsxDEV("div",{style:{width:"193.3px",height:"192px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid var(--color-gray-600)",borderRadius:"15.36px",backgroundColor:"var(--color-gray-100)",color:"var(--color-white)"},children:f.jsxDEV("span",{children:a("topiray.auth.twoFactor.setup.qrPlaceholder")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:114,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:103,columnNumber:11},void 0),f.jsxDEV("div",{className:ae.text2,children:f.jsxDEV("div",{className:ae.h6FinePrint,children:a("topiray.auth.twoFactor.setup.cantScanQr")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:118,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:117,columnNumber:9},void 0),n&&f.jsxDEV("div",{style:{marginTop:"8px",padding:"8px 12px",backgroundColor:"var(--color-gray-100)",borderRadius:"8px",fontSize:"14px",fontFamily:"monospace",color:"var(--color-white)",wordBreak:"break-all"},children:["Manual entry key: ",n]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:121,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:78,columnNumber:7},void 0),f.jsxDEV("div",{className:ae.buttons,children:[f.jsxDEV(ie,{variant:"secondary",onClick:u,disabled:o,type:"button",children:a("topiray.auth.twoFactor.setup.cancelButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:136,columnNumber:9},void 0),f.jsxDEV(ie,{onClick:c,disabled:o,type:"button",isLoading:o,loadingText:a("topiray.auth.twoFactor.setup.loadingButton"),children:a("topiray.auth.twoFactor.setup.nextButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:144,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:135,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupForm.tsx",lineNumber:59,columnNumber:5},void 0)},Z={container:"_container_p91jn_1",backArrow:"_backArrow_p91jn_29",backArrowIcon:"_backArrowIcon_p91jn_47",progressContainer:"_progressContainer_p91jn_71",progressBar:"_progressBar_p91jn_93",progressBarEmpty:"_progressBarEmpty_p91jn_107",spacer:"_spacer_p91jn_121",titleContainer:"_titleContainer_p91jn_137",title:"_title_p91jn_137",description:"_description_p91jn_169",descriptionText:"_descriptionText_p91jn_189",errorMessage:"_errorMessage_p91jn_201",inputContainer:"_inputContainer_p91jn_211",inputRow:"_inputRow_p91jn_227",digitInput:"_digitInput_p91jn_245",helpText:"_helpText_p91jn_307"},kl=({onVerify:e,isLoading:t=!1,error:r,backRoute:n="/twofactor",className:o})=>{const{theme:s}=ee(),{t:i}=we(),[a,c]=B.useState(["","","","","",""]),u=B.useRef([]);B.useEffect(()=>{u.current[0]&&u.current[0].focus()},[]);const m=(d,x)=>{if(x&&!/^\d$/.test(x))return;const N=[...a];if(N[d]=x,c(N),x&&d<5&&u.current[d+1]&&u.current[d+1]?.focus(),x&&d===5){const E=N.join("");E.length===6&&e?.(E)}},h=(d,x)=>{x.key==="Backspace"&&!a[d]&&d>0?u.current[d-1]?.focus():x.key==="v"&&(x.ctrlKey||x.metaKey)&&(x.preventDefault(),navigator.clipboard.readText().then(N=>{const E=N.replace(/\D/g,"").slice(0,6);if(E.length===6){const w=E.split("");c(w),e?.(E)}}).catch(()=>{}))},p=()=>{const d=a.join("");d.length===6&&!t&&e?.(d)},y=a.every(d=>d!==""),g=[Z.container,o].filter(Boolean).join(" ");return f.jsxDEV("div",{className:g,children:[s.customization.showBackArrow&&f.jsxDEV("div",{className:Z.backArrow,children:[f.jsxDEV(Ge,{fallbackRoute:n,className:Z.backArrowIcon,disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:90,columnNumber:11},void 0),f.jsxDEV("div",{className:Z.progressContainer,children:[f.jsxDEV("div",{className:Z.progressBar},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:96,columnNumber:13},void 0),f.jsxDEV("div",{className:Z.progressBarEmpty},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:97,columnNumber:13},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:95,columnNumber:11},void 0),f.jsxDEV("div",{className:Z.spacer},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:99,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:89,columnNumber:9},void 0),f.jsxDEV("div",{className:Z.titleContainer,children:f.jsxDEV("b",{className:Z.title,children:i("topiray.auth.twoFactor.verify.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:104,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:103,columnNumber:7},void 0),f.jsxDEV("div",{className:Z.description,children:f.jsxDEV("div",{className:Z.descriptionText,children:i("topiray.auth.twoFactor.verify.description")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:108,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:107,columnNumber:7},void 0),r&&f.jsxDEV(Fr,{type:"error",message:r,className:Z.errorMessage},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:114,columnNumber:9},void 0),f.jsxDEV("div",{className:Z.inputContainer,children:f.jsxDEV("div",{className:Z.inputRow,children:a.map((d,x)=>f.jsxDEV("input",{ref:N=>{u.current[x]=N},className:Z.digitInput,type:"text",value:d,onChange:N=>m(x,N.target.value),onKeyDown:N=>h(x,N),maxLength:1,disabled:t},x,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:120,columnNumber:13},void 0))},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:118,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:117,columnNumber:7},void 0),f.jsxDEV(ie,{onClick:p,disabled:!y||t,type:"button",isLoading:t,loadingText:i("topiray.auth.twoFactor.verify.verifyingButton"),fullWidth:!0,children:i("topiray.auth.twoFactor.verify.verifyButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:135,columnNumber:7},void 0),f.jsxDEV("div",{className:Z.helpText,children:i("topiray.auth.twoFactor.verify.helpText")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:146,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupEnterVerificationForm.tsx",lineNumber:87,columnNumber:5},void 0)},G={container:"_container_19w5z_1",header:"_header_19w5z_29",titleContainer:"_titleContainer_19w5z_49",title:"_title_19w5z_49",checkIcon:"_checkIcon_19w5z_81",description:"_description_19w5z_95",descriptionText:"_descriptionText_19w5z_113",codesContainer:"_codesContainer_19w5z_143",backupCodesContainer:"_backupCodesContainer_19w5z_165",codeGroup:"_codeGroup_19w5z_191",codeColumn:"_codeColumn_19w5z_205",codeText:"_codeText_19w5z_219",buttonContainer:"_buttonContainer_19w5z_243",pillButton:"_pillButton_19w5z_263",pillTag:"_pillTag_19w5z_309",footer:"_footer_19w5z_327",footerText:"_footerText_19w5z_347",actions:"_actions_19w5z_359"},Fl=({onDone:e,backupCodes:t=["1337gd","298edg","388hd3","a1b2c3","x4y5z6","m7n8o9","z1x2c3","v4b5n6","m7k8j9","4b5c6a","2d3e4f","9g8h7j"],isLoading:r=!1,className:n})=>{ee();const{t:o}=we(),[s,i]=B.useState(!1),a=()=>{r||e?.()},c=async()=>{try{const p=t.join(`
|
|
144
|
+
`);await navigator.clipboard.writeText(p),i(!0),setTimeout(()=>i(!1),2e3)}catch(p){console.error("Failed to copy backup codes:",p)}},u=()=>{const p=t.join(`
|
|
145
|
+
`),y=new Blob([p],{type:"text/plain"}),g=URL.createObjectURL(y),d=document.createElement("a");d.href=g,d.download="backup-codes.txt",document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(g)},m=[];for(let p=0;p<t.length;p+=3)m.push(t.slice(p,p+3));const h=[G.container,n].filter(Boolean).join(" ");return f.jsxDEV("div",{className:h,children:[f.jsxDEV("div",{className:G.header,children:[f.jsxDEV("div",{className:G.titleContainer,children:f.jsxDEV("b",{className:G.title,children:o("topiray.auth.twoFactor.complete.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:68,columnNumber:11},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:67,columnNumber:9},void 0),f.jsxDEV(pl,{className:G.checkIcon},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:70,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:66,columnNumber:7},void 0),f.jsxDEV("div",{className:G.description,children:f.jsxDEV("div",{className:G.descriptionText,children:[f.jsxDEV("p",{children:o("topiray.auth.twoFactor.complete.descriptionLine1")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:75,columnNumber:11},void 0),f.jsxDEV("p",{children:o("topiray.auth.twoFactor.complete.descriptionLine2")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:78,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:74,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:73,columnNumber:7},void 0),f.jsxDEV("div",{className:G.codesContainer,children:[f.jsxDEV("div",{className:G.backupCodesContainer,children:m.map((p,y)=>f.jsxDEV("div",{className:G.codeGroup,children:f.jsxDEV("div",{className:G.codeColumn,children:p.map((g,d)=>f.jsxDEV("p",{className:G.codeText,children:g},d,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:90,columnNumber:19},void 0))},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:88,columnNumber:15},void 0)},y,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:87,columnNumber:13},void 0))},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:85,columnNumber:9},void 0),f.jsxDEV("div",{className:G.buttonContainer,children:[f.jsxDEV("button",{className:G.pillButton,onClick:c,disabled:r,type:"button",children:f.jsxDEV("div",{className:G.pillTag,children:o(s?"topiray.auth.twoFactor.complete.copiedButton":"topiray.auth.twoFactor.complete.copyButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:106,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:100,columnNumber:11},void 0),f.jsxDEV("button",{className:G.pillButton,onClick:u,disabled:r,type:"button",children:f.jsxDEV("div",{className:G.pillTag,children:o("topiray.auth.twoFactor.complete.downloadButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:116,columnNumber:13},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:110,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:99,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:84,columnNumber:7},void 0),f.jsxDEV("div",{className:G.footer,children:f.jsxDEV("div",{className:G.footerText,children:o("topiray.auth.twoFactor.complete.footerText")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:122,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:121,columnNumber:7},void 0),f.jsxDEV("div",{className:G.actions,children:[f.jsxDEV(ie,{onClick:a,disabled:r,type:"button",isLoading:r,loadingText:o("topiray.auth.twoFactor.complete.loadingButton"),fullWidth:!0,children:o("topiray.auth.twoFactor.complete.doneButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:128,columnNumber:9},void 0),f.jsxDEV(ie,{variant:"secondary",onClick:c,disabled:r,type:"button",fullWidth:!0,children:o(s?"topiray.auth.twoFactor.complete.copiedCodesButton":"topiray.auth.twoFactor.complete.copyCodesButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:138,columnNumber:9},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:127,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/TwoFactorSetupCompleteForm.tsx",lineNumber:65,columnNumber:5},void 0)},de={container:"_container_1u36u_1",backArrow:"_backArrow_1u36u_31",backArrowIcon:"_backArrowIcon_1u36u_49",spacer:"_spacer_1u36u_73",titleContainer:"_titleContainer_1u36u_89",title:"_title_1u36u_89",description:"_description_1u36u_121",descriptionText:"_descriptionText_1u36u_141",alert:"_alert_1u36u_153",passwordInput:"_passwordInput_1u36u_161"},Pl=({onSubmit:e,isLoading:t=!1,className:r,description:n="Enter your new password below. Make sure it's secure and at least 8 characters long.",errorStr:o=null,backArrowFallbackRoute:s="/signin"})=>{const{theme:i}=ee(),{t:a}=we(),[c,u]=B.useState(""),[m,h]=B.useState(""),[p,y]=B.useState(o||"");B.useEffect(()=>{y(o||"")},[o]);const g=x=>{if(x.preventDefault(),y(""),!c){y(a("topiray.auth.resetPassword.errors.passwordRequired"));return}if(!m){y(a("topiray.auth.resetPassword.errors.confirmPasswordRequired"));return}if(c!==m){y(a("topiray.auth.resetPassword.errors.passwordsMismatch"));return}e(c)},d=[de.container,r].filter(Boolean).join(" ");return f.jsxDEV("form",{onSubmit:g,className:d,children:[i.customization.showBackArrow&&f.jsxDEV("div",{className:de.backArrow,children:[f.jsxDEV(Ge,{fallbackRoute:s,className:de.backArrowIcon,disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:58,columnNumber:11},void 0),f.jsxDEV("div",{className:de.spacer},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:63,columnNumber:11},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:57,columnNumber:9},void 0),f.jsxDEV("div",{className:de.titleContainer,children:f.jsxDEV("b",{className:de.title,children:a("topiray.auth.resetPassword.title")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:68,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:67,columnNumber:7},void 0),f.jsxDEV("div",{className:de.description,children:f.jsxDEV("div",{className:de.descriptionText,children:n},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:72,columnNumber:9},void 0)},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:71,columnNumber:7},void 0),p&&f.jsxDEV(Fr,{type:"error",message:p,className:de.alert},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:78,columnNumber:9},void 0),f.jsxDEV("input",{required:!0,className:de.passwordInput,type:"password",placeholder:a("topiray.auth.resetPassword.newPasswordPlaceholder"),value:c,onChange:x=>u(x.target.value),disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:85,columnNumber:7},void 0),f.jsxDEV("input",{required:!0,className:de.passwordInput,type:"password",placeholder:a("topiray.auth.resetPassword.confirmPasswordPlaceholder"),value:m,onChange:x=>h(x.target.value),disabled:t},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:95,columnNumber:7},void 0),f.jsxDEV(ie,{type:"submit",isLoading:t,loadingText:a("topiray.auth.resetPassword.submittingButton"),fullWidth:!0,children:a("topiray.auth.resetPassword.submitButton")},void 0,!1,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:105,columnNumber:7},void 0)]},void 0,!0,{fileName:"D:/Users/J/repos/topiray-auth-react/src/components/auth/ResetPasswordForm.tsx",lineNumber:55,columnNumber:5},void 0)},Al="Building component library...";var Ye={},$r,Po;function Bl(){return Po||(Po=1,$r=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),$r}var jr={},De={},Ao;function Ie(){if(Ao)return De;Ao=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return De.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},De.getSymbolTotalCodewords=function(n){return t[n]},De.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},De.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},De.isKanjiModeEnabled=function(){return typeof e<"u"},De.toSJIS=function(n){return e(n)},De}var Ir={},Bo;function Rr(){return Bo||(Bo=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}}(Ir)),Ir}var Ur,$o;function $l(){if($o)return Ur;$o=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},Ur=e,Ur}var Vr,jo;function jl(){if(jo)return Vr;jo=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const s=t*this.size+r;this.data[s]=n,o&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},Vr=e,Vr}var Mr={},Io;function Il(){return Io||(Io=1,function(e){const t=Ie().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,s=t(n),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let c=1;c<o-1;c++)a[c]=a[c-1]-i;return a.push(6),a.reverse()},e.getPositions=function(n){const o=[],s=e.getRowColCoords(n),i=s.length;for(let a=0;a<i;a++)for(let c=0;c<i;c++)a===0&&c===0||a===0&&c===i-1||a===i-1&&c===0||o.push([s[a],s[c]]);return o}}(Mr)),Mr}var Or={},Ro;function Rl(){if(Ro)return Or;Ro=1;const e=Ie().getSymbolSize,t=7;return Or.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},Or}var Jr={},Uo;function Ul(){return Uo||(Uo=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,c=0,u=null,m=null;for(let h=0;h<s;h++){a=c=0,u=m=null;for(let p=0;p<s;p++){let y=o.get(h,p);y===u?a++:(a>=5&&(i+=t.N1+(a-5)),u=y,a=1),y=o.get(p,h),y===m?c++:(c>=5&&(i+=t.N1+(c-5)),m=y,c=1)}a>=5&&(i+=t.N1+(a-5)),c>=5&&(i+=t.N1+(c-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let c=0;c<s-1;c++){const u=o.get(a,c)+o.get(a,c+1)+o.get(a+1,c)+o.get(a+1,c+1);(u===4||u===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,c=0;for(let u=0;u<s;u++){a=c=0;for(let m=0;m<s;m++)a=a<<1&2047|o.get(u,m),m>=10&&(a===1488||a===93)&&i++,c=c<<1&2047|o.get(m,u),m>=10&&(c===1488||c===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let c=0;c<i;c++)s+=o.data[c];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function r(n,o,s){switch(n){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let c=0;c<i;c++)s.isReserved(c,a)||s.xor(c,a,r(o,c,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,c=1/0;for(let u=0;u<i;u++){s(u),e.applyMask(u,o);const m=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(u,o),m<c&&(c=m,a=u)}return a}}(Jr)),Jr}var Ot={},Vo;function Mo(){if(Vo)return Ot;Vo=1;const e=Rr(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ot.getBlocksCount=function(o,s){switch(s){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},Ot.getTotalCodewordsCount=function(o,s){switch(s){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},Ot}var Lr={},ft={},Oo;function Vl(){if(Oo)return ft;Oo=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]}(),ft.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},ft.exp=function(n){return e[n]},ft.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},ft}var Jo;function Ml(){return Jo||(Jo=1,function(e){const t=Vl();e.mul=function(n,o){const s=new Uint8Array(n.length+o.length-1);for(let i=0;i<n.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(n[i],o[a]);return s},e.mod=function(n,o){let s=new Uint8Array(n);for(;s.length-o.length>=0;){const i=s[0];for(let c=0;c<o.length;c++)s[c]^=t.mul(o[c],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let s=0;s<n;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}}(Lr)),Lr}var zr,Lo;function Ol(){if(Lo)return zr;Lo=1;const e=Ml();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=e.mod(o,this.genPoly),i=this.degree-s.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(s,i),a}return s},zr=t,zr}var qr={},Wr={},Hr={},zo;function qo(){return zo||(zo=1,Hr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Hr}var be={},Wo;function Ho(){if(Wo)return be;Wo=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
146
|
+
]))+`;be.KANJI=new RegExp(r,"g"),be.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),be.BYTE=new RegExp(n,"g"),be.NUMERIC=new RegExp(e,"g"),be.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return be.testKanji=function(c){return o.test(c)},be.testNumeric=function(c){return s.test(c)},be.testAlphanumeric=function(c){return i.test(c)},be}var Ko;function Re(){return Ko||(Ko=1,function(e){const t=qo(),r=Ho();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,i){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?s.ccBits[0]:i<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return r.testNumeric(s)?e.NUMERIC:r.testAlphanumeric(s)?e.ALPHANUMERIC:r.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(s,i){if(e.isValid(s))return s;try{return n(s)}catch{return i}}}(Wr)),Wr}var Go;function Jl(){return Go||(Go=1,function(e){const t=Ie(),r=Mo(),n=Rr(),o=Re(),s=qo(),i=7973,a=t.getBCHDigit(i);function c(p,y,g){for(let d=1;d<=40;d++)if(y<=e.getCapacity(d,g,p))return d}function u(p,y){return o.getCharCountIndicator(p,y)+4}function m(p,y){let g=0;return p.forEach(function(d){const x=u(d.mode,y);g+=x+d.getBitsLength()}),g}function h(p,y){for(let g=1;g<=40;g++)if(m(p,g)<=e.getCapacity(g,y,o.MIXED))return g}e.from=function(y,g){return s.isValid(y)?parseInt(y,10):g},e.getCapacity=function(y,g,d){if(!s.isValid(y))throw new Error("Invalid QR Code version");typeof d>"u"&&(d=o.BYTE);const x=t.getSymbolTotalCodewords(y),N=r.getTotalCodewordsCount(y,g),E=(x-N)*8;if(d===o.MIXED)return E;const w=E-u(d,y);switch(d){case o.NUMERIC:return Math.floor(w/10*3);case o.ALPHANUMERIC:return Math.floor(w/11*2);case o.KANJI:return Math.floor(w/13);case o.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(y,g){let d;const x=n.from(g,n.M);if(Array.isArray(y)){if(y.length>1)return h(y,x);if(y.length===0)return 1;d=y[0]}else d=y;return c(d.mode,d.getLength(),x)},e.getEncodedBits=function(y){if(!s.isValid(y)||y<7)throw new Error("Invalid QR Code version");let g=y<<12;for(;t.getBCHDigit(g)-a>=0;)g^=i<<t.getBCHDigit(g)-a;return y<<12|g}}(qr)),qr}var Kr={},Yo;function Ll(){if(Yo)return Kr;Yo=1;const e=Ie(),t=1335,r=21522,n=e.getBCHDigit(t);return Kr.getEncodedBits=function(s,i){const a=s.bit<<3|i;let c=a<<10;for(;e.getBCHDigit(c)-n>=0;)c^=t<<e.getBCHDigit(c)-n;return(a<<10|c)^r},Kr}var Gr={},Yr,Qo;function zl(){if(Qo)return Yr;Qo=1;const e=Re();function t(r){this.mode=e.NUMERIC,this.data=r.toString()}return t.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let o,s,i;for(o=0;o+3<=this.data.length;o+=3)s=this.data.substr(o,3),i=parseInt(s,10),n.put(i,10);const a=this.data.length-o;a>0&&(s=this.data.substr(o),i=parseInt(s,10),n.put(i,a*3+1))},Yr=t,Yr}var Qr,Xo;function ql(){if(Xo)return Qr;Xo=1;const e=Re(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(n){this.mode=e.ALPHANUMERIC,this.data=n}return r.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(o){let s;for(s=0;s+2<=this.data.length;s+=2){let i=t.indexOf(this.data[s])*45;i+=t.indexOf(this.data[s+1]),o.put(i,11)}this.data.length%2&&o.put(t.indexOf(this.data[s]),6)},Qr=r,Qr}var Xr,Zo;function Wl(){if(Zo)return Xr;Zo=1;const e=Re();function t(r){this.mode=e.BYTE,typeof r=="string"?this.data=new TextEncoder().encode(r):this.data=new Uint8Array(r)}return t.getBitsLength=function(n){return n*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){for(let n=0,o=this.data.length;n<o;n++)r.put(this.data[n],8)},Xr=t,Xr}var Zr,es;function Hl(){if(es)return Zr;es=1;const e=Re(),t=Ie();function r(n){this.mode=e.KANJI,this.data=n}return r.getBitsLength=function(o){return o*13},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(n){let o;for(o=0;o<this.data.length;o++){let s=t.toSJIS(this.data[o]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
147
|
+
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},Zr=r,Zr}var en={exports:{}},ts;function Kl(){return ts||(ts=1,function(e){var t={single_source_shortest_paths:function(r,n,o){var s={},i={};i[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var c,u,m,h,p,y,g,d,x;!a.empty();){c=a.pop(),u=c.value,h=c.cost,p=r[u]||{};for(m in p)p.hasOwnProperty(m)&&(y=p[m],g=h+y,d=i[m],x=typeof i[m]>"u",(x||d>g)&&(i[m]=g,a.push(m,g),s[m]=u))}if(typeof o<"u"&&typeof i[o]>"u"){var N=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(N)}return s},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],s=n;s;)o.push(s),r[s],s=r[s];return o.reverse(),o},find_path:function(r,n,o){var s=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(s,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},s;r=r||{};for(s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(en)),en.exports}var rs;function Gl(){return rs||(rs=1,function(e){const t=Re(),r=zl(),n=ql(),o=Wl(),s=Hl(),i=Ho(),a=Ie(),c=Kl();function u(N){return unescape(encodeURIComponent(N)).length}function m(N,E,w){const _=[];let v;for(;(v=N.exec(w))!==null;)_.push({data:v[0],index:v.index,mode:E,length:v[0].length});return _}function h(N){const E=m(i.NUMERIC,t.NUMERIC,N),w=m(i.ALPHANUMERIC,t.ALPHANUMERIC,N);let _,v;return a.isKanjiModeEnabled()?(_=m(i.BYTE,t.BYTE,N),v=m(i.KANJI,t.KANJI,N)):(_=m(i.BYTE_KANJI,t.BYTE,N),v=[]),E.concat(w,_,v).sort(function(T,P){return T.index-P.index}).map(function(T){return{data:T.data,mode:T.mode,length:T.length}})}function p(N,E){switch(E){case t.NUMERIC:return r.getBitsLength(N);case t.ALPHANUMERIC:return n.getBitsLength(N);case t.KANJI:return s.getBitsLength(N);case t.BYTE:return o.getBitsLength(N)}}function y(N){return N.reduce(function(E,w){const _=E.length-1>=0?E[E.length-1]:null;return _&&_.mode===w.mode?(E[E.length-1].data+=w.data,E):(E.push(w),E)},[])}function g(N){const E=[];for(let w=0;w<N.length;w++){const _=N[w];switch(_.mode){case t.NUMERIC:E.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:E.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:E.push([_,{data:_.data,mode:t.BYTE,length:u(_.data)}]);break;case t.BYTE:E.push([{data:_.data,mode:t.BYTE,length:u(_.data)}])}}return E}function d(N,E){const w={},_={start:{}};let v=["start"];for(let C=0;C<N.length;C++){const T=N[C],P=[];for(let D=0;D<T.length;D++){const l=T[D],S=""+C+D;P.push(S),w[S]={node:l,lastCount:0},_[S]={};for(let F=0;F<v.length;F++){const k=v[F];w[k]&&w[k].node.mode===l.mode?(_[k][S]=p(w[k].lastCount+l.length,l.mode)-p(w[k].lastCount,l.mode),w[k].lastCount+=l.length):(w[k]&&(w[k].lastCount=l.length),_[k][S]=p(l.length,l.mode)+4+t.getCharCountIndicator(l.mode,E))}}v=P}for(let C=0;C<v.length;C++)_[v[C]].end=0;return{map:_,table:w}}function x(N,E){let w;const _=t.getBestModeForData(N);if(w=t.from(E,_),w!==t.BYTE&&w.bit<_.bit)throw new Error('"'+N+'" cannot be encoded with mode '+t.toString(w)+`.
|
|
148
|
+
Suggested mode is: `+t.toString(_));switch(w===t.KANJI&&!a.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(N);case t.ALPHANUMERIC:return new n(N);case t.KANJI:return new s(N);case t.BYTE:return new o(N)}}e.fromArray=function(E){return E.reduce(function(w,_){return typeof _=="string"?w.push(x(_,null)):_.data&&w.push(x(_.data,_.mode)),w},[])},e.fromString=function(E,w){const _=h(E,a.isKanjiModeEnabled()),v=g(_),C=d(v,w),T=c.find_path(C.map,"start","end"),P=[];for(let D=1;D<T.length-1;D++)P.push(C.table[T[D]].node);return e.fromArray(y(P))},e.rawSplit=function(E){return e.fromArray(h(E,a.isKanjiModeEnabled()))}}(Gr)),Gr}var ns;function Yl(){if(ns)return jr;ns=1;const e=Ie(),t=Rr(),r=$l(),n=jl(),o=Il(),s=Rl(),i=Ul(),a=Mo(),c=Ol(),u=Jl(),m=Ll(),h=Re(),p=Gl();function y(C,T){const P=C.size,D=s.getPositions(T);for(let l=0;l<D.length;l++){const S=D[l][0],F=D[l][1];for(let k=-1;k<=7;k++)if(!(S+k<=-1||P<=S+k))for(let A=-1;A<=7;A++)F+A<=-1||P<=F+A||(k>=0&&k<=6&&(A===0||A===6)||A>=0&&A<=6&&(k===0||k===6)||k>=2&&k<=4&&A>=2&&A<=4?C.set(S+k,F+A,!0,!0):C.set(S+k,F+A,!1,!0))}}function g(C){const T=C.size;for(let P=8;P<T-8;P++){const D=P%2===0;C.set(P,6,D,!0),C.set(6,P,D,!0)}}function d(C,T){const P=o.getPositions(T);for(let D=0;D<P.length;D++){const l=P[D][0],S=P[D][1];for(let F=-2;F<=2;F++)for(let k=-2;k<=2;k++)F===-2||F===2||k===-2||k===2||F===0&&k===0?C.set(l+F,S+k,!0,!0):C.set(l+F,S+k,!1,!0)}}function x(C,T){const P=C.size,D=u.getEncodedBits(T);let l,S,F;for(let k=0;k<18;k++)l=Math.floor(k/3),S=k%3+P-8-3,F=(D>>k&1)===1,C.set(l,S,F,!0),C.set(S,l,F,!0)}function N(C,T,P){const D=C.size,l=m.getEncodedBits(T,P);let S,F;for(S=0;S<15;S++)F=(l>>S&1)===1,S<6?C.set(S,8,F,!0):S<8?C.set(S+1,8,F,!0):C.set(D-15+S,8,F,!0),S<8?C.set(8,D-S-1,F,!0):S<9?C.set(8,15-S-1+1,F,!0):C.set(8,15-S-1,F,!0);C.set(D-8,8,1,!0)}function E(C,T){const P=C.size;let D=-1,l=P-1,S=7,F=0;for(let k=P-1;k>0;k-=2)for(k===6&&k--;;){for(let A=0;A<2;A++)if(!C.isReserved(l,k-A)){let H=!1;F<T.length&&(H=(T[F]>>>S&1)===1),C.set(l,k-A,H),S--,S===-1&&(F++,S=7)}if(l+=D,l<0||P<=l){l-=D,D=-D;break}}}function w(C,T,P){const D=new r;P.forEach(function(A){D.put(A.mode.bit,4),D.put(A.getLength(),h.getCharCountIndicator(A.mode,C)),A.write(D)});const l=e.getSymbolTotalCodewords(C),S=a.getTotalCodewordsCount(C,T),F=(l-S)*8;for(D.getLengthInBits()+4<=F&&D.put(0,4);D.getLengthInBits()%8!==0;)D.putBit(0);const k=(F-D.getLengthInBits())/8;for(let A=0;A<k;A++)D.put(A%2?17:236,8);return _(D,C,T)}function _(C,T,P){const D=e.getSymbolTotalCodewords(T),l=a.getTotalCodewordsCount(T,P),S=D-l,F=a.getBlocksCount(T,P),k=D%F,A=F-k,H=Math.floor(D/F),ke=Math.floor(S/F),Jt=ke+1,us=H-ke,tu=new c(us);let on=0;const Lt=new Array(F),ds=new Array(F);let sn=0;const ru=new Uint8Array(C.buffer);for(let Qe=0;Qe<F;Qe++){const cn=Qe<A?ke:Jt;Lt[Qe]=ru.slice(on,on+cn),ds[Qe]=tu.encode(Lt[Qe]),on+=cn,sn=Math.max(sn,cn)}const an=new Uint8Array(D);let fs=0,Se,_e;for(Se=0;Se<sn;Se++)for(_e=0;_e<F;_e++)Se<Lt[_e].length&&(an[fs++]=Lt[_e][Se]);for(Se=0;Se<us;Se++)for(_e=0;_e<F;_e++)an[fs++]=ds[_e][Se];return an}function v(C,T,P,D){let l;if(Array.isArray(C))l=p.fromArray(C);else if(typeof C=="string"){let H=T;if(!H){const ke=p.rawSplit(C);H=u.getBestVersionForData(ke,P)}l=p.fromString(C,H||40)}else throw new Error("Invalid data");const S=u.getBestVersionForData(l,P);if(!S)throw new Error("The amount of data is too big to be stored in a QR Code");if(!T)T=S;else if(T<S)throw new Error(`
|
|
126
149
|
The chosen QR Code version cannot contain this amount of data.
|
|
127
|
-
Minimum version required to store current data is: `+
|
|
128
|
-
`);const
|
|
129
|
-
`;return typeof
|
|
150
|
+
Minimum version required to store current data is: `+S+`.
|
|
151
|
+
`);const F=w(T,P,l),k=e.getSymbolSize(T),A=new n(k);return y(A,T),g(A),d(A,T),N(A,P,0),T>=7&&x(A,T),E(A,F),isNaN(D)&&(D=i.getBestMask(A,N.bind(null,A,P))),i.applyMask(D,A),N(A,P,D),{modules:A,version:T,errorCorrectionLevel:P,maskPattern:D,segments:l}}return jr.create=function(T,P){if(typeof T>"u"||T==="")throw new Error("No input text");let D=t.M,l,S;return typeof P<"u"&&(D=t.from(P.errorCorrectionLevel,t.M),l=u.from(P.version),S=i.from(P.maskPattern),P.toSJISFunc&&e.setToSJISFunction(P.toSJISFunc)),v(T,l,D,S)},jr}var tn={},rn={},os;function ss(){return os||(os=1,function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(s){return[s,s]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,s=n.width&&n.width>=21?n.width:void 0,i=n.scale||4;return{width:s,scale:s?4:i,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const s=e.getScale(n,o);return Math.floor((n+o.margin*2)*s)},e.qrToImageData=function(n,o,s){const i=o.modules.size,a=o.modules.data,c=e.getScale(i,s),u=Math.floor((i+s.margin*2)*c),m=s.margin*c,h=[s.color.light,s.color.dark];for(let p=0;p<u;p++)for(let y=0;y<u;y++){let g=(p*u+y)*4,d=s.color.light;if(p>=m&&y>=m&&p<u-m&&y<u-m){const x=Math.floor((p-m)/c),N=Math.floor((y-m)/c);d=h[a[x*i+N]?1:0]}n[g++]=d.r,n[g++]=d.g,n[g++]=d.b,n[g]=d.a}}}(rn)),rn}var is;function Ql(){return is||(is=1,function(e){const t=ss();function r(o,s,i){o.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=i,s.width=i,s.style.height=i+"px",s.style.width=i+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,i,a){let c=a,u=i;typeof c>"u"&&(!i||!i.getContext)&&(c=i,i=void 0),i||(u=n()),c=t.getOptions(c);const m=t.getImageWidth(s.modules.size,c),h=u.getContext("2d"),p=h.createImageData(m,m);return t.qrToImageData(p.data,s,c),r(h,u,m),h.putImageData(p,0,0),u},e.renderToDataURL=function(s,i,a){let c=a;typeof c>"u"&&(!i||!i.getContext)&&(c=i,i=void 0),c||(c={});const u=e.render(s,i,c),m=c.type||"image/png",h=c.rendererOpts||{};return u.toDataURL(m,h.quality)}}(tn)),tn}var nn={},as;function Xl(){if(as)return nn;as=1;const e=ss();function t(o,s){const i=o.a/255,a=s+'="'+o.hex+'"';return i<1?a+" "+s+'-opacity="'+i.toFixed(2).slice(1)+'"':a}function r(o,s,i){let a=o+s;return typeof i<"u"&&(a+=" "+i),a}function n(o,s,i){let a="",c=0,u=!1,m=0;for(let h=0;h<o.length;h++){const p=Math.floor(h%s),y=Math.floor(h/s);!p&&!u&&(u=!0),o[h]?(m++,h>0&&p>0&&o[h-1]||(a+=u?r("M",p+i,.5+y+i):r("m",c,0),c=0,u=!1),p+1<s&&o[h+1]||(a+=r("h",m),m=0)):c++}return a}return nn.render=function(s,i,a){const c=e.getOptions(i),u=s.modules.size,m=s.modules.data,h=u+c.margin*2,p=c.color.light.a?"<path "+t(c.color.light,"fill")+' d="M0 0h'+h+"v"+h+'H0z"/>':"",y="<path "+t(c.color.dark,"stroke")+' d="'+n(m,u,c.margin)+'"/>',g='viewBox="0 0 '+h+" "+h+'"',x='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+g+' shape-rendering="crispEdges">'+p+y+`</svg>
|
|
152
|
+
`;return typeof a=="function"&&a(null,x),x},nn}var cs;function Zl(){if(cs)return Ye;cs=1;const e=Bl(),t=Yl(),r=Ql(),n=Xl();function o(s,i,a,c,u){const m=[].slice.call(arguments,1),h=m.length,p=typeof m[h-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(h<2)throw new Error("Too few arguments provided");h===2?(u=a,a=i,i=c=void 0):h===3&&(i.getContext&&typeof u>"u"?(u=c,c=void 0):(u=c,c=a,a=i,i=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(a=i,i=c=void 0):h===2&&!i.getContext&&(c=a,a=i,i=void 0),new Promise(function(y,g){try{const d=t.create(a,c);y(s(d,i,c))}catch(d){g(d)}})}try{const y=t.create(a,c);u(null,s(y,i,c))}catch(y){u(y)}}return Ye.create=t.create,Ye.toCanvas=o.bind(null,r.render),Ye.toDataURL=o.bind(null,r.renderToDataURL),Ye.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),Ye}var ls=Zl();const eu=ps({__proto__:null,default:hs(ls)},[ls]);$.AlertMessage=Fr,$.AuthCard=Cl,$.BackArrow=Ge,$.Button=ie,$.ForgottenPasswordForm=El,$.I18nProvider=xl,$.NavLinksLayout=ws,$.ResetPasswordForm=Pl,$.SignInForm=Sl,$.SignUpForm=_l,$.SocialLoginButtons=Ar,$.ThemeProvider=Ns,$.TwoFactorSetupCompleteForm=Fl,$.TwoFactorSetupEnterVerificationForm=kl,$.TwoFactorSetupForm=Dl,$.TwoPanelLayout=xs,$.VerifyEmailForm=Tl,$.createCustomTheme=vs,$.darkTheme=bs,$.defaultTheme=Xe,$.en=Mt,$.placeholder=Al,$.useTheme=ee,$.useTranslation=we,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})});
|