PageSourceSearch

https://drakeshotel.com/wp-content/themes/cn-core-theme/dist/js/scrollto.js

js drakeshotel.com collected 2026-10-05 06:05:27 UTC 579 bytes, 1 lines download raw bytes

1var CN=CN||{};CN.ScrollTo=function(e){this.elements={base:e,parent:e.parents(".panel-grid").last()},this.init()},CN.ScrollTo.prototype.init=function(){var n=this;this.elements.base.on("click",function(e){e.preventDefault();var e=$(this).attr("href"),t=$("header.c-page-header").data("scroll-offset"),t=(offset=void 0!==t?t:$("header.c-page-header").height(),("#main-content"===e?0<(t=$(this).parents(".c-smoothscroll")).length?t.find(".c-smoothscroll__section").next():n.elements.parent.next(".panel-grid"):$(e)).offset().top-offset);$("html,body").animate({scrollTop:t},500)})};

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.