-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
35 lines (35 loc) · 8.71 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover"/><meta name="theme-color" content="#000000"/><meta name="description" content="Leading DeFi protocol on Tron: swap, stake, earn, liquidity mining and governance. 在Tron上领先的去中心化金融(DeFi)协议:提供交换、质押、赚取、流动性挖矿和治理服务。"/><meta property="og:url" content="https://sun.io/"/><meta property="og:type" content="website"/><meta property="og:site_name" content="SUN.io"/><meta property="og:description" content="Leading DeFi protocol on Tron: swap, stake, earn, liquidity mining and governance."/><meta property="og:title" content="SUN"/><meta property="og:image" content="https://sun.io/images/twitter-card-sun.jpg"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:site" content="@sunpumpmeme"/><meta name="twitter:title" content="SUN"/><meta name="twitter:description" content="Leading DeFi protocol on Tron: swap, stake, earn, liquidity mining and governance."/><meta name="twitter:image" content="https://sun.io/images/twitter-card-sun.jpg"/><title>SUN | Leading DeFi protocol on Tron: swap, stake, earn, liquidity mining and governance.</title><link href="./static/css/16.2f1b0f0e.chunk.css" rel="stylesheet"><link href="./static/css/main.fff0a098.chunk.css" rel="stylesheet"></head><body id="sunio"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script async src="https://www.googletagmanager.com/gtag/js?id=UA-177464249-12"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-177464249-12');
// 设置初始化主题
var theme = window.localStorage.getItem('theme') || 'dark';
document.documentElement?.setAttribute('data-theme', theme);
// 检查浏览器是否支持WebP图片格式,而不关心具体的特性(如有损、无损、带透明度或动画),那么你可以选择kTestImages对象中的任何一个值作为示例图片来进行检查。
// 为了简洁和一致性,你可以选择lossy(有损压缩)或lossless(无损压缩)中的一个,因为它们是WebP最常见的使用场景。
function check_webp_feature(feature, callback) {
// 有损和无损压缩,以及透明度和动画
var kTestImages = {
lossy: "UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",
lossless: "UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",
alpha: "UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",
animation: "UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"
};
var img = new Image();
img.onload = function () {
var result = (img.width > 0) && (img.height > 0);
callback(feature, result);
};
img.onerror = function () {
callback(feature, false);
};
img.src = "data:image/webp;base64," + kTestImages[feature];
}
function check_wbp_callback(feature, res) {
document.documentElement?.setAttribute('data-webp-' + feature, res);
window.localStorage.setItem('webp_' + feature, res)
}
check_webp_feature('lossy', check_wbp_callback)
check_webp_feature('lossless', check_wbp_callback)
check_webp_feature('alpha', check_wbp_callback)
check_webp_feature('animation', check_wbp_callback)</script><script>!function(e){function t(t){for(var n,c,d=t[0],o=t[1],u=t[2],i=0,l=[];i<d.length;i++)c=d[i],Object.prototype.hasOwnProperty.call(a,c)&&a[c]&&l.push(a[c][0]),a[c]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(b&&b(t);l.length;)l.shift()();return f.push.apply(f,u||[]),r()}function r(){for(var e,t=0;t<f.length;t++){for(var r=f[t],n=!0,c=1;c<r.length;c++){var o=r[c];0!==a[o]&&(n=!1)}n&&(f.splice(t--,1),e=d(d.s=r[0]))}return e}var n={},c={15:0},a={15:0},f=[];function d(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,d),r.l=!0,r.exports}d.e=function(e){var t=[];c[e]?t.push(c[e]):0!==c[e]&&{1:1,3:1,6:1,9:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,45:1,46:1,47:1,48:1,49:1,50:1,51:1,54:1,55:1,57:1,58:1,60:1}[e]&&t.push(c[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"96ca9dc3",2:"31d6cfe0",3:"8ecb184f",4:"31d6cfe0",5:"31d6cfe0",6:"5353744c",7:"31d6cfe0",8:"31d6cfe0",9:"94f132db",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",17:"233cf3fc",18:"d65da342",19:"82670248",20:"9dea3274",21:"b8f5db5d",22:"b87f8d58",23:"d046f7af",24:"d560546f",25:"4b72b03f",26:"cb6929e4",27:"45275d29",28:"e9d444b6",29:"e9d444b6",30:"e9d444b6",31:"e9d444b6",32:"e9d444b6",33:"15e99164",34:"31d6cfe0",35:"d2aa2813",36:"e78ce7db",37:"e78ce7db",38:"5b4861c7",39:"e78ce7db",40:"e78ce7db",41:"524908c9",42:"ea5d63f0",43:"9f3ffd2f",44:"2cb952a3",45:"f0e47a00",46:"36226e42",47:"a903800e",48:"9a1f7a70",49:"e7ae31a8",50:"8345b1de",51:"8345b1de",52:"31d6cfe0",53:"31d6cfe0",54:"1e286a8f",55:"3d1f0819",56:"31d6cfe0",57:"30fbed10",58:"4c5a7b38",59:"31d6cfe0",60:"11d88cdc",61:"31d6cfe0",62:"31d6cfe0"}[e]+".chunk.css",a=d.p+n,f=document.getElementsByTagName("link"),o=0;o<f.length;o++){var u=(b=f[o]).getAttribute("data-href")||b.getAttribute("href");if("stylesheet"===b.rel&&(u===n||u===a))return t()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var b;if((u=(b=i[o]).getAttribute("data-href"))===n||u===a)return t()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=t,l.onerror=function(t){var n=t&&t.target&&t.target.src||a,f=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");f.code="CSS_CHUNK_LOAD_FAILED",f.request=n,delete c[e],l.parentNode.removeChild(l),r(f)},l.href=a,document.getElementsByTagName("head")[0].appendChild(l)})).then((function(){c[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var f,o=document.createElement("script");o.charset="utf-8",o.timeout=120,d.nc&&o.setAttribute("nonce",d.nc),o.src=function(e){return d.p+"static/js/"+({}[e]||e)+"."+{0:"1128dd14",1:"f58df568",2:"f749c13c",3:"c62aa8aa",4:"05d373d1",5:"add08ecc",6:"7b615166",7:"96b8f880",8:"5a865f4c",9:"967d38b5",10:"98b85ab4",11:"2fafe199",12:"82934aa4",13:"cd8042b6",17:"8b1e35f0",18:"82480757",19:"5ebb975a",20:"276ab7f3",21:"16d1fdcf",22:"5a954923",23:"ae0f8fd2",24:"8fe0c032",25:"6dc8f501",26:"dbf557ef",27:"447add0c",28:"4c05562e",29:"becbab82",30:"7687e1e7",31:"98688183",32:"aa31e558",33:"430dc84c",34:"afd42e83",35:"efb2547e",36:"9906b99a",37:"1cdab79c",38:"2c01f3f4",39:"7a7766d3",40:"424363b1",41:"addb4e3f",42:"cb641e8c",43:"5a06cf8c",44:"521af78c",45:"5dd7875f",46:"d48eb79a",47:"8326cbda",48:"31ba5edb",49:"144d4f73",50:"c8f00472",51:"3105b8d3",52:"680f27ad",53:"673c0b95",54:"ae3e228c",55:"f42f0228",56:"2074b6ab",57:"8e4efc62",58:"0e6f707c",59:"03d8cc30",60:"780e624e",61:"5e2d8951",62:"dd76f315"}[e]+".chunk.js"}(e);var u=new Error;f=function(t){o.onerror=o.onload=null,clearTimeout(i);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}a[e]=void 0}};var i=setTimeout((function(){f({type:"timeout",target:o})}),12e4);o.onerror=o.onload=f,document.head.appendChild(o)}return Promise.all(t)},d.m=e,d.c=n,d.d=function(e,t,r){d.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,t){if(1&t&&(e=d(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(d.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)d.d(r,n,function(t){return e[t]}.bind(null,n));return r},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,"a",t),t},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.p="./",d.oe=function(e){throw console.error(e),e};var o=this["webpackJsonpfront-js"]=this["webpackJsonpfront-js"]||[],u=o.push.bind(o);o.push=t,o=o.slice();for(var i=0;i<o.length;i++)t(o[i]);var b=u;r()}([])</script><script src="./static/js/16.f7d17ce8.chunk.js"></script><script src="./static/js/main.eb013e0c.chunk.js"></script></body></html>