PageSourceSearch

https://unia.ch/_assets/95c3bfa49fa82ed6e40ef77c257ab651/JavaScript/cookie.js?1786948654

js unia.ch collected 2026-10-02 08:01:05 UTC 12,809 bytes, 292 lines download raw bytes

vendor: 5,557 bytes, lines 1-137
1var consent;
2/******/ (() => { // webpackBootstrap
3/******/ 	var __webpack_modules__ = ({});
4/************************************************************************/
5/******/ 	// The module cache
6/******/ 	var __webpack_module_cache__ = {};
7/******/ 	
8/******/ 	// The require function
9/******/ 	function __webpack_require__(moduleId) {
10/******/ 		// Check if module is in cache
11/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
12/******/ 		if (cachedModule !== undefined) {
13/******/ 			return cachedModule.exports;
14/******/ 		}
15/******/ 		// Create a new module (and put it into the cache)
16/******/ 		var module = __webpack_module_cache__[moduleId] = {
17/******/ 			// no module.id needed
18/******/ 			// no module.loaded needed
19/******/ 			exports: {}
20/******/ 		};
21/******/ 	
22/******/ 		// Execute the module function
23/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
24/******/ 	
25/******/ 		// Return the exports of the module
26/******/ 		return module.exports;
27/******/ 	}
28/******/ 	
29/******/ 	// expose the modules object (__webpack_modules__)
30/******/ 	__webpack_require__.m = __webpack_modules__;
31/******/ 	
32/************************************************************************/
33/******/ 	/* webpack/runtime/compat get default export */
34/******/ 	(() => {
35/******/ 		// getDefaultExport function for compatibility with non-harmony modules
36/******/ 		__webpack_require__.n = (module) => {
37/******/ 			var getter = module && module.__esModule ?
38/******/ 				() => (module['default']) :
39/******/ 				() => (module);
40/******/ 			__webpack_require__.d(getter, { a: getter });
41/******/ 			return getter;
42/******/ 		};
43/******/ 	})();
44/******/ 	
45/******/ 	/* webpack/runtime/define property getters */
46/******/ 	(() => {
47/******/ 		// define getter functions for harmony exports
48/******/ 		__webpack_require__.d = (exports, definition) => {
49/******/ 			for(var key in definition) {
50/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
51/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
52/******/ 				}
53/******/ 			}
54/******/ 		};
55/******/ 	})();
56/******/ 	
57/******/ 	/* webpack/runtime/ensure chunk */
58/******/ 	(() => {
59/******/ 		__webpack_require__.f = {};
60/******/ 		// This file contains only the entry chunk.
61/******/ 		// The chunk loading function for additional chunks
62/******/ 		__webpack_require__.e = (chunkId) => {
63/******/ 			return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
64/******/ 				__webpack_require__.f[key](chunkId, promises);
65/******/ 				return promises;
66/******/ 			}, []));
67/******/ 		};
68/******/ 	})();
69/******/ 	
70/******/ 	/* webpack/runtime/get javascript chunk filename */
71/******/ 	(() => {
72/******/ 		// This function allow to reference async chunks
73/******/ 		__webpack_require__.u = (chunkId) => {
74/******/ 			// return url for filenames based on template
75/******/ 			return "JavaScript/Bundles/co." + {"vendors-node_modules_vanilla-cookieconsent_dist_cookieconsent_js":"cacea9719ac6f1df7640","Assets_JavaScript_CookieConsent_js":"7e40d3e2c8a3ba272c4a"}[chunkId] + ".js";
76/******/ 		};
77/******/ 	})();
78/******/ 	
79/******/ 	/* webpack/runtime/get mini-css chunk filename */
80/******/ 	(() => {
81/******/ 		// This function allow to reference async chunks
82/******/ 		__webpack_require__.miniCssF = (chunkId) => {
83/******/ 			// return url for filenames based on template
84/******/ 			return undefined;
85/******/ 		};
86/******/ 	})();
87/******/ 	
88/******/ 	/* webpack/runtime/global */
89/******/ 	(() => {
90/******/ 		__webpack_require__.g = (function() {
91/******/ 			if (typeof globalThis === 'object') return globalThis;
92/******/ 			try {
93/******/ 				return this || new Function('return this')();
94/******/ 			} catch (e) {
95/******/ 				if (typeof window === 'object') return window;
96/******/ 			}
97/******/ 		})();
98/******/ 	})();
99/******/ 	
100/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
101/******/ 	(() => {
102/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
103/******/ 	})();
104/******/ 	
105/******/ 	/* webpack/runtime/load script */
106/******/ 	(() => {
107/******/ 		var inProgress = {};
108/******/ 		var dataWebpackPrefix = "consent:";
109/******/ 		// loadScript function to load a script via script tag
110/******/ 		__webpack_require__.l = (url, done, key, chunkId) => {
111/******/ 			if(inProgress[url]) { inProgress[url].push(done); return; }
112/******/ 			var script, needAttach;
113/******/ 			if(key !== undefined) {
114/******/ 				var scripts = document.getElementsByTagName("script");
115/******/ 				for(var i = 0; i < scripts.length; i++) {
116/******/ 					var s = scripts[i];
117/******/ 					if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
118/******/ 				}
119/******/ 			}
120/******/ 			if(!script) {
121/******/ 				needAttach = true;
122/******/ 				script = document.createElement('script');
123/******/ 		
124/******/ 				script.charset = 'utf-8';
125/******/ 				script.timeout = 120;
126/******/ 				if (__webpack_require__.nc) {
127/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
128/******/ 				}
129/******/ 				script.setAttribute("data-webpack", dataWebpackPrefix + key);
130/******/ 		
131/******/ 				script.src = url;
132/******/ 			}
133/******/ 			inProgress[url] = [done];
134/******/ 			var onScriptComplete = (prev, event) => {
135/******/ 				// avoid mem leaks in IE.
136/******/ 				script.onerror = script.onload = null;
137/******/ 				clearTimeout(timeout);
vendor: 4,370 bytes, lines 138-221
138/******/ 				var doneFns = inProgress[url];
139/******/ 				delete inProgress[url];
140/******/ 				script.parentNode && script.parentNode.removeChild(script);
141/******/ 				doneFns && doneFns.forEach((fn) => (fn(event)));
142/******/ 				if(prev) return prev(event);
143/******/ 			}
144/******/ 			var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
145/******/ 			script.onerror = onScriptComplete.bind(null, script.onerror);
146/******/ 			script.onload = onScriptComplete.bind(null, script.onload);
147/******/ 			needAttach && document.head.appendChild(script);
148/******/ 		};
149/******/ 	})();
150/******/ 	
151/******/ 	/* webpack/runtime/make namespace object */
152/******/ 	(() => {
153/******/ 		// define __esModule on exports
154/******/ 		__webpack_require__.r = (exports) => {
155/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
156/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
157/******/ 			}
158/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
159/******/ 		};
160/******/ 	})();
161/******/ 	
162/******/ 	/* webpack/runtime/publicPath */
163/******/ 	(() => {
164/******/ 		var scriptUrl;
165/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
166/******/ 		var document = __webpack_require__.g.document;
167/******/ 		if (!scriptUrl && document) {
168/******/ 			if (document.currentScript)
169/******/ 				scriptUrl = document.currentScript.src;
170/******/ 			if (!scriptUrl) {
171/******/ 				var scripts = document.getElementsByTagName("script");
172/******/ 				if(scripts.length) {
173/******/ 					var i = scripts.length - 1;
174/******/ 					while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src;
175/******/ 				}
176/******/ 			}
177/******/ 		}
178/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
179/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
180/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
181/******/ 		scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
182/******/ 		__webpack_require__.p = scriptUrl + "../";
183/******/ 	})();
184/******/ 	
185/******/ 	/* webpack/runtime/jsonp chunk loading */
186/******/ 	(() => {
187/******/ 		// no baseURI
188/******/ 		
189/******/ 		// object to store loaded and loading chunks
190/******/ 		// undefined = chunk not loaded, null = chunk preloaded/prefetched
191/******/ 		// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
192/******/ 		var installedChunks = {
193/******/ 			"cookie": 0
194/******/ 		};
195/******/ 		
196/******/ 		__webpack_require__.f.j = (chunkId, promises) => {
197/******/ 				// JSONP chunk loading for javascript
198/******/ 				var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
199/******/ 				if(installedChunkData !== 0) { // 0 means "already installed".
200/******/ 		
201/******/ 					// a Promise means "currently loading".
202/******/ 					if(installedChunkData) {
203/******/ 						promises.push(installedChunkData[2]);
204/******/ 					} else {
205/******/ 						if(true) { // all chunks have JS
206/******/ 							// setup Promise in chunk cache
207/******/ 							var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
208/******/ 							promises.push(installedChunkData[2] = promise);
209/******/ 		
210/******/ 							// start chunk loading
211/******/ 							var url = __webpack_require__.p + __webpack_require__.u(chunkId);
212/******/ 							// create error before stack unwound to get useful stacktrace later
213/******/ 							var error = new Error();
214/******/ 							var loadingEnded = (event) => {
215/******/ 								if(__webpack_require__.o(installedChunks, chunkId)) {
216/******/ 									installedChunkData = installedChunks[chunkId];
217/******/ 									if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
218/******/ 									if(installedChunkData) {
219/******/ 										var errorType = event && (event.type === 'load' ? 'missing' : event.type);
220/******/ 										var realSrc = event && event.target && event.target.src;
221/******/ 										error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
vendor: 2,882 bytes, lines 222-292
222/******/ 										error.name = 'ChunkLoadError';
223/******/ 										error.type = errorType;
224/******/ 										error.request = realSrc;
225/******/ 										installedChunkData[1](error);
226/******/ 									}
227/******/ 								}
228/******/ 							};
229/******/ 							__webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
230/******/ 						}
231/******/ 					}
232/******/ 				}
233/******/ 		};
234/******/ 		
235/******/ 		// no prefetching
236/******/ 		
237/******/ 		// no preloaded
238/******/ 		
239/******/ 		// no HMR
240/******/ 		
241/******/ 		// no HMR manifest
242/******/ 		
243/******/ 		// no on chunks loaded
244/******/ 		
245/******/ 		// install a JSONP callback for chunk loading
246/******/ 		var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
247/******/ 			var [chunkIds, moreModules, runtime] = data;
248/******/ 			// add "moreModules" to the modules object,
249/******/ 			// then flag all "chunkIds" as loaded and fire callback
250/******/ 			var moduleId, chunkId, i = 0;
251/******/ 			if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
252/******/ 				for(moduleId in moreModules) {
253/******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
254/******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
255/******/ 					}
256/******/ 				}
257/******/ 				if(runtime) var result = runtime(__webpack_require__);
258/******/ 			}
259/******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
260/******/ 			for(;i < chunkIds.length; i++) {
261/******/ 				chunkId = chunkIds[i];
262/******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
263/******/ 					installedChunks[chunkId][0]();
264/******/ 				}
265/******/ 				installedChunks[chunkId] = 0;
266/******/ 			}
267/******/ 		
268/******/ 		}
269/******/ 		
270/******/ 		var chunkLoadingGlobal = self["webpackChunkconsent"] = self["webpackChunkconsent"] || [];
271/******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
272/******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
273/******/ 	})();
274/******/ 	
275/************************************************************************/
276var __webpack_exports__ = {};
277/*!**********************************!*\
278  !*** ./Assets/JavaScript/app.js ***!
279  \**********************************/
280console.log('Consent Booting');
281document.addEventListener("DOMContentLoaded", function() {
282    console.log('Consent Loading')
283    Promise.all(/*! import() */[__webpack_require__.e("vendors-node_modules_vanilla-cookieconsent_dist_cookieconsent_js"), __webpack_require__.e("Assets_JavaScript_CookieConsent_js")]).then(__webpack_require__.bind(__webpack_require__, /*! ./CookieConsent */ "./Assets/JavaScript/CookieConsent.js")).then(module => {
284      console.log('Consent Started')
285      new module.default()
286    });
287});
288
289consent = __webpack_exports__;
290/******/ })()
291;
292//# sourceMappingURL=cookie.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.