PageSourceSearch

https://www.caritas-rhein-erft.de/export/system/modules/org.opencms.apollo.theme/resources/js/apollo-tools.js

js caritas-rhein-erft.de collected 2026-10-06 12:37:08 UTC 2,174 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkapollo_ebk=self.webpackChunkapollo_ebk||[]).push([[247],{557:function(o,e,n){var a,t;function l(o,e,n){return o.split("$("+e+")").join(n)}function r(o){try{(o=o.substr(1)).length<6&&(o+=o);var e=(299*parseInt(o.substr(0,2),16)+587*parseInt(o.substr(2,2),16)+114*parseInt(o.substr(4,2),16))/1e3;return t&&console.info("getContrastBg(#"+o+") result: "+e),e>=220?"bg-grey":"p-20"}catch(o){return"p-20"}}function i(o,e){a=o,(t=e)&&console.info("ApolloCssSampler.init()");var n=a(".apollo-info.sample");t&&console.info(".apollo-info.sample elements found: "+n.length);for(var i=0;i<n.length;i++){var s=a(n[i]),f=s.html();s.empty(),t&&console.info("Creating CSS sample for id: "+s.attr("id"));for(var p=Apollo.getCssJsonData(s.attr("id")),c=p.length-1;c>=0;c--){var u=p[c];if(u.name){var d=f;d=l(d,"name",u.name),d=l(d,"value",u.value),d=l(d,"background",r(u.value)),s.append(a(d))}}}}n.r(e),n.d(e,{initCssSampler:function(){return i}})},111:function(o,e,n){var a,t,l;function r(){var o=Apollo.windowScrollTop();l.each((function(){var e=a(this);if("none"!=e.css("background-image")){var n=0;if(Apollo.gridInfo().isMinMd()){var l=e.offset().top,r=e.outerHeight(!0),i=l+r,s=l-o,f=i-o,p=Apollo.windowHeight(),c=e.data("parallax").effect;if(r<=1)return;if(f<0||s>p)return;if(t&&console.info("elementTop: "+l+" elementBottom: "+i),t&&console.info("elementScrollTop: "+s+" elementScrollBottom: "+f),1==c){var u=0;(u=r<=p?f-p:s)>0&&(n=Math.round(.5*Math.abs(u)),t&&console.info("elementHeight: "+r+" windowHeight: "+p+" offset: "+n+" elementScrollTop: "+s))}else 2==c?s<0&&(n=Math.round(2*s)):3==c&&(n=Math.round(.33*s))}e.css("background-position","50% "+n+"px")}}))}function i(o,e){a=o,t=e,l=o(".ap-parallax-bg"),t&&(console.info("ApolloParallax.init()"),console.info(".ap-parallax-bg elements found: "+l.length)),l.length>0&&Apollo.device().desktop()&&(l.each((function(){var o=a(this),e=1;void 0!==o.data("parallax")&&void 0!==o.data("parallax").effect&&(e=o.data("parallax").effect),o.data("parallax",{effect:e})})),a(window).on("scroll",r).resize(r),r())}n.r(e),n.d(e,{initParallax:function(){return i}})}}]);
2//# sourceMappingURL=apollo-tools.js.map

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.