PageSourceSearch

https://smtm.ai/_next/static/chunks/app/layout-9eb7303fb424fc15.js

js smtm.ai collected 2026-10-05 15:06:51 UTC 8,369 bytes, 21 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{96113:function(e,t,r){Promise.resolve().then(r.t.bind(r,20225,23)),Promise.resolve().then(r.bind(r,36656)),Promise.resolve().then(r.bind(r,59175))},36656:function(e,t,r){"use strict";r.d(t,{Header:function(){return h}});var n=r(27573),a=r(67754),i=r(65880),s=r(87659),o=r(59565);/**
2 * @license lucide-react v0.428.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let l=(0,o.Z)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]),c=(0,o.Z)("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);var d=r(7653);function h(){let e=(0,a.usePathname)(),[t,r]=(0,d.useState)(!1),[o,h]=(0,d.useState)(null);if((0,d.useEffect)(()=>{{let e=new URLSearchParams(window.location.search).get("dev_user"),t=localStorage.getItem("dev_user");h(e||t||"999001")}},[]),(0,d.useEffect)(()=>{r(!1)},[e]),(0,d.useEffect)(()=>{let e=()=>{window.innerWidth>=768&&r(!1)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),null==e?void 0:e.startsWith("/terminal"))return null;let u="/"===e?"border-transparent":"border-white/10",m=o?"/portfolio?dev_user=".concat(o):"/portfolio";return(0,n.jsxs)("header",{className:"print-hidden sticky top-0 z-40 border-b ".concat(t?"border-white/10":u," bg-[#0C0C0C]/80 backdrop-blur"),children:[(0,n.jsxs)("div",{className:"mx-auto max-w-[1600px] 2xl:max-w-[1800px] px-6 h-16 flex items-center",children:[(0,n.jsxs)("a",{href:"/",className:"inline-flex items-center gap-3 md:gap-4 font-display font-extrabold tracking-tight",children:[(0,n.jsx)(i.default,{src:"/logo-mark.png",alt:"SMTM",width:48,height:48,className:"h-10 w-10 md:h-12 md:w-12"}),(0,n.jsx)("span",{className:"text-2xl md:text-3xl leading-none",children:"SMTM"})]}),(0,n.jsxs)("nav",{className:"ml-auto hidden md:flex items-center gap-1 text-sm",children:[(0,n.jsx)(s.default,{href:"/terminal",className:"px-4 py-2 rounded-lg transition-colors ".concat((null==e?void 0:e.startsWith("/terminal"))?"text-white bg-white/10":"text-white/60 hover:text-white hover:bg-white/5"),children:"Terminal"}),(0,n.jsx)(s.default,{href:"/backtest",className:"px-4 py-2 rounded-lg transition-colors ".concat((null==e?void 0:e.startsWith("/backtest"))?"text-white bg-white/10":"text-white/60 hover:text-white hover:bg-white/5"),children:"Backtest"}),(0,n.jsxs)("a",{href:"https://t.me/TradeWithSMTM_bot",target:"_blank",rel:"noopener noreferrer",className:"ml-1 inline-flex items-center gap-1.5 rounded-lg border border-[#229ED9]/45 bg-[#229ED9]/10 px-3 py-2 text-xs font-semibold text-[#7bc8ec] transition-colors hover:bg-[#229ED9]/20",children:[(0,n.jsx)(c,{size:12,className:"rotate-45","aria-hidden":"true"}),"Live Alerts"]}),(0,n.jsxs)(s.default,{href:m,className:"flex items-center gap-2 ml-2 px-4 py-2 rounded-lg border transition-colors ".concat("/portfolio"===e?"border-teal/60 text-teal bg-teal/10":"border-white/20 text-white/70 hover:text-white hover:border-white/40"),children:[(0,n.jsx)(l,{className:"w-4 h-4"}),(0,n.jsx)("span",{children:"Portfolio"})]})]}),(0,n.jsxs)("button",{className:"ml-auto md:hidden flex flex-col items-center justify-center gap-[5px] h-9 w-9 rounded-lg hover:bg-white/5 transition-colors",onClick:()=>r(e=>!e),"aria-label":t?"Close menu":"Open menu","aria-expanded":t,children:[(0,n.jsx)("span",{className:"block h-px w-5 bg-white origin-center transition-all duration-200 ".concat(t?"rotate-45 translate-y-[6px]":"")}),(0,n.jsx)("span",{className:"block h-px w-5 bg-white transition-all duration-200 ".concat(t?"opacity-0 scale-x-0":"")}),(0,n.jsx)("span",{className:"block h-px w-5 bg-white origin-center transition-all duration-200 ".concat(t?"-rotate-45 -translate-y-[6px]":"")})]})]}),(0,n.jsxs)("div",{className:"md:hidden overflow-hidden transition-all duration-200 ease-in-out ".concat(t?"max-h-72 opacity-100":"max-h-0 opacity-0"),children:[(0,n.jsxs)("nav",{className:"border-t border-white/10 px-4 py-2 space-y-0.5",children:[(0,n.jsx)(s.default,{href:"/terminal",className:"flex items-center px-3 py-3 rounded-lg text-sm font-medium transition-colors ".concat((null==e?void 0:e.startsWith("/terminal"))?"text-white bg-white/10":"text-white/70 hover:text-white hover:bg-white/5"),children:"Terminal"}),(0,n.jsx)(s.default,{href:"/backtest",className:"flex items-center px-3 py-3 rounded-lg text-sm font-medium transition-colors ".concat((null==e?void 0:e.startsWith("/backtest"))?"text-white bg-white/10":"text-white/70 hover:text-white hover:bg-white/5"),children:"Backtest"}),(0,n.jsxs)("a",{href:"https://t.me/TradeWithSMTM_bot",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 rounded-lg border border-[#229ED9]/45 bg-[#229ED9]/10 px-3 py-3 text-sm font-medium text-[#7bc8ec] transition-colors hover:bg-[#229ED9]/20",children:[(0,n.jsx)(c,{size:14,className:"rotate-45","aria-hidden":"true"}),"Get Live Alerts"]}),(0,n.jsxs)(s.default,{href:m,className:"flex items-center gap-2 px-3 py-3 rounded-lg text-sm font-medium transition-colors ".concat("/portfolio"===e?"text-teal bg-teal/10":"text-white/70 hover:text-white hover:bg-white/5"),children:[(0,n.jsx)(l,{className:"w-4 h-4"}),"Portfolio"]})]}),(0,n.jsx)("div",{className:"h-2"})]})]})}},59175:function(e,t,r){"use strict";r.d(t,{Providers:function(){return i}});var n=r(27573),a=r(31364);function i(e){let{children:t}=e;return(0,n.jsx)(a.w$,{children:t})}},59565:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(7653);/**
7 * @license lucide-react v0.428.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};/**
12 * @license lucide-react v0.428.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
17 * @license lucide-react v0.428.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let o=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:c="",children:d,iconNode:h,...u}=e;return(0,n.createElement)("svg",{ref:t,...s,width:a,height:a,stroke:r,strokeWidth:l?24*Number(o)/Number(a):o,className:i("lucide",c),...u},[...h.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),l=(e,t)=>
21{let r=(0,n.forwardRef)((r,s)=>{let{className:l,...c}=r;return(0,n.createElement)(o,{ref:s,iconNode:t,className:i("lucide-".concat(a(e)),l),...c})});return r.displayName="".concat(e),r}},65880:function(e,t,r){"use strict";r.d(t,{default:function(){return a.a}});var n=r(25839),a=r.n(n)},87659:function(e,t,r){"use strict";r.d(t,{default:function(){return a.a}});var n=r(65469),a=r.n(n)},67754:function(e,t,r){"use strict";var n=r(534);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},25839:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return o}});let n=r(84732),a=r(84163),i=r(35658),s=n._(r(43804));function o(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=i.Image},20225:function(){}},function(e){e.O(0,[4151,5469,5658,1364,1293,8659,1744],function(){return e(e.s=96113)}),_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.