@sync-in/server 1.9.6 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/CHANGELOG.md +29 -4
  2. package/environment/environment.dist.yaml +15 -5
  3. package/package.json +13 -14
  4. package/server/app.bootstrap.js +1 -1
  5. package/server/app.bootstrap.js.map +1 -1
  6. package/server/app.constants.js +3 -2
  7. package/server/app.constants.js.map +1 -1
  8. package/server/applications/files/constants/cache.js +2 -5
  9. package/server/applications/files/constants/cache.js.map +1 -1
  10. package/server/applications/files/constants/files.js +4 -0
  11. package/server/applications/files/constants/files.js.map +1 -1
  12. package/server/applications/files/constants/operations.js +4 -0
  13. package/server/applications/files/constants/operations.js.map +1 -1
  14. package/server/applications/files/constants/routes.js +1 -26
  15. package/server/applications/files/constants/routes.js.map +1 -1
  16. package/server/applications/files/files.config.js +15 -39
  17. package/server/applications/files/files.config.js.map +1 -1
  18. package/server/applications/files/files.controller.js +4 -4
  19. package/server/applications/files/files.controller.js.map +1 -1
  20. package/server/applications/files/files.module.js +12 -9
  21. package/server/applications/files/files.module.js.map +1 -1
  22. package/server/applications/files/interfaces/file-lock.interface.js.map +1 -1
  23. package/server/applications/files/interfaces/file-props.interface.js.map +1 -1
  24. package/server/applications/files/modules/collabora-online/collabora-online-environment.decorator.js +32 -0
  25. package/server/applications/files/modules/collabora-online/collabora-online-environment.decorator.js.map +1 -0
  26. package/server/applications/files/modules/collabora-online/collabora-online-manager.service.js +280 -0
  27. package/server/applications/files/modules/collabora-online/collabora-online-manager.service.js.map +1 -0
  28. package/server/applications/files/modules/collabora-online/collabora-online-manager.service.spec.js +552 -0
  29. package/server/applications/files/modules/collabora-online/collabora-online-manager.service.spec.js.map +1 -0
  30. package/server/applications/files/modules/collabora-online/collabora-online.config.js +40 -0
  31. package/server/applications/files/modules/collabora-online/collabora-online.config.js.map +1 -0
  32. package/server/applications/files/modules/collabora-online/collabora-online.constants.js +110 -0
  33. package/server/applications/files/modules/collabora-online/collabora-online.constants.js.map +1 -0
  34. package/server/applications/files/modules/collabora-online/collabora-online.controller.js +128 -0
  35. package/server/applications/files/modules/collabora-online/collabora-online.controller.js.map +1 -0
  36. package/server/applications/files/modules/collabora-online/collabora-online.controller.spec.js +47 -0
  37. package/server/applications/files/modules/collabora-online/collabora-online.controller.spec.js.map +1 -0
  38. package/server/applications/files/{interfaces/only-office-config.interface.js → modules/collabora-online/collabora-online.dtos.js} +1 -1
  39. package/server/applications/files/modules/collabora-online/collabora-online.dtos.js.map +1 -0
  40. package/server/applications/files/{guards/files-only-office.guard.js → modules/collabora-online/collabora-online.guard.js} +7 -21
  41. package/server/applications/files/modules/collabora-online/collabora-online.guard.js.map +1 -0
  42. package/server/applications/files/modules/collabora-online/collabora-online.guard.spec.js +86 -0
  43. package/server/applications/files/modules/collabora-online/collabora-online.guard.spec.js.map +1 -0
  44. package/server/applications/files/modules/collabora-online/collabora-online.interface.js +10 -0
  45. package/server/applications/files/modules/collabora-online/collabora-online.interface.js.map +1 -0
  46. package/server/applications/files/modules/collabora-online/collabora-online.module.js +41 -0
  47. package/server/applications/files/modules/collabora-online/collabora-online.module.js.map +1 -0
  48. package/server/applications/files/modules/collabora-online/collabora-online.routes.js +35 -0
  49. package/server/applications/files/modules/collabora-online/collabora-online.routes.js.map +1 -0
  50. package/server/applications/files/modules/collabora-online/collabora-online.strategy.js +59 -0
  51. package/server/applications/files/modules/collabora-online/collabora-online.strategy.js.map +1 -0
  52. package/server/applications/files/modules/collabora-online/collabora-online.utils.js +28 -0
  53. package/server/applications/files/modules/collabora-online/collabora-online.utils.js.map +1 -0
  54. package/server/applications/files/{decorators → modules/only-office}/only-office-environment.decorator.js +5 -5
  55. package/server/applications/files/modules/only-office/only-office-environment.decorator.js.map +1 -0
  56. package/server/applications/files/{services/files-only-office-manager.service.js → modules/only-office/only-office-manager.service.js} +101 -97
  57. package/server/applications/files/modules/only-office/only-office-manager.service.js.map +1 -0
  58. package/server/applications/files/modules/only-office/only-office-manager.service.spec.js +477 -0
  59. package/server/applications/files/modules/only-office/only-office-manager.service.spec.js.map +1 -0
  60. package/server/applications/files/modules/only-office/only-office.config.js +51 -0
  61. package/server/applications/files/modules/only-office/only-office.config.js.map +1 -0
  62. package/server/applications/files/modules/only-office/only-office.constants.js +417 -0
  63. package/server/applications/files/modules/only-office/only-office.constants.js.map +1 -0
  64. package/server/applications/files/{files-only-office.controller.js → modules/only-office/only-office.controller.js} +35 -52
  65. package/server/applications/files/modules/only-office/only-office.controller.js.map +1 -0
  66. package/server/applications/files/{files-only-office.controller.spec.js → modules/only-office/only-office.controller.spec.js} +24 -21
  67. package/server/applications/files/modules/only-office/only-office.controller.spec.js.map +1 -0
  68. package/server/applications/files/modules/only-office/only-office.dtos.js +10 -0
  69. package/server/applications/files/modules/only-office/only-office.dtos.js.map +1 -0
  70. package/server/applications/files/modules/only-office/only-office.guard.js +40 -0
  71. package/server/applications/files/modules/only-office/only-office.guard.js.map +1 -0
  72. package/server/applications/files/{guards/files-only-office.guard.spec.js → modules/only-office/only-office.guard.spec.js} +15 -21
  73. package/server/applications/files/modules/only-office/only-office.guard.spec.js.map +1 -0
  74. package/server/applications/files/modules/only-office/only-office.interface.js +10 -0
  75. package/server/applications/files/modules/only-office/only-office.interface.js.map +1 -0
  76. package/server/applications/files/modules/only-office/only-office.module.js +41 -0
  77. package/server/applications/files/modules/only-office/only-office.module.js.map +1 -0
  78. package/server/applications/files/modules/only-office/only-office.routes.js +45 -0
  79. package/server/applications/files/modules/only-office/only-office.routes.js.map +1 -0
  80. package/server/applications/files/{guards/files-only-office.strategy.js → modules/only-office/only-office.strategy.js} +11 -11
  81. package/server/applications/files/modules/only-office/only-office.strategy.js.map +1 -0
  82. package/server/applications/files/services/files-lock-manager.service.js +25 -33
  83. package/server/applications/files/services/files-lock-manager.service.js.map +1 -1
  84. package/server/applications/files/services/files-manager.service.js +17 -16
  85. package/server/applications/files/services/files-manager.service.js.map +1 -1
  86. package/server/applications/files/services/files-methods.service.js +2 -2
  87. package/server/applications/files/services/files-methods.service.js.map +1 -1
  88. package/server/applications/files/services/files-methods.service.spec.js +3 -1
  89. package/server/applications/files/services/files-methods.service.spec.js.map +1 -1
  90. package/server/applications/files/services/files-scheduler.service.js +2 -2
  91. package/server/applications/files/services/files-scheduler.service.js.map +1 -1
  92. package/server/applications/files/utils/files.js +10 -2
  93. package/server/applications/files/utils/files.js.map +1 -1
  94. package/server/applications/links/constants/routes.js +5 -0
  95. package/server/applications/links/constants/routes.js.map +1 -1
  96. package/server/applications/links/interfaces/link-space.interface.js.map +1 -1
  97. package/server/applications/links/links.controller.js +25 -5
  98. package/server/applications/links/links.controller.js.map +1 -1
  99. package/server/applications/links/services/links-manager.service.js +43 -21
  100. package/server/applications/links/services/links-manager.service.js.map +1 -1
  101. package/server/applications/links/services/links-manager.service.spec.js +4 -3
  102. package/server/applications/links/services/links-manager.service.spec.js.map +1 -1
  103. package/server/applications/links/services/links-queries.service.js +9 -2
  104. package/server/applications/links/services/links-queries.service.js.map +1 -1
  105. package/server/applications/shares/interfaces/share-link.interface.js.map +1 -1
  106. package/server/applications/shares/services/shares-manager.service.js +3 -0
  107. package/server/applications/shares/services/shares-manager.service.js.map +1 -1
  108. package/server/applications/shares/services/shares-manager.service.spec.js +2 -1
  109. package/server/applications/shares/services/shares-manager.service.spec.js.map +1 -1
  110. package/server/applications/shares/services/shares-queries.service.js +1 -0
  111. package/server/applications/shares/services/shares-queries.service.js.map +1 -1
  112. package/server/applications/spaces/constants/spaces.js +2 -2
  113. package/server/applications/spaces/constants/spaces.js.map +1 -1
  114. package/server/applications/spaces/decorators/space-override-permission.decorator.js +18 -0
  115. package/server/applications/spaces/decorators/space-override-permission.decorator.js.map +1 -0
  116. package/server/applications/spaces/guards/space.guard.js +40 -33
  117. package/server/applications/spaces/guards/space.guard.js.map +1 -1
  118. package/server/applications/spaces/guards/space.guard.spec.js +10 -15
  119. package/server/applications/spaces/guards/space.guard.spec.js.map +1 -1
  120. package/server/applications/webdav/constants/webdav.js +4 -0
  121. package/server/applications/webdav/constants/webdav.js.map +1 -1
  122. package/server/applications/webdav/guards/webdav-protocol.guard.js +9 -8
  123. package/server/applications/webdav/guards/webdav-protocol.guard.js.map +1 -1
  124. package/server/applications/webdav/guards/webdav-protocol.guard.spec.js +1 -1
  125. package/server/applications/webdav/guards/webdav-protocol.guard.spec.js.map +1 -1
  126. package/server/applications/webdav/interfaces/webdav.interface.js.map +1 -1
  127. package/server/applications/webdav/services/webdav-methods.service.js +40 -17
  128. package/server/applications/webdav/services/webdav-methods.service.js.map +1 -1
  129. package/server/applications/webdav/services/webdav-methods.service.spec.js +2157 -1289
  130. package/server/applications/webdav/services/webdav-methods.service.spec.js.map +1 -1
  131. package/server/applications/webdav/utils/webdav.js +8 -4
  132. package/server/applications/webdav/utils/webdav.js.map +1 -1
  133. package/server/applications/webdav/webdav.controller.js +4 -4
  134. package/server/applications/webdav/webdav.controller.js.map +1 -1
  135. package/server/authentication/guards/auth-token-access.guard.js +8 -3
  136. package/server/authentication/guards/auth-token-access.guard.js.map +1 -1
  137. package/server/authentication/services/auth-methods/auth-method-two-fa.service.js +1 -1
  138. package/server/authentication/services/auth-methods/auth-method-two-fa.service.js.map +1 -1
  139. package/server/authentication/services/auth-methods/auth-method-two-fa.service.spec.js +350 -4
  140. package/server/authentication/services/auth-methods/auth-method-two-fa.service.spec.js.map +1 -1
  141. package/server/configuration/config.environment.js +5 -1
  142. package/server/configuration/config.environment.js.map +1 -1
  143. package/server/configuration/config.interfaces.js.map +1 -1
  144. package/static/3rdpartylicenses.txt +507 -507
  145. package/static/assets/pdfjs/build/pdf.mjs +93 -33
  146. package/static/assets/pdfjs/build/pdf.mjs.map +1 -1
  147. package/static/assets/pdfjs/build/pdf.sandbox.mjs +3 -3
  148. package/static/assets/pdfjs/build/pdf.sandbox.mjs.map +1 -1
  149. package/static/assets/pdfjs/build/pdf.worker.mjs +166 -54
  150. package/static/assets/pdfjs/build/pdf.worker.mjs.map +1 -1
  151. package/static/assets/pdfjs/version +1 -1
  152. package/static/assets/pdfjs/web/images/checkmark.svg +5 -0
  153. package/static/assets/pdfjs/web/images/pages_closeButton.svg +3 -0
  154. package/static/assets/pdfjs/web/images/pages_selected.svg +7 -0
  155. package/static/assets/pdfjs/web/images/pages_viewArrow.svg +3 -0
  156. package/static/assets/pdfjs/web/images/pages_viewButton.svg +3 -0
  157. package/static/assets/pdfjs/web/locale/be/viewer.ftl +0 -2
  158. package/static/assets/pdfjs/web/locale/bs/viewer.ftl +0 -5
  159. package/static/assets/pdfjs/web/locale/cs/viewer.ftl +4 -6
  160. package/static/assets/pdfjs/web/locale/cy/viewer.ftl +0 -2
  161. package/static/assets/pdfjs/web/locale/da/viewer.ftl +0 -2
  162. package/static/assets/pdfjs/web/locale/de/viewer.ftl +0 -2
  163. package/static/assets/pdfjs/web/locale/dsb/viewer.ftl +0 -2
  164. package/static/assets/pdfjs/web/locale/el/viewer.ftl +0 -2
  165. package/static/assets/pdfjs/web/locale/en-CA/viewer.ftl +6 -2
  166. package/static/assets/pdfjs/web/locale/en-GB/viewer.ftl +0 -2
  167. package/static/assets/pdfjs/web/locale/en-US/viewer.ftl +82 -17
  168. package/static/assets/pdfjs/web/locale/eo/viewer.ftl +0 -2
  169. package/static/assets/pdfjs/web/locale/es-AR/viewer.ftl +0 -2
  170. package/static/assets/pdfjs/web/locale/es-CL/viewer.ftl +0 -2
  171. package/static/assets/pdfjs/web/locale/es-ES/viewer.ftl +0 -2
  172. package/static/assets/pdfjs/web/locale/es-MX/viewer.ftl +0 -2
  173. package/static/assets/pdfjs/web/locale/eu/viewer.ftl +0 -2
  174. package/static/assets/pdfjs/web/locale/fi/viewer.ftl +0 -2
  175. package/static/assets/pdfjs/web/locale/fr/viewer.ftl +0 -2
  176. package/static/assets/pdfjs/web/locale/fur/viewer.ftl +0 -5
  177. package/static/assets/pdfjs/web/locale/fy-NL/viewer.ftl +3 -5
  178. package/static/assets/pdfjs/web/locale/gn/viewer.ftl +0 -2
  179. package/static/assets/pdfjs/web/locale/he/viewer.ftl +0 -2
  180. package/static/assets/pdfjs/web/locale/hr/viewer.ftl +66 -0
  181. package/static/assets/pdfjs/web/locale/hsb/viewer.ftl +0 -2
  182. package/static/assets/pdfjs/web/locale/hu/viewer.ftl +0 -2
  183. package/static/assets/pdfjs/web/locale/hy-AM/viewer.ftl +3 -8
  184. package/static/assets/pdfjs/web/locale/ia/viewer.ftl +0 -2
  185. package/static/assets/pdfjs/web/locale/id/viewer.ftl +0 -5
  186. package/static/assets/pdfjs/web/locale/is/viewer.ftl +0 -5
  187. package/static/assets/pdfjs/web/locale/it/viewer.ftl +0 -2
  188. package/static/assets/pdfjs/web/locale/ja/viewer.ftl +0 -14
  189. package/static/assets/pdfjs/web/locale/ka/viewer.ftl +4 -6
  190. package/static/assets/pdfjs/web/locale/kab/viewer.ftl +0 -5
  191. package/static/assets/pdfjs/web/locale/kk/viewer.ftl +0 -2
  192. package/static/assets/pdfjs/web/locale/ko/viewer.ftl +0 -2
  193. package/static/assets/pdfjs/web/locale/nb-NO/viewer.ftl +1 -3
  194. package/static/assets/pdfjs/web/locale/nl/viewer.ftl +0 -2
  195. package/static/assets/pdfjs/web/locale/nn-NO/viewer.ftl +4 -2
  196. package/static/assets/pdfjs/web/locale/pa-IN/viewer.ftl +0 -2
  197. package/static/assets/pdfjs/web/locale/pl/viewer.ftl +0 -2
  198. package/static/assets/pdfjs/web/locale/pt-BR/viewer.ftl +0 -2
  199. package/static/assets/pdfjs/web/locale/pt-PT/viewer.ftl +35 -0
  200. package/static/assets/pdfjs/web/locale/rm/viewer.ftl +0 -5
  201. package/static/assets/pdfjs/web/locale/ro/viewer.ftl +4 -6
  202. package/static/assets/pdfjs/web/locale/ru/viewer.ftl +3 -5
  203. package/static/assets/pdfjs/web/locale/sk/viewer.ftl +0 -2
  204. package/static/assets/pdfjs/web/locale/sl/viewer.ftl +0 -2
  205. package/static/assets/pdfjs/web/locale/sq/viewer.ftl +0 -2
  206. package/static/assets/pdfjs/web/locale/sv-SE/viewer.ftl +0 -2
  207. package/static/assets/pdfjs/web/locale/tg/viewer.ftl +0 -2
  208. package/static/assets/pdfjs/web/locale/th/viewer.ftl +2 -2
  209. package/static/assets/pdfjs/web/locale/tr/viewer.ftl +0 -2
  210. package/static/assets/pdfjs/web/locale/vi/viewer.ftl +0 -2
  211. package/static/assets/pdfjs/web/locale/zh-CN/viewer.ftl +0 -2
  212. package/static/assets/pdfjs/web/locale/zh-TW/viewer.ftl +0 -2
  213. package/static/assets/pdfjs/web/viewer.css +1778 -835
  214. package/static/assets/pdfjs/web/viewer.html +167 -86
  215. package/static/assets/pdfjs/web/viewer.mjs +1106 -801
  216. package/static/assets/pdfjs/web/viewer.mjs.map +1 -1
  217. package/static/chunk-27V66YJV.js +2 -0
  218. package/static/{chunk-BVKDW5XO.js → chunk-27Z3SYRL.js} +1 -1
  219. package/static/{chunk-HLKZCMKV.js → chunk-2RWLNKZH.js} +1 -1
  220. package/static/chunk-2YQ4SX3A.js +13 -0
  221. package/static/{chunk-GENTF6JM.js → chunk-3JYMJQYT.js} +1 -1
  222. package/static/chunk-3QTROEHV.js +1 -0
  223. package/static/{chunk-C5T7RZSD.js → chunk-3RPUQ22U.js} +1 -1
  224. package/static/{chunk-EPDWJEPD.js → chunk-3WZ6F3LC.js} +1 -1
  225. package/static/chunk-3ZLBVUCX.js +2 -0
  226. package/static/{chunk-SF6Q6VRC.js → chunk-45AZ6ZML.js} +1 -1
  227. package/static/chunk-46TJLPJY.js +1 -0
  228. package/static/chunk-4NIYCYRS.js +2 -0
  229. package/static/{chunk-GLPKRULI.js → chunk-4TPFERL6.js} +1 -1
  230. package/static/{chunk-KAAFVHYE.js → chunk-5O66CLTD.js} +1 -1
  231. package/static/chunk-6OEOADR6.js +1 -0
  232. package/static/chunk-6WMXMIE4.js +1 -0
  233. package/static/{chunk-QKMN3S4M.js → chunk-7VRYTDX4.js} +1 -1
  234. package/static/{chunk-Z2KBIZ5D.js → chunk-ARS47O5X.js} +1 -1
  235. package/static/chunk-B6HQYQYG.js +1 -0
  236. package/static/chunk-BCN4T5DO.js +2 -0
  237. package/static/{chunk-7HL5Z6PF.js → chunk-CCZWPM7Q.js} +1 -1
  238. package/static/{chunk-DU4Q4RWJ.js → chunk-CMNMPG6Z.js} +1 -1
  239. package/static/{chunk-BX3QZ7IL.js → chunk-CSVPAZHK.js} +1 -1
  240. package/static/{chunk-BJARRIS6.js → chunk-D55YR5X7.js} +4 -4
  241. package/static/{chunk-NHMYAVJK.js → chunk-D5FQ72R4.js} +1 -1
  242. package/static/{chunk-7QYALK5T.js → chunk-DGCVA6BM.js} +1 -1
  243. package/static/{chunk-IBC7CFBQ.js → chunk-DVCN3P7Q.js} +1 -1
  244. package/static/chunk-E32J777S.js +5 -0
  245. package/static/{chunk-FEQUP26G.js → chunk-FIUF2JM4.js} +1 -1
  246. package/static/{chunk-ODAQRAPO.js → chunk-G3PL6YX3.js} +1 -1
  247. package/static/chunk-G7RZN7HN.js +1 -0
  248. package/static/{chunk-IIKL33TV.js → chunk-GQHXYX6Z.js} +1 -1
  249. package/static/{chunk-5HYSNQR4.js → chunk-GWRAGN3M.js} +1 -1
  250. package/static/{chunk-ANH4VNOS.js → chunk-GXWGB7WO.js} +1 -1
  251. package/static/{chunk-25PWAXTJ.js → chunk-HGODIZTV.js} +1 -1
  252. package/static/{chunk-X5UDV4ZB.js → chunk-HZAB6F4Q.js} +1 -1
  253. package/static/chunk-I3FR3A45.js +1 -0
  254. package/static/{chunk-JYHTSSKW.js → chunk-I5SPA4G2.js} +1 -1
  255. package/static/{chunk-DQAQUSVW.js → chunk-IMFO2MI7.js} +1 -1
  256. package/static/{chunk-AYYJZMBE.js → chunk-JNTNMIUH.js} +1 -1
  257. package/static/chunk-JRXG43AA.js +2 -0
  258. package/static/{chunk-3AR5VNJE.js → chunk-KAUCN24H.js} +1 -1
  259. package/static/{chunk-3WS72A6C.js → chunk-KDUAB76O.js} +1 -1
  260. package/static/chunk-KPOQLDWF.js +1 -0
  261. package/static/{chunk-UO7ATVQG.js → chunk-KWFELZTM.js} +1 -1
  262. package/static/{chunk-2CAAJBRO.js → chunk-L3BIP4AA.js} +1 -1
  263. package/static/{chunk-DK2LAJEL.js → chunk-LGIVVJDD.js} +1 -1
  264. package/static/{chunk-5ATJIR5S.js → chunk-LNLBIJZD.js} +1 -1
  265. package/static/chunk-LTJNLOX2.js +1 -0
  266. package/static/{chunk-GRV44RYI.js → chunk-LZUHREOF.js} +1 -1
  267. package/static/{chunk-XIQXRSZ2.js → chunk-NIR4YE2E.js} +1 -1
  268. package/static/{chunk-TOCCCZP2.js → chunk-NJJURHX4.js} +1 -1
  269. package/static/chunk-NNZWSNAW.js +1 -0
  270. package/static/chunk-NWKBB7J4.js +1 -0
  271. package/static/chunk-O3YLAEVE.js +3 -0
  272. package/static/chunk-OUHCDDT6.js +1 -0
  273. package/static/{chunk-B4TDS6AQ.js → chunk-PDG7DOEF.js} +1 -1
  274. package/static/chunk-POUWUMC4.js +1 -0
  275. package/static/{chunk-NQCKX2AD.js → chunk-PPJCVBJH.js} +1 -1
  276. package/static/{chunk-ZCOEP4O2.js → chunk-PQZLR4P3.js} +1 -1
  277. package/static/chunk-PVYVY3GD.js +1 -0
  278. package/static/chunk-Q5X5TPAG.js +1 -0
  279. package/static/{chunk-LFAQLJZK.js → chunk-QHJT5H4M.js} +1 -1
  280. package/static/{chunk-D6QWQHWE.js → chunk-R4VMWCM5.js} +1 -1
  281. package/static/{chunk-O233BXWK.js → chunk-R7PLNX75.js} +1 -1
  282. package/static/chunk-RJULB733.js +1 -0
  283. package/static/{chunk-E5C4QRNQ.js → chunk-RNVPQQKT.js} +5 -5
  284. package/static/chunk-RTNEBRKJ.js +1 -0
  285. package/static/{chunk-GYYJ4FWN.js → chunk-S3TTWPQA.js} +1 -1
  286. package/static/{chunk-4GBA6EJ4.js → chunk-SDJNZULP.js} +1 -1
  287. package/static/chunk-SNOOCDJD.js +1 -0
  288. package/static/chunk-T42BV6TR.js +1 -0
  289. package/static/{chunk-5KVI243T.js → chunk-TNCKNU6I.js} +1 -1
  290. package/static/{chunk-OVUMPMVM.js → chunk-ULSPQ3HP.js} +1 -1
  291. package/static/{chunk-5NFH4E2B.js → chunk-UOK3LKSX.js} +1 -1
  292. package/static/{chunk-CHMDM2ZW.js → chunk-VD5JHSDS.js} +1 -1
  293. package/static/{chunk-2F42MZQ5.js → chunk-XBKCQCBI.js} +1 -1
  294. package/static/{chunk-2U5VKTML.js → chunk-XEWLBWFF.js} +1 -1
  295. package/static/{chunk-FSGT46LM.js → chunk-XTVNHFKX.js} +1 -1
  296. package/static/chunk-ZCSHU3D7.js +1 -0
  297. package/static/{chunk-QUUQOBTF.js → chunk-ZEJLIGAY.js} +1 -1
  298. package/static/{chunk-7H5O4BLV.js → chunk-ZHOE5VEY.js} +1 -1
  299. package/static/chunk-ZOMRIN3G.js +2 -0
  300. package/static/index.html +2 -2
  301. package/static/main-YKDNJ7LK.js +11 -0
  302. package/static/{styles-S5HVK4H5.css → styles-XLLEY5Y3.css} +1 -1
  303. package/server/applications/files/constants/only-office.js +0 -531
  304. package/server/applications/files/constants/only-office.js.map +0 -1
  305. package/server/applications/files/decorators/only-office-environment.decorator.js.map +0 -1
  306. package/server/applications/files/files-only-office.controller.js.map +0 -1
  307. package/server/applications/files/files-only-office.controller.spec.js.map +0 -1
  308. package/server/applications/files/guards/files-only-office.guard.js.map +0 -1
  309. package/server/applications/files/guards/files-only-office.guard.spec.js.map +0 -1
  310. package/server/applications/files/guards/files-only-office.strategy.js.map +0 -1
  311. package/server/applications/files/interfaces/only-office-config.interface.js.map +0 -1
  312. package/server/applications/files/services/files-only-office-manager.service.js.map +0 -1
  313. package/server/applications/files/services/files-only-office-manager.service.spec.js +0 -58
  314. package/server/applications/files/services/files-only-office-manager.service.spec.js.map +0 -1
  315. package/static/chunk-42L6C5MT.js +0 -1
  316. package/static/chunk-4ZKAVMB4.js +0 -1
  317. package/static/chunk-5GIWZKNS.js +0 -1
  318. package/static/chunk-5WCQBTXW.js +0 -1
  319. package/static/chunk-B2A4HNDC.js +0 -1
  320. package/static/chunk-BSB4VROD.js +0 -2
  321. package/static/chunk-CUC7R6C2.js +0 -1
  322. package/static/chunk-DHFQIFOF.js +0 -1
  323. package/static/chunk-DRHPEERW.js +0 -2
  324. package/static/chunk-FCGTI42I.js +0 -1
  325. package/static/chunk-FCR5AEHR.js +0 -3
  326. package/static/chunk-HB5DC7RJ.js +0 -1
  327. package/static/chunk-ITVA26X2.js +0 -2
  328. package/static/chunk-KWKZN53T.js +0 -1
  329. package/static/chunk-LBXOAKBD.js +0 -1
  330. package/static/chunk-LZKI5P5T.js +0 -1
  331. package/static/chunk-MGMDT4VN.js +0 -1
  332. package/static/chunk-MWUUM2NK.js +0 -13
  333. package/static/chunk-MYM43ENO.js +0 -1
  334. package/static/chunk-NAH4V2R6.js +0 -2
  335. package/static/chunk-PCFH5HCI.js +0 -2
  336. package/static/chunk-Q6B4OVER.js +0 -5
  337. package/static/chunk-QV5LQKTS.js +0 -1
  338. package/static/chunk-S4UTSOPV.js +0 -1
  339. package/static/chunk-SRBOO7AO.js +0 -1
  340. package/static/chunk-VZPCXSRG.js +0 -2
  341. package/static/chunk-XKEBQNQJ.js +0 -1
  342. package/static/chunk-YYTDPI5S.js +0 -1
  343. package/static/main-ODUA232E.js +0 -11
  344. /package/static/assets/pdfjs/web/images/{toolbarButton-sidebarToggle.svg → toolbarButton-viewsManagerToggle.svg} +0 -0
