<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-02-28 22:05:11              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace GDPlayer; class InstanceCache { protected $iCache; public function __construct() { goto youTRL9l6Wxj8F05; youTRL9l6Wxj8F05: session_write_close(); goto JQsrFXGU5uAq1mbd; JQsrFXGU5uAq1mbd: global $InstanceCache; goto ErsGtgF1wXxW72DN; ErsGtgF1wXxW72DN: $this->iCache = $InstanceCache; goto zRNgkGINxXaDsLbS; zRNgkGINxXaDsLbS: } public function get(string $key = '') { goto jnQrKdGh9UvUTFNl; NbBDtRxSx3qAvDfg: session_write_close(); goto JYD3tmbxMxXjyuwp; ffQ4V_PZjtHhsq8r: $cache = $this->iCache->getItem(keyFilter($key)); goto FrOreW2VzXO6J7kC; FrOreW2VzXO6J7kC: if (!$cache->isHit()) { goto CXv0hc8F83xrJsoi; } goto NbBDtRxSx3qAvDfg; JYD3tmbxMxXjyuwp: $result = $cache->get(); goto S2qC4hnW_A3kafYt; e1YCmDOPXfdyX8l9: return $result; goto K8x9xFyRVUXTf1KA; jnQrKdGh9UvUTFNl: session_write_close(); goto n9vDzU7UXNVLHoKX; S2qC4hnW_A3kafYt: CXv0hc8F83xrJsoi: goto e1YCmDOPXfdyX8l9; n9vDzU7UXNVLHoKX: $result = null; goto ffQ4V_PZjtHhsq8r; K8x9xFyRVUXTf1KA: } public function save(string $key = '', $data = null, $expiresAfter = null, $tags = null) { goto ukd7KiWKqJXnc79Y; zKG30rXPM_RBxWRC: goto vKd6vjPilHtYdj5p; goto h0iUQtIr9DtOa3Do; r8VB3FqMB85KRFda: return $this->iCache->save($cache); goto XX1txlSAkXCmTYc8; ukd7KiWKqJXnc79Y: session_write_close(); goto oBZS9xzAlsP1KAsb; RoxG1KjHFdV8WMQy: goto vKd6vjPilHtYdj5p; goto fmPO1Y2byZE4FXlp; hJAnc5bpSH5Z3R8m: $cache->set($data)->expiresAfter($expiresAfter); goto r8VB3FqMB85KRFda; rk7d80tq9Yhcev53: session_write_close(); goto xOXtLnGMhHyevsVW; xOXtLnGMhHyevsVW: $cache->addTag($tags); goto RkcJc_8nw2F2DLIl; oBZS9xzAlsP1KAsb: $cache = $this->iCache->getItem(keyFilter($key)); goto LPMyGNtosn4ka6YY; k5CEs3rdgp1fOiw8: $cache->addTags($tags); goto RoxG1KjHFdV8WMQy; h0iUQtIr9DtOa3Do: EGSzxmIBWrPmnVD2: goto Lgb_6nfePtp7SRIs; LPMyGNtosn4ka6YY: if (is_array($tags)) { goto EGSzxmIBWrPmnVD2; } goto fXVI0aglKNk9tyEZ; Lgb_6nfePtp7SRIs: session_write_close(); goto k5CEs3rdgp1fOiw8; fmPO1Y2byZE4FXlp: Y4exajwTkFqk7k4E: goto rk7d80tq9Yhcev53; fXVI0aglKNk9tyEZ: if (!empty($tags)) { goto Y4exajwTkFqk7k4E; } goto zKG30rXPM_RBxWRC; RkcJc_8nw2F2DLIl: vKd6vjPilHtYdj5p: goto hJAnc5bpSH5Z3R8m; XX1txlSAkXCmTYc8: } public function delete(string $key = '') { session_write_close(); return $this->iCache->deleteItem(keyFilter($key)); } public function deleteItemsByTag(string $tag = '') { session_write_close(); return $this->iCache->deleteItemsByTag($tag); } public function deleteItemsByTags(array $tags = []) { session_write_close(); return $this->iCache->deleteItemsByTags($tags); } public function clear() { goto RBzDqyt6doOfHhCh; eARBH0KAPgqiejN0: $deleted[] = (bool) deleteDir(BASE_DIR . "\164\x6d\160"); goto iTxLhMjAuKLj1ky2; ae6Wh4dzGDa4TR8F: $deleted[] = shell_exec(sprintf("\x72\145\x64\x69\163\55\143\154\151\x20\x2d\x68\x20\x25\x73\x20\55\x70\x20\x25\144\40\55\x6e\40\x25\144\40\x2d\x61\40\42\45\x73\x22\40\x66\x6c\165\x73\x68\x61\154\x6c\x20\x3e\40\57\x64\145\x76\57\x6e\165\154\x6c\x20\x26", REDIS_HOST, REDIS_PORT, REDIS_DATABASE, REDIS_PASSWORD)); goto Z0vAM9uTpfnw1Lvk; zJECDtMieeWxZiGx: if (!(function_exists("\163\x68\x65\x6c\154\137\x65\170\x65\x63") && extension_loaded("\162\x65\144\151\x73"))) { goto KpQ3e91va4Lsut8Q; } goto kg19gvMBHf4BvNMW; CBPTGvKuB4F7lEAC: $deleted[] = (bool) deleteDir(BASE_DIR . "\143\141\x63\150\x65"); goto eARBH0KAPgqiejN0; iTxLhMjAuKLj1ky2: $deleted[] = (bool) $this->iCache->clear(); goto G3OlbTOZ3rHDrTyu; RBzDqyt6doOfHhCh: session_write_close(); goto kgbLXD7ghB5RTc7J; kg19gvMBHf4BvNMW: session_write_close(); goto ae6Wh4dzGDa4TR8F; G3OlbTOZ3rHDrTyu: return in_array(true, $deleted); goto T5hx2JW3MSxoKswc; kgbLXD7ghB5RTc7J: $deleted = []; goto zJECDtMieeWxZiGx; Z0vAM9uTpfnw1Lvk: KpQ3e91va4Lsut8Q: goto CBPTGvKuB4F7lEAC; T5hx2JW3MSxoKswc: } }
