calmlens 0.22.0 → 0.23.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.
Files changed (84) hide show
  1. package/bin/calmlens.js +44 -26
  2. package/cjs/{BrowserUpload-BWjZ9ntu.d.ts → BrowserUpload-B2kmc3Y_.d.ts} +2 -2
  3. package/cjs/{BrowserUpload-Bwlib4Zc.js → BrowserUpload-HQjhZrW-.js} +1 -1
  4. package/{esm/CalmLensAppClient-BaW3ddUR.d.ts → cjs/CalmLensAppClient-CMVh0y5w.d.ts} +1 -1
  5. package/cjs/{CalmLensAppClient-DUYMo9PZ.js → CalmLensAppClient-yNhGTyvi.js} +2 -2
  6. package/cjs/{CalmLensOptionKeys-YvgV995V.js → CalmLensOptionKeys-B4gAOSbY.js} +1 -1
  7. package/{esm/CalmLensServerClient-BKzn8zmp.d.ts → cjs/CalmLensServerClient-BFt1L_FZ.d.ts} +9 -9
  8. package/cjs/{CalmLensServerClient-3N-gdsxC.js → CalmLensServerClient-BGlhX1Ep.js} +27 -10
  9. package/cjs/{CalmLensTypes-BDKwThbO.d.ts → CalmLensTypes-SmOCgKI3.d.ts} +298 -69
  10. package/cjs/{Classification-Q5zGpR8l-CEWjnE39.d.ts → Classification-CxRedzgH-C9qlYW_J.d.ts} +35 -0
  11. package/{esm/Core-C33pkBmf.d.ts → cjs/Core-Dt_HUNvH.d.ts} +4 -3
  12. package/cjs/{Core-Cm5Z1oJ9.js → Core-zXLf8JKh.js} +3 -3
  13. package/cjs/{ModerationContextLimits-ud1xpZRK.js → ModerationContextLimits-C6Ts1Xhw.js} +4 -11
  14. package/cjs/{ReactUpload-DhF8mm51.d.ts → ReactUpload-Bd7Hea4w.d.ts} +1 -1
  15. package/cjs/{ReactUpload-DQ0BYISX.js → ReactUpload-SaTeZgdA.js} +1 -1
  16. package/{esm/TestTriggers-D0pYHbkr-D5T0VdSn.d.ts → cjs/TestTriggers-BJ4B-MXR-D1tGifPU.d.ts} +7 -5
  17. package/cjs/{TestTriggers-D29T_R0M-D6Bu-Mln.js → TestTriggers-CiFcTHX3-BmfH4J3f.js} +22 -9
  18. package/cjs/{UploadController-l8fZM2qT.js → UploadController-Bh2bqt8N.js} +2 -2
  19. package/{esm/WebhookPayload-Dt6DttS0.d.ts → cjs/WebhookPayload-C7KAk3iR.d.ts} +1 -1
  20. package/cjs/app.d.ts +6 -6
  21. package/cjs/app.js +2 -2
  22. package/cjs/elements.d.ts +4 -4
  23. package/cjs/elements.js +4 -4
  24. package/cjs/{index-Bde1wjiw.d.ts → index-BJf0y_Uk.d.ts} +3 -3
  25. package/cjs/index.d.ts +5 -5
  26. package/cjs/index.js +1 -1
  27. package/cjs/react-native.d.ts +2 -2
  28. package/cjs/react-native.js +4 -4
  29. package/cjs/react.d.ts +3 -3
  30. package/cjs/react.js +5 -5
  31. package/cjs/server.d.ts +6 -6
  32. package/cjs/server.js +2 -2
  33. package/cjs/test-inputs.d.ts +1 -1
  34. package/cjs/test-inputs.js +13 -13
  35. package/cjs/testing.d.ts +16 -7
  36. package/cjs/testing.js +98 -34
  37. package/cjs/{ui-BRA4HQ8r.js → ui-CbqSrVlT.js} +3 -3
  38. package/cjs/{ui-YQuvbidU.d.ts → ui-DNXPuzha.d.ts} +2 -2
  39. package/cjs/ui.d.ts +2 -2
  40. package/cjs/ui.js +3 -3
  41. package/cjs/vue.d.ts +5 -5
  42. package/cjs/vue.js +4 -4
  43. package/esm/{BrowserUpload-BWjZ9ntu.d.ts → BrowserUpload-B2kmc3Y_.d.ts} +2 -2
  44. package/esm/{BrowserUpload-GRZVB0G_.js → BrowserUpload-QwdUnq0H.js} +1 -1
  45. package/{cjs/CalmLensAppClient-BaW3ddUR.d.ts → esm/CalmLensAppClient-CMVh0y5w.d.ts} +1 -1
  46. package/esm/{CalmLensAppClient-B5QIJ6KS.js → CalmLensAppClient-Dih1prcq.js} +2 -2
  47. package/esm/{CalmLensOptionKeys-BG7Qrh8-.js → CalmLensOptionKeys-C6R-4Zvh.js} +1 -1
  48. package/{cjs/CalmLensServerClient-BKzn8zmp.d.ts → esm/CalmLensServerClient-BFt1L_FZ.d.ts} +9 -9
  49. package/esm/{CalmLensServerClient-bRUAebi-.js → CalmLensServerClient-CVF5_FfH.js} +27 -10
  50. package/esm/{CalmLensTypes-BDKwThbO.d.ts → CalmLensTypes-SmOCgKI3.d.ts} +298 -69
  51. package/esm/{Classification-Q5zGpR8l-CEWjnE39.d.ts → Classification-CxRedzgH-C9qlYW_J.d.ts} +35 -0
  52. package/{cjs/Core-C33pkBmf.d.ts → esm/Core-Dt_HUNvH.d.ts} +4 -3
  53. package/esm/{Core-BvQe4moS.js → Core-tfQsge01.js} +3 -3
  54. package/esm/{ModerationContextLimits-CrxSnVZ3.js → ModerationContextLimits-B8f4ukBB.js} +4 -11
  55. package/esm/{ReactUpload-DhF8mm51.d.ts → ReactUpload-Bd7Hea4w.d.ts} +1 -1
  56. package/esm/{ReactUpload-BMO8saxT.js → ReactUpload-DRW08-Kt.js} +1 -1
  57. package/{cjs/TestTriggers-D0pYHbkr-D5T0VdSn.d.ts → esm/TestTriggers-BJ4B-MXR-D1tGifPU.d.ts} +7 -5
  58. package/esm/{TestTriggers-D29T_R0M-Ztc74ucs.js → TestTriggers-CiFcTHX3-BK2-sgOC.js} +22 -9
  59. package/esm/{UploadController-DnJrWiE4.js → UploadController-DEwR1AxP.js} +2 -2
  60. package/{cjs/WebhookPayload-Dt6DttS0.d.ts → esm/WebhookPayload-C7KAk3iR.d.ts} +1 -1
  61. package/esm/app.d.ts +6 -6
  62. package/esm/app.js +2 -2
  63. package/esm/elements.d.ts +4 -4
  64. package/esm/elements.js +4 -4
  65. package/esm/{index-Bde1wjiw.d.ts → index-BJf0y_Uk.d.ts} +3 -3
  66. package/esm/index.d.ts +5 -5
  67. package/esm/index.js +1 -1
  68. package/esm/react-native.d.ts +2 -2
  69. package/esm/react-native.js +4 -4
  70. package/esm/react.d.ts +3 -3
  71. package/esm/react.js +5 -5
  72. package/esm/server.d.ts +6 -6
  73. package/esm/server.js +2 -2
  74. package/esm/test-inputs.d.ts +1 -1
  75. package/esm/test-inputs.js +1 -1
  76. package/esm/testing.d.ts +16 -7
  77. package/esm/testing.js +92 -28
  78. package/esm/{ui-YQuvbidU.d.ts → ui-DNXPuzha.d.ts} +2 -2
  79. package/esm/{ui-heryDd6g.js → ui-ndvNkmb_.js} +3 -3
  80. package/esm/ui.d.ts +2 -2
  81. package/esm/ui.js +3 -3
  82. package/esm/vue.d.ts +5 -5
  83. package/esm/vue.js +4 -4
  84. package/package.json +1 -1
@@ -457,6 +457,13 @@ declare const MODERATION_QUALIFIER_INFO: {
457
457
  readonly description: "Qualifying content clearly attributed to an invented character, fictional story, game, illustration, generated image or reenacted scene.";
458
458
  readonly exclusions: "Unclear fictional context, and a real-world threat or actionable harmful request presented as fiction.";
459
459
  };
