PageSourceSearch

https://skycostanera.cl/sites/sky/files/js/js_PPCNxrHmYQ4WiAWbUsnM…315hrUk7DFyjxW-8F9ksm38N8uoer6U1_q5_AB4vhsw

js skycostanera.cl collected 2026-10-02 10:35:51 UTC 208,440 bytes, 38 lines download raw bytes

vendor: 4,983 bytes, lines 1-7
1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7window.drupalTranslations={"strings":{"":{"An AJAX HTTP error occurred.":"Hubo un error HTTP AJAX.","HTTP Result Code: !status":"C\u00f3digo de Resultado HTTP: !status","An AJAX HTTP request terminated abnormally.":"Una solicitud HTTP de AJAX termin\u00f3 de manera anormal.","Debugging information follows.":"A continuaci\u00f3n se detalla la informaci\u00f3n de depuraci\u00f3n.","Path: !uri":"Ruta: !uri","StatusText: !statusText":"StatusText: !statusText","ResponseText: !responseText":"ResponseText: !responseText","ReadyState: !readyState":"ReadyState: !readyState","CustomMessage: !customMessage":"CustomMessage: !customMessage","Please wait...":"Espere, por favor...","The response failed verification so will not be processed.":"La respuesta de verificaci\u00f3n fall\u00f3, por lo que no se procesar\u00e1.","The callback URL is not local and not trusted: !url":"La URL de callback (llamada) no es local y no es confiable: !url","Changed":"Modificado","Hide":"Ocultar","Show":"Mostrar","List additional actions":"Lista adicional de acciones","New revision":"Nueva revisi\u00f3n","No revision":"Sin revisi\u00f3n","Needs to be updated":"Necesita ser actualizado","Does not need to be updated":"No necesita ser actualizado","Flag other translations as outdated":"Marcar las otras traducciones como obsoletas","Do not flag other translations as outdated":"No marcar las otras traducciones como obsoletas","Edit":"Editar","Status message":"Mensaje de estado","Error message":"Mensaje de error","Warning message":"Mensaje de advertencia","You have unsaved changes.":"Hay cambios sin guardar.","Hide row weights":"Ocultar pesos de la fila","Show row weights":"Mostrar pesos de la fila","Drag to re-order":"Arrastre para reordenar","Show all columns":"Mostrar todas las columnas","Hide lower priority columns":"Ocultar columnas de menor prioridad","Show table cells that were hidden to make the table fit within a small screen.":"Mostrar celdas de tablas que estaban ocultas para que la tabla se ajuste a una pantalla peque\u00f1a.","Select all rows in this table":"Seleccionar todas las filas de esta tabla","Deselect all rows in this table":"Quitar la selecci\u00f3n a todas las filas de esta tabla","(active tab)":"(solapa activa)","1 block is available in the modified list.\u0003@count blocks are available in the modified list.":"1 bloque esta disponible en la lista modificada.\u0003@count bloques est\u00e1n disponibles en la lista modificada.","Not restricted":"Sin restricci\u00f3n","Restricted to certain pages":"Restringido a algunas p\u00e1ginas","The block cannot be placed in this region.":"El bloque no se puede colocar en esta regi\u00f3n.","Rich Text Editor, !label field":"Editor de texto con formato, campo !label","Loading...":"Cargando...","Link":"Enlace","Unlink":"Desvincular","Edit Link":"Editar enlace","Save":"Guardar","Cancel":"Cancelar","Button @name has been copied to the active toolbar.":"El bot\u00f3n @name se hacopiado a la barra de herramientas activa.","Button @name has been removed from the active toolbar.":"El bot\u00f3n @name se ha eliminado de la barra de herramientas activa.","Wrapping":"Envoltorio","Available buttons":"Botones disponibles","Button divider":"Bot\u00f3n divisor","Active toolbar":"Barra de herramientas activa","No styles configured":"Ning\u00fan estilo configurado","Open":"Abierta","Close":"Cerrar","@action @title configuration options":"@action @title opciones de configuraci\u00f3n","Tabbing is no longer constrained by the C
7ontextual module.":"Tabulando (Tabbing) ya no se ver\u00e1 limitado por el m\u00f3dulo Contextual (Contextual).","Tabbing is constrained to a set of @contextualsCount and the edit mode toggle.":"La tabulaci\u00f3n est\u00e1 restringida a un conjunto de @contextualsCount y al cambio a modo de edici\u00f3n.","Press the esc key to exit.":"Presionar tecla esc para salir.","@count contextual link\u0003@count contextual links":"@count enlace contextual\u0003@count enlaces contextuales","Changing the text format to %text_format will permanently remove content that is not allowed in that text format.\u003Cbr\u003E\u003Cbr\u003ESave your changes before switching the text format to avoid losing data.":"Cambiar el formato de texto a %text_format eliminar\u00e1 permanentemente el contenido que no est\u00e1 permitido en ese formato de texto.\u003Cbr\u003E\u003Cbr\u003EGuarde sus datos antes de cambiar el formato de texto para evitar perder datos.","Change text format?":"\u00bfCambiar el formato de texto?","Continue":"Continuar","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"El archivo seleccionado %filename no se puede subir al servidor. Solo se permiten archivos con las siguientes extensiones: %extensions.","Enabled":"Activado","Disabled":"Desactivado","Hide description":"Esconder descripci\u00f3n","Show description":"Mostrar descripci\u00f3n","Changes made in this table will not be saved until the form is submitted.":"Los cambios realizados en esta tabla no se guardar\u00e1n hasta que se env\u00ede el formulario","By @name on @date":"Por @name en @date","By @name":"Por @name","Authored on @date":"Escrito el @date","An error occurred while trying to preview the media. Please save your work and reload this page.":"Se produjo un error al intentar obtener una vista previa del medio. Guarde su trabajo y vuelva a cargar esta p\u00e1gina.","Edit media":"Editar contenido multimedia","Embedded media":"Medios incorporados","Caption":"Etiqueta","Enter caption here":"Especifique el t\u00edtulo aqu\u00ed","Not published":"No publicado","Loading grid view.":"Cargando vista de cuadr\u00edcula.","Changed to grid view.":"Cambiado a vista de cuadricula.","Loading table view.":"Cargando vista de tabla.","Changed to table view.":"Cambiado a vista de tabla.","1 item selected\u0003@count items selected":"1 elemento seleccionado\u0003@count elementos seleccionados","All @count items selected":"Todos los @count elementos seleccionados","Zero items selected":"Cero elementos seleccionados","Select all media":"Seleccionar todos los elementos multimedia","Show media item weights":"Muestra los pesos de los elementos de contenido multimedia","Hide media item weights":"Oculta los pesos de los elementos de contenido multimedia","Insert from Media Library":"Insertar desde la biblioteca de medios","Not in menu":"No est\u00e1 en un men\u00fa","Not promoted":"No publicado en p\u00e1gina principal","Alias: @alias":"Alias: @alias","No alias":"Sin alias","Your changes to \u003Cq\u003E@entity-title\u003C\/q\u003E could not be saved, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"Los cambios en \u003Cq\u003E@entity-title\u003C\/q\u003E no podr\u00e1n salvarse, debido a un problema en el sitio web o un problema de conexi\u00f3n de red.\u003Cbr\u003EPor favor, int\u00e9ntelo de nuevo.","Network problem!":"Problema de red!","Quick edit":"Edici\u00f3n r\u00e1pida","Alternative text":"Texto alternativo","Title":"T\u00edtulo","OK":"OK","Could not load the form for \u003Cq\u003E@field-label\u003C\/q\u003E, either due to a website problem or a network connection problem.\u003Cbr\u003EPlease try again.":"No se pudo cargar el formulario para \u003Cq\u003E@field-label\u003C\/q\u003E, ya sea debido a un problema en el sitio, ya por un problema de conexi\u00f3n de red.\u003Cbr\u003EPor favor, int\u00e9ntelo de nuevo.","You have unsaved changes":"Usted tiene cambios no guaradados","Discard changes?":"\u00bfDescartar cambios?","Discard changes":"\u00bfDescartar cambios?","Saving":"Guardando","Editing":"Editando","Exited edit mode.":"Ha salido del modo de edici\u00f3n.","!modules modules are available in the modified list.":"!modules m\u00f3dulos est\u00e1n disponibles en la lista modificada.","Hide summary":"Ocultar resumen","Edit summary":"Editar resumen","Home":"Inicio","The toolbar cannot be set to a horizontal orientation when it is locked.":"La barra de herramientas no puede ser puesta en orientaci\u00f3n horizontal cuando esta bloqueada.","Horizontal orientation":"Orientaci\u00f3n horizontal","Vertical orientation":"Orientaci\u00f3n vertical","Extend":"Ampliar","Collapse":"Plegar","@label":"@label","Tray orientation changed to @orientation.":"La orientaci\u00f3n de la bandeja se ha cambiado a @orientation.","closed":"cerrado","opened":"abierto","Tray \u0022@tray\u0022 @action.":"Bandeja \u0022@tray\u0022 @action","Tray @action.":"Bandeja @action.","!tour_item of !total":"!tour_item de !total","End tour":"Final del recorrido","Next":"Siguiente","This permission is inherited from the authenticated user role."
7:"Este permiso se hereda del rol de usuario registrado.","Add":"Agregar","Remove group":"Eliminar grupo","Apply (all displays)":"Aplicar (todas las presentaciones)","Revert to default":"Volver a los valores predeterminados","Apply (this display)":"Aplicar (esta presentaci\u00f3n)","All pages with exceptions":"Todas las p\u00e1ginas con excepciones","Excepted: @roles":"Exceptuando: @roles","Not customizable":"No personalizable","On by default with opt out":"Activado por defecto con opci\u00f3n de desactivar","Off by default with opt in":"Desactivado por defecto con elecci\u00f3n de activar","Outbound links":"Enlaces salientes","Mailto links":"Enlaces de Correo electr\u00f3nico","Downloads":"Descargas","Colorbox":"Colorbox","Link attribution":"Atribuci\u00f3n de enlace","URL fragments":"Fragmentos de URL","Not tracked":"No monitorizado","@items enabled":"@items activado","Site search":"B\u00fasqueda en el sitio","AdSense ads":"Anuncios de AdSense","Display features":"Caracter\u00edsticas de la presentaci\u00f3n","A single domain":"Un \u00fanico dominio","One domain with multiple subdomains":"Un dominio con m\u00faltiples subdominios","Multiple top-level domains":"M\u00faltiples dominios de nivel superior","Anonymize IP":"Anonimizar IP","No privacy":"Sin privacidad","Refresh":"Actualizar","Date":"Fecha","Height":"Alto","Width":"Ancho","Size":"Tama\u00f1o","Name":"Nombre","root":"ra\u00edz","Select":"Seleccionar","Only files with the following extensions are allowed: %files-allowed.":"S\u00f3lo se permiten archivos con las siguientes extensiones: %files-allowed.","@size KB":"@size KB","@size MB":"@size MB","1 byte\u0003@count bytes":"1 byte\u0003@count bytes","1 item\u0003@count items":"1 elemento\u0003@count elementos","Delete":"Eliminar","Create":"Crear","Resize":"Redimensionar","Upload":"Subir al servidor","File":"File","Requires a title":"Necesita un t\u00edtulo","Don\u0027t display post information":"No mostrar informaci\u00f3n del env\u00edo","Automatic alias":"Alias autom\u00e1tico","Change orientation":"Cambiar orientaci\u00f3n","Portrait":"Vertical","Landscape":"Apaisado","Scheduled for publishing":"Estilo de panel para \u0022!pane\u0022","Scheduled for unpublishing":"Planificado para ser despublicado","Not scheduled":"No planificado","Publishing enabled":"Publicaci\u00f3n activada","Unpublishing enabled":"Anular la publicaci\u00f3n habilitado","Insert this token into your form":"Inserte este comod\u00edn en su formulario","First click a text field to insert your tokens into.":"Primero haga clic en un campo de texto en el que quiera insertar sus patrones de reemplazo.","Collapse all":"Ocultar todo","Expand all":"Expandir todo","item":"elemento","items":"elementos"}},"pluralFormula":{"1":0,"default":1}};;
8(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();;
9window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}
9).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
10if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
11Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
12(($,Drupal,window)=>{Drupal.behaviors.MediaLibraryItemSelectionClaro={attach(){if(!once('media-library-selection-info-claro-event','html').length)return;window.addEventListener('dialog:aftercreate',(e)=>{const $element=$(e.target);
12const moveCounter=($selectedCount,$buttonPane)=>{const $moveSelectedCount=$selectedCount.detach();$buttonPane.prepend($moveSelectedCount);};const $buttonPane=$element.closest('.media-library-widget-modal').find('.ui-dialog-buttonpane');if(!$buttonPane.length)return;const $selectedCount=$buttonPane.find('.js-media-library-selected-count');if($selectedCount.length)moveCounter($selectedCount,$buttonPane);else{const selectedCountObserver=new MutationObserver(()=>{const $selectedCountFind=$buttonPane.find('.js-media-library-selected-count');if($selectedCountFind.length){moveCounter($selectedCountFind,$buttonPane);selectedCountObserver.disconnect();}});selectedCountObserver.observe($buttonPane[0],{attributes:false,childList:true,characterData:false,subtree:true});}});}};})(jQuery,Drupal,window);;
13((Drupal,drupalSettings)=>{drupalSettings.antibot=drupalSettings.antibot||{};Drupal.antibot={};Drupal.behaviors.antibot={attach(context,settings){drupalSettings=settings;if(typeof drupalSettings.antibot!=='undefined')drupalSettings.antibot.human=false;document.body.addEventListener('mousemove',()=>{Drupal.antibot.unlockForms();});document.body.addEventListener('touchmove',()=>{Drupal.antibot.unlockForms();});document.body.addEventListener('keydown',(e)=>{if(e.code==='Tab'||e.code==='Enter')Drupal.antibot.unlockForms();});}};Drupal.antibot.unlockForms=()=>{if(!drupalSettings.antibot.human){if(drupalSettings.antibot.forms!==undefined)Object.values(drupalSettings.antibot.forms).forEach((config)=>{const form=document.getElementById(config.id);if(form){form.setAttribute('action',form.getAttribute('data-action'));const input=form.querySelector('input[name="antibot_key"]');if(input)input.value=config.key.split('').reverse().join('').match(/.{1,2}/g).map((value)=>value.split('').reverse().join('')).join('');}});drupalSettings.antibot.human=true;}};})(Drupal,drupalSettings);;
14(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global.PointerEventsPolyfill=factory());}(this,function(){'use strict';var MOUSE_PROPS=['bubbles','cancelable','view','detail','screenX','screenY','clientX','clientY','ctrlKey','altKey','shiftKey','metaKey','button','relatedTarget','pageX','pageY'];var MOUSE_DEFAULTS=[false,false,null,null,0,0,0,0,false,false,false,false,0,null,0,0];function PointerEvent(inType,inDict){inDict=inDict||Object.create(null);var e=document.createEvent('Event');e.initEvent(inType,inDict.bubbles||false,inDict.cancelable||false);for(var i=2,p;i<MOUSE_PROPS.length;i++){p=MOUSE_PROPS[i];e[p]=inDict[p]||MOUSE_DEFAULTS[i];}e.buttons=inDict.buttons||0;var pressure=0;if(inDict.pressure&&e.buttons)pressure=inDict.pressure;else pressure=e.buttons?0.5:0;e.x=e.clientX;e.y=e.clientY;e.pointerId=inDict.pointerId||0;e.width=inDict.width||0;e.height=inDict.height||0;e.pressure=pressure;e.tiltX=inDict.tiltX||0;e.tiltY=inDict.tiltY||0;e.twist=inDict.twist||0;e.tangentialPressure=inDict.tangentialPressure||0;e.pointerType=inDict.pointerType||'';e.hwTimestamp=inDict.hwTimestamp||0;e.isPrimary=inDict.isPrimary||false;return e;}var USE_MAP=window.Map&&window.Map.prototype.forEach;var PointerMap=USE_MAP?Map:SparseArrayMap;function SparseArrayMap(){this.array=[];this.size=0;}SparseArrayMap.prototype={set:function(k,v){if(v===undefined)return this.delete(k);if(!this.has(k))this.size++;this.array[k]=v;},has:function(k){return this.array[k]!==undefined;},delete:function(k){if(this.has(k)){delete this.array[k];this.size--;}},get:function(k){return this.array[k];},clear:function(){this.array.length=0;this.size=0;},forEach:function(callback,thisArg){return this.array.forEach(function(v,k){callback.call(thisArg,v,k,this);},this);}};var CLONE_PROPS=['bubbles','cancelable','view','detail','screenX','screenY','clientX','clientY','ctrlKey','altKey','shiftKey','metaKey','button','relatedTarget','buttons','pointerId','width','height','pressure','tiltX','tiltY','pointerType','hwTimestamp','isPrimary','type','target','currentTarget','which','pageX','pageY','timeStamp'];var CLONE_DEFAULTS=[false,false,null,null,0,0,0,0,false,false,false,false,0,null,0,0,0,0,0,0,0,'',0,false,'',null,null,0,0,0,0];var BOUNDARY_EVENTS={'pointerover':1,'pointerout':1,'pointerenter':1,'pointerleave':1};var HAS_SVG_INSTANCE=(typeof SVGElementInstance!=='undefined');var dispatcher={pointermap:new PointerMap(),eventMap:Object.create(null),captureInfo:Object.create(null),eventSources:Object.create(null),eventSourceList:[],registerSource:function(name,source){var s=source;var newEvents=s.events;
14if(newEvents){newEvents.forEach(function(e){if(s[e])this.eventMap[e]=s[e].bind(s);},this);this.eventSources[name]=s;this.eventSourceList.push(s);}},register:function(element){var l=this.eventSourceList.length;for(var i=0,es;(i<l)&&(es=this.eventSourceList[i]);i++)es.register.call(es,element);},unregister:function(element){var l=this.eventSourceList.length;for(var i=0,es;(i<l)&&(es=this.eventSourceList[i]);i++)es.unregister.call(es,element);},contains:function(container,contained){try{return container.contains(contained);}catch(ex){return false;}},down:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointerdown',inEvent);},move:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointermove',inEvent);},up:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointerup',inEvent);},enter:function(inEvent){inEvent.bubbles=false;this.fireEvent('pointerenter',inEvent);},leave:function(inEvent){inEvent.bubbles=false;this.fireEvent('pointerleave',inEvent);},over:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointerover',inEvent);},out:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointerout',inEvent);},cancel:function(inEvent){inEvent.bubbles=true;this.fireEvent('pointercancel',inEvent);},leaveOut:function(event){this.out(event);this.propagate(event,this.leave,false);},enterOver:function(event){this.over(event);this.propagate(event,this.enter,true);},eventHandler:function(inEvent){if(inEvent._handledByPE)return;var type=inEvent.type;var fn=this.eventMap&&this.eventMap[type];if(fn)fn(inEvent);inEvent._handledByPE=true;},listen:function(target,events){events.forEach(function(e){this.addEvent(target,e);},this);},unlisten:function(target,events){events.forEach(function(e){this.removeEvent(target,e);},this);},addEvent:function(target,eventName){target.addEventListener(eventName,this.boundHandler);},removeEvent:function(target,eventName){target.removeEventListener(eventName,this.boundHandler);},makeEvent:function(inType,inEvent){if(this.captureInfo[inEvent.pointerId])inEvent.relatedTarget=null;var e=new PointerEvent(inType,inEvent);if(inEvent.preventDefault)e.preventDefault=inEvent.preventDefault;e._target=e._target||inEvent.target;return e;},fireEvent:function(inType,inEvent){var e=this.makeEvent(inType,inEvent);return this.dispatchEvent(e);},cloneEvent:function(inEvent){var eventCopy=Object.create(null);var p;for(var i=0;i<CLONE_PROPS.length;i++){p=CLONE_PROPS[i];eventCopy[p]=inEvent[p]||CLONE_DEFAULTS[i];if(HAS_SVG_INSTANCE&&(p==='target'||p==='relatedTarget'))if(eventCopy[p] instanceof SVGElementInstance)eventCopy[p]=eventCopy[p].correspondingUseElement;}if(inEvent.preventDefault)eventCopy.preventDefault=function(){inEvent.preventDefault();};return eventCopy;},getTarget:function(inEvent){var capture=this.captureInfo[inEvent.pointerId];if(!capture)return inEvent._target;if(inEvent._target===capture||!(inEvent.type in BOUNDARY_EVENTS))return capture;},propagate:function(event,fn,propagateDown){var target=event.target;var targets=[];while(target!==document&&!target.contains(event.relatedTarget)){targets.push(target);target=target.parentNode;if(!target)return;}if(propagateDown)targets.reverse();targets.forEach(function(target){event.target=target;fn.call(this,event);},this);},setCapture:function(inPointerId,inTarget,skipDispatch){if(this.captureInfo[inPointerId])this.releaseCapture(inPointerId,skipDispatch);this.captureInfo[inPointerId]=inTarget;this.implicitRelease=this.releaseCapture.bind(this,inPointerId,skipDispatch);document.addEventListener('pointerup',this.implicitRelease);document.addEventListener('pointercancel',this.implicitRelease);var e=new PointerEvent('gotpointercapture');e.pointerId=inPointerId;e._target=inTarget;if(!skipDispatch)this.asyncDispatchEvent(e);},releaseCapture:function(inPointerId,skipDispatch){var t=this.captureInfo[inPointerId];if(!t)return;this.captureInfo[inPointerId]=undefined;document.removeEventListener('pointerup',this.implicitRelease);document.removeEventListener('pointercancel',this.implicitRelease);var e=new PointerEvent('lostpointercapture');e.pointerId=inPointerId;e._target=t;if(!skipDispatch)this.asyncDispatchEvent(e);},dispatchEvent:function(inEvent){var t=this.getTarget(inEvent);if(t)return t.dispatchEvent(inEvent);},asyncDispatchEvent:function(inEvent){requestAnimationFrame(this.dispatchEvent.bind(this,inEvent));}};
14dispatcher.boundHandler=dispatcher.eventHandler.bind(dispatcher);var targeting={shadow:function(inEl){if(inEl)return inEl.shadowRoot||inEl.webkitShadowRoot;},canTarget:function(shadow){return shadow&&Boolean(shadow.elementFromPoint);},targetingShadow:function(inEl){var s=this.shadow(inEl);if(this.canTarget(s))return s;},olderShadow:function(shadow){var os=shadow.olderShadowRoot;if(!os){var se=shadow.querySelector('shadow');if(se)os=se.olderShadowRoot;}return os;},allShadows:function(element){var shadows=[];var s=this.shadow(element);while(s){shadows.push(s);s=this.olderShadow(s);}return shadows;},searchRoot:function(inRoot,x,y){if(inRoot){var t=inRoot.elementFromPoint(x,y);var st,sr;sr=this.targetingShadow(t);while(sr){st=sr.elementFromPoint(x,y);if(!st)sr=this.olderShadow(sr);else{var ssr=this.targetingShadow(st);return this.searchRoot(ssr,x,y)||st;}}return t;}},owner:function(element){var s=element;while(s.parentNode)s=s.parentNode;if(s.nodeType!==Node.DOCUMENT_NODE&&s.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)s=document;return s;},findTarget:function(inEvent){var x=inEvent.clientX;var y=inEvent.clientY;var s=this.owner(inEvent.target);if(!s.elementFromPoint(x,y))s=document;return this.searchRoot(s,x,y);}};var forEach=Array.prototype.forEach.call.bind(Array.prototype.forEach);var map=Array.prototype.map.call.bind(Array.prototype.map);var toArray=Array.prototype.slice.call.bind(Array.prototype.slice);var filter=Array.prototype.filter.call.bind(Array.prototype.filter);var MO=window.MutationObserver||window.WebKitMutationObserver;var SELECTOR='[touch-action]';var OBSERVER_INIT={subtree:true,childList:true,attributes:true,attributeOldValue:true,attributeFilter:['touch-action']};function Installer(add,remove,changed,binder){this.addCallback=add.bind(binder);this.removeCallback=remove.bind(binder);this.changedCallback=changed.bind(binder);if(MO)this.observer=new MO(this.mutationWatcher.bind(this));}Installer.prototype={watchSubtree:function(target){if(this.observer&&targeting.canTarget(target))this.observer.observe(target,OBSERVER_INIT);},enableOnSubtree:function(target){this.watchSubtree(target);if(target===document&&document.readyState!=='complete')this.installOnLoad();else this.installNewSubtree(target);},installNewSubtree:function(target){forEach(this.findElements(target),this.addElement,this);},findElements:function(target){if(target.querySelectorAll)return target.querySelectorAll(SELECTOR);return [];},removeElement:function(el){this.removeCallback(el);},addElement:function(el){this.addCallback(el);},elementChanged:function(el,oldValue){this.changedCallback(el,oldValue);},concatLists:function(accum,list){return accum.concat(toArray(list));},installOnLoad:function(){document.addEventListener('readystatechange',function(){if(document.readyState==='c
14omplete')this.installNewSubtree(document);}.bind(this));},isElement:function(n){return n.nodeType===Node.ELEMENT_NODE;},flattenMutationTree:function(inNodes){var tree=map(inNodes,this.findElements,this);tree.push(filter(inNodes,this.isElement));return tree.reduce(this.concatLists,[]);},mutationWatcher:function(mutations){mutations.forEach(this.mutationHandler,this);},mutationHandler:function(m){if(m.type==='childList'){var added=this.flattenMutationTree(m.addedNodes);added.forEach(this.addElement,this);var removed=this.flattenMutationTree(m.removedNodes);removed.forEach(this.removeElement,this);}else{if(m.type==='attributes')this.elementChanged(m.target,m.oldValue);}}};function shadowSelector(v){return 'body /shadow-deep/ '+selector(v);}function selector(v){return '[touch-action="'+v+'"]';}function rule(v){return '{ -ms-touch-action: '+v+'; touch-action: '+v+'; }';}var attrib2css=['none','auto','pan-x','pan-y',{rule:'pan-x pan-y',selectors:['pan-x pan-y','pan-y pan-x']}];var styles='';var hasNativePE=window.PointerEvent||window.MSPointerEvent;var hasShadowRoot=!window.ShadowDOMPolyfill&&document.head.createShadowRoot;function applyAttributeStyles(){if(hasNativePE){attrib2css.forEach(function(r){if(String(r)===r){styles+=selector(r)+rule(r)+'\n';if(hasShadowRoot)styles+=shadowSelector(r)+rule(r)+'\n';}else{styles+=r.selectors.map(selector)+rule(r.rule)+'\n';if(hasShadowRoot)styles+=r.selectors.map(shadowSelector)+rule(r.rule)+'\n';}});var el=document.createElement('style');el.textContent=styles;document.head.appendChild(el);}}var pointermap=dispatcher.pointermap;var DEDUP_DIST=25;var BUTTON_TO_BUTTONS=[1,4,2,8,16];var HAS_BUTTONS=false;try{HAS_BUTTONS=new MouseEvent('test',{buttons:1}).buttons===1;}catch(e){}var mouseEvents={POINTER_ID:1,POINTER_TYPE:'mouse',events:['mousedown','mousemove','mouseup','mouseover','mouseout'],register:function(target){dispatcher.listen(target,this.events);},unregister:function(target){dispatcher.unlisten(target,this.events);},lastTouches:[],isEventSimulatedFromTouch:function(inEvent){var lts=this.lastTouches;var x=inEvent.clientX;var y=inEvent.clientY;for(var i=0,l=lts.length,t;i<l&&(t=lts[i]);i++){var dx=Math.abs(x-t.x);var dy=Math.abs(y-t.y);if(dx<=DEDUP_DIST&&dy<=DEDUP_DIST)return true;}},prepareEvent:function(inEvent){var e=dispatcher.cloneEvent(inEvent);var pd=e.preventDefault;e.preventDefault=function(){inEvent.preventDefault();pd();};e.pointerId=this.POINTER_ID;e.isPrimary=true;e.pointerType=this.POINTER_TYPE;return e;},prepareButtonsForMove:function(e,inEvent){var p=pointermap.get(this.POINTER_ID);if(inEvent.which===0||!p)e.buttons=0;else e.buttons=p.buttons;inEvent.buttons=e.buttons;},mousedown:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var p=pointermap.get(this.POINTER_ID);var e=this.prepareEvent(inEvent);if(!HAS_BUTTONS){e.buttons=BUTTON_TO_BUTTONS[e.button];if(p)e.buttons|=p.buttons;inEvent.buttons=e.buttons;}pointermap.set(this.POINTER_ID,inEvent);if(!p||p.buttons===0)dispatcher.down(e);else dispatcher.move(e);}},mousemove:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);if(!HAS_BUTTONS)this.prepareButtonsForMove(e,inEvent);e.button=-1;pointermap.set(this.POINTER_ID,inEvent);dispatcher.move(e);}},mouseup:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var p=pointermap.get(this.POINTER_ID);var e=this.prepareEvent(inEvent);if(!HAS_BUTTONS){var up=BUTTON_TO_BUTTONS[e.button];e.buttons=p?p.buttons&~up:0;inEvent.buttons=e.buttons;}pointermap.set(this.POINTER_ID,inEvent);e.buttons&=~BUTTON_TO_BUTTONS[e.button];if(e.buttons===0)dispatcher.up(e);else dispatcher.move(e);}},mouseover:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);if(!HAS_BUTTONS)this.prepareButtonsForMove(e,inEvent);e.button=-1;pointermap.set(this.POINTER_ID,inEvent);dispatcher.enterOver(e);}},mouseout:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);if(!HAS_BUTTONS)this.prepareButtonsForMove(e,inEvent);e.button=-1;dispatcher.leaveOut(e);}},cancel:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.cancel(e);this.deactivateMouse();},deactivateMouse:function(){pointermap.delete(this.POINTER_ID);}};var captureInfo=dispatcher.captureInfo;var findTarget=targeting.findTarget.bind(targeting);var allShadows=targeting.allShadows.bind(targeting);var pointermap$1=dispatcher.pointermap;var DEDUP_TIMEOUT=2500;var CLICK_COUNT_TIMEOUT=200;var ATTRIB='touch-action';var INSTALLER;var touchEvents={events:['touchstart','touchmove','touchend','touchcancel'],register:function(target){INSTALLER.enableOnSubtree(target);},unregister:function(){},elementAdded:function(el){var a=el.getAttribute(ATTRIB);var st=this.touchActionToScrollType(a);if(st){el._scrollType=st;dispatcher.listen(el,this.events);allShadows(el).forEach(function(s){s._scrollType=st;dispatcher.listen(s,this.events);},this);}},elementRemoved:function(el){el._scrollType=undefined;dispatcher.unlisten(el,this.events);allShadows(el).forEach(function(s){s._scrollType=undefined;dispatcher.unlisten(s,this.events);},this);},elementChanged:function(el,oldValue){var a=el.getAttribute(ATTRIB);var st=this.touchActionToScrollType(a);var oldSt=this.touchActionToScrollType(oldValue);if(st&&oldSt){el._scrollType=st;allShadows(el).forEach(function(s){s._scrollType=st;},this);}else if(oldSt)this.elementRemoved(el);else{if(st)this.elementAdded(el);}},scrollTypes:{EMITTER:'none',XSCROLLER:'pan-x',YSCROLLER:'pan-y',SCROLLER:/^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/},touchActionToScrollType:function(touchAction){var t=touchAction;var st=this.scrollTypes;if(t==='none')return 'none';else if(t===st.XSCROLLER)return 'X';else if(t===st.YSCROLLER)return 'Y';else{if(st.SCROLLER.exec(t))return 'XY';}},POINTER_TYPE:'touch',firstTouch:null,isPrimaryTouch:function(inTouch){return this.firstTouch===inTouch.identifier;},setPrimaryTouch:function(inTouch){if(pointermap$1.size===0||(pointermap$1.size===1&&pointermap$1.has(1))){this.firstTouch=inTouch.identifier;this.firstXY={X:inTouch.clientX,Y:inTouch.clientY};this.scrolling=false;this.cancelResetClickCount();}},removePrimaryPointer:function(inPointer){if(inPointer.isPrimary){this.firstTouch=null;this.firstXY=null;this.resetClickCount();}},clickCount:0,resetId:null,resetClickCount:function(){var fn=function(){this.clickCount=0;this.resetId=null;}.bind(this);this.resetId=setTimeout(fn,CLICK_COUNT_TIMEOUT);},cancelResetClickCount:function(){if(this.resetId)clearTimeout(this.resetId);},typeToButtons:function(type){var ret=0;if(type==='touchstart'||type==='touchmove')ret=1;return ret;},touchToPointer:function(inTouch){var cte=this.currentTouchEvent;var e=dispatcher.cloneEvent(inTouch);var id=e.pointerId=inTouch.identifier+2;e.target=captureInfo[id]||findTarget(e);e.bubbles=true;e.cancelable=true;e.detail=this.clickCount;e.button=0;e.buttons=this.typeToButtons(cte.type);e.width=(inTouch.radiusX||inTouch.webkitRadiusX||0)*2;e.height=(inTouch.radiusY||inTouch.webkitRadiusY||0)*2;e.pressure=inTouch.force||inTouch.webkitForce||0.5;e.isPrimary=this.isPrimaryTouch(inTouch);e.pointerType=this.POINTER_TYPE;e.altKey=cte.altKey;e.ctrlKey=cte.ctrlKey;e.metaKey=cte.metaKey;e.shiftKey=cte.shiftKey;var self=this;e.preventDefault=function(){self.scrolling=false;self.firstXY=null;cte.preventDefault();};return e;},processTouches:function(inEvent,inFunction){var tl=inEvent.changedTouches;this.currentTouchEvent=inEvent;for(var i=0,t;i<tl.length;i++){t=tl[i];inFunction.call(this,this.touchToPointer(t));}},shouldScroll:function(inEvent){if(this.firstXY){var ret;var scrollAxis=inEvent.currentTarget._scrollType;if(scrollAxis==='none')ret=false;else if(scrollAxis==='XY')ret=true;else{var t=inEvent.changedTouches[0];var a=scrollAxis;var oa=scrollAxis==='Y'?'X':'Y';var da=Math.abs(t['client'+a]-this.firstXY[a]);var doa=Math.abs(t['client'+oa]-this.firstXY[oa]);ret=da>=doa;}this.firstXY=null;return ret;}},findTouch:function(inTL,inId){for(var i=0,l=inTL.length,t;i<l&&(t=inTL[i]);i++)if(t.identifier===inId)return true;},vacuumTouches:function(inEvent){var tl=inEvent.touches;if(pointermap$1.size>=tl.length){var d=[];
vendor: 5,319 bytes, line 14
14pointermap$1.forEach(function(value,key){if(key!==1&&!this.findTouch(tl,key-2)){var p=value.out;d.push(p);}},this);d.forEach(this.cancelOut,this);}},touchstart:function(inEvent){this.vacuumTouches(inEvent);this.setPrimaryTouch(inEvent.changedTouches[0]);this.dedupSynthMouse(inEvent);if(!this.scrolling){this.clickCount++;this.processTouches(inEvent,this.overDown);}},overDown:function(inPointer){pointermap$1.set(inPointer.pointerId,{target:inPointer.target,out:inPointer,outTarget:inPointer.target});dispatcher.enterOver(inPointer);dispatcher.down(inPointer);},touchmove:function(inEvent){if(!this.scrolling)if(this.shouldScroll(inEvent)){this.scrolling=true;this.touchcancel(inEvent);}else{inEvent.preventDefault();this.processTouches(inEvent,this.moveOverOut);}},moveOverOut:function(inPointer){var event=inPointer;var pointer=pointermap$1.get(event.pointerId);if(!pointer)return;var outEvent=pointer.out;var outTarget=pointer.outTarget;dispatcher.move(event);if(outEvent&&outTarget!==event.target){outEvent.relatedTarget=event.target;event.relatedTarget=outTarget;outEvent.target=outTarget;if(event.target){dispatcher.leaveOut(outEvent);dispatcher.enterOver(event);}else{event.target=outTarget;event.relatedTarget=null;this.cancelOut(event);}}pointer.out=event;pointer.outTarget=event.target;},touchend:function(inEvent){this.dedupSynthMouse(inEvent);this.processTouches(inEvent,this.upOut);},upOut:function(inPointer){if(!this.scrolling){dispatcher.up(inPointer);dispatcher.leaveOut(inPointer);}this.cleanUpPointer(inPointer);},touchcancel:function(inEvent){this.processTouches(inEvent,this.cancelOut);},cancelOut:function(inPointer){dispatcher.cancel(inPointer);dispatcher.leaveOut(inPointer);this.cleanUpPointer(inPointer);},cleanUpPointer:function(inPointer){pointermap$1.delete(inPointer.pointerId);this.removePrimaryPointer(inPointer);},dedupSynthMouse:function(inEvent){var lts=mouseEvents.lastTouches;var t=inEvent.changedTouches[0];if(this.isPrimaryTouch(t)){var lt={x:t.clientX,y:t.clientY};lts.push(lt);var fn=(function(lts,lt){var i=lts.indexOf(lt);if(i>-1)lts.splice(i,1);}).bind(null,lts,lt);setTimeout(fn,DEDUP_TIMEOUT);}}};INSTALLER=new Installer(touchEvents.elementAdded,touchEvents.elementRemoved,touchEvents.elementChanged,touchEvents);var pointermap$2=dispatcher.pointermap;var HAS_BITMAP_TYPE=window.MSPointerEvent&&typeof window.MSPointerEvent.MSPOINTER_TYPE_MOUSE==='number';var msEvents={events:['MSPointerDown','MSPointerMove','MSPointerUp','MSPointerOut','MSPointerOver','MSPointerCancel','MSGotPointerCapture','MSLostPointerCapture'],register:function(target){dispatcher.listen(target,this.events);},unregister:function(target){dispatcher.unlisten(target,this.events);},POINTER_TYPES:['','unavailable','touch','pen','mouse'],prepareEvent:function(inEvent){var e=inEvent;if(HAS_BITMAP_TYPE){e=dispatcher.cloneEvent(inEvent);e.pointerType=this.POINTER_TYPES[inEvent.pointerType];}return e;},cleanup:function(id){pointermap$2.delete(id);},MSPointerDown:function(inEvent){pointermap$2.set(inEvent.pointerId,inEvent);var e=this.prepareEvent(inEvent);dispatcher.down(e);},MSPointerMove:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.move(e);},MSPointerUp:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.up(e);this.cleanup(inEvent.pointerId);},MSPointerOut:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.leaveOut(e);},MSPointerOver:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.enterOver(e);},MSPointerCancel:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.cancel(e);this.cleanup(inEvent.pointerId);},MSLostPointerCapture:function(inEvent){var e=dispatcher.makeEvent('lostpointercapture',inEvent);dispatcher.dispatchEvent(e);},MSGotPointerCapture:function(inEvent){var e=dispatcher.makeEvent('gotpointercapture',inEvent);dispatcher.dispatchEvent(e);}};function applyPolyfill(){if(!window.PointerEvent){window.PointerEvent=PointerEvent;if(window.navigator.msPointerEnabled){var tp=window.navigator.msMaxTouchPoints;Object.defineProperty(window.navigator,'maxTouchPoints',{value:tp,enumerable:true});dispatcher.registerSource('ms',msEvents);}else{Object.defineProperty(window.navigator,'maxTouchPoints',{value:0,enumerable:true});dispatcher.registerSource('mouse',mouseEvents);if(window.ontouchstart!==undefined)dispatcher.registerSource('touch',touchEvents);}dispatcher.register(document);}}var n=window.navigator;var s;var r;var h;function assertActive(id){if(!dispatcher.pointermap.has(id)){var error=new Error('InvalidPointerId');error.name='InvalidPointerId';throw error;}}function assertConnected(elem){var parent=elem.parentNode;while(parent&&parent!==elem.ownerDocument)parent=parent.parentNode;if(!parent){var error=new Error('InvalidStateError');error.name='InvalidStateError';throw error;}}function inActiveButtonState(id){var p=dispatcher.pointermap.get(id);return p.buttons!==0;}if(n.msPointerEnabled){s=function(pointerId){assertActive(pointerId);assertConnected(this);if(inActiveButtonState(pointerId)){dispatcher.setCapture(pointerId,this,true);this.msSetPointerCapture(pointerId);}};r=function(pointerId){assertActive(pointerId);dispatcher.releaseCapture(pointerId,true);this.msReleasePointerCapture(pointerId);};}else{s=function setPointerCapture(pointerId){assertActive(pointerId);assertConnected(this);
14if(inActiveButtonState(pointerId))dispatcher.setCapture(pointerId,this);};r=function releasePointerCapture(pointerId){assertActive(pointerId);dispatcher.releaseCapture(pointerId);};}h=function hasPointerCapture(pointerId){return !!dispatcher.captureInfo[pointerId];};function applyPolyfill$1(){if(window.Element&&!Element.prototype.setPointerCapture)Object.defineProperties(Element.prototype,{'setPointerCapture':{value:s},'releasePointerCapture':{value:r},'hasPointerCapture':{value:h}});}applyAttributeStyles();applyPolyfill();applyPolyfill$1();var pointerevents={dispatcher,Installer,PointerEvent,PointerMap,targetFinding:targeting};return pointerevents;}));;
15(function($,Drupal,once){'use strict';Drupal.behaviors.DX8Menus={attach:function(context,settings){var menuItemLinks=[];var menuItemLinkCounter;var cmm=new Drupal.CohesionResponsiveBreakpoints();var over=false;var $lastAnimatedSubmenu=$();var hasEntered=false;var onceMenuItem='js-coh-menu-item-init';var onceMenuItemLink='js-coh-menu-item-link-init';var nameSpace='.coh-menu-item-link';var cls={isCollapsed:'is-collapsed',isExpanded:'is-expanded',both:'is-collapsed is-expanded',hasChildren:'has-children',menuListContainer:'coh-menu-list-container',menuListItem:'coh-menu-list-item',menuListLink:'js-coh-menu-item-link'};var aria={expanded:'aria-expanded',popup:'aria-haspopup'};var onEnter=['pointerenter'];var onLeave=['mouseleave'];var onClick=['click'];var onFocus=['focus'];var onFocusOut=['focusout'];var onKeyDown=['keydown'];function initDrupalMenuItemLink(settings){var bOnClick=true;settings=settings.cohesion;var $a=settings.settings.$a;var $li=settings.settings.$li;var isParent=settings.settings.isParent;var thisNameSpace=nameSpace+$a[0].nodeName;$li.off(thisNameSpace);$a.off(thisNameSpace);var setting=settings.settings.breakpoints[settings.key];if(typeof setting.animationTarget!=='undefined')$a.data('currentAnimationTarget',$(setting.animationTarget,$li));if($a.data('currentAnimationTarget'))$($a.data('currentAnimationTarget')).css('display','');var toggleSiblings=setting.link_interaction==='toggle-on-click-hide-siblings'||setting.button_interaction==='toggle-on-click-hide-siblings';if((setting.link_interaction==='toggle-on-hover'||toggleSiblings||setting.link_interaction==='toggle-on-click'||setting.button_interaction==='toggle-on-click'||settings.button_interaction==='toggle-parent-on-click')&&$li.hasClass(cls.hasChildren))$a.attr(aria.popup,true);else{$a.removeAttr(aria.popup);$a.removeAttr(aria.expanded);}if(setting.link_interaction==='toggle-on-hover'){over=false;if($li.hasClass(cls.hasChildren)){$li.on(onLeave.join(thisNameSpace+' ')+thisNameSpace,function(event){if(!hasEntered)return;window.setTimeout(function(){over=false;},200);event.preventDefault();if($li.hasClass(cls.isCollapsed))return;toggleSubMenu($li,$a,setting,true,event);});$li.on(onEnter.join(thisNameSpace+' ')+thisNameSpace,function(event){window.setTimeout(function(){over=true;},200);event.preventDefault();setTimeout(function(){toggleSubMenu($li,$a,setting);hasEntered=true;},1);});$a.on(onClick.join(thisNameSpace+' ')+thisNameSpace,function(event){if(!over)event.preventDefault();});}bOnClick=false;}if(bOnClick)$a.on(onClick.join(thisNameSpace+' ')+thisNameSpace,function(e){if(setting.link_interaction==='click-through-to-link')return;if(setting.link_interaction==='no-interaction'){e.preventDefault();return;}if($li.hasClass(cls.hasChildren)){e.preventDefault();toggleSubMenu($li,$(this),setting,toggleSiblings);if(setting.link_interaction==='toggle-parent-on-click')return;}});$a.on(onFocus.join(thisNameSpace+' ')+thisNameSpace,function(e){over=true;for(var i=0;i<menuItemLinks.length;i++)if($(this).is(menuItemLinks[i]['$a'])){menuItemLinkCounter=i;break;}$a.on(onKeyDown.join(thisNameSpace+' ')+thisNameSpace,function(e){switch(e.key){case ' ':case 'Spacebar':e.preventDefault();e.stopPropagation();if(!$li.hasClass(cls.hasChildren))window.location=$a.attr('href');if($li.hasClass(cls.hasChildren))toggleSubMenu($li,$a,setting,toggleSiblings);break;case 'ArrowDown':case 'ArrowRight':case 'Down':case 'Right':e.preventDefault();e.stopPropagation();if(isParent&&(e.key==='ArrowRight'||e.key==='Right')&&$li.next('.'+cls.menuListItem)&&!$li.hasClass(cls.isExpanded)){$('.'+cls.menuListLink,$li.next('.'+cls.menuListItem)).eq(0).focus();break;}if($li.hasClass(cls.isExpanded)&&$li.hasClass(cls.hasChildren))focusNextMenuItem($li);if(!$li.hasClass(cls.isExpanded)&&$li.hasClass(cls.hasChildren))toggleSubMenu($li,$a,setting,toggleSiblings);if(!$li.hasClass(cls.hasChildren))focusNextMenuItem($li);break;case 'Escape':case 'Esc':e.preventDefault();e.stopPropagation();if($li.parent().closest('.'+cls.menuListItem)){toggleSubMenu($li.parent().closest('.'+cls.menuListItem),$li.parent().closest('.'+cls.menuListItem).children('.'+cls.menuListLink),setting,toggleSiblings);$li.parent().closest('.'+cls.menuListItem).children('.'+cls.menuListLink).focus();}break;case 'ArrowUp':case 'ArrowLeft':case 'Up':case 'Left':e.preventDefault();e.stopPropagation();if(isParent&&(e.key==='ArrowLeft'||e.key==='Left')&&$li.prev('.'+cls.menuListItem)&&!$li.hasClass(cls.isExpanded)){$('.'+cls.menuListLink,$li.prev('.'+cls.menuListItem)).eq(0).focus();break;}if(!$li.hasClass(cls.hasChildren)||$li.hasClass(cls.isCollapsed))focusPreviousMenuItem();if(!$li.hasClass(cls.isCollapsed)&&$li.hasClass(cls.hasChildren))toggleSubMenu($li,$a,setting,toggleSiblings);break;case 'Enter':e.preventDefault();e.stopPropagation();$a[0].click();break;default:return;}});});$a.on(onFocusOut.join(thisNameSpace+' ')+thisNameSpace,function(e){$a.off(onKeyDown.join(thisNameSpace+' ')+thisNameSpace);over=false;});}function initDrupalMenuItem(settings){settings=settings.cohesion;var $a=settings.settings.$a;var $li=settings.settings.$li;var bInteracted=false;var $interactees=$a.add($a.siblings('a, button, span'));var setting=settings.settings.breakpoints[settings.key];if(typeof $li.data('interacted')!=='undefined'&&$li.data('interacted')===true)bInteracted=true;if(!bInteracted){$li.toggleClass(cls.isCollapsed,setting==='hidden'||(setting==='trail'&&!$li.hasClass('in-active-trail')));
15$li.toggleClass(cls.isExpanded,setting==='visible'||(setting==='trail'&&$li.hasClass('in-active-trail')));if($li.hasClass(cls.hasChildren))$interactees.each(function(){var $interactee=$(this);if($interactee.attr(aria.popup)==="true"){if($li.hasClass(cls.isCollapsed))$interactee.attr(aria.expanded,false);if($li.hasClass(cls.isExpanded))$interactee.attr(aria.expanded,true);}});}}function toggleSiblingsFn($li,$a,setting){var $siblings=$li.siblings('li.has-children');$siblings.children('a, button, span').each(function(){var $this=$(this);if($this.attr(aria.expanded)==="true")toggleSubMenu($this.parent('li'),$this,setting,false);});}function toggleSubMenu($li,$a,setting,toggleSiblings){var $interactees=$a.add($a.siblings('a, button, span'));var $submenu;if(setting.animationTarget&&setting.animationType){$submenu=$('~'+setting.animationTarget,$a);if(setting.button_interaction==='toggle-parent-on-click'){$submenu=$('> '+setting.animationTarget,$li);$interactees=$interactees.add($('> a, > button, > span',$li));}var animationOriginArray;if(setting.animationOrigin)animationOriginArray=setting.animationOrigin.split(',');if((setting.link_interaction!=='toggle-on-click-hide-siblings'||setting.button_interaction!=='toggle-on-click-hide-siblings')&&$lastAnimatedSubmenu.length&&!$lastAnimatedSubmenu.is($submenu))$lastAnimatedSubmenu.stop(true,true);$submenu.stop(true,true).toggle({effect:setting.animationType,direction:setting.animationDirection,distance:setting.animationDistance,percent:setting.animationScale,origin:animationOriginArray,size:setting.animationFoldHeight,horizFirst:setting.animationHorizontalFirst,times:setting.animationIterations,easing:setting.animationEasing,duration:setting.animationDuration});$lastAnimatedSubmenu=$submenu;}$li.toggleClass(cls.both);$interactees.each(function(){var $interactee=$(this);if($interactee.attr(aria.popup)==="true"){if($li.hasClass(cls.isCollapsed))$interactee.attr(aria.expanded,false);
15if($li.hasClass(cls.isExpanded))$interactee.attr(aria.expanded,true);}});$li.data('interacted',true);if(toggleSiblings)toggleSiblingsFn($li,$a,setting);}function focusPreviousMenuItem(){if(menuItemLinkCounter>0){menuItemLinkCounter--;menuItemLinks[menuItemLinkCounter]['$a'].focus();}}function focusNextMenuItem(){if(menuItemLinkCounter+1<menuItemLinks.length){menuItemLinkCounter++;menuItemLinks[menuItemLinkCounter]['$a'].focus();}}function focusMenuItem(){menuItemLinks[menuItemLinkCounter]['$a'].focus();}var menuItems=$(once(onceMenuItemLink,'.js-coh-menu-item-link, .js-coh-menu-item-button'));menuItems.each(function(i,e){var $this=$(this),$li=$(this).closest('.coh-menu-list-item'),responsiveSettings=$this.data('cohSettings'),key,settings={$a:$this,$li,isParent:!$li.parent().closest('.'+cls.menuListItem).length,breakpoints:{}};menuItemLinks.push({$a:$this,$li,tabindex:$this.attr('tabindex')||i});if(i+1===menuItems.length)menuItemLinks.sort(function(a,b){return a.tabindex-b.tabindex;});for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]={};if(responsiveSettings&&typeof responsiveSettings[key]!=='undefined'){settings.breakpoints[key]=responsiveSettings[key];var previous=responsiveSettings[key];}else{if(typeof cmm.breakpoints[i-1]!=='undefined'&&typeof previous!=='undefined')settings.breakpoints[key]=previous;}}cmm.addListeners(settings,initDrupalMenuItemLink);});$(once(onceMenuItem,'.js-coh-menu-item')).each(function(){var $this=$(this),responsiveSettings=$this.data('cohSettings'),key,settings={$li:$this,$a:$('> a, > button, > span',$this),breakpoints:{}};if($this.hasClass(cls.hasChildren)){for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]={};if(typeof responsiveSettings[key]!=='undefined'){settings.breakpoints[key]=responsiveSettings[key];var previous=responsiveSettings[key];}else{if(typeof cmm.breakpoints[i-1]!=='undefined'&&typeof previous!=='undefined')settings.breakpoints[key]=previous;}}cmm.addListeners(settings,initDrupalMenuItem);}});}};})(jQuery,Drupal,once);;
16(function(window,document){'use strict';if('IntersectionObserver' in window&&'IntersectionObserverEntry' in window&&'intersectionRatio' in window.IntersectionObserverEntry.prototype){if(!('isIntersecting' in window.IntersectionObserverEntry.prototype))Object.defineProperty(window.IntersectionObserverEntry.prototype,'isIntersecting',{get:function(){return this.intersectionRatio>0;}});return;}var registry=[];function IntersectionObserverEntry(entry){this.time=entry.time;this.target=entry.target;this.rootBounds=entry.rootBounds;this.boundingClientRect=entry.boundingClientRect;this.intersectionRect=entry.intersectionRect||getEmptyRect();this.isIntersecting=!!entry.intersectionRect;var targetRect=this.boundingClientRect;var targetArea=targetRect.width*targetRect.height;var intersectionRect=this.intersectionRect;var intersectionArea=intersectionRect.width*intersectionRect.height;if(targetArea)this.intersectionRatio=Number((intersectionArea/targetArea).toFixed(4));else this.intersectionRatio=this.isIntersecting?1:0;}function IntersectionObserver(callback,opt_options){var options=opt_options||{};if(typeof callback!='function')throw new Error('callback must be a function');if(options.root&&options.root.nodeType!=1)throw new Error('root must be an Element');this._checkForIntersections=throttle(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=callback;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(options.rootMargin);this.thresholds=this._initThresholds(options.threshold);this.root=options.root||null;this.rootMargin=this._rootMarginValues.map(function(margin){return margin.value+margin.unit;}).join(' ');}IntersectionObserver.prototype.THROTTLE_TIMEOUT=100;IntersectionObserver.prototype.POLL_INTERVAL=null;IntersectionObserver.prototype.USE_MUTATION_OBSERVER=true;IntersectionObserver.prototype.observe=function(target){var isTargetAlreadyObserved=this._observationTargets.some(function(item){return item.element==target;});if(isTargetAlreadyObserved)return;if(!(target&&target.nodeType==1))throw new Error('target must be an Element');this._registerInstance();this._observationTargets.push({element:target,entry:null});this._monitorIntersections();this._checkForIntersections();};IntersectionObserver.prototype.unobserve=function(target){this._observationTargets=this._observationTargets.filter(function(item){return item.element!=target;});if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance();}};IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance();};IntersectionObserver.prototype.takeRecords=function(){var records=this._queuedEntries.slice();this._queuedEntries=[];return records;};IntersectionObserver.prototype._initThresholds=function(opt_threshold){var threshold=opt_threshold||[0];if(!Array.isArray(threshold))threshold=[threshold];return threshold.sort().filter(function(t,i,a){if(typeof t!='number'||isNaN(t)||t<0||t>1)throw new Error('threshold must be a number between 0 and 1 inclusively');return t!==a[i-1];});};IntersectionObserver.prototype._parseRootMargin=function(opt_rootMargin){var marginString=opt_rootMargin||'0px';var margins=marginString.split(/\s+/).map(function(margin){var parts=/^(-?\d*\.?\d+)(px|%)$/.exec(margin);if(!parts)throw new Error('rootMargin must be specified in pixels or percent');return {value:parseFloat(parts[1]),unit:parts[2]};});margins[1]=margins[1]||margins[0];margins[2]=margins[2]||margins[0];margins[3]=margins[3]||margins[1];return margins;};IntersectionObserver.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL)this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL);else{addEvent(window,'resize',this._checkForIntersections,true);addEvent(document,'scroll',this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&'MutationObserver' in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(document,{attributes:true,childList:true,characterData:true,subtree:true});}}}};IntersectionObserver.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;removeEvent(window,'resize',this._checkForIntersections,true);removeEvent(document,'scroll',this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null;}}};IntersectionObserver.prototype._checkForIntersections=function(){var rootIsInDom=this._rootIsInDom();var rootRect=rootIsInDom?this._getRootRect():getEmptyRect();
16this._observationTargets.forEach(function(item){var target=item.element;var targetRect=getBoundingClientRect(target);var rootContainsTarget=this._rootContainsTarget(target);var oldEntry=item.entry;var intersectionRect=rootIsInDom&&rootContainsTarget&&this._computeTargetAndRootIntersection(target,rootRect);var newEntry=item.entry=new IntersectionObserverEntry({time:now(),target,boundingClientRect:targetRect,rootBounds:rootRect,intersectionRect});if(!oldEntry)this._queuedEntries.push(newEntry);else if(rootIsInDom&&rootContainsTarget){if(this._hasCrossedThreshold(oldEntry,newEntry))this._queuedEntries.push(newEntry);}else{if(oldEntry&&oldEntry.isIntersecting)this._queuedEntries.push(newEntry);}},this);if(this._queuedEntries.length)this._callback(this.takeRecords(),this);};IntersectionObserver.prototype._computeTargetAndRootIntersection=function(target,rootRect){if(window.getComputedStyle(target).display=='none')return;var targetRect=getBoundingClientRect(target);var intersectionRect=targetRect;var parent=getParentNode(target);var atRoot=false;while(!atRoot){var parentRect=null;var parentComputedStyle=parent.nodeType==1?window.getComputedStyle(parent):{};if(parentComputedStyle.display=='none')return;if(parent==this.root||parent==document){atRoot=true;parentRect=rootRect;}else{if(parent!=document.body&&parent!=document.documentElement&&parentComputedStyle.overflow!='visible')parentRect=getBoundingClientRect(parent);}if(parentRect){intersectionRect=computeRectIntersection(parentRect,intersectionRect);if(!intersectionRect)break;}parent=getParentNode(parent);}return intersectionRect;};IntersectionObserver.prototype._getRootRect=function(){var rootRect;if(this.root)rootRect=getBoundingClientRect(this.root);else{var html=document.documentElement;var body=document.body;rootRect={top:0,left:0,right:html.clientWidth||body.clientWidth,width:html.clientWidth||body.clientWidth,bottom:html.clientHeight||body.clientHeight,height:html.clientHeight||body.clientHeight};}return this._expandRectByRootMargin(rootRect);};IntersectionObserver.prototype._expandRectByRootMargin=function(rect){var margins=this._rootMarginValues.map(function(margin,i){return margin.unit=='px'?margin.value:margin.value*(i%2?rect.width:rect.height)/100;});var newRect={top:rect.top-margins[0],right:rect.right+margins[1],bottom:rect.bottom+margins[2],left:rect.left-margins[3]};newRect.width=newRect.right-newRect.left;newRect.height=newRect.bottom-newRect.top;return newRect;};IntersectionObserver.prototype._hasCrossedThreshold=function(oldEntry,newEntry){var oldRatio=oldEntry&&oldEntry.isIntersecting?oldEntry.intersectionRatio||0:-1;var newRatio=newEntry.isIntersecting?newEntry.intersectionRatio||0:-1;if(oldRatio===newRatio)return;for(var i=0;i<this.thresholds.length;i++){var threshold=this.thresholds[i];if(threshold==oldRatio||threshold==newRatio||threshold<oldRatio!==threshold<newRatio)return true;}};IntersectionObserver.prototype._rootIsInDom=function(){return !this.root||containsDeep(document,this.root);};IntersectionObserver.prototype._rootContainsTarget=function(target){return containsDeep(this.root||document,target);};IntersectionObserver.prototype._registerInstance=function(){if(registry.indexOf(this)<0)registry.push(this);};IntersectionObserver.prototype._unregisterInstance=function(){var index=registry.indexOf(this);if(index!=-1)registry.splice(index,1);};function now(){return window.performance&&performance.now&&performance.now();}function throttle(fn,timeout){var timer=null;return function(){if(!timer)timer=setTimeout(function(){fn();timer=null;},timeout);};}function addEvent(node,event,fn,opt_useCapture){if(typeof node.addEventListener=='function')node.addEventListener(event,fn,opt_useCapture||false);else{if(typeof node.attachEvent=='function')node.attachEvent('on'+event,fn);}}function removeEvent(node,event,fn,opt_useCapture){if(typeof node.removeEventListener=='function')node.removeEventListener(event,fn,opt_useCapture||false);else{if(typeof node.detatchEvent=='function')node.detatchEvent('on'+event,fn);}}function computeRectIntersection(rect1,rect2){var top=Math.max(rect1.top,rect2.top);var bottom=Math.min(rect1.bottom,rect2.bottom);var left=Math.max(rect1.left,rect2.left);var right=Math.min(rect1.right,rect2.right);var width=right-left;var height=bottom-top;return (width>=0&&height>=0)&&{top,bottom,left,right,width,height};}function getBoundingClientRect(el){var rect;try{rect=el.getBoundingClientRect();}catch(err){}if(!rect)return getEmptyRect();
16if(!(rect.width&&rect.height))rect={top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,width:rect.right-rect.left,height:rect.bottom-rect.top};return rect;}function getEmptyRect(){return {top:0,bottom:0,left:0,right:0,width:0,height:0};}function containsDeep(parent,child){var node=child;while(node){if(node==parent)return true;node=getParentNode(node);}return false;}function getParentNode(node){var parent=node.parentNode;if(parent&&parent.nodeType==11&&parent.host)return parent.host;return parent;}window.IntersectionObserver=IntersectionObserver;window.IntersectionObserverEntry=IntersectionObserverEntry;}(window,document));;
17function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=t&&"IntersectionObserver"in window,o=t&&"classList"in document.createElement("p"),r={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},a=function(t,e){var n,o=new t(e);try{n=new CustomEvent("LazyLoad::Initialized",{detail:{instance:o}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:o})}window.dispatchEvent(n)};var i=function(t,e){return t.getAttribute("data-"+e)},s=function(t,e,n){var o="data-"+e;null!==n?t.setAttribute(o,n):t.removeAttribute(o)},c=function(t){return"true"===i(t,"was-processed")},l=function(t,e){return s(t,"ll-timeout",e)},u=function(t){return i(t,"ll-timeout")},d=function(t,e){t&&t(e)},f=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&d(t._settings.callback_finish)},_=function(t){for(var e,n=[],o=0;e=t.children[o];o+=1)"SOURCE"===e.tagName&&n.push(e);return n},v=function(t,e,n){n&&t.setAttribute(e,n)},g=function(t,e){v(t,"sizes",i(t,e.data_sizes)),v(t,"srcset",i(t,e.data_srcset)),v(t,"src",i(t,e.data_src))},m={IMG:function(t,e){var n=t.parentNode;n&&"PICTURE"===n.tagName&&_(n).forEach(function(t){g(t,e)});g(t,e)},IFRAME:function(t,e){v(t,"src",i(t,e.data_src))},VIDEO:function(t,e){_(t).forEach(function(t){v(t,"src",i(t,e.data_src))}),v(t,"src",i(t,e.data_src)),t.load()}},b=function(t,e){var n,o,r=e._settings,a=t.tagName,s=m[a];if(s)return s(t,r),f(e,1),void(e._elements=(n=e._elements,o=t,n.filter(function(t){return t!==o})));!function(t,e){var n=i(t,e.data_src),o=i(t,e.data_bg);n&&(t.style.backgroundImage='url("'.concat(n,'")')),o&&(t.style.backgroundImage=o)}(t,r)},h=function(t,e){o?t.classList.add(e):t.className+=(t.className?" ":"")+e},p=function(t,e,n){t.addEventListener(e,n)},y=function(t,e,n){t.removeEventListener(e,n)},E=function(t,e,n){y(t,"load",e),y(t,"loadeddata",e),y(t,"error",n)},w=function(t,e,n){var r=n._settings,a=e?r.class_loaded:r.class_error,i=e?r.callback_loaded:r.callback_error,s=t.target;!function(t,e){o?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}(s,r.class_loading),h(s,a),d(i,s),f(n,-1)},I=function(t,e){var n=function n(r){w(r,!0,e),E(t,n,o)},o=function o(r){w(r,!1,e),E(t,n,o)};!function(t,e,n){p(t,"load",e),p(t,"loadeddata",e),p(t,"error",n)}(t,n,o)},k=["IMG","IFRAME","VIDEO"],A=function(t,e){var n=e._observer;z(t,e),n&&e._settings.auto_unobserve&&n.unobserve(t)},L=function(t){var e=u(t);e&&(clearTimeout(e),l(t,null))},x=function(t,e){var n=e._settings.load_delay,o=u(t);o||(o=setTimeout(function(){A(t,e),L(t)},n),l(t,o))},z=function(t,e,n){var o=e._settings;!n&&c(t)||(k.indexOf(t.tagName)>-1&&(I(t,e),h(t,o.class_loading)),b(t,e),function(t){s(t,"was-processed","true")}(t),d(o.callback_reveal,t),d(o.callback_set,t))},O=function(t){return!!n&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?x(t,e):A(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&L(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},N=["IMG","IFRAME"],C=function(t,e){return function(t){return t.filter(function(t){return!c(t)})}((n=t||function(t){return t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var n},M=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingCount=0,O(this),this.update(e)};return M.prototype={update:function(t){var n,o=this,r=this._settings;(this._elements=C(t,r),!e&&this._observer)?(function(t){return t.use_native&&"loading"in HTMLImageElement.prototype}
17(r)&&((n=this)._elements.forEach(function(t){-1!==N.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),z(t,n))}),this._elements=C(t,r)),this._elements.forEach(function(t){o._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){z(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){A(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)a(t,n);else a(t,e)}(M,window.lazyLoadOptions),M});
18
19;
20(function($,Drupal,once){"use strict";Drupal.behaviors.CohesionLazyLoad={attach:function(context,settings){function isScrollable(el){return (el.scrollWidth>el.clientWidth&&(getComputedStyle(el).overflowY==='auto'||getComputedStyle(el).overflowY==='scroll'))||(el.scrollHeight>el.clientHeight&&(getComputedStyle(el).overflowX==='auto'||getComputedStyle(el).overflowX==='scroll'))||el.tagName==='HTML';}once('lazyload-once','[loading=lazy]',context).forEach(function(item){var $this=$(item);$this.parents().each(function(){var $parent=$(this);if($parent.data('lazyContainerFound')===true){if($parent.data('llContainer'))$parent.data('llContainer').update();return false;}else{if(isScrollable(this)){$parent.data('lazyContainerFound',true);var llContainer=new LazyLoad({container:this.tagName==='HTML'?document:this,elements_selector:"[loading=lazy]",class_loading:'coh-lazy-loading',class_loaded:'coh-lazy-loaded',class_error:'coh-lazy-error',use_native:true});$parent.data('llContainer',llContainer);return false;}}});if($.fn.matchHeight)$this.on('load',function(){if($(this).length)$.fn.matchHeight._update();});});}};})(jQuery,Drupal,once);;
21;(function(factory){'use strict';if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module!=='undefined'&&module.exports)module.exports=factory(require('jquery'));else factory(jQuery);})(function($){'use strict';var $scrollTo=$.scrollTo=function(target,duration,settings){return $(window).scrollTo(target,duration,settings);};$scrollTo.defaults={axis:'xy',duration:0,limit:true};function isWin(elem){return !elem.nodeName||$.inArray(elem.nodeName.toLowerCase(),['iframe','#document','html','body'])!==-1;}$.fn.scrollTo=function(target,duration,settings){if(typeof duration==='object'){settings=duration;duration=0;}if(typeof settings==='function')settings={onAfter:settings};if(target==='max')target=9e9;settings=$.extend({},$scrollTo.defaults,settings);duration=duration||settings.duration;var queue=settings.queue&&settings.axis.length>1;if(queue)duration/=2;settings.offset=both(settings.offset);settings.over=both(settings.over);return this.each(function(){if(target===null)return;var win=isWin(this),elem=win?this.contentWindow||window:this,$elem=$(elem),targ=target,attr={},toff;switch(typeof targ){case 'number':case 'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break;}targ=win?$(targ):$(targ,elem);case 'object':if(targ.length===0)return;if(targ.is||targ.style)toff=(targ=$(targ)).offset();}var offset=typeof settings.offset==='function'&&settings.offset(elem,targ)||settings.offset;$.each(settings.axis.split(''),function(i,axis){var Pos=axis==='x'?'Left':'Top',pos=Pos.toLowerCase(),key='scroll'+Pos,prev=$elem[key](),max=$scrollTo.max(elem,axis);if(toff){attr[key]=toff[pos]+(win?0:prev-$elem.offset()[pos]);if(settings.margin){attr[key]-=parseInt(targ.css('margin'+Pos),10)||0;attr[key]-=parseInt(targ.css('border'+Pos+'Width'),10)||0;}attr[key]+=offset[pos]||0;if(settings.over[pos])attr[key]+=targ[axis==='x'?'width':'height']()*settings.over[pos];}else{var val=targ[pos];attr[key]=val.slice&&val.slice(-1)==='%'?parseFloat(val)/100*max:val;}if(settings.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&settings.axis.length>1)if(prev===attr[key])attr={};else{if(queue){animate(settings.onAfterFirst);attr={};}}});animate(settings.onAfter);function animate(callback){var opts=$.extend({},settings,{queue:true,duration,complete:callback&&function(){callback.call(elem,targ,settings);}});$elem.animate(attr,opts);}});};$scrollTo.max=function(elem,axis){var Dim=axis==='x'?'Width':'Height',scroll='scroll'+Dim;if(!isWin(elem))return elem[scroll]-$(elem)[Dim.toLowerCase()]();var size='client'+Dim,doc=elem.ownerDocument||elem.document,html=doc.documentElement,body=doc.body;return Math.max(html[scroll],body[scroll])-Math.min(html[size],body[size]);};function both(val){return typeof val==='function'||$.isPlainObject(val)?val:{top:val,left:val};}$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(t){return $(t.elem)[t.prop]();},set:function(t){var curr=this.get(t);if(t.options.interrupt&&t._last&&t._last!==curr)return $(t.elem).stop();var next=Math.round(t.now);if(curr!==next){$(t.elem)[t.prop](next);t._last=this.get(t);}}};return $scrollTo;});;
22if(!Array.prototype.find)Object.defineProperty(Array.prototype,"find",{value:function(predicate){if(this==null)throw new TypeError('"this" is null or not defined');var o=Object(this);var len=o.length>>>0;if(typeof predicate!=="function")throw new TypeError("predicate must be a function");var thisArg=arguments[1];var k=0;while(k<len){var kValue=o[k];if(predicate.call(thisArg,kValue,k,o))return kValue;k++;}return undefined;},configurable:true,writable:true});(function($,once){"use strict";Drupal.behaviors.CohesionLink={attach:function(context){var cmm=ne
22w Drupal.CohesionResponsiveBreakpoints();$.each(once("coh-js-scroll-to-init",".coh-js-scroll-to",context),bindScrollTo);$.each(once("coh-js-scroll-top-init",".coh-js-scroll-top",context),bindScrollTop);$.each(once("coh-toggle-modifier-init",".coh-interaction",context),bindModifier);$.each(once("coh-animation-init",".coh-interaction",context),bindAnimation);function whichTransitionEvent(){var t,el=document.createElement("fakeelement");var transitions={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in transitions)if(el.style[t]!==undefined)return transitions[t];}function getComponentClass($el){if(!$el||!$el.length)return undefined;for(var i=0;i<$el.prop("classList").length;i++)if($el.prop("classList")[i].match(/coh-component-instance-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/))return $el.prop("classList")[i];}function bindScrollTo(){var $this=$(this);$this.on("click",function(e){e.preventDefault();var defaultSettings={duration:450,offset:0};var scrollTarget=$this.data("cohScrollTo");var scrollDuration=$this.data("cohScrollDuration");var scrollOffset=function(){var offset=$this.data("cohScrollOffset");if(typeof offset==="string"){var $el=$(offset);if($el.length)return 0-$el.height();return 0;}return offset*-1;};var scrollSettings={duration:scrollDuration,offset:scrollOffset()};var settings=$.extend(defaultSettings,scrollSettings);$("html, body").scrollTo(scrollTarget,settings);});}function bindScrollTop(){$(this).on("click",function(e){e.preventDefault();$("html, body").scrollTo(0,450);});}function bindModifier(){var settings=$(this).data("interactionModifiers");if(!settings||settings[0].modifierType==="")return;$(this).on("click.coh.modifier",function(e){var $this=$(this);e.preventDefault();var modifier_types={"add-modifier":"addClass","remove-modifier":"removeClass","toggle-modifier":"toggleClass","toggle-modifier-accessible-collapsed":"toggleClass","toggle-modifier-accessible-expanded":"toggleClass"};for(var i=0;i<settings.length;i++){if(!settings[i].modifierName){console.warn('Link element is set to toggle a modifier class on a target element but no "Modifier class name" was specified. You must specify a "Modifier class name".');return;}var modifier_name=settings[i].modifierName.replace(/^\./,"");var interaction_target=settings[i].interactionTarget;var modifier_type=settings[i].modifierType;var transitionEvent=whichTransitionEvent();var $interaction_scope;var $target;if(settings[i].interactionScope!=="this"&&!interaction_target){console.warn('Link element is set to "'+modifier_type+'" but does not have a "Target (jQuery selector)" specified. You must specify a "Target (jQuery selector)" or set "Scope to" to "This element"');return;}$interaction_scope=getScope($this,settings[i].interactionScope,settings[i].interactionParent);$target=getTarget($this,interaction_target,$interaction_scope,settings[i].interaction_scope);if($target.length){$this.data("clickedModifier",!$this.data.clickedModifier);$target[modifier_types[modifier_type]](modifier_name).addClass("coh-transition");$target.on(transitionEvent,function(){$(this).removeClass("coh-transition").off(transitionEvent);});if(modifier_type.indexOf("toggle-modifier-accessible-")===0)$(this).attr("aria-expanded",$(this).attr("aria-expanded")==="true"?"false":"true");Drupal.attachBehaviors($target[0]);}}});}function cohCheckDisplayResize(mm){var currentSettings=mm.cohesion.settings.breakpoints[mm.cohesion.key]||{};var animSettings=currentSettings.linkAnimation||currentSettings.buttonAnimation||[];mm.cohesion.settings.element.data("previousBreakPointAnimSettings").forEach(function(prevSetting){var matchedSetting=animSettings.find(function(setting){return prevSetting.animationTarget===setting.animationTarget;});if(!matchedSetting&&prevSetting.displayReset!==false)if(mm.cohesion.settings.element.data("clickedAnimation")){runAnimation(mm.cohesion.settings.element,prevSetting,true);if(mm.cohesion.settings.element.data("clickedModifier"))mm.cohesion.settings.element.trigger("click.coh.modifier");}else{if(prevSetting.animationTarget){var $interaction_scope=getScope(mm.cohesion.settings.element,prevSetting.animationScope,prevSetting.animationParent);var $target=getTarget(mm.cohesion.settings.element,prevSetting.animationTarget,$interaction_scope,prevSetting.animationScope);$target.css("display","");}}});mm.cohesion.settings.element.data("previousBreakPointAnimSettings",animSettings||[]);}
22function bindAnimation(){var $this=$(this),data=$this.data("cohSettings"),settings={element:$this,breakpoints:{}},key;$this.data("previousBreakPointAnimSettings",[]);for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]={};if(typeof data[key]!=="undefined"&&!$.isEmptyObject(data[key])){settings.breakpoints[key]=data[key];var previous=data[key];}else{if(typeof cmm.breakpoints[i-1]!=="undefined"&&typeof previous!=="undefined")settings.breakpoints[key]=previous;}}cmm.addListeners(settings,cohCheckDisplayResize);$this.on("click.coh.animation",function(e){e.preventDefault();var currentSettings=settings.breakpoints[cmm.getCurrentBreakpoint().key];currentSettings=currentSettings.linkAnimation||currentSettings.buttonAnimation;if(currentSettings)for(var i=0;i<currentSettings.length;i++){var currentSetting=currentSettings[i];if(currentSetting.animationType!=="none")runAnimation($this,currentSetting);}});}function runAnimation($this,settings,removeDisplay){var $interaction_scope;var $target,origin;$interaction_scope=getScope($this,settings.animationScope,settings.animationParent);$target=getTarget($this,settings.animationTarget,$interaction_scope,settings.animationScope);if($target.length){$this.data("clickedAnimation",!$this.data("clickedAnimation"));if(settings.animationOrigin)origin=settings.animationOrigin.split(",");$.each($($target),function(){var $that=$(this);$that.toggle({effect:settings.animationType,direction:settings.animationDirection,distance:settings.animationDistance,pieces:settings.animationPieces,percent:settings.animationScale,origin,size:settings.animationFoldHeight,horizFirst:settings.animationHorizontalFirst,times:settings.animationIterations,easing:settings.animationEasing,duration:removeDisplay?0:settings.animationDuration,complete:function(){Drupal.attachBehaviors($(this)[0]);if(removeDisplay)$that.css("display","");}});});}}function getScope($this,scope,parent){var $interaction_scope;switch(scope){case "this":$interaction_scope=$this;break;case "parent":$interaction_scope=$this.closest(parent);break;case "component":var componentClass=getComponentClass($this.closest(".coh-component"));if(componentClass)$interaction_scope=$("."+componentClass);else $interaction_scope=$(document);break;default:$interaction_scope=$(document);break;}return $interaction_scope;}function getTarget($this,interaction_target,$interaction_scope,interaction_scope){var $target=$();if(interaction_scope==="this"&&!interaction_target)$target=$this;else{if(!interaction_target){console.warn('Element does not have a "Target (jQuery selector)" specified. You must specify a "Target (jQuery selector)" or set "Scope to" to "This element".');return $target;}}if(!$target.length)$target=$(interaction_target,$interaction_scope);if(!$target.length)$target=$interaction_scope.filter(interaction_target);if(!$target.length)$target=$interaction_scope.find($(interaction_target));if(interaction_target.indexOf(".")!==0){if(!$target.length)$target=$interaction_scope.filter("."+interaction_target);if(!$target.length)$target=$interaction_scope.find($("."+interaction_target));}if(!$target.length)console.warn('Element has "Target (jQuery selector)" set to "'+interaction_target+'", but no matching element was found on the page.');return $target;}}};})(jQuery,once);;
23if(!('inert' in HTMLElement.prototype)){Object.defineProperty(HTMLElement.prototype,'inert',{enumerable:true,get:function(){return this.hasAttribute('inert');},set:function(inert){if(inert)this.setAttribute('inert','');else this.removeAttribute('inert');}});window.addEventListener('load',function(){function applyStyle(css){var style=document.createElement('style');style.type='text/css';if(style.styleSheet)style.styleSheet.cssText=css;else style.appendChild(document.createTextNode(css));document.body.appendChild(style);}var css="/*[inert]*/*[inert]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}";applyStyle(css);function dispatchTabEvent(opt_shiftKey){var ev=null;try{ev=new KeyboardEvent('keydown',{keyCode:9,which:9,key:'Tab',code:'Tab',keyIdentifier:'U+0009',shiftKey:!!opt_shiftKey,bubbles:true});}catch(e){try{ev=document.createEvent('KeyboardEvent');ev.initKeyboardEvent('keydown',true,true,window,'Tab',0,opt_shiftKey?'Shift':'',false,'en');}catch(e){}}if(ev){try{Object.defineProperty(ev,'keyCode',{value:9});}catch(e){}document.dispatchEvent(ev);}}function madeInertBy(e){while(e&&e!==document.documentElement){if(e.hasAttribute('inert'))return e;e=e.parentElement;}return null;}var findShadowRoot=function(e){return null;};
23if(window.ShadowRoot)findShadowRoot=function(e){while(e&&e!==document.documentElement){if(e instanceof window.ShadowRoot)return e;e=e.parentNode;}return null;};function targetForEvent(event){var p=event.path;return (p&&p[0]||event.target);}var lastTabDirection=0;document.addEventListener('keydown',function(ev){if(ev.keyCode===9)lastTabDirection=ev.shiftKey?-1:+1;else lastTabDirection=0;});document.addEventListener('mousedown',function(ev){lastTabDirection=0;});var focusedShadowRoot=null;function updateFocusedShadowRoot(root){if(root==focusedShadowRoot)return;if(focusedShadowRoot){if(!(focusedShadowRoot instanceof window.ShadowRoot))throw new Error('not shadow root: '+focusedShadowRoot);focusedShadowRoot.removeEventListener('focusin',shadowFocusHandler,true);}if(root)root.addEventListener('focusin',shadowFocusHandler,true);focusedShadowRoot=root;}function shadowFocusHandler(ev){var last=ev.path[ev.path.length-1];if(last===(window))return;sharedFocusHandler(targetForEvent(ev));ev.preventDefault();ev.stopPropagation();}function sharedFocusHandler(target){var inertElement=madeInertBy(target);if(!inertElement)return;if(document.hasFocus()&&lastTabDirection!==0){function getFocused(){return (focusedShadowRoot||document).activeElement;}var previous=getFocused();dispatchTabEvent(lastTabDirection<0?true:false);if(previous!=getFocused())return;var filter=({acceptNode:function(node){if(!node||!node.focus||node.tabIndex<0)return NodeFilter.FILTER_SKIP;var contained=inertElement.contains(node);return contained?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT;}});var walker=document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT,filter);walker.currentNode=inertElement;var nextFunc=Math.sign(lastTabDirection)===-1?walker.previousNode:walker.nextNode;var next=nextFunc.bind(walker);for(var candidate;candidate=next();){candidate.focus();if(getFocused()!==previous)return;}}target.blur();}document.body.addEventListener('focus',function(ev){var target=targetForEvent(ev);updateFocusedShadowRoot((target==ev.target?null:findShadowRoot(target)));sharedFocusHandler(target);},true);document.addEventListener('click',function(ev){var target=targetForEvent(ev);if(madeInertBy(target)){ev.preventDefault();ev.stopPropagation();}},true);});};
24;(function(w,doc,Drupal){'use strict';Drupal.behaviors.ARIAmodal={attach:function(context,settings){var ARIAmodal={};w.ARIAmodal=ARIAmodal;ARIAmodal.NS='ARIAmodal';ARIAmodal.AUTHOR='Scott O\'Hara';ARIAmodal.VERSION='3.4.0';ARIAmodal.LICENSE='https://github.com/scottaohara/accessible_modal_window/blob/master/LICENSE';var activeClass='modal-open';var body=doc.body;var main=doc.getElementsByTagName('main')[0]||body;var modal=doc.querySelectorAll('[data-modal]');var children=doc.querySelectorAll('body > *:not([data-modal])');var initialTrigger;var activeModal;var useAriaModal=false;var returnToBody=false;var firstClass='js-first-focus';var lastClass='js-last-focus';var tabFocusElements='button:not([hidden]):not([disabled]), [href]:not([hidden]), input:not([hidden]):not([type="hidden"]):not([disabled]), select:not([hidden]):not([disabled]), textarea:not([hidden]):not([disabled]), [tabindex="0"]:not([hidden]):not([disabled]), summary:not([hidden]), [contenteditable]:not([hidden]), audio[controls]:not([hidden]), video[controls]:not([hidden])';ARIAmodal.getOnce=function(element,namespace){return element.dataset[namespace]||false;};ARIAmodal.unsetOnce=function(element,namespace){element.dataset[namespace]=undefined;};ARIAmodal.setOnce=function(element,namespace){element.dataset[namespace]=true;};ARIAmodal.organizeDOM=function(){var refEl=body.firstElementChild||null;var i;var self;for(i=0;i<modal.length;i+=1){self=modal[i];if(ARIAmodal.getOnce(self,'modal'))continue;ARIAmodal.setOnce(self,'modal');body.insertBefore(modal[i],refEl);}};ARIAmodal.setupTrigger=function(){var trigger=context.querySelectorAll('[data-modal-open]');var self;var i;for(i=0;i<trigger.length;i+=1){self=trigger[i];if(ARIAmodal.getOnce(self,'trigger'))continue;ARIAmodal.setOnce(self,'trigger');var getOpenTarget=self.getAttribute('data-modal-open');var hasHref=self.getAttribute('href');if(self.nodeName!=='BUTTON'){self.setAttribute('role','button');self.tabIndex=0;}if(getOpenTarget===''&&hasHref){self.setAttribute('data-modal-open',hasHref.split('#')[1]);getOpenTarget=hasHref.split('#')[1];}self.removeAttribute('href');if(getOpenTarget){if(self.hasAttribute('disabled')&&!self.hasAttribute('data-modal-disabled'))self.removeAttribute('disabled');self.removeAttribute('hidden');self.addEventListener('click',ARIAmodal.openModal);self.addEventListener('keydown',ARIAmodal.keyEvents,false);}else console.warn('Missing target modal dialog - [data-modal-open="IDREF"]');}};ARIAmodal.setupModal=function(){var self;var i;for(i=0;i<modal.length;i+=1){self=modal[i];if(ARIAmodal.getOnce(self,'setupModal'))continue;ARIAmodal.setOnce(self,'setupModal');var modalType=self.getAttribute('data-modal');var getClass=self.getAttribute('data-modal-class')||'a11y-modal';var heading=self.querySelector('h1, h2, h3, h4, h5, h6');var modalLabel=self.getAttribute('data-modal-label');var hideHeading=self.hasAttribute('data-modal-hide-heading');
24var modalDesc=self.querySelector('[data-modal-description]');var modalDoc=self.querySelector('[data-modal-document]');if(modalType==='alert')self.setAttribute('role','alertdialog');else self.setAttribute('role','dialog');self.classList.add(getClass);self.hidden=true;self.tabIndex='-1';if(modalDoc)modalDoc.setAttribute('role','document');ARIAmodal.setupModalCloseBtn(self,getClass,modalType);if(self.hasAttribute('data-aria-modal'))self.setAttribute('aria-modal','true');if(modalDesc){modalDesc.id=modalDesc.id||'md_desc_'+Math.floor(Math.random()*999)+1;self.setAttribute('aria-describedby',modalDesc.id);}if(modalLabel)self.setAttribute('aria-label',modalLabel);else if(heading){var makeHeading=self.id+'_heading';heading.classList.add(getClass+'__heading');heading.id=makeHeading;self.setAttribute('aria-labelledby',makeHeading);if(heading.hasAttribute('data-autofocus'))heading.tabIndex='-1';}else console.warn('Dialogs should have their purpose conveyed by a heading element (h1).');if(hideHeading)self.querySelector('#'+heading.id).classList.add('at-only');var focusable=self.querySelectorAll(tabFocusElements);focusable[0].classList.add(firstClass);focusable[focusable.length-1].classList.add(lastClass);}};ARIAmodal.setupModalCloseBtn=function(self,modalClass,modalType){var doNotGenerate=self.hasAttribute('data-modal-manual-close');var manualClose=self.querySelectorAll('[data-modal-close-btn]');var modalClose=self.getAttribute('data-modal-close');var modalCloseClass=self.getAttribute('data-modal-close-class');var closeIcon='<span data-modal-x></span>';var btnClass=modalClass;var i;if(!doNotGenerate)if(manualClose.length<2){var closeBtn=doc.createElement('button');closeBtn.type='button';self.classList.add(modalClass);closeBtn.classList.add(modalClass+'__close-btn');if(!modalClose&&modalType!=='alert'){closeBtn.innerHTML=closeIcon;closeBtn.setAttribute('aria-label','Close');closeBtn.classList.add('is-icon-btn');}else{closeBtn.innerHTML=modalClose;if(modalCloseClass)closeBtn.classList.add(modalCloseClass);}if(modalType!=='alert')if(self.querySelector('[role="document"]'))self.querySelector('[role="document"]').appendChild(closeBtn);else self.appendChild(closeBtn);closeBtn.addEventListener('click',ARIAmodal.closeModal);}for(i=0;i<manualClose.length;i+=1)manualClose[i].addEventListener('click',ARIAmodal.closeModal);doc.addEventListener('keydown',ARIAmodal.keyEvents,false);};ARIAmodal.openModal=function(e,autoOpen){var i;var getTargetModal=autoOpen||this.getAttribute('data-modal-open');activeModal=doc.getElementById(getTargetModal);var focusTarget=activeModal;var getAutofocus=activeModal.querySelector('[autofocus]')||activeModal.querySelector('[data-autofocus]');var setInert=activeModal.hasAttribute('data-coh-modal-overlay');useAriaModal=activeModal.hasAttribute('aria-modal');if(autoOpen)returnToBody=true;if(!autoOpen){e.preventDefault();initialTrigger=this.id;}if(getAutofocus)focusTarget=getAutofocus;else{if(activeModal.hasAttribute('data-modal-close-focus'))focusTarget=activeModal.querySelector('[class*="close-btn"]');}if(!body.classList.contains(activeClass)){body.classList.add(activeClass);if(setInert)for(i=0;i<children.length;i+=1){if(!useAriaModal){if(children[i].hasAttribute('aria-hidden'))children[i].setAttribute('data-keep-hidden',children[i].getAttribute('aria-hidden'));children[i].setAttribute('aria-hidden','true');}if(children[i].getAttribute('inert'))children[i].setAttribute('data-keep-inert','');else children[i].setAttribute('inert','true');}}else console.warn('It is not advised to open dialogs from within other dialogs. Instead consider replacing the contents of this dialog with new content. Or providing a stepped, or tabbed interface within this dialog.');activeModal.removeAttribute('hidden');requestAnimationFrame(function(){focusTarget.focus();});return [initialTrigger,activeModal,returnToBody];};ARIAmodal.closeModal=function(e){var trigger=doc.getElementById(initialTrigger)||null;var i;var m;for(i=0;i<children.length;i+=1){if(!children[i].hasAttribute('data-keep-inert'))children[i].removeAttribute('inert');children[i].removeAttribute('data-keep-inert');if(children[i].getAttribute('data-keep-hidden'))children[i].setAttribute('aria-hidden',children[i].getAttribute('data-keep-hidden'));else children[i].removeAttribute('aria-hidden');children[i].removeAttribute('data-keep-hidden');}body.classList.remove(activeClass);for(m=0;m<modal.length;m+=1)if(!modal[m].hasAttribute('hidden'))modal[m].hidden=true;if(trigger!==null)trigger.focus();else if(main&&!returnToBody){main.tabIndex=-1;main.focus();}else{body.tabIndex=-1;body.focus();}initialTrigger=undefined;activeModal=undefined;returnToBody=false;return [initialTrigger,activeModal,returnToBody];};ARIAmodal.keyEvents=function(e){var keyCode=e.keyCode||e.which;var escKey=27;var enterKey=13;var spaceKey=32;var tabKey=9;if(e.target.hasAttribute('data-modal-open'))switch(keyCode){case enterKey:case spaceKey:e.preventDefault();e.target.click();break;}if(body.classList.contains(activeClass)){switch(keyCode){case escKey:ARIAmodal.closeModal();break;default:break;}if(body.classList.contains(activeClass)){var firstFocus=activeModal.querySelector('.'+firstClass);var lastFocus=activeModal.querySelector('.'+lastClass);}if(doc.activeElement.classList.contains(lastClass))if(keyCode===tabKey&&!e.shiftKey){e.preventDefault();firstFocus.focus();}if(doc.activeElement.classList.contains(firstClass))if(keyCode===tabKey&&e.shiftKey){e.preventDefault();lastFocus.focus();}}};ARIAmodal.autoLoad=function(){var getAuto=context.querySelectorAll('[data-modal-auto]');if(getAuto.length<=0||ARIAmodal.getOnce(getAuto[0],'autoload'))return;ARIAmodal.setOnce(getAuto[0],'autoload');var hashValue=w.location.hash||null;var autoOpen;var useHash=false;var e=null;if(hashValue!==null){autoOpen=hashValue.split('#')[1];if(autoOpen==='')return false;else if(autoOpen==='!null')return false;else{var checkforDialog=context.getElementById(autoOpen)||null;if(checkforDialog!==null)if(checkforDialog.getAttribute('role')==='dialog'||checkforDialog.getAttribute('role')==='alertdialog')useHash=true;}}if(useHash){ARIAmodal.openModal(e,autoOpen);if(getAuto.length>1)console.warn('Only the modal indicated by the hash value will load.');}else{if(getAuto.length!==0)if(getAuto[0].getAttribute('role')==='dialog'||getAuto[0].getAttribute('role')==='alertdialog'){autoOpen=getAuto[0].id;ARIAmodal.openModal(e,autoOpen);if(getAuto.length>1)console.warn('Multiple modal dialogs can not auto load.');}else{if(getAuto[0].getAttribute('role')==='button'||getAuto[0].tagName==='BUTTON'){autoOpen=getAuto[0].id;getAuto[0].click();}}}if(getAuto.length!==0&&!doc.getElementById(autoOpen).hasAttribute('data-modal-auto-persist'))w.location.replace("#!null");};ARIAmodal.init=function(){ARIAmodal.organizeDOM();ARIAmodal.setupTrigger();ARIAmodal.setupModal();ARIAmodal.autoLoad();};ARIAmodal.init();}};})(window,document,Drupal);;
25(function($,Drupal,once){"use strict";Drupal.behaviors.CohesionModal={attach:function(context){$(once('coh-js-modal-init','.coh-modal')).each(function(){var $this=$(this);var modalAnimation=$this.data('cohModalAnimation');var modalDelayOpen=$this.data('cohModalDelayOpen')||0;var modalDelayClose=$this.data('cohModalDelayClose')||0;var $modalInner=$this.find('> .coh-modal-inner');var $modalOverlay=$this.find('> .coh-modal-overlay');var $modalCloseWrapper=$this.find('> .coh-modal-close-wrapper');var animOptions={};var overlayAnimOptions={effect:'fade',duration:150};var delayOpenTimeout,delayCloseTimeout;var openClass='is-open';if(modalAnimation&&modalAnimation.effect!=='none')animOptions={effect:modalAnimation.effect,direction:modalAnimation.direction,distance:modalAnimation.distance,size:modalAnimation.size,horizFirst:modalAnimation.horizFirst,times:modalAnimation.times,easing:modalAnimation.easing,duration:modalAnimation.duration};if(modalAnimation&&modalAnimation.effect==='none')animOptions={duration:0};var openAnimOptions=$.extend({},animOptions);var closeAnimOptions=$.extend({complete:function(){$this.hide();$($this).removeClass(openClass);$($modalInner).removeClass(openClass);Drupal.detachBehaviors($this[0]);}},animOptions);openAnimOptions.complete=function(){Drupal.attachBehaviors($this[0]);$($this).addClass(openClass);$($modalInner).addClass(openClass);};if($this.attr('coh-data-modal-auto-close')!==undefined&&modalDelayClose)openAnimOptions.complete=function(){Drupal.attachBehaviors($this[0]);delayCloseTimeout=setTimeout(function(){window.ARIAmodal.closeModal();$($this).addClass(openClass);$($modalInner).addClass(openClass);},modalDelayClose);};if($this.attr('data-modal-auto')!==undefined&&$this.attr('hidden')===undefined)delayOpenTimeout=setTimeout(function(){$this.show();if($modalCloseWrapper.length)$modalCloseWrapper.show(overlayAnimOptions);if($modalOverlay.length){$modalOverlay.show(overlayAnimOptions);$('body').addClass('coh-modal-overlay-open');}$modalInner.show(openAnimOptions);},modalDelayOpen);var onMutate=function(mutationsList,observer){mutationsList.forEach(function(mutation){if(mutation.type==='attributes'&&mutation.attributeName==='hidden'){var $modalContainer=$(mutation.target);var $modal=$modalContainer.find('> .coh-modal-inner');if(mutation.target['hidden']){window.clearTimeout(delayOpenTimeout);window.clearTimeout(delayCloseTimeout);if($modalCloseWrapper.length)$modalCloseWrapper.hide(overlayAnimOptions);if($modalOverlay.length){$modalOverlay.hide(overlayAnimOptions);$('body').removeClass('coh-modal-overlay-open');};$modal.hide(closeAnimOptions);}else{window.clearTimeout(delayOpenTimeout);window.clearTimeout(delayCloseTimeout);if($modalOverlay.length)$('body').addClass('coh-modal-overlay-open');$modalContainer.show(0,function(){$modal.show(openAnimOptions);if($modalCloseWrapper.length)$modalCloseWrapper.show(overlayAnimOptions);if($modalOverlay.length)$modalOverlay.show(overlayAnimOptions);;});}}});};var observer=new MutationObserver(onMutate);observer.observe($this[0],{attributes:true});});}};})(jQuery,Drupal,once);;
26;(function(factory){'use strict';if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module!=='undefined'&&module.exports)module.exports=factory(require('jquery'));else factory(jQuery);})(function($){var _previousResizeWidth=-1,_updateTimeout=-1;var _parse=function(value){return parseFloat(value)||0;};var _rows=function(elements){var tolerance=1,$elements=$(elements),lastTop=null,rows=[];$elements.each(function(){var $that=$(this),top=$that.offset().top-_parse($that.css('margin-top')),lastRow=rows.length>0?rows[rows.length-1]:null;if(lastRow===null)rows.push($that);else if(Math.floor(Math.abs(lastTop-top))<=tolerance)rows[rows.length-1]=lastRow.add($that);else rows.push($that);lastTop=top;});return rows;};var _parseOptions=function(options){var opts={byRow:true,property:'height',target:null,remove:false};if(typeof options==='object')return $.extend(opts,options);if(typeof options==='boolean')opts.byRow=options;else{if(options==='remove')opts.remove=true;}return opts;};var matchHeight=$.fn.matchHeight=function(options){var opts=_parseOptions(options);if(opts.remove){var that=this;this.css(opts.property,'');$.each(matchHeight._groups,function(key,group){group.elements=group.elements.not(that);});matchHeight._groups=matchHeight._groups.filter(function(group){return group.elements.length>0;});return this;}if(this.length<=1&&!opts.target)return this;matchHeight._groups.push({elements:this,options:opts});matchHeight._apply(this,opts);return this;};matchHeight.version='0.7.2';matchHeight._groups=[];matchHeight._throttle=80;matchHeight._maintainScroll=false;matchHeight._beforeUpdate=null;matchHeight._afterUpdate=null;matchHeight._rows=_rows;matchHeight._parse=_parse;matchHeight._parseOptions=_parseOptions;matchHeight.$window=$(window);matchHeight.$html=$('html');matchHeight._apply=function(elements,options){var opts=_parseOptions(options),$elements=$(elements),rows=[$elements];var scrollTop=matchHeight.$window.scrollTop();var htmlHeight=matchHeight.$html.outerHeight(true);var $hiddenParents=$elements.parents().filter(':hidden');$hiddenParents.each(function(){var $that=$(this);$that.data('style-cache',$that.attr('style'));});$hiddenParents.css('display','block');if(opts.byRow&&!opts.target){$elements.each(function(){var $that=$(this),display=$that.css('display');if(display!=='inline-block'&&display!=='flex'&&display!=='inline-flex')display='block';$that.data('style-cache',$that.attr('style'));$that.css({'display':display,'padding-top':'0','padding-bottom':'0','margin-top':'0','margin-bottom':'0','border-top-width':'0','border-bottom-width':'0','height':'100px','overflow':'hidden'});});rows=_rows($elements);$elements.each(function(){var $that=$(this);$that.attr('style',$that.data('style-cache')||'');});}$.each(rows,function(key,row){var $row=$(row),targetHeight=0;if(!opts.target){if(opts.byRow&&$row.length<=1){$row.css(opts.property,'');return;}$row.each(function(){var $that=$(this),style=$that.attr('style'),display=$that.css('display');if(display!=='inline-block'&&display!=='flex'&&display!=='inline-flex')display='block';var css={'display':display};css[opts.property]='';$that.css(css);if($that.outerHeight(false)>targetHeight)targetHeight=$that.outerHeight(false);
26if(style)$that.attr('style',style);else $that.css('display','');});}else targetHeight=opts.target.outerHeight(false);$row.each(function(){var $that=$(this),verticalPadding=0;if(opts.target&&$that.is(opts.target))return;if($that.css('box-sizing')!=='border-box'){verticalPadding+=_parse($that.css('border-top-width'))+_parse($that.css('border-bottom-width'));verticalPadding+=_parse($that.css('padding-top'))+_parse($that.css('padding-bottom'));}$that.css(opts.property,(targetHeight-verticalPadding)+'px');});});$hiddenParents.each(function(){var $that=$(this);$that.attr('style',$that.data('style-cache')||null);});if(matchHeight._maintainScroll)matchHeight.$window.scrollTop((scrollTop/htmlHeight)*matchHeight.$html.outerHeight(true));return this;};matchHeight._applyDataApi=function(){var groups={};$('[data-match-height], [data-mh]').each(function(){var $this=$(this),groupId=$this.attr('data-mh')||$this.attr('data-match-height');if(groupId in groups)groups[groupId]=groups[groupId].add($this);else groups[groupId]=$this;});$.each(groups,function(){this.matchHeight(true);});};var _update=function(event){if(matchHeight._beforeUpdate)matchHeight._beforeUpdate(event,matchHeight._groups);$.each(matchHeight._groups,function(){matchHeight._apply(this.elements,this.options);});if(matchHeight._afterUpdate)matchHeight._afterUpdate(event,matchHeight._groups);};matchHeight._update=function(event){if(matchHeight.updateCall)window.cancelAnimationFrame(matchHeight.updateCall);matchHeight.updateCall=window.requestAnimationFrame(function(){_update(event);});};$(matchHeight._applyDataApi);var on=$.fn.on?'on':'bind';matchHeight.$window[on]('load orientationchange',function(event){matchHeight._update(event);});matchHeight.$window[on]('resize',function(event){matchHeight._update(event);});});;
27(function($,Drupal,drupalSettings){"use strict";Drupal.CohesionResponsiveBreakpoints=function(settings){this.constants={'desktop':'desktop-first','mobile':'mobile-first','widthType':{'fluid':'fluid','fixed':'fixed'},'mediaQuery':{'all':'all','max':'max-width','min':'min-width'}};this.settings=settings||drupalSettings.cohesion.responsive_grid_settings;this.breakpoints=[];this.listeners={};this.init=function(){this.sortBreakpoints();};this.getBreakpointMediaQuery=function(breakpoint){if(this.getGridType()===this.constants.mobile)if(breakpoint===this.getFirstBreakpoint())return this.constants.mediaQuery.all;else if(typeof this.getBreakpoints()[breakpoint]!=='undefined')return '(min-width: '+this.getBreakpointWidth(breakpoint)+'px)';else return '(min-width: '+breakpoint+'px)';if(this.getGridType()===this.constants.desktop){var breakpointIndex=this.getBreakpointIndex(breakpoint);var minWidth=0;var breakpointMaxWidth=false;if(breakpoint!==this.getLastBreakpoint())minWidth=this.getBreakpointWidth(this.breakpoints[breakpointIndex].key);if(breakpoint!==this.getFirstBreakpoint())breakpointMaxWidth=this.getBreakpointWidth(this.breakpoints[breakpointIndex-1].key)-1;var mediaQuery='(min-width: '+minWidth+'px)';if(breakpointMaxWidth)mediaQuery=mediaQuery+' and (max-width: '+breakpointMaxWidth+'px)';return mediaQuery;}};this.getFirstBreakpoint=function(){return this.breakpoints[0].key;};this.getLastBreakpoint=function(){return this.breakpoints[this.breakpoints.length-1].key;};this.getGridType=function(){return this.settings.gridType;};this.isMobileFirst=function(){return this.settings.gridType===this.constants.mobile;};this.isDesktopFirst=function(){return this.settings.gridType===this.constants.desktop;};this.getBreakpointType=function(breakpoint){return this.settings.breakpoints[breakpoint].widthType;};this.getBreakpointWidth=function(breakpoint){var bp=this.settings.breakpoints[breakpoint];if(!bp)return 0;return bp.width!==undefined?bp.width:(bp.mobilePlaceholderWidth!==undefined?bp.mobilePlaceholderWidth:0);};this.getBreakpointMediaWidth=function(breakpoint){if(this.getGridType()===this.constants.mobile)if(breakpoint===this.getFirstBreakpoint())return 0;else if(typeof this.getBreakpoints()[breakpoint]!=='undefined')return this.getBreakpointWidth(breakpoint);else return breakpoint;if(this.getGridType()===this.constants.desktop){var breakpointIndex=this.getBreakp
27ointIndex(breakpoint);var minWidth=0;var breakpointMaxWidth=false;if(typeof this.breakpoints[breakpointIndex-1]!=='undefined')minWidth=this.getBreakpointWidth(this.breakpoints[breakpointIndex].key);if(breakpoint!==this.getFirstBreakpoint())breakpointMaxWidth=this.getBreakpointWidth(this.breakpoints[breakpointIndex-1].key)-1;var mediaQuery='(min-width: '+minWidth+'px)';if(breakpointMaxWidth)mediaQuery=mediaQuery+' and (max-width: '+breakpointMaxWidth+'px)';return breakpointMaxWidth;}};this.getBreakpointOuterGutter=function(breakpoint){return this.settings.breakpoints[breakpoint].outerGutter;};this.getBreakpointIndex=function(breakpoint){for(var i=0;i<this.breakpoints.length;i++)if(this.breakpoints[i].key===breakpoint)return i;};this.getBreakpoints=function(){return this.settings.breakpoints;};this.getBreakpointSettings=function(breakpoint){return this.settings.breakpoints[breakpoint];};this.getCurrentBreakpoint=function(){var match=false;for(var i=0;i<this.breakpoints.length;i++){if(i===0)match=this.breakpoints[i];var m=window.matchMedia(this.getBreakpointMediaQuery(this.breakpoints[i].key));if(m.matches)match=this.breakpoints[i];}return match;};this.getMediaQueryListEventObject=function(mql){return typeof mql.target!=='undefined'?mql.target:mql;};this.getMql=function(mql){return this.getMediaQueryListEventObject(mql);};this.addListener=function(breakpoint,cb){};this.handleListener=function(mql,key,callback,callbackSettings){var _this=this;if(!mql.matches&&this.isDesktopFirst())return;if(!mql.matches&&this.isMobileFirst()){key=_this.getCurrentBreakpoint().key;mql=_this.listeners[key];}mql=_this.getMql(mql);mql.cohesion={'key':key,'settings':callbackSettings};return callback(mql);};this.addListeners=function(settings,callback){var _this=this;var i,breakpointKey,mq,match;for(i=0;i<_this.breakpoints.length;i++){breakpointKey=_this.breakpoints[i].key;mq=_this.getBreakpointMediaQuery(breakpointKey);var listener;listener=window.matchMedia(mq);_this.listeners[breakpointKey]=listener;listener.addListener(this.handleListener.bind(this,listener,breakpointKey,callback,settings));if(listener.matches){match=listener;match.key=breakpointKey;}}if(match)this.handleListener(match,match.key,callback,settings);};this.sortBreakpoints=function(){var _this=this;var i=0;for(var k in _this.settings.breakpoints)if(_this.settings.breakpoints.hasOwnProperty(k)){var bp=Object.assign({},_this.settings.breakpoints[k]);if(bp.width===undefined)bp.width=bp.mobilePlaceholderWidth!==undefined?bp.mobilePlaceholderWidth:0;bp.key=k;_this.breakpoints.push(bp);i++;}if(_this.getGridType()===_this.constants.mobile)_this.breakpoints.sort(function(a,b){return a.width-b.width;});else if(_this.getGridType()===_this.constants.desktop)_this.breakpoints.sort(function(a,b){return b.width-a.width;});else throw 'Mobile or Desktop first must be set in Website settings > Responsive grid settings';};this.init();};})(jQuery,Drupal,drupalSettings);;
28(function($,Drupal){'use strict';var cmm=new Drupal.CohesionResponsiveBreakpoints();var pluginName='cohesionContainerMatchHeights';var defaults={current:false,excludeElements:['column'],expressionPrefixes:['>','> .coh-column'],loadersPrefix:'.coh-row > .coh-row-inner',elements:{'none':{'parent':'none','child':false},'h1':{'parent':'h1','child':false},'h2':{'parent':'h2','child':false},'h3':{'parent':'h3','child':false},'h4':{'parent':'h4','child':false},'h5':{'parent':'h5','child':false},'h6':{'parent':'h6','child':false},'p':{'parent':'p','child':false},'list-container':{'parent':'.coh-list-container','child':false},'container':{'parent':'.coh-container','child':false},'wysiwyg':{'parent':'.coh-wysiwyg','child':false},'hyperlink':{'parent':'a','child':false},'blockquote':{'parent':'blockquote','child':false},'slide':{'parent':'.slick-list > .slick-track > .coh-slider-item','child':false},'iframe':{'parent':'.coh-iframe','child':false},'youtube-video-background':{'parent':'.coh-youtube-video-background','child':false}},loaders:['.coh-row > .coh-row-inner frame','.coh-row > .coh-row-inner iframe','.coh-row > .coh-row-inner img','.coh-row > .coh-row-inner input[type="image"]','.coh-row > .coh-row-inner link','.coh-row > .coh-row-inner script','.coh-row > .coh-row-inner style']};function ccmh(element,options){this.element=element;this.$element=$(element);this.options=$.extend({},defaults,options);this._defaults=defaults;this._name=pluginName;this._current=false;this.init();}ccmh.prototype.init=function(){var _self=this;var key='';var previous={target:'none'};var settings={};settings._self=_self;settings.breakpoints={};for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]=previous;if(typeof _self.options.targets[key]!=='undefined'){settings.breakpoints[key]=_self.options.targets[key];previous=_self.options.targets[key];}else{if(typeof cmm.breakpoints[i-1]!=='undefined'&&typeof previous!==false){settings.breakpoints[key]=previous;_self.options.targets[key]={};_self.options.targets[key]=previous;}}}cmm.addListeners(settings,_self.setMatchHeightsCallback);
28$(_self.options.context).ajaxComplete(function(event,xhr,settings){$.fn.matchHeight._update();$(_self.options.loaders.toString(),_self.options.context).on('load',function(){if($(this).length)$.fn.matchHeight._update();});});};ccmh.prototype.getElement=function(elementKey){var element;if(this.options.elements.hasOwnProperty(elementKey))element=this.options.elements[elementKey];else element=elementKey.match(/^[.]/)?elementKey:'.'+elementKey;return element;};ccmh.prototype.getElementExpression=function(element,targetLevel){var expression=[],prefixes=[''],el=this.getElement(element),elementIsClass=typeof el==='string',depth=typeof targetLevel!=='undefined'?targetLevel:false;if(this.options.excludeElements.indexOf(element)<0)prefixes=this.options.expressionPrefixes;for(var i=0;i<prefixes.length;i++){if(!elementIsClass)expression[i]=prefixes[i]+' > '+el.parent;else expression[i]=prefixes[i]+' '+el;if(depth!==false)expression[i]=expression[i]+':nth-of-type('+depth+')';if(!elementIsClass&&el.child)expression[i]=expression[i]+' > '+el.child;}return expression.join(', ');};ccmh.prototype.setMatchHeights=function(settings){var _self=this;var target=settings.cohesion.settings.breakpoints[settings.cohesion.key];if(typeof target==='undefined'||target===false)return;var el=_self.getElement(target.target);_self.destroyMatchHeights();if(el!=='none'){var expression=_self.getElementExpression(target.target,target.targetLevel);_self._current=$(expression,_self.$element);return _self._current.matchHeight({byRow:false});}};ccmh.prototype.setMatchHeightsCallback=function(settings){var _self=settings.cohesion.settings._self||this;return _self.setMatchHeights(settings);};ccmh.prototype.destroyMatchHeights=function(){return $(this._current).matchHeight({remove:true});};$.fn[pluginName]=function(options){return this.each(function(){if(!$.data(this,'plugin_'+pluginName))$.data(this,'plugin_'+pluginName,new ccmh(this,options));});};})(jQuery,Drupal);;
29(function($,Drupal,once,drupalSettings){'use strict';Drupal.behaviors.CohesionRowForColumns={attach:function(context,settings){const isMatchHeightEnabled=drupalSettings.cohesion.front_end_settings.global_js.matchHeight;if(isMatchHeightEnabled)$.each(once('coh-row-match-heights-init','[data-coh-row-match-heights]',context),function(){var targets=$(this).data('cohRowMatchHeights');$('> .coh-row-inner',this).cohesionContainerMatchHeights({'targets':targets,'context':context});});}};})(jQuery,Drupal,once,drupalSettings);;
30;(function(factory){'use strict';if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof exports!=='undefined')module.exports=factory(require('jquery'));else factory(jQuery);}(function($){'use strict';var Slick=window.Slick||{};Slick=(function(){var instanceUid=0;function Slick(element,settings){var _=this,dataSettings;_.defaults={accessibility:true,adaptiveHeight:false,appendArrows:$(element),appendDots:$(element),arrows:true,asNavFor:null,playpauseButton:'',prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:false,autoplaySpeed:3000,centerMode:false,centerPadding:'50px',cssEase:'ease',customPaging:function(slider,i){return $('<button type="button" />').text(i+1);},dots:false,dotsClass:'slick-dots',draggable:true,easing:'linear',edgeFriction:0.35,fade:false,focusOnSelect:false,focusOnChange:false,infinite:true,initialSlide:0,keyboardNavigation:true,lazyLoad:'ondemand',mobileFirst:false,pauseOnHover:true,pauseOnFocus:true,pauseOnDotsHover:false,respondTo:'window',responsive:null,rows:1,rtl:false,slide:'',slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:true,swipeToSlide:false,touchMove:true,touchThreshold:5,useCSS:true,useTransform:true,variableWidth:false,vertical:false,verticalSwiping:false,waitForAnimate:true,zIndex:1000};_.initials={animating:false,dragging:false,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:false,slideCount:null,slideWidth:null,$slideTrack:null,$playpauseButton:null,$playpausePlayIcon:null,$playpausePauseIcon:null,$playpausePlayLabel:null,$playpausePauseLabel:null,$slides:null,
30sliding:false,slideOffset:0,swipeLeft:null,swiping:false,$list:null,touchObject:{},transformsEnabled:false,unslicked:false};$.extend(_,_.initials);_.activeBreakpoint=null;_.animType=null;_.animProp=null;_.breakpoints=[];_.breakpointSettings=[];_.cssTransitions=false;_.focussed=false;_.interrupted=false;_.hidden='hidden';_.paused=false;_.pausedByUser=false;_.positionProp=null;_.respondTo=null;_.rowCount=1;_.shouldClick=true;_.$slider=$(element);_.$slidesCache=null;_.transformType=null;_.transitionType=null;_.visibilityChange='visibilitychange';_.windowWidth=0;_.windowTimer=null;dataSettings=$(element).data('slick')||{};_.options=$.extend({},_.defaults,settings,dataSettings);_.currentSlide=_.options.initialSlide;_.originalSettings=_.options;if(typeof document.mozHidden!=='undefined'){_.hidden='mozHidden';_.visibilityChange='mozvisibilitychange';}else{if(typeof document.webkitHidden!=='undefined'){_.hidden='webkitHidden';_.visibilityChange='webkitvisibilitychange';}}_.autoPlay=$.proxy(_.autoPlay,_);_.autoPlayClear=$.proxy(_.autoPlayClear,_);_.autoPlayIterator=$.proxy(_.autoPlayIterator,_);_.changeSlide=$.proxy(_.changeSlide,_);_.clickHandler=$.proxy(_.clickHandler,_);_.selectHandler=$.proxy(_.selectHandler,_);_.setPosition=$.proxy(_.setPosition,_);_.swipeHandler=$.proxy(_.swipeHandler,_);_.dragHandler=$.proxy(_.dragHandler,_);_.keyHandler=$.proxy(_.keyHandler,_);_.playpauseToggleHandler=$.proxy(_.playpauseToggleHandler,_);_.instanceUid=instanceUid++;_.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;_.registerBreakpoints();_.init(true);}return Slick;}());Slick.prototype.activateADA=function(){var _=this;_.$slideTrack.find('.slick-active').attr({'aria-hidden':'false','tabindex':0}).find('a, input, button, select').attr({'tabindex':'0'});};Slick.prototype.addSlide=Slick.prototype.slickAdd=function(markup,index,addBefore){var _=this;if(typeof (index)==='boolean'){addBefore=index;index=null;}else{if(index<0||(index>=_.slideCount))return false;}_.unload();if(typeof (index)==='number')if(index===0&&_.$slides.length===0)$(markup).appendTo(_.$slideTrack);else if(addBefore)$(markup).insertBefore(_.$slides.eq(index));else $(markup).insertAfter(_.$slides.eq(index));else if(addBefore===true)$(markup).prependTo(_.$slideTrack);else $(markup).appendTo(_.$slideTrack);_.$slides=_.$slideTrack.children(this.options.slide);_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.append(_.$slides);_.$slides.each(function(index,element){$(element).attr('data-slick-index',index);});_.$slidesCache=_.$slides;_.reinit();};Slick.prototype.animateHeight=function(){var _=this;if(_.options.slidesToShow===1&&_.options.adaptiveHeight===true&&_.options.vertical===false){var targetHeight=_.$slides.eq(_.currentSlide).outerHeight(true);_.$list.animate({height:targetHeight},_.options.speed);}};Slick.prototype.animateSlide=function(targetLeft,callback){var animProps={},_=this;_.animateHeight();if(_.options.rtl===true&&_.options.vertical===false)targetLeft=-targetLeft;if(_.transformsEnabled===false)if(_.options.vertical===false)_.$slideTrack.animate({left:targetLeft},_.options.speed,_.options.easing,callback);else _.$slideTrack.animate({top:targetLeft},_.options.speed,_.options.easing,callback);else if(_.cssTransitions===false){if(_.options.rtl===true)_.currentLeft=-(_.currentLeft);$({animStart:_.currentLeft}).animate({animStart:targetLeft},{duration:_.options.speed,easing:_.options.easing,step:function(now){now=Math.ceil(now);if(_.options.vertical===false){animProps[_.animType]='translate('+now+'px, 0px)';_.$slideTrack.css(animProps);}else{animProps[_.animType]='translate(0px,'+now+'px)';_.$slideTrack.css(animProps);}},complete:function(){if(callback)callback.call();}});}else{_.applyTransition();targetLeft=Math.ceil(targetLeft);if(_.options.vertical===false)animProps[_.animType]='translate3d('+targetLeft+'px, 0px, 0px)';else animProps[_.animType]='translate3d(0px,'+targetLeft+'px, 0px)';_.$slideTrack.css(animProps);if(callback)setTimeout(function(){_.disableTransition();callback.call();},_.options.speed);}};Slick.prototype.getNavTarget=function(){var _=this,asNavFor=_.options.asNavFor;if(asNavFor&&asNavFor!==null)asNavFor=$(asNavFor).not(_.$slider);return asNavFor;};Slick.prototype.asNavFor=function(index){var _=this,asNavFor=_.getNavTarget();if(asNavFor!==null&&typeof asNavFor==='object')asNavFor.each(function(){var target=$(this).slick('getSlick');
30if(!target.unslicked)target.slideHandler(index,true);});};Slick.prototype.applyTransition=function(slide){var _=this,transition={};if(_.options.fade===false)transition[_.transitionType]=_.transformType+' '+_.options.speed+'ms '+_.options.cssEase;else transition[_.transitionType]='opacity '+_.options.speed+'ms '+_.options.cssEase;if(_.options.fade===false)_.$slideTrack.css(transition);else _.$slides.eq(slide).css(transition);};Slick.prototype.autoPlay=function(){var _=this;_.autoPlayClear();if(_.slideCount>_.options.slidesToShow)_.autoPlayTimer=setInterval(_.autoPlayIterator,_.options.autoplaySpeed);};Slick.prototype.autoPlayClear=function(){var _=this;if(_.autoPlayTimer)clearInterval(_.autoPlayTimer);};Slick.prototype.autoPlayIterator=function(){var _=this,slideTo=_.currentSlide+_.options.slidesToScroll;if(!_.paused&&!_.interrupted&&!_.focussed){if(_.options.infinite===false)if(_.direction===1&&(_.currentSlide+1)===(_.slideCount-1))_.direction=0;else{if(_.direction===0){slideTo=_.currentSlide-_.options.slidesToScroll;if(_.currentSlide-1===0)_.direction=1;}}_.slideHandler(slideTo);}};Slick.prototype.playpauseToggleHandler=function(event){var _=this;var paused=_.paused;_.$playpausePauseIcon.css('display',paused?'':'none');_.$playpausePlayIcon.css('display',!paused?'':'none');_.$playpausePauseLabel.css('display',paused?'':'none');_.$playpausePlayLabel.css('display',!paused?'':'none');if(paused){_.pausedByUser=false;_.slickPlay();}else{_.pausedByUser=true;_.slickPause();}};Slick.prototype.buildArrows=function(){var _=this;if(_.options.arrows===true){_.$prevArrow=$(_.options.prevArrow).addClass('slick-arrow');_.$nextArrow=$(_.options.nextArrow).addClass('slick-arrow');if(_.slideCount>_.options.slidesToShow){_.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');_.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');if(_.htmlExpr.test(_.options.prevArrow))_.options.rtl===true?_.$prevArrow.appendTo(_.options.appendArrows):_.$prevArrow.prependTo(_.options.appendArrows);if(_.htmlExpr.test(_.options.nextArrow))_.options.rtl===true?_.$nextArrow.prependTo(_.options.appendArrows):_.$nextArrow.appendTo(_.options.appendArrows);if(_.options.infinite!==true)_.$prevArrow.addClass('slick-disabled').attr('disabled',true);}else _.$prevArrow.add(_.$nextArrow).addClass('slick-hidden').attr({'disabled':true,'tabindex':'-1'});}};Slick.prototype.buildDots=function(){var _=this,i,dot;if(_.options.dots===true&&_.slideCount>_.options.slidesToShow){_.$slider.addClass('slick-dotted');dot=$('<ul />').addClass(_.options.dotsClass);for(i=0;i<=_.getDotCount();i+=1)dot.append($('<li />').append(_.options.customPaging.call(this,_,i)));_.$dots=dot.appendTo(_.options.appendDots);_.$dots.find('li').first().addClass('slick-active');}};Slick.prototype.buildPlaypause=function(){var _=this;var paused=_.paused;if(_.options.autoplay&&_.options.showPlaypause){_.$playpauseButton=$(_.options.playpauseButton);_.$playpausePlayIcon=$('.slick-play-icon',_.$playpauseButton).css('display',(paused!==true)?'none':'');_.$playpausePauseIcon=$('.slick-pause-icon',_.$playpauseButton).css('display',(paused===true)?'none':'');_.$playpausePlayLabel=$('.slick-play-text',_.$playpauseButton).css('display',paused?'none':'');_.$playpausePauseLabel=$('.slick-pause-text',_.$playpauseButton).css('display',!paused?'none':'');_.$playpauseButton.appendTo(_.options.appendPlaypause);}};Slick.prototype.buildOut=function(){var _=this;_.$slides=_.$slider.children(_.options.slide+':not(.slick-cloned)').addClass('slick-slide');_.slideCount=_.$slides.length;_.$slides.each(function(index,element){$(element).attr('data-slick-index',index).data('originalStyling',$(element).attr('style')||'').attr('role','group').attr('aria-label','slide '+(index+1));});_.$slider.addClass('slick-slider');_.$slideTrack=(_.slideCount===0)?$('<div class="slick-track"/>').appendTo(_.$slider):_.$slides.wrapAll('<div class="slick-track"/>').parent();_.$list=_.$slideTrack.wrap('<div class="slick-list"/>').parent();_.$slideTrack.css('opacity',0);if(_.options.centerMode===true||_.options.swipeToSlide===true)_.options.slidesToScroll=1;$('img[data-lazy]',_.$slider).not('[src]').addClass('slick-loading');_.setupInfinite();_.buildArrows();_.buildDots();_.buildPlaypause();_.updateDots();_.setSlideClasses(typeof _.currentSlide==='number'?_.currentSlide:0);if(_.options.draggable===true)_.$list.addClass('draggable');};Slick.prototype.buildRows=function(){var _=this,a,b,c,newSlides,numOfSlides,originalSlides,slidesPerSection;newSlides=document.createDocumentFragment();originalSlides=_.$slider.children();if(_.options.rows>0){slidesPerSection=_.options.slidesPerRow*_.options.rows;numOfSlides=Math.ceil(originalSlides.length/slidesPerSection);for(a=0;a<numOfSlides;a++){var slide=document.createElement('div');for(b=0;b<_.options.rows;b++){var row=document.createElement('div');for(c=0;c<_.options.slidesPerRow;c++){var target=(a*slidesPerSection+((b*_.options.slidesPerRow)+c));if(originalSlides.get(target))row.appendChild(originalSlides.get(target));}slide.appendChild(row);}newSlides.appendChild(slide);}_.$slider.empty().append(newSlides);_.$slider.children().children().children().css({'width':(100/_.options.slidesPerRow)+'%','display':'inline-block'});}};Slick.prototype.checkResponsive=function(initial,forceUpdate){var _=this,breakpoint,targetBreakp
30oint,respondToWidth,triggerBreakpoint=false;var sliderWidth=_.$slider.width();var windowWidth=window.innerWidth||$(window).width();if(_.respondTo==='window')respondToWidth=windowWidth;else if(_.respondTo==='slider')respondToWidth=sliderWidth;else{if(_.respondTo==='min')respondToWidth=Math.min(windowWidth,sliderWidth);}if(_.options.responsive&&_.options.responsive.length&&_.options.responsive!==null){targetBreakpoint=null;for(breakpoint in _.breakpoints)if(_.breakpoints.hasOwnProperty(breakpoint))if(_.originalSettings.mobileFirst===false){if(respondToWidth<_.breakpoints[breakpoint])targetBreakpoint=_.breakpoints[breakpoint];}else{if(respondToWidth>_.breakpoints[breakpoint])targetBreakpoint=_.breakpoints[breakpoint];}if(targetBreakpoint!==null)if(_.activeBreakpoint!==null){if(targetBreakpoint!==_.activeBreakpoint||forceUpdate){_.activeBreakpoint=targetBreakpoint;if(_.breakpointSettings[targetBreakpoint]==='unslick')_.unslick(targetBreakpoint);else{_.options=$.extend({},_.originalSettings,_.breakpointSettings[targetBreakpoint]);if(initial===true)_.currentSlide=_.options.initialSlide;_.refresh(initial);}triggerBreakpoint=targetBreakpoint;}}else{_.activeBreakpoint=targetBreakpoint;if(_.breakpointSettings[targetBreakpoint]==='unslick')_.unslick(targetBreakpoint);else{_.options=$.extend({},_.originalSettings,_.breakpointSettings[targetBreakpoint]);if(initial===true)_.currentSlide=_.options.initialSlide;_.refresh(initial);}triggerBreakpoint=targetBreakpoint;}else{if(_.activeBreakpoint!==null){_.activeBreakpoint=null;_.options=_.originalSettings;if(initial===true)_.currentSlide=_.options.initialSlide;_.refresh(initial);triggerBreakpoint=targetBreakpoint;}}if(!initial&&triggerBreakpoint!==false)_.$slider.trigger('breakpoint',[_,triggerBreakpoint]);}};Slick.prototype.changeSlide=function(event,dontAnimate){var _=this,$target=$(event.currentTarget),indexOffset,slideOffset,unevenOffset;if($target.is('a'))event.preventDefault();if(!$target.is('li'))$target=$target.closest('li');unevenOffset=(_.slideCount%_.options.slidesToScroll!==0);indexOffset=unevenOffset?0:(_.slideCount-_.currentSlide)%_.options.slidesToScroll;switch(event.data.message){case 'previous':slideOffset=indexOffset===0?_.options.slidesToScroll:_.options.slidesToShow-indexOffset;if(_.slideCount>_.options.slidesToShow)_.slideHandler(_.currentSlide-slideOffset,false,dontAnimate);break;case 'next':slideOffset=indexOffset===0?_.options.slidesToScroll:indexOffset;if(_.slideCount>_.options.slidesToShow)_.slideHandler(_.currentSlide+slideOffset,false,dontAnimate);break;case 'index':var index=event.data.index===0?0:event.data.index||$target.index()*_.options.slidesToScroll;_.slideHandler(_.checkNavigable(index),false,dontAnimate);$target.children().trigger('focus');break;default:return;}};Slick.prototype.checkNavigable=function(index){var _=this,navigables,prevNavigable;navigables=_.getNavigableIndexes();prevNavigable=0;if(index>navigables[navigables.length-1])index=navigables[navigables.length-1];else for(var n in navigables){if(index<navigables[n]){index=prevNavigable;break;}prevNavigable=navigables[n];}return index;};Slick.prototype.cleanUpEvents=function(){var _=this;if(_.$playpauseButton!==null)_.$playpauseButton.off('click.slick',_.playpauseToggleHandler);if(_.options.dots&&_.$dots!==null){$('li',_.$dots).off('click.slick',_.changeSlide).off('mouseenter.slick',$.proxy(_.interrupt,_,true)).off('mouseleave.slick',$.proxy(_.interrupt,_,false));if(_.options.keyboardNavigation===true)_.$dots.off('keydown.slick',_.keyHandler);}_.$slider.off('focus.slick blur.slick');if(_.options.arrows===true&&_.slideCount>_.options.slidesToShow){_.$prevArrow&&_.$prevArrow.off('click.slick',_.changeSlide);_.$nextArrow&&_.$nextArrow.off('click.slick',_.changeSlide);if(_.options.keyboardNavigation===true){_.$prevArrow&&_.$prevArrow.off('keydown.slick',_.keyHandler);_.$nextArrow&&_.$nextArrow.off('keydown.slick',_.keyHandler);}}_.$list.off('touchstart.slick mousedown.slick',_.swipeHandler);_.$list.off('touchmove.slick mousemove.slick',_.swipeHandler);_.$list.off('touchend.slick mouseup.slick',_.swipeHandler);
30_.$list.off('touchcancel.slick mouseleave.slick',_.swipeHandler);_.$list.off('click.slick',_.clickHandler);$(document).off(_.visibilityChange,_.visibility);_.cleanUpSlideEvents();if(_.options.keyboardNavigation===true)_.$list.off('keydown.slick',_.keyHandler);if(_.options.focusOnSelect===true)$(_.$slideTrack).children().off('click.slick',_.selectHandler);$(window).off('orientationchange.slick.slick-'+_.instanceUid,_.orientationChange);$(window).off('resize.slick.slick-'+_.instanceUid,_.resize);$('[draggable!=true]',_.$slideTrack).off('dragstart',_.preventDefault);$(window).off('load.slick.slick-'+_.instanceUid,_.setPosition);};Slick.prototype.cleanUpSlideEvents=function(){var _=this;_.$list.off('mouseenter.slick',$.proxy(_.interrupt,_,true));_.$list.off('mouseleave.slick',$.proxy(_.interrupt,_,false));};Slick.prototype.cleanUpRows=function(){var _=this,originalSlides;if(_.options.rows>0){originalSlides=_.$slides.children().children();originalSlides.removeAttr('style');_.$slider.empty().append(originalSlides);}};Slick.prototype.clickHandler=function(event){var _=this;if(_.shouldClick===false){event.stopImmediatePropagation();event.stopPropagation();event.preventDefault();}};Slick.prototype.destroy=function(refresh){var _=this;_.autoPlayClear();_.touchObject={};_.cleanUpEvents();$('.slick-cloned',_.$slider).detach();if(_.$playpauseButton!==null)_.$playpauseButton.remove();if(_.$dots)_.$dots.remove();if(_.$prevArrow&&_.$prevArrow.length)_.$prevArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden disabled tabindex').css('display','').remove();if(_.$nextArrow&&_.$nextArrow.length)_.$nextArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden disabled tabindex').css('display','').remove();if(_.$slides){_.$slides.removeClass('slick-slide slick-active slick-center slick-visible slick-current').removeAttr('aria-hidden').removeAttr('data-slick-index').each(function(){$(this).attr('style',$(this).data('originalStyling'));});_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.detach();_.$list.detach();_.$slider.append(_.$slides);}_.cleanUpRows();_.$slider.removeClass('slick-slider');_.$slider.removeClass('slick-initialized');_.$slider.removeClass('slick-dotted');_.unslicked=true;if(!refresh)_.$slider.trigger('destroy',[_]);};Slick.prototype.disableTransition=function(slide){var _=this,transition={};transition[_.transitionType]='';if(_.options.fade===false)_.$slideTrack.css(transition);else _.$slides.eq(slide).css(transition);};Slick.prototype.fadeSlide=function(slideIndex,callback){var _=this;if(_.cssTransitions===false){_.$slides.eq(slideIndex).css({zIndex:_.options.zIndex});_.$slides.eq(slideIndex).animate({opacity:1},_.options.speed,_.options.easing,callback);}else{_.applyTransition(slideIndex);_.$slides.eq(slideIndex).css({opacity:1,zIndex:_.options.zIndex});if(callback)setTimeout(function(){_.disableTransition(slideIndex);callback.call();},_.options.speed);}};Slick.prototype.fadeSlideOut=function(slideIndex){var _=this;if(_.cssTransitions===false)_.$slides.eq(slideIndex).animate({opacity:0,zIndex:_.options.zIndex-2},_.options.speed,_.options.easing);else{_.applyTransition(slideIndex);_.$slides.eq(slideIndex).css({opacity:0,zIndex:_.options.zIndex-2});}};Slick.prototype.filterSlides=Slick.prototype.slickFilter=function(filter){var _=this;if(filter!==null){_.$slidesCache=_.$slides;_.unload();_.$slideTrack.children(this.options.slide).detach();_.$slidesCache.filter(filter).appendTo(_.$slideTrack);_.reinit();}};Slick.prototype.focusHandler=function(){var _=this;_.$slider.off('focus.slick blur.slick').on('focus.slick','*',function(event){var $sf=$(this);setTimeout(function(){if(_.options.pauseOnFocus)if($sf.is(':focus')){_.focussed=true;_.autoPlay();}},0);}).on('blur.slick','*',function(event){var $sf=$(this);if(_.options.pauseOnFocus){_.focussed=false;_.autoPlay();}});};Slick.prototype.getCurrent=Slick.prototype.slickCurrentSlide=function(){var _=this;return _.currentSlide;};Slick.prototype.getDotCount=function(){var _=this;var breakPoint=0;var counter=0;var pagerQty=0;if(_.options.infinite===true)if(_.slideCount<=_.options.slidesToShow)++pagerQty;else while(breakPoint<_.slideCount){++pagerQty;breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow;}else if(_.options.centerMode===true)pagerQty=_.slideCount;else if(!_.options.asNavFor)pagerQty=1+Math.ceil((_.slideCount-_.options.slidesToShow)/_.options.slidesToScroll);else while(breakPoint<_.slideCount){++pagerQty;breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow;}return pagerQty-1;};Slick.prototype.getLeft=function(slideIndex){var _=this,targetLeft,verticalHeight,verticalOffset=0,targetSlide,coef;_.slideOffset=0;verticalHeight=_.$slides.first().outerHeight(true);if(_.options.infinite===true){if(_.slideCount>_.options.slidesToShow){_.slideOffset=(_.slideWidth*_.options.slidesToShow)*-1;coef=-1;if(_.options.vertical===true&&_.options.centerMode===true)if(_.options.slidesToShow===2)coef=-1.5;else{if(_.options.slidesToShow===1)coef=-2;}verticalOffset=(verticalHeight*_.options.slidesToShow)*coef;}if(_.slideCount%_.options.slidesToScroll!==0)if(slideIndex+_.options.slidesToScroll>_.slideCount&&_.slideCount>_.options.slidesToShow)if(slideIndex>_.slideCount){_.slideOffset=((_.options.slidesToShow-(slideIndex-_.slideCount))*_.slideWidth)*-1;verticalOffset=((_.options.slidesToShow-(slideIndex-_.slideCount))*verticalHeight)*-1;}else{_.slideOffset=((_.slideCount%_.options.slidesToScroll)*_.slideWidth)*-1;verticalOffset=((_.slideCount%_.options.slidesToScroll)*verticalHeight)*-1;}}else{if(slideIndex+_.options.slidesToShow>_.slideCount){_.slideOffset=((slideIndex+_.options.slidesToShow)-_.slideCount)*_.slideWidth;verticalOffset=((slideIndex+_.options.slidesToShow)-_.slideCount)*verticalHeight;}}if(_.slideCount<=_.options.slidesToShow){_.slideOffset=0;verticalOffset=0;}if(_.options.centerMode===true&&_.slideCount<=_.options.slidesToShow)_.slideOffset=((_.slideWidth*Math.floor(_.options.slidesToShow))/2)-((_.slideWidth*_.slideCount)/2);else if(_.options.centerMode===true&&_.options.infinite===true)_.slideOffset+=_.slideWidth*Math.floor(_.options.slidesToShow/2)-_.slideWidth;else{if(_.options.centerMode===true){_.slideOffset=0;_.slideOffset+=_.slideWidth*Math.floor(_.options.slidesToShow/2);}}if(_.options.vertical===false)targetLeft=((slideIndex*_.slideWidth)*-1)+_.slideOffset;else targetLeft=((slideIndex*verticalHeight)*-1)+verticalOffset;if(_.options.variableWidth===true){if(_.slideCount<=_.options.slidesToShow||_.options.infinite===false)targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex);else targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex+_.options.slidesToShow);
30if(_.options.rtl===true)if(targetSlide[0])targetLeft=(_.$slideTrack.width()-targetSlide[0].offsetLeft-targetSlide.width())*-1;else targetLeft=0;else targetLeft=targetSlide[0]?targetSlide[0].offsetLeft*-1:0;if(_.options.centerMode===true){if(_.slideCount<=_.options.slidesToShow||_.options.infinite===false)targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex);else targetSlide=_.$slideTrack.children('.slick-slide').eq(slideIndex+_.options.slidesToShow+1);if(_.options.rtl===true)if(targetSlide[0])targetLeft=(_.$slideTrack.width()-targetSlide[0].offsetLeft-targetSlide.width())*-1;else targetLeft=0;else targetLeft=targetSlide[0]?targetSlide[0].offsetLeft*-1:0;targetLeft+=(_.$list.width()-targetSlide.outerWidth())/2;}}return targetLeft;};Slick.prototype.getOption=Slick.prototype.slickGetOption=function(option){var _=this;return _.options[option];};Slick.prototype.getNavigableIndexes=function(){var _=this,breakPoint=0,counter=0,indexes=[],max;if(_.options.infinite===false)max=_.slideCount;else{breakPoint=_.options.slidesToScroll*-1;counter=_.options.slidesToScroll*-1;max=_.slideCount*2;}while(breakPoint<max){indexes.push(breakPoint);breakPoint=counter+_.options.slidesToScroll;counter+=_.options.slidesToScroll<=_.options.slidesToShow?_.options.slidesToScroll:_.options.slidesToShow;}return indexes;};Slick.prototype.getSlick=function(){return this;};Slick.prototype.getSlideCount=function(){var _=this,slidesTraversed,swipedSlide,swipeTarget,centerOffset;centerOffset=_.options.centerMode===true?Math.floor(_.$list.width()/2):0;swipeTarget=(_.swipeLeft*-1)+centerOffset;if(_.options.swipeToSlide===true){_.$slideTrack.find('.slick-slide').each(function(index,slide){var slideOuterWidth,slideOffset,slideRightBoundary;slideOuterWidth=$(slide).outerWidth();slideOffset=slide.offsetLeft;if(_.options.centerMode!==true)slideOffset+=(slideOuterWidth/2);slideRightBoundary=slideOffset+(slideOuterWidth);if(swipeTarget<slideRightBoundary){swipedSlide=slide;return false;}});slidesTraversed=Math.abs($(swipedSlide).attr('data-slick-index')-_.currentSlide)||1;return slidesTraversed;}else return _.options.slidesToScroll;};Slick.prototype.goTo=Slick.prototype.slickGoTo=function(slide,dontAnimate){var _=this;_.changeSlide({data:{message:'index',index:parseInt(slide)}},dontAnimate);};Slick.prototype.init=function(creation){var _=this;if(!$(_.$slider).hasClass('slick-initialized')){$(_.$slider).addClass('slick-initialized');if(_.pausedByUser)_.paused=true;_.buildRows();_.buildOut();_.setProps();_.startLoad();_.loadSlider();_.initializeEvents();_.updateArrows();_.updateDots();_.checkResponsive(true);_.focusHandler();}if(creation)_.$slider.trigger('init',[_]);if(_.options.accessibility===true)_.initADA();if(_.options.autoplay&&!_.pausedByUser){_.paused=false;_.autoPlay();}};Slick.prototype.initADA=function(){var _=this,numDotGroups=Math.ceil(_.slideCount/_.options.slidesToShow),tabControlIndexes=_.getNavigableIndexes().filter(function(val){return (val>=0)&&(val<_.slideCount);});_.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({'aria-hidden':'true','tabindex':'-1'}).find('a, input, button, select').attr({'tabindex':'-1'});if(_.$dots!==null){_.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i){var slideControlIndex=tabControlIndexes.indexOf(i);$(this).attr({'id':'slick-slide'+_.instanceUid+i});if(slideControlIndex!==-1){var ariaButtonControl='slick-slide-control'+_.instanceUid+slideControlIndex;if($('#'+ariaButtonControl).length)$(this).attr({'aria-describedby':ariaButtonControl});}});_.$dots.find('li').each(function(i){var mappedSlideIndex=tabControlIndexes[i];$(this).find('button').first().attr({'id':'slick-slide-control'+_.instanceUid+i,'aria-controls':'slick-slide'+_.instanceUid+mappedSlideIndex,'aria-label':(i+1)+' of '+numDotGroups,'aria-selected':null});}).eq(_.currentSlide).find('button').attr({'aria-selected':'true'}).end();}for(var i=_.currentSlide,max=i+_.options.slidesToShow;i<max;i++)if(_.options.focusOnChange)_.$slides.eq(i).attr({'tabindex':'0'});else _.$slides.eq(i).removeAttr('tabindex');_.activateADA();};Slick.prototype.initArrowEvents=function(){var _=this;if(_.options.arrows===true&&_.slideCount>_.options.slidesToShow){_.$prevArrow.off('click.slick').on('click.slick',{message:'previous'},_.changeSlide);_.$nextArrow.off('click.slick').on('click.slick',{message:'next'},_.changeSlide);
30if(_.options.keyboardNavigation===true){_.$prevArrow.on('keydown.slick',_.keyHandler);_.$nextArrow.on('keydown.slick',_.keyHandler);}}};Slick.prototype.initDotEvents=function(){var _=this;if(_.options.dots===true&&_.slideCount>_.options.slidesToShow){$('li',_.$dots).on('click.slick',{message:'index'},_.changeSlide);if(_.options.keyboardNavigation===true)_.$dots.on('keydown.slick',_.keyHandler);}if(_.options.dots===true&&_.options.pauseOnDotsHover===true&&_.slideCount>_.options.slidesToShow)$('li',_.$dots).on('mouseenter.slick',$.proxy(_.interrupt,_,true)).on('mouseleave.slick',$.proxy(_.interrupt,_,false));};Slick.prototype.initAutoplayEvents=function(){var _=this;if(_.$playpauseButton!=null)_.$playpauseButton.on('click.slick',_.playpauseToggleHandler);};Slick.prototype.initSlideEvents=function(){var _=this;if(_.options.pauseOnHover){_.$list.on('mouseenter.slick',$.proxy(_.interrupt,_,true));_.$list.on('mouseleave.slick',$.proxy(_.interrupt,_,false));}};Slick.prototype.initializeEvents=function(){var _=this;_.initArrowEvents();_.initDotEvents();_.initAutoplayEvents();_.initSlideEvents();_.$list.on('touchstart.slick mousedown.slick',{action:'start'},_.swipeHandler);_.$list.on('touchmove.slick mousemove.slick',{action:'move'},_.swipeHandler);_.$list.on('touchend.slick mouseup.slick',{action:'end'},_.swipeHandler);
30_.$list.on('touchcancel.slick mouseleave.slick',{action:'end'},_.swipeHandler);_.$list.on('click.slick',_.clickHandler);$(document).on(_.visibilityChange,$.proxy(_.visibility,_));if(_.options.keyboardNavigation===true)_.$list.on('keydown.slick',_.keyHandler);if(_.options.focusOnSelect===true)$(_.$slideTrack).children().on('click.slick',_.selectHandler);$(window).on('orientationchange.slick.slick-'+_.instanceUid,$.proxy(_.orientationChange,_));$(window).on('resize.slick.slick-'+_.instanceUid,$.proxy(_.resize,_));$('[draggable!=true]',_.$slideTrack).on('dragstart',_.preventDefault);$(window).on('load.slick.slick-'+_.instanceUid,_.setPosition);$(_.setPosition);};Slick.prototype.initUI=function(){var _=this;if(_.options.arrows===true&&_.slideCount>_.options.slidesToShow){_.$prevArrow.show();_.$nextArrow.show();}if(_.options.dots===true&&_.slideCount>_.options.slidesToShow)_.$dots.show();};Slick.prototype.keyHandler=function(event){var _=this;function reFocus(direction){if(direction==='next'&&_.$nextArrow)_.$nextArrow.trigger('focus');else if(direction==='previous'&&_.$prevArrow)_.$prevArrow.trigger('focus');else _.$slides.filter('[tabindex="0"]').trigger('focus');}if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT'))if(event.keyCode===37&&_.options.keyboardNavigation===true){_.changeSlide({data:{message:_.options.rtl===true?'next':'previous'}});reFocus(_.options.rtl===true?'next':'previous');}else{if(event.keyCode===39&&_.options.keyboardNavigation===true){_.changeSlide({data:{message:_.options.rtl===true?'previous':'next'}});reFocus(_.options.rtl===true?'previous':'next');}}};Slick.prototype.lazyLoad=function(){var _=this,loadRange,cloneRange,rangeStart,rangeEnd;function loadImages(imagesScope){$('img[data-lazy]',imagesScope).each(function(){var image=$(this),imageSource=$(this).attr('data-lazy'),imageSrcSet=$(this).attr('data-srcset'),imageSizes=$(this).attr('data-sizes')||_.$slider.attr('data-sizes'),imageToLoad=document.createElement('img');imageToLoad.onload=function(){image.animate({opacity:0}
30,100,function(){if(imageSrcSet){image.attr('srcset',imageSrcSet);if(imageSizes)image.attr('sizes',imageSizes);}image.attr('src',imageSource).animate({opacity:1},200,function(){image.removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading');});_.$slider.trigger('lazyLoaded',[_,image,imageSource]);});};imageToLoad.onerror=function(){image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error');_.$slider.trigger('lazyLoadError',[_,image,imageSource]);};imageToLoad.src=imageSource;});}if(_.options.centerMode===true)if(_.options.infinite===true){rangeStart=_.currentSlide+(_.options.slidesToShow/2+1);rangeEnd=rangeStart+_.options.slidesToShow+2;}else{rangeStart=Math.max(0,_.currentSlide-(_.options.slidesToShow/2+1));rangeEnd=2+(_.options.slidesToShow/2+1)+_.currentSlide;}else{rangeStart=_.options.infinite?_.options.slidesToShow+_.currentSlide:_.currentSlide;rangeEnd=Math.ceil(rangeStart+_.options.slidesToShow);if(_.options.fade===true){if(rangeStart>0)rangeStart--;if(rangeEnd<=_.slideCount)rangeEnd++;}}loadRange=_.$slider.find('.slick-slide').slice(rangeStart,rangeEnd);if(_.options.lazyLoad==='anticipated'){var prevSlide=rangeStart-1,nextSlide=rangeEnd,$slides=_.$slider.find('.slick-slide');for(var i=0;i<_.options.slidesToScroll;i++){if(prevSlide<0)prevSlide=_.slideCount-1;loadRange=loadRange.add($slides.eq(prevSlide));loadRange=loadRange.add($slides.eq(nextSlide));prevSlide--;nextSlide++;}}loadImages(loadRange);if(_.slideCount<=_.options.slidesToShow){cloneRange=_.$slider.find('.slick-slide');loadImages(cloneRange);}else if(_.currentSlide>=_.slideCount-_.options.slidesToShow){cloneRange=_.$slider.find('.slick-cloned').slice(0,_.options.slidesToShow);loadImages(cloneRange);}else{if(_.currentSlide===0){cloneRange=_.$slider.find('.slick-cloned').slice(_.options.slidesToShow*-1);loadImages(cloneRange);}}};Slick.prototype.loadSlider=function(){var _=this;_.setPosition();_.$slideTrack.css({opacity:1});_.$slider.removeClass('slick-loading');_.initUI();if(_.options.lazyLoad==='progressive')_.progressiveLazyLoad();};Slick.prototype.next=Slick.prototype.slickNext=function(){var _=this;_.changeSlide({data:{message:'next'}});};Slick.prototype.orientationChange=function(){var _=this;_.checkResponsive();_.setPosition();};Slick.prototype.pause=Slick.prototype.slickPause=function(){var _=this;_.autoPlayClear();_.paused=true;};Slick.prototype.play=Slick.prototype.slickPlay=function(){var _=this;_.autoPlay();_.options.autoplay=true;_.paused=false;_.focussed=false;_.interrupted=false;};Slick.prototype.postSlide=function(index){var _=this;if(!_.unslicked){_.$slider.trigger('afterChange',[_,index]);_.animating=false;if(_.slideCount>_.options.slidesToShow)_.setPosition();_.swipeLeft=null;if(_.options.autoplay)_.autoPlay();if(_.options.accessibility===true){_.initADA();if(_.options.focusOnChange){var $currentSlide=$(_.$slides.get(_.currentSlide));$currentSlide.attr('tabindex',0).focus();}}}};Slick.prototype.prev=Slick.prototype.slickPrev=function(){var _=this;_.changeSlide({data:{message:'previous'}});};Slick.prototype.preventDefault=function(event){event.preventDefault();};Slick.prototype.progressiveLazyLoad=function(tryCount){tryCount=tryCount||1;var _=this,$imgsToLoad=$('img[data-lazy]',_.$slider),image,imageSource,imageSrcSet,imageSizes,imageToLoad;if($imgsToLoad.length){image=$imgsToLoad.first();imageSource=image.attr('data-lazy');imageSrcSet=image.attr('data-srcset');imageSizes=image.attr('data-sizes')||_.$slider.attr('data-sizes');imageToLoad=document.createElement('img');imageToLoad.onload=function(){if(imageSrcSet){image.attr('srcset',imageSrcSet);if(imageSizes)image.attr('sizes',imageSizes);}image.attr('src',imageSource).removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading');if(_.options.adaptiveHeight===true)_.setPosition();_.$slider.trigger('lazyLoaded',[_,image,imageSource]);_.progressiveLazyLoad();};imageToLoad.onerror=function(){if(tryCount<3)setTimeout(function(){_.progressiveLazyLoad(tryCount+1);},500);else{image.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error');_.$slider.trigger('lazyLoadError',[_,image,imageSource]);_.progressiveLazyLoad();}};imageToLoad.src=imageSource;}else _.$slider.trigger('allImagesLoaded',[_]);};Slick.prototype.refresh=function(initializing){var _=this,currentSlide,lastVisibleIndex;lastVisibleIndex=_.slideCount-_.options.slidesToShow;if(!_.options.infinite&&(_.currentSlide>lastVisibleIndex))_.currentSlide=lastVisibleIndex;if(_.slideCount<=_.options.slidesToShow)_.currentSlide=0;currentSlide=_.currentSlide;_.destroy(true);$.extend(_,_.initials,{currentSlide});_.init();if(!initializing)_.changeSlide({data:{message:'index',index:currentSlide}},false);};Slick.prototype.registerBreakpoints=function(){var _=this,breakpoint,currentBreakpoint,l,responsiveSettings=_.options.responsive||null;if(Array.isArray(responsiveSettings)&&responsiveSettings.length){_.respondTo=_.options.respondTo||'window';for(breakpoint in responsiveSettings){l=_.breakpoints.length-1;if(responsiveSettings.hasOwnProperty(breakpoint)){currentBreakpoint=responsiveSettings[breakpoint].breakpoint;while(l>=0){if(_.breakpoints[l]&&_.breakpoints[l]===currentBreakpoint)_.breakpoints.splice(l,1);l--;}_.breakpoints.push(currentBreakpoint);_.breakpointSettings[currentBreakpoint]=responsiveSettings[breakpoint].settings;}}_.breakpoints.sort(function(a,b){return (_.options.mobileFirst)?a-b:b-a;});}};Slick.prototype.reinit=function(){var _=this;_.$slides=_.$slideTrack.children(_.options.slide).addClass('slick-slide');_.slideCount=_.$slides.length;if(_.currentSlide>=_.slideCount&&_.currentSlide!==0)_.currentSlide=_.currentSlide-_.options.slidesToScroll;if(_.slideCount<=_.options.slidesToShow)_.currentSlide=0;_.registerBreakpoints();_.setProps();_.setupInfinite();_.buildArrows();_.updateArrows();_.initArrowEvents();_.buildDots();_.updateDots();_.initDotEvents();_.cleanUpSlideEvents();_.initSlideEvents();_.checkResponsive(false,true);if(_.options.focusOnSelect===true)$(_.$slideTrack).children().on('click.slick',_.selectHandler);_.setSlideClasses(typeof _.currentSlide==='number'?_.currentSlide:0);_.setPosition();_.focusHandler();_.paused=!_.options.autoplay;_.autoPlay();_.$slider.trigger('reInit',[_]);};Slick.prototype.resize=function(){var _=this;if($(window).width()!==_.windowWidth){clearTimeout(_.windowDelay);_.windowDelay=window.setTimeout(function(){_.windowWidth=$(window).width();_.checkResponsive();if(!_.unslicked)_.setPosition();},50);}};Slick.prototype.removeSlide=Slick.prototype.slickRemove=function(index,removeBefore,removeAll){var _=this;if(typeof (index)==='boolean'){removeBefore=index;index=removeBefore===true?0:_.slideCount-1;}else index=removeBefore===true?--index:index;if(_.slideCount<1||index<0||index>_.slideCount-1)return false;_.unload();if(removeAll===true)_.$slideTrack.children().remove();else _.$slideTrack.children(this.options.slide).eq(index).remove();_.$slides=_.$slideTrack.children(this.options.slide);_.$slideTrack.children(this.options.slide).detach();_.$slideTrack.append(_.$slides);_.$slidesCache=_.$slides;_.reinit();};Slick.prototype.setCSS=function(position){var _=this,positionProps={},x,y;if(_.options.rtl===true)position=-position;x=_.positionProp=='left'?Math.ceil(position)+'px':'0px';y=_.positionProp=='top'?Math.ceil(position)+'px':'0px';positionProps[_.positionProp]=position;if(_.transformsEnabled===false)_.$slideTrack.css(positionProps);else{positionProps={};if(_.cssTransitions===false){positionProps[_.animType]='translate('+x+', '+y+')';_.$slideTrack.css(positionProps);}else{positionProps[_.animType]='translate3d('+x+', '+y+', 0px)';_.$slideTrack.css(positionProps);}}};Slick.prototype.setDimensions=function(){var _=this;if(_.options.vertical===false){if(_.options.centerMode===true)_.$list.css({padding:('0px '+_.options.centerPadding)});}else{_.$list.height(_.$slides.first().outerHeight(true)*_.options.slidesToShow);if(_.options.centerMode===true)_.$list.css({padding:(_.options.centerPadding+' 0px')}
30);}_.listWidth=_.$list.width();_.listHeight=_.$list.height();if(_.options.vertical===false&&_.options.variableWidth===false){_.slideWidth=_.listWidth/_.options.slidesToShow;_.$slideTrack.width(Math.ceil((_.slideWidth*_.$slideTrack.children('.slick-slide').length)));}else if(_.options.variableWidth===true)_.$slideTrack.width(5000*_.slideCount);else{_.slideWidth=Math.ceil(_.listWidth);_.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true)*_.$slideTrack.children('.slick-slide').length)));}var offset=_.$slides.first().outerWidth(true)-_.$slides.first().width();if(_.options.variableWidth===false)_.$slideTrack.children('.slick-slide').width(_.slideWidth-offset);};Slick.prototype.setFade=function(){var _=this,targetLeft;_.$slides.each(function(index,element){targetLeft=(_.slideWidth*index)*-1;if(_.options.rtl===true)$(element).css({position:'relative',right:targetLeft,top:0,zIndex:_.options.zIndex-2,opacity:0});else $(element).css({position:'relative',left:targetLeft,top:0,zIndex:_.options.zIndex-2,opacity:0});});_.$slides.eq(_.currentSlide).css({zIndex:_.options.zIndex-1,opacity:1});};Slick.prototype.setHeight=function(){var _=this;if(_.options.slidesToShow===1&&_.options.adaptiveHeight===true&&_.options.vertical===false){var targetHeight=_.$slides.eq(_.currentSlide).outerHeight(true);_.$list.css('height',targetHeight);}};Slick.prototype.setOption=Slick.prototype.slickSetOption=function(){var _=this,l,item,option,value,refresh=false,type;if(typeof (arguments[0])==='object'){option=arguments[0];refresh=arguments[1];type='multiple';}else{if(typeof (arguments[0])==='string'){option=arguments[0];value=arguments[1];refresh=arguments[2];if(arguments[0]==='responsive'&&Array.isArray(arguments[1]))type='responsive';else{if(typeof arguments[1]!=='undefined')type='single';}}}if(type==='single')_.options[option]=value;else if(type==='multiple')$.each(option,function(opt,val){_.options[opt]=val;});else{if(type==='responsive')for(item in value)if(!Array.isArray(_.options.responsive))_.options.responsive=[value[item]];else{l=_.options.responsive.length-1;while(l>=0){if(_.options.responsive[l].breakpoint===value[item].breakpoint)_.options.responsive.splice(l,1);l--;}_.options.responsive.push(value[item]);}}if(refresh){_.unload();_.reinit();}};Slick.prototype.setPosition=function(){var _=this;_.setDimensions();_.setHeight();if(_.options.fade===false)_.setCSS(_.getLeft(_.currentSlide));else _.setFade();_.$slider.trigger('setPosition',[_]);};Slick.prototype.setProps=function(){var _=this,bodyStyle=document.body.style;_.positionProp=_.options.vertical===true?'top':'left';if(_.positionProp==='top')_.$slider.addClass('slick-vertical');else _.$slider.removeClass('slick-vertical');if(bodyStyle.WebkitTransition!==undefined||bodyStyle.MozTransition!==undefined||bodyStyle.msTransition!==undefined)if(_.options.useCSS===true)_.cssTransitions=true;if(_.options.fade)if(typeof _.options.zIndex==='number'){if(_.options.zIndex<3)_.options.zIndex=3;}else _.options.zIndex=_.defaults.zIndex;if(bodyStyle.OTransform!==undefined){_.animType='OTransform';_.transformType='-o-transform';_.transitionType='OTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.webkitPerspective===undefined)_.animType=false;}if(bodyStyle.MozTransform!==undefined){_.animType='MozTransform';_.transformType='-moz-transform';_.transitionType='MozTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.MozPerspective===undefined)_.animType=false;}if(bodyStyle.webkitTransform!==undefined){_.animType='webkitTransform';_.transformType='-webkit-transform';_.transitionType='webkitTransition';if(bodyStyle.perspectiveProperty===undefined&&bodyStyle.webkitPerspective===undefined)_.animType=false;}if(bodyStyle.msTransform!==undefined){_.animType='msTransform';_.transformType='-ms-transform';_.transitionType='msTransition';if(bodyStyle.msTransform===undefined)_.animType=false;}if(bodyStyle.transform!==undefined&&_.animType!==false){_.animType='transform';_.transformType='transform';_.transitionType='transition';}_.transformsEnabled=_.options.useTransform&&(_.animType!==null&&_.animType!==false);};Slick.prototype.setSlideClasses=function(index){var _=this,centerOffset,allSlides,indexOffset,remainder;allSlides=_.$slider.find('.slick-slide').removeClass('slick-active slick-center slick-current').attr('aria-hidden','true').attr('aria-label',function(){return $(this).attr('aria-label').replace(' (centered)','');});_.$slides.eq(index).addClass('slick-current');if(_.options.centerMode===true){var evenCoef=_.options.slidesToShow%2===0?1:0;centerOffset=Math.floor(_.options.slidesToShow/2);if(_.options.infinite===true){if(index>=centerOffset&&index<=(_.slideCount-1)-centerOffset)_.$slides.slice(index-centerOffset+evenCoef,index+centerOffset+1).addClass('slick-active').attr('aria-hidden','false');else{indexOffset=_.options.slidesToShow+index;allSlides.slice(indexOffset-centerOffset+1+evenCoef,indexOffset+centerOffset+2).addClass('slick-active').attr('aria-hidden','false');}if(index===0)allSlides.eq(allSlides.length-1-_.options.slidesToShow).addClass('slick-center').attr('aria-label',function(){return $(this).attr('aria-label')+' (centered)';});else{if(index===_.slideCount-1)allSlides.eq(_.options.slidesToShow).addClass('slick-center').attr('aria-label',function(){return $(this).attr('aria-label')+' (centered)';});}}_.$slides.eq(index).addClass('slick-center').attr('aria-label',function(){return $(this).attr('aria-label')+' (centered)';});}else if(index>=0&&index<=(_.slideCount-_.options.slidesToShow))_.$slides.slice(index,index+_.options.slidesToShow).addClass('slick-active').attr('aria-hidden','false');else if(allSlides.length<=_.options.slidesToShow)allSlides.addClass('slick-active').attr('aria-hidden','false');else{remainder=_.slideCount%_.options.slidesToShow;indexOffset=_.options.infinite===true?_.options.slidesToShow+index:index;if(_.options.slidesToShow==_.options.slidesToScroll&&(_.slideCount-index)<_.options.slidesToShow)allSlides.slice(indexOffset-(_.options.slidesToShow-remainder),indexOffset+remainder).addClass('slick-active').attr('aria-hidden','false');else allSlides.slice(indexOffset,indexOffset+_.options.slidesToShow).addClass('slick-active').attr('aria-hidden','false');}if(_.options.lazyLoad==='ondemand'||_.options.lazyLoad==='anticipated')_.lazyLoad();};Slick.prototype.setupInfinite=function(){var _=this,i,slideIndex,infiniteCount;if(_.options.fade===true)_.options.centerMode=false;if(_.options.infinite===true&&_.options.fade===false){slideIndex=null;if(_.slideCount>_.options.slidesToShow){if(_.options.centerMode===true)infiniteCount=_.options.slidesToShow+1;else infiniteCount=_.options.slidesToShow;for(i=_.slideCount;i>(_.slideCount-infiniteCount);i-=1){slideIndex=i-1;$(_.$slides[slideIndex]).clone(true).attr('id','').attr('data-slick-index',slideIndex-_.slideCount).prependTo(_.$slideTrack).addClass('slick-cloned');}for(i=0;i<infiniteCount+_.slideCount;i+=1){slideIndex=i;$(_.$slides[slideIndex]).clone(true).attr('id','').attr('data-slick-index',slideIndex+_.slideCount).appendTo(_.$slideTrack).addClass('slick-cloned');}_.$slideTrack.find('.slick-cloned').find('[id]').each(function(){$(this).attr('id','');});}}};Slick.prototype.interrupt=function(toggle){var _=this;if(!toggle)_.autoPlay();_.interrupted=toggle;};Slick.prototype.selectHandler=function(event){var _=this;var targetElement=$(event.target).is('.slick-slide')?$(event.target):$(event.target).parents('.slick-slide');
30var index=parseInt(targetElement.attr('data-slick-index'));if(!index)index=0;if(_.slideCount<=_.options.slidesToShow){_.slideHandler(index,false,true);return;}_.slideHandler(index);};Slick.prototype.slideHandler=function(index,sync,dontAnimate){var targetSlide,animSlide,oldSlide,slideLeft,targetLeft=null,_=this,navTarget;sync=sync||false;if(_.animating===true&&_.options.waitForAnimate===true)return;if(_.options.fade===true&&_.currentSlide===index)return;if(sync===false)_.asNavFor(index);targetSlide=index;targetLeft=_.getLeft(targetSlide);slideLeft=_.getLeft(_.currentSlide);_.currentLeft=_.swipeLeft===null?slideLeft:_.swipeLeft;if(_.options.infinite===false&&_.options.centerMode===false&&(index<0||index>_.getDotCount()*_.options.slidesToScroll)){if(_.options.fade===false){targetSlide=_.currentSlide;if(dontAnimate!==true&&_.slideCount>_.options.slidesToShow)_.animateSlide(slideLeft,function(){_.postSlide(targetSlide);});else _.postSlide(targetSlide);}return;}else{if(_.options.infinite===false&&_.options.centerMode===true&&(index<0||index>(_.slideCount-_.options.slidesToScroll))){if(_.options.fade===false){targetSlide=_.currentSlide;if(dontAnimate!==true&&_.slideCount>_.options.slidesToShow)_.animateSlide(slideLeft,function(){_.postSlide(targetSlide);});else _.postSlide(targetSlide);}return;}}if(_.options.autoplay)clearInterval(_.autoPlayTimer);if(targetSlide<0)if(_.slideCount%_.options.slidesToScroll!==0)animSlide=_.slideCount-(_.slideCount%_.options.slidesToScroll);else animSlide=_.slideCount+targetSlide;else if(targetSlide>=_.slideCount)if(_.slideCount%_.options.slidesToScroll!==0)animSlide=0;else animSlide=targetSlide-_.slideCount;else animSlide=targetSlide;_.animating=true;_.$slider.trigger('beforeChange',[_,_.currentSlide,animSlide]);oldSlide=_.currentSlide;_.currentSlide=animSlide;_.setSlideClasses(_.currentSlide);if(_.options.asNavFor){navTarget=_.getNavTarget();navTarget=navTarget.slick('getSlick');if(navTarget.slideCount<=navTarget.options.slidesToShow)navTarget.setSlideClasses(_.currentSlide);}_.updateDots();_.updateArrows();if(_.options.fade===true){if(dontAnimate!==true){_.fadeSlideOut(oldSlide);_.fadeSlide(animSlide,function(){_.postSlide(animSlide);});}else _.postSlide(animSlide);_.animateHeight();return;}if(dontAnimate!==true&&_.slideCount>_.options.slidesToShow)_.animateSlide(targetLeft,function(){_.postSlide(animSlide);});else _.postSlide(animSlide);};Slick.prototype.startLoad=function(){var _=this;if(_.options.arrows===true&&_.slideCount>_.options.slidesToShow){_.$prevArrow.hide();_.$nextArrow.hide();}if(_.options.dots===true&&_.slideCount>_.options.slidesToShow)_.$dots.hide();_.$slider.addClass('slick-loading');};Slick.prototype.swipeDirection=function(){var xDist,yDist,r,swipeAngle,_=this;xDist=_.touchObject.startX-_.touchObject.curX;yDist=_.touchObject.startY-_.touchObject.curY;r=Math.atan2(yDist,xDist);swipeAngle=Math.round(r*180/Math.PI);if(swipeAngle<0)swipeAngle=360-Math.abs(swipeAngle);if((swipeAngle<=45)&&(swipeAngle>=0))return (_.options.rtl===false?'left':'right');if((swipeAngle<=360)&&(swipeAngle>=315))return (_.options.rtl===false?'left':'right');if((swipeAngle>=135)&&(swipeAngle<=225))return (_.options.rtl===false?'right':'left');if(_.options.verticalSwiping===true)if((swipeAngle>=35)&&(swipeAngle<=135))return 'down';else return 'up';return 'vertical';};Slick.prototype.swipeEnd=function(event){var _=this,slideCount,direction;_.dragging=false;_.swiping=false;if(_.scrolling){_.scrolling=false;return false;}_.interrupted=false;_.shouldClick=(_.touchObject.swipeLength>10)?false:true;if(_.touchObject.curX===undefined)return false;if(_.touchObject.edgeHit===true)_.$slider.trigger('edge',[_,_.swipeDirection()]);if(_.touchObject.swipeLength>=_.touchObject.minSwipe){direction=_.swipeDirection();switch(direction){case 'left':case 'down':slideCount=_.options.swipeToSlide?_.checkNavigable(_.currentSlide+_.getSlideCount()):_.currentSlide+_.getSlideCount();_.currentDirection=0;break;case 'right':case 'up':slideCount=_.options.swipeToSlide?_.checkNavigable(_.currentSlide-_.getSlideCount()):_.currentSlide-_.getSlideCount();_.currentDirection=1;break;default:}if(direction!='vertical'){_.slideHandler(slideCount);_.touchObject={};_.$slider.trigger('swipe',[_,direction]);}}else{if(_.touchObject.startX!==_.touchObject.curX){_.slideHandler(_.currentSlide);_.touchObject={};}}};Slick.prototype.swipeHandler=function(event){var _=this;if((_.options.swipe===false)||('ontouchend' in document&&_.options.swipe===false))return;else{if(_.options.draggable===false&&event.type.indexOf('mouse')!==-1)return;}_.touchObject.fingerCount=event.originalEvent&&event.originalEvent.touches!==undefined?event.originalEvent.touches.length:1;_.touchObject.minSwipe=_.listWidth/_.options.touchThreshold;if(_.options.verticalSwiping===true)_.touchObject.minSwipe=_.listHeight/_.options.touchThreshold;switch(event.data.action){case 'start':_.swipeStart(event);break;case 'move':_.swipeMove(event);break;case 'end':_.swipeEnd(event);break;}};Slick.prototype.swipeMove=function(event){var _=this,edgeWasHit=false,curLeft,swipeDirection,swipeLength,positionOffset,touches,verticalSwipeLength;touches=event.originalEvent!==undefined?event.originalEvent.touches:null;if(!_.dragging||_.scrolling||touches&&touches.length!==1)return false;curLeft=_.getLeft(_.currentSlide);_.touchObject.curX=touches!==undefined?touches[0].pageX:event.clientX;_.touchObject.curY=touches!==undefined?touches[0].pageY:event.clientY;_.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(_.touchObject.curX-_.touchObject.startX,2)));verticalSwipeLength=Math.round(Math.sqrt(Math.pow(_.touchObject.curY-_.touchObject.startY,2)));if(!_.options.verticalSwiping&&!_.swiping&&verticalSwipeLength>4){_.scrolling=true;return false;}if(_.options.verticalSwiping===true)_.touchObject.swipeLength=verticalSwipeLength;swipeDirection=_.swipeDirection();if(event.originalEvent!==undefined&&_.touchObject.swipeLength>4){_.swiping=true;event.preventDefault();}positionOffset=(_.options.rtl===false?1:-1)*(_.touchObject.curX>_.touchObject.startX?1:-1);if(_.options.verticalSwiping===true)positionOffset=_.touchObject.curY>_.touchObject.startY?1:-1;swipeLength=_.touchObject.swipeLength;_.touchObject.edgeHit=false;if(_.options.infinite===false)if((_.currentSlide===0&&swipeDirection==='right')||(_.currentSlide>=_.getDotCount()&&swipeDirection==='left')){swipeLength=_.touchObject.swipeLength*_.options.edgeFriction;_.touchObject.edgeHit=true;}if(_.options.vertical===false)_.swipeLeft=curLeft+swipeLength*positionOffset;else _.swipeLeft=curLeft+(swipeLength*(_.$list.height()/_.listWidth))*positionOffset;if(_.options.verticalSwiping===true)_.swipeLeft=curLeft+swipeLength*positionOffset;if(_.options.fade===true||_.options.touchMove===false)return false;if(_.animating===true){_.swipeLeft=null;return false;}_.setCSS(_.swipeLeft);};Slick.prototype.swipeStart=function(event){var _=this,touches;_.interrupted=true;if(_.touchObject.fingerCount!==1||_.slideCount<=_.options.slidesToShow){_.touchObject={};return false;}if(event.originalEvent!==undefined&&event.originalEvent.touches!==undefined)touches=event.originalEvent.touches[0];_.touchObject.startX=_.touchObject.curX=touches!==undefined?touches.pageX:event.clientX;_.touchObject.startY=_.touchObject.curY=touches!==undefined?touches.pageY:event.clientY;_.dragging=true;};Slick.prototype.unfilterSlides=Slick.prototype.slickUnfilter=function(){var _=this;if(_.$slidesCache!==null){_.unload();_.$slideTrack.children(this.options.slide).detach();_.$slidesCache.appendTo(_.$slideTrack);_.reinit();}};Slick.prototype.unload=function(){var _=this;$('.slick-cloned',_.$slider).remove();if(_.$dots)_.$dots.remove();if(_.$prevArrow&&_.htmlExpr.test(_.options.prevArrow))_.$prevArrow.remove();if(_.$nextArrow&&_.htmlExpr.test(_.options.nextArrow))_.$nextArrow.remove();_.$slides.removeClass('slick-slide slick-active slick-visible slick-current').attr('aria-hidden','true').css('width','');};
30Slick.prototype.unslick=function(fromBreakpoint){var _=this;_.$slider.trigger('unslick',[_,fromBreakpoint]);_.destroy();};Slick.prototype.updateArrows=function(){var _=this,centerOffset;centerOffset=Math.floor(_.options.slidesToShow/2);if(_.options.arrows===true&&_.slideCount>_.options.slidesToShow&&!_.options.infinite){_.$prevArrow.removeClass('slick-disabled').attr('disabled',false);_.$nextArrow.removeClass('slick-disabled').attr('disabled',false);if(_.currentSlide===0){_.$prevArrow.addClass('slick-disabled').attr('disabled',true);_.$nextArrow.removeClass('slick-disabled').attr('disabled',false);}else if(_.currentSlide>=_.slideCount-_.options.slidesToShow&&_.options.centerMode===false){_.$nextArrow.addClass('slick-disabled').attr('disabled',true);_.$prevArrow.removeClass('slick-disabled').attr('disabled',false);}else{if(_.currentSlide>=_.slideCount-1&&_.options.centerMode===true){_.$nextArrow.addClass('slick-disabled').attr('disabled',true);_.$prevArrow.removeClass('slick-disabled').attr('disabled',false);}}}};Slick.prototype.updateDots=function(){var _=this;if(_.$dots!==null){_.$dots.find('li').removeClass('slick-active').end();_.$dots.find('li').eq(Math.floor(_.currentSlide/_.options.slidesToScroll)).addClass('slick-active');}};Slick.prototype.visibility=function(){var _=this;if(_.options.autoplay)if(document[_.hidden])_.interrupted=true;else _.interrupted=false;};$.fn.slick=function(){var _=this,opt=arguments[0],args=Array.prototype.slice.call(arguments,1),l=_.length,i,ret;for(i=0;i<l;i++){if(typeof opt=='object'||typeof opt=='undefined')_[i].slick=new Slick(_[i],opt);else ret=_[i].slick[opt].apply(_[i].slick,args);if(typeof ret!='undefined')return ret;}return _;};}));;
31(function($,Drupal,once,drupalSettings){'use strict';Drupal.behaviors.CohesionSlick={attach:function(context){var gridSettings=drupalSettings.cohesion.responsive_grid_settings;var cmm=new Drupal.CohesionResponsiveBreakpoints(drupalSettings.cohesion.responsive_grid_settings);var onceInit='coh-slider-container-init';const isMatchHeightEnabled=drupalSettings.cohesion.front_end_settings.global_js.matchHeight;$.each($('.coh-slider-container',context),function(){var $this=$(this);var $slider=$('> .coh-slider-container-mid > .coh-slider-container-inner',this);var $slides=$('> .coh-slider-item',$slider);if($this.data('jquery-once-'+onceInit)){$slider.slick('refresh');return;}if(!$slides.length){$slider.addClass('slick-initialized');return;}function updateCount(slick){var i=(slick.currentSlide?slick.currentSlide:0)+1;slick.$slideCounter.text(i+'/'+slick.slideCount);}function updateCounter(slick){if(slick.options.counter){if(!$(slick.options.appendCounter).find(slick.$slideCounter).length)$(slick.options.appendCounter).append(slick.$slideCounter);}else slick.$slideCounter.detach();updateCount(slick);}function updateNavigationLabels(slick){if(slick.options.infinite&&slick.options.arrows){if(i===1)$(slick.$prevArrow).attr('aria-label','Last slide');else $(slick.$prevArrow).attr('aria-label','Previous slide');if(i===slick.slideCount)$(slick.$nextArrow).attr('aria-label','First slide');else $(slick.$nextArrow).attr('aria-label','Next slide');}}$slider.on('init',function(event,slick){var clones=$($('.slick-cloned',slick.$slideTrack));slick.$slideCounter=$('<div />',{class:slick.options.counterClass});once(onceInit,$this);$.each(clones,function(){Drupal.behaviors.CohesionSlick.attach($(this));$(this).on('click',function(e){const $clonedChild=$(e.target);const clonedChildTag=$clonedChild.prop('tagName').toLowerCase();const clonedChildClassList=$clonedChild.attr('class')?`.${$clonedChild.attr('class').trim().split(/\s+/).join('.')}`:'';const originalIndex=$(this).attr('data-slick-index')%slick.slideCount;const $originalSlide=$(slick.$slides.get(originalIndex));$originalSlide.find(`${clonedChildTag}${clonedChildClassList}`).trigger('click');});});updateCounter(slick);updateNavigationLabels(slick);});$slider.on('afterChange',function(event,slick){updateCount(slick);updateNavigationLabels(slick);});$slider.on('breakpoint',function(event,slick,breakpoint){updateCounter(slick);});var settings=$slider.data().cohSlider;settings.mobileFirst=cmm.getGridType()===cmm.constants.mobile;settings.customPaging=function(slider,i){return settings.dotsNumbers==true?$('<button type="button" />').text(i+1):$('<button type="button" />');};if(typeof settings.asNavFor!=='undefined'&&settings.asNavFor!==null)settings.asNavFor=$(settings.asNavFor+' .coh-slider-container-inner');var responsive=[];var matchHeights={};var matchHeightsInit=false;var previousResponsiveSettings=false;for(var i=0;i<cmm.breakpoints.length;i++){var breakpointKey=cmm.breakpoints[i].key;var breakpoint=settings.responsive[breakpointKey];if(typeof breakpoint!=='undefined'&&typeof breakpoint.matchHeights!=='undefined'&&!Array.isArray(breakpoint.matchHeights)){matchHeights[breakpointKey]=settings.responsive[breakpointKey].matchHeights;if(typeof matchHeights[breakpointKey].class!=='undefined')matchHeights[breakpointKey].target=matchHeights[breakpointKey].class;matchHeightsInit=true;}if(cmm.getGridType()!==cmm.constants.mobile&&breakpointKey==='xl'){if(typeof breakpoint.appendArrows!=='undefined')breakpoint.appendArrows=$(breakpoint.appendArrows.trim()+':first',$this);if(typeof breakpoint.appendDots!=='undefined')breakpoint.appendDots=$(breakpoint.appendDots.trim()+':first',$this);if(typeof breakpoint.appendCounter!=='undefined')breakpoint.appendCounter=$(breakpoint.appendCounter.trim()+':first',$this);if(typeof breakpoint.appendPlaypause!=='undefined')breakpoint.appendPlaypause=$(breakpoint.appendPlaypause.trim()+':first',$this);jQuery.extend(settings,breakpoint);}else{if(!jQuery.isEmptyObject(breakpoint)){var responsive_obj={settings:breakpoint};if(typeof gridSettings.breakpoints[breakpointKey].width==='undefined')responsive_obj.breakpoint=0;else if(cmm.getGridType()===cmm.constants.desktop)responsive_obj.breakpoint=cmm.getBreakp
31ointMediaWidth(breakpointKey)+1;else responsive_obj.breakpoint=cmm.getBreakpointMediaWidth(breakpointKey);if(typeof breakpoint.appendArrows!=='undefined')responsive_obj.settings.appendArrows=$(breakpoint.appendArrows.trim()+'',$this);if(typeof breakpoint.appendDots!=='undefined')responsive_obj.settings.appendDots=$(breakpoint.appendDots.trim()+'',$this);if(typeof breakpoint.appendCounter!=='undefined')responsive_obj.settings.appendCounter=$(breakpoint.appendCounter.trim()+'',$this);if(typeof breakpoint.appendPlaypause!=='undefined')responsive_obj.settings.appendPlaypause=$(breakpoint.appendPlaypause.trim()+':first',$this);if(previousResponsiveSettings!==false)responsive_obj.settings=$.extend({},previousResponsiveSettings,responsive_obj.settings);previousResponsiveSettings=responsive_obj.settings;responsive.push(responsive_obj);}}}settings.rtl=document.dir==='ltr'?false:true;settings.responsive=responsive;$slider.slick(settings);if(matchHeightsInit!==false&&isMatchHeightEnabled)$slider.cohesionContainerMatchHeights({excludeElements:['slide'],targets:matchHeights,context,expressionPrefixes:['.slick-list > .slick-track','.slick-list > .slick-track > .coh-slider-item'],loaders:['.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner img','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner frame','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner iframe','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner img','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner input[type="image"]','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner link','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner script','.coh-slider-container > .coh-slider-container-mid > .coh-slider-container-inner style']});var breakpointOriginal=false;if(isMatchHeightEnabled)if($.fn.matchHeight._groups.length>0)$slider.on('breakpoint',function(event,slick,breakpoint){if(breakpointOriginal!==breakpoint){$.fn.matchHeight._update();breakpointOriginal=breakpoint;}});});}};})(jQuery,Drupal,once,drupalSettings);;
32(function($,Drupal){"use strict";Drupal.behaviors.DX8YouTubeEmbed={attach:function(context){$.each($('.coh-youtube-embed > .coh-youtube-embed-inner > .coh-youtube-embed-item',context),function(){if($(this)[0].hasAttribute('data-src'))$(this).attr('src',$(this).data('src'));});},detach:function(context){$.each($('.coh-youtube-embed > .coh-youtube-embed-inner > .coh-youtube-embed-item',context),function(){$(this).attr('data-src',$(this).attr('src')).attr('src','');});}};})(jQuery,Drupal);;
33(function($,Drupal,once){"use strict";Drupal.behaviors.CohesionMatchHeights={attach:function(context){var cmm=new Drupal.CohesionResponsiveBreakpoints();var loaders=['img','frame','iframe','input[type="image"]','link','script','style'];function cohInitMatchHeights(settings){var s=settings.cohesion.settings;var $this=s.element;var target='';var $el;if(s&&s.breakpoints&&settings.cohesion&&settings.cohesion.key&&s.breakpoints[settings.cohesion.key]&&s.breakpoints[settings.cohesion.key].target){target=s.breakpoints[settings.cohesion.key].target;target=target.match(/^[.]/)?target:'.'+target;}else return;if(typeof s.breakpoints[settings.cohesion.key].children!=='undefined'&&s.breakpoints[settings.cohesion.key].children===true)$el=$(target,$this);else $el=s.element.add(target);if(typeof $this.data('currentMatchHeight')!=='undefined'){if($this.data('currentMatchHeight')===$el)return;cohUnsetMatchHeight($this.data('currentMatchHeight'));if(s.breakpoints[settings.cohesion.key].target==='none')return;}$this.data('currentMatchHeight',$el);return $el.matchHeight({byRow:false});}function cohUnsetMatchHeight($this){return $this.matchHeight({});}$.fn.matchHeight._update();$(once('coh-js-matchheights-init','[data-coh-match-heights]',context)).each(function(){var $this=$(this),targets=$this.data('cohMatchHeights'),key;var settings={};settings.element=$this;settings.breakpoints={};for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]={};if(typeof targets[key]!=='undefined'){settings.breakpoints[key]=targets[key];var previous=targets[key];}else{if(typeof cmm.breakpoints[i-1]!=='undefined'&&typeof previous!=='undefined')settings.breakpoints[key]=previous;}}cmm.addListeners(settings,cohInitMatchHeights);
33$(context).ajaxComplete(function(event,xhr,settings){$.fn.matchHeight._update();$(loaders.toString(),context).on('load',function(){if($(this).length&&this.dataset.styled!=="active")$.fn.matchHeight._update();});});});}};})(jQuery,Drupal,once);;
34(function(factory){if(typeof define==="function"&&define.amd)define(["jquery","./version"],factory);else factory(jQuery);}(function($){var dataSpace="ui-effects-",dataSpaceStyle="ui-effects-style",dataSpaceAnimated="ui-effects-animated",jQuery=$;$.effects={effect:{}};(function(jQuery,undefined){var stepHooks="backgroundColor borderBottomColor borderLeftColor borderRightColor "+"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",rplusequals=/^([\-+])=\s*(\d+\.?\d*)/,stringParsers=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return [execResult[1],execResult[2],execResult[3],execResult[4]];}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(execResult){return [execResult[1]*2.55,execResult[2]*2.55,execResult[3]*2.55,execResult[4]];}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(execResult){return [parseInt(execResult[1],16),parseInt(execResult[2],16),parseInt(execResult[3],16)];}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(execResult){return [parseInt(execResult[1]+execResult[1],16),parseInt(execResult[2]+execResult[2],16),parseInt(execResult[3]+execResult[3],16)];}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(execResult){return [execResult[1],execResult[2]/100,execResult[3]/100,execResult[4]];}}],color=jQuery.Color=function(color,green,blue,alpha){return new jQuery.Color.fn.parse(color,green,blue,alpha);},spaces={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},propTypes={"byte":{floor:true,max:255},"percent":{max:1},"degrees":{mod:360,floor:true}},support=color.support={},supportElem=jQuery("<p>")[0],colors,each=jQuery.each;supportElem.style.cssText="background-color:rgba(1,1,1,.5)";support.rgba=supportElem.style.backgroundColor.indexOf("rgba")>-1;each(spaces,function(spaceName,space){space.cache="_"+spaceName;space.props.alpha={idx:3,type:"percent",def:1};});function clamp(value,prop,allowEmpty){var type=propTypes[prop.type]||{};if(value==null)return (allowEmpty||!prop.def)?null:prop.def;value=type.floor?~~value:parseFloat(value);if(isNaN(value))return prop.def;if(type.mod)return (value+type.mod)%type.mod;return 0>value?0:type.max<value?type.max:value;}function stringParse(string){var inst=color(),rgba=inst._rgba=[];string=string.toLowerCase();each(stringParsers,function(i,parser){var parsed,match=parser.re.exec(string),values=match&&parser.parse(match),spaceName=parser.space||"rgba";if(values){parsed=inst[spaceName](values);inst[spaces[spaceName].cache]=parsed[spaces[spaceName].cache];rgba=inst._rgba=parsed._rgba;return false;}});if(rgba.length){if(rgba.join()==="0,0,0,0")jQuery.extend(rgba,colors.transparent);return inst;}return colors[string];}color.fn=jQuery.extend(color.prototype,{parse:function(red,green,blue,alpha){if(red===undefined){this._rgba=[null,null,null,null];return this;}if(red.jquery||red.nodeType){red=jQuery(red).css(green);green=undefined;}var inst=this,type=typeof (red),rgba=this._rgba=[];if(green!==undefined){red=[red,green,blue,alpha];type="array";}if(type==="string")return this.parse(stringParse(red)||colors._default);if(type==="array"){each(spaces.rgba.props,function(key,prop){rgba[prop.idx]=clamp(red[prop.idx],prop);});return this;}if(type==="object"){if(red instanceof color)each(spaces,function(spaceName,space){if(red[space.cache])inst[space.cache]=red[space.cache].slice();});else each(spaces,function(spaceName,space){var cache=space.cache;each(space.props,function(key,prop){if(!inst[cache]&&space.to){if(key==="alpha"||red[key]==null)return;
34inst[cache]=space.to(inst._rgba);}inst[cache][prop.idx]=clamp(red[key],prop,true);});if(inst[cache]&&jQuery.inArray(null,inst[cache].slice(0,3))<0){inst[cache][3]=1;if(space.from)inst._rgba=space.from(inst[cache]);}});return this;}},is:function(compare){var is=color(compare),same=true,inst=this;each(spaces,function(_,space){var localCache,isCache=is[space.cache];if(isCache){localCache=inst[space.cache]||space.to&&space.to(inst._rgba)||[];each(space.props,function(_,prop){if(isCache[prop.idx]!=null){same=(isCache[prop.idx]===localCache[prop.idx]);return same;}});}return same;});return same;},_space:function(){var used=[],inst=this;each(spaces,function(spaceName,space){if(inst[space.cache])used.push(spaceName);});return used.pop();},transition:function(other,distance){var end=color(other),spaceName=end._space(),space=spaces[spaceName],startColor=this.alpha()===0?color("transparent"):this,start=startColor[space.cache]||space.to(startColor._rgba),result=start.slice();end=end[space.cache];each(space.props,function(key,prop){var index=prop.idx,startValue=start[index],endValue=end[index],type=propTypes[prop.type]||{};if(endValue===null)return;if(startValue===null)result[index]=endValue;else{if(type.mod)if(endValue-startValue>type.mod/2)startValue+=type.mod;else{if(startValue-endValue>type.mod/2)startValue-=type.mod;}result[index]=clamp((endValue-startValue)*distance+startValue,prop);}});return this[spaceName](result);},blend:function(opaque){if(this._rgba[3]===1)return this;var rgb=this._rgba.slice(),a=rgb.pop(),blend=color(opaque)._rgba;return color(jQuery.map(rgb,function(v,i){return (1-a)*blend[i]+a*v;}));},toRgbaString:function(){var prefix="rgba(",rgba=jQuery.map(this._rgba,function(v,i){return v==null?(i>2?1:0):v;});if(rgba[3]===1){rgba.pop();prefix="rgb(";}return prefix+rgba.join()+")";},toHslaString:function(){var prefix="hsla(",hsla=jQuery.map(this.hsla(),function(v,i){if(v==null)v=i>2?1:0;if(i&&i<3)v=Math.round(v*100)+"%";return v;});if(hsla[3]===1){hsla.pop();prefix="hsl(";}return prefix+hsla.join()+")";},toHexString:function(includeAlpha){var rgba=this._rgba.slice(),alpha=rgba.pop();if(includeAlpha)rgba.push(~~(alpha*255));return "#"+jQuery.map(rgba,function(v){v=(v||0).toString(16);return v.length===1?"0"+v:v;}).join("");},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString();}});color.fn.parse.prototype=color.fn;function hue2rgb(p,q,h){h=(h+1)%1;if(h*6<1)return p+(q-p)*h*6;if(h*2<1)return q;if(h*3<2)return p+(q-p)*((2/3)-h)*6;return p;}spaces.hsla.to=function(rgba){if(rgba[0]==null||rgba[1]==null||rgba[2]==null)return [null,null,null,rgba[3]];var r=rgba[0]/255,g=rgba[1]/255,b=rgba[2]/255,a=rgba[3],max=Math.max(r,g,b),min=Math.min(r,g,b),diff=max-min,add=max+min,l=add*0.5,h,s;if(min===max)h=0;else if(r===max)h=(60*(g-b)/diff)+360;else if(g===max)h=(60*(b-r)/diff)+120;else h=(60*(r-g)/diff)+240;if(diff===0)s=0;else if(l<=0.5)s=diff/add;else s=diff/(2-add);return [Math.round(h)%360,s,l,a==null?1:a];};spaces.hsla.from=function(hsla){if(hsla[0]==null||hsla[1]==null||hsla[2]==null)return [null,null,null,hsla[3]];var h=hsla[0]/360,s=hsla[1],l=hsla[2],a=hsla[3],q=l<=0.5?l*(1+s):l+s-l*s,p=2*l-q;return [Math.round(hue2rgb(p,q,h+(1/3))*255),Math.round(hue2rgb(p,q,h)*255),Math.round(hue2rgb(p,q,h-(1/3))*255),a];};each(spaces,function(spaceName,space){var props=space.props,cache=space.cache,to=space.to,from=space.from;color.fn[spaceName]=function(value){if(to&&!this[cache])this[cache]=to(this._rgba);if(value===undefined)return this[cache].slice();var ret,type=typeof (value),arr=(type==="array"||type==="object")?value:arguments,local=this[cache].slice();each(props,function(key,prop){var val=arr[type==="object"?key:prop.idx];if(val==null)val=local[prop.idx];local[prop.idx]=clamp(val,prop);});if(from){ret=color(from(local));ret[cache]=local;return ret;}else return color(local);};each(props,function(key,prop){if(color.fn[key])return;color.fn[key]=function(value){var vtype=typeof (value),fn=(key==="alpha"?(this._hsla?"hsla":"rgba"):spaceName),local=this[fn](),cur=local[prop.idx],match;if(vtype==="undefined")return cur;if(vtype==="function"){value=value.call(this,cur);vtype=typeof (value);}if(value==null&&prop.empty)return this;if(vtype==="string"){match=rplusequals.exec(value);if(match)value=cur+parseFloat(match[2])*(match[1]==="+"?1:-1);}local[prop.idx]=value;return this[fn](local);};});});color.hook=function(hook){var hooks=hook.split(" ");each(hooks,function(i,hook){jQuery.cssHooks[hook]={set:function(elem,value){var parsed,curElem,backgroundColor="";if(value!=="transparent"&&(typeof value!=="string"||(parsed=stringParse(value)))){value=color
34(parsed||value);if(!support.rgba&&value._rgba[3]!==1){curElem=hook==="backgroundColor"?elem.parentNode:elem;while((backgroundColor===""||backgroundColor==="transparent")&&curElem&&curElem.style)try{backgroundColor=jQuery.css(curElem,"backgroundColor");curElem=curElem.parentNode;}catch(e){}value=value.blend(backgroundColor&&backgroundColor!=="transparent"?backgroundColor:"_default");}value=value.toRgbaString();}try{elem.style[hook]=value;}catch(e){}}};jQuery.fx.step[hook]=function(fx){if(!fx.colorInit){fx.start=color(fx.elem,hook);fx.end=color(fx.end);fx.colorInit=true;}jQuery.cssHooks[hook].set(fx.elem,fx.start.transition(fx.end,fx.pos));};});};color.hook(stepHooks);jQuery.cssHooks.borderColor={expand:function(value){var expanded={};each(["Top","Right","Bottom","Left"],function(i,part){expanded["border"+part+"Color"]=value;});return expanded;}};colors=jQuery.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};})(jQuery);(function(){var classAnimationActions=["add","remove","toggle"],shorthandStyles={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};$.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(_,prop){$.fx.step[prop]=function(fx){if(fx.end!=="none"&&!fx.setAttr||fx.pos===1&&!fx.setAttr){jQuery.style(fx.elem,prop,fx.end);fx.setAttr=true;}};});String.prototype.toCamelCase=function(){return this.replace(/^([A-Z])|\s(\w)/g,function(match,p1,p2,offset){if(p2)return p2.toUpperCase();return p1.toLowerCase();});};function getElementStyles(elem){var key,len,style=elem.ownerDocument.defaultView?elem.ownerDocument.defaultView.getComputedStyle(elem,null):elem.currentStyle,styles={};if(style&&style.length&&style[0]&&style[style[0]]){len=style.length;while(len--){key=style[len];if(typeof style[key]==="string")styles[key.toCamelCase()]=style[key];}}else{for(key in style)if(typeof style[key]==="string")styles[key]=style[key];}return styles;}function styleDifference(oldStyle,newStyle){var diff={},name,value;for(name in newStyle){value=newStyle[name];if(oldStyle[name]!==value)if(!shorthandStyles[name])if($.fx.step[name]||!isNaN(parseFloat(value)))diff[name]=value;}return diff;}if(!$.fn.addBack)$.fn.addBack=function(selector){return this.add(selector==null?this.prevObject:this.prevObject.filter(selector));};$.effects.animateClass=function(value,duration,easing,callback){var o=$.speed(duration,easing,callback);return this.queue(function(){var animated=$(this),baseClass=animated.attr("class")||"",applyClassChange,allAnimations=o.children?animated.find("*").addBack():animated;allAnimations=allAnimations.map(function(){var el=$(this);return {el,start:getElementStyles(this)};});applyClassChange=function(){$.each(classAnimationActions,function(i,action){if(value[action])animated[action+"Class"](value[action]);});};applyClassChange();allAnimations=allAnimations.map(function(){this.end=getElementStyles(this.el[0]);this.diff=styleDifference(this.start,this.end);return this;});animated.attr("class",baseClass);allAnimations=allAnimations.map(function(){var styleInfo=this,dfd=$.Deferred(),opts=$.extend({},o,{queue:false,complete:function(){dfd.resolve(styleInfo);}});this.el.animate(this.diff,opts);return dfd.promise();});$.when.apply($,allAnimations.get()).done(function(){applyClassChange();$.each(arguments,function(){var el=this.el;$.each(this.diff,function(key){el.css(key,"");});});o.complete.call(animated[0]);});});};$.fn.extend({addClass:(function(orig){return function(classNames,speed,easing,callback){return speed?$.effects.animateClass.call(this,{add:classNames},speed,easing,callback):orig.apply(this,arguments);};})($.fn.addClass),removeClass:(function(orig){return function(classNames,speed,easing,callback){return arguments.length>1?$.effects.animateClass.call(this,{remove:classNames},speed,easing,callback):orig.apply(this,arguments);};})($.fn.removeClass),toggleClass:(function(orig){return function(classNames,force,speed,easing,callback){if(typeof force==="boolean"||force===undefined)if(!speed)return orig.apply(this,arguments);else return $.effects.animateClass.call(this,(force?{add:classNames}:{remove:classNames}),speed,easing,callback);else return $.effects.animateClass.call(this,{toggle:classNames},force,speed,easing);};})($.fn.toggleClass),switchClass:function(remove,add,speed,easing,callback){return $.effects.animateClass.call(this,{add,remove},speed,easing,callback);}});})();(function(){if($.expr&&$.expr.filters&&$.expr.filters.animated)$.expr.filters.animated=(function(orig){return function(elem){return !!$(elem).data(dataSpaceAnimated)||orig(elem);};})($.expr.filters.animated);if($.uiBackCompat!==false)$.extend($.effects,{save:function(element,set){var i=0,length=set.length;for(;i<length;i++)if(set[i]!==null)element.data(dataSpace+set[i],element[0].style[set[i]]);},restore:function(element,set){var val,i=0,length=set.length;for(;i<length;i++)if(set[i]!==null){val=element.data(dataSpace+set[i]);element.css(set[i],val);}},setMode:function(el,mode){if(mode==="toggle")mode=el.is(":hidden")?"show":"hide";return mode;},createWrapper:function(element){if(element.parent().is(".ui-effects-wrapper"))return element.parent();var props={width:element.outerWidth(true),height:element.outerHeight(true),"float":element.css("float")},wrapper=$("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),size={width:element.width(),height:element.height()},active=document.activeElement;try{active.id;}catch(e){active=document.body;}element.wrap(wrapper);if(element[0]===active||$.contains(element[0],active))$(active).trigger("focus");wrapper=element.parent();if(element.css("position")==="static"){wrapper.css({position:"relative"});element.css({position:"relative"});}else{$.extend(props,{position:element.css("position"),zIndex:element.css("z-index")});$.each(["top","left","bottom","right"],function(i,pos){props[pos]=element.css(pos);if(isNaN(parseInt(props[pos],10)))props[pos]="auto";});element.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"});}element.css(size);return wrapper.css(props).show();},removeWrapper:function(element){var active=document.activeElement;if(element.parent().is(".ui-effects-wrapper")){element.parent().replaceWith(element);if(element[0]===active||$.contains(element[0],active))$(active).trigger("focus");}return element;}});$.extend($.effects,{version:"1.12.1",define:function(name,mode,effect){if(!effect){effect=mode;mode="effect";}$.effects.effect[name]=effect;$.effects.effect[name].mode=mode;return effect;},scaledDimensions:function(element,percent,direction){if(percent===0)return {height:0,width:0,outerHeight:0,outerWidth:0};var x=direction!=="horizontal"?((percent||100)/100):1,y=direction!=="vertical"?((percent||100)/100):1;return {height:element.height()*y,width:element.width()*x,outerHeight:element.outerHeight()*y,outerWidth:element.outerWidth()*x};},clipToBox:function(animation){return {width:animation.clip.right-animation.clip.left,height:animation.clip.bottom-animation.clip.top,left
34:animation.clip.left,top:animation.clip.top};},unshift:function(element,queueLength,count){var queue=element.queue();if(queueLength>1)queue.splice.apply(queue,[1,0].concat(queue.splice(queueLength,count)));element.dequeue();},saveStyle:function(element){element.data(dataSpaceStyle,element[0].style.cssText);},restoreStyle:function(element){element[0].style.cssText=element.data(dataSpaceStyle)||"";element.removeData(dataSpaceStyle);},mode:function(element,mode){var hidden=element.is(":hidden");if(mode==="toggle")mode=hidden?"show":"hide";if(hidden?mode==="hide":mode==="show")mode="none";return mode;},getBaseline:function(origin,original){var y,x;switch(origin[0]){case "top":y=0;break;case "middle":y=0.5;break;case "bottom":y=1;break;default:y=origin[0]/original.height;}switch(origin[1]){case "left":x=0;break;case "center":x=0.5;break;case "right":x=1;break;default:x=origin[1]/original.width;}return {x,y};},createPlaceholder:function(element){var placeholder,cssPosition=element.css("position"),position=element.position();element.css({marginTop:element.css("marginTop"),marginBottom:element.css("marginBottom"),marginLeft:element.css("marginLeft"),marginRight:element.css("marginRight")}).outerWidth(element.outerWidth()).outerHeight(element.outerHeight());if(/^(static|relative)/.test(cssPosition)){cssPosition="absolute";placeholder=$("<"+element[0].nodeName+">").insertAfter(element).css({display:/^(inline|ruby)/.test(element.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:element.css("marginTop"),marginBottom:element.css("marginBottom"),marginLeft:element.css("marginLeft"),marginRight:element.css("marginRight"),"float":element.css("float")}).outerWidth(element.outerWidth()).outerHeight(element.outerHeight()).addClass("ui-effects-placeholder");element.data(dataSpace+"placeholder",placeholder);}element.css({position:cssPosition,left:position.left,top:position.top});return placeholder;},removePlaceholder:function(element){var dataKey=dataSpace+"placeholder",placeholder=element.data(dataKey);if(placeholder){placeholder.remove();element.removeData(dataKey);}},cleanUp:function(element){$.effects.restoreStyle(element);$.effects.removePlaceholder(element);},setTransition:function(element,list,factor,value){value=value||{};$.each(list,function(i,x){var unit=element.cssUnit(x);if(unit[0]>0)value[x]=unit[0]*factor+unit[1];});return value;}});function _normalizeArguments(effect,options,speed,callback){if($.isPlainObject(effect)){options=effect;effect=effect.effect;}effect={effect};if(options==null)options={};if(typeof options==='function'){callback=options;speed=null;options={};}if(typeof options==="number"||$.fx.speeds[options]){callback=speed;speed=options;options={};}if(typeof speed==='function'){callback=speed;speed=null;}if(options)$.extend(effect,options);speed=speed||options.duration;effect.duration=$.fx.off?0:typeof speed==="number"?speed:speed in $.fx.speeds?$.fx.speeds[speed]:$.fx.speeds._default;effect.complete=callback||options.complete;return effect;}function standardAnimationOption(option){if(!option||typeof option==="number"||$.fx.speeds[option])return true;if(typeof option==="string"&&!$.effects.effect[option])return true;if(typeof option==='function')return true;if(typeof option==="object"&&!option.effect)return true;return false;}$.fn.extend({effect:function(){var args=_normalizeArguments.apply(this,arguments),effectMethod=$.effects.effect[args.effect],defaultMode=effectMethod.mode,queue=args.queue,queueName=queue||"fx",complete=args.complete,mode=args.mode,modes=[],prefilter=function(next){var el=$(this),normalizedMode=$.effects.mode(el,mode)||defaultMode;el.data(dataSpaceAnimated,true);modes.push(normalizedMode);if(defaultMode&&(normalizedMode==="show"||(normalizedMode===defaultMode&&normalizedMode==="hide")))el.show();if(!defaultMode||normalizedMode!=="none")$.effects.saveStyle(el);if(typeof next==='function')next();};if($.fx.off||!effectMethod)if(mode)return this[mode](args.duration,complete);else return this.each(function(){if(complete)complete.call(this);});function run(next){var elem=$(this);function cleanup(){elem.removeData(dataSpaceAnimated);$.effects.cleanUp(elem);if(args.mode==="hide")elem.hide();done();}function done(){if(typeof complete==='function')complete.call(elem[0]);if(typeof next==='function')next();}args.mode=modes.shift();if($.uiBackCompat!==false&&!defaultMode)if(elem.is(":hidden")?mode==="hide":mode==="show"){elem[mode]();done();}else effectMethod.call(elem[0],args,done);else if(args.mode==="none"){elem[mode]();done();}else effectMethod.call(elem[0],args,cleanup);}return queue===false?this.each(prefilter).each(run):this.queue(queueName,prefilter).queue(queueName,run);},show:(function(orig){return function(option){if(standardAnimationOption(option))return orig.apply(this,arguments);else{var args=_normalizeArguments.apply(this,arguments);args.mode="show";return this.effect.call(this,args);}};})($.fn.show),hide:(function(orig){return function(option){if(standardAnimationOption(option))return orig.apply(this,arguments);else{var args=_normalizeArguments.apply(this,arguments);args.mode="hide";return this.effect.call(this,args);}};})($.fn.hide),toggle:(function(orig){return function(option){if(standardAnimationOption(option)||typeof option==="boolean")return orig.apply(this,arguments);else{var args=_normalizeArguments.apply(this,arguments);args.mode="toggle";return this.effect.call(this,args);}};}
34)($.fn.toggle),cssUnit:function(key){var style=this.css(key),val=[];$.each(["em","px","%","pt"],function(i,unit){if(style.indexOf(unit)>0)val=[parseFloat(style),unit];});return val;},cssClip:function(clipObj){if(clipObj)return this.css("clip","rect("+clipObj.top+"px "+clipObj.right+"px "+clipObj.bottom+"px "+clipObj.left+"px)");return parseClip(this.css("clip"),this);},transfer:function(options,done){var element=$(this),target=$(options.to),targetFixed=target.css("position")==="fixed",body=$("body"),fixTop=targetFixed?body.scrollTop():0,fixLeft=targetFixed?body.scrollLeft():0,endPosition=target.offset(),animation={top:endPosition.top-fixTop,left:endPosition.left-fixLeft,height:target.innerHeight(),width:target.innerWidth()},startPosition=element.offset(),transfer=$("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(options.className).css({top:startPosition.top-fixTop,left:startPosition.left-fixLeft,height:element.innerHeight(),width:element.innerWidth(),position:targetFixed?"fixed":"absolute"}).animate(animation,options.duration,options.easing,function(){transfer.remove();if(typeof done==='function')done();});}});function parseClip(str,element){var outerWidth=element.outerWidth(),outerHeight=element.outerHeight(),clipRegex=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,values=clipRegex.exec(str)||["",0,outerWidth,outerHeight,0];return {top:parseFloat(values[1])||0,right:values[2]==="auto"?outerWidth:parseFloat(values[2]),bottom:values[3]==="auto"?outerHeight:parseFloat(values[3]),left:parseFloat(values[4])||0};}$.fx.step.clip=function(fx){if(!fx.clipInit){fx.start=$(fx.elem).cssClip();if(typeof fx.end==="string")fx.end=parseClip(fx.end,fx.elem);fx.clipInit=true;}$(fx.elem).cssClip({top:fx.pos*(fx.end.top-fx.start.top)+fx.start.top,right:fx.pos*(fx.end.right-fx.start.right)+fx.start.right,bottom:fx.pos*(fx.end.bottom-fx.start.bottom)+fx.start.bottom,left:fx.pos*(fx.end.left-fx.start.left)+fx.start.left});};})();(function(){var baseEasings={};$.each(["Quad","Cubic","Quart","Quint","Expo"],function(i,name){baseEasings[name]=function(p){return Math.pow(p,i+2);};});$.extend(baseEasings,{Sine:function(p){return 1-Math.cos(p*Math.PI/2);},Circ:function(p){return 1-Math.sqrt(1-p*p);},Elastic:function(p){return p===0||p===1?p:-Math.pow(2,8*(p-1))*Math.sin(((p-1)*80-7.5)*Math.PI/15);},Back:function(p){return p*p*(3*p-2);},Bounce:function(p){var pow2,bounce=4;while(p<((pow2=Math.pow(2,--bounce))-1)/11){}return 1/Math.pow(4,3-bounce)-7.5625*Math.pow((pow2*3-2)/22-p,2);}});$.each(baseEasings,function(name,easeIn){$.easing["easeIn"+name]=easeIn;$.easing["easeOut"+name]=function(p){return 1-easeIn(1-p);};$.easing["easeInOut"+name]=function(p){return p<0.5?easeIn(p*2)/2:1-easeIn(p*-2+2)/2;};});})();return $.effects;}));;
35(function(factory){if(typeof define==="function"&&define.amd)define(["jquery","../version","../effect"],factory);else factory(jQuery);}(function($){return $.effects.define("fade","toggle",function(options,done){var show=options.mode==="show";$(this).css("opacity",show?0:1).animate({opacity:show?1:0},{queue:false,duration:options.duration,easing:options.easing,complete:done});});}));;
36(function(factory){'use strict';if(typeof module==='object'&&typeof module.exports==='object')module.exports=factory(require('jquery'));else factory(jQuery);})(function($){'use strict';var setDirection={bgVertical:function(elem,bgOffset,bgStart){return elem.css({'backgroundPositionY':'calc('+-bgOffset+'px + '+bgStart+')'});},bgHorizontal:function(elem,bgOffset,bgStart){return elem.css({'backgroundPositionX':'calc('+-bgOffset+'px + '+bgStart+')'});},vertical:function(elem,elemOffset,oldTransform){(oldTransform==='none'?oldTransform='':true);return elem.css({'-webkit-transform':'translateY('+elemOffset+'px)'+oldTransform,'-moz-transform':'translateY('+elemOffset+'px)'+oldTransform,'transform':'translateY('+elemOffset+'px)'+oldTransform,'transition':'transform linear','will-change':'transform'});},horizontal:function(elem,elemOffset,oldTransform){(oldTransform==='none'?oldTransform='':true);return elem.css({'-webkit-transform':'translateX('+elemOffset+'px)'+oldTransform,'-moz-transform':'translateX('+elemOffset+'px)'+oldTransform,'transform':'translateX('+elemOffset+'px)'+oldTransform,'transition':'transform linear','will-change':'transform'});}};
36$.fn.paroller=function(options){var windowHeight=$(window).height();var documentHeight=$(document).height();options=$.extend({factor:0,type:'background',direction:'vertical',bgstart:0},options);return this.each(function(){var working=false;var $this=$(this);var offset=$this.offset().top;var height=$this.outerHeight();var dataFactor=$this.data('paroller-factor');var dataType=$this.data('paroller-type');var dataDirection=$this.data('paroller-direction');var dataBgStart=$this.data('paroller-bg-start');var factor=(dataFactor)?dataFactor:options.factor;var type=(dataType)?dataType:options.type;var direction=(dataDirection)?dataDirection:options.direction;var bgStart=(dataBgStart)?dataBgStart:options.bgstart;var bgOffset=Math.round(offset*factor);var transform=Math.round((offset-(windowHeight/2)+height)*factor);var oldTransform=$this.css('transform');if(type==='background'){if(typeof bgStart==='number')bgStart=bgStart+'px';if(!bgStart.length)bgStart='0';if(typeof (bgStart.slice(-1)==='number'))bgStart=bgStart+'px';if(direction==='vertical')setDirection.bgVertical($this,bgOffset,bgStart);else{if(direction==='horizontal')setDirection.bgHorizontal($this,bgOffset,bgStart);}}else{if(type==='foreground')if(direction==='vertical')setDirection.vertical($this,transform,oldTransform);else{if(direction==='horizontal')setDirection.horizontal($this,transform,oldTransform);}}$(window).on('scroll.paroller',onScroll).trigger('scroll');function scrollAction(){working=false;}function onScroll(){if(!working){var scrolling=$(this).scrollTop();documentHeight=$(document).height();bgOffset=Math.round((offset-scrolling)*factor);transform=Math.round(((offset-(windowHeight/2)+height)-scrolling)*factor);if(type==='background')if(direction==='vertical')setDirection.bgVertical($this,bgOffset,bgStart);else{if(direction==='horizontal')setDirection.bgHorizontal($this,bgOffset,bgStart);}else{if((type==='foreground')&&(scrolling<=documentHeight))if(direction==='vertical')setDirection.vertical($this,transform,oldTransform);else{if(direction==='horizontal')setDirection.horizontal($this,transform,oldTransform);}}window.requestAnimationFrame(scrollAction);working=true;}}});};});;
37(function($,Drupal,once,drupalSettings){"use strict";Drupal.behaviors.DX8ParallaxScrolling={attach:function(context,settings){var cmm=new Drupal.CohesionResponsiveBreakpoints();var resetCSS={'background':'','transform':'','transition':'','will-change':'','background-position-y':'','background-position-x':''};var count=0;var total=0;function initParoller(settings){var key=settings.cohesion.key,settings=settings.cohesion.settings,$el=settings.$el;if(!count){total=$('[data-coh-paroller]',context).length;count=total;}if(count===total)$(window).off('.paroller');count--;$el.css(resetCSS);if(settings.breakpoints[key].enabled)$el.paroller({factor:settings.breakpoints[key].factor,direction:settings.breakpoints[key].direction,type:settings.breakpoints[key].type,bgstart:settings.breakpoints[key].bgstart});}$(once('dx8-js-parallax-init','[data-coh-paroller]',context)).each(function(){var $el=$(this);var responsiveSettings=$el.data('coh-paroller');var key,previous;var settings={$el,breakpoints:{}};for(var i=0;i<cmm.breakpoints.length;i++){key=cmm.breakpoints[i].key;settings.breakpoints[key]={};if(typeof responsiveSettings[key]!=='undefined'){settings.breakpoints[key]=responsiveSettings[key];previous=responsiveSettings[key];}else{if(typeof cmm.breakpoints[i-1]!=='undefined'&&typeof previous!=='undefined')settings.breakpoints[key]=previous;}}cmm.addListeners(settings,initParoller);});}};})(jQuery,Drupal,once,drupalSettings);;
38(function($,Drupal,once){Drupal.behaviors.CohesionScroll={attach:function(context){if(drupalSettings.cohesion.add_animation_classes==='ENABLED'){function getWindowOffset(){return window.pageYOffset||document.documentElement.scrollTop;}var previous=getWindowOffset();$(once('cohWindowScroll','body',context)).each(function(){var $body=$(this);var timeout,flag=false;if(getWindowOffset()>0)$body.addClass('is-scrolled');$(window).scroll(function(){var current=getWindowOffset();var state=current>previous;if(!flag){flag=true;$body.addClass('is-scrolling');}if(current!==previous)$body.addClass('is-scrolled').toggleClass('is-scrolled-down',state).toggleClass('is-scrolled-up',!state);previous=current<=0?0:current;clearTimeout(timeout);timeout=setTimeout(function(){$body.removeClass('is-scrolling');flag=false;},200);if(previous===0)$body.removeClass('is-scrolled');});});}}};})(jQuery,Drupal,once,drupalSettings);;

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.