vona-cli-set-api 1.1.89 → 1.1.91

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 (90) hide show
  1. package/cli/templates/create/project/cabloy-basic/boilerplate/package.original.json +1 -1
  2. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-api-CHYYULgK.js → a-api-BqNqY2GN.js} +1 -1
  3. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-app-C7ZzWYyv.js → a-app-D7EP8U-3.js} +1 -1
  4. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-bean-DbU4LrMT.js → a-bean-CUO4gVIm.js} +1 -1
  5. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-behavior-eA4Ko-He.js → a-behavior-BAP2Ff4w.js} +1 -1
  6. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-behaviors-f2exgaEu.js → a-behaviors-CkK01keI.js} +1 -1
  7. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-boundary-BAhgHCTT.js → a-boundary-BoCvn9dH.js} +1 -1
  8. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-command-BOYshJRZ.js → a-command-RwirCrc8.js} +1 -1
  9. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-fetch-AIg5YBcV.js → a-fetch-B1Po-5Co.js} +1 -1
  10. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-form-BAf2Qz_J.js → a-form-B9pT_aEp.js} +1 -1
  11. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-icon-BlxtKoSc.js → a-icon-EEVl8aoi.js} +1 -1
  12. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-interceptor-DTvzdmmr.js → a-interceptor-06a7Nl5q.js} +1 -1
  13. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-logger-B7YCH8mY.js → a-logger-Bj9zsUzc.js} +1 -1
  14. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-meta-CK9pPRbq.js → a-meta-C3IXQKfQ.js} +1 -1
  15. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-model-Dy8MZZlZ.js → a-model-BmCSLXQU.js} +1 -1
  16. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-openapi-HwWghsDd.js → a-openapi-B9APBFN4.js} +1 -1
  17. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-router-D0Y00b5F.js → a-router-C7QHN86t.js} +1 -1
  18. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-routerstack-BXMhGOGB.js → a-routerstack-DxBmHbVZ.js} +1 -1
  19. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-routertabs-CUhdzubP.js → a-routertabs-9sSx4dt9.js} +1 -1
  20. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-ssr-eiXfoZ6Q.js → a-ssr-gMlPESAu.js} +1 -1
  21. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-ssrhmr-cH7AXfM5.js → a-ssrhmr-B2cvF-nD.js} +1 -1
  22. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-style-DZd6z-ny.js → a-style-Bht4iQ_d.js} +1 -1
  23. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-table-kuC_J1k8.js → a-table-BBksZBe1.js} +1 -1
  24. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-zod-Cdqw-WGX.js → a-zod-BWqOglw0.js} +1 -1
  25. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-zova-CxF5nOQp.js → a-zova-CLVn3kWM.js} +1 -1
  26. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{axios-B7gCUQ9l.js → axios-DyuziMXs.js} +1 -1
  27. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-adapter-Cj2vkw9z.js → basic-adapter-DS840NRF.js} +1 -1
  28. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-captcha-VrKsTQJ3.js → basic-captcha-BNweQgyJ.js} +1 -1
  29. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-commands-B2edNn1P.js → basic-commands-C0VoFwfq.js} +1 -1
  30. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-commandssync-Bd_kbbVQ.js → basic-commandssync-ojYOahN8.js} +1 -1
  31. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-currency-DNVB5gad.js → basic-currency-B53xuwSH.js} +1 -1
  32. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-date-d4feu4Im.js → basic-date-DmB2H1Wl.js} +1 -1
  33. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-form-Bj4tp02u.js → basic-form-CTT8W72D.js} +1 -1
  34. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-input-CvUiSrkp.js → basic-input-CujxC8t2.js} +1 -1
  35. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-page-DUPLsQtX.js +1 -0
  36. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-pageentry-DNpaXmae.js → basic-pageentry-CURMfZZV.js} +1 -1
  37. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-select-PVPCheEJ.js → basic-select-48uSP1-o.js} +1 -1
  38. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-table-BpGdazu7.js → basic-table-vjdwIkpu.js} +1 -1
  39. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-text-BNx8xfbC.js → basic-text-D0lSueNu.js} +1 -1
  40. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{browser-DVyM2lRk.js → browser-BGhVutxz.js} +1 -1
  41. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{demo-student-D6S7aLYU.js → demo-student-Cb-fUR36.js} +1 -1
  42. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{devui-adapter-DKLLSAYN.js → devui-adapter-BT7_PUBh.js} +1 -1
  43. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{esm-Cyu7DhcL.js → esm-C5llv4f3.js} +1 -1
  44. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{extends-BEDPO8Vk.js → extends-DY_KS8Q4.js} +1 -1
  45. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{fecha-DKYcT2kV.js → fecha-Dt-wbMrP.js} +1 -1
  46. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-api-bXUVCQ2V.js → home-api-CwYBZ2Yj.js} +1 -1
  47. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-base-DGQFfNxH.js → home-base-BH3oFpCW.js} +1 -1
  48. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-icon-BlaDdQNB.js → home-icon-BbtfW8qU.js} +1 -1
  49. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-index-BzWHcmYp.js → home-index-Dq4LNszg.js} +1 -1
  50. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-layoutempty-C4ksERwb.js → home-layoutempty-C3MCtlEr.js} +1 -1
  51. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-layouttabs-CA_fymbL.js → home-layouttabs-DWEz1yYL.js} +1 -1
  52. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-login-BEk-O7Go.js → home-login-BMwC29bW.js} +1 -1
  53. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-passport-BdMykqqE.js → home-passport-DPYau1K1.js} +1 -1
  54. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-theme-CG--q4WN.js → home-theme-nhgndR7j.js} +1 -1
  55. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{index-CnDZzQ19.js → index-DBmne68H.js} +2 -2
  56. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/openapi3-FT2pEsVX.js +1 -0
  57. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{rest-resource-TyYU0ri_.js → rest-resource-C6GQiEpn.js} +1 -1
  58. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-CwcJuyuX.js → src-BjsHwghP.js} +1 -1
  59. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-C0-wYX-r.js → src-D9laPyFH.js} +1 -1
  60. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-DS3T1Yl4.js → src-DJBJvh6A.js} +1 -1
  61. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-BUCf7j9k.js → src-i44gADN5.js} +1 -1
  62. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-form-DuMNegIR.js → tanstack-form-CXtAdtI3.js} +1 -1
  63. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query--KWujqw6.js → tanstack-query-CvGZOEQ7.js} +1 -1
  64. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query-DsCq8m8t.js → tanstack-query-DOmL-fBO.js} +1 -1
  65. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query-w62dJpVl.js → tanstack-query-ReR706Mh.js} +1 -1
  66. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-table-Bo1IMehE.js → tanstack-table-Cc9nzOiG.js} +1 -1
  67. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-table-DWHj4lH8.js → tanstack-table-Ck6NfDtc.js} +1 -1
  68. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/vue-B9pRh0Vf.js +1 -0
  69. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/vue-De0oSCem.js +1 -0
  70. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{vue-DtpXLVVU.js → vue-hlNowAAI.js} +1 -1
  71. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{vue-router-BYR57x2V.js → vue-router-CVjseDu5.js} +1 -1
  72. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-DCETe0vD.js → zova-Cb9EgvUI.js} +1 -1
  73. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-Bg37yi9o.js → zova-CybCK-Pu.js} +1 -1
  74. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-D8v2RJZ_.js → zova-D5ZWWzCV.js} +1 -1
  75. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-DtaxAeLK.js → zova-DrRXpYkJ.js} +1 -1
  76. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/zova-GXbZsK4u.js +1 -0
  77. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-DrYi3lHN.js → zova-sdmNUH4m.js} +1 -1
  78. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/handler.js +45 -45
  79. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/quasar.manifest.json +1 -1
  80. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/package.json +1 -1
  81. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/zovaRest/cabloy-basic-admin/index.d.mts +5 -1
  82. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/zovaRest/cabloy-basic-admin/package.json +2 -2
  83. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/package.json +2 -2
  84. package/cli/templates/create/project/cabloy-start/boilerplate/package.original.json +1 -1
  85. package/package.json +4 -4
  86. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-page-CuyulrHr.js +0 -1
  87. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/openapi3-DYIMmMEX.js +0 -1
  88. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/vue-Bfl7vS_c.js +0 -1
  89. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/vue-CHj8oCvV.js +0 -1
  90. package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/zova-DyVKtBvo.js +0 -1
