PageSourceSearch

https://www.tradingwizard.ai/_next/static/chunks/7791.d9bf9373c395c716.js

js tradingwizard.ai collected 2026-10-01 23:55:01 UTC 8,101 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="038fda3e-3717-4b87-a3d2-27c63f5827f1",e._sentryDebugIdIdentifier="sentry-dbid-038fda3e-3717-4b87-a3d2-27c63f5827f1")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7791],{17445:(e,t,n)=>{function r(e){return e<=24?"#ed5572":e<=44?"#f56900":e<=55?"#FFB020":e<=74?"#6dd98f":"#0cc575"}function i(e){let t=String(e).toLowerCase();return"markup"===t||"accumulation"===t?"#0cc575":"distribution"===t?"#FFB020":"decline"===t?"#ed5572":"var(--text-tertiary)"}function s(e){return e<=20?"#0cc575":e<=40?"#6dd98f":e<=60?"#FFB020":e<=80?"#f56900":"#ed5572"}n.d(t,{Hw:()=>r,VK:()=>i,aj:()=>s})},19656:(e,t,n)=>{n.d(t,{J:()=>a});var r=n(95155),i=n(4117),s=n(49201);function a(e){let{subject:t,needsInstall:n,onEnable:a,onDismiss:l}=e;return(0,r.jsxs)("div",{className:"mt-4 w-full rounded-2xl border border-theme bg-theme-secondary p-4",children:[(0,r.jsx)("span",{className:"block text-[10px] font-bold uppercase",style:{color:s.zz.greenText},children:"Notifications"}),(0,r.jsxs)("p",{className:"mt-1 text-[13px] font-bold text-theme-primary text-pretty",children:["Want a ping when ",t," opens or closes a trade?"]}),n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"mt-2 text-[12px] text-theme-tertiary text-pretty",children:(0,i.v)("ios-needs-install")}),(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)("button",{type:"button",onClick:l,className:"rounded-full border border-theme px-3.5 py-1.5 text-[12px] font-semibold text-theme-secondary transition-colors hover:bg-white/[0.04] hover:text-theme-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--wiz-focus)]",children:"Got it"})})]}):(0,r.jsxs)("div",{className:"mt-3 flex gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:a,className:"rounded-full border border-theme px-3.5 py-1.5 text-[12px] font-semibold text-theme-secondary transition-colors hover:bg-theme-tertiary hover:text-theme-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--wiz-focus)]",children:"Enable notifications"}),(0,r.jsx)("button",{type:"button",onClick:l,className:"rounded-full border border-theme px-3.5 py-1.5 text-[12px] font-semibold text-theme-secondary transition-colors hover:bg-white/[0.04] hover:text-theme-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--wiz-focus)]",children:"Not now"})]})]})}},21228:(e,t,n)=>{n.d(t,{Ic:()=>u,K8:()=>l,_Y:()=>d,zc:()=>c});let r="tw-deploy-focus",i="data-deploy-focus",s=0,a=null;function l(){return s>0}function o(){if("undefined"==typeof document)return;let e=s>0;e?document.body.setAttribute(i,a||"active"):document.body.removeAttribute(i);try{window.dispatchEvent(new CustomEvent(r,{detail:{active:e,phase:a}}))}catch(e){}}function d(e){s+=1,a=e,o();let t=!1;return()=>{t||(t=!0,0===(s=Math.max(0,s-1))&&(a=null),o())}}function c(e){s<=0||(a=e,o())}let u=r},45367:(e,t,n)=>{n.d(t,{Q:()=>s});var r=n(95155);let i=(0,n(67909).default)(()=>n.e(50535).then(n.bind(n,50535)).then(e=>e.ThinkingOrb),{loadableGenerated:{webpack:()=>[null]},ssr:!1,loading:()=>null});function s(e){let{state:t,size:n,active:s,theme:a,className:l="",style:o}=e;return(0,r.jsx)("span",{"aria-hidden":!0,className:"block shrink-0 ".concat(l).trim(),style:{width:n,height:n,...o},children:(0,r.jsx)(i,{state:t,size:n,theme:a,paused:!s,role:"presentation","aria-hidden":!0})})}},62401:(e,t,n)=>{n.r(t),n.d(t,{PreviewCreateView:()=>p,default:()=>v});var r=n(95155),i=n(81867),s=n(35626),a=n(76907),l=n(12115),o=n(64436),d=n(18547),c=n(91079),u=n(80744),h=n(16642),b=n(34347),f=n(90515),m=n.n(f);function p(e){let{rows:t,initialSymbol:n,seed:s,resumeDraft:a,onBack:c,onOpenBot:f,embedded:p=!1,designMode:v=!1,actualPresentationFixture:y=!1}=e,{theme:w}=(0,i.A)(),j=(0,b.I)(),g=(0,l.useRef)(null),N=(0,l.useMemo)(()=>(0,u._F)(null!=t?t:[],"mine",!1),[t]),k=(0,l.useMemo)(()=>N.filter(e=>"Paused"!==e.status&&!1!==e.active).length,[N]),C=(0,l.useMemo)(()=>N.filter(e=>"signup"!==e.seedSource&&"Closed"!==e.status).length,[N]),z=(0,l.useCallback)(e=>{let t=e.toUpperCase(),n=N.find(e=>String(e.symbol||"").toUpperCase()===t);n?f(n.id):c()},[c,f,N]);if((0,l.useEffect)(()=>
1{if(!p||v&&!y)return;let e=e=>{if(!(0,h.Qy)(e))return;let t=g.current;t&&(e.preventDefault(),t.handoff?t.handoff():t.stepBack())};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[v,p,y,c]),v&&!y)return(0,r.jsx)(x,{onBack:c,seed:s});let S=(0,r.jsx)(o.CreateBotWizard,{rows:N,activeBotCount:k,ceilingCount:C,theme:w,reducedMotion:j,initialSymbol:n,seed:s,resumeDraft:a,fromGlobal:null==a?void 0:a.fromGlobal,onBack:c,onOpenBot:e=>f(e),onOpenExisting:z,ctlRef:g,presentationFixture:y});return(0,r.jsx)("section",{className:p?m().botPanelFlow:"".concat(m().stage," ").concat(m().stageMobileVisible," ").concat(m().createStage),"aria-label":"Create a bot","data-wiz-shell":"create",children:(0,r.jsx)(d.Le,{fixturePlan:y?"pro":void 0,children:S})})}function x(e){var t;let{onBack:n,seed:i}=e,[o,d]=(0,l.useState)("create"),[u,b]=(0,l.useState)(""),[f,p]=(0,l.useState)(null!=(t=null==i?void 0:i.symbol)?t:""),[x,v]=(0,l.useState)(()=>(0,c.az)(null==i?void 0:i.strategyId).id),y="review"===o?"Review":"Create bot";return(0,l.useEffect)(()=>{let e=e=>{(0,h.Qy)(e)&&(e.preventDefault(),"review"===o?d("create"):n())};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[n,o]),(0,r.jsxs)("section",{className:m().botPanelFlow,"aria-labelledby":"wiz-preview-create-title","data-wiz-shell":"create","data-create-step":o,children:[(0,r.jsxs)("header",{className:m().groupFlowHeader,children:[(0,r.jsxs)("button",{type:"button",className:m().drawerBack,onClick:"review"===o?()=>d("create"):n,children:[(0,r.jsx)(s.A,{size:16,"aria-hidden":"true"})," ","review"===o?"Back":"Close"]}),(0,r.jsxs)("div",{className:m().eyebrow,children:["Bots ",(0,r.jsx)("span",{"aria-hidden":"true",children:"›"})," ",y]}),(0,r.jsx)("h1",{id:"wiz-preview-create-title",className:m().groupFlowTitle,children:y})]}),(0,r.jsxs)("div",{className:m().groupFlowBody,children:[(0,r.jsxs)("div",{className:m().readOnlyNotice,children:[(0,r.jsx)(a.A,{size:18,"aria-hidden":"true"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Synthetic creation flow"}),(0,r.jsx)("p",{children:"No bot is deployed and no account or market service is called."})]})]}),"create"===o?(0,r.jsxs)("form",{className:m().syntheticCreateForm,onSubmit:e=>{e.preventDefault(),d("review")},children:[(0,r.jsxs)("label",{children:["Bot name",(0,r.jsx)("input",{value:u,onChange:e=>b(e.target.value),placeholder:"My bot"})]}),(0,r.jsxs)("label",{children:["Symbol",(0,r.jsx)("input",{value:f,onChange:e=>p(e.target.value.toUpperCase()),placeholder:"AAPL"})]}),(0,r.jsxs)("label",{children:["Strategy",(0,r.jsx)("select",{value:x,onChange:e=>v(e.target.value),children:Object.values(c.Sn).map(e=>(0,r.jsx)("option",{value:e.id,children:"wiz"===e.id?"Wiz strategy":e.label},e.id))})]}),(0,r.jsx)("button",{type:"submit","data-wiz-primary":!0,className:m().primaryAction,disabled:!u.trim()||!f.trim(),children:"Review bot"})]}):(0,r.jsxs)("div",{className:m().syntheticReview,children:[(0,r.jsxs)("dl",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("dt",{children:"Name"}),(0,r.jsx)("dd",{children:u})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("dt",{children:"Symbol"}),(0,r.jsx)("dd",{children:f})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("dt",{children:"Strategy"}),(0,r.jsx)("dd",{children:(0,c.az)(x).label})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("dt",{children:"Execution"}),(0,r.jsx)("dd",{children:"Paper \xb7 demo money"})]})]}),(0,r.jsx)("button",{type:"button","data-wiz-primary":!0,className:"".concat(m().primaryAction," ").concat(m().primaryActionInert),disabled:!0,children:"Deploy unavailable in synthetic preview"})]})]})]})}let v=p}}]);

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.