lakutata 2.0.96 → 2.0.97

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 (1189) hide show
  1. package/com/cacher.cjs +31 -135
  2. package/com/cacher.mjs +23 -127
  3. package/com/database.cjs +24 -166
  4. package/com/database.mjs +24 -166
  5. package/com/docker.cjs +94 -276
  6. package/com/docker.mjs +39 -221
  7. package/com/entrypoint.cjs +33 -119
  8. package/com/entrypoint.mjs +20 -106
  9. package/com/logger.cjs +19 -123
  10. package/com/logger.mjs +19 -123
  11. package/com/monitor.cjs +24 -88
  12. package/com/monitor.mjs +20 -84
  13. package/decorator/asst.cjs +5 -7
  14. package/decorator/asst.mjs +5 -7
  15. package/decorator/ctrl.cjs +22 -58
  16. package/decorator/ctrl.mjs +10 -46
  17. package/decorator/di.cjs +12 -42
  18. package/decorator/di.mjs +8 -38
  19. package/decorator/dto.cjs +13 -43
  20. package/decorator/dto.mjs +9 -39
  21. package/decorator/orm.cjs +117 -113
  22. package/decorator/orm.mjs +71 -67
  23. package/dtos.cjs +8 -38
  24. package/dtos.mjs +8 -38
  25. package/helper.cjs +73 -127
  26. package/helper.mjs +12 -66
  27. package/lakutata.cjs +116 -328
  28. package/lakutata.mjs +60 -272
  29. package/orm.cjs +854 -173
  30. package/orm.mjs +866 -65
  31. package/package.json +1 -1
  32. package/provider/database.cjs +26 -166
  33. package/provider/database.mjs +26 -166
  34. package/provider/passwordHash.cjs +18 -82
  35. package/provider/passwordHash.mjs +18 -82
  36. package/src/components/Database.cjs +36 -178
  37. package/src/components/Database.mjs +68 -210
  38. package/src/components/Logger.cjs +50 -191
  39. package/src/components/Logger.mjs +46 -194
  40. package/src/components/cacher/Cacher.cjs +511 -174
  41. package/src/components/cacher/Cacher.mjs +502 -171
  42. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +547 -35
  43. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +530 -34
  44. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +17 -61
  45. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +19 -63
  46. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +21 -65
  47. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +22 -66
  48. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +7 -45
  49. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +18 -56
  50. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +23 -67
  51. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +23 -67
  52. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +6 -44
  53. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +27 -65
  54. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +11 -55
  55. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +18 -62
  56. package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -6
  57. package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -6
  58. package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
  59. package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
  60. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +4 -6
  61. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -6
  62. package/src/components/cacher/options/FileCacheOptions.cjs +15 -45
  63. package/src/components/cacher/options/FileCacheOptions.mjs +15 -45
  64. package/src/components/cacher/options/MemcacheCacheOptions.cjs +16 -46
  65. package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -47
  66. package/src/components/cacher/options/MongoCacheOptions.cjs +9 -39
  67. package/src/components/cacher/options/MongoCacheOptions.mjs +18 -48
  68. package/src/components/cacher/options/MysqlCacheOptions.cjs +9 -39
  69. package/src/components/cacher/options/MysqlCacheOptions.mjs +19 -49
  70. package/src/components/cacher/options/PostgresCacheOptions.cjs +21 -51
  71. package/src/components/cacher/options/PostgresCacheOptions.mjs +20 -50
  72. package/src/components/cacher/options/RedisCacheOptions.cjs +26 -56
  73. package/src/components/cacher/options/RedisCacheOptions.mjs +9 -39
  74. package/src/components/cacher/options/SqliteCacheOptions.cjs +15 -45
  75. package/src/components/cacher/options/SqliteCacheOptions.mjs +14 -44
  76. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
  77. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
  78. package/src/components/docker/ConnectionOptionsBuilder.cjs +32 -214
  79. package/src/components/docker/ConnectionOptionsBuilder.mjs +37 -219
  80. package/src/components/docker/Docker.cjs +8727 -408
  81. package/src/components/docker/Docker.mjs +8903 -578
  82. package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -6
  83. package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -6
  84. package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -6
  85. package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -6
  86. package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -6
  87. package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -6
  88. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -6
  89. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -6
  90. package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -6
  91. package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -6
  92. package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -6
  93. package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -6
  94. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -6
  95. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -6
  96. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -6
  97. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -6
  98. package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
  99. package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
  100. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
  101. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
  102. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
  103. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
  104. package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
  105. package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
  106. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
  107. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
  108. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
  109. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
  110. package/src/components/docker/lib/DockerContainer.cjs +174 -330
  111. package/src/components/docker/lib/DockerContainer.mjs +184 -340
  112. package/src/components/docker/lib/DockerContainerTTY.cjs +52 -260
  113. package/src/components/docker/lib/DockerContainerTTY.mjs +48 -263
  114. package/src/components/docker/lib/DockerImage.cjs +69 -131
  115. package/src/components/docker/lib/DockerImage.mjs +54 -116
  116. package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
  117. package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
  118. package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
  119. package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
  120. package/src/components/docker/options/DockerPruneOptions.cjs +14 -44
  121. package/src/components/docker/options/DockerPruneOptions.mjs +15 -45
  122. package/src/components/docker/options/auth/DockerAuthOptions.cjs +9 -39
  123. package/src/components/docker/options/auth/DockerAuthOptions.mjs +15 -45
  124. package/src/components/docker/options/container/ContainerCommitOptions.cjs +12 -42
  125. package/src/components/docker/options/container/ContainerCommitOptions.mjs +12 -42
  126. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +13 -43
  127. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +12 -42
  128. package/src/components/docker/options/container/ContainerExecOptions.cjs +9 -39
  129. package/src/components/docker/options/container/ContainerExecOptions.mjs +11 -41
  130. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +13 -43
  131. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +12 -42
  132. package/src/components/docker/options/container/ContainerKillOptions.cjs +9 -39
  133. package/src/components/docker/options/container/ContainerKillOptions.mjs +12 -42
  134. package/src/components/docker/options/container/ContainerLogsOptions.cjs +15 -45
  135. package/src/components/docker/options/container/ContainerLogsOptions.mjs +15 -45
  136. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +9 -39
  137. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +12 -42
  138. package/src/components/docker/options/container/ContainerSettingOptions.cjs +9 -39
  139. package/src/components/docker/options/container/ContainerSettingOptions.mjs +43 -73
  140. package/src/components/docker/options/container/ContainerStopOptions.cjs +12 -42
  141. package/src/components/docker/options/container/ContainerStopOptions.mjs +9 -39
  142. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +9 -39
  143. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +12 -42
  144. package/src/components/docker/options/image/ImageBuildOptions.cjs +26 -56
  145. package/src/components/docker/options/image/ImageBuildOptions.mjs +25 -55
  146. package/src/components/docker/options/image/ImageExportOptions.cjs +14 -44
  147. package/src/components/docker/options/image/ImageExportOptions.mjs +14 -44
  148. package/src/components/docker/options/image/ImageImportOptions.cjs +13 -43
  149. package/src/components/docker/options/image/ImageImportOptions.mjs +12 -42
  150. package/src/components/docker/options/image/ImagePullOptions.cjs +9 -39
  151. package/src/components/docker/options/image/ImagePullOptions.mjs +16 -46
  152. package/src/components/docker/options/image/ImagePushOptions.cjs +15 -45
  153. package/src/components/docker/options/image/ImagePushOptions.mjs +15 -45
  154. package/src/components/docker/options/image/ImageRemoveOptions.cjs +12 -42
  155. package/src/components/docker/options/image/ImageRemoveOptions.mjs +13 -43
  156. package/src/components/docker/options/image/ImageTagOptions.cjs +9 -39
  157. package/src/components/docker/options/image/ImageTagOptions.mjs +12 -42
  158. package/src/components/docker/options/network/NetworkCreateOptions.cjs +9 -39
  159. package/src/components/docker/options/network/NetworkCreateOptions.mjs +20 -50
  160. package/src/components/docker/types/ContainerBind.cjs +1 -1
  161. package/src/components/docker/types/ContainerBind.mjs +1 -1
  162. package/src/components/docker/types/ContainerCapability.cjs +1 -1
  163. package/src/components/docker/types/ContainerCapability.mjs +1 -1
  164. package/src/components/docker/types/ContainerConfig.cjs +1 -1
  165. package/src/components/docker/types/ContainerConfig.mjs +1 -1
  166. package/src/components/docker/types/ContainerDevice.cjs +1 -1
  167. package/src/components/docker/types/ContainerDevice.mjs +1 -1
  168. package/src/components/docker/types/ContainerNetwork.cjs +1 -1
  169. package/src/components/docker/types/ContainerNetwork.mjs +1 -1
  170. package/src/components/docker/types/ContainerPort.cjs +1 -1
  171. package/src/components/docker/types/ContainerPort.mjs +1 -1
  172. package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
  173. package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
  174. package/src/components/docker/types/ContainerState.cjs +1 -1
  175. package/src/components/docker/types/ContainerState.mjs +1 -1
  176. package/src/components/docker/types/ContainerStats.cjs +1 -1
  177. package/src/components/docker/types/ContainerStats.mjs +1 -1
  178. package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
  179. package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
  180. package/src/components/docker/types/ImageConfig.cjs +1 -1
  181. package/src/components/docker/types/ImageConfig.mjs +1 -1
  182. package/src/components/docker/types/ImageExposePort.cjs +1 -1
  183. package/src/components/docker/types/ImageExposePort.mjs +1 -1
  184. package/src/components/docker/types/NetworkInfo.cjs +1 -1
  185. package/src/components/docker/types/NetworkInfo.mjs +1 -1
  186. package/src/components/entrypoint/Entrypoint.cjs +1961 -322
  187. package/src/components/entrypoint/Entrypoint.mjs +1928 -281
  188. package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -6
  189. package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -6
  190. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -6
  191. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -6
  192. package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -6
  193. package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -6
  194. package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -6
  195. package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -6
  196. package/src/components/entrypoint/lib/AccessControl.cjs +71 -133
  197. package/src/components/entrypoint/lib/AccessControl.mjs +75 -137
  198. package/src/components/entrypoint/lib/AccessControlRule.cjs +19 -81
  199. package/src/components/entrypoint/lib/AccessControlRule.mjs +23 -85
  200. package/src/components/entrypoint/lib/Controller.cjs +42 -104
  201. package/src/components/entrypoint/lib/Controller.mjs +43 -105
  202. package/src/components/monitor/AliveMonitor.cjs +40 -104
  203. package/src/components/monitor/AliveMonitor.mjs +50 -114
  204. package/src/components/monitor/CpuMonitor.cjs +40 -104
  205. package/src/components/monitor/CpuMonitor.mjs +48 -112
  206. package/src/components/monitor/EventLoopMonitor.cjs +19 -83
  207. package/src/components/monitor/EventLoopMonitor.mjs +24 -88
  208. package/src/components/monitor/HttpRequestMonitor.cjs +41 -105
  209. package/src/components/monitor/HttpRequestMonitor.mjs +45 -109
  210. package/src/components/monitor/MemoryMonitor.cjs +87 -151
  211. package/src/components/monitor/MemoryMonitor.mjs +71 -135
  212. package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
  213. package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
  214. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
  215. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
  216. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
  217. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
  218. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
  219. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
  220. package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
  221. package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
  222. package/src/constants/DIMetadataKey.cjs +3 -3
  223. package/src/constants/DIMetadataKey.mjs +3 -3
  224. package/src/constants/DTOMetadataKey.cjs +3 -3
  225. package/src/constants/DTOMetadataKey.mjs +3 -3
  226. package/src/decorators/asst/After.cjs +4 -6
  227. package/src/decorators/asst/After.mjs +5 -7
  228. package/src/decorators/asst/Before.cjs +4 -6
  229. package/src/decorators/asst/Before.mjs +5 -7
  230. package/src/decorators/ctrl/CLIAction.cjs +15 -51
  231. package/src/decorators/ctrl/CLIAction.mjs +19 -55
  232. package/src/decorators/ctrl/HTTPAction.cjs +15 -51
  233. package/src/decorators/ctrl/HTTPAction.mjs +19 -55
  234. package/src/decorators/ctrl/ServiceAction.cjs +15 -51
  235. package/src/decorators/ctrl/ServiceAction.mjs +18 -54
  236. package/src/decorators/ctrl/http/DELETE.cjs +12 -48
  237. package/src/decorators/ctrl/http/DELETE.mjs +14 -50
  238. package/src/decorators/ctrl/http/GET.cjs +12 -48
  239. package/src/decorators/ctrl/http/GET.mjs +14 -50
  240. package/src/decorators/ctrl/http/HEAD.cjs +12 -48
  241. package/src/decorators/ctrl/http/HEAD.mjs +14 -50
  242. package/src/decorators/ctrl/http/OPTIONS.cjs +12 -48
  243. package/src/decorators/ctrl/http/OPTIONS.mjs +14 -50
  244. package/src/decorators/ctrl/http/PATCH.cjs +12 -48
  245. package/src/decorators/ctrl/http/PATCH.mjs +14 -50
  246. package/src/decorators/ctrl/http/POST.cjs +12 -48
  247. package/src/decorators/ctrl/http/POST.mjs +14 -50
  248. package/src/decorators/ctrl/http/PUT.cjs +12 -48
  249. package/src/decorators/ctrl/http/PUT.mjs +14 -50
  250. package/src/decorators/di/Autoload.cjs +3 -3
  251. package/src/decorators/di/Autoload.mjs +3 -3
  252. package/src/decorators/di/Configurable.cjs +10 -40
  253. package/src/decorators/di/Configurable.mjs +12 -42
  254. package/src/decorators/di/Inject.cjs +20 -50
  255. package/src/decorators/di/Inject.mjs +25 -55
  256. package/src/decorators/di/Lifetime.cjs +5 -7
  257. package/src/decorators/di/Lifetime.mjs +15 -17
  258. package/src/decorators/dto/Accept.cjs +10 -40
  259. package/src/decorators/dto/Accept.mjs +13 -43
  260. package/src/decorators/dto/Expect.cjs +11 -41
  261. package/src/decorators/dto/Expect.mjs +13 -43
  262. package/src/decorators/dto/IndexSignature.cjs +10 -40
  263. package/src/decorators/dto/IndexSignature.mjs +13 -43
  264. package/src/decorators/dto/Return.cjs +10 -40
  265. package/src/decorators/dto/Return.mjs +13 -43
  266. package/src/decorators/orm/AfterInsert.cjs +17 -95
  267. package/src/decorators/orm/AfterInsert.mjs +17 -95
  268. package/src/decorators/orm/AfterLoad.cjs +17 -95
  269. package/src/decorators/orm/AfterLoad.mjs +17 -95
  270. package/src/decorators/orm/AfterRecover.cjs +17 -95
  271. package/src/decorators/orm/AfterRecover.mjs +17 -95
  272. package/src/decorators/orm/AfterRemove.cjs +17 -95
  273. package/src/decorators/orm/AfterRemove.mjs +17 -95
  274. package/src/decorators/orm/AfterSoftRemove.cjs +17 -95
  275. package/src/decorators/orm/AfterSoftRemove.mjs +17 -95
  276. package/src/decorators/orm/AfterUpdate.cjs +17 -95
  277. package/src/decorators/orm/AfterUpdate.mjs +17 -95
  278. package/src/decorators/orm/BeforeInsert.cjs +17 -95
  279. package/src/decorators/orm/BeforeInsert.mjs +17 -95
  280. package/src/decorators/orm/BeforeRecover.cjs +17 -95
  281. package/src/decorators/orm/BeforeRecover.mjs +17 -95
  282. package/src/decorators/orm/BeforeRemove.cjs +17 -95
  283. package/src/decorators/orm/BeforeRemove.mjs +17 -95
  284. package/src/decorators/orm/BeforeSoftRemove.cjs +17 -95
  285. package/src/decorators/orm/BeforeSoftRemove.mjs +17 -95
  286. package/src/decorators/orm/BeforeUpdate.cjs +17 -95
  287. package/src/decorators/orm/BeforeUpdate.mjs +17 -95
  288. package/src/decorators/orm/Check.cjs +17 -95
  289. package/src/decorators/orm/Check.mjs +17 -95
  290. package/src/decorators/orm/ChildEntity.cjs +17 -95
  291. package/src/decorators/orm/ChildEntity.mjs +17 -95
  292. package/src/decorators/orm/Column.cjs +17 -95
  293. package/src/decorators/orm/Column.mjs +17 -95
  294. package/src/decorators/orm/CreateDateColumn.cjs +17 -95
  295. package/src/decorators/orm/CreateDateColumn.mjs +17 -95
  296. package/src/decorators/orm/DeleteDateColumn.cjs +17 -95
  297. package/src/decorators/orm/DeleteDateColumn.mjs +17 -95
  298. package/src/decorators/orm/Entity.cjs +17 -95
  299. package/src/decorators/orm/Entity.mjs +17 -95
  300. package/src/decorators/orm/EventSubscriber.cjs +17 -95
  301. package/src/decorators/orm/EventSubscriber.mjs +17 -95
  302. package/src/decorators/orm/Exclusion.cjs +17 -95
  303. package/src/decorators/orm/Exclusion.mjs +17 -95
  304. package/src/decorators/orm/Generated.cjs +17 -95
  305. package/src/decorators/orm/Generated.mjs +17 -95
  306. package/src/decorators/orm/Index.cjs +17 -95
  307. package/src/decorators/orm/Index.mjs +17 -95
  308. package/src/decorators/orm/JoinColumn.cjs +17 -95
  309. package/src/decorators/orm/JoinColumn.mjs +17 -95
  310. package/src/decorators/orm/JoinTable.cjs +17 -95
  311. package/src/decorators/orm/JoinTable.mjs +17 -95
  312. package/src/decorators/orm/ManyToMany.cjs +17 -95
  313. package/src/decorators/orm/ManyToMany.mjs +17 -95
  314. package/src/decorators/orm/ManyToOne.cjs +17 -95
  315. package/src/decorators/orm/ManyToOne.mjs +17 -95
  316. package/src/decorators/orm/ObjectIdColumn.cjs +17 -95
  317. package/src/decorators/orm/ObjectIdColumn.mjs +17 -95
  318. package/src/decorators/orm/OneToMany.cjs +17 -95
  319. package/src/decorators/orm/OneToMany.mjs +17 -95
  320. package/src/decorators/orm/OneToOne.cjs +17 -95
  321. package/src/decorators/orm/OneToOne.mjs +17 -95
  322. package/src/decorators/orm/PrimaryColumn.cjs +17 -95
  323. package/src/decorators/orm/PrimaryColumn.mjs +17 -95
  324. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +17 -95
  325. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +17 -95
  326. package/src/decorators/orm/RelationId.cjs +17 -95
  327. package/src/decorators/orm/RelationId.mjs +17 -95
  328. package/src/decorators/orm/TableInheritance.cjs +17 -95
  329. package/src/decorators/orm/TableInheritance.mjs +17 -95
  330. package/src/decorators/orm/Tree.cjs +17 -95
  331. package/src/decorators/orm/Tree.mjs +17 -95
  332. package/src/decorators/orm/TreeChildren.cjs +17 -95
  333. package/src/decorators/orm/TreeChildren.mjs +17 -95
  334. package/src/decorators/orm/TreeLevelColumn.cjs +17 -95
  335. package/src/decorators/orm/TreeLevelColumn.mjs +17 -95
  336. package/src/decorators/orm/TreeParent.cjs +17 -95
  337. package/src/decorators/orm/TreeParent.mjs +17 -95
  338. package/src/decorators/orm/Unique.cjs +17 -95
  339. package/src/decorators/orm/Unique.mjs +17 -95
  340. package/src/decorators/orm/UpdateDateColumn.cjs +17 -95
  341. package/src/decorators/orm/UpdateDateColumn.mjs +17 -95
  342. package/src/decorators/orm/VersionColumn.cjs +17 -95
  343. package/src/decorators/orm/VersionColumn.mjs +17 -95
  344. package/src/decorators/orm/ViewColumn.cjs +17 -95
  345. package/src/decorators/orm/ViewColumn.mjs +17 -95
  346. package/src/decorators/orm/ViewEntity.cjs +17 -95
  347. package/src/decorators/orm/ViewEntity.mjs +17 -95
  348. package/src/decorators/orm/VirtualColumn.cjs +17 -95
  349. package/src/decorators/orm/VirtualColumn.mjs +17 -95
  350. package/src/dto/PaginationResultDTO.cjs +9 -39
  351. package/src/dto/PaginationResultDTO.mjs +18 -48
  352. package/src/dto/PaginationSearchDTO.cjs +9 -39
  353. package/src/dto/PaginationSearchDTO.mjs +13 -43
  354. package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -6
  355. package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -6
  356. package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -6
  357. package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -6
  358. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -6
  359. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -6
  360. package/src/exceptions/InvalidObjectTypeException.cjs +4 -6
  361. package/src/exceptions/InvalidObjectTypeException.mjs +4 -6
  362. package/src/exceptions/MethodNotFoundException.cjs +4 -6
  363. package/src/exceptions/MethodNotFoundException.mjs +4 -6
  364. package/src/exceptions/alias/AliasExistsException.cjs +4 -6
  365. package/src/exceptions/alias/AliasExistsException.mjs +6 -8
  366. package/src/exceptions/alias/AliasNotFoundException.cjs +4 -6
  367. package/src/exceptions/alias/AliasNotFoundException.mjs +4 -6
  368. package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -6
  369. package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -6
  370. package/src/exceptions/di/DependencyInjectionException.cjs +4 -6
  371. package/src/exceptions/di/DependencyInjectionException.mjs +4 -6
  372. package/src/exceptions/di/LifetimeLockedException.cjs +4 -6
  373. package/src/exceptions/di/LifetimeLockedException.mjs +4 -6
  374. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -6
  375. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -6
  376. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -6
  377. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -6
  378. package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -6
  379. package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -6
  380. package/src/exceptions/dto/InvalidValueException.cjs +4 -6
  381. package/src/exceptions/dto/InvalidValueException.mjs +4 -6
  382. package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
  383. package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
  384. package/src/interfaces/IConstructor.cjs +1 -1
  385. package/src/interfaces/IConstructor.mjs +1 -1
  386. package/src/interfaces/IPatRun.cjs +1 -1
  387. package/src/interfaces/IPatRun.mjs +1 -1
  388. package/src/lib/base/BaseObject.cjs +51 -259
  389. package/src/lib/base/BaseObject.mjs +41 -256
  390. package/src/lib/base/Context.cjs +11 -41
  391. package/src/lib/base/Context.mjs +23 -53
  392. package/src/lib/base/EventEmitter.cjs +1398 -47
  393. package/src/lib/base/EventEmitter.mjs +1397 -46
  394. package/src/lib/base/abstracts/Exception.cjs +12 -14
  395. package/src/lib/base/abstracts/Exception.mjs +4 -6
  396. package/src/lib/base/async-constructor/Append.cjs +1 -1
  397. package/src/lib/base/async-constructor/Append.mjs +1 -1
  398. package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
  399. package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
  400. package/src/lib/base/internal/ActionOptions.cjs +9 -39
  401. package/src/lib/base/internal/ActionOptions.mjs +9 -39
  402. package/src/lib/base/internal/ApplicationConfigLoader.cjs +54 -116
  403. package/src/lib/base/internal/ApplicationConfigLoader.mjs +54 -116
  404. package/src/lib/base/internal/BasicInfo.cjs +13 -15
  405. package/src/lib/base/internal/BasicInfo.mjs +15 -17
  406. package/src/lib/base/internal/CamelCase.cjs +1 -1
  407. package/src/lib/base/internal/CamelCase.mjs +1 -1
  408. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +3 -3
  409. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +3 -3
  410. package/src/lib/base/internal/ConstructorSymbol.cjs +3 -3
  411. package/src/lib/base/internal/ConstructorSymbol.mjs +3 -3
  412. package/src/lib/base/internal/ControllerEntrypoint.cjs +16 -24
  413. package/src/lib/base/internal/ControllerEntrypoint.mjs +39 -47
  414. package/src/lib/base/internal/DataValidator.cjs +203 -27
  415. package/src/lib/base/internal/DataValidator.mjs +203 -27
  416. package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
  417. package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
  418. package/src/lib/base/internal/FlexibleDTO.cjs +11 -41
  419. package/src/lib/base/internal/FlexibleDTO.mjs +13 -43
  420. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +21 -51
  421. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +23 -53
  422. package/src/lib/base/internal/IEEE754.cjs +1 -1
  423. package/src/lib/base/internal/IEEE754.mjs +1 -1
  424. package/src/lib/base/internal/MethodAssistantFunction.cjs +15 -17
  425. package/src/lib/base/internal/MethodAssistantFunction.mjs +8 -10
  426. package/src/lib/base/internal/MethodValidation.cjs +55 -85
  427. package/src/lib/base/internal/MethodValidation.mjs +42 -72
  428. package/src/lib/base/internal/ModuleConfigLoader.cjs +81 -143
  429. package/src/lib/base/internal/ModuleConfigLoader.mjs +76 -138
  430. package/src/lib/base/internal/ObjectConfiguration.cjs +26 -56
  431. package/src/lib/base/internal/ObjectConfiguration.mjs +25 -55
  432. package/src/lib/base/internal/ObjectContainer.cjs +3 -3
  433. package/src/lib/base/internal/ObjectContainer.mjs +3 -3
  434. package/src/lib/base/internal/ObjectInjection.cjs +3 -3
  435. package/src/lib/base/internal/ObjectInjection.mjs +3 -3
  436. package/src/lib/base/internal/ObjectLifetime.cjs +5 -7
  437. package/src/lib/base/internal/ObjectLifetime.mjs +12 -14
  438. package/src/lib/base/internal/ObjectSchemaValidation.cjs +23 -121
  439. package/src/lib/base/internal/ObjectSchemaValidation.mjs +14 -114
  440. package/src/lib/base/internal/ObjectType.cjs +27 -119
  441. package/src/lib/base/internal/ObjectType.mjs +20 -119
  442. package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
  443. package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
  444. package/src/lib/base/internal/PatternManager.cjs +831 -7
  445. package/src/lib/base/internal/PatternManager.mjs +835 -11
  446. package/src/lib/base/internal/StringifyPattern.cjs +5 -9
  447. package/src/lib/base/internal/StringifyPattern.mjs +5 -9
  448. package/src/lib/base/internal/ThrowWarning.cjs +1 -1
  449. package/src/lib/base/internal/ThrowWarning.mjs +1 -1
  450. package/src/lib/context/CLIContext.cjs +12 -42
  451. package/src/lib/context/CLIContext.mjs +15 -45
  452. package/src/lib/context/HTTPContext.cjs +15 -45
  453. package/src/lib/context/HTTPContext.mjs +14 -44
  454. package/src/lib/context/ServiceContext.cjs +12 -42
  455. package/src/lib/context/ServiceContext.mjs +18 -48
  456. package/src/lib/core/Alias.cjs +46 -48
  457. package/src/lib/core/Alias.mjs +24 -26
  458. package/src/lib/core/Application.cjs +486 -351
  459. package/src/lib/core/Application.mjs +531 -400
  460. package/src/lib/core/Component.cjs +24 -88
  461. package/src/lib/core/Component.mjs +28 -92
  462. package/src/lib/core/Container.cjs +50 -326
  463. package/src/lib/core/Container.mjs +45 -323
  464. package/src/lib/core/DTO.cjs +16 -194
  465. package/src/lib/core/DTO.mjs +12 -197
  466. package/src/lib/core/Module.cjs +39 -107
  467. package/src/lib/core/Module.mjs +53 -121
  468. package/src/lib/core/Provider.cjs +19 -81
  469. package/src/lib/core/Provider.mjs +25 -87
  470. package/src/lib/core/Time.cjs +5 -7
  471. package/src/lib/core/Time.mjs +5 -7
  472. package/src/lib/helpers/ArrayToSet.cjs +1 -1
  473. package/src/lib/helpers/ArrayToSet.mjs +1 -1
  474. package/src/lib/helpers/As.cjs +1 -1
  475. package/src/lib/helpers/As.mjs +1 -1
  476. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
  477. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
  478. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
  479. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
  480. package/src/lib/helpers/Delay.cjs +1 -1
  481. package/src/lib/helpers/Delay.mjs +1 -1
  482. package/src/lib/helpers/DevNull.cjs +1 -1
  483. package/src/lib/helpers/DevNull.mjs +1 -1
  484. package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
  485. package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
  486. package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
  487. package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
  488. package/src/lib/helpers/Glob.cjs +5502 -17
  489. package/src/lib/helpers/Glob.mjs +5472 -17
  490. package/src/lib/helpers/GraceExit.cjs +1 -1
  491. package/src/lib/helpers/GraceExit.mjs +1 -1
  492. package/src/lib/helpers/HexToIEEE754.cjs +1 -1
  493. package/src/lib/helpers/HexToIEEE754.mjs +1 -1
  494. package/src/lib/helpers/HexToSigned.cjs +1 -1
  495. package/src/lib/helpers/HexToSigned.mjs +1 -1
  496. package/src/lib/helpers/HexToUnsigned.cjs +1 -1
  497. package/src/lib/helpers/HexToUnsigned.mjs +1 -1
  498. package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
  499. package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
  500. package/src/lib/helpers/IPToolkit.cjs +1 -1
  501. package/src/lib/helpers/IPToolkit.mjs +1 -1
  502. package/src/lib/helpers/IsAbortError.cjs +1 -1
  503. package/src/lib/helpers/IsAbortError.mjs +1 -1
  504. package/src/lib/helpers/IsEmptyObject.cjs +1 -1
  505. package/src/lib/helpers/IsEmptyObject.mjs +1 -1
  506. package/src/lib/helpers/IsExists.cjs +1 -1
  507. package/src/lib/helpers/IsExists.mjs +1 -1
  508. package/src/lib/helpers/IsGlobString.cjs +4 -10
  509. package/src/lib/helpers/IsGlobString.mjs +3 -11
  510. package/src/lib/helpers/IsHtml.cjs +5 -5
  511. package/src/lib/helpers/IsHtml.mjs +6 -6
  512. package/src/lib/helpers/IsNativeFunction.cjs +1 -1
  513. package/src/lib/helpers/IsNativeFunction.mjs +1 -1
  514. package/src/lib/helpers/IsPath.cjs +1 -1
  515. package/src/lib/helpers/IsPath.mjs +1 -1
  516. package/src/lib/helpers/IsPromise.cjs +1 -1
  517. package/src/lib/helpers/IsPromise.mjs +1 -1
  518. package/src/lib/helpers/IsPromiseLike.cjs +1 -1
  519. package/src/lib/helpers/IsPromiseLike.mjs +1 -1
  520. package/src/lib/helpers/IsSymbol.cjs +10 -44
  521. package/src/lib/helpers/IsSymbol.mjs +9 -45
  522. package/src/lib/helpers/IsXML.cjs +1711 -6
  523. package/src/lib/helpers/IsXML.mjs +1712 -7
  524. package/src/lib/helpers/MD5.cjs +4 -4
  525. package/src/lib/helpers/MD5.mjs +4 -4
  526. package/src/lib/helpers/MergeArray.cjs +1 -1
  527. package/src/lib/helpers/MergeArray.mjs +1 -1
  528. package/src/lib/helpers/MergeMap.cjs +1 -1
  529. package/src/lib/helpers/MergeMap.mjs +1 -1
  530. package/src/lib/helpers/MergeSet.cjs +1 -1
  531. package/src/lib/helpers/MergeSet.mjs +1 -1
  532. package/src/lib/helpers/NoCase.cjs +1 -1
  533. package/src/lib/helpers/NoCase.mjs +1 -1
  534. package/src/lib/helpers/NonceStr.cjs +2 -6
  535. package/src/lib/helpers/NonceStr.mjs +4 -8
  536. package/src/lib/helpers/ObjectConstructor.cjs +1 -1
  537. package/src/lib/helpers/ObjectConstructor.mjs +1 -1
  538. package/src/lib/helpers/ObjectHash.cjs +405 -7
  539. package/src/lib/helpers/ObjectHash.mjs +399 -7
  540. package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
  541. package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
  542. package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
  543. package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
  544. package/src/lib/helpers/ObjectPath.cjs +1 -1
  545. package/src/lib/helpers/ObjectPath.mjs +1 -1
  546. package/src/lib/helpers/ObjectPrototype.cjs +1 -1
  547. package/src/lib/helpers/ObjectPrototype.mjs +1 -1
  548. package/src/lib/helpers/ObjectToMap.cjs +1 -1
  549. package/src/lib/helpers/ObjectToMap.mjs +1 -1
  550. package/src/lib/helpers/Paginator.cjs +1 -1
  551. package/src/lib/helpers/Paginator.mjs +1 -1
  552. package/src/lib/helpers/RandomString.cjs +172 -11
  553. package/src/lib/helpers/RandomString.mjs +166 -11
  554. package/src/lib/helpers/SHA1.cjs +4 -4
  555. package/src/lib/helpers/SHA1.mjs +4 -4
  556. package/src/lib/helpers/SHA256.cjs +4 -4
  557. package/src/lib/helpers/SHA256.mjs +4 -4
  558. package/src/lib/helpers/SetToArray.cjs +1 -1
  559. package/src/lib/helpers/SetToArray.mjs +1 -1
  560. package/src/lib/helpers/SignedToHex.cjs +1 -1
  561. package/src/lib/helpers/SignedToHex.mjs +1 -1
  562. package/src/lib/helpers/SortArray.cjs +2 -6
  563. package/src/lib/helpers/SortArray.mjs +7 -11
  564. package/src/lib/helpers/SortKeys.cjs +1 -1
  565. package/src/lib/helpers/SortKeys.mjs +1 -1
  566. package/src/lib/helpers/SortObject.cjs +1 -1
  567. package/src/lib/helpers/SortObject.mjs +1 -1
  568. package/src/lib/helpers/Statistics.cjs +2 -2
  569. package/src/lib/helpers/Statistics.mjs +2 -2
  570. package/src/lib/helpers/Templating.cjs +1 -1
  571. package/src/lib/helpers/Templating.mjs +1 -1
  572. package/src/lib/helpers/URLBuilder.cjs +417 -38
  573. package/src/lib/helpers/URLBuilder.mjs +417 -38
  574. package/src/lib/helpers/UUID.cjs +340 -22
  575. package/src/lib/helpers/UUID.mjs +340 -22
  576. package/src/lib/helpers/UniqueArray.cjs +1 -1
  577. package/src/lib/helpers/UniqueArray.mjs +1 -1
  578. package/src/lib/helpers/UnsignedToHex.cjs +1 -1
  579. package/src/lib/helpers/UnsignedToHex.mjs +1 -1
  580. package/src/lib/ioc/DependencyInjectionContainer.cjs +145 -197
  581. package/src/lib/ioc/DependencyInjectionContainer.mjs +102 -154
  582. package/src/lib/ioc/Errors.cjs +27 -57
  583. package/src/lib/ioc/Errors.mjs +25 -55
  584. package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
  585. package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
  586. package/src/lib/ioc/InjectionMode.cjs +1 -1
  587. package/src/lib/ioc/InjectionMode.mjs +1 -1
  588. package/src/lib/ioc/Lifetime.cjs +1 -1
  589. package/src/lib/ioc/Lifetime.mjs +1 -1
  590. package/src/lib/ioc/ListModules.cjs +5811 -99
  591. package/src/lib/ioc/ListModules.mjs +5779 -79
  592. package/src/lib/ioc/LoadModules.cjs +63 -93
  593. package/src/lib/ioc/LoadModules.mjs +65 -95
  594. package/src/lib/ioc/ParamParser.cjs +1 -1
  595. package/src/lib/ioc/ParamParser.mjs +1 -1
  596. package/src/lib/ioc/Resolvers.cjs +42 -72
  597. package/src/lib/ioc/Resolvers.mjs +44 -74
  598. package/src/lib/ioc/Utils.cjs +28 -58
  599. package/src/lib/ioc/Utils.mjs +34 -64
  600. package/src/lib/validation/VLD.cjs +11342 -98
  601. package/src/lib/validation/VLD.mjs +11298 -80
  602. package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
  603. package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
  604. package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
  605. package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
  606. package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
  607. package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
  608. package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
  609. package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
  610. package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
  611. package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
  612. package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
  613. package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
  614. package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
  615. package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
  616. package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
  617. package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
  618. package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
  619. package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
  620. package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
  621. package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
  622. package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
  623. package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
  624. package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
  625. package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
  626. package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
  627. package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
  628. package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
  629. package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
  630. package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
  631. package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
  632. package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
  633. package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
  634. package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
  635. package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
  636. package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
  637. package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
  638. package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
  639. package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
  640. package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
  641. package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
  642. package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
  643. package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
  644. package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
  645. package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
  646. package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
  647. package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
  648. package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
  649. package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
  650. package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
  651. package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
  652. package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
  653. package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
  654. package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
  655. package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
  656. package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
  657. package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
  658. package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
  659. package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
  660. package/src/lib/validation/interfaces/Reference.cjs +1 -1
  661. package/src/lib/validation/interfaces/Reference.mjs +1 -1
  662. package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
  663. package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
  664. package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
  665. package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
  666. package/src/lib/validation/interfaces/State.cjs +1 -1
  667. package/src/lib/validation/interfaces/State.mjs +1 -1
  668. package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
  669. package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
  670. package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
  671. package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
  672. package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
  673. package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
  674. package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
  675. package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
  676. package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
  677. package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
  678. package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
  679. package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
  680. package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
  681. package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
  682. package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
  683. package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
  684. package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
  685. package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
  686. package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
  687. package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
  688. package/src/lib/validation/types/CustomValidator.cjs +1 -1
  689. package/src/lib/validation/types/CustomValidator.mjs +1 -1
  690. package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
  691. package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
  692. package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
  693. package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
  694. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
  695. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
  696. package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
  697. package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
  698. package/src/lib/validation/types/IsUnion.cjs +1 -1
  699. package/src/lib/validation/types/IsUnion.mjs +1 -1
  700. package/src/lib/validation/types/LanguageMessages.cjs +1 -1
  701. package/src/lib/validation/types/LanguageMessages.mjs +1 -1
  702. package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
  703. package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
  704. package/src/lib/validation/types/NullableType.cjs +1 -1
  705. package/src/lib/validation/types/NullableType.mjs +1 -1
  706. package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
  707. package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
  708. package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
  709. package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
  710. package/src/lib/validation/types/PresenceMode.cjs +1 -1
  711. package/src/lib/validation/types/PresenceMode.mjs +1 -1
  712. package/src/lib/validation/types/Primitives.cjs +1 -1
  713. package/src/lib/validation/types/Primitives.mjs +1 -1
  714. package/src/lib/validation/types/Schema.cjs +1 -1
  715. package/src/lib/validation/types/Schema.mjs +1 -1
  716. package/src/lib/validation/types/SchemaFunction.cjs +1 -1
  717. package/src/lib/validation/types/SchemaFunction.mjs +1 -1
  718. package/src/lib/validation/types/SchemaLike.cjs +1 -1
  719. package/src/lib/validation/types/SchemaLike.mjs +1 -1
  720. package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
  721. package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
  722. package/src/lib/validation/types/SchemaMap.cjs +1 -1
  723. package/src/lib/validation/types/SchemaMap.mjs +1 -1
  724. package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
  725. package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
  726. package/src/lib/validation/types/Types.cjs +1 -1
  727. package/src/lib/validation/types/Types.mjs +1 -1
  728. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
  729. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
  730. package/src/options/ApplicationOptions.cjs +22 -84
  731. package/src/options/ApplicationOptions.mjs +25 -87
  732. package/src/options/LoadAnonymousObjectOptions.cjs +20 -82
  733. package/src/options/LoadAnonymousObjectOptions.mjs +22 -84
  734. package/src/options/LoadNamedObjectOptions.cjs +20 -82
  735. package/src/options/LoadNamedObjectOptions.mjs +22 -84
  736. package/src/options/LoadObjectOptions.cjs +23 -96
  737. package/src/options/LoadObjectOptions.mjs +18 -98
  738. package/src/options/ModuleLoadObjectsOptions.cjs +20 -82
  739. package/src/options/ModuleLoadObjectsOptions.mjs +20 -82
  740. package/src/options/ModuleOptions.cjs +26 -88
  741. package/src/options/ModuleOptions.mjs +25 -87
  742. package/src/options/OverridableNamedObjectOptions.cjs +20 -82
  743. package/src/options/OverridableNamedObjectOptions.mjs +23 -85
  744. package/src/options/OverridableObjectOptions.cjs +20 -82
  745. package/src/options/OverridableObjectOptions.mjs +22 -84
  746. package/src/providers/Database.cjs +41 -181
  747. package/src/providers/Database.mjs +74 -214
  748. package/src/providers/PasswordHash.cjs +541 -89
  749. package/src/providers/PasswordHash.mjs +535 -89
  750. package/src/providers/migration/GenerateMigration.cjs +37 -389
  751. package/src/providers/migration/GenerateMigration.mjs +33 -386
  752. package/src/types/ActionPattern.cjs +1 -1
  753. package/src/types/ActionPattern.mjs +1 -1
  754. package/src/types/ClassDecorator.cjs +1 -1
  755. package/src/types/ClassDecorator.mjs +1 -1
  756. package/src/types/ComponentOptions.cjs +1 -1
  757. package/src/types/ComponentOptions.mjs +1 -1
  758. package/src/types/JSONSchema.cjs +1 -1
  759. package/src/types/JSONSchema.mjs +1 -1
  760. package/src/types/MethodDecorator.cjs +1 -1
  761. package/src/types/MethodDecorator.mjs +1 -1
  762. package/src/types/ModuleOptions.cjs +1 -1
  763. package/src/types/ModuleOptions.mjs +1 -1
  764. package/src/types/ObjectOptions.cjs +1 -1
  765. package/src/types/ObjectOptions.mjs +1 -1
  766. package/src/types/ParameterDecorator.cjs +1 -1
  767. package/src/types/ParameterDecorator.mjs +1 -1
  768. package/src/types/PropertyDecorator.cjs +1 -1
  769. package/src/types/PropertyDecorator.mjs +1 -1
  770. package/src/types/ProviderOptions.cjs +1 -1
  771. package/src/types/ProviderOptions.mjs +1 -1
  772. package/vendor/Package.internal.1.cjs +938 -206
  773. package/vendor/Package.internal.1.mjs +938 -202
  774. package/vendor/Package.internal.10.cjs +17 -227
  775. package/vendor/Package.internal.10.mjs +18 -226
  776. package/vendor/Package.internal.11.cjs +15 -1608
  777. package/vendor/Package.internal.11.mjs +16 -1579
  778. package/vendor/Package.internal.12.cjs +13 -12547
  779. package/vendor/Package.internal.12.mjs +14 -12530
  780. package/vendor/Package.internal.13.cjs +22 -357
  781. package/vendor/Package.internal.13.mjs +23 -358
  782. package/vendor/Package.internal.14.cjs +17 -786
  783. package/vendor/Package.internal.14.mjs +18 -787
  784. package/vendor/Package.internal.15.cjs +18 -72
  785. package/vendor/Package.internal.15.mjs +19 -71
  786. package/vendor/Package.internal.16.cjs +13 -977
  787. package/vendor/Package.internal.16.mjs +14 -966
  788. package/vendor/Package.internal.17.cjs +19 -43
  789. package/vendor/Package.internal.17.mjs +20 -44
  790. package/vendor/Package.internal.18.cjs +16 -262
  791. package/vendor/Package.internal.18.mjs +17 -263
  792. package/vendor/Package.internal.19.cjs +16 -428
  793. package/vendor/Package.internal.19.mjs +17 -429
  794. package/vendor/Package.internal.2.cjs +29 -86
  795. package/vendor/Package.internal.2.mjs +30 -83
  796. package/vendor/Package.internal.20.cjs +18 -556
  797. package/vendor/Package.internal.20.mjs +19 -551
  798. package/vendor/Package.internal.21.cjs +19 -400
  799. package/vendor/Package.internal.21.mjs +20 -401
  800. package/vendor/Package.internal.22.cjs +56 -913
  801. package/vendor/Package.internal.22.mjs +57 -908
  802. package/vendor/Package.internal.23.cjs +15 -218
  803. package/vendor/Package.internal.23.mjs +17 -220
  804. package/vendor/Package.internal.24.cjs +16 -990
  805. package/vendor/Package.internal.24.mjs +17 -991
  806. package/vendor/Package.internal.25.cjs +32 -9
  807. package/vendor/Package.internal.25.mjs +33 -8
  808. package/vendor/Package.internal.26.cjs +15 -121
  809. package/vendor/Package.internal.26.mjs +16 -120
  810. package/vendor/Package.internal.27.cjs +18 -139
  811. package/vendor/Package.internal.27.mjs +19 -138
  812. package/vendor/Package.internal.28.cjs +21 -5
  813. package/vendor/Package.internal.28.mjs +22 -4
  814. package/vendor/Package.internal.29.cjs +36 -19
  815. package/vendor/Package.internal.29.mjs +37 -18
  816. package/vendor/Package.internal.3.cjs +532 -14232
  817. package/vendor/Package.internal.3.mjs +529 -14211
  818. package/vendor/Package.internal.30.cjs +22 -474
  819. package/vendor/Package.internal.30.mjs +23 -469
  820. package/vendor/Package.internal.31.cjs +21 -74
  821. package/vendor/Package.internal.31.mjs +24 -71
  822. package/vendor/Package.internal.310.cjs +10 -0
  823. package/vendor/Package.internal.310.mjs +8 -0
  824. package/vendor/Package.internal.32.cjs +40 -2
  825. package/vendor/Package.internal.32.mjs +42 -2
  826. package/vendor/Package.internal.33.cjs +34 -35
  827. package/vendor/Package.internal.33.mjs +35 -34
  828. package/vendor/Package.internal.34.cjs +20 -21
  829. package/vendor/Package.internal.34.mjs +21 -20
  830. package/vendor/Package.internal.35.cjs +29 -10
  831. package/vendor/Package.internal.35.mjs +30 -9
  832. package/vendor/Package.internal.36.cjs +39 -188
  833. package/vendor/Package.internal.36.mjs +42 -191
  834. package/vendor/Package.internal.37.cjs +43 -59
  835. package/vendor/Package.internal.37.mjs +46 -60
  836. package/vendor/Package.internal.38.cjs +43 -158
  837. package/vendor/Package.internal.38.mjs +44 -159
  838. package/vendor/Package.internal.39.cjs +19 -2070
  839. package/vendor/Package.internal.39.mjs +20 -2065
  840. package/vendor/Package.internal.4.cjs +463 -961
  841. package/vendor/Package.internal.4.mjs +444 -960
  842. package/vendor/Package.internal.40.cjs +16 -512
  843. package/vendor/Package.internal.40.mjs +17 -505
  844. package/vendor/Package.internal.41.cjs +15 -412
  845. package/vendor/Package.internal.41.mjs +16 -407
  846. package/vendor/Package.internal.42.cjs +21 -2356
  847. package/vendor/Package.internal.42.mjs +22 -2345
  848. package/vendor/Package.internal.43.cjs +17 -56
  849. package/vendor/Package.internal.43.mjs +18 -63
  850. package/vendor/Package.internal.44.cjs +25 -146
  851. package/vendor/Package.internal.44.mjs +26 -145
  852. package/vendor/Package.internal.45.cjs +31 -626
  853. package/vendor/Package.internal.45.mjs +33 -628
  854. package/vendor/Package.internal.46.cjs +16 -238
  855. package/vendor/Package.internal.46.mjs +17 -239
  856. package/vendor/Package.internal.47.cjs +16 -220
  857. package/vendor/Package.internal.47.mjs +17 -215
  858. package/vendor/Package.internal.48.cjs +23 -2
  859. package/vendor/Package.internal.48.mjs +25 -2
  860. package/vendor/Package.internal.49.cjs +24 -355
  861. package/vendor/Package.internal.49.mjs +27 -352
  862. package/vendor/Package.internal.5.cjs +4275 -340
  863. package/vendor/Package.internal.5.mjs +4274 -341
  864. package/vendor/Package.internal.50.cjs +30 -30
  865. package/vendor/Package.internal.50.mjs +32 -30
  866. package/vendor/Package.internal.51.cjs +48322 -38
  867. package/vendor/Package.internal.51.mjs +48282 -38
  868. package/vendor/Package.internal.510.cjs +154 -0
  869. package/vendor/Package.internal.510.mjs +142 -0
  870. package/vendor/Package.internal.511.cjs +168 -0
  871. package/vendor/Package.internal.511.mjs +156 -0
  872. package/vendor/Package.internal.512.cjs +6 -0
  873. package/vendor/Package.internal.512.mjs +6 -0
  874. package/vendor/Package.internal.513.cjs +192 -0
  875. package/vendor/Package.internal.513.mjs +180 -0
  876. package/vendor/Package.internal.52.cjs +676 -16
  877. package/vendor/Package.internal.52.mjs +672 -16
  878. package/vendor/{Package.internal.180.cjs → Package.internal.522.cjs} +1 -1
  879. package/vendor/{Package.internal.180.mjs → Package.internal.522.mjs} +2 -2
  880. package/vendor/Package.internal.53.cjs +7094 -63
  881. package/vendor/Package.internal.53.mjs +7067 -60
  882. package/vendor/Package.internal.54.cjs +183 -77
  883. package/vendor/Package.internal.54.mjs +184 -78
  884. package/vendor/Package.internal.542.cjs +171 -0
  885. package/vendor/Package.internal.542.mjs +153 -0
  886. package/vendor/Package.internal.55.cjs +3982 -56
  887. package/vendor/Package.internal.55.mjs +3995 -47
  888. package/vendor/Package.internal.552.cjs +49615 -0
  889. package/vendor/Package.internal.552.mjs +49572 -0
  890. package/vendor/Package.internal.56.cjs +838 -20
  891. package/vendor/Package.internal.56.mjs +839 -19
  892. package/vendor/Package.internal.57.cjs +14762 -322
  893. package/vendor/Package.internal.57.mjs +14740 -325
  894. package/vendor/Package.internal.58.cjs +136 -2
  895. package/vendor/Package.internal.58.mjs +126 -2
  896. package/vendor/Package.internal.59.cjs +323 -188
  897. package/vendor/Package.internal.59.mjs +319 -188
  898. package/vendor/Package.internal.6.cjs +4 -6109
  899. package/vendor/Package.internal.6.mjs +4 -6103
  900. package/vendor/Package.internal.7.cjs +6543 -494
  901. package/vendor/Package.internal.7.mjs +6531 -494
  902. package/vendor/Package.internal.8.cjs +152 -33
  903. package/vendor/Package.internal.8.mjs +152 -31
  904. package/vendor/Package.internal.9.cjs +16 -2160
  905. package/vendor/Package.internal.9.mjs +17 -2133
  906. package/vendor/Package.internal.100.cjs +0 -69
  907. package/vendor/Package.internal.100.mjs +0 -67
  908. package/vendor/Package.internal.101.cjs +0 -123
  909. package/vendor/Package.internal.101.mjs +0 -121
  910. package/vendor/Package.internal.102.cjs +0 -16
  911. package/vendor/Package.internal.102.mjs +0 -8
  912. package/vendor/Package.internal.103.cjs +0 -4
  913. package/vendor/Package.internal.103.mjs +0 -2
  914. package/vendor/Package.internal.104.cjs +0 -4
  915. package/vendor/Package.internal.104.mjs +0 -2
  916. package/vendor/Package.internal.105.cjs +0 -112
  917. package/vendor/Package.internal.105.mjs +0 -98
  918. package/vendor/Package.internal.106.cjs +0 -88
  919. package/vendor/Package.internal.106.mjs +0 -84
  920. package/vendor/Package.internal.107.cjs +0 -58
  921. package/vendor/Package.internal.107.mjs +0 -52
  922. package/vendor/Package.internal.108.cjs +0 -20
  923. package/vendor/Package.internal.108.mjs +0 -18
  924. package/vendor/Package.internal.109.cjs +0 -96
  925. package/vendor/Package.internal.109.mjs +0 -96
  926. package/vendor/Package.internal.110.cjs +0 -113
  927. package/vendor/Package.internal.110.mjs +0 -113
  928. package/vendor/Package.internal.111.cjs +0 -2176
  929. package/vendor/Package.internal.111.mjs +0 -2174
  930. package/vendor/Package.internal.112.cjs +0 -2466
  931. package/vendor/Package.internal.112.mjs +0 -2434
  932. package/vendor/Package.internal.113.cjs +0 -1306
  933. package/vendor/Package.internal.113.mjs +0 -1292
  934. package/vendor/Package.internal.114.cjs +0 -33
  935. package/vendor/Package.internal.114.mjs +0 -31
  936. package/vendor/Package.internal.115.cjs +0 -20
  937. package/vendor/Package.internal.115.mjs +0 -18
  938. package/vendor/Package.internal.116.cjs +0 -21
  939. package/vendor/Package.internal.116.mjs +0 -21
  940. package/vendor/Package.internal.117.cjs +0 -52
  941. package/vendor/Package.internal.117.mjs +0 -52
  942. package/vendor/Package.internal.118.cjs +0 -141
  943. package/vendor/Package.internal.118.mjs +0 -141
  944. package/vendor/Package.internal.119.cjs +0 -2
  945. package/vendor/Package.internal.119.mjs +0 -1
  946. package/vendor/Package.internal.120.cjs +0 -6
  947. package/vendor/Package.internal.120.mjs +0 -4
  948. package/vendor/Package.internal.121.cjs +0 -4
  949. package/vendor/Package.internal.121.mjs +0 -2
  950. package/vendor/Package.internal.122.cjs +0 -4
  951. package/vendor/Package.internal.122.mjs +0 -2
  952. package/vendor/Package.internal.123.cjs +0 -4
  953. package/vendor/Package.internal.123.mjs +0 -2
  954. package/vendor/Package.internal.124.cjs +0 -49
  955. package/vendor/Package.internal.124.mjs +0 -47
  956. package/vendor/Package.internal.125.cjs +0 -14
  957. package/vendor/Package.internal.125.mjs +0 -14
  958. package/vendor/Package.internal.126.cjs +0 -12
  959. package/vendor/Package.internal.126.mjs +0 -12
  960. package/vendor/Package.internal.127.cjs +0 -20
  961. package/vendor/Package.internal.127.mjs +0 -18
  962. package/vendor/Package.internal.128.cjs +0 -118
  963. package/vendor/Package.internal.128.mjs +0 -116
  964. package/vendor/Package.internal.129.cjs +0 -18
  965. package/vendor/Package.internal.129.mjs +0 -16
  966. package/vendor/Package.internal.130.cjs +0 -19
  967. package/vendor/Package.internal.130.mjs +0 -17
  968. package/vendor/Package.internal.131.cjs +0 -8876
  969. package/vendor/Package.internal.131.mjs +0 -8874
  970. package/vendor/Package.internal.132.cjs +0 -899
  971. package/vendor/Package.internal.132.mjs +0 -897
  972. package/vendor/Package.internal.133.cjs +0 -6769
  973. package/vendor/Package.internal.133.mjs +0 -6775
  974. package/vendor/Package.internal.134.cjs +0 -473
  975. package/vendor/Package.internal.134.mjs +0 -459
  976. package/vendor/Package.internal.135.cjs +0 -617
  977. package/vendor/Package.internal.135.mjs +0 -611
  978. package/vendor/Package.internal.136.cjs +0 -97
  979. package/vendor/Package.internal.136.mjs +0 -89
  980. package/vendor/Package.internal.137.cjs +0 -4
  981. package/vendor/Package.internal.137.mjs +0 -2
  982. package/vendor/Package.internal.138.cjs +0 -3753
  983. package/vendor/Package.internal.138.mjs +0 -3751
  984. package/vendor/Package.internal.139.cjs +0 -561
  985. package/vendor/Package.internal.139.mjs +0 -559
  986. package/vendor/Package.internal.140.cjs +0 -4
  987. package/vendor/Package.internal.140.mjs +0 -2
  988. package/vendor/Package.internal.141.cjs +0 -4
  989. package/vendor/Package.internal.141.mjs +0 -2
  990. package/vendor/Package.internal.142.cjs +0 -4
  991. package/vendor/Package.internal.142.mjs +0 -2
  992. package/vendor/Package.internal.143.cjs +0 -4
  993. package/vendor/Package.internal.143.mjs +0 -2
  994. package/vendor/Package.internal.144.cjs +0 -4
  995. package/vendor/Package.internal.144.mjs +0 -2
  996. package/vendor/Package.internal.145.cjs +0 -4
  997. package/vendor/Package.internal.145.mjs +0 -2
  998. package/vendor/Package.internal.146.cjs +0 -4
  999. package/vendor/Package.internal.146.mjs +0 -2
  1000. package/vendor/Package.internal.147.cjs +0 -4
  1001. package/vendor/Package.internal.147.mjs +0 -2
  1002. package/vendor/Package.internal.148.cjs +0 -4
  1003. package/vendor/Package.internal.148.mjs +0 -2
  1004. package/vendor/Package.internal.149.cjs +0 -4
  1005. package/vendor/Package.internal.149.mjs +0 -2
  1006. package/vendor/Package.internal.150.cjs +0 -4
  1007. package/vendor/Package.internal.150.mjs +0 -2
  1008. package/vendor/Package.internal.151.cjs +0 -408
  1009. package/vendor/Package.internal.151.mjs +0 -400
  1010. package/vendor/Package.internal.152.cjs +0 -104
  1011. package/vendor/Package.internal.152.mjs +0 -104
  1012. package/vendor/Package.internal.153.cjs +0 -27
  1013. package/vendor/Package.internal.153.mjs +0 -27
  1014. package/vendor/Package.internal.154.cjs +0 -4
  1015. package/vendor/Package.internal.154.mjs +0 -2
  1016. package/vendor/Package.internal.155.cjs +0 -4
  1017. package/vendor/Package.internal.155.mjs +0 -2
  1018. package/vendor/Package.internal.156.cjs +0 -723
  1019. package/vendor/Package.internal.156.mjs +0 -723
  1020. package/vendor/Package.internal.157.cjs +0 -1548
  1021. package/vendor/Package.internal.157.mjs +0 -1540
  1022. package/vendor/Package.internal.158.cjs +0 -364
  1023. package/vendor/Package.internal.158.mjs +0 -364
  1024. package/vendor/Package.internal.159.cjs +0 -107
  1025. package/vendor/Package.internal.159.mjs +0 -107
  1026. package/vendor/Package.internal.160.cjs +0 -636
  1027. package/vendor/Package.internal.160.mjs +0 -622
  1028. package/vendor/Package.internal.161.cjs +0 -543
  1029. package/vendor/Package.internal.161.mjs +0 -533
  1030. package/vendor/Package.internal.162.cjs +0 -605
  1031. package/vendor/Package.internal.162.mjs +0 -605
  1032. package/vendor/Package.internal.163.cjs +0 -139
  1033. package/vendor/Package.internal.163.mjs +0 -131
  1034. package/vendor/Package.internal.164.cjs +0 -119
  1035. package/vendor/Package.internal.164.mjs +0 -111
  1036. package/vendor/Package.internal.165.cjs +0 -1224
  1037. package/vendor/Package.internal.165.mjs +0 -1214
  1038. package/vendor/Package.internal.166.cjs +0 -90
  1039. package/vendor/Package.internal.166.mjs +0 -98
  1040. package/vendor/Package.internal.167.cjs +0 -4
  1041. package/vendor/Package.internal.167.mjs +0 -2
  1042. package/vendor/Package.internal.168.cjs +0 -4
  1043. package/vendor/Package.internal.168.mjs +0 -2
  1044. package/vendor/Package.internal.169.cjs +0 -55
  1045. package/vendor/Package.internal.169.mjs +0 -55
  1046. package/vendor/Package.internal.170.cjs +0 -10
  1047. package/vendor/Package.internal.170.mjs +0 -10
  1048. package/vendor/Package.internal.171.cjs +0 -12
  1049. package/vendor/Package.internal.171.mjs +0 -6
  1050. package/vendor/Package.internal.172.cjs +0 -165
  1051. package/vendor/Package.internal.172.mjs +0 -163
  1052. package/vendor/Package.internal.173.cjs +0 -23
  1053. package/vendor/Package.internal.173.mjs +0 -15
  1054. package/vendor/Package.internal.174.cjs +0 -251
  1055. package/vendor/Package.internal.174.mjs +0 -249
  1056. package/vendor/Package.internal.175.cjs +0 -949
  1057. package/vendor/Package.internal.175.mjs +0 -947
  1058. package/vendor/Package.internal.176.cjs +0 -27
  1059. package/vendor/Package.internal.176.mjs +0 -27
  1060. package/vendor/Package.internal.177.cjs +0 -80
  1061. package/vendor/Package.internal.177.mjs +0 -72
  1062. package/vendor/Package.internal.178.cjs +0 -655
  1063. package/vendor/Package.internal.178.mjs +0 -653
  1064. package/vendor/Package.internal.179.cjs +0 -77
  1065. package/vendor/Package.internal.179.mjs +0 -75
  1066. package/vendor/Package.internal.181.cjs +0 -70
  1067. package/vendor/Package.internal.181.mjs +0 -68
  1068. package/vendor/Package.internal.182.cjs +0 -112
  1069. package/vendor/Package.internal.182.mjs +0 -110
  1070. package/vendor/Package.internal.183.cjs +0 -102
  1071. package/vendor/Package.internal.183.mjs +0 -100
  1072. package/vendor/Package.internal.184.cjs +0 -45450
  1073. package/vendor/Package.internal.184.mjs +0 -45432
  1074. package/vendor/Package.internal.185.cjs +0 -8
  1075. package/vendor/Package.internal.185.mjs +0 -6
  1076. package/vendor/Package.internal.186.cjs +0 -30
  1077. package/vendor/Package.internal.186.mjs +0 -28
  1078. package/vendor/Package.internal.187.cjs +0 -317
  1079. package/vendor/Package.internal.187.mjs +0 -315
  1080. package/vendor/Package.internal.188.cjs +0 -943
  1081. package/vendor/Package.internal.188.mjs +0 -951
  1082. package/vendor/Package.internal.189.cjs +0 -1090
  1083. package/vendor/Package.internal.189.mjs +0 -1090
  1084. package/vendor/Package.internal.190.cjs +0 -165
  1085. package/vendor/Package.internal.190.mjs +0 -165
  1086. package/vendor/Package.internal.191.cjs +0 -15
  1087. package/vendor/Package.internal.191.mjs +0 -13
  1088. package/vendor/Package.internal.192.cjs +0 -14
  1089. package/vendor/Package.internal.192.mjs +0 -12
  1090. package/vendor/Package.internal.193.cjs +0 -49
  1091. package/vendor/Package.internal.193.mjs +0 -47
  1092. package/vendor/Package.internal.194.cjs +0 -493
  1093. package/vendor/Package.internal.194.mjs +0 -471
  1094. package/vendor/Package.internal.195.cjs +0 -4
  1095. package/vendor/Package.internal.195.mjs +0 -2
  1096. package/vendor/Package.internal.196.cjs +0 -4
  1097. package/vendor/Package.internal.196.mjs +0 -2
  1098. package/vendor/Package.internal.197.cjs +0 -4
  1099. package/vendor/Package.internal.197.mjs +0 -2
  1100. package/vendor/Package.internal.198.cjs +0 -4
  1101. package/vendor/Package.internal.198.mjs +0 -2
  1102. package/vendor/Package.internal.199.cjs +0 -4
  1103. package/vendor/Package.internal.199.mjs +0 -2
  1104. package/vendor/Package.internal.200.cjs +0 -4
  1105. package/vendor/Package.internal.200.mjs +0 -2
  1106. package/vendor/Package.internal.201.cjs +0 -4
  1107. package/vendor/Package.internal.201.mjs +0 -2
  1108. package/vendor/Package.internal.202.cjs +0 -4
  1109. package/vendor/Package.internal.202.mjs +0 -2
  1110. package/vendor/Package.internal.60.cjs +0 -27
  1111. package/vendor/Package.internal.60.mjs +0 -27
  1112. package/vendor/Package.internal.61.cjs +0 -4
  1113. package/vendor/Package.internal.61.mjs +0 -2
  1114. package/vendor/Package.internal.62.cjs +0 -200
  1115. package/vendor/Package.internal.62.mjs +0 -200
  1116. package/vendor/Package.internal.63.cjs +0 -4019
  1117. package/vendor/Package.internal.63.mjs +0 -4027
  1118. package/vendor/Package.internal.64.cjs +0 -4
  1119. package/vendor/Package.internal.64.mjs +0 -2
  1120. package/vendor/Package.internal.65.cjs +0 -321
  1121. package/vendor/Package.internal.65.mjs +0 -321
  1122. package/vendor/Package.internal.66.cjs +0 -365
  1123. package/vendor/Package.internal.66.mjs +0 -363
  1124. package/vendor/Package.internal.67.cjs +0 -403
  1125. package/vendor/Package.internal.67.mjs +0 -395
  1126. package/vendor/Package.internal.68.cjs +0 -127
  1127. package/vendor/Package.internal.68.mjs +0 -125
  1128. package/vendor/Package.internal.69.cjs +0 -31
  1129. package/vendor/Package.internal.69.mjs +0 -29
  1130. package/vendor/Package.internal.70.cjs +0 -87
  1131. package/vendor/Package.internal.70.mjs +0 -85
  1132. package/vendor/Package.internal.71.cjs +0 -61
  1133. package/vendor/Package.internal.71.mjs +0 -59
  1134. package/vendor/Package.internal.72.cjs +0 -34
  1135. package/vendor/Package.internal.72.mjs +0 -32
  1136. package/vendor/Package.internal.73.cjs +0 -4
  1137. package/vendor/Package.internal.73.mjs +0 -2
  1138. package/vendor/Package.internal.74.cjs +0 -684
  1139. package/vendor/Package.internal.74.mjs +0 -662
  1140. package/vendor/Package.internal.75.cjs +0 -13896
  1141. package/vendor/Package.internal.75.mjs +0 -13870
  1142. package/vendor/Package.internal.76.cjs +0 -37
  1143. package/vendor/Package.internal.76.mjs +0 -31
  1144. package/vendor/Package.internal.77.cjs +0 -4077
  1145. package/vendor/Package.internal.77.mjs +0 -4077
  1146. package/vendor/Package.internal.78.cjs +0 -1664
  1147. package/vendor/Package.internal.78.mjs +0 -1664
  1148. package/vendor/Package.internal.79.cjs +0 -259
  1149. package/vendor/Package.internal.79.mjs +0 -257
  1150. package/vendor/Package.internal.80.cjs +0 -4964
  1151. package/vendor/Package.internal.80.mjs +0 -4948
  1152. package/vendor/Package.internal.81.cjs +0 -1239
  1153. package/vendor/Package.internal.81.mjs +0 -1225
  1154. package/vendor/Package.internal.82.cjs +0 -340
  1155. package/vendor/Package.internal.82.mjs +0 -326
  1156. package/vendor/Package.internal.83.cjs +0 -34
  1157. package/vendor/Package.internal.83.mjs +0 -32
  1158. package/vendor/Package.internal.84.cjs +0 -88
  1159. package/vendor/Package.internal.84.mjs +0 -88
  1160. package/vendor/Package.internal.85.cjs +0 -55
  1161. package/vendor/Package.internal.85.mjs +0 -55
  1162. package/vendor/Package.internal.86.cjs +0 -15
  1163. package/vendor/Package.internal.86.mjs +0 -13
  1164. package/vendor/Package.internal.87.cjs +0 -1355
  1165. package/vendor/Package.internal.87.mjs +0 -1355
  1166. package/vendor/Package.internal.88.cjs +0 -12
  1167. package/vendor/Package.internal.88.mjs +0 -6
  1168. package/vendor/Package.internal.89.cjs +0 -4
  1169. package/vendor/Package.internal.89.mjs +0 -2
  1170. package/vendor/Package.internal.90.cjs +0 -351
  1171. package/vendor/Package.internal.90.mjs +0 -351
  1172. package/vendor/Package.internal.91.cjs +0 -80
  1173. package/vendor/Package.internal.91.mjs +0 -80
  1174. package/vendor/Package.internal.92.cjs +0 -1445
  1175. package/vendor/Package.internal.92.mjs +0 -1433
  1176. package/vendor/Package.internal.93.cjs +0 -144
  1177. package/vendor/Package.internal.93.mjs +0 -142
  1178. package/vendor/Package.internal.94.cjs +0 -1822
  1179. package/vendor/Package.internal.94.mjs +0 -1814
  1180. package/vendor/Package.internal.95.cjs +0 -130
  1181. package/vendor/Package.internal.95.mjs +0 -124
  1182. package/vendor/Package.internal.96.cjs +0 -208
  1183. package/vendor/Package.internal.96.mjs +0 -208
  1184. package/vendor/Package.internal.97.cjs +0 -1641
  1185. package/vendor/Package.internal.97.mjs +0 -1641
  1186. package/vendor/Package.internal.98.cjs +0 -74
  1187. package/vendor/Package.internal.98.mjs +0 -74
  1188. package/vendor/Package.internal.99.cjs +0 -28
  1189. package/vendor/Package.internal.99.mjs +0 -28
