Translate a Glypho program
Pyth, 37 35 34 bytes
The code contains unprintable characters, so here is the xxd hexdump:
0000000: 5663 7a34 7040 2e22 216f d78c 40bf d4f0  Vcz4p@.&quot;!o..@...
0000010: 38d6 7dfe 7312 3ff8 ea22 6958 4e7b 4e55  8.}.s.?..&quot;iXN{NU
0000020: 5433                                     T3

Here's a printable version at 36 bytes:
Vcz4p@&quot;ni &gt;\\1   &lt;d+[o*e-!]&quot;iXN{NUT3

Try it online. Test suite.
Explanation
Vcz4p@.&quot;…&quot;iXN{NUT3       implicit: z = input
  z                      input
 c 4                     split to 4-character blocks
V                        loop over that in N
           X               replace...
            N                in current part
             {N              unique chars in current part, in order
               UT            with numbers 0-9
          i      3         interpret as base 3
     @                     take that item of
      .&quot;…&quot;                   string &quot;ni &gt;\\1   &lt;d+[o*e-!]&quot;
    p                      and print without newline