@geekmidas/constructs 9.0.2 → 10.0.0-alpha.1

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 (385) hide show
  1. package/README.md +71 -44
  2. package/dist/{AWSScheduledFunction-Bn99MceY.d.cts → AWSScheduledFunction-9bJS4WdJ.d.cts} +8 -3
  3. package/dist/{AWSScheduledFunction-ysaCsdWx.d.mts.map → AWSScheduledFunction-9bJS4WdJ.d.cts.map} +1 -1
  4. package/dist/{AWSScheduledFunction-CufMMhGB.mjs → AWSScheduledFunction-BJjj8B5V.mjs} +3 -3
  5. package/dist/{AWSScheduledFunction-CufMMhGB.mjs.map → AWSScheduledFunction-BJjj8B5V.mjs.map} +1 -1
  6. package/dist/{AWSScheduledFunction-ysaCsdWx.d.mts → AWSScheduledFunction-BO5iEMSh.d.mts} +9 -4
  7. package/dist/{AWSScheduledFunction-Bn99MceY.d.cts.map → AWSScheduledFunction-BO5iEMSh.d.mts.map} +1 -1
  8. package/dist/{AWSScheduledFunction-DbkDr8CA.cjs → AWSScheduledFunction-qu4ieRZR.cjs} +9 -9
  9. package/dist/{AWSScheduledFunction-DbkDr8CA.cjs.map → AWSScheduledFunction-qu4ieRZR.cjs.map} +1 -1
  10. package/dist/{Construct-_1wX7p_Y.d.cts → Construct-B-xc0SE9.d.mts} +27 -5
  11. package/dist/Construct-B-xc0SE9.d.mts.map +1 -0
  12. package/dist/{Construct-r0U2zBwW.mjs → Construct-CdhThxDI.mjs} +3 -2
  13. package/dist/Construct-CdhThxDI.mjs.map +1 -0
  14. package/dist/{Construct-DCMuYOox.d.mts → Construct-WhCXIOPV.d.cts} +29 -7
  15. package/dist/Construct-WhCXIOPV.d.cts.map +1 -0
  16. package/dist/{Construct-vXMZJgRp.cjs → Construct-roId57cU.cjs} +7 -43
  17. package/dist/Construct-roId57cU.cjs.map +1 -0
  18. package/dist/{lazyAccessors-DmTG8sQH.cjs → Endpoint-BBkV6l0k.cjs} +869 -1079
  19. package/dist/Endpoint-BBkV6l0k.cjs.map +1 -0
  20. package/dist/{Endpoint-DgfRslct.d.cts → Endpoint-BKR5QH6O.d.mts} +57 -8
  21. package/dist/Endpoint-BKR5QH6O.d.mts.map +1 -0
  22. package/dist/{Endpoint-CLPSIl6S.d.mts → Endpoint-BQ9O0P1w.d.cts} +58 -9
  23. package/dist/Endpoint-BQ9O0P1w.d.cts.map +1 -0
  24. package/dist/{lazyAccessors-DfqZR6C4.mjs → Endpoint-BTj58Gob.mjs} +840 -1003
  25. package/dist/Endpoint-BTj58Gob.mjs.map +1 -0
  26. package/dist/EndpointFactory-BejSTzbB.mjs +808 -0
  27. package/dist/EndpointFactory-BejSTzbB.mjs.map +1 -0
  28. package/dist/EndpointFactory-DYoGLaIT.cjs +850 -0
  29. package/dist/EndpointFactory-DYoGLaIT.cjs.map +1 -0
  30. package/dist/{HonoEndpointAdaptor-DJDT3PMx.mjs → HonoEndpointAdaptor-7aYNdqJq.mjs} +5 -4
  31. package/dist/HonoEndpointAdaptor-7aYNdqJq.mjs.map +1 -0
  32. package/dist/{HonoEndpointAdaptor-CkJENANP.cjs → HonoEndpointAdaptor-wMsCyMgt.cjs} +24 -23
  33. package/dist/HonoEndpointAdaptor-wMsCyMgt.cjs.map +1 -0
  34. package/dist/{Queue-DaxjwmOQ.d.cts → Queue-D6WeziRD.d.cts} +43 -4
  35. package/dist/Queue-D6WeziRD.d.cts.map +1 -0
  36. package/dist/{Queue-HBDf0fqz.d.mts → Queue-DpUeqdC8.d.mts} +43 -4
  37. package/dist/Queue-DpUeqdC8.d.mts.map +1 -0
  38. package/dist/{Subscriber-B69ngPwl.d.cts → Subscriber-4rBJgDKI.d.mts} +9 -4
  39. package/dist/{Subscriber-B69ngPwl.d.cts.map → Subscriber-4rBJgDKI.d.mts.map} +1 -1
  40. package/dist/{Subscriber-D8Xm-86W.d.mts → Subscriber-DVQowdyj.d.cts} +11 -6
  41. package/dist/Subscriber-DVQowdyj.d.cts.map +1 -0
  42. package/dist/{Topic-C5ZMfveW.d.cts → Topic-Ohx9dvWr.d.cts} +33 -2
  43. package/dist/Topic-Ohx9dvWr.d.cts.map +1 -0
  44. package/dist/{Topic-DT10AqHk.d.mts → Topic-cmy2jOUy.d.mts} +33 -2
  45. package/dist/Topic-cmy2jOUy.d.mts.map +1 -0
  46. package/dist/adaptors/aws.cjs +39 -26
  47. package/dist/adaptors/aws.cjs.map +1 -1
  48. package/dist/adaptors/aws.d.cts +24 -16
  49. package/dist/adaptors/aws.d.cts.map +1 -1
  50. package/dist/adaptors/aws.d.mts +25 -17
  51. package/dist/adaptors/aws.d.mts.map +1 -1
  52. package/dist/adaptors/aws.mjs +26 -14
  53. package/dist/adaptors/aws.mjs.map +1 -1
  54. package/dist/adaptors/hono.cjs +9 -6
  55. package/dist/adaptors/hono.d.cts +7 -6
  56. package/dist/adaptors/hono.d.cts.map +1 -1
  57. package/dist/adaptors/hono.d.mts +8 -7
  58. package/dist/adaptors/hono.d.mts.map +1 -1
  59. package/dist/adaptors/hono.mjs +9 -6
  60. package/dist/adaptors/testing.cjs +18 -14
  61. package/dist/adaptors/testing.cjs.map +1 -1
  62. package/dist/adaptors/testing.d.cts +7 -6
  63. package/dist/adaptors/testing.d.cts.map +1 -1
  64. package/dist/adaptors/testing.d.mts +11 -10
  65. package/dist/adaptors/testing.d.mts.map +1 -1
  66. package/dist/adaptors/testing.mjs +10 -7
  67. package/dist/adaptors/testing.mjs.map +1 -1
  68. package/dist/auth.cjs +165 -0
  69. package/dist/auth.cjs.map +1 -0
  70. package/dist/auth.d.cts +108 -0
  71. package/dist/auth.d.cts.map +1 -0
  72. package/dist/auth.d.mts +108 -0
  73. package/dist/auth.d.mts.map +1 -0
  74. package/dist/auth.mjs +164 -0
  75. package/dist/auth.mjs.map +1 -0
  76. package/dist/cache-0ANvRQnD.mjs +51 -0
  77. package/dist/cache-0ANvRQnD.mjs.map +1 -0
  78. package/dist/cache-3WSvAulx.cjs +57 -0
  79. package/dist/cache-3WSvAulx.cjs.map +1 -0
  80. package/dist/cache-CdQ7OLpR.d.cts +47 -0
  81. package/dist/cache-CdQ7OLpR.d.cts.map +1 -0
  82. package/dist/cache-DYoJFcfd.d.mts +47 -0
  83. package/dist/cache-DYoJFcfd.d.mts.map +1 -0
  84. package/dist/cache.cjs +3 -0
  85. package/dist/cache.d.cts +3 -0
  86. package/dist/cache.d.mts +3 -0
  87. package/dist/cache.mjs +3 -0
  88. package/dist/chunk-DWy1uDak.cjs +39 -0
  89. package/dist/clone-DblgEZZa.mjs +39 -0
  90. package/dist/clone-DblgEZZa.mjs.map +1 -0
  91. package/dist/clone-Dy0cR2SZ.cjs +45 -0
  92. package/dist/clone-Dy0cR2SZ.cjs.map +1 -0
  93. package/dist/construct-interface-BfjcOD_E.cjs +117 -0
  94. package/dist/construct-interface-BfjcOD_E.cjs.map +1 -0
  95. package/dist/construct-interface-BqwRNYA2.d.mts +131 -0
  96. package/dist/construct-interface-BqwRNYA2.d.mts.map +1 -0
  97. package/dist/construct-interface-D2nNkHUN.d.cts +131 -0
  98. package/dist/construct-interface-D2nNkHUN.d.cts.map +1 -0
  99. package/dist/construct-interface-Z4CpS8tK.mjs +81 -0
  100. package/dist/construct-interface-Z4CpS8tK.mjs.map +1 -0
  101. package/dist/construct-interface.cjs +8 -0
  102. package/dist/construct-interface.d.cts +2 -0
  103. package/dist/construct-interface.d.mts +2 -0
  104. package/dist/construct-interface.mjs +3 -0
  105. package/dist/credential.cjs +96 -0
  106. package/dist/credential.cjs.map +1 -0
  107. package/dist/credential.d.cts +61 -0
  108. package/dist/credential.d.cts.map +1 -0
  109. package/dist/credential.d.mts +61 -0
  110. package/dist/credential.d.mts.map +1 -0
  111. package/dist/credential.mjs +94 -0
  112. package/dist/credential.mjs.map +1 -0
  113. package/dist/crons/index.cjs +39 -37
  114. package/dist/crons/index.cjs.map +1 -1
  115. package/dist/crons/index.d.cts +21 -8
  116. package/dist/crons/index.d.cts.map +1 -1
  117. package/dist/crons/index.d.mts +29 -13
  118. package/dist/crons/index.d.mts.map +1 -1
  119. package/dist/crons/index.mjs +37 -36
  120. package/dist/crons/index.mjs.map +1 -1
  121. package/dist/database/kysely.cjs +181 -0
  122. package/dist/database/kysely.cjs.map +1 -0
  123. package/dist/database/kysely.d.cts +152 -0
  124. package/dist/database/kysely.d.cts.map +1 -0
  125. package/dist/database/kysely.d.mts +152 -0
  126. package/dist/database/kysely.d.mts.map +1 -0
  127. package/dist/database/kysely.mjs +180 -0
  128. package/dist/database/kysely.mjs.map +1 -0
  129. package/dist/email.cjs +59 -0
  130. package/dist/email.cjs.map +1 -0
  131. package/dist/email.d.cts +50 -0
  132. package/dist/email.d.cts.map +1 -0
  133. package/dist/email.d.mts +50 -0
  134. package/dist/email.d.mts.map +1 -0
  135. package/dist/email.mjs +58 -0
  136. package/dist/email.mjs.map +1 -0
  137. package/dist/endpoints/index.cjs +21 -747
  138. package/dist/endpoints/index.d.cts +7 -343
  139. package/dist/endpoints/index.d.mts +7 -342
  140. package/dist/endpoints/index.mjs +11 -738
  141. package/dist/file-server.cjs +154 -0
  142. package/dist/file-server.cjs.map +1 -0
  143. package/dist/file-server.d.cts +156 -0
  144. package/dist/file-server.d.cts.map +1 -0
  145. package/dist/file-server.d.mts +156 -0
  146. package/dist/file-server.d.mts.map +1 -0
  147. package/dist/file-server.mjs +152 -0
  148. package/dist/file-server.mjs.map +1 -0
  149. package/dist/functions/index.cjs +4 -2
  150. package/dist/functions/index.d.cts +3 -2
  151. package/dist/functions/index.d.mts +3 -2
  152. package/dist/functions/index.mjs +4 -2
  153. package/dist/{functions-B-qt91O7.mjs → functions-Cpff1uZH.mjs} +55 -51
  154. package/dist/functions-Cpff1uZH.mjs.map +1 -0
  155. package/dist/{functions-C8i1kCMM.cjs → functions-DukjG8ov.cjs} +62 -57
  156. package/dist/functions-DukjG8ov.cjs.map +1 -0
  157. package/dist/{index-BVs9DvIj.d.cts → index-BTvozlUD.d.cts} +36 -9
  158. package/dist/index-BTvozlUD.d.cts.map +1 -0
  159. package/dist/index-Cvz551AO.d.mts +419 -0
  160. package/dist/index-Cvz551AO.d.mts.map +1 -0
  161. package/dist/index-D5zqAJ2e.d.cts +419 -0
  162. package/dist/index-D5zqAJ2e.d.cts.map +1 -0
  163. package/dist/{index-DP6fqv0I.d.mts → index-L7pz0R0T.d.mts} +48 -19
  164. package/dist/index-L7pz0R0T.d.mts.map +1 -0
  165. package/dist/index.cjs +1 -1
  166. package/dist/index.d.cts +3 -3
  167. package/dist/index.d.mts +3 -3
  168. package/dist/index.mjs +1 -1
  169. package/dist/lazyAccessors-DM6HcXQk.mjs +175 -0
  170. package/dist/lazyAccessors-DM6HcXQk.mjs.map +1 -0
  171. package/dist/lazyAccessors-DrJj8NpA.cjs +223 -0
  172. package/dist/lazyAccessors-DrJj8NpA.cjs.map +1 -0
  173. package/dist/object-storage.cjs +48 -0
  174. package/dist/object-storage.cjs.map +1 -0
  175. package/dist/object-storage.d.cts +36 -0
  176. package/dist/object-storage.d.cts.map +1 -0
  177. package/dist/object-storage.d.mts +36 -0
  178. package/dist/object-storage.d.mts.map +1 -0
  179. package/dist/object-storage.mjs +47 -0
  180. package/dist/object-storage.mjs.map +1 -0
  181. package/dist/{processAudits-CKjjivyz.cjs → processAudits-Bc8rz6Ev.cjs} +3 -3
  182. package/dist/{processAudits-CKjjivyz.cjs.map → processAudits-Bc8rz6Ev.cjs.map} +1 -1
  183. package/dist/{processAudits-ySnizdMG.mjs → processAudits-D89tICM4.mjs} +1 -1
  184. package/dist/{processAudits-ySnizdMG.mjs.map → processAudits-D89tICM4.mjs.map} +1 -1
  185. package/dist/{publisher-BrFOF847.mjs → publisher-CGEo8UKD.mjs} +1 -1
  186. package/dist/{publisher-BrFOF847.mjs.map → publisher-CGEo8UKD.mjs.map} +1 -1
  187. package/dist/{publisher-lFQleddL.cjs → publisher-CqGsXB2X.cjs} +1 -1
  188. package/dist/{publisher-lFQleddL.cjs.map → publisher-CqGsXB2X.cjs.map} +1 -1
  189. package/dist/queue/index.cjs +92 -30
  190. package/dist/queue/index.cjs.map +1 -1
  191. package/dist/queue/index.d.cts +19 -4
  192. package/dist/queue/index.d.cts.map +1 -1
  193. package/dist/queue/index.d.mts +22 -6
  194. package/dist/queue/index.d.mts.map +1 -1
  195. package/dist/queue/index.mjs +90 -29
  196. package/dist/queue/index.mjs.map +1 -1
  197. package/dist/rest-api.cjs +187 -0
  198. package/dist/rest-api.cjs.map +1 -0
  199. package/dist/rest-api.d.cts +221 -0
  200. package/dist/rest-api.d.cts.map +1 -0
  201. package/dist/rest-api.d.mts +221 -0
  202. package/dist/rest-api.d.mts.map +1 -0
  203. package/dist/rest-api.mjs +186 -0
  204. package/dist/rest-api.mjs.map +1 -0
  205. package/dist/site.cjs +48 -0
  206. package/dist/site.cjs.map +1 -0
  207. package/dist/site.d.cts +101 -0
  208. package/dist/site.d.cts.map +1 -0
  209. package/dist/site.d.mts +101 -0
  210. package/dist/site.d.mts.map +1 -0
  211. package/dist/site.mjs +47 -0
  212. package/dist/site.mjs.map +1 -0
  213. package/dist/subscribers/index.cjs +35 -27
  214. package/dist/subscribers/index.cjs.map +1 -1
  215. package/dist/subscribers/index.d.cts +20 -5
  216. package/dist/subscribers/index.d.cts.map +1 -1
  217. package/dist/subscribers/index.d.mts +23 -7
  218. package/dist/subscribers/index.d.mts.map +1 -1
  219. package/dist/subscribers/index.mjs +34 -27
  220. package/dist/subscribers/index.mjs.map +1 -1
  221. package/dist/surfaceEnv-BFXEms2f.cjs +39 -0
  222. package/dist/surfaceEnv-BFXEms2f.cjs.map +1 -0
  223. package/dist/surfaceEnv-C3Ktahea.mjs +27 -0
  224. package/dist/surfaceEnv-C3Ktahea.mjs.map +1 -0
  225. package/dist/{telemetry-3vdxGn4q.d.mts → telemetry-C3L0iS28.d.cts} +2 -2
  226. package/dist/{telemetry-3vdxGn4q.d.mts.map → telemetry-C3L0iS28.d.cts.map} +1 -1
  227. package/dist/{telemetry-Dqx-D3F7.d.cts → telemetry-D7bVFLGi.d.mts} +2 -2
  228. package/dist/{telemetry-Dqx-D3F7.d.cts.map → telemetry-D7bVFLGi.d.mts.map} +1 -1
  229. package/dist/topic/index.cjs +56 -13
  230. package/dist/topic/index.cjs.map +1 -1
  231. package/dist/topic/index.d.cts +2 -2
  232. package/dist/topic/index.d.cts.map +1 -1
  233. package/dist/topic/index.d.mts +2 -2
  234. package/dist/topic/index.d.mts.map +1 -1
  235. package/dist/topic/index.mjs +54 -12
  236. package/dist/topic/index.mjs.map +1 -1
  237. package/dist/{types-BDNGr7pv.d.mts → types-BlAkSuGI.d.cts} +1 -1
  238. package/dist/{types-BDNGr7pv.d.mts.map → types-BlAkSuGI.d.cts.map} +1 -1
  239. package/dist/{types-BdAaYDvd.d.cts → types-aKksMEWL.d.mts} +1 -1
  240. package/dist/{types-BdAaYDvd.d.cts.map → types-aKksMEWL.d.mts.map} +1 -1
  241. package/dist/types.d.cts +1 -1
  242. package/dist/types.d.mts +1 -1
  243. package/package.json +155 -23
  244. package/CHANGELOG.md +0 -396
  245. package/dist/Construct-DCMuYOox.d.mts.map +0 -1
  246. package/dist/Construct-_1wX7p_Y.d.cts.map +0 -1
  247. package/dist/Construct-r0U2zBwW.mjs.map +0 -1
  248. package/dist/Construct-vXMZJgRp.cjs.map +0 -1
  249. package/dist/Endpoint-CLPSIl6S.d.mts.map +0 -1
  250. package/dist/Endpoint-DgfRslct.d.cts.map +0 -1
  251. package/dist/HonoEndpointAdaptor-CkJENANP.cjs.map +0 -1
  252. package/dist/HonoEndpointAdaptor-DJDT3PMx.mjs.map +0 -1
  253. package/dist/Queue-DaxjwmOQ.d.cts.map +0 -1
  254. package/dist/Queue-HBDf0fqz.d.mts.map +0 -1
  255. package/dist/Subscriber-D8Xm-86W.d.mts.map +0 -1
  256. package/dist/Topic-C5ZMfveW.d.cts.map +0 -1
  257. package/dist/Topic-DT10AqHk.d.mts.map +0 -1
  258. package/dist/endpoints/index.cjs.map +0 -1
  259. package/dist/endpoints/index.d.cts.map +0 -1
  260. package/dist/endpoints/index.d.mts.map +0 -1
  261. package/dist/endpoints/index.mjs.map +0 -1
  262. package/dist/functions-B-qt91O7.mjs.map +0 -1
  263. package/dist/functions-C8i1kCMM.cjs.map +0 -1
  264. package/dist/index-BVs9DvIj.d.cts.map +0 -1
  265. package/dist/index-DP6fqv0I.d.mts.map +0 -1
  266. package/dist/lazyAccessors-DfqZR6C4.mjs.map +0 -1
  267. package/dist/lazyAccessors-DmTG8sQH.cjs.map +0 -1
  268. package/src/Construct.ts +0 -204
  269. package/src/__benchmarks__/build-time-optimization.bench.ts +0 -274
  270. package/src/__benchmarks__/endpoint.bench.ts +0 -494
  271. package/src/__benchmarks__/fixtures.ts +0 -241
  272. package/src/__benchmarks__/hono-adaptor.bench.ts +0 -533
  273. package/src/__benchmarks__/hono-server.bench.ts +0 -249
  274. package/src/__benchmarks__/response-builder.bench.ts +0 -428
  275. package/src/__benchmarks__/strategies/strategy-a-lazy-services.ts +0 -319
  276. package/src/__benchmarks__/strategies/strategy-c-middleware.ts +0 -530
  277. package/src/__benchmarks__/strategies/strategy-d-opt-in-events.ts +0 -567
  278. package/src/__tests__/Construct.environment.spec.ts +0 -704
  279. package/src/__tests__/publisher.setting.spec.ts +0 -508
  280. package/src/__tests__/publisher.spec.ts +0 -452
  281. package/src/adaptors/aws.ts +0 -6
  282. package/src/adaptors/hono.ts +0 -1
  283. package/src/adaptors/testing.ts +0 -11
  284. package/src/crons/AWSScheduledFunction.ts +0 -73
  285. package/src/crons/Cron.ts +0 -149
  286. package/src/crons/CronBuilder.ts +0 -271
  287. package/src/crons/__tests__/AWSScheduledFunction.spec.ts +0 -152
  288. package/src/crons/__tests__/Cron.spec.ts +0 -464
  289. package/src/crons/__tests__/CronBuilder.state-isolation.spec.ts +0 -227
  290. package/src/crons/index.ts +0 -12
  291. package/src/endpoints/AmazonApiGatewayEndpointAdaptor.ts +0 -677
  292. package/src/endpoints/AmazonApiGatewayV1EndpointAdaptor.ts +0 -105
  293. package/src/endpoints/AmazonApiGatewayV2EndpointAdaptor.ts +0 -97
  294. package/src/endpoints/Authorizer.ts +0 -152
  295. package/src/endpoints/Endpoint.ts +0 -1287
  296. package/src/endpoints/EndpointBuilder.ts +0 -758
  297. package/src/endpoints/EndpointFactory.ts +0 -1148
  298. package/src/endpoints/HonoEndpointAdaptor.ts +0 -677
  299. package/src/endpoints/MswEndpointAdaptor.ts +0 -226
  300. package/src/endpoints/TestEndpointAdaptor.ts +0 -422
  301. package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.audits.spec.ts +0 -499
  302. package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.events.spec.ts +0 -560
  303. package/src/endpoints/__tests__/AmazonApiGatewayV1EndpointAdaptor.spec.ts +0 -1304
  304. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.audits.spec.ts +0 -626
  305. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.events.spec.ts +0 -732
  306. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.factory-publisher.spec.ts +0 -296
  307. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.kysely-audit.integration.spec.ts +0 -951
  308. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.responseType.spec.ts +0 -111
  309. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.rls.spec.ts +0 -307
  310. package/src/endpoints/__tests__/AmazonApiGatewayV2EndpointAdaptor.spec.ts +0 -629
  311. package/src/endpoints/__tests__/Authorizer.spec.ts +0 -286
  312. package/src/endpoints/__tests__/Endpoint.cookies.spec.ts +0 -207
  313. package/src/endpoints/__tests__/Endpoint.headers.spec.ts +0 -187
  314. package/src/endpoints/__tests__/Endpoint.manifest.spec.ts +0 -175
  315. package/src/endpoints/__tests__/Endpoint.spec.ts +0 -857
  316. package/src/endpoints/__tests__/EndpointBuilder.audit.spec.ts +0 -448
  317. package/src/endpoints/__tests__/EndpointBuilder.responseType.spec.ts +0 -47
  318. package/src/endpoints/__tests__/EndpointBuilder.spec.ts +0 -523
  319. package/src/endpoints/__tests__/EndpointFactory.authorizers.spec.ts +0 -492
  320. package/src/endpoints/__tests__/EndpointFactory.database-auditor.spec.ts +0 -509
  321. package/src/endpoints/__tests__/EndpointFactory.reference-audit.spec.ts +0 -190
  322. package/src/endpoints/__tests__/EndpointFactory.spec.ts +0 -479
  323. package/src/endpoints/__tests__/EndpointFactory.state-isolation.spec.ts +0 -155
  324. package/src/endpoints/__tests__/HonoEndpointAdaptor.audit-transactions.spec.ts +0 -703
  325. package/src/endpoints/__tests__/HonoEndpointAdaptor.audits.spec.ts +0 -632
  326. package/src/endpoints/__tests__/HonoEndpointAdaptor.events.spec.ts +0 -577
  327. package/src/endpoints/__tests__/HonoEndpointAdaptor.kysely-audit.integration.spec.ts +0 -1067
  328. package/src/endpoints/__tests__/HonoEndpointAdaptor.openapi.spec.ts +0 -317
  329. package/src/endpoints/__tests__/HonoEndpointAdaptor.pgboss-publisher.spec.ts +0 -289
  330. package/src/endpoints/__tests__/HonoEndpointAdaptor.responseType.spec.ts +0 -128
  331. package/src/endpoints/__tests__/HonoEndpointAdaptor.spec.ts +0 -1207
  332. package/src/endpoints/__tests__/MswEndpointAdaptor.spec.ts +0 -211
  333. package/src/endpoints/__tests__/ResponseBuilder.spec.ts +0 -235
  334. package/src/endpoints/__tests__/TestEndpointAdaptor.audits.spec.ts +0 -602
  335. package/src/endpoints/__tests__/TestEndpointAdaptor.spec.ts +0 -1044
  336. package/src/endpoints/__tests__/__snapshots__/HonoEndpointAdaptor.spec.ts.snap +0 -54
  337. package/src/endpoints/__tests__/endpoint-types.test.ts +0 -88
  338. package/src/endpoints/__tests__/helpers.spec.ts +0 -37
  339. package/src/endpoints/__tests__/lazyAccessors.spec.ts +0 -330
  340. package/src/endpoints/__tests__/processAudits.spec.ts +0 -631
  341. package/src/endpoints/audit.ts +0 -87
  342. package/src/endpoints/helpers.ts +0 -98
  343. package/src/endpoints/index.ts +0 -42
  344. package/src/endpoints/lazyAccessors.ts +0 -241
  345. package/src/endpoints/parseHonoQuery.ts +0 -16
  346. package/src/endpoints/parseQueryParams.ts +0 -32
  347. package/src/endpoints/processAudits.ts +0 -371
  348. package/src/endpoints/rls.ts +0 -67
  349. package/src/functions/AWSLambdaFunction.ts +0 -348
  350. package/src/functions/BaseFunctionBuilder.ts +0 -201
  351. package/src/functions/Function.ts +0 -238
  352. package/src/functions/FunctionBuilder.ts +0 -391
  353. package/src/functions/FunctionExecutionWrapper.ts +0 -216
  354. package/src/functions/TestFunctionAdaptor.ts +0 -217
  355. package/src/functions/__tests__/AWSLambdaFunctionAdaptor.spec.ts +0 -513
  356. package/src/functions/__tests__/Function.audits.spec.ts +0 -393
  357. package/src/functions/__tests__/Function.spec.ts +0 -477
  358. package/src/functions/__tests__/FunctionBuilder.state-isolation.spec.ts +0 -207
  359. package/src/functions/__tests__/TestFunctionAdaptor.spec.ts +0 -480
  360. package/src/functions/index.ts +0 -12
  361. package/src/index.ts +0 -23
  362. package/src/publisher.ts +0 -93
  363. package/src/queue/AWSLambdaQueueAdaptor.ts +0 -162
  364. package/src/queue/Queue.ts +0 -128
  365. package/src/queue/QueueBuilder.ts +0 -115
  366. package/src/queue/TestQueueAdaptor.ts +0 -63
  367. package/src/queue/__tests__/QueueBuilder.spec.ts +0 -137
  368. package/src/queue/index.ts +0 -12
  369. package/src/subscribers/AWSLambdaSubscriberAdaptor.ts +0 -342
  370. package/src/subscribers/Subscriber.ts +0 -117
  371. package/src/subscribers/SubscriberBuilder.ts +0 -186
  372. package/src/subscribers/TestSubscriberAdaptor.ts +0 -133
  373. package/src/subscribers/__tests__/AWSLambdaSubscriberAdaptor.spec.ts +0 -1018
  374. package/src/subscribers/__tests__/Subscriber.spec.ts +0 -430
  375. package/src/subscribers/__tests__/TestSubscriberAdaptor.spec.ts +0 -652
  376. package/src/subscribers/index.ts +0 -6
  377. package/src/telemetry.ts +0 -103
  378. package/src/topic/Topic.ts +0 -103
  379. package/src/topic/TopicBuilder.ts +0 -51
  380. package/src/topic/__tests__/TopicBuilder.spec.ts +0 -82
  381. package/src/topic/index.ts +0 -11
  382. package/src/types.ts +0 -13
  383. package/test.ts +0 -91
  384. package/tsconfig.json +0 -9
  385. package/tsdown.config.ts +0 -34
