jbilcke-hf HF staff commited on
Commit
f6f68f6
β€’
1 Parent(s): ff4ed1e

fix issue with PDF when using 1 page

Browse files
next.config.js CHANGED
@@ -3,9 +3,10 @@ const nextConfig = {
3
  output: 'standalone',
4
 
5
  experimental: {
6
- serverActions: true,
7
- serverActionsBodySizeLimit: '8mb',
8
- },
 
9
  }
10
 
11
  module.exports = nextConfig
 
3
  output: 'standalone',
4
 
5
  experimental: {
6
+ serverActions: {
7
+ bodySizeLimit: '8mb',
8
+ },
9
+ }
10
  }
11
 
12
  module.exports = nextConfig
package-lock.json CHANGED
@@ -31,9 +31,9 @@
31
  "@types/react": "18.2.15",
32
  "@types/react-dom": "18.2.7",
33
  "@types/uuid": "^9.0.2",
34
- "autoprefixer": "10.4.14",
35
  "class-variance-authority": "^0.6.1",
36
- "clsx": "^2.0.0",
37
  "cmdk": "^0.2.0",
38
  "cookies-next": "^2.1.2",
39
  "date-fns": "^2.30.0",
@@ -44,10 +44,10 @@
44
  "html2canvas": "^1.4.1",
45
  "konva": "^9.2.2",
46
  "lucide-react": "^0.260.0",
47
- "next": "13.4.10",
48
- "openai": "^4.17.5",
49
  "pick": "^0.0.1",
50
- "postcss": "8.4.26",
51
  "react": "18.2.0",
52
  "react-circular-progressbar": "^2.1.0",
53
  "react-contenteditable": "^3.3.7",
@@ -56,11 +56,11 @@
56
  "react-icons": "^4.11.0",
57
  "react-konva": "^18.2.10",
58
  "react-virtualized-auto-sizer": "^1.0.20",
59
- "replicate": "^0.21.1",
60
  "sbd": "^1.0.19",
61
- "sharp": "^0.32.5",
62
- "tailwind-merge": "^1.13.2",
63
- "tailwindcss": "3.3.3",
64
  "tailwindcss-animate": "^1.0.6",
65
  "ts-node": "^10.9.1",
66
  "typescript": "5.1.6",
@@ -94,9 +94,9 @@
94
  }
95
  },
96
  "node_modules/@babel/runtime": {
97
- "version": "7.23.9",
98
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz",
99
- "integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==",
100
  "dependencies": {
101
  "regenerator-runtime": "^0.14.0"
102
  },
@@ -124,6 +124,15 @@
124
  "@jridgewell/sourcemap-codec": "^1.4.10"
125
  }
126
  },
 
 
 
 
 
 
 
 
 
127
  "node_modules/@eslint-community/eslint-utils": {
128
  "version": "4.4.0",
129
  "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
@@ -259,6 +268,437 @@
259
  "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz",
260
  "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw=="
261
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  "node_modules/@isaacs/cliui": {
263
  "version": "8.0.2",
264
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -344,9 +784,9 @@
344
  }
345
  },
346
  "node_modules/@next/env": {
347
- "version": "13.4.10",
348
- "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.10.tgz",
349
- "integrity": "sha512-3G1yD/XKTSLdihyDSa8JEsaWOELY+OWe08o0LUYzfuHp1zHDA8SObQlzKt+v+wrkkPcnPweoLH1ImZeUa0A1NQ=="
350
  },
351
  "node_modules/@next/eslint-plugin-next": {
352
  "version": "13.4.10",
@@ -357,9 +797,9 @@
357
  }
358
  },
359
  "node_modules/@next/swc-darwin-arm64": {
360
- "version": "13.4.10",
361
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.10.tgz",
362
- "integrity": "sha512-4bsdfKmmg7mgFGph0UorD1xWfZ5jZEw4kKRHYEeTK9bT1QnMbPVPlVXQRIiFPrhoDQnZUoa6duuPUJIEGLV1Jg==",
363
  "cpu": [
364
  "arm64"
365
  ],
@@ -372,9 +812,9 @@
372
  }
373
  },
374
  "node_modules/@next/swc-darwin-x64": {
375
- "version": "13.4.10",
376
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.10.tgz",
377
- "integrity": "sha512-ngXhUBbcZIWZWqNbQSNxQrB9T1V+wgfCzAor2olYuo/YpaL6mUYNUEgeBMhr8qwV0ARSgKaOp35lRvB7EmCRBg==",
378
  "cpu": [
379
  "x64"
380
  ],
@@ -387,9 +827,9 @@
387
  }
388
  },
389
  "node_modules/@next/swc-linux-arm64-gnu": {
390
- "version": "13.4.10",
391
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.10.tgz",
392
- "integrity": "sha512-SjCZZCOmHD4uyM75MVArSAmF5Y+IJSGroPRj2v9/jnBT36SYFTORN8Ag/lhw81W9EeexKY/CUg2e9mdebZOwsg==",
393
  "cpu": [
394
  "arm64"
395
  ],
@@ -402,9 +842,9 @@
402
  }
403
  },
404
  "node_modules/@next/swc-linux-arm64-musl": {
405
- "version": "13.4.10",
406
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.10.tgz",
407
- "integrity": "sha512-F+VlcWijX5qteoYIOxNiBbNE8ruaWuRlcYyIRK10CugqI/BIeCDzEDyrHIHY8AWwbkTwe6GRHabMdE688Rqq4Q==",
408
  "cpu": [
409
  "arm64"
410
  ],
@@ -417,9 +857,9 @@
417
  }
418
  },
419
  "node_modules/@next/swc-linux-x64-gnu": {
420
- "version": "13.4.10",
421
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.10.tgz",
422
- "integrity": "sha512-WDv1YtAV07nhfy3i1visr5p/tjiH6CeXp4wX78lzP1jI07t4PnHHG1WEDFOduXh3WT4hG6yN82EQBQHDi7hBrQ==",
423
  "cpu": [
424
  "x64"
425
  ],
@@ -432,9 +872,9 @@
432
  }
433
  },
434
  "node_modules/@next/swc-linux-x64-musl": {
435
- "version": "13.4.10",
436
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.10.tgz",
437
- "integrity": "sha512-zFkzqc737xr6qoBgDa3AwC7jPQzGLjDlkNmt/ljvQJ/Veri5ECdHjZCUuiTUfVjshNIIpki6FuP0RaQYK9iCRg==",
438
  "cpu": [
439
  "x64"
440
  ],
@@ -447,9 +887,9 @@
447
  }
448
  },
449
  "node_modules/@next/swc-win32-arm64-msvc": {
450
- "version": "13.4.10",
451
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.10.tgz",
452
- "integrity": "sha512-IboRS8IWz5mWfnjAdCekkl8s0B7ijpWeDwK2O8CdgZkoCDY0ZQHBSGiJ2KViAG6+BJVfLvcP+a2fh6cdyBr9QQ==",
453
  "cpu": [
454
  "arm64"
455
  ],
@@ -462,9 +902,9 @@
462
  }
463
  },
464
  "node_modules/@next/swc-win32-ia32-msvc": {
465
- "version": "13.4.10",
466
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.10.tgz",
467
- "integrity": "sha512-bSA+4j8jY4EEiwD/M2bol4uVEu1lBlgsGdvM+mmBm/BbqofNBfaZ2qwSbwE2OwbAmzNdVJRFRXQZ0dkjopTRaQ==",
468
  "cpu": [
469
  "ia32"
470
  ],
@@ -477,9 +917,9 @@
477
  }
478
  },
479
  "node_modules/@next/swc-win32-x64-msvc": {
480
- "version": "13.4.10",
481
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.10.tgz",
482
- "integrity": "sha512-g2+tU63yTWmcVQKDGY0MV1PjjqgZtwM4rB1oVVi/v0brdZAcrcTV+04agKzWtvWroyFz6IqtT0MoZJA7PNyLVw==",
483
  "cpu": [
484
  "x64"
485
  ],
@@ -1671,9 +2111,9 @@
1671
  "integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA=="
1672
  },
1673
  "node_modules/@swc/helpers": {
1674
- "version": "0.5.1",
1675
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz",
1676
- "integrity": "sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==",
1677
  "dependencies": {
1678
  "tslib": "^2.4.0"
1679
  }
@@ -2176,9 +2616,9 @@
2176
  "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
2177
  },
2178
  "node_modules/autoprefixer": {
2179
- "version": "10.4.14",
2180
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz",
2181
- "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==",
2182
  "funding": [
2183
  {
2184
  "type": "opencollective",
@@ -2187,12 +2627,16 @@
2187
  {
2188
  "type": "tidelift",
2189
  "url": "https://tidelift.com/funding/github/npm/autoprefixer"
 
 
 
 
2190
  }
2191
  ],
2192
  "dependencies": {
2193
- "browserslist": "^4.21.5",
2194
- "caniuse-lite": "^1.0.30001464",
2195
- "fraction.js": "^4.2.0",
2196
  "normalize-range": "^0.1.2",
2197
  "picocolors": "^1.0.0",
2198
  "postcss-value-parser": "^4.2.0"
@@ -2234,49 +2678,11 @@
2234
  "dequal": "^2.0.3"
2235
  }
2236
  },
2237
- "node_modules/b4a": {
2238
- "version": "1.6.6",
2239
- "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz",
2240
- "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg=="
2241
- },
2242
  "node_modules/balanced-match": {
2243
  "version": "1.0.2",
2244
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
2245
  "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
2246
  },
2247
- "node_modules/bare-events": {
2248
- "version": "2.2.0",
2249
- "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.0.tgz",
2250
- "integrity": "sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==",
2251
- "optional": true
2252
- },
2253
- "node_modules/bare-fs": {
2254
- "version": "2.1.3",
2255
- "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.1.3.tgz",
2256
- "integrity": "sha512-Oa7F0QJV7We0mtKq7Tk246uiBrl7vun64cPEsJOEwv2vHjnVL9yO7aH3643aSrd4rXfVe7yhJ9LHZywQQAXKFQ==",
2257
- "optional": true,
2258
- "dependencies": {
2259
- "bare-events": "^2.0.0",
2260
- "bare-os": "^2.0.0",
2261
- "bare-path": "^2.0.0",
2262
- "streamx": "^2.13.0"
2263
- }
2264
- },
2265
- "node_modules/bare-os": {
2266
- "version": "2.1.2",
2267
- "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.1.2.tgz",
2268
- "integrity": "sha512-slQjOn78Q8itnzomNAamiKo5MDpEpV3JnoNZ93lyynaFh6paWcU+5c0GVcZ7EYIJC2unN2JGdF1qupdscYl0Yg==",
2269
- "optional": true
2270
- },
2271
- "node_modules/bare-path": {
2272
- "version": "2.1.0",
2273
- "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.0.tgz",
2274
- "integrity": "sha512-DIIg7ts8bdRKwJRJrUMy/PICEaQZaPGZ26lsSx9MJSwIhSrcdHn7/C8W+XmnG/rKi6BaRcz+JO00CjZteybDtw==",
2275
- "optional": true,
2276
- "dependencies": {
2277
- "bare-os": "^2.1.0"
2278
- }
2279
- },
2280
  "node_modules/base-64": {
2281
  "version": "0.1.0",
2282
  "resolved": "https://registry.npmjs.org/base-64/-/base-64-0.1.0.tgz",
@@ -2307,7 +2713,8 @@
2307
  "type": "consulting",
2308
  "url": "https://feross.org/support"
2309
  }
2310
- ]
 
