index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!DOCTYPE html>
  2. <html lang="ZH-cn">
  3. <head>
  4. <script type="module" crossorigin src="./js/polyfills-291696fd.js"></script>
  5. <meta charset="UTF-8">
  6. <link rel="icon" href="./favicon.ico" />
  7. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  8. <meta http-equiv="Cache-control" content="no-cache">
  9. <meta http-equiv="Cache" content="no-cache">
  10. <title>云练习</title>
  11. <script src="./flexible.js" charset="UTF-8"></script>
  12. <style>
  13. #loading {
  14. position: fixed;
  15. left: 50%;
  16. top: 50%;
  17. transform: translate(-50%, -50%);
  18. display: none;
  19. }
  20. #loading.show {
  21. display: block;
  22. }
  23. #update {
  24. position: fixed;
  25. left: 50%;
  26. top: 50%;
  27. transform: translate(-50%, -50%);
  28. display: none;
  29. }
  30. #update.show {
  31. display: block;
  32. }
  33. #update img {
  34. display: block;
  35. width: 2rem;
  36. height: 2rem;
  37. margin: auto;
  38. }
  39. #update span {
  40. display: block;
  41. margin: auto;
  42. margin-top: 0.8rem;
  43. color: rgba(0, 0, 0, .65);
  44. line-height: 1.8;
  45. }
  46. </style>
  47. <script>
  48. window.postMessageInstance = window.ORCHESTRA || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.ORCHESTRA);
  49. if (window.navigator && navigator.serviceWorker) {
  50. navigator.serviceWorker.getRegistrations()
  51. .then(function (registrations) {
  52. for (let registration of registrations) {
  53. registration.unregister();
  54. }
  55. });
  56. }
  57. function getBroswer() {
  58. var Sys = {};
  59. var ua = navigator.userAgent.toLowerCase();
  60. var s = (s = ua.match(/chrome\/([\d.]+)/)) ? (s[1] && (Sys.chrome = s[1].split('.')[0])) : 0
  61. if (Sys.chrome) return { broswer: "Chrome", version: Sys.chrome };
  62. return { broswer: "", version: "0" };
  63. }
  64. var broswer = getBroswer();
  65. window.addEventListener('DOMContentLoaded', function () {
  66. if (broswer.broswer === 'Chrome' && parseFloat(broswer.version) <= 50) {
  67. document.getElementById('update').className = 'show'
  68. }
  69. })
  70. </script>
  71. <script type="module" crossorigin src="./js/gym-b719cb05.js"></script>
  72. <link rel="modulepreload" crossorigin href="./js/index-83136cc1.js">
  73. <link rel="modulepreload" crossorigin href="./js/index-3af83cfb.js">
  74. <link rel="modulepreload" crossorigin href="./js/index-cc931d4c.js">
  75. <link rel="modulepreload" crossorigin href="./js/index-5c941b16.js">
  76. <link rel="modulepreload" crossorigin href="./js/plyr.min-c8c2777b.js">
  77. <link rel="stylesheet" href="./css/index-52f81eaa.css">
  78. <link rel="stylesheet" href="./css/index-85f95688.css">
  79. <link rel="stylesheet" href="./css/plyr-ad8ef5ae.css">
  80. <link rel="stylesheet" href="./css/index-171cd132.css">
  81. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  82. <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
  83. </head>
  84. <body>
  85. <div id="app"></div>
  86. <div id="update">
  87. <img src="./update.png" />
  88. <span>您的系统当前版本过低,请及时前往系统设置进行升级。</span>
  89. </div>
  90. <img id="loading" class="show" src="./loading.svg" alt="loading" />
  91. <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
  92. <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-90771e26.js"></script>
  93. <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/gym-legacy-8b4dbc55.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  94. </body>
  95. </html>