{I" class:ETI"ProcessedAsset;FI"logical_path;TI"#swfupload/swfupload.cookies.js;FI" pathname;TI"c/Users/tvd/code/ruby/gems/alchemy_cms/vendor/assets/javascripts/swfupload/swfupload.cookies.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+P-RI" length;TiI" digest;TI"%9a0ca2cb1aa29e6b678d1b3ce551034e;FI" source;TI"/* Cookie Plug-in This plug in automatically gets all the cookies for this site and adds them to the post_params. Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params. The cookies will override any other post params with the same name. */ var SWFUpload; if (typeof(SWFUpload) === "function") { SWFUpload.prototype.initSettings = function (oldInitSettings) { return function () { if (typeof(oldInitSettings) === "function") { oldInitSettings.call(this); } this.refreshCookies(false); // The false parameter must be sent since SWFUpload has not initialzed at this point }; }(SWFUpload.prototype.initSettings); // refreshes the post_params and updates SWFUpload. The sendToFlash parameters is optional and defaults to True SWFUpload.prototype.refreshCookies = function (sendToFlash) { if (sendToFlash === undefined) { sendToFlash = true; } sendToFlash = !!sendToFlash; // Get the post_params object var postParams = this.settings.post_params; // Get the cookies var i, cookieArray = document.cookie.split(';'), caLength = cookieArray.length, c, eqIndex, name, value; for (i = 0; i < caLength; i++) { c = cookieArray[i]; // Left Trim spaces while (c.charAt(0) === " ") { c = c.substring(1, c.length); } eqIndex = c.indexOf("="); if (eqIndex > 0) { name = c.substring(0, eqIndex); value = c.substring(eqIndex + 1); postParams[name] = value; } } if (sendToFlash) { this.setPostParams(postParams); } }; } ; ;TI"dependency_digest;TI"%b544dc722a54163d9ebc5ff524e5b35d;FI"required_paths;T[I"c/Users/tvd/code/ruby/gems/alchemy_cms/vendor/assets/javascripts/swfupload/swfupload.cookies.js;FI"dependency_paths;T[{I" path;TI"c/Users/tvd/code/ruby/gems/alchemy_cms/vendor/assets/javascripts/swfupload/swfupload.cookies.js;FI" mtime;TI"2013-09-09T10:05:36+02:00;TI" digest;TI"%1b41140ea6946914e0f35fd04faeb2fb;FI" _version;TI"%ac1cd7cf9811f9938e2b8937c60a24e6;F