2311
  },
2312
  "node_modules/binary-extensions": {
2313
  "version": "2.2.0",
@@ -2317,16 +2724,6 @@
2317
  "node": ">=8"
2318
  }
2319
  },
2320
- "node_modules/bl": {
2321
- "version": "4.1.0",
2322
- "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
2323
- "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
2324
- "dependencies": {
2325
- "buffer": "^5.5.0",
2326
- "inherits": "^2.0.4",
2327
- "readable-stream": "^3.4.0"
2328
- }
2329
- },
2330
  "node_modules/brace-expansion": {
2331
  "version": "1.1.11",
2332
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -2348,9 +2745,9 @@
2348
  }
2349
  },
2350
  "node_modules/browserslist": {
2351
- "version": "4.22.3",
2352
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz",
2353
- "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==",
2354
  "funding": [
2355
  {
2356
  "type": "opencollective",
@@ -2366,8 +2763,8 @@
2366
  }
2367
  ],
2368
  "dependencies": {
2369
- "caniuse-lite": "^1.0.30001580",
2370
- "electron-to-chromium": "^1.4.648",
2371
  "node-releases": "^2.0.14",
2372
  "update-browserslist-db": "^1.0.13"
2373
  },
@@ -2379,9 +2776,9 @@
2379
  }
2380
  },
2381
  "node_modules/buffer": {
2382
- "version": "5.7.1",
2383
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
2384
- "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
2385
  "funding": [
2386
  {
2387
  "type": "github",
@@ -2396,9 +2793,10 @@
2396
  "url": "https://feross.org/support"
2397
  }
2398
  ],
 
2399
  "dependencies": {
2400
  "base64-js": "^1.3.1",
2401
- "ieee754": "^1.1.13"
2402
  }
2403
  },
2404
  "node_modules/busboy": {
@@ -2446,9 +2844,9 @@
2446
  }
2447
  },
2448
  "node_modules/caniuse-lite": {
2449
- "version": "1.0.30001587",
2450
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz",
2451
- "integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==",
2452
  "funding": [
2453
  {
2454
  "type": "opencollective",
@@ -2521,11 +2919,6 @@
2521
  "node": ">= 6"
2522
  }
2523
  },
2524
- "node_modules/chownr": {
2525
- "version": "1.1.4",
2526
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
2527
- "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
2528
- },
2529
  "node_modules/class-variance-authority": {
2530
  "version": "0.6.1",
2531
  "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.6.1.tgz",
@@ -2973,28 +3366,6 @@
2973
  }
2974
  }
2975
  },
2976
- "node_modules/decompress-response": {
2977
- "version": "6.0.0",
2978
- "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
2979
- "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
2980
- "dependencies": {
2981
- "mimic-response": "^3.1.0"
2982
- },
2983
- "engines": {
2984
- "node": ">=10"
2985
- },
2986
- "funding": {
2987
- "url": "https://github.com/sponsors/sindresorhus"
2988
- }
2989
- },
2990
- "node_modules/deep-extend": {
2991
- "version": "0.6.0",
2992
- "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
2993
- "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
2994
- "engines": {
2995
- "node": ">=4.0.0"
2996
- }
2997
- },
2998
  "node_modules/deep-is": {
2999
  "version": "0.1.4",
3000
  "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
@@ -3055,9 +3426,9 @@
3055
  }
3056
  },
3057
  "node_modules/detect-libc": {
3058
- "version": "2.0.2",
3059
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz",
3060
- "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==",
3061
  "engines": {
3062
  "node": ">=8"
3063
  }
@@ -3173,9 +3544,9 @@
3173
  "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
3174
  },
3175
  "node_modules/electron-to-chromium": {
3176
- "version": "1.4.665",
3177
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.665.tgz",
3178
- "integrity": "sha512-UpyCWObBoD+nSZgOC2ToaIdZB0r9GhqT2WahPKiSki6ckkSuKhQNso8V2PrFcHBMleI/eqbKgVQgVC4Wni4ilw=="
3179
  },
3180
  "node_modules/emoji-regex": {
3181
  "version": "9.2.2",
@@ -3190,14 +3561,6 @@
3190
  "iconv-lite": "^0.6.2"
3191
  }
3192
  },
3193
- "node_modules/end-of-stream": {
3194
- "version": "1.4.4",
3195
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
3196
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
3197
- "dependencies": {
3198
- "once": "^1.4.0"
3199
- }
3200
- },
3201
  "node_modules/enhanced-resolve": {
3202
  "version": "5.15.0",
3203
  "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz",
@@ -3760,12 +4123,13 @@
3760
  "node": ">=6"
3761
  }
3762
  },
3763
- "node_modules/expand-template": {
3764
- "version": "2.0.3",
3765
- "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
3766
- "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
 
3767
  "engines": {
3768
- "node": ">=6"
3769
  }
3770
  },
3771
  "node_modules/fast-deep-equal": {
@@ -3773,11 +4137,6 @@
3773
  "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
3774
  "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
3775
  },
3776
- "node_modules/fast-fifo": {
3777
- "version": "1.3.2",
3778
- "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
3779
- "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="
3780
- },
3781
  "node_modules/fast-glob": {
3782
  "version": "3.3.2",
3783
  "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
@@ -3950,11 +4309,6 @@
3950
  "url": "https://github.com/sponsors/rawify"
3951
  }
3952
  },
3953
- "node_modules/fs-constants": {
3954
- "version": "1.0.0",
3955
- "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
3956
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
3957
- },
3958
  "node_modules/fs.realpath": {
3959
  "version": "1.0.0",
3960
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -4059,11 +4413,6 @@
4059
  "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
4060
  }
4061
  },
4062
- "node_modules/github-from-package": {
4063
- "version": "0.0.0",
4064
- "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
4065
- "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw=="
4066
- },
4067
  "node_modules/glob": {
4068
  "version": "7.1.7",
4069
  "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
@@ -4094,11 +4443,6 @@
4094
  "node": ">=10.13.0"
4095
  }
4096
  },
4097
- "node_modules/glob-to-regexp": {
4098
- "version": "0.4.1",
4099
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
4100
- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="
4101
- },
4102
  "node_modules/globals": {
4103
  "version": "13.24.0",
4104
  "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
@@ -4336,7 +4680,8 @@
4336
  "type": "consulting",
4337
  "url": "https://feross.org/support"
4338
  }
4339
- ]
 
4340
  },
4341
  "node_modules/ignore": {
4342
  "version": "5.3.1",
@@ -4383,11 +4728,6 @@
4383
  "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
4384
  "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
4385
  },
4386
- "node_modules/ini": {
4387
- "version": "1.3.8",
4388
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
4389
- "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
4390
- },
4391
  "node_modules/internal-slot": {
4392
  "version": "1.0.7",
4393
  "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
@@ -5027,17 +5367,6 @@
5027
  "node": ">= 0.6"
5028
  }
5029
  },
5030
- "node_modules/mimic-response": {
5031
- "version": "3.1.0",
5032
- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
5033
- "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
5034
- "engines": {
5035
- "node": ">=10"
5036
- },
5037
- "funding": {
5038
- "url": "https://github.com/sponsors/sindresorhus"
5039
- }
5040
- },
5041
  "node_modules/minimatch": {
5042
  "version": "3.1.2",
5043
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
@@ -5065,11 +5394,6 @@
5065
  "node": ">=16 || 14 >=14.17"
5066
  }
5067
  },
5068
- "node_modules/mkdirp-classic": {
5069
- "version": "0.5.3",
5070
- "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
5071
- "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
5072
- },
5073
  "node_modules/ms": {
5074
  "version": "2.1.2",
5075
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -5102,50 +5426,43 @@
5102
  "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
5103
  }
5104
  },
5105
- "node_modules/napi-build-utils": {
5106
- "version": "1.0.2",
5107
- "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
5108
- "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg=="
5109
- },
5110
  "node_modules/natural-compare": {
5111
  "version": "1.4.0",
5112
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
5113
  "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
5114
  },
5115
  "node_modules/next": {
5116
- "version": "13.4.10",
5117
- "resolved": "https://registry.npmjs.org/next/-/next-13.4.10.tgz",
5118
- "integrity": "sha512-4ep6aKxVTQ7rkUW2fBLhpBr/5oceCuf4KmlUpvG/aXuDTIf9mexNSpabUD6RWPspu6wiJJvozZREhXhueYO36A==",
5119
  "dependencies": {
5120
- "@next/env": "13.4.10",
5121
- "@swc/helpers": "0.5.1",
5122
  "busboy": "1.6.0",
5123
- "caniuse-lite": "^1.0.30001406",
5124
- "postcss": "8.4.14",
5125
- "styled-jsx": "5.1.1",
5126
- "watchpack": "2.4.0",
5127
- "zod": "3.21.4"
5128
  },
5129
  "bin": {
5130
  "next": "dist/bin/next"
5131
  },
5132
  "engines": {
5133
- "node": ">=16.8.0"
5134
  },
5135
  "optionalDependencies": {
5136
- "@next/swc-darwin-arm64": "13.4.10",
5137
- "@next/swc-darwin-x64": "13.4.10",
5138
- "@next/swc-linux-arm64-gnu": "13.4.10",
5139
- "@next/swc-linux-arm64-musl": "13.4.10",
5140
- "@next/swc-linux-x64-gnu": "13.4.10",
5141
- "@next/swc-linux-x64-musl": "13.4.10",
5142
- "@next/swc-win32-arm64-msvc": "13.4.10",
5143
- "@next/swc-win32-ia32-msvc": "13.4.10",
5144
- "@next/swc-win32-x64-msvc": "13.4.10"
5145
  },
5146
  "peerDependencies": {
5147
  "@opentelemetry/api": "^1.1.0",
5148
- "fibers": ">= 3.1.0",
5149
  "react": "^18.2.0",
5150
  "react-dom": "^18.2.0",
5151
  "sass": "^1.3.0"
@@ -5154,18 +5471,15 @@
5154
  "@opentelemetry/api": {
5155
  "optional": true
5156
  },
5157
- "fibers": {
5158
- "optional": true
5159
- },
5160
  "sass": {
5161
  "optional": true
5162
  }
5163
  }
5164
  },
5165
  "node_modules/next/node_modules/postcss": {
5166
- "version": "8.4.14",
5167
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
5168
- "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==",
5169
  "funding": [
5170
  {
5171
  "type": "opencollective",
@@ -5174,10 +5488,14 @@
5174
  {
5175
  "type": "tidelift",
5176
  "url": "https://tidelift.com/funding/github/npm/postcss"
 
 
 
 
5177
  }
5178
  ],
5179
  "dependencies": {
5180
- "nanoid": "^3.3.4",
5181
  "picocolors": "^1.0.0",
5182
  "source-map-js": "^1.0.2"
5183
  },
@@ -5185,22 +5503,6 @@
5185
  "node": "^10 || ^12 || >=14"
5186
  }
5187
  },
