import{__assign as e}from"../../node_modules/tslib/tslib.es6.js";import t from"react";import{BsCalendar as r}from"../../node_modules/react-icons/bs/index.esm.js";import{SiTwitter as n,SiFacebook as a}from"../../node_modules/react-icons/si/index.esm.js";var o=function(o){var l=o.publishedOn,i=o.filledIn,s=o.relatedCategories,m=o.filledInUrl;o.relatedCategoriesLink;var c={fontFamily:"AvenirNext, Segoe UI, -apple-system, BlinkMacSystemFont, sans-serif",fontWeight:600};return t.createElement(t.Fragment,null," ",t.createElement("div",null,t.createElement(r,null)," ",t.createElement("span",{style:e({fontSize:"0.75em"},c)}," ",l)," "),t.createElement("div",{style:{marginTop:"20px"}},t.createElement("span",{style:e({textTransform:"uppercase",fontSize:"0.65em"},c)},"Filed in:")," ",t.createElement("div",{style:e({textTransform:"uppercase",fontSize:"0.6em",marginTop:"10px",color:"#AC1260",letterSpacing:"0.2em"},c)}," ",t.createElement("a",{style:{color:"inherit",textDecoration:"none"},target:"_blank",href:m.replace("api/newsletter-items.json?sort_field=sort_order&sort_dir=asc","archive")},i)),t.createElement("div",{style:{marginTop:"35px"}},t.createElement("div",{style:e({textTransform:"uppercase",fontSize:"0.6em"},c)},"RELATED CATEGORIES"),t.createElement("div",{style:e({textTransform:"uppercase",fontSize:"0.5em",marginTop:"10px",color:"#636E8D",letterSpacing:"0.2em"},c)},t.createElement("a",{style:{color:"inherit",textDecoration:"none"},target:"_blank",href:m},s," "))),t.createElement("div",{style:{marginTop:"35px"}},t.createElement("div",{style:e({textTransform:"uppercase",fontSize:"0.6em"},c)},"Share"),t.createElement("div",{style:{fontSize:"1.1em",marginTop:"10px"}},t.createElement("a",{href:"https://twitter.com/share?url="+window.location.href,target:"_blank",style:{color:"inherit",textDecoration:"none"}},t.createElement(n,{height:24})," "),t.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+window.location.href,style:{color:"inherit",textDecoration:"none"},target:"_blank"},t.createElement(a,{height:24})," ")))))};export{o as NewsEventItemSidebar};
//# sourceMappingURL=news-event-item-sidebar.js.map
