PageSourceSearch

https://drakeshotel.com/wp-content/themes/cn-theme-child/dist/js/child-app.js

js drakeshotel.com collected 2026-10-05 06:05:42 UTC 4,438 bytes, 1 lines download raw bytes

1!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}!function(e){"use strict";e(".c-navicon").on("click",(function(){e("body").trigger("revealOffcanvas")})),e(".c-page-header__book").click((function(){e("body").toggleClass("header-booking--is-active")})),e(".c-page-header__book--activator").click((function(){e("html, body").addClass("booking-modal--is-active")})),e(".c-booking-modal__close").click((function(){e("html, body").removeClass("booking-modal--is-active")}));e.each([{cssSelector:".c-grid-filter--posts .c-grid-filter__item .c-cta__entry",lineLength:3}],(function(t,n){e(n.cssSelector).each((function(e,t){$clamp(t,{clamp:n.lineLength})}))})),e('a[href*="#"]').not('[href="#"]').not('[href="#0"]').click((function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=e(this.hash);(n=n.length?n:e("[name="+this.hash.slice(1)+"]")).length&&(t.preventDefault(),e("html, body").animate({scrollTop:n.offset().top-185},1e3,(function(){})))}})),e(".c-hero__subheading").each((function(){e(this).html(e(this).text().replace(/([^\x80-\xFF]|\w)/g,"<span class='c-hero__heading-letter'>$&</span>"))})),anime.timeline().add({targets:".c-hero__heading-letter",translateX:[40,0],translateZ:0,opacity:[0,1],easing:"easeOutExpo",duration:1200,autoplay:!1,delay:function(e,t){return 1500+40*t}}),e("html").is(":lang(fr)")&&(e(".c-booking-bar--arrive .c-booking-bar__date").attr("placeholder","Date d’arrivée"),e(".c-booking-bar--depart .c-booking-bar__date").attr("placeholder","Date de départ")),document.getElementById("spapage")&&e("body").addClass("is--spa-page"),new(function(){return t=function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.body=e("body"),this.offcanvasEl=e(".c-offcanvas"),this.menuEl=this.offcanvasEl.find(".c-nav-primary"),this.subMenus=this.menuEl.find(".sub-menu"),this.menuItemsWithChildren=this.menuEl.find(".menu__item--has-children > a"),this.close=this.menuEl.find(".c-offcanvas__close"),this.navicon=e(".c-navicon"),this.createBackButtons(),this.menuItemsWithChildren.on("click",this.revealSubMenu),this.menuEl.on("click",".menu__button",this.hideSubMenu),this.navicon.on("click",this.hideAllSubMenus)},(n=[{key:"revealSubMenu",value:function(t){t.preventDefault(),e(".sub-menu").removeClass("is-active"),e(t.target).parent().find("> .sub-menu").addClass("is-active")}},{key:"hideSubMenu",value:function(t){t.preventDefault(),e(t.target).parent().removeClass("is-active")}},{key:"hideAllSubMenus",value:function(){e(".sub-menu").removeClass("is-active")}},{key:"createBackButtons",value:function(){this.subMenus.each((function(){e(this).prepend('<button class="menu__button"/>')}))}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}())}(jQuery)}]);

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.