5188
- "node_modules/node-abi": {
5189
- "version": "3.54.0",
5190
- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.54.0.tgz",
5191
- "integrity": "sha512-p7eGEiQil0YUV3ItH4/tBb781L5impVmmx2E9FRKF7d18XXzp4PGT2tdYMFY6wQqgxD0IwNZOiSJ0/K0fSi/OA==",
5192
- "dependencies": {
5193
- "semver": "^7.3.5"
5194
- },
5195
- "engines": {
5196
- "node": ">=10"
5197
- }
5198
- },
5199
- "node_modules/node-addon-api": {
5200
- "version": "6.1.0",
5201
- "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz",
5202
- "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA=="
5203
- },
5204
  "node_modules/node-domexception": {
5205
  "version": "1.0.0",
5206
  "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
@@ -5386,9 +5688,9 @@
5386
  }
5387
  },
5388
  "node_modules/openai": {
5389
- "version": "4.27.0",
5390
- "resolved": "https://registry.npmjs.org/openai/-/openai-4.27.0.tgz",
5391
- "integrity": "sha512-j1ZEx9NiBpm31rxWqQTjQt1QvH/8001xHsc/pRoPjkRDYWONCb+qkR6L9C7Wl6ar72Mz1ybtn1bv6fqAoTPlKw==",
5392
  "dependencies": {
5393
  "@types/node": "^18.11.18",
5394
  "@types/node-fetch": "^2.6.4",
@@ -5573,9 +5875,9 @@
5573
  }
5574
  },
5575
  "node_modules/postcss": {
5576
- "version": "8.4.26",
5577
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.26.tgz",
5578
- "integrity": "sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==",
5579
  "funding": [
5580
  {
5581
  "type": "opencollective",
@@ -5591,9 +5893,9 @@
5591
  }
5592
  ],
5593
  "dependencies": {
5594
- "nanoid": "^3.3.6",
5595
  "picocolors": "^1.0.0",
5596
- "source-map-js": "^1.0.2"
5597
  },
5598
  "engines": {
5599
  "node": "^10 || ^12 || >=14"
@@ -5710,57 +6012,6 @@
5710
  "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
5711
  "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
5712
  },
5713
- "node_modules/prebuild-install": {
5714
- "version": "7.1.1",
5715
- "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz",
5716
- "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==",
5717
- "dependencies": {
5718
- "detect-libc": "^2.0.0",
5719
- "expand-template": "^2.0.3",
5720
- "github-from-package": "0.0.0",
5721
- "minimist": "^1.2.3",
5722
- "mkdirp-classic": "^0.5.3",
5723
- "napi-build-utils": "^1.0.1",
5724
- "node-abi": "^3.3.0",
5725
- "pump": "^3.0.0",
5726
- "rc": "^1.2.7",
5727
- "simple-get": "^4.0.0",
5728
- "tar-fs": "^2.0.0",
5729
- "tunnel-agent": "^0.6.0"
5730
- },
5731
- "bin": {
5732
- "prebuild-install": "bin.js"
5733
- },
5734
- "engines": {
5735
- "node": ">=10"
5736
- }
5737
- },
5738
- "node_modules/prebuild-install/node_modules/tar-fs": {
5739
- "version": "2.1.1",
5740
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
5741
- "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
5742
- "dependencies": {
5743
- "chownr": "^1.1.1",
5744
- "mkdirp-classic": "^0.5.2",
5745
- "pump": "^3.0.0",
5746
- "tar-stream": "^2.1.4"
5747
- }
5748
- },
5749
- "node_modules/prebuild-install/node_modules/tar-stream": {
5750
- "version": "2.2.0",
5751
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
5752
- "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
5753
- "dependencies": {
5754
- "bl": "^4.0.3",
5755
- "end-of-stream": "^1.4.1",
5756
- "fs-constants": "^1.0.0",
5757
- "inherits": "^2.0.3",
5758
- "readable-stream": "^3.1.1"
5759
- },
5760
- "engines": {
5761
- "node": ">=6"
5762
- }
5763
- },
5764
  "node_modules/prelude-ls": {
5765
  "version": "1.2.1",
5766
  "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@@ -5769,6 +6020,15 @@
5769
  "node": ">= 0.8.0"
5770
  }
5771
  },
 
 
 
 
 
 
 
 
 
5772
  "node_modules/prop-types": {
5773
  "version": "15.8.1",
5774
  "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
@@ -5779,15 +6039,6 @@
5779
  "react-is": "^16.13.1"
5780
  }
5781
  },
5782
- "node_modules/pump": {
5783
- "version": "3.0.0",
5784
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
5785
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
5786
- "dependencies": {
5787
- "end-of-stream": "^1.1.0",
5788
- "once": "^1.3.1"
5789
- }
5790
- },
5791
  "node_modules/punycode": {
5792
  "version": "2.3.1",
5793
  "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -5815,33 +6066,6 @@
5815
  }
5816
  ]
5817
  },
5818
- "node_modules/queue-tick": {
5819
- "version": "1.0.1",
5820
- "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
5821
- "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag=="
5822
- },
5823
- "node_modules/rc": {
5824
- "version": "1.2.8",
5825
- "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
5826
- "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
5827
- "dependencies": {
5828
- "deep-extend": "^0.6.0",
5829
- "ini": "~1.3.0",
5830
- "minimist": "^1.2.0",
5831
- "strip-json-comments": "~2.0.1"
5832
- },
5833
- "bin": {
5834
- "rc": "cli.js"
5835
- }
5836
- },
5837
- "node_modules/rc/node_modules/strip-json-comments": {
5838
- "version": "2.0.1",
5839
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
5840
- "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
5841
- "engines": {
5842
- "node": ">=0.10.0"
5843
- }
5844
- },
5845
  "node_modules/react": {
5846
  "version": "18.2.0",
5847
  "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
@@ -6049,16 +6273,19 @@
6049
  }
6050
  },
6051
  "node_modules/readable-stream": {
6052
- "version": "3.6.2",
6053
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
6054
- "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
 
6055
  "dependencies": {
6056
- "inherits": "^2.0.3",
6057
- "string_decoder": "^1.1.1",
6058
- "util-deprecate": "^1.0.1"
 
 
6059
  },
6060
  "engines": {
6061
- "node": ">= 6"
6062
  }
6063
  },
6064
  "node_modules/readdirp": {
@@ -6115,14 +6342,17 @@
6115
  }
6116
  },
6117
  "node_modules/replicate": {
6118
- "version": "0.21.1",
6119
- "resolved": "https://registry.npmjs.org/replicate/-/replicate-0.21.1.tgz",
6120
- "integrity": "sha512-ftR416+tuD55u6Rz0s5QsxoC2ZasslyFg9jxytirPhqFQwTQy9arU0vF29811t4iws8cMc+neL0IUzyq0pFlkQ==",
6121
  "engines": {
6122
  "git": ">=2.11.0",
6123
  "node": ">=18.0.0",
6124
  "npm": ">=7.19.0",
6125
  "yarn": ">=1.7.0"
 
 
 
6126
  }
6127
  },
6128
  "node_modules/resolve": {
@@ -6236,7 +6466,8 @@
6236
  "type": "consulting",
6237
  "url": "https://feross.org/support"
6238
  }
6239
- ]
 
6240
  },
6241
  "node_modules/safe-regex-test": {
6242
  "version": "1.0.3",
@@ -6332,25 +6563,42 @@
6332
  }
6333
  },
6334
  "node_modules/sharp": {
6335
- "version": "0.32.6",
6336
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz",
6337
- "integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==",
6338
  "hasInstallScript": true,
6339
  "dependencies": {
6340
  "color": "^4.2.3",
6341
  "detect-libc": "^2.0.2",
6342
- "node-addon-api": "^6.1.0",
6343
- "prebuild-install": "^7.1.1",
6344
- "semver": "^7.5.4",
6345
- "simple-get": "^4.0.1",
6346
- "tar-fs": "^3.0.4",
6347
- "tunnel-agent": "^0.6.0"
6348
  },
6349
  "engines": {
6350
- "node": ">=14.15.0"
 
6351
  },
6352
  "funding": {
6353
  "url": "https://opencollective.com/libvips"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6354
  }
6355
  },
6356
  "node_modules/shebang-command": {
@@ -6400,49 +6648,6 @@
6400
  "url": "https://github.com/sponsors/isaacs"
6401
  }
6402
  },
6403
- "node_modules/simple-concat": {
6404
- "version": "1.0.1",
6405
- "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
6406
- "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
6407
- "funding": [
6408
- {
6409
- "type": "github",
6410
- "url": "https://github.com/sponsors/feross"
6411
- },
6412
- {
6413
- "type": "patreon",
6414
- "url": "https://www.patreon.com/feross"
6415
- },
6416
- {
6417
- "type": "consulting",
6418
- "url": "https://feross.org/support"
6419
- }
6420
- ]
6421
- },
6422
- "node_modules/simple-get": {
6423
- "version": "4.0.1",
6424
- "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
6425
- "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
6426
- "funding": [
6427
- {
6428
- "type": "github",
6429
- "url": "https://github.com/sponsors/feross"
6430
- },
6431
- {
6432
- "type": "patreon",
6433
- "url": "https://www.patreon.com/feross"
6434
- },
6435
- {
6436
- "type": "consulting",
6437
- "url": "https://feross.org/support"
6438
- }
6439
- ],
6440
- "dependencies": {
6441
- "decompress-response": "^6.0.0",
6442
- "once": "^1.3.1",
6443
- "simple-concat": "^1.0.0"
6444
- }
6445
- },
6446
  "node_modules/simple-swizzle": {
6447
  "version": "0.2.2",
6448
  "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
@@ -6460,9 +6665,9 @@
6460
  }
6461
  },
6462
  "node_modules/source-map-js": {
6463
- "version": "1.0.2",
6464
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
6465
- "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
6466
  "engines": {
6467
  "node": ">=0.10.0"
6468
  }
@@ -6475,22 +6680,11 @@
6475
  "node": ">=10.0.0"
6476
  }
6477
  },
6478
- "node_modules/streamx": {
6479
- "version": "2.15.8",
6480
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.8.tgz",
6481
- "integrity": "sha512-6pwMeMY/SuISiRsuS8TeIrAzyFbG5gGPHFQsYjUr/pbBadaL1PCWmzKw+CHZSwainfvcF6Si6cVLq4XTEwswFQ==",
6482
- "dependencies": {
6483
- "fast-fifo": "^1.1.0",
6484
- "queue-tick": "^1.0.1"
6485
- },
6486
- "optionalDependencies": {
6487
- "bare-events": "^2.2.0"
6488
- }
6489
- },
6490
  "node_modules/string_decoder": {
6491
  "version": "1.3.0",
6492
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
6493
  "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
 
6494
  "dependencies": {
6495
  "safe-buffer": "~5.2.0"
6496
  }
@@ -6767,28 +6961,31 @@
6767
  }
6768
  },
6769
  "node_modules/tailwind-merge": {
6770
- "version": "1.14.0",
6771
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-1.14.0.tgz",
6772
- "integrity": "sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==",
 
 
 
6773
  "funding": {
6774
  "type": "github",
6775
  "url": "https://github.com/sponsors/dcastil"
6776
  }
6777
  },
