@hot-updater/firebase 0.20.14 → 0.21.0

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
@@ -180,1344 +180,6 @@ const firebaseDatabase = (config, hooks) => {
180
180
  }, hooks);
181
181
  };
182
182
 
183
- //#endregion
184
- //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
185
- const types$1 = {
186
- "application/prs.cww": ["cww"],
187
- "application/prs.xsf+xml": ["xsf"],
188
- "application/vnd.1000minds.decision-model+xml": ["1km"],
189
- "application/vnd.3gpp.pic-bw-large": ["plb"],
190
- "application/vnd.3gpp.pic-bw-small": ["psb"],
191
- "application/vnd.3gpp.pic-bw-var": ["pvb"],
192
- "application/vnd.3gpp2.tcap": ["tcap"],
193
- "application/vnd.3m.post-it-notes": ["pwn"],
194
- "application/vnd.accpac.simply.aso": ["aso"],
195
- "application/vnd.accpac.simply.imp": ["imp"],
196
- "application/vnd.acucobol": ["acu"],
197
- "application/vnd.acucorp": ["atc", "acutc"],
198
- "application/vnd.adobe.air-application-installer-package+zip": ["air"],
199
- "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
200
- "application/vnd.adobe.fxp": ["fxp", "fxpl"],
201
- "application/vnd.adobe.xdp+xml": ["xdp"],
202
- "application/vnd.adobe.xfdf": ["*xfdf"],
203
- "application/vnd.age": ["age"],
204
- "application/vnd.ahead.space": ["ahead"],
205
- "application/vnd.airzip.filesecure.azf": ["azf"],
206
- "application/vnd.airzip.filesecure.azs": ["azs"],
207
- "application/vnd.amazon.ebook": ["azw"],
208
- "application/vnd.americandynamics.acc": ["acc"],
209
- "application/vnd.amiga.ami": ["ami"],
210
- "application/vnd.android.package-archive": ["apk"],
211
- "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
212
- "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
213
- "application/vnd.antix.game-component": ["atx"],
214
- "application/vnd.apple.installer+xml": ["mpkg"],
215
- "application/vnd.apple.keynote": ["key"],
216
- "application/vnd.apple.mpegurl": ["m3u8"],
217
- "application/vnd.apple.numbers": ["numbers"],
218
- "application/vnd.apple.pages": ["pages"],
219
- "application/vnd.apple.pkpass": ["pkpass"],
220
- "application/vnd.aristanetworks.swi": ["swi"],
221
- "application/vnd.astraea-software.iota": ["iota"],
222
- "application/vnd.audiograph": ["aep"],
223
- "application/vnd.balsamiq.bmml+xml": ["bmml"],
224
- "application/vnd.blueice.multipass": ["mpm"],
225
- "application/vnd.bmi": ["bmi"],
226
- "application/vnd.businessobjects": ["rep"],
227
- "application/vnd.chemdraw+xml": ["cdxml"],
228
- "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
229
- "application/vnd.cinderella": ["cdy"],
230
- "application/vnd.citationstyles.style+xml": ["csl"],
231
- "application/vnd.claymore": ["cla"],
232
- "application/vnd.cloanto.rp9": ["rp9"],
233
- "application/vnd.clonk.c4group": [
234
- "c4g",
235
- "c4d",
236
- "c4f",
237
- "c4p",
238
- "c4u"
239
- ],
240
- "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
241
- "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
242
- "application/vnd.commonspace": ["csp"],
243
- "application/vnd.contact.cmsg": ["cdbcmsg"],
244
- "application/vnd.cosmocaller": ["cmc"],
245
- "application/vnd.crick.clicker": ["clkx"],
246
- "application/vnd.crick.clicker.keyboard": ["clkk"],
247
- "application/vnd.crick.clicker.palette": ["clkp"],
248
- "application/vnd.crick.clicker.template": ["clkt"],
249
- "application/vnd.crick.clicker.wordbank": ["clkw"],
250
- "application/vnd.criticaltools.wbs+xml": ["wbs"],
251
- "application/vnd.ctc-posml": ["pml"],
252
- "application/vnd.cups-ppd": ["ppd"],
253
- "application/vnd.curl.car": ["car"],
254
- "application/vnd.curl.pcurl": ["pcurl"],
255
- "application/vnd.dart": ["dart"],
256
- "application/vnd.data-vision.rdz": ["rdz"],
257
- "application/vnd.dbf": ["dbf"],
258
- "application/vnd.dece.data": [
259
- "uvf",
260
- "uvvf",
261
- "uvd",
262
- "uvvd"
263
- ],
264
- "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
265
- "application/vnd.dece.unspecified": ["uvx", "uvvx"],
266
- "application/vnd.dece.zip": ["uvz", "uvvz"],
267
- "application/vnd.denovo.fcselayout-link": ["fe_launch"],
268
- "application/vnd.dna": ["dna"],
269
- "application/vnd.dolby.mlp": ["mlp"],
270
- "application/vnd.dpgraph": ["dpg"],
271
- "application/vnd.dreamfactory": ["dfac"],
272
- "application/vnd.ds-keypoint": ["kpxx"],
273
- "application/vnd.dvb.ait": ["ait"],
274
- "application/vnd.dvb.service": ["svc"],
275
- "application/vnd.dynageo": ["geo"],
276
- "application/vnd.ecowin.chart": ["mag"],
277
- "application/vnd.enliven": ["nml"],
278
- "application/vnd.epson.esf": ["esf"],
279
- "application/vnd.epson.msf": ["msf"],
280
- "application/vnd.epson.quickanime": ["qam"],
281
- "application/vnd.epson.salt": ["slt"],
282
- "application/vnd.epson.ssf": ["ssf"],
283
- "application/vnd.eszigno3+xml": ["es3", "et3"],
284
- "application/vnd.ezpix-album": ["ez2"],
285
- "application/vnd.ezpix-package": ["ez3"],
286
- "application/vnd.fdf": ["*fdf"],
287
- "application/vnd.fdsn.mseed": ["mseed"],
288
- "application/vnd.fdsn.seed": ["seed", "dataless"],
289
- "application/vnd.flographit": ["gph"],
290
- "application/vnd.fluxtime.clip": ["ftc"],
291
- "application/vnd.framemaker": [
292
- "fm",
293
- "frame",
294
- "maker",
295
- "book"
296
- ],
297
- "application/vnd.frogans.fnc": ["fnc"],
298
- "application/vnd.frogans.ltf": ["ltf"],
299
- "application/vnd.fsc.weblaunch": ["fsc"],
300
- "application/vnd.fujitsu.oasys": ["oas"],
301
- "application/vnd.fujitsu.oasys2": ["oa2"],
302
- "application/vnd.fujitsu.oasys3": ["oa3"],
303
- "application/vnd.fujitsu.oasysgp": ["fg5"],
304
- "application/vnd.fujitsu.oasysprs": ["bh2"],
305
- "application/vnd.fujixerox.ddd": ["ddd"],
306
- "application/vnd.fujixerox.docuworks": ["xdw"],
307
- "application/vnd.fujixerox.docuworks.binder": ["xbd"],
308
- "application/vnd.fuzzysheet": ["fzs"],
309
- "application/vnd.genomatix.tuxedo": ["txd"],
310
- "application/vnd.geogebra.file": ["ggb"],
311
- "application/vnd.geogebra.tool": ["ggt"],
312
- "application/vnd.geometry-explorer": ["gex", "gre"],
313
- "application/vnd.geonext": ["gxt"],
314
- "application/vnd.geoplan": ["g2w"],
315
- "application/vnd.geospace": ["g3w"],
316
- "application/vnd.gmx": ["gmx"],
317
- "application/vnd.google-apps.document": ["gdoc"],
318
- "application/vnd.google-apps.presentation": ["gslides"],
319
- "application/vnd.google-apps.spreadsheet": ["gsheet"],
320
- "application/vnd.google-earth.kml+xml": ["kml"],
321
- "application/vnd.google-earth.kmz": ["kmz"],
322
- "application/vnd.grafeq": ["gqf", "gqs"],
323
- "application/vnd.groove-account": ["gac"],
324
- "application/vnd.groove-help": ["ghf"],
325
- "application/vnd.groove-identity-message": ["gim"],
326
- "application/vnd.groove-injector": ["grv"],
327
- "application/vnd.groove-tool-message": ["gtm"],
328
- "application/vnd.groove-tool-template": ["tpl"],
329
- "application/vnd.groove-vcard": ["vcg"],
330
- "application/vnd.hal+xml": ["hal"],
331
- "application/vnd.handheld-entertainment+xml": ["zmm"],
332
- "application/vnd.hbci": ["hbci"],
333
- "application/vnd.hhe.lesson-player": ["les"],
334
- "application/vnd.hp-hpgl": ["hpgl"],
335
- "application/vnd.hp-hpid": ["hpid"],
336
- "application/vnd.hp-hps": ["hps"],
337
- "application/vnd.hp-jlyt": ["jlt"],
338
- "application/vnd.hp-pcl": ["pcl"],
339
- "application/vnd.hp-pclxl": ["pclxl"],
340
- "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
341
- "application/vnd.ibm.minipay": ["mpy"],
342
- "application/vnd.ibm.modcap": [
343
- "afp",
344
- "listafp",
345
- "list3820"
346
- ],
347
- "application/vnd.ibm.rights-management": ["irm"],
348
- "application/vnd.ibm.secure-container": ["sc"],
349
- "application/vnd.iccprofile": ["icc", "icm"],
350
- "application/vnd.igloader": ["igl"],
351
- "application/vnd.immervision-ivp": ["ivp"],
352
- "application/vnd.immervision-ivu": ["ivu"],
353
- "application/vnd.insors.igm": ["igm"],
354
- "application/vnd.intercon.formnet": ["xpw", "xpx"],
355
- "application/vnd.intergeo": ["i2g"],
356
- "application/vnd.intu.qbo": ["qbo"],
357
- "application/vnd.intu.qfx": ["qfx"],
358
- "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
359
- "application/vnd.irepository.package+xml": ["irp"],
360
- "application/vnd.is-xpr": ["xpr"],
361
- "application/vnd.isac.fcs": ["fcs"],
362
- "application/vnd.jam": ["jam"],
363
- "application/vnd.jcp.javame.midlet-rms": ["rms"],
364
- "application/vnd.jisp": ["jisp"],
365
- "application/vnd.joost.joda-archive": ["joda"],
366
- "application/vnd.kahootz": ["ktz", "ktr"],
367
- "application/vnd.kde.karbon": ["karbon"],
368
- "application/vnd.kde.kchart": ["chrt"],
369
- "application/vnd.kde.kformula": ["kfo"],
370
- "application/vnd.kde.kivio": ["flw"],
371
- "application/vnd.kde.kontour": ["kon"],
372
- "application/vnd.kde.kpresenter": ["kpr", "kpt"],
373
- "application/vnd.kde.kspread": ["ksp"],
374
- "application/vnd.kde.kword": ["kwd", "kwt"],
375
- "application/vnd.kenameaapp": ["htke"],
376
- "application/vnd.kidspiration": ["kia"],
377
- "application/vnd.kinar": ["kne", "knp"],
378
- "application/vnd.koan": [
379
- "skp",
380
- "skd",
381
- "skt",
382
- "skm"
383
- ],
384
- "application/vnd.kodak-descriptor": ["sse"],
385
- "application/vnd.las.las+xml": ["lasxml"],
386
- "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
387
- "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
388
- "application/vnd.lotus-1-2-3": ["123"],
389
- "application/vnd.lotus-approach": ["apr"],
390
- "application/vnd.lotus-freelance": ["pre"],
391
- "application/vnd.lotus-notes": ["nsf"],
392
- "application/vnd.lotus-organizer": ["org"],
393
- "application/vnd.lotus-screencam": ["scm"],
394
- "application/vnd.lotus-wordpro": ["lwp"],
395
- "application/vnd.macports.portpkg": ["portpkg"],
396
- "application/vnd.mapbox-vector-tile": ["mvt"],
397
- "application/vnd.mcd": ["mcd"],
398
- "application/vnd.medcalcdata": ["mc1"],
399
- "application/vnd.mediastation.cdkey": ["cdkey"],
400
- "application/vnd.mfer": ["mwf"],
401
- "application/vnd.mfmp": ["mfm"],
402
- "application/vnd.micrografx.flo": ["flo"],
403
- "application/vnd.micrografx.igx": ["igx"],
404
- "application/vnd.mif": ["mif"],
405
- "application/vnd.mobius.daf": ["daf"],
406
- "application/vnd.mobius.dis": ["dis"],
407
- "application/vnd.mobius.mbk": ["mbk"],
408
- "application/vnd.mobius.mqy": ["mqy"],
409
- "application/vnd.mobius.msl": ["msl"],
410
- "application/vnd.mobius.plc": ["plc"],
411
- "application/vnd.mobius.txf": ["txf"],
412
- "application/vnd.mophun.application": ["mpn"],
413
- "application/vnd.mophun.certificate": ["mpc"],
414
- "application/vnd.mozilla.xul+xml": ["xul"],
415
- "application/vnd.ms-artgalry": ["cil"],
416
- "application/vnd.ms-cab-compressed": ["cab"],
417
- "application/vnd.ms-excel": [
418
- "xls",
419
- "xlm",
420
- "xla",
421
- "xlc",
422
- "xlt",
423
- "xlw"
424
- ],
425
- "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
426
- "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
427
- "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
428
- "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
429
- "application/vnd.ms-fontobject": ["eot"],
430
- "application/vnd.ms-htmlhelp": ["chm"],
431
- "application/vnd.ms-ims": ["ims"],
432
- "application/vnd.ms-lrm": ["lrm"],
433
- "application/vnd.ms-officetheme": ["thmx"],
434
- "application/vnd.ms-outlook": ["msg"],
435
- "application/vnd.ms-pki.seccat": ["cat"],
436
- "application/vnd.ms-pki.stl": ["*stl"],
437
- "application/vnd.ms-powerpoint": [
438
- "ppt",
439
- "pps",
440
- "pot"
441
- ],
442
- "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
443
- "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
444
- "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
445
- "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
446
- "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
447
- "application/vnd.ms-project": ["*mpp", "mpt"],
448
- "application/vnd.ms-word.document.macroenabled.12": ["docm"],
449
- "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
450
- "application/vnd.ms-works": [
451
- "wps",
452
- "wks",
453
- "wcm",
454
- "wdb"
455
- ],
456
- "application/vnd.ms-wpl": ["wpl"],
457
- "application/vnd.ms-xpsdocument": ["xps"],
458
- "application/vnd.mseq": ["mseq"],
459
- "application/vnd.musician": ["mus"],
460
- "application/vnd.muvee.style": ["msty"],
461
- "application/vnd.mynfc": ["taglet"],
462
- "application/vnd.neurolanguage.nlu": ["nlu"],
463
- "application/vnd.nitf": ["ntf", "nitf"],
464
- "application/vnd.noblenet-directory": ["nnd"],
465
- "application/vnd.noblenet-sealer": ["nns"],
466
- "application/vnd.noblenet-web": ["nnw"],
467
- "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
468
- "application/vnd.nokia.n-gage.data": ["ngdat"],
469
- "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
470
- "application/vnd.nokia.radio-preset": ["rpst"],
471
- "application/vnd.nokia.radio-presets": ["rpss"],
472
- "application/vnd.novadigm.edm": ["edm"],
473
- "application/vnd.novadigm.edx": ["edx"],
474
- "application/vnd.novadigm.ext": ["ext"],
475
- "application/vnd.oasis.opendocument.chart": ["odc"],
476
- "application/vnd.oasis.opendocument.chart-template": ["otc"],
477
- "application/vnd.oasis.opendocument.database": ["odb"],
478
- "application/vnd.oasis.opendocument.formula": ["odf"],
479
- "application/vnd.oasis.opendocument.formula-template": ["odft"],
480
- "application/vnd.oasis.opendocument.graphics": ["odg"],
481
- "application/vnd.oasis.opendocument.graphics-template": ["otg"],
482
- "application/vnd.oasis.opendocument.image": ["odi"],
483
- "application/vnd.oasis.opendocument.image-template": ["oti"],
484
- "application/vnd.oasis.opendocument.presentation": ["odp"],
485
- "application/vnd.oasis.opendocument.presentation-template": ["otp"],
486
- "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
487
- "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
488
- "application/vnd.oasis.opendocument.text": ["odt"],
489
- "application/vnd.oasis.opendocument.text-master": ["odm"],
490
- "application/vnd.oasis.opendocument.text-template": ["ott"],
491
- "application/vnd.oasis.opendocument.text-web": ["oth"],
492
- "application/vnd.olpc-sugar": ["xo"],
493
- "application/vnd.oma.dd2+xml": ["dd2"],
494
- "application/vnd.openblox.game+xml": ["obgx"],
495
- "application/vnd.openofficeorg.extension": ["oxt"],
496
- "application/vnd.openstreetmap.data+xml": ["osm"],
497
- "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"],
498
- "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"],
499
- "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"],
500
- "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"],
501
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
502
- "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"],
503
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"],
504
- "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"],
505
- "application/vnd.osgeo.mapguide.package": ["mgp"],
506
- "application/vnd.osgi.dp": ["dp"],
507
- "application/vnd.osgi.subsystem": ["esa"],
508
- "application/vnd.palm": [
509
- "pdb",
510
- "pqa",
511
- "oprc"
512
- ],
513
- "application/vnd.pawaafile": ["paw"],
514
- "application/vnd.pg.format": ["str"],
515
- "application/vnd.pg.osasli": ["ei6"],
516
- "application/vnd.picsel": ["efif"],
517
- "application/vnd.pmi.widget": ["wg"],
518
- "application/vnd.pocketlearn": ["plf"],
519
- "application/vnd.powerbuilder6": ["pbd"],
520
- "application/vnd.previewsystems.box": ["box"],
521
- "application/vnd.proteus.magazine": ["mgz"],
522
- "application/vnd.publishare-delta-tree": ["qps"],
523
- "application/vnd.pvi.ptid1": ["ptid"],
524
- "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
525
- "application/vnd.quark.quarkxpress": [
526
- "qxd",
527
- "qxt",
528
- "qwd",
529
- "qwt",
530
- "qxl",
531
- "qxb"
532
- ],
533
- "application/vnd.rar": ["rar"],
534
- "application/vnd.realvnc.bed": ["bed"],
535
- "application/vnd.recordare.musicxml": ["mxl"],
536
- "application/vnd.recordare.musicxml+xml": ["musicxml"],
537
- "application/vnd.rig.cryptonote": ["cryptonote"],
538
- "application/vnd.rim.cod": ["cod"],
539
- "application/vnd.rn-realmedia": ["rm"],
540
- "application/vnd.rn-realmedia-vbr": ["rmvb"],
541
- "application/vnd.route66.link66+xml": ["link66"],
542
- "application/vnd.sailingtracker.track": ["st"],
543
- "application/vnd.seemail": ["see"],
544
- "application/vnd.sema": ["sema"],
545
- "application/vnd.semd": ["semd"],
546
- "application/vnd.semf": ["semf"],
547
- "application/vnd.shana.informed.formdata": ["ifm"],
548
- "application/vnd.shana.informed.formtemplate": ["itp"],
549
- "application/vnd.shana.informed.interchange": ["iif"],
550
- "application/vnd.shana.informed.package": ["ipk"],
551
- "application/vnd.simtech-mindmapper": ["twd", "twds"],
552
- "application/vnd.smaf": ["mmf"],
553
- "application/vnd.smart.teacher": ["teacher"],
554
- "application/vnd.software602.filler.form+xml": ["fo"],
555
- "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
556
- "application/vnd.spotfire.dxp": ["dxp"],
557
- "application/vnd.spotfire.sfs": ["sfs"],
558
- "application/vnd.stardivision.calc": ["sdc"],
559
- "application/vnd.stardivision.draw": ["sda"],
560
- "application/vnd.stardivision.impress": ["sdd"],
561
- "application/vnd.stardivision.math": ["smf"],
562
- "application/vnd.stardivision.writer": ["sdw", "vor"],
563
- "application/vnd.stardivision.writer-global": ["sgl"],
564
- "application/vnd.stepmania.package": ["smzip"],
565
- "application/vnd.stepmania.stepchart": ["sm"],
566
- "application/vnd.sun.wadl+xml": ["wadl"],
567
- "application/vnd.sun.xml.calc": ["sxc"],
568
- "application/vnd.sun.xml.calc.template": ["stc"],
569
- "application/vnd.sun.xml.draw": ["sxd"],
570
- "application/vnd.sun.xml.draw.template": ["std"],
571
- "application/vnd.sun.xml.impress": ["sxi"],
572
- "application/vnd.sun.xml.impress.template": ["sti"],
573
- "application/vnd.sun.xml.math": ["sxm"],
574
- "application/vnd.sun.xml.writer": ["sxw"],
575
- "application/vnd.sun.xml.writer.global": ["sxg"],
576
- "application/vnd.sun.xml.writer.template": ["stw"],
577
- "application/vnd.sus-calendar": ["sus", "susp"],
578
- "application/vnd.svd": ["svd"],
579
- "application/vnd.symbian.install": ["sis", "sisx"],
580
- "application/vnd.syncml+xml": ["xsm"],
581
- "application/vnd.syncml.dm+wbxml": ["bdm"],
582
- "application/vnd.syncml.dm+xml": ["xdm"],
583
- "application/vnd.syncml.dmddf+xml": ["ddf"],
584
- "application/vnd.tao.intent-module-archive": ["tao"],
585
- "application/vnd.tcpdump.pcap": [
586
- "pcap",
587
- "cap",
588
- "dmp"
589
- ],
590
- "application/vnd.tmobile-livetv": ["tmo"],
591
- "application/vnd.trid.tpt": ["tpt"],
592
- "application/vnd.triscape.mxs": ["mxs"],
593
- "application/vnd.trueapp": ["tra"],
594
- "application/vnd.ufdl": ["ufd", "ufdl"],
595
- "application/vnd.uiq.theme": ["utz"],
596
- "application/vnd.umajin": ["umj"],
597
- "application/vnd.unity": ["unityweb"],
598
- "application/vnd.uoml+xml": ["uoml", "uo"],
599
- "application/vnd.vcx": ["vcx"],
600
- "application/vnd.visio": [
601
- "vsd",
602
- "vst",
603
- "vss",
604
- "vsw"
605
- ],
606
- "application/vnd.visionary": ["vis"],
607
- "application/vnd.vsf": ["vsf"],
608
- "application/vnd.wap.wbxml": ["wbxml"],
609
- "application/vnd.wap.wmlc": ["wmlc"],
610
- "application/vnd.wap.wmlscriptc": ["wmlsc"],
611
- "application/vnd.webturbo": ["wtb"],
612
- "application/vnd.wolfram.player": ["nbp"],
613
- "application/vnd.wordperfect": ["wpd"],
614
- "application/vnd.wqd": ["wqd"],
615
- "application/vnd.wt.stf": ["stf"],
616
- "application/vnd.xara": ["xar"],
617
- "application/vnd.xfdl": ["xfdl"],
618
- "application/vnd.yamaha.hv-dic": ["hvd"],
619
- "application/vnd.yamaha.hv-script": ["hvs"],
620
- "application/vnd.yamaha.hv-voice": ["hvp"],
621
- "application/vnd.yamaha.openscoreformat": ["osf"],
622
- "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
623
- "application/vnd.yamaha.smaf-audio": ["saf"],
624
- "application/vnd.yamaha.smaf-phrase": ["spf"],
625
- "application/vnd.yellowriver-custom-menu": ["cmp"],
626
- "application/vnd.zul": ["zir", "zirz"],
627
- "application/vnd.zzazz.deck+xml": ["zaz"],
628
- "application/x-7z-compressed": ["7z"],
629
- "application/x-abiword": ["abw"],
630
- "application/x-ace-compressed": ["ace"],
631
- "application/x-apple-diskimage": ["*dmg"],
632
- "application/x-arj": ["arj"],
633
- "application/x-authorware-bin": [
634
- "aab",
635
- "x32",
636
- "u32",
637
- "vox"
638
- ],
639
- "application/x-authorware-map": ["aam"],
640
- "application/x-authorware-seg": ["aas"],
641
- "application/x-bcpio": ["bcpio"],
642
- "application/x-bdoc": ["*bdoc"],
643
- "application/x-bittorrent": ["torrent"],
644
- "application/x-blorb": ["blb", "blorb"],
645
- "application/x-bzip": ["bz"],
646
- "application/x-bzip2": ["bz2", "boz"],
647
- "application/x-cbr": [
648
- "cbr",
649
- "cba",
650
- "cbt",
651
- "cbz",
652
- "cb7"
653
- ],
654
- "application/x-cdlink": ["vcd"],
655
- "application/x-cfs-compressed": ["cfs"],
656
- "application/x-chat": ["chat"],
657
- "application/x-chess-pgn": ["pgn"],
658
- "application/x-chrome-extension": ["crx"],
659
- "application/x-cocoa": ["cco"],
660
- "application/x-conference": ["nsc"],
661
- "application/x-cpio": ["cpio"],
662
- "application/x-csh": ["csh"],
663
- "application/x-debian-package": ["*deb", "udeb"],
664
- "application/x-dgc-compressed": ["dgc"],
665
- "application/x-director": [
666
- "dir",
667
- "dcr",
668
- "dxr",
669
- "cst",
670
- "cct",
671
- "cxt",
672
- "w3d",
673
- "fgd",
674
- "swa"
675
- ],
676
- "application/x-doom": ["wad"],
677
- "application/x-dtbncx+xml": ["ncx"],
678
- "application/x-dtbook+xml": ["dtb"],
679
- "application/x-dtbresource+xml": ["res"],
680
- "application/x-dvi": ["dvi"],
681
- "application/x-envoy": ["evy"],
682
- "application/x-eva": ["eva"],
683
- "application/x-font-bdf": ["bdf"],
684
- "application/x-font-ghostscript": ["gsf"],
685
- "application/x-font-linux-psf": ["psf"],
686
- "application/x-font-pcf": ["pcf"],
687
- "application/x-font-snf": ["snf"],
688
- "application/x-font-type1": [
689
- "pfa",
690
- "pfb",
691
- "pfm",
692
- "afm"
693
- ],
694
- "application/x-freearc": ["arc"],
695
- "application/x-futuresplash": ["spl"],
696
- "application/x-gca-compressed": ["gca"],
697
- "application/x-glulx": ["ulx"],
698
- "application/x-gnumeric": ["gnumeric"],
699
- "application/x-gramps-xml": ["gramps"],
700
- "application/x-gtar": ["gtar"],
701
- "application/x-hdf": ["hdf"],
702
- "application/x-httpd-php": ["php"],
703
- "application/x-install-instructions": ["install"],
704
- "application/x-iso9660-image": ["*iso"],
705
- "application/x-iwork-keynote-sffkey": ["*key"],
706
- "application/x-iwork-numbers-sffnumbers": ["*numbers"],
707
- "application/x-iwork-pages-sffpages": ["*pages"],
708
- "application/x-java-archive-diff": ["jardiff"],
709
- "application/x-java-jnlp-file": ["jnlp"],
710
- "application/x-keepass2": ["kdbx"],
711
- "application/x-latex": ["latex"],
712
- "application/x-lua-bytecode": ["luac"],
713
- "application/x-lzh-compressed": ["lzh", "lha"],
714
- "application/x-makeself": ["run"],
715
- "application/x-mie": ["mie"],
716
- "application/x-mobipocket-ebook": ["*prc", "mobi"],
717
- "application/x-ms-application": ["application"],
718
- "application/x-ms-shortcut": ["lnk"],
719
- "application/x-ms-wmd": ["wmd"],
720
- "application/x-ms-wmz": ["wmz"],
721
- "application/x-ms-xbap": ["xbap"],
722
- "application/x-msaccess": ["mdb"],
723
- "application/x-msbinder": ["obd"],
724
- "application/x-mscardfile": ["crd"],
725
- "application/x-msclip": ["clp"],
726
- "application/x-msdos-program": ["*exe"],
727
- "application/x-msdownload": [
728
- "*exe",
729
- "*dll",
730
- "com",
731
- "bat",
732
- "*msi"
733
- ],
734
- "application/x-msmediaview": [
735
- "mvb",
736
- "m13",
737
- "m14"
738
- ],
739
- "application/x-msmetafile": [
740
- "*wmf",
741
- "*wmz",
742
- "*emf",
743
- "emz"
744
- ],
745
- "application/x-msmoney": ["mny"],
746
- "application/x-mspublisher": ["pub"],
747
- "application/x-msschedule": ["scd"],
748
- "application/x-msterminal": ["trm"],
749
- "application/x-mswrite": ["wri"],
750
- "application/x-netcdf": ["nc", "cdf"],
751
- "application/x-ns-proxy-autoconfig": ["pac"],
752
- "application/x-nzb": ["nzb"],
753
- "application/x-perl": ["pl", "pm"],
754
- "application/x-pilot": ["*prc", "*pdb"],
755
- "application/x-pkcs12": ["p12", "pfx"],
756
- "application/x-pkcs7-certificates": ["p7b", "spc"],
757
- "application/x-pkcs7-certreqresp": ["p7r"],
758
- "application/x-rar-compressed": ["*rar"],
759
- "application/x-redhat-package-manager": ["rpm"],
760
- "application/x-research-info-systems": ["ris"],
761
- "application/x-sea": ["sea"],
762
- "application/x-sh": ["sh"],
763
- "application/x-shar": ["shar"],
764
- "application/x-shockwave-flash": ["swf"],
765
- "application/x-silverlight-app": ["xap"],
766
- "application/x-sql": ["*sql"],
767
- "application/x-stuffit": ["sit"],
768
- "application/x-stuffitx": ["sitx"],
769
- "application/x-subrip": ["srt"],
770
- "application/x-sv4cpio": ["sv4cpio"],
771
- "application/x-sv4crc": ["sv4crc"],
772
- "application/x-t3vm-image": ["t3"],
773
- "application/x-tads": ["gam"],
774
- "application/x-tar": ["tar"],
775
- "application/x-tcl": ["tcl", "tk"],
776
- "application/x-tex": ["tex"],
777
- "application/x-tex-tfm": ["tfm"],
778
- "application/x-texinfo": ["texinfo", "texi"],
779
- "application/x-tgif": ["*obj"],
780
- "application/x-ustar": ["ustar"],
781
- "application/x-virtualbox-hdd": ["hdd"],
782
- "application/x-virtualbox-ova": ["ova"],
783
- "application/x-virtualbox-ovf": ["ovf"],
784
- "application/x-virtualbox-vbox": ["vbox"],
785
- "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
786
- "application/x-virtualbox-vdi": ["vdi"],
787
- "application/x-virtualbox-vhd": ["vhd"],
788
- "application/x-virtualbox-vmdk": ["vmdk"],
789
- "application/x-wais-source": ["src"],
790
- "application/x-web-app-manifest+json": ["webapp"],
791
- "application/x-x509-ca-cert": [
792
- "der",
793
- "crt",
794
- "pem"
795
- ],
796
- "application/x-xfig": ["fig"],
797
- "application/x-xliff+xml": ["*xlf"],
798
- "application/x-xpinstall": ["xpi"],
799
- "application/x-xz": ["xz"],
800
- "application/x-zmachine": [
801
- "z1",
802
- "z2",
803
- "z3",
804
- "z4",
805
- "z5",
806
- "z6",
807
- "z7",
808
- "z8"
809
- ],
810
- "audio/vnd.dece.audio": ["uva", "uvva"],
811
- "audio/vnd.digital-winds": ["eol"],
812
- "audio/vnd.dra": ["dra"],
813
- "audio/vnd.dts": ["dts"],
814
- "audio/vnd.dts.hd": ["dtshd"],
815
- "audio/vnd.lucent.voice": ["lvp"],
816
- "audio/vnd.ms-playready.media.pya": ["pya"],
817
- "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
818
- "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
819
- "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
820
- "audio/vnd.rip": ["rip"],
821
- "audio/x-aac": ["*aac"],
822
- "audio/x-aiff": [
823
- "aif",
824
- "aiff",
825
- "aifc"
826
- ],
827
- "audio/x-caf": ["caf"],
828
- "audio/x-flac": ["flac"],
829
- "audio/x-m4a": ["*m4a"],
830
- "audio/x-matroska": ["mka"],
831
- "audio/x-mpegurl": ["m3u"],
832
- "audio/x-ms-wax": ["wax"],
833
- "audio/x-ms-wma": ["wma"],
834
- "audio/x-pn-realaudio": ["ram", "ra"],
835
- "audio/x-pn-realaudio-plugin": ["rmp"],
836
- "audio/x-realaudio": ["*ra"],
837
- "audio/x-wav": ["*wav"],
838
- "chemical/x-cdx": ["cdx"],
839
- "chemical/x-cif": ["cif"],
840
- "chemical/x-cmdf": ["cmdf"],
841
- "chemical/x-cml": ["cml"],
842
- "chemical/x-csml": ["csml"],
843
- "chemical/x-xyz": ["xyz"],
844
- "image/prs.btif": ["btif", "btf"],
845
- "image/prs.pti": ["pti"],
846
- "image/vnd.adobe.photoshop": ["psd"],
847
- "image/vnd.airzip.accelerator.azv": ["azv"],
848
- "image/vnd.dece.graphic": [
849
- "uvi",
850
- "uvvi",
851
- "uvg",
852
- "uvvg"
853
- ],
854
- "image/vnd.djvu": ["djvu", "djv"],
855
- "image/vnd.dvb.subtitle": ["*sub"],
856
- "image/vnd.dwg": ["dwg"],
857
- "image/vnd.dxf": ["dxf"],
858
- "image/vnd.fastbidsheet": ["fbs"],
859
- "image/vnd.fpx": ["fpx"],
860
- "image/vnd.fst": ["fst"],
861
- "image/vnd.fujixerox.edmics-mmr": ["mmr"],
862
- "image/vnd.fujixerox.edmics-rlc": ["rlc"],
863
- "image/vnd.microsoft.icon": ["ico"],
864
- "image/vnd.ms-dds": ["dds"],
865
- "image/vnd.ms-modi": ["mdi"],
866
- "image/vnd.ms-photo": ["wdp"],
867
- "image/vnd.net-fpx": ["npx"],
868
- "image/vnd.pco.b16": ["b16"],
869
- "image/vnd.tencent.tap": ["tap"],
870
- "image/vnd.valve.source.texture": ["vtf"],
871
- "image/vnd.wap.wbmp": ["wbmp"],
872
- "image/vnd.xiff": ["xif"],
873
- "image/vnd.zbrush.pcx": ["pcx"],
874
- "image/x-3ds": ["3ds"],
875
- "image/x-cmu-raster": ["ras"],
876
- "image/x-cmx": ["cmx"],
877
- "image/x-freehand": [
878
- "fh",
879
- "fhc",
880
- "fh4",
881
- "fh5",
882
- "fh7"
883
- ],
884
- "image/x-icon": ["*ico"],
885
- "image/x-jng": ["jng"],
886
- "image/x-mrsid-image": ["sid"],
887
- "image/x-ms-bmp": ["*bmp"],
888
- "image/x-pcx": ["*pcx"],
889
- "image/x-pict": ["pic", "pct"],
890
- "image/x-portable-anymap": ["pnm"],
891
- "image/x-portable-bitmap": ["pbm"],
892
- "image/x-portable-graymap": ["pgm"],
893
- "image/x-portable-pixmap": ["ppm"],
894
- "image/x-rgb": ["rgb"],
895
- "image/x-tga": ["tga"],
896
- "image/x-xbitmap": ["xbm"],
897
- "image/x-xpixmap": ["xpm"],
898
- "image/x-xwindowdump": ["xwd"],
899
- "message/vnd.wfa.wsc": ["wsc"],
900
- "model/vnd.cld": ["cld"],
901
- "model/vnd.collada+xml": ["dae"],
902
- "model/vnd.dwf": ["dwf"],
903
- "model/vnd.gdl": ["gdl"],
904
- "model/vnd.gtw": ["gtw"],
905
- "model/vnd.mts": ["mts"],
906
- "model/vnd.opengex": ["ogex"],
907
- "model/vnd.parasolid.transmit.binary": ["x_b"],
908
- "model/vnd.parasolid.transmit.text": ["x_t"],
909
- "model/vnd.pytha.pyox": ["pyo", "pyox"],
910
- "model/vnd.sap.vds": ["vds"],
911
- "model/vnd.usda": ["usda"],
912
- "model/vnd.usdz+zip": ["usdz"],
913
- "model/vnd.valve.source.compiled-map": ["bsp"],
914
- "model/vnd.vtu": ["vtu"],
915
- "text/prs.lines.tag": ["dsc"],
916
- "text/vnd.curl": ["curl"],
917
- "text/vnd.curl.dcurl": ["dcurl"],
918
- "text/vnd.curl.mcurl": ["mcurl"],
919
- "text/vnd.curl.scurl": ["scurl"],
920
- "text/vnd.dvb.subtitle": ["sub"],
921
- "text/vnd.familysearch.gedcom": ["ged"],
922
- "text/vnd.fly": ["fly"],
923
- "text/vnd.fmi.flexstor": ["flx"],
924
- "text/vnd.graphviz": ["gv"],
925
- "text/vnd.in3d.3dml": ["3dml"],
926
- "text/vnd.in3d.spot": ["spot"],
927
- "text/vnd.sun.j2me.app-descriptor": ["jad"],
928
- "text/vnd.wap.wml": ["wml"],
929
- "text/vnd.wap.wmlscript": ["wmls"],
930
- "text/x-asm": ["s", "asm"],
931
- "text/x-c": [
932
- "c",
933
- "cc",
934
- "cxx",
935
- "cpp",
936
- "h",
937
- "hh",
938
- "dic"
939
- ],
940
- "text/x-component": ["htc"],
941
- "text/x-fortran": [
942
- "f",
943
- "for",
944
- "f77",
945
- "f90"
946
- ],
947
- "text/x-handlebars-template": ["hbs"],
948
- "text/x-java-source": ["java"],
949
- "text/x-lua": ["lua"],
950
- "text/x-markdown": ["mkd"],
951
- "text/x-nfo": ["nfo"],
952
- "text/x-opml": ["opml"],
953
- "text/x-org": ["*org"],
954
- "text/x-pascal": ["p", "pas"],
955
- "text/x-processing": ["pde"],
956
- "text/x-sass": ["sass"],
957
- "text/x-scss": ["scss"],
958
- "text/x-setext": ["etx"],
959
- "text/x-sfv": ["sfv"],
960
- "text/x-suse-ymp": ["ymp"],
961
- "text/x-uuencode": ["uu"],
962
- "text/x-vcalendar": ["vcs"],
963
- "text/x-vcard": ["vcf"],
964
- "video/vnd.dece.hd": ["uvh", "uvvh"],
965
- "video/vnd.dece.mobile": ["uvm", "uvvm"],
966
- "video/vnd.dece.pd": ["uvp", "uvvp"],
967
- "video/vnd.dece.sd": ["uvs", "uvvs"],
968
- "video/vnd.dece.video": ["uvv", "uvvv"],
969
- "video/vnd.dvb.file": ["dvb"],
970
- "video/vnd.fvt": ["fvt"],
971
- "video/vnd.mpegurl": ["mxu", "m4u"],
972
- "video/vnd.ms-playready.media.pyv": ["pyv"],
973
- "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
974
- "video/vnd.vivo": ["viv"],
975
- "video/x-f4v": ["f4v"],
976
- "video/x-fli": ["fli"],
977
- "video/x-flv": ["flv"],
978
- "video/x-m4v": ["m4v"],
979
- "video/x-matroska": [
980
- "mkv",
981
- "mk3d",
982
- "mks"
983
- ],
984
- "video/x-mng": ["mng"],
985
- "video/x-ms-asf": ["asf", "asx"],
986
- "video/x-ms-vob": ["vob"],
987
- "video/x-ms-wm": ["wm"],
988
- "video/x-ms-wmv": ["wmv"],
989
- "video/x-ms-wmx": ["wmx"],
990
- "video/x-ms-wvx": ["wvx"],
991
- "video/x-msvideo": ["avi"],
992
- "video/x-sgi-movie": ["movie"],
993
- "video/x-smv": ["smv"],
994
- "x-conference/x-cooltalk": ["ice"]
995
- };
996
- Object.freeze(types$1);
997
- var other_default = types$1;
998
-
999
- //#endregion
1000
- //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
1001
- const types = {
1002
- "application/andrew-inset": ["ez"],
1003
- "application/appinstaller": ["appinstaller"],
1004
- "application/applixware": ["aw"],
1005
- "application/appx": ["appx"],
1006
- "application/appxbundle": ["appxbundle"],
1007
- "application/atom+xml": ["atom"],
1008
- "application/atomcat+xml": ["atomcat"],
1009
- "application/atomdeleted+xml": ["atomdeleted"],
1010
- "application/atomsvc+xml": ["atomsvc"],
1011
- "application/atsc-dwd+xml": ["dwd"],
1012
- "application/atsc-held+xml": ["held"],
1013
- "application/atsc-rsat+xml": ["rsat"],
1014
- "application/automationml-aml+xml": ["aml"],
1015
- "application/automationml-amlx+zip": ["amlx"],
1016
- "application/bdoc": ["bdoc"],
1017
- "application/calendar+xml": ["xcs"],
1018
- "application/ccxml+xml": ["ccxml"],
1019
- "application/cdfx+xml": ["cdfx"],
1020
- "application/cdmi-capability": ["cdmia"],
1021
- "application/cdmi-container": ["cdmic"],
1022
- "application/cdmi-domain": ["cdmid"],
1023
- "application/cdmi-object": ["cdmio"],
1024
- "application/cdmi-queue": ["cdmiq"],
1025
- "application/cpl+xml": ["cpl"],
1026
- "application/cu-seeme": ["cu"],
1027
- "application/cwl": ["cwl"],
1028
- "application/dash+xml": ["mpd"],
1029
- "application/dash-patch+xml": ["mpp"],
1030
- "application/davmount+xml": ["davmount"],
1031
- "application/docbook+xml": ["dbk"],
1032
- "application/dssc+der": ["dssc"],
1033
- "application/dssc+xml": ["xdssc"],
1034
- "application/ecmascript": ["ecma"],
1035
- "application/emma+xml": ["emma"],
1036
- "application/emotionml+xml": ["emotionml"],
1037
- "application/epub+zip": ["epub"],
1038
- "application/exi": ["exi"],
1039
- "application/express": ["exp"],
1040
- "application/fdf": ["fdf"],
1041
- "application/fdt+xml": ["fdt"],
1042
- "application/font-tdpfr": ["pfr"],
1043
- "application/geo+json": ["geojson"],
1044
- "application/gml+xml": ["gml"],
1045
- "application/gpx+xml": ["gpx"],
1046
- "application/gxf": ["gxf"],
1047
- "application/gzip": ["gz"],
1048
- "application/hjson": ["hjson"],
1049
- "application/hyperstudio": ["stk"],
1050
- "application/inkml+xml": ["ink", "inkml"],
1051
- "application/ipfix": ["ipfix"],
1052
- "application/its+xml": ["its"],
1053
- "application/java-archive": [
1054
- "jar",
1055
- "war",
1056
- "ear"
1057
- ],
1058
- "application/java-serialized-object": ["ser"],
1059
- "application/java-vm": ["class"],
1060
- "application/javascript": ["*js"],
1061
- "application/json": ["json", "map"],
1062
- "application/json5": ["json5"],
1063
- "application/jsonml+json": ["jsonml"],
1064
- "application/ld+json": ["jsonld"],
1065
- "application/lgr+xml": ["lgr"],
1066
- "application/lost+xml": ["lostxml"],
1067
- "application/mac-binhex40": ["hqx"],
1068
- "application/mac-compactpro": ["cpt"],
1069
- "application/mads+xml": ["mads"],
1070
- "application/manifest+json": ["webmanifest"],
1071
- "application/marc": ["mrc"],
1072
- "application/marcxml+xml": ["mrcx"],
1073
- "application/mathematica": [
1074
- "ma",
1075
- "nb",
1076
- "mb"
1077
- ],
1078
- "application/mathml+xml": ["mathml"],
1079
- "application/mbox": ["mbox"],
1080
- "application/media-policy-dataset+xml": ["mpf"],
1081
- "application/mediaservercontrol+xml": ["mscml"],
1082
- "application/metalink+xml": ["metalink"],
1083
- "application/metalink4+xml": ["meta4"],
1084
- "application/mets+xml": ["mets"],
1085
- "application/mmt-aei+xml": ["maei"],
1086
- "application/mmt-usd+xml": ["musd"],
1087
- "application/mods+xml": ["mods"],
1088
- "application/mp21": ["m21", "mp21"],
1089
- "application/mp4": [
1090
- "*mp4",
1091
- "*mpg4",
1092
- "mp4s",
1093
- "m4p"
1094
- ],
1095
- "application/msix": ["msix"],
1096
- "application/msixbundle": ["msixbundle"],
1097
- "application/msword": ["doc", "dot"],
1098
- "application/mxf": ["mxf"],
1099
- "application/n-quads": ["nq"],
1100
- "application/n-triples": ["nt"],
1101
- "application/node": ["cjs"],
1102
- "application/octet-stream": [
1103
- "bin",
1104
- "dms",
1105
- "lrf",
1106
- "mar",
1107
- "so",
1108
- "dist",
1109
- "distz",
1110
- "pkg",
1111
- "bpk",
1112
- "dump",
1113
- "elc",
1114
- "deploy",
1115
- "exe",
1116
- "dll",
1117
- "deb",
1118
- "dmg",
1119
- "iso",
1120
- "img",
1121
- "msi",
1122
- "msp",
1123
- "msm",
1124
- "buffer"
1125
- ],
1126
- "application/oda": ["oda"],
1127
- "application/oebps-package+xml": ["opf"],
1128
- "application/ogg": ["ogx"],
1129
- "application/omdoc+xml": ["omdoc"],
1130
- "application/onenote": [
1131
- "onetoc",
1132
- "onetoc2",
1133
- "onetmp",
1134
- "onepkg"
1135
- ],
1136
- "application/oxps": ["oxps"],
1137
- "application/p2p-overlay+xml": ["relo"],
1138
- "application/patch-ops-error+xml": ["xer"],
1139
- "application/pdf": ["pdf"],
1140
- "application/pgp-encrypted": ["pgp"],
1141
- "application/pgp-keys": ["asc"],
1142
- "application/pgp-signature": ["sig", "*asc"],
1143
- "application/pics-rules": ["prf"],
1144
- "application/pkcs10": ["p10"],
1145
- "application/pkcs7-mime": ["p7m", "p7c"],
1146
- "application/pkcs7-signature": ["p7s"],
1147
- "application/pkcs8": ["p8"],
1148
- "application/pkix-attr-cert": ["ac"],
1149
- "application/pkix-cert": ["cer"],
1150
- "application/pkix-crl": ["crl"],
1151
- "application/pkix-pkipath": ["pkipath"],
1152
- "application/pkixcmp": ["pki"],
1153
- "application/pls+xml": ["pls"],
1154
- "application/postscript": [
1155
- "ai",
1156
- "eps",
1157
- "ps"
1158
- ],
1159
- "application/provenance+xml": ["provx"],
1160
- "application/pskc+xml": ["pskcxml"],
1161
- "application/raml+yaml": ["raml"],
1162
- "application/rdf+xml": ["rdf", "owl"],
1163
- "application/reginfo+xml": ["rif"],
1164
- "application/relax-ng-compact-syntax": ["rnc"],
1165
- "application/resource-lists+xml": ["rl"],
1166
- "application/resource-lists-diff+xml": ["rld"],
1167
- "application/rls-services+xml": ["rs"],
1168
- "application/route-apd+xml": ["rapd"],
1169
- "application/route-s-tsid+xml": ["sls"],
1170
- "application/route-usd+xml": ["rusd"],
1171
- "application/rpki-ghostbusters": ["gbr"],
1172
- "application/rpki-manifest": ["mft"],
1173
- "application/rpki-roa": ["roa"],
1174
- "application/rsd+xml": ["rsd"],
1175
- "application/rss+xml": ["rss"],
1176
- "application/rtf": ["rtf"],
1177
- "application/sbml+xml": ["sbml"],
1178
- "application/scvp-cv-request": ["scq"],
1179
- "application/scvp-cv-response": ["scs"],
1180
- "application/scvp-vp-request": ["spq"],
1181
- "application/scvp-vp-response": ["spp"],
1182
- "application/sdp": ["sdp"],
1183
- "application/senml+xml": ["senmlx"],
1184
- "application/sensml+xml": ["sensmlx"],
1185
- "application/set-payment-initiation": ["setpay"],
1186
- "application/set-registration-initiation": ["setreg"],
1187
- "application/shf+xml": ["shf"],
1188
- "application/sieve": ["siv", "sieve"],
1189
- "application/smil+xml": ["smi", "smil"],
1190
- "application/sparql-query": ["rq"],
1191
- "application/sparql-results+xml": ["srx"],
1192
- "application/sql": ["sql"],
1193
- "application/srgs": ["gram"],
1194
- "application/srgs+xml": ["grxml"],
1195
- "application/sru+xml": ["sru"],
1196
- "application/ssdl+xml": ["ssdl"],
1197
- "application/ssml+xml": ["ssml"],
1198
- "application/swid+xml": ["swidtag"],
1199
- "application/tei+xml": ["tei", "teicorpus"],
1200
- "application/thraud+xml": ["tfi"],
1201
- "application/timestamped-data": ["tsd"],
1202
- "application/toml": ["toml"],
1203
- "application/trig": ["trig"],
1204
- "application/ttml+xml": ["ttml"],
1205
- "application/ubjson": ["ubj"],
1206
- "application/urc-ressheet+xml": ["rsheet"],
1207
- "application/urc-targetdesc+xml": ["td"],
1208
- "application/voicexml+xml": ["vxml"],
1209
- "application/wasm": ["wasm"],
1210
- "application/watcherinfo+xml": ["wif"],
1211
- "application/widget": ["wgt"],
1212
- "application/winhlp": ["hlp"],
1213
- "application/wsdl+xml": ["wsdl"],
1214
- "application/wspolicy+xml": ["wspolicy"],
1215
- "application/xaml+xml": ["xaml"],
1216
- "application/xcap-att+xml": ["xav"],
1217
- "application/xcap-caps+xml": ["xca"],
1218
- "application/xcap-diff+xml": ["xdf"],
1219
- "application/xcap-el+xml": ["xel"],
1220
- "application/xcap-ns+xml": ["xns"],
1221
- "application/xenc+xml": ["xenc"],
1222
- "application/xfdf": ["xfdf"],
1223
- "application/xhtml+xml": ["xhtml", "xht"],
1224
- "application/xliff+xml": ["xlf"],
1225
- "application/xml": [
1226
- "xml",
1227
- "xsl",
1228
- "xsd",
1229
- "rng"
1230
- ],
1231
- "application/xml-dtd": ["dtd"],
1232
- "application/xop+xml": ["xop"],
1233
- "application/xproc+xml": ["xpl"],
1234
- "application/xslt+xml": ["*xsl", "xslt"],
1235
- "application/xspf+xml": ["xspf"],
1236
- "application/xv+xml": [
1237
- "mxml",
1238
- "xhvml",
1239
- "xvml",
1240
- "xvm"
1241
- ],
1242
- "application/yang": ["yang"],
1243
- "application/yin+xml": ["yin"],
1244
- "application/zip": ["zip"],
1245
- "audio/3gpp": ["*3gpp"],
1246
- "audio/aac": ["adts", "aac"],
1247
- "audio/adpcm": ["adp"],
1248
- "audio/amr": ["amr"],
1249
- "audio/basic": ["au", "snd"],
1250
- "audio/midi": [
1251
- "mid",
1252
- "midi",
1253
- "kar",
1254
- "rmi"
1255
- ],
1256
- "audio/mobile-xmf": ["mxmf"],
1257
- "audio/mp3": ["*mp3"],
1258
- "audio/mp4": ["m4a", "mp4a"],
1259
- "audio/mpeg": [
1260
- "mpga",
1261
- "mp2",
1262
- "mp2a",
1263
- "mp3",
1264
- "m2a",
1265
- "m3a"
1266
- ],
1267
- "audio/ogg": [
1268
- "oga",
1269
- "ogg",
1270
- "spx",
1271
- "opus"
1272
- ],
1273
- "audio/s3m": ["s3m"],
1274
- "audio/silk": ["sil"],
1275
- "audio/wav": ["wav"],
1276
- "audio/wave": ["*wav"],
1277
- "audio/webm": ["weba"],
1278
- "audio/xm": ["xm"],
1279
- "font/collection": ["ttc"],
1280
- "font/otf": ["otf"],
1281
- "font/ttf": ["ttf"],
1282
- "font/woff": ["woff"],
1283
- "font/woff2": ["woff2"],
1284
- "image/aces": ["exr"],
1285
- "image/apng": ["apng"],
1286
- "image/avci": ["avci"],
1287
- "image/avcs": ["avcs"],
1288
- "image/avif": ["avif"],
1289
- "image/bmp": ["bmp", "dib"],
1290
- "image/cgm": ["cgm"],
1291
- "image/dicom-rle": ["drle"],
1292
- "image/dpx": ["dpx"],
1293
- "image/emf": ["emf"],
1294
- "image/fits": ["fits"],
1295
- "image/g3fax": ["g3"],
1296
- "image/gif": ["gif"],
1297
- "image/heic": ["heic"],
1298
- "image/heic-sequence": ["heics"],
1299
- "image/heif": ["heif"],
1300
- "image/heif-sequence": ["heifs"],
1301
- "image/hej2k": ["hej2"],
1302
- "image/hsj2": ["hsj2"],
1303
- "image/ief": ["ief"],
1304
- "image/jls": ["jls"],
1305
- "image/jp2": ["jp2", "jpg2"],
1306
- "image/jpeg": [
1307
- "jpeg",
1308
- "jpg",
1309
- "jpe"
1310
- ],
1311
- "image/jph": ["jph"],
1312
- "image/jphc": ["jhc"],
1313
- "image/jpm": ["jpm", "jpgm"],
1314
- "image/jpx": ["jpx", "jpf"],
1315
- "image/jxr": ["jxr"],
1316
- "image/jxra": ["jxra"],
1317
- "image/jxrs": ["jxrs"],
1318
- "image/jxs": ["jxs"],
1319
- "image/jxsc": ["jxsc"],
1320
- "image/jxsi": ["jxsi"],
1321
- "image/jxss": ["jxss"],
1322
- "image/ktx": ["ktx"],
1323
- "image/ktx2": ["ktx2"],
1324
- "image/png": ["png"],
1325
- "image/sgi": ["sgi"],
1326
- "image/svg+xml": ["svg", "svgz"],
1327
- "image/t38": ["t38"],
1328
- "image/tiff": ["tif", "tiff"],
1329
- "image/tiff-fx": ["tfx"],
1330
- "image/webp": ["webp"],
1331
- "image/wmf": ["wmf"],
1332
- "message/disposition-notification": ["disposition-notification"],
1333
- "message/global": ["u8msg"],
1334
- "message/global-delivery-status": ["u8dsn"],
1335
- "message/global-disposition-notification": ["u8mdn"],
1336
- "message/global-headers": ["u8hdr"],
1337
- "message/rfc822": ["eml", "mime"],
1338
- "model/3mf": ["3mf"],
1339
- "model/gltf+json": ["gltf"],
1340
- "model/gltf-binary": ["glb"],
1341
- "model/iges": ["igs", "iges"],
1342
- "model/jt": ["jt"],
1343
- "model/mesh": [
1344
- "msh",
1345
- "mesh",
1346
- "silo"
1347
- ],
1348
- "model/mtl": ["mtl"],
1349
- "model/obj": ["obj"],
1350
- "model/prc": ["prc"],
1351
- "model/step+xml": ["stpx"],
1352
- "model/step+zip": ["stpz"],
1353
- "model/step-xml+zip": ["stpxz"],
1354
- "model/stl": ["stl"],
1355
- "model/u3d": ["u3d"],
1356
- "model/vrml": ["wrl", "vrml"],
1357
- "model/x3d+binary": ["*x3db", "x3dbz"],
1358
- "model/x3d+fastinfoset": ["x3db"],
1359
- "model/x3d+vrml": ["*x3dv", "x3dvz"],
1360
- "model/x3d+xml": ["x3d", "x3dz"],
1361
- "model/x3d-vrml": ["x3dv"],
1362
- "text/cache-manifest": ["appcache", "manifest"],
1363
- "text/calendar": ["ics", "ifb"],
1364
- "text/coffeescript": ["coffee", "litcoffee"],
1365
- "text/css": ["css"],
1366
- "text/csv": ["csv"],
1367
- "text/html": [
1368
- "html",
1369
- "htm",
1370
- "shtml"
1371
- ],
1372
- "text/jade": ["jade"],
1373
- "text/javascript": ["js", "mjs"],
1374
- "text/jsx": ["jsx"],
1375
- "text/less": ["less"],
1376
- "text/markdown": ["md", "markdown"],
1377
- "text/mathml": ["mml"],
1378
- "text/mdx": ["mdx"],
1379
- "text/n3": ["n3"],
1380
- "text/plain": [
1381
- "txt",
1382
- "text",
1383
- "conf",
1384
- "def",
1385
- "list",
1386
- "log",
1387
- "in",
1388
- "ini"
1389
- ],
1390
- "text/richtext": ["rtx"],
1391
- "text/rtf": ["*rtf"],
1392
- "text/sgml": ["sgml", "sgm"],
1393
- "text/shex": ["shex"],
1394
- "text/slim": ["slim", "slm"],
1395
- "text/spdx": ["spdx"],
1396
- "text/stylus": ["stylus", "styl"],
1397
- "text/tab-separated-values": ["tsv"],
1398
- "text/troff": [
1399
- "t",
1400
- "tr",
1401
- "roff",
1402
- "man",
1403
- "me",
1404
- "ms"
1405
- ],
1406
- "text/turtle": ["ttl"],
1407
- "text/uri-list": [
1408
- "uri",
1409
- "uris",
1410
- "urls"
1411
- ],
1412
- "text/vcard": ["vcard"],
1413
- "text/vtt": ["vtt"],
1414
- "text/wgsl": ["wgsl"],
1415
- "text/xml": ["*xml"],
1416
- "text/yaml": ["yaml", "yml"],
1417
- "video/3gpp": ["3gp", "3gpp"],
1418
- "video/3gpp2": ["3g2"],
1419
- "video/h261": ["h261"],
1420
- "video/h263": ["h263"],
1421
- "video/h264": ["h264"],
1422
- "video/iso.segment": ["m4s"],
1423
- "video/jpeg": ["jpgv"],
1424
- "video/jpm": ["*jpm", "*jpgm"],
1425
- "video/mj2": ["mj2", "mjp2"],
1426
- "video/mp2t": ["ts"],
1427
- "video/mp4": [
1428
- "mp4",
1429
- "mp4v",
1430
- "mpg4"
1431
- ],
1432
- "video/mpeg": [
1433
- "mpeg",
1434
- "mpg",
1435
- "mpe",
1436
- "m1v",
1437
- "m2v"
1438
- ],
1439
- "video/ogg": ["ogv"],
1440
- "video/quicktime": ["qt", "mov"],
1441
- "video/webm": ["webm"]
1442
- };
1443
- Object.freeze(types);
1444
- var standard_default = types;
1445
-
1446
- //#endregion
1447
- //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
1448
- var __classPrivateFieldGet = void 0 && (void 0).__classPrivateFieldGet || function(receiver, state, kind, f) {
1449
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
1450
- 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");
1451
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1452
- };
1453
- var _Mime_extensionToType, _Mime_typeToExtension, _Mime_typeToExtensions;
1454
- var Mime = class {
1455
- constructor(...args) {
1456
- _Mime_extensionToType.set(this, /* @__PURE__ */ new Map());
1457
- _Mime_typeToExtension.set(this, /* @__PURE__ */ new Map());
1458
- _Mime_typeToExtensions.set(this, /* @__PURE__ */ new Map());
1459
- for (const arg of args) this.define(arg);
1460
- }
1461
- define(typeMap, force = false) {
1462
- for (let [type, extensions] of Object.entries(typeMap)) {
1463
- type = type.toLowerCase();
1464
- extensions = extensions.map((ext) => ext.toLowerCase());
1465
- if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, /* @__PURE__ */ new Set());
1466
- const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
1467
- let first = true;
1468
- for (let extension of extensions) {
1469
- const starred = extension.startsWith("*");
1470
- extension = starred ? extension.slice(1) : extension;
1471
- allExtensions?.add(extension);
1472
- if (first) __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
1473
- first = false;
1474
- if (starred) continue;
1475
- const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
1476
- if (currentType && currentType != type && !force) throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
1477
- __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
1478
- }
1479
- }
1480
- return this;
1481
- }
1482
- getType(path$2) {
1483
- if (typeof path$2 !== "string") return null;
1484
- const last = path$2.replace(/^.*[/\\]/, "").toLowerCase();
1485
- const ext = last.replace(/^.*\./, "").toLowerCase();
1486
- const hasPath = last.length < path$2.length;
1487
- if (!(ext.length < last.length - 1) && hasPath) return null;
1488
- return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
1489
- }
1490
- getExtension(type) {
1491
- if (typeof type !== "string") return null;
1492
- type = type?.split?.(";")[0];
1493
- return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
1494
- }
1495
- getAllExtensions(type) {
1496
- if (typeof type !== "string") return null;
1497
- return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
1498
- }
1499
- _freeze() {
1500
- this.define = () => {
1501
- throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1502
- };
1503
- Object.freeze(this);
1504
- for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) Object.freeze(extensions);
1505
- return this;
1506
- }
1507
- _getTestState() {
1508
- return {
1509
- types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
1510
- extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
1511
- };
1512
- }
1513
- };
1514
- _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1515
- var Mime_default = Mime;
1516
-
1517
- //#endregion
1518
- //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1519
- var src_default = new Mime_default(standard_default, other_default)._freeze();
1520
-
1521
183
  //#endregion
