@ludo.ninja/components 2.3.36 → 2.3.38

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 (726) hide show
  1. package/build/api/server-assets/queries/useFetchAssets/index.js +2 -2
  2. package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +2 -2
  3. package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +2 -2
  4. package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +5 -5
  5. package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
  6. package/build/api/server-experiences/queries/useFetchMyTasks/index.js +2 -2
  7. package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +1 -1
  8. package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +1 -1
  9. package/build/api/server-galleries/mutations/useDeleteGallery/index.js +2 -2
  10. package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
  11. package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +2 -2
  12. package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
  13. package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +1 -1
  14. package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
  15. package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +1 -1
  16. package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
  17. package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +1 -1
  18. package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
  19. package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +1 -1
  20. package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
  21. package/build/api/server-identities/mutations/useAddWalletElrond/index.js +2 -2
  22. package/build/api/server-identities/mutations/useAddWalletFlow/index.js +2 -2
  23. package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +2 -2
  24. package/build/api/server-identities/mutations/useAddWalletSolana/index.js +2 -2
  25. package/build/api/server-identities/mutations/useAddWalletTezos/index.js +2 -2
  26. package/build/api/server-identities/mutations/useAddWalletTon/index.js +2 -2
  27. package/build/api/server-identities/mutations/useFollowProfile/index.js +2 -2
  28. package/build/api/server-identities/mutations/useInviteCode/index.js +2 -2
  29. package/build/api/server-identities/mutations/useRemoveWallet/index.js +2 -2
  30. package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +2 -2
  31. package/build/api/server-identities/mutations/useUnfollowProfile/index.js +2 -2
  32. package/build/api/server-identities/queries/useFetchProfile/index.js +3 -3
  33. package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
  34. package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +2 -2
  35. package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +2 -2
  36. package/build/api/server-opportunities/mutations/useLikeOpportunity.js +2 -2
  37. package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +2 -2
  38. package/build/api/server-opportunities/queries/useGetOpportunities.js +3 -3
  39. package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +2 -2
  40. package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +2 -2
  41. package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
  42. package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +1 -1
  43. package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +1 -1
  44. package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +1 -1
  45. package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
  46. package/build/api/server-search/queries/useFetchCollections/index.d.ts +1 -1
  47. package/build/api/server-search/queries/useFetchCollections/index.js +4 -4
  48. package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +1 -1
  49. package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +3 -3
  50. package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +1 -1
  51. package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
  52. package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +1 -1
  53. package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +2 -2
  54. package/build/api/server-search/queries/useFindCreations/index.d.ts +1 -1
  55. package/build/api/server-search/queries/useFindCreations/index.js +3 -3
  56. package/build/api/server-search/queries/useFindUserCreations/index.d.ts +1 -1
  57. package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
  58. package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +1 -1
  59. package/build/api/server-search/queries/useFindUserLudoCreations/index.js +2 -2
  60. package/build/api/subscriptions/SubscriberInviteNotification.js +4 -4
  61. package/build/api/subscriptions/SubscriberNotifications.js +2 -2
  62. package/build/api/subscriptions/SubscriberOpportunityNotification.js +4 -4
  63. package/build/api/subscriptions/SubscriptionNotificationSPA.js +4 -4
  64. package/build/components/Page404/Page404SPA.js +1 -1
  65. package/build/components/Page404/index.js +3 -3
  66. package/build/components/Page500/index.d.ts +2 -0
  67. package/build/components/Page500/index.js +87 -0
  68. package/build/components/assetPage/assetLikes/index.d.ts +6 -0
  69. package/build/components/assetPage/assetLikes/index.js +58 -0
  70. package/build/components/assetPage/assetNft/index.d.ts +4 -0
  71. package/build/components/assetPage/assetNft/index.js +37 -0
  72. package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +5 -0
  73. package/build/components/assetPage/audioVideoPlayer/Duration.js +22 -0
  74. package/build/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
  75. package/build/components/assetPage/audioVideoPlayer/index.js +308 -0
  76. package/build/components/assetPage/category/index.d.ts +4 -0
  77. package/build/components/assetPage/category/index.js +58 -0
  78. package/build/components/assetPage/index.d.ts +5 -0
  79. package/build/components/assetPage/index.js +13 -0
  80. package/build/components/assetPage/information/index.d.ts +4 -0
  81. package/build/components/assetPage/information/index.js +114 -0
  82. package/build/components/assetPage/marketPlaces/index.d.ts +4 -0
  83. package/build/components/assetPage/marketPlaces/index.js +57 -0
  84. package/build/components/assetPage/media/AssetImage/index.d.ts +8 -0
  85. package/build/components/assetPage/media/AssetImage/index.js +187 -0
  86. package/build/components/assetPage/moreDropDown/index.d.ts +10 -0
  87. package/build/components/assetPage/moreDropDown/index.js +152 -0
  88. package/build/components/assetPage/properties/index.d.ts +4 -0
  89. package/build/components/assetPage/properties/index.js +42 -0
  90. package/build/components/assetPage/slider/store.d.ts +8 -0
  91. package/build/components/assetPage/slider/store.js +16 -0
  92. package/build/components/assetPage/viewer3D/index.d.ts +7 -0
  93. package/build/components/assetPage/viewer3D/index.js +124 -0
  94. package/build/components/base/Meta/index.js +1 -1
  95. package/build/components/base/PageHead/index.d.ts +8 -0
  96. package/build/components/base/PageHead/index.js +13 -0
  97. package/build/components/base/UserStreak/index.js +3 -3
  98. package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
  99. package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +28 -0
  100. package/build/components/gallery/add/addCreationToGallery/index.d.ts +2 -0
  101. package/build/components/gallery/add/addCreationToGallery/index.js +48 -0
  102. package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
  103. package/build/components/headers/components/headerStreak/index.js +2 -2
  104. package/build/components/headers/components/headerUserPic/index.js +2 -2
  105. package/build/components/headers/header/index.js +7 -7
  106. package/build/components/headers/headerSearch/index.js +8 -8
  107. package/build/components/headers/headerSimple/index.d.ts +2 -0
  108. package/build/components/headers/headerSimple/index.js +78 -0
  109. package/build/components/linkTabs/index.d.ts +8 -0
  110. package/build/components/linkTabs/index.js +51 -0
  111. package/build/components/linkTabs/linkTab/index.d.ts +9 -0
  112. package/build/components/linkTabs/linkTab/index.js +74 -0
  113. package/build/components/myWallets/index.d.ts +9 -0
  114. package/build/components/myWallets/index.js +37 -0
  115. package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
  116. package/build/components/myWallets/myWalletItem/index.js +82 -0
  117. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +9 -0
  118. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +21 -0
  119. package/build/components/profile/profileSkeleton/index.d.ts +4 -0
  120. package/build/components/profile/profileSkeleton/index.js +75 -0
  121. package/build/components/search/SearchInputContainer.js +9 -9
  122. package/build/components/search/searchCloseMoreButtons/index.js +4 -4
  123. package/build/components/search/searchSimpleInput/index.js +7 -7
  124. package/build/components/search/searchSuggestions/index.d.ts +1 -1
  125. package/build/components/search/searchSuggestions/index.js +10 -10
  126. package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
  127. package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
  128. package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
  129. package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
  130. package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
  131. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +5 -0
  132. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +55 -0
  133. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +10 -0
  134. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +60 -0
  135. package/build/components/searchFiltersConnector/filters/index.d.ts +11 -0
  136. package/build/components/searchFiltersConnector/filters/index.js +158 -0
  137. package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +5 -0
  138. package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +25 -0
  139. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +9 -0
  140. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +53 -0
  141. package/build/components/searchFiltersConnector/index.d.ts +10 -0
  142. package/build/components/searchFiltersConnector/index.js +116 -0
  143. package/build/components/shareDialog/index.d.ts +34 -0
  144. package/build/components/shareDialog/index.js +92 -0
  145. package/build/components/sidebar/data.d.ts +6 -0
  146. package/build/components/sidebar/data.js +121 -0
  147. package/build/components/sidebar/icons.d.ts +9 -0
  148. package/build/components/sidebar/icons.js +22 -0
  149. package/build/components/sidebar/index.d.ts +2 -0
  150. package/build/components/sidebar/index.js +135 -0
  151. package/build/components/sidebar/initializer.d.ts +1 -0
  152. package/build/components/sidebar/initializer.js +36 -0
  153. package/build/components/sidebar/sidebarFilters/index.d.ts +7 -0
  154. package/build/components/sidebar/sidebarFilters/index.js +51 -0
  155. package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +2 -0
  156. package/build/components/sidebar/sidebarInviteCodeLabel/index.js +49 -0
  157. package/build/components/sidebar/sidebarSpa.d.ts +10 -0
  158. package/build/components/sidebar/sidebarSpa.js +134 -0
  159. package/build/components/toTopBtn/index.js +7 -7
  160. package/build/dto/AssetEntity/index.d.ts +63 -0
  161. package/build/dto/AssetEntity/index.js +208 -0
  162. package/build/dto/AssetEntity/interface.d.ts +39 -0
  163. package/build/dto/AssetEntity/interface.js +2 -0
  164. package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -0
  165. package/build/dto/AssetEntity/views/AssetAudio/index.js +32 -0
  166. package/build/dto/AssetEntity/views/AssetImage/index.d.ts +12 -0
  167. package/build/dto/AssetEntity/views/AssetImage/index.js +44 -0
  168. package/build/dto/AssetEntity/views/AssetObject/index.d.ts +13 -0
  169. package/build/dto/AssetEntity/views/AssetObject/index.js +64 -0
  170. package/build/dto/AssetEntity/views/AssetOther/index.d.ts +13 -0
  171. package/build/dto/AssetEntity/views/AssetOther/index.js +47 -0
  172. package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +12 -0
  173. package/build/dto/AssetEntity/views/AssetScreenshot/index.js +44 -0
  174. package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -0
  175. package/build/dto/AssetEntity/views/AssetVideo/index.js +32 -0
  176. package/build/dto/AssetEntity/views/index.d.ts +6 -0
  177. package/build/dto/AssetEntity/views/index.js +16 -0
  178. package/build/dto/AssetSearchEntity/index.d.ts +60 -0
  179. package/build/dto/AssetSearchEntity/index.js +164 -0
  180. package/build/dto/AssetSearchEntity/interface.d.ts +36 -0
  181. package/build/dto/AssetSearchEntity/interface.js +2 -0
  182. package/build/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
  183. package/build/dto/Collection/CollectionCreationEntity/index.js +173 -0
  184. package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
  185. package/build/dto/Collection/CollectionCreationEntity/interface.js +2 -0
  186. package/build/dto/Collection/CollectionEntity/index.d.ts +32 -0
  187. package/build/dto/Collection/CollectionEntity/index.js +82 -0
  188. package/build/dto/Collection/CollectionEntity/interface.d.ts +16 -0
  189. package/build/dto/Collection/CollectionEntity/interface.js +2 -0
  190. package/build/dto/CreationEntity/index.d.ts +49 -0
  191. package/build/dto/CreationEntity/index.js +178 -0
  192. package/build/dto/CreationEntity/interface.d.ts +30 -0
  193. package/build/dto/CreationEntity/interface.js +2 -0
  194. package/build/dto/GalleryEntityV2/index.d.ts +32 -0
  195. package/build/dto/GalleryEntityV2/index.js +80 -0
  196. package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
  197. package/build/dto/GalleryEntityV2/interface.js +2 -0
  198. package/build/dto/common/ItemType/data.d.ts +3 -0
  199. package/build/dto/common/ItemType/data.js +41 -0
  200. package/build/dto/common/ItemType/index.d.ts +49 -0
  201. package/build/dto/common/ItemType/index.js +46 -0
  202. package/build/dto/common/ItemViews/CreationAudio/index.d.ts +8 -0
  203. package/build/dto/common/ItemViews/CreationAudio/index.js +28 -0
  204. package/build/dto/common/ItemViews/CreationImage/index.d.ts +9 -0
  205. package/build/dto/common/ItemViews/CreationImage/index.js +39 -0
  206. package/build/dto/common/ItemViews/CreationObject/index.d.ts +7 -0
  207. package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
  208. package/build/dto/common/ItemViews/CreationOther/index.d.ts +8 -0
  209. package/build/dto/common/ItemViews/CreationOther/index.js +28 -0
  210. package/build/dto/common/ItemViews/CreationVideo/index.d.ts +8 -0
  211. package/build/dto/common/ItemViews/CreationVideo/index.js +28 -0
  212. package/build/dto/common/Media/Audio/index.d.ts +15 -0
  213. package/build/dto/common/Media/Audio/index.js +40 -0
  214. package/build/dto/common/Media/Image/index.d.ts +15 -0
  215. package/build/dto/common/Media/Image/index.js +48 -0
  216. package/build/dto/common/Media/Object/index.d.ts +15 -0
  217. package/build/dto/common/Media/Object/index.js +49 -0
  218. package/build/dto/common/Media/Other/index.d.ts +15 -0
  219. package/build/dto/common/Media/Other/index.js +68 -0
  220. package/build/dto/common/Media/Screenshot/index.d.ts +15 -0
  221. package/build/dto/common/Media/Screenshot/index.js +48 -0
  222. package/build/dto/common/Media/Urls/index.d.ts +31 -0
  223. package/build/dto/common/Media/Urls/index.js +125 -0
  224. package/build/dto/common/Media/Video/index.d.ts +15 -0
  225. package/build/dto/common/Media/Video/index.js +40 -0
  226. package/build/dto/common/Media/index.d.ts +28 -0
  227. package/build/dto/common/Media/index.js +45 -0
  228. package/build/dto/common/Media/interface.d.ts +30 -0
  229. package/build/dto/common/Media/interface.js +2 -0
  230. package/build/entities/asset/AssetMediasViews.d.ts +4 -0
  231. package/build/entities/asset/AssetMediasViews.js +54 -0
  232. package/build/entities/asset/builder.d.ts +1 -1
  233. package/build/entities/asset/builder.js +2 -2
  234. package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
  235. package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
  236. package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
  237. package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
  238. package/build/entities/asset/types.d.ts +2 -2
  239. package/build/entities/collection/builder.d.ts +3 -0
  240. package/build/entities/collection/builder.js +31 -0
  241. package/build/entities/collection/types.d.ts +17 -0
  242. package/build/entities/collection/types.js +2 -0
  243. package/build/entities/creation/CreationMediaView.d.ts +1 -1
  244. package/build/entities/creation/CreationMediaView.js +7 -7
  245. package/build/entities/creation/builder.d.ts +1 -1
  246. package/build/entities/creation/builder.js +3 -3
  247. package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
  248. package/build/entities/creation/collectionCreationBuilder.js +2 -2
  249. package/build/entities/creation/types.d.ts +2 -2
  250. package/build/entities/gallery/builder.d.ts +1 -1
  251. package/build/entities/gallery/builder.js +1 -1
  252. package/build/entities/gallery/types.d.ts +1 -1
  253. package/build/entities/media/builder.d.ts +1 -1
  254. package/build/entities/media/getMediaVariant.d.ts +1 -1
  255. package/build/entities/media/getMediaVariant.js +2 -2
  256. package/build/fonts/FontsInitializeLayout.d.ts +12 -0
  257. package/build/fonts/FontsInitializeLayout.js +164 -0
  258. package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +1 -0
  259. package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +6 -0
  260. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +2 -0
  261. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +103 -0
  262. package/build/hooks/apollo/index.d.ts +1 -0
  263. package/build/hooks/apollo/index.js +24 -0
  264. package/build/hooks/audio/useMultiAudio/index.d.ts +2 -0
  265. package/build/hooks/audio/useMultiAudio/index.js +47 -0
  266. package/build/hooks/extension/useExtension/index.d.ts +7 -0
  267. package/build/hooks/extension/useExtension/index.js +32 -0
  268. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +22 -0
  269. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +122 -0
  270. package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
  271. package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +166 -0
  272. package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
  273. package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +155 -0
  274. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
  275. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +145 -0
  276. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
  277. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +119 -0
  278. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
  279. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +125 -0
  280. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
  281. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +128 -0
  282. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
  283. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +142 -0
  284. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -0
  285. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +48 -0
  286. package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +14 -0
  287. package/build/hooks/likes/dynamic/useGetTableLikes.js +104 -0
  288. package/build/hooks/likes/index.d.ts +19 -0
  289. package/build/hooks/likes/index.js +113 -0
  290. package/build/hooks/likes/useGetLikesAsset.d.ts +20 -0
  291. package/build/hooks/likes/useGetLikesAsset.js +91 -0
  292. package/build/layouts/AppLayout.d.ts +6 -0
  293. package/build/layouts/AppLayout.js +24 -0
  294. package/build/layouts/GlobalLayout.d.ts +4 -0
  295. package/build/layouts/GlobalLayout.js +34 -0
  296. package/build/layouts/base/LWithRegularHeader/index.d.ts +3 -0
  297. package/build/layouts/base/LWithRegularHeader/index.js +16 -0
  298. package/build/layouts/base/LWithRegularHeader/type.d.ts +5 -0
  299. package/build/layouts/base/LWithRegularHeader/type.js +2 -0
  300. package/build/layouts/base/LWithSearchHeader/index.d.ts +3 -0
  301. package/build/layouts/base/LWithSearchHeader/index.js +12 -0
  302. package/build/layouts/base/LWithSearchHeader/type.d.ts +5 -0
  303. package/build/layouts/base/LWithSearchHeader/type.js +2 -0
  304. package/build/layouts/custom/mainLayout/index.d.ts +3 -0
  305. package/build/layouts/custom/mainLayout/index.js +17 -0
  306. package/build/layouts/custom/styles.d.ts +2 -0
  307. package/build/layouts/custom/styles.js +46 -0
  308. package/build/layouts/pageTransitionLayout.d.ts +6 -0
  309. package/build/layouts/pageTransitionLayout.js +23 -0
  310. package/build/layouts/pageWithLayout.d.ts +9 -0
  311. package/build/layouts/pageWithLayout.js +2 -0
  312. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
  313. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +204 -0
  314. package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
  315. package/build/modules/gallery/api/useGetFavoriteGallery.js +37 -0
  316. package/build/modules/gallery/store.d.ts +26 -0
  317. package/build/modules/gallery/store.js +97 -0
  318. package/build/modules/gallery/ui/AllResults.d.ts +3 -0
  319. package/build/modules/gallery/ui/AllResults.js +12 -0
  320. package/build/modules/gallery/ui/Description.d.ts +4 -0
  321. package/build/modules/gallery/ui/Description.js +101 -0
  322. package/build/modules/gallery/ui/EditGallery.d.ts +9 -0
  323. package/build/modules/gallery/ui/EditGallery.js +51 -0
  324. package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +4 -0
  325. package/build/modules/gallery/ui/GalleryDeleteIcon.js +30 -0
  326. package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -0
  327. package/build/modules/gallery/ui/PlaceholderItemsGallery.js +71 -0
  328. package/build/modules/gallery/ui/STopSections.d.ts +1 -0
  329. package/build/modules/gallery/ui/STopSections.js +31 -0
  330. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +7 -0
  331. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +97 -0
  332. package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
  333. package/build/modules/gallery/ui/chooseGalleryItems/index.js +157 -0
  334. package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
  335. package/build/modules/gallery/ui/createGalleryForm/index.js +137 -0
  336. package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
  337. package/build/modules/gallery/ui/editGalleryForm/index.js +189 -0
  338. package/build/modules/gallery/ui/itemsPreview/index.d.ts +19 -0
  339. package/build/modules/gallery/ui/itemsPreview/index.js +279 -0
  340. package/build/modules/gallery/useToGalleryAsset.d.ts +18 -0
  341. package/build/modules/gallery/useToGalleryAsset.js +88 -0
  342. package/build/modules/notifications/CreatorNotifications.d.ts +1 -0
  343. package/build/modules/notifications/CreatorNotifications.js +42 -0
  344. package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
  345. package/build/modules/opportunity/OpportunityCard.js +279 -0
  346. package/build/modules/opportunity/OpportunityDropDown.d.ts +5 -0
  347. package/build/modules/opportunity/OpportunityDropDown.js +42 -0
  348. package/build/modules/opportunity/ShareIcon.d.ts +1 -0
  349. package/build/modules/opportunity/ShareIcon.js +6 -0
  350. package/build/modules/opportunity/encodeQuery.d.ts +14 -0
  351. package/build/modules/opportunity/encodeQuery.js +31 -0
  352. package/build/modules/opportunity/popup/CopyIcon.d.ts +8 -0
  353. package/build/modules/opportunity/popup/CopyIcon.js +7 -0
  354. package/build/modules/opportunity/popup/FacebookIcon.d.ts +8 -0
  355. package/build/modules/opportunity/popup/FacebookIcon.js +7 -0
  356. package/build/modules/opportunity/popup/LinkedInIcon.d.ts +8 -0
  357. package/build/modules/opportunity/popup/LinkedInIcon.js +7 -0
  358. package/build/modules/opportunity/popup/LogoXIcon.d.ts +8 -0
  359. package/build/modules/opportunity/popup/LogoXIcon.js +7 -0
  360. package/build/modules/opportunity/popup/OpportunityMenu.d.ts +8 -0
  361. package/build/modules/opportunity/popup/OpportunityMenu.js +204 -0
  362. package/build/modules/opportunity/type.d.ts +2 -0
  363. package/build/modules/opportunity/type.js +2 -0
  364. package/build/modules/sessionScroll/globalTabs.d.ts +12 -0
  365. package/build/modules/sessionScroll/globalTabs.js +50 -0
  366. package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
  367. package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
  368. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +3 -0
  369. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +34 -0
  370. package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
  371. package/build/modules/user/auth/useAuthVerification.js +18 -0
  372. package/build/modules/user/auth/useSignIn.d.ts +2 -0
  373. package/build/modules/user/auth/useSignIn.js +23 -0
  374. package/build/modules/user/auth/useSignOut.d.ts +1 -0
  375. package/build/modules/user/auth/useSignOut.js +42 -0
  376. package/build/modules/user/auth/useVerification.d.ts +1 -0
  377. package/build/modules/user/auth/useVerification.js +67 -0
  378. package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
  379. package/build/modules/user/profileData/profileDataInitialization.js +66 -0
  380. package/build/modules/user/store.d.ts +1 -1
  381. package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
  382. package/build/modules/virtuoso/VirtuosoPageBuilder.js +135 -0
  383. package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
  384. package/build/modules/virtuoso/VirtuosoToTopBtn.js +38 -0
  385. package/build/modules/virtuoso/types.d.ts +4 -0
  386. package/build/modules/virtuoso/types.js +2 -0
  387. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
  388. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +27 -0
  389. package/build/modules/virtuoso/useVirtuosoData.d.ts +12 -0
  390. package/build/modules/virtuoso/useVirtuosoData.js +49 -0
  391. package/build/public/MobileSearchBtn/close.js +25 -0
  392. package/build/public/MobileSearchBtn/search.js +31 -0
  393. package/build/public/MobileSearchBtn/test/pirate.js +36 -0
  394. package/build/public/MobileSearchBtn/test/squircle.js +36 -0
  395. package/build/public/assetPage/audioPlaceholder.js +116 -0
  396. package/build/public/assetPage/details.js +31 -0
  397. package/build/public/assetPage/favorite.js +22 -0
  398. package/build/public/assetPage/favorite_hover.js +24 -0
  399. package/build/public/assetPage/flag.js +32 -0
  400. package/build/public/assetPage/fullScreen.js +24 -0
  401. package/build/public/assetPage/owners.js +27 -0
  402. package/build/public/assetPage/pause.js +25 -0
  403. package/build/public/assetPage/play.js +23 -0
  404. package/build/public/assetPage/share.js +26 -0
  405. package/build/public/assetPage/share2.js +25 -0
  406. package/build/public/assetPage/share2_hover.js +25 -0
  407. package/build/public/assetPage/shareWithDots.js +40 -0
  408. package/build/public/assetPage/shareWithDots_hover.js +40 -0
  409. package/build/public/assetPage/share_hover.js +24 -0
  410. package/build/public/assetPage/soundOf.js +24 -0
  411. package/build/public/assetPage/soundOn.js +24 -0
  412. package/build/public/calendar.js +24 -0
  413. package/build/public/cards/addToFavListIcon.js +30 -0
  414. package/build/public/cards/addToGalleryIcon.js +22 -0
  415. package/build/public/cards/heart.js +20 -0
  416. package/build/public/cardsHolderLoader/loader.js +25 -0
  417. package/build/public/checkbox-on.js +34 -0
  418. package/build/public/checkboxArrow.js +25 -0
  419. package/build/public/close.js +25 -0
  420. package/build/public/close20.js +25 -0
  421. package/build/public/collectionPage/export.js +25 -0
  422. package/build/public/copied.js +30 -0
  423. package/build/public/copy-icon-new.js +31 -0
  424. package/build/public/creation/card/moreBtn.js +24 -0
  425. package/build/public/creation/card/moreBtnVertical.js +28 -0
  426. package/build/public/creation/card/moreBtn_hover.js +28 -0
  427. package/build/public/dropDown/arrow_down.js +24 -0
  428. package/build/public/dropdown-arrow-down.js +22 -0
  429. package/build/public/dropdown-arrow-up.js +22 -0
  430. package/build/public/error/refresh.js +29 -0
  431. package/build/public/favicon.ico +0 -0
  432. package/build/public/favicon.png +0 -0
  433. package/build/public/follower.js +27 -0
  434. package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
  435. package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
  436. package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
  437. package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
  438. package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
  439. package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
  440. package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
  441. package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
  442. package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
  443. package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
  444. package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
  445. package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
  446. package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
  447. package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
  448. package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
  449. package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +25 -0
  450. package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +25 -0
  451. package/build/public/header/mobile_menu_icons/campaigns.js +40 -0
  452. package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +72 -0
  453. package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +71 -0
  454. package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +35 -0
  455. package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +34 -0
  456. package/build/public/header/mobile_menu_icons/dropdown/notifications.js +36 -0
  457. package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +44 -0
  458. package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +41 -0
  459. package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +58 -0
  460. package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +75 -0
  461. package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +64 -0
  462. package/build/public/header/mobile_menu_icons/experiences.js +49 -0
  463. package/build/public/header/mobile_menu_icons/settings.js +24 -0
  464. package/build/public/header/mobile_menu_icons/sign_out.js +31 -0
  465. package/build/public/header/mobile_menu_icons/submit_nft.js +88 -0
  466. package/build/public/header/mobile_menu_icons/top.js +45 -0
  467. package/build/public/header/mobile_toggle/close.js +25 -0
  468. package/build/public/header/mobile_toggle/regular.js +25 -0
  469. package/build/public/like-icon-active.js +27 -0
  470. package/build/public/like-icon.js +23 -0
  471. package/build/public/logOut/logOutBtn.js +35 -0
  472. package/build/public/logo/main_logo.js +726 -0
  473. package/build/public/logo/main_logo_dark.js +159 -0
  474. package/build/public/logo/mobile_logo.js +714 -0
  475. package/build/public/logo/mobile_logo_dark.js +147 -0
  476. package/build/public/ludo-logo-small.js +28 -0
  477. package/build/public/ludo-logo-square.js +40 -0
  478. package/build/public/no_image placeholder.js +41 -0
  479. package/build/public/no_media_placeholder.js +752 -0
  480. package/build/public/report.js +40 -0
  481. package/build/public/search/arrow_up.js +25 -0
  482. package/build/public/search/back.js +25 -0
  483. package/build/public/search/close.js +25 -0
  484. package/build/public/search/no_found.js +30 -0
  485. package/build/public/search/search.js +31 -0
  486. package/build/public/search-icon.js +34 -0
  487. package/build/public/services/opensea.js +28 -0
  488. package/build/public/services/other.js +40 -0
  489. package/build/public/services/rarible.js +29 -0
  490. package/build/public/settings_page/back.js +25 -0
  491. package/build/public/settings_page/burger_menu.js +37 -0
  492. package/build/public/settings_page/notifications.js +35 -0
  493. package/build/public/settings_page/notifications_active.js +35 -0
  494. package/build/public/settings_page/privacy.js +27 -0
  495. package/build/public/settings_page/privacy_active.js +27 -0
  496. package/build/public/settings_page/settings.js +28 -0
  497. package/build/public/settings_page/settings_active.js +28 -0
  498. package/build/public/settings_page/upload.js +30 -0
  499. package/build/public/share-icon.js +40 -0
  500. package/build/public/showCaseIcons/heart.js +20 -0
  501. package/build/public/tabs/arrow_right.js +25 -0
  502. package/build/public/tabs/arrow_right_dark.js +25 -0
  503. package/build/public/tests/audio.mp3 +0 -0
  504. package/build/public/tests/test_1.js +64 -0
  505. package/build/public/toTopBtn/toTopBtn.js +31 -0
  506. package/build/public/upload-userpic.js +64 -0
  507. package/build/public/userpic-placeholder.jpg +0 -0
  508. package/build/public/userpics/placeholder-lg-1.js +46 -0
  509. package/build/public/userpics/placeholder-sm-1.js +46 -0
  510. package/build/public/video/pause.js +33 -0
  511. package/build/public/video/play.js +29 -0
  512. package/build/public/wallets/arkane-btn.js +37 -0
  513. package/build/public/wallets/bitski-btn.js +52 -0
  514. package/build/public/wallets/elrond-btn.js +189 -0
  515. package/build/public/wallets/elrond-icon-sm.js +184 -0
  516. package/build/public/wallets/elrond.js +27 -0
  517. package/build/public/wallets/ethereum-icon-sm.js +34 -0
  518. package/build/public/wallets/flow-btn.js +33 -0
  519. package/build/public/wallets/flow-icon-sm.js +36 -0
  520. package/build/public/wallets/formatic-btn.js +25 -0
  521. package/build/public/wallets/formatic-icon-sm.js +25 -0
  522. package/build/public/wallets/maiar-btn.js +58 -0
  523. package/build/public/wallets/maiar-icon-sm.js +58 -0
  524. package/build/public/wallets/metamask-btn.js +176 -0
  525. package/build/public/wallets/metamask-icon-sm.js +169 -0
  526. package/build/public/wallets/phantom.js +27 -0
  527. package/build/public/wallets/plus.js +29 -0
  528. package/build/public/wallets/solana-btn.js +71 -0
  529. package/build/public/wallets/solana-icon-sm.js +64 -0
  530. package/build/public/wallets/terra-btn.js +94 -0
  531. package/build/public/wallets/terra-icon-sm.js +94 -0
  532. package/build/public/wallets/tezos-btn.js +42 -0
  533. package/build/public/wallets/tezos-icon-sm.js +37 -0
  534. package/build/public/wallets/wallet_connect.js +27 -0
  535. package/build/public/wallets/walletconnect-btn.js +22 -0
  536. package/build/public/wallets/walletlink-btn.js +36 -0
  537. package/build/public/wallets/walletlink-icon-sm.js +37 -0
  538. package/build/public/wallets/xdefi-btn.js +31 -0
  539. package/build/public/wallets/xdefi-icon-sm.js +31 -0
  540. package/build/public/warning.js +22 -0
  541. package/build/store/creation/index.d.ts +5 -0
  542. package/build/store/creation/index.js +38 -0
  543. package/build/store/media/index.d.ts +2 -0
  544. package/build/store/media/index.js +59 -0
  545. package/build/store/media/types.d.ts +11 -0
  546. package/build/store/media/types.js +2 -0
  547. package/build/store/ui/index.js +2 -2
  548. package/build/store/ui/types.d.ts +3 -3
  549. package/build/store/ui/utils.d.ts +1 -1
  550. package/build/styles/animations/index.d.ts +2 -0
  551. package/build/styles/animations/index.js +20 -0
  552. package/build/styles/globalStyles.d.ts +2 -0
  553. package/build/styles/globalStyles.js +86 -0
  554. package/build/system/ActiveLink/ActiveLink.test.d.ts +1 -0
  555. package/build/system/ActiveLink/ActiveLink.test.js +48 -0
  556. package/build/system/ActiveLink/index.d.ts +9 -0
  557. package/build/system/ActiveLink/index.js +49 -0
  558. package/build/system/Alert/index.d.ts +2 -0
  559. package/build/system/Alert/index.js +21 -0
  560. package/build/system/BasicOverlay/index.d.ts +2 -0
  561. package/build/system/BasicOverlay/index.js +27 -0
  562. package/build/system/Buttons/IconButton/index.d.ts +2 -0
  563. package/build/system/Buttons/IconButton/index.js +7 -0
  564. package/build/system/Buttons/IconWithButton/index.d.ts +2 -0
  565. package/build/system/Buttons/IconWithButton/index.js +7 -0
  566. package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
  567. package/build/system/Buttons/IconWithButton/themes.js +1 -0
  568. package/build/system/Buttons/MainButton/index.d.ts +2 -0
  569. package/build/system/Buttons/MainButton/index.js +7 -0
  570. package/build/system/Buttons/MainButton/themes.d.ts +0 -0
  571. package/build/system/Buttons/MainButton/themes.js +1 -0
  572. package/build/system/Buttons/SecondaryButton/index.d.ts +2 -0
  573. package/build/system/Buttons/SecondaryButton/index.js +7 -0
  574. package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
  575. package/build/system/Cards/CardCheckbox/index.js +89 -0
  576. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +1 -0
  577. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +28 -0
  578. package/build/system/Cards/CardContent/CardCategory/index.d.ts +5 -0
  579. package/build/system/Cards/CardContent/CardCategory/index.js +54 -0
  580. package/build/system/Cards/CardContent/CardContent.test.d.ts +1 -0
  581. package/build/system/Cards/CardContent/CardContent.test.js +103 -0
  582. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +1 -0
  583. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +37 -0
  584. package/build/system/Cards/CardContent/CardLikes/index.d.ts +5 -0
  585. package/build/system/Cards/CardContent/CardLikes/index.js +29 -0
  586. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +1 -0
  587. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +46 -0
  588. package/build/system/Cards/CardContent/CardShowMore/index.d.ts +6 -0
  589. package/build/system/Cards/CardContent/CardShowMore/index.js +121 -0
  590. package/build/system/Cards/CardContent/index.d.ts +17 -0
  591. package/build/system/Cards/CardContent/index.js +97 -0
  592. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +1 -0
  593. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +92 -0
  594. package/build/system/Cards/CardMedia/CardAudio/index.d.ts +7 -0
  595. package/build/system/Cards/CardMedia/CardAudio/index.js +66 -0
  596. package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +1 -0
  597. package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +34 -0
  598. package/build/system/Cards/CardMedia/CardImage/index.d.ts +9 -0
  599. package/build/system/Cards/CardMedia/CardImage/index.js +24 -0
  600. package/build/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
  601. package/build/system/Cards/CardMedia/CardVideo/index.js +57 -0
  602. package/build/system/Cards/CardRank/index.d.ts +4 -0
  603. package/build/system/Cards/CardRank/index.js +82 -0
  604. package/build/system/Cards/CreationCard/CardHead.d.ts +12 -0
  605. package/build/system/Cards/CreationCard/CardHead.js +62 -0
  606. package/build/system/Cards/CreationCard/index.d.ts +29 -0
  607. package/build/system/Cards/CreationCard/index.js +129 -0
  608. package/build/system/Cards/MultiMediaCard/index.d.ts +8 -0
  609. package/build/system/Cards/MultiMediaCard/index.js +126 -0
  610. package/build/system/Cards/Styles/Content.d.ts +2 -0
  611. package/build/system/Cards/Styles/Content.js +40 -0
  612. package/build/system/Cards/Styles/Head.d.ts +2 -0
  613. package/build/system/Cards/Styles/Head.js +46 -0
  614. package/build/system/Cards/Styles/Headicons.d.ts +4 -0
  615. package/build/system/Cards/Styles/Headicons.js +122 -0
  616. package/build/system/Cards/Styles/Image.d.ts +4 -0
  617. package/build/system/Cards/Styles/Image.js +24 -0
  618. package/build/system/Cards/Styles/Likes.d.ts +4 -0
  619. package/build/system/Cards/Styles/Likes.js +53 -0
  620. package/build/system/Cards/Styles/MultiHead.d.ts +2 -0
  621. package/build/system/Cards/Styles/MultiHead.js +44 -0
  622. package/build/system/Cards/Styles/Video.d.ts +2 -0
  623. package/build/system/Cards/Styles/Video.js +15 -0
  624. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +4 -0
  625. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +48 -0
  626. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +4 -0
  627. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +34 -0
  628. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -0
  629. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +57 -0
  630. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +2 -0
  631. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +42 -0
  632. package/build/system/DropDown/DropDown.test.d.ts +1 -0
  633. package/build/system/DropDown/DropDown.test.js +38 -0
  634. package/build/system/DropDown/index.js +2 -2
  635. package/build/system/Filters/type.d.ts +16 -0
  636. package/build/system/Filters/type.js +11 -0
  637. package/build/system/Flex/index.d.ts +0 -0
  638. package/build/system/Flex/index.js +1 -0
  639. package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
  640. package/build/system/Forms/Checkbox/index.js +4 -4
  641. package/build/system/Forms/DatePicker/DatePicker.test.d.ts +1 -0
  642. package/build/system/Forms/DatePicker/DatePicker.test.js +39 -0
  643. package/build/system/Forms/DatePicker/index.d.ts +14 -0
  644. package/build/system/Forms/DatePicker/index.js +138 -0
  645. package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
  646. package/build/system/Forms/ErrorLabel/index.js +1 -1
  647. package/build/system/Forms/Input/Input.test.js +2 -2
  648. package/build/system/Forms/Input/index.js +5 -5
  649. package/build/system/Forms/RadioInput/RadioInput.test.js +1 -1
  650. package/build/system/Forms/RadioInput/index.js +2 -2
  651. package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
  652. package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
  653. package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
  654. package/build/system/Forms/TextArea/TextArea.test.js +2 -2
  655. package/build/system/Forms/TextArea/index.js +4 -4
  656. package/build/system/Img/Profilepic/index.js +3 -3
  657. package/build/system/Img/Userpic/UserPic.test.js +4 -4
  658. package/build/system/Img/Userpic/UserPicSpa.js +6 -6
  659. package/build/system/Img/Userpic/index.js +6 -6
  660. package/build/system/Img/index.d.ts +3 -3
  661. package/build/system/Img/index.js +3 -3
  662. package/build/system/Labels/ExperienceLabel/index.js +5 -5
  663. package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
  664. package/build/system/Labels/InviteLabel/InviteLabel.test.js +44 -0
  665. package/build/system/Labels/InviteLabel/index.d.ts +6 -0
  666. package/build/system/Labels/InviteLabel/index.js +44 -0
  667. package/build/system/Modals/Modal/Modal.test.d.ts +1 -0
  668. package/build/system/Modals/Modal/Modal.test.js +36 -0
  669. package/build/system/Modals/Modal/index.d.ts +2 -0
  670. package/build/system/Modals/Modal/index.js +82 -0
  671. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +1 -0
  672. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +47 -0
  673. package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
  674. package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +35 -0
  675. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
  676. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +10 -0
  677. package/build/system/Modals/ModalSidebar/index.d.ts +3 -0
  678. package/build/system/Modals/ModalSidebar/index.js +78 -0
  679. package/build/system/Overlay/Overlay.test.d.ts +1 -0
  680. package/build/system/Overlay/Overlay.test.js +44 -0
  681. package/build/system/Overlay/index.d.ts +2 -0
  682. package/build/system/Overlay/index.js +41 -0
  683. package/build/system/PageLoader/index.d.ts +2 -0
  684. package/build/system/PageLoader/index.js +7 -0
  685. package/build/system/Palete/index.d.ts +2 -0
  686. package/build/system/Palete/index.js +7 -0
  687. package/build/system/ShareIconResize.d.ts +1 -0
  688. package/build/system/ShareIconResize.js +31 -0
  689. package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
  690. package/build/system/Tabs/TabNavLink/TabNavLink.test.js +40 -0
  691. package/build/system/Tabs/TabNavLink/index.d.ts +12 -0
  692. package/build/system/Tabs/TabNavLink/index.js +58 -0
  693. package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
  694. package/build/system/Tabs/TabsNav/TabsNav.test.js +43 -0
  695. package/build/system/Tabs/TabsNav/index.d.ts +10 -0
  696. package/build/system/Tabs/TabsNav/index.js +31 -0
  697. package/build/system/Tabs/TabsNav/type.d.ts +6 -0
  698. package/build/system/Tabs/TabsNav/type.js +2 -0
  699. package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
  700. package/build/system/Tabs/TabsPanel/TabsPanel.test.js +32 -0
  701. package/build/system/Tabs/TabsPanel/index.d.ts +7 -0
  702. package/build/system/Tabs/TabsPanel/index.js +17 -0
  703. package/build/system/Text/index.d.ts +0 -0
  704. package/build/system/Text/index.js +1 -0
  705. package/build/system/index.d.ts +6 -0
  706. package/build/system/index.js +22 -0
  707. package/build/utils/adaptive/check4k.d.ts +1 -1
  708. package/build/utils/adaptive/check4k.js +1 -1
  709. package/build/utils/adaptive/scale.d.ts +1 -1
  710. package/build/utils/adaptive/scale.js +1 -1
  711. package/build/utils/auth/index.js +1 -1
  712. package/build/utils/copyBtn/index.d.ts +5 -0
  713. package/build/utils/copyBtn/index.js +46 -0
  714. package/build/utils/extractItemIds.d.ts +2 -0
  715. package/build/utils/extractItemIds.js +6 -0
  716. package/build/utils/getDimensionsImage.d.ts +4 -0
  717. package/build/utils/getDimensionsImage.js +38 -0
  718. package/build/utils/getErrorAlertProps/index.js +1 -1
  719. package/build/utils/imageProportionsSize/index.d.ts +5 -0
  720. package/build/utils/imageProportionsSize/index.js +23 -0
  721. package/build/utils/redirectToApp.d.ts +1 -0
  722. package/build/utils/redirectToApp.js +29 -0
  723. package/build/utils/screen/index.js +2 -2
  724. package/build/utils/ssrFunctions/index.d.ts +17 -0
  725. package/build/utils/ssrFunctions/index.js +33 -0
  726. package/package.json +1 -1
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.useSearchFiltersConnector = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const filters_1 = __importDefault(require("./filters"));
9
+ const fetchSearchResultSelections_1 = require("../../api/server-preferences/queries/fetchSearchResultSelections");
10
+ const router_1 = require("next/router");
11
+ const react_1 = require("react");
12
+ const useSearchFiltersConnector = function ({ defaults, isDisabledTypeFilters, isMobile, }) {
13
+ const defaultCopyWithoutTerm = {
14
+ time: defaults.time,
15
+ blockchain: defaults.blockchain,
16
+ category: defaults.category,
17
+ status: defaults.status,
18
+ ...("type" in defaults
19
+ ? {
20
+ type: defaults.type,
21
+ }
22
+ : {}),
23
+ };
24
+ const { searchResultSelections } = (0, fetchSearchResultSelections_1.useFetchSearchResultSelections)();
25
+ const [filterInput, setFilterInput] = (0, react_1.useState)(defaultCopyWithoutTerm);
26
+ const router = (0, router_1.useRouter)();
27
+ (0, react_1.useEffect)(() => {
28
+ router.replace({
29
+ query: {
30
+ ...router.query,
31
+ ...defaultCopyWithoutTerm,
32
+ },
33
+ }, undefined, { shallow: true });
34
+ }, []);
35
+ const handleFilterInput = async (fieldName, fieldValue) => {
36
+ await router.replace({
37
+ query: { ...router.query, [fieldName]: fieldValue },
38
+ }, undefined, { shallow: true });
39
+ setFilterInput((prevFilters) => ({
40
+ ...prevFilters,
41
+ [fieldName]: fieldValue,
42
+ }));
43
+ };
44
+ const handleMobileFilterInput = async (newFilters) => {
45
+ await router.replace({
46
+ query: { ...router.query, ...newFilters },
47
+ }, undefined, { shallow: true });
48
+ setFilterInput((prevFilters) => ({
49
+ ...prevFilters,
50
+ ...newFilters,
51
+ }));
52
+ };
53
+ const handleResetFilter = () => {
54
+ if (searchResultSelections) {
55
+ const filterInitialStateNft = {
56
+ ...(isDisabledTypeFilters ? {} : { type: searchResultSelections.typeSelections[0]?.id }),
57
+ time: searchResultSelections.timeSelections[0]?.id,
58
+ blockchain: searchResultSelections.blockchainSelections[0]?.id,
59
+ category: searchResultSelections.categorySelections[0]?.id,
60
+ status: searchResultSelections.statusSelections[0]?.id,
61
+ };
62
+ setFilterInput(filterInitialStateNft);
63
+ router.replace({
64
+ query: {
65
+ ...router.query,
66
+ ...filterInitialStateNft,
67
+ },
68
+ }, undefined, { shallow: true });
69
+ }
70
+ };
71
+ return {
72
+ filterInput,
73
+ renderFilters: !!(filterInput.time || filterInput.status || filterInput.category || filterInput.blockchain) ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchResultSelections && ((0, jsx_runtime_1.jsx)(filters_1.default, { filterInput: filterInput, selectData: [
74
+ // ...(!isDisabledTypeFilters
75
+ // ? [
76
+ // {
77
+ // id: 1,
78
+ // data: {
79
+ // selectName: 'type',
80
+ // selectOptions: searchResultSelections.typeSelections,
81
+ // },
82
+ // },
83
+ // ]
84
+ // : []),
85
+ {
86
+ id: 2,
87
+ data: {
88
+ selectName: "blockchain",
89
+ selectOptions: searchResultSelections.blockchainSelections,
90
+ },
91
+ },
92
+ {
93
+ id: 3,
94
+ data: {
95
+ selectName: "category",
96
+ selectOptions: searchResultSelections.categorySelections,
97
+ },
98
+ },
99
+ // {
100
+ // id: 4,
101
+ // data: {
102
+ // selectName: 'time',
103
+ // selectOptions: searchResultSelections.timeSelections,
104
+ // },
105
+ // },
106
+ // {
107
+ // id: 5,
108
+ // data: {
109
+ // selectName: 'status',
110
+ // selectOptions: searchResultSelections.statusSelections,
111
+ // },
112
+ // },
113
+ ], filterInputHandler: handleFilterInput, handleResetFilter: handleResetFilter, handleMobileFilterInput: handleMobileFilterInput, isMobile: isMobile })) })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})),
114
+ };
115
+ };
116
+ exports.useSearchFiltersConnector = useSearchFiltersConnector;
@@ -0,0 +1,34 @@
1
+ interface IShareDialog {
2
+ shareMyProfileLink?: string;
3
+ link: string | null;
4
+ onHide: () => void;
5
+ params?: {
6
+ email?: {
7
+ body?: string;
8
+ separator?: string;
9
+ subject?: string;
10
+ };
11
+ telegram?: {
12
+ title?: string;
13
+ };
14
+ whatsapp?: {
15
+ title?: string;
16
+ separator?: string;
17
+ };
18
+ twitter?: {
19
+ title?: string;
20
+ via?: string;
21
+ hashtags?: string[];
22
+ related?: string[];
23
+ };
24
+ reddit?: {
25
+ title?: string;
26
+ };
27
+ facebook?: {
28
+ quote?: string;
29
+ hashtag?: string;
30
+ };
31
+ };
32
+ }
33
+ declare const ShareDialog: ({ link, onHide, params, shareMyProfileLink }: IShareDialog) => import("react/jsx-runtime").JSX.Element;
34
+ export default ShareDialog;
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const ui_1 = require("../../store/ui");
8
+ const ScreenWidth_1 = require("../../styles/ScreenWidth");
9
+ const colors_1 = require("../../styles/colors");
10
+ const index_1 = require("../../system/index");
11
+ const constants_1 = require("@ludo.ninja/core/build/constants");
12
+ const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
13
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
14
+ const utils_1 = require("@ludo.ninja/utils");
15
+ const react_share_1 = require("react-share");
16
+ const styled_components_1 = __importDefault(require("styled-components"));
17
+ // Styles
18
+ const STitle = (0, styled_components_1.default)(index_1.H1) `
19
+ margin-bottom: 24px;
20
+ color: ${colors_1.BlackColor};
21
+
22
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
23
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(24)};
24
+ }
25
+ `;
26
+ const StyledShare = styled_components_1.default.div `
27
+ .shareButtons {
28
+ display: grid;
29
+ grid-template-columns: 1fr 1fr 1fr 1fr;
30
+ row-gap: 24px;
31
+ column-gap: 16px;
32
+ margin: 0 43px 33px 43px;
33
+ justify-content: center;
34
+
35
+ ${ScreenWidth_1.mediaQuery.mobile} {
36
+ grid-template-columns: 1fr 1fr;
37
+ justify-items: center;
38
+ align-items: center;
39
+ }
40
+ }
41
+
42
+ .shareBtn {
43
+ width: 108px;
44
+ height: 64px;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: space-between;
48
+ flex-direction: column;
49
+ cursor: pointer;
50
+ border: none;
51
+ background-color: transparent;
52
+
53
+ img {
54
+ width: 40px;
55
+ height: 40px;
56
+ }
57
+ }
58
+
59
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
60
+ .shareButtons {
61
+ row-gap: ${(0, _4k_1.adaptiveValueCalc)(24)};
62
+ column-gap: ${(0, _4k_1.adaptiveValueCalc)(16)};
63
+ margin: 0 ${(0, _4k_1.adaptiveValueCalc)(43)} ${(0, _4k_1.adaptiveValueCalc)(33)} ${(0, _4k_1.adaptiveValueCalc)(43)};
64
+ }
65
+
66
+ .shareBtn {
67
+ width: ${(0, _4k_1.adaptiveValueCalc)(108)};
68
+ height: ${(0, _4k_1.adaptiveValueCalc)(64)};
69
+
70
+ img {
71
+ width: ${(0, _4k_1.adaptiveValueCalc)(40)};
72
+ height: ${(0, _4k_1.adaptiveValueCalc)(40)};
73
+ }
74
+ }
75
+ }
76
+ `;
77
+ const ShareDialog = ({ link, onHide, params, shareMyProfileLink }) => {
78
+ const url = new URL(link || "");
79
+ url.search = "";
80
+ const urlWithoutGetParameters = shareMyProfileLink || url.toString();
81
+ const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
82
+ return ((0, jsx_runtime_1.jsxs)(StyledShare, { children: [(0, jsx_runtime_1.jsx)(index_1.Flex, { alignItems: "center", justifyContent: "center", children: (0, jsx_runtime_1.jsx)(STitle, { children: "Share to..." }) }), (0, jsx_runtime_1.jsxs)("div", { className: "shareButtons", children: [(0, jsx_runtime_1.jsxs)("button", { onClick: () => {
83
+ onHide();
84
+ (0, utils_1.copyToClipboard)(urlWithoutGetParameters).then(() => {
85
+ openAlert({
86
+ type: type_1.alertVariants.copied,
87
+ });
88
+ });
89
+ }, className: "shareBtn", children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/copy-link-btn.svg`, alt: "share", height: 40, width: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Copy Link" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.EmailShareButton, { url: urlWithoutGetParameters, body: params?.email?.body, separator: params?.email?.separator, subject: params?.email?.subject, className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/email-btn.svg`, alt: "email", height: 40, width: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Email" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.TelegramShareButton, { url: urlWithoutGetParameters, title: params?.telegram?.title, className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/telegram-btn.svg`, alt: "telegram", height: 40, width: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Telegram" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.WhatsappShareButton, { url: urlWithoutGetParameters, title: params?.whatsapp?.title, separator: params?.whatsapp?.separator, className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/whatsapp-btn.svg`, alt: "whatsapp", height: 40, width: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "WhatsApp" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.TwitterShareButton, { url: urlWithoutGetParameters, title: params?.twitter?.title, via: params?.twitter?.via, related: params?.twitter?.related, hashtags: params?.twitter?.hashtags, className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/twitter-btn.svg`, alt: "twitter", width: 40, height: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Twitter" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.RedditShareButton, { url: urlWithoutGetParameters, title: params?.reddit?.title, className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/reddit-btn.svg`, alt: "reddit", width: 40, height: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Reddit" })] }), (0, jsx_runtime_1.jsxs)(react_share_1.FacebookShareButton, { url: urlWithoutGetParameters, quote: params?.facebook?.quote || "My cool NFT", hashtag: params?.facebook?.hashtag || "#ludo", className: "shareBtn", onClick: onHide, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/share/facebook-btn.svg`, alt: "facebook", width: 40, height: 40 }), (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.TextGrayColor, children: "Facebook" })] })] })] }));
90
+ };
91
+ // Export
92
+ exports.default = ShareDialog;
@@ -0,0 +1,6 @@
1
+ export declare const useSidebarData: () => {
2
+ href: string;
3
+ title: string;
4
+ icon: import("react/jsx-runtime").JSX.Element;
5
+ isExternalUrl: boolean;
6
+ }[];
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useSidebarData = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const icons_1 = require("./icons");
6
+ const store_1 = require("../../modules/user/store");
7
+ const env_1 = require("../../store/env");
8
+ const ludoDomains_1 = require("@ludo.ninja/core/build/ludoDomains");
9
+ const interface_1 = require("@ludo.ninja/ui/build/dto/Theme/interface");
10
+ const styled_components_1 = require("styled-components");
11
+ const useSidebarData = () => {
12
+ const { isAuthorized, userId } = (0, store_1.useUserStore)((state) => ({
13
+ isAuthorized: state.isSignedIn,
14
+ userId: state.user?.userId,
15
+ }));
16
+ const { NEXT_PUBLIC_ENV_VALUE, isProd } = (0, env_1.useEnvStore)((state) => ({
17
+ NEXT_PUBLIC_ENV_VALUE: state.NEXT_PUBLIC_ENV_VALUE,
18
+ isProd: state.isProd,
19
+ }));
20
+ const { type } = (0, styled_components_1.useTheme)();
21
+ const isDarkTheme = type === interface_1.ThemeEnum.dark;
22
+ if (!isProd()) {
23
+ return [
24
+ {
25
+ href: ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"],
26
+ title: "Explore",
27
+ icon: (0, jsx_runtime_1.jsx)(icons_1.ExploreIcon, {}),
28
+ isExternalUrl: false,
29
+ },
30
+ {
31
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/trends`,
32
+ title: "Trends",
33
+ icon: (0, jsx_runtime_1.jsx)(icons_1.LeaderboardsIcon, {}),
34
+ isExternalUrl: false,
35
+ },
36
+ ...(isAuthorized
37
+ ? [
38
+ {
39
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/rewards/${userId}`,
40
+ title: "Rewards",
41
+ icon: (0, jsx_runtime_1.jsx)(icons_1.RewardsIcon, {}),
42
+ isExternalUrl: false,
43
+ },
44
+ // {
45
+ // href: `${ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"]}/trends`,
46
+ // title: "Trends",
47
+ // icon: <LeaderboardsIcon />,
48
+ // isExternalUrl: false,
49
+ // },
50
+ {
51
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["account"]}/referrals`,
52
+ title: "Referral Dashboard",
53
+ icon: (0, jsx_runtime_1.jsx)(icons_1.ReferralDashboardIcon, {}),
54
+ isExternalUrl: false,
55
+ },
56
+ {
57
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/invite-codes`,
58
+ title: "My invites",
59
+ icon: (0, jsx_runtime_1.jsx)(icons_1.MyInvitesIcon, {}),
60
+ isExternalUrl: false,
61
+ },
62
+ ]
63
+ : []),
64
+ {
65
+ href: "https://apidocs.ludo.com/",
66
+ title: "API",
67
+ icon: (0, jsx_runtime_1.jsx)(icons_1.ApiIcon, {}),
68
+ isExternalUrl: true,
69
+ },
70
+ {
71
+ href: ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"],
72
+ title: "Submit NFT",
73
+ icon: (0, jsx_runtime_1.jsx)(icons_1.SubmitNftIcon, {}),
74
+ isExternalUrl: false,
75
+ },
76
+ {
77
+ href: ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"],
78
+ title: "About Ludo",
79
+ icon: isDarkTheme ? (0, jsx_runtime_1.jsx)(icons_1.AboutLudoDarkIcon, {}) : (0, jsx_runtime_1.jsx)(icons_1.AboutLudoIcon, {}),
80
+ isExternalUrl: false,
81
+ },
82
+ ];
83
+ }
84
+ return [
85
+ // {
86
+ // href: `${ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"]}/leaderboards`,
87
+ // title: "Leaderboards",
88
+ // icon: <LeaderboardsIcon />,
89
+ // isExternalUrl: false,
90
+ // },
91
+ ...(isAuthorized
92
+ ? [
93
+ {
94
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/rewards/${userId}`,
95
+ title: "Rewards",
96
+ icon: (0, jsx_runtime_1.jsx)(icons_1.RewardsIcon, {}),
97
+ isExternalUrl: false,
98
+ },
99
+ // {
100
+ // href: `${ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"]}/leaderboards`,
101
+ // title: "Leaderboards",
102
+ // icon: <LeaderboardsIcon />,
103
+ // isExternalUrl: false,
104
+ // },
105
+ {
106
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["account"]}/referrals`,
107
+ title: "Referral Dashboard",
108
+ icon: (0, jsx_runtime_1.jsx)(icons_1.ReferralDashboardIcon, {}),
109
+ isExternalUrl: false,
110
+ },
111
+ {
112
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/invite-codes`,
113
+ title: "My invites",
114
+ icon: (0, jsx_runtime_1.jsx)(icons_1.MyInvitesIcon, {}),
115
+ isExternalUrl: false,
116
+ },
117
+ ]
118
+ : []),
119
+ ];
120
+ };
121
+ exports.useSidebarData = useSidebarData;
@@ -0,0 +1,9 @@
1
+ export declare const AboutLudoIcon: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AboutLudoDarkIcon: () => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ApiIcon: () => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ExploreIcon: () => import("react/jsx-runtime").JSX.Element;
5
+ export declare const MyInvitesIcon: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const RewardsIcon: () => import("react/jsx-runtime").JSX.Element;
7
+ export declare const LeaderboardsIcon: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ReferralDashboardIcon: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const SubmitNftIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubmitNftIcon = exports.ReferralDashboardIcon = exports.LeaderboardsIcon = exports.RewardsIcon = exports.MyInvitesIcon = exports.ExploreIcon = exports.ApiIcon = exports.AboutLudoDarkIcon = exports.AboutLudoIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const AboutLudoIcon = () => ((0, jsx_runtime_1.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M3.17457 7.31904C4.09143 6.47859 5.2375 5.65724 6.51729 4.93139C7.75887 4.22465 9.01955 3.65161 10.1847 3.28869C9.7836 2.37183 9.28696 1.74149 8.67572 1.55047C5.82964 1.24485 3.74761 2.31452 2.50603 5.1033C2.0094 6.19207 1.68468 7.62466 1.57007 9.15276C1.95209 8.56062 2.48693 7.94939 3.17457 7.31904Z", fill: "url(#paint0_linear_14706_23755)" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.3948 3.84277C9.24876 4.2057 8.00718 4.75963 6.8038 5.44728C5.58133 6.15402 4.45435 6.95627 3.5757 7.75852C2.73524 8.52257 2.124 9.30572 1.79928 9.97427C1.64647 10.3181 1.57007 10.6237 1.57007 10.9102C1.64647 12.2664 1.95209 13.6417 2.50603 14.8833C2.35322 14.1383 2.79255 13.2024 3.633 12.2282C4.28244 11.4833 5.142 10.7192 6.15436 9.97427C6.89931 9.42033 7.70156 8.9046 8.54202 8.40797C9.38247 7.91133 10.242 7.47201 11.1016 7.10908C10.9488 5.90571 10.7196 4.75963 10.3948 3.84277Z", fill: "url(#paint1_linear_14706_23755)" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.261 16.7545C9.07676 16.3725 7.79698 15.7995 6.51719 15.0545C5.27561 14.3287 4.14864 13.5264 3.26999 12.7051C2.65875 13.5073 2.37223 14.2523 2.50594 14.8826C3.67111 17.4995 5.63854 18.7602 8.67563 18.4545C9.85991 18.3399 11.2734 17.9006 12.6487 17.2321C11.9419 17.1939 11.1397 17.0411 10.261 16.7545Z", fill: "url(#paint2_linear_14706_23755)" }), (0, jsx_runtime_1.jsx)("path", { d: "M3.63257 12.247C4.51122 13.0492 5.6191 13.8515 6.82247 14.5582C8.04495 15.265 9.30563 15.838 10.4326 16.2009C11.5214 16.5448 12.4955 16.6785 13.2405 16.6403C13.6225 16.6021 13.909 16.5066 14.1573 16.3729C15.2843 15.6279 16.3349 14.6728 17.1371 13.5841C16.5641 14.0807 15.5326 14.1762 14.272 13.9279C13.2978 13.7369 12.209 13.374 11.0629 12.8773C10.2034 12.5144 9.36294 12.0751 8.50338 11.5976C7.64383 11.12 6.84157 10.5852 6.09663 10.0312C5.14157 10.738 4.26291 11.502 3.63257 12.247Z", fill: "url(#paint3_linear_14706_23755)" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.8836 5.90549C15.151 7.12797 15.2847 8.52235 15.2847 9.99315C15.2847 11.4257 15.151 12.801 14.8644 13.9853C15.8577 14.0999 16.66 13.9853 17.1184 13.546C18.7993 11.2347 18.9139 8.90438 17.1184 6.42122C16.4307 5.44706 15.342 4.45379 14.0813 3.59424C14.4251 4.22458 14.6925 5.00773 14.8836 5.90549Z", fill: "url(#paint4_linear_14706_23755)" }), (0, jsx_runtime_1.jsx)("path", { d: "M14.2913 13.9088C14.5587 12.7436 14.6924 11.3874 14.6924 9.99304C14.6924 8.57954 14.5587 7.20426 14.3104 6.03908C14.0621 4.93121 13.6992 4.01435 13.2789 3.38401C13.0497 3.07839 12.8396 2.86828 12.5913 2.71547C11.3688 2.12333 10.0317 1.684 8.67554 1.55029C9.40138 1.79861 9.99352 2.63906 10.4137 3.86154C10.7385 4.7975 10.9677 5.92447 11.1014 7.16605C11.216 8.08291 11.2542 9.03797 11.2733 10.0121C11.2924 10.9863 11.2351 11.9605 11.1205 12.8773C12.2284 13.3549 13.3362 13.7178 14.2913 13.9088Z", fill: "url(#paint5_linear_14706_23755)" }), (0, jsx_runtime_1.jsxs)("defs", { children: [(0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint0_linear_14706_23755", x1: "9.63955", y1: "2.16972", x2: "3.4464", y2: "5.568", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint1_linear_14706_23755", x1: "11.8572", y1: "6.21142", x2: "5.66409", y2: "9.60972", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint2_linear_14706_23755", x1: "2.56028", y1: "13.7384", x2: "8.59976", y2: "17.4025", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint3_linear_14706_23755", x1: "4.95109", y1: "9.79742", x2: "10.9906", y2: "13.4615", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint4_linear_14706_23755", x1: "16.1191", y1: "14.0851", x2: "16.2727", y2: "7.02267", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint5_linear_14706_23755", x1: "11.5101", y1: "13.9847", x2: "11.6638", y2: "6.92228", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#B0B2C0", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#B0B2C0", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#B0B2C0" })] })] })] }));
6
+ exports.AboutLudoIcon = AboutLudoIcon;
7
+ const AboutLudoDarkIcon = () => ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: [(0, jsx_runtime_1.jsx)("path", { d: "M2.17482 6.31904C3.09167 5.47859 4.23775 4.65724 5.51753 3.93139C6.75911 3.22465 8.01979 2.65161 9.18497 2.28869C8.78384 1.37183 8.28721 0.741487 7.67597 0.550475C4.82989 0.244855 2.74785 1.31452 1.50627 4.1033C1.00964 5.19207 0.68492 6.62466 0.570312 8.15276C0.952337 7.56062 1.48717 6.94939 2.17482 6.31904Z", fill: "url(#paint0_linear_14814_7891)" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.39508 2.84277C8.24901 3.2057 7.00743 3.75963 5.80405 4.44728C4.58157 5.15402 3.4546 5.95627 2.57594 6.75852C1.73549 7.52257 1.12425 8.30572 0.799527 8.97427C0.646717 9.31809 0.570312 9.62371 0.570312 9.91023C0.646717 11.2664 0.952337 12.6417 1.50627 13.8833C1.35346 13.1383 1.79279 12.2024 2.63324 11.2282C3.28269 10.4833 4.14224 9.71922 5.15461 8.97427C5.89956 8.42033 6.70181 7.9046 7.54226 7.40797C8.38271 6.91133 9.24227 6.47201 10.1018 6.10908C9.94902 4.90571 9.7198 3.75963 9.39508 2.84277Z", fill: "url(#paint1_linear_14814_7891)" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.26201 15.7545C8.07773 15.3725 6.79795 14.7995 5.51817 14.0545C4.27659 13.3287 3.14962 12.5264 2.27096 11.7051C1.65972 12.5073 1.3732 13.2523 1.50691 13.8826C2.67209 16.4995 4.63951 17.7602 7.67661 17.4545C8.86088 17.3399 10.2744 16.9006 11.6497 16.2321C10.9429 16.1939 10.1407 16.0411 9.26201 15.7545Z", fill: "url(#paint2_linear_14814_7891)" }), (0, jsx_runtime_1.jsx)("path", { d: "M2.63281 11.247C3.51147 12.0492 4.61934 12.8515 5.82272 13.5582C7.0452 14.265 8.30588 14.838 9.43285 15.2009C10.5216 15.5448 11.4958 15.6785 12.2407 15.6403C12.6228 15.6021 12.9093 15.5066 13.1576 15.3729C14.2846 14.6279 15.3351 13.6728 16.1374 12.5841C15.5643 13.0807 14.5329 13.1762 13.2722 12.9279C12.298 12.7369 11.2093 12.374 10.0632 11.8773C9.20364 11.5144 8.36318 11.0751 7.50363 10.5976C6.64407 10.12 5.84182 9.58519 5.09687 9.03125C4.14181 9.738 3.26315 10.502 2.63281 11.247Z", fill: "url(#paint3_linear_14814_7891)" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.8843 4.90549C14.1517 6.12797 14.2854 7.52235 14.2854 8.99315C14.2854 10.4257 14.1517 11.801 13.8652 12.9853C14.8584 13.0999 15.6607 12.9853 16.1191 12.546C17.8 10.2347 17.9146 7.90438 16.1191 5.42122C15.4315 4.44706 14.3427 3.45379 13.082 2.59424C13.4259 3.22458 13.6933 4.00773 13.8843 4.90549Z", fill: "url(#paint4_linear_14814_7891)" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.2915 12.9088C13.559 11.7436 13.6927 10.3874 13.6927 8.99304C13.6927 7.57954 13.559 6.20426 13.3106 5.03908C13.0623 3.93121 12.6994 3.01435 12.2792 2.38401C12.05 2.07839 11.8398 1.86828 11.5915 1.71547C10.3691 1.12333 9.03197 0.684002 7.67578 0.550293C8.40163 0.798609 8.99377 1.63906 9.41399 2.86154C9.73871 3.7975 9.96793 4.92447 10.1016 6.16605C10.2162 7.08291 10.2544 8.03797 10.2735 9.01214C10.2926 9.9863 10.2353 10.9605 10.1207 11.8773C11.2286 12.3549 12.3365 12.7178 13.2915 12.9088Z", fill: "url(#paint5_linear_14814_7891)" }), (0, jsx_runtime_1.jsxs)("defs", { children: [(0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint0_linear_14814_7891", x1: "8.6398", y1: "1.16972", x2: "2.44665", y2: "4.568", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint1_linear_14814_7891", x1: "10.8575", y1: "5.21142", x2: "4.66434", y2: "8.60972", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint2_linear_14814_7891", x1: "1.56125", y1: "12.7384", x2: "7.60074", y2: "16.4025", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint3_linear_14814_7891", x1: "3.95133", y1: "8.79742", x2: "9.99082", y2: "12.4615", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint4_linear_14814_7891", x1: "15.1198", y1: "13.0851", x2: "15.2734", y2: "6.02267", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] }), (0, jsx_runtime_1.jsxs)("linearGradient", { id: "paint5_linear_14814_7891", x1: "10.5104", y1: "12.9847", x2: "10.664", y2: "5.92228", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#474B5D", stopOpacity: "0.6" }), (0, jsx_runtime_1.jsx)("stop", { offset: "0.0444639", stopColor: "#474B5D", stopOpacity: "0.6178" }), (0, jsx_runtime_1.jsx)("stop", { offset: "1", stopColor: "#474B5D" })] })] })] }));
8
+ exports.AboutLudoDarkIcon = AboutLudoDarkIcon;
9
+ const ApiIcon = () => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.81256 1.6375C6.81256 1.28542 6.52715 1 6.17507 1C5.82299 1 5.53757 1.28542 5.53757 1.6375V3.70532C4.43775 3.9884 3.62508 4.98679 3.62508 6.17499V8.08749H1.6375C1.28542 8.08749 1 8.37291 1 8.72499C1 9.07707 1.28542 9.36249 1.6375 9.36249H3.62508V10.6375H1.6375C1.28542 10.6375 1 10.9229 1 11.275C1 11.6271 1.28542 11.9125 1.6375 11.9125H3.62508V13.1875H1.6375C1.28542 13.1875 1 13.4729 1 13.825C1 14.1771 1.28542 14.4625 1.6375 14.4625H3.70542C3.98849 15.5623 4.98688 16.375 6.17507 16.375H8.08756V18.3625C8.08756 18.7146 8.37297 19 8.72505 19C9.07713 19 9.36255 18.7146 9.36255 18.3625V16.375H10.6375V18.3625C10.6375 18.7146 10.923 19 11.275 19C11.6271 19 11.9125 18.7146 11.9125 18.3625V16.375H13.1875V18.3625C13.1875 18.7146 13.4729 19 13.825 19C14.1771 19 14.4625 18.7146 14.4625 18.3625V16.2947C15.5623 16.0116 16.375 15.0132 16.375 13.825V11.9125H18.3625C18.7146 11.9125 19 11.6271 19 11.275C19 10.9229 18.7146 10.6375 18.3625 10.6375H16.375V9.36249H18.3625C18.7146 9.36249 19 9.07707 19 8.72499C19 8.37291 18.7146 8.08749 18.3625 8.08749H16.375V6.81249H18.3625C18.7146 6.81249 19 6.52707 19 6.17499C19 5.82291 18.7146 5.53749 18.3625 5.53749H16.2947C16.0116 4.43766 15.0132 3.62499 13.825 3.62499H11.9125V1.6375C11.9125 1.28542 11.6271 1 11.275 1C10.923 1 10.6375 1.28542 10.6375 1.6375V3.62499H9.36255V1.6375C9.36255 1.28542 9.07713 1 8.72505 1C8.37297 1 8.08756 1.28542 8.08756 1.6375V3.62499H6.81256V1.6375ZM7.29069 11.5939V7.44999H6.17507V11.5939C6.17507 12.8261 7.17403 13.8251 8.40631 13.8251H12.55V12.7095H8.40631C7.79017 12.7095 7.29069 12.21 7.29069 11.5939Z", fill: "#B0B2C0" }) }));
10
+ exports.ApiIcon = ApiIcon;
11
+ const ExploreIcon = () => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 18C14.4182 18 18 14.4183 18 10C18 5.58172 14.4182 2 10 2C5.58179 2 2 5.58172 2 10C2 14.4183 5.58179 18 10 18ZM12.7764 6.71751L8.42188 8.16904C8.30225 8.20885 8.2085 8.30258 8.1687 8.42203L6.71729 12.7766C6.61304 13.0893 6.9104 13.3868 7.22314 13.2826L11.5779 11.8311C11.6973 11.7913 11.791 11.6975 11.8308 11.5781L13.2825 7.22346C13.3867 6.91077 13.0891 6.61327 12.7764 6.71751ZM10.9998 9.99998C10.9998 10.5523 10.552 11 9.99976 11C9.44751 11 8.99976 10.5523 8.99976 9.99998C8.99976 9.44769 9.44751 8.99998 9.99976 8.99998C10.552 8.99998 10.9998 9.44769 10.9998 9.99998Z", fill: "#B0B2C0" }) }));
12
+ exports.ExploreIcon = ExploreIcon;
13
+ const MyInvitesIcon = () => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { d: "M13.4917 1.66699H6.50841C3.47508 1.66699 1.66675 3.47533 1.66675 6.50866V13.4837C1.66675 16.5253 3.47508 18.3337 6.50841 18.3337H13.4834C16.5167 18.3337 18.3251 16.5253 18.3251 13.492V6.50866C18.3334 3.47533 16.5251 1.66699 13.4917 1.66699ZM13.3334 10.6253H10.6251V13.3337C10.6251 13.6753 10.3417 13.9587 10.0001 13.9587C9.65841 13.9587 9.37508 13.6753 9.37508 13.3337V10.6253H6.66675C6.32508 10.6253 6.04175 10.342 6.04175 10.0003C6.04175 9.65866 6.32508 9.37533 6.66675 9.37533H9.37508V6.66699C9.37508 6.32533 9.65841 6.04199 10.0001 6.04199C10.3417 6.04199 10.6251 6.32533 10.6251 6.66699V9.37533H13.3334C13.6751 9.37533 13.9584 9.65866 13.9584 10.0003C13.9584 10.342 13.6751 10.6253 13.3334 10.6253Z", fill: "#B0B2C0" }) }));
14
+ exports.MyInvitesIcon = MyInvitesIcon;
15
+ const RewardsIcon = () => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { d: "M14.925 8.93341H12.35V2.93341C12.35 1.53341 11.5917 1.25008 10.6667 2.30008L10 3.05841L4.35834 9.47508C3.58334 10.3501 3.90834 11.0667 5.07501 11.0667H7.65001V17.0667C7.65001 18.4667 8.40834 18.7501 9.33334 17.7001L10 16.9417L15.6417 10.5251C16.4167 9.65008 16.0917 8.93341 14.925 8.93341Z", fill: "#B0B2C0" }) }));
16
+ exports.RewardsIcon = RewardsIcon;
17
+ const LeaderboardsIcon = () => ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [(0, jsx_runtime_1.jsx)("path", { d: "M8 10C8 9.44772 8.44772 9 9 9H12C12.5523 9 13 9.44772 13 10V17.0001H8V10Z", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("path", { d: "M14 13.5H17C17.5523 13.5 18 13.9477 18 14.5V16C18 16.5523 17.5523 17 17 17H14V13.5Z", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("path", { d: "M3 12.5C3 11.9477 3.44772 11.5 4 11.5H7V17H3V12.5Z", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.8328 1.39174C10.7859 1.24758 10.6516 1.15 10.5 1.15C10.3484 1.15 10.2141 1.24758 10.1672 1.39174L9.53759 3.32721H7.5C7.34834 3.32721 7.21393 3.42489 7.1671 3.56914C7.12027 3.71339 7.17168 3.87139 7.29442 3.96047L8.94254 5.15656L8.31306 7.09173C8.26616 7.23592 8.31743 7.3939 8.44005 7.48307C8.56267 7.57224 8.72877 7.57232 8.85147 7.48326L10.5 6.28687L12.1485 7.48326C12.2712 7.57232 12.4373 7.57224 12.5599 7.48307C12.6826 7.3939 12.7338 7.23592 12.6869 7.09173L12.0575 5.15656L13.7056 3.96047C13.8283 3.87139 13.8797 3.71339 13.8329 3.56914C13.7861 3.42489 13.6517 3.32721 13.5 3.32721H11.4624L10.8328 1.39174Z", fill: "#B0B2C0", stroke: "#B0B2C0", strokeWidth: "0.7", strokeLinejoin: "round" })] }));
18
+ exports.LeaderboardsIcon = LeaderboardsIcon;
19
+ const ReferralDashboardIcon = () => ((0, jsx_runtime_1.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("rect", { x: "2.5", y: "2.5", width: "6.92308", height: "9.23077", rx: "1", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("rect", { x: "10.5769", y: "8.26953", width: "6.92308", height: "9.23077", rx: "1", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("rect", { x: "10.5769", y: "2.5", width: "6.92308", height: "4.61539", rx: "1", fill: "#B0B2C0" }), (0, jsx_runtime_1.jsx)("rect", { x: "2.5", y: "12.8843", width: "6.92308", height: "4.61539", rx: "1", fill: "#B0B2C0" })] }));
20
+ exports.ReferralDashboardIcon = ReferralDashboardIcon;
21
+ const SubmitNftIcon = () => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.51162 1.66992L13.495 1.66992C16.5284 1.66992 18.3367 3.47826 18.3284 6.51159V13.4949C18.3284 16.5283 16.52 18.3366 13.4867 18.3366H6.51162C3.47827 18.3366 1.66992 16.5283 1.66992 13.4866L1.66992 6.51159C1.66992 3.47826 3.47827 1.66992 6.51162 1.66992ZM10.65 6C10.65 5.64101 10.3589 5.35 9.99996 5.35C9.64097 5.35 9.34996 5.64101 9.34996 6V12.1411L7.45956 10.2507C7.20572 9.99684 6.79416 9.99684 6.54032 10.2507C6.28647 10.5045 6.28647 10.9161 6.54032 11.1699L9.54034 14.1699C9.79418 14.4238 10.2057 14.4238 10.4596 14.1699L13.4596 11.1699C13.7134 10.9161 13.7134 10.5045 13.4596 10.2507C13.2058 9.99684 12.7942 9.99684 12.5404 10.2507L10.65 12.1411L10.65 6Z", fill: "#B0B2C0" }) }));
22
+ exports.SubmitNftIcon = SubmitNftIcon;
@@ -0,0 +1,2 @@
1
+ declare const Sidebar: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Sidebar;
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const data_1 = require("./data");
8
+ const sidebarInviteCodeLabel_1 = __importDefault(require("./sidebarInviteCodeLabel"));
9
+ const useExtension_1 = __importDefault(require("../../hooks/extension/useExtension"));
10
+ const useSignOut_1 = require("../../modules/user/auth/useSignOut");
11
+ const store_1 = require("../../modules/user/store");
12
+ const ui_1 = require("../../store/ui");
13
+ const ScreenWidth_1 = require("../../styles/ScreenWidth");
14
+ const Userpic_1 = __importDefault(require("../../system/Img/Userpic"));
15
+ const scale_1 = require("../../utils/adaptive/scale");
16
+ const auth_1 = require("../../utils/auth");
17
+ const screen_1 = require("../../utils/screen");
18
+ const constants_1 = require("@ludo.ninja/core/build/constants");
19
+ const sidebar_1 = require("@ludo.ninja/ui/build/components/sidebar");
20
+ const MainButton_1 = __importDefault(require("@ludo.ninja/ui/build/system/Buttons/MainButton"));
21
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
22
+ const link_1 = __importDefault(require("next/link"));
23
+ const styled_components_1 = __importDefault(require("styled-components"));
24
+ const MenuItem = styled_components_1.default.div `
25
+ font-size: 15px;
26
+ font-weight: 500;
27
+ line-height: 22px;
28
+ display: flex;
29
+ gap: 8px;
30
+ align-items: center;
31
+ padding: 12px 4px;
32
+ text-indent: 4px;
33
+ border-radius: 4px;
34
+ cursor: pointer;
35
+ color: ${({ theme }) => theme.colors.secondaryText};
36
+
37
+ ${ScreenWidth_1.mediaQuery.mobile} {
38
+ font-size: 14px;
39
+ line-height: 20px;
40
+ }
41
+
42
+ transition: background-color 0.3s ease-in-out;
43
+
44
+ @media (hover: hover) {
45
+ &:hover {
46
+ transition: background-color 0.3s ease-in;
47
+ background-color: ${({ theme }) => theme.colors.secondaryBg};
48
+ }
49
+ }
50
+
51
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
52
+ font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
53
+ line-height: ${(0, _4k_1.adaptiveValueCalc)(22)};
54
+ gap: ${(0, _4k_1.adaptiveValueCalc)(8)};
55
+ padding: ${(0, _4k_1.adaptiveValueCalc)(12)} ${(0, _4k_1.adaptiveValueCalc)(4)};
56
+ text-indent: ${(0, _4k_1.adaptiveValueCalc)(4)};
57
+ border-radius: ${(0, _4k_1.adaptiveValueCalc)(4)};
58
+
59
+ img {
60
+ width: ${(0, _4k_1.adaptiveValueCalc)(20)};
61
+ height: ${(0, _4k_1.adaptiveValueCalc)(20)};
62
+ }
63
+ }
64
+ `;
65
+ const BeforeMenuContainer = styled_components_1.default.div `
66
+ padding: 12px 0;
67
+ border-bottom: 1px solid ${({ theme }) => theme.colors.divider};
68
+
69
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
70
+ padding: ${(0, _4k_1.adaptiveValueCalc)(12)} 0;
71
+ border-bottom: ${(0, _4k_1.adaptiveValueCalc)(1)} solid ${({ theme }) => theme.colors.divider};
72
+ }
73
+ `;
74
+ const SLink = (0, styled_components_1.default)(link_1.default) `
75
+ &:not(:last-child) svg path {
76
+ fill: ${({ theme }) => theme.colors.sidebarSvgPathFill};
77
+ }
78
+
79
+ .icon-wrapper {
80
+ width: 20px;
81
+ height: 20px;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+
86
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
87
+ width: ${(0, _4k_1.adaptiveValueCalc)(20)};
88
+ height: ${(0, _4k_1.adaptiveValueCalc)(20)};
89
+
90
+ svg {
91
+ transform: ${(props) => "transform" in props.scale && props.scale.transform};
92
+ }
93
+ }
94
+ }
95
+ `;
96
+ // Component
97
+ const Sidebar = () => {
98
+ const redirectToLoginWindow = (0, auth_1.useRedirectToLoginWindow)();
99
+ const closeSidebar = (0, ui_1.useUiStore)((state) => state.closeSidebar);
100
+ const isSidebarOpen = (0, ui_1.useUiStore)((state) => state.isSidebarOpen);
101
+ const isAuthorized = (0, store_1.useUserStore)((state) => state.isSignedIn);
102
+ const getUser = (0, store_1.useUserStore)((state) => state.user);
103
+ const signOut = (0, useSignOut_1.useSignOut)();
104
+ const { deviceType } = (0, screen_1.useWindowDimensions)();
105
+ const { isExtensionInstalled, openExtensionChromeStorePage, openExtension } = (0, useExtension_1.default)();
106
+ const { wallets, userId } = getUser ?? [""];
107
+ // Todo fav-list
108
+ const sideBarData = (0, data_1.useSidebarData)();
109
+ const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
110
+ return ((0, jsx_runtime_1.jsx)(sidebar_1.Sidebar, { closeSidebar: closeSidebar, isOpen: isSidebarOpen, handle: {
111
+ login: () => {
112
+ closeSidebar();
113
+ redirectToLoginWindow();
114
+ },
115
+ logout: () => {
116
+ signOut(true);
117
+ },
118
+ }, isAuthorized: isAuthorized, userWallets: wallets, slots: {
119
+ menu: sideBarData.map(({ title, href, icon, isExternalUrl }) => ((0, jsx_runtime_1.jsxs)(SLink, { href: href, target: isExternalUrl ? "_blank" : "_self", onClick: closeSidebar, passHref: isExternalUrl, scale: (0, scale_1.getAdaptiveScale)({ windowDimensions, currentSize: 1 }), children: [(0, jsx_runtime_1.jsx)("span", { className: "icon-wrapper", children: icon }), title] }, title))),
120
+ userPicture: ({ children, height, width, isNeedBoxTransform }) => ((0, jsx_runtime_1.jsx)(Userpic_1.default, { width: width, height: height, userId: userId, isNeedBoxTransform: isNeedBoxTransform, children: children })),
121
+ inviteCode: (0, jsx_runtime_1.jsx)(sidebarInviteCodeLabel_1.default, {}),
122
+ ...(deviceType == "isDesktop" && isAuthorized
123
+ ? {
124
+ beforeMenu: ((0, jsx_runtime_1.jsx)(BeforeMenuContainer, { children: isExtensionInstalled ? ((0, jsx_runtime_1.jsxs)(MenuItem, { onClick: () => {
125
+ closeSidebar();
126
+ openExtension();
127
+ }, children: [(0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/sidebar/ludoX.svg`, alt: "Ludo X", width: 20, height: 20 }), "Open Ludo X"] })) : ((0, jsx_runtime_1.jsx)("div", { style: { padding: "12px 0" }, children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { onClick: () => {
128
+ closeSidebar();
129
+ openExtensionChromeStorePage();
130
+ }, text: "Install Ludo X now", variant: "primaryM" }) })) })),
131
+ }
132
+ : {}),
133
+ } }));
134
+ };
135
+ exports.default = Sidebar;
@@ -0,0 +1 @@
1
+ export declare const SidebarInitializer: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SidebarInitializer = void 0;
30
+ const jsx_runtime_1 = require("react/jsx-runtime");
31
+ const dynamic_1 = __importDefault(require("next/dynamic"));
32
+ const Sidebar = (0, dynamic_1.default)(() => Promise.resolve().then(() => __importStar(require('./index'))).then((res) => res.default), {
33
+ ssr: false,
34
+ });
35
+ const SidebarInitializer = () => (0, jsx_runtime_1.jsx)(Sidebar, {});
36
+ exports.SidebarInitializer = SidebarInitializer;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare const SidebarFilters: ({ isOpen, handleClose, children, }: {
3
+ isOpen: boolean;
4
+ handleClose: () => void;
5
+ children: React.ReactNode;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ export default SidebarFilters;