PageSourceSearch

https://proxusacademy.com/_next/static/chunks/app/layout-6a51daef3…?dpl=dpl_bXCy2VWjD77SfgjiYRfXRaFwUnsU

js proxusacademy.com collected 2026-10-06 01:04:08 UTC 10,965 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{14106:function(e,t,n){Promise.resolve().then(n.bind(n,46786)),Promise.resolve().then(n.t.bind(n,4443,23)),Promise.resolve().then(n.bind(n,49051)),Promise.resolve().then(n.bind(n,35407)),Promise.resolve().then(n.bind(n,675)),Promise.resolve().then(n.bind(n,39178)),Promise.resolve().then(n.bind(n,30314)),Promise.resolve().then(n.t.bind(n,22225,23)),Promise.resolve().then(n.t.bind(n,65851,23))},46786:function(e,t,n){"use strict";n.d(t,{BlurProvider:function(){return s},u:function(){return i}});var a=n(83890),o=n(58496);let r=(0,o.createContext)();function s(e){let{children:t}=e,[n,s]=(0,o.useState)(!1);return(0,a.jsx)(r.Provider,{value:{blurEnabled:n,setBlurEnabled:s},children:t})}function i(){let e=(0,o.useContext)(r);if(!e)throw Error("useBlur must be used within a BlurProvider");return e}},49051:function(e,t,n){"use strict";var a=n(83890),o=n(58496),r=n(80659),s=n(86350),i=n(17766),c=n(35637);t.default=()=>((0,o.useEffect)(()=>{try{let e=e=>{try{i.LV(e)}catch(e){}},t=new MutationObserver(()=>{try{let t=window.location.pathname+window.location.search;window.lastPath!==t&&(e(t),window.lastPath=t)}catch(e){}});return t.observe(document,{subtree:!0,childList:!0}),window.lastPath=window.location.pathname+window.location.search,()=>{try{t.disconnect()}catch(e){}}}catch(e){}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.default,{strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?id=".concat(i.vt)}),(0,a.jsx)(c.default,{id:"google-analytics",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n            gtag('js', new Date());\n            gtag('config', '".concat(i.vt,"', {\n              page_path: window.location.pathname,\n            });\n          ")}}),(0,a.jsx)(r.c,{}),(0,a.jsx)(s.c,{})]}))},35407:function(e,t,n){"use strict";n.d(t,{default:function(){return s}});var a=n(83890),o=n(2721),r=n(58496);function s(e){let{children:t}=e;return(0,r.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/auth/session");await e.json()}catch(e){}})()},[]),(0,a.jsx)(o.SessionProvider,{children:t})}},675:function(e,t,n){"use strict";n.d(t,{default:function(){return r}});var a=n(58496);let o=()=>{var e,t,n,a;e=window,t=document,e.hj=e.hj||function(){(e.hj.q=e.hj.q||[]).push(arguments)},e._hjSettings={hjid:"5328789",hjsv:6},n=t.getElementsByTagName("head")[0],(a=t.createElement("script")).async=1,a.src="https://static.hotjar.com/c/hotjar-"+e._hjSettings.hjid+".js?sv="+e._hjSettings.hjsv,n.appendChild(a)};function r(){return(0,a.useEffect)(()=>{o()},[]),null}},39178:function(e,t,n){"use strict";var a=n(83890),o=n(58496),r=n(88779),s=n(2721),i=n(53492),c=n(39381),l=n.n(c),u=n(74397),d=n(7606),p=n(26966);let h=()=>{let e=(0,r.usePathname)(),{data:t}=(0,s.useSession)();return(0,o.useEffect)(()=>{var t,n;(null===p.Z||void 0===p.Z?void 0:null===(t=p.Z.crisp)||void 0===t?void 0:t.id)&&(i.fv.configure(p.Z.crisp.id),!p.Z.crisp.onlyShowOnRoutes||(null===(n=p.Z.crisp.onlyShowOnRoutes)||void 0===n?void 0:n.includes(e))||(i.fv.chat.hide(),i.fv.chat.onChatClosed(()=>{i.fv.chat.hide()})))},[e]),(0,o.useEffect)(()=>{var e,n;(null==t?void 0:t.user)&&(null===p.Z||void 0===p.Z?void 0:null===(e=p.Z.crisp)||void 0===e?void 0:e.id)&&i.fv.session.setData({userId:null===(n=t.user)||void 0===n?void 0:n.id})},[t]),null};t.default=e=>{let{children:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l(),{color:p.Z.colors.main,showSpinner:!1}),t,(0,a.jsx)(u.Toaster,{toastOptions:{duration:3e3}}),(0,a.jsx)(d.u,{id:"tooltip",className:"z-[60] !opacity-100 max-w-sm shadow-lg"}),(0,a.jsx)(h,{})]})}},30314:function(e,t,n){"use strict";n.d(t,{default:function(){return c}});var a=n(83890),o=n(58496),r=n(2721),s=n(23759),i=n(74397);function c(){let{data:e,status:t,update:n}=(0,r.useSession)(),[c,l]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[m,f]=(0,o.useState)(1),[v,g]=(0,o.useState)("");(0,o.useEffect)(()=>{(async()=>{if("authenticated"===t&&(null==e?void 0:e.user))try{let e=await fetch("/api/auth/session"),t=await e.json();if(t&&t.user){let e=void 0!==t.user.course,n=void 0!==t.user.source&&null!==t.user.source;h(!e||!n),e&&f(t.user.course),n&&g(t.user.source)}else h(!0)}catch(t){h(void 0===e.user.course||void 0===e.user.source||null===e.user.source)}})()},[t,e]),(0,o.useEffect)(()=>{let e;return p&&(e=setTimeout(()=>{l(!0)},7e3)),()=>{e&&clearTimeout(e)}},[p]);let x=async t=>{if(t.preventDefault(),!v){i.toast.error("Por favor, selecciona c\xf3mo nos conociste");return}d(!0);try{let t=await fetch("/api/user/update-profile",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({course:parseInt(m),source:v})});if(t.ok)await t.json(),await n({...e,user:{...e.user,course:parseInt(m),source:v}}),i.toast.success("Perfil actualizado correctamente"),l(!1),h(!1),setTimeout(()=>{window.location.reload()},1e3);else{let e=await t.json();i.toast.error(e.error||"Error al actualizar el perfil")}}catch(e){i.toast.error("Error de conexi\xf3n")}
1finally{d(!1)}},j=e=>{let{id:t,value:n,onChange:o,options:r,label:i,required:c=!0}=e;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{htmlFor:t,className:"text-white text-sm font-medium",children:i}),(0,a.jsxs)("div",{className:"relative mt-1",children:[(0,a.jsx)("select",{id:t,required:c,value:n,onChange:o,className:"appearance-none rounded relative block w-full px-3 py-2 border border-gray-600 bg-gray-700 text-white focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 pr-8",children:r}),(0,a.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none text-gray-400",children:(0,a.jsx)(s.Z,{size:16})})]})]})};return c?(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black bg-opacity-50",children:(0,a.jsxs)("div",{className:"bg-gray-800 rounded-lg shadow-xl p-6 w-full max-w-md",children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("h2",{className:"text-xl font-bold text-white",children:"Actualizaci\xf3n de perfil necesaria"}),(0,a.jsx)("p",{className:"text-gray-400 mt-1",children:"Necesitamos un par de datos adicionales para completar tu perfil"})]}),(0,a.jsxs)("form",{onSubmit:x,className:"space-y-5",children:[(0,a.jsx)(j,{id:"course",value:m,onChange:e=>f(parseInt(e.target.value)),label:"\xbfEn qu\xe9 curso est\xe1s actualmente?",options:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("option",{value:"0",children:"Soy profesor"}),(0,a.jsx)("option",{value:"1",children:"1\xba curso"}),(0,a.jsx)("option",{value:"2",children:"2\xba curso"}),(0,a.jsx)("option",{value:"3",children:"3\xba curso"}),(0,a.jsx)("option",{value:"4",children:"4\xba curso"}),(0,a.jsx)("option",{value:"5",children:"5\xba curso"}),(0,a.jsx)("option",{value:"6",children:"6\xba curso"})]})}),(0,a.jsx)(j,{id:"source",value:v,onChange:e=>g(e.target.value),label:"\xbfC\xf3mo nos conociste?",options:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("option",{value:"",children:"Selecciona una opci\xf3n"}),(0,a.jsx)("option",{value:"Folletos",children:"Folletos en la universidad"}),(0,a.jsx)("option",{value:"Amigo/Compa\xf1ero de la uni",children:"Amigo o compa\xf1ero de la uni"}),(0,a.jsx)("option",{value:"Instagram",children:"Instagram"}),(0,a.jsx)("option",{value:"Tiktok",children:"TikTok"}),(0,a.jsx)("option",{value:"Evento",children:"Evento"}),(0,a.jsx)("option",{value:"Wuolah",children:"Wuolah"}),(0,a.jsx)("option",{value:"Otro",children:"Otro"})]})}),(0,a.jsx)("button",{type:"submit",disabled:u||!v,className:"w-full py-2 px-4 bg-indigo-600 hover:bg-indigo-700 text-white font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 transition-colors",children:u?"Actualizando...":"Actualizar perfil"})]})]})}):null}},26966:function(e,t){"use strict";t.Z={appName:"PROXUS Academy",appDescription:"Tu academia universitaria online para que cada minuto de estudio cuente.",domainName:"proxusacademy.com",ventaMode:{enabled:!0,noCompraMessage:"Disponible el 18/11"},packDiscounts:{pack2:10,pack3:15},stripe:{plans:[{priceId:"price_456",name:"Starter",description:"Perfect for small projects",price:79,priceAnchor:99,features:[{name:"NextJS boilerplate"},{name:"User oauth"},{name:"Database"},{name:"Emails"}]},{isFeatured:!0,priceId:"price_456",name:"Advanced",description:"You need more power",price:99,priceAnchor:149,features:[{name:"NextJS boilerplate"},{name:"User oauth"},{name:"Database"},{name:"Emails"},{name:"1 year of updates"},{name:"24/7 support"}]}]},aws:{bucket:"bucket-name",bucketUrl:"https://bucket-name.s3.amazonaws.com/",cdn:"https://cdn-id.cloudfront.net/"},mailgun:{subdomain:"mail",fromNoReply:"Proxus Academy <[email protected]>",fromAdmin:"Proxus Academy <[email protected]>",supportEmail:"Javier de Proxus Academy at ShipFast <[email protected]>",forwardRepliesTo:"[email protected]"},colors:{theme:"mydark",main:"#793ef9"},auth:{loginUrl:"/api/auth/signin",callbackUrl:"/dashboard"},learnworlds:{apiBase:"https://speedruns.proxusacademy.com/admin/api",schoolDomain:"speedruns.proxusacademy.com"}}},17766:function(e,t,n){"use strict";n.d(t,{LV:function(){return r},_2:function(){return u},gT:function(){return l},v8:function(){return c},vt:function(){return o}});var a=n(29990);let o="G-KEM4PWSXC8",r=e=>{try{window.gtag&&window.gtag("config",o,{page_path:e})}catch(e){}},s=e=>{let{action:t,category:n,label:a,value:o}=e;try{window.gtag&&window.gtag("event",t,{event_category:n,event_label:a,value:o})}catch(e){}},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let n=function(e){let t={};
1return Object.entries(e).forEach(e=>{let[n,a]=e;n.length>255&&(n=n.substring(0,255)),["string","number","boolean","object"].includes(typeof a)&&("object"!=typeof a||null===a)?"string"==typeof a&&a.length>255?t[n]=a.substring(0,255):t[n]=a:null===a?t[n]=null:"object"==typeof a?t[n]=JSON.stringify(a).substring(0,255):t[n]=String(a).substring(0,255)}),t}(t);(0,a.j)(e,n)}catch(e){}},c=(e,t,n,a,o,r)=>{try{let c={speedrunId:t,universidad:n,facultad:a,asignatura:o};r&&(c.source=r),i("speedrun_".concat(e,"_click"),c);let l=r?"".concat(n," - ").concat(a," - ").concat(t," - ").concat(r):"".concat(n," - ").concat(a," - ").concat(t);s({action:"speedrun_".concat(e,"_click"),category:"Speedrun",label:l,value:1})}catch(e){}},l=(e,t)=>{try{let n=t?"expand":"collapse";i("section_".concat(n),{section:e}),s({action:"section_".concat(n),category:"UI Interaction",label:e,value:1})}catch(e){}},u=(e,t)=>{try{let n=t?"open":"close";i("faq_".concat(n),{question:e}),s({action:"faq_".concat(n),category:"FAQ",label:e,value:1})}catch(e){}}},4443:function(){}},function(e){e.O(0,[5824,2072,2721,4397,3492,8577,1197,9649,2945,1744],function(){return e(e.s=14106)}),_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.