emdash 0.27.0 → 0.28.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 (537) hide show
  1. package/dist/{adapters-u037EnTR.d.mts → adapters-hUy8vOB-.d.mts} +1 -1
  2. package/dist/{adapters-u037EnTR.d.mts.map → adapters-hUy8vOB-.d.mts.map} +1 -1
  3. package/dist/{allowed-origins-D5FxMUo8.mjs → allowed-origins-CRsJ6BPM.mjs} +2 -2
  4. package/dist/{allowed-origins-D5FxMUo8.mjs.map → allowed-origins-CRsJ6BPM.mjs.map} +1 -1
  5. package/dist/api/route-utils.d.mts +3 -3
  6. package/dist/api/route-utils.mjs +17 -16
  7. package/dist/api/route-utils.mjs.map +1 -1
  8. package/dist/api/schemas/index.d.mts +1 -1
  9. package/dist/api/schemas/index.mjs +3 -3
  10. package/dist/{api-80kycR9o.mjs → api-DxFSorgk.mjs} +33 -23
  11. package/dist/api-DxFSorgk.mjs.map +1 -0
  12. package/dist/{api-tokens-D6ppjIVi.mjs → api-tokens-DvqeZmVq.mjs} +2 -2
  13. package/dist/{api-tokens-D6ppjIVi.mjs.map → api-tokens-DvqeZmVq.mjs.map} +1 -1
  14. package/dist/{apply-DSypk6Iu.mjs → apply-CDJqIjPU.mjs} +111 -74
  15. package/dist/apply-CDJqIjPU.mjs.map +1 -0
  16. package/dist/astro/index.d.mts +12 -12
  17. package/dist/astro/index.mjs +3 -3
  18. package/dist/astro/index.mjs.map +1 -1
  19. package/dist/astro/middleware/auth.d.mts +10 -10
  20. package/dist/astro/middleware/auth.d.mts.map +1 -1
  21. package/dist/astro/middleware/auth.mjs +50 -11
  22. package/dist/astro/middleware/auth.mjs.map +1 -1
  23. package/dist/astro/middleware/redirect.mjs +5 -5
  24. package/dist/astro/middleware/request-context.mjs +2 -2
  25. package/dist/astro/middleware/setup.mjs +1 -1
  26. package/dist/astro/middleware.d.mts +2 -2
  27. package/dist/astro/middleware.mjs +124 -71
  28. package/dist/astro/middleware.mjs.map +1 -1
  29. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +6 -6
  30. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +6 -6
  31. package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +4 -4
  32. package/dist/astro/routes/api/admin/api-tokens/index.mjs +5 -5
  33. package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +4 -4
  34. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +8 -8
  35. package/dist/astro/routes/api/admin/byline-fields/index.mjs +8 -8
  36. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +8 -8
  37. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +14 -14
  38. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +14 -14
  39. package/dist/astro/routes/api/admin/bylines/index.mjs +14 -14
  40. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +12 -12
  41. package/dist/astro/routes/api/admin/comments/_id_.mjs +6 -6
  42. package/dist/astro/routes/api/admin/comments/bulk.mjs +10 -10
  43. package/dist/astro/routes/api/admin/comments/counts.mjs +6 -6
  44. package/dist/astro/routes/api/admin/comments/index.mjs +10 -10
  45. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +4 -4
  46. package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +3 -3
  47. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +4 -4
  48. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +4 -4
  49. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +37 -36
  50. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
  51. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +37 -36
  52. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
  53. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +36 -35
  54. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
  55. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +36 -35
  56. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -1
  57. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +36 -35
  58. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -1
  59. package/dist/astro/routes/api/admin/plugins/index.mjs +36 -35
  60. package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
  61. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +3 -3
  62. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +36 -35
  63. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs.map +1 -1
  64. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +36 -35
  65. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -1
  66. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +36 -35
  67. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -1
  68. package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +36 -35
  69. package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs.map +1 -1
  70. package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +37 -36
  71. package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
  72. package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +36 -35
  73. package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
  74. package/dist/astro/routes/api/admin/plugins/registry/install.mjs +37 -36
  75. package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
  76. package/dist/astro/routes/api/admin/plugins/updates.mjs +36 -35
  77. package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -1
  78. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +36 -35
  79. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs.map +1 -1
  80. package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +3 -3
  81. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +36 -35
  82. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -1
  83. package/dist/astro/routes/api/admin/users/_id_/disable.mjs +2 -2
  84. package/dist/astro/routes/api/admin/users/_id_/enable.mjs +2 -2
  85. package/dist/astro/routes/api/admin/users/_id_/index.mjs +6 -6
  86. package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +3 -3
  87. package/dist/astro/routes/api/admin/users/index.mjs +6 -6
  88. package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
  89. package/dist/astro/routes/api/auth/invite/accept.mjs +2 -2
  90. package/dist/astro/routes/api/auth/invite/complete.mjs +10 -10
  91. package/dist/astro/routes/api/auth/invite/index.mjs +7 -7
  92. package/dist/astro/routes/api/auth/invite/register-options.mjs +9 -9
  93. package/dist/astro/routes/api/auth/logout.mjs +3 -3
  94. package/dist/astro/routes/api/auth/magic-link/send.mjs +9 -9
  95. package/dist/astro/routes/api/auth/magic-link/verify.mjs +3 -3
  96. package/dist/astro/routes/api/auth/me.mjs +7 -7
  97. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  98. package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +3 -3
  99. package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
  100. package/dist/astro/routes/api/auth/passkey/_id_.mjs +6 -6
  101. package/dist/astro/routes/api/auth/passkey/index.mjs +2 -2
  102. package/dist/astro/routes/api/auth/passkey/options.mjs +11 -11
  103. package/dist/astro/routes/api/auth/passkey/register/options.mjs +9 -9
  104. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +10 -10
  105. package/dist/astro/routes/api/auth/passkey/verify.mjs +10 -10
  106. package/dist/astro/routes/api/auth/signup/complete.mjs +10 -10
  107. package/dist/astro/routes/api/auth/signup/request.mjs +9 -9
  108. package/dist/astro/routes/api/auth/signup/verify.mjs +2 -2
  109. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +13 -13
  110. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +12 -12
  111. package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +3 -3
  112. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +3 -3
  113. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
  114. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
  115. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +10 -10
  116. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +7 -7
  117. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
  118. package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +3 -3
  119. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +7 -7
  120. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +13 -13
  121. package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +3 -3
  122. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +3 -3
  123. package/dist/astro/routes/api/content/_collection_/_id_.mjs +7 -7
  124. package/dist/astro/routes/api/content/_collection_/authors.mjs +3 -3
  125. package/dist/astro/routes/api/content/_collection_/index.mjs +7 -7
  126. package/dist/astro/routes/api/content/_collection_/trash.mjs +7 -7
  127. package/dist/astro/routes/api/dashboard.mjs +8 -8
  128. package/dist/astro/routes/api/dev/emails.mjs +3 -3
  129. package/dist/astro/routes/api/import/probe.d.mts +3 -3
  130. package/dist/astro/routes/api/import/probe.mjs +19 -11
  131. package/dist/astro/routes/api/import/probe.mjs.map +1 -1
  132. package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
  133. package/dist/astro/routes/api/import/wordpress/execute.d.mts +11 -41
  134. package/dist/astro/routes/api/import/wordpress/execute.d.mts.map +1 -1
  135. package/dist/astro/routes/api/import/wordpress/execute.mjs +12 -407
  136. package/dist/astro/routes/api/import/wordpress/execute.mjs.map +1 -1
  137. package/dist/astro/routes/api/import/wordpress/media.d.mts +10 -10
  138. package/dist/astro/routes/api/import/wordpress/media.mjs +9 -9
  139. package/dist/astro/routes/api/import/wordpress/prepare.mjs +9 -9
  140. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +19 -1
  141. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts.map +1 -1
  142. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +97 -79
  143. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs.map +1 -1
  144. package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
  145. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +19 -11
  146. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs.map +1 -1
  147. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +40 -2
  148. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts.map +1 -1
  149. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +519 -39
  150. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs.map +1 -1
  151. package/dist/astro/routes/api/manifest.mjs +4 -4
  152. package/dist/astro/routes/api/mcp.mjs +39 -39
  153. package/dist/astro/routes/api/media/_id_/confirm.mjs +7 -7
  154. package/dist/astro/routes/api/media/_id_.mjs +7 -7
  155. package/dist/astro/routes/api/media/file/_...key_.mjs +2 -2
  156. package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +3 -3
  157. package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +3 -3
  158. package/dist/astro/routes/api/media/providers/index.mjs +3 -3
  159. package/dist/astro/routes/api/media/upload-url.mjs +8 -8
  160. package/dist/astro/routes/api/media.mjs +9 -9
  161. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +9 -9
  162. package/dist/astro/routes/api/menus/_name_/items.mjs +9 -9
  163. package/dist/astro/routes/api/menus/_name_/reorder.mjs +9 -9
  164. package/dist/astro/routes/api/menus/_name_/translations.mjs +9 -9
  165. package/dist/astro/routes/api/menus/_name_.mjs +9 -9
  166. package/dist/astro/routes/api/menus/index.mjs +9 -9
  167. package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
  168. package/dist/astro/routes/api/oauth/device/authorize.mjs +6 -6
  169. package/dist/astro/routes/api/oauth/device/code.mjs +9 -9
  170. package/dist/astro/routes/api/oauth/device/token.mjs +8 -8
  171. package/dist/astro/routes/api/oauth/register.mjs +3 -3
  172. package/dist/astro/routes/api/oauth/token/refresh.mjs +6 -6
  173. package/dist/astro/routes/api/oauth/token/revoke.mjs +6 -6
  174. package/dist/astro/routes/api/oauth/token.mjs +6 -6
  175. package/dist/astro/routes/api/openapi.json.mjs +4 -4
  176. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.d.mts.map +1 -1
  177. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +6 -14
  178. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs.map +1 -1
  179. package/dist/astro/routes/api/redirects/404s/index.mjs +9 -9
  180. package/dist/astro/routes/api/redirects/404s/summary.mjs +9 -9
  181. package/dist/astro/routes/api/redirects/_id_.mjs +10 -10
  182. package/dist/astro/routes/api/redirects/index.mjs +10 -10
  183. package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +3 -3
  184. package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +3 -3
  185. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +36 -35
  186. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs.map +1 -1
  187. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +36 -35
  188. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs.map +1 -1
  189. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +36 -35
  190. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -1
  191. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +36 -35
  192. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -1
  193. package/dist/astro/routes/api/schema/collections/index.mjs +36 -35
  194. package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -1
  195. package/dist/astro/routes/api/schema/index.mjs +7 -6
  196. package/dist/astro/routes/api/schema/index.mjs.map +1 -1
  197. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +36 -35
  198. package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -1
  199. package/dist/astro/routes/api/schema/orphans/index.mjs +36 -35
  200. package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -1
  201. package/dist/astro/routes/api/search/enable.mjs +10 -10
  202. package/dist/astro/routes/api/search/index.mjs +9 -9
  203. package/dist/astro/routes/api/search/rebuild.mjs +10 -10
  204. package/dist/astro/routes/api/search/stats.mjs +6 -6
  205. package/dist/astro/routes/api/search/suggest.mjs +9 -9
  206. package/dist/astro/routes/api/sections/_slug_.mjs +9 -9
  207. package/dist/astro/routes/api/sections/index.mjs +9 -9
  208. package/dist/astro/routes/api/settings/email.mjs +4 -4
  209. package/dist/astro/routes/api/settings.mjs +12 -12
  210. package/dist/astro/routes/api/setup/admin-verify.mjs +11 -11
  211. package/dist/astro/routes/api/setup/admin.mjs +10 -10
  212. package/dist/astro/routes/api/setup/dev-bypass.mjs +25 -24
  213. package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
  214. package/dist/astro/routes/api/setup/dev-reset.mjs +2 -2
  215. package/dist/astro/routes/api/setup/index.mjs +26 -25
  216. package/dist/astro/routes/api/setup/index.mjs.map +1 -1
  217. package/dist/astro/routes/api/setup/status.mjs +4 -4
  218. package/dist/astro/routes/api/snapshot.mjs +6 -6
  219. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +13 -13
  220. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +13 -13
  221. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +13 -13
  222. package/dist/astro/routes/api/taxonomies/index.mjs +13 -13
  223. package/dist/astro/routes/api/themes/preview.mjs +5 -5
  224. package/dist/astro/routes/api/typegen.mjs +5 -5
  225. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  226. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
  227. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
  228. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +7 -7
  229. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +9 -9
  230. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +9 -9
  231. package/dist/astro/routes/api/widget-areas/_name_.mjs +5 -5
  232. package/dist/astro/routes/api/widget-areas/index.mjs +9 -9
  233. package/dist/astro/routes/api/widget-components.mjs +3 -3
  234. package/dist/astro/routes/robots.txt.mjs +6 -6
  235. package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
  236. package/dist/astro/routes/sitemap.xml.mjs +7 -7
  237. package/dist/astro/types.d.mts +13 -13
  238. package/dist/auth/providers/github.d.mts +1 -1
  239. package/dist/auth/providers/google.d.mts +1 -1
  240. package/dist/{authorize-C3a_zGsM.mjs → authorize-Dz88F_Fw.mjs} +2 -2
  241. package/dist/{authorize-C3a_zGsM.mjs.map → authorize-Dz88F_Fw.mjs.map} +1 -1
  242. package/dist/{byline-DEKSVPTy.mjs → byline-Bm8ZgUP9.mjs} +6 -6
  243. package/dist/{byline-DEKSVPTy.mjs.map → byline-Bm8ZgUP9.mjs.map} +1 -1
  244. package/dist/{byline-fields-eyJMblSr.mjs → byline-fields-2Lp5Hbgf.mjs} +18 -3
  245. package/dist/byline-fields-2Lp5Hbgf.mjs.map +1 -0
  246. package/dist/{byline-fields-CtQ6blXd.d.mts → byline-fields-CHE8UStY.d.mts} +47 -32
  247. package/dist/{byline-fields-CtQ6blXd.d.mts.map → byline-fields-CHE8UStY.d.mts.map} +1 -1
  248. package/dist/{byline-fields-DaMKzkhO.mjs → byline-fields-CIx_GuN4.mjs} +1 -1
  249. package/dist/{byline-fields-DaMKzkhO.mjs.map → byline-fields-CIx_GuN4.mjs.map} +1 -1
  250. package/dist/{bylines-Ds4-otXl.mjs → bylines-6tm9mgQb.mjs} +4 -4
  251. package/dist/{bylines-Ds4-otXl.mjs.map → bylines-6tm9mgQb.mjs.map} +1 -1
  252. package/dist/{bylines-CiqgTHWF.mjs → bylines-CAZxGSrm.mjs} +6 -6
  253. package/dist/{bylines-CiqgTHWF.mjs.map → bylines-CAZxGSrm.mjs.map} +1 -1
  254. package/dist/{cache-Ciu3e3AF.mjs → cache-CEBAZjir.mjs} +2 -2
  255. package/dist/{cache-Ciu3e3AF.mjs.map → cache-CEBAZjir.mjs.map} +1 -1
  256. package/dist/{challenge-store-LhiqMccz.mjs → challenge-store-anhwVER0.mjs} +1 -1
  257. package/dist/{challenge-store-LhiqMccz.mjs.map → challenge-store-anhwVER0.mjs.map} +1 -1
  258. package/dist/{chunks-CZFiauig.mjs → chunks-B2isWQhr.mjs} +2 -2
  259. package/dist/{chunks-CZFiauig.mjs.map → chunks-B2isWQhr.mjs.map} +1 -1
  260. package/dist/cli/index.mjs +22 -21
  261. package/dist/cli/index.mjs.map +1 -1
  262. package/dist/client/cf-access.d.mts +1 -1
  263. package/dist/client/index.d.mts +1 -1
  264. package/dist/client/index.mjs +2 -2
  265. package/dist/{comment-CH1IrFFs.mjs → comment-CzeatwBV.mjs} +3 -3
  266. package/dist/{comment-CH1IrFFs.mjs.map → comment-CzeatwBV.mjs.map} +1 -1
  267. package/dist/{comment-reaction-kruNY-kP.mjs → comment-reaction-Cj9QJY7I.mjs} +2 -2
  268. package/dist/{comment-reaction-kruNY-kP.mjs.map → comment-reaction-Cj9QJY7I.mjs.map} +1 -1
  269. package/dist/{comments-BUJyXbgq.mjs → comments-BLE-jv5k.mjs} +3 -3
  270. package/dist/{comments-BUJyXbgq.mjs.map → comments-BLE-jv5k.mjs.map} +1 -1
  271. package/dist/{components-CYt4uVK9.mjs → components-B_sATNUc.mjs} +1 -1
  272. package/dist/{components-CYt4uVK9.mjs.map → components-B_sATNUc.mjs.map} +1 -1
  273. package/dist/{content-RmfHoWqK.mjs → content-DhgEth4k.mjs} +4 -4
  274. package/dist/{content-RmfHoWqK.mjs.map → content-DhgEth4k.mjs.map} +1 -1
  275. package/dist/content-refresh-Br4gMzh8.mjs +1537 -0
  276. package/dist/content-refresh-Br4gMzh8.mjs.map +1 -0
  277. package/dist/{context-CzUU_WzL.mjs → context-BRIpHARC.mjs} +76 -54
  278. package/dist/context-BRIpHARC.mjs.map +1 -0
  279. package/dist/{cron-C5LVoNmP.mjs → cron-v4FTEFR_.mjs} +1 -1
  280. package/dist/{cron-C5LVoNmP.mjs.map → cron-v4FTEFR_.mjs.map} +1 -1
  281. package/dist/{dashboard-CVyGhift.mjs → dashboard-EvEKF5en.mjs} +4 -4
  282. package/dist/{dashboard-CVyGhift.mjs.map → dashboard-EvEKF5en.mjs.map} +1 -1
  283. package/dist/db/index.d.mts +3 -3
  284. package/dist/db/index.mjs +1 -1
  285. package/dist/db/libsql.d.mts +1 -1
  286. package/dist/db/postgres.d.mts +1 -1
  287. package/dist/db/sqlite.d.mts +1 -1
  288. package/dist/{default-CeRG-Ot4.mjs → default-CM_D83Mg.mjs} +1 -1
  289. package/dist/{default-CeRG-Ot4.mjs.map → default-CM_D83Mg.mjs.map} +1 -1
  290. package/dist/{device-flow-DENDCQ9F.mjs → device-flow-CfGP18Uw.mjs} +4 -4
  291. package/dist/{device-flow-DENDCQ9F.mjs.map → device-flow-CfGP18Uw.mjs.map} +1 -1
  292. package/dist/{email-console-DJP32ucW.mjs → email-console-CIf4Lfvv.mjs} +1 -1
  293. package/dist/{email-console-DJP32ucW.mjs.map → email-console-CIf4Lfvv.mjs.map} +1 -1
  294. package/dist/{error-BHkLZk-w.mjs → error-CkAseSqZ.mjs} +2 -2
  295. package/dist/{error-BHkLZk-w.mjs.map → error-CkAseSqZ.mjs.map} +1 -1
  296. package/dist/{escape-Bjio4ZsM.mjs → escape-DqD0aCKu.mjs} +1 -1
  297. package/dist/{escape-Bjio4ZsM.mjs.map → escape-DqD0aCKu.mjs.map} +1 -1
  298. package/dist/{field-defs-cache-BA-8ZPiT.mjs → field-defs-cache-WUI88LX5.mjs} +2 -2
  299. package/dist/{field-defs-cache-BA-8ZPiT.mjs.map → field-defs-cache-WUI88LX5.mjs.map} +1 -1
  300. package/dist/{fts-manager-Db9jGavf.mjs → fts-manager-BbFaF_V8.mjs} +2 -2
  301. package/dist/{fts-manager-Db9jGavf.mjs.map → fts-manager-BbFaF_V8.mjs.map} +1 -1
  302. package/dist/{import-Bb1T9WJS.mjs → import-fYLf14Co.mjs} +514 -25
  303. package/dist/import-fYLf14Co.mjs.map +1 -0
  304. package/dist/{index-CDZZjrLT.d.mts → index-B9sIxwe4.d.mts} +21 -22
  305. package/dist/{index-CDZZjrLT.d.mts.map → index-B9sIxwe4.d.mts.map} +1 -1
  306. package/dist/{index-DGIjmUXQ.d.mts → index-Bm-Gy8Mh.d.mts} +25 -4
  307. package/dist/index-Bm-Gy8Mh.d.mts.map +1 -0
  308. package/dist/index.d.mts +18 -18
  309. package/dist/index.mjs +54 -53
  310. package/dist/{load-DpHICVPh.mjs → load-Djn3HWQS.mjs} +2 -2
  311. package/dist/{load-DpHICVPh.mjs.map → load-Djn3HWQS.mjs.map} +1 -1
  312. package/dist/{loader-4K37qA-y.mjs → loader-CB6YHeul.mjs} +6 -5
  313. package/dist/loader-CB6YHeul.mjs.map +1 -0
  314. package/dist/{manifest-schema-kPGX7VS-.mjs → manifest-schema-BHlgZM1W.mjs} +1 -1
  315. package/dist/{manifest-schema-kPGX7VS-.mjs.map → manifest-schema-BHlgZM1W.mjs.map} +1 -1
  316. package/dist/media/index.d.mts +1 -1
  317. package/dist/media/local-runtime.d.mts +12 -12
  318. package/dist/media/local-runtime.mjs +5 -5
  319. package/dist/{media-C0nRRfs1.mjs → media-BrXIaMFN.mjs} +2 -2
  320. package/dist/{media-C0nRRfs1.mjs.map → media-BrXIaMFN.mjs.map} +1 -1
  321. package/dist/{media-allowlist-Du8t1u6a.mjs → media-allowlist-CRHEeJ_i.mjs} +1 -1
  322. package/dist/{media-allowlist-Du8t1u6a.mjs.map → media-allowlist-CRHEeJ_i.mjs.map} +1 -1
  323. package/dist/{media-url-O4rm9-SQ.mjs → media-url-CKi5XSw4.mjs} +1 -1
  324. package/dist/{media-url-O4rm9-SQ.mjs.map → media-url-CKi5XSw4.mjs.map} +1 -1
  325. package/dist/{menus-SL2K0xq2.mjs → menus-Cfivc2Ad.mjs} +3 -3
  326. package/dist/{menus-SL2K0xq2.mjs.map → menus-Cfivc2Ad.mjs.map} +1 -1
  327. package/dist/{menus-DzRyC1ID.mjs → menus-b2T4clbO.mjs} +16 -12
  328. package/dist/{menus-DzRyC1ID.mjs.map → menus-b2T4clbO.mjs.map} +1 -1
  329. package/dist/{mode-BB0F8xTC.mjs → mode-BM9QgEmt.mjs} +1 -1
  330. package/dist/{mode-BB0F8xTC.mjs.map → mode-BM9QgEmt.mjs.map} +1 -1
  331. package/dist/{oauth-authorization-CsvzIp_F.mjs → oauth-authorization-CXWkIGT4.mjs} +4 -4
  332. package/dist/{oauth-authorization-CsvzIp_F.mjs.map → oauth-authorization-CXWkIGT4.mjs.map} +1 -1
  333. package/dist/{oauth-clients-C9SYwEbZ.mjs → oauth-clients-BmTI5rsl.mjs} +1 -1
  334. package/dist/{oauth-clients-C9SYwEbZ.mjs.map → oauth-clients-BmTI5rsl.mjs.map} +1 -1
  335. package/dist/{oauth-state-store---zrApfB.mjs → oauth-state-store-YLFLcH5F.mjs} +1 -1
  336. package/dist/{oauth-state-store---zrApfB.mjs.map → oauth-state-store-YLFLcH5F.mjs.map} +1 -1
  337. package/dist/{oauth-user-lookup-SHsWRlG9.mjs → oauth-user-lookup-Bsc_GsX-.mjs} +1 -1
  338. package/dist/{oauth-user-lookup-SHsWRlG9.mjs.map → oauth-user-lookup-Bsc_GsX-.mjs.map} +1 -1
  339. package/dist/object-cache/memory.d.mts +1 -1
  340. package/dist/{object-cache-CHbHv83-.mjs → object-cache-Bok5j2ae.mjs} +43 -3
  341. package/dist/object-cache-Bok5j2ae.mjs.map +1 -0
  342. package/dist/{options-41nCWqi9.d.mts → options-iMpRRxIe.d.mts} +3 -3
  343. package/dist/{options-41nCWqi9.d.mts.map → options-iMpRRxIe.d.mts.map} +1 -1
  344. package/dist/page/index.d.mts +2 -2
  345. package/dist/{parse-CqyZj3Hp.mjs → parse-GmjecGct.mjs} +2 -2
  346. package/dist/{parse-CqyZj3Hp.mjs.map → parse-GmjecGct.mjs.map} +1 -1
  347. package/dist/{passkey-config-C0YfSBko.mjs → passkey-config-De0ahnRg.mjs} +1 -1
  348. package/dist/{passkey-config-C0YfSBko.mjs.map → passkey-config-De0ahnRg.mjs.map} +1 -1
  349. package/dist/{placeholder-Cuce9U-m.d.mts → placeholder-BSKwzRe4.d.mts} +1 -1
  350. package/dist/{placeholder-Cuce9U-m.d.mts.map → placeholder-BSKwzRe4.d.mts.map} +1 -1
  351. package/dist/plugin-types.d.mts +1 -1
  352. package/dist/plugin-utils.d.mts +10 -10
  353. package/dist/plugins/adapt-sandbox-entry.d.mts +10 -10
  354. package/dist/plugins/adapt-sandbox-entry.mjs +2 -2
  355. package/dist/{portable-text-BICg8bTk.mjs → portable-text-cCa0cGV6.mjs} +1 -1
  356. package/dist/{portable-text-BICg8bTk.mjs.map → portable-text-cCa0cGV6.mjs.map} +1 -1
  357. package/dist/{preview-DKGCt2_p.mjs → preview-SSXNVPAC.mjs} +2 -2
  358. package/dist/{preview-DKGCt2_p.mjs.map → preview-SSXNVPAC.mjs.map} +1 -1
  359. package/dist/{public-url-CTVqgMmg.mjs → public-url-Danv47cS.mjs} +1 -1
  360. package/dist/{public-url-CTVqgMmg.mjs.map → public-url-Danv47cS.mjs.map} +1 -1
  361. package/dist/{query-B0M-9LYR.mjs → query-1Cp6U9oo.mjs} +14 -14
  362. package/dist/{query-B0M-9LYR.mjs.map → query-1Cp6U9oo.mjs.map} +1 -1
  363. package/dist/{rate-limit-BwoUdIpC.mjs → rate-limit-C_Lf63Dd.mjs} +2 -2
  364. package/dist/{rate-limit-BwoUdIpC.mjs.map → rate-limit-C_Lf63Dd.mjs.map} +1 -1
  365. package/dist/{redirect-CS-PHtNh.mjs → redirect-CoW3G-0U.mjs} +1 -1
  366. package/dist/{redirect-CS-PHtNh.mjs.map → redirect-CoW3G-0U.mjs.map} +1 -1
  367. package/dist/{redirect-lMOzG04S.mjs → redirect-IyfNirgS.mjs} +2 -2
  368. package/dist/{redirect-lMOzG04S.mjs.map → redirect-IyfNirgS.mjs.map} +1 -1
  369. package/dist/{redirects-9218MmYl.mjs → redirects-Bs1g42Ri.mjs} +4 -4
  370. package/dist/{redirects-9218MmYl.mjs.map → redirects-Bs1g42Ri.mjs.map} +1 -1
  371. package/dist/{redirects-Dcbuisoj.mjs → redirects-DXEXBAII.mjs} +2 -2
  372. package/dist/{redirects-Dcbuisoj.mjs.map → redirects-DXEXBAII.mjs.map} +1 -1
  373. package/dist/{registry-DP-iEtdR.mjs → registry-B57vp_X9.mjs} +122 -79
  374. package/dist/registry-B57vp_X9.mjs.map +1 -0
  375. package/dist/{request-meta-CmS1tDFf.mjs → request-meta-DbvXaAvU.mjs} +2 -2
  376. package/dist/{request-meta-CmS1tDFf.mjs.map → request-meta-DbvXaAvU.mjs.map} +1 -1
  377. package/dist/{resolve-C7I0qiR0.mjs → resolve-DR3wqMTy.mjs} +1 -1
  378. package/dist/{resolve-C7I0qiR0.mjs.map → resolve-DR3wqMTy.mjs.map} +1 -1
  379. package/dist/{runner-BbR3DfrL.d.mts → runner-DvFWoz8-.d.mts} +2 -2
  380. package/dist/{runner-BbR3DfrL.d.mts.map → runner-DvFWoz8-.d.mts.map} +1 -1
  381. package/dist/{runner-CFngB4WZ.mjs → runner-K8XK101B.mjs} +309 -190
  382. package/dist/runner-K8XK101B.mjs.map +1 -0
  383. package/dist/runtime.d.mts +11 -11
  384. package/dist/runtime.mjs +2 -2
  385. package/dist/{scheduled-publish-BMljtY5G.d.mts → scheduled-publish-Drffrf2a.d.mts} +1 -1
  386. package/dist/scheduled-publish-Drffrf2a.d.mts.map +1 -0
  387. package/dist/{schema-BfJ7bIXH.mjs → schema-CX9cfNkZ.mjs} +5 -5
  388. package/dist/{schema-BfJ7bIXH.mjs.map → schema-CX9cfNkZ.mjs.map} +1 -1
  389. package/dist/{search-C7t3PH1J.mjs → search-DZN2HZ-V.mjs} +4 -4
  390. package/dist/{search-C7t3PH1J.mjs.map → search-DZN2HZ-V.mjs.map} +1 -1
  391. package/dist/{secrets-BSf9pRRY.mjs → secrets-kp760LlD.mjs} +2 -2
  392. package/dist/{secrets-BSf9pRRY.mjs.map → secrets-kp760LlD.mjs.map} +1 -1
  393. package/dist/{sections-Dm0CVX23.mjs → sections-CpF5SaGr.mjs} +3 -3
  394. package/dist/{sections-Dm0CVX23.mjs.map → sections-CpF5SaGr.mjs.map} +1 -1
  395. package/dist/seed/index.d.mts +2 -2
  396. package/dist/seed/index.mjs +19 -18
  397. package/dist/seo/index.d.mts +1 -1
  398. package/dist/seo/index.mjs +1 -1
  399. package/dist/{seo-BkhuuaaE.mjs → seo-89-53DDs.mjs} +1 -1
  400. package/dist/{seo-BkhuuaaE.mjs.map → seo-89-53DDs.mjs.map} +1 -1
  401. package/dist/{seo-Dd3tbY_k.mjs → seo-DXu2UQnC.mjs} +3 -3
  402. package/dist/{seo-Dd3tbY_k.mjs.map → seo-DXu2UQnC.mjs.map} +1 -1
  403. package/dist/{service-CTrqp_Jy.mjs → service-DQmiBMzt.mjs} +3 -3
  404. package/dist/{service-CTrqp_Jy.mjs.map → service-DQmiBMzt.mjs.map} +1 -1
  405. package/dist/{session-user-B8aLtKAH.mjs → session-user-Cascbax7.mjs} +1 -1
  406. package/dist/{session-user-B8aLtKAH.mjs.map → session-user-Cascbax7.mjs.map} +1 -1
  407. package/dist/{settings-CZ7ZP9cW.mjs → settings-rZyHEcNT.mjs} +3 -3
  408. package/dist/{settings-CZ7ZP9cW.mjs.map → settings-rZyHEcNT.mjs.map} +1 -1
  409. package/dist/{settings-BX8cWBus.mjs → settings-zhmdKyJQ.mjs} +5 -5
  410. package/dist/{settings-BX8cWBus.mjs.map → settings-zhmdKyJQ.mjs.map} +1 -1
  411. package/dist/{setup-complete-gEiySUc-.mjs → setup-complete-Cb3LRyzy.mjs} +1 -1
  412. package/dist/{setup-complete-gEiySUc-.mjs.map → setup-complete-Cb3LRyzy.mjs.map} +1 -1
  413. package/dist/{setup-nonce-DzS50zme.mjs → setup-nonce-Z8x0tHf8.mjs} +1 -1
  414. package/dist/{setup-nonce-DzS50zme.mjs.map → setup-nonce-Z8x0tHf8.mjs.map} +1 -1
  415. package/dist/{single-flight-cache-Cdfkic3t.mjs → single-flight-cache-BG3B_GhN.mjs} +1 -1
  416. package/dist/{single-flight-cache-Cdfkic3t.mjs.map → single-flight-cache-BG3B_GhN.mjs.map} +1 -1
  417. package/dist/{site-url-BLebyON8.mjs → site-url-BBfDTgZB.mjs} +1 -1
  418. package/dist/{site-url-BLebyON8.mjs.map → site-url-BBfDTgZB.mjs.map} +1 -1
  419. package/dist/{ssrf-BRKb343l.mjs → ssrf-1g7usGBg.mjs} +1 -1
  420. package/dist/{ssrf-BRKb343l.mjs.map → ssrf-1g7usGBg.mjs.map} +1 -1
  421. package/dist/{status-vUK0SA17.mjs → status-CqJQX1QN.mjs} +1 -1
  422. package/dist/{status-vUK0SA17.mjs.map → status-CqJQX1QN.mjs.map} +1 -1
  423. package/dist/storage/local.d.mts +1 -1
  424. package/dist/storage/local.mjs +1 -1
  425. package/dist/storage/s3.d.mts +1 -1
  426. package/dist/storage/s3.mjs +1 -1
  427. package/dist/{taxonomies-DChKcVxf.mjs → taxonomies-Bs13SN-F.mjs} +4 -4
  428. package/dist/{taxonomies-DChKcVxf.mjs.map → taxonomies-Bs13SN-F.mjs.map} +1 -1
  429. package/dist/{taxonomies-ckPjz-6d.mjs → taxonomies-kH9ABDUF.mjs} +7 -7
  430. package/dist/{taxonomies-ckPjz-6d.mjs.map → taxonomies-kH9ABDUF.mjs.map} +1 -1
  431. package/dist/{taxonomy-Cru-he6s.mjs → taxonomy-BxGxZZdu.mjs} +4 -4
  432. package/dist/{taxonomy-Cru-he6s.mjs.map → taxonomy-BxGxZZdu.mjs.map} +1 -1
  433. package/dist/{tokens-LeuXF9gG.mjs → tokens-BGT0TUUo.mjs} +1 -1
  434. package/dist/{tokens-LeuXF9gG.mjs.map → tokens-BGT0TUUo.mjs.map} +1 -1
  435. package/dist/{transport-Blrl2k_o.d.mts → transport-BMDWHSgZ.d.mts} +1 -1
  436. package/dist/{transport-Blrl2k_o.d.mts.map → transport-BMDWHSgZ.d.mts.map} +1 -1
  437. package/dist/{transport-_2nBz7e9.mjs → transport-DPefPMcz.mjs} +1 -1
  438. package/dist/{transport-_2nBz7e9.mjs.map → transport-DPefPMcz.mjs.map} +1 -1
  439. package/dist/{trusted-proxy-DZY5WCn2.mjs → trusted-proxy-VTPRiX2s.mjs} +1 -1
  440. package/dist/{trusted-proxy-DZY5WCn2.mjs.map → trusted-proxy-VTPRiX2s.mjs.map} +1 -1
  441. package/dist/{types-ETmO_jQr.d.mts → types-BcLUUbbR.d.mts} +2 -2
  442. package/dist/{types-ETmO_jQr.d.mts.map → types-BcLUUbbR.d.mts.map} +1 -1
  443. package/dist/{types-BYnDBVwe.d.mts → types-CGbYowGQ.d.mts} +2 -2
  444. package/dist/{types-BYnDBVwe.d.mts.map → types-CGbYowGQ.d.mts.map} +1 -1
  445. package/dist/{types-CvuKO5Pn.d.mts → types-CgvhU-hF.d.mts} +1 -1
  446. package/dist/{types-CvuKO5Pn.d.mts.map → types-CgvhU-hF.d.mts.map} +1 -1
  447. package/dist/{types-Y09-wtyU.d.mts → types-ClUkdbWb.d.mts} +1 -1
  448. package/dist/{types-Y09-wtyU.d.mts.map → types-ClUkdbWb.d.mts.map} +1 -1
  449. package/dist/{types-DU4TSFS5.mjs → types-CuW0zWDA.mjs} +2 -2
  450. package/dist/{types-DU4TSFS5.mjs.map → types-CuW0zWDA.mjs.map} +1 -1
  451. package/dist/{types-BkZ8DUEI.d.mts → types-DmHk7vAt.d.mts} +1 -1
  452. package/dist/{types-BkZ8DUEI.d.mts.map → types-DmHk7vAt.d.mts.map} +1 -1
  453. package/dist/{types-CQAugunJ.mjs → types-Jo3UYd6b.mjs} +1 -1
  454. package/dist/{types-CQAugunJ.mjs.map → types-Jo3UYd6b.mjs.map} +1 -1
  455. package/dist/{types-xIfVRNLp.d.mts → types-_HFLRzTn.d.mts} +22 -1
  456. package/dist/types-_HFLRzTn.d.mts.map +1 -0
  457. package/dist/{types-ByChcBgE.d.mts → types-ea9sAPck.d.mts} +1 -1
  458. package/dist/{types-ByChcBgE.d.mts.map → types-ea9sAPck.d.mts.map} +1 -1
  459. package/dist/{types-CNlaBFzx.d.mts → types-g_aFIdW0.d.mts} +1 -1
  460. package/dist/{types-CNlaBFzx.d.mts.map → types-g_aFIdW0.d.mts.map} +1 -1
  461. package/dist/{types-Dbqff978.d.mts → types-vgEWF18A.d.mts} +19 -1
  462. package/dist/{types-Dbqff978.d.mts.map → types-vgEWF18A.d.mts.map} +1 -1
  463. package/dist/{user-DgGbKL9s.mjs → user-BjAOvU3Z.mjs} +3 -3
  464. package/dist/{user-DgGbKL9s.mjs.map → user-BjAOvU3Z.mjs.map} +1 -1
  465. package/dist/{utils-B7A57fm9.mjs → utils-BJXElxdw.mjs} +156 -7
  466. package/dist/utils-BJXElxdw.mjs.map +1 -0
  467. package/dist/{validate-CRkcYZAR.mjs → validate-CWSnKVIJ.mjs} +2 -2
  468. package/dist/{validate-CRkcYZAR.mjs.map → validate-CWSnKVIJ.mjs.map} +1 -1
  469. package/dist/{validate-9ECmtEpJ.d.mts → validate-Z1b86_3B.d.mts} +5 -5
  470. package/dist/{validate-9ECmtEpJ.d.mts.map → validate-Z1b86_3B.d.mts.map} +1 -1
  471. package/dist/{validation-sR26SOwD.mjs → validation-0l8-RYj4.mjs} +8 -5
  472. package/dist/{validation-sR26SOwD.mjs.map → validation-0l8-RYj4.mjs.map} +1 -1
  473. package/dist/version-qmeO1XZY.mjs +7 -0
  474. package/dist/{version-CrqhKGWn.mjs.map → version-qmeO1XZY.mjs.map} +1 -1
  475. package/dist/{widgets-DRgtn7Cl.mjs → widgets-hWcIicX8.mjs} +3 -3
  476. package/dist/{widgets-DRgtn7Cl.mjs.map → widgets-hWcIicX8.mjs.map} +1 -1
  477. package/dist/wxr-taxonomies-0_uxSrmf.d.mts +34 -0
  478. package/dist/wxr-taxonomies-0_uxSrmf.d.mts.map +1 -0
  479. package/dist/wxr-taxonomies-CNFcsNCr.mjs +425 -0
  480. package/dist/wxr-taxonomies-CNFcsNCr.mjs.map +1 -0
  481. package/dist/{zod-generator-C5JaV--i.mjs → zod-generator-CacrR-i8.mjs} +2 -2
  482. package/dist/{zod-generator-C5JaV--i.mjs.map → zod-generator-CacrR-i8.mjs.map} +1 -1
  483. package/package.json +7 -7
  484. package/src/api/handlers/content.ts +10 -7
  485. package/src/api/schemas/import.ts +19 -0
  486. package/src/astro/integration/runtime.ts +3 -6
  487. package/src/astro/middleware/auth.ts +9 -3
  488. package/src/astro/middleware/csp.ts +54 -3
  489. package/src/astro/routes/admin.astro +9 -0
  490. package/src/astro/routes/api/import/wordpress/rewrite-urls.ts +122 -98
  491. package/src/astro/routes/api/import/wordpress-plugin/execute.ts +794 -44
  492. package/src/astro/routes/api/plugins/[pluginId]/[...path].ts +17 -15
  493. package/src/components/EmDashImage.astro +59 -23
  494. package/src/components/Image.astro +36 -35
  495. package/src/database/migrations/049_taxonomies_name_locale_index.ts +42 -0
  496. package/src/database/migrations/050_media_usage_index_status.ts +142 -0
  497. package/src/database/migrations/runner.ts +4 -0
  498. package/src/database/repositories/media-usage.ts +955 -59
  499. package/src/database/types.ts +22 -0
  500. package/src/emdash-runtime.ts +123 -3
  501. package/src/import/comments.ts +159 -0
  502. package/src/import/index.ts +8 -1
  503. package/src/import/settings.ts +65 -189
  504. package/src/import/sources/wordpress-plugin.ts +338 -42
  505. package/src/import/sources/wxr.ts +4 -1
  506. package/src/import/types.ts +12 -0
  507. package/src/import/utils.ts +207 -0
  508. package/src/import/wxr-taxonomies.ts +39 -0
  509. package/src/loader.ts +13 -2
  510. package/src/media/usage/content-fields.ts +119 -0
  511. package/src/media/usage/content-refresh.ts +524 -0
  512. package/src/media/usage/content-repair.ts +675 -0
  513. package/src/media/usage/content-snapshots.ts +439 -0
  514. package/src/media/usage/extractor.ts +4 -4
  515. package/src/media/usage/source-key.ts +22 -0
  516. package/src/menus/index.ts +17 -1
  517. package/src/object-cache/index.ts +82 -7
  518. package/src/plugins/context.ts +100 -71
  519. package/src/schema/registry.ts +240 -154
  520. package/src/seed/apply.ts +156 -99
  521. package/dist/api-80kycR9o.mjs.map +0 -1
  522. package/dist/apply-DSypk6Iu.mjs.map +0 -1
  523. package/dist/byline-fields-eyJMblSr.mjs.map +0 -1
  524. package/dist/context-CzUU_WzL.mjs.map +0 -1
  525. package/dist/import-Bb1T9WJS.mjs.map +0 -1
  526. package/dist/index-DGIjmUXQ.d.mts.map +0 -1
  527. package/dist/loader-4K37qA-y.mjs.map +0 -1
  528. package/dist/object-cache-CHbHv83-.mjs.map +0 -1
  529. package/dist/registry-DP-iEtdR.mjs.map +0 -1
  530. package/dist/runner-CFngB4WZ.mjs.map +0 -1
  531. package/dist/scheduled-publish-BMljtY5G.d.mts.map +0 -1
  532. package/dist/types-xIfVRNLp.d.mts.map +0 -1
  533. package/dist/utils-B7A57fm9.mjs.map +0 -1
  534. package/dist/version-CrqhKGWn.mjs +0 -7
  535. /package/dist/{api-tokens-B4BQybOp.mjs → api-tokens-DsvvCtdh.mjs} +0 -0
  536. /package/dist/{ssrf-CcX9zvMK.mjs → ssrf-CmuGgCq3.mjs} +0 -0
  537. /package/dist/{types-BvbeGEtr.mjs → types-DROWRxYV.mjs} +0 -0
