devframe 0.0.0 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +62 -0
  3. package/dist/_shared-CU6dE-VX.mjs +20 -0
  4. package/dist/adapters/build.d.mts +37 -0
  5. package/dist/adapters/build.mjs +61 -0
  6. package/dist/adapters/cli.d.mts +35 -0
  7. package/dist/adapters/cli.mjs +357 -0
  8. package/dist/adapters/embedded.d.mts +19 -0
  9. package/dist/adapters/embedded.mjs +15 -0
  10. package/dist/adapters/kit.d.mts +23 -0
  11. package/dist/adapters/kit.mjs +16 -0
  12. package/dist/adapters/mcp.d.mts +39 -0
  13. package/dist/adapters/mcp.mjs +278 -0
  14. package/dist/adapters/vite.d.mts +32 -0
  15. package/dist/adapters/vite.mjs +31 -0
  16. package/dist/client/index.d.mts +227 -0
  17. package/dist/client/index.mjs +2 -0
  18. package/dist/client-4WrEozlH.mjs +1561 -0
  19. package/dist/constants.d.mts +20 -0
  20. package/dist/constants.mjs +34 -0
  21. package/dist/context-BrePWeyd.mjs +6776 -0
  22. package/dist/define-Bb4zh-Dc.mjs +11 -0
  23. package/dist/devtool-OJ3QW0ns.d.mts +1125 -0
  24. package/dist/helpers/nuxt/index.d.mts +46 -0
  25. package/dist/helpers/nuxt/index.mjs +58 -0
  26. package/dist/helpers/nuxt/runtime/plugin.client.d.mts +8 -0
  27. package/dist/helpers/nuxt/runtime/plugin.client.mjs +12 -0
  28. package/dist/human-id-CHS0s28X.mjs +844 -0
  29. package/dist/immer-HjMAm3b6.mjs +894 -0
  30. package/dist/index-DvKDO5H8.d.mts +333 -0
  31. package/dist/index.d.mts +10 -0
  32. package/dist/index.mjs +2 -0
  33. package/dist/main-DpINGndA.mjs +601 -0
  34. package/dist/node/index.d.mts +365 -0
  35. package/dist/node/index.mjs +69 -0
  36. package/dist/open-BtOOEldu.mjs +533 -0
  37. package/dist/recipes/open-helpers.d.mts +104 -0
  38. package/dist/recipes/open-helpers.mjs +69 -0
  39. package/dist/rpc/client.d.mts +9 -0
  40. package/dist/rpc/client.mjs +13 -0
  41. package/dist/rpc/index.d.mts +2 -0
  42. package/dist/rpc/index.mjs +3 -0
  43. package/dist/rpc/server.d.mts +8 -0
  44. package/dist/rpc/server.mjs +10 -0
  45. package/dist/rpc/transports/ws-client.d.mts +2 -0
  46. package/dist/rpc/transports/ws-client.mjs +43 -0
  47. package/dist/rpc/transports/ws-server.d.mts +2 -0
  48. package/dist/rpc/transports/ws-server.mjs +58 -0
  49. package/dist/rpc-9FNa3Inb.mjs +474 -0
  50. package/dist/server-DrBxa6ZV.mjs +49 -0
  51. package/dist/src-BoIqXRc9.mjs +85 -0
  52. package/dist/static-dump-CQUC1aIW.mjs +82 -0
  53. package/dist/transports-BPUzHhI2.mjs +15 -0
  54. package/dist/types/index.d.mts +4 -0
  55. package/dist/types/index.mjs +6 -0
  56. package/dist/utils/events.d.mts +9 -0
  57. package/dist/utils/events.mjs +40 -0
  58. package/dist/utils/human-id.d.mts +10 -0
  59. package/dist/utils/human-id.mjs +3 -0
  60. package/dist/utils/nanoid.d.mts +4 -0
  61. package/dist/utils/nanoid.mjs +10 -0
  62. package/dist/utils/promise.d.mts +8 -0
  63. package/dist/utils/promise.mjs +15 -0
  64. package/dist/utils/shared-state.d.mts +2 -0
  65. package/dist/utils/shared-state.mjs +36 -0
  66. package/dist/utils/state.d.mts +49 -0
  67. package/dist/utils/state.mjs +26 -0
  68. package/dist/utils/when.d.mts +2 -0
  69. package/dist/utils/when.mjs +424 -0
  70. package/dist/when-CGLewRtm.d.mts +401 -0
  71. package/dist/ws-client-CklfxUHE.d.mts +17 -0
  72. package/dist/ws-server--IuUAaGi.d.mts +37 -0
  73. package/package.json +116 -8
