@hot-updater/supabase 0.12.7 → 0.13.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/dist/index.cjs CHANGED
@@ -1,3491 +1,277 @@
1
+ import { createRequire } from 'module'; const require = createRequire(import.meta.url);
1
2
  "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.n = (module)=>{
5
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
6
- __webpack_require__.d(getter, {
7
- a: getter
8
- });
9
- return getter;
10
- };
11
- })();
12
- (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
18
- };
19
- })();
20
- (()=>{
21
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
- })();
23
- (()=>{
24
- __webpack_require__.r = (exports1)=>{
25
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
- value: 'Module'
27
- });
28
- Object.defineProperty(exports1, '__esModule', {
29
- value: true
30
- });
31
- };
32
- })();
33
- var __webpack_exports__ = {};
34
- __webpack_require__.r(__webpack_exports__);
35
- __webpack_require__.d(__webpack_exports__, {
36
- supabaseStorage: ()=>supabaseStorage,
37
- supabaseConfigTomlTemplate: ()=>supabaseConfigTomlTemplate,
38
- supabaseDatabase: ()=>supabaseDatabase,
39
- supabaseApi: ()=>supabaseApi
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/index.ts
32
+ var index_exports = {};
33
+ __export(index_exports, {
34
+ supabaseDatabase: () => supabaseDatabase,
35
+ supabaseStorage: () => supabaseStorage
40
36
  });
41
- const supabase_js_namespaceObject = require("@supabase/supabase-js");
42
- const supabaseDatabase = (config, hooks)=>(_)=>{
43
- const supabase = (0, supabase_js_namespaceObject.createClient)(config.supabaseUrl, config.supabaseAnonKey);
44
- let bundles = [];
45
- const changedIds = new Set();
46
- function markChanged(id) {
47
- changedIds.add(id);
37
+ module.exports = __toCommonJS(index_exports);
38
+
39
+ // src/supabaseDatabase.ts
40
+ var import_plugin_core = require("@hot-updater/plugin-core");
41
+ var import_supabase_js = require("@supabase/supabase-js");
42
+ var supabaseDatabase = (config, hooks) => {
43
+ const supabase = (0, import_supabase_js.createClient)(
44
+ config.supabaseUrl,
45
+ config.supabaseAnonKey
46
+ );
47
+ return (0, import_plugin_core.createDatabasePlugin)(
48
+ "supabaseDatabase",
49
+ {
50
+ async getBundleById(bundleId) {
51
+ const { data, error } = await supabase.from("bundles").select("*").eq("id", bundleId).single();
52
+ if (!data || error) {
53
+ return null;
48
54
  }
49
55
  return {
50
- name: "supabaseDatabase",
51
- async commitBundle () {
52
- if (0 === changedIds.size) return;
53
- const changedBundles = bundles.filter((b)=>changedIds.has(b.id));
54
- if (0 === changedBundles.length) return;
55
- await supabase.from("bundles").upsert(changedBundles.map((bundle)=>({
56
- id: bundle.id,
57
- enabled: bundle.enabled,
58
- file_url: bundle.fileUrl,
59
- should_force_update: bundle.shouldForceUpdate,
60
- file_hash: bundle.fileHash,
61
- git_commit_hash: bundle.gitCommitHash,
62
- message: bundle.message,
63
- platform: bundle.platform,
64
- target_app_version: bundle.targetAppVersion
65
- })), {
66
- onConflict: "id"
67
- });
68
- changedIds.clear();
69
- hooks?.onDatabaseUpdated?.();
70
- },
71
- async updateBundle (targetBundleId, newBundle) {
72
- bundles = await this.getBundles();
73
- const targetIndex = bundles.findIndex((u)=>u.id === targetBundleId);
74
- if (-1 === targetIndex) throw new Error("target bundle version not found");
75
- Object.assign(bundles[targetIndex], newBundle);
76
- markChanged(targetBundleId);
77
- },
78
- async appendBundle (inputBundle) {
79
- bundles = await this.getBundles();
80
- bundles.unshift(inputBundle);
81
- markChanged(inputBundle.id);
82
- },
83
- async getBundleById (bundleId) {
84
- const { data } = await supabase.from("bundles").select("*").eq("id", bundleId).single();
85
- if (!data) return null;
86
- return {
87
- enabled: data.enabled,
88
- fileUrl: data.file_url,
89
- shouldForceUpdate: data.should_force_update,
90
- fileHash: data.file_hash,
91
- gitCommitHash: data.git_commit_hash,
92
- id: data.id,
93
- message: data.message,
94
- platform: data.platform,
95
- targetAppVersion: data.target_app_version
96
- };
97
- },
98
- async getBundles (refresh = false) {
99
- if (bundles.length > 0 && !refresh) return bundles;
100
- const { data } = await supabase.from("bundles").select("*").order("id", {
101
- ascending: false
102
- });
103
- if (!data) return [];
104
- return data.map((bundle)=>({
105
- enabled: bundle.enabled,
106
- fileUrl: bundle.file_url,
107
- shouldForceUpdate: bundle.should_force_update,
108
- fileHash: bundle.file_hash,
109
- gitCommitHash: bundle.git_commit_hash,
110
- id: bundle.id,
111
- message: bundle.message,
112
- platform: bundle.platform,
113
- targetAppVersion: bundle.target_app_version
114
- }));
115
- }
56
+ channel: data.channel,
57
+ enabled: data.enabled,
58
+ shouldForceUpdate: data.should_force_update,
59
+ fileHash: data.file_hash,
60
+ gitCommitHash: data.git_commit_hash,
61
+ id: data.id,
62
+ message: data.message,
63
+ platform: data.platform,
64
+ targetAppVersion: data.target_app_version
116
65
  };
117
- };
118
- const external_path_namespaceObject = require("path");
119
- var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
120
- const promises_namespaceObject = require("fs/promises");
121
- var promises_default = /*#__PURE__*/ __webpack_require__.n(promises_namespaceObject);
122
- const types = {
123
- "application/prs.cww": [
124
- "cww"
125
- ],
126
- "application/prs.xsf+xml": [
127
- "xsf"
128
- ],
129
- "application/vnd.1000minds.decision-model+xml": [
130
- "1km"
131
- ],
132
- "application/vnd.3gpp.pic-bw-large": [
133
- "plb"
134
- ],
135
- "application/vnd.3gpp.pic-bw-small": [
136
- "psb"
137
- ],
138
- "application/vnd.3gpp.pic-bw-var": [
139
- "pvb"
140
- ],
141
- "application/vnd.3gpp2.tcap": [
142
- "tcap"
143
- ],
144
- "application/vnd.3m.post-it-notes": [
145
- "pwn"
146
- ],
147
- "application/vnd.accpac.simply.aso": [
148
- "aso"
149
- ],
150
- "application/vnd.accpac.simply.imp": [
151
- "imp"
152
- ],
153
- "application/vnd.acucobol": [
154
- "acu"
155
- ],
156
- "application/vnd.acucorp": [
157
- "atc",
158
- "acutc"
159
- ],
160
- "application/vnd.adobe.air-application-installer-package+zip": [
161
- "air"
162
- ],
163
- "application/vnd.adobe.formscentral.fcdt": [
164
- "fcdt"
165
- ],
166
- "application/vnd.adobe.fxp": [
167
- "fxp",
168
- "fxpl"
169
- ],
170
- "application/vnd.adobe.xdp+xml": [
171
- "xdp"
172
- ],
173
- "application/vnd.adobe.xfdf": [
174
- "*xfdf"
175
- ],
176
- "application/vnd.age": [
177
- "age"
178
- ],
179
- "application/vnd.ahead.space": [
180
- "ahead"
181
- ],
182
- "application/vnd.airzip.filesecure.azf": [
183
- "azf"
184
- ],
185
- "application/vnd.airzip.filesecure.azs": [
186
- "azs"
187
- ],
188
- "application/vnd.amazon.ebook": [
189
- "azw"
190
- ],
191
- "application/vnd.americandynamics.acc": [
192
- "acc"
193
- ],
194
- "application/vnd.amiga.ami": [
195
- "ami"
196
- ],
197
- "application/vnd.android.package-archive": [
198
- "apk"
199
- ],
200
- "application/vnd.anser-web-certificate-issue-initiation": [
201
- "cii"
202
- ],
203
- "application/vnd.anser-web-funds-transfer-initiation": [
204
- "fti"
205
- ],
206
- "application/vnd.antix.game-component": [
207
- "atx"
208
- ],
209
- "application/vnd.apple.installer+xml": [
210
- "mpkg"
211
- ],
212
- "application/vnd.apple.keynote": [
213
- "key"
214
- ],
215
- "application/vnd.apple.mpegurl": [
216
- "m3u8"
217
- ],
218
- "application/vnd.apple.numbers": [
219
- "numbers"
220
- ],
221
- "application/vnd.apple.pages": [
222
- "pages"
223
- ],
224
- "application/vnd.apple.pkpass": [
225
- "pkpass"
226
- ],
227
- "application/vnd.aristanetworks.swi": [
228
- "swi"
229
- ],
230
- "application/vnd.astraea-software.iota": [
231
- "iota"
232
- ],
233
- "application/vnd.audiograph": [
234
- "aep"
235
- ],
236
- "application/vnd.balsamiq.bmml+xml": [
237
- "bmml"
238
- ],
239
- "application/vnd.blueice.multipass": [
240
- "mpm"
241
- ],
242
- "application/vnd.bmi": [
243
- "bmi"
244
- ],
245
- "application/vnd.businessobjects": [
246
- "rep"
247
- ],
248
- "application/vnd.chemdraw+xml": [
249
- "cdxml"
250
- ],
251
- "application/vnd.chipnuts.karaoke-mmd": [
252
- "mmd"
253
- ],
254
- "application/vnd.cinderella": [
255
- "cdy"
256
- ],
257
- "application/vnd.citationstyles.style+xml": [
258
- "csl"
259
- ],
260
- "application/vnd.claymore": [
261
- "cla"
262
- ],
263
- "application/vnd.cloanto.rp9": [
264
- "rp9"
265
- ],
266
- "application/vnd.clonk.c4group": [
267
- "c4g",
268
- "c4d",
269
- "c4f",
270
- "c4p",
271
- "c4u"
272
- ],
273
- "application/vnd.cluetrust.cartomobile-config": [
274
- "c11amc"
275
- ],
276
- "application/vnd.cluetrust.cartomobile-config-pkg": [
277
- "c11amz"
278
- ],
279
- "application/vnd.commonspace": [
280
- "csp"
281
- ],
282
- "application/vnd.contact.cmsg": [
283
- "cdbcmsg"
284
- ],
285
- "application/vnd.cosmocaller": [
286
- "cmc"
287
- ],
288
- "application/vnd.crick.clicker": [
289
- "clkx"
290
- ],
291
- "application/vnd.crick.clicker.keyboard": [
292
- "clkk"
293
- ],
294
- "application/vnd.crick.clicker.palette": [
295
- "clkp"
296
- ],
297
- "application/vnd.crick.clicker.template": [
298
- "clkt"
299
- ],
300
- "application/vnd.crick.clicker.wordbank": [
301
- "clkw"
302
- ],
303
- "application/vnd.criticaltools.wbs+xml": [
304
- "wbs"
305
- ],
306
- "application/vnd.ctc-posml": [
307
- "pml"
308
- ],
309
- "application/vnd.cups-ppd": [
310
- "ppd"
311
- ],
312
- "application/vnd.curl.car": [
313
- "car"
314
- ],
315
- "application/vnd.curl.pcurl": [
316
- "pcurl"
317
- ],
318
- "application/vnd.dart": [
319
- "dart"
320
- ],
321
- "application/vnd.data-vision.rdz": [
322
- "rdz"
323
- ],
324
- "application/vnd.dbf": [
325
- "dbf"
326
- ],
327
- "application/vnd.dece.data": [
328
- "uvf",
329
- "uvvf",
330
- "uvd",
331
- "uvvd"
332
- ],
333
- "application/vnd.dece.ttml+xml": [
334
- "uvt",
335
- "uvvt"
336
- ],
337
- "application/vnd.dece.unspecified": [
338
- "uvx",
339
- "uvvx"
340
- ],
341
- "application/vnd.dece.zip": [
342
- "uvz",
343
- "uvvz"
344
- ],
345
- "application/vnd.denovo.fcselayout-link": [
346
- "fe_launch"
347
- ],
348
- "application/vnd.dna": [
349
- "dna"
350
- ],
351
- "application/vnd.dolby.mlp": [
352
- "mlp"
353
- ],
354
- "application/vnd.dpgraph": [
355
- "dpg"
356
- ],
357
- "application/vnd.dreamfactory": [
358
- "dfac"
359
- ],
360
- "application/vnd.ds-keypoint": [
361
- "kpxx"
362
- ],
363
- "application/vnd.dvb.ait": [
364
- "ait"
365
- ],
366
- "application/vnd.dvb.service": [
367
- "svc"
368
- ],
369
- "application/vnd.dynageo": [
370
- "geo"
371
- ],
372
- "application/vnd.ecowin.chart": [
373
- "mag"
374
- ],
375
- "application/vnd.enliven": [
376
- "nml"
377
- ],
378
- "application/vnd.epson.esf": [
379
- "esf"
380
- ],
381
- "application/vnd.epson.msf": [
382
- "msf"
383
- ],
384
- "application/vnd.epson.quickanime": [
385
- "qam"
386
- ],
387
- "application/vnd.epson.salt": [
388
- "slt"
389
- ],
390
- "application/vnd.epson.ssf": [
391
- "ssf"
392
- ],
393
- "application/vnd.eszigno3+xml": [
394
- "es3",
395
- "et3"
396
- ],
397
- "application/vnd.ezpix-album": [
398
- "ez2"
399
- ],
400
- "application/vnd.ezpix-package": [
401
- "ez3"
402
- ],
403
- "application/vnd.fdf": [
404
- "*fdf"
405
- ],
406
- "application/vnd.fdsn.mseed": [
407
- "mseed"
408
- ],
409
- "application/vnd.fdsn.seed": [
410
- "seed",
411
- "dataless"
412
- ],
413
- "application/vnd.flographit": [
414
- "gph"
415
- ],
416
- "application/vnd.fluxtime.clip": [
417
- "ftc"
418
- ],
419
- "application/vnd.framemaker": [
420
- "fm",
421
- "frame",
422
- "maker",
423
- "book"
424
- ],
425
- "application/vnd.frogans.fnc": [
426
- "fnc"
427
- ],
428
- "application/vnd.frogans.ltf": [
429
- "ltf"
430
- ],
431
- "application/vnd.fsc.weblaunch": [
432
- "fsc"
433
- ],
434
- "application/vnd.fujitsu.oasys": [
435
- "oas"
436
- ],
437
- "application/vnd.fujitsu.oasys2": [
438
- "oa2"
439
- ],
440
- "application/vnd.fujitsu.oasys3": [
441
- "oa3"
442
- ],
443
- "application/vnd.fujitsu.oasysgp": [
444
- "fg5"
445
- ],
446
- "application/vnd.fujitsu.oasysprs": [
447
- "bh2"
448
- ],
449
- "application/vnd.fujixerox.ddd": [
450
- "ddd"
451
- ],
452
- "application/vnd.fujixerox.docuworks": [
453
- "xdw"
454
- ],
455
- "application/vnd.fujixerox.docuworks.binder": [
456
- "xbd"
457
- ],
458
- "application/vnd.fuzzysheet": [
459
- "fzs"
460
- ],
461
- "application/vnd.genomatix.tuxedo": [
462
- "txd"
463
- ],
464
- "application/vnd.geogebra.file": [
465
- "ggb"
466
- ],
467
- "application/vnd.geogebra.tool": [
468
- "ggt"
469
- ],
470
- "application/vnd.geometry-explorer": [
471
- "gex",
472
- "gre"
473
- ],
474
- "application/vnd.geonext": [
475
- "gxt"
476
- ],
477
- "application/vnd.geoplan": [
478
- "g2w"
479
- ],
480
- "application/vnd.geospace": [
481
- "g3w"
482
- ],
483
- "application/vnd.gmx": [
484
- "gmx"
485
- ],
486
- "application/vnd.google-apps.document": [
487
- "gdoc"
488
- ],
489
- "application/vnd.google-apps.presentation": [
490
- "gslides"
491
- ],
492
- "application/vnd.google-apps.spreadsheet": [
493
- "gsheet"
494
- ],
495
- "application/vnd.google-earth.kml+xml": [
496
- "kml"
497
- ],
498
- "application/vnd.google-earth.kmz": [
499
- "kmz"
500
- ],
501
- "application/vnd.grafeq": [
502
- "gqf",
503
- "gqs"
504
- ],
505
- "application/vnd.groove-account": [
506
- "gac"
507
- ],
508
- "application/vnd.groove-help": [
509
- "ghf"
510
- ],
511
- "application/vnd.groove-identity-message": [
512
- "gim"
513
- ],
514
- "application/vnd.groove-injector": [
515
- "grv"
516
- ],
517
- "application/vnd.groove-tool-message": [
518
- "gtm"
519
- ],
520
- "application/vnd.groove-tool-template": [
521
- "tpl"
522
- ],
523
- "application/vnd.groove-vcard": [
524
- "vcg"
525
- ],
526
- "application/vnd.hal+xml": [
527
- "hal"
528
- ],
529
- "application/vnd.handheld-entertainment+xml": [
530
- "zmm"
531
- ],
532
- "application/vnd.hbci": [
533
- "hbci"
534
- ],
535
- "application/vnd.hhe.lesson-player": [
536
- "les"
537
- ],
538
- "application/vnd.hp-hpgl": [
539
- "hpgl"
540
- ],
541
- "application/vnd.hp-hpid": [
542
- "hpid"
543
- ],
544
- "application/vnd.hp-hps": [
545
- "hps"
546
- ],
547
- "application/vnd.hp-jlyt": [
548
- "jlt"
549
- ],
550
- "application/vnd.hp-pcl": [
551
- "pcl"
552
- ],
553
- "application/vnd.hp-pclxl": [
554
- "pclxl"
555
- ],
556
- "application/vnd.hydrostatix.sof-data": [
557
- "sfd-hdstx"
558
- ],
559
- "application/vnd.ibm.minipay": [
560
- "mpy"
561
- ],
562
- "application/vnd.ibm.modcap": [
563
- "afp",
564
- "listafp",
565
- "list3820"
566
- ],
567
- "application/vnd.ibm.rights-management": [
568
- "irm"
569
- ],
570
- "application/vnd.ibm.secure-container": [
571
- "sc"
572
- ],
573
- "application/vnd.iccprofile": [
574
- "icc",
575
- "icm"
576
- ],
577
- "application/vnd.igloader": [
578
- "igl"
579
- ],
580
- "application/vnd.immervision-ivp": [
581
- "ivp"
582
- ],
583
- "application/vnd.immervision-ivu": [
584
- "ivu"
585
- ],
586
- "application/vnd.insors.igm": [
587
- "igm"
588
- ],
589
- "application/vnd.intercon.formnet": [
590
- "xpw",
591
- "xpx"
592
- ],
593
- "application/vnd.intergeo": [
594
- "i2g"
595
- ],
596
- "application/vnd.intu.qbo": [
597
- "qbo"
598
- ],
599
- "application/vnd.intu.qfx": [
600
- "qfx"
601
- ],
602
- "application/vnd.ipunplugged.rcprofile": [
603
- "rcprofile"
604
- ],
605
- "application/vnd.irepository.package+xml": [
606
- "irp"
607
- ],
608
- "application/vnd.is-xpr": [
609
- "xpr"
610
- ],
611
- "application/vnd.isac.fcs": [
612
- "fcs"
613
- ],
614
- "application/vnd.jam": [
615
- "jam"
616
- ],
617
- "application/vnd.jcp.javame.midlet-rms": [
618
- "rms"
619
- ],
620
- "application/vnd.jisp": [
621
- "jisp"
622
- ],
623
- "application/vnd.joost.joda-archive": [
624
- "joda"
625
- ],
626
- "application/vnd.kahootz": [
627
- "ktz",
628
- "ktr"
629
- ],
630
- "application/vnd.kde.karbon": [
631
- "karbon"
632
- ],
633
- "application/vnd.kde.kchart": [
634
- "chrt"
635
- ],
636
- "application/vnd.kde.kformula": [
637
- "kfo"
638
- ],
639
- "application/vnd.kde.kivio": [
640
- "flw"
641
- ],
642
- "application/vnd.kde.kontour": [
643
- "kon"
644
- ],
645
- "application/vnd.kde.kpresenter": [
646
- "kpr",
647
- "kpt"
648
- ],
649
- "application/vnd.kde.kspread": [
650
- "ksp"
651
- ],
652
- "application/vnd.kde.kword": [
653
- "kwd",
654
- "kwt"
655
- ],
656
- "application/vnd.kenameaapp": [
657
- "htke"
658
- ],
659
- "application/vnd.kidspiration": [
660
- "kia"
661
- ],
662
- "application/vnd.kinar": [
663
- "kne",
664
- "knp"
665
- ],
666
- "application/vnd.koan": [
667
- "skp",
668
- "skd",
669
- "skt",
670
- "skm"
671
- ],
672
- "application/vnd.kodak-descriptor": [
673
- "sse"
674
- ],
675
- "application/vnd.las.las+xml": [
676
- "lasxml"
677
- ],
678
- "application/vnd.llamagraphics.life-balance.desktop": [
679
- "lbd"
680
- ],
681
- "application/vnd.llamagraphics.life-balance.exchange+xml": [
682
- "lbe"
683
- ],
684
- "application/vnd.lotus-1-2-3": [
685
- "123"
686
- ],
687
- "application/vnd.lotus-approach": [
688
- "apr"
689
- ],
690
- "application/vnd.lotus-freelance": [
691
- "pre"
692
- ],
693
- "application/vnd.lotus-notes": [
694
- "nsf"
695
- ],
696
- "application/vnd.lotus-organizer": [
697
- "org"
698
- ],
699
- "application/vnd.lotus-screencam": [
700
- "scm"
701
- ],
702
- "application/vnd.lotus-wordpro": [
703
- "lwp"
704
- ],
705
- "application/vnd.macports.portpkg": [
706
- "portpkg"
707
- ],
708
- "application/vnd.mapbox-vector-tile": [
709
- "mvt"
710
- ],
711
- "application/vnd.mcd": [
712
- "mcd"
713
- ],
714
- "application/vnd.medcalcdata": [
715
- "mc1"
716
- ],
717
- "application/vnd.mediastation.cdkey": [
718
- "cdkey"
719
- ],
720
- "application/vnd.mfer": [
721
- "mwf"
722
- ],
723
- "application/vnd.mfmp": [
724
- "mfm"
725
- ],
726
- "application/vnd.micrografx.flo": [
727
- "flo"
728
- ],
729
- "application/vnd.micrografx.igx": [
730
- "igx"
731
- ],
732
- "application/vnd.mif": [
733
- "mif"
734
- ],
735
- "application/vnd.mobius.daf": [
736
- "daf"
737
- ],
738
- "application/vnd.mobius.dis": [
739
- "dis"
740
- ],
741
- "application/vnd.mobius.mbk": [
742
- "mbk"
743
- ],
744
- "application/vnd.mobius.mqy": [
745
- "mqy"
746
- ],
747
- "application/vnd.mobius.msl": [
748
- "msl"
749
- ],
750
- "application/vnd.mobius.plc": [
751
- "plc"
752
- ],
753
- "application/vnd.mobius.txf": [
754
- "txf"
755
- ],
756
- "application/vnd.mophun.application": [
757
- "mpn"
758
- ],
759
- "application/vnd.mophun.certificate": [
760
- "mpc"
761
- ],
762
- "application/vnd.mozilla.xul+xml": [
763
- "xul"
764
- ],
765
- "application/vnd.ms-artgalry": [
766
- "cil"
767
- ],
768
- "application/vnd.ms-cab-compressed": [
769
- "cab"
770
- ],
771
- "application/vnd.ms-excel": [
772
- "xls",
773
- "xlm",
774
- "xla",
775
- "xlc",
776
- "xlt",
777
- "xlw"
778
- ],
779
- "application/vnd.ms-excel.addin.macroenabled.12": [
780
- "xlam"
781
- ],
782
- "application/vnd.ms-excel.sheet.binary.macroenabled.12": [
783
- "xlsb"
784
- ],
785
- "application/vnd.ms-excel.sheet.macroenabled.12": [
786
- "xlsm"
787
- ],
788
- "application/vnd.ms-excel.template.macroenabled.12": [
789
- "xltm"
790
- ],
791
- "application/vnd.ms-fontobject": [
792
- "eot"
793
- ],
794
- "application/vnd.ms-htmlhelp": [
795
- "chm"
796
- ],
797
- "application/vnd.ms-ims": [
798
- "ims"
799
- ],
800
- "application/vnd.ms-lrm": [
801
- "lrm"
802
- ],
803
- "application/vnd.ms-officetheme": [
804
- "thmx"
805
- ],
806
- "application/vnd.ms-outlook": [
807
- "msg"
808
- ],
809
- "application/vnd.ms-pki.seccat": [
810
- "cat"
811
- ],
812
- "application/vnd.ms-pki.stl": [
813
- "*stl"
814
- ],
815
- "application/vnd.ms-powerpoint": [
816
- "ppt",
817
- "pps",
818
- "pot"
819
- ],
820
- "application/vnd.ms-powerpoint.addin.macroenabled.12": [
821
- "ppam"
822
- ],
823
- "application/vnd.ms-powerpoint.presentation.macroenabled.12": [
824
- "pptm"
825
- ],
826
- "application/vnd.ms-powerpoint.slide.macroenabled.12": [
827
- "sldm"
828
- ],
829
- "application/vnd.ms-powerpoint.slideshow.macroenabled.12": [
830
- "ppsm"
831
- ],
832
- "application/vnd.ms-powerpoint.template.macroenabled.12": [
833
- "potm"
834
- ],
835
- "application/vnd.ms-project": [
836
- "*mpp",
837
- "mpt"
838
- ],
839
- "application/vnd.ms-word.document.macroenabled.12": [
840
- "docm"
841
- ],
842
- "application/vnd.ms-word.template.macroenabled.12": [
843
- "dotm"
844
- ],
845
- "application/vnd.ms-works": [
846
- "wps",
847
- "wks",
848
- "wcm",
849
- "wdb"
850
- ],
851
- "application/vnd.ms-wpl": [
852
- "wpl"
853
- ],
854
- "application/vnd.ms-xpsdocument": [
855
- "xps"
856
- ],
857
- "application/vnd.mseq": [
858
- "mseq"
859
- ],
860
- "application/vnd.musician": [
861
- "mus"
862
- ],
863
- "application/vnd.muvee.style": [
864
- "msty"
865
- ],
866
- "application/vnd.mynfc": [
867
- "taglet"
868
- ],
869
- "application/vnd.neurolanguage.nlu": [
870
- "nlu"
871
- ],
872
- "application/vnd.nitf": [
873
- "ntf",
874
- "nitf"
875
- ],
876
- "application/vnd.noblenet-directory": [
877
- "nnd"
878
- ],
879
- "application/vnd.noblenet-sealer": [
880
- "nns"
881
- ],
882
- "application/vnd.noblenet-web": [
883
- "nnw"
884
- ],
885
- "application/vnd.nokia.n-gage.ac+xml": [
886
- "*ac"
887
- ],
888
- "application/vnd.nokia.n-gage.data": [
889
- "ngdat"
890
- ],
891
- "application/vnd.nokia.n-gage.symbian.install": [
892
- "n-gage"
893
- ],
894
- "application/vnd.nokia.radio-preset": [
895
- "rpst"
896
- ],
897
- "application/vnd.nokia.radio-presets": [
898
- "rpss"
899
- ],
900
- "application/vnd.novadigm.edm": [
901
- "edm"
902
- ],
903
- "application/vnd.novadigm.edx": [
904
- "edx"
905
- ],
906
- "application/vnd.novadigm.ext": [
907
- "ext"
908
- ],
909
- "application/vnd.oasis.opendocument.chart": [
910
- "odc"
911
- ],
912
- "application/vnd.oasis.opendocument.chart-template": [
913
- "otc"
914
- ],
915
- "application/vnd.oasis.opendocument.database": [
916
- "odb"
917
- ],
918
- "application/vnd.oasis.opendocument.formula": [
919
- "odf"
920
- ],
921
- "application/vnd.oasis.opendocument.formula-template": [
922
- "odft"
923
- ],
924
- "application/vnd.oasis.opendocument.graphics": [
925
- "odg"
926
- ],
927
- "application/vnd.oasis.opendocument.graphics-template": [
928
- "otg"
929
- ],
930
- "application/vnd.oasis.opendocument.image": [
931
- "odi"
932
- ],
933
- "application/vnd.oasis.opendocument.image-template": [
934
- "oti"
935
- ],
936
- "application/vnd.oasis.opendocument.presentation": [
937
- "odp"
938
- ],
939
- "application/vnd.oasis.opendocument.presentation-template": [
940
- "otp"
941
- ],
942
- "application/vnd.oasis.opendocument.spreadsheet": [
943
- "ods"
944
- ],
945
- "application/vnd.oasis.opendocument.spreadsheet-template": [
946
- "ots"
947
- ],
948
- "application/vnd.oasis.opendocument.text": [
949
- "odt"
950
- ],
951
- "application/vnd.oasis.opendocument.text-master": [
952
- "odm"
953
- ],
954
- "application/vnd.oasis.opendocument.text-template": [
955
- "ott"
956
- ],
957
- "application/vnd.oasis.opendocument.text-web": [
958
- "oth"
959
- ],
960
- "application/vnd.olpc-sugar": [
961
- "xo"
962
- ],
963
- "application/vnd.oma.dd2+xml": [
964
- "dd2"
965
- ],
966
- "application/vnd.openblox.game+xml": [
967
- "obgx"
968
- ],
969
- "application/vnd.openofficeorg.extension": [
970
- "oxt"
971
- ],
972
- "application/vnd.openstreetmap.data+xml": [
973
- "osm"
974
- ],
975
- "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
976
- "pptx"
977
- ],
978
- "application/vnd.openxmlformats-officedocument.presentationml.slide": [
979
- "sldx"
980
- ],
981
- "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
982
- "ppsx"
983
- ],
984
- "application/vnd.openxmlformats-officedocument.presentationml.template": [
985
- "potx"
986
- ],
987
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [
988
- "xlsx"
989
- ],
990
- "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
991
- "xltx"
992
- ],
993
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
994
- "docx"
995
- ],
996
- "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
997
- "dotx"
998
- ],
999
- "application/vnd.osgeo.mapguide.package": [
1000
- "mgp"
1001
- ],
1002
- "application/vnd.osgi.dp": [
1003
- "dp"
1004
- ],
1005
- "application/vnd.osgi.subsystem": [
1006
- "esa"
1007
- ],
1008
- "application/vnd.palm": [
1009
- "pdb",
1010
- "pqa",
1011
- "oprc"
1012
- ],
1013
- "application/vnd.pawaafile": [
1014
- "paw"
1015
- ],
1016
- "application/vnd.pg.format": [
1017
- "str"
1018
- ],
1019
- "application/vnd.pg.osasli": [
1020
- "ei6"
1021
- ],
1022
- "application/vnd.picsel": [
1023
- "efif"
1024
- ],
1025
- "application/vnd.pmi.widget": [
1026
- "wg"
1027
- ],
1028
- "application/vnd.pocketlearn": [
1029
- "plf"
1030
- ],
1031
- "application/vnd.powerbuilder6": [
1032
- "pbd"
1033
- ],
1034
- "application/vnd.previewsystems.box": [
1035
- "box"
1036
- ],
1037
- "application/vnd.proteus.magazine": [
1038
- "mgz"
1039
- ],
1040
- "application/vnd.publishare-delta-tree": [
1041
- "qps"
1042
- ],
1043
- "application/vnd.pvi.ptid1": [
1044
- "ptid"
1045
- ],
1046
- "application/vnd.pwg-xhtml-print+xml": [
1047
- "xhtm"
1048
- ],
1049
- "application/vnd.quark.quarkxpress": [
1050
- "qxd",
1051
- "qxt",
1052
- "qwd",
1053
- "qwt",
1054
- "qxl",
1055
- "qxb"
1056
- ],
1057
- "application/vnd.rar": [
1058
- "rar"
1059
- ],
1060
- "application/vnd.realvnc.bed": [
1061
- "bed"
1062
- ],
1063
- "application/vnd.recordare.musicxml": [
1064
- "mxl"
1065
- ],
1066
- "application/vnd.recordare.musicxml+xml": [
1067
- "musicxml"
1068
- ],
1069
- "application/vnd.rig.cryptonote": [
1070
- "cryptonote"
1071
- ],
1072
- "application/vnd.rim.cod": [
1073
- "cod"
1074
- ],
1075
- "application/vnd.rn-realmedia": [
1076
- "rm"
1077
- ],
1078
- "application/vnd.rn-realmedia-vbr": [
1079
- "rmvb"
1080
- ],
1081
- "application/vnd.route66.link66+xml": [
1082
- "link66"
1083
- ],
1084
- "application/vnd.sailingtracker.track": [
1085
- "st"
1086
- ],
1087
- "application/vnd.seemail": [
1088
- "see"
1089
- ],
1090
- "application/vnd.sema": [
1091
- "sema"
1092
- ],
1093
- "application/vnd.semd": [
1094
- "semd"
1095
- ],
1096
- "application/vnd.semf": [
1097
- "semf"
1098
- ],
1099
- "application/vnd.shana.informed.formdata": [
1100
- "ifm"
1101
- ],
1102
- "application/vnd.shana.informed.formtemplate": [
1103
- "itp"
1104
- ],
1105
- "application/vnd.shana.informed.interchange": [
1106
- "iif"
1107
- ],
1108
- "application/vnd.shana.informed.package": [
1109
- "ipk"
1110
- ],
1111
- "application/vnd.simtech-mindmapper": [
1112
- "twd",
1113
- "twds"
1114
- ],
1115
- "application/vnd.smaf": [
1116
- "mmf"
1117
- ],
1118
- "application/vnd.smart.teacher": [
1119
- "teacher"
1120
- ],
1121
- "application/vnd.software602.filler.form+xml": [
1122
- "fo"
1123
- ],
1124
- "application/vnd.solent.sdkm+xml": [
1125
- "sdkm",
1126
- "sdkd"
1127
- ],
1128
- "application/vnd.spotfire.dxp": [
1129
- "dxp"
1130
- ],
1131
- "application/vnd.spotfire.sfs": [
1132
- "sfs"
1133
- ],
1134
- "application/vnd.stardivision.calc": [
1135
- "sdc"
1136
- ],
1137
- "application/vnd.stardivision.draw": [
1138
- "sda"
1139
- ],
1140
- "application/vnd.stardivision.impress": [
1141
- "sdd"
1142
- ],
1143
- "application/vnd.stardivision.math": [
1144
- "smf"
1145
- ],
1146
- "application/vnd.stardivision.writer": [
1147
- "sdw",
1148
- "vor"
1149
- ],
1150
- "application/vnd.stardivision.writer-global": [
1151
- "sgl"
1152
- ],
1153
- "application/vnd.stepmania.package": [
1154
- "smzip"
1155
- ],
1156
- "application/vnd.stepmania.stepchart": [
1157
- "sm"
1158
- ],
1159
- "application/vnd.sun.wadl+xml": [
1160
- "wadl"
1161
- ],
1162
- "application/vnd.sun.xml.calc": [
1163
- "sxc"
1164
- ],
1165
- "application/vnd.sun.xml.calc.template": [
1166
- "stc"
1167
- ],
1168
- "application/vnd.sun.xml.draw": [
1169
- "sxd"
1170
- ],
1171
- "application/vnd.sun.xml.draw.template": [
1172
- "std"
1173
- ],
1174
- "application/vnd.sun.xml.impress": [
1175
- "sxi"
1176
- ],
1177
- "application/vnd.sun.xml.impress.template": [
1178
- "sti"
1179
- ],
1180
- "application/vnd.sun.xml.math": [
1181
- "sxm"
1182
- ],
1183
- "application/vnd.sun.xml.writer": [
1184
- "sxw"
1185
- ],
1186
- "application/vnd.sun.xml.writer.global": [
1187
- "sxg"
1188
- ],
1189
- "application/vnd.sun.xml.writer.template": [
1190
- "stw"
1191
- ],
1192
- "application/vnd.sus-calendar": [
1193
- "sus",
1194
- "susp"
1195
- ],
1196
- "application/vnd.svd": [
1197
- "svd"
1198
- ],
1199
- "application/vnd.symbian.install": [
1200
- "sis",
1201
- "sisx"
1202
- ],
1203
- "application/vnd.syncml+xml": [
1204
- "xsm"
1205
- ],
1206
- "application/vnd.syncml.dm+wbxml": [
1207
- "bdm"
1208
- ],
1209
- "application/vnd.syncml.dm+xml": [
1210
- "xdm"
1211
- ],
1212
- "application/vnd.syncml.dmddf+xml": [
1213
- "ddf"
1214
- ],
1215
- "application/vnd.tao.intent-module-archive": [
1216
- "tao"
1217
- ],
1218
- "application/vnd.tcpdump.pcap": [
1219
- "pcap",
1220
- "cap",
1221
- "dmp"
1222
- ],
1223
- "application/vnd.tmobile-livetv": [
1224
- "tmo"
1225
- ],
1226
- "application/vnd.trid.tpt": [
1227
- "tpt"
1228
- ],
1229
- "application/vnd.triscape.mxs": [
1230
- "mxs"
1231
- ],
1232
- "application/vnd.trueapp": [
1233
- "tra"
1234
- ],
1235
- "application/vnd.ufdl": [
1236
- "ufd",
1237
- "ufdl"
1238
- ],
1239
- "application/vnd.uiq.theme": [
1240
- "utz"
1241
- ],
1242
- "application/vnd.umajin": [
1243
- "umj"
1244
- ],
1245
- "application/vnd.unity": [
1246
- "unityweb"
1247
- ],
1248
- "application/vnd.uoml+xml": [
1249
- "uoml",
1250
- "uo"
1251
- ],
1252
- "application/vnd.vcx": [
1253
- "vcx"
1254
- ],
1255
- "application/vnd.visio": [
1256
- "vsd",
1257
- "vst",
1258
- "vss",
1259
- "vsw"
1260
- ],
1261
- "application/vnd.visionary": [
1262
- "vis"
1263
- ],
1264
- "application/vnd.vsf": [
1265
- "vsf"
1266
- ],
1267
- "application/vnd.wap.wbxml": [
1268
- "wbxml"
1269
- ],
1270
- "application/vnd.wap.wmlc": [
1271
- "wmlc"
1272
- ],
1273
- "application/vnd.wap.wmlscriptc": [
1274
- "wmlsc"
1275
- ],
1276
- "application/vnd.webturbo": [
1277
- "wtb"
1278
- ],
1279
- "application/vnd.wolfram.player": [
1280
- "nbp"
1281
- ],
1282
- "application/vnd.wordperfect": [
1283
- "wpd"
1284
- ],
1285
- "application/vnd.wqd": [
1286
- "wqd"
1287
- ],
1288
- "application/vnd.wt.stf": [
1289
- "stf"
1290
- ],
1291
- "application/vnd.xara": [
1292
- "xar"
1293
- ],
1294
- "application/vnd.xfdl": [
1295
- "xfdl"
1296
- ],
1297
- "application/vnd.yamaha.hv-dic": [
1298
- "hvd"
1299
- ],
1300
- "application/vnd.yamaha.hv-script": [
1301
- "hvs"
1302
- ],
1303
- "application/vnd.yamaha.hv-voice": [
1304
- "hvp"
1305
- ],
1306
- "application/vnd.yamaha.openscoreformat": [
1307
- "osf"
1308
- ],
1309
- "application/vnd.yamaha.openscoreformat.osfpvg+xml": [
1310
- "osfpvg"
1311
- ],
1312
- "application/vnd.yamaha.smaf-audio": [
1313
- "saf"
1314
- ],
1315
- "application/vnd.yamaha.smaf-phrase": [
1316
- "spf"
1317
- ],
1318
- "application/vnd.yellowriver-custom-menu": [
1319
- "cmp"
1320
- ],
1321
- "application/vnd.zul": [
1322
- "zir",
1323
- "zirz"
1324
- ],
1325
- "application/vnd.zzazz.deck+xml": [
1326
- "zaz"
1327
- ],
1328
- "application/x-7z-compressed": [
1329
- "7z"
1330
- ],
1331
- "application/x-abiword": [
1332
- "abw"
1333
- ],
1334
- "application/x-ace-compressed": [
1335
- "ace"
1336
- ],
1337
- "application/x-apple-diskimage": [
1338
- "*dmg"
1339
- ],
1340
- "application/x-arj": [
1341
- "arj"
1342
- ],
1343
- "application/x-authorware-bin": [
1344
- "aab",
1345
- "x32",
1346
- "u32",
1347
- "vox"
1348
- ],
1349
- "application/x-authorware-map": [
1350
- "aam"
1351
- ],
1352
- "application/x-authorware-seg": [
1353
- "aas"
1354
- ],
1355
- "application/x-bcpio": [
1356
- "bcpio"
1357
- ],
1358
- "application/x-bdoc": [
1359
- "*bdoc"
1360
- ],
1361
- "application/x-bittorrent": [
1362
- "torrent"
1363
- ],
1364
- "application/x-blorb": [
1365
- "blb",
1366
- "blorb"
1367
- ],
1368
- "application/x-bzip": [
1369
- "bz"
1370
- ],
1371
- "application/x-bzip2": [
1372
- "bz2",
1373
- "boz"
1374
- ],
1375
- "application/x-cbr": [
1376
- "cbr",
1377
- "cba",
1378
- "cbt",
1379
- "cbz",
1380
- "cb7"
1381
- ],
1382
- "application/x-cdlink": [
1383
- "vcd"
1384
- ],
1385
- "application/x-cfs-compressed": [
1386
- "cfs"
1387
- ],
1388
- "application/x-chat": [
1389
- "chat"
1390
- ],
1391
- "application/x-chess-pgn": [
1392
- "pgn"
1393
- ],
1394
- "application/x-chrome-extension": [
1395
- "crx"
1396
- ],
1397
- "application/x-cocoa": [
1398
- "cco"
1399
- ],
1400
- "application/x-conference": [
1401
- "nsc"
1402
- ],
1403
- "application/x-cpio": [
1404
- "cpio"
1405
- ],
1406
- "application/x-csh": [
1407
- "csh"
1408
- ],
1409
- "application/x-debian-package": [
1410
- "*deb",
1411
- "udeb"
1412
- ],
1413
- "application/x-dgc-compressed": [
1414
- "dgc"
1415
- ],
1416
- "application/x-director": [
1417
- "dir",
1418
- "dcr",
1419
- "dxr",
1420
- "cst",
1421
- "cct",
1422
- "cxt",
1423
- "w3d",
1424
- "fgd",
1425
- "swa"
1426
- ],
1427
- "application/x-doom": [
1428
- "wad"
1429
- ],
1430
- "application/x-dtbncx+xml": [
1431
- "ncx"
1432
- ],
1433
- "application/x-dtbook+xml": [
1434
- "dtb"
1435
- ],
1436
- "application/x-dtbresource+xml": [
1437
- "res"
1438
- ],
1439
- "application/x-dvi": [
1440
- "dvi"
1441
- ],
1442
- "application/x-envoy": [
1443
- "evy"
1444
- ],
1445
- "application/x-eva": [
1446
- "eva"
1447
- ],
1448
- "application/x-font-bdf": [
1449
- "bdf"
1450
- ],
1451
- "application/x-font-ghostscript": [
1452
- "gsf"
1453
- ],
1454
- "application/x-font-linux-psf": [
1455
- "psf"
1456
- ],
1457
- "application/x-font-pcf": [
1458
- "pcf"
1459
- ],
1460
- "application/x-font-snf": [
1461
- "snf"
1462
- ],
1463
- "application/x-font-type1": [
1464
- "pfa",
1465
- "pfb",
1466
- "pfm",
1467
- "afm"
1468
- ],
1469
- "application/x-freearc": [
1470
- "arc"
1471
- ],
1472
- "application/x-futuresplash": [
1473
- "spl"
1474
- ],
1475
- "application/x-gca-compressed": [
1476
- "gca"
1477
- ],
1478
- "application/x-glulx": [
1479
- "ulx"
1480
- ],
1481
- "application/x-gnumeric": [
1482
- "gnumeric"
1483
- ],
1484
- "application/x-gramps-xml": [
1485
- "gramps"
1486
- ],
1487
- "application/x-gtar": [
1488
- "gtar"
1489
- ],
1490
- "application/x-hdf": [
1491
- "hdf"
1492
- ],
1493
- "application/x-httpd-php": [
1494
- "php"
1495
- ],
1496
- "application/x-install-instructions": [
1497
- "install"
1498
- ],
1499
- "application/x-iso9660-image": [
1500
- "*iso"
1501
- ],
1502
- "application/x-iwork-keynote-sffkey": [
1503
- "*key"
1504
- ],
1505
- "application/x-iwork-numbers-sffnumbers": [
1506
- "*numbers"
1507
- ],
1508
- "application/x-iwork-pages-sffpages": [
1509
- "*pages"
1510
- ],
1511
- "application/x-java-archive-diff": [
1512
- "jardiff"
1513
- ],
1514
- "application/x-java-jnlp-file": [
1515
- "jnlp"
1516
- ],
1517
- "application/x-keepass2": [
1518
- "kdbx"
1519
- ],
1520
- "application/x-latex": [
1521
- "latex"
1522
- ],
1523
- "application/x-lua-bytecode": [
1524
- "luac"
1525
- ],
1526
- "application/x-lzh-compressed": [
1527
- "lzh",
1528
- "lha"
1529
- ],
1530
- "application/x-makeself": [
1531
- "run"
1532
- ],
1533
- "application/x-mie": [
1534
- "mie"
1535
- ],
1536
- "application/x-mobipocket-ebook": [
1537
- "*prc",
1538
- "mobi"
1539
- ],
1540
- "application/x-ms-application": [
1541
- "application"
1542
- ],
1543
- "application/x-ms-shortcut": [
1544
- "lnk"
1545
- ],
1546
- "application/x-ms-wmd": [
1547
- "wmd"
1548
- ],
1549
- "application/x-ms-wmz": [
1550
- "wmz"
1551
- ],
1552
- "application/x-ms-xbap": [
1553
- "xbap"
1554
- ],
1555
- "application/x-msaccess": [
1556
- "mdb"
1557
- ],
1558
- "application/x-msbinder": [
1559
- "obd"
1560
- ],
1561
- "application/x-mscardfile": [
1562
- "crd"
1563
- ],
1564
- "application/x-msclip": [
1565
- "clp"
1566
- ],
1567
- "application/x-msdos-program": [
1568
- "*exe"
1569
- ],
1570
- "application/x-msdownload": [
1571
- "*exe",
1572
- "*dll",
1573
- "com",
1574
- "bat",
1575
- "*msi"
1576
- ],
1577
- "application/x-msmediaview": [
1578
- "mvb",
1579
- "m13",
1580
- "m14"
1581
- ],
1582
- "application/x-msmetafile": [
1583
- "*wmf",
1584
- "*wmz",
1585
- "*emf",
1586
- "emz"
1587
- ],
1588
- "application/x-msmoney": [
1589
- "mny"
1590
- ],
1591
- "application/x-mspublisher": [
1592
- "pub"
1593
- ],
1594
- "application/x-msschedule": [
1595
- "scd"
1596
- ],
1597
- "application/x-msterminal": [
1598
- "trm"
1599
- ],
1600
- "application/x-mswrite": [
1601
- "wri"
1602
- ],
1603
- "application/x-netcdf": [
1604
- "nc",
1605
- "cdf"
1606
- ],
1607
- "application/x-ns-proxy-autoconfig": [
1608
- "pac"
1609
- ],
1610
- "application/x-nzb": [
1611
- "nzb"
1612
- ],
1613
- "application/x-perl": [
1614
- "pl",
1615
- "pm"
1616
- ],
1617
- "application/x-pilot": [
1618
- "*prc",
1619
- "*pdb"
1620
- ],
1621
- "application/x-pkcs12": [
1622
- "p12",
1623
- "pfx"
1624
- ],
1625
- "application/x-pkcs7-certificates": [
1626
- "p7b",
1627
- "spc"
1628
- ],
1629
- "application/x-pkcs7-certreqresp": [
1630
- "p7r"
1631
- ],
1632
- "application/x-rar-compressed": [
1633
- "*rar"
1634
- ],
1635
- "application/x-redhat-package-manager": [
1636
- "rpm"
1637
- ],
1638
- "application/x-research-info-systems": [
1639
- "ris"
1640
- ],
1641
- "application/x-sea": [
1642
- "sea"
1643
- ],
1644
- "application/x-sh": [
1645
- "sh"
1646
- ],
1647
- "application/x-shar": [
1648
- "shar"
1649
- ],
1650
- "application/x-shockwave-flash": [
1651
- "swf"
1652
- ],
1653
- "application/x-silverlight-app": [
1654
- "xap"
1655
- ],
1656
- "application/x-sql": [
1657
- "*sql"
1658
- ],
1659
- "application/x-stuffit": [
1660
- "sit"
1661
- ],
1662
- "application/x-stuffitx": [
1663
- "sitx"
1664
- ],
1665
- "application/x-subrip": [
1666
- "srt"
1667
- ],
1668
- "application/x-sv4cpio": [
1669
- "sv4cpio"
1670
- ],
1671
- "application/x-sv4crc": [
1672
- "sv4crc"
1673
- ],
1674
- "application/x-t3vm-image": [
1675
- "t3"
1676
- ],
1677
- "application/x-tads": [
1678
- "gam"
1679
- ],
1680
- "application/x-tar": [
1681
- "tar"
1682
- ],
1683
- "application/x-tcl": [
1684
- "tcl",
1685
- "tk"
1686
- ],
1687
- "application/x-tex": [
1688
- "tex"
1689
- ],
1690
- "application/x-tex-tfm": [
1691
- "tfm"
1692
- ],
1693
- "application/x-texinfo": [
1694
- "texinfo",
1695
- "texi"
1696
- ],
1697
- "application/x-tgif": [
1698
- "*obj"
1699
- ],
1700
- "application/x-ustar": [
1701
- "ustar"
1702
- ],
1703
- "application/x-virtualbox-hdd": [
1704
- "hdd"
1705
- ],
1706
- "application/x-virtualbox-ova": [
1707
- "ova"
1708
- ],
1709
- "application/x-virtualbox-ovf": [
1710
- "ovf"
1711
- ],
1712
- "application/x-virtualbox-vbox": [
1713
- "vbox"
1714
- ],
1715
- "application/x-virtualbox-vbox-extpack": [
1716
- "vbox-extpack"
1717
- ],
1718
- "application/x-virtualbox-vdi": [
1719
- "vdi"
1720
- ],
1721
- "application/x-virtualbox-vhd": [
1722
- "vhd"
1723
- ],
1724
- "application/x-virtualbox-vmdk": [
1725
- "vmdk"
1726
- ],
1727
- "application/x-wais-source": [
1728
- "src"
1729
- ],
1730
- "application/x-web-app-manifest+json": [
1731
- "webapp"
1732
- ],
1733
- "application/x-x509-ca-cert": [
1734
- "der",
1735
- "crt",
1736
- "pem"
1737
- ],
1738
- "application/x-xfig": [
1739
- "fig"
1740
- ],
1741
- "application/x-xliff+xml": [
1742
- "*xlf"
1743
- ],
1744
- "application/x-xpinstall": [
1745
- "xpi"
1746
- ],
1747
- "application/x-xz": [
1748
- "xz"
1749
- ],
1750
- "application/x-zmachine": [
1751
- "z1",
1752
- "z2",
1753
- "z3",
1754
- "z4",
1755
- "z5",
1756
- "z6",
1757
- "z7",
1758
- "z8"
1759
- ],
1760
- "audio/vnd.dece.audio": [
1761
- "uva",
1762
- "uvva"
1763
- ],
1764
- "audio/vnd.digital-winds": [
1765
- "eol"
1766
- ],
1767
- "audio/vnd.dra": [
1768
- "dra"
1769
- ],
1770
- "audio/vnd.dts": [
1771
- "dts"
1772
- ],
1773
- "audio/vnd.dts.hd": [
1774
- "dtshd"
1775
- ],
1776
- "audio/vnd.lucent.voice": [
1777
- "lvp"
1778
- ],
1779
- "audio/vnd.ms-playready.media.pya": [
1780
- "pya"
1781
- ],
1782
- "audio/vnd.nuera.ecelp4800": [
1783
- "ecelp4800"
1784
- ],
1785
- "audio/vnd.nuera.ecelp7470": [
1786
- "ecelp7470"
1787
- ],
1788
- "audio/vnd.nuera.ecelp9600": [
1789
- "ecelp9600"
1790
- ],
1791
- "audio/vnd.rip": [
1792
- "rip"
1793
- ],
1794
- "audio/x-aac": [
1795
- "*aac"
1796
- ],
1797
- "audio/x-aiff": [
1798
- "aif",
1799
- "aiff",
1800
- "aifc"
1801
- ],
1802
- "audio/x-caf": [
1803
- "caf"
1804
- ],
1805
- "audio/x-flac": [
1806
- "flac"
1807
- ],
1808
- "audio/x-m4a": [
1809
- "*m4a"
1810
- ],
1811
- "audio/x-matroska": [
1812
- "mka"
1813
- ],
1814
- "audio/x-mpegurl": [
1815
- "m3u"
1816
- ],
1817
- "audio/x-ms-wax": [
1818
- "wax"
1819
- ],
1820
- "audio/x-ms-wma": [
1821
- "wma"
1822
- ],
1823
- "audio/x-pn-realaudio": [
1824
- "ram",
1825
- "ra"
1826
- ],
1827
- "audio/x-pn-realaudio-plugin": [
1828
- "rmp"
1829
- ],
1830
- "audio/x-realaudio": [
1831
- "*ra"
1832
- ],
1833
- "audio/x-wav": [
1834
- "*wav"
1835
- ],
1836
- "chemical/x-cdx": [
1837
- "cdx"
1838
- ],
1839
- "chemical/x-cif": [
1840
- "cif"
1841
- ],
1842
- "chemical/x-cmdf": [
1843
- "cmdf"
1844
- ],
1845
- "chemical/x-cml": [
1846
- "cml"
1847
- ],
1848
- "chemical/x-csml": [
1849
- "csml"
1850
- ],
1851
- "chemical/x-xyz": [
1852
- "xyz"
1853
- ],
1854
- "image/prs.btif": [
1855
- "btif",
1856
- "btf"
1857
- ],
1858
- "image/prs.pti": [
1859
- "pti"
1860
- ],
1861
- "image/vnd.adobe.photoshop": [
1862
- "psd"
1863
- ],
1864
- "image/vnd.airzip.accelerator.azv": [
1865
- "azv"
1866
- ],
1867
- "image/vnd.dece.graphic": [
1868
- "uvi",
1869
- "uvvi",
1870
- "uvg",
1871
- "uvvg"
1872
- ],
1873
- "image/vnd.djvu": [
1874
- "djvu",
1875
- "djv"
1876
- ],
1877
- "image/vnd.dvb.subtitle": [
1878
- "*sub"
1879
- ],
1880
- "image/vnd.dwg": [
1881
- "dwg"
1882
- ],
1883
- "image/vnd.dxf": [
1884
- "dxf"
1885
- ],
1886
- "image/vnd.fastbidsheet": [
1887
- "fbs"
1888
- ],
1889
- "image/vnd.fpx": [
1890
- "fpx"
1891
- ],
1892
- "image/vnd.fst": [
1893
- "fst"
1894
- ],
1895
- "image/vnd.fujixerox.edmics-mmr": [
1896
- "mmr"
1897
- ],
1898
- "image/vnd.fujixerox.edmics-rlc": [
1899
- "rlc"
1900
- ],
1901
- "image/vnd.microsoft.icon": [
1902
- "ico"
1903
- ],
1904
- "image/vnd.ms-dds": [
1905
- "dds"
1906
- ],
1907
- "image/vnd.ms-modi": [
1908
- "mdi"
1909
- ],
1910
- "image/vnd.ms-photo": [
1911
- "wdp"
1912
- ],
1913
- "image/vnd.net-fpx": [
1914
- "npx"
1915
- ],
1916
- "image/vnd.pco.b16": [
1917
- "b16"
1918
- ],
1919
- "image/vnd.tencent.tap": [
1920
- "tap"
1921
- ],
1922
- "image/vnd.valve.source.texture": [
1923
- "vtf"
1924
- ],
1925
- "image/vnd.wap.wbmp": [
1926
- "wbmp"
1927
- ],
1928
- "image/vnd.xiff": [
1929
- "xif"
1930
- ],
1931
- "image/vnd.zbrush.pcx": [
1932
- "pcx"
1933
- ],
1934
- "image/x-3ds": [
1935
- "3ds"
1936
- ],
1937
- "image/x-cmu-raster": [
1938
- "ras"
1939
- ],
1940
- "image/x-cmx": [
1941
- "cmx"
1942
- ],
1943
- "image/x-freehand": [
1944
- "fh",
1945
- "fhc",
1946
- "fh4",
1947
- "fh5",
1948
- "fh7"
1949
- ],
1950
- "image/x-icon": [
1951
- "*ico"
1952
- ],
1953
- "image/x-jng": [
1954
- "jng"
1955
- ],
1956
- "image/x-mrsid-image": [
1957
- "sid"
1958
- ],
1959
- "image/x-ms-bmp": [
1960
- "*bmp"
1961
- ],
1962
- "image/x-pcx": [
1963
- "*pcx"
1964
- ],
1965
- "image/x-pict": [
1966
- "pic",
1967
- "pct"
1968
- ],
1969
- "image/x-portable-anymap": [
1970
- "pnm"
1971
- ],
1972
- "image/x-portable-bitmap": [
1973
- "pbm"
1974
- ],
1975
- "image/x-portable-graymap": [
1976
- "pgm"
1977
- ],
1978
- "image/x-portable-pixmap": [
1979
- "ppm"
1980
- ],
1981
- "image/x-rgb": [
1982
- "rgb"
1983
- ],
1984
- "image/x-tga": [
1985
- "tga"
1986
- ],
1987
- "image/x-xbitmap": [
1988
- "xbm"
1989
- ],
1990
- "image/x-xpixmap": [
1991
- "xpm"
1992
- ],
1993
- "image/x-xwindowdump": [
1994
- "xwd"
1995
- ],
1996
- "message/vnd.wfa.wsc": [
1997
- "wsc"
1998
- ],
1999
- "model/vnd.cld": [
2000
- "cld"
2001
- ],
2002
- "model/vnd.collada+xml": [
2003
- "dae"
2004
- ],
2005
- "model/vnd.dwf": [
2006
- "dwf"
2007
- ],
2008
- "model/vnd.gdl": [
2009
- "gdl"
2010
- ],
2011
- "model/vnd.gtw": [
2012
- "gtw"
2013
- ],
2014
- "model/vnd.mts": [
2015
- "mts"
2016
- ],
2017
- "model/vnd.opengex": [
2018
- "ogex"
2019
- ],
2020
- "model/vnd.parasolid.transmit.binary": [
2021
- "x_b"
2022
- ],
2023
- "model/vnd.parasolid.transmit.text": [
2024
- "x_t"
2025
- ],
2026
- "model/vnd.pytha.pyox": [
2027
- "pyo",
2028
- "pyox"
2029
- ],
2030
- "model/vnd.sap.vds": [
2031
- "vds"
2032
- ],
2033
- "model/vnd.usda": [
2034
- "usda"
2035
- ],
2036
- "model/vnd.usdz+zip": [
2037
- "usdz"
2038
- ],
2039
- "model/vnd.valve.source.compiled-map": [
2040
- "bsp"
2041
- ],
2042
- "model/vnd.vtu": [
2043
- "vtu"
2044
- ],
2045
- "text/prs.lines.tag": [
2046
- "dsc"
2047
- ],
2048
- "text/vnd.curl": [
2049
- "curl"
2050
- ],
2051
- "text/vnd.curl.dcurl": [
2052
- "dcurl"
2053
- ],
2054
- "text/vnd.curl.mcurl": [
2055
- "mcurl"
2056
- ],
2057
- "text/vnd.curl.scurl": [
2058
- "scurl"
2059
- ],
2060
- "text/vnd.dvb.subtitle": [
2061
- "sub"
2062
- ],
2063
- "text/vnd.familysearch.gedcom": [
2064
- "ged"
2065
- ],
2066
- "text/vnd.fly": [
2067
- "fly"
2068
- ],
2069
- "text/vnd.fmi.flexstor": [
2070
- "flx"
2071
- ],
2072
- "text/vnd.graphviz": [
2073
- "gv"
2074
- ],
2075
- "text/vnd.in3d.3dml": [
2076
- "3dml"
2077
- ],
2078
- "text/vnd.in3d.spot": [
2079
- "spot"
2080
- ],
2081
- "text/vnd.sun.j2me.app-descriptor": [
2082
- "jad"
2083
- ],
2084
- "text/vnd.wap.wml": [
2085
- "wml"
2086
- ],
2087
- "text/vnd.wap.wmlscript": [
2088
- "wmls"
2089
- ],
2090
- "text/x-asm": [
2091
- "s",
2092
- "asm"
2093
- ],
2094
- "text/x-c": [
2095
- "c",
2096
- "cc",
2097
- "cxx",
2098
- "cpp",
2099
- "h",
2100
- "hh",
2101
- "dic"
2102
- ],
2103
- "text/x-component": [
2104
- "htc"
2105
- ],
2106
- "text/x-fortran": [
2107
- "f",
2108
- "for",
2109
- "f77",
2110
- "f90"
2111
- ],
2112
- "text/x-handlebars-template": [
2113
- "hbs"
2114
- ],
2115
- "text/x-java-source": [
2116
- "java"
2117
- ],
2118
- "text/x-lua": [
2119
- "lua"
2120
- ],
2121
- "text/x-markdown": [
2122
- "mkd"
2123
- ],
2124
- "text/x-nfo": [
2125
- "nfo"
2126
- ],
2127
- "text/x-opml": [
2128
- "opml"
2129
- ],
2130
- "text/x-org": [
2131
- "*org"
2132
- ],
2133
- "text/x-pascal": [
2134
- "p",
2135
- "pas"
2136
- ],
2137
- "text/x-processing": [
2138
- "pde"
2139
- ],
2140
- "text/x-sass": [
2141
- "sass"
2142
- ],
2143
- "text/x-scss": [
2144
- "scss"
2145
- ],
2146
- "text/x-setext": [
2147
- "etx"
2148
- ],
2149
- "text/x-sfv": [
2150
- "sfv"
2151
- ],
2152
- "text/x-suse-ymp": [
2153
- "ymp"
2154
- ],
2155
- "text/x-uuencode": [
2156
- "uu"
2157
- ],
2158
- "text/x-vcalendar": [
2159
- "vcs"
2160
- ],
2161
- "text/x-vcard": [
2162
- "vcf"
2163
- ],
2164
- "video/vnd.dece.hd": [
2165
- "uvh",
2166
- "uvvh"
2167
- ],
2168
- "video/vnd.dece.mobile": [
2169
- "uvm",
2170
- "uvvm"
2171
- ],
2172
- "video/vnd.dece.pd": [
2173
- "uvp",
2174
- "uvvp"
2175
- ],
2176
- "video/vnd.dece.sd": [
2177
- "uvs",
2178
- "uvvs"
2179
- ],
2180
- "video/vnd.dece.video": [
2181
- "uvv",
2182
- "uvvv"
2183
- ],
2184
- "video/vnd.dvb.file": [
2185
- "dvb"
2186
- ],
2187
- "video/vnd.fvt": [
2188
- "fvt"
2189
- ],
2190
- "video/vnd.mpegurl": [
2191
- "mxu",
2192
- "m4u"
2193
- ],
2194
- "video/vnd.ms-playready.media.pyv": [
2195
- "pyv"
2196
- ],
2197
- "video/vnd.uvvu.mp4": [
2198
- "uvu",
2199
- "uvvu"
2200
- ],
2201
- "video/vnd.vivo": [
2202
- "viv"
2203
- ],
2204
- "video/x-f4v": [
2205
- "f4v"
2206
- ],
2207
- "video/x-fli": [
2208
- "fli"
2209
- ],
2210
- "video/x-flv": [
2211
- "flv"
2212
- ],
2213
- "video/x-m4v": [
2214
- "m4v"
2215
- ],
2216
- "video/x-matroska": [
2217
- "mkv",
2218
- "mk3d",
2219
- "mks"
2220
- ],
2221
- "video/x-mng": [
2222
- "mng"
2223
- ],
2224
- "video/x-ms-asf": [
2225
- "asf",
2226
- "asx"
2227
- ],
2228
- "video/x-ms-vob": [
2229
- "vob"
2230
- ],
2231
- "video/x-ms-wm": [
2232
- "wm"
2233
- ],
2234
- "video/x-ms-wmv": [
2235
- "wmv"
2236
- ],
2237
- "video/x-ms-wmx": [
2238
- "wmx"
2239
- ],
2240
- "video/x-ms-wvx": [
2241
- "wvx"
2242
- ],
2243
- "video/x-msvideo": [
2244
- "avi"
2245
- ],
2246
- "video/x-sgi-movie": [
2247
- "movie"
2248
- ],
2249
- "video/x-smv": [
2250
- "smv"
2251
- ],
2252
- "x-conference/x-cooltalk": [
2253
- "ice"
2254
- ]
66
+ },
67
+ async getBundles(options) {
68
+ const { where, limit, offset = 0 } = options ?? {};
69
+ let query = supabase.from("bundles").select("*").order("id", { ascending: false });
70
+ if (where?.channel) {
71
+ query = query.eq("channel", where.channel);
72
+ }
73
+ if (where?.platform) {
74
+ query = query.eq("platform", where.platform);
75
+ }
76
+ if (limit) {
77
+ query = query.limit(limit);
78
+ }
79
+ if (offset) {
80
+ query = query.range(offset, offset + (limit || 20) - 1);
81
+ }
82
+ const { data } = await query;
83
+ if (!data) {
84
+ return [];
85
+ }
86
+ return data.map((bundle) => ({
87
+ channel: bundle.channel,
88
+ enabled: bundle.enabled,
89
+ shouldForceUpdate: bundle.should_force_update,
90
+ fileHash: bundle.file_hash,
91
+ gitCommitHash: bundle.git_commit_hash,
92
+ id: bundle.id,
93
+ message: bundle.message,
94
+ platform: bundle.platform,
95
+ targetAppVersion: bundle.target_app_version
96
+ }));
97
+ },
98
+ async getChannels() {
99
+ const { data, error } = await supabase.rpc("get_channels");
100
+ if (error) {
101
+ throw error;
102
+ }
103
+ return data.map((bundle) => bundle.channel);
104
+ },
105
+ async commitBundle({ changedSets }) {
106
+ if (changedSets.length === 0) {
107
+ return;
108
+ }
109
+ const bundles = changedSets.map((op) => op.data);
110
+ const { error } = await supabase.from("bundles").upsert(
111
+ bundles.map((bundle) => ({
112
+ id: bundle.id,
113
+ channel: bundle.channel,
114
+ enabled: bundle.enabled,
115
+ should_force_update: bundle.shouldForceUpdate,
116
+ file_hash: bundle.fileHash,
117
+ git_commit_hash: bundle.gitCommitHash,
118
+ message: bundle.message,
119
+ platform: bundle.platform,
120
+ target_app_version: bundle.targetAppVersion
121
+ })),
122
+ { onConflict: "id" }
123
+ );
124
+ if (error) {
125
+ throw error;
126
+ }
127
+ }
128
+ },
129
+ hooks
130
+ );
2255
131
  };
