@fynd-design-engineering/fynd-one-v2 3.0.2 → 3.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/dist/files.html
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Development Files Glossary</title>
|
|
7
|
+
<style>
|
|
8
|
+
body {
|
|
9
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 20px;
|
|
12
|
+
background-color: #f5f5f5;
|
|
13
|
+
}
|
|
14
|
+
.container {
|
|
15
|
+
max-width: 1200px;
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
background: white;
|
|
18
|
+
padding: 30px;
|
|
19
|
+
border-radius: 8px;
|
|
20
|
+
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
21
|
+
}
|
|
22
|
+
h1 {
|
|
23
|
+
color: #333;
|
|
24
|
+
text-align: center;
|
|
25
|
+
margin-bottom: 30px;
|
|
26
|
+
}
|
|
27
|
+
.file-grid {
|
|
28
|
+
display: grid;
|
|
29
|
+
gap: 20px;
|
|
30
|
+
}
|
|
31
|
+
.file-item {
|
|
32
|
+
border: 1px solid #ddd;
|
|
33
|
+
border-radius: 6px;
|
|
34
|
+
padding: 15px;
|
|
35
|
+
background: #fafafa;
|
|
36
|
+
}
|
|
37
|
+
.file-location {
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
color: #0066cc;
|
|
40
|
+
margin-bottom: 10px;
|
|
41
|
+
}
|
|
42
|
+
.file-location a {
|
|
43
|
+
color: #0066cc;
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
}
|
|
46
|
+
.file-location a:hover {
|
|
47
|
+
text-decoration: underline;
|
|
48
|
+
}
|
|
49
|
+
.import-suggestion {
|
|
50
|
+
background: #f0f0f0;
|
|
51
|
+
padding: 10px;
|
|
52
|
+
border-radius: 4px;
|
|
53
|
+
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
word-break: break-all;
|
|
56
|
+
border-left: 4px solid #0066cc;
|
|
57
|
+
}
|
|
58
|
+
.copy-btn {
|
|
59
|
+
background: #0066cc;
|
|
60
|
+
color: white;
|
|
61
|
+
border: none;
|
|
62
|
+
padding: 5px 10px;
|
|
63
|
+
border-radius: 4px;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
margin-top: 5px;
|
|
67
|
+
}
|
|
68
|
+
.copy-btn:hover {
|
|
69
|
+
background: #0052a3;
|
|
70
|
+
}
|
|
71
|
+
.stats {
|
|
72
|
+
text-align: center;
|
|
73
|
+
margin-bottom: 20px;
|
|
74
|
+
color: #666;
|
|
75
|
+
}
|
|
76
|
+
</style>
|
|
77
|
+
</head>
|
|
78
|
+
<body>
|
|
79
|
+
<div class="container">
|
|
80
|
+
<h1>Development Files Glossary</h1>
|
|
81
|
+
<div class="stats">
|
|
82
|
+
<p>Total files: 29</p>
|
|
83
|
+
<p>Server: <a href="http://localhost:3000" target="_blank">http://localhost:3000</a></p>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="file-grid">
|
|
86
|
+
|
|
87
|
+
<div class="file-item">
|
|
88
|
+
<div class="file-location">
|
|
89
|
+
<a href="http://localhost:3000/.DS_Store" target="_blank">http://localhost:3000/.DS_Store</a>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="import-suggestion">
|
|
92
|
+
<script defer src="http://localhost:3000/.DS_Store"></script>
|
|
93
|
+
<br>
|
|
94
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/.DS_Store\"></script>')">
|
|
95
|
+
Copy
|
|
96
|
+
</button>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<div class="file-item">
|
|
101
|
+
<div class="file-location">
|
|
102
|
+
<a href="http://localhost:3000/analytics/debug.js" target="_blank">http://localhost:3000/analytics/debug.js</a>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="import-suggestion">
|
|
105
|
+
<script defer src="http://localhost:3000/analytics/debug.js"></script>
|
|
106
|
+
<br>
|
|
107
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/analytics/debug.js\"></script>')">
|
|
108
|
+
Copy
|
|
109
|
+
</button>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div class="file-item">
|
|
114
|
+
<div class="file-location">
|
|
115
|
+
<a href="http://localhost:3000/analytics/form-success.js" target="_blank">http://localhost:3000/analytics/form-success.js</a>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="import-suggestion">
|
|
118
|
+
<script defer src="http://localhost:3000/analytics/form-success.js"></script>
|
|
119
|
+
<br>
|
|
120
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/analytics/form-success.js\"></script>')">
|
|
121
|
+
Copy
|
|
122
|
+
</button>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
<div class="file-item">
|
|
127
|
+
<div class="file-location">
|
|
128
|
+
<a href="http://localhost:3000/analytics/main.js" target="_blank">http://localhost:3000/analytics/main.js</a>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="import-suggestion">
|
|
131
|
+
<script defer src="http://localhost:3000/analytics/main.js"></script>
|
|
132
|
+
<br>
|
|
133
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/analytics/main.js\"></script>')">
|
|
134
|
+
Copy
|
|
135
|
+
</button>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<div class="file-item">
|
|
140
|
+
<div class="file-location">
|
|
141
|
+
<a href="http://localhost:3000/files.html" target="_blank">http://localhost:3000/files.html</a>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="import-suggestion">
|
|
144
|
+
<script defer src="http://localhost:3000/files.html"></script>
|
|
145
|
+
<br>
|
|
146
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/files.html\"></script>')">
|
|
147
|
+
Copy
|
|
148
|
+
</button>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<div class="file-item">
|
|
153
|
+
<div class="file-location">
|
|
154
|
+
<a href="http://localhost:3000/form/download-file.js" target="_blank">http://localhost:3000/form/download-file.js</a>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="import-suggestion">
|
|
157
|
+
<script defer src="http://localhost:3000/form/download-file.js"></script>
|
|
158
|
+
<br>
|
|
159
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/form/download-file.js\"></script>')">
|
|
160
|
+
Copy
|
|
161
|
+
</button>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div class="file-item">
|
|
166
|
+
<div class="file-location">
|
|
167
|
+
<a href="http://localhost:3000/global/loader.js" target="_blank">http://localhost:3000/global/loader.js</a>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="import-suggestion">
|
|
170
|
+
<script defer src="http://localhost:3000/global/loader.js"></script>
|
|
171
|
+
<br>
|
|
172
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/global/loader.js\"></script>')">
|
|
173
|
+
Copy
|
|
174
|
+
</button>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
<div class="file-item">
|
|
179
|
+
<div class="file-location">
|
|
180
|
+
<a href="http://localhost:3000/global/style.css" target="_blank">http://localhost:3000/global/style.css</a>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="import-suggestion">
|
|
183
|
+
<link href="http://localhost:3000/global/style.css" rel="stylesheet" type="text/css"/>
|
|
184
|
+
<br>
|
|
185
|
+
<button class="copy-btn" onclick="copyToClipboard('<link href=\"http://localhost:3000/global/style.css\" rel=\"stylesheet\" type=\"text/css\"/>')">
|
|
186
|
+
Copy
|
|
187
|
+
</button>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="file-item">
|
|
192
|
+
<div class="file-location">
|
|
193
|
+
<a href="http://localhost:3000/home/index.js" target="_blank">http://localhost:3000/home/index.js</a>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="import-suggestion">
|
|
196
|
+
<script defer src="http://localhost:3000/home/index.js"></script>
|
|
197
|
+
<br>
|
|
198
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/home/index.js\"></script>')">
|
|
199
|
+
Copy
|
|
200
|
+
</button>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
|
|
204
|
+
<div class="file-item">
|
|
205
|
+
<div class="file-location">
|
|
206
|
+
<a href="http://localhost:3000/marquee/index.js" target="_blank">http://localhost:3000/marquee/index.js</a>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="import-suggestion">
|
|
209
|
+
<script defer src="http://localhost:3000/marquee/index.js"></script>
|
|
210
|
+
<br>
|
|
211
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/marquee/index.js\"></script>')">
|
|
212
|
+
Copy
|
|
213
|
+
</button>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<div class="file-item">
|
|
218
|
+
<div class="file-location">
|
|
219
|
+
<a href="http://localhost:3000/navigation/announcement/index.js" target="_blank">http://localhost:3000/navigation/announcement/index.js</a>
|
|
220
|
+
</div>
|
|
221
|
+
<div class="import-suggestion">
|
|
222
|
+
<script defer src="http://localhost:3000/navigation/announcement/index.js"></script>
|
|
223
|
+
<br>
|
|
224
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/navigation/announcement/index.js\"></script>')">
|
|
225
|
+
Copy
|
|
226
|
+
</button>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
<div class="file-item">
|
|
231
|
+
<div class="file-location">
|
|
232
|
+
<a href="http://localhost:3000/navigation/context-menu/index.js" target="_blank">http://localhost:3000/navigation/context-menu/index.js</a>
|
|
233
|
+
</div>
|
|
234
|
+
<div class="import-suggestion">
|
|
235
|
+
<script defer src="http://localhost:3000/navigation/context-menu/index.js"></script>
|
|
236
|
+
<br>
|
|
237
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/navigation/context-menu/index.js\"></script>')">
|
|
238
|
+
Copy
|
|
239
|
+
</button>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
|
|
243
|
+
<div class="file-item">
|
|
244
|
+
<div class="file-location">
|
|
245
|
+
<a href="http://localhost:3000/navigation/desktop/index.js" target="_blank">http://localhost:3000/navigation/desktop/index.js</a>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="import-suggestion">
|
|
248
|
+
<script defer src="http://localhost:3000/navigation/desktop/index.js"></script>
|
|
249
|
+
<br>
|
|
250
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/navigation/desktop/index.js\"></script>')">
|
|
251
|
+
Copy
|
|
252
|
+
</button>
|
|
253
|
+
</div>
|
|
254
|
+
</div>
|
|
255
|
+
|
|
256
|
+
<div class="file-item">
|
|
257
|
+
<div class="file-location">
|
|
258
|
+
<a href="http://localhost:3000/navigation/mobile/index.js" target="_blank">http://localhost:3000/navigation/mobile/index.js</a>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="import-suggestion">
|
|
261
|
+
<script defer src="http://localhost:3000/navigation/mobile/index.js"></script>
|
|
262
|
+
<br>
|
|
263
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/navigation/mobile/index.js\"></script>')">
|
|
264
|
+
Copy
|
|
265
|
+
</button>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
<div class="file-item">
|
|
270
|
+
<div class="file-location">
|
|
271
|
+
<a href="http://localhost:3000/navigation/scroll/index.js" target="_blank">http://localhost:3000/navigation/scroll/index.js</a>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="import-suggestion">
|
|
274
|
+
<script defer src="http://localhost:3000/navigation/scroll/index.js"></script>
|
|
275
|
+
<br>
|
|
276
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/navigation/scroll/index.js\"></script>')">
|
|
277
|
+
Copy
|
|
278
|
+
</button>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
|
|
282
|
+
<div class="file-item">
|
|
283
|
+
<div class="file-location">
|
|
284
|
+
<a href="http://localhost:3000/navigation/style.css" target="_blank">http://localhost:3000/navigation/style.css</a>
|
|
285
|
+
</div>
|
|
286
|
+
<div class="import-suggestion">
|
|
287
|
+
<link href="http://localhost:3000/navigation/style.css" rel="stylesheet" type="text/css"/>
|
|
288
|
+
<br>
|
|
289
|
+
<button class="copy-btn" onclick="copyToClipboard('<link href=\"http://localhost:3000/navigation/style.css\" rel=\"stylesheet\" type=\"text/css\"/>')">
|
|
290
|
+
Copy
|
|
291
|
+
</button>
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
<div class="file-item">
|
|
296
|
+
<div class="file-location">
|
|
297
|
+
<a href="http://localhost:3000/posthog/form-success.js" target="_blank">http://localhost:3000/posthog/form-success.js</a>
|
|
298
|
+
</div>
|
|
299
|
+
<div class="import-suggestion">
|
|
300
|
+
<script defer src="http://localhost:3000/posthog/form-success.js"></script>
|
|
301
|
+
<br>
|
|
302
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/posthog/form-success.js\"></script>')">
|
|
303
|
+
Copy
|
|
304
|
+
</button>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div class="file-item">
|
|
309
|
+
<div class="file-location">
|
|
310
|
+
<a href="http://localhost:3000/posthog/index.js" target="_blank">http://localhost:3000/posthog/index.js</a>
|
|
311
|
+
</div>
|
|
312
|
+
<div class="import-suggestion">
|
|
313
|
+
<script defer src="http://localhost:3000/posthog/index.js"></script>
|
|
314
|
+
<br>
|
|
315
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/posthog/index.js\"></script>')">
|
|
316
|
+
Copy
|
|
317
|
+
</button>
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
|
|
321
|
+
<div class="file-item">
|
|
322
|
+
<div class="file-location">
|
|
323
|
+
<a href="http://localhost:3000/posthog/main.js" target="_blank">http://localhost:3000/posthog/main.js</a>
|
|
324
|
+
</div>
|
|
325
|
+
<div class="import-suggestion">
|
|
326
|
+
<script defer src="http://localhost:3000/posthog/main.js"></script>
|
|
327
|
+
<br>
|
|
328
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/posthog/main.js\"></script>')">
|
|
329
|
+
Copy
|
|
330
|
+
</button>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<div class="file-item">
|
|
335
|
+
<div class="file-location">
|
|
336
|
+
<a href="http://localhost:3000/quick-fix/reload.js" target="_blank">http://localhost:3000/quick-fix/reload.js</a>
|
|
337
|
+
</div>
|
|
338
|
+
<div class="import-suggestion">
|
|
339
|
+
<script defer src="http://localhost:3000/quick-fix/reload.js"></script>
|
|
340
|
+
<br>
|
|
341
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/quick-fix/reload.js\"></script>')">
|
|
342
|
+
Copy
|
|
343
|
+
</button>
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
|
|
347
|
+
<div class="file-item">
|
|
348
|
+
<div class="file-location">
|
|
349
|
+
<a href="http://localhost:3000/test/sample.js" target="_blank">http://localhost:3000/test/sample.js</a>
|
|
350
|
+
</div>
|
|
351
|
+
<div class="import-suggestion">
|
|
352
|
+
<script defer src="http://localhost:3000/test/sample.js"></script>
|
|
353
|
+
<br>
|
|
354
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/test/sample.js\"></script>')">
|
|
355
|
+
Copy
|
|
356
|
+
</button>
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
<div class="file-item">
|
|
361
|
+
<div class="file-location">
|
|
362
|
+
<a href="http://localhost:3000/testimonials/index.js" target="_blank">http://localhost:3000/testimonials/index.js</a>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="import-suggestion">
|
|
365
|
+
<script defer src="http://localhost:3000/testimonials/index.js"></script>
|
|
366
|
+
<br>
|
|
367
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/testimonials/index.js\"></script>')">
|
|
368
|
+
Copy
|
|
369
|
+
</button>
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
<div class="file-item">
|
|
374
|
+
<div class="file-location">
|
|
375
|
+
<a href="http://localhost:3000/tracking/fill-form-fields.js" target="_blank">http://localhost:3000/tracking/fill-form-fields.js</a>
|
|
376
|
+
</div>
|
|
377
|
+
<div class="import-suggestion">
|
|
378
|
+
<script defer src="http://localhost:3000/tracking/fill-form-fields.js"></script>
|
|
379
|
+
<br>
|
|
380
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/tracking/fill-form-fields.js\"></script>')">
|
|
381
|
+
Copy
|
|
382
|
+
</button>
|
|
383
|
+
</div>
|
|
384
|
+
</div>
|
|
385
|
+
|
|
386
|
+
<div class="file-item">
|
|
387
|
+
<div class="file-location">
|
|
388
|
+
<a href="http://localhost:3000/tracking/form-tracker.js" target="_blank">http://localhost:3000/tracking/form-tracker.js</a>
|
|
389
|
+
</div>
|
|
390
|
+
<div class="import-suggestion">
|
|
391
|
+
<script defer src="http://localhost:3000/tracking/form-tracker.js"></script>
|
|
392
|
+
<br>
|
|
393
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/tracking/form-tracker.js\"></script>')">
|
|
394
|
+
Copy
|
|
395
|
+
</button>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
|
|
399
|
+
<div class="file-item">
|
|
400
|
+
<div class="file-location">
|
|
401
|
+
<a href="http://localhost:3000/tracking/page-categories.js" target="_blank">http://localhost:3000/tracking/page-categories.js</a>
|
|
402
|
+
</div>
|
|
403
|
+
<div class="import-suggestion">
|
|
404
|
+
<script defer src="http://localhost:3000/tracking/page-categories.js"></script>
|
|
405
|
+
<br>
|
|
406
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/tracking/page-categories.js\"></script>')">
|
|
407
|
+
Copy
|
|
408
|
+
</button>
|
|
409
|
+
</div>
|
|
410
|
+
</div>
|
|
411
|
+
|
|
412
|
+
<div class="file-item">
|
|
413
|
+
<div class="file-location">
|
|
414
|
+
<a href="http://localhost:3000/tracking/user-journey.js" target="_blank">http://localhost:3000/tracking/user-journey.js</a>
|
|
415
|
+
</div>
|
|
416
|
+
<div class="import-suggestion">
|
|
417
|
+
<script defer src="http://localhost:3000/tracking/user-journey.js"></script>
|
|
418
|
+
<br>
|
|
419
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/tracking/user-journey.js\"></script>')">
|
|
420
|
+
Copy
|
|
421
|
+
</button>
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
|
|
425
|
+
<div class="file-item">
|
|
426
|
+
<div class="file-location">
|
|
427
|
+
<a href="http://localhost:3000/tracking/utm-links.js" target="_blank">http://localhost:3000/tracking/utm-links.js</a>
|
|
428
|
+
</div>
|
|
429
|
+
<div class="import-suggestion">
|
|
430
|
+
<script defer src="http://localhost:3000/tracking/utm-links.js"></script>
|
|
431
|
+
<br>
|
|
432
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/tracking/utm-links.js\"></script>')">
|
|
433
|
+
Copy
|
|
434
|
+
</button>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
<div class="file-item">
|
|
439
|
+
<div class="file-location">
|
|
440
|
+
<a href="http://localhost:3000/utils/sample.js" target="_blank">http://localhost:3000/utils/sample.js</a>
|
|
441
|
+
</div>
|
|
442
|
+
<div class="import-suggestion">
|
|
443
|
+
<script defer src="http://localhost:3000/utils/sample.js"></script>
|
|
444
|
+
<br>
|
|
445
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/utils/sample.js\"></script>')">
|
|
446
|
+
Copy
|
|
447
|
+
</button>
|
|
448
|
+
</div>
|
|
449
|
+
</div>
|
|
450
|
+
|
|
451
|
+
<div class="file-item">
|
|
452
|
+
<div class="file-location">
|
|
453
|
+
<a href="http://localhost:3000/validations/localhost.js" target="_blank">http://localhost:3000/validations/localhost.js</a>
|
|
454
|
+
</div>
|
|
455
|
+
<div class="import-suggestion">
|
|
456
|
+
<script defer src="http://localhost:3000/validations/localhost.js"></script>
|
|
457
|
+
<br>
|
|
458
|
+
<button class="copy-btn" onclick="copyToClipboard('<script defer src=\"http://localhost:3000/validations/localhost.js\"></script>')">
|
|
459
|
+
Copy
|
|
460
|
+
</button>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
|
|
464
|
+
</div>
|
|
465
|
+
</div>
|
|
466
|
+
|
|
467
|
+
<script>
|
|
468
|
+
function copyToClipboard(text) {
|
|
469
|
+
navigator.clipboard.writeText(text).then(() => {
|
|
470
|
+
// Visual feedback
|
|
471
|
+
event.target.textContent = 'Copied!';
|
|
472
|
+
setTimeout(() => {
|
|
473
|
+
event.target.textContent = 'Copy';
|
|
474
|
+
}, 1000);
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
</script>
|
|
478
|
+
</body>
|
|
479
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";(()=>{function er(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function dn(t,r,e){return r&&er(t.prototype,r),e&&er(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var rr="(prefers-reduced-motion: reduce)",Ot=1,hn=2,Nt=3,Vt=4,Kt=5,ie=6,ue=7,gn={CREATED:Ot,MOUNTED:hn,IDLE:Nt,MOVING:Vt,SCROLLING:Kt,DRAGGING:ie,DESTROYED:ue};function ht(t){t.length=0}function St(t,r,e){return Array.prototype.slice.call(t,r,e)}function U(t){return t.bind.apply(t,[null].concat(St(arguments,1)))}var Er=setTimeout,Oe=function(){};function nr(t){return requestAnimationFrame(t)}function ve(t,r){return typeof r===t}function zt(t){return!Me(t)&&ve("object",t)}var xe=Array.isArray,mr=U(ve,"function"),Et=U(ve,"string"),qt=U(ve,"undefined");function Me(t){return t===null}function yr(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function Zt(t){return xe(t)?t:[t]}function rt(t,r){Zt(t).forEach(r)}function Fe(t,r){return t.indexOf(r)>-1}function ae(t,r){return t.push.apply(t,Zt(r)),t}function lt(t,r,e){t&&rt(r,function(n){n&&t.classList[e?"add":"remove"](n)})}function ot(t,r){lt(t,Et(r)?r.split(" "):r,!0)}function jt(t,r){rt(r,t.appendChild.bind(t))}function ke(t,r){rt(t,function(e){var n=(r||e).parentNode;n&&n.insertBefore(e,r)})}function Wt(t,r){return yr(t)&&(t.msMatchesSelector||t.matches).call(t,r)}function Sr(t,r){var e=t?St(t.children):[];return r?e.filter(function(n){return Wt(n,r)}):e}function Jt(t,r){return r?Sr(t,r)[0]:t.firstElementChild}var Bt=Object.keys;function Tt(t,r,e){return t&&(e?Bt(t).reverse():Bt(t)).forEach(function(n){n!=="__proto__"&&r(t[n],n)}),t}function Ht(t){return St(arguments,1).forEach(function(r){Tt(r,function(e,n){t[n]=r[n]})}),t}function gt(t){return St(arguments,1).forEach(function(r){Tt(r,function(e,n){xe(e)?t[n]=e.slice():zt(e)?t[n]=gt({},zt(t[n])?t[n]:{},e):t[n]=e})}),t}function ir(t,r){rt(r||Bt(t),function(e){delete t[e]})}function ut(t,r){rt(t,function(e){rt(r,function(n){e&&e.removeAttribute(n)})})}function k(t,r,e){zt(r)?Tt(r,function(n,a){k(t,a,n)}):rt(t,function(n){Me(e)||e===""?ut(n,r):n.setAttribute(r,String(e))})}function wt(t,r,e){var n=document.createElement(t);return r&&(Et(r)?ot(n,r):k(n,r)),e&&jt(e,n),n}function it(t,r,e){if(qt(e))return getComputedStyle(t)[r];Me(e)||(t.style[r]=""+e)}function Ut(t,r){it(t,"display",r)}function Ar(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function at(t,r){return t.getAttribute(r)}function ar(t,r){return t&&t.classList.contains(r)}function tt(t){return t.getBoundingClientRect()}function bt(t){rt(t,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function _r(t){return Jt(new DOMParser().parseFromString(t,"text/html").body)}function ft(t,r){t.preventDefault(),r&&(t.stopPropagation(),t.stopImmediatePropagation())}function pr(t,r){return t&&t.querySelector(r)}function Ge(t,r){return r?St(t.querySelectorAll(r)):[]}function vt(t,r){lt(t,r,!1)}function we(t){return t.timeStamp}function pt(t){return Et(t)?t:t?t+"px":""}var Qt="splide",ze="data-"+Qt;function kt(t,r){if(!t)throw new Error("["+Qt+"] "+(r||""))}var mt=Math.min,ce=Math.max,fe=Math.floor,$t=Math.ceil,J=Math.abs;function Tr(t,r,e){return J(t-r)<e}function se(t,r,e,n){var a=mt(r,e),c=ce(r,e);return n?a<t&&t<c:a<=t&&t<=c}function Rt(t,r,e){var n=mt(r,e),a=ce(r,e);return mt(ce(n,t),a)}function De(t){return+(t>0)-+(t<0)}function Ne(t,r){return rt(r,function(e){t=t.replace("%s",""+e)}),t}function We(t){return t<10?"0"+t:""+t}var sr={};function En(t){return""+t+We(sr[t]=(sr[t]||0)+1)}function br(){var t=[];function r(i,u,o,f){a(i,u,function(s,m,d){var h="addEventListener"in s,l=h?s.removeEventListener.bind(s,m,o,f):s.removeListener.bind(s,o);h?s.addEventListener(m,o,f):s.addListener(o),t.push([s,m,d,o,l])})}function e(i,u,o){a(i,u,function(f,s,m){t=t.filter(function(d){return d[0]===f&&d[1]===s&&d[2]===m&&(!o||d[3]===o)?(d[4](),!1):!0})})}function n(i,u,o){var f,s=!0;return typeof CustomEvent=="function"?f=new CustomEvent(u,{bubbles:s,detail:o}):(f=document.createEvent("CustomEvent"),f.initCustomEvent(u,s,!1,o)),i.dispatchEvent(f),f}function a(i,u,o){rt(i,function(f){f&&rt(u,function(s){s.split(" ").forEach(function(m){var d=m.split(".");o(f,d[0],d[1])})})})}function c(){t.forEach(function(i){i[4]()}),ht(t)}return{bind:r,unbind:e,dispatch:n,destroy:c}}var Ct="mounted",or="ready",yt="move",te="moved",Lr="click",mn="active",yn="inactive",Sn="visible",An="hidden",q="refresh",Q="updated",Yt="resize",Be="resized",_n="drag",pn="dragging",Tn="dragged",He="scroll",xt="scrolled",bn="overflow",Cr="destroy",Ln="arrows:mounted",Cn="arrows:updated",Rn="pagination:mounted",In="pagination:updated",Rr="navigation:mounted",Ir="autoplay:play",On="autoplay:playing",Or="autoplay:pause",wr="lazyload:loaded",Dr="sk",Nr="sh",le="ei";function X(t){var r=t?t.event.bus:document.createDocumentFragment(),e=br();function n(c,i){e.bind(r,Zt(c).join(" "),function(u){i.apply(i,xe(u.detail)?u.detail:[])})}function a(c){e.dispatch(r,c,St(arguments,1))}return t&&t.event.on(Cr,e.destroy),Ht(e,{bus:r,on:n,off:U(e.unbind,r),emit:a})}function de(t,r,e,n){var a=Date.now,c,i=0,u,o=!0,f=0;function s(){if(!o){if(i=t?mt((a()-c)/t,1):1,e&&e(i),i>=1&&(r(),c=a(),n&&++f>=n))return d();u=nr(s)}}function m(y){y||l(),c=a()-(y?i*t:0),o=!1,u=nr(s)}function d(){o=!0}function h(){c=a(),i=0,e&&e(i)}function l(){u&&cancelAnimationFrame(u),i=0,u=0,o=!0}function v(y){t=y}function S(){return o}return{start:m,rewind:h,pause:d,cancel:l,set:v,isPaused:S}}function wn(t){var r=t;function e(a){r=a}function n(a){return Fe(Zt(a),r)}return{set:e,is:n}}function Dn(t,r){var e=de(r||0,t,null,1);return function(){e.isPaused()&&e.start()}}function Nn(t,r,e){var n=t.state,a=e.breakpoints||{},c=e.reducedMotion||{},i=br(),u=[];function o(){var l=e.mediaQuery==="min";Bt(a).sort(function(v,S){return l?+v-+S:+S-+v}).forEach(function(v){s(a[v],"("+(l?"min":"max")+"-width:"+v+"px)")}),s(c,rr),m()}function f(l){l&&i.destroy()}function s(l,v){var S=matchMedia(v);i.bind(S,"change",m),u.push([l,S])}function m(){var l=n.is(ue),v=e.direction,S=u.reduce(function(y,E){return gt(y,E[1].matches?E[0]:{})},{});ir(e),h(S),e.destroy?t.destroy(e.destroy==="completely"):l?(f(!0),t.mount()):v!==e.direction&&t.refresh()}function d(l){matchMedia(rr).matches&&(l?gt(e,c):ir(e,Bt(c)))}function h(l,v,S){gt(e,l),v&>(Object.getPrototypeOf(e),l),(S||!n.is(Ot))&&t.emit(Q,e)}return{setup:o,destroy:f,reduce:d,set:h}}var he="Arrow",ge=he+"Left",Ee=he+"Right",Pr=he+"Up",Vr=he+"Down";var ur="rtl",me="ttb",Le={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Pr,Ee],ArrowRight:[Vr,ge]};function Pn(t,r,e){function n(c,i,u){u=u||e.direction;var o=u===ur&&!i?1:u===me?0:-1;return Le[c]&&Le[c][o]||c.replace(/width|left|right/i,function(f,s){var m=Le[f.toLowerCase()][o]||f;return s>0?m.charAt(0).toUpperCase()+m.slice(1):m})}function a(c){return c*(e.direction===ur?1:-1)}return{resolve:n,orient:a}}var dt="role",Dt="tabindex",Vn="disabled",st="aria-",ee=st+"controls",xr=st+"current",cr=st+"selected",et=st+"label",Ue=st+"labelledby",Mr=st+"hidden",$e=st+"orientation",Xt=st+"roledescription",fr=st+"live",lr=st+"busy",vr=st+"atomic",Ye=[dt,Dt,Vn,ee,xr,et,Ue,Mr,$e,Xt],ct=Qt+"__",At="is-",Ce=Qt,dr=ct+"track",xn=ct+"list",ye=ct+"slide",Fr=ye+"--clone",Mn=ye+"__container",Xe=ct+"arrows",Se=ct+"arrow",kr=Se+"--prev",Gr=Se+"--next",Ae=ct+"pagination",zr=Ae+"__page",Fn=ct+"progress",kn=Fn+"__bar",Ke=ct+"toggle",Ji=Ke+"__play",Qi=Ke+"__pause",Gn=ct+"spinner",zn=ct+"sr",Wn=At+"initialized",Lt=At+"active",Wr=At+"prev",Br=At+"next",Pe=At+"visible",Ve=At+"loading",Hr=At+"focus-in",Ur=At+"overflow",Bn=[Lt,Pe,Wr,Br,Ve,Hr,Ur],Hn={slide:ye,clone:Fr,arrows:Xe,arrow:Se,prev:kr,next:Gr,pagination:Ae,page:zr,spinner:Gn};function Un(t,r){if(mr(t.closest))return t.closest(r);for(var e=t;e&&e.nodeType===1&&!Wt(e,r);)e=e.parentElement;return e}var $n=5,hr=200,$r="touchstart mousedown",Re="touchmove mousemove",Ie="touchend touchcancel mouseup click";function Yn(t,r,e){var n=X(t),a=n.on,c=n.bind,i=t.root,u=e.i18n,o={},f=[],s=[],m=[],d,h,l;function v(){g(),D(),E()}function S(){a(q,y),a(q,v),a(Q,E),c(document,$r+" keydown",function(A){l=A.type==="keydown"},{capture:!0}),c(i,"focusin",function(){lt(i,Hr,!!l)})}function y(A){var I=Ye.concat("style");ht(f),vt(i,s),vt(d,m),ut([d,h],I),ut(i,A?I:["style",Xt])}function E(){vt(i,s),vt(d,m),s=P(Ce),m=P(dr),ot(i,s),ot(d,m),k(i,et,e.label),k(i,Ue,e.labelledby)}function g(){d=R("."+dr),h=Jt(d,"."+xn),kt(d&&h,"A track/list element is missing."),ae(f,Sr(h,"."+ye+":not(."+Fr+")")),Tt({arrows:Xe,pagination:Ae,prev:kr,next:Gr,bar:kn,toggle:Ke},function(A,I){o[I]=R("."+A)}),Ht(o,{root:i,track:d,list:h,slides:f})}function D(){var A=i.id||En(Qt),I=e.role;i.id=A,d.id=d.id||A+"-track",h.id=h.id||A+"-list",!at(i,dt)&&i.tagName!=="SECTION"&&I&&k(i,dt,I),k(i,Xt,u.carousel),k(h,dt,"presentation")}function R(A){var I=pr(i,A);return I&&Un(I,"."+Ce)===i?I:void 0}function P(A){return[A+"--"+e.type,A+"--"+e.direction,e.drag&&A+"--draggable",e.isNavigation&&A+"--nav",A===Ce&&Lt]}return Ht(o,{setup:v,mount:S,destroy:y})}var Pt="slide",Mt="loop",re="fade";function Xn(t,r,e,n){var a=X(t),c=a.on,i=a.emit,u=a.bind,o=t.Components,f=t.root,s=t.options,m=s.isNavigation,d=s.updateOnMove,h=s.i18n,l=s.pagination,v=s.slideFocus,S=o.Direction.resolve,y=at(n,"style"),E=at(n,et),g=e>-1,D=Jt(n,"."+Mn),R;function P(){g||(n.id=f.id+"-slide"+We(r+1),k(n,dt,l?"tabpanel":"group"),k(n,Xt,h.slide),k(n,et,E||Ne(h.slideLabel,[r+1,t.length]))),A()}function A(){u(n,"click",U(i,Lr,x)),u(n,"keydown",U(i,Dr,x)),c([te,Nr,xt],T),c(Rr,G),d&&c(yt,N)}function I(){R=!0,a.destroy(),vt(n,Bn),ut(n,Ye),k(n,"style",y),k(n,et,E||"")}function G(){var w=t.splides.map(function(_){var O=_.splide.Components.Slides.getAt(r);return O?O.slide.id:""}).join(" ");k(n,et,Ne(h.slideX,(g?e:r)+1)),k(n,ee,w),k(n,dt,v?"button":""),v&&ut(n,Xt)}function N(){R||T()}function T(){if(!R){var w=t.index;b(),L(),lt(n,Wr,r===w-1),lt(n,Br,r===w+1)}}function b(){var w=V();w!==ar(n,Lt)&&(lt(n,Lt,w),k(n,xr,m&&w||""),i(w?mn:yn,x))}function L(){var w=W(),_=!w&&(!V()||g);if(t.state.is([Vt,Kt])||k(n,Mr,_||""),k(Ge(n,s.focusableNodes||""),Dt,_?-1:""),v&&k(n,Dt,_?-1:0),w!==ar(n,Pe)&&(lt(n,Pe,w),i(w?Sn:An,x)),!w&&document.activeElement===n){var O=o.Slides.getAt(t.index);O&&Ar(O.slide)}}function M(w,_,O){it(O&&D||n,w,_)}function V(){var w=t.index;return w===r||s.cloneStatus&&w===e}function W(){if(t.is(re))return V();var w=tt(o.Elements.track),_=tt(n),O=S("left",!0),z=S("right",!0);return fe(w[O])<=$t(_[O])&&fe(_[z])<=$t(w[z])}function B(w,_){var O=J(w-r);return!g&&(s.rewind||t.is(Mt))&&(O=mt(O,t.length-O)),O<=_}var x={index:r,slideIndex:e,slide:n,container:D,isClone:g,mount:P,destroy:I,update:T,style:M,isWithin:B};return x}function Kn(t,r,e){var n=X(t),a=n.on,c=n.emit,i=n.bind,u=r.Elements,o=u.slides,f=u.list,s=[];function m(){d(),a(q,h),a(q,d)}function d(){o.forEach(function(T,b){v(T,b,-1)})}function h(){R(function(T){T.destroy()}),ht(s)}function l(){R(function(T){T.update()})}function v(T,b,L){var M=Xn(t,b,L,T);M.mount(),s.push(M),s.sort(function(V,W){return V.index-W.index})}function S(T){return T?P(function(b){return!b.isClone}):s}function y(T){var b=r.Controller,L=b.toIndex(T),M=b.hasFocus()?1:e.perPage;return P(function(V){return se(V.index,L,L+M-1)})}function E(T){return P(T)[0]}function g(T,b){rt(T,function(L){if(Et(L)&&(L=_r(L)),yr(L)){var M=o[b];M?ke(L,M):jt(f,L),ot(L,e.classes.slide),I(L,U(c,Yt))}}),c(q)}function D(T){bt(P(T).map(function(b){return b.slide})),c(q)}function R(T,b){S(b).forEach(T)}function P(T){return s.filter(mr(T)?T:function(b){return Et(T)?Wt(b.slide,T):Fe(Zt(T),b.index)})}function A(T,b,L){R(function(M){M.style(T,b,L)})}function I(T,b){var L=Ge(T,"img"),M=L.length;M?L.forEach(function(V){i(V,"load error",function(){--M||b()})}):b()}function G(T){return T?o.length:s.length}function N(){return s.length>e.perPage}return{mount:m,destroy:h,update:l,register:v,get:S,getIn:y,getAt:E,add:g,remove:D,forEach:R,filter:P,style:A,getLength:G,isEnough:N}}function qn(t,r,e){var n=X(t),a=n.on,c=n.bind,i=n.emit,u=r.Slides,o=r.Direction.resolve,f=r.Elements,s=f.root,m=f.track,d=f.list,h=u.getAt,l=u.style,v,S,y;function E(){g(),c(window,"resize load",Dn(U(i,Yt))),a([Q,q],g),a(Yt,D)}function g(){v=e.direction===me,it(s,"maxWidth",pt(e.width)),it(m,o("paddingLeft"),R(!1)),it(m,o("paddingRight"),R(!0)),D(!0)}function D(x){var w=tt(s);(x||S.width!==w.width||S.height!==w.height)&&(it(m,"height",P()),l(o("marginRight"),pt(e.gap)),l("width",I()),l("height",G(),!0),S=w,i(Be),y!==(y=B())&&(lt(s,Ur,y),i(bn,y)))}function R(x){var w=e.padding,_=o(x?"right":"left");return w&&pt(w[_]||(zt(w)?0:w))||"0px"}function P(){var x="";return v&&(x=A(),kt(x,"height or heightRatio is missing."),x="calc("+x+" - "+R(!1)+" - "+R(!0)+")"),x}function A(){return pt(e.height||tt(d).width*e.heightRatio)}function I(){return e.autoWidth?null:pt(e.fixedWidth)||(v?"":N())}function G(){return pt(e.fixedHeight)||(v?e.autoHeight?null:N():A())}function N(){var x=pt(e.gap);return"calc((100%"+(x&&" + "+x)+")/"+(e.perPage||1)+(x&&" - "+x)+")"}function T(){return tt(d)[o("width")]}function b(x,w){var _=h(x||0);return _?tt(_.slide)[o("width")]+(w?0:V()):0}function L(x,w){var _=h(x);if(_){var O=tt(_.slide)[o("right")],z=tt(d)[o("left")];return J(O-z)+(w?0:V())}return 0}function M(x){return L(t.length-1)-L(0)+b(0,x)}function V(){var x=h(0);return x&&parseFloat(it(x.slide,o("marginRight")))||0}function W(x){return parseFloat(it(m,o("padding"+(x?"Right":"Left"))))||0}function B(){return t.is(re)||M(!0)>T()}return{mount:E,resize:D,listSize:T,slideSize:b,sliderSize:M,totalSize:L,getPadding:W,isOverflow:B}}var Zn=2;function jn(t,r,e){var n=X(t),a=n.on,c=r.Elements,i=r.Slides,u=r.Direction.resolve,o=[],f;function s(){a(q,m),a([Q,Yt],h),(f=S())&&(l(f),r.Layout.resize(!0))}function m(){d(),s()}function d(){bt(o),ht(o),n.destroy()}function h(){var y=S();f!==y&&(f<y||!y)&&n.emit(q)}function l(y){var E=i.get().slice(),g=E.length;if(g){for(;E.length<y;)ae(E,E);ae(E.slice(-y),E.slice(0,y)).forEach(function(D,R){var P=R<y,A=v(D.slide,R);P?ke(A,E[0].slide):jt(c.list,A),ae(o,A),i.register(A,R-y+(P?0:g),D.index)})}}function v(y,E){var g=y.cloneNode(!0);return ot(g,e.classes.clone),g.id=t.root.id+"-clone"+We(E+1),g}function S(){var y=e.clones;if(!t.is(Mt))y=0;else if(qt(y)){var E=e[u("fixedWidth")]&&r.Layout.slideSize(0),g=E&&$t(tt(c.track)[u("width")]/E);y=g||e[u("autoWidth")]&&t.length||e.perPage*Zn}return y}return{mount:s,destroy:d}}function Jn(t,r,e){var n=X(t),a=n.on,c=n.emit,i=t.state.set,u=r.Layout,o=u.slideSize,f=u.getPadding,s=u.totalSize,m=u.listSize,d=u.sliderSize,h=r.Direction,l=h.resolve,v=h.orient,S=r.Elements,y=S.list,E=S.track,g;function D(){g=r.Transition,a([Ct,Be,Q,q],R)}function R(){r.Controller.isBusy()||(r.Scroll.cancel(),A(t.index),r.Slides.update())}function P(_,O,z,F){_!==O&&x(_>z)&&(T(),I(N(M(),_>z),!0)),i(Vt),c(yt,O,z,_),g.start(O,function(){i(Nt),c(te,O,z,_),F&&F()})}function A(_){I(L(_,!0))}function I(_,O){if(!t.is(re)){var z=O?_:G(_);it(y,"transform","translate"+l("X")+"("+z+"px)"),_!==z&&c(Nr)}}function G(_){if(t.is(Mt)){var O=b(_),z=O>r.Controller.getEnd(),F=O<0;(F||z)&&(_=N(_,z))}return _}function N(_,O){var z=_-B(O),F=d();return _-=v(F*($t(J(z)/F)||1))*(O?1:-1),_}function T(){I(M(),!0),g.cancel()}function b(_){for(var O=r.Slides.get(),z=0,F=1/0,$=0;$<O.length;$++){var nt=O[$].index,p=J(L(nt,!0)-_);if(p<=F)F=p,z=nt;else break}return z}function L(_,O){var z=v(s(_-1)-W(_));return O?V(z):z}function M(){var _=l("left");return tt(y)[_]-tt(E)[_]+v(f(!1))}function V(_){return e.trimSpace&&t.is(Pt)&&(_=Rt(_,0,v(d(!0)-m()))),_}function W(_){var O=e.focus;return O==="center"?(m()-o(_,!0))/2:+O*o(_)||0}function B(_){return L(_?r.Controller.getEnd():0,!!e.trimSpace)}function x(_){var O=v(N(M(),_));return _?O>=0:O<=y[l("scrollWidth")]-tt(E)[l("width")]}function w(_,O){O=qt(O)?M():O;var z=_!==!0&&v(O)<v(B(!1)),F=_!==!1&&v(O)>v(B(!0));return z||F}return{mount:D,move:P,jump:A,translate:I,shift:N,cancel:T,toIndex:b,toPosition:L,getPosition:M,getLimit:B,exceededLimit:w,reposition:R}}function Qn(t,r,e){var n=X(t),a=n.on,c=n.emit,i=r.Move,u=i.getPosition,o=i.getLimit,f=i.toPosition,s=r.Slides,m=s.isEnough,d=s.getLength,h=e.omitEnd,l=t.is(Mt),v=t.is(Pt),S=U(M,!1),y=U(M,!0),E=e.start||0,g,D=E,R,P,A;function I(){G(),a([Q,q,le],G),a(Be,N)}function G(){R=d(!0),P=e.perMove,A=e.perPage,g=x();var p=Rt(E,0,h?g:R-1);p!==E&&(E=p,i.reposition())}function N(){g!==x()&&c(le)}function T(p,H,j){if(!nt()){var K=L(p),Z=B(K);Z>-1&&(H||Z!==E)&&(z(Z),i.move(K,Z,D,j))}}function b(p,H,j,K){r.Scroll.scroll(p,H,j,function(){var Z=B(i.toIndex(u()));z(h?mt(Z,g):Z),K&&K()})}function L(p){var H=E;if(Et(p)){var j=p.match(/([+\-<>])(\d+)?/)||[],K=j[1],Z=j[2];K==="+"||K==="-"?H=V(E+ +(""+K+(+Z||1)),E):K===">"?H=Z?w(+Z):S(!0):K==="<"&&(H=y(!0))}else H=l?p:Rt(p,0,g);return H}function M(p,H){var j=P||($()?1:A),K=V(E+j*(p?-1:1),E,!(P||$()));return K===-1&&v&&!Tr(u(),o(!p),1)?p?0:g:H?K:B(K)}function V(p,H,j){if(m()||$()){var K=W(p);K!==p&&(H=p,p=K,j=!1),p<0||p>g?!P&&(se(0,p,H,!0)||se(g,H,p,!0))?p=w(_(p)):l?p=j?p<0?-(R%A||A):R:p:e.rewind?p=p<0?g:0:p=-1:j&&p!==H&&(p=w(_(H)+(p<H?-1:1)))}else p=-1;return p}function W(p){if(v&&e.trimSpace==="move"&&p!==E)for(var H=u();H===f(p,!0)&&se(p,0,t.length-1,!e.rewind);)p<E?--p:++p;return p}function B(p){return l?(p+R)%R||0:p}function x(){for(var p=R-($()||l&&P?1:A);h&&p-- >0;)if(f(R-1,!0)!==f(p,!0)){p++;break}return Rt(p,0,R-1)}function w(p){return Rt($()?p:A*p,0,g)}function _(p){return $()?mt(p,g):fe((p>=g?R-1:p)/A)}function O(p){var H=i.toIndex(p);return v?Rt(H,0,g):H}function z(p){p!==E&&(D=E,E=p)}function F(p){return p?D:E}function $(){return!qt(e.focus)||e.isNavigation}function nt(){return t.state.is([Vt,Kt])&&!!e.waitForTransition}return{mount:I,go:T,scroll:b,getNext:S,getPrev:y,getAdjacent:M,getEnd:x,setIndex:z,getIndex:F,toIndex:w,toPage:_,toDest:O,hasFocus:$,isBusy:nt}}var ti="http://www.w3.org/2000/svg",ei="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",ne=40;function ri(t,r,e){var n=X(t),a=n.on,c=n.bind,i=n.emit,u=e.classes,o=e.i18n,f=r.Elements,s=r.Controller,m=f.arrows,d=f.track,h=m,l=f.prev,v=f.next,S,y,E={};function g(){R(),a(Q,D)}function D(){P(),g()}function R(){var b=e.arrows;b&&!(l&&v)&&G(),l&&v&&(Ht(E,{prev:l,next:v}),Ut(h,b?"":"none"),ot(h,y=Xe+"--"+e.direction),b&&(A(),T(),k([l,v],ee,d.id),i(Ln,l,v)))}function P(){n.destroy(),vt(h,y),S?(bt(m?[l,v]:h),l=v=null):ut([l,v],Ye)}function A(){a([Ct,te,q,xt,le],T),c(v,"click",U(I,">")),c(l,"click",U(I,"<"))}function I(b){s.go(b,!0)}function G(){h=m||wt("div",u.arrows),l=N(!0),v=N(!1),S=!0,jt(h,[l,v]),!m&&ke(h,d)}function N(b){var L='<button class="'+u.arrow+" "+(b?u.prev:u.next)+'" type="button"><svg xmlns="'+ti+'" viewBox="0 0 '+ne+" "+ne+'" width="'+ne+'" height="'+ne+'" focusable="false"><path d="'+(e.arrowPath||ei)+'" />';return _r(L)}function T(){if(l&&v){var b=t.index,L=s.getPrev(),M=s.getNext(),V=L>-1&&b<L?o.last:o.prev,W=M>-1&&b>M?o.first:o.next;l.disabled=L<0,v.disabled=M<0,k(l,et,V),k(v,et,W),i(Cn,l,v,L,M)}}return{arrows:E,mount:g,destroy:P,update:T}}var ni=ze+"-interval";function ii(t,r,e){var n=X(t),a=n.on,c=n.bind,i=n.emit,u=de(e.interval,t.go.bind(t,">"),A),o=u.isPaused,f=r.Elements,s=r.Elements,m=s.root,d=s.toggle,h=e.autoplay,l,v,S=h==="pause";function y(){h&&(E(),d&&k(d,ee,f.track.id),S||g(),P())}function E(){e.pauseOnHover&&c(m,"mouseenter mouseleave",function(G){l=G.type==="mouseenter",R()}),e.pauseOnFocus&&c(m,"focusin focusout",function(G){v=G.type==="focusin",R()}),d&&c(d,"click",function(){S?g():D(!0)}),a([yt,He,q],u.rewind),a(yt,I)}function g(){o()&&r.Slides.isEnough()&&(u.start(!e.resetProgress),v=l=S=!1,P(),i(Ir))}function D(G){G===void 0&&(G=!0),S=!!G,P(),o()||(u.pause(),i(Or))}function R(){S||(l||v?D(!1):g())}function P(){d&&(lt(d,Lt,!S),k(d,et,e.i18n[S?"play":"pause"]))}function A(G){var N=f.bar;N&&it(N,"width",G*100+"%"),i(On,G)}function I(G){var N=r.Slides.getAt(G);u.set(N&&+at(N.slide,ni)||e.interval)}return{mount:y,destroy:u.cancel,play:g,pause:D,isPaused:o}}function ai(t,r,e){var n=X(t),a=n.on;function c(){e.cover&&(a(wr,U(u,!0)),a([Ct,Q,q],U(i,!0)))}function i(o){r.Slides.forEach(function(f){var s=Jt(f.container||f.slide,"img");s&&s.src&&u(o,s,f)})}function u(o,f,s){s.style("background",o?'center/cover no-repeat url("'+f.src+'")':"",!0),Ut(f,o?"none":"")}return{mount:c,destroy:U(i,!1)}}var si=10,oi=600,ui=.6,ci=1.5,fi=800;function li(t,r,e){var n=X(t),a=n.on,c=n.emit,i=t.state.set,u=r.Move,o=u.getPosition,f=u.getLimit,s=u.exceededLimit,m=u.translate,d=t.is(Pt),h,l,v=1;function S(){a(yt,D),a([Q,q],R)}function y(A,I,G,N,T){var b=o();if(D(),G&&(!d||!s())){var L=r.Layout.sliderSize(),M=De(A)*L*fe(J(A)/L)||0;A=u.toPosition(r.Controller.toDest(A%L))+M}var V=Tr(b,A,1);v=1,I=V?0:I||ce(J(A-b)/ci,fi),l=N,h=de(I,E,U(g,b,A,T),1),i(Kt),c(He),h.start()}function E(){i(Nt),l&&l(),c(xt)}function g(A,I,G,N){var T=o(),b=A+(I-A)*P(N),L=(b-T)*v;m(T+L),d&&!G&&s()&&(v*=ui,J(L)<si&&y(f(s(!0)),oi,!1,l,!0))}function D(){h&&h.cancel()}function R(){h&&!h.isPaused()&&(D(),E())}function P(A){var I=e.easingFunc;return I?I(A):1-Math.pow(1-A,4)}return{mount:S,destroy:D,scroll:y,cancel:R}}var It={passive:!1,capture:!0};function vi(t,r,e){var n=X(t),a=n.on,c=n.emit,i=n.bind,u=n.unbind,o=t.state,f=r.Move,s=r.Scroll,m=r.Controller,d=r.Elements.track,h=r.Media.reduce,l=r.Direction,v=l.resolve,S=l.orient,y=f.getPosition,E=f.exceededLimit,g,D,R,P,A,I=!1,G,N,T;function b(){i(d,Re,Oe,It),i(d,Ie,Oe,It),i(d,$r,M,It),i(d,"click",B,{capture:!0}),i(d,"dragstart",ft),a([Ct,Q],L)}function L(){var C=e.drag;tr(!C),P=C==="free"}function M(C){if(G=!1,!N){var Y=Z(C);K(C.target)&&(Y||!C.button)&&(m.isBusy()?ft(C,!0):(T=Y?d:window,A=o.is([Vt,Kt]),R=null,i(T,Re,V,It),i(T,Ie,W,It),f.cancel(),s.cancel(),x(C)))}}function V(C){if(o.is(ie)||(o.set(ie),c(_n)),C.cancelable)if(A){f.translate(g+j($(C)));var Y=nt(C)>hr,_t=I!==(I=E());(Y||_t)&&x(C),G=!0,c(pn),ft(C)}else O(C)&&(A=_(C),ft(C))}function W(C){o.is(ie)&&(o.set(Nt),c(Tn)),A&&(w(C),ft(C)),u(T,Re,V),u(T,Ie,W),A=!1}function B(C){!N&&G&&ft(C,!0)}function x(C){R=D,D=C,g=y()}function w(C){var Y=z(C),_t=F(Y),Ft=e.rewind&&e.rewindByDrag;h(!1),P?m.scroll(_t,0,e.snap):t.is(re)?m.go(S(De(Y))<0?Ft?"<":"-":Ft?">":"+"):t.is(Pt)&&I&&Ft?m.go(E(!0)?">":"<"):m.go(m.toDest(_t),!0),h(!0)}function _(C){var Y=e.dragMinThreshold,_t=zt(Y),Ft=_t&&Y.mouse||0,vn=(_t?Y.touch:+Y)||10;return J($(C))>(Z(C)?vn:Ft)}function O(C){return J($(C))>J($(C,!0))}function z(C){if(t.is(Mt)||!I){var Y=nt(C);if(Y&&Y<hr)return $(C)/Y}return 0}function F(C){return y()+De(C)*mt(J(C)*(e.flickPower||600),P?1/0:r.Layout.listSize()*(e.flickMaxPages||1))}function $(C,Y){return H(C,Y)-H(p(C),Y)}function nt(C){return we(C)-we(p(C))}function p(C){return D===C&&R||D}function H(C,Y){return(Z(C)?C.changedTouches[0]:C)["page"+v(Y?"Y":"X")]}function j(C){return C/(I&&t.is(Pt)?$n:1)}function K(C){var Y=e.noDrag;return!Wt(C,"."+zr+", ."+Se)&&(!Y||!Wt(C,Y))}function Z(C){return typeof TouchEvent<"u"&&C instanceof TouchEvent}function ln(){return A}function tr(C){N=C}return{mount:b,disable:tr,isDragging:ln}}var di={Spacebar:" ",Right:Ee,Left:ge,Up:Pr,Down:Vr};function qe(t){return t=Et(t)?t:t.key,di[t]||t}var gr="keydown";function hi(t,r,e){var n=X(t),a=n.on,c=n.bind,i=n.unbind,u=t.root,o=r.Direction.resolve,f,s;function m(){d(),a(Q,h),a(Q,d),a(yt,v)}function d(){var y=e.keyboard;y&&(f=y==="global"?window:u,c(f,gr,S))}function h(){i(f,gr)}function l(y){s=y}function v(){var y=s;s=!0,Er(function(){s=y})}function S(y){if(!s){var E=qe(y);E===o(ge)?t.go("<"):E===o(Ee)&&t.go(">")}}return{mount:m,destroy:h,disable:l}}var Gt=ze+"-lazy",oe=Gt+"-srcset",gi="["+Gt+"], ["+oe+"]";function Ei(t,r,e){var n=X(t),a=n.on,c=n.off,i=n.bind,u=n.emit,o=e.lazyLoad==="sequential",f=[te,xt],s=[];function m(){e.lazyLoad&&(d(),a(q,d))}function d(){ht(s),h(),o?y():(c(f),a(f,l),l())}function h(){r.Slides.forEach(function(E){Ge(E.slide,gi).forEach(function(g){var D=at(g,Gt),R=at(g,oe);if(D!==g.src||R!==g.srcset){var P=e.classes.spinner,A=g.parentElement,I=Jt(A,"."+P)||wt("span",P,A);s.push([g,E,I]),g.src||Ut(g,"none")}})})}function l(){s=s.filter(function(E){var g=e.perPage*((e.preloadPages||1)+1)-1;return E[1].isWithin(t.index,g)?v(E):!0}),s.length||c(f)}function v(E){var g=E[0];ot(E[1].slide,Ve),i(g,"load error",U(S,E)),k(g,"src",at(g,Gt)),k(g,"srcset",at(g,oe)),ut(g,Gt),ut(g,oe)}function S(E,g){var D=E[0],R=E[1];vt(R.slide,Ve),g.type!=="error"&&(bt(E[2]),Ut(D,""),u(wr,D,R),u(Yt)),o&&y()}function y(){s.length&&v(s.shift())}return{mount:m,destroy:U(ht,s),check:l}}function mi(t,r,e){var n=X(t),a=n.on,c=n.emit,i=n.bind,u=r.Slides,o=r.Elements,f=r.Controller,s=f.hasFocus,m=f.getIndex,d=f.go,h=r.Direction.resolve,l=o.pagination,v=[],S,y;function E(){g(),a([Q,q,le],E);var N=e.pagination;l&&Ut(l,N?"":"none"),N&&(a([yt,He,xt],G),D(),G(),c(Rn,{list:S,items:v},I(t.index)))}function g(){S&&(bt(l?St(S.children):S),vt(S,y),ht(v),S=null),n.destroy()}function D(){var N=t.length,T=e.classes,b=e.i18n,L=e.perPage,M=s()?f.getEnd()+1:$t(N/L);S=l||wt("ul",T.pagination,o.track.parentElement),ot(S,y=Ae+"--"+A()),k(S,dt,"tablist"),k(S,et,b.select),k(S,$e,A()===me?"vertical":"");for(var V=0;V<M;V++){var W=wt("li",null,S),B=wt("button",{class:T.page,type:"button"},W),x=u.getIn(V).map(function(_){return _.slide.id}),w=!s()&&L>1?b.pageX:b.slideX;i(B,"click",U(R,V)),e.paginationKeyboard&&i(B,"keydown",U(P,V)),k(W,dt,"presentation"),k(B,dt,"tab"),k(B,ee,x.join(" ")),k(B,et,Ne(w,V+1)),k(B,Dt,-1),v.push({li:W,button:B,page:V})}}function R(N){d(">"+N,!0)}function P(N,T){var b=v.length,L=qe(T),M=A(),V=-1;L===h(Ee,!1,M)?V=++N%b:L===h(ge,!1,M)?V=(--N+b)%b:L==="Home"?V=0:L==="End"&&(V=b-1);var W=v[V];W&&(Ar(W.button),d(">"+V),ft(T,!0))}function A(){return e.paginationDirection||e.direction}function I(N){return v[f.toPage(N)]}function G(){var N=I(m(!0)),T=I(m());if(N){var b=N.button;vt(b,Lt),ut(b,cr),k(b,Dt,-1)}if(T){var L=T.button;ot(L,Lt),k(L,cr,!0),k(L,Dt,"")}c(In,{list:S,items:v},N,T)}return{items:v,mount:E,destroy:g,getAt:I,update:G}}var yi=[" ","Enter"];function Si(t,r,e){var n=e.isNavigation,a=e.slideFocus,c=[];function i(){t.splides.forEach(function(l){l.isParent||(f(t,l.splide),f(l.splide,t))}),n&&s()}function u(){c.forEach(function(l){l.destroy()}),ht(c)}function o(){u(),i()}function f(l,v){var S=X(l);S.on(yt,function(y,E,g){v.go(v.is(Mt)?g:y)}),c.push(S)}function s(){var l=X(t),v=l.on;v(Lr,d),v(Dr,h),v([Ct,Q],m),c.push(l),l.emit(Rr,t.splides)}function m(){k(r.Elements.list,$e,e.direction===me?"vertical":"")}function d(l){t.go(l.index)}function h(l,v){Fe(yi,qe(v))&&(d(l),ft(v))}return{setup:U(r.Media.set,{slideFocus:qt(a)?n:a},!0),mount:i,destroy:u,remount:o}}function Ai(t,r,e){var n=X(t),a=n.bind,c=0;function i(){e.wheel&&a(r.Elements.track,"wheel",u,It)}function u(f){if(f.cancelable){var s=f.deltaY,m=s<0,d=we(f),h=e.wheelMinThreshold||0,l=e.wheelSleep||0;J(s)>h&&d-c>l&&(t.go(m?"<":">"),c=d),o(m)&&ft(f)}}function o(f){return!e.releaseWheel||t.state.is(Vt)||r.Controller.getAdjacent(f)!==-1}return{mount:i}}var _i=90;function pi(t,r,e){var n=X(t),a=n.on,c=r.Elements.track,i=e.live&&!e.isNavigation,u=wt("span",zn),o=de(_i,U(s,!1));function f(){i&&(d(!r.Autoplay.isPaused()),k(c,vr,!0),u.textContent="\u2026",a(Ir,U(d,!0)),a(Or,U(d,!1)),a([te,xt],U(s,!0)))}function s(h){k(c,lr,h),h?(jt(c,u),o.start()):(bt(u),o.cancel())}function m(){ut(c,[fr,vr,lr]),bt(u)}function d(h){i&&k(c,fr,h?"off":"polite")}return{mount:f,disable:d,destroy:m}}var Ti=Object.freeze({__proto__:null,Media:Nn,Direction:Pn,Elements:Yn,Slides:Kn,Layout:qn,Clones:jn,Move:Jn,Controller:Qn,Arrows:ri,Autoplay:ii,Cover:ai,Scroll:li,Drag:vi,Keyboard:hi,LazyLoad:Ei,Pagination:mi,Sync:Si,Wheel:Ai,Live:pi}),bi={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},Li={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Hn,i18n:bi,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ci(t,r,e){var n=r.Slides;function a(){X(t).on([Ct,q],c)}function c(){n.forEach(function(u){u.style("transform","translateX(-"+100*u.index+"%)")})}function i(u,o){n.style("transition","opacity "+e.speed+"ms "+e.easing),Er(o)}return{mount:a,start:i,cancel:Oe}}function Ri(t,r,e){var n=r.Move,a=r.Controller,c=r.Scroll,i=r.Elements.list,u=U(it,i,"transition"),o;function f(){X(t).bind(i,"transitionend",function(h){h.target===i&&o&&(m(),o())})}function s(h,l){var v=n.toPosition(h,!0),S=n.getPosition(),y=d(h);J(v-S)>=1&&y>=1?e.useScroll?c.scroll(v,y,!1,l):(u("transform "+y+"ms "+e.easing),n.translate(v,!0),o=l):(n.jump(h),l())}function m(){u(""),c.cancel()}function d(h){var l=e.rewindSpeed;if(t.is(Pt)&&l){var v=a.getIndex(!0),S=a.getEnd();if(v===0&&h>=S||v>=S&&h===0)return l}return e.speed}return{mount:f,start:s,cancel:m}}var Ii=function(){function t(e,n){this.event=X(),this.Components={},this.state=wn(Ot),this.splides=[],this._o={},this._E={};var a=Et(e)?pr(document,e):e;kt(a,a+" is invalid."),this.root=a,n=gt({label:at(a,et)||"",labelledby:at(a,Ue)||""},Li,t.defaults,n||{});try{gt(n,JSON.parse(at(a,ze)))}catch{kt(!1,"Invalid JSON")}this._o=Object.create(gt({},n))}var r=t.prototype;return r.mount=function(n,a){var c=this,i=this.state,u=this.Components;kt(i.is([Ot,ue]),"Already mounted!"),i.set(Ot),this._C=u,this._T=a||this._T||(this.is(re)?Ci:Ri),this._E=n||this._E;var o=Ht({},Ti,this._E,{Transition:this._T});return Tt(o,function(f,s){var m=f(c,u,c._o);u[s]=m,m.setup&&m.setup()}),Tt(u,function(f){f.mount&&f.mount()}),this.emit(Ct),ot(this.root,Wn),i.set(Nt),this.emit(or),this},r.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(Nt)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},r.go=function(n){return this._C.Controller.go(n),this},r.on=function(n,a){return this.event.on(n,a),this},r.off=function(n){return this.event.off(n),this},r.emit=function(n){var a;return(a=this.event).emit.apply(a,[n].concat(St(arguments,1))),this},r.add=function(n,a){return this._C.Slides.add(n,a),this},r.remove=function(n){return this._C.Slides.remove(n),this},r.is=function(n){return this._o.type===n},r.refresh=function(){return this.emit(q),this},r.destroy=function(n){n===void 0&&(n=!0);var a=this.event,c=this.state;return c.is(Ot)?X(this).on(or,this.destroy.bind(this,n)):(Tt(this._C,function(i){i.destroy&&i.destroy(n)},!0),a.emit(Cr),a.destroy(),n&&ht(this.splides),c.set(ue)),this},dn(t,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),t}(),_e=Ii;_e.defaults={};_e.STATES=gn;function Oi(t){t.length=0}function je(t,r,e){return Array.prototype.slice.call(t,r,e)}function Te(t){return t.bind.apply(t,[null].concat(je(arguments,1)))}function Yr(t){return requestAnimationFrame(t)}function Je(t,r){return typeof r===t}var rn=Array.isArray;Te(Je,"function");Te(Je,"string");Te(Je,"undefined");function nn(t){return rn(t)?t:[t]}function Xr(t,r){nn(t).forEach(r)}var wi=Object.keys;function Di(t,r,e){if(t){var n=wi(t);n=e?n.reverse():n;for(var a=0;a<n.length;a++){var c=n[a];if(c!=="__proto__"&&r(t[c],c)===!1)break}}return t}function Ni(t){return je(arguments,1).forEach(function(r){Di(r,function(e,n){t[n]=r[n]})}),t}var Pi=Math.min;function Vi(){var t=[];function r(i,u,o,f){a(i,u,function(s,m,d){var h="addEventListener"in s,l=h?s.removeEventListener.bind(s,m,o,f):s.removeListener.bind(s,o);h?s.addEventListener(m,o,f):s.addListener(o),t.push([s,m,d,o,l])})}function e(i,u,o){a(i,u,function(f,s,m){t=t.filter(function(d){return d[0]===f&&d[1]===s&&d[2]===m&&(!o||d[3]===o)?(d[4](),!1):!0})})}function n(i,u,o){var f,s=!0;return typeof CustomEvent=="function"?f=new CustomEvent(u,{bubbles:s,detail:o}):(f=document.createEvent("CustomEvent"),f.initCustomEvent(u,s,!1,o)),i.dispatchEvent(f),f}function a(i,u,o){Xr(i,function(f){f&&Xr(u,function(s){s.split(" ").forEach(function(m){var d=m.split(".");o(f,d[0],d[1])})})})}function c(){t.forEach(function(i){i[4]()}),Oi(t)}return{bind:r,unbind:e,dispatch:n,destroy:c}}var Kr="move",qr="moved",xi="updated",Zr="drag",Mi="dragged",jr="scroll",Jr="scrolled",Fi="destroy";function ki(t){var r=t?t.event.bus:document.createDocumentFragment(),e=Vi();function n(c,i){e.bind(r,nn(c).join(" "),function(u){i.apply(i,rn(u.detail)?u.detail:[])})}function a(c){e.dispatch(r,c,je(arguments,1))}return t&&t.event.on(Fi,e.destroy),Ni(e,{bus:r,on:n,off:Te(e.unbind,r),emit:a})}function an(t,r,e,n){var a=Date.now,c,i=0,u,o=!0,f=0;function s(){if(!o){if(i=t?Pi((a()-c)/t,1):1,e&&e(i),i>=1&&(r(),c=a(),n&&++f>=n))return d();Yr(s)}}function m(y){!y&&l(),c=a()-(y?i*t:0),o=!1,Yr(s)}function d(){o=!0}function h(){c=a(),i=0,e&&e(i)}function l(){u&&cancelAnimationFrame(u),i=0,u=0,o=!0}function v(y){t=y}function S(){return o}return{start:m,rewind:h,pause:d,cancel:l,set:v,isPaused:S}}function Gi(t,r){var e;function n(){e||(e=an(r||0,function(){t(),e=null},null,1),e.start())}return n}var zi="is-active",Wi="slide",Bi="fade";function sn(t,r,e){return Array.prototype.slice.call(t,r,e)}function Qe(t){return t.bind(null,...sn(arguments,1))}function be(t,r){return typeof r===t}function Ze(t){return!on(t)&&be("object",t)}var Hi=Array.isArray;Qe(be,"function");Qe(be,"string");var Ui=Qe(be,"undefined");function on(t){return t===null}function $i(t){return Hi(t)?t:[t]}function pe(t,r){$i(t).forEach(r)}function Yi(t,r,e){t&&pe(r,n=>{n&&t.classList[e?"add":"remove"](n)})}var Xi=Object.keys;function un(t,r,e){if(t){let n=Xi(t);n=e?n.reverse():n;for(let a=0;a<n.length;a++){let c=n[a];if(c!=="__proto__"&&r(t[c],c)===!1)break}}return t}function Qr(t){return sn(arguments,1).forEach(r=>{un(r,(e,n)=>{t[n]=r[n]})}),t}function Ki(t,r){pe(t,e=>{pe(r,n=>{e&&e.removeAttribute(n)})})}function cn(t,r,e){Ze(r)?un(r,(n,a)=>{cn(t,a,n)}):pe(t,n=>{on(e)||e===""?Ki(n,r):n.setAttribute(r,String(e))})}var{min:tn,max:en,floor:ea,ceil:ra,abs:na}=Math;function qi(t,r,e){let n=tn(r,e),a=en(r,e);return tn(en(n,t),a)}var Zi={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},ji={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function fn(t,r,e){let{on:n,off:a,bind:c,unbind:i}=ki(t),{translate:u,getPosition:o,toIndex:f,getLimit:s}=r.Move,{setIndex:m,getIndex:d}=r.Controller,{orient:h}=r.Direction,{toggle:l}=r.Elements,{Live:v}=r,{root:S}=t,y=Gi(r.Arrows.update,500),E={},g,D,R,P,A,I;function G(){let{autoScroll:F}=e;E=Qr({},Zi,Ze(F)?F:{})}function N(){t.is(Bi)||!g&&e.autoScroll!==!1&&(g=an(0,x),b(),M())}function T(){g&&(g.cancel(),g=null,I=void 0,a([Kr,Zr,jr,qr,Jr]),i(S,"mouseenter mouseleave focusin focusout"),i(l,"click"))}function b(){E.pauseOnHover&&c(S,"mouseenter mouseleave",F=>{R=F.type==="mouseenter",B()}),E.pauseOnFocus&&c(S,"focusin focusout",F=>{P=F.type==="focusin",B()}),E.useToggleButton&&c(l,"click",()=>{D?V():W()}),n(xi,L),n([Kr,Zr,jr],()=>{A=!0,W(!1)}),n([qr,Mi,Jr],()=>{A=!1,B()})}function L(){let{autoScroll:F}=e;F!==!1?(E=Qr({},E,Ze(F)?F:{}),N()):T(),g&&!Ui(I)&&u(I)}function M(){E.autoStart&&(document.readyState==="complete"?V():c(window,"load",V))}function V(){z()&&(g.start(!0),v.disable(!0),P=R=D=!1,O())}function W(F=!0){D||(D=F,O(),z()||(g.pause(),v.disable(!1)))}function B(){D||(R||P||A?W(!1):V())}function x(){let F=o(),$=w(F);F!==$?(u($),_(I=o())):(W(!1),E.rewind&&t.go(E.speed>0?0:r.Controller.getEnd())),y()}function w(F){let $=E.speed||1;return F+=h($),t.is(Wi)&&(F=qi(F,s(!1),s(!0))),F}function _(F){let{length:$}=t,nt=(f(F)+$)%$;nt!==d()&&(m(nt),r.Slides.update(),r.Pagination.update(),e.lazyLoad==="nearby"&&r.LazyLoad.check())}function O(){if(l){let F=D?"startScroll":"pauseScroll";Yi(l,zi,!D),cn(l,"aria-label",e.i18n[F]||ji[F])}}function z(){return!g||g.isPaused()}return{setup:G,mount:N,destroy:T,play:V,pause:W,isPaused:z}}document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector("[splide-slider='brands']");t&&new _e(t,{type:"loop",gap:"1rem",perPage:6,autoWidth:!0,drag:"free",arrows:!1,pagination:!1,autoScroll:{speed:.5,pauseOnHover:!1,pauseOnFocus:!1}}).mount({AutoScroll:fn})});})();
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
@splidejs/splide/dist/js/splide.esm.js:
|
|
5
|
+
(*!
|
|
6
|
+
* Splide.js
|
|
7
|
+
* Version : 4.1.4
|
|
8
|
+
* License : MIT
|
|
9
|
+
* Copyright: 2022 Naotoshi Fujita
|
|
10
|
+
*)
|
|
11
|
+
|
|
12
|
+
@splidejs/splide-extension-auto-scroll/dist/js/splide-extension-auto-scroll.esm.js:
|
|
13
|
+
(*!
|
|
14
|
+
* @splidejs/splide-extension-auto-scroll
|
|
15
|
+
* Version : 0.5.3
|
|
16
|
+
* License : MIT
|
|
17
|
+
* Copyright: 2022 Naotoshi Fujita
|
|
18
|
+
*)
|
|
19
|
+
*/
|