Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

fix(skeletons): make bone capture reliable, and cap what it will bake

Juan Denisa8e9f605e4fa
diff --git a/frontend/scripts/capture-skeletons.mjs b/frontend/scripts/capture-skeletons.mjs
index 06bb9768..997f3d66 100644
--- a/frontend/scripts/capture-skeletons.mjs
+++ b/frontend/scripts/capture-skeletons.mjs
@@ -52,11 +52,28 @@ const ONLY = (process.env.SK_ONLY || '').split(',').map((s) => s.trim()).filter(
// Regions to snapshot. `selector` is the element whose subtree becomes bones;
// `waitFor` gates the capture until the real (non-skeleton) content has rendered.
+// A capture is only as good as the data behind it: `waitFor` must gate on real
+// content, never on `.empty-state`. Bones measured from an empty page bake in
+// an empty layout and would predict "nothing is coming" — worse than the
+// generic placeholder. So a page belongs here only once the dev database
+// reliably has rows for it; everything else is served by the PageSkeleton
+// archetypes (components/PageSkeleton.jsx), which need no data at all.
const TARGETS = [
{ key: 'ssl', path: '/ssl', selector: '.ssl-page', waitFor: '.ssl-status-bar' },
- { key: 'wordpress-list', path: '/wordpress', selector: '.wordpress-page', waitFor: '.sk-table, .wp-sites-grid, .empty-state' },
+ { key: 'wordpress-list', path: '/wordpress', selector: '.wordpress-page', waitFor: '.sk-table, .wp-sites-grid' },
+ { key: 'services', path: '/services', selector: '.services-page', waitFor: '.sk-dtable tbody tr' },
+ { key: 'domains', path: '/domains', selector: '.domains-page', waitFor: '.sk-dtable tbody tr' },
+ // NOT captured: /templates. Its catalog grid measures ~975 bones over
+ // 5700px — a skeleton nobody scrolls, at a node count that costs more to
+ // animate than the page costs to load. Unbounded lists belong to the
+ // `cards` PageSkeleton archetype, which draws a screenful in eight nodes.
];
+// A skeleton is a hint, not a rendering of the whole page. Past this many
+// leaves the capture is measuring an unbounded list and should be an archetype
+// instead, so fail rather than bake it in.
+const MAX_BONES = 220;
+
const log = (...a) => console.log('[bones]', ...a);
// ---- driver ---------------------------------------------------------------
@@ -77,15 +94,42 @@ async function login(page) {
await page.goto(`${BASE}/login`, { waitUntil: 'domcontentloaded', timeout: 30000 });
// Already authenticated? A redirect away from /login means we're in.
if (!/\/login/.test(page.url())) return;
- const user = page.locator('input[name="username"], input[type="text"]').first();
- const pass = page.locator('input[type="password"]').first();
- if (await user.count()) {
- await user.fill(USER);
- await pass.fill(PASS);
- await Promise.all([
- page.waitForNavigation({ waitUntil: 'domcontentloaded', timeout: 30000 }).catch(() => {}),
- page.locator('button[type="submit"], button:has-text("Sign in"), button:has-text("Log in")').first().click(),
- ]);
+
+ // Target the credential fields by id. A generic `input[type="text"]` also
+ // matches the 2FA digit boxes rendered above this form, and filling one of
+ // those silently leaves the real form empty — every target then times out
+ // waiting for page content that never loads because we are still on /login.
+ const user = page.locator('#email');
+ const pass = page.locator('#password');
+ await user.waitFor({ state: 'visible', timeout: 15000 });
+ await user.fill(USER);
+ await pass.fill(PASS);
+ await Promise.all([
+ page.waitForURL((u) => !/\/login/.test(String(u)), { timeout: 30000 }).catch(() => {}),
+ page.locator('button[type="submit"]').first().click(),
+ ]);
+
+ if (/\/login/.test(page.url())) {
+ throw new Error(
+ `login as "${USER}" failed — still on /login. Check SK_USER/SK_PASS `
+ + '(the dev default admin/admin only exists on a freshly seeded database).',
+ );
+ }
+
+ // Pin the session for the rest of the run. The API client clears both
+ // tokens from localStorage whenever any request 401s (a single admin-only
+ // endpoint returning 401 is enough), which bounced every target after the
+ // first couple to /login. Re-seeding the captured tokens before app code
+ // runs on each navigation makes the run independent of that.
+ const tokens = await page.evaluate(() => ({
+ access: localStorage.getItem('access_token'),
+ refresh: localStorage.getItem('refresh_token'),
+ }));
+ if (tokens.access) {
+ await page.context().addInitScript(({ access, refresh }) => {
+ localStorage.setItem('access_token', access);
+ if (refresh) localStorage.setItem('refresh_token', refresh);
+ }, tokens);
}
}
@@ -105,8 +149,20 @@ async function main() {
for (const t of targets) {
process.stdout.write(`[bones] ${t.key.padEnd(16)} `);
try {
- await page.goto(`${BASE}${t.path}`, { waitUntil: 'domcontentloaded', timeout: 30000 });
- await page.waitForSelector(t.waitFor, { timeout: 15000, state: 'visible' });
+ // Each target is a full page load, and a mid-run 401 can still
+ // bounce one to /login despite the pinned tokens. Re-auth and
+ // retry once, so a single flake doesn't cost a whole region.
+ for (let attempt = 0; ; attempt += 1) {
+ await page.goto(`${BASE}${t.path}`, { waitUntil: 'domcontentloaded', timeout: 30000 });
+ if (/\/login/.test(page.url())) await login(page);
+ try {
+ await page.waitForSelector(t.waitFor, { timeout: 15000, state: 'visible' });
+ break;
+ } catch (waitErr) {
+ if (attempt >= 1) throw waitErr;
+ await login(page);
+ }
+ }
await page.waitForTimeout(600); // let layout settle
const snapshot = await page.evaluate(
({ selector, key, fnSrc }) => {
@@ -118,11 +174,28 @@ async function main() {
{ selector: t.selector, key: t.key, fnSrc: snapshotBones.toString() },
);
if (!snapshot || !snapshot.bones.length) throw new Error(`no bones captured for ${t.selector}`);
+ if (snapshot.bones.length > MAX_BONES) {
+ throw new Error(
+ `${snapshot.bones.length} bones over ${snapshot.height}px exceeds the ${MAX_BONES} cap — `
+ + 'this region is an unbounded list; use a PageSkeleton archetype instead',
+ );
+ }
await writeFile(path.join(OUT_DIR, `${t.key}.json`), JSON.stringify(snapshot, null, 2) + '\n');
console.log(`OK (${snapshot.bones.length} bones, ${snapshot.height}px)`);
} catch (e) {
failed += 1;
- console.log(`FAIL ${e.message}`);
+ // A bare "waitForSelector timeout" hides the usual causes —
+ // bounced to /login, route not found, or the page rendered its
+ // empty state because the dev database has no rows for it. Say
+ // which, so the fix is obvious.
+ const url = page.url();
+ let why = '';
+ try {
+ if (/\/login/.test(url)) why = ' (bounced to /login — session lost)';
+ else if (await page.locator('.empty-state').count()) why = ' (page rendered its empty state — no seeded data for this target)';
+ else if (!(await page.locator(t.selector).count())) why = ` (root ${t.selector} not on the page — wrong route or class)`;
+ } catch { /* page may be gone */ }
+ console.log(`FAIL ${e.message.split('\n')[0]}${why} [at ${url}]`);
}
}
} finally {
diff --git a/frontend/src/skeletons/domains.json b/frontend/src/skeletons/domains.json
new file mode 100644
index 00000000..6031484d
--- /dev/null
+++ b/frontend/src/skeletons/domains.json
@@ -0,0 +1,347 @@
+{
+ "name": "domains",
+ "viewportWidth": 1190,
+ "width": 1190,
+ "height": 439,
+ "bones": [
+ {
+ "x": 2.0168,
+ "y": 44,
+ "w": 22.9832,
+ "h": 132,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 3.5294,
+ "y": 61,
+ "w": 2.6891,
+ "h": 32,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 4.3137,
+ "y": 70,
+ "w": 1.1204,
+ "h": 13,
+ "r": 8
+ },
+ {
+ "x": 4.6499,
+ "y": 70,
+ "w": 0.4482,
+ "h": 13,
+ "r": 8
+ },
+ {
+ "x": 3.5294,
+ "y": 107,
+ "w": 19.958,
+ "h": 27,
+ "r": 8
+ },
+ {
+ "x": 3.5294,
+ "y": 140,
+ "w": 19.958,
+ "h": 19,
+ "r": 8
+ },
+ {
+ "x": 26.3445,
+ "y": 44,
+ "w": 22.9832,
+ "h": 132,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 27.8571,
+ "y": 61,
+ "w": 2.6891,
+ "h": 32,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 28.6975,
+ "y": 76,
+ "w": 1.0084,
+ "h": 7,
+ "r": 8
+ },
+ {
+ "x": 28.9216,
+ "y": 70,
+ "w": 0.5602,
+ "h": 6,
+ "r": 8
+ },
+ {
+ "x": 27.8571,
+ "y": 107,
+ "w": 19.958,
+ "h": 27,
+ "r": 8
+ },
+ {
+ "x": 27.8571,
+ "y": 140,
+ "w": 19.958,
+ "h": 19,
+ "r": 8
+ },
+ {
+ "x": 50.6723,
+ "y": 44,
+ "w": 22.9832,
+ "h": 132,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 52.1849,
+ "y": 61,
+ "w": 2.6891,
+ "h": 32,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 52.9692,
+ "y": 70,
+ "w": 1.1205,
+ "h": 13,
+ "r": 8
+ },
+ {
+ "x": 53.5294,
+ "y": 73,
+ "w": 0.2241,
+ "h": 5,
+ "r": 8
+ },
+ {
+ "x": 52.1849,
+ "y": 107,
+ "w": 19.958,
+ "h": 27,
+ "r": 8
+ },
+ {
+ "x": 52.1849,
+ "y": 140,
+ "w": 19.958,
+ "h": 19,
+ "r": 8
+ },
+ {
+ "x": 75,
+ "y": 44,
+ "w": 22.9832,
+ "h": 132,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 76.5126,
+ "y": 61,
+ "w": 2.6891,
+ "h": 32,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 77.2959,
+ "y": 71,
+ "w": 1.1213,
+ "h": 12,
+ "r": 8
+ },
+ {
+ "x": 76.5126,
+ "y": 107,
+ "w": 19.958,
+ "h": 27,
+ "r": 8
+ },
+ {
+ "x": 76.5126,
+ "y": 140,
+ "w": 19.958,
+ "h": 19,
+ "r": 8
+ },
+ {
+ "x": 2.0168,
+ "y": 204,
+ "w": 6.2841,
+ "h": 19,
+ "r": 8
+ },
+ {
+ "x": 79.329,
+ "y": 196,
+ "w": 18.6541,
+ "h": 36,
+ "r": 9,
+ "c": true
+ },
+ {
+ "x": 79.6652,
+ "y": 200,
+ "w": 3.2721,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 83.1053,
+ "y": 200,
+ "w": 7.8493,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 91.1226,
+ "y": 200,
+ "w": 6.5244,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 2.0168,
+ "y": 244,
+ "w": 95.9664,
+ "h": 156,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 2.1008,
+ "y": 245,
+ "w": 34.073,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 36.1738,
+ "y": 245,
+ "w": 16.0399,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 52.2138,
+ "y": 245,
+ "w": 11.7004,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 63.9141,
+ "y": 245,
+ "w": 15.2258,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 79.14,
+ "y": 245,
+ "w": 14.7256,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 93.8655,
+ "y": 245,
+ "w": 4.0336,
+ "h": 40,
+ "r": 8
+ },
+ {
+ "x": 2.1008,
+ "y": 285,
+ "w": 34.073,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 36.1738,
+ "y": 285,
+ "w": 16.0399,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 52.2138,
+ "y": 285,
+ "w": 11.7004,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 63.9141,
+ "y": 285,
+ "w": 15.2258,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 79.14,
+ "y": 285,
+ "w": 14.7256,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 93.8655,
+ "y": 285,
+ "w": 4.0336,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 2.1008,
+ "y": 342,
+ "w": 34.073,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 36.1738,
+ "y": 342,
+ "w": 16.0399,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 52.2138,
+ "y": 342,
+ "w": 11.7004,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 63.9141,
+ "y": 342,
+ "w": 15.2258,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 79.14,
+ "y": 342,
+ "w": 14.7256,
+ "h": 57,
+ "r": 8
+ },
+ {
+ "x": 93.8655,
+ "y": 342,
+ "w": 4.0336,
+ "h": 57,
+ "r": 8
+ }
+ ]
+}
diff --git a/frontend/src/skeletons/services.json b/frontend/src/skeletons/services.json
new file mode 100644
index 00000000..e52eba00
--- /dev/null
+++ b/frontend/src/skeletons/services.json
@@ -0,0 +1,285 @@
+{
+ "name": "services",
+ "viewportWidth": 1190,
+ "width": 1190,
+ "height": 322,
+ "bones": [
+ {
+ "x": 3.3613,
+ "y": 40,
+ "w": 19.6836,
+ "h": 36,
+ "r": 9,
+ "c": true
+ },
+ {
+ "x": 3.6975,
+ "y": 44,
+ "w": 4.3908,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 8.2563,
+ "y": 44,
+ "w": 7.1494,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 15.5738,
+ "y": 44,
+ "w": 7.135,
+ "h": 28,
+ "r": 6
+ },
+ {
+ "x": 69.0756,
+ "y": 42,
+ "w": 20.1681,
+ "h": 32,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 70.1576,
+ "y": 52,
+ "w": 0.8403,
+ "h": 10,
+ "r": 8
+ },
+ {
+ "x": 70.8771,
+ "y": 61,
+ "w": 0.2258,
+ "h": 3,
+ "r": 8
+ },
+ {
+ "x": 71.9328,
+ "y": 51,
+ "w": 16.3866,
+ "h": 15,
+ "r": 8
+ },
+ {
+ "x": 90.2521,
+ "y": 41,
+ "w": 6.3866,
+ "h": 35,
+ "r": 9,
+ "c": true
+ },
+ {
+ "x": 90.5882,
+ "y": 45,
+ "w": 2.7731,
+ "h": 27,
+ "r": 6
+ },
+ {
+ "x": 93.5294,
+ "y": 45,
+ "w": 2.7731,
+ "h": 27,
+ "r": 6
+ },
+ {
+ "x": 3.3613,
+ "y": 88,
+ "w": 93.2773,
+ "h": 178,
+ "r": 10,
+ "c": true
+ },
+ {
+ "x": 3.4454,
+ "y": 89,
+ "w": 4.0336,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 7.479,
+ "y": 89,
+ "w": 11.938,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 19.417,
+ "y": 89,
+ "w": 9.3448,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 28.7618,
+ "y": 89,
+ "w": 16.078,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 44.8398,
+ "y": 89,
+ "w": 12.0168,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 56.8566,
+ "y": 89,
+ "w": 7.5066,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 64.3632,
+ "y": 89,
+ "w": 7.7705,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 72.1337,
+ "y": 89,
+ "w": 9.2949,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 81.4286,
+ "y": 89,
+ "w": 15.1261,
+ "h": 43,
+ "r": 8
+ },
+ {
+ "x": 3.4454,
+ "y": 132,
+ "w": 4.0336,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 7.479,
+ "y": 132,
+ "w": 11.938,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 19.417,
+ "y": 132,
+ "w": 9.3448,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 28.7618,
+ "y": 132,
+ "w": 16.078,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 44.8398,
+ "y": 132,
+ "w": 12.0168,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 56.8566,
+ "y": 132,
+ "w": 7.5066,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 64.3632,
+ "y": 132,
+ "w": 7.7705,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 72.1337,
+ "y": 132,
+ "w": 9.2949,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 81.4286,
+ "y": 132,
+ "w": 15.1261,
+ "h": 67,
+ "r": 8
+ },
+ {
+ "x": 3.4454,
+ "y": 199,
+ "w": 4.0336,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 7.479,
+ "y": 199,
+ "w": 11.938,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 19.417,
+ "y": 199,
+ "w": 9.3448,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 28.7618,
+ "y": 199,
+ "w": 16.078,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 44.8398,
+ "y": 199,
+ "w": 12.0168,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 56.8566,
+ "y": 199,
+ "w": 7.5066,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 64.3632,
+ "y": 199,
+ "w": 7.7705,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 72.1337,
+ "y": 199,
+ "w": 9.2949,
+ "h": 66,
+ "r": 8
+ },
+ {
+ "x": 81.4286,
+ "y": 199,
+ "w": 15.1261,
+ "h": 66,
+ "r": 8
+ }
+ ]
+}
diff --git a/frontend/src/skeletons/ssl.json b/frontend/src/skeletons/ssl.json
new file mode 100644
index 00000000..2edd7f40
--- /dev/null
+++ b/frontend/src/skeletons/ssl.json
@@ -0,0 +1,153 @@
+{
+ "name": "ssl",
+ "viewportWidth": 1190,
+ "width": 1190,
+ "height": 342,
+ "bones": [
+ {
+ "x": 2.0168,
+ "y": 24,
+ "w": 31.0924,
+ "h": 82,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 3.4454,
+ "y": 41,
+ "w": 4.0336,
+ "h": 48,
+ "r": 6
+ },
+ {
+ "x": 8.4874,
+ "y": 45,
+ "w": 12.756,
+ "h": 20,
+ "r": 6
+ },
+ {
+ "x": 8.4874,
+ "y": 73,
+ "w": 8.1171,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 34.4538,
+ "y": 24,
+ "w": 31.0924,
+ "h": 82,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 35.8824,
+ "y": 41,
+ "w": 4.0336,
+ "h": 48,
+ "r": 6
+ },
+ {
+ "x": 40.9244,
+ "y": 45,
+ "w": 12.756,
+ "h": 20,
+ "r": 6
+ },
+ {
+ "x": 40.9244,
+ "y": 73,
+ "w": 8.1171,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 66.8908,
+ "y": 24,
+ "w": 31.0924,
+ "h": 82,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 68.3193,
+ "y": 41,
+ "w": 4.0336,
+ "h": 48,
+ "r": 6
+ },
+ {
+ "x": 73.3613,
+ "y": 45,
+ "w": 12.756,
+ "h": 20,
+ "r": 6
+ },
+ {
+ "x": 73.3613,
+ "y": 73,
+ "w": 8.1171,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 2.0168,
+ "y": 126,
+ "w": 95.9664,
+ "h": 82,
+ "r": 12,
+ "c": true
+ },
+ {
+ "x": 3.7815,
+ "y": 143,
+ "w": 4.0336,
+ "h": 48,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 147,
+ "w": 16.8067,
+ "h": 20,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 175,
+ "w": 23.5294,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 2.0168,
+ "y": 220,
+ "w": 95.9664,
+ "h": 82,
+ "r": 12,
+ "c": true
+ },
+ {
+ "x": 3.7815,
+ "y": 237,
+ "w": 4.0336,
+ "h": 48,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 241,
+ "w": 16.8067,
+ "h": 20,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 269,
+ "w": 23.5294,
+ "h": 12,
+ "r": 6
+ }
+ ]
+}
diff --git a/frontend/src/skeletons/wordpress-list.json b/frontend/src/skeletons/wordpress-list.json
new file mode 100644
index 00000000..dabe3e4b
--- /dev/null
+++ b/frontend/src/skeletons/wordpress-list.json
@@ -0,0 +1,200 @@
+{
+ "name": "wordpress-list",
+ "viewportWidth": 1190,
+ "width": 1190,
+ "height": 231,
+ "bones": [
+ {
+ "x": 3.3613,
+ "y": 40,
+ "w": 30.1956,
+ "h": 135,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 4.7899,
+ "y": 57,
+ "w": 3.3613,
+ "h": 40,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 59,
+ "w": 9.9488,
+ "h": 16,
+ "r": 6
+ },
+ {
+ "x": 9.1597,
+ "y": 83,
+ "w": 13.2655,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 26.7503,
+ "y": 65,
+ "w": 5.3782,
+ "h": 24,
+ "r": 6
+ },
+ {
+ "x": 4.7899,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 4.7899,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ },
+ {
+ "x": 18.9627,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 18.9627,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ },
+ {
+ "x": 34.9015,
+ "y": 40,
+ "w": 30.1956,
+ "h": 135,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 36.3301,
+ "y": 57,
+ "w": 3.3613,
+ "h": 40,
+ "r": 6
+ },
+ {
+ "x": 40.6998,
+ "y": 59,
+ "w": 9.9488,
+ "h": 16,
+ "r": 6
+ },
+ {
+ "x": 40.6998,
+ "y": 83,
+ "w": 13.2655,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 58.2904,
+ "y": 65,
+ "w": 5.3782,
+ "h": 24,
+ "r": 6
+ },
+ {
+ "x": 36.3301,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 36.3301,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ },
+ {
+ "x": 50.5029,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 50.5029,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ },
+ {
+ "x": 66.4417,
+ "y": 40,
+ "w": 30.197,
+ "h": 135,
+ "r": 8,
+ "c": true
+ },
+ {
+ "x": 67.8703,
+ "y": 57,
+ "w": 3.3613,
+ "h": 40,
+ "r": 6
+ },
+ {
+ "x": 72.24,
+ "y": 59,
+ "w": 9.9501,
+ "h": 16,
+ "r": 6
+ },
+ {
+ "x": 72.24,
+ "y": 83,
+ "w": 13.2668,
+ "h": 12,
+ "r": 6
+ },
+ {
+ "x": 89.8319,
+ "y": 65,
+ "w": 5.3782,
+ "h": 24,
+ "r": 6
+ },
+ {
+ "x": 67.8703,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 67.8703,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ },
+ {
+ "x": 82.0444,
+ "y": 130,
+ "w": 6.5822,
+ "h": 10,
+ "r": 6
+ },
+ {
+ "x": 82.0444,
+ "y": 144,
+ "w": 9.2148,
+ "h": 14,
+ "r": 6
+ }
+ ]
+}