PageSourceSearch

https://h10hotelspro.h10hotels.com/resources/7A7766262A67A8613433F…/ctlSearchLinks/js/ctlSearchLinks.min.js

js h10hotels.com collected 2026-10-01 11:40:52 UTC 2,601 bytes, 1 lines download raw bytes

1var searchLinks={init:function(e,l,i,n){return window.$jbe[e]={placeholderselector:".searchlinks."+l,$placeholder:$(this.placeholderselector),hide:function(){this.$placeholder.length>0&&this.$placeholder.hide()},show:function(){this.$placeholder.length>0&&this.$placeholder.find(".searchlinks__list-item").length>0&&this.$placeholder.show()},showInResults:function(){if(this.$placeholder.length>0){for(var e in this.$placeholder)if("number"==typeof e&&null!=this.$placeholder[e].closest(".main-content")&&"undefined"!=this.$placeholder[e].closest(".main-content")){$("#results-list").append(this.$placeholder[e]);break}this.show()}},toggle:function(){this.$placeholder.length>0&&(this.$placeholder.toggleClass("searchlinks--expanded").find(".searchlinks__widget, .searchlinks__group").slideToggle(),this.$placeholder.find(".searchlinks__widget-toggle .glyphicon").toggleClass("glyphicon-menu-up").toggleClass("glyphicon-menu-down"),this.$placeholder.find(".searchlinks__more-title").text($.i18n.get(this.$placeholder.hasClass("searchlinks--expanded")?"Less":"More")))},addHtml:function(e){var l=this;this.$placeholder.length>0&&($(e).hide().prependTo(l.$placeholder.find(".searchlinks__list.visible")).slideDown(),l.$placeholder.find(".searchlinks__list-item").length>0&&l.$placeholder.slideDown())},removeByGUID:function(e){var l=this;if(l.$placeholder.length>0){var i=l.$placeholder.find('.searchlinks__list-item[data-fav-guid="'+e+'"]');i.length>0&&i.slideUp(400,function(){i.remove(),0==l.$placeholder.find(".searchlinks__list-item").length&&l.$placeholder.slideUp()})}},removeAll:function(){var l=this;$.modal.show({content:$.i18n.get("are you sure to remove links").replace("{0}",l.$placeholder.find(".searchlinks__list-item").length),title:$.i18n.get("clear all"),buttons:[{buttonName:$.i18n.get("Borrar"),style:["btn","btn-primary"],callback:function(){return $.modal.hide(),"function"==typeof n&&n(function(){$.each(l.$placeholder.find(".searchlinks__list-item"),function(l,i){var n=$(i).data("fav-guid");window.$jbe[e].removeByGUID(n)})}),!1}},{buttonName:$.i18n.get("cancelar"),style:["btn","btn-quaternary"]}]})},init:function(){var e=this;e.$placeholder=$(e.placeholderselector),e.$placeholder.find(".searchlinks__widget-toggle").on("click",function(){e.toggle()}),e.$placeholder.find(".searchlinks__header-clear").on("click",function(){e.removeAll()}),$(document).on("click",this.placeholderselector+" .remove-searchlink",function(e){"function"==typeof i&&i(e)}),0==e.$placeholder.find(".searchlinks__list-item").length&&e.$placeholder.slideUp()}},window.$jbe[e].init(),window.$jbe[e]}};

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.