1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81659],{86958:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/economic-calendar",function(){return a(9150)}])},17334:function(e,t,a){"use strict";var n=a(85893),s=a(9008),r=a.n(s);t.Z=e=>{let{title:t,description:a,imgSrc:s,canonical:o,children:i}=e;return(0,n.jsxs)(r(),{children:[t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("meta",{property:"og:title",content:t}),(0,n.jsx)("meta",{name:"twitter:title",content:t})]}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",content:a}),(0,n.jsx)("meta",{property:"og:description",content:a}),(0,n.jsx)("meta",{name:"twitter:description",content:a})]}),s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:s}),(0,n.jsx)("meta",{property:"twitter:image",content:s})]}),o&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"canonical",href:o}),(0,n.jsx)("meta",{property:"og:url",content:o}),(0,n.jsx)("meta",{property:"twitter:url",content:o})]}),i]})}},9150:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return d}});var n=a(85893),s=a(20726),r=a.n(s),o=a(67294),i=a(17334),l=a(35571);a(13430);var c=a(13528),d=!0;t.default=e=>{let{defaultEvents:t=[]}=e,[a,s]=(0,o.useState)(t),[d,m]=(0,o.useState)(!1),[u,x]=(0,o.useState)(""),[p,b]=(0,o.useState)(!1),[g]=(0,o.useState)(""),[D,h]=(0,o.useState)(""),[f,j]=(0,o.useState)("events"),[y,v]=(0,o.useState)(new Date),C=new Date().getFullYear(),N=async()=>{m(!0),x("");try{let e=await fetch("/api/economic-calendar");if(!e.ok)throw Error("HTTP ".concat(e.status,": Failed to fetch economic calendar data"));let t=await e.json();if(!t.success)throw Error(t.error||"Failed to fetch economic calendar data");s(t.events||[])}catch(e){console.error("Error fetching economic calendar:",e),x(e instanceof Error?e.message:"Failed to fetch economic calendar data. Please try again.")}finally{m(!1)}};(0,o.useEffect)(()=>{let e=()=>{b(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),0===t.length&&N(),()=>{window.removeEventListener("resize",e)}},[t.length]);let w=a.filter(e=>{let t=!g||e.date===g,a=!D||e.zone.toLowerCase().includes(D.toLowerCase());return t&&a}),E=w.reduce((e,t)=>{let a=t.date;return e[a]||(e[a]=[]),e[a].push(t),e},{}),F=Array.from(new Set(a.map(e=>e.zone))).sort(),k=e=>new Date(e).toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),L=e=>({"united states":"\uD83C\uDDFA\uD83C\uDDF8",canada:"\uD83C\uDDE8\uD83C\uDDE6","united kingdom":"\uD83C\uDDEC\uD83C\uDDE7",germany:"\uD83C\uDDE9\uD83C\uDDEA",france:"\uD83C\uDDEB\uD83C\uDDF7",italy:"\uD83C\uDDEE\uD83C\uDDF9",spain:"\uD83C\uDDEA\uD83C\uDDF8",japan:"\uD83C\uDDEF\uD83C\uDDF5",china:"\uD83C\uDDE8\uD83C\uDDF3",australia:"\uD83C\uDDE6\uD83C\uDDFA","new zealand":"\uD83C\uDDF3\uD83C\uDDFF",switzerland:"\uD83C\uDDE8\uD83C\uDDED",sweden:"\uD83C\uDDF8\uD83C\uDDEA",norway:"\uD83C\uDDF3\uD83C\uDDF4",denmark:"\uD83C\uDDE9\uD83C\uDDF0",netherlands:"\uD83C\uDDF3\uD83C\uDDF1",belgium:"\uD83C\uDDE7\uD83C\uDDEA",austria:"\uD83C\uDDE6\uD83C\uDDF9",finland:"\uD83C\uDDEB\uD83C\uDDEE",ireland:"\uD83C\uDDEE\uD83C\uDDEA",portugal:"\uD83C\uDDF5\uD83C\uDDF9",greece:"\uD83C\uDDEC\uD83C\uDDF7",brazil:"\uD83C\uDDE7\uD83C\uDDF7",mexico:"\uD83C\uDDF2\uD83C\uDDFD",india:"\uD83C\uDDEE\uD83C\uDDF3","south korea":"\uD83C\uDDF0\uD83C\uDDF7",singapore:"\uD83C\uDDF8\uD83C\uDDEC","hong kong":"\uD83C\uDDED\uD83C\uDDF0",israel:"\uD83C\uDDEE\uD83C\uDDF1","south africa":"\uD83C\uDDFF\uD83C\uDDE6",turkey:"\uD83C\uDDF9\uD83C\uDDF7",russia:"\uD83C\uDDF7\uD83C\uDDFA",poland:"\uD83C\uDDF5\uD83C\uDDF1","czech republic":"\uD83C\uDDE8\uD83C\uDDFF",hungary:"\uD83C\uDDED\uD83C\uDDFA",romania:"\uD83C\uDDF7\uD83C\uDDF4",bulgaria:"\uD83C\uDDE7\uD83C\uDDEC",croatia:"\uD83C\uDDED\uD83C\uDDF7",slovakia:"\uD83C\uDDF8\uD83C\uDDF0",slovenia:"\uD83C\uDDF8\uD83C\uDDEE",estonia:"\uD83C\uDDEA\uD83C\uDDEA",latvia:"\uD83C\uDDF1\uD83C\uDDFB",lithuania:"\uD83C\uDDF1\uD83C\uDDF9"})[e.toLowerCase()]||"\uD83C\uDF0D",S=e=>{let t=e.toISOString().split("T")[0];return a.filter(e=>(e.date.includes("T")?e.date.split("T")[0]:e.date)===t)},P=(e=>{let t=e.toISOString().split("T")[0];return w.filter(e=>(e.date.includes("T")?e.date.split("T")[0]:e.date)===t)})(y);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{title:"Economic Calendar ".concat(C," - Live Economic Events & Data Releases | MarketXLS"),description:"Stay updated with the latest economic events, data releases, and market-moving announcements. Complete economic calendar with importance levels, forecasts, and actual results for informed trading decisions. Track GDP, inflation, employment, interest rates, and central bank announcements.",canonical:"/economic-calendar",children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"keywords",content:"economic calendar ".concat(C,", economic events, economic data, market events, economic indicators, GDP, inflation, employment, interest rates, central bank, economic releases, market calendar, trading calendar, forex calendar, stock market events, federal reserve, ECB, bank of japan, unemployment rate, CPI, PPI, retail sales, consumer confidence, non-farm payrolls, FOMC, monetary policy, economic news, market impact events, financial calendar, economic announcements, trading events, market movers, economic statistics, financial data releases, live economic data, real time economic events, economic forecasts, economic predictions, market analysis, financial news, investment calendar, trading opportunities, economic schedule, data release calendar, market volatility events, economic impact analysis, financial market calendar"),className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:type",content:"website",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:site_name",content:"MarketXLS",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:title",content:"Economic Calendar ".concat(C," - Live Economic Events & Data Releases | MarketXLS"),className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:description",content:"Stay updated with the latest economic events, data releases, and market-moving announcements. Complete economic calendar with importance levels, forecasts, and actual results for informed trading decisions.",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:url",content:"https://marketxls.com/economic-calendar",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:image",content:"https://marketxls.com/images/homeLaptop9.png",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:image:width",content:"1080",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:image:height",content:"700",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{property:"og:image:alt",content:"MarketXLS real-time market data in Microsoft Excel",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@MarketXLS",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:title",content:"Economic Calendar ".concat(C," - Live Economic Events & Data Releases"),className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:description",content:"Complete economic calendar ".concat(C," with importance levels, forecasts, and actual results for informed trading decisions. Track GDP, inflation, employment data and more."),className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:image",content:"https://marketxls.com/images/homeLaptop9.png",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"twitter:image:alt",content:"Economic Calendar - Live Economic Events and Data Releases",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"author",content:"MarketXLS",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"robots",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"geo.region",content:"US",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"geo.country",content:"US",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"language",content:"en",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"distribution",content:"global",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"rating",content:"general",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("meta",{name:"revisit-after",content:"1 days",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("link",{rel:"canonical",href:"https://marketxls.com/economic-calendar",className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Economic Calendar ".concat(C," - Live Economic Events & Data Releases"),description:"Stay updated with the latest economic events, data releases, and market-moving announcements. Complete economic calendar with importance levels, forecasts, and actual results for informed trading decisions.",url:"https://marketxls.com/economic-calendar",mainEntity:{"@type":"ItemList",name:"Economic Events",description:"List of upcoming and past economic events with forecasts and actual results",itemListElement:[{"@type":"Event",name:"GDP Release",description:"Quarterly Gross Domestic Product data release"},{"@type":"Event",name:"Inflation Data",description:"Monthly Consumer Price Index and inflation statistics"},{"@type":"Event",name:"Employment Report",description:"Monthly non-farm payrolls and unemployment rate"},{"@type":"Event",name:"Federal Reserve Meeting",description:"FOMC meetings and interest rate decisions"}]},publisher:{"@type":"Organization",name:"MarketXLS",url:"https://marketxls.com",logo:{"@type":"ImageObject",url:"https://marketxls.com/images/logo2.png"}},breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://marketxls.com"},{"@type":"ListItem",position:2,name:"Economic Calendar",item:"https://marketxls.com/economic-calendar"}]}})},className:"jsx-8b87afdb6b9308fb"}),(0,n.jsx)(r(),{id:"8b87afdb6b9308fb",children:".react-calendar.jsx-8b87afdb6b9308fb{border:1px solid#e5e7eb!important;-webkit-border-radius:8px!important;-moz-border-radius:8px!important;border-radius:8px!important;font-family:inherit!important;font-size:14px!important}.react-calendar__tile.jsx-8b87afdb6b9308fb{position:relative!important;height:50px!important;font-size:14px!important}.react-calendar__tile.jsx-8b87afdb6b9308fb:enabled:hover{background-color:#f3f4f6!important}.react-calendar__tile--active.jsx-8b87afdb6b9308fb{background-color:#0167b8!important;color:white!important}.event-row.jsx-8b87afdb6b9308fb{border-left:4px solid;padding:16px;margin-bottom:2px;font-size:14px;background:white}.high-impact.jsx-8b87afdb6b9308fb{border-left-color:#dc2626}.medium-impact.jsx-8b87afdb6b9308fb{border-left-color:#f59e0b}.low-impact.jsx-8b87afdb6b9308fb{border-left-color:#10b981}"})]})}),(0,n.jsx)("div",{className:"bg-gray-50 min-h-screen",children:(0,n.jsxs)("div",{className:"w-full max-w-none px-4 py-4",children:[(0,n.jsxs)("div",{className:"mb-4",children:[(0,n.jsxs)("div",{className:"d-flex align-items-center justify-content-between mb-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{style:{fontSize:"2rem",fontWeight:"bold",color:"#0167B8",marginBottom:"0"},children:"Economic Calendar"}),(0,n.jsx)("p",{className:"text-gray-600 mt-1",children:"Live economic events and market-moving data releases"})]}),(0,n.jsxs)("div",{className:"d-flex align-items-center gap-3",children:[(0,n.jsxs)("select",{value:D,onChange:e=>h(e.target.value),className:"px-4 py-2 border-2 border-gray-300 rounded-lg focus:border-blue-500 focus:outline-none",style:{fontSize:"0.875rem"},children:[(0,n.jsx)("option",{value:"",children:"All Countries"}),F.map(e=>(0,n.jsxs)("option",{value:e,children:[L(e)," ",e.charAt(0).toUpperCase()+e.slice(1)]},e))]}),(0,n.jsx)("button",{onClick:N,disabled:d,className:"px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:bg-gray-400 transition-colors",style:{fontSize:"0.875rem"},children:d?"Loading...":"Refresh"})]})]}),a.length>0&&(0,n.jsxs)("div",{className:"flex items-center gap-4 mb-4",children:[(0,n.jsxs)("span",{className:"px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-sm font-medium",children:[a.length," Events"]}),(0,n.jsxs)("span",{className:"px-3 py-1 bg-green-100 text-green-800 rounded-full text-sm font-medium",children:[w.length," Filtered"]}),(0,n.jsxs)("span",{className:"px-3 py-1 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium",children:[F.length," Countries"]}),(0,n.jsxs)("span",{className:"px-3 py-1 bg-red-100 text-red-800 rounded-full text-sm font-medium",children:[w.filter(e=>{var t;return(null===(t=e.importance)||void 0===t?void 0:t.toLowerCase())==="high"}).length," High Impact"]})]}),(0,n.jsx)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg p-6 mb-4",children:p?(0,n.jsx)("div",{children:(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(c.Z.Toggle,{variant:"primary",className:"w-full px-4 py-3 bg-blue-600 text-white rounded-lg font-semibold flex justify-between items-center hover:bg-blue-700 transition-colors",children:"events"===f?"Events":"Calendar"}),(0,n.jsxs)(c.Z.Menu,{className:"w-full rounded-lg border border-gray-200 shadow-lg",children:[(0,n.jsx)(c.Z.Item,{onClick:()=>j("events"),active:"events"===f,className:"px-4 py-3 text-base font-medium",children:"Events"}),(0,n.jsx)(c.Z.Item,{onClick:()=>j("calendar"),active:"calendar"===f,className:"px-4 py-3 text-base font-medium",children:"Calendar"})]})]})}):(0,n.jsxs)("div",{className:"flex bg-gray-100 rounded-lg p-1",children:[(0,n.jsx)("button",{onClick:()=>j("events"),className:"flex-1 px-4 py-2 rounded-md font-medium transition-colors ".concat("events"===f?"bg-white text-blue-600 shadow-sm":"text-gray-600 hover:text-gray-900"),children:"Events"}),(0,n.jsx)("button",{onClick:()=>j("calendar"),className:"flex-1 px-4 py-2 rounded-md font-medium transition-colors ".concat("calendar"===f?"bg-white text-blue-600 shadow-sm":"text-gray-600 hover:text-gray-900"),children:"Calendar"})]})}),u&&(0,n.jsx)("div",{className:"bg-red-50 border-2 border-red-200 rounded-lg p-4 mb-4",children:(0,n.jsxs)("p",{className:"text-red-800",children:["Error: ",u]})})]}),"events"===f?Object.keys(E).length>0?(0,n.jsx)("div",{children:Object.entries(E).sort((e,t)=>
1{let[a]=e,[n]=t;return a.localeCompare(n)}).map(e=>{let[t,a]=e;return(0,n.jsx)("div",{className:"mb-4",children:(0,n.jsxs)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg overflow-hidden",children:[(0,n.jsxs)("div",{className:"bg-blue-600 text-white px-4 py-3 flex items-center justify-content-between",children:[(0,n.jsx)("div",{className:"text-lg font-semibold",children:k(t)}),(0,n.jsxs)("span",{className:"px-3 py-1 bg-white bg-opacity-20 rounded-full text-sm",children:[a.length," events"]})]}),a.map((e,t)=>{var s,r;return(0,n.jsx)("div",{className:"event-row ".concat((null===(s=e.importance)||void 0===s?void 0:s.toLowerCase())==="high"?"high-impact":(null===(r=e.importance)||void 0===r?void 0:r.toLowerCase())==="medium"?"medium-impact":"low-impact"),style:{borderBottom:t<a.length-1?"1px solid #f8f9fa":"none"},children:(0,n.jsxs)("div",{className:"row align-items-center",children:[(0,n.jsx)("div",{className:"col-md-3",children:(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("span",{className:"px-2 py-1 bg-gray-100 text-gray-700 rounded text-xs font-mono",children:e.time}),(0,n.jsx)("span",{className:"text-xl",children:L(e.zone)}),(0,n.jsx)("span",{className:"text-gray-500 text-xs uppercase font-medium",children:e.zone})]})}),(0,n.jsxs)("div",{className:"col-md-6",children:[(0,n.jsx)("div",{className:"text-gray-900 font-semibold",children:e.event}),e.importance&&(0,n.jsxs)("span",{className:"inline-block mt-1 px-2 py-1 rounded-full text-xs font-semibold ".concat("high"===e.importance.toLowerCase()?"bg-red-100 text-red-800":"medium"===e.importance.toLowerCase()?"bg-yellow-100 text-yellow-800":"bg-green-100 text-green-800"),children:[e.importance," Impact"]})]}),(0,n.jsx)("div",{className:"col-md-3 text-end",children:(0,n.jsxs)("div",{className:"flex justify-end gap-2",children:[e.actual&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-green-100 text-green-800 rounded text-xs font-medium",children:["Actual: ",e.actual]}),e.forecast&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-blue-100 text-blue-800 rounded text-xs font-medium",children:["Forecast: ",e.forecast]}),e.previous&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-gray-100 text-gray-700 rounded text-xs font-medium",children:["Previous: ",e.previous]})]})})]})},"".concat(e.id,"-").concat(t))})]})},t)})}):(0,n.jsx)("div",{className:"text-center py-12",children:(0,n.jsxs)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg p-8 max-w-2xl mx-auto",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold mb-3",style:{color:"#0167B8"},children:"Economic Calendar"}),(0,n.jsx)("p",{className:"text-gray-600 mb-6",children:d?"Loading economic events...":"No economic events found for the selected criteria."}),!d&&(0,n.jsxs)("div",{className:"bg-white border-2 border-gray-200 rounded-lg p-6 text-left",children:[(0,n.jsx)("h3",{className:"text-lg font-semibold mb-3",style:{color:"#0167B8"},children:"Track Key Economic Events:"}),(0,n.jsxs)("ul",{className:"space-y-2 text-gray-700",children:[(0,n.jsx)("li",{children:"⢠GDP releases and economic growth data"}),(0,n.jsx)("li",{children:"⢠Inflation reports (CPI, PPI, Core PCE)"}),(0,n.jsx)("li",{children:"⢠Employment statistics (Non-Farm Payrolls, Unemployment Rate)"}),(0,n.jsx)("li",{children:"⢠Federal Reserve and central bank meetings"}),(0,n.jsx)("li",{children:"⢠Interest rate decisions and monetary policy"}),(0,n.jsx)("li",{children:"⢠Retail sales and consumer confidence data"}),(0,n.jsx)("li",{children:"⢠Manufacturing and services PMI reports"})]})]})]})}):"calendar"===f?a.length>0?(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"row g-4",children:[(0,n.jsx)("div",{className:"col-md-8",children:(0,n.jsxs)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg p-6",children:[(0,n.jsx)(l.ZP,{onChange:e=>v(e),value:y,tileContent:e=>{let{date:t,view:a}=e;if("month"===a){let e=S(t);if(e.length>0&&console.log("Calendar date ".concat(t.toISOString().split("T")[0]," has ").concat(e.length," events:"),e),0===e.length)return null;let a=e.some(e=>{var t;return(null===(t=e.importance)||void 0===t?void 0:t.toLowerCase())==="high"}),s=e.some(e=>{var t;return(null===(t=e.importance)||void 0===t?void 0:t.toLowerCase())==="medium"});return(0,n.jsxs)("div",{style:{position:"absolute",top:"2px",right:"2px",display:"flex",gap:"2px"},children:[a&&(0,n.jsx)("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"#dc2626"}}),s&&(0,n.jsx)("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"#f59e0b"}}),e.length>0&&!a&&!s&&(0,n.jsx)("div",{style:{width:"6px",height:"6px",borderRadius:"50%",backgroundColor:"#10b981"}})]})}return null},showNeighboringMonth:!1}),(0,n.jsxs)("div",{className:"mt-4 p-4 bg-white border border-gray-200 rounded-lg",children:[(0,n.jsx)("div",{className:"font-semibold text-gray-700 mb-2",children:"Legend:"}),(0,n.jsxs)("div",{className:"flex gap-6 text-sm",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"w-3 h-3 bg-red-500 rounded-full"}),(0,n.jsx)("span",{className:"text-gray-600",children:"High Impact"})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"w-3 h-3 bg-yellow-500 rounded-full"}),(0,n.jsx)("span",{className:"text-gray-600",children:"Medium Impact"})]}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full"}),(0,n.jsx)("span",{className:"text-gray-600",children:"Low Impact"})]})]})]})]})}),(0,n.jsx)("div",{className:"col-md-4",children:(0,n.jsxs)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg p-6",children:[(0,n.jsx)("h5",{className:"border-b-2 border-gray-200 pb-3 mb-4 text-lg font-semibold",style:{color:"#0167B8"},children:y.toLocaleDateString("en-US",{weekday:"long",month:"short",day:"numeric"})}),P.length>0?(0,n.jsx)("div",{style:{maxHeight:"400px",overflowY:"auto"},children:P.map((e,t)=>(0,n.jsxs)("div",{className:"border-b border-gray-200 py-3 mb-3 last:border-b-0",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 mb-2 flex-wrap",children:[(0,n.jsx)("span",{className:"text-lg",children:L(e.zone)}),(0,n.jsx)("span",{className:"text-gray-500 text-xs uppercase font-medium",children:e.zone}),(0,n.jsx)("span",{className:"px-2 py-1 bg-gray-100 text-gray-700 rounded text-xs font-mono",children:e.time}),e.importance&&(0,n.jsx)("span",{className:"px-2 py-1 rounded-full text-xs font-semibold ".concat("high"===e.importance.toLowerCase()?"bg-red-100 text-red-800":"medium"===e.importance.toLowerCase()?"bg-yellow-100 text-yellow-800":"bg-green-100 text-green-800"),children:e.importance})]}),(0,n.jsx)("div",{className:"text-gray-900 font-semibold mb-2",children:e.event}),(e.actual||e.forecast||e.previous)&&(0,n.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[e.actual&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-green-100 text-green-800 rounded text-xs font-medium",children:["Actual: ",e.actual]}),e.forecast&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-blue-100 text-blue-800 rounded text-xs font-medium",children:["Forecast: ",e.forecast]}),e.previous&&(0,n.jsxs)("span",{className:"px-2 py-1 bg-gray-100 text-gray-700 rounded text-xs font-medium",children:["Previous: ",e.previous]})]})]},"".concat(e.id,"-").concat(t)))}):(0,n.jsx)("div",{className:"text-center text-gray-500 py-8",children:(0,n.jsx)("p",{className:"text-base",children:"No events scheduled"})})]})})]})}):(0,n.jsx)("div",{className:"text-center py-12",children:(0,n.jsxs)("div",{className:"bg-gray-50 border-2 border-gray-200 rounded-lg p-8 max-w-2xl mx-auto",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold mb-3",style:{color:"#0167B8"},children:"Economic Calendar"}),(0,n.jsx)("p",{className:"text-gray-600 mb-6",children:d?"Loading economic events...":"No economic events found for the selected criteria."}),!d&&(0,n.jsxs)("div",{className:"bg-white border-2 border-gray-200 rounded-lg p-6 text-left",children:[(0,n.jsx)("h3",{className:"text-lg font-semibold mb-3",style:{color:"#0167B8"},children:"Track Key Economic Events:"}),(0,n.jsxs)("ul",{className:"space-y-2 text-gray-700",children:[(0,n.jsx)("li",{children:"⢠GDP releases and economic growth data"}),(0,n.jsx)("li",{children:"⢠Inflation reports (CPI, PPI, Core PCE)"}),(0,n.jsx)("li",{children:"⢠Employment statistics (Non-Farm Payrolls, Unemployment Rate)"}),(0,n.jsx)("li",{children:"⢠Federal Reserve and central bank meetings"}),(0,n.jsx)("li",{children:"⢠Interest rate decisions and monetary policy"}),(0,n.jsx)("li",{children:"⢠Retail sales and consumer confidence data"}),(0,n.jsx)("li",{children:"⢠Manufacturing and services PMI reports"})]})]})]})}):null]})})]})}}},function(e){e.O(0,[25512,92888,49774,40179],function(){return e(e.s=86958)}),_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.