1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6527],{15829:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/abic/ContactUs",function(){return n(43326)}])},11983:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});let s={validateEmail:function(e){let t=o(e);if(!t)return"Email is required";if(!c.test(t))return"Invalid email";if(l(t.split("@")[1]||""))return"Email domain looks suspicious";if(t.length>254)return"Email too long";let[n]=t.split("@");return n.length>64?"Local part too long":null},validatePhone10:function(e){let t=(e||"").replace(/\D/g,"");return t?10!==t.length?"Enter 10 digit mobile number":/^[6-9]/.test(t)?/^(\d)\1{9}$/.test(t)?"Mobile cannot be all same digits":null:"Mobile must start with 6-9":"Mobile number is required"},sanitizeSafeText:function(e){return(e||"").replace(/[^a-zA-Z0-9\s.,\-_/()@&:]/g,"")},sanitizeMessage:function(e){return(e||"").replace(/[<>`"'\\]/g,"")},validateRequired:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,s=(t||"").trim();return s?s.length>n?"".concat(e," must be ⤠").concat(n," chars"):null:"".concat(e," is required")}},r=new Set(["exe","msi","bat","cmd","scr","ps1","vbs","js","jse","jar","dll","sys","apk","zip","rar","7z","tar","gz","bz2","xz","tgz","tbz2","zst","jpg","jpeg","png","gif","bmp","svg","webp","avi","mp4","mkv","mov","mp3","wav","flac","pdf","doc","docx","xls","xlsx","ppt","pptx","rtf","php","py","rb","c","cpp","h","go","ts","tsx","sh"]),i=new Set(["tar.gz","tar.bz2","tar.xz"]),c=/^[_a-zA-Z0-9]+(\.[_a-zA-Z0-9-+]+)*(\+[a-zA-Z0-9-]+)?@[A-Za-z0-9-]+\.[A-Za-z]{2,4}$/,o=e=>(e||"").trim().toLowerCase(),l=e=>{let t=(e||"").split(".").filter(Boolean);if(0===t.length)return!0;let n=t.slice(-2).join(".").toLowerCase();return!!i.has(n)||t.some(e=>r.has(e.replace(/^\.+/,"").toLowerCase()))}},42063:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var s=n(85893);n(67294);var r=n(31607);function i(){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(r.Z,{className:"preloader",type:"Puff",color:"#00BFFF",height:100,width:100})})}},43326:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var s=n(85893),r=n(67294),i=n(43344),c=n(20907),o=n(72132),l=n(42063),a=n(62532);n(50441);var m=n(50450),u=n(98865),d=n(11163),g=n(92814),h=n(51436),x=n(9008),f=n.n(x),v=n(11983);function p(){let[e,t]=(0,r.useState)(!1);(0,d.useRouter)();let n="26.283333",x="75.466667";(0,r.useEffect)(()=>{b()},[]);let[p,j]=(0,r.useState)([]),b=async()=>{try{t(!0),a.J.getAbicContactUs({headers:{}}).then(e=>{t(!1);let n=null==e?void 0:e.data;!0===n.status&&j(null==n?void 0:n.object)}).catch(e=>{var n,s;console.log(e),o.Am.dismiss(),o.Am.error(null===(s=e.response)||void 0===s?void 0:null===(n=s.data)||void 0===n?void 0:n.message),t(!1)})}catch(s){var e,n;console.log(s),o.Am.dismiss(),o.Am.error(null===(n=s.response)||void 0===n?void 0:null===(e=n.data)||void 0===e?void 0:e.message),t(!1)}},N={name:"",address:"",mobile:"",email:"",msg:"",tinNo:"",gstNo:"",panNo:""},[C,y]=(0,r.useState)(N),Z=e=>{let t={...C},{name:n,value:s}=e.target;"email"===n?t[n]=(s||"").trim().toLowerCase():"mobile"===n?t[n]=(s||"").replace(/\D/g,"").slice(0,10):"name"===n?t[n]=(s||"").replace(/[^A-Za-z\s]/g,"").slice(0,25):"address"===n?t[n]=v.i.sanitizeSafeText(s).slice(0,100):"msg"===n?t[n]=v.i.sanitizeMessage(s).slice(0,1e3):t[n]=s,y(t)},A=function(){y(()=>N),S(""),P()},[w,R]=(0,r.useState)(""),[I,S]=(0,r.useState)(""),P=()=>{let e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1","2","3","4","5","6","7","8","9","0","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","!","@","#","$","%","^","&","*","+"],t=()=>e[Math.floor(Math.random()*e.length)];R(t()+t()+t()+t()+t()+t())};function E(){P(),S("")}(0,r.useEffect)(()=>{P()},[]);let _=()=>{let e=v.i.validateRequired("Name",C.name,25);if(e)return o.Am.dismiss(),o.Am.error(e),!1;let t=v.i.validateEmail(C.email);if(t)return o.Am.dismiss(),o.Am.error(t),!1;let n=v.i.validatePhone10(C.mobile);if(n)return o.Am.dismiss(),o.Am.error(n),!1;let s=v.i.validateRequired("Address",C.address,100);if(s)return o.Am.dismiss(),o.Am.error(s),!1;let r=v.i.validateRequired("Message",C.msg,1e3);return!r||(o.Am.dismiss(),o.Am.error(r),!1)},F=async e=>{if(e.preventDefault(),o.Am.dismiss(),w!==I){E(),o.Am.error("Please enter a valid captcha"),t(!1);return}if(!_()){E(),t(!1);return}let n={...C};try{t(!0),u.t.postContentFbcQuery(n).then(e=>{t(!1);let n=null==e?void 0:e.data;if(!0===n.status){var s;o.Am.dismiss(),o.Am.success(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.message),A(),sessionStorage.setItem("enquiry","1"),E()}}).catch(e=>{var n,s;console.log(e),o.Am.dismiss(),o.Am.error(null===(s=e.response)||void 0===s?void 0:null===(n=s.data)||void 0===n?void 0:n.message),t(!1),E()})}catch(e){var s,r;console.log(e),o.Am.dismiss(),o.Am.error(null===(r=e.response)||void 0===r?void 0:null===(s=r.data)||void 0===s?void 0:s.message),t(!1),E()}},[k,z]=(0,r.useState)(null),[T,L]=(0,r.useState)("");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(f(),{children:[(0,s.jsx)("link",{rel:"icon",href:"/cswri-logo.jpg"}),(0,s.jsx)("title",{children:"CSWRI | Abic | Contact Us"})]}),e?(0,s.jsx)(l.Z,{}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(i.Z,{active:"ContactUs"}),(0,s.jsxs)("div",{className:"Abicbackdrop",children:[(0,s.jsx)("section",{className:"",children:(0,s.jsx)("div",{className:"container-fluid",style:{backgroundImage:"url(../aboutBg.jpg)"},children:(0,s.jsx)("div",{className:" pt-[50px] p-[70px] text-[2.5rem] text-center",children:(0,s.jsx)("p",{style:{fontWeight:600,color:"#fff"},children:"Contact Us"})})})}),(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"container mx-auto mt-20",children:(0,s.jsxs)("div",{className:"flex justify-around flex-wrap",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center w-1/4 sm:w-1/5",children:[(0,s.jsx)("div",{className:"icnBx",children:(0,s.jsx)(g.G,{icon:h.FGq,className:"w-10 h-10 mt-1 -ml-1"})}),(0,s.jsx)("h4",{className:"text-center font-medium cstm-montesret",children:"ADDRESS"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center w-1/4 sm:w-1/5",children:[(0,s.jsx)("div",{className:"icnBx bg-cyan-500 flex items-center justify-center cstm-Roboto ",children:(0,s.jsx)(g.G,{icon:h.DOT,className:"w-10 h-10 mt-1 ml-1"})}),(0,s.jsx)("h4",{className:"text-center font-medium cstm-montesret",children:"PHONES"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center w-1/4 sm:w-1/5",children:[(0,s.jsx)("div",{className:"icnBx bg-blue-600 flex items-center justify-center cstm-montesret",children:(0,s.jsx)(g.G,{icon:h.FU$,className:"w-10 h-10 mt-1 ml-1"})}),(0,s.jsx)("h4",{className:"text-center font-medium cstm-montesret",children:"EMAIL"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center w-1/4 sm:w-1/5",children:[(0,s.jsx)("div",{className:"icnBx bg-indigo-600 flex items-center justify-center cstm-montesret",children:(0,s.jsx)(g.G,{icon:h.SZw,className:"w-10 h-10 mt-1 ml-1"})}),(0,s.jsx)("h4",{className:"text-center font-medium cstm-montesret",children:"WORKING HOURS"})]})]})})}),null==p?void 0:p.map((e,t)=>(0,s.jsx)(r.Fragment,{children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"row py-4",children:[(0,s.jsx)("div",{className:"col-sm",children:(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:"cstm-Roboto ",style:{textAlign:"center"},children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.address)||""}})})})}),(0,s.jsx)("div",{className:"col-sm cstm-Roboto ",children:(0,s.jsxs)("div",{children:[" ",(0,s.jsx)("p",{style:{textAlign:"center"},children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.phoneNo)||""}})})]})}),(0,s.jsx)("div",{className:"col-sm cstm-Roboto ",children:(0,s.jsx)("div",{children:(0,s.jsx)("p",{style:{textAlign:"center"},children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.email)||""}})})})}),(0,s.jsx)("div",{className:"col-sm cstm-Roboto ",children:(0,s.jsx)("div",{children:(0,s.jsx)("p",{style:{textAlign:"center"},children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.workingHours)||""}})})})})]})})},t)),null==p?void 0:p.map((e,t)=>0===t&&(0,s.jsx)(r.Fragment,{children:(0,s.jsx)("div",{className:"container px-[10%]",children:(0,s.jsxs)("div",{className:"row",style:{color:"blue",fontSize:"22px",fontWeight:"500"},children:[(0,s.jsxs)("div",{className:"col-sm",children:["GST No. : ",null==e?void 0:e.gstNo]}),(0,s.jsxs)("div",{className:"col-sm",children:["PAN No. : ",null==e?void 0:e.panNo]}),(0,s.jsxs)("div",{className:"col-sm",children:["TIN No. : ",null==e?void 0:e.tinNo]})]})})},"gst-"+t)),(0,s.jsx)("section",{className:" cntct-abic-query mx-[15%] my-[5%] contactsection",children:null==p?void 0:p.map((e,t)=>0===t&&(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)("div",{children:[" ",(0,s.jsx)("h2",{className:"text cstm-montesret ",style:{textAlign:"center",fontWeight:"600",fontSize:"1.5rem"},children:"Provide your Enquiry Details"}),(0,s.jsx)("div",{style:{borderTop:"5px solid indigo",margin:"0 38% 0 38%",marginBottom:"40px"}}),(0,s.jsx)("div",{className:"border-2 p-4 border-sky-600 rounded-lg block formcontact",children:(0,s.jsxs)("form",{onSubmit:e=>F(e),autoComplete:"off",style:{paddingTop:10},children:[(0,s.jsxs)(m.X2,{children:[(0,s.jsx)(m.JX,{md:12,children:(0,s.jsxs)(m.cw,{children:[(0,s.jsx)(m.__,{className:"cstm-calib ",children:"Name:"}),(0,s.jsx)("sup",{className:"required",children:" *"}),(0,s.jsx)(m.II,{placeholder:"First Name",className:"cstm-Roboto ",type:"text",name:"name",value:null==C?void 0:C.name,maxLength:25,onChange:Z,onKeyPress:e=>{/^[A-Za-z ]+$/.test(e.key)||"Enter"===e.key||e.preventDefault()},required:!0})]})}),(0,s.jsx)(m.JX,{md:12,children:(0,s.jsxs)(m.cw,{children:[(0,s.jsx)(m.__,{className:"cstm-Roboto ",children:"Email Id:"}),(0,s.jsx)("sup",{className:"required",children:" *"}),(0,s.jsx)(m.II,{className:"cstm-Roboto ",type:"email",placeholder:"Email",n
1ame:"email",maxLength:50,value:null==C?void 0:C.email,onChange:Z,required:!0})]})})]}),(0,s.jsx)(m.X2,{children:(0,s.jsx)(m.JX,{md:12,children:(0,s.jsxs)(m.cw,{children:[(0,s.jsx)(m.__,{className:"cstm-Roboto ",children:"Phone No:"}),(0,s.jsx)("sup",{className:"required",children:" *"}),(0,s.jsx)(m.II,{className:"cstm-Roboto ",placeholder:"Phone Number",type:"text",name:"mobile",value:null==C?void 0:C.mobile,onChange:Z,onKeyPress:e=>{/[0-9]/.test(e.key)||"Enter"===e.key||e.preventDefault()},minLength:"10",maxLength:"10",required:!0})]})})}),(0,s.jsx)(m.X2,{children:(0,s.jsx)(m.JX,{md:12,children:(0,s.jsxs)(m.cw,{children:[(0,s.jsx)(m.__,{className:"cstm-Roboto ",children:"Message:"}),(0,s.jsx)("sup",{className:"required",children:" *"}),(0,s.jsx)(m.II,{className:"cstm-Roboto ",type:"textarea",placeholder:"Message",name:"msg",maxLength:1e3,value:null==C?void 0:C.msg,onChange:Z,rows:5,required:!0})]})})}),(0,s.jsxs)(m.X2,{className:"align-items-end",children:[(0,s.jsxs)(m.JX,{md:"3",children:[(0,s.jsx)(m.__,{children:"Your Captcha"}),(0,s.jsx)("div",{className:"captcha_bg",children:w})]}),(0,s.jsx)(m.JX,{md:"1",className:"d-flex justify-content-md-end mt-2 mt-md-0",children:(0,s.jsx)(m.zx,{type:"button",className:"theme_btn login_btn captchaReset",onClick:E,title:"Reset Captcha",children:(0,s.jsx)(g.G,{icon:h.tmN})})}),(0,s.jsx)(m.JX,{md:"12",className:"mt-2",children:(0,s.jsxs)(m.cw,{children:[(0,s.jsx)(m.__,{children:"Enter Captcha"}),(0,s.jsx)(m.II,{type:"text",className:"xss-skip",placeholder:"Enter Captcha",value:I,onChange:e=>S(e.target.value),required:!0})]})})]}),(0,s.jsx)(m.zx,{label:"Submit",type:"submit",title:"Submit",severity:"success",style:{borderRadius:5,backgroundColor:"green",width:"100px",height:"40px",color:"white"},className:"cstm-Roboto ",children:"Submit"}),(0,s.jsx)(m.zx,{label:"reset",type:"reset",title:"Reset",severity:"success",onClick:A,style:{borderRadius:5,backgroundColor:"red",width:"100px",height:"40px",color:"white",marginLeft:"50px"},className:"cstm-Roboto ",children:"Reset"})]})})]})," "]},"form-"+t))}),null==p?void 0:p.map((e,t)=>0===t&&(0,s.jsx)(r.Fragment,{children:(0,s.jsxs)("section",{className:"mx-[0%] my-[0%]",children:[(0,s.jsxs)("div",{className:"container mb-3 text-center cstm-Roboto",children:[(0,s.jsx)("strong",{children:"Coordinates:"})," ",(null==e?void 0:e.latitude)||n,","," ",(null==e?void 0:e.longitude)||x]}),(0,s.jsx)("div",{className:"position-relative abiic",children:(0,s.jsx)("iframe",{src:"https://www.google.com/maps?q=".concat(encodeURIComponent("".concat((null==e?void 0:e.latitude)||n,",").concat((null==e?void 0:e.longitude)||x," ").concat("ICAR Central Sheep and Wool Research Institute Avikanagar Rajasthan")),"&z=15&output=embed"),allowFullScreen:!0,width:"100%",height:"400px",frameBorder:"0"})})]})},"map-"+t))]}),(0,s.jsx)(c.Z,{})]})}},98865:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var s=n(80480);let r="service/website",i={postContentFbcQuery:function(e){return(0,s.Z)().post("/service/contentFbcQuery/createOrUpdate",e)},getContentFarmerBusiness:function(e){return(0,s.Z)().get(r+"/contentFarmerBusiness",e)},getContentEventTraining:function(e){return(0,s.Z)().get(r+"/contentEventTraining",e)},getContentDirectorDesk:function(e){return(0,s.Z)().get(r+"/contentDirectorDesk",e)},getContentDirectorDeskImg:function(e){return(0,s.Z)().get(r+"/contentDirectorDeskImg",e)},getContentAnnouncement:function(e){return(0,s.Z)().get(r+"/contentAnnouncement",e)},getContentGallery:function(e){return(0,s.Z)().get(r+"/contentImageGallery",e)},getContentAllGallery:function(e){return(0,s.Z)().get(r+"/contentImageAllGallery",e)},getInstituteOfficials:function(e){return(0,s.Z)().get(r+"/contentInstituteOfficials",e)},getContentNewsEventImg:function(e){return(0,s.Z)().get(r+"/contentNewsEventImg",e)},getContentOfficeLinks:function(e){return(0,s.Z)().get(r+"/contentOfficeLinks",e)},getContentScreenReaderAccess:function(e){return(0,s.Z)().get(r+"/contentScreenReaderAccess",e)},getContentSliderImage:function(e){return(0,s.Z)().get(r+"/contentSliderImage",e)},getContentPublicInformationVigilance:function(e){return(0,s.Z)().get(r+"/contentPublicInformationVigilance",e)},getContentPublicInformationCsmd:function(e){return(0,s.Z)().get(r+"/contentPublicInformationCsmd",e)},getContentPublicInformationCpio:function(e){return(0,s.Z)().get(r+"/contentPublicInformationCpio",e)},getContentVideoGallery:function(e){return(0,s.Z)().get(r+"/contentVideoGallery",e)},getContentTechnologies:function(e){return(0,s.Z)().get(r+"/contentTechnology",e)},getContentPGResearchCell:function(e){return(0,s.Z)().get(r+"/contentPgResearchCell",e)},getContentPGTeachingFaculties:function(e){return(0,s.Z)().get(r+"/contentPgResearchTeaching",e)},getContentPGScholars:function(e){return(0,s.Z)().get(r+"/contentPgResearchScholars",e)},getContentPGScholarList:function(e){return(0,s.Z)().get(r+"/pgResearchScholarList",e)},getContentPgResearchImg:function(e){return(0,s.Z)().get(r+"/contentPgResearchImg",e)},getContentPgResearchMembers:function(e){return(0,s.Z)().get(r+"/contentPgResearchMembers",e)},getTechnologiesDetails:function(e){return(0,s.Z)().get(r+"/contentTechnology",e)},getContentTechnologiesImg:function(e){return(0,s.Z)().get(r+"/contentTechnologyImg",e)},getContentFbcExtraAchievements:function(e){return(0,s.Z)().get(r+"/contentFbcExtraAchievements",e)},getContentFbcExtraAchievementsImg:function(e){return(0,s.Z)().get(r+"/contentFbcExtraAchievementsImg",e)},getContentFbcPriceList:function(e){return(0,s.Z)().get(r+"/contentFbcPriceList",e)},getContentFbcApplicationAnimal:function(e){return(0,s.Z)().post(r+"/contentFbcApplicationAnimalCreateOrUpdate",e)},getContentOurReachRegionalStations:function(e){return(0,s.Z)().get(r+"/contentOurReachRegionalStations",e)},getContentOurReachNetworkProject:function(e){return(0,s.Z)().get(r+"/contentOurReachNetworkProject",e)},getContentOurReachHeadQuarters:c,getContentOurReachHeadQuarters:c,getContentGovernmentLinks:function(e){return(0,s.Z)().get(r+"/contentGovernmentLinks",e)},getContentMarquee:function(e){return(0,s.Z)().get(r+"/contentMarquee",e)},getContentEventTrainingImg:function(e){return(0,s.Z)().get(r+"/contentEventTrainingImg",e)},getNewsEvents:function(e){return(0,s.Z)().get(r+"/contentNewsEvent",e)},getContentWeather:function(e){return(0,s.Z)().get(r+"/contentWeather",e)},getContentPgStudentFaculty:function(e){return(0,s.Z)().get(r+"/contentPgStudentFaculty",e)},getContentPgScholar:function(e){return(0,s.Z)().get(r+"/contentPgResearchScholars",e)},applyforMentor:function(e){return(0,s.Z)().post("/service/abicEcosystemApplyForMentor/createOrUpdate",e)},saveFile:function(e){return(0,s.Z)().post(r+"/saveFileUrl",e)},deleteFile:function(e){return(0,s.Z)().get(r+"/deleteByUrl",e)},saveFileUrl:function(e){return(0,s.Z)().post(r+"/saveFileUrl",e)},getContentPastDirector:function(e){return(0,s.Z)().get("/contentPastDirectors/all",e)}
1,getContentVigilanceEvent:function(e){return(0,s.Z)().get(r+"/vigilanceEvent",e)},getContentBreedProfile:function(e){return(0,s.Z)().get(r+"/contentBreedProfile",e)}};function c(e){return(0,s.Z)().get(r+"/contentOurReachHeadQuarters",e)}},11163:function(e,t,n){e.exports=n(43079)}},function(e){e.O(0,[8523,260,2814,673,1664,1607,5675,6611,5731,907,331,2888,9774,179],function(){return e(e.s=15829)}),_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.