!function(e){"use strict";function t(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function n(e,t,n){var r=document.createElement(e);return r.className=t||"",r.innerHTML=n||"",r}function r(e,t,n,r,i,s,a,o,l,y,c){e.style.position=t||"absolute",e.style.top=n||"0",e.style.left=r||"0",e.style.color=a||"#fff",e.style.width=i||"100%",e.style.height=s||"100%",e.style.backgroundColor=o||"#f0f0f0",e.style.opacity=l||"0",e.style.pointerEvents=y||"none",e.style.zIndex=c||1}function i(e,n){this.el=e,this.revealLayers=[],this.options=t({},this.options),t(this.options,n),this._init()}i.prototype.options={isContentHidden:!0,layers:1,revealSettings:{direction:"lr",bgColors:["#111"],duration:500,easing:"easeInOutQuint",coverArea:0,delay:100,onHalfway:function(e,t){return!1},onStart:function(e,t){return!1},onComplete:function(e,t){return!1}}},i.prototype._init=function(){this._layout()},i.prototype._layout=function(){var e=getComputedStyle(this.el).position;"fixed"!==e&&"absolute"!==e&&"relative"!==e&&(this.el.style.position="relative");this.content=n("div","block-revealer__content",this.el.innerHTML),this.options.isContentHidden&&(this.content.style.opacity=0),this.el.innerHTML="",this.el.appendChild(this.content);var t=0,i=0;const s=this.options.layers;for(var a="#111",o=0;o