@burdenoff/microfe-product 2026.525.5 → 2026.527.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 (267) hide show
  1. package/dist/product/pages/ContentPageViewPage.js +1 -0
  2. package/dist/product/pages/ContentPageViewPage.js.map +1 -1
  3. package/dist/product/pages/ProductCatalogPage.js +4 -2
  4. package/dist/product/pages/ProductCatalogPage.js.map +1 -1
  5. package/dist/product/pages/ProductViewPage.js +3 -2
  6. package/dist/product/pages/ProductViewPage.js.map +1 -1
  7. package/dist/product/providers/ProductUserProvider.js +1 -1
  8. package/dist/product/providers/ProductUserProvider.js.map +1 -1
  9. package/dist/product-management/ProductManagementRoot.js +6 -2
  10. package/dist/product-management/ProductManagementRoot.js.map +1 -1
  11. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +1 -1
  12. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
  13. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +1 -0
  14. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
  15. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +6 -3
  16. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
  17. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +1 -0
  18. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
  19. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +8 -1
  20. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  21. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +1 -1
  22. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
  23. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +1 -0
  24. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
  25. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +3 -1
  26. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
  27. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +1 -1
  28. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
  29. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +8 -2
  30. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
  31. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +1 -0
  32. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
  33. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +3 -0
  34. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
  35. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +1 -0
  36. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
  37. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +8 -1
  38. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
  39. package/dist/product-management/modules/products/components/ProductForm.js +355 -350
  40. package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
  41. package/dist/product-management/modules/products/components/ProductPlans.js +8 -1
  42. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  43. package/dist/product-management/modules/products/pages/ProductCreatePage.js +1 -0
  44. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
  45. package/dist/product-management/modules/products/pages/ProductDetailPage.js +6 -2
  46. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
  47. package/dist/product-management/modules/products/pages/ProductEditPage.js +1 -0
  48. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
  49. package/dist/product-management/modules/products/pages/ProductsListPage.js +11 -4
  50. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  51. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +2 -2
  52. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
  53. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js +1 -1
  54. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.js.map +1 -1
  55. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +1 -0
  56. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
  57. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +4 -0
  58. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
  59. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +1 -0
  60. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
  61. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +9 -0
  62. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
  63. package/dist/product-management/providers/ProductConsoleProvider.js +1 -1
  64. package/dist/product-management/providers/ProductConsoleProvider.js.map +1 -1
  65. package/dist/product-management/shared/components/AuditHistoryTab.js +1 -1
  66. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
  67. package/dist/product-management/shared/components/feedback/EmptyState.js +1 -0
  68. package/dist/product-management/shared/components/feedback/EmptyState.js.map +1 -1
  69. package/dist/product-management/shared/components/feedback/ErrorState.js +2 -1
  70. package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -1
  71. package/dist/product-management/shared/components/input/SearchInput.js +1 -0
  72. package/dist/product-management/shared/components/input/SearchInput.js.map +1 -1
  73. package/dist/product-management/shared/utils/exportUtils.js.map +1 -1
  74. package/package.json +1 -1
  75. package/dist/generated/global-operations.d.ts +0 -2220
  76. package/dist/generated/global-operations.d.ts.map +0 -1
  77. package/dist/generated/global-types.d.ts +0 -22719
  78. package/dist/generated/global-types.d.ts.map +0 -1
  79. package/dist/generated/wspace-operations.d.ts +0 -2
  80. package/dist/generated/wspace-operations.d.ts.map +0 -1
  81. package/dist/generated/wspace-types.d.ts +0 -49106
  82. package/dist/generated/wspace-types.d.ts.map +0 -1
  83. package/dist/index.d.ts +0 -14
  84. package/dist/index.d.ts.map +0 -1
  85. package/dist/product/ProductUserRoot.d.ts +0 -4
  86. package/dist/product/ProductUserRoot.d.ts.map +0 -1
  87. package/dist/product/ProductUserRoutes.d.ts +0 -6
  88. package/dist/product/ProductUserRoutes.d.ts.map +0 -1
  89. package/dist/product/hooks/usePublicContentPage.d.ts +0 -9
  90. package/dist/product/hooks/usePublicContentPage.d.ts.map +0 -1
  91. package/dist/product/hooks/usePublicProduct.d.ts +0 -9
  92. package/dist/product/hooks/usePublicProduct.d.ts.map +0 -1
  93. package/dist/product/hooks/usePublicProducts.d.ts +0 -21
  94. package/dist/product/hooks/usePublicProducts.d.ts.map +0 -1
  95. package/dist/product/pages/ContentPageViewPage.d.ts +0 -2
  96. package/dist/product/pages/ContentPageViewPage.d.ts.map +0 -1
  97. package/dist/product/pages/ProductCatalogPage.d.ts +0 -2
  98. package/dist/product/pages/ProductCatalogPage.d.ts.map +0 -1
  99. package/dist/product/pages/ProductViewPage.d.ts +0 -2
  100. package/dist/product/pages/ProductViewPage.d.ts.map +0 -1
  101. package/dist/product/pages/UserProductsLandingPage.d.ts +0 -9
  102. package/dist/product/pages/UserProductsLandingPage.d.ts.map +0 -1
  103. package/dist/product/providers/ProductUserProvider.d.ts +0 -10
  104. package/dist/product/providers/ProductUserProvider.d.ts.map +0 -1
  105. package/dist/product/types/index.d.ts +0 -34
  106. package/dist/product/types/index.d.ts.map +0 -1
  107. package/dist/product-management/ProductManagementRoot.d.ts +0 -4
  108. package/dist/product-management/ProductManagementRoot.d.ts.map +0 -1
  109. package/dist/product-management/ProductManagementRoutes.d.ts +0 -6
  110. package/dist/product-management/ProductManagementRoutes.d.ts.map +0 -1
  111. package/dist/product-management/index.d.ts +0 -5
  112. package/dist/product-management/index.d.ts.map +0 -1
  113. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts +0 -10
  114. package/dist/product-management/modules/content-pages/components/ContentPageForm.d.ts.map +0 -1
  115. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts +0 -11
  116. package/dist/product-management/modules/content-pages/components/ContentPageStatusBadge.d.ts.map +0 -1
  117. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts +0 -76
  118. package/dist/product-management/modules/content-pages/hooks/useContentPages.d.ts.map +0 -1
  119. package/dist/product-management/modules/content-pages/index.d.ts +0 -15
  120. package/dist/product-management/modules/content-pages/index.d.ts.map +0 -1
  121. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts +0 -2
  122. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.d.ts.map +0 -1
  123. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts +0 -6
  124. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.d.ts.map +0 -1
  125. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts +0 -2
  126. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.d.ts.map +0 -1
  127. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts +0 -2
  128. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +0 -1
  129. package/dist/product-management/modules/content-pages/schemas/index.d.ts +0 -57
  130. package/dist/product-management/modules/content-pages/schemas/index.d.ts.map +0 -1
  131. package/dist/product-management/modules/content-pages/types/index.d.ts +0 -91
  132. package/dist/product-management/modules/content-pages/types/index.d.ts.map +0 -1
  133. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts +0 -11
  134. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.d.ts.map +0 -1
  135. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts +0 -8
  136. package/dist/product-management/modules/feature-flags/components/FeatureFlagStatusBadge.d.ts.map +0 -1
  137. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts +0 -8
  138. package/dist/product-management/modules/feature-flags/components/FeatureFlagTypeBadge.d.ts.map +0 -1
  139. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts +0 -58
  140. package/dist/product-management/modules/feature-flags/hooks/useFeatureFlags.d.ts.map +0 -1
  141. package/dist/product-management/modules/feature-flags/index.d.ts +0 -13
  142. package/dist/product-management/modules/feature-flags/index.d.ts.map +0 -1
  143. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts +0 -3
  144. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.d.ts.map +0 -1
  145. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts +0 -3
  146. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.d.ts.map +0 -1
  147. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts +0 -3
  148. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.d.ts.map +0 -1
  149. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts +0 -3
  150. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.d.ts.map +0 -1
  151. package/dist/product-management/modules/feature-flags/schemas/index.d.ts +0 -35
  152. package/dist/product-management/modules/feature-flags/schemas/index.d.ts.map +0 -1
  153. package/dist/product-management/modules/feature-flags/types/index.d.ts +0 -86
  154. package/dist/product-management/modules/feature-flags/types/index.d.ts.map +0 -1
  155. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts +0 -10
  156. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.d.ts.map +0 -1
  157. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts +0 -73
  158. package/dist/product-management/modules/press-kit/hooks/usePressKitAssets.d.ts.map +0 -1
  159. package/dist/product-management/modules/press-kit/index.d.ts +0 -14
  160. package/dist/product-management/modules/press-kit/index.d.ts.map +0 -1
  161. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts +0 -2
  162. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.d.ts.map +0 -1
  163. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts +0 -2
  164. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.d.ts.map +0 -1
  165. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts +0 -2
  166. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.d.ts.map +0 -1
  167. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts +0 -2
  168. package/dist/product-management/modules/press-kit/pages/PressKitListPage.d.ts.map +0 -1
  169. package/dist/product-management/modules/press-kit/schemas/index.d.ts +0 -60
  170. package/dist/product-management/modules/press-kit/schemas/index.d.ts.map +0 -1
  171. package/dist/product-management/modules/press-kit/types/index.d.ts +0 -73
  172. package/dist/product-management/modules/press-kit/types/index.d.ts.map +0 -1
  173. package/dist/product-management/modules/products/components/ProductCard.d.ts +0 -15
  174. package/dist/product-management/modules/products/components/ProductCard.d.ts.map +0 -1
  175. package/dist/product-management/modules/products/components/ProductForm.d.ts +0 -10
  176. package/dist/product-management/modules/products/components/ProductForm.d.ts.map +0 -1
  177. package/dist/product-management/modules/products/components/ProductPlans.d.ts +0 -8
  178. package/dist/product-management/modules/products/components/ProductPlans.d.ts.map +0 -1
  179. package/dist/product-management/modules/products/components/ProductStats.d.ts +0 -23
  180. package/dist/product-management/modules/products/components/ProductStats.d.ts.map +0 -1
  181. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts +0 -12
  182. package/dist/product-management/modules/products/components/ProductStatusBadge.d.ts.map +0 -1
  183. package/dist/product-management/modules/products/hooks/useProducts.d.ts +0 -103
  184. package/dist/product-management/modules/products/hooks/useProducts.d.ts.map +0 -1
  185. package/dist/product-management/modules/products/index.d.ts +0 -16
  186. package/dist/product-management/modules/products/index.d.ts.map +0 -1
  187. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts +0 -2
  188. package/dist/product-management/modules/products/pages/ProductCreatePage.d.ts.map +0 -1
  189. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts +0 -6
  190. package/dist/product-management/modules/products/pages/ProductDetailPage.d.ts.map +0 -1
  191. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts +0 -2
  192. package/dist/product-management/modules/products/pages/ProductEditPage.d.ts.map +0 -1
  193. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts +0 -2
  194. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +0 -1
  195. package/dist/product-management/modules/products/schemas/index.d.ts +0 -61
  196. package/dist/product-management/modules/products/schemas/index.d.ts.map +0 -1
  197. package/dist/product-management/modules/products/types/index.d.ts +0 -115
  198. package/dist/product-management/modules/products/types/index.d.ts.map +0 -1
  199. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts +0 -6
  200. package/dist/product-management/modules/shortcuts/components/ShortcutCategoryBadge.d.ts.map +0 -1
  201. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts +0 -10
  202. package/dist/product-management/modules/shortcuts/components/ShortcutForm.d.ts.map +0 -1
  203. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts +0 -11
  204. package/dist/product-management/modules/shortcuts/components/ShortcutKeyBadge.d.ts.map +0 -1
  205. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts +0 -85
  206. package/dist/product-management/modules/shortcuts/hooks/useShortcuts.d.ts.map +0 -1
  207. package/dist/product-management/modules/shortcuts/index.d.ts +0 -17
  208. package/dist/product-management/modules/shortcuts/index.d.ts.map +0 -1
  209. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts +0 -2
  210. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.d.ts.map +0 -1
  211. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts +0 -2
  212. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.d.ts.map +0 -1
  213. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts +0 -2
  214. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.d.ts.map +0 -1
  215. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts +0 -2
  216. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.d.ts.map +0 -1
  217. package/dist/product-management/modules/shortcuts/schemas/index.d.ts +0 -35
  218. package/dist/product-management/modules/shortcuts/schemas/index.d.ts.map +0 -1
  219. package/dist/product-management/modules/shortcuts/types/index.d.ts +0 -28
  220. package/dist/product-management/modules/shortcuts/types/index.d.ts.map +0 -1
  221. package/dist/product-management/providers/ProductConsoleProvider.d.ts +0 -18
  222. package/dist/product-management/providers/ProductConsoleProvider.d.ts.map +0 -1
  223. package/dist/product-management/shared/components/AuditHistoryTab.d.ts +0 -7
  224. package/dist/product-management/shared/components/AuditHistoryTab.d.ts.map +0 -1
  225. package/dist/product-management/shared/components/TagList.d.ts +0 -7
  226. package/dist/product-management/shared/components/TagList.d.ts.map +0 -1
  227. package/dist/product-management/shared/components/feedback/EmptyState.d.ts +0 -13
  228. package/dist/product-management/shared/components/feedback/EmptyState.d.ts.map +0 -1
  229. package/dist/product-management/shared/components/feedback/ErrorState.d.ts +0 -18
  230. package/dist/product-management/shared/components/feedback/ErrorState.d.ts.map +0 -1
  231. package/dist/product-management/shared/components/feedback/LoadingState.d.ts +0 -13
  232. package/dist/product-management/shared/components/feedback/LoadingState.d.ts.map +0 -1
  233. package/dist/product-management/shared/components/input/ProductCombobox.d.ts +0 -29
  234. package/dist/product-management/shared/components/input/ProductCombobox.d.ts.map +0 -1
  235. package/dist/product-management/shared/components/input/SearchInput.d.ts +0 -22
  236. package/dist/product-management/shared/components/input/SearchInput.d.ts.map +0 -1
  237. package/dist/product-management/shared/components/input/TagInput.d.ts +0 -10
  238. package/dist/product-management/shared/components/input/TagInput.d.ts.map +0 -1
  239. package/dist/product-management/shared/hooks/useDebounced.d.ts +0 -6
  240. package/dist/product-management/shared/hooks/useDebounced.d.ts.map +0 -1
  241. package/dist/product-management/shared/hooks/useTr.d.ts +0 -17
  242. package/dist/product-management/shared/hooks/useTr.d.ts.map +0 -1
  243. package/dist/product-management/shared/index.d.ts +0 -11
  244. package/dist/product-management/shared/index.d.ts.map +0 -1
  245. package/dist/product-management/shared/index.js +0 -5
  246. package/dist/product-management/shared/types/graphql.d.ts +0 -119
  247. package/dist/product-management/shared/types/graphql.d.ts.map +0 -1
  248. package/dist/product-management/shared/utils/cn.d.ts +0 -7
  249. package/dist/product-management/shared/utils/cn.d.ts.map +0 -1
  250. package/dist/product-management/shared/utils/exportUtils.d.ts +0 -5
  251. package/dist/product-management/shared/utils/exportUtils.d.ts.map +0 -1
  252. package/dist/product-management/types/index.d.ts +0 -40
  253. package/dist/product-management/types/index.d.ts.map +0 -1
  254. package/dist/shared/components/index.d.ts +0 -10
  255. package/dist/shared/components/index.d.ts.map +0 -1
  256. package/dist/shared/index.d.ts +0 -3
  257. package/dist/shared/index.d.ts.map +0 -1
  258. package/dist/shared/utils/formatDate.d.ts +0 -5
  259. package/dist/shared/utils/formatDate.d.ts.map +0 -1
  260. package/dist/shared/utils/index.d.ts +0 -4
  261. package/dist/shared/utils/index.d.ts.map +0 -1
  262. package/dist/shared/utils/isSafeUrl.d.ts +0 -6
  263. package/dist/shared/utils/isSafeUrl.d.ts.map +0 -1
  264. package/dist/shared/utils/renderMarkdown.d.ts +0 -10
  265. package/dist/shared/utils/renderMarkdown.d.ts.map +0 -1
  266. package/dist/utils/nativeBridge.d.ts +0 -3
  267. package/dist/utils/nativeBridge.d.ts.map +0 -1
