live2dapi-noa 2.0.0 → 2.1.0
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/autoload.js +1 -1
- package/css/left.css +54 -72
- package/css/left.min.css +1 -1
- package/css/right.css +54 -72
- package/css/right.min.css +1 -1
- package/jsdelivr/random/autoload.js +1 -1
- package/jsdelivr/random/autoload.min.js +1 -1
- package/jsdelivr/random/waifu-tips.js +3 -2
- package/jsdelivr/sequential/autoload.js +1 -1
- package/jsdelivr/sequential/autoload.min.js +1 -1
- package/jsdelivr/sequential/waifu-tips.js +3 -2
- package/library/catalog.d.ts +29 -0
- package/live2d.min.js +12 -2
- package/modern/renderer.mjs +18 -18
- package/npm/random/autoload.js +1 -1
- package/npm/random/waifu-tips.js +3 -2
- package/npm/sequential/autoload.js +1 -1
- package/npm/sequential/waifu-tips.js +3 -2
- package/package.json +2 -1
- package/readme.md +56 -16
- package/widget.d.mts +5 -1
- package/widget.mjs +56 -8
package/autoload.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! Live2D API | Generated from src/ | https://github.com/nova1751/live2d-api */
|
|
2
|
-
"use strict";(()=>{function
|
|
2
|
+
"use strict";(()=>{function R(e){return e.pathname.toLowerCase().endsWith(".model3.json")}function b(e,t){let s,n,d,a=0,i=!1;function m(){return s??(s=new Promise((o,l)=>{let c=document.createElement("script");c.src=e+"live2d.min.js",c.acceptCubism2=f=>{t=f,o(f)},c.onerror=()=>l(new Error("Failed to load "+c.src)),document.head.appendChild(c)}).catch(o=>{throw s=void 0,o}))}let r=(o,l,c)=>{let f=++a;n?.abort(),n=void 0,d=void 0,i=!1;let L=new URL(l,document.baseURI);if(!R(L))return t?t(o,l,c):m().then(p=>{if(a!==f)return;let y=p(o,l,c);return i&&p.hide?.(),y});t?.hide?.(),n=new AbortController;let{signal:h}=n;return import(e+"modern/renderer.mjs").then(async p=>{if(h.aborted)return;let y=await p.mountModern(document.getElementById(o),L.href,c?.coreUrl,h,c?.dialogue);h.aborted||(d=y,i&&d.pause())}).catch(p=>{if(!h.aborted)throw n=void 0,p})};return r.hide=()=>{i=!0,n?d?.pause():t?.hide?.()},r.show=o=>{i=!1,n?d?.resume():t?.show?.(o)},r.prepareInteraction=()=>!n&&!!t?.prepareInteraction?.(),r.capture=()=>(n&&d?.capture(),!!n),r}var j="2.1.0";var S="/gh/nova1751/live2d-api@cdn-b3ac5ae545e2/",v="https://cdn.jsdelivr.net",$=v+S,M=/\/live2dapi-noa(?:@[^/]+)?\/?$/;function U(e){let t=new URL(e,document.baseURI);return M.test(t.pathname)?(t.pathname.endsWith("/")||(t.pathname+="/"),t.search=t.hash="",t):new URL(".",t)}function W(e){return/^https?:\/\//.test(e)&&/\/widget\.mjs(?:[?#]|$)/.test(e)?U(e):new URL(v+"/npm/live2dapi-noa@"+j+"/")}function I(e){return M.test(e.pathname)?(e.hostname==="cdn.jsdmirror.com"?e.origin:v)+"/gh/nova1751/live2d-api@catalog-c6c44d203d03fa2b/catalog/library.json":void 0}var g=Symbol.for("live2dapi-noa.mounting"),w=new Map;function x(e,t){return new Promise((s,n)=>{e.onload=()=>s(),e.onerror=()=>{e.remove(),n(new Error(`Failed to load ${t}`))},document.head.appendChild(e)})}function E(e,t,s){if(!w.has(e)){let n=document.createElement("script");n.src=e,s&&(n.dataset.asteroidsUrl=s);let d=x(n,e).then(()=>{let a=window[t];if(typeof a!="function")throw new Error(`Missing export from ${e}`);return a}).catch(a=>{throw w.delete(e),a});w.set(e,d)}return w.get(e)}async function D(e,t,s,n,d,a,i,m){let r=document.createElement("link");r.rel="stylesheet",r.href=e+`css/${s}.css`;try{let[,,o]=await Promise.all([x(r,r.href),i||n&&R(new URL(n,document.baseURI))?window.loadlive2d=b(e):E(e+"live2d.min.js","loadlive2d"),E(e+`jsdelivr/${t}/waifu-tips.js`,"initWidget",e+"asteroids.js")]);document.body||await new Promise(l=>document.addEventListener("DOMContentLoaded",()=>l(),{once:!0})),document.getElementById("waifu-toggle")||o({cdnPath:e,catalogUrl:i&&new URL(i,document.baseURI).href,modelId:m,modelBaseUrl:a&&new URL(a,document.baseURI).href,waifuPath:e+"waifu-tips.json",modelUrl:n&&new URL(n,document.baseURI).href,coreUrl:d&&new URL(d,document.baseURI).href})}catch(o){throw r.remove(),o}}async function P({mode:e="sequential",position:t="left",baseUrl:s,modelUrl:n,coreUrl:d,modelBaseUrl:a,catalogUrl:i,modelId:m}={}){if(!["random","sequential"].includes(e))throw new TypeError("Invalid Live2D mode");if(!["left","right"].includes(t))throw new TypeError("Invalid Live2D position");if(i&&n)throw new TypeError("Choose catalogUrl or modelUrl");let r=document;if(r[g])return r[g];if(document.getElementById("waifu-toggle"))return;let o=s===void 0?W(document.currentScript.src):new URL(s,document.baseURI);if(o.pathname.endsWith("/")||(o.pathname+="/"),o.search="",o.hash="",!i&&!n&&!a&&(i=I(o)),m&&!i)throw new TypeError("modelId requires a catalog");return r[g]=D(o.href,e,t,n,d,a,i,m).catch(l=>{throw delete r[g],l}),r[g]}var u=document.currentScript;if(u&&window.innerWidth>=768){let{mode:e,position:t}=u.dataset;P({baseUrl:U(u.src),catalogUrl:u.dataset.catalogUrl,modelId:u.dataset.modelId,modelBaseUrl:u.dataset.modelBaseUrl,modelUrl:u.dataset.modelUrl,coreUrl:u.dataset.coreUrl,mode:e,position:t}).catch(s=>console.error("[Live2D]",s))}})();
|
package/css/left.css
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/* src/styles/widget.css */
|
|
1
2
|
#waifu-toggle {
|
|
3
|
+
border: 0;
|
|
2
4
|
background-color: #fa0;
|
|
3
5
|
border-radius: 5px;
|
|
4
6
|
bottom: 66px;
|
|
@@ -13,18 +15,15 @@
|
|
|
13
15
|
width: 60px;
|
|
14
16
|
writing-mode: vertical-rl;
|
|
15
17
|
}
|
|
16
|
-
|
|
17
18
|
#waifu-toggle.waifu-toggle-active {
|
|
18
19
|
margin-left: -50px;
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
#waifu-toggle
|
|
21
|
+
#waifu-toggle.waifu-toggle-active:hover,
|
|
22
|
+
#waifu-toggle:focus-visible {
|
|
22
23
|
margin-left: -30px;
|
|
23
24
|
}
|
|
24
|
-
|
|
25
25
|
#waifu {
|
|
26
26
|
bottom: -1000px;
|
|
27
|
-
left: 0;
|
|
28
27
|
line-height: 0;
|
|
29
28
|
margin-bottom: 0px;
|
|
30
29
|
position: fixed;
|
|
@@ -32,12 +31,11 @@
|
|
|
32
31
|
transition: transform 0.3s ease-in-out, bottom 3s ease-in-out;
|
|
33
32
|
z-index: 1;
|
|
34
33
|
}
|
|
35
|
-
|
|
36
34
|
#waifu:hover {
|
|
37
35
|
transform: translateY(0);
|
|
38
36
|
}
|
|
39
|
-
|
|
40
37
|
#waifu-tips {
|
|
38
|
+
pointer-events: none;
|
|
41
39
|
animation: shake 50s ease-in-out 5s infinite;
|
|
42
40
|
background-color: rgba(236, 217, 188, 0.5);
|
|
43
41
|
border: 1px solid rgba(224, 186, 140, 0.62);
|
|
@@ -57,256 +55,240 @@
|
|
|
57
55
|
word-break: break-all;
|
|
58
56
|
top: -60px;
|
|
59
57
|
}
|
|
60
|
-
|
|
61
58
|
#waifu-tips.waifu-tips-active {
|
|
62
59
|
opacity: 1;
|
|
63
60
|
transition: opacity 0.2s;
|
|
64
61
|
}
|
|
65
|
-
|
|
66
62
|
#waifu-tips span {
|
|
67
63
|
color: #0099cc;
|
|
68
64
|
}
|
|
69
|
-
|
|
70
65
|
#live2d {
|
|
71
66
|
cursor: grab;
|
|
72
67
|
height: 350px;
|
|
73
68
|
position: relative;
|
|
74
69
|
width: 350px;
|
|
75
70
|
}
|
|
76
|
-
|
|
77
71
|
#live2d:active {
|
|
78
72
|
cursor: grabbing;
|
|
79
73
|
}
|
|
80
|
-
|
|
81
74
|
#waifu-tool {
|
|
82
75
|
color: #aaa;
|
|
83
76
|
opacity: 0;
|
|
84
77
|
position: absolute;
|
|
85
|
-
right: 10px;
|
|
86
78
|
top: 50px;
|
|
87
79
|
transition: opacity 1s;
|
|
88
80
|
}
|
|
89
|
-
|
|
90
|
-
#waifu:
|
|
81
|
+
#waifu:hover #waifu-tool,
|
|
82
|
+
#waifu:focus-within #waifu-tool {
|
|
91
83
|
opacity: 1;
|
|
92
84
|
}
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
#waifu-tool button {
|
|
86
|
+
appearance: none;
|
|
87
|
+
border: 0;
|
|
88
|
+
background: transparent;
|
|
89
|
+
padding: 0 4px;
|
|
90
|
+
cursor: pointer;
|
|
95
91
|
display: block;
|
|
96
92
|
height: 40px;
|
|
97
93
|
text-align: center;
|
|
98
94
|
}
|
|
99
|
-
|
|
100
95
|
#waifu-tool svg {
|
|
101
96
|
fill: #7b8c9d;
|
|
102
97
|
cursor: pointer;
|
|
103
98
|
height: 22px;
|
|
104
99
|
transition: fill 0.3s;
|
|
105
100
|
}
|
|
106
|
-
|
|
107
101
|
#waifu-tool svg:hover {
|
|
108
|
-
fill: #0684bd;
|
|
102
|
+
fill: #0684bd;
|
|
109
103
|
}
|
|
110
|
-
|
|
111
104
|
@keyframes shake {
|
|
112
105
|
2% {
|
|
113
106
|
transform: translate(0.5px, -1.5px) rotate(-0.5deg);
|
|
114
107
|
}
|
|
115
|
-
|
|
116
108
|
4% {
|
|
117
109
|
transform: translate(0.5px, 1.5px) rotate(1.5deg);
|
|
118
110
|
}
|
|
119
|
-
|
|
120
111
|
6% {
|
|
121
112
|
transform: translate(1.5px, 1.5px) rotate(1.5deg);
|
|
122
113
|
}
|
|
123
|
-
|
|
124
114
|
8% {
|
|
125
115
|
transform: translate(2.5px, 1.5px) rotate(0.5deg);
|
|
126
116
|
}
|
|
127
|
-
|
|
128
117
|
10% {
|
|
129
118
|
transform: translate(0.5px, 2.5px) rotate(0.5deg);
|
|
130
119
|
}
|
|
131
|
-
|
|
132
120
|
12% {
|
|
133
121
|
transform: translate(1.5px, 1.5px) rotate(0.5deg);
|
|
134
122
|
}
|
|
135
|
-
|
|
136
123
|
14% {
|
|
137
124
|
transform: translate(0.5px, 0.5px) rotate(0.5deg);
|
|
138
125
|
}
|
|
139
|
-
|
|
140
126
|
16% {
|
|
141
127
|
transform: translate(-1.5px, -0.5px) rotate(1.5deg);
|
|
142
128
|
}
|
|
143
|
-
|
|
144
129
|
18% {
|
|
145
130
|
transform: translate(0.5px, 0.5px) rotate(1.5deg);
|
|
146
131
|
}
|
|
147
|
-
|
|
148
132
|
20% {
|
|
149
133
|
transform: translate(2.5px, 2.5px) rotate(1.5deg);
|
|
150
134
|
}
|
|
151
|
-
|
|
152
135
|
22% {
|
|
153
136
|
transform: translate(0.5px, -1.5px) rotate(1.5deg);
|
|
154
137
|
}
|
|
155
|
-
|
|
156
138
|
24% {
|
|
157
139
|
transform: translate(-1.5px, 1.5px) rotate(-0.5deg);
|
|
158
140
|
}
|
|
159
|
-
|
|
160
141
|
26% {
|
|
161
142
|
transform: translate(1.5px, 0.5px) rotate(1.5deg);
|
|
162
143
|
}
|
|
163
|
-
|
|
164
144
|
28% {
|
|
165
145
|
transform: translate(-0.5px, -0.5px) rotate(-0.5deg);
|
|
166
146
|
}
|
|
167
|
-
|
|
168
147
|
30% {
|
|
169
148
|
transform: translate(1.5px, -0.5px) rotate(-0.5deg);
|
|
170
149
|
}
|
|
171
|
-
|
|
172
150
|
32% {
|
|
173
151
|
transform: translate(2.5px, -1.5px) rotate(1.5deg);
|
|
174
152
|
}
|
|
175
|
-
|
|
176
153
|
34% {
|
|
177
154
|
transform: translate(2.5px, 2.5px) rotate(-0.5deg);
|
|
178
155
|
}
|
|
179
|
-
|
|
180
156
|
36% {
|
|
181
157
|
transform: translate(0.5px, -1.5px) rotate(0.5deg);
|
|
182
158
|
}
|
|
183
|
-
|
|
184
159
|
38% {
|
|
185
160
|
transform: translate(2.5px, -0.5px) rotate(-0.5deg);
|
|
186
161
|
}
|
|
187
|
-
|
|
188
162
|
40% {
|
|
189
163
|
transform: translate(-0.5px, 2.5px) rotate(0.5deg);
|
|
190
164
|
}
|
|
191
|
-
|
|
192
165
|
42% {
|
|
193
166
|
transform: translate(-1.5px, 2.5px) rotate(0.5deg);
|
|
194
167
|
}
|
|
195
|
-
|
|
196
168
|
44% {
|
|
197
169
|
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
|
|
198
170
|
}
|
|
199
|
-
|
|
200
171
|
46% {
|
|
201
172
|
transform: translate(1.5px, -0.5px) rotate(-0.5deg);
|
|
202
173
|
}
|
|
203
|
-
|
|
204
174
|
48% {
|
|
205
175
|
transform: translate(2.5px, -0.5px) rotate(0.5deg);
|
|
206
176
|
}
|
|
207
|
-
|
|
208
177
|
50% {
|
|
209
178
|
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
|
|
210
179
|
}
|
|
211
|
-
|
|
212
180
|
52% {
|
|
213
181
|
transform: translate(-0.5px, 1.5px) rotate(0.5deg);
|
|
214
182
|
}
|
|
215
|
-
|
|
216
183
|
54% {
|
|
217
184
|
transform: translate(-1.5px, 1.5px) rotate(0.5deg);
|
|
218
185
|
}
|
|
219
|
-
|
|
220
186
|
56% {
|
|
221
187
|
transform: translate(0.5px, 2.5px) rotate(1.5deg);
|
|
222
188
|
}
|
|
223
|
-
|
|
224
189
|
58% {
|
|
225
190
|
transform: translate(2.5px, 2.5px) rotate(0.5deg);
|
|
226
191
|
}
|
|
227
|
-
|
|
228
192
|
60% {
|
|
229
193
|
transform: translate(2.5px, -1.5px) rotate(1.5deg);
|
|
230
194
|
}
|
|
231
|
-
|
|
232
195
|
62% {
|
|
233
196
|
transform: translate(-1.5px, 0.5px) rotate(1.5deg);
|
|
234
197
|
}
|
|
235
|
-
|
|
236
198
|
64% {
|
|
237
199
|
transform: translate(-1.5px, 1.5px) rotate(1.5deg);
|
|
238
200
|
}
|
|
239
|
-
|
|
240
201
|
66% {
|
|
241
202
|
transform: translate(0.5px, 2.5px) rotate(1.5deg);
|
|
242
203
|
}
|
|
243
|
-
|
|
244
204
|
68% {
|
|
245
205
|
transform: translate(2.5px, -1.5px) rotate(1.5deg);
|
|
246
206
|
}
|
|
247
|
-
|
|
248
207
|
70% {
|
|
249
208
|
transform: translate(2.5px, 2.5px) rotate(0.5deg);
|
|
250
209
|
}
|
|
251
|
-
|
|
252
210
|
72% {
|
|
253
211
|
transform: translate(-0.5px, -1.5px) rotate(1.5deg);
|
|
254
212
|
}
|
|
255
|
-
|
|
256
213
|
74% {
|
|
257
214
|
transform: translate(-1.5px, 2.5px) rotate(1.5deg);
|
|
258
215
|
}
|
|
259
|
-
|
|
260
216
|
76% {
|
|
261
217
|
transform: translate(-1.5px, 2.5px) rotate(1.5deg);
|
|
262
218
|
}
|
|
263
|
-
|
|
264
219
|
78% {
|
|
265
220
|
transform: translate(-1.5px, 2.5px) rotate(0.5deg);
|
|
266
221
|
}
|
|
267
|
-
|
|
268
222
|
80% {
|
|
269
223
|
transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
|
|
270
224
|
}
|
|
271
|
-
|
|
272
225
|
82% {
|
|
273
226
|
transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
|
|
274
227
|
}
|
|
275
|
-
|
|
276
228
|
84% {
|
|
277
229
|
transform: translate(-0.5px, 0.5px) rotate(1.5deg);
|
|
278
230
|
}
|
|
279
|
-
|
|
280
231
|
86% {
|
|
281
232
|
transform: translate(2.5px, 1.5px) rotate(0.5deg);
|
|
282
233
|
}
|
|
283
|
-
|
|
284
234
|
88% {
|
|
285
235
|
transform: translate(-1.5px, 0.5px) rotate(1.5deg);
|
|
286
236
|
}
|
|
287
|
-
|
|
288
237
|
90% {
|
|
289
238
|
transform: translate(-1.5px, -0.5px) rotate(-0.5deg);
|
|
290
239
|
}
|
|
291
|
-
|
|
292
240
|
92% {
|
|
293
241
|
transform: translate(-1.5px, -1.5px) rotate(1.5deg);
|
|
294
242
|
}
|
|
295
|
-
|
|
296
243
|
94% {
|
|
297
244
|
transform: translate(0.5px, 0.5px) rotate(-0.5deg);
|
|
298
245
|
}
|
|
299
|
-
|
|
300
246
|
96% {
|
|
301
247
|
transform: translate(2.5px, -0.5px) rotate(-0.5deg);
|
|
302
248
|
}
|
|
303
|
-
|
|
304
249
|
98% {
|
|
305
250
|
transform: translate(-1.5px, -1.5px) rotate(-0.5deg);
|
|
306
251
|
}
|
|
307
|
-
|
|
308
|
-
0%,
|
|
309
|
-
100% {
|
|
252
|
+
0%, 100% {
|
|
310
253
|
transform: translate(0, 0) rotate(0);
|
|
311
254
|
}
|
|
312
255
|
}
|
|
256
|
+
.waifu-sr-only {
|
|
257
|
+
position: absolute;
|
|
258
|
+
width: 1px;
|
|
259
|
+
height: 1px;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
clip-path: inset(50%);
|
|
262
|
+
}
|
|
263
|
+
#waifu-tool button:focus-visible,
|
|
264
|
+
#waifu-toggle:focus-visible {
|
|
265
|
+
outline: 2px solid #126381;
|
|
266
|
+
outline-offset: 2px;
|
|
267
|
+
}
|
|
268
|
+
@media (hover: none) {
|
|
269
|
+
#waifu-tool {
|
|
270
|
+
opacity: 1;
|
|
271
|
+
}
|
|
272
|
+
#waifu-tool button {
|
|
273
|
+
min-width: 44px;
|
|
274
|
+
min-height: 44px;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
@media (prefers-reduced-motion: reduce) {
|
|
278
|
+
#waifu,
|
|
279
|
+
#waifu-toggle,
|
|
280
|
+
#waifu-tool,
|
|
281
|
+
#waifu-tips,
|
|
282
|
+
#waifu-tips.waifu-tips-active {
|
|
283
|
+
animation: none;
|
|
284
|
+
transition: none;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/* src/styles/left.css */
|
|
289
|
+
#waifu {
|
|
290
|
+
left: 0;
|
|
291
|
+
}
|
|
292
|
+
#waifu-tool {
|
|
293
|
+
right: 10px;
|
|
294
|
+
}
|
package/css/left.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#waifu-toggle{background-color:#fa0;border-radius:5px;bottom:66px;color:#fff;cursor:pointer;font-size:12px;left:0;margin-left:-100px;padding:5px 2px 5px 5px;position:fixed;transition:margin-left 1s;width:60px;writing-mode:vertical-rl}#waifu-toggle.waifu-toggle-active{margin-left:-50px}#waifu-toggle.waifu-toggle-active:hover{margin-left:-30px}#waifu{bottom:-1000px;
|
|
1
|
+
#waifu-toggle{border:0;background-color:#fa0;border-radius:5px;bottom:66px;color:#fff;cursor:pointer;font-size:12px;left:0;margin-left:-100px;padding:5px 2px 5px 5px;position:fixed;transition:margin-left 1s;width:60px;writing-mode:vertical-rl}#waifu-toggle.waifu-toggle-active{margin-left:-50px}#waifu-toggle.waifu-toggle-active:hover,#waifu-toggle:focus-visible{margin-left:-30px}#waifu{bottom:-1000px;line-height:0;margin-bottom:0;position:fixed;transform:translateY(3px);transition:transform .3s ease-in-out,bottom 3s ease-in-out;z-index:1}#waifu:hover{transform:translateY(0)}#waifu-tips{pointer-events:none;animation:shake 50s ease-in-out 5s infinite;background-color:#ecd9bc80;border:1px solid rgba(224,186,140,.62);border-radius:12px;box-shadow:0 3px 15px 2px #bf9e7633;font-size:14px;line-height:24px;margin:-30px 30px;min-height:75px;opacity:0;overflow:hidden;padding:5px 10px;position:absolute;text-overflow:ellipsis;transition:opacity 1s;width:280px;word-break:break-all;top:-60px}#waifu-tips.waifu-tips-active{opacity:1;transition:opacity .2s}#waifu-tips span{color:#09c}#live2d{cursor:grab;height:350px;position:relative;width:350px}#live2d:active{cursor:grabbing}#waifu-tool{color:#aaa;opacity:0;position:absolute;top:50px;transition:opacity 1s}#waifu:hover #waifu-tool,#waifu:focus-within #waifu-tool{opacity:1}#waifu-tool button{appearance:none;border:0;background:transparent;padding:0 4px;cursor:pointer;display:block;height:40px;text-align:center}#waifu-tool svg{fill:#7b8c9d;cursor:pointer;height:22px;transition:fill .3s}#waifu-tool svg:hover{fill:#0684bd}@keyframes shake{2%{transform:translate(.5px,-1.5px) rotate(-.5deg)}4%{transform:translate(.5px,1.5px) rotate(1.5deg)}6%{transform:translate(1.5px,1.5px) rotate(1.5deg)}8%{transform:translate(2.5px,1.5px) rotate(.5deg)}10%{transform:translate(.5px,2.5px) rotate(.5deg)}12%{transform:translate(1.5px,1.5px) rotate(.5deg)}14%{transform:translate(.5px,.5px) rotate(.5deg)}16%{transform:translate(-1.5px,-.5px) rotate(1.5deg)}18%{transform:translate(.5px,.5px) rotate(1.5deg)}20%{transform:translate(2.5px,2.5px) rotate(1.5deg)}22%{transform:translate(.5px,-1.5px) rotate(1.5deg)}24%{transform:translate(-1.5px,1.5px) rotate(-.5deg)}26%{transform:translate(1.5px,.5px) rotate(1.5deg)}28%{transform:translate(-.5px,-.5px) rotate(-.5deg)}30%{transform:translate(1.5px,-.5px) rotate(-.5deg)}32%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}34%{transform:translate(2.5px,2.5px) rotate(-.5deg)}36%{transform:translate(.5px,-1.5px) rotate(.5deg)}38%{transform:translate(2.5px,-.5px) rotate(-.5deg)}40%{transform:translate(-.5px,2.5px) rotate(.5deg)}42%{transform:translate(-1.5px,2.5px) rotate(.5deg)}44%{transform:translate(-1.5px,1.5px) rotate(.5deg)}46%{transform:translate(1.5px,-.5px) rotate(-.5deg)}48%{transform:translate(2.5px,-.5px) rotate(.5deg)}50%{transform:translate(-1.5px,1.5px) rotate(.5deg)}52%{transform:translate(-.5px,1.5px) rotate(.5deg)}54%{transform:translate(-1.5px,1.5px) rotate(.5deg)}56%{transform:translate(.5px,2.5px) rotate(1.5deg)}58%{transform:translate(2.5px,2.5px) rotate(.5deg)}60%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}62%{transform:translate(-1.5px,.5px) rotate(1.5deg)}64%{transform:translate(-1.5px,1.5px) rotate(1.5deg)}66%{transform:translate(.5px,2.5px) rotate(1.5deg)}68%{transform:translate(2.5px,-1.5px) rotate(1.5deg)}70%{transform:translate(2.5px,2.5px) rotate(.5deg)}72%{transform:translate(-.5px,-1.5px) rotate(1.5deg)}74%{transform:translate(-1.5px,2.5px) rotate(1.5deg)}76%{transform:translate(-1.5px,2.5px) rotate(1.5deg)}78%{transform:translate(-1.5px,2.5px) rotate(.5deg)}80%{transform:translate(-1.5px,.5px) rotate(-.5deg)}82%{transform:translate(-1.5px,.5px) rotate(-.5deg)}84%{transform:translate(-.5px,.5px) rotate(1.5deg)}86%{transform:translate(2.5px,1.5px) rotate(.5deg)}88%{transform:translate(-1.5px,.5px) rotate(1.5deg)}90%{transform:translate(-1.5px,-.5px) rotate(-.5deg)}92%{transform:translate(-1.5px,-1.5px) rotate(1.5deg)}94%{transform:translate(.5px,.5px) rotate(-.5deg)}96%{transform:translate(2.5px,-.5px) rotate(-.5deg)}98%{transform:translate(-1.5px,-1.5px) rotate(-.5deg)}0%,to{transform:translate(0) rotate(0)}}.waifu-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#waifu-tool button:focus-visible,#waifu-toggle:focus-visible{outline:2px solid #126381;outline-offset:2px}@media(hover:none){#waifu-tool{opacity:1}#waifu-tool button{min-width:44px;min-height:44px}}@media(prefers-reduced-motion:reduce){#waifu,#waifu-toggle,#waifu-tool,#waifu-tips,#waifu-tips.waifu-tips-active{animation:none;transition:none}}#waifu{left:0}#waifu-tool{right:10px}
|