@@ -1 +1 @@
1
- import{a as e,n as t}from"./rolldown-runtime-CHbrDDT0.js";import{i as n,n as s,o,r as i,t as r}from"./vue-Ds00Ozkv.js";import{_ as a,a as l,d as c,g as u,h as d,i as p,l as h,p as m,s as f,x as y}from"./vue-Dl-yK_yx.js";import{A as _,C as v,D as g,E as b,M as S,O as w,T as M,d as B,f as x,g as C,h as $,j as I,k,o as P,u as O,w as N,x as R,y as A}from"./vue-Bfl7vS_c.js";import{n as E,t as F}from"./vue-CHj8oCvV.js";import{A as T,G as z,H as j,J as L,M as D,N as H,Q as U,R as q,S as W,V as G,W as V,X as K,Y as Z,Z as J,_ as X,b as Q,et as Y,f as ee,g as te,h as ne,j as se,l as oe,m as ie,nt as re,u as ae,v as le,x as ce,y as ue}from"./zova-DrYi3lHN.js";import{a as de,d as pe,f as he,i as me,m as fe,o as ye,p as _e,r as ve,s as ge}from"./fecha-DKYcT2kV.js";import{a as be,i as Se,n as we,o as Me,t as Be}from"./zova-C85f6rBG.js";import{t as xe}from"./zova-bwa4oaWV.js";import{a as Ce,c as $e,d as Ie,i as ke,l as Pe,t as Oe}from"./zova-DtaxAeLK.js";function Ne(e){return e}var Re,Ae,Ee=t(()=>{}),Fe=t(()=>{L(),xe(),Re=new class{defineMetadata(e,t,n,s){Y(s)?Reflect.defineMetadata(e,t,n):Reflect.defineMetadata(e,t,n,s)}getOwnMetadata(e,t,n){return Y(n)?Reflect.getOwnMetadata(e,t):Reflect.getOwnMetadata(e,t,n)}getMetadata(e,t,n){return Y(n)?Reflect.getMetadata(e,t):Reflect.getMetadata(e,t,n)}getOwnMetadataArray(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?e.slice():[]}else o=[];this.defineMetadata(t,o,n,s)}return o}getOwnMetadataMap(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?Object.assign({},e):{}}else o={};this.defineMetadata(t,o,n,s)}return o}getDesignType(e,t){return this.getMetadata("design:type",e,t)}getDesignParamtypes(e,t){return this.getMetadata("design:paramtypes",e,t)}getDesignReturntype(e,t){return this.getMetadata("design:returntype",e,t)}}}),Te=t(()=>{Ae=Symbol("SymbolMappedClassMetakeys")});function ze(e,t,n){const s=Re.getOwnMetadataMap(!0,Ae,e);Object.hasOwn(s,t)||(s[t]=n)}var je,Le=t(()=>{Fe(),Te()});var De,He,Ue,qe,We=t(()=>{}),Ge=t(()=>{De=class{constructor(){this.sys=void 0,this.app=void 0,this.ctx=void 0}get bean(){return this.ctx?this.ctx.bean:this.sys.bean}}}),Ve=t(()=>{He=Array.from({length:256});for(let e=0;e<256;e++)He[e]=(e+256).toString(16).substring(1);(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})()});function Ke(...e){let t=e[0];if(!t||"object"!=typeof t)throw new Error("invalid args");f(t)||(t=m(t));for(let n=1;n<e.length;n++){const s=e[n];if(!s)continue;const o=Object.getOwnPropertyNames(s);for(const e of o){const n=Object.getOwnPropertyDescriptor(s,e);t[e]=null==n?void 0:n.value}}return t}function Ze(...e){return D(!0,...e)}function Je(e,t,n){return(0,Ue.default)(e,t,n)}function Xe(e){var t;null==e||null===(t=e.__dispose__)||void 0===t||t.call(e)}function Qe(e,t){return e.replace(":",`.${t}.`)}function Ye(e,t="px"){if(null==e||""===e)return;const n=Number(e);return Number.isNaN(n)?String(e):Number.isFinite(n)?`${n}${t}`:void 0}function et(e){return!!e&&(e.startsWith("http://")||e.startsWith("https://"))}function tt(){const e=new Error;throw e.code=600,e}var nt,st,ot,it,rt,at,lt,ct,ut,dt,pt,ht,mt,ft,yt,_t,vt,gt,bt,St=t(()=>{H(),L(),Ue=e(ge(),1),E(),Ge(),Ee(),Ve(),qe=class extends De{getAbsoluteUrlFromPagePath(e,t,n){let s=t?"":`${this.sys.env.SSR_PROD_PROTOCOL}://${this.sys.env.SSR_PROD_HOST}`;return!n&&this.sys.env.APP_PUBLIC_PATH&&(s=`${s}/${this.sys.env.APP_PUBLIC_PATH}`),`${s}${e||""}`}getPagePathFromAbsoluteUrl(e,t){let n;if(et(e)){const t=new URL(e);n=t.pathname+t.search}else n=e;if(!t&&this.sys.env.APP_PUBLIC_PATH){const e=`/${this.sys.env.APP_PUBLIC_PATH}`;n.startsWith(e)&&(n=n.substring(e.length))}return n}getApiBaseURL(e=!0){let t=this.sys.config.api.baseURL||"";return e&&(t=`${t}${this.sys.config.api.prefix||""}`),t}getOpenApiBaseURL(e){return this.sys.env[e]||this.sys.env.OPENAPI_BASE_URL_DEFAULT||this.sys.env.API_BASE_URL}getApiPath(e){return e?e=e.startsWith("//")?e.substring(1):this.sys.config.api.prefix+e:e}apiActionPathTranslate(e,t){return G(e,t)}apiActionConfigPrepare(e,t,n){const s={params:null==t?void 0:t.query,query:void 0},o={};return void 0!==(n=void 0===(null==t?void 0:t.authToken)?n:null==t?void 0:t.authToken)&&(o["a-interceptor:jwt"]={authToken:n}),(null==t?void 0:t.openapiSchema)&&(o["a-interceptor:headers"]={openapiSchema:null==t?void 0:t.openapiSchema}),K(o)||(s.interceptors=o),Ze({baseURL:e||this.getApiBaseURL(!1)},t,s)}getModuleConfigSafe(e){if(this.sys.meta.module.get(e))return this.sys.bean.scope(e).config;let t=this.sys.config.modules[e];return t||(t=this.sys.config.modules[e]={}),t}getModuleConfigOriginal(e){var t;return null!==(t=this.sys.configOriginal.modules[e])&&void 0!==t?t:{}}parseResourceApi(e,t){const n=e.split(":");return null!=t?t:q(n[0],n[1],void 0,!0,!0,this.sys.env.API_PREFIX)}}}),wt=t(()=>{L(),Be(),Le(),Ee(),Fe(),We(),St(),he(),nt=Symbol("Decorator#BeanFullName"),st=Symbol("SymbolDecoratorBeanInfo"),ot=Symbol("SymbolDecoratorProxyDisable"),it=Symbol("SymbolDecoratorPreload"),rt=Symbol("SymbolDecoratorVirtual"),at=Symbol("SymbolDecoratorUse"),lt=new class{constructor(){this.beans={},this.scenes={}}dispose(){}addUse(e,t){ze(e,at);Re.getOwnMetadataMap(!0,at,e)[t.prop]=t}getUses(e){return Re.getMetadata(at,e)}addBean(e){const{beanClass:t,options:n,optionsPrimitive:s}=e,o=Re.getOwnMetadata(rt,t),{scene:i,name:r}=this._parseSceneAndBeanName(t,e.scene,e.name),a=Re.getOwnMetadata(st,t),l=null==a?void 0:a.module;if(!l)throw new Error(`module name not parsed for bean: ${i}.${r}`);const c=`${l}.${i}.${r}`,u=this._parseModuleBelong(l,t,o),d=this._prepareOnionOptions(n,s,i,`${l}:${r}`),p=pe(pe({},e),{},{module:l,scene:i,name:r,beanFullName:c,moduleBelong:u,options:d});return this.beans[c]=p,this.scenes[i]||(this.scenes[i]={}),this.scenes[i][l]||(this.scenes[i][l]={}),this.scenes[i][l][c]=p,Re.defineMetadata(nt,c,p.beanClass),p}getBeanFullName(e){return e&&"function"==typeof e&&Z(e)?Re.getOwnMetadata(nt,e):e}getBean(e){const t=this.getBeanFullName(e);return t?this.beans[t]:null}_parseSceneAndBeanName(e,t,n){if(t&&n)return{scene:t,name:n};let s=e.name;return s.toLowerCase().startsWith("bean")&&(s=s.substring(4)),n||(n=t?be(s,t,!0):we(s,!0)),t||(t=Se(s,n,!0),t=Me(t,!0,".")),{scene:t,name:n}}_parseModuleBelong(e,t,n){if(!n)return e;let s,o=Object.getPrototypeOf(t);for(;o;){const e=this.getBean(o);if(e&&e.moduleBelong){s=e.moduleBelong;break}o=Object.getPrototypeOf(o)}return s}_getModuleBelong(e){const t=this.getBean(e);return null==t?void 0:t.moduleBelong}_getModuleName(e){const t=this.getBean(e);return null==t?void 0:t.module}_prepareOnionOptions(e,t,n,s){var o;const i=null===(o=je.config.onions[n])||void 0===o?void 0:o[s];return t?void 0===i?e:i:Ze({},e,i)}}}),Mt=t(()=>{E(),fe(),ct=Symbol("SymbolWaitPromise"),ut=class StateLock{static create(){return m(new StateLock)}constructor(){this._state=void 0,this._resolve=void 0,this._state=!1}get state(){return this._state}touch(){!0!==this._state&&(this._state=!0,this._resolve&&(this._resolve.call(void 0,null),this._resolve=void 0))}wait(){var e=this;return _e(function*(){return e[ct]||(e[ct]=e._waitInner()),e[ct]})()}_waitInner(){var e=this;return _e(function*(){return new Promise(t=>{if(e.state)return t(null);e._resolve=t})})()}}}),Bt=t(()=>{wt(),Mt(),Ge(),dt=Symbol("SymbolBeanFullName"),pt=Symbol("SymbolBeanInstanceKey"),ht=Symbol("SymbolModuleBelong"),mt=Symbol("SymbolModuleName"),ft=Symbol("SymbolInited"),yt=class extends De{constructor(){super(),this[dt]=void 0,this[pt]=void 0,this[ft]=void 0,this[ft]=ut.create()}get[ht](){const e=lt._getModuleBelong(this[dt]);if(!e)throw new Error(`not found module belong: ${this[dt]}`);return e}get[mt](){const e=lt._getModuleName(this[dt]);if(!e)throw new Error(`not found module name: ${this[dt]}`);return e}get $beanFullName(){return this[dt]}get $beanInstanceKey(){return this[pt]}get $beanOptions(){return lt.getBean(this[dt]||this.constructor)}get $onionName(){const e=this.$beanFullName.split(".");return`${e[0]}:${e[2]}`}get $onionOptions(){return this.$beanOptions.options}}}),xt=t(()=>{}),Ct=t(()=>{xt()}),$t=t(()=>{}),It=t(()=>{$t()}),kt=t(()=>{}),Pt=t(()=>{kt()}),Ot=t(()=>{Ge(),_t=Symbol("BeanScopeError#ModuleScope"),vt=class extends De{constructor(e){super(),this[_t]=void 0,this.__instances={},this[_t]=e}__get__(e){return this.__instances[e]||(this.__instances[e]=this.app.meta.error.createScopeError(this[_t],e)),this.__instances[e]}}}),Nt=t(()=>{gt={0:"Success",1:"Unknown Error",100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required",600:"Component Unmounted"}});var Rt,At,Et,Ft,Tt,zt,jt,Lt,Dt,Ht=t(()=>{Ge(),Nt(),fe(),bt=class extends De{initialize(){return _e(function*(){})()}throw(e,t,...n){const s=this.parseFail(e,t,...n),o=new Error;throw o.code=s.code,o.message=s.message,s.code<500&&(o.status=s.code),o}parseFail(e,t,...n){return"object"==typeof t?t:this.parseCode(e,1,t,...n)}parseCode(e,t,n,...s){const o=this.sys.meta.error.errors[e];let i,r;return"string"==typeof n&&/^\d+$/.test(n)&&(n=Number(n)),n&&"string"==typeof n&&(i=n,n=o[n]),null!=n&&""!==n||(n=t),r=n<=1e3?this.app.meta.locale.getText(!0,void 0,void 0,gt[n],...s):this.app.meta.locale.getText(!1,e,void 0,i||n,...s),n=function(e,t){return"number"!=typeof t||t<=1e3?t:e?`${e}:${t}`:t}(e,n),{code:n,message:r}}}}),Ut=t(()=>{}),qt=t(()=>{}),Wt=t(()=>{Rt=Symbol("SymbolErrorInstanceInfo")}),Gt=t(()=>{Ot(),Ht(),Ut(),Nt(),qt(),Wt()}),Vt=t(()=>{Ge(),At=Symbol("BeanScopeLocale#ModuleScope"),Et=class extends De{constructor(e){super(),this[At]=void 0,this.__instances={},this[At]=e}__get__(e){if(!this.__instances[e]){const t=this.app?this.app.meta.locale:this.sys.meta.locale;this.__instances[e]=t.createScopeLocaleText(this[At],e)}return this.__instances[e]}}}),Kt=t(()=>{}),Zt=t(()=>{Vt(),Kt()}),Jt=t(()=>{}),Xt=t(()=>{Jt()}),Qt=t(()=>{Ct(),It(),Pt(),Gt(),Zt(),Xt()}),Yt=t(()=>{E(),Ee(),Bt(),Qt(),fe(),Ft=Symbol("SymbolText"),Tt=Symbol("SymbolLogger"),zt=Symbol("SymbolLoggerChildren"),jt=class extends yt{constructor(...e){super(...e),this[Ft]=void 0,this[Tt]={},this[zt]={}}get $el(){if(!this.ctx)throw new Error("$el can not be used inside global bean.");return this.ctx.meta.el}get $text(){return this[Ft]||(this[Ft]=this.app.meta.locale.createLocaleText(this[ht])),this[Ft]}get $logger(){return this.$loggerClient("default")}$loggerClient(e){return this[Tt][e]||(this[Tt][e]=this.sys.meta.logger.get(e).child({beanFullName:this.$beanFullName})),this[Tt][e]}$loggerChild(e,t="default"){return this[zt][t]||(this[zt][t]={}),this[zt][t][e]||(this[zt][t][e]=this.sys.meta.logger.get(t).child({beanFullName:this.$beanFullName,name:e})),this[zt][t][e]}get $event(){return this.app.meta.event}get scope(){return this.bean.scope(this[ht])}$renderFreeze(e){return this.ctx.instance.ctx.renderFreeze(e)}$renderFreezeScope(e){var t=this;return _e(function*(){if(!t.ctx.disposed)return yield t.ctx.instance.ctx.renderFreezeScope(e)})()}$errorHandler(e,t){var n;return e instanceof Error&&e[Rt]&&delete e[Rt],null===(n=this.app)||void 0===n?void 0:n.vue.config.errorHandler(e,this.ctx.instance,t)}$computed(e,t){return this.ctx.util.instanceScope(()=>P(e,t))}$composable(e){return this.ctx.util.instanceScope(()=>e())}$watchEffect(e,t){return this.ctx.util.instanceScope(()=>_(e,t))}$watchPostEffect(e,t){return this.ctx.util.instanceScope(()=>I(e,t))}$watchSyncEffect(e,t){return this.ctx.util.instanceScope(()=>S(e,t))}$watch(e,t,n){return this.ctx.util.instanceScope(()=>k(e,t,n))}$controllerCreated(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onCreated(e))}$controllerMounted(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onMounted(e))}$customRef(e){return p(e)}$toRef(e,t,n){return y(e,t,n)}$zovaComponent(e,t){return this.sys.meta.component.getZovaComponent(e,t)}}}),en=t(()=>{Yt(),Lt=class extends jt{}}),tn=t(()=>{Yt(),Dt=class extends jt{}});function nn(e){return function(t){Re.defineMetadata(st,e,t)}}var sn=t(()=>{Fe(),wt()});function on(e,t,n,s,o,i){return function(r){const a="scope"===e?"module":void 0;lt.addBean({scene:e,name:a,containerScope:t,markReactive:n,beanClass:r,options:s,optionsPrimitive:o}),i&&i(r)}}var rn=t(()=>{wt()});function an(){return function(e){Re.defineMetadata(it,!0,e)}}var ln=t(()=>{Fe(),wt()});function cn(){return function(e){Re.defineMetadata(ot,!0,e)}}var un=t(()=>{Fe(),wt()});function dn(e){return function(t,n,s){e||(e={}),"string"==typeof e&&(e={beanFullName:e});const o=Re.getDesignType(t,n);lt.addUse(t,pe(pe({},e),{},{prop:n,beanClass:o,descriptor:s}))}}function pn(e,t,n){return{withSelector:t,markReactive:n,args:[e]}}function hn(e,t){var n;let s=function(e,t){var n,s,o;const i=null===(n=t.descriptor)||void 0===n?void 0:n.get;if(!i)return;const r=i.call(e);if(!r)return;const a=null!==(s=r.withSelector)&&void 0!==s&&s,l=null===(o=r.markReactive)||void 0===o||o;return{withSelector:a,args:r.args.map((e,t)=>"function"==typeof e?l&&(!a||t>0)?y(e):e():e)}}(e,t);return s||(s=function(e,t){var n,s,o;const i=t.init;if(!i)return;const r=null!==(n=i.withSelector)&&void 0!==n&&n,a=null===(s=i.markReactive)||void 0===s||s,l=null!==(o=i.args)&&void 0!==o?o:[i.arg];if(!l)return;return{withSelector:r,args:l.map((t,n)=>function(e,t,n){const s={self:e,sys:e.sys,app:e.app,ctx:e.ctx};return n&&j(t,s,void 0,!0)?y(()=>j(t,s)):j(t,s)}(e,t,a&&(!r||n>0)))}}(e,t)),s||U(t.selector)?null!==(n=s)&&void 0!==n?n:{withSelector:!1,args:[]}:{withSelector:!0,args:[j(t.selector,{self:e,sys:e.sys,app:e.app,ctx:e.ctx})]}}var mn=t(()=>{L(),E(),Fe(),wt(),he()});function fn(e){return function(t,n){if(!e)throw new Error("should specify the module name");"string"==typeof e&&(e={module:e});const s=`${e.module}.scope.module`;lt.addUse(t,pe(pe({},e),{},{prop:n,beanFullName:s}))}}var yn=t(()=>{wt(),he()});function _n(){return function(e){Re.defineMetadata(rt,!0,e)}}var vn=t(()=>{Fe(),wt()}),gn=t(()=>{sn(),rn(),ln(),un(),mn(),yn(),vn()}),bn=t(()=>{}),Sn=t(()=>{}),wn=t(()=>{bn(),Sn()}),Mn=t(()=>{}),Bn=t(()=>{}),xn=t(()=>{}),Cn=t(()=>{}),$n=t(()=>{Mn(),Bn(),xn(),Cn()}),In=t(()=>{}),kn=t(()=>{Fe()}),Pn=t(()=>{}),On=t(()=>{kn(),Pn(),In()}),Nn=t(()=>{gn(),wn(),$n(),On()});function Rn(e,t){return P(e,t)}var An,En,Fn,Tn,zn,jn,Ln,Dn,Hn=t(()=>{E()});function Un(e,t){const[n,s]=t;if(n!==En)return{receiver:void 0,fn:s}}function qn([e,t],n){return(...s)=>(t=0===s.length?t:s[0],n([e,t]))}function Wn(e){return!e||!e.dynamic&&!e.ofBeanBase}function Gn(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return n?{descriptor:n,dynamic:!0}:function(e,t){let n=Object.getPrototypeOf(e),s=!1;for(;n;){n.constructor.name===jt.name&&(s=!0);const e=Object.getOwnPropertyDescriptor(n,t);if(e)return{descriptor:e,dynamic:!1,ofBeanBase:s};n=Object.getPrototypeOf(n)}return null}(e,t)}function Vn(e,t,n,s){n&&"object"==typeof n&&s&&(n.__v_isShallow_patch=!0),Object.defineProperty(e,t,{enumerable:!1,configurable:!0,get:()=>n}),n&&"object"==typeof n&&s&&delete n.__v_isShallow_patch}function Kn(e){return!!e.__get__||!!e.__set__}function Zn(e){return["__get__","__set__","then","__v_skip","__v_isReactive","__v_isReadonly","__v_isShallow","__v_raw","__v_isRef","__v_isVNode","__v_cache","__v_isShallow_patch"].includes(e)}function Jn(e){return["__init__","__dispose__"].includes(e)}function Xn(e,t,n){return t?U(n)?e:`${e}#${n}`:e}var Qn=t(()=>{se(),L(),E(),Fe(),wt(),Nn(),Ee(),Hn(),en(),Yt(),Bt(),Ge(),he(),fe(),An=Symbol("SymbolBeanContainerParent"),En=Symbol("SymbolProxyMagic"),Fn=Symbol("SymbolProxyAopMethod"),Tn=Symbol("SymbolCacheAopChains"),zn=Symbol("SymbolCacheAopChainsKey"),jn=Symbol("SymbolGetBeanSelectorInnerPromises"),Ln=Symbol("SymbolBeanContainerInstances"),Dn=class BeanContainer{static create(e,t,n){const s=new BeanContainer(e,t,n);return h(new Proxy(s,{get:(e,t)=>"symbol"==typeof t||e[t]?e[t]:e._getBeanSyncOnly(t)}))}constructor(e,t,n){this.sys=void 0,this.app=void 0,this.ctx=void 0,this[Ln]=a({}),this[jn]={},this.sys=e,this.app=t,this.ctx=n}dispose(){const e=this[Ln];for(const t in e){if(t.startsWith("$$"))continue;const n=Ne(e[t]);!n||n instanceof Lt||!n.__dispose__||("sys"===this.containerType?(this.sys.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),n.__dispose__(),this.sys.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)):(this.app.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),this.runWithInstanceScopeOrAppContext(()=>{n.__dispose__()}),this.app.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)))}this[Ln]=a({}),this[An]=void 0,this[jn]={}}get containerType(){return this.ctx?this.app&&this.ctx.bean!==this.app.bean?"ctx":"app":"sys"}get parent(){return void 0===this[An]&&(this[An]=this._getParent()),this[An]}_getParent(){var e;if("sys"===this.containerType)return null;let t=null===(e=this.ctx)||void 0===e||null===(e=e.instance)||void 0===e?void 0:e.parent;for(;t;){var n;const e=null===(n=t.zova)||void 0===n?void 0:n.bean;if(e)return e;t=t.parent}return this.sys.bean}runWithInstanceScopeOrAppContext(e,t){return"sys"===this.containerType?e():this.ctx?this.ctx.util.instanceScope(e,t):this.app.vue.runWithContext(e)}provide(e,t){return this.ctx.util.instanceScope(()=>M(e,t))}inject(e,t,n){return this.ctx.util.instanceScope(()=>C(e,t,n))}defineProperty(e,t,n){const s=this,o=pe({},n);return n.get&&(o.get=function(){const o=`__innerKey_${t}`;return e[o]||s.runWithInstanceScopeOrAppContext(()=>{Vn(e,o,n.get(),!0)}),e[o]}),Object.defineProperty(e,t,o)}scope(e){return"ctx"===this.containerType?this.app.bean.scope(e):this._getBeanSyncOnly(`${e}.scope.module`)}getScope(e){var t=this;return _e(function*(){return"ctx"===t.containerType?yield t.app.bean.getScope(e):(yield t._useModule(e),t.scope(e))})()}_setBean(e,t){this[Ln][e]=t}_getBeanSync(e,t,n){const s=this[Ln][e];if(void 0!==s){if(!s||!s[ft]||s[ft].state)return s}else!1!==n&&this._getBean(e,t)}_getBeanSyncOnly(e){return this[Ln][e]}_getBean(e,t,...n){var s=this;return _e(function*(){return yield s._getBeanSelectorInner(!0,null,e,t,!1,...n)})()}_getBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._getBeanSelectorInner(!0,null,e,t,!0,n,...s)})()}_getBeanSelectorInnerSync(e,t){const n=this._getBeanFullNameByComposableOrClassSync(e);if(!n)return null;const s=Xn(n,!0,t);return this[Ln][s]}_getBeanSelectorInner(e,t,n,s,o,...i){var r=this;return _e(function*(){const a=yield r._getBeanFullNameByComposableOrClass(n);if(!a)return null;const l=Xn(a,o,i[0]);return void 0===r[Ln][l]&&e&&(r[jn][l]||(r[jn][l]=r._getBeanSelectorInnerPromise(t,a,s,o,...i)),yield r[jn][l]),r[Ln][l]&&r[jn][l]&&(yield r[jn][l],r[jn][l]=void 0),r[Ln][l]})()}_getBeanSelectorInnerPromise(e,t,n,s,...o){var i=this;return _e(function*(){return yield i._newBeanInner(!0,e,null,t,n,s,...o)})()}_newBeanSimple(e,t,...n){const s=this._prepareBeanInstanceSimple(e,e,n,t);return s instanceof Lt||!s.__init__||s.__init__(...n),s}_newBean(e,t,...n){var s=this;return _e(function*(){return yield s._newBeanInner(!1,null,null,e,t,!1,...n)})()}_newBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._newBean(e,t,n,...s)})()}_newBeanInner(e,t,n,s,o,i,...r){var a=this;return _e(function*(){var l;const c=yield a._getBeanOptionsForce(s);return c?yield a._createBeanInstance(e,t,n,c.beanFullName,c.beanClass,r,"aop"===c.scene,null===(l=null!=o?o:c.markReactive)||void 0===l||l,i):"function"==typeof s&&Z(s)?yield a._createBeanInstance(e,t,n,void 0,s,r,!1,o,i):null})()}_getBeanFullNameByComposableOrClassSync(e){const t=this._getBeanOptionsForceSync(e);if(t)return t.beanFullName}_getBeanFullNameByComposableOrClass(e){var t=this;return _e(function*(){if(!e)return;const n=yield t._getBeanOptionsForce(e);return n?n.beanFullName:void 0})()}_getBeanOptionsForceSync(e){return lt.getBean(e)}_getBeanOptionsForce(e){var t=this;return _e(function*(){if("function"==typeof e&&Z(e))return lt.getBean(e);const n=e.split(".");return yield t._useModule(n[0]),lt.getBean(e)})()}_createBeanInstance(e,t,n,s,o,i,r,a,l){var c=this;return _e(function*(){const u=yield c._prepareBeanInstance(s,o,i,a,r);if(n&&u.__initControllerData(n),e){const e=yield c._getBeanFullNameByComposableOrClass(s);if(e){const t=Xn(e,l,i[0]);Vn(u,pt,t,!1),c[Ln][t]=u}t&&c.__recordProp(t,e,u,!0)}return yield c._initBeanInstance(s,u,i),u})()}_prepareBeanInstance(e,t,n,s,o){var i=this;return _e(function*(){let r=i._prepareBeanInstanceCommon(e,t,n,s);const a=yield i._patchBeanInstance(e||t,r,o);return a&&(r=s?m(a):h(a)),r})()}_prepareBeanInstanceSimple(e,t,n,s){let o=this._prepareBeanInstanceCommon(e,t,n,s);const i=this._patchBeanInstanceSimple(e||t,o);return i&&(o=s?m(i):h(i)),o}_prepareBeanInstanceCommon(e,t,n,s){let o=new t(...n);return o instanceof De&&(o.sys=this.sys,Object.defineProperty(o,"app",{enumerable:!1,configurable:!0,get:()=>{var e;return null===(e=this.ctx)||void 0===e?void 0:e.app}}),o.ctx=this.ctx),"string"==typeof e&&Vn(o,dt,e,!1),o=s?m(o):h(o),o}_initBeanInstance(e,t,n){var s=this;return _e(function*(){var o,i;(yield s._injectBeanInstance(t,e),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInit",void 0,s,t):yield null===(o=s.app)||void 0===o?void 0:o.meta.module._monkeyModule(!0,"beanInit",void 0,s,t);(t instanceof Lt||!t.__init__||(yield s.runWithInstanceScopeOrAppContext(_e(function*(){yield t.__init__(...n)}))),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInited",void 0,s,t):yield null===(i=s.app)||void 0===i?void 0:i.meta.module._monkeyModule(!0,"beanInited",void 0,s,t);return t[ft]&&t[ft].touch(),t})()}_injectBeanInstance(e,t){var n=this;return _e(function*(){const s=lt.getBean(t);if(!s)return;const o=lt.getUses(s.beanClass.prototype);if(o)for(const t in o){const s=o[t];let i=s.beanFullName;if(!i&&s.beanClass&&(i=lt.getBeanFullName(s.beanClass)),s.injectionScope&&["host","skipSelf"].includes(s.injectionScope)){const o=hn(e,s),r=o.withSelector?Object.assign({},s,{selector:o.args[0]}):s;Vn(e,t,Rn(()=>n._getBeanFromHostInner(!1,s.prop,i,r)),!0);continue}Vn(e,t,yield n._injectBeanInstanceProp(e,i,s),!0)}})()}_injectBeanInstanceProp(e,t,n){var s=this;return _e(function*(){var o,i,r,a;if(n.name)return s[Ln][n.name];if(!t)return s[Ln][n.prop];let l;if(t&&(l=yield s._getBeanOptionsForce(t),!l))throw new Error(`not found bean class: ${t}`);let c=null!==(o=null!==(i=n.injectionScope)&&void 0!==i?i:l.containerScope)&&void 0!==o?o:"ctx";"scope"!==(null==l?void 0:l.scene)||s.app||(c="sys");const u=null===(r=null!==(a=n.markReactive)&&void 0!==a?a:l.markReactive)||void 0===r||r,d=hn(e,n),p=n.prop;let h;return"sys"===c?(h=yield s.sys.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"app"===c?(h=yield s.app.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"ctx"===c?h=yield s._getBeanSelectorInner(!0,p,t,u,d.withSelector,...d.args):"new"===c&&(h=yield s._newBeanInner(!1,null,null,t,u,d.withSelector,...d.args)),h})()}_getBeanFromHost(e,t){return"string"!=typeof e&&(t=e,e=void 0),t||(t={}),this._getBeanFromHostInner(!1,void 0,e,t)}_getBeanFromHostInner(e,t,n,s){let o;for(s.injectionScope&&"host"!==s.injectionScope?"skipSelf"===s.injectionScope&&(o=this.parent):o=this;;){if(!o)return null;const i=this._getBeanFromHostInner2(t,o,n,s);if(void 0!==i)return e&&this.__recordProp(t,void 0,i,!1),i;o=o.parent}}_getBeanFromHostInner2(e,t,n,s){return s.name?t[Ln][s.name]:n?t._getBeanSelectorInnerSync(n,s.selector):t[Ln][e]}_injectBeanInstanceProp_appBean(e,t,n){var s=this;return _e(function*(){void 0!==n&&s.ctx&&(s.__recordProp(e,void 0,n,!1),n&&(yield n[ft].wait()))})()}_patchBeanInstance(e,t,n){var s=this;return _e(function*(){if(e&&!n&&0!==(yield s._prepareAopChains(e,t)).length)return s._newBeanProxy(e,t)})()}_patchBeanInstanceSimple(e,t){if(e&&0!==this._prepareAopChainsSimple(e,t).length)return this._newBeanProxy(e,t)}_newBeanProxy(e,t){const n=this;return new Proxy(t,{get(t,s,o){if("symbol"==typeof s)return Reflect.get(t,s,o);if(Zn(s))return"__v_isShallow"===s&&t.__v_isShallow_patch?Reflect.get(t,"__v_isShallow_patch",o):Reflect.get(t,s,o);const i=Gn(t,s);if(!Wn(i))return Reflect.get(t,s,o);if(!function(e){var t;if(!e)return null;const{descriptor:n,dynamic:s}=e;if(s)return null;if(n.get)return null;const o=null===(t=n.value)||void 0===t||null===(t=t.constructor)||void 0===t?void 0:t.name;return["Function","AsyncFunction"].includes(o)?o:null}(i)){if(Jn(s))return Reflect.get(t,s,o);const r=`__get_${s}__`,a=n._getAopChainsProp(e,r,"__get__","get",s);return a?a([o,void 0],([e,n])=>!i&&t.__get__?Reflect.apply(t.__get__,e,[s,t]):Reflect.get(t,s,e)):Reflect.get(t,s,o)}return n._getInstanceMethodProxy(e,t,s,o)},set(t,s,o,i){if("symbol"==typeof s)return Reflect.set(t,s,o,i),!0;if(Zn(s))return Reflect.set(t,s,o,i),!0;const r=Gn(t,s);if(!Wn(r))return Reflect.set(t,s,o,i),!0;const a=`__set_${s}__`,l=n._getAopChainsProp(e,a,"__set__","set",s);return l?l([i,o],([e,n])=>{if(!r&&t.__set__){const o=Reflect.apply(t.__set__,e,[s,n,t]);if(void 0===o)throw new Error("__set__ must return true/false");o||Reflect.set(t,s,n,e)}else Reflect.set(t,s,n,e);return!0}):(Reflect.set(t,s,o,i),!0)}})}_getInstanceMethodProxy(e,t,n,s){if(Zn(n))return Reflect.get(t,n,s);const o=this._getAopChainsProp(e,n,"__method__","method",n);if(!o)return Reflect.get(t,n,s);const i=`__aopproxy_method_${n}__`;if(t[i])return t[i];const r=new Proxy(t[n],{apply:(e,t,n)=>o([t,n],([t,n])=>Reflect.apply(e,t,n))});return Vn(t,i,r,!1),r}_prepareAopChains(e,t){var n=this;return _e(function*(){if(!e)return[];const s=lt.getBean(e),o=(null==s?void 0:s.beanFullName)||e,i=!!(null==s?void 0:s.beanClass)&&Re.getMetadata(ot,null==s?void 0:s.beanClass),r=n._aopCacheHost();if(r[Tn]||(r[Tn]={}),r[Tn][o])return r[Tn][o];let a=[];if(!i&&s&&"aop"!==s.scene){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopsMatched(s.beanFullName);if(e){const t=[];for(const s of e)t.push(yield n.sys.bean._getBean(s.beanFullName,!0));a=a.concat(t)}}if(!i&&s){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopMethodsMatched(null==s?void 0:s.beanFullName);e&&a.push([Fn,e])}return Kn(t)&&a.push(En),r[Tn][o]=a,a})()}_prepareAopChainsSimple(e,t){if(!e)return[];const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e,o=this._aopCacheHost();if(o[Tn]||(o[Tn]={}),o[Tn][s])return o[Tn][s];const i=[];return Kn(t)&&i.push(En),o[Tn][s]=i,i}_getAopChains(e){var t;const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e;return(null===(t=this._aopCacheHost()[Tn])||void 0===t?void 0:t[s])||[]}_aopCacheHost(){return this.sys}_getAopChainsProp(e,t,n,s,o){const i=`__aopChains_${t}__`,r=lt.getBean(e),a=(null==r?void 0:r.beanFullName)||e,l=this._aopCacheHost();if(l[zn]||(l[zn]={}),l[zn][a]||(l[zn][a]={}),void 0!==l[zn][a][i])return l[zn][a][i];const c=this._getAopChains(e),u=[];for(const p of c)if(p===En)Jn(t)||u.push([p,t]);else if(Array.isArray(p)&&p[0]===Fn)this._getAopChainsProp_aopMethods(u,p,p[1],s,o);else{const e=p;if(e[t]){let n;"get"===s?n=function([n,s],o){return e[t](qn([n,s],o),n)}:"set"===s?n=function([n,s],o){return e[t](s,qn([n,s],o),n)}:"method"===s&&(n=function([n,s],o){return e[t](s,qn([n,s],o),n)}),u.push([p,n])}if(n&&e[n]&&!Jn(t)){let t;"get"===s?t=function([t,s],i){return e[n](o,qn([t,s],i),t)}:"set"===s?t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}:"method"===s&&(t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}),u.push([p,t])}}let d;return d=0===u.length?null:function(e){return T(e,Un)}(u),l[zn][a][i]=d,d}_getAopChainsProp_aopMethods(e,t,n,s,o){const i=n[o];if(i)for(const r of i){let n;"get"===s?n=function([e,t],n){if(!r.beanInstance.get)throw new Error(`get property accessor not exists: ${r.onionName}`);return r.beanInstance.get(r.options,qn([e,t],n),e,o)}:"set"===s?n=function([e,t],n){if(!r.beanInstance.set)throw new Error(`set property accessor not exists: ${r.onionName}`);return r.beanInstance.set(r.options,t,qn([e,t],n),e,o)}:"method"===s&&(n=function([e,t],n){if(!r.beanInstance.execute)throw new Error(`execute method not exists: ${r.onionName}`);return r.beanInstance.execute(r.options,t,qn([e,t],n),e,o)}),e.push([t,n])}}__recordProp(e,t,n,s){if(void 0!==this[Ln][e]&&s)throw new Error(`prop exsits: ${e.toString()}, ${t}`);void 0===this[Ln][e]&&(this[Ln][e]=n)}_useModule(e){var t=this;return _e(function*(){"sys"===t.containerType?yield t.sys.meta.module.use(e):yield t.app.meta.module.use(e)})()}}});function Yn(e,t,o=r){const a=x();if(!a)throw new Error("useModel() called without active instance.");const l=typeof Object.getPrototypeOf(this).constructor.$propsDefault[t],c=s(t),u=function(e,t){return"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${s(t)}Modifiers`]||e[`${n(t)}Modifiers`]}(e,c),d=p((n,s)=>{let u,d,p=r;return S(()=>{const t=e[c];i(u,t)&&(u=t,s())}),{get:()=>(n(),es(l,o.get?o.get(u):u)),set(e){var n;const c=es(l,o.set?o.set(e):e);if(!(i(c,u)||p!==r&&i(e,p)))return;u=e,s();const h=a.vnode.props;null==h||null===(n=h[`onUpdate:${t}`])||void 0===n||n.call(h,c),i(e,c)&&i(e,p)&&!i(c,d)&&s(),p=e,d=c}}});return d[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?u||r:d,done:!1}:{done:!0}}},d}function es(e,t){if(["undefined","null"].includes(e))return t;if(J(t))return t;if(typeof t===e)return t;let n;return n="number"===e?Number.isNaN(Number(t))?t:Number(t):"boolean"===e?"false"!==t&&"0"!==t&&Boolean(t):"string"===e?String(t):t,n}var ts,ns,ss,os,is,rs,as,ls,cs,us,ds,ps,hs,ms,fs,ys,_s,vs,gs,bs=t(()=>{L(),l(),o(),E()}),Ss=t(()=>{E(),St(),Ee(),bs(),Yt(),ts=class extends jt{constructor(...e){super(...e),this.$props=void 0,this.$slots=void 0}__initControllerData(e){this.ctx.disposed||(this.$slots=e.context.slots,this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this))}__updateControllerData(){this.ctx.disposed||(this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this))}$useModel(e,t){return"object"==typeof e&&(t=e,e="modelValue"),e||(e="modelValue"),Yn.call(this,this.$props,e,t)}get $slotDefault(){var e;return null!==(e=this.$props.slotDefault)&&void 0!==e?e:this.$slots.default}__initControllerProps(e){const t=Object.getPrototypeOf(this).constructor.$componentOptions,n=Object.getPrototypeOf(this).constructor.$propsDefault;let s=Object.assign({},e);for(const o in s)void 0===s[o]&&delete s[o];if(s=(null==t?void 0:t.deepExtendDefault)?Ze({},n,s):Object.assign({},n,s),this.$props){Object.assign(this.$props,s);for(const e in this.$props)s&&Object.hasOwnProperty.call(s,e)||delete this.$props[e]}else this.$props=a(s)}}}),ws=t(()=>{ns=Symbol("SymbolControllerRefDisable")}),Ms=t(()=>{St(),Ee(),Yt(),ws(),ss=Symbol("SymbolController"),os=class extends jt{get[ss](){return this.ctx.disposed&&tt(),this.bean._getBeanSyncOnly("$$c")}__get__(e){const t=this[ss];return null==t?void 0:t[e]}__set__(e,t){const n=this[ss];return!!n&&(e in n&&(n[e]=t,!0))}}}),Bs=t(()=>{Yt(),is=class extends jt{constructor(...e){super(...e),this.$params=void 0,this.$query=void 0}__initControllerData(e){this.app&&this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this)}__updateControllerData(){this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this)}}}),xs=t(()=>{Ee(),Ms(),ws(),rs=Symbol("SymbolStyle"),as=class extends os{get[rs](){return this.bean._getBeanSyncOnly("$$s")}__get__(e){const t=super.__get__(e);if(void 0!==t)return t;const n=this[rs];return null==n?void 0:n[e]}__set__(e,t){const n=super.__set__(e,t);if(n)return n;const s=this[rs];return!!s&&(e in s&&(s[e]=t,!0))}}}),Cs=t(()=>{xs(),ls=class extends as{render(){}}}),$s=t(()=>{Ms(),cs=class extends os{}}),Is=t(()=>{Ge(),us=Symbol("BeanScopeScene#ModuleScope"),ds=class extends De{constructor(e){super(),this[us]=void 0,this[us]=e}test(){return this[us]}}}),ks=t(()=>{Bt(),Ot(),Vt(),Is(),ps=Symbol("BeanScopeBase#BeanModuleError"),hs=Symbol("BeanScopeBase#BeanModuleLocale"),ms=Symbol("BeanScopeBase#BeanModuleConfig"),fs=Symbol("BeanScopeBase#BeanModuleConstant"),ys=Symbol("BeanScopeBase#BeanModuleApi"),_s=Symbol("BeanScopeBase#BeanModuleApiSchema"),vs=Symbol("BeanScopeBase#BeanModuleUtil"),gs=class extends yt{constructor(...e){super(...e),this[ps]=void 0,this[hs]=void 0,this[ms]=void 0,this[fs]=void 0,this[ys]=void 0,this[_s]=void 0,this[vs]=void 0}get module(){return this.app.meta.module.get(this[ht])}__get__(e){const t=this[ht];return"error"===e?(this[ps]||(this[ps]=this.bean._newBeanSimple(vt,!1,t)),this[ps]):"locale"===e?(this[hs]||(this[hs]=this.bean._newBeanSimple(Et,!1,t)),this[hs]):"config"===e?(this[ms]||(this[ms]=this.sys.config.modules[t]),this[ms]):"constant"===e?(this[fs]||(this[fs]=this.sys.constant.modules[t]),this[fs]):"api"===e?(this[ys]||(this[ys]={}),this[ys]):"apiSchema"===e?(this[_s]||(this[_s]={}),this[_s]):"util"===e?(this[vs]||(this[vs]=this.bean._newBeanSimple(ds,!1,t)),this[vs]):void 0}}}),Ps=t(()=>{ks(),Is()}),Os=t(()=>{en(),tn(),Yt(),Bt(),Qn(),Ss(),Ms(),Bs(),Cs(),xs(),Ge(),$s(),Qt(),Ps(),ws()});var Ns=t(()=>{ue(),le(),ne()});var Rs,As,Es,Fs=t(()=>{}),Ts=t(()=>{Rs={modules:{}}}),zs=t(()=>{E(),F()}),js=t(()=>{}),Ls=t(()=>{}),Ds=t(()=>{}),Hs=t(()=>{As=Symbol("SymbolInstalled")}),Us=t(()=>{}),qs=t(()=>{}),Ws=t(()=>{}),Gs=t(()=>{zs(),js(),Ls(),Ds(),Hs(),Us(),qs(),Ws()}),Vs=t(()=>{}),Ks=t(()=>{}),Zs=t(()=>{}),Js=t(()=>{}),Xs=t(()=>{}),Qs=t(()=>{}),Ys=t(()=>{Vs(),Ee(),Ks(),Zs(),Js(),Xs(),Qs()}),eo=t(()=>{Gs(),Ys()});function to(e){return encodeURIComponent(e)}function no(e){return decodeURIComponent(e)}function so(e){return to(e===Object(e)?JSON.stringify(e):`${e}`)}function oo(e){return""===e?e:(0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=no(e.replace(/\+/g," ")))}function io(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}var ro,ao,lo,co,uo=t(()=>{Ge(),eo(),Es=class extends De{getItem(e){const t=document,n=t.cookie?t.cookie.split("; "):[],s=n.length;let o,i,r,a=e?void 0:{},l=0;for(;l<s;l++)if(o=n[l].split("="),i=no(o.shift()),r=o.join("="),e){if(e===i){a=oo(r);break}}else Ne(a)[i]=r;return a}setItem(e,t,n){let s,o;(n=n||{}).path=n.path||"/",void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?s=n.expires.toUTCString():"string"==typeof n.expires?s=function(e){let t=0;const n=e.match(/(\d+)d/),s=e.match(/(\d+)h/),o=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),s&&(t+=36e5*s[1]),o&&(t+=6e4*o[1]),i&&(t+=1e3*i[1]),0===t?e:io(t)}(n.expires):(o=Number.parseFloat(n.expires.toString()),s=!1===Number.isNaN(o)?io(864e5*o):n.expires));const i=[`${to(e)}=${so(t)}`,void 0!==s?`; Expires=${s}`:"",n.path?`; Path=${n.path}`:"",n.domain?`; Domain=${n.domain}`:"",n.sameSite?`; SameSite=${n.sameSite}`:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?`; ${n.other}`:""].join("");document.cookie=i}removeItem(e,t){this.setItem(e,"",Object.assign({expires:-1},t))}}}),po=t(()=>{se(),Ge(),Ee(),fe(),ro=(e,t)=>{const n=t;if(n.fn)return{receiver:void 0,fn:n.fn}},ao=class extends De{constructor(...e){super(...e),this.eventHandlersMap={}}initialize(){return _e(function*(){})()}dispose(){this.eventHandlersMap={}}getEventHandlers(e){let t=this.eventHandlersMap[e];return t||(t=this.eventHandlersMap[e]=[]),t}emit(e,t,n){var s=this;return _e(function*(){const o=s.getEventHandlers(e),i="function"==typeof n?n:_e(function*(){return n});return yield T(o.concat(),ro)(t,i)})()}emitSync(e,t,n){const s=this.getEventHandlers(e),o="function"==typeof n?n:()=>n;return T(s.concat(),ro)(t,o)}on(e,t){const n=this.getEventHandlers(e);return n.push({fn:t}),()=>{const e=n.findIndex(e=>e.fn===t);e>-1&&(n[e].fn=void 0,n.splice(e,1))}}once(e,t){const n=this.on(e,(s=_e(function*(e,s){const o=yield t(e,s);return n(),o}),function(e,t){return s.apply(this,arguments)}));var s;return n}}});function ho(e){e.__closed__||(e.end(),e.__closed__=!0)}function mo(e){if(e=e||"default","production"===ko.env.META_MODE)return;const t=`LOGGER_CLIENT_${e.toUpperCase()}`,n=ko.env[t];return"false"!==n?"true"!==n&&n?n:"info":void 0}var fo=t(()=>{Oe(),Ge(),jo(),St(),lo=Symbol("SymbolLoggerInstances"),co=class extends De{constructor(...e){super(...e),this[lo]={}}dispose(){for(const e in this[lo]){ho(this[lo][e])}this[lo]={}}get(e){return e=e||"default",this[lo][e]||(this[lo][e]=this._createClient(e)),this[lo][e]}child(e,t){const n=this.get(t);return e?n.child({name:e}):n}getFilterLevel(e){return mo(e)}setFilterLevel(e,t){!function(e,t){if(t=t||"default","production"===ko.env.META_MODE)return;const n=`LOGGER_CLIENT_${t.toUpperCase()}`;ko.env[n]=e.toString()}(e,t)}_createClient(e){const t=this.sys.config.logger.clients[e];if(!t)throw new Error(`logger client not found: ${e}`);return new Ce(Ze({},this._prepareConfigClient(e,this.sys.config.logger.base),this._prepareConfigClient(e,t)))}_prepareConfigClient(e,t){return"function"!=typeof t?t:t.call(this.sys,{clientName:e,level:()=>mo(e)})}}});var yo=t(()=>{jo()});function _o(e,t){return O(()=>new Promise(n=>{ko.meta.component.use(e,t).then(e=>{n(e)})}))}var vo,go,bo,So,wo,Mo,Bo,xo,Co,$o,Io,ko,Po=t(()=>{E(),yo()}),Oo=t(()=>{E(),Ge(),Po(),fe(),vo=Symbol("SymbolZovaComponents"),go=class extends De{constructor(...e){super(...e),this[vo]={}}initialize(){return _e(function*(){})()}dispose(){}createAsyncComponent(e,t){return()=>this.use(e,t)}getZovaComponent(e,t){const n=e.includes(":")?e:`${e}:${t}`;return this[vo][n]||(this[vo][n]=h(_o(n))),this[vo][n]}use(e,t){var n=this;return _e(function*(){if(e.includes(":")){const n=e.split(":");e=n[0],t=n[1]}return(yield n.sys.meta.module.use(e)).resource.components[t]})()}}}),No=t(()=>{Ge(),fe(),bo=class extends De{constructor(...e){super(...e),this.errors=void 0}initialize(){var e=this;return _e(function*(){e.errors={}})()}dispose(){this.errors={}}}}),Ro=t(()=>{ie(),E(),Ge(),Kt(),fe(),So=Symbol("SymbolLocaleCurrent"),wo=Symbol("SymbolTzCurrent"),Mo=class extends De{constructor(...e){super(...e),this[So]=d(),this[wo]=d()}get metaCookie(){return this.app?this.app.meta.cookie:this.sys.meta.cookie}get current(){let e=this[So].value;return!e&&this.sys.config.ssr.cookie&&(e=this.metaCookie.getItem(this.sys.config.locale.storeKey)),e||(e=this.sys.config.locale.default),e}set current(e){this[So].value!==e&&(this[So].value=e,this.sys.config.ssr.cookie&&this.metaCookie.setItem(this.sys.config.locale.storeKey,e))}get tz(){let e=this[wo].value;return e||(e=this.metaCookie.getItem(this.sys.config.tz.storeKey)),e||(e=Intl.DateTimeFormat().resolvedOptions().timeZone),e}set tz(e){this[wo].value!==e&&(this[wo].value=e,this.metaCookie.setItem(this.sys.config.tz.storeKey,e))}initialize(){return _e(function*(){})()}createLocaleText(e){const t=this,n=function(n,...s){return t.getText(!1,e,void 0,n,...s)};return n.locale=function(n,s,...o){return t.getText(!1,e,n,s,...o)},n}createScopeLocaleText(e,t){const n=this,s=function(...s){return n.getText(!1,e,void 0,t,...s)};return s.locale=function(s,...o){return n.getText(!1,e,s,t,...o)},s}getText(e,t,n,s,...o){if(!s)return s;if("string"!=typeof s)throw new Error(`${s} should be string`);const i=s.indexOf("::");return i>-1&&(t=s.substring(0,i),s=s.substring(i+2)),ee(e,t?this.sys.meta.locale.localeModules[t]:void 0,this.sys.meta.locale.locales,n||this.current,s,...o)}}}),Ao=t(()=>{Ro(),fe(),Bo=class extends Mo{constructor(...e){super(...e),this.locales={},this.localeModules={}}initialize(e){var t=this;return _e(function*(){if(e)for(const n in e){const s=e[n].modules;for(const e in s)t._registerLocale(e,n,s[e])}})()}dispose(){this.locales={},this.localeModules={}}_registerLocales(e,t){if(t)for(const n in t)this._registerLocale(e,n,t[n])}_registerLocale(e,t,n){this.locales[t]=Object.assign({},n,this.locales[t]),this.localeModules[e]||(this.localeModules[e]={}),this.localeModules[e][t]=Object.assign({},n,this.localeModules[e][t])}}}),Eo=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),St(),fe(),xo=class extends De{constructor(...e){super(...e),this.modulesMeta=void 0,this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(e){var t=this;return _e(function*(){t.modulesMeta=e,yield t._loadAllMonkeysAndSyncsAndPreloads(),yield t._requireAllSpecifics("preload"),yield t._requireAllSpecifics("monkey"),yield t._requireAllSpecifics("sync")})()}dispose(){this.modulesMeta=void 0}get(e){if(!e)return;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);const n=this.modules[t.relativeName];return n&&n[As]&&n[As].state?n:void 0}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){if(!e)return!1;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);return!!this.modulesMeta.modules[t.relativeName]}_loadAllMonkeysAndSyncsAndPreloads(){var e=this;return _e(function*(){const t=[];for(const i of e.modulesMeta.moduleNames){var n,s,o;const r=e.modulesMeta.modules[i],a=r.info;((null===(n=a.capabilities)||void 0===n?void 0:n.monkey)||(null===(s=a.capabilities)||void 0===s?void 0:s.sync)||(null===(o=a.capabilities)||void 0===o?void 0:o.preload))&&"function"==typeof r.resource&&t.push(i)}yield e.loadModules(t)})()}loadModules(e){var t=this;return _e(function*(){if(0===e.length)return;const n=[],s=[];for(const i of e){const e=t.modulesMeta.modules[i];if(!e)throw new Error(`module not found: ${i}`);const o=e.resource;if("function"==typeof o){const e=o();n.push(e),s.push(i)}}const o=yield Promise.all(n);for(let e=0;e<o.length;e++){const n=s[e];t.modulesMeta.modules[n].resource=o[e]}})()}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});n.length>0&&t.sys.meta.logger.child("module","default").debug(`modules ${e}: ${n.join(",")}`);for(const e of n){const n=t.modulesMeta.modules[e];yield t._install(e,n)}})()}_requireAllOthers(){var e=this;return _e(function*(){for(const o of e.modulesMeta.moduleNames){var t,n,s;const i=e.modulesMeta.modules[o],r=i.info;(null===(t=r.capabilities)||void 0===t?void 0:t.monkey)||(null===(n=r.capabilities)||void 0===n?void 0:n.sync)||(null===(s=r.capabilities)||void 0===s?void 0:s.preload)||(yield e._install(o,i))}})()}_install(e,t){var n=this;return _e(function*(){if(n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.sys.bean._getBean(`${e}.scope.module`,!1))}const s=t;s[As]=ut.create(),n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.sys.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",s)})()}_installInner(e,t){var n=this;return _e(function*(){if("function"==typeof t.resource){const e=t.resource;t.resource=yield e()}t.resource.MainSys&&(n.mainInstances[e]=n.sys.bean._newBeanSimple(t.resource.MainSys,!1,t)),t.resource.MonkeySys&&(n.monkeyInstances[e]=n.sys.bean._newBeanSimple(t.resource.MonkeySys,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerLocales(e),t._registerErrors(e),t._registerConstants(e),yield t._registerConfig(e)})()}_registerErrors(e){e.resource.errors&&(this.sys.meta.error.errors[e.info.relativeName]=e.resource.errors)}_registerLocales(e){this.sys.meta.locale._registerLocales(e.info.relativeName,e.resource.locales)}_registerConstants(e){if(!e.resource.constants)return;const t=e.info.relativeName;this.sys.constant.modules[t]=Ze({},e.resource.constants,this.sys.constant.modules[t])}_registerConfig(e){var t=this;return _e(function*(){if(!e.resource.config)return;const n=yield e.resource.config(t.sys);yield t._monkeyModule(!0,"configLoaded",e,n);const s=e.info.relativeName;t.sys.config.modules[s]=Ze({},n,t.sys.config.modules[s]),t.sys.configOriginal.modules[s]=n})()}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield e[t](...s))}var i;yield V(o.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(void 0===n?yield i[t](...s):yield i[t](n,...s))}}),function(e){return i.apply(this,arguments)}));const r=o.sys.meta.sysMonkey;r&&r[t]&&(void 0===n?yield r[t](...s):yield r[t](n,...s))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&e[t](...s)}z(this.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}});const o=this.sys.meta.sysMonkey;o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}}}),Fo=t(()=>{Ge(),uo(),po(),fo(),Oo(),No(),Ao(),Eo(),fe(),Co=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.logger=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.sysMonkey=void 0,this.legacyRoutes=void 0}__init__(){this.module=this.bean._newBeanSimple(xo,!1),this.component=this.bean._newBeanSimple(go,!1),this.logger=this.bean._newBeanSimple(co,!1),this.locale=this.bean._newBeanSimple(Bo,!1),this.error=this.bean._newBeanSimple(bo,!1),this.event=this.bean._newBeanSimple(ao,!1),this.cookie=this.bean._newBeanSimple(Es,!1)}dispose(){this.event.dispose(),this.module.dispose(),this.component.dispose(),this.logger.dispose(),this.locale.dispose(),this.error.dispose(),this.sysMonkey=void 0,this.legacyRoutes=void 0}initialize(e,t){var n=this;return _e(function*(){e&&(n.sysMonkey=n.bean._newBeanSimple(e,!1)),n.legacyRoutes=t})()}}});function To(e,t){if(!t)return e;const n=pe({},e);for(const s of Object.keys(t))void 0!==t[s]&&(n[s]=t[s]);return n}var zo,jo=t(()=>{Qn(),Ee(),Ns(),Fs(),Ts(),Fo(),wt(),We(),St(),fe(),he(),$o=Symbol("SymbolSysInitializePromise"),Io=Symbol("SymbolSysClose"),function(e){je=e}(ko=new class{constructor(){this[$o]=void 0,this[Io]=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.config=void 0,this.configOriginal=void 0,this.env=void 0,this.constant=void 0,te(X)}initialize({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){return l[$o]||(l[$o]=l._initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a)),l[$o]})()}_initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){l[Io]=!1,l.bean=Dn.create(l,null,null),l.util=l.bean._newBeanSimple(qe,!1),l.meta=l.bean._newBeanSimple(Co,!1),l.env=l._prepareEnv(s,a),yield l.meta.initialize(i,r),yield l.meta.component.initialize(),yield l.meta.locale.initialize(t),yield l.meta.error.initialize(),l.config=yield l._combineConfig(n),l.configOriginal={modules:{}},l.constant=Rs,yield l.meta.module.initialize(e),yield l.meta.module._monkeyModule(!0,"sysInitialize"),yield l.meta.module._monkeyModule(!0,"sysInitialized"),yield l.meta.module._monkeyModule(!0,"sysReady"),l._hookClose(o)})()}_hookClose(e){if("undefined"!=typeof window){const e=()=>{this.close(),window.removeEventListener("beforeunload",e)};window.addEventListener("beforeunload",e)}}close(){this[Io]||(this[Io]=!0,this.meta.module._monkeyModuleSync(!1,"sysClose"),this.bean.dispose(),this.meta.dispose(),lt.dispose(),this[$o]=void 0)}_combineConfig(e){var t=this;return _e(function*(){const n=Ze({},{meta:{flavor:(s=t.env).META_FLAVOR,mode:s.META_MODE,appMode:s.META_APP_MODE}});var s;for(const o of e)Ze(n,yield o(t));return n})()}_prepareEnv(e,t){const n=this._prepareEnv_Runtime(e,t);return this._prepareEnv_Client(n)}_prepareEnv_Runtime(e,t){return To(e,t)}_prepareEnv_Client(e){if(!window.__INITIAL_STATE__)return e;return To(e,window.__INITIAL_STATE__.envClient)}}),window.sys=ko}),Lo=t(()=>{zo={install(e){e.mixin({created(){const e=this._.zova;e&&e.meta.component.activate()}})}}});function Do(e,t){return Ho.apply(this,arguments)}function Ho(){return(Ho=_e(function*(e,t){yield ko.initialize(t),e.use(zo),e.use(de)})).apply(this,arguments)}var Uo,qo,Wo,Go,Vo,Ko,Zo,Jo,Xo,Qo,Yo=t(()=>{ye(),jo(),Lo(),fe()}),ei=t(()=>{E(),Uo=B({name:"ClientOnly",inheritAttrs:!0,setup(e,{slots:t}){const n=d(!1);return v(()=>{n.value=!0}),()=>{var e,s;return!1===n.value?null===(e=t.placeholder)||void 0===e?void 0:e.call(t):null===(s=t.default)||void 0===s?void 0:s.call(t)}}})}),ti=t(()=>{Ge(),ws(),Ee(),qo=class extends De{constructor(...e){super(...e),this._bean_render_original=void 0}activate(){if(this.ctx.disposed)return;const e="render",t=this,n=this.ctx.instance;this._bean_render_original=n[e],n[e]=function(...e){if(n.isUnmounted)return;if(!t.ctx.meta.state.inited.state)return t._bean_render_original.call(this,...e);const s=t._getRender();return s?s.render():t._bean_render_original.call(this,...e)},n.type.ssrRender=null,n.ssrRender=null}dispose(){this.ctx.instance.render=this._bean_render_original,this._bean_render_original=null}_getRender(){var e;const t=this.bean._getBeanSyncOnly("$$c");if(t)return null===(e=t.__updateControllerData)||void 0===e||e.call(t),t.render?t:this.bean._getBeanSyncOnly("$$r")}}}),ni=t(()=>{Ge(),fe(),Wo=Symbol("SymbolHooksFns"),Go=Symbol("SymbolHooksState"),Vo=class extends De{constructor(...e){super(...e),this[Wo]={},this[Go]={}}dispose(){this[Wo]=void 0}onCreated(e){this._onHook("created",e)}onMounted(e){this._onHook("mounted",e)}_onHook(e,t){this[Go][e]?this.ctx.util.instanceScope(t):(this[Wo][e]||(this[Wo][e]=[]),this[Wo][e].push(t))}invokeHook(e){var t=this;return _e(function*(){t[Go][e]=!0;const n=t[Wo][e];if(n){t[Wo][e]=void 0;for(const e of n)yield t.ctx.util.instanceScope(e)}})()}}}),si=t(()=>{Ge(),Mt(),Ko=0,Zo=class extends De{constructor(...e){super(...e),this._id=void 0,this._inited=void 0}__init__(){this._id=++Ko,this._inited=ut.create()}get id(){return this._id}get inited(){return this._inited}}}),oi=t(()=>{Ge(),ti(),ni(),si(),Jo=class extends De{constructor(...e){super(...e),this.state=void 0,this.component=void 0,this.hooks=void 0}get el(){return this.ctx.instance.vnode.el}initialize(){this.state=this.bean._newBeanSimple(Zo,!0),this.component=this.bean._newBeanSimple(qo,!1),this.hooks=this.bean._newBeanSimple(Vo,!1)}dispose(){this.component.dispose(),this.hooks.dispose()}}}),ii=t(()=>{$(),l(),Ge(),St(),Xo=class extends De{instanceScope(e,t){this.ctx.disposed&&tt();const n=g(this.ctx.instance);t||c();try{return e()}finally{t||u(),n()}}}}),ri=t(()=>{E(),Qn(),Ee(),jo(),oi(),ii(),Qo=class{constructor(e){this.instance=void 0,this.app=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.disposed=void 0,h(this),e.zova=this,this.instance=e,this.app=e.appContext.app.zova,this.bean=Dn.create(ko,this.app,this),this.util=this.bean._newBeanSimple(Xo,!1),this.meta=this.bean._newBeanSimple(Jo,!1),this.meta.initialize(),this._zovaHostProvidersInit()}dispose(){this.disposed||(this.meta.dispose(),this.instance.zova=null,this.instance=null,this.app=null,this.bean=null,this.meta=null,this.disposed=!0)}_zovaHostProvidersInit(){let e=this.instance.zovaHostProviders;var t;e||"AsyncComponentWrapper"===(null===(t=this.instance.parent)||void 0===t?void 0:t.type.name)&&(e=this.instance.parent.zovaHostProviders);this._zovaHostProvidersUpdate_inner(e)}_zovaHostProvidersUpdate(e){A(()=>{this._zovaHostProvidersUpdate_inner(e)})}_zovaHostProvidersUpdate_inner(e){if(this.bean&&e)for(const t in e)this.bean._getBeanSyncOnly(t)!==e[t]&&this.bean._setBean(t,e[t])}}}),ai=t(()=>{ti(),ri(),oi(),si(),ii()});function li(e,t,n){ci({context:{slots:w()}},e,t,n)}function ci(e,t,n,s){return ui.apply(this,arguments)}function ui(){return ui=_e(function*(e,t,n,s){const o=new Qo(x());function i(){return(i=_e(function*(){if(!o.disposed){if(yield o.bean._newBeanInner(!0,"$$c",e,t,!0,!1),s){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$s",void 0,s,!0,!1)}if(n){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$r",void 0,n,!0,!1)}o.disposed||(o.meta.state.inited.touch(),o.util.instanceScope(()=>{b(()=>{di(o,!0),o.meta.hooks.invokeHook("mounted")})}))}})).apply(this,arguments)}o.app?o.app.meta.module._monkeyModuleSync(!0,"appContextInitialize",void 0,o):ko.meta.module._monkeyModuleSync(!0,"sysContextInitialize",void 0,o),o.app&&o.app.meta.module._monkeyModuleSync(!0,"controllerDataPrepare",void 0,e,o),R(()=>{o.disposed||(di(o,!1),o.bean!==o.app.bean&&o.bean.dispose())}),N(()=>{o.dispose()}),o.meta.hooks.onCreated(_e(function*(){if(!o.disposed)try{return yield function(){return i.apply(this,arguments)}()}catch(e){if(o.disposed)return;throw e}})),o.meta.hooks.invokeHook("created")}),ui.apply(this,arguments)}function di(e,t){var n,s;const o=null===(n=e.bean)||void 0===n?void 0:n._getBeanSyncOnly("$$c");if(!o||o[ns])return;const i=null===(s=o.ctx.instance.vnode.props)||void 0===s?void 0:s.controllerRef;i&&i(t?o:void 0)}var pi=t(()=>{E(),ws(),ai(),jo(),fe()});function hi(e,t,n){return B(()=>(ci({context:{}},e,t,n),()=>{}))}function mi(e){return Object.assign({inheritAttrs:"auto"},e)}var fi=t(()=>{E(),pi()}),yi=t(()=>{ei(),fi(),Po()});function _i(){const e=x();return null==e?void 0:e.appContext.app.zova}var vi,gi,bi,Si,wi,Mi,Bi,xi,Ci,$i,Ii,ki=t(()=>{E()}),Pi=t(()=>{E()}),Oi=t(()=>{ki(),Pi(),pi()}),Ni=t(()=>{Ge(),fe(),vi=class extends De{initialize(){return _e(function*(){})()}_registerComponents(e,t){if(t)for(const n in t){const e=t[n];this._setComponentGlobal(e)}}_setComponentGlobal(e){var t;const n=e;return e.name&&!0===(null===(t=n.meta)||void 0===t?void 0:t.global)&&(this.app.vue.component(e.name)||this.app.vue.component(e.name,e)),e}}}),Ri=t(()=>{Ht(),Wt(),fe(),gi=class extends bt{initialize(){var e=()=>super.initialize,t=this;return _e(function*(){yield e().call(t),t.app.vue.config.errorHandler=(e,n,s)=>t._handleError(e,n,s),window.addEventListener("unhandledrejection",e=>(e.preventDefault(),t._handleUnhandledError(e.reason,"unhandledrejection"),!1)),window.addEventListener("error",e=>(e.preventDefault(),t._handleUnhandledError(e.error,"unhandlederror"),!1))})()}createScopeError(e,t){const n=this;return{throw:(...s)=>n.throw(e,t,...s),parseFail:(...s)=>n.parseFail(e,t,...s)}}_handleUnhandledError(e,t){if(e instanceof Error){const n=e[Rt];n&&delete e[Rt],this.app.vue.config.errorHandler(e,null==n?void 0:n.instance,(null==n?void 0:n.info)||t)}}_handleError(e,t,n){if(!this.app)return void console.error(e);const s=this.app.meta.event.emitSync("app:errorHandler",{err:e,instance:t,info:n},e=>e.err);return s&&s instanceof Error?(n&&["useMutationData"].includes(n)||console.error(s),s):s}}}),Ai=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),fe(),bi=class extends De{constructor(...e){super(...e),this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(){var e=this;return _e(function*(){yield e._requireAllSpecifics("preload"),yield e._requireAllSpecifics("monkey"),yield e._requireAllSpecifics("sync")})()}get(e,t){if(!e)return;const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=this.modules[n.relativeName];if(s){if(s[As]&&s[As].state)return this.sys.meta.module.get(e)}else!1!==t&&this.use(n.relativeName)}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.sys.meta.module.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){return this.sys.meta.module.exists(e)}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.sys.meta.module.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.sys.meta.module.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});for(const e of n){const n=t.sys.meta.module.modulesMeta.modules[e];yield t._install(e,n)}})()}_install(e,t){var n=this;return _e(function*(){if(yield n.sys.meta.module._install(e,t),n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.app.bean._getBean(`${e}.scope.module`,!1))}const s={[As]:ut.create()};n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.app.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",t)})()}_installInner(e,t){var n=this;return _e(function*(){t.resource.Main&&(n.mainInstances[e]=n.app.bean._newBeanSimple(t.resource.Main,!1,t)),t.resource.Monkey&&(n.monkeyInstances[e]=n.app.bean._newBeanSimple(t.resource.Monkey,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerComponents(e)})()}_registerComponents(e){this.app.meta.component._registerComponents(e.info.relativeName,e.resource.components)}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield o.app.vue.runWithContext(_e(function*(){yield e[t](...s)})))}var i;yield V(o.sys.meta.module.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield i[t](...s):yield i[t](n,...s)})))}}),function(e){return i.apply(this,arguments)}));const r=o.app.meta.appMonkey;r&&r[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield r[t](...s):yield r[t](n,...s)})))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&this.app.vue.runWithContext(_e(function*(){e[t](...s)}))}z(this.sys.meta.module.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}});const o=this.app.meta.appMonkey;o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}}}),Ei=t(()=>{Ge(),Ni(),uo(),Ri(),po(),Ro(),Ai(),fe(),Si=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.text=void 0,this.appMonkey=void 0}__init__(){this.module=this.app.bean._newBeanSimple(bi,!1),this.component=this.app.bean._newBeanSimple(vi,!1),this.locale=this.app.bean._newBeanSimple(Mo,!1),this.error=this.app.bean._newBeanSimple(gi,!1),this.event=this.app.bean._newBeanSimple(ao,!1),this.cookie=this.app.bean._newBeanSimple(Es,!1),this.text=this.locale.createLocaleText()}initialize(e){var t=this;return _e(function*(){e&&(t.appMonkey=t.bean._newBeanSimple(e,!1))})()}}}),Fi=t(()=>{Ge(),Ns(),wi=class extends De{setLocaleErrors(e,t){return function(e,t,n){ce(()=>e.meta.locale.current,t,n)}(this.app,e,t)}}}),Ti=t(()=>{E(),Ee(),Ns(),jo(),Ei(),Fi(),fe(),Mi=Symbol("SymbolAppClose"),Bi=class{constructor(e,t){var n;this._reloadDelayTimer=0,this[Mi]=void 0,this.vue=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.ctx=void 0,h(this),e.zova=this,this.vue=e,this.ctx=t,this.bean=t.bean,this.bean.app=this,t.app=this,this.util=this.bean._newBeanSimple(wi,!1),this.meta=this.bean._newBeanSimple(Si,!1),t.instance.appContext.reload=()=>{this.reloadDelay()},n=this,Q((e,t)=>W((e,...t)=>n.meta.text(e,...t),e,t))}initialize({AppMonkey:e}){var t=this;return _e(function*(){ko.meta.module._monkeyModuleSync(!0,"sysApplicationInitialize",void 0,t),yield t.meta.initialize(e),yield t.meta.component.initialize(),yield t.meta.locale.initialize(),yield t.meta.error.initialize(),yield t.meta.module.initialize(),yield t.meta.module._monkeyModule(!0,"appInitialize"),yield t.meta.module._monkeyModule(!0,"appInitialized"),yield t.meta.module._monkeyModule(!0,"appReady")})()}get sys(){return ko}reload(){window.location.reload()}reloadDelay(e){e?0!==this._reloadDelayTimer&&(window.clearTimeout(this._reloadDelayTimer),this._reloadDelayTimer=0):(this.reloadDelay(!0),this._reloadDelayTimer=window.setTimeout(()=>{this.reload()},100))}throw(e,...t){return this.meta.error.throw(void 0,e,...t)}close(){this[Mi]||(this[Mi]=!0,this.meta.module._monkeyModuleSync(!1,"appClose"),this.bean.dispose(),this.ctx.dispose())}}}),zi=t(()=>{}),ji=t(()=>{Ti(),zi(),Ei()}),Li=t(()=>{Ri(),Ro(),Ai()});function Di(e){return"function"==typeof e.message&&(void 0===e.message[Ci]&&(e.message[Ci]=e.message()),e.message=e.message[Ci]),e}var Hi,Ui=t(()=>{Oe(),L(),me(),xi=["timestamp","level","stack","message","name","beanFullName","durationMs"],Ci=Symbol("SymbolLoggerMessage"),$i=$e((e,t)=>{const n="function"==typeof t.level?t.level():t.level;return!!n&&(t.strict?Ie[e.level]===Ie[n]&&Di(e):!!(Ie[e.level]<=Ie[n]||t.silly&&"silly"===e.level)&&Di(e))}),Ii=()=>ke(e=>{let{timestamp:t,level:n,stack:s,message:o,name:i,beanFullName:r,durationMs:a}=e,l=ve(e,xi);const c=[`${t} ${n}${i?` ${Pe("verbose",`[${i}]`)}`:""}${r?` ${Pe("tip",`[${r}]`)}`:""} ${o}${void 0!==a?` ${Pe("verbose",`+${a}ms`)}`:""}${s?`\n${s}`:""}`];if(!K(l)){const e={};for(const t in l)e[t]=l[t];c.push(e)}return c})}),qi=t(()=>{}),Wi=t(()=>{Ui(),fo(),qi()}),Gi=t(()=>{Oo(),Fs(),Ts(),No(),Ao(),Fo(),Fe(),Eo(),wt(),jo(),St()}),Vi=t(()=>{ji(),Li(),ai(),Wi(),Gi()}),Ki=t(()=>{Le()}),Zi=t(()=>{Le()}),Ji=t(()=>{Le()}),Xi=t(()=>{Le()}),Qi=t(()=>{Ki(),Zi(),Ji(),Xi(),Te(),Le()}),Yi=t(()=>{Qn(),ws(),Vi(),eo(),fe(),Hi={install:(e,t,{modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c})=>_e(function*(){const u=new Bi(e,t);return yield u.initialize({modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c}),u})(),update:(e,t)=>_e(function*(){const n=e.bean;n.ctx=t;for(const e in n[Ln])n[Ln][e].ctx=t;delete n[Ln].$$c,delete n[Ln].$$r,delete n[Ln].$$s,Object.assign(n[Ln],t.bean[Ln]),t.bean=n,t.app=e})()}}),er=t(()=>{Lo(),Yi()});function tr(e){return e}var nr=t(()=>{}),sr=t(()=>{}),or=t(()=>{nr(),Mt(),sr()}),ir=t(()=>{}),rr=t(()=>{}),ar=t(()=>{ir(),rr(),Hn()}),lr=t(()=>{re(),Os(),Yo(),yi(),Oi(),Vi(),Nn(),Qi(),er(),eo(),or(),ar()});export{Dt as A,Xe as B,fn as C,an as D,cn as E,lt as F,Re as G,Ke as H,Qe as I,Ne as K,Ye as L,Rt as M,dt as N,on as O,ut as P,Je as R,_n as S,pn as T,De as U,et as V,ze as W,is as _,$i as a,ts as b,mi as c,Do as d,ko as f,ls as g,cs as h,Ii as i,jt as j,nn as k,li as l,gs as m,tr as n,_i as o,_o as p,Hi as r,hi as s,lr as t,Uo as u,ss as v,dn as w,Rn as x,ns as y,Ze as z};
1
+ import{a as e,n as t}from"./rolldown-runtime-CHbrDDT0.js";import{i as n,n as s,o,r as i,t as r}from"./vue-Ds00Ozkv.js";import{_ as a,a as l,d as c,g as u,h as d,i as p,l as h,p as m,s as f,x as y}from"./vue-Dl-yK_yx.js";import{A as _,C as v,D as g,E as b,M as S,O as w,T as M,d as B,f as x,g as C,h as $,j as I,k,o as P,u as O,w as N,x as R,y as A}from"./vue-De0oSCem.js";import{n as E,t as F}from"./vue-B9pRh0Vf.js";import{A as T,G as z,H as j,J as L,M as D,N as H,Q as U,R as q,S as W,V as G,W as V,X as K,Y as Z,Z as J,_ as X,b as Q,et as Y,f as ee,g as te,h as ne,j as se,l as oe,m as ie,nt as re,u as ae,v as le,x as ce,y as ue}from"./zova-sdmNUH4m.js";import{a as de,d as pe,f as he,i as me,m as fe,o as ye,p as _e,r as ve,s as ge}from"./fecha-Dt-wbMrP.js";import{a as be,i as Se,n as we,o as Me,t as Be}from"./zova-C85f6rBG.js";import{t as xe}from"./zova-bwa4oaWV.js";import{a as Ce,c as $e,d as Ie,i as ke,l as Pe,t as Oe}from"./zova-DrRXpYkJ.js";function Ne(e){return e}var Re,Ae,Ee=t(()=>{}),Fe=t(()=>{L(),xe(),Re=new class{defineMetadata(e,t,n,s){Y(s)?Reflect.defineMetadata(e,t,n):Reflect.defineMetadata(e,t,n,s)}getOwnMetadata(e,t,n){return Y(n)?Reflect.getOwnMetadata(e,t):Reflect.getOwnMetadata(e,t,n)}getMetadata(e,t,n){return Y(n)?Reflect.getMetadata(e,t):Reflect.getMetadata(e,t,n)}getOwnMetadataArray(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?e.slice():[]}else o=[];this.defineMetadata(t,o,n,s)}return o}getOwnMetadataMap(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?Object.assign({},e):{}}else o={};this.defineMetadata(t,o,n,s)}return o}getDesignType(e,t){return this.getMetadata("design:type",e,t)}getDesignParamtypes(e,t){return this.getMetadata("design:paramtypes",e,t)}getDesignReturntype(e,t){return this.getMetadata("design:returntype",e,t)}}}),Te=t(()=>{Ae=Symbol("SymbolMappedClassMetakeys")});function ze(e,t,n){const s=Re.getOwnMetadataMap(!0,Ae,e);Object.hasOwn(s,t)||(s[t]=n)}var je,Le=t(()=>{Fe(),Te()});var De,He,Ue,qe,We=t(()=>{}),Ge=t(()=>{De=class{constructor(){this.sys=void 0,this.app=void 0,this.ctx=void 0}get bean(){return this.ctx?this.ctx.bean:this.sys.bean}}}),Ve=t(()=>{He=Array.from({length:256});for(let e=0;e<256;e++)He[e]=(e+256).toString(16).substring(1);(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})()});function Ke(...e){let t=e[0];if(!t||"object"!=typeof t)throw new Error("invalid args");f(t)||(t=m(t));for(let n=1;n<e.length;n++){const s=e[n];if(!s)continue;const o=Object.getOwnPropertyNames(s);for(const e of o){const n=Object.getOwnPropertyDescriptor(s,e);t[e]=null==n?void 0:n.value}}return t}function Ze(...e){return D(!0,...e)}function Je(e,t,n){return(0,Ue.default)(e,t,n)}function Xe(e){var t;null==e||null===(t=e.__dispose__)||void 0===t||t.call(e)}function Qe(e,t){return e.replace(":",`.${t}.`)}function Ye(e,t="px"){if(null==e||""===e)return;const n=Number(e);return Number.isNaN(n)?String(e):Number.isFinite(n)?`${n}${t}`:void 0}function et(e){return!!e&&(e.startsWith("http://")||e.startsWith("https://"))}function tt(){const e=new Error;throw e.code=600,e}var nt,st,ot,it,rt,at,lt,ct,ut,dt,pt,ht,mt,ft,yt,_t,vt,gt,bt,St=t(()=>{H(),L(),Ue=e(ge(),1),E(),Ge(),Ee(),Ve(),qe=class extends De{getAbsoluteUrlFromPagePath(e,t,n){let s=t?"":`${this.sys.env.SSR_PROD_PROTOCOL}://${this.sys.env.SSR_PROD_HOST}`;return!n&&this.sys.env.APP_PUBLIC_PATH&&(s=`${s}/${this.sys.env.APP_PUBLIC_PATH}`),`${s}${e||""}`}getPagePathFromAbsoluteUrl(e,t){let n;if(et(e)){const t=new URL(e);n=t.pathname+t.search}else n=e;if(!t&&this.sys.env.APP_PUBLIC_PATH){const e=`/${this.sys.env.APP_PUBLIC_PATH}`;n.startsWith(e)&&(n=n.substring(e.length))}return n}getApiBaseURL(e=!0){let t=this.sys.config.api.baseURL||"";return e&&(t=`${t}${this.sys.config.api.prefix||""}`),t}getOpenApiBaseURL(e){return this.sys.env[e]||this.sys.env.OPENAPI_BASE_URL_DEFAULT||this.sys.env.API_BASE_URL}getApiPath(e){return e?e=e.startsWith("//")?e.substring(1):this.sys.config.api.prefix+e:e}apiActionPathTranslate(e,t){return G(e,t)}apiActionConfigPrepare(e,t,n){const s={params:null==t?void 0:t.query,query:void 0},o={};return void 0!==(n=void 0===(null==t?void 0:t.authToken)?n:null==t?void 0:t.authToken)&&(o["a-interceptor:jwt"]={authToken:n}),(null==t?void 0:t.openapiSchema)&&(o["a-interceptor:headers"]={openapiSchema:null==t?void 0:t.openapiSchema}),K(o)||(s.interceptors=o),Ze({baseURL:e||this.getApiBaseURL(!1)},t,s)}getModuleConfigSafe(e){if(this.sys.meta.module.get(e))return this.sys.bean.scope(e).config;let t=this.sys.config.modules[e];return t||(t=this.sys.config.modules[e]={}),t}getModuleConfigOriginal(e){var t;return null!==(t=this.sys.configOriginal.modules[e])&&void 0!==t?t:{}}parseResourceApi(e,t){const n=e.split(":");return null!=t?t:q(n[0],n[1],void 0,!0,!0,this.sys.env.API_PREFIX)}}}),wt=t(()=>{L(),Be(),Le(),Ee(),Fe(),We(),St(),he(),nt=Symbol("Decorator#BeanFullName"),st=Symbol("SymbolDecoratorBeanInfo"),ot=Symbol("SymbolDecoratorProxyDisable"),it=Symbol("SymbolDecoratorPreload"),rt=Symbol("SymbolDecoratorVirtual"),at=Symbol("SymbolDecoratorUse"),lt=new class{constructor(){this.beans={},this.scenes={}}dispose(){}addUse(e,t){ze(e,at);Re.getOwnMetadataMap(!0,at,e)[t.prop]=t}getUses(e){return Re.getMetadata(at,e)}addBean(e){const{beanClass:t,options:n,optionsPrimitive:s}=e,o=Re.getOwnMetadata(rt,t),{scene:i,name:r}=this._parseSceneAndBeanName(t,e.scene,e.name),a=Re.getOwnMetadata(st,t),l=null==a?void 0:a.module;if(!l)throw new Error(`module name not parsed for bean: ${i}.${r}`);const c=`${l}.${i}.${r}`,u=this._parseModuleBelong(l,t,o),d=this._prepareOnionOptions(n,s,i,`${l}:${r}`),p=pe(pe({},e),{},{module:l,scene:i,name:r,beanFullName:c,moduleBelong:u,options:d});return this.beans[c]=p,this.scenes[i]||(this.scenes[i]={}),this.scenes[i][l]||(this.scenes[i][l]={}),this.scenes[i][l][c]=p,Re.defineMetadata(nt,c,p.beanClass),p}getBeanFullName(e){return e&&"function"==typeof e&&Z(e)?Re.getOwnMetadata(nt,e):e}getBean(e){const t=this.getBeanFullName(e);return t?this.beans[t]:null}_parseSceneAndBeanName(e,t,n){if(t&&n)return{scene:t,name:n};let s=e.name;return s.toLowerCase().startsWith("bean")&&(s=s.substring(4)),n||(n=t?be(s,t,!0):we(s,!0)),t||(t=Se(s,n,!0),t=Me(t,!0,".")),{scene:t,name:n}}_parseModuleBelong(e,t,n){if(!n)return e;let s,o=Object.getPrototypeOf(t);for(;o;){const e=this.getBean(o);if(e&&e.moduleBelong){s=e.moduleBelong;break}o=Object.getPrototypeOf(o)}return s}_getModuleBelong(e){const t=this.getBean(e);return null==t?void 0:t.moduleBelong}_getModuleName(e){const t=this.getBean(e);return null==t?void 0:t.module}_prepareOnionOptions(e,t,n,s){var o;const i=null===(o=je.config.onions[n])||void 0===o?void 0:o[s];return t?void 0===i?e:i:Ze({},e,i)}}}),Mt=t(()=>{E(),fe(),ct=Symbol("SymbolWaitPromise"),ut=class StateLock{static create(){return m(new StateLock)}constructor(){this._state=void 0,this._resolve=void 0,this._state=!1}get state(){return this._state}touch(){!0!==this._state&&(this._state=!0,this._resolve&&(this._resolve.call(void 0,null),this._resolve=void 0))}wait(){var e=this;return _e(function*(){return e[ct]||(e[ct]=e._waitInner()),e[ct]})()}_waitInner(){var e=this;return _e(function*(){return new Promise(t=>{if(e.state)return t(null);e._resolve=t})})()}}}),Bt=t(()=>{wt(),Mt(),Ge(),dt=Symbol("SymbolBeanFullName"),pt=Symbol("SymbolBeanInstanceKey"),ht=Symbol("SymbolModuleBelong"),mt=Symbol("SymbolModuleName"),ft=Symbol("SymbolInited"),yt=class extends De{constructor(){super(),this[dt]=void 0,this[pt]=void 0,this[ft]=void 0,this[ft]=ut.create()}get[ht](){const e=lt._getModuleBelong(this[dt]);if(!e)throw new Error(`not found module belong: ${this[dt]}`);return e}get[mt](){const e=lt._getModuleName(this[dt]);if(!e)throw new Error(`not found module name: ${this[dt]}`);return e}get $beanFullName(){return this[dt]}get $beanInstanceKey(){return this[pt]}get $beanOptions(){return lt.getBean(this[dt]||this.constructor)}get $onionName(){const e=this.$beanFullName.split(".");return`${e[0]}:${e[2]}`}get $onionOptions(){return this.$beanOptions.options}}}),xt=t(()=>{}),Ct=t(()=>{xt()}),$t=t(()=>{}),It=t(()=>{$t()}),kt=t(()=>{}),Pt=t(()=>{kt()}),Ot=t(()=>{Ge(),_t=Symbol("BeanScopeError#ModuleScope"),vt=class extends De{constructor(e){super(),this[_t]=void 0,this.__instances={},this[_t]=e}__get__(e){return this.__instances[e]||(this.__instances[e]=this.app.meta.error.createScopeError(this[_t],e)),this.__instances[e]}}}),Nt=t(()=>{gt={0:"Success",1:"Unknown Error",100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required",600:"Component Unmounted"}});var Rt,At,Et,Ft,Tt,zt,jt,Lt,Dt,Ht=t(()=>{Ge(),Nt(),fe(),bt=class extends De{initialize(){return _e(function*(){})()}throw(e,t,...n){const s=this.parseFail(e,t,...n),o=new Error;throw o.code=s.code,o.message=s.message,s.code<500&&(o.status=s.code),o}parseFail(e,t,...n){return"object"==typeof t?t:this.parseCode(e,1,t,...n)}parseCode(e,t,n,...s){const o=this.sys.meta.error.errors[e];let i,r;return"string"==typeof n&&/^\d+$/.test(n)&&(n=Number(n)),n&&"string"==typeof n&&(i=n,n=o[n]),null!=n&&""!==n||(n=t),r=n<=1e3?this.app.meta.locale.getText(!0,void 0,void 0,gt[n],...s):this.app.meta.locale.getText(!1,e,void 0,i||n,...s),n=function(e,t){return"number"!=typeof t||t<=1e3?t:e?`${e}:${t}`:t}(e,n),{code:n,message:r}}}}),Ut=t(()=>{}),qt=t(()=>{}),Wt=t(()=>{Rt=Symbol("SymbolErrorInstanceInfo")}),Gt=t(()=>{Ot(),Ht(),Ut(),Nt(),qt(),Wt()}),Vt=t(()=>{Ge(),At=Symbol("BeanScopeLocale#ModuleScope"),Et=class extends De{constructor(e){super(),this[At]=void 0,this.__instances={},this[At]=e}__get__(e){if(!this.__instances[e]){const t=this.app?this.app.meta.locale:this.sys.meta.locale;this.__instances[e]=t.createScopeLocaleText(this[At],e)}return this.__instances[e]}}}),Kt=t(()=>{}),Zt=t(()=>{Vt(),Kt()}),Jt=t(()=>{}),Xt=t(()=>{Jt()}),Qt=t(()=>{Ct(),It(),Pt(),Gt(),Zt(),Xt()}),Yt=t(()=>{E(),Ee(),Bt(),Qt(),fe(),Ft=Symbol("SymbolText"),Tt=Symbol("SymbolLogger"),zt=Symbol("SymbolLoggerChildren"),jt=class extends yt{constructor(...e){super(...e),this[Ft]=void 0,this[Tt]={},this[zt]={}}get $el(){if(!this.ctx)throw new Error("$el can not be used inside global bean.");return this.ctx.meta.el}get $text(){return this[Ft]||(this[Ft]=this.app.meta.locale.createLocaleText(this[ht])),this[Ft]}get $logger(){return this.$loggerClient("default")}$loggerClient(e){return this[Tt][e]||(this[Tt][e]=this.sys.meta.logger.get(e).child({beanFullName:this.$beanFullName})),this[Tt][e]}$loggerChild(e,t="default"){return this[zt][t]||(this[zt][t]={}),this[zt][t][e]||(this[zt][t][e]=this.sys.meta.logger.get(t).child({beanFullName:this.$beanFullName,name:e})),this[zt][t][e]}get $event(){return this.app.meta.event}get scope(){return this.bean.scope(this[ht])}$renderFreeze(e){return this.ctx.instance.ctx.renderFreeze(e)}$renderFreezeScope(e){var t=this;return _e(function*(){if(!t.ctx.disposed)return yield t.ctx.instance.ctx.renderFreezeScope(e)})()}$errorHandler(e,t){var n;return e instanceof Error&&e[Rt]&&delete e[Rt],null===(n=this.app)||void 0===n?void 0:n.vue.config.errorHandler(e,this.ctx.instance,t)}$computed(e,t){return this.ctx.util.instanceScope(()=>P(e,t))}$composable(e){return this.ctx.util.instanceScope(()=>e())}$watchEffect(e,t){return this.ctx.util.instanceScope(()=>_(e,t))}$watchPostEffect(e,t){return this.ctx.util.instanceScope(()=>I(e,t))}$watchSyncEffect(e,t){return this.ctx.util.instanceScope(()=>S(e,t))}$watch(e,t,n){return this.ctx.util.instanceScope(()=>k(e,t,n))}$controllerCreated(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onCreated(e))}$controllerMounted(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onMounted(e))}$customRef(e){return p(e)}$toRef(e,t,n){return y(e,t,n)}$zovaComponent(e,t){return this.sys.meta.component.getZovaComponent(e,t)}}}),en=t(()=>{Yt(),Lt=class extends jt{}}),tn=t(()=>{Yt(),Dt=class extends jt{}});function nn(e){return function(t){Re.defineMetadata(st,e,t)}}var sn=t(()=>{Fe(),wt()});function on(e,t,n,s,o,i){return function(r){const a="scope"===e?"module":void 0;lt.addBean({scene:e,name:a,containerScope:t,markReactive:n,beanClass:r,options:s,optionsPrimitive:o}),i&&i(r)}}var rn=t(()=>{wt()});function an(){return function(e){Re.defineMetadata(it,!0,e)}}var ln=t(()=>{Fe(),wt()});function cn(){return function(e){Re.defineMetadata(ot,!0,e)}}var un=t(()=>{Fe(),wt()});function dn(e){return function(t,n,s){e||(e={}),"string"==typeof e&&(e={beanFullName:e});const o=Re.getDesignType(t,n);lt.addUse(t,pe(pe({},e),{},{prop:n,beanClass:o,descriptor:s}))}}function pn(e,t,n){return{withSelector:t,markReactive:n,args:[e]}}function hn(e,t){var n;let s=function(e,t){var n,s,o;const i=null===(n=t.descriptor)||void 0===n?void 0:n.get;if(!i)return;const r=i.call(e);if(!r)return;const a=null!==(s=r.withSelector)&&void 0!==s&&s,l=null===(o=r.markReactive)||void 0===o||o;return{withSelector:a,args:r.args.map((e,t)=>"function"==typeof e?l&&(!a||t>0)?y(e):e():e)}}(e,t);return s||(s=function(e,t){var n,s,o;const i=t.init;if(!i)return;const r=null!==(n=i.withSelector)&&void 0!==n&&n,a=null===(s=i.markReactive)||void 0===s||s,l=null!==(o=i.args)&&void 0!==o?o:[i.arg];if(!l)return;return{withSelector:r,args:l.map((t,n)=>function(e,t,n){const s={self:e,sys:e.sys,app:e.app,ctx:e.ctx};return n&&j(t,s,void 0,!0)?y(()=>j(t,s)):j(t,s)}(e,t,a&&(!r||n>0)))}}(e,t)),s||U(t.selector)?null!==(n=s)&&void 0!==n?n:{withSelector:!1,args:[]}:{withSelector:!0,args:[j(t.selector,{self:e,sys:e.sys,app:e.app,ctx:e.ctx})]}}var mn=t(()=>{L(),E(),Fe(),wt(),he()});function fn(e){return function(t,n){if(!e)throw new Error("should specify the module name");"string"==typeof e&&(e={module:e});const s=`${e.module}.scope.module`;lt.addUse(t,pe(pe({},e),{},{prop:n,beanFullName:s}))}}var yn=t(()=>{wt(),he()});function _n(){return function(e){Re.defineMetadata(rt,!0,e)}}var vn=t(()=>{Fe(),wt()}),gn=t(()=>{sn(),rn(),ln(),un(),mn(),yn(),vn()}),bn=t(()=>{}),Sn=t(()=>{}),wn=t(()=>{bn(),Sn()}),Mn=t(()=>{}),Bn=t(()=>{}),xn=t(()=>{}),Cn=t(()=>{}),$n=t(()=>{Mn(),Bn(),xn(),Cn()}),In=t(()=>{}),kn=t(()=>{Fe()}),Pn=t(()=>{}),On=t(()=>{kn(),Pn(),In()}),Nn=t(()=>{gn(),wn(),$n(),On()});function Rn(e,t){return P(e,t)}var An,En,Fn,Tn,zn,jn,Ln,Dn,Hn=t(()=>{E()});function Un(e,t){const[n,s]=t;if(n!==En)return{receiver:void 0,fn:s}}function qn([e,t],n){return(...s)=>(t=0===s.length?t:s[0],n([e,t]))}function Wn(e){return!e||!e.dynamic&&!e.ofBeanBase}function Gn(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return n?{descriptor:n,dynamic:!0}:function(e,t){let n=Object.getPrototypeOf(e),s=!1;for(;n;){n.constructor.name===jt.name&&(s=!0);const e=Object.getOwnPropertyDescriptor(n,t);if(e)return{descriptor:e,dynamic:!1,ofBeanBase:s};n=Object.getPrototypeOf(n)}return null}(e,t)}function Vn(e,t,n,s){n&&"object"==typeof n&&s&&(n.__v_isShallow_patch=!0),Object.defineProperty(e,t,{enumerable:!1,configurable:!0,get:()=>n}),n&&"object"==typeof n&&s&&delete n.__v_isShallow_patch}function Kn(e){return!!e.__get__||!!e.__set__}function Zn(e){return["__get__","__set__","then","__v_skip","__v_isReactive","__v_isReadonly","__v_isShallow","__v_raw","__v_isRef","__v_isVNode","__v_cache","__v_isShallow_patch"].includes(e)}function Jn(e){return["__init__","__dispose__"].includes(e)}function Xn(e,t,n){return t?U(n)?e:`${e}#${n}`:e}var Qn=t(()=>{se(),L(),E(),Fe(),wt(),Nn(),Ee(),Hn(),en(),Yt(),Bt(),Ge(),he(),fe(),An=Symbol("SymbolBeanContainerParent"),En=Symbol("SymbolProxyMagic"),Fn=Symbol("SymbolProxyAopMethod"),Tn=Symbol("SymbolCacheAopChains"),zn=Symbol("SymbolCacheAopChainsKey"),jn=Symbol("SymbolGetBeanSelectorInnerPromises"),Ln=Symbol("SymbolBeanContainerInstances"),Dn=class BeanContainer{static create(e,t,n){const s=new BeanContainer(e,t,n);return h(new Proxy(s,{get:(e,t)=>"symbol"==typeof t||e[t]?e[t]:e._getBeanSyncOnly(t)}))}constructor(e,t,n){this.sys=void 0,this.app=void 0,this.ctx=void 0,this[Ln]=a({}),this[jn]={},this.sys=e,this.app=t,this.ctx=n}dispose(){const e=this[Ln];for(const t in e){if(t.startsWith("$$"))continue;const n=Ne(e[t]);!n||n instanceof Lt||!n.__dispose__||("sys"===this.containerType?(this.sys.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),n.__dispose__(),this.sys.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)):(this.app.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),this.runWithInstanceScopeOrAppContext(()=>{n.__dispose__()}),this.app.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)))}this[Ln]=a({}),this[An]=void 0,this[jn]={}}get containerType(){return this.ctx?this.app&&this.ctx.bean!==this.app.bean?"ctx":"app":"sys"}get parent(){return void 0===this[An]&&(this[An]=this._getParent()),this[An]}_getParent(){var e;if("sys"===this.containerType)return null;let t=null===(e=this.ctx)||void 0===e||null===(e=e.instance)||void 0===e?void 0:e.parent;for(;t;){var n;const e=null===(n=t.zova)||void 0===n?void 0:n.bean;if(e)return e;t=t.parent}return this.sys.bean}runWithInstanceScopeOrAppContext(e,t){return"sys"===this.containerType?e():this.ctx?this.ctx.util.instanceScope(e,t):this.app.vue.runWithContext(e)}provide(e,t){return this.ctx.util.instanceScope(()=>M(e,t))}inject(e,t,n){return this.ctx.util.instanceScope(()=>C(e,t,n))}defineProperty(e,t,n){const s=this,o=pe({},n);return n.get&&(o.get=function(){const o=`__innerKey_${t}`;return e[o]||s.runWithInstanceScopeOrAppContext(()=>{Vn(e,o,n.get(),!0)}),e[o]}),Object.defineProperty(e,t,o)}scope(e){return"ctx"===this.containerType?this.app.bean.scope(e):this._getBeanSyncOnly(`${e}.scope.module`)}getScope(e){var t=this;return _e(function*(){return"ctx"===t.containerType?yield t.app.bean.getScope(e):(yield t._useModule(e),t.scope(e))})()}_setBean(e,t){this[Ln][e]=t}_getBeanSync(e,t,n){const s=this[Ln][e];if(void 0!==s){if(!s||!s[ft]||s[ft].state)return s}else!1!==n&&this._getBean(e,t)}_getBeanSyncOnly(e){return this[Ln][e]}_getBean(e,t,...n){var s=this;return _e(function*(){return yield s._getBeanSelectorInner(!0,null,e,t,!1,...n)})()}_getBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._getBeanSelectorInner(!0,null,e,t,!0,n,...s)})()}_getBeanSelectorInnerSync(e,t){const n=this._getBeanFullNameByComposableOrClassSync(e);if(!n)return null;const s=Xn(n,!0,t);return this[Ln][s]}_getBeanSelectorInner(e,t,n,s,o,...i){var r=this;return _e(function*(){const a=yield r._getBeanFullNameByComposableOrClass(n);if(!a)return null;const l=Xn(a,o,i[0]);return void 0===r[Ln][l]&&e&&(r[jn][l]||(r[jn][l]=r._getBeanSelectorInnerPromise(t,a,s,o,...i)),yield r[jn][l]),r[Ln][l]&&r[jn][l]&&(yield r[jn][l],r[jn][l]=void 0),r[Ln][l]})()}_getBeanSelectorInnerPromise(e,t,n,s,...o){var i=this;return _e(function*(){return yield i._newBeanInner(!0,e,null,t,n,s,...o)})()}_newBeanSimple(e,t,...n){const s=this._prepareBeanInstanceSimple(e,e,n,t);return s instanceof Lt||!s.__init__||s.__init__(...n),s}_newBean(e,t,...n){var s=this;return _e(function*(){return yield s._newBeanInner(!1,null,null,e,t,!1,...n)})()}_newBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._newBean(e,t,n,...s)})()}_newBeanInner(e,t,n,s,o,i,...r){var a=this;return _e(function*(){var l;const c=yield a._getBeanOptionsForce(s);return c?yield a._createBeanInstance(e,t,n,c.beanFullName,c.beanClass,r,"aop"===c.scene,null===(l=null!=o?o:c.markReactive)||void 0===l||l,i):"function"==typeof s&&Z(s)?yield a._createBeanInstance(e,t,n,void 0,s,r,!1,o,i):null})()}_getBeanFullNameByComposableOrClassSync(e){const t=this._getBeanOptionsForceSync(e);if(t)return t.beanFullName}_getBeanFullNameByComposableOrClass(e){var t=this;return _e(function*(){if(!e)return;const n=yield t._getBeanOptionsForce(e);return n?n.beanFullName:void 0})()}_getBeanOptionsForceSync(e){return lt.getBean(e)}_getBeanOptionsForce(e){var t=this;return _e(function*(){if("function"==typeof e&&Z(e))return lt.getBean(e);const n=e.split(".");return yield t._useModule(n[0]),lt.getBean(e)})()}_createBeanInstance(e,t,n,s,o,i,r,a,l){var c=this;return _e(function*(){const u=yield c._prepareBeanInstance(s,o,i,a,r);if(n&&u.__initControllerData(n),e){const e=yield c._getBeanFullNameByComposableOrClass(s);if(e){const t=Xn(e,l,i[0]);Vn(u,pt,t,!1),c[Ln][t]=u}t&&c.__recordProp(t,e,u,!0)}return yield c._initBeanInstance(s,u,i),u})()}_prepareBeanInstance(e,t,n,s,o){var i=this;return _e(function*(){let r=i._prepareBeanInstanceCommon(e,t,n,s);const a=yield i._patchBeanInstance(e||t,r,o);return a&&(r=s?m(a):h(a)),r})()}_prepareBeanInstanceSimple(e,t,n,s){let o=this._prepareBeanInstanceCommon(e,t,n,s);const i=this._patchBeanInstanceSimple(e||t,o);return i&&(o=s?m(i):h(i)),o}_prepareBeanInstanceCommon(e,t,n,s){let o=new t(...n);return o instanceof De&&(o.sys=this.sys,Object.defineProperty(o,"app",{enumerable:!1,configurable:!0,get:()=>{var e;return null===(e=this.ctx)||void 0===e?void 0:e.app}}),o.ctx=this.ctx),"string"==typeof e&&Vn(o,dt,e,!1),o=s?m(o):h(o),o}_initBeanInstance(e,t,n){var s=this;return _e(function*(){var o,i;(yield s._injectBeanInstance(t,e),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInit",void 0,s,t):yield null===(o=s.app)||void 0===o?void 0:o.meta.module._monkeyModule(!0,"beanInit",void 0,s,t);(t instanceof Lt||!t.__init__||(yield s.runWithInstanceScopeOrAppContext(_e(function*(){yield t.__init__(...n)}))),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInited",void 0,s,t):yield null===(i=s.app)||void 0===i?void 0:i.meta.module._monkeyModule(!0,"beanInited",void 0,s,t);return t[ft]&&t[ft].touch(),t})()}_injectBeanInstance(e,t){var n=this;return _e(function*(){const s=lt.getBean(t);if(!s)return;const o=lt.getUses(s.beanClass.prototype);if(o)for(const t in o){const s=o[t];let i=s.beanFullName;if(!i&&s.beanClass&&(i=lt.getBeanFullName(s.beanClass)),s.injectionScope&&["host","skipSelf"].includes(s.injectionScope)){const o=hn(e,s),r=o.withSelector?Object.assign({},s,{selector:o.args[0]}):s;Vn(e,t,Rn(()=>n._getBeanFromHostInner(!1,s.prop,i,r)),!0);continue}Vn(e,t,yield n._injectBeanInstanceProp(e,i,s),!0)}})()}_injectBeanInstanceProp(e,t,n){var s=this;return _e(function*(){var o,i,r,a;if(n.name)return s[Ln][n.name];if(!t)return s[Ln][n.prop];let l;if(t&&(l=yield s._getBeanOptionsForce(t),!l))throw new Error(`not found bean class: ${t}`);let c=null!==(o=null!==(i=n.injectionScope)&&void 0!==i?i:l.containerScope)&&void 0!==o?o:"ctx";"scope"!==(null==l?void 0:l.scene)||s.app||(c="sys");const u=null===(r=null!==(a=n.markReactive)&&void 0!==a?a:l.markReactive)||void 0===r||r,d=hn(e,n),p=n.prop;let h;return"sys"===c?(h=yield s.sys.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"app"===c?(h=yield s.app.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"ctx"===c?h=yield s._getBeanSelectorInner(!0,p,t,u,d.withSelector,...d.args):"new"===c&&(h=yield s._newBeanInner(!1,null,null,t,u,d.withSelector,...d.args)),h})()}_getBeanFromHost(e,t){return"string"!=typeof e&&(t=e,e=void 0),t||(t={}),this._getBeanFromHostInner(!1,void 0,e,t)}_getBeanFromHostInner(e,t,n,s){let o;for(s.injectionScope&&"host"!==s.injectionScope?"skipSelf"===s.injectionScope&&(o=this.parent):o=this;;){if(!o)return null;const i=this._getBeanFromHostInner2(t,o,n,s);if(void 0!==i)return e&&this.__recordProp(t,void 0,i,!1),i;o=o.parent}}_getBeanFromHostInner2(e,t,n,s){return s.name?t[Ln][s.name]:n?t._getBeanSelectorInnerSync(n,s.selector):t[Ln][e]}_injectBeanInstanceProp_appBean(e,t,n){var s=this;return _e(function*(){void 0!==n&&s.ctx&&(s.__recordProp(e,void 0,n,!1),n&&(yield n[ft].wait()))})()}_patchBeanInstance(e,t,n){var s=this;return _e(function*(){if(e&&!n&&0!==(yield s._prepareAopChains(e,t)).length)return s._newBeanProxy(e,t)})()}_patchBeanInstanceSimple(e,t){if(e&&0!==this._prepareAopChainsSimple(e,t).length)return this._newBeanProxy(e,t)}_newBeanProxy(e,t){const n=this;return new Proxy(t,{get(t,s,o){if("symbol"==typeof s)return Reflect.get(t,s,o);if(Zn(s))return"__v_isShallow"===s&&t.__v_isShallow_patch?Reflect.get(t,"__v_isShallow_patch",o):Reflect.get(t,s,o);const i=Gn(t,s);if(!Wn(i))return Reflect.get(t,s,o);if(!function(e){var t;if(!e)return null;const{descriptor:n,dynamic:s}=e;if(s)return null;if(n.get)return null;const o=null===(t=n.value)||void 0===t||null===(t=t.constructor)||void 0===t?void 0:t.name;return["Function","AsyncFunction"].includes(o)?o:null}(i)){if(Jn(s))return Reflect.get(t,s,o);const r=`__get_${s}__`,a=n._getAopChainsProp(e,r,"__get__","get",s);return a?a([o,void 0],([e,n])=>!i&&t.__get__?Reflect.apply(t.__get__,e,[s,t]):Reflect.get(t,s,e)):Reflect.get(t,s,o)}return n._getInstanceMethodProxy(e,t,s,o)},set(t,s,o,i){if("symbol"==typeof s)return Reflect.set(t,s,o,i),!0;if(Zn(s))return Reflect.set(t,s,o,i),!0;const r=Gn(t,s);if(!Wn(r))return Reflect.set(t,s,o,i),!0;const a=`__set_${s}__`,l=n._getAopChainsProp(e,a,"__set__","set",s);return l?l([i,o],([e,n])=>{if(!r&&t.__set__){const o=Reflect.apply(t.__set__,e,[s,n,t]);if(void 0===o)throw new Error("__set__ must return true/false");o||Reflect.set(t,s,n,e)}else Reflect.set(t,s,n,e);return!0}):(Reflect.set(t,s,o,i),!0)}})}_getInstanceMethodProxy(e,t,n,s){if(Zn(n))return Reflect.get(t,n,s);const o=this._getAopChainsProp(e,n,"__method__","method",n);if(!o)return Reflect.get(t,n,s);const i=`__aopproxy_method_${n}__`;if(t[i])return t[i];const r=new Proxy(t[n],{apply:(e,t,n)=>o([t,n],([t,n])=>Reflect.apply(e,t,n))});return Vn(t,i,r,!1),r}_prepareAopChains(e,t){var n=this;return _e(function*(){if(!e)return[];const s=lt.getBean(e),o=(null==s?void 0:s.beanFullName)||e,i=!!(null==s?void 0:s.beanClass)&&Re.getMetadata(ot,null==s?void 0:s.beanClass),r=n._aopCacheHost();if(r[Tn]||(r[Tn]={}),r[Tn][o])return r[Tn][o];let a=[];if(!i&&s&&"aop"!==s.scene){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopsMatched(s.beanFullName);if(e){const t=[];for(const s of e)t.push(yield n.sys.bean._getBean(s.beanFullName,!0));a=a.concat(t)}}if(!i&&s){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopMethodsMatched(null==s?void 0:s.beanFullName);e&&a.push([Fn,e])}return Kn(t)&&a.push(En),r[Tn][o]=a,a})()}_prepareAopChainsSimple(e,t){if(!e)return[];const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e,o=this._aopCacheHost();if(o[Tn]||(o[Tn]={}),o[Tn][s])return o[Tn][s];const i=[];return Kn(t)&&i.push(En),o[Tn][s]=i,i}_getAopChains(e){var t;const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e;return(null===(t=this._aopCacheHost()[Tn])||void 0===t?void 0:t[s])||[]}_aopCacheHost(){return this.sys}_getAopChainsProp(e,t,n,s,o){const i=`__aopChains_${t}__`,r=lt.getBean(e),a=(null==r?void 0:r.beanFullName)||e,l=this._aopCacheHost();if(l[zn]||(l[zn]={}),l[zn][a]||(l[zn][a]={}),void 0!==l[zn][a][i])return l[zn][a][i];const c=this._getAopChains(e),u=[];for(const p of c)if(p===En)Jn(t)||u.push([p,t]);else if(Array.isArray(p)&&p[0]===Fn)this._getAopChainsProp_aopMethods(u,p,p[1],s,o);else{const e=p;if(e[t]){let n;"get"===s?n=function([n,s],o){return e[t](qn([n,s],o),n)}:"set"===s?n=function([n,s],o){return e[t](s,qn([n,s],o),n)}:"method"===s&&(n=function([n,s],o){return e[t](s,qn([n,s],o),n)}),u.push([p,n])}if(n&&e[n]&&!Jn(t)){let t;"get"===s?t=function([t,s],i){return e[n](o,qn([t,s],i),t)}:"set"===s?t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}:"method"===s&&(t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}),u.push([p,t])}}let d;return d=0===u.length?null:function(e){return T(e,Un)}(u),l[zn][a][i]=d,d}_getAopChainsProp_aopMethods(e,t,n,s,o){const i=n[o];if(i)for(const r of i){let n;"get"===s?n=function([e,t],n){if(!r.beanInstance.get)throw new Error(`get property accessor not exists: ${r.onionName}`);return r.beanInstance.get(r.options,qn([e,t],n),e,o)}:"set"===s?n=function([e,t],n){if(!r.beanInstance.set)throw new Error(`set property accessor not exists: ${r.onionName}`);return r.beanInstance.set(r.options,t,qn([e,t],n),e,o)}:"method"===s&&(n=function([e,t],n){if(!r.beanInstance.execute)throw new Error(`execute method not exists: ${r.onionName}`);return r.beanInstance.execute(r.options,t,qn([e,t],n),e,o)}),e.push([t,n])}}__recordProp(e,t,n,s){if(void 0!==this[Ln][e]&&s)throw new Error(`prop exsits: ${e.toString()}, ${t}`);void 0===this[Ln][e]&&(this[Ln][e]=n)}_useModule(e){var t=this;return _e(function*(){"sys"===t.containerType?yield t.sys.meta.module.use(e):yield t.app.meta.module.use(e)})()}}});function Yn(e,t,o=r){const a=x();if(!a)throw new Error("useModel() called without active instance.");const l=typeof Object.getPrototypeOf(this).constructor.$propsDefault[t],c=s(t),u=function(e,t){return"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${s(t)}Modifiers`]||e[`${n(t)}Modifiers`]}(e,c),d=p((n,s)=>{let u,d,p=r;return S(()=>{const t=e[c];i(u,t)&&(u=t,s())}),{get:()=>(n(),es(l,o.get?o.get(u):u)),set(e){var n;const c=es(l,o.set?o.set(e):e);if(!(i(c,u)||p!==r&&i(e,p)))return;u=e,s();const h=a.vnode.props;null==h||null===(n=h[`onUpdate:${t}`])||void 0===n||n.call(h,c),i(e,c)&&i(e,p)&&!i(c,d)&&s(),p=e,d=c}}});return d[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?u||r:d,done:!1}:{done:!0}}},d}function es(e,t){if(["undefined","null"].includes(e))return t;if(J(t))return t;if(typeof t===e)return t;let n;return n="number"===e?Number.isNaN(Number(t))?t:Number(t):"boolean"===e?"false"!==t&&"0"!==t&&Boolean(t):"string"===e?String(t):t,n}var ts,ns,ss,os,is,rs,as,ls,cs,us,ds,ps,hs,ms,fs,ys,_s,vs,gs,bs=t(()=>{L(),l(),o(),E()}),Ss=t(()=>{E(),St(),Ee(),bs(),Yt(),ts=class extends jt{constructor(...e){super(...e),this.$props=void 0,this.$slots=void 0}__initControllerData(e){this.ctx.disposed||(this.$slots=e.context.slots,this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this))}__updateControllerData(){this.ctx.disposed||(this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this))}$useModel(e,t){return"object"==typeof e&&(t=e,e="modelValue"),e||(e="modelValue"),Yn.call(this,this.$props,e,t)}get $slotDefault(){var e;return null!==(e=this.$props.slotDefault)&&void 0!==e?e:this.$slots.default}__initControllerProps(e){const t=Object.getPrototypeOf(this).constructor.$componentOptions,n=Object.getPrototypeOf(this).constructor.$propsDefault;let s=Object.assign({},e);for(const o in s)void 0===s[o]&&delete s[o];if(s=(null==t?void 0:t.deepExtendDefault)?Ze({},n,s):Object.assign({},n,s),this.$props){Object.assign(this.$props,s);for(const e in this.$props)s&&Object.hasOwnProperty.call(s,e)||delete this.$props[e]}else this.$props=a(s)}}}),ws=t(()=>{ns=Symbol("SymbolControllerRefDisable")}),Ms=t(()=>{St(),Ee(),Yt(),ws(),ss=Symbol("SymbolController"),os=class extends jt{get[ss](){return this.ctx.disposed&&tt(),this.bean._getBeanSyncOnly("$$c")}__get__(e){const t=this[ss];return null==t?void 0:t[e]}__set__(e,t){const n=this[ss];return!!n&&(e in n&&(n[e]=t,!0))}}}),Bs=t(()=>{Yt(),is=class extends jt{constructor(...e){super(...e),this.$params=void 0,this.$query=void 0}__initControllerData(e){this.app&&this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this)}__updateControllerData(){this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this)}}}),xs=t(()=>{Ee(),Ms(),ws(),rs=Symbol("SymbolStyle"),as=class extends os{get[rs](){return this.bean._getBeanSyncOnly("$$s")}__get__(e){const t=super.__get__(e);if(void 0!==t)return t;const n=this[rs];return null==n?void 0:n[e]}__set__(e,t){const n=super.__set__(e,t);if(n)return n;const s=this[rs];return!!s&&(e in s&&(s[e]=t,!0))}}}),Cs=t(()=>{xs(),ls=class extends as{render(){}}}),$s=t(()=>{Ms(),cs=class extends os{}}),Is=t(()=>{Ge(),us=Symbol("BeanScopeScene#ModuleScope"),ds=class extends De{constructor(e){super(),this[us]=void 0,this[us]=e}test(){return this[us]}}}),ks=t(()=>{Bt(),Ot(),Vt(),Is(),ps=Symbol("BeanScopeBase#BeanModuleError"),hs=Symbol("BeanScopeBase#BeanModuleLocale"),ms=Symbol("BeanScopeBase#BeanModuleConfig"),fs=Symbol("BeanScopeBase#BeanModuleConstant"),ys=Symbol("BeanScopeBase#BeanModuleApi"),_s=Symbol("BeanScopeBase#BeanModuleApiSchema"),vs=Symbol("BeanScopeBase#BeanModuleUtil"),gs=class extends yt{constructor(...e){super(...e),this[ps]=void 0,this[hs]=void 0,this[ms]=void 0,this[fs]=void 0,this[ys]=void 0,this[_s]=void 0,this[vs]=void 0}get module(){return this.app.meta.module.get(this[ht])}__get__(e){const t=this[ht];return"error"===e?(this[ps]||(this[ps]=this.bean._newBeanSimple(vt,!1,t)),this[ps]):"locale"===e?(this[hs]||(this[hs]=this.bean._newBeanSimple(Et,!1,t)),this[hs]):"config"===e?(this[ms]||(this[ms]=this.sys.config.modules[t]),this[ms]):"constant"===e?(this[fs]||(this[fs]=this.sys.constant.modules[t]),this[fs]):"api"===e?(this[ys]||(this[ys]={}),this[ys]):"apiSchema"===e?(this[_s]||(this[_s]={}),this[_s]):"util"===e?(this[vs]||(this[vs]=this.bean._newBeanSimple(ds,!1,t)),this[vs]):void 0}}}),Ps=t(()=>{ks(),Is()}),Os=t(()=>{en(),tn(),Yt(),Bt(),Qn(),Ss(),Ms(),Bs(),Cs(),xs(),Ge(),$s(),Qt(),Ps(),ws()});var Ns=t(()=>{ue(),le(),ne()});var Rs,As,Es,Fs=t(()=>{}),Ts=t(()=>{Rs={modules:{}}}),zs=t(()=>{E(),F()}),js=t(()=>{}),Ls=t(()=>{}),Ds=t(()=>{}),Hs=t(()=>{As=Symbol("SymbolInstalled")}),Us=t(()=>{}),qs=t(()=>{}),Ws=t(()=>{}),Gs=t(()=>{zs(),js(),Ls(),Ds(),Hs(),Us(),qs(),Ws()}),Vs=t(()=>{}),Ks=t(()=>{}),Zs=t(()=>{}),Js=t(()=>{}),Xs=t(()=>{}),Qs=t(()=>{}),Ys=t(()=>{Vs(),Ee(),Ks(),Zs(),Js(),Xs(),Qs()}),eo=t(()=>{Gs(),Ys()});function to(e){return encodeURIComponent(e)}function no(e){return decodeURIComponent(e)}function so(e){return to(e===Object(e)?JSON.stringify(e):`${e}`)}function oo(e){return""===e?e:(0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=no(e.replace(/\+/g," ")))}function io(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}var ro,ao,lo,co,uo=t(()=>{Ge(),eo(),Es=class extends De{getItem(e){const t=document,n=t.cookie?t.cookie.split("; "):[],s=n.length;let o,i,r,a=e?void 0:{},l=0;for(;l<s;l++)if(o=n[l].split("="),i=no(o.shift()),r=o.join("="),e){if(e===i){a=oo(r);break}}else Ne(a)[i]=r;return a}setItem(e,t,n){let s,o;(n=n||{}).path=n.path||"/",void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?s=n.expires.toUTCString():"string"==typeof n.expires?s=function(e){let t=0;const n=e.match(/(\d+)d/),s=e.match(/(\d+)h/),o=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),s&&(t+=36e5*s[1]),o&&(t+=6e4*o[1]),i&&(t+=1e3*i[1]),0===t?e:io(t)}(n.expires):(o=Number.parseFloat(n.expires.toString()),s=!1===Number.isNaN(o)?io(864e5*o):n.expires));const i=[`${to(e)}=${so(t)}`,void 0!==s?`; Expires=${s}`:"",n.path?`; Path=${n.path}`:"",n.domain?`; Domain=${n.domain}`:"",n.sameSite?`; SameSite=${n.sameSite}`:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?`; ${n.other}`:""].join("");document.cookie=i}removeItem(e,t){this.setItem(e,"",Object.assign({expires:-1},t))}}}),po=t(()=>{se(),Ge(),Ee(),fe(),ro=(e,t)=>{const n=t;if(n.fn)return{receiver:void 0,fn:n.fn}},ao=class extends De{constructor(...e){super(...e),this.eventHandlersMap={}}initialize(){return _e(function*(){})()}dispose(){this.eventHandlersMap={}}getEventHandlers(e){let t=this.eventHandlersMap[e];return t||(t=this.eventHandlersMap[e]=[]),t}emit(e,t,n){var s=this;return _e(function*(){const o=s.getEventHandlers(e),i="function"==typeof n?n:_e(function*(){return n});return yield T(o.concat(),ro)(t,i)})()}emitSync(e,t,n){const s=this.getEventHandlers(e),o="function"==typeof n?n:()=>n;return T(s.concat(),ro)(t,o)}on(e,t){const n=this.getEventHandlers(e);return n.push({fn:t}),()=>{const e=n.findIndex(e=>e.fn===t);e>-1&&(n[e].fn=void 0,n.splice(e,1))}}once(e,t){const n=this.on(e,(s=_e(function*(e,s){const o=yield t(e,s);return n(),o}),function(e,t){return s.apply(this,arguments)}));var s;return n}}});function ho(e){e.__closed__||(e.end(),e.__closed__=!0)}function mo(e){if(e=e||"default","production"===ko.env.META_MODE)return;const t=`LOGGER_CLIENT_${e.toUpperCase()}`,n=ko.env[t];return"false"!==n?"true"!==n&&n?n:"info":void 0}var fo=t(()=>{Oe(),Ge(),jo(),St(),lo=Symbol("SymbolLoggerInstances"),co=class extends De{constructor(...e){super(...e),this[lo]={}}dispose(){for(const e in this[lo]){ho(this[lo][e])}this[lo]={}}get(e){return e=e||"default",this[lo][e]||(this[lo][e]=this._createClient(e)),this[lo][e]}child(e,t){const n=this.get(t);return e?n.child({name:e}):n}getFilterLevel(e){return mo(e)}setFilterLevel(e,t){!function(e,t){if(t=t||"default","production"===ko.env.META_MODE)return;const n=`LOGGER_CLIENT_${t.toUpperCase()}`;ko.env[n]=e.toString()}(e,t)}_createClient(e){const t=this.sys.config.logger.clients[e];if(!t)throw new Error(`logger client not found: ${e}`);return new Ce(Ze({},this._prepareConfigClient(e,this.sys.config.logger.base),this._prepareConfigClient(e,t)))}_prepareConfigClient(e,t){return"function"!=typeof t?t:t.call(this.sys,{clientName:e,level:()=>mo(e)})}}});var yo=t(()=>{jo()});function _o(e,t){return O(()=>new Promise(n=>{ko.meta.component.use(e,t).then(e=>{n(e)})}))}var vo,go,bo,So,wo,Mo,Bo,xo,Co,$o,Io,ko,Po=t(()=>{E(),yo()}),Oo=t(()=>{E(),Ge(),Po(),fe(),vo=Symbol("SymbolZovaComponents"),go=class extends De{constructor(...e){super(...e),this[vo]={}}initialize(){return _e(function*(){})()}dispose(){}createAsyncComponent(e,t){return()=>this.use(e,t)}getZovaComponent(e,t){const n=e.includes(":")?e:`${e}:${t}`;return this[vo][n]||(this[vo][n]=h(_o(n))),this[vo][n]}use(e,t){var n=this;return _e(function*(){if(e.includes(":")){const n=e.split(":");e=n[0],t=n[1]}return(yield n.sys.meta.module.use(e)).resource.components[t]})()}}}),No=t(()=>{Ge(),fe(),bo=class extends De{constructor(...e){super(...e),this.errors=void 0}initialize(){var e=this;return _e(function*(){e.errors={}})()}dispose(){this.errors={}}}}),Ro=t(()=>{ie(),E(),Ge(),Kt(),fe(),So=Symbol("SymbolLocaleCurrent"),wo=Symbol("SymbolTzCurrent"),Mo=class extends De{constructor(...e){super(...e),this[So]=d(),this[wo]=d()}get metaCookie(){return this.app?this.app.meta.cookie:this.sys.meta.cookie}get current(){let e=this[So].value;return!e&&this.sys.config.ssr.cookie&&(e=this.metaCookie.getItem(this.sys.config.locale.storeKey)),e||(e=this.sys.config.locale.default),e}set current(e){this[So].value!==e&&(this[So].value=e,this.sys.config.ssr.cookie&&this.metaCookie.setItem(this.sys.config.locale.storeKey,e))}get tz(){let e=this[wo].value;return e||(e=this.metaCookie.getItem(this.sys.config.tz.storeKey)),e||(e=Intl.DateTimeFormat().resolvedOptions().timeZone),e}set tz(e){this[wo].value!==e&&(this[wo].value=e,this.metaCookie.setItem(this.sys.config.tz.storeKey,e))}initialize(){return _e(function*(){})()}createLocaleText(e){const t=this,n=function(n,...s){return t.getText(!1,e,void 0,n,...s)};return n.locale=function(n,s,...o){return t.getText(!1,e,n,s,...o)},n}createScopeLocaleText(e,t){const n=this,s=function(...s){return n.getText(!1,e,void 0,t,...s)};return s.locale=function(s,...o){return n.getText(!1,e,s,t,...o)},s}getText(e,t,n,s,...o){if(!s)return s;if("string"!=typeof s)throw new Error(`${s} should be string`);const i=s.indexOf("::");return i>-1&&(t=s.substring(0,i),s=s.substring(i+2)),ee(e,t?this.sys.meta.locale.localeModules[t]:void 0,this.sys.meta.locale.locales,n||this.current,s,...o)}}}),Ao=t(()=>{Ro(),fe(),Bo=class extends Mo{constructor(...e){super(...e),this.locales={},this.localeModules={}}initialize(e){var t=this;return _e(function*(){if(e)for(const n in e){const s=e[n].modules;for(const e in s)t._registerLocale(e,n,s[e])}})()}dispose(){this.locales={},this.localeModules={}}_registerLocales(e,t){if(t)for(const n in t)this._registerLocale(e,n,t[n])}_registerLocale(e,t,n){this.locales[t]=Object.assign({},n,this.locales[t]),this.localeModules[e]||(this.localeModules[e]={}),this.localeModules[e][t]=Object.assign({},n,this.localeModules[e][t])}}}),Eo=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),St(),fe(),xo=class extends De{constructor(...e){super(...e),this.modulesMeta=void 0,this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(e){var t=this;return _e(function*(){t.modulesMeta=e,yield t._loadAllMonkeysAndSyncsAndPreloads(),yield t._requireAllSpecifics("preload"),yield t._requireAllSpecifics("monkey"),yield t._requireAllSpecifics("sync")})()}dispose(){this.modulesMeta=void 0}get(e){if(!e)return;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);const n=this.modules[t.relativeName];return n&&n[As]&&n[As].state?n:void 0}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){if(!e)return!1;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);return!!this.modulesMeta.modules[t.relativeName]}_loadAllMonkeysAndSyncsAndPreloads(){var e=this;return _e(function*(){const t=[];for(const i of e.modulesMeta.moduleNames){var n,s,o;const r=e.modulesMeta.modules[i],a=r.info;((null===(n=a.capabilities)||void 0===n?void 0:n.monkey)||(null===(s=a.capabilities)||void 0===s?void 0:s.sync)||(null===(o=a.capabilities)||void 0===o?void 0:o.preload))&&"function"==typeof r.resource&&t.push(i)}yield e.loadModules(t)})()}loadModules(e){var t=this;return _e(function*(){if(0===e.length)return;const n=[],s=[];for(const i of e){const e=t.modulesMeta.modules[i];if(!e)throw new Error(`module not found: ${i}`);const o=e.resource;if("function"==typeof o){const e=o();n.push(e),s.push(i)}}const o=yield Promise.all(n);for(let e=0;e<o.length;e++){const n=s[e];t.modulesMeta.modules[n].resource=o[e]}})()}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});n.length>0&&t.sys.meta.logger.child("module","default").debug(`modules ${e}: ${n.join(",")}`);for(const e of n){const n=t.modulesMeta.modules[e];yield t._install(e,n)}})()}_requireAllOthers(){var e=this;return _e(function*(){for(const o of e.modulesMeta.moduleNames){var t,n,s;const i=e.modulesMeta.modules[o],r=i.info;(null===(t=r.capabilities)||void 0===t?void 0:t.monkey)||(null===(n=r.capabilities)||void 0===n?void 0:n.sync)||(null===(s=r.capabilities)||void 0===s?void 0:s.preload)||(yield e._install(o,i))}})()}_install(e,t){var n=this;return _e(function*(){if(n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.sys.bean._getBean(`${e}.scope.module`,!1))}const s=t;s[As]=ut.create(),n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.sys.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",s)})()}_installInner(e,t){var n=this;return _e(function*(){if("function"==typeof t.resource){const e=t.resource;t.resource=yield e()}t.resource.MainSys&&(n.mainInstances[e]=n.sys.bean._newBeanSimple(t.resource.MainSys,!1,t)),t.resource.MonkeySys&&(n.monkeyInstances[e]=n.sys.bean._newBeanSimple(t.resource.MonkeySys,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerLocales(e),t._registerErrors(e),t._registerConstants(e),yield t._registerConfig(e)})()}_registerErrors(e){e.resource.errors&&(this.sys.meta.error.errors[e.info.relativeName]=e.resource.errors)}_registerLocales(e){this.sys.meta.locale._registerLocales(e.info.relativeName,e.resource.locales)}_registerConstants(e){if(!e.resource.constants)return;const t=e.info.relativeName;this.sys.constant.modules[t]=Ze({},e.resource.constants,this.sys.constant.modules[t])}_registerConfig(e){var t=this;return _e(function*(){if(!e.resource.config)return;const n=yield e.resource.config(t.sys);yield t._monkeyModule(!0,"configLoaded",e,n);const s=e.info.relativeName;t.sys.config.modules[s]=Ze({},n,t.sys.config.modules[s]),t.sys.configOriginal.modules[s]=n})()}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield e[t](...s))}var i;yield V(o.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(void 0===n?yield i[t](...s):yield i[t](n,...s))}}),function(e){return i.apply(this,arguments)}));const r=o.sys.meta.sysMonkey;r&&r[t]&&(void 0===n?yield r[t](...s):yield r[t](n,...s))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&e[t](...s)}z(this.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}});const o=this.sys.meta.sysMonkey;o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}}}),Fo=t(()=>{Ge(),uo(),po(),fo(),Oo(),No(),Ao(),Eo(),fe(),Co=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.logger=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.sysMonkey=void 0,this.legacyRoutes=void 0}__init__(){this.module=this.bean._newBeanSimple(xo,!1),this.component=this.bean._newBeanSimple(go,!1),this.logger=this.bean._newBeanSimple(co,!1),this.locale=this.bean._newBeanSimple(Bo,!1),this.error=this.bean._newBeanSimple(bo,!1),this.event=this.bean._newBeanSimple(ao,!1),this.cookie=this.bean._newBeanSimple(Es,!1)}dispose(){this.event.dispose(),this.module.dispose(),this.component.dispose(),this.logger.dispose(),this.locale.dispose(),this.error.dispose(),this.sysMonkey=void 0,this.legacyRoutes=void 0}initialize(e,t){var n=this;return _e(function*(){e&&(n.sysMonkey=n.bean._newBeanSimple(e,!1)),n.legacyRoutes=t})()}}});function To(e,t){if(!t)return e;const n=pe({},e);for(const s of Object.keys(t))void 0!==t[s]&&(n[s]=t[s]);return n}var zo,jo=t(()=>{Qn(),Ee(),Ns(),Fs(),Ts(),Fo(),wt(),We(),St(),fe(),he(),$o=Symbol("SymbolSysInitializePromise"),Io=Symbol("SymbolSysClose"),function(e){je=e}(ko=new class{constructor(){this[$o]=void 0,this[Io]=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.config=void 0,this.configOriginal=void 0,this.env=void 0,this.constant=void 0,te(X)}initialize({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){return l[$o]||(l[$o]=l._initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a)),l[$o]})()}_initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){l[Io]=!1,l.bean=Dn.create(l,null,null),l.util=l.bean._newBeanSimple(qe,!1),l.meta=l.bean._newBeanSimple(Co,!1),l.env=l._prepareEnv(s,a),yield l.meta.initialize(i,r),yield l.meta.component.initialize(),yield l.meta.locale.initialize(t),yield l.meta.error.initialize(),l.config=yield l._combineConfig(n),l.configOriginal={modules:{}},l.constant=Rs,yield l.meta.module.initialize(e),yield l.meta.module._monkeyModule(!0,"sysInitialize"),yield l.meta.module._monkeyModule(!0,"sysInitialized"),yield l.meta.module._monkeyModule(!0,"sysReady"),l._hookClose(o)})()}_hookClose(e){if("undefined"!=typeof window){const e=()=>{this.close(),window.removeEventListener("beforeunload",e)};window.addEventListener("beforeunload",e)}}close(){this[Io]||(this[Io]=!0,this.meta.module._monkeyModuleSync(!1,"sysClose"),this.bean.dispose(),this.meta.dispose(),lt.dispose(),this[$o]=void 0)}_combineConfig(e){var t=this;return _e(function*(){const n=Ze({},{meta:{flavor:(s=t.env).META_FLAVOR,mode:s.META_MODE,appMode:s.META_APP_MODE}});var s;for(const o of e)Ze(n,yield o(t));return n})()}_prepareEnv(e,t){const n=this._prepareEnv_Runtime(e,t);return this._prepareEnv_Client(n)}_prepareEnv_Runtime(e,t){return To(e,t)}_prepareEnv_Client(e){if(!window.__INITIAL_STATE__)return e;return To(e,window.__INITIAL_STATE__.envClient)}}),window.sys=ko}),Lo=t(()=>{zo={install(e){e.mixin({created(){const e=this._.zova;e&&e.meta.component.activate()}})}}});function Do(e,t){return Ho.apply(this,arguments)}function Ho(){return(Ho=_e(function*(e,t){yield ko.initialize(t),e.use(zo),e.use(de)})).apply(this,arguments)}var Uo,qo,Wo,Go,Vo,Ko,Zo,Jo,Xo,Qo,Yo=t(()=>{ye(),jo(),Lo(),fe()}),ei=t(()=>{E(),Uo=B({name:"ClientOnly",inheritAttrs:!0,setup(e,{slots:t}){const n=d(!1);return v(()=>{n.value=!0}),()=>{var e,s;return!1===n.value?null===(e=t.placeholder)||void 0===e?void 0:e.call(t):null===(s=t.default)||void 0===s?void 0:s.call(t)}}})}),ti=t(()=>{Ge(),ws(),Ee(),qo=class extends De{constructor(...e){super(...e),this._bean_render_original=void 0}activate(){if(this.ctx.disposed)return;const e="render",t=this,n=this.ctx.instance;this._bean_render_original=n[e],n[e]=function(...e){if(n.isUnmounted)return;if(!t.ctx.meta.state.inited.state)return t._bean_render_original.call(this,...e);const s=t._getRender();return s?s.render():t._bean_render_original.call(this,...e)},n.type.ssrRender=null,n.ssrRender=null}dispose(){this.ctx.instance.render=this._bean_render_original,this._bean_render_original=null}_getRender(){var e;const t=this.bean._getBeanSyncOnly("$$c");if(t)return null===(e=t.__updateControllerData)||void 0===e||e.call(t),t.render?t:this.bean._getBeanSyncOnly("$$r")}}}),ni=t(()=>{Ge(),fe(),Wo=Symbol("SymbolHooksFns"),Go=Symbol("SymbolHooksState"),Vo=class extends De{constructor(...e){super(...e),this[Wo]={},this[Go]={}}dispose(){this[Wo]=void 0}onCreated(e){this._onHook("created",e)}onMounted(e){this._onHook("mounted",e)}_onHook(e,t){this[Go][e]?this.ctx.util.instanceScope(t):(this[Wo][e]||(this[Wo][e]=[]),this[Wo][e].push(t))}invokeHook(e){var t=this;return _e(function*(){t[Go][e]=!0;const n=t[Wo][e];if(n){t[Wo][e]=void 0;for(const e of n)yield t.ctx.util.instanceScope(e)}})()}}}),si=t(()=>{Ge(),Mt(),Ko=0,Zo=class extends De{constructor(...e){super(...e),this._id=void 0,this._inited=void 0}__init__(){this._id=++Ko,this._inited=ut.create()}get id(){return this._id}get inited(){return this._inited}}}),oi=t(()=>{Ge(),ti(),ni(),si(),Jo=class extends De{constructor(...e){super(...e),this.state=void 0,this.component=void 0,this.hooks=void 0}get el(){return this.ctx.instance.vnode.el}initialize(){this.state=this.bean._newBeanSimple(Zo,!0),this.component=this.bean._newBeanSimple(qo,!1),this.hooks=this.bean._newBeanSimple(Vo,!1)}dispose(){this.component.dispose(),this.hooks.dispose()}}}),ii=t(()=>{$(),l(),Ge(),St(),Xo=class extends De{instanceScope(e,t){this.ctx.disposed&&tt();const n=g(this.ctx.instance);t||c();try{return e()}finally{t||u(),n()}}}}),ri=t(()=>{E(),Qn(),Ee(),jo(),oi(),ii(),Qo=class{constructor(e){this.instance=void 0,this.app=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.disposed=void 0,h(this),e.zova=this,this.instance=e,this.app=e.appContext.app.zova,this.bean=Dn.create(ko,this.app,this),this.util=this.bean._newBeanSimple(Xo,!1),this.meta=this.bean._newBeanSimple(Jo,!1),this.meta.initialize(),this._zovaHostProvidersInit()}dispose(){this.disposed||(this.meta.dispose(),this.instance.zova=null,this.instance=null,this.app=null,this.bean=null,this.meta=null,this.disposed=!0)}_zovaHostProvidersInit(){let e=this.instance.zovaHostProviders;var t;e||"AsyncComponentWrapper"===(null===(t=this.instance.parent)||void 0===t?void 0:t.type.name)&&(e=this.instance.parent.zovaHostProviders);this._zovaHostProvidersUpdate_inner(e)}_zovaHostProvidersUpdate(e){A(()=>{this._zovaHostProvidersUpdate_inner(e)})}_zovaHostProvidersUpdate_inner(e){if(this.bean&&e)for(const t in e)this.bean._getBeanSyncOnly(t)!==e[t]&&this.bean._setBean(t,e[t])}}}),ai=t(()=>{ti(),ri(),oi(),si(),ii()});function li(e,t,n){ci({context:{slots:w()}},e,t,n)}function ci(e,t,n,s){return ui.apply(this,arguments)}function ui(){return ui=_e(function*(e,t,n,s){const o=new Qo(x());function i(){return(i=_e(function*(){if(!o.disposed){if(yield o.bean._newBeanInner(!0,"$$c",e,t,!0,!1),s){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$s",void 0,s,!0,!1)}if(n){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$r",void 0,n,!0,!1)}o.disposed||(o.meta.state.inited.touch(),o.util.instanceScope(()=>{b(()=>{di(o,!0),o.meta.hooks.invokeHook("mounted")})}))}})).apply(this,arguments)}o.app?o.app.meta.module._monkeyModuleSync(!0,"appContextInitialize",void 0,o):ko.meta.module._monkeyModuleSync(!0,"sysContextInitialize",void 0,o),o.app&&o.app.meta.module._monkeyModuleSync(!0,"controllerDataPrepare",void 0,e,o),R(()=>{o.disposed||(di(o,!1),o.bean!==o.app.bean&&o.bean.dispose())}),N(()=>{o.dispose()}),o.meta.hooks.onCreated(_e(function*(){if(!o.disposed)try{return yield function(){return i.apply(this,arguments)}()}catch(e){if(o.disposed)return;throw e}})),o.meta.hooks.invokeHook("created")}),ui.apply(this,arguments)}function di(e,t){var n,s;const o=null===(n=e.bean)||void 0===n?void 0:n._getBeanSyncOnly("$$c");if(!o||o[ns])return;const i=null===(s=o.ctx.instance.vnode.props)||void 0===s?void 0:s.controllerRef;i&&i(t?o:void 0)}var pi=t(()=>{E(),ws(),ai(),jo(),fe()});function hi(e,t,n){return B(()=>(ci({context:{}},e,t,n),()=>{}))}function mi(e){return Object.assign({inheritAttrs:"auto"},e)}var fi=t(()=>{E(),pi()}),yi=t(()=>{ei(),fi(),Po()});function _i(){const e=x();return null==e?void 0:e.appContext.app.zova}var vi,gi,bi,Si,wi,Mi,Bi,xi,Ci,$i,Ii,ki=t(()=>{E()}),Pi=t(()=>{E()}),Oi=t(()=>{ki(),Pi(),pi()}),Ni=t(()=>{Ge(),fe(),vi=class extends De{initialize(){return _e(function*(){})()}_registerComponents(e,t){if(t)for(const n in t){const e=t[n];this._setComponentGlobal(e)}}_setComponentGlobal(e){var t;const n=e;return e.name&&!0===(null===(t=n.meta)||void 0===t?void 0:t.global)&&(this.app.vue.component(e.name)||this.app.vue.component(e.name,e)),e}}}),Ri=t(()=>{Ht(),Wt(),fe(),gi=class extends bt{initialize(){var e=()=>super.initialize,t=this;return _e(function*(){yield e().call(t),t.app.vue.config.errorHandler=(e,n,s)=>t._handleError(e,n,s),window.addEventListener("unhandledrejection",e=>(e.preventDefault(),t._handleUnhandledError(e.reason,"unhandledrejection"),!1)),window.addEventListener("error",e=>(e.preventDefault(),t._handleUnhandledError(e.error,"unhandlederror"),!1))})()}createScopeError(e,t){const n=this;return{throw:(...s)=>n.throw(e,t,...s),parseFail:(...s)=>n.parseFail(e,t,...s)}}_handleUnhandledError(e,t){if(e instanceof Error){const n=e[Rt];n&&delete e[Rt],this.app.vue.config.errorHandler(e,null==n?void 0:n.instance,(null==n?void 0:n.info)||t)}}_handleError(e,t,n){if(!this.app)return void console.error(e);const s=this.app.meta.event.emitSync("app:errorHandler",{err:e,instance:t,info:n},e=>e.err);return s&&s instanceof Error?(n&&["useMutationData"].includes(n)||console.error(s),s):s}}}),Ai=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),fe(),bi=class extends De{constructor(...e){super(...e),this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(){var e=this;return _e(function*(){yield e._requireAllSpecifics("preload"),yield e._requireAllSpecifics("monkey"),yield e._requireAllSpecifics("sync")})()}get(e,t){if(!e)return;const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=this.modules[n.relativeName];if(s){if(s[As]&&s[As].state)return this.sys.meta.module.get(e)}else!1!==t&&this.use(n.relativeName)}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.sys.meta.module.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){return this.sys.meta.module.exists(e)}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.sys.meta.module.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.sys.meta.module.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});for(const e of n){const n=t.sys.meta.module.modulesMeta.modules[e];yield t._install(e,n)}})()}_install(e,t){var n=this;return _e(function*(){if(yield n.sys.meta.module._install(e,t),n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.app.bean._getBean(`${e}.scope.module`,!1))}const s={[As]:ut.create()};n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.app.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",t)})()}_installInner(e,t){var n=this;return _e(function*(){t.resource.Main&&(n.mainInstances[e]=n.app.bean._newBeanSimple(t.resource.Main,!1,t)),t.resource.Monkey&&(n.monkeyInstances[e]=n.app.bean._newBeanSimple(t.resource.Monkey,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerComponents(e)})()}_registerComponents(e){this.app.meta.component._registerComponents(e.info.relativeName,e.resource.components)}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield o.app.vue.runWithContext(_e(function*(){yield e[t](...s)})))}var i;yield V(o.sys.meta.module.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield i[t](...s):yield i[t](n,...s)})))}}),function(e){return i.apply(this,arguments)}));const r=o.app.meta.appMonkey;r&&r[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield r[t](...s):yield r[t](n,...s)})))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&this.app.vue.runWithContext(_e(function*(){e[t](...s)}))}z(this.sys.meta.module.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}});const o=this.app.meta.appMonkey;o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}}}),Ei=t(()=>{Ge(),Ni(),uo(),Ri(),po(),Ro(),Ai(),fe(),Si=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.text=void 0,this.appMonkey=void 0}__init__(){this.module=this.app.bean._newBeanSimple(bi,!1),this.component=this.app.bean._newBeanSimple(vi,!1),this.locale=this.app.bean._newBeanSimple(Mo,!1),this.error=this.app.bean._newBeanSimple(gi,!1),this.event=this.app.bean._newBeanSimple(ao,!1),this.cookie=this.app.bean._newBeanSimple(Es,!1),this.text=this.locale.createLocaleText()}initialize(e){var t=this;return _e(function*(){e&&(t.appMonkey=t.bean._newBeanSimple(e,!1))})()}}}),Fi=t(()=>{Ge(),Ns(),wi=class extends De{setLocaleErrors(e,t){return function(e,t,n){ce(()=>e.meta.locale.current,t,n)}(this.app,e,t)}}}),Ti=t(()=>{E(),Ee(),Ns(),jo(),Ei(),Fi(),fe(),Mi=Symbol("SymbolAppClose"),Bi=class{constructor(e,t){var n;this._reloadDelayTimer=0,this[Mi]=void 0,this.vue=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.ctx=void 0,h(this),e.zova=this,this.vue=e,this.ctx=t,this.bean=t.bean,this.bean.app=this,t.app=this,this.util=this.bean._newBeanSimple(wi,!1),this.meta=this.bean._newBeanSimple(Si,!1),t.instance.appContext.reload=()=>{this.reloadDelay()},n=this,Q((e,t)=>W((e,...t)=>n.meta.text(e,...t),e,t))}initialize({AppMonkey:e}){var t=this;return _e(function*(){ko.meta.module._monkeyModuleSync(!0,"sysApplicationInitialize",void 0,t),yield t.meta.initialize(e),yield t.meta.component.initialize(),yield t.meta.locale.initialize(),yield t.meta.error.initialize(),yield t.meta.module.initialize(),yield t.meta.module._monkeyModule(!0,"appInitialize"),yield t.meta.module._monkeyModule(!0,"appInitialized"),yield t.meta.module._monkeyModule(!0,"appReady")})()}get sys(){return ko}reload(){window.location.reload()}reloadDelay(e){e?0!==this._reloadDelayTimer&&(window.clearTimeout(this._reloadDelayTimer),this._reloadDelayTimer=0):(this.reloadDelay(!0),this._reloadDelayTimer=window.setTimeout(()=>{this.reload()},100))}throw(e,...t){return this.meta.error.throw(void 0,e,...t)}close(){this[Mi]||(this[Mi]=!0,this.meta.module._monkeyModuleSync(!1,"appClose"),this.bean.dispose(),this.ctx.dispose())}}}),zi=t(()=>{}),ji=t(()=>{Ti(),zi(),Ei()}),Li=t(()=>{Ri(),Ro(),Ai()});function Di(e){return"function"==typeof e.message&&(void 0===e.message[Ci]&&(e.message[Ci]=e.message()),e.message=e.message[Ci]),e}var Hi,Ui=t(()=>{Oe(),L(),me(),xi=["timestamp","level","stack","message","name","beanFullName","durationMs"],Ci=Symbol("SymbolLoggerMessage"),$i=$e((e,t)=>{const n="function"==typeof t.level?t.level():t.level;return!!n&&(t.strict?Ie[e.level]===Ie[n]&&Di(e):!!(Ie[e.level]<=Ie[n]||t.silly&&"silly"===e.level)&&Di(e))}),Ii=()=>ke(e=>{let{timestamp:t,level:n,stack:s,message:o,name:i,beanFullName:r,durationMs:a}=e,l=ve(e,xi);const c=[`${t} ${n}${i?` ${Pe("verbose",`[${i}]`)}`:""}${r?` ${Pe("tip",`[${r}]`)}`:""} ${o}${void 0!==a?` ${Pe("verbose",`+${a}ms`)}`:""}${s?`\n${s}`:""}`];if(!K(l)){const e={};for(const t in l)e[t]=l[t];c.push(e)}return c})}),qi=t(()=>{}),Wi=t(()=>{Ui(),fo(),qi()}),Gi=t(()=>{Oo(),Fs(),Ts(),No(),Ao(),Fo(),Fe(),Eo(),wt(),jo(),St()}),Vi=t(()=>{ji(),Li(),ai(),Wi(),Gi()}),Ki=t(()=>{Le()}),Zi=t(()=>{Le()}),Ji=t(()=>{Le()}),Xi=t(()=>{Le()}),Qi=t(()=>{Ki(),Zi(),Ji(),Xi(),Te(),Le()}),Yi=t(()=>{Qn(),ws(),Vi(),eo(),fe(),Hi={install:(e,t,{modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c})=>_e(function*(){const u=new Bi(e,t);return yield u.initialize({modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c}),u})(),update:(e,t)=>_e(function*(){const n=e.bean;n.ctx=t;for(const e in n[Ln])n[Ln][e].ctx=t;delete n[Ln].$$c,delete n[Ln].$$r,delete n[Ln].$$s,Object.assign(n[Ln],t.bean[Ln]),t.bean=n,t.app=e})()}}),er=t(()=>{Lo(),Yi()});function tr(e){return e}var nr=t(()=>{}),sr=t(()=>{}),or=t(()=>{nr(),Mt(),sr()}),ir=t(()=>{}),rr=t(()=>{}),ar=t(()=>{ir(),rr(),Hn()}),lr=t(()=>{re(),Os(),Yo(),yi(),Oi(),Vi(),Nn(),Qi(),er(),eo(),or(),ar()});export{Dt as A,Xe as B,fn as C,an as D,cn as E,lt as F,Re as G,Ke as H,Qe as I,Ne as K,Ye as L,Rt as M,dt as N,on as O,ut as P,Je as R,_n as S,pn as T,De as U,et as V,ze as W,is as _,$i as a,ts as b,mi as c,Do as d,ko as f,ls as g,cs as h,Ii as i,jt as j,nn as k,li as l,gs as m,tr as n,_i as o,_o as p,Hi as r,hi as s,lr as t,Uo as u,ss as v,dn as w,Rn as x,ns as y,Ze as z};
@@ -1 +1 @@
1
- import{n as o}from"./rolldown-runtime-CHbrDDT0.js";import{t as r}from"./zova-Bg37yi9o.js";var t=o(()=>{r()});export{t};
1
+ import{n as o}from"./rolldown-runtime-CHbrDDT0.js";import{t as r}from"./zova-CybCK-Pu.js";var t=o(()=>{r()});export{t};
@@ -1 +1 @@
1
- import{n as t}from"./rolldown-runtime-CHbrDDT0.js";import{m as e,p as s}from"./zova-DrYi3lHN.js";import{n as r,t as o}from"./fecha-DKYcT2kV.js";function n(t){if("function"!=typeof t.transform)throw new TypeError(["No transform function found on format. Did you create a format instance?","const myFormat = format(formatFn);","const instance = myFormat();"].join("\n"));return!0}var a,i,l,c,u,f,g,h=t(()=>{}),m=t(()=>{a=Symbol("LEVEL"),i=Symbol("MESSAGE"),l=Symbol("SPLAT"),c=function(t){return t[t.error=0]="error",t[t.warn=1]="warn",t[t.info=2]="info",t[t.http=3]="http",t[t.verbose=4]="verbose",t[t.debug=5]="debug",t[t.silly=6]="silly",t}({})});function p(t,e){if(!e)return e;const s=u[f[t]];return s?`[${s[0]}m${e}[${s[1]}m`:e}function d(t){return new g(t)}var v,w=t(()=>{m(),u={black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39]},f={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta",tip:"gray"},g=class{constructor(t={}){this.options=void 0,t.colors&&(f=Object.assign({},f,t.colors)),this.options=t}colorize(t,e,s){return void 0===s&&(s=e),p(t,s)}transform(t,e){return e.all&&"string"==typeof t[i]&&(t[i]=this.colorize(t[a],t.level,t[i])),(e.level||e.all||!e.message)&&(t.level=this.colorize(t[a],t.level)),(e.all||e.message)&&(t.message=this.colorize(t[a],t.level,t.message)),t}}});function b(t){return e=>new v(t,e)}var y=t(()=>{v=class{constructor(t,e){this.transform=void 0,this.options=void 0,this.transform=t,this.options=e}}});function j(...t){return b(function(t){if(!t.every(n))throw new Error("have not valid format");return e=>{let s=e;for(let r=0;r<t.length;r++)if(s=t[r].transform(s,t[r].options),!s)return!1;return s}}(t))()}var M,O,k,D,E,S=t(()=>{h(),y()}),_=t(()=>{y(),m(),M=b((t,{stack:e,cause:s})=>{if(t instanceof Error){const r=Object.assign({},t,{level:t.level,[a]:t[a]||t.level,message:t.message,[i]:t[i]||t.message});return e&&(r.stack=t.stack),s&&(r.cause=t.cause),r}if(!(t.message instanceof Error))return t;const r=t.message;return Object.assign(t,r),t.message=r.message,t[i]=r.message,e&&(t.stack=r.stack),s&&(t.cause=r.cause),t})}),z=t(()=>{O=class{constructor(t){this.logger=void 0,this.start=void 0,this.logger=t,this.start=Date.now()}done(...t){"function"==typeof t[t.length-1]&&(console.warn("Callback function no longer supported as of winston@3.0.0"),t.pop());const e="object"==typeof t[t.length-1]?t.pop():{};return e.level=e.level||"info",e.durationMs=Date.now()-this.start,this.logger.log(e)}}}),L=t(()=>{z(),m(),k=/%[scdjifoO%]/g,D=class Logger{constructor(t,e){this.options=void 0,this.defaultMeta=void 0,this.options=t,this.defaultMeta=e}child(t){const e=Object.assign({},this.defaultMeta,t);return new Logger(this.options,e)}error(t,...e){return this.log("error",t,...e)}warn(t,...e){return this.log("warn",t,...e)}info(t,...e){return this.log("info",t,...e)}http(t,...e){return this.log("http",t,...e)}verbose(t,...e){return this.log("verbose",t,...e)}debug(t,...e){return this.log("debug",t,...e)}silly(t,...e){return this.log("silly",t,...e)}log(t,e,...s){if(1===arguments.length)return t[a]=t.level,this._addDefaultMeta(t),this.write(t),this;if(2===arguments.length)return e&&"object"==typeof e?(e[a]=e.level=t,this._addDefaultMeta(e),this.write(e),this):(e={[a]:t,level:t,message:e},this._addDefaultMeta(e),this.write(e),this);const[r]=s;if("object"==typeof r&&null!==r&&!(e&&e.match&&e.match(k))){const o=Object.assign({},this.defaultMeta,r,{[a]:t,[l]:s,level:t,message:e});return r.message&&(o.message=`${o.message} ${r.message}`),r.stack&&(o.stack=r.stack),r.cause&&(o.cause=r.cause),this.write(o),this}return this.write(Object.assign({},this.defaultMeta,{[a]:t,[l]:s,level:t,message:e})),this}write(t){const e=this.options.format.transform(t,this.options.format.options);if(!e)return;const s=e[i];Array.isArray(s)?console.log(...s):console.log(s)}startTimer(){return new O(this)}_addDefaultMeta(t){this.defaultMeta&&Object.assign(t,this.defaultMeta)}end(){}}});function $(t){return new E(t)}var A,F,T,x=t(()=>{m(),E=class{constructor(t){this.template=void 0,this.template=t}transform(t){return t[i]=this.template(t),t}}});function C(t){return new T(t)}var G,I=t(()=>{e(),m(),A=/%[scdjifoO%]/g,F=/%%/g,T=class{constructor(t){this.options=void 0,this.options=t}_splat(t,e){const r=t.message,o=t[l]||t.splat||[],n=r.match(F),a=n&&n.length||0,i=e.length-a-o.length,c=i<0?o.splice(i,-1*i):[],u=c.length;if(u)for(let s=0;s<u;s++)Object.assign(t,c[s]);return t.message=s(r,...o),t}transform(t){const e=t.message,s=t[l]||t.splat;if(!s||!s.length)return t;const r=e&&e.match&&e.match(A);if(!r&&(s||s.length)){const e=s.length>1?s.splice(0):s,r=e.length;if(r)for(let s=0;s<r;s++)Object.assign(t,e[s]);return t}return r?this._splat(t,r):t}}}),N=t(()=>{r(),y(),G=b((t,e={})=>(e.format&&(t.timestamp="function"==typeof e.format?e.format():o.format(new Date,e.format)),t.timestamp||(t.timestamp=(new Date).toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))}),P=t(()=>{h(),w(),S(),_(),y(),L(),x(),z(),I(),N(),m()});export{D as a,b as c,c as d,$ as i,p as l,G as n,M as o,C as r,j as s,P as t,d as u};
1
+ import{n as t}from"./rolldown-runtime-CHbrDDT0.js";import{m as e,p as s}from"./zova-sdmNUH4m.js";import{n as r,t as o}from"./fecha-Dt-wbMrP.js";function n(t){if("function"!=typeof t.transform)throw new TypeError(["No transform function found on format. Did you create a format instance?","const myFormat = format(formatFn);","const instance = myFormat();"].join("\n"));return!0}var a,i,l,c,u,f,g,h=t(()=>{}),m=t(()=>{a=Symbol("LEVEL"),i=Symbol("MESSAGE"),l=Symbol("SPLAT"),c=function(t){return t[t.error=0]="error",t[t.warn=1]="warn",t[t.info=2]="info",t[t.http=3]="http",t[t.verbose=4]="verbose",t[t.debug=5]="debug",t[t.silly=6]="silly",t}({})});function p(t,e){if(!e)return e;const s=u[f[t]];return s?`[${s[0]}m${e}[${s[1]}m`:e}function d(t){return new g(t)}var v,w=t(()=>{m(),u={black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39]},f={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta",tip:"gray"},g=class{constructor(t={}){this.options=void 0,t.colors&&(f=Object.assign({},f,t.colors)),this.options=t}colorize(t,e,s){return void 0===s&&(s=e),p(t,s)}transform(t,e){return e.all&&"string"==typeof t[i]&&(t[i]=this.colorize(t[a],t.level,t[i])),(e.level||e.all||!e.message)&&(t.level=this.colorize(t[a],t.level)),(e.all||e.message)&&(t.message=this.colorize(t[a],t.level,t.message)),t}}});function b(t){return e=>new v(t,e)}var y=t(()=>{v=class{constructor(t,e){this.transform=void 0,this.options=void 0,this.transform=t,this.options=e}}});function j(...t){return b(function(t){if(!t.every(n))throw new Error("have not valid format");return e=>{let s=e;for(let r=0;r<t.length;r++)if(s=t[r].transform(s,t[r].options),!s)return!1;return s}}(t))()}var M,O,k,D,E,S=t(()=>{h(),y()}),_=t(()=>{y(),m(),M=b((t,{stack:e,cause:s})=>{if(t instanceof Error){const r=Object.assign({},t,{level:t.level,[a]:t[a]||t.level,message:t.message,[i]:t[i]||t.message});return e&&(r.stack=t.stack),s&&(r.cause=t.cause),r}if(!(t.message instanceof Error))return t;const r=t.message;return Object.assign(t,r),t.message=r.message,t[i]=r.message,e&&(t.stack=r.stack),s&&(t.cause=r.cause),t})}),z=t(()=>{O=class{constructor(t){this.logger=void 0,this.start=void 0,this.logger=t,this.start=Date.now()}done(...t){"function"==typeof t[t.length-1]&&(console.warn("Callback function no longer supported as of winston@3.0.0"),t.pop());const e="object"==typeof t[t.length-1]?t.pop():{};return e.level=e.level||"info",e.durationMs=Date.now()-this.start,this.logger.log(e)}}}),L=t(()=>{z(),m(),k=/%[scdjifoO%]/g,D=class Logger{constructor(t,e){this.options=void 0,this.defaultMeta=void 0,this.options=t,this.defaultMeta=e}child(t){const e=Object.assign({},this.defaultMeta,t);return new Logger(this.options,e)}error(t,...e){return this.log("error",t,...e)}warn(t,...e){return this.log("warn",t,...e)}info(t,...e){return this.log("info",t,...e)}http(t,...e){return this.log("http",t,...e)}verbose(t,...e){return this.log("verbose",t,...e)}debug(t,...e){return this.log("debug",t,...e)}silly(t,...e){return this.log("silly",t,...e)}log(t,e,...s){if(1===arguments.length)return t[a]=t.level,this._addDefaultMeta(t),this.write(t),this;if(2===arguments.length)return e&&"object"==typeof e?(e[a]=e.level=t,this._addDefaultMeta(e),this.write(e),this):(e={[a]:t,level:t,message:e},this._addDefaultMeta(e),this.write(e),this);const[r]=s;if("object"==typeof r&&null!==r&&!(e&&e.match&&e.match(k))){const o=Object.assign({},this.defaultMeta,r,{[a]:t,[l]:s,level:t,message:e});return r.message&&(o.message=`${o.message} ${r.message}`),r.stack&&(o.stack=r.stack),r.cause&&(o.cause=r.cause),this.write(o),this}return this.write(Object.assign({},this.defaultMeta,{[a]:t,[l]:s,level:t,message:e})),this}write(t){const e=this.options.format.transform(t,this.options.format.options);if(!e)return;const s=e[i];Array.isArray(s)?console.log(...s):console.log(s)}startTimer(){return new O(this)}_addDefaultMeta(t){this.defaultMeta&&Object.assign(t,this.defaultMeta)}end(){}}});function $(t){return new E(t)}var A,F,T,x=t(()=>{m(),E=class{constructor(t){this.template=void 0,this.template=t}transform(t){return t[i]=this.template(t),t}}});function C(t){return new T(t)}var G,I=t(()=>{e(),m(),A=/%[scdjifoO%]/g,F=/%%/g,T=class{constructor(t){this.options=void 0,this.options=t}_splat(t,e){const r=t.message,o=t[l]||t.splat||[],n=r.match(F),a=n&&n.length||0,i=e.length-a-o.length,c=i<0?o.splice(i,-1*i):[],u=c.length;if(u)for(let s=0;s<u;s++)Object.assign(t,c[s]);return t.message=s(r,...o),t}transform(t){const e=t.message,s=t[l]||t.splat;if(!s||!s.length)return t;const r=e&&e.match&&e.match(A);if(!r&&(s||s.length)){const e=s.length>1?s.splice(0):s,r=e.length;if(r)for(let s=0;s<r;s++)Object.assign(t,e[s]);return t}return r?this._splat(t,r):t}}}),N=t(()=>{r(),y(),G=b((t,e={})=>(e.format&&(t.timestamp="function"==typeof e.format?e.format():o.format(new Date,e.format)),t.timestamp||(t.timestamp=(new Date).toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))}),P=t(()=>{h(),w(),S(),_(),y(),L(),x(),z(),I(),N(),m()});export{D as a,b as c,c as d,$ as i,p as l,G as n,M as o,C as r,j as s,P as t,d as u};
@@ -0,0 +1 @@
1
+ import{n as o}from"./rolldown-runtime-CHbrDDT0.js";import{it as r,rt as a}from"./zova-sdmNUH4m.js";import{m as s,p as t}from"./fecha-Dt-wbMrP.js";import{d as m}from"./zova-CybCK-Pu.js";import{t as i}from"./zova-D5ZWWzCV.js";import{n as p,t as f}from"./index-DBmne68H.js";var n;o(()=>{var o;r(),i(),p(),s(),n=a((o=t(function*({app:o}){yield m(o,f())}),function(r){return o.apply(this,arguments)}))})();export{n as default};