(s)
| 52794 | ...s, |
| 52795 | }) |
| 52796 | } |
| 52797 | async canParse(s) { |
| 52798 | const o = 0 === this.fileExtensions.length || this.fileExtensions.includes(s.extension), |
| 52799 | i = this.mediaTypes.includes(s.mediaType) |
| 52800 | if (!o) return !1 |
| 52801 | if (i) return !0 |
| 52802 | if (!i) |
| 52803 | try { |
| 52804 | const o = s.toString() |
| 52805 | return (fn.load(o), this.detectionRegExp.test(o)) |
| 52806 | } catch (s) { |
| 52807 | return !1 |
| 52808 | } |
| 52809 | return !1 |
| 52810 | } |
| 52811 | async parse(s) { |
| 52812 | if (this.sourceMap) |