1import{g as e,j as t}from"./app-CAe7Rkgt.js";import{a,H as r}from"./vendor-inertia-D4lQTe-r.js";import{F as s}from"./Footer-Dprhv0V8.js";import{u as l}from"./useBreadcrumbs-DYV2RN1G.js";import{C as i}from"./CachedImage-BI9jHQzc.js";import{a as n}from"./EventCategoryIcon-B7Vn7Jno.js";import{d as c}from"./textHelpers-zpu16uor.js";import"./vendor-redux-DbIvLf9T.js";function o({type:o,item:d}){const[m,p]=a.useState(5),h=a.useRef(5);a.useEffect(()=>{const e=setInterval(()=>{const t=h.current-1;h.current=t,p(t),t<=0&&(clearInterval(e),window.location.href=d.external_url)},1e3);return()=>clearInterval(e)},[d.external_url]);const f="event"===o?"Event":"news"===o?"Article":"traffic"===o?"Traffic":"Page",x="event"===o?"/events":"traffic"===o?"/traffic":"news"===o?"/news":"/",v="event"===o?"Events":"traffic"===o?"Traffic & Travel":"news"===o?"News":"Home",b=e(d.image),g=c(d.name);return l([{label:v,href:x},{label:g,href:void 0}]),t.jsxs(t.Fragment,{children:[t.jsx(r,{title:`Redirecting to ${g}`}),t.jsxs("div",{className:"min-h-screen relative",children:[b?t.jsxs("div",{className:"fixed inset-0 overflow-hidden z-0",children:[t.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${b})`,filter:"blur(40px)",transform:"scale(1.1)"}}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white/50 via-white/40 to-purple-50/50"})]}):t.jsx("div",{className:"fixed inset-0 bg-gray-50 z-0"}),t.jsxs("div",{className:"relative z-10",children:[t.jsx("div",{className:"max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:t.jsxs("div",{className:"bg-white/90 backdrop-blur-sm rounded-xl shadow-lg overflow-hidden",children:[t.jsxs("div",{className:"h-48 overflow-hidden relative bg-gradient-to-br from-pink-400 to-purple-500",children:[d.image&&t.jsx(i,{image:d.image,alt:g,className:"w-full h-full object-cover"}),"event"===o&&t.jsx("div",{className:"absolute inset-0 z-10 flex items-center justify-center pointer-events-none",children:t.jsx(n,{category:d.category??"",className:"w-20 h-20 text-white/40 drop-shadow-lg"})})]}),t.jsxs("div",{className:"p-8 text-center",children:[t.jsxs("div",{className:"mb-6",children:[d.provider&&t.jsxs("span",{className:"inline-block bg-gray-100 text-gray-600 px-3 py-1 rounded-full text-xs font-medium mb-3",children:["via ",d.provider]}),d.category&&t.jsx("span",{className:"inline-block bg-purple-100 text-purple-700 px-3 py-1 rounded-full text-xs font-medium mb-3 ml-2",children:d.category})]}),t.jsx("h1",{className:"text-2xl font-bold text-gray-900 mb-3",children:g}),d.venue&&t.jsxs("p",{className:"text-gray-600 mb-1",children:[t.jsx("span",{className:"font-medium",children:c(d.venue)}),d.city&&`, ${d.city}`]}),d.date_range&&t.jsx("p",{className:"text-gray-500 text-sm mb-2",children:d.date_range}),d.ticket_price_formatted&&t.jsx("p",{className:"text-pink-600 font-bold text-lg mb-6",children:d.ticket_price_formatted}),d.description&&t.jsx("p",{className:"text-gray-600 text-sm mb-6 line-clamp-3",children:c(d.description)}),t.jsx("div",{className:"border-t border-b border-gray-100 py-6 my-6",children:t.jsx("div",{className:"bg-gray-50 rounded-lg p-4 min-h-[90px] flex items-center justify-center",children:t.jsx("span",{className:"text-gray-400 text-xs",children:"Advertisement"})})}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("p",{className:"text-gray-500 text-sm",children:["You are being redirected to an external ",f.toLowerCase()," page in"," ",t.jsx("span",{className:"font-bold text-gray-900",children:m})," seconds..."]}),t.jsxs("a",{href:d.external_url,className:"inline-block bg-pink-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-pink-700 transition-colors",children:["Go to ",f," Now"]}),t.jsx("div",{children:t.jsxs("a",{href:x,className:"text-sm text-gray-500 hover:text-gray-700",children:["\u2190 Back to ",v]})})]})]})]})}),t.jsx(s,{})]})]})]})}export{o as default};
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.