PageSourceSearch

https://www.lojasantoantonio.com.br/_next/static/chunks/4692.02c6d08e74dc29e2.js

js lojasantoantonio.com.br collected 2026-09-26 13:49:05 UTC 3,228 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4692],{25262:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var s=t(46225),a=t(75834),n=t(6641);let i=()=>{var{person:e,isValidating:r,isSessionReady:t}=(0,n.wV)(),i=(0,s.useRouter)(),l=r||!t,o=!l&&!!(null==e?void 0:e.email);return(0,a.useEffect)(()=>{!l&&(null!=e&&e.email||i.push("/?modal=login"))},[l,null==e?void 0:e.email,i]),{person:e,isLoading:l,isAuthenticated:o}}},74692:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>f});var s=t(89731),a=t(23469),n=t.n(a),i=t(46225),l=t(75834),o=t(41976),c=t(25262),d=t(33439),u=t(84608).h_,h=t(96951),x=t.n(h),m=t(26514),v=n()(()=>Promise.all([t.e(4824),t.e(1906)]).then(t.bind(t,91906)),{loadableGenerated:{webpack:()=>[91906]}}),p=e=>{var{order:r}=e,t=(0,i.useRouter)();return(0,m.jsx)("section",{"aria-labelledby":"order-details-title",className:"".concat(x().myAccountExchangesAndReturnsOrderDetails," py-5"),children:(0,m.jsxs)("div",{className:"container",children:[(0,m.jsxs)("button",{"data-st-my-account-exchanges-and-returns-button":!0,"aria-label":"Voltar para a lista de trocas e devolu\xe7\xf5es",className:"d-flex items-center gap-2 p-0 mb-2",type:"button",onClick:()=>t.replace("/minha-conta/trocas-e-devolucoes"),children:[(0,m.jsx)("svg",{"aria-hidden":"true",fill:"none",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg",children:(0,m.jsx)("path",{d:"M2 7H12M2 7L6.16667 3M2 7L6.16667 11",stroke:"#D81717",strokeLinecap:"round",strokeLinejoin:"round"})}),"Trocas de devolu\xe7\xf5es"]}),(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:"d-flex justify-between items-center py-2",children:(0,m.jsxs)("div",{className:"d-flex gap-2 items-center",children:[(0,m.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"18",viewBox:"0 0 18 18",width:"18",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("rect",{fill:"#D81717",height:"18",rx:"2",width:"18"}),(0,m.jsx)("path",{d:"M15.75 5.625H6M15.75 5.625L12.5 2.25M15.75 5.625L12.5 9",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("path",{d:"M3 12.375H12.75M3 12.375L6.25 15.75M3 12.375L6.25 9",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,m.jsx)("h2",{"data-st-my-account-exchanges-and-returns-title":!0,id:"order-details-title",children:"Trocas e Devolu\xe7\xf5es"})]})}),(0,m.jsx)(v,{order:r})]})]})})};let f=e=>{var{orderId:r}=e,t=(0,i.useRouter)(),{person:a,isLoading:n}=(0,c.A)(),{0:h,1:x}=(0,l.useState)(null),{0:v,1:f}=(0,l.useState)(!0);return((0,l.useEffect)(()=>{if(null!=a&&a.email){var e,n=!1;return(e=(0,s.A)(function*(){try{f(!0);var{getRequestById:e}=yield(0,o.E)(u,{orderId:r,email:a.email});if(n)return;if(!e)return void t.replace("/minha-conta/trocas-e-devolucoes");x(e)}catch(e){console.error("Erro ao carregar solicita\xe7\xe3o:"+e),n||t.replace("/minha-conta/trocas-e-devolucoes")}finally{n||f(!1)}}),function(){return e.apply(this,arguments)})(),()=>{n=!0}}},[null==a?void 0:a.email,r,t]),n||v||!h)?(0,m.jsx)("div",{className:"container",children:(0,m.jsx)(d.default,{})}):(0,m.jsx)(p,{order:h})}},96951:e=>{e.exports={myAccountExchangesAndReturnsOrderDetails:"MyAccountExchangesAndReturnsOrderDetails_myAccountExchangesAndReturnsOrderDetails__xrJdA"}}}]);

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.