import{av as f,u as N,l as y,s as b,v,j as e,z as w,W as d,a4 as o,M as x,Q as $,U as k,S as C,V as D,B as m,K as S}from"./index-AIIMweKF.js";import{C as n,a as i}from"./card-jgLTBGhk.js";import{a as I,g as M}from"./holidayContent-BX1BcVro.js";import z from"./NotFound-DqdZpbCe.js";import{A as V}from"./arrow-left-C721oj6D.js";import{C as h}from"./calendar-ChJ5Bt0e.js";import"./analytics-CNjZOon8.js";function A(){const{holidayId:c}=f(),{t:a}=N("holidays"),u=y(),s=c?I(c):null;if(b({pageName:`holiday_${c||"unknown"}`}),v({pageName:`holiday_${c||"unknown"}`}),!s)return e.jsx(z,{});const l=a(`holidayNames.${s.id}`,{defaultValue:""})||s.name,p=()=>{const t=["january","february","march","april","may","june","july","august","september","october","november","december"],r=a(`monthsFull.${t[s.startMonth-1]}`),j=a(`monthsFull.${t[s.endMonth-1]}`);return s.startMonth===s.endMonth&&s.startDay===s.endDay?`${r} ${s.startDay}`:s.startMonth===s.endMonth?`${r} ${s.startDay}-${s.endDay}`:`${r} ${s.startDay} - ${j} ${s.endDay}`},g=()=>s.countries==="*"?a("insight.celebratedWorldwide"):s.countries.map(t=>M(t)).join(", ");return e.jsxs(e.Fragment,{children:[e.jsx(w,{title:a("meta.insightTitle",{holiday:l}),description:a("meta.insightDescription",{holiday:l})}),e.jsxs("main",{className:"min-h-screen bg-background",children:[e.jsxs("section",{className:"relative pt-24 pb-16 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary/5 to-transparent"}),e.jsxs("div",{className:"container mx-auto px-4 relative",children:[e.jsxs(d,{to:"/holidays",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors mb-8",children:[e.jsx(V,{className:"h-4 w-4"}),e.jsx("span",{children:a("insight.backLink")})]}),e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("div",{className:"text-8xl md:text-9xl mb-6 animate-fade-in-up",children:s.emoji}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-4 animate-fade-in-up delay-100",children:l}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 mb-8 animate-fade-in-up delay-200",children:[e.jsxs(o,{variant:"secondary",className:"text-base px-4 py-2",children:[e.jsx(h,{className:"h-4 w-4 mr-2"}),p()]}),e.jsx(o,{variant:"outline",className:"text-base px-4 py-2",children:g()})]})]})]})]}),e.jsx("section",{className:"py-12 bg-primary/5",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-3xl mx-auto",children:e.jsx(n,{className:"border-primary/20 shadow-lg",children:e.jsx(i,{className:"p-8",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:e.jsx(x,{className:"h-6 w-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:a("insight.cendraSays")}),e.jsxs("p",{className:"text-lg leading-relaxed text-foreground",children:['"',a(`holidayContent.${s.id}.hospitalityInsight`,{defaultValue:s.hospitalityInsight}),'"']})]})]})})})})})}),e.jsx("section",{className:"py-16 content-auto-lg",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-center mb-12",children:a("insight.travelImpact")}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[e.jsx(n,{className:"text-center hover-lift",children:e.jsxs(i,{className:"p-6",children:[e.jsx($,{className:"h-10 w-10 text-accent mx-auto mb-4"}),e.jsx("p",{className:"text-3xl font-bold text-foreground mb-2",children:a(`holidayContent.${s.id}.travelStats.bookingIncrease`,{defaultValue:s.travelStats.bookingIncrease})}),e.jsx("p",{className:"text-muted-foreground",children:a("insight.bookingIncrease")})]})}),e.jsx(n,{className:"text-center hover-lift",children:e.jsxs(i,{className:"p-6",children:[e.jsx(h,{className:"h-10 w-10 mx-auto mb-4",style:{color:"hsl(var(--info))"}}),e.jsx("p",{className:"text-3xl font-bold text-foreground mb-2",children:a(`holidayContent.${s.id}.travelStats.peakDays`,{defaultValue:s.travelStats.peakDays})}),e.jsx("p",{className:"text-muted-foreground",children:a("insight.peakDays")}),e.jsx("p",{className:"text-xs text-muted-foreground/70 mt-2 italic",children:a("insight.peakDaysExplainer")})]})}),e.jsx(n,{className:"text-center hover-lift",children:e.jsxs(i,{className:"p-6",children:[e.jsx(k,{className:"h-10 w-10 mx-auto mb-4",style:{color:"hsl(var(--success))"}}),e.jsx("p",{className:"text-xl font-bold text-foreground mb-2",children:a(`holidayContent.${s.id}.travelStats.guestProfile`,{defaultValue:s.travelStats.guestProfile})}),e.jsx("p",{className:"text-muted-foreground",children:a("insight.guestProfile")})]})})]})]})}),e.jsx("section",{className:"py-16 bg-secondary/30 content-auto-lg",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 max-w-6xl mx-auto",children:[e.jsx(n,{children:e.jsxs(i,{className:"p-8",children:[e.jsxs("h3",{className:"text-xl font-bold mb-6 flex items-center gap-3",children:[e.jsx(x,{className:"h-6 w-6 text-primary"}),a("insight.whatGuestsAsk",{holiday:l})]}),e.jsx("ul",{className:"space-y-3",children:a(`holidayContent.${s.id}.commonRequests`,{returnObjects:!0,defaultValue:s.commonRequests}).map((t,r)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full bg-primary/10 text-primary text-sm flex items-center justify-center",children:r+1}),e.jsx("span",{className:"text-foreground",children:t})]},r))})]})}),e.jsx(n,{className:"border-primary/20",children:e.jsxs(i,{className:"p-8",children:[e.jsxs("h3",{className:"text-xl font-bold mb-6 flex items-center gap-3",children:[e.jsx(C,{className:"h-6 w-6 text-accent"}),a("insight.howIHelp")]}),e.jsx("ul",{className:"space-y-3",children:a(`holidayContent.${s.id}.cendraFeatures`,{returnObjects:!0,defaultValue:s.cendraFeatures}).map((t,r)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 text-accent",children:"✓"}),e.jsx("span",{className:"text-foreground",children:t})]},r))})]})})]})})}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsxs("h2",{className:"text-2xl md:text-3xl font-bold mb-4 flex items-center justify-center gap-3",children:[e.jsx(D,{className:"h-8 w-8 text-accent"}),a("insight.revenueOpportunities")]}),e.jsx("p",{className:"text-muted-foreground mb-12",children:a("insight.revenueSubtitle",{holiday:l})}),e.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:a(`holidayContent.${s.id}.upsellIdeas`,{returnObjects:!0,defaultValue:s.upsellIdeas}).map((t,r)=>e.jsx(o,{variant:"secondary",className:"text-base px-4 py-2 bg-accent/10 text-accent border-accent/20 hover:bg-accent/20 transition-colors",children:t},r))})]})})}),e.jsx("section",{className:"py-16 bg-primary text-primary-foreground",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:a("cta.insightTitle",{holiday:l})}),e.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-2xl mx-auto",children:a("cta.insightSubtitle")}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[e.jsx(m,{size:"lg",variant:"secondary",className:"font-semibold",onClick:()=>u("/get-started"),children:a("cta.startTrial")}),e.jsx(m,{asChild:!0,size:"lg",variant:"outline",className:"bg-transparent border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",children:e.jsx(d,{to:"/holidays",children:a("cta.exploreMore")})})]})]})}),e.jsx(S,{})]})]})}export{A as default};