PageSourceSearch

https://www.regenesys.net/_next/static/chunks/2094.638f5d2c8c9b58df.js

js regenesys.net collected 2026-09-24 19:17:43 UTC 3,666 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1027,2094,3408,6069,8646],{16069:(e,t,r)=>{r.d(t,{NY:()=>i,OO:()=>s,w$:()=>l});var o=r(78028);let n=async(e,t,r)=>{let o=new AbortController,n=setTimeout(()=>o.abort(),r);try{let r=await fetch(e,{...t,signal:o.signal});return clearTimeout(n),r}catch(e){throw clearTimeout(n),e}},a=e=>e.trim().toLowerCase().replace(/_/g,"-"),l=async e=>{try{let t="https://rbs-cms.digitalregenesys.com/";if(!t)return null;let r=e?"?locale=".concat(encodeURIComponent(e)):"",o="".concat(t,"api/school-of-ai").concat(r),l=await n(o,{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"},1e4);if(!l.ok)return null;let i=await l.json();if(!i||"object"!=typeof i)return null;let s=null==e?void 0:e.trim();if(s){let e=a(s),t=a("en"),r=function(e){let t=null==e?void 0:e.data;if(!t||"object"!=typeof t)return null;if("string"==typeof t.locale&&t.locale.trim())return t.locale;let r=t.attributes;if(r&&"object"==typeof r&&"string"==typeof r.locale&&r.locale.trim())return r.locale;let o=t.meta;if(o&&"object"==typeof o&&"string"==typeof o.locale&&o.locale.trim())return o.locale;let n=null==e?void 0:e.meta;return n&&"object"==typeof n&&"string"==typeof n.locale&&n.locale.trim()?n.locale:null}(i);if(r&&e!==t&&a(r)!==e)return null}return i}catch(e){return"AbortError"===e.name||e instanceof TypeError,null}},i=async(e,t)=>{try{let r="https://rbs-cms.digitalregenesys.com/";if(!r)return null;let o=async o=>{let a=o&&t?"&locale=".concat(encodeURIComponent(t)):"",l="".concat(r,"api/school-of-ai-modal-popups?filters[slug][$eq]=").concat(e).concat(a),i=await n(l,{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"},1e4);if(!i.ok)return null;let s=await i.json();return s&&s.data&&Array.isArray(s.data)&&0!==s.data.length?s.data[0]:null};if(t){let e=await o(!0);if(e)return e}return await o(!1)}catch(e){return"AbortError"===e.name||e instanceof TypeError,null}},s=async e=>{try{let t,r="https://rbs-cms.digitalregenesys.com/",n={data:{name:e.name,phone_number:e.phone_number,study_mode:e.study_mode||null,email:e.email,program_of_interest:e.program_of_interest,highest_qualification:e.highest_qualification||null,designation:e.designation||null,organisation:e.organisation||null,registration_form_category:e.registration_form_category,location:e.location||null,page_type:e.page_type||null,work_email:e.work_email||null,interest_type:e.interest_type||null,industry_sector:e.industry_sector||null,other_industry:e.other_industry||null,proposed_topic:e.proposed_topic||null,additional_comments:e.additional_comments||null,proposed_collaboration_details:e.proposed_collaboration_details||null,partnership_interest_types:e.partnership_interest_types||null}};try{t=await o.A.post(r?"".concat(r,"api/school-user-datas"):"/api/school-user-data",n,{headers:{"Content-Type":"application/json"},timeout:1e4})}catch(e){throw e}return{success:!0,data:t.data}}catch(e){var t,r,n;if("AbortError"===e.name||"ECONNABORTED"===e.code)return{success:!1,error:"Request timed out"};if(e instanceof TypeError)return{success:!1,error:"Network error"};if(!o.A.isAxiosError(e))return{success:!1,error:"An unexpected error occurred"};return{success:!1,error:(null==(n=e.response)||null==(r=n.data)||null==(t=r.error)?void 0:t.message)||e.message||"Failed to submit registration"}}}},73408:(e,t,r)=>{r.d(t,{A:()=>n});var o=r(14232);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:960,[t,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=()=>{r(window.innerWidth<=e)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),t}}}]);

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.