PageSourceSearch

https://www.viceroyhotelsandresorts.com/sites/default/files/js/js_…SgtLkw-LEDcpgY7_mkymWf-3bZgaz6nP_T75w23ehk1

js viceroyhotelsandresorts.com collected 2026-10-02 06:00:02 UTC 5,389 bytes, 5 lines download raw bytes

1/* @license MIT https://raw.githubusercontent.com/js-cookie/js-cookie/v3.0.5/LICENSE */
2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o;};}());}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o];}return e;}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof (i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c;}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break;}catch(e){}}return e?o[e]:o;}},remove:function(t,n){r(t,"",e({},n,{expires:-1}));},withAttributes:function(n){return t(this.converter,e({},this.attributes,n));},withConverter:function(n){return t(e({},this.converter,n),this.attributes);}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}});}({read:function(e){return '"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent);}},{path:"/"});return t;}));;
3/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
4(function($,Drupal,cookies){Drupal.behaviors.verb_site_alert={attach:function(context,drupalSettings){if(drupalSettings.verb_site_alert&&drupalSettings.verb_site_alert.dismissedKeys&&drupalSettings.verb_site_alert.cookieExpiration){let $siteAlerts=$('.c-site-alert',context);if(drupalSettings.verb_site_alert.previewMode){$siteAlerts.each(function(){let $siteAlert=$(this);$siteAlert.show();});return;}let dismissedKeysCookie=cookies.get('Drupal.visitor.verb_site_alert_dismissed');let userDismissedKeys=dismissedKeysCookie?JSON.parse(dismissedKeysCookie):Array();$siteAlerts.each(function(){let $siteAlert=$(this);let showAlert=true;
4$.each(userDismissedKeys,function(indexKey,dismissedKey){if(dismissedKey===$siteAlert.attr('data-dismiss-key'))showAlert=false;});if(showAlert){$siteAlert.show();$.event.trigger({type:"onSiteAlertShow",siteAlert:$siteAlert});}});$(once('verb_site_alert','.c-site-alert .c-site-alert__close',context)).on('click',function(e){e.preventDefault();let $siteAlert=$(this).closest('.c-site-alert');userDismissedKeys.push($siteAlert.attr('data-dismiss-key'));var options={};var expiration=drupalSettings.verb_site_alert.cookieExpiration;if(expiration!=='default')options.expires=expiration;options.path=drupalSettings.path.baseUrl;cookies.set('Drupal.visitor.verb_site_alert_dismissed',JSON.stringify(userDismissedKeys),options);if($siteAlert.hasClass('position-top'))$siteAlert.slideUp('normal',function(){$(this).remove();$.event.trigger({type:"onSiteAlertClose",siteAlert:$siteAlert});});else $siteAlert.slideDown('normal',function(){$(this).remove();$.event.trigger({type:"onSiteAlertClose",siteAlert:$siteAlert});});});}}};})(jQuery,Drupal,window.Cookies);;
5(function(Drupal){Drupal.behaviors.accordion={attach:function(context,settings){if(context!==document)return;'use strict';const accordionButtons=document.querySelectorAll('.accordion h3 button, .accordion-item .trigger button');accordionButtons.forEach((button,i)=>{button.setAttribute('id',`accordion${i}id`);button.setAttribute('aria-controls',`sect${i}`);});const accordionPanels=document.querySelectorAll('.accordion-panel, .accordion-item .accordion--body');accordionPanels.forEach((panel,i)=>{panel.setAttribute('id',`sect${i}`);panel.setAttribute('aria-labelledby',`accordion${i}id`);});class Accordion{constructor(domNode){this.rootEl=domNode;this.buttonEl=this.rootEl.querySelector('button[aria-expanded]');const controlsId=this.buttonEl.getAttribute('aria-controls');this.contentEl=document.getElementById(controlsId);this.open=this.buttonEl.getAttribute('aria-expanded')==='true';this.buttonEl.closest('.trigger').addEventListener('click',this.onButtonClick.bind(this));this.focusableEls=this.contentEl.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])');this.focusableEls.forEach((focusable)=>{focusable.setAttribute('tabindex','-1');});}onButtonClick(){this.toggle(!this.open);}toggle(open){if(open===this.open)return;this.open=open;this.buttonEl.setAttribute('aria-expanded',`${open}`);if(open){this.contentEl.removeAttribute('hidden');this.focusableEls.forEach((anchor)=>{anchor.setAttribute('tabindex','0');});}else{this.contentEl.setAttribute('hidden','');this.focusableEls.forEach((focusable)=>{focusable.setAttribute('tabindex','-1');});}}open(){this.toggle(true);}close(){this.toggle(false);}}const accordions=document.querySelectorAll('.accordion h3, .accordion-item .trigger');accordions.forEach((accordionEl)=>{new Accordion(accordionEl);});}};})(Drupal);;

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.