lakutata 2.0.79 → 2.0.81

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 (394) hide show
  1. package/com/cacher.cjs +8 -10
  2. package/com/cacher.d.ts +83 -14
  3. package/com/cacher.mjs +8 -10
  4. package/com/database.cjs +11 -11
  5. package/com/database.mjs +11 -11
  6. package/com/docker.cjs +17 -19
  7. package/com/docker.d.ts +3 -141
  8. package/com/docker.mjs +13 -15
  9. package/com/entrypoint.cjs +7 -5
  10. package/com/entrypoint.mjs +7 -5
  11. package/com/logger.cjs +7 -7
  12. package/com/logger.mjs +7 -7
  13. package/com/monitor.cjs +5 -3
  14. package/com/monitor.mjs +5 -3
  15. package/decorator/ctrl.cjs +3 -3
  16. package/decorator/ctrl.mjs +3 -3
  17. package/decorator/orm.cjs +98 -98
  18. package/decorator/orm.mjs +142 -56
  19. package/helper.cjs +9 -11
  20. package/helper.mjs +5 -7
  21. package/lakutata.cjs +23 -30
  22. package/lakutata.mjs +14 -18
  23. package/orm.cjs +1423 -886
  24. package/orm.mjs +1474 -724
  25. package/package.json +1 -1
  26. package/provider/database.cjs +11 -11
  27. package/provider/database.mjs +11 -11
  28. package/provider/passwordHash.cjs +4 -2
  29. package/provider/passwordHash.mjs +4 -2
  30. package/src/components/Database.cjs +11 -11
  31. package/src/components/Database.mjs +11 -11
  32. package/src/components/Logger.cjs +7 -7
  33. package/src/components/Logger.mjs +7 -7
  34. package/src/components/cacher/Cacher.cjs +1178 -264
  35. package/src/components/cacher/Cacher.mjs +1087 -173
  36. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +479 -2963
  37. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +469 -2947
  38. package/src/components/docker/ConnectionOptionsBuilder.cjs +15 -17
  39. package/src/components/docker/ConnectionOptionsBuilder.mjs +13 -15
  40. package/src/components/docker/Docker.cjs +4884 -4945
  41. package/src/components/docker/Docker.mjs +4902 -4963
  42. package/src/components/docker/lib/DockerContainer.cjs +23 -25
  43. package/src/components/docker/lib/DockerContainer.mjs +17 -19
  44. package/src/components/docker/lib/DockerContainerTTY.cjs +9 -11
  45. package/src/components/docker/lib/DockerContainerTTY.mjs +9 -11
  46. package/src/components/docker/lib/DockerImage.cjs +4 -2
  47. package/src/components/docker/lib/DockerImage.mjs +4 -2
  48. package/src/components/entrypoint/Entrypoint.cjs +2170 -1678
  49. package/src/components/entrypoint/Entrypoint.mjs +2126 -1634
  50. package/src/components/entrypoint/lib/AccessControl.cjs +4 -2
  51. package/src/components/entrypoint/lib/AccessControl.mjs +4 -2
  52. package/src/components/entrypoint/lib/AccessControlRule.cjs +4 -2
  53. package/src/components/entrypoint/lib/AccessControlRule.mjs +4 -2
  54. package/src/components/entrypoint/lib/Controller.cjs +4 -2
  55. package/src/components/entrypoint/lib/Controller.mjs +4 -2
  56. package/src/components/monitor/AliveMonitor.cjs +4 -2
  57. package/src/components/monitor/AliveMonitor.mjs +4 -2
  58. package/src/components/monitor/CpuMonitor.cjs +5 -3
  59. package/src/components/monitor/CpuMonitor.mjs +5 -3
  60. package/src/components/monitor/EventLoopMonitor.cjs +4 -2
  61. package/src/components/monitor/EventLoopMonitor.mjs +4 -2
  62. package/src/components/monitor/HttpRequestMonitor.cjs +5 -3
  63. package/src/components/monitor/HttpRequestMonitor.mjs +5 -3
  64. package/src/components/monitor/MemoryMonitor.cjs +5 -3
  65. package/src/components/monitor/MemoryMonitor.mjs +5 -3
  66. package/src/decorators/ctrl/CLIAction.cjs +3 -3
  67. package/src/decorators/ctrl/CLIAction.mjs +3 -3
  68. package/src/decorators/ctrl/HTTPAction.cjs +3 -3
  69. package/src/decorators/ctrl/HTTPAction.mjs +3 -3
  70. package/src/decorators/ctrl/ServiceAction.cjs +3 -3
  71. package/src/decorators/ctrl/ServiceAction.mjs +3 -3
  72. package/src/decorators/ctrl/http/DELETE.cjs +3 -3
  73. package/src/decorators/ctrl/http/DELETE.mjs +3 -3
  74. package/src/decorators/ctrl/http/GET.cjs +3 -3
  75. package/src/decorators/ctrl/http/GET.mjs +3 -3
  76. package/src/decorators/ctrl/http/HEAD.cjs +3 -3
  77. package/src/decorators/ctrl/http/HEAD.mjs +3 -3
  78. package/src/decorators/ctrl/http/OPTIONS.cjs +3 -3
  79. package/src/decorators/ctrl/http/OPTIONS.mjs +3 -3
  80. package/src/decorators/ctrl/http/PATCH.cjs +3 -3
  81. package/src/decorators/ctrl/http/PATCH.mjs +3 -3
  82. package/src/decorators/ctrl/http/POST.cjs +3 -3
  83. package/src/decorators/ctrl/http/POST.mjs +3 -3
  84. package/src/decorators/ctrl/http/PUT.cjs +3 -3
  85. package/src/decorators/ctrl/http/PUT.mjs +3 -3
  86. package/src/decorators/orm/AfterInsert.cjs +17 -39
  87. package/src/decorators/orm/AfterInsert.mjs +18 -38
  88. package/src/decorators/orm/AfterLoad.cjs +17 -39
  89. package/src/decorators/orm/AfterLoad.mjs +18 -38
  90. package/src/decorators/orm/AfterRecover.cjs +17 -39
  91. package/src/decorators/orm/AfterRecover.mjs +18 -38
  92. package/src/decorators/orm/AfterRemove.cjs +17 -39
  93. package/src/decorators/orm/AfterRemove.mjs +18 -38
  94. package/src/decorators/orm/AfterSoftRemove.cjs +17 -39
  95. package/src/decorators/orm/AfterSoftRemove.mjs +18 -38
  96. package/src/decorators/orm/AfterUpdate.cjs +17 -39
  97. package/src/decorators/orm/AfterUpdate.mjs +18 -38
  98. package/src/decorators/orm/BeforeInsert.cjs +17 -39
  99. package/src/decorators/orm/BeforeInsert.mjs +18 -38
  100. package/src/decorators/orm/BeforeRecover.cjs +17 -39
  101. package/src/decorators/orm/BeforeRecover.mjs +18 -38
  102. package/src/decorators/orm/BeforeRemove.cjs +17 -39
  103. package/src/decorators/orm/BeforeRemove.mjs +18 -38
  104. package/src/decorators/orm/BeforeSoftRemove.cjs +17 -39
  105. package/src/decorators/orm/BeforeSoftRemove.mjs +18 -38
  106. package/src/decorators/orm/BeforeUpdate.cjs +17 -39
  107. package/src/decorators/orm/BeforeUpdate.mjs +18 -38
  108. package/src/decorators/orm/Check.cjs +17 -42
  109. package/src/decorators/orm/Check.mjs +18 -41
  110. package/src/decorators/orm/ChildEntity.cjs +17 -42
  111. package/src/decorators/orm/ChildEntity.mjs +18 -41
  112. package/src/decorators/orm/Column.cjs +17 -74
  113. package/src/decorators/orm/Column.mjs +19 -74
  114. package/src/decorators/orm/CreateDateColumn.cjs +17 -38
  115. package/src/decorators/orm/CreateDateColumn.mjs +18 -37
  116. package/src/decorators/orm/DeleteDateColumn.cjs +17 -38
  117. package/src/decorators/orm/DeleteDateColumn.mjs +17 -36
  118. package/src/decorators/orm/Entity.cjs +17 -48
  119. package/src/decorators/orm/Entity.mjs +17 -46
  120. package/src/decorators/orm/EventSubscriber.cjs +17 -35
  121. package/src/decorators/orm/EventSubscriber.mjs +18 -34
  122. package/src/decorators/orm/Exclusion.cjs +17 -42
  123. package/src/decorators/orm/Exclusion.mjs +18 -41
  124. package/src/decorators/orm/Generated.cjs +17 -37
  125. package/src/decorators/orm/Generated.mjs +18 -36
  126. package/src/decorators/orm/Index.cjs +17 -54
  127. package/src/decorators/orm/Index.mjs +19 -54
  128. package/src/decorators/orm/JoinColumn.cjs +17 -42
  129. package/src/decorators/orm/JoinColumn.mjs +18 -41
  130. package/src/decorators/orm/JoinTable.cjs +17 -43
  131. package/src/decorators/orm/JoinTable.mjs +17 -41
  132. package/src/decorators/orm/ManyToMany.cjs +17 -55
  133. package/src/decorators/orm/ManyToMany.mjs +17 -53
  134. package/src/decorators/orm/ManyToOne.cjs +17 -55
  135. package/src/decorators/orm/ManyToOne.mjs +17 -53
  136. package/src/decorators/orm/ObjectIdColumn.cjs +17 -41
  137. package/src/decorators/orm/ObjectIdColumn.mjs +18 -40
  138. package/src/decorators/orm/OneToMany.cjs +17 -47
  139. package/src/decorators/orm/OneToMany.mjs +19 -47
  140. package/src/decorators/orm/OneToOne.cjs +17 -55
  141. package/src/decorators/orm/OneToOne.mjs +17 -53
  142. package/src/decorators/orm/PrimaryColumn.cjs +17 -62
  143. package/src/decorators/orm/PrimaryColumn.mjs +19 -62
  144. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +17 -67
  145. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +19 -67
  146. package/src/decorators/orm/RelationId.cjs +17 -39
  147. package/src/decorators/orm/RelationId.mjs +18 -38
  148. package/src/decorators/orm/TableInheritance.cjs +17 -39
  149. package/src/decorators/orm/TableInheritance.mjs +18 -38
  150. package/src/decorators/orm/Tree.cjs +17 -37
  151. package/src/decorators/orm/Tree.mjs +18 -36
  152. package/src/decorators/orm/TreeChildren.cjs +17 -44
  153. package/src/decorators/orm/TreeChildren.mjs +17 -42
  154. package/src/decorators/orm/TreeLevelColumn.cjs +17 -38
  155. package/src/decorators/orm/TreeLevelColumn.mjs +17 -36
  156. package/src/decorators/orm/TreeParent.cjs +17 -44
  157. package/src/decorators/orm/TreeParent.mjs +17 -42
  158. package/src/decorators/orm/Unique.cjs +17 -57
  159. package/src/decorators/orm/Unique.mjs +19 -57
  160. package/src/decorators/orm/UpdateDateColumn.cjs +17 -38
  161. package/src/decorators/orm/UpdateDateColumn.mjs +18 -37
  162. package/src/decorators/orm/VersionColumn.cjs +17 -38
  163. package/src/decorators/orm/VersionColumn.mjs +18 -37
  164. package/src/decorators/orm/ViewColumn.cjs +17 -38
  165. package/src/decorators/orm/ViewColumn.mjs +18 -37
  166. package/src/decorators/orm/ViewEntity.cjs +17 -47
  167. package/src/decorators/orm/ViewEntity.mjs +18 -46
  168. package/src/decorators/orm/VirtualColumn.cjs +17 -55
  169. package/src/decorators/orm/VirtualColumn.mjs +17 -53
  170. package/src/lib/base/BaseObject.cjs +4 -2
  171. package/src/lib/base/BaseObject.mjs +4 -2
  172. package/src/lib/base/EventEmitter.cjs +1200 -1193
  173. package/src/lib/base/EventEmitter.mjs +1201 -1194
  174. package/src/lib/base/internal/ApplicationConfigLoader.cjs +4 -2
  175. package/src/lib/base/internal/ApplicationConfigLoader.mjs +4 -2
  176. package/src/lib/base/internal/ControllerEntrypoint.cjs +3 -3
  177. package/src/lib/base/internal/ControllerEntrypoint.mjs +3 -3
  178. package/src/lib/base/internal/DataValidator.cjs +176 -179
  179. package/src/lib/base/internal/DataValidator.mjs +177 -180
  180. package/src/lib/base/internal/ModuleConfigLoader.cjs +4 -3
  181. package/src/lib/base/internal/ModuleConfigLoader.mjs +4 -3
  182. package/src/lib/base/internal/ObjectType.cjs +4 -2
  183. package/src/lib/base/internal/ObjectType.mjs +4 -2
  184. package/src/lib/base/internal/PatternManager.cjs +740 -735
  185. package/src/lib/base/internal/PatternManager.mjs +745 -740
  186. package/src/lib/base/internal/StringifyPattern.cjs +1 -1
  187. package/src/lib/base/internal/StringifyPattern.mjs +1 -1
  188. package/src/lib/core/Application.cjs +154 -146
  189. package/src/lib/core/Application.mjs +203 -197
  190. package/src/lib/core/Component.cjs +4 -2
  191. package/src/lib/core/Component.mjs +4 -2
  192. package/src/lib/core/Container.cjs +4 -2
  193. package/src/lib/core/Container.mjs +4 -2
  194. package/src/lib/core/Module.cjs +5 -3
  195. package/src/lib/core/Module.mjs +5 -3
  196. package/src/lib/core/Provider.cjs +4 -2
  197. package/src/lib/core/Provider.mjs +4 -2
  198. package/src/lib/helpers/Glob.cjs +970 -721
  199. package/src/lib/helpers/Glob.mjs +1036 -787
  200. package/src/lib/helpers/IsHtml.cjs +7 -13
  201. package/src/lib/helpers/IsHtml.mjs +7 -13
  202. package/src/lib/helpers/IsXML.cjs +1158 -1016
  203. package/src/lib/helpers/IsXML.mjs +871 -729
  204. package/src/lib/helpers/MD5.cjs +1 -1
  205. package/src/lib/helpers/MD5.mjs +1 -1
  206. package/src/lib/helpers/NonceStr.cjs +1 -1
  207. package/src/lib/helpers/NonceStr.mjs +1 -1
  208. package/src/lib/helpers/ObjectHash.cjs +379 -372
  209. package/src/lib/helpers/ObjectHash.mjs +379 -372
  210. package/src/lib/helpers/RandomString.cjs +168 -147
  211. package/src/lib/helpers/RandomString.mjs +167 -146
  212. package/src/lib/helpers/SHA1.cjs +1 -1
  213. package/src/lib/helpers/SHA1.mjs +1 -1
  214. package/src/lib/helpers/SHA256.cjs +1 -1
  215. package/src/lib/helpers/SHA256.mjs +1 -1
  216. package/src/lib/helpers/SortArray.cjs +1 -1
  217. package/src/lib/helpers/SortArray.mjs +1 -1
  218. package/src/lib/helpers/Statistics.cjs +1 -1
  219. package/src/lib/helpers/Statistics.mjs +1 -1
  220. package/src/lib/helpers/URLBuilder.cjs +355 -355
  221. package/src/lib/helpers/URLBuilder.mjs +350 -350
  222. package/src/lib/helpers/UUID.cjs +1 -1
  223. package/src/lib/helpers/UUID.mjs +1 -1
  224. package/src/lib/ioc/DependencyInjectionContainer.cjs +32 -30
  225. package/src/lib/ioc/DependencyInjectionContainer.mjs +12 -10
  226. package/src/lib/ioc/ListModules.cjs +5174 -5249
  227. package/src/lib/ioc/ListModules.mjs +5177 -5252
  228. package/src/lib/validation/VLD.cjs +4080 -3902
  229. package/src/lib/validation/VLD.mjs +2970 -2792
  230. package/src/options/ApplicationOptions.cjs +4 -2
  231. package/src/options/ApplicationOptions.mjs +4 -2
  232. package/src/options/LoadAnonymousObjectOptions.cjs +4 -2
  233. package/src/options/LoadAnonymousObjectOptions.mjs +4 -2
  234. package/src/options/LoadNamedObjectOptions.cjs +4 -2
  235. package/src/options/LoadNamedObjectOptions.mjs +4 -2
  236. package/src/options/LoadObjectOptions.cjs +4 -2
  237. package/src/options/LoadObjectOptions.mjs +4 -2
  238. package/src/options/ModuleLoadObjectsOptions.cjs +4 -2
  239. package/src/options/ModuleLoadObjectsOptions.mjs +4 -2
  240. package/src/options/ModuleOptions.cjs +4 -4
  241. package/src/options/ModuleOptions.mjs +4 -4
  242. package/src/options/OverridableNamedObjectOptions.cjs +4 -2
  243. package/src/options/OverridableNamedObjectOptions.mjs +4 -2
  244. package/src/options/OverridableObjectOptions.cjs +4 -2
  245. package/src/options/OverridableObjectOptions.mjs +4 -2
  246. package/src/providers/Database.cjs +11 -11
  247. package/src/providers/Database.mjs +11 -11
  248. package/src/providers/PasswordHash.cjs +5 -3
  249. package/src/providers/PasswordHash.mjs +190 -188
  250. package/src/providers/migration/GenerateMigration.cjs +15 -19
  251. package/src/providers/migration/GenerateMigration.mjs +15 -19
  252. package/vendor/Package.10.cjs +2 -8
  253. package/vendor/Package.10.mjs +2 -8
  254. package/vendor/Package.11.cjs +5 -83
  255. package/vendor/Package.11.mjs +5 -77
  256. package/vendor/Package.112.cjs +48900 -0
  257. package/vendor/Package.112.mjs +48764 -0
  258. package/vendor/Package.12.cjs +4 -2
  259. package/vendor/Package.12.mjs +6 -4
  260. package/vendor/Package.13.cjs +87 -1
  261. package/vendor/Package.13.mjs +81 -1
  262. package/vendor/Package.14.cjs +1 -14057
  263. package/vendor/Package.14.mjs +1 -14031
  264. package/vendor/Package.15.cjs +1 -1
  265. package/vendor/Package.15.mjs +1 -1
  266. package/vendor/Package.16.cjs +18129 -1935
  267. package/vendor/Package.16.mjs +18115 -1839
  268. package/vendor/Package.17.cjs +1922 -47929
  269. package/vendor/Package.17.mjs +1874 -47948
  270. package/vendor/Package.18.cjs +35 -1
  271. package/vendor/Package.18.mjs +35 -1
  272. package/vendor/Package.19.cjs +37 -0
  273. package/vendor/Package.19.mjs +35 -0
  274. package/vendor/Package.2.cjs +5739 -5710
  275. package/vendor/Package.2.mjs +5733 -5704
  276. package/vendor/Package.20.cjs +37 -0
  277. package/vendor/Package.20.mjs +35 -0
  278. package/vendor/Package.21.cjs +37 -0
  279. package/vendor/Package.21.mjs +35 -0
  280. package/vendor/Package.22.cjs +37 -0
  281. package/vendor/Package.22.mjs +35 -0
  282. package/vendor/Package.23.cjs +37 -0
  283. package/vendor/Package.23.mjs +35 -0
  284. package/vendor/Package.24.cjs +37 -0
  285. package/vendor/Package.24.mjs +35 -0
  286. package/vendor/Package.25.cjs +37 -0
  287. package/vendor/Package.25.mjs +35 -0
  288. package/vendor/Package.26.cjs +37 -0
  289. package/vendor/Package.26.mjs +35 -0
  290. package/vendor/Package.27.cjs +37 -0
  291. package/vendor/Package.27.mjs +35 -0
  292. package/vendor/Package.28.cjs +37 -0
  293. package/vendor/Package.28.mjs +35 -0
  294. package/vendor/Package.29.cjs +40 -0
  295. package/vendor/Package.29.mjs +38 -0
  296. package/vendor/Package.30.cjs +41 -0
  297. package/vendor/Package.30.mjs +39 -0
  298. package/vendor/Package.31.cjs +72 -0
  299. package/vendor/Package.31.mjs +70 -0
  300. package/vendor/Package.32.cjs +37 -0
  301. package/vendor/Package.32.mjs +35 -0
  302. package/vendor/Package.33.cjs +37 -0
  303. package/vendor/Package.33.mjs +35 -0
  304. package/vendor/Package.34.cjs +46 -0
  305. package/vendor/Package.34.mjs +44 -0
  306. package/vendor/Package.35.cjs +34 -0
  307. package/vendor/Package.35.mjs +32 -0
  308. package/vendor/Package.36.cjs +40 -0
  309. package/vendor/Package.36.mjs +38 -0
  310. package/vendor/Package.37.cjs +36 -0
  311. package/vendor/Package.37.mjs +34 -0
  312. package/vendor/Package.38.cjs +52 -0
  313. package/vendor/Package.38.mjs +50 -0
  314. package/vendor/Package.39.cjs +41 -0
  315. package/vendor/Package.39.mjs +39 -0
  316. package/vendor/Package.4.cjs +884 -874
  317. package/vendor/Package.4.mjs +884 -874
  318. package/vendor/Package.40.cjs +42 -0
  319. package/vendor/Package.40.mjs +40 -0
  320. package/vendor/Package.41.cjs +53 -0
  321. package/vendor/Package.41.mjs +51 -0
  322. package/vendor/Package.42.cjs +53 -0
  323. package/vendor/Package.42.mjs +51 -0
  324. package/vendor/Package.43.cjs +40 -0
  325. package/vendor/Package.43.mjs +38 -0
  326. package/vendor/Package.44.cjs +46 -0
  327. package/vendor/Package.44.mjs +44 -0
  328. package/vendor/Package.45.cjs +53 -0
  329. package/vendor/Package.45.mjs +51 -0
  330. package/vendor/Package.46.cjs +59 -0
  331. package/vendor/Package.46.mjs +57 -0
  332. package/vendor/Package.47.cjs +65 -0
  333. package/vendor/Package.47.mjs +63 -0
  334. package/vendor/Package.48.cjs +38 -0
  335. package/vendor/Package.48.mjs +36 -0
  336. package/vendor/Package.49.cjs +38 -0
  337. package/vendor/Package.49.mjs +36 -0
  338. package/vendor/Package.5.cjs +15 -11
  339. package/vendor/Package.5.mjs +11 -7
  340. package/vendor/Package.50.cjs +36 -0
  341. package/vendor/Package.50.mjs +34 -0
  342. package/vendor/Package.51.cjs +43 -0
  343. package/vendor/Package.51.mjs +41 -0
  344. package/vendor/Package.52.cjs +37 -0
  345. package/vendor/Package.52.mjs +35 -0
  346. package/vendor/Package.53.cjs +43 -0
  347. package/vendor/Package.53.mjs +41 -0
  348. package/vendor/Package.54.cjs +55 -0
  349. package/vendor/Package.54.mjs +53 -0
  350. package/vendor/Package.55.cjs +37 -0
  351. package/vendor/Package.55.mjs +35 -0
  352. package/vendor/Package.56.cjs +37 -0
  353. package/vendor/Package.56.mjs +35 -0
  354. package/vendor/Package.57.cjs +37 -0
  355. package/vendor/Package.57.mjs +35 -0
  356. package/vendor/Package.58.cjs +45 -0
  357. package/vendor/Package.58.mjs +43 -0
  358. package/vendor/Package.59.cjs +53 -0
  359. package/vendor/Package.59.mjs +51 -0
  360. package/vendor/Package.6.cjs +520 -511
  361. package/vendor/Package.6.mjs +543 -534
  362. package/vendor/Package.60.cjs +47649 -0
  363. package/vendor/Package.60.mjs +47606 -0
  364. package/vendor/Package.610.cjs +11 -11
  365. package/vendor/Package.610.mjs +11 -11
  366. package/vendor/Package.611.cjs +33 -23
  367. package/vendor/Package.611.mjs +19 -9
  368. package/vendor/Package.612.cjs +42 -36
  369. package/vendor/Package.612.mjs +35 -29
  370. package/vendor/Package.613.cjs +5 -4
  371. package/vendor/Package.613.mjs +5 -4
  372. package/vendor/Package.62.cjs +92 -89
  373. package/vendor/Package.62.mjs +185 -182
  374. package/vendor/Package.63.cjs +509 -166
  375. package/vendor/Package.63.mjs +490 -165
  376. package/vendor/Package.64.cjs +139 -511
  377. package/vendor/Package.64.mjs +139 -491
  378. package/vendor/Package.65.cjs +4135 -150
  379. package/vendor/Package.65.mjs +4143 -150
  380. package/vendor/Package.66.cjs +346 -4150
  381. package/vendor/Package.66.mjs +346 -4158
  382. package/vendor/Package.67.cjs +412 -261
  383. package/vendor/Package.67.mjs +410 -259
  384. package/vendor/Package.68.cjs +397 -405
  385. package/vendor/Package.68.mjs +227 -242
  386. package/vendor/Package.8.cjs +0 -4
  387. package/vendor/Package.8.mjs +0 -4
  388. package/vendor/Package.9.cjs +132 -118
  389. package/vendor/Package.9.mjs +138 -124
  390. package/vendor/TypeDef.internal.3.d.ts +0 -4
  391. package/vendor/Package.102.cjs +0 -48773
  392. package/vendor/Package.102.mjs +0 -48697
  393. package/vendor/Package.122.cjs +0 -3
  394. package/vendor/Package.122.mjs +0 -1
