@social-mail/social-mail-client 1.2.441 → 1.2.442

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.
@@ -47482,17 +47482,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
47482
47482
  let isVideo = false;
47483
47483
  let isPdf = false;
47484
47484
  let inject = false;
47485
- switch (tagName) {
47486
- case "VIDEO":
47487
- accept = "video/*";
47488
- multiple = false;
47489
- isVideo = true;
47490
- break;
47491
- case "INJECT":
47492
- accept = "text/html";
47493
- multiple = false;
47494
- inject = true;
47495
- break;
47485
+ if (/^video/i.test(tagName)) {
47486
+ accept = "video/*";
47487
+ multiple = false;
47488
+ isVideo = true;
47489
+ }
47490
+ if (/^inject$/i.test(tagName)) {
47491
+ accept = "text/html";
47492
+ multiple = false;
47493
+ inject = true;
47496
47494
  }
47497
47495
  if (/pdf/i.test(tagName)) {
47498
47496
  accept = "application/pdf";