6778
  "node_modules/tailwindcss": {
6779
- "version": "3.3.3",
6780
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
6781
- "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
6782
  "dependencies": {
6783
  "@alloc/quick-lru": "^5.2.0",
6784
  "arg": "^5.0.2",
6785
  "chokidar": "^3.5.3",
6786
  "didyoumean": "^1.2.2",
6787
  "dlv": "^1.1.3",
6788
- "fast-glob": "^3.2.12",
6789
  "glob-parent": "^6.0.2",
6790
  "is-glob": "^4.0.3",
6791
- "jiti": "^1.18.2",
6792
  "lilconfig": "^2.1.0",
6793
  "micromatch": "^4.0.5",
6794
  "normalize-path": "^3.0.0",
@@ -6827,29 +7024,6 @@
6827
  "node": ">=6"
6828
  }
6829
  },
6830
- "node_modules/tar-fs": {
6831
- "version": "3.0.5",
6832
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.5.tgz",
6833
- "integrity": "sha512-JOgGAmZyMgbqpLwct7ZV8VzkEB6pxXFBVErLtb+XCOqzc6w1xiWKI9GVd6bwk68EX7eJ4DWmfXVmq8K2ziZTGg==",
6834
- "dependencies": {
6835
- "pump": "^3.0.0",
6836
- "tar-stream": "^3.1.5"
6837
- },
6838
- "optionalDependencies": {
6839
- "bare-fs": "^2.1.1",
6840
- "bare-path": "^2.1.0"
6841
- }
6842
- },
6843
- "node_modules/tar-stream": {
6844
- "version": "3.1.7",
6845
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz",
6846
- "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",
6847
- "dependencies": {
6848
- "b4a": "^1.6.4",
6849
- "fast-fifo": "^1.2.0",
6850
- "streamx": "^2.15.0"
6851
- }
6852
- },
6853
  "node_modules/text-segmentation": {
6854
  "version": "1.0.3",
6855
  "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
@@ -6985,17 +7159,6 @@
6985
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
6986
  "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
6987
  },
6988
- "node_modules/tunnel-agent": {
6989
- "version": "0.6.0",
6990
- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
6991
- "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
6992
- "dependencies": {
6993
- "safe-buffer": "^5.0.1"
6994
- },
6995
- "engines": {
6996
- "node": "*"
6997
- }
6998
- },
6999
  "node_modules/type-check": {
7000
  "version": "0.4.0",
7001
  "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -7240,18 +7403,6 @@
7240
  "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
7241
  "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
7242
  },
7243
- "node_modules/watchpack": {
7244
- "version": "2.4.0",
7245
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
7246
- "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==",
7247
- "dependencies": {
7248
- "glob-to-regexp": "^0.4.1",
7249
- "graceful-fs": "^4.1.2"
7250
- },
7251
- "engines": {
7252
- "node": ">=10.13.0"
7253
- }
7254
- },
7255
  "node_modules/web-streams-polyfill": {
7256
  "version": "3.3.2",
7257
  "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz",
@@ -7484,14 +7635,6 @@
7484
  "url": "https://github.com/sponsors/sindresorhus"
7485
  }
7486
  },
7487
- "node_modules/zod": {
7488
- "version": "3.21.4",
7489
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz",
7490
- "integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==",
7491
- "funding": {
7492
- "url": "https://github.com/sponsors/colinhacks"
7493
- }
7494
- },
7495
  "node_modules/zustand": {
7496
  "version": "4.5.0",
7497
  "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.0.tgz",
 
31
  "@types/react": "18.2.15",
32
  "@types/react-dom": "18.2.7",
33
  "@types/uuid": "^9.0.2",
34
+ "autoprefixer": "10.4.18",
35
  "class-variance-authority": "^0.6.1",
36
+ "clsx": "^2.1.0",
37
  "cmdk": "^0.2.0",
38
  "cookies-next": "^2.1.2",
39
  "date-fns": "^2.30.0",
 
44
  "html2canvas": "^1.4.1",
45
  "konva": "^9.2.2",
46
  "lucide-react": "^0.260.0",
47
+ "next": "14.1.4",
48
+ "openai": "^4.29.2",
49
  "pick": "^0.0.1",
50
+ "postcss": "8.4.37",
51
  "react": "18.2.0",
52
  "react-circular-progressbar": "^2.1.0",
53
  "react-contenteditable": "^3.3.7",
 
56
  "react-icons": "^4.11.0",
57
  "react-konva": "^18.2.10",
58
  "react-virtualized-auto-sizer": "^1.0.20",
59
+ "replicate": "^0.29.0",
60
  "sbd": "^1.0.19",
61
+ "sharp": "^0.33.2",
62
+ "tailwind-merge": "^2.2.2",
63
+ "tailwindcss": "3.4.1",
64
  "tailwindcss-animate": "^1.0.6",
65
  "ts-node": "^10.9.1",
66
  "typescript": "5.1.6",
 
94
  }
95
  },
96
  "node_modules/@babel/runtime": {
97
+ "version": "7.24.1",
98
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz",
99
+ "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==",
100
  "dependencies": {
101
  "regenerator-runtime": "^0.14.0"
102
  },
 
124
  "@jridgewell/sourcemap-codec": "^1.4.10"
125
  }
126
  },
127
+ "node_modules/@emnapi/runtime": {
128
+ "version": "0.45.0",
129
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-0.45.0.tgz",
130
+ "integrity": "sha512-Txumi3td7J4A/xTTwlssKieHKTGl3j4A1tglBx72auZ49YK7ePY6XZricgIg9mnZT4xPfA+UPCUdnhRuEFDL+w==",
131
+ "optional": true,
132
+ "dependencies": {
133
+ "tslib": "^2.4.0"
134
+ }
135
+ },
136
  "node_modules/@eslint-community/eslint-utils": {
137
  "version": "4.4.0",
138
  "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
 
268
  "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz",
269
  "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw=="
270
  },
