function LoadSoundData($p_InstanceId)
{
    return LBD_Persistence_Load('LBD_Cached_SoundData_' . $p_InstanceId);
}
function Get_iOS_ChunkedSound()
{
    // detect the first request after a new sound icon click, and clear any stored data
    // to avoid reusing the same sound endlessly within a session
    // javascript player adds a timestamp querystring param ("&d=..."), so it can be detected by it
    $isJavaScriptPlayerRequest = array_key_exists('d', $_GET) && LBD_StringHelper::HasValue($_GET['d']);
    if ($isJavaScriptPlayerRequest) {
        // when javascript is enabled, we can detect the first request because the timestamp changed
        $soundClickId = LBD_StringHelper::Normalize($_GET['d']);
        $prevSoundClickId = LBD_Persistence_Load('prevSoundClickId');
        if (0 != strcasecmp($soundClickId, $prevSoundClickId)) {
            Clear_iOS_SoundData();
            LBD_Persistence_Save('prevSoundClickId', $soundClickId);
            // on first request, save for future checks
        }
    }
    // sound byte subset
    $range = GetSoundByteRange();
    $rangeStart = $range['start'];
    $rangeEnd = $range['end'];
    $rangeSize = $rangeEnd - $rangeStart;
    // full sound bytes
    $soundBytes = Get_iOS_SoundData();
    if (is_null($soundBytes)) {
        return;
    }
    $totalSize = strlen($soundBytes) - 1;
    // initial iOS 6.0.1 testing; leaving as fallback since we can't be sure it won't happen again:
    // we depend on observed behavior of invalid range requests to detect
    // end of sound playback, cleanup and tell AppleCoreMedia to stop requesting
    // invalid "bytes=rangeEnd-rangeEnd" ranges in an infinite(?) loop
    if ($rangeStart == $rangeEnd || $rangeEnd > $totalSize) {
        Clear_iOS_SoundData();
        LBD_HttpHelper::BadRequest('invalid byte range');
    }
    while (ob_get_length()) {
        ob_end_clean();
    }
    ob_start();
    try {
        // partial content response with the requested byte range
        header('HTTP/1.1 206 Partial Content');
        $mimeType = $captcha->SoundMimeType;
        header("Content-Type: {$mimeType}");
        header('Content-Transfer-Encoding: binary');
        header('X-Robots-Tag: noindex, nofollow, noarchive, nosnippet');
        header('Accept-Ranges: bytes');
        header("Content-Length: {$rangeSize}");
        header("Content-Range: bytes {$rangeStart}-{$rangeEnd}/{$totalSize}");
        if (!array_key_exists('d', $_GET)) {
            // javascript player not used, we send the file directly as a download
            $downloadId = LBD_CryptoHelper::GenerateGuid();
            header("Content-Disposition: attachment; filename=captcha_{$downloadId}.wav");
        }
        LBD_HttpHelper::SmartDisallowCache();
        $rangeBytes = substr($soundBytes, $rangeStart, $rangeSize);
        echo $rangeBytes;
    } catch (Exception $e) {
        header('Content-Type: text/plain');
        echo $e->getMessage();
    }
    ob_end_flush();
    exit;
}
 public function Load()
 {
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->k9f8w());
     if (LBD_CodeCollection::IsValid($_Ii68w75ch5g4gcbrp4e03)) {
         $this->_lzoik5c4jd9kt8aq8k3yt = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->rdzzm());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->Locale = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->bjebj());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->CodeLength = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->pl041());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->CodeStyle = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->ltw2c());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->ImageStyle = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->zgjpp());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->ImageFormat = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->ez59g());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->ImageWidth = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->nr1rv());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->ImageHeight = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->adhy6());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->CustomLightColor = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->nd6k6());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->CustomDarkColor = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->k3w0g());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->SoundEnabled = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->ry29k());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->SoundStyle = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->kt1iw());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->SoundFormat = $_Ii68w75ch5g4gcbrp4e03;
     }
     $_Ii68w75ch5g4gcbrp4e03 = LBD_Persistence_Load($this->jhnym());
     if (isset($_Ii68w75ch5g4gcbrp4e03)) {
         $this->SoundRegenerationMode = $_Ii68w75ch5g4gcbrp4e03;
     }
 }
 public function Load()
 {
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->eww6a());
     if (LBD_CodeCollection::IsValid($_infkxrthkwsbkmei)) {
         $this->_iplt77i6yhw4z53dx6m1d = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->g193f());
     if (isset($_infkxrthkwsbkmei)) {
         $this->Locale = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->yvx04());
     if (isset($_infkxrthkwsbkmei)) {
         $this->CodeLength = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->j2mme());
     if (isset($_infkxrthkwsbkmei)) {
         $this->CodeStyle = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->qbsjq());
     if (isset($_infkxrthkwsbkmei)) {
         $this->ImageStyle = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->iuml7());
     if (isset($_infkxrthkwsbkmei)) {
         $this->ImageFormat = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->ntakt());
     if (isset($_infkxrthkwsbkmei)) {
         $this->ImageWidth = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->jv6am());
     if (isset($_infkxrthkwsbkmei)) {
         $this->ImageHeight = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->n3em5());
     if (isset($_infkxrthkwsbkmei)) {
         $this->CustomLightColor = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->zjn6t());
     if (isset($_infkxrthkwsbkmei)) {
         $this->CustomDarkColor = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->pp4wo());
     if (isset($_infkxrthkwsbkmei)) {
         $this->SoundEnabled = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->ej91q());
     if (isset($_infkxrthkwsbkmei)) {
         $this->SoundStyle = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->aus8k());
     if (isset($_infkxrthkwsbkmei)) {
         $this->SoundFormat = $_infkxrthkwsbkmei;
     }
     $_infkxrthkwsbkmei = LBD_Persistence_Load($this->s0nvm());
     if (isset($_infkxrthkwsbkmei)) {
         $this->SoundRegenerationMode = $_infkxrthkwsbkmei;
     }
 }
 public function Load()
 {
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->z5ts0());
     if (LBD_CodeCollection::IsValid($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->_i2cjtmmsjhiq92srjxblihkyuj = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->d3a37());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->Locale = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->ey62l());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->CodeLength = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->k3tnl());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->CodeStyle = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->xjhaq());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->ImageStyle = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->ua2sa());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->ImageFormat = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->pv6uo());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->ImageWidth = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->b09ng());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->ImageHeight = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->aku71());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->CustomLightColor = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->o2vta());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->CustomDarkColor = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->bez06());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->SoundStyle = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
     $_iu0k41mw6zhqjw46oylrj2j2m6 = LBD_Persistence_Load($this->ougkg());
     if (isset($_iu0k41mw6zhqjw46oylrj2j2m6)) {
         $this->SoundFormat = $_iu0k41mw6zhqjw46oylrj2j2m6;
     }
 }
