Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

3.5 KB
Raw Blame
// Auto-generated by scripts/mobileSpaWorkflow
// Do not edit manually

export const mobileHtmlTemplate =
  "<!doctype html>\n<html>\n  <head>\n    <meta charset=\"utf-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n    <!--SEO_META-->\n    <style>\n      html body {\n        background: #f8f8f8;\n      }\n      html[data-theme='dark'] body {\n        background-color: #000;\n      }\n    </style>\n    <script>\n      (function(){\n        var O=globalThis.Worker;\n        globalThis.Worker=function(u,o){\n          var h=typeof u==='string'?u:u instanceof URL?u.href:'';\n          if(h.startsWith('http')&&!h.startsWith(location.origin)){\n            var b=new Blob(['import \"'+h+'\";'],{type:'application/javascript'});\n            return new O(URL.createObjectURL(b),Object.assign({},o,{type:'module'}));\n          }return new O(u,o)};\n        globalThis.Worker.prototype=O.prototype;\n      })();\n    </script>\n    <script>\n      (function () {\n        var theme = 'system';\n        try {\n          theme = localStorage.getItem('theme') || 'system';\n        } catch (_) {}\n        var systemTheme =\n          window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches\n            ? 'dark'\n            : 'light';\n        var resolvedTheme = theme === 'system' ? systemTheme : theme;\n        if (resolvedTheme === 'dark' || resolvedTheme === 'light') {\n          document.documentElement.setAttribute('data-theme', resolvedTheme);\n        }\n\n        var hl = new URLSearchParams(location.search).get('hl');\n        var m = document.cookie.match(/(?:^|;\\s*)LOBE_LOCALE=([^;]*)/);\n        var cookie = m ? decodeURIComponent(m[1]) : '';\n        var locale = hl || cookie || navigator.language || 'en-US';\n        if (locale === 'auto') locale = navigator.language || 'en-US';\n        if (hl && !cookie) {\n          document.cookie =\n            'LOBE_LOCALE=' + encodeURIComponent(hl) + ';path=/;max-age=7776000;SameSite=Lax';\n        }\n        document.documentElement.lang = locale;\n        var rtl = ['ar', 'arc', 'dv', 'fa', 'ha', 'he', 'khw', 'ks', 'ku', 'ps', 'ur', 'yi'];\n        document.documentElement.dir =\n          rtl.indexOf(locale.split('-')[0].toLowerCase()) >= 0 ? 'rtl' : 'ltr';\n      })();\n    </script>\n    <script>\n      window.__SERVER_CONFIG__ = undefined; /* SERVER_CONFIG */\n    </script>\n    <script type=\"module\" crossorigin src=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/index.mobile-4rDp3Pxv.js\"></script>\n    <link rel=\"modulepreload\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/vendor-icons-BRlkftid.js\">\n    <link rel=\"modulepreload\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/i18n-en-US-DjOrYbGM.js\">\n    <link rel=\"modulepreload\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/vendor-es-toolkit-DZcpmZJ4.js\">\n    <link rel=\"modulepreload\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/i18n-default-BV0oTRYH.js\">\n    <link rel=\"modulepreload\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/i18n-ar-XPbhYyv5.js\">\n    <link rel=\"stylesheet\" crossorigin href=\"https://web-assets.lobehub.com/mobile/20260226-113141/assets/index-HYzoGTHG.css\">\n  </head>\n\n  <body>\n    <div id=\"root\" style=\"height: 100%\"></div>\n\n    <!--ANALYTICS_SCRIPTS-->\n  </body>\n</html>\n";