legalesign-document-viewer 0.0.7 → 0.0.9

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 (359) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  3. package/dist/cjs/index-lXp4IGF1.js +1943 -0
  4. package/dist/cjs/index-lXp4IGF1.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +10 -0
  6. package/dist/cjs/index.cjs.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +16 -0
  8. package/dist/cjs/loader.cjs.js.map +1 -0
  9. package/dist/cjs/ls-document-options_28.cjs.entry.js +58367 -0
  10. package/dist/cjs/ls-document-options_28.cjs.entry.js.map +1 -0
  11. package/dist/cjs/ls-document-viewer.cjs.js +28 -0
  12. package/dist/cjs/ls-document-viewer.cjs.js.map +1 -0
  13. package/dist/cjs/ls-participant-select.cjs.entry.js +20 -0
  14. package/dist/cjs/ls-participant-select.cjs.entry.js.map +1 -0
  15. package/dist/cjs/ls-participant-select.entry.cjs.js.map +1 -0
  16. package/dist/collection/collection-manifest.json +40 -0
  17. package/dist/collection/components/interfaces/IToolboxField.js +1 -0
  18. package/dist/collection/components/interfaces/IToolboxField.js.map +1 -0
  19. package/dist/collection/components/ls-document-options/ls-document-options.css +7 -0
  20. package/dist/collection/components/ls-document-options/ls-document-options.js +61 -0
  21. package/dist/collection/components/ls-document-options/ls-document-options.js.map +1 -0
  22. package/dist/collection/components/ls-document-viewer/defaultPalette.js +20 -0
  23. package/dist/collection/components/ls-document-viewer/defaultPalette.js.map +1 -0
  24. package/dist/collection/components/ls-document-viewer/editorCalculator.js +99 -0
  25. package/dist/collection/components/ls-document-viewer/editorCalculator.js.map +1 -0
  26. package/dist/collection/components/ls-document-viewer/editorUtils.js +159 -0
  27. package/dist/collection/components/ls-document-viewer/editorUtils.js.map +1 -0
  28. package/dist/collection/components/ls-document-viewer/keyHandlers.js +62 -0
  29. package/dist/collection/components/ls-document-viewer/keyHandlers.js.map +1 -0
  30. package/dist/collection/components/ls-document-viewer/ls-document-viewer.css +156 -0
  31. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js +907 -0
  32. package/dist/collection/components/ls-document-viewer/ls-document-viewer.js.map +1 -0
  33. package/dist/collection/components/ls-document-viewer/mouseHandlers.js +165 -0
  34. package/dist/collection/components/ls-document-viewer/mouseHandlers.js.map +1 -0
  35. package/dist/collection/components/ls-editor-field/ls-editor-field.css +70 -0
  36. package/dist/collection/components/ls-editor-field/ls-editor-field.js +286 -0
  37. package/dist/collection/components/ls-editor-field/ls-editor-field.js.map +1 -0
  38. package/dist/collection/components/ls-editor-table/ls-editor-table.css +16 -0
  39. package/dist/collection/components/ls-editor-table/ls-editor-table.js +70 -0
  40. package/dist/collection/components/ls-editor-table/ls-editor-table.js.map +1 -0
  41. package/dist/collection/components/ls-feature-column/ls-feature-column.css +8 -0
  42. package/dist/collection/components/ls-feature-column/ls-feature-column.js +68 -0
  43. package/dist/collection/components/ls-feature-column/ls-feature-column.js.map +1 -0
  44. package/dist/collection/components/ls-field-alignment/ls-field-alignment.css +20 -0
  45. package/dist/collection/components/ls-field-alignment/ls-field-alignment.js +202 -0
  46. package/dist/collection/components/ls-field-alignment/ls-field-alignment.js.map +1 -0
  47. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.css +15 -0
  48. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js +122 -0
  49. package/dist/collection/components/ls-field-dimensions/ls-field-dimensions.js.map +1 -0
  50. package/dist/collection/components/ls-field-distribute/ls-field-distribute.css +29 -0
  51. package/dist/collection/components/ls-field-distribute/ls-field-distribute.js +173 -0
  52. package/dist/collection/components/ls-field-distribute/ls-field-distribute.js.map +1 -0
  53. package/dist/collection/components/ls-field-format/ls-field-format.css +9 -0
  54. package/dist/collection/components/ls-field-format/ls-field-format.js +114 -0
  55. package/dist/collection/components/ls-field-format/ls-field-format.js.map +1 -0
  56. package/dist/collection/components/ls-field-properties/ls-field-properties.css +22 -0
  57. package/dist/collection/components/ls-field-properties/ls-field-properties.js +68 -0
  58. package/dist/collection/components/ls-field-properties/ls-field-properties.js.map +1 -0
  59. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.css +15 -0
  60. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js +48 -0
  61. package/dist/collection/components/ls-field-properties-date/ls-field-properties-date.js.map +1 -0
  62. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.css +15 -0
  63. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js +48 -0
  64. package/dist/collection/components/ls-field-properties-general/ls-field-properties-general.js.map +1 -0
  65. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.css +3 -0
  66. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js +48 -0
  67. package/dist/collection/components/ls-field-properties-multiple/ls-field-properties-multiple.js.map +1 -0
  68. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.css +3 -0
  69. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js +48 -0
  70. package/dist/collection/components/ls-field-properties-number/ls-field-properties-number.js.map +1 -0
  71. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.css +3 -0
  72. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js +48 -0
  73. package/dist/collection/components/ls-field-properties-signature/ls-field-properties-signature.js.map +1 -0
  74. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.css +3 -0
  75. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js +48 -0
  76. package/dist/collection/components/ls-field-properties-text/ls-field-properties-text.js.map +1 -0
  77. package/dist/collection/components/ls-field-size/ls-field-size.css +21 -0
  78. package/dist/collection/components/ls-field-size/ls-field-size.js +105 -0
  79. package/dist/collection/components/ls-field-size/ls-field-size.js.map +1 -0
  80. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.css +273 -0
  81. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js +336 -0
  82. package/dist/collection/components/ls-formfield/inputs/ls-number-input/ls-number-input.js.map +1 -0
  83. package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.css +69 -0
  84. package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js +173 -0
  85. package/dist/collection/components/ls-formfield/inputs/ls-radio-input/ls-radio-input.js.map +1 -0
  86. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.css +228 -0
  87. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js +288 -0
  88. package/dist/collection/components/ls-formfield/inputs/ls-select-input/ls-select-input.js.map +1 -0
  89. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.css +218 -0
  90. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js +336 -0
  91. package/dist/collection/components/ls-formfield/inputs/ls-text-input/ls-text-input.js.map +1 -0
  92. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.css +208 -0
  93. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js +326 -0
  94. package/dist/collection/components/ls-formfield/inputs/ls-textarea-input/ls-textarea-input.js.map +1 -0
  95. package/dist/collection/components/ls-formfield/ls-formfield.css +98 -0
  96. package/dist/collection/components/ls-formfield/ls-formfield.js +527 -0
  97. package/dist/collection/components/ls-formfield/ls-formfield.js.map +1 -0
  98. package/dist/collection/components/ls-icon/icons.js +10610 -0
  99. package/dist/collection/components/ls-icon/icons.js.map +1 -0
  100. package/dist/collection/components/ls-icon/ls-icon.js +125 -0
  101. package/dist/collection/components/ls-icon/ls-icon.js.map +1 -0
  102. package/dist/collection/components/ls-participant-manager/ls-participant-manager.css +54 -0
  103. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js +155 -0
  104. package/dist/collection/components/ls-participant-manager/ls-participant-manager.js.map +1 -0
  105. package/dist/collection/components/ls-participant-select/ls-participant-select.css +3 -0
  106. package/dist/collection/components/ls-participant-select/ls-participant-select.js +19 -0
  107. package/dist/collection/components/ls-participant-select/ls-participant-select.js.map +1 -0
  108. package/dist/collection/components/ls-statusbar/ls-statusbar.css +14 -0
  109. package/dist/collection/components/ls-statusbar/ls-statusbar.js +99 -0
  110. package/dist/collection/components/ls-statusbar/ls-statusbar.js.map +1 -0
  111. package/dist/collection/components/ls-toolbar/ls-toolbar.css +13 -0
  112. package/dist/collection/components/ls-toolbar/ls-toolbar.js +113 -0
  113. package/dist/collection/components/ls-toolbar/ls-toolbar.js.map +1 -0
  114. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.css +19 -0
  115. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js +187 -0
  116. package/dist/collection/components/ls-toolbox-field/ls-toolbox-field.js.map +1 -0
  117. package/dist/collection/index.js +11 -0
  118. package/dist/collection/index.js.map +1 -0
  119. package/dist/collection/types/Icon.js +367 -0
  120. package/dist/collection/types/Icon.js.map +1 -0
  121. package/dist/collection/types/LSApiElement.js +2 -0
  122. package/dist/collection/types/LSApiElement.js.map +1 -0
  123. package/dist/collection/types/LSApiElementType.js +16 -0
  124. package/dist/collection/types/LSApiElementType.js.map +1 -0
  125. package/dist/collection/types/LSApiRole.js +2 -0
  126. package/dist/collection/types/LSApiRole.js.map +1 -0
  127. package/dist/collection/types/LSApiTemplate.js +2 -0
  128. package/dist/collection/types/LSApiTemplate.js.map +1 -0
  129. package/dist/collection/types/LSMutateEvent.js +2 -0
  130. package/dist/collection/types/LSMutateEvent.js.map +1 -0
  131. package/dist/collection/types/RoleColor.js +2 -0
  132. package/dist/collection/types/RoleColor.js.map +1 -0
  133. package/dist/collection/types/ValidationType.js +2 -0
  134. package/dist/collection/types/ValidationType.js.map +1 -0
  135. package/dist/collection/utils/utils.js +4 -0
  136. package/dist/collection/utils/utils.js.map +1 -0
  137. package/dist/components/index.js +10 -0
  138. package/dist/components/index.js.map +1 -0
  139. package/dist/components/ls-document-options.js +9 -0
  140. package/dist/components/ls-document-options.js.map +1 -0
  141. package/dist/{ls-document-viewer/ls-document-viewer.entry.js → components/ls-document-viewer.js} +241 -681
  142. package/dist/components/ls-document-viewer.js.map +1 -0
  143. package/dist/components/ls-editor-field.js +9 -0
  144. package/dist/components/ls-editor-field.js.map +1 -0
  145. package/dist/components/ls-editor-table.js +9 -0
  146. package/dist/components/ls-editor-table.js.map +1 -0
  147. package/dist/components/ls-feature-column.js +9 -0
  148. package/dist/components/ls-feature-column.js.map +1 -0
  149. package/dist/components/ls-field-alignment.js +9 -0
  150. package/dist/components/ls-field-alignment.js.map +1 -0
  151. package/dist/components/ls-field-dimensions.js +9 -0
  152. package/dist/components/ls-field-dimensions.js.map +1 -0
  153. package/dist/components/ls-field-distribute.js +9 -0
  154. package/dist/components/ls-field-distribute.js.map +1 -0
  155. package/dist/components/ls-field-format.js +9 -0
  156. package/dist/components/ls-field-format.js.map +1 -0
  157. package/dist/components/ls-field-properties-date.js +9 -0
  158. package/dist/components/ls-field-properties-date.js.map +1 -0
  159. package/dist/components/ls-field-properties-general.js +9 -0
  160. package/dist/components/ls-field-properties-general.js.map +1 -0
  161. package/dist/components/ls-field-properties-multiple.js +9 -0
  162. package/dist/components/ls-field-properties-multiple.js.map +1 -0
  163. package/dist/components/ls-field-properties-number.js +9 -0
  164. package/dist/components/ls-field-properties-number.js.map +1 -0
  165. package/dist/components/ls-field-properties-signature.js +9 -0
  166. package/dist/components/ls-field-properties-signature.js.map +1 -0
  167. package/dist/components/ls-field-properties-text.js +9 -0
  168. package/dist/components/ls-field-properties-text.js.map +1 -0
  169. package/dist/components/ls-field-properties.js +102 -0
  170. package/dist/components/ls-field-properties.js.map +1 -0
  171. package/dist/components/ls-field-size.js +9 -0
  172. package/dist/components/ls-field-size.js.map +1 -0
  173. package/dist/components/ls-formfield.js +9 -0
  174. package/dist/components/ls-formfield.js.map +1 -0
  175. package/dist/components/ls-icon.js +9 -0
  176. package/dist/components/ls-icon.js.map +1 -0
  177. package/dist/components/ls-number-input.js +9 -0
  178. package/dist/components/ls-number-input.js.map +1 -0
  179. package/dist/components/ls-participant-manager.js +9 -0
  180. package/dist/components/ls-participant-manager.js.map +1 -0
  181. package/dist/components/ls-participant-select.js +37 -0
  182. package/dist/components/ls-participant-select.js.map +1 -0
  183. package/dist/components/ls-radio-input.js +9 -0
  184. package/dist/components/ls-radio-input.js.map +1 -0
  185. package/dist/components/ls-select-input.js +9 -0
  186. package/dist/components/ls-select-input.js.map +1 -0
  187. package/dist/components/ls-statusbar.js +9 -0
  188. package/dist/components/ls-statusbar.js.map +1 -0
  189. package/dist/components/ls-text-input.js +9 -0
  190. package/dist/components/ls-text-input.js.map +1 -0
  191. package/dist/components/ls-textarea-input.js +9 -0
  192. package/dist/components/ls-textarea-input.js.map +1 -0
  193. package/dist/components/ls-toolbar.js +9 -0
  194. package/dist/components/ls-toolbar.js.map +1 -0
  195. package/dist/components/ls-toolbox-field.js +9 -0
  196. package/dist/components/ls-toolbox-field.js.map +1 -0
  197. package/dist/components/p-BCayRnXx.js +43 -0
  198. package/dist/components/p-BCayRnXx.js.map +1 -0
  199. package/dist/{ls-document-viewer/ls-field-dimensions.entry.js → components/p-BDLp4DXn.js} +29 -11
  200. package/dist/components/p-BDLp4DXn.js.map +1 -0
  201. package/dist/{ls-document-viewer/ls-select-input.entry.js → components/p-BIcEQAWa.js} +44 -10
  202. package/dist/components/p-BIcEQAWa.js.map +1 -0
  203. package/dist/{ls-document-viewer/ls-textarea-input.entry.js → components/p-BKije60j.js} +47 -10
  204. package/dist/components/p-BKije60j.js.map +1 -0
  205. package/dist/{ls-document-viewer/ls-number-input.entry.js → components/p-BZrMKSA6.js} +47 -10
  206. package/dist/components/p-BZrMKSA6.js.map +1 -0
  207. package/dist/components/p-B_usMQbd.js +1715 -0
  208. package/dist/components/p-B_usMQbd.js.map +1 -0
  209. package/dist/{ls-document-viewer/ls-radio-input.entry.js → components/p-BfF7ZF-b.js} +39 -10
  210. package/dist/components/p-BfF7ZF-b.js.map +1 -0
  211. package/dist/components/p-BgdzUc4K.js +43 -0
  212. package/dist/components/p-BgdzUc4K.js.map +1 -0
  213. package/dist/components/p-BwSJ1-Un.js +43 -0
  214. package/dist/components/p-BwSJ1-Un.js.map +1 -0
  215. package/dist/{ls-document-viewer/ls-toolbox-field.entry.js → components/p-BxX2lwMI.js} +32 -9
  216. package/dist/components/p-BxX2lwMI.js.map +1 -0
  217. package/dist/components/p-C1bKFNIi.js +43 -0
  218. package/dist/components/p-C1bKFNIi.js.map +1 -0
  219. package/dist/{ls-document-viewer/ls-field-format.entry.js → components/p-C5RiQmy7.js} +30 -12
  220. package/dist/components/p-C5RiQmy7.js.map +1 -0
  221. package/dist/{ls-document-viewer/editorUtils-CFWWEWrJ.js → components/p-CJEpfA7P.js} +2 -7
  222. package/dist/components/p-CJEpfA7P.js.map +1 -0
  223. package/dist/{ls-document-viewer/ls-formfield.entry.js → components/p-CTeiFZMc.js} +87 -9
  224. package/dist/components/p-CTeiFZMc.js.map +1 -0
  225. package/dist/{ls-document-viewer/ls-text-input.entry.js → components/p-CdKIqMdM.js} +48 -10
  226. package/dist/components/p-CdKIqMdM.js.map +1 -0
  227. package/dist/{ls-document-viewer/clsx-ChV9xqsO.js → components/p-ChV9xqsO.js} +2 -2
  228. package/dist/components/p-ChV9xqsO.js.map +1 -0
  229. package/dist/{ls-document-viewer/ls-participant-manager.entry.js → components/p-Cy8NNOJW.js} +36 -11
  230. package/dist/components/p-Cy8NNOJW.js.map +1 -0
  231. package/dist/components/p-D8fda2Dd.js +43 -0
  232. package/dist/components/p-D8fda2Dd.js.map +1 -0
  233. package/dist/{ls-document-viewer/ls-field-size.entry.js → components/p-D9AkP1pt.js} +29 -11
  234. package/dist/components/p-D9AkP1pt.js.map +1 -0
  235. package/dist/{ls-document-viewer/ls-editor-field.entry.js → components/p-DRATqnWY.js} +40 -11
  236. package/dist/components/p-DRATqnWY.js.map +1 -0
  237. package/dist/{ls-document-viewer/ls-field-alignment.entry.js → components/p-DiIhIGnw.js} +35 -11
  238. package/dist/components/p-DiIhIGnw.js.map +1 -0
  239. package/dist/{ls-document-viewer/ls-icon.entry.js → components/p-DmPOm3yt.js} +29 -16
  240. package/dist/components/p-DmPOm3yt.js.map +1 -0
  241. package/dist/{ls-document-viewer/ls-field-distribute.entry.js → components/p-DmiEmnW1.js} +36 -12
  242. package/dist/components/p-DmiEmnW1.js.map +1 -0
  243. package/dist/components/p-Dn4SzBXT.js +86 -0
  244. package/dist/components/p-Dn4SzBXT.js.map +1 -0
  245. package/dist/components/p-DuPQi9Ya.js +91 -0
  246. package/dist/components/p-DuPQi9Ya.js.map +1 -0
  247. package/dist/{ls-document-viewer/ls-statusbar.entry.js → components/p-Gk0skWN1.js} +36 -11
  248. package/dist/components/p-Gk0skWN1.js.map +1 -0
  249. package/dist/components/p-OVI9RIs8.js +50 -0
  250. package/dist/components/p-OVI9RIs8.js.map +1 -0
  251. package/dist/components/p-TeCFUgn3.js +43 -0
  252. package/dist/components/p-TeCFUgn3.js.map +1 -0
  253. package/dist/{ls-document-viewer/ls-editor-table.entry.js → components/p-YNFsm7tC.js} +28 -10
  254. package/dist/components/p-YNFsm7tC.js.map +1 -0
  255. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  256. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  257. package/dist/esm/index-4rsrLQk9.js +1934 -0
  258. package/dist/esm/index-4rsrLQk9.js.map +1 -0
  259. package/dist/esm/index.js +8 -0
  260. package/dist/esm/index.js.map +1 -0
  261. package/dist/esm/loader.js +14 -0
  262. package/dist/esm/loader.js.map +1 -0
  263. package/dist/esm/ls-document-options_28.entry.js +58338 -0
  264. package/dist/esm/ls-document-options_28.entry.js.map +1 -0
  265. package/dist/esm/ls-document-viewer.js +24 -0
  266. package/dist/esm/ls-document-viewer.js.map +1 -0
  267. package/dist/{ls-document-viewer → esm}/ls-participant-select.entry.js +2 -2
  268. package/dist/esm/ls-participant-select.entry.js.map +1 -0
  269. package/dist/index.cjs.js +1 -0
  270. package/dist/index.js +1 -0
  271. package/dist/ls-document-viewer/index.esm.js +1 -17
  272. package/dist/ls-document-viewer/index.esm.js.map +1 -1
  273. package/dist/ls-document-viewer/loader.esm.js.map +1 -1
  274. package/dist/ls-document-viewer/ls-document-viewer.esm.js +1 -49
  275. package/dist/ls-document-viewer/ls-document-viewer.esm.js.map +1 -1
  276. package/dist/ls-document-viewer/p-20c9ab64.entry.js +8916 -0
  277. package/dist/ls-document-viewer/p-20c9ab64.entry.js.map +1 -0
  278. package/dist/ls-document-viewer/p-4rsrLQk9.js +3 -0
  279. package/dist/ls-document-viewer/p-4rsrLQk9.js.map +1 -0
  280. package/dist/ls-document-viewer/p-959d2e55.entry.js +2 -0
  281. package/dist/ls-document-viewer/p-959d2e55.entry.js.map +1 -0
  282. package/dist/ls-document-viewer/p-DQuL1Twl.js +2 -0
  283. package/dist/ls-document-viewer/p-DQuL1Twl.js.map +1 -0
  284. package/dist/types/components/ls-document-viewer/defaultPalette.d.ts +1 -0
  285. package/dist/types/components/ls-document-viewer/ls-document-viewer.d.ts +1 -0
  286. package/dist/types/components.d.ts +2 -0
  287. package/dist/types/types/RoleColor.d.ts +1 -1
  288. package/package.json +4 -6
  289. package/dist/ls-document-viewer/clsx-ChV9xqsO.js.map +0 -1
  290. package/dist/ls-document-viewer/editorUtils-CFWWEWrJ.js.map +0 -1
  291. package/dist/ls-document-viewer/index-Cjn1MNt-.js +0 -4334
  292. package/dist/ls-document-viewer/index-Cjn1MNt-.js.map +0 -1
  293. package/dist/ls-document-viewer/ls-document-options.entry.esm.js.map +0 -1
  294. package/dist/ls-document-viewer/ls-document-options.entry.js +0 -29
  295. package/dist/ls-document-viewer/ls-document-options.entry.js.map +0 -1
  296. package/dist/ls-document-viewer/ls-document-viewer.entry.esm.js.map +0 -1
  297. package/dist/ls-document-viewer/ls-document-viewer.entry.js.map +0 -1
  298. package/dist/ls-document-viewer/ls-editor-field.entry.esm.js.map +0 -1
  299. package/dist/ls-document-viewer/ls-editor-field.entry.js.map +0 -1
  300. package/dist/ls-document-viewer/ls-editor-table.entry.esm.js.map +0 -1
  301. package/dist/ls-document-viewer/ls-editor-table.entry.js.map +0 -1
  302. package/dist/ls-document-viewer/ls-feature-column.entry.esm.js.map +0 -1
  303. package/dist/ls-document-viewer/ls-feature-column.entry.js +0 -26
  304. package/dist/ls-document-viewer/ls-feature-column.entry.js.map +0 -1
  305. package/dist/ls-document-viewer/ls-field-alignment.entry.esm.js.map +0 -1
  306. package/dist/ls-document-viewer/ls-field-alignment.entry.js.map +0 -1
  307. package/dist/ls-document-viewer/ls-field-dimensions.entry.esm.js.map +0 -1
  308. package/dist/ls-document-viewer/ls-field-dimensions.entry.js.map +0 -1
  309. package/dist/ls-document-viewer/ls-field-distribute.entry.esm.js.map +0 -1
  310. package/dist/ls-document-viewer/ls-field-distribute.entry.js.map +0 -1
  311. package/dist/ls-document-viewer/ls-field-format.entry.esm.js.map +0 -1
  312. package/dist/ls-document-viewer/ls-field-format.entry.js.map +0 -1
  313. package/dist/ls-document-viewer/ls-field-properties-date.entry.esm.js.map +0 -1
  314. package/dist/ls-document-viewer/ls-field-properties-date.entry.js +0 -19
  315. package/dist/ls-document-viewer/ls-field-properties-date.entry.js.map +0 -1
  316. package/dist/ls-document-viewer/ls-field-properties-general.entry.esm.js.map +0 -1
  317. package/dist/ls-document-viewer/ls-field-properties-general.entry.js +0 -19
  318. package/dist/ls-document-viewer/ls-field-properties-general.entry.js.map +0 -1
  319. package/dist/ls-document-viewer/ls-field-properties-multiple.entry.esm.js.map +0 -1
  320. package/dist/ls-document-viewer/ls-field-properties-multiple.entry.js +0 -19
  321. package/dist/ls-document-viewer/ls-field-properties-multiple.entry.js.map +0 -1
  322. package/dist/ls-document-viewer/ls-field-properties-number.entry.esm.js.map +0 -1
  323. package/dist/ls-document-viewer/ls-field-properties-number.entry.js +0 -19
  324. package/dist/ls-document-viewer/ls-field-properties-number.entry.js.map +0 -1
  325. package/dist/ls-document-viewer/ls-field-properties-signature.entry.esm.js.map +0 -1
  326. package/dist/ls-document-viewer/ls-field-properties-signature.entry.js +0 -19
  327. package/dist/ls-document-viewer/ls-field-properties-signature.entry.js.map +0 -1
  328. package/dist/ls-document-viewer/ls-field-properties-text.entry.esm.js.map +0 -1
  329. package/dist/ls-document-viewer/ls-field-properties-text.entry.js +0 -19
  330. package/dist/ls-document-viewer/ls-field-properties-text.entry.js.map +0 -1
  331. package/dist/ls-document-viewer/ls-field-properties.entry.esm.js.map +0 -1
  332. package/dist/ls-document-viewer/ls-field-properties.entry.js +0 -39
  333. package/dist/ls-document-viewer/ls-field-properties.entry.js.map +0 -1
  334. package/dist/ls-document-viewer/ls-field-size.entry.esm.js.map +0 -1
  335. package/dist/ls-document-viewer/ls-field-size.entry.js.map +0 -1
  336. package/dist/ls-document-viewer/ls-formfield.entry.esm.js.map +0 -1
  337. package/dist/ls-document-viewer/ls-formfield.entry.js.map +0 -1
  338. package/dist/ls-document-viewer/ls-icon.entry.esm.js.map +0 -1
  339. package/dist/ls-document-viewer/ls-icon.entry.js.map +0 -1
  340. package/dist/ls-document-viewer/ls-number-input.entry.esm.js.map +0 -1
  341. package/dist/ls-document-viewer/ls-number-input.entry.js.map +0 -1
  342. package/dist/ls-document-viewer/ls-participant-manager.entry.esm.js.map +0 -1
  343. package/dist/ls-document-viewer/ls-participant-manager.entry.js.map +0 -1
  344. package/dist/ls-document-viewer/ls-participant-select.entry.js.map +0 -1
  345. package/dist/ls-document-viewer/ls-radio-input.entry.esm.js.map +0 -1
  346. package/dist/ls-document-viewer/ls-radio-input.entry.js.map +0 -1
  347. package/dist/ls-document-viewer/ls-select-input.entry.esm.js.map +0 -1
  348. package/dist/ls-document-viewer/ls-select-input.entry.js.map +0 -1
  349. package/dist/ls-document-viewer/ls-statusbar.entry.esm.js.map +0 -1
  350. package/dist/ls-document-viewer/ls-statusbar.entry.js.map +0 -1
  351. package/dist/ls-document-viewer/ls-text-input.entry.esm.js.map +0 -1
  352. package/dist/ls-document-viewer/ls-text-input.entry.js.map +0 -1
  353. package/dist/ls-document-viewer/ls-textarea-input.entry.esm.js.map +0 -1
  354. package/dist/ls-document-viewer/ls-textarea-input.entry.js.map +0 -1
  355. package/dist/ls-document-viewer/ls-toolbar.entry.esm.js.map +0 -1
  356. package/dist/ls-document-viewer/ls-toolbar.entry.js +0 -36
  357. package/dist/ls-document-viewer/ls-toolbar.entry.js.map +0 -1
  358. package/dist/ls-document-viewer/ls-toolbox-field.entry.esm.js.map +0 -1
  359. package/dist/ls-document-viewer/ls-toolbox-field.entry.js.map +0 -1