271
+ "node_modules/@img/sharp-darwin-arm64": {
272
+ "version": "0.33.2",
273
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.2.tgz",
274
+ "integrity": "sha512-itHBs1rPmsmGF9p4qRe++CzCgd+kFYktnsoR1sbIAfsRMrJZau0Tt1AH9KVnufc2/tU02Gf6Ibujx+15qRE03w==",
275
+ "cpu": [
276
+ "arm64"
277
+ ],
278
+ "optional": true,
279
+ "os": [
280
+ "darwin"
281
+ ],
282
+ "engines": {
283
+ "glibc": ">=2.26",
284
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
285
+ "npm": ">=9.6.5",
286
+ "pnpm": ">=7.1.0",
287
+ "yarn": ">=3.2.0"
288
+ },
289
+ "funding": {
290
+ "url": "https://opencollective.com/libvips"
291
+ },
292
+ "optionalDependencies": {
293
+ "@img/sharp-libvips-darwin-arm64": "1.0.1"
294
+ }
295
+ },
296
+ "node_modules/@img/sharp-darwin-x64": {
297
+ "version": "0.33.2",
298
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.2.tgz",
299
+ "integrity": "sha512-/rK/69Rrp9x5kaWBjVN07KixZanRr+W1OiyKdXcbjQD6KbW+obaTeBBtLUAtbBsnlTTmWthw99xqoOS7SsySDg==",
300
+ "cpu": [
301
+ "x64"
302
+ ],
303
+ "optional": true,
304
+ "os": [
305
+ "darwin"
306
+ ],
307
+ "engines": {
308
+ "glibc": ">=2.26",
309
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
310
+ "npm": ">=9.6.5",
311
+ "pnpm": ">=7.1.0",
312
+ "yarn": ">=3.2.0"
313
+ },
314
+ "funding": {
315
+ "url": "https://opencollective.com/libvips"
316
+ },
317
+ "optionalDependencies": {
318
+ "@img/sharp-libvips-darwin-x64": "1.0.1"
319
+ }
320
+ },
321
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
322
+ "version": "1.0.1",
323
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.1.tgz",
324
+ "integrity": "sha512-kQyrSNd6lmBV7O0BUiyu/OEw9yeNGFbQhbxswS1i6rMDwBBSX+e+rPzu3S+MwAiGU3HdLze3PanQ4Xkfemgzcw==",
325
+ "cpu": [
326
+ "arm64"
327
+ ],
328
+ "optional": true,
329
+ "os": [
330
+ "darwin"
331
+ ],
332
+ "engines": {
333
+ "macos": ">=11",
334
+ "npm": ">=9.6.5",
335
+ "pnpm": ">=7.1.0",
336
+ "yarn": ">=3.2.0"
337
+ },
338
+ "funding": {
339
+ "url": "https://opencollective.com/libvips"
340
+ }
341
+ },
342
+ "node_modules/@img/sharp-libvips-darwin-x64": {
343
+ "version": "1.0.1",
344
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.1.tgz",
345
+ "integrity": "sha512-eVU/JYLPVjhhrd8Tk6gosl5pVlvsqiFlt50wotCvdkFGf+mDNBJxMh+bvav+Wt3EBnNZWq8Sp2I7XfSjm8siog==",
346
+ "cpu": [
347
+ "x64"
348
+ ],
349
+ "optional": true,
350
+ "os": [
351
+ "darwin"
352
+ ],
353
+ "engines": {
354
+ "macos": ">=10.13",
355
+ "npm": ">=9.6.5",
356
+ "pnpm": ">=7.1.0",
357
+ "yarn": ">=3.2.0"
358
+ },
359
+ "funding": {
360
+ "url": "https://opencollective.com/libvips"
361
+ }
362
+ },
363
+ "node_modules/@img/sharp-libvips-linux-arm": {
364
+ "version": "1.0.1",
365
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.1.tgz",
366
+ "integrity": "sha512-FtdMvR4R99FTsD53IA3LxYGghQ82t3yt0ZQ93WMZ2xV3dqrb0E8zq4VHaTOuLEAuA83oDawHV3fd+BsAPadHIQ==",
367
+ "cpu": [
368
+ "arm"
369
+ ],
370
+ "optional": true,
371
+ "os": [
372
+ "linux"
373
+ ],
374
+ "engines": {
375
+ "glibc": ">=2.28",
376
+ "npm": ">=9.6.5",
377
+ "pnpm": ">=7.1.0",
378
+ "yarn": ">=3.2.0"
379
+ },
380
+ "funding": {
381
+ "url": "https://opencollective.com/libvips"
382
+ }
383
+ },
384
+ "node_modules/@img/sharp-libvips-linux-arm64": {
385
+ "version": "1.0.1",
386
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.1.tgz",
387
+ "integrity": "sha512-bnGG+MJjdX70mAQcSLxgeJco11G+MxTz+ebxlz8Y3dxyeb3Nkl7LgLI0mXupoO+u1wRNx/iRj5yHtzA4sde1yA==",
388
+ "cpu": [
389
+ "arm64"
390
+ ],
391
+ "optional": true,
392
+ "os": [
393
+ "linux"
394
+ ],
395
+ "engines": {
396
+ "glibc": ">=2.26",
397
+ "npm": ">=9.6.5",
398
+ "pnpm": ">=7.1.0",
399
+ "yarn": ">=3.2.0"
400
+ },
401
+ "funding": {
402
+ "url": "https://opencollective.com/libvips"
403
+ }
404
+ },
405
+ "node_modules/@img/sharp-libvips-linux-s390x": {
406
+ "version": "1.0.1",
407
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.1.tgz",
408
+ "integrity": "sha512-3+rzfAR1YpMOeA2zZNp+aYEzGNWK4zF3+sdMxuCS3ey9HhDbJ66w6hDSHDMoap32DueFwhhs3vwooAB2MaK4XQ==",
409
+ "cpu": [
410
+ "s390x"
411
+ ],
412
+ "optional": true,
413
+ "os": [
414
+ "linux"
415
+ ],
416
+ "engines": {
417
+ "glibc": ">=2.28",
418
+ "npm": ">=9.6.5",
419
+ "pnpm": ">=7.1.0",
420
+ "yarn": ">=3.2.0"
421
+ },
422
+ "funding": {
423
+ "url": "https://opencollective.com/libvips"
424
+ }
425
+ },
426
+ "node_modules/@img/sharp-libvips-linux-x64": {
427
+ "version": "1.0.1",
428
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.1.tgz",
429
+ "integrity": "sha512-3NR1mxFsaSgMMzz1bAnnKbSAI+lHXVTqAHgc1bgzjHuXjo4hlscpUxc0vFSAPKI3yuzdzcZOkq7nDPrP2F8Jgw==",
430
+ "cpu": [
431
+ "x64"
432
+ ],
433
+ "optional": true,
434
+ "os": [
435
+ "linux"
436
+ ],
437
+ "engines": {
438
+ "glibc": ">=2.26",
439
+ "npm": ">=9.6.5",
440
+ "pnpm": ">=7.1.0",
441
+ "yarn": ">=3.2.0"
442
+ },
443
+ "funding": {
444
+ "url": "https://opencollective.com/libvips"
445
+ }
446
+ },
447
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
448
+ "version": "1.0.1",
449
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.1.tgz",
450
+ "integrity": "sha512-5aBRcjHDG/T6jwC3Edl3lP8nl9U2Yo8+oTl5drd1dh9Z1EBfzUKAJFUDTDisDjUwc7N4AjnPGfCA3jl3hY8uDg==",
451
+ "cpu": [
452
+ "arm64"
453
+ ],
454
+ "optional": true,
455
+ "os": [
456
+ "linux"
457
+ ],
458
+ "engines": {
459
+ "musl": ">=1.2.2",
460
+ "npm": ">=9.6.5",
461
+ "pnpm": ">=7.1.0",
462
+ "yarn": ">=3.2.0"
463
+ },
464
+ "funding": {
465
+ "url": "https://opencollective.com/libvips"
466
+ }
467
+ },
468
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
469
+ "version": "1.0.1",
470
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.1.tgz",
471
+ "integrity": "sha512-dcT7inI9DBFK6ovfeWRe3hG30h51cBAP5JXlZfx6pzc/Mnf9HFCQDLtYf4MCBjxaaTfjCCjkBxcy3XzOAo5txw==",
472
+ "cpu": [
473
+ "x64"
474
+ ],
475
+ "optional": true,
476
+ "os": [
477
+ "linux"
478
+ ],
479
+ "engines": {
480
+ "musl": ">=1.2.2",
481
+ "npm": ">=9.6.5",
482
+ "pnpm": ">=7.1.0",
483
+ "yarn": ">=3.2.0"
484
+ },
485
+ "funding": {
486
+ "url": "https://opencollective.com/libvips"
487
+ }
488
+ },
489
+ "node_modules/@img/sharp-linux-arm": {
490
+ "version": "0.33.2",
491
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.2.tgz",
492
+ "integrity": "sha512-Fndk/4Zq3vAc4G/qyfXASbS3HBZbKrlnKZLEJzPLrXoJuipFNNwTes71+Ki1hwYW5lch26niRYoZFAtZVf3EGA==",
493
+ "cpu": [
494
+ "arm"
495
+ ],
496
+ "optional": true,
497
+ "os": [
498
+ "linux"
499
+ ],
500
+ "engines": {
501
+ "glibc": ">=2.28",
502
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
503
+ "npm": ">=9.6.5",
504
+ "pnpm": ">=7.1.0",
505
+ "yarn": ">=3.2.0"
506
+ },
507
+ "funding": {
508
+ "url": "https://opencollective.com/libvips"
509
+ },
510
+ "optionalDependencies": {
511
+ "@img/sharp-libvips-linux-arm": "1.0.1"
512
+ }
513
+ },
514
+ "node_modules/@img/sharp-linux-arm64": {
515
+ "version": "0.33.2",
516
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.2.tgz",
517
+ "integrity": "sha512-pz0NNo882vVfqJ0yNInuG9YH71smP4gRSdeL09ukC2YLE6ZyZePAlWKEHgAzJGTiOh8Qkaov6mMIMlEhmLdKew==",
518
+ "cpu": [
519
+ "arm64"
520
+ ],
521
+ "optional": true,
522
+ "os": [
523
+ "linux"
524
+ ],
525
+ "engines": {
526
+ "glibc": ">=2.26",
527
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
528
+ "npm": ">=9.6.5",
529
+ "pnpm": ">=7.1.0",
530
+ "yarn": ">=3.2.0"
531
+ },
532
+ "funding": {
533
+ "url": "https://opencollective.com/libvips"
534
+ },
535
+ "optionalDependencies": {
536
+ "@img/sharp-libvips-linux-arm64": "1.0.1"
537
+ }
538
+ },
539
+ "node_modules/@img/sharp-linux-s390x": {
540
+ "version": "0.33.2",
541
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.2.tgz",
542
+ "integrity": "sha512-MBoInDXDppMfhSzbMmOQtGfloVAflS2rP1qPcUIiITMi36Mm5YR7r0ASND99razjQUpHTzjrU1flO76hKvP5RA==",
543
+ "cpu": [
544
+ "s390x"
545
+ ],
546
+ "optional": true,
547
+ "os": [
548
+ "linux"
549
+ ],
550
+ "engines": {
551
+ "glibc": ">=2.28",
552
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
553
+ "npm": ">=9.6.5",
554
+ "pnpm": ">=7.1.0",
555
+ "yarn": ">=3.2.0"
556
+ },
557
+ "funding": {
558
+ "url": "https://opencollective.com/libvips"
559
+ },
560
+ "optionalDependencies": {
561
+ "@img/sharp-libvips-linux-s390x": "1.0.1"
562
+ }
563
+ },
564
+ "node_modules/@img/sharp-linux-x64": {
565
+ "version": "0.33.2",
566
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.2.tgz",
567
+ "integrity": "sha512-xUT82H5IbXewKkeF5aiooajoO1tQV4PnKfS/OZtb5DDdxS/FCI/uXTVZ35GQ97RZXsycojz/AJ0asoz6p2/H/A==",
568
+ "cpu": [
569
+ "x64"
570
+ ],
571
+ "optional": true,
572
+ "os": [
573
+ "linux"
574
+ ],
575
+ "engines": {
576
+ "glibc": ">=2.26",
577
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
578
+ "npm": ">=9.6.5",
579
+ "pnpm": ">=7.1.0",
580
+ "yarn": ">=3.2.0"
581
+ },
582
+ "funding": {
583
+ "url": "https://opencollective.com/libvips"
584
+ },
585
+ "optionalDependencies": {
586
+ "@img/sharp-libvips-linux-x64": "1.0.1"
587
+ }
588
+ },
589
+ "node_modules/@img/sharp-linuxmusl-arm64": {
590
+ "version": "0.33.2",
591
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.2.tgz",
592
+ "integrity": "sha512-F+0z8JCu/UnMzg8IYW1TMeiViIWBVg7IWP6nE0p5S5EPQxlLd76c8jYemG21X99UzFwgkRo5yz2DS+zbrnxZeA==",
593
+ "cpu": [
594
+ "arm64"
595
+ ],
596
+ "optional": true,
597
+ "os": [
598
+ "linux"
599
+ ],
600
+ "engines": {
601
+ "musl": ">=1.2.2",
602
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
603
+ "npm": ">=9.6.5",
604
+ "pnpm": ">=7.1.0",
605
+ "yarn": ">=3.2.0"
606
+ },
607
+ "funding": {
608
+ "url": "https://opencollective.com/libvips"
609
+ },
610
+ "optionalDependencies": {
611
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.1"
612
+ }
613
+ },
614
+ "node_modules/@img/sharp-linuxmusl-x64": {
615
+ "version": "0.33.2",
616
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.2.tgz",
617
+ "integrity": "sha512-+ZLE3SQmSL+Fn1gmSaM8uFusW5Y3J9VOf+wMGNnTtJUMUxFhv+P4UPaYEYT8tqnyYVaOVGgMN/zsOxn9pSsO2A==",
618
+ "cpu": [
619
+ "x64"
620
+ ],
621
+ "optional": true,
622
+ "os": [
623
+ "linux"
624
+ ],
625
+ "engines": {
626
+ "musl": ">=1.2.2",
627
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
628
+ "npm": ">=9.6.5",
629
+ "pnpm": ">=7.1.0",
630
+ "yarn": ">=3.2.0"
631
+ },
632
+ "funding": {
633
+ "url": "https://opencollective.com/libvips"
634
+ },
635
+ "optionalDependencies": {
636
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.1"
637
+ }
638
+ },
639
+ "node_modules/@img/sharp-wasm32": {
640
+ "version": "0.33.2",
641
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.2.tgz",
642
+ "integrity": "sha512-fLbTaESVKuQcpm8ffgBD7jLb/CQLcATju/jxtTXR1XCLwbOQt+OL5zPHSDMmp2JZIeq82e18yE0Vv7zh6+6BfQ==",
643
+ "cpu": [
644
+ "wasm32"
645
+ ],
646
+ "optional": true,
647
+ "dependencies": {
648
+ "@emnapi/runtime": "^0.45.0"
649
+ },
650
+ "engines": {
651
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
652
+ "npm": ">=9.6.5",
653
+ "pnpm": ">=7.1.0",
654
+ "yarn": ">=3.2.0"
655
+ },
656
+ "funding": {
657
+ "url": "https://opencollective.com/libvips"
658
+ }
659
+ },
660
+ "node_modules/@img/sharp-win32-ia32": {
661
+ "version": "0.33.2",
662
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.2.tgz",
663
+ "integrity": "sha512-okBpql96hIGuZ4lN3+nsAjGeggxKm7hIRu9zyec0lnfB8E7Z6p95BuRZzDDXZOl2e8UmR4RhYt631i7mfmKU8g==",
664
+ "cpu": [
665
+ "ia32"
666
+ ],
667
+ "optional": true,
668
+ "os": [
669
+ "win32"
670
+ ],
671
+ "engines": {
672
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
673
+ "npm": ">=9.6.5",
674
+ "pnpm": ">=7.1.0",
675
+ "yarn": ">=3.2.0"
676
+ },
677
+ "funding": {
678
+ "url": "https://opencollective.com/libvips"
679
+ }
680
+ },
681
+ "node_modules/@img/sharp-win32-x64": {
682
+ "version": "0.33.2",
683
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.2.tgz",
684
+ "integrity": "sha512-E4magOks77DK47FwHUIGH0RYWSgRBfGdK56kIHSVeB9uIS4pPFr4N2kIVsXdQQo4LzOsENKV5KAhRlRL7eMAdg==",
685
+ "cpu": [
686
+ "x64"
687
+ ],
688
+ "optional": true,
689
+ "os": [
690
+ "win32"
691
+ ],
692
+ "engines": {
693
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
694
+ "npm": ">=9.6.5",
695
+ "pnpm": ">=7.1.0",
696
+ "yarn": ">=3.2.0"
697
+ },
698
+ "funding": {
699
+ "url": "https://opencollective.com/libvips"
700
+ }
701
+ },
702
  "node_modules/@isaacs/cliui": {
703
  "version": "8.0.2",
704
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
 
784
  }
