@limetech/lime-elements 40.13.0 → 40.14.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.
Files changed (305) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/lime-elements.cjs.js +1 -1
  3. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
  5. package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
  6. package/dist/cjs/limel-badge.cjs.entry.js +2 -2
  7. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  8. package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +6 -6
  9. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  10. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  11. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-chart.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  16. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
  18. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  19. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
  22. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  23. package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
  24. package/dist/cjs/limel-dock.cjs.entry.js +3 -3
  25. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +4 -4
  26. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  27. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-file-viewer.cjs.entry.js +732 -279
  29. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  30. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  31. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  32. package/dist/cjs/limel-form.cjs.entry.js +387 -70
  33. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  34. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
  36. package/dist/cjs/limel-help.cjs.entry.js +2 -2
  37. package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
  38. package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
  39. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  40. package/dist/cjs/limel-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
  42. package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
  43. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  44. package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
  45. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  46. package/dist/cjs/limel-pagination-jump.cjs.entry.js +1 -1
  47. package/dist/cjs/limel-pagination.cjs.entry.js +2 -2
  48. package/dist/cjs/limel-picker.cjs.entry.js +2 -2
  49. package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
  50. package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
  51. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
  52. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  53. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  54. package/dist/cjs/limel-resize-handle.cjs.entry.js +43 -2
  55. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  56. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  57. package/dist/cjs/limel-side-panel.cjs.entry.js +16 -6
  58. package/dist/cjs/limel-slider.cjs.entry.js +4 -4
  59. package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
  60. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  61. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  62. package/dist/cjs/limel-tab-bar.cjs.entry.js +1 -1
  63. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  64. package/dist/cjs/limel-table.cjs.entry.js +3 -3
  65. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
  66. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  67. package/dist/cjs/loader.cjs.js +1 -1
  68. package/dist/cjs/{translations-DDyw5Zzz.js → translations-CLSqfR3x.js} +56 -0
  69. package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
  70. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
  71. package/dist/collection/components/action-bar/action-bar.js +2 -2
  72. package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
  73. package/dist/collection/components/badge/badge.js +2 -2
  74. package/dist/collection/components/banner/banner.js +1 -1
  75. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  76. package/dist/collection/components/button/button.js +2 -2
  77. package/dist/collection/components/button-group/button-group.js +1 -1
  78. package/dist/collection/components/callout/callout.js +1 -1
  79. package/dist/collection/components/card/card.js +1 -1
  80. package/dist/collection/components/checkbox/checkbox.js +1 -1
  81. package/dist/collection/components/chip/chip.js +1 -1
  82. package/dist/collection/components/chip-set/chip-set.js +1 -1
  83. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  84. package/dist/collection/components/code-diff/code-diff.js +1 -1
  85. package/dist/collection/components/code-editor/code-editor.js +1 -1
  86. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  87. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  88. package/dist/collection/components/color-picker/color-picker.js +1 -1
  89. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  90. package/dist/collection/components/dialog/dialog.js +2 -2
  91. package/dist/collection/components/dock/dock.js +2 -2
  92. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  93. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  94. package/dist/collection/components/file/file.js +1 -1
  95. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  96. package/dist/collection/components/file-input/file-input.js +1 -1
  97. package/dist/collection/components/flex-container/flex-container.js +1 -1
  98. package/dist/collection/components/form/form.js +1 -1
  99. package/dist/collection/components/grid/grid.js +1 -1
  100. package/dist/collection/components/header/header.js +1 -1
  101. package/dist/collection/components/help/help-content.js +1 -1
  102. package/dist/collection/components/help/help.js +2 -2
  103. package/dist/collection/components/helper-line/helper-line.js +2 -2
  104. package/dist/collection/components/hotkey/hotkey.js +1 -1
  105. package/dist/collection/components/icon/icon.js +1 -1
  106. package/dist/collection/components/icon-button/icon-button.js +1 -1
  107. package/dist/collection/components/info-tile/info-tile.js +2 -2
  108. package/dist/collection/components/input-field/input-field.js +1 -1
  109. package/dist/collection/components/list/list.js +1 -1
  110. package/dist/collection/components/list-item/list-item.js +2 -2
  111. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  112. package/dist/collection/components/markdown/markdown.js +1 -1
  113. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  114. package/dist/collection/components/menu/menu.js +1 -1
  115. package/dist/collection/components/menu-list/menu-list.js +1 -1
  116. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  117. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  118. package/dist/collection/components/pagination/pagination.js +1 -1
  119. package/dist/collection/components/picker/picker.js +1 -1
  120. package/dist/collection/components/popover/popover.js +1 -1
  121. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  122. package/dist/collection/components/portal/portal.js +1 -1
  123. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  124. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  125. package/dist/collection/components/resize-handle/resize-handle.css +35 -33
  126. package/dist/collection/components/resize-handle/resize-handle.js +86 -4
  127. package/dist/collection/components/scroller/scroller.js +2 -2
  128. package/dist/collection/components/select/select.js +1 -1
  129. package/dist/collection/components/shortcut/shortcut.js +1 -1
  130. package/dist/collection/components/side-panel/side-panel.js +44 -27
  131. package/dist/collection/components/slider/slider.js +3 -3
  132. package/dist/collection/components/snackbar/snackbar.js +2 -2
  133. package/dist/collection/components/spinner/spinner.js +1 -1
  134. package/dist/collection/components/split-button/split-button.js +2 -2
  135. package/dist/collection/components/switch/switch.js +1 -1
  136. package/dist/collection/components/tab-bar/tab-bar.js +1 -1
  137. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  138. package/dist/collection/components/table/table.js +2 -2
  139. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  140. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  141. package/dist/collection/components/text-editor/text-editor.js +1 -1
  142. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  143. package/dist/collection/components/tooltip/tooltip.js +2 -2
  144. package/dist/collection/translations/da.js +7 -0
  145. package/dist/collection/translations/de.js +7 -0
  146. package/dist/collection/translations/en.js +7 -0
  147. package/dist/collection/translations/fi.js +7 -0
  148. package/dist/collection/translations/fr.js +7 -0
  149. package/dist/collection/translations/nl.js +7 -0
  150. package/dist/collection/translations/no.js +7 -0
  151. package/dist/collection/translations/sv.js +7 -0
  152. package/dist/esm/lime-elements.js +1 -1
  153. package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
  154. package/dist/esm/limel-action-bar_3.entry.js +4 -4
  155. package/dist/esm/limel-ai-avatar.entry.js +2 -2
  156. package/dist/esm/limel-badge.entry.js +2 -2
  157. package/dist/esm/limel-banner.entry.js +1 -1
  158. package/dist/esm/limel-breadcrumbs_6.entry.js +6 -6
  159. package/dist/esm/limel-button-group.entry.js +1 -1
  160. package/dist/esm/limel-button.entry.js +2 -2
  161. package/dist/esm/limel-callout.entry.js +2 -2
  162. package/dist/esm/limel-card.entry.js +1 -1
  163. package/dist/esm/limel-chart.entry.js +1 -1
  164. package/dist/esm/limel-checkbox.entry.js +1 -1
  165. package/dist/esm/limel-chip-set.entry.js +2 -2
  166. package/dist/esm/limel-chip_2.entry.js +2 -2
  167. package/dist/esm/limel-circular-progress.entry.js +1 -1
  168. package/dist/esm/limel-code-diff.entry.js +2 -2
  169. package/dist/esm/limel-code-editor.entry.js +2 -2
  170. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  171. package/dist/esm/limel-color-picker-palette.entry.js +2 -2
  172. package/dist/esm/limel-color-picker.entry.js +1 -1
  173. package/dist/esm/limel-dialog.entry.js +2 -2
  174. package/dist/esm/limel-dock.entry.js +3 -3
  175. package/dist/esm/limel-drag-handle_2.entry.js +4 -4
  176. package/dist/esm/limel-email-viewer.entry.js +2 -2
  177. package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
  178. package/dist/esm/limel-file-viewer.entry.js +732 -279
  179. package/dist/esm/limel-file.entry.js +2 -2
  180. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  181. package/dist/esm/limel-flex-container.entry.js +1 -1
  182. package/dist/esm/limel-form.entry.js +387 -70
  183. package/dist/esm/limel-grid.entry.js +1 -1
  184. package/dist/esm/limel-header.entry.js +1 -1
  185. package/dist/esm/limel-help-content.entry.js +1 -1
  186. package/dist/esm/limel-help.entry.js +2 -2
  187. package/dist/esm/limel-helper-line_3.entry.js +4 -4
  188. package/dist/esm/limel-hotkey_4.entry.js +5 -5
  189. package/dist/esm/limel-icon-button.entry.js +1 -1
  190. package/dist/esm/limel-icon.entry.js +1 -1
  191. package/dist/esm/limel-info-tile.entry.js +2 -2
  192. package/dist/esm/limel-list-item.entry.js +3 -3
  193. package/dist/esm/limel-markdown.entry.js +1 -1
  194. package/dist/esm/limel-masonry-layout.entry.js +1 -1
  195. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  196. package/dist/esm/limel-pagination-jump.entry.js +1 -1
  197. package/dist/esm/limel-pagination.entry.js +2 -2
  198. package/dist/esm/limel-picker.entry.js +2 -2
  199. package/dist/esm/limel-popover_2.entry.js +2 -2
  200. package/dist/esm/limel-profile-picture.entry.js +1 -1
  201. package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
  202. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  203. package/dist/esm/limel-radio-button.entry.js +2 -2
  204. package/dist/esm/limel-resize-handle.entry.js +43 -2
  205. package/dist/esm/limel-select.entry.js +1 -1
  206. package/dist/esm/limel-shortcut.entry.js +1 -1
  207. package/dist/esm/limel-side-panel.entry.js +16 -6
  208. package/dist/esm/limel-slider.entry.js +4 -4
  209. package/dist/esm/limel-snackbar.entry.js +3 -3
  210. package/dist/esm/limel-split-button.entry.js +2 -2
  211. package/dist/esm/limel-switch.entry.js +1 -1
  212. package/dist/esm/limel-tab-bar.entry.js +1 -1
  213. package/dist/esm/limel-tab-panel.entry.js +1 -1
  214. package/dist/esm/limel-table.entry.js +3 -3
  215. package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
  216. package/dist/esm/limel-text-editor.entry.js +1 -1
  217. package/dist/esm/loader.js +1 -1
  218. package/dist/esm/{translations-UrIr-5_D.js → translations-Drl5LNAD.js} +56 -0
  219. package/dist/lime-elements/lime-elements.esm.js +1 -1
  220. package/dist/lime-elements/{p-13f2afc9.entry.js → p-01de145c.entry.js} +1 -1
  221. package/dist/lime-elements/{p-3ee121fa.entry.js → p-026eed2d.entry.js} +1 -1
  222. package/dist/lime-elements/{p-9ff6a455.entry.js → p-068b141b.entry.js} +1 -1
  223. package/dist/lime-elements/{p-bd58c761.entry.js → p-09f8f883.entry.js} +1 -1
  224. package/dist/lime-elements/{p-95322502.entry.js → p-1663fa9d.entry.js} +1 -1
  225. package/dist/lime-elements/{p-def7b38f.entry.js → p-17aa9235.entry.js} +1 -1
  226. package/dist/lime-elements/{p-910807cb.entry.js → p-19426c76.entry.js} +1 -1
  227. package/dist/lime-elements/{p-622660dd.entry.js → p-1d6014ed.entry.js} +1 -1
  228. package/dist/lime-elements/p-2370ff51.entry.js +1 -0
  229. package/dist/lime-elements/{p-0f18981d.entry.js → p-242f1032.entry.js} +1 -1
  230. package/dist/lime-elements/{p-828558cf.entry.js → p-27d375f3.entry.js} +1 -1
  231. package/dist/lime-elements/{p-2ba9d62f.entry.js → p-300f80e7.entry.js} +1 -1
  232. package/dist/lime-elements/{p-9ca18ba5.entry.js → p-3b4f6329.entry.js} +1 -1
  233. package/dist/lime-elements/{p-2528f75e.entry.js → p-3de45ea6.entry.js} +2 -2
  234. package/dist/lime-elements/{p-675a7469.entry.js → p-3f447d22.entry.js} +1 -1
  235. package/dist/lime-elements/{p-780dae0b.entry.js → p-3fa66fb1.entry.js} +1 -1
  236. package/dist/lime-elements/{p-09390c6a.entry.js → p-41172b62.entry.js} +1 -1
  237. package/dist/lime-elements/{p-d5144955.entry.js → p-41fb6e88.entry.js} +1 -1
  238. package/dist/lime-elements/{p-f4c9940e.entry.js → p-44ec1f22.entry.js} +1 -1
  239. package/dist/lime-elements/{p-268b4da1.entry.js → p-4a272ac2.entry.js} +1 -1
  240. package/dist/lime-elements/{p-e25bfb2c.entry.js → p-4a381bc6.entry.js} +1 -1
  241. package/dist/lime-elements/{p-fb526a05.entry.js → p-56fe13ef.entry.js} +1 -1
  242. package/dist/lime-elements/p-5d623004.entry.js +1 -0
  243. package/dist/lime-elements/{p-8a59698f.entry.js → p-5ea07cbe.entry.js} +1 -1
  244. package/dist/lime-elements/{p-67767276.entry.js → p-600466a9.entry.js} +1 -1
  245. package/dist/lime-elements/{p-657bfa36.entry.js → p-62b6e235.entry.js} +1 -1
  246. package/dist/lime-elements/p-64540beb.entry.js +1 -0
  247. package/dist/lime-elements/{p-1020ca20.entry.js → p-674680f9.entry.js} +1 -1
  248. package/dist/lime-elements/{p-d79d777e.entry.js → p-67536ac3.entry.js} +1 -1
  249. package/dist/lime-elements/{p-dd075353.entry.js → p-6770cf06.entry.js} +1 -1
  250. package/dist/lime-elements/p-6d4d7e3f.entry.js +16 -0
  251. package/dist/lime-elements/{p-887eea11.entry.js → p-7375fac2.entry.js} +1 -1
  252. package/dist/lime-elements/{p-6d65ee35.entry.js → p-7829198d.entry.js} +1 -1
  253. package/dist/lime-elements/{p-abed5afd.entry.js → p-82672504.entry.js} +1 -1
  254. package/dist/lime-elements/{p-24e5d420.entry.js → p-8339d921.entry.js} +1 -1
  255. package/dist/lime-elements/{p-33ed0c68.entry.js → p-87c9f4de.entry.js} +1 -1
  256. package/dist/lime-elements/{p-7a290372.entry.js → p-89316964.entry.js} +1 -1
  257. package/dist/lime-elements/{p-527e9c95.entry.js → p-8a9361a2.entry.js} +1 -1
  258. package/dist/lime-elements/{p-46bf8b22.entry.js → p-8e78fd4f.entry.js} +1 -1
  259. package/dist/lime-elements/{p-db1f9eba.entry.js → p-8f133cd6.entry.js} +1 -1
  260. package/dist/lime-elements/{p-7ae71c13.entry.js → p-90198515.entry.js} +1 -1
  261. package/dist/lime-elements/{p-236743f1.entry.js → p-95ca7426.entry.js} +1 -1
  262. package/dist/lime-elements/{p-55b56742.entry.js → p-9aa921a2.entry.js} +1 -1
  263. package/dist/lime-elements/{p-540b2b24.entry.js → p-9bbf2612.entry.js} +1 -1
  264. package/dist/lime-elements/{p-a449ca04.entry.js → p-9d354eca.entry.js} +1 -1
  265. package/dist/lime-elements/{p-68542e00.entry.js → p-9e9187ce.entry.js} +1 -1
  266. package/dist/lime-elements/p-B26k4gw8.js +1 -0
  267. package/dist/lime-elements/{p-4a7df81a.entry.js → p-aac603af.entry.js} +1 -1
  268. package/dist/lime-elements/{p-5473eb74.entry.js → p-aee75ad1.entry.js} +1 -1
  269. package/dist/lime-elements/{p-4882acaa.entry.js → p-afbe54e6.entry.js} +1 -1
  270. package/dist/lime-elements/{p-a78aaf37.entry.js → p-b5ebcbfc.entry.js} +1 -1
  271. package/dist/lime-elements/{p-07916acc.entry.js → p-be8950a6.entry.js} +2 -2
  272. package/dist/lime-elements/{p-de4d261a.entry.js → p-dd065596.entry.js} +1 -1
  273. package/dist/lime-elements/{p-0c2ce99b.entry.js → p-ddabfac0.entry.js} +1 -1
  274. package/dist/lime-elements/{p-d3475514.entry.js → p-de3cf7d8.entry.js} +1 -1
  275. package/dist/lime-elements/{p-c7e34502.entry.js → p-e13e0001.entry.js} +1 -1
  276. package/dist/lime-elements/p-e2971111.entry.js +1 -0
  277. package/dist/lime-elements/{p-ecded772.entry.js → p-e332bb9b.entry.js} +1 -1
  278. package/dist/lime-elements/{p-54631dbf.entry.js → p-e50acec1.entry.js} +1 -1
  279. package/dist/lime-elements/{p-3b6d4934.entry.js → p-e6be5819.entry.js} +1 -1
  280. package/dist/lime-elements/{p-074275f4.entry.js → p-e9b1e0bd.entry.js} +1 -1
  281. package/dist/lime-elements/p-ec531ecb.entry.js +1 -0
  282. package/dist/lime-elements/{p-90286e5c.entry.js → p-f0bf3fd1.entry.js} +1 -1
  283. package/dist/lime-elements/p-f1ac7608.entry.js +1 -0
  284. package/dist/lime-elements/{p-c12fbc91.entry.js → p-f455150b.entry.js} +1 -1
  285. package/dist/types/components/form/form.types.d.ts +7 -0
  286. package/dist/types/components/resize-handle/resize-handle.d.ts +31 -2
  287. package/dist/types/components/side-panel/side-panel.d.ts +11 -4
  288. package/dist/types/components.d.ts +63 -16
  289. package/dist/types/translations/da.d.ts +7 -0
  290. package/dist/types/translations/de.d.ts +7 -0
  291. package/dist/types/translations/en.d.ts +7 -0
  292. package/dist/types/translations/fi.d.ts +7 -0
  293. package/dist/types/translations/fr.d.ts +7 -0
  294. package/dist/types/translations/nl.d.ts +7 -0
  295. package/dist/types/translations/no.d.ts +7 -0
  296. package/dist/types/translations/sv.d.ts +7 -0
  297. package/package.json +4 -4
  298. package/dist/lime-elements/p-26813b2c.entry.js +0 -1
  299. package/dist/lime-elements/p-4f58c6b3.entry.js +0 -1
  300. package/dist/lime-elements/p-714ab66d.entry.js +0 -16
  301. package/dist/lime-elements/p-9b384d62.entry.js +0 -1
  302. package/dist/lime-elements/p-a317f2fa.entry.js +0 -1
  303. package/dist/lime-elements/p-b5bb124f.entry.js +0 -1
  304. package/dist/lime-elements/p-d7e5a4a7.entry.js +0 -1
  305. package/dist/lime-elements/p-w3yKYfBQ.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as r,F as i,a as s}from"./p-BU9IJqli.js";import{t as o}from"./p-w3yKYfBQ.js";import{d as n,u as a,r as l,a as c,v as u,b as h}from"./p-_UXAljNc.js";import{I as f}from"./p-N9vxZMhe.js";import"./p-ChagAaNf.js";import"./p-B85MJLTf.js";function d(t,e){const r=t||e;return r&&{pdf:"pdf",jpg:"image",jpeg:"image",heic:"image",bmp:"image",png:"image",gif:"image",svg:"image",svgz:"image",ep:"image",eps:"image",avi:"video",flv:"video",h264:"video",mov:"video",mp4:"video",mwv:"video",mkv:"video",mp3:"audio",wav:"audio",wma:"audio",ogg:"audio",txt:"text",json:"text",html:"text",xml:"text",eml:"email",doc:"office",docx:"office",odt:"office",dot:"office",dotx:"office",docm:"office",dotm:"office",pot:"office",ppt:"office",pptx:"office",odp:"office",potx:"office",potm:"office",pps:"office",ppsx:"office",ppsm:"office",pptm:"office",ppam:"office",pages:"office",xls:"office",xlsx:"office",xlsm:"office",xlsb:"office",ods:"office",csv:"office",numbers:"office"}[r.split(".").pop().toLowerCase()]||"unknown"}class p{constructor(t){this.requestFullscreen=()=>{this.enter&&this.enter()},this.exitFullscreen=()=>{this.exit&&this.exit.bind(window.document)()},this.toggle=()=>{const t=window.document;t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?this.exitFullscreen():this.requestFullscreen()},this.enter=t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullscreen,this.enter&&(this.enter=this.enter.bind(t));const e=window.document;this.exit=e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen}isSupported(){return!!this.enter}}const m=new TextEncoder,g=t=>32===t||9===t,b=new Uint8Array(256);for(let t=0;t<64;t++)b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(t)]=t;function w(t){let e=t.length;for(;e>0&&"="===t.charAt(e-1);)e--;e%4==1&&e--;const r=e%4,i=3*Math.floor(e/4)+(r?r-1:0),s=new ArrayBuffer(i),o=new Uint8Array(s);let n=0;for(let r=0;r<e;r+=4){let e=b[t.charCodeAt(r)],s=b[t.charCodeAt(r+1)],a=b[t.charCodeAt(r+2)],l=b[t.charCodeAt(r+3)];o[n++]=e<<2|s>>4,n<i&&(o[n++]=(15&s)<<4|a>>2),n<i&&(o[n++]=(3&a)<<6|63&l)}return s}const v=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),y=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),x=/^(?:cp|windows|ms|ibm)(\d+)$/,q=new Set(["unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8","866 cp866 csibm866 ibm866","csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2","csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3","csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4","csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988","arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e","iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987","csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7","iso_8859-7:1987 sun_eu_greek","csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8","iso_8859-8:1988 visual","csiso88598i iso-8859-8-i logical","csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6","iso-8859-13 iso8859-13 iso885913","iso-8859-14 iso8859-14 iso885914","csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9","iso-8859-16","cskoi8r koi koi8 koi8-r koi8_r","koi8-ru koi8-u","csmacintosh mac macintosh x-mac-roman","dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874","cp1250 windows-1250 x-cp1250","cp1251 windows-1251 x-cp1251","ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591","iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252","cp1253 windows-1253 x-cp1253","cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5","windows-1254 x-cp1254","cp1255 windows-1255 x-cp1255","cp1256 windows-1256 x-cp1256","cp1257 windows-1257 x-cp1257","cp1258 windows-1258 x-cp1258","x-mac-cyrillic x-mac-ukrainian","chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk","gb18030","big5 big5-hkscs cn-big5 csbig5 x-x-big5","cseucpkdfmtjapanese euc-jp x-euc-jp","csiso2022jp iso-2022-jp","csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis","cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601","windows-949","csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement","unicodefffe utf-16be","csunicode iso-10646-ucs-2 ucs-2 unicode unicodefeff utf-16 utf-16le","x-user-defined"].join(" ").split(" ")),k=new Map;function A(t){if(!q.has(t))return null;let e=k.get(t);if(void 0===e){e=null;try{e=new TextDecoder(t)}catch{}k.set(t,e)}return e}const E=new TextDecoder;function D(t){const e=A(t=(t||"utf8").trim().toLowerCase());if(e)return e;const r=function(t){return t.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}(t),i=r.match(x);return A(i&&y.get(i[1])||v.get(r)||r)}function S(t){return D(t)||A("windows-1252")||E}function L(t,e=E){const r=t instanceof Uint8Array?t:new Uint8Array(t);return function(t){for(let e=0;e<t.length;){const r=t[e];if(r<128){e++;continue}let i;if(r>=194&&r<=223)i=1;else if(r>=224&&r<=239)i=2;else{if(!(r>=240&&r<=244))return!1;i=3}if(e+i>=t.length)return!1;const s=t[e+1];if(s<(224===r?160:240===r?144:128)||s>(237===r?159:244===r?143:191))return!1;for(let r=2;r<=i;r++)if(128!=(192&t[e+r]))return!1;e+=i+1}return!0}(r)?e.decode(r):S("windows-1252").decode(r)}function T(t,e){const r=D(e);return r?r.decode(t):L(t)}const j=/charset\s*=\s*["']?\s*([^\s"';>]+)/,R=new Set(["utf-16le","utf-16be"]);async function U(t){if("arrayBuffer"in t)return await t.arrayBuffer();const e=new FileReader;return new Promise(((r,i)=>{e.onload=()=>{r(e.result)},e.onerror=()=>{i(e.error)},e.readAsArrayBuffer(t)}))}function N(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-97+10:t>=65&&t<=70?t-65+10:-1}function B(t){return t.replace(/[\r\n]+/g," ")}function C(t,e,r){let i,s=t.indexOf("*");if(s>=0&&(t=t.slice(0,s)),"Q"===(e=e.toUpperCase())){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let t=m.encode(r),e=[];for(let r=0,i=t.length;r<i;r++){let s=t[r];if(r<=i-2&&61===s){let i=N(t[r+1]),s=N(t[r+2]);if(i>=0&&s>=0){e.push(i<<4|s),r+=2;continue}}e.push(s)}i=new ArrayBuffer(e.length);let s=new DataView(i);for(let t=0,r=e.length;t<r;t++)s.setUint8(t,e[t])}else i="B"===e?w(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):m.encode(r);return B(T(i,t))}const $="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",V=new RegExp($,"g"),z=/^[ \t\r\n]+$/,I=new RegExp(`^(?:${$}\\s*)+$`);function _(t,e){const r=t.encoding.toUpperCase();return t.charset===e.charset&&r===e.encoding.toUpperCase()&&("B"!==r||t.encodedText.length%4==0&&!t.padded)}function M(t,e){let r="",i=null;for(let s=0;s<t.length;s++){const o=t[s];if(void 0===o.text)i&&e&&_(i,o)?(i.encodedText+=o.encodedText,i.padded=o.encodedText.endsWith("=")):(i&&(r+=C(i.charset,i.encoding,i.encodedText)),i={charset:o.charset,encoding:o.encoding,encodedText:o.encodedText,padded:o.encodedText.endsWith("=")});else{const e=t[s+1];if(i&&e&&void 0===e.text&&z.test(o.text))continue;i&&(r+=C(i.charset,i.encoding,i.encodedText),i=null),r+=o.text}}return i&&(r+=C(i.charset,i.encoding,i.encodedText)),r}function O(t){const e=function(t){const e=[];V.lastIndex=0;let r,i=0;for(;r=V.exec(t);)r.index>i&&e.push({text:t.substring(i,r.index)}),e.push({charset:r[1],encoding:r[2],encodedText:r[3]}),i=r.index+r[0].length;return i<t.length&&e.push({text:t.substring(i)}),e}((t||"").toString()),r=M(e,!0);return r.indexOf("�")<0?r:M(e,!1)}function G(t,e){e=e||"utf-8";let r=[];for(let e=0;e<t.length;e++){let i=t.charAt(e);const s="%"===i?N(t.charCodeAt(e+1)):-1,o=s>=0?N(t.charCodeAt(e+2)):-1;if(o>=0)r.push(s<<4|o),e+=2;else if(i.charCodeAt(0)>126){const t=m.encode(i);for(let e=0;e<t.length;e++)r.push(t[e])}else r.push(i.charCodeAt(0))}const i=new ArrayBuffer(r.length),s=new DataView(i);for(let t=0,e=r.length;t<e;t++)s.setUint8(t,r[t]);return T(i,e)}class H{constructor(){this.chunks=[],this.runBuffer=null,this.runStart=0,this.runEnd=0,this.pendingLineBreak=null}continuesRun(t){return t.buffer===this.runBuffer&&t.byteOffset===this.runEnd}flushRun(){this.runBuffer&&this.runEnd>this.runStart&&this.chunks.push(new Uint8Array(this.runBuffer,this.runStart,this.runEnd-this.runStart)),this.runBuffer=null}update(t,e){const r=this.pendingLineBreak;r&&this.continuesRun(r)&&t.buffer===this.runBuffer&&t.byteOffset===this.runEnd+r.byteLength||(this.flushRun(),r&&this.chunks.push(r),this.runBuffer=t.buffer,this.runStart=t.byteOffset),this.runEnd=t.byteOffset+t.byteLength,this.pendingLineBreak=e}finalize(t=!1){const e=this.pendingLineBreak;return!t&&e&&(this.continuesRun(e)?this.runEnd+=e.byteLength:(this.flushRun(),this.chunks.push(e))),this.flushRun(),U(new Blob(this.chunks,{type:"application/octet-stream"}))}}class P{constructor(t=102400){this.maxChunkSize=t,this.buffer=null,this.bufferPos=0,this.chunks=[]}writeByte(t){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize)),this.buffer[this.bufferPos++]=t}writeBytes(t,e=0,r=t.length){for(;e<r;){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize));const i=Math.min(r-e,this.buffer.length-this.bufferPos);this.buffer.set(t.subarray(e,e+i),this.bufferPos),this.bufferPos+=i,e+=i}}append(t){t.length>=this.maxChunkSize/2?(this.flush(),this.chunks.push(t)):this.writeBytes(t)}flush(){this.buffer&&this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}finalize(){return this.flush(),U(new Blob(this.chunks,{type:"application/octet-stream"}))}}class F{constructor(t){this.decoder=(t=t||{}).decoder||new TextDecoder,this.maxChunkSize=102400,this.output=new P,this.remainder=""}pushChunk(t){t.length&&this.output.append(new Uint8Array(w(t)))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(t){let e,r=this.decoder.decode(t).replace(/[^a-zA-Z0-9+/=]+/g,""),i=0;for(;(e=r.indexOf("=",i))>=0;)this.remainder+=r.substring(i,e),this.flushRemainder(),i=e+1;if(this.remainder+=r.substring(i),this.remainder.length>=this.maxChunkSize){const t=4*Math.floor(this.remainder.length/4);this.pushChunk(this.remainder.substring(0,t)),this.remainder=this.remainder.substring(t)}}finalize(){return this.flushRemainder(),this.output.finalize()}}class J{constructor(){this.output=new P,this.pendingLineBreak=null}writeLineBreak(){this.pendingLineBreak&&this.output.writeBytes(this.pendingLineBreak)}update(t,e){this.writeLineBreak();let r=t.length;for(;r>0&&g(t[r-1]);)r--;const i=r>0&&61===t[r-1];i&&r--;let s=0;for(let e=0;e<r;e++){if(61!==t[e]||e+2>=r)continue;const i=N(t[e+1]),o=N(t[e+2]);i<0||o<0||(this.output.writeBytes(t,s,e),this.output.writeByte(i<<4|o),e+=2,s=e+1)}this.output.writeBytes(t,s,r),this.pendingLineBreak=i?null:e}finalize(t=!1){return t||this.writeLineBreak(),this.output.finalize()}}const Y=new TextDecoder("utf-8",{ignoreBOM:!0}),Z=t=>{let e=0,r=t.length;for(;e<r&&g(t.charCodeAt(e));)e++;for(;r>e&&g(t.charCodeAt(r-1));)r--;return t.slice(e,r)},Q=/^[!-9;-~]+[ \t]*:/,K=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class W{constructor(t){this.options=t,this.postalMime=t.postalMime;const e=this.postalMime.limits;if(this.postalMime.counters.partCount++,this.postalMime.counters.partCount>e.maxPartCount)throw new Error(`Maximum MIME part count of ${e.maxPartCount} parts exceeded`);if(this.childNodes=[],this.finalizedChildCount=0,t.parentNode){if(this.parentNode=t.parentNode,this.depth=this.parentNode.depth+1,this.depth>e.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${e.maxNestingDepth} levels exceeded`);t.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[],this.lastLineBlank=!1;const r="digest"===(t.parentMultipartType||null)?"message/rfc822":"text/plain";this.contentType={value:r,parsed:{value:r,params:{}},multipart:!1},this.contentTransferEncoding={value:"8bit",encoding:""},this.contentDisposition={value:"",parsed:{value:"",params:{}}},this.headers=[],this.rawHeaderLines=[],this.contentDecoder=null,this.content=null}setupContentDecoder(t){this.contentDecoder=/base64/i.test(t)?new F:/quoted-printable/i.test(t)?new J:new H}async finalize(t=!1){if("finished"===this.state)return;"header"===this.state&&this.endHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(t),this.content=this.contentDecoder?await this.contentDecoder.finalize(t):null,this.contentDecoder=null,this.state="finished"}async finalizeChildNodes(t=!1){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize(t)}stripComments(t){let e="",r=0,i=!1,s=!1,o=-1,n=!1,a=!1;const l=t=>{e+=t,a=" "===t||"\t"===t};for(let c=0;c<t.length;c++){const u=t.charAt(c);if(i)0===r&&l(u),i=!1;else if("\\"!==u)if('"'!==u||0!==r){if(!s){if("("===u&&(!n||!e.length||a)){0===r&&(o=c),r++;continue}if(")"===u&&r>0){r--;continue}0===r&&("="===u?n=!0:";"===u&&(n=!1))}0===r&&l(u)}else s=!s,l(u);else i=!0,0===r&&l(u)}return 0===r||t.indexOf(";",o)<0?e:t}parseStructuredHeader(t){t=this.stripComments(t);let e,r={value:"",params:{}},i=!1,s="",o="value",n="",a=!1,l=!1,c=!1;const u=()=>{s.length&&(s+=n),n=""},h=t=>{u(),s+=t},f=()=>{const t=s;return s="",n="",a=!1,t},d=(t,e)=>{t&&!Object.prototype.hasOwnProperty.call(r.params,t)&&(r.params[t]=e)},p=()=>{const t=f();!1===i?r.value=t:d(i,t)},m=()=>{d(f().trim().toLowerCase(),"")};for(let r=0,d=t.length;r<d;r++)switch(e=t.charAt(r),o){case"key":if("="===e){i=f().trim().toLowerCase(),o="value";break}if(";"===e){m();break}s+=e;break;case"value":if(a&&";"!==e){c=!1;break}if(c)h(e);else{if(l&&"\\"===e){c=!0;continue}l&&e===l?(l=!1,a=!0):l||'"'!==e?l||";"!==e?l||" "!==e&&"\t"!==e?h(e):n+=e:(p(),o="key"):(l=e,u())}c=!1}return"value"===o?p():m(),r.value&&(r.value=r.value.toLowerCase()),function(t){let e=new Map;Object.keys(t.params).forEach((r=>{let i=r.match(/\*((\d+)\*?)?$/);if(!i)return;let s=r.slice(0,i.index).toLowerCase(),o=Number(i[2])||0,n=e.get(s);n||(n={charset:null,values:[]},e.set(s,n));let a=t.params[r],l="*"===i[0].charAt(i[0].length-1);0===o&&l&&(i=a.match(/^([^']*)'[^']*'(.*)$/))&&(n.charset=i[1]||"utf-8",a=i[2]),n.values.push({nr:o,value:a,encoded:l}),delete t.params[r]})),e.forEach(((e,r)=>{if(Object.prototype.hasOwnProperty.call(t.params,r))return;let i="",s="";for(let t of e.values.sort(((t,e)=>t.nr-e.nr)))t.encoded?s+=t.value:(s&&(i+=G(s,e.charset),s=""),i+=t.value);s&&(i+=G(s,e.charset)),t.params[r]=i}))}(r),r}decodeFlowedText(t,e){const r=[];let i=[],s=!1,o=0;for(let n=0;n<=t.length;){let a=t.indexOf("\n",n);a<0&&(a=t.length);const l=t.slice(n,a);let c=0;for(;62===l.charCodeAt(c);)c++;const u=32===l.charCodeAt(c)?c+1:c,h=l.slice(u),f="-- "===h;if(s&&c===o&&!f?(e&&(i[i.length-1]=i[i.length-1].slice(0,-1)),i.push(h)):(n&&i.push("\n"),i.push(c?l:h)),s=!f&&h.endsWith(" "),o=c,i.length>=4096){const t=i.pop();r.push(i.join("")),i=[t]}n=a+1}return r.push(i.join("")),r.join("")}getTextContent(){if(!this.content)return"";let t=function(t,e,r){const i=new Uint8Array(t);if(e)return T(i,e);const s=r?function(t){const e=E.decode(t.subarray(0,1024)).toLowerCase();let r=0;for(;(r=e.indexOf("<meta",r))>=0;){let t=e.indexOf(">",r);t<0&&(t=e.length);const i=j.exec(e.slice(r,t));if(i)return i[1];r=t}return null}(i):null,o=s?D(s):null;return!o||R.has(o.encoding)?L(i):("x-user-defined"===o.encoding?S("windows-1252"):o).decode(i)}(this.content,this.contentType.parsed.params.charset,"text/html"===this.contentType.parsed.value).replace(/\r\n/g,"\n");return/^flowed$/i.test(this.contentType.parsed.params.format)&&(t=this.decodeFlowedText(t,/^yes$/i.test(this.contentType.parsed.params.delsp))),t}processHeaders(){let t=[];for(let e of this.headerLines)t.length&&/^[ \t]/.test(e)?t[t.length-1].push(e):t.push([e]);let e=new Set;for(let r of t){let t=r.join("\n"),i=t.indexOf(":"),s=Z(i<0?t:t.slice(0,i));this.rawHeaderLines.push({key:s.toLowerCase(),line:t});let o=r.join("");i=o.indexOf(":");let n=Z(i<0?o:o.slice(0,i)),a=i<0?"":Z(B(o.slice(i+1)));this.headers.push({key:n.toLowerCase(),originalKey:n,value:a});const l=n.toLowerCase();if(K.has(l)&&!e.has(l))switch(e.add(l),l){case"content-type":this.contentType.value=a;break;case"content-transfer-encoding":this.contentTransferEncoding.value=a;break;case"content-disposition":this.contentDisposition.value=a;break;case"content-id":this.contentId=a;break;case"content-description":this.contentDescription=a}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=!!/^multipart\//i.test(this.contentType.parsed.value)&&this.contentType.parsed.value.slice(this.contentType.parsed.value.indexOf("/")+1),this.contentType.multipart&&!this.contentType.parsed.params.boundary&&(this.contentType.parsed.value="text/plain",this.contentType.multipart=!1),this.contentType.multipart&&this.postalMime.boundaries.push({value:m.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/[\w-]+/)||[""])[0],this.setupContentDecoder(this.contentTransferEncoding.encoding),this.headerLines=[]}endHeaders(){this.state="body",this.processHeaders()}feed(t,e){switch(this.state){case"header":{if(!t.length)return this.endHeaders(),!1;this.postalMime.counters.headerSize+=Math.max(t.length,64);const e=this.postalMime.limits.maxHeadersSize;if(this.postalMime.counters.headerSize>e)throw new Error(`Maximum header size of ${e} bytes exceeded`);const r=L(t,Y);if(this.lastLineBlank&&!g(t[0])&&!Q.test(r))return this.headerLines.pop(),this.endHeaders(),!0;this.headerLines.push(r),this.lastLineBlank=(t=>t.every(g))(t);break}case"body":this.contentDecoder&&this.contentDecoder.update(t,e)}return!1}}const X={"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":"\n","&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":"\t","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&bfr;":"𝔟","&bigcap;":"⋂","&bigcirc;":"◯","&bigcup;":"⋃","&bigodot;":"⨀","&bigoplus;":"⨁","&bigotimes;":"⨂","&bigsqcup;":"⨆","&bigstar;":"★","&bigtriangledown;":"▽","&bigtriangleup;":"△","&biguplus;":"⨄","&bigvee;":"⋁","&bigwedge;":"⋀","&bkarow;":"⤍","&blacklozenge;":"⧫","&blacksquare;":"▪","&blacktriangle;":"▴","&blacktriangledown;":"▾","&blacktriangleleft;":"◂","&blacktriangleright;":"▸","&blank;":"␣","&blk12;":"▒","&blk14;":"░","&blk34;":"▓","&block;":"█","&bne;":"=⃥","&bnequiv;":"≡⃥","&bnot;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&nscr;":"𝓃","&nshortmid;":"∤","&nshortparallel;":"∦","&nsim;":"≁","&nsime;":"≄","&nsimeq;":"≄","&nsmid;":"∤","&nspar;":"∦","&nsqsube;":"⋢","&nsqsupe;":"⋣","&nsub;":"⊄","&nsubE;":"⫅̸","&nsube;":"⊈","&nsubset;":"⊂⃒","&nsubseteq;":"⊈","&nsubseteqq;":"⫅̸","&nsucc;":"⊁","&nsucceq;":"⪰̸","&nsup;":"⊅","&nsupE;":"⫆̸","&nsupe;":"⊉","&nsupset;":"⊃⃒","&nsupseteq;":"⊉","&nsupseteqq;":"⫆̸","&ntgl;":"≹","&ntilde":"ñ","&ntilde;":"ñ","&ntlg;":"≸","&ntriangleleft;":"⋪","&ntrianglelefteq;":"⋬","&ntriangleright;":"⋫","&ntrianglerighteq;":"⋭","&nu;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},tt=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function et(t){return t.trim().replace(/[<>"'?&]/g,(t=>{let e=t.charCodeAt(0).toString(16);return e.length<2&&(e="0"+e),"&#x"+e.toUpperCase()+";"}))}const rt=/[\n\r\u2028\u2029]/g;function it(t,e){let r=1/0,i=null;return s=>((s<r||i&&s>i.index)&&(e.lastIndex=s,i=e.exec(t),r=s),i)}function st(t,e){const r=t.lastIndexOf(">")+1;return e(t.slice(0,r))+t.slice(r)}function ot(t,e,r){return st(t,(t=>t.replace(e,r)))}function nt(t,e,r,i){const s=[];let o=0,n=0;for(;;){e.lastIndex=n;const a=e.exec(t);if(!a)break;const l=a.index,c=t.indexOf(">",l);if(c<0)break;r.lastIndex=l;const u=r.exec(t);u?(s.push(t.slice(o,l),i(...u)),o=n=l+u[0].length):n=c+1}return s.push(t.slice(o)),s.join("")}function at(t,e,r,i,s,o){const n=it(t,/>/g),a=it(t,i),l=it(t,rt),c=[];let u=0,h=0;for(;;){e.lastIndex=h;const i=e.exec(t);if(!i)break;const f=i.index;h=f+1;let d=f+i[0].length;if(r){const t=n(d);if(!t)break;d=t.index+1}const p=a(d);if(!p)break;const m=l(d);if(m&&m.index<p.index)continue;let g=p.index+p[0].length;if(s){const t=n(g);if(!t)break;g=t.index+1}c.push(t.slice(u,f),o),u=h=g}return c.push(t.slice(u)),c.join("")}function lt(t,e){const r=t.search(rt),i=Math.min(r<0?t.length:r,t.lastIndexOf(">"));let s,o=-1;for(e.lastIndex=0;(s=e.exec(t))&&s.index<i;)o=s.index;return o<0?t:t.slice(t.indexOf(">",o)+1)}function ct(t,e){const r=function(t){return Math.max(t.lastIndexOf("\n"),t.lastIndexOf("\r"),t.lastIndexOf("\u2028"),t.lastIndexOf("\u2029"))}(t);e.lastIndex=r<0?0:t.lastIndexOf(">",r)+1;const i=e.exec(t);return i&&i.index<t.lastIndexOf(">")?t.slice(0,i.index):t}function ut(t){if("undefined"==typeof Intl)return t;const e=new Date(t);return isNaN(e.getTime())?t:new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}).format(e)}function ht(t){let e=[],r=(t,i)=>{if(i&&e.push(", "),t.group){let i=";";e.push(`${t.name}:`),t.group.forEach(r),e.push(i)}else e.push(function(t){return(t.name?[t.name,`<${t.address}>`]:[t.address]).join(" ")}(t))};return t.forEach(r),e.join("")}function ft(t){let e=[],r=(t,i)=>{if(i&&e.push('<span class="postal-email-address-separator">, </span>'),t.group){let i=`<span class="postal-email-address-group">${et(t.name)}:</span>`,s='<span class="postal-email-address-group">;</span>';e.push(i),t.group.forEach(r),e.push(s)}else e.push(function(t){return`<a href="mailto:${et(t.address)}" class="postal-email-address">${et(t.name||`<${t.address}>`)}</a>`}(t))};return t.forEach(r),e.join(" ")}const dt=/\s/,pt=/^("(?:[^"\\]|\\[\s\S])*"@\S+)(?:\s+([\s\S]+))?$/,mt=/^[^@\s]+@[^@\s]+$/,gt=/^[^@\s]+@\S+$/,bt=/\s*\b[^@\s]+@[^\s]+\b\s*/y;function wt(t){return 32===t||t>=9&&t<=13||160===t||5760===t||t>=8192&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t||65279===t}function vt(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t}function yt(t,e){return vt(t.charCodeAt(e-1))!==vt(t.charCodeAt(e))}function xt(t,e,r){for(let i=e;i<r;i++)if(64===t.charCodeAt(i))return i;return-1}function qt(t){const e=t.length;let r=0;for(;r<e;){for(;r<e&&wt(t.charCodeAt(r));)r++;if(r>=e)break;const i=r;let s=r;for(;s<e&&!wt(t.charCodeAt(s));)s++;let o=xt(t,i,s);if(o>=0){let e=-1;for(let r=s;r>i;r--)if(yt(t,r)){e=r;break}let r=i;for(;e>=0&&o>=0;){if(o>r&&s>o+1&&e>o+1)for(let e=r;e<o;e++)if(yt(t,e)){if(e>i)return e;let r=i;for(;r>0&&wt(t.charCodeAt(r-1));)r--;return r}r=o+1,o=xt(t,r,s)}}r=s}return-1}function kt(t){const e=[];let r="",i="",s=0,o="",n="";for(let a=0,l=t.length;a<l;a++){const c=t.charAt(a);if(s)"\\"===c&&a<l-1?i+=t.charAt(++a):"("===c?(s++,i+=c):")"!==c||--s?i+=c:(e.push(i.trim()),i="","@"!==n&&"@"!==t.charAt(a+1)&&(r+=" ",n=" "));else{if(o){if("\\"===c&&'"'===o&&a<l-1){r+=c+t.charAt(++a),n=t.charAt(a);continue}c===o&&(o="")}else if('"'===c)o='"';else if("["===c)o="]";else if("("===c){s=1;continue}r+=c,n=c}}return s&&e.push(i.trim()),{address:r.trim(),comments:e.filter((t=>t))}}function At(t,e){let r,i,s=!1,o="text",n=[],a={address:[],comment:[],group:[],text:[],textWasQuoted:[]},l=!1;const c={address:"",comment:"",group:"",text:""};for(r=0,i=t.length;r<i;r++){let e=t[r],i=r?t[r-1]:null;if("operator"===e.type)switch(e.value){case"<":o="address",l=!1;break;case"(":o="comment",l=!1;break;case":":o="group",s=!0,l=!1;break;case'"':l=!l,o="text";break;default:o="text",l=!1}else if(e.value){const s=r>1?t[r-2]:null,n="operator"===i?.type&&'"'===i.value&&!!i.noBreak&&"operator"===s?.type&&'"'===s.value;"address"===o&&(e.value=e.value.replace(/^[^<]*<\s*/,"")),i&&i.noBreak&&a[o].length&&(")"!==i.value||"@"===c[o]||"@"===e.value.charAt(0))?(a[o][a[o].length-1]+=e.value,"text"===o&&l&&(a.textWasQuoted[a.textWasQuoted.length-1]=!0)):(a[o].push(e.value),"text"===o&&a.textWasQuoted.push(l||n)),c[o]=e.value.charAt(e.value.length-1)}}if(!a.text.length&&a.comment.length&&(a.text=a.comment,a.comment=[]),s){const t=a.text.join(" ");let r=[];a.group.length&&St(a.group.join(","),e+1).forEach((t=>{if(t.group)for(const e of t.group)r.push(e);else r.push(t)})),n.push({name:O(t),group:r})}else{const t=[],i=[];for(const e of a.address){if(e.indexOf("(")<0){i.push(e);continue}const r=kt(e);for(const e of r.comments)t.push(e);r.address&&i.push(r.address)}if(a.address=i,!a.address.length&&a.text.length){for(r=a.text.length-1;r>=0;r--)if(!a.textWasQuoted[r]&&mt.test(a.text[r])){a.address=a.text.splice(r,1),a.textWasQuoted.splice(r,1);break}if(!a.address.length)for(r=a.text.length-1;r>=0;r--)if(!a.textWasQuoted[r]){const t=a.text[r],e=qt(t);if(e>=0){bt.lastIndex=e;const i=bt.exec(t);if(i){a.address=[i[0].trim()],a.text[r]=(t.slice(0,e)+" "+t.slice(e+i[0].length)).trim();break}}a.text[r]=t.trim()}}!a.text.length&&a.comment.length&&(a.text=a.comment,a.comment=[]),a.address.length>1&&(a.text=a.text.concat(a.address.splice(1)));const s=!a.address.length&&a.textWasQuoted.some((t=>t));let o=a.text.join(" "),l=a.address.join(" ");if(!l&&(u=o.trim(),I.test(u))){const t=O(o);if(!s&&function(t){let e=-1,r=-1;for(let i=0;i<t.length;i++){const s=t.charAt(i);if("<"===s)e=i+1,r=-1;else if(">"===s){if(r>=0&&r<i-1)return!0;e=-1,r=-1}else"@"===s&&e>=0&&r<0&&i>e&&(r=i)}return!1}(t)){const r=St(t,e+1);if(r.length)return r}return[{address:"",name:t}]}s&&o.indexOf("@")>=0&&(l=function(t){const e=t.lastIndexOf("@");if(e<0)return t;const r=t.substring(0,e);return/^[^\s"(),:;<>@[\\\]]+$/.test(r)||/^"(?:[^"\\]|\\[\s\S])*"$/.test(r)?t:'"'+r.replace(/["\\]/g,"\\$&")+'"@'+t.substring(e+1)}(o),o=""),({address:l,text:o}=function(t,e){if(!dt.test(t))return{address:t,text:e};let r;const i=t.match(pt);if(i){if(!i[2])return{address:t,text:e};t=i[1],r=[i[2]]}else{if(t.indexOf('"')>=0)return{address:t,text:e};const i=t.split(/\s+/);let s=i.findIndex((t=>mt.test(t)));if(s<0&&(s=i.findIndex((t=>gt.test(t)))),s<0)return{address:t,text:e};t=i.splice(s,1)[0],r=i}return{address:t,text:[e,...r].filter((t=>t)).join(" ")}}(l,o)),!o&&t.length&&(o=t.join(" "));const c=o||l||"",h={address:l||o||"",name:O(c)};h.address!==c&&h.address!==h.name||(h.address.match(/@/)?h.name="":h.address=""),n.push(h)}var u;return n}class Et{constructor(t){this.str=(t||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.inDomainLiteral=!1,this.afterAt=!1,this.list=[],this.operators={'"':'"',"(":")","<":">",",":"",":":";",";":""}}tokenize(){let t=[];for(let t=0,e=this.str.length;t<e;t++){let r=this.str.charAt(t),i=t<e-1?this.str.charAt(t+1):null;this.checkChar(r,i)}return this.list.forEach((e=>{e.value=(e.value||"").toString().trim(),e.value&&t.push(e)})),t}checkChar(t,e){if(this.escaped||this.operatorExpecting||(!this.inDomainLiteral&&"["===t&&this.afterAt?this.inDomainLiteral=!0:!this.inDomainLiteral||"]"!==t&&","!==t&&";"!==t||(this.inDomainLiteral=!1)),this.escaped);else{if(t===this.operatorExpecting)return this.node={type:"operator",value:t},e&&![" ","\t","\r","\n",",",";"].includes(e)&&(this.node.noBreak=!0),this.list.push(this.node),this.node=null,")"!==t&&(this.afterAt=!1),this.operatorExpecting="",void(this.escaped=!1);if(!(this.operatorExpecting||this.inDomainLiteral&&":"===t)&&t in this.operators)return this.node={type:"operator",value:t},this.list.push(this.node),this.node=null,"("!==t&&(this.afterAt=!1),this.operatorExpecting=this.operators[t],void(this.escaped=!1);if(('"'===this.operatorExpecting||")"===this.operatorExpecting)&&"\\"===t)return void(this.escaped=!0)}this.node||(this.node={type:"text",value:""},this.list.push(this.node)),"\n"===t&&(t=" "),(t.charCodeAt(0)>=33||[" ","\t"].includes(t))&&(this.node.value+=t,this.operatorExpecting||" "===t||"\t"===t||(this.afterAt="@"===t)),this.escaped=!1}}const Dt=50;function St(t,e){if(e>Dt)return[];let r=new Et(t).tokenize(),i=[],s=[];const o=[];r.forEach((t=>{"operator"!==t.type||","!==t.value&&";"!==t.value?s.push(t):(s.length&&i.push(s),s=[])})),s.length&&i.push(s);for(const t of i)for(const r of At(t,e))o.push(r);const n=[];for(let t=o.length-1;t>=0;t--){const e=o[t],r=n.length?n[n.length-1]:null;r&&""===e.address&&e.name&&!e.group&&r.address&&r.name?r.name=e.name+", "+r.name:n.push(e)}return n.reverse()}function Lt(t){return St(t,0)}function Tt(t){let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),s=i.byteLength,o=s%3,n=s-o;let a,l,c,u,h;for(let t=0;t<n;t+=3)h=i[t]<<16|i[t+1]<<8|i[t+2],a=(16515072&h)>>18,l=(258048&h)>>12,c=(4032&h)>>6,u=63&h,e+=r[a]+r[l]+r[c]+r[u];return 1===o?(h=i[n],a=(252&h)>>2,l=(3&h)<<4,e+=r[a]+r[l]+"=="):2===o&&(h=i[n]<<8|i[n+1],a=(64512&h)>>10,l=(1008&h)>>4,c=(15&h)<<2,e+=r[a]+r[l]+r[c]+"="),e}function jt(t,e,r){return"subMessage"===t.type?"html"===e?function(t){let e=[];return t.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${ft([t.from])}</div>`),t.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${et(t.subject)}</div>`),t.date&&e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${et(t.date)}">${et(ut(t.date))}</div>`),t.to&&t.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${ft(t.to)}</div>`),t.cc&&t.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${ft(t.cc)}</div>`),t.bcc&&t.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${ft(t.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join('</div>\n<div class="postal-email-header-row">')}${e.length?"</div>":""}</div>`}(t.value):function(t){let e=[];t.from&&e.push({key:"From",val:ht([t.from])}),t.subject&&e.push({key:"Subject",val:t.subject}),t.date&&e.push({key:"Date",val:ut(t.date)}),t.to&&t.to.length&&e.push({key:"To",val:ht(t.to)}),t.cc&&t.cc.length&&e.push({key:"Cc",val:ht(t.cc)}),t.bcc&&t.bcc.length&&e.push({key:"Bcc",val:ht(t.bcc)});let r=e.map((t=>t.key.length)).reduce(((t,e)=>e>t?e:t),0);const i=e.flatMap((t=>{let e=r-t.key.length,i=`${t.key}: ${" ".repeat(e)}`,s=`${" ".repeat(t.key.length+1)} ${" ".repeat(e)}`;return function(t,e){e=e||76;let r,i,s=0,o=(t=(t||"").toString()).length,n="";for(;s<o;){if(r=t.slice(s,s+e),r.length<e){n+=r;break}(i=r.match(/^[^\n\r]*(\r?\n|\r)/))?(r=i[0],n+=r,s+=r.length):((i=r.match(/(\s+)[^\s]*$/))&&i[0].length-(i[1]||"").length<r.length?r=r.slice(0,r.length-(i[0].length-(i[1]||"").length)):(i=t.slice(s+r.length).match(/^[^\s]+(\s*)/))&&(r+=i[0].slice(0,i[0].length-0)),n+=r,s+=r.length,s<o&&(n+="\r\n"))}return n}(t.val,80).split(/\r?\n/).map((t=>t.trim())).map(((t,e)=>`${e?s:i}${t}`))}));let s=i.map((t=>t.length)).reduce(((t,e)=>e>t?e:t),0),o="-".repeat(s);return`\n${o}\n${i.join("\n")}\n${o}\n`}(t.value):r?"html"===e?"<div>"+et(t.value).replace(/\n/g,"<br />")+"</div>":(i=ot(i=at(i=(i=t.value).replace(/\r?\n/g,""),/<!--/g,!1,/-->/g,!1," "),/<br\b[^>]*>/gi,"\n"),i=lt(i=at(i=ot(i,/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,"\n\n"),/<script\b/gi,!0,/<\/script\b/gi,!0," "),/<body\b/gi),i=lt(i,/<\/head\b/gi),i=ct(i=lt(i,/<!doctype\b/gi),/<\/body\b/gi),i=ot(i=st(i=ct(i,/<\/html\b/gi),(t=>nt(t,/<a\b/gi,/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/iy,((t,e)=>` (${e}) `)))),/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,""),i=ot(i=nt(i,/<li\b/gi,/<li\b[^>]*>[\n\u0001\s]*/iy,(()=>"* ")),/<hr\b[^>]*>/g,"\n-------------\n"),function(t){return t.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,((t,e)=>{if("string"==typeof X[t])return X[t];if("#"!==e.charAt(0)||";"!==t.charAt(t.length-1))return t;let r;r="x"===e.charAt(1).toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);let i="";return 0===r||r>=55296&&r<=57343||r>1114111?"�":(r=tt.get(r)??r,r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i+=String.fromCharCode(r),i)}))}(i=(i=ot(i,/<[^>]*>/g," ")).replace(/\u0001/g,"\n").replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,"\n\n").replace(/^\n+/,"\n").replace(/\n+$/,"\n"))):t.value;var i}const Rt=new Uint8Array([10]);function Ut(t){if(!t)return 0;let e=0;for(const r of Array.isArray(t)?t:[t])e+=1+(r.group?r.group.length:0);return e}function Nt(t,e,r){if(null==t)return e;if("number"!=typeof t||!Number.isInteger(t)||t<0)throw new TypeError(`${r} must be a non-negative integer`);return t}class Bt{static async parse(t,e){return new Bt(e).parse(t)}constructor(t,e){this.options=t||{},this.rfc822NestingDepth=e?e.rfc822NestingDepth+1:0,this.limits=e?e.limits:function(t){return{maxNestingDepth:Nt(t.maxNestingDepth,256,"maxNestingDepth"),maxHeadersSize:Nt(t.maxHeadersSize,2097152,"maxHeadersSize"),maxPartCount:Nt(t.maxPartCount,1e4,"maxPartCount"),maxRfc822NestingDepth:Nt(t.maxRfc822NestingDepth,10,"maxRfc822NestingDepth"),maxForwardedAddresses:Nt(t.maxForwardedAddresses,1e4,"maxForwardedAddresses")}}(this.options),this.counters=e?e.counters:{headerSize:0,partCount:0,forwardedAddresses:0},this.root=this.currentNode=new W({postalMime:this}),this.boundaries=[],this.textContent={},this.textMap=new Map,this.textTypes=new Set,this.attachments=[],this.forceRfc822Attachments=!1,this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(t,e,r){let i=this.boundaries;if(i.length&&t.length>2&&45===t[0]&&45===t[1])for(let e=i.length-1;e>=0;e--){let s=i[e];if(t.length<s.value.length+2)continue;let o=!0;for(let e=0;e<s.value.length;e++)if(t[e+2]!==s.value[e]){o=!1;break}if(!o)continue;let n=s.value.length+2,a=!1;t.length>=s.value.length+4&&45===t[s.value.length+2]&&45===t[s.value.length+3]&&(a=!0,n=s.value.length+4);let l=!0;for(let e=n;e<t.length;e++)if(!g(t[e])){l=!1;break}if(l)return a?(await s.node.finalize(!0),this.currentNode=s.node.parentNode||this.root):(await s.node.finalizeChildNodes(!0),this.currentNode=new W({postalMime:this,parentNode:s.node,parentMultipartType:s.node.contentType.multipart})),r?this.finalize():void 0}return this.currentNode.feed(t,e)?this.processLine(t,e,r):r?this.finalize():void 0}readLine(){let t=this.readPos,e=this.readPos;for(;this.readPos<this.av.length;){const r=this.av[this.readPos++];if(13!==r&&10!==r&&(e=this.readPos),10===r)return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:this.av.subarray(e,this.readPos),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:Rt,done:this.readPos>=this.av.length}}addTextEntry(t,e,r){let i=this.textMap.get(t);i||(i={},this.textMap.set(t,i));const s=i[e]||[];i[e]=s,s.push(r),this.textTypes.add(e)}async collectNode(t,e,r){if(t.contentType.multipart)"alternative"===t.contentType.multipart?e=t:"related"===t.contentType.multipart&&(r=!0);else{const i=this.isInlineMessageRfc822(t),s=i&&this.rfc822NestingDepth>=this.limits.maxRfc822NestingDepth;i&&!s?await this.collectSubMessage(t):this.isInlineTextNode(t)?this.addTextEntry(e||t,"text/html"===t.contentType.parsed.value?"html":"plain",{type:"text",value:t.getTextContent()}):t.content&&this.collectAttachment(t,t.content,r,s)}for(let i of t.childNodes)await this.collectNode(i,e,r)}async collectSubMessage(t){const e=new Bt({attachmentEncoding:"arraybuffer"},this),r=t.subMessage=await e.parse(t.content||new ArrayBuffer(0));if(this.counters.forwardedAddresses+=Ut(r.from)+Ut(r.to)+Ut(r.cc)+Ut(r.bcc),this.counters.forwardedAddresses>this.limits.maxForwardedAddresses)throw new Error(`Maximum forwarded address count of ${this.limits.maxForwardedAddresses} addresses exceeded`);!r.text&&r.html||this.addTextEntry(t,"plain",{type:"subMessage",value:r}),r.html&&this.addTextEntry(t,"html",{type:"subMessage",value:r}),e.textMap.forEach(((t,e)=>{this.textMap.set(e,t)}));for(let t of r.attachments)this.attachments.push(t)}collectAttachment(t,e,r,i){const s=t.contentDisposition.parsed.params.filename||t.contentType.parsed.params.name||null,o={filename:s?O(B(s)):null,mimeType:t.contentType.parsed.value,disposition:t.contentDisposition.parsed.value||null};switch(r&&t.contentId&&!i&&(o.related=!0),i&&(o.rfc822DepthExceeded=!0),t.contentDescription&&(o.description=O(t.contentDescription)),t.contentId&&(o.contentId=t.contentId),t.contentType.parsed.value){case"text/calendar":case"application/ics":{t.contentType.parsed.params.method&&(o.method=t.contentType.parsed.params.method.toString().toUpperCase().trim());const e=t.getTextContent();let r=e.length;for(;r>0&&10===e.charCodeAt(r-1);)r--;o.content=m.encode(e.slice(0,r)+"\n");break}default:o.content=e}this.attachments.push(o)}renderTextContent(){const t={};this.textMap.forEach((e=>{this.textTypes.forEach((r=>{const i=t[r]||[];t[r]=i;const s=e[r],o=s||e["html"===r?"plain":"html"]||[];for(const t of o)i.push(jt(t,r,!s))}))})),Object.keys(t).forEach((e=>{this.textContent[e]=t[e].join("\n")}))}isInlineTextNode(t){if("attachment"===t.contentDisposition.parsed.value)return!1;switch(t.contentType.parsed.value){case"text/html":case"text/plain":return!0;default:return!1}}isInlineMessageRfc822(t){return!this.forceRfc822Attachments&&"message/rfc822"===t.contentType.parsed.value&&"inline"===(t.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))}hasReportParts(){let t=!1,e=r=>{r.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(r.contentType.parsed.value)&&(t=!0);for(let t of r.childNodes)e(t)};return e(this.root),t}async resolveStream(t){let e=0,r=[];const i=t.getReader();for(;;){const{done:t,value:s}=await i.read();if(t)break;r.push(s),e+=s.length}const s=new Uint8Array(e);let o=0;for(let t of r)s.set(t,o),o+=t.length;return s}async resolveInput(t){let e=t;var r;return(r=e)&&"function"==typeof r.getReader&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),"string"==typeof e&&(e=m.encode(e)),function(t){return t instanceof Blob||"[object Blob]"===Object.prototype.toString.call(t)}(e)&&(e=await U(e)),ArrayBuffer.isView(e)?e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength):e}buildMessage(){const t=this.root.headers,e={headers:t.map((t=>({key:t.key,originalKey:t.originalKey,value:t.value})))};for(const r of["from","sender"]){const i=t.find((t=>t.key===r));if(i&&i.value){const t=Lt(i.value);t&&t.length&&(e[r]=t[0])}}for(const[r,i]of[["delivered-to","deliveredTo"],["return-path","returnPath"]]){const s=t.find((t=>t.key===r));if(s&&s.value){const t=Lt(s.value);t&&t.length&&t[0].address&&(e[i]=t[0].address)}}for(const[r,i]of[["to","to"],["cc","cc"],["bcc","bcc"],["reply-to","replyTo"]]){const s=[];for(const e of t)if(e.key===r&&e.value)for(const t of Lt(e.value))s.push(t);s.length&&(e[i]=s)}for(const[r,i]of[["subject","subject"],["message-id","messageId"],["in-reply-to","inReplyTo"],["references","references"]]){const s=t.find((t=>t.key===r));s&&s.value&&(e[i]=O(s.value))}let r=t.find((t=>"date"===t.key));if(r){let t=new Date(r.value);e.date="Invalid Date"===t.toString()?r.value:t.toISOString()}return this.textContent.html&&(e.html=this.textContent.html),this.textContent.plain&&(e.text=this.textContent.plain),e.attachments=this.attachments,e.headerLines=this.root.rawHeaderLines.slice(),e}encodeAttachments(){switch(this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let t of this.attachments)t.content&&"string"!=typeof t.content&&(t.content=Tt(t.content),t.encoding="base64");break;case"utf8":{let t=new TextDecoder("utf8");for(let e of this.attachments)e.content&&"string"!=typeof e.content&&(e.content=t.decode(e.content),e.encoding="utf8");break}default:throw new Error("Unknown attachment encoding")}}async parse(t){if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,this.buf=await this.resolveInput(t),this.av=new Uint8Array(this.buf),this.readPos=0;this.readPos<this.av.length;){const t=this.readLine();await this.processLine(t.bytes,t.lineBreak,t.done)}this.forceRfc822Attachments=Boolean(this.options.forceRfc822Attachments)||this.hasReportParts(),await this.collectNode(this.root,!1,!1),this.renderTextContent();const e=this.buildMessage();return this.encodeAttachments(),e}}var Ct,$t,Vt,zt,It,_t,Mt;const Ot=new Set(["image/png","image/jpeg","image/jpg","image/gif","image/webp","image/bmp","image/x-icon","image/vnd.microsoft.icon"]);const Gt=null!==($t=null===(Ct=n.protocols)||void 0===Ct?void 0:Ct.src)&&void 0!==$t?$t:[],Ht=Object.assign(Object.assign({},n),{clobberPrefix:"",protocols:Object.assign(Object.assign({},n.protocols),{src:[...Gt,"data"]}),attributes:Object.assign(Object.assign({},n.attributes),{table:[...null!==(Vt=n.attributes.table)&&void 0!==Vt?Vt:[],"cellPadding","cellSpacing","border","dir","width","height"],font:["color","size","face"],meta:["charset","content","name"],colgroup:[...null!==(zt=n.attributes.colgroup)&&void 0!==zt?zt:[],"span"],col:[...null!==(It=n.attributes.col)&&void 0!==It?It:[],"width","span"],"*":[...null!==(_t=n.attributes["*"])&&void 0!==_t?_t:[],"style","className","id","dataRemoteSrc"]}),tagNames:[...null!==(Mt=n.tagNames)&&void 0!==Mt?Mt:[],"html","head","body","title","meta","style","colgroup","col","center","font"]});function Pt(t){const e=[/behavior\s*:/gi,/expression\s*\(/gi,/-moz-binding\s*:/gi,/vbscript\s*:/gi,/javascript\s*:/gi];let r=t;for(const t of e)r=r.replaceAll(t,"");return r=r.replaceAll(/@import\s+(?:url\([^)]{0,2000}\)|[^;]{0,2000});?/gi,""),r=r.replaceAll(/url\(\s{0,50}(?:"([^"]{0,2000})"|'([^']{0,2000})'|([^"')\s]{1,2000}))\s{0,50}\)/gi,((t,e,r,i)=>{var s,o;return(t=>{const e=t.trim().toLowerCase();return!!(e.startsWith("data:")||e.startsWith("cid:")||e.startsWith("#"))||!e.startsWith("//")&&!/^[a-z][a-z0-9+.-]*:/i.test(e)})((null!==(o=null!==(s=null!=e?e:r)&&void 0!==s?s:i)&&void 0!==o?o:"").trim())?t:'url("")'})),r}async function Ft(t){const e=await async function(t){try{const e=await fetch(t);if(!e.ok)throw new Error(`Failed to fetch email (${e.status} ${e.statusText})`);return await e.arrayBuffer()}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to load email from ${t}: ${r}`,{cause:e})}}(t),r=await async function(t,e){try{return await Bt.parse(e,{attachmentEncoding:"arraybuffer"})}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to parse email from ${t}: ${r}`,{cause:e})}}(t,e),i={subject:r.subject||void 0,from:ee(r.from),to:te(r.to),cc:te(r.cc),date:Jt(r,"date")||r.date||void 0},{attachments:s,cidUrlById:o}=function(t){const e=[],r=new Map,i=t.attachments||[];for(const t of i){const i=Yt(t.contentId),o=Boolean(i)&&"attachment"!==t.disposition||t.related||"inline"===t.disposition,n=(s=t.content)instanceof ArrayBuffer?new Uint8Array(s):ArrayBuffer.isView(s)?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):void 0;if(!o){e.push({filename:t.filename||void 0,mimeType:t.mimeType||void 0,size:null==n?void 0:n.byteLength});continue}const a=Boolean(n);if(!i||!a){e.push({filename:t.filename||void 0,mimeType:t.mimeType||"application/octet-stream",size:null==n?void 0:n.byteLength});continue}const l=Qt(t.mimeType,n,t.filename),c=Zt(n);r.set(i,`data:${l};base64,${c}`)}var s;return{attachments:e,cidUrlById:r}}(r);return s.length>0&&(i.attachments=s),await async function(t,e,r){const i=(e.html||"").trim();if(i){const e=function(t,e){return 0===e.size?t:t.replaceAll(/(src\s*=\s*["']?)cid:([^"'\s>]+)(["']?)/gi,((t,r,i,s)=>{const o=Yt(function(t){try{return decodeURIComponent(t)}catch(e){return t}}(i)),n=e.get(o);return n?`${r}${n}${s}`:t}))}(i,r);t.bodyHtml=await async function(t){const e=await a().use(l).use(c,Ht).use((()=>t=>{u(t,"element",(t=>{!function(t){var e;if((null==t?void 0:t.tagName)&&((null===(e=t.properties)||void 0===e?void 0:e.style)&&"string"==typeof t.properties.style&&(t.properties.style=Pt(t.properties.style)),"style"===t.tagName&&Array.isArray(t.children)))for(const e of t.children)"text"===(null==e?void 0:e.type)&&"string"==typeof e.value&&(e.value=Pt(e.value))}(t),function(t){var e;if(!(null==t?void 0:t.tagName)||"img"!==t.tagName)return;const r=null===(e=t.properties)||void 0===e?void 0:e.src;if("string"!=typeof r)return;const i=function(t){const e=t.trim();if(!e)return;if(!e.toLowerCase().startsWith("data:"))return;const r=function(t){var e;const r=/^data:([^;,]+)(?:;charset=[^;,]+)?(?:;base64)?,/i.exec(t);return(null===(e=null==r?void 0:r[1])||void 0===e?void 0:e.toLowerCase())||void 0}(e);return r&&Ot.has(r)?e:void 0}(r);if(i)return t.properties.src=i,void delete t.properties.dataRemoteSrc;const s=function(t){const e=t.trim(),r=e.toLowerCase();if(r.startsWith("http://")||r.startsWith("https://"))return e}(r);if(s)return t.properties.dataRemoteSrc=s,void delete t.properties.src;delete t.properties.src}(t)}))})).use(h).process(t);return e.toString()}(e)}else t.bodyText=(e.text||"").trim()||void 0}(i,r,o),i}function Jt(t,e){const r=(t.headers||[]).find((t=>t.key===e.toLowerCase()));return(null==r?void 0:r.value)||void 0}function Yt(t){if(!t)return"";let e=t.trim();return e.toLowerCase().startsWith("cid:")&&(e=e.slice(4).trim()),e.startsWith("<")&&(e=e.slice(1)),e.endsWith(">")&&(e=e.slice(0,-1)),e.trim()}function Zt(t){if("function"==typeof btoa){let e="";for(const r of t)e+=String.fromCharCode(r);return btoa(e)}return Buffer.from(t).toString("base64")}function Qt(t,e,r){const i="string"==typeof t?t.trim().toLowerCase():"",s=function(t){var e,r,i,s,o;return null!==(o=null!==(s=null!==(i=null!==(r=null!==(e=function(t){if(Kt(t,[137,80,78,71,13,10,26,10]))return"image/png"}(t))&&void 0!==e?e:function(t){if(Kt(t,[255,216,255]))return"image/jpeg"}(t))&&void 0!==r?r:function(t){const e=Wt(t,0,6);if("GIF87a"===e||"GIF89a"===e)return"image/gif"}(t))&&void 0!==i?i:function(t){const e=Wt(t,0,4),r=Wt(t,8,12);if("RIFF"===e&&"WEBP"===r)return"image/webp"}(t))&&void 0!==s?s:function(t){if(Kt(t,[0,0,1,0]))return"image/x-icon"}(t))&&void 0!==o?o:function(t){if(t.length<5)return;const e=new TextDecoder("utf-8",{fatal:!1}).decode(t.slice(0,Math.min(t.length,256))).trimStart().toLowerCase();return e.startsWith("<svg")||e.startsWith("<?xml")&&e.includes("<svg")?"image/svg+xml":void 0}(t)}(e);if(i.startsWith("image/")){if(o=i,!(n=s)||o===n||"image/jpg"===o&&"image/jpeg"===n||"image/vnd.microsoft.icon"===o&&"image/x-icon"===n)return i;if(s)return s}var o,n;if(s)return s;const a=function(t){const e=null==t?void 0:t.trim().toLowerCase();if(!e||!e.includes("."))return;return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",ico:"image/x-icon",bmp:"image/bmp"}[e.slice(e.lastIndexOf(".")+1)]}(r);return a||i||"application/octet-stream"}function Kt(t,e){return!(t.length<e.length)&&e.every(((e,r)=>t[r]===e))}function Wt(t,e,r){return t.length<r?"":String.fromCodePoint(...t.slice(e,r))}function Xt(t){return"string"==typeof t&&t.length>0}function te(t){if(!t)return;const e=(Array.isArray(t)?t:[t]).map((t=>ee(t))).filter(Xt);return e.length>0?e.join(", "):void 0}function ee(t){if(!t)return;if(Array.isArray(t))return te(t);if(t.group&&Array.isArray(t.group)){const e=(t.name||"").trim(),r=t.group.map((t=>ee(t))).filter(Xt).join(", ");return e&&r?`${e}: ${r}`:e||r||void 0}const e=(t.name||"").trim(),r=(t.address||"").trim();if(e&&r){const t=function(t){if(!t)return"";if(!t.includes(",")&&!t.includes('"'))return t;return`"${t.replaceAll("\\","\\\\").replaceAll('"',String.raw`\"`)}"`}(e);return`${t} <${r}>`}return e||r||void 0}const re=class{constructor(s){t(this,s),this.action=e(this,"action",7),this.allowFullscreen=!1,this.allowOpenInNewTab=!1,this.allowDownload=!1,this.language="en",this.officeViewer="microsoft-office",this.isFullscreen=!1,this.loading=!0,this.fileUrl="",this.renderPdf=()=>[r("div",{class:"action-menu-for-pdf-files"},this.renderActionMenu()),r("iframe",{src:this.sanitizeUrl(this.fileUrl),loading:"lazy"})],this.renderImage=()=>{var t;return r(i,null,this.renderButtons(),r(f,{image:{src:this.sanitizeUrl(this.fileUrl),alt:null!==(t=this.alt)&&void 0!==t?t:"",referrerpolicy:"no-referrer"}}))},this.renderVideo=()=>r("video",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderAudio=()=>r("audio",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderText=()=>{const t=[this.renderNoFileSupportMessage(!1)];return[this.renderButtons(),r("object",{data:this.sanitizeUrl(this.fileUrl),type:"text/plain"},t)]},this.renderEmail=()=>this.email?[this.renderButtons(),r("limel-email-viewer",{email:this.email,fallbackUrl:this.sanitizeUrl(this.fileUrl),language:this.language},r("div",{slot:"fallback"},this.renderNoFileSupportMessage(!1)))]:this.renderFileNotFoundMessage(),this.renderOffice=()=>[r("div",{class:"action-menu-for-office-files"},this.renderActionMenu()),r("iframe",{src:this.getOfficeViewerUrl()+encodeURIComponent(this.sanitizeUrl(this.fileUrl))+"&embedded=true",loading:"lazy"})],this.isOfficeFileAccessibleViaURL=()=>"office"===this.fileType&&!(this.fileUrl.startsWith("http://")||this.fileUrl.startsWith("https://")),this.getOfficeViewerUrl=()=>({"microsoft-office":"https://view.officeapps.live.com/op/embed.aspx?src=","google-drive":"https://docs.google.com/gview?url="}[this.officeViewer]),this.renderNoFileSupportMessage=(t=!0)=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.unsupported-filetype")),r("p",{style:{textAlign:"center",margin:"0 auto"}},this.getTranslation("file-viewer.message.try-other-options")),t&&this.renderDownloadButton()),this.renderFileNotFoundMessage=()=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.file-not-found"))),this.renderButtons=()=>r("div",{class:"buttons"},this.renderActionMenu(),this.renderToggleFullscreenButton(),this.renderDownloadButton(),this.renderOpenInNewTabButton()),this.renderToggleFullscreenButton=()=>{if(!this.allowFullscreen||!this.fullscreen.isSupported())return;const t=this.isFullscreen?"multiply":"fit_to_width",e=this.getTranslation(this.isFullscreen?"file-viewer.exit-fullscreen":"file-viewer.open-in-fullscreen");return[r("button",{class:"button--toggle-fullscreen",id:"tooltip-toggle-fullscreen",role:"button",onClick:this.handleToggleFullscreen},r("limel-icon",{name:t}),r("limel-tooltip",{label:e,elementId:"tooltip-toggle-fullscreen",openDirection:"left"}))]},this.renderDownloadButton=()=>{var t;if(this.allowDownload&&!this.isFullscreen)return r("a",{class:"button--download",id:"tooltip-download",role:"button",download:null!==(t=this.filename)&&void 0!==t?t:"",href:this.sanitizeUrl(this.fileUrl),target:"_blank"},r("limel-icon",{name:"download_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.download"),elementId:"tooltip-download",openDirection:"left"}))},this.renderOpenInNewTabButton=()=>{if(this.allowOpenInNewTab&&!this.isFullscreen)return r("a",{class:"button--new-tab",id:"tooltip-new-tab",role:"button",href:this.sanitizeUrl(this.fileUrl),target:"_blank",rel:"noopener noreferrer"},r("limel-icon",{name:"external_link"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.open-in-new-tab"),elementId:"tooltip-new-tab",openDirection:"left"}))},this.renderActionMenu=()=>{if(this.actions&&!this.isFullscreen)return r("limel-menu",{class:"action-menu",items:this.actions,onSelect:this.emitOnAction,"open-direction":"left"},r("button",{class:"button--action",id:"tooltip-more",role:"button",slot:"trigger"},r("limel-icon",{name:"menu_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.more-actions"),elementId:"tooltip-more",openDirection:"left"})))},this.createURL=async t=>{this.revokePdfBlobUrl();const e={pdf:this.loadPdf,email:this.loadEmail}[t]||this.loadDefault;try{await e()}finally{this.loading=!1}},this.loadPdf=async()=>{const t=await fetch(this.url);if(!t.ok)throw new Error(`Failed to load PDF (${t.status} ${t.statusText})`);const e=await t.blob();this.fileUrl=URL.createObjectURL(e),this.pdfBlobUrl=this.fileUrl},this.loadEmail=async()=>{try{this.email=await Ft(this.url),this.fileUrl=this.url}catch(t){this.email=void 0,this.fileUrl=""}},this.loadDefault=async()=>{this.fileUrl=this.url},this.handleToggleFullscreen=()=>{this.fullscreen.isSupported()&&(this.fullscreen.toggle(),this.isFullscreen=!this.isFullscreen)},this.emitOnAction=t=>{t.stopPropagation(),this.action.emit(t.detail)},this.fullscreen=new p(this.HostElement)}disconnectedCallback(){void 0!==this.revokeAnimationFrame&&cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=requestAnimationFrame((()=>{this.revokePdfBlobUrl(),this.revokeAnimationFrame=void 0}))}connectedCallback(){void 0!==this.revokeAnimationFrame&&(cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=void 0)}async componentWillLoad(){this.fileType=d(this.filename,this.url),await this.createURL(this.fileType)}render(){return this.isOfficeFileAccessibleViaURL?this.loading?r("limel-spinner",{size:"x-small",limeBranded:!1}):this.renderFileViewer():this.renderNoFileSupportMessage()}async watchUrl(t,e){t!==e&&(this.loading=!0,this.fileType=d(this.filename,this.fileUrl),await this.createURL(this.fileType))}renderFileViewer(){return({pdf:this.renderPdf,image:this.renderImage,video:this.renderVideo,audio:this.renderAudio,text:this.renderText,email:this.renderEmail,office:this.renderOffice}[this.fileType]||this.renderNoFileSupportMessage)()}revokePdfBlobUrl(){this.pdfBlobUrl&&(URL.revokeObjectURL(this.pdfBlobUrl),this.pdfBlobUrl=void 0)}sanitizeUrl(t){if(!(null==t?void 0:t.trim()))return"";try{const e=new URL(t,window.location.href);return["http:","https:","blob:"].includes(e.protocol)?e.href:""}catch(t){return""}}getTranslation(t){return o.get(t,this.language)}get HostElement(){return s(this)}static get watchers(){return{url:[{watchUrl:0}]}}};re.style='@charset "UTF-8";.buttons{position:absolute;z-index:1;bottom:0.25rem;right:0.25rem;display:flex;flex-direction:column;gap:0.25rem}@media (pointer: coarse){.buttons{gap:0.5rem}}.no-support{display:flex;flex-direction:column;gap:0.5rem;align-items:center;border:1px dashed rgb(var(--contrast-600));border-radius:0.5rem;padding:1.25rem}.no-support h1,.no-support p{margin:0}[class^=button--]{all:unset;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}[class^=button--]:hover,[class^=button--]:focus,[class^=button--]:focus-visible{will-change:color, background-color, box-shadow, transform}[class^=button--]:hover,[class^=button--]:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}[class^=button--]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}[class^=button--]:hover,[class^=button--]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}[class^=button--]:focus{outline:none}[class^=button--]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}[class^=button--]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:var(--limel-file-viewer-size-of-buttons);height:var(--limel-file-viewer-size-of-buttons);background-color:rgba(var(--contrast-100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}[class^=button--] limel-icon{transition:color 0.2s ease;width:1.25rem;color:rgb(var(--contrast-1200))}[class^=button--]:hover limel-icon{color:rgb(var(--contrast-1400))}.action-menu-for-pdf-files,.action-menu-for-office-files{position:absolute;right:0.75rem}.action-menu-for-pdf-files{bottom:0.75rem}.action-menu-for-office-files{top:0.75rem}:host{--limel-file-viewer-size-of-buttons:2rem;isolation:isolate;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%}*{box-sizing:border-box}img,video,audio,object,iframe{max-height:100%;max-width:100%;box-sizing:border-box}iframe{border:none;width:100%;height:100%;min-height:20rem}img{min-width:7rem;object-fit:contain}video{width:100%;height:auto}audio{width:100%}object{width:100%;height:100%}object[type="application/pdf"]{min-height:20rem}object[type="text/plain"]{border-radius:0.25rem;padding-right:var(--limel-file-viewer-size-of-buttons);overflow-y:auto}:host(:fullscreen){background-color:rgb(var(--color-gray-darker))}:host(:fullscreen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}:host(:-webkit-full-screen){background-color:rgb(var(--color-gray-darker))}:host(:-webkit-full-screen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}';export{re as limel_file_viewer}
1
+ import{r as t,c as e,h as r,F as i,a as s}from"./p-BU9IJqli.js";import{t as o}from"./p-B26k4gw8.js";import{d as n,u as a,r as l,a as c,v as u,b as h}from"./p-_UXAljNc.js";import{I as f}from"./p-N9vxZMhe.js";import"./p-ChagAaNf.js";import"./p-B85MJLTf.js";function d(t,e){const r=t||e;return r&&{pdf:"pdf",jpg:"image",jpeg:"image",heic:"image",bmp:"image",png:"image",gif:"image",svg:"image",svgz:"image",ep:"image",eps:"image",avi:"video",flv:"video",h264:"video",mov:"video",mp4:"video",mwv:"video",mkv:"video",mp3:"audio",wav:"audio",wma:"audio",ogg:"audio",txt:"text",json:"text",html:"text",xml:"text",eml:"email",doc:"office",docx:"office",odt:"office",dot:"office",dotx:"office",docm:"office",dotm:"office",pot:"office",ppt:"office",pptx:"office",odp:"office",potx:"office",potm:"office",pps:"office",ppsx:"office",ppsm:"office",pptm:"office",ppam:"office",pages:"office",xls:"office",xlsx:"office",xlsm:"office",xlsb:"office",ods:"office",csv:"office",numbers:"office"}[r.split(".").pop().toLowerCase()]||"unknown"}class p{constructor(t){this.requestFullscreen=()=>{this.enter&&this.enter()},this.exitFullscreen=()=>{this.exit&&this.exit.bind(window.document)()},this.toggle=()=>{const t=window.document;t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?this.exitFullscreen():this.requestFullscreen()},this.enter=t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullscreen,this.enter&&(this.enter=this.enter.bind(t));const e=window.document;this.exit=e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen}isSupported(){return!!this.enter}}const m=new TextEncoder,g=t=>32===t||9===t,b=new Uint8Array(256);for(let t=0;t<64;t++)b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(t)]=t;function w(t){let e=t.length;for(;e>0&&"="===t.charAt(e-1);)e--;e%4==1&&e--;const r=e%4,i=3*Math.floor(e/4)+(r?r-1:0),s=new ArrayBuffer(i),o=new Uint8Array(s);let n=0;for(let r=0;r<e;r+=4){let e=b[t.charCodeAt(r)],s=b[t.charCodeAt(r+1)],a=b[t.charCodeAt(r+2)],l=b[t.charCodeAt(r+3)];o[n++]=e<<2|s>>4,n<i&&(o[n++]=(15&s)<<4|a>>2),n<i&&(o[n++]=(3&a)<<6|63&l)}return s}const v=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),y=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),x=/^(?:cp|windows|ms|ibm)(\d+)$/,q=new Set(["unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8","866 cp866 csibm866 ibm866","csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2","csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3","csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4","csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988","arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e","iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987","csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7","iso_8859-7:1987 sun_eu_greek","csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8","iso_8859-8:1988 visual","csiso88598i iso-8859-8-i logical","csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6","iso-8859-13 iso8859-13 iso885913","iso-8859-14 iso8859-14 iso885914","csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9","iso-8859-16","cskoi8r koi koi8 koi8-r koi8_r","koi8-ru koi8-u","csmacintosh mac macintosh x-mac-roman","dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874","cp1250 windows-1250 x-cp1250","cp1251 windows-1251 x-cp1251","ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591","iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252","cp1253 windows-1253 x-cp1253","cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5","windows-1254 x-cp1254","cp1255 windows-1255 x-cp1255","cp1256 windows-1256 x-cp1256","cp1257 windows-1257 x-cp1257","cp1258 windows-1258 x-cp1258","x-mac-cyrillic x-mac-ukrainian","chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk","gb18030","big5 big5-hkscs cn-big5 csbig5 x-x-big5","cseucpkdfmtjapanese euc-jp x-euc-jp","csiso2022jp iso-2022-jp","csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis","cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601","windows-949","csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement","unicodefffe utf-16be","csunicode iso-10646-ucs-2 ucs-2 unicode unicodefeff utf-16 utf-16le","x-user-defined"].join(" ").split(" ")),k=new Map;function A(t){if(!q.has(t))return null;let e=k.get(t);if(void 0===e){e=null;try{e=new TextDecoder(t)}catch{}k.set(t,e)}return e}const E=new TextDecoder;function D(t){const e=A(t=(t||"utf8").trim().toLowerCase());if(e)return e;const r=function(t){return t.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}(t),i=r.match(x);return A(i&&y.get(i[1])||v.get(r)||r)}function S(t){return D(t)||A("windows-1252")||E}function L(t,e=E){const r=t instanceof Uint8Array?t:new Uint8Array(t);return function(t){for(let e=0;e<t.length;){const r=t[e];if(r<128){e++;continue}let i;if(r>=194&&r<=223)i=1;else if(r>=224&&r<=239)i=2;else{if(!(r>=240&&r<=244))return!1;i=3}if(e+i>=t.length)return!1;const s=t[e+1];if(s<(224===r?160:240===r?144:128)||s>(237===r?159:244===r?143:191))return!1;for(let r=2;r<=i;r++)if(128!=(192&t[e+r]))return!1;e+=i+1}return!0}(r)?e.decode(r):S("windows-1252").decode(r)}function T(t,e){const r=D(e);return r?r.decode(t):L(t)}const j=/charset\s*=\s*["']?\s*([^\s"';>]+)/,R=new Set(["utf-16le","utf-16be"]);async function U(t){if("arrayBuffer"in t)return await t.arrayBuffer();const e=new FileReader;return new Promise(((r,i)=>{e.onload=()=>{r(e.result)},e.onerror=()=>{i(e.error)},e.readAsArrayBuffer(t)}))}function N(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-97+10:t>=65&&t<=70?t-65+10:-1}function B(t){return t.replace(/[\r\n]+/g," ")}function C(t,e,r){let i,s=t.indexOf("*");if(s>=0&&(t=t.slice(0,s)),"Q"===(e=e.toUpperCase())){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let t=m.encode(r),e=[];for(let r=0,i=t.length;r<i;r++){let s=t[r];if(r<=i-2&&61===s){let i=N(t[r+1]),s=N(t[r+2]);if(i>=0&&s>=0){e.push(i<<4|s),r+=2;continue}}e.push(s)}i=new ArrayBuffer(e.length);let s=new DataView(i);for(let t=0,r=e.length;t<r;t++)s.setUint8(t,e[t])}else i="B"===e?w(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):m.encode(r);return B(T(i,t))}const $="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",I=new RegExp($,"g"),V=/^[ \t\r\n]+$/,z=new RegExp(`^(?:${$}\\s*)+$`);function M(t,e){const r=t.encoding.toUpperCase();return t.charset===e.charset&&r===e.encoding.toUpperCase()&&("B"!==r||t.encodedText.length%4==0&&!t.padded)}function O(t,e){let r="",i=null;for(let s=0;s<t.length;s++){const o=t[s];if(void 0===o.text)i&&e&&M(i,o)?(i.encodedText+=o.encodedText,i.padded=o.encodedText.endsWith("=")):(i&&(r+=C(i.charset,i.encoding,i.encodedText)),i={charset:o.charset,encoding:o.encoding,encodedText:o.encodedText,padded:o.encodedText.endsWith("=")});else{const e=t[s+1];if(i&&e&&void 0===e.text&&V.test(o.text))continue;i&&(r+=C(i.charset,i.encoding,i.encodedText),i=null),r+=o.text}}return i&&(r+=C(i.charset,i.encoding,i.encodedText)),r}function _(t){const e=function(t){const e=[];I.lastIndex=0;let r,i=0;for(;r=I.exec(t);)r.index>i&&e.push({text:t.substring(i,r.index)}),e.push({charset:r[1],encoding:r[2],encodedText:r[3]}),i=r.index+r[0].length;return i<t.length&&e.push({text:t.substring(i)}),e}((t||"").toString()),r=O(e,!0);return r.indexOf("�")<0?r:O(e,!1)}function G(t,e){e=e||"utf-8";let r=[];for(let e=0;e<t.length;e++){let i=t.charAt(e);const s="%"===i?N(t.charCodeAt(e+1)):-1,o=s>=0?N(t.charCodeAt(e+2)):-1;if(o>=0)r.push(s<<4|o),e+=2;else if(i.charCodeAt(0)>126){const t=m.encode(i);for(let e=0;e<t.length;e++)r.push(t[e])}else r.push(i.charCodeAt(0))}const i=new ArrayBuffer(r.length),s=new DataView(i);for(let t=0,e=r.length;t<e;t++)s.setUint8(t,r[t]);return T(i,e)}class H{constructor(){this.chunks=[],this.runBuffer=null,this.runStart=0,this.runEnd=0,this.pendingLineBreak=null}continuesRun(t){return t.buffer===this.runBuffer&&t.byteOffset===this.runEnd}flushRun(){this.runBuffer&&this.runEnd>this.runStart&&this.chunks.push(new Uint8Array(this.runBuffer,this.runStart,this.runEnd-this.runStart)),this.runBuffer=null}update(t,e){const r=this.pendingLineBreak;r&&this.continuesRun(r)&&t.buffer===this.runBuffer&&t.byteOffset===this.runEnd+r.byteLength||(this.flushRun(),r&&this.chunks.push(r),this.runBuffer=t.buffer,this.runStart=t.byteOffset),this.runEnd=t.byteOffset+t.byteLength,this.pendingLineBreak=e}finalize(t=!1){const e=this.pendingLineBreak;return!t&&e&&(this.continuesRun(e)?this.runEnd+=e.byteLength:(this.flushRun(),this.chunks.push(e))),this.flushRun(),U(new Blob(this.chunks,{type:"application/octet-stream"}))}}class P{constructor(t=102400){this.maxChunkSize=t,this.buffer=null,this.bufferPos=0,this.chunks=[]}writeByte(t){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize)),this.buffer[this.bufferPos++]=t}writeBytes(t,e=0,r=t.length){for(;e<r;){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize));const i=Math.min(r-e,this.buffer.length-this.bufferPos);this.buffer.set(t.subarray(e,e+i),this.bufferPos),this.bufferPos+=i,e+=i}}append(t){t.length>=this.maxChunkSize/2?(this.flush(),this.chunks.push(t)):this.writeBytes(t)}flush(){this.buffer&&this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}finalize(){return this.flush(),U(new Blob(this.chunks,{type:"application/octet-stream"}))}}class F{constructor(t){this.decoder=(t=t||{}).decoder||new TextDecoder,this.maxChunkSize=102400,this.output=new P,this.remainder=""}pushChunk(t){t.length&&this.output.append(new Uint8Array(w(t)))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(t){let e,r=this.decoder.decode(t).replace(/[^a-zA-Z0-9+/=]+/g,""),i=0;for(;(e=r.indexOf("=",i))>=0;)this.remainder+=r.substring(i,e),this.flushRemainder(),i=e+1;if(this.remainder+=r.substring(i),this.remainder.length>=this.maxChunkSize){const t=4*Math.floor(this.remainder.length/4);this.pushChunk(this.remainder.substring(0,t)),this.remainder=this.remainder.substring(t)}}finalize(){return this.flushRemainder(),this.output.finalize()}}class J{constructor(){this.output=new P,this.pendingLineBreak=null}writeLineBreak(){this.pendingLineBreak&&this.output.writeBytes(this.pendingLineBreak)}update(t,e){this.writeLineBreak();let r=t.length;for(;r>0&&g(t[r-1]);)r--;const i=r>0&&61===t[r-1];i&&r--;let s=0;for(let e=0;e<r;e++){if(61!==t[e]||e+2>=r)continue;const i=N(t[e+1]),o=N(t[e+2]);i<0||o<0||(this.output.writeBytes(t,s,e),this.output.writeByte(i<<4|o),e+=2,s=e+1)}this.output.writeBytes(t,s,r),this.pendingLineBreak=i?null:e}finalize(t=!1){return t||this.writeLineBreak(),this.output.finalize()}}const Z=new TextDecoder("utf-8",{ignoreBOM:!0}),Y=t=>{let e=0,r=t.length;for(;e<r&&g(t.charCodeAt(e));)e++;for(;r>e&&g(t.charCodeAt(r-1));)r--;return t.slice(e,r)},Q=/^[!-9;-~]+[ \t]*:/,K=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class W{constructor(t){this.options=t,this.postalMime=t.postalMime;const e=this.postalMime.limits;if(this.postalMime.counters.partCount++,this.postalMime.counters.partCount>e.maxPartCount)throw new Error(`Maximum MIME part count of ${e.maxPartCount} parts exceeded`);if(this.childNodes=[],this.finalizedChildCount=0,t.parentNode){if(this.parentNode=t.parentNode,this.depth=this.parentNode.depth+1,this.depth>e.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${e.maxNestingDepth} levels exceeded`);t.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[],this.lastLineBlank=!1;const r="digest"===(t.parentMultipartType||null)?"message/rfc822":"text/plain";this.contentType={value:r,parsed:{value:r,params:{}},multipart:!1},this.contentTransferEncoding={value:"8bit",encoding:""},this.contentDisposition={value:"",parsed:{value:"",params:{}}},this.headers=[],this.rawHeaderLines=[],this.contentDecoder=null,this.content=null}setupContentDecoder(t){this.contentDecoder=/base64/i.test(t)?new F:/quoted-printable/i.test(t)?new J:new H}async finalize(t=!1){if("finished"===this.state)return;"header"===this.state&&this.endHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(t),this.content=this.contentDecoder?await this.contentDecoder.finalize(t):null,this.contentDecoder=null,this.state="finished"}async finalizeChildNodes(t=!1){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize(t)}stripComments(t){let e="",r=0,i=!1,s=!1,o=-1,n=!1,a=!1;const l=t=>{e+=t,a=" "===t||"\t"===t};for(let c=0;c<t.length;c++){const u=t.charAt(c);if(i)0===r&&l(u),i=!1;else if("\\"!==u)if('"'!==u||0!==r){if(!s){if("("===u&&(!n||!e.length||a)){0===r&&(o=c),r++;continue}if(")"===u&&r>0){r--;continue}0===r&&("="===u?n=!0:";"===u&&(n=!1))}0===r&&l(u)}else s=!s,l(u);else i=!0,0===r&&l(u)}return 0===r||t.indexOf(";",o)<0?e:t}parseStructuredHeader(t){t=this.stripComments(t);let e,r={value:"",params:{}},i=!1,s="",o="value",n="",a=!1,l=!1,c=!1;const u=()=>{s.length&&(s+=n),n=""},h=t=>{u(),s+=t},f=()=>{const t=s;return s="",n="",a=!1,t},d=(t,e)=>{t&&!Object.prototype.hasOwnProperty.call(r.params,t)&&(r.params[t]=e)},p=()=>{const t=f();!1===i?r.value=t:d(i,t)},m=()=>{d(f().trim().toLowerCase(),"")};for(let r=0,d=t.length;r<d;r++)switch(e=t.charAt(r),o){case"key":if("="===e){i=f().trim().toLowerCase(),o="value";break}if(";"===e){m();break}s+=e;break;case"value":if(a&&";"!==e){c=!1;break}if(c)h(e);else{if(l&&"\\"===e){c=!0;continue}l&&e===l?(l=!1,a=!0):l||'"'!==e?l||";"!==e?l||" "!==e&&"\t"!==e?h(e):n+=e:(p(),o="key"):(l=e,u())}c=!1}return"value"===o?p():m(),r.value&&(r.value=r.value.toLowerCase()),function(t){let e=new Map;Object.keys(t.params).forEach((r=>{let i=r.match(/\*((\d+)\*?)?$/);if(!i)return;let s=r.slice(0,i.index).toLowerCase(),o=Number(i[2])||0,n=e.get(s);n||(n={charset:null,values:[]},e.set(s,n));let a=t.params[r],l="*"===i[0].charAt(i[0].length-1);0===o&&l&&(i=a.match(/^([^']*)'[^']*'(.*)$/))&&(n.charset=i[1]||"utf-8",a=i[2]),n.values.push({nr:o,value:a,encoded:l}),delete t.params[r]})),e.forEach(((e,r)=>{if(Object.prototype.hasOwnProperty.call(t.params,r))return;let i="",s="";for(let t of e.values.sort(((t,e)=>t.nr-e.nr)))t.encoded?s+=t.value:(s&&(i+=G(s,e.charset),s=""),i+=t.value);s&&(i+=G(s,e.charset)),t.params[r]=i}))}(r),r}decodeFlowedText(t,e){const r=[];let i=[],s=!1,o=0;for(let n=0;n<=t.length;){let a=t.indexOf("\n",n);a<0&&(a=t.length);const l=t.slice(n,a);let c=0;for(;62===l.charCodeAt(c);)c++;const u=32===l.charCodeAt(c)?c+1:c,h=l.slice(u),f="-- "===h;if(s&&c===o&&!f?(e&&(i[i.length-1]=i[i.length-1].slice(0,-1)),i.push(h)):(n&&i.push("\n"),i.push(c?l:h)),s=!f&&h.endsWith(" "),o=c,i.length>=4096){const t=i.pop();r.push(i.join("")),i=[t]}n=a+1}return r.push(i.join("")),r.join("")}getTextContent(){if(!this.content)return"";let t=function(t,e,r){const i=new Uint8Array(t);if(e)return T(i,e);const s=r?function(t){const e=E.decode(t.subarray(0,1024)).toLowerCase();let r=0;for(;(r=e.indexOf("<meta",r))>=0;){let t=e.indexOf(">",r);t<0&&(t=e.length);const i=j.exec(e.slice(r,t));if(i)return i[1];r=t}return null}(i):null,o=s?D(s):null;return!o||R.has(o.encoding)?L(i):("x-user-defined"===o.encoding?S("windows-1252"):o).decode(i)}(this.content,this.contentType.parsed.params.charset,"text/html"===this.contentType.parsed.value).replace(/\r\n/g,"\n");return/^flowed$/i.test(this.contentType.parsed.params.format)&&(t=this.decodeFlowedText(t,/^yes$/i.test(this.contentType.parsed.params.delsp))),t}processHeaders(){let t=[];for(let e of this.headerLines)t.length&&/^[ \t]/.test(e)?t[t.length-1].push(e):t.push([e]);let e=new Set;for(let r of t){let t=r.join("\n"),i=t.indexOf(":"),s=Y(i<0?t:t.slice(0,i));this.rawHeaderLines.push({key:s.toLowerCase(),line:t});let o=r.join("");i=o.indexOf(":");let n=Y(i<0?o:o.slice(0,i)),a=i<0?"":Y(B(o.slice(i+1)));this.headers.push({key:n.toLowerCase(),originalKey:n,value:a});const l=n.toLowerCase();if(K.has(l)&&!e.has(l))switch(e.add(l),l){case"content-type":this.contentType.value=a;break;case"content-transfer-encoding":this.contentTransferEncoding.value=a;break;case"content-disposition":this.contentDisposition.value=a;break;case"content-id":this.contentId=a;break;case"content-description":this.contentDescription=a}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=!!/^multipart\//i.test(this.contentType.parsed.value)&&this.contentType.parsed.value.slice(this.contentType.parsed.value.indexOf("/")+1),this.contentType.multipart&&!this.contentType.parsed.params.boundary&&(this.contentType.parsed.value="text/plain",this.contentType.multipart=!1),this.contentType.multipart&&this.postalMime.boundaries.push({value:m.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/[\w-]+/)||[""])[0],this.setupContentDecoder(this.contentTransferEncoding.encoding),this.headerLines=[]}endHeaders(){this.state="body",this.processHeaders()}feed(t,e){switch(this.state){case"header":{if(!t.length)return this.endHeaders(),!1;this.postalMime.counters.headerSize+=Math.max(t.length,64);const e=this.postalMime.limits.maxHeadersSize;if(this.postalMime.counters.headerSize>e)throw new Error(`Maximum header size of ${e} bytes exceeded`);const r=L(t,Z);if(this.lastLineBlank&&!g(t[0])&&!Q.test(r))return this.headerLines.pop(),this.endHeaders(),!0;this.headerLines.push(r),this.lastLineBlank=(t=>t.every(g))(t);break}case"body":this.contentDecoder&&this.contentDecoder.update(t,e)}return!1}}const X={"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":"\n","&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":"\t","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&bfr;":"𝔟","&bigcap;":"⋂","&bigcirc;":"◯","&bigcup;":"⋃","&bigodot;":"⨀","&bigoplus;":"⨁","&bigotimes;":"⨂","&bigsqcup;":"⨆","&bigstar;":"★","&bigtriangledown;":"▽","&bigtriangleup;":"△","&biguplus;":"⨄","&bigvee;":"⋁","&bigwedge;":"⋀","&bkarow;":"⤍","&blacklozenge;":"⧫","&blacksquare;":"▪","&blacktriangle;":"▴","&blacktriangledown;":"▾","&blacktriangleleft;":"◂","&blacktriangleright;":"▸","&blank;":"␣","&blk12;":"▒","&blk14;":"░","&blk34;":"▓","&block;":"█","&bne;":"=⃥","&bnequiv;":"≡⃥","&bnot;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&nscr;":"𝓃","&nshortmid;":"∤","&nshortparallel;":"∦","&nsim;":"≁","&nsime;":"≄","&nsimeq;":"≄","&nsmid;":"∤","&nspar;":"∦","&nsqsube;":"⋢","&nsqsupe;":"⋣","&nsub;":"⊄","&nsubE;":"⫅̸","&nsube;":"⊈","&nsubset;":"⊂⃒","&nsubseteq;":"⊈","&nsubseteqq;":"⫅̸","&nsucc;":"⊁","&nsucceq;":"⪰̸","&nsup;":"⊅","&nsupE;":"⫆̸","&nsupe;":"⊉","&nsupset;":"⊃⃒","&nsupseteq;":"⊉","&nsupseteqq;":"⫆̸","&ntgl;":"≹","&ntilde":"ñ","&ntilde;":"ñ","&ntlg;":"≸","&ntriangleleft;":"⋪","&ntrianglelefteq;":"⋬","&ntriangleright;":"⋫","&ntrianglerighteq;":"⋭","&nu;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},tt=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function et(t){return t.trim().replace(/[<>"'?&]/g,(t=>{let e=t.charCodeAt(0).toString(16);return e.length<2&&(e="0"+e),"&#x"+e.toUpperCase()+";"}))}const rt=/[\n\r\u2028\u2029]/g;function it(t,e){let r=1/0,i=null;return s=>((s<r||i&&s>i.index)&&(e.lastIndex=s,i=e.exec(t),r=s),i)}function st(t,e){const r=t.lastIndexOf(">")+1;return e(t.slice(0,r))+t.slice(r)}function ot(t,e,r){return st(t,(t=>t.replace(e,r)))}function nt(t,e,r,i){const s=[];let o=0,n=0;for(;;){e.lastIndex=n;const a=e.exec(t);if(!a)break;const l=a.index,c=t.indexOf(">",l);if(c<0)break;r.lastIndex=l;const u=r.exec(t);u?(s.push(t.slice(o,l),i(...u)),o=n=l+u[0].length):n=c+1}return s.push(t.slice(o)),s.join("")}function at(t,e,r,i,s,o){const n=it(t,/>/g),a=it(t,i),l=it(t,rt),c=[];let u=0,h=0;for(;;){e.lastIndex=h;const i=e.exec(t);if(!i)break;const f=i.index;h=f+1;let d=f+i[0].length;if(r){const t=n(d);if(!t)break;d=t.index+1}const p=a(d);if(!p)break;const m=l(d);if(m&&m.index<p.index)continue;let g=p.index+p[0].length;if(s){const t=n(g);if(!t)break;g=t.index+1}c.push(t.slice(u,f),o),u=h=g}return c.push(t.slice(u)),c.join("")}function lt(t,e){const r=t.search(rt),i=Math.min(r<0?t.length:r,t.lastIndexOf(">"));let s,o=-1;for(e.lastIndex=0;(s=e.exec(t))&&s.index<i;)o=s.index;return o<0?t:t.slice(t.indexOf(">",o)+1)}function ct(t,e){const r=function(t){return Math.max(t.lastIndexOf("\n"),t.lastIndexOf("\r"),t.lastIndexOf("\u2028"),t.lastIndexOf("\u2029"))}(t);e.lastIndex=r<0?0:t.lastIndexOf(">",r)+1;const i=e.exec(t);return i&&i.index<t.lastIndexOf(">")?t.slice(0,i.index):t}function ut(t){if("undefined"==typeof Intl)return t;const e=new Date(t);return isNaN(e.getTime())?t:new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}).format(e)}function ht(t){let e=[],r=(t,i)=>{if(i&&e.push(", "),t.group){let i=";";e.push(`${t.name}:`),t.group.forEach(r),e.push(i)}else e.push(function(t){return(t.name?[t.name,`<${t.address}>`]:[t.address]).join(" ")}(t))};return t.forEach(r),e.join("")}function ft(t){let e=[],r=(t,i)=>{if(i&&e.push('<span class="postal-email-address-separator">, </span>'),t.group){let i=`<span class="postal-email-address-group">${et(t.name)}:</span>`,s='<span class="postal-email-address-group">;</span>';e.push(i),t.group.forEach(r),e.push(s)}else e.push(function(t){return`<a href="mailto:${et(t.address)}" class="postal-email-address">${et(t.name||`<${t.address}>`)}</a>`}(t))};return t.forEach(r),e.join(" ")}class dt{constructor(t){this.str=t,this.slots=new Int32Array(48),this.length=0,this.cleaned=new Map}push(t,e,r){if(3*(this.length+1)>this.slots.length){const t=new Int32Array(2*this.slots.length);t.set(this.slots),this.slots=t}const i=3*this.length;return this.slots[i]=t,this.slots[i+1]=e,this.slots[i+2]=r,this.length++}operatorAt(t){const e=3*t;return 1&this.slots[e]?this.str.charAt(this.slots[e+1]):""}isOperator(t){return!!(1&this.slots[3*t])}noBreak(t){return!!(2&this.slots[3*t])}value(t){const e=this.cleaned.get(t);return void 0!==e?e:this.str.slice(this.slots[3*t+1],this.slots[3*t+2])}}const pt=/\s/,mt=/^("(?:[^"\\]|\\[\s\S])*"@\S+)(?:\s+([\s\S]+))?$/,gt=/^[^@\s]+@[^@\s]+$/,bt=/^[^@\s]+@\[[^[\]\\\s]*\]$/,wt=/^@(?:[^@\s"]+|\[[^[\]\\\s]*\])$/;function vt(t){return gt.test(t)||bt.test(t)}const yt=/^[^@\s]+@\S+$/,xt=/\s*\b[^@\s]+@[^\s]+\b\s*/y,qt=/@(\[[^[\]\\]*\])$/;function kt(t){const e="]"===t.charAt(t.length-1)?qt.exec(t):null;return e?t.length-e[1].length-1:t.lastIndexOf("@")}function At(t){const e=kt(t);if(e<0)return t;const r=t.substring(0,e);return/^[^\s"(),:;<>@[\\\]]+$/.test(r)||/^"(?:[^"\\]|\\[\s\S])*"$/.test(r)?t:'"'+r.replace(/["\\]/g,"\\$&")+'"@'+t.substring(e+1)}function Et(t){return 32===t||t>=9&&t<=13||160===t||5760===t||t>=8192&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t||65279===t}function Dt(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t}function St(t,e){return Dt(t.charCodeAt(e-1))!==Dt(t.charCodeAt(e))}function Lt(t,e,r){for(let i=e;i<r;i++)if(64===t.charCodeAt(i))return i;return-1}const Tt=/^"(?:[^"\\]|\\[\s\S])*"/;function jt(t,e){if(e<0)return t;let r=e;for(;r>0&&Et(t.charCodeAt(r-1));)r--;let i=e+1;for(;i<t.length&&Et(t.charCodeAt(i));)i++;return r===e&&i===e+1?t:t.slice(0,r)+"@"+t.slice(i)}function Rt(t){const e=Tt.exec(t);if(e){let r=e[0].length;for(;r<t.length&&Et(t.charCodeAt(r));)r++;if("@"===t.charAt(r)&&t.indexOf("@",r+1)<0)return jt(t,r)}const r=t.indexOf("@");return r<0||t.indexOf("@",r+1)>=0||t.lastIndexOf('"')>r?t:jt(t,r)}function Ut(t){const e=t.length;let r=0;for(;r<e;){for(;r<e&&Et(t.charCodeAt(r));)r++;if(r>=e)break;const i=r;let s=r;for(;s<e&&!Et(t.charCodeAt(s));)s++;let o=Lt(t,i,s);if(o>=0){let e=-1;for(let r=s;r>i;r--)if(St(t,r)){e=r;break}let r=i;for(;e>=0&&o>=0;){if(o>r&&s>o+1&&e>o+1)for(let e=r;e<o;e++)if(St(t,e)){if(e>i)return e;let r=i;for(;r>0&&Et(t.charCodeAt(r-1));)r--;return r}r=o+1,o=Lt(t,r,s)}}r=s}return-1}function Nt(t){const e=[];let r="",i="",s=0,o="",n="",a=!1,l="",c=!1,u=-1;for(let h=0,f=t.length;h<f;h++){const d=t.charAt(h);if(s)"\\"===d&&h<f-1?i+=t.charAt(++h):"("===d?(s++,i+=d):")"!==d||--s?i+=d:(e.push(i.trim()),i="",a="@"!==n);else{if(a&&"("!==d&&(a=!1,"@"===d||"<"===d||Et(t.charCodeAt(h))||(r+=" ",n=" ")),o){if("\\"===d&&'"'===o&&h<f-1){r+=d+t.charAt(++h),n=t.charAt(h);continue}d===o&&(o="")}else if('"'===d)o='"',c=!0;else if(":"===d&&u<0&&"@"===l&&!c)u=r.length+1;else if("["===d)o="]";else{if("("===d){s=1;continue}if("<"===d){r="",n="",e.length=0,l="",c=!1,u=-1;continue}}r+=d,n=d,l||Et(t.charCodeAt(h))||(l=d)}}return u>=0&&r.indexOf("@",u)>=0&&(r=r.slice(u)),s&&e.push(i.trim()),{address:r.trim(),comments:e.filter((t=>t))}}function Bt(t,e,r){let i,s="text",o={address:[],comment:[],text:[],textWasQuoted:[],quotedLocalAt:[]},n=!1,a=!1;const l={address:"",comment:"",text:""};for(i=e;i<r;i++){const r=t.value(i),c=i>e?t.operatorAt(i-1):"",u=i>e&&t.noBreak(i-1);if(t.isOperator(i))switch(r){case"<":s="address",a=!1;break;case"(":s="comment",a=!1;break;case'"':a=!a,s="text";break;default:s="text",a=!1}else{const h='"'===c&&u&&i>e+1&&'"'===t.operatorAt(i-2);if(u&&o[s].length&&(")"!==c||"@"===l[s]||"@"===r.charAt(0))){const t=o[s].length-1;"text"!==s||a||(n&&"@"===r.charAt(0)&&(o.quotedLocalAt[t]=o.text[t].length),n=!1),o[s][t]+=r,"text"===s&&a&&(o.textWasQuoted[t]=!0)}else o[s].push(r),"text"===s&&(o.textWasQuoted.push(a||h),o.quotedLocalAt.push(h&&"@"===r.charAt(0)?0:-1),n=a);l[s]=r.charAt(r.length-1)}}let c=!1;return!o.text.length&&o.comment.length&&(o.text=o.comment,o.comment=[],c=!0),{data:o,textFromComment:c}}function Ct(t,e,r){return _(Bt(t,e,r).data.text.join(" "))}function $t(t,e,r,i){const s=Bt(t,e,r),o=s.data;let n,a=s.textFromComment;const l=[],c=[];for(const t of o.address){const e=Nt(t);for(const t of e.comments)l.push(t);e.address&&c.push(e.address)}if(o.address=c,!o.address.length&&o.text.length&&!a){const t=o.text.map((t=>Rt(t)));for(n=0;n<o.text.length;n++){const e=o.quotedLocalAt[n],r=o.textWasQuoted[n]&&e>=0&&wt.test(o.text[n].slice(e))?At(o.text[n]):"";if(r||!o.textWasQuoted[n]&&vt(t[n])){o.address=[r||t[n]],o.text.splice(n,1),o.textWasQuoted.splice(n,1),o.quotedLocalAt.splice(n,1);break}}if(!o.address.length)for(n=0;n<o.text.length;n++)if(!o.textWasQuoted[n]){const e=t[n],r=Ut(e);if(r>=0){xt.lastIndex=r;const t=xt.exec(e);if(t){o.address=[t[0].trim()],o.text[n]=(e.slice(0,r)+" "+e.slice(r+t[0].length)).trim();break}}o.text[n]=o.text[n].trim()}}!o.text.length&&o.comment.length&&(o.text=o.comment,o.comment=[]),o.address.length>1&&(o.text=o.text.concat(o.address.splice(1)));const u=!o.address.length&&o.textWasQuoted.some((t=>t));let h=o.text.join(" "),f=o.address.join(" ");if(!f&&(d=h.trim(),z.test(d))){const t=_(h);if(!u&&!a&&function(t){let e=-1,r=-1;for(let i=0;i<t.length;i++){const s=t.charAt(i);if("<"===s)e=i+1,r=-1;else if(">"===s){if(r>=0&&r<i-1)return!0;e=-1,r=-1}else"@"===s&&e>=0&&r<0&&i>e&&(r=i)}return!1}(t)){const e=Mt(t,i+1);if(e.length)return e}return[{address:"",name:t}]}var d;u&&h.indexOf("@")>=0&&(f=At(jt(h,kt(h))),h=""),({address:f,text:h}=function(t,e){if(t=Rt(t),!pt.test(t))return{address:t,text:e};let r;const i=t.match(mt);if(i){if(!i[2])return{address:t,text:e};t=i[1],r=[i[2]]}else{if(t.indexOf('"')>=0)return{address:t,text:e};const i=t.split(/\s+/);let s=i.findIndex(vt);if(s<0&&(s=i.findIndex((t=>yt.test(t)))),s<0)return{address:t,text:e};t=i.splice(s,1)[0],r=i}return{address:t,text:[e,...r].filter((t=>t)).join(" ")}}(f,h)),!h&&l.length&&(h=l.join(" "),a=!0);const p=h||f||"",m={address:f||(a?"":h)||"",name:_(p)};return m.address!==p&&m.address!==m.name||(m.address.match(/@/)?m.name="":m.address=""),[m]}class It{constructor(t){this.str=(t||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=-1,this.escaped=!1,this.inDomainLiteral=!1,this.afterAt=!1,this.inGroup=!1,this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1,this.list=new dt(this.str),this.operators={'"':'"',"(":")","<":">",",":"",":":"",";":""}}tokenize(){const t=this.str,e=t.length;for(let r=0;r<e;r++)this.checkChar(t.charAt(r),r);this.closeText(e);const r=this.list,i=r.slots;let s=0;for(let e=0,o=r.length;e<o;e++){const o=i[3*e];let n=i[3*e+1],a=i[3*e+2];if(4&o){const t=this.cleanValue(n,a,o).trim();if(!t)continue;r.cleaned.set(s,t)}else if(!(1&o)){for(;n<a&&Et(t.charCodeAt(n));)n++;for(;a>n&&Et(t.charCodeAt(a-1));)a--;if(n===a)continue}i[3*s]=o,i[3*s+1]=n,i[3*s+2]=a,s++}return r.length=s,r}closeText(t){this.node>=0&&(this.list.slots[3*this.node+2]=t,this.node=-1)}cleanValue(t,e,r){const i=this.str,s=!!(8&r);let o=!!(16&r),n="";for(let r=t;r<e;r++){const t=i.charAt(r);!s||o||"\\"!==t?(o=!1,"\n"===t?n+=" ":(t.charCodeAt(0)>=33||" "===t||"\t"===t)&&(n+=t)):o=!0}return n}checkChar(t,e){this.escaped||this.operatorExpecting||(!this.inDomainLiteral&&"["===t&&this.afterAt?this.inDomainLiteral=!0:!this.inDomainLiteral||"]"!==t&&","!==t&&";"!==t||(this.inDomainLiteral=!1));let r=!1;if(">"===this.operatorExpecting?(r=this.trackInner(t),!r&&";"===t&&this.inGroup&&(this.closeText(e),this.operatorExpecting="",this.resetInner())):")"!==this.operatorExpecting||this.escaped||("("===t?this.innerComment++:")"===t&&this.innerComment&&(this.innerComment--,r=!0)),this.escaped);else{if(t===this.operatorExpecting&&!r){const r=this.str.charAt(e+1);return this.closeText(e),this.list.push(r&&![" ","\t","\r","\n",",",";"].includes(r)?3:1,e,e+1),")"!==t&&(this.afterAt=!1),this.operatorExpecting="",this.escaped=!1,void this.resetInner()}if(!(this.operatorExpecting||this.inDomainLiteral&&":"===t)&&t in this.operators)return this.closeText(e),this.list.push(1,e,e+1),":"===t?this.inGroup=!0:";"===t&&(this.inGroup=!1),"("!==t&&(this.afterAt=!1),this.operatorExpecting=this.operators[t],this.escaped=!1,void this.resetInner();if(('"'===this.operatorExpecting||")"===this.operatorExpecting)&&"\\"===t)return this.escaped=!0,void(this.node>=0&&(this.list.slots[3*this.node]|=4))}this.node<0&&(this.node=this.list.push(('"'===this.operatorExpecting||")"===this.operatorExpecting?8:0)|(this.escaped?16:0),e,e)),"\n"===t&&(t=" ",this.list.slots[3*this.node]|=4),t.charCodeAt(0)>=33||" "===t||"\t"===t?this.operatorExpecting||" "===t||"\t"===t||(this.afterAt="@"===t):this.list.slots[3*this.node]|=4,this.escaped=!1}trackInner(t){return this.innerEscaped?(this.innerEscaped=!1,!0):this.innerQuoted?("\\"===t?this.innerEscaped=!0:'"'===t&&(this.innerQuoted=!1),!0):this.innerComment?("\\"===t?this.innerEscaped=!0:"("===t?this.innerComment++:")"===t&&this.innerComment--,!0):this.innerLiteral?("]"===t&&(this.innerLiteral=!1),!0):'"'===t?(this.innerQuoted=!0,!0):"("===t?(this.innerComment=1,!0):"["===t&&this.afterAt?(this.innerLiteral=!0,!0):(Et(t.charCodeAt(0))||(this.afterAt="@"===t),!1)}resetInner(){this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1}}const Vt=10;function zt(t){const e=[];for(let r=t.length-1;r>=0;r--){const i=t[r],s=e.length?e[e.length-1]:null;s&&""===i.address&&i.name&&!i.group&&s.address&&s.name?s.name=i.name+", "+s.name:e.push(i)}return e.reverse()}function Mt(t,e){if(e>Vt)return[];const r=new It(t).tokenize(),i=[];let s=null,o=[],n=0;for(let t=0,a=r.length;t<=a;t++){const l=t<a?r.operatorAt(t):"";if(!(t<a&&","!==l&&";"!==l&&":"!==l))if(":"!==l){if(t>n)for(const a of $t(r,n,t,e))if(s)if(a.group)for(const t of a.group)o.push(t);else o.push(a);else i.push(a);n=t+1,!s||";"!==l&&t!==a||(s.group=zt(o),i.push(s),s=null)}else s||(s={name:Ct(r,n,t),group:[]},o=[]),n=t+1}return zt(i)}function Ot(t){return Mt(t,0)}function _t(t){let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),s=i.byteLength,o=s%3,n=s-o;let a,l,c,u,h;for(let t=0;t<n;t+=3)h=i[t]<<16|i[t+1]<<8|i[t+2],a=(16515072&h)>>18,l=(258048&h)>>12,c=(4032&h)>>6,u=63&h,e+=r[a]+r[l]+r[c]+r[u];return 1===o?(h=i[n],a=(252&h)>>2,l=(3&h)<<4,e+=r[a]+r[l]+"=="):2===o&&(h=i[n]<<8|i[n+1],a=(64512&h)>>10,l=(1008&h)>>4,c=(15&h)<<2,e+=r[a]+r[l]+r[c]+"="),e}function Gt(t,e,r){return"subMessage"===t.type?"html"===e?function(t){let e=[];return t.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${ft([t.from])}</div>`),t.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${et(t.subject)}</div>`),t.date&&e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${et(t.date)}">${et(ut(t.date))}</div>`),t.to&&t.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${ft(t.to)}</div>`),t.cc&&t.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${ft(t.cc)}</div>`),t.bcc&&t.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${ft(t.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join('</div>\n<div class="postal-email-header-row">')}${e.length?"</div>":""}</div>`}(t.value):function(t){let e=[];t.from&&e.push({key:"From",val:ht([t.from])}),t.subject&&e.push({key:"Subject",val:t.subject}),t.date&&e.push({key:"Date",val:ut(t.date)}),t.to&&t.to.length&&e.push({key:"To",val:ht(t.to)}),t.cc&&t.cc.length&&e.push({key:"Cc",val:ht(t.cc)}),t.bcc&&t.bcc.length&&e.push({key:"Bcc",val:ht(t.bcc)});let r=e.map((t=>t.key.length)).reduce(((t,e)=>e>t?e:t),0);const i=e.flatMap((t=>{let e=r-t.key.length,i=`${t.key}: ${" ".repeat(e)}`,s=`${" ".repeat(t.key.length+1)} ${" ".repeat(e)}`;return function(t,e){e=e||76;let r,i,s=0,o=(t=(t||"").toString()).length,n="";for(;s<o;){if(r=t.slice(s,s+e),r.length<e){n+=r;break}(i=r.match(/^[^\n\r]*(\r?\n|\r)/))?(r=i[0],n+=r,s+=r.length):((i=r.match(/(\s+)[^\s]*$/))&&i[0].length-(i[1]||"").length<r.length?r=r.slice(0,r.length-(i[0].length-(i[1]||"").length)):(i=t.slice(s+r.length).match(/^[^\s]+(\s*)/))&&(r+=i[0].slice(0,i[0].length-0)),n+=r,s+=r.length,s<o&&(n+="\r\n"))}return n}(t.val,80).split(/\r?\n/).map((t=>t.trim())).map(((t,e)=>`${e?s:i}${t}`))}));let s=i.map((t=>t.length)).reduce(((t,e)=>e>t?e:t),0),o="-".repeat(s);return`\n${o}\n${i.join("\n")}\n${o}\n`}(t.value):r?"html"===e?"<div>"+et(t.value).replace(/\n/g,"<br />")+"</div>":(i=ot(i=at(i=(i=t.value).replace(/\r?\n/g,""),/<!--/g,!1,/-->/g,!1," "),/<br\b[^>]*>/gi,"\n"),i=lt(i=at(i=ot(i,/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,"\n\n"),/<script\b/gi,!0,/<\/script\b/gi,!0," "),/<body\b/gi),i=lt(i,/<\/head\b/gi),i=ct(i=lt(i,/<!doctype\b/gi),/<\/body\b/gi),i=ot(i=st(i=ct(i,/<\/html\b/gi),(t=>nt(t,/<a\b/gi,/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/iy,((t,e)=>` (${e}) `)))),/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,""),i=ot(i=nt(i,/<li\b/gi,/<li\b[^>]*>[\n\u0001\s]*/iy,(()=>"* ")),/<hr\b[^>]*>/g,"\n-------------\n"),function(t){return t.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,((t,e)=>{if("string"==typeof X[t])return X[t];if("#"!==e.charAt(0)||";"!==t.charAt(t.length-1))return t;let r;r="x"===e.charAt(1).toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);let i="";return 0===r||r>=55296&&r<=57343||r>1114111?"�":(r=tt.get(r)??r,r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i+=String.fromCharCode(r),i)}))}(i=(i=ot(i,/<[^>]*>/g," ")).replace(/\u0001/g,"\n").replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,"\n\n").replace(/^\n+/,"\n").replace(/\n+$/,"\n"))):t.value;var i}const Ht=new Uint8Array([10]);function Pt(t){if(!t)return 0;let e=0;for(const r of Array.isArray(t)?t:[t])e+=1+(r.group?r.group.length:0);return e}function Ft(t,e,r){if(null==t)return e;if("number"!=typeof t||!Number.isInteger(t)||t<0)throw new TypeError(`${r} must be a non-negative integer`);return t}class Jt{static async parse(t,e){return new Jt(e).parse(t)}constructor(t,e){this.options=t||{},this.rfc822NestingDepth=e?e.rfc822NestingDepth+1:0,this.limits=e?e.limits:function(t){return{maxNestingDepth:Ft(t.maxNestingDepth,256,"maxNestingDepth"),maxHeadersSize:Ft(t.maxHeadersSize,2097152,"maxHeadersSize"),maxPartCount:Ft(t.maxPartCount,1e4,"maxPartCount"),maxRfc822NestingDepth:Ft(t.maxRfc822NestingDepth,10,"maxRfc822NestingDepth"),maxForwardedAddresses:Ft(t.maxForwardedAddresses,1e4,"maxForwardedAddresses")}}(this.options),this.counters=e?e.counters:{headerSize:0,partCount:0,forwardedAddresses:0},this.root=this.currentNode=new W({postalMime:this}),this.boundaries=[],this.textContent={},this.textMap=new Map,this.textTypes=new Set,this.attachments=[],this.forceRfc822Attachments=!1,this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(t,e,r){let i=this.boundaries;if(i.length&&t.length>2&&45===t[0]&&45===t[1])for(let e=i.length-1;e>=0;e--){let s=i[e];if(t.length<s.value.length+2)continue;let o=!0;for(let e=0;e<s.value.length;e++)if(t[e+2]!==s.value[e]){o=!1;break}if(!o)continue;let n=s.value.length+2,a=!1;t.length>=s.value.length+4&&45===t[s.value.length+2]&&45===t[s.value.length+3]&&(a=!0,n=s.value.length+4);let l=!0;for(let e=n;e<t.length;e++)if(!g(t[e])){l=!1;break}if(l)return a?(await s.node.finalize(!0),this.currentNode=s.node.parentNode||this.root):(await s.node.finalizeChildNodes(!0),this.currentNode=new W({postalMime:this,parentNode:s.node,parentMultipartType:s.node.contentType.multipart})),r?this.finalize():void 0}return this.currentNode.feed(t,e)?this.processLine(t,e,r):r?this.finalize():void 0}readLine(){let t=this.readPos,e=this.readPos;for(;this.readPos<this.av.length;){const r=this.av[this.readPos++];if(13!==r&&10!==r&&(e=this.readPos),10===r)return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:this.av.subarray(e,this.readPos),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:Ht,done:this.readPos>=this.av.length}}addTextEntry(t,e,r){let i=this.textMap.get(t);i||(i={},this.textMap.set(t,i));const s=i[e]||[];i[e]=s,s.push(r),this.textTypes.add(e)}async collectNode(t,e,r){if(t.contentType.multipart)"alternative"===t.contentType.multipart?e=t:"related"===t.contentType.multipart&&(r=!0);else{const i=this.isInlineMessageRfc822(t),s=i&&this.rfc822NestingDepth>=this.limits.maxRfc822NestingDepth;i&&!s?await this.collectSubMessage(t):this.isInlineTextNode(t)?this.addTextEntry(e||t,"text/html"===t.contentType.parsed.value?"html":"plain",{type:"text",value:t.getTextContent()}):t.content&&this.collectAttachment(t,t.content,r,s)}for(let i of t.childNodes)await this.collectNode(i,e,r)}async collectSubMessage(t){const e=new Jt({attachmentEncoding:"arraybuffer"},this),r=t.subMessage=await e.parse(t.content||new ArrayBuffer(0));if(this.counters.forwardedAddresses+=Pt(r.from)+Pt(r.to)+Pt(r.cc)+Pt(r.bcc),this.counters.forwardedAddresses>this.limits.maxForwardedAddresses)throw new Error(`Maximum forwarded address count of ${this.limits.maxForwardedAddresses} addresses exceeded`);!r.text&&r.html||this.addTextEntry(t,"plain",{type:"subMessage",value:r}),r.html&&this.addTextEntry(t,"html",{type:"subMessage",value:r}),e.textMap.forEach(((t,e)=>{this.textMap.set(e,t)}));for(let t of r.attachments)this.attachments.push(t)}collectAttachment(t,e,r,i){const s=t.contentDisposition.parsed.params.filename||t.contentType.parsed.params.name||null,o={filename:s?_(B(s)):null,mimeType:t.contentType.parsed.value,disposition:t.contentDisposition.parsed.value||null};switch(r&&t.contentId&&!i&&(o.related=!0),i&&(o.rfc822DepthExceeded=!0),t.contentDescription&&(o.description=_(t.contentDescription)),t.contentId&&(o.contentId=t.contentId),t.contentType.parsed.value){case"text/calendar":case"application/ics":{t.contentType.parsed.params.method&&(o.method=t.contentType.parsed.params.method.toString().toUpperCase().trim());const e=t.getTextContent();let r=e.length;for(;r>0&&10===e.charCodeAt(r-1);)r--;o.content=m.encode(e.slice(0,r)+"\n");break}default:o.content=e}this.attachments.push(o)}renderTextContent(){const t={};this.textMap.forEach((e=>{this.textTypes.forEach((r=>{const i=t[r]||[];t[r]=i;const s=e[r],o=s||e["html"===r?"plain":"html"]||[];for(const t of o)i.push(Gt(t,r,!s))}))})),Object.keys(t).forEach((e=>{this.textContent[e]=t[e].join("\n")}))}isInlineTextNode(t){if("attachment"===t.contentDisposition.parsed.value)return!1;switch(t.contentType.parsed.value){case"text/html":case"text/plain":return!0;default:return!1}}isInlineMessageRfc822(t){return!this.forceRfc822Attachments&&"message/rfc822"===t.contentType.parsed.value&&"inline"===(t.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))}hasReportParts(){let t=!1,e=r=>{r.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(r.contentType.parsed.value)&&(t=!0);for(let t of r.childNodes)e(t)};return e(this.root),t}async resolveStream(t){let e=0,r=[];const i=t.getReader();for(;;){const{done:t,value:s}=await i.read();if(t)break;r.push(s),e+=s.length}const s=new Uint8Array(e);let o=0;for(let t of r)s.set(t,o),o+=t.length;return s}async resolveInput(t){let e=t;var r;return(r=e)&&"function"==typeof r.getReader&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),"string"==typeof e&&(e=m.encode(e)),function(t){return t instanceof Blob||"[object Blob]"===Object.prototype.toString.call(t)}(e)&&(e=await U(e)),ArrayBuffer.isView(e)?e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength):e}buildMessage(){const t=this.root.headers,e={headers:t.map((t=>({key:t.key,originalKey:t.originalKey,value:t.value})))};for(const r of["from","sender"]){const i=t.find((t=>t.key===r));if(i&&i.value){const t=Ot(i.value);t&&t.length&&(e[r]=t[0])}}for(const[r,i]of[["delivered-to","deliveredTo"],["return-path","returnPath"]]){const s=t.find((t=>t.key===r));if(s&&s.value){const t=Ot(s.value);t&&t.length&&t[0].address&&(e[i]=t[0].address)}}for(const[r,i]of[["to","to"],["cc","cc"],["bcc","bcc"],["reply-to","replyTo"]]){const s=[];for(const e of t)if(e.key===r&&e.value)for(const t of Ot(e.value))s.push(t);s.length&&(e[i]=s)}for(const[r,i]of[["subject","subject"],["message-id","messageId"],["in-reply-to","inReplyTo"],["references","references"]]){const s=t.find((t=>t.key===r));s&&s.value&&(e[i]=_(s.value))}let r=t.find((t=>"date"===t.key));if(r){let t=new Date(r.value);e.date="Invalid Date"===t.toString()?r.value:t.toISOString()}return this.textContent.html&&(e.html=this.textContent.html),this.textContent.plain&&(e.text=this.textContent.plain),e.attachments=this.attachments,e.headerLines=this.root.rawHeaderLines.slice(),e}encodeAttachments(){switch(this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let t of this.attachments)t.content&&"string"!=typeof t.content&&(t.content=_t(t.content),t.encoding="base64");break;case"utf8":{let t=new TextDecoder("utf8");for(let e of this.attachments)e.content&&"string"!=typeof e.content&&(e.content=t.decode(e.content),e.encoding="utf8");break}default:throw new Error("Unknown attachment encoding")}}async parse(t){if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,this.buf=await this.resolveInput(t),this.av=new Uint8Array(this.buf),this.readPos=0;this.readPos<this.av.length;){const t=this.readLine();await this.processLine(t.bytes,t.lineBreak,t.done)}this.forceRfc822Attachments=Boolean(this.options.forceRfc822Attachments)||this.hasReportParts(),await this.collectNode(this.root,!1,!1),this.renderTextContent();const e=this.buildMessage();return this.encodeAttachments(),e}}var Zt,Yt,Qt,Kt,Wt,Xt,te;const ee=new Set(["image/png","image/jpeg","image/jpg","image/gif","image/webp","image/bmp","image/x-icon","image/vnd.microsoft.icon"]);const re=null!==(Yt=null===(Zt=n.protocols)||void 0===Zt?void 0:Zt.src)&&void 0!==Yt?Yt:[],ie=Object.assign(Object.assign({},n),{clobberPrefix:"",protocols:Object.assign(Object.assign({},n.protocols),{src:[...re,"data"]}),attributes:Object.assign(Object.assign({},n.attributes),{table:[...null!==(Qt=n.attributes.table)&&void 0!==Qt?Qt:[],"cellPadding","cellSpacing","border","dir","width","height"],font:["color","size","face"],meta:["charset","content","name"],colgroup:[...null!==(Kt=n.attributes.colgroup)&&void 0!==Kt?Kt:[],"span"],col:[...null!==(Wt=n.attributes.col)&&void 0!==Wt?Wt:[],"width","span"],"*":[...null!==(Xt=n.attributes["*"])&&void 0!==Xt?Xt:[],"style","className","id","dataRemoteSrc"]}),tagNames:[...null!==(te=n.tagNames)&&void 0!==te?te:[],"html","head","body","title","meta","style","colgroup","col","center","font"]});function se(t){const e=[/behavior\s*:/gi,/expression\s*\(/gi,/-moz-binding\s*:/gi,/vbscript\s*:/gi,/javascript\s*:/gi];let r=t;for(const t of e)r=r.replaceAll(t,"");return r=r.replaceAll(/@import\s+(?:url\([^)]{0,2000}\)|[^;]{0,2000});?/gi,""),r=r.replaceAll(/url\(\s{0,50}(?:"([^"]{0,2000})"|'([^']{0,2000})'|([^"')\s]{1,2000}))\s{0,50}\)/gi,((t,e,r,i)=>{var s,o;return(t=>{const e=t.trim().toLowerCase();return!!(e.startsWith("data:")||e.startsWith("cid:")||e.startsWith("#"))||!e.startsWith("//")&&!/^[a-z][a-z0-9+.-]*:/i.test(e)})((null!==(o=null!==(s=null!=e?e:r)&&void 0!==s?s:i)&&void 0!==o?o:"").trim())?t:'url("")'})),r}async function oe(t){const e=await async function(t){try{const e=await fetch(t);if(!e.ok)throw new Error(`Failed to fetch email (${e.status} ${e.statusText})`);return await e.arrayBuffer()}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to load email from ${t}: ${r}`,{cause:e})}}(t),r=await async function(t,e){try{return await Jt.parse(e,{attachmentEncoding:"arraybuffer"})}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to parse email from ${t}: ${r}`,{cause:e})}}(t,e),i={subject:r.subject||void 0,from:pe(r.from),to:de(r.to),cc:de(r.cc),date:ne(r,"date")||r.date||void 0},{attachments:s,cidUrlById:o}=function(t){const e=[],r=new Map,i=t.attachments||[];for(const t of i){const i=ae(t.contentId),o=Boolean(i)&&"attachment"!==t.disposition||t.related||"inline"===t.disposition,n=(s=t.content)instanceof ArrayBuffer?new Uint8Array(s):ArrayBuffer.isView(s)?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):void 0;if(!o){e.push({filename:t.filename||void 0,mimeType:t.mimeType||void 0,size:null==n?void 0:n.byteLength});continue}const a=Boolean(n);if(!i||!a){e.push({filename:t.filename||void 0,mimeType:t.mimeType||"application/octet-stream",size:null==n?void 0:n.byteLength});continue}const l=ce(t.mimeType,n,t.filename),c=le(n);r.set(i,`data:${l};base64,${c}`)}var s;return{attachments:e,cidUrlById:r}}(r);return s.length>0&&(i.attachments=s),await async function(t,e,r){const i=(e.html||"").trim();if(i){const e=function(t,e){return 0===e.size?t:t.replaceAll(/(src\s*=\s*["']?)cid:([^"'\s>]+)(["']?)/gi,((t,r,i,s)=>{const o=ae(function(t){try{return decodeURIComponent(t)}catch(e){return t}}(i)),n=e.get(o);return n?`${r}${n}${s}`:t}))}(i,r);t.bodyHtml=await async function(t){const e=await a().use(l).use(c,ie).use((()=>t=>{u(t,"element",(t=>{!function(t){var e;if((null==t?void 0:t.tagName)&&((null===(e=t.properties)||void 0===e?void 0:e.style)&&"string"==typeof t.properties.style&&(t.properties.style=se(t.properties.style)),"style"===t.tagName&&Array.isArray(t.children)))for(const e of t.children)"text"===(null==e?void 0:e.type)&&"string"==typeof e.value&&(e.value=se(e.value))}(t),function(t){var e;if(!(null==t?void 0:t.tagName)||"img"!==t.tagName)return;const r=null===(e=t.properties)||void 0===e?void 0:e.src;if("string"!=typeof r)return;const i=function(t){const e=t.trim();if(!e)return;if(!e.toLowerCase().startsWith("data:"))return;const r=function(t){var e;const r=/^data:([^;,]+)(?:;charset=[^;,]+)?(?:;base64)?,/i.exec(t);return(null===(e=null==r?void 0:r[1])||void 0===e?void 0:e.toLowerCase())||void 0}(e);return r&&ee.has(r)?e:void 0}(r);if(i)return t.properties.src=i,void delete t.properties.dataRemoteSrc;const s=function(t){const e=t.trim(),r=e.toLowerCase();if(r.startsWith("http://")||r.startsWith("https://"))return e}(r);if(s)return t.properties.dataRemoteSrc=s,void delete t.properties.src;delete t.properties.src}(t)}))})).use(h).process(t);return e.toString()}(e)}else t.bodyText=(e.text||"").trim()||void 0}(i,r,o),i}function ne(t,e){const r=(t.headers||[]).find((t=>t.key===e.toLowerCase()));return(null==r?void 0:r.value)||void 0}function ae(t){if(!t)return"";let e=t.trim();return e.toLowerCase().startsWith("cid:")&&(e=e.slice(4).trim()),e.startsWith("<")&&(e=e.slice(1)),e.endsWith(">")&&(e=e.slice(0,-1)),e.trim()}function le(t){if("function"==typeof btoa){let e="";for(const r of t)e+=String.fromCharCode(r);return btoa(e)}return Buffer.from(t).toString("base64")}function ce(t,e,r){const i="string"==typeof t?t.trim().toLowerCase():"",s=function(t){var e,r,i,s,o;return null!==(o=null!==(s=null!==(i=null!==(r=null!==(e=function(t){if(ue(t,[137,80,78,71,13,10,26,10]))return"image/png"}(t))&&void 0!==e?e:function(t){if(ue(t,[255,216,255]))return"image/jpeg"}(t))&&void 0!==r?r:function(t){const e=he(t,0,6);if("GIF87a"===e||"GIF89a"===e)return"image/gif"}(t))&&void 0!==i?i:function(t){const e=he(t,0,4),r=he(t,8,12);if("RIFF"===e&&"WEBP"===r)return"image/webp"}(t))&&void 0!==s?s:function(t){if(ue(t,[0,0,1,0]))return"image/x-icon"}(t))&&void 0!==o?o:function(t){if(t.length<5)return;const e=new TextDecoder("utf-8",{fatal:!1}).decode(t.slice(0,Math.min(t.length,256))).trimStart().toLowerCase();return e.startsWith("<svg")||e.startsWith("<?xml")&&e.includes("<svg")?"image/svg+xml":void 0}(t)}(e);if(i.startsWith("image/")){if(o=i,!(n=s)||o===n||"image/jpg"===o&&"image/jpeg"===n||"image/vnd.microsoft.icon"===o&&"image/x-icon"===n)return i;if(s)return s}var o,n;if(s)return s;const a=function(t){const e=null==t?void 0:t.trim().toLowerCase();if(!e||!e.includes("."))return;return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",ico:"image/x-icon",bmp:"image/bmp"}[e.slice(e.lastIndexOf(".")+1)]}(r);return a||i||"application/octet-stream"}function ue(t,e){return!(t.length<e.length)&&e.every(((e,r)=>t[r]===e))}function he(t,e,r){return t.length<r?"":String.fromCodePoint(...t.slice(e,r))}function fe(t){return"string"==typeof t&&t.length>0}function de(t){if(!t)return;const e=(Array.isArray(t)?t:[t]).map((t=>pe(t))).filter(fe);return e.length>0?e.join(", "):void 0}function pe(t){if(!t)return;if(Array.isArray(t))return de(t);if(t.group&&Array.isArray(t.group)){const e=(t.name||"").trim(),r=t.group.map((t=>pe(t))).filter(fe).join(", ");return e&&r?`${e}: ${r}`:e||r||void 0}const e=(t.name||"").trim(),r=(t.address||"").trim();if(e&&r){const t=function(t){if(!t)return"";if(!t.includes(",")&&!t.includes('"'))return t;return`"${t.replaceAll("\\","\\\\").replaceAll('"',String.raw`\"`)}"`}(e);return`${t} <${r}>`}return e||r||void 0}const me=class{constructor(s){t(this,s),this.action=e(this,"action",7),this.allowFullscreen=!1,this.allowOpenInNewTab=!1,this.allowDownload=!1,this.language="en",this.officeViewer="microsoft-office",this.isFullscreen=!1,this.loading=!0,this.fileUrl="",this.renderPdf=()=>[r("div",{class:"action-menu-for-pdf-files"},this.renderActionMenu()),r("iframe",{src:this.sanitizeUrl(this.fileUrl),loading:"lazy"})],this.renderImage=()=>{var t;return r(i,null,this.renderButtons(),r(f,{image:{src:this.sanitizeUrl(this.fileUrl),alt:null!==(t=this.alt)&&void 0!==t?t:"",referrerpolicy:"no-referrer"}}))},this.renderVideo=()=>r("video",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderAudio=()=>r("audio",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderText=()=>{const t=[this.renderNoFileSupportMessage(!1)];return[this.renderButtons(),r("object",{data:this.sanitizeUrl(this.fileUrl),type:"text/plain"},t)]},this.renderEmail=()=>this.email?[this.renderButtons(),r("limel-email-viewer",{email:this.email,fallbackUrl:this.sanitizeUrl(this.fileUrl),language:this.language},r("div",{slot:"fallback"},this.renderNoFileSupportMessage(!1)))]:this.renderFileNotFoundMessage(),this.renderOffice=()=>[r("div",{class:"action-menu-for-office-files"},this.renderActionMenu()),r("iframe",{src:this.getOfficeViewerUrl()+encodeURIComponent(this.sanitizeUrl(this.fileUrl))+"&embedded=true",loading:"lazy"})],this.isOfficeFileAccessibleViaURL=()=>"office"===this.fileType&&!(this.fileUrl.startsWith("http://")||this.fileUrl.startsWith("https://")),this.getOfficeViewerUrl=()=>({"microsoft-office":"https://view.officeapps.live.com/op/embed.aspx?src=","google-drive":"https://docs.google.com/gview?url="}[this.officeViewer]),this.renderNoFileSupportMessage=(t=!0)=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.unsupported-filetype")),r("p",{style:{textAlign:"center",margin:"0 auto"}},this.getTranslation("file-viewer.message.try-other-options")),t&&this.renderDownloadButton()),this.renderFileNotFoundMessage=()=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.file-not-found"))),this.renderButtons=()=>r("div",{class:"buttons"},this.renderActionMenu(),this.renderToggleFullscreenButton(),this.renderDownloadButton(),this.renderOpenInNewTabButton()),this.renderToggleFullscreenButton=()=>{if(!this.allowFullscreen||!this.fullscreen.isSupported())return;const t=this.isFullscreen?"multiply":"fit_to_width",e=this.getTranslation(this.isFullscreen?"file-viewer.exit-fullscreen":"file-viewer.open-in-fullscreen");return[r("button",{class:"button--toggle-fullscreen",id:"tooltip-toggle-fullscreen",role:"button",onClick:this.handleToggleFullscreen},r("limel-icon",{name:t}),r("limel-tooltip",{label:e,elementId:"tooltip-toggle-fullscreen",openDirection:"left"}))]},this.renderDownloadButton=()=>{var t;if(this.allowDownload&&!this.isFullscreen)return r("a",{class:"button--download",id:"tooltip-download",role:"button",download:null!==(t=this.filename)&&void 0!==t?t:"",href:this.sanitizeUrl(this.fileUrl),target:"_blank"},r("limel-icon",{name:"download_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.download"),elementId:"tooltip-download",openDirection:"left"}))},this.renderOpenInNewTabButton=()=>{if(this.allowOpenInNewTab&&!this.isFullscreen)return r("a",{class:"button--new-tab",id:"tooltip-new-tab",role:"button",href:this.sanitizeUrl(this.fileUrl),target:"_blank",rel:"noopener noreferrer"},r("limel-icon",{name:"external_link"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.open-in-new-tab"),elementId:"tooltip-new-tab",openDirection:"left"}))},this.renderActionMenu=()=>{if(this.actions&&!this.isFullscreen)return r("limel-menu",{class:"action-menu",items:this.actions,onSelect:this.emitOnAction,"open-direction":"left"},r("button",{class:"button--action",id:"tooltip-more",role:"button",slot:"trigger"},r("limel-icon",{name:"menu_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.more-actions"),elementId:"tooltip-more",openDirection:"left"})))},this.createURL=async t=>{this.revokePdfBlobUrl();const e={pdf:this.loadPdf,email:this.loadEmail}[t]||this.loadDefault;try{await e()}finally{this.loading=!1}},this.loadPdf=async()=>{const t=await fetch(this.url);if(!t.ok)throw new Error(`Failed to load PDF (${t.status} ${t.statusText})`);const e=await t.blob();this.fileUrl=URL.createObjectURL(e),this.pdfBlobUrl=this.fileUrl},this.loadEmail=async()=>{try{this.email=await oe(this.url),this.fileUrl=this.url}catch(t){this.email=void 0,this.fileUrl=""}},this.loadDefault=async()=>{this.fileUrl=this.url},this.handleToggleFullscreen=()=>{this.fullscreen.isSupported()&&(this.fullscreen.toggle(),this.isFullscreen=!this.isFullscreen)},this.emitOnAction=t=>{t.stopPropagation(),this.action.emit(t.detail)},this.fullscreen=new p(this.HostElement)}disconnectedCallback(){void 0!==this.revokeAnimationFrame&&cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=requestAnimationFrame((()=>{this.revokePdfBlobUrl(),this.revokeAnimationFrame=void 0}))}connectedCallback(){void 0!==this.revokeAnimationFrame&&(cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=void 0)}async componentWillLoad(){this.fileType=d(this.filename,this.url),await this.createURL(this.fileType)}render(){return this.isOfficeFileAccessibleViaURL?this.loading?r("limel-spinner",{size:"x-small",limeBranded:!1}):this.renderFileViewer():this.renderNoFileSupportMessage()}async watchUrl(t,e){t!==e&&(this.loading=!0,this.fileType=d(this.filename,this.fileUrl),await this.createURL(this.fileType))}renderFileViewer(){return({pdf:this.renderPdf,image:this.renderImage,video:this.renderVideo,audio:this.renderAudio,text:this.renderText,email:this.renderEmail,office:this.renderOffice}[this.fileType]||this.renderNoFileSupportMessage)()}revokePdfBlobUrl(){this.pdfBlobUrl&&(URL.revokeObjectURL(this.pdfBlobUrl),this.pdfBlobUrl=void 0)}sanitizeUrl(t){if(!(null==t?void 0:t.trim()))return"";try{const e=new URL(t,window.location.href);return["http:","https:","blob:"].includes(e.protocol)?e.href:""}catch(t){return""}}getTranslation(t){return o.get(t,this.language)}get HostElement(){return s(this)}static get watchers(){return{url:[{watchUrl:0}]}}};me.style='@charset "UTF-8";.buttons{position:absolute;z-index:1;bottom:0.25rem;right:0.25rem;display:flex;flex-direction:column;gap:0.25rem}@media (pointer: coarse){.buttons{gap:0.5rem}}.no-support{display:flex;flex-direction:column;gap:0.5rem;align-items:center;border:1px dashed rgb(var(--contrast-600));border-radius:0.5rem;padding:1.25rem}.no-support h1,.no-support p{margin:0}[class^=button--]{all:unset;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}[class^=button--]:hover,[class^=button--]:focus,[class^=button--]:focus-visible{will-change:color, background-color, box-shadow, transform}[class^=button--]:hover,[class^=button--]:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}[class^=button--]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}[class^=button--]:hover,[class^=button--]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}[class^=button--]:focus{outline:none}[class^=button--]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}[class^=button--]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:var(--limel-file-viewer-size-of-buttons);height:var(--limel-file-viewer-size-of-buttons);background-color:rgba(var(--contrast-100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}[class^=button--] limel-icon{transition:color 0.2s ease;width:1.25rem;color:rgb(var(--contrast-1200))}[class^=button--]:hover limel-icon{color:rgb(var(--contrast-1400))}.action-menu-for-pdf-files,.action-menu-for-office-files{position:absolute;right:0.75rem}.action-menu-for-pdf-files{bottom:0.75rem}.action-menu-for-office-files{top:0.75rem}:host{--limel-file-viewer-size-of-buttons:2rem;isolation:isolate;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%}*{box-sizing:border-box}img,video,audio,object,iframe{max-height:100%;max-width:100%;box-sizing:border-box}iframe{border:none;width:100%;height:100%;min-height:20rem}img{min-width:7rem;object-fit:contain}video{width:100%;height:auto}audio{width:100%}object{width:100%;height:100%}object[type="application/pdf"]{min-height:20rem}object[type="text/plain"]{border-radius:0.25rem;padding-right:var(--limel-file-viewer-size-of-buttons);overflow-y:auto}:host(:fullscreen){background-color:rgb(var(--color-gray-darker))}:host(:fullscreen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}:host(:-webkit-full-screen){background-color:rgb(var(--color-gray-darker))}:host(:-webkit-full-screen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}';export{me as limel_file_viewer}