PageSourceSearch

https://www.tradingwizard.ai/_next/static/chunks/91917-a8586b5ca64d71d1.js

js tradingwizard.ai collected 2026-10-01 23:52:45 UTC 22,125 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]="e9dafd03-568e-4890-b118-d657a7c50ba7",e._sentryDebugIdIdentifier="sentry-dbid-e9dafd03-568e-4890-b118-d657a7c50ba7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15785,91917],{745:(e,t,a)=>{"use strict";function n(e,t){if(null==e||""===e)return null;let a="number"==typeof e?e:Date.parse(e);if(!Number.isFinite(a))return null;try{return new Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",hourCycle:"h23",...t?{timeZone:t}:{}}).format(new Date(a))}catch(e){return null}}function r(e,t){let a=n(e,t);return a?"Showing data from ".concat(a,"."):"Showing the last saved data."}function l(e,t){return"Could not refresh. ".concat(r(e,t))}a.d(t,{C6:()=>r,LI:()=>i,Lr:()=>n,Yl:()=>s,ns:()=>l});let o=Object.freeze({fresh:!0,reset:"paper"});function s(e){let t=null==e?void 0:e.detail;return!!t&&"object"==typeof t&&"paper"===t.reset}function i(){window.dispatchEvent(new CustomEvent("wiz-refresh-snapshot",{detail:{...o}}))}},4203:(e,t,a)=>{"use strict";a.d(t,{Ab:()=>s,Dg:()=>o,EK:()=>i,Kq:()=>r,ln:()=>l});var n=a(62559);let r="P/L",l="Lifetime \xb7 summed trade returns",o="Open P/L";function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"—";return"number"==typeof e&&Number.isFinite(e)?(0,n.rD)(e):t}function i(e){if("number"!=typeof e||!Number.isFinite(e))return"none";let t=Number(e.toFixed(2));return t>0?"gain":t<0?"loss":"neutral"}},6035:(e,t,a)=>{"use strict";a.d(t,{CU:()=>P,DN:()=>m,SA:()=>y,UQ:()=>p,Wn:()=>w,Yo:()=>j,m3:()=>x,sX:()=>v});var n=a(95155),r=a(12115),l=a(47650),o=a(7013),s=a(67840),i=a(62323),c=a(4203),u=a(76002),d=a.n(u);let p={box:60,stroke:4.5},h={sm:{box:28,stroke:3},md:{box:48,stroke:4},lg:{box:72,stroke:5.5},fluid:p};function g(e,t,a){let n=(a-90)*Math.PI/180;return[e+t*Math.cos(n),e+t*Math.sin(n)]}function f(e){let{c:t,r:a,stroke:r,from:l,to:o,closed:s}=e,i=Math.max(.01,(1.6-1)*r),c=1.45*r;if(s){let e=2*Math.PI*a,l=Math.max(3,Math.round(e/(i+c))),o=e/l-i;return(0,n.jsx)("circle",{className:d().dots,"data-capsules":l,cx:t,cy:t,r:a,strokeWidth:r,strokeDasharray:"".concat(i," ").concat(o),transform:"rotate(-90 ".concat(t," ").concat(t,")"),style:{"--capsule-period":(i+o).toFixed(3)}})}let u=r/2/a*(180/Math.PI),p=l+u,h=o-u;if(h-p<=0)return null;let f=(h-p)*Math.PI*a/180,w=e=>(f-(e-1)*c)/e,m=Math.max(1,Math.floor((f+c)/(i+c))),b=[m,m+1].reduce((e,t)=>w(t)>.05*r&&Math.abs(w(t)-i)<Math.abs(w(e)-i)?t:e,m),_=Math.max(.01,w(b));return(0,n.jsx)("path",{className:d().dots,"data-capsules":b,d:function(e,t,a,n){let[r,l]=g(e,t,a),[o,s]=g(e,t,n);return"M ".concat(r.toFixed(3)," ").concat(l.toFixed(3)," A ").concat(t," ").concat(t," 0 ").concat(+(n-a>180)," 1 ").concat(o.toFixed(3)," ").concat(s.toFixed(3))}(t,a,p,h),strokeWidth:r,strokeDasharray:b>1?"".concat(_," ").concat(c):"".concat(_," ").concat(f+1),style:{"--capsule-period":(b>1?_+c:_+f+1).toFixed(3)}})}function w(e){let{size:t="sm",shape:a="ring",value:r=null,diverge:l=!1,tone:o="neutral",center:s,word:i=!1,caption:c,muted:u=!1,label:p}=e,{box:g,stroke:w}=h[t],m=g/2,b=(g-w)/2,_=e=>e/b*(180/Math.PI),v="dial"===a?-135:"arc"===a?-90:0,x="dial"===a?270:"arc"===a?180:360,y="fluid"===t,P="arc"===a?m+w/2+.5:g,j=v+x,N=null;if(null!=r&&Number.isFinite(r))if(l){let e=v+x/2,t=e+Math.max(-100,Math.min(100,r))/100*(x/2);Math.abs(t-e)>.5&&(N=t>e?[e,t]:[t,e])}else{let e=Math.max(0,Math.min(100,r));e>0&&(N=[v,v+e/100*x])}let k=_(1.45*w),M=[],S="ring"===a&&N&&N[1]-N[0]>=359.5;N?!S&&("ring"===a?M.push((0,n.jsx)(f,{c:m,r:b,stroke:w,from:N[1]+k,to:N[0]+360-k,closed:!1},"rest")):(N[0]-v>k&&M.push((0,n.jsx)(f,{c:m,r:b,stroke:w,from:v,to:N[0]-k,closed:!1},"before")),j-N[1]>k&&M.push((0,n.jsx)(f,{c:m,r:b,stroke:w,from:N[1]+k,to:j,closed:!1},"after")))):M.push((0,n.jsx)(f,{c:m,r:b,stroke:w,from:v,to:j,closed:"ring"===a},"all"));let E=2*Math.PI*b,G=null;if(N&&S)G=(0,n.jsx)("circle",{className:d().fill,cx:m,cy:m,r:b,strokeWidth:w,"data-solid":"","data-full":"",style:{"--gauge-dash":E.toFixed(3)}});else if(N){let e=(N[1]-N[0])*Math.PI*b/180,t=Math.min(w/2,e/2-.01);G=(0,n.jsx)("circle",{className:d().fill,cx:m,cy:m,r:b,strokeWidth:w,"data-solid":"",strokeDasharray:"".concat(Math.max(.01,e-2*t)," ").concat(E),style:{"--gauge-dash":Math.max(.01,e-2*t).toFixed(3)},transform:"rotate(".concat(N[0]+_(t)-90," ").concat(m," ").concat(m,")")})}return(0,n.jsxs)("span",{className:d().gauge,"data-size":t,"data-shape":a,"data-tone":o,"data-muted":u?"true":void 0,"data-gauge":"",style:y?void 0:{width:g,height:P},role:p?"img":void 0,"aria-label":p,"aria-hidden":!p||void 0,children:[(0,n.jsxs)("svg",{className:d().svg,viewBox:"0 0 ".concat(g," ").concat(P),width:y?void 0:g,height:y?void 0:P,"aria-hidden":"true",children:[M,G]}),null!=s&&(0,n.jsxs)("span",{className:d().center,"aria-hidden":"true","data-word":i?"true":void 0,children:[(0,n.jsx)("span",{className:d().centerValue,children:s}),c&&"sm"!==t&&(0,n.jsx)("span",{className:d().caption,children:c})]})]})}function m(e){let{children:t,tip:a,className:o}=e,s=(0,r.useRef)(null),[i,c]=(0,r.useState)(null),[u,p]=(0,r.useState)(null),[h,g]=(0,r.useState)(!1),f=(0,r.useId)(),w=(0,r.useRef)(null);(0,r.useLayoutEffect)(()=>{let e=w.current;i&&!i.below&&e&&e.getBoundingClientRect().top<8&&c({...i,below:!0,y:i.bottom+8})},[i]),(0,r.useLayoutEffect)(()=>{var e,t,a;p(null!=(a=document.getElementById("wiz-root"))?a:document.body),g(!(null==(t=s.current)||null==(e=t.parentElement)?void 0:e.closest('button, a[href], [role="button"]')))},[]);let m=(0,r.useCallback)(()=>{let e=s.current;if(!e)return;let t=e.getBoundingClientRect(),a=t.top<150;c({x:Math.max(132,Math.min(document.documentElement.clientWidth-132,t.left+t.width/2)),y:a?t.bottom+8:t.top-8,below:a,top:t.top,bottom:t.bottom})},[]);return(0,r.useEffect)(()=>
1{if(!i)return;let e=()=>c(null);return window.addEventListener("scroll",e,{capture:!0,passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[i]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{ref:s,className:"".concat(d().tipDoor).concat(o?" ".concat(o):""),tabIndex:h?0:void 0,"aria-describedby":i&&h?f:void 0,"data-gauge-tip":"",onPointerEnter:e=>{"mouse"===e.pointerType&&m()},onPointerLeave:e=>{"mouse"===e.pointerType&&c(null)},onFocus:h?m:void 0,onBlur:h?()=>c(null):void 0,onKeyDown:e=>{"Escape"===e.key&&i&&(e.stopPropagation(),c(null))},children:t}),i&&u&&(0,l.createPortal)((0,n.jsx)("span",{ref:w,id:f,role:"tooltip",className:d().tip,"data-below":i.below?"true":void 0,style:{left:i.x,top:i.y,translate:i.below?"-50% 0":"-50% -100%"},children:a}),u)]})}function b(e){let{label:t,value:a,tone:r,text:l}=e;return(0,n.jsxs)("span",{className:d().tipRow,"data-tip-bar":"",children:[(0,n.jsxs)("span",{className:d().tipRowHead,children:[(0,n.jsx)("span",{children:t}),(0,n.jsx)("strong",{children:l})]}),(0,n.jsx)("span",{className:d().bar,"data-tone":r,children:(0,n.jsx)("span",{className:d().barFill,style:{width:"".concat(Math.max(0,Math.min(100,a)),"%")}})})]})}function _(e){let{lean:t,strength:a}=e,r="none"===t?"No lean":"".concat("long"===t?"Long":"Short").concat(null!=a?" \xb7 ".concat(a,"%"):""),l="none"===t?0:null!=a?a/2:12;return(0,n.jsxs)("span",{className:d().tipRow,"data-tip-lean":t,children:[(0,n.jsxs)("span",{className:d().tipRowHead,children:[(0,n.jsx)("span",{children:"Direction"}),(0,n.jsx)("strong",{children:r})]}),(0,n.jsxs)("span",{className:d().leanBar,children:[(0,n.jsx)("span",{className:d().leanMid,"aria-hidden":"true"}),"none"!==t&&(0,n.jsx)("span",{className:d().leanFill,"data-tone":"long"===t?"gain":"loss",style:"long"===t?{left:"50%",width:"".concat(l,"%")}:{right:"50%",width:"".concat(l,"%")}})]}),(0,n.jsxs)("span",{className:d().leanEnds,"aria-hidden":"true",children:[(0,n.jsx)("span",{children:"Short"}),(0,n.jsx)("span",{children:"Long"})]})]})}function v(e){let{view:t}=e;if(t.trade){let e,a=t.trade.pnlPct;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:d().tipTitle,children:["Open trade","paper"===(e=t.trade.mode)?" \xb7 Paper":"live"===e?" \xb7 Live":""]}),(0,n.jsxs)("span",{className:d().tipLine,children:["Side ",(0,n.jsx)("strong",{"data-tone":t.tone,children:"long"===t.trade.side?"Long":"Short"})]}),(0,n.jsxs)("span",{className:d().tipLine,children:[c.Dg," ",(0,n.jsx)("strong",{"data-tone":null==a?void 0:a>0?"gain":a<0?"loss":void 0,children:null==a?"Unavailable":(0,i.Mp)(a)})]}),(0,n.jsx)("span",{className:d().tipNote,children:"The ring is full while the bot holds the trade."})]})}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:d().tipTitle,children:"How close to a trade"}),(0,n.jsx)(b,{label:t.phrase,value:t.score,tone:t.tone,text:"".concat(t.score," of 100")}),(0,n.jsx)(_,{lean:t.lean,strength:t.leanStrength}),(0,n.jsxs)("span",{className:d().tipNote,children:[t.stale?"From an out of date read. ":"","From the bot's latest read. Short term, not a company score."]})]})}function x(e,t){return e.trade?"sm"===t?"long"===e.trade.side?(0,n.jsx)(o.A,{size:13,strokeWidth:2.5}):(0,n.jsx)(s.A,{size:13,strokeWidth:2.5}):"long"===e.trade.side?"Long":"Short":e.score}function y(e){let{row:t,size:a="sm",words:r=!1,view:l}=e,o=void 0===l?(0,i.cc)(t):l;return o?(0,n.jsxs)("span",{className:d().reading,"data-readiness":o.lean,"data-in-trade":o.trade?"true":void 0,"data-stale":o.stale?"true":void 0,children:[(0,n.jsx)(m,{tip:(0,n.jsx)(v,{view:o}),children:(0,n.jsx)(w,{size:a,value:o.score,tone:o.tone,muted:o.stale,label:o.label,center:x(o,a),word:!!o.trade,caption:o.trade?"Open":null})}),r&&(0,n.jsxs)("span",{className:d().words,children:[(0,n.jsx)("span",{className:d().wordsMain,children:o.phrase}),(0,n.jsx)("span",{className:d().wordsSub,"data-tone":o.tone,children:o.leanWord})]})]}):null}function P(e){let{step:t}=e;return(0,n.jsxs)("span",{className:d().tipRow,"data-tip-scale":t,children:[(0,n.jsx)("span",{className:d().scaleRow,"aria-hidden":"true",children:i.Pl.map((e,a)=>(0,n.jsx)("span",{className:d().scaleCell,"data-tone":a<2?"loss":a>2?"gain":"neutral","data-on":e===t?"true":void 0},e))}),(0,n.jsxs)("span",{className:d().leanEnds,"aria-hidden":"true",children:[(0,n.jsx)("span",{children:"Strong sell"}),(0,n.jsx)("span",{children:"Strong buy"})]})]})}function j(e){let{spec:t,tip:a}=e,r=(0,n.jsx)(w,{size:"lg",shape:t.shape,value:t.value,diverge:t.diverge,tone:t.tone,center:t.center,w
1ord:t.word,caption:t.caption,muted:t.muted,label:t.label});return(0,n.jsxs)("div",{className:d().widget,"data-gauge-widget":t.kind,"data-tone":t.tone,children:[a?(0,n.jsx)(m,{tip:a,children:r}):r,(0,n.jsxs)("span",{className:d().widgetText,children:[(0,n.jsx)("span",{className:d().widgetTitle,children:t.title}),(0,n.jsx)("span",{className:d().widgetSub,children:t.sub})]})]})}},15785:(e,t,a)=>{"use strict";a.d(t,{K$:()=>c,Kr:()=>p,PD:()=>u,e2:()=>d,kE:()=>b,vk:()=>m});var n=a(48337),r=a(66131),l=a(84608),o=a(39781),s=a(53209),i=a(32517);function c(e){return e.filter(e=>"signup"!==e.seedSource).length}function u(e){return(e||"").toUpperCase().replace(/USDT$|USDC$/,"")}function d(e){let t=new Set;for(let a of e)a.isGlobal||!1===a.active||"Closed"===a.status||"signup"===a.seedSource||t.add(u(a.symbol||""));return t}function p(e){let{plan:t,signedIn:a,nativeIOS:n,ownRows:r,offer:o}=e;if(!a||"unknown"===t||!r||"ultimate"===t)return null;if("free"===t&&r.some(e=>"free-14d"===e.autoPauseReason))return"free_bot_ended";if(o&&!n)return"first_scan";let s=(0,l.Yy)(t).bots;return null!==s&&c(r)>=s?"bot_cap":null}function h(e){return(0,o.TL)(e)}function g(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unlock",l="free"===e?"pro":"ultimate",o="free"===e?(0,r.hK)({introApplies:a,trialSwitchOn:t,freeTrialApplies:t,legacyTrialApplies:!1}):"none",s=(0,i.$i)({viewerPlan:e,requiredPlan:l,trialOffered:t,introOffered:a,kind:n});return"trial_7d"===o?{label:r.nX,note:(0,r.No)(),plan:l}:{label:s,note:null,plan:l}}let f={follow_cap:{title:"You follow as many Wiz bots as your plan allows",label:o.c,verb:"follows up to",noun:"Wiz bots"},alerts_cap:{title:"You are using all your price alerts",label:e=>(0,l.Ze)(e,"alerts"),verb:"keeps",noun:"price alerts"},watchlists_cap:{title:"You are using all your watchlists",label:e=>(0,l.Ze)(e,"watchlists"),verb:"keeps",noun:"watchlists"}},w={bot_cap:"bots",follow_cap:"follows",wiz_questions:"wizQuestions",pack_copy:"packCopy",alerts_cap:"alerts",watchlists_cap:"watchlists"};function m(e){let{kind:t,plan:a,trialOffered:r,offer:i}=e,c=g(a,r,!0===e.introOffered);if("free_bot_ended"===t){let l=g(a,r,!0===e.introOffered,"resume");return{kind:t,title:"Your free bot’s ".concat(n.uL," days are over"),body:"It is paused and its history is saved. Pick a plan to start it again.",...(t=>{let n=(0,o.s1)(a,t,e.features);return{unlocks:n,unlocksTitle:n.length?"".concat(h(c.plan)," unlocks"):null}})("bots"),note:l.note,action:{label:l.label,plan:"pro",source:s.RX.free_bot_ended},dismissible:!1}}return"first_scan"===t?i?{kind:t,title:"Your bot has made its first read",body:i.benefit,unlocks:[],unlocksTitle:null,note:i.terms,action:{label:i.cta,plan:"pro",source:s.RX.first_scan},dismissible:!0}:null:function(e,t,a){let{plan:r}=t,i=a.plan,c=(0,o.s1)(r,w[e],t.features),u={kind:e,unlocks:c,unlocksTitle:c.length?"".concat(h(i)," unlocks"):null,note:a.note,action:{label:a.label,plan:i,source:s.RX[e]},dismissible:!0};if("bot_cap"===e){let e=(0,l.Yy)(i).bots;return{...u,title:"You are using all your bot slots",body:"".concat(h(r)," holds ").concat((0,l.Ze)(r,"bots")," ").concat(1===(0,l.Yy)(r).bots?"bot":"bots",", paused ones included. ").concat(h(i)," ").concat(null===e?"has no limit":"holds ".concat((0,l.Ze)(i,"bots")),".")}}if("wiz_questions"===e)return"free"!==r?null:{...u,title:"You have used your ".concat(n.Ws," free Wiz questions for today"),body:"".concat(h(i)," has no daily limit on questions.")};if("pack_copy"===e)return"free"!==r?null:{...u,title:"Copy trades needs ".concat(h(i)),body:"You can open any pack and see what its bots did. ".concat(h(i)," copies its trades to your Demo account.")};let d=f[e],p=d.label(r);if("Unlimited"===p)return null;let g=d.label(i);return{...u,title:d.title,body:"".concat(h(r)," ").concat(d.verb," ").concat(p," ").concat(d.noun,". ").concat(h(i)," ").concat("Unlimited"===g?"has no limit":"".concat(d.verb," ").concat(g),".")}}(t,e,c)}function b(e,t){let a=String(t||"").toLowerCase();if("ultimate"===a)return null;let n=m({kind:e,plan:"pro"===a?"pro":"free",trialOffered:!1,offer:null});return n?n.body:null}},32517:(e,t,a)=>{"use strict";a.d(t,{$i:()=>o,bn:()=>l});var n=a(66131);let r={pro:"Pro",ultimate:"Ultimate"};function l(e){return r[e]}function o(e){var t;let a=null!=(t=e.kind)?t:"unlock";if("rail"===a)return"Upgrade";if("free"===e.viewerPlan&&"trial_7d"===(0,n.hK)({introApplies:!0===e.introOffered,trialSwitchOn:e.trialOffered,freeTrialApplies:e.trialOffered,legacyTrialApplies:!1}))return n.nX;let l=r[e.requiredPlan];
1return"resume"===a?"Resume with ".concat(l):"Unlock with ".concat(l)}},62323:(e,t,a)=>{"use strict";a.d(t,{Lh:()=>u,Mp:()=>d,Pl:()=>p,Xb:()=>w,Ze:()=>h,aZ:()=>b,cc:()=>c,tg:()=>m,vw:()=>g});var n=a(80744),r=a(62559);let l=e=>!0===e?"paper":!1===e?"live":"unknown",o=e=>"paper"===e?", paper":"live"===e?", live":"",s=e=>Math.max(0,Math.min(100,e)),i=e=>"number"==typeof e&&Number.isFinite(e);function c(e){if(e.activeTrade){var t;let a="BUY"===e.activeTrade.side?"long":"SELL"===e.activeTrade.side?"short":null;if(!a)return null;let n=(0,r.Hn)(e.activeTrade)?null:Number(e.activeTrade.pnlPercent),s=null!=(t=e.activeTrade.mode)?t:l(e.isPaper);return{score:100,lean:a,leanStrength:null,stale:!1,phrase:"In a ".concat(a," trade"),leanWord:"".concat("long"===a?"Long":"Short"," open"),tone:"long"===a?"gain":"loss",trade:{side:a,pnlPct:n,mode:s},label:"In a ".concat(a," trade").concat(o(s),".")}}if(!(0,n.YR)(e)||"Error"===e.status||!i(e.tradeLikelihoodScore))return null;let a=Math.round(s(e.tradeLikelihoodScore)),c="buy"===e.bias?"long":"sell"===e.bias?"short":"none",u="none"!==c&&i(e.aiConfidence)?Math.round(s(e.aiConfidence)):null,d="long"===c?"Leaning long":"short"===c?"Leaning short":"No lean",p=(0,n.QW)(a),h=(0,n.Sp)(e)&&!e.nextScanMarketClosed;return{score:a,lean:c,leanStrength:u,phrase:p,leanWord:d,stale:h,trade:null,tone:"long"===c?"gain":"short"===c?"loss":"neutral",label:"How close to a trade: ".concat(a," out of 100, ").concat(d.toLowerCase(),".").concat(h?" This read is out of date.":"")}}function u(e){let t=(0,n.BH)(e);if(null==t.rate||t.sample<=0)return null;let a=t.sample,r=Math.max(0,Math.min(a,Math.round(s(t.rate)/100*a))),c=a>=3?Math.round(s(t.rate)):null,u=i(e.pnlClamped)?e.pnlClamped:null,d=l(e.isPaper),p="".concat(a," closed trade").concat(1===a?"":"s");return{trades:a,wins:r,losses:a-r,winRate:c,sumPct:u,mode:d,tone:null==c?"neutral":c>=50?"gain":"loss",center:null==c?"New":"".concat(c,"%"),label:null==c?"Record: ".concat(r," of ").concat(p," won, too few for a win rate").concat(o(d),"."):"Record: ".concat(c,"% of ").concat(p," won").concat(o(d),".")}}function d(e){let t=Math.round(100*e)/100;return"".concat(t>0?"+":t<0?"−":"").concat(Math.abs(t).toFixed(2),"%")}let p=["strong-sell","sell","wait","buy","strong-buy"];function h(e){let t=String(e||"").trim().toUpperCase().replace(/[_-]+/g," ").replace(/\s+/g," ");if(!t)return null;let a=t.startsWith("STRONG "),n=t.replace(/^STRONG /,"");return"BUY"===n||"LONG"===n?{word:"Buy",strong:a}:"SELL"===n||"SHORT"===n?{word:"Sell",strong:a}:"WAIT"===n||"NONE"===n||"NO TRADE"===n?{word:"Wait",strong:!1}:"HOLD"===n||/^HELD\b/.test(n)?{word:"Hold",strong:!1}:"EXIT"===n||"CLOSE"===n?{word:"Exit",strong:!1}:null}function g(e){let t=h(e);return t?"Buy"===t.word?t.strong?"strong-buy":"buy":"Sell"===t.word?t.strong?"strong-sell":"sell":"wait":null}let f=["low","medium","high"];function w(e,t){let a=f.indexOf(e),n=e[0].toUpperCase()+e.slice(1),r=i(t)&&t>0?"".concat(Math.round(100*t)/100,"% a trade"):null;return{kind:"risk",title:"Risk",sub:r?"".concat(n," \xb7 ").concat(r):"".concat(n," risk setting"),shape:"dial",value:(a+1)/3*100,tone:0===a?"gain":1===a?"amber":"loss",center:n,word:!0,label:"Risk setting: ".concat(e).concat(r?", ".concat(r):"",".")}}function m(e){if(!i(e)||e<=0)return null;let t=e<20?"Calm":e<30?"Elevated":"High",a=s((e-10)/30*100);return{kind:"volatility",title:"Market volatility",sub:"".concat(t," \xb7 VIX ").concat(e.toFixed(1)),shape:"dial",value:a,tone:e<20?"gain":e<30?"amber":"loss",center:e.toFixed(0),caption:"VIX",label:"Market volatility: VIX ".concat(e.toFixed(1),", ").concat(t.toLowerCase(),".")}}function b(e){if(!i(e))return null;let t=(50-Math.round(s(e)))*2,a=t>=50?"Strong buy":t>=10?"Buy":t<=-50?"Strong sell":t<=-10?"Sell":"Neutral";return{kind:"market-signal",title:"Market AI signal",sub:a,shape:"dial",value:t,diverge:!0,tone:t>=10?"gain":t<=-10?"loss":"neutral",center:t>=10?"Buy":t<=-10?"Sell":"Flat",word:!0,caption:Math.abs(t)>=50?"Strong":null,label:"Market AI signal: ".concat(a.toLowerCase()," across the markets we read.")}}},76002:e=>{e.exports={gauge:"PreviewGauge_gauge__liZsQ",svg:"PreviewGauge_svg__uTHnm",fill:"PreviewGauge_fill__KYzg0",dots:"PreviewGauge_dots__4dcWN",center:"PreviewGauge_center__qCESE",centerValue:"PreviewGauge_centerValue__svgx_",caption:"PreviewGauge_caption__I_EgG",reading:"PreviewGauge_reading__YBsGT",words:"PreviewGauge_words__JNFbc",wordsMain:"PreviewGauge_wordsMain__r31OE",wordsSub:"PreviewGauge_wordsSub__RToN9",tipDoor:"PreviewGauge_tipDoor__XgNmF",tip:"PreviewGauge_tip__7IjB4",gaugeTipIn:"PreviewGauge_gaugeTipIn__8VPcg",tipTitle:"PreviewGauge_tipTitle__UaCHr",tipNote:"PreviewGauge_tipNote__Wdu8f",tipLine:"PreviewGauge_tipLine__XFm3K",tipRow:"PreviewGauge_tipRow__9VWci",tipRowHead:"PreviewGauge_tipRowHead___NTIo",bar:"PreviewGauge_bar__GCVud",barFill:"PreviewGauge_barFill__acnDD",leanBar:"PreviewGauge_leanBar__9d9b5",leanMid:"PreviewGauge_leanMid__rbYlf",leanFill:"PreviewGauge_leanFill___Hv74",leanEnds:"PreviewGauge_leanEnds__sVbLW",dotRow:"PreviewGauge_dotRow__8fnmJ",dotCell:"PreviewGauge_dotCell__nAqvz",widgets:"PreviewGauge_widgets__8QLQa",widget:"PreviewGauge_widget__83YPp",widgetText:"PreviewGauge_widgetText__ZgvER",widgetTitle:"PreviewGauge_widgetTitle__A6OSd",widgetSub:"PreviewGauge_widgetSub__U1nwY",scaleRow:"PreviewGauge_scaleRow__yLQLZ",scaleCell:"PreviewGauge_scaleCell__A2tgb",assetBotHost:"PreviewGauge_assetBotHost____BSL",assetBot:"PreviewGauge_assetBot__JGMcB",assetBotEmpty:"PreviewGauge_assetBotEmpty__e67ml",tipEyebrow:"PreviewGauge_tipEyebrow__EP4e1",tipAction:"PreviewGauge_tipAction__E4uLa",mood:"PreviewGauge_mood__SHk23"}},85825:(e,t,a)=>{"use strict";a.d(t,{O:()=>i});var n=a(12115),r=a(6815),l=a(46139);let o=()=>Object.assign(Error("Private snapshot unavailable"),{sessionEnded:!0}),s=(0,r.H)(async(e,t)=>{let a=await fetch("/api/wiz/snapshot",{signal:t,cache:"no-store",credentials:"include"});if(401===a.status||403===a.status)throw o();if(!a.ok)throw Error("Snapshot unavailable");let n=await a.json();if((null==n?void 0:n.authed)===!1)throw o();if(!(null==n?void 0:n.snapshot))throw Error("Private snapshot unavailable");return n.snapshot},{events:["wiz-refresh-snapshot"],keepOnError:e=>(null==e?void 0:e.sessionEnded)!==!0});function i(){var e;
1let[t,a]=(0,n.useState)(!1),r=(0,l.O)(s,void 0,t),o=(0,n.useCallback)(()=>{a(!0)},[]),i="error"===r.status&&null!=r.data;return{snapshot:r.data,snapshotFailed:"error"===r.status&&null==r.data,snapshotRefreshFailedAt:i&&null!=(e=r.readAt)?e:null,ensureSnapshot:o,refreshSnapshot:r.refresh}}},89123:(e,t,a)=>{"use strict";a.d(t,{FixtureRuntimeProvider:()=>c,Q:()=>d,R:()=>u});var n,r=a(95155),l=a(12115);let o=Symbol.for("tradingwizard.wizPreview.fixtureRuntime"),s=globalThis,i=null!=(n=s[o])?n:s[o]=(0,l.createContext)(!1);function c(e){let{children:t}=e;return(0,r.jsx)(i.Provider,{value:!0,children:t})}function u(){return(0,l.useContext)(i)}function d(e){let t=(0,l.useContext)(i);return e&&(t||!1)}}}]);

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.