PageSourceSearch

https://commmune.com/_next/static/chunks/pages/view/tenant/forget-ed9ce4412e94157d.js

js commmune.com collected 2026-10-02 06:29:31 UTC 6,054 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b57ef7fe-e38d-572e-99bc-faf0661f0ee4")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4618],{1097:(e,t,s)=>{"use strict";s.d(t,{b:()=>r});var i=s(45023),a=s(7528);let r=e=>{let{invalid:t,style:s,type:r,...n}=e;return(0,i.Y)(a.A_,{type:r||"text",style:{...s,display:"block"},error:t,fullWidth:!0,inputProps:{"data-cy":"labeled-text-input"},...n})}},4232:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>_});var i=s(45023),a=s(2004),r=s.n(a),n=s(84221),c=s.n(n),o=s(36439),l=s(38982),d=s(41471),h=s(79259),p=s(17162),u=s(1097),m=s(9223),f=s(80328),b=s(36736),g=s(8819),x=s(42021),y=s(66432),w=s(64897);class Y extends o.Component{static async getInitialProps({ctx:e}){let{locale:t}=e.query;return{locale:t}}async onSubmit(){if(this.state.submitting)return;let{t:e}=this.props,{email:t}=this.state;this.setState({submitting:!0});let s=async s=>{(this.setState({submitting:!1}),s)?this.setState({errorMessage:"",mailSent:!0}):this.setState({errorMessage:e("{{email}} was not found. Please try again.",{email:t})})},i=()=>{this.setState({submitting:!1})};this.props.dispatch(g.hc.request({email:t,locale:(0,h.hs)(window.navigator.language),successCb:s,errCb:i}))}createFirstPage(){let{t:e}=this.props,{email:t,errorMessage:s,submitting:a}=this.state;return(0,i.FD)(o.Fragment,{children:[s&&(0,i.Y)("section",{role:"alert",className:"jsx-f2228ba82c4f32a7 alert alert-danger",children:s}),(0,i.Y)("section",{className:"jsx-f2228ba82c4f32a7 text-center d-block mb-3",children:(0,i.Y)(l.x,{i18nKey:e("Enter your email address so we can identify your communities."),components:{br:(0,i.Y)("br",{className:"jsx-f2228ba82c4f32a7"})}})}),(0,i.Y)("section",{className:"jsx-f2228ba82c4f32a7",children:(0,i.Y)("div",{className:"jsx-f2228ba82c4f32a7 form-group",children:(0,i.Y)(u.b,{type:"email",label:e("Your email address"),value:this.state.email,onChange:(0,x.A)(this,"email")})})}),(0,i.Y)("section",{onClick:this.onSubmit.bind(this),className:"jsx-f2228ba82c4f32a7 mt-5 text-center",children:(0,i.Y)(p.a,{className:"w-75",color:"#254860",disabled:!t||a,children:e("Send")})}),(0,i.Y)(r(),{id:"f2228ba82c4f32a7",children:".login.jsx-f2228ba82c4f32a7 a{font-size:12px;color:#909090;text-decoration:underline}label.jsx-f2228ba82c4f32a7{font-size:12px}.alert.jsx-f2228ba82c4f32a7{font-size:12px}"})]})}createSecondPage(){let{t:e,locale:t}=this.props;return(0,i.FD)(o.Fragment,{children:[(0,i.Y)("section",{className:"mb-4 text-center",children:e("We've sent you an email.")}),(0,i.Y)("section",{className:"login text-center",children:(0,i.Y)(c(),{href:(0,y.Hs)(`/?locale=${t}`),children:e("Back to Log In")})})]})}render(){let{t:e,locale:t}=this.props,{mailSent:s}=this.state;return(0,w.v2)(t),(0,i.Y)(o.Fragment,{children:(0,i.FD)(m.W,{height:330,width:450,children:[(0,i.Y)("section",{className:"mb-4",children:(0,i.Y)(f.n,{text:e("Let's find your community")})}),s?this.createSecondPage():this.createFirstPage()]})})}constructor(...e){super(...e),this.state={email:"",errorMessage:"",mailSent:!1,submitting:!1}}}let _=(0,d.connect)(null,null)((0,b.A)(["pages/view/tenant"])(Y))},7467:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/view/tenant/forget",function(){return s(4232)}])},9223:(e,t,s)=>{"use strict";s.d(t,{W:()=>c});var i=s(45023),a=s(2004),r=s.n(a),n=s(36439);class c extends n.Component{render(){return(0,i.FD)("div",{className:r().dynamic([["c952b8f945b68b08",[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height]]])+" sharedContainer",children:[this.props.children,(0,i.Y)(r(),{id:"c952b8f945b68b08",dynamic:[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height],children:`.sharedContainer.__jsx-style-dynamic-selector{width:90%;max-width:${this.props.width?this.props.width:"360"}px;margin:auto;position:absolute;top:${this.props.center?"0":"-10%"};bottom:0;left:0;right:0;height:${this.props.height}px}`})]})}}},36736:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var i=s(45023),a=s(90524);function r(e){return function(t){function s(s){let{t:r}=(0,a.B)(e),n={t:r,...s};return(0,i.Y)(t,{...n})}return s.getInitialProps=async e=>{let s={};return t.getInitialProps&&(s=await t.getInitialProps(e)),s},s}}},42021:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var i=s(60827),a=s.n(i);let r=(e,t,s=0)=>i=>{let r=null;if("type"in i.target&&"checkbox"===i.target.type)r=i.target.checked;else{if(r=i.target.value,s&&a()(r)&&r.length>s)return;"password"===t&&a()(r)&&(r=r.replace(/\s/g,""))}e.setState({[t]:r})}},60827:(e,t,s)=>{var i=s(62718),a=s(42767),r=s(27854);e.exports=function(e){return"string"==typeof e||!a(e)&&r(e)&&"[object String]"==i(e)}},79259:(e,t)=>{"use strict";t.hs=t.U1=void 0,t.U1=e=>"ja"===e,t.hs=e=>(0,t.U1)(e)?"ja":"en"},80328:(e,t,s)=>{"use strict";s.d(t,{n:()=>o});var i=s(45023),a=s(2004),r=s.n(a),n=s(63669),c=s(7528);let o=e=>(0,i.FD)(i.FK,{children:[(0,i.FD)("section",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]])+" header",children:[e.route&&(0,i.Y)(n.N,{route:e.route,children:(0,i.Y)(c.K0,{style:{position:"absolute",top:-5,left:0},children:(0,i.Y)("i",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]])+" fas fa-chevron-left"})})}),(0,i.Y)("span",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]]),children:e.text})]}),(0,i.Y)(r(),{id:"b0a4e6c0d54c39ad",dynamic:[e.color||"#254860"],children:`.header.__jsx-style-dynamic-selector{font-size:24px;font-weight:bold;text-align:center}.header.__jsx-style-dynamic-selector span.__jsx-style-dynamic-selector{color:${e.color||"#254860"}}.iconButton.__jsx-style-dynamic-selector{position:absolute;top:7px;left:15px}`})]})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=7467)),_N_E=e.O()}]);
4//# sourceMappingURL=forget-ed9ce4412e94157d.js.map
5//# debugId=b57ef7fe-e38d-572e-99bc-faf0661f0ee4

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.