@burdenoff/microfe-store 2026.624.6 → 2026.625.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/StoreRoutes.js +3 -3
  2. package/dist/StoreRoutes.js.map +1 -1
  3. package/dist/components/AccessDenied.js +3 -3
  4. package/dist/components/AccessDenied.js.map +1 -1
  5. package/dist/components/InstallAppModal.js +107 -120
  6. package/dist/components/InstallAppModal.js.map +1 -1
  7. package/dist/components/cart/CartDrawer.js +10 -10
  8. package/dist/components/cart/CartDrawer.js.map +1 -1
  9. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/CombinedGraphQLErrors.js +1 -1
  10. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
  11. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/utils.js +1 -1
  12. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
  13. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/core/ApolloLink.js +2 -2
  14. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
  15. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/subscriptions/index.js +2 -2
  16. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
  17. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/utils/createOperation.js +1 -1
  18. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
  19. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
  20. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/graphql/print.js +1 -1
  21. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
  22. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/caches.js +2 -2
  23. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
  24. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/checkDocument.js +1 -1
  25. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
  26. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getMainDefinition.js +1 -1
  27. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
  28. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
  29. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
  30. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getOperationDefinition.js +1 -1
  31. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
  32. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
  33. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
  34. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/globals/global.js +1 -1
  35. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  36. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  37. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  38. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
  39. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
  40. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/makeUniqueId.js +1 -1
  41. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  42. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/memoize.js +2 -2
  43. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
  44. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/stringifyForDisplay.js +1 -1
  45. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  46. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/invariant/index.js +1 -1
  47. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  48. package/dist/node_modules/@apollo/client/version.js +6 -0
  49. package/dist/node_modules/@apollo/client/version.js.map +1 -0
  50. package/dist/node_modules/{.bun/@wry_caches@1.0.1/node_modules/@wry → @wry}/caches/lib/weak.js +1 -1
  51. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
  52. package/dist/node_modules/{.bun/@wry_trie@0.5.0/node_modules/@wry → @wry}/trie/lib/index.js +1 -1
  53. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
  54. package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/client.js +1 -1
  55. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -0
  56. package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/common-CGW11Fyb.js +1 -1
  57. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
  58. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/NotificationFactories.js +1 -1
  59. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  60. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Observable.js +1 -1
  61. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
  62. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscriber.js +2 -2
  63. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  64. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscription.js +2 -2
  65. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  66. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/config.js +1 -1
  67. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  68. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/observable/empty.js +1 -1
  69. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
  70. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/scheduler/timeoutProvider.js +2 -2
  71. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  72. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/symbol/observable.js +1 -1
  73. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
  74. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/UnsubscriptionError.js +1 -1
  75. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  76. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  77. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  78. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/createErrorClass.js +1 -1
  79. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  80. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/errorContext.js +1 -1
  81. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  82. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
  83. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
  84. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  85. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  86. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  87. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  88. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/pipe.js +1 -1
  89. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
  90. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/reportUnhandledError.js +1 -1
  91. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  92. package/dist/node_modules/{.bun/tslib@2.8.1 → rxjs}/node_modules/tslib/tslib.es6.js +1 -1
  93. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
  94. package/dist/pages/AdminDashboardPage.js +90 -89
  95. package/dist/pages/AdminDashboardPage.js.map +1 -1
  96. package/dist/pages/AdminReviewModerationPage.js +58 -56
  97. package/dist/pages/AdminReviewModerationPage.js.map +1 -1
  98. package/dist/pages/AdminStoresPage.js +391 -372
  99. package/dist/pages/AdminStoresPage.js.map +1 -1
  100. package/dist/pages/AdminSubmissionsQueuePage.js +134 -148
  101. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
  102. package/dist/pages/AppDetailPage.js +123 -120
  103. package/dist/pages/AppDetailPage.js.map +1 -1
  104. package/dist/pages/AppSettingsPage.js +70 -292
  105. package/dist/pages/AppSettingsPage.js.map +1 -1
  106. package/dist/pages/CartPage.js +60 -59
  107. package/dist/pages/CartPage.js.map +1 -1
  108. package/dist/pages/InstalledAppsPage.js +71 -100
  109. package/dist/pages/InstalledAppsPage.js.map +1 -1
  110. package/dist/pages/MarketplaceHomePage.js +176 -175
  111. package/dist/pages/MarketplaceHomePage.js.map +1 -1
  112. package/dist/pages/MyLicensesPage.js +34 -33
  113. package/dist/pages/MyLicensesPage.js.map +1 -1
  114. package/dist/pages/OrderConfirmationPage.js +38 -37
  115. package/dist/pages/OrderConfirmationPage.js.map +1 -1
  116. package/dist/pages/OrdersPage.js +20 -19
  117. package/dist/pages/OrdersPage.js.map +1 -1
  118. package/dist/pages/ProductDetailPage.js +101 -98
  119. package/dist/pages/ProductDetailPage.js.map +1 -1
  120. package/dist/pages/ProductReviewsPage.js +2 -2
  121. package/dist/pages/ProductReviewsPage.js.map +1 -1
  122. package/dist/pages/PublisherDashboardPage.js +93 -92
  123. package/dist/pages/PublisherDashboardPage.js.map +1 -1
  124. package/dist/pages/PublisherRevenuePage.js +61 -60
  125. package/dist/pages/PublisherRevenuePage.js.map +1 -1
  126. package/dist/pages/PublisherSubmissionsPage.js +97 -96
  127. package/dist/pages/PublisherSubmissionsPage.js.map +1 -1
  128. package/dist/pages/PublisherSubmitPage.js +189 -184
  129. package/dist/pages/PublisherSubmitPage.js.map +1 -1
  130. package/dist/providers/StoreProvider.js +3 -3
  131. package/package.json +2 -2
  132. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  133. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/utils.js.map +0 -1
  134. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  135. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
  136. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  137. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  138. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  139. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  140. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  141. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  142. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -9
  143. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  144. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  145. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -8
  146. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  147. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  148. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -10
  149. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  150. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -8
  151. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
  152. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  153. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  154. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  155. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  156. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js +0 -6
  157. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js.map +0 -1
  158. package/dist/node_modules/.bun/@wry_caches@1.0.1/node_modules/@wry/caches/lib/weak.js.map +0 -1
  159. package/dist/node_modules/.bun/@wry_trie@0.5.0/node_modules/@wry/trie/lib/index.js.map +0 -1
  160. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/client.js.map +0 -1
  161. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
  162. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  163. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  164. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  165. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  166. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  167. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  168. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  169. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  170. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  171. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -11
  172. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  173. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  174. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  175. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -8
  176. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  177. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -8
  178. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  179. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -6
  180. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  181. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  182. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  183. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +0 -1
  184. /package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/caching/sizes.js +0 -0
