var WOW;jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:“easeOutQuad”,swing:function(e,t,i,n,o){return jQuery.easing[jQuery.easing.def](e,t,i,n,o)},easeInQuad:function(e,t,i,n,o){return n*(t/=o)*t+i},easeOutQuad:function(e,t,i,n,o){return-n*(t/=o)*(t-2)+i},easeInOutQuad:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,o){return n*(t/=o)*t*t+i},easeOutCubic:function(e,t,i,n,o){return n*((t=t/o-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,o){return n*(t/=o)*t*t*t+i},easeOutQuart:function(e,t,i,n,o){return-n*((t=t/o-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,o){return n*(t/=o)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,o){return n*((t=t/o-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,o){return-n*Math.cos(t/o*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,o){return n*Math.sin(t/o*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,o){return-n/2*(Math.cos(Math.PI*t/o)-1)+i},easeInExpo:function(e,t,i,n,o){return 0==t?i:n*Math.pow(2,10*(t/o-1))+i},easeOutExpo:function(e,t,i,n,o){return t==o?i+n:n*(1-Math.pow(2,-10*t/o))+i},easeInOutExpo:function(e,t,i,n,o){return 0==t?i:t==o?i+n:(t/=o/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,o){return-n*(Math.sqrt(1-(t/=o)*t)-1)+i},easeOutCirc:function(e,t,i,n,o){return n*Math.sqrt(1-(t=t/o-1)*t)+i},easeInOutCirc:function(e,t,i,n,o){return(t/=o/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,o){var a=1.70158,s=0,r=n;if(0==t)return i;if(1==(t/=o))return i+n;if(s||(s=.3*o),r .removeEventListener(l,r),t.bsCustomFileInput=void 0}}}),document.addEventListener(”DOMContentLoaded“,function(){bsCustomFileInput.init()});var i,toggler=document.getElementsByClassName(”rotate“);for(i=0;ie[i]
“;”);return t}var l={duration:750,delay:200,show:function(e,t,i){if(2===e.button)return!1;t=t||this;var n=document.createElement(“div”);n.className=“waves-ripple waves-rippling”,t.appendChild(n);var o=s(t),a=0,c=0;“touches”in e&&e.touches.length?(a=e.touches[0].pageY-o.top,c=e.touches[0].pageX-o.left):(a=e.pageY-o.top,c=e.pageX-o.left),c=c>=0?c:0,a=a>=0?a:0;var u=“scale(”+t.clientWidth/100*3+“)”,d=“translate(0,0)”;i&&(d=“translate(”i.x
“px, ”i.y
“px)”),n.setAttribute(“data-hold”,Date.now()),n.setAttribute(“data-x”,c),n.setAttribute(“data-y”,a),n.setAttribute(“data-scale”,u),n.setAttribute(“data-translate”,d);var p={top:a+“px”,left:c+“px”};n.classList.add(“waves-notransition”),n.setAttribute(“style”,r(p)),n.classList.remove(“waves-notransition”),p[“-webkit-transform”]=u+“ ”+d,p[“-moz-transform”]=u+“ ”+d,p[“-ms-transform”]=u+“ ”+d,p[“-o-transform”]=u+“ ”+d,p.transform=u+“ ”+d,p.opacity=“1”;var h=“mousemove”===e.type?2500:l.duration;p[“-webkit-transition-duration”]=h+“ms”,p[“-moz-transition-duration”]=h+“ms”,p[“-o-transition-duration”]=h+“ms”,p[“transition-duration”]=h+“ms”,n.setAttribute(“style”,r(p))},hide:function(e,t){for(var i=(t=t||this).getElementsByClassName(“waves-rippling”),o=0,a=i.length;o=0&&null!==t.wait){setTimeout(p({type:“mouseup”,button:1},n),t.wait)}},e.calm=function(e){for(var t={type:“mouseup”,button:1},i=0,n=(e=a(e)).length;i
”);i.html(a),i.css(“width”,t.is(“:visible”)?t.width():e(window).width()/2),t.css(“height”,i.height())}};e(n).each(function(t,i){var n=e(i),a=n.siblings(“label, i”);o(n),i.validity.badInput&&a.addClass(“active”)}),e(document).on(“focus”,n,function(t){e(t.target).siblings(“label, i”).addClass(“active”)}),e(document).on(“blur”,n,function(t){var i=e(t.target),n=!i.val(),o=!t.target.validity.badInput,s=void 0===i.attr(“placeholder”);n&&o&&s&&i.siblings(“label, i”).removeClass(“active”),a(i)}),e(document).on(“change”,n,function(t){var i=e(t.target);o(i),a(i)}),e(“input[autofocus]”).siblings(“label, i”).addClass(“active”),e(document).on(“reset”,function(t){var i=e(t.target);i.is(“form”)&&(i.find(n).removeClass(“valid”).removeClass(“invalid”).each(function(t,i){var n=e(i),o=!n.val(),a=!n.attr(“placeholder”);o&&a&&n.siblings(“label, i”).removeClass(“active”)}),i.find(“select.initialized”).each(function(t,i){var n=e(i),o=n.siblings(“input.select-dropdown”),a=n.children(“[selected]”).val();n.val(a),o.val(a)}))}),(i=e(“.md-textarea-auto”)).length&&(t=window.attachEvent?function(e,t,i){e.attachEvent(“on”.concat(t),i)}:function(e,t,i){e.addEventListener(t,i,!1)},i.each(function(){var e=this;function i(){e.style.height=“auto”,e.style.height=“”.concat(e.scrollHeight,“px”)}function n(){window.setTimeout(i,0)}t(e,“change”,i),t(e,“cut”,n),t(e,“paste”,n),t(e,“drop”,n),t(e,“keydown”,n),i()}));var r=e(“body”);if(!e(“.hiddendiv”).first().length){var l=e(‘’);r.append(l)}e(“.materialize-textarea”).each(s),r.on(“keyup keydown”,“.materialize-textarea”,s)}(jQuery),function(e){e(document).on(“click.card”,“.card”,function(t){if(e(this).find(“.card-reveal”).length){var i=e(t.target),n=i.is(“.card-reveal .card-title”),o=i.is(“.card-reveal .card-title i”),a=i.is(“.card .activator”),s=i.is(“.card .activator i”);n||o?e(this).find(“.card-reveal”).velocity({translateY:0},{duration:225,queue:!1,easing:“easeInOutQuad”,complete:function(){e(this).css({display:“none”})}}):(a||s)&&e(this).find(“.card-reveal”).css({display:“block”}).velocity(“stop”,!1).velocity({translateY:“-100%”},{duration:300,queue:!1,easing:“easeInOutQuad”})}}),e(“.rotate-btn”).on(“click”,function(){var t=e(this).attr(“data-card”);e(“#”.concat(t)).toggleClass(“flipped”)}),e(window).on(“load”,function(){var t=e(“.front”).outerHeight(),i=e(“.back”).outerHeight();t>i?e(“.card-wrapper, .back”).height(t):t>i?e(“.card-wrapper, .front”).height(i):e(“.card-wrapper”).height(i)}),e(“.card-share > a”).on(“click”,function(t){t.preventDefault(),e(this).toggleClass(“share-expanded”).parent().find(“div”).toggleClass(“social-reveal-active”)})}(jQuery),$(“.map-card”).click(function(){$(“.card-body”).toggleClass(“closed”)});var SMOOTH_SCROLL_DURATION=700;$(“.smooth-scroll”).on(“click”,“a”,function(){var e=$(this).attr(“href”);if(void 0!==e&&0===e.indexOf(“#”)){var t=$(this).attr(“data-offset”)?$(this).attr(“data-offset”):0,i=$(this).parentsUntil(“.smooth-scroll”).last().parent().attr(“data-allow-hashes”);return $(“body,html”).animate({scrollTop:$(e).offset().top-t},SMOOTH_SCROLL_DURATION),void 0!==i&&!1!==i&&history.replaceState(null,null,e),!1}}),function(e){e.fn.scrollTo=function(t){return e(this).scrollTop(e(this).scrollTop()-e(this).offset().top+e(t).offset().top),this},e.fn.dropdown=function(t){this.each(function(){var i=e(this),n=e.extend({},e.fn.dropdown.defaults,t),o=!1,a=e(“#”.concat(i.attr(“data-activates”)));function s(){void 0!==i.data(“induration”)&&(n.inDuration=i.data(“inDuration”)),void 0!==i.data(“outduration”)&&(n.outDuration=i.data(“outDuration”)),void 0!==i.data(“constrainwidth”)&&(n.constrain_width=i.data(“constrainwidth”)),void 0!==i.data(“hover”)&&(n.hover=i.data(“hover”)),void 0!==i.data(“gutter”)&&(n.gutter=i.data(“gutter”)),void 0!==i.data(“beloworigin”)&&(n.belowOrigin=i.data(“beloworigin”)),void 0!==i.data(“alignment”)&&(n.alignment=i.data(“alignment”))}function r(t){“focus”===t&&(o=!0),s(),a.addClass(“active”),i.addClass(“active”),!0===n.constrain_width?a.css(“width”,i.outerWidth()):a.css(“white-space”,“nowrap”);var r=window.innerHeight,l=i.innerHeight(),c=i.offset().left,u=i.offset().top-e(window).scrollTop(),d=n.alignment,p=0,h=0,f=0;!0===n.belowOrigin&&(f=l);var m=0,v=i.parent();if(!v.is(“body”)&&v[0].scrollHeight>v[0].clientHeight&&(m=v[0].scrollTop),c+a.innerWidth()>e(window).width()?d=“right”:c-a.innerWidth()+i.innerWidth()<0&&(d="left"),u+a.innerHeight()>r)if(u+l-a.innerHeight()<0){var g=r-u-f;a.css("max-height",g)}else f||(f+=l),f-=a.innerHeight();if("left"===d)p=n.gutter,h=i.position().left+p;else if("right"===d){h=i.position().left+i.outerWidth()-a.outerWidth()+(p=-n.gutter)}a.css({position:"absolute",top:i.position().top+f+m,left:h}),a.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:n.inDuration,easing:"easeOutCubic",complete:function(){e(this).css("height","")}}).animate({opacity:1,scrollTop:0},{queue:!1,duration:n.inDuration,easing:"easeOutSine"})}function l(){o=!1,a.fadeOut(n.outDuration),a.removeClass("active"),i.removeClass("active"),setTimeout(function(){a.css("max-height","")},n.outDuration)}if(s(),i.after(a),n.hover){var c=!1;i.unbind("click.".concat(i.attr("id"))),i.on("mouseenter",function(){!1===c&&(r(),c=!0)}),i.on("mouseleave",function(t){var i=t.toElement||t.relatedTarget;e(i).closest(".dropdown-content").is(a)||(a.stop(!0,!0),l(),c=!1)}),a.on("mouseleave",function(t){var n=t.toElement||t.relatedTarget;e(n).closest(".dropdown-button").is(i)||(a.stop(!0,!0),l(),c=!1)})}else i.unbind("click.".concat(i.attr("id"))),i.bind("click.".concat(i.attr("id")),function(t){o||(i[0]!==t.currentTarget||i.hasClass("active")||0!==e(t.target).closest(".dropdown-content").length?i.hasClass("active")&&(l(),e(document).unbind("click.".concat(a.attr("id")," touchstart.").concat(a.attr("id")))):(t.preventDefault(),r("click")),a.hasClass("active")&&e(document).bind("click.".concat(a.attr("id")," touchstart.").concat(a.attr("id")),function(t){a.is(t.target)||i.is(t.target)||i.find(t.target).length||(l(),e(document).unbind("click.".concat(a.attr("id")," touchstart.").concat(a.attr("id"))))}))});i.on("open",function(e,t){r(t)}),i.on("close",l)})},e.fn.dropdown.defaults={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left"},e(".dropdown-button").dropdown(),e.fn.mdbDropSearch=function(t){var i=e(this).find("input");this.filter(function(t,n){e(n).on("keyup",function(){for(var e=i.closest("div[id]").find("a, li"),t=0;t’)),this.$materialSelectedOption=this.$nativeSelect.find(”option:selected“),this.$materialSelectInitialOption=this.$nativeSelect.find(”option:first“).text()||”“,this.$nativeSelectChildren=this.$nativeSelect.children(”option, optgroup“),this.$materialSelect=e(‘’)),this.$dropdownIcon=this.options.BSinputText?”“:e(‘▼’),this.$searchInput=null,this.$toggleAll=e(‘
’):”“,d=this.isMultiple?‘”):“”;this.$materialOptionsList.append(e(’
h.id
“ click.”+h.id,(i=function(e){e.preventDefault(),y.open()},o=100,function(){var e=this,t=arguments,n=a&&!s;clearTimeout(s),s=setTimeout(function(){s=null,a||i.apply(e,t)},o),n&&i.apply(e,t)})).on(“mousedown”,function(){h.handlingOpen=!0;var t=function(){setTimeout(function(){e(document).off(“mouseup”,t),h.handlingOpen=!1},0)};e(document).on(“mouseup”,t)}),f.editable||v.on(“keydown.”+h.id,x);var i,o,a,s;l(t,{haspopup:!0,expanded:!1,readonly:!1,owns:t.id+“_root”})}(),f.containerHidden?e(f.containerHidden).append(y._hidden):v.after(y._hidden),f.container?e(f.container).append(y.$root):v.after(y.$root),y.on({start:y.component.onStart,render:y.component.onRender,stop:y.component.onStop,open:y.component.onOpen,close:y.component.onClose,set:y.component.onSet}).on({start:f.onStart,render:f.onRender,stop:f.onStop,open:f.onOpen,close:f.onClose,set:f.onSet}),p=function(e){var t;e.currentStyle?t=e.currentStyle.position:window.getComputedStyle&&(t=getComputedStyle(e).position);return“fixed”==t}(y.$holder[0]),t.autofocus&&y.open(),y.trigger(“start”).trigger(“render”))},render:function(t){return t?(y.$holder=e(b()),w(),y.$root.html(y.$holder)):y.$root.find(“.”+m.box).html(y.component.nodes(h.open)),y.trigger(“render”)},stop:function(){return h.start?(y.close(),y._hidden&&y._hidden.parentNode.removeChild(y._hidden),y.$root.remove(),v.removeClass(m.input).removeData(n),setTimeout(function(){v.off(“.”+h.id)},0),t.type=h.type,t.readOnly=!1,y.trigger(“stop”),h.methods={},h.start=!1,y):y},open:function(n){return h.open?y:(v.addClass(m.active),l(t,“expanded”,!0),setTimeout(function(){y.$root.addClass(m.opened),l(y.$root[0],“hidden”,!1)},0),!1!==n&&(h.open=!0,p&&e(“body”).css(“overflow”,“hidden”).css(“padding-right”,“+=”+s()),p&&o?y.$holder.find(“.”+m.frame).one(“transitionend”,function(){y.$holder.eq(0).focus()}):setTimeout(function(){y.$holder.eq(0).focus()},0),i.on(“click.”h.id
“ focusin.”+h.id,function(e){if(!h.handlingOpen){var i=r(e,t);e.isSimulated||i==t||i==document||3==e.which||y.close(i===y.$holder[0])}}).on(“keydown.”+h.id,function(i){var n=i.keyCode,o=y.component.key[n],s=r(i,t);27==n?y.close(!0):s!=y.$holder[0]||!o&&13!=n?e.contains(y.$root[0],s)&&13==n&&(i.preventDefault(),s.click()):(i.preventDefault(),o?a._.trigger(y.component.key.go,y,[a._.trigger(o)]):y.$root.find(“.”+m.highlighted).hasClass(m.disabled)||(y.set(“select”,y.component.item.highlight),f.closeOnSelect&&y.close(!0)))})),y.trigger(“open”))},close:function(n){return n&&(f.editable?t.focus():(y.$holder.off(“focus.toOpen”).focus(),setTimeout(function(){y.$holder.on(“focus.toOpen”,k)},0))),v.removeClass(m.active),l(t,“expanded”,!1),setTimeout(function(){y.$root.removeClass(m.opened+“ ”+m.focused),l(y.$root[0],“hidden”,!0)},0),h.open?(h.open=!1,p&&e(“body”).css(“overflow”,“”).css(“padding-right”,“-=”+s()),i.off(“.”+h.id),y.trigger(“close”)):y},clear:function(e){return y.set(“clear”,null,e)},set:function(t,i,n){var o,a,s=e.isPlainObject(t),r=s?t:{};if(n=s&&e.isPlainObject(i)?i:n||{},t){for(o in s||(r[t]=i),r)a=r[o],o in y.component.item&&(void 0===a&&(a=null),y.component.set(o,a,n)),“select”!=o&&“clear”!=o||!f.updateInput||v.val(“clear”==o?“”:y.get(o,f.format)).trigger(“change”);y.render()}return n.muted?y:y.trigger(“set”,r)},get:function(e,i){if(null!=h[e=e||“value”])return h[e];if(“valueSubmit”==e){if(y._hidden)return y._hidden.value;e=“value”}if(“value”==e)return t.value;if(e in y.component.item){if(“string”==typeof i){var n=y.component.get(e);return n?a._.trigger(y.component.formats.toString,y.component,[i,n]):“”}return y.component.get(e)}},on:function(t,i,n){var o,a,s=e.isPlainObject(t),r=s?t:{};if(t)for(o in s||(r[t]=i),r)a=r[o],n&&(o=“_”+o),h.methods[o]=h.methods[o]||[],h.methods[o].push(a);return y},off:function(){var e,t,i=arguments;for(e=0,namesCount=i.length;e ’).appendTo(“body”),o=i[0].offsetWidth;i.css(“overflow”,“scroll”);var a=e(‘’).appendTo(i)[0].offsetWidth;return i.remove(),o-a}function r(e,t){var i=[];return e.path&&(i=e.path),e.originalEvent&&e.originalEvent.path&&(i=e.originalEvent.path),i&&i.length>0?t&&i.indexOf(t)>=0?t:i[0]:e.target}function l(t,i,n){if(e.isPlainObject(i))for(var o in i)c(t,o,i[o]);else c(t,i,n)}function c(e,t,i){e.setAttribute((“role”==t?“”:“aria-”)+t,i)}function u(){try{return document.activeElement}catch(e){}}return a.klasses=function(e){return{picker:e=e||“picker”,opened:e+“–opened”,focused:e+“–focused”,input:e+“__input”,active:e+“__input–active”,target:e+“__input–target”,holder:e+“__holder”,frame:e+“__frame”,wrap:e+“__wrap”,box:e+“__box”}},a._={group:function(e){for(var t,i=“”,n=a._.trigger(e.min,e);n<=a._.trigger(e.max,e,[n]);n+=e.i)t=a._.trigger(e.item,e,[n]),i+=a._.node(e.node,t[0],t[1],t[2]);return i},node:function(t,i,n,o){return i?(i=e.isArray(i)?i.join(""):i,"<"t
(n=n?‘ class=“’n
‘”’:“”)+(o=o?“ ”+o:“”)+“>”i
“"t
”>“):”“},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,i){return"function"==typeof e?e.apply(t,i||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return{}.toString.call(e).indexOf("Date")>-1&&this.isInteger(e.getDate())},isInteger:function(e){return{}.toString.call(e).indexOf(”Number“)>-1&&e%1==0},ariaAttr:function(t,i){e.isPlainObject(t)||(t={attribute:i});for(var n in i=”“,t){var o=(”role“==n?”“:”aria-“)+n,a=t[n];i+=null==a?”“:o+‘=”’t[n]
‘“’}return i}},a.extend=function(t,i){e.fn[t]=function(n,o){var s=this.data(t);return”picker“==n?s:s&&”string“==typeof n?a._.trigger(s[n],s,[o]):this.each(function(){e(this).data(t)||new a(this,t,i,n)})},e.fn[t].defaults=i.defaults},a}),function(e){”function“==typeof define&&define.amd?define([”picker“,”jquery“],e):”object“==typeof exports?module.exports=e(require(”./picker.js“),require(”jquery“)):e(Picker,jQuery)}(function(e,t){var i,n=e._;function o(e,t){var i,n=this,o=e.$node[0],a=o.value,s=e.$node.data(”value“),r=s||a,l=s?t.formatSubmit:t.format,c=function(){return o.currentStyle?”rtl“==o.currentStyle.direction:”rtl“==getComputedStyle(e.$root[0]).direction};n.settings=t,n.$node=e.$node,n.queue={min:”measure create“,max:”measure create“,now:”now create“,select:”parse create validate“,highlight:”parse navigate create validate“,view:”parse create validate viewset“,disable:”deactivate“,enable:”activate“},n.item={},n.item.clear=null,n.item.disable=(t.disable||[]).slice(0),n.item.enable=-(!0===(i=n.item.disable)[0]?i.shift():-1),n.set(”min“,t.min).set(”max“,t.max).set(”now“),r?n.set(”select“,r,{format:l,defaultValue:!0}):n.set(”select“,null).set(”highlight“,n.item.now),n.key={40:7,38:-7,39:function(){return c()?-1:1},37:function(){return c()?1:-1},go:function(e){var t=n.item.highlight,i=new Date(t.year,t.month,t.date+e);n.set(”highlight“,i,{interval:e}),this.render()}},e.on(”render“,function(){e.$root.find(”.“+t.klass.selectMonth).on(”change“,function(){var i=this.value;i&&(e.set(”highlight“,[e.get(”view“).year,i,e.get(”highlight“).date]),e.$root.find(”.“+t.klass.selectMonth).trigger(”focus“))}),e.$root.find(”.“+t.klass.selectYear).on(”change“,function(){var i=this.value;i&&(e.set(”highlight“,[i,e.get(”view“).month,e.get(”highlight“).date]),e.$root.find(”.“+t.klass.selectYear).trigger(”focus“))})},1).on(”open“,function(){var i=”“;n.disabled(n.get(”now“))&&(i=”:not(.“t.klass.buttonToday
”)“),e.$root.find(”button“i
”, select“).attr(”disabled“,!1)},1).on(”close“,function(){e.$root.find(”button, select“).attr(”disabled“,!0)},1)}o.prototype.set=function(e,t,i){var n=this,o=n.item;return null===t?(”clear“==e&&(e=”select“),o[e]=t,n):(o[”enable“==e?”disable“:”flip“==e?”enable“:e]=n.queue[e].split(” “).map(function(o){return t=n[o](e,t,i)}).pop(),”select“==e?n.set(”highlight“,o.select,i):”highlight“==e?n.set(”view“,o.highlight,i):e.match(/^(flip|min|max|disable|enable)$/)&&(o.select&&n.disabled(o.select)&&n.set(”select“,o.select,i),o.highlight&&n.disabled(o.highlight)&&n.set(”highlight“,o.highlight,i)),n)},o.prototype.get=function(e){return this.item[e]},o.prototype.create=function(e,i,o){var a;return(i=void 0===i?e:i)==-1/0||i==1/0?a=i:t.isPlainObject(i)&&n.isInteger(i.pick)?i=i.obj:t.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=n.isDate(i)?i:this.create().obj):i=n.isInteger(i)||n.isDate(i)?this.normalize(new Date(i),o):this.now(e,i,o),{year:a||i.getFullYear(),month:a||i.getMonth(),date:a||i.getDate(),day:a||i.getDay(),obj:a||i,pick:a||i.getTime()}},o.prototype.createRange=function(e,i){var o=this,a=function(e){return!0===e||t.isArray(e)||n.isDate(e)?o.create(e):e};return n.isInteger(e)||(e=a(e)),n.isInteger(i)||(i=a(i)),n.isInteger(e)&&t.isPlainObject(i)?e=[i.year,i.month,i.date+e]:n.isInteger(i)&&t.isPlainObject(e)&&(i=[e.year,e.month,e.date+i]),{from:a(e),to:a(i)}},o.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},o.prototype.overlapRanges=function(e,t){return e=this.createRange(e.from,e.to),t=this.createRange(t.from,t.to),this.withinRange(e,t.from)||this.withinRange(e,t.to)||this.withinRange(t,e.from)||this.withinRange(t,e.to)},o.prototype.now=function(e,t,i){return t=new Date,i&&i.rel&&t.setDate(t.getDate()+i.rel),this.normalize(t,i)},o.prototype.navigate=function(e,i,n){var o,a,s,r,l=t.isArray(i),c=t.isPlainObject(i),u=this.item.view;if(l||c){for(c?(a=i.year,s=i.month,r=i.date):(a=+i[0],s=+i[1],r=+i[2]),n&&n.nav&&u&&u.month!==s&&(a=u.year,s=u.month),a=(o=new Date(a,s+(n&&n.nav?n.nav:0),1)).getFullYear(),s=o.getMonth();new Date(a,s,r).getMonth()!==s;)r-=1;i=[a,s,r]}return i},o.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},o.prototype.measure=function(e,t){return n.isInteger(t)?t=this.now(e,t,{rel:t}):t?"string"==typeof t&&(t=this.parse(e,t)):t="min"==e?-1/0:1/0,t},o.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},o.prototype.validate=function(e,i,o){var a,s,r,l,c=this,u=i,d=o&&o.interval?o.interval:1,p=-1===c.item.enable,h=c.item.min,f=c.item.max,m=p&&c.item.disable.filter(function(e){if(t.isArray(e)){var o=c.create(e).pick;oa.labelMonthSelect
‘”’):n.node(“div”,t[u.month],a.klass.month)},g=function(){var t=u.year,i=!0===a.selectYears?5:~~(a.selectYears/2);if(i){var s=p.year,r=h.year,l=t-i,c=t+i;if(s>l&&(c+=s-l,l=s),re
(t==e?“ selected”:“”)]}}),a.klass.selectYear,(e?“”:“disabled”)+“ ”+n.ariaAttr({controls:o.$node[0].id+“_table”})+‘ title=“’a.labelYearSelect
‘”’)}return n.node(“div”,t,a.klass.year)};return n.node(“div”,(a.selectYears?g()+v():v()+g())+m()+m(1),a.klass.header)+n.node(“table”,f+n.node(“tbody”,n.group({min:0,max:5,i:1,node:“tr”,item:function(e){var t=a.firstDay&&0===o.create([u.year,u.month,1]).day?-7:0;return[n.group({min:7*e-u.day+t+1,max:function(){return this.min+7-1},i:1,node:“td”,item:function(e){e=o.create([u.year,u.month,e+(a.firstDay?1:0)]);var t,i=l&&l.pick==e.pick,s=c&&c.pick==e.pick,f=d&&o.disabled(e)||e.picke.pick
“ ”+n.ariaAttr({role:“gridcell”,label:m,selected:!(!i||o.$node.val()!==m)||null,activedescendant:!!s||null,disabled:!!f||null})),“”,n.ariaAttr({role:“presentation”})]}})]}})),a.klass.table,‘id=“’+o.$node[0].id+‘_table” ’+n.ariaAttr({role:“grid”,controls:o.$node[0].id,readonly:!0}))+n.node(“div”,n.node(“button”,a.today,a.klass.buttonToday,“type=button data-pick=”r.pick
(e&&!o.disabled®?“”:“ disabled”)+“ ”+n.ariaAttr({controls:o.$node[0].id}))+n.node(“button”,a.clear,a.klass.buttonClear,“type=button data-clear=1”+(e?“”:“ disabled”)+“ ”+n.ariaAttr({controls:o.$node[0].id}))+n.node(“button”,a.close,a.klass.buttonClose,“type=button data-close=true ”+(e?“”:“ disabled”)+“ ”+n.ariaAttr({controls:o.$node[0].id})),a.klass.footer)},o.defaults={labelMonthNext:“Next month”,labelMonthPrev:“Previous month”,labelMonthSelect:“Select a month”,labelYearSelect:“Select a year”,monthsFull:[“January”,“February”,“March”,“April”,“May”,“June”,“July”,“August”,“September”,“October”,“November”,“December”],monthsShort:[“Jan”,“Feb”,“Mar”,“Apr”,“May”,“Jun”,“Jul”,“Aug”,“Sep”,“Oct”,“Nov”,“Dec”],weekdaysFull:[“Sunday”,“Monday”,“Tuesday”,“Wednesday”,“Thursday”,“Friday”,“Saturday”],weekdaysShort:[“Sun”,“Mon”,“Tue”,“Wed”,“Thu”,“Fri”,“Sat”],today:“Today”,clear:“Clear”,close:“Close”,closeOnSelect:!0,closeOnClear:!0,updateInput:!0,format:“d mmmm, yyyy”,klass:{table:(i=e.klasses().picker+“__”)+“table”,header:i+“header”,navPrev:i+“nav–prev btn btn-flat”,navNext:i+“nav–next btn btn-flat”,navDisabled:i+“nav–disabled”,month:i+“month”,year:i+“year”,selectMonth:i+“select–month”,selectYear:i+“select–year”,weekdays:i+“weekday”,day:i+“day”,disabled:i+“day–disabled”,selected:i+“day–selected”,highlighted:i+“day–highlighted”,now:i+“day–today”,infocus:i+“day–infocus”,outfocus:i+“day–outfocus”,footer:i+“footer”,buttonClear:i+“button–clear”,buttonToday:i+“button–today”,buttonClose:i+“button–close”}},e.extend(“pickadate”,o)}),$.extend($.fn.pickadate.defaults,{selectMonths:!0,selectYears:15,onRender:function(){var e=this.$root,t=this.get(“highlight”,“yyyy”),i=this.get(“highlight”,“dd”),n=this.get(“highlight”,“mmm”),o=this.get(“highlight”,“dddd”).slice(0,3),a=n.charAt(0).toUpperCase()+n.slice(1);e.find(“.picker__header”).prepend(‘o
‘, a
‘i
‘t
“+g
“”,(i=“cp”)?i+o:o),this.element=e,this.holder=c,this.options=t,this.isAppended=!1,this.isShown=!1,this.currentView=“hours”,this.isInput=I,this.input=E,this.label=M,this.popover=s,this.plate=l,this.hoursView=h,this.minutesView=T,this.amPmBlock=$,this.spanHours=s.find(“.clockpicker-span-hours”),this.spanMinutes=s.find(“.clockpicker-span-minutes”),this.spanAmPm=s.find(“.clockpicker-span-am-pm”),this.footer=s.find(“.picker__footer”),this.amOrPm=“”,t.twelvehour){var _=[‘y
“,”y
“)”);var X=f(“circle”);X.setAttribute(“class”,“clockpicker-canvas-bearing”),X.setAttribute(“cx”,0),X.setAttribute(“cy”,0),X.setAttribute(“r”,2);var B=f(“line”);B.setAttribute(“x1”,0),B.setAttribute(“y1”,0);var z=f(“circle”);z.setAttribute(“class”,“clockpicker-canvas-bg”),z.setAttribute(“r”,k);var U=f(“circle”);U.setAttribute(“class”,“clockpicker-canvas-fg”),U.setAttribute(“r”,5),V.appendChild(B),V.appendChild(z),V.appendChild(U),V.appendChild(X),N.appendChild(V),F.append(N),this.hand=B,this.bg=z,this.fg=U,this.bearing=X,this.g=V,this.canvas=F}O(this.options.init)}function O(e){e&&“function”==typeof e&&e()}T.DEFAULTS={default:“”,fromnow:0,donetext:“Done”,cleartext:“Clear”,autoclose:!1,ampmclickable:!1,darktheme:!1,twelvehour:!1,vibrate:!0,hourstep:1,minutestep:1,ampmSubmit:!1},T.prototype.toggle=function(){this[this.isShown?“hide”:“show”]()},T.prototype.locate=function(){var e=this.element,t=this.popover;e.offset(),e.outerWidth(),e.outerHeight(),this.options.align;t.show()},T.prototype.parseInputValue=function(){var e=this.input.prop(“value”)||this.options.default||“”;if(“now”===e&&(e=new Date(+new Date+this.options.fromnow)),e instanceof Date&&(e=e.getHours()+“:”+e.getMinutes()),e=e.split(“:”),this.hours=+e[0]||0,this.minutes=+(e[1]+“”).replace(/D/g,“”)||0,this.hours=Math.round(this.hours/this.options.hourstep)*this.options.hourstep,this.minutes=Math.round(this.minutes/this.options.minutestep)*this.options.minutestep,this.options.twelvehour){var t=(e[1]+“”).replace(/d+/g,“”).toLowerCase();this.amOrPm=this.hours>12||“pm”===t?“PM”:“AM”}},T.prototype.show=function(e){if(!this.isShown){O(this.options.beforeShow),n(“:input”).each(function(){n(this).attr(“tabindex”,-1)});var t=this;this.input.blur(),this.popover.addClass(“picker–opened”),this.input.addClass(“picker__input picker__input–active”),n(document.body).css(“overflow”,“hidden”),this.isAppended||(this.popover.insertAfter(this.input),this.options.twelvehour&&(this.amOrPm=“PM”,this.options.ampmclickable?(this.spanAmPm.children(“#click-pm”).addClass(“text-primary”),this.spanAmPm.children(“#click-am”).removeClass(“text-primary”)):(this.amPmBlock.children(“.am-button”).removeClass(“active”),this.amPmBlock.children(“.pm-button”).addClass(“active”),this.spanAmPm.empty().append(“PM”))),o.on(“resize.clockpicker”+this.id,function(){t.isShown&&t.locate()}),this.isAppended=!0),this.parseInputValue(),this.spanHours.html(v(this.hours)),this.spanMinutes.html(v(this.minutes)),this.options.twelvehour&&this.spanAmPm.empty().append(this.amOrPm),this.toggleView(“hours”),this.locate(),this.isShown=!0,a.on(“click.clockpicker.”this.id
“ focusin.clockpicker.”+this.id,m(function(e){var i=n(e.target);0===i.closest(t.popover.find(“.picker__wrap”)).length&&0===i.closest(t.input).length&&t.hide()},100)),a.on(“keyup.clockpicker.”+this.id,m(function(e){27===e.keyCode&&t.hide()},100)),O(this.options.afterShow)}},T.prototype.hide=function(){O(this.options.beforeHide),this.input.removeClass(“picker__input picker__input–active”),this.popover.removeClass(“picker–opened”),n(document.body).css(“overflow”,“visible”),this.isShown=!1,n(“:input”).each(function(e){n(this).attr(“tabindex”,e+1)}),a.off(“click.clockpicker.”this.id
“ focusin.clockpicker.”+this.id),a.off(“keyup.clockpicker.”+this.id),this.popover.hide(),O(this.options.afterHide)},T.prototype.toggleView=function(e,t){var i=!1;“minutes”===e&&“visible”===n(this.hoursView).css(“visibility”)&&(O(this.options.beforeHourSelect),i=!0);var o=“hours”===e,a=o?this.hoursView:this.minutesView,s=o?this.minutesView:this.hoursView;this.currentView=e,this.spanHours.toggleClass(“text-primary”,o),this.spanMinutes.toggleClass(“text-primary”,!o),s.addClass(“clockpicker-dial-out”),a.css(“visibility”,“visible”).removeClass(“clockpicker-dial-out”),this.resetClock(t),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){s.css(“visibility”,“hidden”)},C),i&&O(this.options.afterHourSelect)},T.prototype.resetClock=function(e){var t=this.currentView,i=this[t],n=“hours”===t,o=i*(Math.PI/(n?6:30)),a=n&&i>0&&i<13?w:b,s=Math.sin(o)*a,l=-Math.cos(o)*a,c=this;r&&e?(c.canvas.addClass("clockpicker-canvas-out"),setTimeout(function(){c.canvas.removeClass("clockpicker-canvas-out"),c.setHand(s,l)},e)):this.setHand(s,l)},T.prototype.setHand=function(e,t,i,o){var a,s,l=Math.atan2(e,-t),c="hours"===this.currentView,u=Math.sqrt(e*e+t*t),d=this.options,p=c&&u<(b+w)/2,f=p?w:b;if(a=c?d.hourstep/6*Math.PI:d.minutestep/30*Math.PI,d.twelvehour&&(f=b),l<0&&(l=2*Math.PI+l),l=(s=Math.round(l/a))*a,c?(s*=d.hourstep,d.twelvehour||!p!=s>0||(s+=12),d.twelvehour&&0===s&&(s=12),24===s&&(s=0)):60===(s*=d.minutestep)&&(s=0),c?this.fg.setAttribute(“class”,“clockpicker-canvas-fg”):s%5==0?this.fg.setAttribute(“class”,“clockpicker-canvas-fg”):this.fg.setAttribute(“class”,“clockpicker-canvas-fg active”),this[this.currentView]!==s&&h&&this.options.vibrate&&(this.vibrateTimer||(navigator[h](10),this.vibrateTimer=setTimeout(n.proxy(function(){this.vibrateTimer=null},this),100))),this[this.currentView]=s,this[c?“spanHours”:“spanMinutes”].html(v(s)),r){o||!c&&s%5?(this.g.insertBefore(this.hand,this.bearing),this.g.insertBefore(this.bg,this.fg),this.bg.setAttribute(“class”,“clockpicker-canvas-bg clockpicker-canvas-bg-trans”)):(this.g.insertBefore(this.hand,this.bg),this.g.insertBefore(this.fg,this.bg),this.bg.setAttribute(“class”,“clockpicker-canvas-bg”));var m=Math.sin(l)*f,g=-Math.cos(l)*f;this.hand.setAttribute(“x2”,m),this.hand.setAttribute(“y2”,g),this.bg.setAttribute(“cx”,m),this.bg.setAttribute(“cy”,g),this.fg.setAttribute(“cx”,m),this.fg.setAttribute(“cy”,g)}else this[c?“hoursView”:“minutesView”].find(“.clockpicker-tick”).each(function(){var e=n(this);e.toggleClass(“active”,s===+e.html())})},T.prototype.clearInput=function(){this.input.val(“”),this.hide(),this.options.afterDone&&“function”==typeof this.options.afterDone&&this.options.afterDone(this.input,null)},T.prototype.getTime=function(e){this.parseInputValue();var t=this.hours;this.options.twelvehour&&t<12&&"PM"===this.amOrPm&&(t+=12);var i=new Date;return i.setMinutes(this.minutes),i.setHours(t),i.setSeconds(0),e&&e.apply(this.element,i)||i},T.prototype.done=function(){O(this.options.beforeDone),this.hide(),this.label.addClass("active");var e=this.input.prop("value"),t=this.hours,i=":"+v(this.minutes);this.isHTML5&&this.options.twelvehour&&(this.hours<12&&"PM"===this.amOrPm&&(t+=12),12===this.hours&&"AM"===this.amOrPm&&(t=0)),i=v(t)+i,!this.isHTML5&&this.options.twelvehour&&(i+=this.amOrPm),this.input.prop("value",i),i!==e&&(this.input.trigger("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur"),O(this.options.afterDone)},T.prototype.remove=function(){this.element.removeData("clockpicker"),this.input.off("focus.clockpicker click.clockpicker"),this.isShown&&this.hide(),this.isAppended&&(o.off("resize.clockpicker"+this.id),this.popover.remove())},n.fn.pickatime=function(e){var t=Array.prototype.slice.call(arguments,1);function i(){var i=n(this),o=i.data("clockpicker");if(o)"function"==typeof o[e]&&o[e].apply(o,t);else{var a=n.extend({},T.DEFAULTS,i.data(),"object"==typeof e&&e);i.data("clockpicker",new T(i,a))}}if(1==this.length){var o=i.apply(this[0]);return void 0!==o?o:this}return this.each(i)}}(),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()}(this,function(){"use strict";return function(e,t,i,n){var o={features:null,bind:function(e,t,i,n){var o=(n?"remove":"add")+"EventListener";t=t.split(" ");for(var a=0;at
“(\s|$)”).test(e.className)},getChildByClass:function(e,t){for(var i=e.firstChild;i;){if(o.hasClass(i,t))return i;i=i.nextSibling}},arraySearch:function(e,t,i){for(var n=e.length;n–;)if(e[n][i]===t)return n;return-1},extend:function(e,t,i){for(var n in t)if(t.hasOwnProperty(n)){if(i&&e.hasOwnProperty(n))continue;e[n]=t[n]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return–e*e*e+1}}},detectFeatures:function(){if(o.features)return o.features;var e=o.createEl().style,t=“”,i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch=“ontouchstart”in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var n=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (d+)_(d+)_?(d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&8>a&&(i.isOldIOSPhone=!0)}var s=n.match(/Androids([0-9.]*)/),r=s?s[1]:0;(r=parseFloat®)>=1&&(4.4>r&&(i.isOldAndroid=!0),i.androidVersion=r),i.isMobileOpera=/opera mini|opera mobi/i.test(n)}for(var l,c,u=[“transform”,“perspective”,“animationName”],d=[“”,“webkit”,“Moz”,“ms”,“O”],p=0;4>p;p++){t=d[p];for(var h=0;3>h;h++)l=u[h],c=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!i[l]&&c in e&&(i[l]=c);t&&!i.raf&&(t=t.toLowerCase(),i.raf=window[t+“RequestAnimationFrame”],i.raf&&(i.caf=window[t+“CancelAnimationFrame”]||window[t+“CancelRequestAnimationFrame”]))}if(!i.raf){var f=0;i.raf=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-f)),n=window.setTimeout(function(){e(t+i)},i);return f=t+i,n},i.caf=function(e){clearTimeout(e)}}return i.svg=!!document.createElementNS&&!!document.createElementNS(“http://www.w3.org/2000/svg”,“svg”).createSVGRect,o.features=i,i}};o.detectFeatures(),o.features.oldIE&&(o.bind=function(e,t,i,n){t=t.split(“ ”);for(var o,a=(n?“detach”:“attach”)+“Event”,s=function(){i.handleEvent.call(i)},r=0;rb
“ scale(”n
i&&n>0||i>=Yt()-1&&0>n)&&(e=ct.x+n*s.mainScrollEndFriction)}ct.x=e,Me(e,d)},_e=function(e,t){var i=ut[e]-he[e];return ce[e]+le[e]+i-i*(t/g)},De=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Le=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Pe=null,We=function(){Pe&&(o.unbind(document,“mousemove”,We),o.addClass(e,“pswp–has_mouse”),s.mouseUsed=!0,Se(“mouseUsed”)),Pe=setTimeout(function(){Pe=null},100)},Re=function(e,t){var i=Bt(a.currItem,de,e);return t&&(J=i),i},He=function(e){return e||(e=a.currItem),e.initialZoomLevel},je=function(e){return e||(e=a.currItem),e.w>0?s.maxSpreadZoom:1},Ye=function(e,t,i,n){return n===a.currItem.initialZoomLevel?(i[e]=a.currItem.initialPosition[e],!0):(i[e]=_e(e,n),i[e]>t.min[e]?(i[e]=t.min[e],!0):i[e]O
” “+$,f=S,E&&!M&&(M=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=M,m=Ot,m=$t,m=Et,$&&(m=m),R.touch&&(f+=” mousedown“,h+=” mousemove mouseup“,m.mousedown=m,m.mousemove=m,m.mouseup=m),M||(s.allowPanToNext=!1)}}});var Pt,Wt,Rt,Ht,jt,Yt,Ft=function(t,i,n,r){var l;Pt&&clearTimeout(Pt),Ht=!0,Rt=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=s.getThumbBoundsFn&&s.getThumbBoundsFn(u);var d=n?s.hideAnimationDuration:s.showAnimationDuration,p=function(){ze(”initialZoom“),n?(a.template.removeAttribute(”style“),a.bg.removeAttribute(”style“)):(Oe(1),i&&(i.style.display=”block“),o.addClass(e,”pswp–animated-in“),Se(”initialZoom“+(n?”OutEnd“:”InEnd“))),r&&r(),Ht=!1};if(!d||!l||void 0===l.x)return Se(”initialZoom“+(n?”Out“:”In“)),v=t.initialZoomLevel,De(ue,t.initialPosition),Ie(),e.style.opacity=n?0:1,Oe(1),void(d?setTimeout(function(){p()},d):p());!function(){var i=c,r=!a.currItem.src||a.currItem.loadError||s.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility=”hidden“),n||(v=l.w/t.w,ue.x=l.x,ue.y=l.y-L,a.style.opacity=.001,Ie()),Ue(”initialZoom“),n&&!i&&o.removeClass(e,”pswp–animated-in“),r&&(n?o(e,”pswp–animate_opacity“):setTimeout(function(){o.addClass(e,”pswp–animate_opacity“)},30)),Pt=setTimeout(function(){if(Se(”initialZoom“+(n?”Out“:”In“)),n){var a=l.w/t.w,s={x:ue.x,y:ue.y},c=v,u=ae,h=function(t){1===t?(v=a,ue.x=l.x,ue.y=l.y-W):(v=(a-c)*t+c,ue.x=(l.x-s.x)*t+s.x,ue.y=(l.y-W-s.y)*t+s.y),Ie(),r?e.style.opacity=1-t:Oe(u-t*u)};i?Ke(”initialZoom“,0,1,d,o.easing.cubic.out,h,p):(h(1),Pt=setTimeout(p,d+20))}else v=t.initialZoomLevel,De(ue,t.initialPosition),Ie(),Oe(1),r?e.style.opacity=1:Oe(1),Pt=setTimeout(p,d+20)},n?25:90)}()},Nt={},Vt=[],Xt={index:0,errorMsg:'<div class=”pswp__error-msg“><a href=”%url%“ target=”_blank“>The image</a> could not be loaded.s.galleryUID
”&pid=“+e;li||-1===di.hash.indexOf(i)&&(ui=!0);var n=di.href.split(”#“)+”#“+i;pi?”#“+i!==window.location.hash&&history(”“,document.title,n):li?di.replace(n):di.hash=i,li=!0,ii=setTimeout(function(){oi=!1},60)}};we(”History“,{publicMethods:{initHistory:function(){if(o.extend(s,hi,!0),s.history){di=window.location,ui=!1,ci=!1,li=!1,ri=fi(),pi=”pushState“in history,ri.indexOf(”gid=“)>-1&&(ri=(ri=ri.split(”&gid=“)).split(”?gid=“)),Ce(”afterChange“,a.updateURL),Ce(”unbindEvents“,function(){o.unbind(window,”hashchange“,a.onHashChange)});var e=function(){si=!0,ci||(ui?history.back():ri?di.hash=ri:pi?history.pushState(”“,document.title,di.pathname+di.search):di.hash=”“),mi()};Ce(”unbindEvents“,function(){c&&e()}),Ce(”destroy“,function(){si||e()}),Ce(”firstUpdate“,function(){u=vi().pid});var t=ri.indexOf(”pid=“);t>-1&&”&“===(ri=ri.substring(0,t)).slice(-1)&&(ri=ri.slice(0,-1)),setTimeout(function(){r&&o.bind(window,”hashchange“,a.onHashChange)},40)}},onHashChange:function(){return fi()===ri?(ci=!0,void a.close()):void(oi||(ai=!0,a.goTo(vi().pid),ai=!1))},updateURL:function(){mi(),ai||(li?ti=setTimeout(gi,800):gi())}}}),o.extend(a,Ze)}}),function(e,t){”function“==typeof define&&define.amd?define(t):”object“==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()}(this,function(){”use strict“;return function(e,t){var i,n,o,a,s,r,l,c,u,d,p,h,f,m,v,g,y,b,w=this,k=!1,x=!0,C=!0,S={barsSize:{top:44,bottom:”auto“},closeElClasses:,timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children.innerHTML=e.title,!0):(t.children.innerHTML=”“,!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:”facebook“,label:”Share on Facebook“,url:”www.facebook.com/sharer/sharer.php?u={{url}}“},{id:”twitter“,label:”Tweet“,url:”https://twitter.com/intent/tweet?text={{text}}&url={{url}}“},{id:”pinterest“,label:”Pin it“,url:”www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}“},{id:”download“,label:”Download image“,url:”{{raw_image_url}}“,download:!0}],getImageURLForShare:function(){return e.currItem.src||”“},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||”“},indexIndicatorSep:” / “,fitControlsWidth:1200},T=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!u&&P();for(var i,n,o=(e.target||e.srcElement).getAttribute(”class“)||”“,a=0;ae.id
‘“’+(e.download?”download“:”“)+”>“e.label
”“,v.parseShareButtonOut&&(o=v.parseShareButtonOut(e,o));l.children.nodeType){if(a===t){n=r;break}r++}return n>=0&&i(n,o),!1}},i=function(e,t,i,n){var o,a,s=document.querySelectorAll(”.pswp“);if(a=function(e){for(var t,i,n,o,a=e.childNodes,s=a.length,r=[],l=0;l).nodeType&&(n=(i=t.children).getAttribute(”data-size“).split(”x“),o={src:i.getAttribute(”href“),w:parseInt(n,10),h:parseInt(n,10)},t.children.length>1&&(o.title=t.children.innerHTML),i.children.length>0&&(o.msrc=i.children.getAttribute(”src“)),o.el=t,r.push(o));return r}(t),o={galleryUID:t.getAttribute(”data-pswp-uid“),getThumbBoundsFn:function(e){var t=a.el.getElementsByTagName(”img“),i=window.pageYOffset||document.documentElement.scrollTop,n=t.getBoundingClientRect();return{x:n.left,y:n.top+i,w:n.width}}},n)if(o.galleryPIDs){for(var r=0;ru
”-reach-“+e.reach))}(e,i,a,n,o)},x={isWebKit:”undefined“!=typeof document&&”WebkitAppearance“in document.documentElement.style,supportsTouch:”undefined“!=typeof window&&(”ontouchstart“in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:”undefined“!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:”undefined“!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},C=function(e){var t=e.element,i=Math.floor(t.scrollTop);e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(a(t,v.element.rail(”x“)).forEach(function(e){return o(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(a(t,v.element.rail(”y“)).forEach(function(e){return o(e)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=p(e,u(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=u((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=p(e,u(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=u(i*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),h(t,e),e.scrollbarXActive?t.classList.add(v.state.active(”x“)):(t.classList.remove(v.state.active(”x“)),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=0),e.scrollbarYActive?t.classList.add(v.state.active(”y“)):(t.classList.remove(v.state.active(”y“)),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)},S={”click-rail“:function(e){e.event.bind(e.scrollbarY,”mousedown“,function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarYRail,”mousedown“,function(t){var i=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top>e.scrollbarYTop?1:-1;e.element.scrollTop+=i*e.containerHeight,C(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,”mousedown“,function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarXRail,”mousedown“,function(t){var i=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=i*e.containerWidth,C(e),t.stopPropagation()})},”drag-thumb“:function(e){f(e,),f(e,)},keyboard:function(e){var t=e.element,i=function(){return n(t,”:hover“)},o=function(){return n(e.scrollbarX,”:focus“)||n(e.scrollbarY,”:focus“)};e.event.bind(e.ownerDocument,”keydown“,function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(i()||o())){var a=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(a){if(”IFRAME“===a.tagName)a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(d(a))return}var s=0,r=0;switch(n.which){case 37:s=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:r=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:s=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:r=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:r=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:r=e.containerHeight;break;case 34:r=-e.containerHeight;break;case 36:r=e.contentHeight;break;case 35:r=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==s||e.settings.suppressScrollY&&0!==r||(t.scrollTop-=r,t.scrollLeft+=s,C(e),function(i,n){var o=Math.floor(t.scrollTop);if(0===i){if(!e.scrollbarYActive)return!1;if(0===o&&n>0||o>=e.contentHeight-e.containerHeight&&n<0)return!e.settings.wheelPropagation}var a=t.scrollLeft;if(0===n){if(!e.scrollbarXActive)return!1;if(0===a&&i<0||a>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}(s,r)&&n.preventDefault())}})},wheel:function(t){function i(t,i,n){if(!x.isWebKit&&o.querySelector(”select:focus“))return!0;if(!o.contains(t))return!1;for(var a=t;a&&a!==o;){if(a.classList.contains(v.element.consuming))return!0;var s=e(a);if(.join(”“).match(/(scroll|auto)/)){var r=a.scrollHeight-a.clientHeight;if(r>0&&!(0===a.scrollTop&&n>0||a.scrollTop===r&&n<0))return!0;var l=a.scrollWidth-a.clientWidth;if(l>0&&!(0===a.scrollLeft&&i<0||a.scrollLeft===l&&i>0))return!0}a=a.parentNode}return!1}function n(e){var n=function(e){var t=e.deltaX,i=-1*e.deltaY;return void 0!==t&&void 0!==i||(t=-1*e.wheelDeltaX/6,i=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,i*=10),t!=t&&i!=i&&(t=0,i=e.wheelDelta),e.shiftKey?:[t,i]}(e),a=n,s=n;if(!i(e.target,a,s)){var r=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(s?o.scrollTop-=s*t.settings.wheelSpeed:o.scrollTop+=a*t.settings.wheelSpeed,r=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(a?o.scrollLeft+=a*t.settings.wheelSpeed:o.scrollLeft-=s*t.settings.wheelSpeed,r=!0):(o.scrollTop-=s*t.settings.wheelSpeed,o.scrollLeft+=a*t.settings.wheelSpeed),C(t),(r=r||function(e,i){var n=Math.floor(o.scrollTop),a=0===o.scrollTop,s=n+o.offsetHeight===o.scrollHeight,r=0===o.scrollLeft,l=o.scrollLeft+o.offsetWidth===o.scrollWidth;return!(Math.abs(i)>Math.abs(e)?a||s:r||l)||!t.settings.wheelPropagation}(a,s))&&!e.ctrlKey&&(e.stopPropagation(),e.preventDefault())}}var o=t.element;void 0!==window.onwheel?t.event.bind(o,”wheel“,n):void 0!==window.onmousewheel&&t.event.bind(o,”mousewheel“,n)},touch:function(t){function i(e,i){var n=Math.floor(u.scrollTop),o=u.scrollLeft,a=Math.abs(e),s=Math.abs(i);if(s>a){if(i<0&&n===t.contentHeight-t.containerHeight||i>0&&0===n)return 0===window.scrollY&&i>0&&x.isChrome}else if(a>s&&(e<0&&o===t.contentWidth-t.containerWidth||e>0&&0===o))return!0;return!0}function n(e,i){u.scrollTop-=i,u.scrollLeft-=e,C(t)}function o(e){return e.targetTouches?e.targetTouches:e}function a(e){return!(e.pointerType&&”pen“===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||”mouse“===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function s(e){if(a(e)){var t=o(e);d.pageX=t.pageX,d.pageY=t.pageY,p=(new Date).getTime(),null!==f&&clearInterval(f)}}function r(t,i,n){if(!u.contains(t))return!1;for(var o=t;o&&o!==u;){if(o.classList.contains(v.element.consuming))return!0;var a=e(o);if(.join(”“).match(/(scroll|auto)/)){var s=o.scrollHeight-o.clientHeight;if(s>0&&!(0===o.scrollTop&&n>0||o.scrollTop===s&&n<0))return!0;var r=o.scrollLeft-o.clientWidth;if(r>0&&!(0===o.scrollLeft&&i<0||o.scrollLeft===r&&i>0))return!0}o=o.parentNode}return!1}function l(e){if(a(e)){var t=o(e),s={pageX:t.pageX,pageY:t.pageY},l=s.pageX-d.pageX,c=s.pageY-d.pageY;if(r(e.target,l,c))return;n(l,c),d=s;var u=(new Date).getTime(),f=u-p;f>0&&(h.x=l/f,h.y=c/f,p=u),i(l,c)&&e.preventDefault()}}function c(){t.settings.swipeEasing&&(clearInterval(f),f=setInterval(function(){t.isInitialized?clearInterval(f):h.x||h.y?Math.abs(h.x)<.01&&Math.abs(h.y)<.01?clearInterval(f):(n(30*h.x,30*h.y),h.x*=.8,h.y*=.8):clearInterval(f)},10))}if(x.supportsTouch||x.supportsIePointer){var u=t.element,d={},p=0,h={},f=null;x.supportsTouch?(t.event.bind(u,”touchstart“,s),t.event.bind(u,”touchmove“,l),t.event.bind(u,”touchend“,c)):x.supportsIePointer&&(window.PointerEvent?(t.event.bind(u,”pointerdown“,s),t.event.bind(u,”pointermove“,l),t.event.bind(u,”pointerup“,c)):window.MSPointerEvent&&(t.event.bind(u,”MSPointerDown“,s),t.event.bind(u,”MSPointerMove“,l),t.event.bind(u,”MSPointerUp“,c)))}}},T=function(n,o){var a=this;if(void 0===o&&(o={}),”string“==typeof n&&(n=document.querySelector(n)),!n||!n.nodeName)throw new Error(”no element is specified to initialize PerfectScrollbar“);for(var s in this.element=n,n.classList.add(v.main),this.settings={handlers:,maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},o)a.settings=o;this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r=function(){return n.classList.add(v.state.focus)},l=function(){return n.classList.remove(v.state.focus)};this.isRtl=”rtl“===e(n).direction,this.isNegativeScroll=function(){var e,t=n.scrollLeft;return n.scrollLeft=-1,e=n.scrollLeft<0,n.scrollLeft=t,e}(),this.negativeScrollAdjustment=this.isNegativeScroll?n.scrollWidth-n.clientWidth:0,this.event=new w,this.ownerDocument=n.ownerDocument||document,this.scrollbarXRail=i(v.element.rail(”x“)),n.appendChild(this.scrollbarXRail),this.scrollbarX=i(v.element.thumb(”x“)),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute(”tabindex“,0),this.event.bind(this.scrollbarX,”focus“,r),this.event.bind(this.scrollbarX,”blur“,l),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=e(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=u(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=u(c.borderLeftWidth)+u(c.borderRightWidth),t(this.scrollbarXRail,{display:”block“}),this.railXMarginWidth=u(c.marginLeft)+u(c.marginRight),t(this.scrollbarXRail,{display:”“}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(v.element.rail(”y“)),n.appendChild(this.scrollbarYRail),this.scrollbarY=i(v.element.thumb(”y“)),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute(”tabindex“,0),this.event.bind(this.scrollbarY,”focus“,r),this.event.bind(this.scrollbarY,”blur“,l),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var d=e(this.scrollbarYRail);this.scrollbarYRight=parseInt(d.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=u(d.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var i=e(t);return u(i.width)+u(i.paddingLeft)+u(i.paddingRight)+u(i.borderLeftWidth)+u(i.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=u(d.borderTopWidth)+u(d.borderBottomWidth),t(this.scrollbarYRail,{display:”block“}),this.railYMarginHeight=u(d.marginTop)+u(d.marginBottom),t(this.scrollbarYRail,{display:”“}),this.railYHeight=null,this.railYRatio=null,this.reach={x:n.scrollLeft<=0?”start“:n.scrollLeft>=this.contentWidth-this.containerWidth?”end“:null,y:n.scrollTop<=0?”start“:n.scrollTop>=this.contentHeight-this.containerHeight?”end“:null},this.isAlive=!0,this.settings.handlers.forEach(function(e){return S(a)}),this.lastScrollTop=Math.floor(n.scrollTop),this.lastScrollLeft=n.scrollLeft,this.event.bind(this.element,”scroll“,function(e){return a.onScroll(e)}),C(this)};return T.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,t(this.scrollbarXRail,{display:”block“}),t(this.scrollbarYRail,{display:”block“}),this.railXMarginWidth=u(e(this.scrollbarXRail).marginLeft)+u(e(this.scrollbarXRail).marginRight),this.railYMarginHeight=u(e(this.scrollbarYRail).marginTop)+u(e(this.scrollbarYRail).marginBottom),t(this.scrollbarXRail,{display:”none“}),t(this.scrollbarYRail,{display:”none“}),C(this),k(this,”top“,0,!1,!0),k(this,”left“,0,!1,!0),t(this.scrollbarXRail,{display:”“}),t(this.scrollbarYRail,{display:”“}))},T.prototype.onScroll=function(e){this.isAlive&&(C(this),k(this,”top“,this.element.scrollTop-this.lastScrollTop),k(this,”left“,this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},T.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),o(this.scrollbarX),o(this.scrollbarY),o(this.scrollbarXRail),o(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},T.prototype.removePsClasses=function(){this.element.className=this.element.className.split(” “).filter(function(e){return!e.match(/^ps(.+|)$/)}).join(” “)},T}),function(e){e(document).ready(function(){e(document).on(”click“,”.chip .close“,function(){var t=e(this);t.closest(”.chips“).data(”initialized“)||t.closest(”.chip“).remove()})});var t=function(){function t(i,n){_classCallCheck(this,t),this.chips=i,this.$document=e(document),this.options=n,this.eventsHandled=!1,this.ulWrapper=e('<ul class=”chip-ul z-depth-1“></ul>'),this.defaultOptions={data:[],dataChip:,placeholder:”“,secondaryPlaceholder:”“},this.selectors={chips:”.chips“,chip:”.chip“,input:”input“,delete:”.fas“,selectedChip:”.selected“},this.keyCodes={enter:13,backspace:8,delete:46,arrowLeft:37,arrowRight:39,comma:188},this.init()}return _createClass(t,[{key:”init“,value:function(){var t=this;return this.optionsDataStatement(),this.assignOptions(),this.chips.each(function(i,n){var o=e(n);if(!o.data(”initialized“)){var a=o.data(”options“);a.data&&Array.isArray(a.data)||(a.data=[]),o.data(”chips“,a.data),o.data(”index“,i),o.data(”initialized“,!0),o.hasClass(t.selectors.chips)||o.addClass(”chips“),t.renderChips(o)}}),this.eventsHandled||(this.handleEvents(),this.eventsHandled=!0),this}},{key:”optionsDataStatement“,value:function(){return”data“===this.options?this.chips.data(”chips“):”options“!==this.options||this.chips.data(”options“)}},{key:”assignOptions“,value:function(){this.chips.data(”options“,e.extend({},this.defaultOptions,this.options))}},{key:”handleEvents“,value:function(){this.handleSelecorChips(),this.handleBlurInput(),this.handleSelectorChip(),this.handleDocumentKeyDown(),this.handleDocumentFocusIn(),this.handleDocumentFocusOut(),this.handleDocumentKeyDownChipsInput(),this.handleDocumentClickChipsDelete(),this.inputKeyDown(),this.renderedLiClick(),this.dynamicInputChanges()}},{key:”handleSelecorChips“,value:function(){var t=this;this.$document.on(”click“,this.selectors.chips,function(i){return e(i.target).find(t.selectors.input).focus()})}},{key:”handleBlurInput“,value:function(){var e=this;this.$document.on(”blur“,this.selectors.chips,function(){return setTimeout(function(){return e.ulWrapper.hide()},100)})}},{key:”handleSelectorChip“,value:function(){this.chips.on(”click“,”.chip“,function(t){return e(t.target).removeClass(”selected“).addClass(”selected“)})}},{key:”handleDocumentKeyDown“,value:function(){var t=this;this.$document.on(”keydown“,function(i){if(!e(i.target).is(”input, textarea“)){var n=t.$document.find(t.selectors.chip+t.selectors.selectedChip),o=n.closest(t.selectors.chips),a=n.siblings(t.selectors.chip).length;if(n.length){var s=i.which===t.keyCodes.backspace,r=i.which===t.keyCodes.delete,l=i.which===t.keyCodes.arrowLeft,c=i.which===t.keyCodes.arrowRight;s||r?(i.preventDefault(),t.deleteSelectedChip(o,n,a)):l?t.selectLeftChip(o,n):c&&t.selectRightChip(o,n,a)}}})}},{key:”handleDocumentFocusIn“,value:function(){var t=this,i=this.chips;(i.hasClass(”chips-autocomplete“)?i.children().children(”input“):i.children(”input“)).on(”click“,function(i){e(i.target).closest(t.selectors.chips).addClass(”focus“),e(t.selectors.chip).removeClass(”selected“)})}},{key:”handleDocumentFocusOut“,value:function(){var t=this;this.$document.on(”focusout“,”“.concat(this.selectors.chips,” “).concat(this.selectors.input),function(i){return e(i.target).closest(t.selectors.chips).removeClass(”focus“)})}},{key:”handleDocumentKeyDownChipsInput“,value:function(){var t=this;this.$document.on(”keydown“,”“.concat(this.selectors.chips,” “).concat(this.selectors.input),function(i){var n=e(i.target),o=n.closest(t.selectors.chips),a=o.data(”index“),s=o.children(t.selectors.chip).length,r=i.which===t.keyCodes.enter,l=i.which===t.keyCodes.comma;if(r||l)return i.preventDefault(),t.addChip(a,{tag:n.val()},o),void n.val(”“);var c=i.keyCode===t.keyCodes.arrowLeft||i.keyCode===t.keyCodes.delete,u=”“===n.val();c&&u&&s&&(t.selectChip(a,s-1,o),n.blur())})}},{key:”handleDocumentClickChipsDelete“,value:function(){var t=this;this.chips.on(”click“,”.chip .fas“,function(i){var n,o=e(i.target).parent(e(t.chips));o.parents().eq(1).hasClass(”chips-autocomplete“)?n=o.parents().eq(1):o.parent().hasClass(”chips-autocomplete“)||o.parents().eq(1).hasClass(”chips-autocomplete“)?o.parent().hasClass(”chips-initial“)&&o.parent().hasClass(”chips-autocomplete“)&&(n=o.parents().eq(0)):n=o.parents().eq(0),t.deleteChip(n.data(”index“),o.index(),n),n.find(”input“).focus()})}},{key:”inputKeyDown“,value:function(){var t=this,i=this.ulWrapper,n=this.options.dataChip,o=this.chips,a=o.children(”.chip-position-wrapper“).children(”input“);a.on(”keyup“,function(s){var r=a.val();if(i.empty(),r.length)for(var l in n)n.toLowerCase().includes(r.toLowerCase())&&o.children(”.chip-position-wrapper“).append(i.append(e(”this.options.imgSize
”; object-position: “this.options.imgPosition
”;“,”max-width“:”none“},e,t):(this.image.$item=document.createElement(”div“),this.image.src&&(t=this.extend({”background-position“:this.options.imgPosition,”background-size“:this.options.imgSize,”background-repeat“:this.options.imgRepeat,”background-image“:'url(”'this.image.src
'“)'},e,t))),”opacity“!==this.options.type&&”scale“!==this.options.type&&”scale-opacity“!==this.options.type&&1!==this.options.speed||(this.image.position=”absolute“),”fixed“===this.image.position)for(var o=0,a=this.$item;null!==a&&a!==document&&0===o;){var s=this.css(a,”-webkit-transform“)||this.css(a,”-moz-transform“)||this.css(a,”transform“);s&&”none“!==s&&(o=1,this.image.position=”absolute“),a=a.parentNode}t.position=this.image.position,this.css(this.image.$item,t),this.image.$container.appendChild(this.image.$item),this.onResize(),this.onScroll(!0),this.options.automaticResize&&k&&k.observe(this.$item),this.options.onInit&&this.options.onInit.call(this),”none“!==this.css(this.$item,”background-image“)&&this.css(this.$item,{”background-image“:”none“}),this.addToParallaxList()}},{key:”addToParallaxList“,value:function(){y.push(this),1===y.length&&w()}},{key:”removeFromParallaxList“,value:function(){var e=this;y.forEach(function(t,i){t.instanceID===e.instanceID&&y.splice(i,1)})}},{key:”destroy“,value:function(){this.removeFromParallaxList();var e=this.$item.getAttribute(”data-jarallax-original-styles“);if(this.$item.removeAttribute(”data-jarallax-original-styles“),e?this.$item.setAttribute(”style“,e):this.$item.removeAttribute(”style“),this.image.useImgTag){var t=this.image.$item.getAttribute(”data-jarallax-original-styles“);this.image.$item.removeAttribute(”data-jarallax-original-styles“),t?this.image.$item.setAttribute(”style“,e):this.image.$item.removeAttribute(”style“),this.image.$itemParent&&this.image.$itemParent.appendChild(this.image.$item)}this.$clipStyles&&this.$clipStyles.parentNode.removeChild(this.$clipStyles),this.image.$container&&this.image.$container.parentNode.removeChild(this.image.$container),this.options.onDestroy&&this.options.onDestroy.call(this),delete this.$item.jarallax}},{key:”clipContainer“,value:function(){if(”fixed“===this.image.position){var e=this.image.$container.getBoundingClientRect(),t=e.width,i=e.height;if(!this.$clipStyles)this.$clipStyles=document.createElement(”style“),this.$clipStyles.setAttribute(”type“,”text/css“),this.$clipStyles.setAttribute(”id“,”jarallax-clip-“+this.instanceID),(document.head||document.getElementsByTagName(”head“)).appendChild(this.$clipStyles);var n=”#jarallax-container-“this.instanceID
” {n clip: rect(0 “t
”px “i
”px 0);n clip: rect(0, “t
”px, “i
”px, 0);n }“;this.$clipStyles.styleSheet?this.$clipStyles.styleSheet.cssText=n:this.$clipStyles.innerHTML=n}}},{key:”coverImage“,value:function(){var e=this.image.$container.getBoundingClientRect(),t=e.height,i=this.options.speed,n=”scroll“===this.options.type||”scroll-opacity“===this.options.type,o=0,a=t,s=0;return n&&(o=i<0?i*Math.max(t,h):i*(t+h),i>1?a=Math.abs(o-h):i<0?a=o/i+Math.abs(o):a+=Math.abs(h-t)*(1-i),o/=2),this.parallaxScrollDistance=o,s=n?(h-a)/2:(t-a)/2,this.css(this.image.$item,{height:a+”px“,marginTop:s+”px“,left:”fixed“===this.image.position?e.left+”px“:”0“,width:e.width+”px“}),this.options.onCoverImage&&this.options.onCoverImage.call(this),{image:{height:a,marginTop:s},container:e}}},{key:”isVisible“,value:function(){return this.isElementInViewport||!1}},{key:”onScroll“,value:function(e){var t=this.$item.getBoundingClientRect(),i=t.top,n=t.height,o={},a=t;if(this.options.elementInViewport&&(a=this.options.elementInViewport.getBoundingClientRect()),this.isElementInViewport=a.bottom>=0&&a.right>=0&&a.top<=h&&a.left<=p,e||this.isElementInViewport){var s=Math.max(0,i),r=Math.max(0,n+i),l=Math.max(0,-i),c=Math.max(0,i+n-h),u=Math.max(0,n-(i+n-h)),d=Math.max(0,-i+h-n),f=1-2*(h-i)/(h+n),m=1;if(n<h?m=1-(l||c)/n:r<=h?m=r/h:u<=h&&(m=u/h),”opacity“!==this.options.type&&”scale-opacity“!==this.options.type&&”scroll-opacity“!==this.options.type||(o.transform=”translate3d(0,0,0)“,o.opacity=m),”scale“===this.options.type||”scale-opacity“===this.options.type){var v=1;this.options.speed<0?v-=this.options.speed*m:v+=this.options.speed*(1-m),o.transform=”scale(“v
”) translate3d(0,0,0)“}if(”scroll“===this.options.type||”scroll-opacity“===this.options.type){var g=this.parallaxScrollDistance*f;”absolute“===this.image.position&&(g-=i),o.transform=”translate3d(0,“g
”px,0)“}this.css(this.image.$item,o),this.options.onScroll&&this.options.onScroll.call(this,{section:t,beforeTop:s,beforeTopEnd:r,afterTop:l,beforeBottom:c,beforeBottomEnd:u,afterBottom:d,visiblePercent:m,fromViewportCenter:f})}}},{key:”onResize“,value:function(){this.coverImage(),this.clipContainer()}}]),e}(),S=function(e){(”object“===(”undefined“==typeof HTMLElement?”undefined“:a(HTMLElement))?e instanceof HTMLElement:e&&”object“===(void 0===e?”undefined“:a(e))&&null!==e&&1===e.nodeType&&”string“==typeof e.nodeName)&&(e=);for(var t=arguments,i=Array.prototype.slice.call(arguments,2),n=e.length,o=0,s=void 0;o<n;o++)if(”object“===(void 0===t?”undefined“:a(t))||void 0===t?e.jarallax||(e.jarallax=new C(e,t)):e.jarallax&&(s=e.jarallax.apply(e.jarallax,i)),void 0!==s)return s;return e};S.constructor=C,t.default=S}).call(this,i(5))},function(e,t,i){”use strict“;var n=i(4),o=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||function(e){var t=+new Date,i=Math.max(0,16-(t-a)),n=setTimeout(e,i);return a=t,n},a=+new Date;var s=n.cancelAnimationFrame||n.webkitCancelAnimationFrame||n.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(o=o.bind(n),s=s.bind(n)),(e.exports=o).cancel=s}]),function(e){var t={};function i(n){if(t)return t.exports;var o=t={i:n,l:!1,exports:{}};return e.call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){”undefined“!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module“}),Object.defineProperty(e,”__esModule“,{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&”object“==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,”default“,{enumerable:!0,value:e}),2&t&&”string“!=typeof e)for(var o in e)i.d(n,o,function(t){return e}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,”a“,t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p=”“,i(i.s=6)}([,,function(e,t,i){”use strict“;e.exports=function(e){”complete“===document.readyState||”interactive“===document.readyState?e.call():document.attachEvent?document.attachEvent(”onreadystatechange“,function(){”interactive“===document.readyState&&e.call()}):document.addEventListener&&document.addEventListener(”DOMContentLoaded“,e)}},,function(e,t,i){”use strict“;(function(t){var i;i=”undefined“!=typeof window?window:void 0!==t?t:”undefined“!=typeof self?self:{},e.exports=i}).call(this,i(5))},function(e,t,i){”use strict“;var n,o=”function“==typeof Symbol&&”symbol“==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function“==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol“:typeof e};n=function(){return this}();try{n=n||Function(”return this“)()||(0,eval)(”this“)}catch(e){”object“===(”undefined“==typeof window?”undefined“:o(window))&&(n=window)}e.exports=n},function(e,t,i){e.exports=i(7)},function(e,t,i){”use strict“;var n=r(i(8)),o=r(i(4)),a=r(i(2)),s=r(i(10));function r(e){return e&&e.__esModule?e:{default:e}}o.default.VideoWorker=o.default.VideoWorker||n.default,(0,s.default)(),(0,a.default)(function(){”undefined“!=typeof jarallax&&jarallax(document.querySelectorAll(”“))})},function(e,t,i){”use strict“;e.exports=i(9)},function(e,t,i){”use strict“;Object.defineProperty(t,”__esModule“,{value:!0});var n=”function“==typeof Symbol&&”symbol“==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function“==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol“:typeof e},o=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t;n.enumerable=n.enumerable||!1,n.configurable=!0,”value“in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}();function a(){this._done=[],this._fail=}a.prototype={execute:function(e,t){var i=e.length;for(t=Array.prototype.slice.call(t);i–;)e.apply(null,t)},resolve:function(){this.execute(this._done,arguments)},reject:function(){this.execute(this._fail,arguments)},done:function(e){this._done.push(e)},fail:function(e){this._fail.push(e)}};var s=0,r=0,l=0,c=0,u=0,d=new a,p=new a,h=function(){function e(t,i){!function(e,t){if(!(e instanceof t))throw new TypeError(”Cannot call a class as a function“)}(this,e);this.url=t,this.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showContols:!0,startTime:0,endTime:0},this.options=this.extend({},this.options_default,i),this.videoID=this.parseURL(t),this.videoID&&(this.ID=s++,this.loadAPI(),this.init())}return o(e,[{key:”extend“,value:function(e){var t=arguments;return e=e||{},Object.keys(arguments).forEach(function(i){t&&Object.keys(t).forEach(function(n){e=t[n]})}),e}},{key:”parseURL“,value:function(e){var t,i,n,o=!(!(t=e.match(/.*(?:youtu.be/|v/|u/w/|embed/|watch?v=)(*).*/))||11!==t.length)&&t,a=function(e){var t=e.match(/https?://(?:www.|player.)?vimeo.com/(?:channels/(?:w+/)?|groups/(*)/videos/|album/(d+)/video/|video/|)(d+)(?:$|/|?)/);return!(!t||!t[3])&&t}(e),s=(i={},n=0,e.split(/,(?=mp4:|webm:|ogv:|ogg:)/).forEach(function(e){var t=e.match(/^(mp4|webm|ogv|ogg):(.*)/);t&&t&&t&&(i[”ogv“===t?”ogg“:t]=t,n=1)}),!!n&&i);return o?(this.type=”youtube“,o):a?(this.type=”vimeo“,a):!!s&&(this.type=”local“,s)}},{key:”isValid“,value:function(){return!!this.videoID}},{key:”on“,value:function(e,t){this.userEventsList=this.userEventsList||[],(this.userEventsList||(this.userEventsList=[])).push(t)}},{key:”off“,value:function(e,t){var i=this;this.userEventsList&&this.userEventsList&&(t?this.userEventsList.forEach(function(n,o){n===t&&(i.userEventsList[o]=!1)}):delete this.userEventsList)}},{key:”fire“,value:function(e){var t=this,i=[].slice.call(arguments,1);this.userEventsList&&void 0!==this.userEventsList&&this.userEventsList.forEach(function(e){e&&e.apply(t,i)})}},{key:”play“,value:function(e){var t=this;t.player&&(”youtube“===t.type&&t.player.playVideo&&(void 0!==e&&t.player.seekTo(e||0),YT.PlayerState.PLAYING!==t.player.getPlayerState()&&t.player.playVideo()),”vimeo“===t.type&&(void 0!==e&&t.player.setCurrentTime(e),t.player.getPaused().then(function(e){e&&t.player.play()})),”local“===t.type&&(void 0!==e&&(t.player.currentTime=e),t.player.paused&&t.player.play()))}},{key:”pause“,value:function(){var e=this;e.player&&(”youtube“===e.type&&e.player.pauseVideo&&YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),”vimeo“===e.type&&e.player.getPaused().then(function(t){t||e.player.pause()}),”local“===e.type&&(e.player.paused||e.player.pause()))}},{key:”mute“,value:function(){this.player&&(”youtube“===this.type&&this.player.mute&&this.player.mute(),”vimeo“===this.type&&this.player.setVolume&&this.player.setVolume(0),”local“===this.type&&(this.$video.muted=!0))}},{key:”unmute“,value:function(){this.player&&(”youtube“===this.type&&this.player.mute&&this.player.unMute(),”vimeo“===this.type&&this.player.setVolume&&this.player.setVolume(this.options.volume),”local“===this.type&&(this.$video.muted=!1))}},{key:”setVolume“,value:function(){var e=arguments.length>0&&void 0!==arguments&&arguments;this.player&&e&&(”youtube“===this.type&&this.player.setVolume&&this.player.setVolume(e),”vimeo“===this.type&&this.player.setVolume&&this.player.setVolume(e),”local“===this.type&&(this.$video.volume=e/100))}},{key:”getVolume“,value:function(e){this.player?(”youtube“===this.type&&this.player.getVolume&&e(this.player.getVolume()),”vimeo“===this.type&&this.player.getVolume&&this.player.getVolume().then(function(t){e(t)}),”local“===this.type&&e(100*this.$video.volume)):e(!1)}},{key:”getMuted“,value:function(e){this.player?(”youtube“===this.type&&this.player.isMuted&&e(this.player.isMuted()),”vimeo“===this.type&&this.player.getVolume&&this.player.getVolume().then(function(t){e(!!t)}),”local“===this.type&&e(this.$video.muted)):e(null)}},{key:”getImageURL“,value:function(e){var t=this;if(t.videoImage)e(t.videoImage);else{if(”youtube“===t.type){var i=,n=0,o=new Image;o.onload=function(){120!==(this.naturalWidth||this.width)||n===i.length-1?(t.videoImage=”https://img.youtube.com/vi/“t.videoID
”/“i[n]
”.jpg“,e(t.videoImage)):(n++,this.src=”https://img.youtube.com/vi/“t.videoID
”/“i[n]
”.jpg“)},o.src=”https://img.youtube.com/vi/“t.videoID
”/“i[n]
”.jpg“}if(”vimeo“===t.type){var a=new XMLHttpRequest;a.open(”GET“,”vimeo.com/api/v2/video/“t.videoID
=200&&this.status<400){var">”.json“,!0),a.onreadystatechange=function(){if(4===this.readyState&&this.status>=200&&this.status<400){var i=JSON.parse(this.responseText);t.videoImage=i.thumbnail_large,e(t.videoImage)}},a.send(),a=null}}}},{key:”getIframe“,value:function(e){this.getVideo(e)}},{key:”getVideo“,value:function(e){var t=this;t.$video?e(t.$video):t.onAPIready(function(){var i=void 0;if(t.$video||((i=document.createElement(”div“)).style.display=”none“),”youtube“===t.type){t.playerOptions={},t.playerOptions.videoId=t.videoID,t.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},t.options.showContols||(t.playerOptions.playerVars.iv_load_policy=3,t.playerOptions.playerVars.modestbranding=1,t.playerOptions.playerVars.controls=0,t.playerOptions.playerVars.showinfo=0,t.playerOptions.playerVars.disablekb=1);var n=void 0,o=void 0;t.playerOptions.events={onReady:function(e){t.options.mute?e.target.mute():t.options.volume&&e.target.setVolume(t.options.volume),t.options.autoplay&&t.play(t.options.startTime),t.fire(”ready“,e),setInterval(function(){t.getVolume(function(i){t.options.volume!==i&&(t.options.volume=i,t.fire(”volumechange“,e))})},150)},onStateChange:function(e){t.options.loop&&e.data===YT.PlayerState.ENDED&&t.play(t.options.startTime),n||e.data!==YT.PlayerState.PLAYING||(n=1,t.fire(”started“,e)),e.data===YT.PlayerState.PLAYING&&t.fire(”play“,e),e.data===YT.PlayerState.PAUSED&&t.fire(”pause“,e),e.data===YT.PlayerState.ENDED&&t.fire(”ended“,e),e.data===YT.PlayerState.PLAYING?o=setInterval(function(){t.fire(”timeupdate“,e),t.options.endTime&&t.player.getCurrentTime()>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())},150):clearInterval(o)}};var a=!t.$video;if(a){var s=document.createElement(”div“);s.setAttribute(”id“,t.playerID),i.appendChild(s),document.body.appendChild(i)}t.player=t.player||new window.YT.Player(t.playerID,t.playerOptions),a&&(t.$video=document.getElementById(t.playerID),t.videoWidth=parseInt(t.$video.getAttribute(”width“),10)||1280,t.videoHeight=parseInt(t.$video.getAttribute(”height“),10)||720)}if(”vimeo“===t.type){t.playerOptions=”“,t.playerOptions+=”player_id=“+t.playerID,t.playerOptions+=”&autopause=0“,t.playerOptions+=”&transparent=0“,t.options.showContols||(t.playerOptions+=”&badge=0&byline=0&portrait=0&title=0“),t.playerOptions+=”&autoplay=“+(t.options.autoplay?”1“:”0“),t.playerOptions+=”&loop=“+(t.options.loop?1:0),t.$video||(t.$video=document.createElement(”iframe“),t.$video.setAttribute(”id“,t.playerID),t.$video.setAttribute(”src“,”player.vimeo.com/video/“t.videoID
”?“+t.playerOptions),t.$video.setAttribute(”frameborder“,”0“),i.appendChild(t.$video),document.body.appendChild(i)),t.player=t.player||new Vimeo.Player(t.$video),t.player.getVideoWidth().then(function(e){t.videoWidth=e||1280}),t.player.getVideoHeight().then(function(e){t.videoHeight=e||720}),t.options.startTime&&t.options.autoplay&&t.player.setCurrentTime(t.options.startTime),t.options.mute?t.player.setVolume(0):t.options.volume&&t.player.setVolume(t.options.volume);var r=void 0;t.player.on(”timeupdate“,function(e){r||(t.fire(”started“,e),r=1),t.fire(”timeupdate“,e),t.options.endTime&&t.options.endTime&&e.seconds>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())}),t.player.on(”play“,function(e){t.fire(”play“,e),t.options.startTime&&0===e.seconds&&t.play(t.options.startTime)}),t.player.on(”pause“,function(e){t.fire(”pause“,e)}),t.player.on(”ended“,function(e){t.fire(”ended“,e)}),t.player.on(”loaded“,function(e){t.fire(”ready“,e)}),t.player.on(”volumechange“,function(e){t.fire(”volumechange“,e)})}if(”local“===t.type){t.$video||(t.$video=document.createElement(”video“),t.options.showContols&&(t.$video.controls=!0),t.options.mute?t.$video.muted=!0:t.$video.volume&&(t.$video.volume=t.options.volume/100),t.options.loop&&(t.$video.loop=!0),t.$video.setAttribute(”playsinline“,”“),t.$video.setAttribute(”webkit-playsinline“,”“),t.$video.setAttribute(”id“,t.playerID),i.appendChild(t.$video),document.body.appendChild(i),Object.keys(t.videoID).forEach(function(e){var i,n,o,a;i=t.$video,n=t.videoID,o=”video/“+e,(a=document.createElement(”source“)).src=n,a.type=o,i.appendChild(a)})),t.player=t.player||t.$video;var l=void 0;t.player.addEventListener(”playing“,function(e){l||t.fire(”started“,e),l=1}),t.player.addEventListener(”timeupdate“,function(e){t.fire(”timeupdate“,e),t.options.endTime&&t.options.endTime&&this.currentTime>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())}),t.player.addEventListener(”play“,function(e){t.fire(”play“,e)}),t.player.addEventListener(”pause“,function(e){t.fire(”pause“,e)}),t.player.addEventListener(”ended“,function(e){t.fire(”ended“,e)}),t.player.addEventListener(”loadedmetadata“,function(){t.videoWidth=this.videoWidth||1280,t.videoHeight=this.videoHeight||720,t.fire(”ready“),t.options.autoplay&&t.play(t.options.startTime)}),t.player.addEventListener(”volumechange“,function(e){t.getVolume(function(e){t.options.volume=e}),t.fire(”volumechange“,e)})}e(t.$video)})}},{key:”init“,value:function(){this.playerID=”VideoWorker-“+this.ID}},{key:”loadAPI“,value:function(){if(!r||!l){var e=”“;if(”youtube“!==this.type||r||(r=1,e=”www.youtube.com/iframe_api“),”vimeo“!==this.type||l||(l=1,e=”https://player.vimeo.com/api/player.js“),e){var t=document.createElement(”script“),i=document.getElementsByTagName(”head“);t.src=e,i.appendChild(t),i=null,t=null}}}},{key:”onAPIready“,value:function(e){if(”youtube“===this.type&&(”undefined“!=typeof YT&&0!==YT.loaded||c?”object“===(”undefined“==typeof YT?”undefined“:n(YT))&&1===YT.loaded?e():d.done(function(){e()}):(c=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,d.resolve(”done“),e()})),”vimeo“===this.type)if(”undefined“!=typeof Vimeo||u)”undefined“!=typeof Vimeo?e():p.done(function(){e()});else{u=1;var t=setInterval(function(){”undefined“!=typeof Vimeo&&(clearInterval(t),p.resolve(”done“),e())},20)}”local“===this.type&&e()}}]),e}();t.default=h},function(e,t,i){”use strict“;Object.defineProperty(t,”__esModule“,{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments?arguments:o.default.jarallax;if(void 0===e)return;var t=e.constructor,i=t.prototype.init;t.prototype.init=function(){var e=this;i.apply(e),e.video&&!e.options.disableVideo()&&e.video.getVideo(function(t){var i=t.parentNode;e.css(t,{position:e.image.position,top:”0px“,left:”0px“,right:”0px“,bottom:”0px“,width:”100%“,height:”100%“,maxWidth:”none“,maxHeight:”none“,margin:0,zIndex:-1}),e.$video=t,e.image.$container.appendChild(t),i.parentNode.removeChild(i)})};var a=t.prototype.coverImage;t.prototype.coverImage=function(){var e=a.apply(this),t=!!this.image.$item&&this.image.$item.nodeName;if(e&&this.video&&t&&(”IFRAME“===t||”VIDEO“===t)){var i=e.image.height,n=i*this.image.width/this.image.height,o=(e.container.width-n)/2,s=e.image.marginTop;e.container.width>n&&(n=e.container.width,i=n*this.image.height/this.image.width,o=0,s+=(e.image.height-i)/2),”IFRAME“===t&&(i+=400,s-=200),this.css(this.$video,{width:n+”px“,marginLeft:o+”px“,height:i+”px“,marginTop:s+”px“})}return e};var s=t.prototype.initImg;t.prototype.initImg=function(){var e=s.apply(this);return this.options.videoSrc||(this.options.videoSrc=this.$item.getAttribute(”data-jarallax-video“)||null),this.options.videoSrc?(this.defaultInitImgResult=e,!0):e};var r=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){var e=this,t=r.apply(e);if(!e.options.videoSrc)return t;var i=new n.default(e.options.videoSrc,{autoplay:!0,loop:!0,showContols:!1,startTime:e.options.videoStartTime||0,endTime:e.options.videoEndTime||0,mute:e.options.videoVolume?0:1,volume:e.options.videoVolume||0});if(i.isValid())if(t){if(i.on(”ready“,function(){if(e.options.videoPlayOnlyVisible){var t=e.onScroll;e.onScroll=function(){t.apply(e),e.isVisible()?i.play():i.pause()}}else i.play()}),i.on(”started“,function(){e.image.$default_item=e.image.$item,e.image.$item=e.$video,e.image.width=e.video.videoWidth||1280,e.image.height=e.video.videoHeight||720,e.options.imgWidth=e.image.width,e.options.imgHeight=e.image.height,e.coverImage(),e.clipContainer(),e.onScroll(),e.image.$default_item&&(e.image.$default_item.style.display=”none“)}),e.video=i,!e.defaultInitImgResult)return”local“!==i.type?(i.getImageURL(function(t){e.image.src=t,e.init()}),!1):(e.image.src=”data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7“,!0)}else e.defaultInitImgResult||i.getImageURL(function(t){var i=e.$item.getAttribute(”style“);i&&e.$item.setAttribute(”data-jarallax-original-styles“,i),e.css(e.$item,{”background-image“:'url(”'t
'“)',”background-position“:”center“,”background-size“:”cover“})});return t};var l=t.prototype.destroy;t.prototype.destroy=function(){this.image.$default_item&&(this.image.$item=this.image.$default_item,delete this.image.$default_item),l.apply(this)}};var n=a(i(8)),o=a(i(4));function a(e){return e&&e.__esModule?e:{default:e}}}]),function(e){var t={},i=”“,n=”“,o=”#ced4da“,a=”1px solid #4285f4“,s=”1px solid ced4da“,r=”0 1px 0 0 #4285f4“,l=”“,c=function(){function c(u,d){_classCallCheck(this,c),this.defaults={data:t,dataColor:i,xColor:n,xBlurColor:o,inputFocus:a,inputBlur:s,inputFocusShadow:r,inputBlurShadow:l},this.$input=u,this.options=this.assignOptions(d),this.$clearButton=e(”.mdb-autocomplete-clear“),this.$autocompleteWrap=e('<ul class=”mdb-autocomplete-wrap“></ul>'),this.init()}return _createClass(c,[{key:”init“,value:function(){this.setData(),this.inputFocus(),this.inputBlur(),this.inputKeyupData(),this.inputLiClick(),this.clearAutocomplete()}},{key:”assignOptions“,value:function(t){return e.extend({},this.defaults,t)}},{key:”setData“,value:function(){Object.keys(this.options.data).length&&this.$autocompleteWrap.insertAfter(this.$input)}},{key:”inputFocus“,value:function(){var e=this;this.$input.on(”focus“,function(){e.$input.css(”border-bottom“,e.options.inputFocus),e.$input.css(”box-shadow“,e.options.inputFocusShadow)})}},{key:”inputBlur“,value:function(){var e=this;this.$input.on(”blur“,function(){e.$input.css(”border-bottom“,e.options.inputBlur),e.$input.css(”box-shadow“,e.options.inputBlurShadow)})}},{key:”inputKeyupData“,value:function(){var t=this;this.$input.on(”keyup“,function(i){var n=t.$input.val();if(t.$autocompleteWrap.empty(),n.length)for(var o in t.options.data)if(-1!==t.options.data.toLowerCase().indexOf(n.toLowerCase())){var a=e(”