1(window["webpackJsonpchat-test"]=window["webpackJsonpchat-test"]||[]).push([[167],{1374:function(e,t,a){"use strict";a.r(t);var n=a(0),o=a.n(n),r=a(486),i=a(551),l=a.n(i),c=a(72);var s=Object(c.a)(e=>({newHeading:{fontWeight:"400 !important",fontSize:"16px",color:e.agentTheme.card.secondary_foreground,marginBottom:"40px",textAlign:"center"},specialOfferHeading:{fontWeight:"700",fontSize:"30px",color:e.agentTheme.background.primary_text,margin:0},viewAllCOntainer:{width:"100%",padding:e.spacingRules.cardPaddingDesktop,[e.breakpoints.down("sm")]:{padding:e.spacingRules.cardPaddingMobile}},mobileContainer:{width:"100%",display:"flex",justifyContent:"center"},galleryCardMob:{height:"350px",width:"100%"},imgCover:{width:"100%",height:"100%",objectFit:"cover"},buttonBox:{display:"flex",justifyContent:"center",paddingTop:"40px"},viewAllButton:{borderRadius:"6px",fontSize:"16px",color:e.agentTheme.primary.foreground,backgroundColor:e.agentTheme.primary.main,"&:hover":{backgroundColor:e.agentTheme.primary.main}},hotelCard:{position:"relative",borderRadius:12,overflow:"hidden",cursor:"pointer","& img":{width:"100%",height:"100%",objectFit:"cover",display:"block"}},cardText:{position:"absolute",bottom:20,left:20,fontSize:20,fontWeight:600,color:"#fff",textShadow:"0 0 4px rgba(0,0,0,0.7)"},hotelGrid:{display:"grid",gridTemplateColumns:"2fr 1fr 1fr",gridTemplateRows:"250px 250px",gap:"14px",width:"100%",[e.breakpoints.down("sm")]:{display:"none"}},hotel1:{gridColumn:"1 / 2",gridRow:"1 / 3"},hotel2:{gridColumn:"2 / 3",gridRow:"1 / 2"},hotel3:{gridColumn:"3 / 4",gridRow:"1 / 2"},hotel4:{gridColumn:"2 / 3",gridRow:"2 / 3"},hotel5:{gridColumn:"3 / 4",gridRow:"2 / 3"}})),d=a(531),m=a(240),p=a(121),u=a(46),g=a(185);t.default=()=>{var e;const t=s(),{username:a=null}=Object(u.a)(),{deskTopView:n=!1}=Object(p.a)(),i=Object(g.a)("gallery",5),c=Object(g.a)("gallery"),h=()=>o.a.createElement(r.a,{className:t.hotelGrid},i.map((e,a)=>o.a.createElement(r.a,{key:a,className:`${t.hotelCard} ${t["hotel"+(a+1)]}`},o.a.createElement("img",{src:(null===e||void 0===e?void 0:e.image_url)||l.a,alt:null===e||void 0===e?void 0:e.name}),o.a.createElement("div",{className:t.cardText},null===e||void 0===e?void 0:e.name))));return 0==(null===(e=i||[])||void 0===e?void 0:e.length)?null:o.a.createElement(r.a,{className:t.viewAllCOntainer},o.a.createElement(r.a,{className:t.galleryContainer,maxWidth:"1200px",m:"auto"},o.a.createElement(r.a,{display:"flex",flexDirection:"column"},o.a.createElement(r.a,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},o.a.createElement("p",{className:t.specialOfferHeading},"Gallery"),o.a.createElement("p",{className:t.newHeading},"Explore around the world with these scenic beauties")),n?o.a.createElement(h,null):o.a.createElement("div",{className:t.mobileContainer},o.a.createElement(d.a,{items:i,itemsPerCarousel:1,getTestimonialItem:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{image_url:a=""}=e||{};return o.a.createElement("div",{className:t.galleryCardMob},o.a.createElement("img",{src:a||l.a,width:"100%",height:"296px",className:t.imgCover}))},primaryIcon:!0})))),c.length>5&&o.a.createElement(r.a,{className:t.buttonBox},o.a.createElement(m.a,{variant:"contained",className:t.viewAllButton,onClick:()=>{window.location.href=`/${a?a+"/":""}gallery_detail`}},"View All")))}},528:function(e,t,a){"use strict";var n=a(25),o=a(26);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(a(0)),i=(0,n(a(27)).default)(r.createElement("path",{d:"M14 7l-5 5 5 5V7z"}),"ArrowLeft");t.default=i},529:function(e,t,a){"use strict";var n=a(25),o=a(26);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(a(0)),i=(0,n(a(27)).default)(r.createElement("path",{d:"M10 17l5-5-5-5v10z"}),"ArrowRight");t.default=i},531:function(e,t,a){"use strict";var n=a(0),o=a.n(n),r=a(72),i=a(36),l=a(529),c=a.n(l),s=a(528),d=a.n(s),m=a(490),p=a(117),u=a.n(p),g=a(116),h=a.n(g);const v=Object(r.a)(e=>({mobileStepperDots:e=>{var t,a;return{borderRadius:"50%",display:"inline-block",marginRight:"12px",height:(null===e||void 0===e||null===(t=e.customStepperPropertys)||void 0===t?void 0:t.size)||"8px",width:(null===e||void 0===e||null===(a=e.customStepperPropertys)||void 0===a?void 0:a.size)||"8px"}},nonActiveStepperDot:t=>{var a;return{backgroundColor:(null===t||void 0===t||null===(a=t.customStepperPropertys)||void 0===a?void 0:a.deactivecolor)||e.agentTheme.secondary.light}},activeStepperDot:t=>{var a;return{backgroundColor:(null===t||void 0===t||null===(a=t.customStepperPropertys)||void 0===a?void 0:a.activecolor)||e.agentTheme.secondary.main}}}));var f=e=>
1{let{activeStep:t,handleStepChange:a,step:n,customStepperPropertys:r}=e;const i=v({customStepperPropertys:r});return o.a.createElement("span",{onClick:()=>a(n),className:t?`${i.mobileStepperDots} ${i.activeStepperDot}`:`${i.mobileStepperDots} ${i.nonActiveStepperDot}`})},y=a(68),b=a(486);const C=Object(r.a)(e=>({mobileStepperDots:{borderRadius:"4px",display:"inline-block",marginRight:"12px",height:"6px",width:"12px",backgroundColor:e.agentTheme.secondary.main,transition:"all 0.5s ease",cursor:"pointer"},activeStepperDot:{width:"22px",backgroundColor:e.agentTheme.primary.main}}));var x=e=>{let{activeStep:t,handleStepChange:a,step:n}=e;const r=C();return o.a.createElement("span",{onClick:()=>a(n),className:t?`${r.mobileStepperDots} ${r.activeStepperDot}`:`${r.mobileStepperDots} ${r.nonActiveStepperDot}`})},w=a(537),E=a.n(w),S=a(539),k=a.n(S),T=a(532);const j=Object(T.autoPlay)(h.a),N=Object(r.a)(e=>({carouselStepperContainer:{background:"transparent",margin:"auto"},carouselItemContainer:{height:"100%",display:"flex",flexDirection:"row",justifyContent:"space-evenly"},iconsContainer:{position:"absolute",width:"100%",top:"calc(50% - 55px)",display:"flex",justifyContent:"space-between"},icons:{position:"relative",top:"50%",fontSize:100,color:"#000000",cursor:"pointer"},iconRight:{right:20,[e.breakpoints.down("sm")]:{right:"2.2%"}},iconLeft:{left:5}}));t.a=e=>{let{items:t=[],itemsPerCarousel:a=1,getTestimonialItem:n,showStepper:r=!0,deskTopView:l=!0,showArrowIcon:s=!1,carouselSectionConatiner:p,showArrowParadise:g=!1,center:h=!1,toorThemeStepper:v=!1,title:C,text:w,background:S=!1,showFlightIcon:T=!0,customStepperPropertys:$={}}=e,z=0,D=[...t],O=[],R=[];const P=!l,A=N(),I=Math.ceil(t.length/a),_=Object(i.a)(),M=e=>{var n,i,l,h,S,N;let{children:z}=e;const[D,O]=o.a.useState(0),R=e=>{e<0||e>=I||O(e)},P=Math.ceil(t.length/a);return o.a.createElement("div",{style:{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center"}},C&&o.a.createElement(b.a,{width:"100%",mb:5},o.a.createElement(y.a,{variant:"h4",style:{fontSize:"28px",fontWeight:600,color:_.agentTheme.background.primary_text,lineHeight:1.2}},C),T&&o.a.createElement(b.a,{mt:1,display:"flex",alignItems:"center"},o.a.createElement(u.a,{style:{color:null===_||void 0===_||null===(n=_.agentTheme)||void 0===n||null===(i=n.primary)||void 0===i?void 0:i.main,fontSize:22,transform:"rotate(90deg)"}}),o.a.createElement(b.a,{style:{height:"1px",width:"80px",backgroundColor:null===_||void 0===_||null===(l=_.agentTheme)||void 0===l||null===(h=l.primary)||void 0===h?void 0:h.main,margin:"-5px"}})),o.a.createElement(y.a,{variant:"body1",style:{flex:1,mt:.5,mr:1,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",color:null===_||void 0===_||null===(S=_.agentTheme)||void 0===S||null===(N=S.text)||void 0===N?void 0:N.body_text_color}},w)),o.a.createElement(j,Object.assign({axis:"x",index:D,onChangeIndex:R,enableMouseEvents:!0,resistance:!0},v?{interval:7e3}:{},{style:p?{padding:"0 30px"}:{}}),z),s&&o.a.createElement("div",{className:A.iconsContainer},o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.background.main},className:`${A.icons} ${A.iconLeft}`,color:"secondary","aria-label":"left",onClick:()=>R(D-1),disabled:0==D},o.a.createElement(d.a,{fontSize:"large",style:{color:_.palette.getContrastText(_.agentTheme.background.main)}})),o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.background.main},className:`${A.icons} ${A.iconRight}`,color:"secondary","aria-label":"right",onClick:()=>R(D+1),disabled:D===I-1},o.a.createElement(c.a,{fontSize:"large",style:{color:_.palette.getContrastText(_.agentTheme.background.main)}}))),g&&o.a.createElement("div",{className:A.iconsContainer},o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.card.main},className:`${A.icons} ${A.iconLeft}`,"aria-label":"left",onClick:()=>R(D-1),disabled:0==D},o.a.createElement(E.a,{fontSize:"large",style:{color:_.agentTheme.card.foreground}})),o.a.createElement(m.a,{size:"medium",style:{backgroundColor:_.agentTheme.card.main},className:`${A.icons} ${A.iconRight}`,"aria-label":"right",onClick:()=>R(D+1),disabled:D==I-1},o.a.createElement(k.a,{fontSize:"large",style:{color:_.agentTheme.card.foreground}}))),r&&P>1&&o.a.createElement("div",{className:A.carouselStepperContainer,style:{paddingTop:g&&"1rem"}},t.map((e,t)=>{if(t<I)return o.a.createElement(f,{activeStep:D==t,handleStepCh
1ange:R,step:t,customStepperPropertys:$})})),v&&o.a.createElement("div",{className:A.carouselStepperContainer,style:{paddingTop:"1rem"}},t.map((e,t)=>{if(t<I)return o.a.createElement(x,{activeStep:D==t,handleStepChange:R,step:t})})))},W=()=>{if(D.length<=a){z+=D.length,D.splice(0,D.length).forEach(e=>{O.push(n(e))}),R.push(o.a.createElement("div",{className:`${p} ${A.carouselItemContainer}`,style:{justifyContent:h?"center":"space-evenly"}},O))}else{for(D.splice(0,a).forEach(e=>{O.push(n(e))}),R.push(o.a.createElement("div",{className:A.carouselItemContainer,style:{justifyContent:h?"center":"space-evenly"}},O)),z+=a,O=[];D.length>0;)W()}return R};return o.a.createElement(M,{maxSteps:t.length},P?(D.forEach(e=>{R.push(o.a.createElement("div",{className:A.carouselItemContainer,style:{justifyContent:h?"center":"space-evenly"}},n(e)))}),R):W())}},551:function(e,t,a){e.exports=a.p+"static/media/defaultDestination.8d1666a8.jpg"}}]); 2//# sourceMappingURL=167.26105171.chunk.js.map
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.