@@ -0,0 +1,844 @@
1
+ import "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
4
+ //#endregion
5
+ //#region src/utils/human-id.ts
6
+ var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
7
+ var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
8
+ if (pack || arguments.length === 2) {
9
+ for (var i = 0, l = from.length, ar; i < l; i++) if (ar || !(i in from)) {
10
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
11
+ ar[i] = from[i];
12
+ }
13
+ }
14
+ return to.concat(ar || Array.prototype.slice.call(from));
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.minLength = exports.maxLength = exports.poolSize = exports.humanId = exports.adverbs = exports.verbs = exports.nouns = exports.adjectives = void 0;
18
+ exports.adjectives = [
19
+ "afraid",
20
+ "all",
21
+ "beige",
22
+ "better",
23
+ "big",
24
+ "blue",
25
+ "bold",
26
+ "brave",
27
+ "breezy",
28
+ "bright",
29
+ "brown",
30
+ "bumpy",
31
+ "busy",
32
+ "calm",
33
+ "chatty",
34
+ "chilly",
35
+ "chubby",
36
+ "clean",
37
+ "clear",
38
+ "clever",
39
+ "cold",
40
+ "common",
41
+ "cool",
42
+ "cozy",
43
+ "crisp",
44
+ "cuddly",
45
+ "curly",
46
+ "curvy",
47
+ "cute",
48
+ "cyan",
49
+ "dark",
50
+ "deep",
51
+ "dirty",
52
+ "dry",
53
+ "dull",
54
+ "eager",
55
+ "early",
56
+ "easy",
57
+ "eight",
58
+ "eighty",
59
+ "eleven",
60
+ "empty",
61
+ "every",
62
+ "fair",
63
+ "famous",
64
+ "fancy",
65
+ "fast",
66
+ "few",
67
+ "fiery",
68
+ "fifty",
69
+ "fine",
70
+ "five",
71
+ "flat",
72
+ "floppy",
73
+ "fluffy",
74
+ "forty",
75
+ "four",
76
+ "frank",
77
+ "free",
78
+ "fresh",
79
+ "fruity",
80
+ "full",
81
+ "funky",
82
+ "funny",
83
+ "fuzzy",
84
+ "gentle",
85
+ "giant",
86
+ "gold",
87
+ "good",
88
+ "goofy",
89
+ "great",
90
+ "green",
91
+ "grumpy",
92
+ "happy",
93
+ "heavy",
94
+ "hip",
95
+ "honest",
96
+ "hot",
97
+ "huge",
98
+ "humble",
99
+ "hungry",
100
+ "icy",
101
+ "itchy",
102
+ "jolly",
103
+ "khaki",
104
+ "kind",
105
+ "large",
106
+ "late",
107
+ "lazy",
108
+ "legal",
109
+ "lemon",
110
+ "light",
111
+ "little",
112
+ "long",
113
+ "loose",
114
+ "loud",
115
+ "lovely",
116
+ "lucky",
117
+ "major",
118
+ "many",
119
+ "metal",
120
+ "mighty",
121
+ "modern",
122
+ "moody",
123
+ "neat",
124
+ "new",
125
+ "nice",
126
+ "nine",
127
+ "ninety",
128
+ "odd",
129
+ "old",
130
+ "olive",
131
+ "open",
132
+ "orange",
133
+ "perky",
134
+ "petite",
135
+ "pink",
136
+ "plain",
137
+ "plenty",
138
+ "polite",
139
+ "pretty",
140
+ "proud",
141
+ "public",
142
+ "puny",
143
+ "purple",
144
+ "quick",
145
+ "quiet",
146
+ "rare",
147
+ "ready",
148
+ "real",
149
+ "red",
150
+ "rich",
151
+ "ripe",
152
+ "salty",
153
+ "seven",
154
+ "shaggy",
155
+ "shaky",
156
+ "sharp",
157
+ "shiny",
158
+ "short",
159
+ "shy",
160
+ "silent",
161
+ "silly",
162
+ "silver",
163
+ "six",
164
+ "sixty",
165
+ "slick",
166
+ "slimy",
167
+ "slow",
168
+ "small",
169
+ "smart",
170
+ "smooth",
171
+ "social",
172
+ "soft",
173
+ "solid",
174
+ "some",
175
+ "sour",
176
+ "sparkly",
177
+ "spicy",
178
+ "spotty",
179
+ "stale",
180
+ "strict",
181
+ "strong",
182
+ "sunny",
183
+ "sweet",
184
+ "swift",
185
+ "tall",
186
+ "tame",
187
+ "tangy",
188
+ "tasty",
189
+ "ten",
190
+ "tender",
191
+ "thick",
192
+ "thin",
193
+ "thirty",
194
+ "three",
195
+ "tidy",
196
+ "tiny",
197
+ "tired",
198
+ "tough",
199
+ "tricky",
200
+ "true",
201
+ "twelve",
202
+ "twenty",
203
+ "two",
204
+ "upset",
205
+ "vast",
206
+ "violet",
207
+ "wacky",
208
+ "warm",
209
+ "wet",
210
+ "whole",
211
+ "wicked",
212
+ "wide",
213
+ "wild",
214
+ "wise",
215
+ "witty",
216
+ "yellow",
217
+ "young",
218
+ "yummy"
219
+ ];
220
+ exports.nouns = [
221
+ "actors",
222
+ "ads",
223
+ "adults",
224
+ "aliens",
225
+ "animals",
226
+ "ants",
227
+ "apes",
228
+ "apples",
229
+ "areas",
230
+ "baboons",
231
+ "badgers",
232
+ "bags",
233
+ "balloons",
234
+ "bananas",
235
+ "banks",
236
+ "bars",
237
+ "baths",
238
+ "bats",
239
+ "beans",
240
+ "bears",
241
+ "beds",
242
+ "beers",
243
+ "bees",
244
+ "berries",
245
+ "bikes",
246
+ "birds",
247
+ "boats",
248
+ "bobcats",
249
+ "books",
250
+ "bottles",
251
+ "boxes",
252
+ "breads",
253
+ "brooms",
254
+ "buckets",
255
+ "bugs",
256
+ "buses",
257
+ "bushes",
258
+ "buttons",
259
+ "camels",
260
+ "cameras",
261
+ "candies",
262
+ "candles",
263
+ "canyons",
264
+ "carpets",
265
+ "carrots",
266
+ "cars",
267
+ "cases",
268
+ "cats",
269
+ "chairs",
270
+ "chefs",
271
+ "chicken",
272
+ "cities",
273
+ "clocks",
274
+ "cloths",
275
+ "clouds",
276
+ "clowns",
277
+ "clubs",
278
+ "coats",
279
+ "cobras",
280
+ "coins",
281
+ "colts",
282
+ "comics",
283
+ "cooks",
284
+ "corners",
285
+ "cougars",
286
+ "cows",
287
+ "crabs",
288
+ "crews",
289
+ "cups",
290
+ "cycles",
291
+ "dancers",
292
+ "days",
293
+ "deer",
294
+ "deserts",
295
+ "dingos",
296
+ "dodos",
297
+ "dogs",
298
+ "dolls",
299
+ "donkeys",
300
+ "donuts",
301
+ "doodles",
302
+ "doors",
303
+ "dots",
304
+ "dragons",
305
+ "drinks",
306
+ "dryers",
307
+ "ducks",
308
+ "eagles",
309
+ "ears",
310
+ "eels",
311
+ "eggs",
312
+ "emus",
313
+ "ends",
314
+ "experts",
315
+ "eyes",
316
+ "facts",
317
+ "falcons",
318
+ "fans",
319
+ "feet",
320
+ "files",
321
+ "flies",
322
+ "flowers",
323
+ "forks",
324
+ "foxes",
325
+ "friends",
326
+ "frogs",
327
+ "games",
328
+ "garlics",
329
+ "geckos",
330
+ "geese",
331
+ "ghosts",
332
+ "gifts",
333
+ "glasses",
334
+ "goats",
335
+ "grapes",
336
+ "groups",
337
+ "guests",
338
+ "hairs",
339
+ "hands",
340
+ "hats",
341
+ "heads",
342
+ "hoops",
343
+ "hornets",
344
+ "horses",
345
+ "hotels",
346
+ "hounds",
347
+ "houses",
348
+ "humans",
349
+ "icons",
350
+ "ideas",
351
+ "impalas",
352
+ "insects",
353
+ "islands",
354
+ "items",
355
+ "jars",
356
+ "jeans",
357
+ "jobs",
358
+ "jokes",
359
+ "keys",
360
+ "kids",
361
+ "kings",
362
+ "kiwis",
363
+ "knives",
364
+ "lamps",
365
+ "lands",
366
+ "laws",
367
+ "lemons",
368
+ "lies",
369
+ "lights",
370
+ "lilies",
371
+ "lines",
372
+ "lions",
373
+ "lizards",
374
+ "llamas",
375
+ "loops",
376
+ "mails",
377
+ "mammals",
378
+ "mangos",
379
+ "maps",
380
+ "masks",
381
+ "meals",
382
+ "melons",
383
+ "memes",
384
+ "meteors",
385
+ "mice",
386
+ "mirrors",
387
+ "moles",
388
+ "moments",
389
+ "monkeys",
390
+ "months",
391
+ "moons",
392
+ "moose",
393
+ "mugs",
394
+ "nails",
395
+ "needles",
396
+ "news",
397
+ "nights",
398
+ "numbers",
399
+ "olives",
400
+ "onions",
401
+ "oranges",
402
+ "otters",
403
+ "owls",
404
+ "pandas",
405
+ "pans",
406
+ "pants",
407
+ "papayas",
408
+ "papers",
409
+ "parents",
410
+ "parks",
411
+ "parrots",
412
+ "parts",
413
+ "paths",
414
+ "paws",
415
+ "peaches",
416
+ "pears",
417
+ "peas",
418
+ "pens",
419
+ "pets",
420
+ "phones",
421
+ "pianos",
422
+ "pigs",
423
+ "pillows",
424
+ "places",
425
+ "planes",
426
+ "planets",
427
+ "plants",
428
+ "plums",
429
+ "poems",
430
+ "poets",
431
+ "points",
432
+ "pots",
433
+ "pugs",
434
+ "pumas",
435
+ "queens",
436
+ "rabbits",
437
+ "radios",
438
+ "rats",
439
+ "ravens",
440
+ "readers",
441
+ "regions",
442
+ "results",
443
+ "rice",
444
+ "rings",
445
+ "rivers",
446
+ "rockets",
447
+ "rocks",
448
+ "rooms",
449
+ "roses",
450
+ "rules",
451
+ "sails",
452
+ "schools",
453
+ "seals",
454
+ "seas",
455
+ "sheep",
456
+ "shirts",
457
+ "shoes",
458
+ "showers",
459
+ "shrimps",
460
+ "sides",
461
+ "signs",
462
+ "singers",
463
+ "sites",
464
+ "sloths",
465
+ "snails",
466
+ "snakes",
467
+ "socks",
468
+ "spiders",
469
+ "spies",
470
+ "spoons",
471
+ "squids",
472
+ "stamps",
473
+ "stars",
474
+ "states",
475
+ "steaks",
476
+ "streets",
477
+ "suits",
478
+ "suns",
479
+ "swans",
480
+ "symbols",
481
+ "tables",
482
+ "taxes",
483
+ "taxis",
484
+ "teams",
485
+ "teeth",
486
+ "terms",
487
+ "things",
488
+ "ties",
489
+ "tigers",
490
+ "times",
491
+ "tips",
492
+ "tires",
493
+ "toes",
494
+ "tools",
495
+ "towns",
496
+ "toys",
497
+ "trains",
498
+ "trams",
499
+ "trees",
500
+ "turkeys",
501
+ "turtles",
502
+ "vans",
503
+ "views",
504
+ "walls",
505
+ "wasps",
506
+ "waves",
507
+ "ways",
508
+ "webs",
509
+ "weeks",
510
+ "windows",
511
+ "wings",
512
+ "wolves",
513
+ "wombats",
514
+ "words",
515
+ "worlds",
516
+ "worms",
517
+ "yaks",
518
+ "years",
519
+ "zebras",
520
+ "zoos"
521
+ ];
522
+ exports.verbs = [
523
+ "accept",
524
+ "act",
525
+ "add",
526
+ "admire",
527
+ "agree",
528
+ "allow",
529
+ "appear",
530
+ "argue",
531
+ "arrive",
532
+ "ask",
533
+ "attack",
534
+ "attend",
535
+ "bake",
536
+ "bathe",
537
+ "battle",
538
+ "beam",
539
+ "beg",
540
+ "begin",
541
+ "behave",
542
+ "bet",
543
+ "boil",
544
+ "bow",
545
+ "brake",
546
+ "brush",
547
+ "build",
548
+ "burn",
549
+ "buy",
550
+ "call",
551
+ "camp",
552
+ "care",
553
+ "carry",
554
+ "change",
555
+ "cheat",
556
+ "check",
557
+ "cheer",
558
+ "chew",
559
+ "clap",
560
+ "clean",
561
+ "cough",
562
+ "count",
563
+ "cover",
564
+ "crash",
565
+ "create",
566
+ "cross",
567
+ "cry",
568
+ "cut",
569
+ "dance",
570
+ "decide",
571
+ "deny",
572
+ "design",
573
+ "dig",
574
+ "divide",
575
+ "do",
576
+ "double",
577
+ "doubt",
578
+ "draw",
579
+ "dream",
580
+ "dress",
581
+ "drive",
582
+ "drop",
583
+ "drum",
584
+ "eat",
585
+ "end",
586
+ "enjoy",
587
+ "enter",
588
+ "exist",
589
+ "fail",
590
+ "fall",
591
+ "feel",
592
+ "fetch",
593
+ "film",
594
+ "find",
595
+ "fix",
596
+ "flash",
597
+ "float",
598
+ "flow",
599
+ "fly",
600
+ "fold",
601
+ "follow",
602
+ "fry",
603
+ "give",
604
+ "glow",
605
+ "go",
606
+ "grab",
607
+ "greet",
608
+ "grin",
609
+ "grow",
610
+ "guess",
611
+ "hammer",
612
+ "hang",
613
+ "happen",
614
+ "heal",
615
+ "hear",
616
+ "help",
617
+ "hide",
618
+ "hope",
619
+ "hug",
620
+ "hunt",
621
+ "invent",
622
+ "invite",
623
+ "itch",
624
+ "jam",
625
+ "jog",
626
+ "join",
627
+ "joke",
628
+ "judge",
629
+ "juggle",
630
+ "jump",
631
+ "kick",
632
+ "kiss",
633
+ "kneel",
634
+ "knock",
635
+ "know",
636
+ "laugh",
637
+ "lay",
638
+ "lead",
639
+ "learn",
640
+ "leave",
641
+ "lick",
642
+ "lie",
643
+ "like",
644
+ "listen",
645
+ "live",
646
+ "look",
647
+ "lose",
648
+ "love",
649
+ "make",
650
+ "march",
651
+ "marry",
652
+ "mate",
653
+ "matter",
654
+ "melt",
655
+ "mix",
656
+ "move",
657
+ "nail",
658
+ "notice",
659
+ "obey",
660
+ "occur",
661
+ "open",
662
+ "own",
663
+ "pay",
664
+ "peel",
665
+ "pick",
666
+ "play",
667
+ "poke",
668
+ "post",
669
+ "press",
670
+ "prove",
671
+ "pull",
672
+ "pump",
673
+ "punch",
674
+ "push",
675
+ "raise",
676
+ "read",
677
+ "refuse",
678
+ "relate",
679
+ "relax",
680
+ "remain",
681
+ "repair",
682
+ "repeat",
683
+ "reply",
684
+ "report",
685
+ "rescue",
686
+ "rest",
687
+ "retire",
688
+ "return",
689
+ "rhyme",
690
+ "ring",
691
+ "roll",
692
+ "rule",
693
+ "run",
694
+ "rush",
695
+ "say",
696
+ "scream",
697
+ "search",
698
+ "see",
699
+ "sell",
700
+ "send",
701
+ "serve",
702
+ "shake",
703
+ "share",
704
+ "shave",
705
+ "shine",
706
+ "shop",
707
+ "shout",
708
+ "show",
709
+ "sin",
710
+ "sing",
711
+ "sink",
712
+ "sip",
713
+ "sit",
714
+ "sleep",
715
+ "slide",
716
+ "smash",
717
+ "smell",
718
+ "smile",
719
+ "smoke",
720
+ "sneeze",
721
+ "sniff",
722
+ "sort",
723
+ "speak",
724
+ "spend",
725
+ "stand",
726
+ "stare",
727
+ "start",
728
+ "stay",
729
+ "stick",
730
+ "stop",
731
+ "strive",
732
+ "study",
733
+ "swim",
734
+ "switch",
735
+ "take",
736
+ "talk",
737
+ "tan",
738
+ "tap",
739
+ "taste",
740
+ "teach",
741
+ "tease",
742
+ "tell",
743
+ "thank",
744
+ "think",
745
+ "throw",
746
+ "tickle",
747
+ "tie",
748
+ "trade",
749
+ "train",
750
+ "travel",
751
+ "try",
752
+ "turn",
753
+ "type",
754
+ "unite",
755
+ "vanish",
756
+ "visit",
757
+ "wait",
758
+ "walk",
759
+ "warn",
760
+ "wash",
761
+ "watch",
762
+ "wave",
763
+ "wear",
764
+ "win",
765
+ "wink",
766
+ "wish",
767
+ "wonder",
768
+ "work",
769
+ "worry",
770
+ "write",
771
+ "yawn",
772
+ "yell"
773
+ ];
774
+ exports.adverbs = [
775
+ "bravely",
776
+ "brightly",
777
+ "busily",
778
+ "daily",
779
+ "freely",
780
+ "hungrily",
781
+ "joyously",
782
+ "knowingly",
783
+ "lazily",
784
+ "noisily",
785
+ "oddly",
786
+ "politely",
787
+ "quickly",
788
+ "quietly",
789
+ "rapidly",
790
+ "safely",
791
+ "sleepily",
792
+ "slowly",
793
+ "truly",
794
+ "yearly"
795
+ ];
796
+ function random(arr) {
797
+ return arr[Math.floor(Math.random() * arr.length)];
798
+ }
799
+ function longest(arr) {
800
+ return arr.reduce(function(a, b) {
801
+ return a.length > b.length ? a : b;
802
+ });
803
+ }
804
+ function shortest(arr) {
805
+ return arr.reduce(function(a, b) {
806
+ return a.length < b.length ? a : b;
807
+ });
808
+ }
809
+ function humanId(options) {
810
+ if (options === void 0) options = {};
811
+ if (typeof options === "string") options = { separator: options };
812
+ if (typeof options === "boolean") options = { capitalize: options };
813
+ var _a = options.separator, separator = _a === void 0 ? "" : _a, _b = options.capitalize, capitalize = _b === void 0 ? true : _b, _c = options.adjectiveCount, adjectiveCount = _c === void 0 ? 1 : _c, _d = options.addAdverb, addAdverb = _d === void 0 ? false : _d;
814
+ var res = __spreadArray(__spreadArray(__spreadArray([], __spreadArray([], Array(adjectiveCount), true).map(function(_) {
815
+ return random(exports.adjectives);
816
+ }), true), [random(exports.nouns), random(exports.verbs)], false), addAdverb ? [random(exports.adverbs)] : [], true);
817
+ if (capitalize) res = res.map(function(r) {
818
+ return r.charAt(0).toUpperCase() + r.substr(1);
819
+ });
820
+ return res.join(separator);
821
+ }
822
+ exports.humanId = humanId;
823
+ function poolSize(options) {
824
+ if (options === void 0) options = {};
825
+ var _a = options.adjectiveCount, adjectiveCount = _a === void 0 ? 1 : _a, _b = options.addAdverb, addAdverb = _b === void 0 ? false : _b;
826
+ return exports.adjectives.length * adjectiveCount * exports.nouns.length * exports.verbs.length * (addAdverb ? exports.adverbs.length : 1);
827
+ }
828
+ exports.poolSize = poolSize;
829
+ function maxLength(options) {
830
+ if (options === void 0) options = {};
831
+ var _a = options.adjectiveCount, adjectiveCount = _a === void 0 ? 1 : _a, _b = options.addAdverb, addAdverb = _b === void 0 ? false : _b, _c = options.separator, separator = _c === void 0 ? "" : _c;
832
+ return longest(exports.adjectives).length * adjectiveCount + adjectiveCount * separator.length + longest(exports.nouns).length + separator.length + longest(exports.verbs).length + (addAdverb ? longest(exports.adverbs).length + separator.length : 0);
833
+ }
834
+ exports.maxLength = maxLength;
835
+ function minLength(options) {
836
+ if (options === void 0) options = {};
837
+ var _a = options.adjectiveCount, adjectiveCount = _a === void 0 ? 1 : _a, _b = options.addAdverb, addAdverb = _b === void 0 ? false : _b, _c = options.separator, separator = _c === void 0 ? "" : _c;
838
+ return shortest(exports.adjectives).length * adjectiveCount + adjectiveCount * separator.length + shortest(exports.nouns).length + separator.length + shortest(exports.verbs).length + (addAdverb ? shortest(exports.adverbs).length + separator.length : 0);
839
+ }
840
+ exports.minLength = minLength;
841
+ exports.default = humanId;
842
+ })))();
843
+ //#endregion
844
+ export { import_dist as t };