@@ -1,44 +1,45 @@
1
1
  import "../../../../../../dialect-helpers-DRI5pyY3.mjs";
2
2
  import "../../../../../../after-B1IIdH3Y.mjs";
3
- import "../../../../../../object-cache-CHbHv83-.mjs";
4
- import "../../../../../../content-RmfHoWqK.mjs";
3
+ import "../../../../../../object-cache-Bok5j2ae.mjs";
4
+ import "../../../../../../content-DhgEth4k.mjs";
5
5
  import "../../../../../../base64-CmWvODNW.mjs";
6
- import "../../../../../../types-DU4TSFS5.mjs";
7
- import "../../../../../../media-C0nRRfs1.mjs";
8
- import "../../../../../../user-DgGbKL9s.mjs";
9
- import "../../../../../../taxonomy-Cru-he6s.mjs";
10
- import "../../../../../../comment-CH1IrFFs.mjs";
6
+ import "../../../../../../types-CuW0zWDA.mjs";
7
+ import "../../../../../../media-BrXIaMFN.mjs";
8
+ import "../../../../../../user-BjAOvU3Z.mjs";
9
+ import "../../../../../../taxonomy-BxGxZZdu.mjs";
10
+ import "../../../../../../comment-CzeatwBV.mjs";
11
11
  import "../../../../../../options-DTTML-Tx.mjs";
