1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5297],{4163:e=>{e.exports={wrapper:"styles_wrapper__YJ35n"}},14887:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var s=l(37876);l(14232);var a=l(69241),r=l(17746),i=l(7347),n=l(90913),o=l(34007),c=l(31462),d=l(25493),x=l(46976);let p=e=>{var t,l;let{data:a,containerSizes:r,className:i,isWhite:n=!1}=e,p=(null==(t=a[a.length-1])?void 0:t.price)>=(null==(l=a[0])?void 0:l.price),m=n?"#FFFFFF":p?"#4ACC37":"#FF0000";return(0,s.jsx)(o.u,{width:(null==r?void 0:r.width)||"100%",height:(null==r?void 0:r.height)||"100%",className:i,children:(0,s.jsxs)(c.Q,{data:a,width:200,height:50,margin:{},children:[(0,s.jsx)(d.h,{width:0,tick:!1,axisLine:!1,domain:["auto","auto"]}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"FFFFFF",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"15%",stopColor:"#FFFFFF",stopOpacity:.8}),(0,s.jsx)("stop",{offset:"85%",stopColor:"#FFFFFF",stopOpacity:0})]}),(0,s.jsxs)("linearGradient",{id:"4ACC37",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"15%",stopColor:"#4ACC37",stopOpacity:.8}),(0,s.jsx)("stop",{offset:"85%",stopColor:"#4ACC37",stopOpacity:0})]}),(0,s.jsxs)("linearGradient",{id:"FF0000",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"15%",stopColor:"#FF0000",stopOpacity:.8}),(0,s.jsx)("stop",{offset:"85%",stopColor:"#FF0000",stopOpacity:0})]})]}),(0,s.jsx)(x.G,{type:"monotone",dataKey:"price",isAnimationActive:!1,strokeWidth:1.5,stroke:m,fill:"url(#".concat(m.replace("#",""),")")})]})})},m={7:"12",25:"40"},h=e=>{let{width:t=287,height:l=351,data:o,className:c}=e,d=(0,r.A)(i.$_.laptop),{sparkline:x,symbol:h,name:u,dailyPriceChange:g,iconColor:f}=o,j=(g.value||0)>0,b="linear-gradient(95deg, ".concat(f).concat(m[25],", ").concat(f).concat(m[7],")"),v=x.map((e,t)=>({price:e,idx:t})),w=x[x.length-1];return(0,s.jsxs)("div",{className:(0,a.A)(c,"relative flex shrink-0 flex-col rounded-[12px] p-4 pb-0 laptop:p-6 "),style:{background:b,width:t,height:l},children:[(0,s.jsxs)("div",{className:"z-10",children:[(0,s.jsx)(n.A,{symbol:h,alt:u,width:57,height:57,className:"mb-[16px] shrink-0"}),(0,s.jsx)("p",{className:"text-lg font-600 maxTablet:text-md",children:u}),(0,s.jsx)("p",{className:"mb-[12px] text-md font-500 text-secondary laptop:mb-[16px] maxTablet:text-sm",children:h}),w&&(0,s.jsxs)("p",{className:"text-[26px] font-600 text-textDefault maxTablet:text-lg",children:["$",w]}),g.percent&&(0,s.jsxs)("div",{className:(0,a.A)(j&&"text-green-600",!j&&"text-red-500","font-inter text-[19px] font-600 maxTablet:text-sm"),children:[j&&"+",g.percent.toFixed(2),"%"]})]}),v.length>0&&(0,s.jsx)(p,{data:v,isWhite:!0,className:"z-01 absolute bottom-0 left-0 w-full",containerSizes:{height:d?"35%":"25%"}})]})}},17249:(e,t,l)=>{"use strict";l.d(t,{G:()=>g,A:()=>u});var s=l(37876),a=l(10433),r=l(78226),i=l(94501),n=l(49504),o=l(14232),c=l(69241),d=l(14037),x=l(17746),p=l(7347),m=l(4163),h=l.n(m);let u=e=>{let{className:t,headings:l,openInitial:m,itemClassname:u,containerId:g}=e,{t:f}=(0,a.Bd)(),j=(0,x.A)(p.$_.maxLaptop);return(0,s.jsx)("div",{className:(0,c.A)(h().wrapper,t),children:(0,s.jsx)(i.W,{children:e=>{let{open:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.W.Button,{className:"flex cursor-pointer flex-row items-center gap-[11px]",children:[(0,s.jsx)("p",{className:"title leading-[1.44]",children:f("common.tableOfContent.title","Content")}),!m&&(0,s.jsx)(d.ZL,{className:(0,c.A)(t?"rotate-180":"rotate-0","duration-150")})]}),(0,s.jsx)(n.e,{as:"nav",show:m,enterFrom:"opacity-0",enterTo:"opacity-100",enter:"ease-in transition-all duration-150",leave:"ease-out stransition-all duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",className:"pt-[22px]",children:(0,s.jsx)(i.W.Items,{as:"ol",children:l.map(e=>{let{title:t,link:l}=e;return(0,s.jsx)(o.Fragment,{children:!j&&g?(0,s.jsx)(i.W.Item,{as:"li",children:(0,s.jsx)(r.N_,{to:l,spy:!0,smooth:!0,duration:500,offset:-100,containerId:g,className:(0,c.A)(null!=u?u:"text-textDefault","cursor-pointer"),children:t})}):(0,s.jsx)(i.W.Item,{as:"li",children:(0,s.jsx)(r.N_,{to:l,spy:!0,smooth:!0,duration:500,offset:-100,className:(0,
1c.A)(null!=u?u:"text-textDefault","cursor-pointer"),children:t})})},l)})})})]})}})})},g="content-container-id"},17443:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>Q,default:()=>V});var s=l(37876);l(14232);var a=l(10433),r=l(76145),i=l(64977),n=l(60778),o=l(91675),c=l(24948),d=l(28696),x=l(91350),p=l(69241),m=l(54587),h=l.n(m),u=l(66553),g=l(78327),f=l(17249),j=l(76792),b=l(66504),v=l(76751),w=l(77286),y=l(58235),N=l(53425),A=l(23700),_=l(30101),F=l(56196),C=l(90149),k=l(17746),S=l(7347),T=l(10549),L=l(14887);let B=e=>{let{className:t}=e,l=(0,k.A)(S.$_.laptop),{indices:a,isLoading:r}=(0,C.A)(),i=a.filter(e=>"SPXUSD"===e.symbol)[0];return(0,s.jsx)(T.A,{isLoading:r,width:l?287:265,height:351,borderRadius:12,containerClassName:"flex flex-col items-center",className:"mx-auto",children:(0,s.jsx)(L.A,{width:l?287:265,height:351,data:i,className:t})})};var E=l(77878),W=l.n(E),O=l(82961),z=l(89099),I=l(30915),D=l.n(I),P=l(43804),$=l(24014);let G=e=>{var t,l;let{title:a,imgData:r}=e;return(0,s.jsxs)("div",{className:(0,p.A)("flex w-full max-w-[184px] cursor-pointer items-center gap-2 bg-white px-3 py-2.5 hover:bg-whiteHover","rounded-[9px] border border-solid border-grey-300"),children:[(0,s.jsx)("div",{className:"flex size-[40px] items-center justify-center rounded-[6px] bg-black",children:(0,s.jsx)(h(),{src:o.$r+r.url,alt:a,width:null!=(t=r.width)?t:40,height:null!=(l=r.height)?l:40,className:"h-auto w-[40px] rounded-[6px] bg-black"})}),(0,s.jsx)("p",{className:(0,p.A)("line-clamp-3 font-inter text-sm font-400 text-secondary hover:font-500 hover:text-textDefault"),children:a})]})},Z=e=>{let{slug:t}=e,{t:l}=(0,a.Bd)(),{locale:r,query:i}=(0,z.useRouter)(),n=i.slug,o=D().stringify({locale:r,limit:4,categorySlug:t},{encode:!1}),{data:c,isLoading:d}=(0,O.Ay)("".concat(P.n.blogArticlesFromCategory,"?").concat(o),$.kd),x=null==c?void 0:c.data.data.filter(e=>e.slug!==n).slice(0,3);return d||(null==x?void 0:x.length)?(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("p",{className:"mb-1 font-roobert text-def font-600 text-textDefault",children:l("blog.article.similarArticles","Similar articles")}),(0,s.jsx)(T.A,{isLoading:d,height:72,width:176,count:3,containerClassName:"flex flex-col mx-auto gap-2 mb-5",borderRadius:12,children:null==x?void 0:x.map(e=>{let{image:l,name:a,slug:r,id:i}=e;return(0,s.jsx)(b.A,{href:v.Z2.blogArticlePage(t,r),children:(0,s.jsx)(G,{imgData:l.formats.small,title:a})},i)})})]}):null},R=e=>{var t,l,r,i,n,m,C,k;let{className:S,article:T,slug:L}=e,{t:E,i18n:O}=(0,a.Bd)(),{updatedContent:z,headersArray:I}=(0,u.bI)(T.content),D=null!=(m=null==(t=T.image.formats)?void 0:t.large)?m:T.image,P=T.blog_article_tag,$=null==(l=T.blog_category)?void 0:l.name;return(0,s.jsx)("div",{className:(0,p.A)(W().wrapper,S),children:(0,s.jsx)(g.A,{children:(0,s.jsxs)("div",{className:"flex flex-col laptop:flex-row laptop:gap-[24px]",children:[(0,s.jsx)(N.A,{down:"maxLaptop",children:(0,s.jsxs)("div",{children:[I.length>0&&(0,s.jsx)(f.A,{containerId:f.G,className:"mb-[21px] h-fit w-full min-w-[260px] max-w-[300px] maxTablet:max-w-full",openInitial:!0,headings:I,itemClassname:"text-secondary duration-300 hover:text-blue-500"}),"sandp-500-future-projections-and-long-term-outlook"===T.slug?(0,s.jsx)(B,{className:"!w-full"}):(0,s.jsx)(A.A,{className:"rounded-[3px] border border-solid border-grey-400"})]})}),(0,s.jsxs)("div",{id:f.G,className:"w-full max-w-full overflow-x-hidden laptop:h-[900px] laptop:overflow-y-auto laptopS:max-w-[50vw]",children:[(0,s.jsx)("h1",{className:"title mb-[16px] text-[42px] !leading-[1.14]",children:T.name}),(0,s.jsx)("p",{className:"mb-[24px] text-secondary",children:T.short_description}),(0,s.jsxs)("div",{className:"mb-[36px] flex flex-row items-center gap-4 maxTablet:flex-wrap maxLaptop:mb-[24px]",children:[P&&(0,s.jsx)(j.A,{title:P.name,bgcolor:P.bgColor,color:P.textColor}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-1",children:[(0,s.jsxs)(b.A,{href:v.Z2.blogCategoryPage(null==(r=T.blog_category)?void 0:r.slug),children:[" ",(0,s.jsx)("p",{className:"font-inter text-md",style:{color:(0,F.VN)(null==(i=T.blog_category)?void 0:i.slug)},children:$})]}),T.minutes&&(0,s.jsxs)("p",{className:"font-inter text-md text-secondary",children:[" ",(0,s.jsx)("b",{children:"ã»"})," ",T.minutes," ",E("learn.learnCard.time","mins")]}),(0,s.jsxs)("p",{className:"font-inter text-md text-secondary",children:[" ",(0,s.jsx)("b",{children:"ã»"})," ",(0,w.g5)(T.date,O.language)]})]})]}),(0,s.jsx)(N.A,{up:"laptop",children:(0,s.jsxs)("div",{className:"mb-[24px] flex items-center gap-7",children:[(0,s.jsx)("p",{className:"text-md font-500",children:E("blog.article.share","Share")}),(0,s.jsx)(y.A,{title:T.name})]})}),D&&(0,s.jsx)("div",{className:"mb-[36px] flex h-auto w-full items-center justify-center rounded-21 bg-black bg-[url('/images/blog/article-bg.webp')] bg-cover maxLaptop:mb-[24px]",children:(0,s.jsx)(h(),{src:o.$r+D.url,alt:(null==(n=T.image)?void 0:n.alternativeText)||T.name,width:null!=(C=D.width)?C:414,height:null!=(k=D.height)?k:289,className:"h-full min-h-[250px] w-auto laptop:min-h-[400px] maxTablet:max-h-[200px]"})}),(0,s.jsx)(N.A,{up:"laptop",children:I.length>0&&(0,s.jsx)(f.A,{className:"mb-[24px] h-fit",openInitial:!0,headings:I,itemClassname:"text-secondary duration-300 hover:text-blue-500"})}),(0,s.jsx)("div",{className:W().container,children:(0,s.jsx)(c.o,{remarkPlugins:[d.A],rehypePlugins:[x.A],components:{img:_.A},children:z})}),(0,s.jsx)(N.A,{down:"maxLaptop",children:(0,s.jsx)("div",{className:"to-[rgba(255, 255, 0.00)] absolute bottom-0 z-10 h-[100px] w-full max-w-[735px] bg-gradient-to-t from-[#FFF]"})})]}),"sandp-500-future-projections-and-long-term-outlook"===T.slug&&(0,s.jsx)(N.A,{up:"laptop",children:(0,s.jsx)(B,{className:"mx-auto mt-[24px]"})}),(0,s.jsx)(N.A,{down:"maxLaptop",children:(0,s.jsxs)("div",{className:"pt-1",children:[(0,s.jsx)("p",{className:"mb-[12px] text-md font-500",children:E("blog.articleContent.share","Share")}),(0,s.jsx)(y.A,{title:T.name,className:"mb-2"}),(0,s.jsx)(Z,{slug:L})]})})]})})})};var X=l(98540),H=l(14037),M=l(59744),Q=!0;function V(e){var t,l,i,c;let{article:d,localizations:x}=e,{t:p}=(0,a.Bd)(),m=[{content:(0,s.jsx)(H.fA,{}),href:v.Z2.home},{content:p("blog.breadcrumbs.blog","Blog"),href:v.Z2.blog},{content:d.blog_category.name,href:v.Z2.blogCategoryPage(null==(t=d.blog_category)?void 0:t.slug)},{content:d.name}];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.A,{preview:o.$r+d.image.url,previewExternal:!0,keywords:d.keywords,title:null!=(i=d.meta_title)?i:p("meta.blog.title","Blog | nomo"),description:null!=(c=d.meta_description)?c:p("meta.blog.description","Discover expert insights, effective strategies, and valuable tips to navigate the dynamic financial market. Your guide to mastering the art of trading awaits. Explore now!"),base:o.yt,languages:(0,n.Cj)(x),link:v.Z2.blogArticlePage(d.blog_category.slug,d.slug)}),(0,s.jsx)("div",{className:"mb-[24px] pt-[120px] maxTablet:pt-[100px]",children:(0,s.jsxs)(g.A,{className:"flex flex-wrap items-center justify-between gap-[24px]",children:[(0,s.jsx)(X.A,{breadcrumbs:m}),(0,s.jsx)(M.A,{})]})}),(0,s.jsx)(R,{article:d,slug:null==(l=d.blog_category)?void 0:l.slug})]})}V.getLayout=function(e,t){return(0,s.jsx)(i.A,{localizations:t.localizations,hideLanguageDropdown:t.localizations.length<2,children:e})}},23700:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var s=l(37876),a=l(10433),r=l(14232),i=l(69241);let n=e=>{let{className:t}=e,{i18n:l}=(0,a.Bd)();return(0,r.useEffect)(()=>{let e=document.createElement("script");e.type="text/javascript",e.id="calendar-widget",e.src="https://s3.tradingview.com/external-embedding/embed-widget-events.js",e.async=!0,e.innerHTML=JSON.stringify({he
1ight:"100%",width:"100%",colorTheme:"light",isTransparent:!1,locale:l.language,importanceFilter:"-1,0,1",countryFilter:"ar,au,br,ca,cn,fr,de,in,id,it,jp,kr,mx,sa,za,tr,gb,us,eu"});let t=document.querySelector(".tradingview-widget-container__widget");return null==t||t.appendChild(e),()=>{if(t)for(;t.firstChild;)t.removeChild(t.firstChild)}},[l.language]),(0,s.jsxs)("div",{className:(0,i.A)(t,"tradingview-widget-container"),children:[(0,s.jsx)("div",{className:"tradingview-widget-container__widget",style:{height:500}}),(0,s.jsx)("div",{className:"tradingview-widget-copyright",children:(0,s.jsx)("a",{href:"https://www.tradingview.com/",rel:"noopener nofollow noreferrer",target:"_blank",children:(0,s.jsx)("span",{className:"blue-text",children:"Track all markets on TradingView"})})})]})}},30101:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(37876),a=l(91675);let r=e=>(0,s.jsx)("img",{src:"".concat(a.$r).concat(e.src),alt:"article-img",className:"mb-2 h-auto w-full max-w-full"})},34252:e=>{e.exports={wrapper:"styles_wrapper__Q5gNy",iconStyle:"styles_iconStyle__bqYBd",copyWrapper:"styles_copyWrapper__Fl7Ww","slide-up":"styles_slide-up__iyaNv"}},53425:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var s=l(37876),a=l(17746),r=l(7347);let i=e=>{let{up:t,down:l,children:i}=e;return(0,a.A)(r.$_[null!=l?l:t])?null:(0,s.jsx)(s.Fragment,{children:i})},n=e=>{let{up:t,down:l,children:a,...r}=e;return(0,s.jsx)("div",{className:l?"".concat(l,":hidden"):"".concat(t,":hidden"),style:{display:"inherit",alignItems:"inherit",justifyContent:"inherit"},...r,children:(0,s.jsx)(i,{up:t,down:l,children:a})})}},58235:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var s=l(37876),a=l(10433),r=l(14232),i=l(69241),n=l(28823),o=l(14037),c=l(73044),d=l(78762),x=l(34252),p=l.n(x);let m=e=>{let{className:t,title:l}=e,{t:x}=(0,a.Bd)(),{href:m}=(0,c.A)(),[h,u]=(0,r.useState)(!1);async function g(){return"clipboard"in navigator?await navigator.clipboard.writeText(m):document.execCommand("copy",!0,m)}return(0,s.jsxs)("div",{className:(0,i.A)(p().wrapper,t),children:[(0,s.jsx)(n.r6,{url:m,title:l,via:"nomotrade",related:["nomotrade"],hashtags:["nomo","nomotrade"],children:(0,s.jsx)(o.mv,{className:p().iconStyle})}),(0,s.jsx)(n.uI,{url:m,hashtag:"#nomotrade",children:(0,s.jsx)(o.B2,{className:p().iconStyle})}),(0,s.jsx)(n.VI,{title:l,url:m,children:(0,s.jsx)(o.UF,{className:p().iconStyle})}),(0,s.jsxs)("div",{className:"relative cursor-pointer",onClick:()=>{g().then(()=>{u(!0);let e=setTimeout(()=>{u(!1)},1500);return()=>clearTimeout(e)}).catch(e=>{console.debug(e)})},children:[(0,s.jsx)(o.EQ,{className:p().iconStyle}),h&&(0,s.jsxs)("div",{className:p().copyWrapper,children:[(0,s.jsx)(d.A,{}),(0,s.jsxs)("p",{className:"text-xs font-500",children:[x("blog.articleContent.copied","Copied")," "]})]})]})]})}},77878:e=>{e.exports={wrapper:"styles_wrapper__1byAX",container:"styles_container__Sk50z"}},78762:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var s=l(37876);let a=e=>{let{size:t=12,fill:l="#0055FB",className:a,stroke:r="white"}=e;return(0,s.jsxs)("svg",{width:t,height:t,viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[(0,s.jsx)("rect",{x:"0.842105",y:"0.342105",width:"11.3158",height:"11.3158",rx:"2.6579",fill:l}),(0,s.jsx)("rect",{x:"0.842105",y:"0.342105",width:"11.3158",height:"11.3158",rx:"2.6579",fill:l,strokeWidth:"0.68421"}),(0,s.jsx)("path",{d:"M9.2354 3.94678L5.47224 7.70993L3.76172 5.99941",stroke:r,strokeWidth:"1.02632",strokeLinecap:"round",strokeLinejoin:"round"})]})}},79162:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[category]/[slug]",function(){return l(17443)}])},90149:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(14232),a=l(82961),r=l(28532),i=l(57158),n=l(66415);let o=()=>{let e=(0,s.useRef)(!0),{data:t,isLoading:l}=(0,a.Ay)(e.current?n.o.getTradingMarkets:null,i.zv,{onError:()=>{e.current=!1},onSuccess:t=>{t&&t.data&&t.data.data||(e.current=!1)},revalidateOnFocus:!1});if(!t&&!l)return{stocks:r.E0,indices:r.yD,ai:r.H_,isLoading:!1};let o=Object.values((null==t?void 0:t.data.data)||{}),c=o.filter(e=>{let{category:t,isTrending:l}=e;return"stocks"===t&&l});return{stocks:c,indices:o.filter(e=>{let{category:t}=e;return"indices"===t}),ai:o.filter(e=>{let{category:t,isTrending:l}=e;return"ai"===t&&l}),isLoading:l}}},90913:(e,t,l)=>{"use strict";l.d(t,{A:()=>
1o});var s=l(37876),a=l(14232),r=l(54587),i=l.n(r),n=l(69241);let o=e=>{let[t,l]=(0,a.useState)(!1),{symbol:r,...o}=e,c="/images/stocks-svg/".concat(r,".svg");return t?(0,s.jsx)("div",{style:{width:e.width,height:e.height},className:(0,n.A)("flex shrink-0 items-center justify-center rounded-full bg-blue-100 !p-0 text-center font-roobert text-[100%] text-blue-500",o.className),children:r.slice(0,1)}):(0,s.jsx)(i(),{...o,src:c,alt:o.alt,style:{flexShrink:0},onError:()=>{t||l(!0)}})}}},e=>{e.O(0,[4565,8226,6802,915,1659,5307,2334,8823,9951,3625,858,4977,2543,2050,636,6593,8792],()=>e(e.s=79162)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.