PageSourceSearch

https://www.cerebrarn.com/_next/static/chunks/890-c500a4edba6a16f4.js

js cerebrarn.com collected 2026-10-02 01:25:31 UTC 7,454 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[890],{4880:(e,t,s)=>{s.d(t,{A:()=>i});var l=s(7876),r=s(4232);s(8230);var a=s(9099);let i=e=>{let t=(0,a.useRouter)(),[s,i]=(0,r.useState)(!1),[n,c]=(0,r.useState)(""),[o,d]=(0,r.useState)([]),[m,h]=(0,r.useState)("HOME"),[u,p]=(0,r.useState)("");function x(){var e=navigator.userAgent||navigator.vendor||window.opera;console.log(e),/windows phone/i.test(e)&&window.open("https://play.google.com/store/apps/details?id=com.cerebrarn.app","_blank"),/android/i.test(e)&&window.open("https://play.google.com/store/apps/details?id=com.cerebrarn.app","_blank"),/iPad|iPhone|iPod/.test(e)&&!window.MSStream&&window.open("https://apps.apple.com/app/cerebra-rn/id6517356227","_blank")}return(0,l.jsx)("nav",{className:"flex justify-center  md:h-[60px] min-h-max ".concat(s?"h-auto":"h-16","  bg-white w-full z-50 md:p-0 p-3"),children:(0,l.jsx)("div",{className:"flex md:max-w-7xl mx-auto w-full justify-between items-center ",children:(0,l.jsxs)("div",{className:" items-center justify-center  w-full  grid md:grid-cols-5 grid-cols-1",children:[(0,l.jsx)("div",{className:"flex justify-left items-center w-full md:hidden",children:(0,l.jsx)("img",{className:"md:h-[80px] h-[50px] md:w-[80px] w-[50px] object-contain cursor-pointer -ml-3",src:"/Logo.png",onClick:()=>t.push("/")})}),(0,l.jsx)("div",{className:"md:hidden flex md:order-2  justify-end w-full",children:(0,l.jsxs)("button",{onClick:()=>i(!s),"data-collapse-toggle":"navbar-sticky",type:"button",className:"inline-flex self-end items-center p-2 text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 ","aria-controls":"navbar-sticky","aria-expanded":"false",children:[(0,l.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,l.jsx)("svg",{className:"w-6 h-6","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"})})]})}),(0,l.jsx)("div",{className:"justify-end items-end  w-full  flex  col-span-4 md:hidden",children:(0,l.jsx)("div",{className:"flex-1   md:block pb-0 md:mt-0 ".concat(s?"block":"hidden"),children:(0,l.jsxs)("ul",{className:"flex justify-end md:items-center flex-col p-2 mt-1 md:h-20 rounded-lg bg-custom-theme  md:flex-row md:space-x-12 md:mt-0 md:text-sm md:font-medium md:border-0  md:pl-0 pl-3",children:[[{href:"#hero",title:"HOME",sub:!1},{href:"#about",title:"ABOUT",sub:!1},{href:"/blog",title:"BLOG",sub:!1},{href:"#features",title:"FEATURES",sub:!1},{href:"/events",title:"EVENTS",sub:!1},{href:"#practice-quiz",title:"TAKE TEST",sub:!1},{href:"#Contact",title:"CONTACT",sub:!1}].map((e,r)=>(0,l.jsx)("li",{children:(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("div",{className:"group ",children:(0,l.jsx)("div",{className:"md:h-16 h-10 flex items-center",children:(0,l.jsx)("div",{onClick:()=>{if(e.href.startsWith("/"))t.push(e.href);else if("/"===t.pathname){var l=document.querySelector(e.href);null==l||l.scrollIntoView({behavior:"smooth",block:"start"})}else t.push("/"+e.href);i(!s),h(e.title)},className:"block md:text-xl  font-semibold text-sm py-1  justify-self  pl-0  text-black   md:text-center cursor-pointer","aria-current":"page",children:e.title})})})})},r)),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:"text-white font-semibold uppercase bg-black h-12 w-32 rounded-[5px]",onClick:x,children:"Download"})})]})})}),(0,l.jsx)("div",{className:"justify-start items-start  w-full  md:flex  hidden col-span-2 md:pl-5 ",children:(0,l.jsx)("div",{className:"flex-1   md:block pb-0 md:mt-0 ".concat(s?"block":"hidden"),children:(0,l.jsx)("ul",{className:"flex justify-start md:items-center flex-col p-2 mt-1 md:h-20 rounded-lg bg-custom-theme  md:flex-row md:space-x-12 md:mt-0 md:text-sm md:font-medium md:border-0  md:pl-0 pl-3",children:[{href:"#home",title:"HOME",sub:!1},{href:"#about",title:"ABOUT",sub:!1},{href:"#features",title:"FEATURES",sub:!1}].map((e,r)=>(0,l.jsx)("li",{children:(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("div",{className:"group ",children:(0,l.jsx)("div",{className:"md:h-16 h-10 flex items-center",children:(0,l.jsx)("div",{onClick:()=>
1{if("/"===t.pathname){var l=document.querySelector(e.href);null==l||l.scrollIntoView({behavior:"smooth",block:"start"})}else t.push("/"+e.href);i(!s),h(e.title)},className:"block md:text-xl  font-semibold text-sm py-1  justify-self  pl-0  text-black   md:text-center cursor-pointer","aria-current":"page",children:e.title})})})})},r))})})}),(0,l.jsx)("div",{className:"md:flex justify-center items-center w-full hidden ",children:(0,l.jsx)("div",{className:"w-[200px] h-[90px] bg-white rounded-[5px] shadow-lg flex justify-center items-center",children:(0,l.jsx)("img",{className:"h-[80px] w-[80px] object-contain cursor-pointer",src:"/Logo.png",onClick:()=>t.push("/")})})}),(0,l.jsx)("div",{className:"justify-end items-end  w-full  md:flex  col-span-2 hidden",children:(0,l.jsx)("div",{className:"flex-1   md:block pb-0 md:mt-0 ".concat(s?"block":"hidden"),children:(0,l.jsxs)("ul",{className:"flex justify-end md:items-center flex-col p-2 mt-1 md:h-20 rounded-lg bg-custom-theme  md:flex-row md:space-x-12 md:mt-0 md:text-sm md:font-medium md:border-0  md:pl-0 pl-3",children:[[{href:"/blog",title:"BLOG",sub:!1},{href:"/events",title:"EVENTS",sub:!1},{href:"#practice-quiz",title:"TAKE TEST",sub:!1}].map((e,r)=>(0,l.jsx)("li",{children:(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("div",{className:"group ",children:(0,l.jsx)("div",{className:"md:h-16 h-10 flex items-center",children:(0,l.jsx)("div",{onClick:()=>{if(e.href.startsWith("/"))t.push(e.href);else if("/"===t.pathname){var l=document.querySelector(e.href);null==l||l.scrollIntoView({behavior:"smooth",block:"start"})}else t.push("/"+e.href);i(!s),h(e.title)},className:"block md:text-xl  font-semibold text-sm py-1  justify-self  pl-0  text-black   md:text-center cursor-pointer","aria-current":"page",children:e.title})})})})},r)),(0,l.jsx)("li",{children:(0,l.jsx)("button",{className:"text-white font-semibold uppercase bg-black h-12 w-32 rounded-[5px]",onClick:x,children:"Download"})})]})})})]})})})}},6009:(e,t,s)=>{s.d(t,{q:()=>r});let l="https://api.primaxtrading.com/v1/api",r={async getActiveEvents(){try{let e=await fetch("".concat(l,"/public/events"),{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"}),t=await e.json();if(!e.ok)throw Error(t.message||"Failed to fetch events");return t.data||t}catch(e){throw Error(e.message||"Unable to connect to server.")}},async getEventById(e){try{let t=await fetch("".concat(l,"/public/events/").concat(e),{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"}),s=await t.json();if(!t.ok)throw Error(s.message||"Event not found");return s.data||s}catch(e){throw Error(e.message||"Unable to connect to server.")}},async registerInterest(e,t){try{let s=await fetch("".concat(l,"/public/events/").concat(e,"/register-interest"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await s.json();if(!s.ok)throw Error(r.message||"Failed to register interest");return r.data||r}catch(e){throw Error(e.message||"Unable to connect to server.")}}}}}]);

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.