@@ -1,405 +1,405 @@
1
- import { g as e, c as t } from "../../../vendor/Package.5.mjs";
1
+ import { c as e, g as t } from "../../../vendor/Package.5.mjs";
2
2
 
3
- "use strict";
3
+ var s;
4
4
 
5
- var s = function e(t, s) {
6
- s = s.split(":")[0];
7
- t = +t;
8
- if (!t) return false;
9
- switch (s) {
10
- case "http":
11
- case "ws":
12
- return t !== 80;
5
+ var o;
13
6
 
14
- case "https":
15
- case "wss":
16
- return t !== 443;
7
+ function r() {
8
+ if (o) return s;
9
+ o = 1;
10
+ "use strict";
11
+ s = function e(t, s) {
12
+ s = s.split(":")[0];
13
+ t = +t;
14
+ if (!t) return false;
15
+ switch (s) {
16
+ case "http":
17
+ case "ws":
18
+ return t !== 80;
17
19
 
18
- case "ftp":
19
- return t !== 21;
20
+ case "https":
21
+ case "wss":
22
+ return t !== 443;
20
23
 
21
- case "gopher":
22
- return t !== 70;
24
+ case "ftp":
25
+ return t !== 21;
23
26
 
24
- case "file":
25
- return false;
26
- }
27
- return t !== 0;
28
- };
29
-
30
- const o = e(s);
27
+ case "gopher":
28
+ return t !== 70;
31
29
 
32
- var r = {};
30
+ case "file":
31
+ return false;
32
+ }
33
+ return t !== 0;
34
+ };
35
+ return s;
36
+ }
33
37
 
