#NEWLINE# def Decode( param ) : #NEWLINE# #INDENT# loc_3 = [ 0 , 0 , 0 , 0 ] #NEWLINE# loc_4 = [ 0 , 0 , 0 ] #NEWLINE# loc_2 = '' #NEWLINE# dec = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=' #NEWLINE# hash1 = [ 'L' , 'y' , 'c' , 'X' , '2' , 'M' , 'a' , 'l' , 'p' , '5' , 'Q' , 'e' , 'R' , 't' , 'Z' , 'Y' , '9' , 'm' , 'd' , '0' , 's' , 'V' , 'b' , '3' , '7' , '=' ] #NEWLINE# hash2 = [ 'i' , 'B' , 'v' , 'U' , 'H' , '4' , 'D' , 'n' , 'k' , '8' , 'x' , 'T' , 'u' , 'G' , 'w' , 'f' , 'N' , 'J' , '6' , 'W' , '1' , 'g' , 'z' , 'o' , 'I' , 'r' ] #NEWLINE# hash1 = [ 'c' , 'u' , '4' , 'V' , 'z' , '5' , 'k' , 'm' , 'y' , 'p' , 'L' , 'J' , 'I' , 'd' , '0' , 'M' , '9' , 'e' , '3' , '8' , 'v' , 'l' , 'i' , '7' , 'n' , '=' ] #NEWLINE# hash2 = [ 't' , 'Y' , 'T' , 'x' , 'B' , 'g' , 'G' , 'b' , '2' , 'X' , '1' , 'R' , 'a' , 'N' , 'w' , 'Q' , 'f' , 'W' , 'U' , 'D' , 'Z' , 's' , '6' , 'H' , 'o' , 'r' ] #NEWLINE# for i in range ( 0 , len ( hash1 ) ) : #NEWLINE# #INDENT# re1 = hash1 [ i ] #NEWLINE# re2 = hash2 [ i ] #NEWLINE# param = param . replace ( re1 , '___' ) #NEWLINE# param = param . replace ( re2 , re1 ) #NEWLINE# param = param . replace ( '___' , re2 ) #NEWLINE# #UNINDENT# i = 0 #NEWLINE# while ( i < len ( param ) ) : #NEWLINE# #INDENT# j = 0 #NEWLINE# while ( ( j < 4 ) and ( ( i + j ) < len ( param ) ) ) : #NEWLINE# #INDENT# loc_3 [ j ] = dec . find ( param [ ( i + j ) ] ) #NEWLINE# j = ( j + 1 ) #NEWLINE# #UNINDENT# loc_4 [ 0 ] = ( ( loc_3 [ 0 ] << 2 ) + ( ( loc_3 [ 1 ] & 48 ) >> 4 ) ) #NEWLINE# loc_4 [ 1 ] = ( ( ( loc_3 [ 1 ] & 15 ) << 4 ) + ( ( loc_3 [ 2 ] & 60 ) >> 2 ) ) #NEWLINE# loc_4 [ 2 ] = ( ( ( loc_3 [ 2 ] & 3 ) << 6 ) + loc_3 [ 3 ] ) #NEWLINE# j = 0 #NEWLINE# while ( j < 3 ) : #NEWLINE# #INDENT# if ( loc_3 [ ( j + 1 ) ] == 64 ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# loc_2 += unichr ( loc_4 [ j ] ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# j = ( j + 1 ) #NEWLINE# #UNINDENT# i = ( i + 4 ) #NEWLINE# #UNINDENT# return loc_2