1$(".notie").attr("style","height: 100% !important");if($("body").hasClass("PackageHolderPage")){$(".scrolldown").prop("id","Experience")}if($("body").hasClass("ArticleHolderPage")){$(".scrolldown").prop("id","Blog")}if($("body").hasClass("OfferHolderPage")){$(".scrolldown").prop("id","SpecialOffer")}$("a.nav-menu").click(function(){var PageID=$(this).attr("data-id");localStorage.setItem("someVarKey",PageID)});$("a.relatedTopics").click(function(){var PageID=$(this).attr("data-id");localStorage.setItem("someVarKey",PageID)});var selectedCategory=localStorage.getItem("someVarKey");if(selectedCategory==0||selectedCategory==null){$(".default").addClass("active");$(".menu"+selectedCategory).removeClass("active");$(".Latest").removeClass("active");localStorage.removeItem("someVarKey")}else if(selectedCategory=="Latest"){$(".default").removeClass("active");$(".Latest").addClass("active");$(".menu"+selectedCategory).removeClass("active");localStorage.removeItem("someVarKey")}else{$(".default").removeClass("active");$(".Latest").removeClass("active");$(".menu"+selectedCategory).addClass("active");localStorage.removeItem("someVarKey")}if($(window).width()<700){$(".Experience-mobile").css("display","block");$(".Experience-desktop").css("display","none")}else{$(".Experience-mobile").css("display","none");$(".Experience-desktop").css("display","block")}$(window).resize(function(){if($(window).width()<700){$(".Experience-mobile").css("display","block");$(".Experience-desktop").css("display","none")}else{$(".Experience-mobile").css("display","none");$(".Experience-desktop").css("display","block")}});$(".main-slider-section").slick({slidesToShow:1,slidesToScroll:1,autoplay:false,autoplaySpeed:3e3,pauseOnHover:false,dots:true,arrows:true,fade:false,adaptiveHeight:true,lazyLoad:"ondemand",prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>',responsive:[{breakpoint:768,settings:{arrows:true,dots:true}}]});$(".bristol_slider").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:3e3,dots:true,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>',responsive:[{breakpoint:768,settings:{arrows:true,dots:false}}]});$(".workplace_section").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:3e3,dots:true,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>',responsive:[{breakpoint:768,settings:{arrows:true,dots:false}}]});function responsiveSliders(){if($(window).outerWidth()<768){$(".hotel_images_slider").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:3e3,dots:true,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>'})}else{if($(".hotel_images_slider").hasClass("slick-initialized")){$(".hotel_images_slider").slick("unslick")}}}responsiveSliders();$(window).resize(function(){responsiveSliders()});$(".room_section").slick({slidesToShow:1,slidesToScroll:1,centerMode:true,centerPadding:"7%",autoplay:true,autoplaySpeed:3e3,dots:false,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>',responsive:[{breakpoint:768,settings:{arrows:true,dots:false,centerMode:false,centerPadding:"0%"}}]});$(".offers_slider").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:3e3,dots:false,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>'});$(".vectorImages").slick({slidesToShow:5,slidesToScroll:1,autoplay:true,autoplaySpeed:3e3,dots:false,arrows:true,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:true,dots:true}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1}}],prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>'});$(".membership_slide").slick({infinite:true,slidesToShow:5,slidesToScroll:1,autoplaySpeed:3e3,speed:1e3,autoplay:true,arrows:true,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class ="featured-slideshow--prev gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class ="featured-slideshow--next gallery--slideshow--next__js"></div></button>',responsive:[{breakpoint:1025,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:700,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:575,settings:{slidesToShow:2,slidesToScroll:1}}]});var moretext="Show more <i class='fa fa-plus' aria-hidden='true'></i>";var lesstext="less";var ellipsestext="";function readMore(content,limit,halfcontent,count){$(".guest_section .second-welcome-img").css("display","block");if(content.length>limit){var c=content.substr(0,limit);var h=content.substr(limit-0,content.length-limit);var res=halfcontent.replace(/'/g,"\\'");var fullcontent=content.replace(/'/g,"\\'");var html=c+'<span class="moreellipses">'+ellipsestext+'</span><span class="morecontent"><span>'+h+'</span><br/><a href="javascript:void(0);" class="morelink primary_link" onclick="readLess(\''+fullcontent+"',"+limit+",'"+res+"',"+count+')" >'+lesstext+"</a></span>";$("#replaceCont"+count).html(html)}}function readLess(fullcontent,limit,halfcontent,count){$(".guest_section .second-welcome-img").css("display","none");var fullcontent=fullcontent.replace(/'/g,"\\'");var display_content=halfcontent.replace(/'/g,"'");var halfcontent=halfcontent.replace(/'/g,"\\'");var html='<span class="morecontent">'+display_content+'<br/><a href="javascript:void(0);" class="morelink primary_link" onclick="readMore(\''+fullcontent+"',"+limit+",'"+halfcontent+"',"+count+') " >'+moretext+"</a></span>";$("#replaceCont"+count).html(html)}function readMoreMob(content,limit,halfcontent,count){if(content.length>limit){var c=content.substr(0,limit);var h=content.substr(limit-0,content.length-limit);var res=halfcontent.replace(/'/g,"\\'");var fullcontent=content.replace(/'/g,"\\'");var html=c+'<span class="moreellipses">'+ellipsestext+'</span><span class="morecontent"><span>'+h+'</span><br/><a href="javascript:void(0);" class="morelink primary_link" onclick="readLessMob(\''+fullcontent+"',"+limit+",'"+res+"',"+count+')" >'+lesstext+"</a></span>";$("#replaceContMob"+count).html(html)}}function readLessMob(fullcontent,limit,halfcontent,count){var fullcontent=fullcontent.replace(/'/g,"\\'");var display_content=halfcontent.replace(/'/g,"'");var halfcontent=halfcontent.replace(/'/g,"\\'");var html='<span class="morecontent"><span>'+display_content+'...</span><br/><a href="javascript:void(0);" class="morelink primary_link" onclick="readMoreMob(\''+fullcontent+"',"+limit+",'"+halfcontent+"',"+count+') " >'+moretext+"</a></span>";$("#replaceContMob"+count).html(html)}jQuery(document).ready(function($){if($("body").hasClass("HomePage")){if($(".berkeley_suits").find(".home_Berkeley").length>0){$(".home_Berkeley h2").after('<div class="ratings"><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><div>')}}$(window).scroll(function(){if($(window).scrollTop()>200){$(".header").addClass("sticky")}else{$(".header").removeClass("sticky")}});function toogleSubmenu(){if($(window).outerWidth()<992){$(".header--main-navigation--item").
1click(function(){console.log($(this).children("a").prop("className"));$(this).children("ul").toggle();if($(this).children("ul").hasClass("toggledOn")){$(this).children("ul").removeClass("toggledOn");$(this).children("i").removeClass("roTate");$(this).children("a").removeClass("currentToggle")}else{$(this).children("ul").addClass("toggledOn");$(this).children("i").addClass("roTate");$(this).children("a").addClass("currentToggle")}})}else{$(".dropdown > .header--main-navigation--item-link ~ ul, .dropdown > .header--main-navigation--item-link ul, .subToogle ~ .sub-menu").attr("style","");$(".dropdown > .header--main-navigation--item-link ~ ul, .dropdown > .header--main-navigation--item-link ul").removeClass("toggledOn");$(".dropdown > .header--main-navigation--item-link, .subToogle").removeClass("roTate")}}toogleSubmenu();$(".nav-link.down").click(function(e){if(!$(this).parent("li").hasClass("visible")){e.preventDefault()}});$("#museum").click(function(){var zoomLevel=15;var locations=[["Aerospace",51.5177391,-2.582635,"Hayes Way, Patchway, Bristol, BS34 5BZ",0],["We The Curious",51.4504981,-2.6023065,"Anchor Road, Harbourside, Bristoal, BS1 5DB",1],["Bristol Museum & Art Gallery",51.4561873,-2.6081184,"Queens Road, West End, Bristol, BS8 1RL",0],["Spike Island",51.446878,-2.6127847,"133 Cumberland Road, Bristol, BS1 6UX",0],["M Shed",51.4476485,-2.6004231,"Princes Wharf, Wapping Road, Bristol, BS1 4RN",1],["Arnolfini",51.4493123,-2.5995628,"16 Narrow Quay, Harbourside, Bristol, BS1 4QA",0],["RWA",51.458091,-2.6107437,"Queens Road, Clifton, West End, Bristol, BS8 1PX",0]];setMarkersInMap(locations,zoomLevel)});$("#attraction").click(function(){var zoomLevel=15;var locations=[["Bristol Zoo Gardens",51.463907,-2.622011,"College Rd, Clifton, Bristol BS8 3HA",0],["Bristol Old Vic Theatre",51.452698,-2.594385,"King St, Bristol BS1 4ED",1],["Clifton Suspension Bridge",51.4549089,-2.630044,"Bridge Rd, Leigh Woods, Bristol BS8 3PA",0],["Clifton Downs",51.4693402,-2.6281668,"Stoke Rd, Clifton, Bristol BS9 1FG",0],["Bristol University",51.458448,-2.60284,"105 Queens Rd, Clifton, Bristol BS8 1LN",1],["Victoria Rooms",51.4583637,-2.6118076,"88 Queens Rd, Clifton, Bristol BS8 1SA",0],["SS Great Britain",51.4492898,-2.6103102,"Great Western Dockyard, Gas Ferry Rd, Bristol BS1 6TY",0],["Wapping Wharf",51.4474999,-2.5989377,"Wapping Road, Bristol, BS1 4RW",0],["Temple Meads",51.4501913,-2.580565,"Redcliffe, Bristol BS1 6QF",0],["Bristol Aquarium",51.4507418,-2.6012224,"Anchor Road, Harbourside, Bristol, Avon, BS1 5TT",1],["St George's Bristol",51.4542704,-2.60579,"Great George Street, off Park Street, West End, Bristol, BS1 5RR",0],["Bristol Beacon",51.454493,-2.600459,"Colston Street, Bristol, BS1 5AR",0],["Cabot Circus",51.4583703,-2.586803,"Broadmead, Bristol BS1 3BX",1],["Park Street",51.4555222,-2.6062402,"Park Street, Bristol, BS1 5PJ",0],["Wills Memorial Building",51.4560277,-2.6067606,"Queens Rd, Bristol BS8 1QE",0]];setMarkersInMap(locations,zoomLevel)});function setMarkersInMap(locations,zoomLevel){var marker,i;var infowindow=new google.maps.InfoWindow;var mapOptions={center:new google.maps.LatLng(51.459007,-2.610199),zoom:zoomLevel,mapTypeId:google.maps.MapTypeId.ROADMAP};var map=new google.maps.Map(document.getElementById("gMAP"),mapOptions);for(i=0;i<locations.length;i++){var customIcon="";var positions=new google.maps.LatLng(locations[i][1],locations[i][2]);marker=new google.maps.Marker({position:positions,map:map});google.maps.event.addListener(marker,"click",function(marker,i){return function(){infowindow.setContent(locations[i][0]+"<br>"+locations[i][3].split(",").join("<br>"));infowindow.open(map,marker)}}(marker,i))}var hotelMarker,j;var baseHref=$("base").first().attr("href");var imagesDir=baseHref+"themes/default/images/icons/hotelmapicons/";var hotelLocations=[["The Washington Guesthouse BS8 1LX",51.4591049,-2.6100816,1],["The Clifton Hotel BS8 1LX",51.4587323,-2.6131626,2],["The Rodney Hotel BS8 4HY",51.4555311,-2.6198179,3],["Berkeley Suites BS8 1HA",51.4557549,-2.6067899,4],["The Berkeley Square Hotel BS8 1HB",51.455298,-2.606603,4]];for(j=0;j<hotelLocations.length;j++){var customIcon="";if(hotelLocations[j][3]==1){var img=imagesDir+"marker.washington.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[j][3]==2){var img=imagesDir+"marker.clifton.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[j][3]==3){var img=imagesDir+"marker.rodney.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[j][3]==4){var img=imagesDir+"marker.bsq.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}var positions=new google.maps.LatLng(hotelLocations[j][1],hotelLocations[j][2]);hotelMarker=new google.maps.Marker({position:positions,map:map,icon:customIcon});google.maps.event.addListener(hotelMarker,"click",function(hotelMarker,j){return function(){infowindow.setContent(hotelLocations[j][0]);infowindow.open(map,hotelMarker)}}(hotelMarker,j))}}function setHotelsMarkersInMap(){var marker,i,lat,lng;var slashPosition=$(location).attr("href").lastIndexOf("/");var hotelName=$(location).attr("href").slice(slashPosition+1);var baseHref=$("base").first().attr("href");var imagesDir=baseHref+"themes/default/images/icons/hotelmapicons/";if(hotelName=="washington"){lat=51.4590146;lng=-2.6167263}if(hotelName=="clifton-bristol-city-centre"){lat=51.458729;lng=-2.6175399}if(hotelName=="rodney"){lat=51.4555311;lng=-2.6263839}if(hotelName=="berkeley-suites"){lat=51.4557549;lng=-2.6133559}if(hotelName=="berkeley-square"){lat=51.455298;lng=-2.613169}var infowindow=new google.maps.InfoWindow;var hotelLocations=[["The Washington Guesthouse BS8 1LX",51.4591049,-2.6100816,1],["The Clifton Hotel BS8 1LX",51.4587323,-2.6131626,2],["The Rodney Hotel BS8 4HY",51.4555311,-2.6198179,3],["Berkeley Suites BS8 1HA",51.4557549,-2.6067899,4],["The Berkeley Square Hotel BS8 1HB",51.455298,-2.606603,4]];var mapOptions={center:new google.maps.LatLng(lat,lng),zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP};var map=new google.maps.Map(document.getElementById("gMAP"),mapOptions);if(lat&&lng){for(i=0;i<hotelLocations.length;i++){var customIcon="";if(hotelLocations[i][3]==1){var img=imagesDir+"marker.washington.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[i][3]==2){var img=imagesDir+"marker.clifton.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[i][3]==3){var img=imagesDir+"marker.rodney.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}if(hotelLocations[i][3]==4){var img=imagesDir+"marker.bsq.png";customIcon=new google.maps.MarkerImage(img,null,null,null,new google.maps.Size(23,33))}var positions=new google.maps.LatLng(hotelLocations[i][1],hotelLocations[i][2]);marker=new google.maps.Marker({position:positions,map:map,icon:customIcon});google.maps.event.addListener(marker,"click",function(marker,i){return function(){infowindow.setContent(hotelLocations[i][0]);infowindow.open(map,marker)}}(marker,i))}}}if($("body").hasClass("PropertyPage")){setHotelsMarkersInMap()}var viewStarsAry=[];$(".viewStars1").each(function(i){var id=$(this).attr("id").split("_")[1];viewStarsAry.push(id)});viewStarsAry=viewStarsAry.filter(item=>item);var keyAry=[];$(".viewStars1").each(function(i){var key=$(this)[0].classList[1].split("_")[1];keyAry.push(key)});keyAry=keyAry.filter(function(itm,i,keyAry){return i==keyAry.indexOf(itm)});keyAry=keyAry.filter(item=>item);keyAry.sort();var result=viewStarsAry.reduce(function(result,field,index){result[keyAry[index]]=field;return result},{});function printStars(){var len=viewStarsAry.length;$.each(result,function(key,value){var starArray=[];var stars=value;if(stars>0&&stars<=5){for(var i=1;i<=stars;i++){starArray.push('<i class="fa fa-star" aria-hidden="true"></i>')}}if(starArray.length>0){$(".appendStars_"+key).append(starArray)}})}printStars()});$(".stopRedirect").click(function(e){e.preventDefault()});$("#expshowmore").click(function(e){$(".Experience-mobile").css("display","none");$(".Experience-desktop").css("display","block")});$(".ratings").each(function(i){let id=$(this).attr("data-id");let hotelRatingArr=[];for(let i=1;i<=id;i++){hotelRatingArr.push('<i class="fa fa-star" aria-hidden="true"></i>')}if(hotelRatingArr.length){$(this).html(hotelRatingArr)}});$("#HotelSlider").slick({slidesToShow:3,slidesToScroll:1,autoplay:false,infinite:true,autoplaySpeed:3e3,dots:false,arrows:true,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:true,dots:true}},{breakpoint:770,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:575,settings:{slidesToShow:1,slidesToScroll:1}}],prevArrow:'<button class="slick-prev" aria-label="Previous" type="button"><div class =" gallery--slideshow--prev__js"></div></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><div class =" gallery--slideshow--next__js"></div></button>'});$(document).ready(function(){const $toggleBtn=$(".mobile-tablet-whyBookDirectTitle .toggle-btn");const $benefits=$(".whyBookDirectBenefits");if($toggleBtn.length&&$benefits.length){$toggleBtn.on("click",function(){const expanded=$(this).attr("aria-expanded")==="true";$(this).attr("aria-expanded",!expanded);$(this).text(expanded?"+":"â");$benefits.toggleClass("active")})}});jQuery(function($){var cleanURL=cleanPath(window.location.href.toLowerCase());console.log("Clean URL:",cleanURL);var interval=setInterval(function(){var $select=$("#wis2-chain");var $chosenUI=$("#wis2_chain_chosen");if(!$select.length||!$chosenUI.length)return;var bestMatch={score:0,value:null,text:null};$select.find("option").each(function(){var optionText=$(this).text().trim().toLowerCase();if(!optionText)return;var words=optionText.split(/\s+/);var ignoreWords=["the","hotel","guesthouse","and","city","centre"];words=words.filter(w=>!ignoreWords.includes(w));if(!words.length)return;var score=0;if(cleanURL.includes(optionText.replace(/\s+/g,"-"))){score+=10}words.forEach(function(w){if(cleanURL.includes(w))score+=2});if(cleanURL.includes(words[0])){score+=3}if(score>bestMatch.score){bestMatch.score=score;bestMatch.text=optionText;bestMatch.value=$(this).val()}});if(bestMatch.value){console.log("Matched:",bestMatch.text);$select.val(bestMatch.value);var text=bestMatch.text;$chosenUI.find(".chosen-single span").text(text);$chosenUI.find(".chosen-results li").removeClass("result-selected").each(function(){if($(this).text().trim().toLowerCase()===text){$(this).addClass("result-selected")}});$select.trigger("change");clearInterval(interval)}},300);function cleanPath(fullURL){try{var path=new URL(fullURL).pathname.toLowerCase()}catch(e){var path=fullURL.toLowerCase()}return path.split("?")[0].split("#")[0].replace(/^\/+|\/+$/g,"")}var BtnChangeinterval=setInterval(function(){var checkBtn=$("#wis2-open-booking");var bookingBar=$(".wis2-panel.wis2-panel--horizontal");if(checkBtn.length&&bookingBar.length){checkBtn.attr("class","booking-form--book btn btn-primary booking-btn");bookingBar.css("font-size","17px");clearInterval(BtnChangeinterval)}},300);var faqItems=document.querySelectorAll(".faq_item");
1faqItems.forEach(function(item){var question=item.querySelector(".faq_question");var answer=item.querySelector(".faq_answer");if(!question||!answer){return}question.addEventListener("click",function(event){event.preventDefault();if(item.hasAttribute("open")){answer.style.height=answer.scrollHeight+"px";answer.offsetHeight;answer.style.height="0px";answer.style.opacity="0";answer.addEventListener("transitionend",function handler(event){if(event.propertyName!=="height"){return}item.removeAttribute("open");answer.removeEventListener("transitionend",handler)})}else{item.setAttribute("open","");answer.style.height="0px";answer.style.opacity="0";answer.offsetHeight;answer.style.height=answer.scrollHeight+"px";answer.style.opacity="1";answer.addEventListener("transitionend",function handler(event){if(event.propertyName!=="height"){return}answer.style.height="auto";answer.removeEventListener("transitionend",handler)})}})})});
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.