"use strict";jquery.base64=(function($){var _padchar="=",_alpha="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789+/",_version="1.0";function _getbyte64(s,i){var idx=_alpha.indexof(s.charat(i));if(idx===-1){throw"cannot decode base64"}return idx}function _decode(s){var pads=0,i,b10,imax=s.length,x=[];s=string(s);if(imax===0){return s}if(imax%4!==0){throw"cannot decode base64"}if(s.charat(imax-1)===_padchar){pads=1;if(s.charat(imax-2)===_padchar){pads=2}imax-=4}for(i=0;i>16,(b10>>8)&255,b10&255))}switch(pads){case 1:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12)|(_getbyte64(s,i+2)<<6);x.push(string.fromcharcode(b10>>16,(b10>>8)&255));break;case 2:b10=(_getbyte64(s,i)<<18)|(_getbyte64(s,i+1)<<12);x.push(string.fromcharcode(b10>>16));break}return x.join("")}function _getbyte(s,i){var x=s.charcodeat(i);if(x>255){throw"invalid_character_err: dom exception 5"}return x}function _encode(s){if(arguments.length!==1){throw"syntaxerror: exactly one argument required"}s=string(s);var i,b10,x=[],imax=s.length-s.length%3;if(s.length===0){return s}for(i=0;i>18));x.push(_alpha.charat((b10>>12)&63));x.push(_alpha.charat((b10>>6)&63));x.push(_alpha.charat(b10&63))}switch(s.length-imax){case 1:b10=_getbyte(s,i)<<16;x.push(_alpha.charat(b10>>18)+_alpha.charat((b10>>12)&63)+_padchar+_padchar);break;case 2:b10=(_getbyte(s,i)<<16)|(_getbyte(s,i+1)<<8);x.push(_alpha.charat(b10>>18)+_alpha.charat((b10>>12)&63)+_alpha.charat((b10>>6)&63)+_padchar);break}return x.join("")}return{decode:_decode,encode:_encode,version:_version}}(jquery));