-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
228 lines (225 loc) · 23 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ChatGPT</title>
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/3.2.31/vue.global.prod.min.js"></script>
<script async src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/highlight.min.js"></script>
<script async src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/markdown-it/12.3.2/markdown-it.min.js"></script>
<script defer src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/clipboard.js/2.0.10/clipboard.min.js"></script>
<script type="module" src="utils.js"></script>
<script type="module" src="data.js"></script>
<script type="module" src="script.js"></script>
<link rel='stylesheet' href='./main.css'>
<link rel="preload" href="./tailwind.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="preload" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/styles/default.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="icon" href="/assets/imgs/favicon.png">
<style>
[v-cloak] {
display: none;
}
.app-loading {
display: grid;
place-content: center;
z-index: 999;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
#app:not([v-cloak]) ~ .app-loading {
display: none;
}
</style>
<link rel="manifest" href="/manifest.webmanifest">
<script defer src="registerSW.js"></script>
</head>
<body>
<div id="app" v-cloak>
<div class="overflow-hidden w-full h-full relative" :class="[colorScheme]">
<div class="flex h-full flex-1 flex-col md:pl-[260px]">
<div
class="sticky top-0 z-10 bg-white border-b dark:bg-gray-800 dark:text-gray-100 dark:border-gray-600 text-gray-600 pl-1 pt-1 sm:pl-3 sm:pt-3 md:hidden">
<button type="button"
@click="sideOpened = true"
class="mobile-menu -ml-0.5 -mt-0.5 inline-flex h-10 w-10 items-center justify-center rounded-md hover:text-gray-900 dark:hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"><span
class="sr-only">Open sidebar</span><svg stroke="currentColor" fill="none" stroke-width="1.5"
viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6 mobile-menu-icon" height="1em"
width="1em" xmlns="http://www.w3.org/2000/svg">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg></button>
</div>
<main class="relative w-full transition-width flex flex-col overflow-hidden h-full items-stretch flex-1">
<div class="flex-1 overflow-hidden">
<div class="react-scroll-to-bottom--css-nuane-79elbk h-full dark:bg-gray-800 overflow-auto thread-container">
<div class="container mx-auto" v-show="messageList.length === 0">
<div class="flex justify-center items-center mt-5 text-gray-400">
<h3 class="text-4xl mb-4">{{lang.curSet}}:{{activePromptName}}</h3>
</div>
</div>
<div class="react-scroll-to-bottom--css-nuane-1n7m0yu">
<!-- 消息列表 -->
<div class="flex flex-col items-center text-sm h-full dark:bg-gray-800">
<div v-for="(messageItem, index) in messageList" :key="index"
class="w-full border-b border-black/10 dark:border-gray-900/50 text-gray-800 dark:text-gray-100 group dark:bg-gray-800"
:class="[messageItem.role !== 'user' ? 'bg-gray-50 dark:bg-[#444654]' : '']">
<div v-if="messageItem.role === 'user'"
class="text-base gap-6 m-auto md:max-w-2xl lg:max-w-2xl xl:max-w-3xl p-4 md:py-6 flex lg:px-0">
<div class="w-[30px] flex flex-col relative items-end">
<div
class="bg-gray-400 rounded-sm text-white flex justify-center items-center relative text-xs w-8 h-8">
</div>
</div>
<div class="relative lg:w-[calc(100%-115px)] w-full flex flex-col">
<div class="min-h-[20px] whitespace-pre-wrap flex flex-col items-start gap-4">
<div class="request-:R2d6:-1 markdown prose dark:prose-invert break-words light">
{{messageItem.content}}
</div>
</div>
</div>
</div>
<div v-else-if="messageItem.role === 'assistant'"
class="text-base gap-6 m-auto md:max-w-2xl lg:max-w-2xl xl:max-w-3xl p-4 md:py-6 flex lg:px-0"
:classList="['bg-gray-50', 'dark:bg-[#444654]']">
<div class="w-[30px] flex flex-col relative items-end">
<div
class="relative h-[30px] w-[30px] p-1 rounded-sm text-white flex items-center justify-center"
style="background-color: rgb(16, 163, 127);"><svg width="41" height="41" viewBox="0 0 41 41"
fill="none" xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" class="w-6 h-6">
<path
d="M37.5324 16.8707C37.9808 15.5241 38.1363 14.0974 37.9886 12.6859C37.8409 11.2744 37.3934 9.91076 36.676 8.68622C35.6126 6.83404 33.9882 5.3676 32.0373 4.4985C30.0864 3.62941 27.9098 3.40259 25.8215 3.85078C24.8796 2.7893 23.7219 1.94125 22.4257 1.36341C21.1295 0.785575 19.7249 0.491269 18.3058 0.500197C16.1708 0.495044 14.0893 1.16803 12.3614 2.42214C10.6335 3.67624 9.34853 5.44666 8.6917 7.47815C7.30085 7.76286 5.98686 8.3414 4.8377 9.17505C3.68854 10.0087 2.73073 11.0782 2.02839 12.312C0.956464 14.1591 0.498905 16.2988 0.721698 18.4228C0.944492 20.5467 1.83612 22.5449 3.268 24.1293C2.81966 25.4759 2.66413 26.9026 2.81182 28.3141C2.95951 29.7256 3.40701 31.0892 4.12437 32.3138C5.18791 34.1659 6.8123 35.6322 8.76321 36.5013C10.7141 37.3704 12.8907 37.5973 14.9789 37.1492C15.9208 38.2107 17.0786 39.0587 18.3747 39.6366C19.6709 40.2144 21.0755 40.5087 22.4946 40.4998C24.6307 40.5054 26.7133 39.8321 28.4418 38.5772C30.1704 37.3223 31.4556 35.5506 32.1119 33.5179C33.5027 33.2332 34.8167 32.6547 35.9659 31.821C37.115 30.9874 38.0728 29.9178 38.7752 28.684C39.8458 26.8371 40.3023 24.6979 40.0789 22.5748C39.8556 20.4517 38.9639 18.4544 37.5324 16.8707ZM22.4978 37.8849C20.7443 37.8874 19.0459 37.2733 17.6994 36.1501C17.7601 36.117 17.8666 36.0586 17.936 36.0161L25.9004 31.4156C26.1003 31.3019 26.2663 31.137 26.3813 30.9378C26.4964 30.7386 26.5563 30.5124 26.5549 30.2825V19.0542L29.9213 20.998C29.9389 21.0068 29.9541 21.0198 29.9656 21.0359C29.977 21.052 29.9842 21.0707 29.9867 21.0902V30.3889C29.9842 32.375 29.1946 34.2791 27.7909 35.6841C26.3872 37.0892 24.4838 37.8806 22.4978 37.8849ZM6.39227 31.0064C5.51397 29.4888 5.19742 27.7107 5.49804 25.9832C5.55718 26.0187 5.66048 26.0818 5.73461 26.1244L13.699 30.7248C13.8975 30.8408 14.1233 30.902 14.3532 30.902C14.583 30.902 14.8088 30.8408 15.0073 30.7248L24.731 25.1103V28.9979C24.7321 29.0177 24.7283 29.0376 24.7199 29.0556C24.7115 29.0736 24.6988 29.0893 24.6829 29.1012L16.6317 33.7497C14.9096 34.7416 12.8643 35.0097 10.9447 34.4954C9.02506 33.9811 7.38785 32.7263 6.39227 31.0064ZM4.29707 13.6194C5.17156 12.0998 6.55279 10.9364 8.19885 10.3327C8.19885 10.4013 8.19491 10.5228 8.19491 10.6071V19.808C8.19351 20.0378 8.25334 20.2638 8.36823 20.4629C8.48312 20.6619 8.64893 20.8267 8.84863 20.9404L18.5723 26.5542L15.206 28.4979C15.1894 28.5089 15.1703 28.5155 15.1505 28.5173C15.1307 28.5191 15.1107 28.516 15.0924 28.5082L7.04046 23.8557C5.32135 22.8601 4.06716 21.2235 3.55289 19.3046C3.03862 17.3858 3.30624 15.3413 4.29707 13.6194ZM31.955 20.0556L22.2312 14.4411L25.5976 12.4981C25.6142 12.4872 25.6333 12.4805 25.6531 12.4787C25.6729 12.4769 25.6928 12.4801 25.7111 12.4879L33.7631 17.1364C34.9967 17.849 36.0017 18.8982 36.6606 20.1613C37.3194 21.4244 37.6047 22.849 37.4832 24.2684C37.3617 25.6878 36.8382 27.0432 35.9743 28.1759C35.1103 29.3086 33.9415 30.1717 32.6047 30.6641C32.6047 30.5947 32.6047 30.4733 32.6047 30.3889V21.188C32.6066 20.9586 32.5474 20.7328 32.4332 20.5338C32.319 20.3348 32.154 20.1698 31.955 20.0556ZM35.3055 15.0128C35.2464 14.9765 35.1431 14.9142 35.069 14.8717L27.1045 10.2712C26.906 10.1554 26.6803 10.0943 26.4504 10.0943C26.2206 10.0943 25.9948 10.1554 25.7963 10.2712L16.0726 15.8858V11.9982C16.0715 11.9783 16.0753 11.9585 16.0837 11.9405C16.0921 11.9225 16.1048 11.9068 16.1207 11.8949L24.1719 7.25025C25.4053 6.53903 26.8158 6.19376 28.2383 6.25482C29.6608 6.31589 31.0364 6.78077 32.2044 7.59508C33.3723 8.40939 34.2842 9.53945 34.8334 10.8531C35.3826 12.1667 35.5464 13.6095 35.3055 15.0128ZM14.2424 21.9419L10.8752 19.9981C10.8576 19.9893 10.8423 19.9763 10.8309 19.9602C10.8195 19.9441 10.8122 19.9254 10.8098 19.9058V10.6071C10.8107 9.18295 11.2173 7.78848 11.9819 6.58696C12.7466 5.38544 13.8377 4.42659 15.1275 3.82264C16.4173 3.21869 17.8524 2.99464 19.2649 3.1767C20.6775 3.35876 22.0089 3.93941 23.1034 4.85067C23.0427 4.88379 22.937 4.94215 22.8668 4.98473L14.9024 9.58517C14.7025 9.69878 14.5366 9.86356 14.4215 10.0626C14.3065 10.2616 14.2466 10.4877 14.2479 10.7175L14.2424 21.9419ZM16.071 17.9991L20.4018 15.4978L24.7325 17.9975V22.9985L20.4018 25.4983L16.071 22.9985V17.9991Z"
fill="currentColor"></path>
</svg></div>
</div>
<div class="relative lg:w-[calc(100%-115px)] w-full flex flex-col">
<div v-if="!messageItem.content" class="blink-cursor"></div>
<div v-else class="min-h-[20px] flex flex-col items-start gap-4 bot-content">
<button class="copy-btn copy-btn-trigger copy-btn-content not-prose"><img class="clippy" width="13" src="https://clipboardjs.com/assets/images/clippy.svg" alt="Copy to clipboard"></button>
<div class="markdown prose w-full break-words dark:prose-invert light" v-html="renderMD(messageItem.content)" :data-raw="messageItem.content">
</div>
</div>
</div>
</div>
</div>
<div class="w-full h-32 md:h-48 flex-shrink-0"></div>
</div>
</div>
</div>
</div>
<div
class="absolute bottom-0 left-0 w-full border-t md:border-t-0 dark:border-white/20 md:border-transparent md:dark:border-transparent md:bg-vert-light-gradient bg-white dark:bg-gray-800 md:!bg-transparent dark:md:bg-vert-dark-gradient">
<div class="flex flex-row stretch gap-3 mx-2 lg:mx-auto pt-2 lg:pt-6 lg:max-w-3xl last:mb-2 md:last:mb-6">
<div class="relative flex-1 h-full flex flex-col">
<div class="w-full flex gap-2 justify-center mb-3"><button
class="btn flex gap-2 justify-center btn-neutral" @click="stopStreamFetch" v-show="controller">Stop generating</button></div>
<!-- <div class="w-full flex gap-2 justify-center mb-3"><button
class="btn flex gap-2 justify-center btn-neutral"><svg stroke="currentColor" fill="none"
stroke-width="1.5" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round"
class="w-3 h-3" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<polyline points="1 4 1 10 7 10"></polyline>
<polyline points="23 20 23 14 17 14"></polyline>
<path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>
</svg>Try again</button></div> -->
<div
class="flex flex-col w-full py-2 pl-3 md:py-3 md:pl-4 relative )} border border-black/10 bg-white dark:border-gray-900/50 dark:text-white dark:bg-gray-700 rounded-md shadow-[0_0_10px_rgba(0,0,0,0.10)] dark:shadow-[0_0_15px_rgba(0,0,0,0.10)]">
<textarea tabindex="0" data-id="request-:R2d6:-0" v-model.trim="message" @keydown.enter="handleKeydown"
@input="onInput"
style="max-height: 200px; height: 24px;" rows="1"
ref="inputRef"
placeholder=""
class="w-full resize-none focus:ring-0 focus-visible:ring-0 p-0 pr-7 m-0 border-0 bg-transparent dark:bg-transparent">
</textarea>
<button @click="onSend"
class="absolute p-1 rounded-md text-gray-500 bottom-1.5 right-1 md:bottom-2.5 md:right-2 hover:bg-gray-100 dark:hover:text-gray-400 dark:hover:bg-gray-900 disabled:hover:bg-transparent dark:disabled:hover:bg-transparent">
<svg
v-if="!controller"
stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round"
stroke-linejoin="round" class="h-4 w-4 mr-1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<line x1="22" y1="2" x2="11" y2="13"></line>
<polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
</svg>
<div v-else class="text-2xl"><span class="">·</span><span class="">·</span><span class="">·</span></div>
</button>
</div>
</div>
</div>
<div class="text-xs text-black/50 dark:text-white/50 pt-2 pb-3 px-3 md:pt-3 md:pb-6 md:px-4 text-center">
Developed using gpt-3.5-turbo API. Please refresh the page if you encounter an error.</div>
</div>
</main>
</div>
<div id="side-bar" class="dark hidden bg-gray-900 md:fixed md:inset-y-0 md:flex md:w-[260px] md:flex-col"
:class="{'open-side': sideOpened}"
>
<div class="flex min-h-0 h-full flex-col" v-outside-click="handleOutsideClick">
<div v-show="sideOpened" @click="sideOpened = false" class="absolute top-0 right-0 -mr-12 pt-2 opacity-100 close-btn"><button type="button" class="ml-1 flex h-10 w-10 items-center justify-center focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white" tabindex="0"><span class="sr-only">Close sidebar</span><svg :stroke="useLight ? 'currentColor' : '#fff'" fill="none" stroke-width="1.5" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6 text-white" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button></div>
<div class="flex flex-1 w-full items-start border-white/20">
<nav class="flex-1 space-y-1 m-2 pb-2">
<a @click="resetThread"
class="flex py-3 px-3 items-center gap-4 rounded-md hover:bg-gray-800 transition-colors duration-200 text-white cursor-pointer text-sm"><svg
stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round"
stroke-linejoin="round" class="w-4 h-4" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<polyline points="1 4 1 10 7 10"></polyline>
<polyline points="23 20 23 14 17 14"></polyline>
<path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>
</svg>{{lang.resetThread}}</a>
<a @click="toggleColor"
class="flex py-3 px-3 items-center gap-4 rounded-md hover:bg-gray-800 transition-colors duration-200 text-white cursor-pointer text-sm">
<svg v-if="useLight" stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
<svg
v-else
stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round"
stroke-linejoin="round" class="w-4 h-4" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
{{colorScheme === 'light' ? lang.light : lang.dark}}{{lang.mode}}
</a>
<a @click="inputApi"
class="flex py-3 px-3 items-center gap-4 rounded-md hover:bg-gray-800 transition-colors duration-200 text-white cursor-pointer text-sm">
<svg role="img" class="h-4 w-4" height="1em" width="1em" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z"/></svg>
{{lang.setAPI}}
</a>
<div class="max-w-sm rounded overflow-hidden shadow-lg">
<div class="mr-8 ml-4">
<div class="relative">
<!-- prompts -->
<div class="rounded shadow-md my-2 relative pin-t pin-l">
<ul class="list-reset">
<input class="border-2 rounded h-8 w-full mb-3 focus:ring-0 focus-visible:ring-0"
v-model.trim="search" :placeholder="lang.roleKeywords"
@keydown.enter="onSearchEnter"
/>
<a @click="setPromot(item)"
v-for="item in filteredItems"
:key="item.name"
class="flex py-3 px-3 items-center gap-4 rounded-md hover:bg-gray-800 transition-colors duration-200 text-white cursor-pointer text-sm"
:class="{'active:bg-gray-800': item.name === activePromptName}"
>
<svg class="svg-icon" style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M154.628571 993.714286c-7.542857 0-14.742857-3.771429-18.971428-10.171429-5.142857-7.657143-5.142857-17.6-0.114286-25.257143l58.514286-89.028571c9.371429-14.514286 5.142857-34.4-9.485714-45.142857-10.171429-7.542857-12.342857-21.828571-4.8-32 7.542857-10.171429 21.828571-12.342857 32-4.8 34.057143 25.028571 43.2 72 20.685714 106.742857 0 0-0.114286 0.114286-0.114286 0.228571l-29.028571 44.114286 165.371428-31.2c0.114286 0 0.228571 0 0.342857-0.114286L508.228571 883.428571c1.257143-0.228571 2.514286-0.342857 3.885715-0.342857 63.085714 0 124.342857-10.857143 181.942857-32.114285 55.428571-20.571429 105.257143-49.942857 147.885714-87.2 87.085714-76.228571 135.085714-177.371429 135.085714-284.685715s-48-208.457143-135.085714-284.685714c-42.742857-37.371429-92.457143-66.742857-147.885714-87.2-57.6-21.371429-118.857143-32.114286-181.942857-32.114286-63.085714 0-124.342857 10.857143-181.942857 32.114286-55.428571 20.571429-105.257143 49.942857-147.885715 87.2C95.085714 270.628571 47.085714 371.771429 47.085714 479.085714c0 47.885714 9.6 94.857143 28.457143 139.428572 18.285714 43.2 44.914286 83.2 78.971429 118.742857 8.685714 9.142857 8.457143 23.542857-0.685715 32.342857-9.142857 8.685714-23.542857 8.457143-32.342857-0.685714-37.942857-39.657143-67.542857-84.228571-88-132.571429-21.257143-50.285714-32.114286-103.085714-32.114285-157.257143 0-61.142857 13.714286-120.342857 40.571428-176.114285 25.942857-53.6 62.971429-101.714286 110.057143-142.971429 46.857143-41.028571 101.485714-73.257143 162.171429-95.771429C376.914286 41.028571 443.428571 29.257143 512 29.257143s135.085714 11.771429 197.828571 34.971428C770.514286 86.742857 825.142857 118.971429 872 160c47.085714 41.257143 84.114286 89.371429 110.057143 142.971429 26.971429 55.771429 40.571429 114.971429 40.571428 176.114285s-13.714286 120.342857-40.571428 176.114286c-25.942857 53.6-62.971429 101.714286-110.057143 142.971429-46.857143 41.028571-101.485714 73.257143-162.171429 95.771428-62.057143 22.971429-128 34.742857-195.885714 34.971429l-137.142857 23.428571-218.057143 41.142857c-1.371429 0.114286-2.742857 0.228571-4.114286 0.228572z m58.514286-112z" /><path d="M276.228571 509.257143m-45.714285 0a45.714286 45.714286 0 1 0 91.428571 0 45.714286 45.714286 0 1 0-91.428571 0Z" /><path d="M513.6 509.257143m-45.714286 0a45.714286 45.714286 0 1 0 91.428572 0 45.714286 45.714286 0 1 0-91.428572 0Z" /><path d="M750.971429 511.085714m-45.714286 0a45.714286 45.714286 0 1 0 91.428571 0 45.714286 45.714286 0 1 0-91.428571 0Z" /></svg>
{{item.name}}
</a>
</ul>
</div>
</div>
</div>
</div>
</nav>
<div class="nav-bottom">
<div class="nav-ver">{{lang.version}}: {{version}}</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div class="app-loading">
<svg class="animate-spin -ml-1 mr-3 h-5 w-5 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-100" cx="12" cy="12" r="10" stroke="#000" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg>
</div> -->
</body>
</html>