1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6986,6779,3647,4392,9644,5546,6107,253,9765],{13225:function(e,t,a){var r=a(20121),n=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(n,""):e}},20121:function(e){var t=/\s/;e.exports=function(e){for(var a=e.length;a--&&t.test(e.charAt(a)););return a}},68143:function(e,t,a){var r=a(36905),n=a(14752),i=a(71573),l=Math.max,o=Math.min;e.exports=function(e,t,a){var u,s,E,c,S,f,v=0,T=!1,A=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function d(t){var a=u,r=s;return u=s=void 0,v=t,c=e.apply(r,a)}function I(e){var a=e-f,r=e-v;return void 0===f||a>=t||a<0||A&&r>=E}function m(){var e,a,r,i=n();if(I(i))return O(i);S=setTimeout(m,(e=i-f,a=i-v,r=t-e,A?o(r,E-a):r))}function O(e){return(S=void 0,p&&u)?d(e):(u=s=void 0,c)}function _(){var e,a=n(),r=I(a);if(u=arguments,s=this,f=a,r){if(void 0===S)return v=e=f,S=setTimeout(m,t),T?d(e):c;if(A)return clearTimeout(S),S=setTimeout(m,t),d(f)}return void 0===S&&(S=setTimeout(m,t)),c}return t=i(t)||0,r(a)&&(T=!!a.leading,E=(A="maxWait"in a)?l(i(a.maxWait)||0,t):E,p="trailing"in a?!!a.trailing:p),_.cancel=function(){void 0!==S&&clearTimeout(S),v=0,u=f=s=S=void 0},_.flush=function(){return void 0===S?c:O(n())},_}},14752:function(e,t,a){var r=a(42242);e.exports=function(){return r.Date.now()}},71573:function(e,t,a){var r=a(13225),n=a(36905),i=a(71087),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,E=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return l;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var a=u.test(e);return a||s.test(e)?E(e.slice(2),a?2:8):o.test(e)?l:+e}},74750:function(e,t,a){Promise.resolve().then(a.bind(a,31013)),Promise.resolve().then(a.bind(a,25396)),Promise.resolve().then(a.bind(a,759)),Promise.resolve().then(a.bind(a,45911))},23698:function(e,t,a){"use strict";a.d(t,{U_:function(){return u},pE:function(){return o}});var r=a(31013),n=a(28651),i=a(84315),l=a(42884);n.tn,r.BorderColorBlue,r.BorderColorBlue,r.summitFeedbackColor;let o={".form-submit-button-wrapper":{...l.j2,...i.wzY,...i.A8I}},u={".form-submit-button-wrapper":{width:"100%"}}},759:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var r=a(57437),n=a(2265),i=a(50116),l=a(85952),o=a(23698),u=a(3045),s=a(72027),E=a(35691),c=a(31921);let S=e=>[{label:e("INDIA"),value:"India"},{label:e("AUSTRALIA"),value:"Australia"},{label:e("UNITED_STATES"),value:"United States"},{label:e("UNITED_KINGDOM"),value:"United Kingdom"}],f=e=>[{groupLabel:e("CLINICS"),groupValue:"Clinics",options:[{label:e("APPOINTMENT"),value:"Appointment"},{label:e("PAYMENT_INVOICE"),value:"Payment / Invoice"},{label:e("OTHER"),value:"Other"}]},{groupLabel:e("DIAGNOSTICS"),groupValue:"Diagnostics",options:[{label:e("LAB_TEST_REPORT"),value:"Lab Test Report"},{label:e("TEST_PACKAGE"),value:"Test Package"},{label:e("PAYMENT_INVOICE"),value:"Payment / Invoice"},{label:e("OTHER"),value:"Other"}]},{groupLabel:e("MAGAZINE_ARTICLES_HEALTHZINE"),groupValue:"Magazines / Articles / Healthzines",options:[{label:e("NEWSLETTER"),value:"Newsletter"},{label:e("PITCH_A_STORY"),value:"Pitch a Story"},{label:e("SUBSCRIPTION"),value:"Subscription"},{label:e("ADVERTISEMENT"),value:"Advertisement"},{label:e("PAYMENT_INVOICE"),value:"Payment / Invoice"},{label:e("OTHER"),value:"Other"}]},{groupLabel:e("SUMMITS"),groupValue:"Summits",options:[{label:e("GENERAL"),value:"General"}]},{groupLabel:e("CORPORATE_WELLNESS"),groupValue:"Corporate Wellness",options:[{label:e("GENERAL"),value:"General"}]},{groupLabel:e("GENERAL_OTHER_QUERIES"),groupValue:"General / Other Queries",options:[{label:e("POLICIES"),value:"Policies"},{label:e("CAREER"),value:"Career"},{label:e("OTHER"),value:"Other"}]}],v=(e,t,a)=>{let r=S(t),n=f(a);return[{name:"name",label:e("LABELS.NAME"),type:c.B.TEXT,required:!0,placeholder:e("PLACEHOLDERS.NAME_PLACEHOLDER"),validate:(0,E.Z_)().required(e("VALIDATION_MESSAGES.NAME_REQUIRED"))},{name:"email",label:e("LABELS.EMAIL"),type:c.B.TEXT,required:!0,placeholder:e("PLACEHOLDERS.EMAIL_PLACEHOLDER"),validate:(0,E.Z_)().email(e("VALIDATION_MESSAGES.EMAIL_ERROR")).required(e("VALIDATION_MESSAGES.EMAIL_FIELD_REQUIRED"))},{name:"office",label:e("LABELS.OFFICES"),type:c.B.SELECT,options:r,value:r[0].value,required:!0,validate:(0,E.Z_)().required(e("VALIDATION_MESSAGES.OFFICE_REQUIRED"))},{name:"topic",label:e("LABELS.TOPICS"),type:c.B.SELECT,grouped:!0,options:n,value:JSON.stringify({groupValue:n[0].groupValue,value:n[0].options[0].value}),required:!0,validate:(0,E.Z_)().required(e("VALIDATION_MESSAGES.TOPIC_REQUIRED"))},{name:"message",label:e("LABELS.MESSAGE"),type:c.B.TEXT,required:!0,multiline:!0,rows:4,placeholder:e("PLACEHOLDERS.TYPE_HERE"),validate:(0,E.Z_)().required(e("VALIDATION_MESSAGES.MESSAGE_REQUIRED"))}]};var T=a(68488),A=a(61413),p=a(90311),d=a(92747);let I=async(e,t)=>{try{return await (0,d.Z)("".concat(A.E5,"/").concat(p.aq,"?locale=").concat(t),{method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}})}catch(e){console.error(e)}};var m=e=>{let{locale:t,loginData:a}=e,E=(0,i.useTranslations)("CONTACT_US_OFFICES_LIST"),c=(0,i.useTranslations)("CONTACT_US_TOPICS_LIST"),S=(0,i.useTranslations)("FORMS"),f=(0,i.useTranslations)(""),[A,p]=(0,n.use
1State)({}),d=v(S,E,c),[m,O]=(0,n.useState)({status:!1,message:"",severity:"success"}),_=()=>{O({status:!0,message:f("CONTACT_US_FORM_SUBMIT_ERROR_MESSAGE"),severity:"error"})},L=()=>{O({status:!0,message:f("CONTACT_US_FORM_SUBMIT_SUCCESS_MESSAGE"),severity:"success"})},b=async(e,a)=>{let r={...e};if(e.office){let t=e.office,a="string"==typeof t?t:JSON.stringify(t);try{let e=JSON.parse(a);r.office=e.value}catch(e){r.office=a}}if(e.topic){let t=e.topic,a="string"==typeof t?t:JSON.stringify(t);try{let e=JSON.parse(a);r.topic="".concat(e.groupValue).concat(s.L0).concat(e.value)}catch(e){r.topic=a}}let n={...r,lang:t};try{let e=await I(n,t);e&&200===e.status?(L(),a({reset:!0})):_()}catch(e){_()}};return(0,n.useEffect)(()=>{p(a)},[]),d.forEach(e=>{if("email"===e.name&&(e.value=null==A?void 0:A.regEmail),"name"===e.name){let t=(null==A?void 0:A.firstName)||"",a=(null==A?void 0:A.lastName)||"";e.value="".concat(t," ").concat(a).trim()}}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T.Z,{schema:d,onSubmit:b,style:{...o.pE,...l.Dx},showSubmit:!0}),(0,r.jsx)(u.Z,{open:m.status,handleClose:()=>{O(e=>({...e,status:!1}))},message:m.message,severity:m.severity,variant:"filled"})]})}},3045:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(57437);a(2265);var n=a(31013);function i(e){let{open:t,handleClose:a,message:i,severity:l,hideDuration:o=3e3,variant:u="filled"}=e;return(0,r.jsx)(n.Snackbar,{open:t,autoHideDuration:o,onClose:a,message:i,children:(0,r.jsx)(n.Alert,{onClose:a,severity:l,variant:u,sx:{width:"100%"},children:i})})}},31921:function(e,t,a){"use strict";a.d(t,{B:function(){return r}});let r={TEXT:"text",NUMBER:"number",EMAIL:"email",PASSWORD:"password",DATE:"date",CHECKBOX:"checkbox",RADIO:"radio",SELECT:"select",CUSTOM:"custom"}},90311:function(e,t,a){"use strict";a.d(t,{aq:function(){return i},zf:function(){return n}});var r=a(72027);r.UDP;let n="".concat(r.UDP,"/headless/form"),i="/".concat(r.UDP,"/headless/form/contactus")}},function(e){e.O(0,[1958,9581,2212,4973,8218,1396,7815,1739,116,7775,8470,8579,8841,5903,286,956,3794,5568,6140,7189,6106,4315,7002,8488,2971,4938,1744],function(){return e(e.s=74750)}),_N_E=e.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.