PageSourceSearch

https://marchegare.fr/sites/marchegare/themes/marchegare/dist/js/index.js?tlxtwv

js marchegare.fr collected 2026-09-26 02:35:01 UTC 246,906 bytes, 2 lines download raw bytes

1/*! For license information please see index.js.LICENSE.txt */
2(()=>{var e,t={297:()=>{function e(e,i){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,i)}(e))||i&&e&&"number"==typeof e.length){n&&(e=n);var s=0,r=function(){};return{s:r,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}!function(t){"use strict";var i=document.documentElement;function n(e,t){var n=window.getComputedStyle(e[0],null).getPropertyValue(t),s=e.attr("id")||e.attr("class").split(" ")[0];i.style.setProperty("--"+s+"-"+t,n)}function s(i){(i=i||t("[data-to-cssvar]")).each((function(){var i,s=t(this).data("to-cssvar"),r=e(s=s.split(","));try{for(r.s();!(i=r.n()).done;){var o=i.value;n(t(this),o.trim())}}catch(e){r.e(e)}finally{r.f()}}))}Drupal.behaviors.tocssvar={attach:function(e){s()}},t(window).on("resize",(function(){s()}))}(jQuery)},230:()=>{!function(e){"use strict";var t=function(e){var t,i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var s=arguments.length,r=new Array(s),o=0;o<s;o++)r[o]=arguments[o];clearTimeout(t),t=setTimeout((function(){e.apply(i,r)}),n)}}((function(){e(".js-bigtext").bigtext()}));Drupal.behaviors.bigtext_init={attach:function(i){"querySelectorAll"in document&&(e(".js-bigtext").bigtext(),e(window).resize(t))}}}(jQuery)},489:function(){!function(e,t){"use strict";var i=0,n=t("head"),s=e.BigText,r=t.fn.bigtext,o={DEBUG_MODE:!1,DEFAULT_MIN_FONT_SIZE_PX:null,DEFAULT_MAX_FONT_SIZE_PX:528,GLOBAL_STYLE_ID:"bigtext-style",STYLE_ID:"bigtext-id",LINE_CLASS_PREFIX:"bigtext-line",EXEMPT_CLASS:"bigtext-exempt",noConflict:function(i){return i&&(t.fn.bigtext=r,e.BigText=s),o},supports:{wholeNumberFontSizeOnly:function(){if(!("getComputedStyle"in e))return!0;var i=t("<div/>").css({position:"absolute","font-size":"14.1px"}).insertBefore(t("script").eq(0)),n=e.getComputedStyle(i[0],null),s=n&&"14px"===n.getPropertyValue("font-size");return i.remove(),s}()},init:function(){t("#"+o.GLOBAL_STYLE_ID).length||n.append(o.generateStyleTag(o.GLOBAL_STYLE_ID,[".bigtext * { white-space: nowrap; } .bigtext > * { display: block; }",".bigtext ."+o.EXEMPT_CLASS+", .bigtext ."+o.EXEMPT_CLASS+" * { white-space: normal; }"]))},bindResize:function(i,n){var s;t(e).unbind(i).bind(i,(function(){s&&clearTimeout(s),s=setTimeout(n,100)}))},getStyleId:function(e){return o.STYLE_ID+"-"+e},generateStyleTag:function(e,i){return t("<style>"+i.join("\n")+"</style>").attr("id",e)},clearCss:function(e){var i=o.getStyleId(e);t("#"+i).remove()},generateCss:function(e,t,i,n){var s=[];o.clearCss(e);for(var r=0,a=t.length;r<a;r++)s.push("#"+e+" ."+o.LINE_CLASS_PREFIX+r+" {"+(n[r]?" white-space: normal;":"")+(t[r]?" font-size: "+t[r]+"px;":"")+(i[r]?" word-spacing: "+i[r]+"px;":"")+"}");return o.generateStyleTag(o.getStyleId(e),s)},jQueryMethod:function(e){return o.init(),e=t.extend({minfontsize:o.DEFAULT_MIN_FONT_SIZE_PX,maxfontsize:o.DEFAULT_MAX_FONT_SIZE_PX,childSelector:"",resize:!0},e||{}),this.each((function(){var s=t(this).addClass("bigtext"),r=s.width(),a=s.attr("id"),l=e.childSelector?s.find(e.childSelector):s.children();a||(a="bigtext-id"+i++,s.attr("id",a)),e.resize&&o.bindResize("resize.bigtext-event-"+a,(function(){o.jQueryMethod.call(t("#"+a),e)})),o.clearCss(a),l.addClass((function(e,t){return[t.replace(new RegExp("\\b"+o.LINE_CLASS_PREFIX+"\\d+\\b"),""),o.LINE_CLASS_PREFIX+e].join(" ")}));var c=o.calculateSizes(s,l,r,e.maxfontsize,e.minfontsize);n.append(o.generateCss(a,c.fontSizes,c.wordSpacings,c.minFontSizes))})),this.trigger("bigtext:complete")},testLineDimensions:function(e,t,i,n,s,r,o){var a;if(o="number"==typeof o?o:0,e.css(i,n+r),(a=e.width())>=t){if(e.css(i,""),a===t)return{match:"exact",size:parseFloat((parseFloat(n)-.1).toFixed(3))};var l=t-o,c=a-t;return{match:"estimate",size:parseFloat((parseFloat(n)-("word-spacing"===i&&o&&c<l?0:s)).toFixed(3))}}return a},calculateSizes:function(e,i,n,s,r){var a=e.clone(!0).addClass("bigtext-cloned").css({fontFamily:e.css("font-family"),textTransform:e.css("text-transform"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),position:"absolute",left:o.DEBUG_MODE?0:-9999,top:o.DEBUG_MODE?0:-9999}).appendTo(document.body),l=[],c=[],d=[],u=[];return i.css("float","left").each((function(){var e,i,a=t(this),c=o.supports.wholeNumberFontSizeOnly?[8,4,1]:[8,4,1,.1];if(a.hasClass(o.EXEMPT_CLASS))return l.push(null),u.push(null),void d.push(!1);var h=parseFloat(a.css("font-size")),p=(a.width()/h).toFixed(6);i=parseInt(n/p,10)-32;e:for(var f=0,g=c.length;f<g;f++)t:for(var m=1;m<=10;m++){if(i+m*c[f]>s){i=s;break e}if("number"!=typeof(e=o.testLineDimensions(a,n,"font-size",i+m*c[f],c[f],"px",e))){if
2(i=e.size,"exact"===e.match)break e;break t}}u.push(n/i),i>s?(l.push(s),d.push(!1)):r&&i<r?(l.push(r),d.push(!0)):(l.push(i),d.push(!1))})).each((function(e){var i,s=t(this),r=0;if(s.hasClass(o.EXEMPT_CLASS))c.push(null);else{s.css("font-size",l[e]+"px");for(var a=1;a<3;a+=1)if("number"!=typeof(i=o.testLineDimensions(s,n,"word-spacing",a,1,"px",i))){r=i.size;break}s.css("font-size",""),c.push(r)}})).removeAttr("style"),o.DEBUG_MODE?a.css({"background-color":"rgba(255,255,255,.4)"}):a.remove(),{fontSizes:l,wordSpacings:c,ratios:u,minFontSizes:d}}};t.fn.bigtext=o.jQueryMethod,e.BigText=o}(this,jQuery)},643:(e,t,i)=>{"use strict";var n=i(732),s=(i.n(n)()({selector:"[data-glightbox]"}),i(526),i(253),i(743),i(219),i(325),i(525),i(189),window.bootstrap=i(923));!function(e){Drupal.behaviors.ssks_bootstrap={attach:function(t){[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(e){return new s.Tooltip(e)})),e(once("accordion-on-anchor",e("body"))).each((function(){!function(){if(document.querySelector('[data-bs-toggle="collapse"]')){var e=document.location.hash.replace(/(\?).*/,"");e=e.split(/[^a-zA-Z0-9-_#]/g)[0];var t=isNaN(e.replace("#",""));if(e&&t)try{var i=document.querySelector(e);i&&i.querySelector('[data-bs-toggle="collapse"]')&&i.querySelector('[data-bs-toggle="collapse"]').click()}catch(e){console.error(e)}}}()}))}}}(jQuery);i(981);function r(e,t){return void 0!==e?e:t}function o(e,t=getComputedStyle(document.body)){let i=t.getPropertyValue(e).replace(/\s/g,"");return String(i).indexOf("rgb")>-1?function(e){let t=e.match(/rgba?\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)?(?:, ?(\d(?:\.\d?))\))?/);return t?[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10)]:[]}(i):function(e){if(e.length<7){let t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,(function(e,t,i,n){return t+t+i+i+n+n}))}let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]}(i)}const a=class{constructor(e){this.init=this.init(e),this.isInitialized=!1}init(e={}){this.isInitialized||(this.isInitialized=!0,this.id=r(e.id,"ssks_duotone_container"),this.rootStyle=r(e.rootStyle,getComputedStyle(document.body)),this.filters=r(e.filters,[]),this.$parentFilters=r(e.$parentFilters,null),this.generateStyleSheet=r(e.generateStyleSheet,!0),this.$parentFilters||this.generate_parentFilters_template(),this.buildFilters())}generate_parentFilters_template(){const e=`<div style="border: 0;\n                                  clip: rect(0 0 0 0);\n                                  height: 1px;\n                                  margin: -1px;\n                                  overflow: hidden;\n                                  padding: 0;\n                                  position: absolute;\n                                  width: 1px;" \n                            aria-hidden="true">\n                        <svg xmlns="http://www.w3.org/2000/svg" style="color-interpolation-filters:sRGB;" id="${this.id}">\n                          <defs></defs>\n                        </svg>\n                      <div>`;document.body.insertAdjacentHTML("beforeend",e),this.$parentFilters=document.querySelector(`#${this.id} defs`)}generateFilter(e){const t=e.id,i=e.dark,n=e.light,s=e.rootStyle||this.rootStyle,r=function(e,t){var i=[];return(i=(i=(i=(i=i.concat([e[0]/255-t[0]/255,0,0,0,t[0]/255])).concat([e[1]/255-t[1]/255,0,0,0,t[1]/255])).concat([e[2]/255-t[2]/255,0,0,0,t[2]/255])).concat([0,0,0,1,0])).join(" ")}(o(n,s),o(i,s));return`<filter id="${t}">\n                              <feColorMatrix type="matrix" values="${r}"/></filter>\n                            </filter>`}buildFilters(){const e=this.filters.reduce(((e,t)=>e+this.generateFilter(t)),"");this.$parentFilters.innerHTML=e,this.updateStyleSheet()}addFilter(e){let t=!1;this.filters.forEach(((i,n)=>{if(i.id===e.id)return this.filters[n]=e,void(t=!0)})),t||this.filters.push(e),this.buildFilters()}getStylesheetByTitle(e){const t=Array.from(document.styleSheets).filter((t=>t.title===e));return t.length>0?t[0]:null}
2updateStyleSheet(){if(this.generateStyleSheet){if(!document.getElementById("ssksDuotoneStyleTag")){let e=document.createElement("style");e.id="ssksDuotoneStyleTag",e.title="ssksDuotoneStyleTag",document.querySelector("head").appendChild(e)}let e=this.getStylesheetByTitle("ssksDuotoneStyleTag");e&&this.filters.forEach((t=>{e.insertRule(`[data-duotone="${t.id}"] {filter: url(#${t.id})} `,e.cssRules.length)}))}}};!function(e){var t=null;Drupal.behaviors.ssks_duotone={attach:function(i){e(once("duotone",e(".node"))).each((function(){t=new a({filters:[{id:"duotone_base",dark:"--bs-gray-700",light:"--bs-gray-100"},{id:"duotone_context",dark:"--context-duotone-dark",light:"--context-duotone-light"}]})})),e(once("filterGenerated",e("[data-duotone]"))).each((function(i){var n=getComputedStyle(e(this)[0]),s=/^#/,r=n.getPropertyValue("--context-duotone-light").replace(s,""),o=n.getPropertyValue("--context-duotone-dark").replace(s,""),a="custom-".concat(r+o),l=!1;t.filters.map((function(e){e.id!==a||(l=!0)})),l||t.addFilter({id:a,light:"--context-duotone-light",dark:"--context-duotone-dark",rootStyle:n}),e(this).css({"--filter-id":"url(#".concat(a,")")})}))}}}(jQuery);i(489),i(230),i(297);function l(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function c(e={},t={}){Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:l(t[i])&&l(e[i])&&Object.keys(t[i]).length>0&&c(e[i],t[i])}))}const d={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function u(){const e="undefined"!=typeof document?document:{};return c(e,d),e}const h={document:d,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function p(){const e="undefined"!=typeof window?window:{};return c(e,h),e}class f extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function g(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...g(e)):t.push(e)})),t}function m(e,t){return Array.prototype.filter.call(e,t)}function v(e,t){const i=p(),n=u();let s=[];if(!t&&e instanceof f)return e;if(!e)return new f(s);if("string"==typeof e){const i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let e="div";0===i.indexOf("<li")&&(e="ul"),0===i.indexOf("<tr")&&(e="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(e="tr"),0===i.indexOf("<tbody")&&(e="table"),0===i.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=i;for(let e=0;e<t.childNodes.length;e+=1)s.push(t.childNodes[e])}else s=function(e,t){if("string"!=typeof e)return[e];const i=[],n=t.querySelectorAll(e);for(let e=0;e<n.length;e+=1)i.push(n[e]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)s.push(e);else if(Array.isArray(e)){if(e instanceof f)return e;s=e}return new f(function(e){const t=[];for(let i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(s))}v.fn=f.prototype;const y="resize scroll".split(" ");function b(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)y.indexOf(e)<0&&(e in this[t]?this[t][e]():v(this[t]).trigger(e));return this}return this.on(e,...t)}}b("click"),b("blur"),b("focus"),b("focusin"),b("focusout"),b("keyup"),b("keydown"),b("keypress"),b("submit"),b("change"),b("mou
2sedown"),b("mousemove"),b("mouseup"),b("mouseenter"),b("mouseleave"),b("mouseout"),b("mouseover"),b("touchstart"),b("touchend"),b("touchmove"),b("resize"),b("scroll");const w={addClass:function(...e){const t=g(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=g(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=g(e.map((e=>e.split(" "))));return m(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=g(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,i,n,s]=e;function r(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),v(t).is(i))n.apply(t,s);else{const e=v(t).parents();for(let t=0;t<e.length;t+=1)v(e[t]).is(i)&&n.apply(e[t],s)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const a=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(l=0;l<a.length;l+=1){const e=a[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:r}),t.addEventListener(e,r,s)}else for(l=0;l<a.length;l+=1){const e=a[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:o}),t.addEventListener(e,o,s)}}return this},off:function(...e){let[t,i,n,s]=e;"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const r=t.split(" ");for(let e=0;e<r.length;e+=1){const t=r[e];for(let e=0;e<this.length;e+=1){const r=this[e];let o;if(!i&&r.dom7Listeners?o=r.dom7Listeners[t]:i&&r.dom7LiveListeners&&(o=r.dom7LiveListeners[t]),o&&o.length)for(let e=o.length-1;e>=0;e-=1){const i=o[e];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(r.removeEventListener(t,i.proxyListener,s),o.splice(e,1)):n||(r.removeEventListener(t,i.proxyListener,s),o.splice(e,1))}}}return this},trigger:function(...e){const t=p(),i=e[0].split(" "),n=e[1];for(let s=0;s<i.length;s+=1){const r=i[s];for(let i=0;i<this.length;i+=1){const s=this[i];if(t.CustomEvent){const i=new t.CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0});s.dom7EventData=e.filter(((e,t)=>t>0)),s.dispatchEvent(i),s.dom7EventData=[],delete s.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=p();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=p(),t=u(),i=this[0],n=i.getBoundingClientRect(),s=t.body,r=i.clientTop||s.clientTop||0,o=i.clientLeft||s.clientLeft||0,a=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:n.top+a-r,left:n.left+l-o}}return null},css:function(e,t){const i=p();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,i)=>{e.apply(t,[t,i])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=p(),i=u(),n=this[0];let s,r;if(!n||void 0===e)return!1;if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);
vendor: 2,982 bytes, line 2
2if(n.msMatchesSelector)return n.msMatchesSelector(e);for(s=v(e),r=0;r<s.length;r+=1)if(s[r]===n)return!0;return!1}if(e===i)return n===i;if(e===t)return n===t;if(e.nodeType||e instanceof f){for(s=e.nodeType?[e]:e,r=0;r<s.length;r+=1)if(s[r]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return v([]);if(e<0){const i=t+e;return v(i<0?[]:[this[i]])}return v([this[e]])},append:function(...e){let t;const i=u();for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=i.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof f)for(let i=0;i<t.length;i+=1)this[e].appendChild(t[i]);else this[e].appendChild(t)}return this},prepend:function(e){const t=u();let i,n;for(i=0;i<this.length;i+=1)if("string"==typeof e){const s=t.createElement("div");for(s.innerHTML=e,n=s.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(s.childNodes[n],this[i].childNodes[0])}else if(e instanceof f)for(n=0;n<e.length;n+=1)this[i].insertBefore(e[n],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&v(this[0].nextElementSibling).is(e)?v([this[0].nextElementSibling]):v([]):this[0].nextElementSibling?v([this[0].nextElementSibling]):v([]):v([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return v([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?v(n).is(e)&&t.push(n):t.push(n),i=n}return v(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&v(t.previousElementSibling).is(e)?v([t.previousElementSibling]):v([]):t.previousElementSibling?v([t.previousElementSibling]):v([])}return v([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return v([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?v(n).is(e)&&t.push(n):t.push(n),i=n}return v(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?v(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return v(t)},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?v(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return v(t)},closest:function(e){let t=this;return void 0===e?v([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return v(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let i=0;i<n.length;i+=1)e&&!v(n[i]).is(e)||t.push(n[i])}return v(t)},filter:function(e){return v(m(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};
vendor: 30,307 bytes, line 2
2Object.keys(w).forEach((e=>{Object.defineProperty(v.fn,e,{value:w[e],writable:!0})}));const _=v;function E(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function x(){return Date.now()}function S(e,t){void 0===t&&(t="x");const i=p();let n,s,r;const o=function(e){const t=p();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map((e=>e.replace(",","."))).join(", ")),r=new i.WebKitCSSMatrix("none"===s?"":s)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0}function T(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const s=n<0||arguments.length<=n?void 0:arguments[n];if(null!=s&&(i=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?i instanceof HTMLElement:i&&(1===i.nodeType||11===i.nodeType)))){const i=Object.keys(Object(s)).filter((e=>t.indexOf(e)<0));for(let t=0,n=i.length;t<n;t+=1){const n=i[t],r=Object.getOwnPropertyDescriptor(s,n);void 0!==r&&r.enumerable&&(T(e[n])&&T(s[n])?s[n].__swiper__?e[n]=s[n]:C(e[n],s[n]):!T(e[n])&&T(s[n])?(e[n]={},s[n].__swiper__?e[n]=s[n]:C(e[n],s[n])):e[n]=s[n])}}}var i;return e}function A(e,t,i){e.style.setProperty(t,i)}function k(e){let{swiper:t,targetPosition:i,side:n}=e;const s=p(),r=-t.translate;let o,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(t.cssModeFrameID);const c=i>r?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const e=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let h=r+c*(i-r);if(d(h,i)&&(h=i),t.wrapperEl.scrollTo({[n]:h}),d(h,i))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:h})})),void s.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=s.requestAnimationFrame(u)};u()}let L,O,M;function z(){return L||(L=function(){const e=p(),t=u();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const i=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),L}function P(e){return void 0===e&&(e={}),O||(O=function(e){let{userAgent:t}=void 0===e?{}:e;const i=z(),n=p(),s=n.navigator.platform,r=t||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===s;let g="MacIntel"===s;return!d&&g&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),c&&!f&&(o.os="android",o.android=!0),(d||h||u)&&(o.os="ios",o.ios=!0),o}(e)),O}function I(){return M||(M=function(){const e=p();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),M}const $={on(e,t,i){const n=this;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)})),n},once(e,t,i){const n=this;if("function"!=typeof t)return n;function s(){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];t.apply(n,r)}return s.__emitterProxy=t,n.on(e,s,i)},onAny(e,t){const i=this;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1)}))})),i):i},emit(){const e=this;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,r=new Array(s),o=0;o<s;o++)r[o]=arguments[o];"string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],i=r.slice(1,r.length),n=e):(t=r[0].events,i=r[0].data,n=r[0].context||e),i.unshift(n);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...i])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,i)}))})),e}};const D={updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}const n=e.params,{$wrapperEl:s,size:r,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=s.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let h=[];const p=[],f=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,w=-g,_=0,E=0;if(void 0===r)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*r),e.virtualSize=-b,o?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(A(e.wrapperEl,"--swiper-centered-offset-before",""),A(e.wrapperEl,"--swiper-centered-offset-after",""));const x=n.grid&&n.grid.rows>1&&e.grid;let S;x&&e.grid.initSlides(u);const T="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let s=0;s<u;s+=1){S=0;const o=d.eq(s);if(x&&e.grid.updateSlide(s,o,u,t),"none"!==o.css("display")){if("auto"===n.slidesPerView){T&&(d[s].style[t("width")]="");const r=getComputedStyle(o[0]),a=o[0].style.transform,l=o[0].style.webkitTransform;if(a&&(o[0].style.transform="none"),l&&(o[0].style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?o.outerWidth(!0):o.outerHeight(!0);else{const e=i(r,"width"),t=i(r,"padding-left"),n=i(r,"padding-right"),s=i(r,"margin-left"),a=i(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=e+s+a;else{const{clientWidth:i,offsetWidth:r}=o[0];S=e+t+n+s+a+(r-i)}}a&&(o[0].style.transform=a),l&&(o[0].style.webkitTransform=l),n.roundLengths&&(S=Math.floor(S))}else S=(r-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),d[s]&&(d[s].style[t("width")]=`${S}px`);d[s]&&(d[s].swiperSlideSize=S),f.push(S),n.centeredSlides?(w=w+S/2+_/2+b,0===_&&0!==s&&(w=w-r/2-b),0===s&&(w=w-r/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),E%n.slidesPerGroup==0&&h.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+S+b),e.virtualSize+=S+b,_=S,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&s.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&s.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),x&&e.grid.updateWrapperSize(S,h,t),!n.centeredSlides){const t=[];for(let i=0;i<h.length;i+=1){let s=h[i];n.roundLengths&&(s=Math.floor(s)),h[i]<=e.virtualSize-r&&t.push(s)}h=t,Math.floor(e.virtualSize-r)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-r)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){const i=e.isHorizontal()&&o?"marginLeft":t("marginRight");d.filter(((e,t)=>!n.cssMode||t!==d.length-1)).css({[i]:`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-r;h=h.map((e=>e<0?-g:e>t?t+m:e))}if(n.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e<r){const t=(r-e)/2;h.forEach(((e,i)=>{h[i]=e-t})),p.forEach(((e,i)=>{p[i]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){A(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),A(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+i))}if(u!==c&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?i||e.$el.addClass(t):i&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e=>{i.push(e)}));else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(o(e))}else i.push(o(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;r=e>r?e:r}(r||0===r)&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,i=t.params,{slides:n,rtlTranslate:s,snapGrid:r}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;s&&(o=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const a=n[e];let l=a.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(o+(i.centeredSlides?t.minTranslate():0)-l)/(a.swiperSlideSize+i.spaceBetween),d=(o-r[0]+(i.centeredSlides?t.minTranslate():0)-l)/(a.swiperSlideSize+i.spaceBetween),u=-(o-l),h=u+t.slidesSizesGrid[e];(u>=0&&u<t.size-1||h>1&&h<=t.size||u<=0&&h>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass)),a.progress=s?-c:c,a.originalProgress=s?-d:d}t.visibleSlides=_(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:r,isEnd:o}=t;const a=r,l=o;0===n?(s=0,r=!0,o=!0):(s=(e-t.minTranslate())/n,r=s<=0,o=s>=1),Object.assign(t,{progress:s,isBeginning:r,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),r&&!a&&t.emit("reachBeginning toEdge"),o&&!l&&t.emit("reachEnd toEdge"),(a&&!r||l&&!o)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:s,realIndex:r}=e,o=e.virtual&&i.virtual.enabled;let a;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),a=o?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${s}"]`):t.eq(s),a.addClass(i.slideActiveClass),i.loop&&(a.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(i.slideDuplicateActiveClass));let l=a.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0),l.addClass(i.slideNextClass));let c=a.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:r,activeIndex:o,realIndex:a,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?d=e:i>=n[e]&&i<n[e+1]&&(d=e+1):i>=n[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(i)>=0)c=s.indexOf(i);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),d===o)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:o,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=_(e).closest(`.${i.slideClass}`)[0];let s,r=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){r=!0,s=e;break}if(!n||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(_(n).attr("data-swiper-slide-index"),10):t.clickedIndex=s,i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};const N={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:i,translate:n,$wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let r=S(s[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:s,$wrapperEl:r,wrapperEl:o,progress:a}=i;let l,c=0,d=0;i.isHorizontal()?c=n?-e:e:d=e,s.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),s.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-d:s.virtualTranslate||r.transform(`translate3d(${c}px, ${d}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:d;const u=i.maxTranslate()-i.minTranslate();l=0===u?0:(e-i.minTranslate())/u,l!==a&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const r=this,{params:o,wrapperEl:a}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let d;if(d=n&&e>l?l:n&&e<c?c:e,r.updateProgress(d),o.cssMode){const e=r.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return k({swiper:r,targetPosition:-d,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}};function j(e){let{swiper:t,runCallbacks:i,direction:n,step:s}=e;const{activeIndex:r,previousIndex:o}=t;let a=n;if(a||(a=r>o?"next":r<o?"prev":"reset"),t.emit(`transition${s}`),i&&r!==o){if("reset"===a)return void t.emit(`slideResetTransition${s}`);t.emit(`slideChangeTransition${s}`),"next"===a?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`)}}const B={slideTo:function(e,t,i,n,s){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:h,wrapperEl:p,enabled:f}=r;if(r.animating&&a.preventInteractionOnTransition||!f&&!n&&!s)return!1;const g=Math.min(r.params.slidesPerGroupSkip,o);let m=g+Math.floor((o-g)/r.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(u||a.initialSlide||0)===(d||0)&&i&&r.emit("beforeSlideChangeStart");const v=-l[m];if(r.updateProgress(v),a.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?o=e:t>=i&&t<n&&(o=e+1):t>=i&&(o=e)}if(r.initialized&&o!==u){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(u||0)!==o)return!1}let y;if(y=o>u?"next":o<u?"prev":"reset",h&&-v===r.translate||!h&&v===r.translate)return r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(v),"reset"!==y&&(r.transitionStart(i,y),r.transitionEnd(i,y)),!1;if(a.cssMode){const e=r.isHorizontal(),i=h?v:-v;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),p[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1}))}else{if(!r.support.smoothScroll)return k({swiper:r,targetPosition:i,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,n),r.transitionStart(i,y),0===t?r.transitionEnd(i,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,y))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);const s=this;let r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{animating:s,enabled:r,params:o}=n;if(!r)return n;let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<o.slidesPerGroupSkip?1:a;if(o.loop){if(s&&o.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return o.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{params:s,animating:r,snapGrid:o,slidesGrid:a,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(s.loop){if(r&&s.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(l?n.translate:-n.translate),h=o.map((e=>d(e)));let p=o[h.indexOf(u)-1];if(void 0===p&&s.cssMode){let e;o.forEach(((t,i)=>{u>=t&&(e=i)})),void 0!==e&&(p=o[e>0?e-1:e])}let f=0;if(void 0!==p&&(f=a.indexOf(p),f<0&&(f=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i)}return n.slideTo(f,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);const s=this;let r=s.activeIndex;const o=Math.min(s.params.slidesPerGroupSkip,r),a=o+Math.floor((r-o)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const e=s.snapGrid[a];l-e>(s.snapGrid[a+1]-e)*n&&(r+=s.params.slidesPerGroup)}else{const e=s.snapGrid[a-1];l-e<=(s.snapGrid[a]-e)*n&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,r=e.clickedIndex;if(t.loop){if(e.animating)return;s=parseInt(_(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-n/2||r>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),E((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-n?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),E((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};const H={loopCreate:function(){const e=this,t=u(),{params:i,$wrapperEl:n}=e,s=n.children().length>0?_(n.children()[0].parentNode):n;s.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let r=s.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const e=i.slidesPerGroup-r.length%i.slidesPerGroup;if(e!==i.slidesPerGroup){for(let n=0;n<e;n+=1){const e=_(t.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);s.append(e)}r=s.children(`.${i.slideClass}`)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>r.length&&(e.loopedSlides=r.length);const o=[],a=[];r.each(((t,i)=>{const n=_(t);i<e.loopedSlides&&a.push(t),i<r.length&&i>=r.length-e.loopedSlides&&o.push(t),n.attr("data-swiper-slide-index",i)}));for(let e=0;e<a.length;e+=1)s.append(_(a[e].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let e=o.length-1;e>=0;e-=1)s.prepend(_(o[e].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:s,allowSlideNext:r,snapGrid:o,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-o[t]-e.getTranslate();if(t<n){l=i.length-3*n+t,l+=n;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}else if(t>=i.length-n){l=-i.length+t+n,l+=n;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}e.allowSlidePrev=s,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}};function F(e){const t=this,i=u(),n=p(),s=t.touchEventsData,{params:r,touches:o,enabled:a}=t;if(!a)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=_(l.target);if("wrapper"===r.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(s.isTouchEvent="touchstart"===l.type,!s.isTouchEvent&&"which"in l&&3===l.which)return;if(!s.isTouchEvent&&"button"in l&&l.button>0)return;if(s.isTouched&&s.isMoved)return;!!r.noSwipingClass&&""!==r.noSwipingClass&&l.target&&l.target.shadowRoot&&e.path&&e.path[0]&&(c=_(e.path[0]));const d=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,h=!(!l.target||!l.target.shadowRoot);if(r.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(i){return i&&i!==u()&&i!==p()?(i.assignedSlot&&(i=i.assignedSlot),i.closest(e)||t(i.getRootNode().host)):null}(t)}(d,l.target):c.closest(d)[0]))return void(t.allowClick=!0);if(r.swipeHandler&&!c.closest(r.swipeHandler)[0])return;o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const f=o.currentX,g=o.currentY,m=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(m&&(f<=v||f>=n.innerWidth-v)){if("prevent"!==m)return;e.preventDefault()}if(Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=g,s.touchStartTime=x(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(s.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(s.isTouched=!1)),i.activeElement&&_(i.activeElement).is(s.focusableElements)&&i.activeElement!==c[0]&&i.activeElement.blur();const n=e&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!n||c[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function W(e){const t=u(),i=this,n=i.touchEventsData,{params:s,touches:r,rtlTranslate:o,enabled:a}=i;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l));if(n.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?c.pageX:l.pageX,h="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=d,void(r.startY=h);if(!i.allowTouchMove)return _(l.target).is(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(r,{startX:d,startY:h,currentX:d,currentY:h}),n.touchStartTime=x()));if(n.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(i.isVertical()){if(h<r.startY&&i.translate<=i.maxTranslate()||h>r.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(d<r.startX&&i.translate<=i.maxTranslate()||d>r.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&_(l.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;r.currentX=d,r.currentY=h;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)<i.params.threshold)return;if(void 0===n.isScrolling){let e;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&l.cancelable&&l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation(),n.isMoved||(s.loop&&!s.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce
vendor: 1,100 bytes, line 2
2=!1,!s.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;let g=i.isHorizontal()?p:f;r.diff=g,g*=s.touchRatio,o&&(g=-g),i.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;let m=!0,v=s.resistanceRatio;if(s.touchReleaseOnEdges&&(v=0),g>0&&n.currentTranslate>i.minTranslate()?(m=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**v)):g<0&&n.currentTranslate<i.maxTranslate()&&(m=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**v)),m&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),s.threshold>0){if(!(Math.abs(g)>s.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 26,367 bytes, line 2
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function q(e){const t=this,i=t.touchEventsData,{params:n,touches:s,rtlTranslate:r,slidesGrid:o,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",l),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=x(),d=c-i.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(i.lastClickTime=x(),E((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,p=t.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[e+t]?u>=o[e]&&u<o[e+t]&&(h=e,p=o[e+t]-o[e]):u>=o[e]&&(h=e,p=o[o.length-1]-o[o.length-2])}let f=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const m=(u-o[h])/p,v=h<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(d>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:h+v):t.slideTo(h)),"prev"===t.swipeDirection&&(m>1-n.longSwipesRatio?t.slideTo(h+v):null!==g&&m<0&&Math.abs(m)>n.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(h+v):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+v),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}function R(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function X(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function V(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();s=0===r?0:(e.translate-e.minTranslate())/r,s!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Y=!1;function G(){}const U=(e,t)=>{const i=u(),{params:n,touchEvents:s,el:r,wrapperEl:o,device:a,support:l}=e,c=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",h=t;if(l.touch){const t=!("touchstart"!==s.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};r[d](s.start,e.onTouchStart,t),r[d](s.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),r[d](s.end,e.onTouchEnd,t),s.cancel&&r[d](s.cancel,e.onTouchEnd,t)}else r[d](s.start,e.onTouchStart,!1),i[d](s.move,e.onTouchMove,c),i[d](s.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&r[d]("click",e.onClick,!0),n.cssMode&&o[d]("scroll",e.onScroll),n.updateOnWindowResize?e[h](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",R,!0):e[h]("observerUpdate",R,!0)};const Q={attachEvents:function(){const e=this,t=u(),{params:i,support:n}=e;e.onTouchStart=F.bind(e),e.onTouchMove=W.bind(e),e.onTouchEnd=q.bind(e),i.cssMode&&(e.onScroll=V.bind(e)),e.onClick=X.bind(e),n.touch&&!Y&&(t.addEventListener("touchstart",G),Y=!0),U(e,"on")},detachEvents:function(){U(this,"off")}},K=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;const Z={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:s,$el:r}=e,o=s.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const l=(a in o?o[a]:void 0)||e.originalParams,c=K(e,s),d=K(e,l),u=s.enabled;c&&!d?(r.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(r.addClass(`${s.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===s.grid.fill)&&r.addClass(`${s.containerModifierClass}grid-column`),e.emitContainerClasses());const h=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||h);h&&i&&e.changeDirection(),C(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",l),p&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1;const s=p(),r="window"===t?s.innerHeight:i.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const{point:r,value:a}=o[e];"window"===t?s.matchMedia(`(min-width: ${a}px)`).matches&&(n=r):a<=i.clientWidth&&(n=r)}return n||"max"}};const J={addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,$el:s,device:r,support:o}=e,a=function(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&i.push(t+n)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"pointer-events":!o.touch},{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides}],i.containerModifierClass);t.push(...a),s.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};const ee={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function te(e,t){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],s=i[n];"object"==typeof s&&null!==s?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in s?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),C(t,i)):C(t,i)):C(t,i)}}const ie={eventsEmitter:$,update:D,translate:N,transition:{setTransition:function(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),j({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),j({swiper:i,runCallbacks:e,direction:t,step:"End"}))}},slide:B,loop:H,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:Q,breakpoints:Z,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:J,images:{loadImage:function(e,t,i,n,s,r){const o=p();let a;function l(){r&&r()}_(e).parent("picture")[0]||e.complete&&s?l():t?(a=new o.Image,a.onload=l,a.onerror=l,n&&(a.sizes=n),i&&(a.srcset=i),t&&(a.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},ne={};class se{constructor(){let e,t;for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=C({},t),e&&!t.el&&(t.el=e),t.el&&_(t.el).length>1){const e=[];return _(t.el).each((i=>{const n=C({},t,{el:i});e.push(new se(n))})),e}const r=this;r.__swiper__=!0,r.support=z(),r.device=P({userAgent:t.userAgent}),r.browser=I(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],t.modules&&Array.isArray(t.modules)&&r.modules.push(...t.modules);const o={};r.modules.forEach((e=>{e({swiper:r,extendParams:te(t,o),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const a=C({},ee,o);return r.params=C({},a,ne,t),r.originalParams=C({},r.params),r.passedParams=C({},t),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=_,Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:_(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:x(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),s=(i.maxTranslate()-n)*e+n;i.translateTo(s,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:i,slides:n,slidesGrid:s,slidesSizesGrid:r,size:o,activeIndex:a}=this;let l=1;if(i.centeredSlides){let e,t=n[a].swiperSlideSize;for(let i=a+1;i<n.length;i+=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<n.length;e+=1){(t?s[e]+r[e]-s[a]<o:s[e]-s[a]<o)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){s[a]-s[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let s;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(s=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),s||n()),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}mount(e){const t=this;if(t.mounted)return!0;const i=_(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=_(e.shadowRoot.querySelector(n()));return t.children=e=>i.children(e),t}return i.children(n())})();if(0===s.length&&t.params.createElements){const e=u().createElement("div");s=_(e),e.className=t.params.wrapperClass,i.append(e),i.children(`.${t.params.slideClass}`).each((e=>{s.append(e)}))}return Object.assign(t,{$el:i,el:e,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,$el:s,$wrapperEl:r,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),o&&o.length&&o.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static extendDefaults(e){C(ne,e)}static get extendedDefaults(){return ne}static get defaults(){return ee}static installModule(e){se.prototype.__modules__||(se.prototype.__modules__=[]);const t=se.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>se.installModule(e))),se):(se.installModule(e),se)}}Object.keys(ie).forEach((e=>{Object.keys(ie[e]).forEach((t=>{se.prototype[t]=ie[e][t]}))})),se.use([function(e){let{swiper:t,on:i,emit:n}=e;const s=p();let r=null,o=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",(()=>{t.params.resizeObserver&&void 0!==s.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver((e=>{o=s.requestAnimationFrame((()=>{const{width:i,height:n}=t;let s=i,r=n;e.forEach((e=>{let{contentBoxSize:i,contentRect:n,target:o}=e;o&&o!==t.el||(s=n?n.width:(i[0]||i).inlineSize,r=n?n.height:(i[0]||i).blockSize)})),s===i&&r===n||a()}))})),r.observe(t.el)):(s.addEventListener("resize",a),s.addEventListener("orientationchange",l))})),i("destroy",(()=>{o&&s.cancelAnimationFrame(o),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;const r=[],o=p(),a=function(e,t){void 0===t&&(t={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void s("observerUpdate",e[0]);const t=function(){s("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)a(e[t])}a(t.$el[0],{childList:t.params.observeSlideChildren}),a(t.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);const re=se;function oe(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;i({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),t.lazy={};let r=!1,o=!1;function a(e,i){void 0===i&&(i=!0);const n=t.params.lazy;if(void 0===e)return;if(0===t.slides.length)return;const r=t.virtual&&t.params.virtual.enabled?t.$wrapperEl.children(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`):t.slides.eq(e),o=r.find(`.${n.elementClass}:not(.${n.loadedClass}):not(.${n.loadingClass})`);!r.hasClass(n.elementClass)||r.hasClass(n.loadedClass)||r.hasClass(n.loadingClass)||o.push(r[0]),0!==o.length&&o.each((e=>{const o=_(e);o.addClass(n.loadingClass);const l=o.attr("data-background"),c=o.attr("data-src"),d=o.attr("data-srcset"),u=o.attr("data-sizes"),h=o.parent("picture");t.loadImage(o[0],c||l,d,u,!1,(()=>{if(null!=t&&t&&(!t||t.params)&&!t.destroyed){if(l?(o.css("background-image",`url("${l}")`),o.removeAttr("data-background")):(d&&(o.attr("srcset",d),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=_(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(o.attr("src",c),o.removeAttr("data-src"))),o.addClass(n.loadedClass).removeClass(n.loadingClass),r.find(`.${n.preloaderClass}`).remove(),t.params.loop&&i){const e=r.attr("data-swiper-slide-index");if(r.hasClass(t.params.slideDuplicateClass)){a(t.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideDuplicateClass})`).index(),!1)}else{a(t.$wrapperEl.children(`.${t.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)}}s("lazyImageReady",r[0],o[0]),t.params.autoHeight&&t.updateAutoHeight()}})),s("lazyImageLoad",r[0],o[0])}))}function l(){const{$wrapperEl:e,params:i,slides:n,activeIndex:s}=t,r=t.virtual&&i.virtual.enabled,l=i.lazy;let c=i.slidesPerView;function d(t){if(r){if(e.children(`.${i.slideClass}[data-swiper-slide-index="${t}"]`).length)return!0}else if(n[t])return!0;return!1}function u(e){return r?_(e).attr("data-swiper-slide-index"):_(e).index()}if("auto"===c&&(c=0),o||(o=!0),t.params.watchSlidesProgress)e.children(`.${i.slideVisibleClass}`).each((e=>{a(r?_(e).attr("data-swiper-slide-index"):_(e).index())}));else if(c>1)for(let e=s;e<s+c;e+=1)d(e)&&a(e);else a(s);if(l.loadPrevNext)if(c>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){const e=l.loadPrevNextAmount,t=c,i=Math.min(s+t+Math.max(e,t),n.length),r=Math.max(s-Math.max(t,e),0);for(let e=s+c;e<i;e+=1)d(e)&&a(e);for(let e=r;e<s;e+=1)d(e)&&a(e)}else{const t=e.children(`.${i.slideNextClass}`);t.length>0&&a(u(t));const n=e.children(`.${i.slidePrevClass}`);n.length>0&&a(u(n))}}function c(){const e=p();if(!t||t.destroyed)return;const i=t.params.lazy.scrollingElement?_(t.params.lazy.scrollingElement):_(e),n=i[0]===e,s=n?e.innerWidth:i[0].offsetWidth,o=n?e.innerHeight:i[0].offsetHeight,a=t.$el.offset(),{rtlTranslate:d}=t;let u=!1;d&&(a.left-=t.$el[0].scrollLeft);const h=[[a.left,a.top],[a.left+t.width,a.top],[a.left,a.top+t.height],[a.left+t.width,a.top+t.height]];for(let e=0;e<h.length;e+=1){const t=h[e];if(t[0]>=0&&t[0]<=s&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;u=!0}}const f=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};u?(l(),i.off("scroll",c,f)):r||(r=!0,i.on("scroll",c,f))}n("beforeInit",(()=>{t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)})),n("init",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?c():l())})),n("scroll",(()=>{t.params.freeMode&&t.params.freeMode.enabled&&!t.params.freeMode.sticky&&l()})),n("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?c():l())})),n("transitionStart",(()=>{t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!o)&&(t.params.lazy.checkInView?c():l())})),n("transitionEnd",(()=>{t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&(t.params.lazy.checkInView?c():l())})),n("slideChange",(()=>{const{lazy:e,cssMode:i,watchSlidesProgress:n,touchReleaseOnEdges:s,resistanceRatio:r}=t.params;e.enabled&&(i||n&&(s||0===r))&&l()})),Object.assign(t.lazy,{load:l,loadInSlide:a})}function ae(e){let t,{swiper:i,extendParams:n,on:s,emit:r}=e;function o(){const e=i.slides.eq(i.activeIndex);let n=i.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||i.params.autoplay.delay),clearTimeout(t),t=E((()=>{let e;i.params.autoplay.reverseDirection?i.params.loop?(i.loopFix(),e=i.slidePrev(i.params.speed,!0,!0),r("autoplay")):i.isBeginning?i.params.autoplay.stopOnLastSlide?l(
2):(e=i.slideTo(i.slides.length-1,i.params.speed,!0,!0),r("autoplay")):(e=i.slidePrev(i.params.speed,!0,!0),r("autoplay")):i.params.loop?(i.loopFix(),e=i.slideNext(i.params.speed,!0,!0),r("autoplay")):i.isEnd?i.params.autoplay.stopOnLastSlide?l():(e=i.slideTo(0,i.params.speed,!0,!0),r("autoplay")):(e=i.slideNext(i.params.speed,!0,!0),r("autoplay")),(i.params.cssMode&&i.autoplay.running||!1===e)&&o()}),n)}function a(){return void 0===t&&(!i.autoplay.running&&(i.autoplay.running=!0,r("autoplayStart"),o(),!0))}function l(){return!!i.autoplay.running&&(void 0!==t&&(t&&(clearTimeout(t),t=void 0),i.autoplay.running=!1,r("autoplayStop"),!0))}function c(e){i.autoplay.running&&(i.autoplay.paused||(t&&clearTimeout(t),i.autoplay.paused=!0,0!==e&&i.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((e=>{i.$wrapperEl[0].addEventListener(e,h)})):(i.autoplay.paused=!1,o())))}function d(){const e=u();"hidden"===e.visibilityState&&i.autoplay.running&&c(),"visible"===e.visibilityState&&i.autoplay.paused&&(o(),i.autoplay.paused=!1)}function h(e){i&&!i.destroyed&&i.$wrapperEl&&e.target===i.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((e=>{i.$wrapperEl[0].removeEventListener(e,h)})),i.autoplay.paused=!1,i.autoplay.running?o():l())}function p(){i.params.autoplay.disableOnInteraction?l():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((e=>{i.$wrapperEl[0].removeEventListener(e,h)}))}function f(){i.params.autoplay.disableOnInteraction||(i.autoplay.paused=!1,r("autoplayResume"),o())}i.autoplay={running:!1,paused:!1},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(i.params.autoplay.enabled){a();u().addEventListener("visibilitychange",d),i.params.autoplay.pauseOnMouseEnter&&(i.$el.on("mouseenter",p),i.$el.on("mouseleave",f))}})),s("beforeTransitionStart",((e,t,n)=>{i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(t):l())})),s("sliderFirstMove",(()=>{i.autoplay.running&&(i.params.autoplay.disableOnInteraction?l():c())})),s("touchEnd",(()=>{i.params.cssMode&&i.autoplay.paused&&!i.params.autoplay.disableOnInteraction&&o()})),s("destroy",(()=>{i.$el.off("mouseenter",p),i.$el.off("mouseleave",f),i.autoplay.running&&l();u().removeEventListener("visibilitychange",d)})),Object.assign(i.autoplay,{pause:c,run:o,start:a,stop:l})}function le(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}re.use([ae,oe]);!function(e){Drupal.behaviors.p_slider_photos={attach:function(t){e(once("swiper-init",e(".p-slider-photos-swiper",t))).each((function(){var e,t;t=(e=this).className.match(/slider-display-([a-z]+)/)[1],new re(e,{loop:!0,slidesPerView:"full"===t?1:3,spaceBetween:"full"===t?0:10,lazy:{loadPrevNext:!0},autoplay:{delay:3e3,disableOnInteraction:!0}})}))}}}(jQuery),re.use([ae,oe,function(e){let{swiper:t,extendParams:i,on:n}=e;i({fadeEffect:{crossFade:!1,transformEl:null}}),function(e){const{effect:t,swiper:i,on:n,setTranslate:s,setTransition:r,overwriteParams:o,perspective:a}=e;n("beforeInit",(()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)})),n("setTranslate",(()=>{i.params.effect===t&&s()})),n("setTransition",((e,n)=>{i.params.effect===t&&r(n)}))}({effect:"fade",swiper:t,on:n,setTranslate:()=>{const{slides:e}=t,i=t.params.fadeEffect;for(let n=0;n<e.length;n+=1){const e=t.slides.eq(n);let s=-e[0].swiperSlideOffset;t.params.virtualTranslate||(s-=t.translate);let r=0;t.isHorizontal()||(r=s,s=0);const o=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);le(i,e).css({opacity:o}).transform(`translate3d(${s}px, ${r}px, 0px)`)}},setTransition:e=>{const{transformEl:i}=t.params.fadeEffect;(i?t.slides.find(i):t.slides).transition(e),function(e){let{swiper:t,duration:i,transformEl:n,allSlides:s}=e;const{slides:r,activeIndex:o,$wrapperEl:a}=t;if(t.params.virtualTranslate&&0!==i){let e,i=!1;e=s?n?r.find(n):r:n?r.eq(o).find(n):r.eq(o),e.transitionEnd((()=>
2{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=["webkitTransitionEnd","transitionend"];for(let t=0;t<e.length;t+=1)a.trigger(e[t])}))}}({swiper:t,duration:e,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:i,on:n,emit:s}=e;function r(e){let i;return e&&(i=_(e),t.params.uniqueNavElements&&"string"==typeof e&&i.length>1&&1===t.$el.find(e).length&&(i=t.$el.find(e))),i}function o(e,i){const n=t.params.navigation;e&&e.length>0&&(e[i?"addClass":"removeClass"](n.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=i),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](n.lockClass))}function a(){if(t.params.loop)return;const{$nextEl:e,$prevEl:i}=t.navigation;o(i,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&t.slidePrev()}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&t.slideNext()}function d(){const e=t.params.navigation;if(t.params.navigation=function(e,t,i,n){const s=u();return e.params.createElements&&Object.keys(n).forEach((r=>{if(!i[r]&&!0===i.auto){let o=e.$el.children(`.${n[r]}`)[0];o||(o=s.createElement("div"),o.className=n[r],e.$el.append(o)),i[r]=o,t[r]=o}})),i}(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const i=r(e.nextEl),n=r(e.prevEl);i&&i.length>0&&i.on("click",c),n&&n.length>0&&n.on("click",l),Object.assign(t.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),t.enabled||(i&&i.addClass(e.lockClass),n&&n.addClass(e.lockClass))}function h(){const{$nextEl:e,$prevEl:i}=t.navigation;e&&e.length&&(e.off("click",c),e.removeClass(t.params.navigation.disabledClass)),i&&i.length&&(i.off("click",l),i.removeClass(t.params.navigation.disabledClass))}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{d(),a()})),n("toEdge fromEdge lock unlock",(()=>{a()})),n("destroy",(()=>{h()})),n("enable disable",(()=>{const{$nextEl:e,$prevEl:i}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),i&&i[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),n("click",((e,i)=>{const{$nextEl:n,$prevEl:r}=t.navigation,o=i.target;if(t.params.navigation.hideOnClick&&!_(o).is(r)&&!_(o).is(n)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;n?e=n.hasClass(t.params.navigation.hiddenClass):r&&(e=r.hasClass(t.params.navigation.hiddenClass)),s(!0===e?"navigationShow":"navigationHide"),n&&n.toggleClass(t.params.navigation.hiddenClass),r&&r.toggleClass(t.params.navigation.hiddenClass)}})),Object.assign(t.navigation,{update:a,init:d,destroy:h})}]),function(e){Drupal.behaviors.p_slider_evenements={attach:function(t){e(once("swiper-init",e(".p-slider-evenements"))).each((function(){new re(this,{loop:!0,slidesPerView:1,lazy:{loadPrevNext:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},effect:"fade",autoplay:{delay:3e3,disableOnInteraction:!0},on:{slideChange:function(){e(".p-slider-evenements .lazyloading").removeClass("lazyloading")}}})}))}}}(jQuery);i(51),i(563)},981:()=>{!function(e){"use strict";Drupal.behaviors.selecttotab={attach:function(t){e(once("init-Select-To-Tab",e(".js-select-to-tab"))).each((function(){var t,i;t=e(this).find("form"),i=e(this).find(".js-form-type-select"),t.prepend('<div id="form-type-tab" class="form-type-tab hidden lg:block"></div>'),i.find("option").not("[style='display: none;']").each((function(){var t=e(this).val(),i=e(this).text(),n="selected"==e(this).attr("selected"),s='<button type="submit" value="'.concat(t,'" class="').concat(n?"active":"",'">').concat(i,"</button>");e("#form-type-tab").append(s)})),e("#form-type-tab button").on("click",(function(){i.find("select").val(e(this).val()),t.find(".active").toggleClass("active"),e(this).toggleClass("active")}))}))}}}(jQuery)},51:()=>{!function(e){"use strict";function t(){if(!e("body").hasClass("off-canvas-initialized")){e("body").addClass("off-canvas-initialized");var t=e("#off-canvas-container"),i=t.attr("data-menu-state"),n=e("[data-action-menu]");
2e(document).keyup((function(e){27===e.keyCode&&"open"===i&&a()})),r(i);var s=null;n.on("click",(function(t){var n;switch(e(t.currentTarget).attr("data-action-menu")){case"open":o(e(t.currentTarget));break;case"close":a();break;case"toggle":n=e(t.currentTarget),"close"===i?o(n):a()}}))}function r(n){t.attr("data-menu-state",n),e("body").attr("data-menu-state",n),i=t.attr("data-menu-state"),"open"==n?e('[data-offcanvas-area="page"]').attr("inert",!0):e('[data-offcanvas-area="page"]').removeAttr("inert")}function o(e){r("open"),t.find("nav").first().find("a").first().focus(),s=e}function a(){r("close"),s&&(s.focus(),s=null)}}Drupal.behaviors.offCanvas={attach:function(e){t()}}}(jQuery)},563:()=>{!function(e){"use strict";Drupal.behaviors.view_exposed_form={attach:function(t){var i;!function(){function t(e){"all"!==e.value.toLowerCase()?e.classList.add("is-active"):e.classList.remove("is-active")}function i(e){e.val()?e.addClass("is-active"):e.removeClass("is-active")}e(".views-exposed-form .form-textfield").each((function(){e(this).hasClass("input-processed")||(e(this).addClass("input-processed"),i(e(this)),e(this).on("keyup",(function(){i(e(this))})))}));var n=document.querySelectorAll(".views-exposed-form .form-select:not([data-drupal-selector='edit-activity'])");null==n||n.forEach((function(e){e.classList.contains("select-processed")||(e.classList.add("select-processed"),t(e),e.addEventListener("change",(function(){t(e)})))}))}(),i=e(".views-display-switch__link"),e(once("addicon",i)).each((function(){e(this).hasClass("views-display-switch__link--grid")?e(this).prepend('<i class="mr-1 fa-light fa-grid"></i>'):e(this).hasClass("views-display-switch__link--map")&&e(this).prepend('<i class="mr-1 fa-light fa-map-marker-alt"></i>')})),e(once("init-search-icon",e(".form-type-textfield.js-form-item-search"))).each((function(){e(this).append('<i class="fa-light fa-search"></i>')})),e(once("move-reset-to-header",e(".views-element-container header"))).each((function(){!function(t){var i=null,n=t.parents("[data-views-machine-name]").last();if(n.length>0){var s=null==n?void 0:n.attr("data-views-machine-name").replaceAll("_","-");i=e("form[id*=views-exposed-form-"+s+"]")}if(i.length>0){i.find("input[id*=edit-reset]").addClass("sr-only pointer-events-none absolute overflow-hidden opacity-0");var r='<a href="#" class="js-exposed-form-btn-reset  font-mono normal-case  no-underline text-context ml-3" aria-label="Réinitialiser">                                <i class="fa-regular fa-refresh"></i>                                <span class="hidden lg:inline-block font-normal">Réinitialiser</span>                              </a>';0===t.find(".view-results-summary-area").length?t.append(r):t.find(".view-results-summary-area").after(r),e(once("reset-click",e(".js-exposed-form-btn-reset"))).on("click",(function(){return i.find("input[id*=edit-reset]").trigger("click"),!1}))}}(e(this))}))}}}(jQuery)},923:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Alert:()=>St,Button:()=>Ct,Carousel:()=>ii,Collapse:()=>bi,Dropdown:()=>Vi,Modal:()=>Ln,Offcanvas:()=>Rn,Popover:()=>ys,ScrollSpy:()=>zs,Tab:()=>Rs,Toast:()=>or,Tooltip:()=>ps});var n={};i.r(n),i.d(n,{afterMain:()=>x,afterRead:()=>w,afterWrite:()=>C,applyStyles:()=>P,arrow:()=>J,auto:()=>l,basePlacements:()=>c,beforeMain:()=>_,beforeRead:()=>y,beforeWrite:()=>S,bottom:()=>r,clippingParents:()=>h,computeStyles:()=>ne,createPopper:()=>Pe,createPopperBase:()=>ze,createPopperLite:()=>Ie,detectOverflow:()=>be,end:()=>u,eventListeners:()=>re,flip:()=>we,hide:()=>xe,left:()=>a,main:()=>E,modifierPhases:()=>A,offset:()=>Se,placements:()=>v,popper:()=>f,popperGenerator:()=>Me,popperOffsets:()=>Te,preventOverflow:()=>Ce,read:()=>b,reference:()=>g,right:()=>
vendor: 12,979 bytes, line 2
2o,start:()=>d,top:()=>s,variationPlacements:()=>m,viewport:()=>p,write:()=>T});var s="top",r="bottom",o="right",a="left",l="auto",c=[s,r,o,a],d="start",u="end",h="clippingParents",p="viewport",f="popper",g="reference",m=c.reduce((function(e,t){return e.concat([t+"-"+d,t+"-"+u])}),[]),v=[].concat(c,[l]).reduce((function(e,t){return e.concat([t,t+"-"+d,t+"-"+u])}),[]),y="beforeRead",b="read",w="afterRead",_="beforeMain",E="main",x="afterMain",S="beforeWrite",T="write",C="afterWrite",A=[y,b,w,_,E,x,S,T,C];function k(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof L(e).Element||e instanceof Element}function M(e){return e instanceof L(e).HTMLElement||e instanceof HTMLElement}function z(e){return"undefined"!=typeof ShadowRoot&&(e instanceof L(e).ShadowRoot||e instanceof ShadowRoot)}const P={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];M(s)&&k(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],s=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});M(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(s).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function I(e){return e.split("-")[0]}var $=Math.max,D=Math.min,N=Math.round;function j(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function B(){return!/^((?!chrome|android).)*safari/i.test(j())}function H(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,r=1;t&&M(e)&&(s=e.offsetWidth>0&&N(n.width)/e.offsetWidth||1,r=e.offsetHeight>0&&N(n.height)/e.offsetHeight||1);var o=(O(e)?L(e):window).visualViewport,a=!B()&&i,l=(n.left+(a&&o?o.offsetLeft:0))/s,c=(n.top+(a&&o?o.offsetTop:0))/r,d=n.width/s,u=n.height/r;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function F(e){var t=H(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function W(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&z(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function q(e){return L(e).getComputedStyle(e)}function R(e){return["table","td","th"].indexOf(k(e))>=0}function X(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(z(e)?e.host:null)||X(e)}function Y(e){return M(e)&&"fixed"!==q(e).position?e.offsetParent:null}function G(e){for(var t=L(e),i=Y(e);i&&R(i)&&"static"===q(i).position;)i=Y(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===q(i).position)?t:i||function(e){var t=/firefox/i.test(j());if(/Trident/i.test(j())&&M(e)&&"fixed"===q(e).position)return null;var i=V(e);for(z(i)&&(i=i.host);M(i)&&["html","body"].indexOf(k(i))<0;){var n=q(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Q(e,t,i){return $(e,D(t,i))}function K(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,l=e.options,d=i.elements.arrow,u=i.modifiersData.popperOffsets,h=I(i.placement),p=U(h),f=[a,o].indexOf(h)>=0?"height":"width";if(d&&u){var g=function(e,t){return K("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,c))}(l.padding,i),m=F(d),v="y"===p?s:a,y="y"===p?r:o,b=i.rects.reference[f]+i.rects.reference[p]-u[p]-i.rects.popper[f],w=u[p]-i.rects.reference[p],_=G(d),E=_?"y"===p?_.clientHeight||0:_.clientWidth||0:0,x=b/2-w/2,S=g[v],T=E-m[f]-g[y],C=E/2-m[f]/2+x,A=Q(S,C,T),k=p;i.modifiersData[n]=((t={})[k]=A,t.centerOffset=A-C,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&W(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(e){return e.split("-")[1]}var te={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,i=e.popper,n=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,h=e.position,p=e.gpuAcceleration,f=e.adaptive,g=e.roundOffsets,m=e.isFixed,v=d.x,y=void 0===v?0:v,b=d.y,w=void 0===b?0:b,_="function"==typeof g?g({x:y,y:w}):{x:y,y:w};y=_.x,w=_.y;var E=d.hasOwnProperty("x"),x=d.hasOwnProperty("y"),S=a,T=s,C=window;if(f){var A=G(i),k="clientHeight",O="clientWidth";if(A===L(i)&&"static"!==q(A=X(i)).position&&"absolute"===h&&(k="scrollHeight",O="scrollWidth"),l===s||(l===a||l===o)&&c===u)T=r,w-=(m&&A===C&&C.visualViewport?C.visualViewport.height:A[k])-n.height,w*=p?1:-1;if(l===a||(l===s||l===r)&&c===u)S=o,y-=(m&&A===C&&C.visualViewport?C.visualViewport.width:A[O])-n.width,y*=p?1:-1}var M,z=Object.assign({position:h},f&&te),P=!0===g?function(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:N(i*s)/s||0,y:N(n*s)/s||0}}({x:y,y:w},L(i)):{x:y,y:w};return y=P.x,w=P.y,p?Object.assign({},z,((M={})[T]=x?"0":"",M[S]=E?"0":"",M.transform=(C.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",M)):Object.assign({},z,((t={})[T]=x?w+"px":"",t[S]=E?y+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,o=void 0===r||r,a=i.roundOffsets,l=void 0===a||a,c={placement:I(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var se={passive:!0};const re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,r=void 0===s||s,o=n.resize,a=void 0===o||o,l=L(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",i.update,se)})),a&&l.addEventListener("resize",i.update,se),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",i.update,se)})),a&&l.removeEventListener("resize",i.update,se)}},data:{}};var oe={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return oe[e]}))}var le={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function de(e){var t=L(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return H(X(e)).left+de(e).scrollLeft}function he(e){var t=q(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function pe(e){return["html","body","#document"].indexOf(k(e))>=0?e.ownerDocument.body:M(e)&&he(e)?e:pe(V(e))}function fe(e,t){var i;void 0===t&&(t=[]);var n=pe(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),r=L(n),o=s?[r].concat(r.visualViewport||[],he(n)?n:[]):n,a=t.concat(o);return s?a:a.concat(fe(V(o)))}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,i){return t===p?ge(function(e,t){var i=L(e),n=X(e),s=i.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,l=0;if(s){r=s.width,o=s.height;var c=B();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:r,height:o,x:a+ue(e),y:l}}(e,i)):O(t)?function(e,t){var i=H(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):ge(function(e){var t,i=X(e),n=de(e),s=null==(t=e.ownerDocument)?void 0:t.body,r=$(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=$(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+ue(e),l=-n.scrollTop;return"rtl"===q(s||i).direction&&(a+=$(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}(X(e)))}function ve(e,t,i,n){var s="clippingParents"===t?function(e){var t=fe(V(e)),i=["absolute","fixed"].indexOf(q(e).position)>=0&&M(e)?G(e):e;return O(i)?t.filter((function(e){return O(e)&&W(e,i)&&"body"!==k(e)})):[]}(e):[].concat(t),r=[].concat(s,[i]),o=r[0],a=r.reduce((function(t,i){var s=me(e,i,n);return t.top=$(s.top,t.top),t.right=D(s.right,t.right),t.bottom=D(s.bottom,t.bottom),t.left=$(s.left,t.left),t}),me(e,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ye(e){var t,i=e.reference,n=e.element,l=e.placement,c=l?I(l):null,h=l?ee(l):null,p=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2;switch(c){case s:t={x:p,y:i.y-n.height};break;case r:t={x:p,y:i.y+i.height};break;case o:t={x:i.x+i.width,y:f};break;case a:t={x:i.x-n.width,y:f};break;default:t={x:i.x,y:i.y}}var g=c?U(c):null;if(null!=g){var m="y"===g?"height":"width";switch(h){case d:t[g]=t[g]-(i[m]/2-n[m]/2);break;case u:t[g]=t[g]+(i[m]/2-n[m]/2)}}return t}function be(e,t){void 0===t&&(t={});var i=t,n=i.placement,a=void 0===n?e.placement:n,l=i.strategy,d=void 0===l?e.strategy:l,u=i.boundary,m=void 0===u?h:u,v=i.rootBoundary,y=void 0===v?p:v,b=i.elementContext,w=void 0===b?f:b,_=i.altBoundary,E=void 0!==_&&_,x=i.padding,S=void 0===x?0:x,T=K("number"!=typeof S?S:Z(S,c)),C=w===f?g:f,A=e.rects.popper,k=e.elements[E?C:w],L=ve(O(k)?k:k.contextElement||X(e.elements.popper),m,y,d),M=H(e.elements.reference),z=ye({reference:M,element:A,strategy:"absolute",placement:a}),P=ge(Object.assign({},A,z)),I=w===f?P:M,$={top:L.top-I.top+T.top,bottom:I.bottom-L.bottom+T.bottom,left:L.left-I.left+T.left,right:I.right-L.right+T.right},D=e.modifiersData.offset;if(w===f&&D){var N=D[a];Object.keys($).forEach((function(e){var t=[o,r].indexOf(e)>=0?1:-1,i=[s,r].indexOf(e)>=0?"y":"x";$[e]+=N[i]*t}))}return $}const we={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var u=i.mainAxis,h=void 0===u||u,p=i.altAxis,f=void 0===p||p,g=i.fallbackPlacements,y=i.padding,b=i.boundary,w=i.rootBoundary,_=i.altBoundary,E=i.flipVariations,x=void 0===E||E,S=i.allowedAutoPlacements,T=t.options.placement,C=I(T),A=g||(C===T||!x?[ae(T)]:function(e){if(I(e)===l)return[];var t=ae(e);return[ce(e),t,ce(t)]}(T)),k=[T].concat(A).reduce((function(e,i){return e.concat(I(i)===l?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,r=i.rootBoundary,o=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,d=void 0===l?v:l,u=ee(n),h=u?a?m:m.filter((function(e){return ee(e)===u})):c,p=h.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=h);var f=p.reduce((function(t,i){return t[i]=be(e,{placement:i,boundary:s,rootBoundary:r,padding:o})[I(i)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:i,boundary:b,rootBoundary:w,padding:y,flipVariations:x,allowedAutoPlacements:S}):i)}),[]),L=t.rects.reference,O=t.rects.popper,M=new Map,z=!0,P=k[0],$=0;$<k.length;$++){var D=k[$],N=I(D),j=ee(D)===d,B=[s,r].indexOf(N)>=0,H=B?"width":"height",F=be(t,{placement:D,boundary:b,rootBoundary:w,altBoundary:_,padding:y}),W=B?j?o:a:j?r:s;L[H]>O[H]&&(W=ae(W));var q=ae(W),R=[];if(h&&R.push(F[N]<=0),f&&R.push(F[W]<=0,F[q]<=0),R.every((function(e){return e}))){P=D,z=!1;break}M.set(D,R)}if(z)for(var X=function(e){var t=k.find((function(t){var i=M.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},V=x?3:1;V>0;
vendor: 4,099 bytes, line 2
2V--){if("break"===X(V))break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Ee(e){return[s,o,r,a].some((function(t){return e[t]>=0}))}const xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,o=be(t,{elementContext:"reference"}),a=be(t,{altBoundary:!0}),l=_e(o,n),c=_e(a,s,r),d=Ee(l),u=Ee(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}};const Se={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,r=i.offset,l=void 0===r?[0,0]:r,c=v.reduce((function(e,i){return e[i]=function(e,t,i){var n=I(e),r=[a,s].indexOf(n)>=0?-1:1,l="function"==typeof i?i(Object.assign({},t,{placement:e})):i,c=l[0],d=l[1];return c=c||0,d=(d||0)*r,[a,o].indexOf(n)>=0?{x:d,y:c}:{x:c,y:d}}(i,t.rects,l),e}),{}),d=c[t.placement],u=d.x,h=d.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=h),t.modifiersData[n]=c}};const Te={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ye({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Ce={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,l=i.mainAxis,c=void 0===l||l,u=i.altAxis,h=void 0!==u&&u,p=i.boundary,f=i.rootBoundary,g=i.altBoundary,m=i.padding,v=i.tether,y=void 0===v||v,b=i.tetherOffset,w=void 0===b?0:b,_=be(t,{boundary:p,rootBoundary:f,padding:m,altBoundary:g}),E=I(t.placement),x=ee(t.placement),S=!x,T=U(E),C="x"===T?"y":"x",A=t.modifiersData.popperOffsets,k=t.rects.reference,L=t.rects.popper,O="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,M="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(A){if(c){var N,j="y"===T?s:a,B="y"===T?r:o,H="y"===T?"height":"width",W=A[T],q=W+_[j],R=W-_[B],X=y?-L[H]/2:0,V=x===d?k[H]:L[H],Y=x===d?-L[H]:-k[H],K=t.elements.arrow,Z=y&&K?F(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=J[j],ie=J[B],ne=Q(0,k[H],Z[H]),se=S?k[H]/2-X-ne-te-M.mainAxis:V-ne-te-M.mainAxis,re=S?-k[H]/2+X+ne+ie+M.mainAxis:Y+ne+ie+M.mainAxis,oe=t.elements.arrow&&G(t.elements.arrow),ae=oe?"y"===T?oe.clientTop||0:oe.clientLeft||0:0,le=null!=(N=null==z?void 0:z[T])?N:0,ce=W+re-le,de=Q(y?D(q,W+se-le-ae):q,W,y?$(R,ce):R);A[T]=de,P[T]=de-W}if(h){var ue,he="x"===T?s:a,pe="x"===T?r:o,fe=A[C],ge="y"===C?"height":"width",me=fe+_[he],ve=fe-_[pe],ye=-1!==[s,a].indexOf(E),we=null!=(ue=null==z?void 0:z[C])?ue:0,_e=ye?me:fe-k[ge]-L[ge]-we+M.altAxis,Ee=ye?fe+k[ge]+L[ge]-we-M.altAxis:ve,xe=y&&ye?function(e,t,i){var n=Q(e,t,i);return n>i?i:n}(_e,fe,Ee):Q(y?_e:me,fe,y?Ee:ve);A[C]=xe,P[C]=xe-fe}t.modifiersData[n]=P}},requiresIfExists:["offset"]};function Ae(e,t,i){void 0===i&&(i=!1);var n,s,r=M(t),o=M(t)&&function(e){var t=e.getBoundingClientRect(),i=N(t.width)/e.offsetWidth||1,n=N(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=X(t),l=H(e,o,i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!i)&&(("body"!==k(t)||he(a))&&(c=(n=t)!==L(n)&&M(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:de(n)),M(t)?((d=H(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=ue(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function ke(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
vendor: 3,244 bytes, line 2
2h((function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||s(e)})),n}var Le={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Me(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,r=void 0===s?Le:s;return function(e,t,i){void 0===i&&(i=r);var s,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Le,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},r,a.options,s),a.scrollParents={reference:O(e)?fe(e):e.contextElement?fe(e.contextElement):[],popper:fe(t)};var o,c,h=function(e){var t=ke(e);return A.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((o=[].concat(n,a.options.modifiers),c=o.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var r=s({state:a,name:t,instance:d,options:n}),o=function(){};l.push(r||o)}})),d.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(Oe(t,i)){a.rects={reference:Ae(t,G(i),"fixed"===a.options.strategy),popper:F(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var s=a.orderedModifiers[n],r=s.fn,o=s.options,l=void 0===o?{}:o,u=s.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,n=-1}}},update:(s=function(){return new Promise((function(e){d.forceUpdate(),e(a)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(s())}))}))),o}),destroy:function(){u(),c=!0}};if(!Oe(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),d}}var ze=Me(),Pe=Me({defaultModifiers:[re,Te,ne,P,Se,we,Ce,J,xe]}),Ie=Me({defaultModifiers:[re,Te,ne,P]});const $e="transitionend",De=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},Ne=e=>{const t=De(e);return t&&document.querySelector(t)?t:null},je=e=>{const t=De(e);return t?document.querySelector(t):null},Be=e=>{e.dispatchEvent(new Event($e))},He=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Fe=e=>He(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,We=(e,t,i)=>
2{Object.keys(i).forEach((n=>{const s=i[n],r=t[n],o=r&&He(r)?"element":null==(a=r)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(o))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)}))},qe=e=>!(!He(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),Re=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),Xe=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Xe(e.parentNode):null},Ve=()=>{},Ye=e=>{e.offsetHeight},Ge=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Ue=[],Qe=()=>"rtl"===document.documentElement.dir,Ke=e=>{var t;t=()=>{const t=Ge();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(Ue.length||document.addEventListener("DOMContentLoaded",(()=>{Ue.forEach((e=>e()))})),Ue.push(t)):t()},Ze=e=>{"function"==typeof e&&e()},Je=(e,t,i=!0)=>{if(!i)return void Ze(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let s=!1;const r=({target:i})=>{i===t&&(s=!0,t.removeEventListener($e,r),Ze(e))};t.addEventListener($e,r),setTimeout((()=>{s||Be(t)}),n)},et=(e,t,i,n)=>{let s=e.indexOf(t);if(-1===s)return e[!i&&n?e.length-1:0];const r=e.length;return s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))]},tt=/[^.]*(?=\..*)\.|.*/,it=/\..*/,nt=/::\d+$/,st={};let rt=1;
2const ot={mouseenter:"mouseover",mouseleave:"mouseout"},at=/^(mouseenter|mouseleave)/i,lt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ct(e,t){return t&&`${t}::${rt++}`||e.uidEvent||rt++}function dt(e){const t=ct(e);return e.uidEvent=t,st[t]=st[t]||{},st[t]}function ut(e,t,i=null){const n=Object.keys(e);for(let s=0,r=n.length;s<r;s++){const r=e[n[s]];if(r.originalHandler===t&&r.delegationSelector===i)return r}return null}function ht(e,t,i){const n="string"==typeof t,s=n?i:t;let r=gt(e);return lt.has(r)||(r=e),[n,s,r]}function pt(e,t,i,n,s){if("string"!=typeof t||!e)return;if(i||(i=n,n=null),at.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):i=e(i)}const[r,o,a]=ht(t,i,n),l=dt(e),c=l[a]||(l[a]={}),d=ut(c,o,r?i:null);if(d)return void(d.oneOff=d.oneOff&&s);const u=ct(o,t.replace(tt,"")),h=r?function(e,t,i){return function n(s){const r=e.querySelectorAll(t);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(let a=r.length;a--;)if(r[a]===o)return s.delegateTarget=o,n.oneOff&&mt.off(e,s.type,t,i),i.apply(o,[s]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&mt.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=r?i:null,h.originalHandler=o,h.oneOff=s,h.uidEvent=u,c[u]=h,e.addEventListener(a,h,r)}function ft(e,t,i,n,s){const r=ut(t[i],n,s);r&&(e.removeEventListener(i,r,Boolean(s)),delete t[i][r.uidEvent])}function gt(e){return e=e.replace(it,""),ot[e]||e}const mt={on(e,t,i,n){pt(e,t,i,n,!1)},one(e,t,i,n){pt(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,r,o]=ht(t,i,n),a=o!==t,l=dt(e),c=t.startsWith(".");if(void 0!==r){if(!l||!l[o])return;return void ft(e,l,o,r,s?i:null)}c&&Object.keys(l).forEach((i=>{!function(e,t,i,n){const s=t[i]||{};Object.keys(s).forEach((r=>{if(r.includes(n)){const n=s[r];ft(e,t,i,n.originalHandler,n.delegationSelector)}}))}(e,l,i,t.slice(1))}));const d=l[o]||{};Object.keys(d).forEach((i=>{const n=i.replace(nt,"");if(!a||t.includes(n)){const t=d[i];ft(e,l,o,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=Ge(),s=gt(t),r=t!==s,o=lt.has(s);let a,l=!0,c=!0,d=!1,u=null;return r&&n&&(a=n.Event(t,i),n(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),o?(u=document.createEvent("HTMLEvents"),u.initEvent(s,l,!0)):u=new CustomEvent(t,{bubbles:l,cancelable:!0}
2),void 0!==i&&Object.keys(i).forEach((e=>{Object.defineProperty(u,e,{get:()=>i[e]})})),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==a&&a.preventDefault(),u}},vt=new Map,yt={set(e,t,i){vt.has(e)||vt.set(e,new Map);const n=vt.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>vt.has(e)&&vt.get(e).get(t)||null,remove(e,t){if(!vt.has(e))return;const i=vt.get(e);i.delete(t),0===i.size&&vt.delete(e)}};class bt{constructor(e){(e=Fe(e))&&(this._element=e,yt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yt.remove(this._element,this.constructor.DATA_KEY),mt.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,i=!0){Je(e,t,i)}static getInstance(e){return yt.get(Fe(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const wt=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;mt.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),Re(this))return;const s=je(this)||this.closest(`.${n}`);e.getOrCreateInstance(s)[t]()}))},_t=".bs.alert",Et=`close${_t}`,xt=`closed${_t}`;class St extends bt{static get NAME(){return"alert"}close(){if(mt.trigger(this._element,Et).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),mt.trigger(this._element,xt),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=St.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}wt(St,"close"),Ke(St);const Tt='[data-bs-toggle="button"]';class Ct extends bt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Ct.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function At(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function kt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}mt.on(document,"click.bs.button.data-api",Tt,(e=>{e.preventDefault();const t=e.target.closest(Tt);Ct.getOrCreateInstance(t).toggle()})),Ke(Ct);const Lt={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${kt(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${kt(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=At(e.dataset[i])})),t},getDataAttribute:(e,t)=>At(e.getAttribute(`data-bs-${kt(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},Ot={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!Re(e)&&qe(e)))}},Mt="carousel",zt=".bs.carousel",Pt=".data-api",It={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},$t={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Dt="next",Nt="prev",jt="left",Bt="right",Ht={ArrowLeft:Bt,ArrowRight:jt},Ft=`slide${zt}`,Wt=`slid${zt}`,qt=`keydown${zt}`,Rt=`mouseenter${zt}`,Xt=`mouseleave${zt}`,Vt=`touchstart${zt}`,Yt=`touchmove${zt}`,Gt=`touchend${zt}`,Ut=`pointerdown${zt}`,Qt=`pointerup${zt}`,Kt=`dragstart${zt}`,Zt=`load${zt}${Pt}`,Jt=`click${zt}${Pt}`,ei="active",ti=".active.carousel-item";class ii extends bt{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=Ot.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return It}static get NAME(){return Mt}next(){this._slide(Dt)}nextWhenVisible(){!document.hidden&&qe(this._element)&&this.next()}prev(){this._slide(Nt)}pause(e){e||(this._isPaused=!0),Ot.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Be(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=Ot.findOne(ti,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void mt.one(this._element,Wt,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const i=e>t?Dt:Nt;this._slide(i,this._items[e])}_getConfig(e){return e={...It,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},We(Mt,e,$t),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Bt:jt)}_addEventListeners(){this._config.keyboard&&mt.on(this._element,qt,(e=>
2this._keydown(e))),"hover"===this._config.pause&&(mt.on(this._element,Rt,(e=>this.pause(e))),mt.on(this._element,Xt,(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};Ot.find(".carousel-item img",this._element).forEach((e=>{mt.on(e,Kt,(e=>e.preventDefault()))})),this._pointerEvent?(mt.on(this._element,Ut,(e=>t(e))),mt.on(this._element,Qt,(e=>n(e))),this._element.classList.add("pointer-event")):(mt.on(this._element,Vt,(e=>t(e))),mt.on(this._element,Yt,(e=>i(e))),mt.on(this._element,Gt,(e=>n(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ht[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?Ot.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===Dt;return et(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(Ot.findOne(ti,this._element));return mt.trigger(this._element,Ft,{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=Ot.findOne(".active",this._indicatorsElement);t.classList.remove(ei),t.removeAttribute("aria-current");const i=Ot.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add(ei),i[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||Ot.findOne(ti,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const i=this._directionToOrder(e),n=Ot.findOne(ti,this._element),s=this._getItemIndex(n),r=t||this._getItemByOrder(i,n),o=this._getItemIndex(r),a=Boolean(this._interval),l=i===Dt,c=l?"carousel-item-start":"carousel-item-end",d=l?"carousel-item-next":"carousel-item-prev",u=this._orderToDirection(i);if(r&&r.classList.contains(ei))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(r,u).defaultPrevented)return;if(!n||!r)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const h=()=>{mt.trigger(this._element,Wt,{relatedTarget:r,direction:u,from:s,to:o})};if(this._element.classList.contains("slide")){r.classList.add(d),Ye(r),n.classList.add(c),r.classList.add(c);const e=()=>{r.classList.remove(c,d),r.classList.add(ei),n.classList.remove(ei,d,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,n,!0)}else n.classList.remove(ei),r.classList.add(ei),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[Bt,jt].includes(e)?Qe()?e===jt?Nt:Dt:e===jt?Dt:Nt:e}_orderToDirection(e){return[Dt,Nt].includes(e)?Qe()?e===Nt?jt:Bt:e===Nt?Bt:jt:e}static carouselInterface(e,t){const i=ii.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const s="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each((function(){ii.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=je(this);if(!t||!t.classList.contains("carousel"))return;const i={...Lt.getDataAttributes(t),...Lt.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),ii.carouselInterface(t,i),n&&ii.getInstance(t).to(n),e.preventDefault()}}mt.on(document,Jt,"[data-bs-slide], [data-bs-slide-to]",ii.dataApiClickHandler),mt.on(window,Zt,(()=>{const e=Ot.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;t<i;t++)ii.carouselInterface(e[t],ii.getInstance(e[t]))})),Ke(ii);const ni="collapse",si="bs.collapse",ri=`.${si}`,oi={toggle:!0,parent:null},ai={toggle:"boolean",parent:"(null|element)"},li=`show${ri}`,ci=`shown${ri}`,di=`hide${ri}`,ui=`hidden${ri}`,hi=`click${ri}
2.data-api`,pi="show",fi="collapse",gi="collapsing",mi="collapsed",vi=`:scope .${fi} .${fi}`,yi='[data-bs-toggle="collapse"]';class bi extends bt{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const i=Ot.find(yi);for(let e=0,t=i.length;e<t;e++){const t=i[e],n=Ne(t),s=Ot.find(n).filter((e=>e===this._element));null!==n&&s.length&&(this._selector=n,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return oi}static get NAME(){return ni}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=Ot.find(vi,this._config.parent);t=Ot.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const i=Ot.findOne(this._selector);if(t.length){const n=t.find((e=>i!==e));if(e=n?bi.getInstance(n):null,e&&e._isTransitioning)return}if(mt.trigger(this._element,li).defaultPrevented)return;t.forEach((t=>{i!==t&&bi.getOrCreateInstance(t,{toggle:!1}).hide(),e||yt.set(t,si,null)}));const n=this._getDimension();this._element.classList.remove(fi),this._element.classList.add(gi),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(gi),this._element.classList.add(fi,pi),this._element.style[n]="",mt.trigger(this._element,ci)}),this._element,!0),this._element.style[n]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(mt.trigger(this._element,di).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Ye(this._element),this._element.classList.add(gi),this._element.classList.remove(fi,pi);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=je(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(gi),this._element.classList.add(fi),mt.trigger(this._element,ui)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(pi)}_getConfig(e){return(e={...oi,...Lt.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=Fe(e.parent),We(ni,e,ai),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=Ot.find(vi,this._config.parent);Ot.find(yi,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=je(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(mi):e.classList.add(mi),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=bi.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}mt.on(document,hi,yi,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=Ne(this);Ot.find(t).forEach((e=>{bi.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),Ke(bi);const wi="dropdown",_i=".bs.dropdown",Ei=".data-api",xi="Escape",Si="Space",Ti="ArrowUp",Ci="ArrowDown",Ai=new RegExp(`${Ti}|${Ci}|${xi}`),ki=`hide${_i}`,Li=`hidden${_i}`,Oi=`show${_i}`,Mi=`shown${_i}`,zi=`click${_i}${Ei}`,Pi=`keydown${_i}${Ei}`,Ii=`keyup${_i}${Ei}`,$i="show",Di='[data-bs-toggle="dropdown"]',Ni=".dropdown-menu",ji=Qe()?"top-end":"top-start",Bi=Qe()?"top-start":"top-end",Hi=Qe()?"bottom-end":"bottom-start",Fi=Qe()?"bottom-start":"bottom-end",Wi=Qe()?"left-start":"right-start",qi=Qe()?"right-start":"left-start",Ri={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Xi={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"str
2ing",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Vi extends bt{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Ri}static get DefaultType(){return Xi}static get NAME(){return wi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Re(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(mt.trigger(this._element,Oi,e).defaultPrevented)return;const t=Vi.getParentFromElement(this._element);this._inNavbar?Lt.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>mt.on(e,"mouseover",Ve))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add($i),this._element.classList.add($i),mt.trigger(this._element,Mi,e)}hide(){if(Re(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){mt.trigger(this._element,ki,e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>mt.off(e,"mouseover",Ve))),this._popper&&this._popper.destroy(),this._menu.classList.remove($i),this._element.classList.remove($i),this._element.setAttribute("aria-expanded","false"),Lt.removeDataAttribute(this._menu,"popper"),mt.trigger(this._element,Li,e))}_getConfig(e){if(e={...this.constructor.Default,...Lt.getDataAttributes(this._element),...e},We(wi,e,this.constructor.DefaultType),"object"==typeof e.reference&&!He(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${wi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:He(this._config.reference)?t=Fe(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig(),s=i.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Pe(t,this._menu,i),s&&Lt.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains($i)}_getMenuElement(){return Ot.next(this._element,Ni)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return Wi;if(e.classList.contains("dropstart"))return qi;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Bi:ji:t?Fi:Hi}
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=Ot.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(qe);i.length&&et(i,t,e===Ci,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=Ot.find(Di);for(let i=0,n=t.length;i<n;i++){const n=Vi.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const s={relatedTarget:n._element};if(e){const t=e.composedPath(),i=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(s.clickEvent=e)}n._completeHide(s)}}static getParentFromElement(e){return je(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Si||e.key!==xi&&(e.key!==Ci&&e.key!==Ti||e.target.closest(Ni)):!Ai.test(e.key))return;const t=this.classList.contains($i);if(!t&&e.key===xi)return;if(e.preventDefault(),e.stopPropagation(),Re(this))return;const i=this.matches(Di)?this:Ot.prev(this,Di)[0],n=Vi.getOrCreateInstance(i);if(e.key!==xi)return e.key===Ti||e.key===Ci?(t||n.show(),void n._selectMenuItem(e)):void(t&&e.key!==Si||Vi.clearMenus());n.hide()}}mt.on(document,Pi,Di,Vi.dataApiKeydownHandler),mt.on(document,Pi,Ni,Vi.dataApiKeydownHandler),mt.on(document,zi,Vi.clearMenus),mt.on(document,Ii,Vi.clearMenus),mt.on(document,zi,Di,(function(e){e.preventDefault(),Vi.getOrCreateInstance(this).toggle()})),Ke(Vi);const Yi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gi=".sticky-top";class Ui{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t=>t+e)),this._setElementAttributes(Yi,"paddingRight",(t=>t+e)),this._setElementAttributes(Gi,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e)[t];e.style[t]=`${i(Number.parseFloat(s))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Yi,"paddingRight"),this._resetElementAttributes(Gi,"marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&Lt.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=Lt.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(Lt.removeDataAttribute(e,t),e.style[t]=i)}))}_applyManipulationCallback(e,t){He(e)?t(e):Ot.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const Qi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Ki={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Zi="backdrop",Ji="show",en=`mousedown.bs.${Zi}`;class tn{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&Ye(this._getElement()),this._getElement().classList.add(Ji),this._emulateAnimation((()=>{Ze(e)}))):Ze(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(Ji),this._emulateAnimation((()=>{this.dispose(),Ze(e)}))):Ze(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...Qi,..."object"==typeof e?e:{}}).rootElement=Fe(e.rootElement),We(Zi,e,Ki),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),mt.on(this._getElement(),en,(()=>{Ze(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(mt.off(this._element,en),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Je(e,this._getElement(),this._config.isAnimated)}}const nn={trapElement:null,autofocus:!0},sn={trapElement:"element",autofocus:"boolean"},rn=".bs.focustrap",on=`focusin${rn}`,an=`keydown.tab${rn}`,ln="backward";class cn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),mt.off(document,rn),mt.on(document,on,(e=>this._handleFocusin(e))),mt.on(document,an,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,mt.off(document,rn))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;
2const n=Ot.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===ln?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ln:"forward")}_getConfig(e){return e={...nn,..."object"==typeof e?e:{}},We("focustrap",e,sn),e}}const dn="modal",un=".bs.modal",hn="Escape",pn={backdrop:!0,keyboard:!0,focus:!0},fn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},gn=`hide${un}`,mn=`hidePrevented${un}`,vn=`hidden${un}`,yn=`show${un}`,bn=`shown${un}`,wn=`resize${un}`,_n=`click.dismiss${un}`,En=`keydown.dismiss${un}`,xn=`mouseup.dismiss${un}`,Sn=`mousedown.dismiss${un}`,Tn=`click${un}.data-api`,Cn="modal-open",An="show",kn="modal-static";class Ln extends bt{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=Ot.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Ui}static get Default(){return pn}static get NAME(){return dn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;mt.trigger(this._element,yn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Cn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),mt.on(this._dialog,Sn,(()=>{mt.one(this._element,xn,(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(mt.trigger(this._element,gn).defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(An),mt.off(this._element,_n),mt.off(this._dialog,Sn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>mt.off(e,un))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new tn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cn({trapElement:this._element})}_getConfig(e){return e={...pn,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},We(dn,e,fn),e}_showElement(e){const t=this._isAnimated(),i=Ot.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&Ye(this._element),this._element.classList.add(An);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,mt.trigger(this._element,bn,{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?mt.on(this._element,En,(e=>{this._config.keyboard&&e.key===hn?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==hn||this._triggerBackdropTransition()})):mt.off(this._element,En)}_setResizeEvent(){this._isShown?mt.on(window,wn,(()=>this._adjustDialog())):mt.off(window,wn)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Cn),this._resetAdjustments(),this._scrollBar.reset(),mt.trigger(this._element,vn)}))}_showBackdrop(e){mt.on(this._element,_n,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(mt.trigger(this._element,mn).defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains(kn)||(n||(i.overflowY="hidden"),e.add(kn),this._queueCallback((()=>{e.remove(kn),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!Qe()||i&&!e&&Qe())&&(this._element.style.paddingLeft=`${t}px`),(i&&!e&&!Qe()||!i&&e&&Qe())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=Ln.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method n
2amed "${e}"`);i[e](t)}}))}}mt.on(document,Tn,'[data-bs-toggle="modal"]',(function(e){const t=je(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),mt.one(t,yn,(e=>{e.defaultPrevented||mt.one(t,vn,(()=>{qe(this)&&this.focus()}))}));const i=Ot.findOne(".modal.show");i&&Ln.getInstance(i).hide();Ln.getOrCreateInstance(t).toggle(this)})),wt(Ln),Ke(Ln);const On="offcanvas",Mn=".bs.offcanvas",zn=".data-api",Pn=`load${Mn}${zn}`,In={backdrop:!0,keyboard:!0,scroll:!1},$n={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Dn="show",Nn=".offcanvas.show",jn=`show${Mn}`,Bn=`shown${Mn}`,Hn=`hide${Mn}`,Fn=`hidden${Mn}`,Wn=`click${Mn}${zn}`,qn=`keydown.dismiss${Mn}`;class Rn extends bt{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return On}static get Default(){return In}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(mt.trigger(this._element,jn,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Ui).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dn);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),mt.trigger(this._element,Bn,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(mt.trigger(this._element,Hn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Dn),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Ui).reset(),mt.trigger(this._element,Fn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...In,...Lt.getDataAttributes(this._element),..."object"==typeof e?e:{}},We(On,e,$n),e}_initializeBackDrop(){return new tn({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new cn({trapElement:this._element})}_addEventListeners(){mt.on(this._element,qn,(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Rn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}mt.on(document,Wn,'[data-bs-toggle="offcanvas"]',(function(e){const t=je(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Re(this))return;mt.one(t,Fn,(()=>{qe(this)&&this.focus()}));const i=Ot.findOne(Nn);i&&i!==t&&Rn.getInstance(i).hide();Rn.getOrCreateInstance(t).toggle(this)})),mt.on(window,Pn,(()=>Ot.find(Nn).forEach((e=>Rn.getOrCreateInstance(e).show())))),wt(Rn),Ke(Rn);const Xn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Gn=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Xn.has(i)||Boolean(Vn.test(e.nodeValue)||Yn.test(e.nodeValue));const n=t.filter((e=>e instanceof RegExp));for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1},Un={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Qn(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let e=0,i=s.length;e<i;e++){const i=s[e],n=i.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){i.remove();continue}const r=[].concat(...i.attributes),o=[].concat(t["*"]||[],t[n]||[]);r.forEach((e=>{Gn(e,o)||i.removeAttribute(e.nodeName)}))}return n.body.innerHTML}const Kn="tooltip",Zn=".bs.tooltip",Jn=new Set(["sanitize","allowList","sanitizeFn"]),es={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boun
2dary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ts={AUTO:"auto",TOP:"top",RIGHT:Qe()?"left":"right",BOTTOM:"bottom",LEFT:Qe()?"right":"left"},is={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Un,popperConfig:null},ns={HIDE:`hide${Zn}`,HIDDEN:`hidden${Zn}`,SHOW:`show${Zn}`,SHOWN:`shown${Zn}`,INSERTED:`inserted${Zn}`,CLICK:`click${Zn}`,FOCUSIN:`focusin${Zn}`,FOCUSOUT:`focusout${Zn}`,MOUSEENTER:`mouseenter${Zn}`,MOUSELEAVE:`mouseleave${Zn}`},ss="fade",rs="show",os="show",as="out",ls=".tooltip-inner",cs=".modal",ds="hide.bs.modal",us="hover",hs="focus";class ps extends bt{constructor(e,t){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return is}static get NAME(){return Kn}static get Event(){return ns}static get DefaultType(){return es}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(rs))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),mt.off(this._element.closest(cs),ds,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=mt.trigger(this._element,this.constructor.Event.SHOW),t=Xe(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(ls).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(ss);const r="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,o=this._getAttachment(r);this._addAttachmentClass(o);const{container:a}=this._config;yt.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),mt.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Pe(this._element,n,this._getPopperConfig(o)),n.classList.add(rs);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{mt.on(e,"mouseover",Ve)}));const c=this.tip.classList.contains(ss);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,mt.trigger(this._element,this.constructor.Event.SHOWN),e===as&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(mt.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(rs),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>mt.off(e,"mouseover",Ve))),this._activeTrigger.click=!1,this._activeTrigger[hs]=!1,this._activeTrigger[us]=!1;const t=this.tip.classList.contains(ss);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==os&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),mt.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}
2update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(ss,rs),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ls)}_sanitizeAndSetContent(e,t,i){const n=Ot.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return He(t)?(t=Fe(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Qn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return ts[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)mt.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===us?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=e===us?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;mt.on(this._element,t,this._config.selector,(e=>this._enter(e))),mt.on(this._element,i,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},mt.on(this._element.closest(cs),ds,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?hs:us]=!0),t.getTipElement().classList.contains(rs)||t._hoverState===os?t._hoverState=os:(clearTimeout(t._timeout),t._hoverState=os,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===os&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?hs:us]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=as,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===as&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=Lt.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{Jn.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:Fe(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),We(Kn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Qn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map((e=>
2e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=ps.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ke(ps);const fs=".bs.popover",gs={...ps.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},ms={...ps.DefaultType,content:"(string|element|function)"},vs={HIDE:`hide${fs}`,HIDDEN:`hidden${fs}`,SHOW:`show${fs}`,SHOWN:`shown${fs}`,INSERTED:`inserted${fs}`,CLICK:`click${fs}`,FOCUSIN:`focusin${fs}`,FOCUSOUT:`focusout${fs}`,MOUSEENTER:`mouseenter${fs}`,MOUSELEAVE:`mouseleave${fs}`};class ys extends ps{static get Default(){return gs}static get NAME(){return"popover"}static get Event(){return vs}static get DefaultType(){return ms}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=ys.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ke(ys);const bs="scrollspy",ws=".bs.scrollspy",_s={offset:10,method:"auto",target:""},Es={offset:"number",method:"string",target:"(string|element)"},xs=`activate${ws}`,Ss=`scroll${ws}`,Ts=`load${ws}.data-api`,Cs="dropdown-item",As="active",ks=".nav-link",Ls=".list-group-item",Os=`${ks}, ${Ls}, .${Cs}`,Ms="position";class zs extends bt{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,mt.on(this._scrollElement,Ss,(()=>this._process())),this.refresh(),this._process()}static get Default(){return _s}static get NAME(){return bs}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Ms,t="auto"===this._config.method?e:this._config.method,i=t===Ms?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();Ot.find(Os,this._config.target).map((e=>{const n=Ne(e),s=n?Ot.findOne(n):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[Lt[t](s).top+i,n]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){mt.off(this._scrollElement,ws),super.dispose()}_getConfig(e){return(e={..._s,...Lt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=Fe(e.target)||document.documentElement,We(bs,e,Es),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}}_activate(e){this._activeTarget=e,this._clear();const t=Os.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),i=Ot.findOne(t.join(","),this._config.target);i.classList.add(As),i.classList.contains(Cs)?Ot.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(As):Ot.parents(i,".nav, .list-group").forEach((e=>{Ot.prev(e,`${ks}, ${Ls}`).forEach((e=>e.classList.add(As))),Ot.prev(e,".nav-item").forEach((e=>
2{Ot.children(e,ks).forEach((e=>e.classList.add(As)))}))})),mt.trigger(this._scrollElement,xs,{relatedTarget:e})}_clear(){Ot.find(Os,this._config.target).filter((e=>e.classList.contains(As))).forEach((e=>e.classList.remove(As)))}static jQueryInterface(e){return this.each((function(){const t=zs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}mt.on(window,Ts,(()=>{Ot.find('[data-bs-spy="scroll"]').forEach((e=>new zs(e)))})),Ke(zs);const Ps=".bs.tab",Is=`hide${Ps}`,$s=`hidden${Ps}`,Ds=`show${Ps}`,Ns=`shown${Ps}`,js=`click${Ps}.data-api`,Bs="active",Hs="fade",Fs="show",Ws=".active",qs=":scope > li > .active";class Rs extends bt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Bs))return;let e;const t=je(this._element),i=this._element.closest(".nav, .list-group");if(i){const t="UL"===i.nodeName||"OL"===i.nodeName?qs:Ws;e=Ot.find(t,i),e=e[e.length-1]}const n=e?mt.trigger(e,Is,{relatedTarget:this._element}):null;if(mt.trigger(this._element,Ds,{relatedTarget:e}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const s=()=>{mt.trigger(e,$s,{relatedTarget:this._element}),mt.trigger(this._element,Ns,{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?Ot.children(t,Ws):Ot.find(qs,t))[0],s=i&&n&&n.classList.contains(Hs),r=()=>this._transitionComplete(e,n,i);n&&s?(n.classList.remove(Fs),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,t,i){if(t){t.classList.remove(Bs);const e=Ot.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Bs),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Bs),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),Ye(e),e.classList.contains(Hs)&&e.classList.add(Fs);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&Ot.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Bs))),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each((function(){const t=Rs.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}mt.on(document,js,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Re(this))return;Rs.getOrCreateInstance(this).show()})),Ke(Rs);const Xs="toast",Vs=".bs.toast",Ys=`mouseover${Vs}`,Gs=`mouseout${Vs}`,Us=`focusin${Vs}`,Qs=`focusout${Vs}`,Ks=`hide${Vs}`,Zs=`hidden${Vs}`,Js=`show${Vs}`,er=`shown${Vs}`,tr="hide",ir="show",nr="showing",sr={animation:"boolean",autohide:"boolean",delay:"number"},rr={animation:!0,autohide:!0,delay:5e3};class or extends bt{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return sr}static get Default(){return rr}static get NAME(){return Xs}show(){if(mt.trigger(this._element,Js).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(tr),Ye(this._element),this._element.classList.add(ir),this._element.classList.add(nr),this._queueCallback((()=>{this._element.classList.remove(nr),mt.trigger(this._element,er),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(ir))return;if(mt.trigger(this._element,Ks).defaultPrevented)return;this._element.classList.add(nr),this._queueCallback((()=>{this._element.classList.add(tr),this._element.classList.remove(nr),this._element.classList.remove(ir),mt.trigger(this._element,Zs)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(ir)&&this._element.classList.remove(ir),super.dispose()}_getConfig(e){return e={...rr,...Lt.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},We(Xs,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){mt.on(this._element,Ys,(e=>this._onInteraction(e,!0))),mt.on(this._element,Gs,(e=>this._onInteraction(e,!1))),mt.on(this._element,Us,(e=>this._onInteraction(e,!0))),mt.on(this._element,Qs,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=or.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
2amed "${e}"`);t[e](this)}}))}}wt(or),Ke(or)},732:function(e){e.exports=function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,n(s.key),s)}}function i(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function n(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=Date.now();function o(){var e={},t=!0,i=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],i++);for(var s=function(i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t&&"[object Object]"===Object.prototype.toString.call(i[n])?e[n]=o(!0,e[n],i[n]):e[n]=i[n])};i<n;i++)s(arguments[i]);return e}function a(e,t){if((C(e)||e===window||e===document)&&(e=[e]),k(e)||L(e)||(e=[e]),0!=z(e))if(k(e)&&!L(e))for(var i=e.length,n=0;n<i&&!1!==t.call(e[n],e[n],n,e);n++);else if(L(e))for(var s in e)if(M(e,s)&&!1===t.call(e[s],e[s],s,e))break}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e[r]=e[r]||[],s={all:n,evt:null,found:null};return t&&i&&z(n)>0&&a(n,(function(e,n){if(e.eventName==t&&e.fn.toString()==i.toString())return s.found=!0,s.evt=n,!1})),s}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.onElement,n=t.withCallback,s=t.avoidDuplicate,r=void 0===s||s,o=t.once,c=void 0!==o&&o,d=t.useCapture,u=void 0!==d&&d,h=arguments.length>2?arguments[2]:void 0,p=i||[];function f(e){S(n)&&n.call(h,e,this),c&&f.destroy()}return T(p)&&(p=document.querySelectorAll(p)),f.destroy=function(){a(p,(function(t){var i=l(t,e,f);i.found&&i.all.splice(i.evt,1),t.removeEventListener&&t.removeEventListener(e,f,u)}))},a(p,(function(t){var i=l(t,e,f);(t.addEventListener&&r&&!i.found||!r)&&(t.addEventListener(e,f,u),i.all.push({eventName:e,fn:f}))})),f}function d(e,t){a(t.split(" "),(function(t){return e.classList.add(t)}))}function u(e,t){a(t.split(" "),(function(t){return e.classList.remove(t)}))}function h(e,t){return e.classList.contains(t)}function p(e,t){for(;e!==document.body;){if(!(e=e.parentElement))return!1;if("function"==typeof e.matches?e.matches(t):e.msMatchesSelector(t))return e}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||""===t)return!1;if("none"===t)return S(i)&&i(),!1;var n=w(),s=t.split(" ");a(s,(function(t){d(e,"g"+t)})),c(n,{onElement:e,avoidDuplicate:!1,once:!0,withCallback:function(e,t){a(s,(function(e){u(t,"g"+e)})),S(i)&&i()}})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===t)return e.style.webkitTransform="",e.style.MozTransform="",e.style.msTransform="",e.style.OTransform="",e.style.transform="",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function m(e){e.style.display="block"}function v(e){e.style.display="none"}function y(e){var t=document.createDocumentFragment(),i=document.createElement("div");for(i.innerHTML=e;i.firstChild;)t.appendChild(i.firstChild);return t}function b(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function w(){var e,t=document.createElement("fakeelement"),i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}function _(e,t,i,n){if(e())t();else{var s;i||(i=100);var r=setInterval((function(){e()&&(clearInterval(r),s&&clearTimeout(s),t())}),i);n&&(s=setTimeout((function(){clearInterval(r)}),n))}}function E(e,t,i){if(O(e))console.error("Inject assets error");else if(S(t)&&(i=t,t=!1),T(t)&&t in window)S(i)&&i();else{var n;if(-1!==e.indexOf(".css")){if((n=document.querySelectorAll('link[href="'+e+'"]'))&&n.length>0)return void(S(i)&&i());var s=document.getElementsByTagName("head")[0],r=s.querySelectorAll('link[rel="stylesheet"]'),o=document.createElement("link");return o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",r?s.insertBefore(o,r[0]):s.appendChild(o),void(S(i)&&i())}if((n=document.querySelectorAll('script[src="'+e+'"]'))&&n.length>0){if(S(i)){if(T(t))return _((function(){return void 0!==window[t]}),(function(){i()})),!1;i()}}else{var a=document.createElement("script");a.type="text/javascript",a.src=e,a.onload=function(){if(S(i)){if(T(t))return _((function(){return void 0!==window[t]}),(function(){i()})),!1;i()}},document.body.appendChild(a)}}}function x(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function S(e){return"function"==typeof e}function T(e){return"string"==typeof e}function C(e){return!(!e||!e.nodeType||1!=e.nodeType)}function A(e){return Array.isArray(e)}function k(e){return e&&e.length&&isFinite(e.length)}function L(e){return"object"===s(e)&&null!=e&&!S(e)&&!A(e)}function O(e){return null==e}function M(e,t){return null!==e&&hasOwnProperty.call(e,t)}function z(e){if(L(e)){if(e.keys)return e.keys().length;var t=0;for(var i in e)M(e,i)&&t++;return t}return e.length}function P(e){return!isNaN(parseFloat(e))&&isFinite(e)}function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!t.length)return!1;if(1==t.length)return t[0];"string"==typeof e&&(e=parseInt(e));var i=[];a(t,(function(e){i.push(e.getAttribute("data-taborder"))}));var n=Math.max.apply(Math,i.map((function(e){return parseInt(e)}))),s=e<0?1:e+1;s>n&&(s="1");var r=i.filter((function(e){return e>=parseInt(s)})),o=r.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(o,'"]'))}function $(e){if(e.events.hasOwnProperty("keyboard"))return!1;e.events.keyboard=c("keydown",{onElement:window,withCallback:function(t,i){var n=(t=t||window.event).keyCode;if(9==n){var s=document.querySelector(".gbtn.focused");
vendor: 7,666 bytes, line 2
2if(!s){var r=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==r||"textarea"==r||"button"==r)return}t.preventDefault();var o=document.querySelectorAll(".gbtn[data-taborder]");if(!o||o.length<=0)return;if(!s){var a=I();return void(a&&(a.focus(),d(a,"focused")))}var l=I(s.getAttribute("data-taborder"));u(s,"focused"),l&&(l.focus(),d(l,"focused"))}39==n&&e.nextSlide(),37==n&&e.prevSlide(),27==n&&e.close()}})}var D=i((function t(i,n){var s=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e(this,t),this.img=i,this.slide=n,this.onclose=r,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",(function(e){return s.dragStart(e)}),!1),this.img.addEventListener("mouseup",(function(e){return s.dragEnd(e)}),!1),this.img.addEventListener("mousemove",(function(e){return s.drag(e)}),!1),this.img.addEventListener("click",(function(e){return s.slide.classList.contains("dragging-nav")?(s.zoomOut(),!1):s.zoomedIn?void(s.zoomedIn&&!s.dragging&&s.zoomOut()):s.zoomIn()}),!1),this.img.setZoomEvents=!0}),[{key:"zoomIn",value:function(){var e=this.widowWidth();if(!(this.zoomedIn||e<=768)){var t=this.img;if(t.setAttribute("data-style",t.getAttribute("style")),t.style.maxWidth=t.naturalWidth+"px",t.style.maxHeight=t.naturalHeight+"px",t.naturalWidth>e){var i=e/2-t.naturalWidth/2;this.setTranslate(this.img.parentNode,i,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(e){e.preventDefault(),this.zoomedIn?("touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove("dragging")}),100)}},{key:"drag",value:function(e){this.active&&(e.preventDefault(),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(e){if(this.zoomedIn){var t=e.clientX-this.img.naturalWidth/2,i=e.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,t,i)}}},{key:"setTranslate",value:function(e,t,i){e.style.transform="translate3d("+t+"px, "+i+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),N=i((function t(){var i=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t);var s=n.dragEl,r=n.toleranceX,o=void 0===r?40:r,a=n.toleranceY,l=void 0===a?65:a,c=n.slide,d=void 0===c?null:c,u=n.instance,h=void 0===u?null:u;this.el=s,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=o,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=h,this.el.addEventListener("mousedown",(function(e){return i.dragStart(e)}),!1),this.el.addEventListener("mouseup",(function(e){return i.dragEnd(e)}),!1),this.el.addEventListener("mousemove",(function(e){return i.drag(e)}),!1)}),[{key:"dragStart",value:function(e){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset);var t=e.target.nodeName.toLowerCase();e.target.classList.contains("nodrag")||p(e.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(t)?this.active=!1:(e.preventDefault(),(e.target===this.el||"img"!==t&&p(e.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=p(e.target,".ginner-container")))}}},{key:"dragEnd",value:function(e){var t=this;e&&e.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){t.instance.preventOutsideClick=!1,t.toleranceReached=!1,t.lastDirection=null,t.dragging=!1,t.el.isDragging=!1,t.el.classList.remove("dragging"),t.slide.classList.remove("dragging-nav"),t.dragContainer.style.transform="",t.dragContainer.style.transition=""}),100)}},{key:"drag",value:function(e){if(this.active){e.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var t=Math.abs(this.currentX),i=Math.abs(this.currentY);if(t>0&&t>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var n=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&n&&(this.doSlideChange=n),this.instance.settings.dragAutoSnap&&n)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==n&&this.instance.prevSlide(),void("left"==n&&this.instance.nextSlide())}if(this.toleranceY>0&&i>0&&i>=t&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var s=this.shouldClose();return!this.instance.settings.dragAutoSnap&&s&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&s&&this.instance.close())}}}},{key:"shouldChange",value:function(){var e=!1;if(Math.abs(this.currentX)>=this.toleranceX){var t=this.currentX>0?"right":"left";("left"==t&&this.slide!==this.slide.parentNode.lastChild||"right"==t&&this.slide!==this.slide.parentNode.firstChild)&&(e=t)}return e}},{key:"shouldClose",value:function(){var e=!1;return Math.abs(this.currentY)>=this.toleranceY&&(e=!0),e}},{key:"setTranslate",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.style.transition=n?"all .2s ease":"",e.style.transform="translate3d(".concat(t,"px, ").concat(i,"px, 0)")}}]);function j(e,t,i,n){var s=e.querySelector(".gslide-media"),r=new Image,o="gSlideTitle_"+i,a="g
2SlideDesc_"+i;r.addEventListener("load",(function(){S(n)&&n()}),!1),r.src=t.href,""!=t.sizes&&""!=t.srcset&&(r.sizes=t.sizes,r.srcset=t.srcset),r.alt="",O(t.alt)||""===t.alt||(r.alt=t.alt),""!==t.title&&r.setAttribute("aria-labelledby",o),""!==t.description&&r.setAttribute("aria-describedby",a),t.hasOwnProperty("_hasCustomWidth")&&t._hasCustomWidth&&(r.style.width=t.width),t.hasOwnProperty("_hasCustomHeight")&&t._hasCustomHeight&&(r.style.height=t.height),s.insertBefore(r,s.firstChild)}function B(e,t,i,n){var s=this,r=e.querySelector(".ginner-container"),o="gvideo"+i,a=e.querySelector(".gslide-media"),l=this.getAllPlayers();d(r,"gvideo-container"),a.insertBefore(y('<div class="gvideo-wrapper"></div>'),a.firstChild);var c=e.querySelector(".gvideo-wrapper");E(this.settings.plyr.css,"Plyr");var u=t.href,h=null==t?void 0:t.videoProvider,p=!1;a.style.maxWidth=t.width,E(this.settings.plyr.js,"Plyr",(function(){if(!h&&u.match(/vimeo\.com\/([0-9]*)/)&&(h="vimeo"),!h&&(u.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||u.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||u.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||u.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/))&&(h="youtube"),"local"===h||!h){h="local";var r='<video id="'+o+'" ';r+='style="background:#000; max-width: '.concat(t.width,';" '),r+='preload="metadata" ',r+='x-webkit-airplay="allow" ',r+="playsinline ",r+="controls ",r+='class="gvideo-local">',r+='<source src="'.concat(u,'">'),p=y(r+="</video>")}var a=p||y('<div id="'.concat(o,'" data-plyr-provider="').concat(h,'" data-plyr-embed-id="').concat(u,'"></div>'));d(c,"".concat(h,"-video gvideo")),c.appendChild(a),c.setAttribute("data-id",o),c.setAttribute("data-index",i);var f=M(s.settings.plyr,"config")?s.settings.plyr.config:{},g=new Plyr("#"+o,f);g.on("ready",(function(e){l[o]=e.detail.plyr,S(n)&&n()})),_((function(){return e.querySelector("iframe")&&"true"==e.querySelector("iframe").dataset.ready}),(function(){s.resize(e)}
vendor: 33,529 bytes, line 2
2)),g.on("enterfullscreen",H),g.on("exitfullscreen",H)}))}function H(e){var t=p(e.target,".gslide-media");"enterfullscreen"===e.type&&d(t,"fullscreen"),"exitfullscreen"===e.type&&u(t,"fullscreen")}function F(e,t,i,n){var s,r=this,o=e.querySelector(".gslide-media"),a=!(!M(t,"href")||!t.href)&&t.href.split("#").pop().trim(),l=!(!M(t,"content")||!t.content)&&t.content;if(l&&(T(l)&&(s=y('<div class="ginlined-content">'.concat(l,"</div>"))),C(l))){"none"==l.style.display&&(l.style.display="block");var u=document.createElement("div");u.className="ginlined-content",u.appendChild(l),s=u}if(a){var h=document.getElementById(a);if(!h)return!1;var p=h.cloneNode(!0);p.style.height=t.height,p.style.maxWidth=t.width,d(p,"ginlined-content"),s=p}if(!s)return console.error("Unable to append inline slide content",t),!1;o.style.height=t.height,o.style.width=t.width,o.appendChild(s),this.events["inlineclose"+a]=c("click",{onElement:o.querySelectorAll(".gtrigger-close"),withCallback:function(e){e.preventDefault(),r.close()}}),S(n)&&n()}function W(e,t,i,n){var s=e.querySelector(".gslide-media"),r=function(e){var t=e.url,i=e.allow,n=e.callback,s=e.appendTo,r=document.createElement("iframe");return r.className="vimeo-video gvideo",r.src=t,r.style.width="100%",r.style.height="100%",i&&r.setAttribute("allow",i),r.onload=function(){r.onload=null,d(r,"node-ready"),S(n)&&n()},s&&s.appendChild(r),r}({url:t.href,callback:n});s.parentNode.style.maxWidth=t.width,s.parentNode.style.height=t.height,s.appendChild(r)}var q=i((function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},L(i)&&(this.defaults=o(this.defaults,i))}),[{key:"sourceType",value:function(e){var t=e;return null!==(e=e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?"image":e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||null!==e.match(/\.(mp4|ogg|webm|mov)/)?"video":null!==e.match(/\.(mp3|wav|wma|aac|ogg)/)?"audio":e.indexOf("#")>-1&&""!==t.split("#").pop().trim()?"inline":e.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(e,t){var i=this,n=o({descPosition:t.descPosition},this.defaults);if(L(e)&&!C(e)){M(e,"type")||(M(e,"content")&&e.content?e.type="inline":M(e,"href")&&(e.type=this.sourceType(e.href)));var s=o(n,e);return this.setSize(s,t),s}var r="",l=e.getAttribute("data-glightbox"),c=e.nodeName.toLowerCase();if("a"===c&&(r=e.href),"img"===c&&(r=e.src,n.alt=e.alt),n.href=r,a(n,(function(s,r){M(t,r)&&"width"!==r&&(n[r]=t[r]);var o=e.dataset[r];O(o)||(n[r]=i.sanitizeValue(o))})),n.content&&(n.type="inline"),!n.type&&r&&(n.type=this.sourceType(r)),O(l)){if(!n.title&&"a"==c){var d=e.title;O(d)||""===d||(n.title=d)}if(!n.title&&"img"==c){var u=e.alt;O(u)||""===u||(n.title=u)}}else{var h=[];a(n,(function(e,t){h.push(";\\s?"+t)})),h=h.join("\\s?:|"),""!==l.trim()&&a(n,(function(e,t){var s=l,r=new RegExp("s?"+t+"s?:s?(.*?)("+h+"s?:|$)"),o=s.match(r);if(o&&o.length&&o[1]){var a=o[1].trim().replace(/;\s*$/,"");n[t]=i.sanitizeValue(a)}}))}if(n.description&&"."===n.description.substring(0,1)){var p;try{p=document.querySelector(n.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}p&&(n.description=p)}if(!n.description){var f=e.querySelector(".glightbox-desc");f&&(n.description=f.innerHTML)}return this.setSize(n,t,e),this.slideConfig=n,n}},{key:"setSize",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="video"==e.type?this.checkSize(t.videosWidth):this.checkSize(t.width),s=this.checkSize(t.height);return e.width=M(e,"width")&&""!==e.width?this.checkSize(e.width):n,e.height=M(e,"height")&&""!==e.height?this.checkSize(e.height):s,i&&"image"==e.type&&(e._hasCustomWidth=!!i.dataset.width,e._hasCustomHeight=!!i.dataset.height),e}},{key:"checkSize",value:function(e){return P(e)?"".concat(e,"px"):e}},{key:"sanitizeValue",value:function(e){return"true"!==e&&"false"!==e?e:"true"===e}}]),R=i((function t(i,n,s){e(this,t),this.element=i,this.instance=n,this.index=s}),[{key:"setContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h(t,"loaded"))return!1;var n=this.instance.settings,s=this.slideConfig,r=x();S(n.beforeSlideLoad)&&n.beforeSlideLoad({index:this.index,slide:t,player:!1});var o=s.type,a=s.descPosition,l=t.querySelector(".gslide-media"),c=t.querySelector(".gslide-title"),u=t.querySelector(".gslide-desc"),p=t.querySelector(".gdesc-inner"),f=i,g="gSlideTitle_"+this.index,m="gSlideDesc_"+this.index;if(S(n.afterSlideLoad)&&(f=function(){S(i)&&i(),n.afterSlideLoad({index:e.index,slide:t,player:e.instance.getSlidePlayerInstance(e.index)})}),""==s.title&&""==s.description?p&&p.parentNode.parentNode.removeChild(p.parentNode):(c&&""!==s.title?(c.id=g,c.innerHTML=s.title):c.parentNode.removeChild(c),u&&""!==s.description?(u.id=m,r&&n.moreLength>0?(s.smallDescription=this.slideShortDesc(s.description,n.moreLength,n.moreText),u.innerHTML=s.smallDescription,this.descriptionEvents(u,s)):u.innerHTML=s.description):u.parentNode.removeChild(u),d(l.parentNode,"desc-".concat(a)),d(p.parentNode,"description-".concat(a))),d(l,"gslide-".concat(o)),d(t,"loaded"),"video"!==o){if("external"!==o)return"inline"===o?(F.apply(this.instance,[t,s,this.index,f]),void(s.draggable&&new N({dragEl:t.querySelector(".gslide-inline"),toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:this.instance}))):void("image"!==o?S(f)&&f():j(t,s,this.index,(function(){var i=t.querySelector("img");s.draggable&&new N({dragEl:i,toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:e.instance}),s.zoomable&&i.naturalWidth>i.offsetWidth&&(d(i,"zoomable"),new D(i,t,(function(){e.instance.resize()}))),S(f)&&f()})));W.apply(this,[t,s,this.index,f])}else B.apply(this.instance,[t,s,this.index,f])}},{key:"slideShortDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=document.createElement("div");n.innerHTML=e;var s=i;if((e=n.innerText.trim()).length<=t)return e;var r=e.substr(0,t-1);return s?(n=null,r+'... <a href="#" class="desc-more">'+i+"</a>"):r}},{key:"descriptionEvents",value:function(e,t){var i=this,n=e.querySelector(".desc-more");if(!n)return!1;c("click",{onElement:n,withCallback:function(e,n){e.preventDefault();var s=document.body,r=p(n,".gslide-desc");if(!r)return!1;r.innerHTML=t.description,d(s,"gdesc-open");var o=c("click",{onElement:[s,p(r,".gslide-description")],withCallback:function(e,n){"a"!==e.target.nodeName.toLowerCase()&&(u(s,"gdesc-open"),d(s,"gdesc-closed"),r.innerHTML=t.smallDescription,i.descriptionEvents(r,t),setTimeout((function(){u(s,"gdesc-closed")}),400),o.destroy())}})}})}},{key:"create",value:function(){return y(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){C(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var e=new q(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);function X(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function V(e,t){var i=function(e,t){var i=X(e)*X(t);if(0===i)return 0;var n=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/i;return n>1&&(n=1),Math.acos(n)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(i*=-1),180*i/Math.PI}var Y=i((function t(i){e(this,t),this.handlers=[],this.el=i}),[{key:"add",value:function(e){this.handlers.push(e)}},{key:"del",value:function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)}},{key:"dispatch",value:function(){for(var e=0,t=this.handlers.length;e<t;e++){var i=this.handlers[e];"function"==typeof i&&i.apply(this.el,arguments)}}}]);function G(e,t){var i=new Y(e);return i.add(t),i}var U=i((function t(i,n){e(this,t),this.element="string"==typeof i?document.querySelector(i):i,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var s=function(){};this.rotate=G(this.element,n.rotate||s),this.touchStart=G(this.element,n.touchStart||s),this.multipointStart=G(this.element,n.multipointStart||s),this.multipointEnd=G(this.element,n.multipointEnd||s),this.pinch=G(this.element,n.pinch||s),this.swipe=G(this.element,n.swipe||s),this.tap=G(this.element,n.tap||s),this.doubleTap=G(this.element,n.doubleTap||s),this.longTap=G(this.element,n.longTap||s),this.singleTap=G(this.element,n.singleTap||s),this.pressMove=G(this.element,n.pressMove||s),this.twoFingerPressMove=G(this.element,n.twoFingerPressMove||s),this.touchMove=G(this.element,n.touchMove||s),this.touchEnd=G(this.element,n.touchEnd||s),this.touchCancel=G(this.element,n.touchCancel||s),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}),[{key:"start",value:function(e){if(e.touches)if(e.target&&e.target.nodeName&&["a","button","input"].indexOf(e.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",e.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y,this.pinchStartLen=X(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(e,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,s=e.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var r=e.touches[1].pageX,o=e.touches[1].pageY,a={x:e.touches[1].pageX-n,y:e.touches[1].pageY-s};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=X(a)/this.pinchStartLen,this.pinch.dispatch(e,this.element)),e.angle=V(a,t),this.rotate.dispatch(e,this.element)),t.x=a.x,t.y=a.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+r-this.sx2)/2,e.deltaY=(s-this.y2+o-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=r,this.sy2=o}else{if(null!==this.x2){e.deltaX=n-this.x2,e.deltaY=s-this.y2;var l=Math.abs(this.x1-this.x2),c=Math.abs(this.y1-this.y2);(l>10||c>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=n,this.y2=s,i>1&&e.preventDefault()}}},{key:"end",value:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"}},{key:"on",value:function(e,t){this[e]&&this[e].add(t)}},{key:"off",value:function(e,t){this[e]&&this[e].del(t)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]);function Q(e){var t=function(){var e,t=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}(),i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=h(e,"gslide-media")?e:e.querySelector(".gslide-media"),s=p(n,".ginner-container"),r=e.querySelector(".gslide-description");i>769&&(n=s),d(n,"greset"),g(n,"translate3d(0, 0, 0)"),c(t,{onElement:n,once:!0,withCallback:function(e,t){u(n,"greset")}}),n.style.opacity="",r&&(r.style.opacity="")}function K(e){if(e.events.hasOwnProperty("touch"))return!1;var t,i,n,s=b(),r=s.width,o=s.height,a=!1,l=null,c=null,f=null,m=!1,v=1,y=1,w=!1,_=!1,E=null,x=null,S=null,T=null,C=0,A=0,k=!1,L=!1,O={},M={},z=0,P=0,I=document.getElementById("glightbox-slider"),$=document.querySelector(".goverlay"),D=new U(I,{touchStart:function(t){if(a=!0,(h(t.targetTouches[0].target,"ginner-container")||p(t.targetTouches[0].target,".gslide-desc")||"a"==t.targetTouches[0].target.nodeName.toLowerCase())&&(a=!1),p(t.targetTouches[0].target,".gslide-inline")&&!h(t.targetTouches[0].target.parentNode,"gslide-inline")&&(a=!1),a){if(M=t.targetTouches[0],O.pageX=t.targetTouches[0].pageX,O.pageY=t.targetTouches[0].pageY,z=t.targetTouches[0].clientX,P=t.targetTouches[0].clientY,l=e.activeSlide,c=l.querySelector(".gslide-media"),n=l.querySelector(".gslide-inline"),f=null,h(c,"gslide-image")&&(f=c.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(c=l.querySelector(".ginner-container")),u($,"greset"),t.pageX>20&&t.pageX<window.innerWidth-20)return;t.preventDefault()}},touchMove:function(s){if(a&&(M=s.targetTouches[0],!w&&!_)){if(n&&n.offsetHeight>o){var l=O.pageX-M.pageX;if(Math.abs(l)<=13)return!1}m=!0;var d,u=s.targetTouches[0].clientX,h=s.targetTouches[0].clientY,p=z-u,v=P-h;if(Math.abs(p)>Math.abs(v)?(k=!1,L=!0):(L=!1,k=!0),t=M.pageX-O.pageX,C=100*t/r,i=M.pageY-O.pageY,A=100*i/o,k&&f&&(d=1-Math.abs(i)/o,$.style.opacity=d,e.settings.touchFollowAxis&&(C=0)),L&&(d=1-Math.abs(t)/r,c.style.opacity=d,e.settings.touchFollowAxis&&(A=0)),!f)return g(c,"translate3d(".concat(C,"%, 0, 0)"));g(c,"translate3d(".concat(C,"%, ").concat(A,"%, 0)"))}},touchEnd:function(){if(a){if(m=!1,_||w)return S=E,void(T=x);var t=Math.abs(parseInt(A)),i=Math.abs(parseInt(C));if(!(t>29&&f))return t<29&&i<25?(d($,"greset"),$.style.opacity=1,Q(c)):void 0;e.close()}},multipointEnd:function(){setTimeout((function(){w=!1}),50)},multipointStart:function(){w=!0,v=y||1},pinch:function(e){if(!f||m)return!1;w=!0,f.scaleX=f.scaleY=v*e.zoom;var t=v*e.zoom;if(_=!0,t<=1)return _=!1,t=1,T=null,S=null,E=null,x=null,void f.setAttribute("style","");t>4.5&&(t=4.5),f.style.transform="scale3d(".concat(t,", ").concat(t,", 1)"),y=t},pressMove:function(e){if(_&&!w){var t=M.pageX-O.pageX,i=M.pageY-O.pageY;S&&(t+=S),T&&(i+=T),E=t,x=i;var n="translate3d(".concat(t,"px, ").concat(i,"px, 0)");y&&(n+=" scale3d(".concat(y,", ").concat(y,", 1)")),g(f,n)}},swipe:function(t){if(!_)if(w)w=!1;else{if("Left"==t.direction){if(e.index==e.elements.length-1)return Q(c);e.nextSlide()}if("Right"==t.direction){if(0==e.index)return Q(c);e.prevSlide()}}}});e.events.touch=D}var Z=x(),J=null!==x()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,ee=document.getElementsByTagName("html")[0],te={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:'<div class="gslide">\n    <div class="gslide-inner-content">\n        <div class="ginner-container">\n            <div class="gslide-media">\n            </div>\n            <div class="gslide-description">\n                <div class="gdesc-inner">\n                    <h4 class="gslide-title"></h4>\n                    <div class="gslide-desc"></div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>',lightboxHTML:'<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">\n    <div class="gloader visible"></div>\n    <div class="goverlay"></div>\n    <div class="gcontainer">\n    <div id="glightbox-slider" class="gslider"></div>\n    <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>\n    <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>\n    <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>\n</div>\n</div>'},ie=i((function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.customOptions=i,this.settings=o(te,i),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}),[{key:"init",value:function(){var e=this,t=this.getSelector();t&&(this.baseEvents=c("click",{onElement:t,withCallback:function(t,i){t.preventDefault(),e.open(i)}})),this.elements=this.getElements()}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0===this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var i=P(t)?t:this.settings.startAt;if(C(e)){var n=e.getAttribute("data-gallery");n&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,n)),O(i)&&(i=this.getElementIndex(e))<0&&(i=0)}P(i)||(i=0),this.build(),f(this.overlay,"none"===this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var s=document.body,r=window.innerWidth-document.documentElement.clientWidth;if(r>0){var o=document.createElement("style");o.type="text/css",o.className="gcss-styles",o.innerText=".gscrollbar-fixer {margin-right: ".concat(r,"px}"),document.head.appendChild(o),d(s,"gscrollbar-fixer")}d(s,"glightbox-open"),d(ee,"glightbox-open"),Z&&(d(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(i,!0),1===this.elements.length?(d(this.prevButton,"glightbox-button-hidden"),d(this.nextButton,"glightbox-button-hidden")):(u(this.prevButton,"glightbox-button-hidden"),u(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),S(this.settings.onOpen)&&this.settings.onOpen(),J&&this.settings.touchNavigation&&K(this),this.settings.keyboardNavigation&&$(this)}},{key:"openAt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,e)}},{key:"showSlide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(this.loader),this.index=parseInt(t);var n=this.slidesContainer.querySelector(".current");n&&u(n,"current"),this.slideAnimateOut();var s=this.slidesContainer.querySelectorAll(".gslide")[t];if(h(s,"loaded"))this.slideAnimateIn(s,i),v(this.loader);else{m(this.loader);var r=this.elements[t],o={index:this.index,slide:s,slideNode:s,slideConfig:r.slideConfig,slideIndex:this.index,trigger:r.node,player:null};this.trigger("slide_before_load",o),r.instance.setContent(s,(function(){v(e.loader),e.resize(),e.slideAnimateIn(s,i),e.trigger("slide_after_load",o)}))}this.slideDescription=s.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&h(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(t+1),this.preloadSlide(t-1)),this.updateNavigationClasses(),this.activeSlide=s}},{key:"preloadSlide",value:function(e){var t=this;if(e<0||e>this.elements.length-1)return!1;if(O(this.elements[e]))return!1;var i=this.slidesContainer.querySelectorAll(".gslide")[e];if(h(i,"loaded"))return!1;var n=this.elements[e],s=n.type,r={index:e,slide:i,slideNode:i,slideConfig:n.slideConfig,slideIndex:e,trigger:n.node,player:null};this.trigger("slide_before_load",r),"video"===s||"external"===s?setTimeout((function(){n.instance.setContent(i,(function(){t.trigger("slide_after_load",r)}))}),200):n.instance.setContent(i,(function(){t.trigger("slide_after_load",r)}))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(e<0||e>this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:"insertSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t<0&&(t=this.elements.length);var i=new R(e,this,t),n=i.getConfig(),s=o({},n),r=i.create(),a=this.elements.length-1;s.index=t,s.node=!1,s.instance=i,s.slideConfig=n,this.elements.splice(t,0,s);var l=null,c=null;if(this.slidesContainer){if(t>a)this.slidesContainer.appendChild(r);else{var d=this.slidesContainer.querySelectorAll(".gslide")[t];this.slidesContainer.insertBefore(r,d)}(this.settings.preload&&0==this.index&&0==t||this.index-1==t||this.index+1==t)&&this.preloadSlide(t),0===this.index&&0===t&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(".gslide")[t],c=this.getSlidePlayerInstance(t),s.slideNode=l}this.trigger("slide_inserted",{index:t,slide:l,slideNode:l,slideConfig:n,slideIndex:t,trigger:null,player:c}),S(this.settings.slideInserted)&&this.settings.slideInserted({index:t,slide:l,player:c})}},{key:"removeSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||e>this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger("slide_removed",e),S(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:"slideAnimateIn",value:function(e,t){var i=this,n=e.querySelector(".gslide-media"),s=e.querySelector(".gslide-description"),r={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},o={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(n.offsetWidth>0&&s&&(v(s),s.style.display=""),u(e,this.effectsClasses),t)f(e,this.settings.cssEfects[this.settings.openEffect].in,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:r,current:o}),S(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[r,o])}));else{var a=this.settings.slideEffect,l="none"!==a?this.settings.cssEfects[a].in:a;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),f(e,l,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:r,current:o}),S(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[r,o])}))}setTimeout((function(){i.resize(e)}),100),d(e,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var e=this.prevActiveSlide;u(e,this.effectsClasses),d(e,"prev");var t=this.settings.slideEffect,i="none"!==t?this.settings.cssEfects[t].out:t;this.slidePlayerPause(e),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:O(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),S(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(i=this.settings.cssEfects.slideBack.out),f(e,i,(function(){var t=e.querySelector(".ginner-container"),i=e.querySelector(".gslide-media"),n=e.querySelector(".gslide-description");t.style.transform="",i.style.transform="",u(i,"greset"),i.style.opacity="",n&&(n.style.opacity=""),u(e,"prev")}))}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(e){var t="gvideo"+e,i=this.getAllPlayers();return!(!M(i,t)||!i[t])&&i[t]}},{key:"stopSlideVideo",value:function(e){if(C(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"slidePlayerPause",value:function(e){if(C(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"playSlideVideo",value:function(e){if(C(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var i=this.getSlidePlayerInstance(e);i&&!i.playing&&i.play()}},{key:"slidePlayerPlay",value:function(e){var t;if(!Z||null!==(t=this.settings.plyr.config)&&void 0!==t&&t.muted){if(C(e)){var i=e.querySelector(".gvideo-wrapper");i&&(e=i.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(e);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}}},{key:"setElements",value:function(e){var t=this;this.settings.elements=!1;var i=[];e&&e.length&&a(e,(function(e,n){var s=new R(e,t,n),r=s.getConfig(),a=o({},r);a.slideConfig=r,a.instance=s,a.index=n,i.push(a)})),this.elements=i,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(a(this.elements,(function(){var e=y(t.settings.slideHTML);t.slidesContainer.appendChild(e)})),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(e){var t=!1;return a(this.elements,(function(i,n){if(M(i,"node")&&i.node==e)return t=n,!0})),t}},{key:"getElements",value:function(){var e=this,t=[];this.elements=this.elements?this.elements:[],!O(this.settings.elements)&&A(this.settings.elements)&&this.settings.elements.length&&a(this.settings.elements,(function(i,n){var s=new R(i,e,n),r=s.getConfig(),a=o({},r);a.node=!1,a.index=n,a.instance=s,a.slideConfig=r,t.push(a)}));var i=!1;return this.getSelector()&&(i=document.querySelectorAll(this.getSelector())),i?(a(i,(function(i,n){var s=new R(i,e,n),r=s.getConfig(),a=o({},r);a.node=i,a.index=n,a.instance=s,a.slideConfig=r,a.gallery=i.getAttribute("data-gallery"),t.push(a)})),t):t}},{key:"getGalleryElements",value:function(e,t){return e.filter((function(e){return e.gallery==t}))}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var e=[];for(var t in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(t)){var i=this.settings.cssEfects[t];e.push("g".concat(i.in)),e.push("g".concat(i.out))}return e.join(" ")}},{key:"build",value:function(){var e=this;if(this.built)return!1;var t=document.body.childNodes,i=[];
2a(t,(function(e){e.parentNode==document.body&&"#"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(i.push(e),e.setAttribute("aria-hidden","true"))}));var n=M(this.settings.svg,"next")?this.settings.svg.next:"",s=M(this.settings.svg,"prev")?this.settings.svg.prev:"",r=M(this.settings.svg,"close")?this.settings.svg.close:"",o=this.settings.lightboxHTML;o=y(o=(o=(o=o.replace(/{nextSVG}/g,n)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,r)),document.body.appendChild(o);var l=document.getElementById("glightbox-body");this.modal=l;var u=l.querySelector(".gclose");this.prevButton=l.querySelector(".gprev"),this.nextButton=l.querySelector(".gnext"),this.overlay=l.querySelector(".goverlay"),this.loader=l.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=i,this.events={},d(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&u&&(this.events.close=c("click",{onElement:u,withCallback:function(t,i){t.preventDefault(),e.close()}})),u&&!this.settings.closeButton&&u.parentNode.removeChild(u),this.nextButton&&(this.events.next=c("click",{onElement:this.nextButton,withCallback:function(t,i){t.preventDefault(),e.nextSlide()}})),this.prevButton&&(this.events.prev=c("click",{onElement:this.prevButton,withCallback:function(t,i){t.preventDefault(),e.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=c("click",{onElement:l,withCallback:function(t,i){e.preventOutsideClick||h(document.body,"glightbox-mobile")||p(t.target,".ginner-container")||p(t.target,".gbtn")||h(t.target,"gnext")||h(t.target,"gprev")||e.close()}})),a(this.elements,(function(t,i){e.slidesContainer.appendChild(t.instance.create()),t.slideNode=e.slidesContainer.querySelectorAll(".gslide")[i]})),J&&d(document.body,"glightbox-touch"),this.events.resize=c("resize",{onElement:window,withCallback:function(){e.resize()}}),this.built=!0}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((e=e||this.activeSlide)&&!h(e,"zoomed")){var t=b(),i=e.querySelector(".gvideo-wrapper"),n=e.querySelector(".gslide-image"),s=this.slideDescription,r=t.width,o=t.height;if(r<=768?d(document.body,"glightbox-mobile"):u(document.body,"glightbox-mobile"),i||n){var a=!1;if(s&&(h(s,"description-bottom")||h(s,"description-top"))&&!h(s,"gabsolute")&&(a=!0),n)if(r<=768)n.querySelector("img");else if(a){var l,c,p=s.offsetHeight,f=n.querySelector("img"),g=null===(l=this.elements[this.index])||void 0===l?void 0:l.node,m="100vh";g&&(m=null!==(c=g.getAttribute("data-height"))&&void 0!==c?c:m),f.setAttribute("style","max-height: calc(".concat(m," - ").concat(p,"px)")),s.setAttribute("style","max-width: ".concat(f.offsetWidth,"px;"))}if(i){var v=M(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!v){var y=i.clientWidth,w=i.clientHeight,_=y/w;v="".concat(y/_,":").concat(w/_)}var E=v.split(":"),x=this.settings.videosWidth,S=this.settings.videosWidth,T=(S=P(x)||-1!==x.indexOf("px")?parseInt(x):-1!==x.indexOf("vw")?r*parseInt(x)/100:-1!==x.indexOf("vh")?o*parseInt(x)/100:-1!==x.indexOf("%")?r*parseInt(x)/100:parseInt(i.clientWidth))/(parseInt(E[0])/parseInt(E[1]));if(T=Math.floor(T),a&&(o-=s.offsetHeight),S>r||T>o||o<T&&r>S){var C=i.offsetWidth,A=i.offsetHeight,k=o/A,L={width:C*k,height:A*k};i.parentNode.setAttribute("style","max-width: ".concat(L.width,"px")),a&&s.setAttribute("style","max-width: ".concat(L.width,"px;"))}else i.parentNode.style.maxWidth="".concat(x),a&&s.setAttribute("style","max-width: ".concat(x,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var e=this.loop();u(this.nextButton,"disabled"),u(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(d(this.prevButton,"disabled"),d(this.nextButton,"disabled")):0!==this.index||e?this.index!==this.elements.length-1||e||d(this.nextButton,"disabled"):d(this.prevButton,"disabled")}},{key:"loop",value:function(){var e=M(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return e=M(this.settings,"loop")?this.settings.loop:e}},{key:"close",value:function(){var e=this;if(!this.lightboxOpen){if(this.events){for(var t in this.events)this.events.hasOwnProperty(t)&&this.events[t].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&a(this.bodyHiddenChildElms,(function(e){e.removeAttribute("aria-hidden")})),d(this.modal,"glightbox-closing"),f(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),f(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(e.activeSlide=null,e.prevActiveSlideIndex=null,e.prevActiveSlide=null,e.built=!1,e.events){for(var t in e.events)e.events.hasOwnProperty(t)&&e.events[t].destroy();e.events=null}var i=document.body;u(ee,"glightbox-open"),u(i,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),e.modal.parentNode.removeChild(e.modal),e.trigger("close"),S(e.settings.onClose)&&e.settings.onClose();var n=document.querySelector(".gcss-styles");n&&n.parentNode.removeChild(n),e.lightboxOpen=!1,e.closing=null}))}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!S(t))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:e,once:i,callback:t})}},{key:"once",value:function(e,t){this.on(e,t,!0)}},{key:"trigger",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];a(this.apiEvents,(function(t,s){var r=t.evt,o=t.once,a=t.callback;r==e&&(a(i),o&&n.push(s))})),n.length&&a(n,(function(e){return t.apiEvents.splice(e,1)}))}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.3.1"}}]);return function(){var e=new ie(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return e.init(),e}}()},526:e=>{!function(t,i){var n=function(e,t,i){"use strict";var n,s;if(function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in s=e.lazySizesConfig||e.lazysizesConfig||{},i)t in s||(s[t]=i[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:s,noSupport:!0};var r=t.documentElement,o=e.HTMLPictureElement,a="addEventListener",l="getAttribute",c=e[a].bind(e),d=e.setTimeout,u=e.requestAnimationFrame||d,h=e.requestIdleCallback,p=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],g={},m=Array.prototype.forEach,v=function(e,t){return g[t]||(g[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),g[t].test(e[l]("class")||"")&&g[t]},y=function(e,t){v(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},b=function(e,t){var i;(i=v(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(i," "))},w=function(e,t,i){var n=i?a:"removeEventListener";i&&w(e,t),f.forEach((function(i){e[n](i,t)}))},_=function(e,i,s,r,o){var a=t.createEvent("Event");return s||(s={}),s.instance=n,a.initEvent(i,!r,!o),a.detail=s,e.dispatchEvent(a),a},E=function(t,i){var n;!o&&(n=e.picturefill||s.pf)?(i&&i.src&&!t[l]("srcset")&&t.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[t]})):i&&i.src&&(t.src=i.src)},x=function(e,t){return(getComputedStyle(e,null)||{})[t]},S=function(e,t,i){for(i=i||e.offsetWidth;i<s.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i},T=(ye=[],be=[],we=ye,_e=function(){var e=we;for(we=ye.length?be:ye,me=!0,ve=!1;e.length;)e.shift()();me=!1},Ee=function(e,i){me&&!i?e.apply(this,arguments):(we.push(e),ve||(ve=!0,(t.hidden?d:u)(_e)))},Ee._lsFlush=_e,Ee),C=function(e,t){return t?function(){T(e)}:function(){var t=this,i=arguments;T((function(){e.apply(t,i)}))}},A=function(e){var t,n=0,r=s.throttleDelay,o=s.ricTimeout,a=function(){t=!1,n=i.now(),e()},l=h&&o>49?function(){h(a,{timeout:o}),o!==s.ricTimeout&&(o=s.ricTimeout)}:C((function(){d(a)}),!0);return function(e){var s;(e=!0===e)&&(o=33),t||(t=!0,(s=r-(i.now()-n))<0&&(s=0),e||s<9?l():d(l,s))}},k=function(e){var t,n,s=99,r=function(){t=null,e()},o=function(){var e=i.now()-n;e<s?d(o,s-e):(h||r)(r)};return function(){n=i.now(),t||(t=d(o,s))}},L=(G=/^img$/i,U=/^iframe$/i,Q="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),K=0,Z=0,J=0,ee=-1,te=function(e){J--,(!e||J<0||!e.target)&&(J=0)},ie=function(e){return null==Y&&(Y="hidden"==x(t.body,"visibility")),Y||!("hidden"==x(e.parentNode,"visibility")&&"hidden"==x(e,"visibility"))},ne=function(e,i){var n,s=e,o=ie(e);for(q-=i,V+=i,R-=i,X+=i;o&&(s=s.offsetParent)&&s!=t.body&&s!=r;)(o=(x(s,"opacity")||1)>0)&&"visible"!=x(s,"overflow")&&(n=s.getBoundingClientRect(),o=X>n.left&&R<n.right&&V>n.top-1&&q<n.bottom+1);return o},se=function(){var e,i,o,a,c,d,u,h,p,f,g,m,v=n.elements;if((B=s.loadMode)&&J<8&&(e=v.length)){for(i=0,ee++;i<e;i++)if(v[i]&&!v[i]._lazyRace)if(!Q||n.prematureUnveil&&n.prematureUnveil(v[i]))he(v[i]);else if((h=v[i][l]("data-expand"))&&(d=1*h)||(d=Z),f||(f=!s.expand||s.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:s.expand,n._defEx=f,g=f*s.expFactor,m=s.hFac,Y=null,Z<g&&J<1&&ee>2&&B>2&&!t.hidden?(Z=g,ee=0):Z=B>1&&ee>1&&J<6?f:K),p!==d&&(F=innerWidth+d*m,W=innerHeight+d,u=-1*d,p=d),o=v[i].getBoundingClientRect(),(V=o.bottom)>=u&&(q=o.top)<=W&&(X=o.right)>=u*m&&(R=o.left)<=F&&(V||X||R||q)&&(s.loadHidden||ie(v[i]))&&(N&&J<3&&!h&&(B<3||ee<4)||ne(v[i],d))){if(he(v[i]),c=!0,J>9)break}else!c&&N&&!a&&J<4&&ee<4&&B>
22&&(D[0]||s.preloadAfterLoad)&&(D[0]||!h&&(V||X||R||q||"auto"!=v[i][l](s.sizesAttr)))&&(a=D[0]||v[i]);a&&!c&&he(a)}},re=A(se),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),y(t,s.loadedClass),b(t,s.loadingClass),w(t,le),_(t,"lazyloaded"))},ae=C(oe),le=function(e){ae({target:e.target})},ce=function(e,t){var i=e.getAttribute("data-load-mode")||s.iframeLoadMode;0==i?e.contentWindow.location.replace(t):1==i&&(e.src=t)},de=function(e){var t,i=e[l](s.srcsetAttr);(t=s.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},ue=C((function(e,t,i,n,r){var o,a,c,u,h,f;(h=_(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?y(e,s.autosizesClass):e.setAttribute("sizes",n)),a=e[l](s.srcsetAttr),o=e[l](s.srcAttr),r&&(u=(c=e.parentNode)&&p.test(c.nodeName||"")),f=t.firesLoad||"src"in e&&(a||o||u),h={target:e},y(e,s.loadingClass),f&&(clearTimeout(j),j=d(te,2500),w(e,le,!0)),u&&m.call(c.getElementsByTagName("source"),de),a?e.setAttribute("srcset",a):o&&!u&&(U.test(e.nodeName)?ce(e,o):e.src=o),r&&(a||u)&&E(e,{src:o})),e._lazyRace&&delete e._lazyRace,b(e,s.lazyClass),T((function(){var t=e.complete&&e.naturalWidth>1;f&&!t||(t&&y(e,s.fastLoadedClass),oe(h),e._lazyCache=!0,d((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&J--}),!0)})),he=function(e){if(!e._lazyRace){var t,i=G.test(e.nodeName),n=i&&(e[l](s.sizesAttr)||e[l]("sizes")),r="auto"==n;(!r&&N||!i||!e[l]("src")&&!e.srcset||e.complete||v(e,s.errorClass)||!v(e,s.lazyClass))&&(t=_(e,"lazyunveilread").detail,r&&O.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,J++,ue(e,t,r,n,i))}},pe=k((function(){s.loadMode=3,re()})),fe=function(){3==s.loadMode&&(s.loadMode=2),pe()},ge=function(){N||(i.now()-H<999?d(ge,999):(N=!0,s.loadMode=3,re(),c("scroll",fe,!0)))},{_:function(){H=i.now(),n.elements=t.getElementsByClassName(s.lazyClass),D=t.getElementsByClassName(s.lazyClass+" "+s.preloadClass),c("scroll",re,!0),c("resize",re,!0),c("pageshow",(function(e){if(e.persisted){var i=t.querySelectorAll("."+s.loadingClass);i.length&&i.forEach&&u((function(){i.forEach((function(e){e.complete&&he(e)}))}))}})),e.MutationObserver?new MutationObserver(re).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[a]("DOMNodeInserted",re,!0),r[a]("DOMAttrModified",re,!0),setInterval(re,999)),c("hashchange",re,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[a](e,re,!0)})),/d$|^c/.test(t.readyState)?ge():(c("load",ge),t[a]("DOMContentLoaded",re),d(ge,2e4)),n.elements.length?(se(),T._lsFlush()):re()},checkElems:re,unveil:he,_aLSL:fe}),O=(P=C((function(e,t,i,n){var s,r,o;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),p.test(t.nodeName||""))for(r=0,o=(s=t.getElementsByTagName("source")).length;r<o;r++)s[r].setAttribute("sizes",n);i.detail.dataAttr||E(e,i.detail)})),I=function(e,t,i){var n,s=e.parentNode;s&&(i=S(e,s,i),(n=_(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=n.detail.width)&&i!==e._lazysizesWidth&&P(e,s,n,i))},$=k((function(){var e,t=z.length;if(t)for(e=0;e<t;e++)I(z[e])})),{_:function(){z=t.getElementsByClassName(s.autosizesClass),c("resize",$)},checkElems:$,updateElem:I}),M=function(){!M.i&&t.getElementsByClassName&&(M.i=!0,O._(),L._())};var z,P,I,$;var D,N,j,B,H,F,W,q,R,X,V,Y,G,U,Q,K,Z,J,ee,te,ie,ne,se,re,oe,ae,le,ce,de,ue,he,pe,fe,ge;var me,ve,ye,be,we,_e,Ee;return d((function(){s.init&&M()})),n={cfg:s,autoSizer:O,loader:L,init:M,uP:E,aC:y,rC:b,hC:v,fire:_,gW:S,rAF:T}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})},325:(e,t,i)=>{var n,s,r;!function(o,a){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}(window,(function(s,o,a){"use strict";if(s.addEventListener){var l,c,d,u,h,p=Array.prototype.forEach,f=/^picture$/i,g="data-aspectratio",m="img["+g+"]",v=function(e){return s.matchMedia?(v=function(e){return!e||(matchMedia(e)||{}).matches},v(e)):s.Modernizr&&Modernizr.mq?!e||Modernizr.mq(e):!e},y=a.aC,b=a.rC,w=a.cfg;_.prototype={_setupEvents:function(){var e,t,i=this,n=function(e){e.naturalWi
2dth<36?i.addAspectRatio(e,!0):i.removeAspectRatio(e,!0)},s=function(){i.processImages()};o.addEventListener("load",(function(e){e.target.getAttribute&&e.target.getAttribute(g)&&n(e.target)}),!0),addEventListener("resize",(t=function(){p.call(i.ratioElems,n)},function(){clearTimeout(e),e=setTimeout(t,99)})),o.addEventListener("DOMContentLoaded",s),addEventListener("load",s)},processImages:function(e){var t,i;e||(e=o),t="length"in e&&!e.nodeName?e:e.querySelectorAll(m);for(i=0;i<t.length;i++)t[i].naturalWidth>36?this.removeAspectRatio(t[i]):this.addAspectRatio(t[i])},getSelectedRatio:function(e){var t,i,n,s,r,o=e.parentNode;if(o&&f.test(o.nodeName||""))for(t=0,i=(n=o.getElementsByTagName("source")).length;t<i;t++)if(s=n[t].getAttribute("data-media")||n[t].getAttribute("media"),w.customMedia[s]&&(s=w.customMedia[s]),v(s)){r=n[t].getAttribute(g);break}return r||e.getAttribute(g)||""},parseRatio:(u=/^\s*([+\d\.]+)(\s*[\/x]\s*([+\d\.]+))?\s*$/,h={},function(e){var t;return!h[e]&&(t=e.match(u))&&(t[3]?h[e]=t[1]/t[3]:h[e]=1*t[1]),h[e]}),addAspectRatio:function(e,t){var i,n=e.offsetWidth,r=e.offsetHeight;t||y(e,"lazyaspectratio"),n<36&&r<=0?(n||r&&s.console)&&console.log("Define width or height of image, so we can calculate the other dimension"):(i=this.getSelectedRatio(e),(i=this.parseRatio(i))&&(n?e.style.height=n/i+"px":e.style.width=r*i+"px"))},removeAspectRatio:function(e){b(e,"lazyaspectratio"),e.style.height="",e.style.width="",e.removeAttribute(g)}},(c=function(){(d=s.jQuery||s.Zepto||s.shoestring||s.$)&&d.fn&&!d.fn.imageRatio&&d.fn.filter&&d.fn.add&&d.fn.find?d.fn.imageRatio=function(){return l.processImages(this.find(m).add(this.filter(m))),this}:d=!1})(),setTimeout(c),l=new _,s.imageRatio=l,e.exports?e.exports=l:void 0===(r="function"==typeof(n=l)?n.call(t,i,t,e):n)||(e.exports=r)}function _(){this.ratioElems=o.getElementsByClassName("lazyaspectratio"),this._setupEvents(),this.processImages()}}))},189:(e,t,i)=>{var n,s,r;!function(o,a){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}(window,(function(e,t,i){"use strict";if(e.addEventListener){var n=i.cfg,s=/\s+/g,r=/\s*\|\s+|\s+\|\s*/g,o=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,l=/\(|\)|'/,c={contain:1,cover:1},d=function(e,t){if(t){var i=t.match(a);i&&i[1]?e.setAttribute("type",i[1]):e.setAttribute("media",n.customMedia[t]||t)}},u=function(e){if(e.target._lazybgset){var t=e.target,n=t._lazybgset,s=t.currentSrc||t.src;if(s){var r=l.test(s)?JSON.stringify(s):s,o=i.fire(n,"bgsetproxy",{src:s,useSrc:r,fullSrc:null});o.defaultPrevented||(n.style.backgroundImage=o.detail.fullSrc||"url("+o.detail.useSrc+")")}t._lazybgsetLoading&&(i.fire(n,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(e){var a,l,c;!e.defaultPrevented&&(a=e.target.getAttribute("data-bgset"))&&(c=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,i,a){var l=t.createElement("picture"),c=i.getAttribute(n.sizesAttr),u=i.getAttribute("data-ratio"),h=i.getAttribute("data-optimumx");i._lazybgset&&i._lazybgset.parentNode==i&&i.removeChild(i._lazybgset),Object.defineProperty(a,"_lazybgset",{value:i,writable:!0}),Object.defineProperty(i,"_lazybgset",{value:l,writable:!0}),e=e.replace(s," ").split(r),l.style.display="none",a.className=n.lazyClass,1!=e.length||c||(c="auto"),e.forEach((function(e){var i,s=t.createElement("source");c&&"auto"!=c&&s.setAttribute("sizes",c),(i=e.match(o))?(s.setAttribute(n.srcsetAttr,i[1]),d(s,i[2]),d(s,i[3])):s.setAttribute(n.srcsetAttr,e),l.appendChild(s)})),c&&(a.setAttribute(n.sizesAttr,c),i.removeAttribute(n.sizesAttr),i.removeAttribute("sizes")),h&&a.setAttribute("data-optimumx",h),u&&a.setAttribute("data-ratio",u),l.appendChild(a),i.appendChild(l)}(a,c,l),setTimeout((function(){i.loader.unveil(l),i.rAF((function(){i.fire(l,"_lazyloaded",{},!0,!0),l.complete&&u({target:l})}))})))})),t.addEventListener("load",u,!0),e.addEventListener("lazybeforesizes",(function(e){if(e.detail.instance==i&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!c[t]&&c[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);c[t]&&(e.target._lazysizesParentFit=t,i.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit})))}}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,n;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==i&&(e.detail.width=(t=e.target._lazybgset,n=i.gW(t,t.parentNode),(!t._lazysizesWidth||n>t._lazysizesWidth)&&(t._lazysizesWidth=n),t._lazysizesWidth))}))}}))},743:(e,t,i)=>{var n,s,r;!function(o,a){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}(window,(function(e,t,i){"use strict";var n="loading"in HTMLImageElement.prototype,s="loading"in HTMLIFrameElement.prototype,r=!1,o=i.prematureUnveil,a=i.cfg,l={focus:1,mouseover:1,click:1,load:1,transitionend:1,animationend:1,scroll:1,resize:1};function c(){var o,c,d,u;r||(r=!0,n&&s&&a.nativeLoading.disableListeners&&(!0===a.nativeLoading.disableListeners&&(a.nativeLoading.setLoadingAttribute=!0),o=i.loader,c=o.checkElems,d=function(){setTimeout((function(){e.removeEventListener("scroll",o._aLSL,
2!0)}),1e3)},(u="object"==typeof a.nativeLoading.disableListeners?a.nativeLoading.disableListeners:l).scroll&&(e.addEventListener("load",d),d(),e.removeEventListener("scroll",c,!0)),u.resize&&e.removeEventListener("resize",c,!0),Object.keys(u).forEach((function(e){u[e]&&t.removeEventListener(e,c,!0)}))),a.nativeLoading.setLoadingAttribute&&e.addEventListener("lazybeforeunveil",(function(e){var t=e.target;"loading"in t&&!t.getAttribute("loading")&&t.setAttribute("loading","lazy")}),!0))}a.nativeLoading||(a.nativeLoading={}),e.addEventListener&&e.MutationObserver&&(n||s)&&(i.prematureUnveil=function(e){return r||c(),!(!("loading"in e)||!a.nativeLoading.setLoadingAttribute&&!e.getAttribute("loading")||"auto"==e.getAttribute("data-sizes")&&!e.offsetWidth)||(o?o(e):void 0)})}))},253:(e,t,i)=>{var n,s,r;!function(o,a){if(o){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}}("undefined"!=typeof window?window:0,(function(e,t,i){"use strict";if(e.addEventListener){var n=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,s=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,r=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,o=/^picture$/i,a=i.cfg,l={getParent:function(t,i){var n=t,s=t.parentNode;return i&&"prev"!=i||!s||!o.test(s.nodeName||"")||(s=s.parentNode),"self"!=i&&(n="prev"==i?t.previousElementSibling:i&&(s.closest||e.jQuery)&&(s.closest?s.closest(i):jQuery(s).closest(i)[0])||s),n},getFit:function(e){var t,i,n=getComputedStyle(e,null)||{},o=n.content||n.fontFamily,a={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!a.fit&&o&&(t=o.match(s))&&(a.fit=t[1]),a.fit?(!(i=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&o&&(t=o.match(r))&&(i=t[1]),a.parent=l.getParent(e,i)):a.fit=n.objectFit,a},getImageRatio:function(t){var i,s,r,l,c,d,u,h=t.parentNode,p=h&&o.test(h.nodeName||"")?h.querySelectorAll("source, img"):[t];for(i=0;i<p.length;i++)if(s=(t=p[i]).getAttribute(a.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",r=t._lsMedia||t.getAttribute("media"),r=a.customMedia[t.getAttribute("data-media")||r]||r,s&&(!r||(e.matchMedia&&matchMedia(r)||{}).matches)){(l=parseFloat(t.getAttribute("data-aspectratio")))||((c=s.match(n))?"w"==c[2]?(d=c[1],u=c[3]):(d=c[3],u=c[1]):(d=t.getAttribute("width"),u=t.getAttribute("height")),l=d/u);break}return l},calculateSize:function(e,t){var i,n,s,r=this.getFit(e),o=r.fit,a=r.parent;return"width"==o||("contain"==o||"cover"==o)&&(n=this.getImageRatio(e))?(a?t=a.clientWidth:a=e,s=t,"width"==o?s=t:(i=t/a.clientHeight)&&("cover"==o&&i<n||"contain"==o&&i>n)&&(s=t*(n/i)),s):t}};i.parentFit=l,t.addEventListener("lazybeforesizes",(function(e){if(!e.defaultPrevented&&e.detail.instance==i){var t=e.target;e.detail.width=l.calculateSize(t,e.detail.width)}}))}}))},525:(e,t,i)=>{var n,s,r;!function(o,a){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}(window,(function(e,t,i){"use strict";var n,s,r,o;e.addEventListener&&(n=i&&i.cfg,s=n.lazyClass||"lazyload",r=function(){var e,n;if("string"==typeof s&&(s=t.getElementsByClassName(s)),i)for(e=0,n=s.length;e<n;e++)i.loader.unveil(s[e])},addEventListener("beforeprint",r,!1),!("onbeforeprint"in e)&&e.matchMedia&&(o=matchMedia("print"))&&o.addListener&&o.addListener((function(){o.matches&&r()})))}))},219:(e,t,i)=>{var n,s,r;!function(o,a){a=a.bind(null,o,o.document),e.exports?a(i(526)):(s=[i(526)],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r))}(window,(function(e,t,i){"use strict";var n,s,r={};function o(e,i,n){if(!r[e]){var s=t.createElement(i?"link":"script"),o=t.getElementsByTagName("script")[0];i?(s.rel="stylesheet",s.href=e):(s.onload=function(){s.onerror=null,s.onload=null,n()},s.onerror=s.onload,s.src=e),r[e]=!0,r[s.src||s.href]=!0,o.parentNode.insertBefore(s,o)}}t.addEventListener&&(s=/\(|\)|\s|'/,n=function(e,i){var n=t.createElement("img");n.onload=function(){n.onload=null,n.onerror=null,n=null,i()},n.onerror=n.onload,n.src=e,n&&n.complete&&n.onload&&n.onload()},addEventListener("lazybeforeunveil",(function(e){var t,r,a;if(e.detail.instance==i&&!e.defaultPrevented){var l=e.target;if("none"==l.preload&&(l.preload=l.getAttribute("data-preload")||"auto"),null!=l.getAttribute("data-autoplay"))if(l.getAttribute("data-expand")&&!l.autoplay)try{l.play()}catch(e){}
2else requestAnimationFrame((function(){l.setAttribute("data-expand","-10"),i.aC(l,i.cfg.lazyClass)}));(t=l.getAttribute("data-link"))&&o(t,!0),(t=l.getAttribute("data-script"))&&(e.detail.firesLoad=!0,o(t,null,(function(){e.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)}))),(t=l.getAttribute("data-require"))&&(i.cfg.requireJs?i.cfg.requireJs([t]):o(t)),(r=l.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,n(r,(function(){l.style.backgroundImage="url("+(s.test(r)?JSON.stringify(r):r)+")",e.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)}))),(a=l.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,n(a,(function(){l.poster=a,e.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)})))}}),!1))}))},257:()=>{},490:()=>{},901:()=>{},955:()=>{},887:()=>{}},i={};function n(e){var s=i[e];if(void 0!==s)return s.exports;var r=i[e]={exports:{}};return t[e].call(r.exports,r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,i,s,r)=>{if(!i){var o=1/0;for(d=0;d<e.length;d++){for(var[i,s,r]=e[d],a=!0,l=0;l<i.length;l++)(!1&r||o>=r)&&Object.keys(n.O).every((e=>n.O[e](i[l])))?i.splice(l--,1):(a=!1,r<o&&(o=r));if(a){e.splice(d--,1);var c=s();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,s,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={881:0,407:0,126:0,839:0,590:0,395:0};n.O.j=t=>0===e[t];var t=(t,i)=>{var s,r,[o,a,l]=i,c=0;if(o.some((t=>0!==e[t]))){for(s in a)n.o(a,s)&&(n.m[s]=a[s]);if(l)var d=l(n)}for(t&&t(i);c<o.length;c++)r=o[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(d)},i=self.webpackChunkmarchegare=self.webpackChunkmarchegare||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),n.O(void 0,[407,126,839,590,395],(()=>n(643))),n.O(void 0,[407,126,839,590,395],(()=>n(257))),n.O(void 0,[407,126,839,590,395],(()=>n(490))),n.O(void 0,[407,126,839,590,395],(()=>n(901))),n.O(void 0,[407,126,839,590,395],(()=>n(955)));var s=n.O(void 0,[407,126,839,590,395],(()=>n(887)));s=n.O(s)})();

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.