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($,cookies,Drupal,drupalSettings,once){'use strict';Drupal.behaviors.modalPage={attach:function(context,settings){var modals=$('.js-modal-page-show',context);if(!modals.length)return false;var verify_load_bootstrap_automatically=true;if(typeof settings.modal_page!='undefined'&&settings.modal_page.verify_load_bootstrap_automatically!='undefined')verify_load_bootstrap_automatically=settings.modal_page.verify_load_bootstrap_automatically;if(!$.fn.modal&&!window.bootstrap&&verify_load_bootstrap_automatically)$.ajax({url:"/modal-page/ajax/enable-bootstrap",dataType:"json",success:function(result){if(result.success)location.reload();else console.error('Failed to enable Bootstrap:',result.message);},error:function(xhr,status,error){console.error('Ajax error occurred:',error);}});$(modals).each(function(index){var modal=$(this);var checkbox_please_do_not_show_again=$('.modal-page-please-do-not-show-again',modal);var id_modal=$('#modal_id',modal).val();var show_once=$(modal).find('#show_once').val();var prevent_default=modal.data('modal-options').prevent_default||false;if(show_once!="1")cookies.remove('hide_modal_id_'+id_modal);var hide_modal_cookie=cookies.get('hide_modal_id_'+id_modal)||cookies.get('please_do_not_show_again_modal_id_'+id_modal);if(hide_modal_cookie)return;var auto_open=true;if(typeof modal.data('modal-options').auto_open!='undefined'&&typeof modal.data('modal-options').auto_open!='undefined')auto_open=modal.data('modal-options').auto_open;modal.on('shown.bs.modal',function(){$(this).find(".js-modal-page-ok-button").first().focus();var auto_hide=$(modal).find('#auto_hide').val();var auto_hide_delay=$(modal).find('#auto_hide_delay').val();if(auto_hide=="1")setTimeout(function(){$(modal).modal('hide');},auto_hide_delay*1000);});modal.on('hide.bs.modal',function(){if(show_once=="1")cookies.set('hide_modal_id_'+id_modal,true,{expires:365*20,path:'/'});});modal.on('keydown',function(e){var eventKey=e.key||e.which;var lastElement=$(this).find('.js-modal-page-ok-button').last().is(':focus');var firstElement=$(this).find(".js-modal-page-ok-button").first().is(':focus');if(eventKey==='Escape'&&!e.shiftKey&&lastElement){e.preventDefault();$(this).find(".js-modal-page-ok-button").first().focus();}else{if(eventKey==='Escape'&&e.shiftKey&&firstElement){e.preventDefault();$(this).find(".js-modal-page-ok-button").last().focus();}}});if(auto_open==true){var offsetHeight=$(modal).find('#height_offset').val();if(offsetHeight){if($(document).height()==$(window).height()){modal.modal();$(document).off(namespace);return;}var namespace='.'+$(modal).attr('aria-describedby');if(!$.isNumeric(offsetHeight))offsetHeight=offsetHeight.slice(0,-1);else offsetHeight=(offsetHeight/$(document).height())*100;$(document).on('scroll'+namespace,function(){var offsetTouch=$(modal).find('#height_offset').attr('offset-type');var positionY=Math.round(($(window).scrollTop()/($(document).height()-$(window).height()))*100);var windowPercentage=Math.round(($(window).height()/$(document).height())*100);positionY=positionY+(offsetTouch*windowPercentage);if(positionY>=offsetHeight){modal.modal();$(document).off(namespace);}});}else{var delay=$(modal).find('#delay_display').val()*1000;setTimeout(function(){if(drupalSettings.modal_page.bootstrap_version=="3x")modal.modal();else modal.modal('show');},delay);}}$('.open-modal-page',modal).on('click',function(e){if(prevent_default)e.preventDefault();if(drupalSettings.modal_page.bootstrap_version=="3x")modal.modal();else modal.modal('show');});if(typeof modal.data('modal-options').open_modal_on_element_click!='undefined'&&modal.data('modal-options').open_modal_on_element_click){var link_open_modal=modal.data('modal-options').open_modal_on_element_click;$(link_open_modal).on('click',function(e){if(prevent_default)e.preventDefault();if(drupalSettings.modal_page.bootstrap_version=="3x")modal.modal();else modal.modal('show');});}var ok_button=$('.js-modal-page-ok-button',modal);ok_button.on('click',function(){if(checkbox_please_do_not_show_again.is(':checked')){var cookieTime=$(modal).find('#cookie_expiration').val();var cookieSettings={path:'/'};if(!cookieTime)cookieSettings.expires=10000;else{if(cookieTime>0)cookieSettings.expires=parseInt(cookieTime);}cookies.set('please_do_not_show_again_modal_id_'+id_modal,true,cookieSettings);}modal.modal('hide');var modalElement=$('.js-modal-page-ok-button',modal).parents('#js-modal-page-show-modal');
4var urlModalSubmit="/modal/ajax/hook-modal-submit";var modalOptions=modalElement.data('modal-options');var modalId=modalOptions.id;var dontShowAgainOption=modalElement.find('.modal-page-please-do-not-show-again').is(':checked');var modalState=new Object();modalState.dont_show_again_option=dontShowAgainOption;var params=new Object();params.id=modalId;params.modal_state=modalState;$.post(urlModalSubmit,params,function(result){if(result.success){var redirect=modalElement.find('.modal-buttons .js-modal-page-ok-button').attr('data-redirect');if(typeof redirect!='undefined'&&redirect.length>0)window.location.assign(redirect);}else console.error('Modal Ajax submit error:',result.message);},"json");});});}};Drupal.behaviors.modalPageMaximize={attach:function(context){let modals=$('.js-modal-page-show',context);if(!modals.length)return false;let maximize=once('modalPageMaximize','.js-modal-page-maximize-button',context);maximize.forEach(function(el){$(el).on('click',function(){$(el).closest('.modal',context).toggleClass('maximized-container');$(el).closest('.modal-page-dialog',context).toggleClass('maximized');$(el).find('#modal-maximize',context).toggle();$(el).find('#modal-minimize',context).toggle();});});}};})(jQuery,window.Cookies,Drupal,drupalSettings,once);;
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.