PageSourceSearch

https://travelsetu.com/holiday-tour-packages/js/theme-scripts.js

js travelsetu.com collected 2026-09-24 18:04:18 UTC 26,204 bytes, 1 lines download raw bytes

1function changeTraveloElementUI(){tjq(".selector select").each(function(){var t=tjq(this);t.parent().children(".custom-select").length<1&&(t.after("<span class='custom-select'>"+t.children("option:selected").html()+"</span>"),t.hasClass("white-bg")&&t.next("span.custom-select").addClass("white-bg"),t.hasClass("full-width")&&t.next("span.custom-select").addClass("full-width"))}),tjq("body").on("change",".selector select",function(){tjq(this).next("span.custom-select").length>0&&tjq(this).next("span.custom-select").text(tjq(this).find("option:selected").text())}),tjq("body").on("keydown",".selector select",function(){tjq(this).next("span.custom-select").length>0&&tjq(this).next("span.custom-select").text(tjq(this).find("option:selected").text())}),tjq(".fileinput input[type=file]").each(function(){var t=tjq(this);t.parent().children(".custom-fileinput").length<1&&(t.after('<input type="text" class="custom-fileinput" />'),"undefined"!=typeof t.data("placeholder")&&t.next(".custom-fileinput").attr("placeholder",t.data("placeholder")),"undefined"!=typeof t.prop("class")&&t.next(".custom-fileinput").addClass(t.prop("class")),t.parent().css("line-height",t.outerHeight()+"px"))}),tjq(".fileinput input[type=file]").on("change",function(){var t=this.value,e=t.lastIndexOf("\\");-1==e&&(e=t.lastIndexOf("/")),-1!=e&&(t=t.substring(e+1)),tjq(this).next(".custom-fileinput").val(t)}),tjq(".checkbox input[type='checkbox'], .radio input[type='radio']").each(function(){tjq(this).is(":checked")&&(tjq(this).closest(".checkbox").addClass("checked"),tjq(this).closest(".radio").addClass("checked"))}),tjq(".checkbox input[type='checkbox']").bind("change",function(){tjq(this).is(":checked")?tjq(this).closest(".checkbox").addClass("checked"):tjq(this).closest(".checkbox").removeClass("checked")}),tjq(".radio input[type='radio']").bind("change",function(t,e){if(tjq(this).is(":checked")){var i=tjq(this).prop("name");"undefined"!=typeof i&&tjq(".radio input[name='"+i+"']").closest(".radio").removeClass("checked"),tjq(this).closest(".radio").addClass("checked")}}),tjq(".datepicker-wrap input").each(function(){var t=tjq(this).data("min-date");"undefined"==typeof t&&(t=0),tjq(this).datepicker({showOn:"button",buttonImage:"images/icon/blank.png",buttonText:"",buttonImageOnly:!0,changeYear:!1,minDate:t,dateFormat:"mm/dd/yy",dayNamesMin:["S","M","T","W","T","F","S"],beforeShow:function(t,e){var i=tjq(t).parent().attr("class").replace("datepicker-wrap","");tjq("#ui-datepicker-div").attr("class",""),tjq("#ui-datepicker-div").addClass("ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"),tjq("#ui-datepicker-div").addClass(i)},onClose:function(t){"date_from"==tjq(this).attr("name")&&tjq(this).closest("form").find('input[name="date_to"]').length>0&&tjq(this).closest("form").find('input[name="date_to"]').datepicker("option","minDate",t),"date_to"==tjq(this).attr("name")&&tjq(this).closest("form").find('input[name="date_from"]').length>0&&tjq(this).closest("form").find('input[name="date_from"]').datepicker("option","maxDate",t)}})});try{tjq("input, textarea").placeholder()}catch(t){}}function displayPhotoGallery($item){if(!(!tjq.fn.flexslider||$item.length<1||$item.is(":hidden"))){var dataAnimation=$item.data("animation"),dataSync=$item.data("sync");"undefined"==typeof dataAnimation&&(dataAnimation="slide");var dataFixPos=$item.data("fix-control-nav-pos"),callFunc=$item.data("func-on-start");$item.flexslider({animation:dataAnimation,controlNav:!0,animationLoop:!0,slideshow:!0,pauseOnHover:!0,sync:dataSync,start:function(slider){if("undefined"!=typeof dataFixPos&&"1"==dataFixPos){var height=tjq(slider).find(".slides img").height();tjq(slider).find(".flex-control-nav").css("top",height-44+"px")}if("undefined"!=typeof callFunc)try{eval(callFunc+"();")}catch(e){}}})}}function displayImageCarousel(t){if(!(!tjq.fn.flexslider||t.length<1||t.is(":hidden"))){var e=t.data("animation"),i=t.data("item-width"),n=t.data("item-margin"),a=t.data("sync");"undefined"==typeof e&&(e="slide"),"undefined"==typeof i&&(i=70),"undefined"==typeof n&&(n=10),i=parseInt(i,10),n=parseInt(n,10);var o=!0,s=!1;"undefined"==typeof a&&(a="",s=!0),t.flexslider({animation:e,controlNav:!0,animationLoop:o,slideshow:s,itemWidth:i,itemMargin:n,minItems:2,pauseOnHover:!0,asNavFor:a,start:function(t){""!=a?(tjq(t).find(".slides > li").height(i),tjq(t).find(".slides > li > img").each(function(){tjq(this).width()<1?tjq(this).load(function(){tjq(this).parent().middleblock()}):tjq(this).parent().middleblock()})):tjq(t).find(".middle-block img, .middle-block .middle-item").each(function(){tjq(this).width()<1?tjq(this).load(function(){tjq(this).closest(".middle-block").middleblock()}):tjq(this).closest(".middle-block").middleblock()})},after:function(t){0==t.currentItem&&(target=0,t.transitions&&(target="vertical"===t.vars.direction?"translate3d(0,"+target+",0)":"translate3d("+target+",0,0)",t.container.css("-"+t.pfx+"-transition-duration","0s"),t.container.css("transition-duration","0s")),t.args[t.prop]=target,t.container.css(t.args),t.container.css("transform",target))}})}}function fixPositionMegaMenu(t){"undefined"==typeof t?t="":t+=" ",tjq(t+".megamenu-menu").each(function(){var t=tjq(this).closest(".container").css("padding-left"),e=parseInt(t,10),i=tjq(this).offset().left-tjq(this).closest(".container").offset().left-e;if(0!=i){tjq(this).children(".megamenu-wrapper").css("left","-"+i+"px"),tjq(this).children(".megamenu-wrapper").css("width",tjq(this).closest(".container").width()+"px"),"undefined"!=typeof tjq(this).children(".megamenu-wrapper").data("items-per-column")&&(megamenu_items_per_column=parseInt(tjq(this).children(".megamenu-wrapper").data("items-per-column"),10));var n=new Array,a=0;tjq(this).find(".megamenu > li").each(function(){var t=Math.ceil(tjq(this).find("li > a").length/megamenu_items_per_column);0==t&&(t=1),n.push(t),a+=t}),tjq(this).find(".megamenu > li").each(function(t){tjq(this).css("width",n[t]/a*100+"%"),tjq(this).addClass("megamenu-columns-"+n[t])}),tjq(this).find(".megamenu > li.menu-item-has-children").each(function(t){if(tjq(this).children(".sub-menu").length<1){tjq(this).append("<ul class='sub-menu'></ul>");for(var e=0;e<n[t];e++)tjq(this).children(".sub-menu").append("<li><ul></ul></li>");var i=tjq(this).children("ul").eq(0).children("li").length-1;tjq(this).children("ul").eq(0).children("li").each(function(t){var e=Math.floor(t/megamenu_items_per_column);tjq(this).closest("li.menu-item-has-children").children(".sub-menu").children("li").eq(e).children("ul").append(tjq(this).clone()),t==i&&tjq(this).closest(".menu-item-has-children").children("ul").eq(0).remove()})}}),tjq(this).children(".megamenu-wrapper").show()}})}var stGlobals={};
1stGlobals.isMobile=/(Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|windows phone)/.test(navigator.userAgent),stGlobals.isMobileWebkit=/WebKit/.test(navigator.userAgent)&&/Mobile/.test(navigator.userAgent),stGlobals.isIOS=/iphone|ipad|ipod/gi.test(navigator.appVersion),String.prototype.lpad=function(t,e){for(var i=this;i.length<e;)i=t+i;return i},tjq.fn.removeClassPrefix=function(t){return this.each(function(e,i){var n=i.className.split(" ").filter(function(e){return 0!==e.lastIndexOf(t,0)});i.className=n.join(" ")}),this},function(t,e,i){function n(t,e){var n=i(this),a=n.find(".middle-item");if(a.length<1&&(a=n.children("img")),!(a.length<1)){var o=a.width(),s=a.height();if(n.width()<=1){for(var l=n;l.width()<=1;)l=l.parent();n.css("width",l.width()+"px")}if(n.css("position","relative"),a.css("position","absolute"),n.hasClass("middle-block-auto-height")&&(n.removeClass("middle-block-auto-height"),n.height(0)),n.height()<=1){for(var l=n;l.height()<=1;)l="left"==l.css("float")&&0==l.index()&&l.next().length>0?l.next():"left"==l.css("float")&&l.index()>0?l.prev():l.parent();n.css("height",l.outerHeight()+"px"),n.addClass("middle-block-auto-height"),o=a.width(),s=a.height(),1>=s&&(s=l.outerHeight())}a.css("top","50%"),a.css("margin-top","-"+s/2+"px"),o>=1?(a.css("left","50%"),a.css("margin-left","-"+o/2+"px")):a.css("left","0")}}var a,o=i.fn;a=o.middleblock=function(){var t=this;return i(this).is(":visible")&&t.bind("set.middleblock",n).trigger("set.middleblock"),t}}(this,document,jQuery),function(t){t.fn.countTo=function(e){return e=e||{},t(this).each(function(){function i(t){t=n.formatter.call(s,t,n),l.html(t)}var n=t.extend({},t.fn.countTo.defaults,{from:t(this).data("from"),to:t(this).data("to"),speed:t(this).data("speed"),refreshInterval:t(this).data("refresh-interval"),decimals:t(this).data("decimals")},e),a=Math.ceil(n.speed/n.refreshInterval),o=(n.to-n.from)/a,s=this,l=t(this),r=0,c=n.from,d=l.data("countTo")||{};l.data("countTo",d),d.interval&&clearInterval(d.interval),d.interval=setInterval(function(){c+=o,r++,i(c),"function"==typeof n.onUpdate&&n.onUpdate.call(s,c),r>=a&&(l.removeData("countTo"),clearInterval(d.interval),c=n.to,"function"==typeof n.onComplete&&n.onComplete.call(s,c))},n.refreshInterval),i(c)})},t.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(t,e){return t.toFixed(e.decimals)},onUpdate:null,onComplete:null}}(jQuery),function(t,e,i){var n,a=i.fn;n=a.onstage=function(){var e=tjq(t).scrollTop(),i=tjq(t).height(),n=this;return n.offset().top+.9*n.height()<=e+i&&n.offset().top+.9*n.height()>e?!0:!1}}(this,document,jQuery),function(t){var e,i=function(){};i.prototype={constructor:i,init:function(){},open:function(i,n){"undefined"==typeof i&&(i={});var a=i.wrapId?"#"+i.wrapId:".opacity-overlay";if(t(a).length<1){var o=i.wrapId?" id='"+i.wrapId+"'":"";t("<div class='opacity-overlay' "+o+"><div class='container'><div class='popup-wrapper'><i class='fa fa-spinner fa-spin spinner'></i><div class='col-xs-12 col-sm-9 popup-content'></div></div></div></div>").appendTo("body")}if(e.wrap=t(a),e.content=e.wrap.find(".popup-content"),e.spinner=e.wrap.find(".spinner"),e.contentContainer=e.wrap.find(".popup-wrapper"),stGlobals.isMobile&&(e.wrap.css({height:t(document).height(),position:"absolute"}),e.contentContainer.css("top",t(window).scrollTop())),e.updateSize(),"ajax"==i.type)e.content.html(""),e.content.height("auto").css("visibility","hidden"),e.wrap.fadeIn(),e.spinner.show(),t("body").addClass("overlay-open"),t.ajax({url:n.attr("href"),type:"post",dataType:"html",success:function(t){e.content.html(t),i.callBack&&i.callBack(e),setTimeout(function(){e.content.css("visibility","visible"),e.spinner.hide()},100)}});else if("map"==i.type){e.wrap.fadeIn(),e.spinner.show();var s=i.lngltd.split(","),l=e.content.width();e.content.gmap3({clear:{name:"marker",last:!0}});var r=i.zoom?parseInt(i.zoom,10):12;e.content.height(.5*l).gmap3({map:{options:{center:s,zoom:r}},marker:{values:[{latLng:s}],options:{draggable:!1}}}),t("body").addClass("overlay-open")}else{var c=n.attr("href");"undefined"==typeof c&&(c=n.data("target")),e.content.children().hide(),e.content.children(c).length>0||t(c).appendTo(e.content),t(c).show(),e.spinner.hide(),e.wrap.fadeIn(function(){t(c).find(".input-text").eq(0).focus(),t("body").addClass("overlay-open")})}},close:function(){t("body").removeClass("overlay-open"),t("html").css("overflow",""),t("html").css("margin-right",""),e.spinner.hide(),e.wrap.fadeOut()},updateSize:function(){if(stGlobals.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.contentContainer.css("height",n)}else stGlobals.isMobile&&e.contentContainer.css("height",t(window).height())},getScrollbarSize:function(){if(document.body.scrollHeight<=t(window).height())return 0;if(void 0===e.scrollbarSize){var i=document.createElement("div");i.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(i),e.scrollbarSize=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return e.scrollbarSize}}
1,t.fn.soapPopup=function(n){return e=new i,e.init(),t(document).bind("keydown",function(i){var n=i.keyCode;t(".opacity-overlay:visible").length>0&&27===n&&(i.preventDefault(),e.close())}),t(document).on("click touchend",".opacity-overlay",function(i){t("body").hasClass("overlay-open")&&!t(i.target).is(".opacity-overlay .popup-content *")&&(i.preventDefault(),e.close())}),t(document).on("click touchend",".opacity-overlay [data-dismiss='modal']",function(t){e.close()}),t(window).resize(function(){e.updateSize()}),e.open(n,t(this)),t(this)}}(jQuery),"undefined"==typeof enableChaser&&(enableChaser=1),tjq("body").on("click","a.popup-gallery",function(t){return t.preventDefault(),!1}),tjq(document).ready(function(){changeTraveloElementUI(),stGlobals.isMobile&&tjq("body").addClass("is-mobile"),stGlobals.isMobileWebkit&&tjq(".parallax").css("background-attachment","scroll")}),tjq(window).load(function(){function t(){tjq("#main-menu .menu li.menu-item-has-children > ul, .ribbon ul.menu.mini").each(function(t){if(!(tjq(this).closest(".megamenu").length>0)){var e=tjq(this).parent().offset().left+tjq(this).parent().width();e+tjq(this).width()>tjq("body").width()?tjq(this).addClass("left"):tjq(this).removeClass("left")}})}function e(t){var e=0;tjq(t).find(".slides > li").each(function(){tjq(this).css("height","auto"),tjq(this).height()>e&&(e=tjq(this).height())}),tjq(t).find(".slides > li").height(e)}function i(){try{tjq(".testimonial.style1").length>0&&tjq(".testimonial.style1").is(":visible")&&tjq(".testimonial.style1").flexslider({namespace:"testimonial-",animation:"slide",controlNav:!0,animationLoop:!1,directionNav:!1,slideshow:!1,start:e})}catch(t){}try{tjq(".testimonial.style2").length>0&&tjq(".testimonial.style2").is(":visible")&&tjq(".testimonial.style2").flexslider({namespace:"testimonial-",animation:"slide",controlNav:!1,animationLoop:!1,directionNav:!0,slideshow:!1,start:e})}catch(t){}try{tjq(".testimonial.style3").length>0&&tjq(".testimonial.style3").is(":visible")&&tjq(".testimonial.style3").flexslider({namespace:"testimonial-",controlNav:!1,animationLoop:!1,directionNav:!0,slideshow:!1,start:e})}catch(t){}}function n(){tjq(".promo-box").each(function(){if("right"==tjq(this).find(".content-section").css("float")){var t=tjq(this).find(".image-container > img").height();tjq(this).find(".content-section .table-wrapper").css("height","auto");var e=tjq(".content-section").css("padding-top"),i=tjq(".content-section").css("padding-bottom"),n=0;try{n=parseInt(e,10)+parseInt(i,10)}catch(a){}var o=tjq(this).find(".content-section >.table-wrapper").length>0?tjq(this).find(".content-section > .table-wrapper").height()+n:tjq(this).find(".content-section").innerHeight();o>t?t=o:t+=15,tjq(this).find(".image-container").height(t),tjq(this).find(".content-section").innerHeight(t),tjq(this).find(".content-section .table-wrapper").css("height","100%"),tjq(this).find(".image-container").css("margin-left","-5%"),tjq(this).find(".image-container").css("position","relative"),tjq(this).find(".image-container > img").css("position","absolute"),tjq(this).find(".image-container > img").css("bottom","0"),tjq(this).find(".image-container > img").css("left","0")}else tjq(this).find(".image-container").css("height","auto"),tjq(this).find(".image-container").css("margin","0"),tjq(this).find(".content-section").css("height","auto"),tjq(this).find(".image-container > img").css("position","static");tjq(this).find(".image-container > img").hasClass("animated")||tjq(this).find(".image-container > img").css("visibility","visible")})}function a(){if(1==tjq(".slideshow-bg.full-screen").length){var t=tjq(".slideshow-bg.full-screen").offset().top;tjq(".slideshow-bg.full-screen").height(tjq(window).height()-t)}}var o;if(tjq("body").on("click","#back-to-top",function(t){t.preventDefault(),tjq("html,body").animate({scrollTop:0},1e3)}),tjq("#mobile-search-tabs").length>0&&(o=tjq("#mobile-search-tabs").bxSlider({mode:"fade",infiniteLoop:!1,hideControlOnEnd:!0,touchEnabled:!0,pager:!1,onSlideAfter:function(t,e,i){tjq('a[href="'+tjq(t).children("a").attr("href")+'"]').tab("show")}})),"undefined"!=typeof o){var s=tjq("body .search-box > ul.search-tabs li.active"),l=tjq("body .search-box > ul.search-tabs li").index(s);o.goToSlide(l)}if(tjq("body .search-box > ul.search-tabs li a").on("click",function(t){var e=tjq(this).parent(),i=tjq("body .search-box > ul.search-tabs li").index(e);"undefined"!=typeof o&&o.goToSlide(i)}),tjq(".mobile-menu ul.menu > li.menu-item-has-children").each(function(t){var e="mobile-menu-submenu-item-"+t;tjq('<button class="dropdown-toggle collapsed" data-toggle="collapse" data-target="#'+e+'"></button>').insertAfter(tjq(this).children("a")),tjq(this).children("ul").prop("id",e),tjq(this).children("ul").addClass("collapse"),tjq("#"+e).on("show.bs.collapse",function(){tjq(this).parent().addClass("open")}),tjq("#"+e).on("hidden.bs.collapse",function(){tjq(this).parent().removeClass("open")})}),tjq(".middle-block").middleblock(),t(),1==enableChaser&&tjq("#content").length>0&&tjq("#main-menu ul.menu").length>0){var r,c=tjq("#main-menu ul.menu").clone().hide().appendTo(document.body).wrap("<div class='chaser hidden-mobile'><div class='container'></div></div>");tjq('<h1 class="logo navbar-brand"><a title="Travelsetu" href="https://travelsetu.com/holiday-tour-packages"><img alt="" src="https://travelsetu.com/holiday-tour-packages/images/logo.png"></a></h1>').insertBefore(".chaser .menu");var d=tjq("#content").first();r=d.offset().top+2,tjq(window).on("scroll",function(){var t=tjq(document).scrollTop();tjq(".chaser").is(":hidden")&&t>r?tjq(".chaser").slideDown(300):tjq(".chaser").is(":visible")&&r>t&&tjq(".chaser").slideUp(200)}),tjq(window).on("resize",function(){var t=tjq(document).scrollTop();tjq(".chaser").is(":hidden")&&t>r?tjq(".chaser").slideDown(300):tjq(".chaser").is(":visible")&&r>t&&tjq(".chaser").slideUp(200)}),tjq(".chaser").css("visibility","hidden"),c.show(),fixPositionMegaMenu(".chaser"),tjq(".chaser .megamenu-menu").removeClass("light"),tjq(".chaser").hide(),tjq(".chaser").css("visibility","visible")}tjq(".toggle-container .panel-collapse").each(function(){tjq(this).hasClass("in")||tjq(this).closest(".panel").find("[data-toggle=collapse]").addClass("collapsed")}),tjq(".toggle-container.with-image").each(function(){var t="",e="1s";"undefined"!=typeof tjq(this).data("image-animation-type")&&(t=tjq(this).data("image-animation-type")),"undefined"!=typeof tjq(this).data("image-animation-duration")&&(e=tjq(this).data("image-animation-duration"));var i='<div class="image-container';if(""!=t&&(i+=' animated" data-animation-type="'+t+'" data-animation-duration="'+e),i+='"><img src="" alt="" /></div>',tjq(this).prepend(i),tjq(this).find(".panel-collapse.in").length>0){var n=tjq(this).find(".panel-collapse.in").parent().children("img"),a=n.attr("src"),o=n.attr("width"),s=n.attr("height"),l=n.attr("alt"),r=tjq(this).find(".image-container img");r.attr("src",a),"undefined"!=typeof o&&r.attr("width",o),"undefined"!=typeof s&&r.attr("height",s),"undefined"!=typeof l&&r.attr("alt",l),tjq(this).children(".image-container").show()}}),tjq(".toggle-container.with-image").on("show.bs.collapse",function(t){var e=tjq(t.target).parent().children("img");if(e.length>0){var i=e.attr("src"),n=e.attr("width"),a=e.attr("height"),o=e.attr("alt"),s=tjq(this).find(".image-container img");s.attr("src",i),"undefined"!=typeof n&&s.attr("width",n),"undefined"!=typeof a&&s.attr("height",a),"undefined"!=typeof o&&s.attr("alt",o),s.parent().css("visibility","hidden"),s.parent().removeClass(s.parent().data("animation-type")),setTimeout(function(){s.parent().addClass(s.parent().data("animation-type")),s.parent().css("visibility","visible")},10)}}),tjq(".toggle-container.with-image").on("shown.bs.collapse",function(t){}),tjq("body").on("click",".alert > .close, .info-box > .close",function(){tjq(this).parent().fadeOut(300)}),tjq("[data-toggle=tooltip]").tooltip(),i(),tjq(".image-carousel").each(function(){displayImageCarousel(tjq(this))}),tjq(".photo-gallery").each(function(){displayPhotoGallery(tjq(this))}),tjq('a[data-toggle="tab"]').on("shown.bs.tab",function(t){var e=tjq(t.target).attr("href");tjq(e).find(".image-carousel").length>0&&displayImageCarousel(tjq(e).find(".image-carousel")),tjq(e).find(".photo-gallery").length>0&&displayPhotoGallery(tjq(e).find(".photo-gallery")),tjq(e).find(".testimonial").length>0&&i(),tjq(e).find(".middle-block").middleblock()}),tjq("body").on("click","a.popup-gallery",function(t){t.preventDefault(),tjq(this).soapPopup({type:"aja
1x",wrapId:"soap-gallery-popup",callBack:function(t){t.wrap.find(".image-carousel").length>0&&displayImageCarousel(t.wrap.find(".image-carousel")),t.wrap.find(".photo-gallery").length>0&&displayPhotoGallery(t.wrap.find(".photo-gallery"))}})}),tjq("body").on("click",".popup-map",function(t){var e=tjq(this).data("box");"undefined"!=typeof e&&(t.preventDefault(),tjq(this).soapPopup({type:"map",zoom:12,wrapId:"soap-map-popup",lngltd:e}))}),tjq("body").on("click",".soap-popupbox",function(t){t.preventDefault();var e=tjq(this).attr("href");"undefined"==typeof e&&(e=tjq(this).data("target")),"undefined"!=typeof e&&(tjq(e).length<1||tjq(this).soapPopup({wrapId:"soap-popupbox"}))}),tjq(".style-changer .design-skins a").click(function(t){t.preventDefault(),tjq(this).closest("ul").children("li").removeClass("active"),tjq(this).parent().addClass("active")}),tjq("#style-changer .style-toggle").click(function(t){t.preventDefault(),tjq(this).hasClass("open")?(tjq("#style-changer").addClass("opened"),tjq(this).removeClass("open"),tjq(this).addClass("close")):(tjq("#style-changer").removeClass("opened"),tjq(this).removeClass("close"),tjq(this).addClass("open"))}),tjq(".filters-container .filters-option a").click(function(t){t.preventDefault(),tjq(this).parent().hasClass("active")?tjq(this).parent().removeClass("active"):tjq(this).parent().addClass("active")}),tjq(".sort-trip a").click(function(t){t.preventDefault(),tjq(this).parent().parent().children().removeClass("active"),tjq(this).parent().addClass("active")}),tjq(".location-reload").click(function(t){t.preventDefault();var e=tjq(this).prop("href").split("#")[0];if(-1!=window.location.href.indexOf(e)){var i=tjq(this).prop("href").split("#")[1];"undefined"!=typeof i&&""!=i&&tjq("a[href='#"+i+"']").length>0&&tjq("a[href='#"+i+"']").tab("show")}else window.location.href=tjq(this).prop("href")}),n(),tjq.fn.fitVids&&tjq(".full-video").fitVids(),tjq(".go-back").click(function(t){t.preventDefault(),window.history.go(-1)});var h=window.location.hash;""!=h&&(h=escape(h.replace("#","")),tjq('a[href="#'+h+'"]').length>0&&setTimeout(function(){tjq('a[href="#'+h+'"]').tab("show")},100)),!stGlobals.isMobileWebkit&&tjq(".parallax").length>0&&tjq.stellar({responsive:!0,horizontalScrolling:!1}),tjq().waypoint&&!stGlobals.isMobile&&tjq(".animated").waypoint(function(){var t=tjq(this).data("animation-type");("undefined"==typeof t||0==t)&&(t="fadeIn"),tjq(this).addClass(t);var e=tjq(this).data("animation-duration");("undefined"==typeof e||0==e)&&(e="1"),tjq(this).css("animation-duration",e+"s");var i=tjq(this).data("animation-delay");"undefined"!=typeof i&&0!=i&&tjq(this).css("animation-delay",i+"s"),tjq(this).css("visibility","visible"),setTimeout(function(){tjq.waypoints("refresh")},1e3)},{triggerOnce:!0,offset:"bottom-in-view"}),tjq().waypoint?tjq(".counters-box").waypoint(function(){tjq(this).find(".display-counter").each(function(){var t=tjq(this).data("value");tjq(this).countTo({from:0,to:t,speed:3e3,refreshInterval:10})}),setTimeout(function(){tjq.waypoints("refresh")},1e3)},{triggerOnce:!0,offset:"100%"}):tjq(".counters-box .display-counter").each(function(){var t=tjq(this).data("value");tjq(this).text(t)}),tjq("body").on("click",function(t){var e=tjq(t.target);e.is(".mobile-topnav .ribbon.opened *")||(tjq(".mobile-topnav .ribbon.opened > .menu").toggle(),tjq(".mobile-topnav .ribbon.opened").removeClass("opened"))}),tjq(".mobile-topnav .ribbon > a").on("click",function(t){if(t.preventDefault(),tjq(".mobile-topnav .ribbon.opened").length>0&&!tjq(this).parent().hasClass("opened")&&(tjq(".mobile-topnav .ribbon.opened > .menu").toggle(),tjq(".mobile-topnav .ribbon.opened").removeClass("opened")),tjq(this).parent().toggleClass("opened"),tjq(this).parent().children(".menu").toggle(200),tjq(this).parent().hasClass("opened")&&tjq(this).parent().children(".menu").offset().left+tjq(this).parent().children(".menu").width()>tjq("body").width()){var e=tjq(this).parent().children(".menu").offset().left+tjq(this).parent().children(".menu").width()-tjq("body").width();e=tjq(this).parent().children(".menu").position().left-e-1,tjq(this).parent().children(".menu").css("left",e+"px")}else tjq(this).parent().children(".menu").css("left","0")}
1),a(),tjq(".items-container.isotope").each(function(){function t(){e.addClass("active").isotope(a,function(){e.css({overflow:"visible"})})}if(tjq.fn.isotope){var e=tjq(this),i=e.siblings(".gallery-filter"),n=i.find("a"),a={layoutMode:"fitRows",itemSelector:".iso-item",animationEngine:"best-available",resizable:!1};n.bind("click",function(){var t=tjq(this),i=t.data("filter");return n.removeClass("active"),t.addClass("active"),a.filter="."+i,e.isotope(a,function(){e.css({overflow:"visible"})}),!1}),tjq(window).on("debouncedresize",function(){e.isotope("reLayout")}),t()}}),tjq(window).resize(function(){tjq(".middle-block").middleblock(),fixPositionMegaMenu(),t(),n(),e(".testimonial"),tjq(".photo-gallery.style2").length>0&&tjq(".photo-gallery.style2").each(function(){var t=tjq(this).find(".slides img").height();tjq(this).find(".flex-control-nav").css("top",t-44+"px")}),a()})});var megamenu_items_per_column=6;fixPositionMegaMenu(),tjq("body").on("click",".travelo-signup-box .signup-email",function(t){t.preventDefault(),tjq(this).closest(".travelo-signup-box").find(".simple-signup").hide(),tjq(this).closest(".travelo-signup-box").find(".email-signup").show(),tjq(this).closest(".travelo-signup-box").find(".email-signup").find(".input-text").eq(0).focus()}),tjq(document).ready(function(){var t=window.location.pathname,e=t.split(/[\/ ]+/).pop(),i=tjq("#main-menu a, #mobile-primary-menu a");i.each(function(){var t=tjq(this),i=t.attr("href"),n=t.parents("li");e==i&&n.addClass("active").siblings().removeClass("active")})});

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.