<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" viewport-fit="cover" />
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
  <!-- <title>
            <%= htmlWebpackPlugin.options.title %>
        </title> -->
  <title>
    <%= webpackConfig.name %>
  </title>
  <script>
    // CONFIGURATIONS_PLACEHOLDER

    if (/dev-/.test(window?.injectConfig?.api) || window.location.href.indexOf(8080) > -1) {
      window.injectConfig = {
        ...window.injectConfig,
        api: 'https://qa-crm-kpl.kerryprops.com.cn',
        TRACKING_API_URL:
          'https://qa-tracking-cip.kerryplus.com/sa?project=kerry_tracking',
        profileApi: 'https://qa-apim.kerryplus.com/c/api',
        qaPayment: 'https://qa-payment.kerryonvip.com',
      };
    }
    // const userAgent = window.navigator.userAgent.toLowerCase()
    // if(!/miniprogram/g.test(userAgent)) {
    //   document.getElementsByTagName('title')[0].innerText= '临时停车'
    // }
  </script>
  <script>
    // const debug = window.localStorage.getItem('H5_DEBUG');
    // 开发环境和qa环境 打开debug
    // const debug = /dev-|qa-/.test(window?.injectConfig?.api) || window.location.href.indexOf(8080) > -1;
    // if (debug) {
    //   const script = document.createElement('script');
    //   script.src = 'https://unpkg.com/vconsole@latest/dist/vconsole.min.js';
    //   document.head.appendChild(script);
    //   script.addEventListener('load', () => {
    //     setTimeout(() => {
    //       window.vConsole = new window.VConsole();
    //     }, 200);
    //   });
    // }
    // if ( /(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent) ) {
    //   // https://developers.weixin.qq.com/community/develop/doc/000ae2cb950808f90d8bc415551800
    //   window.H5_LAUNCH_URL = location.href;
    // }
  </script>
  <script>
      // var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
      // document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  </script>
</head>

<body>
  <noscript>
    <strong>Please enable JavaScript to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>
</html>