@@ -21,8 +21,8 @@
21
21
  */
22
22
 
23
23
  /**
24
- * pdfjsVersion = 5.4.449
25
- * pdfjsBuild = f44e5f0e6
24
+ * pdfjsVersion = 5.4.530
25
+ * pdfjsBuild = 50cc4adac
26
26
  */
27
27
  /******/ // The require scope
28
28
  /******/ var __webpack_require__ = {};
@@ -9131,15 +9131,15 @@ function readSegmentHeader(data, start) {
9131
9131
  let referredToCount = referredFlags >> 5 & 7;
9132
9132
  const retainBits = [referredFlags & 31];
9133
9133
  let position = start + 6;
9134
- if (referredFlags === 7) {
9134
+ if (referredToCount === 7) {
9135
9135
  referredToCount = readUint32(data, position - 1) & 0x1fffffff;
9136
9136
  position += 3;
9137
- let bytes = referredToCount + 7 >> 3;
9137
+ let bytes = referredToCount + 8 >> 3;
9138
9138
  retainBits[0] = data[position++];
9139
9139
  while (--bytes > 0) {
9140
9140
  retainBits.push(data[position++]);
9141
9141
  }
9142
- } else if (referredFlags === 5 || referredFlags === 6) {
9142
+ } else if (referredToCount === 5 || referredToCount === 6) {
9143
9143
  throw new Jbig2Error("invalid referred-to flags");
9144
9144
  }
9145
9145
  segmentHeader.retainBits = retainBits;
@@ -16957,12 +16957,10 @@ const CharstringValidationData = [null, {
16957
16957
  resetStack: true
16958
16958
  }, null, {
16959
16959
  id: "callsubr",
16960
- min: 1,
16961
- undefStack: true
16960
+ min: 1
16962
16961
  }, {
16963
16962
  id: "return",
16964
- min: 0,
16965
- undefStack: true
16963
+ min: 0
16966
16964
  }, null, null, {
16967
16965
  id: "endchar",
16968
16966
  min: 0,
@@ -17011,8 +17009,7 @@ const CharstringValidationData = [null, {
17011
17009
  resetStack: true
17012
17010
  }, null, {
17013
17011
  id: "callgsubr",
17014
- min: 1,
17015
- undefStack: true
17012
+ min: 1
17016
17013
  }, {
17017
17014
  id: "vhcurveto",
17018
17015
  min: 4,
@@ -17160,6 +17157,7 @@ class CFFParser {
17160
17157
  cff.isCIDFont = topDict.hasName("ROS");
17161
17158
  const charStringOffset = topDict.getByName("CharStrings");
17162
17159
  const charStringIndex = this.parseIndex(charStringOffset).obj;
17160
+ cff.charStringCount = charStringIndex.count;
17163
17161
  const fontMatrix = topDict.getByName("FontMatrix");
17164
17162
  if (fontMatrix) {
17165
17163
  properties.fontMatrix = fontMatrix;
@@ -17450,15 +17448,13 @@ class CFFParser {
17450
17448
  data[j - 1] = value === 1 ? 3 : 23;
17451
17449
  }
17452
17450
  }
17453
- if ("min" in validationCommand) {
17454
- if (!state.undefStack && stackSize < validationCommand.min) {
17455
- warn("Not enough parameters for " + validationCommand.id + "; actual: " + stackSize + ", expected: " + validationCommand.min);
17456
- if (stackSize === 0) {
17457
- data[j - 1] = 14;
17458
- return true;
17459
- }
17460
- return false;
17451
+ if (stackSize < validationCommand.min) {
17452
+ warn("Not enough parameters for " + validationCommand.id + "; actual: " + stackSize + ", expected: " + validationCommand.min);
17453
+ if (stackSize === 0) {
17454
+ data[j - 1] = 14;
17455
+ return true;
17461
17456
  }
17457
+ return false;
17462
17458
  }
17463
17459
  if (state.firstStackClearing && validationCommand.stackClearing) {
17464
17460
  state.firstStackClearing = false;
@@ -17477,15 +17473,8 @@ class CFFParser {
17477
17473
  validationCommand.stackFn(stack, stackSize);
17478
17474
  }
17479
17475
  stackSize += validationCommand.stackDelta;
17480
- } else if (validationCommand.stackClearing) {
17481
- stackSize = 0;
17482
- } else if (validationCommand.resetStack) {
17476
+ } else if (validationCommand.stackClearing || validationCommand.resetStack) {
17483
17477
  stackSize = 0;
17484
- state.undefStack = false;
17485
- } else if (validationCommand.undefStack) {
17486
- stackSize = 0;
17487
- state.undefStack = true;
17488
- state.firstStackClearing = false;
17489
17478
  }
17490
17479
  }
17491
17480
  }
@@ -17512,7 +17501,6 @@ class CFFParser {
17512
17501
  callDepth: 0,
17513
17502
  stackSize: 0,
17514
17503
  stack: [],
17515
- undefStack: true,
17516
17504
  hints: 0,
17517
17505
  firstStackClearing: true,
17518
17506
  seac: null,
@@ -17757,6 +17745,7 @@ class CFF {
17757
17745
  this.fdArray = [];
17758
17746
  this.fdSelect = null;
17759
17747
  this.isCIDFont = false;
17748
+ this.charStringCount = 0;
17760
17749
  }
17761
17750
  duplicateFirstGlyph() {
17762
17751
  if (this.charStrings.count >= 65535) {
@@ -18929,6 +18918,39 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
18929
18918
  t[598] = 1068;
18930
18919
  t[599] = 1069;
18931
18920
  t[600] = 1070;
18921
+ t[601] = 1071;
18922
+ t[602] = 1072;
18923
+ t[603] = 1073;
18924
+ t[604] = 1074;
18925
+ t[605] = 1075;
18926
+ t[606] = 1076;
18927
+ t[607] = 1077;
18928
+ t[608] = 1078;
18929
+ t[609] = 1079;
18930
+ t[610] = 1080;
18931
+ t[611] = 1081;
18932
+ t[612] = 1082;
18933
+ t[613] = 1083;
18934
+ t[614] = 1084;
18935
+ t[615] = 1085;
18936
+ t[616] = 1086;
18937
+ t[617] = 1087;
18938
+ t[618] = 1088;
18939
+ t[619] = 1089;
18940
+ t[620] = 1090;
18941
+ t[621] = 1091;
18942
+ t[622] = 1092;
18943
+ t[623] = 1093;
18944
+ t[624] = 1094;
18945
+ t[625] = 1095;
18946
+ t[626] = 1096;
18947
+ t[627] = 1097;
18948
+ t[628] = 1098;
18949
+ t[629] = 1099;
18950
+ t[630] = 1100;
18951
+ t[631] = 1101;
18952
+ t[632] = 1102;
18953
+ t[633] = 1103;
18932
18954
  t[672] = 1488;
18933
18955
  t[673] = 1489;
18934
18956
  t[674] = 1490;
@@ -24760,7 +24782,6 @@ class Type1Font {
24760
24782
 
24761
24783
 
24762
24784
 
24763
-
24764
24785
  const PRIVATE_USE_AREAS = [[0xe000, 0xf8ff], [0x100000, 0x10fffd]];
24765
24786
  const PDF_GLYPH_SPACE_UNITS = 1000;
24766
24787
  const EXPORT_DATA_PROPERTIES = ["ascent", "bbox", "black", "bold", "charProcOperatorList", "cssFontInfo", "data", "defaultVMetrics", "defaultWidth", "descent", "disableFontFace", "fallbackName", "fontExtraProperties", "fontMatrix", "isInvalidPDFjsFont", "isType3Font", "italic", "loadedName", "mimetype", "missingFile", "name", "remeasure", "systemFontInfo", "vertical"];
@@ -26608,14 +26629,10 @@ class Font {
26608
26629
  header = readOpenTypeHeader(font);
26609
26630
  tables = readTables(font, header.numTables);
26610
26631
  }
26611
- let cff, cffFile;
26612
26632
  const isTrueType = !tables["CFF "];
26613
26633
  if (!isTrueType) {
26614
- const isComposite = properties.composite && (properties.cidToGidMap?.length > 0 || !(properties.cMap instanceof IdentityCMap));
26615
- if (header.version === "OTTO" && !isComposite || !tables.head || !tables.hhea || !tables.maxp || !tables.post) {
26616
- cffFile = new Stream(tables["CFF "].data);
26617
- cff = new CFFFont(cffFile, properties);
26618
- return this.convert(name, cff, properties);
26634
+ if (header.version === "OTTO" && !properties.composite || !tables.head || !tables.hhea || !tables.maxp || !tables.post) {
26635
+ return this.convert(name, new CFFFont(new Stream(tables["CFF "].data), properties), properties);
26619
26636
  }
26620
26637
  delete tables.glyf;
26621
26638
  delete tables.loca;
@@ -26639,9 +26656,26 @@ class Font {
26639
26656
  if (!tables.maxp) {
26640
26657
  throw new FormatError('Required "maxp" table is not found');
26641
26658
  }
26659
+ let numGlyphsFromCFF;
26660
+ if (!isTrueType) {
26661
+ try {
26662
+ const parser = new CFFParser(new Stream(tables["CFF "].data), properties, SEAC_ANALYSIS_ENABLED);
26663
+ const cff = parser.parse();
26664
+ cff.duplicateFirstGlyph();
26665
+ const compiler = new CFFCompiler(cff);
26666
+ tables["CFF "].data = compiler.compile();
26667
+ numGlyphsFromCFF = cff.charStringCount;
26668
+ } catch {
26669
+ warn("Failed to compile font " + properties.loadedName);
26670
+ }
26671
+ }
26642
26672
  font.pos = (font.start || 0) + tables.maxp.offset;
26643
26673
  let version = font.getInt32();
26644
- const numGlyphs = font.getUint16();
26674
+ const numGlyphs = numGlyphsFromCFF ?? font.getUint16();
26675
+ if (version === 0x00005000 && tables.maxp.length !== 6) {
26676
+ tables.maxp.data = tables.maxp.data.subarray(0, 6);
26677
+ tables.maxp.length = 6;
26678
+ }
26645
26679
  if (version !== 0x00010000 && version !== 0x00005000) {
26646
26680
  if (tables.maxp.length === 6) {
26647
26681
  version = 0x0005000;
@@ -26652,11 +26686,28 @@ class Font {
26652
26686
  }
26653
26687
  writeUint32(tables.maxp.data, 0, version);
26654
26688
  }
26689
+ let isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]);
26690
+ if (tables.loca) {
26691
+ const locaLength = isGlyphLocationsLong ? (numGlyphs + 1) * 4 : (numGlyphs + 1) * 2;
26692
+ if (tables.loca.length !== locaLength) {
26693
+ warn("Incorrect 'loca' table length -- attempting to fix it.");
26694
+ const sortedTables = Object.values(tables).filter(Boolean).sort((a, b) => a.offset - b.offset);
26695
+ const locaIndex = sortedTables.indexOf(tables.loca);
26696
+ const nextTable = sortedTables[locaIndex + 1] || null;
26697
+ if (nextTable && tables.loca.offset + locaLength < nextTable.offset) {
26698
+ const previousPos = font.pos;
26699
+ font.pos = font.start || 0;
26700
+ font.skip(tables.loca.offset);
26701
+ tables.loca.data = font.getBytes(locaLength);
26702
+ tables.loca.length = locaLength;
26703
+ font.pos = previousPos;
26704
+ }
26705
+ }
26706
+ }
26655
26707
  if (properties.scaleFactors?.length === numGlyphs && isTrueType) {
26656
26708
  const {
26657
26709
  scaleFactors
26658
26710
  } = properties;
26659
- const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]);
26660
26711
  const glyphs = new GlyfTable({
26661
26712
  glyfTable: tables.glyf.data,
26662
26713
  isGlyphLocationsLong,
@@ -26673,7 +26724,7 @@ class Font {
26673
26724
  tables.loca.data = loca;
26674
26725
  if (isLocationLong !== !!isGlyphLocationsLong) {
26675
26726
  tables.head.data[50] = 0;
26676
- tables.head.data[51] = isLocationLong ? 1 : 0;
26727
+ isGlyphLocationsLong = tables.head.data[51] = isLocationLong ? 1 : 0;
26677
26728
  }
26678
26729
  const metrics = tables.hmtx.data;
26679
26730
  for (let i = 0; i < numGlyphs; i++) {
@@ -26721,7 +26772,6 @@ class Font {
26721
26772
  sanitizeHead(tables.head, numGlyphs, isTrueType ? tables.loca.length : 0);
26722
26773
  let missingGlyphs = Object.create(null);
26723
26774
  if (isTrueType) {
26724
- const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]);
26725
26775
  const glyphsInfo = sanitizeGlyphLocations(tables.loca, tables.glyf, numGlyphs, isGlyphLocationsLong, hintsValid, dupFirstEntry, maxSizeOfInstructions);
26726
26776
  missingGlyphs = glyphsInfo.missingGlyphs;
26727
26777
  if (version >= 0x00010000 && tables.maxp.length >= 32) {
@@ -26889,18 +26939,6 @@ class Font {
26889
26939
  };
26890
26940
  }
26891
26941
  }
26892
- if (!isTrueType) {
26893
- try {
26894
- cffFile = new Stream(tables["CFF "].data);
26895
- const parser = new CFFParser(cffFile, properties, SEAC_ANALYSIS_ENABLED);
26896
- cff = parser.parse();
26897
- cff.duplicateFirstGlyph();
26898
- const compiler = new CFFCompiler(cff);
26899
- tables["CFF "].data = compiler.compile();
26900
- } catch {
26901
- warn("Failed to compile font " + properties.loadedName);
26902
- }
26903
- }
26904
26942
  if (!tables.name) {
26905
26943
  tables.name = {
26906
26944
  tag: "name",
@@ -27873,6 +27911,31 @@ class PatternInfo {
27873
27911
  throw new Error(`Unsupported pattern kind: ${kind}`);
27874
27912
  }
27875
27913
  }
27914
+ class FontPathInfo {
27915
+ static write(path) {
27916
+ let data;
27917
+ let buffer;
27918
+ if (FeatureTest.isFloat16ArraySupported) {
27919
+ buffer = new ArrayBuffer(path.length * 2);
27920
+ data = new Float16Array(buffer);
27921
+ } else {
27922
+ buffer = new ArrayBuffer(path.length * 4);
27923
+ data = new Float32Array(buffer);
27924
+ }
27925
+ data.set(path);
27926
+ return buffer;
27927
+ }
27928
+ #buffer;
27929
+ constructor(buffer) {
27930
+ this.#buffer = buffer;
27931
+ }
27932
+ get path() {
27933
+ if (FeatureTest.isFloat16ArraySupported) {
27934
+ return new Float16Array(this.#buffer);
27935
+ }
27936
+ return new Float32Array(this.#buffer);
27937
+ }
27938
+ }
27876
27939
 
27877
27940
  ;// ./src/core/pattern.js
27878
27941
 
@@ -30731,6 +30794,32 @@ const substitutionMap = new Map([["Times-Roman", {
30731
30794
  alias: "Wingdings"
30732
30795
  }], ["Wingdings-Bold", {
30733
30796
  alias: "Wingdings"
30797
+ }], ["\xCB\xCE\xCC\xE5", {
30798
+ local: ["SimSun", "SimSun Regular", "NSimSun"],
30799
+ style: NORMAL,
30800
+ ultimate: "serif"
30801
+ }], ["\xBA\xDA\xCC\xE5", {
30802
+ local: ["SimHei", "SimHei Regular"],
30803
+ style: NORMAL,
30804
+ ultimate: "sans-serif"
30805
+ }], ["\xBF\xAC\xCC\xE5", {
30806
+ local: ["KaiTi", "SimKai", "SimKai Regular"],
30807
+ style: NORMAL,
30808
+ ultimate: "sans-serif"
30809
+ }], ["\xB7\xC2\xCB\xCE", {
30810
+ local: ["FangSong", "SimFang", "SimFang Regular"],
30811
+ style: NORMAL,
30812
+ ultimate: "serif"
30813
+ }], ["\xBF\xAC\xCC\xE5_GB2312", {
30814
+ alias: "\xBF\xAC\xCC\xE5"
30815
+ }], ["\xB7\xC2\xCB\xCE_GB2312", {
30816
+ alias: "\xB7\xC2\xCB\xCE"
30817
+ }], ["\xC1\xA5\xCA\xE9", {
30818
+ local: ["SimLi", "SimLi Regular"],
30819
+ style: NORMAL,
30820
+ ultimate: "serif"
30821
+ }], ["\xD0\xC2\xCB\xCE", {
30822
+ alias: "\xCB\xCE\xCC\xE5"
30734
30823
  }]]);
30735
30824
  const fontAliases = new Map([["Arial-Black", "ArialBlack"]]);
30736
30825
  function getStyleToAppend(style) {
@@ -34306,7 +34395,7 @@ class PartialEvaluator {
34306
34395
  const toUnicodePromise = this.readToUnicode(properties.toUnicode);
34307
34396
  if (properties.composite) {
34308
34397
  const cidSystemInfo = dict.get("CIDSystemInfo");
34309
- if (cidSystemInfo instanceof Dict) {
34398
+ if (cidSystemInfo instanceof Dict && !properties.cidSystemInfo) {
34310
34399
  properties.cidSystemInfo = {
34311
34400
  registry: stringToPDFString(cidSystemInfo.get("Registry")),
34312
34401
  ordering: stringToPDFString(cidSystemInfo.get("Ordering")),
@@ -34365,6 +34454,28 @@ class PartialEvaluator {
34365
34454
  if (baseEncodingName && nonEmbeddedFont && isSymbolsFontName) {
34366
34455
  baseEncodingName = null;
34367
34456
  }
34457
+ if (baseEncodingName === "WinAnsiEncoding" && nonEmbeddedFont && properties.name?.charCodeAt(0) >= 0xb7) {
34458
+ const fontName = properties.name;
34459
+ const chineseFontNames = ["\xCB\xCE\xCC\xE5", "\xBA\xDA\xCC\xE5", "\xBF\xAC\xCC\xE5", "\xB7\xC2\xCB\xCE", "\xBF\xAC\xCC\xE5_GB2312", "\xB7\xC2\xCB\xCE_GB2312", "\xC1\xA5\xCA\xE9", "\xD0\xC2\xCB\xCE"];
34460
+ if (chineseFontNames.includes(fontName)) {
34461
+ baseEncodingName = null;
34462
+ properties.defaultEncoding = "Adobe-GB1-UCS2";
34463
+ properties.composite = true;
34464
+ properties.cidEncoding = Name.get("GBK-EUC-H");
34465
+ const cMap = await CMapFactory.create({
34466
+ encoding: properties.cidEncoding,
34467
+ fetchBuiltInCMap: this._fetchBuiltInCMapBound,
34468
+ useCMap: null
34469
+ });
34470
+ properties.cMap = cMap;
34471
+ properties.vertical = properties.cMap.vertical;
34472
+ properties.cidSystemInfo = {
34473
+ registry: "Adobe",
34474
+ ordering: "GB1",
34475
+ supplement: 0
34476
+ };
34477
+ }
34478
+ }
34368
34479
  if (baseEncodingName) {
34369
34480
  properties.defaultEncoding = getEncoding(baseEncodingName);
34370
34481
  } else {
@@ -35103,7 +35214,8 @@ class PartialEvaluator {
35103
35214
  if (font.renderer.hasBuiltPath(fontChar)) {
35104
35215
  return;
35105
35216
  }
35106
- handler.send("commonobj", [glyphName, "FontPath", font.renderer.getPathJs(fontChar)]);
35217
+ const buffer = FontPathInfo.write(font.renderer.getPathJs(fontChar));
35218
+ handler.send("commonobj", [glyphName, "FontPath", buffer], [buffer]);
35107
35219
  } catch (reason) {
35108
35220
  if (evaluatorOptions.ignoreErrors) {
35109
35221
  warn(`buildFontPaths - ignoring ${glyphName} glyph: "${reason}".`);
@@ -59791,7 +59903,7 @@ class WorkerMessageHandler {
59791
59903
  docId,
59792
59904
  apiVersion
59793
59905
  } = docParams;
59794
- const workerVersion = "5.4.449";
59906
+ const workerVersion = "5.4.530";
59795
59907
  if (apiVersion !== workerVersion) {
59796
59908
  throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`);
59797
59909
  }