@apify/utilities 2.30.0 → 2.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.cjs CHANGED
@@ -98,7 +98,6 @@ module.exports = __toCommonJS(index_exports);
98
98
 
99
99
  // src/utilities.ts
100
100
  var import_node_crypto = __toESM(require("crypto"));
101
- var import_consts = require("@apify/consts");
102
101
  var import_log = __toESM(require("@apify/log"));
103
102
  function cryptoRandomObjectId(length = 17) {
104
103
  const chars = "abcdefghijklmnopqrstuvwxyzABCEDFGHIJKLMNOPQRSTUVWXYZ0123456789";
@@ -210,1057 +209,6 @@ function weightedAverage(val1, weight1, val2, weight2) {
210
209
  return (val1 * weight1 + val2 * weight2) / (weight1 + weight2);
211
210
  }
212
211
  __name(weightedAverage, "weightedAverage");
213
- var FORBIDDEN_USERNAMES_REGEXPS = [
214
- // App routes
215
- "page-not-found",
216
- "docs",
217
- "terms-of-use",
218
- "about",
219
- "pricing",
220
- "privacy-policy",
221
- "customers",
222
- "request-form",
223
- "request-solution",
224
- "release-notes",
225
- "jobs",
226
- "api-reference",
227
- "video-tutorials",
228
- "acts",
229
- "key-value-stores",
230
- "schedules",
231
- "account",
232
- "sign-up",
233
- "sign-in-discourse",
234
- "admin",
235
- "documentation",
236
- "change-password",
237
- "enroll-account",
238
- "forgot-password",
239
- "reset-password",
240
- "sign-in",
241
- "verify-email",
242
- "live-status",
243
- "browser-info",
244
- "webhooks",
245
- "health-check",
246
- "api",
247
- "change-log",
248
- "dashboard",
249
- "community",
250
- "crawlers",
251
- "ext",
252
- "schemas",
253
- // Various strings
254
- "admin",
255
- "administration",
256
- "crawler",
257
- "act",
258
- "library",
259
- "lib",
260
- "apifier",
261
- "team",
262
- "contact",
263
- "doc",
264
- "documentation",
265
- "for-business",
266
- "for-developers",
267
- "developers",
268
- "business",
269
- "integrations",
270
- "job",
271
- "setting",
272
- "settings",
273
- "privacy",
274
- "policy",
275
- "assets",
276
- "help",
277
- "config",
278
- "configuration",
279
- "terms",
280
- "hiring",
281
- "hire",
282
- "status",
283
- "status-page",
284
- "solutions",
285
- "support",
286
- "market",
287
- "marketplace",
288
- "download",
289
- "downloads",
290
- "username",
291
- "users",
292
- "user",
293
- "login",
294
- "logout",
295
- "signin",
296
- "sign",
297
- "signup",
298
- "sign-out",
299
- "signout",
300
- "plugins",
301
- "plug-ins",
302
- "reset",
303
- "password",
304
- "passwords",
305
- "square",
306
- "profile-photos",
307
- "profiles",
308
- "true",
309
- "false",
310
- "js",
311
- "css",
312
- "img",
313
- "images",
314
- "image",
315
- "partials",
316
- "fonts",
317
- "font",
318
- "dynamic_templates",
319
- "app",
320
- "schedules",
321
- "community",
322
- "storage",
323
- "storages",
324
- "account",
325
- "node_modules",
326
- "bower_components",
327
- "video",
328
- "knowledgebase",
329
- "forum",
330
- "customers",
331
- "blog",
332
- "health-check",
333
- "health",
334
- "anim",
335
- "forum_topics.json",
336
- "forum_categories.json",
337
- "me",
338
- "you",
339
- "him",
340
- "she",
341
- "it",
342
- "external",
343
- "actor",
344
- "crawler",
345
- "scheduler",
346
- "api",
347
- "sdk",
348
- "puppeteer",
349
- "webdriver",
350
- "selenium",
351
- "(selenium.*webdriver)",
352
- "undefined",
353
- "page-analyzer",
354
- "wp-login.php",
355
- "welcome.action",
356
- "echo",
357
- "proxy",
358
- "super-proxy",
359
- "gdpr",
360
- "case-studies",
361
- "use-cases",
362
- "how-to",
363
- "kb",
364
- "cookies",
365
- "cookie-policy",
366
- "cookies-policy",
367
- "powered-by",
368
- "run",
369
- "runs",
370
- "actor",
371
- "actors",
372
- "act",
373
- "acts",
374
- "success-stories",
375
- "roadmap",
376
- "join-marketplace",
377
- "presskit",
378
- "press-kit",
379
- "covid-19",
380
- "covid",
381
- "covid19",
382
- "matfyz",
383
- "ideas",
384
- "public-actors",
385
- "resources",
386
- "partners",
387
- "affiliate",
388
- "industries",
389
- "web-scraping",
390
- "custom-solutions",
391
- "solution-provider",
392
- "alternatives",
393
- "platform",
394
- "freelancers",
395
- "freelancer",
396
- "partner",
397
- "preview",
398
- "templates",
399
- "data-for-generative-ai",
400
- "discord",
401
- "praguecrawl",
402
- "prague-crawl",
403
- "bob",
404
- "ai-agents",
405
- "reel",
406
- "video-reel",
407
- "mcp",
408
- "mcpc",
409
- "model-context-protocol",
410
- "modelcontextprotocol",
411
- // 'apify.com' intentionally unescaped so "." matches any character, also blocking variants like "apify_com" or "apifyxcom"
412
- "apify.com",
413
- "design-kit",
414
- "press-kit",
415
- "scrapers",
416
- "professional-services",
417
- "challenge",
418
- "challange",
419
- "1m-challenge",
420
- "1m-usd-challenge",
421
- "contact-sales",
422
- "creator",
423
- "creator-plan",
424
- "request-an-integration",
425
- "whitepaper",
426
- "adviser",
427
- "crawlee",
428
- "ultimate-scraper",
429
- "agent-skills",
430
- // Apify platform resources
431
- "key-value-store",
432
- "request-queue",
433
- "request-queues",
434
- "builds",
435
- "schedule",
436
- "standby",
437
- "pay-per-event",
438
- "pay-per-result",
439
- "pay-per-usage",
440
- "ppe",
441
- "ppr",
442
- "compute-unit",
443
- "compute-units",
444
- // AI / LLM related
445
- "agent",
446
- "agents",
447
- "agentic",
448
- "llms",
449
- "llm",
450
- "openai",
451
- "anthropic",
452
- "claude",
453
- "copilot",
454
- "mistral",
455
- "prompt",
456
- "prompts",
457
- "embeddings",
458
- "vectors",
459
- "rag",
460
- // Agentic protocols / agentic payments / agent identity
461
- "agentic-commerce",
462
- "agentic-economy",
463
- "agentic-payments",
464
- "a2a",
465
- "a2b",
466
- "a2p",
467
- "ap2",
468
- "b2a",
469
- "acp",
470
- "ucp",
471
- "mpp",
472
- "x402",
473
- "l402",
474
- "anp",
475
- "agp",
476
- "erc-8004",
477
- "kya",
478
- "kyapay",
479
- // Trust / verification / anti-impersonation handles
480
- // (entries containing 'apify' are already blocked by USERNAME.RESTRICTED_REGEX)
481
- "official",
482
- "verified",
483
- "certified",
484
- "authorized",
485
- "partner-official",
486
- "gold-partner",
487
- "premium-partner",
488
- "staff",
489
- "moderator",
490
- // Apify subdomain / service names (current and future)
491
- "console",
492
- "cli",
493
- "studio",
494
- "gateway",
495
- "workbench",
496
- "agents-marketplace",
497
- "agents-store",
498
- "mcp-server",
499
- "mcp-servers",
500
- "mcp-gateway",
501
- // Region / locale codes (3+ chars only; 1-2 char codes are blocked by USERNAME.MIN_LENGTH)
502
- "asia",
503
- "latam",
504
- "emea",
505
- "apac",
506
- "i18n",
507
- "l10n",
508
- "localization",
509
- "localisation",
510
- // Currency / payment generics (open standards, not company brands)
511
- "usd",
512
- "eur",
513
- "gbp",
514
- "jpy",
515
- "cny",
516
- "usdc",
517
- "usdt",
518
- "btc",
519
- "eth",
520
- "sol",
521
- "crypto",
522
- "fiat",
523
- "stablecoin",
524
- "stablecoins",
525
- "payment",
526
- "payments",
527
- "payout",
528
- "payouts",
529
- "invoice",
530
- "invoices",
531
- // Compliance / certifications
532
- "soc",
533
- "soc2",
534
- "iso",
535
- "iso-27001",
536
- "hipaa",
537
- "ccpa",
538
- "pci",
539
- "pci-dss",
540
- "dpa",
541
- "dpia",
542
- "dmca",
543
- "sla",
544
- "eula",
545
- "aml",
546
- "kyc",
547
- // Open-source / community roles
548
- "contributor",
549
- "contributors",
550
- "maintainer",
551
- "maintainers",
552
- "core-team",
553
- "oss",
554
- "open-source",
555
- // Anti-abuse / scam-bait names (frequently used in account fraud)
556
- "spam",
557
- "scam",
558
- "phishing",
559
- "malware",
560
- "hack",
561
- "hacked",
562
- "giveaway",
563
- "airdrop",
564
- "bitcoin-giveaway",
565
- "free-credits",
566
- "free-money",
567
- // Apify marketing / campaign slugs
568
- "launch",
569
- "launches",
570
- "webinar",
571
- "webinars",
572
- "meetup",
573
- "meetups",
574
- "summit",
575
- "conference",
576
- "conferences",
577
- // Organizations / workspaces / permissions
578
- "orgs",
579
- "workspaces",
580
- "tenant",
581
- "tenants",
582
- "permission",
583
- "permissions",
584
- // Auth / security
585
- "saml",
586
- "scim",
587
- "token",
588
- "tokens",
589
- "api-key",
590
- "api-keys",
591
- // Billing / commerce
592
- "coupon",
593
- "coupons",
594
- "discount",
595
- "discounts",
596
- "promos",
597
- "refund",
598
- "refunds",
599
- "credit",
600
- "credits",
601
- "billing-portal",
602
- // Infrastructure / environments
603
- "production",
604
- "canary",
605
- "restricted",
606
- // Communication
607
- "conversations",
608
- "reactions",
609
- "mentions",
610
- // Legal / trust / web standards
611
- "accessibility",
612
- "imprint",
613
- "impressum",
614
- "trust",
615
- "trust-center",
616
- "security-center",
617
- // Brand protection / impersonation prevention
618
- "brand",
619
- "branding",
620
- "support-team",
621
- "abuse",
622
- // Incidents / updates
623
- "outage",
624
- "incident",
625
- "incidents",
626
- "what-is-new",
627
- // Special files
628
- "index",
629
- "index\\.html",
630
- "(favicon\\.[a-z]+)",
631
- "BingSiteAuth.xml",
632
- "(google.+\\.html)",
633
- "robots\\.txt",
634
- "(sitemap\\.[a-z]+)",
635
- "(apple-touch-icon.*)",
636
- "security-whitepaper\\.pdf",
637
- "security\\.txt",
638
- "llms\\.txt",
639
- "llms-full\\.txt",
640
- "AGENTS\\.md",
641
- "CLAUDE\\.md",
642
- // All hidden files
643
- "(\\..*)",
644
- // Username starting with xxx-
645
- "(xxx-.*)",
646
- // Username starting with install-cli. (see https://docs.apify.com/cli/docs/installation)
647
- "(install-cli\\..*)",
648
- // Strings not starting with letter or number
649
- "([^0-9a-z].*)",
650
- // Strings not ending with letter or number
651
- "(.*[^0-9a-z])",
652
- // Strings where there's more than one underscore, comma or dash in row
653
- "(.*[_.\\-]{2}.*)",
654
- // Reserved usernames from https://github.com/shouldbee/reserved-usernames/blob/master/reserved-usernames.json
655
- "0",
656
- "about",
657
- "access",
658
- "account",
659
- "accounts",
660
- "activate",
661
- "activities",
662
- "activity",
663
- "ad",
664
- "add",
665
- "address",
666
- "adm",
667
- "admin",
668
- "administration",
669
- "administrator",
670
- "ads",
671
- "adult",
672
- "advertising",
673
- "affiliate",
674
- "affiliates",
675
- "ajax",
676
- "all",
677
- "alpha",
678
- "analysis",
679
- "analytics",
680
- "android",
681
- "anon",
682
- "anonymous",
683
- "api",
684
- "app",
685
- "apps",
686
- "archive",
687
- "archives",
688
- "article",
689
- "asct",
690
- "asset",
691
- "atom",
692
- "auth",
693
- "authentication",
694
- "avatar",
695
- "backup",
696
- "balancer-manager",
697
- "banner",
698
- "banners",
699
- "beta",
700
- "billing",
701
- "bin",
702
- "blog",
703
- "blogs",
704
- "board",
705
- "book",
706
- "bookmark",
707
- "bot",
708
- "bots",
709
- "bug",
710
- "business",
711
- "cache",
712
- "cadastro",
713
- "calendar",
714
- "call",
715
- "campaign",
716
- "cancel",
717
- "captcha",
718
- "career",
719
- "careers",
720
- "cart",
721
- "categories",
722
- "category",
723
- "cgi",
724
- "cgi-bin",
725
- "changelog",
726
- "chat",
727
- "check",
728
- "checking",
729
- "checkout",
730
- "client",
731
- "cliente",
732
- "clients",
733
- "code",
734
- "codereview",
735
- "comercial",
736
- "comment",
737
- "comments",
738
- "communities",
739
- "community",
740
- "company",
741
- "compare",
742
- "compras",
743
- "config",
744
- "configuration",
745
- "connect",
746
- "contact",
747
- "contact-us",
748
- "contact_us",
749
- "contactus",
750
- "contest",
751
- "contribute",
752
- "corp",
753
- "create",
754
- "css",
755
- "dashboard",
756
- "data",
757
- "db",
758
- "default",
759
- "delete",
760
- "demo",
761
- "design",
762
- "designer",
763
- "destroy",
764
- "dev",
765
- "devel",
766
- "developer",
767
- "developers",
768
- "diagram",
769
- "diary",
770
- "dict",
771
- "dictionary",
772
- "die",
773
- "dir",
774
- "direct_messages",
775
- "directory",
776
- "dist",
777
- "doc",
778
- "docs",
779
- "documentation",
780
- "domain",
781
- "download",
782
- "downloads",
783
- "ecommerce",
784
- "edit",
785
- "editor",
786
- "edu",
787
- "education",
788
- "email",
789
- "employment",
790
- "empty",
791
- "end",
792
- "enterprise",
793
- "entries",
794
- "entry",
795
- "error",
796
- "errors",
797
- "eval",
798
- "event",
799
- "events",
800
- "exit",
801
- "explore",
802
- "facebook",
803
- "faq",
804
- "favorite",
805
- "favorites",
806
- "feature",
807
- "features",
808
- "feed",
809
- "feedback",
810
- "feeds",
811
- "file",
812
- "files",
813
- "first",
814
- "flash",
815
- "fleet",
816
- "fleets",
817
- "flog",
818
- "follow",
819
- "followers",
820
- "following",
821
- "forgot",
822
- "form",
823
- "forum",
824
- "forums",
825
- "founder",
826
- "free",
827
- "friend",
828
- "friends",
829
- "ftp",
830
- "gadget",
831
- "gadgets",
832
- "game",
833
- "games",
834
- "get",
835
- "gift",
836
- "gifts",
837
- "gist",
838
- "github",
839
- "graph",
840
- "group",
841
- "groups",
842
- "guest",
843
- "guests",
844
- "help",
845
- "home",
846
- "homepage",
847
- "host",
848
- "hosting",
849
- "hostmaster",
850
- "hostname",
851
- "howto",
852
- "hpg",
853
- "html",
854
- "http",
855
- "httpd",
856
- "https",
857
- "i",
858
- "iamges",
859
- "icon",
860
- "icons",
861
- "id",
862
- "idea",
863
- "ideas",
864
- "image",
865
- "images",
866
- "imap",
867
- "img",
868
- "index",
869
- "indice",
870
- "info",
871
- "information",
872
- "inquiry",
873
- "instagram",
874
- "intranet",
875
- "invitations",
876
- "invite",
877
- "ipad",
878
- "iphone",
879
- "irc",
880
- "is",
881
- "issue",
882
- "issues",
883
- "it",
884
- "item",
885
- "items",
886
- "java",
887
- "javascript",
888
- "job",
889
- "jobs",
890
- "join",
891
- "js",
892
- "json",
893
- "jump",
894
- "knowledgebase",
895
- "language",
896
- "languages",
897
- "last",
898
- "ldap-status",
899
- "legal",
900
- "license",
901
- "link",
902
- "links",
903
- "linux",
904
- "list",
905
- "lists",
906
- "log",
907
- "log-in",
908
- "log-out",
909
- "log_in",
910
- "log_out",
911
- "login",
912
- "logout",
913
- "logs",
914
- "m",
915
- "mac",
916
- "mail",
917
- "mail1",
918
- "mail2",
919
- "mail3",
920
- "mail4",
921
- "mail5",
922
- "mailer",
923
- "mailing",
924
- "maintenance",
925
- "manager",
926
- "manual",
927
- "map",
928
- "maps",
929
- "marketing",
930
- "master",
931
- "me",
932
- "media",
933
- "member",
934
- "members",
935
- "message",
936
- "messages",
937
- "messenger",
938
- "microblog",
939
- "microblogs",
940
- "mine",
941
- "mis",
942
- "mob",
943
- "mobile",
944
- "movie",
945
- "movies",
946
- "mp3",
947
- "msg",
948
- "msn",
949
- "music",
950
- "musicas",
951
- "mx",
952
- "my",
953
- "mysql",
954
- "name",
955
- "named",
956
- "nan",
957
- "navi",
958
- "navigation",
959
- "net",
960
- "network",
961
- "new",
962
- "news",
963
- "newsletter",
964
- "nick",
965
- "nickname",
966
- "notes",
967
- "noticias",
968
- "notification",
969
- "notifications",
970
- "notify",
971
- "ns",
972
- "ns1",
973
- "ns10",
974
- "ns2",
975
- "ns3",
976
- "ns4",
977
- "ns5",
978
- "ns6",
979
- "ns7",
980
- "ns8",
981
- "ns9",
982
- "null",
983
- "oauth",
984
- "oauth_clients",
985
- "offer",
986
- "offers",
987
- "official",
988
- "old",
989
- "online",
990
- "openid",
991
- "operator",
992
- "order",
993
- "orders",
994
- "organization",
995
- "organizations",
996
- "overview",
997
- "owner",
998
- "owners",
999
- "page",
1000
- "pager",
1001
- "pages",
1002
- "panel",
1003
- "password",
1004
- "payment",
1005
- "perl",
1006
- "phone",
1007
- "photo",
1008
- "photoalbum",
1009
- "photos",
1010
- "php",
1011
- "phpmyadmin",
1012
- "phppgadmin",
1013
- "phpredisadmin",
1014
- "pic",
1015
- "pics",
1016
- "ping",
1017
- "plan",
1018
- "plans",
1019
- "plugin",
1020
- "plugins",
1021
- "policy",
1022
- "pop",
1023
- "pop3",
1024
- "popular",
1025
- "portal",
1026
- "post",
1027
- "postfix",
1028
- "postmaster",
1029
- "posts",
1030
- "pr",
1031
- "premium",
1032
- "press",
1033
- "price",
1034
- "pricing",
1035
- "privacy",
1036
- "privacy-policy",
1037
- "privacy_policy",
1038
- "privacypolicy",
1039
- "private",
1040
- "product",
1041
- "products",
1042
- "profile",
1043
- "project",
1044
- "projects",
1045
- "promo",
1046
- "pub",
1047
- "public",
1048
- "purpose",
1049
- "put",
1050
- "python",
1051
- "query",
1052
- "random",
1053
- "ranking",
1054
- "read",
1055
- "readme",
1056
- "recent",
1057
- "recruit",
1058
- "recruitment",
1059
- "register",
1060
- "registration",
1061
- "release",
1062
- "remove",
1063
- "replies",
1064
- "report",
1065
- "reports",
1066
- "repositories",
1067
- "repository",
1068
- "req",
1069
- "request",
1070
- "requests",
1071
- "reset",
1072
- "roc",
1073
- "root",
1074
- "rss",
1075
- "ruby",
1076
- "rule",
1077
- "sag",
1078
- "sale",
1079
- "sales",
1080
- "sample",
1081
- "samples",
1082
- "save",
1083
- "school",
1084
- "script",
1085
- "scripts",
1086
- "search",
1087
- "secure",
1088
- "security",
1089
- "self",
1090
- "send",
1091
- "server",
1092
- "server-info",
1093
- "server-status",
1094
- "service",
1095
- "services",
1096
- "session",
1097
- "sessions",
1098
- "setting",
1099
- "settings",
1100
- "setup",
1101
- "share",
1102
- "shop",
1103
- "show",
1104
- "sign-in",
1105
- "sign-up",
1106
- "sign_in",
1107
- "sign_up",
1108
- "signin",
1109
- "signout",
1110
- "signup",
1111
- "site",
1112
- "sitemap",
1113
- "sites",
1114
- "smartphone",
1115
- "smtp",
1116
- "soporte",
1117
- "source",
1118
- "spec",
1119
- "special",
1120
- "sql",
1121
- "src",
1122
- "ssh",
1123
- "ssl",
1124
- "ssladmin",
1125
- "ssladministrator",
1126
- "sslwebmaster",
1127
- "staff",
1128
- "stage",
1129
- "staging",
1130
- "start",
1131
- "stat",
1132
- "state",
1133
- "static",
1134
- "stats",
1135
- "status",
1136
- "store",
1137
- "stores",
1138
- "stories",
1139
- "style",
1140
- "styleguide",
1141
- "stylesheet",
1142
- "stylesheets",
1143
- "subdomain",
1144
- "subscribe",
1145
- "subscription",
1146
- "subscriptions",
1147
- "suporte",
1148
- "support",
1149
- "svn",
1150
- "swf",
1151
- "sys",
1152
- "sysadmin",
1153
- "sysadministrator",
1154
- "system",
1155
- "tablet",
1156
- "tablets",
1157
- "tag",
1158
- "talk",
1159
- "task",
1160
- "tasks",
1161
- "team",
1162
- "teams",
1163
- "tech",
1164
- "telnet",
1165
- "term",
1166
- "terms",
1167
- "terms-of-service",
1168
- "terms_of_service",
1169
- "termsofservice",
1170
- "test",
1171
- "test1",
1172
- "test2",
1173
- "test3",
1174
- "teste",
1175
- "testing",
1176
- "tests",
1177
- "theme",
1178
- "themes",
1179
- "thread",
1180
- "threads",
1181
- "tmp",
1182
- "todo",
1183
- "tool",
1184
- "tools",
1185
- "top",
1186
- "topic",
1187
- "topics",
1188
- "tos",
1189
- "tour",
1190
- "translations",
1191
- "trends",
1192
- "tutorial",
1193
- "tux",
1194
- "tv",
1195
- "twitter",
1196
- "undef",
1197
- "unfollow",
1198
- "unsubscribe",
1199
- "update",
1200
- "upload",
1201
- "uploads",
1202
- "url",
1203
- "usage",
1204
- "user",
1205
- "username",
1206
- "users",
1207
- "usuario",
1208
- "vendas",
1209
- "ver",
1210
- "version",
1211
- "video",
1212
- "videos",
1213
- "visitor",
1214
- "watch",
1215
- "weather",
1216
- "web",
1217
- "webhook",
1218
- "webhooks",
1219
- "webmail",
1220
- "webmaster",
1221
- "website",
1222
- "websites",
1223
- "welcome",
1224
- "widget",
1225
- "widgets",
1226
- "wiki",
1227
- "win",
1228
- "windows",
1229
- "word",
1230
- "work",
1231
- "works",
1232
- "workshop",
1233
- "ww",
1234
- "wws",
1235
- "www",
1236
- "www1",
1237
- "www2",
1238
- "www3",
1239
- "www4",
1240
- "www5",
1241
- "www6",
1242
- "www7",
1243
- "wwws",
1244
- "wwww",
1245
- "xfn",
1246
- "xml",
1247
- "xmpp",
1248
- "xpg",
1249
- "xxx",
1250
- "yaml",
1251
- "year",
1252
- "yml",
1253
- "you",
1254
- "yourdomain",
1255
- "yourname",
1256
- "yoursite",
1257
- "yourusername"
1258
- ];
1259
- var FORBIDDEN_REGEXP = new RegExp(`^(${import_consts.ANONYMOUS_USERNAME}|${FORBIDDEN_USERNAMES_REGEXPS.join("|")})$`, "i");
1260
- function isForbiddenUsername(username) {
1261
- return !!username.match(import_consts.APIFY_ID_REGEX) || !!username.match(FORBIDDEN_REGEXP);
1262
- }
1263
- __name(isForbiddenUsername, "isForbiddenUsername");
1264
212
  async function sequentializePromises(promises) {
1265
213
  if (!promises.length) return [];
1266
214
  const results = [];
@@ -1338,7 +286,7 @@ function createInjectableRegExp(regex) {
1338
286
  __name(createInjectableRegExp, "createInjectableRegExp");
1339
287
 
1340
288
  // src/utilities.client.ts
1341
- var import_consts2 = require("@apify/consts");
289
+ var import_consts = require("@apify/consts");
1342
290
  function isNullOrUndefined(obj) {
1343
291
  return obj == null;
1344
292
  }
@@ -1479,10 +427,10 @@ function markedDecreaseHeadsLevel(text, level) {
1479
427
  __name(markedDecreaseHeadsLevel, "markedDecreaseHeadsLevel");
1480
428
  function buildOrVersionNumberIntToStr(int) {
1481
429
  if (typeof int !== "number" || !(int >= 0)) return null;
1482
- const major = Math.floor(int / import_consts2.VERSION_INT_MAJOR_BASE);
1483
- const remainder = int % import_consts2.VERSION_INT_MAJOR_BASE;
1484
- const minor = Math.floor(remainder / import_consts2.VERSION_INT_MINOR_BASE);
1485
- const build = remainder % import_consts2.VERSION_INT_MINOR_BASE;
430
+ const major = Math.floor(int / import_consts.VERSION_INT_MAJOR_BASE);
431
+ const remainder = int % import_consts.VERSION_INT_MAJOR_BASE;
432
+ const minor = Math.floor(remainder / import_consts.VERSION_INT_MINOR_BASE);
433
+ const build = remainder % import_consts.VERSION_INT_MINOR_BASE;
1486
434
  let str = `${major}.${minor}`;
1487
435
  if (build > 0) str += `.${build}`;
1488
436
  return str;
@@ -1621,9 +569,1086 @@ function splitFullName(fullName) {
1621
569
  }
1622
570
  __name(splitFullName, "splitFullName");
1623
571
  function isUrlRelative(url) {
1624
- return import_consts2.RELATIVE_URL_REGEX.test(url);
572
+ return import_consts.RELATIVE_URL_REGEX.test(url);
573
+ }
574
+ __name(isUrlRelative, "isUrlRelative");
575
+
576
+ // src/usernames.ts
577
+ var import_consts2 = require("@apify/consts");
578
+ var FORBIDDEN_USERNAMES_REGEXPS = [
579
+ // App routes
580
+ "page-not-found",
581
+ "docs",
582
+ "terms-of-use",
583
+ "about",
584
+ "pricing",
585
+ "privacy-policy",
586
+ "customers",
587
+ "request-form",
588
+ "request-solution",
589
+ "release-notes",
590
+ "jobs",
591
+ "api-reference",
592
+ "video-tutorials",
593
+ "acts",
594
+ "key-value-stores",
595
+ "schedules",
596
+ "account",
597
+ "sign-up",
598
+ "sign-in-discourse",
599
+ "admin",
600
+ "documentation",
601
+ "change-password",
602
+ "enroll-account",
603
+ "forgot-password",
604
+ "reset-password",
605
+ "sign-in",
606
+ "verify-email",
607
+ "live-status",
608
+ "browser-info",
609
+ "webhooks",
610
+ "health-check",
611
+ "api",
612
+ "change-log",
613
+ "dashboard",
614
+ "community",
615
+ "crawlers",
616
+ "ext",
617
+ "schemas",
618
+ // Various strings
619
+ "admin",
620
+ "administration",
621
+ "crawler",
622
+ "act",
623
+ "library",
624
+ "lib",
625
+ "apifier",
626
+ "team",
627
+ "contact",
628
+ "doc",
629
+ "documentation",
630
+ "for-business",
631
+ "for-developers",
632
+ "developers",
633
+ "business",
634
+ "integrations",
635
+ "job",
636
+ "setting",
637
+ "settings",
638
+ "privacy",
639
+ "policy",
640
+ "assets",
641
+ "help",
642
+ "config",
643
+ "configuration",
644
+ "terms",
645
+ "hiring",
646
+ "hire",
647
+ "status",
648
+ "status-page",
649
+ "solutions",
650
+ "support",
651
+ "market",
652
+ "marketplace",
653
+ "download",
654
+ "downloads",
655
+ "username",
656
+ "users",
657
+ "user",
658
+ "login",
659
+ "logout",
660
+ "signin",
661
+ "sign",
662
+ "signup",
663
+ "sign-out",
664
+ "signout",
665
+ "plugins",
666
+ "plug-ins",
667
+ "reset",
668
+ "password",
669
+ "passwords",
670
+ "square",
671
+ "profile-photos",
672
+ "profiles",
673
+ "true",
674
+ "false",
675
+ "js",
676
+ "css",
677
+ "img",
678
+ "images",
679
+ "image",
680
+ "partials",
681
+ "fonts",
682
+ "font",
683
+ "dynamic_templates",
684
+ "app",
685
+ "schedules",
686
+ "community",
687
+ "storage",
688
+ "storages",
689
+ "account",
690
+ "node_modules",
691
+ "bower_components",
692
+ "video",
693
+ "knowledgebase",
694
+ "forum",
695
+ "customers",
696
+ "blog",
697
+ "health-check",
698
+ "health",
699
+ "anim",
700
+ "forum_topics.json",
701
+ "forum_categories.json",
702
+ "me",
703
+ "you",
704
+ "him",
705
+ "she",
706
+ "it",
707
+ "external",
708
+ "actor",
709
+ "crawler",
710
+ "scheduler",
711
+ "api",
712
+ "sdk",
713
+ "puppeteer",
714
+ "webdriver",
715
+ "selenium",
716
+ "(selenium.*webdriver)",
717
+ "undefined",
718
+ "page-analyzer",
719
+ "wp-login.php",
720
+ "welcome.action",
721
+ "echo",
722
+ "proxy",
723
+ "super-proxy",
724
+ "gdpr",
725
+ "case-studies",
726
+ "use-cases",
727
+ "how-to",
728
+ "kb",
729
+ "cookies",
730
+ "cookie-policy",
731
+ "cookies-policy",
732
+ "powered-by",
733
+ "run",
734
+ "runs",
735
+ "actor",
736
+ "actors",
737
+ "act",
738
+ "acts",
739
+ "success-stories",
740
+ "roadmap",
741
+ "join-marketplace",
742
+ "presskit",
743
+ "press-kit",
744
+ "covid-19",
745
+ "covid",
746
+ "covid19",
747
+ "matfyz",
748
+ "ideas",
749
+ "public-actors",
750
+ "resources",
751
+ "partners",
752
+ "affiliate",
753
+ "industries",
754
+ "web-scraping",
755
+ "custom-solutions",
756
+ "solution-provider",
757
+ "alternatives",
758
+ "platform",
759
+ "freelancers",
760
+ "freelancer",
761
+ "partner",
762
+ "preview",
763
+ "templates",
764
+ "data-for-generative-ai",
765
+ "discord",
766
+ "praguecrawl",
767
+ "prague-crawl",
768
+ "bob",
769
+ "ai-agents",
770
+ "reel",
771
+ "video-reel",
772
+ "mcp",
773
+ "mcpc",
774
+ "model-context-protocol",
775
+ "modelcontextprotocol",
776
+ // 'apify.com' intentionally unescaped so "." matches any character, also blocking variants like "apify_com" or "apifyxcom"
777
+ "apify.com",
778
+ "design-kit",
779
+ "press-kit",
780
+ "scrapers",
781
+ "professional-services",
782
+ "challenge",
783
+ "challange",
784
+ "1m-challenge",
785
+ "1m-usd-challenge",
786
+ "contact-sales",
787
+ "creator",
788
+ "creator-plan",
789
+ "request-an-integration",
790
+ "whitepaper",
791
+ "adviser",
792
+ "crawlee",
793
+ "ultimate-scraper",
794
+ "agent-skills",
795
+ // Apify platform resources
796
+ "key-value-store",
797
+ "request-queue",
798
+ "request-queues",
799
+ "builds",
800
+ "schedule",
801
+ "standby",
802
+ "pay-per-event",
803
+ "pay-per-result",
804
+ "pay-per-usage",
805
+ "ppe",
806
+ "ppr",
807
+ "compute-unit",
808
+ "compute-units",
809
+ // AI / LLM related
810
+ "agent",
811
+ "agents",
812
+ "agentic",
813
+ "llms",
814
+ "llm",
815
+ "openai",
816
+ "anthropic",
817
+ "claude",
818
+ "copilot",
819
+ "mistral",
820
+ "prompt",
821
+ "prompts",
822
+ "embeddings",
823
+ "vectors",
824
+ "rag",
825
+ // Agentic protocols / agentic payments / agent identity
826
+ "agentic-commerce",
827
+ "agentic-economy",
828
+ "agentic-payments",
829
+ "a2a",
830
+ "a2b",
831
+ "a2p",
832
+ "ap2",
833
+ "b2a",
834
+ "acp",
835
+ "ucp",
836
+ "mpp",
837
+ "x402",
838
+ "l402",
839
+ "anp",
840
+ "agp",
841
+ "erc-8004",
842
+ "kya",
843
+ "kyapay",
844
+ // Trust / verification / anti-impersonation handles
845
+ // (entries containing 'apify' are already blocked by USERNAME.RESTRICTED_REGEX)
846
+ "official",
847
+ "verified",
848
+ "certified",
849
+ "authorized",
850
+ "partner-official",
851
+ "gold-partner",
852
+ "premium-partner",
853
+ "staff",
854
+ "moderator",
855
+ // Apify subdomain / service names (current and future)
856
+ "console",
857
+ "cli",
858
+ "studio",
859
+ "gateway",
860
+ "workbench",
861
+ "agents-marketplace",
862
+ "agents-store",
863
+ "mcp-server",
864
+ "mcp-servers",
865
+ "mcp-gateway",
866
+ // Region / locale codes (3+ chars only; 1-2 char codes are blocked by USERNAME.MIN_LENGTH)
867
+ "asia",
868
+ "latam",
869
+ "emea",
870
+ "apac",
871
+ "i18n",
872
+ "l10n",
873
+ "localization",
874
+ "localisation",
875
+ // Currency / payment generics (open standards, not company brands)
876
+ "usd",
877
+ "eur",
878
+ "gbp",
879
+ "jpy",
880
+ "cny",
881
+ "usdc",
882
+ "usdt",
883
+ "btc",
884
+ "eth",
885
+ "sol",
886
+ "crypto",
887
+ "fiat",
888
+ "stablecoin",
889
+ "stablecoins",
890
+ "payment",
891
+ "payments",
892
+ "payout",
893
+ "payouts",
894
+ "invoice",
895
+ "invoices",
896
+ // Compliance / certifications
897
+ "soc",
898
+ "soc2",
899
+ "iso",
900
+ "iso-27001",
901
+ "hipaa",
902
+ "ccpa",
903
+ "pci",
904
+ "pci-dss",
905
+ "dpa",
906
+ "dpia",
907
+ "dmca",
908
+ "sla",
909
+ "eula",
910
+ "aml",
911
+ "kyc",
912
+ // Open-source / community roles
913
+ "contributor",
914
+ "contributors",
915
+ "maintainer",
916
+ "maintainers",
917
+ "core-team",
918
+ "oss",
919
+ "open-source",
920
+ // Anti-abuse / scam-bait names (frequently used in account fraud)
921
+ "spam",
922
+ "scam",
923
+ "phishing",
924
+ "malware",
925
+ "hack",
926
+ "hacked",
927
+ "giveaway",
928
+ "airdrop",
929
+ "bitcoin-giveaway",
930
+ "free-credits",
931
+ "free-money",
932
+ // Apify marketing / campaign slugs
933
+ "launch",
934
+ "launches",
935
+ "webinar",
936
+ "webinars",
937
+ "meetup",
938
+ "meetups",
939
+ "summit",
940
+ "conference",
941
+ "conferences",
942
+ // Organizations / workspaces / permissions
943
+ "orgs",
944
+ "workspaces",
945
+ "tenant",
946
+ "tenants",
947
+ "permission",
948
+ "permissions",
949
+ // Auth / security
950
+ "saml",
951
+ "scim",
952
+ "token",
953
+ "tokens",
954
+ "api-key",
955
+ "api-keys",
956
+ // Billing / commerce
957
+ "coupon",
958
+ "coupons",
959
+ "discount",
960
+ "discounts",
961
+ "promos",
962
+ "refund",
963
+ "refunds",
964
+ "credit",
965
+ "credits",
966
+ "billing-portal",
967
+ // Infrastructure / environments
968
+ "production",
969
+ "canary",
970
+ "restricted",
971
+ // Communication
972
+ "conversations",
973
+ "reactions",
974
+ "mentions",
975
+ // Legal / trust / web standards
976
+ "accessibility",
977
+ "imprint",
978
+ "impressum",
979
+ "trust",
980
+ "trust-center",
981
+ "security-center",
982
+ // Brand protection / impersonation prevention
983
+ "brand",
984
+ "branding",
985
+ "support-team",
986
+ "abuse",
987
+ // Incidents / updates
988
+ "outage",
989
+ "incident",
990
+ "incidents",
991
+ "what-is-new",
992
+ // Special files
993
+ "index",
994
+ "index\\.html",
995
+ "(favicon\\.[a-z]+)",
996
+ "BingSiteAuth.xml",
997
+ "(google.+\\.html)",
998
+ "robots\\.txt",
999
+ "(sitemap\\.[a-z]+)",
1000
+ "(apple-touch-icon.*)",
1001
+ "security-whitepaper\\.pdf",
1002
+ "security\\.txt",
1003
+ "llms\\.txt",
1004
+ "llms-full\\.txt",
1005
+ "AGENTS\\.md",
1006
+ "CLAUDE\\.md",
1007
+ // All hidden files
1008
+ "(\\..*)",
1009
+ // Username starting with xxx-
1010
+ "(xxx-.*)",
1011
+ // Usernames containing inappropriate/adult content keywords
1012
+ "(.*porn.*)",
1013
+ "(.*vagina.*)",
1014
+ "(.*dildo.*)",
1015
+ "(.*nsfw.*)",
1016
+ "(.*hentai.*)",
1017
+ "(.*cunt.*)",
1018
+ "(.*fuck.*)",
1019
+ "(.*shit.*)",
1020
+ "(.*bitch.*)",
1021
+ "(.*slut.*)",
1022
+ "(.*whore.*)",
1023
+ "(.*boob.*)",
1024
+ "(.*tits.*)",
1025
+ // Words that require non-letter boundaries to avoid false positives with
1026
+ // legitimate surnames (Dickens, Hancock, Nudelman) and words (Uranus, pussycat, snaked)
1027
+ "((.+[^a-z]|)cock([^a-z].+|))",
1028
+ "((.+[^a-z]|)dick([^a-z].+|))",
1029
+ "((.+[^a-z]|)anus([^a-z].+|))",
1030
+ "((.+[^a-z]|)pussy([^a-z].+|))",
1031
+ "((.+[^a-z]|)nude([^a-z].+|))",
1032
+ "((.+[^a-z]|)penis([^a-z].+|))",
1033
+ "((.+[^a-z]|)naked([^a-z].+|))",
1034
+ // Username starting with install-cli. (see https://docs.apify.com/cli/docs/installation)
1035
+ "(install-cli\\..*)",
1036
+ // Strings not starting with letter or number
1037
+ "([^0-9a-z].*)",
1038
+ // Strings not ending with letter or number
1039
+ "(.*[^0-9a-z])",
1040
+ // Strings where there's more than one underscore, comma or dash in row
1041
+ "(.*[_.\\-]{2}.*)",
1042
+ // Reserved usernames from https://github.com/shouldbee/reserved-usernames/blob/master/reserved-usernames.json
1043
+ "0",
1044
+ "about",
1045
+ "access",
1046
+ "account",
1047
+ "accounts",
1048
+ "activate",
1049
+ "activities",
1050
+ "activity",
1051
+ "ad",
1052
+ "add",
1053
+ "address",
1054
+ "adm",
1055
+ "admin",
1056
+ "administration",
1057
+ "administrator",
1058
+ "ads",
1059
+ "adult",
1060
+ "advertising",
1061
+ "affiliate",
1062
+ "affiliates",
1063
+ "ajax",
1064
+ "all",
1065
+ "alpha",
1066
+ "analysis",
1067
+ "analytics",
1068
+ "android",
1069
+ "anon",
1070
+ "anonymous",
1071
+ "api",
1072
+ "app",
1073
+ "apps",
1074
+ "archive",
1075
+ "archives",
1076
+ "article",
1077
+ "asct",
1078
+ "asset",
1079
+ "atom",
1080
+ "auth",
1081
+ "authentication",
1082
+ "avatar",
1083
+ "backup",
1084
+ "balancer-manager",
1085
+ "banner",
1086
+ "banners",
1087
+ "beta",
1088
+ "billing",
1089
+ "bin",
1090
+ "blog",
1091
+ "blogs",
1092
+ "board",
1093
+ "book",
1094
+ "bookmark",
1095
+ "bot",
1096
+ "bots",
1097
+ "bug",
1098
+ "business",
1099
+ "cache",
1100
+ "cadastro",
1101
+ "calendar",
1102
+ "call",
1103
+ "campaign",
1104
+ "cancel",
1105
+ "captcha",
1106
+ "career",
1107
+ "careers",
1108
+ "cart",
1109
+ "categories",
1110
+ "category",
1111
+ "cgi",
1112
+ "cgi-bin",
1113
+ "changelog",
1114
+ "chat",
1115
+ "check",
1116
+ "checking",
1117
+ "checkout",
1118
+ "client",
1119
+ "cliente",
1120
+ "clients",
1121
+ "code",
1122
+ "codereview",
1123
+ "comercial",
1124
+ "comment",
1125
+ "comments",
1126
+ "communities",
1127
+ "community",
1128
+ "company",
1129
+ "compare",
1130
+ "compras",
1131
+ "config",
1132
+ "configuration",
1133
+ "connect",
1134
+ "contact",
1135
+ "contact-us",
1136
+ "contact_us",
1137
+ "contactus",
1138
+ "contest",
1139
+ "contribute",
1140
+ "corp",
1141
+ "create",
1142
+ "css",
1143
+ "dashboard",
1144
+ "data",
1145
+ "db",
1146
+ "default",
1147
+ "delete",
1148
+ "demo",
1149
+ "design",
1150
+ "designer",
1151
+ "destroy",
1152
+ "dev",
1153
+ "devel",
1154
+ "developer",
1155
+ "developers",
1156
+ "diagram",
1157
+ "diary",
1158
+ "dict",
1159
+ "dictionary",
1160
+ "die",
1161
+ "dir",
1162
+ "direct_messages",
1163
+ "directory",
1164
+ "dist",
1165
+ "doc",
1166
+ "docs",
1167
+ "documentation",
1168
+ "domain",
1169
+ "download",
1170
+ "downloads",
1171
+ "ecommerce",
1172
+ "edit",
1173
+ "editor",
1174
+ "edu",
1175
+ "education",
1176
+ "email",
1177
+ "employment",
1178
+ "empty",
1179
+ "end",
1180
+ "enterprise",
1181
+ "entries",
1182
+ "entry",
1183
+ "error",
1184
+ "errors",
1185
+ "eval",
1186
+ "event",
1187
+ "events",
1188
+ "exit",
1189
+ "explore",
1190
+ "facebook",
1191
+ "faq",
1192
+ "favorite",
1193
+ "favorites",
1194
+ "feature",
1195
+ "features",
1196
+ "feed",
1197
+ "feedback",
1198
+ "feeds",
1199
+ "file",
1200
+ "files",
1201
+ "first",
1202
+ "flash",
1203
+ "fleet",
1204
+ "fleets",
1205
+ "flog",
1206
+ "follow",
1207
+ "followers",
1208
+ "following",
1209
+ "forgot",
1210
+ "form",
1211
+ "forum",
1212
+ "forums",
1213
+ "founder",
1214
+ "free",
1215
+ "friend",
1216
+ "friends",
1217
+ "ftp",
1218
+ "gadget",
1219
+ "gadgets",
1220
+ "game",
1221
+ "games",
1222
+ "get",
1223
+ "gift",
1224
+ "gifts",
1225
+ "gist",
1226
+ "github",
1227
+ "graph",
1228
+ "group",
1229
+ "groups",
1230
+ "guest",
1231
+ "guests",
1232
+ "help",
1233
+ "home",
1234
+ "homepage",
1235
+ "host",
1236
+ "hosting",
1237
+ "hostmaster",
1238
+ "hostname",
1239
+ "howto",
1240
+ "hpg",
1241
+ "html",
1242
+ "http",
1243
+ "httpd",
1244
+ "https",
1245
+ "i",
1246
+ "iamges",
1247
+ "icon",
1248
+ "icons",
1249
+ "id",
1250
+ "idea",
1251
+ "ideas",
1252
+ "image",
1253
+ "images",
1254
+ "imap",
1255
+ "img",
1256
+ "index",
1257
+ "indice",
1258
+ "info",
1259
+ "information",
1260
+ "inquiry",
1261
+ "instagram",
1262
+ "intranet",
1263
+ "invitations",
1264
+ "invite",
1265
+ "ipad",
1266
+ "iphone",
1267
+ "irc",
1268
+ "is",
1269
+ "issue",
1270
+ "issues",
1271
+ "it",
1272
+ "item",
1273
+ "items",
1274
+ "java",
1275
+ "javascript",
1276
+ "job",
1277
+ "jobs",
1278
+ "join",
1279
+ "js",
1280
+ "json",
1281
+ "jump",
1282
+ "knowledgebase",
1283
+ "language",
1284
+ "languages",
1285
+ "last",
1286
+ "ldap-status",
1287
+ "legal",
1288
+ "license",
1289
+ "link",
1290
+ "links",
1291
+ "linux",
1292
+ "list",
1293
+ "lists",
1294
+ "log",
1295
+ "log-in",
1296
+ "log-out",
1297
+ "log_in",
1298
+ "log_out",
1299
+ "login",
1300
+ "logout",
1301
+ "logs",
1302
+ "m",
1303
+ "mac",
1304
+ "mail",
1305
+ "mail1",
1306
+ "mail2",
1307
+ "mail3",
1308
+ "mail4",
1309
+ "mail5",
1310
+ "mailer",
1311
+ "mailing",
1312
+ "maintenance",
1313
+ "manager",
1314
+ "manual",
1315
+ "map",
1316
+ "maps",
1317
+ "marketing",
1318
+ "master",
1319
+ "me",
1320
+ "media",
1321
+ "member",
1322
+ "members",
1323
+ "message",
1324
+ "messages",
1325
+ "messenger",
1326
+ "microblog",
1327
+ "microblogs",
1328
+ "mine",
1329
+ "mis",
1330
+ "mob",
1331
+ "mobile",
1332
+ "movie",
1333
+ "movies",
1334
+ "mp3",
1335
+ "msg",
1336
+ "msn",
1337
+ "music",
1338
+ "musicas",
1339
+ "mx",
1340
+ "my",
1341
+ "mysql",
1342
+ "name",
1343
+ "named",
1344
+ "nan",
1345
+ "navi",
1346
+ "navigation",
1347
+ "net",
1348
+ "network",
1349
+ "new",
1350
+ "news",
1351
+ "newsletter",
1352
+ "nick",
1353
+ "nickname",
1354
+ "notes",
1355
+ "noticias",
1356
+ "notification",
1357
+ "notifications",
1358
+ "notify",
1359
+ "ns",
1360
+ "ns1",
1361
+ "ns10",
1362
+ "ns2",
1363
+ "ns3",
1364
+ "ns4",
1365
+ "ns5",
1366
+ "ns6",
1367
+ "ns7",
1368
+ "ns8",
1369
+ "ns9",
1370
+ "null",
1371
+ "oauth",
1372
+ "oauth_clients",
1373
+ "offer",
1374
+ "offers",
1375
+ "official",
1376
+ "old",
1377
+ "online",
1378
+ "openid",
1379
+ "operator",
1380
+ "order",
1381
+ "orders",
1382
+ "organization",
1383
+ "organizations",
1384
+ "overview",
1385
+ "owner",
1386
+ "owners",
1387
+ "page",
1388
+ "pager",
1389
+ "pages",
1390
+ "panel",
1391
+ "password",
1392
+ "payment",
1393
+ "perl",
1394
+ "phone",
1395
+ "photo",
1396
+ "photoalbum",
1397
+ "photos",
1398
+ "php",
1399
+ "phpmyadmin",
1400
+ "phppgadmin",
1401
+ "phpredisadmin",
1402
+ "pic",
1403
+ "pics",
1404
+ "ping",
1405
+ "plan",
1406
+ "plans",
1407
+ "plugin",
1408
+ "plugins",
1409
+ "policy",
1410
+ "pop",
1411
+ "pop3",
1412
+ "popular",
1413
+ "portal",
1414
+ "post",
1415
+ "postfix",
1416
+ "postmaster",
1417
+ "posts",
1418
+ "pr",
1419
+ "premium",
1420
+ "press",
1421
+ "price",
1422
+ "pricing",
1423
+ "privacy",
1424
+ "privacy-policy",
1425
+ "privacy_policy",
1426
+ "privacypolicy",
1427
+ "private",
1428
+ "product",
1429
+ "products",
1430
+ "profile",
1431
+ "project",
1432
+ "projects",
1433
+ "promo",
1434
+ "pub",
1435
+ "public",
1436
+ "purpose",
1437
+ "put",
1438
+ "python",
1439
+ "query",
1440
+ "random",
1441
+ "ranking",
1442
+ "read",
1443
+ "readme",
1444
+ "recent",
1445
+ "recruit",
1446
+ "recruitment",
1447
+ "register",
1448
+ "registration",
1449
+ "release",
1450
+ "remove",
1451
+ "replies",
1452
+ "report",
1453
+ "reports",
1454
+ "repositories",
1455
+ "repository",
1456
+ "req",
1457
+ "request",
1458
+ "requests",
1459
+ "reset",
1460
+ "roc",
1461
+ "root",
1462
+ "rss",
1463
+ "ruby",
1464
+ "rule",
1465
+ "sag",
1466
+ "sale",
1467
+ "sales",
1468
+ "sample",
1469
+ "samples",
1470
+ "save",
1471
+ "school",
1472
+ "script",
1473
+ "scripts",
1474
+ "search",
1475
+ "secure",
1476
+ "security",
1477
+ "self",
1478
+ "send",
1479
+ "server",
1480
+ "server-info",
1481
+ "server-status",
1482
+ "service",
1483
+ "services",
1484
+ "session",
1485
+ "sessions",
1486
+ "setting",
1487
+ "settings",
1488
+ "setup",
1489
+ "share",
1490
+ "shop",
1491
+ "show",
1492
+ "sign-in",
1493
+ "sign-up",
1494
+ "sign_in",
1495
+ "sign_up",
1496
+ "signin",
1497
+ "signout",
1498
+ "signup",
1499
+ "site",
1500
+ "sitemap",
1501
+ "sites",
1502
+ "smartphone",
1503
+ "smtp",
1504
+ "soporte",
1505
+ "source",
1506
+ "spec",
1507
+ "special",
1508
+ "sql",
1509
+ "src",
1510
+ "ssh",
1511
+ "ssl",
1512
+ "ssladmin",
1513
+ "ssladministrator",
1514
+ "sslwebmaster",
1515
+ "staff",
1516
+ "stage",
1517
+ "staging",
1518
+ "start",
1519
+ "stat",
1520
+ "state",
1521
+ "static",
1522
+ "stats",
1523
+ "status",
1524
+ "store",
1525
+ "stores",
1526
+ "stories",
1527
+ "style",
1528
+ "styleguide",
1529
+ "stylesheet",
1530
+ "stylesheets",
1531
+ "subdomain",
1532
+ "subscribe",
1533
+ "subscription",
1534
+ "subscriptions",
1535
+ "suporte",
1536
+ "support",
1537
+ "svn",
1538
+ "swf",
1539
+ "sys",
1540
+ "sysadmin",
1541
+ "sysadministrator",
1542
+ "system",
1543
+ "tablet",
1544
+ "tablets",
1545
+ "tag",
1546
+ "talk",
1547
+ "task",
1548
+ "tasks",
1549
+ "team",
1550
+ "teams",
1551
+ "tech",
1552
+ "telnet",
1553
+ "term",
1554
+ "terms",
1555
+ "terms-of-service",
1556
+ "terms_of_service",
1557
+ "termsofservice",
1558
+ "test",
1559
+ "test1",
1560
+ "test2",
1561
+ "test3",
1562
+ "teste",
1563
+ "testing",
1564
+ "tests",
1565
+ "theme",
1566
+ "themes",
1567
+ "thread",
1568
+ "threads",
1569
+ "tmp",
1570
+ "todo",
1571
+ "tool",
1572
+ "tools",
1573
+ "top",
1574
+ "topic",
1575
+ "topics",
1576
+ "tos",
1577
+ "tour",
1578
+ "translations",
1579
+ "trends",
1580
+ "tutorial",
1581
+ "tux",
1582
+ "tv",
1583
+ "twitter",
1584
+ "undef",
1585
+ "unfollow",
1586
+ "unsubscribe",
1587
+ "update",
1588
+ "upload",
1589
+ "uploads",
1590
+ "url",
1591
+ "usage",
1592
+ "user",
1593
+ "username",
1594
+ "users",
1595
+ "usuario",
1596
+ "vendas",
1597
+ "ver",
1598
+ "version",
1599
+ "video",
1600
+ "videos",
1601
+ "visitor",
1602
+ "watch",
1603
+ "weather",
1604
+ "web",
1605
+ "webhook",
1606
+ "webhooks",
1607
+ "webmail",
1608
+ "webmaster",
1609
+ "website",
1610
+ "websites",
1611
+ "welcome",
1612
+ "widget",
1613
+ "widgets",
1614
+ "wiki",
1615
+ "win",
1616
+ "windows",
1617
+ "word",
1618
+ "work",
1619
+ "works",
1620
+ "workshop",
1621
+ "ww",
1622
+ "wws",
1623
+ "www",
1624
+ "www1",
1625
+ "www2",
1626
+ "www3",
1627
+ "www4",
1628
+ "www5",
1629
+ "www6",
1630
+ "www7",
1631
+ "wwws",
1632
+ "wwww",
1633
+ "xfn",
1634
+ "xml",
1635
+ "xmpp",
1636
+ "xpg",
1637
+ "xxx",
1638
+ "yaml",
1639
+ "year",
1640
+ "yml",
1641
+ "you",
1642
+ "yourdomain",
1643
+ "yourname",
1644
+ "yoursite",
1645
+ "yourusername"
1646
+ ];
1647
+ var FORBIDDEN_REGEXP = new RegExp(`^(${import_consts2.ANONYMOUS_USERNAME}|${FORBIDDEN_USERNAMES_REGEXPS.join("|")})$`, "i");
1648
+ function isForbiddenUsername(username) {
1649
+ return !!username.match(import_consts2.APIFY_ID_REGEX) || !!username.match(FORBIDDEN_REGEXP);
1625
1650
  }
1626
- __name(isUrlRelative, "isUrlRelative");
1651
+ __name(isForbiddenUsername, "isForbiddenUsername");
1627
1652
 
1628
1653
  // src/exponential_backoff.ts
1629
1654
  var import_log2 = __toESM(require("@apify/log"));