<?php
/**
 * @package embed-sharepoint-onedrive-documents
 * @author miniOrange
 * @link https://plugins.miniorange.com
 */


if (defined("\101\x42\x53\x50\101\x54\110")) {
    goto tq;
}
exit;
tq:
define("\115\117\x5f\123\120\123\137\120\114\125\x47\111\116\x5f\104\x49\x52", __DIR__ . DIRECTORY_SEPARATOR);
define("\x4d\117\x5f\x53\x50\x53\x5f\120\x4c\x55\x47\x49\x4e\137\x46\111\x4c\105", __FILE__);
moazure_include_file(MO_SPS_PLUGIN_DIR . "\103\157\156\x74\x72\157\x6c\154\145\162");
moazure_include_file(MO_SPS_PLUGIN_DIR . "\x57\162\x61\x70\160\x65\x72\x73");
moazure_include_file(MO_SPS_PLUGIN_DIR . "\x4f\142\x73\x65\x72\x76\x65\162");
moazure_include_file(MO_SPS_PLUGIN_DIR . "\126\x69\x65\x77");
moazure_include_file(MO_SPS_PLUGIN_DIR . "\101\120\x49");
function moazure_get_dir_contents($T_, &$dX = array())
{
    foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($T_, RecursiveDirectoryIterator::KEY_AS_PATHNAME), RecursiveIteratorIterator::CHILD_FIRST) as $bU => $lW) {
        if (!($lW->isFile() && $lW->isReadable())) {
            goto EK;
        }
        $dX[$bU] = realpath($lW->getPathname());
        EK:
        ff:
    }
    ZQ:
    return $dX;
}
function moazure_get_sorted_files($T_)
{
    $Uh = moazure_get_dir_contents($T_);
    $cy = array();
    $aj = array();
    foreach ($Uh as $bU => $DX) {
        if (!(strpos($DX, "\56\160\150\x70") !== false)) {
            goto U5;
        }
        $aj[$bU] = $DX;
        U5:
        oJ:
    }
    K6:
    return array("\143\154\x61\x73\x73\x65\x73" => $aj);
}
function moazure_include_file($T_)
{
    if (is_dir($T_)) {
        goto Kf;
    }
    return;
    Kf:
    $T_ = moazure_sanitize_dir_path($T_);
    $q2 = realpath($T_);
    if (!(false !== $q2 && !is_dir($T_))) {
        goto ce;
    }
    return;
    ce:
    $XA = moazure_get_sorted_files($T_);
    moazure_require_all($XA["\x63\154\141\163\163\145\163"]);
}
function moazure_require_all($Uh)
{
    foreach ($Uh as $bU => $DX) {
        require_once $DX;
        A7:
    }
    LM:
}
function moazure_is_valid_file($b_)
{
    return '' !== $b_ && "\56" !== $b_ && "\x2e\56" !== $b_;
}
function moazure_sanitize_dir_path($T_)
{
    return str_replace("\x2f", DIRECTORY_SEPARATOR, $T_);
}
