PageSourceSearch

https://www.festivaldecraponne.com/assets/www.festivaldecraponne.c…/themes/countryrdv/js/lib/js.cookie.js

js festivaldecraponne.com collected 2026-10-02 12:41:09 UTC 4,635 bytes, 172 lines download raw bytes

vendor: 4,239 bytes, lines 1-156
1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10/*!
11 * JavaScript Cookie v2.0.4
12 * https://github.com/js-cookie/js-cookie
13 *
14 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
15 * Released under the MIT license
16 */
17(function (factory) {
18	if (typeof define === 'function' && define.amd) {
19		define(factory);
20	} else if (typeof exports === 'object') {
21		module.exports = factory();
22	} else {
23		var _OldCookies = window.Cookies;
24		var api = window.Cookies = factory();
25		api.noConflict = function () {
26			window.Cookies = _OldCookies;
27			return api;
28		};
29	}
30}(function () {
31	function extend () {
32		var i = 0;
33		var result = {};
34		for (; i < arguments.length; i++) {
35			var attributes = arguments[ i ];
36			for (var key in attributes) {
37				result[key] = attributes[key];
38			}
39		}
40		return result;
41	}
42
43	function init (converter) {
44		function api (key, value, attributes) {
45			var result;
46
47			// Write
48
49			if (arguments.length > 1) {
50				attributes = extend({
51					path: '/'
52				}, api.defaults, attributes);
53
54				if (typeof attributes.expires === 'number') {
55					var expires = new Date();
56					expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
57					attributes.expires = expires;
58				}
59
60				try {
61					result = JSON.stringify(value);
62					if (/^[\{\[]/.test(result)) {
63						value = result;
64					}
65				} catch (e) {}
66
67				value = encodeURIComponent(String(value));
68				value = value.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
69
70				key = encodeURIComponent(String(key));
71				key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
72				key = key.replace(/[\(\)]/g, escape);
73
74				return (document.cookie = [
75					key, '=', value,
76					attributes.expires && '; expires=' + attributes.expires.toUTCString(), // use expires attribute, max-age is not supported by IE
77					attributes.path    && '; path=' + attributes.path,
78					attributes.domain  && '; domain=' + attributes.domain,
79					attributes.secure ? '; secure' : ''
80				].join(''));
81			}
82
83			// Read
84
85			if (!key) {
86				result = {};
87			}
88
89			// To prevent the for loop in the first place assign an empty array
90			// in case there are no cookies at all. Also prevents odd result when
91			// calling "get()"
92			var cookies = document.cookie ? document.cookie.split('; ') : [];
93			var rdecode = /(%[0-9A-Z]{2})+/g;
94			var i = 0;
95
96			for (; i < cookies.length; i++) {
97				var parts = cookies[i].split('=');
98				var name = parts[0].replace(rdecode, decodeURIComponent);
99				var cookie = parts.slice(1).join('=');
100
101				if (cookie.charAt(0) === '"') {
102					cookie = cookie.slice(1, -1);
103				}
104
105				try {
106					cookie = converter && converter(cookie, name) || cookie.replace(rdecode, decodeURIComponent);
107
108					if (this.json) {
109						try {
110							cookie = JSON.parse(cookie);
111						} catch (e) {}
112					}
113
114					if (key === name) {
115						result = cookie;
116						break;
117					}
118
119					if (!key) {
120						result[name] = cookie;
121					}
122				} catch (e) {}
123			}
124
125			return result;
126		}
127
128		api.get = api.set = api;
129		api.getJSON = function () {
130			return api.apply({
131				json: true
132			}, [].slice.call(arguments));
133		};
134		api.defaults = {};
135
136		api.remove = function (key, attributes) {
137			api(key, '', extend(attributes, {
138				expires: -1
139			}));
140		};
141
142		api.withConverter = init;
143
144		return api;
145	}
146
147	return init();
148}));
149
150}
151
152/*
153     FILE ARCHIVED ON 11:01:19 Aug 13, 2025 AND RETRIEVED FROM THE
154     INTERNET ARCHIVE ON 14:01:37 Aug 26, 2026.
155     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
156
157     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
158     SECTION 108(a)(3)).
159*/
160/*
161playback timings (ms):
162  captures_list: 0.747
163  exclusion.robots: 0.098
164  exclusion.robots.policy: 0.084
165  esindex: 0.013
166  cdx.remote: 21.355
167  LoadShardBlock: 234.879 (3)
168  PetaboxLoader3.resolve: 123.548 (3)
169  PetaboxLoader3.datanode: 230.784 (5)
170  load_resource: 245.98
171  loaddict: 117.816
172*/

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.