785
  },
786
  "node_modules/@next/env": {
787
+ "version": "14.1.4",
788
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.4.tgz",
789
+ "integrity": "sha512-e7X7bbn3Z6DWnDi75UWn+REgAbLEqxI8Tq2pkFOFAMpWAWApz/YCUhtWMWn410h8Q2fYiYL7Yg5OlxMOCfFjJQ=="
790
  },
791
  "node_modules/@next/eslint-plugin-next": {
792
  "version": "13.4.10",
 
797
  }
798
  },
799
  "node_modules/@next/swc-darwin-arm64": {
800
+ "version": "14.1.4",
801
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.4.tgz",
802
+ "integrity": "sha512-ubmUkbmW65nIAOmoxT1IROZdmmJMmdYvXIe8211send9ZYJu+SqxSnJM4TrPj9wmL6g9Atvj0S/2cFmMSS99jg==",
803
  "cpu": [
804
  "arm64"
805
  ],
 
812
  }
813
  },
814
  "node_modules/@next/swc-darwin-x64": {
815
+ "version": "14.1.4",
816
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.4.tgz",
817
+ "integrity": "sha512-b0Xo1ELj3u7IkZWAKcJPJEhBop117U78l70nfoQGo4xUSvv0PJSTaV4U9xQBLvZlnjsYkc8RwQN1HoH/oQmLlQ==",
818
  "cpu": [
819
  "x64"
820
  ],
 
827
  }
828
  },
829
  "node_modules/@next/swc-linux-arm64-gnu": {
830
+ "version": "14.1.4",
831
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.4.tgz",
832
+ "integrity": "sha512-457G0hcLrdYA/u1O2XkRMsDKId5VKe3uKPvrKVOyuARa6nXrdhJOOYU9hkKKyQTMru1B8qEP78IAhf/1XnVqKA==",
833
  "cpu": [
834
  "arm64"
835
  ],
 
842
  }
843
  },
844
  "node_modules/@next/swc-linux-arm64-musl": {
845
+ "version": "14.1.4",
846
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.4.tgz",
847
+ "integrity": "sha512-l/kMG+z6MB+fKA9KdtyprkTQ1ihlJcBh66cf0HvqGP+rXBbOXX0dpJatjZbHeunvEHoBBS69GYQG5ry78JMy3g==",
848
  "cpu": [
849
  "arm64"
850
  ],
 
857
  }
858
  },
859
  "node_modules/@next/swc-linux-x64-gnu": {
860
+ "version": "14.1.4",
861
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.4.tgz",
862
+ "integrity": "sha512-BapIFZ3ZRnvQ1uWbmqEGJuPT9cgLwvKtxhK/L2t4QYO7l+/DxXuIGjvp1x8rvfa/x1FFSsipERZK70pewbtJtw==",
863
  "cpu": [
864
  "x64"
865
  ],
 
872
  }
873
  },
874
  "node_modules/@next/swc-linux-x64-musl": {
875
+ "version": "14.1.4",
876
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.4.tgz",
877
+ "integrity": "sha512-mqVxTwk4XuBl49qn2A5UmzFImoL1iLm0KQQwtdRJRKl21ylQwwGCxJtIYo2rbfkZHoSKlh/YgztY0qH3wG1xIg==",
878
  "cpu": [
879
  "x64"
880
  ],
 
887
  }
888
  },
889
  "node_modules/@next/swc-win32-arm64-msvc": {
890
+ "version": "14.1.4",
891
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.4.tgz",
892
+ "integrity": "sha512-xzxF4ErcumXjO2Pvg/wVGrtr9QQJLk3IyQX1ddAC/fi6/5jZCZ9xpuL9Tzc4KPWMFq8GGWFVDMshZOdHGdkvag==",
893
  "cpu": [
894
  "arm64"
895
  ],
 
902
  }
903
  },
904
  "node_modules/@next/swc-win32-ia32-msvc": {
905
+ "version": "14.1.4",
906
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.4.tgz",
907
+ "integrity": "sha512-WZiz8OdbkpRw6/IU/lredZWKKZopUMhcI2F+XiMAcPja0uZYdMTZQRoQ0WZcvinn9xZAidimE7tN9W5v9Yyfyw==",
908
  "cpu": [
909
  "ia32"
910
  ],
 
917
  }
918
  },
919
  "node_modules/@next/swc-win32-x64-msvc": {
920
+ "version": "14.1.4",
921
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.4.tgz",
922
+ "integrity": "sha512-4Rto21sPfw555sZ/XNLqfxDUNeLhNYGO2dlPqsnuCg8N8a2a9u1ltqBOPQ4vj1Gf7eJC0W2hHG2eYUHuiXgY2w==",
923
  "cpu": [
924
  "x64"
925
  ],
 
2111
  "integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA=="
2112
  },
2113
  "node_modules/@swc/helpers": {
2114
+ "version": "0.5.2",
2115
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz",
2116
+ "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==",
2117
  "dependencies": {
2118
  "tslib": "^2.4.0"
2119
  }
 
2616
  "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
2617
  },
2618
  "node_modules/autoprefixer": {
2619
+ "version": "10.4.18",
2620
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.18.tgz",
2621
+ "integrity": "sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==",
2622
  "funding": [
2623
  {
2624
  "type": "opencollective",
 
2627
  {
2628
  "type": "tidelift",
2629
  "url": "https://tidelift.com/funding/github/npm/autoprefixer"
2630
+ },
2631
+ {
2632
+ "type": "github",
2633
+ "url": "https://github.com/sponsors/ai"
2634
  }
2635
  ],
2636
  "dependencies": {
2637
+ "browserslist": "^4.23.0",
2638
+ "caniuse-lite": "^1.0.30001591",
2639
+ "fraction.js": "^4.3.7",
2640
  "normalize-range": "^0.1.2",
2641
  "picocolors": "^1.0.0",
2642
  "postcss-value-parser": "^4.2.0"
 
2678
  "dequal": "^2.0.3"
2679
  }
2680
  },
 
 
 
 
 
2681
  "node_modules/balanced-match": {
2682
  "version": "1.0.2",
2683
  "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
2684
  "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
2685
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2686
  "node_modules/base-64": {
2687
  "version": "0.1.0",
2688
  "resolved": "https://registry.npmjs.org/base-64/-/base-64-0.1.0.tgz",
 
2713
  "type": "consulting",
2714
  "url": "https://feross.org/support"
2715
  }
2716
+ ],
2717
+ "optional": true
2718
  },
2719
  "node_modules/binary-extensions": {
2720
  "version": "2.2.0",
 
2724
  "node": ">=8"
2725
  }
2726
  },
 
 
 
 
 
 
 
 
 
 
2727
  "node_modules/brace-expansion": {
2728
  "version": "1.1.11",
2729
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
 
2745
  }
2746
  },
2747
  "node_modules/browserslist": {
2748
+ "version": "4.23.0",
2749
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz",
2750
+ "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==",
2751
  "funding": [
2752
  {
2753
  "type": "opencollective",
 
2763
  }
2764
  ],
2765
  "dependencies": {
2766
+ "caniuse-lite": "^1.0.30001587",
2767
+ "electron-to-chromium": "^1.4.668",
2768
  "node-releases": "^2.0.14",
2769
  "update-browserslist-db": "^1.0.13"
2770
  },
 
2776
  }
2777
  },
2778
  "node_modules/buffer": {
2779
+ "version": "6.0.3",
2780
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
2781
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
2782
  "funding": [
2783
  {
2784
  "type": "github",
 
2793
  "url": "https://feross.org/support"
2794
  }
2795
  ],
2796
+ "optional": true,
2797
  "dependencies": {
2798
  "base64-js": "^1.3.1",
2799
+ "ieee754": "^1.2.1"
2800
  }
2801
  },
2802
  "node_modules/busboy": {
 
2844
  }
2845
  },
2846
  "node_modules/caniuse-lite": {
2847
+ "version": "1.0.30001599",
2848
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz",
2849
+ "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==",
2850
  "funding": [
2851
  {
2852
  "type": "opencollective",
 
2919
  "node": ">= 6"
2920
  }
2921
  },
 
 
 
 
 
2922
  "node_modules/class-variance-authority": {
2923
  "version": "0.6.1",
2924
  "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.6.1.tgz",
 
3366
  }
3367
  }
3368
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3369
  "node_modules/deep-is": {
3370
  "version": "0.1.4",
3371
  "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
 
3426
  }
3427
  },
3428
  "node_modules/detect-libc": {
3429
+ "version": "2.0.3",
3430
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
3431
+ "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
3432
  "engines": {
3433
  "node": ">=8"
3434
  }
 
3544
  "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
3545
  },
3546
  "node_modules/electron-to-chromium": {
3547
+ "version": "1.4.711",
3548
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.711.tgz",
3549
+ "integrity": "sha512-hRg81qzvUEibX2lDxnFlVCHACa+LtrCPIsWAxo161LDYIB3jauf57RGsMZV9mvGwE98yGH06icj3zBEoOkxd/w=="
3550
  },
3551
  "node_modules/emoji-regex": {
3552
  "version": "9.2.2",
 
3561
  "iconv-lite": "^0.6.2"
3562
  }
3563
  },
 
 
 
 
 
 
 
 
3564
  "node_modules/enhanced-resolve": {
3565
  "version": "5.15.0",
3566
  "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz",
 
4123
  "node": ">=6"
4124
  }
4125
  },
4126
+ "node_modules/events": {
4127
+ "version": "3.3.0",
4128
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
4129
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
4130
+ "optional": true,
4131
  "engines": {
4132
+ "node": ">=0.8.x"
4133
  }
4134
  },
4135
  "node_modules/fast-deep-equal": {
 
4137
  "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
4138
  "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
4139
  },
 
 
 
 
 
4140
  "node_modules/fast-glob": {
4141
  "version": "3.3.2",
4142
  "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
 
4309
  "url": "https://github.com/sponsors/rawify"
4310
  }
4311
  },
 
 
 
 
 
4312
  "node_modules/fs.realpath": {
4313
  "version": "1.0.0",
4314
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
 
4413
  "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
4414
  }
4415
  },
 
 
 
 
 
4416
  "node_modules/glob": {
4417
  "version": "7.1.7",
4418
  "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
 
4443
  "node": ">=10.13.0"
4444
  }
4445
  },
 
 
 
 
 
