var themeRellax=function(e){"use strict";var t=function(e,o){var n=Object.create(t.prototype),r=0,i=0,s=0,a=0,l=[],p=!0,d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},c=null,m=!1;try{var u=Object.defineProperty({},"passive",{get:function(){m=!0}});window.addEventListener("testPassive",null,u),window.removeEventListener("testPassive",null,u)}catch(e){}var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,w=window.transformProp||function(){var e=document.createElement("div");if(null===e.style.transform){var t=["Webkit","Moz","ms"];for(var o in t)if(void 0!==e.style[t[o]+"Transform"])return t[o]+"Transform"}return"transform"}();n.options={speed:-2,center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,frame:null,horizontal:!1,callback:function(){}},o&&Object.keys(o).forEach((function(e){n.options[e]=o[e]})),e||(e=".rellax");var v="string"==typeof e?document.querySelectorAll(e):[e];if(v.length>0){if(n.elems=v,n.options.wrapper&&!n.options.wrapper.nodeType){var h=document.querySelector(n.options.wrapper);if(!h)return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");n.options.wrapper=h}if(n.options.frame&&!n.options.frame.nodeType){var g=document.querySelector(n.options.frame);if(!g)return void console.warn("Rellax: The frame you're trying to use doesn't exist.");n.options.frame=g}var y=function(){for(var e=0;e=l[t].max?l[t].max:d),n.options.horizontal&&!n.options.vertical&&(c=c>=l[t].max?l[t].max:c));var m=l[t].zindex,u="translate3d("+(n.options.horizontal?c:"0")+"px,"+(n.options.vertical?d:"0")+"px,"+m+"px) "+l[t].transform;n.elems[t].style[w]=u}n.options.callback(e)};return n.destroy=function(){for(var e=0;e