PageSourceSearch

https://www.printi.com.br/_next/static/chunks/6558-6890e713c4fe71c4.js

js printi.com.br collected 2026-10-02 07:51:37 UTC 15,453 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6558],{46449:function(e,t,n){n.d(t,{Y:function(){return A}});var r=n(24038),i=n(23945),s=n(48044),a=n(12407),o=n(46812),l=n(47017);let c=l.ZP.div.withConfig({displayName:"FormContainer.styles__Container",componentId:"sc-351c52eb-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1 0 0;align-self:stretch;min-height:100vh;transition:0.5s;width:100%;"]),d=l.ZP.header.withConfig({displayName:"FormContainer.styles__Header",componentId:"sc-351c52eb-1"})(["height:var(--size-12x);padding:0px var(--spacing-5x);display:flex;align-items:center;align-self:stretch;background-color:white;z-index:5;","{height:var(--size-10x);padding:0px var(--spacing-2x);}"],o.Z.lessThan("mobile")),u=l.ZP.div.withConfig({displayName:"FormContainer.styles__HeaderInner",componentId:"sc-351c52eb-2"})(["width:100%;max-width:1360px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;"]),p=l.ZP.a.withConfig({displayName:"FormContainer.styles__BrandLink",componentId:"sc-351c52eb-3"})(["display:inline-flex;align-items:center;width:fit-content;cursor:pointer;"]),g=l.ZP.div.withConfig({displayName:"FormContainer.styles__ContentBrand",componentId:"sc-351c52eb-4"})(["height:28px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;flex:1 0 0;","{height:24px;padding:0px;> div{height:100%;}}"],o.Z.lessThan("mobile")),h=l.ZP.div.withConfig({displayName:"FormContainer.styles__Grid",componentId:"sc-351c52eb-5"})(["display:flex;flex-direction:column;align-items:center;flex:1 0 0;align-self:stretch;gap:var(--spacing-3x);padding:var(--spacing-6x) var(--spacing-5x);","{padding:var(--spacing-4x) var(--spacing-2x);}"],o.Z.lessThan("mobile")),f=l.ZP.div.withConfig({displayName:"FormContainer.styles__ContainerForm",componentId:"sc-351c52eb-6"})(["display:flex;justify-content:center;align-items:center;flex:1 0 0;align-self:stretch;"]),m=l.ZP.div.withConfig({displayName:"FormContainer.styles__Content",componentId:"sc-351c52eb-7"})(["width:480px;max-width:480px;display:flex;flex-direction:column;align-items:flex-start;form{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:var(--spacing-3x);padding:var(--spacing-none);}"]),_=l.ZP.div.withConfig({displayName:"FormContainer.styles__Terms",componentId:"sc-351c52eb-8"})(["display:flex;width:480px;max-width:480px;flex-direction:column;align-items:flex-start;gap:var(--spacing-3x);","{width:auto;max-width:unset;align-self:stretch;}"],o.Z.lessThan("mobile")),v=l.ZP.div.withConfig({displayName:"FormContainer.styles__Support",componentId:"sc-351c52eb-9"})(["display:flex;max-width:480px;align-items:center;align-content:center;align-self:stretch;flex-wrap:wrap;gap:var(--spacing-half) var(--spacing-1x);"]);l.ZP.a.withConfig({displayName:"FormContainer.styles__TermsLink",componentId:"sc-351c52eb-10"})(["text-decoration:underline;"]);var x=n(26048),E=n(51230),y=n(7544),I=n(89882),C=n(66338),S=n(89922),R=()=>{var e;let t=(0,a.useAuthSafe)(),{data:n}=(0,y.useSession)(),r=(0,S.useQueryClient)(),i="complete_profile"===(0,I.useSearchParams)().get("notice"),s=(0,C.useCallback)(()=>{(0,E.SJ)(),r.clear(),null==t||t.resetAuthData(),(0,y.signOut)({callbackUrl:"/"})},[t,r]),o=(0,C.useCallback)(()=>{var e;return!!(null==n?void 0:null===(e=n.profile)||void 0===e?void 0:e.id)},[null==n?void 0:null===(e=n.profile)||void 0===e?void 0:e.id]),l=[x.n.RecoverAccess,x.n.RegisterName,x.n.TypeAccount,x.n.LegalPerson,x.n.PhysicalPerson,x.n.CreatePassword,x.n.ResendMail].includes((null==t?void 0:t.step)||x.n.SignIn);return{getBackStep:(0,C.useCallback)(()=>o()?((0,E.SJ)(),r.clear(),null==t||t.resetAuthData(),(0,y.signOut)({callbackUrl:"/login/"}),x.n.SignIn):[x.n.RecoverAccess].includes((null==t?void 0:t.step)||x.n.SignIn)?x.n.SignIn:(null==t?void 0:t.step)===x.n.RegisterName?x.n.Register:(null==t?void 0:t.step)===x.n.TypeAccount?x.n.RegisterName:(null==t?void 0:t.step)===x.n.CreatePassword?(null==t?void 0:t.registerData.typeAccount)==="PF"?x.n.PhysicalPerson:x.n.LegalPerson:[x.n.PhysicalPerson,x.n.LegalPerson].includes((null==t?void 0:t.step)||x.n.SignIn)?x.n.TypeAccount:x.n.SignIn,[t,r,o]),showBackButton:l,isCompleteProfile:i,logoutToH
1ome:s}};let A=e=>{let{children:t}=e,{push:n}=(0,s.useNavigation)(),{setStep:o,progress:l}=(0,a.useAuth)(),{getBackStep:x,showBackButton:E,isCompleteProfile:y,logoutToHome:I}=R();return(0,r.jsxs)(c,{children:[(0,r.jsx)(d,{children:(0,r.jsxs)(u,{children:[(0,r.jsx)(g,{children:(0,r.jsx)(p,{href:"/","aria-label":"Voltar para a p\xe1gina inicial",onClick:e=>{e.preventDefault(),n("/")},children:(0,r.jsx)(i.XxF,{type:i.QPH.Logotype,style:{width:"94px",height:"24px"}})})}),(0,r.jsx)("div",{children:y?(0,r.jsx)(i.WXV,{onClick:I,children:"Sair da conta"}):E?(0,r.jsx)(i.WXV,{onClick:()=>o(x()),children:"Voltar"}):(0,r.jsx)(i.WXV,{onClick:()=>n("/"),children:"Voltar ao site"})})]})}),!!l&&(0,r.jsx)(i.Bes,{value:l}),(0,r.jsxs)(h,{children:[(0,r.jsx)(f,{children:(0,r.jsx)(m,{children:t})}),(0,r.jsx)(_,{children:(0,r.jsxs)(v,{children:[(0,r.jsx)(i.X4d,{children:"Precisa de ajuda?"}),(0,r.jsx)(i.yqz,{href:"https://api.whatsapp.com/send?phone=551141183816",target:"_blank",children:"Suporte por Whatsapp"})]})})]})]})}},25268:function(e,t,n){n.d(t,{X:function(){return d},n:function(){return i}});var r,i,s=n(24038),a=n(23945),o=n(47017);let l=o.ZP.div.withConfig({displayName:"Heading.styles__Container",componentId:"sc-72455af8-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;align-self:stretch;gap:var(--spacing-2x);padding:var(--spacing-none);",""],e=>{let{type:t}=e;return"hhd"===t&&(0,o.iv)(["> div{display:flex;gap:var(--spacing-2x);flex-direction:column;}"])}),c=o.ZP.div.withConfig({displayName:"Heading.styles__DescriptionContent",componentId:"sc-72455af8-1"})(["display:flex;align-items:center;align-content:center;gap:var(--spacing-2x) var(--spacing-1x);align-self:stretch;flex-wrap:wrap;"]);(r=i||(i={})).HeadingDescription="hd",r.DescriptionHeading="dh",r.HeadingDescription2Xs="hd2xs",r.HeadingHeadingDescription="hhd",r.HeadingDescriptionButton="hdb";let d=e=>{let{heading:t="Heading",heading2XS:n="",description:r="description",type:i="hd",buttonMini:o}=e;return(0,s.jsxs)(l,{type:i,children:["hd"===i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.$kn,{size:a.GmK.MD,children:t}),(0,s.jsx)(a.qRo,{children:r})]}),"hd2xs"===i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.$kn,{size:a.GmK["2XS"],children:r}),(0,s.jsx)(a.$kn,{size:a.GmK.MD,children:t})]}),"dh"===i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.qRo,{children:r}),(0,s.jsx)(a.$kn,{size:a.GmK.MD,children:t})]}),"hhd"===i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.$kn,{size:a.GmK["2XS"],children:n}),(0,s.jsxs)("div",{children:[(0,s.jsx)(a.$kn,{size:a.GmK.MD,children:t}),(0,s.jsx)(a.qRo,{children:r})]})]}),"hdb"===i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.$kn,{size:a.GmK.MD,children:t}),(0,s.jsxs)(c,{children:[(0,s.jsx)(a.qRo,{children:r}),o]})]})]})}},17496:function(e,t,n){var r=n(30315);t.Z=e=>{let{baseUrl:t,token:n,cookies:i}=e,s=(0,r.h)({baseUrl:t,token:n,cookies:i});return{register:async e=>{let{payload:t}=e,{data:n}=await s.post("/v1/auth/register",t);return n},jwt:async e=>{let{payload:t}=e,{data:n}=await s.post("/v1/auth/login",t);return n},checkEmail:async(e,t)=>{let n=new URLSearchParams;t&&n.append("turnstile_token",t);let r=n.toString(),i=r?"/v1/auth/check-email/".concat(e,"?").concat(r):"/v1/auth/check-email/".concat(e),{data:a}=await s.get(i);return a},forgotPassword:async e=>{let{payload:t}=e,{data:n}=await s.post("/v1/auth/forgot-password",t);return n},validateHashResetPassword:async e=>{let{data:t}=await s.get("/v1/auth/reset-password/".concat(e));return t},resetPassword:async(e,t)=>{let{payload:n}=t,{data:r}=await s.post("/v1/auth/reset-password/".concat(e),n);return r}}}},42980:function(e,t,n){n.d(t,{WA:function(){return s},XS:function(){return o},eW:function(){return i},mL:function(){return r},tI:function(){return a}});let r={MAX_ATTEMPTS_BEFORE_TURNSTILE:3,STORAGE_KEY:"turnstile_failed_attempts",RATE_LIMIT_WINDOW:3e5,MAX_ATTEMPTS_PER_WINDOW:10,THEME:"light",SIZE:"flexible",APPEARANCE:"always",INVISIBLE_SIZE:"flexible",INVISIBLE_APPEARANCE:"interaction-only"},i=()=>!0,s=()=>"0x4AAAAAADtb8kf3ak2CfwjT",a={theme:r.THEME,size:r.SIZE,appearance:r.APPEARANCE},o={theme:r.THEME,size:r.INVISIBLE_SIZE,appearance:r.INVISIBLE_APPEARANCE,tabIndex:-1}},12407:function(e,t,n){n.r(t),n.d(t,{AuthContextProvider:function(){return c},useAuth:function(){return d},useAuthSafe:function(){return u}});var r=n(24038),i=n(66338),s=n(23945),a=n(26048);let o=(0,i.createContext)(void 0),l={email:"",password:"",name:"",typeAccount:"PF",receiveOffers:!1,phone:"",emailConsent:!1},c=e=>{let{children:t}=e,[n,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(a.n.SignIn),[p,g]=(0,i.useState)(""),[h,f]=(0,i.useState)(s.pCN.Negative),[m,_]=(0,i.useState)(!1),[v,x]=(0,i.useState)(0),[E,y]=(0,i.useState)(l),[I,C]=(0,i.useState)(""),S=(0,i.useCallback)(()=>{u(a.n.SignIn),y(l),C(""),g(""),f(s.pCN.Negative),_(!1),x(0)},[]),R=(0,i.useMemo)(()=>({baseUrl:n,setBaseUrl:c,step:d,setStep:u,progress:v,setProgress:x,registerData:E,setRegisterData:y,resendEmail:I,setResendEmail:C,toast:p,setToast:g,toastType:h,setToastType:f,toastOpen:m,setToastOpen:_,resetAuthData:S}),[n,d,v,E,I,p,h,m,S]);return(0,r.jsx)(o.Provider,{value:R,children:t})},d=()=>{let e=(0,i.useContext)(o);if(!e)throw Error("useAuth must be used within an AuthContextProvider");return e},u=()=>(0,i.useContext)(o)||null},26048:function(e,t,n){var r,i;n.d(t,{n:function(){return r}}),(i=r||(r={}))[i.SignIn=0]="SignIn",i[i.RecoverAccess=1]="RecoverAccess",i[i.Register=2]="Register",i[i.AccessEmail=3]="AccessEmail",i[i.RegisterName=4]="RegisterName",i[i.TypeAccount=5]="TypeAccount",i[i.PhysicalPerson=6]="PhysicalPerson",i[i.LegalPerson=7]="LegalPerson",i[i.CreatePassword=8]="CreatePassword",i[i.ResendMail=9]="ResendMail"},51230:function(e,t,n){n.d(t,{Al:function(){return v},Di:function(){return h},Io:function(){return m},SJ:function(){return p},Ud:function(){return f},VS:function(){return g},YA:function(){return d},fD:function(){return _},jt:function(){return x},nE:function(){return I},nc:function(){return u},pc:function(){return E},u5:function(){return C},xA:function(){return y}});let r={register:"cadastro_step_register_done",name:"cadastro_step_name_done",type:"cadastro_step_type_done",pf:"cadastro_step_pf_done",pj:"cadastro_step_pj_done",password:"cadastro_step_password_done"}
1,i="auth_prefill_email",s="login_recover_started",a="cadastro_trusted_entry",o="social_auth_pending",l=()=>window.sessionStorage,c=e=>{var t;return(null===(t=l())||void 0===t?void 0:t.getItem(r[e]))==="1"},d=e=>{var t;null===(t=l())||void 0===t||t.setItem(r[e],"1")},u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(d)},p=()=>{let e=l();e&&(Object.values(r).forEach(t=>e.removeItem(t)),e.removeItem(s),e.removeItem(a))},g=()=>{var e;null===(e=l())||void 0===e||e.setItem(a,"1")},h=()=>{let e=l(),t=(null==e?void 0:e.getItem(a))==="1";return null==e||e.removeItem(a),t},f=()=>{var e;null===(e=l())||void 0===e||e.setItem(o,"1")},m=()=>{let e=l(),t=(null==e?void 0:e.getItem(o))==="1";return null==e||e.removeItem(o),t},_=()=>{var e;null===(e=l())||void 0===e||e.setItem(s,"1")},v=()=>{var e;return(null===(e=l())||void 0===e?void 0:e.getItem(s))==="1"},x=e=>{switch(e){case"register":return!0;case"name":return c("register");case"type":return c("register")&&c("name");case"pf":return c("register")&&c("name")&&c("type")&&!c("pj");case"pj":return c("register")&&c("name")&&c("type")&&!c("pf");case"password":return c("register")&&c("name")&&c("type")&&(c("pf")||c("pj"));default:return!1}},E=()=>c("register")?c("name")?c("type")&&(c("pf")||c("pj"))?"password":"type":"name":"register",y=(e,t)=>"reload"===t||!e||"register"===e,I=e=>{var t;null===(t=l())||void 0===t||t.setItem(i,e)},C=()=>{var e;let t=l(),n=null!==(e=null==t?void 0:t.getItem(i))&&void 0!==e?e:"";return null==t||t.removeItem(i),n}},98570:function(e,t,n){n.d(t,{C:function(){return r}});let r=e=>!e||!e.startsWith("/")||e.startsWith("//")||e.startsWith("/\\")?
1null:e},64334:function(e,t,n){n.d(t,{Gk:function(){return d},Km:function(){return a},Re:function(){return l},bf:function(){return u},sq:function(){return p}});let r=[/password/i,/token/i,/secret/i,/key/i,/auth/i,/credential/i,/session/i,/cookie/i,/fingerprint/i,/phone/i,/cpf/i,/cnpj/i,/credit_card/i,/card_number/i];function i(e){let t={};for(let[n,i]of Object.entries(e))r.some(e=>e.test(n))?"string"==typeof i&&i.length>0?t[n]="[REDACTED]":"object"==typeof i&&null!==i?t[n]="[REDACTED_OBJECT]":t[n]="[REDACTED]":t[n]=i;return t}function s(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return"user_".concat(Math.abs(t).toString(36))}function a(e){return{userAgent:e?"[REDACTED]":void 0,platform:"undefined"!=typeof navigator?navigator.platform:void 0,language:"undefined"!=typeof navigator?navigator.language:void 0,screenResolution:"undefined"!=typeof screen?"".concat(screen.width,"x").concat(screen.height):void 0,timestamp:new Date().toISOString()}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{eventType:e,timestamp:new Date().toISOString(),sessionId:"session_".concat(Date.now(),"_").concat(Math.random().toString(36).substr(2,9)),...i(t)}}let l={LOGIN_ATTEMPT:"auth_login_attempt",LOGIN_SUCCESS:"auth_login_success",LOGIN_FAILURE:"auth_login_failure",LOGIN_BLOCKED:"auth_login_blocked",REGISTER_ATTEMPT:"auth_register_attempt",REGISTER_SUCCESS:"auth_register_success",REGISTER_FAILURE:"auth_register_failure",TURNSTILE_LOAD:"auth_turnstile_load",TURNSTILE_SUCCESS:"auth_turnstile_success",TURNSTILE_ERROR:"auth_turnstile_error",TURNSTILE_EXPIRE:"auth_turnstile_expire",TURNSTILE_RESET:"auth_turnstile_reset",SECURITY_VIOLATION:"auth_security_violation",MULTIPLE_FAILED_ATTEMPTS:"auth_multiple_failed_attempts",FORCE_RECAPTCHA_TRIGGERED:"auth_force_recaptcha_triggered",STEP_REGISTER_NAME:"c
1adastro_step_register_name",STEP_TYPE_ACCOUNT:"cadastro_step_type_account",STEP_PF:"cadastro_step_pf",STEP_PJ:"cadastro_step_pj",STEP_PASSWORD:"cadastro_step_password",CADASTRO_COMPLETE:"cadastro_complete",RECOVER_STARTED:"auth_recover_started",RECOVER_RESEND_MAIL:"auth_recover_resend_mail",FORM_NETWORK_ERROR:"AuthFormNetworkError"};function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{let r=i(n);e(t,r)}catch(e){}}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c(e,t,o("turnstile",{...n,tokenGenerated:n.tokenGenerated,tokenLength:n.tokenLength,errorCode:n.errorCode,errorMessage:n.errorMessage}))}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c(e,t,o("login",{userHash:n.email?s(n.email):void 0,userEmail:n.email,success:n.success,errorCode:n.errorCode,errorMessage:n.errorMessage,failedAttempts:n.failedAttempts,turnstileRequired:n.turnstileRequired,fingerprintHash:n.fingerprint?s(n.fingerprint):void 0}))}function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c(e,t,o("register",{userHash:n.email?s(n.email):void 0,userEmail:n.email,success:n.success,errorCode:n.errorCode,errorMessage:n.errorMessage,validationErrors:n.validationErrors,turnstileRequired:n.turnstileRequired}))}}}]);
2//# sourceMappingURL=6558-6890e713c4fe71c4.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.