PageSourceSearch

https://www.comprealugueagora.com.br/_next/static/chunks/pages/minha-conta/limpar-sessao-d863492deecd9835.js

js comprealugueagora.com.br collected 2026-10-04 10:27:27 UTC 14,248 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20384],{87505:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/minha-conta/limpar-sessao",function(){return t(79499)}])},79499:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return z}});var r=t(74848),i=t(41152),o=t(858),a=t(31635),s=t(96540),c=t(96798),u=t(67325),l=t(50165),d=t(10132),f=t(97390),p=t(6113),h=t(8096),g=t(36643),m=t(56010),v=t(4999),x=t(24537);function y(){var n=(0,x.A)(["\n  width: 100vw;\n  height: 100vh;\n"]);return y=function(){return n},n}function b(){var n=(0,x.A)(["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  background: #fff;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  row-gap: 16px;\n\n  .spinner-container {\n    max-height: 48px;\n  }\n"]);return b=function(){return n},n}var w=h.Ay.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-be37112c-0"})(y()),A=h.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-be37112c-1"})(b()),_=function(){var n,e=(0,s.useContext)(l.R).user,t=(0,c.Z0v)().getCurrentUser,i=(0,u.J)().signOut,x=(0,g.d)().openToast,y=(0,h.DP)().dsTheme,b=(n=(0,o.A)(function(){return(0,a.__generator)(this,function(n){switch(n.label){case 0:if(!((null==e?void 0:e.id)||t()))return[3,2];return[4,i()];case 1:n.sent(),n.label=2;case 2:return setTimeout((0,o.A)(function(){var n;return(0,a.__generator)(this,function(n){switch(n.label){case 0:if(n.trys.push([0,4,,5]),localStorage.clear(),sessionStorage.clear(),!caches)return[3,3];return[4,caches.keys()];case 1:return[4,Promise.all(n.sent().map(function(n){return caches.delete(n)}))];case 2:n.sent(),n.label=3;case 3:return[3,5];case 4:return n.sent(),x({title:"Erro ao limpar dados",subtitle:"Ocorreu um erro ao limpar seus dados de sess\xe3o",type:m.l.ERROR}),[3,5];case 5:return window.location.replace(d.X),[2]}})}),800),[2]}})}),function(){return n.apply(this,arguments)});return(0,s.useEffect)(function(){b()},[]),(0,r.jsx)(w,{children:(0,r.jsxs)(A,{children:[(0,r.jsx)(f.A,{as:"h3",color:"base.black",variant:"headline.h3",fontWeight:"Semibold",children:v.P.pages.account.clearSession.reseting}),(0,r.jsx)(p.A,{color:y.legacy.color.base.dark,size:"md"})]})})};t(67187);var z=function(){return(0,r.jsx)(i.A,{children:(0,r.jsx)(_,{})})}},41152:function(n,e,t){"use strict";t.d(e,{A:function(){return k}});var r=t(74848),i=t(96540),o=t(14953),a=t.n(o),s=t(13368),c=t.n(s),u=t(24537),l=t(61354),d=t(42899),f=t(8096);function p(){var n=(0,u.A)(["\n      display: flex;\n      flex-wrap: wrap;\n      align-items: flex-start;\n    "]);return p=function(){return n},n}function h(){var n=(0,u.A)(["\n      padding-top: ","px;\n    "]);return h=function(){return n},n}function g(){var n=(0,u.A)(["\n        padding-left: ","px;\n      "]);return g=function(){return n},n}function m(){var n=(0,u.A)(["\n        flex: 1;\n        min-width: 0;\n\n        @media (max-width: 1199px) {\n          flex: 0 0 100%;\n        }\n      "]);return m=function(){return n},n}function v(){var n=(0,u.A)(["\n        overflow: visible !important;\n      "]);return v=function(){return n},n}function x(){var n=(0,u.A)(["\n  width: 100%;\n  height: 100%;\n  position: relative;\n\n  ","\n\n  ","\n\n  @media (min-width: 1200px) {\n    ","\n  }\n\n  main {\n    ","\n\n    ","\n  }\n\n  .box-top {\n    position: absolute;\n    right: 15px;\n    top: 18px;\n\n    @media (min-width: 768px) {\n      right: 10px;\n    }\n  }\n\n  .save-button {\n    color: var(--color-neutral-600);\n    border: 1px solid var(--color-neutral-400);\n    font-style: normal;\n    font-weight: 500;\n    font-size: 12px;\n    line-height: 18px;\n    padding: 4px 10px;\n    cursor: pointer;\n    width: 95px;\n\n    p {\n      font-size: 12px;\n    }\n  }\n"]);return x=function(){return n},n}var y=f.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__LayoutContainer",componentId:"sc-a941f91a-0"})(x(),function(n){return n.hasNewSidebar&&(0,f.AH)(p())},function(n){return n.hasNewHeader&&(0,f.AH)(h(),l.l$)},function(n){return n.addPadding&&!n.hasNewSidebar&&(0,f.AH)(g(),d.gH)},function(n){return n.hasNewSidebar&&(0,f.AH)(m())},function(n){return n.hasFilterMenu&&(0,f.AH)(v())}),b=t(19378),w=t(43170),A=a()(function(){return Promise.all([t.e(56425),t.e(99366),t.e(56773)]).then(t.bind(t,99366))},{loadableGenerated:{webpack:function(){return[99366]}},ssr:!1}),_=a()(function(){return Promise.all([t.e(56425),t.e(45646)]).then(t.bind(t,45646))},{loadableGenerated:{webpack:function(){return[45646]}},ssr:!1}),z=a()(function(){return Promise.all([t.e(96593),t.e(96603),t.e(21153)]).then(t.bind(t,21153))},{loadableGenerated:{webpack:function(){return[21153]}},ssr:!1}),N="https://www.comprealugueagora.com.br";function j(n){return JSON.stringify(n).replace(/<\/script/gi,"<\\/script")}var k=function(n){var e=n.isHome,t=(n.headerNegative,n.children),o=n.header,a=(n.isNavFixed,n.disableOrganizationSchema),s=void 0!==a&&a,u=n.pageSchema,l=n.showFooter,d=(0,i.useState)(!1),f=d[0],p=d[1],h=(0,(0,w.u)().haveFeatureNewSidebar)();(0,i.useEffect)(function(){var n=document.getElementById("container_filter");n&&p("none"===getComputedStyle(n).display)},[]);var g=(0,i.useMemo)(function(){return{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"".concat(N,"/#organization"),name:"Compre & Alugue Agora",url:"".concat(N,"/"),logo:{"@type":"ImageObject","@id":"".concat(N,"/#logo"),url:"".concat(N,"/assets/images/logocaa.svg")},image:["".concat(N,"/assets/images/caaLogoShort.svg")]},{"@type":"WebSite","@id":"".concat(N,"/#website"),url:"".concat(N,"/"),name:"Compre & Alugue Agora",publisher:{"@id":"".concat(N,"/#organization")}}]}},[]);return(0,r.jsxs)(r.Fragment,{children:[(!s||u)&&(0,r.jsxs)(c(),{children:[!s&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:j(g)}}),u&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:j(u)}})]}),(0,r.jsxs)(y,{isHome:void 0!==e&&e,hasFilterMenu:f,addPadding:!o,hasNewHeader:!o,hasNewSidebar:!o&&h,children:[o||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{}),h?(0,r.jsx)(_,{}):(0,r.jsx)(A,{})]}),(0,r.jsx)("main",{role:"main",children:t}),void 0===l||l?(0,r.jsx)(z,{}):null]})]})}},6113:function(n,e,t){"use strict";var r=t(74848),i=t(103);t(96540);var o=t(23689),a=function(n){var e=n.color,t=n.size,a=void 0===t?"md":t;return(0,r.jsx)(o.mc,{className:"spinner-container",children:(0,r.jsx)(o.a3,{size:a,children:(0,r.jsx)(o.Rh,{color:e||i.w.colors.base[100],size:a})})})};e.A=a},23689:function(n,e,t){"use strict";t.d(e,{Rh:function(){return l},a3:function(){return u},mc:function(){return d}});var r=t(24537),i=t(8096);function o(){var n=(0,r.A)(["\n  width: ",";\n  height: ",";\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 50%;\n  background: transparent;\n  position: relative;\n"]);return o=function(){return n},n}function a(){var n=(0,r.A)(["\n  width: ",";\n  height: ",";\n\n  background: transparent;\n  border-radius: 50%;\n  border: 3px solid transparent;\n  border-right: 3px solid ",";
1\n  animation: circular 600ms infinite ease-out;\n\n  @keyframes circular {\n    from {\n      transform: rotate(0deg);\n    }\n    to {\n      transform: rotate(360deg);\n    }\n  }\n"]);return a=function(){return n},n}function s(){var n=(0,r.A)(["\n  display: flex;\n  height: 100dvh;\n  width: 100dvw;\n  align-items: center;\n  justify-content: center;\n"]);return s=function(){return n},n}var c={md:{wrapper:{size:48},loading:{size:40}},sm:{wrapper:{size:24},loading:{size:20}}},u=i.Ay.div.withConfig({displayName:"styles__LoadingWrapper",componentId:"sc-7ae76034-0"})(o(),function(n){var e=n.size;return"".concat(c[e].wrapper.size,"px")},function(n){var e=n.size;return"".concat(c[e].wrapper.size,"px")}),l=i.Ay.div.withConfig({displayName:"styles__Loading",componentId:"sc-7ae76034-1"})(a(),function(n){var e=n.size;return"".concat(c[e].loading.size,"px")},function(n){var e=n.size;return"".concat(c[e].loading.size,"px")},function(n){return n.color}),d=i.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-7ae76034-2"})(s())},42899:function(n,e,t){"use strict";t.d(e,{Jn:function(){return A},UC:function(){return y},Y9:function(){return b},gH:function(){return v},gY:function(){return w},mO:function(){return x}});var r=t(24537),i=t(8096),o=t(61354);function a(){var n=(0,r.A)(["\n        transform: translateX(0);\n      "]);return a=function(){return n},n}function s(){var n=(0,r.A)(["\n        width: 288px;\n      "]);return s=function(){return n},n}function c(){var n=(0,r.A)(["\n    position: sticky;\n    top: ","px;\n    align-self: flex-start;\n    background: ",";\n    width: ","px;\n    height: ",";\n    left: 0;\n    z-index: 8;\n    overscroll-behavior: contain;\n    transition: width 0.25s cubic-bezier(0.25, 0, 0.5, 0.5);\n    overflow-x: hidden;\n    overflow-y: auto;\n    scrollbar-gutter: stable;\n    scrollbar-width: none;\n\n    &:hover {\n      scrollbar-width: thin;\n      scrollbar-color: rgba(0, 0, 0, 0.18) transparent;\n    }\n\n    &::-webkit-scrollbar {\n      width: 2px;\n    }\n\n    &::-webkit-scrollbar-track {\n      background: transparent;\n    }\n\n    &::-webkit-scrollbar-thumb {\n      background: transparent;\n      border-radius: 2px;\n    }\n\n    &:hover::-webkit-scrollbar-thumb {\n      background: rgba(0, 0, 0, 0.18);\n    }\n\n    &::-webkit-scrollbar-thumb:hover {\n      background: rgba(0, 0, 0, 0.32);\n    }\n\n    @media (max-width: 1199px) {\n      position: fixed;\n      width: 288px;\n      transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);\n      transform: translateX(-100%);\n      top: 0;\n      height: 100vh;\n      z-index: 12;\n\n      ",":\n    }\n\n    @media (min-width: 1200px) {\n      display: flex;\n      flex-direction: column;\n\n      ","\n    }\n  "]);return c=function(){return n},n}function u(){var n=(0,r.A)(["\n  ","\n"]);return u=function(){return n},n}function l(){var n=(0,r.A)(["\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  padding: 16px 0;\n  gap: 16px;\n"]);return l=function(){return n},n}function d(){var n=(0,r.A)(["\n          padding-top: 45px;\n          margin-bottom: 45px;\n        "]);return d=function(){return n},n}function f(){var n=(0,r.A)(["\n          span {\n            font-weight: 900;\n            font-size: 18px;\n          }\n        "]);return f=function(){return n},n}function p(){var n=(0,r.A)(["\n    display: flex;\n    gap: 16px;\n    padding: 8px;\n    height: ","px;\n    position: relative;\n\n    ",";\n  "]);return p=function(){return n},n}function h(){var n=(0,r.A)(["\n  ","\n"]);return h=function(){return n},n}function g(){var n=(0,r.A)(["\n  color: ",";\n  align-self: flex-end;\n  line-height: 24.3px;\n  position: relative;\n  z-index: 1;\n"]);return g=function(){return n},n}function m(){var n=(0,r.A)(["\n  width: 24px;\n  height: 24px;\n  background: ",";\n  border-radius: 50%;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  position: absolute;\n  top: 16px;\n  right: 16px;\n  cursor: pointer;\n\n  @media (min-width: 1200px) {\n    display: none;\n  }\n"]);return m=function(){return n},n}var v=42,x=i.Ay.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-f5802513-0"})(u(),function(n){var e=n.isOpen;return(0,i.AH)(c(),o.l$,function(n){return n.theme.colors.base[100]},v,"calc(100vh - ".concat(o.l$,"px)"),e&&(0,i.AH)(a()),e&&(0,i.AH)(s()))}),y=i.Ay.div.withConfig({displayName:"styles__Content",componentId:"sc-f5802513-1"})(l()),b=i.Ay.div.withConfig({displayName:"styles__Header",componentId:"sc-f5802513-2"})(h(),function(n){var e=n.isLogged;return(0,i.AH)(p(),e?100:56,e?(0,i.AH)(d()):(0,i.AH)(f()))}),w=i.Ay.span.withConfig({displayName:"styles__HeaderTitle",componentId:"sc-f5802513-3"})(g(),function(n){return n.theme.colors.base[100]}),A=i.Ay.div.withConfig({displayName:"styles__CloseButton",componentId:"sc-f5802513-4"})(m(),function(n){return n.theme.colors.red[1600]})},97390:function(n,e,t){"use strict";t.d(e,{A:function(){return w}});var r=t(53513),i=t(63538),o=t(53455),a=t(74848),s=t(40568),c=t(24537),u=t(8096),l=t(103),d=l.w.dsTheme.legacy.font,f={display:{lg:d.size["8xl"],md:d.size["7xl"]},headline:{h1:d.size["6xl"],h2:d.size["5xl"],h3:d.size["4xl"],h4:d.size["3xl"],h5:d.size["2xl"],h6:d.size.xl},body:{xl:d.size.xl,lg:d.size.lg,md:d.size.md,sm:d.size.sm,xs:d.size.xs}},p=function(n){var e=n.split("."),t=l.w.dsTheme.legacy.color,r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;
1if(!t||"object"!=typeof t||!(c in t))return n;t=t[c]}}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return t};function h(){var n=(0,c.A)(["\n      font-size: ",";\n    "]);return h=function(){return n},n}function g(){var n=(0,c.A)(["\n      font-size: ",";\n    "]);return g=function(){return n},n}function m(){var n=(0,c.A)(["\n      font-size: ",";\n    "]);return m=function(){return n},n}function v(){var n=(0,c.A)(["\n    font-weight: ",";\n    font-family: ",";\n    line-height: 135%;\n    font-style: normal;\n    color: ",";\n    ",";\n  "]);return v=function(){return n},n}function x(){var n=(0,c.A)(["\n  ","\n"]);return x=function(){return n},n}var y=function(n){var e=(0,s.A)(n.split("."),2),t=e[0],r=e[1];return"headline"===t?(0,u.AH)(h(),f[t][r]):"body"===t?(0,u.AH)(g(),f[t][r]):"display"===t?(0,u.AH)(m(),f[t][r]):void 0},b=u.Ay.p.withConfig({displayName:"styles__Typography",componentId:"sc-b17c457a-0"})(x(),function(n){var e=n.theme.dsTheme,t=n.fontWeight,r=n.color,i=n.variant;return(0,u.AH)(v(),e.legacy.font.weight[t],e.legacy.font.family.body,r?p(r):e.legacy.color.neutral[900],y(i))}),w=function(n){var e,t=n.fontWeight,s=n.as,c=n.variant,u=void 0===c?"body.lg":c,l=n.color,d=n.children,f=(0,o.A)(n,["fontWeight","as","variant","color","children"]),p=(null===(e=u.split("."))||void 0===e?void 0:e[1])||"h2";return(0,a.jsx)(b,(0,i.A)((0,r.A)({variant:u,as:u.includes("headline")?p:void 0===s?"p":s,fontWeight:t,"data-testid":"dstypography-ui-kit",color:l},f),{children:d}))}}},function(n){n.O(0,[46593,90636,38792,3197,60170,25951,19378],function(){return n(n.s=87505)}),_N_E=n.O()}]);

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.