PageSourceSearch

https://www.bezrealitky.cz/_next/static/chunks/pages/change-password/[userHash]-a4be36da8839cf85.js

js bezrealitky.cz collected 2026-10-03 19:29:47 UTC 11,432 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var s in a)a.hasOwnProperty(s)&&(e[s]=a[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:bezrealitky":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="af1f9b8b-9f9f-4c18-bbd2-786e3b65e9c3",e._sentryDebugIdIdentifier="sentry-dbid-af1f9b8b-9f9f-4c18-bbd2-786e3b65e9c3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3182],{8734:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>B,default:()=>L});var s,n=a(34965),r=a(28245),l=a(68520),o=a(92725),i=a(32728),c=a(38901),d=a(27885),u=a(66284),A=a(32228),m=a(79350),p=a(64177);function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let f={},b=(0,m.J1)(s||(s=(0,A.A)(["\n    mutation ChangePassword($hash: String!, $email: String!, $password1: String!, $password2: String!) {\n  changePassword(\n    hash: $hash\n    email: $email\n    password1: $password1\n    password2: $password2\n  )\n}\n    "])));var x=a(20023),j=a(43494),y=a(41589),v=a(96240),w=a(18544),M=a(61735),P=a(85925),_=a(52557),O=a(94485),E=a(33573),C=a(10553),k=a(89099),D=a(14232),N=a(77742),H=a(8733),I=a(91408),Q=a(25418),S=a(37876),B=!0;let L=e=>{var t;let{locale:a,userHash:s}=e,u=(0,N.A)(),A=(0,k.useRouter)(),m=(0,O._)(),{pushPageView:h}=(0,M.vb)();(0,D.useEffect)(()=>{h()},[h,s]);let[B]=function(e){let t=g(g({},f),void 0);return p.n(b,t)}(),L=(0,D.useCallback)((e,t)=>{B({variables:{email:e.email,hash:s,password1:e.password1,password2:e.password2}}).then(e=>{let{data:t}=e;null!=t&&t.changePassword&&(0,C.signOut)({redirect:!1}).then(()=>{A.push((0,_.nH)(_.JZ.login,a))}),m.success({header:u.formatMessage({id:"eiouK/",defaultMessage:[{type:0,value:"Změna hesla"}]}),message:u.formatMessage({id:"qDlyXn",defaultMessage:[{type:0,value:"Heslo bylo \xfaspěšně změněno."}]})})}).catch(a=>{let s=a.graphQLErrors.filter(e=>{var t;return(null==(t=e.extensions)?void 0:t.validation)!=null});if(a.graphQLErrors.length===s.length)return void(0,w.s)(s,e,t.setFieldError);throw a})},[B,a,A,s,m,u]),R=(0,D.useMemo)(()=>u.formatMessage({id:"ihkNpW",defaultMessage:[{type:0,value:"Povinn\xe9 pole"}]}),[u]);return(0,S.jsxs)(c.D,{children:[(0,S.jsx)(v.P,{canonical:{params:{userHash:s},route:_.JZ.changePassword},description:u.formatMessage({id:"eiouK/",defaultMessage:[{type:0,value:"Změna hesla"}]}),hrefLangRoute:{params:{userHash:s},route:_.JZ.changePassword},image:Q.A.src,title:u.formatMessage({id:"eiouK/",defaultMessage:[{type:0,value:"Změna hesla"}]})}),(0,S.jsx)(n.m,{className:"py-4 mb-10",children:(0,S.jsxs)(r.f,{className:"gy-10",children:[(0,S.jsx)(l.A,{xl:4,xs:12}),(0,S.jsx)(l.A,{className:"mb-last-0",xl:8,xs:12,children:(0,S.jsxs)(o.w,{children:[(0,S.jsx)(r.f,{className:"my-10",children:(0,S.jsx)(l.A,{className:"align-self-center text-center",children:(0,S.jsx)(d.o,{as:"h2",className:"mb-0",variant:"h4",children:(0,S.jsx)(H.A,{id:"eiouK/",defaultMessage:[{type:0,value:"Změna hesla"}]})})})}),(0,S.jsx)(E.l1,{initialValues:{email:null!=(t=(0,P.E8)(A.query.email))?t:"",password1:"",password2:""},onSubmit:L,validationSchema:I.Ik({email:I.Yj().email(u.formatMessage({id:"PRP7tb",defaultMessage:[{type:0,value:"Neplatn\xfd email"}]})).required(R),password1:I.Yj().min(8,u.formatMessage({id:"mt80Uy",defaultMessage:[{type:0,value:"Př\xedliš kr\xe1tk\xe9 heslo"}]})).required(R),password2:I.Yj().oneOf([I.KR("password1")],"Hesla se mus\xed shodovat").required(R)}),children:e=>{let{handleSubmit:t}=e;return(0,S.jsxs)(i.A,{onSubmit:t,children:[(0,S.jsx)(r.f,{className:"g
1-5 mb-5",children:(0,S.jsx)(l.A,{className:"mx-auto",md:8,xs:12,children:(0,S.jsx)(x.p,{label:u.formatMessage({id:"sy+pv5",defaultMessage:[{type:0,value:"Email"}]}),name:"email",placeholder:u.formatMessage({id:"sy+pv5",defaultMessage:[{type:0,value:"Email"}]}),readOnly:!0})})}),(0,S.jsx)(r.f,{className:"g-5 mb-5",children:(0,S.jsx)(l.A,{className:"mx-auto",md:8,xs:12,children:(0,S.jsx)(j.y,{autoComplete:"new-password",label:u.formatMessage({id:"S+41uS",defaultMessage:[{type:0,value:"Heslo"}]}),name:"password1",placeholder:u.formatMessage({id:"S+41uS",defaultMessage:[{type:0,value:"Heslo"}]})})})}),(0,S.jsx)(r.f,{className:"g-5 mb-5",children:(0,S.jsx)(l.A,{className:"mx-auto",md:8,xs:12,children:(0,S.jsx)(j.y,{autoComplete:"new-password",label:u.formatMessage({id:"A9JLEj",defaultMessage:[{type:0,value:"Potvrzen\xed hesla"}]}),name:"password2",placeholder:u.formatMessage({id:"A9JLEj",defaultMessage:[{type:0,value:"Potvrzen\xed hesla"}]}),required:!0})})}),(0,S.jsx)(r.f,{className:"g-5 mb-5",children:(0,S.jsx)(l.A,{className:"text-center mx-auto",md:"auto",xs:6,children:(0,S.jsx)(y.b,{className:"w-100",children:(0,S.jsx)(H.A,{id:"xDu5Ir",defaultMessage:[{type:0,value:"Změnit heslo"}]})})})})]})}})]})}),(0,S.jsx)(l.A,{xl:4,xs:12})]})})]})}},14490:e=>{e.exports={section:"Section_section__gjwvr","section--cdbg":"Section_section--cdbg__HvRXx","section--bgTopHalf":"Section_section--bgTopHalf__c3anG","section--bgBottomHalf":"Section_section--bgBottomHalf___ypd2"}},22074:e=>{e.exports={"mainContent--fill":"MainContent_mainContent--fill__x6B63"}},25418:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s={src:"/_next/static/media/cover_OG_1232x660px.0a22bda4.jpg",height:660,width:1232,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAAAngn/xAAaEAACAgMAAAAAAAAAAAAAAAABBQIDABIi/9oACAEBAAE/AE79nQtulC4cDQAjP//EABcRAAMBAAAAAAAAAAAAAAAAAAACQXH/2gAIAQIBAT8AW6f/xAAXEQADAQAAAAAAAAAAAAAAAAAAAjGB/9oACAEDAQE/AHuH/9k=",blurWidth:8,blurHeight:4}},29206:e=>{e.exports={anchor:"Anchor_anchor__wmBmO","anchor--full-section":"Anchor_anchor--full-section__pay40"}},38901:(e,t,a)=>{"use strict";a.d(t,{D:()=>u});var s=a(15039),n=a.n(s),r=a(14232),l=a(42135),o=a(46498),i=a(22074),c=a.n(i),d=a(37876);let u=e=>{let{fill:t,className:a,children:s}=e,{height:i}=(0,l.lW)();return(0,r.useEffect)(()=>(document.documentElement.style.setProperty("--viewport-height","".concat(i,"px")),()=>{document.documentElement.style.removeProperty("--viewport-height")}),[i]),(0,d.jsx)(o.a,{as:"main",className:n()(c().mainContent,"mainContent",a,{[c()["mainContent--fill"]]:t}),children:s})}},77268:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/change-password/[userHash]",function(){return a(8734)}])},91441:(e,t,a)=>{"use strict";a.d(t,{M:()=>c});var s=a(15039),n=a.n(s);a(14232);var r=a(78226),l=a(29206),o=a.n(l),i=a(37876);let c=e=>{let{id:t,fullSection:a,className:s,children:l}=e;return(0,i.jsx)(r.Hg,{name:t,id:t,className:n()(o().anchor,"anchor",s,{[o()["anchor--full-section"]]:a}),children:l})}},92725:(e,t,a)=>{"use strict";a.d(t,{w:()=>h});var s=a(66284),n=a(59860),r=a(15039),l=a.n(r);a(14232);var o=a(91441),i=a(46498),c=a(14490),d=a.n(c),u=a(37876);let A=["centerDrawnBackground","background","bgTopHalf","bgBottomHalf","scrollId","className","children"];function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function p(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let h=e=>
1{let{centerDrawnBackground:t,background:a,bgTopHalf:s,bgBottomHalf:r,scrollId:c,className:m,children:h}=e,g=(0,n.A)(e,A);return(0,u.jsxs)(i.a,p(p({as:"section",className:l()(d().section,"section",m,{[d()["section--cdbg"]]:t,[d()["section--bgTopHalf"]]:s,[d()["section--bgBottomHalf"]]:r,["bg-".concat(a)]:a,"position-relative":c})},g),{},{children:[c&&(0,u.jsx)(o.M,{id:c,fullSection:!0}),h]}))}},96240:(e,t,a)=>{"use strict";a.d(t,{P:()=>u});var s=a(1553),n=a(52557),r=a(77328),l=a.n(r),o=a(89099),i=a(14232),c=a(69585),d=a(37876);let u=e=>{var t;let{canonical:a,description:r,hideDescription:u,hrefLangRoute:A,hrefLangRoutes:m,hrefLangs:p,image:h,next:g,prev:f,robots:b,title:x}=e,j=(0,o.useRouter)(),y=(0,s.Ym)(),v=null==(t=j.domainLocales)?void 0:t.find(e=>e.defaultLocale===y),w=(null!=v&&v.http?"http":"https")+"://"+(null==v?void 0:v.domain)+j.basePath+j.asPath,M=(0,i.useCallback)((e,t,a)=>{var s;let r=null==(s=j.domainLocales)?void 0:s.find(t=>t.defaultLocale===e);return(null!=r&&r.http?"http":"https")+"://"+(null==r?void 0:r.domain)+j.basePath+(0,n.nH)(t,e,a)},[j.basePath,j.domainLocales]),P=(0,i.useCallback)((e,t,a)=>{var s;let r=null==(s=j.domainLocales)?void 0:s.find(t=>t.defaultLocale===e);return(null!=r&&r.http?"http":"https")+"://"+(null==r?void 0:r.domain)+j.basePath+(0,n.nH)(t,e,a)},[j.basePath,j.domainLocales]),_=(0,i.useCallback)((e,t)=>{var a;let s=null==(a=j.domainLocales)?void 0:a.find(t=>t.defaultLocale===e);return(null!=s&&s.http?"http":"https")+"://"+(null==s?void 0:s.domain)+j.basePath+t},[j.basePath,j.domainLocales]),O=(0,i.useMemo)(()=>A?{cs:M("cs",A.route,A.params),en:M("en",A.route,A.params),sk:M("sk",A.route,A.params)}:p,[M,p,A]),E=(0,i.useMemo)(()=>m?{cs:M("cs",m.cs.route,m.cs.params),en:M("en",m.en.route,m.en.params),sk:M("sk",m.sk.route,m.sk.params)}:null,[M,m]),C=x.replace(/\s+/g," "),k=null==r?void 0:r.replace(/\s+/g," ");return(0,d.jsxs)(l(),{children:[(0,d.jsx)("title",{children:C}),!u&&(0,d.jsx)("meta",{content:k,name:"description"},"description"),b&&(0,d.jsx)("meta",{content:b,name:"robots"},"robots"),(0,d.jsx)("meta",{content:C,name:"twitter:title"}),(0,d.jsx)("meta",{content:k,name:"twitter:description"}),(0,d.jsx)("meta",{content:w,name:"twitter:url"}),h&&(0,d.jsx)("meta",{content:h,name:"twitter:image"}),(0,d.jsx)("meta",{content:C,property:"og:title"}),(0,d.jsx)("meta",{content:k,property:"og:description"}),(0,d.jsx)("meta",{content:C,property:"og:site_name"}),(0,d.jsx)("meta",{content:w,property:"og:url"}),h&&(0,d.jsx)("meta",{content:h,property:"og:image"}),a&&(0,d.jsx)("link",{href:P(y,a.route,a.params),rel:"canonical"}),f&&(0,d.jsx)("link",{href:_(y,f),rel:"prev"}),g&&(0,d.jsx)("link",{href:_(y,g),rel:"next"}),(0,c.GX)((0,c.jO)(null!=E?E:O)).map((e,t)=>(0,d.jsx)("link",{href:e[1],hrefLang:e[0],rel:"alternate"},t))]})}}},e=>{e.O(0,[8226,636,6593,8792],()=>e(e.s=77268)),_N_E=e.O()}]);
2//# sourceMappingURL=[userHash]-a4be36da8839cf85.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.