@@ -1,11 +1,10 @@
1
- import { ConstructType, __commonJS, __toESM } from "./Construct-r0U2zBwW.mjs";
2
- import { Function as Function$1 } from "./functions-B-qt91O7.mjs";
1
+ import { ConstructType, __commonJS, __toESM } from "./Construct-CdhThxDI.mjs";
2
+ import { Function as Function$1 } from "./functions-Cpff1uZH.mjs";
3
3
  import { convertSchemaWithComponents, convertStandardSchemaToJsonSchema } from "@geekmidas/schema/conversion";
4
4
  import { buildOpenApiSchema } from "@geekmidas/schema/openapi";
5
- import { getCookie } from "hono/cookie";
6
5
 
7
- //#region ../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js
8
- var require_lodash$1 = __commonJS({ "../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js"(exports, module) {
6
+ //#region ../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js
7
+ var require_lodash$1 = __commonJS({ "../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js"(exports, module) {
9
8
  /**
10
9
  * lodash (Custom Build) <https://lodash.com/>
11
10
  * Build: `lodash modularize exports="npm" -o ./`
@@ -14,27 +13,10 @@ var require_lodash$1 = __commonJS({ "../../node_modules/.pnpm/lodash.set@4.3.2/n
14
13
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
15
14
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
16
15
  */
17
- /** Used as the `TypeError` message for "Functions" methods. */
18
- var FUNC_ERROR_TEXT = "Expected a function";
19
- /** Used to stand-in for `undefined` hash values. */
20
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
21
16
  /** Used as references for various `Number` constants. */
22
17
  var INFINITY$1 = Infinity, MAX_SAFE_INTEGER$1 = 9007199254740991;
23
18
  /** `Object#toString` result references. */
24
- var funcTag$1 = "[object Function]", genTag$1 = "[object GeneratorFunction]", symbolTag$1 = "[object Symbol]";
25
- /** Used to match property names within property paths. */
26
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/, reLeadingDot = /^\./, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
27
- /**
28
- * Used to match `RegExp`
29
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
30
- */
31
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
32
- /** Used to match backslashes in property paths. */
33
- var reEscapeChar = /\\(\\)?/g;
34
- /** Used to detect host constructors (Safari). */
35
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
36
- /** Used to detect unsigned integer values. */
37
- var reIsUint = /^(?:0|[1-9]\d*)$/;
19
+ var argsTag = "[object Arguments]", funcTag$1 = "[object Function]", genTag$1 = "[object GeneratorFunction]", symbolTag$1 = "[object Symbol]";
38
20
  /** Detect free variable `global` from Node.js. */
39
21
  var freeGlobal$1 = typeof global == "object" && global && global.Object === Object && global;
40
22
  /** Detect free variable `self`. */
@@ -42,41 +24,53 @@ var require_lodash$1 = __commonJS({ "../../node_modules/.pnpm/lodash.set@4.3.2/n
42
24
  /** Used as a reference to the global object. */
43
25
  var root$1 = freeGlobal$1 || freeSelf$1 || Function("return this")();
44
26
  /**
45
- * Gets the value at `key` of `object`.
27
+ * A faster alternative to `Function#apply`, this function invokes `func`
28
+ * with the `this` binding of `thisArg` and the arguments of `args`.
46
29
  *
47
30
  * @private
48
- * @param {Object} [object] The object to query.
49
- * @param {string} key The key of the property to get.
50
- * @returns {*} Returns the property value.
31
+ * @param {Function} func The function to invoke.
32
+ * @param {*} thisArg The `this` binding of `func`.
33
+ * @param {Array} args The arguments to invoke `func` with.
34
+ * @returns {*} Returns the result of `func`.
51
35
  */
52
- function getValue(object, key) {
53
- return object == null ? void 0 : object[key];
36
+ function apply(func, thisArg, args) {
37
+ switch (args.length) {
38
+ case 0: return func.call(thisArg);
39
+ case 1: return func.call(thisArg, args[0]);
40
+ case 2: return func.call(thisArg, args[0], args[1]);
41
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
42
+ }
43
+ return func.apply(thisArg, args);
54
44
  }
55
45
  /**
56
- * Checks if `value` is a host object in IE < 9.
46
+ * A specialized version of `_.map` for arrays without support for iteratee
47
+ * shorthands.
57
48
  *
58
49
  * @private
59
- * @param {*} value The value to check.
60
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
50
+ * @param {Array} [array] The array to iterate over.
51
+ * @param {Function} iteratee The function invoked per iteration.
52
+ * @returns {Array} Returns the new mapped array.
61
53
  */
62
- function isHostObject(value) {
63
- var result = false;
64
- if (value != null && typeof value.toString != "function") try {
65
- result = !!(value + "");
66
- } catch (e) {}
54
+ function arrayMap(array, iteratee) {
55
+ var index = -1, length = array ? array.length : 0, result = Array(length);
56
+ while (++index < length) result[index] = iteratee(array[index], index, array);
67
57
  return result;
68
58
  }
59
+ /**
60
+ * Appends the elements of `values` to `array`.
61
+ *
62
+ * @private
63
+ * @param {Array} array The array to modify.
64
+ * @param {Array} values The values to append.
65
+ * @returns {Array} Returns `array`.
66
+ */
67
+ function arrayPush(array, values) {
68
+ var index = -1, length = values.length, offset = array.length;
69
+ while (++index < length) array[offset + index] = values[index];
70
+ return array;
71
+ }
69
72
  /** Used for built-in method references. */
70
- var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto$1 = Object.prototype;
71
- /** Used to detect overreaching core-js shims. */
72
- var coreJsData = root$1["__core-js_shared__"];
73
- /** Used to detect methods masquerading as native. */
74
- var maskSrcKey = function() {
75
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
76
- return uid ? "Symbol(src)_1." + uid : "";
77
- }();
78
- /** Used to resolve the decompiled source of functions. */
79
- var funcToString = funcProto.toString;
73
+ var objectProto$1 = Object.prototype;
80
74
  /** Used to check objects for own properties. */
81
75
  var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
82
76
  /**
@@ -85,916 +79,882 @@ var require_lodash$1 = __commonJS({ "../../node_modules/.pnpm/lodash.set@4.3.2/n
85
79
  * of values.
86
80
  */
87
81
  var objectToString$1 = objectProto$1.toString;
88
- /** Used to detect if a method is native. */
89
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$1).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
90
82
  /** Built-in value references. */
91
- var Symbol$1 = root$1.Symbol, splice = arrayProto.splice;
92
- var Map$1 = getNative(root$1, "Map"), nativeCreate = getNative(Object, "create");
93
- /** Used to convert symbols to primitives and strings. */
94
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
83
+ var Symbol$1 = root$1.Symbol, propertyIsEnumerable = objectProto$1.propertyIsEnumerable, spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
84
+ var nativeMax = Math.max;
95
85
  /**
96
- * Creates a hash object.
86
+ * The base implementation of `_.flatten` with support for restricting flattening.
97
87
  *
98
88
  * @private
99
- * @constructor
100
- * @param {Array} [entries] The key-value pairs to cache.
89
+ * @param {Array} array The array to flatten.
90
+ * @param {number} depth The maximum recursion depth.
91
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
92
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
93
+ * @param {Array} [result=[]] The initial result value.
94
+ * @returns {Array} Returns the new flattened array.
101
95
  */
102
- function Hash(entries) {
103
- var index = -1, length = entries ? entries.length : 0;
104
- this.clear();
96
+ function baseFlatten(array, depth, predicate, isStrict, result) {
97
+ var index = -1, length = array.length;
98
+ predicate || (predicate = isFlattenable);
99
+ result || (result = []);
105
100
  while (++index < length) {
106
- var entry = entries[index];
107
- this.set(entry[0], entry[1]);
101
+ var value = array[index];
102
+ if (depth > 0 && predicate(value)) if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
103
+ else arrayPush(result, value);
104
+ else if (!isStrict) result[result.length] = value;
108
105
  }
106
+ return result;
109
107
  }
110
108
  /**
111
- * Removes all key-value entries from the hash.
109
+ * The base implementation of `_.pick` without support for individual
110
+ * property identifiers.
112
111
  *
113
112
  * @private
114
- * @name clear
115
- * @memberOf Hash
113
+ * @param {Object} object The source object.
114
+ * @param {string[]} props The property identifiers to pick.
115
+ * @returns {Object} Returns the new object.
116
116
  */
117
- function hashClear() {
118
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
117
+ function basePick(object, props) {
118
+ object = Object(object);
119
+ return basePickBy(object, props, function(value, key) {
120
+ return key in object;
121
+ });
119
122
  }
120
123
  /**
121
- * Removes `key` and its value from the hash.
124
+ * The base implementation of `_.pickBy` without support for iteratee shorthands.
122
125
  *
123
126
  * @private
124
- * @name delete
125
- * @memberOf Hash
126
- * @param {Object} hash The hash to modify.
127
- * @param {string} key The key of the value to remove.
128
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
127
+ * @param {Object} object The source object.
128
+ * @param {string[]} props The property identifiers to pick from.
129
+ * @param {Function} predicate The function invoked per property.
130
+ * @returns {Object} Returns the new object.
129
131
  */
130
- function hashDelete(key) {
131
- return this.has(key) && delete this.__data__[key];
132
+ function basePickBy(object, props, predicate) {
133
+ var index = -1, length = props.length, result = {};
134
+ while (++index < length) {
135
+ var key = props[index], value = object[key];
136
+ if (predicate(value, key)) result[key] = value;
137
+ }
138
+ return result;
132
139
  }
133
140
  /**
134
- * Gets the hash value for `key`.
141
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
135
142
  *
136
143
  * @private
137
- * @name get
138
- * @memberOf Hash
139
- * @param {string} key The key of the value to get.
140
- * @returns {*} Returns the entry value.
144
+ * @param {Function} func The function to apply a rest parameter to.
145
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
146
+ * @returns {Function} Returns the new function.
141
147
  */
142
- function hashGet(key) {
143
- var data = this.__data__;
144
- if (nativeCreate) {
145
- var result = data[key];
146
- return result === HASH_UNDEFINED ? void 0 : result;
147
- }
148
- return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
148
+ function baseRest(func, start) {
149
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
150
+ return function() {
151
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
152
+ while (++index < length) array[index] = args[start + index];
153
+ index = -1;
154
+ var otherArgs = Array(start + 1);
155
+ while (++index < start) otherArgs[index] = args[index];
156
+ otherArgs[start] = array;
157
+ return apply(func, this, otherArgs);
158
+ };
149
159
  }
150
160
  /**
151
- * Checks if a hash value for `key` exists.
161
+ * Checks if `value` is a flattenable `arguments` object or array.
152
162
  *
153
163
  * @private
154
- * @name has
155
- * @memberOf Hash
156
- * @param {string} key The key of the entry to check.
157
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
164
+ * @param {*} value The value to check.
165
+ * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
158
166
  */
159
- function hashHas(key) {
160
- var data = this.__data__;
161
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
167
+ function isFlattenable(value) {
168
+ return isArray$1(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
162
169
  }
163
170
  /**
164
- * Sets the hash `key` to `value`.
171
+ * Converts `value` to a string key if it's not a string or symbol.
165
172
  *
166
173
  * @private
167
- * @name set
168
- * @memberOf Hash
169
- * @param {string} key The key of the value to set.
170
- * @param {*} value The value to set.
171
- * @returns {Object} Returns the hash instance.
174
+ * @param {*} value The value to inspect.
175
+ * @returns {string|symbol} Returns the key.
172
176
  */
173
- function hashSet(key, value) {
174
- var data = this.__data__;
175
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
176
- return this;
177
+ function toKey$1(value) {
178
+ if (typeof value == "string" || isSymbol$1(value)) return value;
179
+ var result = value + "";
180
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
177
181
  }
178
- Hash.prototype.clear = hashClear;
179
- Hash.prototype["delete"] = hashDelete;
180
- Hash.prototype.get = hashGet;
181
- Hash.prototype.has = hashHas;
182
- Hash.prototype.set = hashSet;
183
182
  /**
184
- * Creates an list cache object.
183
+ * Checks if `value` is likely an `arguments` object.
185
184
  *
186
- * @private
187
- * @constructor
188
- * @param {Array} [entries] The key-value pairs to cache.
185
+ * @static
186
+ * @memberOf _
187
+ * @since 0.1.0
188
+ * @category Lang
189
+ * @param {*} value The value to check.
190
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
191
+ * else `false`.
192
+ * @example
193
+ *
194
+ * _.isArguments(function() { return arguments; }());
195
+ * // => true
196
+ *
197
+ * _.isArguments([1, 2, 3]);
198
+ * // => false
189
199
  */
190
- function ListCache(entries) {
191
- var index = -1, length = entries ? entries.length : 0;
192
- this.clear();
193
- while (++index < length) {
194
- var entry = entries[index];
195
- this.set(entry[0], entry[1]);
196
- }
200
+ function isArguments(value) {
201
+ return isArrayLikeObject(value) && hasOwnProperty$1.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString$1.call(value) == argsTag);
197
202
  }
198
203
  /**
199
- * Removes all key-value entries from the list cache.
204
+ * Checks if `value` is classified as an `Array` object.
200
205
  *
201
- * @private
202
- * @name clear
203
- * @memberOf ListCache
206
+ * @static
207
+ * @memberOf _
208
+ * @since 0.1.0
209
+ * @category Lang
210
+ * @param {*} value The value to check.
211
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
212
+ * @example
213
+ *
214
+ * _.isArray([1, 2, 3]);
215
+ * // => true
216
+ *
217
+ * _.isArray(document.body.children);
218
+ * // => false
219
+ *
220
+ * _.isArray('abc');
221
+ * // => false
222
+ *
223
+ * _.isArray(_.noop);
224
+ * // => false
204
225
  */
205
- function listCacheClear() {
206
- this.__data__ = [];
207
- }
226
+ var isArray$1 = Array.isArray;
208
227
  /**
209
- * Removes `key` and its value from the list cache.
228
+ * Checks if `value` is array-like. A value is considered array-like if it's
229
+ * not a function and has a `value.length` that's an integer greater than or
230
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
210
231
  *
211
- * @private
212
- * @name delete
213
- * @memberOf ListCache
214
- * @param {string} key The key of the value to remove.
215
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
216
- */
217
- function listCacheDelete(key) {
218
- var data = this.__data__, index = assocIndexOf(data, key);
219
- if (index < 0) return false;
220
- var lastIndex = data.length - 1;
221
- if (index == lastIndex) data.pop();
222
- else splice.call(data, index, 1);
223
- return true;
224
- }
225
- /**
226
- * Gets the list cache value for `key`.
232
+ * @static
233
+ * @memberOf _
234
+ * @since 4.0.0
235
+ * @category Lang
236
+ * @param {*} value The value to check.
237
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
238
+ * @example
227
239
  *
228
- * @private
229
- * @name get
230
- * @memberOf ListCache
231
- * @param {string} key The key of the value to get.
232
- * @returns {*} Returns the entry value.
233
- */
234
- function listCacheGet(key) {
235
- var data = this.__data__, index = assocIndexOf(data, key);
236
- return index < 0 ? void 0 : data[index][1];
237
- }
238
- /**
239
- * Checks if a list cache value for `key` exists.
240
+ * _.isArrayLike([1, 2, 3]);
241
+ * // => true
240
242
  *
241
- * @private
242
- * @name has
243
- * @memberOf ListCache
244
- * @param {string} key The key of the entry to check.
245
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
243
+ * _.isArrayLike(document.body.children);
244
+ * // => true
245
+ *
246
+ * _.isArrayLike('abc');
247
+ * // => true
248
+ *
249
+ * _.isArrayLike(_.noop);
250
+ * // => false
246
251
  */
247
- function listCacheHas(key) {
248
- return assocIndexOf(this.__data__, key) > -1;
252
+ function isArrayLike(value) {
253
+ return value != null && isLength(value.length) && !isFunction$1(value);
249
254
  }
250
255
  /**
251
- * Sets the list cache `key` to `value`.
256
+ * This method is like `_.isArrayLike` except that it also checks if `value`
257
+ * is an object.
252
258
  *
253
- * @private
254
- * @name set
255
- * @memberOf ListCache
256
- * @param {string} key The key of the value to set.
257
- * @param {*} value The value to set.
258
- * @returns {Object} Returns the list cache instance.
259
+ * @static
260
+ * @memberOf _
261
+ * @since 4.0.0
262
+ * @category Lang
263
+ * @param {*} value The value to check.
264
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
265
+ * else `false`.
266
+ * @example
267
+ *
268
+ * _.isArrayLikeObject([1, 2, 3]);
269
+ * // => true
270
+ *
271
+ * _.isArrayLikeObject(document.body.children);
272
+ * // => true
273
+ *
274
+ * _.isArrayLikeObject('abc');
275
+ * // => false
276
+ *
277
+ * _.isArrayLikeObject(_.noop);
278
+ * // => false
259
279
  */
260
- function listCacheSet(key, value) {
261
- var data = this.__data__, index = assocIndexOf(data, key);
262
- if (index < 0) data.push([key, value]);
263
- else data[index][1] = value;
264
- return this;
280
+ function isArrayLikeObject(value) {
281
+ return isObjectLike$1(value) && isArrayLike(value);
265
282
  }
266
- ListCache.prototype.clear = listCacheClear;
267
- ListCache.prototype["delete"] = listCacheDelete;
268
- ListCache.prototype.get = listCacheGet;
269
- ListCache.prototype.has = listCacheHas;
270
- ListCache.prototype.set = listCacheSet;
271
283
  /**
272
- * Creates a map cache object to store key-value pairs.
284
+ * Checks if `value` is classified as a `Function` object.
273
285
  *
274
- * @private
275
- * @constructor
276
- * @param {Array} [entries] The key-value pairs to cache.
286
+ * @static
287
+ * @memberOf _
288
+ * @since 0.1.0
289
+ * @category Lang
290
+ * @param {*} value The value to check.
291
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
292
+ * @example
293
+ *
294
+ * _.isFunction(_);
295
+ * // => true
296
+ *
297
+ * _.isFunction(/abc/);
298
+ * // => false
277
299
  */
278
- function MapCache(entries) {
279
- var index = -1, length = entries ? entries.length : 0;
280
- this.clear();
281
- while (++index < length) {
282
- var entry = entries[index];
283
- this.set(entry[0], entry[1]);
284
- }
300
+ function isFunction$1(value) {
301
+ var tag = isObject$1(value) ? objectToString$1.call(value) : "";
302
+ return tag == funcTag$1 || tag == genTag$1;
285
303
  }
286
304
  /**
287
- * Removes all key-value entries from the map.
305
+ * Checks if `value` is a valid array-like length.
288
306
  *
289
- * @private
290
- * @name clear
291
- * @memberOf MapCache
307
+ * **Note:** This method is loosely based on
308
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
309
+ *
310
+ * @static
311
+ * @memberOf _
312
+ * @since 4.0.0
313
+ * @category Lang
314
+ * @param {*} value The value to check.
315
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
316
+ * @example
317
+ *
318
+ * _.isLength(3);
319
+ * // => true
320
+ *
321
+ * _.isLength(Number.MIN_VALUE);
322
+ * // => false
323
+ *
324
+ * _.isLength(Infinity);
325
+ * // => false
326
+ *
327
+ * _.isLength('3');
328
+ * // => false
292
329
  */
293
- function mapCacheClear() {
294
- this.__data__ = {
295
- "hash": new Hash(),
296
- "map": new (Map$1 || ListCache)(),
297
- "string": new Hash()
298
- };
330
+ function isLength(value) {
331
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
299
332
  }
300
333
  /**
301
- * Removes `key` and its value from the map.
334
+ * Checks if `value` is the
335
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
336
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
302
337
  *
303
- * @private
304
- * @name delete
305
- * @memberOf MapCache
306
- * @param {string} key The key of the value to remove.
307
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
338
+ * @static
339
+ * @memberOf _
340
+ * @since 0.1.0
341
+ * @category Lang
342
+ * @param {*} value The value to check.
343
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
344
+ * @example
345
+ *
346
+ * _.isObject({});
347
+ * // => true
348
+ *
349
+ * _.isObject([1, 2, 3]);
350
+ * // => true
351
+ *
352
+ * _.isObject(_.noop);
353
+ * // => true
354
+ *
355
+ * _.isObject(null);
356
+ * // => false
308
357
  */
309
- function mapCacheDelete(key) {
310
- return getMapData(this, key)["delete"](key);
358
+ function isObject$1(value) {
359
+ var type = typeof value;
360
+ return !!value && (type == "object" || type == "function");
311
361
  }
312
362
  /**
313
- * Gets the map value for `key`.
363
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
364
+ * and has a `typeof` result of "object".
314
365
  *
315
- * @private
316
- * @name get
317
- * @memberOf MapCache
318
- * @param {string} key The key of the value to get.
319
- * @returns {*} Returns the entry value.
366
+ * @static
367
+ * @memberOf _
368
+ * @since 4.0.0
369
+ * @category Lang
370
+ * @param {*} value The value to check.
371
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
372
+ * @example
373
+ *
374
+ * _.isObjectLike({});
375
+ * // => true
376
+ *
377
+ * _.isObjectLike([1, 2, 3]);
378
+ * // => true
379
+ *
380
+ * _.isObjectLike(_.noop);
381
+ * // => false
382
+ *
383
+ * _.isObjectLike(null);
384
+ * // => false
320
385
  */
321
- function mapCacheGet(key) {
322
- return getMapData(this, key).get(key);
386
+ function isObjectLike$1(value) {
387
+ return !!value && typeof value == "object";
323
388
  }
324
389
  /**
325
- * Checks if a map value for `key` exists.
390
+ * Checks if `value` is classified as a `Symbol` primitive or object.
326
391
  *
327
- * @private
328
- * @name has
329
- * @memberOf MapCache
330
- * @param {string} key The key of the entry to check.
331
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
392
+ * @static
393
+ * @memberOf _
394
+ * @since 4.0.0
395
+ * @category Lang
396
+ * @param {*} value The value to check.
397
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
398
+ * @example
399
+ *
400
+ * _.isSymbol(Symbol.iterator);
401
+ * // => true
402
+ *
403
+ * _.isSymbol('abc');
404
+ * // => false
332
405
  */
333
- function mapCacheHas(key) {
334
- return getMapData(this, key).has(key);
406
+ function isSymbol$1(value) {
407
+ return typeof value == "symbol" || isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1;
335
408
  }
336
409
  /**
337
- * Sets the map `key` to `value`.
410
+ * Creates an object composed of the picked `object` properties.
338
411
  *
339
- * @private
340
- * @name set
341
- * @memberOf MapCache
342
- * @param {string} key The key of the value to set.
343
- * @param {*} value The value to set.
344
- * @returns {Object} Returns the map cache instance.
345
- */
346
- function mapCacheSet(key, value) {
347
- getMapData(this, key).set(key, value);
348
- return this;
349
- }
350
- MapCache.prototype.clear = mapCacheClear;
351
- MapCache.prototype["delete"] = mapCacheDelete;
352
- MapCache.prototype.get = mapCacheGet;
353
- MapCache.prototype.has = mapCacheHas;
354
- MapCache.prototype.set = mapCacheSet;
355
- /**
356
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
357
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
358
- * for equality comparisons.
412
+ * @static
413
+ * @since 0.1.0
414
+ * @memberOf _
415
+ * @category Object
416
+ * @param {Object} object The source object.
417
+ * @param {...(string|string[])} [props] The property identifiers to pick.
418
+ * @returns {Object} Returns the new object.
419
+ * @example
359
420
  *
360
- * @private
361
- * @param {Object} object The object to modify.
362
- * @param {string} key The key of the property to assign.
363
- * @param {*} value The value to assign.
421
+ * var object = { 'a': 1, 'b': '2', 'c': 3 };
422
+ *
423
+ * _.pick(object, ['a', 'c']);
424
+ * // => { 'a': 1, 'c': 3 }
364
425
  */
365
- function assignValue(object, key, value) {
366
- var objValue = object[key];
367
- if (!(hasOwnProperty$1.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) object[key] = value;
368
- }
426
+ var pick$1 = baseRest(function(object, props) {
427
+ return object == null ? {} : basePick(object, arrayMap(baseFlatten(props, 1), toKey$1));
428
+ });
429
+ module.exports = pick$1;
430
+ } });
431
+
432
+ //#endregion
433
+ //#region ../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js
434
+ var require_lodash = __commonJS({ "../../node_modules/.pnpm/lodash.set@4.3.2/node_modules/lodash.set/index.js"(exports, module) {
369
435
  /**
370
- * Gets the index at which the `key` is found in `array` of key-value pairs.
436
+ * lodash (Custom Build) <https://lodash.com/>
437
+ * Build: `lodash modularize exports="npm" -o ./`
438
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
439
+ * Released under MIT license <https://lodash.com/license>
440
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
441
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
442
+ */
443
+ /** Used as the `TypeError` message for "Functions" methods. */
444
+ var FUNC_ERROR_TEXT = "Expected a function";
445
+ /** Used to stand-in for `undefined` hash values. */
446
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
447
+ /** Used as references for various `Number` constants. */
448
+ var INFINITY = Infinity, MAX_SAFE_INTEGER = 9007199254740991;
449
+ /** `Object#toString` result references. */
450
+ var funcTag = "[object Function]", genTag = "[object GeneratorFunction]", symbolTag = "[object Symbol]";
451
+ /** Used to match property names within property paths. */
452
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/, reLeadingDot = /^\./, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
453
+ /**
454
+ * Used to match `RegExp`
455
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
456
+ */
457
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
458
+ /** Used to match backslashes in property paths. */
459
+ var reEscapeChar = /\\(\\)?/g;
460
+ /** Used to detect host constructors (Safari). */
461
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
462
+ /** Used to detect unsigned integer values. */
463
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
464
+ /** Detect free variable `global` from Node.js. */
465
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
466
+ /** Detect free variable `self`. */
467
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
468
+ /** Used as a reference to the global object. */
469
+ var root = freeGlobal || freeSelf || Function("return this")();
470
+ /**
471
+ * Gets the value at `key` of `object`.
371
472
  *
372
473
  * @private
373
- * @param {Array} array The array to inspect.
374
- * @param {*} key The key to search for.
375
- * @returns {number} Returns the index of the matched value, else `-1`.
474
+ * @param {Object} [object] The object to query.
475
+ * @param {string} key The key of the property to get.
476
+ * @returns {*} Returns the property value.
376
477
  */
377
- function assocIndexOf(array, key) {
378
- var length = array.length;
379
- while (length--) if (eq(array[length][0], key)) return length;
380
- return -1;
478
+ function getValue(object, key) {
479
+ return object == null ? void 0 : object[key];
381
480
  }
382
481
  /**
383
- * The base implementation of `_.isNative` without bad shim checks.
482
+ * Checks if `value` is a host object in IE < 9.
384
483
  *
385
484
  * @private
386
485
  * @param {*} value The value to check.
387
- * @returns {boolean} Returns `true` if `value` is a native function,
388
- * else `false`.
486
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
389
487
  */
390
- function baseIsNative(value) {
391
- if (!isObject$1(value) || isMasked(value)) return false;
392
- var pattern = isFunction$1(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
393
- return pattern.test(toSource(value));
488
+ function isHostObject(value) {
489
+ var result = false;
490
+ if (value != null && typeof value.toString != "function") try {
491
+ result = !!(value + "");
492
+ } catch (e) {}
493
+ return result;
394
494
  }
495
+ /** Used for built-in method references. */
496
+ var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
497
+ /** Used to detect overreaching core-js shims. */
498
+ var coreJsData = root["__core-js_shared__"];
499
+ /** Used to detect methods masquerading as native. */
500
+ var maskSrcKey = function() {
501
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
502
+ return uid ? "Symbol(src)_1." + uid : "";
503
+ }();
504
+ /** Used to resolve the decompiled source of functions. */
505
+ var funcToString = funcProto.toString;
506
+ /** Used to check objects for own properties. */
507
+ var hasOwnProperty = objectProto.hasOwnProperty;
395
508
  /**
396
- * The base implementation of `_.set`.
509
+ * Used to resolve the
510
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
511
+ * of values.
512
+ */
513
+ var objectToString = objectProto.toString;
514
+ /** Used to detect if a method is native. */
515
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
516
+ /** Built-in value references. */
517
+ var Symbol = root.Symbol, splice = arrayProto.splice;
518
+ var Map$1 = getNative(root, "Map"), nativeCreate = getNative(Object, "create");
519
+ /** Used to convert symbols to primitives and strings. */
520
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
521
+ /**
522
+ * Creates a hash object.
397
523
  *
398
524
  * @private
399
- * @param {Object} object The object to modify.
400
- * @param {Array|string} path The path of the property to set.
401
- * @param {*} value The value to set.
402
- * @param {Function} [customizer] The function to customize path creation.
403
- * @returns {Object} Returns `object`.
525
+ * @constructor
526
+ * @param {Array} [entries] The key-value pairs to cache.
404
527
  */
405
- function baseSet(object, path, value, customizer) {
406
- if (!isObject$1(object)) return object;
407
- path = isKey(path, object) ? [path] : castPath(path);
408
- var index = -1, length = path.length, lastIndex = length - 1, nested = object;
409
- while (nested != null && ++index < length) {
410
- var key = toKey$1(path[index]), newValue = value;
411
- if (index != lastIndex) {
412
- var objValue = nested[key];
413
- newValue = customizer ? customizer(objValue, key, nested) : void 0;
414
- if (newValue === void 0) newValue = isObject$1(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
415
- }
416
- assignValue(nested, key, newValue);
417
- nested = nested[key];
528
+ function Hash(entries) {
529
+ var index = -1, length = entries ? entries.length : 0;
530
+ this.clear();
531
+ while (++index < length) {
532
+ var entry = entries[index];
533
+ this.set(entry[0], entry[1]);
418
534
  }
419
- return object;
420
535
  }
421
536
  /**
422
- * The base implementation of `_.toString` which doesn't convert nullish
423
- * values to empty strings.
537
+ * Removes all key-value entries from the hash.
424
538
  *
425
539
  * @private
426
- * @param {*} value The value to process.
427
- * @returns {string} Returns the string.
540
+ * @name clear
541
+ * @memberOf Hash
428
542
  */
429
- function baseToString(value) {
430
- if (typeof value == "string") return value;
431
- if (isSymbol$1(value)) return symbolToString ? symbolToString.call(value) : "";
432
- var result = value + "";
433
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
543
+ function hashClear() {
544
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
434
545
  }
435
546
  /**
436
- * Casts `value` to a path array if it's not one.
547
+ * Removes `key` and its value from the hash.
437
548
  *
438
549
  * @private
439
- * @param {*} value The value to inspect.
440
- * @returns {Array} Returns the cast property path array.
550
+ * @name delete
551
+ * @memberOf Hash
552
+ * @param {Object} hash The hash to modify.
553
+ * @param {string} key The key of the value to remove.
554
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
441
555
  */
442
- function castPath(value) {
443
- return isArray$1(value) ? value : stringToPath(value);
556
+ function hashDelete(key) {
557
+ return this.has(key) && delete this.__data__[key];
444
558
  }
445
559
  /**
446
- * Gets the data for `map`.
560
+ * Gets the hash value for `key`.
447
561
  *
448
562
  * @private
449
- * @param {Object} map The map to query.
450
- * @param {string} key The reference key.
451
- * @returns {*} Returns the map data.
563
+ * @name get
564
+ * @memberOf Hash
565
+ * @param {string} key The key of the value to get.
566
+ * @returns {*} Returns the entry value.
452
567
  */
453
- function getMapData(map, key) {
454
- var data = map.__data__;
455
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
568
+ function hashGet(key) {
569
+ var data = this.__data__;
570
+ if (nativeCreate) {
571
+ var result = data[key];
572
+ return result === HASH_UNDEFINED ? void 0 : result;
573
+ }
574
+ return hasOwnProperty.call(data, key) ? data[key] : void 0;
456
575
  }
457
576
  /**
458
- * Gets the native function at `key` of `object`.
577
+ * Checks if a hash value for `key` exists.
459
578
  *
460
579
  * @private
461
- * @param {Object} object The object to query.
462
- * @param {string} key The key of the method to get.
463
- * @returns {*} Returns the function if it's native, else `undefined`.
580
+ * @name has
581
+ * @memberOf Hash
582
+ * @param {string} key The key of the entry to check.
583
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
464
584
  */
465
- function getNative(object, key) {
466
- var value = getValue(object, key);
467
- return baseIsNative(value) ? value : void 0;
585
+ function hashHas(key) {
586
+ var data = this.__data__;
587
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
468
588
  }
469
589
  /**
470
- * Checks if `value` is a valid array-like index.
590
+ * Sets the hash `key` to `value`.
471
591
  *
472
592
  * @private
473
- * @param {*} value The value to check.
474
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
475
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
593
+ * @name set
594
+ * @memberOf Hash
595
+ * @param {string} key The key of the value to set.
596
+ * @param {*} value The value to set.
597
+ * @returns {Object} Returns the hash instance.
476
598
  */
477
- function isIndex(value, length) {
478
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
479
- return !!length && (typeof value == "number" || reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
599
+ function hashSet(key, value) {
600
+ var data = this.__data__;
601
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
602
+ return this;
480
603
  }
604
+ Hash.prototype.clear = hashClear;
605
+ Hash.prototype["delete"] = hashDelete;
606
+ Hash.prototype.get = hashGet;
607
+ Hash.prototype.has = hashHas;
608
+ Hash.prototype.set = hashSet;
481
609
  /**
482
- * Checks if `value` is a property name and not a property path.
610
+ * Creates an list cache object.
483
611
  *
484
612
  * @private
485
- * @param {*} value The value to check.
486
- * @param {Object} [object] The object to query keys on.
487
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
613
+ * @constructor
614
+ * @param {Array} [entries] The key-value pairs to cache.
488
615
  */
489
- function isKey(value, object) {
490
- if (isArray$1(value)) return false;
491
- var type = typeof value;
492
- if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol$1(value)) return true;
493
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
616
+ function ListCache(entries) {
617
+ var index = -1, length = entries ? entries.length : 0;
618
+ this.clear();
619
+ while (++index < length) {
620
+ var entry = entries[index];
621
+ this.set(entry[0], entry[1]);
622
+ }
494
623
  }
495
624
  /**
496
- * Checks if `value` is suitable for use as unique object key.
625
+ * Removes all key-value entries from the list cache.
497
626
  *
498
627
  * @private
499
- * @param {*} value The value to check.
500
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
628
+ * @name clear
629
+ * @memberOf ListCache
501
630
  */
502
- function isKeyable(value) {
503
- var type = typeof value;
504
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
631
+ function listCacheClear() {
632
+ this.__data__ = [];
505
633
  }
506
634
  /**
507
- * Checks if `func` has its source masked.
635
+ * Removes `key` and its value from the list cache.
508
636
  *
509
637
  * @private
510
- * @param {Function} func The function to check.
511
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
638
+ * @name delete
639
+ * @memberOf ListCache
640
+ * @param {string} key The key of the value to remove.
641
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
512
642
  */
513
- function isMasked(func) {
514
- return !!maskSrcKey && maskSrcKey in func;
643
+ function listCacheDelete(key) {
644
+ var data = this.__data__, index = assocIndexOf(data, key);
645
+ if (index < 0) return false;
646
+ var lastIndex = data.length - 1;
647
+ if (index == lastIndex) data.pop();
648
+ else splice.call(data, index, 1);
649
+ return true;
515
650
  }
516
651
  /**
517
- * Converts `string` to a property path array.
652
+ * Gets the list cache value for `key`.
518
653
  *
519
654
  * @private
520
- * @param {string} string The string to convert.
521
- * @returns {Array} Returns the property path array.
655
+ * @name get
656
+ * @memberOf ListCache
657
+ * @param {string} key The key of the value to get.
658
+ * @returns {*} Returns the entry value.
522
659
  */
523
- var stringToPath = memoize(function(string) {
524
- string = toString(string);
525
- var result = [];
526
- if (reLeadingDot.test(string)) result.push("");
527
- string.replace(rePropName, function(match, number, quote, string$1) {
528
- result.push(quote ? string$1.replace(reEscapeChar, "$1") : number || match);
529
- });
530
- return result;
531
- });
660
+ function listCacheGet(key) {
661
+ var data = this.__data__, index = assocIndexOf(data, key);
662
+ return index < 0 ? void 0 : data[index][1];
663
+ }
532
664
  /**
533
- * Converts `value` to a string key if it's not a string or symbol.
665
+ * Checks if a list cache value for `key` exists.
534
666
  *
535
667
  * @private
536
- * @param {*} value The value to inspect.
537
- * @returns {string|symbol} Returns the key.
668
+ * @name has
669
+ * @memberOf ListCache
670
+ * @param {string} key The key of the entry to check.
671
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
538
672
  */
539
- function toKey$1(value) {
540
- if (typeof value == "string" || isSymbol$1(value)) return value;
541
- var result = value + "";
542
- return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
673
+ function listCacheHas(key) {
674
+ return assocIndexOf(this.__data__, key) > -1;
543
675
  }
544
676
  /**
545
- * Converts `func` to its source code.
677
+ * Sets the list cache `key` to `value`.
546
678
  *
547
679
  * @private
548
- * @param {Function} func The function to process.
549
- * @returns {string} Returns the source code.
680
+ * @name set
681
+ * @memberOf ListCache
682
+ * @param {string} key The key of the value to set.
683
+ * @param {*} value The value to set.
684
+ * @returns {Object} Returns the list cache instance.
550
685
  */
551
- function toSource(func) {
552
- if (func != null) {
553
- try {
554
- return funcToString.call(func);
555
- } catch (e) {}
556
- try {
557
- return func + "";
558
- } catch (e) {}
559
- }
560
- return "";
686
+ function listCacheSet(key, value) {
687
+ var data = this.__data__, index = assocIndexOf(data, key);
688
+ if (index < 0) data.push([key, value]);
689
+ else data[index][1] = value;
690
+ return this;
561
691
  }
692
+ ListCache.prototype.clear = listCacheClear;
693
+ ListCache.prototype["delete"] = listCacheDelete;
694
+ ListCache.prototype.get = listCacheGet;
695
+ ListCache.prototype.has = listCacheHas;
696
+ ListCache.prototype.set = listCacheSet;
562
697
  /**
563
- * Creates a function that memoizes the result of `func`. If `resolver` is
564
- * provided, it determines the cache key for storing the result based on the
565
- * arguments provided to the memoized function. By default, the first argument
566
- * provided to the memoized function is used as the map cache key. The `func`
567
- * is invoked with the `this` binding of the memoized function.
568
- *
569
- * **Note:** The cache is exposed as the `cache` property on the memoized
570
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
571
- * constructor with one whose instances implement the
572
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
573
- * method interface of `delete`, `get`, `has`, and `set`.
574
- *
575
- * @static
576
- * @memberOf _
577
- * @since 0.1.0
578
- * @category Function
579
- * @param {Function} func The function to have its output memoized.
580
- * @param {Function} [resolver] The function to resolve the cache key.
581
- * @returns {Function} Returns the new memoized function.
582
- * @example
583
- *
584
- * var object = { 'a': 1, 'b': 2 };
585
- * var other = { 'c': 3, 'd': 4 };
586
- *
587
- * var values = _.memoize(_.values);
588
- * values(object);
589
- * // => [1, 2]
590
- *
591
- * values(other);
592
- * // => [3, 4]
593
- *
594
- * object.a = 2;
595
- * values(object);
596
- * // => [1, 2]
698
+ * Creates a map cache object to store key-value pairs.
597
699
  *
598
- * // Modify the result cache.
599
- * values.cache.set(object, ['a', 'b']);
600
- * values(object);
601
- * // => ['a', 'b']
700
+ * @private
701
+ * @constructor
702
+ * @param {Array} [entries] The key-value pairs to cache.
703
+ */
704
+ function MapCache(entries) {
705
+ var index = -1, length = entries ? entries.length : 0;
706
+ this.clear();
707
+ while (++index < length) {
708
+ var entry = entries[index];
709
+ this.set(entry[0], entry[1]);
710
+ }
711
+ }
712
+ /**
713
+ * Removes all key-value entries from the map.
602
714
  *
603
- * // Replace `_.memoize.Cache`.
604
- * _.memoize.Cache = WeakMap;
715
+ * @private
716
+ * @name clear
717
+ * @memberOf MapCache
605
718
  */
606
- function memoize(func, resolver) {
607
- if (typeof func != "function" || resolver && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
608
- var memoized = function() {
609
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
610
- if (cache.has(key)) return cache.get(key);
611
- var result = func.apply(this, args);
612
- memoized.cache = cache.set(key, result);
613
- return result;
719
+ function mapCacheClear() {
720
+ this.__data__ = {
721
+ "hash": new Hash(),
722
+ "map": new (Map$1 || ListCache)(),
723
+ "string": new Hash()
614
724
  };
615
- memoized.cache = new (memoize.Cache || MapCache)();
616
- return memoized;
617
725
  }
618
- memoize.Cache = MapCache;
619
726
  /**
620
- * Performs a
621
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
622
- * comparison between two values to determine if they are equivalent.
623
- *
624
- * @static
625
- * @memberOf _
626
- * @since 4.0.0
627
- * @category Lang
628
- * @param {*} value The value to compare.
629
- * @param {*} other The other value to compare.
630
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
631
- * @example
632
- *
633
- * var object = { 'a': 1 };
634
- * var other = { 'a': 1 };
635
- *
636
- * _.eq(object, object);
637
- * // => true
638
- *
639
- * _.eq(object, other);
640
- * // => false
641
- *
642
- * _.eq('a', 'a');
643
- * // => true
644
- *
645
- * _.eq('a', Object('a'));
646
- * // => false
727
+ * Removes `key` and its value from the map.
647
728
  *
648
- * _.eq(NaN, NaN);
649
- * // => true
729
+ * @private
730
+ * @name delete
731
+ * @memberOf MapCache
732
+ * @param {string} key The key of the value to remove.
733
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
650
734
  */
651
- function eq(value, other) {
652
- return value === other || value !== value && other !== other;
735
+ function mapCacheDelete(key) {
736
+ return getMapData(this, key)["delete"](key);
653
737
  }
654
738
  /**
655
- * Checks if `value` is classified as an `Array` object.
656
- *
657
- * @static
658
- * @memberOf _
659
- * @since 0.1.0
660
- * @category Lang
661
- * @param {*} value The value to check.
662
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
663
- * @example
664
- *
665
- * _.isArray([1, 2, 3]);
666
- * // => true
667
- *
668
- * _.isArray(document.body.children);
669
- * // => false
670
- *
671
- * _.isArray('abc');
672
- * // => false
739
+ * Gets the map value for `key`.
673
740
  *
674
- * _.isArray(_.noop);
675
- * // => false
741
+ * @private
742
+ * @name get
743
+ * @memberOf MapCache
744
+ * @param {string} key The key of the value to get.
745
+ * @returns {*} Returns the entry value.
676
746
  */
677
- var isArray$1 = Array.isArray;
747
+ function mapCacheGet(key) {
748
+ return getMapData(this, key).get(key);
749
+ }
678
750
  /**
679
- * Checks if `value` is classified as a `Function` object.
680
- *
681
- * @static
682
- * @memberOf _
683
- * @since 0.1.0
684
- * @category Lang
685
- * @param {*} value The value to check.
686
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
687
- * @example
688
- *
689
- * _.isFunction(_);
690
- * // => true
751
+ * Checks if a map value for `key` exists.
691
752
  *
692
- * _.isFunction(/abc/);
693
- * // => false
753
+ * @private
754
+ * @name has
755
+ * @memberOf MapCache
756
+ * @param {string} key The key of the entry to check.
757
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
694
758
  */
695
- function isFunction$1(value) {
696
- var tag = isObject$1(value) ? objectToString$1.call(value) : "";
697
- return tag == funcTag$1 || tag == genTag$1;
759
+ function mapCacheHas(key) {
760
+ return getMapData(this, key).has(key);
698
761
  }
699
762
  /**
700
- * Checks if `value` is the
701
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
702
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
703
- *
704
- * @static
705
- * @memberOf _
706
- * @since 0.1.0
707
- * @category Lang
708
- * @param {*} value The value to check.
709
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
710
- * @example
711
- *
712
- * _.isObject({});
713
- * // => true
714
- *
715
- * _.isObject([1, 2, 3]);
716
- * // => true
717
- *
718
- * _.isObject(_.noop);
719
- * // => true
763
+ * Sets the map `key` to `value`.
720
764
  *
721
- * _.isObject(null);
722
- * // => false
765
+ * @private
766
+ * @name set
767
+ * @memberOf MapCache
768
+ * @param {string} key The key of the value to set.
769
+ * @param {*} value The value to set.
770
+ * @returns {Object} Returns the map cache instance.
723
771
  */
724
- function isObject$1(value) {
725
- var type = typeof value;
726
- return !!value && (type == "object" || type == "function");
772
+ function mapCacheSet(key, value) {
773
+ getMapData(this, key).set(key, value);
774
+ return this;
727
775
  }
776
+ MapCache.prototype.clear = mapCacheClear;
777
+ MapCache.prototype["delete"] = mapCacheDelete;
778
+ MapCache.prototype.get = mapCacheGet;
779
+ MapCache.prototype.has = mapCacheHas;
780
+ MapCache.prototype.set = mapCacheSet;
728
781
  /**
729
- * Checks if `value` is object-like. A value is object-like if it's not `null`
730
- * and has a `typeof` result of "object".
731
- *
732
- * @static
733
- * @memberOf _
734
- * @since 4.0.0
735
- * @category Lang
736
- * @param {*} value The value to check.
737
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
738
- * @example
739
- *
740
- * _.isObjectLike({});
741
- * // => true
742
- *
743
- * _.isObjectLike([1, 2, 3]);
744
- * // => true
745
- *
746
- * _.isObjectLike(_.noop);
747
- * // => false
782
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
783
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
784
+ * for equality comparisons.
748
785
  *
749
- * _.isObjectLike(null);
750
- * // => false
786
+ * @private
787
+ * @param {Object} object The object to modify.
788
+ * @param {string} key The key of the property to assign.
789
+ * @param {*} value The value to assign.
751
790
  */
752
- function isObjectLike$1(value) {
753
- return !!value && typeof value == "object";
791
+ function assignValue(object, key, value) {
792
+ var objValue = object[key];
793
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) object[key] = value;
754
794
  }
755
795
  /**
756
- * Checks if `value` is classified as a `Symbol` primitive or object.
757
- *
758
- * @static
759
- * @memberOf _
760
- * @since 4.0.0
761
- * @category Lang
762
- * @param {*} value The value to check.
763
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
764
- * @example
765
- *
766
- * _.isSymbol(Symbol.iterator);
767
- * // => true
796
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
768
797
  *
769
- * _.isSymbol('abc');
770
- * // => false
798
+ * @private
799
+ * @param {Array} array The array to inspect.
800
+ * @param {*} key The key to search for.
801
+ * @returns {number} Returns the index of the matched value, else `-1`.
771
802
  */
772
- function isSymbol$1(value) {
773
- return typeof value == "symbol" || isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1;
803
+ function assocIndexOf(array, key) {
804
+ var length = array.length;
805
+ while (length--) if (eq(array[length][0], key)) return length;
806
+ return -1;
774
807
  }
775
808
  /**
776
- * Converts `value` to a string. An empty string is returned for `null`
777
- * and `undefined` values. The sign of `-0` is preserved.
778
- *
779
- * @static
780
- * @memberOf _
781
- * @since 4.0.0
782
- * @category Lang
783
- * @param {*} value The value to process.
784
- * @returns {string} Returns the string.
785
- * @example
786
- *
787
- * _.toString(null);
788
- * // => ''
789
- *
790
- * _.toString(-0);
791
- * // => '-0'
809
+ * The base implementation of `_.isNative` without bad shim checks.
792
810
  *
793
- * _.toString([1, 2, 3]);
794
- * // => '1,2,3'
811
+ * @private
812
+ * @param {*} value The value to check.
813
+ * @returns {boolean} Returns `true` if `value` is a native function,
814
+ * else `false`.
795
815
  */
796
- function toString(value) {
797
- return value == null ? "" : baseToString(value);
816
+ function baseIsNative(value) {
817
+ if (!isObject(value) || isMasked(value)) return false;
818
+ var pattern = isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
819
+ return pattern.test(toSource(value));
798
820
  }
799
821
  /**
800
- * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
801
- * it's created. Arrays are created for missing index properties while objects
802
- * are created for all other missing properties. Use `_.setWith` to customize
803
- * `path` creation.
804
- *
805
- * **Note:** This method mutates `object`.
822
+ * The base implementation of `_.set`.
806
823
  *
807
- * @static
808
- * @memberOf _
809
- * @since 3.7.0
810
- * @category Object
824
+ * @private
811
825
  * @param {Object} object The object to modify.
812
826
  * @param {Array|string} path The path of the property to set.
813
827
  * @param {*} value The value to set.
828
+ * @param {Function} [customizer] The function to customize path creation.
814
829
  * @returns {Object} Returns `object`.
815
- * @example
816
- *
817
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
818
- *
819
- * _.set(object, 'a[0].b.c', 4);
820
- * console.log(object.a[0].b.c);
821
- * // => 4
822
- *
823
- * _.set(object, ['x', '0', 'y', 'z'], 5);
824
- * console.log(object.x[0].y.z);
825
- * // => 5
826
830
  */
827
- function set$1(object, path, value) {
828
- return object == null ? object : baseSet(object, path, value);
831
+ function baseSet(object, path, value, customizer) {
832
+ if (!isObject(object)) return object;
833
+ path = isKey(path, object) ? [path] : castPath(path);
834
+ var index = -1, length = path.length, lastIndex = length - 1, nested = object;
835
+ while (nested != null && ++index < length) {
836
+ var key = toKey(path[index]), newValue = value;
837
+ if (index != lastIndex) {
838
+ var objValue = nested[key];
839
+ newValue = customizer ? customizer(objValue, key, nested) : void 0;
840
+ if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
841
+ }
842
+ assignValue(nested, key, newValue);
843
+ nested = nested[key];
844
+ }
845
+ return object;
829
846
  }
830
- module.exports = set$1;
831
- } });
832
-
833
- //#endregion
834
- //#region ../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js
835
- var require_lodash = __commonJS({ "../../node_modules/.pnpm/lodash.pick@4.4.0/node_modules/lodash.pick/index.js"(exports, module) {
836
- /**
837
- * lodash (Custom Build) <https://lodash.com/>
838
- * Build: `lodash modularize exports="npm" -o ./`
839
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
840
- * Released under MIT license <https://lodash.com/license>
841
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
842
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
843
- */
844
- /** Used as references for various `Number` constants. */
845
- var INFINITY = Infinity, MAX_SAFE_INTEGER = 9007199254740991;
846
- /** `Object#toString` result references. */
847
- var argsTag = "[object Arguments]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", symbolTag = "[object Symbol]";
848
- /** Detect free variable `global` from Node.js. */
849
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
850
- /** Detect free variable `self`. */
851
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
852
- /** Used as a reference to the global object. */
853
- var root = freeGlobal || freeSelf || Function("return this")();
854
847
  /**
855
- * A faster alternative to `Function#apply`, this function invokes `func`
856
- * with the `this` binding of `thisArg` and the arguments of `args`.
848
+ * The base implementation of `_.toString` which doesn't convert nullish
849
+ * values to empty strings.
857
850
  *
858
851
  * @private
859
- * @param {Function} func The function to invoke.
860
- * @param {*} thisArg The `this` binding of `func`.
861
- * @param {Array} args The arguments to invoke `func` with.
862
- * @returns {*} Returns the result of `func`.
852
+ * @param {*} value The value to process.
853
+ * @returns {string} Returns the string.
863
854
  */
864
- function apply(func, thisArg, args) {
865
- switch (args.length) {
866
- case 0: return func.call(thisArg);
867
- case 1: return func.call(thisArg, args[0]);
868
- case 2: return func.call(thisArg, args[0], args[1]);
869
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
870
- }
871
- return func.apply(thisArg, args);
855
+ function baseToString(value) {
856
+ if (typeof value == "string") return value;
857
+ if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
858
+ var result = value + "";
859
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
872
860
  }
873
861
  /**
874
- * A specialized version of `_.map` for arrays without support for iteratee
875
- * shorthands.
862
+ * Casts `value` to a path array if it's not one.
876
863
  *
877
864
  * @private
878
- * @param {Array} [array] The array to iterate over.
879
- * @param {Function} iteratee The function invoked per iteration.
880
- * @returns {Array} Returns the new mapped array.
865
+ * @param {*} value The value to inspect.
866
+ * @returns {Array} Returns the cast property path array.
881
867
  */
882
- function arrayMap(array, iteratee) {
883
- var index = -1, length = array ? array.length : 0, result = Array(length);
884
- while (++index < length) result[index] = iteratee(array[index], index, array);
885
- return result;
868
+ function castPath(value) {
869
+ return isArray(value) ? value : stringToPath(value);
886
870
  }
887
871
  /**
888
- * Appends the elements of `values` to `array`.
872
+ * Gets the data for `map`.
889
873
  *
890
874
  * @private
891
- * @param {Array} array The array to modify.
892
- * @param {Array} values The values to append.
893
- * @returns {Array} Returns `array`.
875
+ * @param {Object} map The map to query.
876
+ * @param {string} key The reference key.
877
+ * @returns {*} Returns the map data.
894
878
  */
895
- function arrayPush(array, values) {
896
- var index = -1, length = values.length, offset = array.length;
897
- while (++index < length) array[offset + index] = values[index];
898
- return array;
879
+ function getMapData(map, key) {
880
+ var data = map.__data__;
881
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
899
882
  }
900
- /** Used for built-in method references. */
901
- var objectProto = Object.prototype;
902
- /** Used to check objects for own properties. */
903
- var hasOwnProperty = objectProto.hasOwnProperty;
904
883
  /**
905
- * Used to resolve the
906
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
907
- * of values.
884
+ * Gets the native function at `key` of `object`.
885
+ *
886
+ * @private
887
+ * @param {Object} object The object to query.
888
+ * @param {string} key The key of the method to get.
889
+ * @returns {*} Returns the function if it's native, else `undefined`.
908
890
  */
909
- var objectToString = objectProto.toString;
910
- /** Built-in value references. */
911
- var Symbol = root.Symbol, propertyIsEnumerable = objectProto.propertyIsEnumerable, spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
912
- var nativeMax = Math.max;
891
+ function getNative(object, key) {
892
+ var value = getValue(object, key);
893
+ return baseIsNative(value) ? value : void 0;
894
+ }
913
895
  /**
914
- * The base implementation of `_.flatten` with support for restricting flattening.
896
+ * Checks if `value` is a valid array-like index.
915
897
  *
916
898
  * @private
917
- * @param {Array} array The array to flatten.
918
- * @param {number} depth The maximum recursion depth.
919
- * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
920
- * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
921
- * @param {Array} [result=[]] The initial result value.
922
- * @returns {Array} Returns the new flattened array.
899
+ * @param {*} value The value to check.
900
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
901
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
923
902
  */
924
- function baseFlatten(array, depth, predicate, isStrict, result) {
925
- var index = -1, length = array.length;
926
- predicate || (predicate = isFlattenable);
927
- result || (result = []);
928
- while (++index < length) {
929
- var value = array[index];
930
- if (depth > 0 && predicate(value)) if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
931
- else arrayPush(result, value);
932
- else if (!isStrict) result[result.length] = value;
933
- }
934
- return result;
903
+ function isIndex(value, length) {
904
+ length = length == null ? MAX_SAFE_INTEGER : length;
905
+ return !!length && (typeof value == "number" || reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
935
906
  }
936
907
  /**
937
- * The base implementation of `_.pick` without support for individual
938
- * property identifiers.
908
+ * Checks if `value` is a property name and not a property path.
939
909
  *
940
910
  * @private
941
- * @param {Object} object The source object.
942
- * @param {string[]} props The property identifiers to pick.
943
- * @returns {Object} Returns the new object.
911
+ * @param {*} value The value to check.
912
+ * @param {Object} [object] The object to query keys on.
913
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
944
914
  */
945
- function basePick(object, props) {
946
- object = Object(object);
947
- return basePickBy(object, props, function(value, key) {
948
- return key in object;
949
- });
915
+ function isKey(value, object) {
916
+ if (isArray(value)) return false;
917
+ var type = typeof value;
918
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
919
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
950
920
  }
951
921
  /**
952
- * The base implementation of `_.pickBy` without support for iteratee shorthands.
922
+ * Checks if `value` is suitable for use as unique object key.
953
923
  *
954
924
  * @private
955
- * @param {Object} object The source object.
956
- * @param {string[]} props The property identifiers to pick from.
957
- * @param {Function} predicate The function invoked per property.
958
- * @returns {Object} Returns the new object.
925
+ * @param {*} value The value to check.
926
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
959
927
  */
960
- function basePickBy(object, props, predicate) {
961
- var index = -1, length = props.length, result = {};
962
- while (++index < length) {
963
- var key = props[index], value = object[key];
964
- if (predicate(value, key)) result[key] = value;
965
- }
966
- return result;
928
+ function isKeyable(value) {
929
+ var type = typeof value;
930
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
967
931
  }
968
932
  /**
969
- * The base implementation of `_.rest` which doesn't validate or coerce arguments.
933
+ * Checks if `func` has its source masked.
970
934
  *
971
935
  * @private
972
- * @param {Function} func The function to apply a rest parameter to.
973
- * @param {number} [start=func.length-1] The start position of the rest parameter.
974
- * @returns {Function} Returns the new function.
936
+ * @param {Function} func The function to check.
937
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
975
938
  */
976
- function baseRest(func, start) {
977
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
978
- return function() {
979
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
980
- while (++index < length) array[index] = args[start + index];
981
- index = -1;
982
- var otherArgs = Array(start + 1);
983
- while (++index < start) otherArgs[index] = args[index];
984
- otherArgs[start] = array;
985
- return apply(func, this, otherArgs);
986
- };
939
+ function isMasked(func) {
940
+ return !!maskSrcKey && maskSrcKey in func;
987
941
  }
988
942
  /**
989
- * Checks if `value` is a flattenable `arguments` object or array.
943
+ * Converts `string` to a property path array.
990
944
  *
991
945
  * @private
992
- * @param {*} value The value to check.
993
- * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
946
+ * @param {string} string The string to convert.
947
+ * @returns {Array} Returns the property path array.
994
948
  */
995
- function isFlattenable(value) {
996
- return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
997
- }
949
+ var stringToPath = memoize(function(string) {
950
+ string = toString(string);
951
+ var result = [];
952
+ if (reLeadingDot.test(string)) result.push("");
953
+ string.replace(rePropName, function(match, number, quote, string$1) {
954
+ result.push(quote ? string$1.replace(reEscapeChar, "$1") : number || match);
955
+ });
956
+ return result;
957
+ });
998
958
  /**
999
959
  * Converts `value` to a string key if it's not a string or symbol.
1000
960
  *
@@ -1008,106 +968,139 @@ var require_lodash = __commonJS({ "../../node_modules/.pnpm/lodash.pick@4.4.0/no
1008
968
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1009
969
  }
1010
970
  /**
1011
- * Checks if `value` is likely an `arguments` object.
1012
- *
1013
- * @static
1014
- * @memberOf _
1015
- * @since 0.1.0
1016
- * @category Lang
1017
- * @param {*} value The value to check.
1018
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1019
- * else `false`.
1020
- * @example
1021
- *
1022
- * _.isArguments(function() { return arguments; }());
1023
- * // => true
971
+ * Converts `func` to its source code.
1024
972
  *
1025
- * _.isArguments([1, 2, 3]);
1026
- * // => false
973
+ * @private
974
+ * @param {Function} func The function to process.
975
+ * @returns {string} Returns the source code.
1027
976
  */
1028
- function isArguments(value) {
1029
- return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
977
+ function toSource(func) {
978
+ if (func != null) {
979
+ try {
980
+ return funcToString.call(func);
981
+ } catch (e) {}
982
+ try {
983
+ return func + "";
984
+ } catch (e) {}
985
+ }
986
+ return "";
1030
987
  }
1031
988
  /**
1032
- * Checks if `value` is classified as an `Array` object.
989
+ * Creates a function that memoizes the result of `func`. If `resolver` is
990
+ * provided, it determines the cache key for storing the result based on the
991
+ * arguments provided to the memoized function. By default, the first argument
992
+ * provided to the memoized function is used as the map cache key. The `func`
993
+ * is invoked with the `this` binding of the memoized function.
994
+ *
995
+ * **Note:** The cache is exposed as the `cache` property on the memoized
996
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
997
+ * constructor with one whose instances implement the
998
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
999
+ * method interface of `delete`, `get`, `has`, and `set`.
1033
1000
  *
1034
1001
  * @static
1035
1002
  * @memberOf _
1036
1003
  * @since 0.1.0
1037
- * @category Lang
1038
- * @param {*} value The value to check.
1039
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1004
+ * @category Function
1005
+ * @param {Function} func The function to have its output memoized.
1006
+ * @param {Function} [resolver] The function to resolve the cache key.
1007
+ * @returns {Function} Returns the new memoized function.
1040
1008
  * @example
1041
1009
  *
1042
- * _.isArray([1, 2, 3]);
1043
- * // => true
1010
+ * var object = { 'a': 1, 'b': 2 };
1011
+ * var other = { 'c': 3, 'd': 4 };
1044
1012
  *
1045
- * _.isArray(document.body.children);
1046
- * // => false
1013
+ * var values = _.memoize(_.values);
1014
+ * values(object);
1015
+ * // => [1, 2]
1047
1016
  *
1048
- * _.isArray('abc');
1049
- * // => false
1017
+ * values(other);
1018
+ * // => [3, 4]
1050
1019
  *
1051
- * _.isArray(_.noop);
1052
- * // => false
1020
+ * object.a = 2;
1021
+ * values(object);
1022
+ * // => [1, 2]
1023
+ *
1024
+ * // Modify the result cache.
1025
+ * values.cache.set(object, ['a', 'b']);
1026
+ * values(object);
1027
+ * // => ['a', 'b']
1028
+ *
1029
+ * // Replace `_.memoize.Cache`.
1030
+ * _.memoize.Cache = WeakMap;
1053
1031
  */
1054
- var isArray = Array.isArray;
1032
+ function memoize(func, resolver) {
1033
+ if (typeof func != "function" || resolver && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
1034
+ var memoized = function() {
1035
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
1036
+ if (cache.has(key)) return cache.get(key);
1037
+ var result = func.apply(this, args);
1038
+ memoized.cache = cache.set(key, result);
1039
+ return result;
1040
+ };
1041
+ memoized.cache = new (memoize.Cache || MapCache)();
1042
+ return memoized;
1043
+ }
1044
+ memoize.Cache = MapCache;
1055
1045
  /**
1056
- * Checks if `value` is array-like. A value is considered array-like if it's
1057
- * not a function and has a `value.length` that's an integer greater than or
1058
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1046
+ * Performs a
1047
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1048
+ * comparison between two values to determine if they are equivalent.
1059
1049
  *
1060
1050
  * @static
1061
1051
  * @memberOf _
1062
1052
  * @since 4.0.0
1063
1053
  * @category Lang
1064
- * @param {*} value The value to check.
1065
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1054
+ * @param {*} value The value to compare.
1055
+ * @param {*} other The other value to compare.
1056
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1066
1057
  * @example
1067
1058
  *
1068
- * _.isArrayLike([1, 2, 3]);
1069
- * // => true
1059
+ * var object = { 'a': 1 };
1060
+ * var other = { 'a': 1 };
1070
1061
  *
1071
- * _.isArrayLike(document.body.children);
1062
+ * _.eq(object, object);
1072
1063
  * // => true
1073
1064
  *
1074
- * _.isArrayLike('abc');
1065
+ * _.eq(object, other);
1066
+ * // => false
1067
+ *
1068
+ * _.eq('a', 'a');
1075
1069
  * // => true
1076
1070
  *
1077
- * _.isArrayLike(_.noop);
1071
+ * _.eq('a', Object('a'));
1078
1072
  * // => false
1073
+ *
1074
+ * _.eq(NaN, NaN);
1075
+ * // => true
1079
1076
  */
1080
- function isArrayLike(value) {
1081
- return value != null && isLength(value.length) && !isFunction(value);
1077
+ function eq(value, other) {
1078
+ return value === other || value !== value && other !== other;
1082
1079
  }
1083
1080
  /**
1084
- * This method is like `_.isArrayLike` except that it also checks if `value`
1085
- * is an object.
1081
+ * Checks if `value` is classified as an `Array` object.
1086
1082
  *
1087
1083
  * @static
1088
1084
  * @memberOf _
1089
- * @since 4.0.0
1085
+ * @since 0.1.0
1090
1086
  * @category Lang
1091
1087
  * @param {*} value The value to check.
1092
- * @returns {boolean} Returns `true` if `value` is an array-like object,
1093
- * else `false`.
1088
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1094
1089
  * @example
1095
1090
  *
1096
- * _.isArrayLikeObject([1, 2, 3]);
1091
+ * _.isArray([1, 2, 3]);
1097
1092
  * // => true
1098
1093
  *
1099
- * _.isArrayLikeObject(document.body.children);
1100
- * // => true
1094
+ * _.isArray(document.body.children);
1095
+ * // => false
1101
1096
  *
1102
- * _.isArrayLikeObject('abc');
1097
+ * _.isArray('abc');
1103
1098
  * // => false
1104
1099
  *
1105
- * _.isArrayLikeObject(_.noop);
1100
+ * _.isArray(_.noop);
1106
1101
  * // => false
1107
1102
  */
1108
- function isArrayLikeObject(value) {
1109
- return isObjectLike(value) && isArrayLike(value);
1110
- }
1103
+ var isArray = Array.isArray;
1111
1104
  /**
1112
1105
  * Checks if `value` is classified as a `Function` object.
1113
1106
  *
@@ -1130,35 +1123,6 @@ var require_lodash = __commonJS({ "../../node_modules/.pnpm/lodash.pick@4.4.0/no
1130
1123
  return tag == funcTag || tag == genTag;
1131
1124
  }
1132
1125
  /**
1133
- * Checks if `value` is a valid array-like length.
1134
- *
1135
- * **Note:** This method is loosely based on
1136
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1137
- *
1138
- * @static
1139
- * @memberOf _
1140
- * @since 4.0.0
1141
- * @category Lang
1142
- * @param {*} value The value to check.
1143
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1144
- * @example
1145
- *
1146
- * _.isLength(3);
1147
- * // => true
1148
- *
1149
- * _.isLength(Number.MIN_VALUE);
1150
- * // => false
1151
- *
1152
- * _.isLength(Infinity);
1153
- * // => false
1154
- *
1155
- * _.isLength('3');
1156
- * // => false
1157
- */
1158
- function isLength(value) {
1159
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1160
- }
1161
- /**
1162
1126
  * Checks if `value` is the
1163
1127
  * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1164
1128
  * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
@@ -1235,32 +1199,67 @@ var require_lodash = __commonJS({ "../../node_modules/.pnpm/lodash.pick@4.4.0/no
1235
1199
  return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag;
1236
1200
  }
1237
1201
  /**
1238
- * Creates an object composed of the picked `object` properties.
1202
+ * Converts `value` to a string. An empty string is returned for `null`
1203
+ * and `undefined` values. The sign of `-0` is preserved.
1204
+ *
1205
+ * @static
1206
+ * @memberOf _
1207
+ * @since 4.0.0
1208
+ * @category Lang
1209
+ * @param {*} value The value to process.
1210
+ * @returns {string} Returns the string.
1211
+ * @example
1212
+ *
1213
+ * _.toString(null);
1214
+ * // => ''
1215
+ *
1216
+ * _.toString(-0);
1217
+ * // => '-0'
1218
+ *
1219
+ * _.toString([1, 2, 3]);
1220
+ * // => '1,2,3'
1221
+ */
1222
+ function toString(value) {
1223
+ return value == null ? "" : baseToString(value);
1224
+ }
1225
+ /**
1226
+ * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
1227
+ * it's created. Arrays are created for missing index properties while objects
1228
+ * are created for all other missing properties. Use `_.setWith` to customize
1229
+ * `path` creation.
1230
+ *
1231
+ * **Note:** This method mutates `object`.
1239
1232
  *
1240
1233
  * @static
1241
- * @since 0.1.0
1242
1234
  * @memberOf _
1235
+ * @since 3.7.0
1243
1236
  * @category Object
1244
- * @param {Object} object The source object.
1245
- * @param {...(string|string[])} [props] The property identifiers to pick.
1246
- * @returns {Object} Returns the new object.
1237
+ * @param {Object} object The object to modify.
1238
+ * @param {Array|string} path The path of the property to set.
1239
+ * @param {*} value The value to set.
1240
+ * @returns {Object} Returns `object`.
1247
1241
  * @example
1248
1242
  *
1249
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
1243
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1250
1244
  *
1251
- * _.pick(object, ['a', 'c']);
1252
- * // => { 'a': 1, 'c': 3 }
1245
+ * _.set(object, 'a[0].b.c', 4);
1246
+ * console.log(object.a[0].b.c);
1247
+ * // => 4
1248
+ *
1249
+ * _.set(object, ['x', '0', 'y', 'z'], 5);
1250
+ * console.log(object.x[0].y.z);
1251
+ * // => 5
1253
1252
  */
1254
- var pick$1 = baseRest(function(object, props) {
1255
- return object == null ? {} : basePick(object, arrayMap(baseFlatten(props, 1), toKey));
1256
- });
1257
- module.exports = pick$1;
1253
+ function set$1(object, path, value) {
1254
+ return object == null ? object : baseSet(object, path, value);
1255
+ }
1256
+ module.exports = set$1;
1258
1257
  } });
1259
1258
 
1260
1259
  //#endregion
1261
1260
  //#region src/endpoints/Endpoint.ts
1262
- var import_lodash = __toESM(require_lodash(), 1);
1263
- var import_lodash$1 = __toESM(require_lodash$1(), 1);
1261
+ var import_lodash = __toESM(require_lodash$1(), 1);
1262
+ var import_lodash$1 = __toESM(require_lodash(), 1);
1264
1263
  /**
1265
1264
  * Represents an HTTP endpoint that can handle requests with type-safe input/output validation,
1266
1265
  * dependency injection, session management, and authorization.
@@ -1292,6 +1291,14 @@ var Endpoint = class Endpoint extends Function$1 {
1292
1291
  route;
1293
1292
  /** The HTTP method for this endpoint */
1294
1293
  method;
1294
+ /**
1295
+ * The surface that serves it, when it was built from one.
1296
+ *
1297
+ * Carries the env parser the adaptors need, so a generated handler needs no
1298
+ * import written for it — and the surface's id, so the build attributes the
1299
+ * route to the API that serves it rather than inferring it by exclusion.
1300
+ */
1301
+ surface;
1295
1302
  /** Optional description for OpenAPI documentation */
1296
1303
  description;
1297
1304
  /** Optional tags for OpenAPI documentation */
@@ -1596,8 +1603,8 @@ var Endpoint = class Endpoint extends Function$1 {
1596
1603
  * @param options.status - Success HTTP status code (default: 200)
1597
1604
  * @param options.authorizer - Optional authorizer configuration
1598
1605
  */
1599
- constructor({ fn, method, route, description, tags, input, logger, output: outputSchema, services, timeout, memorySize, getSession, authorize, rateLimit, status = SuccessStatus.OK, publisherService, events, authorizer, auditorStorageService, actorExtractor, audits, databaseService, rlsConfig, rlsBypass, responseType }) {
1600
- super(fn, timeout, ConstructType.Endpoint, input, outputSchema, services, logger, publisherService, events, memorySize, auditorStorageService);
1606
+ constructor({ fn, method, route, description, tags, input, logger, output: outputSchema, services, constructs, timeout, memorySize, getSession, authorize, rateLimit, status = SuccessStatus.OK, publisherService, events, authorizer, surface, auditorStorageService, actorExtractor, audits, databaseService, rlsConfig, rlsBypass, responseType }) {
1607
+ super(fn, timeout, ConstructType.Endpoint, input, outputSchema, services, logger, publisherService, events, memorySize, auditorStorageService, void 0, constructs);
1601
1608
  this.route = route;
1602
1609
  this.method = method;
1603
1610
  this.description = description;
@@ -1609,6 +1616,7 @@ var Endpoint = class Endpoint extends Function$1 {
1609
1616
  if (authorize) this.authorize = authorize;
1610
1617
  if (rateLimit) this.rateLimit = rateLimit;
1611
1618
  if (authorizer) this.authorizer = authorizer;
1619
+ this.surface = surface;
1612
1620
  if (actorExtractor) this.actorExtractor = actorExtractor;
1613
1621
  if (audits) this.audits = audits;
1614
1622
  if (databaseService) this.databaseService = databaseService;
@@ -1680,176 +1688,5 @@ let SuccessStatus = /* @__PURE__ */ function(SuccessStatus$1) {
1680
1688
  }({});
1681
1689
 
1682
1690
  //#endregion
1683
- //#region src/endpoints/lazyAccessors.ts
1684
- /**
1685
- * Create a lazy header accessor for Hono.
1686
- * Uses `c.req.header(name)` for single lookups (native, case-insensitive).
1687
- * Only calls `c.req.header()` to get all headers when needed.
1688
- */
1689
- function createHonoHeaders(c) {
1690
- let allHeaders = null;
1691
- return (key) => {
1692
- if (key !== void 0) return c.req.header(key);
1693
- if (!allHeaders) allHeaders = c.req.header();
1694
- return allHeaders;
1695
- };
1696
- }
1697
- /**
1698
- * Create a lazy cookie accessor for Hono.
1699
- * Uses `getCookie(c, name)` for single lookups (native).
1700
- * Only parses the cookie header when all cookies are requested.
1701
- */
1702
- function createHonoCookies(c) {
1703
- let allCookies = null;
1704
- return (name) => {
1705
- if (name !== void 0) return getCookie(c, name);
1706
- if (!allCookies) {
1707
- allCookies = {};
1708
- const cookieHeader = c.req.header("cookie");
1709
- if (cookieHeader) for (const part of cookieHeader.split(";")) {
1710
- const trimmed = part.trim();
1711
- const eqIndex = trimmed.indexOf("=");
1712
- if (eqIndex > 0) {
1713
- const key = trimmed.slice(0, eqIndex);
1714
- const value = trimmed.slice(eqIndex + 1);
1715
- allCookies[key] = value;
1716
- }
1717
- }
1718
- }
1719
- return allCookies;
1720
- };
1721
- }
1722
- /**
1723
- * Create a lazy header accessor for API Gateway events.
1724
- * Handles case-insensitive lookups.
1725
- */
1726
- function createApiGatewayHeaders(headers) {
1727
- let normalizedHeaders = null;
1728
- const normalize = () => {
1729
- if (!normalizedHeaders) {
1730
- normalizedHeaders = {};
1731
- if (headers) {
1732
- for (const [k, v] of Object.entries(headers)) if (v !== void 0) normalizedHeaders[k.toLowerCase()] = v;
1733
- }
1734
- }
1735
- return normalizedHeaders;
1736
- };
1737
- return (key) => {
1738
- if (key !== void 0) {
1739
- if (headers) {
1740
- const direct = headers[key] ?? headers[key.toLowerCase()];
1741
- if (direct !== void 0) return direct;
1742
- return normalize()[key.toLowerCase()];
1743
- }
1744
- return void 0;
1745
- }
1746
- return normalize();
1747
- };
1748
- }
1749
- /**
1750
- * Create a lazy cookie accessor for API Gateway events.
1751
- * Decodes URL-encoded values to match browser behavior.
1752
- */
1753
- function createApiGatewayCookies(cookies, cookieHeader) {
1754
- let parsed = null;
1755
- const parse = () => {
1756
- if (!parsed) {
1757
- parsed = {};
1758
- if (cookies) for (const cookie of cookies) {
1759
- const eqIndex = cookie.indexOf("=");
1760
- if (eqIndex > 0) {
1761
- const key = cookie.slice(0, eqIndex);
1762
- const value = cookie.slice(eqIndex + 1);
1763
- parsed[key] = decodeURIComponent(value);
1764
- }
1765
- }
1766
- else if (cookieHeader) for (const part of cookieHeader.split(";")) {
1767
- const trimmed = part.trim();
1768
- const eqIndex = trimmed.indexOf("=");
1769
- if (eqIndex > 0) {
1770
- const key = trimmed.slice(0, eqIndex);
1771
- const value = trimmed.slice(eqIndex + 1);
1772
- parsed[key] = decodeURIComponent(value);
1773
- }
1774
- }
1775
- }
1776
- return parsed;
1777
- };
1778
- return (name) => {
1779
- if (name !== void 0) return parse()[name];
1780
- return parse();
1781
- };
1782
- }
1783
- /**
1784
- * Create a lazy header accessor for plain object headers (test adaptor, etc).
1785
- * Headers are already available as an object, just provide lazy access.
1786
- */
1787
- function createObjectHeaders(headers) {
1788
- let normalized = null;
1789
- return (key) => {
1790
- if (key !== void 0) {
1791
- if (headers) {
1792
- const direct = headers[key] ?? headers[key.toLowerCase()];
1793
- if (direct !== void 0) return direct;
1794
- }
1795
- if (!normalized && headers) {
1796
- normalized = {};
1797
- for (const [k, v] of Object.entries(headers)) normalized[k.toLowerCase()] = v;
1798
- }
1799
- return normalized?.[key.toLowerCase()];
1800
- }
1801
- if (!normalized && headers) {
1802
- normalized = {};
1803
- for (const [k, v] of Object.entries(headers)) normalized[k.toLowerCase()] = v;
1804
- }
1805
- return normalized ?? {};
1806
- };
1807
- }
1808
- /**
1809
- * Create a lazy cookie accessor from a cookie header string.
1810
- * Decodes URL-encoded values to match browser behavior.
1811
- */
1812
- function createCookieHeaderAccessor(cookieHeader) {
1813
- let parsed = null;
1814
- const parse = () => {
1815
- if (!parsed) {
1816
- parsed = {};
1817
- if (cookieHeader) for (const part of cookieHeader.split(";")) {
1818
- const trimmed = part.trim();
1819
- const eqIndex = trimmed.indexOf("=");
1820
- if (eqIndex > 0) {
1821
- const key = trimmed.slice(0, eqIndex);
1822
- const value = trimmed.slice(eqIndex + 1);
1823
- parsed[key] = decodeURIComponent(value);
1824
- }
1825
- }
1826
- }
1827
- return parsed;
1828
- };
1829
- return (name) => {
1830
- if (name !== void 0) return parse()[name];
1831
- return parse();
1832
- };
1833
- }
1834
- /**
1835
- * Create a no-op header accessor (for minimal endpoints that don't use headers).
1836
- */
1837
- function createNoopHeaders() {
1838
- return (key) => {
1839
- if (key !== void 0) return void 0;
1840
- return {};
1841
- };
1842
- }
1843
- /**
1844
- * Create a no-op cookie accessor (for minimal endpoints that don't use cookies).
1845
- */
1846
- function createNoopCookies() {
1847
- return (name) => {
1848
- if (name !== void 0) return void 0;
1849
- return {};
1850
- };
1851
- }
1852
-
1853
- //#endregion
1854
- export { Endpoint, ResponseBuilder, createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders, require_lodash$1 as require_lodash };
1855
- //# sourceMappingURL=lazyAccessors-DfqZR6C4.mjs.map
1691
+ export { Endpoint, ResponseBuilder, require_lodash };
1692
+ //# sourceMappingURL=Endpoint-BTj58Gob.mjs.map