示例#6
0
 public function Load()
 {
     $_off8649wxearzdnj = LBD_Persistence_Load($this->e411g());
     if (LBD_CodeCollection::IsValid($_off8649wxearzdnj)) {
         $this->_ia69ga8af0s2b7o2aouvu = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->zvv52());
     if (isset($_off8649wxearzdnj)) {
         $this->Locale = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->izqcm());
     if (isset($_off8649wxearzdnj)) {
         $this->CodeLength = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->sl85j());
     if (isset($_off8649wxearzdnj)) {
         $this->CodeStyle = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->uedsr());
     if (isset($_off8649wxearzdnj)) {
         $this->ImageStyle = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->jcrqx());
     if (isset($_off8649wxearzdnj)) {
         $this->ImageFormat = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->kv52a());
     if (isset($_off8649wxearzdnj)) {
         $this->ImageWidth = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->a08t3());
     if (isset($_off8649wxearzdnj)) {
         $this->ImageHeight = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->lhbo2());
     if (isset($_off8649wxearzdnj)) {
         $this->CustomLightColor = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->s3vef());
     if (isset($_off8649wxearzdnj)) {
         $this->CustomDarkColor = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->m9yly());
     if (isset($_off8649wxearzdnj)) {
         $this->SoundEnabled = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->xs6md());
     if (isset($_off8649wxearzdnj)) {
         $this->SoundStyle = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->feouy());
     if (isset($_off8649wxearzdnj)) {
         $this->SoundFormat = $_off8649wxearzdnj;
     }
     $_off8649wxearzdnj = LBD_Persistence_Load($this->kbdzl());
     if (isset($_off8649wxearzdnj)) {
         $this->SoundRegenerationMode = $_off8649wxearzdnj;
     }
 }
 public function get_IsSolved()
 {
     return LBD_Persistence_Load("LBD_IsSolved_" . $this->_1n5z7z9ryadongas9h3jtl8alk);
 }
 public function get_IsSolved()
 {
     return LBD_Persistence_Load("LBD_IsSolved_" . $this->_Opywuuujbkorzb71y6i472ne4x);
 }
 public function get_IsSolved()
 {
     return LBD_Persistence_Load("LBD_IsSolved_" . $this->_olsn4ldb6xnunpve);
 }