-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendors.min.js
2 lines (2 loc) · 56.6 KB
/
vendors.min.js
1
2
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Macy=e()}("undefined"!=typeof window?window:this,function(){"use strict";function o(t,e){if(!(this instanceof o))return new o(t,e);if(t=t.replace(/^\s*/,"").replace(/\s*$/,""),e)return this.byCss(t,e);for(var n in this.selectors)if(this.selectors.hasOwnProperty(n)&&(e=n.split("/"),new RegExp(e[1],e[2]).test(t)))return this.selectors[n](t);return this.byCss(t)}o.prototype.byCss=function(t,e){return(e||document).querySelectorAll(t)},(o.prototype.selectors={})[/^\.[\w\-]+$/]=function(t){return document.getElementsByClassName(t.substring(1))},o.prototype.selectors[/^\w+$/]=function(t){return document.getElementsByTagName(t)},o.prototype.selectors[/^\#[\w\-]+$/]=function(t){return document.getElementById(t.substring(1))};var s=function(t,e){for(var n=t.length,r=n;n--;)e(t[r-n-1])};function e(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];this.running=!1,this.events=[],this.add(t)}e.prototype.run=function(){if(!this.running&&0<this.events.length){var t=this.events.shift();this.running=!0,t(),this.running=!1,this.run()}},e.prototype.add=function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return!!t&&(Array.isArray(t)?s(t,function(t){return e.add(t)}):(this.events.push(t),void this.run()))},e.prototype.clear=function(){this.events=[]};function r(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.instance=t,this.data=e,this}function n(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];this.events={},this.instance=t}n.prototype.on=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return!(!t||!e)&&(Array.isArray(this.events[t])||(this.events[t]=[]),this.events[t].push(e))},n.prototype.emit=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t||!Array.isArray(this.events[t]))return!1;var n=new r(this.instance,e);s(this.events[t],function(t){return t(n)})};function i(t){return!("naturalHeight"in t&&t.naturalHeight+t.naturalWidth===0)||t.width+t.height!==0}function a(e,t){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];return function(t,e){for(var n=t.length,r=n,i=[];n--;)i.push(e(t[r-n-1]));return i}(t,function(t){return function(e,n){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2];return new Promise(function(t,e){if(n.complete)return i(n)?t(n):e(n);n.addEventListener("load",function(){return i(n)?t(n):e(n)}),n.addEventListener("error",function(){return e(n)})}).then(function(t){r&&e.emit(e.constants.EVENT_IMAGE_LOAD,{img:t})}).catch(function(t){return e.emit(e.constants.EVENT_IMAGE_ERROR,{img:t})})}(e,t,n)})}function l(t,e){!function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];Promise.all(a(t,e,n)).then(function(){t.emit(t.constants.EVENT_IMAGE_COMPLETE)})}(t,e,2<arguments.length&&void 0!==arguments[2]&&arguments[2])}function c(t){return function(t,e){var n=void 0;return function(){n&&clearTimeout(n),n=setTimeout(t,e)}}(function(){t.emit(t.constants.EVENT_RESIZE),t.queue.add(function(){return t.recalculate(!0,!0)})},100)}function u(t){!function(t){if(t.container=o(t.options.container),t.container instanceof o||!t.container)return t.options.debug;delete t.options.container,t.container.length&&(t.container=t.container[0]),t.container.style.position="relative"}(t),function(t){t.queue=new e,t.events=new n(t),t.rows=[],t.resizer=c(t)}(t),function(t){var e=o("img",t.container);window.addEventListener("resize",t.resizer),t.on(t.constants.EVENT_IMAGE_LOAD,function(){return t.recalculate(!1,!1)}),t.on(t.constants.EVENT_IMAGE_COMPLETE,function(){return t.recalculate(!0,!0)}),t.options.useOwnImageLoader||l(t,e,!t.options.waitForImages),t.emit(t.constants.EVENT_INITIALIZED)}(t)}var d=function(t){return t===Object(t)&&"[object Array]"!==Object.prototype.toString.call(t)},p=function(t,e){d(t)||(e.columns=t),d(t)&&t.columns&&(e.columns=t.columns),d(t)&&t.margin&&!d(t.margin)&&(e.margin={x:t.margin,y:t.margin}),d(t)&&t.margin&&d(t.margin)&&t.margin.x&&(e.margin.x=t.margin.x),d(t)&&t.margin&&d(t.margin)&&t.margin.y&&(e.margin.y=t.margin.y)};function f(t){var e=window.innerWidth,n={columns:t.columns};d(t.margin)?n.margin={x:t.margin.x,y:t.margin.y}:n.margin={x:t.margin,y:t.margin};var r=Object.keys(t.breakAt);return t.mobileFirst?function(t){for(var e=t.options,n=t.responsiveOptions,r=t.keys,i=t.docWidth,o=void 0,s=0;s<r.length;s++){var a=parseInt(r[s],10);a<=i&&(o=e.breakAt[a],p(o,n))}return n}({options:t,responsiveOptions:n,keys:r,docWidth:e}):function(t){for(var e=t.options,n=t.responsiveOptions,r=t.keys,i=t.docWidth,o=void 0,s=r.length-1;0<=s;s--){var a=parseInt(r[s],10);i<=a&&(o=e.breakAt[a],p(o,n))}return n}({options:t,responsiveOptions:n,keys:r,docWidth:e})}function h(t){return f(t).columns}function v(t){return f(t).margin}function m(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=h(t),r=v(t).x,i=100/n;return e?1===n?"100%":"calc("+i+"% - "+(r=(n-1)*r/n)+"px)":i}function g(t){var e=0,n=t.container,r=t.rows;s(r,function(t){e=e<t?t:e}),n.style.height=e+"px"}function y(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t.lastcol||(t.lastcol=0),t.rows.length<1&&(n=!0),n){t.rows=[],t.cols=[],t.lastcol=0;for(var r=e-1;0<=r;r--)t.rows[r]=0,t.cols[r]=(o=r,c=a=s=void 0,l=h((i=t).options),c=0,1==++o?0:(s=((a=v(i.options).x)-(l-1)*a/l)*(o-1),"calc("+(c+=m(i.options,!1)*(o-1))+"% + "+s+"px)"))}else{var i,o,s,a,l,c;if(t.tmpRows){t.rows=[];for(var u=e-1;0<=u;u--)t.rows[u]=t.tmpRows[u]}else{t.tmpRows=[];for(var d=e-1;0<=d;d--)t.tmpRows[d]=t.rows[d]}}}function E(n,t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],i=h(n.options),o=v(n.options).y;y(n,i,e),s(t,function(t){n.lastcol===i&&(n.lastcol=0);var e=function(t,e){window.getComputedStyle(t,null).getPropertyValue(e)}(t,"height");e=parseInt(t.offsetHeight,10),isNaN(e)||(t.style.position="absolute",t.style.top=n.rows[n.lastcol]+"px",t.style.left=""+n.cols[n.lastcol],n.rows[n.lastcol]+=isNaN(e)?0:e+o,n.lastcol+=1,r&&(t.dataset.macyComplete=1))}),r&&(n.tmpRows=null),g(n)}function w(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],r=e?t.container.children:o(':scope > *:not([data-macy-complete="1"])',t.container),i=m(t.options);return s(r,function(t){e&&(t.dataset.macyComplete=0),t.style.width=i}),t.options.trueOrder?E(t,r,e,n):function(r,t){var e=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],n=h(r.options),o=v(r.options).y;y(r,n,e),s(t,function(t){var n=0,e=parseInt(t.offsetHeight,10);isNaN(e)||(r.rows.forEach(function(t,e){t<r.rows[n]&&(n=e)}),t.style.position="absolute",t.style.top=r.rows[n]+"px",t.style.left=""+r.cols[n],r.rows[n]+=isNaN(e)?0:e+o,i&&(t.dataset.macyComplete=1))}),i&&(r.tmpRows=null),g(r)}(t,r,e,n),t.emit(t.constants.EVENT_RECALCULATED)}var b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},L={columns:4,margin:2,trueOrder:!1,waitForImages:!1,useImageLoader:!0,breakAt:{},useOwnImageLoader:!1,onInit:!1};!function(){try{document.createElement("a").querySelector(":scope *")}catch(t){!function(){var i=/:scope\b/gi,e=t(Element.prototype.querySelector);Element.prototype.querySelector=function(t){return e.apply(this,arguments)};var n=t(Element.prototype.querySelectorAll);function t(r){return function(t){if(t&&i.test(t)){var e=this.getAttribute("id");e||(this.id="q"+Math.floor(9e6*Math.random())+1e6),arguments[0]=t.replace(i,"#"+this.id);var n=r.apply(this,arguments);return null===e?this.removeAttribute("id"):e||(this.id=e),n}return r.apply(this,arguments)}}Element.prototype.querySelectorAll=function(t){return n.apply(this,arguments)}}()}}();function _(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:L;if(!(this instanceof _))return new _(t);this.options={},b(this.options,L,t),u(this)}return _.init=function(t){return new _(t)},_.prototype.recalculateOnImageLoad=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return l(this,o("img",this.container),!t)},_.prototype.runOnImageLoad=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=o("img",this.container);return this.on(this.constants.EVENT_IMAGE_COMPLETE,t),e&&this.on(this.constants.EVENT_IMAGE_LOAD,t),l(this,n,e)},_.prototype.recalculate=function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return n&&this.queue.clear(),this.queue.add(function(){return w(t,e,n)})},_.prototype.remove=function(){window.removeEventListener("resize",this.resizer),s(this.container.children,function(t){t.removeAttribute("data-macy-complete"),t.removeAttribute("style")}),this.container.removeAttribute("style")},_.prototype.reInit=function(){this.recalculate(!0,!0),this.emit(this.constants.EVENT_INITIALIZED),window.addEventListener("resize",this.resizer),this.container.style.position="relative"},_.prototype.on=function(t,e){this.events.on(t,e)},_.prototype.emit=function(t,e){this.events.emit(t,e)},_.prototype.constants=_.constants={EVENT_INITIALIZED:"macy.initialized",EVENT_RECALCULATED:"macy.recalculated",EVENT_IMAGE_LOAD:"macy.image.load",EVENT_IMAGE_ERROR:"macy.image.error",EVENT_IMAGE_COMPLETE:"macy.images.complete",EVENT_RESIZE:"macy.resize"},_}),function(t,o){"use strict";var r;r=function(t,e,n){var r={"#":"getElementById",".":"getElementsByClassName","@":"getElementsByName","=":"getElementsByTagName","*":"querySelectorAll"}[t[0]],i=(e===n?o:e)[r](t.slice(1));return i.length<2?i[0]:i};function e(t){var e=t.container instanceof Node?t.container:r(t.container)||"",n=t.item instanceof NodeList?t.item:r(t.item)||"";this.props=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(t,{container:e,nodeList:n})}e.prototype.mount=function(){if(!this.props.container)return!1;if(!this.props.nodeList||0===this.props.nodeList.length)return!1;var i="number"==typeof this.props.gutter&&isFinite(this.props.gutter)&&Math.floor(this.props.gutter)===this.props.gutter?this.props.gutter:0,t=this.props.done,e=this.props.container,n=this.props.nodeList;e.style.width="";var r=Array.prototype.forEach,o=e.getBoundingClientRect().width,s=n[0].getBoundingClientRect().width+i,a=Math.max(Math.floor((o-i)/s),1);o=s*a+i+"px",e.style.width=o,e.style.position="relative";for(var l=[],c=[],u=0;u<a;++u)c.push(u*s+i),l.push(i);this.props.rtl&&c.reverse(),r.call(n,function(t){var e=l.slice(0).sort(function(t,e){return t-e}).shift();e=l.indexOf(e);var n=parseInt(c[e]),r=parseInt(l[e]);t.style.position="absolute",t.style.webkitBackfaceVisibility=t.style.backfaceVisibility="hidden",t.style.transformStyle="preserve-3d",t.style.transform="translate3D("+n+"px,"+r+"px, 0)",l[e]+=t.getBoundingClientRect().height+i,1}),e.style.display="";var d=l.slice(0).sort(function(t,e){return t-e}).pop();e.style.height=d+"px","function"==typeof t&&t(n)},t.Minigrid=e}("undefined"!=typeof window?window:this,document),function(t,m,e){"use strict";var g={};g.helpers={extendObj:function(){for(var t=1,e=arguments.length;t<e;t+=1)for(var n in arguments[t])arguments[t].hasOwnProperty(n)&&(arguments[t][n]&&arguments[t][n].constructor&&arguments[t][n].constructor===Object?(arguments[0][n]=arguments[0][n]||{},this.extendObj(arguments[0][n],arguments[t][n])):arguments[0][n]=arguments[t][n]);return arguments[0]}},g.countWords=function(t){return t.split(/\s+/).length},g.generateTrimmed=function(t,e){return t.split(/\s+/).slice(0,e).join(" ")+"..."},g.init=function(t){t=g.helpers.extendObj({},{target:"",numOfWords:50,toggle:!0,moreLink:"read more...",lessLink:"read less"},t);var e,n,r,i,o,s,a,l,c,u,d=m.querySelectorAll(t.target),p=d.length,f=[],h=[];for(i=0;i<p;i++)e=d[i].innerHTML,n=g.generateTrimmed(e,t.numOfWords),r=g.countWords(e),f.push(e),h.push(n),t.numOfWords<r-1&&(d[i].innerHTML=h[i],(a=t.inline?m.createElement("span"):t.customBlockElement?m.createElement(t.customBlockElement):m.createElement("div")).innerHTML='<a href="javascript:void(0);" id="rm-more_'+i+'" class="rm-link" style="cursor:pointer;">'+t.moreLink+"</a>",t.inline?d[i].appendChild(a):d[i].parentNode.insertBefore(a,d[i].nextSibling));function v(){c=this.getAttribute("id"),u=c.split("_")[1],"true"!==this.getAttribute("data-clicked")?(d[u].innerHTML=f[u],!1!==t.toggle?(this.innerHTML=t.lessLink,this.setAttribute("data-clicked",!0)):this.innerHTML=""):(d[u].innerHTML=h[u],this.innerHTML=t.moreLink,this.setAttribute("data-clicked",!1))}for(o=0,s=(l=m.querySelectorAll(".rm-link")||"").length;o<s;o++)l[o].onclick=v},window.$readMoreJS=g}("undefined"!=typeof window&&window,document),function(o,r){"use strict";var t,e,n=(t={registerRipples:function(){var t,e=r.getElementsByClassName("ripple"),n="ripple--is-binded";for(t=0;t<e.length;t++)e[t].classList.contains(n)||(e[t].classList.add(n),e[t].addEventListener("touchstart",function(t){i(t)},{passive:!0}),e[t].addEventListener("touchmove",function(t){if(t.target.hasAttribute("ripple-cancel-on-move"))l(t);else{var e;try{e=r.elementFromPoint(t.touches[0].clientX,t.touches[0].clientY).classList.contains("ripple")}catch(t){e=!1}e||l(t)}},{passive:!0}),e[t].addEventListener("touchend",function(t){a(t)},{passive:!0}),e[t].addEventListener("mousedown",function(t){i(t)},{passive:!0}),e[t].addEventListener("mouseup",function(t){a(t)},{passive:!0}),e[t].addEventListener("mousemove",function(t){!t.target.hasAttribute("ripple-cancel-on-move")||0===t.movementX&&0===t.movementY||l(t)},{passive:!0}),e[t].addEventListener("mouseleave",function(t){l(t)},{passive:!0}),e[t].addEventListener("transitionend",function(t){"2"!==t.target.getAttribute("animating")&&"3"!==t.target.getAttribute("animating")||(t.target.style.transition="none",t.target.style.transform="translate(-50%, -50%) scale(0)",t.target.style.boxShadow="none",t.target.setAttribute("animating","0"))},{passive:!0}),s(e[t])===e[t]&&(e[t].innerHTML+='<div class="rippleContainer"></div>'))},ripple:function(t){if(t.classList.contains("ripple")){var e=t.getBoundingClientRect(),n={target:t,offsetX:e.width/2,offsetY:e.height/2};i(n),a(n)}}},(e=r.createElement("style")).type="text/css",e.innerHTML=".ripple { overflow: hidden !important; position: relative; } .ripple .rippleContainer { display: block; height: 200px !important; width: 200px !important; padding: 0px 0px 0px 0px; border-radius: 50%; position: absolute !important; top: 0px; left: 0px; transform: translate(-50%, -50%) scale(0); -webkit-transform: translate(-50%, -50%) scale(0); -ms-transform: translate(-50%, -50%) scale(0); background-color: transparent; } .ripple * {pointer-events: none !important;}",r.head.appendChild(e),t.registerRipples(),t);function s(t){for(var e=t.childNodes,n=0;n<e.length;n++)try{if(e[n].classList.contains("rippleContainer"))return e[n]}catch(t){}return t}function i(t){var e=s(t.target);if(("0"===e.getAttribute("animating")||!e.hasAttribute("animating"))&&t.target.classList.contains("ripple")){e.setAttribute("animating","1");var n="number"==typeof t.offsetX?t.offsetX:t.touches[0].clientX-t.target.getBoundingClientRect().left,r="number"==typeof t.offsetY?t.offsetY:t.touches[0].clientY-t.target.getBoundingClientRect().top,i=Math.max(Math.sqrt(Math.pow(n,2)+Math.pow(r,2)),Math.sqrt(Math.pow(t.target.clientWidth-n,2)+Math.pow(t.target.clientHeight-r,2)),Math.sqrt(Math.pow(n,2)+Math.pow(t.target.clientHeight-r,2)),Math.sqrt(Math.pow(r,2)+Math.pow(t.target.clientWidth-n,2))),o=t.target.getAttribute("ripple-press-expand-time")||3;e.style.transition="transform "+o+"s ease-out, box-shadow 0.1s linear",e.style.background=t.target.getAttribute("ripple-color")||"white",e.style.opacity=t.target.getAttribute("ripple-opacity")||"0.6",e.style.boxShadow=t.target.getAttribute("ripple-shadow")||"none",e.style.top=r+"px",e.style.left=n+"px",e.style.transform="translate(-50%, -50%) scale("+i/100+")"}}function a(t){var e=s(t.target);if("1"===e.getAttribute("animating")){e.setAttribute("animating","2");var n=o.getComputedStyle(e,null).getPropertyValue("background"),r=t.target.clientWidth+t.target.clientHeight;e.style.transition="none";var i=t.target.getAttribute("ripple-release-expand-time")||.4;e.style.transition="transform "+i+"s linear, background "+i+"s linear, opacity "+i+"s ease-in-out",e.style.transform="translate(-50%, -50%) scale("+r/100+")",e.style.background="radial-gradient(transparent 10%, "+n+" 40%)",e.style.opacity="0",t.target.dispatchEvent(new CustomEvent("ripple-button-click",{target:t.target})),new Function(""+t.target.getAttribute("onrippleclick")).call(o)}}function l(t){var e=s(t.target);if("translate(-50%, -50%) scale(0)"===e.style.transform&&e.setAttribute("animating","0"),"1"===e.getAttribute("animating")){e.setAttribute("animating","3");var n=t.target.getAttribute("ripple-leave-collapse-time")||.4;e.style.transition="transform "+n+"s linear, box-shadow "+n+"s linear",e.style.boxShadow="none",e.style.transform="translate(-50%, -50%) scale(0)"}}o.ripple=n}("undefined"!=typeof window?window:this,document),function(r,o){"use strict";function t(t,e){var n=e||{};this.trigger=t,this.el=o.getElementsByClassName(a)[0]||"",this.body=this.el?this.el.getElementsByClassName("body")[0]:"",this.content=this.el?this.el.getElementsByClassName("content")[0]:"",this.src=t.dataset.src||"",this.href=t.getAttribute("href")||"",this.dataPaddingBottom=t.dataset.paddingBottom||"",this.dataScrolling=t.dataset.scrolling||"",this.dataTouch=t.dataset.touch||"",this.rate=n.rate||500,this.scrolling=n.scrolling,this.touch=n.touch,this.onOpened=n.onOpened,this.onIframeLoaded=n.onIframeLoaded,this.onLoaded=n.onLoaded,this.onCreated=n.onCreated,this.onClosed=n.onClosed,this.init()}var i=o.documentElement||"",s=o.body||"",a="iframe-lightbox",l="iframe-lightbox-window--is-binded",e="iframe-lightbox--open",c="iframe-lightbox-link--is-binded",u="is-loaded",n="is-opened",d="is-showing",p=null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)||void 0!==o.createTouch||"ontouchstart"in r||"onmsgesturechange"in r||navigator.msMaxTouchPoints;t.prototype.init=function(){var t=this;this.el||this.create();function e(){t.open()}function n(t){t.stopPropagation(),t.preventDefault(),function(n,r){var i,o,s,a;return function(){s=this,o=[].slice.call(arguments,0),a=new Date,i||(i=setTimeout(function t(){var e=new Date-a;e<r?i=setTimeout(t,r-e):(i=null,n.apply(s,o))},r))}}(e,this.rate).call()}this.trigger.classList.contains(c)||(this.trigger.classList.add(c),this.trigger.addEventListener("click",n),p&&(t.touch||t.dataTouch)&&this.trigger.addEventListener("touchstart",n))},t.prototype.create=function(){var e=this,t=o.createElement("div");t.classList.add("backdrop"),this.el=o.createElement("div"),this.el.classList.add(a),this.el.appendChild(t),this.content=o.createElement("div"),this.content.classList.add("content"),this.body=o.createElement("div"),this.body.classList.add("body"),this.content.appendChild(this.body),this.contentHolder=o.createElement("div"),this.contentHolder.classList.add("content-holder"),this.contentHolder.appendChild(this.content),this.el.appendChild(this.contentHolder),this.btnClose=o.createElement("a"),this.btnClose.classList.add("btn-close"),this.btnClose.setAttribute("href","javascript:void(0);"),this.el.appendChild(this.btnClose),s.appendChild(this.el),t.addEventListener("click",function(){e.close()}),this.btnClose.addEventListener("click",function(){e.close()}),i.classList.contains(l)||(i.classList.add(l),r.addEventListener("keyup",function(t){27===(t.which||t.keyCode)&&e.close()}));function n(){e.isOpen()||(e.el.classList.remove(d),e.body.innerHTML="")}this.el.addEventListener("transitionend",n,!1),this.el.addEventListener("webkitTransitionEnd",n,!1),this.el.addEventListener("mozTransitionEnd",n,!1),this.el.addEventListener("msTransitionEnd",n,!1),this.callCallback(this.onCreated,this)},t.prototype.loadIframe=function(){var t=this;this.iframeId=a+Date.now(),this.iframeSrc=this.src||this.href||"";var e,n,r,i=[];i.push('<iframe src="'+this.iframeSrc+'" name="'+this.iframeId+'" id="'+this.iframeId+'" onload="this.style.opacity=1;" style="opacity:0;border:none;" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen="true" height="166" frameborder="no"></iframe>'),i.push('<div class="half-circle-spinner"><div class="circle circle-1"></div><div class="circle circle-2"></div></div>'),this.body.innerHTML=i.join(""),e=this.iframeId,n=this.body,(r=o.getElementById(e)).onload=function(){this.style.opacity=1,n.classList.add(u),t.scrolling||t.dataScrolling?(r.removeAttribute("scrolling"),r.style.overflow="scroll"):(r.setAttribute("scrolling","no"),r.style.overflow="hidden"),t.callCallback(t.onIframeLoaded,t),t.callCallback(t.onLoaded,t)}},t.prototype.open=function(){this.loadIframe(),this.dataPaddingBottom?this.content.style.paddingBottom=this.dataPaddingBottom:this.content.removeAttribute("style"),this.el.classList.add(d),this.el.classList.add(n),i.classList.add(e),s.classList.add(e),this.callCallback(this.onOpened,this)},t.prototype.close=function(){this.el.classList.remove(n),this.body.classList.remove(u),i.classList.remove(e),s.classList.remove(e),this.callCallback(this.onClosed,this)},t.prototype.isOpen=function(){return this.el.classList.contains(n)},t.prototype.callCallback=function(t,e){"function"==typeof t&&t.bind(this)(e)},r.IframeLightbox=t}("undefined"!=typeof window?window:this,document),function(E,w){"use strict";function b(t,e){"function"==typeof t&&t.bind(this)(e)}function L(e){function t(){n.classList.remove("fadeIn"),n.classList.add(o);var t=setTimeout(function(){clearTimeout(t),t=null,n.classList.remove(T),n.classList.remove(o),r.classList.remove(T),r.classList.remove(s),r.onload=function(){n.classList.remove(I)},r.src=S,function(t){t&&(t.style.display="none")}(n),b(e,E)},400)}var n=w.getElementsByClassName(x)[0]||"",r=n&&n.getElementsByTagName("img")[0]||"";if(n&&r){r.classList.remove(C),r.classList.add(s);var i=setTimeout(function(){clearTimeout(i),i=null,t()},400)}_.classList.remove(O),A.classList.remove(O)}var _=w.documentElement||"",A=w.body||"",T="animated",x="img-lightbox",C="fadeInUp",o="fadeOut",s="fadeOutDown",M="img-lightbox-window--is-binded",O="img-lightbox--open",k="img-lightbox-link--is-binded",I="is-loaded",S="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",N=null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)||void 0!==w.createTouch||"ontouchstart"in E||"onmsgesturechange"in E||navigator.msMaxTouchPoints;E.imgLightbox=function(t,e){var n=t||"",r=e||{},i=r.rate||500,o=r.touch,s=r.onError,a=r.onLoaded,l=r.onCreated,c=r.onClosed,u=w.getElementsByClassName(n)||"",d=w.getElementsByClassName(x)[0]||"",p=d&&d.getElementsByTagName("img")[0]||"";if(!d){(d=w.createElement("div")).classList.add(x);var f=[];f.push('<img src="'+S+'" alt="" />'),f.push('<div class="half-circle-spinner"><div class="circle circle-1"></div><div class="circle circle-2"></div></div>'),f.push('<a href="javascript:void(0);" class="btn-close"></a>'),d.innerHTML=f.join(""),A.appendChild(d),p=d&&d.getElementsByTagName("img")[0]||"";var h=d&&d.getElementsByClassName("btn-close")[0]||"",v=function(){L(c)};d.addEventListener("click",v),h.addEventListener("click",v),_.classList.contains(M)||(_.classList.add(M),E.addEventListener("keyup",function(t){27===(t.which||t.keyCode)&&L(c)}))}function m(t){var e=t.getAttribute("href")||t.getAttribute("data-src")||"",n=t.getAttribute("data-touch")||"";if(e){var r=function(t){t.stopPropagation(),t.preventDefault(),_.classList.add(O),A.classList.add(O),d.classList.remove(I),function(n,r){var i,o,s,a;return function(){s=this,o=[].slice.call(arguments,0),a=new Date,i||(i=setTimeout(function t(){var e=new Date-a;e<r?i=setTimeout(t,r-e):(i=null,n.apply(s,o))},r))}}(function(){l&&b(l,E),d.classList.add(T),d.classList.add("fadeIn"),p.classList.add(T),p.classList.add(C),p.onload=function(){d.classList.add(I),a&&b(a,E)},p.onerror=function(){s&&b(s,E)},p.src=e,function(t){t&&(t.style.display="block")}(d)},i).call()};t.classList.contains(k)||(t.classList.add(k),t.addEventListener("click",r),N&&(o||n)&&t.addEventListener("touchstart",r))}}if(d&&p&&u){var g,y;for(g=0,y=u.length;g<y;g+=1)m(u[g]);g=y=null}}}("undefined"!=typeof window?window:this,document),function(t,E){"use strict";for(var w="length",g=[null,[[10,7,17,13],[1,1,1,1],[]],[[16,10,28,22],[1,1,1,1],[4,16]],[[26,15,22,18],[1,1,2,2],[4,20]],[[18,20,16,26],[2,1,4,2],[4,24]],[[24,26,22,18],[2,1,4,4],[4,28]],[[16,18,28,24],[4,2,4,4],[4,32]],[[18,20,26,18],[4,2,5,6],[4,20,36]],[[22,24,26,22],[4,2,6,6],[4,22,40]],[[22,30,24,20],[5,2,8,8],[4,24,44]],[[26,18,28,24],[5,4,8,8],[4,26,48]],[[30,20,24,28],[5,4,11,8],[4,28,52]],[[22,24,28,26],[8,4,11,10],[4,30,56]],[[22,26,22,24],[9,4,16,12],[4,32,60]],[[24,30,24,20],[9,4,16,16],[4,24,44,64]],[[24,22,24,30],[10,6,18,12],[4,24,46,68]],[[28,24,30,24],[10,6,16,17],[4,24,48,72]],[[28,28,28,28],[11,6,19,16],[4,28,52,76]],[[26,30,28,28],[13,6,21,18],[4,28,54,80]],[[26,28,26,26],[14,7,25,21],[4,28,56,84]],[[26,28,28,30],[16,8,25,20],[4,32,60,88]],[[26,28,30,28],[17,8,25,23],[4,26,48,70,92]],[[28,28,24,30],[17,9,34,23],[4,24,48,72,96]],[[28,30,30,30],[18,9,30,25],[4,28,52,76,100]],[[28,30,30,30],[20,10,32,27],[4,26,52,78,104]],[[28,26,30,30],[21,12,35,29],[4,30,56,82,108]],[[28,28,30,28],[23,12,37,34],[4,28,56,84,112]],[[28,30,30,30],[25,12,40,34],[4,32,60,88,116]],[[28,30,30,30],[26,13,42,35],[4,24,48,72,96,120]],[[28,30,30,30],[28,14,45,38],[4,28,52,76,100,124]],[[28,30,30,30],[29,15,48,40],[4,24,50,76,102,128]],[[28,30,30,30],[31,16,51,43],[4,28,54,80,106,132]],[[28,30,30,30],[33,17,54,45],[4,32,58,84,110,136]],[[28,30,30,30],[35,18,57,48],[4,28,56,84,112,140]],[[28,30,30,30],[37,19,60,51],[4,32,60,88,116,144]],[[28,30,30,30],[38,19,63,53],[4,28,52,76,100,124,148]],[[28,30,30,30],[40,20,66,56],[4,22,48,74,100,126,152]],[[28,30,30,30],[43,21,70,59],[4,26,52,78,104,130,156]],[[28,30,30,30],[45,22,74,62],[4,30,56,82,108,134,160]],[[28,30,30,30],[47,24,77,65],[4,24,52,80,108,136,164]],[[28,30,30,30],[49,25,81,68],[4,28,56,84,112,140,168]]],c=/^\d*$/,u=/^[A-Za-z0-9 $%*+\-./:] * $ /,d=/^[A-Z0-9 $%*+\-./:] * $ /,p=[],f=[-1],e=0,n=1;e<255;++e)p.push(n),f[n]=e,n=2*n^(128<=n?285:0);for(var h=[[]],r=0;r<30;++r){for(var i=h[r],o=[],s=0;s<=r;++s){var a=s<r?p[i[s]]:0,l=p[(r+(i[s-1]||0))%255];o.push(f[a^l])}h.push(o)}for(var v={},m=0;m<45;++m)v["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".charAt(m)]=m;function y(t){return 6<t}function b(t,e){var n=-8&function(t){var e=g[t],n=16*t*t+128*t+64;return y(t)&&(n-=36),e[2][w]&&(n-=25*e[2][w]*e[2][w]-10*e[2][w]-55),n}(t),r=g[t];return n-=8*r[0][e]*r[1][e]}function L(t,e){switch(e){case 1:return t<10?10:t<27?12:14;case 2:return t<10?9:t<27?11:13;case 4:return t<10?8:16;case 8:return t<10?8:t<27?10:12}}function _(t,e,n){var r=b(t,n)-4-L(t,e);switch(e){case 1:return 3*(r/10|0)+(r%10<4?0:r%10<7?1:2);case 2:return 2*(r/11|0)+(r%11<6?0:1);case 4:return r/8|0;case 8:return r/13|0}}function A(t,e){for(var n=t.slice(0),r=t[w],i=e[w],o=0;o<i;++o)n.push(0);for(var s=0;s<r;){var a=f[n[s++]];if(0<=a)for(var l=0;l<i;++l)n[s+l]^=p[(a+e[l])%255]}return n.slice(r)}function T(t,e,n,r){for(var i=t<<r,o=e-1;0<=o;--o)i>>r+o&1&&(i^=n<<o);return t<<r|i}function x(t,e,n){for(var r=k[n],i=t[w],o=0;o<i;++o)for(var s=0;s<i;++s)e[o][s]||(t[o][s]^=r(o,s));return t}function C(t,e,n,r){for(var i=t[w],o=21522^T(n<<3|r,5,1335,10),s=0;s<15;++s){var a=[i-1,i-2,i-3,i-4,i-5,i-6,i-7,i-8,7,5,4,3,2,1,0][s];t[[0,1,2,3,4,5,7,8,i-7,i-6,i-5,i-4,i-3,i-2,i-1][s]][8]=t[8][a]=o>>s&1}return t}function M(t){for(var e=function(t){for(var e=0,n=0;n<t[w];++n)5<=t[n]&&(e+=t[n]-5+3);for(var r=5;r<t[w];r+=2){var i=t[r];t[r-1]===i&&t[r-2]===3*i&&t[r-3]===i&&t[r-4]===i&&(t[r-5]>=4*i||t[r+1]>=4*i)&&(e+=40)}return e},n=t[w],r=0,i=0,o=0;o<n;++o){var s,a=t[o];s=[0];for(var l=0;l<n;){var c;for(c=0;l<n&&a[l];++c)++l;for(s.push(c),c=0;l<n&&!a[l];++c)++l;s.push(c)}r+=e(s),s=[0];for(var u=0;u<n;){var d;for(d=0;u<n&&t[u][o];++d)++u;for(s.push(d),d=0;u<n&&!t[u][o];++d)++u;s.push(d)}r+=e(s);var p=t[o+1]||[];i+=a[0];for(var f=1;f<n;++f){var h=a[f];i+=h,a[f-1]===h&&p[f]===h&&p[f-1]===h&&(r+=3)}}return r+=10*(Math.abs(i/n/n-.5)/.05|0)}function O(t,e,n,r,i){var o=g[e],s=function(t,e,n,r){function i(t,e){if(a<=e){for(o.push(s|t>>(e-=a));8<=e;)o.push(t>>(e-=8)&255);s=0,a=8}0<e&&(s|=(t&(1<<e)-1)<<(a-=e))}var o=[],s=0,a=8,l=n[w],c=L(t,e);switch(i(e,4),i(l,c),e){case 1:for(var u=2;u<l;u+=3)i(parseInt(n.substring(u-2,u+1),10),10);i(parseInt(n.substring(u-2),10),[0,4,7][l%3]);break;case 2:for(var d=1;d<l;d+=2)i(45*v[n.charAt(d-1)]+v[n.charAt(d)],11);l%2==1&&i(v[n.charAt(d-1)],6);break;case 4:for(var p=0;p<l;++p)i(n[p],8)}for(i(0,4),a<8&&o.push(s);o[w]+1<r;)o.push(236,17);return o[w]<r&&o.push(236),o}(e,n,t,b(e,r)>>3);s=function(t,e,n){for(var r=[],i=t[w]/e|0,o=0,s=e-t[w]%e,a=0;a<s;++a)r.push(o),o+=i;for(var l=s;l<e;++l)r.push(o),o+=1+i;r.push(o);for(var c=[],u=0;u<e;++u)c.push(A(t.slice(r[u],r[u+1]),n));for(var d=[],p=t[w]/e|0,f=0;f<p;++f)for(var h=0;h<e;++h)d.push(t[r[h]+f]);for(var v=s;v<e;++v)d.push(t[r[v+1]-1]);for(var m=0;m<n[w];++m)for(var g=0;g<e;++g)d.push(c[g][m]);return d}(s,o[1][r],h[o[0][r]]);var a=function(t){for(var e=g[t],n=function(t){return 4*t+17}(t),a=[],l=[],r=0;r<n;++r)a.push([]),l.push([]);function i(t,e,n,r,i){for(var o=0;o<n;++o)for(var s=0;s<r;++s)a[t+o][e+s]=i[o]>>s&1,l[t+o][e+s]=1}i(0,0,9,9,[127,65,93,93,93,65,383,0,64]),i(n-8,0,8,9,[256,127,65,93,93,93,65,127]),i(0,n-8,9,8,[254,130,186,186,186,130,254,0,0]);for(var o=9;o<n-8;++o)a[6][o]=a[o][6]=1&~o,l[6][o]=l[o][6]=1;for(var s=e[2],c=s[w],u=0;u<c;++u)for(var d=0===u?c-1:c,p=0===u||u===c-1?1:0;p<d;++p)i(s[u],s[p],5,5,[31,17,21,17,31]);if(y(t))for(var f=T(t,6,7973,12),h=0,v=0;v<6;++v)for(var m=0;m<3;++m)a[v][n-11+m]=a[n-11+m][v]=f>>h++&1,l[v][n-11+m]=l[n-11+m][v]=1;return{matrix:a,reserved:l}}(e),l=a.matrix,c=a.reserved;if(function(t,e,n){for(var r=t[w],i=0,o=-1,s=r-1;0<=s;s-=2){6===s&&--s;for(var a=o<0?r-1:0,l=0;l<r;++l){for(var c=s;s-2<c;--c)e[a][c]||(t[a][c]=n[i>>3]>>(7&~i)&1,++i);a+=o}o=-o}}(l,c,s),i<0){x(l,c,0),C(l,0,r,0);var u=0,d=M(l);for(x(l,c,0),i=1;i<8;++i){x(l,c,i),C(l,0,r,i);var p=M(l);p<d&&(d=p,u=i),x(l,c,i)}i=u}return x(l,c,i),C(l,0,r,i),l}var k=[function(t,e){return(t+e)%2==0},function(t){return t%2==0},function(t,e){return e%3==0},function(t,e){return(t+e)%3==0},function(t,e){return((t/2|0)+(e/3|0))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],I={generate:function(t,e){var n=e||{},r={numeric:1,alphanumeric:2,octet:4},i={L:1,M:0,Q:3,H:2},o=n.version||-1,s=i[(n.ecclevel||"L").toUpperCase()],a=n.mode?r[n.mode.toLowerCase()]:-1,l="mask"in n?n.mask:-1;if(a<0)a="string"==typeof t?t.match(c)?1:t.match(d)?2:4:4;else if(1!==a&&2!==a&&4!==a)throw"invalid or unsupported mode";if(null===(t=function(t,e){switch(t){case 1:return e.match(c)?e:null;case 2:return e.match(u)?e.toUpperCase():null;case 4:if("string"!=typeof e)return e;for(var n=[],r=0;r<e[w];++r){var i=e.charCodeAt(r);i<128?n.push(i):i<2048?n.push(192|i>>6,128|63&i):i<65536?n.push(224|i>>12,128|i>>6&63,128|63&i):n.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|63&i)}return n}}(a,t)))throw"invalid data format";if(s<0||3<s)throw"invalid ECC level";if(o<0){for(o=1;o<=40&&!(t[w]<=_(o,a,s));++o);if(40<o)throw"too large data"}else if(o<1||40<o)throw"invalid version";if(-1!==l&&(l<0||8<l))throw"invalid mask";return O(t,o,a,s,l)},generateHTML:function(t,e){for(var n=e||{},r=n.fillcolor?n.fillcolor:"#FFFFFF",i=n.textcolor?n.textcolor:"#000000",o=I.generate(t,n),s=Math.max(n.modulesize||5,.5),a=Math.max(null!==n.margin?n.margin:4,0),l=E.createElement("div"),c=o[w],u=['<table border="0" cellspacing="0" cellpadding="0" style="border:'+s*a+"px solid "+r+";background:"+r+'">'],d=0;d<c;++d){u.push("<tr>");for(var p=0;p<c;++p)u.push('<td style="width:'+s+"px;height:"+s+"px"+(o[d][p]?";background:"+i:"")+'"></td>');u.push("</tr>")}l.className="qrcode";var f=E.createRange();f.selectNodeContents(l);var h=f.createContextualFragment(u.join("")+"</table>");return l.appendChild(h),l},generateSVG:function(t,e){var n=e||{},r=n.fillcolor?n.fillcolor:"#FFFFFF",i=n.textcolor?n.textcolor:"#000000",o=I.generate(t,n),s=o[w],a=Math.max(n.modulesize||5,.5),l=Math.max(n.margin?n.margin:4,0),c=a*(s+2*l),u=E.createElementNS("http://www.w3.org/2000/svg","svg");u.setAttributeNS(null,"viewBox","0 0 "+c+" "+c),u.setAttributeNS(null,"style","shape-rendering:crispEdges");var d="qrcode"+Date.now();u.setAttributeNS(null,"id",d);var p=E.createDocumentFragment(),f=E.createElementNS("http://www.w3.org/2000/svg","style");f.appendChild(E.createTextNode("#"+d+" .bg{fill:"+r+"}#"+d+" .fg{fill:"+i+"}")),p.appendChild(f);function h(t,e,n,r,i){var o=E.createElementNS("http://www.w3.org/2000/svg","rect")||"";return o.setAttributeNS(null,"class",t),o.setAttributeNS(null,"fill",e),o.setAttributeNS(null,"x",n),o.setAttributeNS(null,"y",r),o.setAttributeNS(null,"width",i),o.setAttributeNS(null,"height",i),o}p.appendChild(h("bg","none",0,0,c));for(var v=l*a,m=0;m<s;++m){for(var g=l*a,y=0;y<s;++y)o[m][y]&&p.appendChild(h("fg","none",g,v,a)),g+=a;v+=a}return u.appendChild(p),u},generatePNG:function(t,e){var n,r=e||{},i=r.fillcolor||"#FFFFFF",o=r.textcolor||"#000000",s=I.generate(t,r),a=Math.max(r.modulesize||5,.5),l=Math.max(null!==r.margin&&void 0!==r.margin?r.margin:4,0),c=s[w],u=a*(c+2*l),d=E.createElement("canvas");if(d.width=d.height=u,!(n=d.getContext("2d")))throw"canvas support is needed for PNG output";n.fillStyle=i,n.fillRect(0,0,u,u),n.fillStyle=o;for(var p=0;p<c;++p)for(var f=0;f<c;++f)s[p][f]&&n.fillRect(a*(l+f),a*(l+p),a,a);return d.toDataURL()}};t.QRCode=I}("undefined"!=typeof window?window:this,document),function(s,t){"use strict";if("function"!=typeof s.createEvent)return;function e(t){var e=t.toLowerCase(),n="MS"+t;return navigator.msPointerEnabled?n:window.PointerEvent?e:""}function a(t){return!t.pointerId||void 0===u||t.pointerId===u}function n(t,e,n){for(var r=e.split(" "),i=r.length;i--;)t.addEventListener(r[i],n,!1)}function r(t){return t.targetTouches?t.targetTouches[0]:t}function l(){return(new Date).getTime()}function c(t,e,n,r){var i=s.createEvent("Event");if(i.originalEvent=n,(r=r||{}).x=d,r.y=p,r.distance=r.distance,w.useJquery&&(i=jQuery.Event(e,{originalEvent:n}),jQuery(t).trigger(i,r)),i.initEvent){for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);i.initEvent(e,!0,!0),t.dispatchEvent(i)}for(;t;)t["on"+e]&&t["on"+e](i),t=t.parentNode}var u,d,p,f,h,v,m,g,y,E=0,w={useJquery:!t.IGNORE_JQUERY&&"undefined"!=typeof jQuery,swipeThreshold:t.SWIPE_THRESHOLD||100,tapThreshold:t.TAP_THRESHOLD||150,dbltapThreshold:t.DBL_TAP_THRESHOLD||200,longtapThreshold:t.LONG_TAP_THRESHOLD||1e3,tapPrecision:t.TAP_PRECISION/2||30,justTouchEvents:t.JUST_ON_TOUCH_DEVICES},b=!1,i=e("PointerDown")||"touchstart",o=e("PointerUp")+" touchend",L=e("PointerMove")+" touchmove";n(s,i+(w.justTouchEvents?"":" mousedown"),function(t){if(a(t)){var e="mousedown"===t.type;if(b=!e,u=t.pointerId,"mousedown"!==t.type||!b){var n=r(t);f=d=n.pageX,h=p=n.pageY,y=setTimeout(function(){c(t.target,"longtap",t),m=t.target},w.longtapThreshold),v=l(),E++}}}),n(s,o+(w.justTouchEvents?"":" mouseup"),function(t){if(a(t))if(u=void 0,"mouseup"===t.type&&b)b=!1;else{var e=[],n=l(),r=h-p,i=f-d;if(clearTimeout(g),clearTimeout(y),i<=-w.swipeThreshold&&e.push("swiperight"),i>=w.swipeThreshold&&e.push("swipeleft"),r<=-w.swipeThreshold&&e.push("swipedown"),r>=w.swipeThreshold&&e.push("swipeup"),e.length){for(var o=0;o<e.length;o++){var s=e[o];c(t.target,s,t,{distance:{x:Math.abs(i),y:Math.abs(r)}})}E=0}else f>=d-w.tapPrecision&&f<=d+w.tapPrecision&&h>=p-w.tapPrecision&&h<=p+w.tapPrecision&&0<=v+w.tapThreshold-n&&(c(t.target,2<=E&&m===t.target?"dbltap":"tap",t),m=t.target),g=setTimeout(function(){E=0},w.dbltapThreshold)}}),n(s,L+(w.justTouchEvents?"":" mousemove"),function(t){if(a(t)&&("mousemove"!==t.type||!b)){var e=r(t);d=e.pageX,p=e.pageY}}),t.tocca=function(t){for(var e in t)t.hasOwnProperty(e)&&(w[e]=t[e]);return w}}(document,"undefined"!=typeof window?window:this);var WheelIndicator=function(n,t){var r="onwheel"in t?"wheel":"mousewheel",i={callback:function(){},elem:t,preventMouse:!0};function e(t){this._options=s(i,t),this._deltaArray=[0,0,0],this._isAcceleration=!1,this._isStopped=!0,this._direction="",this._timer="",this._isWorking=!0;var e=this;this._wheelHandler=function(t){e._isWorking&&(function(t){var e=this,n=c(t);if(0===n)return;var r,i=0<n?"down":"up",o=e._deltaArray.length,s=!1,a=0;for(clearTimeout(e._timer),e._timer=setTimeout(function(){e._deltaArray=[0,0,0],e._isStopped=!0,e._direction=i},150),r=0;r<o;r++)0!==e._deltaArray[r]&&(0<e._deltaArray[r]?++a:--a);Math.abs(a)===o&&(0<a?"down":"up")!==e._direction&&(s=!0,e._direction=i);e._isStopped||(s?(e._isAcceleration=!0,l.call(this,t)):Math.abs(a)===o&&function(t){var e=Math.abs(this._deltaArray[0]),n=Math.abs(this._deltaArray[1]),r=Math.abs(this._deltaArray[2]),i=Math.abs(c(t));r<i&&n<r&&e<n&&(this._isAcceleration||(l.call(this,t),this._isAcceleration=!0));i<r&&r<=n&&(this._isAcceleration=!1)}.call(this,t));e._isStopped&&(e._isStopped=!1,e._isAcceleration=!0,e._direction=i,l.call(this,t));e._deltaArray.shift(),e._deltaArray.push(n)}.call(e,t),e._options.preventMouse&&function(t){(t=t||n.event).preventDefault?t.preventDefault():t.returnValue=!1}(t))},function(t,e,n){t.addEventListener?t.addEventListener(e,n,!!o&&{passive:!0}):t.attachEvent&&t.attachEvent("on"+e,n)}(this._options.elem,r,this._wheelHandler)}function l(t){t.direction=this._direction,this._options.callback.call(this,t)}e.prototype={constructor:e,turnOn:function(){return this._isWorking=!0,this},turnOff:function(){return this._isWorking=!1,this},setOptions:function(t){return this._options=s(this._options,t),this},getOption:function(t){var e=this._options[t];if(void 0!==e)return e;throw new Error("Unknown option")},destroy:function(){return function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!!o&&{passive:!0}):t.detachEvent&&t.detachEvent("on"+e,n)}(this._options.elem,r,this._wheelHandler),this}};var c=function(t){return(c=t.wheelDelta&&!t.deltaY?function(t){return-1*t.wheelDelta}:function(t){return t.deltaY})(t)};var o=function(){var t=!1;try{var e=Object.defineProperty&&Object.defineProperty({},"passive",{get:function(){t=!0}});n.addEventListener("test",function(){},e)}catch(t){}return t}();function s(t,e){var n,r={};for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}return e}("undefined"!=typeof window?window:this,document);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&(module.exports=WheelIndicator),function(){var t;function e(t){this.o=null!=t?t:{},window.isAnyResizeEventInited||(this.vars(),this.redefineProto())}e.prototype.vars=function(){return window.isAnyResizeEventInited=!0,this.allowedProtos=[HTMLDivElement,HTMLFormElement,HTMLLinkElement,HTMLBodyElement,HTMLParagraphElement,HTMLFieldSetElement,HTMLLegendElement,HTMLLabelElement,HTMLButtonElement,HTMLUListElement,HTMLOListElement,HTMLLIElement,HTMLHeadingElement,HTMLQuoteElement,HTMLPreElement,HTMLBRElement,HTMLFontElement,HTMLHRElement,HTMLModElement,HTMLParamElement,HTMLMapElement,HTMLTableElement,HTMLTableCaptionElement,HTMLImageElement,HTMLTableCellElement,HTMLSelectElement,HTMLInputElement,HTMLTextAreaElement,HTMLAnchorElement,HTMLObjectElement,HTMLTableColElement,HTMLTableSectionElement,HTMLTableRowElement],this.timerElements={img:1,textarea:1,input:1,embed:1,object:1,svg:1,canvas:1,tr:1,tbody:1,thead:1,tfoot:1,a:1,select:1,option:1,optgroup:1,dl:1,dt:1,br:1,basefont:1,font:1,col:1,iframe:1}},e.prototype.redefineProto=function(){var o,a,s;return function(){var t,e,n,r;function i(t){var e,n,r,i,o,s;return e=t.prototype.addEventListener||t.prototype.attachEvent,i=e,r=function(){return this===window&&this===document||"onresize"!==arguments[0]||this.isAnyResizeEventInited||a.handleResize({args:arguments,that:this}),i.apply(this,arguments)},t.prototype.addEventListener?t.prototype.addEventListener=r:t.prototype.attachEvent&&(t.prototype.attachEvent=r),n=t.prototype.removeEventListener||t.prototype.detachEvent,o=n,s=function(){return this.isAnyResizeEventInited=!1,this.iframe&&this.removeChild(this.iframe),o.apply(this,arguments)},t.prototype.removeEventListener?t.prototype.removeEventListener=s:t.prototype.detachEvent?t.prototype.detachEvent=r:void 0}for(n=this.allowedProtos,r=[],o=t=0,e=n.length;t<e;o=++t)null!=(s=n[o]).prototype&&r.push(i(s));return r}.call(a=this)},e.prototype.handleResize=function(t){var e,n,r,i,o,s,a;return n=t.that,this.timerElements[n.tagName.toLowerCase()]?this.initTimer(n):(r=document.createElement("iframe"),n.appendChild(r),r.style.width="100%",r.style.height="100%",r.style.position="absolute",r.style.zIndex=-999,r.style.opacity=0,r.style.top=0,r.style.left=0,r.setAttribute("title","any-resize-event"),r.setAttribute("aria-hidden",!0),o="static"===(e=window.getComputedStyle?getComputedStyle(n):n.currentStyle).position&&""===n.style.position,i=""===e.position&&""===n.style.position,(o||i)&&(n.style.position="relative"),null!=(s=r.contentWindow)&&(s.onresize=(a=this,function(t){return a.dispatchEvent(n)})),n.iframe=r),n.isAnyResizeEventInited=!0},e.prototype.initTimer=function(n){var r,i,o;return r=i=0,this.interval=setInterval((o=this,function(){var t,e;if(e=n.offsetWidth,t=n.offsetHeight,e!==i||t!==r)return o.dispatchEvent(n),i=e,r=t}),this.o.interval||62.5)},e.prototype.dispatchEvent=function(t){var e;return document.createEvent?((e=document.createEvent("HTMLEvents")).initEvent("onresize",!1,!1),t.dispatchEvent(e)):!!document.createEventObject&&(e=document.createEventObject(),t.fireEvent("onresize",e))},e.prototype.destroy=function(){var t,e,n,r,i,o,s;for(clearInterval(this.interval),this.interval=null,window.isAnyResizeEventInited=!1,o=[],t=n=0,r=(i=this.allowedProtos).length;n<r;t=++n)null!=(e=i[t]).prototype&&o.push(((s=e).prototype.addEventListener||s.prototype.attachEvent,s.prototype.addEventListener?s.prototype.addEventListener=Element.prototype.addEventListener:s.prototype.attachEvent&&(s.prototype.attachEvent=Element.prototype.attachEvent),s.prototype.removeEventListener?s.prototype.removeEventListener=Element.prototype.removeEventListener:s.prototype.detachEvent?s.prototype.detachEvent=Element.prototype.detachEvent:void 0));return o},t=e,"function"==typeof define&&define.amd?define("any-resize-event",[],function(){return new t}):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=new t:("undefined"!=typeof window&&null!==window&&(window.AnyResizeEvent=t),"undefined"!=typeof window&&null!==window&&(window.anyResizeEvent=new t))}.call(this),function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&exports&&"string"!=typeof exports.nodeName?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t.Mustache={},e(t.Mustache))}(this,function(b){var e=Object.prototype.toString,L=Array.isArray||function(t){return"[object Array]"===e.call(t)};function c(t){return"function"==typeof t}function _(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(t,e){return null!==t&&"object"===_typeof(t)&&e in t}var n=RegExp.prototype.test;var r=/\S/;function A(t){return!function(t,e){return n.call(t,e)}(r,t)}var i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};var T=/\s*/,x=/\s+/,C=/\s*=/,M=/\s*\}/,O=/#|\^|\/|>|\{|&|=|!/;function k(t){this.string=t,this.tail=t,this.pos=0}function o(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function t(){this.cache={}}k.prototype.eos=function(){return""===this.tail},k.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},k.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},o.prototype.push=function(t){return new o(t,this)},o.prototype.lookup=function(t){var e,n=this.cache;if(n.hasOwnProperty(t))e=n[t];else{for(var r,i,o=this,s=!1;o;){if(0<t.indexOf("."))for(e=o.view,r=t.split("."),i=0;null!==e&&i<r.length;)i===r.length-1&&(s=a(e,r[i])),e=e[r[i++]];else e=o.view[t],s=a(o.view,t);if(s)break;o=o.parent}n[t]=e}return c(e)&&(e=e.call(this.view)),e},t.prototype.clearCache=function(){this.cache={}},t.prototype.parse=function(t,e){var n=this.cache,r=n[t];return null==r&&(r=n[t]=function(t,e){if(!t)return[];var n,r,i,o=[],s=[],a=[],l=!1,c=!1;function u(){if(l&&!c)for(;a.length;)delete s[a.pop()];else a=[];c=l=!1}function d(t){if("string"==typeof t&&(t=t.split(x,2)),!L(t)||2!==t.length)throw new Error("Invalid tags: "+t);n=new RegExp(_(t[0])+"\\s*"),r=new RegExp("\\s*"+_(t[1])),i=new RegExp("\\s*"+_("}"+t[1]))}d(e||b.tags);for(var p,f,h,v,m,g,y=new k(t);!y.eos();){if(p=y.pos,h=y.scanUntil(n))for(var E=0,w=h.length;E<w;++E)A(v=h.charAt(E))?a.push(s.length):c=!0,s.push(["text",v,p,p+1]),p+=1,"\n"===v&&u();if(!y.scan(n))break;if(l=!0,f=y.scan(O)||"name",y.scan(T),"="===f?(h=y.scanUntil(C),y.scan(C),y.scanUntil(r)):"{"===f?(h=y.scanUntil(i),y.scan(M),y.scanUntil(r),f="&"):h=y.scanUntil(r),!y.scan(r))throw new Error("Unclosed tag at "+y.pos);if(m=[f,h,p,y.pos],s.push(m),"#"===f||"^"===f)o.push(m);else if("/"===f){if(!(g=o.pop()))throw new Error('Unopened section "'+h+'" at '+p);if(g[1]!==h)throw new Error('Unclosed section "'+g[1]+'" at '+p)}else"name"===f||"{"===f||"&"===f?c=!0:"="===f&&d(h)}if(g=o.pop())throw new Error('Unclosed section "'+g[1]+'" at '+y.pos);return function(t){for(var e,n=[],r=n,i=[],o=0,s=t.length;o<s;++o)switch((e=t[o])[0]){case"#":case"^":r.push(e),i.push(e),r=e[4]=[];break;case"/":i.pop()[5]=e[2],r=0<i.length?i[i.length-1][4]:n;break;default:r.push(e)}return n}(function(t){for(var e,n,r=[],i=0,o=t.length;i<o;++i)(e=t[i])&&("text"===e[0]&&n&&"text"===n[0]?(n[1]+=e[1],n[3]=e[3]):(r.push(e),n=e));return r}(s))}(t,e)),r},t.prototype.render=function(t,e,n){var r=this.parse(t),i=e instanceof o?e:new o(e);return this.renderTokens(r,i,n,t)},t.prototype.renderTokens=function(t,e,n,r){for(var i,o,s,a="",l=0,c=t.length;l<c;++l)s=void 0,"#"===(o=(i=t[l])[0])?s=this.renderSection(i,e,n,r):"^"===o?s=this.renderInverted(i,e,n,r):">"===o?s=this.renderPartial(i,e,n,r):"&"===o?s=this.unescapedValue(i,e):"name"===o?s=this.escapedValue(i,e):"text"===o&&(s=this.rawValue(i)),void 0!==s&&(a+=s);return a},t.prototype.renderSection=function(t,e,n,r){var i=this,o="",s=e.lookup(t[1]);if(s){if(L(s))for(var a=0,l=s.length;a<l;++a)o+=this.renderTokens(t[4],e.push(s[a]),n,r);else if("object"===_typeof(s)||"string"==typeof s||"number"==typeof s)o+=this.renderTokens(t[4],e.push(s),n,r);else if(c(s)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");null!==(s=s.call(e.view,r.slice(t[3],t[5]),function(t){return i.render(t,e,n)}))&&(o+=s)}else o+=this.renderTokens(t[4],e,n,r);return o}},t.prototype.renderInverted=function(t,e,n,r){var i=e.lookup(t[1]);if(!i||L(i)&&0===i.length)return this.renderTokens(t[4],e,n,r)},t.prototype.renderPartial=function(t,e,n){if(n){var r=c(n)?n(t[1]):n[t[1]];return null!==r?this.renderTokens(this.parse(r),e,n,r):void 0}},t.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(null!==n)return n},t.prototype.escapedValue=function(t,e){var n=e.lookup(t[1]);if(null!==n)return b.escape(n)},t.prototype.rawValue=function(t){return t[1]},b.name="mustache.js",b.version="2.3.2",b.tags=["{{","}}"];var s=new t;return b.clearCache=function(){return s.clearCache()},b.parse=function(t,e){return s.parse(t,e)},b.render=function(t,e,n){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+function(t){return L(t)?"array":_typeof(t)}(t)+'" was given as the first argument for mustache#render(template, view, partials)');return s.render(t,e,n)},b.to_html=function(t,e,n,r){var i=b.render(t,e,n);if(!c(r))return i;r(i)},b.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,function(t){return i[t]})},b.Scanner=k,b.Context=o,b.Writer=t,b}),function(t){"use strict";function e(){}var n=e.prototype,r=t.EventEmitter;function o(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}n.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},n.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},n.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},n.addListener=function(t,e){if(!function t(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!==_typeof(e))&&t(e.listener)}(e))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(t),i="object"===_typeof(e);for(n in r)r.hasOwnProperty(n)&&-1===o(r[n],e)&&r[n].push(i?e:{listener:e,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,e){var n,r,i=this.getListenersAsObject(t);for(r in i)i.hasOwnProperty(r)&&-1!==(n=o(i[r],e))&&i[r].splice(n,1);return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,n){var r,i,o=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!==_typeof(e)||e instanceof RegExp)for(r=n.length;r--;)o.call(this,e,n[r]);else for(r in e)e.hasOwnProperty(r)&&(i=e[r])&&("function"==typeof i?o.call(this,r,i):s.call(this,r,i));return this},n.removeEvent=function(t){var e,n=_typeof(t),r=this._getEvents();if("string"===n)delete r[t];else if(t instanceof RegExp)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var n,r,i,o,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(t,r.listener),r.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,r.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return t.EventEmitter=r,e},t.EventEmitter=e}("undefined"!=typeof window?window:this||{});var _extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},LazyLoad=function(){"use strict";function l(t,e){return t.getAttribute("data-"+e)}function i(t,e,n){var r="data-"+e;null!==n?t.setAttribute(r,n):t.removeAttribute(r)}function o(t){return"true"===l(t,u)}function s(t,e){return i(t,r,e)}function a(t){return l(t,r)}function c(t,e){var n,r="LazyLoad::Initialized",i=new t(e);try{n=new CustomEvent(r,{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:i})}window.dispatchEvent(n)}var n={elements_selector:"img",container:document,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,callback_load:null,callback_error:null,callback_set:null,callback_enter:null,callback_finish:null,to_webp:!1},u="was-processed",r="ll-timeout";function d(t,e){return e?t.replace(/\.(jpe?g|png)/gi,".webp"):t}function p(t,e,n,r){for(var i,o=0;i=t.children[o];o+=1)if("SOURCE"===i.tagName){var s=l(i,n);M(i,e,s,r)}}function f(t,e){var n=e._settings,r=t.tagName,i=O[r];if(i)return i(t,n),e._updateLoadingCount(1),void(e._elements=function(t,e){return t.filter(function(t){return t!==e})}(e._elements,t));!function(t,e){var n=C&&e.to_webp,r=l(t,e.data_src),i=l(t,e.data_bg);if(r){var o=d(r,n);t.style.backgroundImage='url("'+o+'")'}if(i){var s=d(i,n);t.style.backgroundImage=s}}(t,n)}function h(t,e){x?t.classList.add(e):t.className+=(t.className?" ":"")+e}function v(t,e){t&&t(e)}function m(t,e,n){t.addEventListener(e,n)}function g(t,e,n){t.removeEventListener(e,n)}function y(t,e,n){g(t,"load",e),g(t,k,e),g(t,"error",n)}function E(t,e,n){var r=n._settings,i=e?r.class_loaded:r.class_error,o=e?r.callback_load:r.callback_error,s=t.target;!function(t,e){x?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}(s,r.class_loading),h(s,i),v(o,s),n._updateLoadingCount(-1)}function w(n,r){function i(t){E(t,!0,r),y(n,i,e)}var e=function t(e){E(e,!1,r),y(n,i,t)};!function(t,e,n){m(t,"load",e),m(t,k,e),m(t,"error",n)}(n,i,e)}function b(t,e,n){S(t,n),e.unobserve(t)}function L(t){var e=a(t);e&&(clearTimeout(e),s(t,null))}var t,e,_="undefined"!=typeof window,A=_&&!("onscroll"in window)||/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),T=_&&"IntersectionObserver"in window,x=_&&"classList"in document.createElement("p"),C=_&&(t="image/webp",!(!(e=document.createElement("canvas")).getContext||!e.getContext("2d"))&&0===e.toDataURL(t).indexOf("data:"+t)),M=function(t,e,n,r){n&&t.setAttribute(e,d(n,r))},O={IMG:function(t,e){var n=C&&e.to_webp,r=e.data_srcset,i=t.parentNode;i&&"PICTURE"===i.tagName&&p(i,"srcset",r,n);var o=l(t,e.data_sizes);M(t,"sizes",o);var s=l(t,r);M(t,"srcset",s,n);var a=l(t,e.data_src);M(t,"src",a,n)},IFRAME:function(t,e){var n=l(t,e.data_src);M(t,"src",n)},VIDEO:function(t,e){var n=e.data_src,r=l(t,n);p(t,"src",n),M(t,"src",r),t.load()}},k="loadeddata",I=["IMG","IFRAME","VIDEO"];function S(t,e,n){var r=e._settings;!n&&o(t)||(v(r.callback_enter,t),-1<I.indexOf(t.tagName)&&(w(t,e),h(t,r.class_loading)),f(t,e),function(t){i(t,u,"true")}(t),v(r.callback_set,t))}function N(t){return t.isIntersecting||0<t.intersectionRatio}function H(t,e){this._settings=function(t){return _extends({},n,t)}(t),this._setObserver(),this._loadingCount=0,this.update(e)}return H.prototype={_manageIntersection:function(t){var e=this._observer,n=this._settings.load_delay,r=t.target;n?N(t)?function(t,e,n){var r=n._settings.load_delay,i=a(t);i||(i=setTimeout(function(){b(t,e,n),L(t)},r),s(t,i))}(r,e,this):L(r):N(t)&&b(r,e,this)},_onIntersection:function(t){t.forEach(this._manageIntersection.bind(this))},_setObserver:function(){T&&(this._observer=new IntersectionObserver(this._onIntersection.bind(this),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(this._settings)))},_updateLoadingCount:function(t){this._loadingCount+=t,0===this._elements.length&&0===this._loadingCount&&v(this._settings.callback_finish)},update:function(t){var e=this,n=this._settings,r=t||n.container.querySelectorAll(n.elements_selector);this._elements=function(t){return t.filter(function(t){return!o(t)})}(Array.prototype.slice.call(r)),!A&&this._observer?this._elements.forEach(function(t){e._observer.observe(t)}):this.loadAll()},destroy:function(){var e=this;this._observer&&(this._elements.forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){S(t,this,e)},loadAll:function(){var e=this;this._elements.forEach(function(t){e.load(t)})}},_&&function(t,e){if(e)if(e.length)for(var n,r=0;n=e[r];r+=1)c(t,n);else c(t,e)}(H,window.lazyLoadOptions),H}();
//# sourceMappingURL=vendors.min.js.map