@@ -1,17 +1,1722 @@
1
- /* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
1
+ /* Build Date: Mon Nov 24 2025 18:10:51 GMT+0800 (China Standard Time) */
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(exports, Symbol.toStringTag, {
5
5
  value: "Module"
6
6
  });
7
7
 
8
- const e = require("../../../vendor/Package.internal.97.cjs");
8
+ var e = {};
9
9
 
10
- require("../../../vendor/Package.internal.98.cjs");
10
+ var t = {};
11
11
 
12
- function r(r) {
12
+ (function(e) {
13
+ const t = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
14
+ const n = t + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
15
+ const i = "[" + t + "][" + n + "]*";
16
+ const s = new RegExp("^" + i + "$");
17
+ const r = function(e, t) {
18
+ const n = [];
19
+ let i = t.exec(e);
20
+ while (i) {
21
+ const s = [];
22
+ s.startIndex = t.lastIndex - i[0].length;
23
+ const r = i.length;
24
+ for (let e = 0; e < r; e++) {
25
+ s.push(i[e]);
26
+ }
27
+ n.push(s);
28
+ i = t.exec(e);
29
+ }
30
+ return n;
31
+ };
32
+ const o = function(e) {
33
+ const t = s.exec(e);
34
+ return !(t === null || typeof t === "undefined");
35
+ };
36
+ e.isExist = function(e) {
37
+ return typeof e !== "undefined";
38
+ };
39
+ e.isEmptyObject = function(e) {
40
+ return Object.keys(e).length === 0;
41
+ };
42
+ e.merge = function(e, t, n) {
43
+ if (t) {
44
+ const i = Object.keys(t);
45
+ const s = i.length;
46
+ for (let r = 0; r < s; r++) {
47
+ if (n === "strict") {
48
+ e[i[r]] = [ t[i[r]] ];
49
+ } else {
50
+ e[i[r]] = t[i[r]];
51
+ }
52
+ }
53
+ }
54
+ };
55
+ e.getValue = function(t) {
56
+ if (e.isExist(t)) {
57
+ return t;
58
+ } else {
59
+ return "";
60
+ }
61
+ };
62
+ e.isName = o;
63
+ e.getAllMatches = r;
64
+ e.nameRegexp = i;
65
+ })(t);
66
+
67
+ const n = t;
68
+
69
+ const i = {
70
+ allowBooleanAttributes: false,
71
+ unpairedTags: []
72
+ };
73
+
74
+ e.validate = function(e, t) {
75
+ t = Object.assign({}, i, t);
76
+ const n = [];
77
+ let a = false;
78
+ let l = false;
79
+ if (e[0] === "\ufeff") {
80
+ e = e.substr(1);
81
+ }
82
+ for (let i = 0; i < e.length; i++) {
83
+ if (e[i] === "<" && e[i + 1] === "?") {
84
+ i += 2;
85
+ i = r(e, i);
86
+ if (i.err) return i;
87
+ } else if (e[i] === "<") {
88
+ let f = i;
89
+ i++;
90
+ if (e[i] === "!") {
91
+ i = o(e, i);
92
+ continue;
93
+ } else {
94
+ let h = false;
95
+ if (e[i] === "/") {
96
+ h = true;
97
+ i++;
98
+ }
99
+ let g = "";
100
+ for (;i < e.length && e[i] !== ">" && e[i] !== " " && e[i] !== "\t" && e[i] !== "\n" && e[i] !== "\r"; i++) {
101
+ g += e[i];
102
+ }
103
+ g = g.trim();
104
+ if (g[g.length - 1] === "/") {
105
+ g = g.substring(0, g.length - 1);
106
+ i--;
107
+ }
108
+ if (!m(g)) {
109
+ let t;
110
+ if (g.trim().length === 0) {
111
+ t = "Invalid space after '<'.";
112
+ } else {
113
+ t = "Tag '" + g + "' is an invalid name.";
114
+ }
115
+ return p("InvalidTag", t, x(e, i));
116
+ }
117
+ const N = u(e, i);
118
+ if (N === false) {
119
+ return p("InvalidAttr", "Attributes for '" + g + "' have open quote.", x(e, i));
120
+ }
121
+ let b = N.value;
122
+ i = N.index;
123
+ if (b[b.length - 1] === "/") {
124
+ const n = i - b.length;
125
+ b = b.substring(0, b.length - 1);
126
+ const s = c(b, t);
127
+ if (s === true) {
128
+ a = true;
129
+ } else {
130
+ return p(s.err.code, s.err.msg, x(e, n + s.err.line));
131
+ }
132
+ } else if (h) {
133
+ if (!N.tagClosed) {
134
+ return p("InvalidTag", "Closing tag '" + g + "' doesn't have proper closing.", x(e, i));
135
+ } else if (b.trim().length > 0) {
136
+ return p("InvalidTag", "Closing tag '" + g + "' can't have attributes or invalid starting.", x(e, f));
137
+ } else if (n.length === 0) {
138
+ return p("InvalidTag", "Closing tag '" + g + "' has not been opened.", x(e, f));
139
+ } else {
140
+ const t = n.pop();
141
+ if (g !== t.tagName) {
142
+ let n = x(e, t.tagStartPos);
143
+ return p("InvalidTag", "Expected closing tag '" + t.tagName + "' (opened in line " + n.line + ", col " + n.col + ") instead of closing tag '" + g + "'.", x(e, f));
144
+ }
145
+ if (n.length == 0) {
146
+ l = true;
147
+ }
148
+ }
149
+ } else {
150
+ const s = c(b, t);
151
+ if (s !== true) {
152
+ return p(s.err.code, s.err.msg, x(e, i - b.length + s.err.line));
153
+ }
154
+ if (l === true) {
155
+ return p("InvalidXml", "Multiple possible root nodes found.", x(e, i));
156
+ } else if (t.unpairedTags.indexOf(g) !== -1) ; else {
157
+ n.push({
158
+ tagName: g,
159
+ tagStartPos: f
160
+ });
161
+ }
162
+ a = true;
163
+ }
164
+ for (i++; i < e.length; i++) {
165
+ if (e[i] === "<") {
166
+ if (e[i + 1] === "!") {
167
+ i++;
168
+ i = o(e, i);
169
+ continue;
170
+ } else if (e[i + 1] === "?") {
171
+ i = r(e, ++i);
172
+ if (i.err) return i;
173
+ } else {
174
+ break;
175
+ }
176
+ } else if (e[i] === "&") {
177
+ const t = d(e, i);
178
+ if (t == -1) return p("InvalidChar", "char '&' is not expected.", x(e, i));
179
+ i = t;
180
+ } else {
181
+ if (l === true && !s(e[i])) {
182
+ return p("InvalidXml", "Extra text at the end", x(e, i));
183
+ }
184
+ }
185
+ }
186
+ if (e[i] === "<") {
187
+ i--;
188
+ }
189
+ }
190
+ } else {
191
+ if (s(e[i])) {
192
+ continue;
193
+ }
194
+ return p("InvalidChar", "char '" + e[i] + "' is not expected.", x(e, i));
195
+ }
196
+ }
197
+ if (!a) {
198
+ return p("InvalidXml", "Start tag expected.", 1);
199
+ } else if (n.length == 1) {
200
+ return p("InvalidTag", "Unclosed tag '" + n[0].tagName + "'.", x(e, n[0].tagStartPos));
201
+ } else if (n.length > 0) {
202
+ return p("InvalidXml", "Invalid '" + JSON.stringify(n.map(e => e.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", {
203
+ line: 1,
204
+ col: 1
205
+ });
206
+ }
207
+ return true;
208
+ };
209
+
210
+ function s(e) {
211
+ return e === " " || e === "\t" || e === "\n" || e === "\r";
212
+ }
213
+
214
+ function r(e, t) {
215
+ const n = t;
216
+ for (;t < e.length; t++) {
217
+ if (e[t] == "?" || e[t] == " ") {
218
+ const i = e.substr(n, t - n);
219
+ if (t > 5 && i === "xml") {
220
+ return p("InvalidXml", "XML declaration allowed only at the start of the document.", x(e, t));
221
+ } else if (e[t] == "?" && e[t + 1] == ">") {
222
+ t++;
223
+ break;
224
+ } else {
225
+ continue;
226
+ }
227
+ }
228
+ }
229
+ return t;
230
+ }
231
+
232
+ function o(e, t) {
233
+ if (e.length > t + 5 && e[t + 1] === "-" && e[t + 2] === "-") {
234
+ for (t += 3; t < e.length; t++) {
235
+ if (e[t] === "-" && e[t + 1] === "-" && e[t + 2] === ">") {
236
+ t += 2;
237
+ break;
238
+ }
239
+ }
240
+ } else if (e.length > t + 8 && e[t + 1] === "D" && e[t + 2] === "O" && e[t + 3] === "C" && e[t + 4] === "T" && e[t + 5] === "Y" && e[t + 6] === "P" && e[t + 7] === "E") {
241
+ let n = 1;
242
+ for (t += 8; t < e.length; t++) {
243
+ if (e[t] === "<") {
244
+ n++;
245
+ } else if (e[t] === ">") {
246
+ n--;
247
+ if (n === 0) {
248
+ break;
249
+ }
250
+ }
251
+ }
252
+ } else if (e.length > t + 9 && e[t + 1] === "[" && e[t + 2] === "C" && e[t + 3] === "D" && e[t + 4] === "A" && e[t + 5] === "T" && e[t + 6] === "A" && e[t + 7] === "[") {
253
+ for (t += 8; t < e.length; t++) {
254
+ if (e[t] === "]" && e[t + 1] === "]" && e[t + 2] === ">") {
255
+ t += 2;
256
+ break;
257
+ }
258
+ }
259
+ }
260
+ return t;
261
+ }
262
+
263
+ const a = '"';
264
+
265
+ const l = "'";
266
+
267
+ function u(e, t) {
268
+ let n = "";
269
+ let i = "";
270
+ let s = false;
271
+ for (;t < e.length; t++) {
272
+ if (e[t] === a || e[t] === l) {
273
+ if (i === "") {
274
+ i = e[t];
275
+ } else if (i !== e[t]) ; else {
276
+ i = "";
277
+ }
278
+ } else if (e[t] === ">") {
279
+ if (i === "") {
280
+ s = true;
281
+ break;
282
+ }
283
+ }
284
+ n += e[t];
285
+ }
286
+ if (i !== "") {
287
+ return false;
288
+ }
289
+ return {
290
+ value: n,
291
+ index: t,
292
+ tagClosed: s
293
+ };
294
+ }
295
+
296
+ const f = new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?", "g");
297
+
298
+ function c(e, t) {
299
+ const i = n.getAllMatches(e, f);
300
+ const s = {};
301
+ for (let e = 0; e < i.length; e++) {
302
+ if (i[e][1].length === 0) {
303
+ return p("InvalidAttr", "Attribute '" + i[e][2] + "' has no space in starting.", N(i[e]));
304
+ } else if (i[e][3] !== undefined && i[e][4] === undefined) {
305
+ return p("InvalidAttr", "Attribute '" + i[e][2] + "' is without value.", N(i[e]));
306
+ } else if (i[e][3] === undefined && !t.allowBooleanAttributes) {
307
+ return p("InvalidAttr", "boolean attribute '" + i[e][2] + "' is not allowed.", N(i[e]));
308
+ }
309
+ const n = i[e][2];
310
+ if (!g(n)) {
311
+ return p("InvalidAttr", "Attribute '" + n + "' is an invalid name.", N(i[e]));
312
+ }
313
+ if (!s.hasOwnProperty(n)) {
314
+ s[n] = 1;
315
+ } else {
316
+ return p("InvalidAttr", "Attribute '" + n + "' is repeated.", N(i[e]));
317
+ }
318
+ }
319
+ return true;
320
+ }
321
+
322
+ function h(e, t) {
323
+ let n = /\d/;
324
+ if (e[t] === "x") {
325
+ t++;
326
+ n = /[\da-fA-F]/;
327
+ }
328
+ for (;t < e.length; t++) {
329
+ if (e[t] === ";") return t;
330
+ if (!e[t].match(n)) break;
331
+ }
332
+ return -1;
333
+ }
334
+
335
+ function d(e, t) {
336
+ t++;
337
+ if (e[t] === ";") return -1;
338
+ if (e[t] === "#") {
339
+ t++;
340
+ return h(e, t);
341
+ }
342
+ let n = 0;
343
+ for (;t < e.length; t++, n++) {
344
+ if (e[t].match(/\w/) && n < 20) continue;
345
+ if (e[t] === ";") break;
346
+ return -1;
347
+ }
348
+ return t;
349
+ }
350
+
351
+ function p(e, t, n) {
352
+ return {
353
+ err: {
354
+ code: e,
355
+ msg: t,
356
+ line: n.line || n,
357
+ col: n.col
358
+ }
359
+ };
360
+ }
361
+
362
+ function g(e) {
363
+ return n.isName(e);
364
+ }
365
+
366
+ function m(e) {
367
+ return n.isName(e);
368
+ }
369
+
370
+ function x(e, t) {
371
+ const n = e.substring(0, t).split(/\r?\n/);
372
+ return {
373
+ line: n.length,
374
+ col: n[n.length - 1].length + 1
375
+ };
376
+ }
377
+
378
+ function N(e) {
379
+ return e.startIndex + e[1].length;
380
+ }
381
+
382
+ var b = {};
383
+
384
+ const E = {
385
+ preserveOrder: false,
386
+ attributeNamePrefix: "@_",
387
+ attributesGroupName: false,
388
+ textNodeName: "#text",
389
+ ignoreAttributes: true,
390
+ removeNSPrefix: false,
391
+ allowBooleanAttributes: false,
392
+ parseTagValue: true,
393
+ parseAttributeValue: false,
394
+ trimValues: true,
395
+ cdataPropName: false,
396
+ numberParseOptions: {
397
+ hex: true,
398
+ leadingZeros: true,
399
+ eNotation: true
400
+ },
401
+ tagValueProcessor: function(e, t) {
402
+ return t;
403
+ },
404
+ attributeValueProcessor: function(e, t) {
405
+ return t;
406
+ },
407
+ stopNodes: [],
408
+ alwaysCreateTextNode: false,
409
+ isArray: () => false,
410
+ commentPropName: false,
411
+ unpairedTags: [],
412
+ processEntities: true,
413
+ htmlEntities: false,
414
+ ignoreDeclaration: false,
415
+ ignorePiTags: false,
416
+ transformTagName: false,
417
+ transformAttributeName: false,
418
+ updateTag: function(e, t, n) {
419
+ return e;
420
+ }
421
+ };
422
+
423
+ const v = function(e) {
424
+ return Object.assign({}, E, e);
425
+ };
426
+
427
+ b.buildOptions = v;
428
+
429
+ b.defaultOptions = E;
430
+
431
+ class XmlNode {
432
+ constructor(e) {
433
+ this.tagname = e;
434
+ this.child = [];
435
+ this[":@"] = {};
436
+ }
437
+ add(e, t) {
438
+ if (e === "__proto__") e = "#__proto__";
439
+ this.child.push({
440
+ [e]: t
441
+ });
442
+ }
443
+ addChild(e) {
444
+ if (e.tagname === "__proto__") e.tagname = "#__proto__";
445
+ if (e[":@"] && Object.keys(e[":@"]).length > 0) {
446
+ this.child.push({
447
+ [e.tagname]: e.child,
448
+ [":@"]: e[":@"]
449
+ });
450
+ } else {
451
+ this.child.push({
452
+ [e.tagname]: e.child
453
+ });
454
+ }
455
+ }
456
+ }
457
+
458
+ var y = XmlNode;
459
+
460
+ const T = t;
461
+
462
+ function O(e, t) {
463
+ const n = {};
464
+ if (e[t + 3] === "O" && e[t + 4] === "C" && e[t + 5] === "T" && e[t + 6] === "Y" && e[t + 7] === "P" && e[t + 8] === "E") {
465
+ t = t + 9;
466
+ let i = 1;
467
+ let s = false, r = false;
468
+ let o = "";
469
+ for (;t < e.length; t++) {
470
+ if (e[t] === "<" && !r) {
471
+ if (s && A(e, t)) {
472
+ t += 7;
473
+ let i, s;
474
+ [i, s, t] = w(e, t + 1);
475
+ if (s.indexOf("&") === -1) n[V(i)] = {
476
+ regx: RegExp(`&${i};`, "g"),
477
+ val: s
478
+ };
479
+ } else if (s && I(e, t)) t += 8; else if (s && C(e, t)) t += 8; else if (s && S(e, t)) t += 9; else if (P) r = true; else throw new Error("Invalid DOCTYPE");
480
+ i++;
481
+ o = "";
482
+ } else if (e[t] === ">") {
483
+ if (r) {
484
+ if (e[t - 1] === "-" && e[t - 2] === "-") {
485
+ r = false;
486
+ i--;
487
+ }
488
+ } else {
489
+ i--;
490
+ }
491
+ if (i === 0) {
492
+ break;
493
+ }
494
+ } else if (e[t] === "[") {
495
+ s = true;
496
+ } else {
497
+ o += e[t];
498
+ }
499
+ }
500
+ if (i !== 0) {
501
+ throw new Error(`Unclosed DOCTYPE`);
502
+ }
503
+ } else {
504
+ throw new Error(`Invalid Tag instead of DOCTYPE`);
505
+ }
506
+ return {
507
+ entities: n,
508
+ i: t
509
+ };
510
+ }
511
+
512
+ function w(e, t) {
513
+ let n = "";
514
+ for (;t < e.length && (e[t] !== "'" && e[t] !== '"'); t++) {
515
+ n += e[t];
516
+ }
517
+ n = n.trim();
518
+ if (n.indexOf(" ") !== -1) throw new Error("External entites are not supported");
519
+ const i = e[t++];
520
+ let s = "";
521
+ for (;t < e.length && e[t] !== i; t++) {
522
+ s += e[t];
523
+ }
524
+ return [ n, s, t ];
525
+ }
526
+
527
+ function P(e, t) {
528
+ if (e[t + 1] === "!" && e[t + 2] === "-" && e[t + 3] === "-") return true;
529
+ return false;
530
+ }
531
+
532
+ function A(e, t) {
533
+ if (e[t + 1] === "!" && e[t + 2] === "E" && e[t + 3] === "N" && e[t + 4] === "T" && e[t + 5] === "I" && e[t + 6] === "T" && e[t + 7] === "Y") return true;
534
+ return false;
535
+ }
536
+
537
+ function I(e, t) {
538
+ if (e[t + 1] === "!" && e[t + 2] === "E" && e[t + 3] === "L" && e[t + 4] === "E" && e[t + 5] === "M" && e[t + 6] === "E" && e[t + 7] === "N" && e[t + 8] === "T") return true;
539
+ return false;
540
+ }
541
+
542
+ function C(e, t) {
543
+ if (e[t + 1] === "!" && e[t + 2] === "A" && e[t + 3] === "T" && e[t + 4] === "T" && e[t + 5] === "L" && e[t + 6] === "I" && e[t + 7] === "S" && e[t + 8] === "T") return true;
544
+ return false;
545
+ }
546
+
547
+ function S(e, t) {
548
+ if (e[t + 1] === "!" && e[t + 2] === "N" && e[t + 3] === "O" && e[t + 4] === "T" && e[t + 5] === "A" && e[t + 6] === "T" && e[t + 7] === "I" && e[t + 8] === "O" && e[t + 9] === "N") return true;
549
+ return false;
550
+ }
551
+
552
+ function V(e) {
553
+ if (T.isName(e)) return e; else throw new Error(`Invalid entity name ${e}`);
554
+ }
555
+
556
+ var j = O;
557
+
558
+ const $ = /^[-+]?0x[a-fA-F0-9]+$/;
559
+
560
+ const k = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;
561
+
562
+ const F = {
563
+ hex: true,
564
+ leadingZeros: true,
565
+ decimalPoint: ".",
566
+ eNotation: true
567
+ };
568
+
569
+ function _(e, t = {}) {
570
+ t = Object.assign({}, F, t);
571
+ if (!e || typeof e !== "string") return e;
572
+ let n = e.trim();
573
+ if (t.skipLike !== undefined && t.skipLike.test(n)) return e; else if (e === "0") return 0; else if (t.hex && $.test(n)) {
574
+ return L(n, 16);
575
+ } else if (n.search(/[eE]/) !== -1) {
576
+ const i = n.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);
577
+ if (i) {
578
+ if (t.leadingZeros) {
579
+ n = (i[1] || "") + i[3];
580
+ } else {
581
+ if (i[2] === "0" && i[3][0] === ".") ; else {
582
+ return e;
583
+ }
584
+ }
585
+ return t.eNotation ? Number(n) : e;
586
+ } else {
587
+ return e;
588
+ }
589
+ } else {
590
+ const i = k.exec(n);
591
+ if (i) {
592
+ const s = i[1];
593
+ const r = i[2];
594
+ let o = D(i[3]);
595
+ if (!t.leadingZeros && r.length > 0 && s && n[2] !== ".") return e; else if (!t.leadingZeros && r.length > 0 && !s && n[1] !== ".") return e; else if (t.leadingZeros && r === e) return 0; else {
596
+ const i = Number(n);
597
+ const a = "" + i;
598
+ if (a.search(/[eE]/) !== -1) {
599
+ if (t.eNotation) return i; else return e;
600
+ } else if (n.indexOf(".") !== -1) {
601
+ if (a === "0" && o === "") return i; else if (a === o) return i; else if (s && a === "-" + o) return i; else return e;
602
+ }
603
+ if (r) {
604
+ return o === a || s + o === a ? i : e;
605
+ } else {
606
+ return n === a || n === s + a ? i : e;
607
+ }
608
+ }
609
+ } else {
610
+ return e;
611
+ }
612
+ }
613
+ }
614
+
615
+ function D(e) {
616
+ if (e && e.indexOf(".") !== -1) {
617
+ e = e.replace(/0+$/, "");
618
+ if (e === ".") e = "0"; else if (e[0] === ".") e = "0" + e; else if (e[e.length - 1] === ".") e = e.substr(0, e.length - 1);
619
+ return e;
620
+ }
621
+ return e;
622
+ }
623
+
624
+ function L(e, t) {
625
+ if (parseInt) return parseInt(e, t); else if (Number.parseInt) return Number.parseInt(e, t); else if (window && window.parseInt) return window.parseInt(e, t); else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
626
+ }
627
+
628
+ var M = _;
629
+
630
+ function X(e) {
631
+ if (typeof e === "function") {
632
+ return e;
633
+ }
634
+ if (Array.isArray(e)) {
635
+ return t => {
636
+ for (const n of e) {
637
+ if (typeof n === "string" && t === n) {
638
+ return true;
639
+ }
640
+ if (n instanceof RegExp && n.test(t)) {
641
+ return true;
642
+ }
643
+ }
644
+ };
645
+ }
646
+ return () => false;
647
+ }
648
+
649
+ var B = X;
650
+
651
+ const G = t;
652
+
653
+ const R = y;
654
+
655
+ const U = j;
656
+
657
+ const Z = M;
658
+
659
+ const Y = B;
660
+
661
+ let q = class OrderedObjParser {
662
+ constructor(e) {
663
+ this.options = e;
664
+ this.currentNode = null;
665
+ this.tagsNodeStack = [];
666
+ this.docTypeEntities = {};
667
+ this.lastEntities = {
668
+ apos: {
669
+ regex: /&(apos|#39|#x27);/g,
670
+ val: "'"
671
+ },
672
+ gt: {
673
+ regex: /&(gt|#62|#x3E);/g,
674
+ val: ">"
675
+ },
676
+ lt: {
677
+ regex: /&(lt|#60|#x3C);/g,
678
+ val: "<"
679
+ },
680
+ quot: {
681
+ regex: /&(quot|#34|#x22);/g,
682
+ val: '"'
683
+ }
684
+ };
685
+ this.ampEntity = {
686
+ regex: /&(amp|#38|#x26);/g,
687
+ val: "&"
688
+ };
689
+ this.htmlEntities = {
690
+ space: {
691
+ regex: /&(nbsp|#160);/g,
692
+ val: " "
693
+ },
694
+ cent: {
695
+ regex: /&(cent|#162);/g,
696
+ val: "¢"
697
+ },
698
+ pound: {
699
+ regex: /&(pound|#163);/g,
700
+ val: "£"
701
+ },
702
+ yen: {
703
+ regex: /&(yen|#165);/g,
704
+ val: "¥"
705
+ },
706
+ euro: {
707
+ regex: /&(euro|#8364);/g,
708
+ val: "€"
709
+ },
710
+ copyright: {
711
+ regex: /&(copy|#169);/g,
712
+ val: "©"
713
+ },
714
+ reg: {
715
+ regex: /&(reg|#174);/g,
716
+ val: "®"
717
+ },
718
+ inr: {
719
+ regex: /&(inr|#8377);/g,
720
+ val: "₹"
721
+ },
722
+ num_dec: {
723
+ regex: /&#([0-9]{1,7});/g,
724
+ val: (e, t) => String.fromCharCode(Number.parseInt(t, 10))
725
+ },
726
+ num_hex: {
727
+ regex: /&#x([0-9a-fA-F]{1,6});/g,
728
+ val: (e, t) => String.fromCharCode(Number.parseInt(t, 16))
729
+ }
730
+ };
731
+ this.addExternalEntities = W;
732
+ this.parseXml = Q;
733
+ this.parseTextData = z;
734
+ this.resolveNameSpace = J;
735
+ this.buildAttributesMap = K;
736
+ this.isItStopNode = ie;
737
+ this.replaceEntitiesValue = te;
738
+ this.readStopNodeData = ae;
739
+ this.saveTextToParentTag = ne;
740
+ this.addChild = ee;
741
+ this.ignoreAttributesFn = Y(this.options.ignoreAttributes);
742
+ }
743
+ };
744
+
745
+ function W(e) {
746
+ const t = Object.keys(e);
747
+ for (let n = 0; n < t.length; n++) {
748
+ const i = t[n];
749
+ this.lastEntities[i] = {
750
+ regex: new RegExp("&" + i + ";", "g"),
751
+ val: e[i]
752
+ };
753
+ }
754
+ }
755
+
756
+ function z(e, t, n, i, s, r, o) {
757
+ if (e !== undefined) {
758
+ if (this.options.trimValues && !i) {
759
+ e = e.trim();
760
+ }
761
+ if (e.length > 0) {
762
+ if (!o) e = this.replaceEntitiesValue(e);
763
+ const i = this.options.tagValueProcessor(t, e, n, s, r);
764
+ if (i === null || i === undefined) {
765
+ return e;
766
+ } else if (typeof i !== typeof e || i !== e) {
767
+ return i;
768
+ } else if (this.options.trimValues) {
769
+ return le(e, this.options.parseTagValue, this.options.numberParseOptions);
770
+ } else {
771
+ const t = e.trim();
772
+ if (t === e) {
773
+ return le(e, this.options.parseTagValue, this.options.numberParseOptions);
774
+ } else {
775
+ return e;
776
+ }
777
+ }
778
+ }
779
+ }
780
+ }
781
+
782
+ function J(e) {
783
+ if (this.options.removeNSPrefix) {
784
+ const t = e.split(":");
785
+ const n = e.charAt(0) === "/" ? "/" : "";
786
+ if (t[0] === "xmlns") {
787
+ return "";
788
+ }
789
+ if (t.length === 2) {
790
+ e = n + t[1];
791
+ }
792
+ }
793
+ return e;
794
+ }
795
+
796
+ const H = new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
797
+
798
+ function K(e, t, n) {
799
+ if (this.options.ignoreAttributes !== true && typeof e === "string") {
800
+ const n = G.getAllMatches(e, H);
801
+ const i = n.length;
802
+ const s = {};
803
+ for (let e = 0; e < i; e++) {
804
+ const i = this.resolveNameSpace(n[e][1]);
805
+ if (this.ignoreAttributesFn(i, t)) {
806
+ continue;
807
+ }
808
+ let r = n[e][4];
809
+ let o = this.options.attributeNamePrefix + i;
810
+ if (i.length) {
811
+ if (this.options.transformAttributeName) {
812
+ o = this.options.transformAttributeName(o);
813
+ }
814
+ if (o === "__proto__") o = "#__proto__";
815
+ if (r !== undefined) {
816
+ if (this.options.trimValues) {
817
+ r = r.trim();
818
+ }
819
+ r = this.replaceEntitiesValue(r);
820
+ const e = this.options.attributeValueProcessor(i, r, t);
821
+ if (e === null || e === undefined) {
822
+ s[o] = r;
823
+ } else if (typeof e !== typeof r || e !== r) {
824
+ s[o] = e;
825
+ } else {
826
+ s[o] = le(r, this.options.parseAttributeValue, this.options.numberParseOptions);
827
+ }
828
+ } else if (this.options.allowBooleanAttributes) {
829
+ s[o] = true;
830
+ }
831
+ }
832
+ }
833
+ if (!Object.keys(s).length) {
834
+ return;
835
+ }
836
+ if (this.options.attributesGroupName) {
837
+ const e = {};
838
+ e[this.options.attributesGroupName] = s;
839
+ return e;
840
+ }
841
+ return s;
842
+ }
843
+ }
844
+
845
+ const Q = function(e) {
846
+ e = e.replace(/\r\n?/g, "\n");
847
+ const t = new R("!xml");
848
+ let n = t;
849
+ let i = "";
850
+ let s = "";
851
+ for (let r = 0; r < e.length; r++) {
852
+ const o = e[r];
853
+ if (o === "<") {
854
+ if (e[r + 1] === "/") {
855
+ const t = re(e, ">", r, "Closing Tag is not closed.");
856
+ let o = e.substring(r + 2, t).trim();
857
+ if (this.options.removeNSPrefix) {
858
+ const e = o.indexOf(":");
859
+ if (e !== -1) {
860
+ o = o.substr(e + 1);
861
+ }
862
+ }
863
+ if (this.options.transformTagName) {
864
+ o = this.options.transformTagName(o);
865
+ }
866
+ if (n) {
867
+ i = this.saveTextToParentTag(i, n, s);
868
+ }
869
+ const a = s.substring(s.lastIndexOf(".") + 1);
870
+ if (o && this.options.unpairedTags.indexOf(o) !== -1) {
871
+ throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`);
872
+ }
873
+ let l = 0;
874
+ if (a && this.options.unpairedTags.indexOf(a) !== -1) {
875
+ l = s.lastIndexOf(".", s.lastIndexOf(".") - 1);
876
+ this.tagsNodeStack.pop();
877
+ } else {
878
+ l = s.lastIndexOf(".");
879
+ }
880
+ s = s.substring(0, l);
881
+ n = this.tagsNodeStack.pop();
882
+ i = "";
883
+ r = t;
884
+ } else if (e[r + 1] === "?") {
885
+ let t = oe(e, r, false, "?>");
886
+ if (!t) throw new Error("Pi Tag is not closed.");
887
+ i = this.saveTextToParentTag(i, n, s);
888
+ if (this.options.ignoreDeclaration && t.tagName === "?xml" || this.options.ignorePiTags) ; else {
889
+ const e = new R(t.tagName);
890
+ e.add(this.options.textNodeName, "");
891
+ if (t.tagName !== t.tagExp && t.attrExpPresent) {
892
+ e[":@"] = this.buildAttributesMap(t.tagExp, s, t.tagName);
893
+ }
894
+ this.addChild(n, e, s);
895
+ }
896
+ r = t.closeIndex + 1;
897
+ } else if (e.substr(r + 1, 3) === "!--") {
898
+ const t = re(e, "--\x3e", r + 4, "Comment is not closed.");
899
+ if (this.options.commentPropName) {
900
+ const o = e.substring(r + 4, t - 2);
901
+ i = this.saveTextToParentTag(i, n, s);
902
+ n.add(this.options.commentPropName, [ {
903
+ [this.options.textNodeName]: o
904
+ } ]);
905
+ }
906
+ r = t;
907
+ } else if (e.substr(r + 1, 2) === "!D") {
908
+ const t = U(e, r);
909
+ this.docTypeEntities = t.entities;
910
+ r = t.i;
911
+ } else if (e.substr(r + 1, 2) === "![") {
912
+ const t = re(e, "]]>", r, "CDATA is not closed.") - 2;
913
+ const o = e.substring(r + 9, t);
914
+ i = this.saveTextToParentTag(i, n, s);
915
+ let a = this.parseTextData(o, n.tagname, s, true, false, true, true);
916
+ if (a == undefined) a = "";
917
+ if (this.options.cdataPropName) {
918
+ n.add(this.options.cdataPropName, [ {
919
+ [this.options.textNodeName]: o
920
+ } ]);
921
+ } else {
922
+ n.add(this.options.textNodeName, a);
923
+ }
924
+ r = t + 2;
925
+ } else {
926
+ let o = oe(e, r, this.options.removeNSPrefix);
927
+ let a = o.tagName;
928
+ const l = o.rawTagName;
929
+ let u = o.tagExp;
930
+ let f = o.attrExpPresent;
931
+ let c = o.closeIndex;
932
+ if (this.options.transformTagName) {
933
+ a = this.options.transformTagName(a);
934
+ }
935
+ if (n && i) {
936
+ if (n.tagname !== "!xml") {
937
+ i = this.saveTextToParentTag(i, n, s, false);
938
+ }
939
+ }
940
+ const h = n;
941
+ if (h && this.options.unpairedTags.indexOf(h.tagname) !== -1) {
942
+ n = this.tagsNodeStack.pop();
943
+ s = s.substring(0, s.lastIndexOf("."));
944
+ }
945
+ if (a !== t.tagname) {
946
+ s += s ? "." + a : a;
947
+ }
948
+ if (this.isItStopNode(this.options.stopNodes, s, a)) {
949
+ let t = "";
950
+ if (u.length > 0 && u.lastIndexOf("/") === u.length - 1) {
951
+ if (a[a.length - 1] === "/") {
952
+ a = a.substr(0, a.length - 1);
953
+ s = s.substr(0, s.length - 1);
954
+ u = a;
955
+ } else {
956
+ u = u.substr(0, u.length - 1);
957
+ }
958
+ r = o.closeIndex;
959
+ } else if (this.options.unpairedTags.indexOf(a) !== -1) {
960
+ r = o.closeIndex;
961
+ } else {
962
+ const n = this.readStopNodeData(e, l, c + 1);
963
+ if (!n) throw new Error(`Unexpected end of ${l}`);
964
+ r = n.i;
965
+ t = n.tagContent;
966
+ }
967
+ const i = new R(a);
968
+ if (a !== u && f) {
969
+ i[":@"] = this.buildAttributesMap(u, s, a);
970
+ }
971
+ if (t) {
972
+ t = this.parseTextData(t, a, s, true, f, true, true);
973
+ }
974
+ s = s.substr(0, s.lastIndexOf("."));
975
+ i.add(this.options.textNodeName, t);
976
+ this.addChild(n, i, s);
977
+ } else {
978
+ if (u.length > 0 && u.lastIndexOf("/") === u.length - 1) {
979
+ if (a[a.length - 1] === "/") {
980
+ a = a.substr(0, a.length - 1);
981
+ s = s.substr(0, s.length - 1);
982
+ u = a;
983
+ } else {
984
+ u = u.substr(0, u.length - 1);
985
+ }
986
+ if (this.options.transformTagName) {
987
+ a = this.options.transformTagName(a);
988
+ }
989
+ const e = new R(a);
990
+ if (a !== u && f) {
991
+ e[":@"] = this.buildAttributesMap(u, s, a);
992
+ }
993
+ this.addChild(n, e, s);
994
+ s = s.substr(0, s.lastIndexOf("."));
995
+ } else {
996
+ const e = new R(a);
997
+ this.tagsNodeStack.push(n);
998
+ if (a !== u && f) {
999
+ e[":@"] = this.buildAttributesMap(u, s, a);
1000
+ }
1001
+ this.addChild(n, e, s);
1002
+ n = e;
1003
+ }
1004
+ i = "";
1005
+ r = c;
1006
+ }
1007
+ }
1008
+ } else {
1009
+ i += e[r];
1010
+ }
1011
+ }
1012
+ return t.child;
1013
+ };
1014
+
1015
+ function ee(e, t, n) {
1016
+ const i = this.options.updateTag(t.tagname, n, t[":@"]);
1017
+ if (i === false) ; else if (typeof i === "string") {
1018
+ t.tagname = i;
1019
+ e.addChild(t);
1020
+ } else {
1021
+ e.addChild(t);
1022
+ }
1023
+ }
1024
+
1025
+ const te = function(e) {
1026
+ if (this.options.processEntities) {
1027
+ for (let t in this.docTypeEntities) {
1028
+ const n = this.docTypeEntities[t];
1029
+ e = e.replace(n.regx, n.val);
1030
+ }
1031
+ for (let t in this.lastEntities) {
1032
+ const n = this.lastEntities[t];
1033
+ e = e.replace(n.regex, n.val);
1034
+ }
1035
+ if (this.options.htmlEntities) {
1036
+ for (let t in this.htmlEntities) {
1037
+ const n = this.htmlEntities[t];
1038
+ e = e.replace(n.regex, n.val);
1039
+ }
1040
+ }
1041
+ e = e.replace(this.ampEntity.regex, this.ampEntity.val);
1042
+ }
1043
+ return e;
1044
+ };
1045
+
1046
+ function ne(e, t, n, i) {
1047
+ if (e) {
1048
+ if (i === undefined) i = t.child.length === 0;
1049
+ e = this.parseTextData(e, t.tagname, n, false, t[":@"] ? Object.keys(t[":@"]).length !== 0 : false, i);
1050
+ if (e !== undefined && e !== "") t.add(this.options.textNodeName, e);
1051
+ e = "";
1052
+ }
1053
+ return e;
1054
+ }
1055
+
1056
+ function ie(e, t, n) {
1057
+ const i = "*." + n;
1058
+ for (const n in e) {
1059
+ const s = e[n];
1060
+ if (i === s || t === s) return true;
1061
+ }
1062
+ return false;
1063
+ }
1064
+
1065
+ function se(e, t, n = ">") {
1066
+ let i;
1067
+ let s = "";
1068
+ for (let r = t; r < e.length; r++) {
1069
+ let t = e[r];
1070
+ if (i) {
1071
+ if (t === i) i = "";
1072
+ } else if (t === '"' || t === "'") {
1073
+ i = t;
1074
+ } else if (t === n[0]) {
1075
+ if (n[1]) {
1076
+ if (e[r + 1] === n[1]) {
1077
+ return {
1078
+ data: s,
1079
+ index: r
1080
+ };
1081
+ }
1082
+ } else {
1083
+ return {
1084
+ data: s,
1085
+ index: r
1086
+ };
1087
+ }
1088
+ } else if (t === "\t") {
1089
+ t = " ";
1090
+ }
1091
+ s += t;
1092
+ }
1093
+ }
1094
+
1095
+ function re(e, t, n, i) {
1096
+ const s = e.indexOf(t, n);
1097
+ if (s === -1) {
1098
+ throw new Error(i);
1099
+ } else {
1100
+ return s + t.length - 1;
1101
+ }
1102
+ }
1103
+
1104
+ function oe(e, t, n, i = ">") {
1105
+ const s = se(e, t + 1, i);
1106
+ if (!s) return;
1107
+ let r = s.data;
1108
+ const o = s.index;
1109
+ const a = r.search(/\s/);
1110
+ let l = r;
1111
+ let u = true;
1112
+ if (a !== -1) {
1113
+ l = r.substring(0, a);
1114
+ r = r.substring(a + 1).trimStart();
1115
+ }
1116
+ const f = l;
1117
+ if (n) {
1118
+ const e = l.indexOf(":");
1119
+ if (e !== -1) {
1120
+ l = l.substr(e + 1);
1121
+ u = l !== s.data.substr(e + 1);
1122
+ }
1123
+ }
1124
+ return {
1125
+ tagName: l,
1126
+ tagExp: r,
1127
+ closeIndex: o,
1128
+ attrExpPresent: u,
1129
+ rawTagName: f
1130
+ };
1131
+ }
1132
+
1133
+ function ae(e, t, n) {
1134
+ const i = n;
1135
+ let s = 1;
1136
+ for (;n < e.length; n++) {
1137
+ if (e[n] === "<") {
1138
+ if (e[n + 1] === "/") {
1139
+ const r = re(e, ">", n, `${t} is not closed`);
1140
+ let o = e.substring(n + 2, r).trim();
1141
+ if (o === t) {
1142
+ s--;
1143
+ if (s === 0) {
1144
+ return {
1145
+ tagContent: e.substring(i, n),
1146
+ i: r
1147
+ };
1148
+ }
1149
+ }
1150
+ n = r;
1151
+ } else if (e[n + 1] === "?") {
1152
+ const t = re(e, "?>", n + 1, "StopNode is not closed.");
1153
+ n = t;
1154
+ } else if (e.substr(n + 1, 3) === "!--") {
1155
+ const t = re(e, "--\x3e", n + 3, "StopNode is not closed.");
1156
+ n = t;
1157
+ } else if (e.substr(n + 1, 2) === "![") {
1158
+ const t = re(e, "]]>", n, "StopNode is not closed.") - 2;
1159
+ n = t;
1160
+ } else {
1161
+ const i = oe(e, n, ">");
1162
+ if (i) {
1163
+ const e = i && i.tagName;
1164
+ if (e === t && i.tagExp[i.tagExp.length - 1] !== "/") {
1165
+ s++;
1166
+ }
1167
+ n = i.closeIndex;
1168
+ }
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+
1174
+ function le(e, t, n) {
1175
+ if (t && typeof e === "string") {
1176
+ const t = e.trim();
1177
+ if (t === "true") return true; else if (t === "false") return false; else return Z(e, n);
1178
+ } else {
1179
+ if (G.isExist(e)) {
1180
+ return e;
1181
+ } else {
1182
+ return "";
1183
+ }
1184
+ }
1185
+ }
1186
+
1187
+ var ue = q;
1188
+
1189
+ var fe = {};
1190
+
1191
+ function ce(e, t) {
1192
+ return he(e, t);
1193
+ }
1194
+
1195
+ function he(e, t, n) {
1196
+ let i;
1197
+ const s = {};
1198
+ for (let r = 0; r < e.length; r++) {
1199
+ const o = e[r];
1200
+ const a = de(o);
1201
+ let l = "";
1202
+ if (n === undefined) l = a; else l = n + "." + a;
1203
+ if (a === t.textNodeName) {
1204
+ if (i === undefined) i = o[a]; else i += "" + o[a];
1205
+ } else if (a === undefined) {
1206
+ continue;
1207
+ } else if (o[a]) {
1208
+ let e = he(o[a], t, l);
1209
+ const n = ge(e, t);
1210
+ if (o[":@"]) {
1211
+ pe(e, o[":@"], l, t);
1212
+ } else if (Object.keys(e).length === 1 && e[t.textNodeName] !== undefined && !t.alwaysCreateTextNode) {
1213
+ e = e[t.textNodeName];
1214
+ } else if (Object.keys(e).length === 0) {
1215
+ if (t.alwaysCreateTextNode) e[t.textNodeName] = ""; else e = "";
1216
+ }
1217
+ if (s[a] !== undefined && s.hasOwnProperty(a)) {
1218
+ if (!Array.isArray(s[a])) {
1219
+ s[a] = [ s[a] ];
1220
+ }
1221
+ s[a].push(e);
1222
+ } else {
1223
+ if (t.isArray(a, l, n)) {
1224
+ s[a] = [ e ];
1225
+ } else {
1226
+ s[a] = e;
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ if (typeof i === "string") {
1232
+ if (i.length > 0) s[t.textNodeName] = i;
1233
+ } else if (i !== undefined) s[t.textNodeName] = i;
1234
+ return s;
1235
+ }
1236
+
1237
+ function de(e) {
1238
+ const t = Object.keys(e);
1239
+ for (let e = 0; e < t.length; e++) {
1240
+ const n = t[e];
1241
+ if (n !== ":@") return n;
1242
+ }
1243
+ }
1244
+
1245
+ function pe(e, t, n, i) {
1246
+ if (t) {
1247
+ const s = Object.keys(t);
1248
+ const r = s.length;
1249
+ for (let o = 0; o < r; o++) {
1250
+ const r = s[o];
1251
+ if (i.isArray(r, n + "." + r, true, true)) {
1252
+ e[r] = [ t[r] ];
1253
+ } else {
1254
+ e[r] = t[r];
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+
1260
+ function ge(e, t) {
1261
+ const {textNodeName: n} = t;
1262
+ const i = Object.keys(e).length;
1263
+ if (i === 0) {
1264
+ return true;
1265
+ }
1266
+ if (i === 1 && (e[n] || typeof e[n] === "boolean" || e[n] === 0)) {
1267
+ return true;
1268
+ }
1269
+ return false;
1270
+ }
1271
+
1272
+ fe.prettify = ce;
1273
+
1274
+ const {buildOptions: me} = b;
1275
+
1276
+ const xe = ue;
1277
+
1278
+ const {prettify: Ne} = fe;
1279
+
1280
+ const be = e;
1281
+
1282
+ let Ee = class XMLParser {
1283
+ constructor(e) {
1284
+ this.externalEntities = {};
1285
+ this.options = me(e);
1286
+ }
1287
+ parse(e, t) {
1288
+ if (typeof e === "string") ; else if (e.toString) {
1289
+ e = e.toString();
1290
+ } else {
1291
+ throw new Error("XML data is accepted in String or Bytes[] form.");
1292
+ }
1293
+ if (t) {
1294
+ if (t === true) t = {};
1295
+ const n = be.validate(e, t);
1296
+ if (n !== true) {
1297
+ throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);
1298
+ }
1299
+ }
1300
+ const n = new xe(this.options);
1301
+ n.addExternalEntities(this.externalEntities);
1302
+ const i = n.parseXml(e);
1303
+ if (this.options.preserveOrder || i === undefined) return i; else return Ne(i, this.options);
1304
+ }
1305
+ addEntity(e, t) {
1306
+ if (t.indexOf("&") !== -1) {
1307
+ throw new Error("Entity value can't have '&'");
1308
+ } else if (e.indexOf("&") !== -1 || e.indexOf(";") !== -1) {
1309
+ throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");
1310
+ } else if (t === "&") {
1311
+ throw new Error("An entity with value '&' is not permitted");
1312
+ } else {
1313
+ this.externalEntities[e] = t;
1314
+ }
1315
+ }
1316
+ };
1317
+
1318
+ var ve = Ee;
1319
+
1320
+ const ye = "\n";
1321
+
1322
+ function Te(e, t) {
1323
+ let n = "";
1324
+ if (t.format && t.indentBy.length > 0) {
1325
+ n = ye;
1326
+ }
1327
+ return Oe(e, t, "", n);
1328
+ }
1329
+
1330
+ function Oe(e, t, n, i) {
1331
+ let s = "";
1332
+ let r = false;
1333
+ for (let o = 0; o < e.length; o++) {
1334
+ const a = e[o];
1335
+ const l = we(a);
1336
+ if (l === undefined) continue;
1337
+ let u = "";
1338
+ if (n.length === 0) u = l; else u = `${n}.${l}`;
1339
+ if (l === t.textNodeName) {
1340
+ let e = a[l];
1341
+ if (!Ae(u, t)) {
1342
+ e = t.tagValueProcessor(l, e);
1343
+ e = Ie(e, t);
1344
+ }
1345
+ if (r) {
1346
+ s += i;
1347
+ }
1348
+ s += e;
1349
+ r = false;
1350
+ continue;
1351
+ } else if (l === t.cdataPropName) {
1352
+ if (r) {
1353
+ s += i;
1354
+ }
1355
+ s += `<![CDATA[${a[l][0][t.textNodeName]}]]>`;
1356
+ r = false;
1357
+ continue;
1358
+ } else if (l === t.commentPropName) {
1359
+ s += i + `\x3c!--${a[l][0][t.textNodeName]}--\x3e`;
1360
+ r = true;
1361
+ continue;
1362
+ } else if (l[0] === "?") {
1363
+ const e = Pe(a[":@"], t);
1364
+ const n = l === "?xml" ? "" : i;
1365
+ let o = a[l][0][t.textNodeName];
1366
+ o = o.length !== 0 ? " " + o : "";
1367
+ s += n + `<${l}${o}${e}?>`;
1368
+ r = true;
1369
+ continue;
1370
+ }
1371
+ let f = i;
1372
+ if (f !== "") {
1373
+ f += t.indentBy;
1374
+ }
1375
+ const c = Pe(a[":@"], t);
1376
+ const h = i + `<${l}${c}`;
1377
+ const d = Oe(a[l], t, u, f);
1378
+ if (t.unpairedTags.indexOf(l) !== -1) {
1379
+ if (t.suppressUnpairedNode) s += h + ">"; else s += h + "/>";
1380
+ } else if ((!d || d.length === 0) && t.suppressEmptyNode) {
1381
+ s += h + "/>";
1382
+ } else if (d && d.endsWith(">")) {
1383
+ s += h + `>${d}${i}</${l}>`;
1384
+ } else {
1385
+ s += h + ">";
1386
+ if (d && i !== "" && (d.includes("/>") || d.includes("</"))) {
1387
+ s += i + t.indentBy + d + i;
1388
+ } else {
1389
+ s += d;
1390
+ }
1391
+ s += `</${l}>`;
1392
+ }
1393
+ r = true;
1394
+ }
1395
+ return s;
1396
+ }
1397
+
1398
+ function we(e) {
1399
+ const t = Object.keys(e);
1400
+ for (let n = 0; n < t.length; n++) {
1401
+ const i = t[n];
1402
+ if (!e.hasOwnProperty(i)) continue;
1403
+ if (i !== ":@") return i;
1404
+ }
1405
+ }
1406
+
1407
+ function Pe(e, t) {
1408
+ let n = "";
1409
+ if (e && !t.ignoreAttributes) {
1410
+ for (let i in e) {
1411
+ if (!e.hasOwnProperty(i)) continue;
1412
+ let s = t.attributeValueProcessor(i, e[i]);
1413
+ s = Ie(s, t);
1414
+ if (s === true && t.suppressBooleanAttributes) {
1415
+ n += ` ${i.substr(t.attributeNamePrefix.length)}`;
1416
+ } else {
1417
+ n += ` ${i.substr(t.attributeNamePrefix.length)}="${s}"`;
1418
+ }
1419
+ }
1420
+ }
1421
+ return n;
1422
+ }
1423
+
1424
+ function Ae(e, t) {
1425
+ e = e.substr(0, e.length - t.textNodeName.length - 1);
1426
+ let n = e.substr(e.lastIndexOf(".") + 1);
1427
+ for (let i in t.stopNodes) {
1428
+ if (t.stopNodes[i] === e || t.stopNodes[i] === "*." + n) return true;
1429
+ }
1430
+ return false;
1431
+ }
1432
+
1433
+ function Ie(e, t) {
1434
+ if (e && e.length > 0 && t.processEntities) {
1435
+ for (let n = 0; n < t.entities.length; n++) {
1436
+ const i = t.entities[n];
1437
+ e = e.replace(i.regex, i.val);
1438
+ }
1439
+ }
1440
+ return e;
1441
+ }
1442
+
1443
+ var Ce = Te;
1444
+
1445
+ const Se = Ce;
1446
+
1447
+ const Ve = B;
1448
+
1449
+ const je = {
1450
+ attributeNamePrefix: "@_",
1451
+ attributesGroupName: false,
1452
+ textNodeName: "#text",
1453
+ ignoreAttributes: true,
1454
+ cdataPropName: false,
1455
+ format: false,
1456
+ indentBy: " ",
1457
+ suppressEmptyNode: false,
1458
+ suppressUnpairedNode: true,
1459
+ suppressBooleanAttributes: true,
1460
+ tagValueProcessor: function(e, t) {
1461
+ return t;
1462
+ },
1463
+ attributeValueProcessor: function(e, t) {
1464
+ return t;
1465
+ },
1466
+ preserveOrder: false,
1467
+ commentPropName: false,
1468
+ unpairedTags: [],
1469
+ entities: [ {
1470
+ regex: new RegExp("&", "g"),
1471
+ val: "&amp;"
1472
+ }, {
1473
+ regex: new RegExp(">", "g"),
1474
+ val: "&gt;"
1475
+ }, {
1476
+ regex: new RegExp("<", "g"),
1477
+ val: "&lt;"
1478
+ }, {
1479
+ regex: new RegExp("'", "g"),
1480
+ val: "&apos;"
1481
+ }, {
1482
+ regex: new RegExp('"', "g"),
1483
+ val: "&quot;"
1484
+ } ],
1485
+ processEntities: true,
1486
+ stopNodes: [],
1487
+ oneListGroup: false
1488
+ };
1489
+
1490
+ function $e(e) {
1491
+ this.options = Object.assign({}, je, e);
1492
+ if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {
1493
+ this.isAttribute = function() {
1494
+ return false;
1495
+ };
1496
+ } else {
1497
+ this.ignoreAttributesFn = Ve(this.options.ignoreAttributes);
1498
+ this.attrPrefixLen = this.options.attributeNamePrefix.length;
1499
+ this.isAttribute = _e;
1500
+ }
1501
+ this.processTextOrObjNode = ke;
1502
+ if (this.options.format) {
1503
+ this.indentate = Fe;
1504
+ this.tagEndChar = ">\n";
1505
+ this.newLine = "\n";
1506
+ } else {
1507
+ this.indentate = function() {
1508
+ return "";
1509
+ };
1510
+ this.tagEndChar = ">";
1511
+ this.newLine = "";
1512
+ }
1513
+ }
1514
+
1515
+ $e.prototype.build = function(e) {
1516
+ if (this.options.preserveOrder) {
1517
+ return Se(e, this.options);
1518
+ } else {
1519
+ if (Array.isArray(e) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) {
1520
+ e = {
1521
+ [this.options.arrayNodeName]: e
1522
+ };
1523
+ }
1524
+ return this.j2x(e, 0, []).val;
1525
+ }
1526
+ };
1527
+
1528
+ $e.prototype.j2x = function(e, t, n) {
1529
+ let i = "";
1530
+ let s = "";
1531
+ const r = n.join(".");
1532
+ for (let o in e) {
1533
+ if (!Object.prototype.hasOwnProperty.call(e, o)) continue;
1534
+ if (typeof e[o] === "undefined") {
1535
+ if (this.isAttribute(o)) {
1536
+ s += "";
1537
+ }
1538
+ } else if (e[o] === null) {
1539
+ if (this.isAttribute(o)) {
1540
+ s += "";
1541
+ } else if (o === this.options.cdataPropName) {
1542
+ s += "";
1543
+ } else if (o[0] === "?") {
1544
+ s += this.indentate(t) + "<" + o + "?" + this.tagEndChar;
1545
+ } else {
1546
+ s += this.indentate(t) + "<" + o + "/" + this.tagEndChar;
1547
+ }
1548
+ } else if (e[o] instanceof Date) {
1549
+ s += this.buildTextValNode(e[o], o, "", t);
1550
+ } else if (typeof e[o] !== "object") {
1551
+ const n = this.isAttribute(o);
1552
+ if (n && !this.ignoreAttributesFn(n, r)) {
1553
+ i += this.buildAttrPairStr(n, "" + e[o]);
1554
+ } else if (!n) {
1555
+ if (o === this.options.textNodeName) {
1556
+ let t = this.options.tagValueProcessor(o, "" + e[o]);
1557
+ s += this.replaceEntitiesValue(t);
1558
+ } else {
1559
+ s += this.buildTextValNode(e[o], o, "", t);
1560
+ }
1561
+ }
1562
+ } else if (Array.isArray(e[o])) {
1563
+ const i = e[o].length;
1564
+ let r = "";
1565
+ let a = "";
1566
+ for (let l = 0; l < i; l++) {
1567
+ const i = e[o][l];
1568
+ if (typeof i === "undefined") ; else if (i === null) {
1569
+ if (o[0] === "?") s += this.indentate(t) + "<" + o + "?" + this.tagEndChar; else s += this.indentate(t) + "<" + o + "/" + this.tagEndChar;
1570
+ } else if (typeof i === "object") {
1571
+ if (this.options.oneListGroup) {
1572
+ const e = this.j2x(i, t + 1, n.concat(o));
1573
+ r += e.val;
1574
+ if (this.options.attributesGroupName && i.hasOwnProperty(this.options.attributesGroupName)) {
1575
+ a += e.attrStr;
1576
+ }
1577
+ } else {
1578
+ r += this.processTextOrObjNode(i, o, t, n);
1579
+ }
1580
+ } else {
1581
+ if (this.options.oneListGroup) {
1582
+ let e = this.options.tagValueProcessor(o, i);
1583
+ e = this.replaceEntitiesValue(e);
1584
+ r += e;
1585
+ } else {
1586
+ r += this.buildTextValNode(i, o, "", t);
1587
+ }
1588
+ }
1589
+ }
1590
+ if (this.options.oneListGroup) {
1591
+ r = this.buildObjectNode(r, o, a, t);
1592
+ }
1593
+ s += r;
1594
+ } else {
1595
+ if (this.options.attributesGroupName && o === this.options.attributesGroupName) {
1596
+ const t = Object.keys(e[o]);
1597
+ const n = t.length;
1598
+ for (let s = 0; s < n; s++) {
1599
+ i += this.buildAttrPairStr(t[s], "" + e[o][t[s]]);
1600
+ }
1601
+ } else {
1602
+ s += this.processTextOrObjNode(e[o], o, t, n);
1603
+ }
1604
+ }
1605
+ }
1606
+ return {
1607
+ attrStr: i,
1608
+ val: s
1609
+ };
1610
+ };
1611
+
1612
+ $e.prototype.buildAttrPairStr = function(e, t) {
1613
+ t = this.options.attributeValueProcessor(e, "" + t);
1614
+ t = this.replaceEntitiesValue(t);
1615
+ if (this.options.suppressBooleanAttributes && t === "true") {
1616
+ return " " + e;
1617
+ } else return " " + e + '="' + t + '"';
1618
+ };
1619
+
1620
+ function ke(e, t, n, i) {
1621
+ const s = this.j2x(e, n + 1, i.concat(t));
1622
+ if (e[this.options.textNodeName] !== undefined && Object.keys(e).length === 1) {
1623
+ return this.buildTextValNode(e[this.options.textNodeName], t, s.attrStr, n);
1624
+ } else {
1625
+ return this.buildObjectNode(s.val, t, s.attrStr, n);
1626
+ }
1627
+ }
1628
+
1629
+ $e.prototype.buildObjectNode = function(e, t, n, i) {
1630
+ if (e === "") {
1631
+ if (t[0] === "?") return this.indentate(i) + "<" + t + n + "?" + this.tagEndChar; else {
1632
+ return this.indentate(i) + "<" + t + n + this.closeTag(t) + this.tagEndChar;
1633
+ }
1634
+ } else {
1635
+ let s = "</" + t + this.tagEndChar;
1636
+ let r = "";
1637
+ if (t[0] === "?") {
1638
+ r = "?";
1639
+ s = "";
1640
+ }
1641
+ if ((n || n === "") && e.indexOf("<") === -1) {
1642
+ return this.indentate(i) + "<" + t + n + r + ">" + e + s;
1643
+ } else if (this.options.commentPropName !== false && t === this.options.commentPropName && r.length === 0) {
1644
+ return this.indentate(i) + `\x3c!--${e}--\x3e` + this.newLine;
1645
+ } else {
1646
+ return this.indentate(i) + "<" + t + n + r + this.tagEndChar + e + this.indentate(i) + s;
1647
+ }
1648
+ }
1649
+ };
1650
+
1651
+ $e.prototype.closeTag = function(e) {
1652
+ let t = "";
1653
+ if (this.options.unpairedTags.indexOf(e) !== -1) {
1654
+ if (!this.options.suppressUnpairedNode) t = "/";
1655
+ } else if (this.options.suppressEmptyNode) {
1656
+ t = "/";
1657
+ } else {
1658
+ t = `></${e}`;
1659
+ }
1660
+ return t;
1661
+ };
1662
+
1663
+ $e.prototype.buildTextValNode = function(e, t, n, i) {
1664
+ if (this.options.cdataPropName !== false && t === this.options.cdataPropName) {
1665
+ return this.indentate(i) + `<![CDATA[${e}]]>` + this.newLine;
1666
+ } else if (this.options.commentPropName !== false && t === this.options.commentPropName) {
1667
+ return this.indentate(i) + `\x3c!--${e}--\x3e` + this.newLine;
1668
+ } else if (t[0] === "?") {
1669
+ return this.indentate(i) + "<" + t + n + "?" + this.tagEndChar;
1670
+ } else {
1671
+ let s = this.options.tagValueProcessor(t, e);
1672
+ s = this.replaceEntitiesValue(s);
1673
+ if (s === "") {
1674
+ return this.indentate(i) + "<" + t + n + this.closeTag(t) + this.tagEndChar;
1675
+ } else {
1676
+ return this.indentate(i) + "<" + t + n + ">" + s + "</" + t + this.tagEndChar;
1677
+ }
1678
+ }
1679
+ };
1680
+
1681
+ $e.prototype.replaceEntitiesValue = function(e) {
1682
+ if (e && e.length > 0 && this.options.processEntities) {
1683
+ for (let t = 0; t < this.options.entities.length; t++) {
1684
+ const n = this.options.entities[t];
1685
+ e = e.replace(n.regex, n.val);
1686
+ }
1687
+ }
1688
+ return e;
1689
+ };
1690
+
1691
+ function Fe(e) {
1692
+ return this.options.indentBy.repeat(e);
1693
+ }
1694
+
1695
+ function _e(e) {
1696
+ if (e.startsWith(this.options.attributeNamePrefix) && e !== this.options.textNodeName) {
1697
+ return e.substr(this.attrPrefixLen);
1698
+ } else {
1699
+ return false;
1700
+ }
1701
+ }
1702
+
1703
+ var De = $e;
1704
+
1705
+ const Le = e;
1706
+
1707
+ const Me = ve;
1708
+
1709
+ const Xe = De;
1710
+
1711
+ var Be = {
1712
+ XMLParser: Me,
1713
+ XMLValidator: Le,
1714
+ XMLBuilder: Xe
1715
+ };
1716
+
1717
+ function Ge(e) {
13
1718
  try {
14
- e.fxp.XMLValidator.validate(r, {
1719
+ Be.XMLValidator.validate(e, {
15
1720
  allowBooleanAttributes: true
16
1721
  });
17
1722
  return true;
@@ -20,4 +1725,4 @@ function r(r) {
20
1725
  }
21
1726
  }
22
1727
 
23
- exports.IsXML = r;
1728
+ exports.IsXML = Ge;