PageSourceSearch

https://prod-martin-travel.vercel.app/_next/static/chunks/25-2442c27238d0943c.js

js prod-martin-travel.vercel.app collected 2026-10-03 07:32:27 UTC 62,784 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25],{8898:function(e,a,n){"use strict";n.d(a,{Z:function(){return src_Layout}});var l=n(4512);n(2735);var i=n(9008),t=n.n(i),r=n(5472),s=n.n(r),o=n(3744),d=n(1163),c=n(7517),src_Scripts=()=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(c.default,{})});let u=s()();var src_Layout=e=>{var a,n,i,r,s;let{layoutData:c,headLinks:v}=e,{route:m}=c.sitecore,h=null==m?void 0:m.fields,f=c.sitecore.context.pageEditing;(0,d.useRouter)();let p=null==h?void 0:null===(a=h["Canonical URL"])||void 0===a?void 0:a.value,g=p||window.location.pathname,x="https://www.martintravel.com"+((null==h?void 0:null===(n=h["Canonical URL"])||void 0===n?void 0:n.value)||g);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(src_Scripts,{}),(0,l.jsx)("link",{rel:"stylesheet",href:"https://use.typekit.net/cwy5ivo.css"}),(0,l.jsxs)(t(),{children:[(0,l.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,l.jsx)("title",{children:(null==h?void 0:null===(r=h["Meta Title"])||void 0===r?void 0:null===(i=r.value)||void 0===i?void 0:i.toString())||"Martin Travel | Martin Is Your Personal Travel Guru"}),(0,l.jsx)("meta",{name:"description",content:(null==h?void 0:null===(s=h["Meta Description"].value)||void 0===s?void 0:s.toString())||"Who knows about Travel? Martin Knows. Book your vacation with the leading leisure travel agency in Roanoke and the Western Virginia area."}),(0,l.jsx)("meta",{name:"facebook-domain-verification",content:"pxc3b33dvia6fxutmotel92qmdoejc"}),(0,l.jsx)("link",{rel:"icon",href:"".concat(u,"/favicon.ico")}),v.map(e=>(0,l.jsx)("link",{rel:e.rel,href:e.href},e.href)),(0,l.jsx)("link",{rel:"canonical",href:x.toString()}),(0,l.jsx)("style",{children:"@media (min-width: 992px) {\n          .mobile-dropdown-insert  {\n            display: none !important; \n          }\n        } \n        @media (max-width: 991px) {\n          .mobile-dropdown-remove  {\n            display: none !important; \n          }\n        // eslint-disable-next-line prettier/prettier\n        }"})]}),(0,l.jsx)("div",{className:"app-wrap",children:(0,l.jsx)("div",{className:"wsmenucontainer clearfix",children:(0,l.jsxs)("div",{className:"travel-app martin-travel ".concat(f?"editing-mode":"prod-mode"),children:[m&&(0,l.jsx)(o.V,{name:"headless-header",rendering:m}),(0,l.jsx)("main",{children:(0,l.jsx)("div",{id:"content",children:m&&(0,l.jsx)(o.V,{name:"headless-main",rendering:m})})}),(0,l.jsx)("footer",{children:(0,l.jsx)("div",{id:"footer",children:m&&(0,l.jsx)(o.V,{name:"headless-footer",rendering:m})})})]})})})]})}},7517:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return components_CdpPageView}});var l={};n.r(l),n.d(l,{defaultPlugin:function(){return f},multisitePlugin:function(){return p}});var i=n(4512),t=n(7792),r=n(1965),s=n(1863),o=n(2735),d=n(5499),c=n.n(d),u=n(7367),v=n(898),m=n(5169);let h=(0,m.tryParseEnvValue)("{}",{[c().defaultLanguage]:"{}"}),f=new class{exec(e){return e.unshift({name:c().jssAppName,language:c().defaultLanguage,hostName:"*",pointOfSale:h}),e}},p=new class{exec(e){return e.push(...JSON.parse(c().sites)),e}},g=Object.values(l).reduce((e,a)=>a.exec(e),[]),x=new v.J(g);var j=n(3158),components_CdpPageView=()=>{let{sitecoreContext:{pageState:e,route:a,variantId:n,site:l}}=(0,t.z)(),createPageView=async(e,a,n,l)=>{let i=r.vh.resolve(n,a),t=await (0,u.init)({clientKey:j.env.NEXT_PUBLIC_CDP_CLIENT_KEY||"",targetURL:j.env.NEXT_PUBLIC_CDP_TARGET_URL||"",cookieDomain:window.location.host.replace(/^www\./,""),forceServerCookieMode:!1});t.pageView({channel:"WEB",currency:"USD",pointOfSale:i,page:e,pageVariantId:l,language:a})},disabled=()=>!1;return(0,o.useEffect)(()=>{if(e!==s.mk.Normal||!(null==a?void 0:a.itemId)||disabled())return;let i=x.getByName((null==l?void 0:l.name)||c().jssAppName),t=a.itemLanguage||c().defaultLanguage,o=j.env.NEXT_PUBLIC_PERSONALIZE_SCOPE,d=r.sn.getPageVariantId(a.itemId,t,n,o);createPageView(a.name,t,i,d)},[e,a,n,l]),(0,i.jsx)(i.Fragment,{})}},1784:function(e,a,n){"use strict";n.d(a,{w:function(){return eq}});var l={};n.r(l),n.d(l,{Default:function(){return Default}});var i={};n.r(i),n.d(i,{Default:function(){return Container_Default}});var t={};n.r(t),n.d(t,{default:function(){return en}});var r={};n.r(r),n.d(r,{Default:function(){return FEaaSWrapper_Default},getServerSideProps:function(){return getServerSideProps},getStaticProps:function(){return getStaticProps}});var s={};n.r(s),n.d(s,{Banner:function(){return Banner},Default:function(){return Image_Default}});var o={};n.r(o),n.d(o,{Default:function(){return LinkList_Default}});var d={};n.r(d),n.d(d,{Default:function(){return Navigation_Default}});var c={};n.r(c),n.d(c,{Default:function(){return PageContent_Default}});var u={};n.r(u),n.d(u,{default:function(){return components_PartialDesignDynamicPlaceholder}});var v={};n.r(v),n.d(v,{Default:function(){return Promo_Default},WithText:function(){return WithText}});var m={};n.r(m),n.d(m,{Default:function(){return RichText_Default}});var h={};n.r(h),n.d(h,{Default:function(){return RowSplitter_Default}});var f={};n.r(f),n.d(f,{default:function(){return SlidingTextAndImage}});var p={};n.r(p),n.d(p,{Default:function(){return Title_Default}});var g={};n.r(g),n.d(g,{default:function(){return ef}}
1);var x={};n.r(x),n.d(x,{BLOGS_WITH_NEXTJS_TITLE:function(){return ex},FooterComponentQuery:function(){return eN},GET_ALL_BLOGS:function(){return eg},HeaderComponentQuery:function(){return ej}});var j={};n.r(j),n.d(j,{CustomRichText:function(){return CustomRichText}});var N={};n.r(N),n.d(N,{default:function(){return CardImageBlock}});var S={};n.r(S),n.d(S,{default:function(){return eb}});var w={};n.r(w),n.d(w,{default:function(){return eT}});var C={};n.r(C),n.d(C,{default:function(){return HeroBanner}});var k={};n.r(k),n.d(k,{default:function(){return MartinTravel_HeroVideo}});var y={};n.r(y),n.d(y,{default:function(){return e_}});var b={};n.r(b),n.d(b,{default:function(){return eI}});var T={};n.r(T),n.d(T,{Default:function(){return eL}});var _={};n.r(_),n.d(_,{default:function(){return LogiForm}});var I={};n.r(I),n.d(I,{default:function(){return MartinTravel_MapAddressHours}});var L={};n.r(L),n.d(L,{default:function(){return MartinTravel_NotificationBlock}});var E={};n.r(E),n.d(E,{default:function(){return Search_SearchBox}});var D={};n.r(D),n.d(D,{default:function(){return Search_SearchFacets}});var P={};n.r(P),n.d(P,{default:function(){return Search_SearchResults}});var R={};n.r(R),n.d(R,{default:function(){return MartinTravel_Search}});var F={};n.r(F),n.d(F,{default:function(){return eD}});var H={};n.r(H),n.d(H,{default:function(){return eP}});var M={};n.r(M),n.d(M,{Default:function(){return SectionWrapper_Default}});var O={};n.r(O),n.d(O,{default:function(){return MartinTravel_SocialIcons}});var B={};n.r(B),n.d(B,{default:function(){return eR}});var A={};n.r(A),n.d(A,{default:function(){return eF}});var W={};n.r(W),n.d(W,{default:function(){return eH}});var V={};n.r(V),n.d(V,{Default:function(){return FooterComponent_Default},getStaticProps:function(){return FooterComponent_getStaticProps}});var U={};n.r(U),n.d(U,{Default:function(){return HeaderComponent_Default},getStaticProps:function(){return HeaderComponent_getStaticProps}});var G={};n.r(G),n.d(G,{default:function(){return eU}});var q={};n.r(q);var z=n(7854),Q=n(7517),K=n(4512),J=n(2735),Y=n(3744);let Default=e=>{var a,n;let l="".concat(null!==(a=e.params.GridParameters)&&void 0!==a?a:""," ").concat(null!==(n=e.params.Styles)&&void 0!==n?n:"").trimEnd(),i=[e.params.ColumnWidth1,e.params.ColumnWidth2,e.params.ColumnWidth3,e.params.ColumnWidth4,e.params.ColumnWidth5,e.params.ColumnWidth6,e.params.ColumnWidth7,e.params.ColumnWidth8],t=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],r=e.params.EnabledPlaceholders.split(","),s=e.params.RenderingIdentifier;return(0,K.jsx)("div",{className:"row component column-splitter ".concat(l),id:s||void 0,children:r.map((a,n)=>{var l;let r="".concat(i[+a-1]," ").concat(null!==(l=t[+a-1])&&void 0!==l?l:"").trimEnd();return(0,K.jsx)("div",{className:r,children:(0,K.jsx)(Y.V,{name:"column-".concat(a,"-{*}"),rendering:e.rendering},n)},n)})})};var X=n(7792);let Z=new RegExp(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/gi),DefaultContainer=e=>{let{sitecoreContext:a}=(0,X.z)(),n=e.params&&e.params.Styles?e.params.Styles:"",l="".concat(e.params.GridParameters," ").concat(n).trimEnd(),i="container-".concat(e.params.DynamicPlaceholderId),t=e.params.RenderingIdentifier,r=e.params.BackgroundImage,s={};if(r){var o,d;let e="".concat("normal"!==a.pageState?"/sitecore/shell":"","/-/media/");r="".concat(null==r?void 0:null===(d=r.match(Z))||void 0===d?void 0:null===(o=d.pop())||void 0===o?void 0:o.replace(/-/gi,"")),s={backgroundImage:"url('".concat(e).concat(r,"')")}}return(0,K.jsx)("div",{className:"component container-default ".concat(l),id:t||void 0,children:(0,K.jsx)("div",{className:"component-content",style:s,children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)(Y.V,{name:i,rendering:e.rendering})})})})},Container_Default=e=>{var a,n;let l=null===(n=e.params)||void 0===n?void 0:null===(a=n.Styles)||void 0===a?void 0:a.split(" ");return l&&l.includes("container")?(0,K.jsx)("div",{className:"container-wrapper",children:(0,K.jsx)(DefaultContainer,{...e})}):(0,K.jsx)(DefaultContainer,{...e})};var $=n(5396),ee=n(6975),ea=n(714),en=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsxs)("div",{className:"contentBlock",children:[(0,K.jsx)($.x,{tag:"h2",className:"contentTitle",field:a.heading}),(0,K.jsx)(ee.H,{className:"contentDescription",field:a.content})]})}),el=n(6809),ei=n(7975),et=n(3158);let FEaaSWrapper_Default=e=>{var a,n;let l="component feaas ".concat(null===(a=e.params)||void 0===a?void 0:a.styles).trimEnd(),i=null===(n=e.params)||void 0===n?void 0:n.RenderingIdentifier;return(0,K.jsx)("div",{className:l,id:i||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)(el.Py,{...e})})})},getStaticProps=async(e,a)=>{if(et.env.JSS_MODE===ei.QU.DISCONNECTED)return null;let n=e.params||{},l=await (0,el.f4)(n,a.sitecore.context.pageState);return l},getServerSideProps=async(e,a)=>{if(et.env.JSS_MODE===ei.QU.DISCONNECTED)return null;let n=e.params||{},l=await (0,el.f4)(n,a.sitecore.context.pageState);return l};var er=n(1441),es=n(2914);let ImageDefault=e=>(0,K.jsx)("div",{className:"component image ".concat(e.params.styles).trimEnd(),children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("span",{className:"is-empty-hint",children:"Image"})})}),Banner=e=>{var a,n,l,i,t,r,s,o,d,c,u,v;let{sitecoreContext:m}=(0,X.z)(),h={backgroundImage:"url('".concat(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(n=l.Image)||void 0===n?void 0:null===(a=n.value)||void 0===a?void 0:a.src,"')")},f={...e.fields.Image,editable:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(u=v.Image)||void 0===u?void 0:null===(c=u.editable)||void 0===c?void 0:c.replace('width="'.concat(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(o=d.Image)||void 0===o?void 0:null===(s=o.value)||void 0===s?void 0:s.width,'"'),'width="100%"').replace('height="'.concat(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(t=r.Image)||void 0===t?void 0:null===(i=t.value)||void 0===i?void 0:i.height,'"'),'height="100%"')},p=e.params.RenderingIdentifier;return(0,K.jsx)("div",{className:"component hero-banner ".concat(e.params.styles),id:p||void 0,children:(0,K.jsx)("div",{className:"component-content sc-sxa-image-hero-banner",style:h,children:m.pageEditing?(0,K.jsx)(er.E,{field:f}):""})})},Image_Default=e=>{let{sitecoreContext:a}=(0,X.z)();if(e.fields){let Image=()=>(0,K.jsx)(er.E,{field:e.fields.Image}),n=e.params.RenderingIdentifier;return(0,K.jsx)("div",{className:"component image ".concat(e.params.styles),id:n||void 0,children:(0,K.jsxs)("div",{className:"component-content",children:["edit"===a.pageState?(0,K.jsx)(Image,{}):(0,K.jsx)(es.r,{field:e.fields.TargetUrl,children:(0,K.jsx)(Image,{})}),(0,K.jsx)($.x,{tag:"span",className:"image-caption field-imagecaption",field:e.fields.ImageCaption})]})})}return(0,K.jsx)(ImageDefault,{...e})},LinkListItem=e=>{let a="item".concat(e.index);return a+=(e.index+1)%2==0?" even":" odd",0==e.index&&(a+=" first"),e.index+1==e.total&&(a+=" last"),(0,K.jsx)("li",{className:a,children:(0,K.jsx)("div",{className:"field-link",children:(0,K.jsx)(es.r,{field:e.field})})})},LinkList_Default=e=>{var a,n,l;let i=null===(n=e.fields)||void 0===n?void 0:null===(a=n.data)||void 0===a?void 0:a.datasource,t="component link-list ".concat(e.params.styles).trimEnd(),r=e.params.RenderingIdentifier;if(i){let e=i.children.results.filter(e=>{var a;return null==e?void 0:null===(a=e.field)||void 0===a?void 0:a.link}).map((e,a)=>(0,K.jsx)(LinkListItem,{index:a,total:i.children.results.length,field:e.field.link},"".concat(a).concat(e.field.link)));return(0,K.jsx)("div",{className:t,id:r||void 0,children:(0,K.jsxs)("div",{className:"component-content",children:[(0,K.jsx)($.x,{tag:"h3",field:null==i?void 0:null===(l=i.field)||void 0===l?void 0:l.title}),(0,K.jsx)("ul",{children:e})]})})}return(0,K.jsx)("div",{className:t,id:r||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("h3",{children:"Link List"})})})},getLinkField=e=>({value:{href:e.fields.Href,title:getLinkTitle(e),querystring:e.fields.Querystring}}),Navigation_Default=e=>{var a,n;let[l,i]=(0,J.useState)(!1),{sitecoreContext:t}=(0,X.z)(),r=null!=e.params?"".concat(null!==(a=e.params.GridParameters)&&void 0!==a?a:""," ").concat(null!==(n=e.params.Styles)&&void 0!==n?n:"").trimEnd():"",s=null!=e.params?e.params.RenderingIdentifier:null;if(!Object.values(e.fields).length)return(0,K.jsx)("div",{className:"component navigation ".concat(r),id:s||void 0,children:(0,K.jsx)("div",{className:"component-content",children:"[Navigation]"})});let handleToggleMenu=(e,a)=>{if(e&&(null==t?void 0:t.pageEditing)&&e.preventDefault(),void 0!==a)return i(a);i(!l)},o=Object.values(e.fields).filter(e=>e).map((e,a)=>(0,K.jsx)(NavigationList,{fields:e,handleClick:e=>handleToggleMenu(e,!1),relativeLevel:1},"".concat(a).concat(e.Id)));return(0,K.jsx)("div",{className:"component navigation ".concat(r),id:s||void 0,children:(0,K.jsxs)("label",{className:"menu-mobile-navigate-wrapper",children:[(0,K.jsx)("input",{type:"checkbox",className:"menu-mobile-navigate",checked:l,onChange:()=>handleToggleMenu()}),(0,K.jsx)("div",{className:"menu-humburger"}),(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("nav",{children:(0,K.jsx)("ul",{className:"clearfix",children:o})})})]})})},NavigationList=e=>{var a;let{sitecoreContext:n}=(0,X.z)(),[l,i]=(0,J.useState)(!1),t="".concat(e.fields.Styles.concat("rel-level"+e.relativeLevel).join(" ")),r=[];return e.fields.Children&&e.fields.Children.length&&(r=e.fields.Children.map((a,n)=>(0,K.jsx)(NavigationList,{fields:a,handleClick:e.handleClick,relativeLevel:e.relativeLevel+1},"".concat(n).concat(a.Id)))),(0,K.jsxs)("li",{className:"".concat(t," ").concat(l?"active":""),tabIndex:0,children:[(0,K.jsx)("div",{className:"navigation-title ".concat(r.length?"child":""),onClick:()=>i(()=>!l),children:(0,K.jsx)(es.r,{field:getLinkField(e),editable:n.pageEditing,onClick:e.handleClick,children:(a=e).fields.NavigationTitle?(0,K.jsx)($.x,{field:a.fields.NavigationTitle}):a.fields.Title?(0,K.jsx)($.x,{field:a.fields.Title}):a.fields.DisplayName})}),r.length>0?(0,K.jsx)("ul",{className:"clearfix",children:r}):null]},e.fields.Id)},getLinkTitle=e=>{var a,n;return(null===(a=e.fields.NavigationTitle)||void 0===a?void 0:a.value)?e.fields.NavigationTitle.value.toString():(null===(n=e.fields.Title)||void 0===n?void 0:n.value)?e.fields.Title.value.toString():e.fields.DisplayName},ComponentContent=e=>{let a=e.id;return(0,K.jsx)("div",{className:"component content ".concat(e.styles),id:a||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("div",{className:"field-content",children:e.children})})})},PageContent_Default=e=>{var a,n,l,i;let{sitecoreContext:t}=(0,X.z)(),r=e.params.RenderingIdentifier;if(!(e.fields&&e.fields.Content)&&!(null==t?void 0:null===(n=t.route)||void 0===n?void 0:null===(a=n.fields)||void 0===a?void 0:a.Content))return(0,K.jsx)("div",{className:"component content ".concat(e.params.styles),id:r||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("div",{className:"field-content",children:"[Content]"})})});let s=e.fields&&e.fields.Content?e.fields.Content:null==t?void 0:null===(i=t.route)||void 0===i?void 0:null===(l=i.fields)||void 0===l?void 0:l.Content;return(0,K.jsx)(ComponentContent,{styles:e.params.styles,id:r,children:(0,K.jsx)(ee.H,{field:s})})};var components_PartialDesignDynamicPlaceholder=e=>{var a,n;return(0,K.jsx)(Y.V,{name:(null===(n=e.rendering)||void 0===n?void 0:null===(a=n.params)||void 0===a?void 0:a.sig)||"",rendering:e.rendering})};let PromoDefaultComponent=e=>(0,K.jsx)("div",{className:"component promo ".concat(e.params.styles),children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("span",{className:"is-empty-hint",children:"Promo"})})}),Promo_Default=e=>{let a=e.params.RenderingIdentifier;return e.fields?(0,K.jsx)("div",{className:"component promo ".concat(e.params.styles),id:a||void 0,children:(0,K.jsxs)("div",{className:"component-content",children:[(0,K.jsx)("div",{className:"field-
1promoicon",children:(0,K.jsx)(er.E,{field:e.fields.PromoIcon})}),(0,K.jsxs)("div",{className:"promo-text",children:[(0,K.jsx)("div",{children:(0,K.jsx)("div",{className:"field-promotext",children:(0,K.jsx)(ee.H,{field:e.fields.PromoText})})}),(0,K.jsx)("div",{className:"field-promolink",children:(0,K.jsx)(es.r,{field:e.fields.PromoLink})})]})]})}):(0,K.jsx)(PromoDefaultComponent,{...e})},WithText=e=>{let a=e.params.RenderingIdentifier;return e.fields?(0,K.jsx)("div",{className:"component promo ".concat(e.params.styles),id:a||void 0,children:(0,K.jsxs)("div",{className:"component-content",children:[(0,K.jsx)("div",{className:"field-promoicon",children:(0,K.jsx)(er.E,{field:e.fields.PromoIcon})}),(0,K.jsxs)("div",{className:"promo-text",children:[(0,K.jsx)("div",{children:(0,K.jsx)("div",{className:"field-promotext",children:(0,K.jsx)(ee.H,{className:"promo-text",field:e.fields.PromoText})})}),(0,K.jsx)("div",{className:"field-promotext",children:(0,K.jsx)(ee.H,{className:"promo-text",field:e.fields.PromoText2})})]})]})}):(0,K.jsx)(PromoDefaultComponent,{...e})},RichText_Default=e=>{let a=e.fields?(0,K.jsx)(ee.H,{field:e.fields.Text}):(0,K.jsx)("span",{className:"is-empty-hint",children:"Rich text"}),n=e.params.RenderingIdentifier;return(0,K.jsx)("div",{className:"component rich-text ".concat(e.params.styles.trimEnd()),id:n||void 0,children:(0,K.jsx)("div",{className:"component-content",children:a})})},RowSplitter_Default=e=>{var a,n;let l="".concat(null!==(a=e.params.GridParameters)&&void 0!==a?a:""," ").concat(null!==(n=e.params.Styles)&&void 0!==n?n:"").trimEnd(),i=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],t=e.params.EnabledPlaceholders.split(","),r=e.params.RenderingIdentifier;return(0,K.jsx)("div",{className:"component row-splitter ".concat(l),id:r||void 0,children:t.map((a,n)=>{var l;let t="".concat(null!==(l=i[+a-1])&&void 0!==l?l:"").trimEnd();return(0,K.jsx)("div",{className:"container-fluid ".concat(t).trimEnd(),children:(0,K.jsx)("div",{children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)(Y.V,{name:"row-".concat(a,"-{*}"),rendering:e.rendering},n)},n)},n)},n)})})};var eo=n(4147),SlidingTextAndImage=e=>{var a,n,l,i,t,r,s,o,d,c,u,v,m,h,f,p,g,x,j,N,S,w,C,k,y,b,T;return(0,K.jsx)(K.Fragment,{children:(0,K.jsx)("section",{className:"section slide-blocks pt-0",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsxs)("div",{className:"row",children:[(0,K.jsx)("div",{className:"col-sm-4",children:(0,K.jsxs)("div",{className:"uk-transition-toggle slide-bottom-wrap",tabIndex:0,children:[(0,K.jsx)("a",{href:null===(n=e.fields.linkUrlOne)||void 0===n?void 0:null===(a=n.value)||void 0===a?void 0:a.href,className:"card-image",children:(0,K.jsx)(eo.o,{field:e.fields.imageOne,style:{height:"auto"}})}
1),(0,K.jsxs)("div",{className:"card-body uk-transition-slide-bottom uk-position-bottom",children:[(0,K.jsx)("h2",{className:"title",children:(0,K.jsx)("a",{href:null===(i=e.fields.linkUrlOne)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href,className:"waves-effect waves-gold",children:null===(t=e.fields.titleOne)||void 0===t?void 0:t.value})}),(0,K.jsxs)("div",{className:"content",children:[(0,K.jsx)("p",{children:null===(r=e.fields.textOne)||void 0===r?void 0:r.value}),(0,K.jsx)("a",{href:null===(o=e.fields.linkUrlOne)||void 0===o?void 0:null===(s=o.value)||void 0===s?void 0:s.href,className:"btn btn-default waves-effect waves-white btn-flat",style:{whiteSpace:"nowrap"},children:null===(d=e.fields.linkTextOne)||void 0===d?void 0:d.value}),(0,K.jsx)("br",{className:"t-last-br"})]})]})]})}),(0,K.jsx)("div",{className:"col-sm-4",children:(0,K.jsxs)("div",{className:"uk-transition-toggle slide-bottom-wrap",tabIndex:0,children:[(0,K.jsx)("a",{href:null===(u=e.fields.linkUrlTwo)||void 0===u?void 0:null===(c=u.value)||void 0===c?void 0:c.href,className:"card-image",children:(0,K.jsx)(eo.o,{field:e.fields.imageTwo,style:{height:"auto"}})}
1),(0,K.jsxs)("div",{className:"card-body uk-transition-slide-bottom uk-position-bottom",children:[(0,K.jsx)("h2",{className:"title",children:(0,K.jsx)("a",{href:null===(m=e.fields.linkUrlTwo)||void 0===m?void 0:null===(v=m.value)||void 0===v?void 0:v.href,className:"waves-effect waves-gold",children:null===(h=e.fields.titleTwo)||void 0===h?void 0:h.value})}),(0,K.jsxs)("div",{className:"content",children:[(0,K.jsx)("p",{children:null===(f=e.fields.textTwo)||void 0===f?void 0:f.value}),(0,K.jsx)("a",{href:null===(g=e.fields.linkUrlTwo)||void 0===g?void 0:null===(p=g.value)||void 0===p?void 0:p.href,className:"btn btn-default waves-effect waves-white btn-flat",style:{whiteSpace:"nowrap"},children:null===(x=e.fields.linkTextTwo)||void 0===x?void 0:x.value}),(0,K.jsx)("br",{className:"t-last-br"})]})]})]})}),(0,K.jsx)("div",{className:"col-sm-4",children:(0,K.jsxs)("div",{className:"uk-transition-toggle slide-bottom-wrap",tabIndex:0,children:[(0,K.jsx)("a",{href:null===(N=e.fields.linkUrlThree)||void 0===N?void 0:null===(j=N.value)||void 0===j?void 0:j.href,className:"card-image",children:(0,K.jsx)(eo.o,{field:e.fields.imageThree,style:{height:"auto"}})}
1),(0,K.jsxs)("div",{className:"card-body uk-transition-slide-bottom uk-position-bottom",children:[(0,K.jsx)("h2",{className:"title",children:(0,K.jsx)("a",{href:null===(w=e.fields.linkUrlThree)||void 0===w?void 0:null===(S=w.value)||void 0===S?void 0:S.href,className:"waves-effect waves-gold",children:null===(C=e.fields.titleThree)||void 0===C?void 0:C.value})}),(0,K.jsxs)("div",{className:"content",children:[(0,K.jsx)("p",{children:null===(k=e.fields.textThree)||void 0===k?void 0:k.value}),(0,K.jsx)("a",{href:null===(b=e.fields.linkUrlThree)||void 0===b?void 0:null===(y=b.value)||void 0===y?void 0:y.href,className:"btn btn-default waves-effect waves-white btn-flat",style:{whiteSpace:"nowrap"},children:null===(T=e.fields.linkTextThree)||void 0===T?void 0:T.value}),(0,K.jsx)("br",{className:"t-last-br"})]})]})]})})]})})})})};let Title_ComponentContent=e=>{let a=e.id;return(0,K.jsx)("div",{className:"component title ".concat(e.styles),id:a||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsx)("div",{className:"field-title",children:e.children})})})},Title_Default=e=>{var a,n,l,i,t,r,s,o,d,c,u,v;let m=(null===(n=e.fields)||void 0===n?void 0:null===(a=n.data)||void 0===a?void 0:a.datasource)||(null===(i=e.fields)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.contextItem),{sitecoreContext:h}=(0,X.z)(),f={value:null==m?void 0:null===(r=m.field)||void 0===r?void 0:null===(t=r.jsonValue)||void 0===t?void 0:t.value,editable:null==m?void 0:null===(o=m.field)||void 0===o?void 0:null===(s=o.jsonValue)||void 0===s?void 0:s.editable},p={value:{href:null==m?void 0:null===(d=m.url)||void 0===d?void 0:d.path,title:null==m?void 0:null===(u=m.field)||void 0===u?void 0:null===(c=u.jsonValue)||void 0===c?void 0:c.value,editable:!0}};return"normal"===h.pageState||(p.value.querystring="sc_site=".concat(null==m?void 0:null===(v=m.url)||void 0===v?void 0:v.siteName),f.value||(f.value="Title field",p.value.href="#")),(0,K.jsx)(Title_ComponentContent,{styles:e.params.styles,id:e.params.RenderingIdentifier,children:(0,K.jsx)(K.Fragment,{children:"edit"===h.pageState?(0,K.jsx)($.x,{field:f}):(0,K.jsx)(es.r,{field:p,children:(0,K.jsx)($.x,{field:f})})})})};var ed=n(9962),ec=n(5499),eu=n.n(ec),ev=n(3158);let em=eu().graphQLEndpoint,eh=new ed.g6(em);eh.setHeader("X-GQL-Token",ev.env.PREVIEW_EDGE_CH_API_KEY),eh.setHeader("sc_apikey",ev.env.SITECORE_API_KEY||eu().sitecoreApiKey);var ef=eh,ep=n(6608);function _templateObject(){let e=(0,ep._)(["\n  {\n    allM_Content_Blog {\n      results {\n        blog_Title\n        blog_Body\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,ep._)(['\n  {\n    allM_Content_Blog(where: { blog_Title_contains: "Next.js" }) {\n      results {\n        blog_Title\n        blog_Body\n      }\n    }\n  }\n']);return _templateObject1=function(){return e},e}let eg=(0,ed.Ps)(_templateObject()),ex=(0,ed.Ps)(_templateObject1()),ej='\n  query {\n    item(\n      path: "/sitecore/content/Travel Sites/Martin Travel/MartinTravel/Data/Link Lists/Header"\n      language: "en"\n    ) {\n      name\n      id\n      children(first:50) {\n        results {\n          ... on MartinTravelNavigationLink {\n            ...MenuItems\n\n            children(first:50) {\n              results {\n                ...MenuItems\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n\n  fragment MenuItems on MartinTravelNavigationLink {\n    DisplayName: displayName\n    HasChildren: hasChildren\n    NavTitle: field(name: "nav title") {\n      ...TextFieldData\n    }\n    NavLink: field(name: "nav link") {\n      ...LinkFieldData\n    }\n    NavImage: field(name: "nav image") {\n      ...ImageFieldData\n    }\n  }\n  fragment TextFieldData on TextField {\n    value\n  }\n  fragment LinkFieldData on LinkField {\n    href: url\n    url\n    linkType\n    name\n    #  value\n    anchor\n    className\n    target\n    queryString\n    #  title: name\n  }\n  fragment ImageFieldData on ImageField {\n    src\n    alt\n    height\n    width\n    mimeType\n  }\n',eN='\n  query {\n    item(\n      path: "/sitecore/content/Travel Sites/Martin Travel/MartinTravel/Data/Link Lists/Footer"\n      language: "en"\n    ) {\n      name\n      id\n      children(first:30) {\n        results {\n          ... on MartinTravelNavigationLink {\n            ...MenuItems\n\n            children(first:30) {\n              results {\n                ...MenuItems\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n\n  fragment MenuItems on MartinTravelNavigationLink {\n    DisplayName: displayName\n    HasChildren: hasChildren\n    NavTitle: field(name: "nav title") {\n      ...TextFieldData\n    }\n    NavLink: field(name: "nav link") {\n      ...LinkFieldData\n    }\n    NavImage: field(name: "nav image") {\n      ...ImageFieldData\n    }\n  }\n  fragment TextFieldData on TextField {\n    value\n  }\n  fragment LinkFieldData on LinkField {\n    href: url\n    url\n    linkType\n    name\n    #  value\n    anchor\n    className\n    target\n    queryString\n    #  title: name\n  }\n  fragment ImageFieldData on ImageField {\n    src\n    alt\n    height\n    width\n    mimeType\n  }\n';var eS=n(8902);let useLoadOnce=e=>(0,J.useEffect)(()=>{let a=e();return a},[]);var ew=n(3056),eC=n(7172);let useAddEvents=e=>{let a=(0,J.useRef)(null);return useLoadOnce(()=>{var n,l;let i=null===(n=a.current)||void 0===n?void 0:n.querySelectorAll("a");
1i&&i.forEach(a=>{let n=a.getAttribute("data-tracking-name")||"";a.onclick=()=>{var l;eS.H.dispatch(new ew.p({name:null!==(l=a.textContent)&&void 0!==l?l:"",type:"other",url:a.href,region:e,tracking_name:n}))}});let t=null===(l=a.current)||void 0===l?void 0:l.querySelectorAll("button");t&&t.forEach(a=>{let n=a.getAttribute("data-tracking-name")||"";a.onclick=()=>{var l;return eS.H.dispatch(new eC.i({name:null!==(l=a.textContent)&&void 0!==l?l:"",type:"other",region:e,tracking_name:n}))}})}),a};ee.H.defaultProps=void 0;let CustomRichText=e=>{let{trackingRegion:a="CustomRichText",innerHTML:n,...l}=e,i=useAddEvents(null!=a?a:"CustomRichText");return(0,K.jsx)("div",{ref:i,children:n?(0,K.jsx)("span",{dangerouslySetInnerHTML:{__html:n}}):(0,K.jsx)(ee.H,{...l})})};CustomRichText.displayName="CustomRichText";let CardImageBlock_ComponentContent=e=>(0,K.jsx)("div",{className:"card ",children:e.children});var CardImageBlock=e=>{var a,n,l,i,t,r,s,o,d,c,u,v;let{sitecoreContext:m}=(0,X.z)(),h=null===(a=e.params)||void 0===a?void 0:a.RenderingIdentifier;if(!(e.fields&&e.fields.Content)&&!(null==m?void 0:null===(l=m.route)||void 0===l?void 0:null===(n=l.fields)||void 0===n?void 0:n.Content))return(0,K.jsx)("div",{className:"component content ".concat(null===(v=e.params)||void 0===v?void 0:v.styles),id:h||void 0});let f=(null===(i=e.fields)||void 0===i?void 0:i.Content)?e.fields.Content:null==m?void 0:null===(r=m.route)||void 0===r?void 0:null===(t=r.fields)||void 0===t?void 0:t.Content,p=(null===(s=e.fields)||void 0===s?void 0:s.Title)||(null==m?void 0:null===(d=m.route)||void 0===d?void 0:null===(o=d.fields)||void 0===o?void 0:o.Title),g=e.fields&&e.fields.Image?e.fields.Image:null==m?void 0:null===(u=m.route)||void 0===u?void 0:null===(c=u.fields)||void 0===c?void 0:c.Image,x=e.fields.Orientation,j="card-body ".concat("Left"===x.value?"right":"left"),N=e.fields["Background Color"],S="card martin-".concat(null==N?void 0:N.value);return(0,K.jsx)(CardImageBlock_ComponentContent,{id:h,styles:"",Title:"",Image:"",Orientation:"",Color:"",children:(0,K.jsx)("div",{className:S.toLowerCase(),children:(0,K.jsxs)("div",{className:j,children:["Left"===x.value&&(0,K.jsx)(eo.o,{field:g}),(0,K.jsxs)("div",{className:"card-content",children:[(0,K.jsx)("h3",{className:"card-title",children:(0,K.jsx)($.x,{field:p})}),(0,K.jsx)(CustomRichText,{trackingRegion:"CardImageBlock",field:f})]}),"Right"===x.value&&(0,K.jsx)(eo.o,{field:g})]})})})},ek=n(4298),ey=n.n(ek),eb=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(ey(),{id:"signupScript",async:!0,defer:!0,src:"https://static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js"}),(0,K.jsxs)(ey(),{id:"variableScript",children:['var _ctct_m = "',a._ctct_m_ID.value,'";']}),(0,K.jsx)("div",{className:"ctct-inline-form","data-form-id":a.DataFormID.value})]})}),eT=(0,ea.C)()(e=>{var a,n;let{fields:l}=e;return(0,K.jsxs)("div",{className:"clearfix martin-travel",children:[(0,K.jsx)("span",{dangerouslySetInnerHTML:{__html:"<style>  hr.martin-divider:after{background: url('<ImageValue>') no-repeat; !important; }    </style>".replace("<ImageValue>",null===(n=l.Image)||void 0===n?void 0:null===(a=n.value)||void 0===a?void 0:a.src)}}),(0,K.jsx)("hr",{className:"martin-divider"})]})});let HeroBanner_ComponentContent=e=>{let{children:a}=e;return(0,K.jsx)("section",{children:a})};var HeroBanner=e=>{var a,n,l,i;let{fields:t}=e,r=((null==t?void 0:null===(a=t.HeroPosition)||void 0===a?void 0:a.value)||"").toString().toLowerCase(),s=(null==t?void 0:null===(l=t.Image)||void 0===l?void 0:null===(n=l.value)||void 0===n?void 0:n.src)||"";return(0,K.jsx)(HeroBanner_ComponentContent,{children:(0,K.jsx)("div",{role:"banner",className:"banner",style:{marginBottom:"-150px",backgroundPosition:"50% 0",background:"url('".concat(s,"') no-repeat 0 0"),backgroundSize:"cover"},children:(0,K.jsx)("div",{className:"banner-overlay hero-".concat(r),children:(0,K.jsx)("div",{className:"lg-text",children:null==t?void 0:null===(i=t.Title)||void 0===i?void 0:i.value})})})})},MartinTravel_HeroVideo=e=>{var a,n,l;let i=(0,J.useRef)(null);return(0,K.jsxs)("section",{className:"mt-hero-banner",children:[(0,K.jsx)("hgroup",{children:(0,K.jsx)($.x,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Title,tag:"h2"})}),(0,K.jsx)("span",{id:"video-placeholder","aria-hidden":"true",ref:i}
1),(0,K.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,onPlaying:()=>{var e;null==i||null===(e=i.current)||void 0===e||e.classList.add("a-fade-out")},children:(0,K.jsx)("source",{src:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(n=l.Media)||void 0===n?void 0:n.value.src,type:"video/mp4"})})]})},e_=(0,ea.C)()(e=>{let a="bg-".concat(e.fields.bgColor.value).toLowerCase(),n=e.fields.imageOrientation.value.toLowerCase();return(0,K.jsx)("section",{className:"mt-section mt-home-module-one ".concat(a," py-5"),children:(0,K.jsx)("div",{className:"container",children:(0,K.jsxs)("div",{className:"row  ".concat("left"==n?"":"flex-lg-row-reverse"),children:[(0,K.jsx)("div",{className:"col-12 col-lg-6",children:(0,K.jsx)("figure",{className:"ratio ratio-1x1",children:(0,K.jsx)(er.E,{field:e.fields.image,className:"object-fit-cover"})})}),(0,K.jsxs)("div",{className:"col-12 col-lg-6 mt-content",children:[(null==e?void 0:e.fields.title)&&(0,K.jsx)("hgroup",{children:(0,K.jsx)($.x,{field:e.fields.title,tag:"h2",className:"homepage-feature-title"})}),(0,K.jsx)($.x,{field:e.fields.text,tag:"p",className:"homepage-feature-text"}),(0,K.jsx)(es.r,{field:e.fields.link,className:"btn",onClick:()=>{var a,n,l,i,t,r,s;eS.H.dispatch(new ew.p({name:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.link)||void 0===l?void 0:null===(n=l.value)||void 0===n?void 0:null===(a=n.text)||void 0===a?void 0:a.toString())||"",type:"other",url:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(r=s.link)||void 0===r?void 0:null===(t=r.value)||void 0===t?void 0:t.toString())||"",region:"HomeModuleOne"}))}})]})]})})})}),eI=(0,ea.C)()(e=>{let a=e.fields.data.item,n="accent-".concat(a.bgColor.value).toLowerCase(),l=a.imageOrientation.value.toLowerCase(),i=e.fields.data.item.children.results;return(0,K.jsx)("section",{className:"mt-section mt-section-home mt-home-module-two ".concat(n," image-").concat(l," py-5"),children:(0,K.jsx)("div",{className:"container",children:(0,K.jsxs)("div",{className:"row ".concat("right"==l?"":"flex-lg-row-reverse"),children:[(0,K.jsxs)("div",{className:"col-12 col-lg-6 mt-content",children:[(0,K.jsx)("hgroup",{children:(0,K.jsx)($.x,{field:a.heading,tag:"h2"})}),(0,K.jsx)(CustomRichText,{trackingRegion:"HomeModuleTwo",field:a.content})]}),(0,K.jsx)("div",{className:"col-12 col-lg-6 image-collage py-5","data-children":i.length,children:i.map(e=>{var a;let n={...e.image.jsonValue};return(0,K.jsx)(er.E,{field:n},null===(a=n.value.value)||void 0===a?void 0:a.src)})})]})})})});let eL=(0,X.p)()(e=>{var a,n,l,i;let t=e.sitecoreContext,r=null===(a=e.params)||void 0===a?void 0:a.RenderingIdentifier;return(0,K.jsx)("div",{className:"component layout-context-data ".concat(null===(n=e.params)||void 0===n?void 0:n.styles),id:r||void 0,children:(0,K.jsx)("div",{className:"component-content",children:(0,K.jsxs)("div",{children:[(0,K.jsx)("h2",{children:"Layout Context Data"}),(0,K.jsxs)("ul",{children:[(0,K.jsxs)("li",{children:["Language:",t.language]}),(0,K.jsxs)("li",{children:["Page Editing:",null===(l=t.pageEditing)||void 0===l?void 0:l.toString()]}),(0,K.jsxs)("li",{children:["Page State:",t.pageState]}),(0,K.jsxs)("li",{children:["Site:",null===(i=t.site)||void 0===i?void 0:i.name]})]}),(0,K.jsx)("pre",{style:{maxHeight:"400px",overflow:"scroll"},children:JSON.stringify(t,null,2)})]})})})});var LogiForm=e=>{let{fields:a}=e;return(0,J.useEffect)(()=>{let e="logiform-script",n=document.querySelector('iframe[id^="lf-frame"]'),l=JSON.parse(a.FormProxyJson.value),initializeFormProxy=()=>{window.formproxyS2=!0,window.FormProxy&&(window.Logiform=new window.FormProxy(l))},i=document.getElementById(e);return i?window.FormProxy&&!n&&initializeFormProxy():((i=document.createElement("script")).type="text/javascript",i.src="//cdn.logiforms.com/v3/build/ext/formProxy-min.js",i.id=e,document.head.appendChild(i),i.onload=initializeFormProxy),()=>{window.formproxyS2=!1,delete window.Logiform}},[]),(0,K.jsx)("div",{id:"lfform-placeholder"})},MartinTravel_MapAddressHours=e=>{var a,n,l,i,t,r,s,o,d,c,u,v,m,h,f;let p="https://www.google.com/maps/embed/v1/place?q=".concat(null===(a=e.fields.locationTitle)||void 0===a?void 0:a.value).concat(null===(n=e.fields.street)||void 0===n?void 0:n.value).concat(null===(l=e.fields.city)||void 0===l?void 0:l.value).concat(null===(i=e.fields.state)||void 0===i?void 0:i.value).concat(null===(t=e.fields.zipCode)||void 0===t?void 0:t.value);return(0,K.jsx)("section",{className:"section location-wrap",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsx)("div",{className:"row condensed",children:(0,K.jsxs)("div",{className:"col-sm-12",children:[(0,K.jsx)("h3",{className:"location-title",children:null===(r=e.fields.locationTitle)||void 0===r?void 0:r.value}),(0,K.jsx)("map",{className:"card shadow map",style:{backgroundColor:"#fff",height:"300px"},children:(0,K.jsx)("iframe",{className:"contact-map",width:340,height:320,frameBorder:0,src:"".concat(p,"&key=").concat(null===(s=e.fields.googleMapsAPIKey)||void 0===s?void 0:s.value)})}),(0,K.jsxs)("address",{className:"location-address",children:[(0,K.jsx)("p",{children:(0,K.jsx)("a",{href:null===(o=e.fields.addressURL)||void 0===o?void 0:o.value,className:"waves-effect waves-coral",style:{color:"#40B9A4",fontFamily:'"glacial_indifferenceregular"'},target:"_blank",onClick:()=>{var a,n,l,i,t,r;eS.H.dispatch(new ew.p({name:(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(n=l.locationTitle)||void 0===n?void 0:null===(a=n.value)||void 0===a?void 0:a.toString())||"",type:"other",url:(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(t=r.addressURL)||void 0===t?void 0:null===(i=t.value)||void 0===i?void 0:i.toString())||"",region:"MapAddressHours"}))},children:(0,K.jsxs)("strong",{children:[null===(d=e.fields.street)||void 0===d?void 0:d.value,(0,K.jsx)("br",{}),null===(c=e.fields.city)||void 0===c?void 0:c.value,",",null===(u=e.fields.state)||void 0===u?void 0:u.value,",",null===(v=e.fields.zipCode)||void 0===v?void 0:v.value]})})}),(0,K.jsx)("p",{children:(0,K.jsx)("a",{href:"tel:".concat(null===(m=e.fields.telephoneNumber)||void 0===m?void 0:m.value),className:"waves-effect waves-gold",style:{color:"#40B9A4",fontFamily:'"glacial_indifferenceregular"'},onClick:()=>{var a,n,l,i,t,r;eS.H.dispatch(new ew.p({name:"".concat(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(n=l.locationTitle)||void 0===n?void 0:null===(a=n.value)||void 0===a?void 0:a.toString(),"`s Number")||0,type:"other",url:"tel:".concat(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(t=r.telephoneNumber)||void 0===t?void 0:null===(i=t.value)||void 0===i?void 0:i.toString())||0,region:"MapAddressHours"}))},children:null===(h=e.fields.telephoneNumber)||void 0===h?void 0:h.value})}),(0,K.jsx)("ul",{className:"location-time",children:(0,K.jsx)("li",{children:null===(f=e.fields.hours)||void 0===f?void 0:f.value})})]})]})})})})},MartinTravel_NotificationBlock=e=>{var a;let{fields:n}
1=e,l=((null===(a=n.BackgroundColor)||void 0===a?void 0:a.value)||"").toString().toLowerCase();return Number(n.Show.value)?(0,K.jsx)("section",{className:"notification-block",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)("div",{className:"col-sm-12",children:(0,K.jsx)("div",{className:"".concat(l),children:(0,K.jsx)("h2",{children:n.Text.value})})})})})}):null},eE=n(4287),Search_SearchBox=e=>{let{searchTerm:a}=e,{setSearchTerm:n,setSearchResults:l,setFacets:i,setFilteredSearchResults:t,setPagination:r,setSearchResultCount:s,setPageRange:o}=e,d=[],c=[],callSSAPI=async()=>{""==a&&(a="*");let e=await fetch("/api/search?q="+a),n=window.location.origin+window.location.pathname;history.pushState("update","",n+"?q="+a);let u=await e.json();if(u.map(e=>{let a=d.filter(a=>a.value===e.facet).length;if(0===a){let a=u.filter(a=>a.facet===e.facet).length;d.push({value:e.facet,count:a,isChecked:!1})}}),u.length<10)c.push({pageNumber:1,pageStart:1,pageEnd:u.length});else{let e=Math.floor(u.length/10);if(e>=0){let a=0,n=0;for(let l=1;l<=e;l++)n=(a=n+1)+9,c.push({pageNumber:l,pageStart:a,pageEnd:n})}let a=u.length%10;a>0&&c.push({pageNumber:e+1,pageStart:10*e+1,pageEnd:10*e+a})}let v={rangeStart:c[0].pageStart,rangeEnd:c[0].pageEnd};o(v),l(u),t(u.filter(e=>!0==e.show).slice(0,10)),i(d),r(c),s(u.length)},[u,v]=(0,J.useState)(!1);return(0,K.jsx)("div",{className:"container hero-wrap pos-top pos-top-xlg z-index-0 hero-wrap-search",children:(0,K.jsx)("div",{className:"row hero small hero-search",children:(0,K.jsx)("div",{className:"height-100vh",children:(0,K.jsxs)("div",{className:"hero-content hero-search-form",children:[(0,K.jsx)("h1",{className:"",children:"Search Martin Travel"}),(0,K.jsx)("div",{id:"cluballiance-search-form",className:"form",role:"search","aria-label":"Cluballiance Search",children:(0,K.jsx)("div",{className:"form-group flex",children:(0,K.jsxs)("div",{id:"cluballiance-input-wrap",className:"form-block tab-pane cluballiance-search-input",children:[(0,K.jsx)("label",{className:"form-label visuallyhidden",htmlFor:"cluballiance-search2",children:"Search"}),(0,K.jsx)("input",{id:"agentsearchName",className:"form-input",type:"text",autoComplete:"email",placeholder:"search",name:"ca-search",value:a,onChange:e=>{n(e.target.value),v(!0)}}),(0,K.jsx)("button",{id:"clrSrchBoxName",className:"cluballiance-search-clear ".concat(u?"":"hide"),onClick:()=>{a="",n(""),callSSAPI()},children:(0,K.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,K.jsx)("path",{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"})})}),(0,K.jsx)("button",{type:"button",className:"button-link",onClick:()=>{console.log(a),callSSAPI()},id:"searchBtnName",name:"ca-search",children:(0,K.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"50px",height:"50px",viewBox:"0 0 50 50",children:(0,K.jsxs)("g",{children:[(0,K.jsx)("defs",{children:(0,K.jsx)("rect",{fill:"currentColor",id:"SVGID_1_",x:"7.5",y:"3.4",width:"35.1",height:"43.1"})}),(0,K.jsx)("clipPath",{fill:"currentColor",id:"SVGID_2_",children:(0,K.jsx)("use",{href:"#SVGID_1_",style:{overflow:"visible"}})}),(0,K.jsx)("path",{fill:"currentColor",className:"st0",d:"M29.1,27.6c-4.8,2.8-11,1.3-13.9-3.3c-2.9-4.6-1.3-10.6,3.4-13.4c4.8-2.8,11-1.3,13.9,3.3 C35.4,18.8,33.9,24.8,29.1,27.6 M41.9,40.6l-6.4-10.3c5.1-5,6.3-12.9,2.3-19.2c-4.7-7.5-14.7-9.9-22.5-5.4 C7.6,10.2,5.2,19.9,9.8,27.4c3.9,6.3,11.7,9,18.7,7L35,44.7c1.2,1.9,3.7,2.5,5.6,1.3C42.5,44.9,43.1,42.5,41.9,40.6"})]})})})]})})})]})})})})},Search_SearchFacets=e=>{let{pagination:a,filteredSearchResults:n}=e,{facets:l,searchResults:i,setSearchResults:t,setSearchResultCount:r,setFilteredSearchResults:s,setPagination:o,setPageRange:d}=e,handleCheckFilter=e=>{console.log(e.target.id);let n=0,l=[{}];if(i.map(a=>{a.facet==e.target.id?!0==e.target.checked?(a.show=!0,a.checked=!0,n++):(a.show=!1,a.checked=!1):!0==a.checked?(a.show=!0,n++):a.show=!1,l.push(a)}),delete l[0],0==n&&(l=[{}],i.map(e=>{e.show=!0,e.checked=!1,n++,l.push(e)}),delete l[0]),t(l),r(n),s(i.filter(e=>!0==e.show).slice(0,10)),a=[],n<10)a.push({pageNumber:1,pageStart:1,pageEnd:n}
1);else{let e=Math.floor(n/10);if(e>=0){let n=0,l=0;for(let i=1;i<=e;i++)l=(n=l+1)+9,a.push({pageNumber:i,pageStart:n,pageEnd:l})}let l=n%10;l>0&&a.push({pageNumber:e+1,pageStart:10*e+1,pageEnd:10*e+l})}o(a);let c={rangeStart:a[0].pageStart,rangeEnd:a[0].pageEnd};d(c)};return(0,K.jsx)("div",{className:"col-lg-4",children:(0,K.jsx)("div",{id:"divFacets",children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)("div",{className:"agent-listing",children:(0,K.jsx)("div",{style:{display:"block"},children:(0,K.jsx)("div",{className:"col-sm-12",children:(0,K.jsx)("nav",{className:"nav-stacked",children:(0,K.jsxs)("ul",{className:"list-unstyled",children:[(0,K.jsx)("li",{children:(0,K.jsx)("div",{className:"aaa-media-object",children:(0,K.jsx)("div",{className:"content-block",children:(0,K.jsx)("div",{className:"flex",children:(0,K.jsx)("h3",{children:"Filter Search"})})})})}),l.map(e=>(0,K.jsx)("li",{children:(0,K.jsx)("div",{children:(0,K.jsx)("div",{className:"form-group",children:(0,K.jsx)("div",{className:"checkbox",children:(0,K.jsxs)("label",{htmlFor:"Content",children:[(0,K.jsx)("input",{id:e.value,className:"filter",type:"checkbox",onClick:e=>handleCheckFilter(e),"data-filtertype":"state"}),(0,K.jsxs)("span",{className:"checkbox-text",children:[" ",e.value," (",e.count,")"]}),(0,K.jsx)("span",{className:"control-indicator"})]})})})})},e.value))]})})})})})})})})};let handleLinkTracking=()=>{};var Search_SearchResults=e=>{let{filteredSearchResults:a}=e,{searchResults:n,searchResultCount:l,setFilteredSearchResults:i,pagination:t,pageRange:r,setPageRange:s}=e,handlePaginate=e=>{let l=e.currentTarget.innerHTML,r=10*l-10,o=r+10;i(a=n.filter(e=>!0==e.show).slice(r,o)),s({rangeStart:t[l-1].pageStart,rangeEnd:t[l-1].pageEnd})};return(0,K.jsx)("div",{className:"col-lg-8 scroll-theme",children:(0,K.jsx)("div",{id:"divSearchResult",children:(0,K.jsxs)("div",{className:"row",children:[(0,K.jsx)("div",{className:"agent-listing",children:(0,K.jsx)("div",{id:"group1",style:{display:"block"},children:(0,K.jsx)("div",{className:"col-sm-12",children:(0,K.jsx)("nav",{className:"nav-stacked",children:(0,K.jsxs)("ul",{className:"list-unstyled",children:[(0,K.jsx)("li",{children:(0,K.jsxs)("div",{className:"aaa-media-object",children:[(0,K.jsx)("span",{className:"media-image","aria-label":"icon"}),(0,K.jsx)("div",{className:"content-block",children:(0,K.jsx)("div",{className:"flex",children:(0,K.jsxs)("h3",{children:["We found ",l," results"]})})})]})}),(0,K.jsx)("li",{children:(0,K.jsxs)("div",{className:"aaa-media-object",children:[(0,K.jsx)("span",{className:"media-image","aria-label":"icon"}),(0,K.jsx)("div",{className:"content-block",children:(0,K.jsxs)("div",{className:"flex",id:"result1",children:["Results ",r.rangeStart,"-",r.rangeEnd," of"," ",l]})})]})}),a.map(e=>e.show&&(0,K.jsx)("li",{children:(0,K.jsxs)("div",{className:"aaa-media-object",children:[(0,K.jsx)("span",{className:"media-image","aria-label":"icon"}),(0,K.jsxs)("div",{className:"content-block",children:[(0,K.jsx)("div",{children:(0,K.jsx)("a",{href:e.url,className:"titlehg",onClick:handleLinkTracking,children:(0,K.jsxs)("strong",{children:[" ",e.title]})})}),(0,K.jsx)("p",{children:e.description})]})]})}))]})})})})}),(0,K.jsx)("div",{className:"pagination-block",children:(0,K.jsx)("ul",{children:t.map(e=>(0,K.jsx)("li",{id:e.pageNumber,children:(0,K.jsx)("a",{href:"javascript:void(0);",onClick:e=>handlePaginate(e),children:e.pageNumber})},e.pageNumber))})})]})})})},MartinTravel_Search=()=>{let e=[],a=[],n={rangeStart:0,rangeEnd:10},[l,i]=(0,J.useState)(""),[t,r]=(0,J.useState)(e),[s,o]=(0,J.useState)([]),[d,c]=(0,J.useState)(0),[u,v]=(0,J.useState)([{}]),[m,h]=(0,J.useState)(a),[f,p]=(0,J.useState)(n),callSSAPI=async()=>{let l=window.location.search,i=new URLSearchParams(l),t=i.get("q");null!=t&&""===t?t="*":null==t&&(t="*");let s=await fetch("/api/search?q="+t),d=await s.json();d.map(a=>{let n=e.filter(e=>e.value===a.facet).length;if(0===n){let n=d.filter(e=>e.facet===a.facet).length;e.push({value:a.facet,count:n,isChecked:!1})}});{a=[];let e=Math.floor(d.length/10),n=0,l=0;if(e>0)for(let i=1;i<=e;i++)n=(l=10*i)-9,a.push({pageNumber:i,pageStart:n,pageEnd:l});let i=d.length%10;i>0&&(n=l+1,l+=i,a.push({pageNumber:e+1,pageStart:n,pageEnd:l}))}a.length>0&&(n={rangeStart:a[0].pageStart,rangeEnd:a[0].pageEnd}),o(d),v(d.filter(e=>!0==e.show).slice(0,10)),r(e),h(a),c(d.length),p(n)};return(0,J.useEffect)(()=>{callSSAPI()},[]),(0,K.jsx)("div",{className:"app-wrap",children:(0,K.jsx)("div",{className:"wsmenucontainer clearfix",children:(0,K.jsx)("div",{className:"travel-app martin-travel",children:(0,K.jsxs)("div",{id:"search-martintravel",children:[(0,K.jsx)(Search_SearchBox,{searchTerm:l,setSearchTerm:i,setSearchResults:o,setFacets:r,setFilteredSearchResults:v,setPagination:h,setSearchResultCount:c,setPageRange:p}),(0,K.jsx)("div",{className:"container aaaSkipContainer container-cluballiance-search",children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)("div",{className:"flex-wrapper flex-columns",children:(0,K.jsx)("div",{className:"col-sm-12",children:(0,K.jsx)("div",{className:"card general-content",children:(0,K.jsx)("div",{className:"copy-wrap",style:{padding:0},children:(0,K.jsxs)("div",{className:"row",children:[(0,K.jsx)(Search_SearchFacets,{facets:t,searchResults:s,setSearchResults:o,setSearchResultCount:c,filteredSearchResults:u,setFilteredSearchResults:v,pagination:m,setPagination:h,setPageRange:p}),(0,K.jsx)(Search_SearchResults,{searchResults:s,searchResultCount:d,filteredSearchResults:u,setFilteredSearchResults:v,pagination:m,pageRange:f,setPageRange:p})]})})})})})})})]})})})})};let ImageBlock=e=>(0,K.jsx)("div",{className:"col-md-12 col-lg-5 media",children:(0,K.jsx)(eo.o,{field:null==e?void 0:e.Image})});var eD=(0,ea.C)()(e=>{var a,n;let l="phForms-".concat(null===(a=e.params)||void 0===a?void 0:a.DynamicPlaceholderId),i=e.fields["Image Orientation"].value,t="".concat(""===i?"left":i).trimEnd().toLowerCase(),r=""!==e.fields.defaultTopPadding.value?"pt-default":"",s="".concat(null!==(n=e.fields["Backgroun
1d Color"].value)&&void 0!==n?n:"pt-default").trimEnd();return s="martin-"+s.toLowerCase(),(0,K.jsx)("section",{className:"section ".concat(s," content-").concat(t.toLowerCase()," sub-block ").concat(r),children:(0,K.jsx)("div",{className:"container",children:(0,K.jsxs)("div",{className:"row",children:["left"==t&&(0,K.jsx)(ImageBlock,{Image:e.fields.Image}),(0,K.jsxs)("article",{className:"col-md-12 col-lg-7 content",children:[(0,K.jsx)($.x,{tag:"h2",field:e.fields.Title}),(0,K.jsx)(CustomRichText,{trackingRegion:"ContentBlock",field:e.fields.Content}),(0,K.jsx)(Y.V,{name:l,rendering:e.rendering})]}),"right"==t&&(0,K.jsx)(ImageBlock,{Image:e.fields.Image})]})})})}),eP=(0,ea.C)()(e=>{var a;let{fields:n}=e;return(0,K.jsx)("section",{className:"container page-head "+((null===(a=n["Line Color"])||void 0===a?void 0:a.value)||":after").toString().toLowerCase(),children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)("header",{children:(0,K.jsx)($.x,{tag:"h1",field:n.Title})})})})});let DefaultSection=e=>{let a="section-".concat(e.params.DynamicPlaceholderId);return(0,K.jsx)("section",{className:"section two-column",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsx)("div",{className:"row ".concat(a),children:(0,K.jsx)(Y.V,{name:a,rendering:e.rendering})})})})},SectionWrapper_Default=e=>{var a,n;let l=null===(n=e.params)||void 0===n?void 0:null===(a=n.Styles)||void 0===a?void 0:a.split(" ");return l&&l.includes("section")?(0,K.jsx)("div",{className:"section-wrapper",children:(0,K.jsx)(DefaultSection,{...e})}):(0,K.jsx)(DefaultSection,{...e})},SocialIcons_ComponentContent=e=>{let{children:a}=e;return(0,K.jsx)("section",{className:"section social-icons mt-0",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsx)("div",{className:"row",children:a})})})};var MartinTravel_SocialIcons=e=>{let{fields:a}=e,{Text:n}=a;return(0,K.jsx)(SocialIcons_ComponentContent,{children:(0,K.jsx)("div",{className:"col align-self-center text-center",children:(0,K.jsx)(CustomRichText,{trackingRegion:"SocialIcons",innerHTML:null==n?void 0:n.value})})})},eR=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsx)(ee.H,{field:a.content})}),eF=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsxs)("div",{className:"TextImageBlock",children:[(0,K.jsx)($.x,{tag:"h3",className:"contentTitle",field:a.title}),(0,K.jsx)(eo.o,{field:a.image}),(0,K.jsx)(ee.H,{className:"contentDescription",field:a.content})]})}),eH=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(ey(),{id:"signupScript",async:!0,defer:!0,src:"https://cdn.virtuoso.com/virtuoso-widgets/v2/virtuoso-widgets-2.4.0.min.js"}),a.virtuosoWidget.value&&(0,K.jsx)("span",{dangerouslySetInnerHTML:{__html:a.virtuosoWidget.value}})]})}),eM=n(4868),eO=n(1664),eB=n.n(eO),eA=n(3158);let FooterComponent_getStaticProps=async()=>{if(eA.env.JSS_MODE===ei.QU.DISCONNECTED)return null;try{let e=eu().graphQLEndpoint,a=new eM.$(e,{apiKey:eA.env.SITECORE_API_KEY||eu().sitecoreApiKey}),n=await a.request(eN);return{props:{data:n}}}catch(e){return console.log("Error Fetching the Footer :"+e),null}},FooterComponent_Default=e=>{var a,n,l;let i=null===(l=e.props)||void 0===l?void 0:null===(n=l.data)||void 0===n?void 0:null===(a=n.item)||void 0===a?void 0:a.children.results;return(0,K.jsx)("footer",{className:"footer footer-nav mt-0",children:(0,K.jsx)("div",{className:"container",children:(0,K.jsx)("div",{className:"row",children:(0,K.jsx)("nav",{className:"col align-self-center text-center",children:(0,K.jsxs)("ul",{children:[i&&i.map((e,a)=>(0,K.jsx)("li",{children:(0,K.jsx)(eB(),{href:e.NavLink.url,onClick:()=>{var a,n;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",type:"other",region:"Footer",url:null===(n=e.NavLink.url)||void 0===n?void 0:n.toString()}))},children:e.NavTitle.value})},a)),(0,K.jsx)("li",{children:(0,K.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),"undefined"!=typeof OneTrust&&OneTrust.ToggleInfoDisplay&&OneTrust.ToggleInfoDisplay()},children:"Cookie Settings"})})]})})})})})};var eW=n(1163),eV=n(3158);let HeaderComponent_getStaticProps=async()=>
1{if(eV.env.JSS_MODE===ei.QU.DISCONNECTED)return null;try{let e=eu().graphQLEndpoint,a=new eM.$(e,{apiKey:eV.env.SITECORE_API_KEY||eu().sitecoreApiKey}),n=await a.request(ej);return{props:{data:n}}}catch(e){return console.log("Error Fetching the Header :"+e),null}},HeaderComponent_Default=e=>{var a,n,l;let i=null===(l=e.props)||void 0===l?void 0:null===(n=l.data)||void 0===n?void 0:null===(a=n.item)||void 0===a?void 0:a.children.results,[t,r]=(0,J.useState)(!1),[s,o]=(0,J.useState)(!1),[d,c]=(0,J.useState)(""),u=(0,eW.useRouter)(),v=(0,J.useRef)(null),m=(0,J.useRef)(null),[h,f]=(0,J.useState)(-1);(0,J.useEffect)(()=>(document.addEventListener("click",handleOutsideClick),()=>{document.removeEventListener("click",handleOutsideClick)}),[]),(0,J.useEffect)(()=>{u.events.on("routeChangeComplete",handleRouteChange)},[u.events]);let handleRouteChange=()=>{r(!1)},handleOutsideClick=e=>{var a;!v||(null==v?void 0:null===(a=v.current)||void 0===a?void 0:a.contains(e.target))||(o(!1),r(!1))},isExternalLink=e=>{let a=null==e?void 0:e.charAt(0);return void 0===e||"/"===a||"#"===a?"":"_blank"},handleSubmit=e=>{e.preventDefault(),u.push("/search?q=".concat(d))};return(0,K.jsx)("div",{className:"container masthead",children:(0,K.jsx)("div",{className:"row header-wrap",children:(0,K.jsx)("div",{className:"header-nav col-lg-12",children:(0,K.jsx)("header",{className:"header_area",children:(0,K.jsx)("div",{className:"main_menu",children:(0,K.jsx)("nav",{className:"navbar navbar-expand-lg navbar-light",ref:v,children:(0,K.jsxs)("div",{className:"container",children:[(0,K.jsx)(eB(),{className:"travel-app logo_h",href:"/",onClick:()=>{eS.H.dispatch(new ew.p({name:"Logo",type:"other",url:"/",region:"Navigation"}))}}),(0,K.jsxs)("button",{className:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":t,"aria-label":"Toggle navigation",onClick:()=>t?r(!1):r(!0),children:[(0,K.jsx)("span",{className:"icon-bar"}),(0,K.jsx)("span",{className:"icon-bar"}),(0,K.jsx)("span",{className:"icon-bar"})]}),(0,K.jsxs)("div",{className:"collapse navbar-collapse offset ".concat(t?"show":""),id:"navbarSupportedContent",children:[(0,K.jsx)("ul",{className:"nav navbar-nav menu_nav",children:i&&i.map((e,a)=>(0,K.jsx)(K.Fragment,{children:!1==e.HasChildren?(0,K.jsx)("li",{className:"nav-item ",children:(0,K.jsxs)(eB(),{href:e.NavLink.url||"#",onClick:()=>{var a;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",type:"other",region:"Navigation",url:e.NavLink.url}))},className:"nav-link waves-effect waves-white",target:"".concat(isExternalLink(e.NavLink.url)),children:[e.NavTitle.value," "]},"li-a-"+a)},"nochild-"+a):(0,K.jsxs)("li",{className:"nav-item submenu dropdown ".concat(h===a?"show":""),onClick:e=>{if(e.currentTarget==m.current&&-1!==h){f(-1);return}m.current=e.currentTarget,f(a)},children:[(0,K.jsxs)(eB(),{href:"".concat(e.NavLink.url),onClick:()=>{var a;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",type:"other",region:"Navigation",url:e.NavLink.url}))},className:"nav-link dropdown-toggle waves-effect waves-gold mobile-dropdown-remove","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false",target:"".concat(isExternalLink(e.NavLink.url)),children:[e.NavTitle.value," ",(0,K.jsx)("i",{className:"fa fa-angle-down","aria-hidden":"true"})]},"li-a-"+a),(0,K.jsxs)(eB(),{href:"#",onClick:()=>{var a;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",type:"other",region:"Navigation",url:e.NavLink.url}))},className:"nav-link dropdown-toggle waves-effect waves-gold mobile-dropdown-insert","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"".concat(h===a?"true":"false"),children:[e.NavTitle.value," ",(0,K.jsx)("i",{className:"fa fa-angle-down","aria-hidden":"true"})]},"li-a2-"+a),(0,K.jsxs)("ul",{className:"dropdown-menu ".concat(h===a?"show":""),children:[(0,K.jsx)("li",{className:"nav-item mobile-dropdown-insert",children:(0,K.jsx)(eB(),{className:"nav-link waves-effect waves-white",href:e.NavLink.url||"#",onClick:()=>{var a;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",type:"other",region:"Navigation",url:e.NavLink.url}))},target:"".concat(isExternalLink(e.NavLink.url)),children:e.NavTitle.value},"ul-li-a-"+a)},"li-a-"+a),e.children.results.map((a,n)=>(0,K.jsx)("li",{className:"nav-item",children:(0,K.jsx)(eB(),{href:a.NavLink.url||"#",onClick:()=>{var a;eS.H.dispatch(new ew.p({name:(null===(a=e.NavTitle.value)||void 0===a?void 0:a.toString())||"",region:"Navigation",type:"other",url:e.NavLink.url}))},className:"nav-link waves-effect waves-white",target:"".concat(isExternalLink(a.NavLink.url)),children:a.DisplayName},"li2-a-"+n)},n))]},"ul1-"+a)]},"child-"+a)}
1))},"TopNav1"),(0,K.jsx)("ul",{className:"nav navbar-nav ml-auto sb-search-wrap",children:(0,K.jsx)("li",{className:"nav-item search-item",children:(0,K.jsx)("div",{id:"sb-search",className:"sb-search ".concat(s?"sb-search-open":""),children:(0,K.jsxs)("form",{onSubmit:handleSubmit,children:[(0,K.jsx)("input",{className:"sb-search-input",placeholder:"Search...",type:"text",value:d,name:"search",id:"txtSearch",onChange:e=>c(e.target.value)}),(0,K.jsx)("button",{type:"button",id:"searchBtn",className:"button-link",onClick:e=>{if(d){handleSubmit(e);return}s?o(!1):o(!0)},children:(0,K.jsx)("span",{className:"sb-icon-search"})})]})},"search-div")},"search-li")},"search")]})]})})})})})})})};var eU=(0,ea.C)()(e=>{let{fields:a}=e;return(0,K.jsxs)("div",{className:"TextImageBlock",children:[(0,K.jsx)($.x,{tag:"h3",className:"contentTitle",field:a.title}),(0,K.jsx)(er.E,{field:a.image}),(0,K.jsx)(ee.H,{className:"contentDescription",field:a.content})]})});let eG=new Map;eG.set("CdpPageView",Q),eG.set("ColumnSplitter",l),eG.set("Container",i),eG.set("ContentBlock",t),eG.set("FEaaSWrapper",r),eG.set("Image",s),eG.set("LinkList",o),eG.set("Navigation",d),eG.set("PageContent",c),eG.set("PartialDesignDynamicPlaceholder",u),eG.set("Promo",v),eG.set("RichText",m),eG.set("RowSplitter",h),eG.set("SlidingTextAndImage",f),eG.set("Title",p),eG.set("GraphQLClient-Local",g),eG.set("Queries.graphql",x),eG.set("CardImageBlock",N),eG.set("ConstantContactForm",S),eG.set("CustomRichText",j),eG.set("DividerBlock",w),eG.set("HeroBanner",C),eG.set("HeroVideo",k),eG.set("HomeModuleOne",y),eG.set("HomeModuleTwo",b),eG.set("LayoutContextData",T),eG.set("LogiForm",_),eG.set("MapAddressHours",I),eG.set("NotificationBlock",L),eG.set("PageViewed",eE),eG.set("Search",R),eG.set("SectionLeftRightContent",F),eG.set("SectionPageTitle",H),eG.set("SectionWrapper",M),eG.set("SocialIcons",O),eG.set("StaticHTMLBlock",B),eG.set("TextImageBlock",A),eG.set("Virtuoso",W),eG.set("FooterComponent",V),eG.set("HeaderComponent",U),eG.set("SearchComponent",G),eG.set("SearchBox",E),eG.set("SearchFacets",D),eG.set("SearchResults",P),eG.set("SearchTypes",q);let eq=new z.Q({components:eG});eq.getModuleFactory()},5499:function(e,a,n){"use strict";var l=n(3158);let i={};i.sitecoreApiKey=l.env.SITECORE_API_KEY||"Z1VzbU1WNUNvOUJjRHI1bFpPWXlnbmpWNEROS1cvTW5WYWJtaGh4RlhKTT18YWFhY2x1YmFsbGkxNDkzLWFhYWNsdWJhbGxpOWIxMC1wcm9kdWN0aW9uLTE3OWE=",i.sitecoreApiHost=l.env.SITECORE_API_HOST||"https://xmc-aaacluballi1493-aaacluballi9b10-production.sitecorecloud.io/",i.jssAppName=l.env.JSS_APP_NAME||"martintravel",i.graphQLEndpointPath=l.env.GRAPH_QL_ENDPOINT_PATH||"/sitecore/api/graph/edge",i.defaultLanguage=l.env.DEFAULT_LANGUAGE||"en",i.graphQLEndpoint=l.env.GRAPH_QL_ENDPOINT||"https://edge.sitecorecloud.io/api/graphql/v1",i.sites=l.env.SITES||'[{"pointOfSale":{"en":"energy-insurance-agency"},"name":"energy-insurance-agency","hostName":"prod-energy-insurance-agency.vercel.app","language":"en"},{"name":"CorporateTravel","hostName":"*","language":"en"},{"name":"ProvidentTravel","hostName":"*","language":"en"},{"name":"MartinTravel","hostName":"*","language":"en"},{"pointOfSale":{"en":"cluballiance"},"name":"ClubAlliance","hostName":"*","language":"en"}]',e.exports=i},5472:function(e,a,n){"use strict";let{getPublicUrl:l}=n(298);e.exports=()=>""},2653:function(){},7325:function(){},2549:function(){},8758:function(){}}]);

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.