@@ -7,174 +7,179 @@ import { useState as o } from "react";
7
7
  import { ChevronDown as s, ChevronRight as c, Loader2 as l, Plus as u, Shield as d, X as f } from "lucide-react";
8
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
9
9
  //#region src/product-management/modules/products/components/ProductForm.tsx
10
- function h(e) {
10
+ var h = 0, g = (e) => `${e}-${++h}`;
11
+ function _(e) {
11
12
  if (e?.socialLinks && typeof e.socialLinks == "object") {
12
13
  let t = Object.entries(e.socialLinks);
13
14
  if (t.length > 0) return t.map(([e, t]) => ({
15
+ id: g("social"),
14
16
  platform: e,
15
17
  url: t
16
18
  }));
17
19
  }
18
20
  return [];
19
21
  }
20
- function g(e) {
22
+ function v(e) {
21
23
  if (e?.resourceLinks && typeof e.resourceLinks == "object") {
22
24
  let t = Object.entries(e.resourceLinks);
23
25
  if (t.length > 0) return t.map(([e, t]) => ({
26
+ id: g("resource"),
24
27
  resource: e,
25
28
  url: t
26
29
  }));
27
30
  }
28
31
  return [];
29
32
  }
30
- function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
31
- let x = e(), [S, C] = o({
32
- name: _?.name || "",
33
- slug: _?.slug || "",
34
- description: _?.description || "",
35
- status: _?.status || t.ACTIVE,
36
- logoUrl: _?.logoUrl || "",
37
- website: _?.website || "",
38
- appUrl: _?.appUrl || "",
39
- docsUrl: _?.docsUrl || "",
40
- githubUrl: _?.githubUrl || "",
41
- statusPageUrl: _?.statusPageUrl || "",
42
- contactEmail: _?.contactEmail || "",
43
- supportEmail: _?.supportEmail || "",
44
- contactPhone: _?.contactPhone || "",
45
- contactAddress: _?.contactAddress || "",
46
- seoTitle: _?.seoTitle || "",
47
- seoDescription: _?.seoDescription || "",
48
- seoKeywords: _?.seoKeywords || "",
49
- ogImage: _?.ogImage || "",
50
- appStoreUrl: _?.appStoreUrl || "",
51
- playStoreUrl: _?.playStoreUrl || ""
52
- }), [w, T] = o(h(_)), [E, D] = o(g(_)), [O, k] = o(_?.tags ?? []), [A, j] = o({}), [M, N] = o({
33
+ function y({ product: h, onSubmit: y, onCancel: b, loading: x }) {
34
+ let S = e(), [C, w] = o({
35
+ name: h?.name || "",
36
+ slug: h?.slug || "",
37
+ description: h?.description || "",
38
+ status: h?.status || t.ACTIVE,
39
+ logoUrl: h?.logoUrl || "",
40
+ website: h?.website || "",
41
+ appUrl: h?.appUrl || "",
42
+ docsUrl: h?.docsUrl || "",
43
+ githubUrl: h?.githubUrl || "",
44
+ statusPageUrl: h?.statusPageUrl || "",
45
+ contactEmail: h?.contactEmail || "",
46
+ supportEmail: h?.supportEmail || "",
47
+ contactPhone: h?.contactPhone || "",
48
+ contactAddress: h?.contactAddress || "",
49
+ seoTitle: h?.seoTitle || "",
50
+ seoDescription: h?.seoDescription || "",
51
+ seoKeywords: h?.seoKeywords || "",
52
+ ogImage: h?.ogImage || "",
53
+ appStoreUrl: h?.appStoreUrl || "",
54
+ playStoreUrl: h?.playStoreUrl || ""
55
+ }), [T, E] = o(() => _(h)), [D, O] = o(() => v(h)), [k, A] = o(h?.tags ?? []), [j, M] = o({}), [N, P] = o({
53
56
  contact: !1,
54
57
  seo: !1,
55
58
  appStore: !1,
56
59
  social: !1,
57
60
  resources: !1,
58
61
  integrations: !1
59
- }), P = (e) => {
60
- N((t) => ({
62
+ }), F = (e) => {
63
+ P((t) => ({
61
64
  ...t,
62
65
  [e]: !t[e]
63
66
  }));
64
- }, F = () => {
65
- T((e) => [...e, {
67
+ }, I = () => {
68
+ E((e) => [...e, {
69
+ id: g("social"),
66
70
  platform: "",
67
71
  url: ""
68
72
  }]);
69
- }, I = (e) => {
70
- T((t) => t.filter((t, n) => n !== e));
71
- }, L = (e, t, n) => {
72
- T((r) => r.map((r, i) => i === e ? {
73
+ }, L = (e) => {
74
+ E((t) => t.filter((t, n) => n !== e));
75
+ }, R = (e, t, n) => {
76
+ E((r) => r.map((r, i) => i === e ? {
73
77
  ...r,
74
78
  [t]: n
75
79
  } : r));
76
- }, R = () => {
77
- let e = w.filter((e) => e.platform.trim() !== "" && e.url.trim() !== "");
80
+ }, z = () => {
81
+ let e = T.filter((e) => e.platform.trim() !== "" && e.url.trim() !== "");
78
82
  if (e.length === 0) return;
79
83
  let t = {};
80
84
  return e.forEach((e) => {
81
85
  t[e.platform.trim()] = e.url.trim();
82
86
  }), t;
83
- }, z = () => {
84
- D((e) => [...e, {
87
+ }, B = () => {
88
+ O((e) => [...e, {
89
+ id: g("resource"),
85
90
  resource: "",
86
91
  url: ""
87
92
  }]);
88
- }, B = (e) => {
89
- D((t) => t.filter((t, n) => n !== e));
90
- }, V = (e, t, n) => {
91
- D((r) => r.map((r, i) => i === e ? {
93
+ }, V = (e) => {
94
+ O((t) => t.filter((t, n) => n !== e));
95
+ }, H = (e, t, n) => {
96
+ O((r) => r.map((r, i) => i === e ? {
92
97
  ...r,
93
98
  [t]: n
94
99
  } : r));
95
- }, H = () => {
96
- let e = E.filter((e) => e.resource.trim() !== "" && e.url.trim() !== "");
100
+ }, U = () => {
101
+ let e = D.filter((e) => e.resource.trim() !== "" && e.url.trim() !== "");
97
102
  if (e.length === 0) return;
98
103
  let t = {};
99
104
  return e.forEach((e) => {
100
105
  t[e.resource.trim()] = e.url.trim();
101
106
  }), t;
102
- }, U = () => {
107
+ }, W = () => {
103
108
  try {
104
- let e = _ ? a : i, t = {
105
- ...S,
106
- socialLinks: R(),
107
- resourceLinks: H()
109
+ let e = h ? a : i, t = {
110
+ ...C,
111
+ socialLinks: z(),
112
+ resourceLinks: U()
108
113
  };
109
- return e.parse(t), j({}), !0;
114
+ return e.parse(t), M({}), !0;
110
115
  } catch (e) {
111
116
  if (e instanceof r) {
112
117
  let t = {};
113
118
  e.issues.forEach((e) => {
114
119
  let n = e.path.join(".");
115
120
  t[n] = e.message;
116
- }), j(t);
121
+ }), M(t);
117
122
  }
118
123
  return !1;
119
124
  }
120
- }, W = async (e) => {
121
- if (e.preventDefault(), !U()) return;
122
- let t = R(), n = H();
123
- await v(_ ? {
124
- name: S.name === _.name ? void 0 : S.name,
125
- description: S.description === _.description ? void 0 : S.description,
126
- status: S.status === _.status ? void 0 : S.status,
127
- logoUrl: S.logoUrl === _.logoUrl ? void 0 : S.logoUrl,
128
- website: S.website === _.website ? void 0 : S.website,
129
- appUrl: S.appUrl === _.appUrl ? void 0 : S.appUrl,
130
- docsUrl: S.docsUrl === _.docsUrl ? void 0 : S.docsUrl,
131
- githubUrl: S.githubUrl === _.githubUrl ? void 0 : S.githubUrl,
132
- statusPageUrl: S.statusPageUrl === _.statusPageUrl ? void 0 : S.statusPageUrl,
133
- contactEmail: S.contactEmail === (_.contactEmail || "") ? void 0 : S.contactEmail,
134
- supportEmail: S.supportEmail === (_.supportEmail || "") ? void 0 : S.supportEmail,
135
- contactPhone: S.contactPhone === (_.contactPhone || "") ? void 0 : S.contactPhone,
136
- contactAddress: S.contactAddress === (_.contactAddress || "") ? void 0 : S.contactAddress,
137
- seoTitle: S.seoTitle === (_.seoTitle || "") ? void 0 : S.seoTitle,
138
- seoDescription: S.seoDescription === (_.seoDescription || "") ? void 0 : S.seoDescription,
139
- seoKeywords: S.seoKeywords === (_.seoKeywords || "") ? void 0 : S.seoKeywords,
140
- ogImage: S.ogImage === (_.ogImage || "") ? void 0 : S.ogImage,
141
- appStoreUrl: S.appStoreUrl === (_.appStoreUrl || "") ? void 0 : S.appStoreUrl,
142
- playStoreUrl: S.playStoreUrl === (_.playStoreUrl || "") ? void 0 : S.playStoreUrl,
125
+ }, G = async (e) => {
126
+ if (e.preventDefault(), !W()) return;
127
+ let t = z(), n = U();
128
+ await y(h ? {
129
+ name: C.name === h.name ? void 0 : C.name,
130
+ description: C.description === h.description ? void 0 : C.description,
131
+ status: C.status === h.status ? void 0 : C.status,
132
+ logoUrl: C.logoUrl === h.logoUrl ? void 0 : C.logoUrl,
133
+ website: C.website === h.website ? void 0 : C.website,
134
+ appUrl: C.appUrl === h.appUrl ? void 0 : C.appUrl,
135
+ docsUrl: C.docsUrl === h.docsUrl ? void 0 : C.docsUrl,
136
+ githubUrl: C.githubUrl === h.githubUrl ? void 0 : C.githubUrl,
137
+ statusPageUrl: C.statusPageUrl === h.statusPageUrl ? void 0 : C.statusPageUrl,
138
+ contactEmail: C.contactEmail === (h.contactEmail || "") ? void 0 : C.contactEmail,
139
+ supportEmail: C.supportEmail === (h.supportEmail || "") ? void 0 : C.supportEmail,
140
+ contactPhone: C.contactPhone === (h.contactPhone || "") ? void 0 : C.contactPhone,
141
+ contactAddress: C.contactAddress === (h.contactAddress || "") ? void 0 : C.contactAddress,
142
+ seoTitle: C.seoTitle === (h.seoTitle || "") ? void 0 : C.seoTitle,
143
+ seoDescription: C.seoDescription === (h.seoDescription || "") ? void 0 : C.seoDescription,
144
+ seoKeywords: C.seoKeywords === (h.seoKeywords || "") ? void 0 : C.seoKeywords,
145
+ ogImage: C.ogImage === (h.ogImage || "") ? void 0 : C.ogImage,
146
+ appStoreUrl: C.appStoreUrl === (h.appStoreUrl || "") ? void 0 : C.appStoreUrl,
147
+ playStoreUrl: C.playStoreUrl === (h.playStoreUrl || "") ? void 0 : C.playStoreUrl,
143
148
  socialLinks: t,
144
149
  resourceLinks: n,
145
- tags: O,
150
+ tags: k,
146
151
  ...(() => {
147
152
  let t = e.target, n = t.elements.namedItem("recaptchaSiteKey")?.value, r = t.elements.namedItem("recaptchaSecretKey")?.value, i = {};
148
- return n && n !== (_.recaptchaSiteKey || "") && (i.recaptchaSiteKey = n), r && (i.recaptchaSecretKey = r), i;
153
+ return n && n !== (h.recaptchaSiteKey || "") && (i.recaptchaSiteKey = n), r && (i.recaptchaSecretKey = r), i;
149
154
  })()
150
155
  } : {
151
- name: S.name,
152
- slug: S.slug,
153
- description: S.description || void 0,
154
- status: S.status,
155
- logoUrl: S.logoUrl || void 0,
156
- website: S.website || void 0,
157
- appUrl: S.appUrl || void 0,
158
- docsUrl: S.docsUrl || void 0,
159
- githubUrl: S.githubUrl || void 0,
160
- statusPageUrl: S.statusPageUrl || void 0,
161
- contactEmail: S.contactEmail || void 0,
162
- supportEmail: S.supportEmail || void 0,
163
- contactPhone: S.contactPhone || void 0,
164
- contactAddress: S.contactAddress || void 0,
165
- seoTitle: S.seoTitle || void 0,
166
- seoDescription: S.seoDescription || void 0,
167
- seoKeywords: S.seoKeywords || void 0,
168
- ogImage: S.ogImage || void 0,
169
- appStoreUrl: S.appStoreUrl || void 0,
170
- playStoreUrl: S.playStoreUrl || void 0,
156
+ name: C.name,
157
+ slug: C.slug,
158
+ description: C.description || void 0,
159
+ status: C.status,
160
+ logoUrl: C.logoUrl || void 0,
161
+ website: C.website || void 0,
162
+ appUrl: C.appUrl || void 0,
163
+ docsUrl: C.docsUrl || void 0,
164
+ githubUrl: C.githubUrl || void 0,
165
+ statusPageUrl: C.statusPageUrl || void 0,
166
+ contactEmail: C.contactEmail || void 0,
167
+ supportEmail: C.supportEmail || void 0,
168
+ contactPhone: C.contactPhone || void 0,
169
+ contactAddress: C.contactAddress || void 0,
170
+ seoTitle: C.seoTitle || void 0,
171
+ seoDescription: C.seoDescription || void 0,
172
+ seoKeywords: C.seoKeywords || void 0,
173
+ ogImage: C.ogImage || void 0,
174
+ appStoreUrl: C.appStoreUrl || void 0,
175
+ playStoreUrl: C.playStoreUrl || void 0,
171
176
  socialLinks: t,
172
177
  resourceLinks: n,
173
- tags: O
178
+ tags: k
174
179
  });
175
- }, G = "\n w-full px-3 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n placeholder:text-text-tertiary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n disabled:bg-muted disabled:cursor-not-allowed\n transition-all duration-200\n ", K = "\n flex items-center gap-2 w-full text-left\n text-sm font-semibold text-text-secondary uppercase tracking-wider\n cursor-pointer hover:text-text-primary transition-colors duration-200\n ";
180
+ }, K = "\n w-full px-3 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n placeholder:text-text-tertiary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n disabled:bg-muted disabled:cursor-not-allowed\n transition-all duration-200\n ", q = "\n flex items-center gap-2 w-full text-left\n text-sm font-semibold text-text-secondary uppercase tracking-wider\n cursor-pointer hover:text-text-primary transition-colors duration-200\n ";
176
181
  return /* @__PURE__ */ m("form", {
177
- onSubmit: W,
182
+ onSubmit: G,
178
183
  className: "space-y-6 animate-in fade-in duration-300",
179
184
  children: [
180
185
  /* @__PURE__ */ m("div", {
@@ -182,14 +187,14 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
182
187
  children: [
183
188
  /* @__PURE__ */ p("h3", {
184
189
  className: "text-sm font-semibold text-text-secondary uppercase tracking-wider",
185
- children: x("products.basicInformation", "Basic Information")
190
+ children: S("products.basicInformation", "Basic Information")
186
191
  }),
187
192
  /* @__PURE__ */ m("div", { children: [
188
193
  /* @__PURE__ */ m("label", {
189
194
  htmlFor: "name",
190
195
  className: "block text-sm font-medium text-text-primary mb-1",
191
196
  children: [
192
- x("products.productName", "Product Name"),
197
+ S("products.productName", "Product Name"),
193
198
  " ",
194
199
  /* @__PURE__ */ p("span", {
195
200
  className: "text-[var(--color-status-error)]",
@@ -200,19 +205,19 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
200
205
  /* @__PURE__ */ p("input", {
201
206
  id: "name",
202
207
  type: "text",
203
- value: S.name,
204
- onChange: (e) => C({
205
- ...S,
208
+ value: C.name,
209
+ onChange: (e) => w({
210
+ ...C,
206
211
  name: e.target.value
207
212
  }),
208
- className: G,
209
- placeholder: x("products.enterProductName", "Enter product name"),
210
- disabled: b,
213
+ className: K,
214
+ placeholder: S("products.enterProductName", "Enter product name"),
215
+ disabled: x,
211
216
  required: !0
212
217
  }),
213
- A.name && /* @__PURE__ */ p("p", {
218
+ j.name && /* @__PURE__ */ p("p", {
214
219
  className: "text-sm text-[var(--color-status-error)] mt-1",
215
- children: A.name
220
+ children: j.name
216
221
  })
217
222
  ] }),
218
223
  /* @__PURE__ */ m("div", { children: [
@@ -220,7 +225,7 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
220
225
  htmlFor: "slug",
221
226
  className: "block text-sm font-medium text-text-primary mb-1",
222
227
  children: [
223
- x("products.slug", "Slug"),
228
+ S("products.slug", "Slug"),
224
229
  " ",
225
230
  /* @__PURE__ */ p("span", {
226
231
  className: "text-[var(--color-status-error)]",
@@ -231,86 +236,86 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
231
236
  /* @__PURE__ */ p("input", {
232
237
  id: "slug",
233
238
  type: "text",
234
- value: S.slug,
235
- onChange: (e) => C({
236
- ...S,
239
+ value: C.slug,
240
+ onChange: (e) => w({
241
+ ...C,
237
242
  slug: e.target.value.toLowerCase().replace(/\s+/g, "-")
238
243
  }),
239
- className: G,
244
+ className: K,
240
245
  placeholder: "product-slug",
241
- disabled: b || !!_,
242
- required: !_
246
+ disabled: x || !!h,
247
+ required: !h
243
248
  }),
244
249
  /* @__PURE__ */ p("p", {
245
250
  className: "text-xs text-text-tertiary mt-1",
246
- children: x("products.slugHint", "Lowercase letters, numbers, and hyphens only. Cannot be changed after creation.")
251
+ children: S("products.slugHint", "Lowercase letters, numbers, and hyphens only. Cannot be changed after creation.")
247
252
  }),
248
- A.slug && /* @__PURE__ */ p("p", {
253
+ j.slug && /* @__PURE__ */ p("p", {
249
254
  className: "text-sm text-[var(--color-status-error)] mt-1",
250
- children: A.slug
255
+ children: j.slug
251
256
  })
252
257
  ] }),
253
258
  /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
254
259
  htmlFor: "description",
255
260
  className: "block text-sm font-medium text-text-primary mb-1",
256
- children: x("products.description", "Description")
261
+ children: S("products.description", "Description")
257
262
  }), /* @__PURE__ */ p("textarea", {
258
263
  id: "description",
259
- value: S.description,
260
- onChange: (e) => C({
261
- ...S,
264
+ value: C.description,
265
+ onChange: (e) => w({
266
+ ...C,
262
267
  description: e.target.value
263
268
  }),
264
269
  rows: 3,
265
- className: G,
266
- placeholder: x("products.enterProductDescription", "Enter product description"),
267
- disabled: b
270
+ className: K,
271
+ placeholder: S("products.enterProductDescription", "Enter product description"),
272
+ disabled: x
268
273
  })] }),
269
274
  /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
270
275
  htmlFor: "status",
271
276
  className: "block text-sm font-medium text-text-primary mb-1",
272
- children: x("products.status", "Status")
277
+ children: S("products.status", "Status")
273
278
  }), /* @__PURE__ */ m("select", {
274
279
  id: "status",
275
- value: S.status,
276
- onChange: (e) => C({
277
- ...S,
280
+ value: C.status,
281
+ onChange: (e) => w({
282
+ ...C,
278
283
  status: e.target.value
279
284
  }),
280
- className: G,
281
- disabled: b,
285
+ className: K,
286
+ disabled: x,
282
287
  children: [
283
288
  /* @__PURE__ */ p("option", {
284
289
  value: t.ACTIVE,
285
- children: x("products.statusActive", "Active")
290
+ children: S("products.statusActive", "Active")
286
291
  }),
287
292
  /* @__PURE__ */ p("option", {
288
293
  value: t.DRAFT,
289
- children: x("products.statusDraft", "Draft")
294
+ children: S("products.statusDraft", "Draft")
290
295
  }),
291
296
  /* @__PURE__ */ p("option", {
292
297
  value: t.WAITLIST,
293
- children: x("products.statusWaitlist", "Waitlist")
298
+ children: S("products.statusWaitlist", "Waitlist")
294
299
  }),
295
300
  /* @__PURE__ */ p("option", {
296
301
  value: t.COMING_SOON,
297
- children: x("products.statusComingSoon", "Coming Soon")
302
+ children: S("products.statusComingSoon", "Coming Soon")
298
303
  })
299
304
  ]
300
305
  })] }),
301
306
  /* @__PURE__ */ m("div", { children: [
302
307
  /* @__PURE__ */ p("label", {
303
308
  className: "block text-sm font-medium text-text-primary mb-1",
304
- children: x("products.tags", "Tags")
309
+ children: S("products.tags", "Tags")
305
310
  }),
306
311
  /* @__PURE__ */ p(n, {
307
- value: O,
308
- onChange: k,
309
- disabled: b
312
+ value: k,
313
+ onChange: A,
314
+ disabled: x
310
315
  }),
311
316
  /* @__PURE__ */ p("p", {
312
317
  className: "text-xs text-text-tertiary mt-1",
313
- children: x("products.tagsHint", "Press Enter or comma to add a tag.")
318
+ children: S("products.tagsHint", "Press Enter or comma to add a tag.")
314
319
  })
315
320
  ] })
316
321
  ]
@@ -320,29 +325,29 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
320
325
  children: [
321
326
  /* @__PURE__ */ p("h3", {
322
327
  className: "text-sm font-semibold text-text-secondary uppercase tracking-wider",
323
- children: x("products.urlsAndLinks", "URLs & Links")
328
+ children: S("products.urlsAndLinks", "URLs & Links")
324
329
  }),
325
330
  /* @__PURE__ */ m("div", { children: [
326
331
  /* @__PURE__ */ p("label", {
327
332
  htmlFor: "logoUrl",
328
333
  className: "block text-sm font-medium text-text-primary mb-1",
329
- children: x("products.logoUrl", "Logo URL")
334
+ children: S("products.logoUrl", "Logo URL")
330
335
  }),
331
336
  /* @__PURE__ */ p("input", {
332
337
  id: "logoUrl",
333
338
  type: "url",
334
- value: S.logoUrl,
335
- onChange: (e) => C({
336
- ...S,
339
+ value: C.logoUrl,
340
+ onChange: (e) => w({
341
+ ...C,
337
342
  logoUrl: e.target.value
338
343
  }),
339
- className: G,
344
+ className: K,
340
345
  placeholder: "https://example.com/logo.png",
341
- disabled: b
346
+ disabled: x
342
347
  }),
343
- A.logoUrl && /* @__PURE__ */ p("p", {
348
+ j.logoUrl && /* @__PURE__ */ p("p", {
344
349
  className: "text-sm text-[var(--color-status-error)] mt-1",
345
- children: A.logoUrl
350
+ children: j.logoUrl
346
351
  })
347
352
  ] }),
348
353
  /* @__PURE__ */ m("div", { children: [
@@ -350,125 +355,125 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
350
355
  htmlFor: "appUrl",
351
356
  className: "block text-sm font-medium text-text-primary mb-1",
352
357
  children: [
353
- x("products.appUrl", "App URL"),
358
+ S("products.appUrl", "App URL"),
354
359
  " ",
355
360
  /* @__PURE__ */ p("span", {
356
361
  className: "text-[var(--color-status-warning)]",
357
- children: x("products.requiredForProductSwitcher", "(Required for product switcher)")
362
+ children: S("products.requiredForProductSwitcher", "(Required for product switcher)")
358
363
  })
359
364
  ]
360
365
  }),
361
366
  /* @__PURE__ */ p("input", {
362
367
  id: "appUrl",
363
368
  type: "url",
364
- value: S.appUrl,
365
- onChange: (e) => C({
366
- ...S,
369
+ value: C.appUrl,
370
+ onChange: (e) => w({
371
+ ...C,
367
372
  appUrl: e.target.value
368
373
  }),
369
- className: G,
374
+ className: K,
370
375
  placeholder: "https://app.product.com/",
371
- disabled: b
376
+ disabled: x
372
377
  }),
373
378
  /* @__PURE__ */ p("p", {
374
379
  className: "text-xs text-text-tertiary mt-1",
375
- children: x("products.appUrlHint", "The main application URL. Products without an App URL won't appear in the product switcher.")
380
+ children: S("products.appUrlHint", "The main application URL. Products without an App URL won't appear in the product switcher.")
376
381
  }),
377
- A.appUrl && /* @__PURE__ */ p("p", {
382
+ j.appUrl && /* @__PURE__ */ p("p", {
378
383
  className: "text-sm text-[var(--color-status-error)] mt-1",
379
- children: A.appUrl
384
+ children: j.appUrl
380
385
  })
381
386
  ] }),
382
387
  /* @__PURE__ */ m("div", { children: [
383
388
  /* @__PURE__ */ p("label", {
384
389
  htmlFor: "website",
385
390
  className: "block text-sm font-medium text-text-primary mb-1",
386
- children: x("products.websiteUrl", "Website URL")
391
+ children: S("products.websiteUrl", "Website URL")
387
392
  }),
388
393
  /* @__PURE__ */ p("input", {
389
394
  id: "website",
390
395
  type: "url",
391
- value: S.website,
392
- onChange: (e) => C({
393
- ...S,
396
+ value: C.website,
397
+ onChange: (e) => w({
398
+ ...C,
394
399
  website: e.target.value
395
400
  }),
396
- className: G,
401
+ className: K,
397
402
  placeholder: "https://product.com/",
398
- disabled: b
403
+ disabled: x
399
404
  }),
400
- A.website && /* @__PURE__ */ p("p", {
405
+ j.website && /* @__PURE__ */ p("p", {
401
406
  className: "text-sm text-[var(--color-status-error)] mt-1",
402
- children: A.website
407
+ children: j.website
403
408
  })
404
409
  ] }),
405
410
  /* @__PURE__ */ m("div", { children: [
406
411
  /* @__PURE__ */ p("label", {
407
412
  htmlFor: "docsUrl",
408
413
  className: "block text-sm font-medium text-text-primary mb-1",
409
- children: x("products.documentationUrl", "Documentation URL")
414
+ children: S("products.documentationUrl", "Documentation URL")
410
415
  }),
411
416
  /* @__PURE__ */ p("input", {
412
417
  id: "docsUrl",
413
418
  type: "url",
414
- value: S.docsUrl,
415
- onChange: (e) => C({
416
- ...S,
419
+ value: C.docsUrl,
420
+ onChange: (e) => w({
421
+ ...C,
417
422
  docsUrl: e.target.value
418
423
  }),
419
- className: G,
424
+ className: K,
420
425
  placeholder: "https://docs.product.com/",
421
- disabled: b
426
+ disabled: x
422
427
  }),
423
- A.docsUrl && /* @__PURE__ */ p("p", {
428
+ j.docsUrl && /* @__PURE__ */ p("p", {
424
429
  className: "text-sm text-[var(--color-status-error)] mt-1",
425
- children: A.docsUrl
430
+ children: j.docsUrl
426
431
  })
427
432
  ] }),
428
433
  /* @__PURE__ */ m("div", { children: [
429
434
  /* @__PURE__ */ p("label", {
430
435
  htmlFor: "githubUrl",
431
436
  className: "block text-sm font-medium text-text-primary mb-1",
432
- children: x("products.githubUrl", "GitHub URL")
437
+ children: S("products.githubUrl", "GitHub URL")
433
438
  }),
434
439
  /* @__PURE__ */ p("input", {
435
440
  id: "githubUrl",
436
441
  type: "url",
437
- value: S.githubUrl,
438
- onChange: (e) => C({
439
- ...S,
442
+ value: C.githubUrl,
443
+ onChange: (e) => w({
444
+ ...C,
440
445
  githubUrl: e.target.value
441
446
  }),
442
- className: G,
447
+ className: K,
443
448
  placeholder: "https://github.com/org/repo",
444
- disabled: b
449
+ disabled: x
445
450
  }),
446
- A.githubUrl && /* @__PURE__ */ p("p", {
451
+ j.githubUrl && /* @__PURE__ */ p("p", {
447
452
  className: "text-sm text-[var(--color-status-error)] mt-1",
448
- children: A.githubUrl
453
+ children: j.githubUrl
449
454
  })
450
455
  ] }),
451
456
  /* @__PURE__ */ m("div", { children: [
452
457
  /* @__PURE__ */ p("label", {
453
458
  htmlFor: "statusPageUrl",
454
459
  className: "block text-sm font-medium text-text-primary mb-1",
455
- children: x("products.statusPageUrl", "Status Page URL")
460
+ children: S("products.statusPageUrl", "Status Page URL")
456
461
  }),
457
462
  /* @__PURE__ */ p("input", {
458
463
  id: "statusPageUrl",
459
464
  type: "url",
460
- value: S.statusPageUrl,
461
- onChange: (e) => C({
462
- ...S,
465
+ value: C.statusPageUrl,
466
+ onChange: (e) => w({
467
+ ...C,
463
468
  statusPageUrl: e.target.value
464
469
  }),
465
- className: G,
470
+ className: K,
466
471
  placeholder: "https://status.product.com/",
467
- disabled: b
472
+ disabled: x
468
473
  }),
469
- A.statusPageUrl && /* @__PURE__ */ p("p", {
474
+ j.statusPageUrl && /* @__PURE__ */ p("p", {
470
475
  className: "text-sm text-[var(--color-status-error)] mt-1",
471
- children: A.statusPageUrl
476
+ children: j.statusPageUrl
472
477
  })
473
478
  ] })
474
479
  ]
@@ -477,102 +482,102 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
477
482
  className: "space-y-4 pt-4 border-t border-default",
478
483
  children: [/* @__PURE__ */ m("button", {
479
484
  type: "button",
480
- onClick: () => P("contact"),
481
- className: K,
482
- children: [M.contact ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), x("products.contactInformation", "Contact Information")]
483
- }), M.contact && /* @__PURE__ */ m("div", {
485
+ onClick: () => F("contact"),
486
+ className: q,
487
+ children: [N.contact ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), S("products.contactInformation", "Contact Information")]
488
+ }), N.contact && /* @__PURE__ */ m("div", {
484
489
  className: "space-y-4 animate-in fade-in duration-200",
485
490
  children: [
486
491
  /* @__PURE__ */ m("div", { children: [
487
492
  /* @__PURE__ */ p("label", {
488
493
  htmlFor: "contactEmail",
489
494
  className: "block text-sm font-medium text-text-primary mb-1",
490
- children: x("products.contactEmail", "Contact Email")
495
+ children: S("products.contactEmail", "Contact Email")
491
496
  }),
492
497
  /* @__PURE__ */ p("input", {
493
498
  id: "contactEmail",
494
499
  type: "email",
495
- value: S.contactEmail,
496
- onChange: (e) => C({
497
- ...S,
500
+ value: C.contactEmail,
501
+ onChange: (e) => w({
502
+ ...C,
498
503
  contactEmail: e.target.value
499
504
  }),
500
- className: G,
505
+ className: K,
501
506
  placeholder: "contact@product.com",
502
- disabled: b
507
+ disabled: x
503
508
  }),
504
- A.contactEmail && /* @__PURE__ */ p("p", {
509
+ j.contactEmail && /* @__PURE__ */ p("p", {
505
510
  className: "text-sm text-[var(--color-status-error)] mt-1",
506
- children: A.contactEmail
511
+ children: j.contactEmail
507
512
  })
508
513
  ] }),
509
514
  /* @__PURE__ */ m("div", { children: [
510
515
  /* @__PURE__ */ p("label", {
511
516
  htmlFor: "supportEmail",
512
517
  className: "block text-sm font-medium text-text-primary mb-1",
513
- children: x("products.supportEmail", "Support Email")
518
+ children: S("products.supportEmail", "Support Email")
514
519
  }),
515
520
  /* @__PURE__ */ p("input", {
516
521
  id: "supportEmail",
517
522
  type: "email",
518
- value: S.supportEmail,
519
- onChange: (e) => C({
520
- ...S,
523
+ value: C.supportEmail,
524
+ onChange: (e) => w({
525
+ ...C,
521
526
  supportEmail: e.target.value
522
527
  }),
523
- className: G,
528
+ className: K,
524
529
  placeholder: "support@product.com",
525
- disabled: b
530
+ disabled: x
526
531
  }),
527
- A.supportEmail && /* @__PURE__ */ p("p", {
532
+ j.supportEmail && /* @__PURE__ */ p("p", {
528
533
  className: "text-sm text-[var(--color-status-error)] mt-1",
529
- children: A.supportEmail
534
+ children: j.supportEmail
530
535
  })
531
536
  ] }),
532
537
  /* @__PURE__ */ m("div", { children: [
533
538
  /* @__PURE__ */ p("label", {
534
539
  htmlFor: "contactPhone",
535
540
  className: "block text-sm font-medium text-text-primary mb-1",
536
- children: x("products.contactPhone", "Contact Phone")
541
+ children: S("products.contactPhone", "Contact Phone")
537
542
  }),
538
543
  /* @__PURE__ */ p("input", {
539
544
  id: "contactPhone",
540
545
  type: "tel",
541
- value: S.contactPhone,
542
- onChange: (e) => C({
543
- ...S,
546
+ value: C.contactPhone,
547
+ onChange: (e) => w({
548
+ ...C,
544
549
  contactPhone: e.target.value
545
550
  }),
546
- className: G,
551
+ className: K,
547
552
  placeholder: "+1 (555) 123-4567",
548
- disabled: b
553
+ disabled: x
549
554
  }),
550
- A.contactPhone && /* @__PURE__ */ p("p", {
555
+ j.contactPhone && /* @__PURE__ */ p("p", {
551
556
  className: "text-sm text-[var(--color-status-error)] mt-1",
552
- children: A.contactPhone
557
+ children: j.contactPhone
553
558
  })
554
559
  ] }),
555
560
  /* @__PURE__ */ m("div", { children: [
556
561
  /* @__PURE__ */ p("label", {
557
562
  htmlFor: "contactAddress",
558
563
  className: "block text-sm font-medium text-text-primary mb-1",
559
- children: x("products.contactAddress", "Contact Address")
564
+ children: S("products.contactAddress", "Contact Address")
560
565
  }),
561
566
  /* @__PURE__ */ p("textarea", {
562
567
  id: "contactAddress",
563
- value: S.contactAddress,
564
- onChange: (e) => C({
565
- ...S,
568
+ value: C.contactAddress,
569
+ onChange: (e) => w({
570
+ ...C,
566
571
  contactAddress: e.target.value
567
572
  }),
568
573
  rows: 3,
569
- className: G,
574
+ className: K,
570
575
  placeholder: "123 Main St, City, State, ZIP",
571
- disabled: b
576
+ disabled: x
572
577
  }),
573
- A.contactAddress && /* @__PURE__ */ p("p", {
578
+ j.contactAddress && /* @__PURE__ */ p("p", {
574
579
  className: "text-sm text-[var(--color-status-error)] mt-1",
575
- children: A.contactAddress
580
+ children: j.contactAddress
576
581
  })
577
582
  ] })
578
583
  ]
@@ -582,39 +587,39 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
582
587
  className: "space-y-4 pt-4 border-t border-default",
583
588
  children: [/* @__PURE__ */ m("button", {
584
589
  type: "button",
585
- onClick: () => P("seo"),
586
- className: K,
587
- children: [M.seo ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), x("products.seoMetadata", "SEO Metadata")]
588
- }), M.seo && /* @__PURE__ */ m("div", {
590
+ onClick: () => F("seo"),
591
+ className: q,
592
+ children: [N.seo ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), S("products.seoMetadata", "SEO Metadata")]
593
+ }), N.seo && /* @__PURE__ */ m("div", {
589
594
  className: "space-y-4 animate-in fade-in duration-200",
590
595
  children: [
591
596
  /* @__PURE__ */ m("div", { children: [
592
597
  /* @__PURE__ */ p("label", {
593
598
  htmlFor: "seoTitle",
594
599
  className: "block text-sm font-medium text-text-primary mb-1",
595
- children: x("products.seoTitle", "SEO Title")
600
+ children: S("products.seoTitle", "SEO Title")
596
601
  }),
597
602
  /* @__PURE__ */ p("input", {
598
603
  id: "seoTitle",
599
604
  type: "text",
600
- value: S.seoTitle,
601
- onChange: (e) => C({
602
- ...S,
605
+ value: C.seoTitle,
606
+ onChange: (e) => w({
607
+ ...C,
603
608
  seoTitle: e.target.value
604
609
  }),
605
- className: G,
610
+ className: K,
606
611
  placeholder: "Product SEO title",
607
- disabled: b,
612
+ disabled: x,
608
613
  maxLength: 100
609
614
  }),
610
615
  /* @__PURE__ */ m("div", {
611
616
  className: "flex justify-between mt-1",
612
- children: [A.seoTitle ? /* @__PURE__ */ p("p", {
617
+ children: [j.seoTitle ? /* @__PURE__ */ p("p", {
613
618
  className: "text-sm text-[var(--color-status-error)]",
614
- children: A.seoTitle
619
+ children: j.seoTitle
615
620
  }) : /* @__PURE__ */ p("span", {}), /* @__PURE__ */ m("p", {
616
621
  className: "text-xs text-text-tertiary",
617
- children: [S.seoTitle.length, "/100"]
622
+ children: [C.seoTitle.length, "/100"]
618
623
  })]
619
624
  })
620
625
  ] }),
@@ -622,29 +627,29 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
622
627
  /* @__PURE__ */ p("label", {
623
628
  htmlFor: "seoDescription",
624
629
  className: "block text-sm font-medium text-text-primary mb-1",
625
- children: x("products.seoDescription", "SEO Description")
630
+ children: S("products.seoDescription", "SEO Description")
626
631
  }),
627
632
  /* @__PURE__ */ p("textarea", {
628
633
  id: "seoDescription",
629
- value: S.seoDescription,
630
- onChange: (e) => C({
631
- ...S,
634
+ value: C.seoDescription,
635
+ onChange: (e) => w({
636
+ ...C,
632
637
  seoDescription: e.target.value
633
638
  }),
634
639
  rows: 3,
635
- className: G,
636
- placeholder: x("products.seoDescriptionPlaceholder", "Brief description for search engines"),
637
- disabled: b,
640
+ className: K,
641
+ placeholder: S("products.seoDescriptionPlaceholder", "Brief description for search engines"),
642
+ disabled: x,
638
643
  maxLength: 300
639
644
  }),
640
645
  /* @__PURE__ */ m("div", {
641
646
  className: "flex justify-between mt-1",
642
- children: [A.seoDescription ? /* @__PURE__ */ p("p", {
647
+ children: [j.seoDescription ? /* @__PURE__ */ p("p", {
643
648
  className: "text-sm text-[var(--color-status-error)]",
644
- children: A.seoDescription
649
+ children: j.seoDescription
645
650
  }) : /* @__PURE__ */ p("span", {}), /* @__PURE__ */ m("p", {
646
651
  className: "text-xs text-text-tertiary",
647
- children: [S.seoDescription.length, "/300"]
652
+ children: [C.seoDescription.length, "/300"]
648
653
  })]
649
654
  })
650
655
  ] }),
@@ -652,55 +657,55 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
652
657
  /* @__PURE__ */ p("label", {
653
658
  htmlFor: "seoKeywords",
654
659
  className: "block text-sm font-medium text-text-primary mb-1",
655
- children: x("products.seoKeywords", "SEO Keywords")
660
+ children: S("products.seoKeywords", "SEO Keywords")
656
661
  }),
657
662
  /* @__PURE__ */ p("input", {
658
663
  id: "seoKeywords",
659
664
  type: "text",
660
- value: S.seoKeywords,
661
- onChange: (e) => C({
662
- ...S,
665
+ value: C.seoKeywords,
666
+ onChange: (e) => w({
667
+ ...C,
663
668
  seoKeywords: e.target.value
664
669
  }),
665
- className: G,
670
+ className: K,
666
671
  placeholder: "keyword1, keyword2, keyword3",
667
- disabled: b,
672
+ disabled: x,
668
673
  maxLength: 200
669
674
  }),
670
675
  /* @__PURE__ */ p("p", {
671
676
  className: "text-xs text-text-tertiary mt-1",
672
- children: x("products.seoKeywordsHint", "Comma-separated keywords for search engine optimization.")
677
+ children: S("products.seoKeywordsHint", "Comma-separated keywords for search engine optimization.")
673
678
  }),
674
- A.seoKeywords && /* @__PURE__ */ p("p", {
679
+ j.seoKeywords && /* @__PURE__ */ p("p", {
675
680
  className: "text-sm text-[var(--color-status-error)] mt-1",
676
- children: A.seoKeywords
681
+ children: j.seoKeywords
677
682
  })
678
683
  ] }),
679
684
  /* @__PURE__ */ m("div", { children: [
680
685
  /* @__PURE__ */ p("label", {
681
686
  htmlFor: "ogImage",
682
687
  className: "block text-sm font-medium text-text-primary mb-1",
683
- children: x("products.ogImageUrl", "OG Image URL")
688
+ children: S("products.ogImageUrl", "OG Image URL")
684
689
  }),
685
690
  /* @__PURE__ */ p("input", {
686
691
  id: "ogImage",
687
692
  type: "url",
688
- value: S.ogImage,
689
- onChange: (e) => C({
690
- ...S,
693
+ value: C.ogImage,
694
+ onChange: (e) => w({
695
+ ...C,
691
696
  ogImage: e.target.value
692
697
  }),
693
- className: G,
698
+ className: K,
694
699
  placeholder: "https://example.com/og-image.png",
695
- disabled: b
700
+ disabled: x
696
701
  }),
697
702
  /* @__PURE__ */ p("p", {
698
703
  className: "text-xs text-text-tertiary mt-1",
699
- children: x("products.ogImageHint", "Open Graph image used when sharing on social media.")
704
+ children: S("products.ogImageHint", "Open Graph image used when sharing on social media.")
700
705
  }),
701
- A.ogImage && /* @__PURE__ */ p("p", {
706
+ j.ogImage && /* @__PURE__ */ p("p", {
702
707
  className: "text-sm text-[var(--color-status-error)] mt-1",
703
- children: A.ogImage
708
+ children: j.ogImage
704
709
  })
705
710
  ] })
706
711
  ]
@@ -710,54 +715,54 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
710
715
  className: "space-y-4 pt-4 border-t border-default",
711
716
  children: [/* @__PURE__ */ m("button", {
712
717
  type: "button",
713
- onClick: () => P("appStore"),
714
- className: K,
715
- children: [M.appStore ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), x("products.appStoreLinks", "App Store Links")]
716
- }), M.appStore && /* @__PURE__ */ m("div", {
718
+ onClick: () => F("appStore"),
719
+ className: q,
720
+ children: [N.appStore ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), S("products.appStoreLinks", "App Store Links")]
721
+ }), N.appStore && /* @__PURE__ */ m("div", {
717
722
  className: "space-y-4 animate-in fade-in duration-200",
718
723
  children: [/* @__PURE__ */ m("div", { children: [
719
724
  /* @__PURE__ */ p("label", {
720
725
  htmlFor: "appStoreUrl",
721
726
  className: "block text-sm font-medium text-text-primary mb-1",
722
- children: x("products.appleAppStoreUrl", "Apple App Store URL")
727
+ children: S("products.appleAppStoreUrl", "Apple App Store URL")
723
728
  }),
724
729
  /* @__PURE__ */ p("input", {
725
730
  id: "appStoreUrl",
726
731
  type: "url",
727
- value: S.appStoreUrl,
728
- onChange: (e) => C({
729
- ...S,
732
+ value: C.appStoreUrl,
733
+ onChange: (e) => w({
734
+ ...C,
730
735
  appStoreUrl: e.target.value
731
736
  }),
732
- className: G,
737
+ className: K,
733
738
  placeholder: "https://apps.apple.com/app/...",
734
- disabled: b
739
+ disabled: x
735
740
  }),
736
- A.appStoreUrl && /* @__PURE__ */ p("p", {
741
+ j.appStoreUrl && /* @__PURE__ */ p("p", {
737
742
  className: "text-sm text-[var(--color-status-error)] mt-1",
738
- children: A.appStoreUrl
743
+ children: j.appStoreUrl
739
744
  })
740
745
  ] }), /* @__PURE__ */ m("div", { children: [
741
746
  /* @__PURE__ */ p("label", {
742
747
  htmlFor: "playStoreUrl",
743
748
  className: "block text-sm font-medium text-text-primary mb-1",
744
- children: x("products.googlePlayStoreUrl", "Google Play Store URL")
749
+ children: S("products.googlePlayStoreUrl", "Google Play Store URL")
745
750
  }),
746
751
  /* @__PURE__ */ p("input", {
747
752
  id: "playStoreUrl",
748
753
  type: "url",
749
- value: S.playStoreUrl,
750
- onChange: (e) => C({
751
- ...S,
754
+ value: C.playStoreUrl,
755
+ onChange: (e) => w({
756
+ ...C,
752
757
  playStoreUrl: e.target.value
753
758
  }),
754
- className: G,
759
+ className: K,
755
760
  placeholder: "https://play.google.com/store/apps/details?id=...",
756
- disabled: b
761
+ disabled: x
757
762
  }),
758
- A.playStoreUrl && /* @__PURE__ */ p("p", {
763
+ j.playStoreUrl && /* @__PURE__ */ p("p", {
759
764
  className: "text-sm text-[var(--color-status-error)] mt-1",
760
- children: A.playStoreUrl
765
+ children: j.playStoreUrl
761
766
  })
762
767
  ] })]
763
768
  })]
@@ -766,12 +771,12 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
766
771
  className: "space-y-4 pt-4 border-t border-default",
767
772
  children: [/* @__PURE__ */ m("button", {
768
773
  type: "button",
769
- onClick: () => P("social"),
770
- className: K,
771
- children: [M.social ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), x("products.socialMediaLinks", "Social Media Links")]
772
- }), M.social && /* @__PURE__ */ m("div", {
774
+ onClick: () => F("social"),
775
+ className: q,
776
+ children: [N.social ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), S("products.socialMediaLinks", "Social Media Links")]
777
+ }), N.social && /* @__PURE__ */ m("div", {
773
778
  className: "space-y-4 animate-in fade-in duration-200",
774
- children: [w.map((e, t) => /* @__PURE__ */ m("div", {
779
+ children: [T.map((e, t) => /* @__PURE__ */ m("div", {
775
780
  className: "flex items-start gap-3",
776
781
  children: [
777
782
  /* @__PURE__ */ m("div", {
@@ -779,15 +784,15 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
779
784
  children: [/* @__PURE__ */ p("label", {
780
785
  htmlFor: `socialPlatform-${t}`,
781
786
  className: "block text-sm font-medium text-text-primary mb-1",
782
- children: x("products.platform", "Platform")
787
+ children: S("products.platform", "Platform")
783
788
  }), /* @__PURE__ */ p("input", {
784
789
  id: `socialPlatform-${t}`,
785
790
  type: "text",
786
791
  value: e.platform,
787
- onChange: (e) => L(t, "platform", e.target.value),
788
- className: G,
792
+ onChange: (e) => R(t, "platform", e.target.value),
793
+ className: K,
789
794
  placeholder: "e.g. twitter",
790
- disabled: b
795
+ disabled: x
791
796
  })]
792
797
  }),
793
798
  /* @__PURE__ */ m("div", {
@@ -795,32 +800,32 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
795
800
  children: [/* @__PURE__ */ p("label", {
796
801
  htmlFor: `socialUrl-${t}`,
797
802
  className: "block text-sm font-medium text-text-primary mb-1",
798
- children: x("products.url", "URL")
803
+ children: S("products.url", "URL")
799
804
  }), /* @__PURE__ */ p("input", {
800
805
  id: `socialUrl-${t}`,
801
806
  type: "url",
802
807
  value: e.url,
803
- onChange: (e) => L(t, "url", e.target.value),
804
- className: G,
808
+ onChange: (e) => R(t, "url", e.target.value),
809
+ className: K,
805
810
  placeholder: "https://twitter.com/yourproduct",
806
- disabled: b
811
+ disabled: x
807
812
  })]
808
813
  }),
809
814
  /* @__PURE__ */ p("button", {
810
815
  type: "button",
811
- onClick: () => I(t),
812
- disabled: b,
816
+ onClick: () => L(t),
817
+ disabled: x,
813
818
  className: "\n mt-7 p-2\n text-text-tertiary\n hover:text-[var(--color-status-error)]\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
814
- title: x("products.removeSocialLink", "Remove social link"),
819
+ title: S("products.removeSocialLink", "Remove social link"),
815
820
  children: /* @__PURE__ */ p(f, { size: 16 })
816
821
  })
817
822
  ]
818
- }, t)), /* @__PURE__ */ m("button", {
823
+ }, e.id)), /* @__PURE__ */ m("button", {
819
824
  type: "button",
820
- onClick: F,
821
- disabled: b,
825
+ onClick: I,
826
+ disabled: x,
822
827
  className: "\n inline-flex items-center gap-2 px-4 py-2\n text-sm font-medium\n text-text-secondary\n border border-dashed border-default\n rounded-lg\n hover:bg-muted hover:text-text-primary\n transition-all duration-200\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
823
- children: [/* @__PURE__ */ p(u, { size: 16 }), x("products.addSocialLink", "Add Social Link")]
828
+ children: [/* @__PURE__ */ p(u, { size: 16 }), S("products.addSocialLink", "Add Social Link")]
824
829
  })]
825
830
  })]
826
831
  }),
@@ -828,17 +833,17 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
828
833
  className: "space-y-4 pt-4 border-t border-default",
829
834
  children: [/* @__PURE__ */ m("button", {
830
835
  type: "button",
831
- onClick: () => P("resources"),
832
- className: K,
833
- children: [M.resources ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), x("products.resourceLinks", "Resource Links")]
834
- }), M.resources && /* @__PURE__ */ m("div", {
836
+ onClick: () => F("resources"),
837
+ className: q,
838
+ children: [N.resources ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }), S("products.resourceLinks", "Resource Links")]
839
+ }), N.resources && /* @__PURE__ */ m("div", {
835
840
  className: "space-y-4 animate-in fade-in duration-200",
836
841
  children: [
837
842
  /* @__PURE__ */ p("p", {
838
843
  className: "text-xs text-text-tertiary",
839
- children: x("products.resourceLinksHint", "Footer \"Resources\" column. Known keys: docs, community, careers, team, companies. Unknown keys are ignored by the website until the SDK adds them.")
844
+ children: S("products.resourceLinksHint", "Footer \"Resources\" column. Known keys: docs, community, careers, team, companies. Unknown keys are ignored by the website until the SDK adds them.")
840
845
  }),
841
- E.map((e, t) => /* @__PURE__ */ m("div", {
846
+ D.map((e, t) => /* @__PURE__ */ m("div", {
842
847
  className: "flex items-start gap-3",
843
848
  children: [
844
849
  /* @__PURE__ */ m("div", {
@@ -846,15 +851,15 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
846
851
  children: [/* @__PURE__ */ p("label", {
847
852
  htmlFor: `resourceKey-${t}`,
848
853
  className: "block text-sm font-medium text-text-primary mb-1",
849
- children: x("products.resource", "Resource")
854
+ children: S("products.resource", "Resource")
850
855
  }), /* @__PURE__ */ p("input", {
851
856
  id: `resourceKey-${t}`,
852
857
  type: "text",
853
858
  value: e.resource,
854
- onChange: (e) => V(t, "resource", e.target.value),
855
- className: G,
859
+ onChange: (e) => H(t, "resource", e.target.value),
860
+ className: K,
856
861
  placeholder: "e.g. docs",
857
- disabled: b
862
+ disabled: x
858
863
  })]
859
864
  }),
860
865
  /* @__PURE__ */ m("div", {
@@ -862,33 +867,33 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
862
867
  children: [/* @__PURE__ */ p("label", {
863
868
  htmlFor: `resourceUrl-${t}`,
864
869
  className: "block text-sm font-medium text-text-primary mb-1",
865
- children: x("products.url", "URL")
870
+ children: S("products.url", "URL")
866
871
  }), /* @__PURE__ */ p("input", {
867
872
  id: `resourceUrl-${t}`,
868
873
  type: "url",
869
874
  value: e.url,
870
- onChange: (e) => V(t, "url", e.target.value),
871
- className: G,
875
+ onChange: (e) => H(t, "url", e.target.value),
876
+ className: K,
872
877
  placeholder: "https://docs.yourproduct.com",
873
- disabled: b
878
+ disabled: x
874
879
  })]
875
880
  }),
876
881
  /* @__PURE__ */ p("button", {
877
882
  type: "button",
878
- onClick: () => B(t),
879
- disabled: b,
883
+ onClick: () => V(t),
884
+ disabled: x,
880
885
  className: "\n mt-7 p-2\n text-text-tertiary\n hover:text-[var(--color-status-error)]\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
881
- title: x("products.removeResourceLink", "Remove resource link"),
886
+ title: S("products.removeResourceLink", "Remove resource link"),
882
887
  children: /* @__PURE__ */ p(f, { size: 16 })
883
888
  })
884
889
  ]
885
- }, t)),
890
+ }, e.id)),
886
891
  /* @__PURE__ */ m("button", {
887
892
  type: "button",
888
- onClick: z,
889
- disabled: b,
893
+ onClick: B,
894
+ disabled: x,
890
895
  className: "\n inline-flex items-center gap-2 px-4 py-2\n text-sm font-medium\n text-text-secondary\n border border-dashed border-default\n rounded-lg\n hover:bg-muted hover:text-text-primary\n transition-all duration-200\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
891
- children: [/* @__PURE__ */ p(u, { size: 16 }), x("products.addResourceLink", "Add Resource Link")]
896
+ children: [/* @__PURE__ */ p(u, { size: 16 }), S("products.addResourceLink", "Add Resource Link")]
892
897
  })
893
898
  ]
894
899
  })]
@@ -897,61 +902,61 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
897
902
  className: "border border-default rounded-lg overflow-hidden",
898
903
  children: [/* @__PURE__ */ m("button", {
899
904
  type: "button",
900
- onClick: () => P("integrations"),
905
+ onClick: () => F("integrations"),
901
906
  className: "\n w-full flex items-center gap-2 px-4 py-3\n text-sm font-semibold text-text-primary\n bg-surface hover:bg-muted\n transition-all duration-200\n ",
902
907
  children: [
903
- M.integrations ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }),
908
+ N.integrations ? /* @__PURE__ */ p(s, { size: 16 }) : /* @__PURE__ */ p(c, { size: 16 }),
904
909
  /* @__PURE__ */ p(d, {
905
910
  size: 16,
906
911
  className: "text-text-secondary"
907
912
  }),
908
- x("products.integrations", "Integrations"),
913
+ S("products.integrations", "Integrations"),
909
914
  /* @__PURE__ */ p("span", {
910
915
  className: "text-xs font-normal text-text-secondary ml-1",
911
- children: x("products.recaptcha", "(reCAPTCHA)")
916
+ children: S("products.recaptcha", "(reCAPTCHA)")
912
917
  })
913
918
  ]
914
- }), M.integrations && /* @__PURE__ */ m("div", {
919
+ }), N.integrations && /* @__PURE__ */ m("div", {
915
920
  className: "px-4 pb-4 pt-2 space-y-4 border-t border-default",
916
921
  children: [
917
922
  /* @__PURE__ */ p("p", {
918
923
  className: "text-xs text-text-secondary",
919
- children: x("products.recaptchaDescription", "reCAPTCHA v2 keys for bot protection on website forms (newsletter, contact). Site key is public, secret key is used for server-side verification only.")
924
+ children: S("products.recaptchaDescription", "reCAPTCHA v2 keys for bot protection on website forms (newsletter, contact). Site key is public, secret key is used for server-side verification only.")
920
925
  }),
921
926
  /* @__PURE__ */ m("div", { children: [
922
927
  /* @__PURE__ */ p("label", {
923
928
  className: "block text-sm font-medium text-text-primary mb-1.5",
924
- children: x("products.recaptchaSiteKey", "reCAPTCHA Site Key")
929
+ children: S("products.recaptchaSiteKey", "reCAPTCHA Site Key")
925
930
  }),
926
931
  /* @__PURE__ */ p("input", {
927
932
  type: "text",
928
933
  name: "recaptchaSiteKey",
929
- defaultValue: _?.recaptchaSiteKey || "",
930
- disabled: b,
934
+ defaultValue: h?.recaptchaSiteKey || "",
935
+ disabled: x,
931
936
  placeholder: "6Lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
932
937
  className: "\n w-full px-3 py-2\n bg-[var(--color-bg-input)] text-text-primary\n border border-default rounded-lg\n focus:outline-none focus:ring-2 focus:ring-[var(--color-action-primary-bg)] focus:border-transparent\n disabled:opacity-50\n text-sm font-mono\n transition-all duration-200\n "
933
938
  }),
934
939
  /* @__PURE__ */ p("p", {
935
940
  className: "text-xs text-text-secondary mt-1",
936
- children: x("products.recaptchaSiteKeyHint", "Public key — exposed in frontend. Register at google.com/recaptcha/admin")
941
+ children: S("products.recaptchaSiteKeyHint", "Public key — exposed in frontend. Register at google.com/recaptcha/admin")
937
942
  })
938
943
  ] }),
939
944
  /* @__PURE__ */ m("div", { children: [
940
945
  /* @__PURE__ */ p("label", {
941
946
  className: "block text-sm font-medium text-text-primary mb-1.5",
942
- children: x("products.recaptchaSecretKey", "reCAPTCHA Secret Key")
947
+ children: S("products.recaptchaSecretKey", "reCAPTCHA Secret Key")
943
948
  }),
944
949
  /* @__PURE__ */ p("input", {
945
950
  type: "password",
946
951
  name: "recaptchaSecretKey",
947
952
  defaultValue: "",
948
- disabled: b,
949
- placeholder: x("products.enterSecretKeyPlaceholder", "Enter secret key (leave empty to keep existing)"),
953
+ disabled: x,
954
+ placeholder: S("products.enterSecretKeyPlaceholder", "Enter secret key (leave empty to keep existing)"),
950
955
  className: "\n w-full px-3 py-2\n bg-[var(--color-bg-input)] text-text-primary\n border border-default rounded-lg\n focus:outline-none focus:ring-2 focus:ring-[var(--color-action-primary-bg)] focus:border-transparent\n disabled:opacity-50\n text-sm font-mono\n transition-all duration-200\n "
951
956
  }),
952
957
  /* @__PURE__ */ p("p", {
953
958
  className: "text-xs text-text-secondary mt-1",
954
- children: x("products.recaptchaSecretKeyHint", "Secret key — server-side only, never exposed via public API")
959
+ children: S("products.recaptchaSecretKeyHint", "Secret key — server-side only, never exposed via public API")
955
960
  })
956
961
  ] })
957
962
  ]
@@ -961,24 +966,24 @@ function _({ product: _, onSubmit: v, onCancel: y, loading: b }) {
961
966
  className: "flex gap-3 pt-4 border-t border-default",
962
967
  children: [/* @__PURE__ */ m("button", {
963
968
  type: "submit",
964
- disabled: b,
969
+ disabled: x,
965
970
  className: "\n inline-flex items-center gap-2 px-6 py-2.5\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90 hover:scale-[1.02]\n transition-all duration-200\n font-medium\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
966
- children: [b && /* @__PURE__ */ p(l, {
971
+ children: [x && /* @__PURE__ */ p(l, {
967
972
  size: 16,
968
973
  className: "animate-spin"
969
- }), _ ? x("products.updateProduct", "Update Product") : x("products.createProduct", "Create Product")]
974
+ }), h ? S("products.updateProduct", "Update Product") : S("products.createProduct", "Create Product")]
970
975
  }), /* @__PURE__ */ p("button", {
971
976
  type: "button",
972
- onClick: y,
973
- disabled: b,
977
+ onClick: b,
978
+ disabled: x,
974
979
  className: "\n px-6 py-2.5\n bg-transparent\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-muted\n transition-all duration-200\n font-medium\n disabled:opacity-50 disabled:cursor-not-allowed\n ",
975
- children: x("productCommon.cancel", "Cancel")
980
+ children: S("productCommon.cancel", "Cancel")
976
981
  })]
977
982
  })
978
983
  ]
979
984
  });
980
985
  }
981
986
  //#endregion
982
- export { _ as ProductForm };
987
+ export { y as ProductForm };
983
988
 
984
989
  //# sourceMappingURL=ProductForm.js.map