@s_mart/telas-de-acesso 3.1.1 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import { UseFormReturn, FieldValues } from 'react-hook-form';
2
3
 
3
4
  interface TemplateTelaBaseProps {
@@ -36,7 +37,7 @@ interface TemplateTelaBaseProps {
36
37
  ilustracao?: React.ImgHTMLAttributes<HTMLImageElement>['src'] | React.ReactNode;
37
38
  }
38
39
 
39
- declare function TemplateTelaBase({ children, whatsapp, textoChamativo, style, paperStyle, ilustracao, }: TemplateTelaBaseProps): JSX.Element;
40
+ declare function TemplateTelaBase({ children, whatsapp, textoChamativo, style, paperStyle, ilustracao, }: TemplateTelaBaseProps): react_jsx_runtime.JSX.Element;
40
41
 
41
42
  interface TelaCadastroProps extends Omit<TemplateTelaBaseProps, 'children'> {
42
43
  email: string;
@@ -64,7 +65,7 @@ interface TelaCadastroProps extends Omit<TemplateTelaBaseProps, 'children'> {
64
65
  linkTermosDeUso?: string;
65
66
  }
66
67
 
67
- declare function TelaCadastro({ logo, nomeSistema, onSubmit, linkTermosDeUso, email, nome, ...rest }: TelaCadastroProps): JSX.Element;
68
+ declare function TelaCadastro({ logo, nomeSistema, onSubmit, linkTermosDeUso, email, nome, ...rest }: TelaCadastroProps): react_jsx_runtime.JSX.Element;
68
69
 
69
70
  interface TelaLoginFormValues {
70
71
  email: string;
@@ -104,7 +105,7 @@ interface TelaLoginProps extends Omit<TemplateTelaBaseProps, 'children'> {
104
105
  onEsqueciMinhaSenha?: () => void;
105
106
  }
106
107
 
107
- declare function TelaLogin({ logo, initialValues, onSubmit, onEsqueciMinhaSenha, errorLabel, ...rest }: TelaLoginProps): JSX.Element;
108
+ declare function TelaLogin({ logo, initialValues, onSubmit, onEsqueciMinhaSenha, errorLabel, ...rest }: TelaLoginProps): react_jsx_runtime.JSX.Element;
108
109
 
109
110
  interface TelaConviteExpiradoProps extends Omit<TemplateTelaBaseProps, 'children' | 'whatsapp'> {
110
111
  /**
@@ -122,7 +123,7 @@ interface TelaConviteExpiradoProps extends Omit<TemplateTelaBaseProps, 'children
122
123
  onPrecisoDeAjuda: () => void;
123
124
  }
124
125
 
125
- declare function TelaConviteExpirado({ logo, onPrecisoDeAjuda, onRealizarAcesso, ...rest }: TelaConviteExpiradoProps): JSX.Element;
126
+ declare function TelaConviteExpirado({ logo, onPrecisoDeAjuda, onRealizarAcesso, ...rest }: TelaConviteExpiradoProps): react_jsx_runtime.JSX.Element;
126
127
 
127
128
  interface TelaInstrucoesEnviadasProps extends Omit<TemplateTelaBaseProps, 'children'> {
128
129
  /**
@@ -136,7 +137,7 @@ interface TelaInstrucoesEnviadasProps extends Omit<TemplateTelaBaseProps, 'child
136
137
  onVoltarParaLogin: () => void;
137
138
  }
138
139
 
139
- declare function TelaInstrucoesEnviadas({ logo, onVoltarParaLogin, ...rest }: TelaInstrucoesEnviadasProps): JSX.Element;
140
+ declare function TelaInstrucoesEnviadas({ logo, onVoltarParaLogin, ...rest }: TelaInstrucoesEnviadasProps): react_jsx_runtime.JSX.Element;
140
141
 
141
142
  interface TelaNovaSenhaProps extends Omit<TemplateTelaBaseProps, 'children'> {
142
143
  /**
@@ -150,7 +151,7 @@ interface TelaNovaSenhaProps extends Omit<TemplateTelaBaseProps, 'children'> {
150
151
  onTrocarMinhaSenha: (data: any, methods: UseFormReturn<FieldValues, any>) => void;
151
152
  }
152
153
 
153
- declare function TelaNovaSenha({ logo, onTrocarMinhaSenha, ...rest }: TelaNovaSenhaProps): JSX.Element;
154
+ declare function TelaNovaSenha({ logo, onTrocarMinhaSenha, ...rest }: TelaNovaSenhaProps): react_jsx_runtime.JSX.Element;
154
155
 
155
156
  interface EsqueceuSenhaFormValues {
156
157
  email: string;
@@ -171,6 +172,6 @@ interface TelaEsqueceuSenhaProps extends Omit<TemplateTelaBaseProps, 'children'>
171
172
  onVoltarParaLogin: () => void;
172
173
  }
173
174
 
174
- declare function TelaEsqueceuSenha({ logo, onVoltarParaLogin, onConfirmar, ...rest }: TelaEsqueceuSenhaProps): JSX.Element;
175
+ declare function TelaEsqueceuSenha({ logo, onVoltarParaLogin, onConfirmar, ...rest }: TelaEsqueceuSenhaProps): react_jsx_runtime.JSX.Element;
175
176
 
176
177
  export { TelaCadastro, TelaCadastroProps, TelaConviteExpirado, TelaConviteExpiradoProps, TelaEsqueceuSenha, TelaEsqueceuSenhaProps, TelaInstrucoesEnviadas, TelaInstrucoesEnviadasProps, TelaLogin, TelaLoginProps, TelaNovaSenha, TelaNovaSenhaProps, TemplateTelaBase, TemplateTelaBaseProps };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var H2=Object.create;var e1=Object.defineProperty,b2=Object.defineProperties,V2=Object.getOwnPropertyDescriptor,x2=Object.getOwnPropertyDescriptors,S2=Object.getOwnPropertyNames,s1=Object.getOwnPropertySymbols,L2=Object.getPrototypeOf,A1=Object.prototype.hasOwnProperty,U1=Object.prototype.propertyIsEnumerable;var W1=(e,a,r)=>a in e?e1(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,S=(e,a)=>{for(var r in a||(a={}))A1.call(a,r)&&W1(e,r,a[r]);if(s1)for(var r of s1(a))U1.call(a,r)&&W1(e,r,a[r]);return e},E=(e,a)=>b2(e,x2(a));var k=(e,a)=>{var r={};for(var i in e)A1.call(e,i)&&a.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&s1)for(var i of s1(e))a.indexOf(i)<0&&U1.call(e,i)&&(r[i]=e[i]);return r};var h1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports),E2=(e,a)=>{for(var r in a)e1(e,r,{get:a[r],enumerable:!0})},Y1=(e,a,r,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of S2(a))!A1.call(e,n)&&n!==r&&e1(e,n,{get:()=>a[n],enumerable:!(i=V2(a,n))||i.enumerable});return e};var C=(e,a,r)=>(r=e!=null?H2(L2(e)):{},Y1(a||!e||!e.__esModule?e1(r,"default",{value:e,enumerable:!0}):r,e)),k2=e=>Y1(e1({},"__esModule",{value:!0}),e);var s0=h1(h=>{"use strict";var y=typeof Symbol=="function"&&Symbol.for,$1=y?Symbol.for("react.element"):60103,D1=y?Symbol.for("react.portal"):60106,u1=y?Symbol.for("react.fragment"):60107,p1=y?Symbol.for("react.strict_mode"):60108,f1=y?Symbol.for("react.profiler"):60114,Z1=y?Symbol.for("react.provider"):60109,g1=y?Symbol.for("react.context"):60110,R1=y?Symbol.for("react.async_mode"):60111,y1=y?Symbol.for("react.concurrent_mode"):60111,M1=y?Symbol.for("react.forward_ref"):60112,C1=y?Symbol.for("react.suspense"):60113,B2=y?Symbol.for("react.suspense_list"):60120,H1=y?Symbol.for("react.memo"):60115,b1=y?Symbol.for("react.lazy"):60116,q2=y?Symbol.for("react.block"):60121,z2=y?Symbol.for("react.fundamental"):60117,j2=y?Symbol.for("react.responder"):60118,W2=y?Symbol.for("react.scope"):60119;function L(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case $1:switch(e=e.type,e){case R1:case y1:case u1:case f1:case p1:case C1:return e;default:switch(e=e&&e.$$typeof,e){case g1:case M1:case b1:case H1:case Z1:return e;default:return a}}case D1:return a}}}function o0(e){return L(e)===y1}h.AsyncMode=R1;h.ConcurrentMode=y1;h.ContextConsumer=g1;h.ContextProvider=Z1;h.Element=$1;h.ForwardRef=M1;h.Fragment=u1;h.Lazy=b1;h.Memo=H1;h.Portal=D1;h.Profiler=f1;h.StrictMode=p1;h.Suspense=C1;h.isAsyncMode=function(e){return o0(e)||L(e)===R1};h.isConcurrentMode=o0;h.isContextConsumer=function(e){return L(e)===g1};h.isContextProvider=function(e){return L(e)===Z1};h.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$1};h.isForwardRef=function(e){return L(e)===M1};h.isFragment=function(e){return L(e)===u1};h.isLazy=function(e){return L(e)===b1};h.isMemo=function(e){return L(e)===H1};h.isPortal=function(e){return L(e)===D1};h.isProfiler=function(e){return L(e)===f1};h.isStrictMode=function(e){return L(e)===p1};h.isSuspense=function(e){return L(e)===C1};h.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===u1||e===y1||e===f1||e===p1||e===C1||e===B2||typeof e=="object"&&e!==null&&(e.$$typeof===b1||e.$$typeof===H1||e.$$typeof===Z1||e.$$typeof===g1||e.$$typeof===M1||e.$$typeof===z2||e.$$typeof===j2||e.$$typeof===W2||e.$$typeof===q2)};h.typeOf=L});var h0=h1(d=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,Z=e?Symbol.for("react.forward_ref"):60112,A=e?Symbol.for("react.suspense"):60113,X=e?Symbol.for("react.suspense_list"):60120,O=e?Symbol.for("react.memo"):60115,V=e?Symbol.for("react.lazy"):60116,i1=e?Symbol.for("react.block"):60121,c1=e?Symbol.for("react.fundamental"):60117,t1=e?Symbol.for("react.responder"):60118,l1=e?Symbol.for("react.scope"):60119;function X0(t){return typeof t=="string"||typeof t=="function"||t===i||t===p||t===l||t===n||t===A||t===X||typeof t=="object"&&t!==null&&(t.$$typeof===V||t.$$typeof===O||t.$$typeof===s||t.$$typeof===v||t.$$typeof===Z||t.$$typeof===c1||t.$$typeof===t1||t.$$typeof===l1||t.$$typeof===i1)}function x(t){if(typeof t=="object"&&t!==null){var w1=t.$$typeof;switch(w1){case a:var o1=t.type;switch(o1){case m:case p:case i:case l:case n:case A:return o1;default:var j1=o1&&o1.$$typeof;switch(j1){case v:case Z:case V:case O:case s:return j1;default:return w1}}case r:return w1}}}var Q0=m,G0=p,J0=v,e2=s,a2=a,r2=Z,n2=i,i2=V,c2=O,t2=r,l2=l,o2=n,s2=A,q1=!1;function h2(t){return q1||(q1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),z1(t)||x(t)===m}function z1(t){return x(t)===p}function d2(t){return x(t)===v}function v2(t){return x(t)===s}function m2(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function u2(t){return x(t)===Z}function p2(t){return x(t)===i}function f2(t){return x(t)===V}function Z2(t){return x(t)===O}function g2(t){return x(t)===r}function y2(t){return x(t)===l}function M2(t){return x(t)===n}function C2(t){return x(t)===A}d.AsyncMode=Q0,d.ConcurrentMode=G0,d.ContextConsumer=J0,d.ContextProvider=e2,d.Element=a2,d.ForwardRef=r2,d.Fragment=n2,d.Lazy=i2,d.Memo=c2,d.Portal=t2,d.Profiler=l2,d.StrictMode=o2,d.Suspense=s2,d.isAsyncMode=h2,d.isConcurrentMode=z1,d.isContextConsumer=d2,d.isContextProvider=v2,d.isElement=m2,d.isForwardRef=u2,d.isFragment=p2,d.isLazy=f2,d.isMemo=Z2,d.isPortal=g2,d.isProfiler=y2,d.isStrictMode=M2,d.isSuspense=C2,d.isValidElementType=X0,d.typeOf=x}()});var d0=h1((I3,O1)=>{"use strict";process.env.NODE_ENV==="production"?O1.exports=s0():O1.exports=h0()});var g0=h1((_3,Z0)=>{"use strict";var F1=d0(),U2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Y2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},K2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},p0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I1={};I1[F1.ForwardRef]=K2;I1[F1.Memo]=p0;function v0(e){return F1.isMemo(e)?p0:I1[e.$$typeof]||U2}var X2=Object.defineProperty,Q2=Object.getOwnPropertyNames,m0=Object.getOwnPropertySymbols,G2=Object.getOwnPropertyDescriptor,J2=Object.getPrototypeOf,u0=Object.prototype;function f0(e,a,r){if(typeof a!="string"){if(u0){var i=J2(a);i&&i!==u0&&f0(e,i,r)}var n=Q2(a);m0&&(n=n.concat(m0(a)));for(var l=v0(e),s=v0(a),v=0;v<n.length;++v){var m=n[v];if(!Y2[m]&&!(r&&r[m])&&!(s&&s[m])&&!(l&&l[m])){var p=G2(a,m);try{X2(e,m,p)}catch(Z){}}}}return e}Z0.exports=f0});var p3={};E2(p3,{TelaCadastro:()=>l0,TelaConviteExpirado:()=>$0,TelaEsqueceuSenha:()=>K0,TelaInstrucoesEnviadas:()=>O0,TelaLogin:()=>w0,TelaNovaSenha:()=>j0,TemplateTelaBase:()=>b});module.exports=k2(p3);var v1=require("@s_mart/core"),e0=require("@s_mart/masks");var _={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var d1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;var Q=C(require("@emotion/styled"));var T2=Object.defineProperty,w2=(e,a)=>{for(var r in a)T2(e,r,{get:a[r],enumerable:!0})},f={};w2(f,{blue:()=>P2,green:()=>O2,neutral:()=>N2,red:()=>D2,yellow:()=>I2});var A2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},P2=A2,$2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},D2=$2,R2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},O2=R2,F2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},I2=F2,_2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},N2=_2;var K1=Q.default.div`
1
+ "use strict";var p2=Object.create;var n1=Object.defineProperty;var f2=Object.getOwnPropertyDescriptor;var Z2=Object.getOwnPropertyNames;var g2=Object.getPrototypeOf,y2=Object.prototype.hasOwnProperty;var c1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports),M2=(e,a)=>{for(var r in a)n1(e,r,{get:a[r],enumerable:!0})},_1=(e,a,r,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of Z2(a))!y2.call(e,n)&&n!==r&&n1(e,n,{get:()=>a[n],enumerable:!(i=f2(a,n))||i.enumerable});return e};var M=(e,a,r)=>(r=e!=null?p2(g2(e)):{},_1(a||!e||!e.__esModule?n1(r,"default",{value:e,enumerable:!0}):r,e)),H2=e=>_1(n1({},"__esModule",{value:!0}),e);var e0=c1(h=>{"use strict";var g=typeof Symbol=="function"&&Symbol.for,L1=g?Symbol.for("react.element"):60103,E1=g?Symbol.for("react.portal"):60106,o1=g?Symbol.for("react.fragment"):60107,s1=g?Symbol.for("react.strict_mode"):60108,h1=g?Symbol.for("react.profiler"):60114,v1=g?Symbol.for("react.provider"):60109,d1=g?Symbol.for("react.context"):60110,k1=g?Symbol.for("react.async_mode"):60111,m1=g?Symbol.for("react.concurrent_mode"):60111,u1=g?Symbol.for("react.forward_ref"):60112,p1=g?Symbol.for("react.suspense"):60113,$2=g?Symbol.for("react.suspense_list"):60120,f1=g?Symbol.for("react.memo"):60115,Z1=g?Symbol.for("react.lazy"):60116,D2=g?Symbol.for("react.block"):60121,R2=g?Symbol.for("react.fundamental"):60117,F2=g?Symbol.for("react.responder"):60118,O2=g?Symbol.for("react.scope"):60119;function x(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case L1:switch(e=e.type,e){case k1:case m1:case o1:case h1:case s1:case p1:return e;default:switch(e=e&&e.$$typeof,e){case d1:case u1:case Z1:case f1:case v1:return e;default:return a}}case E1:return a}}}function J1(e){return x(e)===m1}h.AsyncMode=k1;h.ConcurrentMode=m1;h.ContextConsumer=d1;h.ContextProvider=v1;h.Element=L1;h.ForwardRef=u1;h.Fragment=o1;h.Lazy=Z1;h.Memo=f1;h.Portal=E1;h.Profiler=h1;h.StrictMode=s1;h.Suspense=p1;h.isAsyncMode=function(e){return J1(e)||x(e)===k1};h.isConcurrentMode=J1;h.isContextConsumer=function(e){return x(e)===d1};h.isContextProvider=function(e){return x(e)===v1};h.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===L1};h.isForwardRef=function(e){return x(e)===u1};h.isFragment=function(e){return x(e)===o1};h.isLazy=function(e){return x(e)===Z1};h.isMemo=function(e){return x(e)===f1};h.isPortal=function(e){return x(e)===E1};h.isProfiler=function(e){return x(e)===h1};h.isStrictMode=function(e){return x(e)===s1};h.isSuspense=function(e){return x(e)===p1};h.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===o1||e===m1||e===h1||e===s1||e===p1||e===$2||typeof e=="object"&&e!==null&&(e.$$typeof===Z1||e.$$typeof===f1||e.$$typeof===v1||e.$$typeof===d1||e.$$typeof===u1||e.$$typeof===R2||e.$$typeof===F2||e.$$typeof===O2||e.$$typeof===D2)};h.typeOf=x});var a0=c1(v=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,V=e?Symbol.for("react.forward_ref"):60112,D=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,B=e?Symbol.for("react.memo"):60115,N=e?Symbol.for("react.lazy"):60116,e1=e?Symbol.for("react.block"):60121,a1=e?Symbol.for("react.fundamental"):60117,N0=e?Symbol.for("react.responder"):60118,I0=e?Symbol.for("react.scope"):60119;function q0(t){return typeof t=="string"||typeof t=="function"||t===i||t===m||t===l||t===n||t===D||t===T||typeof t=="object"&&t!==null&&(t.$$typeof===N||t.$$typeof===B||t.$$typeof===u||t.$$typeof===f||t.$$typeof===V||t.$$typeof===a1||t.$$typeof===N0||t.$$typeof===I0||t.$$typeof===e1)}function b(t){if(typeof t=="object"&&t!==null){var x1=t.$$typeof;switch(x1){case a:var r1=t.type;switch(r1){case s:case m:case i:case l:case n:case D:return r1;default:var O1=r1&&r1.$$typeof;switch(O1){case f:case V:case N:case B:case u:return O1;default:return x1}}case r:return x1}}}var z0=s,W0=m,U0=f,j0=u,Y0=a,X0=V,K0=i,Q0=N,G0=B,J0=r,e2=l,a2=n,r2=D,R1=!1;function n2(t){return R1||(R1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),F1(t)||b(t)===s}function F1(t){return b(t)===m}function c2(t){return b(t)===f}function i2(t){return b(t)===u}function t2(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function l2(t){return b(t)===V}function o2(t){return b(t)===i}function s2(t){return b(t)===N}function h2(t){return b(t)===B}function v2(t){return b(t)===r}function d2(t){return b(t)===l}function m2(t){return b(t)===n}function u2(t){return b(t)===D}v.AsyncMode=z0,v.ConcurrentMode=W0,v.ContextConsumer=U0,v.ContextProvider=j0,v.Element=Y0,v.ForwardRef=X0,v.Fragment=K0,v.Lazy=Q0,v.Memo=G0,v.Portal=J0,v.Profiler=e2,v.StrictMode=a2,v.Suspense=r2,v.isAsyncMode=n2,v.isConcurrentMode=F1,v.isContextConsumer=c2,v.isContextProvider=i2,v.isElement=t2,v.isForwardRef=l2,v.isFragment=o2,v.isLazy=s2,v.isMemo=h2,v.isPortal=v2,v.isProfiler=d2,v.isStrictMode=m2,v.isSuspense=u2,v.isValidElementType=q0,v.typeOf=b}()});var r0=c1((T3,T1)=>{"use strict";process.env.NODE_ENV==="production"?T1.exports=e0():T1.exports=a0()});var s0=c1((w3,o0)=>{"use strict";var w1=r0(),_2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},B2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},N2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},t0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A1={};A1[w1.ForwardRef]=N2;A1[w1.Memo]=t0;function n0(e){return w1.isMemo(e)?t0:A1[e.$$typeof]||_2}var I2=Object.defineProperty,q2=Object.getOwnPropertyNames,c0=Object.getOwnPropertySymbols,z2=Object.getOwnPropertyDescriptor,W2=Object.getPrototypeOf,i0=Object.prototype;function l0(e,a,r){if(typeof a!="string"){if(i0){var i=W2(a);i&&i!==i0&&l0(e,i,r)}var n=q2(a);c0&&(n=n.concat(c0(a)));for(var l=n0(e),u=n0(a),f=0;f<n.length;++f){var s=n[f];if(!B2[s]&&!(r&&r[s])&&!(u&&u[s])&&!(l&&l[s])){var m=z2(a,s);try{I2(e,s,m)}catch{}}}}return e}o0.exports=l0});var l3={};M2(l3,{TelaCadastro:()=>G1,TelaConviteExpirado:()=>x0,TelaEsqueceuSenha:()=>B0,TelaInstrucoesEnviadas:()=>E0,TelaLogin:()=>C0,TelaNovaSenha:()=>R0,TemplateTelaBase:()=>C});module.exports=H2(l3);var t1=require("@s_mart/core"),W1=require("@s_mart/masks");var R={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var i1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;var Y=M(require("@emotion/styled"));var C2=Object.defineProperty,V2=(e,a)=>{for(var r in a)C2(e,r,{get:a[r],enumerable:!0})},p={};V2(p,{blue:()=>x2,green:()=>k2,neutral:()=>P2,red:()=>L2,yellow:()=>w2});var b2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},x2=b2,S2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},L2=S2,E2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},k2=E2,T2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},w2=T2,A2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},P2=A2;var B1=Y.default.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -18,7 +18,7 @@
18
18
  @media (max-height: 600px) {
19
19
  justify-content: flex-start;
20
20
  }
21
- `,X1=Q.default.div`
21
+ `,N1=Y.default.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,7 +27,7 @@
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,Q1=Q.default.h1`
30
+ `,I1=Y.default.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
@@ -66,7 +66,7 @@
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,G1=Q.default.div`
69
+ `,q1=Y.default.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
@@ -75,7 +75,7 @@
75
75
  margin: ${c(16)};
76
76
 
77
77
  background-color: ${({theme:e})=>e.palette.common.white};
78
- `,J1=Q.default.button`
78
+ `,z1=Y.default.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
@@ -96,20 +96,20 @@
96
96
  background-color: transparent;
97
97
 
98
98
  svg {
99
- color: ${f.green[300]};
99
+ color: ${p.green[300]};
100
100
  }
101
101
  }
102
- `;var D=require("react/jsx-runtime");function b({children:e,whatsapp:a,textoChamativo:r,style:i,paperStyle:n,ilustracao:l}){return(0,D.jsxs)(K1,{style:i,children:[r&&(0,D.jsx)(Q1,{children:r}),l&&(0,D.jsx)(X1,{children:typeof l=="string"?(0,D.jsx)("img",{src:l,alt:"Logo do sistema"}):l}),(0,D.jsx)(G1,{style:n,children:e}),a&&(0,D.jsxs)(J1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[(0,D.jsxs)(v1.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",e0.telefone.format(a.slice(2))]}),(0,D.jsx)(v1.LIcon,{icon:d1,size:"20px",removeMargin:!0})]})]})}var T=require("@s_mart/core"),F=require("@s_mart/form"),P1=require("@s_mart/rules");var z=C(require("@emotion/styled"));var a0=z.default.div`
102
+ `;var w=require("react/jsx-runtime");function C({children:e,whatsapp:a,textoChamativo:r,style:i,paperStyle:n,ilustracao:l}){return(0,w.jsxs)(B1,{style:i,children:[r&&(0,w.jsx)(I1,{children:r}),l&&(0,w.jsx)(N1,{children:typeof l=="string"?(0,w.jsx)("img",{src:l,alt:"Logo do sistema"}):l}),(0,w.jsx)(q1,{style:n,children:e}),a&&(0,w.jsxs)(z1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[(0,w.jsxs)(t1.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",W1.telefone.format(a.slice(2))]}),(0,w.jsx)(t1.LIcon,{icon:i1,size:"20px",removeMargin:!0})]})]})}var S=require("@s_mart/core"),P=require("@s_mart/form"),S1=require("@s_mart/rules");var I=M(require("@emotion/styled"));var U1=I.default.div`
103
103
  display: grid;
104
104
  gap: ${c(32)};
105
- `,r0=z.default.header`
105
+ `,j1=I.default.header`
106
106
  display: grid;
107
107
  text-align: center;
108
108
  gap: ${c(16)};
109
- `,n0=z.default.div`
109
+ `,Y1=I.default.div`
110
110
  display: grid;
111
111
  gap: ${c(32)};
112
- `,i0=z.default.div`
112
+ `,X1=I.default.div`
113
113
  display: grid;
114
114
  gap: ${c(4)};
115
115
 
@@ -128,17 +128,17 @@
128
128
  display: grid;
129
129
  gap: ${c(4)};
130
130
  }
131
- `,c0=z.default.div`
131
+ `,K1=I.default.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
134
  gap: ${c(8)};
135
- `,m1=z.default.div`
135
+ `,l1=I.default.div`
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: ${c(4)};
139
139
 
140
- color: ${f.neutral[600]};
141
- border: 1px solid ${f.neutral[600]};
140
+ color: ${p.neutral[600]};
141
+ border: 1px solid ${p.neutral[600]};
142
142
  border-radius: ${c(4)};
143
143
  padding: ${c(3)} ${c(4)};
144
144
 
@@ -146,10 +146,10 @@
146
146
  vertical-align: middle;
147
147
 
148
148
  ${({checked:e})=>{if(e)return`
149
- color: ${f.green[300]};
150
- border-color: ${f.green[300]};
149
+ color: ${p.green[300]};
150
+ border-color: ${p.green[300]};
151
151
  `}}
152
- `;function t0(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!e(n.senha)||!a(n.senha)||!r(n.senha)}}var o=require("react/jsx-runtime");function l0(v){var m=v,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:i,email:n,nome:l}=m,s=k(m,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:p,senhaContemNumero:Z,senhaContemMinimoDe6Caracteres:A,desabilitarBotaoDeCadastro:X}=t0(),O=typeof e=="string"?(0,o.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,o.jsx)(b,E(S({},s),{children:(0,o.jsxs)(a0,{children:[(0,o.jsxs)(r0,{children:[e&&(0,o.jsx)("div",{children:O}),(0,o.jsxs)(T.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),(0,o.jsx)(F.Form,{onSubmit:r,defaultValues:{email:n,nome:l,termosDeUso:!1},children:({watch:V})=>{let i1=p(V("senha")),c1=Z(V("senha")),t1=A(V("senha"));return(0,o.jsxs)(n0,{children:[(0,o.jsx)(F.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),(0,o.jsx)(F.TextField,{name:"nome",label:"Nome completo",required:!0,rules:P1.required}),(0,o.jsxs)(i0,{children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(F.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:P1.required}),(0,o.jsx)(F.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:l1=>{if(!l1)return"Campo obrigat\xF3rio";if(l1!==V("senha"))return"As senhas devem ser iguais"}}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,o.jsxs)(c0,{children:[(0,o.jsxs)(m1,{checked:!!i1,children:[i1&&(0,o.jsx)(T.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,o.jsxs)(m1,{checked:!!c1,children:[c1&&(0,o.jsx)(T.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,o.jsxs)(m1,{checked:!!t1,children:[t1&&(0,o.jsx)(T.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(F.Checkbox,{name:"termosDeUso",label:(0,o.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,o.jsx)("span",{children:"Li e aceito os"}),(0,o.jsx)("a",{href:i,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,o.jsx)("div",{children:(0,o.jsx)(T.Button,{type:"submit",fullWidth:!0,disabled:X(V()),children:"Concluir meu cadastro"})})]})}})]})}))}var T0=require("react"),W=require("@s_mart/core"),U=require("@s_mart/form"),Y=require("@s_mart/rules");var V1=require("react");var n3=C(require("react"),1);var R=C(require("react")),e3=require("react-dom");var a3=C(g0());var r3="SnackbarContent",q3={root:r3+"-root"};var I="SnackbarItem",z3={contentRoot:I+"-contentRoot",lessPadding:I+"-lessPadding",variantSuccess:I+"-variantSuccess",variantError:I+"-variantError",variantInfo:I+"-variantInfo",variantWarning:I+"-variantWarning",message:I+"-message",action:I+"-action",wrappedRoot:I+"-wrappedRoot"};var j="SnackbarContainer",j3={root:j+"-root",rootDense:j+"-rootDense",top:j+"-top",bottom:j+"-bottom",left:j+"-left",right:j+"-right",center:j+"-center"};var W3=process.env.NODE_ENV!=="production";var x1=C(require("@emotion/styled"),1);var M0=C(require("@emotion/styled"),1),N=require("@emotion/react");var i3=require("react/jsx-runtime"),C0=require("react/jsx-runtime"),_1=require("react/jsx-runtime"),H0=require("react"),S1=C(require("react"),1),ne=require("@emotion/styled"),V0=require("@emotion/react"),x0=C(require("react"),1),P=C(require("react"),1);var y0=()=>{let[e,a]=(0,V1.useState)(!1);return(0,V1.useEffect)(()=>{let r=i=>{i.key==="CapsLock"&&a(i.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var G3=x1.default.div`
152
+ `;function Q1(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!e(n.senha)||!a(n.senha)||!r(n.senha)}}var o=require("react/jsx-runtime");function G1({logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:i,email:n,nome:l,...u}){let{senhaContemLetra:f,senhaContemNumero:s,senhaContemMinimoDe6Caracteres:m,desabilitarBotaoDeCadastro:V}=Q1();return(0,o.jsx)(C,{...u,children:(0,o.jsxs)(U1,{children:[(0,o.jsxs)(j1,{children:[e&&(0,o.jsx)("div",{children:typeof e=="string"?(0,o.jsx)("img",{src:e,alt:"Logo do sistema"}):e}),(0,o.jsxs)(S.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),(0,o.jsx)(P.Form,{onSubmit:r,defaultValues:{email:n,nome:l,termosDeUso:!1},children:({watch:T})=>{let B=f(T("senha")),N=s(T("senha")),e1=m(T("senha"));return(0,o.jsxs)(Y1,{children:[(0,o.jsx)(P.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),(0,o.jsx)(P.TextField,{name:"nome",label:"Nome completo",required:!0,rules:S1.required}),(0,o.jsxs)(X1,{children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(P.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:S1.required}),(0,o.jsx)(P.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:a1=>{if(!a1)return"Campo obrigat\xF3rio";if(a1!==T("senha"))return"As senhas devem ser iguais"}}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(S.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,o.jsxs)(K1,{children:[(0,o.jsxs)(l1,{checked:!!B,children:[B&&(0,o.jsx)(S.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,o.jsx)(S.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,o.jsxs)(l1,{checked:!!N,children:[N&&(0,o.jsx)(S.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,o.jsx)(S.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,o.jsxs)(l1,{checked:!!e1,children:[e1&&(0,o.jsx)(S.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,o.jsx)(S.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(P.Checkbox,{name:"termosDeUso",label:(0,o.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,o.jsx)("span",{children:"Li e aceito os"}),(0,o.jsx)("a",{href:i,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,o.jsx)("div",{children:(0,o.jsx)(S.Button,{type:"submit",fullWidth:!0,disabled:V(T()),children:"Concluir meu cadastro"})})]})}})]})})}var H0=require("react"),z=require("@s_mart/core"),W=require("@s_mart/form"),U=require("@s_mart/rules");var g1=require("react");var X2=M(require("react"),1);var A=M(require("react")),U2=require("react-dom");var j2=M(s0());var Y2="SnackbarContent",$3={root:Y2+"-root"};var $="SnackbarItem",D3={contentRoot:$+"-contentRoot",lessPadding:$+"-lessPadding",variantSuccess:$+"-variantSuccess",variantError:$+"-variantError",variantInfo:$+"-variantInfo",variantWarning:$+"-variantWarning",message:$+"-message",action:$+"-action",wrappedRoot:$+"-wrappedRoot"};var q="SnackbarContainer",R3={root:q+"-root",rootDense:q+"-rootDense",top:q+"-top",bottom:q+"-bottom",left:q+"-left",right:q+"-right",center:q+"-center"};var F3=process.env.NODE_ENV!=="production";var y1=M(require("@emotion/styled"),1);var v0=M(require("@emotion/styled"),1),F=require("@emotion/react");var K2=require("react/jsx-runtime"),d0=require("react/jsx-runtime"),P1=require("react/jsx-runtime"),m0=require("react"),M1=M(require("react"),1),Y3=require("@emotion/styled"),p0=require("@emotion/react"),f0=M(require("react"),1),E=M(require("react"),1),h0=()=>{let[e,a]=(0,g1.useState)(!1);return(0,g1.useEffect)(()=>{let r=i=>{i.key==="CapsLock"&&a(i.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var q3=y1.default.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
@@ -162,14 +162,14 @@
162
162
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);
163
163
 
164
164
  border-left: 6px solid
165
- ${({variant:e})=>{switch(e){case"error":return f.red[300];case"warning":return f.yellow[300];case"info":return f.blue[100];default:case"success":return f.green[300]}}};
165
+ ${({variant:e})=>{switch(e){case"error":return p.red[300];case"warning":return p.yellow[300];case"info":return p.blue[100];default:case"success":return p.green[300]}}};
166
166
 
167
167
  > div {
168
168
  display: flex;
169
169
  align-items: center;
170
170
  gap: ${c(8)};
171
171
  }
172
- `,J3=x1.default.div`
172
+ `,z3=y1.default.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
@@ -177,10 +177,10 @@
177
177
  > *:first-of-type {
178
178
  margin-bottom: ${c(4)};
179
179
  }
180
- `,ee=x1.default.div`
180
+ `,W3=y1.default.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,re=M0.default.i`
183
+ `,j3=v0.default.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:e})=>e};
@@ -191,23 +191,23 @@
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&N.css`
194
+ ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F.css`
195
195
  left: ${e};
196
196
  `}
197
197
 
198
- ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&N.css`
198
+ ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F.css`
199
199
  right: ${e};
200
200
  `}
201
201
 
202
- ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&N.css`
202
+ ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F.css`
203
203
  top: ${e};
204
204
  `}
205
205
 
206
- ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&N.css`
206
+ ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F.css`
207
207
  bottom: ${e};
208
208
  `}
209
209
 
210
- ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),N.css`
210
+ ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),F.css`
211
211
  fill: ${a};
212
212
  `}}
213
213
  position: relative;
@@ -215,21 +215,21 @@
215
215
  height: ${({height:e})=>e} !important;
216
216
  width: ${({width:e})=>e} !important;
217
217
 
218
- ${({removeMargin:e})=>e?N.css`
218
+ ${({removeMargin:e})=>e?F.css`
219
219
  margin: 0;
220
- `:N.css`
220
+ `:F.css`
221
221
  margin: 0 ${c(4)};
222
222
  `}
223
223
  }
224
- `;function a1(){return a1=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},a1.apply(this,arguments)}var c3=typeof window!="undefined"?S1.useLayoutEffect:S1.useEffect,t3=c3;function b0(e,a){let r=a1({},a);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=a1({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let n=e[i]||{},l=a[i];r[i]={},!l||!Object.keys(l)?r[i]=n:!n||!Object.keys(n)?r[i]=l:(r[i]=a1({},l),Object.keys(n).forEach(s=>{r[i][s]=b0(n[s],l[s])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function l3(e){return Object.keys(e).length===0}function o3(e=null){let a=x0.useContext(V0.ThemeContext);return!a||l3(a)?e:a}var s3=o3;function h3(e){let{theme:a,name:r,props:i}=e;return!a||!a.components||!a.components[r]||!a.components[r].defaultProps?i:b0(a.components[r].defaultProps,i)}var d3=t3;function v3(e,a,r,i,n){let[l,s]=P.useState(()=>n&&r?r(e).matches:i?i(e).matches:a);return d3(()=>{let v=!0;if(!r)return;let m=r(e),p=()=>{v&&s(m.matches)};return p(),m.addListener(p),()=>{v=!1,m.removeListener(p)}},[e,r]),l}var S0=P.useSyncExternalStore;function m3(e,a,r,i,n){let l=P.useCallback(()=>a,[a]),s=P.useMemo(()=>{if(n&&r)return()=>r(e).matches;if(i!==null){let{matches:p}=i(e);return()=>p}return l},[l,e,i,n,r]),[v,m]=P.useMemo(()=>{if(r===null)return[l,()=>()=>{}];let p=r(e);return[()=>p.matches,Z=>(p.addListener(Z),()=>{p.removeListener(Z)})]},[l,r,e]);return S0(m,v,s)}function u3(e,a={}){let r=s3(),i=typeof window!="undefined"&&typeof window.matchMedia!="undefined",{defaultMatches:n=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:v=!1}=h3({name:"MuiUseMediaQuery",props:a,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
225
- `));let m=typeof e=="function"?e(r):e;m=m.replace(/^@media( ?)/m,"");let p=(S0!==void 0?m3:v3)(m,n,l,s,v);return process.env.NODE_ENV!=="production"&&P.useDebugValue({query:m,match:p}),p}var B=(e,a)=>u3(e,a);var L1=C(require("@emotion/styled"));var L0=L1.default.div`
224
+ `;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Q.apply(this,arguments)}var Q2=typeof window<"u"?M1.useLayoutEffect:M1.useEffect,G2=Q2;function u0(e,a){let r=Q({},a);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=Q({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let n=e[i]||{},l=a[i];r[i]={},!l||!Object.keys(l)?r[i]=n:!n||!Object.keys(n)?r[i]=l:(r[i]=Q({},l),Object.keys(n).forEach(u=>{r[i][u]=u0(n[u],l[u])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function J2(e){return Object.keys(e).length===0}function e3(e=null){let a=f0.useContext(p0.ThemeContext);return!a||J2(a)?e:a}var a3=e3;function r3(e){let{theme:a,name:r,props:i}=e;return!a||!a.components||!a.components[r]||!a.components[r].defaultProps?i:u0(a.components[r].defaultProps,i)}var n3=G2;function c3(e,a,r,i,n){let[l,u]=E.useState(()=>n&&r?r(e).matches:i?i(e).matches:a);return n3(()=>{let f=!0;if(!r)return;let s=r(e),m=()=>{f&&u(s.matches)};return m(),s.addListener(m),()=>{f=!1,s.removeListener(m)}},[e,r]),l}var Z0=E.useSyncExternalStore;function i3(e,a,r,i,n){let l=E.useCallback(()=>a,[a]),u=E.useMemo(()=>{if(n&&r)return()=>r(e).matches;if(i!==null){let{matches:m}=i(e);return()=>m}return l},[l,e,i,n,r]),[f,s]=E.useMemo(()=>{if(r===null)return[l,()=>()=>{}];let m=r(e);return[()=>m.matches,V=>(m.addListener(V),()=>{m.removeListener(V)})]},[l,r,e]);return Z0(s,f,u)}function t3(e,a={}){let r=a3(),i=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:n=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:f=!1}=r3({name:"MuiUseMediaQuery",props:a,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
225
+ `));let s=typeof e=="function"?e(r):e;s=s.replace(/^@media( ?)/m,"");let m=(Z0!==void 0?i3:c3)(s,n,l,u,f);return process.env.NODE_ENV!=="production"&&E.useDebugValue({query:s,match:m}),m}var O=(e,a)=>t3(e,a);var H1=M(require("@emotion/styled"));var g0=H1.default.div`
226
226
  display: grid;
227
227
  gap: ${c(32)};
228
- `,E0=L1.default.header`
228
+ `,y0=H1.default.header`
229
229
  display: grid;
230
230
  text-align: center;
231
231
  gap: ${c(16)};
232
- `,k0=L1.default.div`
232
+ `,M0=H1.default.div`
233
233
  display: grid;
234
234
  gap: ${c(16)};
235
235
 
@@ -241,7 +241,7 @@
241
241
  > div:last-of-type {
242
242
  gap: ${c(8)};
243
243
  }
244
- `;var g=require("react/jsx-runtime");function w0(s){var v=s,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:i,errorLabel:n}=v,l=k(v,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let m=typeof e=="string"?(0,g.jsx)("img",{src:e,alt:"Logo do sistema"}):e,p=y0(),Z=B("(max-width: 500px)"),A=(0,T0.useMemo)(()=>S({manterConectado:!1},a),[a]);return(0,g.jsx)(b,E(S({},l),{paperStyle:{minWidth:Z?void 0:456,width:Z?"90%":void 0},children:(0,g.jsxs)(L0,{children:[(0,g.jsx)(E0,{children:e&&(0,g.jsx)("div",{children:m})}),(0,g.jsx)(U.Form,{onSubmit:r,defaultValues:A,children:(0,g.jsxs)(k0,{children:[(0,g.jsxs)("div",{children:[(0,g.jsx)(U.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:(0,Y.composeValidators)([Y.required,Y.email]),autoComplete:"email",type:"email"}),(0,g.jsxs)("div",{children:[(0,g.jsx)(U.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:Y.required}),p&&(0,g.jsx)(W.Indicator,{severity:"warning",children:"Capslock ativado"}),!!n&&(0,g.jsx)(W.Typography,{variant:"titleXXS",color:f.red[300],children:n})]})]}),(0,g.jsx)(U.Checkbox,{name:"manterConectado",label:"Manter conectado"}),(0,g.jsxs)("div",{children:[(0,g.jsx)(W.Button,{type:"submit",fullWidth:!0,children:"Entrar"}),i&&(0,g.jsx)(W.Button,{type:"button",fullWidth:!0,variant:"text",onClick:i,children:"Esqueci minha senha"})]})]})})]})}))}var q=require("@s_mart/core");var N1=C(require("@emotion/styled"));var A0=N1.default.div`
244
+ `;var Z=require("react/jsx-runtime");function C0({logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:i,errorLabel:n,...l}){let u=typeof e=="string"?(0,Z.jsx)("img",{src:e,alt:"Logo do sistema"}):e,f=h0(),s=O("(max-width: 500px)"),m=(0,H0.useMemo)(()=>({manterConectado:!1,...a}),[a]);return(0,Z.jsx)(C,{...l,paperStyle:{minWidth:s?void 0:456,width:s?"90%":void 0},children:(0,Z.jsxs)(g0,{children:[(0,Z.jsx)(y0,{children:e&&(0,Z.jsx)("div",{children:u})}),(0,Z.jsx)(W.Form,{onSubmit:r,defaultValues:m,children:(0,Z.jsxs)(M0,{children:[(0,Z.jsxs)("div",{children:[(0,Z.jsx)(W.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:(0,U.composeValidators)([U.required,U.email]),autoComplete:"email",type:"email"}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)(W.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:U.required}),f&&(0,Z.jsx)(z.Indicator,{severity:"warning",children:"Capslock ativado"}),!!n&&(0,Z.jsx)(z.Typography,{variant:"titleXXS",color:p.red[300],children:n})]})]}),(0,Z.jsx)(W.Checkbox,{name:"manterConectado",label:"Manter conectado"}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)(z.Button,{type:"submit",fullWidth:!0,children:"Entrar"}),i&&(0,Z.jsx)(z.Button,{type:"button",fullWidth:!0,variant:"text",onClick:i,children:"Esqueci minha senha"})]})]})})]})})}var _=require("@s_mart/core");var $1=M(require("@emotion/styled"));var V0=$1.default.div`
245
245
  display: grid;
246
246
  gap: ${c(32)};
247
247
 
@@ -249,11 +249,11 @@
249
249
  display: grid;
250
250
  gap: ${c(8)};
251
251
  }
252
- `,P0=N1.default.header`
252
+ `,b0=$1.default.header`
253
253
  display: grid;
254
254
  text-align: center;
255
255
  gap: ${c(16)};
256
- `;var H=require("react/jsx-runtime");function $0(n){var l=n,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=l,i=k(l,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let s=typeof e=="string"?(0,H.jsx)("img",{src:e,alt:"Logo do sistema"}):e,v=B("(max-width: 500px)");return(0,H.jsx)(b,E(S({},i),{paperStyle:{minWidth:v?void 0:456,width:v?"90%":void 0},children:(0,H.jsxs)(A0,{children:[(0,H.jsxs)("div",{children:[(0,H.jsx)(P0,{children:e&&(0,H.jsx)("div",{children:s})}),(0,H.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:f.neutral[800]},children:[(0,H.jsx)(q.Typography,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),(0,H.jsx)(q.Typography,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)(q.Button,{fullWidth:!0,onClick:r,children:"Realizar login"}),(0,H.jsxs)(q.Button,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:f.neutral[900]},children:[(0,H.jsx)(q.LIcon,{icon:d1,size:"20px",removeMargin:!0,color:f.neutral[900]}),"Preciso de outro convite"]})]})]})}))}var r1=require("@s_mart/core");var B1=C(require("@emotion/styled"));var D0=B1.default.div`
256
+ `;var H=require("react/jsx-runtime");function x0({logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r,...i}){let n=typeof e=="string"?(0,H.jsx)("img",{src:e,alt:"Logo do sistema"}):e,l=O("(max-width: 500px)");return(0,H.jsx)(C,{...i,paperStyle:{minWidth:l?void 0:456,width:l?"90%":void 0},children:(0,H.jsxs)(V0,{children:[(0,H.jsxs)("div",{children:[(0,H.jsx)(b0,{children:e&&(0,H.jsx)("div",{children:n})}),(0,H.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:p.neutral[800]},children:[(0,H.jsx)(_.Typography,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),(0,H.jsx)(_.Typography,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)(_.Button,{fullWidth:!0,onClick:r,children:"Realizar login"}),(0,H.jsxs)(_.Button,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:p.neutral[900]},children:[(0,H.jsx)(_.LIcon,{icon:i1,size:"20px",removeMargin:!0,color:p.neutral[900]}),"Preciso de outro convite"]})]})]})})}var G=require("@s_mart/core");var D1=M(require("@emotion/styled"));var S0=D1.default.div`
257
257
  display: grid;
258
258
  gap: ${c(32)};
259
259
 
@@ -261,21 +261,21 @@
261
261
  display: grid;
262
262
  gap: ${c(16)};
263
263
  }
264
- `,R0=B1.default.header`
264
+ `,L0=D1.default.header`
265
265
  display: grid;
266
266
  text-align: center;
267
267
  gap: ${c(16)};
268
- `;var $=require("react/jsx-runtime");function O0(i){var n=i,{logo:e,onVoltarParaLogin:a}=n,r=k(n,["logo","onVoltarParaLogin"]);let l=typeof e=="string"?(0,$.jsx)("img",{src:e,alt:"Logo do sistema"}):e,s=B("(max-width: 500px)");return(0,$.jsx)(b,E(S({},r),{paperStyle:{maxWidth:s?void 0:456,width:s?"90%":void 0},children:(0,$.jsxs)(D0,{children:[(0,$.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,$.jsx)(R0,{children:e&&(0,$.jsx)("div",{children:l})}),(0,$.jsx)(r1.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,$.jsx)(r1.Typography,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),(0,$.jsx)(r1.Button,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}var w=require("@s_mart/core"),n1=require("@s_mart/form"),z0=require("@s_mart/rules");var K=C(require("@emotion/styled"));var F0=K.default.div`
268
+ `;var k=require("react/jsx-runtime");function E0({logo:e,onVoltarParaLogin:a,...r}){let i=typeof e=="string"?(0,k.jsx)("img",{src:e,alt:"Logo do sistema"}):e,n=O("(max-width: 500px)");return(0,k.jsx)(C,{...r,paperStyle:{maxWidth:n?void 0:456,width:n?"90%":void 0},children:(0,k.jsxs)(S0,{children:[(0,k.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,k.jsx)(L0,{children:e&&(0,k.jsx)("div",{children:i})}),(0,k.jsx)(G.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,k.jsx)(G.Typography,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),(0,k.jsx)(G.Button,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})})}var L=require("@s_mart/core"),J=require("@s_mart/form"),D0=require("@s_mart/rules");var j=M(require("@emotion/styled"));var k0=j.default.div`
269
269
  display: grid;
270
270
  gap: ${c(32)};
271
- `,I0=K.default.header`
271
+ `,T0=j.default.header`
272
272
  display: grid;
273
273
  text-align: center;
274
274
  gap: ${c(16)};
275
- `,_0=K.default.div`
275
+ `,w0=j.default.div`
276
276
  display: grid;
277
277
  gap: ${c(32)};
278
- `,N0=K.default.div`
278
+ `,A0=j.default.div`
279
279
  display: grid;
280
280
  gap: ${c(4)};
281
281
 
@@ -294,17 +294,17 @@
294
294
  display: grid;
295
295
  gap: ${c(4)};
296
296
  }
297
- `,B0=K.default.div`
297
+ `,P0=j.default.div`
298
298
  display: flex;
299
299
  flex-wrap: wrap;
300
300
  gap: ${c(8)};
301
- `,E1=K.default.div`
301
+ `,C1=j.default.div`
302
302
  display: flex;
303
303
  align-items: center;
304
304
  gap: ${c(4)};
305
305
 
306
- color: ${f.neutral[600]};
307
- border: 1px solid ${f.neutral[600]};
306
+ color: ${p.neutral[600]};
307
+ border: 1px solid ${p.neutral[600]};
308
308
  border-radius: ${c(4)};
309
309
  padding: ${c(3)} ${c(4)};
310
310
 
@@ -312,10 +312,10 @@
312
312
  vertical-align: middle;
313
313
 
314
314
  ${({checked:e})=>{if(e)return`
315
- color: ${f.green[300]};
316
- border-color: ${f.green[300]};
315
+ color: ${p.green[300]};
316
+ border-color: ${p.green[300]};
317
317
  `}}
318
- `;function q0(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!e(n.senha)||!a(n.senha)||!r(n.senha)}}var u=require("react/jsx-runtime");function j0(i){var n=i,{logo:e,onTrocarMinhaSenha:a}=n,r=k(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:l,senhaContemNumero:s,senhaContemMinimoDe6Caracteres:v,desabilitarBotaoDeCadastro:m}=q0(),p=typeof e=="string"?(0,u.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,u.jsx)(b,E(S({},r),{children:(0,u.jsxs)(F0,{children:[(0,u.jsxs)(I0,{children:[e&&(0,u.jsx)("div",{children:p}),(0,u.jsx)(w.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,u.jsx)(n1.Form,{onSubmit:a,children:({watch:Z})=>{let A=l(Z("senha")),X=s(Z("senha")),O=v(Z("senha"));return(0,u.jsxs)(_0,{children:[(0,u.jsxs)(N0,{children:[(0,u.jsxs)("div",{children:[(0,u.jsx)(n1.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:z0.required}),(0,u.jsx)(n1.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:V=>{if(!V)return"Campo obrigat\xF3rio";if(V!==Z("senha"))return"As senhas devem ser iguais"}}})]}),(0,u.jsxs)("div",{children:[(0,u.jsx)(w.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,u.jsxs)(B0,{children:[(0,u.jsxs)(E1,{checked:!!A,children:[A&&(0,u.jsx)(w.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,u.jsx)(w.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,u.jsxs)(E1,{checked:!!X,children:[X&&(0,u.jsx)(w.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,u.jsx)(w.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,u.jsxs)(E1,{checked:!!O,children:[O&&(0,u.jsx)(w.LIcon,{icon:_,size:"16px",removeMargin:!0}),(0,u.jsx)(w.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,u.jsx)("div",{children:(0,u.jsx)(w.Button,{type:"submit",fullWidth:!0,disabled:m(Z()),children:"Trocar minha senha"})})]})}})]})}))}var G=require("@s_mart/core");var k1=C(require("@emotion/styled"));var W0=k1.default.div`
318
+ `;function $0(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!e(n.senha)||!a(n.senha)||!r(n.senha)}}var d=require("react/jsx-runtime");function R0({logo:e,onTrocarMinhaSenha:a,...r}){let{senhaContemLetra:i,senhaContemNumero:n,senhaContemMinimoDe6Caracteres:l,desabilitarBotaoDeCadastro:u}=$0();return(0,d.jsx)(C,{...r,children:(0,d.jsxs)(k0,{children:[(0,d.jsxs)(T0,{children:[e&&(0,d.jsx)("div",{children:typeof e=="string"?(0,d.jsx)("img",{src:e,alt:"Logo do sistema"}):e}),(0,d.jsx)(L.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,d.jsx)(J.Form,{onSubmit:a,children:({watch:s})=>{let m=i(s("senha")),V=n(s("senha")),D=l(s("senha"));return(0,d.jsxs)(w0,{children:[(0,d.jsxs)(A0,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(J.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:D0.required}),(0,d.jsx)(J.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:T=>{if(!T)return"Campo obrigat\xF3rio";if(T!==s("senha"))return"As senhas devem ser iguais"}}})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(L.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,d.jsxs)(P0,{children:[(0,d.jsxs)(C1,{checked:!!m,children:[m&&(0,d.jsx)(L.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,d.jsx)(L.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,d.jsxs)(C1,{checked:!!V,children:[V&&(0,d.jsx)(L.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,d.jsx)(L.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,d.jsxs)(C1,{checked:!!D,children:[D&&(0,d.jsx)(L.LIcon,{icon:R,size:"16px",removeMargin:!0}),(0,d.jsx)(L.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,d.jsx)("div",{children:(0,d.jsx)(L.Button,{type:"submit",fullWidth:!0,disabled:u(s()),children:"Trocar minha senha"})})]})}})]})})}var X=require("@s_mart/core");var V1=M(require("@emotion/styled"));var F0=V1.default.div`
319
319
  display: grid;
320
320
  gap: ${c(32)};
321
321
 
@@ -323,11 +323,11 @@
323
323
  display: grid;
324
324
  gap: ${c(16)};
325
325
  }
326
- `,U0=k1.default.header`
326
+ `,O0=V1.default.header`
327
327
  display: grid;
328
328
  text-align: center;
329
329
  gap: ${c(16)};
330
- `,Y0=k1.default.div`
330
+ `,_0=V1.default.div`
331
331
  display: grid;
332
332
  gap: ${c(32)};
333
333
 
@@ -335,12 +335,12 @@
335
335
  display: grid;
336
336
  gap: ${c(16)};
337
337
  }
338
- `;var T1=require("@s_mart/form"),J=require("@s_mart/rules");var M=require("react/jsx-runtime");function K0(n){var l=n,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=l,i=k(l,["logo","onVoltarParaLogin","onConfirmar"]);let s=typeof e=="string"?(0,M.jsx)("img",{src:e,alt:"Logo do sistema"}):e,v=B("(max-width: 500px)");return(0,M.jsx)(b,E(S({},i),{paperStyle:{minWidth:v?void 0:456,width:v?"90%":void 0},children:(0,M.jsxs)(W0,{children:[(0,M.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,M.jsx)(U0,{children:e&&(0,M.jsx)("div",{children:s})}),(0,M.jsx)(G.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,M.jsx)(G.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,M.jsx)(T1.Form,{onSubmit:r,children:(0,M.jsxs)(Y0,{children:[(0,M.jsx)("div",{children:(0,M.jsx)(T1.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:(0,J.composeValidators)([J.required,J.email]),type:"email"})}),(0,M.jsxs)("div",{children:[(0,M.jsx)(G.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,M.jsx)(G.Button,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
338
+ `;var b1=require("@s_mart/form"),K=require("@s_mart/rules");var y=require("react/jsx-runtime");function B0({logo:e,onVoltarParaLogin:a,onConfirmar:r,...i}){let n=typeof e=="string"?(0,y.jsx)("img",{src:e,alt:"Logo do sistema"}):e,l=O("(max-width: 500px)");return(0,y.jsx)(C,{...i,paperStyle:{minWidth:l?void 0:456,width:l?"90%":void 0},children:(0,y.jsxs)(F0,{children:[(0,y.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,y.jsx)(O0,{children:e&&(0,y.jsx)("div",{children:n})}),(0,y.jsx)(X.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,y.jsx)(X.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,y.jsx)(b1.Form,{onSubmit:r,children:(0,y.jsxs)(_0,{children:[(0,y.jsx)("div",{children:(0,y.jsx)(b1.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:(0,K.composeValidators)([K.required,K.email]),type:"email"})}),(0,y.jsxs)("div",{children:[(0,y.jsx)(X.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,y.jsx)(X.Button,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})})}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
339
339
  /*! Bundled license information:
340
340
 
341
341
  @mui/styled-engine/index.js:
342
342
  (**
343
- * @mui/styled-engine v5.12.3
343
+ * @mui/styled-engine v5.14.6
344
344
  *
345
345
  * @license MIT
346
346
  * This source code is licensed under the MIT license found in the
@@ -349,7 +349,7 @@
349
349
 
350
350
  @mui/material/index.js:
351
351
  (**
352
- * @mui/material v5.12.3
352
+ * @mui/material v5.14.6
353
353
  *
354
354
  * @license MIT
355
355
  * This source code is licensed under the MIT license found in the
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=Object.getOwnPropertyDescriptor,p2=Object.getOwnPropertyDescriptors,f2=Object.getOwnPropertyNames,a1=Object.getOwnPropertySymbols,Z2=Object.getPrototypeOf,C1=Object.prototype.hasOwnProperty,F1=Object.prototype.propertyIsEnumerable;var O1=(e,a,r)=>a in e?M1(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,C=(e,a)=>{for(var r in a||(a={}))C1.call(a,r)&&O1(e,r,a[r]);if(a1)for(var r of a1(a))F1.call(a,r)&&O1(e,r,a[r]);return e},V=(e,a)=>m2(e,p2(a));var x=(e,a)=>{var r={};for(var i in e)C1.call(e,i)&&a.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&a1)for(var i of a1(e))a.indexOf(i)<0&&F1.call(e,i)&&(r[i]=e[i]);return r};var r1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var g2=(e,a,r,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of f2(a))!C1.call(e,n)&&n!==r&&M1(e,n,{get:()=>a[n],enumerable:!(i=u2(a,n))||i.enumerable});return e};var y2=(e,a,r)=>(r=e!=null?v2(Z2(e)):{},g2(a||!e||!e.__esModule?M1(r,"default",{value:e,enumerable:!0}):r,e));var G1=r1(s=>{"use strict";var Z=typeof Symbol=="function"&&Symbol.for,V1=Z?Symbol.for("react.element"):60103,x1=Z?Symbol.for("react.portal"):60106,t1=Z?Symbol.for("react.fragment"):60107,l1=Z?Symbol.for("react.strict_mode"):60108,o1=Z?Symbol.for("react.profiler"):60114,s1=Z?Symbol.for("react.provider"):60109,h1=Z?Symbol.for("react.context"):60110,S1=Z?Symbol.for("react.async_mode"):60111,d1=Z?Symbol.for("react.concurrent_mode"):60111,v1=Z?Symbol.for("react.forward_ref"):60112,m1=Z?Symbol.for("react.suspense"):60113,I2=Z?Symbol.for("react.suspense_list"):60120,u1=Z?Symbol.for("react.memo"):60115,p1=Z?Symbol.for("react.lazy"):60116,_2=Z?Symbol.for("react.block"):60121,N2=Z?Symbol.for("react.fundamental"):60117,B2=Z?Symbol.for("react.responder"):60118,q2=Z?Symbol.for("react.scope"):60119;function b(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case V1:switch(e=e.type,e){case S1:case d1:case t1:case o1:case l1:case m1:return e;default:switch(e=e&&e.$$typeof,e){case h1:case v1:case p1:case u1:case s1:return e;default:return a}}case x1:return a}}}function Q1(e){return b(e)===d1}s.AsyncMode=S1;s.ConcurrentMode=d1;s.ContextConsumer=h1;s.ContextProvider=s1;s.Element=V1;s.ForwardRef=v1;s.Fragment=t1;s.Lazy=p1;s.Memo=u1;s.Portal=x1;s.Profiler=o1;s.StrictMode=l1;s.Suspense=m1;s.isAsyncMode=function(e){return Q1(e)||b(e)===S1};s.isConcurrentMode=Q1;s.isContextConsumer=function(e){return b(e)===h1};s.isContextProvider=function(e){return b(e)===s1};s.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===V1};s.isForwardRef=function(e){return b(e)===v1};s.isFragment=function(e){return b(e)===t1};s.isLazy=function(e){return b(e)===p1};s.isMemo=function(e){return b(e)===u1};s.isPortal=function(e){return b(e)===x1};s.isProfiler=function(e){return b(e)===o1};s.isStrictMode=function(e){return b(e)===l1};s.isSuspense=function(e){return b(e)===m1};s.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===t1||e===d1||e===o1||e===l1||e===m1||e===I2||typeof e=="object"&&e!==null&&(e.$$typeof===p1||e.$$typeof===u1||e.$$typeof===s1||e.$$typeof===h1||e.$$typeof===v1||e.$$typeof===N2||e.$$typeof===B2||e.$$typeof===q2||e.$$typeof===_2)};s.typeOf=b});var J1=r1(h=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,v=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,A=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,X=e?Symbol.for("react.block"):60121,Q=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function _0(t){return typeof t=="string"||typeof t=="function"||t===i||t===m||t===l||t===n||t===E||t===_||typeof t=="object"&&t!==null&&(t.$$typeof===y||t.$$typeof===A||t.$$typeof===o||t.$$typeof===d||t.$$typeof===f||t.$$typeof===Q||t.$$typeof===G||t.$$typeof===J||t.$$typeof===X)}function M(t){if(typeof t=="object"&&t!==null){var y1=t.$$typeof;switch(y1){case a:var e1=t.type;switch(e1){case v:case m:case i:case l:case n:case E:return e1;default:var R1=e1&&e1.$$typeof;switch(R1){case d:case f:case y:case A:case o:return R1;default:return y1}}case r:return y1}}}var N0=v,B0=m,q0=d,z0=o,j0=a,W0=f,U0=i,Y0=y,K0=A,X0=r,Q0=l,G0=n,J0=E,$1=!1;function e2(t){return $1||($1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D1(t)||M(t)===v}function D1(t){return M(t)===m}function a2(t){return M(t)===d}function r2(t){return M(t)===o}function n2(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function i2(t){return M(t)===f}function c2(t){return M(t)===i}function t2(t){return M(t)===y}function l2(t){return M(t)===A}function o2(t){return M(t)===r}function s2(t){return M(t)===l}function h2(t){return M(t)===n}function d2(t){return M(t)===E}h.AsyncMode=N0,h.ConcurrentMode=B0,h.ContextConsumer=q0,h.ContextProvider=z0,h.Element=j0,h.ForwardRef=W0,h.Fragment=U0,h.Lazy=Y0,h.Memo=K0,h.Portal=X0,h.Profiler=Q0,h.StrictMode=G0,h.Suspense=J0,h.isAsyncMode=e2,h.isConcurrentMode=D1,h.isContextConsumer=a2,h.isContextProvider=r2,h.isElement=n2,h.isForwardRef=i2,h.isFragment=c2,h.isLazy=t2,h.isMemo=l2,h.isPortal=o2,h.isProfiler=s2,h.isStrictMode=h2,h.isSuspense=d2,h.isValidElementType=_0,h.typeOf=M}()});var e0=r1((me,L1)=>{"use strict";process.env.NODE_ENV==="production"?L1.exports=G1():L1.exports=J1()});var l0=r1((ue,t0)=>{"use strict";var E1=e0(),z2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},j2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},W2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},k1={};k1[E1.ForwardRef]=W2;k1[E1.Memo]=i0;function a0(e){return E1.isMemo(e)?i0:k1[e.$$typeof]||z2}var U2=Object.defineProperty,Y2=Object.getOwnPropertyNames,r0=Object.getOwnPropertySymbols,K2=Object.getOwnPropertyDescriptor,X2=Object.getPrototypeOf,n0=Object.prototype;function c0(e,a,r){if(typeof a!="string"){if(n0){var i=X2(a);i&&i!==n0&&c0(e,i,r)}var n=Y2(a);r0&&(n=n.concat(r0(a)));for(var l=a0(e),o=a0(a),d=0;d<n.length;++d){var v=n[d];if(!j2[v]&&!(r&&r[v])&&!(o&&o[v])&&!(l&&l[v])){var m=K2(a,v);try{U2(e,v,m)}catch(f){}}}}return e}t0.exports=c0});import{LIcon as A2,Typography as P2}from"@s_mart/core";import{telefone as $2}from"@s_mart/masks";var $={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var n1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;import q from"@emotion/styled";var M2=Object.defineProperty,C2=(e,a)=>{for(var r in a)M2(e,r,{get:a[r],enumerable:!0})},u={};C2(u,{blue:()=>b2,green:()=>L2,neutral:()=>w2,red:()=>x2,yellow:()=>k2});var H2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},b2=H2,V2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},x2=V2,S2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},L2=S2,E2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},k2=E2,T2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},w2=T2;var I1=q.div`
1
+ var i2=Object.create;var k1=Object.defineProperty;var t2=Object.getOwnPropertyDescriptor;var l2=Object.getOwnPropertyNames;var o2=Object.getPrototypeOf,s2=Object.prototype.hasOwnProperty;var K=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var h2=(e,a,r,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of l2(a))!s2.call(e,n)&&n!==r&&k1(e,n,{get:()=>a[n],enumerable:!(i=t2(a,n))||i.enumerable});return e};var v2=(e,a,r)=>(r=e!=null?i2(o2(e)):{},h2(a||!e||!e.__esModule?k1(r,"default",{value:e,enumerable:!0}):r,e));var q1=K(s=>{"use strict";var f=typeof Symbol=="function"&&Symbol.for,f1=f?Symbol.for("react.element"):60103,Z1=f?Symbol.for("react.portal"):60106,e1=f?Symbol.for("react.fragment"):60107,a1=f?Symbol.for("react.strict_mode"):60108,r1=f?Symbol.for("react.profiler"):60114,n1=f?Symbol.for("react.provider"):60109,c1=f?Symbol.for("react.context"):60110,g1=f?Symbol.for("react.async_mode"):60111,i1=f?Symbol.for("react.concurrent_mode"):60111,t1=f?Symbol.for("react.forward_ref"):60112,l1=f?Symbol.for("react.suspense"):60113,w2=f?Symbol.for("react.suspense_list"):60120,o1=f?Symbol.for("react.memo"):60115,s1=f?Symbol.for("react.lazy"):60116,A2=f?Symbol.for("react.block"):60121,P2=f?Symbol.for("react.fundamental"):60117,$2=f?Symbol.for("react.responder"):60118,D2=f?Symbol.for("react.scope"):60119;function H(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case f1:switch(e=e.type,e){case g1:case i1:case e1:case r1:case a1:case l1:return e;default:switch(e=e&&e.$$typeof,e){case c1:case t1:case s1:case o1:case n1:return e;default:return a}}case Z1:return a}}}function I1(e){return H(e)===i1}s.AsyncMode=g1;s.ConcurrentMode=i1;s.ContextConsumer=c1;s.ContextProvider=n1;s.Element=f1;s.ForwardRef=t1;s.Fragment=e1;s.Lazy=s1;s.Memo=o1;s.Portal=Z1;s.Profiler=r1;s.StrictMode=a1;s.Suspense=l1;s.isAsyncMode=function(e){return I1(e)||H(e)===g1};s.isConcurrentMode=I1;s.isContextConsumer=function(e){return H(e)===c1};s.isContextProvider=function(e){return H(e)===n1};s.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===f1};s.isForwardRef=function(e){return H(e)===t1};s.isFragment=function(e){return H(e)===e1};s.isLazy=function(e){return H(e)===s1};s.isMemo=function(e){return H(e)===o1};s.isPortal=function(e){return H(e)===Z1};s.isProfiler=function(e){return H(e)===r1};s.isStrictMode=function(e){return H(e)===a1};s.isSuspense=function(e){return H(e)===l1};s.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===e1||e===i1||e===r1||e===a1||e===l1||e===w2||typeof e=="object"&&e!==null&&(e.$$typeof===s1||e.$$typeof===o1||e.$$typeof===n1||e.$$typeof===c1||e.$$typeof===t1||e.$$typeof===P2||e.$$typeof===$2||e.$$typeof===D2||e.$$typeof===A2)};s.typeOf=H});var z1=K(h=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,o=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,k=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,$=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,Y=e?Symbol.for("react.fundamental"):60117,w0=e?Symbol.for("react.responder"):60118,A0=e?Symbol.for("react.scope"):60119;function P0(t){return typeof t=="string"||typeof t=="function"||t===i||t===v||t===l||t===n||t===k||t===S||typeof t=="object"&&t!==null&&(t.$$typeof===$||t.$$typeof===P||t.$$typeof===d||t.$$typeof===u||t.$$typeof===g||t.$$typeof===Y||t.$$typeof===w0||t.$$typeof===A0||t.$$typeof===j)}function y(t){if(typeof t=="object"&&t!==null){var m1=t.$$typeof;switch(m1){case a:var X=t.type;switch(X){case o:case v:case i:case l:case n:case k:return X;default:var E1=X&&X.$$typeof;switch(E1){case u:case g:case $:case P:case d:return E1;default:return m1}}case r:return m1}}}var $0=o,D0=v,R0=u,F0=d,O0=a,_0=g,B0=i,N0=$,I0=P,q0=r,z0=l,W0=n,U0=k,S1=!1;function j0(t){return S1||(S1=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L1(t)||y(t)===o}function L1(t){return y(t)===v}function Y0(t){return y(t)===u}function X0(t){return y(t)===d}function K0(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function Q0(t){return y(t)===g}function G0(t){return y(t)===i}function J0(t){return y(t)===$}function e2(t){return y(t)===P}function a2(t){return y(t)===r}function r2(t){return y(t)===l}function n2(t){return y(t)===n}function c2(t){return y(t)===k}h.AsyncMode=$0,h.ConcurrentMode=D0,h.ContextConsumer=R0,h.ContextProvider=F0,h.Element=O0,h.ForwardRef=_0,h.Fragment=B0,h.Lazy=N0,h.Memo=I0,h.Portal=q0,h.Profiler=z0,h.StrictMode=W0,h.Suspense=U0,h.isAsyncMode=j0,h.isConcurrentMode=L1,h.isContextConsumer=Y0,h.isContextProvider=X0,h.isElement=K0,h.isForwardRef=Q0,h.isFragment=G0,h.isLazy=J0,h.isMemo=e2,h.isPortal=a2,h.isProfiler=r2,h.isStrictMode=n2,h.isSuspense=c2,h.isValidElementType=P0,h.typeOf=y}()});var W1=K((c4,y1)=>{"use strict";process.env.NODE_ENV==="production"?y1.exports=q1():y1.exports=z1()});var G1=K((i4,Q1)=>{"use strict";var M1=W1(),R2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},F2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},O2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},X1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},H1={};H1[M1.ForwardRef]=O2;H1[M1.Memo]=X1;function U1(e){return M1.isMemo(e)?X1:H1[e.$$typeof]||R2}var _2=Object.defineProperty,B2=Object.getOwnPropertyNames,j1=Object.getOwnPropertySymbols,N2=Object.getOwnPropertyDescriptor,I2=Object.getPrototypeOf,Y1=Object.prototype;function K1(e,a,r){if(typeof a!="string"){if(Y1){var i=I2(a);i&&i!==Y1&&K1(e,i,r)}var n=B2(a);j1&&(n=n.concat(j1(a)));for(var l=U1(e),d=U1(a),u=0;u<n.length;++u){var o=n[u];if(!F2[o]&&!(r&&r[o])&&!(d&&d[o])&&!(l&&l[o])){var v=N2(a,o);try{_2(e,o,v)}catch{}}}}return e}Q1.exports=K1});import{LIcon as b2,Typography as x2}from"@s_mart/core";import{telefone as S2}from"@s_mart/masks";var T={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var Q={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;import B from"@emotion/styled";var d2=Object.defineProperty,m2=(e,a)=>{for(var r in a)d2(e,r,{get:a[r],enumerable:!0})},m={};m2(m,{blue:()=>p2,green:()=>y2,neutral:()=>V2,red:()=>Z2,yellow:()=>H2});var u2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},p2=u2,f2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},Z2=f2,g2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},y2=g2,M2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},H2=M2,C2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},V2=C2;var T1=B.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -18,7 +18,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
18
18
  @media (max-height: 600px) {
19
19
  justify-content: flex-start;
20
20
  }
21
- `,_1=q.div`
21
+ `,w1=B.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,7 +27,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,N1=q.h1`
30
+ `,A1=B.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
@@ -66,7 +66,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,B1=q.div`
69
+ `,P1=B.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
@@ -75,7 +75,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
75
75
  margin: ${c(16)};
76
76
 
77
77
  background-color: ${({theme:e})=>e.palette.common.white};
78
- `,q1=q.button`
78
+ `,$1=B.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
@@ -96,20 +96,20 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
96
96
  background-color: transparent;
97
97
 
98
98
  svg {
99
- color: ${u.green[300]};
99
+ color: ${m.green[300]};
100
100
  }
101
101
  }
102
- `;import{jsx as z,jsxs as H1}from"react/jsx-runtime";function H({children:e,whatsapp:a,textoChamativo:r,style:i,paperStyle:n,ilustracao:l}){return H1(I1,{style:i,children:[r&&z(N1,{children:r}),l&&z(_1,{children:typeof l=="string"?z("img",{src:l,alt:"Logo do sistema"}):l}),z(B1,{style:n,children:e}),a&&H1(q1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[H1(P2,{variant:"bodyXS",children:["Com d\xFAvidas? ",$2.format(a.slice(2))]}),z(A2,{icon:n1,size:"20px",removeMargin:!0})]})]})}import{Button as D2,LIcon as b1,Typography as j}from"@s_mart/core";import{Checkbox as R2,Form as O2,TextField as c1}from"@s_mart/form";import{required as X1}from"@s_mart/rules";import N from"@emotion/styled";var z1=N.div`
102
+ `;import{jsx as N,jsxs as u1}from"react/jsx-runtime";function M({children:e,whatsapp:a,textoChamativo:r,style:i,paperStyle:n,ilustracao:l}){return u1(T1,{style:i,children:[r&&N(A1,{children:r}),l&&N(w1,{children:typeof l=="string"?N("img",{src:l,alt:"Logo do sistema"}):l}),N(P1,{style:n,children:e}),a&&u1($1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[u1(x2,{variant:"bodyXS",children:["Com d\xFAvidas? ",S2.format(a.slice(2))]}),N(b2,{icon:Q,size:"20px",removeMargin:!0})]})]})}import{Button as L2,LIcon as p1,Typography as I}from"@s_mart/core";import{Checkbox as E2,Form as k2,TextField as J}from"@s_mart/form";import{required as N1}from"@s_mart/rules";import O from"@emotion/styled";var D1=O.div`
103
103
  display: grid;
104
104
  gap: ${c(32)};
105
- `,j1=N.header`
105
+ `,R1=O.header`
106
106
  display: grid;
107
107
  text-align: center;
108
108
  gap: ${c(16)};
109
- `,W1=N.div`
109
+ `,F1=O.div`
110
110
  display: grid;
111
111
  gap: ${c(32)};
112
- `,U1=N.div`
112
+ `,O1=O.div`
113
113
  display: grid;
114
114
  gap: ${c(4)};
115
115
 
@@ -128,17 +128,17 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
128
128
  display: grid;
129
129
  gap: ${c(4)};
130
130
  }
131
- `,Y1=N.div`
131
+ `,_1=O.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
134
  gap: ${c(8)};
135
- `,i1=N.div`
135
+ `,G=O.div`
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: ${c(4)};
139
139
 
140
- color: ${u.neutral[600]};
141
- border: 1px solid ${u.neutral[600]};
140
+ color: ${m.neutral[600]};
141
+ border: 1px solid ${m.neutral[600]};
142
142
  border-radius: ${c(4)};
143
143
  padding: ${c(3)} ${c(4)};
144
144
 
@@ -146,10 +146,10 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
146
146
  vertical-align: middle;
147
147
 
148
148
  ${({checked:e})=>{if(e)return`
149
- color: ${u.green[300]};
150
- border-color: ${u.green[300]};
149
+ color: ${m.green[300]};
150
+ border-color: ${m.green[300]};
151
151
  `}}
152
- `;function K1(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!e(n.senha)||!a(n.senha)||!r(n.senha)}}import{jsx as p,jsxs as S}from"react/jsx-runtime";function F2(d){var v=d,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:i,email:n,nome:l}=v,o=x(v,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:m,senhaContemNumero:f,senhaContemMinimoDe6Caracteres:E,desabilitarBotaoDeCadastro:_}=K1(),A=typeof e=="string"?p("img",{src:e,alt:"Logo do sistema"}):e;return p(H,V(C({},o),{children:S(z1,{children:[S(j1,{children:[e&&p("div",{children:A}),S(j,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),p(O2,{onSubmit:r,defaultValues:{email:n,nome:l,termosDeUso:!1},children:({watch:y})=>{let X=m(y("senha")),Q=f(y("senha")),G=E(y("senha"));return S(W1,{children:[p(c1,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),p(c1,{name:"nome",label:"Nome completo",required:!0,rules:X1}),S(U1,{children:[S("div",{children:[p(c1,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:X1}),p(c1,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:J=>{if(!J)return"Campo obrigat\xF3rio";if(J!==y("senha"))return"As senhas devem ser iguais"}}})]}),S("div",{children:[p(j,{variant:"bodyXS",children:"Sua senha precisa conter:"}),S(Y1,{children:[S(i1,{checked:!!X,children:[X&&p(b1,{icon:$,size:"16px",removeMargin:!0}),p(j,{variant:"bodyXS",children:"Uma letra"})]}),S(i1,{checked:!!Q,children:[Q&&p(b1,{icon:$,size:"16px",removeMargin:!0}),p(j,{variant:"bodyXS",children:"Um n\xFAmero"})]}),S(i1,{checked:!!G,children:[G&&p(b1,{icon:$,size:"16px",removeMargin:!0}),p(j,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),p("div",{children:p(R2,{name:"termosDeUso",label:S("div",{style:{display:"flex",gap:4},children:[p("span",{children:"Li e aceito os"}),p("a",{href:i,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),p("div",{children:p(D2,{type:"submit",fullWidth:!0,disabled:_(y()),children:"Concluir meu cadastro"})})]})}})]})}))}import{useMemo as m3}from"react";import{Button as p0,Indicator as u3,Typography as p3}from"@s_mart/core";import{Checkbox as f3,Form as Z3,TextField as f0}from"@s_mart/form";import{composeValidators as g3,required as Z0,email as y3}from"@s_mart/rules";import{useEffect as J2,useState as e3}from"react";import Fe from"react";import Ze,{forwardRef as ge,useRef as ye,useCallback as Me,useLayoutEffect as Ce,useEffect as He,createElement as be,useState as Ve,Component as xe,useContext as Se}from"react";import{createPortal as Ee}from"react-dom";var Q2=y2(l0());var G2="SnackbarContent",Te={root:G2+"-root"};var P="SnackbarItem",we={contentRoot:P+"-contentRoot",lessPadding:P+"-lessPadding",variantSuccess:P+"-variantSuccess",variantError:P+"-variantError",variantInfo:P+"-variantInfo",variantWarning:P+"-variantWarning",message:P+"-message",action:P+"-action",wrappedRoot:P+"-wrappedRoot"};var O="SnackbarContainer",Ae={root:O+"-root",rootDense:O+"-rootDense",top:O+"-top",bottom:O+"-bottom",left:O+"-left",right:O+"-right",center:O+"-center"};var Pe=process.env.NODE_ENV!=="production";import T1 from"@emotion/styled";import a3 from"@emotion/styled";import{css as F}from"@emotion/react";import{jsx as Qe}from"react/jsx-runtime";import{Fragment as Je,jsx as e4}from"react/jsx-runtime";import{Fragment as r4,jsx as n4,jsxs as i4}from"react/jsx-runtime";import{useEffect as t4,useRef as l4}from"react";import*as f1 from"react";import"@emotion/styled";import{ThemeContext as i3}from"@emotion/react";import*as h0 from"react";import*as k from"react";var o0=()=>{let[e,a]=e3(!1);return J2(()=>{let r=i=>{i.key==="CapsLock"&&a(i.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var qe=T1.div`
152
+ `;function B1(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!e(n.senha)||!a(n.senha)||!r(n.senha)}}import{jsx as p,jsxs as C}from"react/jsx-runtime";function T2({logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:i,email:n,nome:l,...d}){let{senhaContemLetra:u,senhaContemNumero:o,senhaContemMinimoDe6Caracteres:v,desabilitarBotaoDeCadastro:g}=B1();return p(M,{...d,children:C(D1,{children:[C(R1,{children:[e&&p("div",{children:typeof e=="string"?p("img",{src:e,alt:"Logo do sistema"}):e}),C(I,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),p(k2,{onSubmit:r,defaultValues:{email:n,nome:l,termosDeUso:!1},children:({watch:S})=>{let P=u(S("senha")),$=o(S("senha")),j=v(S("senha"));return C(F1,{children:[p(J,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),p(J,{name:"nome",label:"Nome completo",required:!0,rules:N1}),C(O1,{children:[C("div",{children:[p(J,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:N1}),p(J,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:Y=>{if(!Y)return"Campo obrigat\xF3rio";if(Y!==S("senha"))return"As senhas devem ser iguais"}}})]}),C("div",{children:[p(I,{variant:"bodyXS",children:"Sua senha precisa conter:"}),C(_1,{children:[C(G,{checked:!!P,children:[P&&p(p1,{icon:T,size:"16px",removeMargin:!0}),p(I,{variant:"bodyXS",children:"Uma letra"})]}),C(G,{checked:!!$,children:[$&&p(p1,{icon:T,size:"16px",removeMargin:!0}),p(I,{variant:"bodyXS",children:"Um n\xFAmero"})]}),C(G,{checked:!!j,children:[j&&p(p1,{icon:T,size:"16px",removeMargin:!0}),p(I,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),p("div",{children:p(E2,{name:"termosDeUso",label:C("div",{style:{display:"flex",gap:4},children:[p("span",{children:"Li e aceito os"}),p("a",{href:i,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),p("div",{children:p(L2,{type:"submit",fullWidth:!0,disabled:g(S()),children:"Concluir meu cadastro"})})]})}})]})})}import{useMemo as i3}from"react";import{Button as t0,Indicator as t3,Typography as l3}from"@s_mart/core";import{Checkbox as o3,Form as s3,TextField as l0}from"@s_mart/form";import{composeValidators as h3,required as o0,email as v3}from"@s_mart/rules";import{useEffect as W2,useState as U2}from"react";import k4 from"react";import o4,{forwardRef as s4,useRef as h4,useCallback as v4,useLayoutEffect as d4,useEffect as m4,createElement as u4,useState as p4,Component as f4,useContext as Z4}from"react";import{createPortal as y4}from"react-dom";var q2=v2(G1());var z2="SnackbarContent",H4={root:z2+"-root"};var E="SnackbarItem",C4={contentRoot:E+"-contentRoot",lessPadding:E+"-lessPadding",variantSuccess:E+"-variantSuccess",variantError:E+"-variantError",variantInfo:E+"-variantInfo",variantWarning:E+"-variantWarning",message:E+"-message",action:E+"-action",wrappedRoot:E+"-wrappedRoot"};var D="SnackbarContainer",V4={root:D+"-root",rootDense:D+"-rootDense",top:D+"-top",bottom:D+"-bottom",left:D+"-left",right:D+"-right",center:D+"-center"};var b4=process.env.NODE_ENV!=="production";import C1 from"@emotion/styled";import j2 from"@emotion/styled";import{css as R}from"@emotion/react";import{jsx as I4}from"react/jsx-runtime";import{Fragment as z4,jsx as W4}from"react/jsx-runtime";import{Fragment as j4,jsx as Y4,jsxs as X4}from"react/jsx-runtime";import{useEffect as Q4,useRef as G4}from"react";import*as h1 from"react";import"@emotion/styled";import{ThemeContext as K2}from"@emotion/react";import*as a0 from"react";import*as b from"react";var J1=()=>{let[e,a]=U2(!1);return W2(()=>{let r=i=>{i.key==="CapsLock"&&a(i.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var $4=C1.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
@@ -162,14 +162,14 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
162
162
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);
163
163
 
164
164
  border-left: 6px solid
165
- ${({variant:e})=>{switch(e){case"error":return u.red[300];case"warning":return u.yellow[300];case"info":return u.blue[100];default:case"success":return u.green[300]}}};
165
+ ${({variant:e})=>{switch(e){case"error":return m.red[300];case"warning":return m.yellow[300];case"info":return m.blue[100];default:case"success":return m.green[300]}}};
166
166
 
167
167
  > div {
168
168
  display: flex;
169
169
  align-items: center;
170
170
  gap: ${c(8)};
171
171
  }
172
- `,ze=T1.div`
172
+ `,D4=C1.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
@@ -177,10 +177,10 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
177
177
  > *:first-of-type {
178
178
  margin-bottom: ${c(4)};
179
179
  }
180
- `,je=T1.div`
180
+ `,R4=C1.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,Ke=a3.i`
183
+ `,B4=j2.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:e})=>e};
@@ -191,23 +191,23 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
194
+ ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&R`
195
195
  left: ${e};
196
196
  `}
197
197
 
198
- ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
198
+ ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&R`
199
199
  right: ${e};
200
200
  `}
201
201
 
202
- ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
202
+ ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&R`
203
203
  top: ${e};
204
204
  `}
205
205
 
206
- ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
206
+ ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&R`
207
207
  bottom: ${e};
208
208
  `}
209
209
 
210
- ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),F`
210
+ ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),R`
211
211
  fill: ${a};
212
212
  `}}
213
213
  position: relative;
@@ -215,21 +215,21 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
215
215
  height: ${({height:e})=>e} !important;
216
216
  width: ${({width:e})=>e} !important;
217
217
 
218
- ${({removeMargin:e})=>e?F`
218
+ ${({removeMargin:e})=>e?R`
219
219
  margin: 0;
220
- `:F`
220
+ `:R`
221
221
  margin: 0 ${c(4)};
222
222
  `}
223
223
  }
224
- `;function W(){return W=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},W.apply(this,arguments)}var r3=typeof window!="undefined"?f1.useLayoutEffect:f1.useEffect,n3=r3;function s0(e,a){let r=W({},a);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=W({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let n=e[i]||{},l=a[i];r[i]={},!l||!Object.keys(l)?r[i]=n:!n||!Object.keys(n)?r[i]=l:(r[i]=W({},l),Object.keys(n).forEach(o=>{r[i][o]=s0(n[o],l[o])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function c3(e){return Object.keys(e).length===0}function t3(e=null){let a=h0.useContext(i3);return!a||c3(a)?e:a}var l3=t3;function o3(e){let{theme:a,name:r,props:i}=e;return!a||!a.components||!a.components[r]||!a.components[r].defaultProps?i:s0(a.components[r].defaultProps,i)}var s3=n3;function h3(e,a,r,i,n){let[l,o]=k.useState(()=>n&&r?r(e).matches:i?i(e).matches:a);return s3(()=>{let d=!0;if(!r)return;let v=r(e),m=()=>{d&&o(v.matches)};return m(),v.addListener(m),()=>{d=!1,v.removeListener(m)}},[e,r]),l}var d0=k.useSyncExternalStore;function d3(e,a,r,i,n){let l=k.useCallback(()=>a,[a]),o=k.useMemo(()=>{if(n&&r)return()=>r(e).matches;if(i!==null){let{matches:m}=i(e);return()=>m}return l},[l,e,i,n,r]),[d,v]=k.useMemo(()=>{if(r===null)return[l,()=>()=>{}];let m=r(e);return[()=>m.matches,f=>(m.addListener(f),()=>{m.removeListener(f)})]},[l,r,e]);return d0(v,d,o)}function v3(e,a={}){let r=l3(),i=typeof window!="undefined"&&typeof window.matchMedia!="undefined",{defaultMatches:n=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:o=null,noSsr:d=!1}=o3({name:"MuiUseMediaQuery",props:a,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
225
- `));let v=typeof e=="function"?e(r):e;v=v.replace(/^@media( ?)/m,"");let m=(d0!==void 0?d3:h3)(v,n,l,o,d);return process.env.NODE_ENV!=="production"&&k.useDebugValue({query:v,match:m}),m}var D=(e,a)=>v3(e,a);import w1 from"@emotion/styled";var v0=w1.div`
224
+ `;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},q.apply(this,arguments)}var Y2=typeof window<"u"?h1.useLayoutEffect:h1.useEffect,X2=Y2;function e0(e,a){let r=q({},a);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=q({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let n=e[i]||{},l=a[i];r[i]={},!l||!Object.keys(l)?r[i]=n:!n||!Object.keys(n)?r[i]=l:(r[i]=q({},l),Object.keys(n).forEach(d=>{r[i][d]=e0(n[d],l[d])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function Q2(e){return Object.keys(e).length===0}function G2(e=null){let a=a0.useContext(K2);return!a||Q2(a)?e:a}var J2=G2;function e3(e){let{theme:a,name:r,props:i}=e;return!a||!a.components||!a.components[r]||!a.components[r].defaultProps?i:e0(a.components[r].defaultProps,i)}var a3=X2;function r3(e,a,r,i,n){let[l,d]=b.useState(()=>n&&r?r(e).matches:i?i(e).matches:a);return a3(()=>{let u=!0;if(!r)return;let o=r(e),v=()=>{u&&d(o.matches)};return v(),o.addListener(v),()=>{u=!1,o.removeListener(v)}},[e,r]),l}var r0=b.useSyncExternalStore;function n3(e,a,r,i,n){let l=b.useCallback(()=>a,[a]),d=b.useMemo(()=>{if(n&&r)return()=>r(e).matches;if(i!==null){let{matches:v}=i(e);return()=>v}return l},[l,e,i,n,r]),[u,o]=b.useMemo(()=>{if(r===null)return[l,()=>()=>{}];let v=r(e);return[()=>v.matches,g=>(v.addListener(g),()=>{v.removeListener(g)})]},[l,r,e]);return r0(o,u,d)}function c3(e,a={}){let r=J2(),i=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:n=!1,matchMedia:l=i?window.matchMedia:null,ssrMatchMedia:d=null,noSsr:u=!1}=e3({name:"MuiUseMediaQuery",props:a,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
225
+ `));let o=typeof e=="function"?e(r):e;o=o.replace(/^@media( ?)/m,"");let v=(r0!==void 0?n3:r3)(o,n,l,d,u);return process.env.NODE_ENV!=="production"&&b.useDebugValue({query:o,match:v}),v}var w=(e,a)=>c3(e,a);import V1 from"@emotion/styled";var n0=V1.div`
226
226
  display: grid;
227
227
  gap: ${c(32)};
228
- `,m0=w1.header`
228
+ `,c0=V1.header`
229
229
  display: grid;
230
230
  text-align: center;
231
231
  gap: ${c(16)};
232
- `,u0=w1.div`
232
+ `,i0=V1.div`
233
233
  display: grid;
234
234
  gap: ${c(16)};
235
235
 
@@ -241,7 +241,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
241
241
  > div:last-of-type {
242
242
  gap: ${c(8)};
243
243
  }
244
- `;import{jsx as L,jsxs as U}from"react/jsx-runtime";function M3(o){var d=o,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:i,errorLabel:n}=d,l=x(d,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let v=typeof e=="string"?L("img",{src:e,alt:"Logo do sistema"}):e,m=o0(),f=D("(max-width: 500px)"),E=m3(()=>C({manterConectado:!1},a),[a]);return L(H,V(C({},l),{paperStyle:{minWidth:f?void 0:456,width:f?"90%":void 0},children:U(v0,{children:[L(m0,{children:e&&L("div",{children:v})}),L(Z3,{onSubmit:r,defaultValues:E,children:U(u0,{children:[U("div",{children:[L(f0,{name:"email",label:"E-mail de acesso",required:!0,rules:g3([Z0,y3]),autoComplete:"email",type:"email"}),U("div",{children:[L(f0,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:Z0}),m&&L(u3,{severity:"warning",children:"Capslock ativado"}),!!n&&L(p3,{variant:"titleXXS",color:u.red[300],children:n})]})]}),L(f3,{name:"manterConectado",label:"Manter conectado"}),U("div",{children:[L(p0,{type:"submit",fullWidth:!0,children:"Entrar"}),i&&L(p0,{type:"button",fullWidth:!0,variant:"text",onClick:i,children:"Esqueci minha senha"})]})]})})]})}))}import{Button as C0,LIcon as C3,Typography as H0}from"@s_mart/core";import g0 from"@emotion/styled";var y0=g0.div`
244
+ `;import{jsx as V,jsxs as z}from"react/jsx-runtime";function d3({logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:i,errorLabel:n,...l}){let d=typeof e=="string"?V("img",{src:e,alt:"Logo do sistema"}):e,u=J1(),o=w("(max-width: 500px)"),v=i3(()=>({manterConectado:!1,...a}),[a]);return V(M,{...l,paperStyle:{minWidth:o?void 0:456,width:o?"90%":void 0},children:z(n0,{children:[V(c0,{children:e&&V("div",{children:d})}),V(s3,{onSubmit:r,defaultValues:v,children:z(i0,{children:[z("div",{children:[V(l0,{name:"email",label:"E-mail de acesso",required:!0,rules:h3([o0,v3]),autoComplete:"email",type:"email"}),z("div",{children:[V(l0,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:o0}),u&&V(t3,{severity:"warning",children:"Capslock ativado"}),!!n&&V(l3,{variant:"titleXXS",color:m.red[300],children:n})]})]}),V(o3,{name:"manterConectado",label:"Manter conectado"}),z("div",{children:[V(t0,{type:"submit",fullWidth:!0,children:"Entrar"}),i&&V(t0,{type:"button",fullWidth:!0,variant:"text",onClick:i,children:"Esqueci minha senha"})]})]})})]})})}import{Button as d0,LIcon as m3,Typography as m0}from"@s_mart/core";import s0 from"@emotion/styled";var h0=s0.div`
245
245
  display: grid;
246
246
  gap: ${c(32)};
247
247
 
@@ -249,11 +249,11 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
249
249
  display: grid;
250
250
  gap: ${c(8)};
251
251
  }
252
- `,M0=g0.header`
252
+ `,v0=s0.header`
253
253
  display: grid;
254
254
  text-align: center;
255
255
  gap: ${c(16)};
256
- `;import{jsx as R,jsxs as Y}from"react/jsx-runtime";function H3(n){var l=n,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=l,i=x(l,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let o=typeof e=="string"?R("img",{src:e,alt:"Logo do sistema"}):e,d=D("(max-width: 500px)");return R(H,V(C({},i),{paperStyle:{minWidth:d?void 0:456,width:d?"90%":void 0},children:Y(y0,{children:[Y("div",{children:[R(M0,{children:e&&R("div",{children:o})}),Y("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:u.neutral[800]},children:[R(H0,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),R(H0,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),Y("div",{children:[R(C0,{fullWidth:!0,onClick:r,children:"Realizar login"}),Y(C0,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:u.neutral[900]},children:[R(C3,{icon:n1,size:"20px",removeMargin:!0,color:u.neutral[900]}),"Preciso de outro convite"]})]})]})}))}import{Button as b3,Typography as S0}from"@s_mart/core";import b0 from"@emotion/styled";var V0=b0.div`
256
+ `;import{jsx as A,jsxs as W}from"react/jsx-runtime";function u3({logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r,...i}){let n=typeof e=="string"?A("img",{src:e,alt:"Logo do sistema"}):e,l=w("(max-width: 500px)");return A(M,{...i,paperStyle:{minWidth:l?void 0:456,width:l?"90%":void 0},children:W(h0,{children:[W("div",{children:[A(v0,{children:e&&A("div",{children:n})}),W("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:m.neutral[800]},children:[A(m0,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),A(m0,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),W("div",{children:[A(d0,{fullWidth:!0,onClick:r,children:"Realizar login"}),W(d0,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:m.neutral[900]},children:[A(m3,{icon:Q,size:"20px",removeMargin:!0,color:m.neutral[900]}),"Preciso de outro convite"]})]})]})})}import{Button as p3,Typography as Z0}from"@s_mart/core";import u0 from"@emotion/styled";var p0=u0.div`
257
257
  display: grid;
258
258
  gap: ${c(32)};
259
259
 
@@ -261,21 +261,21 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
261
261
  display: grid;
262
262
  gap: ${c(16)};
263
263
  }
264
- `,x0=b0.header`
264
+ `,f0=u0.header`
265
265
  display: grid;
266
266
  text-align: center;
267
267
  gap: ${c(16)};
268
- `;import{jsx as I,jsxs as L0}from"react/jsx-runtime";function V3(i){var n=i,{logo:e,onVoltarParaLogin:a}=n,r=x(n,["logo","onVoltarParaLogin"]);let l=typeof e=="string"?I("img",{src:e,alt:"Logo do sistema"}):e,o=D("(max-width: 500px)");return I(H,V(C({},r),{paperStyle:{maxWidth:o?void 0:456,width:o?"90%":void 0},children:L0(V0,{children:[L0("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[I(x0,{children:e&&I("div",{children:l})}),I(S0,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),I(S0,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),I(b3,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}import{Button as x3,LIcon as A1,Typography as K}from"@s_mart/core";import{Form as S3,TextField as $0}from"@s_mart/form";import{required as L3}from"@s_mart/rules";import B from"@emotion/styled";var E0=B.div`
268
+ `;import{jsx as F,jsxs as g0}from"react/jsx-runtime";function f3({logo:e,onVoltarParaLogin:a,...r}){let i=typeof e=="string"?F("img",{src:e,alt:"Logo do sistema"}):e,n=w("(max-width: 500px)");return F(M,{...r,paperStyle:{maxWidth:n?void 0:456,width:n?"90%":void 0},children:g0(p0,{children:[g0("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[F(f0,{children:e&&F("div",{children:i})}),F(Z0,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),F(Z0,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),F(p3,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})})}import{Button as Z3,LIcon as b1,Typography as U}from"@s_mart/core";import{Form as g3,TextField as x0}from"@s_mart/form";import{required as y3}from"@s_mart/rules";import _ from"@emotion/styled";var y0=_.div`
269
269
  display: grid;
270
270
  gap: ${c(32)};
271
- `,k0=B.header`
271
+ `,M0=_.header`
272
272
  display: grid;
273
273
  text-align: center;
274
274
  gap: ${c(16)};
275
- `,T0=B.div`
275
+ `,H0=_.div`
276
276
  display: grid;
277
277
  gap: ${c(32)};
278
- `,w0=B.div`
278
+ `,C0=_.div`
279
279
  display: grid;
280
280
  gap: ${c(4)};
281
281
 
@@ -294,17 +294,17 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
294
294
  display: grid;
295
295
  gap: ${c(4)};
296
296
  }
297
- `,A0=B.div`
297
+ `,V0=_.div`
298
298
  display: flex;
299
299
  flex-wrap: wrap;
300
300
  gap: ${c(8)};
301
- `,Z1=B.div`
301
+ `,v1=_.div`
302
302
  display: flex;
303
303
  align-items: center;
304
304
  gap: ${c(4)};
305
305
 
306
- color: ${u.neutral[600]};
307
- border: 1px solid ${u.neutral[600]};
306
+ color: ${m.neutral[600]};
307
+ border: 1px solid ${m.neutral[600]};
308
308
  border-radius: ${c(4)};
309
309
  padding: ${c(3)} ${c(4)};
310
310
 
@@ -312,10 +312,10 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
312
312
  vertical-align: middle;
313
313
 
314
314
  ${({checked:e})=>{if(e)return`
315
- color: ${u.green[300]};
316
- border-color: ${u.green[300]};
315
+ color: ${m.green[300]};
316
+ border-color: ${m.green[300]};
317
317
  `}}
318
- `;function P0(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!e(n.senha)||!a(n.senha)||!r(n.senha)}}import{jsx as g,jsxs as w}from"react/jsx-runtime";function E3(i){var n=i,{logo:e,onTrocarMinhaSenha:a}=n,r=x(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:l,senhaContemNumero:o,senhaContemMinimoDe6Caracteres:d,desabilitarBotaoDeCadastro:v}=P0(),m=typeof e=="string"?g("img",{src:e,alt:"Logo do sistema"}):e;return g(H,V(C({},r),{children:w(E0,{children:[w(k0,{children:[e&&g("div",{children:m}),g(K,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),g(S3,{onSubmit:a,children:({watch:f})=>{let E=l(f("senha")),_=o(f("senha")),A=d(f("senha"));return w(T0,{children:[w(w0,{children:[w("div",{children:[g($0,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:L3}),g($0,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:y=>{if(!y)return"Campo obrigat\xF3rio";if(y!==f("senha"))return"As senhas devem ser iguais"}}})]}),w("div",{children:[g(K,{variant:"bodyXS",children:"Sua senha precisa conter:"}),w(A0,{children:[w(Z1,{checked:!!E,children:[E&&g(A1,{icon:$,size:"16px",removeMargin:!0}),g(K,{variant:"bodyXS",children:"Uma letra"})]}),w(Z1,{checked:!!_,children:[_&&g(A1,{icon:$,size:"16px",removeMargin:!0}),g(K,{variant:"bodyXS",children:"Um n\xFAmero"})]}),w(Z1,{checked:!!A,children:[A&&g(A1,{icon:$,size:"16px",removeMargin:!0}),g(K,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),g("div",{children:g(x3,{type:"submit",fullWidth:!0,disabled:v(f()),children:"Trocar minha senha"})})]})}})]})}))}import{Button as F0,Typography as I0}from"@s_mart/core";import P1 from"@emotion/styled";var D0=P1.div`
318
+ `;function b0(){let e=n=>n?n.match(/[a-z]/i):!1,a=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!e(n.senha)||!a(n.senha)||!r(n.senha)}}import{jsx as Z,jsxs as L}from"react/jsx-runtime";function M3({logo:e,onTrocarMinhaSenha:a,...r}){let{senhaContemLetra:i,senhaContemNumero:n,senhaContemMinimoDe6Caracteres:l,desabilitarBotaoDeCadastro:d}=b0();return Z(M,{...r,children:L(y0,{children:[L(M0,{children:[e&&Z("div",{children:typeof e=="string"?Z("img",{src:e,alt:"Logo do sistema"}):e}),Z(U,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),Z(g3,{onSubmit:a,children:({watch:o})=>{let v=i(o("senha")),g=n(o("senha")),k=l(o("senha"));return L(H0,{children:[L(C0,{children:[L("div",{children:[Z(x0,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:y3}),Z(x0,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:S=>{if(!S)return"Campo obrigat\xF3rio";if(S!==o("senha"))return"As senhas devem ser iguais"}}})]}),L("div",{children:[Z(U,{variant:"bodyXS",children:"Sua senha precisa conter:"}),L(V0,{children:[L(v1,{checked:!!v,children:[v&&Z(b1,{icon:T,size:"16px",removeMargin:!0}),Z(U,{variant:"bodyXS",children:"Uma letra"})]}),L(v1,{checked:!!g,children:[g&&Z(b1,{icon:T,size:"16px",removeMargin:!0}),Z(U,{variant:"bodyXS",children:"Um n\xFAmero"})]}),L(v1,{checked:!!k,children:[k&&Z(b1,{icon:T,size:"16px",removeMargin:!0}),Z(U,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),Z("div",{children:Z(Z3,{type:"submit",fullWidth:!0,disabled:d(o()),children:"Trocar minha senha"})})]})}})]})})}import{Button as k0,Typography as T0}from"@s_mart/core";import x1 from"@emotion/styled";var S0=x1.div`
319
319
  display: grid;
320
320
  gap: ${c(32)};
321
321
 
@@ -323,11 +323,11 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
323
323
  display: grid;
324
324
  gap: ${c(16)};
325
325
  }
326
- `,R0=P1.header`
326
+ `,L0=x1.header`
327
327
  display: grid;
328
328
  text-align: center;
329
329
  gap: ${c(16)};
330
- `,O0=P1.div`
330
+ `,E0=x1.div`
331
331
  display: grid;
332
332
  gap: ${c(32)};
333
333
 
@@ -335,12 +335,12 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
335
335
  display: grid;
336
336
  gap: ${c(16)};
337
337
  }
338
- `;import{Form as k3,TextField as T3}from"@s_mart/form";import{composeValidators as w3,email as A3,required as P3}from"@s_mart/rules";import{jsx as T,jsxs as g1}from"react/jsx-runtime";function $3(n){var l=n,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=l,i=x(l,["logo","onVoltarParaLogin","onConfirmar"]);let o=typeof e=="string"?T("img",{src:e,alt:"Logo do sistema"}):e,d=D("(max-width: 500px)");return T(H,V(C({},i),{paperStyle:{minWidth:d?void 0:456,width:d?"90%":void 0},children:g1(D0,{children:[g1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[T(R0,{children:e&&T("div",{children:o})}),T(I0,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),T(I0,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),T(k3,{onSubmit:r,children:g1(O0,{children:[T("div",{children:T(T3,{name:"email",label:"E-mail de acesso",required:!0,rules:w3([P3,A3]),type:"email"})}),g1("div",{children:[T(F0,{fullWidth:!0,type:"submit",children:"Confirmar"}),T(F0,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}export{F2 as TelaCadastro,H3 as TelaConviteExpirado,$3 as TelaEsqueceuSenha,V3 as TelaInstrucoesEnviadas,M3 as TelaLogin,E3 as TelaNovaSenha,H as TemplateTelaBase};
338
+ `;import{Form as H3,TextField as C3}from"@s_mart/form";import{composeValidators as V3,email as b3,required as x3}from"@s_mart/rules";import{jsx as x,jsxs as d1}from"react/jsx-runtime";function S3({logo:e,onVoltarParaLogin:a,onConfirmar:r,...i}){let n=typeof e=="string"?x("img",{src:e,alt:"Logo do sistema"}):e,l=w("(max-width: 500px)");return x(M,{...i,paperStyle:{minWidth:l?void 0:456,width:l?"90%":void 0},children:d1(S0,{children:[d1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[x(L0,{children:e&&x("div",{children:n})}),x(T0,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),x(T0,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),x(H3,{onSubmit:r,children:d1(E0,{children:[x("div",{children:x(C3,{name:"email",label:"E-mail de acesso",required:!0,rules:V3([x3,b3]),type:"email"})}),d1("div",{children:[x(k0,{fullWidth:!0,type:"submit",children:"Confirmar"}),x(k0,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})})}export{T2 as TelaCadastro,u3 as TelaConviteExpirado,S3 as TelaEsqueceuSenha,f3 as TelaInstrucoesEnviadas,d3 as TelaLogin,M3 as TelaNovaSenha,M as TemplateTelaBase};
339
339
  /*! Bundled license information:
340
340
 
341
341
  @mui/styled-engine/index.js:
342
342
  (**
343
- * @mui/styled-engine v5.12.3
343
+ * @mui/styled-engine v5.14.6
344
344
  *
345
345
  * @license MIT
346
346
  * This source code is licensed under the MIT license found in the
@@ -349,7 +349,7 @@ var v2=Object.create;var M1=Object.defineProperty,m2=Object.defineProperties,u2=
349
349
 
350
350
  @mui/material/index.js:
351
351
  (**
352
- * @mui/material v5.12.3
352
+ * @mui/material v5.14.6
353
353
  *
354
354
  * @license MIT
355
355
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_mart/telas-de-acesso",
3
- "version": "3.1.1",
3
+ "version": "4.0.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "tsup": "^6.7.0",
19
- "typescript": "^5.0.4",
20
- "@types/react": "18.2.5",
19
+ "typescript": "^5.2.2",
20
+ "@types/react": "^18.2.21",
21
21
  "@types/react-dom": "18.2.4",
22
22
  "@s_mart/core": "*",
23
23
  "@s_mart/form": "*",
@@ -28,9 +28,9 @@
28
28
  "react": ">=18.2.0",
29
29
  "react-dom": ">=18.2.0",
30
30
  "react-hook-form": ">=7.36.1",
31
- "typescript": ">=5.0.4",
31
+ "typescript": ">=5.2.2",
32
32
  "@types/react": ">=18.2.5",
33
- "@types/react-dom": ">=18.2.4",
33
+ "@types/react-dom": ">=18.2.7",
34
34
  "@emotion/react": ">=11.10.8",
35
35
  "@emotion/styled": ">=11.10.8",
36
36
  "@s_mart/core": "*",
@@ -38,11 +38,11 @@
38
38
  "@s_mart/masks": "*"
39
39
  },
40
40
  "devDependencies": {
41
- "@s_mart/eslint": "*",
42
41
  "@s_mart/tsconfig": "*",
43
- "eslint": "^8.32.0"
42
+ "eslint": "^8.47.0",
43
+ "eslint-config-smarten": "*"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  }
48
- }
48
+ }