PageSourceSearch

https://www.deepsilver.com/scripts/index-ve__YJo4.js

js deepsilver.com collected 2026-09-24 09:01:38 UTC 7,351 bytes, 1 lines download raw bytes

1import{c as ge,g as ye}from"./_commonjsHelpers-Cpj98o6Y.js";var W={exports:{}},ne;function Ae(){return ne||(ne=1,(function(S){(function(y,s){S.exports?S.exports=s():y.Rellax=s()})(typeof window<"u"?window:ge,function(){var y=function(s,x){var e=Object.create(y.prototype),f=0,w=0,b=0,m=0,a=[],h=!0,X=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)},g=null,T=!1;try{var B=Object.defineProperty({},"passive",{get:function(){T=!0}});window.addEventListener("testPassive",null,B),window.removeEventListener("testPassive",null,B)}catch{}var le=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,ie=window.transformProp||(function(){var t=document.createElement("div");if(t.style.transform===null){var r=["Webkit","Moz","ms"];for(var o in r)if(t.style[r[o]+"Transform"]!==void 0)return r[o]+"Transform"}return"transform"})();e.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}},x&&Object.keys(x).forEach(function(t){e.options[t]=x[t]});function se(){if(e.options.breakpoints.length===3&&Array.isArray(e.options.breakpoints)){var t=!0,r=!0,o;if(e.options.breakpoints.forEach(function(i){typeof i!="number"&&(r=!1),o!==null&&i<o&&(t=!1),o=i}),t&&r)return}e.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}x&&x.breakpoints&&se(),s||(s=".rellax");var C=typeof s=="string"?document.querySelectorAll(s):[s];if(C.length>0)e.elems=C;else{console.warn("Rellax: The elements you're trying to select don't exist.");return}if(e.options.wrapper&&!e.options.wrapper.nodeType){var F=document.querySelector(e.options.wrapper);if(F)e.options.wrapper=F;else{console.warn("Rellax: The wrapper you're trying to use doesn't exist.");return}}var E,pe=function(t){var r=e.options.breakpoints;return t<r[0]?"xs":t>=r[0]&&t<r[1]?"sm":t>=r[1]&&t<r[2]?"md":"lg"},de=function(){for(var t=0;t<e.elems.length;t++){var r=ce(e.elems[t]);a.push(r)}},A=function(){for(var t=0;t<a.length;t++)e.elems[t].style.cssText=a[t].style;a=[],w=window.innerHeight,m=window.innerWidth,E=pe(m),H(),de(),D(),h&&(window.addEventListener("resize",A),h=!1,L())},ce=function(t){var r=t.getAttribute("data-rellax-percentage"),o=t.getAttribute("data-rellax-speed"),i=t.getAttribute("data-rellax-xs-speed"),c=t.getAttribute("data-rellax-mobile-speed"),d=t.getAttribute("data-rellax-tablet-speed"),u=t.getAttribute("data-rellax-desktop-speed"),v=t.getAttribute("data-rellax-vertical-speed"),z=t.getAttribute("data-rellax-horizontal-speed"),k=t.getAttribute("data-rellax-vertical-scroll-axis"),n=t.getAttribute("data-rellax-horizontal-scroll-axis"),l=t.getAttribute("data-rellax-zindex")||0,R=t.getAttribute("data-rellax-min"),O=t.getAttribute("data-rellax-max"),ue=t.getAttribute("data-rellax-min-x"),ve=t.getAttribute("data-rellax-max-x"),fe=t.getAttribute("data-rellax-min-y"),me=t.getAttribute("data-rellax-max-y"),M,N=!0;!i&&!c&&!d&&!u?N=!1:M={xs:i,sm:c,md:d,lg:u};var G=e.options.wrapper?e.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;if(e.options.relativeToWrapper){var xe=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;G=xe-e.options.wrapper.offsetTop}var I=e.options.vertical&&(r||e.options.center)?G:0,U=e.options.horizontal&&(r||e.options.center)?e.options.wrapper?e.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0,Z=I+t.getBoundingClientRect().top,J=t.clientHeight||t.offsetHeight||t.scrollHeight,K=U+t.getBoundingClientRect().left,Q=t.clientWidth||t.offsetWidth||t.scrollWidth,V=r||(I-Z+w)/(J+w),_=r||(U-K+m)/(Q+m);e.options.center&&(_=.5,V=.5);var $=N&&M[E]!==null?Number(M[E]):o||e.options.speed,ee=v||e.options.verticalSpeed,te=z||e.options.horizontalSpeed,we=k||e.options.verticalScrollAxis,be=n||e.options.horizontalScrollAxis,re=j(_,V,$,ee,te),Y=t.
1style.cssText,P="",ae=/transform\s*:/i.exec(Y);if(ae){var he=ae.index,q=Y.slice(he),oe=q.indexOf(";");oe?P=" "+q.slice(11,oe).replace(/\s/g,""):P=" "+q.slice(11).replace(/\s/g,"")}return{baseX:re.x,baseY:re.y,top:Z,left:K,height:J,width:Q,speed:$,verticalSpeed:ee,horizontalSpeed:te,verticalScrollAxis:we,horizontalScrollAxis:be,style:Y,transform:P,zindex:l,min:R,max:O,minX:ue,maxX:ve,minY:fe,maxY:me}},H=function(){var t=f,r=b;if(f=e.options.wrapper?e.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,b=e.options.wrapper?e.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,e.options.relativeToWrapper){var o=(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;f=o-e.options.wrapper.offsetTop}return!!(t!=f&&e.options.vertical||r!=b&&e.options.horizontal)},j=function(t,r,o,i,c){var d={},u=(c||o)*(100*(1-t)),v=(i||o)*(100*(1-r));return d.x=e.options.round?Math.round(u):Math.round(u*100)/100,d.y=e.options.round?Math.round(v):Math.round(v*100)/100,d},p=function(){window.removeEventListener("resize",p),window.removeEventListener("orientationchange",p),(e.options.wrapper?e.options.wrapper:window).removeEventListener("scroll",p),(e.options.wrapper?e.options.wrapper:document).removeEventListener("touchmove",p),g=X(L)},L=function(){H()&&h===!1?(D(),g=X(L)):(g=null,window.addEventListener("resize",p),window.addEventListener("orientationchange",p),(e.options.wrapper?e.options.wrapper:window).addEventListener("scroll",p,T?{passive:!0}:!1),(e.options.wrapper?e.options.wrapper:document).addEventListener("touchmove",p,T?{passive:!0}:!1))},D=function(){for(var t,r=0;r<e.elems.length;r++){var o=a[r].verticalScrollAxis.toLowerCase(),i=a[r].horizontalScrollAxis.toLowerCase(),c=o.indexOf("x")!=-1?f:0,d=o.indexOf("y")!=-1?f:0,u=i.indexOf("x")!=-1?b:0,v=i.indexOf("y")!=-1?b:0,z=(d+v-a[r].top+w)/(a[r].height+w),k=(c+u-a[r].left+m)/(a[r].width+m);t=j(k,z,a[r].speed,a[r].verticalSpeed,a[r].horizontalSpeed);var n=t.y-a[r].baseY,l=t.x-a[r].baseX;a[r].min!==null&&(e.options.vertical&&!e.options.horizontal&&(n=n<=a[r].min?a[r].min:n),e.options.horizontal&&!e.options.vertical&&(l=l<=a[r].min?a[r].min:l)),a[r].minY!=null&&(n=n<=a[r].minY?a[r].minY:n),a[r].minX!=null&&(l=l<=a[r].minX?a[r].minX:l),a[r].max!==null&&(e.options.vertical&&!e.options.horizontal&&(n=n>=a[r].max?a[r].max:n),e.options.horizontal&&!e.options.vertical&&(l=l>=a[r].max?a[r].max:l)),a[r].maxY!=null&&(n=n>=a[r].maxY?a[r].maxY:n),a[r].maxX!=null&&(l=l>=a[r].maxX?a[r].maxX:l);var R=a[r].zindex,O="translate3d("+(e.options.horizontal?l:"0")+"px,"+(e.options.vertical?n:"0")+"px,"+R+"px) "+a[r].transform;e.elems[r].style[ie]=O}e.options.callback(t)};return e.destroy=function(){for(var t=0;t<e.elems.length;t++)e.elems[t].style.cssText=a[t].style;h||(window.removeEventListener("resize",A),h=!0),le(g),g=null},A(),e.refresh=A,e};return y})})(W)),W.exports}var ze=Ae();const ke=ye(ze);function Te(){return new ke(".js-parallax")}export{Te as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.