PageSourceSearch

https://dyna-vest.vercel.app/_next/static/chunks/app/strategies/layout-8c7caaa8e486c30e.js

js dyna-vest.vercel.app collected 2026-10-03 06:49:24 UTC 2,480 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3113],{17687:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var s=n(58081),a=n(45186),r=n(28095),o=n(19651);function i(e){let{children:t}=e,{openChat:n}=(0,r.Y)(),i=(0,o.usePathname)();return(0,s.jsxs)("div",{className:"",children:["/strategies"===i&&(0,s.jsxs)("div",{className:"relative flex justify-center mb-6 items-center",children:[(0,s.jsx)("h2",{className:"text-4xl md:text-[48px] font-extrabold text-[#141A21] text-center",children:"DeFAI Strategies"}),(0,s.jsx)("div",{className:"md:absolute right-0 hidden md:block",children:(0,s.jsxs)("button",{onClick:()=>n(),className:"bg-[#5F79F1] flex items-center gap-x-2 text-white px-5 py-3 rounded-2xl shadow-[0px_21px_27px_-10px_rgba(71,114,234,0.65)] font-[family-name:var(--font-manrope)] font-medium hover:bg-[#4A64DC] transition-colors z-10",children:[(0,s.jsx)("span",{children:(0,s.jsx)(a.default,{src:"/bot-icon-white.svg",alt:"Bot",width:20,height:20,className:"text-[#1E3498]"})}),"Ask DynaVest Bot"]})})]}),(0,s.jsx)("div",{className:"pt-10 pb-20 md:pb-10",children:t})]})}},19651:(e,t,n)=>{"use strict";var s=n(54571);n.o(s,"notFound")&&n.d(t,{notFound:function(){return s.notFound}}),n.o(s,"useParams")&&n.d(t,{useParams:function(){return s.useParams}}),n.o(s,"usePathname")&&n.d(t,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(t,{useRouter:function(){return s.useRouter}})},28095:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u,k:()=>i});var s=n(58081),a=n(82149),r=n(78175);let o=(0,a.createContext)(void 0);function i(e){let{children:t}=e,[n,i]=(0,a.useState)(!1),[u,d]=(0,a.useState)([]),[c,l]=(0,a.useState)(!1),h=(0,r.n)({mutationFn:async e=>(console.log("CHATBOT MESSAGE",e),(await fetch("".concat("https://dynavest-backend.onrender.com\n","/defiInfo"),{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({input_text:e})})).json())});return(0,s.jsx)(o.Provider,{value:{showChat:n,openChat:e=>{i(!0),l(!1),e&&d(["string"==typeof e?{id:Date.now().toString(),text:e,sender:"bot",timestamp:new Date,type:"Text"}:e])},closeChat:()=>{i(!1)},messages:u,setMessages:d,isMinimized:c,toggleMinimize:()=>{l(!c)},sendMessage:h},children:t})}function u(){let e=(0,a.useContext)(o);if(void 0===e)throw Error("useChat must be used within a ChatProvider");return e}},99681:(e,t,n)=>{Promise.resolve().then(n.bind(n,17687))}},e=>{var t=t=>e(e.s=t);e.O(0,[8422,497,954,7358],()=>t(99681)),_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.