460
+ readonly "sexual-artistic": {
461
+ readonly category: "sexual";
462
+ readonly kind: "context";
463
+ readonly displayName: "Artwork";
464
+ readonly description: "Qualifying content that is a work of art presented as art, such as a painting, sculpture, print, poem or stage or film scene, or a critic, guide or lecturer talking about one, and not made to arouse.";
465
+ readonly exclusions: "Content meant to arouse, whatever it is called; pornography, erotic illustration, hentai and generated images; photographs labelled as art; adult content promotion.";
466
+ };
460
467
  readonly "sexual-support-prevention": {
461
468
  readonly category: "sexual";
462
469
  readonly kind: "context";
@@ -1194,6 +1201,7 @@ declare const STRICT_QUALIFIER_RESULTS_SCHEMA: zod.ZodRecord<zod.ZodEnum<{
1194
1201
  "self-harm-thoughts": "self-harm-thoughts";
1195
1202
  "sexual-activity": "sexual-activity";
1196
1203
  "sexual-adult-promotion": "sexual-adult-promotion";
1204
+ "sexual-artistic": "sexual-artistic";
1197
1205
  "sexual-assault-media": "sexual-assault-media";
1198
1206
  "sexual-discussion": "sexual-discussion";
1199
1207
  "sexual-documentary": "sexual-documentary";
@@ -1367,6 +1375,7 @@ declare const CLASSIFICATION_CATEGORY_REPORT_SCHEMA: zod.ZodDiscriminatedUnion<[
1367
1375
  "self-harm-thoughts": "self-harm-thoughts";
1368
1376
  "sexual-activity": "sexual-activity";
1369
1377
  "sexual-adult-promotion": "sexual-adult-promotion";
1378
+ "sexual-artistic": "sexual-artistic";
1370
1379
  "sexual-assault-media": "sexual-assault-media";
1371
1380
  "sexual-discussion": "sexual-discussion";
1372
1381
  "sexual-documentary": "sexual-documentary";
@@ -1543,6 +1552,7 @@ declare const CLASSIFICATION_CATEGORY_REPORT_SCHEMA: zod.ZodDiscriminatedUnion<[
1543
1552
  "self-harm-thoughts": "self-harm-thoughts";
1544
1553
  "sexual-activity": "sexual-activity";
1545
1554
  "sexual-adult-promotion": "sexual-adult-promotion";
1555
+ "sexual-artistic": "sexual-artistic";
1546
1556
  "sexual-assault-media": "sexual-assault-media";
1547
1557
  "sexual-discussion": "sexual-discussion";
1548
1558
  "sexual-documentary": "sexual-documentary";
@@ -1715,6 +1725,7 @@ declare const CLASSIFICATION_CATEGORY_REPORT_SCHEMA: zod.ZodDiscriminatedUnion<[
1715
1725
  "self-harm-thoughts": "self-harm-thoughts";
1716
1726
  "sexual-activity": "sexual-activity";
1717
1727
  "sexual-adult-promotion": "sexual-adult-promotion";
1728
+ "sexual-artistic": "sexual-artistic";
1718
1729
  "sexual-assault-media": "sexual-assault-media";
1719
1730
  "sexual-discussion": "sexual-discussion";
1720
1731
  "sexual-documentary": "sexual-documentary";
@@ -1894,6 +1905,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
1894
1905
  "self-harm-thoughts": "self-harm-thoughts";
1895
1906
  "sexual-activity": "sexual-activity";
1896
1907
  "sexual-adult-promotion": "sexual-adult-promotion";
1908
+ "sexual-artistic": "sexual-artistic";
1897
1909
  "sexual-assault-media": "sexual-assault-media";
1898
1910
  "sexual-discussion": "sexual-discussion";
1899
1911
  "sexual-documentary": "sexual-documentary";
@@ -2070,6 +2082,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2070
2082
  "self-harm-thoughts": "self-harm-thoughts";
2071
2083
  "sexual-activity": "sexual-activity";
2072
2084
  "sexual-adult-promotion": "sexual-adult-promotion";
2085
+ "sexual-artistic": "sexual-artistic";
2073
2086
  "sexual-assault-media": "sexual-assault-media";
2074
2087
  "sexual-discussion": "sexual-discussion";
2075
2088
  "sexual-documentary": "sexual-documentary";
@@ -2242,6 +2255,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2242
2255
  "self-harm-thoughts": "self-harm-thoughts";
2243
2256
  "sexual-activity": "sexual-activity";
2244
2257
  "sexual-adult-promotion": "sexual-adult-promotion";
2258
+ "sexual-artistic": "sexual-artistic";
2245
2259
  "sexual-assault-media": "sexual-assault-media";
2246
2260
  "sexual-discussion": "sexual-discussion";
2247
2261
  "sexual-documentary": "sexual-documentary";
@@ -2419,6 +2433,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2419
2433
  "self-harm-thoughts": "self-harm-thoughts";
2420
2434
  "sexual-activity": "sexual-activity";
2421
2435
  "sexual-adult-promotion": "sexual-adult-promotion";
2436
+ "sexual-artistic": "sexual-artistic";
2422
2437
  "sexual-assault-media": "sexual-assault-media";
2423
2438
  "sexual-discussion": "sexual-discussion";
2424
2439
  "sexual-documentary": "sexual-documentary";
@@ -2595,6 +2610,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2595
2610
  "self-harm-thoughts": "self-harm-thoughts";
2596
2611
  "sexual-activity": "sexual-activity";
2597
2612
  "sexual-adult-promotion": "sexual-adult-promotion";
2613
+ "sexual-artistic": "sexual-artistic";
2598
2614
  "sexual-assault-media": "sexual-assault-media";
2599
2615
  "sexual-discussion": "sexual-discussion";
2600
2616
  "sexual-documentary": "sexual-documentary";
@@ -2767,6 +2783,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2767
2783
  "self-harm-thoughts": "self-harm-thoughts";
2768
2784
  "sexual-activity": "sexual-activity";
2769
2785
  "sexual-adult-promotion": "sexual-adult-promotion";
2786
+ "sexual-artistic": "sexual-artistic";
2770
2787
  "sexual-assault-media": "sexual-assault-media";
2771
2788
  "sexual-discussion": "sexual-discussion";
2772
2789
  "sexual-documentary": "sexual-documentary";
@@ -2944,6 +2961,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
2944
2961
  "self-harm-thoughts": "self-harm-thoughts";
2945
2962
  "sexual-activity": "sexual-activity";
2946
2963
  "sexual-adult-promotion": "sexual-adult-promotion";
2964
+ "sexual-artistic": "sexual-artistic";
2947
2965
  "sexual-assault-media": "sexual-assault-media";
2948
2966
  "sexual-discussion": "sexual-discussion";
2949
2967
  "sexual-documentary": "sexual-documentary";
@@ -3120,6 +3138,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3120
3138
  "self-harm-thoughts": "self-harm-thoughts";
3121
3139
  "sexual-activity": "sexual-activity";
3122
3140
  "sexual-adult-promotion": "sexual-adult-promotion";
3141
+ "sexual-artistic": "sexual-artistic";
3123
3142
  "sexual-assault-media": "sexual-assault-media";
3124
3143
  "sexual-discussion": "sexual-discussion";
3125
3144
  "sexual-documentary": "sexual-documentary";
@@ -3292,6 +3311,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3292
3311
  "self-harm-thoughts": "self-harm-thoughts";
3293
3312
  "sexual-activity": "sexual-activity";
3294
3313
  "sexual-adult-promotion": "sexual-adult-promotion";
3314
+ "sexual-artistic": "sexual-artistic";
3295
3315
  "sexual-assault-media": "sexual-assault-media";
3296
3316
  "sexual-discussion": "sexual-discussion";
3297
3317
  "sexual-documentary": "sexual-documentary";
@@ -3469,6 +3489,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3469
3489
  "self-harm-thoughts": "self-harm-thoughts";
3470
3490
  "sexual-activity": "sexual-activity";
3471
3491
  "sexual-adult-promotion": "sexual-adult-promotion";
3492
+ "sexual-artistic": "sexual-artistic";
3472
3493
  "sexual-assault-media": "sexual-assault-media";
3473
3494
  "sexual-discussion": "sexual-discussion";
3474
3495
  "sexual-documentary": "sexual-documentary";
@@ -3645,6 +3666,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3645
3666
  "self-harm-thoughts": "self-harm-thoughts";
3646
3667
  "sexual-activity": "sexual-activity";
3647
3668
  "sexual-adult-promotion": "sexual-adult-promotion";
3669
+ "sexual-artistic": "sexual-artistic";
3648
3670
  "sexual-assault-media": "sexual-assault-media";
3649
3671
  "sexual-discussion": "sexual-discussion";
3650
3672
  "sexual-documentary": "sexual-documentary";
@@ -3817,6 +3839,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3817
3839
  "self-harm-thoughts": "self-harm-thoughts";
3818
3840
  "sexual-activity": "sexual-activity";
3819
3841
  "sexual-adult-promotion": "sexual-adult-promotion";
3842
+ "sexual-artistic": "sexual-artistic";
3820
3843
  "sexual-assault-media": "sexual-assault-media";
3821
3844
  "sexual-discussion": "sexual-discussion";
3822
3845
  "sexual-documentary": "sexual-documentary";
@@ -3994,6 +4017,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
3994
4017
  "self-harm-thoughts": "self-harm-thoughts";
3995
4018
  "sexual-activity": "sexual-activity";
3996
4019
  "sexual-adult-promotion": "sexual-adult-promotion";
4020
+ "sexual-artistic": "sexual-artistic";
3997
4021
  "sexual-assault-media": "sexual-assault-media";
3998
4022
  "sexual-discussion": "sexual-discussion";
3999
4023
  "sexual-documentary": "sexual-documentary";
@@ -4170,6 +4194,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
4170
4194
  "self-harm-thoughts": "self-harm-thoughts";
4171
4195
  "sexual-activity": "sexual-activity";
4172
4196
  "sexual-adult-promotion": "sexual-adult-promotion";
4197
+ "sexual-artistic": "sexual-artistic";
4173
4198
  "sexual-assault-media": "sexual-assault-media";
4174
4199
  "sexual-discussion": "sexual-discussion";
4175
4200
  "sexual-documentary": "sexual-documentary";
@@ -4342,6 +4367,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
4342
4367
  "self-harm-thoughts": "self-harm-thoughts";
4343
4368
  "sexual-activity": "sexual-activity";
4344
4369
  "sexual-adult-promotion": "sexual-adult-promotion";
4370
+ "sexual-artistic": "sexual-artistic";
4345
4371
  "sexual-assault-media": "sexual-assault-media";
4346
4372
  "sexual-discussion": "sexual-discussion";
4347
4373
  "sexual-documentary": "sexual-documentary";
@@ -4519,6 +4545,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
4519
4545
  "self-harm-thoughts": "self-harm-thoughts";
4520
4546
  "sexual-activity": "sexual-activity";
4521
4547
  "sexual-adult-promotion": "sexual-adult-promotion";
4548
+ "sexual-artistic": "sexual-artistic";
4522
4549
  "sexual-assault-media": "sexual-assault-media";
4523
4550
  "sexual-discussion": "sexual-discussion";
4524
4551
  "sexual-documentary": "sexual-documentary";
@@ -4695,6 +4722,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
4695
4722
  "self-harm-thoughts": "self-harm-thoughts";
4696
4723
  "sexual-activity": "sexual-activity";
4697
4724
  "sexual-adult-promotion": "sexual-adult-promotion";
4725
+ "sexual-artistic": "sexual-artistic";
4698
4726
  "sexual-assault-media": "sexual-assault-media";
4699
4727
  "sexual-discussion": "sexual-discussion";
4700
4728
  "sexual-documentary": "sexual-documentary";
@@ -4867,6 +4895,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
4867
4895
  "self-harm-thoughts": "self-harm-thoughts";
4868
4896
  "sexual-activity": "sexual-activity";
4869
4897
  "sexual-adult-promotion": "sexual-adult-promotion";
4898
+ "sexual-artistic": "sexual-artistic";
4870
4899
  "sexual-assault-media": "sexual-assault-media";
4871
4900
  "sexual-discussion": "sexual-discussion";
4872
4901
  "sexual-documentary": "sexual-documentary";
@@ -5044,6 +5073,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5044
5073
  "self-harm-thoughts": "self-harm-thoughts";
5045
5074
  "sexual-activity": "sexual-activity";
5046
5075
  "sexual-adult-promotion": "sexual-adult-promotion";
5076
+ "sexual-artistic": "sexual-artistic";
5047
5077
  "sexual-assault-media": "sexual-assault-media";
5048
5078
  "sexual-discussion": "sexual-discussion";
5049
5079
  "sexual-documentary": "sexual-documentary";
@@ -5220,6 +5250,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5220
5250
  "self-harm-thoughts": "self-harm-thoughts";
5221
5251
  "sexual-activity": "sexual-activity";
5222
5252
  "sexual-adult-promotion": "sexual-adult-promotion";
5253
+ "sexual-artistic": "sexual-artistic";
5223
5254
  "sexual-assault-media": "sexual-assault-media";
5224
5255
  "sexual-discussion": "sexual-discussion";
5225
5256
  "sexual-documentary": "sexual-documentary";
@@ -5392,6 +5423,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5392
5423
  "self-harm-thoughts": "self-harm-thoughts";
5393
5424
  "sexual-activity": "sexual-activity";
5394
5425
  "sexual-adult-promotion": "sexual-adult-promotion";
5426
+ "sexual-artistic": "sexual-artistic";
5395
5427
  "sexual-assault-media": "sexual-assault-media";
5396
5428
  "sexual-discussion": "sexual-discussion";
5397
5429
  "sexual-documentary": "sexual-documentary";
@@ -5569,6 +5601,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5569
5601
  "self-harm-thoughts": "self-harm-thoughts";
5570
5602
  "sexual-activity": "sexual-activity";
5571
5603
  "sexual-adult-promotion": "sexual-adult-promotion";
5604
+ "sexual-artistic": "sexual-artistic";
5572
5605
  "sexual-assault-media": "sexual-assault-media";
5573
5606
  "sexual-discussion": "sexual-discussion";
5574
5607
  "sexual-documentary": "sexual-documentary";
@@ -5745,6 +5778,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5745
5778
  "self-harm-thoughts": "self-harm-thoughts";
5746
5779
  "sexual-activity": "sexual-activity";
5747
5780
  "sexual-adult-promotion": "sexual-adult-promotion";
5781
+ "sexual-artistic": "sexual-artistic";
5748
5782
  "sexual-assault-media": "sexual-assault-media";
5749
5783
  "sexual-discussion": "sexual-discussion";
5750
5784
  "sexual-documentary": "sexual-documentary";
@@ -5917,6 +5951,7 @@ declare const CATEGORIES_SCHEMA: zod.ZodObject<{
5917
5951
  "self-harm-thoughts": "self-harm-thoughts";
5918
5952
  "sexual-activity": "sexual-activity";
5919
5953
  "sexual-adult-promotion": "sexual-adult-promotion";
5954
+ "sexual-artistic": "sexual-artistic";
5920
5955
  "sexual-assault-media": "sexual-assault-media";
5921
5956
  "sexual-discussion": "sexual-discussion";
5922
5957
  "sexual-documentary": "sexual-documentary";
@@ -1,5 +1,5 @@
1
- import { D as CalmLensAppClientOptions, P as CdnTransform, h as AssetModerationStatus, r as AssetAvailability, sn as ViewerClaims } from "./CalmLensTypes-BDKwThbO.js";
2
- import { t as CalmLensAppClient } from "./CalmLensAppClient-BaW3ddUR.js";
1
+ import { D as CalmLensAppClientOptions, P as CdnTransform, h as AssetModerationStatus, r as AssetAvailability, sn as ViewerClaims } from "./CalmLensTypes-SmOCgKI3.js";
2
+ import { t as CalmLensAppClient } from "./CalmLensAppClient-CMVh0y5w.js";
3
3
  import { o as UploadFileIconFamily } from "./FileIcons-4qSX7DW2.js";
4
4
  /**
5
5
  * The text the asset viewers show, keyed by name. `{name}` placeholders are filled in when shown.
@@ -91,8 +91,9 @@ interface ViewerAsset {
91
91
  rendered?: ViewerRendered | null;
92
92
  /** The still image the CDN serves at `/preview`, or `null` when the asset has none. */
93
93
  preview?: ViewerPreview | null;
94
- /** The adaptive (HLS) stream of video or audio, or `null` until one is prepared. */
94
+ /** The adaptive (HLS) stream of video or audio asked for: playable once `ready`. */
95
95
  hls?: {
96
+ status?: string;
96
97
  renditions?: readonly unknown[];
97
98
  } | null;
98
99
  /** The text extracted from the content, inline when it is small (API assets only). */
@@ -1,5 +1,5 @@
1
- const require_ModerationContextLimits = require("./ModerationContextLimits-ud1xpZRK.js");
2
- const require_UploadController = require("./UploadController-l8fZM2qT.js");
1
+ const require_ModerationContextLimits = require("./ModerationContextLimits-C6Ts1Xhw.js");
2
+ const require_UploadController = require("./UploadController-Bh2bqt8N.js");
3
3
  const require_FileIcons = require("./FileIcons-Ob003MdS.js");
4
4
  // src/ui/viewers/ViewerAsset.ts
5
5
  /** Spreadsheet MIME types, as `content.format` reports them (compared lower-cased). */
@@ -298,7 +298,7 @@ const getAssetView = (options, state) => {
298
298
  link: pageLink(info.externalUrl)
299
299
  } : icon();
300
300
  case "media": {
301
- const streams = options.video?.stream !== false && Boolean(content.hls);
301
+ const streams = options.video?.stream !== false && content.hls?.status === "ready";
302
302
  if (rendered?.kind === "audio") return {
303
303
  kind: "audio",
304
304
  src: url("rendered"),
@@ -282,11 +282,11 @@ const API_ERROR_DEFINITIONS = {
282
282
  },
283
283
  "usage/uploads-paused": {
284
284
  status: 402,
285
- message: "Uploads to this project are paused by its organisation's usage limits. See details.reason; an owner can review them in Billing."
285
+ message: "This upload would pass its organisation's usage limits, so it was refused. See details.reason; an owner can review them in Billing."
286
286
  },
287
287
  "upload/unsupported-type": {
288
288
  status: 415,
289
- message: "The file type is not accepted. details.source is `calmlens` when CalmLens cannot store and process it (use a concrete MIME type such as image/png, application/pdf or text/plain) or `preset` when the upload preset doesn't allow it."
289
+ message: "The file type is not accepted. details.source is `calmlens` when CalmLens cannot store and process it (use a concrete MIME type such as image/png, application/pdf or text/plain) or `preset` when the upload preset doesn't allow it (details.contentType and details.allowedContentTypes say what was sent and what it accepts)."
290
290
  },
291
291
  "upload-payload/invalid": {
292
292
  status: 400,
@@ -708,7 +708,7 @@ const invalidArgument = (message, details) => new CalmLensError(SDK_ERROR_CODES.
708
708
  const invalidConfig = (message) => new CalmLensError(SDK_ERROR_CODES.INVALID_CONFIG, { message });
709
709
  // src/client/CalmLensVersion.ts
710
710
  /** This SDK's version, from its package.json. */
711
- const SDK_VERSION = "0.22.0";
711
+ const SDK_VERSION = "0.23.1";
712
712
  const runtimeName = () => {
713
713
  const runtime = globalThis;
714
714
  if (isReactNativeRuntime()) return "react-native";
@@ -1241,14 +1241,6 @@ const TRANSFORM_OPTIONS_SCHEMA = {
1241
1241
  anim: { type: "boolean" },
1242
1242
  background: { type: "string" },
1243
1243
  blur: { type: "number" },
1244
- redact: {
1245
- type: "object",
1246
- properties: {
1247
- text: { type: "boolean" },
1248
- personalInformation: { type: "boolean" },
1249
- faces: { type: "boolean" }
1250
- }
1251
- },
1252
1244
  border: {
1253
1245
  type: "object",
1254
1246
  properties: {
@@ -1427,6 +1419,7 @@ const validateConnectionOptions = (options) => {
1427
1419
  const validateServerClientOptions = (options) => {
1428
1420
  if (!options || typeof options !== "object") throw invalidConfig("Client options are required");
1429
1421
  if (!options.apiKey || typeof options.apiKey !== "string") throw invalidConfig("API key is required");
1422
+ if (!/^[\x21-\x7e]+$/.test(options.apiKey)) throw invalidConfig("API key must be printable ASCII without spaces");
1430
1423
  if (!options.projectId) throw invalidConfig("Project ID is required");
1431
1424
  configPathSegment(options.projectId, "Project ID");
1432
1425
  validateConnectionOptions(options);
@@ -1,4 +1,4 @@
1
- import { I as UploadSnapshot, M as UploadController, N as UploadControllerOptions, P as UploadFile } from "./Core-C33pkBmf.js";
1
+ import { I as UploadSnapshot, M as UploadController, N as UploadControllerOptions, P as UploadFile } from "./Core-Dt_HUNvH.js";
2
2
  interface UseCalmLensUploadResult<F extends UploadFile = UploadFile> extends UploadSnapshot<F> {
3
3
  controller: UploadController<F>;
4
4
  addFiles: UploadController<F>["addFiles"];
@@ -1,4 +1,4 @@
1
- const require_UploadController = require("./UploadController-l8fZM2qT.js");
1
+ const require_UploadController = require("./UploadController-Bh2bqt8N.js");
2
2
  let react = require("react");
3
3
  // src/ui/ReactUpload.ts
4
4
  /** Re-renders with a controller's snapshot. */
@@ -1,4 +1,4 @@
1
- import { r as ClassificationCategory } from "./Classification-Q5zGpR8l-CEWjnE39.js";
1
+ import { r as ClassificationCategory } from "./Classification-CxRedzgH-C9qlYW_J.js";
2
2
  import * as z from "zod";
3
3
  interface RgbaImage {
4
4
  width: number;
@@ -184,6 +184,7 @@ declare const TEST_INPUT_SCHEMA: z.ZodObject<{
184
184
  "self-harm-thoughts": "self-harm-thoughts";
185
185
  "sexual-activity": "sexual-activity";
186
186
  "sexual-adult-promotion": "sexual-adult-promotion";
187
+ "sexual-artistic": "sexual-artistic";
187
188
  "sexual-assault-media": "sexual-assault-media";
188
189
  "sexual-discussion": "sexual-discussion";
189
190
  "sexual-documentary": "sexual-documentary";
@@ -287,9 +288,10 @@ declare const TEST_INPUT_PRESETS: {
287
288
  })[];
288
289
  };
289
290
  germany: {
290
- instances: {
291
- category: "hate";
292
- qualifiers: ("hate-nazi-symbols-public-display" | "hate-symbol")[];
291
+ instances: never[];
292
+ regionalActions: {
293
+ region: "DE";
294
+ action: "block";
293
295
  }[];
294
296
  };
295
297
  mixed: {
@@ -395,7 +397,7 @@ declare function detectTestImage(image: RgbaImage, key: string,
395
397
  category: "criminal-activity" | "harassment" | "hate" | "personal-information" | "profanity" | "self-harm" | "sexual" | "violence";
396
398
  score?: number | undefined;
397
399
  action?: "age-restrict" | "allow" | "block" | "limit" | undefined;
398
- qualifiers: ("criminal-activity-alcohol" | "criminal-activity-coded-incitement" | "criminal-activity-csam" | "criminal-activity-demonstration" | "criminal-activity-discussion" | "criminal-activity-documentary" | "criminal-activity-educational" | "criminal-activity-fictional" | "criminal-activity-fraud" | "criminal-activity-gambling" | "criminal-activity-graffiti" | "criminal-activity-grooming" | "criminal-activity-historical" | "criminal-activity-instructions" | "criminal-activity-preparation" | "criminal-activity-promotion" | "criminal-activity-request" | "criminal-activity-sexual-solicitation" | "criminal-activity-substances" | "criminal-activity-support-prevention" | "criminal-activity-tobacco" | "harassment-abuse" | "harassment-bullying" | "harassment-documentary" | "harassment-educational" | "harassment-encouragement" | "harassment-fictional" | "harassment-historical" | "harassment-mild" | "harassment-public-target" | "harassment-sexual" | "harassment-support-prevention" | "harassment-threat" | "hate-abuse" | "hate-adjudicated-nazi-crimes-denial" | "hate-counterspeech" | "hate-dehumanization" | "hate-documentary" | "hate-educational" | "hate-exclusion" | "hate-fictional" | "hate-historical" | "hate-hostility" | "hate-inferiority" | "hate-nazi-genocide-denial-or-approval" | "hate-nazi-genocide-public-peace" | "hate-nazi-insignia-public-display" | "hate-nazi-symbols-public-display" | "hate-personal" | "hate-slurs" | "hate-support-prevention" | "hate-symbol" | "hate-threat" | "personal-information-contact" | "personal-information-credentials" | "personal-information-documentary" | "personal-information-educational" | "personal-information-email" | "personal-information-fictional" | "personal-information-financial" | "personal-information-government-id" | "personal-information-historical" | "personal-information-identifiers" | "personal-information-location" | "personal-information-phone" | "personal-information-request" | "personal-information-self-disclosure" | "personal-information-support-prevention" | "personal-information-third-party" | "profanity-documentary" | "profanity-educational" | "profanity-fictional" | "profanity-historical" | "profanity-mild" | "profanity-obfuscated" | "profanity-slurs" | "profanity-strong" | "profanity-support-prevention" | "self-harm-act" | "self-harm-age-restricted" | "self-harm-documentary" | "self-harm-educational" | "self-harm-encouragement" | "self-harm-fictional" | "self-harm-historical" | "self-harm-methods" | "self-harm-preparation" | "self-harm-support-prevention" | "self-harm-thoughts" | "sexual-activity" | "sexual-adult-promotion" | "sexual-assault-media" | "sexual-discussion" | "sexual-documentary" | "sexual-educational" | "sexual-explicit-language" | "sexual-extreme" | "sexual-fictional" | "sexual-historical" | "sexual-incest" | "sexual-intimate-image-abuse" | "sexual-minors" | "sexual-non-consensual" | "sexual-non-erotic-nudity" | "sexual-nudity" | "sexual-paid" | "sexual-pornographic-media" | "sexual-revealing-clothing" | "sexual-solicitation" | "sexual-strangulation" | "sexual-suggestive" | "sexual-support-prevention" | "sexual-text" | "violence-attack" | "violence-coded-incitement" | "violence-decapitation-act" | "violence-discussion" | "violence-documentary" | "violence-educational" | "violence-encouragement" | "violence-extremism" | "violence-fantasy" | "violence-fictional" | "violence-gore" | "violence-graphic" | "violence-high-impact" | "violence-historical" | "violence-injury" | "violence-natural-death" | "violence-preparation" | "violence-sport" | "violence-support-prevention" | "violence-text" | "violence-threat" | "violence-violent-death" | "violence-weapon" | "violence-wish")[];
400
+ qualifiers: ("criminal-activity-alcohol" | "criminal-activity-coded-incitement" | "criminal-activity-csam" | "criminal-activity-demonstration" | "criminal-activity-discussion" | "criminal-activity-documentary" | "criminal-activity-educational" | "criminal-activity-fictional" | "criminal-activity-fraud" | "criminal-activity-gambling" | "criminal-activity-graffiti" | "criminal-activity-grooming" | "criminal-activity-historical" | "criminal-activity-instructions" | "criminal-activity-preparation" | "criminal-activity-promotion" | "criminal-activity-request" | "criminal-activity-sexual-solicitation" | "criminal-activity-substances" | "criminal-activity-support-prevention" | "criminal-activity-tobacco" | "harassment-abuse" | "harassment-bullying" | "harassment-documentary" | "harassment-educational" | "harassment-encouragement" | "harassment-fictional" | "harassment-historical" | "harassment-mild" | "harassment-public-target" | "harassment-sexual" | "harassment-support-prevention" | "harassment-threat" | "hate-abuse" | "hate-adjudicated-nazi-crimes-denial" | "hate-counterspeech" | "hate-dehumanization" | "hate-documentary" | "hate-educational" | "hate-exclusion" | "hate-fictional" | "hate-historical" | "hate-hostility" | "hate-inferiority" | "hate-nazi-genocide-denial-or-approval" | "hate-nazi-genocide-public-peace" | "hate-nazi-insignia-public-display" | "hate-nazi-symbols-public-display" | "hate-personal" | "hate-slurs" | "hate-support-prevention" | "hate-symbol" | "hate-threat" | "personal-information-contact" | "personal-information-credentials" | "personal-information-documentary" | "personal-information-educational" | "personal-information-email" | "personal-information-fictional" | "personal-information-financial" | "personal-information-government-id" | "personal-information-historical" | "personal-information-identifiers" | "personal-information-location" | "personal-information-phone" | "personal-information-request" | "personal-information-self-disclosure" | "personal-information-support-prevention" | "personal-information-third-party" | "profanity-documentary" | "profanity-educational" | "profanity-fictional" | "profanity-historical" | "profanity-mild" | "profanity-obfuscated" | "profanity-slurs" | "profanity-strong" | "profanity-support-prevention" | "self-harm-act" | "self-harm-age-restricted" | "self-harm-documentary" | "self-harm-educational" | "self-harm-encouragement" | "self-harm-fictional" | "self-harm-historical" | "self-harm-methods" | "self-harm-preparation" | "self-harm-support-prevention" | "self-harm-thoughts" | "sexual-activity" | "sexual-adult-promotion" | "sexual-artistic" | "sexual-assault-media" | "sexual-discussion" | "sexual-documentary" | "sexual-educational" | "sexual-explicit-language" | "sexual-extreme" | "sexual-fictional" | "sexual-historical" | "sexual-incest" | "sexual-intimate-image-abuse" | "sexual-minors" | "sexual-non-consensual" | "sexual-non-erotic-nudity" | "sexual-nudity" | "sexual-paid" | "sexual-pornographic-media" | "sexual-revealing-clothing" | "sexual-solicitation" | "sexual-strangulation" | "sexual-suggestive" | "sexual-support-prevention" | "sexual-text" | "violence-attack" | "violence-coded-incitement" | "violence-decapitation-act" | "violence-discussion" | "violence-documentary" | "violence-educational" | "violence-encouragement" | "violence-extremism" | "violence-fantasy" | "violence-fictional" | "violence-gore" | "violence-graphic" | "violence-high-impact" | "violence-historical" | "violence-injury" | "violence-natural-death" | "violence-preparation" | "violence-sport" | "violence-support-prevention" | "violence-text" | "violence-threat" | "violence-violent-death" | "violence-weapon" | "violence-wish")[];
399
401
  }[];
400
402
  detections?: {
401
403
  people?: "unavailable" | {
@@ -33,7 +33,7 @@ const CLASSIFICATION_CATEGORIES = [
33
33
  "personal-information",
34
34
  "profanity"
35
35
  ];
36
- // src/contract/Jurisdiction-LWQvqyxL.js
36
+ // src/contract/Jurisdiction-CtB_d_2M.js
37
37
  /**
38
38
  * Jurisdictions with legal rules always apply to every project. An optional jurisdiction is a
39
39
  * product standard rather than a legal floor: every project serves it unless it opts out.
@@ -90,9 +90,9 @@ const VIEWER_REGION_SCHEMA = zod.enum([...COUNTRIES]).describe("Viewer's ISO 316
90
90
  new Set("AT BE BG HR CY CZ DK EE FI FR DE GR HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE".split(" "));
91
91
  zod.object({
92
92
  region: VIEWER_REGION_SCHEMA.optional().describe("Viewer country. Defaults to the country of the connection reaching CalmLens; proxies should forward the viewer country explicitly."),
93
- ageConfirmed: zod.boolean().optional().describe("Your platform's confirmation that the viewer passed its age check, so age-restricted content may be delivered. Defaults to false. Your platform confirms the viewer's age; CalmLens does not verify this claim. Anyone requesting an asset's URL, public or signed, can set it: a signed URL's signature does not cover viewer claims, so the claim is not an access control. To restrict who can load an age-restricted asset, make it private and issue signed URLs only to viewers who passed your age check.")
93
+ ageConfirmed: zod.boolean().optional().describe("Your platform's confirmation that the viewer passed its age check, so age-restricted content may be delivered. Defaults to false. Your platform confirms the viewer's age. Viewer claims are assertions from your application; CalmLens doesn't verify them. To restrict who can load an age-restricted asset, make it private and issue signed URLs only to viewers who passed your age check.")
94
94
  }).strict();
95
- // src/contract/TestRegionalActions-C2mw3ntb.js
95
+ // src/contract/TestRegionalActions-DUzwPr1a.js
96
96
  /**
97
97
  * Marks English text in shared, backend and data modules that the portal shows, so the app's
98
98
  * message catalog (packages/app/vite/messageCatalog.ts) extracts it and the portal can translate it
@@ -508,6 +508,13 @@ const MODERATION_QUALIFIER_INFO = {
508
508
  description: msg("Qualifying content clearly attributed to an invented character, fictional story, game, illustration, generated image or reenacted scene."),
509
509
  exclusions: "Unclear fictional context, and a real-world threat or actionable harmful request presented as fiction."
510
510
  },
511
+ "sexual-artistic": {
512
+ category: "sexual",
513
+ kind: "context",
514
+ displayName: msg("Artwork"),
515
+ description: msg("Qualifying content that is a work of art presented as art, such as a painting, sculpture, print, poem or stage or film scene, or a critic, guide or lecturer talking about one, and not made to arouse."),
516
+ exclusions: "Content meant to arouse, whatever it is called; pornography, erotic illustration, hentai and generated images; photographs labelled as art; adult content promotion."
517
+ },
511
518
  "sexual-support-prevention": {
512
519
  category: "sexual",
513
520
  kind: "context",
@@ -1116,7 +1123,7 @@ const TEST_REGIONAL_ACTIONS_SCHEMA = zod.array(zod.object({
1116
1123
  "block"
1117
1124
  ])
1118
1125
  }).strict()).max(7).refine((entries) => new Set(entries.map((entry) => entry.region)).size === entries.length, "Choose each region once");
1119
- // src/contract/TestTriggers-D29T_R0M.js
1126
+ // src/contract/TestTriggers-CiFcTHX3.js
1120
1127
  /**
1121
1128
  * The visual encoding of test images (shared by images and video frames), independent of what the
1122
1129
  * bytes mean. An odd N×N grid of square cells fills the image. Its outer ring alternates black and
@@ -1541,7 +1548,10 @@ function testInputForSignal(signal, kind = "text") {
1541
1548
  switch (signal) {
1542
1549
  case "harassment.insult": return TEST_INPUT_PRESETS.limited;
1543
1550
  case "sexual.adult": return kind === "image" ? TEST_INPUT_PRESETS.adultImage : TEST_INPUT_PRESETS.adultText;
1544
- case "hate.regional-symbol": return TEST_INPUT_PRESETS.germany;
1551
+ case "hate.regional-symbol": return { instances: [{
1552
+ category: "hate",
1553
+ qualifiers: ["hate-symbol", "hate-nazi-symbols-public-display"]
1554
+ }] };
1545
1555
  case "sexual.involving-minors": return { instances: [{
1546
1556
  category: "sexual",
1547
1557
  qualifiers: ["sexual-minors"]
@@ -1662,10 +1672,13 @@ const TEST_INPUT_PRESETS = {
1662
1672
  }
1663
1673
  ]
1664
1674
  },
1665
- germany: { instances: [{
1666
- category: "hate",
1667
- qualifiers: ["hate-symbol", "hate-nazi-symbols-public-display"]
1668
- }] },
1675
+ germany: {
1676
+ instances: [],
1677
+ regionalActions: [{
1678
+ region: "DE",
1679
+ action: "block"
1680
+ }]
1681
+ },
1669
1682
  mixed: { instances: [{
1670
1683
  category: "harassment",
1671
1684
  qualifiers: ["harassment-abuse", "harassment-documentary"]
@@ -1,5 +1,5 @@
1
- const require_ModerationContextLimits = require("./ModerationContextLimits-ud1xpZRK.js");
2
- const require_CalmLensAppClient = require("./CalmLensAppClient-DUYMo9PZ.js");
1
+ const require_ModerationContextLimits = require("./ModerationContextLimits-C6Ts1Xhw.js");
2
+ const require_CalmLensAppClient = require("./CalmLensAppClient-yNhGTyvi.js");
3
3
  // src/contract/PlaceholderHashDecode.js
4
4
  /**
5
5
  * Decodes a ThumbHash to an RGBA image. RGB is not be premultiplied by A.
@@ -1,4 +1,4 @@
1
- import { gn as TypedEvent, hn as EventAsset, mn as Actor } from "./CalmLensTypes-BDKwThbO.js";
1
+ import { gn as TypedEvent, hn as EventAsset, mn as Actor } from "./CalmLensTypes-SmOCgKI3.js";
2
2
  import * as zod from "zod";
3
3
  /** Error codes the CalmLens API documents, by name. */
4
4
  declare const API_ERROR_CODES: {
package/cjs/app.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { a as ClassificationNotEvaluatedReason, c as ModerationQualifier, d as HashListEntry, f as ModerationContext, g as selectModerationContextItems, h as ModerationContextItem, i as ClassificationCategoryReport, l as PolicyAction, m as MODERATION_CONTEXT_USED_ITEMS, n as ClassificationCategories, o as ClassificationQualifierResults, p as MODERATION_CONTEXT_USED_CHARACTERS, r as ClassificationCategory, s as Likelihood, u as HashList } from "./Classification-Q5zGpR8l-CEWjnE39.js";
2
- import { $ as GetAssetInfoOptions, $n as FileMetadata, $t as UpgradePolicyOptions, A as CdnAssetReference, An as BoundingBox, At as MultipartUploadOptions, B as CreateMultipartUploadPartOptions, Bn as AssetSearchMatchField, Bt as SetPolicyAutomaticUpdatesOptions, C as AssetVisibility, Ct as ListHashListEntriesOptions, D as CalmLensAppClientOptions, Dn as PublicProjectSettings, Dt as ListUploadPresetsOptions, E as BatchAssetsResponse, En as ProjectSettingsResource, Et as ListPoliciesOptions, F as ClassifyTextOptions, Fn as ProcessingFeatureStage, Ft as RequestOptions, G as EnsureLensOptions, Gn as AssetHlsRendition, Gt as StreamingFeatureOptions, H as DecideAssetOptions, Ht as SignUploadTokenOptions, I as ConnectionOptions, In as ProcessingFeatures, It as ResetPolicyOptions, J as EnsureUploadPresetsOptions, Jn as AssetRendered, Jt as UpdateFolderOptions, K as EnsureLensesOptions, Kn as AssetHlsStatus, Kt as SubmitAssetOptions, L as CreateFolderOptions, Ln as Policy, Lt as RetrieveAssetOptions, M as CdnResource, Mn as DetectedPerson, Mt as PolicyIdOptions, N as CdnServeOptions, Nn as ProcessingFeatureId, Nt as PolicyPage, O as CalmLensServerClientOptions, On as UploadPreset, Ot as MoveAssetOptions, P as CdnTransform, Pn as ProcessingFeatureResults, Pt as RemoveAssetContentOptions, Q as FolderPage, Qn as ExtractedText, Qt as UpdateProjectSettingsOptions, R as CreateHashListOptions, Rn as CursorPage, Rt as RetryAssetOptions, S as AssetUploadStatus, Sn as EventType, St as ListFoldersOptions, T as BatchAssetsOptions, Tn as MetadataFieldsResource, Tt as ListLensesOptions, U as DeleteAssetOptions, Un as AssetInfo, Ut as SignedAssetUrl, V as CreatePolicyOptions, Vn as AssetSearchQuery, Vt as SignAssetUrlOptions, W as DeleteMetadataFieldOptions, Wn as AssetHls, Wt as SignedUploadToken, X as ExplainAssetOptions, Xn as AssetSafetyHold, Xt as UpdateLensOptions, Y as EnsureUploadPresetsResponse, Yn as AssetRenderedKind, Yt as UpdateHashListOptions, Z as FolderIdOptions, Zn as AssetSafetyHoldReason, Zt as UpdatePolicyOptions, _ as AssetSearchResponse, _n as EventCategory, _t as LensPage, a as AssetChildrenPage, an as UploadedAsset, at as ImageTransformOptions, b as AssetType, bn as EventFacts, bt as ListAssetsOptions, c as AssetClassificationStatus, cn as WaitForAssetDecisionOptions, ct as IterateAssetsOptions, d as AssetContentRemovalReason, dn as AssetBatchOperation, dt as IterateHashListsOptions, en as UploadAssetPartOptions, er as MetadataItem, et as HashListEntryIdOptions, f as AssetContentStatus, fn as AssetTimelineSegment, ft as IterateLensesOptions, g as AssetPage, gn as TypedEvent, gt as LensIdOptions, h as AssetModerationStatus, hn as EventAsset, ht as Lens, i as AssetChecksums, in as UploadPresetSubmitAssetOptions, it as IdempotencyOptions, j as CdnAssetUrlOptions, jn as DetectedFace, jt as MultipartUploadPartOptions, k as CdnAssetLocation, kn as AgeRange, kt as MoveFolderOptions, l as AssetContent, ln as WebhookHeadersInput, lt as IterateFoldersOptions, m as AssetModerationDecision, mt as IterateUploadPresetsOptions, n as Asset, nn as UploadPresetIdOptions, nt as HashListIdOptions, o as AssetClassification, on as VerifyWebhookSignatureOptions, ot as IterateAssetChildrenOptions, p as AssetModeration, pn as GetEventsResponse, pt as IteratePoliciesOptions, q as EnsureMetadataFieldsOptions, qn as AssetPreview, qt as UpdateAssetOptions, r as AssetAvailability, rn as UploadPresetPage, rt as HashListPage, s as AssetClassificationFailureReason, sn as ViewerClaims, st as IterateAssetTimelineOptions, t as AddHashListEntryOptions, tn as UploadPresetDefinition, tr as ProcessingOptions, tt as HashListEntryPage, u as AssetContentOptions, un as WebhookPayloadInput, ut as IterateHashListEntriesOptions, v as AssetSearchResult, vn as EventFact, vt as ListAssetChildrenOptions, w as AssignPolicyOptions, wn as Folder, wt as ListHashListsOptions, x as AssetUpload, xn as EventSeverity, xt as ListEventsOptions, y as AssetTimelinePage, yn as EventFactValues, yt as ListAssetTimelineOptions, z as CreateLensOptions, zn as LensType, zt as SearchAssetsOptions } from "./CalmLensTypes-BDKwThbO.js";
3
- import { t as CalmLensAppClient } from "./CalmLensAppClient-BaW3ddUR.js";
4
- import { i as getAssetInfo, n as DEFAULT_CDN_BASE_URL, r as CDN_RESOURCES, t as SDK_VERSION } from "./index-Bde1wjiw.js";
5
- import { a as CalmLensErrorCode, c as SdkErrorCode, i as CalmLensError, l as ApiErrorCode, o as CalmLensErrorDetails, r as CALMLENS_ERROR_CODES, s as CalmLensErrorOptions, t as ReceivedWebhookEventPayload } from "./WebhookPayload-Dt6DttS0.js";
6
- export { type AddHashListEntryOptions, type AgeRange, type ApiErrorCode, type Asset, type AssetAvailability, type AssetBatchOperation, type AssetChecksums, type AssetChildrenPage, type AssetClassification, type AssetClassificationFailureReason, type AssetClassificationStatus, type AssetContent, type AssetContentOptions, type AssetContentRemovalReason, type AssetContentStatus, type AssetHls, type AssetHlsRendition, type AssetHlsStatus, type AssetInfo, type AssetModeration, type AssetModerationDecision, type AssetModerationStatus, type AssetPage, type AssetPreview, type AssetRendered, type AssetRenderedKind, type AssetSafetyHold, type AssetSafetyHoldReason, type AssetSearchMatchField, type AssetSearchQuery, type AssetSearchResponse, type AssetSearchResult, type AssetTimelinePage, type AssetTimelineSegment, type AssetType, type AssetUpload, type AssetUploadStatus, type AssetVisibility, type AssignPolicyOptions, type BatchAssetsOptions, type BatchAssetsResponse, type BoundingBox, CALMLENS_ERROR_CODES, CDN_RESOURCES, CalmLensAppClient, type CalmLensAppClientOptions, CalmLensError, type CalmLensErrorCode, type CalmLensErrorDetails, type CalmLensErrorOptions, type CalmLensServerClientOptions, type CdnAssetLocation, type CdnAssetReference, type CdnAssetUrlOptions, type CdnResource, type CdnServeOptions, type CdnTransform, type ClassificationCategories, type ClassificationCategory, type ClassificationCategoryReport, type ClassificationNotEvaluatedReason, type ClassificationQualifierResults, type ClassifyTextOptions, type ConnectionOptions, type CreateFolderOptions, type CreateHashListOptions, type CreateLensOptions, type CreateMultipartUploadPartOptions, type CreatePolicyOptions, type CursorPage, DEFAULT_CDN_BASE_URL, type DecideAssetOptions, type DeleteAssetOptions, type DeleteMetadataFieldOptions, type DetectedFace, type DetectedPerson, type EnsureLensOptions, type EnsureLensesOptions, type EnsureMetadataFieldsOptions, type EnsureUploadPresetsOptions, type EnsureUploadPresetsResponse, type EventAsset, type EventCategory, type EventFact, type EventFactValues, type EventFacts, type EventSeverity, type EventType, type GetEventsResponse as EventsPage, type ExplainAssetOptions, type ExtractedText, type FileMetadata, type Folder, type FolderIdOptions, type FolderPage, type GetAssetInfoOptions, type HashList, type HashListEntry, type HashListEntryIdOptions, type HashListEntryPage, type HashListIdOptions, type HashListPage, type IdempotencyOptions, type ImageTransformOptions, type IterateAssetChildrenOptions, type IterateAssetTimelineOptions, type IterateAssetsOptions, type IterateFoldersOptions, type IterateHashListEntriesOptions, type IterateHashListsOptions, type IterateLensesOptions, type IteratePoliciesOptions, type IterateUploadPresetsOptions, type Lens, type LensIdOptions, type LensPage, type LensType, type Likelihood, type ListAssetChildrenOptions, type ListAssetTimelineOptions, type ListAssetsOptions, type ListEventsOptions, type ListFoldersOptions, type ListHashListEntriesOptions, type ListHashListsOptions, type ListLensesOptions, type ListPoliciesOptions, type ListUploadPresetsOptions, MODERATION_CONTEXT_USED_CHARACTERS, MODERATION_CONTEXT_USED_ITEMS, type MetadataFieldsResource, type MetadataItem, type ModerationContext, type ModerationContextItem, type ModerationQualifier, type MoveAssetOptions, type MoveFolderOptions, type MultipartUploadOptions, type MultipartUploadPartOptions, type Policy, type PolicyAction, type PolicyIdOptions, type PolicyPage, type ProcessingFeatureId, type ProcessingFeatureResults, type ProcessingFeatureStage, type ProcessingFeatures, type ProcessingOptions, type ProjectSettingsResource, type PublicProjectSettings, type RemoveAssetContentOptions, type RequestOptions, type ResetPolicyOptions, type RetrieveAssetOptions, type RetryAssetOptions, SDK_VERSION, type SdkErrorCode, type SearchAssetsOptions, type SetPolicyAutomaticUpdatesOptions, type SignAssetUrlOptions, type SignUploadTokenOptions, type SignedAssetUrl, type SignedUploadToken, type StreamingFeatureOptions, type SubmitAssetOptions, type TypedEvent, type UpdateAssetOptions, type UpdateFolderOptions, type UpdateHashListOptions, type UpdateLensOptions, type UpdatePolicyOptions, type UpdateProjectSettingsOptions, type UpgradePolicyOptions, type UploadAssetPartOptions, type UploadPreset, type UploadPresetDefinition, type UploadPresetIdOptions, type UploadPresetPage, type UploadPresetSubmitAssetOptions, type UploadedAsset, type VerifyWebhookSignatureOptions, type ViewerClaims, type WaitForAssetDecisionOptions, type ReceivedWebhookEventPayload as WebhookEventPayload, type WebhookHeadersInput, type WebhookPayloadInput, getAssetInfo, selectModerationContextItems };
1
+ import { a as ClassificationNotEvaluatedReason, c as ModerationQualifier, d as HashListEntry, f as ModerationContext, g as selectModerationContextItems, h as ModerationContextItem, i as ClassificationCategoryReport, l as PolicyAction, m as MODERATION_CONTEXT_USED_ITEMS, n as ClassificationCategories, o as ClassificationQualifierResults, p as MODERATION_CONTEXT_USED_CHARACTERS, r as ClassificationCategory, s as Likelihood, u as HashList } from "./Classification-CxRedzgH-C9qlYW_J.js";
2
+ import { $ as GetAssetInfoOptions, $n as MetadataItem, $t as UpgradePolicyOptions, A as CdnAssetReference, An as BoundingBox, At as MultipartUploadOptions, B as CreateMultipartUploadPartOptions, Bn as AssetSearchMatchField, Bt as SetPolicyAutomaticUpdatesOptions, C as AssetVisibility, Ct as ListHashListEntriesOptions, D as CalmLensAppClientOptions, Dn as PublicProjectSettings, Dt as ListUploadPresetsOptions, E as BatchAssetsResponse, En as ProjectSettingsResource, Et as ListPoliciesOptions, F as ClassifyTextOptions, Fn as ProcessingFeatureStage, Ft as RequestOptions, G as EnsureLensOptions, Gn as AssetHlsRendition, Gt as StreamingFeatureOptions, H as DecideAssetOptions, Ht as SignUploadTokenOptions, I as ConnectionOptions, In as ProcessingFeatures, It as ResetPolicyOptions, J as EnsureUploadPresetsOptions, Jn as AssetRenderedKind, Jt as UpdateFolderOptions, K as EnsureLensesOptions, Kn as AssetPreview, Kt as SubmitAssetOptions, L as CreateFolderOptions, Ln as Policy, Lt as RetrieveAssetOptions, M as CdnResource, Mn as DetectedPerson, Mt as PolicyIdOptions, N as CdnServeOptions, Nn as ProcessingFeatureId, Nt as PolicyPage, O as CalmLensServerClientOptions, On as UploadPreset, Ot as MoveAssetOptions, P as CdnTransform, Pn as ProcessingFeatureResults, Pt as RemoveAssetContentOptions, Q as FolderPage, Qn as FileMetadata, Qt as UpdateProjectSettingsOptions, R as CreateHashListOptions, Rn as CursorPage, Rt as RetryAssetOptions, S as AssetUploadStatus, Sn as EventType, St as ListFoldersOptions, T as BatchAssetsOptions, Tn as MetadataFieldsResource, Tt as ListLensesOptions, U as DeleteAssetOptions, Un as AssetInfo, Ut as SignedAssetUrl, V as CreatePolicyOptions, Vn as AssetSearchQuery, Vt as SignAssetUrlOptions, W as DeleteMetadataFieldOptions, Wn as AssetHls, Wt as SignedUploadToken, X as ExplainAssetOptions, Xn as AssetSafetyHoldReason, Xt as UpdateLensOptions, Y as EnsureUploadPresetsResponse, Yn as AssetSafetyHold, Yt as UpdateHashListOptions, Z as FolderIdOptions, Zn as ExtractedText, Zt as UpdatePolicyOptions, _ as AssetSearchResponse, _n as EventCategory, _t as LensPage, a as AssetChildrenPage, an as UploadedAsset, at as ImageTransformOptions, b as AssetType, bn as EventFacts, bt as ListAssetsOptions, c as AssetClassificationStatus, cn as WaitForAssetDecisionOptions, ct as IterateAssetsOptions, d as AssetContentRemovalReason, dn as AssetBatchOperation, dt as IterateHashListsOptions, en as UploadAssetPartOptions, er as ProcessingOptions, et as HashListEntryIdOptions, f as AssetContentStatus, fn as AssetTimelineSegment, ft as IterateLensesOptions, g as AssetPage, gn as TypedEvent, gt as LensIdOptions, h as AssetModerationStatus, hn as EventAsset, ht as Lens, i as AssetChecksums, in as UploadPresetSubmitAssetOptions, it as IdempotencyOptions, j as CdnAssetUrlOptions, jn as DetectedFace, jt as MultipartUploadPartOptions, k as CdnAssetLocation, kn as AgeRange, kt as MoveFolderOptions, l as AssetContent, ln as WebhookHeadersInput, lt as IterateFoldersOptions, m as AssetModerationDecision, mt as IterateUploadPresetsOptions, n as Asset, nn as UploadPresetIdOptions, nt as HashListIdOptions, o as AssetClassification, on as VerifyWebhookSignatureOptions, ot as IterateAssetChildrenOptions, p as AssetModeration, pn as GetEventsResponse, pt as IteratePoliciesOptions, q as EnsureMetadataFieldsOptions, qn as AssetRendered, qt as UpdateAssetOptions, r as AssetAvailability, rn as UploadPresetPage, rt as HashListPage, s as AssetClassificationFailureReason, sn as ViewerClaims, st as IterateAssetTimelineOptions, t as AddHashListEntryOptions, tn as UploadPresetDefinition, tt as HashListEntryPage, u as AssetContentOptions, un as WebhookPayloadInput, ut as IterateHashListEntriesOptions, v as AssetSearchResult, vn as EventFact, vt as ListAssetChildrenOptions, w as AssignPolicyOptions, wn as Folder, wt as ListHashListsOptions, x as AssetUpload, xn as EventSeverity, xt as ListEventsOptions, y as AssetTimelinePage, yn as EventFactValues, yt as ListAssetTimelineOptions, z as CreateLensOptions, zn as LensType, zt as SearchAssetsOptions } from "./CalmLensTypes-SmOCgKI3.js";
3
+ import { t as CalmLensAppClient } from "./CalmLensAppClient-CMVh0y5w.js";
4
+ import { i as getAssetInfo, n as DEFAULT_CDN_BASE_URL, r as CDN_RESOURCES, t as SDK_VERSION } from "./index-BJf0y_Uk.js";
5
+ import { a as CalmLensErrorCode, c as SdkErrorCode, i as CalmLensError, l as ApiErrorCode, o as CalmLensErrorDetails, r as CALMLENS_ERROR_CODES, s as CalmLensErrorOptions, t as ReceivedWebhookEventPayload } from "./WebhookPayload-C7KAk3iR.js";
6
+ export { type AddHashListEntryOptions, type AgeRange, type ApiErrorCode, type Asset, type AssetAvailability, type AssetBatchOperation, type AssetChecksums, type AssetChildrenPage, type AssetClassification, type AssetClassificationFailureReason, type AssetClassificationStatus, type AssetContent, type AssetContentOptions, type AssetContentRemovalReason, type AssetContentStatus, type AssetHls, type AssetHlsRendition, type AssetInfo, type AssetModeration, type AssetModerationDecision, type AssetModerationStatus, type AssetPage, type AssetPreview, type AssetRendered, type AssetRenderedKind, type AssetSafetyHold, type AssetSafetyHoldReason, type AssetSearchMatchField, type AssetSearchQuery, type AssetSearchResponse, type AssetSearchResult, type AssetTimelinePage, type AssetTimelineSegment, type AssetType, type AssetUpload, type AssetUploadStatus, type AssetVisibility, type AssignPolicyOptions, type BatchAssetsOptions, type BatchAssetsResponse, type BoundingBox, CALMLENS_ERROR_CODES, CDN_RESOURCES, CalmLensAppClient, type CalmLensAppClientOptions, CalmLensError, type CalmLensErrorCode, type CalmLensErrorDetails, type CalmLensErrorOptions, type CalmLensServerClientOptions, type CdnAssetLocation, type CdnAssetReference, type CdnAssetUrlOptions, type CdnResource, type CdnServeOptions, type CdnTransform, type ClassificationCategories, type ClassificationCategory, type ClassificationCategoryReport, type ClassificationNotEvaluatedReason, type ClassificationQualifierResults, type ClassifyTextOptions, type ConnectionOptions, type CreateFolderOptions, type CreateHashListOptions, type CreateLensOptions, type CreateMultipartUploadPartOptions, type CreatePolicyOptions, type CursorPage, DEFAULT_CDN_BASE_URL, type DecideAssetOptions, type DeleteAssetOptions, type DeleteMetadataFieldOptions, type DetectedFace, type DetectedPerson, type EnsureLensOptions, type EnsureLensesOptions, type EnsureMetadataFieldsOptions, type EnsureUploadPresetsOptions, type EnsureUploadPresetsResponse, type EventAsset, type EventCategory, type EventFact, type EventFactValues, type EventFacts, type EventSeverity, type EventType, type GetEventsResponse as EventsPage, type ExplainAssetOptions, type ExtractedText, type FileMetadata, type Folder, type FolderIdOptions, type FolderPage, type GetAssetInfoOptions, type HashList, type HashListEntry, type HashListEntryIdOptions, type HashListEntryPage, type HashListIdOptions, type HashListPage, type IdempotencyOptions, type ImageTransformOptions, type IterateAssetChildrenOptions, type IterateAssetTimelineOptions, type IterateAssetsOptions, type IterateFoldersOptions, type IterateHashListEntriesOptions, type IterateHashListsOptions, type IterateLensesOptions, type IteratePoliciesOptions, type IterateUploadPresetsOptions, type Lens, type LensIdOptions, type LensPage, type LensType, type Likelihood, type ListAssetChildrenOptions, type ListAssetTimelineOptions, type ListAssetsOptions, type ListEventsOptions, type ListFoldersOptions, type ListHashListEntriesOptions, type ListHashListsOptions, type ListLensesOptions, type ListPoliciesOptions, type ListUploadPresetsOptions, MODERATION_CONTEXT_USED_CHARACTERS, MODERATION_CONTEXT_USED_ITEMS, type MetadataFieldsResource, type MetadataItem, type ModerationContext, type ModerationContextItem, type ModerationQualifier, type MoveAssetOptions, type MoveFolderOptions, type MultipartUploadOptions, type MultipartUploadPartOptions, type Policy, type PolicyAction, type PolicyIdOptions, type PolicyPage, type ProcessingFeatureId, type ProcessingFeatureResults, type ProcessingFeatureStage, type ProcessingFeatures, type ProcessingOptions, type ProjectSettingsResource, type PublicProjectSettings, type RemoveAssetContentOptions, type RequestOptions, type ResetPolicyOptions, type RetrieveAssetOptions, type RetryAssetOptions, SDK_VERSION, type SdkErrorCode, type SearchAssetsOptions, type SetPolicyAutomaticUpdatesOptions, type SignAssetUrlOptions, type SignUploadTokenOptions, type SignedAssetUrl, type SignedUploadToken, type StreamingFeatureOptions, type SubmitAssetOptions, type TypedEvent, type UpdateAssetOptions, type UpdateFolderOptions, type UpdateHashListOptions, type UpdateLensOptions, type UpdatePolicyOptions, type UpdateProjectSettingsOptions, type UpgradePolicyOptions, type UploadAssetPartOptions, type UploadPreset, type UploadPresetDefinition, type UploadPresetIdOptions, type UploadPresetPage, type UploadPresetSubmitAssetOptions, type UploadedAsset, type VerifyWebhookSignatureOptions, type ViewerClaims, type WaitForAssetDecisionOptions, type ReceivedWebhookEventPayload as WebhookEventPayload, type WebhookHeadersInput, type WebhookPayloadInput, getAssetInfo, selectModerationContextItems };
package/cjs/app.js CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_ModerationContextLimits = require("./ModerationContextLimits-ud1xpZRK.js");
2
+ const require_ModerationContextLimits = require("./ModerationContextLimits-C6Ts1Xhw.js");
3
3
  require("./index.js");
4
- const require_CalmLensAppClient = require("./CalmLensAppClient-DUYMo9PZ.js");
4
+ const require_CalmLensAppClient = require("./CalmLensAppClient-yNhGTyvi.js");
5
5
  exports.CALMLENS_ERROR_CODES = require_ModerationContextLimits.CALMLENS_ERROR_CODES;
6
6
  exports.CDN_RESOURCES = require_ModerationContextLimits.CDN_RESOURCES;
7
7
  exports.CalmLensAppClient = require_CalmLensAppClient.CalmLensAppClient;
package/cjs/elements.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { r as AssetAvailability } from "./CalmLensTypes-BDKwThbO.js";
2
- import { $ as getAssetViewKey, A as CustomUploadResult, B as AssetDisplay, C as formatMessage, D as resolveMessages, E as getUploadItemOutcome, G as AssetSession, H as AssetImageOptions, J as AssetVideoOptions, K as AssetSessionState, L as UploadStage, M as UploadController, P as UploadFile, Q as getAssetView, S as formatBytes, T as getUploadItemMessage, U as AssetImageSource, V as AssetDocumentOptions, W as AssetOptions, X as MediaPlayback, Y as AssetView, Z as getAssetAspectRatio, _ as DEFAULT_MESSAGES, _t as formatViewerMessage, a as ProgressFetchOptions, at as ImageViewerOptions, b as describeUploadItem, c as ICON_ATTRIBUTES, ct as TextViewerOptions, d as AssetDisplayOptions, dt as ViewerTextOptions, et as getPeakHeights, f as AssetEventHandlers, ft as WebsiteViewerOptions, g as CalmLensMessages, gt as ViewerMessages, ht as DEFAULT_VIEWER_MESSAGES, i as CALMLENS_STYLES, it as DocumentViewerOptions, j as UploadClient, k as CustomUploadContext, l as IconName, lt as ViewerAsset, m as UploaderDisplayOptions, mt as isSpreadsheetFormat, n as CalmLensTheme, nt as pickAssetSource, o as createProgressFetch, ot as PdfAssetOptions, p as AssetProps, pt as getAssetViewerKind, q as AssetSpreadsheetOptions, r as resolveTheme, rt as AssetViewerKind, s as ICONS, st as SpreadsheetViewerOptions, t as CALMLENS_THEME, tt as getPlayedPercent, u as ASSET_FILE_ICON_SIZE, ut as ViewerOptions, v as UploadItemView, vt as resolveViewerMessages, w as getDropzoneHint, x as describeUploader, y as UploaderView, z as isFileAccepted } from "./Core-C33pkBmf.js";
3
- import { a as UploaderProps, i as UploadSnapshot, n as UploadControllerOptions, r as UploadItem, s as createUploadController, t as CalmLensUpload } from "./BrowserUpload-BWjZ9ntu.js";
4
- import { C as ViewerState, S as AssetViewer, _ as spreadsheetColumnIndex, a as isMountedViewerKind, b as createWebsiteViewer, c as AssetViewerOptionsByKind, d as createTextViewer, f as SpreadsheetCell, g as parseSpreadsheetText, h as getSpreadsheetPage, i as getMountedViewerOptions, l as VIEWER_STYLES, m as SpreadsheetSheet, n as AssetViewerMount, o as ASSET_VIEWERS, p as SpreadsheetRow, r as MountedViewerKind, s as AssetViewerName, t as MediaStreamPlayer, u as createSpreadsheetViewer, v as loadPdfJs, x as createDocumentViewer, y as createImageViewer } from "./ui-YQuvbidU.js";
1
+ import { r as AssetAvailability } from "./CalmLensTypes-SmOCgKI3.js";
2
+ import { $ as getAssetViewKey, A as CustomUploadResult, B as AssetDisplay, C as formatMessage, D as resolveMessages, E as getUploadItemOutcome, G as AssetSession, H as AssetImageOptions, J as AssetVideoOptions, K as AssetSessionState, L as UploadStage, M as UploadController, P as UploadFile, Q as getAssetView, S as formatBytes, T as getUploadItemMessage, U as AssetImageSource, V as AssetDocumentOptions, W as AssetOptions, X as MediaPlayback, Y as AssetView, Z as getAssetAspectRatio, _ as DEFAULT_MESSAGES, _t as formatViewerMessage, a as ProgressFetchOptions, at as ImageViewerOptions, b as describeUploadItem, c as ICON_ATTRIBUTES, ct as TextViewerOptions, d as AssetDisplayOptions, dt as ViewerTextOptions, et as getPeakHeights, f as AssetEventHandlers, ft as WebsiteViewerOptions, g as CalmLensMessages, gt as ViewerMessages, ht as DEFAULT_VIEWER_MESSAGES, i as CALMLENS_STYLES, it as DocumentViewerOptions, j as UploadClient, k as CustomUploadContext, l as IconName, lt as ViewerAsset, m as UploaderDisplayOptions, mt as isSpreadsheetFormat, n as CalmLensTheme, nt as pickAssetSource, o as createProgressFetch, ot as PdfAssetOptions, p as AssetProps, pt as getAssetViewerKind, q as AssetSpreadsheetOptions, r as resolveTheme, rt as AssetViewerKind, s as ICONS, st as SpreadsheetViewerOptions, t as CALMLENS_THEME, tt as getPlayedPercent, u as ASSET_FILE_ICON_SIZE, ut as ViewerOptions, v as UploadItemView, vt as resolveViewerMessages, w as getDropzoneHint, x as describeUploader, y as UploaderView, z as isFileAccepted } from "./Core-Dt_HUNvH.js";
3
+ import { a as UploaderProps, i as UploadSnapshot, n as UploadControllerOptions, r as UploadItem, s as createUploadController, t as CalmLensUpload } from "./BrowserUpload-B2kmc3Y_.js";
4
+ import { C as ViewerState, S as AssetViewer, _ as spreadsheetColumnIndex, a as isMountedViewerKind, b as createWebsiteViewer, c as AssetViewerOptionsByKind, d as createTextViewer, f as SpreadsheetCell, g as parseSpreadsheetText, h as getSpreadsheetPage, i as getMountedViewerOptions, l as VIEWER_STYLES, m as SpreadsheetSheet, n as AssetViewerMount, o as ASSET_VIEWERS, p as SpreadsheetRow, r as MountedViewerKind, s as AssetViewerName, t as MediaStreamPlayer, u as createSpreadsheetViewer, v as loadPdfJs, x as createDocumentViewer, y as createImageViewer } from "./ui-DNXPuzha.js";
5
5
  declare const BaseElement$1: typeof HTMLElement;
6
6
  /**
7
7
  * An asset viewer element. Set the `src` attribute to the asset URL (public or signed) and the
package/cjs/elements.js CHANGED
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_ui = require("./ui-BRA4HQ8r.js");
3
- const require_UploadController = require("./UploadController-l8fZM2qT.js");
4
- const require_Core = require("./Core-Cm5Z1oJ9.js");
2
+ const require_ui = require("./ui-CbqSrVlT.js");
3
+ const require_UploadController = require("./UploadController-Bh2bqt8N.js");
4
+ const require_Core = require("./Core-zXLf8JKh.js");
5
5
  const require_FileIcons = require("./FileIcons-Ob003MdS.js");
6
- const require_BrowserUpload = require("./BrowserUpload-Bwlib4Zc.js");
6
+ const require_BrowserUpload = require("./BrowserUpload-HQjhZrW-.js");
7
7
  // src/viewers/Elements.ts
8
8
  const BaseElement$1 = typeof HTMLElement === "undefined" ? class {} : HTMLElement;
9
9
  const PROPERTIES = [
@@ -1,6 +1,6 @@
1
- import "./Classification-Q5zGpR8l-CEWjnE39.js";
2
- import { $ as GetAssetInfoOptions, M as CdnResource, Un as AssetInfo } from "./CalmLensTypes-BDKwThbO.js";
3
- import "./WebhookPayload-Dt6DttS0.js";
1
+ import "./Classification-CxRedzgH-C9qlYW_J.js";
2
+ import { $ as GetAssetInfoOptions, M as CdnResource, Un as AssetInfo } from "./CalmLensTypes-SmOCgKI3.js";
3
+ import "./WebhookPayload-C7KAk3iR.js";
4
4
  /** Every CDN resource beneath an asset URL, as `getAssetUrl` and `signAssetUrl` accept them. */
5
5
  declare const CDN_RESOURCES: CdnResource[];
6
6
  /**