cablefyi-embed 1.0.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/LICENSE +21 -0
- package/README.md +158 -0
- package/dist/embed.esm.js +1977 -0
- package/dist/embed.min.js +1055 -0
- package/dist/index.d.ts +27 -0
- package/package.json +44 -0
|
@@ -0,0 +1,1055 @@
|
|
|
1
|
+
/* cablefyi-embed v1.0.0 | MIT | https://widget.cablefyi.com */
|
|
2
|
+
"use strict";(()=>{function J(){return`
|
|
3
|
+
/* Modern: gradient accent header */
|
|
4
|
+
.networkfyi-header {
|
|
5
|
+
background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
|
|
6
|
+
border-radius: 12px 12px 0 0;
|
|
7
|
+
padding: 16px 20px;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
gap: 14px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.networkfyi-header-title {
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
font-weight: 700;
|
|
16
|
+
color: #fff;
|
|
17
|
+
margin: 0 0 4px 0;
|
|
18
|
+
line-height: 1.3;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.networkfyi-header-subtitle {
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
color: rgba(255, 255, 255, 0.8);
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Icon area */
|
|
28
|
+
.networkfyi-img {
|
|
29
|
+
width: 56px;
|
|
30
|
+
height: 56px;
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
object-fit: cover;
|
|
33
|
+
background: rgba(255, 255, 255, 0.15);
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
font-size: 24px;
|
|
40
|
+
color: #fff;
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.networkfyi-img img {
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
|
+
object-fit: cover;
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Body area */
|
|
52
|
+
.networkfyi-body {
|
|
53
|
+
padding: 16px 20px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Key-value rows \u2014 spacious */
|
|
57
|
+
.networkfyi-row {
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
gap: 12px;
|
|
62
|
+
padding: 8px 0;
|
|
63
|
+
border-bottom: 1px solid var(--border);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.networkfyi-row:last-child {
|
|
67
|
+
border-bottom: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.networkfyi-label {
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
color: var(--muted);
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
min-width: 30%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.networkfyi-value {
|
|
80
|
+
font-size: 13px;
|
|
81
|
+
color: var(--text);
|
|
82
|
+
text-align: right;
|
|
83
|
+
word-break: break-word;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Section title */
|
|
87
|
+
.networkfyi-section-title {
|
|
88
|
+
font-size: 11px;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
color: var(--muted);
|
|
91
|
+
text-transform: uppercase;
|
|
92
|
+
letter-spacing: 0.06em;
|
|
93
|
+
margin: 0 0 10px 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Tags \u2014 colored rounded badges */
|
|
97
|
+
.networkfyi-tag {
|
|
98
|
+
display: inline-block;
|
|
99
|
+
font-size: 11px;
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
padding: 3px 10px;
|
|
102
|
+
border-radius: 12px;
|
|
103
|
+
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
|
104
|
+
color: var(--accent);
|
|
105
|
+
margin: 2px 3px 2px 0;
|
|
106
|
+
letter-spacing: 0.02em;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Link */
|
|
110
|
+
.networkfyi-link {
|
|
111
|
+
font-size: 13px;
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
color: var(--link);
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
gap: 4px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.networkfyi-link:hover {
|
|
121
|
+
opacity: 0.8;
|
|
122
|
+
text-decoration: underline;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.networkfyi-link svg {
|
|
126
|
+
width: 12px;
|
|
127
|
+
height: 12px;
|
|
128
|
+
flex-shrink: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Footer link row */
|
|
132
|
+
.networkfyi-footer-link {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: space-between;
|
|
136
|
+
padding: 12px 20px;
|
|
137
|
+
border-top: 1px solid var(--border);
|
|
138
|
+
gap: 8px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
142
|
+
Card shared: stats row (horizontal flex)
|
|
143
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
144
|
+
.networkfyi-stats-row { display:flex; gap:12px; padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
145
|
+
.networkfyi-stat { text-align:center; flex:1; }
|
|
146
|
+
.networkfyi-stat-value { font-size:18px; font-weight:700; color:var(--accent); }
|
|
147
|
+
.networkfyi-stat-label { font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:0.03em; }
|
|
148
|
+
|
|
149
|
+
/* Card shared: stats grid (2x2 boxes) */
|
|
150
|
+
.networkfyi-stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
151
|
+
.networkfyi-stat-box { padding:6px 8px; background:color-mix(in srgb, var(--accent) 8%, var(--bg)); border-radius:8px; }
|
|
152
|
+
.networkfyi-stat-box-label { font-size:9px; color:color-mix(in srgb, var(--accent) 80%, var(--text)); text-transform:uppercase; }
|
|
153
|
+
.networkfyi-stat-box-value { font-size:13px; font-weight:700; color:var(--text); margin-top:1px; }
|
|
154
|
+
|
|
155
|
+
/* Card shared: key-value dotted rows */
|
|
156
|
+
.networkfyi-kv-rows { padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
157
|
+
.networkfyi-kv-row { display:flex; justify-content:space-between; align-items:baseline; padding:4px 0; border-bottom:1px dotted var(--border); }
|
|
158
|
+
.networkfyi-kv-row:last-child { border-bottom:none; }
|
|
159
|
+
.networkfyi-kv-label { font-size:11px; color:var(--muted); }
|
|
160
|
+
.networkfyi-kv-value { font-size:11px; font-weight:600; color:var(--text); }
|
|
161
|
+
|
|
162
|
+
/* Card shared: pill tags */
|
|
163
|
+
.networkfyi-pills { display:flex; flex-wrap:wrap; gap:4px; padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
164
|
+
.networkfyi-pill { padding:2px 8px; border-radius:10px; font-size:11px; font-weight:500; background:color-mix(in srgb, var(--accent) 10%, var(--bg)); color:var(--accent); }
|
|
165
|
+
|
|
166
|
+
/* Card shared: section label */
|
|
167
|
+
.networkfyi-section-label { font-size:10px; text-transform:uppercase; letter-spacing:0.05em; color:var(--accent); font-weight:600; margin-bottom:3px; }
|
|
168
|
+
|
|
169
|
+
/* Card shared: description */
|
|
170
|
+
.networkfyi-desc { padding:10px 18px; font-size:14px; color:var(--muted); line-height:1.5; border-bottom:1px solid var(--border); }
|
|
171
|
+
|
|
172
|
+
/* Card shared: view link */
|
|
173
|
+
.networkfyi-view-link { display:block; text-align:center; padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
174
|
+
.networkfyi-view-link a { color:var(--link); text-decoration:none; font-size:12px; font-weight:500; display:inline-flex; align-items:center; gap:4px; }
|
|
175
|
+
.networkfyi-view-link a:hover { text-decoration:underline; }
|
|
176
|
+
.networkfyi-view-link svg { width:12px; height:12px; }
|
|
177
|
+
|
|
178
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
179
|
+
Domain: code/status display (large number)
|
|
180
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
181
|
+
.networkfyi-code-display { padding:14px 18px; text-align:center; border-bottom:1px solid var(--border); }
|
|
182
|
+
.networkfyi-code-big { font-size:36px; font-weight:800; color:var(--accent); line-height:1; font-family:ui-monospace, 'SF Mono', monospace; }
|
|
183
|
+
.networkfyi-code-name { font-size:13px; color:var(--text); font-weight:600; margin-top:4px; }
|
|
184
|
+
.networkfyi-code-protocol { font-size:11px; color:var(--muted); margin-top:2px; }
|
|
185
|
+
|
|
186
|
+
/* Domain: speed bar visualization */
|
|
187
|
+
.networkfyi-speed-bar-wrap { padding:10px 18px; border-bottom:1px solid var(--border); }
|
|
188
|
+
.networkfyi-speed-bar-track { width:100%; height:8px; background:var(--surface); border-radius:4px; overflow:hidden; }
|
|
189
|
+
.networkfyi-speed-bar-fill { height:100%; border-radius:4px; transition:width 0.3s; }
|
|
190
|
+
.networkfyi-speed-bar-label { font-size:11px; color:var(--muted); margin-top:4px; display:flex; justify-content:space-between; }
|
|
191
|
+
|
|
192
|
+
/* Domain: connector arrow display */
|
|
193
|
+
.networkfyi-connector-arrow { display:flex; align-items:center; justify-content:center; gap:8px; padding:12px 18px; border-bottom:1px solid var(--border); font-size:13px; font-weight:600; color:var(--text); }
|
|
194
|
+
.networkfyi-connector-arrow-icon { color:var(--accent); font-size:16px; }
|
|
195
|
+
|
|
196
|
+
/* Domain: compatibility result */
|
|
197
|
+
.networkfyi-compat-result { padding:14px 18px; text-align:center; border-bottom:1px solid var(--border); }
|
|
198
|
+
.networkfyi-compat-status { font-size:14px; font-weight:700; margin-bottom:4px; }
|
|
199
|
+
.networkfyi-compat-detail { font-size:12px; color:var(--muted); }
|
|
200
|
+
|
|
201
|
+
/* Domain: scenario card */
|
|
202
|
+
.networkfyi-scenario-header { padding:12px 18px; border-bottom:1px solid var(--border); }
|
|
203
|
+
.networkfyi-scenario-title { font-size:14px; font-weight:700; color:var(--text); margin:0 0 6px 0; }
|
|
204
|
+
.networkfyi-scenario-meta { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
|
|
205
|
+
|
|
206
|
+
/* Domain: form inputs (compatibility tool) */
|
|
207
|
+
.networkfyi-tool-form { padding:12px 18px; border-bottom:1px solid var(--border); }
|
|
208
|
+
.networkfyi-tool-row { display:flex; gap:6px; align-items:center; margin-bottom:6px; }
|
|
209
|
+
.networkfyi-tool-row:last-child { margin-bottom:0; }
|
|
210
|
+
.networkfyi-tool-input { flex:1; padding:6px 10px; border:1px solid var(--input-border); border-radius:6px; background:var(--input-bg); color:var(--text); font-size:13px; font-family:inherit; outline:none; }
|
|
211
|
+
.networkfyi-tool-input:focus { border-color:var(--input-focus); box-shadow:0 0 0 2px color-mix(in srgb, var(--input-focus) 20%, transparent); }
|
|
212
|
+
.networkfyi-tool-label { font-size:11px; color:var(--muted); min-width:72px; }
|
|
213
|
+
.networkfyi-tool-btn { background:var(--accent); color:#fff; border:none; border-radius:6px; padding:7px 14px; font-size:13px; font-weight:500; cursor:pointer; font-family:inherit; transition:opacity 0.15s; }
|
|
214
|
+
.networkfyi-tool-btn:hover { opacity:0.9; }
|
|
215
|
+
|
|
216
|
+
/* Inline widget host */
|
|
217
|
+
:host([data-inline]) {
|
|
218
|
+
display: inline-flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
gap: 4px;
|
|
221
|
+
}
|
|
222
|
+
`}function X(){return`
|
|
223
|
+
/* Clean: subtle top accent border instead of gradient header */
|
|
224
|
+
.networkfyi-header {
|
|
225
|
+
border-top: 3px solid var(--accent);
|
|
226
|
+
border-radius: 8px 8px 0 0;
|
|
227
|
+
padding: 14px 18px;
|
|
228
|
+
display: flex;
|
|
229
|
+
align-items: flex-start;
|
|
230
|
+
gap: 12px;
|
|
231
|
+
background: color-mix(in srgb, var(--accent) 5%, var(--surface));
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.networkfyi-header-title {
|
|
235
|
+
font-size: 15px;
|
|
236
|
+
font-weight: 700;
|
|
237
|
+
color: var(--text);
|
|
238
|
+
margin: 0 0 4px 0;
|
|
239
|
+
line-height: 1.3;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.networkfyi-header-subtitle {
|
|
243
|
+
font-size: 12px;
|
|
244
|
+
color: var(--muted);
|
|
245
|
+
margin: 0;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* Icon area \u2014 smaller, muted */
|
|
249
|
+
.networkfyi-img {
|
|
250
|
+
width: 44px;
|
|
251
|
+
height: 44px;
|
|
252
|
+
border-radius: 8px;
|
|
253
|
+
background: color-mix(in srgb, var(--accent) 12%, var(--bg));
|
|
254
|
+
flex-shrink: 0;
|
|
255
|
+
display: flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
overflow: hidden;
|
|
259
|
+
font-size: 20px;
|
|
260
|
+
color: var(--accent);
|
|
261
|
+
font-weight: 700;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.networkfyi-img img {
|
|
265
|
+
width: 100%;
|
|
266
|
+
height: 100%;
|
|
267
|
+
object-fit: cover;
|
|
268
|
+
border-radius: 8px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Body area */
|
|
272
|
+
.networkfyi-body {
|
|
273
|
+
padding: 14px 18px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Key-value rows */
|
|
277
|
+
.networkfyi-row {
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: space-between;
|
|
280
|
+
align-items: flex-start;
|
|
281
|
+
gap: 12px;
|
|
282
|
+
padding: 6px 0;
|
|
283
|
+
border-bottom: 1px solid var(--border);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.networkfyi-row:last-child {
|
|
287
|
+
border-bottom: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.networkfyi-label {
|
|
291
|
+
font-size: 12px;
|
|
292
|
+
font-weight: 500;
|
|
293
|
+
color: var(--muted);
|
|
294
|
+
white-space: nowrap;
|
|
295
|
+
flex-shrink: 0;
|
|
296
|
+
min-width: 30%;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.networkfyi-value {
|
|
300
|
+
font-size: 13px;
|
|
301
|
+
color: var(--text);
|
|
302
|
+
text-align: right;
|
|
303
|
+
word-break: break-word;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Section title */
|
|
307
|
+
.networkfyi-section-title {
|
|
308
|
+
font-size: 11px;
|
|
309
|
+
font-weight: 600;
|
|
310
|
+
color: var(--muted);
|
|
311
|
+
text-transform: uppercase;
|
|
312
|
+
letter-spacing: 0.06em;
|
|
313
|
+
margin: 0 0 8px 0;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Tags \u2014 subtle pill badges */
|
|
317
|
+
.networkfyi-tag {
|
|
318
|
+
display: inline-block;
|
|
319
|
+
font-size: 11px;
|
|
320
|
+
font-weight: 500;
|
|
321
|
+
padding: 2px 8px;
|
|
322
|
+
border-radius: 4px;
|
|
323
|
+
background: var(--badge-bg);
|
|
324
|
+
color: var(--badge-text);
|
|
325
|
+
margin: 2px 3px 2px 0;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Link */
|
|
329
|
+
.networkfyi-link {
|
|
330
|
+
font-size: 13px;
|
|
331
|
+
font-weight: 500;
|
|
332
|
+
color: var(--link);
|
|
333
|
+
text-decoration: none;
|
|
334
|
+
display: inline-flex;
|
|
335
|
+
align-items: center;
|
|
336
|
+
gap: 4px;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.networkfyi-link:hover {
|
|
340
|
+
text-decoration: underline;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.networkfyi-link svg {
|
|
344
|
+
width: 12px;
|
|
345
|
+
height: 12px;
|
|
346
|
+
flex-shrink: 0;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* Footer link row */
|
|
350
|
+
.networkfyi-footer-link {
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
justify-content: space-between;
|
|
354
|
+
padding: 10px 18px;
|
|
355
|
+
border-top: 1px solid var(--border);
|
|
356
|
+
gap: 8px;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
360
|
+
Card shared: stats row (horizontal flex)
|
|
361
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
362
|
+
.networkfyi-stats-row { display:flex; gap:10px; padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
363
|
+
.networkfyi-stat { text-align:center; flex:1; }
|
|
364
|
+
.networkfyi-stat-value { font-size:16px; font-weight:700; color:var(--accent); }
|
|
365
|
+
.networkfyi-stat-label { font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:0.03em; }
|
|
366
|
+
|
|
367
|
+
/* Card shared: stats grid (2x2 boxes) */
|
|
368
|
+
.networkfyi-stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
369
|
+
.networkfyi-stat-box { padding:5px 7px; background:var(--surface); border-radius:6px; }
|
|
370
|
+
.networkfyi-stat-box-label { font-size:9px; color:var(--muted); text-transform:uppercase; }
|
|
371
|
+
.networkfyi-stat-box-value { font-size:12px; font-weight:700; color:var(--text); margin-top:1px; }
|
|
372
|
+
|
|
373
|
+
/* Card shared: key-value dotted rows */
|
|
374
|
+
.networkfyi-kv-rows { padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
375
|
+
.networkfyi-kv-row { display:flex; justify-content:space-between; align-items:baseline; padding:3px 0; border-bottom:1px dotted var(--border); }
|
|
376
|
+
.networkfyi-kv-row:last-child { border-bottom:none; }
|
|
377
|
+
.networkfyi-kv-label { font-size:11px; color:var(--muted); }
|
|
378
|
+
.networkfyi-kv-value { font-size:11px; font-weight:600; color:var(--text); }
|
|
379
|
+
|
|
380
|
+
/* Card shared: pill tags */
|
|
381
|
+
.networkfyi-pills { display:flex; flex-wrap:wrap; gap:4px; padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
382
|
+
.networkfyi-pill { padding:2px 7px; border-radius:4px; font-size:11px; font-weight:500; background:var(--badge-bg); color:var(--badge-text); }
|
|
383
|
+
|
|
384
|
+
/* Card shared: section label */
|
|
385
|
+
.networkfyi-section-label { font-size:10px; text-transform:uppercase; letter-spacing:0.05em; color:var(--accent); font-weight:600; margin-bottom:3px; }
|
|
386
|
+
|
|
387
|
+
/* Card shared: description */
|
|
388
|
+
.networkfyi-desc { padding:8px 16px; font-size:13px; color:var(--muted); line-height:1.5; border-bottom:1px solid var(--border); }
|
|
389
|
+
|
|
390
|
+
/* Card shared: view link */
|
|
391
|
+
.networkfyi-view-link { display:block; text-align:center; padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
392
|
+
.networkfyi-view-link a { color:var(--link); text-decoration:none; font-size:12px; font-weight:500; display:inline-flex; align-items:center; gap:4px; }
|
|
393
|
+
.networkfyi-view-link a:hover { text-decoration:underline; }
|
|
394
|
+
.networkfyi-view-link svg { width:12px; height:12px; }
|
|
395
|
+
|
|
396
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
397
|
+
Domain: code/status display (large number)
|
|
398
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
399
|
+
.networkfyi-code-display { padding:12px 16px; text-align:center; border-bottom:1px solid var(--border); }
|
|
400
|
+
.networkfyi-code-big { font-size:28px; font-weight:700; color:var(--accent); line-height:1; font-family:ui-monospace, 'SF Mono', monospace; }
|
|
401
|
+
.networkfyi-code-name { font-size:12px; color:var(--text); font-weight:600; margin-top:3px; }
|
|
402
|
+
.networkfyi-code-protocol { font-size:10px; color:var(--muted); margin-top:2px; }
|
|
403
|
+
|
|
404
|
+
/* Domain: speed bar visualization */
|
|
405
|
+
.networkfyi-speed-bar-wrap { padding:8px 16px; border-bottom:1px solid var(--border); }
|
|
406
|
+
.networkfyi-speed-bar-track { width:100%; height:6px; background:var(--surface); border-radius:3px; overflow:hidden; }
|
|
407
|
+
.networkfyi-speed-bar-fill { height:100%; border-radius:3px; transition:width 0.3s; }
|
|
408
|
+
.networkfyi-speed-bar-label { font-size:10px; color:var(--muted); margin-top:3px; display:flex; justify-content:space-between; }
|
|
409
|
+
|
|
410
|
+
/* Domain: connector arrow display */
|
|
411
|
+
.networkfyi-connector-arrow { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-bottom:1px solid var(--border); font-size:12px; font-weight:600; color:var(--text); }
|
|
412
|
+
.networkfyi-connector-arrow-icon { color:var(--accent); font-size:14px; }
|
|
413
|
+
|
|
414
|
+
/* Domain: compatibility result */
|
|
415
|
+
.networkfyi-compat-result { padding:12px 16px; text-align:center; border-bottom:1px solid var(--border); }
|
|
416
|
+
.networkfyi-compat-status { font-size:13px; font-weight:700; margin-bottom:3px; }
|
|
417
|
+
.networkfyi-compat-detail { font-size:11px; color:var(--muted); }
|
|
418
|
+
|
|
419
|
+
/* Domain: scenario card */
|
|
420
|
+
.networkfyi-scenario-header { padding:10px 16px; border-bottom:1px solid var(--border); }
|
|
421
|
+
.networkfyi-scenario-title { font-size:13px; font-weight:700; color:var(--text); margin:0 0 5px 0; }
|
|
422
|
+
.networkfyi-scenario-meta { display:flex; gap:5px; align-items:center; flex-wrap:wrap; }
|
|
423
|
+
|
|
424
|
+
/* Domain: form inputs (compatibility tool) */
|
|
425
|
+
.networkfyi-tool-form { padding:10px 16px; border-bottom:1px solid var(--border); }
|
|
426
|
+
.networkfyi-tool-row { display:flex; gap:6px; align-items:center; margin-bottom:5px; }
|
|
427
|
+
.networkfyi-tool-row:last-child { margin-bottom:0; }
|
|
428
|
+
.networkfyi-tool-input { flex:1; padding:5px 8px; border:1px solid var(--input-border); border-radius:4px; background:var(--input-bg); color:var(--text); font-size:12px; font-family:inherit; outline:none; }
|
|
429
|
+
.networkfyi-tool-input:focus { border-color:var(--input-focus); box-shadow:0 0 0 2px color-mix(in srgb, var(--input-focus) 20%, transparent); }
|
|
430
|
+
.networkfyi-tool-label { font-size:10px; color:var(--muted); min-width:64px; }
|
|
431
|
+
.networkfyi-tool-btn { background:var(--accent); color:#fff; border:none; border-radius:4px; padding:6px 12px; font-size:12px; font-weight:500; cursor:pointer; font-family:inherit; transition:opacity 0.15s; }
|
|
432
|
+
.networkfyi-tool-btn:hover { opacity:0.9; }
|
|
433
|
+
|
|
434
|
+
/* Clean: copy button \u2014 minimal style */
|
|
435
|
+
.networkfyi-copy-btn {
|
|
436
|
+
background: var(--surface);
|
|
437
|
+
color: var(--muted);
|
|
438
|
+
border: 1px solid var(--border);
|
|
439
|
+
border-radius: 4px;
|
|
440
|
+
padding: 3px 8px;
|
|
441
|
+
font-size: 11px;
|
|
442
|
+
cursor: pointer;
|
|
443
|
+
display: inline-flex;
|
|
444
|
+
align-items: center;
|
|
445
|
+
gap: 3px;
|
|
446
|
+
transition: all 0.15s;
|
|
447
|
+
font-family: inherit;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.networkfyi-copy-btn:hover {
|
|
451
|
+
background: var(--copy-bg);
|
|
452
|
+
border-color: var(--input-focus);
|
|
453
|
+
color: var(--text);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.networkfyi-copy-btn svg {
|
|
457
|
+
width: 10px;
|
|
458
|
+
height: 10px;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* Inline widget host */
|
|
462
|
+
:host([data-inline]) {
|
|
463
|
+
display: inline-flex;
|
|
464
|
+
align-items: center;
|
|
465
|
+
gap: 4px;
|
|
466
|
+
}
|
|
467
|
+
`}function ye(e){switch(e){case"clean":return X();case"modern":default:return J()}}function Z(e,t="modern"){return`
|
|
468
|
+
:host {
|
|
469
|
+
display: block;
|
|
470
|
+
--site-accent: ${e};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
474
|
+
Size variants
|
|
475
|
+
compact=280px, default=420px, large=720px
|
|
476
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
477
|
+
.networkfyi-widget {
|
|
478
|
+
box-sizing: border-box;
|
|
479
|
+
min-width: 240px;
|
|
480
|
+
max-width: 420px;
|
|
481
|
+
border-radius: 8px;
|
|
482
|
+
overflow: hidden;
|
|
483
|
+
border: 1px solid var(--border);
|
|
484
|
+
background: var(--bg);
|
|
485
|
+
color: var(--text);
|
|
486
|
+
font-size: 14px;
|
|
487
|
+
line-height: 1.6;
|
|
488
|
+
transition: border-color 0.2s;
|
|
489
|
+
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.networkfyi-widget:hover {
|
|
493
|
+
border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.networkfyi-widget[data-size="compact"] {
|
|
497
|
+
max-width: 280px;
|
|
498
|
+
font-size: 13px;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.networkfyi-widget[data-size="default"] {
|
|
502
|
+
max-width: 420px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.networkfyi-widget[data-size="large"] {
|
|
506
|
+
max-width: 720px;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
510
|
+
Light theme (default)
|
|
511
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
512
|
+
.networkfyi-widget[data-theme="light"] {
|
|
513
|
+
--bg: #fff;
|
|
514
|
+
--text: #1e293b;
|
|
515
|
+
--border: #e2e8f0;
|
|
516
|
+
--accent: var(--site-accent);
|
|
517
|
+
--muted: #64748b;
|
|
518
|
+
--surface: #f8fafc;
|
|
519
|
+
--badge-bg: #f1f5f9;
|
|
520
|
+
--badge-text: #374151;
|
|
521
|
+
--link: var(--site-accent);
|
|
522
|
+
--copy-bg: #f3f4f6;
|
|
523
|
+
--copy-hover: #e5e7eb;
|
|
524
|
+
--input-bg: #ffffff;
|
|
525
|
+
--input-border: #d1d5db;
|
|
526
|
+
--input-focus: var(--site-accent);
|
|
527
|
+
--shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
531
|
+
Dark theme
|
|
532
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
533
|
+
.networkfyi-widget[data-theme="dark"] {
|
|
534
|
+
--bg: #1a1a1a;
|
|
535
|
+
--text: #f3f4f6;
|
|
536
|
+
--border: #374151;
|
|
537
|
+
--accent: var(--site-accent);
|
|
538
|
+
--muted: #9ca3af;
|
|
539
|
+
--surface: #111827;
|
|
540
|
+
--badge-bg: #374151;
|
|
541
|
+
--badge-text: #d1d5db;
|
|
542
|
+
--link: color-mix(in srgb, var(--site-accent) 80%, #fff);
|
|
543
|
+
--copy-bg: #374151;
|
|
544
|
+
--copy-hover: #4b5563;
|
|
545
|
+
--input-bg: #111111;
|
|
546
|
+
--input-border: #4b5563;
|
|
547
|
+
--input-focus: var(--site-accent);
|
|
548
|
+
--shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
552
|
+
Sepia theme
|
|
553
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
554
|
+
.networkfyi-widget[data-theme="sepia"] {
|
|
555
|
+
--bg: #f5f0e8;
|
|
556
|
+
--text: #3d3529;
|
|
557
|
+
--border: #d4c5a9;
|
|
558
|
+
--accent: var(--site-accent);
|
|
559
|
+
--muted: #8b7d6b;
|
|
560
|
+
--surface: #ede8df;
|
|
561
|
+
--badge-bg: #e8e0d0;
|
|
562
|
+
--badge-text: #5c4f3d;
|
|
563
|
+
--link: color-mix(in srgb, var(--site-accent) 70%, #3d3529);
|
|
564
|
+
--copy-bg: #e8e0d0;
|
|
565
|
+
--copy-hover: #ddd4c0;
|
|
566
|
+
--input-bg: #f5f0e8;
|
|
567
|
+
--input-border: #c4b49a;
|
|
568
|
+
--input-focus: var(--site-accent);
|
|
569
|
+
--shadow: 0 1px 3px rgba(61, 53, 41, 0.12);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.networkfyi-widget *, .networkfyi-widget *::before, .networkfyi-widget *::after {
|
|
573
|
+
box-sizing: border-box;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
577
|
+
Loading state
|
|
578
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
579
|
+
.networkfyi-loading {
|
|
580
|
+
padding: 20px 16px;
|
|
581
|
+
text-align: center;
|
|
582
|
+
color: var(--muted);
|
|
583
|
+
font-size: 13px;
|
|
584
|
+
display: flex;
|
|
585
|
+
align-items: center;
|
|
586
|
+
justify-content: center;
|
|
587
|
+
gap: 8px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.networkfyi-spinner {
|
|
591
|
+
width: 16px;
|
|
592
|
+
height: 16px;
|
|
593
|
+
border: 2px solid var(--border);
|
|
594
|
+
border-top-color: var(--accent);
|
|
595
|
+
border-radius: 50%;
|
|
596
|
+
animation: networkfyi-spin 0.7s linear infinite;
|
|
597
|
+
display: inline-block;
|
|
598
|
+
flex-shrink: 0;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
@keyframes networkfyi-spin {
|
|
602
|
+
to { transform: rotate(360deg); }
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
606
|
+
Error state
|
|
607
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
608
|
+
.networkfyi-error {
|
|
609
|
+
padding: 16px;
|
|
610
|
+
color: var(--muted);
|
|
611
|
+
font-size: 13px;
|
|
612
|
+
text-align: center;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.networkfyi-error p {
|
|
616
|
+
margin: 0 0 8px 0;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.networkfyi-error a {
|
|
620
|
+
color: var(--link);
|
|
621
|
+
text-decoration: none;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.networkfyi-error a:hover {
|
|
625
|
+
text-decoration: underline;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
629
|
+
Badge (generic)
|
|
630
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
631
|
+
.networkfyi-badge {
|
|
632
|
+
display: inline-block;
|
|
633
|
+
font-size: 10px;
|
|
634
|
+
font-weight: 600;
|
|
635
|
+
padding: 2px 7px;
|
|
636
|
+
border-radius: 4px;
|
|
637
|
+
background: var(--badge-bg);
|
|
638
|
+
color: var(--badge-text);
|
|
639
|
+
text-transform: uppercase;
|
|
640
|
+
letter-spacing: 0.04em;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
644
|
+
Search inputs
|
|
645
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
646
|
+
.networkfyi-search-wrap {
|
|
647
|
+
padding: 12px 16px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.networkfyi-search-form {
|
|
651
|
+
display: flex;
|
|
652
|
+
gap: 8px;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.networkfyi-search-input {
|
|
656
|
+
flex: 1;
|
|
657
|
+
padding: 8px 12px;
|
|
658
|
+
border: 1px solid var(--input-border);
|
|
659
|
+
border-radius: 6px;
|
|
660
|
+
background: var(--input-bg);
|
|
661
|
+
color: var(--text);
|
|
662
|
+
font-size: 13px;
|
|
663
|
+
font-family: inherit;
|
|
664
|
+
outline: none;
|
|
665
|
+
transition: border-color 0.15s;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.networkfyi-search-input:focus {
|
|
669
|
+
border-color: var(--input-focus);
|
|
670
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--input-focus) 20%, transparent);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.networkfyi-search-input::placeholder {
|
|
674
|
+
color: var(--muted);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.networkfyi-search-btn {
|
|
678
|
+
background: var(--accent);
|
|
679
|
+
color: #fff;
|
|
680
|
+
border: none;
|
|
681
|
+
border-radius: 6px;
|
|
682
|
+
padding: 8px 14px;
|
|
683
|
+
font-size: 13px;
|
|
684
|
+
font-weight: 500;
|
|
685
|
+
cursor: pointer;
|
|
686
|
+
font-family: inherit;
|
|
687
|
+
transition: opacity 0.15s;
|
|
688
|
+
white-space: nowrap;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.networkfyi-search-btn:hover {
|
|
692
|
+
opacity: 0.9;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.networkfyi-search-results {
|
|
696
|
+
padding: 0 16px 12px;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.networkfyi-result-item {
|
|
700
|
+
padding: 8px 0;
|
|
701
|
+
border-bottom: 1px solid var(--border);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.networkfyi-result-item:last-child {
|
|
705
|
+
border-bottom: none;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.networkfyi-result-title {
|
|
709
|
+
font-size: 13px;
|
|
710
|
+
font-weight: 600;
|
|
711
|
+
color: var(--text);
|
|
712
|
+
margin: 0 0 3px 0;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.networkfyi-result-meta {
|
|
716
|
+
font-size: 11px;
|
|
717
|
+
color: var(--muted);
|
|
718
|
+
display: flex;
|
|
719
|
+
align-items: center;
|
|
720
|
+
gap: 6px;
|
|
721
|
+
flex-wrap: wrap;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
725
|
+
Powered by footer
|
|
726
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
727
|
+
.networkfyi-powered {
|
|
728
|
+
display: block;
|
|
729
|
+
text-align: center;
|
|
730
|
+
padding: 8px 16px;
|
|
731
|
+
font-size: 11px;
|
|
732
|
+
color: var(--muted);
|
|
733
|
+
border-top: 1px solid var(--border);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.networkfyi-powered a {
|
|
737
|
+
color: var(--link);
|
|
738
|
+
text-decoration: none;
|
|
739
|
+
font-weight: 500;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.networkfyi-powered a:hover {
|
|
743
|
+
text-decoration: underline;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
747
|
+
Copy button
|
|
748
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
749
|
+
.networkfyi-copy-btn {
|
|
750
|
+
background: var(--copy-bg);
|
|
751
|
+
color: var(--text);
|
|
752
|
+
border: none;
|
|
753
|
+
border-radius: 5px;
|
|
754
|
+
padding: 4px 9px;
|
|
755
|
+
font-size: 11px;
|
|
756
|
+
cursor: pointer;
|
|
757
|
+
display: inline-flex;
|
|
758
|
+
align-items: center;
|
|
759
|
+
gap: 4px;
|
|
760
|
+
transition: background 0.15s;
|
|
761
|
+
font-family: inherit;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.networkfyi-copy-btn:hover {
|
|
765
|
+
background: var(--copy-hover);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.networkfyi-copy-btn svg {
|
|
769
|
+
width: 11px;
|
|
770
|
+
height: 11px;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/* \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
774
|
+
Monospace (for values, codes, IPs)
|
|
775
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
776
|
+
.networkfyi-mono {
|
|
777
|
+
font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
|
|
778
|
+
font-size: 13px;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
${ye(t)}
|
|
782
|
+
`}function x(e,t){let n=e.dataset.styleVariant||"modern",a=e.attachShadow({mode:"open"}),o=document.createElement("style");return o.textContent=Z(t.accent,n),a.appendChild(o),a}function we(e){let t=e.dataset.theme||"light";return t==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t}function k(e,t,n){let a=we(t),o=t.dataset.size||"default",d=document.createElement("div");return d.className=["networkfyi-widget",n].filter(Boolean).join(" "),d.setAttribute("data-theme",a),d.setAttribute("data-size",o),e.appendChild(d),t.dataset.theme==="auto"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>{d.setAttribute("data-theme",i.matches?"dark":"light")}),d}function R(e){e.innerHTML=`
|
|
783
|
+
<div class="networkfyi-loading">
|
|
784
|
+
<span class="networkfyi-spinner"></span>
|
|
785
|
+
Loading\u2026
|
|
786
|
+
</div>
|
|
787
|
+
`}function E(e,t,n){e.innerHTML=`
|
|
788
|
+
<div class="networkfyi-error">
|
|
789
|
+
<p>${t}</p>
|
|
790
|
+
<a href="https://${n.domain}" target="_blank" rel="noopener">
|
|
791
|
+
Visit ${n.name}
|
|
792
|
+
</a>
|
|
793
|
+
</div>
|
|
794
|
+
`}var M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>';function T(e){return`<span class="networkfyi-powered">Powered by <a href="https://${e.domain}" target="_blank" rel="noopener">${e.name}</a></span>`}function D(e){return`networkfyi_embed_${e}`}function ve(e){try{let t=sessionStorage.getItem(D(e));if(!t)return null;let n=JSON.parse(t);return Date.now()-n.ts>3e5?(sessionStorage.removeItem(D(e)),null):n.data}catch(t){return null}}function be(e,t){try{let n={data:t,ts:Date.now()};sessionStorage.setItem(D(e),JSON.stringify(n))}catch(n){}}async function A(e,t,n){let a=e.endsWith("/")?e:e+"/",o=t.startsWith("/")?t.slice(1):t,d=new URL(o,a);n&&Object.entries(n).forEach(([p,f])=>d.searchParams.set(p,f));let i=d.toString(),c=ve(i);if(c!==null)return c;let l=await fetch(i,{headers:{Accept:"application/json"}});if(!l.ok)throw new Error(`API error ${l.status}: ${i}`);let s=await l.json();return be(i,s),s}function r(e){return e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):""}function _(e,t){return t==null||t===""?"":`<div class="networkfyi-kv-row"><span class="networkfyi-kv-label">${r(e)}</span><span class="networkfyi-kv-value">${r(String(t))}</span></div>`}function F(e,t,n="#fff"){return`<span class="networkfyi-badge" style="background:${t};color:${n}">${r(e)}</span>`}function ee(e,t){var m,g,v,y,b,w,S,$,u;let n=String((v=(g=(m=e.name)!=null?m:e.term)!=null?g:e.slug)!=null?v:""),a=String((y=e.definition)!=null?y:""),o=String((w=(b=e.extended_definition)!=null?b:e.extended_description)!=null?w:""),d=String(($=(S=e.category_name)!=null?S:e.category)!=null?$:""),i=String((u=e.slug)!=null?u:""),c=t.site==="cablefyi"?"terms":"glossary",l=`https://${t.domain}/${c}/${r(i)}/`,s=`https://${t.domain}/glossary/`,p=e.related_terms,f=p&&p.length>0?`<div class="networkfyi-pills">${p.map(h=>`<a class="networkfyi-pill" href="https://${t.domain}/${c}/${r(h.slug)}/" target="_blank" rel="noopener" style="text-decoration:none;color:inherit;">${r(h.name)}</a>`).join("")}</div>`:"";return`
|
|
795
|
+
<div class="networkfyi-header">
|
|
796
|
+
<div>
|
|
797
|
+
<div class="networkfyi-header-title">${r(n)}</div>
|
|
798
|
+
${d?`<span class="networkfyi-badge" style="background:${t.accent};color:#fff;margin-top:4px;display:inline-block;">${r(d)}</span>`:""}
|
|
799
|
+
</div>
|
|
800
|
+
</div>
|
|
801
|
+
<div class="networkfyi-body" style="font-size:0.9rem;line-height:1.5;">
|
|
802
|
+
${r(a)}
|
|
803
|
+
</div>
|
|
804
|
+
${o?`<div style="padding:0 18px 10px;font-size:0.85rem;color:var(--muted);line-height:1.5;">${r(o)}</div>`:""}
|
|
805
|
+
${f}
|
|
806
|
+
<div class="networkfyi-view-link"><a href="${l}" target="_blank" rel="noopener">${r(n)} ${M}</a></div>
|
|
807
|
+
<div class="networkfyi-view-link"><a href="${s}" target="_blank" rel="noopener">Full glossary on ${r(t.name)} ${M}</a></div>
|
|
808
|
+
${T(t)}
|
|
809
|
+
`}function te(e,t){if(!e||!e.length)return`<div class="networkfyi-body">No FAQs available.</div>${T(t)}`;let n=e.map(a=>`
|
|
810
|
+
<details class="networkfyi-faq-item" style="border-bottom:1px solid var(--border);padding:10px 18px;">
|
|
811
|
+
<summary style="cursor:pointer;font-size:0.9rem;font-weight:600;color:var(--text);list-style:none;display:flex;justify-content:space-between;align-items:center;">
|
|
812
|
+
${r(a.question)}
|
|
813
|
+
<span style="flex-shrink:0;margin-left:8px;font-size:0.75rem;color:var(--muted);">+</span>
|
|
814
|
+
</summary>
|
|
815
|
+
<div style="margin-top:8px;font-size:0.85rem;color:var(--muted);line-height:1.5;">
|
|
816
|
+
${r(a.answer)}
|
|
817
|
+
</div>
|
|
818
|
+
</details>
|
|
819
|
+
`).join("");return`
|
|
820
|
+
<div class="networkfyi-header">
|
|
821
|
+
<div>
|
|
822
|
+
<div class="networkfyi-header-title">Frequently Asked Questions</div>
|
|
823
|
+
<div class="networkfyi-header-subtitle">${e.length} questions</div>
|
|
824
|
+
</div>
|
|
825
|
+
</div>
|
|
826
|
+
${n}
|
|
827
|
+
${T(t)}
|
|
828
|
+
`}function re(e,t){var y,b,w,S,$,u;let n=String((y=e.name)!=null?y:""),a=String((b=e.slug)!=null?b:""),o=String((w=e.description)!=null?w:""),d=String((S=e.connector_a)!=null?S:""),i=String(($=e.connector_b)!=null?$:""),c=e.max_data_rate_gbps,l=String((u=e.max_video_resolution)!=null?u:""),s=e.max_power_delivery_watts,p=e.max_recommended_length_m,f=e.supported_standards,m=`https://${t.domain}/cables/${r(a)}/`,g=d&&i?`<div class="networkfyi-connector-arrow">
|
|
829
|
+
<span>${r(d)}</span>
|
|
830
|
+
<span class="networkfyi-connector-arrow-icon">\u2194</span>
|
|
831
|
+
<span>${r(i)}</span>
|
|
832
|
+
</div>`:"",v=f&&f.length>0?`<div class="networkfyi-pills">${f.map(h=>`<span class="networkfyi-pill">${r(h)}</span>`).join("")}</div>`:"";return`
|
|
833
|
+
<div class="networkfyi-header">
|
|
834
|
+
<div class="networkfyi-img">\u{1F50C}</div>
|
|
835
|
+
<div>
|
|
836
|
+
<div class="networkfyi-header-title">${r(n)}</div>
|
|
837
|
+
<div class="networkfyi-header-subtitle">Cable</div>
|
|
838
|
+
</div>
|
|
839
|
+
</div>
|
|
840
|
+
${g}
|
|
841
|
+
<div class="networkfyi-kv-rows">
|
|
842
|
+
${c!=null?_("Max Data Rate",`${c} Gbps`):""}
|
|
843
|
+
${s!=null?_("Max Power",`${s}W`):""}
|
|
844
|
+
${l?_("Max Resolution",l):""}
|
|
845
|
+
${p!=null?_("Max Length",`${p}m`):""}
|
|
846
|
+
</div>
|
|
847
|
+
${o?`<div class="networkfyi-desc">${r(o.length>200?o.slice(0,200)+"...":o)}</div>`:""}
|
|
848
|
+
${v}
|
|
849
|
+
<div class="networkfyi-view-link"><a href="${m}" target="_blank" rel="noopener">View on ${r(t.name)} ${M}</a></div>
|
|
850
|
+
${T(t)}
|
|
851
|
+
`}function ne(e,t){var g,v,y,b,w;let n=String((g=e.name)!=null?g:""),a=String((v=e.slug)!=null?v:""),o=String((y=e.description)!=null?y:""),d=String((b=e.family)!=null?b:""),i=String((w=e.form_factor)!=null?w:""),c=e.pin_count,l=e.reversible,s=e.first_released_year,p=e.width_mm,f=e.height_mm,m=`https://${t.domain}/connectors/${r(a)}/`;return`
|
|
852
|
+
<div class="networkfyi-header">
|
|
853
|
+
<div class="networkfyi-img">\u{1F50C}</div>
|
|
854
|
+
<div>
|
|
855
|
+
<div class="networkfyi-header-title">${r(n)}</div>
|
|
856
|
+
<div class="networkfyi-header-subtitle">${r(d||"Connector")}</div>
|
|
857
|
+
</div>
|
|
858
|
+
</div>
|
|
859
|
+
<div class="networkfyi-kv-rows">
|
|
860
|
+
${d?_("Family",d):""}
|
|
861
|
+
${i?_("Form Factor",i):""}
|
|
862
|
+
${c!=null?_("Pin Count",String(c)):""}
|
|
863
|
+
${l!==null?_("Reversible",l?"Yes":"No"):""}
|
|
864
|
+
${s!=null?_("First Released",String(s)):""}
|
|
865
|
+
${p!=null&&f!==null&&f!==void 0?_("Size",`${p} x ${f} mm`):""}
|
|
866
|
+
</div>
|
|
867
|
+
${o?`<div class="networkfyi-desc">${r(o.length>200?o.slice(0,200)+"...":o)}</div>`:""}
|
|
868
|
+
<div class="networkfyi-view-link"><a href="${m}" target="_blank" rel="noopener">View on ${r(t.name)} ${M}</a></div>
|
|
869
|
+
${T(t)}
|
|
870
|
+
`}function oe(e,t){var S,$,u,h,C,L;let n=String((S=e.name)!=null?S:""),a=String(($=e.slug)!=null?$:""),o=String((u=e.description)!=null?u:""),d=String((h=e.family)!=null?h:""),i=String((C=e.version)!=null?C:""),c=e.max_data_rate_gbps,l=String((L=e.max_video_resolution)!=null?L:""),s=e.max_power_delivery_watts,p=e.release_year,f=e.supports_audio,m=e.supports_video,g=e.supports_data,v=e.supports_power,y=e.supports_ethernet,b=`https://${t.domain}/standards/${r(a)}/`,w=[];return f&&w.push("Audio"),m&&w.push("Video"),g&&w.push("Data"),v&&w.push("Power"),y&&w.push("Ethernet"),`
|
|
871
|
+
<div class="networkfyi-header">
|
|
872
|
+
<div class="networkfyi-img">\u26A1</div>
|
|
873
|
+
<div>
|
|
874
|
+
<div class="networkfyi-header-title">${r(n)}${i?` ${r(i)}`:""}</div>
|
|
875
|
+
<div class="networkfyi-header-subtitle">${r(d||"Standard")}</div>
|
|
876
|
+
</div>
|
|
877
|
+
</div>
|
|
878
|
+
${w.length>0?`<div class="networkfyi-pills">${w.map(H=>F(H,t.accent)).join(" ")}</div>`:""}
|
|
879
|
+
<div class="networkfyi-kv-rows">
|
|
880
|
+
${c!=null?_("Max Data Rate",`${c} Gbps`):""}
|
|
881
|
+
${s!=null?_("Max Power",`${s}W`):""}
|
|
882
|
+
${l?_("Max Resolution",l):""}
|
|
883
|
+
${p!=null?_("Release Year",String(p)):""}
|
|
884
|
+
</div>
|
|
885
|
+
${o?`<div class="networkfyi-desc">${r(o.length>200?o.slice(0,200)+"...":o)}</div>`:""}
|
|
886
|
+
<div class="networkfyi-view-link"><a href="${b}" target="_blank" rel="noopener">View on ${r(t.name)} ${M}</a></div>
|
|
887
|
+
${T(t)}
|
|
888
|
+
`}function j(e){return e>=100&&e<200?"informational":e>=200&&e<300?"success":e>=300&&e<400?"redirection":e>=400&&e<500?"client-error":e>=500&&e<600?"server-error":"unknown"}function q(e){switch(e){case"informational":return"#3B82F6";case"success":return"#10B981";case"redirection":return"#F59E0B";case"client-error":return"#EF4444";case"server-error":return"#7C3AED";default:return"#6B7280"}}function ie(e){switch(e){case"informational":return"Info";case"success":return"Success";case"redirection":return"Redirect";case"client-error":return"Client Error";case"server-error":return"Server Error";default:return"Unknown"}}var xe={cloud:"#3B82F6",isp:"#10B981",cdn:"#F59E0B",enterprise:"#6366F1",hosting:"#EC4899",exchange:"#14B8A6",education:"#8B5CF6",government:"#EF4444"};function se(e){return xe[e.toLowerCase()]||"#6B7280"}function ae(e,t){var m,g,v,y,b,w;let n=e.number,a=String((m=e.name)!=null?m:""),o=String((g=e.org)!=null?g:""),d=String((v=e.country_code)!=null?v:""),i=String((y=e.category)!=null?y:""),c=String((b=e.website)!=null?b:""),l=String((w=e.description)!=null?w:""),s=e.prefix_count,p=`https://${t.domain}/asn/AS${n}/`,f=se(i);return`
|
|
889
|
+
<div class="networkfyi-header">
|
|
890
|
+
<div class="networkfyi-img" style="font-size:16px;">AS</div>
|
|
891
|
+
<div>
|
|
892
|
+
<div class="networkfyi-header-title">AS${r(String(n))}</div>
|
|
893
|
+
<div class="networkfyi-header-subtitle">${r(a||o)}</div>
|
|
894
|
+
</div>
|
|
895
|
+
</div>
|
|
896
|
+
<div class="networkfyi-stats-row">
|
|
897
|
+
<div class="networkfyi-stat">
|
|
898
|
+
<div class="networkfyi-stat-value">${r(String(n))}</div>
|
|
899
|
+
<div class="networkfyi-stat-label">ASN</div>
|
|
900
|
+
</div>
|
|
901
|
+
${s!=null?`<div class="networkfyi-stat">
|
|
902
|
+
<div class="networkfyi-stat-value">${s.toLocaleString()}</div>
|
|
903
|
+
<div class="networkfyi-stat-label">Prefixes</div>
|
|
904
|
+
</div>`:""}
|
|
905
|
+
${d?`<div class="networkfyi-stat">
|
|
906
|
+
<div class="networkfyi-stat-value">${r(d)}</div>
|
|
907
|
+
<div class="networkfyi-stat-label">Country</div>
|
|
908
|
+
</div>`:""}
|
|
909
|
+
</div>
|
|
910
|
+
<div class="networkfyi-kv-rows">
|
|
911
|
+
${o?_("Organization",o):""}
|
|
912
|
+
${i?`<div class="networkfyi-kv-row"><span class="networkfyi-kv-label">Category</span><span class="networkfyi-kv-value">${F(i,f)}</span></div>`:""}
|
|
913
|
+
${c?_("Website",c):""}
|
|
914
|
+
</div>
|
|
915
|
+
${l?`<div class="networkfyi-desc">${r(l.length>200?l.slice(0,200)+"...":l)}</div>`:""}
|
|
916
|
+
<div class="networkfyi-view-link"><a href="${p}" target="_blank" rel="noopener">View on ${r(t.name)} ${M}</a></div>
|
|
917
|
+
${T(t)}
|
|
918
|
+
`}function de(e,t){var b,w,S,$,u,h;let n=e.code,a=String((b=e.name)!=null?b:""),o=String((w=e.slug)!=null?w:""),d=String((S=e.description)!=null?S:""),i=String(($=e.when_you_see_it)!=null?$:""),c=e.protocol,l=e.category,s=e.related_codes,p=c?String((u=c.name)!=null?u:""):"",f=c?String((h=c.slug)!=null?h:""):"",m=j(n),g=q(m),v=ie(m),y=f?`https://${t.domain}/${r(f)}/${r(o)}/`:`https://${t.domain}/codes/${r(o)}/`;return`
|
|
919
|
+
<div class="networkfyi-header">
|
|
920
|
+
<div class="networkfyi-img" style="background:${g};font-size:18px;">${n}</div>
|
|
921
|
+
<div>
|
|
922
|
+
<div class="networkfyi-header-title">${r(a)}</div>
|
|
923
|
+
<div class="networkfyi-header-subtitle">${r(p)} ${F(v,g)}</div>
|
|
924
|
+
</div>
|
|
925
|
+
</div>
|
|
926
|
+
<div class="networkfyi-code-display">
|
|
927
|
+
<div class="networkfyi-code-big" style="color:${g}">${n}</div>
|
|
928
|
+
<div class="networkfyi-code-name">${r(a)}</div>
|
|
929
|
+
${p?`<div class="networkfyi-code-protocol">${r(p)}</div>`:""}
|
|
930
|
+
</div>
|
|
931
|
+
${d?`<div class="networkfyi-desc">${r(d.length>200?d.slice(0,200)+"...":d)}</div>`:""}
|
|
932
|
+
${i?`<div style="padding:10px 18px;border-bottom:1px solid var(--border);">
|
|
933
|
+
<div class="networkfyi-section-label">When You See It</div>
|
|
934
|
+
<div style="font-size:0.85rem;color:var(--muted);line-height:1.5;">${r(i.length>150?i.slice(0,150)+"...":i)}</div>
|
|
935
|
+
</div>`:""}
|
|
936
|
+
${s&&s.length>0?`<div class="networkfyi-pills">${s.slice(0,5).map(C=>{var B;let L=C.code,H=String((B=C.name)!=null?B:""),z=q(j(L));return F(`${L} ${H}`,z)}).join(" ")}</div>`:""}
|
|
937
|
+
<div class="networkfyi-view-link"><a href="${y}" target="_blank" rel="noopener">View on ${r(t.name)} ${M}</a></div>
|
|
938
|
+
${T(t)}
|
|
939
|
+
`}function ke(e,t){switch(e.site){case"cablefyi":return`cable/${t}/`;case"ipfyi":return`asn/${t}/`;case"statuscodefyi":return`code/${t}/`;default:return`${e.entitySlug}/${t}/`}}function N(e,t){var c;let a=(c=e.dataset.slug)!=null?c:"";if(!a){let l=x(e,t),s=k(l,e,"networkfyi-entity-widget");E(s,"Missing data-slug attribute.",t);return}let o=x(e,t),d=k(o,e,"networkfyi-entity-widget");R(d);let i=ke(t,a);A(t.apiBase,i).then(l=>{var p;let s;switch(t.site){case"cablefyi":s=re(l,t);break;case"ipfyi":s=ae(l,t);break;case"statuscodefyi":s=de(l,t);break;default:{let f=String((p=l.name)!=null?p:a),m=`https://${t.domain}/${t.entitySlug}/${r(a)}/`;s=`
|
|
940
|
+
<div style="padding:16px;">
|
|
941
|
+
<div style="font-size:1rem;font-weight:600;margin-bottom:8px;">${r(f)}</div>
|
|
942
|
+
<a href="${r(m)}" target="_blank" rel="noopener"
|
|
943
|
+
style="color:${t.accent};text-decoration:none;font-size:0.85rem;">
|
|
944
|
+
View on ${r(t.name)} ${M}
|
|
945
|
+
</a>
|
|
946
|
+
</div>
|
|
947
|
+
`;break}}d.innerHTML=s}).catch(()=>{E(d,`Unable to load "${r(a)}". Please try again later.`,t)})}function W(e,t){var c,l;let n=e.dataset,a=(c=n.slugA)!=null?c:"",o=(l=n.slugB)!=null?l:"";if(!a||!o){let s=x(e,t),p=k(s,e,"networkfyi-compare-widget");E(p,"Missing data-slug-a and data-slug-b attributes.",t);return}let d=x(e,t),i=k(d,e,"networkfyi-compare-widget");R(i),A(t.apiBase,"compare/",{slug1:a,slug2:o}).then(s=>{var b,w,S,$,u,h,C,L,H,z,B;let p=String((w=(b=s.name_a)!=null?b:s.slug_a)!=null?w:a),f=String(($=(S=s.name_b)!=null?S:s.slug_b)!=null?$:o),m=s.differences,g=String((u=s.summary)!=null?u:""),v=`https://${t.domain}/compare/?slug1=${encodeURIComponent(a)}&slug2=${encodeURIComponent(o)}`,y="";if(m&&m.length>0){y='<div class="networkfyi-kv-rows">';for(let I of m.slice(0,8)){let P=String((C=(h=I.field)!=null?h:I.label)!=null?C:""),ge=String((H=(L=I.value_a)!=null?L:I.a)!=null?H:""),me=String((B=(z=I.value_b)!=null?z:I.b)!=null?B:"");y+=`
|
|
948
|
+
<div class="networkfyi-kv-row">
|
|
949
|
+
<span class="networkfyi-kv-label">${r(P)}</span>
|
|
950
|
+
<span class="networkfyi-kv-value">${r(ge)} vs ${r(me)}</span>
|
|
951
|
+
</div>`}y+="</div>"}i.innerHTML=`
|
|
952
|
+
<div class="networkfyi-header">
|
|
953
|
+
<div>
|
|
954
|
+
<div class="networkfyi-header-title">${r(p)} vs ${r(f)}</div>
|
|
955
|
+
<div class="networkfyi-header-subtitle">Comparison</div>
|
|
956
|
+
</div>
|
|
957
|
+
</div>
|
|
958
|
+
<div class="networkfyi-stats-row">
|
|
959
|
+
<div class="networkfyi-stat">
|
|
960
|
+
<div class="networkfyi-stat-value" style="font-size:14px;">${r(p)}</div>
|
|
961
|
+
<div class="networkfyi-stat-label">A</div>
|
|
962
|
+
</div>
|
|
963
|
+
<div class="networkfyi-stat">
|
|
964
|
+
<div class="networkfyi-stat-value" style="font-size:14px;">${r(f)}</div>
|
|
965
|
+
<div class="networkfyi-stat-label">B</div>
|
|
966
|
+
</div>
|
|
967
|
+
</div>
|
|
968
|
+
${y}
|
|
969
|
+
${g?`<div class="networkfyi-desc">${r(g)}</div>`:""}
|
|
970
|
+
<div class="networkfyi-view-link"><a href="${r(v)}" target="_blank" rel="noopener">Compare on ${r(t.name)} ${M}</a></div>
|
|
971
|
+
${T(t)}
|
|
972
|
+
`}).catch(()=>{E(i,"Unable to load comparison data.",t)})}function le(e,t,n){if(document.querySelector('script[data-networkfyi-snippet="term"]'))return;let a={"@context":"https://schema.org","@type":"DefinedTerm",name:e.name,description:e.definition,inDefinedTermSet:{"@type":"DefinedTermSet",name:`${n} Glossary`,url:`https://${t}/glossary/`}},o=document.createElement("script");o.type="application/ld+json",o.setAttribute("data-networkfyi-snippet","term"),o.textContent=JSON.stringify(a),document.head.appendChild(o)}function ce(e,t,n){if(document.querySelector('script[data-networkfyi-snippet="faq"]'))return;let a={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(d=>({"@type":"Question",name:d.question,acceptedAnswer:{"@type":"Answer",text:d.answer}})),url:`https://${t}/`},o=document.createElement("script");o.type="application/ld+json",o.setAttribute("data-networkfyi-snippet","faq"),o.textContent=JSON.stringify(a),document.head.appendChild(o)}function U(e,t){var c;let a=(c=e.dataset.slug)!=null?c:"";if(!a){let l=x(e,t),s=k(l,e,"networkfyi-glossary-widget");E(s,"Missing data-slug attribute.",t);return}let o=x(e,t),d=k(o,e,"networkfyi-glossary-widget");R(d);let i=`term/${a}/`;A(t.apiBase,i).then(l=>{var s,p,f;if(d.innerHTML=ee(l,t),e.dataset.noSnippet!=="true"){let m=String((p=(s=l.name)!=null?s:l.term)!=null?p:a),g=String((f=l.definition)!=null?f:"");le({name:m,definition:g},t.domain,t.name)}}).catch(()=>{E(d,`Unable to load glossary term "${r(a)}".`,t)})}var he={cable:"Cable",connector:"Connector",standard:"Standard",asn:"ASN",isp:"ISP","ip-range":"IP Range",code:"Status Code",protocol:"Protocol",scenario:"Scenario",spec:"Spec",glossary:"Glossary",term:"Glossary",guide:"Guide",faq:"FAQ"},$e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>';function O(e,t){var $;let a=($=e.dataset.placeholder)!=null?$:`Search ${t.entityName}...`,o=x(e,t),d=k(o,e,"networkfyi-search-widget"),i=!1,c="",l=[],s=-1,p=null;d.innerHTML=`
|
|
973
|
+
<div class="networkfyi-search-wrap">
|
|
974
|
+
<div class="networkfyi-search-form" style="position:relative;display:flex;align-items:center;">
|
|
975
|
+
<span style="position:absolute;left:10px;color:var(--muted);pointer-events:none;">${$e}</span>
|
|
976
|
+
<input
|
|
977
|
+
class="networkfyi-search-input"
|
|
978
|
+
type="search"
|
|
979
|
+
autocomplete="off"
|
|
980
|
+
spellcheck="false"
|
|
981
|
+
placeholder="${r(a)}"
|
|
982
|
+
aria-label="Search ${r(t.name)}"
|
|
983
|
+
aria-autocomplete="list"
|
|
984
|
+
aria-expanded="false"
|
|
985
|
+
role="combobox"
|
|
986
|
+
style="padding-left:32px;"
|
|
987
|
+
>
|
|
988
|
+
</div>
|
|
989
|
+
<div class="networkfyi-search-dropdown" role="listbox" hidden
|
|
990
|
+
style="margin-top:4px;border:1px solid var(--border);border-radius:6px;background:var(--bg);box-shadow:var(--shadow);max-height:280px;overflow-y:auto;"></div>
|
|
991
|
+
</div>
|
|
992
|
+
${T(t)}
|
|
993
|
+
`;let f=d.querySelector(".networkfyi-search-input"),m=d.querySelector(".networkfyi-search-dropdown");function g(){return Array.from(m.querySelectorAll(".networkfyi-result-item"))}function v(u){g().forEach((C,L)=>{L===u?C.style.background=`color-mix(in srgb, ${t.accent} 10%, var(--bg))`:C.style.background=""}),s=u}function y(){i=!0,m.hidden=!1,f.setAttribute("aria-expanded","true")}function b(){i=!1,m.hidden=!0,f.setAttribute("aria-expanded","false"),s=-1}function w(){var h,C,L,H;if(l.length===0){m.innerHTML=`<div style="padding:12px 14px;font-size:0.85rem;color:var(--muted);">No results for <strong>${r(c)}</strong></div>`;return}let u="";for(let z of l){let B=z.type?(h=he[z.type])!=null?h:z.type:null,I=(H=(L=(C=z.description)!=null?C:z.excerpt)!=null?L:z.subtitle)!=null?H:"",P=z.url?z.url.startsWith("http")?z.url:`https://${t.domain}${z.url}`:`https://${t.domain}/${t.entitySlug}/${r(z.slug||"")}/`;u+=`
|
|
994
|
+
<a class="networkfyi-result-item"
|
|
995
|
+
href="${r(P)}" target="_blank" rel="noopener" role="option" tabindex="-1"
|
|
996
|
+
style="display:block;padding:8px 14px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--border);transition:background 0.1s;">
|
|
997
|
+
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;">
|
|
998
|
+
<span style="font-size:0.875rem;font-weight:500;">${r(z.name)}</span>
|
|
999
|
+
${B?`<span class="networkfyi-badge" style="flex-shrink:0;">${r(B)}</span>`:""}
|
|
1000
|
+
</div>
|
|
1001
|
+
${I?`<div style="font-size:0.75rem;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">${r(I)}</div>`:""}
|
|
1002
|
+
</a>
|
|
1003
|
+
`}m.innerHTML=u}async function S(u){var C;if(!u.trim()){b();return}let h=`${t.apiBase}search/?q=${encodeURIComponent(u)}&limit=10`;try{let L=await fetch(h,{headers:{Accept:"application/json"}});if(!L.ok)throw new Error(`Search failed: ${L.status}`);l=(C=(await L.json()).results)!=null?C:[]}catch(L){l=[]}w(),y(),v(-1)}f.addEventListener("input",()=>{if(c=f.value,p!==null&&clearTimeout(p),!c.trim()){b();return}p=setTimeout(()=>{S(c)},300)}),f.addEventListener("keydown",u=>{if(!i)return;let h=g(),C=h.length;u.key==="ArrowDown"?(u.preventDefault(),v(s<C-1?s+1:0)):u.key==="ArrowUp"?(u.preventDefault(),v(s>0?s-1:C-1)):u.key==="Enter"?(u.preventDefault(),s>=0&&h[s]?h[s].click():window.open(`https://${t.domain}${t.searchPath}?q=${encodeURIComponent(c)}`,"_blank","noopener")):u.key==="Escape"&&(b(),f.blur())}),document.addEventListener("click",u=>{i&&!e.contains(u.target)&&b()}),f.addEventListener("focus",()=>{f.style.borderColor=t.accent,f.style.boxShadow=`0 0 0 2px color-mix(in srgb, ${t.accent} 20%, transparent)`}),f.addEventListener("blur",()=>{f.style.borderColor="",f.style.boxShadow=""})}function G(e,t){var c;let a=(c=e.dataset.slug)!=null?c:"";if(!a){let l=x(e,t),s=k(l,e,"networkfyi-faq-widget");E(s,"Missing data-slug attribute.",t);return}let o=x(e,t),d=k(o,e,"networkfyi-faq-widget");R(d);let i=`faqs/?topic=${encodeURIComponent(a)}`;A(t.apiBase,i).then(l=>{let s;l.faqs&&Array.isArray(l.faqs)?s=l.faqs:l.results&&Array.isArray(l.results)?s=l.results:l.question&&l.answer?s=[{question:String(l.question),answer:String(l.answer)}]:s=[],d.innerHTML=te(s,t),e.dataset.noSnippet!=="true"&&s.length>0&&ce(s,t.domain,t.name)}).catch(()=>{E(d,`Unable to load FAQs for "${r(a)}".`,t)})}function V(e,t){var d;let n=(d=e.dataset.slug)!=null?d:"";if(!n){let i=x(e,t),c=k(i,e,"networkfyi-connector-widget");E(c,"Missing data-slug attribute.",t);return}let a=x(e,t),o=k(a,e,"networkfyi-connector-widget");R(o),A(t.apiBase,`connector/${n}/`).then(i=>{o.innerHTML=ne(i,t)}).catch(()=>{E(o,`Unable to load connector "${r(n)}".`,t)})}function Q(e,t){var d;let n=(d=e.dataset.slug)!=null?d:"";if(!n){let i=x(e,t),c=k(i,e,"networkfyi-standard-widget");E(c,"Missing data-slug attribute.",t);return}let a=x(e,t),o=k(a,e,"networkfyi-standard-widget");R(o),A(t.apiBase,`standard/${n}/`).then(i=>{o.innerHTML=oe(i,t)}).catch(()=>{E(o,`Unable to load standard "${r(n)}".`,t)})}function Se(e,t){var s,p,f,m,g,v;let n=e.compatible,a=(s=e.adapter_required)!=null?s:!1,o=(p=e.adapter_type)!=null?p:"",d=(f=e.signal_degradation)!=null?f:"",i=(m=e.notes)!=null?m:"",c,l;return n&&!a?(c="Directly Compatible",l="#10B981"):n&&a?(c="Compatible (Adapter Required)",l="#F59E0B"):(c="Not Compatible",l="#EF4444"),`
|
|
1004
|
+
<div class="networkfyi-header">
|
|
1005
|
+
<div>
|
|
1006
|
+
<div class="networkfyi-header-title">Connector Compatibility</div>
|
|
1007
|
+
<div class="networkfyi-header-subtitle">${r(String((g=e.connector_a)!=null?g:""))} \u2194 ${r(String((v=e.connector_b)!=null?v:""))}</div>
|
|
1008
|
+
</div>
|
|
1009
|
+
</div>
|
|
1010
|
+
<div class="networkfyi-compat-result">
|
|
1011
|
+
<div class="networkfyi-compat-status" style="color:${l}">${c}</div>
|
|
1012
|
+
${o?`<div class="networkfyi-compat-detail">Adapter: ${r(o)}</div>`:""}
|
|
1013
|
+
${d?`<div class="networkfyi-compat-detail">Signal: ${r(d)}</div>`:""}
|
|
1014
|
+
</div>
|
|
1015
|
+
${i?`<div class="networkfyi-desc">${r(i)}</div>`:""}
|
|
1016
|
+
${T(t)}
|
|
1017
|
+
`}function K(e,t){var f,m;let n=e.dataset,a=(f=n.connectorA)!=null?f:"",o=(m=n.connectorB)!=null?m:"",d=x(e,t),i=k(d,e,"networkfyi-compatibility-widget");if(a&&o){R(i),A(t.apiBase,"compatibility/",{connector_a:a,connector_b:o}).then(g=>{g.connector_a=a,g.connector_b=o,i.innerHTML=Se(g,t)}).catch(()=>{E(i,"Unable to check compatibility.",t)});return}i.innerHTML=`
|
|
1018
|
+
<div class="networkfyi-header">
|
|
1019
|
+
<div>
|
|
1020
|
+
<div class="networkfyi-header-title">Connector Compatibility</div>
|
|
1021
|
+
<div class="networkfyi-header-subtitle">Check if two connectors are compatible</div>
|
|
1022
|
+
</div>
|
|
1023
|
+
</div>
|
|
1024
|
+
<div class="networkfyi-tool-form">
|
|
1025
|
+
<div class="networkfyi-tool-row">
|
|
1026
|
+
<span class="networkfyi-tool-label">Connector A</span>
|
|
1027
|
+
<input class="networkfyi-tool-input" data-role="conn-a" placeholder="e.g. usb-type-c" />
|
|
1028
|
+
</div>
|
|
1029
|
+
<div class="networkfyi-tool-row">
|
|
1030
|
+
<span class="networkfyi-tool-label">Connector B</span>
|
|
1031
|
+
<input class="networkfyi-tool-input" data-role="conn-b" placeholder="e.g. hdmi-type-a" />
|
|
1032
|
+
</div>
|
|
1033
|
+
<div class="networkfyi-tool-row" style="justify-content:flex-end;">
|
|
1034
|
+
<button class="networkfyi-tool-btn" data-role="check-btn">Check</button>
|
|
1035
|
+
</div>
|
|
1036
|
+
</div>
|
|
1037
|
+
<div data-role="result"></div>
|
|
1038
|
+
${T(t)}
|
|
1039
|
+
`;let c=i.querySelector('[data-role="conn-a"]'),l=i.querySelector('[data-role="conn-b"]'),s=i.querySelector('[data-role="check-btn"]'),p=i.querySelector('[data-role="result"]');s.addEventListener("click",()=>{let g=c.value.trim(),v=l.value.trim();!g||!v||(p.innerHTML='<div class="networkfyi-loading"><span class="networkfyi-spinner"></span> Checking\u2026</div>',A(t.apiBase,"compatibility/",{connector_a:g,connector_b:v}).then(y=>{var u;y.connector_a=g,y.connector_b=v;let b=y.compatible,w=(u=y.adapter_required)!=null?u:!1,S,$;b&&!w?(S="Directly Compatible",$="#10B981"):b&&w?(S="Compatible (Adapter Required)",$="#F59E0B"):(S="Not Compatible",$="#EF4444"),p.innerHTML=`
|
|
1040
|
+
<div class="networkfyi-compat-result">
|
|
1041
|
+
<div class="networkfyi-compat-status" style="color:${$}">${S}</div>
|
|
1042
|
+
${y.adapter_type?`<div class="networkfyi-compat-detail">Adapter: ${r(y.adapter_type)}</div>`:""}
|
|
1043
|
+
${y.signal_degradation?`<div class="networkfyi-compat-detail">Signal: ${r(y.signal_degradation)}</div>`:""}
|
|
1044
|
+
</div>
|
|
1045
|
+
`}).catch(()=>{p.innerHTML='<div class="networkfyi-error"><p>Unable to check compatibility.</p></div>'}))})}var pe=40;function fe(e,t){var l,s;let n=parseFloat((l=e.dataset.rate)!=null?l:"0"),a=(s=e.dataset.label)!=null?s:`${n} Gbps`;e.setAttribute("data-inline","");let o=x(e,t),d=k(o,e,"networkfyi-inline");d.setAttribute("data-theme",e.dataset.theme||"light");let i=Math.min(100,n/pe*100),c=Math.round(i/100*120);d.innerHTML=`
|
|
1046
|
+
<div class="networkfyi-speed-bar-wrap" style="min-width:120px;padding:4px 0;">
|
|
1047
|
+
<div class="networkfyi-speed-bar-track">
|
|
1048
|
+
<div class="networkfyi-speed-bar-fill" style="width:${i}%;background:hsl(${c}, 70%, 50%);"></div>
|
|
1049
|
+
</div>
|
|
1050
|
+
<div class="networkfyi-speed-bar-label">
|
|
1051
|
+
<span>${a}</span>
|
|
1052
|
+
<span>${pe} Gbps</span>
|
|
1053
|
+
</div>
|
|
1054
|
+
</div>
|
|
1055
|
+
`}function Ce(e,t,n){let a=e.dataset.styleVariant||"modern";switch(t){case"entity":N(e,n);break;case"compare":W(e,n);break;case"glossary":U(e,n);break;case"search":O(e,n);break;case"faq":G(e,n);break;case"connector":V(e,n);break;case"standard":Q(e,n);break;case"compatibility":K(e,n);break;case"speed-bar":fe(e,n);break;default:break}}function Ee(e,t){if("IntersectionObserver"in window){let n=new IntersectionObserver(a=>{a.forEach(o=>{o.isIntersecting&&(n.unobserve(e),t())})},{rootMargin:"200px"});n.observe(e)}else t()}function Y(e,t){if(e.shadowRoot)return;let a=t.attribute.replace("data-","").replace(/-([a-z])/g,(d,i)=>i.toUpperCase()),o=e.dataset[a];o&&Ee(e,()=>{e.shadowRoot||Ce(e,o,t)})}function ue(e){document.querySelectorAll(`[${e.attribute}]`).forEach(t=>Y(t,e))}(function(){let t='{"site":"cablefyi","name":"CableFYI","domain":"cablefyi.com","accent":"#4338CA","attribute":"data-cablefyi","apiBase":"https://cablefyi.com/api/v1/","searchPath":"/search/","entityName":"Cables","entitySlug":"cables"}';document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>ue(t)):ue(t),new MutationObserver(a=>{a.forEach(o=>{o.addedNodes.forEach(d=>{var c;if(d.nodeType!==Node.ELEMENT_NODE)return;let i=d;i.hasAttribute(t.attribute)&&Y(i,t),(c=i.querySelectorAll)==null||c.call(i,`[${t.attribute}]`).forEach(l=>Y(l,t))})})}).observe(document.body||document.documentElement,{childList:!0,subtree:!0})})();function Te(e,t,n){let a=[...n,"theme","style-variant","size"];return class extends HTMLElement{static get observedAttributes(){return a}connectedCallback(){this.shadowRoot||(this._syncDataAttrs(),t(this,'{"site":"cablefyi","name":"CableFYI","domain":"cablefyi.com","accent":"#4338CA","attribute":"data-cablefyi","apiBase":"https://cablefyi.com/api/v1/","searchPath":"/search/","entityName":"Cables","entitySlug":"cables"}'))}attributeChangedCallback(o,d,i){if(d===i||!this.shadowRoot)return;let c=this.shadowRoot;for(;c.firstChild;)c.firstChild.remove();this._syncDataAttrs(),t(this,'{"site":"cablefyi","name":"CableFYI","domain":"cablefyi.com","accent":"#4338CA","attribute":"data-cablefyi","apiBase":"https://cablefyi.com/api/v1/","searchPath":"/search/","entityName":"Cables","entitySlug":"cables"}')}_syncDataAttrs(){let o='{"site":"cablefyi","name":"CableFYI","domain":"cablefyi.com","accent":"#4338CA","attribute":"data-cablefyi","apiBase":"https://cablefyi.com/api/v1/","searchPath":"/search/","entityName":"Cables","entitySlug":"cables"}'.attribute.replace("data-","");this.dataset[o]=e;for(let l of n){let s=this.getAttribute(l);s!==null&&(this.dataset[l]=s)}let d=this.getAttribute("theme");d!==null&&(this.dataset.theme=d);let i=this.getAttribute("style-variant");i!==null&&(this.dataset.styleVariant=i);let c=this.getAttribute("size");c!==null&&(this.dataset.size=c)}}}(function(){if(typeof customElements=="undefined")return;let t='{"site":"cablefyi","name":"CableFYI","domain":"cablefyi.com","accent":"#4338CA","attribute":"data-cablefyi","apiBase":"https://cablefyi.com/api/v1/","searchPath":"/search/","entityName":"Cables","entitySlug":"cables"}'.site,n=[[`${t}-entity`,N,["slug"]],[`${t}-compare`,W,["slug-a","slug-b"]],[`${t}-glossary`,U,["slug"]],[`${t}-search`,O,["placeholder"]],[`${t}-faq`,G,["slug"]],[`${t}-connector`,V,["slug"]],[`${t}-standard`,Q,["slug"]],[`${t}-compatibility`,K,["connector-a","connector-b"]]];for(let[a,o,d]of n)if(!customElements.get(a)){let i=a.slice(t.length+1);customElements.define(a,Te(i,o,d))}})();})();
|