PageSourceSearch

https://www.ubelong.ai/_next/static/chunks/app/layout-e83e5d992691b218.js?dpl=dpl_9xZ8pNoQ9Q563x56yB5Ff2g3xBGK

js ubelong.ai collected 2026-10-05 13:10:01 UTC 5,070 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{495:(e,t,n)=>{"use strict";n.d(t,{default:()=>h});var r=n(23219),o=n(37768),a=n(12574),s=n(58270),i=n(37188);let c=i.env.NEXT_PUBLIC_POSTHOG_KEY,u=i.env.NEXT_PUBLIC_POSTHOG_HOST||"https://app.posthog.com",l=null,d=0;async function m(e){var t;let{default:r}=await n.e(4646).then(n.bind(n,12148));d===e&&(null==(t=(0,a.Xj)())?void 0:t.analytics)===!0&&(0,s.K)(window.location.pathname)&&(r.__loaded||r.init(c,{api_host:u,capture_pageview:!1,capture_pageleave:!1,autocapture:!1,disable_session_recording:!0,persistence:"localStorage",opt_out_capturing_by_default:!0,opt_out_persistence_by_default:!0}),l=r,r.opt_in_capturing({captureEventName:!1}),r.capture("$pageview",{$current_url:window.location.origin+window.location.pathname}))}function h(){let e=(0,o.usePathname)();return(0,r.useEffect)(()=>{if(!c)return;let t=()=>{var t;let n=++d;(0,s.K)(e)&&(null==(t=(0,a.Xj)())?void 0:t.analytics)===!0?m(n).catch(()=>{}):(l&&(l.opt_out_capturing(),l.reset(),l=null),(0,a.k3)())};return t(),window.addEventListener(a.YE,t),()=>{++d,window.removeEventListener(a.YE,t)}},[e]),null}},12574:(e,t,n)=>{"use strict";n.d(t,{Pq:()=>o,Xj:()=>a,YE:()=>r,eD:()=>s,k3:()=>i});let r="ub-consent-changed",o="ub-cookie-prefs-open";function a(){if("undefined"==typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)ub_consent=([^;]*)/);if(!e)return null;try{let t=JSON.parse(decodeURIComponent(e[1]));if("boolean"!=typeof(null==t?void 0:t.analytics)||1!==t.version)return null;return t}catch(e){return null}}function s(e){let t={analytics:e,ts:Date.now(),version:1};document.cookie="".concat("ub_consent","=").concat(encodeURIComponent(JSON.stringify(t)))+"; max-age=".concat(31536e3,"; path=/; samesite=lax; secure"),window.dispatchEvent(new CustomEvent(r,{detail:t}))}function i(){try{for(let e of[localStorage,sessionStorage])for(let t of Object.keys(e))(t.startsWith("ph_")||t.startsWith("__ph_"))&&e.removeItem(t)}catch(e){}for(let e of document.cookie.split(/;\s*/)){let t=e.split("=")[0];t.startsWith("ph_")&&(document.cookie="".concat(t,"=; max-age=0; path=/"),document.cookie="".concat(t,"=; max-age=0; path=/; domain=.").concat(location.hostname))}}},29965:e=>{e.exports={style:{fontFamily:"'Fraunces', 'Fraunces Fallback'",fontStyle:"normal"},className:"__className_eb41fe",variable:"__variable_eb41fe"}},37768:(e,t,n)=>{"use strict";var r=n(67576);n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},46468:e=>{e.exports={style:{fontFamily:"'Figtree', 'Figtree Fallback'",fontStyle:"normal"},className:"__className_2ca027",variable:"__variable_2ca027"}},47447:()=>{},50376:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(23219),o=n(37188);let a="https://apiv2.ubelong.ai",s=o.env.NEXT_PUBLIC_SENTRY_DSN,i=0;function c(e,t,n){if(a&&!(i>=5)){i+=1;try{fetch("".concat(a,"/api/telemetry/client-error"),{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({surface:"web",kind:e,message:String(t).slice(0,500),stack:n?String(n).slice(0,4e3):void 0,url:window.location.pathname.slice(0,300)})})}catch(e){}}}function u(){return(0,r.useEffect)(()=>{let e=e=>{var t;return c("window_error",e.message||"unknown error",null==(t=e.error)?void 0:t.stack)},t=e=>{let t=e.reason;c("unhandled_rejection",t instanceof Error?t.message:String(null!=t?t:"unknown rejection"),t instanceof Error?t.stack:void 0)};return window.addEventListener("error",e),window.addEventListener("unhandledrejection",t),s&&Promise.all([n.e(698),n.e(4004),n.e(4354)]).then(n.bind(n,40813)).then(e=>e.init({dsn:s,tracesSampleRate:0,sendDefaultPii:!1})).catch(()=>{}),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",t)}},[]),null}},58270:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,q:()=>a});let r=new Set(["/","/about","/contact","/how-it-works","/outcomes","/privacy","/schools","/support","/terms","/trust","/guides"]);function o(e){let t=(e||"/").replace(/\/$/,"")||"/";return r.has(t)||t.startsWith("/guides/")||t.startsWith("/solutions/")||/^\/(in|sg)(\/|$)/.test(t)}function a(e){let t=(e||"").match(/^\/(in|sg)(\/|$)/);return t?t[1]:null}},61965:()=>{},66290:(e,t,n)=>{Promise.resolve().then(n.bind(n,495)),Promise.resolve().then(n.bind(n,81182)),Promise.resolve().then(n.bind(n,50376)),Promise.resolve().then(n.t.bind(n,47447,23)),Promise.resolve().then(n.t.bind(n,29965,23)),Promise.resolve().then(n.t.bind(n,46468,23)),Promise.resolve().then(n.t.bind(n,61965,23))},81182:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(23219);function o(){return(0,r.useEffect)(()=>
1{"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").catch(()=>{})},[]),null}}},e=>{e.O(0,[8396,301,9507,7358],()=>e(e.s=66290)),_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.