1 line
35 KiB
JavaScript
1 line
35 KiB
JavaScript
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52571,e=>{"use strict";let t=(0,e.i(75254).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",()=>t],52571)},98919,e=>{"use strict";let t=(0,e.i(75254).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",()=>t],98919)},46897,e=>{"use strict";let t=(0,e.i(75254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",()=>t],46897)},3116,e=>{"use strict";let t=(0,e.i(75254).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",()=>t],3116)},33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={assign:function(){return o},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return l}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});function n(e){let t={};for(let[r,s]of e.entries()){let e=t[r];void 0===e?t[r]=s:Array.isArray(e)?e.push(s):t[r]=[e,s]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,s]of Object.entries(e))if(Array.isArray(s))for(let e of s)t.append(r,i(e));else t.set(r,i(s));return t}function o(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,s]of r.entries())e.append(t,s)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return o}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let n=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,s=e.protocol||"",a=e.pathname||"",l=e.hash||"",o=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),o&&"object"==typeof o&&(o=String(n.urlQueryToSearchParams(o)));let d=e.search||o&&`?${o}`||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||i.test(s))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${s}${c}${a}${d}${l}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let s=e.r(71645);function a(e,t){let r=(0,s.useRef)(null),a=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=n(e,s)),t&&(a.current=n(t,s))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return h},WEB_VITALS:function(){return n},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return o},isResSent:function(){return p},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return x},stringifyError:function(){return N}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...s)=>(r||(r=!0,t=e(...s)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>l.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function x(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let s=await e.getInitialProps(t);if(r&&p(r))return s;if(!s)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${s}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return s}let m="u">typeof performance,h=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return n}});let s=e.r(18967),a=e.r(52817);function n(e){if(!(0,s.isAbsoluteUrl)(e))return!0;try{let t=(0,s.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return g},useLinkStatus:function(){return y}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let n=e.r(90809),i=e.r(43476),l=n._(e.r(71645)),o=e.r(95057),c=e.r(8372),d=e.r(18581),u=e.r(18967),p=e.r(5550);e.r(33525);let x=e.r(91949),f=e.r(73668),m=e.r(9396);function h(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function g(t){var r;let s,a,n,[o,g]=(0,l.useOptimistic)(x.IDLE_LINK_STATUS),y=(0,l.useRef)(null),{href:v,as:j,children:N,prefetch:w=null,passHref:k,replace:C,shallow:_,scroll:P,onClick:S,onMouseEnter:O,onTouchStart:E,legacyBehavior:A=!1,onNavigate:I,ref:R,unstable_dynamicOnHover:M,...T}=t;s=N,A&&("string"==typeof s||"number"==typeof s)&&(s=(0,i.jsx)("a",{children:s}));let L=l.default.useContext(c.AppRouterContext),$=!1!==w,z=!1!==w?null===(r=w)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:B,as:U}=l.default.useMemo(()=>{let e=h(v);return{href:e,as:j?h(j):e}},[v,j]);if(A){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(s)}let F=A?a&&"object"==typeof a&&a.ref:R,D=l.default.useCallback(e=>(null!==L&&(y.current=(0,x.mountLinkInstance)(e,B,L,z,$,g)),()=>{y.current&&((0,x.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,x.unmountPrefetchableInstance)(e)}),[$,B,L,z,g]),V={ref:(0,d.useMergedRef)(D,F),onClick(t){A||"function"!=typeof S||S(t),A&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!L||t.defaultPrevented||function(t,r,s,a,n,i,o){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(s||r,n?"replace":"push",i??!0,a.current)})}}(t,B,U,y,C,P,I)},onMouseEnter(e){A||"function"!=typeof O||O(e),A&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),L&&$&&(0,x.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){A||"function"!=typeof E||E(e),A&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),L&&$&&(0,x.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,u.isAbsoluteUrl)(U)?V.href=U:A&&!k&&("a"!==a.type||"href"in a.props)||(V.href=(0,p.addBasePath)(U)),n=A?l.default.cloneElement(a,V):(0,i.jsx)("a",{...T,...V,children:s}),(0,i.jsx)(b.Provider,{value:o,children:n})}e.r(84508);let b=(0,l.createContext)(x.IDLE_LINK_STATUS),y=()=>(0,l.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},67881,71689,e=>{"use strict";let t,r,s,a,n;var i=e.i(43476),l=e.i(71645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var c=Symbol.for("react.lazy"),d=l[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var p=((n=l.forwardRef((e,t)=>{let{children:r,...s}=e;if(u(r)&&"function"==typeof d&&(r=d(r._payload)),l.isValidElement(r)){var a;let e,n,i=(a=r,(n=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(n=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let s in t){let a=e[s],n=t[s];/^on[A-Z]/.test(s)?a&&n?r[s]=(...e)=>{let t=n(...e);return a(...e),t}:a&&(r[s]=a):"style"===s?r[s]={...a,...n}:"className"===s&&(r[s]=[a,n].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==l.Fragment&&(c.ref=t?function(...e){return t=>{let r=!1,s=e.map(e=>{let s=o(e,t);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let t=0;t<s.length;t++){let r=s[t];"function"==typeof r?r():o(e[t],null)}}}}(t,i):i),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null})).displayName="Slot.SlotClone",t=n,(r=l.forwardRef((e,r)=>{let{children:s,...a}=e;u(s)&&"function"==typeof d&&(s=d(s._payload));let n=l.Children.toArray(s),o=n.find(f);if(o){let e=o.props.children,s=n.map(t=>t!==o?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...a,ref:r,children:l.isValidElement(e)?l.cloneElement(e,void 0,s):null})}return(0,i.jsx)(t,{...a,ref:r,children:s})})).displayName="Slot.Slot",r),x=Symbol("radix.slottable");function f(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var m=e.i(7670);let h=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,g=m.clsx;var b=e.i(47163);let y=(s="inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",a={variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",pill:"bg-primary text-primary-foreground shadow-lg hover:shadow-xl hover:-translate-y-0.5 transition-all duration-300 rounded-full"},size:{default:"h-11 px-8 py-2",sm:"h-9 rounded-full px-6 text-xs",lg:"h-12 rounded-full px-10 text-base",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}},e=>{var t;if((null==a?void 0:a.variants)==null)return g(s,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:r,defaultVariants:n}=a,i=Object.keys(r).map(t=>{let s=null==e?void 0:e[t],a=null==n?void 0:n[t];if(null===s)return null;let i=h(s)||h(a);return r[t][i]}),l=e&&Object.entries(e).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return g(s,i,null==a||null==(t=a.compoundVariants)?void 0:t.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...n,...l}[t]):({...n,...l})[t]===r})?[...e,r,s]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),v=l.forwardRef(({className:e,variant:t,size:r,asChild:s=!1,...a},n)=>(0,i.jsx)(s?p:"button",{className:(0,b.cn)(y({variant:t,size:r,className:e})),ref:n,...a}));v.displayName="Button",e.s(["Button",()=>v],67881);let j=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>j],71689)},95010,e=>{"use strict";var t=e.i(43476),r=e.i(46932),s=e.i(47163);e.s(["default",0,({className:e,children:a})=>(0,t.jsx)(r.motion.main,{className:(0,s.cn)(e),initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.16,1,.3,1]},children:a})])},70065,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(47163);let a=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,s.cn)("rounded-3xl border bg-card text-card-foreground shadow-sm",e),...r}));a.displayName="Card",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",e),...r})).displayName="CardHeader",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("h3",{ref:a,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",e),...r})).displayName="CardTitle",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("p",{ref:a,className:(0,s.cn)("text-sm text-muted-foreground",e),...r})).displayName="CardDescription",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,s.cn)("p-6 pt-0",e),...r})).displayName="CardContent",r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,s.cn)("flex items-center p-6 pt-0",e),...r})).displayName="CardFooter",e.s(["Card",()=>a])},43432,e=>{"use strict";let t=(0,e.i(75254).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",()=>t],43432)},63488,e=>{"use strict";let t=(0,e.i(75254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",()=>t],63488)},61030,e=>{"use strict";var t=e.i(43476),r=e.i(63780),s=e.i(76841),a=e.i(95010),n=e.i(47163),i=e.i(52571),l=e.i(75254);let o=(0,l.default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]),c=(0,l.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var d=e.i(98919);let u=(0,l.default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var p=e.i(50661),x=e.i(71645);let f=({route:e,rows:r,specials:s,vipInfo:a,effectiveFrom:l,expressInfo:f,districtSurcharge:m})=>{let{t:h}=(0,p.useLanguage)(),[g,b]=(0,x.useState)(!1),[y,v]=(0,x.useState)(null);return(0,t.jsxs)("div",{className:"w-full space-y-8 mb-24",children:[(0,t.jsxs)("div",{className:"space-y-2 mb-8",children:[(0,t.jsx)("h3",{className:"text-5xl md:text-7xl font-black uppercase tracking-tighter opacity-10 text-primary",children:e.includes("POZSONY")||e.includes("BRATISLAVA")?"BRATISLAVA":e.includes("BÉCS")||e.includes("VIENNA")?"VIENNA":"BUDAPEST"}),(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-black tracking-tight -mt-8 md:-mt-10 ml-1 text-slate-900 max-w-2xl uppercase",children:e}),m&&(0,t.jsxs)("button",{type:"button",onClick:()=>b(!0),className:"inline-flex items-center gap-2 rounded-full border border-secondary/40 bg-secondary/10 px-4 py-2 text-[11px] font-black uppercase tracking-[0.25em] text-secondary transition-colors hover:border-secondary hover:bg-secondary/20",children:[(0,t.jsx)(u,{className:"h-4 w-4"}),m.label]})]}),(0,t.jsxs)("div",{className:"bg-white rounded-[2.5rem] shadow-xl border border-slate-100 overflow-hidden",children:[(0,t.jsx)("div",{className:"block md:hidden divide-y divide-slate-100",children:r.map((e,r)=>(0,t.jsxs)("div",{className:(0,n.cn)("p-4 px-6",r%2==0?"bg-white":"bg-slate-50/30"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-slate-900 font-bold mb-3",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),(0,t.jsx)("span",{className:"text-base",children:e.persons})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2 text-sm items-start",children:[(0,t.jsxs)("div",{className:"text-center space-y-1",children:[(0,t.jsx)("div",{className:"text-[9px] uppercase tracking-[0.2em] text-slate-400",children:h.pricing.table.express}),(0,t.jsxs)("div",{className:"font-extrabold text-blue-950 flex flex-col items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-lg leading-tight",children:e.express}),0===r&&f&&(0,t.jsxs)("button",{type:"button",onClick:()=>v(f),className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[9px] font-black uppercase tracking-wider bg-primary/5 text-primary border border-primary/20 hover:bg-primary/10 transition-all active:scale-95",children:[(0,t.jsx)(i.Info,{className:"w-2.5 h-2.5"}),"Infó"]})]})]}),(0,t.jsxs)("div",{className:"text-center space-y-1",children:[(0,t.jsx)("div",{className:"text-[9px] uppercase tracking-[0.2em] text-slate-400",children:h.pricing.table.private}),(0,t.jsx)("div",{className:"flex flex-col items-center",children:(0,t.jsx)("div",{className:"font-extrabold text-white px-3 py-1 bg-secondary rounded-full text-[11px] tracking-wider shadow-sm",children:e.private})})]})]})]},r))}),(0,t.jsx)("div",{className:"hidden md:block overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-left border-collapse",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"bg-slate-50/50 text-slate-500 text-[10px] uppercase tracking-[0.2em] border-b border-slate-100",children:[(0,t.jsx)("th",{className:"py-6 px-4 md:py-8 md:px-10 font-bold whitespace-nowrap",children:h.pricing.table.passengers}),(0,t.jsx)("th",{className:"py-8 px-4 font-bold text-center",children:(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)("span",{className:"text-primary font-black",children:h.pricing.table.express}),(0,t.jsx)("div",{className:"bg-primary/10 p-1 rounded-md",children:(0,t.jsx)(o,{className:"w-3 h-3 text-primary"})})]})}),(0,t.jsx)("th",{className:"py-8 px-10 font-bold text-center",children:(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,t.jsx)("span",{className:"text-secondary font-black",children:h.pricing.table.private}),(0,t.jsx)("div",{className:"bg-secondary/10 p-1 rounded-md",children:(0,t.jsx)(d.Shield,{className:"w-3 h-3 text-secondary"})})]})})]})}),(0,t.jsx)("tbody",{className:"text-slate-700",children:r.map((e,r)=>(0,t.jsxs)("tr",{className:(0,n.cn)("border-b border-slate-50 transition-colors hover:bg-slate-50/80",r%2==0?"bg-white":"bg-slate-50/20"),children:[(0,t.jsx)("td",{className:"py-4 px-4 md:py-5 md:px-10 font-bold text-slate-900 whitespace-nowrap",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),e.persons]})}),(0,t.jsx)("td",{className:"py-5 px-4 text-center",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1",children:[(0,t.jsx)("span",{className:"font-extrabold text-blue-950",children:e.express}),0===r&&f&&(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsxs)("button",{type:"button",onClick:()=>v(f),className:"inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[10px] font-black uppercase tracking-wider bg-primary/5 text-primary border border-primary/20 hover:bg-primary/10 transition-colors",children:[(0,t.jsx)(i.Info,{className:"w-3 h-3"}),"Infó"]})})]})}),(0,t.jsx)("td",{className:"py-5 px-10 text-center",children:(0,t.jsx)("span",{className:"font-extrabold text-white px-5 py-1.5 bg-secondary rounded-full text-xs tracking-wider shadow-sm",children:e.private})})]},`row-${r}`))})]})}),s&&s.length>0&&(0,t.jsxs)("div",{className:"bg-gradient-to-r from-slate-950 to-slate-900 text-white p-10 space-y-8",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10",children:s.map((e,r)=>(0,t.jsxs)("div",{className:"space-y-3 group",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"bg-primary p-2 rounded-xl group-hover:scale-110 transition-transform duration-300 shadow-lg shadow-primary/20",children:(0,t.jsx)(c,{className:"w-4 h-4 text-white"})}),(0,t.jsxs)("span",{className:"font-black text-xl text-white group-hover:text-primary transition-colors tracking-tight",children:[e.name," — ",e.price]})]}),(0,t.jsx)("p",{className:"text-slate-400 text-sm leading-relaxed pl-12 font-medium",children:e.description})]},r))}),a&&a.length>0&&(0,t.jsxs)("div",{className:"pt-8 border-t border-white/5",children:[(0,t.jsx)("h4",{className:"text-[10px] uppercase tracking-[0.3em] text-primary font-black mb-6",children:h.pricing.table.premium}),(0,t.jsx)("div",{className:"flex flex-wrap gap-x-12 gap-y-4",children:a.map((e,r)=>(0,t.jsxs)("div",{className:"flex items-center gap-3 text-sm text-slate-300 font-bold italic",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-primary shadow-[0_0_10px_rgba(217,163,33,0.5)]"}),e]},r))})]})]})]}),l&&(0,t.jsx)("div",{className:"text-right text-slate-400 text-[10px] uppercase tracking-[0.2em] font-black",children:l}),m&&g&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-slate-950/70 px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-2xl overflow-hidden rounded-[2rem] border border-slate-800/80 bg-slate-900 text-white shadow-[0_30px_80px_rgba(15,23,42,0.6)]",children:[(0,t.jsxs)("div",{className:"relative px-8 py-6",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-slate-900 via-slate-900 to-slate-800 opacity-90"}),(0,t.jsxs)("div",{className:"relative flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[10px] uppercase tracking-[0.35em] text-secondary/80",children:m.label}),(0,t.jsx)("h4",{className:"text-lg font-black uppercase tracking-tight text-white",children:m.title})]}),(0,t.jsx)("button",{type:"button",onClick:()=>b(!1),className:"h-9 w-9 rounded-full border border-white/10 bg-white/5 text-white/70 transition-colors hover:bg-white/10 hover:text-white","aria-label":m.closeLabel,children:"×"})]})]}),(0,t.jsxs)("div",{className:"space-y-5 px-8 pb-8 pt-2 text-sm text-white/85",children:[(0,t.jsx)("p",{className:"leading-relaxed",children:m.description}),(0,t.jsx)("div",{className:"space-y-3",children:m.items.map((e,r)=>(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-xl border border-white/5 bg-white/5 px-4 py-3",children:[(0,t.jsx)("span",{className:"mt-0.5 h-2 w-2 flex-shrink-0 rounded-full bg-secondary shadow-[0_0_10px_rgba(217,163,33,0.6)]"}),(0,t.jsx)("span",{className:"font-semibold text-white/90",children:e})]},r))}),(0,t.jsx)("div",{className:"flex justify-end pt-2",children:(0,t.jsx)("button",{type:"button",onClick:()=>b(!1),className:"rounded-full bg-secondary px-6 py-2 text-[11px] font-black uppercase tracking-[0.25em] text-white hover:bg-secondary/90",children:m.closeLabel})})]})]})}),y&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-6 animate-in fade-in duration-300",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-slate-950/60 backdrop-blur-md",onClick:()=>v(null)}),(0,t.jsxs)("div",{className:"relative w-full max-w-md bg-white rounded-[2.5rem] shadow-[0_25px_70px_rgba(0,0,0,0.4)] border border-white/20 overflow-hidden animate-in zoom-in-95 slide-in-from-bottom-5 duration-300",children:[(0,t.jsxs)("div",{className:"bg-slate-900 px-8 py-6 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-primary/20 rounded-xl flex items-center justify-center",children:(0,t.jsx)(i.Info,{className:"w-5 h-5 text-primary"})}),(0,t.jsx)("span",{className:"font-black uppercase tracking-[0.2em] text-[11px] text-white",children:"Információ"})]}),(0,t.jsx)("button",{onClick:()=>v(null),className:"w-8 h-8 rounded-full bg-white/5 flex items-center justify-center text-white/40 hover:text-white hover:bg-white/10 transition-all",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsx)("div",{className:"px-10 py-12 text-center",children:(0,t.jsx)("p",{className:"text-slate-600 text-lg leading-relaxed font-medium",children:y})}),(0,t.jsx)("div",{className:"px-8 pb-8",children:(0,t.jsx)("button",{type:"button",onClick:()=>v(null),className:"w-full rounded-2xl bg-slate-900 py-5 text-sm font-black uppercase tracking-[0.2em] text-white shadow-xl shadow-slate-950/20 hover:bg-slate-800 transition-all active:scale-[0.98]",children:"Értem"})})]})]})]})};var m=e.i(67881),h=e.i(70065),g=e.i(71689),b=e.i(43432),y=e.i(63488),v=e.i(3116),j=e.i(46897),N=e.i(22016);function w(){let{t:e}=(0,p.useLanguage)(),n=t=>e.pricing.expressInfoTemplate.replace("{price}",t),i=n("23.500 HUF"),l=n("28.000 HUF"),o=n("23.500 HUF"),c=n("50.000 HUF"),u=e.pricing.districtSurcharge,x=[{id:"gyor-becs",label:e.pricing.routes.gyorBecs},{id:"gyor-budapest",label:e.pricing.routes.gyorBudapest},{id:"gyor-pozsony",label:e.pricing.routes.gyorPozsony},{id:"budapest-becs",label:e.pricing.routes.budapestBecs}];return(0,t.jsxs)(a.default,{className:"relative min-h-screen bg-slate-50",children:[(0,t.jsx)(r.default,{darkMode:!0}),(0,t.jsxs)("div",{className:"absolute md:fixed inset-0 pointer-events-none -z-10 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-1/4 -right-20 w-96 h-96 bg-purple-100 rounded-full blur-3xl opacity-30 animate-blob"}),(0,t.jsx)("div",{className:"absolute top-1/2 -left-20 w-80 h-80 bg-blue-100 rounded-full blur-3xl opacity-30 animate-blob animation-delay-2000"})]}),(0,t.jsxs)("section",{className:"relative pt-40 pb-32 overflow-hidden bg-[#D9A321]",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-diagonal opacity-100 -z-10",style:{background:"linear-gradient(135deg, #D9A321 0%, #1A1A1A 100%)"}}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[100px] bg-slate-50 transform -skew-y-3 origin-bottom-left -z-10"}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[(0,t.jsxs)(N.default,{href:"/",className:"inline-flex items-center text-white/70 hover:text-white mb-10 transition-colors group",children:[(0,t.jsx)("div",{className:"bg-white/10 p-2 rounded-full mr-3 group-hover:bg-white/20 transition-colors",children:(0,t.jsx)(g.ArrowLeft,{className:"w-4 h-4"})}),(0,t.jsx)("span",{className:"text-xs font-bold tracking-[0.2em] uppercase",children:e.pricing.back})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("h1",{className:"text-5xl md:text-8xl font-black text-white tracking-tighter leading-none uppercase",children:[e.pricing.title," ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-slate-900 italic",children:e.pricing.titleAccent})]}),(0,t.jsx)("p",{className:"text-xl text-white/70 max-w-2xl leading-relaxed font-medium",children:e.pricing.description})]})]})]}),(0,t.jsx)("section",{className:"py-16",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-6",children:[(0,t.jsxs)(h.Card,{className:"p-6 mb-16 bg-white border-blue-100 shadow-xl rounded-[2rem] flex flex-col md:flex-row gap-8 items-center",children:[(0,t.jsx)("div",{className:"bg-primary/10 p-4 rounded-2xl",children:(0,t.jsx)(v.Clock,{className:"w-8 h-8 text-primary"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-extrabold text-blue-950 uppercase tracking-tight mb-1",children:e.pricing.banner.title}),(0,t.jsx)("div",{className:"text-slate-500 text-sm leading-relaxed space-y-3",children:Array.isArray(e.pricing.banner.description)?e.pricing.banner.description.map((e,r)=>(0,t.jsx)("p",{children:e},r)):(0,t.jsx)("p",{children:e.pricing.banner.description})})]}),(0,t.jsx)(m.Button,{asChild:!0,className:"rounded-full px-8 h-12 bg-primary hover:bg-primary/90 text-sm font-bold tracking-widest uppercase",children:(0,t.jsx)("a",{href:"https://app.skyflytravel.hu/public/offers/new",target:"_blank",rel:"noopener noreferrer",children:e.nav.cta})})]}),(0,t.jsxs)("div",{className:"mb-14",children:[(0,t.jsx)("div",{className:"text-center text-[10px] font-black uppercase tracking-[0.4em] text-slate-400 mb-4",children:e.pricing.routes.title}),(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-3",children:x.map(e=>(0,t.jsx)("a",{href:`#${e.id}`,className:"px-4 py-2 rounded-full bg-white text-slate-700 text-xs font-bold uppercase tracking-widest border border-slate-100 shadow-sm hover:border-primary hover:text-primary transition-colors",children:e.label},e.id))})]}),(0,t.jsx)("div",{id:"gyor-becs",children:(0,t.jsx)(f,{route:e.pricing.routesTable.gyorBecs,rows:e.pricing.rows.becs,specials:e.pricing.specials.base,vipInfo:e.pricing.vipInfo.base,effectiveFrom:`${e.pricing.table.effective}: 2026.01.15`,expressInfo:i})}),(0,t.jsx)("div",{id:"gyor-budapest",children:(0,t.jsx)(f,{route:e.pricing.routesTable.gyorBudapest,rows:e.pricing.rows.budapest,specials:e.pricing.specials.budapest,vipInfo:e.pricing.vipInfo.budapest,effectiveFrom:`${e.pricing.table.effective}: 2026.01.15`,expressInfo:l,districtSurcharge:u})}),(0,t.jsx)("div",{id:"gyor-pozsony",children:(0,t.jsx)(f,{route:e.pricing.routesTable.gyorPozsony,rows:e.pricing.rows.pozsony,specials:e.pricing.specials.base,vipInfo:e.pricing.vipInfo.base,effectiveFrom:`${e.pricing.table.effective}: 2026.01.15`,expressInfo:o})}),(0,t.jsx)("div",{id:"budapest-becs",children:(0,t.jsx)(f,{route:e.pricing.routesTable.budapestBecs,rows:e.pricing.rows.budapestVienna,specials:e.pricing.specials.budapestVienna,vipInfo:e.pricing.vipInfo.budapestVienna,effectiveFrom:`${e.pricing.table.effective}: 2026.01.15`,expressInfo:c,districtSurcharge:u})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mt-24",children:[(0,t.jsxs)(h.Card,{className:"p-8 rounded-[2rem] border-none shadow-lg bg-white group hover:-translate-y-2 transition-all duration-300",children:[(0,t.jsx)("div",{className:"bg-green-50 w-16 h-16 rounded-2xl flex items-center justify-center mb-6 group-hover:bg-green-500 transition-colors duration-300",children:(0,t.jsx)(d.Shield,{className:"w-8 h-8 text-green-500 group-hover:text-white transition-colors duration-300"})}),(0,t.jsx)("h4",{className:"font-extrabold text-slate-900 text-xl mb-3 uppercase tracking-tight",children:e.pricing.extra.security.title}),(0,t.jsx)("p",{className:"text-slate-500 text-sm leading-relaxed",children:e.pricing.extra.security.desc})]}),(0,t.jsxs)(h.Card,{className:"p-8 rounded-[2rem] border-none shadow-lg bg-white group hover:-translate-y-2 transition-all duration-300",children:[(0,t.jsx)("div",{className:"bg-blue-50 w-16 h-16 rounded-2xl flex items-center justify-center mb-6 group-hover:bg-blue-500 transition-colors duration-300",children:(0,t.jsx)(j.MapPin,{className:"w-8 h-8 text-blue-500 group-hover:text-white transition-colors duration-300"})}),(0,t.jsx)("h4",{className:"font-extrabold text-slate-900 text-xl mb-3 uppercase tracking-tight",children:e.pricing.extra.addresses.title}),(0,t.jsx)("p",{className:"text-slate-500 text-sm leading-relaxed",children:e.pricing.extra.addresses.desc})]}),(0,t.jsxs)(h.Card,{className:"p-8 rounded-[2rem] border-none shadow-lg bg-white group hover:-translate-y-2 transition-all duration-300",children:[(0,t.jsx)("div",{className:"bg-purple-50 w-16 h-16 rounded-2xl flex items-center justify-center mb-6 group-hover:bg-purple-500 transition-colors duration-300",children:(0,t.jsx)(b.Phone,{className:"w-8 h-8 text-purple-500 group-hover:text-white transition-colors duration-300"})}),(0,t.jsx)("h4",{className:"font-extrabold text-slate-900 text-xl mb-3 uppercase tracking-tight",children:e.pricing.extra.custom.title}),(0,t.jsx)("p",{className:"text-slate-500 text-sm leading-relaxed",children:e.pricing.extra.custom.desc})]})]}),(0,t.jsxs)("div",{className:"mt-24 text-center space-y-8 bg-slate-900 rounded-[3rem] p-16 text-white overflow-hidden relative",children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full blur-3xl -mr-32 -mt-32"}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-center",children:[(0,t.jsx)("h2",{className:"text-3xl md:text-5xl font-black uppercase tracking-tighter mb-8",children:e.pricing.cta.title}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-12",children:[(0,t.jsxs)("a",{href:`tel:${e.common.phone.replace(/\s/g,"")}`,className:"flex items-center gap-4 text-xl md:text-2xl font-black hover:text-primary transition-colors decoration-primary decoration-4 underline-offset-8 group",children:[(0,t.jsx)("div",{className:"bg-white/5 p-3 rounded-2xl group-hover:bg-primary transition-colors",children:(0,t.jsx)(b.Phone,{className:"text-primary group-hover:text-white"})}),e.common.phone]}),(0,t.jsxs)("a",{href:`mailto:${e.common.email}`,className:"flex items-center gap-4 text-xl md:text-2xl font-black hover:text-primary transition-colors decoration-primary decoration-4 underline-offset-8 group",children:[(0,t.jsx)("div",{className:"bg-white/5 p-3 rounded-2xl group-hover:bg-primary transition-colors",children:(0,t.jsx)(y.Mail,{className:"text-primary group-hover:text-white"})}),e.common.email]})]})]})]})]})}),(0,t.jsx)(s.default,{})]})}e.s(["default",()=>w],61030)}]); |