12
- import "../../../../../../menus-SL2K0xq2.mjs";
13
- import "../../../../../../redirect-lMOzG04S.mjs";
12
+ import "../../../../../../menus-Cfivc2Ad.mjs";
13
+ import "../../../../../../redirect-IyfNirgS.mjs";
14
14
  import "../../../../../../request-cache-KCNHp_RJ.mjs";
15
15
  import "../../../../../../byline-registry-BOjqDOim.mjs";
16
- import "../../../../../../field-defs-cache-BA-8ZPiT.mjs";
17
- import "../../../../../../byline-DEKSVPTy.mjs";
18
- import "../../../../../../seo-Dd3tbY_k.mjs";
19
- import { g as handleThemeSearch } from "../../../../../../api-80kycR9o.mjs";
20
- import "../../../../../../dashboard-CVyGhift.mjs";
21
- import "../../../../../../fts-manager-Db9jGavf.mjs";
22
- import "../../../../../../registry-DP-iEtdR.mjs";
23
- import "../../../../../../loader-4K37qA-y.mjs";
24
- import "../../../../../../schema-BfJ7bIXH.mjs";
25
- import "../../../../../../zod-generator-C5JaV--i.mjs";
26
- import "../../../../../../seo-BkhuuaaE.mjs";
27
- import "../../../../../../sections-Dm0CVX23.mjs";
28
- import "../../../../../../settings-BX8cWBus.mjs";
29
- import "../../../../../../settings-CZ7ZP9cW.mjs";
30
- import "../../../../../../resolve-C7I0qiR0.mjs";
31
- import "../../../../../../taxonomies-ckPjz-6d.mjs";
32
- import "../../../../../../taxonomies-DChKcVxf.mjs";
33
- import "../../../../../../manifest-schema-kPGX7VS-.mjs";
34
- import "../../../../../../types-BvbeGEtr.mjs";
35
- import "../../../../../../ssrf-BRKb343l.mjs";
36
- import { a as unwrapResult, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
37
- import "../../../../../../parse-CqyZj3Hp.mjs";
38
- import "../../../../../../redirects-Dcbuisoj.mjs";
39
- import "../../../../../../byline-fields-eyJMblSr.mjs";
40
- import "../../../../../../status-vUK0SA17.mjs";
41
- import { n as requirePerm } from "../../../../../../authorize-C3a_zGsM.mjs";
16
+ import "../../../../../../field-defs-cache-WUI88LX5.mjs";
17
+ import "../../../../../../byline-Bm8ZgUP9.mjs";
18
+ import "../../../../../../seo-DXu2UQnC.mjs";
19
+ import { g as handleThemeSearch } from "../../../../../../api-DxFSorgk.mjs";
20
+ import "../../../../../../dashboard-EvEKF5en.mjs";
21
+ import "../../../../../../content-refresh-Br4gMzh8.mjs";
22
+ import "../../../../../../fts-manager-BbFaF_V8.mjs";
23
+ import "../../../../../../registry-B57vp_X9.mjs";
24
+ import "../../../../../../loader-CB6YHeul.mjs";
25
+ import "../../../../../../schema-CX9cfNkZ.mjs";
26
+ import "../../../../../../zod-generator-CacrR-i8.mjs";
27
+ import "../../../../../../seo-89-53DDs.mjs";
28
+ import "../../../../../../sections-CpF5SaGr.mjs";
29
+ import "../../../../../../settings-zhmdKyJQ.mjs";
30
+ import "../../../../../../settings-rZyHEcNT.mjs";
31
+ import "../../../../../../resolve-DR3wqMTy.mjs";
32
+ import "../../../../../../taxonomies-kH9ABDUF.mjs";
33
+ import "../../../../../../taxonomies-Bs13SN-F.mjs";
34
+ import "../../../../../../manifest-schema-BHlgZM1W.mjs";
35
+ import "../../../../../../types-DROWRxYV.mjs";
36
+ import "../../../../../../ssrf-1g7usGBg.mjs";
37
+ import { a as unwrapResult, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
38
+ import "../../../../../../parse-GmjecGct.mjs";
39
+ import "../../../../../../redirects-DXEXBAII.mjs";
40
+ import "../../../../../../byline-fields-2Lp5Hbgf.mjs";
41
+ import "../../../../../../status-CqJQX1QN.mjs";
42
+ import { n as requirePerm } from "../../../../../../authorize-Dz88F_Fw.mjs";
42
43
 
43
44
  //#region src/astro/routes/api/admin/themes/marketplace/index.ts
44
45
  const prerender = false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../src/astro/routes/api/admin/themes/marketplace/index.ts"],"sourcesContent":["/**\n * Theme marketplace search proxy endpoint\n *\n * GET /_emdash/api/admin/themes/marketplace - Search marketplace themes\n */\n\nimport type { APIRoute } from \"astro\";\n\nimport { requirePerm } from \"#api/authorize.js\";\nimport { apiError, unwrapResult } from \"#api/error.js\";\nimport { handleThemeSearch } from \"#api/index.js\";\n\nexport const prerender = false;\n\nexport const GET: APIRoute = async ({ url, locals }) => {\n\tconst { emdash, user } = locals;\n\n\tif (!emdash?.db) {\n\t\treturn apiError(\"NOT_CONFIGURED\", \"EmDash is not initialized\", 500);\n\t}\n\n\tconst denied = requirePerm(user, \"plugins:read\");\n\tif (denied) return denied;\n\n\tconst query = url.searchParams.get(\"q\") ?? undefined;\n\tconst keyword = url.searchParams.get(\"keyword\") ?? undefined;\n\tconst sortParam = url.searchParams.get(\"sort\");\n\tconst validSorts = new Set([\"name\", \"created\", \"updated\"]);\n\tlet sort: \"name\" | \"created\" | \"updated\" | undefined;\n\tif (sortParam && validSorts.has(sortParam)) {\n\t\tsort = sortParam as \"name\" | \"created\" | \"updated\"; // eslint-disable-line typescript/no-unsafe-type-assertion -- validated by Set.has()\n\t}\n\tconst cursor = url.searchParams.get(\"cursor\") ?? undefined;\n\tconst limitParam = url.searchParams.get(\"limit\");\n\tconst limit = limitParam ? Math.min(Math.max(1, parseInt(limitParam, 10) || 50), 100) : undefined;\n\n\tconst result = await handleThemeSearch(emdash.config.marketplace, query, {\n\t\tkeyword,\n\t\tsort,\n\t\tcursor,\n\t\tlimit,\n\t});\n\n\treturn unwrapResult(result);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAa,YAAY;AAEzB,MAAa,MAAgB,OAAO,EAAE,KAAK,aAAa;CACvD,MAAM,EAAE,QAAQ,SAAS;AAEzB,KAAI,CAAC,QAAQ,GACZ,QAAO,SAAS,kBAAkB,6BAA6B,IAAI;CAGpE,MAAM,SAAS,YAAY,MAAM,eAAe;AAChD,KAAI,OAAQ,QAAO;CAEnB,MAAM,QAAQ,IAAI,aAAa,IAAI,IAAI,IAAI;CAC3C,MAAM,UAAU,IAAI,aAAa,IAAI,UAAU,IAAI;CACnD,MAAM,YAAY,IAAI,aAAa,IAAI,OAAO;CAC9C,MAAM,aAAa,IAAI,IAAI;EAAC;EAAQ;EAAW;EAAU,CAAC;CAC1D,IAAI;AACJ,KAAI,aAAa,WAAW,IAAI,UAAU,CACzC,QAAO;CAER,MAAM,SAAS,IAAI,aAAa,IAAI,SAAS,IAAI;CACjD,MAAM,aAAa,IAAI,aAAa,IAAI,QAAQ;CAChD,MAAM,QAAQ,aAAa,KAAK,IAAI,KAAK,IAAI,GAAG,SAAS,YAAY,GAAG,IAAI,GAAG,EAAE,IAAI,GAAG;AASxF,QAAO,aAPQ,MAAM,kBAAkB,OAAO,OAAO,aAAa,OAAO;EACxE;EACA;EACA;EACA;EACA,CAAC,CAEyB"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../src/astro/routes/api/admin/themes/marketplace/index.ts"],"sourcesContent":["/**\n * Theme marketplace search proxy endpoint\n *\n * GET /_emdash/api/admin/themes/marketplace - Search marketplace themes\n */\n\nimport type { APIRoute } from \"astro\";\n\nimport { requirePerm } from \"#api/authorize.js\";\nimport { apiError, unwrapResult } from \"#api/error.js\";\nimport { handleThemeSearch } from \"#api/index.js\";\n\nexport const prerender = false;\n\nexport const GET: APIRoute = async ({ url, locals }) => {\n\tconst { emdash, user } = locals;\n\n\tif (!emdash?.db) {\n\t\treturn apiError(\"NOT_CONFIGURED\", \"EmDash is not initialized\", 500);\n\t}\n\n\tconst denied = requirePerm(user, \"plugins:read\");\n\tif (denied) return denied;\n\n\tconst query = url.searchParams.get(\"q\") ?? undefined;\n\tconst keyword = url.searchParams.get(\"keyword\") ?? undefined;\n\tconst sortParam = url.searchParams.get(\"sort\");\n\tconst validSorts = new Set([\"name\", \"created\", \"updated\"]);\n\tlet sort: \"name\" | \"created\" | \"updated\" | undefined;\n\tif (sortParam && validSorts.has(sortParam)) {\n\t\tsort = sortParam as \"name\" | \"created\" | \"updated\"; // eslint-disable-line typescript/no-unsafe-type-assertion -- validated by Set.has()\n\t}\n\tconst cursor = url.searchParams.get(\"cursor\") ?? undefined;\n\tconst limitParam = url.searchParams.get(\"limit\");\n\tconst limit = limitParam ? Math.min(Math.max(1, parseInt(limitParam, 10) || 50), 100) : undefined;\n\n\tconst result = await handleThemeSearch(emdash.config.marketplace, query, {\n\t\tkeyword,\n\t\tsort,\n\t\tcursor,\n\t\tlimit,\n\t});\n\n\treturn unwrapResult(result);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAa,YAAY;AAEzB,MAAa,MAAgB,OAAO,EAAE,KAAK,aAAa;CACvD,MAAM,EAAE,QAAQ,SAAS;AAEzB,KAAI,CAAC,QAAQ,GACZ,QAAO,SAAS,kBAAkB,6BAA6B,IAAI;CAGpE,MAAM,SAAS,YAAY,MAAM,eAAe;AAChD,KAAI,OAAQ,QAAO;CAEnB,MAAM,QAAQ,IAAI,aAAa,IAAI,IAAI,IAAI;CAC3C,MAAM,UAAU,IAAI,aAAa,IAAI,UAAU,IAAI;CACnD,MAAM,YAAY,IAAI,aAAa,IAAI,OAAO;CAC9C,MAAM,aAAa,IAAI,IAAI;EAAC;EAAQ;EAAW;EAAU,CAAC;CAC1D,IAAI;AACJ,KAAI,aAAa,WAAW,IAAI,UAAU,CACzC,QAAO;CAER,MAAM,SAAS,IAAI,aAAa,IAAI,SAAS,IAAI;CACjD,MAAM,aAAa,IAAI,aAAa,IAAI,QAAQ;CAChD,MAAM,QAAQ,aAAa,KAAK,IAAI,KAAK,IAAI,GAAG,SAAS,YAAY,GAAG,IAAI,GAAG,EAAE,IAAI,GAAG;AASxF,QAAO,aAPQ,MAAM,kBAAkB,OAAO,OAAO,aAAa,OAAO;EACxE;EACA;EACA;EACA;EACA,CAAC,CAEyB"}
@@ -1,7 +1,7 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as withTransaction } from "../../../../../../transaction-qfqpPVpu.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
5
5
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
6
6
  import { Role } from "@emdash-cms/auth";
