/home/smartbloks/.trash/docly-core/assets/vendors/stellar/jquery.stellar.js
!function(t,n,e,i){if(!t)return console.error("jQuery não encontrado, seu plugin jQuery não irá funcionar."),!1;!function(){for(var t=0,e=["ms","moz","webkit","o"],i=0;i<e.length&&!n.requestAnimationFrame;++i)n.requestAnimationFrame=n[e[i]+"RequestAnimationFrame"],n.cancelAnimationFrame=n[e[i]+"CancelAnimationFrame"]||n[e[i]+"CancelRequestAnimationFrame"];n.requestAnimationFrame||(n.requestAnimationFrame=function(e,i){var a=(new Date).getTime(),o=Math.max(0,16-(a-t)),r=n.setTimeout(function(){e(a+o)},o);return t=a+o,r}),n.cancelAnimationFrame||(n.cancelAnimationFrame=function(t){clearTimeout(t)})}();var a="parallax",o={on:"scroll",listenTo:n,sceneMode:!1},r=t(n),s=0;function l(n,e){this._name=a,this._instance_id=++s,this.el=n,this.$el=t(n),this.settings=t.extend(!1,{},o,e,this.$el.data()),this.$triggerOrigin=t(this.settings.listenTo),this.init()}t.extend(l.prototype,{init:function(){var t=this;this.$triggerOrigin.on(t.settings.on+"."+t._name,function(){t.parallaxTranslate()}),t.parallaxTranslate()},parallaxTranslate:function(){var t=this;t.inScreen()&&n.requestAnimationFrame(function(){var n=r.scrollTop()-t.$el.offset().top;t.$el.css("transform","translateY("+n/2+"px)")}),console.groupEnd()},destroy:function(){this.$el.removeData(),t(this.settings.listenTo).off("."+a)},somePublicMethod:function(t,n){privateMethod.call(this)},inScreen:function(n){var e;"boolean"!=typeof n&&n!==i?(e=t(n),n=arguments[1]||!1):(e=this.$el,n=n||!1);var a=r.scrollTop(),o=a+r.height(),s=e.offset().top,l=s+e.height();return!0===n?a<=s&&o>=l:!(a>l||o<s)}}),t.fn[a]=function(n){var e=arguments;return n===i||"object"==typeof n?this.each(function(){t.data(this,"plugin_"+a)||t.data(this,"plugin_"+a,new l(this,n))}):"string"==typeof n&&"init"!==n?this.each(function(){var i=t.data(this,"plugin_"+a);i instanceof l&&"function"==typeof i[n]&&i[n].apply(i,Array.prototype.slice.call(e,1))}):void 0}}(window.jQuery||!1,window,document);