PageSourceSearch

https://www.glasbau-bergedorf.de/js/_require.js

js glasbau-bergedorf.de collected 2026-10-06 16:32:02 UTC 7,010 bytes, 159 lines download raw bytes

1rIt({
2    "*": {
3        "assets": ["/js/_essentials/notifications.js", "/js/_essentials/basics.js", "/js/_essentials/ruffnav.js", "/privacyControl-2.0.conf.js", "/js/_essentials/privacyControl-2.js"],
4        "function": "always"
5    },
6    "body.isOldBrowser": {
7        "assets": ["/js/_essentials/note.oldBrowser.js"]
8    },
9    "body.devMode": {
10        "assets": ["/js/_essentials/devMode.js"]
11    },
12    ".modalGallery":  {
13        "assets": ["/js/vendor/baguetteBox.js"],
14        "function":function() {
15            baguetteBox.run(arguments[0], {noScrollbars:true, async: true, preload: 0});
16        }
17    },
18    "picture, :not(picture) > img[data-src], .lazyBg": {
19        "assets": ["/js/_essentials/basics.js", "/js/_essentials/lazyLoad.js"],
20        "function":function() {
21            new LazyLoad({selector: arguments[0]});
22        }
23    },
24    "form[action*='formixapp.com']": {
25        "assets": ["/js/_essentials/formix.js"],
26        "function": function() {
27            new Formix({
28                selector:arguments[0],
29                onError: function() {
30                    var notificationArea = document.querySelector(".notificationArea");
31                    var notification = notificationArea.querySelector("notification.error");
32                    var list = notification.querySelectorAll('.noteContent ul li');
33        
34                    var reCAPTCHA_en = "reCAPTCHA verification failed, please try again";
35                    var reCAPTCHA_de = "reCAPTCHA-überprÜfung fehlgeschlagen, bitte versuchen Sie es erneut!";
36        
37                    if(notification) {
38                        for (var i=0; i<list.length; i++) {
39                            if(list[i].innerHTML === reCAPTCHA_en) {
40                                list[i].innerHTML = reCAPTCHA_de;
41                            }
42                        }
43                    }
44                }
45            });
46        }
47    },
48    ".swiper-container": {
49        "assets": ["/js/vendor/swiper.min.js"]
50    },
51    ".swiper-container.headerSwiper": {
52        "assets": [],
53        "function": function() {
54            new Swiper('.swiper-container.headerSwiper', {
55                speed: 500,
56                enabled: true,
57                effect: 'fade',
58                autoplay: {
59                    delay: 3000
60                }
61            });
62        }
63    },
64    ".swiper-container.impressionSwiper": {
65        "assets": [],
66        "function": function() {
67            new Swiper('.swiper-container.impressionSwiper', {
68                speed: 500,
69                enabled: true,
70                autoplay: {
71                    delay: 3000
72                },
73                slidesPerView: 4,
74                spaceBetween: 36,
75                breakpoints: {
76                    991: {
77                        slidesPerView: 3
78                    },
79                    639: {
80                        slidesPerView: 2
81                    },
82                    374: {
83                        slidesPerView: 1
84                    }
85                }
86            });
87        }
88    },
89    "body.index [data-aos]": {
90        "assets": ["/js/vendor/aos.js"],
91        "function": function() {
92            AOS.init({
93                once: true,
94                delay: 500,
95                duration: 1000
96            });
97        }
98    },
99    "body.moduleDC": {
100        "assets": ['/js/_essentials/notifications.js', '/_modules/dc/assets/js/index.js']
101    },
102    "#dcArticles": {
103        "assets": ['/js/_essentials/basics.js', '/_modules/dc/assets/js/index.js'],
104        "function": function() {
105            new dynamicContent();
106        }
107    },
108    "body.pluginSelect": {
109        "assets": ['/js/_essentials/notifications.js', '/_modules/dc/assets/js/index.js', '/_modules/dc/plugins/select/assets/js/index.js', '/_modules/dc/plugins/select/assets/js/cart.js', '/_modules/dc/plugins/select/assets/js/checkout.js'],
110        "function": function(){}
111    }
112});
113
114function always()
115{
116    new Ruffnav();
117    new ScrollDir(document.body);
118    new Prefetcher(); 
119    
120    privacyCtrl = new PrivacyControl({
121        deps: {
122            googlemaps: true,
123            recaptcha: {
124                type: 'script',
125                name: 'Google reCAPTCHA',
126                provider: 'Google Ireland Limited',
127                l10n: {
128                    de: {
129                        description: 'Bei der Nutzung dieses Dienstes werden Daten an Google über&shy;mittelt, außer&shy;dem ist es wahr&shy;scheinlich dass Google Daten (z.B. Cookies) auf Ihrem Gerät speichert.',
130                        policy: 'https://policies.google.com/privacy?hl=de&gl=de'
131                    },
132                    en: {
133                        description: 'By using this service data will be transmitted to the mentioned provider, furthermore it\'s likely that this provider saves data (e.g. Cookies) on your device.',
134                        policy: 'https://policies.google.com/privacy'
135                    }
136                },
137                src: ['/js/vendor/recaptcha.js'],
138                forceReload: true
139            }
140        }
141    });
142
143    if(privacyCtrl.get('recaptcha')) {
144        var recaptchaActivators = document.querySelectorAll('[data-privacy-control
144="recaptcha"]');
145
146        Array.prototype.forEach.call(recaptchaActivators, function(recaptchaActivator, i) {
147            recaptchaActivator.remove();
148        });
149    }
150}
151
152
153/**
154 * require it! (dependencies)
155 * @author Dominik Kressler
156 * @version 0.4.1
157 * @date 2020-04-02
158 */
159function rIt(opts,debug){var assets=[];var functions=[];var selectors=[];debug=(typeof debug==undefined||!debug)?false:true;var loadJS=function(assets,i,callbacks,ignoreErrors,selector){if(debug){console.log('require: '+assets[i])}if(assets[i].indexOf('.css',assets[i].length-4)!==-1||assets[i].indexOf('rforce=css')>-1){var js=document.createElement('link');js.setAttribute('href',assets[i]);js.setAttribute('rel','stylesheet')}else{var js=document.createElement('script');js.src=assets[i];js.setAttribute('defer','defer')}js.onload=function(){if(debug){console.info('require: loaded: '+assets[i])}if(i<assets.length-1){loadJS(assets,i+1,callbacks,ignoreErrors)}else{for(var c in callbacks){if(typeof callbacks[c]=='string'){window[callbacks[c]](selectors[c])}else{callbacks[c](selectors[c])}}}};js.onerror=function(){if(ignoreErrors){loadJS(assets,i+1,callbacks,ignoreErrors)}else{console.error('require: dependecies failed / stopped because at least one script could not be loaded: '+assets[i])}};document.querySelector('body').appendChild(js)};for(var i in opts){if(i=="always"||document.querySelectorAll(i).length>0){selectors.push(i);if(typeof opts[i].function!='undefined'&&functions.indexOf(opts[i].function)==-1){functions.push(opts[i].function)}for(var s in opts[i].assets){if(assets.indexOf(opts[i].assets[s])==-1){assets.push(opts[i].assets[s])}}}}if(debug){console.log("require: Using functions: "+functions.join())}if(assets instanceof Array){loadJS(assets,0,functions,false)}}

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.