4446
  "node_modules/globals": {
4447
  "version": "13.24.0",
4448
  "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
 
4680
  "type": "consulting",
4681
  "url": "https://feross.org/support"
4682
  }
4683
+ ],
4684
+ "optional": true
4685
  },
4686
  "node_modules/ignore": {
4687
  "version": "5.3.1",
 
4728
  "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
4729
  "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
4730
  },
 
 
 
 
 
4731
  "node_modules/internal-slot": {
4732
  "version": "1.0.7",
4733
  "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
 
5367
  "node": ">= 0.6"
5368
  }
5369
  },
 
 
 
 
 
 
 
 
 
 
 
5370
  "node_modules/minimatch": {
5371
  "version": "3.1.2",
5372
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
 
5394
  "node": ">=16 || 14 >=14.17"
5395
  }
5396
  },
 
 
 
 
 
5397
  "node_modules/ms": {
5398
  "version": "2.1.2",
5399
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
 
5426
  "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
5427
  }
5428
  },
 
 
 
 
 
5429
  "node_modules/natural-compare": {
5430
  "version": "1.4.0",
5431
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
5432
  "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
5433
  },
5434
  "node_modules/next": {
5435
+ "version": "14.1.4",
5436
+ "resolved": "https://registry.npmjs.org/next/-/next-14.1.4.tgz",
5437
+ "integrity": "sha512-1WTaXeSrUwlz/XcnhGTY7+8eiaFvdet5z9u3V2jb+Ek1vFo0VhHKSAIJvDWfQpttWjnyw14kBeq28TPq7bTeEQ==",
5438
  "dependencies": {
5439
+ "@next/env": "14.1.4",
5440
+ "@swc/helpers": "0.5.2",
5441
  "busboy": "1.6.0",
5442
+ "caniuse-lite": "^1.0.30001579",
5443
+ "graceful-fs": "^4.2.11",
5444
+ "postcss": "8.4.31",
5445
+ "styled-jsx": "5.1.1"
 
5446
  },
5447
  "bin": {
5448
  "next": "dist/bin/next"
5449
  },
5450
  "engines": {
5451
+ "node": ">=18.17.0"
5452
  },
5453
  "optionalDependencies": {
5454
+ "@next/swc-darwin-arm64": "14.1.4",
5455
+ "@next/swc-darwin-x64": "14.1.4",
5456
+ "@next/swc-linux-arm64-gnu": "14.1.4",
5457
+ "@next/swc-linux-arm64-musl": "14.1.4",
5458
+ "@next/swc-linux-x64-gnu": "14.1.4",
5459
+ "@next/swc-linux-x64-musl": "14.1.4",
5460
+ "@next/swc-win32-arm64-msvc": "14.1.4",
5461
+ "@next/swc-win32-ia32-msvc": "14.1.4",
5462
+ "@next/swc-win32-x64-msvc": "14.1.4"
5463
  },
5464
  "peerDependencies": {
5465
  "@opentelemetry/api": "^1.1.0",
 
5466
  "react": "^18.2.0",
5467
  "react-dom": "^18.2.0",
5468
  "sass": "^1.3.0"
 
5471
  "@opentelemetry/api": {
5472
  "optional": true
5473
  },
 
 
 
5474
  "sass": {
5475
  "optional": true
5476
  }
5477
  }
5478
  },
5479
  "node_modules/next/node_modules/postcss": {
5480
+ "version": "8.4.31",
5481
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
5482
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
5483
  "funding": [
5484
  {
5485
  "type": "opencollective",
 
5488
  {
5489
  "type": "tidelift",
5490
  "url": "https://tidelift.com/funding/github/npm/postcss"
5491
+ },
5492
+ {
5493
+ "type": "github",
5494
+ "url": "https://github.com/sponsors/ai"
5495
  }
5496
  ],
5497
  "dependencies": {
5498
+ "nanoid": "^3.3.6",
5499
  "picocolors": "^1.0.0",
5500
  "source-map-js": "^1.0.2"
5501
  },
 
5503
  "node": "^10 || ^12 || >=14"
5504
  }
5505
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5506
  "node_modules/node-domexception": {
5507
  "version": "1.0.0",
5508
  "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
 
5688
  }
5689
  },
5690
  "node_modules/openai": {
5691
+ "version": "4.29.2",
5692
+ "resolved": "https://registry.npmjs.org/openai/-/openai-4.29.2.tgz",
5693
+ "integrity": "sha512-cPkT6zjEcE4qU5OW/SoDDuXEsdOLrXlAORhzmaguj5xZSPlgKvLhi27sFWhLKj07Y6WKNWxcwIbzm512FzTBNQ==",
5694
  "dependencies": {
5695
  "@types/node": "^18.11.18",
5696
  "@types/node-fetch": "^2.6.4",
 
5875
  }
5876
  },
5877
  "node_modules/postcss": {
5878
+ "version": "8.4.37",
5879
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.37.tgz",
5880
+ "integrity": "sha512-7iB/v/r7Woof0glKLH8b1SPHrsX7uhdO+Geb41QpF/+mWZHU3uxxSlN+UXGVit1PawOYDToO+AbZzhBzWRDwbQ==",
5881
  "funding": [
5882
  {
5883
  "type": "opencollective",
 
5893
  }
5894
  ],
5895
  "dependencies": {
5896
+ "nanoid": "^3.3.7",
5897
  "picocolors": "^1.0.0",
5898
+ "source-map-js": "^1.2.0"
5899
  },
5900
  "engines": {
5901
  "node": "^10 || ^12 || >=14"
 
6012
  "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
6013
  "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
6014
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6015
  "node_modules/prelude-ls": {
6016
  "version": "1.2.1",
6017
  "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
 
6020
  "node": ">= 0.8.0"
6021
  }
6022
  },
6023
+ "node_modules/process": {
6024
+ "version": "0.11.10",
6025
+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
6026
+ "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==",
6027
+ "optional": true,
6028
+ "engines": {
6029
+ "node": ">= 0.6.0"
6030
+ }
6031
+ },
6032
  "node_modules/prop-types": {
6033
  "version": "15.8.1",
6034
  "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
 
6039
  "react-is": "^16.13.1"
6040
  }
6041
  },
 
 
 
 
 
 
 
 
 
6042
  "node_modules/punycode": {
6043
  "version": "2.3.1",
6044
  "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
 
6066
  }
6067
  ]
6068
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6069
  "node_modules/react": {
6070
  "version": "18.2.0",
6071
  "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
 
6273
  }
6274
  },
6275
  "node_modules/readable-stream": {
6276
+ "version": "4.5.2",
6277
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz",
6278
+ "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==",
6279
+ "optional": true,
6280
  "dependencies": {
6281
+ "abort-controller": "^3.0.0",
6282
+ "buffer": "^6.0.3",
6283
+ "events": "^3.3.0",
6284
+ "process": "^0.11.10",
6285
+ "string_decoder": "^1.3.0"
6286
  },
6287
  "engines": {
6288
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
6289
  }
6290
  },
6291
  "node_modules/readdirp": {
 
6342
  }
6343
  },
6344
  "node_modules/replicate": {
6345
+ "version": "0.29.0",
6346
+ "resolved": "https://registry.npmjs.org/replicate/-/replicate-0.29.0.tgz",
6347
+ "integrity": "sha512-9sMRjk/aW37N8AUwVvMYnA/MGXy88rVpP+rFxDaj+66sZKtV+hY/6W7uDK06vTsVCaRI7hVtk6YBqtoI0yJVDg==",
6348
  "engines": {
6349
  "git": ">=2.11.0",
6350
  "node": ">=18.0.0",
6351
  "npm": ">=7.19.0",
6352
  "yarn": ">=1.7.0"
6353
+ },
6354
+ "optionalDependencies": {
6355
+ "readable-stream": ">=4.0.0"
6356
  }
6357
  },
6358
  "node_modules/resolve": {
 
6466
  "type": "consulting",
6467
  "url": "https://feross.org/support"
6468
  }
6469
+ ],
6470
+ "optional": true
6471
  },
6472
  "node_modules/safe-regex-test": {
6473
  "version": "1.0.3",
 
6563
  }
6564
  },
6565
  "node_modules/sharp": {
6566
+ "version": "0.33.2",
6567
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.2.tgz",
6568
+ "integrity": "sha512-WlYOPyyPDiiM07j/UO+E720ju6gtNtHjEGg5vovUk1Lgxyjm2LFO+37Nt/UI3MMh2l6hxTWQWi7qk3cXJTutcQ==",
6569
  "hasInstallScript": true,
6570
  "dependencies": {
6571
  "color": "^4.2.3",
6572
  "detect-libc": "^2.0.2",
6573
+ "semver": "^7.5.4"
 
 
 
 
 
6574
  },
6575
  "engines": {
6576
+ "libvips": ">=8.15.1",
6577
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
6578
  },
6579
  "funding": {
6580
  "url": "https://opencollective.com/libvips"
6581
+ },
6582
+ "optionalDependencies": {
6583
+ "@img/sharp-darwin-arm64": "0.33.2",
6584
+ "@img/sharp-darwin-x64": "0.33.2",
6585
+ "@img/sharp-libvips-darwin-arm64": "1.0.1",
6586
+ "@img/sharp-libvips-darwin-x64": "1.0.1",
6587
+ "@img/sharp-libvips-linux-arm": "1.0.1",
6588
+ "@img/sharp-libvips-linux-arm64": "1.0.1",
6589
+ "@img/sharp-libvips-linux-s390x": "1.0.1",
6590
+ "@img/sharp-libvips-linux-x64": "1.0.1",
6591
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.1",
6592
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.1",
6593
+ "@img/sharp-linux-arm": "0.33.2",
6594
+ "@img/sharp-linux-arm64": "0.33.2",
6595
+ "@img/sharp-linux-s390x": "0.33.2",
6596
+ "@img/sharp-linux-x64": "0.33.2",
6597
+ "@img/sharp-linuxmusl-arm64": "0.33.2",
6598
+ "@img/sharp-linuxmusl-x64": "0.33.2",
6599
+ "@img/sharp-wasm32": "0.33.2",
6600
+ "@img/sharp-win32-ia32": "0.33.2",
6601
+ "@img/sharp-win32-x64": "0.33.2"
6602
  }
6603
  },
6604
  "node_modules/shebang-command": {
 
6648
  "url": "https://github.com/sponsors/isaacs"
6649
  }
6650
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6651
  "node_modules/simple-swizzle": {
6652
  "version": "0.2.2",
6653
  "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
 
6665
  }
6666
  },
6667
  "node_modules/source-map-js": {
6668
+ "version": "1.2.0",
6669
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
6670
+ "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
6671
  "engines": {
6672
  "node": ">=0.10.0"
6673
  }
 
6680
  "node": ">=10.0.0"
6681
  }
6682
  },
 
 
 
 
 
 
 
 
 
 
 
 
6683
  "node_modules/string_decoder": {
6684
  "version": "1.3.0",
6685
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
6686
  "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
6687
+ "optional": true,
6688
  "dependencies": {
6689
  "safe-buffer": "~5.2.0"
6690
  }
 
6961
  }
6962
  },