7
7
 
@@ -1,6 +1,6 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
4
4
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
5
5
  import { Role } from "@emdash-cms/auth";
6
6
 
@@ -1,11 +1,11 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as withTransaction } from "../../../../../../transaction-qfqpPVpu.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
6
- import { E as userUpdateBody } from "../../../../../../redirects-Dcbuisoj.mjs";
7
- import "../../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../../parse-GmjecGct.mjs";
6
+ import { E as userUpdateBody } from "../../../../../../redirects-DXEXBAII.mjs";
7
+ import "../../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../../api/schemas/index.mjs";
10
10
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
11
11
  import { Role } from "@emdash-cms/auth";
@@ -1,8 +1,8 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
5
- import { t as getSiteBaseUrl } from "../../../../../../site-url-BLebyON8.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
5
+ import { t as getSiteBaseUrl } from "../../../../../../site-url-BBfDTgZB.mjs";
6
6
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
7
7
  import { Role, sendMagicLink } from "@emdash-cms/auth";
8
8
 
@@ -1,10 +1,10 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
4
- import { i as parseQuery, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
5
- import { D as usersListQuery } from "../../../../../redirects-Dcbuisoj.mjs";
6
- import "../../../../../byline-fields-eyJMblSr.mjs";
7
- import "../../../../../status-vUK0SA17.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
4
+ import { i as parseQuery, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
5
+ import { D as usersListQuery } from "../../../../../redirects-DXEXBAII.mjs";
6
+ import "../../../../../byline-fields-2Lp5Hbgf.mjs";
7
+ import "../../../../../status-CqJQX1QN.mjs";
8
8
  import "../../../../../api/schemas/index.mjs";
9
9
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
10
10
  import { Role } from "@emdash-cms/auth";
@@ -1,10 +1,10 @@
1
- import { i as runMigrations } from "../../../../runner-CFngB4WZ.mjs";
1
+ import { i as runMigrations } from "../../../../runner-K8XK101B.mjs";
2
2
  import "../../../../dialect-helpers-DRI5pyY3.mjs";
3
3
  import "../../../../base64-CmWvODNW.mjs";
4
- import "../../../../types-DU4TSFS5.mjs";
5
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
6
- import { t as escapeHtml } from "../../../../escape-Bjio4ZsM.mjs";
7
- import { t as isSafeRedirect } from "../../../../redirect-CS-PHtNh.mjs";
4
+ import "../../../../types-CuW0zWDA.mjs";
5
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-CkAseSqZ.mjs";
6
+ import { t as escapeHtml } from "../../../../escape-DqD0aCKu.mjs";
7
+ import { t as isSafeRedirect } from "../../../../redirect-CoW3G-0U.mjs";
8
8
  import { ulid } from "ulidx";
9
9
 
10
10
  //#region src/astro/routes/api/auth/dev-bypass.ts
@@ -1,6 +1,6 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
4
4
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
5
5
  import { InviteError, roleFromLevel, validateInvite } from "@emdash-cms/auth";
6
6
 
@@ -1,16 +1,16 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { y as inviteCompleteBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { y as inviteCompleteBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-D5FxMUo8.mjs";
12
- import { n as createChallengeStore } from "../../../../../challenge-store-LhiqMccz.mjs";
13
- import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
11
+ import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CRsJ6BPM.mjs";
12
+ import { n as createChallengeStore } from "../../../../../challenge-store-anhwVER0.mjs";
13
+ import { t as getPasskeyConfig } from "../../../../../passkey-config-De0ahnRg.mjs";
14
14
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
15
15
  import { InviteError, completeInvite } from "@emdash-cms/auth";
16
16
  import { registerPasskey, verifyRegistrationResponse } from "@emdash-cms/auth/passkey";
@@ -1,13 +1,13 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { b as inviteCreateBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { b as inviteCreateBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { t as getSiteBaseUrl } from "../../../../../site-url-BLebyON8.mjs";
10
+ import { t as getSiteBaseUrl } from "../../../../../site-url-BBfDTgZB.mjs";
11
11
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
12
12
  import { InviteError, Role, createInvite } from "@emdash-cms/auth";
13
13
 
@@ -1,15 +1,15 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { x as inviteRegisterOptionsBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { x as inviteRegisterOptionsBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as createChallengeStore } from "../../../../../challenge-store-LhiqMccz.mjs";
12
- import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
11
+ import { n as createChallengeStore } from "../../../../../challenge-store-anhwVER0.mjs";
12
+ import { t as getPasskeyConfig } from "../../../../../passkey-config-De0ahnRg.mjs";
13
13
  import { ulid } from "ulidx";
14
14
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
15
15
  import { InviteError, validateInvite } from "@emdash-cms/auth";
@@ -1,7 +1,7 @@
1
1
  import "../../../../base64-CmWvODNW.mjs";
2
- import "../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError } from "../../../../error-BHkLZk-w.mjs";
4
- import { t as isSafeRedirect } from "../../../../redirect-CS-PHtNh.mjs";
2
+ import "../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError } from "../../../../error-CkAseSqZ.mjs";
4
+ import { t as isSafeRedirect } from "../../../../redirect-CoW3G-0U.mjs";
5
5
 
6
6
  //#region src/astro/routes/api/auth/logout.ts
7
7
  const prerender = false;
@@ -1,15 +1,15 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { S as magicLinkSendBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { S as magicLinkSendBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
11
- import { t as getSiteBaseUrl } from "../../../../../site-url-BLebyON8.mjs";
12
- import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
10
+ import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-VTPRiX2s.mjs";
11
+ import { t as getSiteBaseUrl } from "../../../../../site-url-BBfDTgZB.mjs";
12
+ import { n as getClientIp, t as checkRateLimit } from "../../../../../rate-limit-C_Lf63Dd.mjs";
13
13
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
14
14
  import { sendMagicLink } from "@emdash-cms/auth";
15
15
 
@@ -1,7 +1,7 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
3
- import { t as apiError } from "../../../../../error-BHkLZk-w.mjs";
4
- import { t as isSafeRedirect } from "../../../../../redirect-CS-PHtNh.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
+ import { t as apiError } from "../../../../../error-CkAseSqZ.mjs";
4
+ import { t as isSafeRedirect } from "../../../../../redirect-CoW3G-0U.mjs";
5
5
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
6
6
  import { MagicLinkError, verifyMagicLink } from "@emdash-cms/auth";
7
7
 
@@ -1,11 +1,11 @@
1
1
  import "../../../../base64-CmWvODNW.mjs";
2
- import "../../../../types-DU4TSFS5.mjs";
3
- import { t as UserRepository } from "../../../../user-DgGbKL9s.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../redirects-Dcbuisoj.mjs";
7
- import { v as authMeActionBody } from "../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../status-vUK0SA17.mjs";
2
+ import "../../../../types-CuW0zWDA.mjs";
3
+ import { t as UserRepository } from "../../../../user-BjAOvU3Z.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../parse-GmjecGct.mjs";
6
+ import "../../../../redirects-DXEXBAII.mjs";
7
+ import { v as authMeActionBody } from "../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../api/schemas/index.mjs";
10
10
 
11
11
  //#region src/astro/routes/api/auth/me.ts
@@ -1,4 +1,4 @@
1
- import { t as getAuthMode } from "../../../../mode-BB0F8xTC.mjs";
1
+ import { t as getAuthMode } from "../../../../mode-BM9QgEmt.mjs";
2
2
 
3
3
  //#region src/astro/routes/api/auth/mode.ts
4
4
  const prerender = false;
@@ -1,7 +1,7 @@
1
1
  import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
2
- import { n as getPublicOrigin } from "../../../../../../public-url-CTVqgMmg.mjs";
3
- import { t as finalizeSetup } from "../../../../../../setup-complete-gEiySUc-.mjs";
4
- import { t as createOAuthStateStore } from "../../../../../../oauth-state-store---zrApfB.mjs";
2
+ import { n as getPublicOrigin } from "../../../../../../public-url-Danv47cS.mjs";
3
+ import { t as finalizeSetup } from "../../../../../../setup-complete-Cb3LRyzy.mjs";
4
+ import { t as createOAuthStateStore } from "../../../../../../oauth-state-store-YLFLcH5F.mjs";
5
5
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
6
6
  import { OAuthError, Role, handleOAuthCallback } from "@emdash-cms/auth";
7
7
 
@@ -1,5 +1,5 @@
1
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
2
- import { t as createOAuthStateStore } from "../../../../../oauth-state-store---zrApfB.mjs";
1
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
2
+ import { t as createOAuthStateStore } from "../../../../../oauth-state-store-YLFLcH5F.mjs";
3
3
  import { createAuthorizationUrl } from "@emdash-cms/auth";
4
4
 
5
5
  //#region src/astro/routes/api/auth/oauth/[provider].ts
@@ -1,10 +1,10 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
4
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
5
- import "../../../../../redirects-Dcbuisoj.mjs";
6
- import { E as passkeyRenameBody } from "../../../../../byline-fields-eyJMblSr.mjs";
7
- import "../../../../../status-vUK0SA17.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
4
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
5
+ import "../../../../../redirects-DXEXBAII.mjs";
6
+ import { E as passkeyRenameBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
7
+ import "../../../../../status-CqJQX1QN.mjs";
8
8
  import "../../../../../api/schemas/index.mjs";
9
9
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
10
10
 
@@ -1,6 +1,6 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
3
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
4
4
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
5
5
 
6
6
  //#region src/astro/routes/api/auth/passkey/index.ts
@@ -1,17 +1,17 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { C as passkeyOptionsBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { r as parseOptionalBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { C as passkeyOptionsBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-DZY5WCn2.mjs";
11
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
12
- import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-LhiqMccz.mjs";
13
- import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
14
- import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-BwoUdIpC.mjs";
10
+ import { t as getTrustedProxyHeaders } from "../../../../../trusted-proxy-VTPRiX2s.mjs";
11
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
12
+ import { n as createChallengeStore, t as cleanupExpiredChallenges } from "../../../../../challenge-store-anhwVER0.mjs";
13
+ import { t as getPasskeyConfig } from "../../../../../passkey-config-De0ahnRg.mjs";
14
+ import { n as getClientIp, r as rateLimitResponse, t as checkRateLimit } from "../../../../../rate-limit-C_Lf63Dd.mjs";
15
15
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
16
16
  import { generateAuthenticationOptions } from "@emdash-cms/auth/passkey";
17
17
 
@@ -1,15 +1,15 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
5
- import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../../redirects-Dcbuisoj.mjs";
7
- import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
5
+ import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../../redirects-DXEXBAII.mjs";
7
+ import { w as passkeyRegisterOptionsBody } from "../../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as createChallengeStore } from "../../../../../../challenge-store-LhiqMccz.mjs";
12
- import { t as getPasskeyConfig } from "../../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../../public-url-Danv47cS.mjs";
11
+ import { n as createChallengeStore } from "../../../../../../challenge-store-anhwVER0.mjs";
12
+ import { t as getPasskeyConfig } from "../../../../../../passkey-config-De0ahnRg.mjs";
13
13
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
14
14
  import { generateRegistrationOptions } from "@emdash-cms/auth/passkey";
15
15
 
@@ -1,16 +1,16 @@
1
1
  import "../../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, t as apiError } from "../../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../../redirects-Dcbuisoj.mjs";
7
- import { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, t as apiError } from "../../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../../redirects-DXEXBAII.mjs";
7
+ import { T as passkeyRegisterVerifyBody } from "../../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-D5FxMUo8.mjs";
12
- import { n as createChallengeStore } from "../../../../../../challenge-store-LhiqMccz.mjs";
13
- import { t as getPasskeyConfig } from "../../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../../public-url-Danv47cS.mjs";
11
+ import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../../allowed-origins-CRsJ6BPM.mjs";
12
+ import { n as createChallengeStore } from "../../../../../../challenge-store-anhwVER0.mjs";
13
+ import { t as getPasskeyConfig } from "../../../../../../passkey-config-De0ahnRg.mjs";
14
14
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
15
15
  import { registerPasskey, verifyRegistrationResponse } from "@emdash-cms/auth/passkey";
16
16
 
@@ -1,16 +1,16 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { D as passkeyVerifyBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { D as passkeyVerifyBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-D5FxMUo8.mjs";
12
- import { n as createChallengeStore } from "../../../../../challenge-store-LhiqMccz.mjs";
13
- import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
11
+ import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CRsJ6BPM.mjs";
12
+ import { n as createChallengeStore } from "../../../../../challenge-store-anhwVER0.mjs";
13
+ import { t as getPasskeyConfig } from "../../../../../passkey-config-De0ahnRg.mjs";
14
14
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
15
15
  import { PasskeyAuthenticationError, authenticateWithPasskey } from "@emdash-cms/auth/passkey";
16
16
 
@@ -1,16 +1,16 @@
1
1
  import "../../../../../base64-CmWvODNW.mjs";
2
- import "../../../../../types-DU4TSFS5.mjs";
2
+ import "../../../../../types-CuW0zWDA.mjs";
3
3
  import { t as OptionsRepository } from "../../../../../options-DTTML-Tx.mjs";
4
- import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-BHkLZk-w.mjs";
5
- import { n as parseBody, t as isParseError } from "../../../../../parse-CqyZj3Hp.mjs";
6
- import "../../../../../redirects-Dcbuisoj.mjs";
7
- import { O as signupCompleteBody } from "../../../../../byline-fields-eyJMblSr.mjs";
8
- import "../../../../../status-vUK0SA17.mjs";
4
+ import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-CkAseSqZ.mjs";
5
+ import { n as parseBody, t as isParseError } from "../../../../../parse-GmjecGct.mjs";
6
+ import "../../../../../redirects-DXEXBAII.mjs";
7
+ import { O as signupCompleteBody } from "../../../../../byline-fields-2Lp5Hbgf.mjs";
8
+ import "../../../../../status-CqJQX1QN.mjs";
9
9
  import "../../../../../api/schemas/index.mjs";
10
- import { n as getPublicOrigin } from "../../../../../public-url-CTVqgMmg.mjs";
11
- import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-D5FxMUo8.mjs";
12
- import { n as createChallengeStore } from "../../../../../challenge-store-LhiqMccz.mjs";
13
- import { t as getPasskeyConfig } from "../../../../../passkey-config-C0YfSBko.mjs";
10
+ import { n as getPublicOrigin } from "../../../../../public-url-Danv47cS.mjs";
11
+ import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../../allowed-origins-CRsJ6BPM.mjs";
12
+ import { n as createChallengeStore } from "../../../../../challenge-store-anhwVER0.mjs";
13
+ import { t as getPasskeyConfig } from "../../../../../passkey-config-De0ahnRg.mjs";
14
14
  import { createKyselyAdapter } from "@emdash-cms/auth/adapters/kysely";
15
15
  import { SignupError, completeSignup } from "@emdash-cms/auth";
16
16
  import { registerPasskey, verifyRegistrationResponse } from "@emdash-cms/auth/passkey";