'use strict';(function(C,g){"function"===typeof define&&define.amd?define([],g):"object"===typeof module&&module.exports?module.exports=g():C.Rellax=g()})("undefined"!==typeof window?window:global,function(){var C=function(g,q){function P(){if(3===a.options.breakpoints.length&&Array.isArray(a.options.breakpoints)){var d=!0,c=!0,b;a.options.breakpoints.forEach(function(f){"number"!==typeof f&&(c=!1);null!==b&&f=d[0]&&k< d[1]?"sm":k>=d[1]&&k=e[c].max?e[c].max:f),a.options.horizontal&&!a.options.vertical&&(b=b>=e[c].max?e[c].max:b));null!=e[c].maxY&&(f=f>=e[c].maxY?e[c].maxY:f);null!=e[c].maxX&&(b=b>=e[c].maxX?e[c].maxX:b);a.elems[c].style[R]="translate3d("+(a.options.horizontal?b:"0")+"px,"+(a.options.vertical?f:"0")+"px,"+e[c].zindex+"px) "+e[c].transform}a.options.callback(d)}; a.destroy=function(){for(var d=0;d