@@ -1,9 +1,24 @@
1
- import { r as registerInstance, a as createEvent, d as getElement, h, e as Host } from './index-Cjn1MNt-.js';
2
- import require$$1 from 'fs';
3
- import require$$2 from 'http';
4
- import require$$3 from 'https';
5
- import require$$4 from 'url';
6
- import { a as alter, o as oob, g as getApiType } from './editorUtils-CFWWEWrJ.js';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-B_usMQbd.js';
2
+ import { a as alter, o as oob, g as getApiType } from './p-CJEpfA7P.js';
3
+ import { d as defineCustomElement$k } from './p-DuPQi9Ya.js';
4
+ import { d as defineCustomElement$j } from './p-DRATqnWY.js';
5
+ import { d as defineCustomElement$i } from './p-YNFsm7tC.js';
6
+ import { d as defineCustomElement$h } from './p-OVI9RIs8.js';
7
+ import { d as defineCustomElement$g } from './p-DiIhIGnw.js';
8
+ import { d as defineCustomElement$f } from './p-DmiEmnW1.js';
9
+ import { d as defineCustomElement$e } from './p-C5RiQmy7.js';
10
+ import { d as defineCustomElement$d } from './p-D9AkP1pt.js';
11
+ import { d as defineCustomElement$c } from './p-CTeiFZMc.js';
12
+ import { d as defineCustomElement$b } from './p-DmPOm3yt.js';
13
+ import { d as defineCustomElement$a } from './p-BZrMKSA6.js';
14
+ import { d as defineCustomElement$9 } from './p-Cy8NNOJW.js';
15
+ import { d as defineCustomElement$8 } from './p-BfF7ZF-b.js';
16
+ import { d as defineCustomElement$7 } from './p-BIcEQAWa.js';
17
+ import { d as defineCustomElement$6 } from './p-Gk0skWN1.js';
18
+ import { d as defineCustomElement$5 } from './p-CdKIqMdM.js';
19
+ import { d as defineCustomElement$4 } from './p-BKije60j.js';
20
+ import { d as defineCustomElement$3 } from './p-Dn4SzBXT.js';
21
+ import { d as defineCustomElement$2 } from './p-BxX2lwMI.js';
7
22
 
