PageSourceSearch

https://guponoodle.co.kr/theme/shopboth_meat_001/js/jquery.cookie.js

js guponoodle.co.kr collected 2026-10-06 13:17:06 UTC 2,056 bytes, 43 lines download raw bytes

1/*!
2* jQuery Cookie Plugin
3* https://github.com/carhartl/jquery-cookie
4* 
5* Copyright 2011, Klaus Hartl 
6* Dual licensed under the MIT or GPL Version 2 licenses. 
7* http://www.opensource.org/licenses/mit-license.php 
8* http://www.opensource.org/licenses/GPL-2.0 */
9(function($) {    
10	$.cookie = function(key, value, options) {        
11		// key and at least value given, set cookie...        
12		if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {            
13			options = $.extend({}, options);            
14			if (value === null || value === undefined) {                
15				options.expires = -1;           
16			}           
17			if (typeof options.expires === 'number') {                
18				var days = options.expires, t = options.expires = new Date();                
19				t.setDate(t.getDate() + days);            
20			}           
21			
22			value = String(value);            
23				
24			return (document.cookie = [                
25				encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),                
26				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE                
27				options.path    ? '; path=' + options.path : '',                
28				options.domain  ? '; domain=' + options.domain : '',                
29				options.secure  ? '; secure' : ''           
30			].join(''));       
31		}        
32		
33		// key and possibly options given, get cookie...        
34		options = value || {};        
35		var decode = options.raw ? function(s) { return s; } : decodeURIComponent;  
36		
37		var pairs = document.cookie.split('; ');        
38		for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {            
39			if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined        
40		}        
41		return null;    
42	};
43})(jQuery);

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.