1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[384],{80384:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return w}});var o=l(67251),t=l(40842),n=l(69647),i=l(88758),s=l(53991),r=l(45113);let d=r.forwardRef(function(e,a){let{title:l,titleId:o,...t}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":o},t),l?r.createElement("title",{id:o},l):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});var c=l(991),u=l(34597),m=l(89910);let h=r.forwardRef(function(e,a){let{title:l,titleId:o,...t}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":o},t),l?r.createElement("title",{id:o},l):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.893 13.393-1.135-1.135a2.252 2.252 0 0 1-.421-.585l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.212.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.655-.261a2.25 2.25 0 0 1-1.383-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.411-2.353a2.25 2.25 0 0 0 .286-.76m11.928 9.869A9 9 0 0 0 8.965 3.525m11.928 9.868A9 9 0 1 1 8.965 3.525"}))});var _=l(37318),p=l(39279),v=l(1440),k=l(23688),C=l(66935),b=l(58754),j=l(98692),x=l(66069),M=l(36441),f=l(77059),g=l(43895),N=l.n(g),T=l(60476),A=l(42409),w=e=>{let{open:a=!1,onClose:l=()=>{},mobile:g="",country:w=x.Cv.IN,cameFrom:I=x.Lc.LOGIN}=e,[Z,E]=(0,r.useState)(""),[y,S]=(0,r.useState)(""),[B,O]=(0,r.useState)(!1),[P,Y]=(0,r.useState)(!1),[D,L]=(0,r.useState)({name:"",email:!1}),Q=async()=>{if(B){l();return}let e=(0,M.JK)(Z,!0),a=!(0,C.oH)(y);if(L({name:e,email:!a}),e||!a)return;Y(!0),j.x.helpSubmitClick({came_from:I,user_country_code:w,user_number:g,user_email:y,user_name:Z});let o=new FormData;o.append("name",Z),o.append("phone",g),o.append("subject","OTP not Received or not Working"),o.append("message","OTP not received on SMS"),o.append("organizationId","65c99dcf0499af0018cc716a"),o.append("email",y),o.append("countryCode",w);try{await (0,f.Tp)(o),O(!0)}catch(e){A.default.error((null==e?void 0:e.message)||"Something went wrong")}Y(!1)},W=!B&&(!Z||!y||P);return(0,o.jsxs)(s.Dialog,{className:N().modal,open:a,onClose:l,children:[(0,o.jsx)("div",{className:N().modalOverlay,"aria-hidden":"true"}),(0,o.jsxs)("div",{className:N().modalContainer,children:[(0,o.jsx)("div",{className:N().mobileCloseHandle,children:(0,o.jsx)(_.Z,{height:32,className:N().mobileCloseIcon,onClick:l})}),(0,o.jsx)(s.Dialog.Panel,{className:N().modalPanel,children:(0,o.jsxs)("div",{className:N().modalContent,children:[(0,o.jsx)(_.Z,{height:24,className:N().desktopCloseIcon,onClick:l}),B?(0,o.jsxs)("div",{className:N().successContainer,children:[(0,o.jsx)(p.Z,{width:72,color:"#6FBA47"}),(0,o.jsx)(t.Z,{weight:"bold",variant:"heading2",children:"Report Submitted"}),(0,o.jsx)(t.Z,{variant:"regular",className:N().successMessage,children:"Thank You for contacting us. Please check your E-Mail for the response"})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:N().headerContainer,children:(0,o.jsxs)(t.Z,{variant:"heading4",weight:"semi-bold",className:N().headerTitle,children:[(0,o.jsx)(v.Z,{className:N().desktopQuestionMark}),(0,o.jsx)("div",{className:N().mobileQuestionMark,children:(0,o.jsx)(k.default,{src:T.j7,width:60,height:60,alt:"Question-mark"})}),"OTP not received on SMS?"]})}),(0,o.jsxs)("div",{className:N().formContainer,children:[(0,o.jsxs)("div",{className:N().inputContainer,children:[(0,o.jsx)(n.Z,{fullWidth:!0,label:"Your Name",name:"name",value:Z,onChange:e=>{var a;let l=null==e?void 0:null===(a=e.target)||void 0===a?void 0:a.value;E(l),(null==D?void 0:D.name)&&L(e=>({...e,name:(0,M.JK)(l,!0)}))},placeholder:"Your Name",preIcon:(0,o.jsx)(d,{className:N().inputIcon,color:"#5E6166"}),error:!!(null==D?void 0:D.name)}),(null==D?void 0:D.name)&&(0,o.jsxs)("div",{className:N().errorMessage,children:[(0,o.jsx)(c.Z,{width:14,color:"#BF2734"}),(0,o.jsx)(t.Z,{component:"span",color:"#bf2734",children:null==D?void 0:D.name})]})]}),(0,o.jsxs)("div",{className:N().inputContainer,children:[(0,o.jsx)(n.Z,{fullWidth:!0,label:"Your Email",n
1ame:"email",value:y,onChange:e=>{var a;let l=null==e?void 0:null===(a=e.target)||void 0===a?void 0:a.value;S(l),(null==D?void 0:D.email)&&L(e=>({...e,email:!!(0,C.oH)(l)}))},placeholder:"Your Email",preIcon:(0,o.jsx)(u.Z,{className:N().inputIcon,color:"#5E6166"}),error:!!(null==D?void 0:D.email)}),(null==D?void 0:D.email)&&(0,o.jsxs)("div",{className:N().errorMessage,children:[(0,o.jsx)(c.Z,{width:14,color:"#BF2734"}),(0,o.jsx)(t.Z,{component:"span",color:"#bf2734",children:"Please enter valid email"})]})]}),(0,o.jsx)(n.Z,{fullWidth:!0,name:"mobile",value:g,placeholder:"Your Mobile",disabled:!0,preIcon:(0,o.jsx)(m.Z,{className:N().inputIcon,color:"#5E6166"})}),(0,o.jsx)(n.Z,{fullWidth:!0,name:"country",value:w,placeholder:"Your Country",disabled:!0,preIcon:(0,o.jsx)(h,{className:N().inputIcon,color:"#5E6166"})})]})]}),(0,o.jsx)("div",{className:(0,b.cn)(N().footerContainer,{[N().footerCenter]:B}),children:(0,o.jsx)(i.Z,{variant:"primary",className:(0,b.cn)({[N().submitButton]:!W,[N().submitButtonDisabled]:W}),disabled:W,loading:P,type:"submit",onClick:Q,children:B?"OK":"Submit"})})]})})]})]})}},43895:function(e){e.exports={modal:"AuthTicketModal_modal__ebEAt",modalOverlay:"AuthTicketModal_modalOverlay__o1jz7",modalContainer:"AuthTicketModal_modalContainer__LuI8n",mobileCloseHandle:"AuthTicketModal_mobileCloseHandle__2w00X",mobileCloseIcon:"AuthTicketModal_mobileCloseIcon__tN949",modalPanel:"AuthTicketModal_modalPanel__6GMIU",modalContent:"AuthTicketModal_modalContent__r0AxY",desktopCloseIcon:"AuthTicketModal_desktopCloseIcon__3Rp8p",successContainer:"AuthTicketModal_successContainer__s_X62",successMessage:"AuthTicketModal_successMessage__nX8pl",headerContainer:"AuthTicketModal_headerContainer__671op",headerTitle:"AuthTicketModal_headerTitle__rNfiG",formContainer:"AuthTicketModal_formContainer__ze3r7",inputContainer:"AuthTicketModal_inputContainer__gVUlV",footerContainer:"AuthTicketModal_footerContainer__GUGrK",footerCenter:"AuthTicketModal_footerCenter__YqkVc",submitButton:"AuthTicketModal_submitButton__C6__Z",submitButtonDisabled:"AuthTicketModal_submitButtonDisabled___1KDA",desktopQuestionMark:"AuthTicketModal_desktopQuestionMark__PdrYd",mobileQuestionMark:"AuthTicketModal_mobileQuestionMark__dGwd0",inputIcon:"AuthTicketModal_inputIcon__Vwhnk",errorMessage:"AuthTicketModal_errorMessage__ToFaq"}}}]); 2//# sourceMappingURL=384.f44de39cc899b4a0.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.