@@ -9,6 +9,7 @@ import { useCallback as a, useEffect as le, useMemo as ue, useRef as de, useStat
9
9
  import { AlertCircle as s, ArrowLeft as fe, Check as pe, Loader2 as me, Package as he, ShieldCheck as c, ShoppingCart as ge, Star as l, ThumbsUp as u } from "lucide-react";
10
10
  import { Fragment as _e, jsx as d, jsxs as f } from "react/jsx-runtime";
11
11
  import { useLocation as ve, useNavigate as ye, useParams as be } from "react-router-dom";
12
+ import { GlassCard as p } from "@burdenoff/fe-libs/ui";
12
13
  import { useEventBus as xe } from "@burdenoff/fe-libs/shared/events";
13
14
  //#region src/pages/ProductDetailPage.tsx
14
15
  var Se = (e, t) => ({
@@ -103,7 +104,7 @@ var Se = (e, t) => ({
103
104
  })
104
105
  ]
105
106
  }), we = ({ review: e, onMarkHelpful: t, markingHelpful: n }) => /* @__PURE__ */ f("div", {
106
- className: "rounded-lg border border-border-default bg-bg-surface p-4",
107
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
107
108
  children: [
108
109
  /* @__PURE__ */ d("div", {
109
110
  className: "mb-3 flex items-start justify-between",
@@ -243,7 +244,7 @@ var Se = (e, t) => ({
243
244
  className: "mb-4 flex items-center gap-2",
244
245
  children: [/* @__PURE__ */ d("div", { className: "size-5 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ d("div", { className: "h-6 w-32 animate-pulse rounded bg-bg-sunken" })]
245
246
  }), /* @__PURE__ */ f("div", {
246
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
247
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
247
248
  children: [/* @__PURE__ */ f("div", {
248
249
  className: "space-y-2",
249
250
  children: [
@@ -276,7 +277,7 @@ var Se = (e, t) => ({
276
277
  /* @__PURE__ */ f("div", {
277
278
  className: "mb-6 flex flex-col gap-6 md:flex-row",
278
279
  children: [/* @__PURE__ */ d("div", {
279
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4 md:w-64",
280
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4 md:w-64",
280
281
  children: /* @__PURE__ */ f("div", {
281
282
  className: "flex items-center gap-6",
282
283
  children: [/* @__PURE__ */ f("div", {
@@ -318,7 +319,7 @@ var Se = (e, t) => ({
318
319
  /* @__PURE__ */ d("div", {
319
320
  className: "space-y-4",
320
321
  children: [...[, ,]].map((e, t) => /* @__PURE__ */ f("div", {
321
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
322
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
322
323
  children: [/* @__PURE__ */ f("div", {
323
324
  className: "mb-3 flex items-start gap-3",
324
325
  children: [/* @__PURE__ */ d("div", { className: "size-10 rounded-full bg-bg-sunken" }), /* @__PURE__ */ f("div", {
@@ -351,7 +352,7 @@ var Se = (e, t) => ({
351
352
  className: "mb-4 flex items-center gap-2",
352
353
  children: [/* @__PURE__ */ d("div", { className: "size-5 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ d("div", { className: "h-6 w-48 animate-pulse rounded bg-bg-sunken" })]
353
354
  }), /* @__PURE__ */ d("div", {
354
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
355
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
355
356
  children: /* @__PURE__ */ d("div", {
356
357
  className: "grid gap-4 md:grid-cols-2",
357
358
  children: [...[
@@ -381,7 +382,7 @@ var Se = (e, t) => ({
381
382
  ,
382
383
  ,
383
384
  ]].map((e, t) => /* @__PURE__ */ d("div", {
384
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-3",
385
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-3",
385
386
  children: /* @__PURE__ */ f("div", {
386
387
  className: "flex items-center gap-3",
387
388
  children: [/* @__PURE__ */ d("div", { className: "size-14 rounded-xl bg-bg-sunken" }), /* @__PURE__ */ f("div", {
@@ -402,7 +403,7 @@ var Se = (e, t) => ({
402
403
  /* @__PURE__ */ f("section", {
403
404
  className: "mb-8",
404
405
  children: [/* @__PURE__ */ d("div", { className: "mb-4 h-6 w-36 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ f("div", {
405
- className: "animate-pulse rounded-lg border border-border-default bg-bg-surface p-4",
406
+ className: "animate-pulse rounded-lg border border-border-seam bg-bg-surface p-4",
406
407
  children: [/* @__PURE__ */ f("div", {
407
408
  className: "flex items-center gap-4",
408
409
  children: [/* @__PURE__ */ d("div", { className: "size-12 rounded-lg bg-bg-sunken" }), /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ f("div", {
@@ -448,13 +449,13 @@ var Se = (e, t) => ({
448
449
  ]
449
450
  })
450
451
  }), De = () => {
451
- let { productId: s } = be(), u = ye(), De = ve(), { basePath: p, workspaceId: m } = e(), { addProduct: h, cartItems: Oe, addingToCart: ke, createOrder: Ae, checkingOut: je } = t(), { installations: Me, refetch: g } = ae({
452
- filter: ue(() => s && m ? {
452
+ let { productId: s } = be(), u = ye(), De = ve(), { basePath: m, workspaceId: h } = e(), { addProduct: Oe, cartItems: ke, addingToCart: g, createOrder: Ae, checkingOut: je } = t(), { installations: Me, refetch: Ne } = ae({
453
+ filter: ue(() => s && h ? {
453
454
  productId: s,
454
- workspaceId: m
455
- } : void 0, [s, m]),
455
+ workspaceId: h
456
+ } : void 0, [s, h]),
456
457
  limit: 1
457
- }), Ne = Me.some((e) => e.productId === s && e.workspaceId === m && e.status === "ACTIVE"), { createReview: _, loading: v } = ee(), { updateReview: y, loading: Pe } = ie(), { deleteReview: b, loading: Fe } = te(), { markHelpful: Ie, loading: Le } = ne(), x = xe(), [S, Re] = o(!1), [C, ze] = o(!1), [Be, w] = o(!1), [T, E] = o(null), [D, O] = o(null), [Ve, k] = o("success"), [A, j] = o(!1), [M, N] = o(""), [P, F] = o(""), [I, L] = o(5), [He, R] = o(null), [Ue, z] = o(!1), { data: We, loading: Ge, error: B, refetch: V } = re({
458
+ }), Pe = Me.some((e) => e.productId === s && e.workspaceId === h && e.status === "ACTIVE"), { createReview: _, loading: Fe } = ee(), { updateReview: Ie, loading: v } = ie(), { deleteReview: y, loading: Le } = te(), { markHelpful: Re, loading: ze } = ne(), b = xe(), [x, Be] = o(!1), [S, Ve] = o(!1), [C, w] = o(!1), [T, E] = o(null), [D, O] = o(null), [He, k] = o("success"), [A, j] = o(!1), [M, N] = o(""), [P, F] = o(""), [I, L] = o(5), [Ue, R] = o(null), [We, z] = o(!1), { data: Ge, loading: Ke, error: B, refetch: V } = re({
458
459
  id: s,
459
460
  slug: s,
460
461
  includeReviews: !0,
@@ -462,14 +463,14 @@ var Se = (e, t) => ({
462
463
  includeRelated: !0,
463
464
  relatedLimit: 4,
464
465
  includeVersions: !0
465
- }), H = We, U = H?.product, W = H?.publisher, G = Oe.some((e) => e.productId === U?.id), Ke = a(async () => {
466
+ }), H = Ge, U = H?.product, W = H?.publisher, G = ke.some((e) => e.productId === U?.id), qe = a(async () => {
466
467
  if (U) {
467
468
  if (E(null), G) {
468
- u(`${p}/cart`);
469
+ u(`${m}/cart`);
469
470
  return;
470
471
  }
471
472
  try {
472
- await h(Se(U, W), void 0, 1);
473
+ await Oe(Se(U, W), void 0, 1);
473
474
  } catch (e) {
474
475
  console.error("Failed to add product to cart:", e), E("Failed to add this product to cart. Please try again.");
475
476
  }
@@ -477,11 +478,11 @@ var Se = (e, t) => ({
477
478
  }, [
478
479
  U,
479
480
  W,
480
- h,
481
+ Oe,
481
482
  G,
482
483
  u,
483
- p
484
- ]), qe = a(async () => {
484
+ m
485
+ ]), Je = a(async () => {
485
486
  if (U) {
486
487
  E(null), w(!0);
487
488
  try {
@@ -507,34 +508,34 @@ var Se = (e, t) => ({
507
508
  U,
508
509
  Ae,
509
510
  u
510
- ]), Je = a(() => {
511
+ ]), Ye = a(() => {
511
512
  U && z(!0);
512
- }, [U]), Ye = de(U);
513
- Ye.current = U;
514
- let Xe = de(x);
515
- Xe.current = x, le(() => {
516
- let e = Ye.current;
517
- e && Xe.current.emit("store.product.viewed", {
513
+ }, [U]), Xe = de(U);
514
+ Xe.current = U;
515
+ let Ze = de(b);
516
+ Ze.current = b, le(() => {
517
+ let e = Xe.current;
518
+ e && Ze.current.emit("store.product.viewed", {
518
519
  productId: e.id,
519
520
  productSlug: e.slug,
520
521
  productType: e.type,
521
522
  pricingModel: e.pricingModel
522
523
  });
523
524
  }, [U?.id]);
524
- let Ze = a((e, t) => {
525
- U && (x.emit("store.product.installed", {
525
+ let Qe = a((e, t) => {
526
+ U && (b.emit("store.product.installed", {
526
527
  productId: U.id,
527
528
  workspaceId: e
528
- }), console.log(`Successfully installed ${U.name} to workspace ${t} (${e})`), g());
529
+ }), console.log(`Successfully installed ${U.name} to workspace ${t} (${e})`), Ne());
529
530
  }, [
530
531
  U,
531
- x,
532
- g
533
- ]), Qe = a((e) => {
532
+ b,
533
+ Ne
534
+ ]), $e = a((e) => {
534
535
  console.error("Installation failed:", e.message);
535
- }, []), $e = a(() => {
536
+ }, []), et = a(() => {
536
537
  N(H?.userReview?.title ?? ""), F(H?.userReview?.comment ?? ""), L(H?.userReview?.rating ?? 5), O(null), k("success"), j(!0);
537
- }, [H?.userReview]), et = a(async () => {
538
+ }, [H?.userReview]), tt = a(async () => {
538
539
  if (!U) return;
539
540
  if (I < 1 || I > 5) {
540
541
  k("error"), O("Choose a rating from 1 to 5 stars.");
@@ -546,7 +547,7 @@ var Se = (e, t) => ({
546
547
  title: M.trim() || void 0,
547
548
  comment: P.trim() || void 0
548
549
  };
549
- if (!(H?.userReview ? await y(H.userReview.id, {
550
+ if (!(H?.userReview ? await Ie(H.userReview.id, {
550
551
  rating: e.rating,
551
552
  title: e.title,
552
553
  comment: e.comment
@@ -554,12 +555,12 @@ var Se = (e, t) => ({
554
555
  k("error"), O("We could not save your review. Please try again.");
555
556
  return;
556
557
  }
557
- k("success"), O(H?.userReview ? "Your review was updated." : "Your review was submitted."), j(!1), x.emit("store.review.submitted", {
558
+ k("success"), O(H?.userReview ? "Your review was updated." : "Your review was submitted."), j(!1), b.emit("store.review.submitted", {
558
559
  productId: U.id,
559
560
  rating: I
560
561
  }), await V();
561
562
  }, [
562
- x,
563
+ b,
563
564
  _,
564
565
  U,
565
566
  H?.userReview,
@@ -567,32 +568,32 @@ var Se = (e, t) => ({
567
568
  P,
568
569
  I,
569
570
  M,
570
- y
571
- ]), tt = a(async () => {
571
+ Ie
572
+ ]), nt = a(async () => {
572
573
  if (H?.userReview && (se("medium"), await oe({
573
574
  title: "Delete review",
574
575
  message: "Are you sure you want to remove your review?",
575
576
  okButtonTitle: "Delete",
576
577
  cancelButtonTitle: "Cancel"
577
578
  }) !== !1)) {
578
- if (!await b(H.userReview.id)) {
579
+ if (!await y(H.userReview.id)) {
579
580
  k("error"), O("We could not remove your review. Please try again."), i("error");
580
581
  return;
581
582
  }
582
583
  k("success"), O("Your review was removed."), j(!1), N(""), F(""), L(5), i("success"), await V();
583
584
  }
584
585
  }, [
585
- b,
586
+ y,
586
587
  H?.userReview,
587
588
  V
588
- ]), nt = a(async (e) => {
589
- R(e), await Ie(e) && await V(), R(null);
590
- }, [Ie, V]);
591
- if (Ge) return /* @__PURE__ */ d(Te, {});
589
+ ]), rt = a(async (e) => {
590
+ R(e), await Re(e) && await V(), R(null);
591
+ }, [Re, V]);
592
+ if (Ke) return /* @__PURE__ */ d(Te, {});
592
593
  if (B) return /* @__PURE__ */ d(Ee, {
593
594
  error: B,
594
595
  onRetry: V,
595
- onBack: () => u(`${p}/marketplace`)
596
+ onBack: () => u(`${m}/marketplace`)
596
597
  });
597
598
  if (!H?.product) return /* @__PURE__ */ d("div", {
598
599
  className: "flex h-full items-center justify-center",
@@ -609,14 +610,14 @@ var Se = (e, t) => ({
609
610
  }),
610
611
  /* @__PURE__ */ d("button", {
611
612
  type: "button",
612
- onClick: () => u(`${p}/marketplace`),
613
+ onClick: () => u(`${m}/marketplace`),
613
614
  className: "rounded-lg bg-action-primary-bg px-4 py-2 text-action-primary-text transition-opacity hover:opacity-90",
614
615
  children: "Back to Marketplace"
615
616
  })
616
617
  ]
617
618
  })
618
619
  });
619
- let { reviews: K, reviewsCount: rt, relatedProducts: q, ratingDistribution: J, isPurchased: Y, userEntitlement: X } = H, Z = U, Q = J ? J.fiveStars + J.fourStars + J.threeStars + J.twoStars + J.oneStar : 0, it = J ? [
620
+ let { reviews: K, reviewsCount: it, relatedProducts: q, ratingDistribution: J, isPurchased: Y, userEntitlement: X } = H, Z = U, Q = J ? J.fiveStars + J.fourStars + J.threeStars + J.twoStars + J.oneStar : 0, at = J ? [
620
621
  {
621
622
  stars: 5,
622
623
  count: J.fiveStars,
@@ -642,7 +643,7 @@ var Se = (e, t) => ({
642
643
  count: J.oneStar,
643
644
  percentage: Q > 0 ? J.oneStar / Q * 100 : 0
644
645
  }
645
- ] : [], at = Z.requiredPermissions || [], ot = Z.integrationDeps || [], st = () => Z.pricingModel === "FREE" ? "Free" : Z.pricingModel === "SUBSCRIPTION" ? `${r(Z.price, Z.currency)}/mo` : r(Z.price, Z.currency), $ = Z.pricingModel === "FREE" || Z.price === 0;
646
+ ] : [], ot = Z.requiredPermissions || [], st = Z.integrationDeps || [], ct = () => Z.pricingModel === "FREE" ? "Free" : Z.pricingModel === "SUBSCRIPTION" ? `${r(Z.price, Z.currency)}/mo` : r(Z.price, Z.currency), $ = Z.pricingModel === "FREE" || Z.price === 0;
646
647
  return /* @__PURE__ */ f("div", {
647
648
  className: "h-full overflow-y-auto bg-bg-base",
648
649
  children: [
@@ -711,7 +712,7 @@ var Se = (e, t) => ({
711
712
  /* @__PURE__ */ d(l, { className: "size-4 fill-current text-status-warning-text" }),
712
713
  /* @__PURE__ */ f("span", {
713
714
  className: "ml-1 text-xs text-text-muted",
714
- children: [n(rt || Z.reviewCount), " reviews"]
715
+ children: [n(it || Z.reviewCount), " reviews"]
715
716
  })
716
717
  ]
717
718
  }),
@@ -744,7 +745,7 @@ var Se = (e, t) => ({
744
745
  }),
745
746
  /* @__PURE__ */ f("div", {
746
747
  className: "mb-6 flex items-center gap-3",
747
- children: [Ne ? /* @__PURE__ */ f("button", {
748
+ children: [Pe ? /* @__PURE__ */ f("button", {
748
749
  type: "button",
749
750
  disabled: !0,
750
751
  className: "flex items-center gap-2 rounded-full bg-status-success-bg-subtle px-8 py-3 font-medium text-status-success-text cursor-default",
@@ -761,26 +762,26 @@ var Se = (e, t) => ({
761
762
  }), "Installed"]
762
763
  }) : Y && !$ ? /* @__PURE__ */ d("button", {
763
764
  type: "button",
764
- onClick: Je,
765
+ onClick: Ye,
765
766
  className: "cursor-pointer rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90",
766
767
  children: "Install to Workspace"
767
768
  }) : $ ? /* @__PURE__ */ d("button", {
768
769
  type: "button",
769
- onClick: Je,
770
+ onClick: Ye,
770
771
  className: "cursor-pointer rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90",
771
772
  children: "Install"
772
773
  }) : /* @__PURE__ */ d("button", {
773
774
  type: "button",
774
- onClick: qe,
775
- disabled: Be || je,
775
+ onClick: Je,
776
+ disabled: C || je,
776
777
  className: "cursor-pointer flex items-center gap-2 rounded-full bg-action-primary-bg px-8 py-3 font-medium text-action-primary-text transition-opacity hover:opacity-90 disabled:opacity-70",
777
- children: Be || je ? /* @__PURE__ */ f(_e, { children: [/* @__PURE__ */ d(me, { className: "size-4 animate-spin" }), "Processing…"] }) : `Buy ${st()}`
778
+ children: C || je ? /* @__PURE__ */ f(_e, { children: [/* @__PURE__ */ d(me, { className: "size-4 animate-spin" }), "Processing…"] }) : `Buy ${ct()}`
778
779
  }), !$ && !Y && /* @__PURE__ */ f("button", {
779
780
  type: "button",
780
- onClick: Ke,
781
- disabled: ke,
781
+ onClick: qe,
782
+ disabled: g,
782
783
  className: "cursor-pointer flex items-center gap-2 rounded-full border border-border-default px-4 py-3 text-sm text-text-primary transition-colors hover:bg-bg-sunken disabled:opacity-50",
783
- children: [ke ? /* @__PURE__ */ d(me, { className: "size-4 animate-spin" }) : G ? /* @__PURE__ */ d(pe, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ d(ge, { className: "size-4" }), G ? "In Cart" : "Add to Cart"]
784
+ children: [g ? /* @__PURE__ */ d(me, { className: "size-4 animate-spin" }) : G ? /* @__PURE__ */ d(pe, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ d(ge, { className: "size-4" }), G ? "In Cart" : "Add to Cart"]
784
785
  })]
785
786
  }),
786
787
  /* @__PURE__ */ f("p", {
@@ -854,19 +855,19 @@ var Se = (e, t) => ({
854
855
  /* @__PURE__ */ f("div", {
855
856
  className: "text-sm leading-relaxed text-text-secondary",
856
857
  children: [/* @__PURE__ */ d("p", {
857
- className: S ? "" : "line-clamp-4",
858
+ className: x ? "" : "line-clamp-4",
858
859
  children: Z.longDescription || Z.description || "No description available."
859
860
  }), ((Z.longDescription || Z.description)?.length ?? 0) > 200 && /* @__PURE__ */ d("button", {
860
861
  type: "button",
861
- onClick: () => Re(!S),
862
+ onClick: () => Be(!x),
862
863
  className: "cursor-pointer mt-3 text-sm font-medium text-text-link",
863
- children: S ? "Show less" : "Show more"
864
+ children: x ? "Show less" : "Show more"
864
865
  })]
865
866
  }),
866
867
  Z.tags && Z.tags.length > 0 && /* @__PURE__ */ d("div", {
867
868
  className: "mt-4 flex flex-wrap gap-2",
868
869
  children: Z.tags.map((e) => /* @__PURE__ */ d("span", {
869
- className: "rounded-full border border-border-default px-3 py-1.5 text-xs text-text-muted transition-colors hover:bg-bg-sunken",
870
+ className: "rounded-full border border-border-seam px-3 py-1.5 text-xs text-text-muted transition-colors hover:bg-bg-sunken",
870
871
  children: e
871
872
  }, e))
872
873
  })
@@ -882,15 +883,16 @@ var Se = (e, t) => ({
882
883
  children: "Ratings & Reviews"
883
884
  })
884
885
  }),
885
- /* @__PURE__ */ f("div", {
886
- className: "rounded-xl border border-border-default bg-bg-surface p-5",
886
+ /* @__PURE__ */ f(p, {
887
+ treatment: "insight",
888
+ className: "p-5",
887
889
  children: [K && K.length > 0 ? /* @__PURE__ */ f("div", {
888
890
  className: "flex items-start gap-8",
889
891
  children: [/* @__PURE__ */ f("div", {
890
892
  className: "text-center",
891
893
  children: [
892
894
  /* @__PURE__ */ d("p", {
893
- className: "text-5xl font-light text-text-primary",
895
+ className: "text-5xl font-light tabular-nums text-text-primary",
894
896
  children: (Z.rating || 0).toFixed(1)
895
897
  }),
896
898
  /* @__PURE__ */ d("div", {
@@ -905,12 +907,12 @@ var Se = (e, t) => ({
905
907
  }),
906
908
  /* @__PURE__ */ f("p", {
907
909
  className: "text-sm text-text-muted",
908
- children: [n(rt || Z.reviewCount), " reviews"]
910
+ children: [n(it || Z.reviewCount), " reviews"]
909
911
  })
910
912
  ]
911
- }), it.length > 0 && /* @__PURE__ */ d("div", {
913
+ }), at.length > 0 && /* @__PURE__ */ d("div", {
912
914
  className: "flex-1 space-y-1.5",
913
- children: it.map((e) => /* @__PURE__ */ d(Ce, { ...e }, e.stars))
915
+ children: at.map((e) => /* @__PURE__ */ d(Ce, { ...e }, e.stars))
914
916
  })]
915
917
  }) : /* @__PURE__ */ f("div", {
916
918
  className: "flex flex-col items-center justify-center py-6 text-center",
@@ -935,20 +937,20 @@ var Se = (e, t) => ({
935
937
  })
936
938
  ]
937
939
  }), /* @__PURE__ */ f("div", {
938
- className: "mt-6 border-t border-border-default pt-4",
940
+ className: "mt-6 border-t border-border-seam pt-4",
939
941
  children: [D && /* @__PURE__ */ d("p", {
940
- role: Ve === "success" ? "status" : "alert",
941
- className: `mb-3 rounded-lg px-3 py-2 text-sm ${Ve === "success" ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"}`,
942
+ role: He === "success" ? "status" : "alert",
943
+ className: `mb-3 rounded-lg px-3 py-2 text-sm ${He === "success" ? "bg-status-success-bg-subtle text-status-success-text" : "bg-status-error-bg-subtle text-status-error-text"}`,
942
944
  children: D
943
945
  }), Y || H?.userReview ? /* @__PURE__ */ f("div", {
944
946
  className: "space-y-4",
945
947
  children: [/* @__PURE__ */ d("button", {
946
948
  type: "button",
947
- onClick: () => A ? j(!1) : $e(),
949
+ onClick: () => A ? j(!1) : et(),
948
950
  className: "w-full cursor-pointer py-2 text-center text-sm font-medium text-text-primary transition-colors hover:text-text-link",
949
951
  children: H?.userReview ? A ? "Cancel review editing" : "Edit your review" : A ? "Cancel review" : "Write a Review"
950
952
  }), A && /* @__PURE__ */ f("div", {
951
- className: "rounded-xl border border-border-default bg-bg-sunken p-4",
953
+ className: "rounded-xl border border-border-seam bg-bg-sunken p-4",
952
954
  children: [
953
955
  /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
954
956
  className: "text-sm font-medium text-text-primary",
@@ -995,16 +997,16 @@ var Se = (e, t) => ({
995
997
  className: "mt-4 flex flex-wrap gap-3",
996
998
  children: [/* @__PURE__ */ d("button", {
997
999
  type: "button",
998
- onClick: et,
999
- disabled: v || Pe,
1000
+ onClick: tt,
1001
+ disabled: Fe || v,
1000
1002
  className: "cursor-pointer rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",
1001
- children: v || Pe ? "Saving..." : H?.userReview ? "Update Review" : "Submit Review"
1003
+ children: Fe || v ? "Saving..." : H?.userReview ? "Update Review" : "Submit Review"
1002
1004
  }), H?.userReview && /* @__PURE__ */ d("button", {
1003
1005
  type: "button",
1004
- onClick: tt,
1005
- disabled: Fe,
1006
+ onClick: nt,
1007
+ disabled: Le,
1006
1008
  className: "cursor-pointer rounded-lg border border-status-error-border px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle disabled:cursor-not-allowed disabled:opacity-60",
1007
- children: Fe ? "Removing..." : "Delete Review"
1009
+ children: Le ? "Removing..." : "Delete Review"
1008
1010
  })]
1009
1011
  })
1010
1012
  ]
@@ -1019,16 +1021,16 @@ var Se = (e, t) => ({
1019
1021
  className: "mt-4 space-y-3",
1020
1022
  children: [/* @__PURE__ */ d("ul", {
1021
1023
  className: "space-y-3",
1022
- children: (C ? K : K.slice(0, 2)).map((e) => /* @__PURE__ */ d("li", { children: /* @__PURE__ */ d(we, {
1024
+ children: (S ? K : K.slice(0, 2)).map((e) => /* @__PURE__ */ d("li", { children: /* @__PURE__ */ d(we, {
1023
1025
  review: e,
1024
- onMarkHelpful: nt,
1025
- markingHelpful: Le && He === e.id
1026
+ onMarkHelpful: rt,
1027
+ markingHelpful: ze && Ue === e.id
1026
1028
  }) }, e.id))
1027
1029
  }), K.length > 2 && /* @__PURE__ */ d("button", {
1028
1030
  type: "button",
1029
- onClick: () => ze(!C),
1031
+ onClick: () => Ve(!S),
1030
1032
  className: "cursor-pointer text-sm font-medium text-text-link",
1031
- children: C ? "Show less" : `Show all ${K.length} reviews`
1033
+ children: S ? "Show less" : `Show all ${K.length} reviews`
1032
1034
  })]
1033
1035
  }),
1034
1036
  (!K || K.length === 0) && /* @__PURE__ */ d("p", {
@@ -1037,14 +1039,14 @@ var Se = (e, t) => ({
1037
1039
  })
1038
1040
  ]
1039
1041
  }),
1040
- at.length > 0 && /* @__PURE__ */ f("section", {
1042
+ ot.length > 0 && /* @__PURE__ */ f("section", {
1041
1043
  className: "mb-8",
1042
1044
  children: [/* @__PURE__ */ d("h2", {
1043
1045
  className: "mb-4 text-lg font-medium text-text-primary",
1044
1046
  children: "Required Permissions"
1045
1047
  }), /* @__PURE__ */ d("div", {
1046
1048
  className: "space-y-2",
1047
- children: at.map((e) => /* @__PURE__ */ f("div", {
1049
+ children: ot.map((e) => /* @__PURE__ */ f("div", {
1048
1050
  className: "flex items-center gap-3 rounded-lg bg-bg-surface px-4 py-3",
1049
1051
  children: [/* @__PURE__ */ d(c, { className: "size-5 text-status-success-text" }), /* @__PURE__ */ d("span", {
1050
1052
  className: "text-sm text-text-primary",
@@ -1053,14 +1055,14 @@ var Se = (e, t) => ({
1053
1055
  }, e))
1054
1056
  })]
1055
1057
  }),
1056
- ot.length > 0 && /* @__PURE__ */ f("section", {
1058
+ st.length > 0 && /* @__PURE__ */ f("section", {
1057
1059
  className: "mb-8",
1058
1060
  children: [/* @__PURE__ */ d("h2", {
1059
1061
  className: "mb-4 text-lg font-medium text-text-primary",
1060
1062
  children: "Integrations"
1061
1063
  }), /* @__PURE__ */ d("div", {
1062
1064
  className: "flex flex-wrap gap-2",
1063
- children: ot.map((e) => /* @__PURE__ */ d("span", {
1065
+ children: st.map((e) => /* @__PURE__ */ d("span", {
1064
1066
  className: "rounded-lg bg-bg-surface px-4 py-2 text-sm font-medium text-text-primary",
1065
1067
  children: e
1066
1068
  }, e))
@@ -1071,8 +1073,9 @@ var Se = (e, t) => ({
1071
1073
  children: [/* @__PURE__ */ d("h2", {
1072
1074
  className: "mb-4 text-lg font-medium text-text-primary",
1073
1075
  children: "Additional Information"
1074
- }), /* @__PURE__ */ f("div", {
1075
- className: "grid grid-cols-2 gap-6 md:grid-cols-3",
1076
+ }), /* @__PURE__ */ f(p, {
1077
+ treatment: "metric",
1078
+ className: "grid grid-cols-2 gap-6 p-5 md:grid-cols-3",
1076
1079
  children: [
1077
1080
  Z.manifestVersion && /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
1078
1081
  className: "text-xs text-text-muted",
@@ -1123,8 +1126,8 @@ var Se = (e, t) => ({
1123
1126
  }), /* @__PURE__ */ f("div", {
1124
1127
  className: "w-full lg:w-80",
1125
1128
  children: [
1126
- (Z.documentationUrl || Z.repositoryUrl || W?.email) && /* @__PURE__ */ f("div", {
1127
- className: "mb-6 rounded-xl border border-border-default bg-bg-surface p-4",
1129
+ (Z.documentationUrl || Z.repositoryUrl || W?.email) && /* @__PURE__ */ f(p, {
1130
+ className: "mb-6 p-4",
1128
1131
  children: [/* @__PURE__ */ d("h3", {
1129
1132
  className: "font-medium text-text-primary",
1130
1133
  children: "App support"
@@ -1153,8 +1156,8 @@ var Se = (e, t) => ({
1153
1156
  ]
1154
1157
  })]
1155
1158
  }),
1156
- W && /* @__PURE__ */ f("div", {
1157
- className: "mb-6 rounded-xl border border-border-default bg-bg-surface p-4",
1159
+ W && /* @__PURE__ */ f(p, {
1160
+ className: "mb-6 p-4",
1158
1161
  children: [
1159
1162
  /* @__PURE__ */ d("h3", {
1160
1163
  className: "font-medium text-text-primary",
@@ -1187,7 +1190,7 @@ var Se = (e, t) => ({
1187
1190
  className: "space-y-3",
1188
1191
  children: q.slice(0, 4).map((e) => /* @__PURE__ */ f("button", {
1189
1192
  type: "button",
1190
- onClick: () => u(`${p}/marketplace/product/${e.id}`),
1193
+ onClick: () => u(`${m}/marketplace/product/${e.id}`),
1191
1194
  className: "flex w-full cursor-pointer items-center gap-3 rounded-lg p-2 text-left transition-colors hover:bg-bg-sunken",
1192
1195
  children: [e.icon ? /* @__PURE__ */ d("img", {
1193
1196
  src: e.icon,
@@ -1223,7 +1226,7 @@ var Se = (e, t) => ({
1223
1226
  })
1224
1227
  }),
1225
1228
  Z && /* @__PURE__ */ d(ce, {
1226
- isOpen: Ue,
1229
+ isOpen: We,
1227
1230
  onClose: () => z(!1),
1228
1231
  app: {
1229
1232
  id: Z.id,
@@ -1234,8 +1237,8 @@ var Se = (e, t) => ({
1234
1237
  version: Z.manifestVersion
1235
1238
  },
1236
1239
  purchaseState: Y && !$ ? "purchased" : "free",
1237
- onInstallSuccess: Ze,
1238
- onInstallError: Qe
1240
+ onInstallSuccess: Qe,
1241
+ onInstallError: $e
1239
1242
  })
1240
1243
  ]
1241
1244
  });