8
23
  /*! *****************************************************************************
9
24
  Copyright (c) Microsoft Corporation.
@@ -57,28 +72,13 @@ function __rest(s, e) {
57
72
  return t;
58
73
  }
59
74
 
60
- function __decorate(decorators, target, key, desc) {
61
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
62
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
63
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
64
- return c > 3 && r && Object.defineProperty(target, key, r), r;
65
- }
66
-
67
- function __param(paramIndex, decorator) {
68
- return function (target, key) { decorator(target, key, paramIndex); }
69
- }
70
-
71
- function __metadata(metadataKey, metadataValue) {
72
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
73
- }
74
-
75
75
  function __awaiter(thisArg, _arguments, P, generator) {
76
76
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
77
77
  return new (P || (P = Promise))(function (resolve, reject) {
78
78
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
79
79
  function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
80
80
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
81
- step((generator = generator.apply(thisArg, _arguments || [])).next());
81
+ step((generator = generator.apply(thisArg, [])).next());
82
82
  });
83
83
  }
84
84
 
@@ -110,118 +110,12 @@ function __generator(thisArg, body) {
110
110
  }
111
111
  }
112
112
 
113
- function __createBinding(o, m, k, k2) {
114
- if (k2 === undefined) k2 = k;
115
- o[k2] = m[k];
116
- }
117
-
118
- function __exportStar(m, exports) {
119
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
120
- }
121
-
122
- function __values(o) {
123
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
124
- if (m) return m.call(o);
125
- if (o && typeof o.length === "number") return {
126
- next: function () {
127
- if (o && i >= o.length) o = void 0;
128
- return { value: o && o[i++], done: !o };
129
- }
130
- };
131
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
132
- }
133
-
134
- function __read(o, n) {
135
- var m = typeof Symbol === "function" && o[Symbol.iterator];
136
- if (!m) return o;
137
- var i = m.call(o), r, ar = [], e;
138
- try {
139
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
140
- }
141
- catch (error) { e = { error: error }; }
142
- finally {
143
- try {
144
- if (r && !r.done && (m = i["return"])) m.call(i);
145
- }
146
- finally { if (e) throw e.error; }
147
- }
148
- return ar;
149
- }
150
-
151
- function __spread() {
152
- for (var ar = [], i = 0; i < arguments.length; i++)
153
- ar = ar.concat(__read(arguments[i]));
154
- return ar;
155
- }
156
-
157
113
  function __spreadArrays() {
158
114
  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
159
115
  for (var r = Array(s), k = 0, i = 0; i < il; i++)
160
116
  for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
161
117
  r[k] = a[j];
162
118
  return r;
163
- };
164
-
165
- function __await(v) {
166
- return this instanceof __await ? (this.v = v, this) : new __await(v);
167
- }
168
-
169
- function __asyncGenerator(thisArg, _arguments, generator) {
170
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
171
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
172
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
173
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
174
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
175
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
176
- function fulfill(value) { resume("next", value); }
177
- function reject(value) { resume("throw", value); }
178
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
179
- }
180
-
181
- function __asyncDelegator(o) {
182
- var i, p;
183
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
184
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
185
- }
186
-
187
- function __asyncValues(o) {
188
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
189
- var m = o[Symbol.asyncIterator], i;
190
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
191
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
192
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
193
- }
194
-
195
- function __makeTemplateObject(cooked, raw) {
196
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
197
- return cooked;
198
- };
199
-
200
- function __importStar(mod) {
201
- if (mod && mod.__esModule) return mod;
202
- var result = {};
203
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
204
- result.default = mod;
205
- return result;
206
- }
207
-
208
- function __importDefault(mod) {
209
- return (mod && mod.__esModule) ? mod : { default: mod };
210
- }
211
-
212
- function __classPrivateFieldGet(receiver, privateMap) {
213
- if (!privateMap.has(receiver)) {
214
- throw new TypeError("attempted to get private field on non-instance");
215
- }
216
- return privateMap.get(receiver);
217
- }
218
-
219
- function __classPrivateFieldSet(receiver, privateMap, value) {
220
- if (!privateMap.has(receiver)) {
221
- throw new TypeError("attempted to set private field on non-instance");
222
- }
223
- privateMap.set(receiver, value);
224
- return value;
225
119
  }
226
120
 
227
121
  /*
@@ -330,10 +224,6 @@ var copyStringIntoBuffer = function (str, buffer, offset) {
330
224
  }
331
225
  return length;
332
226
  };
333
- var addRandomSuffix = function (prefix, suffixLength) {
334
- if (suffixLength === void 0) { suffixLength = 4; }
335
- return prefix + "-" + Math.floor(Math.random() * Math.pow(10, suffixLength));
336
- };
337
227
  var escapeRegExp = function (str) {
338
228
  return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
339
229
  };
@@ -341,7 +231,6 @@ var cleanText = function (text) {
341
231
  return text.replace(/\t|\u0085|\u2028|\u2029/g, ' ').replace(/[\b\v]/g, '');
342
232
  };
343
233
  var escapedNewlineChars = ['\\n', '\\f', '\\r', '\\u000B'];
344
- var newlineChars = ['\n', '\f', '\r', '\u000B'];
345
234
  var isNewlineChar = function (text) { return /^[\n\f\r\u000B]$/.test(text); };
346
235
  var lineSplit = function (text) { return text.split(/[\n\f\r\u000B]/); };
347
236
  var mergeLines = function (text) {
@@ -583,136 +472,6 @@ var waitForTick = function () {
583
472
  });
584
473
  };
585
474
 
586
- /**
587
- * Encodes a string to UTF-8.
588
- *
589
- * @param input The string to be encoded.
590
- * @param byteOrderMark Whether or not a byte order marker (BOM) should be added
591
- * to the start of the encoding. (default `true`)
592
- * @returns A Uint8Array containing the UTF-8 encoding of the input string.
593
- *
594
- * -----------------------------------------------------------------------------
595
- *
596
- * JavaScript strings are composed of Unicode code points. Code points are
597
- * integers in the range 0 to 1,114,111 (0x10FFFF). When serializing a string,
598
- * it must be encoded as a sequence of words. A word is typically 8, 16, or 32
599
- * bytes in size. As such, Unicode defines three encoding forms: UTF-8, UTF-16,
600
- * and UTF-32. These encoding forms are described in the Unicode standard [1].
601
- * This function implements the UTF-8 encoding form.
602
- *
603
- * -----------------------------------------------------------------------------
604
- *
605
- * In UTF-8, each code point is mapped to a sequence of 1, 2, 3, or 4 bytes.
606
- * Note that the logic which defines this mapping is slightly convoluted, and
607
- * not as straightforward as the mapping logic for UTF-16 or UTF-32. The UTF-8
608
- * mapping logic is as follows [2]:
609
- *
610
- * • If a code point is in the range U+0000..U+007F, then view it as a 7-bit
611
- * integer: 0bxxxxxxx. Map the code point to 1 byte with the first high order
612
- * bit set to 0:
613
- *
614
- * b1=0b0xxxxxxx
615
- *
616
- * • If a code point is in the range U+0080..U+07FF, then view it as an 11-bit
617
- * integer: 0byyyyyxxxxxx. Map the code point to 2 bytes with the first 5 bits
618
- * of the code point stored in the first byte, and the last 6 bits stored in
619
- * the second byte:
620
- *
621
- * b1=0b110yyyyy b2=0b10xxxxxx
622
- *
623
- * • If a code point is in the range U+0800..U+FFFF, then view it as a 16-bit
624
- * integer, 0bzzzzyyyyyyxxxxxx. Map the code point to 3 bytes with the first
625
- * 4 bits stored in the first byte, the next 6 bits stored in the second byte,
626
- * and the last 6 bits in the third byte:
627
- *
628
- * b1=0b1110zzzz b2=0b10yyyyyy b3=0b10xxxxxx
629
- *
630
- * • If a code point is in the range U+10000...U+10FFFF, then view it as a
631
- * 21-bit integer, 0bvvvzzzzzzyyyyyyxxxxxx. Map the code point to 4 bytes with
632
- * the first 3 bits stored in the first byte, the next 6 bits stored in the
633
- * second byte, the next 6 bits stored in the third byte, and the last 6 bits
634
- * stored in the fourth byte:
635
- *
636
- * b1=0b11110xxx b2=0b10zzzzzz b3=0b10yyyyyy b4=0b10xxxxxx
637
- *
638
- * -----------------------------------------------------------------------------
639
- *
640
- * It is important to note, when iterating through the code points of a string
641
- * in JavaScript, that if a character is encoded as a surrogate pair it will
642
- * increase the string's length by 2 instead of 1 [4]. For example:
643
- *
644
- * ```
645
- * > 'a'.length
646
- * 1
647
- * > '💩'.length
648
- * 2
649
- * > '語'.length
650
- * 1
651
- * > 'a💩語'.length
652
- * 4
653
- * ```
654
- *
655
- * The results of the above example are explained by the fact that the
656
- * characters 'a' and '語' are not represented by surrogate pairs, but '💩' is.
657
- *
658
- * Because of this idiosyncrasy in JavaScript's string implementation and APIs,
659
- * we must "jump" an extra index after encoding a character as a surrogate
660
- * pair. In practice, this means we must increment the index of our for loop by
661
- * 2 if we encode a surrogate pair, and 1 in all other cases.
662
- *
663
- * -----------------------------------------------------------------------------
664
- *
665
- * References:
666
- * - [1] https://www.unicode.org/versions/Unicode12.0.0/UnicodeStandard-12.0.pdf
667
- * 3.9 Unicode Encoding Forms - UTF-8
668
- * - [2] http://www.herongyang.com/Unicode/UTF-8-UTF-8-Encoding.html
669
- * - [3] http://www.herongyang.com/Unicode/UTF-8-UTF-8-Encoding-Algorithm.html
670
- * - [4] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length#Description
671
- *
672
- */
673
- var utf8Encode = function (input, byteOrderMark) {
674
- if (byteOrderMark === void 0) { byteOrderMark = true; }
675
- var encoded = [];
676
- if (byteOrderMark)
677
- encoded.push(0xef, 0xbb, 0xbf);
678
- for (var idx = 0, len = input.length; idx < len;) {
679
- var codePoint = input.codePointAt(idx);
680
- // One byte encoding
681
- if (codePoint < 0x80) {
682
- var byte1 = codePoint & 0x7f;
683
- encoded.push(byte1);
684
- idx += 1;
685
- }
686
- // Two byte encoding
687
- else if (codePoint < 0x0800) {
688
- var byte1 = ((codePoint >> 6) & 0x1f) | 0xc0;
689
- var byte2 = (codePoint & 0x3f) | 0x80;
690
- encoded.push(byte1, byte2);
691
- idx += 1;
692
- }
693
- // Three byte encoding
694
- else if (codePoint < 0x010000) {
695
- var byte1 = ((codePoint >> 12) & 0x0f) | 0xe0;
696
- var byte2 = ((codePoint >> 6) & 0x3f) | 0x80;
697
- var byte3 = (codePoint & 0x3f) | 0x80;
698
- encoded.push(byte1, byte2, byte3);
699
- idx += 1;
700
- }
701
- // Four byte encoding (surrogate pair)
702
- else if (codePoint < 0x110000) {
703
- var byte1 = ((codePoint >> 18) & 0x07) | 0xf0;
704
- var byte2 = ((codePoint >> 12) & 0x3f) | 0x80;
705
- var byte3 = ((codePoint >> 6) & 0x3f) | 0x80;
706
- var byte4 = ((codePoint >> 0) & 0x3f) | 0x80;
707
- encoded.push(byte1, byte2, byte3, byte4);
708
- idx += 2;
709
- }
710
- // Should never reach this case
711
- else
712
- throw new Error("Invalid code point: 0x" + toHexString(codePoint));
713
- }
714
- return new Uint8Array(encoded);
715
- };
716
475
  /**
717
476
  * Encodes a string to UTF-16.
718
477
  *
@@ -1007,20 +766,10 @@ var error = function (msg) {
1007
766
  throw new Error(msg);
1008
767
  };
1009
768
 
1010
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1011
-
1012
769
  function getDefaultExportFromCjs (x) {
1013
770
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1014
771
  }
1015
772
 
1016
- function getDefaultExportFromNamespaceIfPresent (n) {
1017
- return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
1018
- }
1019
-
1020
- function getDefaultExportFromNamespaceIfNotNamed (n) {
1021
- return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
1022
- }
1023
-
1024
773
  function getAugmentedNamespace(n) {
1025
774
  if (n.__esModule) return n;
1026
775
  var f = n.default;
@@ -1054,7 +803,6 @@ function requireCommon () {
1054
803
  if (hasRequiredCommon) return common;
1055
804
  hasRequiredCommon = 1;
1056
805
  (function (exports) {
1057
- 'use strict';
1058
806
 
1059
807
 
1060
808
  var TYPED_OK = (typeof Uint8Array !== 'undefined') &&
@@ -1174,7 +922,6 @@ var hasRequiredTrees;
1174
922
  function requireTrees () {
1175
923
  if (hasRequiredTrees) return trees;
1176
924
  hasRequiredTrees = 1;
1177
- 'use strict';
1178
925
 
1179
926
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
1180
927
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -1729,7 +1476,7 @@ function requireTrees () {
1729
1476
  {
1730
1477
  bi_windup(s); /* align on byte boundary */
1731
1478
 
