@articles-media/articles-dev-box 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist/Ad-BsG4C_lR.js +668 -0
- package/dist/Ad.js +2 -2
- package/dist/AdConfirmExitModal-heFPJNdX.js +55 -0
- package/dist/AdDetailsModal-D2-4lh9e.js +107 -0
- package/dist/ArticlesAd.js +15 -10
- package/dist/Button-DvEZjsVV.js +32 -0
- package/dist/CreditsModal.js +51 -35
- package/dist/DarkModeHandler.js +21 -13
- package/dist/FriendsList.js +49 -47
- package/dist/GameMenu-BD1HSDJ-.js +84 -0
- package/dist/GameMenu.js +2 -0
- package/dist/GameScoreboard-DVoXXDnM.js +174 -0
- package/dist/GameScoreboard.js +2 -2
- package/dist/GlobalBody.js +58 -23
- package/dist/GlobalHead.js +5 -5
- package/dist/Link-CguWJy6y.js +16 -0
- package/dist/ReturnToLauncherButton.js +26 -22
- package/dist/SessionButton.js +62 -38
- package/dist/SettingsModal-yU_TsVYh.js +430 -0
- package/dist/SettingsModal.js +2 -2
- package/dist/SignInButton.js +21 -17
- package/dist/SocketServerUrlHandler.js +14 -10
- package/dist/StatusModal-BXRbJQ10.js +84 -0
- package/dist/ToontownModeHandler.js +13 -10
- package/dist/ViewUserModal-Dgo1C4sR.js +1798 -0
- package/dist/ViewUserModal.js +2 -2
- package/dist/articles-dev-box.css +498 -2
- package/dist/classnames-No-mjhw1.js +66 -0
- package/dist/index.js +23 -22
- package/dist/numberWithCommas-B0B9bjWC.js +2198 -0
- package/dist/typicalZustandStoreExcludes.js +4 -3
- package/dist/typicalZustandStoreStateSlice.js +53 -49
- package/dist/useAuthSiteStatus-ZK1GbPBV.js +34 -0
- package/dist/useFullscreen.js +38 -18
- package/dist/useUserDetails.js +17 -16
- package/dist/useUserFriends.js +23 -21
- package/dist/useUserToken.js +12 -11
- package/package.json +2 -1
- package/dist/Ad-CFuDgQYL.js +0 -504
- package/dist/AdConfirmExitModal-skW9lp88.js +0 -55
- package/dist/AdDetailsModal-CdTR2Y9l.js +0 -107
- package/dist/Button-sSB4xpOw.js +0 -31
- package/dist/GameScoreboard-9GYlLx72.js +0 -165
- package/dist/Link-8nSDV4sI.js +0 -16
- package/dist/SettingsModal-CiLvMoLW.js +0 -303
- package/dist/StatusModal-PG3i9NKf.js +0 -75
- package/dist/ViewUserModal-C5gjfuJ5.js +0 -1549
- package/dist/classnames-DCsil9eG.js +0 -39
- package/dist/numberWithCommas-DSRplpBy.js +0 -1170
- package/dist/useAuthSiteStatus-Cj9IjMj7.js +0 -29
package/dist/ViewUserModal.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
export {
|
|
2
|
+
import { t as ViewUserModal } from "./ViewUserModal-Dgo1C4sR.js";
|
|
3
|
+
export { ViewUserModal as default };
|
|
@@ -1,2 +1,498 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--articles-theme-primary: #f9edcd;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.bg-articles {
|
|
6
|
+
background-color: var(--articles-theme-primary);
|
|
7
|
+
color: black !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.shadow-articles {
|
|
11
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
12
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text-center {
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.d-flex {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.flex-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ad-wrap {
|
|
30
|
+
z-index: 1;
|
|
31
|
+
margin: 0 auto;
|
|
32
|
+
margin-bottom: 1rem;
|
|
33
|
+
max-width: 312px;
|
|
34
|
+
width: 100%;
|
|
35
|
+
--card-background: #f9edcd;
|
|
36
|
+
--bs-body-color: #000000;
|
|
37
|
+
}
|
|
38
|
+
.ad-wrap.active-member .ad .main-panel {
|
|
39
|
+
height: 310px;
|
|
40
|
+
}
|
|
41
|
+
.ad-wrap .ad {
|
|
42
|
+
position: relative;
|
|
43
|
+
align-self: flex-start;
|
|
44
|
+
width: 100%;
|
|
45
|
+
z-index: 2;
|
|
46
|
+
font-family: brandon-grotesque, sans-serif;
|
|
47
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
}
|
|
50
|
+
@media (max-width: 768px) {
|
|
51
|
+
.ad-wrap .ad {
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.ad-wrap .ad .main-panel {
|
|
57
|
+
background-color: var(--articles-ad-background-color, var(--card-background));
|
|
58
|
+
color: var(--articles-ad-font-color, var(--bs-body-color));
|
|
59
|
+
height: 400px;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
}
|
|
63
|
+
.ad-wrap .ad .main-panel .ad-warning {
|
|
64
|
+
padding: 0.1rem 0.75rem;
|
|
65
|
+
font-family: brandon-grotesque, sans-serif;
|
|
66
|
+
font-weight: 900;
|
|
67
|
+
font-size: 1rem;
|
|
68
|
+
border-bottom: 1px solid var(--articles-ad-border-color, var(--card-background));
|
|
69
|
+
}
|
|
70
|
+
.ad-wrap .ad .main-panel .content-wrap {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: center;
|
|
74
|
+
}
|
|
75
|
+
@media (min-width: 992px) {
|
|
76
|
+
.ad-wrap .ad .main-panel .content-wrap {
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.ad-wrap .ad .main-panel .photo-banner {
|
|
81
|
+
position: relative;
|
|
82
|
+
height: 100px;
|
|
83
|
+
width: 100px;
|
|
84
|
+
flex-shrink: 0;
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
padding-left: 1rem;
|
|
88
|
+
margin-left: 0.75rem;
|
|
89
|
+
margin-left: 0rem;
|
|
90
|
+
height: 125px;
|
|
91
|
+
width: 100%;
|
|
92
|
+
border-bottom: 1px solid black;
|
|
93
|
+
}
|
|
94
|
+
.ad-wrap .ad .main-panel .photo-banner .logo {
|
|
95
|
+
object-fit: cover;
|
|
96
|
+
z-index: 1;
|
|
97
|
+
}
|
|
98
|
+
.ad-wrap .ad .main-panel .photo-banner .logo img {
|
|
99
|
+
width: 75px;
|
|
100
|
+
height: 75px;
|
|
101
|
+
object-fit: contain;
|
|
102
|
+
}
|
|
103
|
+
.ad-wrap .ad .main-panel .photo-banner .splash {
|
|
104
|
+
display: none;
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 50%;
|
|
107
|
+
left: 50%;
|
|
108
|
+
transform: translateX(-50%) translateY(-50%);
|
|
109
|
+
width: 100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
color: black;
|
|
114
|
+
}
|
|
115
|
+
.ad-wrap .ad .main-panel .photo-banner .splash i {
|
|
116
|
+
font-size: 3rem;
|
|
117
|
+
margin-right: 1rem;
|
|
118
|
+
}
|
|
119
|
+
.ad-wrap .ad .main-panel .photo-banner .splash .text {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
line-height: 1;
|
|
123
|
+
align-items: start;
|
|
124
|
+
}
|
|
125
|
+
.ad-wrap .ad .main-panel .photo-banner .splash .text .label {
|
|
126
|
+
font-size: 1.5rem;
|
|
127
|
+
}
|
|
128
|
+
.ad-wrap .ad .main-panel .photo-banner .splash .text .count {
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
font-size: 2rem;
|
|
131
|
+
}
|
|
132
|
+
.ad-wrap .ad .main-panel .photo-banner .splash .text .count .fa-spinner {
|
|
133
|
+
font-size: 1.5rem;
|
|
134
|
+
}
|
|
135
|
+
.ad-wrap .ad .main-panel .photo-banner .member-since {
|
|
136
|
+
position: absolute;
|
|
137
|
+
bottom: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
padding: 0.25rem 0.5rem;
|
|
140
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
141
|
+
color: white;
|
|
142
|
+
font-size: 0.75rem;
|
|
143
|
+
border-top-right-radius: 5px;
|
|
144
|
+
}
|
|
145
|
+
.ad-wrap .ad .main-panel .photo-banner .photo {
|
|
146
|
+
position: absolute;
|
|
147
|
+
left: 0;
|
|
148
|
+
top: 0;
|
|
149
|
+
width: 100%;
|
|
150
|
+
height: 100%;
|
|
151
|
+
object-fit: cover;
|
|
152
|
+
}
|
|
153
|
+
.ad-wrap .ad .main-panel .details-wrap {
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
.ad-wrap .ad .main-panel .links-list {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
}
|
|
160
|
+
.ad-wrap .ad .main-panel .links-list .link-item {
|
|
161
|
+
color: black;
|
|
162
|
+
}
|
|
163
|
+
.ad-wrap .ad .main-panel .links-list .link-item:hover {
|
|
164
|
+
text-decoration: underline;
|
|
165
|
+
text-decoration-color: red;
|
|
166
|
+
}
|
|
167
|
+
.ad-wrap .ad .main-panel .details,
|
|
168
|
+
.ad-wrap .ad .main-panel .detail-title {
|
|
169
|
+
padding: 0.75rem;
|
|
170
|
+
display: grid;
|
|
171
|
+
grid-gap: 5px 5px;
|
|
172
|
+
grid-template-columns: repeat(2, 1fr);
|
|
173
|
+
padding-bottom: 0rem;
|
|
174
|
+
}
|
|
175
|
+
.ad-wrap .ad .main-panel .details .detail .icon,
|
|
176
|
+
.ad-wrap .ad .main-panel .detail-title .detail .icon {
|
|
177
|
+
display: inline-block;
|
|
178
|
+
width: 1.5rem;
|
|
179
|
+
}
|
|
180
|
+
.ad-wrap .ad .main-panel .details .detail .icon i,
|
|
181
|
+
.ad-wrap .ad .main-panel .detail-title .detail .icon i {
|
|
182
|
+
justify-content: flex-start;
|
|
183
|
+
display: flex;
|
|
184
|
+
}
|
|
185
|
+
.ad-wrap .ad .main-panel .short-description {
|
|
186
|
+
padding: 0.75rem;
|
|
187
|
+
padding-top: 0.25rem;
|
|
188
|
+
padding-bottom: 0rem;
|
|
189
|
+
min-height: 50px;
|
|
190
|
+
overflow-y: auto;
|
|
191
|
+
max-height: 125px;
|
|
192
|
+
}
|
|
193
|
+
.ad-wrap .ad .main-panel .detail-title {
|
|
194
|
+
display: flex;
|
|
195
|
+
justify-content: space-between;
|
|
196
|
+
align-items: center;
|
|
197
|
+
}
|
|
198
|
+
.ad-wrap .ad .main-panel .action-wrap {
|
|
199
|
+
border-top: 1px solid var(--articles-ad-border-color, var(--card-background));
|
|
200
|
+
}
|
|
201
|
+
.ad-wrap .ad .main-panel .action-wrap .action {
|
|
202
|
+
padding: 0.25rem;
|
|
203
|
+
display: flex;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
align-items: center;
|
|
206
|
+
border: 1px solid var(--articles-ad-border-color, var(--card-background));
|
|
207
|
+
color: var(--articles-ad-font-color, var(--bs-body-color));
|
|
208
|
+
border-radius: 10px;
|
|
209
|
+
margin-left: auto;
|
|
210
|
+
margin-right: auto;
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
transition-duration: 200ms;
|
|
213
|
+
}
|
|
214
|
+
.ad-wrap .ad .main-panel .action-wrap .action:hover {
|
|
215
|
+
background-color: white;
|
|
216
|
+
color: black;
|
|
217
|
+
}
|
|
218
|
+
.ad-wrap .ad .main-panel .action-wrap .action:active {
|
|
219
|
+
background-color: gray;
|
|
220
|
+
}
|
|
221
|
+
.ad-wrap .advertise-with-us {
|
|
222
|
+
background-color: var(--articles-ad-background-color, var(--card-background));
|
|
223
|
+
border-top: 2px solid var(--articles-ad-border-color, var(--card-background));
|
|
224
|
+
}
|
|
225
|
+
.ad-wrap .advertise-with-us a {
|
|
226
|
+
color: var(--articles-ad-font-color, var(--bs-body-color)) !important;
|
|
227
|
+
}
|
|
228
|
+
.ad-wrap .advertise-with-us a:hover {
|
|
229
|
+
text-decoration: underline;
|
|
230
|
+
text-decoration-color: red;
|
|
231
|
+
}:root {
|
|
232
|
+
--articles-theme-primary: #f9edcd;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.bg-articles {
|
|
236
|
+
background-color: var(--articles-theme-primary);
|
|
237
|
+
color: black !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.shadow-articles {
|
|
241
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
242
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.text-center {
|
|
246
|
+
text-align: center;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.d-flex {
|
|
250
|
+
display: flex;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.flex-header {
|
|
254
|
+
display: flex;
|
|
255
|
+
justify-content: space-between;
|
|
256
|
+
align-items: center;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (min-width: 992px) {
|
|
260
|
+
.show-sidebar .menu-bar {
|
|
261
|
+
display: none;
|
|
262
|
+
}
|
|
263
|
+
.show-sidebar .panel-left {
|
|
264
|
+
display: flex;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
.menu-bar {
|
|
268
|
+
border-radius: 0;
|
|
269
|
+
}
|
|
270
|
+
.menu-bar.Bar {
|
|
271
|
+
position: fixed;
|
|
272
|
+
bottom: 0;
|
|
273
|
+
left: 0;
|
|
274
|
+
width: 100%;
|
|
275
|
+
height: 50px;
|
|
276
|
+
z-index: 3;
|
|
277
|
+
}
|
|
278
|
+
.menu-bar.Bar .btn {
|
|
279
|
+
display: flex;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
}
|
|
283
|
+
.menu-bar.Corner_Button {
|
|
284
|
+
position: fixed;
|
|
285
|
+
bottom: 0;
|
|
286
|
+
left: 0;
|
|
287
|
+
width: 50px;
|
|
288
|
+
height: 50px;
|
|
289
|
+
z-index: 3;
|
|
290
|
+
}
|
|
291
|
+
.menu-bar.Corner_Button .btn {
|
|
292
|
+
position: absolute;
|
|
293
|
+
width: 100%;
|
|
294
|
+
height: 100%;
|
|
295
|
+
border-radius: 0;
|
|
296
|
+
bottom: 0;
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
justify-content: center;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
}
|
|
302
|
+
.menu-bar.Corner_Button .btn i {
|
|
303
|
+
margin-right: 0;
|
|
304
|
+
font-size: 1.25rem;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.mobile-menu {
|
|
308
|
+
position: fixed;
|
|
309
|
+
left: 0;
|
|
310
|
+
width: 100%;
|
|
311
|
+
top: 0px;
|
|
312
|
+
z-index: 2;
|
|
313
|
+
background-color: rgba(0, 0, 0, 0.75);
|
|
314
|
+
transform: translateY(calc(100% + 50px));
|
|
315
|
+
transition-duration: 200ms;
|
|
316
|
+
padding: 1rem;
|
|
317
|
+
display: flex;
|
|
318
|
+
align-items: flex-end;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
}
|
|
321
|
+
.mobile-menu.Bar {
|
|
322
|
+
position: fixed;
|
|
323
|
+
bottom: 0;
|
|
324
|
+
left: 0;
|
|
325
|
+
width: 100%;
|
|
326
|
+
height: 50px;
|
|
327
|
+
z-index: 3;
|
|
328
|
+
}
|
|
329
|
+
.mobile-menu.show {
|
|
330
|
+
transform: translateY(0);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.panel-left,
|
|
334
|
+
.panel-right {
|
|
335
|
+
width: 300px;
|
|
336
|
+
height: calc(100vh - 0px);
|
|
337
|
+
flex-shrink: 0;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.panel-left {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.panel-right {
|
|
345
|
+
display: flex;
|
|
346
|
+
justify-content: center;
|
|
347
|
+
align-items: center;
|
|
348
|
+
}:root {
|
|
349
|
+
--articles-theme-primary: #f9edcd;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.bg-articles {
|
|
353
|
+
background-color: var(--articles-theme-primary);
|
|
354
|
+
color: black !important;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.shadow-articles {
|
|
358
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
359
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.text-center {
|
|
363
|
+
text-align: center;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.d-flex {
|
|
367
|
+
display: flex;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.flex-header {
|
|
371
|
+
display: flex;
|
|
372
|
+
justify-content: space-between;
|
|
373
|
+
align-items: center;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.view-user-modal-badge-wrap {
|
|
377
|
+
display: flex;
|
|
378
|
+
align-items: stretch;
|
|
379
|
+
cursor: pointer;
|
|
380
|
+
}
|
|
381
|
+
.view-user-modal-badge-wrap.large .view-user-modal-badge {
|
|
382
|
+
position: relative;
|
|
383
|
+
height: 30px;
|
|
384
|
+
}
|
|
385
|
+
.view-user-modal-badge-wrap.large .view-user-modal-badge .membership-badge {
|
|
386
|
+
font-size: 1rem !important;
|
|
387
|
+
}
|
|
388
|
+
.view-user-modal-badge-wrap.large .view-user-modal-badge .profile-photo-wrap {
|
|
389
|
+
height: 22px !important;
|
|
390
|
+
width: 22px !important;
|
|
391
|
+
margin-right: 0.5rem;
|
|
392
|
+
}
|
|
393
|
+
.view-user-modal-badge-wrap.large .view-user-modal-badge img {
|
|
394
|
+
margin-right: 0.5rem;
|
|
395
|
+
}
|
|
396
|
+
.view-user-modal-badge-wrap .badge-membership {
|
|
397
|
+
position: relative;
|
|
398
|
+
}
|
|
399
|
+
.view-user-modal-badge-wrap .verification-user-badge {
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.profile-photo-wrap {
|
|
405
|
+
position: relative;
|
|
406
|
+
}
|
|
407
|
+
.profile-photo-wrap .online-status {
|
|
408
|
+
position: absolute;
|
|
409
|
+
width: 10px;
|
|
410
|
+
height: 10px;
|
|
411
|
+
background-color: gray;
|
|
412
|
+
bottom: 1px;
|
|
413
|
+
right: 1px;
|
|
414
|
+
border: 2px solid #000;
|
|
415
|
+
z-index: 1;
|
|
416
|
+
}
|
|
417
|
+
.profile-photo-wrap .online-status.status-online {
|
|
418
|
+
background-color: green;
|
|
419
|
+
border: 2px solid #009b22;
|
|
420
|
+
}:root {
|
|
421
|
+
--articles-theme-primary: #f9edcd;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.bg-articles {
|
|
425
|
+
background-color: var(--articles-theme-primary);
|
|
426
|
+
color: black !important;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.shadow-articles {
|
|
430
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
431
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.text-center {
|
|
435
|
+
text-align: center;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.d-flex {
|
|
439
|
+
display: flex;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.flex-header {
|
|
443
|
+
display: flex;
|
|
444
|
+
justify-content: space-between;
|
|
445
|
+
align-items: center;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.scoreboard {
|
|
449
|
+
margin-top: 1rem;
|
|
450
|
+
max-width: 300px;
|
|
451
|
+
width: 100%;
|
|
452
|
+
margin-bottom: 1rem;
|
|
453
|
+
}
|
|
454
|
+
@media (min-width: 992px) {
|
|
455
|
+
.scoreboard {
|
|
456
|
+
margin-top: 0rem;
|
|
457
|
+
margin-bottom: 0rem;
|
|
458
|
+
display: block;
|
|
459
|
+
position: absolute;
|
|
460
|
+
left: 1rem;
|
|
461
|
+
top: 50%;
|
|
462
|
+
transform: translateY(-50%);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.articles-game-scoreboard {
|
|
467
|
+
border: 1px solid rgb(206, 212, 218);
|
|
468
|
+
border-radius: 8px;
|
|
469
|
+
box-shadow: rgba(0, 0, 0, 0.07) 0px 2px 8px;
|
|
470
|
+
color: rgb(34, 34, 34);
|
|
471
|
+
width: 100%;
|
|
472
|
+
max-width: 350px;
|
|
473
|
+
margin: 0px 1rem;
|
|
474
|
+
overflow: hidden;
|
|
475
|
+
display: flex;
|
|
476
|
+
flex-direction: column;
|
|
477
|
+
z-index: 1;
|
|
478
|
+
position: fixed;
|
|
479
|
+
bottom: 50%;
|
|
480
|
+
transform: translateY(50%);
|
|
481
|
+
left: 8px;
|
|
482
|
+
}.articles-settings-modal input[type=range]::-webkit-slider-runnable-track {
|
|
483
|
+
background: #000;
|
|
484
|
+
height: 0.5rem;
|
|
485
|
+
border-radius: 5px;
|
|
486
|
+
}
|
|
487
|
+
.articles-settings-modal input[type=range]::-webkit-slider-thumb {
|
|
488
|
+
-webkit-appearance: none;
|
|
489
|
+
/* Critical override */
|
|
490
|
+
appearance: none;
|
|
491
|
+
margin-top: -4px;
|
|
492
|
+
/* Centers thumb on the track */
|
|
493
|
+
background-color: var(--articles-secondary-color);
|
|
494
|
+
height: 1rem;
|
|
495
|
+
width: 1rem;
|
|
496
|
+
border: 1px solid #000;
|
|
497
|
+
border-radius: 50%;
|
|
498
|
+
}/*$vite$:1*/
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
+
get: ((k) => from[k]).bind(null, key),
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
+
value: mod,
|
|
21
|
+
enumerable: true
|
|
22
|
+
}) : target, mod));
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region node_modules/classnames/index.js
|
|
25
|
+
var require_classnames = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26
|
+
/*!
|
|
27
|
+
Copyright (c) 2018 Jed Watson.
|
|
28
|
+
Licensed under the MIT License (MIT), see
|
|
29
|
+
http://jedwatson.github.io/classnames
|
|
30
|
+
*/
|
|
31
|
+
(function() {
|
|
32
|
+
"use strict";
|
|
33
|
+
var hasOwn = {}.hasOwnProperty;
|
|
34
|
+
function classNames() {
|
|
35
|
+
var classes = "";
|
|
36
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
37
|
+
var arg = arguments[i];
|
|
38
|
+
if (arg) classes = appendClass(classes, parseValue(arg));
|
|
39
|
+
}
|
|
40
|
+
return classes;
|
|
41
|
+
}
|
|
42
|
+
function parseValue(arg) {
|
|
43
|
+
if (typeof arg === "string" || typeof arg === "number") return arg;
|
|
44
|
+
if (typeof arg !== "object") return "";
|
|
45
|
+
if (Array.isArray(arg)) return classNames.apply(null, arg);
|
|
46
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) return arg.toString();
|
|
47
|
+
var classes = "";
|
|
48
|
+
for (var key in arg) if (hasOwn.call(arg, key) && arg[key]) classes = appendClass(classes, key);
|
|
49
|
+
return classes;
|
|
50
|
+
}
|
|
51
|
+
function appendClass(value, newClass) {
|
|
52
|
+
if (!newClass) return value;
|
|
53
|
+
if (value) return value + " " + newClass;
|
|
54
|
+
return value + newClass;
|
|
55
|
+
}
|
|
56
|
+
if (typeof module !== "undefined" && module.exports) {
|
|
57
|
+
classNames.default = classNames;
|
|
58
|
+
module.exports = classNames;
|
|
59
|
+
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) define("classnames", [], function() {
|
|
60
|
+
return classNames;
|
|
61
|
+
});
|
|
62
|
+
else window.classNames = classNames;
|
|
63
|
+
})();
|
|
64
|
+
}));
|
|
65
|
+
//#endregion
|
|
66
|
+
export { __toESM as n, require_classnames as t };
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { t as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
|
|
1
|
+
import ReturnToLauncherButton from "./ReturnToLauncherButton.js";
|
|
2
|
+
import SignInButton from "./SignInButton.js";
|
|
3
|
+
import useUserDetails from "./useUserDetails.js";
|
|
4
|
+
import useUserToken from "./useUserToken.js";
|
|
5
|
+
import { t as ViewUserModal } from "./ViewUserModal-Dgo1C4sR.js";
|
|
6
|
+
import { t as Ad_default } from "./Ad-BsG4C_lR.js";
|
|
7
|
+
import useUserFriends from "./useUserFriends.js";
|
|
8
|
+
import FriendsList from "./FriendsList.js";
|
|
9
|
+
import SessionButton from "./SessionButton.js";
|
|
10
|
+
import ArticlesAd from "./ArticlesAd.js";
|
|
11
|
+
import { t as GameMenu } from "./GameMenu-BD1HSDJ-.js";
|
|
12
|
+
import { t as GameScoreboard } from "./GameScoreboard-DVoXXDnM.js";
|
|
13
|
+
import GlobalHead from "./GlobalHead.js";
|
|
14
|
+
import GlobalBody_default from "./GlobalBody.js";
|
|
15
|
+
import { t as SettingsModal } from "./SettingsModal-yU_TsVYh.js";
|
|
16
|
+
import CreditsModal from "./CreditsModal.js";
|
|
17
|
+
import DarkModeHandler from "./DarkModeHandler.js";
|
|
18
|
+
import ToontownModeHandler from "./ToontownModeHandler.js";
|
|
19
|
+
import SocketServerUrlHandler from "./SocketServerUrlHandler.js";
|
|
20
|
+
import useFullscreen from "./useFullscreen.js";
|
|
21
|
+
import typicalZustandStoreExcludes from "./typicalZustandStoreExcludes.js";
|
|
22
|
+
import typicalZustandStoreStateSlice from "./typicalZustandStoreStateSlice.js";
|
|
23
|
+
export { Ad_default as Ad, ArticlesAd, CreditsModal, DarkModeHandler, FriendsList, GameMenu, GameScoreboard, GlobalBody_default as GlobalBody, GlobalHead, ReturnToLauncherButton, SessionButton, SettingsModal, SignInButton, SocketServerUrlHandler, ToontownModeHandler, ViewUserModal, typicalZustandStoreExcludes, typicalZustandStoreStateSlice, useFullscreen, useUserDetails, useUserFriends, useUserToken };
|