PageSourceSearch

https://tradenation.com/_next/static/chunks/298.8c1913457023a80f.js

js tradenation.com collected 2026-10-01 14:35:18 UTC 13,024 bytes, 40 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[298],{60298:(e,t,i)=>{i.r(t),i.d(t,{default:()=>M});var n=i(2445),l=i(4743),o=i(24191),r=i(58626),a=i(54373),d=i(95678),c=i(94887),g=i(90343),p=i(95817),h=i(25505),s=i(66247),m=i(60282),u=i(91044);let x=(0,h.A)(u.E,{target:"ek982cc1"})("height:auto;width:100%;object-fit:cover;",e=>{let{is_outlined:t}=e;return`
2    border-top-left-radius: ${"true"===t?"15px":0};
3    border-top-right-radius: ${"true"===t?"15px":0};
4  `}," ",e=>e.theme.breakpoints.down("lg"),"{max-height:300px;}"),f=(0,h.A)(c.A,{target:"ek982cc3"})("margin-top:10px;color:",e=>e.theme.palette.primary.light,";"),_=(0,h.A)(u.E,{target:"ek982cc4"})("max-width:60%;max-height:fit-content;object-fit:cover;"),v=(0,h.A)(l.A,{target:"ek982cc5"})("margin-top:10px;display:flex;padding:0 15px 15px 15px;"),w=(0,h.A)(l.A,{target:"ek982cc6"})("display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex:1;"),y=(0,h.A)(l.A,{target:"ek982cc7"})("display:block;"),k=(0,h.A)(o.A,{target:"ek982cc8"})("margin-top:40px;columns:12;spacing:4;",e=>e.theme.breakpoints.down("lg"),"{margin-top:15px;}"),b=(0,h.A)(l.A,{target:"ek982cc9"})("display:flex;flex-direction:column;flex:1;"),A=(0,h.A)(l.A,{target:"ek982cc11"})(e=>{let{is_outlined:t,container_height:i,content_alignment:n}=e;return`
5    background-size: cover;
6    background-repeat: no-repeat;
7    background-position: center;
8    padding: ${"true"===t?"0":"15px"};
9    border: ${"true"===t?"1px solid white":"none"};
10    border-radius: ${"true"===t?"10px":"none"};
11    min-height: ${i?`${i}px`:"100%"};
12    display: flex;
13    flex-direction: column;
14    justify-content: ${n};
15    position: relative;
16    contain: layout style;
17  `},";"),Y=(0,h.A)(A,{target:"ek982cc12"})(e=>{let{container_height:t}=e;return`
18  min-height: ${t??"575"}px;
19  height: 100%;
20
21  ${e=>e.theme.breakpoints.down("lg")} {
22    min-height: fit-content;
23    height: 100%;
24  }
25  `}),$=(0,h.A)(u.E,{target:"ek982cc13"})("height:100% !important;width:100%;position:absolute;object-fit:cover;z-index:-1;"),D=(0,h.A)(l.A,{target:"ek982cc14"})("height:fit-content;",e=>{let{width:t}=e;return`
26    width: ${t};
27  `}),F=(0,h.A)(c.A,{target:"ek982cc15"})("margin-top:15px;color:",e=>e.theme.palette.primary.light,";"),C=(0,h.A)(m.e,{target:"ek982cc16"})("text-decoration:none !important;max-width:100%;"),S=(0,h.A)(u.E,{target:"ek982cc17"})("object-fit:contain;height:25px;max-width:180px;margin-top:15px;width:fit-content;",e=>e.theme.breakpoints.down("lg"),"{height:20px;width:155px;}"),j=(0,h.A)(S,{target:"ek982cc18"})(e=>e.theme.breakpoints.down("lg"),"{width:fit-content !important;}"),P=(0,h.A)(l.A,{target:"ek982cc19"})("margin:15px 25px 0 25px;display:flex;flex-direction:column;width:80%;gap:15px;"),z=(0,h.A)(l.A,{target:"ek982cc21"})("display:flex;flex-direction:column;padding:10px 25px;"),L=(0,h.A)(C,{target:"ek982cc23"})("padding:25px;"),T=(0,h.A)(s.A,{target:"ek982cc24"})("color:",e=>e.theme.palette.primary.contrastText,";text-decoration:underline;font-weight:700;"),E=(0,h.A)(c.A,{target:"ek982cc25"})("margin:0 !important;"),N=(0,h.A)(c.A,{target:"ek982cc26"})("margin-top:15px;"),B=(0,h.A)(l.A,{target:"ek982cc27"})("display:flex;align-items:center;flex:1;",e=>e.theme.breakpoints.down("lg"),"{padding:10px 0px;}"),R=(0,h.A)(l.A,{shouldForwardProp:e=>"removepadding"!==e,target:"ek982cc28"})("display:flex;flex-direction:column;padding-top:20px;",e=>{let{removepadding:t}=e;return`
28    margin: ${t?"0":"0 25px"} !important;
29    ${e=>e.theme.breakpoints.down("lg")} {
30      min-height: fit-content !important;
31    }
32  `}),W=(0,h.A)(l.A,{target:"ek982cc29"})("position:relative;"),I=(0,h.A)(u.E,{target:"ek982cc30"})("position:absolute;top:-15px;left:25px;max-width:120px;height:fit-content;object-fit:contain;"),H=(0,h.A)(u.E,{target:"ek982cc31"})("max-height:auto;height:100%;width:100%;object-fit:contain;contain:layout style paint;",e=>e.theme.breakpoints.down("lg"),"{max-height:300px;max-width:100%;object-fit:cover;}"),M=e=>{let{slice:t}=e,i=(0,p.oY)(t),h=(0,g.A)(),{primary:s,items:m}=t,{heading:u,cta_link:M,cta_text:O,description:U,button_placement:Z,content_alignment:q,mobile_content_alignment:G}=s,J=e=>!h&&e.tile_is_full_width?"50%":(h&&e.tile_is_full_width,"100%"),K=e=>h?e.background_image.mobile:e.background_image,Q=e=>h&&r.Sl(e.tile_image.mobile)?e.tile_image.mobile:e.tile_image,V=e=>h&&e.tile_is_full_width?650:!h&&e.tile_height?e.tile_height:void 0,X=e=>{switch(e.content_alignment){case"Top (Default)":default:return"start";case"Center":return"center";case"Bottom":return"end"}},ee=(e,t)=>
32!h&&e.tile_is_full_width||e.tile_is_full_width?12:h||2!==t?h||"2"!==e.tiles_in_row?h||"3"!==e.tiles_in_row?6:4:6:4,et=()=>h?r.Lt(G)?null==G?void 0:G.toLowerCase():null==q?void 0:q.toLowerCase():r.Lt(q)?null==q?void 0:q.toLowerCase():"left";return(0,n.FD)("section",{"data-testid":"tiled-slice","data-slice-type":t.slice_type,"data-slice-variation":t.variation,children:["default"===t.variation&&(0,n.Y)(a.c,{...i,flex:1,children:(0,n.FD)(b,{children:[(0,n.FD)(w,{children:[(0,n.Y)(l.A,{maxWidth:h?"100%":"900px",width:"fit-content",children:(0,n.Y)(c.A,{color:"primary.light",field:u})}),!h&&r.Pu(O)&&(0,n.Y)(y,{children:(0,n.Y)(d.Ay,{field:M,ctaSize:{medium:"medium"},relatesToAffiliatesContent:!1,destination:null==M?void 0:M.url,text:O??"",sliceName:t.slice_label??"",sliceType:t.slice_type})})]}),(0,n.Y)(k,{container:!0,columns:12,spacing:4,children:m.map((e,t)=>{var i,l,a,d;return(0,n.Y)(o.A,{size:{xs:12,lg:ee(e,m.length)},children:(0,n.FD)(A,{is_full_width:e.tile_is_full_width.toString(),is_outlined:e.is_outlined.toString(),container_height:V(e),content_alignment:X(e),children:[e.has_background_image&&(0,n.Y)($,{fill:!0,image:K(e)}),(0,n.FD)(D,{width:J(e),children:[(0,n.FD)(C,{link:e.tile_link,children:[r.Sl(e.tile_image)&&(0,n.Y)(x,{is_outlined:e.is_outlined.toString(),image:Q(e),width:(null===(l=Q(e))||void 0===l?void 0:null===(i=l.dimensions)||void 0===i?void 0:i.width)||300,height:(null===(d=Q(e))||void 0===d?void 0:null===(a=d.dimensions)||void 0===a?void 0:a.height)||200,priority:0===t,fetchPriority:0===t?"high":"auto",loading:0===t?"eager":void 0}),(0,n.FD)(P,{children:[r.Sl(e.logo_image)&&(0,n.Y)(S,{image:e.logo_image,fetchPriority:"high"}),(0,n.Y)(F,{field:e.tile_title})]})]}),(0,n.FD)(z,{children:[(0,n.Y)(f,{field:e.tile_subheading}),(0,n.Y)(f,{field:e.tile_description,openDocumentTarget:e.open_document_target_blank})]})]}),(0,n.Y)(v,{children:(0,n.Y)(_,{image:e.tile_footer_image})})]})},`tiled-item-${t}`)})})]})}),"inRow"===t.variation&&(0,n.Y)(a.c,{...i,flex:1,children:(0,n.FD)(b,{children:[(0,n.FD)(B,{justifyContent:(null==q?void 0:q.toLowerCase())??"space-between",children:[(0,n.FD)(l.A,{maxWidth:h||"Bottom"===Z?"100%":"900px",width:"100%",children:[(0,n.Y)(c.A,{color:"primary.light",field:u,textAlign:`${et()} !important`}),(0,n.Y)(N,{color:"primary.light",textAlign:`${et()} !important`,field:U})]}),!h&&r.Pu(O)&&"Bottom"!==Z&&(0,n.Y)(y,{children:(0,n.Y)(d.Ay,{field:M,ctaSize:{medium:"medium"},relatesToAffiliatesContent:!1,destination:null==M?void 0:M.url,text:O??"",sliceName:t.slice_label??"",sliceType:t.slice_type})})]}),(0,n.Y)(k,{container:!0,columns:12,spacing:4,justifyContent:"center",children:m.map((e,t)=>{var i,l,a,d;return(0,n.Y)(o.A,{size:{xs:12,lg:ee(e,m.length)},children:(0,n.FD)(Y,{is_full_width:e.tile_is_full_width.toString(),is_outlined:e.is_outlined.toString(),container_height:V(e),content_alignment:X(e),children:[e.has_background_image&&(0,n.Y)($,{fill:!0,image:K(e)}),(0,n.FD)(D,{width:J(e),children:[(0,n.FD)(C,{link:e.tile_link,children:[r.Sl(e.tile_image)&&(0,n.FD)(W,{children:[(0,n.Y)(H,{image:Q(e),width:(null===(l=Q(e))||void 0===l?void 0:null===(i=l.dimensions)||void 0===i?void 0:i.width)||300,height:(null===(d=Q(e))||void 0===d?void 0:null===(a=d.dimensions)||void 0===a?void 0:a.height)||200,priority:0===t,fetchPriority:0===t?"high":"auto",loading:0===t?"eager":void 0}),r.Sl(e.award_badge)&&(0,n.Y)(I,{image:e.award_badge})]}),(0,n.FD)(R,{removepadding:e.remove_text_padding,children:[r.Sl(e.logo_image)&&(0,n.Y)(j,{image:e.logo_image}),(0,n.Y)(c.A,{field:e.tile_title})]})]}),(0,n.FD)(R,{removepadding:e.remove_text_padding,children:[(0,n.Y)(E,{field:e.tile_subheading}),(0,n.Y)(E,{field:e.tile_description})]})]}),(0,n.Y)(L,{link:e.tile_link,children:(0,n.Y)(T,{children:e.link_label})})]})},`tiled-item-${t}`)})}),!h&&r.Pu(O)&&"Bottom"===Z&&(0,n.Y)(b,{textAlign:(null==q?void 0:q.toLowerCase())??"left",children:(0,n.Y)(y,{children:(0,n.Y)(d.Ay,{field:M,ctaSize:{medium:"medium"},relatesToAffiliatesContent:!1,destination:null==M?void 0:M.url,text:O??"",sliceName:t.slice_label??"",sliceType:t.slice_type})})})]})})]})}},54373:(e,t,i)=>{i.d(t,{c:()=>m});
32var n=i(2445),l=i(25505),o=i(4743),r=i(57085),a=i(58626),d=i(91044),c=i(75142),g=i(95817);let p=(e,t)=>{switch(e){case"Top":return`padding-top: ${t};`;case"Bottom":return`padding-bottom: ${t};`;case"None":return"padding: 0;";default:return`padding-top: ${t}; padding-bottom: ${t};`}},h=(0,l.A)(o.A,{shouldForwardProp:e=>"responsivePadding"!==e,target:"e1gz97hc0"})("width:100%;display:flex;",e=>{let{backgroundColor:t}=e;return`
33    background-color: ${t&&t};
34  `}," ",e=>{let{responsivePadding:t}=e;return t}),s={Large:"75px",Medium:"50px",Small:"25px",None:"0px"},m=e=>{let{id:t,children:i,contained:l,containedBackground:m=!1,backgroundImageUrl:u,backgroundImagePosition:x,direction:f="Row",spacing:_="Large",backgroundTheme:v,paddingOption:w="Top and Bottom",containerStyle:y,padding:k,paddingTop:b,paddingBottom:A,...Y}=e,$=e=>"number"==typeof e?c.Ay.spacing(e):"string"==typeof e?e:null,D=[["padding",k],["padding-top",b],["padding-bottom",A]].map(e=>{let[t,i]=e,n=$(i);return null==n?"":`${t}: ${n};`}).join(" ").trim(),F=`
35    ${p(w,s[_])}
36    @media (max-width: 1100px) {
37      ${p(w,{Large:"50px",Medium:"25px",Small:"10px",None:"0px"}[_])}
38    }
39    ${D?`&& { ${D} }`:""}
40  `,C=Y.bgcolor?Y.bgcolor:"Dark"===v?c.Ay.palette.primary.dark:"Light"===v?"#f8f8f8":"transparent",S={position:"absolute",width:"100%",height:"100%",maxHeight:"inherit",objectFit:"cover",objectPosition:x??"center",left:0,zIndex:0,top:0,bottom:0},j={...S,objectFit:"contain"};return(0,n.Y)(h,{"data-testid":"slice-zone-container",id:t??"sliceZoneContainer",responsivePadding:F,backgroundColor:!a.Sl(u)&&C?C:"",...Y,zIndex:5,flexDirection:l?"row":(0,g.Ph)(f),position:"relative",children:l?(0,n.FD)(r.A,{style:{display:"flex",...y},maxWidth:"xl",children:[u&&!m&&(0,n.Y)(d.E,{image:u,style:{...S},priority:!0,fetchPriority:"high",loading:"eager",sizes:"(max-width: 1536px) 100vw, 1536px"}),u&&m&&(0,n.Y)(d.E,{image:u,style:{...j},priority:!0,fetchPriority:"high",loading:"eager",sizes:"(max-width: 1536px) 100vw, 1536px"}),i&&i]}):(0,n.FD)(o.A,{width:"100%",height:"100%",children:[u&&m&&(0,n.Y)(d.E,{image:u,style:{...j},priority:!0,fetchPriority:"high",loading:"eager",sizes:"(max-width: 1536px) 100vw, 1536px"}),u&&(0,n.Y)(d.E,{image:u,style:{...S},priority:!0,fetchPriority:"high",loading:"eager",sizes:"(max-width: 1920px) 100vw, 1920px"}),i]})})}},60282:(e,t,i)=>{i.d(t,{e:()=>a});var n=i(2445),l=i(91106),o=i.n(l),r=i(81606);let a=e=>{let{link:t,id:i,children:l,name:a="link",target:d="",...c}=e,g=(null==t?void 0:t.link_type)==="Web",p=(null==t?void 0:t.link_type)==="Document",h=(null==t?void 0:t.url)??"#",s=p?(0,r.L8)(t)??h:h;return p?(0,n.Y)(o(),{href:s,id:i,"aria-label":`${a}`,...c,passHref:g,target:d,children:l}):(0,n.Y)("a",{href:h,...c,target:d,children:l})}},95817:(e,t,i)=>{i.d(t,{Ph:()=>o,go:()=>l,ls:()=>n,oY:()=>r});let n=e=>{switch(e){case"Left":return"flex-start";case"Right":return"flex-end";case"Center":return"center";default:return"space-between"}},l=e=>{switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center"}},o=e=>{switch(e){case"Row":default:return"row";case"Column":return"column"}},r=e=>{var t,i,l,o,r,a,d,c,g,p;let h={contained:(null===(t=e.primary)||void 0===t?void 0:t.contained)===void 0||e.primary.contained};for(let t of Object.keys(e.primary??{}))switch(t){case"spacing":h.spacing=(null==e?void 0:null===(i=e.primary)||void 0===i?void 0:i.spacing)??"Small";break;case"content_alignment":let s=n((null==e?void 0:null===(l=e.primary)||void 0===l?void 0:l.content_alignment)??"Left");(null===(o=e.primary)||void 0===o?void 0:o.contained)?h.containerStyle={justifyContent:s}:h.justifyContent=s;break;case"background_image":h.backgroundImageUrl=(null==e?void 0:null===(d=e.primary)||void 0===d?void 0:null===(a=d.background_image)||void 0===a?void 0:null===(r=a.url)||void 0===r?void 0:r.toString())??void 0;break;case"background_theme":h.backgroundTheme=(null==e?void 0:null===(c=e.primary)||void 0===c?void 0:c.background_theme)??void 0;break;case"direction":h.direction=(null==e?void 0:null===(g=e.primary)||void 0===g?void 0:g.direction)??void 0;break;case"layout_padding_options":h.paddingOption=(null==e?void 0:null===(p=e.primary)||void 0===p?void 0:p.layout_padding_options)??"Top and Bottom"}return h}}}]);

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.