!function(){var e={12:function(e,t){const i=function(){function e(e,n){let s=Object.assign({},{include:[],exclude:[],includeFilter:null,excludeFilter:null},n),r={};for(let n of e.elements){let e=n.tagName,a=n.type;if(("INPUT"!==e||"password"!==a&&"file"!==a)&&(!i(n.name,s.include,s.exclude)&&!o(n,s.includeFilter,s.excludeFilter)))if("INPUT"===e){let e=n.type;"radio"===e?n.checked&&t(r,n.name,n.value):t(r,n.name,"checkbox"===e?n.checked:n.value)}else if("TEXTAREA"===e)t(r,n.name,n.value);else if("SELECT"===e)if(n.multiple)for(let e of n.options)e.selected&&t(r,n.name,e.value);else t(r,n.name,n.value)}return r}function t(e,t,i){t in e||(e[t]=[]),e[t].push(i)}function i(e,t,i){return!e||(!!i.includes(e)||t.length>0&&!t.includes(e))}function o(e,t,i){return!(!i||!i(e))||!(!t||t(e))}function n(t,i){let o=Object.assign({},{uuid:null,useSessionStorage:!1},i),n=e(t,o);(o.useSessionStorage?sessionStorage:localStorage).setItem(d(t,o.uuid),JSON.stringify(n))}function s(e,t,n){let s=Object.assign({},{valueFunctions:null,include:[],exclude:[],includeFilter:null,excludeFilter:null},n),r=[];null!==s.valueFunctions&&(r=function(e,t,o){let n=[];for(let s in o.valueFunctions)if(s in e){if(i(s,o.include,o.exclude))continue;for(let i of e[s])o.valueFunctions[s](t,i);n.push(s)}return n}(t,e,s));for(let n in t)if(!i(n,s.include,s.exclude)&&!r.includes(n)){[...e.elements].filter((e=>e.name===n&&!o(e,s.includeFilter,s.excludeFilter))).forEach(((e,i)=>{l(e,t[n],i)}))}}function r(e,t){let i=Object.assign({},{uuid:null,useSessionStorage:!1},t),o=(i.useSessionStorage?sessionStorage:localStorage).getItem(d(e,i.uuid));if(o){s(e,JSON.parse(o),t)}}function a(e,t){let i=Object.assign({},{uuid:null,useSessionStorage:!1},t);(i.useSessionStorage?sessionStorage:localStorage).removeItem(d(e,i.uuid))}function l(e,t,i){let o=e.tagName;if("INPUT"===o){let o=e.type;"radio"===o?e.checked=e.value===t[0]:"checkbox"===o?e.checked=t[i]:e.value=t[i]}else if("TEXTAREA"===o)e.value=t[i];else if("SELECT"===o)if(e.multiple)for(let i of e.options)i.selected=t.includes(i.value);else e.value=t[i]}function d(e,t){if(!t&&!e.id)throw Error("form persistence requires a form id or uuid");return"form#"+(t||e.id)}return{persist:function(e,t){let i=Object.assign({},{saveOnSubmit:!1},t);r(e,i);let o=()=>n(e,i),s=()=>{window.removeEventListener("unload",o),o()};window.addEventListener("beforeunload",s),window.addEventListener("unload",o),i.saveOnSubmit||e.addEventListener("submit",(()=>{window.removeEventListener("beforeunload",s),window.removeEventListener("unload",o),a(e,i)}))},load:r,save:n,clearStorage:a,serialize:e,deserialize:s}}();e.exports&&(e.exports=i)},74:function(e,t,i){var o,n,s;
/*!
 * jQuery UI Keycode 1.14.1
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(){"use strict";n=[i(669),i(340)],void 0===(s="function"==typeof(o=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?o.apply(t,n):o)||(e.exports=s)}()},336:function(){document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("body"),t=document.querySelectorAll(".video-modal");(t instanceof Node||t instanceof NodeList)&&t.forEach((function(t){console.log({modal:t});var i=t.getAttribute("id"),o=document.querySelector('[data-modal-id="'+i+'"]');if(o instanceof HTMLElement){var n=t.querySelector(".video-js");if(n instanceof HTMLElement){var s=t.querySelector(".video-modal__close");s instanceof HTMLElement&&s.addEventListener("click",(function(){t.classList.remove("active"),e.classList.remove("no-scroll"),window.videojs.getPlayer(n).ready((function(){this.pause()}))})),o.addEventListener("click",(function(i){i.preventDefault(),t.classList.add("active"),e.classList.add("no-scroll"),window.videojs.getPlayer(n).ready((function(){this.play()}))})),t.addEventListener("click",(function(i){i.target===t&&(t.classList.remove("active"),e.classList.remove("no-scroll"),window.videojs.getPlayer(n).ready((function(){this.pause()})))})),document.addEventListener("keydown",(function(i){"Escape"===i.key&&(t.classList.remove("active"),e.classList.remove("no-scroll"),window.videojs.getPlayer(n).ready((function(){this.pause()})))})),document.addEventListener("visibilitychange",(function(){t.classList.contains("active")&&("hidden"===document.visibilityState&&window.videojs.getPlayer(n).ready((function(){this.pause()})),"visible"===document.visibilityState&&window.videojs.getPlayer(n).ready((function(){this.play()})))}))}else console.log("no video")}else console.log("no trigger")}))}))},340:function(e,t,i){var o,n,s;!function(){"use strict";n=[i(669)],void 0===(s="function"==typeof(o=function(e){return e.ui=e.ui||{},e.ui.version="1.14.1"})?o.apply(t,n):o)||(e.exports=s)}()},449:function(e,t,i){var o,n,s;
/*!
 * jQuery UI Slider 1.14.1
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(){"use strict";n=[i(669),i(821),i(74),i(340),i(934)],o=function(e){return e.widget("ui.slider",e.ui.mouse,{version:"1.14.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,i,o=this.options,n=this.element.find(".ui-slider-handle"),s="<span tabindex='0'></span>",r=[];for(i=o.values&&o.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),t=n.length;t<i;t++)r.push(s);this.handles=n.add(e(r.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,o,n,s,r,a,l,d=this,c=this.options;return!c.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:t.pageX,y:t.pageY},o=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var i=Math.abs(o-d.values(t));(n>i||n===i&&(t===d._lastChangedValue||d.values(t)===c.min))&&(n=i,s=e(this),r=t)})),!1!==this._start(t,r)&&(this._mouseSliding=!0,this._handleIndex=r,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),a=s.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,r,o),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,o,n,s;return"horizontal"===this.orientation?(t=this.elementSize.width,i=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,i=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(o=i/t)>1&&(o=1),o<0&&(o=0),"vertical"===this.orientation&&(o=1-o),n=this._valueMax()-this._valueMin(),s=this._valueMin()+o*n,this._trimAlignValue(s)},_uiHash:function(e,t,i){var o={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(o.value=void 0!==t?t:this.values(e),o.values=i||this.values()),o},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var o,n=this.value(),s=this.values();this._hasMultipleValues()&&(o=this.values(t?0:1),n=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(o,i):Math.max(o,i)),s[t]=i),i!==n&&!1!==this._trigger("slide",e,this._uiHash(t,i,s))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,o,n;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,o=arguments[0],n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(o[n]),this._change(null,n);this._refreshValue()},_setOption:function(e,t){var i,o=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(o=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=o-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i,o;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this._hasMultipleValues()){for(i=this.options.values.slice(),o=0;o<i.length;o+=1)i[o]=this._trimAlignValue(i[o]);return i}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,i=(e-this._valueMin())%t,o=e-i;return 2*Math.abs(i)>=t&&(o+=i>0?t:-t),parseFloat(o.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),i=t.indexOf(".");return-1===i?0:t.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,o,n,s,r=this.options.range,a=this.options,l=this,d=!this._animateOff&&a.animate,c={};this._hasMultipleValues()?this.handles.each((function(o){i=(l.values(o)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=i+"%",e(this).stop(1,1)[d?"animate":"css"](c,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===o&&l.range.stop(1,1)[d?"animate":"css"]({left:i+"%"},a.animate),1===o&&l.range[d?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:a.animate})):(0===o&&l.range.stop(1,1)[d?"animate":"css"]({bottom:i+"%"},a.animate),1===o&&l.range[d?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:a.animate}))),t=i})):(o=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(o-n)/(s-n)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[d?"animate":"css"](c,a.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({width:i+"%"},a.animate),"max"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({width:100-i+"%"},a.animate),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({height:i+"%"},a.animate),"max"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[d?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(t){var i,o,n,s=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,s)))return}switch(n=this.options.step,i=o=this._hasMultipleValues()?this.values(s):this.value(),t.keyCode){case e.ui.keyCode.HOME:o=this._valueMin();break;case e.ui.keyCode.END:o=this._valueMax();break;case e.ui.keyCode.PAGE_UP:o=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(i===this._valueMax())return;o=this._trimAlignValue(i+n);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;o=this._trimAlignValue(i-n)}this._slide(t,s,o)},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),this._removeClass(e(t.target),null,"ui-state-active"))}}})},void 0===(s="function"==typeof o?o.apply(t,n):o)||(e.exports=s)}()},620:function(e,t,i){var o,n;!function(){if(null===(typeof window!=="undefined"?window:null))throw new Error("Google-maps package can be used only in browser");void 0===(n="function"==typeof(o=function(){"use strict";var e="3.31",t=null,i=null,o=!1,n=[],s=[],r=null,a={URL:"https://maps.googleapis.com/maps/api/js",KEY:null,LIBRARIES:[],CLIENT:null,CHANNEL:null,LANGUAGE:null,REGION:null};a.VERSION=e,a.WINDOW_CALLBACK_NAME="__google_maps_api_provider_initializator__",a._googleMockApiObject={},a.load=function(e){null===i?!0===o?e&&n.push(e):(o=!0,window[a.WINDOW_CALLBACK_NAME]=function(){l(e)},a.createLoader()):e&&e(i)},a.createLoader=function(){(t=document.createElement("script")).type="text/javascript",t.src=a.createUrl(),document.body.appendChild(t)},a.isLoaded=function(){return null!==i},a.createUrl=function(){var e=a.URL;return e+="?callback="+a.WINDOW_CALLBACK_NAME,a.KEY&&(e+="&key="+a.KEY),a.LIBRARIES.length>0&&(e+="&libraries="+a.LIBRARIES.join(",")),a.CLIENT&&(e+="&client="+a.CLIENT),a.CHANNEL&&(e+="&channel="+a.CHANNEL),a.LANGUAGE&&(e+="&language="+a.LANGUAGE),a.REGION&&(e+="&region="+a.REGION),a.VERSION&&(e+="&v="+a.VERSION),e},a.release=function(l){var d=function(){a.KEY=null,a.LIBRARIES=[],a.CLIENT=null,a.CHANNEL=null,a.LANGUAGE=null,a.REGION=null,a.VERSION=e,i=null,o=!1,n=[],s=[],void 0!==window.google&&delete window.google,void 0!==window[a.WINDOW_CALLBACK_NAME]&&delete window[a.WINDOW_CALLBACK_NAME],null!==r&&(a.createLoader=r,r=null),null!==t&&(t.parentElement.removeChild(t),t=null),l&&l()};o?a.load((function(){d()})):d()},a.onLoad=function(e){s.push(e)},a.makeMock=function(){r=a.createLoader,a.createLoader=function(){window.google=a._googleMockApiObject,window[a.WINDOW_CALLBACK_NAME]()}};var l=function(e){var t;for(o=!1,null===i&&(i=window.google),t=0;t<s.length;t++)s[t](i);for(e&&e(i),t=0;t<n.length;t++)n[t](i);n=[]};return a})?o.call(t,i,t,e):o)||(e.exports=n)}()},654:function(e,t,i){var o,n;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(s){if(void 0===(n="function"==typeof(o=s)?o.call(t,i,t,e):o)||(e.exports=n),e.exports=s(),!!0){var r=window.Cookies,a=window.Cookies=s();a.noConflict=function(){return window.Cookies=r,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var i=arguments[e];for(var o in i)t[o]=i[o]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(o){function n(){}function s(t,i,s){if("undefined"!=typeof document){"number"==typeof(s=e({path:"/"},n.defaults,s)).expires&&(s.expires=new Date(1*new Date+864e5*s.expires)),s.expires=s.expires?s.expires.toUTCString():"";try{var r=JSON.stringify(i);/^[\{\[]/.test(r)&&(i=r)}catch(e){}i=o.write?o.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,!0!==s[l]&&(a+="="+s[l].split(";")[0]));return document.cookie=t+"="+i+a}}function r(e,i){if("undefined"!=typeof document){for(var n={},s=document.cookie?document.cookie.split("; "):[],r=0;r<s.length;r++){var a=s[r].split("="),l=a.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var d=t(a[0]);if(l=(o.read||o)(l,d)||t(l),i)try{l=JSON.parse(l)}catch(e){}if(n[d]=l,e===d)break}catch(e){}}return e?n[e]:n}}return n.set=s,n.get=function(e){return r(e,!1)},n.getJSON=function(e){return r(e,!0)},n.remove=function(t,i){s(t,"",e(i,{expires:-1}))},n.defaults={},n.withConverter=i,n}((function(){}))}))},669:function(e){"use strict";e.exports=jQuery},821:function(e,t,i){var o,n,s;
/*!
 * jQuery UI Mouse 1.14.1
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(){"use strict";n=[i(669),i(340),i(934)],void 0===(s="function"==typeof(o=function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.14.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var o=this,n=1===i.which,s="string"==typeof this.options.cancel&&e(i.target).closest(this.options.cancel).length;return!(n&&!s&&this._mouseCapture(i))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){o.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return o._mouseMove(e)},this._mouseUpDelegate=function(e){return o._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved&&!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e);return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&e.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,i.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?o.apply(t,n):o)||(e.exports=s)}()},934:function(e,t,i){var o,n,s;
/*!
 * jQuery UI Widget 1.14.1
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(){"use strict";n=[i(669),i(340)],o=function(e){var t=0,i=Array.prototype.hasOwnProperty,o=Array.prototype.slice;return e.cleanData=function(t){return function(i){var o,n,s;for(s=0;null!=(n=i[s]);s++)(o=e._data(n,"events"))&&o.remove&&e(n).triggerHandler("remove");t(i)}}(e.cleanData),e.widget=function(t,i,o){var n,s,r,a={},l=t.split(".")[0];if("__proto__"===(t=t.split(".")[1])||"constructor"===t)return e.error("Invalid widget name: "+t);var d=l+"-"+t;return o||(o=i,i=e.Widget),Array.isArray(o)&&(o=e.extend.apply(null,[{}].concat(o))),e.expr.pseudos[d.toLowerCase()]=function(t){return!!e.data(t,d)},e[l]=e[l]||{},n=e[l][t],s=e[l][t]=function(e,t){if(!this||!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},e.extend(s,n,{version:o.version,_proto:e.extend({},o),_childConstructors:[]}),(r=new i).options=e.widget.extend({},r.options),e.each(o,(function(e,t){a[e]="function"==typeof t?function(){function o(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,s=this._superApply;return this._super=o,this._superApply=n,e=t.apply(this,arguments),this._super=i,this._superApply=s,e}}():t})),s.prototype=e.widget.extend(r,{widgetEventPrefix:n&&r.widgetEventPrefix||t},a,{constructor:s,namespace:l,widgetName:t,widgetFullName:d}),n?(e.each(n._childConstructors,(function(t,i){var o=i.prototype;e.widget(o.namespace+"."+o.widgetName,s,i._proto)})),delete n._childConstructors):i._childConstructors.push(s),e.widget.bridge(t,s),s},e.widget.extend=function(t){for(var n,s,r=o.call(arguments,1),a=0,l=r.length;a<l;a++)for(n in r[a])s=r[a][n],i.call(r[a],n)&&void 0!==s&&(e.isPlainObject(s)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],s):e.widget.extend({},s):t[n]=s);return t},e.widget.bridge=function(t,i){var n=i.prototype.widgetFullName||t;e.fn[t]=function(s){var r="string"==typeof s,a=o.call(arguments,1),l=this;return r?this.length||"instance"!==s?this.each((function(){var i,o=e.data(this,n);return"instance"===s?(l=o,!1):o?"function"!=typeof o[s]||"_"===s.charAt(0)?e.error("no such method '"+s+"' for "+t+" widget instance"):(i=o[s].apply(o,a))!==o&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+s+"'")})):l=void 0:(a.length&&(s=e.widget.extend.apply(null,[s].concat(a))),this.each((function(){var t=e.data(this,n);t?(t.option(s||{}),t._init&&t._init()):e.data(this,n,new i(s,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,o){o=e(o||this.defaultElement||this)[0],this.element=e(o),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},o!==this&&(e.data(o,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===o&&this.destroy()}}),this.document=e(o.style?o.ownerDocument:o.document||o),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,i){t._removeClass(i,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var o,n,s,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},o=t.split("."),t=o.shift(),o.length){for(n=r[t]=e.widget.extend({},this.options[t]),s=0;s<o.length-1;s++)n[o[s]]=n[o[s]]||{},n=n[o[s]];if(t=o.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];r[t]=i}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,o,n;for(i in t)n=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&n&&n.length&&(o=e(n.get()),this._removeClass(n,i),o.addClass(this._classes({element:o,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],o=this;function n(){var i=[];t.element.each((function(t,n){e.map(o.classesElementLookup,(function(e){return e})).some((function(e){return e.is(n)}))||i.push(n)})),o._on(e(i),{remove:"_untrackClassesElement"})}function s(s,r){var a,l;for(l=0;l<s.length;l++)a=o.classesElementLookup[s[l]]||e(),t.add?(n(),a=e(e.uniqueSort(a.get().concat(t.element.get())))):a=e(a.not(t.element).get()),o.classesElementLookup[s[l]]=a,i.push(s[l]),r&&t.classes[s[l]]&&i.push(t.classes[s[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&s(t.keys.match(/\S+/g)||[],!0),t.extra&&s(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,(function(o,n){-1!==e.inArray(t.target,n)&&(i.classesElementLookup[o]=e(n.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,o){o="boolean"==typeof o?o:i;var n="string"==typeof e||null===e,s={extra:n?t:i,keys:n?e:t,element:n?this.element:e,add:o};return s.element.toggleClass(this._classes(s),o),this},_on:function(t,i,o){var n,s=this;"boolean"!=typeof t&&(o=i,i=t,t=!1),o?(i=n=e(i),this.bindings=this.bindings.add(i)):(o=i,i=this.element,n=this.widget()),e.each(o,(function(o,r){function a(){if(t||!0!==s.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof r?s[r]:r).apply(s,arguments)}"string"!=typeof r&&(a.guid=r.guid=r.guid||a.guid||e.guid++);var l=o.match(/^([\w:-]*)\s*(.*)$/),d=l[1]+s.eventNamespace,c=l[2];c?n.on(d,c,a):i.on(d,a)}))},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?o[e]:e).apply(o,arguments)}var o=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,o){var n,s,r=this.options[t];if(o=o||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(n in s)n in i||(i[n]=s[n]);return this.element.trigger(i,o),!("function"==typeof r&&!1===r.apply(this.element[0],[i].concat(o))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,i){e.Widget.prototype["_"+t]=function(o,n,s){var r;"string"==typeof n&&(n={effect:n});var a=n?!0===n||"number"==typeof n?i:n.effect||i:t;"number"==typeof(n=n||{})?n={duration:n}:!0===n&&(n={}),r=!e.isEmptyObject(n),n.complete=s,n.delay&&o.delay(n.delay),r&&e.effects&&e.effects.effect[a]?o[t](n):a!==t&&o[a]?o[a](n.duration,n.easing,s):o.queue((function(i){e(this)[t](),s&&s.call(o[0]),i()}))}})),e.widget},void 0===(s="function"==typeof o?o.apply(t,n):o)||(e.exports=s)}()},966:function(e,t,i){var o,n,s;!function(){"use strict";n=[i(669)],o=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(i,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,n=e(i).data("slick")||{},s.options=e.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=t++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?e(t).appendTo(n.$slideTrack):o?e(t).insertBefore(n.$slides.eq(i)):e(t).insertAfter(n.$slides.eq(i)):!0===o?e(t).prependTo(n.$slideTrack):e(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),n.$slidesCache=n.$slides,n.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var o={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),e({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),!1===n.options.vertical?(o[n.animType]="translate("+e+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?o[n.animType]="translate3d("+t+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout((function(){n.disableTransition(),i.call()}),n.options.speed))},t.prototype.getNavTarget=function(){var t=this,i=t.options.asNavFor;return i&&null!==i&&(i=e(i).not(t.$slider)),i},t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},t.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(o.options.dotsClass),t=0;t<=o.getDotCount();t+=1)i.append(e("<li />").append(o.options.customPaging.call(this,o,t)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,o,n,s,r,a=this;if(o=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/r),e=0;e<n;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var d=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=e*r+(t*a.options.slidesPerRow+i);s.get(c)&&d.appendChild(s.get(c))}l.appendChild(d)}o.appendChild(l)}a.$slider.empty().append(o),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,i){var o,n,s,r=this,a=!1,l=r.$slider.width(),d=window.innerWidth||e(window).width();if("window"===r.respondTo?s=d:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(d,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(o in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[o]&&(n=r.breakpoints[o]):s>r.breakpoints[o]&&(n=r.breakpoints[o]));null!==n?null!==r.activeBreakpoint?(n!==r.activeBreakpoint||i)&&(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),a=n),t||!1===a||r.$slider.trigger("breakpoint",[r,a])}},t.prototype.changeSlide=function(t,i){var o,n,s=this,r=e(t.currentTarget);switch(r.is("a")&&t.preventDefault(),r.is("li")||(r=r.closest("li")),o=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":n=0===o?s.options.slidesToScroll:s.options.slidesToShow-o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-n,!1,i);break;case"next":n=0===o?s.options.slidesToScroll:o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+n,!1,i);break;case"index":var a=0===t.data.index?0:t.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var o in t){if(e<t[o]){e=i;break}i=t[o]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var o=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=o.is(":focus"),t.autoPlay())}),0)}))},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,o=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++o;else for(;t<e.slideCount;)++o,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)o=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++o,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else o=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return o-1},t.prototype.getLeft=function(e){var t,i,o,n,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,n=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?n=-1.5:1===s.options.slidesToShow&&(n=-2)),r=i*s.options.slidesToShow*n),s.slideCount%s.options.slidesToScroll!=0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(e-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(e+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*i*-1+r,!0===s.options.variableWidth&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===s.options.centerMode&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,t+=(s.$list.width()-o.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,o=0,n=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,o=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)n.push(i),i=o+t.options.slidesToScroll,o+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each((function(n,s){if(s.offsetLeft-i+e(s).outerWidth()/2>-1*o.swipeLeft)return t=s,!1})),Math.abs(e(t).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),o=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){var n=o.indexOf(i);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==n&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+n})})),t.$dots.attr("role","tablist").find("li").each((function(n){var s=o[n];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+n,"aria-controls":"slick-slide"+t.instanceUid+s,"aria-label":n+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var n=t.currentSlide,s=n+t.options.slidesToShow;n<s;n++)t.$slides.eq(n).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),o=e(this).attr("data-srcset"),n=e(this).attr("data-sizes")||s.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){t.animate({opacity:0},100,(function(){o&&(t.attr("srcset",o),n&&t.attr("sizes",n)),t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),s.$slider.trigger("lazyLoaded",[s,t,i])}))},r.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,t,i])},r.src=i}))}var i,o,n,s=this;if(!0===s.options.centerMode?!0===s.options.infinite?n=(o=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(o=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),n=s.options.slidesToShow/2+1+2+s.currentSlide):(o=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,n=Math.ceil(o+s.options.slidesToShow),!0===s.options.fade&&(o>0&&o--,n<=s.slideCount&&n++)),i=s.$slider.find(".slick-slide").slice(o,n),"anticipated"===s.options.lazyLoad)for(var r=o-1,a=n,l=s.$slider.find(".slick-slide"),d=0;d<s.options.slidesToScroll;d++)r<0&&(r=s.slideCount-1),i=(i=i.add(l.eq(r))).add(l.eq(a)),r--,a++;t(i),s.slideCount<=s.options.slidesToShow?t(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?t(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&t(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,o,n,s,r,a=this,l=e("img[data-lazy]",a.$slider);l.length?(i=l.first(),o=i.attr("data-lazy"),n=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){n&&(i.attr("srcset",n),s&&i.attr("sizes",s)),i.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,o]),a.progressiveLazyLoad()},r.onerror=function(){t<3?setTimeout((function(){a.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,o]),a.progressiveLazyLoad())},r.src=o):a.$slider.trigger("allImagesLoaded",[a])},t.prototype.refresh=function(t){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),e.extend(n,n.initials,{currentSlide:i}),n.init(),t||n.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,o,n=this,s=n.options.responsive||null;if("array"===e.type(s)&&s.length){for(t in n.respondTo=n.options.respondTo||"window",s)if(o=n.breakpoints.length-1,s.hasOwnProperty(t)){for(i=s[t].breakpoint;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=s[t].settings}n.breakpoints.sort((function(e,t){return n.options.mobileFirst?e-t:t-e}))}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var o=this;if(e="boolean"==typeof e?!0===(t=e)?0:o.slideCount-1:!0===t?--e:e,o.slideCount<1||e<0||e>o.slideCount-1)return!1;o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(e).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},t.prototype.setCSS=function(e){var t,i,o=this,n={};!0===o.options.rtl&&(e=-e),t="left"==o.positionProp?Math.ceil(e)+"px":"0px",i="top"==o.positionProp?Math.ceil(e)+"px":"0px",n[o.positionProp]=e,!1===o.transformsEnabled?o.$slideTrack.css(n):(n={},!1===o.cssTransitions?(n[o.animType]="translate("+t+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+t+", "+i+", 0px)",o.$slideTrack.css(n)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each((function(o,n){t=i.slideWidth*o*-1,!0===i.options.rtl?e(n).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}):e(n).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,o,n,s,r=this,a=!1;if("object"===e.type(arguments[0])?(o=arguments[0],a=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[o]=n;else if("multiple"===s)e.each(o,(function(e,t){r.options[e]=t}));else if("responsive"===s)for(i in n)if("array"!==e.type(r.options.responsive))r.options.responsive=[n[i]];else{for(t=r.options.responsive.length-1;t>=0;)r.options.responsive[t].breakpoint===n[i].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(n[i])}a&&(r.unload(),r.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,i,o,n,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(e).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;t=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t+r,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(o=s.options.slidesToShow+e,i.slice(o-t+1+r,o+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,o=!0===s.options.infinite?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?i.slice(o-(s.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},t.prototype.setupInfinite=function(){var t,i,o,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-o;t-=1)i=t-1,e(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<o+n.slideCount;t+=1)i=t,e(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},t.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},t.prototype.selectHandler=function(t){var i=this,o=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),n=parseInt(o.attr("data-slick-index"));n||(n=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(n,!1,!0):i.slideHandler(n)},t.prototype.slideHandler=function(e,t,i){var o,n,s,r,a,l=null,d=this;if(t=t||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===e))if(!1===t&&d.asNavFor(e),o=e,l=d.getLeft(o),r=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?r:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(e<0||e>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==i?d.animateSlide(r,(function(){d.postSlide(o)})):d.postSlide(o));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(e<0||e>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==i?d.animateSlide(r,(function(){d.postSlide(o)})):d.postSlide(o));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),n=o<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,n]),s=d.currentSlide,d.currentSlide=n,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(a=(a=d.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==i?(d.fadeSlideOut(s),d.fadeSlide(n,(function(){d.postSlide(n)}))):d.postSlide(n),void d.animateHeight();!0!==i?d.animateSlide(l,(function(){d.postSlide(n)})):d.postSlide(n)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,o,n=this;return e=n.touchObject.startX-n.touchObject.curX,t=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(t,e),(o=Math.round(180*i/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?!1===n.options.rtl?"left":"right":o>=135&&o<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(t),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,o,n,s,r,a=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),n=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(n=a.touchObject.curY>a.touchObject.startY?1:-1),o=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(o=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+o*n:a.swipeLeft=t+o*(a.$list.height()/a.listWidth)*n,!0===a.options.verticalSwiping&&(a.swipeLeft=t+o*n),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},t.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,o=this,n=arguments[0],s=Array.prototype.slice.call(arguments,1),r=o.length;for(e=0;e<r;e++)if("object"==typeof n||void 0===n?o[e].slick=new t(o[e],n):i=o[e].slick[n].apply(o[e].slick,s),void 0!==i)return i;return o}},void 0===(s="function"==typeof o?o.apply(t,n):o)||(e.exports=s)}()}},t={};function i(o){var n=t[o];if(void 0!==n)return n.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,i),s.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";i(669);function e(e){return""+e.charAt(0).toLowerCase()+e.replace(/[\W_]/g,"|").split("|").map((function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)})).join("").slice(1)}var t=function(e){this.routes=e};t.prototype.fire=function(e,t,i){void 0===t&&(t="init"),document.dispatchEvent(new CustomEvent("routed",{bubbles:!0,detail:{route:e,fn:t}}));var o=""!==e&&this.routes[e]&&"function"==typeof this.routes[e][t];o&&this.routes[e][t](i)},t.prototype.loadEvents=function(){var t=this;this.fire("common"),document.body.className.toLowerCase().replace(/-/g,"_").split(/\s+/).map(e).forEach((function(e){t.fire(e),t.fire(e,"finalize")})),this.fire("common","finalize")};var o=t,n=i(669),s={init:function(){n('a[href*="#"]').not('[href="#"]').not('[href="#0"]').not('[href=".not-scroll"]').click((function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=n(this.hash);(e=e.length?e:n("[name="+this.hash.slice(1)+"]")).length&&n("html, body").animate({scrollTop:e.offset().top},1e3,(function(){var t=n(e);if(t.focus(),t.is(":focus"))return!1;t.attr("tabindex","-1"),t.focus()}))}}))},finalize:function(){var e=document.querySelector("#toggle-mobile-menu"),t=document.querySelector(".navbar__items");e.addEventListener("click",(function(){t.classList.toggle("open"),e.classList.toggle("active")})),n("[data-rating]").each((function(){var e=n(this),t=e.data("rating");t=10*t*2,e.css("width",t+"%")}));var i=function(e){for(var t=e+"=",i=decodeURIComponent(document.cookie).split(";"),o=0;o<i.length;o++){for(var n=i[o];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(t))return n.substring(t.length,n.length)}return""}("affcode"),o=document.querySelector("#header .navbar__cta-second");if(o instanceof HTMLElement&&""!==i){var s=o.href,r=new URL(s),a=r.searchParams;a.set("affcode",i),r.search=a.toString(),o.href=r.toString()}n("body").on("click","#load-more-articles",(function(e){e.preventDefault();var t=n(this);n.ajax({url:window.category_data.url,data:{action:"category_posts",query:window.category_data.posts,page:window.category_data.current_page},type:"POST",beforeSend:function(){t.text("Loading...")},success:function(e){e.success?(t.text("Read More Articles"),n("#articles-list").append(e.data),window.category_data.current_page++,window.category_data.current_page===window.category_data.max_page&&t.remove()):t.remove()}})})),n("body").on("change","#category-change",(function(){this.checked?window.location.href="/category/drones/":window.location.href="/category/airplanes/"})),n("body").on("click","#category-drones",(function(e){e.preventDefault();var t=n("#category-change");t.is(":checked")||(t.prop("checked",!1),window.location.href="/category/drones/")})),n("body").on("click","#category-airplanes",(function(e){e.preventDefault();var t=n("#category-change");t.is(":checked")&&(t.prop("checked",!0),window.location.href="/category/airplanes/")}));n(document).on("click",".location__address",(function(e){var t=this;e.preventDefault();var i,o,s=n(this).data("address");s.length>0&&(i=s,(o=document.createElement("input")).type="text",o.value=i,document.body.appendChild(o),o.select(),document.execCommand("Copy"),document.body.removeChild(o),n(this).addClass("location__address-copied"),setTimeout((function(){n(t).removeClass("location__address-copied")}),300))})),n(document).on("change paste keyup",".location-location select",(function(){var e=n(this).val();console.log(e,"changed"),e.length&&n.ajax({url:window.ajax_object.url,nonce:window.ajax_object.nonce,method:"POST",data:{action:"get_location_text",query:e},dataType:"json",beforeSend:function(){n(".location-location select").prop("disabled",!0),n(document.body).css({cursor:"wait"})}}).always((function(){n(".location-location select").prop("disabled",!1),n(document.body).css({cursor:"default"})})).done((function(e){e.success&&n(".location-description textarea").val(e.data.text)}))}))}},r=i(669),a={init:function(){},finalize:function(){var e=document.querySelector(".hero-carousel"),t=document.querySelectorAll(".hero-carousel__item"),i=setInterval((function(){var o=e.querySelector(".current");o.classList.remove("current"),o.nextElementSibling?o.nextElementSibling.classList.add("current"):(t[t.length-1].classList.add("current"),clearInterval(i))}),4e3);if(r("#dronesforgood-stories__next").length&&r("#dronesforgood-stories__prev").length){var o=document.querySelector("#dronesforgood-stories__next"),n=document.querySelector("#dronesforgood-stories__prev"),s=document.querySelectorAll(".dronesforgood-stories__slide"),a=document.querySelectorAll(".dronesforgood-stories__dot");o.addEventListener("click",(function(){var e=document.querySelector(".dronesforgood-stories__slide--current"),t=document.querySelector(".dronesforgood-stories__dot--current");e.classList.remove("dronesforgood-stories__slide--current"),t.classList.remove("dronesforgood-stories__dot--current"),e.nextElementSibling?(e.nextElementSibling.classList.add("dronesforgood-stories__slide--current"),t.nextElementSibling.classList.add("dronesforgood-stories__dot--current")):(s[0].classList.add("dronesforgood-stories__slide--current"),a[0].classList.add("dronesforgood-stories__dot--current"))})),n.addEventListener("click",(function(){var e=document.querySelector(".dronesforgood-stories__slide--current"),t=document.querySelector(".dronesforgood-stories__dot--current");e.classList.remove("dronesforgood-stories__slide--current"),t.classList.remove("dronesforgood-stories__dot--current"),e.previousElementSibling?(e.previousElementSibling.classList.add("dronesforgood-stories__slide--current"),t.previousElementSibling.classList.add("dronesforgood-stories__dot--current"),n.classList.contains("dronesforgood-stories__prev-disabled")&&n.classList.remove("dronesforgood-stories__prev-disabled")):(n.classList.add("dronesforgood-stories__prev-disabled"),s[0].classList.add("dronesforgood-stories__slide--current"),a[0].classList.add("dronesforgood-stories__dot--current"))})),a.forEach((function(e){e.addEventListener("click",(function(e){var t=document.querySelector(".dronesforgood-stories__slide--current"),i=document.querySelector(".dronesforgood-stories__dot--current");t.classList.remove("dronesforgood-stories__slide--current"),i.classList.remove("dronesforgood-stories__dot--current");var o=Array.from(a).indexOf(e.target);s[o].classList.add("dronesforgood-stories__slide--current"),a[o].classList.add("dronesforgood-stories__dot--current")}))}))}var l=document.querySelector("#next"),d=document.querySelectorAll(".slide"),c=document.querySelectorAll(".dot");l.addEventListener("click",(function(){var e=document.querySelector(".slide--current"),t=document.querySelector(".dot--current");e.classList.remove("slide--current"),t.classList.remove("dot--current"),e.nextElementSibling?(e.nextElementSibling.classList.add("slide--current"),t.nextElementSibling.classList.add("dot--current")):(d[0].classList.add("slide--current"),c[0].classList.add("dot--current"))})),c.forEach((function(e){e.addEventListener("click",(function(e){var t=document.querySelector(".slide--current"),i=document.querySelector(".dot--current");t.classList.remove("slide--current"),i.classList.remove("dot--current");var o=Array.from(c).indexOf(e.target);console.log(o),d[o].classList.add("slide--current"),c[o].classList.add("dot--current")}))}))}},l=i(669),d={finalize:function(){l("#us-map path, #us-map circle").hover((function(){l("#info-box").css("display","block"),l("#info-box").html(l(this).data("info"))})),l("#us-map path, #us-map circle").mouseleave((function(){l("#info-box").css("display","none")})),l("#us-map path").on("click",(function(){var e=l(this).attr("id"),t=l("#state-"+e);t.length&&l("html, body").animate({scrollTop:t.offset().top},2e3)})),l(document).mousemove((function(e){l("#info-box").css("top",e.pageY-l("#info-box").height()-30),l("#info-box").css("left",e.pageX-l("#info-box").width()/2)})).mouseover(),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&l("a").on("click touchend",(function(){var e=l(this).attr("href");return window.open(e,"_blank"),!1}))}},c=(i(966),i(449),i(669)),u=function(e){var t=Number(e);return t!=t},p=function(){var e=c(".single-post article .entry-content"),t=e.innerWidth(),i=e.find(".container").innerWidth(),o=e.find("p img");o.removeClass("large, small"),o.each((function(){var e=parseInt(c(this).data("width"));if(u(e)){if(0===(e=parseInt(c(this).attr("width"))))return;c(this).attr("data-width",e)}if(e>i&&e<t){var o=e>1100?1100:e,n=(o-i)/2;c(this).attr("width",o),c(this).css("margin-left","-"+n+"px"),c(this).css("margin-right","-"+n+"px"),c(this).css("max-width","unset"),c(this).addClass("large")}else c(this).css("max-width","100%"),c(this).css("margin-left",""),c(this).css("margin-right",""),c(this).addClass("small")}))},h={init:function(){c('.mc4wp-checkbox-wp-comment-form input[name="_mc4wp_subscribe_wp-comment-form"]').after('<span class="checkbox-fake"></span>'),c(document).on("click",".share__link",(function(e){e.preventDefault();var t=c(this).attr("href"),i=void 0!==window.screenLeft?window.screenLeft:screen.left,o=void 0!==window.screenTop?window.screenTop:screen.top,n=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-300+i,s=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/3-200+o,r=window.open(t,"","scrollbars=yes, width=600, height=600, top="+s+", left="+n);window.focus&&r.focus()}));var e=c(".blog-post__content table:not([class]), .single-post .entry-content table:not([class])");if(e.length)for(var t=0;t<e.length;t++)c(e[t]).parent().hasClass("table__wrap")||c(e[t]).wrap('<div class="table__wrap"></div>')},finalize:function(){setTimeout((function(){p(),c(window).resize((function(){p()}))}),50),c(".practice-questions__answer-input").on("change",(function(e){c(".practice-questions__answer").removeClass("practice-questions__answer-sel");var t=c(e.target).attr("name"),i=c(e.target).parent().parent();i.addClass("practice-questions__answer-sel");var o=c("#"+t).find(".practice-questions__explanation");i.hasClass("practice-questions__answer-e")&&o.slideUp(),i.hasClass("practice-questions__answer-c")&&o.slideDown()})),c("body").on("click",".practice-questions__button",(function(e){e.preventDefault();var t=c(e.target).data("form"),i=c("#"+t);document.getElementById(t).reset(),i.find(".practice-questions__answer").removeClass("practice-questions__answer-sel"),c(".practice-questions__explanation").slideUp()})),c(window).ready((function(e){e((function(){var t=e(".scroll-pane"),i=e(".scroll-content"),o=t.width(),n=i.width(),s=(e(".scroll-content-item").outerWidth(!0),e(".scroll-bar").slider({slide:function(e,t){n>o?i.css("margin-left",Math.round(t.value/100*(o-n))+"px"):i.css("margin-left",0)}})),r=s.find(".ui-slider-handle").mousedown((function(){s.width(r.width())})).mouseup((function(){s.width("100%")})).append("<span class='ui-icon ui-icon-grip-dotted-vertical'></span>").wrap("<div class='ui-handle-helper-parent'></div>").parent();function a(){var e=o-(n-o)/n*o;s.find(".ui-slider-handle").css({width:e,"margin-left":-e/2}),r.width("").width(s.width()-e)}function l(){var e=o-n,t="auto"===i.css("margin-left")?0:parseInt(i.css("margin-left")),r=Math.round(t/e*100);s.slider("value",r)}t.css("overflow","hidden"),e(window).resize((function(){var e,s;o=t.width(),n=i.width(),l(),a(),e=n+parseInt(i.css("margin-left"),10),(s=o-e)>0&&i.css("margin-left",parseInt(i.css("margin-left"),10)+s)})),setTimeout(a,10)}))})),this.updateTocReadingProgress(),this.copyUrl(),this.lightboxImagesOnMobile()},updateTocReadingProgress:function(){var e=document.querySelector(".entry-content");if(e instanceof HTMLElement){var t=e.querySelectorAll("h1, h2, h3");if(t.length){var i=e.querySelector(".toc .toc__list");if(i instanceof HTMLElement){var o=window.innerHeight-180;i.style.maxHeight=o+"px",window.addEventListener("resize",(function(){var e=window.innerHeight-180;i.style.maxHeight=e+"px"}));var n=[],s=t.length,r=0;window.addEventListener("scroll",(function(){var o=window.pageYOffset||document.documentElement.scrollTop;n=[],r=0,t.forEach((function(t){var s=t.id,r=e.querySelector('.toc ul li a[href="#'+s+'"]');if(r instanceof HTMLElement){var a=r.closest("li"),d=l(t);d>200&&(d-=100);var c=a.querySelector("input");d<o?(a.classList.add("read"),c instanceof HTMLElement&&void 0!==c.checked&&(c.checked=!0),n.push(t.textContent),function(t){var o=e.querySelectorAll(".toc ul li.toc__item-active");o.length&&o.forEach((function(e){e.classList.remove("toc__item-active")})),t.classList.add("toc__item-active"),i.scrollTo({top:t.offsetTop-200,behavior:"auto"})}(a)):(a.classList.remove("read"),c instanceof HTMLElement&&void 0!==c.checked&&(c.checked=!1),n=n.filter((function(e){return e!==e.textContent})))}})),t.forEach((function(e){l(e)<o+50&&r++}));var a=e.querySelector('div[role="progressbar"]');if(a instanceof HTMLElement){var d=(r/s*100).toFixed(0);a.style.setProperty("--value",d),a.setAttribute("aria-valuenow",d)}}));var a=e.querySelectorAll(".toc ul li a");a.length&&(a.forEach((function(e){var t=e.closest("li");t instanceof HTMLElement&&t.classList.remove("toc__item-active")})),a.forEach((function(e){e.addEventListener("click",(function(){var i=e.textContent.trim();t.forEach((function(e){if(e.textContent.trim()===i){var t=l(e);window.scrollTo({top:t-100,behavior:"smooth"})}}));var o=e.closest("li");o instanceof HTMLElement&&o.classList.add("toc__item-active")}))})))}}}function l(e){var t=0;do{u(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}},copyUrl:function(){var e=document.querySelectorAll(".single-header__social-item__link a");if(e.length){e.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t,i,o=window.location.href;t=o,(i=document.createElement("input")).type="text",i.value=t,document.body.appendChild(i),i.select(),document.execCommand("Copy"),document.body.removeChild(i),alert("The URL has been copied to your clipboard.")}))}))}},cleanHeadingText:function(e){var t=e.textContent.replace("–","-");return t=t.replace("&nbsp;"," "),this.customTrim(t,"+")},customTrim:function(e,t){var i=new RegExp("^[^"+t+"\\S]*|[^"+t+"\\S]*$","g");return e.replace(i,"")},lightboxImagesOnMobile:function(){var e=null,t=1,i=0,o=0,n=0,s=0,r=0,a=!1,l=document.createElement("div");l.className="lightbox";var d=document.createElement("div");function c(){e&&(e.style.transform="scale("+t+") translate("+i/t+"px, "+o/t+"px)")}function u(){if(e){var n=e.getBoundingClientRect(),s=l.getBoundingClientRect(),r=Math.max((n.width*t-s.width)/2,0),a=Math.max((n.height*t-s.height)/2,0);i=Math.min(Math.max(i,-r),r),o=Math.min(Math.max(o,-a),a)}}d.className="zoom-controls",d.innerHTML='<button class="zoom-in"><i class="fas fa-search-plus"></i></button><button class="zoom-out"><i class="fas fa-search-minus"></i></button>',l.appendChild(d),document.body.appendChild(l),document.querySelectorAll(".entry-content__content img").forEach((function(n){n.addEventListener("click",(function(s){s.preventDefault(),(e=n.cloneNode()).classList.add("zoomable-image"),t=1,i=0,o=0,l.innerHTML="",l.appendChild(e),l.appendChild(d),l.classList.add("active"),a=!0,c()}))})),document.querySelector(".zoom-in").addEventListener("click",(function(){t=Math.min(t+.2,3),u(),c()})),document.querySelector(".zoom-out").addEventListener("click",(function(){t=Math.max(t-.2,1),u(),c()})),l.addEventListener("click",(function(n){if(n.target===l)l.classList.remove("active"),a=!1;else if(n.target===e){var s=e.getBoundingClientRect(),r=n.clientX-s.left,d=n.clientY-s.top,p=r-s.width/2,h=d-s.height/2;i=p,o=h,t=Math.min(t+.2,3),u(),c()}})),l.addEventListener("touchmove",(function(e){if(2===e.touches.length){var a=e.touches[0].clientX-e.touches[1].clientX,l=e.touches[0].clientY-e.tches[1].clientY,d=Math.sqrt(a*a+l*l);r&&(t*=d/r,t=Math.max(1,Math.min(t,3)),u(),c()),r=d}else 1===e.touches.length&&(n||s||(n=e.touches[0].clientX,s=e.touches[0].clientY),i+=e.touches[0].clientX-n,o+=e.touches[0].clientY-s,u(),c(),n=e.touches[0].clientX,s=e.touches[0].clientY)})),l.addEventListener("touchend",(function(){n=0,s=0,r=0})),document.addEventListener("keydown",(function(n){"Escape"===n.key&&a&&(l.classList.remove("active"),a=!1,i=0,o=0,t=1,c(),e=null)})),window.addEventListener("resize",(function(){window.innerWidth>768?(l.classList.remove("active"),e=null,a=!1):(a&&(l.classList.add("active"),c()),e&&window.innerWidth<=768&&(i=0,o=0,t=1,c()))}))}},f=i(669),m={init:function(){if(f("[data-until]").length){var e=f("[data-until]").data("until");setInterval((function(){var t=new Date(e);t=Date.parse(t)/1e3;var i=new Date,o=t-(i=Date.parse(i)/1e3),n=Math.floor(o/86400),s=Math.floor((o-86400*n)/3600),r=Math.floor((o-86400*n-3600*s)/60),a=Math.floor(o-86400*n-3600*s-60*r);s<"10"&&(s="0"+s),r<"10"&&(r="0"+r),a<"10"&&(a="0"+a),n>0?n+="days ":n="",s>0?s+="hrs ":s="",r>0?r+="mins ":r="",a=a>0?"and "+a+"s ":"",f(".price__until").html("Available for "+n+s+r+a)}),1e3)}if(f("#dronesforgood-stories__next").length&&f("#dronesforgood-stories__prev").length){var t=document.querySelector("#dronesforgood-stories__next"),i=document.querySelector("#dronesforgood-stories__prev"),o=document.querySelectorAll(".dronesforgood-stories__slide"),n=document.querySelectorAll(".dronesforgood-stories__dot");t.addEventListener("click",(function(){var e=document.querySelector(".dronesforgood-stories__slide--current"),t=document.querySelector(".dronesforgood-stories__dot--current");e.classList.remove("dronesforgood-stories__slide--current"),t.classList.remove("dronesforgood-stories__dot--current"),e.nextElementSibling?(e.nextElementSibling.classList.add("dronesforgood-stories__slide--current"),t.nextElementSibling.classList.add("dronesforgood-stories__dot--current")):(o[0].classList.add("dronesforgood-stories__slide--current"),n[0].classList.add("dronesforgood-stories__dot--current"))})),i.addEventListener("click",(function(){var e=document.querySelector(".dronesforgood-stories__slide--current"),t=document.querySelector(".dronesforgood-stories__dot--current");e.classList.remove("dronesforgood-stories__slide--current"),t.classList.remove("dronesforgood-stories__dot--current"),e.previousElementSibling?(e.previousElementSibling.classList.add("dronesforgood-stories__slide--current"),t.previousElementSibling.classList.add("dronesforgood-stories__dot--current"),i.classList.contains("dronesforgood-stories__prev-disabled")&&i.classList.remove("dronesforgood-stories__prev-disabled")):(i.classList.add("dronesforgood-stories__prev-disabled"),o[0].classList.add("dronesforgood-stories__slide--current"),n[0].classList.add("dronesforgood-stories__dot--current"))})),n.forEach((function(e){e.addEventListener("click",(function(e){var t=document.querySelector(".dronesforgood-stories__slide--current"),i=document.querySelector(".dronesforgood-stories__dot--current");t.classList.remove("dronesforgood-stories__slide--current"),i.classList.remove("dronesforgood-stories__dot--current");var s=Array.from(n).indexOf(e.target);o[s].classList.add("dronesforgood-stories__slide--current"),n[s].classList.add("dronesforgood-stories__dot--current")}))}))}var s=function(e){for(var t=e+"=",i=decodeURIComponent(document.cookie).split(";"),o=0;o<i.length;o++){for(var n=i[o];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(t))return n.substring(t.length,n.length)}return""}("affcode"),r=document.querySelectorAll(".btn--accent");r.length&&""!==s&&r.forEach((function(e){if(e.innerHTML.includes("Enroll")){var t=e.href,i=new URL(t),o=i.searchParams;o.set("affcode",s),i.search=o.toString(),e.href=i.toString()}}))}},v=i(12),g=i.n(v),w=function(e){this.images=e.images||[],this.currentIndex=e.selectedIndex||0,this.zoomPercentage=100,this.panzoomInstance=null,this.isZooming=!1,this.modal=document.querySelector(".quiz-new__modal"),this.modalImage=document.getElementById("modalImage"),this.zoomPercentageText=document.getElementById("zoomPercentage"),this.imageIndexText=document.getElementById("imageIndex"),this.questionText=document.getElementById("question"),this.zoomInBtn=document.getElementById("zoomInBtn"),this.zoomOutBtn=document.getElementById("zoomOutBtn"),this.openNewTabBtn=document.getElementById("openNewTabBtn"),this.closeBtn=document.getElementById("closeBtn"),this.init()};w.prototype.init=function(){var e=this;this.zoomInBtn.addEventListener("click",(function(){return e.zoomIn()})),this.zoomOutBtn.addEventListener("click",(function(){return e.zoomOut()})),this.openNewTabBtn.addEventListener("click",(function(){return e.openImageInNewTab()})),this.closeBtn.addEventListener("click",(function(){return e.closeModal()})),document.addEventListener("keydown",(function(t){return e.handleKeyDown(t)})),this.modal.addEventListener("click",(function(t){return e.handleOutsideClick(t)})),this.updateImage()},w.prototype.updateImage=function(){var e=this;this.panzoomInstance&&this.panzoomInstance.dispose(),this.modalImage.src=this.images[this.currentIndex].media_url,this.imageIndexText.textContent=this.currentIndex+1+" of "+this.images.length,this.panzoomInstance=window.panzoom(this.modalImage,{maxZoom:6,minZoom:1,contain:"outside"}),this.panzoomInstance.on("transform",(function(){var t=e.panzoomInstance.getTransform().scale;e.zoomPercentage=Math.round(100*t),e.zoomPercentageText.textContent=e.zoomPercentage+"%"}))},w.prototype.zoomIn=function(){var e=this;if(!this.isZooming){this.isZooming=!0;var t=this.panzoomInstance.getTransform(),i=t.x,o=t.y,n=t.scale,s=(this.modalImage.clientWidth/2-i)/n,r=(this.modalImage.clientHeight/2-o)/n;this.panzoomInstance.smoothZoom(s,r,1.2),setTimeout((function(){e.isZooming=!1}),300)}},w.prototype.zoomOut=function(){var e=this;if(!this.isZooming){this.isZooming=!0;var t=this.panzoomInstance.getTransform(),i=t.x,o=t.y,n=t.scale,s=(this.modalImage.clientWidth/2-i)/n,r=(this.modalImage.clientHeight/2-o)/n;this.panzoomInstance.smoothZoom(s,r,.8),setTimeout((function(){e.isZooming=!1}),300)}},w.prototype.openImageInNewTab=function(){window.open(this.images[this.currentIndex].media_url,"_blank")},w.prototype.closeModal=function(){this.modal.style.display="none"},w.prototype.handleKeyDown=function(e){"Escape"===e.code&&this.closeModal()},w.prototype.setQuestion=function(e){this.questionText.textContent=e},w.prototype.openModal=function(){this.modal.classList.add("open"),this.modal.style.display="flex"},w.prototype.handleOutsideClick=function(e){this.modalImage.contains(e.target)||this.modal.querySelector(".quiz-new__modal-content").contains(e.target)||this.closeModal()};var y=w,_=i(669),k={layout:function(){return window.quizes_route.quiz_layout||"old"},init:function(){var e=this;if("old"===this.layout()){if(setTimeout((function(){e.resultsScreen()}),0),"undefined"!==g()){var t=_("[data-session_id]").attr("id"),i=document.getElementById(t);g().persist(i)}var o=function(e){var t=e.data("until").split(/[:]+/),i=t[0],n=t[1]-1;if(n<10&&n>=0&&(n="0"+n),n<0&&(n=59),59==n&&(i-=1),e.text(i+":"+n).data("until",i+":"+n),0==i&&0==n){return _(".radio-fake-input").prop("disabled",!0),/^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(_(".quiz__submit-email").val())?(alert("Time is done."),void _(".quiz__form").submit()):void alert("Time is done, please enter your email address and submit the quiz.")}setTimeout((function(){o(e)}),1e3)};_("[data-until]").each((function(){o(_(this))})),_(".quiz__question-answers input").on("change",(function(){_(this).parents(".quiz__question").css("border-color","#b7babc")})),_(".quiz__form").on("submit",(function(e){e.preventDefault();var t=_(this).serialize(),i=!0;_(".quiz__question-answers").each((function(){_(this).find("input:checked").length||(_(this).parent().parent().css("border-color","red"),i=!1)})),i?_.ajax({url:window.ajax_object.url,type:"POST",data:t,dataType:"json",beforeSend:function(){_(".quiz__submit-button").prop("disabled",!0)},success:function(e){var t=_("[data-session_id]").attr("id"),i=document.getElementById(t);g().clearStorage(i),_(".quiz__submit-button").prop("disabled",!1),e.success&&(window.location.href=e.data.url)}}):alert("Please answer all questions.")}))}},finalize:function(){var e=this;"new"===this.layout()&&(this.resultsScreen(),this.listenAnswerClick(),this.listenSubmitButton(),this.listenNextClick(),this.listenSubmitForm(),this.listenGalleryButtonClick(),this.initQuestionGallerySlider(),this.initQuestionExplanationModals(),this.initQuestionExplanationModalsTriggers(),this.listenEmailScreenSubmit(),document.addEventListener("reload-listeners",(function(){e.listenAnswerClick(),e.listenSubmitButton(),e.listenNextClick(),e.listenSubmitForm(),e.listenGalleryButtonClick(),e.initQuestionGallerySlider(),e.initQuestionExplanationModals(),e.initQuestionExplanationModalsTriggers(),e.listenEmailScreenSubmit(),e.resultsScreen()})))},listenAnswerClick:function(){var e=document.querySelectorAll(".quiz-new__question-answer");e instanceof NodeList&&0!==e.length&&e.forEach((function(e){e.addEventListener("click",(function(){var t=this.closest(".quiz-new__question");if(t instanceof HTMLElement&&t.getAttribute("data-unique-id")){var i=t.querySelectorAll(".quiz-new__question-answer__active");i instanceof NodeList&&i.length>0&&i.forEach((function(e){e.classList.remove("quiz-new__question-answer__active");var t=e.querySelector('input[type="radio"]');t instanceof HTMLElement&&(t.checked=!1)})),e.classList.add("quiz-new__question-answer__active");var o=e.querySelector('input[type="radio"]');o instanceof HTMLElement&&(o.checked=!0,o.click())}}))}))},listenNextClick:function(){var e=document.querySelector(".quiz-new__next");e instanceof HTMLElement&&e.addEventListener("click",(function(){var t=document.querySelector(".quiz-new__question-active");if(t instanceof HTMLElement&&t.querySelector(".quiz-new__question-answer__active")instanceof HTMLElement){var i=document.querySelector(".footer");if(i instanceof HTMLElement)if(e.disabled=!0,e.classList.add("is-busy"),e.innerText="Loading...",!t.nextElementSibling){var o=document.querySelector(".quiz__form");if(!(o instanceof HTMLElement))return;fetch(window.ajax_object.url,{method:"POST",body:new FormData(o)}).then((function(e){return e.json()})).then((function(e){!e.success&&e.data.message||e.data.message?alert(e.data.message||e.data.message):e.data.url&&(window.location.href=e.data.url)})).catch((function(e){console.error("Error:",e)}))}else{var n=t.getAttribute("data-unique-id");fetch(window.quizes_route.endpoints.load_footer,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({questionUniqueId:n,quizId:window.quizes_route.quiz_id})}).then((function(e){return e.json()})).then((function(e){if(e.success||!e.message){t.classList.remove("quiz-new__question-active");var o=t.nextElementSibling;o instanceof HTMLElement&&o.classList.add("quiz-new__question-active"),e.footer&&(i.outerHTML=e.footer),document.dispatchEvent(new CustomEvent("reload-listeners"))}else alert(e.message)})).catch((function(e){console.error("Error:",e)})).finally((function(){e.disabled=!1,e.classList.remove("is-busy"),e.innerText="Submit"}))}}}))},listenSubmitButton:function(){var e=document.querySelector(".quiz-new__submit");e instanceof HTMLElement&&e.addEventListener("click",(function(){var t=document.querySelector(".quiz-new__question-active");if(t instanceof HTMLElement){var i=t.querySelector(".quiz-new__question-answer__active");if(i instanceof HTMLElement){var o=document.querySelector(".footer");if(o instanceof HTMLElement){var n=t.getAttribute("data-unique-id"),s=i.getAttribute("data-answer-value");t.classList.add("quiz-new__question-disabled"),e.disabled=!0,e.classList.add("is-busy"),e.innerText="Loading...",fetch(window.quizes_route.endpoints.check_answer,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({questionUniqueId:n,answerValue:s,quizId:window.quizes_route.quiz_id})}).then((function(e){return e.json()})).then((function(e){e.success||!e.message?e.footer&&(o.outerHTML=e.footer,document.dispatchEvent(new CustomEvent("reload-listeners"))):alert(e.message)})).catch((function(e){console.error("Error:",e)})).finally((function(){e.disabled=!1,e.classList.remove("is-busy"),e.innerText="Submit"}))}}else alert("To submit the answer, you must select an option.")}}))},calculateIconPosition:function(){var e=document.querySelector(".quiz-new__results");if(e instanceof HTMLElement){var t=parseInt(e.getAttribute("data-percentage"),10);if(!isNaN(t)){var i,o,n=e.querySelector(".smiley-container");if(n instanceof HTMLElement)t<=50?(i=18+t/50*-33,o=138+t/50*-148):(i=(t-50)/50*-25-15,o=(t-50)/50*125-10),n.style.marginLeft=i+"px",n.style.marginTop=o+"px"}}},listenSubmitForm:function(){var e=this,t=document.querySelector(".quiz__form");t instanceof HTMLElement&&t.addEventListener("submit",(function(i){i.preventDefault(),t.addEventListener("submit",e.submitFormLogic.bind(e))}))},submitFormLogic:function(){var e=document.querySelector(".quiz__form");if(e instanceof HTMLElement){var t=new FormData(e),i=window.ajax_object.url;fetch(i,{method:"POST",body:t}).then((function(e){return e.json()})).then((function(e){e.success||!e.message?e.url&&(window.location.href=e.url):alert(e.message)})).catch((function(e){console.error("Error:",e)}))}},listenGalleryButtonClick:function(){var e=document.querySelector(".quiz-new__question-active");if(e instanceof HTMLElement){var t=e.querySelector(".quiz-new__question-image__open");t instanceof HTMLElement&&t.addEventListener("click",(function(){var i=new y({images:[{media_url:t.getAttribute("data-image-url")}],selectedIndex:0}),o=e.querySelector(".quiz-new__question-title");o instanceof HTMLElement&&i.setQuestion(o.innerText),i.openModal()}))}},initQuestionGallerySlider:function(){void 0!==window.Swiper&&new(0,window.Swiper)(".quiz-new__question-gallery",{autoHeight:!0,pagination:{el:".swiper-pagination",clickable:!0}}).on("slideChange",(function(){document.dispatchEvent(new CustomEvent("reload-listeners"))}))},initQuestionExplanationModalsTriggers:function(){var e=document.querySelectorAll(".footer__content-explanation__button");e instanceof NodeList&&0!==e.length&&e.forEach((function(e){e.addEventListener("click",(function(){var e=this.getAttribute("data-modal-id");if(e){var t=document.querySelector('.question-explanation[data-modal-id="'+e+'"]');t instanceof HTMLElement&&t.classList.add("question-explanation--visible")}}))}))},initQuestionExplanationModals:function(){var e=document.querySelectorAll(".question-explanation");e instanceof NodeList&&0!==e.length&&e.forEach((function(e){var t=e.querySelector(".question-explanation__close"),i=e.querySelector(".question-explanation__overlay"),o=function(){e.classList.remove("question-explanation--visible")};t.addEventListener("click",o),i.addEventListener("click",o),document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.classList.contains("question-explanation--visible")&&o()}))}))},listenEmailScreenSubmit:function(){var e=document.querySelector(".single-quizes--new__not-started");if(e instanceof HTMLElement){var t=e.querySelector(".quiz-new__email");if(t instanceof HTMLElement){var i=t.querySelector(".quiz__submit-email");if(i instanceof HTMLElement){var o=e.querySelector(".quiz-new__email-button");if(o instanceof HTMLElement){var n=e.querySelector(".quiz-new__form");n instanceof HTMLElement&&(document.addEventListener("keydown",(function(t){"Enter"===t.key&&e.classList.contains("single-quizes--new__not-started")&&o.click()})),i.focus(),i.addEventListener("input",(function(){var e=this.value;if(0!==e.length){/^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)?o.disabled=!1:o.disabled=!0}else o.disabled=!0})),o.addEventListener("click",(function(){var o=i.value;if(o){/^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(o)?(t.classList.toggle("qvisible"),t.classList.toggle("qhidden"),n.classList.toggle("qvisible"),n.classList.toggle("qhidden"),e.classList.remove("single-quizes--new__not-started"),document.dispatchEvent(new CustomEvent("reload-listeners"))):alert("Please enter a valid email address.")}else alert("Please enter your email address.")})))}}}}},resultsScreen:function(){console.log("initiated ");var e=document.querySelector("body.quiz__result-page");if(e instanceof HTMLElement){var t=window.posthogData||null;if(t){var i=window.posthog||null;i&&(i.identify(t.email,{email:t.email}),i.capture("lead_gen_quiz",{name:this.decodeHtmlEntities(t.name),score:t.score,source:"WordPress"}))}}},decodeHtmlEntities:function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&#8211;":"–","&#8212;":"—","&#160;":" ","&#169;":"©","&#174;":"®","&#34;":'"',"&#39;":"'"};return e.replace(/&[a-zA-Z]+;|&#\d+;/g,(function(e){return t[e]||(e.startsWith("&#")?String.fromCharCode(e.slice(2,-1)):e)}))}},S=i(669),b={init:function(){S(document).on("click",".dronesforgood__share-link",(function(e){e.preventDefault();var t=S(this).attr("href"),i=void 0!==window.screenLeft?window.screenLeft:screen.left,o=void 0!==window.screenTop?window.screenTop:screen.top,n=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-300+i,s=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/3-200+o,r=window.open(t,"","scrollbars=yes, width=600, height=600, top="+s+", left="+n);window.focus&&r.focus()}))}},T=function(e,t,i,o){void 0===e&&(e=".same-height"),void 0===t&&(t=3),void 0===i&&(i=1),void 0===o&&(o="1024px");var n=document.querySelectorAll(e);n instanceof NodeList&&0!==n.length&&(E(n,e,t,i,o),window.addEventListener("resize",(function(){E(n,e,t,i,o)})))},E=function(e,t,i,o,n){void 0===t&&(t=".same-height"),void 0===i&&(i=3),void 0===o&&(o=1),void 0===n&&(n="1024px");var s=0;window.matchMedia("(max-width: "+n+")").matches&&(i=o),e.forEach((function(e){e.style.height="auto"})),e.forEach((function(e,t){t%i===0&&s++,e.setAttribute("data-row",s)})),e.forEach((function(e,o){if(o%i===0){var n=e.getAttribute("data-row"),s=document.querySelectorAll(t+'[data-row="'+n+'"]'),r=0;s.forEach((function(e){e.offsetHeight>r&&(r=e.offsetHeight)})),s.forEach((function(e){e.style.height=r+"px"}))}}))},x={finalize:function(){var e=this;this.filters(),setTimeout((function(){e.makeElementsSameHeight(),e.testimonials()}),0),document.addEventListener("filterChanged",(function(){e.makeElementsSameHeight()}))},makeElementsSameHeight:function(){T(".title-same-height"),T(".summary-same-height")},filters:function(){var e=document.querySelector(".courses-category-filters");if(e instanceof HTMLElement){var t=e.querySelectorAll(".courses-category-filters__item");t instanceof NodeList&&0!==t.length&&t.forEach((function(e){e.addEventListener("click",(function(){t.forEach((function(e){return e.classList.remove("courses-category-filters__item-active")})),e.classList.add("courses-category-filters__item-active"),e.dispatchEvent(new Event("filterChanged"));var i=e.getAttribute("data-class"),o=Array.from(document.querySelectorAll(".courses-category-posts__post[data-class]")),n=document.querySelector('.courses-category-posts__post[data-class*="force-show"]'),s=[],r=[];"all"===i?s=o:(s=Array.from(document.querySelectorAll(".courses-category-posts__post[data-class*='"+i+"']")),r=o.filter((function(e){return!e.matches("[data-class*='"+i+"']")&&e!==n})),s.length>2&&n?s.splice(2,0,n):n&&s.push(n)),r.forEach((function(e){e.classList.add("hide"),e.classList.remove("show")})),s.forEach((function(e){e.classList.add("show"),e.classList.remove("hide")}))}))}))}},testimonials:function(){void 0!==window.Swiper&&new(0,window.Swiper)(".testimonials-swiper",{slidesPerView:3,spaceBetween:10,scrollbar:{el:".swiper-scrollbar",draggable:!0,hide:!1},breakpoints:{320:{slidesPerView:1},640:{slidesPerView:2},920:{slidesPerView:3}}})}},C={init:function(){var e=document.getElementById("for-fun"),t=document.querySelector("body");e&&e.addEventListener("change",(function(e){e.currentTarget.checked?t.classList.add("no-fun"):t.classList.remove("no-fun")}))}},L={init:function(){var e=this,t=document.querySelectorAll(".count-animate");t.length&&(t.forEach((function(t){var i=parseInt(t.dataset.count);e.animateCounter(i,70,t)})),this.expandTrustpilot())},animateCounter:function(e,t,i){var o=this,n=(e-0)/t,s=0,r=function(){s+=n,i.innerText=o.numberFormat(s.toFixed(0)),s<e?requestAnimationFrame(r):i.innerText=o.numberFormat(e.toFixed(0))};r()},numberFormat:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",").toString().replace(".00","")},expandTrustpilot:function(){var e=document.querySelector(".trustpilot-widget__wrapper");if(e instanceof HTMLElement){var t=document.querySelector(".trustpilot-widget__button");t instanceof HTMLElement&&t.addEventListener("click",(function(){e.classList.add("trustpilot-widget__wrapper-full")}))}}},$=i(669),A=function(){this.GoogleMapsLoader=i(620),this.markers=[],this.GoogleMapsLoader.KEY=window.query_vars.gmaps_api_key,this.initMapLocator()};A.prototype.mapInitialize=function(e,t,i){var o,n,s=i.dataset.coords,r=parseFloat(i.dataset.zoom),a=String(i.dataset.icon),l=String(i.dataset.icon_active),d=JSON.parse(i.dataset.json),c=this;s&&(o=s.split(",")[0],n=s.split(",")[1]);for(var u=new t.maps.LatLng(o,n),p={url:a,scaledSize:new t.maps.Size(23,34)},h={url:l,scaledSize:new t.maps.Size(23,34)},f=new t.maps.Map(i,{zoom:r,center:u,disableDefaultUI:!0,zoomControl:!0,mapTypeControl:!0,mapTypeId:"terrain",options:{gestureHandling:"greedy"}}),m=new t.maps.LatLngBounds,v=function(e,i){var o=d[e],n=new t.maps.LatLng(o.lat,o.lng);m.extend(n);var s=new t.maps.Marker({position:n,map:f,icon:p,wpTitle:o.title,animation:t.maps.Animation.DROP,infowindow:new t.maps.InfoWindow({content:o.title})});o.tabActive&&s.setIcon(h),t.maps.event.addListener(s,"manualClick",function(e){return function(){for(var i=0;i<c.markers.length;i++)c.markers[i].setAnimation(null),c.markers[i].setIcon(p),c.markers[i].infowindow.close();e.infowindow.open(f,e),e.setIcon(h),null!==e.getAnimation()?e.setAnimation(null):e.setAnimation(t.maps.Animation.BOUNCE),setTimeout((function(){return e.setAnimation(null)}),750)}}(s)),t.maps.event.addListener(s,"click",(function(){for(var e=0;e<c.markers.length;e++)c.markers[e].setAnimation(null),c.markers[e].setIcon(p),c.markers[e].infowindow.close();var t=document.querySelector(".map-locator-mobile__data b");t instanceof HTMLElement&&(t.innerText=s.wpTitle),s.infowindow.open(f,s),document.querySelector("#"+o.unique_id).scrollIntoView()})),c.markers.push(s),t.maps.event.addDomListener(window,"resize",(function(){f.setCenter(n)}))},g=0,w=d.length;g<w;g++)v(g);$(window).width()>960&&f.fitBounds(m),t.maps.event.addDomListener(window,"resize",(function(){$(window).width()>960&&f.fitBounds(m)}));t.maps.event.addDomListener(window,"scroll",(function(){document.querySelectorAll(".location").forEach((function(e){if(function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}(e)){var i,o=e.querySelector(".location__title").id;d.forEach((function(e,n){e.unique_id===o&&i!==n&&(t.maps.event.trigger(c.markers[n],"manualClick"),i=n)}))}}))})),t.maps.event.addListenerOnce(f,"idle",(function(){f.getZoom()>16&&f.setZoom(16)})),document.querySelectorAll(".location__map-view-button").forEach((function(e){e.addEventListener("click",(function(){var i=e.getAttribute("data-marker-id");d.forEach((function(e,o){if(e.unique_id===i){document.querySelector(".map-locator-block").classList.add("mobile-open");var n=c.markers[o];t.maps.event.trigger(n,"click")}}))}))}))},A.prototype.initMapLocator=function(){var e=this;this.GoogleMapsLoader.load((function(t){return document.querySelectorAll(".map-locator-block .map-locator").forEach((function(i){return e.mapInitialize(i.id,t,i)}))}))};var q=i(654),M=i.n(q);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".site-modal");if(e instanceof HTMLElement){var t=e.dataset.uniqueId;if(t){var i=e.dataset.showAfter||0;i>0&&setTimeout((function(){e.style.display="block"}),i);var o=document.querySelector(".site-modal__backdrop");if(o instanceof HTMLElement){var n=o.dataset.showAfter||0;n>0&&setTimeout((function(){o.style.display="block"}),n),o.addEventListener("click",(function(){l(),s()}))}var s=function(){o.classList.add("site-modal__backdrop--hidden")},r=e.querySelector(".site-modal__minimised-content");r instanceof HTMLElement&&r.addEventListener("click",(function(){e.classList.remove("site-modal__minimised"),o.classList.contains("site-modal__backdrop--hidden")||o.classList.contains("site-modal__minimised")||o.classList.remove("site-modal__backdrop--hidden","site-modal__minimised"),M().remove(t+"-minimised")}));var a=e.querySelectorAll(".close-button");if(a instanceof NodeList&&0!==a.length){a.forEach((function(e){e.addEventListener("click",(function(){l(),s()}))}));var l=function(){return"true"!==(e.dataset.shouldMinimise||!1)||e.classList.contains("site-modal__minimised")?(M().set(t+"-closed",!0,{expires:7}),void e.classList.add("site-modal__closed")):(M().set(t+"-minimised",!0,{expires:7}),void e.classList.add("site-modal__minimised"))}}}}}));i(336);var z=i(669),O=i(669),I=new o({archiveWikiData:d,category:{finalize:function(){}},common:s,home:a,singlePost:h,singleCourses:m,singleQuizes:k,singleDronesforgood:b,templateFaaLaw:C,templateCommunity:{finalize:function(){}},courseArchive:x,pageReviewsData:L});z(document).ready((function(){var e;I.loadEvents(),document.querySelectorAll('.disabled-input input[type="text"], .disabled-input select').forEach((function(e){e.readOnly=!0,e.disabled=!0})),(e=function(){window.parent.postMessage({isPiSiteLoaded:!0,width:document.body.offsetWidth,height:document.body.offsetHeight},"*")})(),window.addEventListener("resize",e),O(document).on("click","#open-mobile-map, .map-locator-mobile__header, .map-locator-mobile__data",(function(){O(".map-locator-block").toggleClass("mobile-open")}))})),new A}()}();;!function(){var t={382:function(t){!function(e){var i=function(t,e,i){"use strict";var a,n;if(function(){var e,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(e in n=t.lazySizesConfig||t.lazysizesConfig||{},i)e in n||(n[e]=i[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:n,noSupport:!0};var r=e.documentElement,o=t.HTMLPictureElement,s="addEventListener",l="getAttribute",c=t[s].bind(t),d=t.setTimeout,u=t.requestAnimationFrame||d,f=t.requestIdleCallback,y=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],p={},g=Array.prototype.forEach,m=function(t,e){return p[e]||(p[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),p[e].test(t[l]("class")||"")&&p[e]},z=function(t,e){m(t,e)||t.setAttribute("class",(t[l]("class")||"").trim()+" "+e)},b=function(t,e){var i;(i=m(t,e))&&t.setAttribute("class",(t[l]("class")||"").replace(i," "))},h=function(t,e,i){var a=i?s:"removeEventListener";i&&h(t,e),v.forEach((function(i){t[a](i,e)}))},A=function(t,i,n,r,o){var s=e.createEvent("Event");return n||(n={}),n.instance=a,s.initEvent(i,!r,!o),s.detail=n,t.dispatchEvent(s),s},C=function(e,i){var a;!o&&(a=t.picturefill||n.pf)?(i&&i.src&&!e[l]("srcset")&&e.setAttribute("srcset",i.src),a({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},E=function(t,e){return(getComputedStyle(t,null)||{})[e]},w=function(t,e,i){for(i=i||t.offsetWidth;i<n.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},_=(zt=[],bt=[],ht=zt,At=function(){var t=ht;for(ht=zt.length?bt:zt,gt=!0,mt=!1;t.length;)t.shift()();gt=!1},Ct=function(t,i){gt&&!i?t.apply(this,arguments):(ht.push(t),mt||(mt=!0,(e.hidden?d:u)(At)))},Ct._lsFlush=At,Ct),N=function(t,e){return e?function(){_(t)}:function(){var e=this,i=arguments;_((function(){t.apply(e,i)}))}},L=function(t){var e,a=0,r=n.throttleDelay,o=n.ricTimeout,s=function(){e=!1,a=i.now(),t()},l=f&&o>49?function(){f(s,{timeout:o}),o!==n.ricTimeout&&(o=n.ricTimeout)}:N((function(){d(s)}),!0);return function(t){var n;(t=!0===t)&&(o=33),e||(e=!0,(n=r-(i.now()-a))<0&&(n=0),t||n<9?l():d(l,n))}},S=function(t){var e,a,n=99,r=function(){e=null,t()},o=function(){var t=i.now()-a;t<n?d(o,n-t):(f||r)(r)};return function(){a=i.now(),e||(e=d(o,n))}},x=(K=/^img$/i,Q=/^iframe$/i,V="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,tt=-1,et=function(t){Z--,(!t||Z<0||!t.target)&&(Z=0)},it=function(t){return null==J&&(J="hidden"==E(e.body,"visibility")),J||!("hidden"==E(t.parentNode,"visibility")&&"hidden"==E(t,"visibility"))},at=function(t,i){var a,n=t,o=it(t);for($-=i,G+=i,q-=i,U+=i;o&&(n=n.offsetParent)&&n!=e.body&&n!=r;)(o=(E(n,"opacity")||1)>0)&&"visible"!=E(n,"overflow")&&(a=n.getBoundingClientRect(),o=U>a.left&&q<a.right&&G>a.top-1&&$<a.bottom+1);return o},nt=function(){var t,i,o,s,c,d,u,f,y,v,p,g,m=a.elements;if((D=n.loadMode)&&Z<8&&(t=m.length)){for(i=0,tt++;i<t;i++)if(m[i]&&!m[i]._lazyRace)if(!V||a.prematureUnveil&&a.prematureUnveil(m[i]))ft(m[i]);else if((f=m[i][l]("data-expand"))&&(d=1*f)||(d=Y),v||(v=!n.expand||n.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:n.expand,a._defEx=v,p=v*n.expFactor,g=n.hFac,J=null,Y<p&&Z<1&&tt>2&&D>2&&!e.hidden?(Y=p,tt=0):Y=D>1&&tt>1&&Z<6?v:X),y!==d&&(O=innerWidth+d*g,H=innerHeight+d,u=-1*d,y=d),o=m[i].getBoundingClientRect(),(G=o.bottom)>=u&&($=o.top)<=H&&(U=o.right)>=u*g&&(q=o.left)<=O&&(G||U||q||$)&&(n.loadHidden||it(m[i]))&&(T&&Z<3&&!f&&(D<3||tt<4)||at(m[i],d))){if(ft(m[i]),c=!0,Z>9)break}else!c&&T&&!s&&Z<4&&tt<4&&D>2&&(R[0]||n.preloadAfterLoad)&&(R[0]||!f&&(G||U||q||$||"auto"!=m[i][l](n.sizesAttr)))&&(s=R[0]||m[i]);s&&!c&&ft(s)}},rt=L(nt),ot=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(et(t),z(e,n.loadedClass),b(e,n.loadingClass),h(e,lt),A(e,"lazyloaded"))},st=N(ot),lt=function(t){st({target:t.target})},ct=function(t,e){var i=t.getAttribute("data-load-mode")||n.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},dt=function(t){var e,i=t[l](n.srcsetAttr);(e=n.customMedia[t[l]("data-media")||t[l]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},ut=N((function(t,e,i,a,r){var o,s,c,u,f,v;(f=A(t,"lazybeforeunveil",e)).defaultPrevented||(a&&(i?z(t,n.autosizesClass):t.setAttribute("sizes",a)),s=t[l](n.srcsetAttr),o=t[l](n.srcAttr),r&&(u=(c=t.parentNode)&&y.test(c.nodeName||"")),v=e.firesLoad||"src"in t&&(s||o||u),f={target:t},z(t,n.loadingClass),v&&(clearTimeout(W),W=d(et,2500),h(t,lt,!0)),u&&g.call(c.getElementsByTagName("source"),dt),s?t.setAttribute("srcset",s):o&&!u&&(Q.test(t.nodeName)?ct(t,o):t.src=o),r&&(s||u)&&C(t,{src:o})),t._lazyRace&&delete t._lazyRace,b(t,n.lazyClass),_((function(){var e=t.complete&&t.naturalWidth>1;v&&!e||(e&&z(t,n.fastLoadedClass),ot(f),t._lazyCache=!0,d((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&Z--}),!0)})),ft=function(t){if(!t._lazyRace){var e,i=K.test(t.nodeName),a=i&&(t[l](n.sizesAttr)||t[l]("sizes")),r="auto"==a;(!r&&T||!i||!t[l]("src")&&!t.srcset||t.complete||m(t,n.errorClass)||!m(t,n.lazyClass))&&(e=A(t,"lazyunveilread").detail,r&&F.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,Z++,ut(t,e,r,a,i))}},yt=S((function(){n.loadMode=3,rt()})),vt=function(){3==n.loadMode&&(n.loadMode=2),yt()},pt=function(){T||(i.now()-I<999?d(pt,999):(T=!0,n.loadMode=3,rt(),c("scroll",vt,!0)))},{_:function(){I=i.now(),a.elements=e.getElementsByClassName(n.lazyClass),R=e.getElementsByClassName(n.lazyClass+" "+n.preloadClass),c("scroll",rt,!0),c("resize",rt,!0),c("pageshow",(function(t){if(t.persisted){var i=e.querySelectorAll("."+n.loadingClass);i.length&&i.forEach&&u((function(){i.forEach((function(t){t.complete&&ft(t)}))}))}})),t.MutationObserver?new MutationObserver(rt).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[s]("DOMNodeInserted",rt,!0),r[s]("DOMAttrModified",rt,!0),setInterval(rt,999)),c("hashchange",rt,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e[s](t,rt,!0)})),/d$|^c/.test(e.readyState)?pt():(c("load",pt),e[s]("DOMContentLoaded",rt),d(pt,2e4)),a.elements.length?(nt(),_._lsFlush()):rt()},checkElems:rt,unveil:ft,_aLSL:vt}),F=(P=N((function(t,e,i,a){var n,r,o;if(t._lazysizesWidth=a,a+="px",t.setAttribute("sizes",a),y.test(e.nodeName||""))for(r=0,o=(n=e.getElementsByTagName("source")).length;r<o;r++)n[r].setAttribute("sizes",a);i.detail.dataAttr||C(t,i.detail)})),j=function(t,e,i){var a,n=t.parentNode;n&&(i=w(t,n,i),(a=A(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=a.detail.width)&&i!==t._lazysizesWidth&&P(t,n,a,i))},k=S((function(){var t,e=B.length;if(e)for(t=0;t<e;t++)j(B[t])})),{_:function(){B=e.getElementsByClassName(n.autosizesClass),c("resize",k)},checkElems:k,updateElem:j}),M=function(){!M.i&&e.getElementsByClassName&&(M.i=!0,F._(),x._())};var B,P,j,k;var R,T,W,D,I,O,H,$,q,U,G,J,K,Q,V,X,Y,Z,tt,et,it,at,nt,rt,ot,st,lt,ct,dt,ut,ft,yt,vt,pt;var gt,mt,zt,bt,ht,At,Ct;return d((function(){n.init&&M()})),a={cfg:n,autoSizer:F,loader:x,init:M,uP:C,aC:z,rC:b,hC:m,fire:A,gW:w,rAF:_}}(e,e.document,Date);e.lazySizes=i,t.exports&&(t.exports=i)}("undefined"!=typeof window?window:{})},999:function(t,e,i){var a,n,r;!function(o,s){if(o){s=s.bind(null,o,o.document),t.exports?s(i(382)):(n=[i(382)],void 0===(r="function"==typeof(a=s)?a.apply(e,n):a)||(t.exports=r))}}("undefined"!=typeof window?window:0,(function(t,e,i,a){"use strict";var n,r=e.createElement("a").style,o="objectFit"in r,s=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d=/\(|\)|'/,u={center:"center","50% 50%":"center"};function f(t,a){var r,o,s,l,u=i.cfg,f=function(){var e=t.currentSrc||t.src;e&&o!==e&&(o=e,l.backgroundImage="url("+(d.test(e)?JSON.stringify(e):e)+")",r||(r=!0,i.rC(s,u.loadingClass),i.aC(s,u.loadedClass)))},y=function(){i.rAF(f)};t._lazysizesParentFit=a.fit,t.addEventListener("lazyloaded",y,!0),t.addEventListener("load",y,!0),i.rAF((function(){var r=t,o=t.parentNode;"PICTURE"==o.nodeName.toUpperCase()&&(r=o,o=o.parentNode),function(t){var e=t.previousElementSibling;e&&i.hC(e,n)&&(e.parentNode.removeChild(e),t.style.position=e.getAttribute("data-position")||"",t.style.visibility=e.getAttribute("data-visibility")||"")}(r),n||function(){if(!n){var t=e.createElement("style");n=i.cfg.objectFitClass||"lazysizes-display-clone",e.querySelector("head").appendChild(t)}}(),s=t.cloneNode(!1),l=s.style,s.addEventListener("load",(function(){var t=s.currentSrc||s.src;t&&t!=c&&(s.src=c,s.srcset="")})),i.rC(s,u.loadedClass),i.rC(s,u.lazyClass),i.rC(s,u.autosizesClass),i.aC(s,u.loadingClass),i.aC(s,n),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",u.srcsetAttr,u.srcAttr].forEach((function(t){s.removeAttribute(t)})),s.src=c,s.srcset="",l.backgroundRepeat="no-repeat",l.backgroundPosition=a.position,l.backgroundSize=a.fit,s.setAttribute("data-position",r.style.position),s.setAttribute("data-visibility",r.style.visibility),r.style.visibility="hidden",r.style.position="absolute",t.setAttribute("data-parent-fit",a.fit),t.setAttribute("data-parent-container","prev"),t.setAttribute("data-object-fit-polyfilled",""),t._objectFitPolyfilledDisplay=s,o.insertBefore(s,r),t._lazysizesParentFit&&delete t._lazysizesParentFit,t.complete&&f()}))}if(!o||!(o&&"objectPosition"in r)){var y=function(t){if(t.detail.instance==i){var e=t.target,a=function(t){var e=(getComputedStyle(t,null)||{}).fontFamily||"",i=e.match(s)||"",a=i&&e.match(l)||"";return a&&(a=a[1]),{fit:i&&i[1]||"",position:u[a]||a||"center"}}(e);return!(!a.fit||o&&"center"==a.position)&&(f(e,a),!0)}};t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i){var e=t.target;null==e.getAttribute("data-object-fit-polyfilled")||e._objectFitPolyfilledDisplay||y(t)||i.rAF((function(){e.removeAttribute("data-object-fit-polyfilled")}))}})),t.addEventListener("lazyunveilread",y,!0),a&&a.detail&&y(a)}}))}},e={};function i(a){var n=e[a];if(void 0!==n)return n.exports;var r=e[a]={exports:{}};return t[a](r,r.exports,i),r.exports}!function(){"use strict";var t={sm:576,md:768,lg:992,xl:1200};i(999),i(382);for(var e in window.lazySizesConfig=window.lazySizesConfig||{customMedia:{}},t)window.lazySizesConfig.customMedia["--"+e]="(max-width: "+t[e]+"px)";document.addEventListener("lazybeforeunveil",(function(t){if(t.target.parentNode.classList.contains("bg-img")){var e=t.target.dataset.src;e&&(t.target.parentNode.style.backgroundImage="url("+e+")")}})),document.querySelectorAll("img").forEach((function(t){t.addEventListener("lazyloaded",(function(t){if(t.target.parentNode.classList.contains("bg-img")){var e=t.target.currentSrc||t.target.src;e&&(t.target.parentNode.style.backgroundImage="url("+e+")")}}))}))}()}();