From 48f0c30d47d62e4f35706edb93a1bb2f97eba14c Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Sun, 1 Mar 2026 16:04:11 -0800
Subject: chore(biome): enable svelte formatting

---
 src/lib/Tools/DumpProfile.svelte | 44 ++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

(limited to 'src/lib/Tools/DumpProfile.svelte')

diff --git a/src/lib/Tools/DumpProfile.svelte b/src/lib/Tools/DumpProfile.svelte
index 717814d2..a111028c 100644
--- a/src/lib/Tools/DumpProfile.svelte
+++ b/src/lib/Tools/DumpProfile.svelte
@@ -1,30 +1,30 @@
 <script lang="ts">
-  import Spacer from '$lib/Layout/Spacer.svelte';
-  import { dumpUser } from '$lib/Data/AniList/user';
-  import RateLimited from '$lib/Error/RateLimited.svelte';
-  import Skeleton from '$lib/Loading/Skeleton.svelte';
-  import InputTemplate from './InputTemplate.svelte';
-  import LZString from 'lz-string';
-
-  let submission = '';
-
-  // Credit: @hoh
-  const decodeJSON = (about: string): JSON | null => {
-    const match = (about || '').match(/^\[\]\(json([A-Za-z0-9+/=]+)\)/);
-
-    if (match)
+import Spacer from '$lib/Layout/Spacer.svelte';
+import { dumpUser } from '$lib/Data/AniList/user';
+import RateLimited from '$lib/Error/RateLimited.svelte';
+import Skeleton from '$lib/Loading/Skeleton.svelte';
+import InputTemplate from './InputTemplate.svelte';
+import LZString from 'lz-string';
+
+let submission = '';
+
+// Credit: @hoh
+const decodeJSON = (about: string): JSON | null => {
+  const match = (about || '').match(/^\[\]\(json([A-Za-z0-9+/=]+)\)/);
+
+  if (match)
+    try {
+      return JSON.parse(atob(match[1]));
+    } catch {
       try {
-        return JSON.parse(atob(match[1]));
+        return JSON.parse(LZString.decompressFromBase64(match[1]));
       } catch {
-        try {
-          return JSON.parse(LZString.decompressFromBase64(match[1]));
-        } catch {
-          return null;
-        }
+        return null;
       }
+    }
 
-    return null;
-  };
+  return null;
+};
 </script>
 
 <InputTemplate field="Username" bind:submission event="Dump User" submitText="Dump">
-- 
cgit v1.2.3

