PageSourceSearch

https://www.earn2trade.com/_next/static/chunks/12ubn90957784.js

js earn2trade.com collected 2026-09-25 19:14:55 UTC 73,798 bytes, 6 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f920f182-e626-59ff-97f3-2ad1aa8aad2f")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,488143,(e,t,r)=>{"use strict";function a({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:n,objectFit:s}){let l=r?40*r:e,o=i?40*i:t,d=l&&o?`viewBox='0 0 ${l} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${n}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return a}})},987690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return n},imageConfigDefault:function(){return s}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},908927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(233525);let a=e.r(543369),i=e.r(488143),n=e.r(987690),s=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:u=!1,loading:p,className:m,quality:f,width:g,height:h,fill:x=!1,style:b,overrideSrc:y,onLoad:v,onLoadingComplete:w,placeholder:j="empty",blurDataURL:C,fetchPriority:k,decoding:P="async",layout:S,objectFit:z,objectPosition:T,lazyBoundary:N,lazyRoot:L,..._},E){var R;let A,M,O,{imgConf:I,showAltText:D,blurComplete:U,defaultLoader:$}=E,F=I||n.imageConfigDefault;if("allSizes"in F)A=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);A={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===$)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let G=_.loader||$;delete _.loader,delete _.srcSet;let B="__next_img_default"in G;if(B){if("custom"===A.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=G;G=t=>{let{config:r,...a}=t;return e(a)}}if(S){"fill"===S&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[S];r&&!t&&(t=r)}let H="",V=o(g),q=o(h);
3if((R=e)&&"object"==typeof R&&(l(R)||void 0!==R.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(M=t.blurWidth,O=t.blurHeight,C=C||t.blurDataURL,H=t.src,!x)if(V||q){if(V&&!q){let e=V/t.width;q=Math.round(t.height*e)}else if(!V&&q){let e=q/t.height;V=Math.round(t.width*e)}}else V=t.width,q=t.height}let W=!c&&!u&&("lazy"===p||void 0===p);(!(e="string"==typeof e?e:H)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,W=!1),A.unoptimized&&(r=!0),B&&!A.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let K=o(f),X=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:T}:{},D?{}:{color:"transparent"},b),Y=U||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:V,heightInt:q,blurWidth:M,blurHeight:O,blurDataURL:C||"",objectFit:X.objectFit})}")`:`url("${j}")`,J=s.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=Y?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Z=function({config:e,src:t,unoptimized:r,width:i,quality:n,sizes:s,loader:l}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,a.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let a=new URLSearchParams(t.slice(r+1));a.get("dpl")||(a.append("dpl",e),t=t.slice(0,r)+"?"+a.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},r,a){if(a){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(a);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,s),c=o.length-1;return{sizes:s||"w"!==d?s:"100vw",srcSet:o.map((r,a)=>`${l({config:e,src:t,quality:n,width:r})} ${"w"===d?r:a+1}${d}`).join(", "),src:l({config:e,src:t,quality:n,width:o[c]})}}({config:A,src:e,unoptimized:r,width:V,quality:K,sizes:t,loader:G}),ee=W?"lazy":p;return{props:{..._,loading:ee,fetchPriority:k,width:V,height:q,decoding:P,className:m,style:{...X,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:y||Z.src},meta:{unoptimized:r,preload:u||c,placeholder:j,fill:x}}}},898879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let a=e.r(271645),i="u"<typeof window,n=i?()=>{}:a.useLayoutEffect,s=i?()=>{}:a.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let e=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),l()),n(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),n(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},325633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return g},defaultHead:function(){return u}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(563141),s=e.r(151836),l=e.r(843476),o=s._(e.r(271645)),d=n._(e.r(898879)),c=e.r(742732);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>
3"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(233525);let m=["name","httpEquiv","charSet","itemProp"];function f(e){let t,r,a,i;return e.reduce(p,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,a=new Set,i={},e=>{let n=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?n=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?n=!1:r.add(e.type);break;case"meta":for(let t=0,r=m.length;t<r;t++){let r=m[t];if(e.props.hasOwnProperty(r))if("charSet"===r)a.has(r)?n=!1:a.add(r);else{let t=e.props[r],a=i[r]||new Set;("name"!==r||!s)&&a.has(t)?n=!1:(a.add(t),i[r]=a)}}}return n})).reverse().map((e,t)=>{let r=e.key||t;return o.default.cloneElement(e,{key:r})})}let g=function({children:e}){let t=(0,o.useContext)(c.HeadManagerContext);return(0,l.jsx)(d.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},918556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let a=e.r(563141)._(e.r(271645)),i=e.r(987690),n=a.default.createContext(i.imageConfigDefault)},670965,(e,t,r)=>{"use strict";function a(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return a}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let a=e.r(670965),i=e.r(543369);function n({config:e,src:t,width:r,quality:s}){let l=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),a=r.get("dpl");if(a){l=a,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
4Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let o=(0,a.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}n.__next_img_default=!0;let s=n},605500,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let a=e.r(563141),i=e.r(151836),n=e.r(843476),s=i._(e.r(271645)),l=a._(e.r(174080)),o=a._(e.r(325633)),d=e.r(908927),c=e.r(987690),u=e.r(918556);e.r(233525);let p=e.r(65856),m=a._(e.r(1948)),f=e.r(818581),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1};function h(e,t,r,a,i,n,s){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}a?.current&&a.current(e)}}))}function x(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,s.forwardRef)(({src:e,srcSet:t,sizes:r,height:a,width:i,decoding:l,className:o,style:d,fetchPriority:c,placeholder:u,loading:p,unoptimized:m,fill:g,onLoadRef:b,onLoadingCompleteRef:y,setBlurComplete:v,setShowAltText:w,sizesInput:j,onLoad:C,onError:k,...P},S)=>{let z=(0,s.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&h(e,u,b,y,v,m,j))},[e,u,b,y,v,k,m,j]),T=(0,f.useMergedRef)(S,z);return(0,n.jsx)("img",{...P,...x(c),loading:p,width:i,height:a,decoding:l,"data-nimg":g?"fill":"1",className:o,style:d,sizes:r,srcSet:t,src:e,ref:T,onLoad:e=>{h(e.currentTarget,u,b,y,v,m,j)},onError:e=>{w(!0),"empty"!==u&&v(!0),k&&k(e)}})});function y({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,r),null):(0,n.jsx)(o.default,{children:(0,n.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(p.RouterContext),a=(0,s.useContext)(u.ImageConfigContext),i=(0,s.useMemo)(()=>{let e=g||a||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
4e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?a?.localPatterns:e.localPatterns}},[a]),{onLoad:l,onLoadingComplete:o}=e,f=(0,s.useRef)(l);(0,s.useEffect)(()=>{f.current=l},[l]);let h=(0,s.useRef)(o);(0,s.useEffect)(()=>{h.current=o},[o]);let[x,v]=(0,s.useState)(!1),[w,j]=(0,s.useState)(!1),{props:C,meta:k}=(0,d.getImgProps)(e,{defaultLoader:m.default,imgConf:i,blurComplete:x,showAltText:w});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{...C,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:f,onLoadingCompleteRef:h,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),k.preload?(0,n.jsx)(y,{isAppRouter:!r,imgAttributes:C}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},794909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return c},getImageProps:function(){return d}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(563141),s=e.r(908927),l=e.r(605500),o=n._(e.r(1948));function d(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],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 c=l.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},211966,e=>{"use strict";e.s(["assetSrc",0,function(e){return"string"==typeof e?e:e.src}])},152689,292792,e=>{"use strict";e.i(247167);var t=e.i(271645);e.s(["TRUSTPILOT_REVIEWS_FALLBACK",0,4700],292792);let r="5bf42769c740260001734a63",a="53aa8807dec7e10d38f59f32";e.s(["useTrustpilotReviews",0,function(){let[e,i]=(0,t.useState)(null);return(0,t.useEffect)(()=>{fetch(`https://widget.trustpilot.com/trustbox-data/${a}?businessUnitId=${r}&locale=en-US`).then(e=>e.json()).then(e=>{let t=e?.businessUnit?.numberOfReviews?.total;"number"==typeof t&&i(t)}).catch(()=>{})},[]),e},"useTrustpilotStats",0,function(){let[e,i]=(0,t.useState)({score:null,count:null});return(0,t.useEffect)(()=>{fetch(`https://widget.trustpilot.com/trustbox-data/${a}?businessUnitId=${r}&locale=en-US`).then(e=>e.json()).then(e=>{let t=e?.businessUnit??{};i({score:"number"==typeof t?.trustScore?t.trustScore:null,count:"number"==typeof t?.numberOfReviews?.total?t.numberOfReviews.total:null})}).catch(()=>{})},[]),e}
4],152689)},381074,e=>{"use strict";e.s(["dashboardUrlFor",0,function(e){return"https://dashboard.earn2trade.com"}])},269638,e=>{"use strict";let t=(0,e.i(475254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,t],269638)},777006,e=>{"use strict";let t={en:"en-US",es:"es-ES",pt:"pt-BR",fr:"fr-FR",ar:"ar-AE"};function r(e,a="en",i="us",n={}){let{decimals:s}=n,l=s??0;e%1==0&&(l=0);let o=t[a]??"en-US";return new Intl.NumberFormat(o,{style:"currency",currency:"USD",minimumFractionDigits:l,maximumFractionDigits:Math.max(l,2)}).format(e)}function a(e,t="en",i="us",n={}){return function(e,t="en",a="us",i={}){return e%1==0?r(e,t,a,{...i,decimals:0}):r(e,t,a,{...i,decimals:2})}(e,t,i,n)}let i=/^\$([\d,]+(?:\.\d+)?)$/;e.s(["asPrice",0,r,"asStyledPrice",0,a,"formatMarketingUsdLiteral",0,function(e,t,r){let n=e.trim().match(i);if(!n)return null;let s=Number.parseFloat(n[1].replace(/,/g,""));return Number.isNaN(s)?null:a(s,t,r)}])},288439,e=>{"use strict";var t,r,a=((t={})[t.EndOfDay=0]="EndOfDay",t[t.Trailing=1]="Trailing",t[t.Fixed=2]="Fixed",t),i=((r={}).BCC="Beginner Crash Course",r.TCP="Trader Career Path®",r.GAU="Gauntlet Mini™",r);let n={id:"BCC",family:"Beginner Crash Course",name:"Beginner Crash Course",goal:0,drawdown:0,dd_type:1,losslimit:0,ladder:0,consistency:!1,capital:0,virtual:!0,subscription:249,reset:0},s={id:"GAU50",family:"Gauntlet Mini™",name:"The Gauntlet Mini™ 50k",goal:3e3,drawdown:2e3,dd_type:1,losslimit:1100,ladder:6,consistency:!1,capital:5e4,virtual:!0,subscription:170,reset:75},l={id:"GAU100",family:"Gauntlet Mini™",name:"The Gauntlet Mini™ 100k",goal:6e3,drawdown:3500,dd_type:1,losslimit:2200,ladder:12,consistency:!1,capital:1e5,virtual:!0,subscription:315,reset:100},o={id:"GAU150",family:"Gauntlet Mini™",name:"The Gauntlet Mini™ 150k",goal:9e3,drawdown:4500,dd_type:1,losslimit:3300,ladder:15,consistency:!1,capital:15e4,virtual:!0,subscription:375,reset:130},d={id:"GAU200",family:"Gauntlet Mini™",name:"The Gauntlet Mini™ 200k",goal:11e3,drawdown:6e3,dd_type:1,losslimit:4400,ladder:16,consistency:!1,capital:2e5,virtual:!0,subscription:550,reset:155},c=[{id:"TCP25",family:"Trader Career Path®",name:"Evaluation",goal:1750,drawdown:1500,dd_type:0,losslimit:550,ladder:3,consistency:!0,capital:25e3,virtual:!0,reset:65,subscription:150},{id:"TCP25",family:"Trader Career Path®",name:["LiveSim® Account","Live Account"],goal:1750,drawdown:1500,dd_type:[0,1],losslimit:550,ladder:3,consistency:!1,capital:25e3,virtual:!0,reset:65,subscription:150},{id:"TCP25",family:"Trader Career Path®",name:"Live Account",goal:3e3,drawdown:2e3,dd_type:1,losslimit:1100,ladder:3,consistency:!1,capital:5e4,virtual:!1,reset:65,subscription:150},{id:"TCP25",family:"Trader Career Path®",name:"Live Account",goal:6e3,drawdown:3500,dd_type:1,losslimit:2200,ladder:3,consistency:!1,capital:1e5,virtual:!1,reset:65,subscription:150},{id:"TCP25",family:"Trader Career Path®",name:"Live Account",goal:11e3,drawdown:194e3,dd_type:2,losslimit:4400,ladder:3,consistency:!1,capital:2e5,virtual:!1,reset:65,subscription:150}],u=[{id:"TCP50",family:"Trader Career Path®",name:"Evaluation",goal:3e3,drawdown:2e3,dd_type:0,losslimit:1100,ladder:6,consistency:!0,capital:5e4,virtual:!0,reset:85,subscription:190},{id:"TCP50",family:"Trader Career Path®",name:["LiveSim® Account","Live Account"],goal:3e3,drawdown:2e3,dd_type:[0,1],losslimit:1100,ladder:6,consistency:!1,capital:5e4,virtual:!0,reset:85,subscription:190},{id:"TCP50",family:"Trader Career Path®",name:"Live Account",goal:6e3,drawdown:3500,dd_type:1,losslimit:2200,ladder:6,consistency:!1,capital:1e5,virtual:!1,reset:85,subscription:190},{id:"TCP50",family:"Trader Career Path®",name:"Live Account",goal:11e3,drawdown:6e3,dd_type:1,losslimit:4400,ladder:6,consistency:!1,capital:2e5,virtual:!1,reset:85,subscription:190},{id:"TCP50",family:"Trader Career Path®",name:"Live Account",goal:4e4,drawdown:388e3,dd_type:2,losslimit:8800,ladder:6,consistency:!1,capital:4e5,virtual:!1,reset:85,subscription:190}],p=[{id:"TCP100",family:"Trader Career Path®",name:"Evaluation",goal:6e3,drawdown:3500,dd_type:0,losslimit:2200,ladder:12,consistency:!0,capital:1e5,virtual:!0,reset:100,subscription:350}
4,{id:"TCP100",family:"Trader Career Path®",name:["LiveSim® Account","Live Account"],goal:6e3,drawdown:3500,dd_type:[0,1],losslimit:2200,ladder:12,consistency:!1,capital:1e5,virtual:!0,reset:100,subscription:350},{id:"TCP100",family:"Trader Career Path®",name:"Live Account",goal:9e3,drawdown:4500,dd_type:1,losslimit:3300,ladder:12,consistency:!1,capital:15e4,virtual:!1,reset:100,subscription:350},{id:"TCP100",family:"Trader Career Path®",name:"Live Account",goal:11e3,drawdown:6e3,dd_type:1,losslimit:4400,ladder:12,consistency:!1,capital:2e5,virtual:!1,reset:100,subscription:350},{id:"TCP100",family:"Trader Career Path®",name:"Live Account",goal:4e4,drawdown:388e3,dd_type:2,losslimit:8800,ladder:12,consistency:!1,capital:4e5,virtual:!1,reset:100,subscription:350}],m=[s,l,o,d,c[0],u[0],p[0],n];e.s(["Drawdowns",()=>a,"PlanFamily",()=>i,"PlansList",0,m,"bcc",0,n,"gau100",0,l,"gau150",0,o,"gau200",0,d,"gau50",0,s,"tcp100",0,p,"tcp25",0,c,"tcp50",0,u])},615978,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(526683);let i=(0,r.cva)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r,...n}){return(0,t.jsx)("div",{className:(0,a.cn)(i({variant:r}),e),...n})}])},952571,427164,e=>{"use strict";let t,r=(0,e.i(475254).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",0,r],952571);var a=e.i(843476),i=e.i(271645),n=e.i(981140),s=e.i(820783),l=e.i(30030),o=e.i(726330),d=e.i(610772),c=e.i(853660),u=e.i(774606),p=e.i(296626),m=e.i(248425),f=Symbol("radix.slottable"),g=e.i(369340),h=e.i(959411),[x,b]=(0,l.createContextScope)("Tooltip",[c.createPopperScope]),y=(0,c.createPopperScope)(),v="TooltipProvider",w="tooltip.open",[j,C]=x(v),k=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:l}=e,o=i.useRef(!0),d=i.useRef(!1),c=i.useRef(0);return i.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,a.jsx)(j,{scope:t,isOpenDelayedRef:o,delayDuration:r,onOpen:i.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:i.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,n)},[n]),isPointerInTransitRef:d,onPointerInTransitChange:i.useCallback(e=>{d.current=e},[]),disableHoverableContent:s,children:l})};k.displayName=v;var P="Tooltip",[S,z]=x(P),T=e=>{let{__scopeTooltip:t,children:r,open:n,defaultOpen:s,onOpenChange:l,disableHoverableContent:o,delayDuration:u}=e,p=C(P,e.__scopeTooltip),m=y(t),[f,h]=i.useState(null),x=(0,d.useId)(),b=i.useRef(0),v=o??p.disableHoverableContent,j=u??p.delayDuration,k=i.useRef(!1),[z,T]=(0,g.useControllableState)({prop:n,defaultProp:s??!1,onChange:e=>{e?(p.onOpen(),document.dispatchEvent(new CustomEvent(w))):p.onClose(),l?.(e)},caller:P}),N=i.useMemo(()=>z?k.current?"delayed-open":"instant-open":"closed",[z]),L=i.useCallback(()=>{window.clearTimeout(b.current),b.current=0,k.current=!1,T(!0)},[T]),_=i.useCallback(()=>{window.clearTimeout(b.current),b.current=0,T(!1)},[T]),E=i.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{k.current=!0,T(!0),b.current=0},j)},[j,T]);return i.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),(0,a.jsx)(c.Root,{...m,children:(0,a.jsx)(S,{scope:t,contentId:x,open:z,stateAttribute:N,trigger:f,onTriggerChange:h,onTriggerEnter:i.useCallback(()=>{p.isOpenDelayedRef.current?E():L()},[p.isOpenDelayedRef,E,L]),onTriggerLeave:i.useCallback(()=>{v?_():(window.clearTimeout(b.current),b.current=0)},[_,v]),onOpen:L,onClose:_,disableHoverableContent:v,children:r})})};T.displayName=P;var N="TooltipTrigger",L=i.forwardRef((e,t)=>
4{let{__scopeTooltip:r,...l}=e,o=z(N,r),d=C(N,r),u=y(r),p=i.useRef(null),f=(0,s.useComposedRefs)(t,p,o.onTriggerChange),g=i.useRef(!1),h=i.useRef(!1),x=i.useCallback(()=>g.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),(0,a.jsx)(c.Anchor,{asChild:!0,...u,children:(0,a.jsx)(m.Primitive.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...l,ref:f,onPointerMove:(0,n.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||d.isPointerInTransitRef.current||(o.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,n.composeEventHandlers)(e.onPointerLeave,()=>{o.onTriggerLeave(),h.current=!1}),onPointerDown:(0,n.composeEventHandlers)(e.onPointerDown,()=>{o.open&&o.onClose(),g.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>{g.current||o.onOpen()}),onBlur:(0,n.composeEventHandlers)(e.onBlur,o.onClose),onClick:(0,n.composeEventHandlers)(e.onClick,o.onClose)})})});L.displayName=N;var _="TooltipPortal",[E,R]=x(_,{forceMount:void 0}),A=e=>{let{__scopeTooltip:t,forceMount:r,children:i,container:n}=e,s=z(_,t);return(0,a.jsx)(E,{scope:t,forceMount:r,children:(0,a.jsx)(p.Presence,{present:r||s.open,children:(0,a.jsx)(u.Portal,{asChild:!0,container:n,children:i})})})};A.displayName=_;var M="TooltipContent",O=i.forwardRef((e,t)=>{let r=R(M,e.__scopeTooltip),{forceMount:i=r.forceMount,side:n="top",...s}=e,l=z(M,e.__scopeTooltip);return(0,a.jsx)(p.Presence,{present:i||l.open,children:l.disableHoverableContent?(0,a.jsx)(F,{side:n,...s,ref:t}):(0,a.jsx)(I,{side:n,...s,ref:t})})}),I=i.forwardRef((e,t)=>{let r=z(M,e.__scopeTooltip),n=C(M,e.__scopeTooltip),l=i.useRef(null),o=(0,s.useComposedRefs)(t,l),[d,c]=i.useState(null),{trigger:u,onClose:p}=r,m=l.current,{onPointerInTransitChange:f}=n,g=i.useCallback(()=>{c(null),f(!1)},[f]),h=i.useCallback((e,t)=>{let r,a=e.currentTarget,i={x:e.clientX,y:e.clientY},n=function(e,t){let r=Math.abs(t.top-e.y),a=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),n=Math.abs(t.left-e.x);switch(Math.min(r,a,i,n)){case n:return"left";case i:return"right";case r:return"top";case a:return"bottom";default:throw Error("unreachable")}}(i,a.getBoundingClientRect());c(((r=[...function(e,t,r=5){let a=[];switch(t){case"top":a.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":a.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":a.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":a.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return a}(i,n),...function(e){let{top:t,right:r,bottom:a,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:a},{x:i,y:a}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let a=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(a.y-r.y)>=(e.y-r.y)*(a.x-r.x))t.pop();else break}t.push(a)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let a=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(a.y-t.y)>=(e.y-t.y)*(a.x-t.x))r.pop();else break}r.push(a)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),f(!0)},[f]);return i.useEffect(()=>()=>g(),[g]),i.useEffect(()=>{if(u&&m){let e=e=>h(e,m),t=e=>h(e,u);return u.addEventListener("pointerleave",e),m.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),m.removeEventListener("pointerleave",t)}}},[u,m,h,g]),i.useEffect(()=>{if(d){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},a=u?.contains(t)||m?.contains(t),i=!function(e,t){let{x:r,y:a}=e,i=!1;for(let e=0,n=t.length-1;e<t.length;n=e++){let s=t[e],l=t[n],o=s.x,d=s.y,c=l.x,u=l.y;d>a!=u>a&&r<(c-o)*(a-d)/(u-d)+o&&(i=!i)}return i}(r,d);a?g():i&&(g(),p())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,m,d,p,g]),(0,a.jsx)(F,{...e,ref:o})}),[D,U]=x(P,{isInside:!1}),$=((t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e})).displayName="TooltipContent.Slottable",t.__radixId=f,t),F=i.forwardRef((e,t)=>
4{let{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:l,onPointerDownOutside:d,...u}=e,p=z(M,r),m=y(r),{onClose:f}=p;return i.useEffect(()=>(document.addEventListener(w,f),()=>document.removeEventListener(w,f)),[f]),i.useEffect(()=>{if(p.trigger){let e=e=>{let t=e.target;t?.contains(p.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,f]),(0,a.jsx)(o.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,a.jsxs)(c.Content,{"data-state":p.stateAttribute,...m,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,a.jsx)($,{children:n}),(0,a.jsx)(D,{scope:r,isInside:!0,children:(0,a.jsx)(h.Root,{id:p.contentId,role:"tooltip",children:s||n})})]})})});O.displayName=M;var G="TooltipArrow";i.forwardRef((e,t)=>{let{__scopeTooltip:r,...i}=e,n=y(r);return U(G,r).isInside?null:(0,a.jsx)(c.Arrow,{...n,...i,ref:t})}).displayName=G;var B=e.i(526683);let H=i.forwardRef(({className:e,sideOffset:t=4,...r},i)=>(0,a.jsx)(A,{children:(0,a.jsx)(O,{ref:i,sideOffset:t,className:(0,B.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));H.displayName=O.displayName,e.s(["default",0,({children:e,content:t,side:r="top",className:n,inlineTrigger:s})=>{let[l,o]=i.useState(!1),d=i.useRef(!1);return(0,a.jsx)(k,{delayDuration:150,children:(0,a.jsxs)(T,{open:l,onOpenChange:o,children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)("div",{className:(0,B.cn)(s&&"inline-flex shrink-0 leading-none"),onTouchStart:()=>{d.current=!0},onClick:e=>{d.current&&(e.preventDefault(),o(e=>!e))},onMouseEnter:()=>{d.current||o(!0)},onMouseLeave:()=>{d.current||o(!1)},children:e})}),(0,a.jsx)(H,{side:r,className:n??"max-w-xs",children:t})]})})}],427164)},252118,981849,445053,e=>{"use strict";var t=e.i(843476),r=e.i(948148),a=e.i(122913);let i={tcpProgressionLadder:"https://help.earn2trade.com/en/articles/5922873-what-is-the-progression-ladder-on-the-trader-career-path",tcpRules:"https://help.earn2trade.com/en/articles/5941958-what-are-the-trader-career-path-rules",gauProgressionLadder:"https://help.earn2trade.com/en/articles/3292351-what-is-the-progression-ladder-in-the-gauntlet-mini",gauRules:"https://help.earn2trade.com/en/articles/3292341-what-are-the-gauntlet-mini-rules",dailyLoss:"https://help.earn2trade.com/en/articles/3395926-how-is-my-daily-loss-calculated",eodDrawdown:"https://help.earn2trade.com/en/articles/5372687-how-does-end-of-day-drawdown-work",maintainConsistency:"https://help.earn2trade.com/en/articles/3849975-what-is-the-maintain-consistency-rule",trailingDrawdown:"https://help.earn2trade.com/en/articles/3292356-what-is-a-trailing-drawdown",fixedDrawdown:"https://help.earn2trade.com/en/articles/8129235-what-is-a-fixed-drawdown",tcpGauSupportedPlatforms:"https://help.earn2trade.com/en/articles/2090521-what-platforms-can-i-use-for-the-gauntlet-mini-trader-career-path",withdrawalPolicy:"https://help.earn2trade.com/en/articles/5452472-what-is-the-withdrawal-policy",cmeHolidayCalendar:"https://www.cmegroup.com/tools-information/holiday-calendar.html",cmeTradingHours:"https://www.cmegroup.com/trading-hours.html",evaluationTradingRestrictions:"https://help.earn2trade.com/en/articles/3224526-are-there-any-restrictions-on-when-i-can-trade-in-my-evaluation-account",maxConcurrentAccounts:"https://help.earn2trade.com/en/articles/5660666-can-i-have-multiple-trader-career-path-gauntlet-mini-and-live-livesim-accounts",resetPricing:"https://help.earn2trade.com/en/articles/11183609-reset-pricing-for-earn2trade-accounts"};function n(e,t){return t&&"en"!==t?e.replace("/en/articles/",`/${t}/articles/`):e}e.s(["helpLinks",0,i,"localizedHelpLink",0,n],981849),e.s(["default",0,({open:e,onOpenChange:n})=>{let s=(0,r.useTranslations)("approvedTimes");return(0,t.jsx)(a.Dialog,{open:e,onOpenChange:n,children:(0,t.jsxs)(a.DialogContent,{className:"max-w-lg",children:[(0,t.jsxs)(a.DialogHeader,{children:[(0,t.jsx)(a.DialogTitle,{children:s("title")}
4),(0,t.jsx)(a.DialogDescription,{className:"text-foreground/90 leading-relaxed",children:s.rich("intro",{holiday:e=>(0,t.jsx)("a",{href:i.cmeHolidayCalendar,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-semantic-info underline-offset-2 hover:underline visited:text-semantic-info dark:text-primary dark:visited:text-primary",children:e}),asset:e=>(0,t.jsx)("a",{href:i.cmeTradingHours,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-semantic-info underline-offset-2 hover:underline visited:text-semantic-info dark:text-primary dark:visited:text-primary",children:e})})})]}),(0,t.jsxs)("ul",{className:"list-disc pl-5 space-y-2 text-sm text-muted-foreground",children:[(0,t.jsx)("li",{children:s("rules.allPositions")}),(0,t.jsx)("li",{children:s("rules.livestock")}),(0,t.jsx)("li",{children:s("rules.grains")})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:s("conducted")})]})})}],252118);var s=e.i(288439),l=e.i(777006);let o={showMaintainConsistency:!0,consistencyPct:30,showApprovedTimes:!0,showMaxConcurrent:!0,maxConcurrent:{evaluation:5,liveSim:3,live:1},profitSplitMode:"tiered",profitSplitThreshold:{TCP25:1500,TCP50:2250,TCP100:3e3,GAU50:2250,GAU100:3e3,GAU150:4e3,GAU200:5e3},gauntletEvalDrawdown:"eod"};function d(e,t){return(0,l.asPrice)(e,t.locale,t.region,{decimals:0})}function c(e,t){return n(i[e],t.locale)}function u(e,t,r){let a=Array.isArray(e.dd_type)?e.dd_type:[e.dd_type],i=(e.family===s.PlanFamily.GAU?"live"===t||"trailing"===o.gauntletEvalDrawdown:"live"===t||a[0]===s.Drawdowns.Trailing)?"trailingDrawdown":"eodDrawdown";return{key:i,label:r.tLabel(i),value:d(e.drawdown,r),tooltip:r.tTip(i),helpLink:c(i,r)}}function p(e,t){let r=o.maxConcurrent[e];return{key:"maxConcurrentAccounts",label:t.tLabel("maxConcurrentAccounts"),value:String(r),tooltip:t.tTip("evaluation"===e?"maxConcurrentAccountsEval":"liveSim"===e?"maxConcurrentAccountsLiveSim":"maxConcurrentAccountsLive"),helpLink:c("maxConcurrentAccounts",t)}}e.s(["SPEC_FLAGS",0,o,"deriveSpecRows",0,function(e,t,r){let a=[],i=e.family===s.PlanFamily.GAU;return"evaluation"===t?(a.push({key:"virtualStartingBalance",label:r.tLabel("virtualStartingBalance"),value:d(e.capital,r),tooltip:r.tTip("virtualStartingBalance")}),a.push({key:"profitGoal",label:r.tLabel("profitGoal"),value:d(e.goal,r),tooltip:r.tTip("profitGoal")}),a.push(u(e,t,r)),a.push({key:"dailyLossLimit",label:r.tLabel("dailyLossLimit"),value:d(e.losslimit,r),tooltip:r.tTip("dailyLossLimit"),helpLink:c("dailyLoss",r)}),a.push({key:"followProgressionLadder",label:r.tLabel("followProgressionLadder"),value:r.tValue("followProgressionLadderValue",{n:e.ladder}),tooltip:r.tTip("followProgressionLadder"),helpLink:c(i?"gauProgressionLadder":"tcpProgressionLadder",r)}),o.showMaintainConsistency&&a.push({key:"maintainConsistency",label:r.tLabel("maintainConsistency"),value:r.tValue("maintainConsistencyValue",{pct:o.consistencyPct}),tooltip:r.tTip("maintainConsistency"),helpLink:c("maintainConsistency",r)}),o.showApprovedTimes&&a.push({key:"approvedTimes",label:r.tLabel("approvedTimes"),value:r.tValue("approvedTimesValue"),tooltip:r.tTip("approvedTimes"),helpLink:c("evaluationTradingRestrictions",r)}),o.showMaxConcurrent&&a.push(p("evaluation",r))):(a.push({key:"startingBalance",label:r.tLabel("startingBalance"),value:d(e.capital,r),tooltip:r.tTip("liveSim"===t?"startingBalanceLiveSim":"startingBalance")}),i||a.push({key:"profitTargetToAdvance",label:r.tLabel("profitTargetToAdvance"),value:d(e.goal,r),tooltip:r.tTip("profitTargetToAdvance")}),a.push(u(e,t,r)),a.push({key:"dailyLossLimit",label:r.tLabel("dailyLossLimit"),value:d(e.losslimit,r),tooltip:r.tTip("dailyLossLimit"),helpLink:c("dailyLoss",r)}),a.push({key:"followProgressionLadder",label:r.tLabel("followProgressionLadder"),value:r.tValue("followProgressionLadderValue",{n:e.ladder}),tooltip:r.tTip("followProgressionLadder"),helpLink:c(i?"gauProgressionLadder":"tcpProgressionLadder",r)}),a.push(function(e,t){if("tiered"===o.profitSplitMode){let r=o.profitSplitThreshold[e.id.toUpperCase()]??0;return{key:"profitSplit",label:t.tLabel("profitSplit"),value:t.tValue("profitSplitTieredValue",{amount:d(r,t)}),tooltip:t.tTip("profitSplit"),helpLink:c("withdrawalPolicy",t)}}return{key:"profitSplit",label:t.tLabel("profitSplit"),value:t.tValue("profitSplitFlatValue"),tooltip:t.tTip("profitSplit"),helpLink:c("withdrawalPolicy",t)}}(e,r)),o.showMaxConcurrent&&a.push(p(t,r))),a}],445053)},871689,50869,446095,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],871689);var r=e.i(271645),a=e.i(296945),i=e.i(23716);e.i(250825);var n=e.i(681307);let s=n.z.object({id:n.z.number(),plan:n.z.string(),account:n.z.string()});n.z.object({name:n.z.string(),email:n.z.string(),partner:n.z.string(),status:n.z.number(),xid:n.z.string(),subscriptions:n.z.array(s).optional(),newsletter:n.z.boolean().nullable().optional(),hmac:n.z.string().optional(),lang:n.z.string().optional(),displayName:n.z.string().optional(),phone:n.z.string().optional(),address:n.z.string().optional(),address2:n.z.string().optional(),city:n.z.string().optional(),country:n.z.number().optional(),stateProv:n.z.string().optional(),zip:n.z.string().optional(),motivation:n.z.string().optional(),sub_status:n.z.string().optional(),joined:n.z.string().optional(),until:n.z.string().optional(),start:n.z.string().optional(),full_price:n.z.number().optional(),price:n.z.number().optional(),discount_code:n.z.string().optional(),free_resets:n.z.number().optional(),type:n.z.string().optional(),key:n.z.string().optional(),canceled:n.z.string().optional(),account_name:n.z.string().optional(),upgrades:n.z.unknown().nullable().optional(),passed:n.z.boolean().optional(),open_invoice:n.z.number().optional()}),n.z.object({name:n.z.string(),displayName:n.z.string(),email:n.z.string(),phone:n.z.string(),address:n.z.string(),address2:n.z.string(),city:n.z.string(),countriesId:n.z.number().nullable(),stateprov:n.z.string(),zip:n.z.string(),motivation:n.z.string()}),n.z.object({session:n.z.object({loggedIn:n.z.boolean(),userId:n.z.number(),email:n.z.string(),status:n.z.number(),xid:n.z.string(),hmac:n.z.string().optional(),lang:n.z.string().optional(),lastTime:n.z.number().optional()}),isSessionExists:n.z.boolean()}),n.z.object({partner:n.z.string(),motivation:n.z.string(),displayname:n.z.string(),name:n.z.string(),email:n.z.string(),country:n.z.string(),password:n.z.string().min(1),phone:n.z.string(),pid:n.z.string().optional(),lang:n.z.string(),newsletter:n.z.boolean().optional()}),n.z.object({motivation:n.z.string().optional(),displayname:n.z.string().optional(),name:n.z.string().optional(),email:n.z.string().optional(),phone:n.z.string().optional(),address:n.z.string().optional(),address2:n.z.string().optional(),city:n.z.string().optional(),stateprov:n.z.string().optional(),zip:n.z.string().optional(),country:n.z.union([n.z.string(),n.z.number()]).optional(),countryISO:n.z.string().optional()}),n.z.object({id:n.z.number(),name:n.z.string(),iso:n.z.string()}),n.z.object({key:n.z.string(),price:n.z.number(),reset_price:n.z.number()}),n.z.object({code:n.z.object({amt:n.z.number(),type:n.z.string().nullable().optional(),plan:n.z.string().optional(),one_time:n.z.boolean().nullable().optional(),expiration:n.z.string().optional(),failover_amt:n.z.number().optional(),failover_type:n.z.string().optional(),fixed_reset:n.z.boolean().optional()})});let l=n.z.object({code:n.z.string(),redemption_limit:n.z.union([n.z.number(),n.z.string()]).nullable(),redemption_limit_type:n.z.string().nullable(),broker:n.z.string().nullable(),plans:n.z.array(n.z.string()).nullable(),starts_at:n.z.string().nullable(),ends_at:n.z.string().nullable(),discount_context:n.z.string(),discount_type:n.z.string().nullable(),discount_amount:n.z.union([n.z.string(),n.z.number()]).nullable(),status:n.z.enum(["active","expired","scheduled"]),requires_session:n.z.boolean().nullable()}),o=n.z.object({success:n.z.boolean(),error:n.z.string().optional(),coupon:l.optional()});n.z.object({Plan:n.z.string(),Code:n.z.string().optional(),Code_type:n.z.string().optional(),PapCustom:n.z.string().optional(),Fingerprint:n.z.string().optional(),C_Apid:n.z.string().nullable().optional(),Currency:n.z.string().optional(),broker:n.z.string().optional(),chan:n.z.string().optional(),exch
4anges:n.z.array(n.z.string()).optional(),type:n.z.string().optional(),commission:n.z.string().optional()}),n.z.object({Method:n.z.string(),ConfirmationToken:n.z.string().optional(),Token:n.z.string().optional(),token:n.z.string().optional(),PapCustom:n.z.string().optional(),Fingerprint:n.z.string().optional(),Step:n.z.string().optional()});let d=["logged in","iniciar sesion","fazer login","vous connecter","تسجيل الدخول"];async function c(e,t,r,a){let n=r?.trim().toUpperCase(),s=`/coupons/${encodeURIComponent(e)}/${t}`+(n?`/${encodeURIComponent(n)}`:"");try{let e=await (0,i.apiFetch)(s,{method:"GET",region:a}),t=o.safeParse(e);if(t.success&&t.data.success&&t.data.coupon)return{ok:!0,coupon:t.data.coupon};return{ok:!1,reason:"invalid"}}catch(e){if(e instanceof i.ApiError&&400===e.status){let t=function(e){try{let t=JSON.parse(e);if("string"==typeof t.error)return t.error}catch{}return e}(e.body),r=t.toLowerCase();return{ok:!1,reason:d.some(e=>r.includes(e))?"requires_session":"invalid",error:t}}return{ok:!1,reason:"network"}}}var u=e.i(998970);function p(){try{let e=new URLSearchParams(window.location.search).get("discount"),t=e?.trim();return t&&t.length>0?t:null}catch{return null}}e.s(["useDiscount",0,function(e,t,i,n=!0,s,l=!0,o){let d=p(),[m,f]=(0,r.useState)(null),[g,h]=(0,r.useState)(!!d),[x,b]=(0,r.useState)(null),[y,v]=(0,r.useState)(null),[w,j]=(0,r.useState)(null),[C,k]=(0,r.useState)(null),[P,S]=(0,r.useState)(!1),z=(0,r.useRef)(!1),T=(0,r.useRef)(!1),N=(0,r.useCallback)(()=>{j(null)},[]),L=(0,r.useCallback)(()=>{S(!1)},[]),_=(0,r.useCallback)(e=>{if(i&&e[i])return e[i].code??null;for(let t of Object.values(e))if(t.code)return t.code;return null},[i]),E=(0,r.useCallback)(e=>{let t=i&&e[i]||Object.values(e).find(e=>e.code)||null;return t?t.affiliated??t.code??null:null},[i]),R=(0,r.useCallback)(e=>{if(i&&e[i]?.affiliated)return e[i].affiliated;for(let t of Object.values(e))if(t.affiliated)return t.affiliated;return null},[i]),A=(0,r.useCallback)(e=>{let t=new URL(window.location.href);e?t.searchParams.get("discount")!==e&&(t.searchParams.set("discount",e),window.history.replaceState({},"",t.toString())):t.searchParams.has("discount")&&(t.searchParams.delete("discount"),window.history.replaceState({},"",t.toString()))},[]),M=(0,r.useCallback)(async(r,n)=>{if(0===t.length)return{ok:!0,invalidCodes:[]};z.current=!0;let s=r.find(e=>e&&e.trim().length>0)?.trim()??null;n?.userTyped&&v(s);let l=(e,t)=>{f(e),b(_(e)),k("discount"),S(!1),A(E(e));let r=R(e);return(r&&((0,u.setAffiliatePid)(r),(0,u.setAffiliateCoupon)(r)),t.length>0)?(j(t[0]),{ok:!1,invalidCodes:t}):(j(null),{ok:!0,invalidCodes:[]})};try{if(h(!0),!s){let{prices:i,invalidCodes:n}=await (0,a.checkDiscountCodeBundle)({region:e,codes:r,plans:t,existingRecords:m??void 0});return l(i,n)}let n=await c(s,"purchase",i,e);if(n.ok){if(!(n.coupon.broker&&n.coupon.broker!==o)){let e=function(e,t){let r=Number(e.discount_amount),a="percent"===e.discount_type,i="flat"===e.discount_type,n=e.plans&&e.plans.length>0?new Set(e.plans.map(e=>e.toUpperCase())):null,s={};for(let l of t){let t=!n||n.has(l.key.toUpperCase()),o=l.price,d=0;t&&(a||i)&&!Number.isNaN(r)&&r>0&&(d=Math.min(a?Math.floor(o*r/100):Math.floor(r),o)),s[l.key]={type:e.discount_type??null,amount:d,percent:d>0?a?r:d/o:0,price:o,discounted:o-d,one_time:null,code:d>0?e.code:null,affiliated:null,reset_price:l.reset_price}}return s}(n.coupon,t);return f(e),b(_(e)),k("coupon"),j(null),S(!1),A(E(e)),{ok:!0,invalidCodes:[]}}}else if("requires_session"===n.reason)return f(null),b(null),k(null),A(null),S(!0),j(null),{ok:!1,invalidCodes:[],requiresLogin:!0};let{prices:d,invalidCodes:u}=await (0,a.checkDiscountCodeBundle)({region:e,codes:r,plans:t,existingRecords:m??void 0,checkAffiliate:!1});if(!u.includes(s))return l(d,u);let{prices:p,invalidCodes:g}=await (0,a.checkDiscountCodeBundle)({region:e,codes:r,plans:t,existingRecords:m??void 0});return l(p,g)}catch(e){return console.error("[useDiscount]",e),S(!1),{ok:!1,invalidCodes:[]}}finally{h(!1)}},[e,t,m,i,o,_,E,R,A]),O=(0,r.useCallback)(()=>{f(null),b(null),v(null),j(null),k(null),S(!1);{let e=new URL(window.location.href);e.searchParams.has("discount")&&(e.searchParams.delete("discount"),window.history.replaceState({},"",e.toString()))}
4(0,u.clearAffiliateCoupon)(),z.current=!1,T.current=!0},[]);return(0,r.useEffect)(()=>{m&&(b(_(m)),A(E(m)))},[m,_,E,A]),(0,r.useEffect)(()=>{if(!n||z.current||0===t.length)return;let e=p();if(e){z.current=!0,M([e]);return}if(!T.current&&function(){if((0,u.getAffiliatePid)())return!0;try{let e=new URLSearchParams(window.location.search).get("a_pid");return!!(e&&e.trim())}catch{return!1}}()){if(!l)return;let e=s?.trim();if(e){z.current=!0,M([e]);return}}h(!1)},[n,t,M,s,l]),{prices:m,loading:g,applyDiscount:M,clearDiscount:O,activeCode:x,lastAppliedCode:y,invalidCode:w,clearError:N,codeType:C,requiresLogin:P,clearRequiresLogin:L}}],50869);let m={rithmic:"Rithmic",blackarrow:"BlackArrow",tradovate:"Tradovate"},f={rithmic:"rithmic",blackarrow:"blackarrow","black arrow":"blackarrow","black-arrow":"blackarrow",tradovate:"tradovate",ninjatrader:"tradovate","ninja trader":"tradovate","ninja-trader":"tradovate"};e.s(["PLATFORM_IDS",0,["rithmic","blackarrow","tradovate"],"parsePlatformId",0,function(e){if(!e)return null;let t=f[e.trim().toLowerCase()];return t||null},"platformLabel",0,function(e){return m[e]}],446095)},405868,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(657688),i=e.i(511398),n=e.i(615978),s=e.i(122913),l=e.i(269638),o=e.i(871689),d=e.i(972520),c=e.i(952571);let u=(0,e.i(475254).default)("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);var p=e.i(427164),m=e.i(252118),f=e.i(152689),g=e.i(520133),h=e.i(618566),x=e.i(861745),b=e.i(948148),y=e.i(224336);let v=({value:e,onChange:r})=>{let a=(0,b.useTranslations)("nav"),i=[{key:"tcp",label:a("tcpFull")},{key:"gau",label:a("gauFull")}];return(0,t.jsxs)("div",{className:"relative grid grid-cols-2 rounded-full border border-border/50 bg-card p-1 mx-4 md:w-fit md:mx-auto",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute top-1 bottom-1 rounded-full bg-primary shadow-sm transition-all duration-300 ease-out",style:{insetInlineStart:0===e?"4px":"50%",insetInlineEnd:0===e?"50%":"4px"}}),i.map((a,i)=>(0,t.jsx)("button",{onClick:()=>r(i),className:`relative z-10 text-center whitespace-nowrap rounded-full px-3 py-2 text-xs md:px-8 md:text-sm font-medium transition-colors duration-300 ${i===e?"text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:a.label},a.key))]})};var w=e.i(565763),j=e.i(211966),C=e.i(214040),k=e.i(462048),P=e.i(882943),S=e.i(381074),z=e.i(777006),T=e.i(50869),N=e.i(288439),L=e.i(445053),_=e.i(981849),E=e.i(446095);let R={TCP25:100,TCP50:100,TCP100:100,GAU50:100,GAU100:100,GAU150:130,GAU200:155};function A(e,t){return R[e.toUpperCase()]??t}function M(e,t,r,a,i,n){let s=e.subscription,l=A(e.id,e.reset),o=e.family===N.PlanFamily.GAU,d=e=>(0,_.localizedHelpLink)(_.helpLinks[e],a);return{id:e.id.toLowerCase(),label:e.id,originalPrice:s,price:s,hasDiscount:!1,fullResetPrice:l,specs:[{key:"virtualCapital",value:(0,z.asPrice)(e.capital,a,r,{decimals:0})},{key:"profitGoal",value:(0,z.asPrice)(e.goal,a,r,{decimals:0})},{key:"eodDrawdown",value:(0,z.asPrice)(e.drawdown,a,r,{decimals:0}),helpLink:d("eodDrawdown")},{key:"dailyLossLimit",value:(0,z.asPrice)(e.losslimit,a,r,{decimals:0}),helpLink:d("dailyLoss")},{key:"progressionLadder",value:i.replace("{ladder}",String(e.ladder)),helpLink:d(o?"gauProgressionLadder":"tcpProgressionLadder")},{key:"currentResetPrice",value:(0,z.asPrice)(l,a,r),helpLink:d("resetPricing")}],fundedLiveSimSpecs:(0,L.deriveSpecRows)(t,"liveSim",n),fundedLiveSpecs:(0,L.deriveSpecRows)(t,"live",n)}}let O={product:"tcp",navKey:"tcpFull"},I={product:"gauntlet",navKey:"gauFull"},D=[N.tcp25[0].id,N.tcp50[0].id,N.tcp100[0].id],U=[N.gau50.id,N.gau100.id,N.gau150.id,N.gau200.id],$="purchase_selections";e.s(["default",0,({initialOffer:e,initialTrustpilotStats:R})=>{let F,G=(0,g.useRouter)(),B=(0,g.usePathname)(),H=(0,h.useSearchParams)(),{state:V,loaded:q}=(0,w.useNavState)(),W=(0,x.useLocale)(),{region:K,regionPath:X,hydrated:Y}=(0,C.useRegion)(),J=(0,k.useOfferStore)(e=>e.offer),Q=(0,k.useOfferStore)(e=>e.loaded)?J:e,Z=(0,P.useAuthStore)(e=>e.account),ee=Z?.sub_status==="active",et=(0,b.useTranslations)("purchase"),er
4=(0,b.useTranslations)("nav"),ea=(0,b.useTranslations)("common"),ei=(0,b.useTranslations)("purchase.specTooltips"),en=(0,b.useTranslations)("purchase.featureTooltips"),es=(0,b.useTranslations)("programSpecs"),el=(0,b.useTranslations)("programSpecs.tooltips"),eo=Q?.code??"",ed=Q?.announcement??null,ec=e=>(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e??""}}),eu=(0,r.useMemo)(()=>E.PLATFORM_IDS.map(e=>({id:e,label:et(`platforms.${e}.label`),description:et(`platforms.${e}.description`)})),[et]),ep=(0,r.useMemo)(()=>{let e=et("specs.progressionLadderValue",{ladder:"{ladder}"}),t={region:K,locale:W,tLabel:e=>es(e),tTip:e=>el(e),tValue:(e,t)=>es(e,t)},r=[N.tcp25,N.tcp50,N.tcp100].map(r=>M(r[0],r[1],K,W,e,t)),a=[N.gau50,N.gau100,N.gau150,N.gau200].map(r=>M(r,r,K,W,e,t));return{tcp:{...O,name:er(O.navKey),accounts:r},gauntlet:{...I,name:er(I.navKey),accounts:a}}},[K,W,et,er,es,el]),em=V?.program==="gauntlet"||B.includes("purchase-gauntlet")?1:0,[ef,eg]=(0,r.useState)(em),[eh,ex]=(0,r.useState)(null),[eb,ey]=(0,r.useState)(!1),ev=(0,r.useRef)(null),[ew,ej]=(0,r.useState)(0),[eC,ek]=(0,r.useState)(0),[eP,eS]=(0,r.useState)(!1),ez=(0,r.useRef)(!1),[eT,eN]=(0,r.useState)("evaluation"),[eL,e_]=(0,r.useState)("liveSim"),[eE,eR]=(0,r.useState)(!1),eA=(0,f.useTrustpilotStats)(),eM=null!==eA.score?eA:R??{score:null,count:null};(0,r.useEffect)(()=>{try{let e=sessionStorage.getItem($),t=e?JSON.parse(e):null;(t?.program===0||t?.program===1)&&eg(t.program);let r=sessionStorage.getItem("tcp_selected_tier");if(r){let e=parseInt(r,10),t=ep.tcp.accounts.length-1;Number.isNaN(e)||ej(Math.min(Math.max(e,0),t))}else if(t?.program===0&&t?.planId){let e=ep.tcp.accounts.findIndex(e=>e.id===t.planId);e>=0&&ej(e)}let a=sessionStorage.getItem("gau_selected_tier");if(a){let e=parseInt(a,10),t=ep.gauntlet.accounts.length-1;Number.isNaN(e)||ek(Math.min(Math.max(e,0),t))}else if(t?.program===1&&t?.planId){let e=ep.gauntlet.accounts.findIndex(e=>e.id===t.planId);e>=0&&ek(e)}}catch{}eS(!0)},[]);let eO=H?.get("plan")??null;(0,r.useEffect)(()=>{if(!eO)return;let e=eO.toUpperCase();if(e===N.bcc.id.toUpperCase())return void G.replace(X("/beginner-crash-course"));let t=D.findIndex(t=>t.toUpperCase()===e);if(t>=0){eg(0),ej(t);return}let r=U.findIndex(t=>t.toUpperCase()===e);r>=0&&(eg(1),ek(r))},[eO,G,X]);let eI=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(eI.current)return;let e=H?.get("platform");if(!e)return;let t=(0,E.parsePlatformId)(e);if(!t)return;let r=E.PLATFORM_IDS.indexOf(t);r>=0&&ex(r),eI.current=!0},[H]),(0,r.useEffect)(()=>{if(!q||!V||ez.current)return;let e=+("gauntlet"===V.program);if(eg(e),"number"==typeof V.selectedTier){let t=Math.max(0,Math.min(V.selectedTier,0===e?ep.tcp.accounts.length-1:ep.gauntlet.accounts.length-1));0===e?ej(t):ek(t)}ez.current=!0},[q,V,ep.tcp.accounts.length,ep.gauntlet.accounts.length]);let eD=0===ef?ew:eC,eU=e=>{0===ef?ej(e):ek(e)};(0,r.useEffect)(()=>{if(!eP)return;let e=0===ef?ep.tcp:ep.gauntlet,t=0===ef?ew:eC,r=e.accounts[t];sessionStorage.setItem($,JSON.stringify({program:ef,planId:r?.id})),sessionStorage.setItem("tcp_selected_tier",String(ew)),sessionStorage.setItem("gau_selected_tier",String(eC))},[eP,ef,ew,eC,ep]),(0,r.useEffect)(()=>{let e=setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},0);return()=>clearTimeout(e)},[B]);let e$=0===ef?ep.tcp:ep.gauntlet,eF=e$.accounts,eG=eF[eD];(0,r.useEffect)(()=>{if(!eP||!eG?.id)return;let e=eG.id.toUpperCase(),t=new URL(window.location.href),r=!1;if(t.searchParams.get("plan")!==e&&(t.searchParams.set("plan",e),r=!0),null===eh)t.searchParams.has("platform")&&(t.searchParams.delete("platform"),r=!0);else{let e=E.PLATFORM_IDS[eh];t.searchParams.get("platform")!==e&&(t.searchParams.set("platform",e),r=!0)}r&&window.history.replaceState({},"",t.toString())},[eP,eG?.id,eh]);let eB=(0,r.useMemo)(()=>[N.tcp25[0],N.tcp50[0],N.tcp100[0],N.gau50,N.gau100,N.gau150,N.gau200].map(e=>({key:e.id,price:e.subscription,reset_price:A(e.id,e.reset)})),[]),eH=(0,T.useDiscount)(K,eB,eG?.id?.toUpperCase(),Y,Q?.code??null,!0,null!==eh?E.PLATFORM_IDS[eh]:null),eV=eH.loading,eq=!Y||eV,eW=e=>{let t=eH.prices;if(t)return t[e.label]??t[e.id.toUpperCase()]??t[e.id]},eK=e=>{let t=eW(e);return!!t?.code&&(t?.amount??0)>0},eX=e=>{let t=eW(e);
4return eK(e)?t?.discounted??e.originalPrice:e.originalPrice},eY=e=>{let t=eW(e);return t&&eK(e)&&t.price?Math.round(t.amount/t.price*100):0},eJ=eW(eG),eQ=!!ed,eZ=(F=eG.specs.map(e=>({key:e.key,label:et(`specs.${e.key}`),tooltip:ei(e.key),helpLink:e.helpLink,value:"currentResetPrice"===e.key?(0,z.asPrice)(eJ?.fixed_reset?eJ?.reset_price??function(e,t){if(!t)return null;let r=e.toLowerCase();return t.reset[r]??null}(eG.label,Q)??eG.fullResetPrice:eG.fullResetPrice,W,K):e.value})),L.SPEC_FLAGS.showMaintainConsistency&&F.push({key:"maintainConsistency",label:es("maintainConsistency"),value:es("maintainConsistencyValue",{pct:L.SPEC_FLAGS.consistencyPct}),tooltip:el("maintainConsistency"),helpLink:(0,_.localizedHelpLink)(_.helpLinks.maintainConsistency,W)}),L.SPEC_FLAGS.showApprovedTimes&&F.push({key:"approvedTimes",label:es("approvedTimes"),value:es("approvedTimesValue"),tooltip:el("approvedTimes"),helpLink:(0,_.localizedHelpLink)(_.helpLinks.evaluationTradingRestrictions,W)}),L.SPEC_FLAGS.showMaxConcurrent&&F.push({key:"maxConcurrentAccounts",label:es("maxConcurrentAccounts"),value:String(L.SPEC_FLAGS.maxConcurrent.evaluation),tooltip:el("maxConcurrentAccountsEval"),helpLink:(0,_.localizedHelpLink)(_.helpLinks.maxConcurrentAccounts,W)}),F),e0=eG.fundedLiveSimSpecs.map(e=>"startingBalance"===e.key?{...e,label:es("virtualStartingBalance")}:e),e1=eG.fundedLiveSpecs,e5=[...0===ef?["freeReset"]:[],"freeTradingPlatforms","freeVideoLibrary","noMinimumTradingDaysEval","canTradeNews"],e2=e=>["noUpfront","live"===e?"noSubscriptionFeeLive":"noSubscriptionFee","noMinimumTradingDays","noConsistencyRequirement","noBufferRequirement","weeklyPayouts","canTradeNews"],e3=(e,r)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"space-y-0",children:e.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 border-b border-border/40 py-3 md:py-4",children:[(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-start gap-x-1.5 text-sm font-medium text-foreground",children:[(0,t.jsx)("span",{className:"min-w-0 wrap-break-word",children:e.helpLink?(0,t.jsx)("a",{href:e.helpLink,target:"_blank",rel:"noopener noreferrer",className:"text-semantic-info underline-offset-2 hover:underline visited:text-semantic-info dark:text-primary dark:visited:text-primary",children:e.label}):e.label}),"approvedTimes"===e.key?(0,t.jsx)("button",{type:"button","aria-label":e.label,"aria-haspopup":"dialog",onClick:()=>eR(!0),className:"inline-flex items-center",children:(0,t.jsx)(u,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground hover:text-primary cursor-pointer mt-0.5"})}):(0,t.jsx)(p.default,{content:e.tooltip,side:"top",inlineTrigger:!0,children:(0,t.jsx)(c.Info,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground hover:text-foreground cursor-help mt-0.5"})})]}),(0,t.jsx)("span",{className:"min-w-0 max-w-[50%] text-right text-sm wrap-break-word whitespace-pre-line text-muted-foreground",dir:"ltr",children:e.value})]},e.key))}),(0,t.jsx)("div",{className:"mt-4 md:mt-6 space-y-2",children:r.map(e=>(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(l.CheckCircle,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-start gap-x-1.5 text-sm font-medium text-primary",children:[(0,t.jsx)("span",{className:"min-w-0 wrap-break-word",children:et(`features.${e}`)}),"noSubscriptionFee"===e?null:(0,t.jsx)(p.default,{content:en(e),side:"top",inlineTrigger:!0,children:(0,t.jsx)(c.Info,{className:"h-3.5 w-3.5 shrink-0 text-primary/70 hover:text-primary cursor-help mt-0.5"})})]})]},e))})]}),e4=()=>{if(null===eh){ey(!0),ev.current?.scrollIntoView({behavior:"smooth",block:"center"});return}let e=(0,w.createNavStateKey)();(0,w.storeNavState)(e,{product:e$.product,productName:e$.name,planLabel:eG.label,planId:eG.id,platform:eu[eh].label,originalPrice:eG.originalPrice,price:eG.originalPrice});let t=X("/checkout"),r=H?.get("discount"),a=r?`${t}?discount=${encodeURIComponent(r)}`:t;G.push((0,w.hrefWithNavState)(a,e))};return(0,t.jsxs)("main",{className:"min-h-screen bg-background",children:[(0,t.jsx)("nav",{className:"border-b border-border/50",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-6xl items-center justify-between px-6 py-4",children:[(0,t.jsxs)(y.default,{to:"/",children:[(0,t.jsx)(a.default,{src:(0,j.assetSrc)("/assets/E2T_Logo.svg"),alt:ea("brandLogoAlt"),width:221,height:31,className:"h-6 w-auto hidden dark:block"}),(0,t.jsx)(a.default,{src:(0,j.assetSrc)("/assets/E2T_Logo_Dark.svg"),alt:ea("brandLogoAlt"),width:221,height:31,className:"h-6 w-auto block dark:hidden"})]}),(0,t.jsxs)("button",{onClick:()=>{sessionStorage.removeItem($),G.back()},className:"flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(o.ArrowLeft,{className:"icon-rtl-flip h-3.5 w-3.5"}),et("back")]})]})}),(0,t.jsxs)("section",{className:"mx-auto max-w-4xl px-6 py-10 pb-32 md:pb-16",children:[ee&&(0,t.jsxs)("div",{className:"mb-6 flex flex-col gap-2 rounded-xl border border-border/50 bg-secondary/50 px-4 py-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:et("activeSubscriptionBanner.message")}),(0,t.jsx)(i.Button,{asChild:!0,size:"sm",variant:"outline",className:"shrink-0",children:(0,t.jsx)("a",{href:(0,S.dashboardUrlFor)(K),children:et("activeSubscriptionBanner.goToDashboard")})})]}),(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(v,{value:ef,onChange:e=>eg(e)})}),eQ&&(0,t.jsxs)("div",{className:"mb-6 rounded-xl border border-primary/30 bg-primary/10 px-4 py-3 text-center",children:[(0,t.jsx)(n.Badge,{className:"mb-1.5 bg-stat-highlight text-background border-transparent text-sm px-3 py-1",children:ed?.limitedTimeOffer}),(0,t.jsxs)("p",{className:"text-xl md:text-2xl font-bold text-foreground",children:[ed?.headlinePrefix," ",(0,t.jsx)("span",{className:"text-muted-foreground font-normal text-sm md:text-base",children:(ed?.headlineSuffix??"").replace("{productName}",e$.name)}
4)]}),(0,t.jsxs)(s.Dialog,{children:[(0,t.jsx)(s.DialogTrigger,{asChild:!0,children:(0,t.jsx)(i.Button,{variant:"ghost",size:"sm",className:"mt-2 border border-primary/40 text-primary hover:bg-primary hover:text-primary-foreground",children:ed?.openDialog})}),(0,t.jsxs)(s.DialogContent,{className:"max-w-lg max-h-[85vh] overflow-y-auto sm:overflow-y-auto",children:[(0,t.jsx)(s.DialogHeader,{children:(0,t.jsx)(s.DialogTitle,{className:"text-xl",children:ed?.title})}),(0,t.jsxs)("div",{className:"space-y-4 text-sm text-muted-foreground",children:[ed?.intro&&(0,t.jsx)("p",{children:ec(ed.intro)}),(0,t.jsx)("p",{className:"font-semibold text-foreground",children:ed?.lead}),(ed?.tcpLine||ed?.gauLine)&&(0,t.jsxs)("ul",{className:"space-y-1.5 list-disc ps-5",children:[ed?.tcpLine&&(0,t.jsx)("li",{children:ec(ed.tcpLine)}),ed?.gauLine&&(0,t.jsx)("li",{children:ec(ed.gauLine)})]}),(0,t.jsx)("p",{className:"font-semibold text-foreground",children:ed?.resetsHeading}),(0,t.jsxs)("ul",{className:"space-y-1.5 list-disc ps-5",children:[ed?.resetTcp25&&(0,t.jsx)("li",{children:ec(ed.resetTcp25)}),ed?.resetTcp50&&(0,t.jsx)("li",{children:ec(ed.resetTcp50)}),ed?.resetGau50&&(0,t.jsx)("li",{children:ec(ed.resetGau50)})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-primary/30 bg-primary/10 p-3 text-foreground",children:[(0,t.jsxs)("p",{children:[ed?.discountCodeLabel," ",(0,t.jsx)("span",{className:"font-mono font-bold text-primary",children:eo})]}),(0,t.jsxs)("p",{children:[ed?.validThroughLabel," ",(0,t.jsx)("span",{className:"font-semibold",children:ed?.validThroughDate})]})]}),(0,t.jsx)("p",{className:"text-xs leading-relaxed",children:ec(ed?.disclaimer)})]})]})]})]}),(0,t.jsxs)("div",{className:"mb-1 flex items-center justify-center gap-2",children:[(0,t.jsx)("h1",{className:"text-center text-2xl md:text-3xl font-bold text-foreground",children:e$.name}),(0,t.jsx)(n.Badge,{className:`text-xs px-2.5 py-1 border-transparent ${0===ef?"bg-stat-highlight text-background":"bg-accent-blue text-background"}`,children:0===ef?et("badges.mostPopular"):et("badges.fastTrack")})]}),(0,t.jsx)("p",{className:"mb-6 md:mb-10 text-center text-base md:text-lg text-muted-foreground",children:et("subtitle")}),(0,t.jsx)("div",{ref:ev,className:"mb-2 flex flex-col items-center gap-2",children:(0,t.jsxs)("div",{className:"relative inline-grid grid-cols-3 items-center rounded-full border-2 border-border bg-card p-1 shadow-md",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute top-1 bottom-1 rounded-full bg-primary shadow-lg shadow-primary/30 transition-all duration-500 ease-out",style:{opacity:+(null!==eh),width:"calc((100% - 0.5rem) / 3)",insetInlineStart:`calc(0.25rem + (100% - 0.5rem) / 3 * ${eh??0})`}}),eu.map((e,r)=>(0,t.jsxs)("button",{onClick:()=>{ex(r),ey(!1)},"aria-describedby":eb?"platform-selector-error":void 0,className:`relative z-10 rounded-full px-5 py-2 text-center transition-all duration-500 ease-out ${eh===r?"text-primary-foreground scale-105":"text-muted-foreground hover:text-foreground scale-100"}`,children:[(0,t.jsx)("span",{className:"block text-sm font-bold",children:e.label}),(0,t.jsx)("span",{className:`block text-[11px] transition-colors duration-300 ${eh===r?"text-primary-foreground/80":"text-muted-foreground"}`,children:e.description})]},e.id))]})}),null===eh?(0,t.jsx)("p",{id:"platform-selector-error",role:eb?"alert":void 0,className:`mb-6 md:mb-12 text-center text-xs font-medium ${eb?"text-destructive":"text-primary"}`,children:eb?et("platforms.chooseError"):et("platforms.choosePrompt")}):(0,t.jsx)("div",{className:"mb-4 md:mb-10","aria-hidden":"true"}),(0,t.jsx)("div",{className:"md:hidden flex gap-2 mt-16 mb-6 overflow-visible",children:eF.map((e,r)=>{let a=eK(e),i=eX(e),n=eY(e);return(0,t.jsxs)("button",{onClick:()=>eU(r),className:`relative flex-1 min-w-0 rounded-lg px-2 pt-4 pb-3 text-center transition-all border-2 ${eD===r?"border-primary bg-primary/15":"border-border/50 bg-card"}`,children:[a&&(0,t.jsxs)("span",{className:"absolute -top-2.5 left-1/2 -translate-x-1/2 rounded-full bg-stat-highlight px-2 py-0.5 text-[9px] font-bold text-background whitespace-nowrap",children:["-",n,"%"]}),(0,t.jsx)("p",{className:"text-xs font-bold text-primary",children:e.label}),a&&(0,t.jsx)("span",{className:"block text-[11px] text-muted-foreground line-through",dir:"ltr",children:(0,z.asPrice)(e.originalPrice,W,K)}),(0,t.jsxs)("div",{className:"inline-flex w-full flex-col items-center gap-0.5",dir:"ltr",children:[(0,t.jsx)("span",{className:"text-base font-bold text-foreground block",children:eq?(0,t.jsx)("span",{className:"mx-auto block h-4 w-14 animate-pulse rounded bg-muted"}):(0,z.asPrice)(i,W,K)}),(0,t.jsx)("p",{className:"text-[10px] text-muted-foreground",children:et("perMo")})]})]},e.id)})}),(0,t.jsxs)("div",{className:"grid gap-6 md:gap-10 md:grid-cols-[1fr_280px]",children:[(0,t.jsxs)("div",{className:"rounded-2xl border border-border/60 bg-secondary shadow-sm p-5 md:p-7",children:[(0,t.jsxs)("div",{className:"mb-4 md:mb-6 flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-foreground",children:eG.label}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-primary/30 bg-primary/10 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-primary",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-primary"}),et("purchasingBadge")]})]}),(0,t.jsx)("div",{role:"tablist","aria-label":et("stepper.ariaLabel"),className:"flex w-full items-stretch gap-2 text-xs font-medium",children:[{key:"evaluation",num:1},{key:"funded",num:2}].map((e,r)=>{let a=eT===e.key;return(0,t.jsxs)("div",{className:"flex flex-1 items-center gap-2",children:[(0,t.jsxs)("button",{type:"button",role:"tab","aria-selected":a,onClick:()=>
4eN(e.key),className:`group flex flex-1 items-center justify-center gap-2 rounded-full border px-2.5 py-2 lg:px-3 lg:py-2.5 transition-all duration-300 ${a?"border-primary/50 bg-primary/10 text-foreground":"border-border/60 bg-background/40 text-muted-foreground hover:border-border hover:text-foreground"}`,children:[(0,t.jsx)("span",{className:`flex h-6 w-6 items-center justify-center rounded-full text-xs font-bold transition-colors duration-300 ${a?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground group-hover:bg-muted-foreground/20"}`,children:e.num}),(0,t.jsxs)("span",{className:"flex flex-col items-start leading-tight text-start",children:[(0,t.jsx)("span",{className:"font-semibold",children:et(`stepper.${e.key}`)}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-wider opacity-70",children:et(`stepper.${e.key}Sub`)})]})]}),0===r&&(0,t.jsx)(d.ArrowRight,{"aria-hidden":!0,className:"icon-rtl-flip h-2.5 w-2.5 shrink-0 text-muted-foreground/60"})]},e.key)})})]}),"funded"===eT&&(0,t.jsx)("div",{className:"mb-5 flex justify-center animate-in fade-in duration-300",children:(0,t.jsxs)("div",{role:"tablist","aria-label":et("fundedSubToggle.ariaLabel"),className:"relative inline-grid grid-cols-2 items-center rounded-full border border-border/50 bg-background/60 p-1 backdrop-blur-sm",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute top-1 bottom-1 rounded-full bg-primary/10 border border-primary/30 transition-all duration-300 ease-out",style:{insetInlineStart:"liveSim"===eL?"4px":"50%",insetInlineEnd:"liveSim"===eL?"50%":"4px"}}),["liveSim","live"].map(e=>(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":eL===e,onClick:()=>e_(e),className:`relative z-10 inline-flex items-center justify-center leading-none px-6 py-2 text-[11px] font-bold uppercase tracking-widest rounded-full whitespace-nowrap transition-colors duration-300 ${eL===e?"text-primary":"text-muted-foreground hover:text-foreground"}`,children:et(`fundedSubToggle.${e}`)},e))]})}),(0,t.jsx)("div",{className:"animate-in fade-in duration-300",children:"evaluation"===eT?e3(eZ,e5):(0,t.jsx)("div",{className:"perspective-1200",children:(0,t.jsxs)("div",{className:"relative grid w-full transition-transform duration-700 preserve-3d",style:{transform:"live"===eL?"rotateY(180deg)":"rotateY(0deg)"},children:[(0,t.jsx)("div",{className:"[grid-area:1/1] backface-hidden",children:e3(e0,e2("liveSim"))}),(0,t.jsx)("div",{className:"[grid-area:1/1] backface-hidden rotate-y-180",children:e3(e1,e2("live"))})]})})},eT)]}),(0,t.jsxs)("div",{className:"hidden md:flex flex-col gap-4 h-full",children:[eF.map((e,r)=>{let a=eK(e),i=eX(e),n=eY(e);return(0,t.jsxs)("button",{onClick:()=>eU(r),className:`relative flex-1 flex flex-col items-center justify-center rounded-xl px-4 py-3 text-center transition-all border-2 ${eD===r?"border-primary bg-primary/15 shadow-lg shadow-primary/10":"border-border/50 bg-card hover:border-primary/30"}`,children:[a&&(0,t.jsxs)("span",{className:"absolute -top-2.5 right-3 rounded-full bg-stat-highlight px-2 py-0.5 text-[10px] font-bold text-background",children:["-",n,"%"]}),(0,t.jsx)("p",{className:"mb-1 text-xl font-bold text-primary",children:e.label}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-0.5",dir:"ltr",children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[a&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground line-through",dir:"ltr",children:(0,z.asPrice)(e.originalPrice,W,K)}),(0,t.jsx)("span",{className:"text-2xl font-bold text-foreground",children:eq?(0,t.jsx)("span",{className:"block h-6 w-20 animate-pulse rounded bg-muted"}):(0,z.asPrice)(i,W,K)})]}),(0,t.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground",children:et("perMonth")})]})]},e.id)}),"tcp"===e$.product&&(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center rounded-xl border-2 border-dashed border-border/50 bg-card/40 px-4 py-3 text-center",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1",dir:"ltr",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-foreground",children:(eM.score??4.7).toFixed(1)}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:et("trustpilotCard.outOf")})]}),(0,t.jsx)("div",{className:"mt-1 flex items-center gap-0.5 text-stat-highlight",children:[0,1,2,3,4].map(e=>(0,t.jsx)("svg",{className:"h-3.5 w-3.5 fill-current",viewBox:"0 0 20 20","aria-hidden":!0,
4children:(0,t.jsx)("path",{d:"M10 1.5l2.6 5.27 5.82.85-4.21 4.1.99 5.78L10 14.77l-5.2 2.73.99-5.78L1.58 7.62l5.82-.85L10 1.5z"})},e))}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:et("trustpilotCard.basedOn",{count:eM.count?eM.count.toLocaleString(W):"10,000+"})})]})]})]}),(0,t.jsxs)("div",{className:"hidden md:block mt-14 text-center",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-center gap-3",children:[eK(eG)&&(0,t.jsx)("span",{className:"text-lg text-muted-foreground line-through",dir:"ltr",children:(0,z.asPrice)(eG.originalPrice,W,K)}),(0,t.jsxs)("span",{className:"inline-flex items-baseline gap-2",dir:"ltr",children:[(0,t.jsx)("span",{className:"text-5xl font-bold text-foreground",children:eq?(0,t.jsx)("span",{className:"inline-block h-10 w-36 animate-pulse rounded bg-muted align-middle"}):(0,z.asPrice)(eX(eG),W,K)}),(0,t.jsx)("span",{className:"text-lg text-muted-foreground",children:et("perMonth")})]})]}),(0,t.jsxs)(i.Button,{size:"lg",className:"gap-2",onClick:e4,children:[et("startNow")," ",(0,t.jsx)(d.ArrowRight,{className:"icon-rtl-flip h-4 w-4"})]})]})]}),(0,t.jsx)("div",{className:"md:hidden fixed bottom-0 left-0 right-0 z-40 border-t border-border/50 bg-background/95 backdrop-blur-sm pl-6 pr-20 pt-2 pb-[calc(env(safe-area-inset-bottom)+1.125rem)]",children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsxs)("div",{className:"flex max-w-full flex-wrap items-baseline gap-x-1.5 gap-y-0.5 wrap-break-word",children:[eK(eG)&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground line-through",dir:"ltr",children:(0,z.asPrice)(eG.originalPrice,W,K)}),(0,t.jsxs)("span",{className:"inline-flex items-baseline gap-x-1.5",dir:"ltr",children:[(0,t.jsx)("span",{className:"text-xl font-bold leading-tight text-foreground",children:eq?(0,t.jsx)("span",{className:"inline-block h-6 w-20 animate-pulse rounded bg-muted align-middle"}):(0,z.asPrice)(eX(eG),W,K)}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:et("perMo")})]})]})}),(0,t.jsxs)(i.Button,{size:"lg",className:"gap-2 shrink-0",onClick:e4,children:[et("startNow")," ",(0,t.jsx)(d.ArrowRight,{className:"icon-rtl-flip h-4 w-4"})]})]})}),(0,t.jsx)(m.default,{open:eE,onOpenChange:eR})]})}],405868)}]);
5
6//# debugId=f920f182-e626-59ff-97f3-2ad1aa8aad2f

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.