"use strict";(this.__LOADABLE_LOADED_CHUNKS__=this.__LOADABLE_LOADED_CHUNKS__||[]).push([[3879],{61729:(e,t,o)=>{o.d(t,{Z:()=>T});var i=o(73653),n=o(46255);const r=(0,n.Z)("div",{target:"e1cbi3m10"})((({theme:e})=>({backgroundColor:e.colors.gray[300],height:"1.6rem",marginTop:"0.5rem",width:"70%"})),""),l=(0,n.Z)("div",{target:"es9ajjb0"})((({isRoundImage:e=!1,theme:t})=>({backgroundColor:t.colors.gray[300],borderRadius:e?"50%":"0.8rem",paddingTop:"93%",width:"100%"})),""),a=(0,n.Z)("div",{target:"etbbbk60"})((({theme:e})=>({backgroundColor:e.colors.gray[300],height:"1.8rem",marginTop:"0.9rem",width:"50%"})),"");var s=o(74763),d=o(97216);const c=(0,n.Z)("div",{target:"eob3h7n0"})((({hasBottomMargin:e=!0})=>({marginBottom:e?"2.3rem":"0.3rem",overflow:"hidden",position:"relative",textAlign:"center"})),""),m=(0,n.Z)("div",{target:"eniktnm0"})((({titleText:e=!0,theme:t})=>({a:{color:t.colors.gray.medium},color:e?t.colors.gray.medium:t.colors.gray.dark,fontSize:e?t.fonts.size[14]:t.fonts.size.small,lineHeight:e?t.fonts.lineHeight.xsmall:t.fonts.lineHeight.small,marginTop:"0.5rem"})),"");var u=o(70324);const h=(0,n.Z)("div",{target:"e2c1v5u0"})((({isWideTile:e=!1,theme:t})=>({color:t.colors.black.secondary,fontSize:"1.5rem",marginTop:"0.9rem",padding:e?"0 0.3em":"0 1.5em",a:{color:t.colors.black.secondary,textDecoration:"none","&:hover":{textDecoration:"underline"}}})),"");var g=o(46699),p=o(88307),f=o(61993),b=o(96832);function Z(){const[e,t]=(0,b.useState)(!1);return(0,f.Z)((()=>{p.Z!==e&&t(p.Z)})),e}var v=o(42254),w=o(71130),y=o(34853);const T=function({children:e=null,className:t="",dropdown:o=null,dataTest:n=null,hasBottomMargin:p,hideDummySubtitle:f=!1,horizontalScroll:b,isDummyTile:T=!1,isRoundImage:S=!1,itemSelected:k,maxImageWidth:x,noHoverEffect:C,noTileOnMobile:O,shareTile:R=!1,singleRow:B=!1,style:D={},subTitle:_="",TileContainer:I=i.Z,tileDelay:z=2,tilePosition:H=0,tilesInRow:E,title:L="",titleSingleLine:M=!1,url:A=""}){const W=(0,w.useSelector)(v.W7),N=Z(),j=T?(0,y.tZ)(a,{}):(0,y.tZ)(h,{"data-test":"station-tile-title",children:(0,y.tZ)(s.Z,{itemSelected:k,to:A,children:(0,y.tZ)(g.Z,{lines:M?1:2,children:L})})}),Q=T?(0,y.tZ)(d.Z,{shouldShow:!f,children:(0,y.tZ)(r,{})}):(0,y.tZ)(m,{"data-test":"station-tile-sub-title",titleText:"string"!=typeof L||L,children:_}),X=(0,y.BX)(c,{"data-test":"station-tile-info",hasBottomMargin:p,children:[j,Q,o]});return(0,y.BX)(I,{className:t,"data-test":n||"station-tile",horizontalScroll:b,isTouch:N,maxImageWidth:x,noTileOnMobile:O,singleRow:B,style:D,tileDelay:z,tilePosition:H,tilesInRow:E,children:[T?(0,y.tZ)(l,{isRoundImage:S}):(0,y.tZ)(u.Z,{"data-test":"station-tile-thumbnail",isRoundImage:S,mobile:W,noHoverEffect:C,children:e}),R?null:X]})}},33998:(e,t,o)=>{o.d(t,{Z:()=>l});var i=o(46255),n=o(95928),r=o(44786);const l=(0,i.Z)("ul",{target:"evhocsy0"})((({horizontalScroll:e=!1,noTileOnMobile:t=!1,tilesInRow:o=4,theme:i})=>{const l=(0,r.w)({columnGapXS:1.4,horizontalScroll:e,noTileOnMobile:t,tilesInRow:o});return{columnGap:i.dimensions.pageGutter,display:"grid",gridTemplateColumns:l(),listStyleType:"none",margin:"0",padding:"0",[(0,n.Z)(i.mediaQueries.max.width[1024])]:{gridTemplateColumns:l(1024)},[(0,n.Z)(i.mediaQueries.max.width[768])]:{gridTemplateColumns:l(768),overflowX:e?"scroll":"hidden"},[(0,n.Z)(i.mediaQueries.max.width[599])]:{gridTemplateColumns:l(599),marginBottom:"1rem"},[(0,n.Z)(i.mediaQueries.max.width[420])]:{gridTemplateColumns:l(420)},[(0,n.Z)(i.mediaQueries.max.width[320])]:{gridTemplateColumns:l(320)}}}),"")},46699:(e,t,o)=>{o.d(t,{Z:()=>s});var i=o(38241),n=o(90758),r=o(96832),l=o(34853);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{current:e}=v,{current:t}=Z;e&&t&&c&&p(e.offsetHeight({animation:`${e.keyframes.fadeIn} 300ms ease forwards`,backgroundColor:e.colors.transparent.primary,border:0,color:"dark"===m?e.colors.black.dark:e.colors.white.primary,cursor:"pointer",fontSize:e.fonts.size[14],fontWeight:e.fonts.weight.bold,margin:0,opacity:0,padding:0}),"data-test":"truncate-button",onClick:function(){b((e=>!e)),null==d||d()},type:"button",children:w(f?"Show Less":"Show More")})]})}}}]); //# sourceMappingURL=3879.www.js.map