-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatypus_ie.min.js
11 lines (11 loc) · 1.04 KB
/
platypus_ie.min.js
1
2
3
4
5
6
7
8
9
10
11
/*!
* platypus.js v0.1
* http://janhancic.github.com/platypus.js/
*
* Copyright 2013 Jan Hančič
* Released under the MIT license
* https://github.com/janhancic/platypus.js/blob/master/LICENSE.md
*
* Date: 2013-01-26
*/
var platypus=function(a,b){"use strict";function d(a){var d,f,g,h,i,j,k,b="",l=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");a.length>l;)h=c.indexOf(a.charAt(l++)),i=c.indexOf(a.charAt(l++)),j=c.indexOf(a.charAt(l++)),k=c.indexOf(a.charAt(l++)),d=h<<2|i>>4,f=(15&i)<<4|j>>2,g=(3&j)<<6|k,b+=String.fromCharCode(d),64!=j&&(b+=String.fromCharCode(f)),64!=k&&(b+=String.fromCharCode(g));return b=e(b)}function e(a){for(var b="",c=0,d=c1=c2=0;a.length>c;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):d>191&&224>d?(c2=a.charCodeAt(c+1),b+=String.fromCharCode((31&d)<<6|63&c2),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),b+=String.fromCharCode((15&d)<<12|(63&c2)<<6|63&c3),c+=3);return b}if(b.atob)return a;var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return a.base64Decode=d,a}(platypus||{},window);