var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); // VERSION: 2.3 LAST UPDATE: 11.07.2013 /* * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php * * Made by Wilq32, wilq32@gmail.com, Wroclaw, Poland, 01.2009 * Website: http://jqueryrotate.com */ (function($) { var supportedCSS,supportedCSSOrigin, styles=document.getElementsByTagName("head")[0].style,toCheck="transformProperty WebkitTransform OTransform msTransform MozTransform".split(" "); for (var a = 0; a < toCheck.length; a++) if (styles[toCheck[a]] !== undefined) { supportedCSS = toCheck[a]; } if (supportedCSS) { supportedCSSOrigin = supportedCSS.replace(/[tT]ransform/,"TransformOrigin"); if (supportedCSSOrigin[0] == "T") supportedCSSOrigin[0] = "t"; } // Bad eval to preven google closure to remove it from code o_O eval('IE = "v"=="\v"'); jQuery.fn.extend({ rotate:function(parameters) { if (this.length===0||typeof parameters=="undefined") return; if (typeof parameters=="number") parameters={angle:parameters}; var returned=[]; for (var i=0,i0=this.length;i this._parameters.duration; // TODO: Bug for animatedGif for static rotation ? (to test) if (checkEnd && !this._parameters.animatedGif) { clearTimeout(this._timer); } else { if (this._canvas||this._vimage||this._img) { var angle = this._parameters.easing(0, actualTime - this._animateStartTime, this._animateStartAngle, this._parameters.animateTo - this._animateStartAngle, this._parameters.duration); this._rotate((~~(angle*10))/10); } if (this._parameters.step) { this._parameters.step(this._angle); } var self = this; this._timer = setTimeout(function() { self._animate.call(self); }, 10); } // To fix Bug that prevents using recursive function in callback I moved this function to back if (this._parameters.callback && checkEnd){ this._angle = this._parameters.animateTo; this._rotate(this._angle); this._parameters.callback.call(this._rootObj); } }, _rotate : (function() { var rad = Math.PI/180; if (IE) return function(angle) { this._angle = angle; this._container.style.rotation=(angle%360)+"deg"; this._vimage.style.top = -(this._rotationCenterY - this._imgHeight/2) + "px"; this._vimage.style.left = -(this._rotationCenterX - this._imgWidth/2) + "px"; this._container.style.top = this._rotationCenterY - this._imgHeight/2 + "px"; this._container.style.left = this._rotationCenterX - this._imgWidth/2 + "px"; } else if (supportedCSS) return function(angle){ this._angle = angle; this._img.style[supportedCSS]="rotate("+(angle%360)+"deg)"; this._img.style[supportedCSSOrigin]=this._parameters.center.join(" "); } else return function(angle) { this._angle = angle; angle=(angle%360)* rad; // clear canvas this._canvas.width = this._width;//+this._widthAdd; this._canvas.height = this._height;//+this._heightAdd; // REMEMBER: all drawings are read from backwards.. so first function is translate, then rotate, then translate, translate.. this._cnv.translate(this._imgWidth*this._aspectW,this._imgHeight*this._aspectH); // at least center image on screen this._cnv.translate(this._rotationCenterX,this._rotationCenterY); // we move image back to its orginal this._cnv.rotate(angle); // rotate image this._cnv.translate(-this._rotationCenterX,-this._rotationCenterY); // move image to its center, so we can rotate around its center this._cnv.scale(this._aspectW,this._aspectH); // SCALE - if needed ;) this._cnv.drawImage(this._img, 0, 0); // First - we draw image } })() } if (IE) { Wilq32.PhotoEffect.prototype.createVMLNode=(function(){ document.createStyleSheet().addRule(".rvml", "behavior:url(#default#VML)"); try { !document.namespaces.rvml && document.namespaces.add("rvml", "urn:schemas-microsoft-com:vml"); return function (tagName) { return document.createElement(''); }; } catch (e) { return function (tagName) { return document.createElement('<' + tagName + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">'); }; } })(); } })(jQuery); } /* FILE ARCHIVED ON 04:00:45 Aug 28, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 09:54:44 May 12, 2026. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): capture_cache.get: 0.343 captures_list: 0.41 exclusion.robots: 0.044 exclusion.robots.policy: 0.037 esindex: 0.007 cdx.remote: 7.865 LoadShardBlock: 94.087 (3) PetaboxLoader3.datanode: 109.496 (4) load_resource: 57.691 PetaboxLoader3.resolve: 40.414 */