132
+
133
+ // src/supabaseStorage.ts
134
+ var import_path = __toESM(require("path"), 1);
135
+ var import_supabase_js2 = require("@supabase/supabase-js");
136
+ var import_promises = __toESM(require("fs/promises"), 1);
137
+
138
+ // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
139
+ var types = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
2256
140
  Object.freeze(types);
2257
- const other = types;
2258
- const standard_types = {
2259
- "application/andrew-inset": [
2260
- "ez"
2261
- ],
2262
- "application/appinstaller": [
2263
- "appinstaller"
2264
- ],
2265
- "application/applixware": [
2266
- "aw"
2267
- ],
2268
- "application/appx": [
2269
- "appx"
2270
- ],
2271
- "application/appxbundle": [
2272
- "appxbundle"
2273
- ],
2274
- "application/atom+xml": [
2275
- "atom"
2276
- ],
2277
- "application/atomcat+xml": [
2278
- "atomcat"
2279
- ],
2280
- "application/atomdeleted+xml": [
2281
- "atomdeleted"
2282
- ],
2283
- "application/atomsvc+xml": [
2284
- "atomsvc"
2285
- ],
2286
- "application/atsc-dwd+xml": [
2287
- "dwd"
2288
- ],
2289
- "application/atsc-held+xml": [
2290
- "held"
2291
- ],
2292
- "application/atsc-rsat+xml": [
2293
- "rsat"
2294
- ],
2295
- "application/automationml-aml+xml": [
2296
- "aml"
2297
- ],
2298
- "application/automationml-amlx+zip": [
2299
- "amlx"
2300
- ],
2301
- "application/bdoc": [
2302
- "bdoc"
2303
- ],
2304
- "application/calendar+xml": [
2305
- "xcs"
2306
- ],
2307
- "application/ccxml+xml": [
2308
- "ccxml"
2309
- ],
2310
- "application/cdfx+xml": [
2311
- "cdfx"
2312
- ],
2313
- "application/cdmi-capability": [
2314
- "cdmia"
2315
- ],
2316
- "application/cdmi-container": [
2317
- "cdmic"
2318
- ],
2319
- "application/cdmi-domain": [
2320
- "cdmid"
2321
- ],
2322
- "application/cdmi-object": [
2323
- "cdmio"
2324
- ],
2325
- "application/cdmi-queue": [
2326
- "cdmiq"
2327
- ],
2328
- "application/cpl+xml": [
2329
- "cpl"
2330
- ],
2331
- "application/cu-seeme": [
2332
- "cu"
2333
- ],
2334
- "application/cwl": [
2335
- "cwl"
2336
- ],
2337
- "application/dash+xml": [
2338
- "mpd"
2339
- ],
2340
- "application/dash-patch+xml": [
2341
- "mpp"
2342
- ],
2343
- "application/davmount+xml": [
2344
- "davmount"
2345
- ],
2346
- "application/docbook+xml": [
2347
- "dbk"
2348
- ],
2349
- "application/dssc+der": [
2350
- "dssc"
2351
- ],
2352
- "application/dssc+xml": [
2353
- "xdssc"
2354
- ],
2355
- "application/ecmascript": [
2356
- "ecma"
2357
- ],
2358
- "application/emma+xml": [
2359
- "emma"
2360
- ],
2361
- "application/emotionml+xml": [
2362
- "emotionml"
2363
- ],
2364
- "application/epub+zip": [
2365
- "epub"
2366
- ],
2367
- "application/exi": [
2368
- "exi"
2369
- ],
2370
- "application/express": [
2371
- "exp"
2372
- ],
2373
- "application/fdf": [
2374
- "fdf"
2375
- ],
2376
- "application/fdt+xml": [
2377
- "fdt"
2378
- ],
2379
- "application/font-tdpfr": [
2380
- "pfr"
2381
- ],
2382
- "application/geo+json": [
2383
- "geojson"
2384
- ],
2385
- "application/gml+xml": [
2386
- "gml"
2387
- ],
2388
- "application/gpx+xml": [
2389
- "gpx"
2390
- ],
2391
- "application/gxf": [
2392
- "gxf"
2393
- ],
2394
- "application/gzip": [
2395
- "gz"
2396
- ],
2397
- "application/hjson": [
2398
- "hjson"
2399
- ],
2400
- "application/hyperstudio": [
2401
- "stk"
2402
- ],
2403
- "application/inkml+xml": [
2404
- "ink",
2405
- "inkml"
2406
- ],
2407
- "application/ipfix": [
2408
- "ipfix"
2409
- ],
2410
- "application/its+xml": [
2411
- "its"
2412
- ],
2413
- "application/java-archive": [
2414
- "jar",
2415
- "war",
2416
- "ear"
2417
- ],
2418
- "application/java-serialized-object": [
2419
- "ser"
2420
- ],
2421
- "application/java-vm": [
2422
- "class"
2423
- ],
2424
- "application/javascript": [
2425
- "*js"
2426
- ],
2427
- "application/json": [
2428
- "json",
2429
- "map"
2430
- ],
2431
- "application/json5": [
2432
- "json5"
2433
- ],
2434
- "application/jsonml+json": [
2435
- "jsonml"
2436
- ],
2437
- "application/ld+json": [
2438
- "jsonld"
2439
- ],
2440
- "application/lgr+xml": [
2441
- "lgr"
2442
- ],
2443
- "application/lost+xml": [
2444
- "lostxml"
2445
- ],
2446
- "application/mac-binhex40": [
2447
- "hqx"
2448
- ],
2449
- "application/mac-compactpro": [
2450
- "cpt"
2451
- ],
2452
- "application/mads+xml": [
2453
- "mads"
2454
- ],
2455
- "application/manifest+json": [
2456
- "webmanifest"
2457
- ],
2458
- "application/marc": [
2459
- "mrc"
2460
- ],
2461
- "application/marcxml+xml": [
2462
- "mrcx"
2463
- ],
2464
- "application/mathematica": [
2465
- "ma",
2466
- "nb",
2467
- "mb"
2468
- ],
2469
- "application/mathml+xml": [
2470
- "mathml"
2471
- ],
2472
- "application/mbox": [
2473
- "mbox"
2474
- ],
2475
- "application/media-policy-dataset+xml": [
2476
- "mpf"
2477
- ],
2478
- "application/mediaservercontrol+xml": [
2479
- "mscml"
2480
- ],
2481
- "application/metalink+xml": [
2482
- "metalink"
2483
- ],
2484
- "application/metalink4+xml": [
2485
- "meta4"
2486
- ],
2487
- "application/mets+xml": [
2488
- "mets"
2489
- ],
2490
- "application/mmt-aei+xml": [
2491
- "maei"
2492
- ],
2493
- "application/mmt-usd+xml": [
2494
- "musd"
2495
- ],
2496
- "application/mods+xml": [
2497
- "mods"
2498
- ],
2499
- "application/mp21": [
2500
- "m21",
2501
- "mp21"
2502
- ],
2503
- "application/mp4": [
2504
- "*mp4",
2505
- "*mpg4",
2506
- "mp4s",
2507
- "m4p"
2508
- ],
2509
- "application/msix": [
2510
- "msix"
2511
- ],
2512
- "application/msixbundle": [
2513
- "msixbundle"
2514
- ],
2515
- "application/msword": [
2516
- "doc",
2517
- "dot"
2518
- ],
2519
- "application/mxf": [
2520
- "mxf"
2521
- ],
2522
- "application/n-quads": [
2523
- "nq"
2524
- ],
2525
- "application/n-triples": [
2526
- "nt"
2527
- ],
2528
- "application/node": [
2529
- "cjs"
2530
- ],
2531
- "application/octet-stream": [
2532
- "bin",
2533
- "dms",
2534
- "lrf",
2535
- "mar",
2536
- "so",
2537
- "dist",
2538
- "distz",
2539
- "pkg",
2540
- "bpk",
2541
- "dump",
2542
- "elc",
2543
- "deploy",
2544
- "exe",
2545
- "dll",
2546
- "deb",
2547
- "dmg",
2548
- "iso",
2549
- "img",
2550
- "msi",
2551
- "msp",
2552
- "msm",
2553
- "buffer"
2554
- ],
2555
- "application/oda": [
2556
- "oda"
2557
- ],
2558
- "application/oebps-package+xml": [
2559
- "opf"
2560
- ],
2561
- "application/ogg": [
2562
- "ogx"
2563
- ],
2564
- "application/omdoc+xml": [
2565
- "omdoc"
2566
- ],
2567
- "application/onenote": [
2568
- "onetoc",
2569
- "onetoc2",
2570
- "onetmp",
2571
- "onepkg"
2572
- ],
2573
- "application/oxps": [
2574
- "oxps"
2575
- ],
2576
- "application/p2p-overlay+xml": [
2577
- "relo"
2578
- ],
2579
- "application/patch-ops-error+xml": [
2580
- "xer"
2581
- ],
2582
- "application/pdf": [
2583
- "pdf"
2584
- ],
2585
- "application/pgp-encrypted": [
2586
- "pgp"
2587
- ],
2588
- "application/pgp-keys": [
2589
- "asc"
2590
- ],
2591
- "application/pgp-signature": [
2592
- "sig",
2593
- "*asc"
2594
- ],
2595
- "application/pics-rules": [
2596
- "prf"
2597
- ],
2598
- "application/pkcs10": [
2599
- "p10"
2600
- ],
2601
- "application/pkcs7-mime": [
2602
- "p7m",
2603
- "p7c"
2604
- ],
2605
- "application/pkcs7-signature": [
2606
- "p7s"
2607
- ],
2608
- "application/pkcs8": [
2609
- "p8"
2610
- ],
2611
- "application/pkix-attr-cert": [
2612
- "ac"
2613
- ],
2614
- "application/pkix-cert": [
2615
- "cer"
2616
- ],
2617
- "application/pkix-crl": [
2618
- "crl"
2619
- ],
2620
- "application/pkix-pkipath": [
2621
- "pkipath"
2622
- ],
2623
- "application/pkixcmp": [
2624
- "pki"
2625
- ],
2626
- "application/pls+xml": [
2627
- "pls"
2628
- ],
2629
- "application/postscript": [
2630
- "ai",
2631
- "eps",
2632
- "ps"
2633
- ],
2634
- "application/provenance+xml": [
2635
- "provx"
2636
- ],
2637
- "application/pskc+xml": [
2638
- "pskcxml"
2639
- ],
2640
- "application/raml+yaml": [
2641
- "raml"
2642
- ],
2643
- "application/rdf+xml": [
2644
- "rdf",
2645
- "owl"
2646
- ],
2647
- "application/reginfo+xml": [
2648
- "rif"
2649
- ],
2650
- "application/relax-ng-compact-syntax": [
2651
- "rnc"
2652
- ],
2653
- "application/resource-lists+xml": [
2654
- "rl"
2655
- ],
2656
- "application/resource-lists-diff+xml": [
2657
- "rld"
2658
- ],
2659
- "application/rls-services+xml": [
2660
- "rs"
2661
- ],
2662
- "application/route-apd+xml": [
2663
- "rapd"
2664
- ],
2665
- "application/route-s-tsid+xml": [
2666
- "sls"
2667
- ],
2668
- "application/route-usd+xml": [
2669
- "rusd"
2670
- ],
2671
- "application/rpki-ghostbusters": [
2672
- "gbr"
2673
- ],
2674
- "application/rpki-manifest": [
2675
- "mft"
2676
- ],
2677
- "application/rpki-roa": [
2678
- "roa"
2679
- ],
2680
- "application/rsd+xml": [
2681
- "rsd"
2682
- ],
2683
- "application/rss+xml": [
2684
- "rss"
2685
- ],
2686
- "application/rtf": [
2687
- "rtf"
2688
- ],
2689
- "application/sbml+xml": [
2690
- "sbml"
2691
- ],
2692
- "application/scvp-cv-request": [
2693
- "scq"
2694
- ],
2695
- "application/scvp-cv-response": [
2696
- "scs"
2697
- ],
2698
- "application/scvp-vp-request": [
2699
- "spq"
2700
- ],
2701
- "application/scvp-vp-response": [
2702
- "spp"
2703
- ],
2704
- "application/sdp": [
2705
- "sdp"
2706
- ],
2707
- "application/senml+xml": [
2708
- "senmlx"
2709
- ],
2710
- "application/sensml+xml": [
2711
- "sensmlx"
2712
- ],
2713
- "application/set-payment-initiation": [
2714
- "setpay"
2715
- ],
2716
- "application/set-registration-initiation": [
2717
- "setreg"
2718
- ],
2719
- "application/shf+xml": [
2720
- "shf"
2721
- ],
2722
- "application/sieve": [
2723
- "siv",
2724
- "sieve"
2725
- ],
2726
- "application/smil+xml": [
2727
- "smi",
2728
- "smil"
2729
- ],
2730
- "application/sparql-query": [
2731
- "rq"
2732
- ],
2733
- "application/sparql-results+xml": [
2734
- "srx"
2735
- ],
2736
- "application/sql": [
2737
- "sql"
2738
- ],
2739
- "application/srgs": [
2740
- "gram"
2741
- ],
2742
- "application/srgs+xml": [
2743
- "grxml"
2744
- ],
2745
- "application/sru+xml": [
2746
- "sru"
2747
- ],
2748
- "application/ssdl+xml": [
2749
- "ssdl"
2750
- ],
2751
- "application/ssml+xml": [
2752
- "ssml"
2753
- ],
2754
- "application/swid+xml": [
2755
- "swidtag"
2756
- ],
2757
- "application/tei+xml": [
2758
- "tei",
2759
- "teicorpus"
2760
- ],
2761
- "application/thraud+xml": [
2762
- "tfi"
2763
- ],
2764
- "application/timestamped-data": [
2765
- "tsd"
2766
- ],
2767
- "application/toml": [
2768
- "toml"
2769
- ],
2770
- "application/trig": [
2771
- "trig"
2772
- ],
2773
- "application/ttml+xml": [
2774
- "ttml"
2775
- ],
2776
- "application/ubjson": [
2777
- "ubj"
2778
- ],
2779
- "application/urc-ressheet+xml": [
2780
- "rsheet"
2781
- ],
2782
- "application/urc-targetdesc+xml": [
2783
- "td"
2784
- ],
2785
- "application/voicexml+xml": [
2786
- "vxml"
2787
- ],
2788
- "application/wasm": [
2789
- "wasm"
2790
- ],
2791
- "application/watcherinfo+xml": [
2792
- "wif"
2793
- ],
2794
- "application/widget": [
2795
- "wgt"
2796
- ],
2797
- "application/winhlp": [
2798
- "hlp"
2799
- ],
2800
- "application/wsdl+xml": [
2801
- "wsdl"
2802
- ],
2803
- "application/wspolicy+xml": [
2804
- "wspolicy"
2805
- ],
2806
- "application/xaml+xml": [
2807
- "xaml"
2808
- ],
2809
- "application/xcap-att+xml": [
2810
- "xav"
2811
- ],
2812
- "application/xcap-caps+xml": [
2813
- "xca"
2814
- ],
2815
- "application/xcap-diff+xml": [
2816
- "xdf"
2817
- ],
2818
- "application/xcap-el+xml": [
2819
- "xel"
2820
- ],
2821
- "application/xcap-ns+xml": [
2822
- "xns"
2823
- ],
2824
- "application/xenc+xml": [
2825
- "xenc"
2826
- ],
2827
- "application/xfdf": [
2828
- "xfdf"
2829
- ],
2830
- "application/xhtml+xml": [
2831
- "xhtml",
2832
- "xht"
2833
- ],
2834
- "application/xliff+xml": [
2835
- "xlf"
2836
- ],
2837
- "application/xml": [
2838
- "xml",
2839
- "xsl",
2840
- "xsd",
2841
- "rng"
2842
- ],
2843
- "application/xml-dtd": [
2844
- "dtd"
2845
- ],
2846
- "application/xop+xml": [
2847
- "xop"
2848
- ],
2849
- "application/xproc+xml": [
2850
- "xpl"
2851
- ],
2852
- "application/xslt+xml": [
2853
- "*xsl",
2854
- "xslt"
2855
- ],
2856
- "application/xspf+xml": [
2857
- "xspf"
2858
- ],
2859
- "application/xv+xml": [
2860
- "mxml",
2861
- "xhvml",
2862
- "xvml",
2863
- "xvm"
2864
- ],
2865
- "application/yang": [
2866
- "yang"
2867
- ],
2868
- "application/yin+xml": [
2869
- "yin"
2870
- ],
2871
- "application/zip": [
2872
- "zip"
2873
- ],
2874
- "audio/3gpp": [
2875
- "*3gpp"
2876
- ],
2877
- "audio/aac": [
2878
- "adts",
2879
- "aac"
2880
- ],
2881
- "audio/adpcm": [
2882
- "adp"
2883
- ],
2884
- "audio/amr": [
2885
- "amr"
2886
- ],
2887
- "audio/basic": [
2888
- "au",
2889
- "snd"
2890
- ],
2891
- "audio/midi": [
2892
- "mid",
2893
- "midi",
2894
- "kar",
2895
- "rmi"
2896
- ],
2897
- "audio/mobile-xmf": [
2898
- "mxmf"
2899
- ],
2900
- "audio/mp3": [
2901
- "*mp3"
2902
- ],
2903
- "audio/mp4": [
2904
- "m4a",
2905
- "mp4a"
2906
- ],
2907
- "audio/mpeg": [
2908
- "mpga",
2909
- "mp2",
2910
- "mp2a",
2911
- "mp3",
2912
- "m2a",
2913
- "m3a"
2914
- ],
2915
- "audio/ogg": [
2916
- "oga",
2917
- "ogg",
2918
- "spx",
2919
- "opus"
2920
- ],
2921
- "audio/s3m": [
2922
- "s3m"
2923
- ],
2924
- "audio/silk": [
2925
- "sil"
2926
- ],
2927
- "audio/wav": [
2928
- "wav"
2929
- ],
2930
- "audio/wave": [
2931
- "*wav"
2932
- ],
2933
- "audio/webm": [
2934
- "weba"
2935
- ],
2936
- "audio/xm": [
2937
- "xm"
2938
- ],
2939
- "font/collection": [
2940
- "ttc"
2941
- ],
2942
- "font/otf": [
2943
- "otf"
2944
- ],
2945
- "font/ttf": [
2946
- "ttf"
2947
- ],
2948
- "font/woff": [
2949
- "woff"
2950
- ],
2951
- "font/woff2": [
2952
- "woff2"
2953
- ],
2954
- "image/aces": [
2955
- "exr"
2956
- ],
2957
- "image/apng": [
2958
- "apng"
2959
- ],
2960
- "image/avci": [
2961
- "avci"
2962
- ],
2963
- "image/avcs": [
2964
- "avcs"
2965
- ],
2966
- "image/avif": [
2967
- "avif"
2968
- ],
2969
- "image/bmp": [
2970
- "bmp",
2971
- "dib"
2972
- ],
2973
- "image/cgm": [
2974
- "cgm"
2975
- ],
2976
- "image/dicom-rle": [
2977
- "drle"
2978
- ],
2979
- "image/dpx": [
2980
- "dpx"
2981
- ],
2982
- "image/emf": [
2983
- "emf"
2984
- ],
2985
- "image/fits": [
2986
- "fits"
2987
- ],
2988
- "image/g3fax": [
2989
- "g3"
2990
- ],
2991
- "image/gif": [
2992
- "gif"
2993
- ],
2994
- "image/heic": [
2995
- "heic"
2996
- ],
2997
- "image/heic-sequence": [
2998
- "heics"
2999
- ],
3000
- "image/heif": [
3001
- "heif"
3002
- ],
3003
- "image/heif-sequence": [
3004
- "heifs"
3005
- ],
3006
- "image/hej2k": [
3007
- "hej2"
3008
- ],
3009
- "image/hsj2": [
3010
- "hsj2"
3011
- ],
3012
- "image/ief": [
3013
- "ief"
3014
- ],
3015
- "image/jls": [
3016
- "jls"
3017
- ],
3018
- "image/jp2": [
3019
- "jp2",
3020
- "jpg2"
3021
- ],
3022
- "image/jpeg": [
3023
- "jpeg",
3024
- "jpg",
3025
- "jpe"
3026
- ],
3027
- "image/jph": [
3028
- "jph"
3029
- ],
3030
- "image/jphc": [
3031
- "jhc"
3032
- ],
3033
- "image/jpm": [
3034
- "jpm",
3035
- "jpgm"
3036
- ],
3037
- "image/jpx": [
3038
- "jpx",
3039
- "jpf"
3040
- ],
3041
- "image/jxr": [
3042
- "jxr"
3043
- ],
3044
- "image/jxra": [
3045
- "jxra"
3046
- ],
3047
- "image/jxrs": [
3048
- "jxrs"
3049
- ],
3050
- "image/jxs": [
3051
- "jxs"
3052
- ],
3053
- "image/jxsc": [
3054
- "jxsc"
3055
- ],
3056
- "image/jxsi": [
3057
- "jxsi"
3058
- ],
3059
- "image/jxss": [
3060
- "jxss"
3061
- ],
3062
- "image/ktx": [
3063
- "ktx"
3064
- ],
3065
- "image/ktx2": [
3066
- "ktx2"
3067
- ],
3068
- "image/png": [
3069
- "png"
3070
- ],
3071
- "image/sgi": [
3072
- "sgi"
3073
- ],
3074
- "image/svg+xml": [
3075
- "svg",
3076
- "svgz"
3077
- ],
3078
- "image/t38": [
3079
- "t38"
3080
- ],
3081
- "image/tiff": [
3082
- "tif",
3083
- "tiff"
3084
- ],
3085
- "image/tiff-fx": [
3086
- "tfx"
3087
- ],
3088
- "image/webp": [
3089
- "webp"
3090
- ],
3091
- "image/wmf": [
3092
- "wmf"
3093
- ],
3094
- "message/disposition-notification": [
3095
- "disposition-notification"
3096
- ],
3097
- "message/global": [
3098
- "u8msg"
3099
- ],
3100
- "message/global-delivery-status": [
3101
- "u8dsn"
3102
- ],
3103
- "message/global-disposition-notification": [
3104
- "u8mdn"
3105
- ],
3106
- "message/global-headers": [
3107
- "u8hdr"
3108
- ],
3109
- "message/rfc822": [
3110
- "eml",
3111
- "mime"
3112
- ],
3113
- "model/3mf": [
3114
- "3mf"
3115
- ],
3116
- "model/gltf+json": [
3117
- "gltf"
3118
- ],
3119
- "model/gltf-binary": [
3120
- "glb"
3121
- ],
3122
- "model/iges": [
3123
- "igs",
3124
- "iges"
3125
- ],
3126
- "model/jt": [
3127
- "jt"
3128
- ],
3129
- "model/mesh": [
3130
- "msh",
3131
- "mesh",
3132
- "silo"
3133
- ],
3134
- "model/mtl": [
3135
- "mtl"
3136
- ],
3137
- "model/obj": [
3138
- "obj"
3139
- ],
3140
- "model/prc": [
3141
- "prc"
3142
- ],
3143
- "model/step+xml": [
3144
- "stpx"
3145
- ],
3146
- "model/step+zip": [
3147
- "stpz"
3148
- ],
3149
- "model/step-xml+zip": [
3150
- "stpxz"
3151
- ],
3152
- "model/stl": [
3153
- "stl"
3154
- ],
3155
- "model/u3d": [
3156
- "u3d"
3157
- ],
3158
- "model/vrml": [
3159
- "wrl",
3160
- "vrml"
3161
- ],
3162
- "model/x3d+binary": [
3163
- "*x3db",
3164
- "x3dbz"
3165
- ],
3166
- "model/x3d+fastinfoset": [
3167
- "x3db"
3168
- ],
3169
- "model/x3d+vrml": [
3170
- "*x3dv",
3171
- "x3dvz"
3172
- ],
3173
- "model/x3d+xml": [
3174
- "x3d",
3175
- "x3dz"
3176
- ],
3177
- "model/x3d-vrml": [
3178
- "x3dv"
3179
- ],
3180
- "text/cache-manifest": [
3181
- "appcache",
3182
- "manifest"
3183
- ],
3184
- "text/calendar": [
3185
- "ics",
3186
- "ifb"
3187
- ],
3188
- "text/coffeescript": [
3189
- "coffee",
3190
- "litcoffee"
3191
- ],
3192
- "text/css": [
3193
- "css"
3194
- ],
3195
- "text/csv": [
3196
- "csv"
3197
- ],
3198
- "text/html": [
3199
- "html",
3200
- "htm",
3201
- "shtml"
3202
- ],
3203
- "text/jade": [
3204
- "jade"
3205
- ],
3206
- "text/javascript": [
3207
- "js",
3208
- "mjs"
3209
- ],
3210
- "text/jsx": [
3211
- "jsx"
3212
- ],
3213
- "text/less": [
3214
- "less"
3215
- ],
3216
- "text/markdown": [
3217
- "md",
3218
- "markdown"
3219
- ],
3220
- "text/mathml": [
3221
- "mml"
3222
- ],
3223
- "text/mdx": [
3224
- "mdx"
3225
- ],
3226
- "text/n3": [
3227
- "n3"
3228
- ],
3229
- "text/plain": [
3230
- "txt",
3231
- "text",
3232
- "conf",
3233
- "def",
3234
- "list",
3235
- "log",
3236
- "in",
3237
- "ini"
3238
- ],
3239
- "text/richtext": [
3240
- "rtx"
3241
- ],
3242
- "text/rtf": [
3243
- "*rtf"
3244
- ],
3245
- "text/sgml": [
3246
- "sgml",
3247
- "sgm"
3248
- ],
3249
- "text/shex": [
3250
- "shex"
3251
- ],
3252
- "text/slim": [
3253
- "slim",
3254
- "slm"
3255
- ],
3256
- "text/spdx": [
3257
- "spdx"
3258
- ],
3259
- "text/stylus": [
3260
- "stylus",
3261
- "styl"
3262
- ],
3263
- "text/tab-separated-values": [
3264
- "tsv"
3265
- ],
3266
- "text/troff": [
3267
- "t",
3268
- "tr",
3269
- "roff",
3270
- "man",
3271
- "me",
3272
- "ms"
3273
- ],
3274
- "text/turtle": [
3275
- "ttl"
3276
- ],
3277
- "text/uri-list": [
3278
- "uri",
3279
- "uris",
3280
- "urls"
3281
- ],
3282
- "text/vcard": [
3283
- "vcard"
3284
- ],
3285
- "text/vtt": [
3286
- "vtt"
3287
- ],
3288
- "text/wgsl": [
3289
- "wgsl"
3290
- ],
3291
- "text/xml": [
3292
- "*xml"
3293
- ],
3294
- "text/yaml": [
3295
- "yaml",
3296
- "yml"
3297
- ],
3298
- "video/3gpp": [
3299
- "3gp",
3300
- "3gpp"
3301
- ],
3302
- "video/3gpp2": [
3303
- "3g2"
3304
- ],
3305
- "video/h261": [
3306
- "h261"
3307
- ],
3308
- "video/h263": [
3309
- "h263"
3310
- ],
3311
- "video/h264": [
3312
- "h264"
3313
- ],
3314
- "video/iso.segment": [
3315
- "m4s"
3316
- ],
3317
- "video/jpeg": [
3318
- "jpgv"
3319
- ],
3320
- "video/jpm": [
3321
- "*jpm",
3322
- "*jpgm"
3323
- ],
3324
- "video/mj2": [
3325
- "mj2",
3326
- "mjp2"
3327
- ],
3328
- "video/mp2t": [
3329
- "ts"
3330
- ],
3331
- "video/mp4": [
3332
- "mp4",
3333
- "mp4v",
3334
- "mpg4"
3335
- ],
3336
- "video/mpeg": [
3337
- "mpeg",
3338
- "mpg",
3339
- "mpe",
3340
- "m1v",
3341
- "m2v"
3342
- ],
3343
- "video/ogg": [
3344
- "ogv"
3345
- ],
3346
- "video/quicktime": [
3347
- "qt",
3348
- "mov"
3349
- ],
3350
- "video/webm": [
3351
- "webm"
3352
- ]
3353
- };
3354
- Object.freeze(standard_types);
3355
- const standard = standard_types;
141
+ var other_default = types;
142
+
143
+ // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
144
+ var types2 = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
145
+ Object.freeze(types2);
146
+ var standard_default = types2;
147
+
148
+ // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
3356
149
  var __classPrivateFieldGet = function(receiver, state, kind, f) {
3357
- if ("a" === kind && !f) throw new TypeError("Private accessor was defined without a getter");
3358
- if ("function" == typeof state ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
3359
- return "m" === kind ? f : "a" === kind ? f.call(receiver) : f ? f.value : state.get(receiver);
150
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
151
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
152
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
3360
153
  };
3361
- var _Mime_extensionToType, _Mime_typeToExtension, _Mime_typeToExtensions;
3362
- class Mime {
3363
- constructor(...args){
3364
- _Mime_extensionToType.set(this, new Map());
3365
- _Mime_typeToExtension.set(this, new Map());
3366
- _Mime_typeToExtensions.set(this, new Map());
3367
- for (const arg of args)this.define(arg);
154
+ var _Mime_extensionToType;
155
+ var _Mime_typeToExtension;
156
+ var _Mime_typeToExtensions;
157
+ var Mime = class {
158
+ constructor(...args) {
159
+ _Mime_extensionToType.set(this, /* @__PURE__ */ new Map());
160
+ _Mime_typeToExtension.set(this, /* @__PURE__ */ new Map());
161
+ _Mime_typeToExtensions.set(this, /* @__PURE__ */ new Map());
162
+ for (const arg of args) {
163
+ this.define(arg);
3368
164
  }
3369
- define(typeMap, force = false) {
3370
- for (let [type, extensions] of Object.entries(typeMap)){
3371
- type = type.toLowerCase();
3372
- extensions = extensions.map((ext)=>ext.toLowerCase());
3373
- if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, new Set());
3374
- const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
3375
- let first = true;
3376
- for (let extension of extensions){
3377
- const starred = extension.startsWith('*');
3378
- extension = starred ? extension.slice(1) : extension;
3379
- allExtensions?.add(extension);
3380
- if (first) __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
3381
- first = false;
3382
- if (starred) continue;
3383
- const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
3384
- if (currentType && currentType != type && !force) throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
3385
- __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
3386
- }
165
+ }
166
+ define(typeMap, force = false) {
167
+ for (let [type, extensions] of Object.entries(typeMap)) {
168
+ type = type.toLowerCase();
169
+ extensions = extensions.map((ext) => ext.toLowerCase());
170
+ if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) {
171
+ __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, /* @__PURE__ */ new Set());
172
+ }
173
+ const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
174
+ let first = true;
175
+ for (let extension of extensions) {
176
+ const starred = extension.startsWith("*");
177
+ extension = starred ? extension.slice(1) : extension;
178
+ allExtensions?.add(extension);
179
+ if (first) {
180
+ __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
3387
181
  }
3388
- return this;
3389
- }
3390
- getType(path) {
3391
- if ('string' != typeof path) return null;
3392
- const last = path.replace(/^.*[/\\]/, '').toLowerCase();
3393
- const ext = last.replace(/^.*\./, '').toLowerCase();
3394
- const hasPath = last.length < path.length;
3395
- const hasDot = ext.length < last.length - 1;
3396
- if (!hasDot && hasPath) return null;
3397
- return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
3398
- }
3399
- getExtension(type) {
3400
- if ('string' != typeof type) return null;
3401
- type = type?.split?.(';')[0];
3402
- return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
3403
- }
3404
- getAllExtensions(type) {
3405
- if ('string' != typeof type) return null;
3406
- return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
3407
- }
3408
- _freeze() {
3409
- this.define = ()=>{
3410
- throw new Error('define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances');
3411
- };
3412
- Object.freeze(this);
3413
- for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values())Object.freeze(extensions);
3414
- return this;
3415
- }
3416
- _getTestState() {
3417
- return {
3418
- types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
3419
- extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
3420
- };
182
+ first = false;
183
+ if (starred)
184
+ continue;
185
+ const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
186
+ if (currentType && currentType != type && !force) {
187
+ throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
188
+ }
189
+ __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
190
+ }
3421
191
  }
3422
- }
3423
- _Mime_extensionToType = new WeakMap(), _Mime_typeToExtension = new WeakMap(), _Mime_typeToExtensions = new WeakMap();
3424
- const src_Mime = Mime;
3425
- const src = new src_Mime(standard, other)._freeze();
3426
- const supabaseStorage = (config, hooks)=>(_)=>{
3427
- const supabase = (0, supabase_js_namespaceObject.createClient)(config.supabaseUrl, config.supabaseAnonKey);
3428
- const bucket = supabase.storage.from(config.bucketName);
3429
- return {
3430
- name: "supabaseStorage",
3431
- async deleteBundle (bundleId) {
3432
- const Key = [
3433
- bundleId
3434
- ].join("/");
3435
- await bucket.remove([
3436
- Key
3437
- ]);
3438
- return Key;
3439
- },
3440
- async uploadBundle (bundleId, bundlePath) {
3441
- const Body = await promises_default().readFile(bundlePath);
3442
- const ContentType = src.getType(bundlePath) ?? void 0;
3443
- const filename = external_path_default().basename(bundlePath);
3444
- const Key = [
3445
- bundleId,
3446
- filename
3447
- ].join("/");
3448
- const upload = await bucket.upload(Key, Body, {
3449
- contentType: ContentType
3450
- });
3451
- if (upload.error) throw upload.error;
3452
- const fullPath = upload.data.fullPath;
3453
- hooks?.onStorageUploaded?.();
3454
- const fileUrl = new URL(`storage/v1/object/public/${fullPath}`, config.supabaseUrl).toString();
3455
- return {
3456
- fileUrl: hooks?.transformFileUrl?.(fullPath) ?? fileUrl
3457
- };
3458
- }
3459
- };
192
+ return this;
193
+ }
194
+ getType(path2) {
195
+ if (typeof path2 !== "string")
196
+ return null;
197
+ const last = path2.replace(/^.*[/\\]/, "").toLowerCase();
198
+ const ext = last.replace(/^.*\./, "").toLowerCase();
199
+ const hasPath = last.length < path2.length;
200
+ const hasDot = ext.length < last.length - 1;
201
+ if (!hasDot && hasPath)
202
+ return null;
203
+ return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
204
+ }
205
+ getExtension(type) {
206
+ if (typeof type !== "string")
207
+ return null;
208
+ type = type?.split?.(";")[0];
209
+ return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
210
+ }
211
+ getAllExtensions(type) {
212
+ if (typeof type !== "string")
213
+ return null;
214
+ return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
215
+ }
216
+ _freeze() {
217
+ this.define = () => {
218
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
3460
219
  };
3461
- const supabaseApi = (supabaseUrl, supabaseAnonKey)=>{
3462
- const supabase = (0, supabase_js_namespaceObject.createClient)(supabaseUrl, supabaseAnonKey);
220
+ Object.freeze(this);
221
+ for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) {
222
+ Object.freeze(extensions);
223
+ }
224
+ return this;
225
+ }
226
+ _getTestState() {
3463
227
  return {
3464
- listBuckets: async ()=>{
3465
- const { data, error } = await supabase.storage.listBuckets();
3466
- if (error) throw error;
3467
- return data.map((file)=>({
3468
- id: file.id,
3469
- name: file.name,
3470
- isPublic: file.public,
3471
- createdAt: file.created_at
3472
- }));
3473
- },
3474
- createBucket: async (bucketName, options)=>{
3475
- const { data, error } = await supabase.storage.createBucket(bucketName, options);
3476
- if (error) throw error;
3477
- return data;
3478
- }
228
+ types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
229
+ extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
3479
230
  };
231
+ }
3480
232
  };
3481
- const supabaseConfigTomlTemplate = `
3482
- project_id = "%%projectId%%"
233
+ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
234
+ var Mime_default = Mime;
235
+
236
+ // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
237
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
3483
238
 
3484
- [db.seed]
3485
- enabled = false
3486
- `;
3487
- var __webpack_export_target__ = exports;
3488
- for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
3489
- if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
3490
- value: true
239
+ // src/supabaseStorage.ts
240
+ var supabaseStorage = (config, hooks) => (_) => {
241
+ const supabase = (0, import_supabase_js2.createClient)(
242
+ config.supabaseUrl,
243
+ config.supabaseAnonKey
244
+ );
245
+ const bucket = supabase.storage.from(config.bucketName);
246
+ return {
247
+ name: "supabaseStorage",
248
+ async deleteBundle(bundleId) {
249
+ const Key = [bundleId].join("/");
250
+ await bucket.remove([Key]);
251
+ return Key;
252
+ },
253
+ async uploadBundle(bundleId, bundlePath) {
254
+ const Body = await import_promises.default.readFile(bundlePath);
255
+ const ContentType = src_default.getType(bundlePath) ?? void 0;
256
+ const filename = import_path.default.basename(bundlePath);
257
+ const Key = [bundleId, filename].join("/");
258
+ const upload = await bucket.upload(Key, Body, {
259
+ contentType: ContentType
260
+ });
261
+ if (upload.error) {
262
+ throw upload.error;
263
+ }
264
+ const fullPath = upload.data.fullPath;
265
+ hooks?.onStorageUploaded?.();
266
+ return {
267
+ bucketName: config.bucketName,
268
+ key: fullPath
269
+ };
270
+ }
271
+ };
272
+ };
273
+ // Annotate the CommonJS export names for ESM import in node:
274
+ 0 && (module.exports = {
275
+ supabaseDatabase,
276
+ supabaseStorage
3491
277
  });