34
- "use strict";
38
+ var n = {};
35
39
 
36
- var n = Object.prototype.hasOwnProperty, i;
40
+ var i;
37
41
 
38
- function a(e) {
39
- try {
40
- return decodeURIComponent(e.replace(/\+/g, " "));
41
- } catch (e) {
42
- return null;
42
+ function a() {
43
+ if (i) return n;
44
+ i = 1;
45
+ "use strict";
46
+ var e = Object.prototype.hasOwnProperty, t;
47
+ function s(e) {
48
+ try {
49
+ return decodeURIComponent(e.replace(/\+/g, " "));
50
+ } catch (e) {
51
+ return null;
52
+ }
43
53
  }
44
- }
45
-
46
- function h(e) {
47
- try {
48
- return encodeURIComponent(e);
49
- } catch (e) {
50
- return null;
54
+ function o(e) {
55
+ try {
56
+ return encodeURIComponent(e);
57
+ } catch (e) {
58
+ return null;
59
+ }
51
60
  }
52
- }
53
-
54
- function l(e) {
55
- var t = /([^=?#&]+)=?([^&]*)/g, s = {}, o;
56
- while (o = t.exec(e)) {
57
- var r = a(o[1]), n = a(o[2]);
58
- if (r === null || n === null || r in s) continue;
59
- s[r] = n;
61
+ function r(e) {
62
+ var t = /([^=?#&]+)=?([^&]*)/g, o = {}, r;
63
+ while (r = t.exec(e)) {
64
+ var n = s(r[1]), i = s(r[2]);
65
+ if (n === null || i === null || n in o) continue;
66
+ o[n] = i;
67
+ }
68
+ return o;
60
69
  }
61
- return s;
62
- }
63
-
64
- function c(e, t) {
65
- t = t || "";
66
- var s = [], o, r;
67
- if ("string" !== typeof t) t = "?";
68
- for (r in e) {
69
- if (n.call(e, r)) {
70
- o = e[r];
71
- if (!o && (o === null || o === i || isNaN(o))) {
72
- o = "";
70
+ function a(s, r) {
71
+ r = r || "";
72
+ var n = [], i, a;
73
+ if ("string" !== typeof r) r = "?";
74
+ for (a in s) {
75
+ if (e.call(s, a)) {
76
+ i = s[a];
77
+ if (!i && (i === null || i === t || isNaN(i))) {
78
+ i = "";
79
+ }
80
+ a = o(a);
81
+ i = o(i);
82
+ if (a === null || i === null) continue;
83
+ n.push(a + "=" + i);
73
84
  }
74
- r = h(r);
75
- o = h(o);
76
- if (r === null || o === null) continue;
77
- s.push(r + "=" + o);
78
85
  }
86
+ return n.length ? r + n.join("&") : "";
79
87
  }
80
- return s.length ? t + s.join("&") : "";
81
- }
82
-
83
- var f = r.stringify = c;
84
-
85
- var u = r.parse = l;
86
-
87
- "use strict";
88
-
89
- var p = s, d = r, m = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/, w = /[\n\r\t]/g, g = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, y = /:\d+$/, v = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, b = /^[a-zA-Z]:/;
90
-
91
- function j(e) {
92
- return (e ? e : "").toString().replace(m, "");
88
+ n.stringify = a;
89
+ n.parse = r;
90
+ return n;
93
91
  }
94
92
 
95
- var O = [ [ "#", "hash" ], [ "?", "query" ], function e(t, s) {
96
- return U(s.protocol) ? t.replace(/\\/g, "/") : t;
97
- }, [ "/", "pathname" ], [ "@", "auth", 1 ], [ NaN, "host", undefined, 1, 1 ], [ /:(\d*)$/, "port", undefined, 1 ], [ NaN, "hostname", undefined, 1, 1 ] ];
93
+ var h;
98
94
 
99
- var C = {
100
- hash: 1,
101
- query: 1
102
- };
95
+ var l;
103
96
 
104
- function R(e) {
105
- var s;
106
- if (typeof window !== "undefined") s = window; else if (typeof t !== "undefined") s = t; else if (typeof self !== "undefined") s = self; else s = {};
107
- var o = s.location || {};
108
- e = e || o;
109
- var r = {}, n = typeof e, i;
110
- if ("blob:" === e.protocol) {
111
- r = new x(unescape(e.pathname), {});
112
- } else if ("string" === n) {
113
- r = new x(e, {});
114
- for (i in C) delete r[i];
115
- } else if ("object" === n) {
116
- for (i in e) {
117
- if (i in C) continue;
118
- r[i] = e[i];
119
- }
120
- if (r.slashes === undefined) {
121
- r.slashes = g.test(e.href);
97
+ function f() {
98
+ if (l) return h;
99
+ l = 1;
100
+ "use strict";
101
+ var t = r(), s = a(), o = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/, n = /[\n\r\t]/g, i = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, f = /:\d+$/, u = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, c = /^[a-zA-Z]:/;
102
+ function p(e) {
103
+ return (e ? e : "").toString().replace(o, "");
104
+ }
105
+ var d = [ [ "#", "hash" ], [ "?", "query" ], function e(t, s) {
106
+ return g(s.protocol) ? t.replace(/\\/g, "/") : t;
107
+ }, [ "/", "pathname" ], [ "@", "auth", 1 ], [ NaN, "host", undefined, 1, 1 ], [ /:(\d*)$/, "port", undefined, 1 ], [ NaN, "hostname", undefined, 1, 1 ] ];
108
+ var m = {
109
+ hash: 1,
110
+ query: 1
111
+ };
112
+ function w(t) {
113
+ var s;
114
+ if (typeof window !== "undefined") s = window; else if (typeof e !== "undefined") s = e; else if (typeof self !== "undefined") s = self; else s = {};
115
+ var o = s.location || {};
116
+ t = t || o;
117
+ var r = {}, n = typeof t, a;
118
+ if ("blob:" === t.protocol) {
119
+ r = new b(unescape(t.pathname), {});
120
+ } else if ("string" === n) {
121
+ r = new b(t, {});
122
+ for (a in m) delete r[a];
123
+ } else if ("object" === n) {
124
+ for (a in t) {
125
+ if (a in m) continue;
126
+ r[a] = t[a];
127
+ }
128
+ if (r.slashes === undefined) {
129
+ r.slashes = i.test(t.href);
130
+ }
122
131
  }
132
+ return r;
123
133
  }
124
- return r;
125
- }
126
-
127
- function U(e) {
128
- return e === "file:" || e === "ftp:" || e === "http:" || e === "https:" || e === "ws:" || e === "wss:";
129
- }
130
-
131
- function I(e, t) {
132
- e = j(e);
133
- e = e.replace(w, "");
134
- t = t || {};
135
- var s = v.exec(e);
136
- var o = s[1] ? s[1].toLowerCase() : "";
137
- var r = !!s[2];
138
- var n = !!s[3];
139
- var i = 0;
140
- var a;
141
- if (r) {
142
- if (n) {
143
- a = s[2] + s[3] + s[4];
144
- i = s[2].length + s[3].length;
134
+ function g(e) {
135
+ return e === "file:" || e === "ftp:" || e === "http:" || e === "https:" || e === "ws:" || e === "wss:";
136
+ }
137
+ function y(e, t) {
138
+ e = p(e);
139
+ e = e.replace(n, "");
140
+ t = t || {};
141
+ var s = u.exec(e);
142
+ var o = s[1] ? s[1].toLowerCase() : "";
143
+ var r = !!s[2];
144
+ var i = !!s[3];
145
+ var a = 0;
146
+ var h;
147
+ if (r) {
148
+ if (i) {
149
+ h = s[2] + s[3] + s[4];
150
+ a = s[2].length + s[3].length;
151
+ } else {
152
+ h = s[2] + s[4];
153
+ a = s[2].length;
154
+ }
145
155
  } else {
146
- a = s[2] + s[4];
147
- i = s[2].length;
156
+ if (i) {
157
+ h = s[3] + s[4];
158
+ a = s[3].length;
159
+ } else {
160
+ h = s[4];
161
+ }
148
162
  }
149
- } else {
150
- if (n) {
151
- a = s[3] + s[4];
152
- i = s[3].length;
153
- } else {
154
- a = s[4];
163
+ if (o === "file:") {
164
+ if (a >= 2) {
165
+ h = h.slice(2);
166
+ }
167
+ } else if (g(o)) {
168
+ h = s[4];
169
+ } else if (o) {
170
+ if (r) {
171
+ h = h.slice(2);
172
+ }
173
+ } else if (a >= 2 && g(t.protocol)) {
174
+ h = s[4];
155
175
  }
176
+ return {
177
+ protocol: o,
178
+ slashes: r || g(o),
179
+ slashesCount: a,
180
+ rest: h
181
+ };
156
182
  }
157
- if (o === "file:") {
158
- if (i >= 2) {
159
- a = a.slice(2);
160
- }
161
- } else if (U(o)) {
162
- a = s[4];
163
- } else if (o) {
164
- if (r) {
165
- a = a.slice(2);
183
+ function v(e, t) {
184
+ if (e === "") return t;
185
+ var s = (t || "/").split("/").slice(0, -1).concat(e.split("/")), o = s.length, r = s[o - 1], n = false, i = 0;
186
+ while (o--) {
187
+ if (s[o] === ".") {
188
+ s.splice(o, 1);
189
+ } else if (s[o] === "..") {
190
+ s.splice(o, 1);
191
+ i++;
192
+ } else if (i) {
193
+ if (o === 0) n = true;
194
+ s.splice(o, 1);
195
+ i--;
196
+ }
166
197
  }
167
- } else if (i >= 2 && U(t.protocol)) {
168
- a = s[4];
198
+ if (n) s.unshift("");
199
+ if (r === "." || r === "..") s.push("");
200
+ return s.join("/");
169
201
  }
170
- return {
171
- protocol: o,
172
- slashes: r || U(o),
173
- slashesCount: i,
174
- rest: a
175
- };
176
- }
177
-
178
- function q(e, t) {
179
- if (e === "") return t;
180
- var s = (t || "/").split("/").slice(0, -1).concat(e.split("/")), o = s.length, r = s[o - 1], n = false, i = 0;
181
- while (o--) {
182
- if (s[o] === ".") {
183
- s.splice(o, 1);
184
- } else if (s[o] === "..") {
185
- s.splice(o, 1);
186
- i++;
187
- } else if (i) {
188
- if (o === 0) n = true;
189
- s.splice(o, 1);
190
- i--;
202
+ function b(e, o, r) {
203
+ e = p(e);
204
+ e = e.replace(n, "");
205
+ if (!(this instanceof b)) {
206
+ return new b(e, o, r);
191
207
  }
192
- }
193
- if (n) s.unshift("");
194
- if (r === "." || r === "..") s.push("");
195
- return s.join("/");
196
- }
197
-
198
- function x(e, t, s) {
199
- e = j(e);
200
- e = e.replace(w, "");
201
- if (!(this instanceof x)) {
202
- return new x(e, t, s);
203
- }
204
- var o, r, n, i, a, h, l = O.slice(), c = typeof t, f = this, u = 0;
205
- if ("object" !== c && "string" !== c) {
206
- s = t;
207
- t = null;
208
- }
209
- if (s && "function" !== typeof s) s = d.parse;
210
- t = R(t);
211
- r = I(e || "", t);
212
- o = !r.protocol && !r.slashes;
213
- f.slashes = r.slashes || o && t.slashes;
214
- f.protocol = r.protocol || t.protocol || "";
215
- e = r.rest;
216
- if (r.protocol === "file:" && (r.slashesCount !== 2 || b.test(e)) || !r.slashes && (r.protocol || r.slashesCount < 2 || !U(f.protocol))) {
217
- l[3] = [ /(.*)/, "pathname" ];
218
- }
219
- for (;u < l.length; u++) {
220
- i = l[u];
221
- if (typeof i === "function") {
222
- e = i(e, f);
223
- continue;
208
+ var i, a, h, l, f, u, m = d.slice(), j = typeof o, O = this, C = 0;
209
+ if ("object" !== j && "string" !== j) {
210
+ r = o;
211
+ o = null;
224
212
  }
225
- n = i[0];
226
- h = i[1];
227
- if (n !== n) {
228
- f[h] = e;
229
- } else if ("string" === typeof n) {
230
- a = n === "@" ? e.lastIndexOf(n) : e.indexOf(n);
231
- if (~a) {
232
- if ("number" === typeof i[2]) {
233
- f[h] = e.slice(0, a);
234
- e = e.slice(a + i[2]);
235
- } else {
236
- f[h] = e.slice(a);
237
- e = e.slice(0, a);
213
+ if (r && "function" !== typeof r) r = s.parse;
214
+ o = w(o);
215
+ a = y(e || "", o);
216
+ i = !a.protocol && !a.slashes;
217
+ O.slashes = a.slashes || i && o.slashes;
218
+ O.protocol = a.protocol || o.protocol || "";
219
+ e = a.rest;
220
+ if (a.protocol === "file:" && (a.slashesCount !== 2 || c.test(e)) || !a.slashes && (a.protocol || a.slashesCount < 2 || !g(O.protocol))) {
221
+ m[3] = [ /(.*)/, "pathname" ];
222
+ }
223
+ for (;C < m.length; C++) {
224
+ l = m[C];
225
+ if (typeof l === "function") {
226
+ e = l(e, O);
227
+ continue;
228
+ }
229
+ h = l[0];
230
+ u = l[1];
231
+ if (h !== h) {
232
+ O[u] = e;
233
+ } else if ("string" === typeof h) {
234
+ f = h === "@" ? e.lastIndexOf(h) : e.indexOf(h);
235
+ if (~f) {
236
+ if ("number" === typeof l[2]) {
237
+ O[u] = e.slice(0, f);
238
+ e = e.slice(f + l[2]);
239
+ } else {
240
+ O[u] = e.slice(f);
241
+ e = e.slice(0, f);
242
+ }
238
243
  }
244
+ } else if (f = h.exec(e)) {
245
+ O[u] = f[1];
246
+ e = e.slice(0, f.index);
239
247
  }
240
- } else if (a = n.exec(e)) {
241
- f[h] = a[1];
242
- e = e.slice(0, a.index);
248
+ O[u] = O[u] || (i && l[3] ? o[u] || "" : "");
249
+ if (l[4]) O[u] = O[u].toLowerCase();
243
250
  }
244
- f[h] = f[h] || (o && i[3] ? t[h] || "" : "");
245
- if (i[4]) f[h] = f[h].toLowerCase();
246
- }
247
- if (s) f.query = s(f.query);
248
- if (o && t.slashes && f.pathname.charAt(0) !== "/" && (f.pathname !== "" || t.pathname !== "")) {
249
- f.pathname = q(f.pathname, t.pathname);
250
- }
251
- if (f.pathname.charAt(0) !== "/" && U(f.protocol)) {
252
- f.pathname = "/" + f.pathname;
253
- }
254
- if (!p(f.port, f.protocol)) {
255
- f.host = f.hostname;
256
- f.port = "";
257
- }
258
- f.username = f.password = "";
259
- if (f.auth) {
260
- a = f.auth.indexOf(":");
261
- if (~a) {
262
- f.username = f.auth.slice(0, a);
263
- f.username = encodeURIComponent(decodeURIComponent(f.username));
264
- f.password = f.auth.slice(a + 1);
265
- f.password = encodeURIComponent(decodeURIComponent(f.password));
266
- } else {
267
- f.username = encodeURIComponent(decodeURIComponent(f.auth));
251
+ if (r) O.query = r(O.query);
252
+ if (i && o.slashes && O.pathname.charAt(0) !== "/" && (O.pathname !== "" || o.pathname !== "")) {
253
+ O.pathname = v(O.pathname, o.pathname);
268
254
  }
269
- f.auth = f.password ? f.username + ":" + f.password : f.username;
270
- }
271
- f.origin = f.protocol !== "file:" && U(f.protocol) && f.host ? f.protocol + "//" + f.host : "null";
272
- f.href = f.toString();
273
- }
274
-
275
- function S(e, t, s) {
276
- var o = this;
277
- switch (e) {
278
- case "query":
279
- if ("string" === typeof t && t.length) {
280
- t = (s || d.parse)(t);
255
+ if (O.pathname.charAt(0) !== "/" && g(O.protocol)) {
256
+ O.pathname = "/" + O.pathname;
281
257
  }
282
- o[e] = t;
283
- break;
284
-
285
- case "port":
286
- o[e] = t;
287
- if (!p(t, o.protocol)) {
288
- o.host = o.hostname;
289
- o[e] = "";
290
- } else if (t) {
291
- o.host = o.hostname + ":" + t;
258
+ if (!t(O.port, O.protocol)) {
259
+ O.host = O.hostname;
260
+ O.port = "";
292
261
  }
293
- break;
294
-
295
- case "hostname":
296
- o[e] = t;
297
- if (o.port) t += ":" + o.port;
298
- o.host = t;
299
- break;
300
-
301
- case "host":
302
- o[e] = t;
303
- if (y.test(t)) {
304
- t = t.split(":");
305
- o.port = t.pop();
306
- o.hostname = t.join(":");
307
- } else {
308
- o.hostname = t;
309
- o.port = "";
262
+ O.username = O.password = "";
263
+ if (O.auth) {
264
+ f = O.auth.indexOf(":");
265
+ if (~f) {
266
+ O.username = O.auth.slice(0, f);
267
+ O.username = encodeURIComponent(decodeURIComponent(O.username));
268
+ O.password = O.auth.slice(f + 1);
269
+ O.password = encodeURIComponent(decodeURIComponent(O.password));
270
+ } else {
271
+ O.username = encodeURIComponent(decodeURIComponent(O.auth));
272
+ }
273
+ O.auth = O.password ? O.username + ":" + O.password : O.username;
310
274
  }
311
- break;
275
+ O.origin = O.protocol !== "file:" && g(O.protocol) && O.host ? O.protocol + "//" + O.host : "null";
276
+ O.href = O.toString();
277
+ }
278
+ function j(e, o, r) {
279
+ var n = this;
280
+ switch (e) {
281
+ case "query":
282
+ if ("string" === typeof o && o.length) {
283
+ o = (r || s.parse)(o);
284
+ }
285
+ n[e] = o;
286
+ break;
287
+
288
+ case "port":
289
+ n[e] = o;
290
+ if (!t(o, n.protocol)) {
291
+ n.host = n.hostname;
292
+ n[e] = "";
293
+ } else if (o) {
294
+ n.host = n.hostname + ":" + o;
295
+ }
296
+ break;
297
+
298
+ case "hostname":
299
+ n[e] = o;
300
+ if (n.port) o += ":" + n.port;
301
+ n.host = o;
302
+ break;
303
+
304
+ case "host":
305
+ n[e] = o;
306
+ if (f.test(o)) {
307
+ o = o.split(":");
308
+ n.port = o.pop();
309
+ n.hostname = o.join(":");
310
+ } else {
311
+ n.hostname = o;
312
+ n.port = "";
313
+ }
314
+ break;
315
+
316
+ case "protocol":
317
+ n.protocol = o.toLowerCase();
318
+ n.slashes = !r;
319
+ break;
320
+
321
+ case "pathname":
322
+ case "hash":
323
+ if (o) {
324
+ var i = e === "pathname" ? "/" : "#";
325
+ n[e] = o.charAt(0) !== i ? i + o : o;
326
+ } else {
327
+ n[e] = o;
328
+ }
329
+ break;
312
330
 
313
- case "protocol":
314
- o.protocol = t.toLowerCase();
315
- o.slashes = !s;
316
- break;
331
+ case "username":
332
+ case "password":
333
+ n[e] = encodeURIComponent(o);
334
+ break;
317
335
 
318
- case "pathname":
319
- case "hash":
320
- if (t) {
321
- var r = e === "pathname" ? "/" : "#";
322
- o[e] = t.charAt(0) !== r ? r + t : t;
323
- } else {
324
- o[e] = t;
336
+ case "auth":
337
+ var a = o.indexOf(":");
338
+ if (~a) {
339
+ n.username = o.slice(0, a);
340
+ n.username = encodeURIComponent(decodeURIComponent(n.username));
341
+ n.password = o.slice(a + 1);
342
+ n.password = encodeURIComponent(decodeURIComponent(n.password));
343
+ } else {
344
+ n.username = encodeURIComponent(decodeURIComponent(o));
345
+ }
325
346
  }
326
- break;
327
-
328
- case "username":
329
- case "password":
330
- o[e] = encodeURIComponent(t);
331
- break;
332
-
333
- case "auth":
334
- var n = t.indexOf(":");
335
- if (~n) {
336
- o.username = t.slice(0, n);
337
- o.username = encodeURIComponent(decodeURIComponent(o.username));
338
- o.password = t.slice(n + 1);
339
- o.password = encodeURIComponent(decodeURIComponent(o.password));
340
- } else {
341
- o.username = encodeURIComponent(decodeURIComponent(t));
347
+ for (var h = 0; h < d.length; h++) {
348
+ var l = d[h];
349
+ if (l[4]) n[l[1]] = n[l[1]].toLowerCase();
342
350
  }
351
+ n.auth = n.password ? n.username + ":" + n.password : n.username;
352
+ n.origin = n.protocol !== "file:" && g(n.protocol) && n.host ? n.protocol + "//" + n.host : "null";
353
+ n.href = n.toString();
354
+ return n;
343
355
  }
344
- for (var i = 0; i < O.length; i++) {
345
- var a = O[i];
346
- if (a[4]) o[a[1]] = o[a[1]].toLowerCase();
347
- }
348
- o.auth = o.password ? o.username + ":" + o.password : o.username;
349
- o.origin = o.protocol !== "file:" && U(o.protocol) && o.host ? o.protocol + "//" + o.host : "null";
350
- o.href = o.toString();
351
- return o;
352
- }
353
-
354
- function k(e) {
355
- if (!e || "function" !== typeof e) e = d.stringify;
356
- var t, s = this, o = s.host, r = s.protocol;
357
- if (r && r.charAt(r.length - 1) !== ":") r += ":";
358
- var n = r + (s.protocol && s.slashes || U(s.protocol) ? "//" : "");
359
- if (s.username) {
360
- n += s.username;
361
- if (s.password) n += ":" + s.password;
362
- n += "@";
363
- } else if (s.password) {
364
- n += ":" + s.password;
365
- n += "@";
366
- } else if (s.protocol !== "file:" && U(s.protocol) && !o && s.pathname !== "/") {
367
- n += "@";
368
- }
369
- if (o[o.length - 1] === ":" || y.test(s.hostname) && !s.port) {
370
- o += ":";
356
+ function O(e) {
357
+ if (!e || "function" !== typeof e) e = s.stringify;
358
+ var t, o = this, r = o.host, n = o.protocol;
359
+ if (n && n.charAt(n.length - 1) !== ":") n += ":";
360
+ var i = n + (o.protocol && o.slashes || g(o.protocol) ? "//" : "");
361
+ if (o.username) {
362
+ i += o.username;
363
+ if (o.password) i += ":" + o.password;
364
+ i += "@";
365
+ } else if (o.password) {
366
+ i += ":" + o.password;
367
+ i += "@";
368
+ } else if (o.protocol !== "file:" && g(o.protocol) && !r && o.pathname !== "/") {
369
+ i += "@";
370
+ }
371
+ if (r[r.length - 1] === ":" || f.test(o.hostname) && !o.port) {
372
+ r += ":";
373
+ }
374
+ i += r + o.pathname;
375
+ t = "object" === typeof o.query ? e(o.query) : o.query;
376
+ if (t) i += "?" !== t.charAt(0) ? "?" + t : t;
377
+ if (o.hash) i += o.hash;
378
+ return i;
371
379
  }
372
- n += o + s.pathname;
373
- t = "object" === typeof s.query ? e(s.query) : s.query;
374
- if (t) n += "?" !== t.charAt(0) ? "?" + t : t;
375
- if (s.hash) n += s.hash;
376
- return n;
380
+ b.prototype = {
381
+ set: j,
382
+ toString: O
383
+ };
384
+ b.extractProtocol = y;
385
+ b.location = w;
386
+ b.trimLeft = p;
387
+ b.qs = s;
388
+ h = b;
389
+ return h;
377
390
  }
378
391
 
379
- x.prototype = {
380
- set: S,
381
- toString: k
382
- };
383
-
384
- x.extractProtocol = I;
385
-
386
- x.location = R;
387
-
388
- x.trimLeft = j;
389
-
390
- x.qs = d;
391
-
392
- var A = x;
392
+ var u = f();
393
393
 
394
- const L = e(A);
394
+ const c = t(u);
395
395
 
396
396
  class URLBuilder {
397
397
  static parse(e) {
398
- return new URLBuilder(JSON.parse(JSON.stringify(L(e, true))));
398
+ return new URLBuilder(JSON.parse(JSON.stringify(c(e, true))));
399
399
  }
400
400
  #e;
401
401
  constructor(e = {}) {
402
- this.#e = L("");
402
+ this.#e = c("");
403
403
  this.auth = e.auth;
404
404
  this.hash = e.hash;
405
405
  this.host = e.host;