PageSourceSearch

https://travelmole.com/_next/static/chunks/app/presszone/page-06e692e0431aae18.js

js travelmole.com collected 2026-10-02 04:24:06 UTC 16,661 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e04bc339-d403-40fd-916f-6b9d33a178ce",e._sentryDebugIdIdentifier="sentry-dbid-e04bc339-d403-40fd-916f-6b9d33a178ce")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4016],{19663:function(e,t,s){Promise.resolve().then(s.bind(s,23155))},23155:function(e,t,s){"use strict";s.d(t,{default:function(){return p}});var a=s(57437),r=s(2265),l=s(23918),i=s(99376),n=s(20646),c=s(63599),o=s(8754),d=s(93448),x=s(60353),h=s(93151),m=s(54386),u=s(82357);function p(e){var t,s,p;let{initialFeaturedItems:g,initialFeaturedTotalPages:f,initialOtherItems:b,initialOtherTotalPages:j,initialPartners:v,initialBanners:N,initialMobileBanners:w,initialRegion:y,initialTikkiSettings:C}=e,{region:k}=(0,n.H)(),_=(0,i.useRouter)(),B="featured-partner-member",[S,A]=(0,r.useState)(g),[D,P]=(0,r.useState)(1),[Z,z]=(0,r.useState)(f),[E,T]=(0,r.useState)(!1),[F,H]=(0,r.useState)(b),[L,W]=(0,r.useState)(1),[I,R]=(0,r.useState)(j),[G,O]=(0,r.useState)(!1),[V,M]=(0,r.useState)(v),[q,U]=(0,r.useState)(1),[$,J]=(0,r.useState)(!0),[Y,K]=(0,r.useState)(!1),[Q]=(0,r.useState)(N),[X,ee]=(0,r.useState)(!1),et=(0,r.useRef)(!0),es=(0,r.useRef)(!0),ea=e=>e.replace(/^(new_cat|travel_cat|specials_cat|competition_cat|award_cat|partners_zone_category)[_-]/i,"").replace(/[_-]/g," ").replace(/\b\w/g,e=>e.toUpperCase()),er=e=>{let t=new Date,s=new Date(e),a=Math.floor((t.getTime()-s.getTime())/36e5);if(a<1)return"Just now";if(a<24)return"".concat(a,"h ago");let r=Math.floor(a/24);return 1===r?"Yesterday":r<7?"".concat(r,"d ago"):s.toLocaleDateString("en-GB",{day:"numeric",month:"short"})};(0,r.useEffect)(()=>{if(et.current&&1===D&&1===L){et.current=!1;return}et.current=!1;let e=!0;return(async()=>{try{T(!0),O(!0);let[t,s]=await Promise.all([(0,o.$G)(D,12,k,B),(0,o.$G)(L,10,k,"free-partner-member")]);if(e){let e=(null==t?void 0:t.items)||[];A(e),z(t.totalPages||1),H((null==s?void 0:s.items)||[]),R(s.totalPages||1)}}catch(e){console.error("Error fetching presszone news:",e)}finally{e&&(T(!1),O(!1))}})(),()=>{e=!1}},[k,D,L]),(0,r.useEffect)(()=>{if(es.current&&1===q){es.current=!1;return}es.current=!1;let e=!0;return(async()=>{try{1===q&&K(!0);let t=await (0,o.SO)(q,8,k,B);e&&(1===q?M(t.items||[]):M(e=>[...e,...t.items||[]]),J(q<(t.totalPages||1)))}catch(e){console.error("Error fetching partners:",e)}finally{e&&K(!1)}})(),()=>{e=!1}},[k,q]),(0,r.useEffect)(()=>{let e=()=>{ee(window.innerWidth<1024)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let el=(e,t,s)=>{if(t<=1)return null;let r=[];for(let s=1;s<=t;s++)1===s||s===t||s>=e-1&&s<=e+1?r.push(s):"..."!==r[r.length-1]&&r.push("...");return(0,a.jsxs)("nav",{className:"flex items-center justify-center gap-2 pt-10","aria-label":"Pagination",children:[e>1&&(0,a.jsx)("button",{onClick:()=>{s(e-1),window.scrollTo({top:300,behavior:"smooth"})},className:"px-4 py-2 rounded-lg bg-[#111111] border border-[rgba(171,204,60,0.3)] text-[#ABCC3C] text-sm hover:bg-[#ABCC3C] hover:text-white transition-colors font-semibold shadow-md",children:"← Previous"}),r.map((t,r)=>"..."===t?(0,a.jsx)("span",{className:"px-2 text-gray-500",children:"…"},"dots-".concat(r)):(0,a.jsx)("button",{onClick:()=>{s(t),window.scrollTo({top:300,behavior:"smooth"})},className:"w-10 h-10 rounded-lg flex items-center justify-center text-sm transition-all font-bold shadow-md ".concat(t===e?"bg-[#ABCC3C] text-black shadow-[#ABCC3C]/30 shadow-lg transform scale-110":"bg-[#111111] border border-[rgba(255,255,255,0.1)] text-gray-400 hover:border-[#ABCC3C] hover:text-[#ABCC3C]"),children:t},t)),e<t&&(0,a.jsx)("button",{onClick:()=>{s(e+1),window.scrollTo({top:300,behavior:"smooth"})},className:"px-4 py-2 rounded-lg bg-[#111111] border border-[rgba(171,204,60,0.3)] text-[#ABCC3C] text-sm hover:bg-[#ABCC3C] hover:text-white transition-colors font-semibold shadow-md",children:"Next →"})]})};return X?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Z,{slug:"presszone",initialSettings:C}),(0,a.jsx)(m.Z,{title:"Partner News",subtitle:"Latest industry updates and insights from our partners",articles:[...S,...F],loading:E||G,initialBanners:w,initialRegion:y})]}):(0,a.jsxs)("div",{className:"min-h-screen bg-[#050505] text-white",children:[(0,a.jsx)(u.Z,{slug:"presszone"}),(0,a.jsx)("div",{className:"page-hero relative pt-[60px] px-9 overflow-hidden bg-gradient-to-br from-[#0a2540] via-[#050505] to-[#050505] border-b border-white/5",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4",children:["Partner ",(0,a.jsx)("span",{className:"text-[#ABCC3C]",children:"News"})]}),(0,a.jsx)("p",{className:"text-gray-400 text-lg mb-6",children:"Latest industry updates and insights from our partners"})]})}),(0,a.jsxs)("div",{className:"page-layout grid grid-cols-1 gap-10 px-9 py-12  lg:grid-cols-[70fr_30fr]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-16",children:[(0,a.jsxs)("div",{className:"featured-news-section",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-8",children:[(0,a.jsx)("span",{className:"bg-[#ABCC3C] text-black text-[10px] font-black uppercase tracking-widest px-2.5 py-1 rounded-sm",children:"Featured"}),(0,a.jsx)("h2",{className:"text-2xl font-bold",children:"Featured Partner News"})]}),E?(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[void 0,void 0,void 0,void 0].map((e,t)=>(0,a.jsx)(c.q4,{},t))}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:S.map(e=>(0,a.jsxs)("div",{onClick:()=>{let t=(0,h.W)(e.postType||"presszone",e.slug,e);_.push(t)},className:"card bg-gradient-to-br from-[#111111] to-[#0a0a0a] border border-[rgba(255,255,255,0.06)] rounded-2xl overflow-hidden transition-all hover:-translate-y-1.5 hover:shadow-2xl block h-full flex flex-col group cursor-pointer",children:[(0,a.jsxs)("div",{className:"relative h-48 w-full overflow-hidden",children:[e.image?(0,a.jsx)(l.Z,{src:e.image.url,alt:e.title,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105"}):(0,a.jsx)("div",{className:"w-full h-full bg-[#1a1a1a] flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-5xl opacity-20",children:"\uD83D\uDCF0"})}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,a.jsx)("span",{className:"absolute top-3 left-3 bg-[#ABCC3C] text-black text-[10px] font-bold px-2 py-1 rounded-md uppercase tracking-wider",children:"Featured"})]}),(0,a.jsxs)("div",{className:"p-5 flex flex-col flex-1",children:[(0,a.jsx)("h3",{className:"text-white font-bold text-lg mb-2 line-clamp-2 leading-tight group-hover:text-[#ABCC3C] transition-colors",children:(0,d.aV)(e.title)}),(0,a.jsx)("p",{className:"text-gray-400 text-sm mb-4 line-clamp-2 flex-1",children:(0,d.aV)(e.excerpt)}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-4 border-t border-white/5",children:[(0,a.jsx)("span",{className:"text-[#ABCC3C] text-xs font-bold",children:er(e.date)}),(0,a.jsx)("span",{className:"text-gray-500 text-xs",children:"Read More →"})]})]})]},e.id))}),el(D,Z,P)]})]}),(0,a.jsxs)("div",{className:"other-news-section",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold mb-8 flex items-center gap-3",children:"Other Partner News"}),G?(0,a.jsx)("div",{className:"space-y-4",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,a.jsx)(c.gL,{},t))}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"grid grid-cols-1 gap-6",children:F.map(e=>{var t;return(0,a.jsxs)("div",{onClick:()=>{let t=(0,h.W)(e.postType||"presszone",e.slug,e);_.push(t)},className:"flex flex-col sm:flex-row gap-6 p-4 bg-[#0a0a0a] border border-white/5 rounded-2xl hover:border-[#ABCC3C]/30 transition-all group cursor-pointer",children:[(0,a.jsx)("div",{className:"relative w-full sm:w-48 h-32 flex-shrink-0 overflow-hidden rounded-xl bg-[#111111]",children:e.image?(0,a.jsx)(l.Z,{src:e.image.url,alt:e.title,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105"}):(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center text-xl opacity-20",children:"\uD83D\uDDDE️"})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("span",{className:"text-[#ABCC3C] text-[10px] font-bold uppercase tracking-widest",children:(null===(t=e.category)||void 0===t?void 0:t.name)?ea(e.category.name):"News"}),(0,a.jsx)("span",{className:"w-1 h-1 rounded-full bg-white/10"}),(0,a.jsx)("span",{className:"text-gray-500 text-[10px] font-bold uppercase tracking-widest",children:er(e.date)})]}),(0,a.jsx)("h4",{className:"text-lg font-bold text-gray-200 group-hover:text-[#ABCC3C] transition-colors line-clamp-2 leading-snug mb-2",children:(0,d.aV)(e.title)}),(0,a.jsx)("p",{className:"text-gray-400 text-sm line-clamp-2",children:(0,d.aV)(e.excerpt)})]})]},e.id)})}),el(L,I,W)]})]})]}),(0,a.jsx)("aside",{className:"space-y-12",children:(0,a.jsxs)("div",{className:"partners-sidebar sticky top-24",children:[(0,a.jsx)(x.Z,{banners:null===(t=Q[1])||void 0===t?void 0:t.banners,suggestedWidth:null===(s=Q[1])||void 0===s?void 0:s.suggested_
1width,suggestedHeight:null===(p=Q[1])||void 0===p?void 0:p.suggested_height,showHeading:!0}),(0,a.jsxs)("div",{className:"mt-12 p-6 bg-gradient-to-br from-[#111111] to-[#0a0a0a] border border-white/5 rounded-2xl",children:[(0,a.jsx)("h4",{className:"text-white font-bold mb-3",children:"Sponsor News"}),(0,a.jsx)("p",{className:"text-gray-400 text-sm mb-6",children:"Promote your brand to thousands of travel professionals."}),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"w-full py-3 bg-[#ABCC3C] text-black font-bold rounded-xl text-xs hover:scale-[1.02] transition-transform flex items-center justify-center",children:"Contact Us"})]})]})})]})]})}},54386:function(e,t,s){"use strict";s.d(t,{Z:function(){return g}});var a=s(57437),r=s(2265),l=s(27648),i=s(23918),n=s(23198),c=s(56562),o=s(80778),d=s(99376),x=s(93151),h=s(95900),m=s(60353),u=s(20646),p=s(3514);function g(e){var t,s,g;let{title:f,subtitle:b,articles:j,loading:v,onLoadMore:N,hasMore:w=!1,mostRead:y=[],partners:C=[],currentPage:k=1,totalPages:_=1,onPageChange:B,initialBanners:S,initialRegion:A}=e,D=(0,d.useRouter)(),{region:P}=(0,u.H)(),[Z]=r.useState(S||[]),z=j[0],E=j.slice(1);return(0,a.jsxs)("div",{className:"min-h-screen bg-[#000] text-white flex flex-col",children:[(0,a.jsxs)("div",{className:"sticky top-0 z-50 bg-[#000]/95 backdrop-blur-md border-b border-[#1a1a1a] px-4 h-14 flex items-center justify-between",children:[(0,a.jsx)("button",{onClick:()=>D.back(),className:"p-1",children:(0,a.jsx)(c.Z,{className:"w-6 h-6 text-white"})}),(0,a.jsx)("div",{className:"flex-1 text-center",children:(0,a.jsx)("span",{className:"text-[11px] font-black uppercase tracking-[0.2em] text-[#abcc3c]",children:f})}),(0,a.jsx)("div",{className:"w-10"})]}),(0,a.jsx)("div",{className:"flex-1",children:v&&0===j.length?(0,a.jsxs)("div",{className:"flex flex-col bg-[#000]",children:[(0,a.jsx)(h.mB,{}),(0,a.jsx)(h.sF,{}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(h.Hy,{})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"px-5 pt-8 pb-6 bg-gradient-to-b from-[#0a0a0a] to-[#000]",children:[(0,a.jsx)("h1",{className:"text-4xl font-black mb-3 font-serif tracking-tight",children:f}),(0,a.jsx)("p",{className:"text-gray-400 text-sm leading-relaxed line-clamp-3",children:b})]}),(0,a.jsx)("div",{className:"px-5 mb-6 flex justify-center",children:(0,a.jsx)(m.Z,{banners:null==Z?void 0:null===(t=Z[0])||void 0===t?void 0:t.banners,suggestedWidth:(null==Z?void 0:null===(s=Z[0])||void 0===s?void 0:s.suggested_width)||320,suggestedHeight:(null==Z?void 0:null===(g=Z[0])||void 0===g?void 0:g.suggested_height)||50,showHeading:!1})}),z&&(0,a.jsx)(n.Z,{article:z,featured:!0}),(0,a.jsx)("div",{className:"flex flex-col",children:E.map(e=>(0,a.jsx)(n.Z,{article:e},e.id))}),y&&y.length>0&&(0,a.jsxs)("div",{className:"mt-10 mb-8 px-5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,a.jsx)("span",{className:"text-[11px] font-black uppercase tracking-[0.3em] text-[#abcc3c]",children:"Trending Now"}),(0,a.jsx)("div",{className:"h-[1px] flex-1 bg-white/10"})]}),(0,a.jsx)("div",{className:"flex flex-col gap-6",children:y.map((e,t)=>(0,a.jsxs)(l.default,{href:(0,x.W)(e.postType||"news",e.slug,e),className:"flex gap-5 group relative",children:[(0,a.jsx)(p.default,{articleId:e.id,slug:e.slug,title:e.title}),(0,a.jsx)("span",{className:"text-4xl font-black text-white/10 group-hover:text-[#abcc3c]/20 transition-colors w-8 text-center shrink-0",children:t+1}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("h4",{className:"text-[15px] font-bold text-white group-hover:text-[#abcc3c] transition-colors leading-snug",children:e.title}),(0,a.jsx)("span",{className:"text-[10px] text-gray-500 uppercase font-bold tracking-widest",children:new Date(e.date).toLocaleDateString("en-GB",{day:"numeric",month:"short"})})]})]},e.id))})]}),C&&C.length>0&&(0,a.jsxs)("div",{className:"mt-8 mb-12 px-5",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-1",children:[(0,a.jsx)("span",{className:"text-[11px] font-black uppercase tracking-[0.3em] text-[#abcc3c]",children:"Featured Partners"}),(0,a.jsx)("div",{className:"h-[1px] flex-1 bg-white/10"})]}),(0,a.jsx)(l.default,{href:"/partners-zone",className:"text-[#abcc3c] text-[10px] font-black uppercase tracking-widest ml-4",children:"See All"})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-4",children:C.map(e=>{var t,s;let r=(null===(t=e.image)||void 0===t?void 0:t.url)||e.company_logo||(null===(s=e.acf)||void 0===s?void 0:s.company_logo);return(0,a.jsx)(l.default,{href:(0,x.W)("partners_zone",e.slug,e),className:"aspect-square w-[150px] max-h-[100px] bg-white border border-white/5 rounded-lg p-3 flex items-center justify-center hover:bg-white transition-colors",children:r?(0,a.jsx)("div",{className:"relative w-full h-full pointer-events-none",children:(0,a.jsx)(i.Z,{src:r,alt:e.title,fill:!0,className:"object-contain !bg-white pointer-events-none"})}):(0,a.jsx)("span",{className:"text-[8px] text-gray-800 text-center font-bold uppercase",children:e.title})},e.id)})})]}),_>1&&B&&(0,a.jsx)("nav",{className:"flex flex-col items-center gap-6 py-12 px-5 border-t border-white/5","aria-label":"Pagination",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("button",{onClick:()=>k>1&&B(k-1),disabled:1===k,className:"flex items-center gap-2 px-5 h-11 rounded-full bg-white/5 disabled:opacity-20 border border-white/10 active:scale-95 transition-all",children:[(0,a.jsx)(c.Z,{size:18}),(0,a.jsx)("span",{className:"text-[12px] font-black uppercase tracking-wider",children:"Prev"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 px-4 h-11 bg-white/5 rounded-full border border-white/10",children:[(0,a.jsx)("span",{className:"text-[13px] font-black text-[#abcc3c]",children:k}),(0,a.jsx)("span",{className:"text-[11px] font-bold text-gray-600",children:"/"}),(0,a.jsx)("span",{className:"text-[13px] font-black text-gray-400",children:_})]}),(0,a.jsxs)("button",{onClick:()=>k<_&&B(k+1),disabled:k===_,className:"flex items-center gap-2 px-5 h-11 rounded-full bg-white/5 disabled:opacity-20 border border-white/10 active:scale-95 transition-all",children:[(0,a.jsx)("span",{className:"text-[12px] font-black uppercase tracking-wider",children:"Next"}),(0,a.jsx)(c.Z,{size:18,className:"rotate-180"})]})]})}),0===j.length&&(0,a.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center p-20 text-center gap-4",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full bg-white/5 flex items-center justify-center",children:(0,a.jsx)(o.Z,{className:"w-8 h-8 text-white/10"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-white font-bold mb-1",children:"No articles found"}),(0,a.jsx)("p",{className:"text-gray-500 text-xs",children:"Check back later for updates in this category."})]})]})]})})]})}}},function(e){e.O(0,[2482,2972,5878,1123,1083,7168,1601,1546,4688,6279,2971,4706,1744],function(){return e(e.s=19663)}),_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.