<html>
<head>
    <link rel="icon" href="./favicon.ico"/>
    <meta charset="utf-8"/>
    <title><%= title %></title>
    <meta
            name="viewport"
            content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
    />
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="full-screen" content="yes"/>
    <meta name="screen-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="360-fullscreen" content="true"/>
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <script src="//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js" crossorigin="anonymous"></script>
    <script src="//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js" crossorigin="anonymous"></script>
    <script src="//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"></script>
    <link rel="stylesheet" type="text/css" href="./index.css"/>
    <style>
        .sui-captcha {
            visibility: hidden;
            position: fixed;
            z-index: 10000;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.7);
            /*.neCaptcha-dialog::after {
                position: absolute;
                content: '加载中…';
                width: 100%;
                height: 30px;
                top: -40px;
                left: 0;
                text-align: center;
                line-height: 30px;
                font-size: 16px;
                color: #ffff00;
            }*/
        }

        .neCaptcha-dialog {
            visibility: hidden;
            background-color: #fff;
            box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
            -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.35);
            position: absolute;
            left: 50%;
            top: 45%;
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            padding: 10px;
            min-width: 100px;
            border-radius: 10px;
            width: 80%;
        }
    </style>
</head>
<body style="overflow: hidden;">
<%- include(cocosToolBar, {config: config}) %>
<div id="content" class="content" style="overflow: hidden;">
    <div class="contentWrap">
        <div id="GameDiv" class="wrapper">
            <div id="Cocos3dGameContainer">
                <canvas id="GameCanvas" tabindex="-1" style="background-color: '';"></canvas>
            </div>
            <div id="splash">
                <div class="progress-bar stripes"><span></span></div>
            </div>
            <div id="bulletin">
                <div id="sceneIsEmpty" class="inner"><%= tip_sceneIsEmpty %></div>
            </div>
            <div class="error" id="error">
                <div class="title">Error <i>(Please open the console to see detailed errors)</i></div>
                <div class="error-main"></div>
                <div class="error-stack"></div>
            </div>
        </div>
    </div>
</div>

<script>
    ThirdApp && ThirdApp.removeNativeTitle();
</script>
<%- include(cocosTemplate, {}) %>

<script>
  window.addEventListener("load", function () {
    window.vConsole?.destroy(); // 干掉烦人的vConsole
  });
</script>
</body>
</html>