6963
  "node_modules/tailwind-merge": {
6964
+ "version": "2.2.2",
6965
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.2.2.tgz",
6966
+ "integrity": "sha512-tWANXsnmJzgw6mQ07nE3aCDkCK4QdT3ThPMCzawoYA2Pws7vSTCvz3Vrjg61jVUGfFZPJzxEP+NimbcW+EdaDw==",
6967
+ "dependencies": {
6968
+ "@babel/runtime": "^7.24.0"
6969
+ },
6970
  "funding": {
6971
  "type": "github",
6972
  "url": "https://github.com/sponsors/dcastil"
6973
  }
6974
  },
6975
  "node_modules/tailwindcss": {
6976
+ "version": "3.4.1",
6977
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz",
6978
+ "integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==",
6979
  "dependencies": {
6980
  "@alloc/quick-lru": "^5.2.0",
6981
  "arg": "^5.0.2",
6982
  "chokidar": "^3.5.3",
6983
  "didyoumean": "^1.2.2",
6984
  "dlv": "^1.1.3",
6985
+ "fast-glob": "^3.3.0",
6986
  "glob-parent": "^6.0.2",
6987
  "is-glob": "^4.0.3",
6988
+ "jiti": "^1.19.1",
6989
  "lilconfig": "^2.1.0",
6990
  "micromatch": "^4.0.5",
6991
  "normalize-path": "^3.0.0",
 
7024
  "node": ">=6"
7025
  }
7026
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7027
  "node_modules/text-segmentation": {
7028
  "version": "1.0.3",
7029
  "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",
 
7159
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
7160
  "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
7161
  },
 
 
 
 
 
 
 
 
 
 
 
7162
  "node_modules/type-check": {
7163
  "version": "0.4.0",
7164
  "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
 
7403
  "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
7404
  "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
7405
  },
 
 
 
 
 
 
 
 
 
 
 
 
7406
  "node_modules/web-streams-polyfill": {
7407
  "version": "3.3.2",
7408
  "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz",
 
7635
  "url": "https://github.com/sponsors/sindresorhus"
7636
  }
7637
  },
 
 
 
 
 
 
 
 
7638
  "node_modules/zustand": {
7639
  "version": "4.5.0",
7640
  "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.0.tgz",
package.json CHANGED
@@ -32,9 +32,9 @@
32
  "@types/react": "18.2.15",
33
  "@types/react-dom": "18.2.7",
34
  "@types/uuid": "^9.0.2",
35
- "autoprefixer": "10.4.14",
36
  "class-variance-authority": "^0.6.1",
37
- "clsx": "^2.0.0",
38
  "cmdk": "^0.2.0",
39
  "cookies-next": "^2.1.2",
40
  "date-fns": "^2.30.0",
@@ -45,10 +45,10 @@
45
  "html2canvas": "^1.4.1",
46
  "konva": "^9.2.2",
47
  "lucide-react": "^0.260.0",
48
- "next": "13.4.10",
49
- "openai": "^4.17.5",
50
  "pick": "^0.0.1",
51
- "postcss": "8.4.26",
52
  "react": "18.2.0",
53
  "react-circular-progressbar": "^2.1.0",
54
  "react-contenteditable": "^3.3.7",
@@ -57,11 +57,11 @@
57
  "react-icons": "^4.11.0",
58
  "react-konva": "^18.2.10",
59
  "react-virtualized-auto-sizer": "^1.0.20",
60
- "replicate": "^0.21.1",
61
  "sbd": "^1.0.19",
62
- "sharp": "^0.32.5",
63
- "tailwind-merge": "^1.13.2",
64
- "tailwindcss": "3.3.3",
65
  "tailwindcss-animate": "^1.0.6",
66
  "ts-node": "^10.9.1",
67
  "typescript": "5.1.6",
 
32
  "@types/react": "18.2.15",
33
  "@types/react-dom": "18.2.7",
34
  "@types/uuid": "^9.0.2",
35
+ "autoprefixer": "10.4.18",
36
  "class-variance-authority": "^0.6.1",
37
+ "clsx": "^2.1.0",
38
  "cmdk": "^0.2.0",
39
  "cookies-next": "^2.1.2",
40
  "date-fns": "^2.30.0",
 
45
  "html2canvas": "^1.4.1",
46
  "konva": "^9.2.2",
47
  "lucide-react": "^0.260.0",
48
+ "next": "14.1.4",
49
+ "openai": "^4.29.2",
50
  "pick": "^0.0.1",
51
+ "postcss": "8.4.37",
52
  "react": "18.2.0",
53
  "react-circular-progressbar": "^2.1.0",
54
  "react-contenteditable": "^3.3.7",
 
57
  "react-icons": "^4.11.0",
58
  "react-konva": "^18.2.10",
59
  "react-virtualized-auto-sizer": "^1.0.20",
60
+ "replicate": "^0.29.0",
61
  "sbd": "^1.0.19",
62
+ "sharp": "^0.33.2",
63
+ "tailwind-merge": "^2.2.2",
64
+ "tailwindcss": "3.4.1",
65
  "tailwindcss-animate": "^1.0.6",
66
  "ts-node": "^10.9.1",
67
  "typescript": "5.1.6",
src/app/globals.css CHANGED
@@ -29,7 +29,9 @@ body {
29
  /* this is the trick to bypass the style={{}} attribute when printing */
30
  @media print {
31
  .comic-page, .comic-page[style] { width: 100vw !important; }
32
- @page { size: landscape }
 
 
33
  }
34
 
35
 
 
29
  /* this is the trick to bypass the style={{}} attribute when printing */
30
  @media print {
31
  .comic-page, .comic-page[style] { width: 100vw !important; }
32
+
33
+ /*if you have 2 panels, you will need replace this with landscape */
34
+ @page { size: portrait }
35
  }
36
 
37
 
src/app/interface/top-menu/index.tsx CHANGED
@@ -56,7 +56,18 @@ export function TopMenu() {
56
  const isGeneratingStory = useStore(state => state.isGeneratingStory)
57
  const atLeastOnePanelIsBusy = useStore(state => state.atLeastOnePanelIsBusy)
58
  const isBusy = isGeneratingStory || atLeastOnePanelIsBusy
59
-
 
 
 
 
 
 
 
 
 
 
 
60
  const searchParams = useSearchParams()
61
 
62
  const requestedPreset = (searchParams?.get('preset') as PresetName) || defaultPreset
@@ -64,8 +75,8 @@ export function TopMenu() {
64
  const requestedPrompt = (searchParams?.get('prompt') as string) || ""
65
  const requestedLayout = (searchParams?.get('layout') as LayoutName) || defaultLayout
66
 
67
- const [draftPromptA, setDraftPromptA] = useState(requestedPrompt)
68
- const [draftPromptB, setDraftPromptB] = useState(requestedPrompt)
69
  const draftPrompt = `${draftPromptA}||${draftPromptB}`
70
 
71
  const [draftPreset, setDraftPreset] = useState<PresetName>(requestedPreset)
@@ -80,6 +91,12 @@ export function TopMenu() {
80
 
81
  const [showAuthWall, setShowAuthWall] = useState(false)
82
 
 
 
 
 
 
 
83
  const handleSubmit = () => {
84
  if (enableOAuthWall && hasGeneratedAtLeastOnce && !isLoggedIn) {
85
  setShowAuthWall(true)
 
56
  const isGeneratingStory = useStore(state => state.isGeneratingStory)
57
  const atLeastOnePanelIsBusy = useStore(state => state.atLeastOnePanelIsBusy)
58
  const isBusy = isGeneratingStory || atLeastOnePanelIsBusy
59
+
60
+
61
+ const [lastDraftPromptA, setLastDraftPromptA] = useLocalStorage<string>(
62
+ "AI_COMIC_FACTORY_LAST_DRAFT_PROMPT_A",
63
+ ""
64
+ )
65
+
66
+ const [lastDraftPromptB, setLastDraftPromptB] = useLocalStorage<string>(
67
+ "AI_COMIC_FACTORY_LAST_DRAFT_PROMPT_B",
68
+ ""
69
+ )
70
+
71
  const searchParams = useSearchParams()
72
 
73
  const requestedPreset = (searchParams?.get('preset') as PresetName) || defaultPreset
 
75
  const requestedPrompt = (searchParams?.get('prompt') as string) || ""
76
  const requestedLayout = (searchParams?.get('layout') as LayoutName) || defaultLayout
77
 
78
+ const [draftPromptA, setDraftPromptA] = useState(lastDraftPromptA)
79
+ const [draftPromptB, setDraftPromptB] = useState(lastDraftPromptB)
80
  const draftPrompt = `${draftPromptA}||${draftPromptB}`
81
 
82
  const [draftPreset, setDraftPreset] = useState<PresetName>(requestedPreset)
 
91
 
92
  const [showAuthWall, setShowAuthWall] = useState(false)
93
 
94
+ // we synchronize the draft prompt with the local storage
95
+ useEffect(() => { if (lastDraftPromptA !== draftPromptA) { setLastDraftPromptA(draftPromptA) } }, [draftPromptA])
96
+ useEffect(() => { if (lastDraftPromptA !== draftPromptA) { setDraftPromptA(lastDraftPromptA) } }, [lastDraftPromptA])
97
+ useEffect(() => { if (lastDraftPromptB !== draftPromptB) { setLastDraftPromptB(draftPromptB) } }, [draftPromptB])
98
+ useEffect(() => { if (lastDraftPromptB !== draftPromptB) { setDraftPromptB(lastDraftPromptB) } }, [lastDraftPromptB])
99
+
100
  const handleSubmit = () => {
101
  if (enableOAuthWall && hasGeneratedAtLeastOnce && !isLoggedIn) {
102
  setShowAuthWall(true)
src/app/main.tsx CHANGED
@@ -1,6 +1,6 @@
1
  "use client"
2
 
3
- import { useEffect, useState, useTransition } from "react"
4
 
5
  import { cn } from "@/lib/utils"
6
  import { fonts } from "@/lib/fonts"
@@ -150,7 +150,7 @@ export default function Main() {
150
  }, [prompt, preset?.label, nbPages, nbPanelsPerPage, nbTotalPanels]) // important: we need to react to preset changes too
151
 
152
  return (
153
- <div>
154
  <TopMenu />
155
  <div className={cn(
156
  `flex items-start w-screen h-screen pt-24 md:pt-[72px] overflow-y-scroll`,
@@ -198,6 +198,6 @@ export default function Main() {
198
  {waitABitMore ? `Please hold tight..` : ''}
199
  </div>
200
  </div>
201
- </div>
202
  )
203
  }
 
1
  "use client"
2
 
3
+ import { Suspense, useEffect, useState, useTransition } from "react"
4
 
5
  import { cn } from "@/lib/utils"
6
  import { fonts } from "@/lib/fonts"
 
150
  }, [prompt, preset?.label, nbPages, nbPanelsPerPage, nbTotalPanels]) // important: we need to react to preset changes too
151
 
152
  return (
153
+ <Suspense>
154
  <TopMenu />
155
  <div className={cn(
156
  `flex items-start w-screen h-screen pt-24 md:pt-[72px] overflow-y-scroll`,
 
198
  {waitABitMore ? `Please hold tight..` : ''}
199
  </div>
200
  </div>
201
+ </Suspense>
202
  )
203
  }