1522
184
  //#region src/firebaseStorage.ts
1523
185
  const firebaseStorage = (config, hooks) => (_) => {
@@ -1531,30 +193,43 @@ const firebaseStorage = (config, hooks) => (_) => {
1531
193
  const getStorageKey = (0, __hot_updater_plugin_core.createStorageKeyBuilder)(config.basePath);
1532
194
  return {
1533
195
  name: "firebaseStorage",
1534
- async deleteBundle(bundleId) {
1535
- const key = getStorageKey(bundleId, "bundle.zip");
196
+ supportedProtocol: "gs",
197
+ async delete(storageUri) {
198
+ const { bucket: bucketName, key } = (0, __hot_updater_plugin_core.parseStorageUri)(storageUri, "gs");
199
+ if (bucketName !== config.storageBucket) throw new Error(`Bucket name mismatch: expected "${config.storageBucket}", but found "${bucketName}".`);
1536
200
  try {
1537
201
  const [files] = await bucket.getFiles({ prefix: key });
1538
202
  await Promise.all(files.map((file) => file.delete()));
1539
- return { storageUri: `gs://${config.storageBucket}/${key}` };
1540
203
  } catch (e) {
1541
204
  console.error("Error listing or deleting files:", e);
1542
205
  throw new Error("Bundle Not Found");
1543
206
  }
1544
207
  },
1545
- async uploadBundle(bundleId, bundlePath) {
208
+ async upload(key, filePath) {
1546
209
  try {
1547
- const fileContent = await fs_promises.default.readFile(bundlePath);
1548
- const contentType = src_default.getType(bundlePath) ?? "application/octet-stream";
1549
- const key = getStorageKey(bundleId, path.default.basename(bundlePath));
1550
- await bucket.file(key).save(fileContent, { metadata: { contentType } });
210
+ const fileContent = await fs_promises.default.readFile(filePath);
211
+ const contentType = (0, __hot_updater_plugin_core.getContentType)(filePath);
212
+ const storageKey = getStorageKey(key, path.default.basename(filePath));
213
+ await bucket.file(storageKey).save(fileContent, { metadata: { contentType } });
1551
214
  hooks?.onStorageUploaded?.();
1552
- return { storageUri: `gs://${config.storageBucket}/${key}` };
215
+ return { storageUri: `gs://${config.storageBucket}/${storageKey}` };
1553
216
  } catch (error) {
1554
217
  console.error("Error uploading bundle:", error);
1555
218
  if (error instanceof Error) throw new Error(`Failed to upload bundle: ${error.message}`);
1556
219
  throw error;
1557
220
  }
221
+ },
222
+ async getDownloadUrl(storageUri) {
223
+ const u = new URL(storageUri);
224
+ if (u.protocol.replace(":", "") !== "gs") throw new Error("Invalid Firebase storage URI protocol");
225
+ const key = u.pathname.slice(1);
226
+ if (!key) throw new Error("Invalid Firebase storage URI: missing key");
227
+ const [signedUrl] = await bucket.file(key).getSignedUrl({
228
+ action: "read",
229
+ expires: Date.now() + 3600 * 1e3
230
+ });
231
+ if (!signedUrl) throw new Error("Failed to generate download URL");
232
+ return { fileUrl: signedUrl };
1558
233
  }
1559
234
  };
1560
235
  };