1732
- if (header) {
1479
+ {
1733
1480
  put_short(s, len);
1734
1481
  put_short(s, ~len);
1735
1482
  }
@@ -2227,7 +1974,7 @@ function requireTrees () {
2227
1974
  //int last; /* one if this is the last block for a file */
2228
1975
  {
2229
1976
  send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */
2230
- copy_block(s, buf, stored_len, true); /* with header */
1977
+ copy_block(s, buf, stored_len); /* with header */
2231
1978
  }
2232
1979
 
2233
1980
 
@@ -2405,7 +2152,6 @@ var hasRequiredAdler32;
2405
2152
  function requireAdler32 () {
2406
2153
  if (hasRequiredAdler32) return adler32_1;
2407
2154
  hasRequiredAdler32 = 1;
2408
- 'use strict';
2409
2155
 
2410
2156
  // Note: adler32 takes 12% for level 0 and 2% for level 6.
2411
2157
  // It isn't worth it to make additional optimizations as in original.
@@ -2465,7 +2211,6 @@ var hasRequiredCrc32;
2465
2211
  function requireCrc32 () {
2466
2212
  if (hasRequiredCrc32) return crc32_1;
2467
2213
  hasRequiredCrc32 = 1;
2468
- 'use strict';
2469
2214
 
2470
2215
  // Note: we can't get significant speed boost here.
2471
2216
  // So write code to minimize size - no pregenerated tables
@@ -2533,7 +2278,6 @@ var hasRequiredMessages;
2533
2278
  function requireMessages () {
2534
2279
  if (hasRequiredMessages) return messages;
2535
2280
  hasRequiredMessages = 1;
2536
- 'use strict';
2537
2281
 
2538
2282
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
2539
2283
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -2573,7 +2317,6 @@ var hasRequiredDeflate$1;
2573
2317
  function requireDeflate$1 () {
2574
2318
  if (hasRequiredDeflate$1) return deflate;
2575
2319
  hasRequiredDeflate$1 = 1;
2576
- 'use strict';
2577
2320
 
2578
2321
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
2579
2322
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -4457,8 +4200,6 @@ var hasRequiredStrings;
4457
4200
  function requireStrings () {
4458
4201
  if (hasRequiredStrings) return strings;
4459
4202
  hasRequiredStrings = 1;
4460
- // String encode/decode helpers
4461
- 'use strict';
4462
4203
 
4463
4204
 
4464
4205
  var utils = requireCommon();
@@ -4653,7 +4394,6 @@ var hasRequiredZstream;
4653
4394
  function requireZstream () {
4654
4395
  if (hasRequiredZstream) return zstream;
4655
4396
  hasRequiredZstream = 1;
4656
- 'use strict';
4657
4397
 
4658
4398
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
4659
4399
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -4708,7 +4448,6 @@ var hasRequiredDeflate;
4708
4448
  function requireDeflate () {
4709
4449
  if (hasRequiredDeflate) return deflate$1;
4710
4450
  hasRequiredDeflate = 1;
4711
- 'use strict';
4712
4451
 
4713
4452
 
4714
4453
  var zlib_deflate = requireDeflate$1();
@@ -5121,7 +4860,6 @@ var hasRequiredInffast;
5121
4860
  function requireInffast () {
5122
4861
  if (hasRequiredInffast) return inffast;
5123
4862
  hasRequiredInffast = 1;
5124
- 'use strict';
5125
4863
 
5126
4864
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
5127
4865
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -5475,7 +5213,6 @@ var hasRequiredInftrees;
5475
5213
  function requireInftrees () {
5476
5214
  if (hasRequiredInftrees) return inftrees;
5477
5215
  hasRequiredInftrees = 1;
5478
- 'use strict';
5479
5216
 
5480
5217
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
5481
5218
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -5826,7 +5563,6 @@ var hasRequiredInflate$1;
5826
5563
  function requireInflate$1 () {
5827
5564
  if (hasRequiredInflate$1) return inflate;
5828
5565
  hasRequiredInflate$1 = 1;
5829
- 'use strict';
5830
5566
 
5831
5567
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
5832
5568
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -7275,10 +7011,7 @@ function requireInflate$1 () {
7275
7011
 
7276
7012
  if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&
7277
7013
  (state.mode < CHECK || flush !== Z_FINISH))) {
7278
- if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {
7279
- state.mode = MEM;
7280
- return Z_MEM_ERROR;
7281
- }
7014
+ if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) ;
7282
7015
  }
7283
7016
  _in -= strm.avail_in;
7284
7017
  _out -= strm.avail_out;
@@ -7391,7 +7124,6 @@ var hasRequiredConstants;
7391
7124
  function requireConstants () {
7392
7125
  if (hasRequiredConstants) return constants;
7393
7126
  hasRequiredConstants = 1;
7394
- 'use strict';
7395
7127
 
7396
7128
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
7397
7129
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -7468,7 +7200,6 @@ var hasRequiredGzheader;
7468
7200
  function requireGzheader () {
7469
7201
  if (hasRequiredGzheader) return gzheader;
7470
7202
  hasRequiredGzheader = 1;
7471
- 'use strict';
7472
7203
 
7473
7204
  // (C) 1995-2013 Jean-loup Gailly and Mark Adler
7474
7205
  // (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
@@ -7534,7 +7265,6 @@ var hasRequiredInflate;
7534
7265
  function requireInflate () {
7535
7266
  if (hasRequiredInflate) return inflate$1;
7536
7267
  hasRequiredInflate = 1;
7537
- 'use strict';
7538
7268
 
7539
7269
 
7540
7270
  var zlib_inflate = requireInflate$1();
@@ -7966,8 +7696,6 @@ var hasRequiredPako;
7966
7696
  function requirePako () {
7967
7697
  if (hasRequiredPako) return pako_1;
7968
7698
  hasRequiredPako = 1;
7969
- // Top level file is just a mixin of submodules & constants
7970
- 'use strict';
7971
7699
 
7972
7700
  var assign = requireCommon().assign;
7973
7701
 
@@ -8505,7 +8233,7 @@ var ReparseError = /** @class */ (function (_super) {
8505
8233
  }
8506
8234
  return ReparseError;
8507
8235
  }(Error));
8508
- var MissingCatalogError = /** @class */ (function (_super) {
8236
+ /** @class */ ((function (_super) {
8509
8237
  __extends(MissingCatalogError, _super);
8510
8238
  function MissingCatalogError(ref) {
8511
8239
  var _this = this;
@@ -8514,7 +8242,7 @@ var MissingCatalogError = /** @class */ (function (_super) {
8514
8242
  return _this;
8515
8243
  }
8516
8244
  return MissingCatalogError;
8517
- }(Error));
8245
+ })(Error));
8518
8246
  var MissingPageContentsEmbeddingError = /** @class */ (function (_super) {
8519
8247
  __extends(MissingPageContentsEmbeddingError, _super);
8520
8248
  function MissingPageContentsEmbeddingError() {
@@ -11100,8 +10828,7 @@ var makeFontFlags = function (options) {
11100
10828
  flipBit(1);
11101
10829
  if (options.serif)
11102
10830
  flipBit(2);
11103
- if (options.symbolic)
11104
- flipBit(3);
10831
+ flipBit(3);
11105
10832
  if (options.script)
11106
10833
  flipBit(4);
11107
10834
  if (options.nonsymbolic)
@@ -11122,7 +10849,6 @@ var deriveFontFlags = function (font) {
11122
10849
  var flags = makeFontFlags({
11123
10850
  fixedPitch: font.post.isFixedPitch,
11124
10851
  serif: 1 <= familyClass && familyClass <= 7,
11125
- symbolic: true,
11126
10852
  script: familyClass === 10,
11127
10853
  italic: font.head.macStyle.italic,
11128
10854
  });
@@ -11344,7 +11070,6 @@ var CustomFontEmbedder = /** @class */ (function () {
11344
11070
  else {
11345
11071
  return [2 /*return*/, context.register(fontDict)];
11346
11072
  }
11347
- return [2 /*return*/];
11348
11073
  }
11349
11074
  });
11350
11075
  });
@@ -11590,7 +11315,6 @@ var FileEmbedder = /** @class */ (function () {
11590
11315
  else {
11591
11316
  return [2 /*return*/, context.register(fileSpecDict)];
11592
11317
  }
11593
- return [2 /*return*/];
11594
11318
  });
11595
11319
  });
11596
11320
  };
@@ -11693,7 +11417,6 @@ var JpegEmbedder = /** @class */ (function () {
11693
11417
  else {
11694
11418
  return [2 /*return*/, context.register(xObject)];
11695
11419
  }
11696
- return [2 /*return*/];
11697
11420
  });
11698
11421
  });
11699
11422
  };
@@ -11726,7 +11449,7 @@ UPNG.toRGBA8 = function(out)
11726
11449
 
11727
11450
  frms.push(img.buffer.slice(0));
11728
11451
 
11729
- if (frm.dispose==0) {}
11452
+ if (frm.dispose==0) ;
11730
11453
  else if(frm.dispose==1) UPNG._copyTile(empty, fw, fh, img, w, h, fx, fy, 0);
11731
11454
  else if(frm.dispose==2) for(var j=0; j<len; j++) img[j]=prev[j];
11732
11455
  }
@@ -11740,9 +11463,6 @@ UPNG.toRGBA8.decodeImage = function(data, w, h, out)
11740
11463
  var bf = new Uint8Array(area*4), bf32 = new Uint32Array(bf.buffer);
11741
11464
  var ctype = out.ctype, depth = out.depth;
11742
11465
  var rs = UPNG._bin.readUshort;
11743
-
11744
- //console.log(ctype, depth);
11745
- var time = Date.now();
11746
11466
 
11747
11467
  if (ctype==6) { // RGB + alpha
11748
11468
  var qarea = area<<2;
@@ -11855,11 +11575,11 @@ UPNG.decode = function(buff)
11855
11575
  var nz = 0, off = offset;
11856
11576
  nz = bin.nextZero(data, off);
11857
11577
  var keyw = bin.readASCII(data, off, nz-off); off = nz + 1;
11858
- var cflag = data[off], cmeth = data[off+1]; off+=2;
11578
+ off+=2;
11859
11579
  nz = bin.nextZero(data, off);
11860
- var ltag = bin.readASCII(data, off, nz-off); off = nz + 1;
11580
+ bin.readASCII(data, off, nz-off); off = nz + 1;
11861
11581
  nz = bin.nextZero(data, off);
11862
- var tkeyw = bin.readUTF8(data, off, nz-off); off = nz + 1;
11582
+ bin.readUTF8(data, off, nz-off); off = nz + 1;
11863
11583
  var text = bin.readUTF8(data, off, len-(off-offset));
11864
11584
  out.tabs[type][keyw] = text;
11865
11585
  }
@@ -11889,7 +11609,7 @@ UPNG.decode = function(buff)
11889
11609
  }
11890
11610
  //else { log("unknown chunk type", type, len); }
11891
11611
  offset += len;
11892
- var crc = bin.readUint(data, offset); offset += 4;
11612
+ bin.readUint(data, offset); offset += 4;
11893
11613
  }
11894
11614
  if(foff!=0) { var fr = out.frames[out.frames.length-1];
11895
11615
  fr.data = UPNG.decode._decompress(out, fd.slice(0,foff), fr.rect.width, fr.rect.height); foff=0;
@@ -11901,13 +11621,8 @@ UPNG.decode = function(buff)
11901
11621
  };
11902
11622
 
11903
11623
  UPNG.decode._decompress = function(out, dd, w, h) {
11904
- var time = Date.now();
11905
11624
  var bpp = UPNG.decode._getBPP(out), bpl = Math.ceil(w*bpp/8), buff = new Uint8Array((bpl+1+out.interlace)*h);
11906
11625
  dd = UPNG.decode._inflate(dd,buff);
11907
- //console.log(dd.length, buff.length);
11908
- //console.log(Date.now()-time);
11909
-
11910
- var time=Date.now();
11911
11626
  if (out.interlace==0) dd = UPNG.decode._filterZero(dd, out, 0, w, h);
11912
11627
  else if(out.interlace==1) dd = UPNG.decode._readInterlace(dd, out);
11913
11628
  //console.log(Date.now()-time);
@@ -11920,10 +11635,10 @@ if(N[0]==3&&N[1]==0)return W?W:new R(0);var V=H.H,n=V.b,A=V.e,l=V.R,M=V.n,I=V.A,
11920
11635
  if(Z)W=new R(N.length>>>2<<3);while(i==0){i=n(N,d,1);m=n(N,d+1,2);d+=3;if(m==0){if((d&7)!=0)d+=8-(d&7);
11921
11636
  var D=(d>>>3)+4,q=N[D-4]|N[D-3]<<8;if(Z)W=H.H.W(W,w+q);W.set(new R(N.buffer,N.byteOffset+D,q),w);d=D+q<<3;
11922
11637
  w+=q;continue}if(Z)W=H.H.W(W,w+(1<<17));if(m==1){v=b.J;C=b.h;X=(1<<9)-1;u=(1<<5)-1;}if(m==2){J=A(N,d,5)+257;
11923
- h=A(N,d+5,5)+1;Q=A(N,d+10,4)+4;d+=14;var E=d,j=1;for(var c=0;c<38;c+=2){b.Q[c]=0;b.Q[c+1]=0;}for(var c=0;
11638
+ h=A(N,d+5,5)+1;Q=A(N,d+10,4)+4;d+=14;var j=1;for(var c=0;c<38;c+=2){b.Q[c]=0;b.Q[c+1]=0;}for(var c=0;
11924
11639
  c<Q;c++){var K=A(N,d+c*3,3);b.Q[(b.X[c]<<1)+1]=K;if(K>j)j=K;}d+=3*Q;M(b.Q,j);I(b.Q,j,b.u);v=b.w;C=b.d;
11925
11640
  d=l(b.u,(1<<j)-1,J+h,N,d,b.v);var r=V.V(b.v,0,J,b.C);X=(1<<r)-1;var S=V.V(b.v,J,h,b.D);u=(1<<S)-1;M(b.C,r);
11926
- I(b.C,r,v);M(b.D,S);I(b.D,S,C);}while(!0){var T=v[e(N,d)&X];d+=T&15;var p=T>>>4;if(p>>>8==0){W[w++]=p;}else if(p==256){break}else {var z=w+p-254;
11641
+ I(b.C,r,v);M(b.D,S);I(b.D,S,C);}while(true){var T=v[e(N,d)&X];d+=T&15;var p=T>>>4;if(p>>>8==0){W[w++]=p;}else if(p==256){break}else {var z=w+p-254;
11927
11642
  if(p>264){var _=b.q[p-257];z=w+(_>>>3)+A(N,d,_&7);d+=_&7;}var $=C[e(N,d)&u];d+=$&15;var s=$>>>4,Y=b.c[s],a=(Y>>>4)+n(N,d,Y&15);
11928
11643
  d+=Y&15;while(w<z){W[w]=W[w++-a];W[w]=W[w++-a];W[w]=W[w++-a];W[w]=W[w++-a];}w=z;}}}return W.length==w?W:W.slice(0,w)};
11929
11644
  H.H.W=function(N,W){var R=N.length;if(W<=R)return N;var V=new Uint8Array(R<<1);V.set(N,0);return V};
@@ -12127,8 +11842,6 @@ UPNG.encode = function(bufs, w, h, ps, dels, tabs, forbidPlte)
12127
11842
 
12128
11843
  UPNG.encodeLL = function(bufs, w, h, cc, ac, depth, dels, tabs) {
12129
11844
  var nimg = { ctype: 0 + (cc==1 ? 0 : 2) + (ac==0 ? 0 : 4), depth: depth, frames: [] };
12130
-
12131
- var time = Date.now();
12132
11845
  var bipp = (cc+ac)*depth, bipl = bipp * w;
12133
11846
  for(var i=0; i<bufs.length; i++)
12134
11847
  nimg.frames.push({ rect:{x:0,y:0,width:w,height:h}, img:new Uint8Array(bufs[i]), blend:0, dispose:1, bpp:Math.ceil(bipp/8), bpl:Math.ceil(bipl/8) });
@@ -12258,7 +11971,7 @@ UPNG.encode._main = function(nimg, w, h, dels, tabs) {
12258
11971
 
12259
11972
  UPNG.encode.compressPNG = function(out, filter, levelZero) {
12260
11973
  for(var i=0; i<out.frames.length; i++) {
12261
- var frm = out.frames[i], nw=frm.rect.width, nh=frm.rect.height;
11974
+ var frm = out.frames[i], nh=frm.rect.height;
12262
11975
  var fdata = new Uint8Array(nh*frm.bpl+nh);
12263
11976
  frm.cimg = UPNG.encode._filterZero(frm.img,nh,frm.bpp,frm.bpl,fdata, filter, levelZero);
12264
11977
  }
@@ -12325,8 +12038,8 @@ UPNG.encode.compress = function(bufs, w, h, ps, prms) // prms: onlyBlend, minBi
12325
12038
 
12326
12039
  for(var j=0; j<frms.length; j++)
12327
12040
  {
12328
- var frm = frms[j], nx=frm.rect.x, ny=frm.rect.y, nw=frm.rect.width, nh=frm.rect.height;
12329
- var cimg = frm.img, cimg32 = new Uint32Array(cimg.buffer);
12041
+ var frm = frms[j], nw=frm.rect.width, nh=frm.rect.height;
12042
+ var cimg = frm.img;
12330
12043
  var bpl = 4*nw, bpp=4;
12331
12044
  if(cc<=256 && forbidPlte==false) {
12332
12045
  bpl = Math.ceil(depth*nw/8);
@@ -12418,10 +12131,8 @@ UPNG.encode.framize = function(bufs,w,h,alwaysBlend,evenCrd,forbidPrev) {
12418
12131
  UPNG.encode._updateFrame(bufs, w,h,frms, j-1,r, evenCrd);
12419
12132
  UPNG.encode._updateFrame(bufs, w,h,frms, j ,r, evenCrd);
12420
12133
  }
12421
- var area = 0;
12422
12134
  if(bufs.length!=1) for(var i=0; i<frms.length; i++) {
12423
12135
  var frm = frms[i];
12424
- area += frm.rect.width*frm.rect.height;
12425
12136
  //if(i==0 || frm.blend!=1) continue;
12426
12137
  //var ob = new Uint8Array(
12427
12138
  //console.log(frm.blend, frm.dispose, frm.rect);
@@ -12439,7 +12150,7 @@ UPNG.encode._updateFrame = function(bufs, w,h, frms, i, r, evenCrd) {
12439
12150
  var cx = r.x+x, cy = r.y+y;
12440
12151
  var j = cy*w+cx, cc = cimg32[j];
12441
12152
  // no need to draw transparency, or to dispose it. Or, if writing the same color and the next one does not need transparency.
12442
- if(cc==0 || (frms[i-1].dispose==0 && pimg32[j]==cc && (nimg==null || nimg[j*4+3]!=0))/**/) {}
12153
+ if(cc==0 || (frms[i-1].dispose==0 && pimg32[j]==cc && (nimg==null || nimg[j*4+3]!=0))/**/) ;
12443
12154
  else {
12444
12155
  if(cx<mix) mix=cx; if(cx>max) max=cx;
12445
12156
  if(cy<miy) miy=cy; if(cy>may) may=cy;
@@ -12556,8 +12267,6 @@ UPNG.quantize = function(abuf, ps)
12556
12267
 
12557
12268
  var KD = UPNG.quantize.getKDtree(nimg, ps);
12558
12269
  var root = KD[0], leafs = KD[1];
12559
-
12560
- var planeDst = UPNG.quantize.planeDst;
12561
12270
  var sb = oimg, tb = nimg32, len=sb.length;
12562
12271
 
12563
12272
  var inds = new Uint8Array(oimg.length>>2);
@@ -12631,7 +12340,6 @@ UPNG.quantize.splitPixels = function(nimg, nimg32, i0, i1, e, eMq)
12631
12340
  {
12632
12341
  var vecDot = UPNG.quantize.vecDot;
12633
12342
  i1-=4;
12634
- var shfs = 0;
12635
12343
  while(i0<i1)
12636
12344
  {
12637
12345
  while(vecDot(nimg, i0, e)<=eMq) i0+=4;
@@ -12823,7 +12531,6 @@ var PngEmbedder = /** @class */ (function () {
12823
12531
  else {
12824
12532
  return [2 /*return*/, context.register(xObject)];
12825
12533
  }
12826
- return [2 /*return*/];
12827
12534
  });
12828
12535
  });
12829
12536
  };
@@ -13877,7 +13584,6 @@ var PDFPageEmbedder = /** @class */ (function () {
13877
13584
  else {
13878
13585
  return [2 /*return*/, context.register(xObject)];
13879
13586
  }
13880
- return [2 /*return*/];
13881
13587
  });
13882
13588
  });
13883
13589
  };
@@ -15261,7 +14967,7 @@ var PDFAcroChoice = /** @class */ (function (_super) {
15261
14967
  }
15262
14968
  };
15263
14969
  for (var idx = 0, len = values.length; idx < len; idx++) {
15264
- var state_1 = _loop_1(idx, len);
14970
+ var state_1 = _loop_1(idx);
15265
14971
  if (typeof state_1 === "object")
15266
14972
  return state_1.value;
15267
14973
  }
@@ -16741,7 +16447,7 @@ var PDFParser = /** @class */ (function (_super) {
16741
16447
  };
16742
16448
  PDFParser.prototype.parseIndirectObjects = function () {
16743
16449
  return __awaiter(this, void 0, void 0, function () {
16744
- var initialOffset, e_1;
16450
+ var initialOffset;
16745
16451
  return __generator(this, function (_a) {
16746
16452
  switch (_a.label) {
16747
16453
  case 0:
@@ -16758,7 +16464,7 @@ var PDFParser = /** @class */ (function (_super) {
16758
16464
  _a.sent();
16759
16465
  return [3 /*break*/, 5];
16760
16466
  case 4:
16761
- e_1 = _a.sent();
16467
+ _a.sent();
16762
16468
  // TODO: Add tracing/logging mechanism to track when this happens!
16763
16469
  this.bytes.moveTo(initialOffset);
16764
16470
  this.tryToParseInvalidIndirectObject();
@@ -17005,10 +16711,6 @@ var RotationTypes;
17005
16711
  RotationTypes["Degrees"] = "degrees";
17006
16712
  RotationTypes["Radians"] = "radians";
17007
16713
  })(RotationTypes || (RotationTypes = {}));
17008
- var radians = function (radianAngle) {
17009
- assertIs(radianAngle, 'radianAngle', ['number']);
17010
- return { type: RotationTypes.Radians, angle: radianAngle };
17011
- };
17012
16714
  var degrees = function (degreeAngle) {
17013
16715
  assertIs(degreeAngle, 'degreeAngle', ['number']);
17014
16716
  return { type: RotationTypes.Degrees, angle: degreeAngle };
@@ -17069,7 +16771,6 @@ var rotateRectangle = function (rectangle, borderWidth, degreeAngle) {
17069
16771
 
17070
16772
  /* ==================== Clipping Path Operators ==================== */
17071
16773
  var clip = function () { return PDFOperator.of(Ops.ClipNonZero); };
17072
- var clipEvenOdd = function () { return PDFOperator.of(Ops.ClipEvenOdd); };
17073
16774
  /* ==================== Graphics State Operators ==================== */
17074
16775
  var cos = Math.cos, sin = Math.sin, tan = Math.tan;
17075
16776
  var concatTransformationMatrix = function (a, b, c, d, e, f) {
@@ -17097,16 +16798,12 @@ var rotateDegrees = function (angle) {
17097
16798
  var skewRadians = function (xSkewAngle, ySkewAngle) {
17098
16799
  return concatTransformationMatrix(1, tan(asNumber(xSkewAngle)), tan(asNumber(ySkewAngle)), 1, 0, 0);
17099
16800
  };
17100
- var skewDegrees = function (xSkewAngle, ySkewAngle) {
17101
- return skewRadians(degreesToRadians(asNumber(xSkewAngle)), degreesToRadians(asNumber(ySkewAngle)));
17102
- };
17103
16801
  var setDashPattern = function (dashArray, dashPhase) {
17104
16802
  return PDFOperator.of(Ops.SetLineDashPattern, [
17105
16803
  "[" + dashArray.map(asPDFNumber).join(' ') + "]",
17106
16804
  asPDFNumber(dashPhase),
17107
16805
  ]);
17108
16806
  };
17109
- var restoreDashPattern = function () { return setDashPattern([], 0); };
17110
16807
  var LineCapStyle;
17111
16808
  (function (LineCapStyle) {
17112
16809
  LineCapStyle[LineCapStyle["Butt"] = 0] = "Butt";
@@ -17122,9 +16819,6 @@ var LineJoinStyle;
17122
16819
  LineJoinStyle[LineJoinStyle["Round"] = 1] = "Round";
17123
16820
  LineJoinStyle[LineJoinStyle["Bevel"] = 2] = "Bevel";
17124
16821
  })(LineJoinStyle || (LineJoinStyle = {}));
17125
- var setLineJoin = function (style) {
17126
- return PDFOperator.of(Ops.SetLineJoinStyle, [asPDFNumber(style)]);
17127
- };
17128
16822
  var setGraphicsState = function (state) {
17129
16823
  return PDFOperator.of(Ops.SetGraphicsStateParams, [asPDFName(state)]);
17130
16824
  };
@@ -17159,28 +16853,6 @@ var moveTo = function (xPos, yPos) {
17159
16853
  var lineTo = function (xPos, yPos) {
17160
16854
  return PDFOperator.of(Ops.LineTo, [asPDFNumber(xPos), asPDFNumber(yPos)]);
17161
16855
  };
17162
- /**
17163
- * @param xPos x coordinate for the lower left corner of the rectangle
17164
- * @param yPos y coordinate for the lower left corner of the rectangle
17165
- * @param width width of the rectangle
17166
- * @param height height of the rectangle
17167
- */
17168
- var rectangle = function (xPos, yPos, width, height) {
17169
- return PDFOperator.of(Ops.AppendRectangle, [
17170
- asPDFNumber(xPos),
17171
- asPDFNumber(yPos),
17172
- asPDFNumber(width),
17173
- asPDFNumber(height),
17174
- ]);
17175
- };
17176
- /**
17177
- * @param xPos x coordinate for the lower left corner of the square
17178
- * @param yPos y coordinate for the lower left corner of the square
17179
- * @param size width and height of the square
17180
- */
17181
- var square = function (xPos, yPos, size) {
17182
- return rectangle(xPos, yPos, size, size);
17183
- };
17184
16856
  /* ==================== Path Painting Operators ==================== */
17185
16857
  var stroke = function () { return PDFOperator.of(Ops.StrokePath); };
17186
16858
  var fill = function () { return PDFOperator.of(Ops.FillNonZero); };
@@ -17188,9 +16860,6 @@ var fillAndStroke = function () { return PDFOperator.of(Ops.FillNonZeroAndStroke
17188
16860
  var endPath = function () { return PDFOperator.of(Ops.EndPath); };
17189
16861
  /* ==================== Text Positioning Operators ==================== */
17190
16862
  var nextLine = function () { return PDFOperator.of(Ops.NextLine); };
17191
- var moveText = function (x, y) {
17192
- return PDFOperator.of(Ops.MoveText, [asPDFNumber(x), asPDFNumber(y)]);
17193
- };
17194
16863
  /* ==================== Text Showing Operators ==================== */
17195
16864
  var showText = function (text) {
17196
16865
  return PDFOperator.of(Ops.ShowText, [text]);
@@ -17199,22 +16868,9 @@ var showText = function (text) {
17199
16868
  var beginText = function () { return PDFOperator.of(Ops.BeginText); };
17200
16869
  var endText = function () { return PDFOperator.of(Ops.EndText); };
17201
16870
  var setFontAndSize = function (name, size) { return PDFOperator.of(Ops.SetFontAndSize, [asPDFName(name), asPDFNumber(size)]); };
17202
- var setCharacterSpacing = function (spacing) {
17203
- return PDFOperator.of(Ops.SetCharacterSpacing, [asPDFNumber(spacing)]);
17204
- };
17205
- var setWordSpacing = function (spacing) {
17206
- return PDFOperator.of(Ops.SetWordSpacing, [asPDFNumber(spacing)]);
17207
- };
17208
- /** @param squeeze horizontal character spacing */
17209
- var setCharacterSqueeze = function (squeeze) {
17210
- return PDFOperator.of(Ops.SetTextHorizontalScaling, [asPDFNumber(squeeze)]);
17211
- };
17212
16871
  var setLineHeight = function (lineHeight) {
17213
16872
  return PDFOperator.of(Ops.SetTextLineHeight, [asPDFNumber(lineHeight)]);
17214
16873
  };
17215
- var setTextRise = function (rise) {
17216
- return PDFOperator.of(Ops.SetTextRise, [asPDFNumber(rise)]);
17217
- };
17218
16874
  var TextRenderingMode;
17219
16875
  (function (TextRenderingMode) {
17220
16876
  TextRenderingMode[TextRenderingMode["Fill"] = 0] = "Fill";
@@ -17226,9 +16882,6 @@ var TextRenderingMode;
17226
16882
  TextRenderingMode[TextRenderingMode["FillAndOutlineAndClip"] = 6] = "FillAndOutlineAndClip";
17227
16883
  TextRenderingMode[TextRenderingMode["Clip"] = 7] = "Clip";
17228
16884
  })(TextRenderingMode || (TextRenderingMode = {}));
17229
- var setTextRenderingMode = function (mode) {
17230
- return PDFOperator.of(Ops.SetTextRenderingMode, [asPDFNumber(mode)]);
17231
- };
17232
16885
  var setTextMatrix = function (a, b, c, d, e, f) {
17233
16886
  return PDFOperator.of(Ops.SetTextMatrix, [
17234
16887
  asPDFNumber(a),
@@ -17242,9 +16895,6 @@ var setTextMatrix = function (a, b, c, d, e, f) {
17242
16895
  var rotateAndSkewTextRadiansAndTranslate = function (rotationAngle, xSkewAngle, ySkewAngle, x, y) {
17243
16896
  return setTextMatrix(cos(asNumber(rotationAngle)), sin(asNumber(rotationAngle)) + tan(asNumber(xSkewAngle)), -sin(asNumber(rotationAngle)) + tan(asNumber(ySkewAngle)), cos(asNumber(rotationAngle)), x, y);
17244
16897
  };
17245
- var rotateAndSkewTextDegreesAndTranslate = function (rotationAngle, xSkewAngle, ySkewAngle, x, y) {
17246
- return rotateAndSkewTextRadiansAndTranslate(degreesToRadians(asNumber(rotationAngle)), degreesToRadians(asNumber(xSkewAngle)), degreesToRadians(asNumber(ySkewAngle)), x, y);
17247
- };
17248
16898
  /* ==================== XObject Operator ==================== */
17249
16899
  var drawObject = function (name) {
17250
16900
  return PDFOperator.of(Ops.DrawObject, [asPDFName(name)]);
@@ -17722,19 +17372,6 @@ var segmentToBezier = function (cx1, cy1, th0, th1, rx, ry, sinTh, cosTh) {
17722
17372
  };
17723
17373
  var svgPathToOperators = function (path) { return apply(parse(path)); };
17724
17374
 
17725
- var drawText = function (line, options) {
17726
- return [
17727
- pushGraphicsState(),
17728
- options.graphicsState && setGraphicsState(options.graphicsState),
17729
- beginText(),
17730
- setFillingColor(options.color),
17731
- setFontAndSize(options.font, options.size),
17732
- rotateAndSkewTextRadiansAndTranslate(toRadians(options.rotate), toRadians(options.xSkew), toRadians(options.ySkew), options.x, options.y),
17733
- showText(line),
17734
- endText(),
17735
- popGraphicsState(),
17736
- ].filter(Boolean);
17737
- };
17738
17375
  var drawLinesOfText = function (lines, options) {
17739
17376
  var operators = [
17740
17377
  pushGraphicsState(),
@@ -17950,7 +17587,7 @@ var drawCheckMark = function (options) {
17950
17587
  var p3x = 1 - 0.31;
17951
17588
  // (x, y) coords of the check mark's center (vertically) point
17952
17589
  var p1x = -1 + 0.325;
17953
- var p1y = -((p1x - p2x) * (p3x - p2x)) / (p3y - p2y) + p2y;
17590
+ var p1y = 0.3995 / (p3y - p2y) + p2y;
17954
17591
  /****************************************************************************/
17955
17592
  return [
17956
17593
  pushGraphicsState(),
@@ -18270,7 +17907,7 @@ var UnexpectedFieldTypeError = /** @class */ (function (_super) {
18270
17907
  }
18271
17908
  return UnexpectedFieldTypeError;
18272
17909
  }(Error));
18273
- var MissingOnValueCheckError = /** @class */ (function (_super) {
17910
+ /** @class */ ((function (_super) {
18274
17911
  __extends(MissingOnValueCheckError, _super);
18275
17912
  function MissingOnValueCheckError(onValue) {
18276
17913
  var _this = this;
@@ -18279,7 +17916,7 @@ var MissingOnValueCheckError = /** @class */ (function (_super) {
18279
17916
  return _this;
18280
17917
  }
18281
17918
  return MissingOnValueCheckError;
18282
- }(Error));
17919
+ })(Error));
18283
17920
  var FieldAlreadyExistsError = /** @class */ (function (_super) {
18284
17921
  __extends(FieldAlreadyExistsError, _super);
18285
17922
  function FieldAlreadyExistsError(name) {
@@ -18300,7 +17937,7 @@ var InvalidFieldNamePartError = /** @class */ (function (_super) {
18300
17937
  }
18301
17938
  return InvalidFieldNamePartError;
18302
17939
  }(Error));
18303
- var FieldExistsAsNonTerminalError = /** @class */ (function (_super) {
17940
+ /** @class */ ((function (_super) {
18304
17941
  __extends(FieldExistsAsNonTerminalError, _super);
18305
17942
  function FieldExistsAsNonTerminalError(name) {
18306
17943
  var _this = this;
@@ -18309,7 +17946,7 @@ var FieldExistsAsNonTerminalError = /** @class */ (function (_super) {
18309
17946
  return _this;
18310
17947
  }
18311
17948
  return FieldExistsAsNonTerminalError;
18312
- }(Error));
17949
+ })(Error));
18313
17950
  var RichTextFieldReadError = /** @class */ (function (_super) {
18314
17951
  __extends(RichTextFieldReadError, _super);
18315
17952
  function RichTextFieldReadError(fieldName) {
@@ -22872,57 +22509,7 @@ var addFieldToParent = function (_a, _b, partialName) {
22872
22509
  };
22873
22510
 
22874
22511
  var PageSizes = {
22875
- '4A0': [4767.87, 6740.79],
22876
- '2A0': [3370.39, 4767.87],
22877
- A0: [2383.94, 3370.39],
22878
- A1: [1683.78, 2383.94],
22879
- A2: [1190.55, 1683.78],
22880
- A3: [841.89, 1190.55],
22881
- A4: [595.28, 841.89],
22882
- A5: [419.53, 595.28],
22883
- A6: [297.64, 419.53],
22884
- A7: [209.76, 297.64],
22885
- A8: [147.4, 209.76],
22886
- A9: [104.88, 147.4],
22887
- A10: [73.7, 104.88],
22888
- B0: [2834.65, 4008.19],
22889
- B1: [2004.09, 2834.65],
22890
- B2: [1417.32, 2004.09],
22891
- B3: [1000.63, 1417.32],
22892
- B4: [708.66, 1000.63],
22893
- B5: [498.9, 708.66],
22894
- B6: [354.33, 498.9],
22895
- B7: [249.45, 354.33],
22896
- B8: [175.75, 249.45],
22897
- B9: [124.72, 175.75],
22898
- B10: [87.87, 124.72],
22899
- C0: [2599.37, 3676.54],
22900
- C1: [1836.85, 2599.37],
22901
- C2: [1298.27, 1836.85],
22902
- C3: [918.43, 1298.27],
22903
- C4: [649.13, 918.43],
22904
- C5: [459.21, 649.13],
22905
- C6: [323.15, 459.21],
22906
- C7: [229.61, 323.15],
22907
- C8: [161.57, 229.61],
22908
- C9: [113.39, 161.57],
22909
- C10: [79.37, 113.39],
22910
- RA0: [2437.8, 3458.27],
22911
- RA1: [1729.13, 2437.8],
22912
- RA2: [1218.9, 1729.13],
22913
- RA3: [864.57, 1218.9],
22914
- RA4: [609.45, 864.57],
22915
- SRA0: [2551.18, 3628.35],
22916
- SRA1: [1814.17, 2551.18],
22917
- SRA2: [1275.59, 1814.17],
22918
- SRA3: [907.09, 1275.59],
22919
- SRA4: [637.8, 907.09],
22920
- Executive: [521.86, 756.0],
22921
- Folio: [612.0, 936.0],
22922
- Legal: [612.0, 1008.0],
22923
- Letter: [612.0, 792.0],
22924
- Tabloid: [792.0, 1224.0],
22925
- };
22512
+ A4: [595.28, 841.89]};
22926
22513
 
22927
22514
  var ParseSpeeds;
22928
22515
  (function (ParseSpeeds) {
@@ -23103,7 +22690,6 @@ var JavaScriptEmbedder = /** @class */ (function () {
23103
22690
  else {
23104
22691
  return [2 /*return*/, context.register(jsActionDict)];
23105
22692
  }
23106
- return [2 /*return*/];
23107
22693
  });
23108
22694
  });
23109
22695
  };
@@ -26114,7 +25700,16 @@ function commonjsRequire(path) {
26114
25700
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
26115
25701
  }
26116
25702
 
26117
- var pdf$2 = {exports: {}};
25703
+ var pdf$1 = {exports: {}};
25704
+
25705
+ var _nodeResolve_empty = {};
25706
+
25707
+ var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
25708
+ __proto__: null,
25709
+ default: _nodeResolve_empty
25710
+ });
25711
+
25712
+ var require$$4 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
26118
25713
 
26119
25714
  /**
26120
25715
  * @licstart The following is the entire license notice for the
@@ -26137,24 +25732,17 @@ var pdf$2 = {exports: {}};
26137
25732
  * @licend The above is the entire license notice for the
26138
25733
  * Javascript code in this page
26139
25734
  */
26140
- var pdf$1 = pdf$2.exports;
25735
+ var pdf = pdf$1.exports;
26141
25736
 
26142
25737
  var hasRequiredPdf;
26143
25738
 
26144
25739
  function requirePdf () {
26145
- if (hasRequiredPdf) return pdf$2.exports;
25740
+ if (hasRequiredPdf) return pdf$1.exports;
26146
25741
  hasRequiredPdf = 1;
26147
25742
  (function (module, exports) {
26148
25743
  (function webpackUniversalModuleDefinition(root, factory) {
26149
- if('object' === 'object' && 'object' === 'object')
26150
- module.exports = factory();
26151
- else if(typeof undefined === 'function' && undefined.amd)
26152
- undefined("pdfjs-dist/build/pdf", [], factory);
26153
- else if('object' === 'object')
26154
- exports["pdfjs-dist/build/pdf"] = factory();
26155
- else
26156
- root["pdfjs-dist/build/pdf"] = root.pdfjsLib = factory();
26157
- })(pdf$1, function() {
25744
+ module.exports = factory();
25745
+ })(pdf, function() {
26158
25746
  return /******/ (function(modules) { // webpackBootstrap
26159
25747
  /******/ // The module cache
26160
25748
  /******/ var installedModules = {};
@@ -26245,8 +25833,6 @@ function requirePdf () {
26245
25833
  /* 0 */
26246
25834
  /***/ (function(module, exports, __w_pdfjs_require__) {
26247
25835
 
26248
- "use strict";
26249
-
26250
25836
 
26251
25837
  Object.defineProperty(exports, "__esModule", {
26252
25838
  value: true
@@ -26459,9 +26045,6 @@ function requirePdf () {
26459
26045
  var _text_layer = __w_pdfjs_require__(17);
26460
26046
 
26461
26047
  var _svg = __w_pdfjs_require__(18);
26462
-
26463
- const pdfjsVersion = '2.5.207';
26464
- const pdfjsBuild = '0974d605';
26465
26048
  {
26466
26049
  const {
26467
26050
  isNodeJS
@@ -26496,8 +26079,6 @@ function requirePdf () {
26496
26079
  /* 1 */
26497
26080
  /***/ (function(module, exports, __w_pdfjs_require__) {
26498
26081
 
26499
- "use strict";
26500
-
26501
26082
 
26502
26083
  Object.defineProperty(exports, "__esModule", {
26503
26084
  value: true
@@ -26996,8 +26577,6 @@ function requirePdf () {
26996
26577
  /* 2 */
26997
26578
  /***/ (function(module, exports, __w_pdfjs_require__) {
26998
26579
 
26999
- "use strict";
27000
-
27001
26580
 
27002
26581
  Object.defineProperty(exports, "__esModule", {
27003
26582
  value: true
@@ -27824,19 +27403,13 @@ function requirePdf () {
27824
27403
  /* 3 */
27825
27404
  /***/ (function(module, exports, __w_pdfjs_require__) {
27826
27405
 
27827
- "use strict";
27828
27406
 
27829
-
27830
- var _is_node = __w_pdfjs_require__(4);
27831
-
27832
- ;
27407
+ __w_pdfjs_require__(4);
27833
27408
 
27834
27409
  /***/ }),
27835
27410
  /* 4 */
27836
27411
  /***/ (function(module, exports, __w_pdfjs_require__) {
27837
27412
 
27838
- "use strict";
27839
-
27840
27413
 
27841
27414
  Object.defineProperty(exports, "__esModule", {
27842
27415
  value: true
@@ -27849,8 +27422,6 @@ function requirePdf () {
27849
27422
  /* 5 */
27850
27423
  /***/ (function(module, exports, __w_pdfjs_require__) {
27851
27424
 
27852
- "use strict";
27853
-
27854
27425
 
27855
27426
  Object.defineProperty(exports, "__esModule", {
27856
27427
  value: true
@@ -29932,8 +29503,6 @@ function requirePdf () {
29932
29503
  /* 6 */
29933
29504
  /***/ (function(module, exports, __w_pdfjs_require__) {
29934
29505
 
29935
- "use strict";
29936
-
29937
29506
 
29938
29507
  Object.defineProperty(exports, "__esModule", {
29939
29508
  value: true
@@ -30319,8 +29888,6 @@ function requirePdf () {
30319
29888
  /* 7 */
30320
29889
  /***/ (function(module, exports, __w_pdfjs_require__) {
30321
29890
 
30322
- "use strict";
30323
-
30324
29891
 
30325
29892
  Object.defineProperty(exports, "__esModule", {
30326
29893
  value: true
@@ -30344,8 +29911,6 @@ function requirePdf () {
30344
29911
  /* 8 */
30345
29912
  /***/ (function(module, exports, __w_pdfjs_require__) {
30346
29913
 
30347
- "use strict";
30348
-
30349
29914
 
30350
29915
  Object.defineProperty(exports, "__esModule", {
30351
29916
  value: true
@@ -30360,7 +29925,6 @@ function requirePdf () {
30360
29925
  var MAX_FONT_SIZE = 100;
30361
29926
  var MAX_GROUP_SIZE = 4096;
30362
29927
  var MIN_WIDTH_FACTOR = 0.65;
30363
- var COMPILE_TYPE3_GLYPHS = true;
30364
29928
  var MAX_SIZE_TO_COMPILE = 1000;
30365
29929
  var FULL_CHUNK_HEIGHT = 16;
30366
29930
 
@@ -30505,7 +30069,7 @@ function requirePdf () {
30505
30069
  width1 = width + 1;
30506
30070
  var points = new Uint8Array(width1 * (height + 1));
30507
30071
  var POINT_TYPES = new Uint8Array([0, 2, 4, 0, 1, 0, 5, 4, 8, 10, 0, 8, 0, 2, 1, 0]);
30508
- var lineSize = width + 7 & ~7,
30072
+ var lineSize = width + 7 & -8,
30509
30073
  data0 = imgData.data;
30510
30074
  var data = new Uint8Array(lineSize * height),
30511
30075
  pos = 0,
@@ -30781,7 +30345,7 @@ function requirePdf () {
30781
30345
  var srcDiff = srcLength - srcPos;
30782
30346
  var k = 0;
30783
30347
  var kEnd = srcDiff > fullSrcDiff ? width : srcDiff * 8 - 7;
30784
- var kEndUnrolled = kEnd & ~7;
30348
+ var kEndUnrolled = kEnd & -8;
30785
30349
  var mask = 0;
30786
30350
  var srcByte = 0;
30787
30351
 
@@ -32129,7 +31693,7 @@ function requirePdf () {
32129
31693
  var isPatternFill = this.current.patternFill;
32130
31694
  var glyph = this.processingType3;
32131
31695
 
32132
- if (COMPILE_TYPE3_GLYPHS && glyph && glyph.compiled === undefined) {
31696
+ if (glyph && glyph.compiled === undefined) {
32133
31697
  if (width <= MAX_SIZE_TO_COMPILE && height <= MAX_SIZE_TO_COMPILE) {
32134
31698
  glyph.compiled = compileType3Glyph({
32135
31699
  data: img.data,
@@ -32390,8 +31954,6 @@ function requirePdf () {
32390
31954
  /* 9 */
32391
31955
  /***/ (function(module, exports, __w_pdfjs_require__) {
32392
31956
 
32393
- "use strict";
32394
-
32395
31957
 
32396
31958
  Object.defineProperty(exports, "__esModule", {
32397
31959
  value: true
@@ -32871,8 +32433,6 @@ function requirePdf () {
32871
32433
  /* 10 */
32872
32434
  /***/ (function(module, exports, __w_pdfjs_require__) {
32873
32435
 
32874
- "use strict";
32875
-
32876
32436
 
32877
32437
  Object.defineProperty(exports, "__esModule", {
32878
32438
  value: true
@@ -32887,8 +32447,6 @@ function requirePdf () {
32887
32447
  /* 11 */
32888
32448
  /***/ (function(module, exports, __w_pdfjs_require__) {
32889
32449
 
32890
- "use strict";
32891
-
32892
32450
 
32893
32451
  Object.defineProperty(exports, "__esModule", {
32894
32452
  value: true
@@ -32898,12 +32456,10 @@ function requirePdf () {
32898
32456
  var _util = __w_pdfjs_require__(2);
32899
32457
 
32900
32458
  const CallbackKind = {
32901
- UNKNOWN: 0,
32902
32459
  DATA: 1,
32903
32460
  ERROR: 2
32904
32461
  };
32905
32462
  const StreamKind = {
32906
- UNKNOWN: 0,
32907
32463
  CANCEL: 1,
32908
32464
  CANCEL_COMPLETE: 2,
32909
32465
  CLOSE: 3,
@@ -33388,8 +32944,6 @@ function requirePdf () {
33388
32944
  /* 12 */
33389
32945
  /***/ (function(module, exports, __w_pdfjs_require__) {
33390
32946
 
33391
- "use strict";
33392
-
33393
32947
 
33394
32948
  Object.defineProperty(exports, "__esModule", {
33395
32949
  value: true
@@ -33516,8 +33070,6 @@ function requirePdf () {
33516
33070
  /* 13 */
33517
33071
  /***/ (function(module, exports, __w_pdfjs_require__) {
33518
33072
 
33519
- "use strict";
33520
-
33521
33073
 
33522
33074
  Object.defineProperty(exports, "__esModule", {
33523
33075
  value: true
@@ -33525,17 +33077,12 @@ function requirePdf () {
33525
33077
  exports.SimpleXMLParser = void 0;
33526
33078
  const XMLParserErrorCode = {
33527
33079
  NoError: 0,
33528
- EndOfDocument: -1,
33529
33080
  UnterminatedCdat: -2,
33530
33081
  UnterminatedXmlDeclaration: -3,
33531
33082
  UnterminatedDoctypeDeclaration: -4,
33532
33083
  UnterminatedComment: -5,
33533
33084
  MalformedElement: -6,
33534
- OutOfMemory: -7,
33535
- UnterminatedAttributeValue: -8,
33536
- UnterminatedElement: -9,
33537
- ElementNeverBegun: -10
33538
- };
33085
+ UnterminatedElement: -9};
33539
33086
 
33540
33087
  function isWhitespace(s, index) {
33541
33088
  const ch = s[index];
@@ -33959,8 +33506,6 @@ function requirePdf () {
33959
33506
  /* 14 */
33960
33507
  /***/ (function(module, exports, __w_pdfjs_require__) {
33961
33508
 
33962
- "use strict";
33963
-
33964
33509
 
33965
33510
  Object.defineProperty(exports, "__esModule", {
33966
33511
  value: true
@@ -34314,8 +33859,6 @@ function requirePdf () {
34314
33859
  /* 15 */
34315
33860
  /***/ (function(module, exports, __w_pdfjs_require__) {
34316
33861
 
34317
- "use strict";
34318
-
34319
33862
 
34320
33863
  Object.defineProperty(exports, "__esModule", {
34321
33864
  value: true
@@ -34761,8 +34304,6 @@ function requirePdf () {
34761
34304
  /* 16 */
34762
34305
  /***/ (function(module, exports, __w_pdfjs_require__) {
34763
34306
 
34764
- "use strict";
34765
-
34766
34307
 
34767
34308
  Object.defineProperty(exports, "__esModule", {
34768
34309
  value: true
@@ -34926,9 +34467,6 @@ function requirePdf () {
34926
34467
  case _util.AnnotationBorderStyleType.UNDERLINE:
34927
34468
  container.style.borderBottomStyle = "solid";
34928
34469
  break;
34929
-
34930
- default:
34931
- break;
34932
34470
  }
34933
34471
 
34934
34472
  if (data.color) {
@@ -35797,8 +35335,6 @@ function requirePdf () {
35797
35335
  /* 17 */
35798
35336
  /***/ (function(module, exports, __w_pdfjs_require__) {
35799
35337
 
35800
- "use strict";
35801
-
35802
35338
 
35803
35339
  Object.defineProperty(exports, "__esModule", {
35804
35340
  value: true
@@ -36492,8 +36028,6 @@ function requirePdf () {
36492
36028
  /* 18 */
36493
36029
  /***/ (function(module, exports, __w_pdfjs_require__) {
36494
36030
 
36495
- "use strict";
36496
-
36497
36031
 
36498
36032
  Object.defineProperty(exports, "__esModule", {
36499
36033
  value: true
@@ -36601,7 +36135,7 @@ function requirePdf () {
36601
36135
  input = Buffer.from(literals);
36602
36136
  }
36603
36137
 
36604
- const output = require("zlib").deflateSync(input, {
36138
+ const output = require$$4.deflateSync(input, {
36605
36139
  level: 9
36606
36140
  });
36607
36141
 
@@ -37261,7 +36795,7 @@ function requirePdf () {
37261
36795
  }
37262
36796
 
37263
36797
  current.tspan.textContent += character;
37264
- } else {}
36798
+ }
37265
36799
 
37266
36800
  let charWidth;
37267
36801
 
@@ -38018,8 +37552,6 @@ function requirePdf () {
38018
37552
  /* 19 */
38019
37553
  /***/ (function(module, exports, __w_pdfjs_require__) {
38020
37554
 
38021
- "use strict";
38022
-
38023
37555
 
38024
37556
  Object.defineProperty(exports, "__esModule", {
38025
37557
  value: true
@@ -38030,13 +37562,11 @@ function requirePdf () {
38030
37562
 
38031
37563
  var _network_utils = __w_pdfjs_require__(20);
38032
37564
 
38033
- ;
38034
-
38035
- const fs = require$$1;
37565
+ const fs = require$$4;
38036
37566
 
38037
- const http = require$$2;
37567
+ const http = require$$4;
38038
37568
 
38039
- const https = require$$3;
37569
+ const https = require$$4;
38040
37570
 
38041
37571
  const url = require$$4;
38042
37572
 
@@ -38487,8 +38017,6 @@ function requirePdf () {
38487
38017
  /* 20 */
38488
38018
  /***/ (function(module, exports, __w_pdfjs_require__) {
38489
38019
 
38490
- "use strict";
38491
-
38492
38020
 
38493
38021
  Object.defineProperty(exports, "__esModule", {
38494
38022
  value: true
@@ -38579,8 +38107,6 @@ function requirePdf () {
38579
38107
  /* 21 */
38580
38108
  /***/ (function(module, exports, __w_pdfjs_require__) {
38581
38109
 
38582
- "use strict";
38583
-
38584
38110
 
38585
38111
  Object.defineProperty(exports, "__esModule", {
38586
38112
  value: true
@@ -38767,8 +38293,6 @@ function requirePdf () {
38767
38293
  /* 22 */
38768
38294
  /***/ (function(module, exports, __w_pdfjs_require__) {
38769
38295
 
38770
- "use strict";
38771
-
38772
38296
 
38773
38297
  Object.defineProperty(exports, "__esModule", {
38774
38298
  value: true
@@ -38778,8 +38302,6 @@ function requirePdf () {
38778
38302
  var _util = __w_pdfjs_require__(2);
38779
38303
 
38780
38304
  var _network_utils = __w_pdfjs_require__(20);
38781
-
38782
- ;
38783
38305
  const OK_RESPONSE = 200;
38784
38306
  const PARTIAL_CONTENT_RESPONSE = 206;
38785
38307
 
@@ -39324,8 +38846,6 @@ function requirePdf () {
39324
38846
  /* 23 */
39325
38847
  /***/ (function(module, exports, __w_pdfjs_require__) {
39326
38848
 
39327
- "use strict";
39328
-
39329
38849
 
39330
38850
  Object.defineProperty(exports, "__esModule", {
39331
38851
  value: true
@@ -39336,8 +38856,6 @@ function requirePdf () {
39336
38856
 
39337
38857
  var _network_utils = __w_pdfjs_require__(20);
39338
38858
 
39339
- ;
39340
-
39341
38859
  function createFetchOptions(headers, withCredentials, abortController) {
39342
38860
  return {
39343
38861
  method: "GET",
@@ -39612,14 +39130,13 @@ function requirePdf () {
39612
39130
  /******/ ]);
39613
39131
  });
39614
39132
 
39615
- } (pdf$2, pdf$2.exports));
39616
- return pdf$2.exports;
39133
+ } (pdf$1));
39134
+ return pdf$1.exports;
39617
39135
  }
39618
39136
 
39619
39137
  var pdfExports = requirePdf();
39620
- var pdf = /*@__PURE__*/getDefaultExportFromCjs(pdfExports);
39621
39138
 
39622
- var pdf_viewer$2 = {exports: {}};
39139
+ var pdf_viewer$1 = {exports: {}};
39623
39140
 
39624
39141
  /**
39625
39142
  * @licstart The following is the entire license notice for the
@@ -39642,24 +39159,17 @@ var pdf_viewer$2 = {exports: {}};
39642
39159
  * @licend The above is the entire license notice for the
39643
39160
  * Javascript code in this page
39644
39161
  */
39645
- var pdf_viewer$1 = pdf_viewer$2.exports;
39162
+ var pdf_viewer = pdf_viewer$1.exports;
39646
39163
 
39647
39164
  var hasRequiredPdf_viewer;
39648
39165
 
39649
39166
  function requirePdf_viewer () {
39650
- if (hasRequiredPdf_viewer) return pdf_viewer$2.exports;
39167
+ if (hasRequiredPdf_viewer) return pdf_viewer$1.exports;
39651
39168
  hasRequiredPdf_viewer = 1;
39652
39169
  (function (module, exports) {
39653
39170
  (function webpackUniversalModuleDefinition(root, factory) {
39654
- if('object' === 'object' && 'object' === 'object')
39655
- module.exports = factory();
39656
- else if(typeof undefined === 'function' && undefined.amd)
39657
- undefined("pdfjs-dist/web/pdf_viewer", [], factory);
39658
- else if('object' === 'object')
39659
- exports["pdfjs-dist/web/pdf_viewer"] = factory();
39660
- else
39661
- root["pdfjs-dist/web/pdf_viewer"] = root.pdfjsViewer = factory();
39662
- })(pdf_viewer$1, function() {
39171
+ module.exports = factory();
39172
+ })(pdf_viewer, function() {
39663
39173
  return /******/ (function(modules) { // webpackBootstrap
39664
39174
  /******/ // The module cache
39665
39175
  /******/ var installedModules = {};
@@ -39750,8 +39260,6 @@ function requirePdf_viewer () {
39750
39260
  /* 0 */
39751
39261
  /***/ (function(module, exports, __w_pdfjs_require__) {
39752
39262
 
39753
- "use strict";
39754
-
39755
39263
 
39756
39264
  Object.defineProperty(exports, "__esModule", {
39757
39265
  value: true
@@ -39875,15 +39383,10 @@ function requirePdf_viewer () {
39875
39383
 
39876
39384
  var _pdf_viewer = __w_pdfjs_require__(17);
39877
39385
 
39878
- const pdfjsVersion = '2.5.207';
39879
- const pdfjsBuild = '0974d605';
39880
-
39881
39386
  /***/ }),
39882
39387
  /* 1 */
39883
39388
  /***/ (function(module, exports, __w_pdfjs_require__) {
39884
39389
 
39885
- "use strict";
39886
-
39887
39390
 
39888
39391
  Object.defineProperty(exports, "__esModule", {
39889
39392
  value: true
@@ -39993,8 +39496,6 @@ function requirePdf_viewer () {
39993
39496
  /* 2 */
39994
39497
  /***/ (function(module, exports, __w_pdfjs_require__) {
39995
39498
 
39996
- "use strict";
39997
-
39998
39499
 
39999
39500
  let pdfjsLib;
40000
39501
 
@@ -40010,8 +39511,6 @@ function requirePdf_viewer () {
40010
39511
  /* 3 */
40011
39512
  /***/ (function(module, exports, __w_pdfjs_require__) {
40012
39513
 
40013
- "use strict";
40014
-
40015
39514
 
40016
39515
  Object.defineProperty(exports, "__esModule", {
40017
39516
  value: true
@@ -40556,10 +40055,6 @@ function requirePdf_viewer () {
40556
40055
  });
40557
40056
  exports.animationStarted = animationStarted;
40558
40057
 
40559
- function dispatchDOMEvent(eventName, args = null) {
40560
- throw new Error("Not implemented: dispatchDOMEvent");
40561
- }
40562
-
40563
40058
  class EventBus {
40564
40059
  constructor(options) {
40565
40060
  this._listeners = Object.create(null);
@@ -40745,8 +40240,6 @@ function requirePdf_viewer () {
40745
40240
  /* 4 */
40746
40241
  /***/ (function(module, exports, __w_pdfjs_require__) {
40747
40242
 
40748
- "use strict";
40749
-
40750
40243
 
40751
40244
  Object.defineProperty(exports, "__esModule", {
40752
40245
  value: true
@@ -41029,9 +40522,6 @@ function requirePdf_viewer () {
41029
40522
  case "FirstPage":
41030
40523
  this.page = 1;
41031
40524
  break;
41032
-
41033
- default:
41034
- break;
41035
40525
  }
41036
40526
 
41037
40527
  this.eventBus.dispatch("namedaction", {
@@ -41184,8 +40674,6 @@ function requirePdf_viewer () {
41184
40674
  /* 5 */
41185
40675
  /***/ (function(module, exports, __w_pdfjs_require__) {
41186
40676
 
41187
- "use strict";
41188
-
41189
40677
 
41190
40678
  Object.defineProperty(exports, "__esModule", {
41191
40679
  value: true
@@ -41371,7 +40859,6 @@ function requirePdf_viewer () {
41371
40859
  const highlightAll = findController.state.highlightAll;
41372
40860
  let prevEnd = null;
41373
40861
  const infinity = {
41374
- divIdx: -1,
41375
40862
  offset: undefined
41376
40863
  };
41377
40864
 
@@ -41568,8 +41055,6 @@ function requirePdf_viewer () {
41568
41055
  /* 6 */
41569
41056
  /***/ (function(module, exports, __w_pdfjs_require__) {
41570
41057
 
41571
- "use strict";
41572
-
41573
41058
 
41574
41059
  Object.defineProperty(exports, "__esModule", {
41575
41060
  value: true
@@ -41579,8 +41064,6 @@ function requirePdf_viewer () {
41579
41064
  var _pdfjsLib = __w_pdfjs_require__(2);
41580
41065
 
41581
41066
  var _viewer_compatibility = __w_pdfjs_require__(7);
41582
-
41583
- ;
41584
41067
  const DISABLE_CREATE_OBJECT_URL = _viewer_compatibility.viewerCompatibilityParams.disableCreateObjectURL || false;
41585
41068
 
41586
41069
  function download(blobUrl, filename) {
@@ -41655,8 +41138,6 @@ function requirePdf_viewer () {
41655
41138
  /* 7 */
41656
41139
  /***/ (function(module, exports, __w_pdfjs_require__) {
41657
41140
 
41658
- "use strict";
41659
-
41660
41141
 
41661
41142
  Object.defineProperty(exports, "__esModule", {
41662
41143
  value: true
@@ -41691,8 +41172,6 @@ function requirePdf_viewer () {
41691
41172
  /* 8 */
41692
41173
  /***/ (function(module, exports, __w_pdfjs_require__) {
41693
41174
 
41694
- "use strict";
41695
-
41696
41175
 
41697
41176
  Object.defineProperty(exports, "__esModule", {
41698
41177
  value: true
@@ -41741,8 +41220,6 @@ function requirePdf_viewer () {
41741
41220
  /* 9 */
41742
41221
  /***/ (function(module, exports, __w_pdfjs_require__) {
41743
41222
 
41744
- "use strict";
41745
-
41746
41223
 
41747
41224
  document.webL10n = function (window, document, undefined$1) {
41748
41225
  var gL10nData = {};
@@ -42564,8 +42041,6 @@ function requirePdf_viewer () {
42564
42041
  /* 10 */
42565
42042
  /***/ (function(module, exports, __w_pdfjs_require__) {
42566
42043
 
42567
- "use strict";
42568
-
42569
42044
 
42570
42045
  Object.defineProperty(exports, "__esModule", {
42571
42046
  value: true
@@ -43245,8 +42720,6 @@ function requirePdf_viewer () {
43245
42720
  /* 11 */
43246
42721
  /***/ (function(module, exports, __w_pdfjs_require__) {
43247
42722
 
43248
- "use strict";
43249
-
43250
42723
 
43251
42724
  Object.defineProperty(exports, "__esModule", {
43252
42725
  value: true
@@ -43341,8 +42814,6 @@ function requirePdf_viewer () {
43341
42814
  /* 12 */
43342
42815
  /***/ (function(module, exports, __w_pdfjs_require__) {
43343
42816
 
43344
- "use strict";
43345
-
43346
42817
 
43347
42818
  Object.defineProperty(exports, "__esModule", {
43348
42819
  value: true
@@ -43640,7 +43111,7 @@ function requirePdf_viewer () {
43640
43111
  return;
43641
43112
  }
43642
43113
 
43643
- if (!this._destination.page && (POSITION_UPDATED_THRESHOLD <= 0 || this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) {
43114
+ if (!this._destination.page && (this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) {
43644
43115
  return;
43645
43116
  }
43646
43117
 
@@ -43740,11 +43211,11 @@ function requirePdf_viewer () {
43740
43211
  return;
43741
43212
  }
43742
43213
 
43743
- if (POSITION_UPDATED_THRESHOLD > 0 && this._isPagesLoaded && this._destination && !this._destination.page) {
43214
+ if (this._isPagesLoaded && this._destination && !this._destination.page) {
43744
43215
  this._numPositionUpdates++;
43745
43216
  }
43746
43217
 
43747
- if (UPDATE_VIEWAREA_TIMEOUT > 0) {
43218
+ {
43748
43219
  this._updateViewareaTimeout = setTimeout(() => {
43749
43220
  if (!this._popStateInProgress) {
43750
43221
  this._tryPushCurrentPosition(true);
@@ -43929,8 +43400,6 @@ function requirePdf_viewer () {
43929
43400
  /* 13 */
43930
43401
  /***/ (function(module, exports, __w_pdfjs_require__) {
43931
43402
 
43932
- "use strict";
43933
-
43934
43403
 
43935
43404
  Object.defineProperty(exports, "__esModule", {
43936
43405
  value: true
@@ -44527,8 +43996,6 @@ function requirePdf_viewer () {
44527
43996
  /* 14 */
44528
43997
  /***/ (function(module, exports, __w_pdfjs_require__) {
44529
43998
 
44530
- "use strict";
44531
-
44532
43999
 
44533
44000
  Object.defineProperty(exports, "__esModule", {
44534
44001
  value: true
@@ -44663,8 +44130,6 @@ function requirePdf_viewer () {
44663
44130
  /* 15 */
44664
44131
  /***/ (function(module, exports, __w_pdfjs_require__) {
44665
44132
 
44666
- "use strict";
44667
-
44668
44133
 
44669
44134
  Object.defineProperty(exports, "__esModule", {
44670
44135
  value: true
@@ -44785,8 +44250,6 @@ function requirePdf_viewer () {
44785
44250
  /* 16 */
44786
44251
  /***/ (function(module, exports, __w_pdfjs_require__) {
44787
44252
 
44788
- "use strict";
44789
-
44790
44253
 
44791
44254
  Object.defineProperty(exports, "__esModule", {
44792
44255
  value: true
@@ -45905,8 +45368,6 @@ function requirePdf_viewer () {
45905
45368
  /* 17 */
45906
45369
  /***/ (function(module, exports, __w_pdfjs_require__) {
45907
45370
 
45908
- "use strict";
45909
-
45910
45371
 
45911
45372
  Object.defineProperty(exports, "__esModule", {
45912
45373
  value: true
@@ -45992,12 +45453,11 @@ function requirePdf_viewer () {
45992
45453
  /******/ ]);
45993
45454
  });
45994
45455
 
45995
- } (pdf_viewer$2, pdf_viewer$2.exports));
45996
- return pdf_viewer$2.exports;
45456
+ } (pdf_viewer$1));
45457
+ return pdf_viewer$1.exports;
45997
45458
  }
45998
45459
 
45999
- var pdf_viewerExports = requirePdf_viewer();
46000
- var pdf_viewer = /*@__PURE__*/getDefaultExportFromCjs(pdf_viewerExports);
45460
+ requirePdf_viewer();
46001
45461
 
46002
45462
  const findIn = (fields, selector, restyle = false, additive = false) => {
46003
45463
  const selected = new Array();
@@ -46031,7 +45491,6 @@ function addField(frame, data) {
46031
45491
  frame.appendChild(node);
46032
45492
  return node;
46033
45493
  }
46034
- ;
46035
45494
  function moveField(item, data) {
46036
45495
  item.style.top = Math.floor(data.top * this.zoom) + 'px';
46037
45496
  item.style.left = Math.floor(data.left * this.zoom) + 'px';
@@ -46039,44 +45498,6 @@ function moveField(item, data) {
46039
45498
  item.style.width = Math.floor(data.width * this.zoom) + 'px';
46040
45499
  item.dataItem = data;
46041
45500
  }
46042
- ;
46043
- // calculates html compatible coords at current zoom level
46044
- const transformCoordinates = (sourceField, inputFieldWidth, inputFieldHeight, viewerWidth, viewerHeight, left, top, fontName, fontSize, zoom) => {
46045
- // Returns X, Y coordinates
46046
- const ax = left > 0 ? left / viewerWidth : 0;
46047
- const ay = top > 0 ? top / viewerHeight : 0;
46048
- const bx = (left + inputFieldWidth) / viewerWidth;
46049
- const by = (top + inputFieldHeight) / viewerHeight;
46050
- // Return with calculated styles that try to place it as it would appear on legacy signing page
46051
- return {
46052
- ...sourceField,
46053
- ax,
46054
- ay,
46055
- bx,
46056
- by,
46057
- cstyle: {
46058
- margin: 0,
46059
- verticalAlign: 'top',
46060
- boxSizing: 'content-box',
46061
- fontSize: viewerWidth < 640 ? `${(fontSize / 24) * zoom}rem` : `${fontSize * zoom}px`,
46062
- fontFamily: fontName || 'arial',
46063
- width: `${(inputFieldWidth * bx - inputFieldWidth * ax) * zoom}px`, // app1 input has padding-x 3px
46064
- height: `${inputFieldHeight * (by - ay) * zoom}px`, // app1 input has padding-y 2px
46065
- // minHeight: `${inputFieldHeight * (BY - AY) * zoom - 2}px`,
46066
- lineHeight: 'inherit',
46067
- },
46068
- divStyle: {
46069
- position: 'absolute',
46070
- top: `${inputFieldHeight * ay * zoom}px`,
46071
- left: `${inputFieldWidth * ax * zoom}px`,
46072
- width: `${(inputFieldWidth * bx - inputFieldWidth * ax) * zoom}px`,
46073
- height: `${inputFieldHeight * (by - ay) * zoom}px`,
46074
- zIndex: 1000,
46075
- fontSize: viewerWidth < 640 ? `${(fontSize / 24) * zoom}rem` : `${fontSize * zoom}px`,
46076
- },
46077
- objectHeight: `${inputFieldHeight * (by - ay) * zoom}px`,
46078
- };
46079
- };
46080
45501
  // from a field element get all dimension data including LEGACY dimensions
46081
45502
  const findDimensions = (sourceField, pageHeight, pageWidth) => {
46082
45503
  const { top, left, height, width } = sourceField.getBoundingClientRect();
@@ -46346,16 +45767,18 @@ function mouseClick(e) {
46346
45767
  const lsDocumentViewerCss = "*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion: no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}:host{display:flex;flex-direction:row;width:100vw;height:100vh;margin:0px;padding:0px}.leftBox{display:flex;flex-direction:row;min-width:250px;width:250px;border:1px gray solid}.rightBox{width:200px;border:1px gray solid;width:470px;min-width:390px;padding:4px;font-family:inherit}.toolbox{display:flex;flex-direction:column;width:250px;left:0px}.ls-editor-infobox{padding:2px 8px 2px 8px;color:#727272}#pdf-canvas{top:0px;left:0px;width:100%;height:100%}#ls-mid-area{display:flex;flex-direction:column;width:100%}#ls-document-frame{background-image:repeating-linear-gradient(rgba(175, 176, 178, 0.4) 0px, rgba(175, 176, 178, 0.4) 1px, transparent 1px, transparent 100%), repeating-linear-gradient(90deg, rgba(175, 176, 178, 0.4) 0px, rgba(175, 176, 178, 0.4) 1px, transparent 1px, transparent 100%);border:4px rgb(126, 126, 126) solid;position:relative;min-width:60vw;width:100%;height:98vh;max-width:100%;max-height:100%;margin:0px;padding:2px;overflow-x:scroll;overflow-y:scroll;background-color:rgb(181, 181, 181);scrollbar-width:auto;scrollbar-color:auto}.prevButton{position:relative;bottom:30px}.nextButton{position:relative;bottom:30px}.fieldBox{z-index:1000}#ls-box-selector{position:absolute;visibility:hidden;background-color:transparent;border:1px rgba(71, 71, 71, 0.716) dashed}#ls-editor-form{display:flex;flex-direction:row;width:100vw}.hidden{visibility:hidden;display:none;width:0px}";
46347
45768
 
46348
45769
  pdfExports.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.5.207/pdf.worker.min.js';
46349
- const LsDocumentViewer = class {
46350
- constructor(hostRef) {
46351
- registerInstance(this, hostRef);
46352
- this.pageRendered = createEvent(this, "pageRendered", 7);
46353
- this.pageChange = createEvent(this, "pageChange", 7);
46354
- this.selectFields = createEvent(this, "selectFields", 7);
46355
- this.mutate = createEvent(this, "mutate", 7);
46356
- this.update = createEvent(this, "update", 7);
46357
- }
46358
- get component() { return getElement(this); }
45770
+ const LsDocumentViewer$1 = /*@__PURE__*/ proxyCustomElement(class LsDocumentViewer extends H {
45771
+ constructor() {
45772
+ super();
45773
+ this.__registerHost();
45774
+ this.__attachShadow();
45775
+ this.pageRendered = createEvent(this, "pageRendered");
45776
+ this.pageChange = createEvent(this, "pageChange");
45777
+ this.selectFields = createEvent(this, "selectFields");
45778
+ this.mutate = createEvent(this, "mutate");
45779
+ this.update = createEvent(this, "update");
45780
+ }
45781
+ get component() { return this; }
46359
45782
  isPageRendering;
46360
45783
  pdfDocument;
46361
45784
  pageNumPending = null;
@@ -46721,7 +46144,7 @@ const LsDocumentViewer = class {
46721
46144
  }
46722
46145
  }
46723
46146
  render() {
46724
- return (h(Host, { key: 'f512a2409e7baaca727edfd39539afd75cb8d970' }, h("form", { key: '37046c81e4fda2fe3de18cea5d53c6c00fb421c3', id: "ls-editor-form" }, this.showtoolbox === true ? h("div", { class: "leftBox" }, h("ls-feature-column", { onManage: (manager) => {
46147
+ return (h(Host, { key: 'fa4c4384dec1f5dd491dceb408d26aa13f968b2c' }, h("form", { key: 'e4ce6bd8dbd23d4622a7e0b4370c1de7946990ec', id: "ls-editor-form" }, this.showtoolbox === true ? h("div", { class: "leftBox" }, h("ls-feature-column", { onManage: (manager) => {
46725
46148
  if (manager.detail === 'document') {
46726
46149
  var documentManager = this.component.shadowRoot.getElementById('ls-document-options');
46727
46150
  documentManager.template = this._template;
@@ -46734,17 +46157,154 @@ const LsDocumentViewer = class {
46734
46157
  this.manager = manager.detail;
46735
46158
  } }), h("div", { id: "ls-toolbox", class: this.manager === 'toolbox' ? 'toolbox' : 'hidden' }, h("div", { class: "ls-editor-infobox" }, "Drag to Add..."), h("ls-toolbox-field", { elementType: "signature", formElementType: "signature", label: "Signature", defaultHeight: 27, defaultWidth: 120, validation: 0 }), h("ls-toolbox-field", { elementType: "text", formElementType: "text", label: "Text", defaultHeight: 27, defaultWidth: 100, validation: 0 }), h("ls-toolbox-field", { elementType: "email", formElementType: "email", label: "Email", defaultHeight: 27, defaultWidth: 120, validation: 1 }), h("ls-toolbox-field", { elementType: "number", formElementType: "number", label: "Number", defaultHeight: 27, defaultWidth: 80, validation: 50 }), h("ls-toolbox-field", { elementType: "date", formElementType: "date", label: "Date", defaultHeight: 27, defaultWidth: 80, validation: 2 }), h("ls-toolbox-field", { elementType: "checkbox", formElementType: "checkbox", label: "Checkbox", defaultHeight: 27, defaultWidth: 27, validation: 25 }), h("ls-toolbox-field", { elementType: "auto sign", formElementType: "auto sign", label: "Auto Sign", defaultHeight: 27, defaultWidth: 120, validation: 3000 }), h("ls-toolbox-field", { elementType: "initials", formElementType: "initials", label: "Initials", defaultHeight: 27, defaultWidth: 120, validation: 2000 }), h("ls-toolbox-field", { elementType: "regex", formElementType: "regex", label: "Regex", defaultHeight: 27, defaultWidth: 120, validation: 93 }), h("ls-toolbox-field", { elementType: "image", formElementType: "image", label: "Image", defaultHeight: 27, defaultWidth: 120, validation: 90 }), h("ls-toolbox-field", { elementType: "signing date", formElementType: "signing date", label: "Signing Date", defaultHeight: 27, defaultWidth: 120, validation: 30 }), h("ls-toolbox-field", { elementType: "file", formElementType: "file", label: "File", defaultHeight: 27, defaultWidth: 120, validation: 74 })), h("ls-participant-manager", { id: "ls-participant-manager", class: this.manager === 'participant' ? 'toolbox' : 'hidden', editor: this }), h("ls-document-options", { id: "ls-document-options", class: this.manager === 'document' ? 'toolbox' : 'hidden' }))
46736
46159
  :
46737
- h(h.Fragment, null), h("div", { key: 'bb3bd54d108a59eaf70f4a609b84ba6199863b2c', id: "ls-mid-area" }, h("ls-toolbar", { key: '7c1033d9a490cd9c74407f792e64f8be547b886b', id: "ls-toolbar", dataItem: this.selected ? this.selected.map(s => s.dataItem) : null, template: this._template }), h("div", { key: '78ca03bdaa892eec0c10749dbce317ea7587d543', id: "ls-document-frame" }, h("canvas", { key: '890b52ba92cea64bbe0b6a63f247a727980b8685', id: "pdf-canvas", class: this.displayTable ? 'hidden' : '' }), h("ls-editor-table", { key: 'e857090ad9dd6caf9a16b94331acb87766ed7c83', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: '8f1c36d80983da65c7a93283bb49c00276210fdb', id: "ls-box-selector" })), h("ls-statusbar", { key: '0e958c3744e0c83b523ae5e02a02d0037e6e0440', editor: this })), this.showrightpanel && !this.displayTable && this.selected && this.selected.length > 0 && h("div", { key: 'f3ac5e1f2b83554b04c3ceff956e81165acea708', class: "rightBox" }, h("slot", { key: 'b47a45fd7c5adc2500d6d1752863153eac14c29a' })))));
46160
+ h(h.Fragment, null), h("div", { key: 'f5e1bc777374f8dae7cbd99f9f077f3c6e42dc60', id: "ls-mid-area" }, h("ls-toolbar", { key: '8c0f22b891b90cf62cbcdd872f7c8142d98a00d1', id: "ls-toolbar", dataItem: this.selected ? this.selected.map(s => s.dataItem) : null, template: this._template }), h("div", { key: '01036d8b5ef6a98e3f9f74c803bca29bfc421fd3', id: "ls-document-frame" }, h("canvas", { key: '77db91bbd2470e1931fdf63a51624be17650de56', id: "pdf-canvas", class: this.displayTable ? 'hidden' : '' }), h("ls-editor-table", { key: 'b19d0c2b817595c9da3f0f81daef0ec61a60da72', editor: this, class: this.displayTable ? '' : 'hidden' }), h("div", { key: '414f48d0e0e55e8f7fdf9eb85a42585f47dd8e23', id: "ls-box-selector" })), h("ls-statusbar", { key: '75d1f66e537d05a6d900a69c91673b8252f7e212', editor: this })), this.showrightpanel && !this.displayTable && this.selected && this.selected.length > 0 && h("div", { key: '098750708452822ff4b84a93633a2aa982e4c661', class: "rightBox" }, h("slot", { key: '44d19903806474b9c99d91b60c1c80e6bf0ef58d' })))));
46738
46161
  }
46739
46162
  static get watchers() { return {
46740
46163
  "mode": ["modeHandler"],
46741
46164
  "displayTable": ["tableViewHandler"],
46742
46165
  "selected": ["selectedHandler"]
46743
46166
  }; }
46744
- };
46745
- LsDocumentViewer.style = lsDocumentViewerCss;
46167
+ static get style() { return lsDocumentViewerCss; }
46168
+ }, [257, "ls-document-viewer", {
46169
+ "template": [1],
46170
+ "zoom": [1026],
46171
+ "pageNum": [1026, "page-num"],
46172
+ "mode": [1],
46173
+ "manager": [1025],
46174
+ "displayTable": [1028, "display-table"],
46175
+ "showtoolbox": [4],
46176
+ "showtoolbar": [4],
46177
+ "showstatusbar": [4],
46178
+ "showpagepreview": [4],
46179
+ "showrightpanel": [4],
46180
+ "readonly": [4],
46181
+ "showtableview": [4],
46182
+ "toolboxFilter": [1, "toolbox-filter"],
46183
+ "roleColors": [16, "role-colors"],
46184
+ "_template": [32],
46185
+ "selected": [32],
46186
+ "pageNext": [64],
46187
+ "pagePrev": [64],
46188
+ "setZoom": [64]
46189
+ }, [[0, "update", "mutateHandler"]], {
46190
+ "mode": ["modeHandler"],
46191
+ "displayTable": ["tableViewHandler"],
46192
+ "selected": ["selectedHandler"]
46193
+ }]);
46194
+ function defineCustomElement$1() {
46195
+ if (typeof customElements === "undefined") {
46196
+ return;
46197
+ }
46198
+ const components = ["ls-document-viewer", "ls-document-options", "ls-editor-field", "ls-editor-table", "ls-feature-column", "ls-field-alignment", "ls-field-distribute", "ls-field-format", "ls-field-size", "ls-formfield", "ls-icon", "ls-number-input", "ls-participant-manager", "ls-radio-input", "ls-select-input", "ls-statusbar", "ls-text-input", "ls-textarea-input", "ls-toolbar", "ls-toolbox-field"];
46199
+ components.forEach(tagName => { switch (tagName) {
46200
+ case "ls-document-viewer":
46201
+ if (!customElements.get(tagName)) {
46202
+ customElements.define(tagName, LsDocumentViewer$1);
46203
+ }
46204
+ break;
46205
+ case "ls-document-options":
46206
+ if (!customElements.get(tagName)) {
46207
+ defineCustomElement$k();
46208
+ }
46209
+ break;
46210
+ case "ls-editor-field":
46211
+ if (!customElements.get(tagName)) {
46212
+ defineCustomElement$j();
46213
+ }
46214
+ break;
46215
+ case "ls-editor-table":
46216
+ if (!customElements.get(tagName)) {
46217
+ defineCustomElement$i();
46218
+ }
46219
+ break;
46220
+ case "ls-feature-column":
46221
+ if (!customElements.get(tagName)) {
46222
+ defineCustomElement$h();
46223
+ }
46224
+ break;
46225
+ case "ls-field-alignment":
46226
+ if (!customElements.get(tagName)) {
46227
+ defineCustomElement$g();
46228
+ }
46229
+ break;
46230
+ case "ls-field-distribute":
46231
+ if (!customElements.get(tagName)) {
46232
+ defineCustomElement$f();
46233
+ }
46234
+ break;
46235
+ case "ls-field-format":
46236
+ if (!customElements.get(tagName)) {
46237
+ defineCustomElement$e();
46238
+ }
46239
+ break;
46240
+ case "ls-field-size":
46241
+ if (!customElements.get(tagName)) {
46242
+ defineCustomElement$d();
46243
+ }
46244
+ break;
46245
+ case "ls-formfield":
46246
+ if (!customElements.get(tagName)) {
46247
+ defineCustomElement$c();
46248
+ }
46249
+ break;
46250
+ case "ls-icon":
46251
+ if (!customElements.get(tagName)) {
46252
+ defineCustomElement$b();
46253
+ }
46254
+ break;
46255
+ case "ls-number-input":
46256
+ if (!customElements.get(tagName)) {
46257
+ defineCustomElement$a();
46258
+ }
46259
+ break;
46260
+ case "ls-participant-manager":
46261
+ if (!customElements.get(tagName)) {
46262
+ defineCustomElement$9();
46263
+ }
46264
+ break;
46265
+ case "ls-radio-input":
46266
+ if (!customElements.get(tagName)) {
46267
+ defineCustomElement$8();
46268
+ }
46269
+ break;
46270
+ case "ls-select-input":
46271
+ if (!customElements.get(tagName)) {
46272
+ defineCustomElement$7();
46273
+ }
46274
+ break;
46275
+ case "ls-statusbar":
46276
+ if (!customElements.get(tagName)) {
46277
+ defineCustomElement$6();
46278
+ }
46279
+ break;
46280
+ case "ls-text-input":
46281
+ if (!customElements.get(tagName)) {
46282
+ defineCustomElement$5();
46283
+ }
46284
+ break;
46285
+ case "ls-textarea-input":
46286
+ if (!customElements.get(tagName)) {
46287
+ defineCustomElement$4();
46288
+ }
46289
+ break;
46290
+ case "ls-toolbar":
46291
+ if (!customElements.get(tagName)) {
46292
+ defineCustomElement$3();
46293
+ }
46294
+ break;
46295
+ case "ls-toolbox-field":
46296
+ if (!customElements.get(tagName)) {
46297
+ defineCustomElement$2();
46298
+ }
46299
+ break;
46300
+ } });
46301
+ }
46302
+ defineCustomElement$1();
46303
+
46304
+ const LsDocumentViewer = LsDocumentViewer$1;
46305
+ const defineCustomElement = defineCustomElement$1;
46746
46306
 
46747
- export { LsDocumentViewer as ls_document_viewer };
46748
- //# sourceMappingURL=ls-document-viewer.entry.esm.js.map
46307
+ export { LsDocumentViewer, defineCustomElement };
46308
+ //# sourceMappingURL=ls-document-viewer.js.map
46749
46309
 
46750
- //# sourceMappingURL=ls-document-viewer.entry.js.map
46310
+ //# sourceMappingURL=ls-document-viewer.js.map