@enyxs/wikex-components 0.11.2 → 0.11.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.
@@ -0,0 +1,1287 @@
1
+ "use client";
2
+
3
+ // src/wikex/products/public-view.tsx
4
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
+ import Link3 from "next/link.js";
6
+ import { useState } from "react";
7
+ import { ThemeProvider } from "styled-components";
8
+
9
+ // src/commodity-original/components/Breadcrumb/index.tsx
10
+ import Link from "next/link.js";
11
+
12
+ // src/wikex/assets/products/chevron-right.svg
13
+ var chevron_right_default = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNS4yNSAzLjVMOC43NSA3TDUuMjUgMTAuNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS4xNjY2NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=";
14
+
15
+ // src/commodity-original/components/Breadcrumb/style.ts
16
+ import { styled } from "styled-components";
17
+ var breadcrumbText = `
18
+ font-family: var(--font-manrope), Arial, Helvetica, sans-serif;
19
+ font-size: 12px;
20
+ font-weight: 500;
21
+ line-height: 16px;
22
+ white-space: nowrap;
23
+ @media (max-width: 767px) {
24
+ font-size: 10px;
25
+ line-height: 14px;
26
+ }
27
+ `;
28
+ var BreadcrumbNav = styled.nav.withConfig({
29
+ componentId: "sc-9c96c0b1-0"
30
+ })([
31
+ `display:flex;max-width:100%;align-items:center;@media (max-width:767px){overflow-x:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}`
32
+ ]);
33
+ var BreadcrumbList = styled.ol.withConfig({
34
+ componentId: "sc-9c96c0b1-1"
35
+ })([
36
+ `display:flex;margin:0;padding:0;align-items:center;gap:4px;list-style:none;`
37
+ ]);
38
+ var BreadcrumbItem = styled.li.withConfig({
39
+ componentId: "sc-9c96c0b1-2"
40
+ })([
41
+ `display:flex;align-items:center;gap:4px;`
42
+ ]);
43
+ var BreadcrumbLink = styled.a.withConfig({
44
+ componentId: "sc-9c96c0b1-3"
45
+ })([
46
+ ``,
47
+ ` color:`,
48
+ `;&:hover,&:focus-visible{color:`,
49
+ `;}&:focus-visible{outline:2px solid #f9bb3a;outline-offset:2px;}`
50
+ ], breadcrumbText, ({ theme }) => theme.colors.text.placeholder, ({ theme }) => theme.colors.text.primary);
51
+ var BreadcrumbCurrent = styled.span.withConfig({
52
+ componentId: "sc-9c96c0b1-4"
53
+ })([
54
+ ``,
55
+ ` color:`,
56
+ `;`
57
+ ], breadcrumbText, ({ theme }) => theme.colors.text.primary);
58
+ var BreadcrumbSeparator = styled.span.withConfig({
59
+ componentId: "sc-9c96c0b1-5"
60
+ })([
61
+ `display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:`,
62
+ `;background:currentColor;mask:url("`,
63
+ `") center / contain no-repeat;-webkit-mask:url("`,
64
+ `") center / contain no-repeat;`
65
+ ], ({ theme }) => theme.colors.text.placeholder, chevron_right_default, chevron_right_default);
66
+
67
+ // src/commodity-original/components/Breadcrumb/index.tsx
68
+ import { jsx, jsxs } from "react/jsx-runtime";
69
+ function Breadcrumb({
70
+ items,
71
+ ariaLabel = "Breadcrumb",
72
+ className
73
+ }) {
74
+ return /* @__PURE__ */ jsx(BreadcrumbNav, { "aria-label": ariaLabel, className, children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((item, index) => {
75
+ const isCurrent = index === items.length - 1;
76
+ return /* @__PURE__ */ jsxs(BreadcrumbItem, { children: [
77
+ isCurrent ? /* @__PURE__ */ jsx(BreadcrumbCurrent, { "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx(BreadcrumbLink, { as: Link, href: item.href, children: item.label }) : /* @__PURE__ */ jsx(BreadcrumbCurrent, { children: item.label }),
78
+ !isCurrent && /* @__PURE__ */ jsx(BreadcrumbSeparator, { "aria-hidden": "true" })
79
+ ] }, `${item.label}-${index}`);
80
+ }) }) });
81
+ }
82
+
83
+ // src/commodity-original/components/Pagination/index.tsx
84
+ import { useTranslation } from "react-i18next";
85
+
86
+ // src/commodity-original/components/Pagination/style.ts
87
+ import { styled as styled2 } from "styled-components";
88
+ var PaginationNav = styled2.nav.withConfig({
89
+ componentId: "sc-522a1750-0"
90
+ })([
91
+ `display:flex;justify-content:center;`
92
+ ]);
93
+ var PaginationList = styled2.ul.withConfig({
94
+ componentId: "sc-522a1750-1"
95
+ })([
96
+ `display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
97
+ ]);
98
+ var PaginationItem = styled2.li.withConfig({
99
+ componentId: "sc-522a1750-2"
100
+ })([
101
+ `display:flex;`
102
+ ]);
103
+ var PaginationButton = styled2.button.withConfig({
104
+ componentId: "sc-522a1750-3"
105
+ })([
106
+ `display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
107
+ `;border-radius:4px;padding:4px;color:`,
108
+ `;background:`,
109
+ `;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease;&[data-control]{border-color:transparent;background:transparent;}&[data-active]{border-color:`,
110
+ `;color:`,
111
+ `;background:`,
112
+ `;}&:not(:disabled):hover{color:`,
113
+ `;background:`,
114
+ `;}&[data-active]:not(:disabled):hover{background:`,
115
+ `;}&:disabled{cursor:not-allowed;}&:focus-visible{outline:2px solid `,
116
+ `;outline-offset:2px;}`
117
+ ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
118
+ var PaginationArrow = styled2.span.withConfig({
119
+ componentId: "sc-522a1750-4"
120
+ })([
121
+ `width:16px;height:16px;background:currentColor;mask:url("`,
122
+ `") center / contain no-repeat;-webkit-mask:url("`,
123
+ `") center / contain no-repeat;&[data-direction="previous"]{transform:scaleX(-1);}`
124
+ ], chevron_right_default, chevron_right_default);
125
+
126
+ // src/commodity-original/components/Pagination/index.tsx
127
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
128
+ function getPaginationItems(page, pageCount, siblingCount) {
129
+ const maxVisibleItems = siblingCount * 2 + 5;
130
+ if (pageCount <= maxVisibleItems) {
131
+ return Array.from({ length: pageCount }, (_, index) => index + 1);
132
+ }
133
+ const leftSibling = Math.max(page - siblingCount, 2);
134
+ const rightSibling = Math.min(page + siblingCount, pageCount - 1);
135
+ const items = [1];
136
+ if (leftSibling > 2) {
137
+ items.push("ellipsis");
138
+ }
139
+ for (let value = leftSibling; value <= rightSibling; value += 1) {
140
+ items.push(value);
141
+ }
142
+ if (rightSibling < pageCount - 1) {
143
+ items.push("ellipsis");
144
+ }
145
+ items.push(pageCount);
146
+ return items;
147
+ }
148
+ function Pagination({
149
+ page,
150
+ pageCount,
151
+ onPageChange,
152
+ siblingCount = 1,
153
+ ariaLabel,
154
+ labels,
155
+ className
156
+ }) {
157
+ const { t } = useTranslation();
158
+ const safePageCount = Math.max(1, Math.floor(pageCount));
159
+ const currentPage = Math.min(Math.max(1, Math.floor(page)), safePageCount);
160
+ const items = getPaginationItems(currentPage, safePageCount, siblingCount);
161
+ const hasPreviousPage = currentPage > 1;
162
+ const hasNextPage = currentPage < safePageCount;
163
+ return /* @__PURE__ */ jsx2(
164
+ PaginationNav,
165
+ {
166
+ "aria-label": ariaLabel ?? t("pagination.navigation"),
167
+ className,
168
+ children: /* @__PURE__ */ jsxs2(PaginationList, { children: [
169
+ /* @__PURE__ */ jsx2(PaginationItem, { children: /* @__PURE__ */ jsx2(
170
+ PaginationButton,
171
+ {
172
+ "aria-label": labels?.previous ?? t("pagination.previous"),
173
+ "data-control": "previous",
174
+ disabled: !hasPreviousPage,
175
+ onClick: () => onPageChange(currentPage - 1),
176
+ type: "button",
177
+ children: /* @__PURE__ */ jsx2(PaginationArrow, { "data-direction": "previous" })
178
+ }
179
+ ) }),
180
+ items.map((item, index) => /* @__PURE__ */ jsx2(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ jsx2(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ jsx2(
181
+ PaginationButton,
182
+ {
183
+ "aria-current": item === currentPage ? "page" : void 0,
184
+ "aria-label": item === currentPage ? labels?.current(item) ?? t("pagination.current", { page: item }) : labels?.page(item) ?? t("pagination.page", { page: item }),
185
+ "data-active": item === currentPage || void 0,
186
+ onClick: () => onPageChange(item),
187
+ type: "button",
188
+ children: item
189
+ }
190
+ ) }, `${item}-${index}`)),
191
+ /* @__PURE__ */ jsx2(PaginationItem, { children: /* @__PURE__ */ jsx2(
192
+ PaginationButton,
193
+ {
194
+ "aria-label": labels?.next ?? t("pagination.next"),
195
+ "data-control": "next",
196
+ disabled: !hasNextPage,
197
+ onClick: () => onPageChange(currentPage + 1),
198
+ type: "button",
199
+ children: /* @__PURE__ */ jsx2(PaginationArrow, { "data-direction": "next" })
200
+ }
201
+ ) })
202
+ ] })
203
+ }
204
+ );
205
+ }
206
+
207
+ // src/wikex/assets/products/related-products-arrow.svg
208
+ var related_products_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJJY29uIC8gYXJyb3ciPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTIuNjY2NyA4TDMuMzMzMzMgOE04IDEyLjY2NjdMMTIuNjY2NyA4TDggMy4zMzMzMyIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8L3N2Zz4K";
209
+
210
+ // src/wikex/assets/products/product-card-arrow.svg
211
+ var product_card_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xNSA4TDEgOE04IDE1TDE1IDhMOCAxIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==";
212
+
213
+ // src/commodity-original/components/ProductCard/style.ts
214
+ import Link2 from "next/link.js";
215
+ import Image from "next/image.js";
216
+ import { css, styled as styled3 } from "styled-components";
217
+ var cardSurface = css([
218
+ `display:flex;width:100%;height:100%;max-width:329px;flex-direction:column;color:`,
219
+ `;transition:transform 160ms ease;&:hover{transform:translateY(-2px);}@media (max-width:599px){max-width:100%;}`
220
+ ], ({ theme }) => theme.colors.text.primary);
221
+ var ProductCardArticle = styled3.article.withConfig({
222
+ componentId: "sc-232625b5-0"
223
+ })([
224
+ ``,
225
+ ``
226
+ ], cardSurface);
227
+ var ProductCardLink = styled3(Link2).withConfig({
228
+ componentId: "sc-232625b5-1"
229
+ })([
230
+ ``,
231
+ ` text-decoration:none;&:focus-visible{outline:2px solid `,
232
+ `;outline-offset:3px;}`
233
+ ], cardSurface, ({ theme }) => theme.colors.accent.primary);
234
+ var ProductCardImagePanel = styled3.div.withConfig({
235
+ componentId: "sc-232625b5-2"
236
+ })([
237
+ `position:relative;width:100%;aspect-ratio:1;border-radius:8px 8px 0 0;&::before{position:absolute;z-index:1;inset:41.2879% 0 0;border-radius:8px 8px 0 0;background:rgb(249 187 58 / 40%);box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);content:"";}@media (max-width:599px){&::before{inset:43.2727% 0 -14.5833%;}}`
238
+ ]);
239
+ var ProductCardImage = styled3(Image).withConfig({
240
+ componentId: "sc-232625b5-3"
241
+ })([
242
+ `z-index:2;object-fit:cover;pointer-events:none;`
243
+ ]);
244
+ var ProductCardCopy = styled3.div.withConfig({
245
+ componentId: "sc-232625b5-4"
246
+ })([
247
+ `display:flex;width:100%;flex:1 0 auto;flex-direction:column;gap:4px;padding:12px 16px 24px;border-radius:0 0 8px 8px;background:`,
248
+ `;box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);@media (max-width:599px){padding:12px 16px 24px;align-items:center;z-index:2;}`
249
+ ], ({ theme }) => theme.colors.background.card);
250
+ var ProductCardTitleRow = styled3.div.withConfig({
251
+ componentId: "sc-232625b5-5"
252
+ })([
253
+ `display:flex;width:100%;align-items:center;gap:8px;`
254
+ ]);
255
+ var ProductCardTitle = styled3.h3.withConfig({
256
+ componentId: "sc-232625b5-6"
257
+ })([
258
+ `flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:`,
259
+ `;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;white-space:nowrap;@media (max-width:599px){font-size:14px;line-height:18px;}`
260
+ ], ({ theme }) => theme.colors.text.primary);
261
+ var ProductCardArrow = styled3.span.withConfig({
262
+ componentId: "sc-232625b5-7"
263
+ })([
264
+ `width:24px;height:24px;flex:0 0 24px;color:`,
265
+ `;background:currentColor;mask:url("`,
266
+ `") center / 16px 16px no-repeat;-webkit-mask:url("`,
267
+ `") center / 16px 16px no-repeat;@media (max-width:599px){width:18px;height:18px;flex-basis:18px;mask-image:url("`,
268
+ `");mask-size:contain;-webkit-mask-image:url("`,
269
+ `");-webkit-mask-size:contain;}`
270
+ ], ({ theme }) => theme.colors.accent.primary, product_card_arrow_default, product_card_arrow_default, related_products_arrow_default, related_products_arrow_default);
271
+ var ProductCardDescription = styled3.p.withConfig({
272
+ componentId: "sc-232625b5-8"
273
+ })([
274
+ `display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
275
+ `;font-size:16px;font-weight:500;line-height:22px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:599px){font-size:12px;line-height:16px;}`
276
+ ], ({ theme }) => theme.colors.text.content);
277
+
278
+ // src/commodity-original/components/ProductCard/index.tsx
279
+ import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
280
+ function ProductCardContent({
281
+ description,
282
+ image,
283
+ imageAlt = "",
284
+ imageFit = "cover",
285
+ title
286
+ }) {
287
+ return /* @__PURE__ */ jsxs3(Fragment, { children: [
288
+ /* @__PURE__ */ jsx3(ProductCardImagePanel, { children: /* @__PURE__ */ jsx3(
289
+ ProductCardImage,
290
+ {
291
+ alt: imageAlt,
292
+ fill: true,
293
+ sizes: "(max-width: 767px) calc(100vw - 48px), 329px",
294
+ src: image,
295
+ style: imageFit === "contain" ? { objectFit: "contain", padding: 24 } : void 0
296
+ }
297
+ ) }),
298
+ /* @__PURE__ */ jsxs3(ProductCardCopy, { children: [
299
+ /* @__PURE__ */ jsxs3(ProductCardTitleRow, { children: [
300
+ /* @__PURE__ */ jsx3(ProductCardTitle, { children: title }),
301
+ /* @__PURE__ */ jsx3(ProductCardArrow, { "aria-hidden": "true" })
302
+ ] }),
303
+ /* @__PURE__ */ jsx3(ProductCardDescription, { children: description })
304
+ ] })
305
+ ] });
306
+ }
307
+ function ProductCard({
308
+ className,
309
+ description,
310
+ href,
311
+ image,
312
+ imageAlt,
313
+ imageFit,
314
+ title
315
+ }) {
316
+ const content = /* @__PURE__ */ jsx3(
317
+ ProductCardContent,
318
+ {
319
+ description,
320
+ image,
321
+ imageAlt,
322
+ imageFit,
323
+ title
324
+ }
325
+ );
326
+ if (href) {
327
+ return /* @__PURE__ */ jsx3(ProductCardLink, { "aria-label": title, className, href, children: content });
328
+ }
329
+ return /* @__PURE__ */ jsx3(ProductCardArticle, { className, children: content });
330
+ }
331
+
332
+ // src/commodity-original/styles/colors.ts
333
+ var cssVariableColors = {
334
+ background: {
335
+ canvas: "var(--color-background-canvas)",
336
+ card: "var(--color-background-card)",
337
+ deep: "var(--color-background-deep)",
338
+ hover: "var(--color-background-hover)",
339
+ input: "var(--color-background-input)",
340
+ warm: "var(--color-background-warm)",
341
+ popup: "var(--color-background-popup)"
342
+ },
343
+ text: {
344
+ primary: "var(--color-text-primary)",
345
+ secondary: "var(--color-text-secondary)",
346
+ placeholder: "var(--color-text-placeholder)",
347
+ content: "var(--color-text-content)"
348
+ },
349
+ action: {
350
+ primaryBackground: "var(--color-action-primary-background)",
351
+ primaryForeground: "var(--color-action-primary-foreground)",
352
+ primaryHover: "var(--color-action-primary-hover)"
353
+ },
354
+ accent: {
355
+ primary: "var(--color-accent-primary)",
356
+ foreground: "var(--color-accent-foreground)",
357
+ deep: "var(--color-accent-deep)"
358
+ },
359
+ border: {
360
+ subtle: "var(--color-border-subtle)",
361
+ line: "var(--color-border-line)"
362
+ },
363
+ informationHero: {
364
+ start: "var(--color-information-hero-start)",
365
+ middle: "var(--color-information-hero-middle)",
366
+ foreground: "var(--color-information-hero-foreground)",
367
+ placeholder: "var(--color-information-hero-placeholder)"
368
+ },
369
+ datePicker: {
370
+ selected: "var(--color-date-picker-selected)",
371
+ range: "var(--color-date-picker-range)",
372
+ rangeForeground: "var(--color-date-picker-range-foreground)"
373
+ },
374
+ effect: {
375
+ popupShadow: "var(--color-effect-popup-shadow)"
376
+ }
377
+ };
378
+
379
+ // src/commodity-original/styles/theme.ts
380
+ var appTheme = {
381
+ colors: cssVariableColors
382
+ };
383
+
384
+ // src/wikex/assets/products/logo-original.png
385
+ var logo_original_default = "data:image/png;base64,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";
386
+
387
+ // src/wikex/products/list-style.ts
388
+ import { styled as styled4 } from "styled-components";
389
+ var ProductsMain = styled4.div.withConfig({
390
+ componentId: "sc-88355510-0"
391
+ })([
392
+ `display:flex;width:min(1440px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px;}`
393
+ ]);
394
+ var BreadcrumbSlot = styled4.div.withConfig({
395
+ componentId: "sc-88355510-1"
396
+ })([
397
+ `display:flex;justify-content:center;`
398
+ ]);
399
+ var ProductsSection = styled4.section.withConfig({
400
+ componentId: "sc-88355510-2"
401
+ })([
402
+ `display:flex;flex-direction:column;gap:24px;`
403
+ ]);
404
+ var ProductsHeading = styled4.h1.withConfig({
405
+ componentId: "sc-88355510-3"
406
+ })([
407
+ `margin:0;color:`,
408
+ `;text-align:center;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:40px;font-style:normal;font-weight:700;line-height:50px;@media (max-width:767px){font-size:24px !important;line-height:36px;}`
409
+ ], ({ theme }) => theme.colors.text.primary);
410
+ var ProductGrid = styled4.section.withConfig({
411
+ componentId: "sc-88355510-4"
412
+ })([
413
+ `display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:24px 32px;align-items:start;@media (max-width:1199px){grid-template-columns:repeat(3,minmax(0,1fr));}@media (max-width:899px){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;}`
414
+ ]);
415
+ var ProductsPagination = styled4.div.withConfig({
416
+ componentId: "sc-88355510-5"
417
+ })([
418
+ `margin-top:16px;`
419
+ ]);
420
+ var EmptyProducts = styled4.p.withConfig({
421
+ componentId: "sc-88355510-6"
422
+ })([
423
+ `padding:40px 16px;text-align:center;color:`,
424
+ `;`
425
+ ], ({ theme }) => theme.colors.text.secondary);
426
+
427
+ // src/wikex/products/detail-style.ts
428
+ import Image2 from "next/image.js";
429
+ import { styled as styled5, css as css2 } from "styled-components";
430
+ var DetailMain = styled5.main.withConfig({
431
+ componentId: "sc-f34fe3ee-0"
432
+ })([
433
+ `display:flex;width:min(1248px,100%);min-height:calc(100vh - var(--header-height));margin:0 auto;padding:32px 24px 96px;flex-direction:column;gap:16px;@media (max-width:767px){padding:32px 16px 40px;}`
434
+ ]);
435
+ var PageHeader = styled5.header.withConfig({
436
+ componentId: "sc-f34fe3ee-1"
437
+ })([
438
+ `display:flex;flex-direction:column;`
439
+ ]);
440
+ var PageTitle = styled5.h1.withConfig({
441
+ componentId: "sc-f34fe3ee-2"
442
+ })([
443
+ `margin:0;color:`,
444
+ `;font-family:var(--Font-Landingpage,Inter);font-size:var(--Size-H2,40px);font-style:normal;font-weight:700;line-height:var(--Line-height-H2,50px);@media (max-width:767px){font-size:var(--Size-H3,24px) !important;line-height:var(--Line-height-H3,36px);}`
445
+ ], ({ theme }) => theme.colors.text.primary);
446
+ var ContractLayout = styled5.div.withConfig({
447
+ componentId: "sc-f34fe3ee-3"
448
+ })([
449
+ `margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) 373px;gap:40px;align-items:start;@media (max-width:1199px){grid-template-columns:minmax(0,1fr) 280px;gap:24px;}@media (max-width:768px){grid-template-columns:minmax(0,1fr);margin-top:0px;}`
450
+ ]);
451
+ var ContractMain = styled5.div.withConfig({
452
+ componentId: "sc-f34fe3ee-4"
453
+ })([
454
+ `display:flex;min-width:0;flex-direction:column;gap:24px;overflow-wrap:anywhere;`
455
+ ]);
456
+ var ContractSidebar = styled5.aside.withConfig({
457
+ componentId: "sc-f34fe3ee-5"
458
+ })([
459
+ `min-width:0;position:sticky;top:calc(var(--header-height) + 24px);align-self:start;@media (max-width:768px){position:static;width:100%;}`
460
+ ]);
461
+ var IntroductionSection = styled5.section.withConfig({
462
+ componentId: "sc-f34fe3ee-6"
463
+ })([
464
+ `display:flex;flex-direction:column;gap:8px;@media (max-width:767px){gap:6px;}`
465
+ ]);
466
+ var ContractSectionTitle = styled5.h2.withConfig({
467
+ componentId: "sc-f34fe3ee-7"
468
+ })([
469
+ `width:100%;margin:0;overflow:hidden;color:`,
470
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;@media (max-width:767px){font-size:16px;line-height:22px;}`
471
+ ], ({ theme }) => theme.colors.text.primary);
472
+ var IntroductionDescription = styled5.p.withConfig({
473
+ componentId: "sc-f34fe3ee-8"
474
+ })([
475
+ `width:100%;margin:0;color:`,
476
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:767px){font-size:14px;line-height:18px;}`
477
+ ], ({ theme }) => theme.colors.text.secondary);
478
+ var ContractSpecificationSection = styled5.section.withConfig({
479
+ componentId: "sc-f34fe3ee-9"
480
+ })([
481
+ `display:flex;flex-direction:column;gap:12px;`
482
+ ]);
483
+ var ContractSpecificationList = styled5.dl.withConfig({
484
+ componentId: "sc-f34fe3ee-10"
485
+ })([
486
+ `overflow:hidden;margin:0;border:1px solid `,
487
+ `;border-radius:8px;`
488
+ ], ({ theme }) => theme.colors.border.line);
489
+ var ContractSpecificationRow = styled5.div.withConfig({
490
+ componentId: "sc-f34fe3ee-11"
491
+ })([
492
+ `display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;& + &{border-top:1px solid `,
493
+ `;}dt{min-width:0;overflow:hidden;color:`,
494
+ `;text-overflow:ellipsis;}dd{min-width:0;margin:0;color:`,
495
+ `;}p{margin:0;}@media (max-width:1199px){grid-template-columns:minmax(160px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;}@media (max-width:767px){grid-template-columns:minmax(110px,0.7fr) minmax(0,1fr);gap:16px;padding:12px 16px;font-size:14px;line-height:18px;}`
496
+ ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.text.primary);
497
+ var QualityStandardSection = styled5.section.withConfig({
498
+ componentId: "sc-f34fe3ee-12"
499
+ })([
500
+ `display:flex;flex-direction:column;gap:12px;`
501
+ ]);
502
+ var QualityStandardIntro = styled5.div.withConfig({
503
+ componentId: "sc-f34fe3ee-13"
504
+ })([
505
+ `display:flex;width:100%;flex-direction:column;gap:8px;`
506
+ ]);
507
+ var QualityStandardDescription = styled5.div.withConfig({
508
+ componentId: "sc-f34fe3ee-14"
509
+ })([
510
+ `width:100%;color:`,
511
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;p{margin:0;}@media (max-width:767px){font-size:14px;line-height:18px;}`
512
+ ], ({ theme }) => theme.colors.text.secondary);
513
+ var QualityStandardList = styled5.div.withConfig({
514
+ componentId: "sc-f34fe3ee-15"
515
+ })([
516
+ `overflow:hidden;border:1px solid `,
517
+ `;border-radius:8px;`
518
+ ], ({ theme }) => theme.colors.border.line);
519
+ var qualityStandardGrid = css2([
520
+ `display:grid;grid-template-columns:minmax(0,1.4fr) repeat(`,
521
+ `,minmax(0,1fr));gap:24px;padding:11.5px 24px;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:16px;font-weight:500;line-height:22px;@media (max-width:1199px){gap:12px;padding:12px 16px;}@media (max-width:767px){gap:8px;padding:10px 16px;font-size:14px;line-height:18px;}`
522
+ ], ({ $valueColumns }) => $valueColumns);
523
+ var QualityStandardHeader = styled5.div.withConfig({
524
+ componentId: "sc-f34fe3ee-16"
525
+ })([
526
+ ``,
527
+ ` color:`,
528
+ `;span{min-width:0;overflow-wrap:anywhere;}`
529
+ ], qualityStandardGrid, ({ theme }) => theme.colors.text.secondary);
530
+ var QualityStandardRow = styled5.div.withConfig({
531
+ componentId: "sc-f34fe3ee-17"
532
+ })([
533
+ ``,
534
+ ` border-top:1px solid `,
535
+ `;color:`,
536
+ `;span{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;}span:first-child{color:`,
537
+ `;}`
538
+ ], qualityStandardGrid, ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.text.secondary);
539
+ var QualityTableTitle = styled5.h3.withConfig({
540
+ componentId: "sc-f34fe3ee-18"
541
+ })([
542
+ `margin:8px 0 0;color:`,
543
+ `;font-size:16px;line-height:24px;`
544
+ ], ({ theme }) => theme.colors.text.primary);
545
+ var DetailNote = styled5.small.withConfig({
546
+ componentId: "sc-f34fe3ee-19"
547
+ })([
548
+ `display:block;margin-top:6px;color:`,
549
+ `;font-size:13px;line-height:20px;white-space:pre-wrap;a{color:inherit;text-decoration:underline;}summary{cursor:pointer;}`
550
+ ], ({ theme }) => theme.colors.text.secondary);
551
+ var RelatedProductsSection = styled5.section.withConfig({
552
+ componentId: "sc-f34fe3ee-20"
553
+ })([
554
+ `display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;`
555
+ ]);
556
+ var RelatedProductsHeading = styled5.h2.withConfig({
557
+ componentId: "sc-f34fe3ee-21"
558
+ })([
559
+ `width:100%;margin:0;color:`,
560
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;`
561
+ ], ({ theme }) => theme.colors.text.primary);
562
+ var RelatedProductsList = styled5.div.withConfig({
563
+ componentId: "sc-f34fe3ee-22"
564
+ })([
565
+ `display:flex;width:100%;min-width:0;flex-direction:column;gap:16px;@media (max-width:768px){width:calc(100% + 16px);padding:0 16px 4px 0;overflow-x:auto;flex-direction:row;scroll-padding-right:16px;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;&::-webkit-scrollbar{display:none;}}`
566
+ ]);
567
+ var RelatedProductCard = styled5.article.withConfig({
568
+ componentId: "sc-f34fe3ee-23"
569
+ })([
570
+ `display:flex;width:100%;align-items:center;gap:12px;@media (max-width:768px){width:min(278px,calc(100% - 32px));max-width:278px;flex:0 0 min(278px,calc(100% - 32px));scroll-snap-align:start;}`
571
+ ]);
572
+ var RelatedProductImageFrame = styled5.div.withConfig({
573
+ componentId: "sc-f34fe3ee-24"
574
+ })([
575
+ `position:relative;width:136px;height:136px;flex:0 0 136px;`
576
+ ]);
577
+ var RelatedProductImage = styled5(Image2).withConfig({
578
+ componentId: "sc-f34fe3ee-25"
579
+ })([
580
+ `width:`,
581
+ ` !important;height:`,
582
+ ` !important;top:`,
583
+ ` !important;right:auto !important;bottom:auto !important;left:`,
584
+ ` !important;max-width:none;object-fit:contain;pointer-events:none;`
585
+ ], ({ $size }) => $size, ({ $size }) => $size, ({ $top }) => $top, ({ $left }) => $left);
586
+ var RelatedProductContent = styled5.div.withConfig({
587
+ componentId: "sc-f34fe3ee-26"
588
+ })([
589
+ `display:flex;min-width:0;flex:1 0 0;flex-direction:column;align-items:flex-start;gap:4px;@media (max-width:767px){gap:0px;}`
590
+ ]);
591
+ var RelatedProductTitle = styled5.h3.withConfig({
592
+ componentId: "sc-f34fe3ee-27"
593
+ })([
594
+ `width:100%;margin:0;color:`,
595
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:20px;font-weight:700;line-height:30px;@media (max-width:767px){font-size:16px;line-height:22px;}`
596
+ ], ({ theme }) => theme.colors.text.primary);
597
+ var RelatedProductDescription = styled5.p.withConfig({
598
+ componentId: "sc-f34fe3ee-28"
599
+ })([
600
+ `display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
601
+ `;font-family:var(--font-inter),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:767px){font-size:12px;line-height:16px;}`
602
+ ], ({ theme }) => theme.colors.text.secondary);
603
+ var RelatedProductAction = styled5.a.withConfig({
604
+ componentId: "sc-f34fe3ee-29"
605
+ })([
606
+ `display:inline-flex;padding:4px 16px 4px 0;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:`,
607
+ `;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:18px;transition:color 160ms ease;&:hover{color:`,
608
+ `;}&:focus-visible{outline:2px solid `,
609
+ `;outline-offset:2px;}@media (max-width:767px){font-size:12px;line-height:16px;}`
610
+ ], ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.action.primaryHover, ({ theme }) => theme.colors.accent.primary);
611
+ var RelatedProductArrow = styled5.span.withConfig({
612
+ componentId: "sc-f34fe3ee-30"
613
+ })([
614
+ `width:16px;height:16px;flex:0 0 16px;background:currentColor;mask:url("`,
615
+ `") center / contain no-repeat;-webkit-mask:url("`,
616
+ `") center / contain no-repeat;transition:transform 160ms ease;`,
617
+ `:hover &{transform:translateX(2px);}`
618
+ ], related_products_arrow_default, related_products_arrow_default, RelatedProductAction);
619
+
620
+ // src/wikex/products/public-view.tsx
621
+ function Surface({ children }) {
622
+ return /* @__PURE__ */ _jsx(ThemeProvider, {
623
+ theme: appTheme,
624
+ children
625
+ });
626
+ }
627
+ var sourceTitles = {
628
+ "mxv.com.vn": "MXV",
629
+ "cmegroup.com": "CME Group",
630
+ "ice.com": "ICE",
631
+ "lme.com": "LME",
632
+ "cftc.gov": "CFTC",
633
+ "bursamalaysia.com": "Bursa Malaysia",
634
+ "ams.usda.gov": "USDA",
635
+ "hanghoa.anfin.vn": "Anfin",
636
+ "hct.vn": "HCT"
637
+ };
638
+ function ProductReferences({ product, en }) {
639
+ const links = /* @__PURE__ */ new Map();
640
+ const notes = /* @__PURE__ */ new Map();
641
+ const rows = [
642
+ ...product.specifications,
643
+ ...product.qualityRows
644
+ ];
645
+ for (const row of rows) {
646
+ for (const source of row.source?.split(/\s*;\s*/) || []) {
647
+ try {
648
+ const url = new URL(source);
649
+ if (/^https?:$/.test(url.protocol)) {
650
+ const host = url.hostname.toLowerCase().replace(/^www\./, "");
651
+ if (!links.has(host)) links.set(host, {
652
+ href: url.href,
653
+ title: sourceTitles[host] || host
654
+ });
655
+ }
656
+ } catch {
657
+ }
658
+ }
659
+ const note = row.note?.trim();
660
+ if (note) {
661
+ const label = "table" in row && row.table ? `${row.table} \u2013 ${row.label}` : row.label;
662
+ if (!notes.has(note)) notes.set(note, /* @__PURE__ */ new Set());
663
+ notes.get(note).add(label);
664
+ }
665
+ }
666
+ if (!links.size && !notes.size) return null;
667
+ const heading = en ? "Sources & notes" : "Ngu\u1ED3n & ghi ch\xFA";
668
+ return /* @__PURE__ */ _jsxs(QualityStandardSection, {
669
+ "aria-label": heading,
670
+ children: [
671
+ /* @__PURE__ */ _jsx(ContractSectionTitle, {
672
+ children: heading
673
+ }),
674
+ !!links.size && /* @__PURE__ */ _jsxs(DetailNote, {
675
+ children: [
676
+ en ? "Sources: " : "Ngu\u1ED3n: ",
677
+ [
678
+ ...links
679
+ ].map(([host, { href, title }], i) => /* @__PURE__ */ _jsxs("span", {
680
+ children: [
681
+ i > 0 && " \xB7 ",
682
+ /* @__PURE__ */ _jsx("a", {
683
+ href,
684
+ target: "_blank",
685
+ rel: "noopener noreferrer",
686
+ children: title
687
+ })
688
+ ]
689
+ }, host))
690
+ ]
691
+ }),
692
+ [
693
+ ...notes
694
+ ].map(([note, labels]) => /* @__PURE__ */ _jsxs(DetailNote, {
695
+ children: [
696
+ /* @__PURE__ */ _jsxs("strong", {
697
+ children: [
698
+ [
699
+ ...labels
700
+ ].join(", "),
701
+ ": "
702
+ ]
703
+ }),
704
+ note
705
+ ]
706
+ }, note))
707
+ ]
708
+ });
709
+ }
710
+ function QualityTable({ rows, columns, en }) {
711
+ const visible = columns.map((_, i) => i).filter((i) => columns[i] || rows.some((row) => row.values[i]));
712
+ if (!visible.length) visible.push(0);
713
+ return /* @__PURE__ */ _jsx(_Fragment, {
714
+ children: /* @__PURE__ */ _jsxs(QualityStandardList, {
715
+ role: "table",
716
+ "aria-label": rows[0].table || (en ? "Quality standards" : "Ti\xEAu chu\u1EA9n ch\u1EA5t l\u01B0\u1EE3ng"),
717
+ children: [
718
+ /* @__PURE__ */ _jsxs(QualityStandardHeader, {
719
+ role: "row",
720
+ $valueColumns: visible.length,
721
+ children: [
722
+ /* @__PURE__ */ _jsx("span", {
723
+ role: "columnheader",
724
+ children: en ? "Criteria" : "Ch\u1EC9 ti\xEAu"
725
+ }),
726
+ visible.map((i) => /* @__PURE__ */ _jsx("span", {
727
+ role: "columnheader",
728
+ children: columns[i] || `${en ? "Value" : "Gi\xE1 tr\u1ECB"} ${i + 1}`
729
+ }, i))
730
+ ]
731
+ }),
732
+ rows.map((row, i) => /* @__PURE__ */ _jsxs(QualityStandardRow, {
733
+ role: "row",
734
+ $valueColumns: visible.length,
735
+ children: [
736
+ /* @__PURE__ */ _jsxs("span", {
737
+ role: "rowheader",
738
+ children: [
739
+ row.label,
740
+ (row.unit || row.condition) && /* @__PURE__ */ _jsx(DetailNote, {
741
+ children: [
742
+ row.unit,
743
+ row.condition
744
+ ].filter(Boolean).join(" \xB7 ")
745
+ })
746
+ ]
747
+ }),
748
+ visible.map((j) => /* @__PURE__ */ _jsx("span", {
749
+ role: "cell",
750
+ children: row.values[j] || "\u2014"
751
+ }, j))
752
+ ]
753
+ }, i))
754
+ ]
755
+ })
756
+ });
757
+ }
758
+ function ProductListing({ products, title = "S\u1EA3n ph\u1EA9m", language = "vi", homeHref = "/", placeholderImage = logo_original_default }) {
759
+ const [page, setPage] = useState(1);
760
+ const en = language === "en";
761
+ const pageCount = Math.max(1, Math.ceil(products.length / 8));
762
+ const currentPage = Math.min(page, pageCount);
763
+ return /* @__PURE__ */ _jsx(Surface, {
764
+ children: /* @__PURE__ */ _jsxs(ProductsMain, {
765
+ children: [
766
+ /* @__PURE__ */ _jsx(BreadcrumbSlot, {
767
+ children: /* @__PURE__ */ _jsx(Breadcrumb, {
768
+ items: [
769
+ {
770
+ label: en ? "Home" : "Trang ch\u1EE7",
771
+ href: homeHref
772
+ },
773
+ {
774
+ label: title
775
+ }
776
+ ]
777
+ })
778
+ }),
779
+ /* @__PURE__ */ _jsxs(ProductsSection, {
780
+ children: [
781
+ /* @__PURE__ */ _jsx(ProductsHeading, {
782
+ children: title
783
+ }),
784
+ /* @__PURE__ */ _jsx(ProductGrid, {
785
+ "aria-label": title,
786
+ children: products.slice((currentPage - 1) * 8, currentPage * 8).map((product) => /* @__PURE__ */ _jsx(ProductCard, {
787
+ title: product.name,
788
+ description: product.summary,
789
+ image: product.coverImage || placeholderImage,
790
+ imageFit: product.coverImage ? "cover" : "contain",
791
+ imageAlt: product.imageAlt || product.name,
792
+ href: product.href
793
+ }, product.id))
794
+ }),
795
+ !products.length && /* @__PURE__ */ _jsx(EmptyProducts, {
796
+ children: en ? "No products found." : "Ch\u01B0a c\xF3 s\u1EA3n ph\u1EA9m ph\xF9 h\u1EE3p."
797
+ }),
798
+ pageCount > 1 && /* @__PURE__ */ _jsx(ProductsPagination, {
799
+ children: /* @__PURE__ */ _jsx(Pagination, {
800
+ page: currentPage,
801
+ pageCount,
802
+ onPageChange: setPage,
803
+ ariaLabel: en ? "Product pages" : "Ph\xE2n trang s\u1EA3n ph\u1EA9m",
804
+ labels: {
805
+ previous: en ? "Previous page" : "Trang tr\u01B0\u1EDBc",
806
+ next: en ? "Next page" : "Trang sau",
807
+ page: (number) => en ? `Page ${number}` : `Trang ${number}`,
808
+ current: (number) => en ? `Page ${number}, current page` : `Trang ${number}, trang hi\u1EC7n t\u1EA1i`
809
+ }
810
+ })
811
+ })
812
+ ]
813
+ })
814
+ ]
815
+ })
816
+ });
817
+ }
818
+ function ProductDetailView({ product, related, listingHref, language = "vi", homeHref = "/", placeholderImage = logo_original_default }) {
819
+ const en = language === "en";
820
+ const qualityGroups = /* @__PURE__ */ new Map();
821
+ for (const row of product.qualityRows) {
822
+ const key = JSON.stringify([
823
+ row.table || "",
824
+ row.columns || product.qualityColumns
825
+ ]);
826
+ qualityGroups.set(key, [
827
+ ...qualityGroups.get(key) || [],
828
+ row
829
+ ]);
830
+ }
831
+ return /* @__PURE__ */ _jsx(Surface, {
832
+ children: /* @__PURE__ */ _jsxs(DetailMain, {
833
+ children: [
834
+ /* @__PURE__ */ _jsx(Breadcrumb, {
835
+ items: [
836
+ {
837
+ label: en ? "Home" : "Trang ch\u1EE7",
838
+ href: homeHref
839
+ },
840
+ {
841
+ label: en ? "Products" : "S\u1EA3n ph\u1EA9m",
842
+ href: listingHref
843
+ },
844
+ {
845
+ label: product.name
846
+ }
847
+ ]
848
+ }),
849
+ /* @__PURE__ */ _jsx(PageHeader, {
850
+ children: /* @__PURE__ */ _jsx(PageTitle, {
851
+ children: product.name
852
+ })
853
+ }),
854
+ /* @__PURE__ */ _jsxs(ContractLayout, {
855
+ children: [
856
+ /* @__PURE__ */ _jsxs(ContractMain, {
857
+ children: [
858
+ /* @__PURE__ */ _jsxs(IntroductionSection, {
859
+ children: [
860
+ /* @__PURE__ */ _jsx(ContractSectionTitle, {
861
+ children: en ? "Introduction" : "Gi\u1EDBi thi\u1EC7u"
862
+ }),
863
+ /* @__PURE__ */ _jsx(IntroductionDescription, {
864
+ style: {
865
+ whiteSpace: "pre-wrap"
866
+ },
867
+ children: product.introduction || product.summary
868
+ })
869
+ ]
870
+ }),
871
+ !!product.specifications.length && /* @__PURE__ */ _jsxs(ContractSpecificationSection, {
872
+ children: [
873
+ /* @__PURE__ */ _jsx(ContractSectionTitle, {
874
+ children: en ? "Contract specifications" : "\u0110\u1EB7c t\u1EA3 h\u1EE3p \u0111\u1ED3ng"
875
+ }),
876
+ /* @__PURE__ */ _jsx(ContractSpecificationList, {
877
+ children: product.specifications.map((row, i) => /* @__PURE__ */ _jsxs(ContractSpecificationRow, {
878
+ children: [
879
+ /* @__PURE__ */ _jsx("dt", {
880
+ children: row.label
881
+ }),
882
+ /* @__PURE__ */ _jsxs("dd", {
883
+ style: {
884
+ whiteSpace: "pre-wrap",
885
+ overflowWrap: "anywhere"
886
+ },
887
+ children: [
888
+ row.value,
889
+ row.status && row.status !== "D\u1EEF li\u1EC7u ngu\u1ED3n" && /* @__PURE__ */ _jsx(DetailNote, {
890
+ children: row.status
891
+ })
892
+ ]
893
+ })
894
+ ]
895
+ }, i))
896
+ })
897
+ ]
898
+ }),
899
+ (product.qualityDescription || product.qualityRows.length > 0) && /* @__PURE__ */ _jsxs(QualityStandardSection, {
900
+ children: [
901
+ /* @__PURE__ */ _jsxs(QualityStandardIntro, {
902
+ children: [
903
+ /* @__PURE__ */ _jsx(ContractSectionTitle, {
904
+ children: en ? "Quality standards" : "Ti\xEAu chu\u1EA9n ch\u1EA5t l\u01B0\u1EE3ng"
905
+ }),
906
+ product.qualityDescription && /* @__PURE__ */ _jsx(QualityStandardDescription, {
907
+ style: {
908
+ whiteSpace: "pre-wrap"
909
+ },
910
+ children: product.qualityDescription
911
+ })
912
+ ]
913
+ }),
914
+ [
915
+ ...qualityGroups
916
+ ].map(([key, rows]) => /* @__PURE__ */ _jsxs("div", {
917
+ style: {
918
+ display: "grid",
919
+ gap: 8
920
+ },
921
+ children: [
922
+ rows[0].table && /* @__PURE__ */ _jsx(QualityTableTitle, {
923
+ children: rows[0].table
924
+ }),
925
+ /* @__PURE__ */ _jsx(QualityTable, {
926
+ rows,
927
+ columns: rows[0].columns || product.qualityColumns,
928
+ en
929
+ })
930
+ ]
931
+ }, key))
932
+ ]
933
+ }),
934
+ /* @__PURE__ */ _jsx(ProductReferences, {
935
+ product,
936
+ en
937
+ })
938
+ ]
939
+ }),
940
+ !!related.length && /* @__PURE__ */ _jsx(ContractSidebar, {
941
+ children: /* @__PURE__ */ _jsxs(RelatedProductsSection, {
942
+ children: [
943
+ /* @__PURE__ */ _jsx(RelatedProductsHeading, {
944
+ children: en ? "Related products" : "H\xE0ng h\xF3a c\xF9ng lo\u1EA1i"
945
+ }),
946
+ /* @__PURE__ */ _jsx(RelatedProductsList, {
947
+ children: related.map((item) => /* @__PURE__ */ _jsxs(RelatedProductCard, {
948
+ children: [
949
+ /* @__PURE__ */ _jsx(RelatedProductImageFrame, {
950
+ children: /* @__PURE__ */ _jsx(RelatedProductImage, {
951
+ fill: true,
952
+ src: item.coverImage || placeholderImage,
953
+ alt: item.imageAlt || item.name,
954
+ sizes: "136px",
955
+ $left: "0",
956
+ $top: "0",
957
+ $size: "100%"
958
+ })
959
+ }),
960
+ /* @__PURE__ */ _jsxs(RelatedProductContent, {
961
+ children: [
962
+ /* @__PURE__ */ _jsx(RelatedProductTitle, {
963
+ children: item.name
964
+ }),
965
+ /* @__PURE__ */ _jsx(RelatedProductDescription, {
966
+ children: item.summary
967
+ }),
968
+ /* @__PURE__ */ _jsxs(RelatedProductAction, {
969
+ as: Link3,
970
+ href: item.href,
971
+ children: [
972
+ en ? "View details" : "Xem chi ti\u1EBFt",
973
+ /* @__PURE__ */ _jsx(RelatedProductArrow, {
974
+ "aria-hidden": "true"
975
+ })
976
+ ]
977
+ })
978
+ ]
979
+ })
980
+ ]
981
+ }, item.id))
982
+ })
983
+ ]
984
+ })
985
+ })
986
+ ]
987
+ })
988
+ ]
989
+ })
990
+ });
991
+ }
992
+
993
+ // src/wikex/products/public-loading.tsx
994
+ import { jsx as _jsx2, jsxs as _jsxs2 } from "react/jsx-runtime";
995
+ import { styled as styled6, keyframes, ThemeProvider as ThemeProvider2 } from "styled-components";
996
+ var shimmer = keyframes([
997
+ `from{transform:translateX(-100%);}to{transform:translateX(100%);}`
998
+ ]);
999
+ var Bone = styled6.span.withConfig({
1000
+ componentId: "sc-b74e7028-0"
1001
+ })([
1002
+ `display:block;position:relative;overflow:hidden;border-radius:6px;background:`,
1003
+ `;&::after{position:absolute;inset:0;content:'';background:linear-gradient(90deg,transparent,rgb(255 255 255 / 42%),transparent);transform:translateX(-100%);animation:`,
1004
+ ` 1.35s ease-in-out infinite;}@media (prefers-reduced-motion:reduce){&::after{animation:none;}}`
1005
+ ], ({ theme }) => theme.colors.background.input, shimmer);
1006
+ var LoadingStatus = styled6.span.withConfig({
1007
+ componentId: "sc-b74e7028-1"
1008
+ })([
1009
+ `position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;`
1010
+ ]);
1011
+ var HeadingBone = styled6(Bone).withConfig({
1012
+ componentId: "sc-b74e7028-2"
1013
+ })([
1014
+ `width:min(220px,70%);height:50px;margin-inline:auto;@media (max-width:767px){height:36px;}`
1015
+ ]);
1016
+ var Card = styled6(ProductCardArticle).withConfig({
1017
+ componentId: "sc-b74e7028-3"
1018
+ })([
1019
+ `&:hover{transform:none;}`
1020
+ ]);
1021
+ var ImageBone = styled6(Bone).withConfig({
1022
+ componentId: "sc-b74e7028-4"
1023
+ })([
1024
+ `width:100%;aspect-ratio:1;border-radius:8px 8px 0 0;`
1025
+ ]);
1026
+ var TitleBone = styled6(Bone).withConfig({
1027
+ componentId: "sc-b74e7028-5"
1028
+ })([
1029
+ `width:70%;height:30px;@media (max-width:599px){height:18px;}`
1030
+ ]);
1031
+ var ArrowBone = styled6(Bone).withConfig({
1032
+ componentId: "sc-b74e7028-6"
1033
+ })([
1034
+ `width:24px;height:24px;margin-inline-start:auto;flex-shrink:0;@media (max-width:599px){width:18px;height:18px;}`
1035
+ ]);
1036
+ var DescriptionBones = styled6.div.withConfig({
1037
+ componentId: "sc-b74e7028-7"
1038
+ })([
1039
+ `display:flex;width:100%;height:66px;padding-block:4px;flex-direction:column;gap:8px;`,
1040
+ `{height:14px;flex-shrink:0;}@media (max-width:599px){height:48px;padding-block:2px;gap:4px;`,
1041
+ `{height:12px;}}`
1042
+ ], Bone, Bone);
1043
+ function ProductListingSkeleton({ language = "vi" }) {
1044
+ return /* @__PURE__ */ _jsx2(ThemeProvider2, {
1045
+ theme: appTheme,
1046
+ children: /* @__PURE__ */ _jsxs2(ProductsMain, {
1047
+ "aria-busy": "true",
1048
+ children: [
1049
+ /* @__PURE__ */ _jsx2(LoadingStatus, {
1050
+ role: "status",
1051
+ children: language === "en" ? "Loading products" : "\u0110ang t\u1EA3i s\u1EA3n ph\u1EA9m"
1052
+ }),
1053
+ /* @__PURE__ */ _jsx2(BreadcrumbSlot, {
1054
+ "aria-hidden": "true",
1055
+ children: /* @__PURE__ */ _jsx2(Bone, {
1056
+ style: {
1057
+ width: 160,
1058
+ height: 22
1059
+ }
1060
+ })
1061
+ }),
1062
+ /* @__PURE__ */ _jsxs2(ProductsSection, {
1063
+ "aria-hidden": "true",
1064
+ children: [
1065
+ /* @__PURE__ */ _jsx2(HeadingBone, {}),
1066
+ /* @__PURE__ */ _jsx2(ProductGrid, {
1067
+ children: Array.from({
1068
+ length: 8
1069
+ }, (_, index) => /* @__PURE__ */ _jsxs2(Card, {
1070
+ children: [
1071
+ /* @__PURE__ */ _jsx2(ImageBone, {}),
1072
+ /* @__PURE__ */ _jsxs2(ProductCardCopy, {
1073
+ children: [
1074
+ /* @__PURE__ */ _jsxs2(ProductCardTitleRow, {
1075
+ children: [
1076
+ /* @__PURE__ */ _jsx2(TitleBone, {}),
1077
+ /* @__PURE__ */ _jsx2(ArrowBone, {})
1078
+ ]
1079
+ }),
1080
+ /* @__PURE__ */ _jsxs2(DescriptionBones, {
1081
+ children: [
1082
+ /* @__PURE__ */ _jsx2(Bone, {}),
1083
+ /* @__PURE__ */ _jsx2(Bone, {}),
1084
+ /* @__PURE__ */ _jsx2(Bone, {
1085
+ style: {
1086
+ width: "75%"
1087
+ }
1088
+ })
1089
+ ]
1090
+ })
1091
+ ]
1092
+ })
1093
+ ]
1094
+ }, index))
1095
+ }),
1096
+ /* @__PURE__ */ _jsx2(ProductsPagination, {
1097
+ style: {
1098
+ display: "flex",
1099
+ justifyContent: "center",
1100
+ gap: 8
1101
+ },
1102
+ children: Array.from({
1103
+ length: 8
1104
+ }, (_, index) => /* @__PURE__ */ _jsx2(Bone, {
1105
+ style: {
1106
+ width: 28,
1107
+ height: 28,
1108
+ borderRadius: 4
1109
+ }
1110
+ }, index))
1111
+ })
1112
+ ]
1113
+ })
1114
+ ]
1115
+ })
1116
+ });
1117
+ }
1118
+ var DetailTitleBone = styled6(HeadingBone).withConfig({
1119
+ componentId: "sc-b74e7028-8"
1120
+ })([
1121
+ `width:min(360px,85%);margin-inline:0;`
1122
+ ]);
1123
+ var SectionTitleBone = styled6(Bone).withConfig({
1124
+ componentId: "sc-b74e7028-9"
1125
+ })([
1126
+ `width:180px;height:30px;@media (max-width:767px){height:22px;}`
1127
+ ]);
1128
+ var TextBone = styled6(Bone).withConfig({
1129
+ componentId: "sc-b74e7028-10"
1130
+ })([
1131
+ `width:100%;height:22px;@media (max-width:767px){height:18px;}`
1132
+ ]);
1133
+ var RelatedImageBone = styled6(Bone).withConfig({
1134
+ componentId: "sc-b74e7028-11"
1135
+ })([
1136
+ `width:100%;height:100%;border-radius:8px;`
1137
+ ]);
1138
+ function ProductDetailSkeleton({ language = "vi" }) {
1139
+ return /* @__PURE__ */ _jsx2(ThemeProvider2, {
1140
+ theme: appTheme,
1141
+ children: /* @__PURE__ */ _jsxs2(DetailMain, {
1142
+ "aria-busy": "true",
1143
+ children: [
1144
+ /* @__PURE__ */ _jsx2(LoadingStatus, {
1145
+ role: "status",
1146
+ children: language === "en" ? "Loading product details" : "\u0110ang t\u1EA3i chi ti\u1EBFt s\u1EA3n ph\u1EA9m"
1147
+ }),
1148
+ /* @__PURE__ */ _jsx2(Bone, {
1149
+ "aria-hidden": "true",
1150
+ style: {
1151
+ width: "min(240px, 80%)",
1152
+ height: 22
1153
+ }
1154
+ }),
1155
+ /* @__PURE__ */ _jsx2(PageHeader, {
1156
+ "aria-hidden": "true",
1157
+ children: /* @__PURE__ */ _jsx2(DetailTitleBone, {})
1158
+ }),
1159
+ /* @__PURE__ */ _jsxs2(ContractLayout, {
1160
+ "aria-hidden": "true",
1161
+ children: [
1162
+ /* @__PURE__ */ _jsxs2(ContractMain, {
1163
+ children: [
1164
+ /* @__PURE__ */ _jsxs2(IntroductionSection, {
1165
+ children: [
1166
+ /* @__PURE__ */ _jsx2(SectionTitleBone, {}),
1167
+ /* @__PURE__ */ _jsx2(TextBone, {}),
1168
+ /* @__PURE__ */ _jsx2(TextBone, {}),
1169
+ /* @__PURE__ */ _jsx2(TextBone, {
1170
+ style: {
1171
+ width: "70%"
1172
+ }
1173
+ })
1174
+ ]
1175
+ }),
1176
+ /* @__PURE__ */ _jsxs2(ContractSpecificationSection, {
1177
+ children: [
1178
+ /* @__PURE__ */ _jsx2(SectionTitleBone, {}),
1179
+ /* @__PURE__ */ _jsx2(ContractSpecificationList, {
1180
+ children: Array.from({
1181
+ length: 12
1182
+ }, (_, index) => /* @__PURE__ */ _jsxs2(ContractSpecificationRow, {
1183
+ children: [
1184
+ /* @__PURE__ */ _jsx2("dt", {
1185
+ children: /* @__PURE__ */ _jsx2(TextBone, {
1186
+ style: {
1187
+ width: "85%"
1188
+ }
1189
+ })
1190
+ }),
1191
+ /* @__PURE__ */ _jsx2("dd", {
1192
+ children: /* @__PURE__ */ _jsx2(TextBone, {
1193
+ style: {
1194
+ width: index % 3 === 0 ? "90%" : "65%"
1195
+ }
1196
+ })
1197
+ })
1198
+ ]
1199
+ }, index))
1200
+ })
1201
+ ]
1202
+ }),
1203
+ /* @__PURE__ */ _jsxs2(QualityStandardSection, {
1204
+ children: [
1205
+ /* @__PURE__ */ _jsx2(SectionTitleBone, {}),
1206
+ /* @__PURE__ */ _jsx2(TextBone, {}),
1207
+ /* @__PURE__ */ _jsx2(TextBone, {
1208
+ style: {
1209
+ width: "75%"
1210
+ }
1211
+ }),
1212
+ /* @__PURE__ */ _jsxs2(QualityStandardList, {
1213
+ children: [
1214
+ /* @__PURE__ */ _jsx2(QualityStandardHeader, {
1215
+ $valueColumns: 3,
1216
+ children: Array.from({
1217
+ length: 4
1218
+ }, (_, index) => /* @__PURE__ */ _jsx2(TextBone, {
1219
+ style: {
1220
+ width: "75%"
1221
+ }
1222
+ }, index))
1223
+ }),
1224
+ Array.from({
1225
+ length: 5
1226
+ }, (_, index) => /* @__PURE__ */ _jsx2(QualityStandardRow, {
1227
+ $valueColumns: 3,
1228
+ children: Array.from({
1229
+ length: 4
1230
+ }, (_2, column) => /* @__PURE__ */ _jsx2(TextBone, {
1231
+ style: {
1232
+ width: "70%"
1233
+ }
1234
+ }, column))
1235
+ }, index))
1236
+ ]
1237
+ })
1238
+ ]
1239
+ })
1240
+ ]
1241
+ }),
1242
+ /* @__PURE__ */ _jsx2(ContractSidebar, {
1243
+ children: /* @__PURE__ */ _jsxs2(RelatedProductsSection, {
1244
+ children: [
1245
+ /* @__PURE__ */ _jsx2(SectionTitleBone, {}),
1246
+ /* @__PURE__ */ _jsx2(RelatedProductsList, {
1247
+ children: Array.from({
1248
+ length: 3
1249
+ }, (_, index) => /* @__PURE__ */ _jsxs2(RelatedProductCard, {
1250
+ children: [
1251
+ /* @__PURE__ */ _jsx2(RelatedProductImageFrame, {
1252
+ children: /* @__PURE__ */ _jsx2(RelatedImageBone, {})
1253
+ }),
1254
+ /* @__PURE__ */ _jsxs2(RelatedProductContent, {
1255
+ children: [
1256
+ /* @__PURE__ */ _jsx2(TextBone, {}),
1257
+ /* @__PURE__ */ _jsx2(TextBone, {
1258
+ style: {
1259
+ width: "85%"
1260
+ }
1261
+ }),
1262
+ /* @__PURE__ */ _jsx2(TextBone, {
1263
+ style: {
1264
+ width: "65%"
1265
+ }
1266
+ })
1267
+ ]
1268
+ })
1269
+ ]
1270
+ }, index))
1271
+ })
1272
+ ]
1273
+ })
1274
+ })
1275
+ ]
1276
+ })
1277
+ ]
1278
+ })
1279
+ });
1280
+ }
1281
+ export {
1282
+ ProductDetailSkeleton,
1283
+ ProductDetailView,
1284
+ ProductListing,
1285
+ ProductListingSkeleton
1286
+ };
1287
+ //# sourceMappingURL=products.mjs.map