@chrryai/chrry 1.3.7 → 1.3.8
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.
- package/Store.module.scss +30 -12
- package/dist/{Store.module-NP6776GY.scss → Store.module-CEG6FTQM.scss} +30 -12
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +66 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +66 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/Store.module.scss
CHANGED
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
margin-bottom: toRem.toRem(20);
|
|
18
18
|
|
|
19
19
|
.title {
|
|
20
|
-
display: flex;
|
|
21
20
|
font-size: toRem.toRem(20);
|
|
22
|
-
align-items: center;
|
|
23
21
|
gap: toRem.toRem(10);
|
|
24
22
|
margin: 0;
|
|
25
23
|
margin-bottom: toRem.toRem(5);
|
|
@@ -67,9 +65,16 @@
|
|
|
67
65
|
flex-wrap: wrap;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
|
-
.
|
|
68
|
+
.tryItNow {
|
|
69
|
+
margin-left: auto;
|
|
70
|
+
font-size: toRem.toRem(14);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.appTitle {
|
|
71
74
|
display: flex;
|
|
72
|
-
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.titleText {
|
|
73
78
|
gap: toRem.toRem(5);
|
|
74
79
|
text-align: center;
|
|
75
80
|
flex: 1;
|
|
@@ -101,18 +106,19 @@
|
|
|
101
106
|
min-width: initial;
|
|
102
107
|
flex: 1;
|
|
103
108
|
|
|
104
|
-
|
|
109
|
+
.appImage {
|
|
110
|
+
max-width: toRem.toRem(40);
|
|
111
|
+
max-height: toRem.toRem(40);
|
|
105
112
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
// min-width: toRem.toRem(200);
|
|
112
|
-
// }
|
|
113
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
114
|
+
max-width: toRem.toRem(80);
|
|
115
|
+
max-height: toRem.toRem(80);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
113
118
|
|
|
114
119
|
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
115
120
|
flex: inherit;
|
|
121
|
+
min-width: toRem.toRem(130);
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
&:last-child {
|
|
@@ -135,6 +141,12 @@
|
|
|
135
141
|
flex-direction: column;
|
|
136
142
|
gap: toRem.toRem(2);
|
|
137
143
|
|
|
144
|
+
display: none;
|
|
145
|
+
|
|
146
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
147
|
+
display: flex;
|
|
148
|
+
}
|
|
149
|
+
|
|
138
150
|
.appName {
|
|
139
151
|
font-size: toRem.toRem(16);
|
|
140
152
|
font-weight: 600;
|
|
@@ -169,6 +181,12 @@
|
|
|
169
181
|
&.planned {
|
|
170
182
|
background-color: var(--shade-3);
|
|
171
183
|
}
|
|
184
|
+
|
|
185
|
+
display: none;
|
|
186
|
+
|
|
187
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
188
|
+
display: flex;
|
|
189
|
+
}
|
|
172
190
|
}
|
|
173
191
|
}
|
|
174
192
|
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
margin-bottom: toRem.toRem(20);
|
|
18
18
|
|
|
19
19
|
.title {
|
|
20
|
-
display: flex;
|
|
21
20
|
font-size: toRem.toRem(20);
|
|
22
|
-
align-items: center;
|
|
23
21
|
gap: toRem.toRem(10);
|
|
24
22
|
margin: 0;
|
|
25
23
|
margin-bottom: toRem.toRem(5);
|
|
@@ -67,9 +65,16 @@
|
|
|
67
65
|
flex-wrap: wrap;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
|
-
.
|
|
68
|
+
.tryItNow {
|
|
69
|
+
margin-left: auto;
|
|
70
|
+
font-size: toRem.toRem(14);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.appTitle {
|
|
71
74
|
display: flex;
|
|
72
|
-
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.titleText {
|
|
73
78
|
gap: toRem.toRem(5);
|
|
74
79
|
text-align: center;
|
|
75
80
|
flex: 1;
|
|
@@ -101,18 +106,19 @@
|
|
|
101
106
|
min-width: initial;
|
|
102
107
|
flex: 1;
|
|
103
108
|
|
|
104
|
-
|
|
109
|
+
.appImage {
|
|
110
|
+
max-width: toRem.toRem(40);
|
|
111
|
+
max-height: toRem.toRem(40);
|
|
105
112
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
// min-width: toRem.toRem(200);
|
|
112
|
-
// }
|
|
113
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
114
|
+
max-width: toRem.toRem(80);
|
|
115
|
+
max-height: toRem.toRem(80);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
113
118
|
|
|
114
119
|
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
115
120
|
flex: inherit;
|
|
121
|
+
min-width: toRem.toRem(130);
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
&:last-child {
|
|
@@ -135,6 +141,12 @@
|
|
|
135
141
|
flex-direction: column;
|
|
136
142
|
gap: toRem.toRem(2);
|
|
137
143
|
|
|
144
|
+
display: none;
|
|
145
|
+
|
|
146
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
147
|
+
display: flex;
|
|
148
|
+
}
|
|
149
|
+
|
|
138
150
|
.appName {
|
|
139
151
|
font-size: toRem.toRem(16);
|
|
140
152
|
font-weight: 600;
|
|
@@ -169,6 +181,12 @@
|
|
|
169
181
|
&.planned {
|
|
170
182
|
background-color: var(--shade-3);
|
|
171
183
|
}
|
|
184
|
+
|
|
185
|
+
display: none;
|
|
186
|
+
|
|
187
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
188
|
+
display: flex;
|
|
189
|
+
}
|
|
172
190
|
}
|
|
173
191
|
}
|
|
174
192
|
|
package/dist/index.d.mts
CHANGED
|
@@ -781,7 +781,7 @@ declare const isFirefox: boolean;
|
|
|
781
781
|
declare function getFlag({ code }: {
|
|
782
782
|
code?: string;
|
|
783
783
|
}): string;
|
|
784
|
-
declare const VERSION = "1.3.
|
|
784
|
+
declare const VERSION = "1.3.8";
|
|
785
785
|
type instructionBase = {
|
|
786
786
|
id: string;
|
|
787
787
|
title: string;
|
|
@@ -1165,7 +1165,7 @@ declare const getImageSrc: ({ app, icon, logo, store, PROD_FRONTEND_URL, src, sl
|
|
|
1165
1165
|
showLoading?: boolean;
|
|
1166
1166
|
dataTestId?: string;
|
|
1167
1167
|
src?: string;
|
|
1168
|
-
logo?: "lifeOS" | "isMagenta" | "isVivid" | "vex" | "chrry";
|
|
1168
|
+
logo?: "lifeOS" | "isMagenta" | "isVivid" | "vex" | "chrry" | "blossom";
|
|
1169
1169
|
icon?: "spaceInvader" | "pacman" | "heart" | "plus" | "hamster" | "frog" | "calendar" | "deepSeek" | "perplexity" | "claude" | "chatGPT" | "gemini" | "flux" | "chrry" | "raspberry" | "strawberry";
|
|
1170
1170
|
app?: appWithStore;
|
|
1171
1171
|
width?: number | string;
|
package/dist/index.d.ts
CHANGED
|
@@ -781,7 +781,7 @@ declare const isFirefox: boolean;
|
|
|
781
781
|
declare function getFlag({ code }: {
|
|
782
782
|
code?: string;
|
|
783
783
|
}): string;
|
|
784
|
-
declare const VERSION = "1.3.
|
|
784
|
+
declare const VERSION = "1.3.8";
|
|
785
785
|
type instructionBase = {
|
|
786
786
|
id: string;
|
|
787
787
|
title: string;
|
|
@@ -1165,7 +1165,7 @@ declare const getImageSrc: ({ app, icon, logo, store, PROD_FRONTEND_URL, src, sl
|
|
|
1165
1165
|
showLoading?: boolean;
|
|
1166
1166
|
dataTestId?: string;
|
|
1167
1167
|
src?: string;
|
|
1168
|
-
logo?: "lifeOS" | "isMagenta" | "isVivid" | "vex" | "chrry";
|
|
1168
|
+
logo?: "lifeOS" | "isMagenta" | "isVivid" | "vex" | "chrry" | "blossom";
|
|
1169
1169
|
icon?: "spaceInvader" | "pacman" | "heart" | "plus" | "hamster" | "frog" | "calendar" | "deepSeek" | "perplexity" | "claude" | "chatGPT" | "gemini" | "flux" | "chrry" | "raspberry" | "strawberry";
|
|
1170
1170
|
app?: appWithStore;
|
|
1171
1171
|
width?: number | string;
|
package/dist/index.js
CHANGED
|
@@ -3467,7 +3467,7 @@ var init_lib = __esm({
|
|
|
3467
3467
|
image
|
|
3468
3468
|
}) => {
|
|
3469
3469
|
const iconSrc = icon ? icon === "spaceInvader" ? `${PROD_FRONTEND_URL2}/images/pacman/space-invader.png` : icon === "pacman" ? `${BASE_URL}/images/pacman/pacman.png` : icon === "heart" ? `${BASE_URL}/images/pacman/heart.png` : icon === "plus" ? `${BASE_URL}/icons/plus-128.png` : icon === "hamster" ? `${BASE_URL}/hamster.png` : icon === "frog" ? `${BASE_URL}/frog.png` : icon === "calendar" ? `${BASE_URL}/icons/calendar-128.png` : `${BASE_URL}/icons/${icon}-128.png` : null;
|
|
3470
|
-
const logoSrc = logo === "chrry" || store?.slug === "explore" ? `${BASE_URL}/logo/cherry-500.png` : logo === "lifeOS" || store?.slug === "lifeOS" ? `${BASE_URL}/icons/lifeOS-128.png` : logo === "vex" || store?.slug === "vex" ? `${BASE_URL}/icons/icon-128.png` : logo ? `${BASE_URL}/icons/icon-128${logo === "isMagenta" ? "-m" : ""}${logo === "isVivid" ? "-v" : ""}.png` : null;
|
|
3470
|
+
const logoSrc = logo === "blossom" ? `${BASE_URL}/images/apps/blossom.png` : logo === "chrry" || store?.slug === "explore" ? `${BASE_URL}/logo/cherry-500.png` : logo === "lifeOS" || store?.slug === "lifeOS" ? `${BASE_URL}/icons/lifeOS-128.png` : logo === "vex" || store?.slug === "vex" ? `${BASE_URL}/icons/icon-128.png` : logo ? `${BASE_URL}/icons/icon-128${logo === "isMagenta" ? "-m" : ""}${logo === "isVivid" ? "-v" : ""}.png` : null;
|
|
3471
3471
|
const getImageBySize = (size2) => {
|
|
3472
3472
|
if (!app?.images?.length) return null;
|
|
3473
3473
|
if (size2 <= 32) return app.images[4]?.url;
|
|
@@ -21282,7 +21282,7 @@ function DataProvider({
|
|
|
21282
21282
|
const [instructions, setInstructions] = (0, import_react14.useState)([]);
|
|
21283
21283
|
const [affiliateStats, setAffiliateStats] = (0, import_react14.useState)(null);
|
|
21284
21284
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react14.useState)(false);
|
|
21285
|
-
const VERSION3 = "1.3.
|
|
21285
|
+
const VERSION3 = "1.3.8";
|
|
21286
21286
|
const [weather, setWeather] = useLocalStorage("weather", user?.weather || guest?.weather || void 0);
|
|
21287
21287
|
const {
|
|
21288
21288
|
API_URL: API_URL2,
|
|
@@ -22367,7 +22367,7 @@ var init_utils = __esm({
|
|
|
22367
22367
|
window.history.replaceState({}, "", newUrl);
|
|
22368
22368
|
};
|
|
22369
22369
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent.includes("Firefox");
|
|
22370
|
-
VERSION = "1.3.
|
|
22370
|
+
VERSION = "1.3.8";
|
|
22371
22371
|
getSlugFromPathname = (path) => {
|
|
22372
22372
|
const siteConfig = getSiteConfig();
|
|
22373
22373
|
return getAppAndStoreSlugs(path, {
|
|
@@ -24732,9 +24732,7 @@ var init_Store_styles = __esm({
|
|
|
24732
24732
|
marginBottom: 20
|
|
24733
24733
|
},
|
|
24734
24734
|
title: {
|
|
24735
|
-
display: "flex",
|
|
24736
24735
|
fontSize: 20,
|
|
24737
|
-
alignItems: "center",
|
|
24738
24736
|
gap: 10,
|
|
24739
24737
|
margin: 0,
|
|
24740
24738
|
marginBottom: 5,
|
|
@@ -24764,13 +24762,19 @@ var init_Store_styles = __esm({
|
|
|
24764
24762
|
marginTop: 10,
|
|
24765
24763
|
flexWrap: "wrap"
|
|
24766
24764
|
},
|
|
24765
|
+
tryItNow: {
|
|
24766
|
+
marginLeft: "auto",
|
|
24767
|
+
fontSize: 14
|
|
24768
|
+
},
|
|
24769
|
+
appTitle: {
|
|
24770
|
+
display: "flex"
|
|
24771
|
+
},
|
|
24767
24772
|
titleText: {
|
|
24768
|
-
display: "flex",
|
|
24769
|
-
alignItems: "center",
|
|
24770
24773
|
gap: 5,
|
|
24771
24774
|
textAlign: "center",
|
|
24772
24775
|
flex: 1,
|
|
24773
24776
|
alignSelf: "center",
|
|
24777
|
+
alignItems: "center",
|
|
24774
24778
|
justifyContent: "center",
|
|
24775
24779
|
fontWeight: 600
|
|
24776
24780
|
},
|
|
@@ -24791,7 +24795,7 @@ var init_Store_styles = __esm({
|
|
|
24791
24795
|
padding: 10,
|
|
24792
24796
|
paddingTop: 13,
|
|
24793
24797
|
borderRadius: 20,
|
|
24794
|
-
minWidth:
|
|
24798
|
+
minWidth: "initial",
|
|
24795
24799
|
flex: 1,
|
|
24796
24800
|
alignSelf: "flex-start"
|
|
24797
24801
|
},
|
|
@@ -24799,8 +24803,12 @@ var init_Store_styles = __esm({
|
|
|
24799
24803
|
outline: "2px solid var(--accent-1)"
|
|
24800
24804
|
}
|
|
24801
24805
|
},
|
|
24806
|
+
appImage: {
|
|
24807
|
+
maxWidth: 40,
|
|
24808
|
+
maxHeight: 40
|
|
24809
|
+
},
|
|
24802
24810
|
appInfo: {
|
|
24803
|
-
display: "
|
|
24811
|
+
display: "none",
|
|
24804
24812
|
flexDirection: "column",
|
|
24805
24813
|
gap: 2
|
|
24806
24814
|
},
|
|
@@ -24827,7 +24835,8 @@ var init_Store_styles = __esm({
|
|
|
24827
24835
|
padding: "3px 10px",
|
|
24828
24836
|
borderRadius: 20,
|
|
24829
24837
|
fontSize: 12,
|
|
24830
|
-
marginBottom: 10
|
|
24838
|
+
marginBottom: 10,
|
|
24839
|
+
display: "none"
|
|
24831
24840
|
},
|
|
24832
24841
|
badgeInProgress: {
|
|
24833
24842
|
backgroundColor: "var(--accent-5)"
|
|
@@ -30980,8 +30989,7 @@ function App({
|
|
|
30980
30989
|
ImageComponent,
|
|
30981
30990
|
{
|
|
30982
30991
|
showLoading: false,
|
|
30983
|
-
logo: "lifeOS",
|
|
30984
|
-
app: storeApp?.images ? storeApp : void 0,
|
|
30992
|
+
logo: app?.id === chrry?.id ? "blossom" : "lifeOS",
|
|
30985
30993
|
store,
|
|
30986
30994
|
size: 24
|
|
30987
30995
|
}
|
|
@@ -37002,6 +37010,7 @@ function Subscribe({
|
|
|
37002
37010
|
setLoading(false);
|
|
37003
37011
|
}
|
|
37004
37012
|
};
|
|
37013
|
+
const [purchaseType, setPurchaseType] = (0, import_react61.useState)();
|
|
37005
37014
|
const verifyPayment = async (sessionId) => {
|
|
37006
37015
|
track({ name: "subscribe_verify_payment" });
|
|
37007
37016
|
const params = new URLSearchParams(window.location.search);
|
|
@@ -37029,8 +37038,12 @@ function Subscribe({
|
|
|
37029
37038
|
if (data.success) {
|
|
37030
37039
|
track({ name: "subscribe_payment_verified" });
|
|
37031
37040
|
if (isExtensionRedirect2) {
|
|
37041
|
+
setPurchaseType("subscribe");
|
|
37032
37042
|
import_react_hot_toast14.default.success(t6(`${t6("Subscribed")}. ${t6("Reload your extension")} \u{1F9E9}`));
|
|
37033
37043
|
} else {
|
|
37044
|
+
setPurchaseType(
|
|
37045
|
+
data.gift ? "gift" : data.credits ? "credits" : "subscribe"
|
|
37046
|
+
);
|
|
37034
37047
|
import_react_hot_toast14.default.success(
|
|
37035
37048
|
data.gift ? t6(`\u{1F970} ${t6("Thank you for your gift")}`) : data.credits ? t6(`${t6("Credits updated")}`) : t6(`${t6("Subscribed")}`)
|
|
37036
37049
|
);
|
|
@@ -37598,7 +37611,7 @@ function Subscribe({
|
|
|
37598
37611
|
},
|
|
37599
37612
|
/* @__PURE__ */ import_react61.default.createElement(ImageComponent, { icon: "strawberry", showLoading: false, size: 18 }),
|
|
37600
37613
|
t6("Plus")
|
|
37601
|
-
));
|
|
37614
|
+
), purchaseType && /* @__PURE__ */ import_react61.default.createElement("input", { "data-testid": "purchase-type", type: "hidden", value: purchaseType }));
|
|
37602
37615
|
}
|
|
37603
37616
|
var import_react61, import_Subscribe_module, import_motion4, import_clsx22, import_react_hot_toast14;
|
|
37604
37617
|
var init_Subscribe = __esm({
|
|
@@ -37989,7 +38002,7 @@ function Skeleton({
|
|
|
37989
38002
|
)) : null, /* @__PURE__ */ React.createElement(
|
|
37990
38003
|
Anchor,
|
|
37991
38004
|
{
|
|
37992
|
-
href:
|
|
38005
|
+
href: `/blossom`,
|
|
37993
38006
|
openInNewTab: true,
|
|
37994
38007
|
style: {
|
|
37995
38008
|
...utilities.button.style,
|
|
@@ -37998,9 +38011,9 @@ function Skeleton({
|
|
|
37998
38011
|
...hasHydrated && isMobile && skeletonStyles.blog.style
|
|
37999
38012
|
}
|
|
38000
38013
|
},
|
|
38001
|
-
/* @__PURE__ */ React.createElement(ImageComponent, { logo: "
|
|
38014
|
+
/* @__PURE__ */ React.createElement(ImageComponent, { logo: "blossom", size: 22 }),
|
|
38002
38015
|
" ",
|
|
38003
|
-
"
|
|
38016
|
+
"Blossom"
|
|
38004
38017
|
)),
|
|
38005
38018
|
/* @__PURE__ */ React.createElement(Div, { style: { ...skeletonStyles.right.style } }, /* @__PURE__ */ React.createElement(CharacterProfiles, null), /* @__PURE__ */ React.createElement(Subscribe, { className: import_Skeleton_module.default.subscribeDesktop }), /* @__PURE__ */ React.createElement(SignIn, { showSignIn: false, className: import_Skeleton_module.default.signIn }), /* @__PURE__ */ React.createElement(LanguageSwitcher_default, { className: import_Skeleton_module.default.languageSwitcher }))
|
|
38006
38019
|
),
|
|
@@ -38047,6 +38060,7 @@ function Store({
|
|
|
38047
38060
|
slug
|
|
38048
38061
|
}) {
|
|
38049
38062
|
const { FRONTEND_URL: FRONTEND_URL4 } = useData();
|
|
38063
|
+
const { isMobileDevice } = useTheme2();
|
|
38050
38064
|
const { router, setIsNewChat, pathname, searchParams } = useNavigationContext();
|
|
38051
38065
|
const { allApps, getAppSlug, setApp, app } = useAuth();
|
|
38052
38066
|
const [storeSlug, setStoreSlug] = (0, import_react67.useState)(slug || pathname.replace("/", ""));
|
|
@@ -38134,7 +38148,7 @@ function Store({
|
|
|
38134
38148
|
alt: "Pacman",
|
|
38135
38149
|
size: 28
|
|
38136
38150
|
}
|
|
38137
|
-
), /* @__PURE__ */ import_react67.default.createElement(ImageComponent, {
|
|
38151
|
+
), /* @__PURE__ */ import_react67.default.createElement(Anchor, { href: "/blossom" }, /* @__PURE__ */ import_react67.default.createElement(ImageComponent, { logo: "blossom", size: 32 })), /* @__PURE__ */ import_react67.default.createElement(
|
|
38138
38152
|
ImageComponent,
|
|
38139
38153
|
{
|
|
38140
38154
|
style: { marginLeft: "auto" },
|
|
@@ -38144,7 +38158,7 @@ function Store({
|
|
|
38144
38158
|
size: 28
|
|
38145
38159
|
}
|
|
38146
38160
|
)), /* @__PURE__ */ import_react67.default.createElement("h1", { style: { ...storeStyles.title.style } }, /* @__PURE__ */ import_react67.default.createElement("span", { style: { ...storeStyles.titleText.style } }, /* @__PURE__ */ import_react67.default.createElement(
|
|
38147
|
-
|
|
38161
|
+
Anchor,
|
|
38148
38162
|
{
|
|
38149
38163
|
href: store.app ? getAppSlug(store.app) : "#",
|
|
38150
38164
|
onClick: (e) => {
|
|
@@ -38159,7 +38173,7 @@ function Store({
|
|
|
38159
38173
|
className: "link"
|
|
38160
38174
|
},
|
|
38161
38175
|
store?.name
|
|
38162
|
-
), "- ", t6(store?.title || ""))), /* @__PURE__ */ import_react67.default.createElement("p", { style: { ...storeStyles.intro.style } }, t6(store?.description || ""))),
|
|
38176
|
+
), " ", "- ", t6(store?.title || ""))), /* @__PURE__ */ import_react67.default.createElement("p", { style: { ...storeStyles.intro.style } }, t6(store?.description || ""))),
|
|
38163
38177
|
/* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.createAgent }, /* @__PURE__ */ import_react67.default.createElement(
|
|
38164
38178
|
"button",
|
|
38165
38179
|
{
|
|
@@ -38182,9 +38196,32 @@ function Store({
|
|
|
38182
38196
|
onClick: () => setSelectedApp(app2)
|
|
38183
38197
|
},
|
|
38184
38198
|
/* @__PURE__ */ import_react67.default.createElement("span", { className: (0, import_clsx27.default)(import_Store_module.default.badge) }, t6("live")),
|
|
38185
|
-
/* @__PURE__ */ import_react67.default.createElement(
|
|
38199
|
+
/* @__PURE__ */ import_react67.default.createElement(
|
|
38200
|
+
ImageComponent,
|
|
38201
|
+
{
|
|
38202
|
+
className: (0, import_clsx27.default)(import_Store_module.default.appImage),
|
|
38203
|
+
app: app2,
|
|
38204
|
+
alt: app2.name,
|
|
38205
|
+
size: isMobileDevice ? 40 : 80
|
|
38206
|
+
}
|
|
38207
|
+
),
|
|
38186
38208
|
/* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.appInfo }, /* @__PURE__ */ import_react67.default.createElement("span", { className: import_Store_module.default.appName }, app2.icon, " ", app2.name), /* @__PURE__ */ import_react67.default.createElement("span", { className: import_Store_module.default.appSubtitle }, t6(app2.subtitle || "")))
|
|
38187
|
-
))), /* @__PURE__ */ import_react67.default.createElement("div", { key: selectedApp?.id, className: import_Store_module.default.footer }, selectedApp && /* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.appDetails }, /* @__PURE__ */ import_react67.default.createElement("h3",
|
|
38209
|
+
))), /* @__PURE__ */ import_react67.default.createElement("div", { key: selectedApp?.id, className: import_Store_module.default.footer }, selectedApp && /* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.appDetails }, /* @__PURE__ */ import_react67.default.createElement("h3", { className: import_Store_module.default.appTitle }, selectedApp.icon, " ", selectedApp.name, /* @__PURE__ */ import_react67.default.createElement(
|
|
38210
|
+
Anchor,
|
|
38211
|
+
{
|
|
38212
|
+
href: getAppSlug(selectedApp),
|
|
38213
|
+
onClick: (e) => {
|
|
38214
|
+
if (e.metaKey || e.ctrlKey) {
|
|
38215
|
+
return;
|
|
38216
|
+
}
|
|
38217
|
+
e.preventDefault();
|
|
38218
|
+
setIsNewChat(true, getAppSlug(selectedApp));
|
|
38219
|
+
},
|
|
38220
|
+
className: (0, import_clsx27.default)(import_Store_module.default.tryItNow)
|
|
38221
|
+
},
|
|
38222
|
+
/* @__PURE__ */ import_react67.default.createElement(icons_exports.ArrowRight, { size: 16, color: "var(--accent-6)" }),
|
|
38223
|
+
t6("Try it now!")
|
|
38224
|
+
)), /* @__PURE__ */ import_react67.default.createElement("p", { className: import_Store_module.default.subtitle }, t6(selectedApp.title || "")), /* @__PURE__ */ import_react67.default.createElement("p", { className: import_Store_module.default.description }, t6(selectedApp.description || "")), Array.isArray(selectedApp.featureList) && selectedApp.featureList.length > 0 && /* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.features }, /* @__PURE__ */ import_react67.default.createElement("h4", null, t6("Key Features")), /* @__PURE__ */ import_react67.default.createElement("ul", null, selectedApp.featureList.map((feature, index) => /* @__PURE__ */ import_react67.default.createElement("li", { className: import_Store_module.default.feature, key: index }, /* @__PURE__ */ import_react67.default.createElement(
|
|
38188
38225
|
icons_exports.Sparkles,
|
|
38189
38226
|
{
|
|
38190
38227
|
size: 16,
|
|
@@ -38192,7 +38229,7 @@ function Store({
|
|
|
38192
38229
|
fill: "var(--accent-1)"
|
|
38193
38230
|
}
|
|
38194
38231
|
), t6(feature))), /* @__PURE__ */ import_react67.default.createElement("li", { className: import_Store_module.default.feature }, /* @__PURE__ */ import_react67.default.createElement(
|
|
38195
|
-
|
|
38232
|
+
Anchor,
|
|
38196
38233
|
{
|
|
38197
38234
|
href: getAppSlug(selectedApp),
|
|
38198
38235
|
onClick: (e) => {
|
|
@@ -38209,21 +38246,13 @@ function Store({
|
|
|
38209
38246
|
))))))),
|
|
38210
38247
|
!compact && /* @__PURE__ */ import_react67.default.createElement("div", { style: { display: "none" }, className: "seo-content" }, storeApps?.map((appItem) => /* @__PURE__ */ import_react67.default.createElement("section", { key: appItem.id }, /* @__PURE__ */ import_react67.default.createElement("h2", null, appItem.name), /* @__PURE__ */ import_react67.default.createElement("h3", null, t6(appItem.title || "")), /* @__PURE__ */ import_react67.default.createElement("p", null, t6(appItem.description || "")), Array.isArray(appItem.featureList) && appItem.featureList.length > 0 && /* @__PURE__ */ import_react67.default.createElement(import_react67.default.Fragment, null, /* @__PURE__ */ import_react67.default.createElement("h4", null, t6("Key Features")), /* @__PURE__ */ import_react67.default.createElement("ul", null, appItem.featureList.map((feature, index) => /* @__PURE__ */ import_react67.default.createElement("li", { key: index }, t6(feature)))))))),
|
|
38211
38248
|
!compact && /* @__PURE__ */ import_react67.default.createElement("div", { className: import_Store_module.default.tetris }, /* @__PURE__ */ import_react67.default.createElement("div", { style: { display: "flex", gap: "1rem" } }, /* @__PURE__ */ import_react67.default.createElement(
|
|
38212
|
-
|
|
38249
|
+
Anchor,
|
|
38213
38250
|
{
|
|
38214
|
-
href:
|
|
38215
|
-
className: (0, import_clsx27.default)("link", import_Store_module.default.hamburgerButton)
|
|
38216
|
-
onClick: (e) => {
|
|
38217
|
-
if (e.metaKey || e.ctrlKey) {
|
|
38218
|
-
return;
|
|
38219
|
-
}
|
|
38220
|
-
e.preventDefault();
|
|
38221
|
-
setIsNewChat(true);
|
|
38222
|
-
}
|
|
38251
|
+
href: `/blossom`,
|
|
38252
|
+
className: (0, import_clsx27.default)("link", import_Store_module.default.hamburgerButton)
|
|
38223
38253
|
},
|
|
38224
|
-
/* @__PURE__ */ import_react67.default.createElement(ImageComponent, {
|
|
38225
|
-
" "
|
|
38226
|
-
baseApp?.name
|
|
38254
|
+
/* @__PURE__ */ import_react67.default.createElement(ImageComponent, { logo: "blossom", size: 28 }),
|
|
38255
|
+
" Blossom"
|
|
38227
38256
|
), /* @__PURE__ */ import_react67.default.createElement(
|
|
38228
38257
|
ImageComponent,
|
|
38229
38258
|
{
|
|
@@ -38259,7 +38288,7 @@ var init_Store = __esm({
|
|
|
38259
38288
|
"use strict";
|
|
38260
38289
|
"use client";
|
|
38261
38290
|
import_react67 = __toESM(require("react"));
|
|
38262
|
-
import_Store_module = __toESM(require("./Store.module-
|
|
38291
|
+
import_Store_module = __toESM(require("./Store.module-CEG6FTQM.scss"));
|
|
38263
38292
|
import_clsx27 = __toESM(require("clsx"));
|
|
38264
38293
|
init_Skeleton();
|
|
38265
38294
|
init_providers();
|
|
@@ -38268,7 +38297,7 @@ var init_Store = __esm({
|
|
|
38268
38297
|
init_platform();
|
|
38269
38298
|
init_Store_styles();
|
|
38270
38299
|
init_icons();
|
|
38271
|
-
|
|
38300
|
+
init_A();
|
|
38272
38301
|
}
|
|
38273
38302
|
});
|
|
38274
38303
|
|