trade-safety 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,457 +1,380 @@
1
- import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
- import { motion as c } from "framer-motion";
1
+ import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
+ import { motion as s } from "framer-motion";
3
3
  import { useTranslation as o } from "react-i18next";
4
4
  import "i18next";
5
5
  import "i18next-resources-to-backend";
6
- import * as s from "react";
6
+ import { TRADE_SAFETY_NS as d } from "./locale.mjs";
7
+ import { tradeSafetyTranslations as ke } from "./locale.mjs";
8
+ import * as l from "react";
7
9
  import v from "next/link";
8
10
  import { BaseCrudRepository as w } from "@aioia/core";
9
- import { z as l } from "zod";
10
- function y({
11
+ import { z as c } from "zod";
12
+ function N({
11
13
  title: e,
12
- titleId: t,
13
- ...i
14
+ titleId: r,
15
+ ...a
14
16
  }, n) {
15
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
17
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
16
18
  xmlns: "http://www.w3.org/2000/svg",
17
19
  viewBox: "0 0 24 24",
18
20
  fill: "currentColor",
19
21
  "aria-hidden": "true",
20
22
  "data-slot": "icon",
21
23
  ref: n,
22
- "aria-labelledby": t
23
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
24
- id: t
25
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
24
+ "aria-labelledby": r
25
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
26
+ id: r
27
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
26
28
  fillRule: "evenodd",
27
29
  d: "M4.804 21.644A6.707 6.707 0 0 0 6 21.75a6.721 6.721 0 0 0 3.583-1.029c.774.182 1.584.279 2.417.279 5.322 0 9.75-3.97 9.75-9 0-5.03-4.428-9-9.75-9s-9.75 3.97-9.75 9c0 2.409 1.025 4.587 2.674 6.192.232.226.277.428.254.543a3.73 3.73 0 0 1-.814 1.686.75.75 0 0 0 .44 1.223ZM8.25 10.875a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25ZM10.875 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",
28
30
  clipRule: "evenodd"
29
31
  }));
30
32
  }
31
- const k = /* @__PURE__ */ s.forwardRef(y);
32
- function A({
33
+ const y = /* @__PURE__ */ l.forwardRef(N);
34
+ function R({
33
35
  title: e,
34
- titleId: t,
35
- ...i
36
+ titleId: r,
37
+ ...a
36
38
  }, n) {
37
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
39
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
38
40
  xmlns: "http://www.w3.org/2000/svg",
39
41
  viewBox: "0 0 24 24",
40
42
  fill: "currentColor",
41
43
  "aria-hidden": "true",
42
44
  "data-slot": "icon",
43
45
  ref: n,
44
- "aria-labelledby": t
45
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
46
- id: t
47
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
46
+ "aria-labelledby": r
47
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
48
+ id: r
49
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
48
50
  fillRule: "evenodd",
49
51
  d: "M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",
50
52
  clipRule: "evenodd"
51
53
  }));
52
54
  }
53
- const N = /* @__PURE__ */ s.forwardRef(A);
54
- function R({
55
+ const _ = /* @__PURE__ */ l.forwardRef(R);
56
+ function E({
55
57
  title: e,
56
- titleId: t,
57
- ...i
58
+ titleId: r,
59
+ ...a
58
60
  }, n) {
59
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
61
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
60
62
  xmlns: "http://www.w3.org/2000/svg",
61
63
  viewBox: "0 0 24 24",
62
64
  fill: "currentColor",
63
65
  "aria-hidden": "true",
64
66
  "data-slot": "icon",
65
67
  ref: n,
66
- "aria-labelledby": t
67
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
68
- id: t
69
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
68
+ "aria-labelledby": r
69
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
70
+ id: r
71
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
70
72
  fillRule: "evenodd",
71
73
  d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",
72
74
  clipRule: "evenodd"
73
75
  }));
74
76
  }
75
- const S = /* @__PURE__ */ s.forwardRef(R);
76
- function I({
77
+ const k = /* @__PURE__ */ l.forwardRef(E);
78
+ function C({
77
79
  title: e,
78
- titleId: t,
79
- ...i
80
+ titleId: r,
81
+ ...a
80
82
  }, n) {
81
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
83
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
82
84
  xmlns: "http://www.w3.org/2000/svg",
83
85
  viewBox: "0 0 24 24",
84
86
  fill: "currentColor",
85
87
  "aria-hidden": "true",
86
88
  "data-slot": "icon",
87
89
  ref: n,
88
- "aria-labelledby": t
89
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
90
- id: t
91
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
90
+ "aria-labelledby": r
91
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
92
+ id: r
93
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
92
94
  fillRule: "evenodd",
93
95
  d: "M7.502 6h7.128A3.375 3.375 0 0 1 18 9.375v9.375a3 3 0 0 0 3-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 0 0-.673-.05A3 3 0 0 0 15 1.5h-1.5a3 3 0 0 0-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6ZM13.5 3A1.5 1.5 0 0 0 12 4.5h4.5A1.5 1.5 0 0 0 15 3h-1.5Z",
94
96
  clipRule: "evenodd"
95
- }), /* @__PURE__ */ s.createElement("path", {
97
+ }), /* @__PURE__ */ l.createElement("path", {
96
98
  fillRule: "evenodd",
97
99
  d: "M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V9.375Zm9.586 4.594a.75.75 0 0 0-1.172-.938l-2.476 3.096-.908-.907a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.116-.062l3-3.75Z",
98
100
  clipRule: "evenodd"
99
101
  }));
100
102
  }
101
- const T = /* @__PURE__ */ s.forwardRef(I);
102
- function C({
103
+ const S = /* @__PURE__ */ l.forwardRef(C);
104
+ function Z({
103
105
  title: e,
104
- titleId: t,
105
- ...i
106
+ titleId: r,
107
+ ...a
106
108
  }, n) {
107
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
109
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
108
110
  xmlns: "http://www.w3.org/2000/svg",
109
111
  viewBox: "0 0 24 24",
110
112
  fill: "currentColor",
111
113
  "aria-hidden": "true",
112
114
  "data-slot": "icon",
113
115
  ref: n,
114
- "aria-labelledby": t
115
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
116
- id: t
117
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
116
+ "aria-labelledby": r
117
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
118
+ id: r
119
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
118
120
  d: "M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z"
119
- }), /* @__PURE__ */ s.createElement("path", {
121
+ }), /* @__PURE__ */ l.createElement("path", {
120
122
  fillRule: "evenodd",
121
123
  d: "M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v.816a3.836 3.836 0 0 0-1.72.756c-.712.566-1.112 1.35-1.112 2.178 0 .829.4 1.612 1.113 2.178.502.4 1.102.647 1.719.756v2.978a2.536 2.536 0 0 1-.921-.421l-.879-.66a.75.75 0 0 0-.9 1.2l.879.66c.533.4 1.169.645 1.821.75V18a.75.75 0 0 0 1.5 0v-.81a4.124 4.124 0 0 0 1.821-.749c.745-.559 1.179-1.344 1.179-2.191 0-.847-.434-1.632-1.179-2.191a4.122 4.122 0 0 0-1.821-.75V8.354c.29.082.559.213.786.393l.415.33a.75.75 0 0 0 .933-1.175l-.415-.33a3.836 3.836 0 0 0-1.719-.755V6Z",
122
124
  clipRule: "evenodd"
123
125
  }));
124
126
  }
125
- const E = /* @__PURE__ */ s.forwardRef(C);
126
- function D({
127
+ const M = /* @__PURE__ */ l.forwardRef(Z);
128
+ function A({
127
129
  title: e,
128
- titleId: t,
129
- ...i
130
+ titleId: r,
131
+ ...a
130
132
  }, n) {
131
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
133
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
132
134
  xmlns: "http://www.w3.org/2000/svg",
133
135
  viewBox: "0 0 24 24",
134
136
  fill: "currentColor",
135
137
  "aria-hidden": "true",
136
138
  "data-slot": "icon",
137
139
  ref: n,
138
- "aria-labelledby": t
139
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
140
- id: t
141
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
140
+ "aria-labelledby": r
141
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
142
+ id: r
143
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
142
144
  fillRule: "evenodd",
143
145
  d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",
144
146
  clipRule: "evenodd"
145
147
  }));
146
148
  }
147
- const P = /* @__PURE__ */ s.forwardRef(D);
148
- function _({
149
+ const j = /* @__PURE__ */ l.forwardRef(A);
150
+ function $({
149
151
  title: e,
150
- titleId: t,
151
- ...i
152
+ titleId: r,
153
+ ...a
152
154
  }, n) {
153
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
155
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
154
156
  xmlns: "http://www.w3.org/2000/svg",
155
157
  viewBox: "0 0 24 24",
156
158
  fill: "currentColor",
157
159
  "aria-hidden": "true",
158
160
  "data-slot": "icon",
159
161
  ref: n,
160
- "aria-labelledby": t
161
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
162
- id: t
163
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
162
+ "aria-labelledby": r
163
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
164
+ id: r
165
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
164
166
  fillRule: "evenodd",
165
167
  d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",
166
168
  clipRule: "evenodd"
167
169
  }));
168
170
  }
169
- const h = /* @__PURE__ */ s.forwardRef(_);
170
- function M({
171
+ const g = /* @__PURE__ */ l.forwardRef($);
172
+ function B({
171
173
  title: e,
172
- titleId: t,
173
- ...i
174
+ titleId: r,
175
+ ...a
174
176
  }, n) {
175
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
177
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
176
178
  xmlns: "http://www.w3.org/2000/svg",
177
179
  viewBox: "0 0 24 24",
178
180
  fill: "currentColor",
179
181
  "aria-hidden": "true",
180
182
  "data-slot": "icon",
181
183
  ref: n,
182
- "aria-labelledby": t
183
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
184
- id: t
185
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
184
+ "aria-labelledby": r
185
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
186
+ id: r
187
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
186
188
  d: "m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"
187
189
  }));
188
190
  }
189
- const j = /* @__PURE__ */ s.forwardRef(M);
191
+ const O = /* @__PURE__ */ l.forwardRef(B);
190
192
  function z({
191
193
  title: e,
192
- titleId: t,
193
- ...i
194
+ titleId: r,
195
+ ...a
194
196
  }, n) {
195
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
197
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
196
198
  xmlns: "http://www.w3.org/2000/svg",
197
199
  viewBox: "0 0 24 24",
198
200
  fill: "currentColor",
199
201
  "aria-hidden": "true",
200
202
  "data-slot": "icon",
201
203
  ref: n,
202
- "aria-labelledby": t
203
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
204
- id: t
205
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
204
+ "aria-labelledby": r
205
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
206
+ id: r
207
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
206
208
  fillRule: "evenodd",
207
209
  d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",
208
210
  clipRule: "evenodd"
209
211
  }));
210
212
  }
211
- const L = /* @__PURE__ */ s.forwardRef(z);
212
- function $({
213
+ const F = /* @__PURE__ */ l.forwardRef(z);
214
+ function I({
213
215
  title: e,
214
- titleId: t,
215
- ...i
216
+ titleId: r,
217
+ ...a
216
218
  }, n) {
217
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
219
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
218
220
  xmlns: "http://www.w3.org/2000/svg",
219
221
  viewBox: "0 0 24 24",
220
222
  fill: "currentColor",
221
223
  "aria-hidden": "true",
222
224
  "data-slot": "icon",
223
225
  ref: n,
224
- "aria-labelledby": t
225
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
226
- id: t
227
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
226
+ "aria-labelledby": r
227
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
228
+ id: r
229
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
228
230
  fillRule: "evenodd",
229
231
  d: "M9 2.25a.75.75 0 0 1 .75.75v1.506a49.384 49.384 0 0 1 5.343.371.75.75 0 1 1-.186 1.489c-.66-.083-1.323-.151-1.99-.206a18.67 18.67 0 0 1-2.97 6.323c.318.384.65.753 1 1.107a.75.75 0 0 1-1.07 1.052A18.902 18.902 0 0 1 9 13.687a18.823 18.823 0 0 1-5.656 4.482.75.75 0 0 1-.688-1.333 17.323 17.323 0 0 0 5.396-4.353A18.72 18.72 0 0 1 5.89 8.598a.75.75 0 0 1 1.388-.568A17.21 17.21 0 0 0 9 11.224a17.168 17.168 0 0 0 2.391-5.165 48.04 48.04 0 0 0-8.298.307.75.75 0 0 1-.186-1.489 49.159 49.159 0 0 1 5.343-.371V3A.75.75 0 0 1 9 2.25ZM15.75 9a.75.75 0 0 1 .68.433l5.25 11.25a.75.75 0 1 1-1.36.634l-1.198-2.567h-6.744l-1.198 2.567a.75.75 0 0 1-1.36-.634l5.25-11.25A.75.75 0 0 1 15.75 9Zm-2.672 8.25h5.344l-2.672-5.726-2.672 5.726Z",
230
232
  clipRule: "evenodd"
231
233
  }));
232
234
  }
233
- const Z = /* @__PURE__ */ s.forwardRef($);
234
- function B({
235
+ const T = /* @__PURE__ */ l.forwardRef(I);
236
+ function H({
235
237
  title: e,
236
- titleId: t,
237
- ...i
238
+ titleId: r,
239
+ ...a
238
240
  }, n) {
239
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
241
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
240
242
  xmlns: "http://www.w3.org/2000/svg",
241
243
  viewBox: "0 0 24 24",
242
244
  fill: "currentColor",
243
245
  "aria-hidden": "true",
244
246
  "data-slot": "icon",
245
247
  ref: n,
246
- "aria-labelledby": t
247
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
248
- id: t
249
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
248
+ "aria-labelledby": r
249
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
250
+ id: r
251
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
250
252
  d: "M12 .75a8.25 8.25 0 0 0-4.135 15.39c.686.398 1.115 1.008 1.134 1.623a.75.75 0 0 0 .577.706c.352.083.71.148 1.074.195.323.041.6-.218.6-.544v-4.661a6.714 6.714 0 0 1-.937-.171.75.75 0 1 1 .374-1.453 5.261 5.261 0 0 0 2.626 0 .75.75 0 1 1 .374 1.452 6.712 6.712 0 0 1-.937.172v4.66c0 .327.277.586.6.545.364-.047.722-.112 1.074-.195a.75.75 0 0 0 .577-.706c.02-.615.448-1.225 1.134-1.623A8.25 8.25 0 0 0 12 .75Z"
251
- }), /* @__PURE__ */ s.createElement("path", {
253
+ }), /* @__PURE__ */ l.createElement("path", {
252
254
  fillRule: "evenodd",
253
255
  d: "M9.013 19.9a.75.75 0 0 1 .877-.597 11.319 11.319 0 0 0 4.22 0 .75.75 0 1 1 .28 1.473 12.819 12.819 0 0 1-4.78 0 .75.75 0 0 1-.597-.876ZM9.754 22.344a.75.75 0 0 1 .824-.668 13.682 13.682 0 0 0 2.844 0 .75.75 0 1 1 .156 1.492 15.156 15.156 0 0 1-3.156 0 .75.75 0 0 1-.668-.824Z",
254
256
  clipRule: "evenodd"
255
257
  }));
256
258
  }
257
- const O = /* @__PURE__ */ s.forwardRef(B);
258
- function H({
259
+ const L = /* @__PURE__ */ l.forwardRef(H);
260
+ function D({
259
261
  title: e,
260
- titleId: t,
261
- ...i
262
+ titleId: r,
263
+ ...a
262
264
  }, n) {
263
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
265
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
264
266
  xmlns: "http://www.w3.org/2000/svg",
265
267
  viewBox: "0 0 24 24",
266
268
  fill: "currentColor",
267
269
  "aria-hidden": "true",
268
270
  "data-slot": "icon",
269
271
  ref: n,
270
- "aria-labelledby": t
271
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
272
- id: t
273
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
272
+ "aria-labelledby": r
273
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
274
+ id: r
275
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
274
276
  fillRule: "evenodd",
275
277
  d: "M11.484 2.17a.75.75 0 0 1 1.032 0 11.209 11.209 0 0 0 7.877 3.08.75.75 0 0 1 .722.515 12.74 12.74 0 0 1 .635 3.985c0 5.942-4.064 10.933-9.563 12.348a.749.749 0 0 1-.374 0C6.314 20.683 2.25 15.692 2.25 9.75c0-1.39.223-2.73.635-3.985a.75.75 0 0 1 .722-.516l.143.001c2.996 0 5.718-1.17 7.734-3.08ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75ZM12 15a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75H12Z",
276
278
  clipRule: "evenodd"
277
279
  }));
278
280
  }
279
- const b = /* @__PURE__ */ s.forwardRef(H);
280
- function F({
281
+ const x = /* @__PURE__ */ l.forwardRef(D);
282
+ function V({
281
283
  title: e,
282
- titleId: t,
283
- ...i
284
+ titleId: r,
285
+ ...a
284
286
  }, n) {
285
- return /* @__PURE__ */ s.createElement("svg", Object.assign({
287
+ return /* @__PURE__ */ l.createElement("svg", Object.assign({
286
288
  xmlns: "http://www.w3.org/2000/svg",
287
289
  viewBox: "0 0 24 24",
288
290
  fill: "currentColor",
289
291
  "aria-hidden": "true",
290
292
  "data-slot": "icon",
291
293
  ref: n,
292
- "aria-labelledby": t
293
- }, i), e ? /* @__PURE__ */ s.createElement("title", {
294
- id: t
295
- }, e) : null, /* @__PURE__ */ s.createElement("path", {
294
+ "aria-labelledby": r
295
+ }, a), e ? /* @__PURE__ */ l.createElement("title", {
296
+ id: r
297
+ }, e) : null, /* @__PURE__ */ l.createElement("path", {
296
298
  fillRule: "evenodd",
297
299
  d: "M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",
298
300
  clipRule: "evenodd"
299
301
  }));
300
302
  }
301
- const K = /* @__PURE__ */ s.forwardRef(F), U = { title: "Worried About a Trade?", subtitle: "Trade safety verification for global K-pop fans. AI analyzes language barriers, scam risks, and price fairness in 30 seconds.", placeholder: `Paste trade post text or URL...
302
-
303
- Example:
304
- 급처분 ㅠㅠ 공구 실패해서 양도해요
305
- BTS Jimin photocard 무탈 DM
306
-
307
- Or:
308
- https://twitter.com/...`, advancedOptions: "Advanced Options (Optional)", amountPlaceholder: "Trade Amount (USD)", checkSafety: "Check Safety", analyzing: "Analyzing...", analyzingDescription: "AI is analyzing language, scam signals, and price...", tryExample: "Try an example" }, W = { title: "AI Analyzes <1>3 Things Simultaneously</1>", translation: { title: "Translation + Nuance", description: "Translates Korean slang and identifies suspicious expressions." }, scamDetection: { title: "Scam Signal Detection", description: "Detects risk patterns like advance payment requests, account age, and lack of verification." }, priceAnalysis: { title: "Price Fairness", description: "Provides market price info and warns about overpricing." } }, V = { title: "How It Works", step1: { title: "Paste", description: "Copy and paste the trade post text or URL" }, step2: { title: "AI Analysis", description: "AI analyzes language, scam signals, and price in 30 seconds" }, step3: { title: "Get Results", description: "View detailed analysis and safety recommendations" } }, q = { title: "Trade Safety Analysis", subtitle: "Based on AI analysis of the information you provided", notFound: "Analysis result not found", quickTitle: "Analysis Complete!", riskSignals: "Risk Signals", cautions: "Cautions", safeIndicators: "Safe Indicators", detailsPreview: "Detailed Analysis", signupRequired: "Sign up to see full details", signupMessage: "Create a free account to get detailed AI analysis and expert advice", signupDescription: "Get the complete analysis and AI advice with a free account", signupButton: "Sign Up Free", signupToView: "Sign up to see full analysis", whatToDo: "What to do", translation: "Translation & Nuance", translationTitle: "Translation", nuanceTitle: "Nuance Explanation", priceAnalysis: "Price Analysis", marketPrice: "Market Price Range", offeredPrice: "Offered Price", priceAssessment: "Price Assessment", priceWarnings: "Price Warnings", safetyChecklist: "Safety Checklist", checklistDescription: "Check these items before proceeding with the trade", recommendation: "Recommendation", expertAdvice: "Expert Advice", expertName: "K-pop Trade Expert", riskLevel: { high: { title: "High Risk", message: "We recommend NOT proceeding with this trade. Multiple red flags detected." }, medium: { title: "Proceed with Caution", message: "Some concerning signs detected. Please verify carefully before trading." }, low: { title: "Looks Safe", message: "No major red flags detected, but always stay cautious!" } }, companionCta: { title: "Want to talk?", description: "Share what's on your mind with your AI companion", button: "Start Chat" } }, J = {
309
- hero: U,
310
- features: W,
311
- howItWorks: V,
312
- result: q
313
- }, G = { title: "¿Preocupado por una transacción?", subtitle: "Herramienta de verificación de seguridad en transacciones para fans globales de K-pop. La IA analiza barreras lingüísticas, riesgos de estafa y precios justos en 30 segundos.", placeholder: `Pega el texto o URL de la publicación...
314
-
315
- Ejemplo:
316
- 급처분 ㅠㅠ 공구 실패해서 양도해요
317
- BTS Jimin photocard 무탈 DM
318
-
319
- O:
320
- https://twitter.com/...`, advancedOptions: "Opciones Avanzadas (Opcional)", amountPlaceholder: "Monto de la Transacción (USD)", checkSafety: "Verificar Seguridad", analyzing: "Analizando...", analyzingDescription: "La IA está analizando idioma, señales de estafa y precio...", tryExample: "Probar ejemplo" }, Q = { title: "La IA Analiza <1>3 Cosas Simultáneamente</1>", translation: { title: "Traducción + Matiz", description: "Traduce jerga coreana e identifica expresiones sospechosas." }, scamDetection: { title: "Detección de Señales de Estafa", description: "Detecta patrones de riesgo como solicitudes de pago anticipado, antigüedad de la cuenta y falta de verificación." }, priceAnalysis: { title: "Análisis de Precios Justos", description: "Proporciona información de precios de mercado y advierte sobre precios excesivos." } }, Y = { title: "Cómo Funciona", step1: { title: "Pegar", description: "Copie y pegue el texto o URL de la publicación" }, step2: { title: "Análisis IA", description: "La IA analiza idioma, señales de estafa y precio en 30 segundos" }, step3: { title: "Ver Resultados", description: "Vea el análisis detallado y las recomendaciones de seguridad" } }, X = { title: "Análisis de Seguridad Comercial", subtitle: "Basado en el análisis de IA de la información proporcionada", notFound: "Resultado del análisis no encontrado", quickTitle: "¡Análisis Completo!", riskSignals: "Señales de Riesgo", cautions: "Precauciones", safeIndicators: "Indicadores Seguros", detailsPreview: "Análisis Detallado", signupRequired: "Regístrate para ver todos los detalles", signupMessage: "Crea una cuenta gratuita para obtener análisis detallado de IA y consejos de expertos", signupDescription: "Obtén el análisis completo y consejos de IA con una cuenta gratuita", signupButton: "Registro Gratuito", signupToView: "Regístrate para ver el análisis completo", whatToDo: "Qué hacer", translation: "Traducción y Matices", translationTitle: "Traducción", nuanceTitle: "Explicación de Matices", priceAnalysis: "Análisis de Precios", marketPrice: "Rango de Precio de Mercado", offeredPrice: "Precio Ofrecido", priceAssessment: "Evaluación de Precio", priceWarnings: "Advertencias de Precio", safetyChecklist: "Lista de Verificación de Seguridad", checklistDescription: "Revise estos elementos antes de proceder con la transacción", recommendation: "Recomendación", expertAdvice: "Consejo de Experto", expertName: "Experto en Comercio de K-pop", riskLevel: { high: { title: "Alto Riesgo", message: "Recomendamos NO proceder con esta transacción. Se detectaron múltiples señales de alarma." }, medium: { title: "Proceder con Precaución", message: "Se detectaron algunas señales preocupantes. Verifique cuidadosamente antes de comerciar." }, low: { title: "Parece Seguro", message: "No se detectaron señales de alarma importantes, pero ¡siempre sea cauteloso!" } }, companionCta: { title: "¿Quieres hablar?", description: "Comparte lo que tienes en mente con tu compañero de IA", button: "Iniciar Chat" } }, ee = {
321
- hero: G,
322
- features: Q,
323
- howItWorks: Y,
324
- result: X
325
- }, ae = { title: "Khawatir Tentang Transaksi?", subtitle: "Alat verifikasi keamanan transaksi untuk penggemar K-pop global. AI menganalisis hambatan bahasa, risiko penipuan, dan keadilan harga dalam 30 detik.", placeholder: `Tempel teks atau URL postingan transaksi...
326
-
327
- Contoh:
328
- 급처분 ㅠㅠ 공구 실패해서 양도해요
329
- BTS Jimin photocard 무탈 DM
330
-
331
- Atau:
332
- https://twitter.com/...`, advancedOptions: "Opsi Lanjutan (Opsional)", amountPlaceholder: "Jumlah Transaksi (USD)", checkSafety: "Periksa Keamanan", analyzing: "Menganalisis...", analyzingDescription: "AI sedang menganalisis bahasa, sinyal penipuan, dan harga...", tryExample: "Coba contoh" }, te = { title: "AI Menganalisis <1>3 Hal Secara Bersamaan</1>", translation: { title: "Terjemahan + Nuansa", description: "Menerjemahkan slang Korea dan mengidentifikasi ekspresi yang mencurigakan." }, scamDetection: { title: "Deteksi Sinyal Penipuan", description: "Mendeteksi pola risiko seperti permintaan pembayaran di muka, usia akun, dan kurangnya verifikasi." }, priceAnalysis: { title: "Analisis Keadilan Harga", description: "Memberikan info harga pasar dan memperingatkan tentang harga berlebihan." } }, ie = { title: "Cara Kerja", step1: { title: "Tempel", description: "Salin dan tempel teks atau URL postingan transaksi" }, step2: { title: "Analisis AI", description: "AI menganalisis bahasa, sinyal penipuan, dan harga dalam 30 detik" }, step3: { title: "Lihat Hasil", description: "Lihat analisis terperinci dan rekomendasi keamanan" } }, ne = { title: "Analisis Keamanan Transaksi", subtitle: "Berdasarkan analisis AI dari informasi yang Anda berikan", notFound: "Hasil analisis tidak ditemukan", quickTitle: "Analisis Selesai!", riskSignals: "Sinyal Risiko", cautions: "Peringatan", safeIndicators: "Indikator Aman", detailsPreview: "Analisis Terperinci", signupRequired: "Daftar untuk melihat detail lengkap", signupMessage: "Buat akun gratis untuk mendapatkan analisis AI terperinci dan saran ahli", signupDescription: "Dapatkan analisis lengkap dan saran AI dengan akun gratis", signupButton: "Daftar Gratis", signupToView: "Daftar untuk melihat analisis lengkap", whatToDo: "Apa yang harus dilakukan", translation: "Terjemahan & Nuansa", translationTitle: "Terjemahan", nuanceTitle: "Penjelasan Nuansa", priceAnalysis: "Analisis Harga", marketPrice: "Kisaran Harga Pasar", offeredPrice: "Harga yang Ditawarkan", priceAssessment: "Penilaian Harga", priceWarnings: "Peringatan Harga", safetyChecklist: "Daftar Periksa Keamanan", checklistDescription: "Periksa item-item ini sebelum melanjutkan transaksi", recommendation: "Rekomendasi", expertAdvice: "Saran Ahli", expertName: "Ahli Transaksi K-pop", riskLevel: { high: { title: "Risiko Tinggi", message: "Kami merekomendasikan TIDAK melanjutkan transaksi ini. Terdeteksi beberapa tanda bahaya." }, medium: { title: "Lanjutkan dengan Hati-hati", message: "Terdeteksi beberapa tanda yang mengkhawatirkan. Harap verifikasi dengan hati-hati sebelum bertransaksi." }, low: { title: "Terlihat Aman", message: "Tidak ada tanda bahaya besar yang terdeteksi, tetapi selalu berhati-hati!" } }, companionCta: { title: "Ingin bicara?", description: "Bagikan apa yang ada di pikiran Anda dengan rekan AI Anda", button: "Mulai Chat" } }, se = {
333
- hero: ae,
334
- features: te,
335
- howItWorks: ie,
336
- result: ne
337
- }, re = { title: "取引に不安がありますか?", subtitle: "グローバルK-popファンのための取引安全検証ツール。AIが言語の壁、詐欺リスク、価格の妥当性を30秒で分析します。", placeholder: `取引投稿のテキストまたはURLを貼り付けてください...
338
-
339
- 例:
340
- 급처분 ㅠㅠ 공구 실패해서 양도해요
341
- BTS ジミン フォトカード 무탈 DM
342
-
343
- または:
344
- https://twitter.com/...`, advancedOptions: "詳細オプション(任意)", amountPlaceholder: "取引金額(USD)", checkSafety: "安全性を確認", analyzing: "分析中...", analyzingDescription: "AIが言語、詐欺信号、価格を分析しています...", tryExample: "例を試す" }, le = { title: "AIが<1>3つを同時に</1>分析します", translation: { title: "翻訳 + ニュアンス解釈", description: "韓国語のスラングや略語を翻訳し、疑わしい表現を見つけます。" }, scamDetection: { title: "詐欺信号検出", description: "前払い要求、アカウント年齢、認証不足などのリスクパターンを検出します。" }, priceAnalysis: { title: "価格の妥当性分析", description: "市場価格情報を提供し、ぼったくりリスクを警告します。" } }, ce = { title: "使い方", step1: { title: "貼り付け", description: "取引投稿のテキストまたはURLをコピーして貼り付けます" }, step2: { title: "AI分析", description: "AIが30秒で言語、詐欺信号、価格を分析します" }, step3: { title: "結果確認", description: "詳細な分析結果と安全推奨事項を確認します" } }, oe = { title: "取引安全性分析", subtitle: "入力された情報をAIが分析した結果です", notFound: "分析結果が見つかりません", quickTitle: "分析完了!", riskSignals: "リスク信号", cautions: "注意事項", safeIndicators: "安全要素", detailsPreview: "詳細分析", signupRequired: "サインアップして詳細を確認", signupMessage: "無料アカウントを作成して詳細なAI分析と専門家のアドバイスを受け取る", signupDescription: "無料アカウントで完全な分析結果とAIアドバイスを取得", signupButton: "無料サインアップ", signupToView: "サインアップして全体分析を見る", whatToDo: "対応方法", translation: "翻訳とニュアンス", translationTitle: "翻訳", nuanceTitle: "ニュアンスの説明", priceAnalysis: "価格分析", marketPrice: "市場価格帯", offeredPrice: "提示価格", priceAssessment: "価格評価", priceWarnings: "価格警告", safetyChecklist: "安全チェックリスト", checklistDescription: "取引を進める前にこれらの項目を確認してください", recommendation: "総合推奨事項", expertAdvice: "専門家のアドバイス", expertName: "K-pop取引専門家", riskLevel: { high: { title: "リスク高", message: "この取引は進めないことをお勧めします。複数の危険信号が検出されました。" }, medium: { title: "慎重に進めてください", message: "いくつか懸念される点があります。取引前に慎重に確認してください。" }, low: { title: "安全そうです", message: "大きな危険信号は検出されませんでしたが、常に注意してください!" } }, companionCta: { title: "お話ししませんか?", description: "心に思っていることをAIコンパニオンと共有しましょう", button: "チャット開始" } }, de = {
345
- hero: re,
346
- features: le,
347
- howItWorks: ce,
348
- result: oe
349
- }, me = { title: "걱정되는 거래가 있나요?", subtitle: "해외 K-pop 팬을 위한 거래 안전 검증 도구. AI가 언어 장벽, 사기 위험, 가격 적정성을 30초 안에 분석합니다.", placeholder: `거래 글이나 URL을 붙여넣으세요...
350
-
351
- 예시:
352
- 급처분 ㅠㅠ 공구 실패해서 양도해요
353
- BTS 지민 포카 무탈 DM
354
-
355
- 또는:
356
- https://twitter.com/...`, advancedOptions: "추가 옵션 (선택)", amountPlaceholder: "거래 금액 (USD)", checkSafety: "안전성 확인하기", analyzing: "분석 중...", analyzingDescription: "AI가 언어, 사기 신호, 가격을 분석하고 있습니다...", tryExample: "예시 보기" }, ue = { title: "AI가 <1>3가지를 동시에</1> 분석합니다", translation: { title: "번역 + 뉘앙스 해석", description: "한국어 슬랭과 줄임말을 번역하고, 의심스러운 표현을 찾아냅니다." }, scamDetection: { title: "사기 신호 탐지", description: "선입금 요구, 계정 연령, 인증 부족 등 위험 패턴을 감지합니다." }, priceAnalysis: { title: "가격 적정성 분석", description: "시세 정보를 제공하고, 바가지 위험을 경고합니다." } }, pe = { title: "사용 방법", step1: { title: "붙여넣기", description: "거래 글이나 URL을 복사해서 붙여넣으세요" }, step2: { title: "AI 분석", description: "AI가 30초 안에 언어, 사기 신호, 가격을 분석합니다" }, step3: { title: "결과 확인", description: "상세한 분석 결과와 안전 권장사항을 확인하세요" } }, he = { title: "거래 안전 분석", subtitle: "입력하신 정보를 AI가 분석한 결과입니다", notFound: "분석 결과를 찾을 수 없습니다", quickTitle: "분석 완료!", riskSignals: "위험 신호", cautions: "주의사항", safeIndicators: "안전 요소", detailsPreview: "상세 분석 결과", signupRequired: "가입하고 전체 정보 확인", signupMessage: "무료 계정을 만들어 상세한 AI 분석과 전문가 조언을 받아보세요", signupDescription: "무료 회원가입으로 전체 분석 결과와 AI 조언을 받으세요", signupButton: "무료 가입하기", signupToView: "가입하고 전체 분석 보기", whatToDo: "어떻게 대응할까요", translation: "번역 및 뉘앙스", translationTitle: "번역", nuanceTitle: "뉘앙스 설명", priceAnalysis: "가격 분석", marketPrice: "일반 시세", offeredPrice: "제시된 가격", priceAssessment: "가격 평가", priceWarnings: "가격 관련 경고", safetyChecklist: "안전 체크리스트", checklistDescription: "거래를 진행하기 전에 다음 항목을 확인하세요", recommendation: "종합 추천", expertAdvice: "전문가 조언", expertName: "K-pop 거래 전문가", riskLevel: { high: { title: "위험도 높음", message: "이 거래는 진행하지 않는 것을 권장합니다. 여러 위험 신호가 발견되었습니다." }, medium: { title: "신중하게 진행하세요", message: "몇 가지 의심스러운 점이 있습니다. 거래 전 신중하게 확인하세요." }, low: { title: "안전해 보입니다", message: "큰 위험 신호는 발견되지 않았지만, 항상 주의하세요!" } }, companionCta: { title: "이야기 나눌까요?", description: "마음속 이야기를 나눠보세요", button: "대화 시작하기" } }, ge = {
357
- hero: me,
358
- features: ue,
359
- howItWorks: pe,
360
- result: he
361
- }, fe = { title: "担心交易安全?", subtitle: "为全球K-pop粉丝提供的交易安全验证工具。AI在30秒内分析语言障碍、诈骗风险和价格合理性。", placeholder: `粘贴交易帖子文本或URL...
362
-
363
- 示例:
364
- 급처분 ㅠㅠ 공구 실패해서 양도해요
365
- BTS Jimin 小卡 무탈 DM
366
-
367
- 或:
368
- https://twitter.com/...`, advancedOptions: "高级选项(可选)", amountPlaceholder: "交易金额(USD)", checkSafety: "检查安全性", analyzing: "分析中...", analyzingDescription: "AI正在分析语言、诈骗信号和价格...", tryExample: "试试示例" }, ve = { title: "AI<1>同时分析3个方面</1>", translation: { title: "翻译 + 语气解读", description: "翻译韩语俚语和缩写,识别可疑表达。" }, scamDetection: { title: "诈骗信号检测", description: "检测预付款要求、账号年龄、缺少验证等风险模式。" }, priceAnalysis: { title: "价格合理性分析", description: "提供市场价格信息,警告价格过高风险。" } }, be = { title: "使用方法", step1: { title: "粘贴", description: "复制并粘贴交易帖子文本或URL" }, step2: { title: "AI分析", description: "AI在30秒内分析语言、诈骗信号和价格" }, step3: { title: "查看结果", description: "查看详细分析结果和安全建议" } }, xe = { title: "交易安全分析", subtitle: "基于您提供的信息进行AI分析的结果", notFound: "未找到分析结果", quickTitle: "分析完成!", riskSignals: "风险信号", cautions: "注意事项", safeIndicators: "安全要素", detailsPreview: "详细分析", signupRequired: "注册查看完整详情", signupMessage: "创建免费账户以获取详细的AI分析和专家建议", signupDescription: "免费注册获取完整分析结果和AI建议", signupButton: "免费注册", signupToView: "注册查看完整分析", whatToDo: "如何应对", translation: "翻译与语境", translationTitle: "翻译", nuanceTitle: "语境说明", priceAnalysis: "价格分析", marketPrice: "市场价格区间", offeredPrice: "报价", priceAssessment: "价格评估", priceWarnings: "价格警告", safetyChecklist: "安全检查清单", checklistDescription: "交易前请检查这些项目", recommendation: "综合建议", expertAdvice: "专家建议", expertName: "K-pop交易专家", riskLevel: { high: { title: "高风险", message: "建议不要进行此交易。检测到多个危险信号。" }, medium: { title: "谨慎进行", message: "检测到一些可疑迹象。交易前请仔细核实。" }, low: { title: "看起来安全", message: "未检测到重大危险信号,但请始终保持警惕!" } }, companionCta: { title: "想聊聊吗?", description: "与您的AI同伴分享您心中所想", button: "开始聊天" } }, we = {
369
- hero: fe,
370
- features: ve,
371
- howItWorks: be,
372
- result: xe
373
- }, m = "tradeSafety", Je = {
374
- en: J,
375
- es: ee,
376
- id: se,
377
- ja: de,
378
- ko: ge,
379
- zh: we
380
- };
381
- function x(e) {
382
- var t, i, n = "";
303
+ const U = /* @__PURE__ */ l.forwardRef(V);
304
+ function b(e) {
305
+ var r, a, n = "";
383
306
  if (typeof e == "string" || typeof e == "number") n += e;
384
307
  else if (typeof e == "object") if (Array.isArray(e)) {
385
- var d = e.length;
386
- for (t = 0; t < d; t++) e[t] && (i = x(e[t])) && (n && (n += " "), n += i);
387
- } else for (i in e) e[i] && (n && (n += " "), n += i);
308
+ var m = e.length;
309
+ for (r = 0; r < m; r++) e[r] && (a = b(e[r])) && (n && (n += " "), n += a);
310
+ } else for (a in e) e[a] && (n && (n += " "), n += a);
388
311
  return n;
389
312
  }
390
- function p() {
391
- for (var e, t, i = 0, n = "", d = arguments.length; i < d; i++) (e = arguments[i]) && (t = x(e)) && (n && (n += " "), n += t);
313
+ function h() {
314
+ for (var e, r, a = 0, n = "", m = arguments.length; a < m; a++) (e = arguments[a]) && (r = b(e)) && (n && (n += " "), n += r);
392
315
  return n;
393
316
  }
394
- const ye = {
317
+ const q = {
395
318
  error: "bg-error/10 border-error/30",
396
319
  warning: "bg-warning/10 border-warning/30",
397
320
  success: "bg-success/10 border-success/30"
398
- }, ke = {
321
+ }, P = {
399
322
  error: "text-error",
400
323
  warning: "text-warning",
401
324
  success: "text-success"
402
- }, Ae = {
403
- high: P,
404
- medium: h,
405
- low: L
325
+ }, K = {
326
+ high: j,
327
+ medium: g,
328
+ low: F
406
329
  };
407
- function f({
330
+ function p({
408
331
  signal: e,
409
- variant: t = "error"
332
+ variant: r = "error"
410
333
  }) {
411
- const { t: i } = o(m), n = Ae[e.severity];
412
- return /* @__PURE__ */ a("div", { className: p("card border-2 backdrop-blur-sm", ye[t]), children: /* @__PURE__ */ a("div", { className: "card-body", children: /* @__PURE__ */ r("div", { className: "flex items-start gap-4", children: [
413
- /* @__PURE__ */ a(n, { className: p("mt-1 size-8 shrink-0", ke[t]) }),
414
- /* @__PURE__ */ r("div", { className: "flex-1", children: [
415
- /* @__PURE__ */ a("h4", { className: "card-title text-xl", children: e.title }),
416
- /* @__PURE__ */ a("p", { className: "mt-2 text-neutral-content", children: e.description }),
417
- /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-base-100/50 p-4", children: [
418
- /* @__PURE__ */ r("p", { className: "mb-2 text-sm font-semibold", children: [
334
+ const { t: a } = o(d), n = K[e.severity];
335
+ return /* @__PURE__ */ t("div", { className: h("card border-2 backdrop-blur-sm", q[r]), children: /* @__PURE__ */ t("div", { className: "card-body", children: /* @__PURE__ */ i("div", { className: "flex items-start gap-4", children: [
336
+ /* @__PURE__ */ t(n, { className: h("mt-1 size-8 shrink-0", P[r]) }),
337
+ /* @__PURE__ */ i("div", { className: "flex-1", children: [
338
+ /* @__PURE__ */ t("h4", { className: "card-title text-xl", children: e.title }),
339
+ /* @__PURE__ */ t("p", { className: "mt-2 text-neutral-content", children: e.description }),
340
+ /* @__PURE__ */ i("div", { className: "mt-4 rounded-lg bg-base-100/50 p-4", children: [
341
+ /* @__PURE__ */ i("p", { className: "mb-2 text-sm font-semibold", children: [
419
342
  "💡 ",
420
- i("result.whatToDo")
343
+ a("result.whatToDo")
421
344
  ] }),
422
- /* @__PURE__ */ a("p", { className: "text-sm", children: e.what_to_do })
345
+ /* @__PURE__ */ t("p", { className: "text-sm", children: e.what_to_do })
423
346
  ] })
424
347
  ] })
425
348
  ] }) }) });
426
349
  }
427
- function Ne({ cautions: e }) {
428
- const { t } = o(m);
429
- return e.length === 0 ? null : /* @__PURE__ */ r("section", { children: [
430
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
431
- /* @__PURE__ */ a(h, { className: "size-10 text-warning" }),
432
- t("result.cautions")
350
+ function Q({ cautions: e }) {
351
+ const { t: r } = o(d);
352
+ return e.length === 0 ? null : /* @__PURE__ */ i("section", { children: [
353
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
354
+ /* @__PURE__ */ t(g, { className: "size-10 text-warning" }),
355
+ r("result.cautions")
433
356
  ] }),
434
- /* @__PURE__ */ a("div", { className: "space-y-4", children: e.map((i, n) => /* @__PURE__ */ a(
435
- c.div,
357
+ /* @__PURE__ */ t("div", { className: "space-y-4", children: e.map((a, n) => /* @__PURE__ */ t(
358
+ s.div,
436
359
  {
437
360
  initial: { x: -50, opacity: 0 },
438
361
  animate: { x: 0, opacity: 1 },
439
362
  transition: { delay: n * 0.1 },
440
363
  whileHover: { scale: 1.02, x: 10 },
441
- children: /* @__PURE__ */ a(f, { signal: i, variant: "warning" })
364
+ children: /* @__PURE__ */ t(p, { signal: a, variant: "warning" })
442
365
  },
443
366
  n
444
367
  )) })
445
368
  ] });
446
369
  }
447
- function Re() {
448
- const { t: e, i18n: t } = o(m), i = t.language;
449
- return /* @__PURE__ */ a("section", { className: "hero min-h-[30vh] rounded-3xl bg-primary text-primary-content", children: /* @__PURE__ */ a("div", { className: "hero-content text-center", children: /* @__PURE__ */ r("div", { children: [
450
- /* @__PURE__ */ a(k, { className: "mx-auto mb-6 size-20" }),
451
- /* @__PURE__ */ a("h3", { className: "mb-4 text-4xl font-bold", children: e("result.companionCta.title") }),
452
- /* @__PURE__ */ a("p", { className: "mb-8 max-w-2xl text-xl", children: e("result.companionCta.description") }),
453
- /* @__PURE__ */ a(v, { href: `/${i}/companions`, children: /* @__PURE__ */ a(
454
- c.button,
370
+ function W() {
371
+ const { t: e, i18n: r } = o(d), a = r.language;
372
+ return /* @__PURE__ */ t("section", { className: "hero min-h-[30vh] rounded-3xl bg-primary text-primary-content", children: /* @__PURE__ */ t("div", { className: "hero-content text-center", children: /* @__PURE__ */ i("div", { children: [
373
+ /* @__PURE__ */ t(y, { className: "mx-auto mb-6 size-20" }),
374
+ /* @__PURE__ */ t("h3", { className: "mb-4 text-4xl font-bold", children: e("result.companionCta.title") }),
375
+ /* @__PURE__ */ t("p", { className: "mb-8 max-w-2xl text-xl", children: e("result.companionCta.description") }),
376
+ /* @__PURE__ */ t(v, { href: `/${a}/companions`, children: /* @__PURE__ */ t(
377
+ s.button,
455
378
  {
456
379
  whileHover: { scale: 1.1 },
457
380
  whileTap: { scale: 0.95 },
@@ -461,177 +384,177 @@ function Re() {
461
384
  ) })
462
385
  ] }) }) });
463
386
  }
464
- function Se({ advice: e }) {
465
- const { t } = o(m);
466
- return /* @__PURE__ */ a(
467
- c.section,
387
+ function Y({ advice: e }) {
388
+ const { t: r } = o(d);
389
+ return /* @__PURE__ */ t(
390
+ s.section,
468
391
  {
469
392
  whileHover: { scale: 1.02 },
470
393
  className: "card bg-secondary text-secondary-content shadow-xl",
471
- children: /* @__PURE__ */ r("div", { className: "card-body", children: [
472
- /* @__PURE__ */ r("div", { className: "mb-6 flex items-center gap-4", children: [
473
- /* @__PURE__ */ a("div", { className: "avatar placeholder", children: /* @__PURE__ */ a("div", { className: "w-16 rounded-full bg-primary text-primary-content", children: /* @__PURE__ */ a(K, { className: "size-8" }) }) }),
474
- /* @__PURE__ */ r("div", { children: [
475
- /* @__PURE__ */ a("h3", { className: "text-2xl font-bold", children: t("result.expertAdvice") }),
476
- /* @__PURE__ */ a("p", { className: "opacity-80", children: t("result.expertName") })
394
+ children: /* @__PURE__ */ i("div", { className: "card-body", children: [
395
+ /* @__PURE__ */ i("div", { className: "mb-6 flex items-center gap-4", children: [
396
+ /* @__PURE__ */ t("div", { className: "avatar placeholder", children: /* @__PURE__ */ t("div", { className: "w-16 rounded-full bg-primary text-primary-content", children: /* @__PURE__ */ t(U, { className: "size-8" }) }) }),
397
+ /* @__PURE__ */ i("div", { children: [
398
+ /* @__PURE__ */ t("h3", { className: "text-2xl font-bold", children: r("result.expertAdvice") }),
399
+ /* @__PURE__ */ t("p", { className: "opacity-80", children: r("result.expertName") })
477
400
  ] })
478
401
  ] }),
479
- /* @__PURE__ */ a("div", { className: "prose max-w-none", children: /* @__PURE__ */ a("p", { className: "whitespace-pre-wrap text-lg", children: e }) })
402
+ /* @__PURE__ */ t("div", { className: "prose max-w-none", children: /* @__PURE__ */ t("p", { className: "whitespace-pre-wrap text-lg", children: e }) })
480
403
  ] })
481
404
  }
482
405
  );
483
406
  }
484
- function Ie({ data: e }) {
485
- const { t, i18n: i } = o(m);
486
- return e ? /* @__PURE__ */ r("section", { children: [
487
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
488
- /* @__PURE__ */ a(E, { className: "size-10 text-secondary" }),
489
- t("result.priceAnalysis")
407
+ function G({ data: e }) {
408
+ const { t: r, i18n: a } = o(d);
409
+ return e ? /* @__PURE__ */ i("section", { children: [
410
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
411
+ /* @__PURE__ */ t(M, { className: "size-10 text-secondary" }),
412
+ r("result.priceAnalysis")
490
413
  ] }),
491
- /* @__PURE__ */ a("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ r("div", { className: "card-body", children: [
492
- /* @__PURE__ */ r("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2", children: [
493
- e.market_price_range && /* @__PURE__ */ r("div", { children: [
494
- /* @__PURE__ */ a("h4", { className: "mb-2 text-lg font-semibold", children: t("result.marketPrice") }),
495
- /* @__PURE__ */ a("p", { className: "text-2xl font-bold", children: e.market_price_range })
414
+ /* @__PURE__ */ t("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ i("div", { className: "card-body", children: [
415
+ /* @__PURE__ */ i("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2", children: [
416
+ e.market_price_range && /* @__PURE__ */ i("div", { children: [
417
+ /* @__PURE__ */ t("h4", { className: "mb-2 text-lg font-semibold", children: r("result.marketPrice") }),
418
+ /* @__PURE__ */ t("p", { className: "text-2xl font-bold", children: e.market_price_range })
496
419
  ] }),
497
- e.offered_price && /* @__PURE__ */ r("div", { children: [
498
- /* @__PURE__ */ a("h4", { className: "mb-2 text-lg font-semibold", children: t("result.offeredPrice") }),
499
- /* @__PURE__ */ a("p", { className: "text-2xl font-bold text-primary", children: new Intl.NumberFormat(i.language, {
420
+ e.offered_price && /* @__PURE__ */ i("div", { children: [
421
+ /* @__PURE__ */ t("h4", { className: "mb-2 text-lg font-semibold", children: r("result.offeredPrice") }),
422
+ /* @__PURE__ */ t("p", { className: "text-2xl font-bold text-primary", children: new Intl.NumberFormat(a.language, {
500
423
  style: "currency",
501
424
  currency: e.currency || "USD"
502
425
  }).format(e.offered_price) })
503
426
  ] })
504
427
  ] }),
505
- /* @__PURE__ */ r("div", { className: "mt-6 rounded-lg bg-base-100 p-4", children: [
506
- /* @__PURE__ */ a("h4", { className: "mb-2 text-lg font-semibold", children: t("result.priceAssessment") }),
507
- /* @__PURE__ */ a("p", { className: "text-neutral-content", children: e.price_assessment })
428
+ /* @__PURE__ */ i("div", { className: "mt-6 rounded-lg bg-base-100 p-4", children: [
429
+ /* @__PURE__ */ t("h4", { className: "mb-2 text-lg font-semibold", children: r("result.priceAssessment") }),
430
+ /* @__PURE__ */ t("p", { className: "text-neutral-content", children: e.price_assessment })
508
431
  ] }),
509
- e.warnings.length > 0 && /* @__PURE__ */ r("div", { className: "mt-4", children: [
510
- /* @__PURE__ */ r("h4", { className: "mb-2 flex items-center gap-2 text-lg font-semibold text-warning", children: [
511
- /* @__PURE__ */ a(h, { className: "size-6" }),
512
- t("result.priceWarnings")
432
+ e.warnings.length > 0 && /* @__PURE__ */ i("div", { className: "mt-4", children: [
433
+ /* @__PURE__ */ i("h4", { className: "mb-2 flex items-center gap-2 text-lg font-semibold text-warning", children: [
434
+ /* @__PURE__ */ t(g, { className: "size-6" }),
435
+ r("result.priceWarnings")
513
436
  ] }),
514
- /* @__PURE__ */ a("ul", { className: "list-inside list-disc space-y-1", children: e.warnings.map((n, d) => /* @__PURE__ */ a("li", { className: "text-neutral-content", children: n }, d)) })
437
+ /* @__PURE__ */ t("ul", { className: "list-inside list-disc space-y-1", children: e.warnings.map((n, m) => /* @__PURE__ */ t("li", { className: "text-neutral-content", children: n }, m)) })
515
438
  ] })
516
439
  ] }) })
517
440
  ] }) : null;
518
441
  }
519
- function Te({
442
+ function J({
520
443
  recommendation: e,
521
- emotionalSupport: t
444
+ emotionalSupport: r
522
445
  }) {
523
- const { t: i } = o(m);
524
- return /* @__PURE__ */ r("section", { children: [
525
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
526
- /* @__PURE__ */ a(O, { className: "size-10 text-warning" }),
527
- i("result.recommendation")
446
+ const { t: a } = o(d);
447
+ return /* @__PURE__ */ i("section", { children: [
448
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
449
+ /* @__PURE__ */ t(L, { className: "size-10 text-warning" }),
450
+ a("result.recommendation")
528
451
  ] }),
529
- /* @__PURE__ */ a("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ r("div", { className: "card-body", children: [
530
- /* @__PURE__ */ a("div", { className: "prose max-w-none", children: /* @__PURE__ */ a("p", { className: "whitespace-pre-wrap text-lg text-neutral-content", children: e }) }),
531
- /* @__PURE__ */ a("div", { className: "divider" }),
532
- /* @__PURE__ */ a("div", { className: "rounded-lg bg-base-100 p-4", children: /* @__PURE__ */ r("p", { className: "flex items-center gap-2 text-lg font-medium", children: [
533
- /* @__PURE__ */ a(j, { className: "size-6 text-info" }),
452
+ /* @__PURE__ */ t("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ i("div", { className: "card-body", children: [
453
+ /* @__PURE__ */ t("div", { className: "prose max-w-none", children: /* @__PURE__ */ t("p", { className: "whitespace-pre-wrap text-lg text-neutral-content", children: e }) }),
454
+ /* @__PURE__ */ t("div", { className: "divider" }),
455
+ /* @__PURE__ */ t("div", { className: "rounded-lg bg-base-100 p-4", children: /* @__PURE__ */ i("p", { className: "flex items-center gap-2 text-lg font-medium", children: [
456
+ /* @__PURE__ */ t(O, { className: "size-6 text-info" }),
534
457
  " ",
535
- t
458
+ r
536
459
  ] }) })
537
460
  ] }) })
538
461
  ] });
539
462
  }
540
- function Ce(e) {
541
- return e >= 70 ? { level: "high", color: "error", Icon: b } : e >= 40 ? { level: "medium", color: "warning", Icon: h } : { level: "low", color: "success", Icon: N };
463
+ function X(e) {
464
+ return e >= 70 ? { level: "high", color: "error", Icon: x } : e >= 40 ? { level: "medium", color: "warning", Icon: g } : { level: "low", color: "success", Icon: _ };
542
465
  }
543
- function Ee({ score: e }) {
544
- const { t } = o(), i = Ce(e), { Icon: n } = i, d = {
466
+ function ee({ score: e }) {
467
+ const { t: r } = o(d), a = X(e), { Icon: n } = a, m = {
545
468
  error: "text-error",
546
469
  warning: "text-warning",
547
470
  success: "text-success"
548
471
  };
549
- return /* @__PURE__ */ a("div", { className: "hero min-h-[40vh] rounded-3xl bg-base-200", children: /* @__PURE__ */ a("div", { className: "hero-content text-center", children: /* @__PURE__ */ r("div", { children: [
550
- /* @__PURE__ */ a("div", { className: "mb-4", children: /* @__PURE__ */ a(n, { className: p("size-32", d[i.color]) }) }),
551
- /* @__PURE__ */ a("h2", { className: "mb-4 text-5xl font-bold", children: t(`page.tradeSafety.result.riskLevel.${i.level}.title`) }),
552
- /* @__PURE__ */ a("div", { className: "mx-auto w-64", children: /* @__PURE__ */ a(
472
+ return /* @__PURE__ */ t("div", { className: "hero min-h-[40vh] rounded-3xl bg-base-200", children: /* @__PURE__ */ t("div", { className: "hero-content text-center", children: /* @__PURE__ */ i("div", { children: [
473
+ /* @__PURE__ */ t("div", { className: "mb-4", children: /* @__PURE__ */ t(n, { className: h("size-32", m[a.color]) }) }),
474
+ /* @__PURE__ */ t("h2", { className: "mb-4 text-5xl font-bold", children: r(`result.riskLevel.${a.level}.title`) }),
475
+ /* @__PURE__ */ t("div", { className: "mx-auto w-64", children: /* @__PURE__ */ t(
553
476
  "div",
554
477
  {
555
- className: p("radial-progress", d[i.color]),
478
+ className: h("radial-progress", m[a.color]),
556
479
  style: {
557
480
  "--value": e,
558
481
  "--size": "12rem",
559
482
  "--thickness": "1rem"
560
483
  },
561
484
  role: "progressbar",
562
- children: /* @__PURE__ */ a("span", { className: "text-5xl font-bold", children: e })
485
+ children: /* @__PURE__ */ t("span", { className: "text-5xl font-bold", children: e })
563
486
  }
564
487
  ) }),
565
- /* @__PURE__ */ a("p", { className: "mt-6 max-w-lg text-xl text-neutral-content", children: t(`page.tradeSafety.result.riskLevel.${i.level}.message`) })
488
+ /* @__PURE__ */ t("p", { className: "mt-6 max-w-lg text-xl text-neutral-content", children: r(`result.riskLevel.${a.level}.message`) })
566
489
  ] }) }) });
567
490
  }
568
- function De({ signals: e }) {
569
- const { t } = o(m);
570
- return e.length === 0 ? null : /* @__PURE__ */ r("section", { children: [
571
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
572
- /* @__PURE__ */ a(b, { className: "size-10 text-error" }),
573
- t("result.riskSignals")
491
+ function te({ signals: e }) {
492
+ const { t: r } = o(d);
493
+ return e.length === 0 ? null : /* @__PURE__ */ i("section", { children: [
494
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
495
+ /* @__PURE__ */ t(x, { className: "size-10 text-error" }),
496
+ r("result.riskSignals")
574
497
  ] }),
575
- /* @__PURE__ */ a("div", { className: "space-y-4", children: e.map((i, n) => /* @__PURE__ */ a(
576
- c.div,
498
+ /* @__PURE__ */ t("div", { className: "space-y-4", children: e.map((a, n) => /* @__PURE__ */ t(
499
+ s.div,
577
500
  {
578
501
  initial: { x: -50, opacity: 0 },
579
502
  animate: { x: 0, opacity: 1 },
580
503
  transition: { delay: n * 0.1 },
581
504
  whileHover: { scale: 1.02, x: 10 },
582
- children: /* @__PURE__ */ a(f, { signal: i, variant: "error" })
505
+ children: /* @__PURE__ */ t(p, { signal: a, variant: "error" })
583
506
  },
584
507
  n
585
508
  )) })
586
509
  ] });
587
510
  }
588
- function Pe({
511
+ function re({
589
512
  indicators: e
590
513
  }) {
591
- const { t } = o(m);
592
- return e.length === 0 ? null : /* @__PURE__ */ r("section", { children: [
593
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
594
- /* @__PURE__ */ a(S, { className: "size-10 text-success" }),
595
- t("result.safeIndicators")
514
+ const { t: r } = o(d);
515
+ return e.length === 0 ? null : /* @__PURE__ */ i("section", { children: [
516
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
517
+ /* @__PURE__ */ t(k, { className: "size-10 text-success" }),
518
+ r("result.safeIndicators")
596
519
  ] }),
597
- /* @__PURE__ */ a("div", { className: "space-y-4", children: e.map((i, n) => /* @__PURE__ */ a(
598
- c.div,
520
+ /* @__PURE__ */ t("div", { className: "space-y-4", children: e.map((a, n) => /* @__PURE__ */ t(
521
+ s.div,
599
522
  {
600
523
  initial: { x: -50, opacity: 0 },
601
524
  animate: { x: 0, opacity: 1 },
602
525
  transition: { delay: n * 0.1 },
603
526
  whileHover: { scale: 1.02, x: 10 },
604
- children: /* @__PURE__ */ a(f, { signal: i, variant: "success" })
527
+ children: /* @__PURE__ */ t(p, { signal: a, variant: "success" })
605
528
  },
606
529
  n
607
530
  )) })
608
531
  ] });
609
532
  }
610
- function _e({ items: e }) {
611
- const { t } = o(m);
612
- return e.length === 0 ? null : /* @__PURE__ */ r("section", { children: [
613
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
614
- /* @__PURE__ */ a(T, { className: "size-10 text-primary" }),
615
- t("result.safetyChecklist")
533
+ function ae({ items: e }) {
534
+ const { t: r } = o(d);
535
+ return e.length === 0 ? null : /* @__PURE__ */ i("section", { children: [
536
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
537
+ /* @__PURE__ */ t(S, { className: "size-10 text-primary" }),
538
+ r("result.safetyChecklist")
616
539
  ] }),
617
- /* @__PURE__ */ a("div", { className: "card border-2 border-primary/30 bg-base-200", children: /* @__PURE__ */ r("div", { className: "card-body", children: [
618
- /* @__PURE__ */ a("p", { className: "mb-6 text-lg text-neutral-content", children: t("result.checklistDescription") }),
619
- /* @__PURE__ */ a("div", { className: "space-y-3", children: e.map((i, n) => /* @__PURE__ */ r(
620
- c.label,
540
+ /* @__PURE__ */ t("div", { className: "card border-2 border-primary/30 bg-base-200", children: /* @__PURE__ */ i("div", { className: "card-body", children: [
541
+ /* @__PURE__ */ t("p", { className: "mb-6 text-lg text-neutral-content", children: r("result.checklistDescription") }),
542
+ /* @__PURE__ */ t("div", { className: "space-y-3", children: e.map((a, n) => /* @__PURE__ */ i(
543
+ s.label,
621
544
  {
622
545
  initial: { x: -20, opacity: 0 },
623
546
  animate: { x: 0, opacity: 1 },
624
547
  transition: { delay: n * 0.08 },
625
548
  className: "flex cursor-pointer items-start gap-3 rounded-lg p-3 hover:bg-base-100/30",
626
549
  children: [
627
- /* @__PURE__ */ a(
550
+ /* @__PURE__ */ t(
628
551
  "input",
629
552
  {
630
553
  type: "checkbox",
631
554
  className: "checkbox-primary checkbox mt-1"
632
555
  }
633
556
  ),
634
- /* @__PURE__ */ a("span", { className: "text-lg", children: i })
557
+ /* @__PURE__ */ t("span", { className: "text-lg", children: a })
635
558
  ]
636
559
  },
637
560
  n
@@ -639,24 +562,24 @@ function _e({ items: e }) {
639
562
  ] }) })
640
563
  ] });
641
564
  }
642
- function Me({
565
+ function ne({
643
566
  translation: e,
644
- nuance: t
567
+ nuance: r
645
568
  }) {
646
- const { t: i } = o(m);
647
- return !e && !t ? null : /* @__PURE__ */ r("section", { children: [
648
- /* @__PURE__ */ r("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
649
- /* @__PURE__ */ a(Z, { className: "size-10 text-primary" }),
650
- i("result.translation")
569
+ const { t: a } = o(d);
570
+ return !e && !r ? null : /* @__PURE__ */ i("section", { children: [
571
+ /* @__PURE__ */ i("h3", { className: "mb-6 flex items-center gap-3 text-3xl font-bold", children: [
572
+ /* @__PURE__ */ t(T, { className: "size-10 text-primary" }),
573
+ a("result.translation")
651
574
  ] }),
652
- /* @__PURE__ */ a("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ r("div", { className: "card-body", children: [
653
- e && /* @__PURE__ */ r("div", { className: "mb-4", children: [
654
- /* @__PURE__ */ a("h4", { className: "mb-2 text-lg font-semibold", children: i("result.translationTitle") }),
655
- /* @__PURE__ */ a("p", { className: "whitespace-pre-wrap text-neutral-content", children: e })
575
+ /* @__PURE__ */ t("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ i("div", { className: "card-body", children: [
576
+ e && /* @__PURE__ */ i("div", { className: "mb-4", children: [
577
+ /* @__PURE__ */ t("h4", { className: "mb-2 text-lg font-semibold", children: a("result.translationTitle") }),
578
+ /* @__PURE__ */ t("p", { className: "whitespace-pre-wrap text-neutral-content", children: e })
656
579
  ] }),
657
- t && /* @__PURE__ */ r("div", { children: [
658
- /* @__PURE__ */ a("h4", { className: "mb-2 text-lg font-semibold", children: i("result.nuanceTitle") }),
659
- /* @__PURE__ */ a("p", { className: "whitespace-pre-wrap text-neutral-content", children: t })
580
+ r && /* @__PURE__ */ i("div", { children: [
581
+ /* @__PURE__ */ t("h4", { className: "mb-2 text-lg font-semibold", children: a("result.nuanceTitle") }),
582
+ /* @__PURE__ */ t("p", { className: "whitespace-pre-wrap text-neutral-content", children: r })
660
583
  ] })
661
584
  ] }) })
662
585
  ] });
@@ -668,143 +591,143 @@ const u = {
668
591
  opacity: 1,
669
592
  transition: { duration: 0.6 }
670
593
  }
671
- }, je = {
594
+ }, le = {
672
595
  animate: {
673
596
  transition: {
674
597
  staggerChildren: 0.15
675
598
  }
676
599
  }
677
600
  };
678
- function Ge({
601
+ function we({
679
602
  analysis: e,
680
- expertAdvice: t,
681
- showCompanionCta: i = !1
603
+ expertAdvice: r,
604
+ showCompanionCta: a = !1
682
605
  }) {
683
- return /* @__PURE__ */ r(
684
- c.div,
606
+ return /* @__PURE__ */ i(
607
+ s.div,
685
608
  {
686
- variants: je,
609
+ variants: le,
687
610
  initial: "initial",
688
611
  animate: "animate",
689
612
  className: "mx-auto max-w-5xl space-y-12",
690
613
  children: [
691
- /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Ee, { score: e.risk_score }) }),
692
- (e.translation || e.nuance_explanation) && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(
693
- Me,
614
+ /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(ee, { score: e.risk_score }) }),
615
+ (e.translation || e.nuance_explanation) && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(
616
+ ne,
694
617
  {
695
618
  translation: e.translation,
696
619
  nuance: e.nuance_explanation
697
620
  }
698
621
  ) }),
699
- e.risk_signals.length > 0 && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(De, { signals: e.risk_signals }) }),
700
- e.cautions.length > 0 && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Ne, { cautions: e.cautions }) }),
701
- e.safe_indicators.length > 0 && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Pe, { indicators: e.safe_indicators }) }),
702
- e.price_analysis && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Ie, { data: e.price_analysis }) }),
703
- e.safety_checklist.length > 0 && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(_e, { items: e.safety_checklist }) }),
704
- t && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Se, { advice: t }) }),
705
- /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(
706
- Te,
622
+ e.risk_signals.length > 0 && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(te, { signals: e.risk_signals }) }),
623
+ e.cautions.length > 0 && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(Q, { cautions: e.cautions }) }),
624
+ e.safe_indicators.length > 0 && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(re, { indicators: e.safe_indicators }) }),
625
+ e.price_analysis && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(G, { data: e.price_analysis }) }),
626
+ e.safety_checklist.length > 0 && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(ae, { items: e.safety_checklist }) }),
627
+ r && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(Y, { advice: r }) }),
628
+ /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(
629
+ J,
707
630
  {
708
631
  recommendation: e.recommendation,
709
632
  emotionalSupport: e.emotional_support
710
633
  }
711
634
  ) }),
712
- i && /* @__PURE__ */ a(c.div, { variants: u, children: /* @__PURE__ */ a(Re, {}) })
635
+ a && /* @__PURE__ */ t(s.div, { variants: u, children: /* @__PURE__ */ t(W, {}) })
713
636
  ]
714
637
  }
715
638
  );
716
639
  }
717
- function Qe({
640
+ function Ne({
718
641
  summary: e,
719
- checkId: t
642
+ checkId: r
720
643
  }) {
721
- const { t: i, i18n: n } = o(m), d = n.language;
722
- return /* @__PURE__ */ r("div", { className: "mx-auto max-w-2xl", children: [
723
- /* @__PURE__ */ a("h1", { className: "mb-8 text-center text-3xl font-bold", children: i("result.title") }),
724
- /* @__PURE__ */ r("div", { className: "mb-8 grid grid-cols-1 gap-4 md:grid-cols-3", children: [
725
- /* @__PURE__ */ a("div", { className: "card bg-error/10", children: /* @__PURE__ */ r("div", { className: "card-body items-center text-center", children: [
726
- /* @__PURE__ */ a("h3", { className: "text-4xl font-bold text-error", children: e.risk_signals_count }),
727
- /* @__PURE__ */ a("p", { className: "text-sm", children: i("result.riskSignals") })
644
+ const { t: a, i18n: n } = o(d), m = n.language;
645
+ return /* @__PURE__ */ i("div", { className: "mx-auto max-w-2xl", children: [
646
+ /* @__PURE__ */ t("h1", { className: "mb-8 text-center text-3xl font-bold", children: a("result.title") }),
647
+ /* @__PURE__ */ i("div", { className: "mb-8 grid grid-cols-1 gap-4 md:grid-cols-3", children: [
648
+ /* @__PURE__ */ t("div", { className: "card bg-error/10", children: /* @__PURE__ */ i("div", { className: "card-body items-center text-center", children: [
649
+ /* @__PURE__ */ t("h3", { className: "text-4xl font-bold text-error", children: e.risk_signals_count }),
650
+ /* @__PURE__ */ t("p", { className: "text-sm", children: a("result.riskSignals") })
728
651
  ] }) }),
729
- /* @__PURE__ */ a("div", { className: "card bg-warning/10", children: /* @__PURE__ */ r("div", { className: "card-body items-center text-center", children: [
730
- /* @__PURE__ */ a("h3", { className: "text-4xl font-bold text-warning", children: e.cautions_count }),
731
- /* @__PURE__ */ a("p", { className: "text-sm", children: i("result.cautions") })
652
+ /* @__PURE__ */ t("div", { className: "card bg-warning/10", children: /* @__PURE__ */ i("div", { className: "card-body items-center text-center", children: [
653
+ /* @__PURE__ */ t("h3", { className: "text-4xl font-bold text-warning", children: e.cautions_count }),
654
+ /* @__PURE__ */ t("p", { className: "text-sm", children: a("result.cautions") })
732
655
  ] }) }),
733
- /* @__PURE__ */ a("div", { className: "card bg-success/10", children: /* @__PURE__ */ r("div", { className: "card-body items-center text-center", children: [
734
- /* @__PURE__ */ a("h3", { className: "text-4xl font-bold text-success", children: e.safe_indicators_count }),
735
- /* @__PURE__ */ a("p", { className: "text-sm", children: i("result.safeIndicators") })
656
+ /* @__PURE__ */ t("div", { className: "card bg-success/10", children: /* @__PURE__ */ i("div", { className: "card-body items-center text-center", children: [
657
+ /* @__PURE__ */ t("h3", { className: "text-4xl font-bold text-success", children: e.safe_indicators_count }),
658
+ /* @__PURE__ */ t("p", { className: "text-sm", children: a("result.safeIndicators") })
736
659
  ] }) })
737
660
  ] }),
738
- /* @__PURE__ */ a("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ r("div", { className: "card-body items-center text-center", children: [
739
- /* @__PURE__ */ a("h2", { className: "card-title text-2xl", children: i("result.signupRequired") }),
740
- /* @__PURE__ */ a("p", { className: "mb-4 text-neutral-content", children: i("result.signupMessage") }),
741
- /* @__PURE__ */ a(
661
+ /* @__PURE__ */ t("div", { className: "card bg-base-200 shadow-xl", children: /* @__PURE__ */ i("div", { className: "card-body items-center text-center", children: [
662
+ /* @__PURE__ */ t("h2", { className: "card-title text-2xl", children: a("result.signupRequired") }),
663
+ /* @__PURE__ */ t("p", { className: "mb-4 text-neutral-content", children: a("result.signupMessage") }),
664
+ /* @__PURE__ */ t(
742
665
  v,
743
666
  {
744
- href: `/${d}/login?callbackUrl=${encodeURIComponent(`/${d}/trade-safety/result/${t}`)}`,
667
+ href: `/${m}/login?callbackUrl=${encodeURIComponent(`/${m}/trade-safety/result/${r}`)}`,
745
668
  className: "btn btn-primary",
746
- children: i("login")
669
+ children: a("login")
747
670
  }
748
671
  )
749
672
  ] }) })
750
673
  ] });
751
674
  }
752
- const g = l.object({
753
- category: l.enum(["payment", "seller", "platform", "price", "content"]),
754
- severity: l.enum(["high", "medium", "low"]),
755
- title: l.string(),
756
- description: l.string(),
757
- what_to_do: l.string()
758
- }), ze = l.object({
759
- market_price_range: l.string().nullish(),
760
- offered_price: l.number().nullish(),
761
- currency: l.string().nullish(),
762
- price_assessment: l.string(),
763
- warnings: l.array(l.string())
764
- }), Le = l.object({
765
- translation: l.string().nullish(),
766
- nuance_explanation: l.string().nullish(),
767
- risk_signals: l.array(g),
768
- cautions: l.array(g),
769
- safe_indicators: l.array(g),
770
- price_analysis: ze,
771
- safety_checklist: l.array(l.string()),
772
- risk_score: l.number(),
773
- recommendation: l.string(),
774
- emotional_support: l.string()
775
- }), $e = l.object({
776
- risk_signals_count: l.number(),
777
- cautions_count: l.number(),
778
- safe_indicators_count: l.number()
779
- }), Ze = l.object({
780
- id: l.string(),
781
- user_id: l.string().nullish(),
782
- input_text: l.string(),
783
- llm_analysis: Le,
784
- risk_score: l.number(),
785
- expert_advice: l.string().nullish(),
786
- expert_reviewed: l.boolean(),
787
- expert_reviewed_at: l.string().nullish(),
788
- expert_reviewed_by: l.string().nullish(),
789
- created_at: l.string(),
790
- updated_at: l.string()
791
- }), Be = l.union([
792
- Ze,
793
- l.object({
794
- id: l.string(),
795
- quick_summary: $e,
796
- signup_required: l.literal(!0)
675
+ const f = c.object({
676
+ category: c.enum(["payment", "seller", "platform", "price", "content"]),
677
+ severity: c.enum(["high", "medium", "low"]),
678
+ title: c.string(),
679
+ description: c.string(),
680
+ what_to_do: c.string()
681
+ }), ie = c.object({
682
+ market_price_range: c.string().nullish(),
683
+ offered_price: c.number().nullish(),
684
+ currency: c.string().nullish(),
685
+ price_assessment: c.string(),
686
+ warnings: c.array(c.string())
687
+ }), ce = c.object({
688
+ translation: c.string().nullish(),
689
+ nuance_explanation: c.string().nullish(),
690
+ risk_signals: c.array(f),
691
+ cautions: c.array(f),
692
+ safe_indicators: c.array(f),
693
+ price_analysis: ie,
694
+ safety_checklist: c.array(c.string()),
695
+ risk_score: c.number(),
696
+ recommendation: c.string(),
697
+ emotional_support: c.string()
698
+ }), se = c.object({
699
+ risk_signals_count: c.number(),
700
+ cautions_count: c.number(),
701
+ safe_indicators_count: c.number()
702
+ }), oe = c.object({
703
+ id: c.string(),
704
+ user_id: c.string().nullish(),
705
+ input_text: c.string(),
706
+ llm_analysis: ce,
707
+ risk_score: c.number(),
708
+ expert_advice: c.string().nullish(),
709
+ expert_reviewed: c.boolean(),
710
+ expert_reviewed_at: c.string().nullish(),
711
+ expert_reviewed_by: c.string().nullish(),
712
+ created_at: c.string(),
713
+ updated_at: c.string()
714
+ }), de = c.union([
715
+ oe,
716
+ c.object({
717
+ id: c.string(),
718
+ quick_summary: se,
719
+ signup_required: c.literal(!0)
797
720
  })
798
721
  ]);
799
- class Ye extends w {
722
+ class ye extends w {
800
723
  constructor() {
801
724
  super(...arguments), this.resource = "trade-safety";
802
725
  }
803
726
  getDataSchema() {
804
- return Be;
727
+ return de;
805
728
  }
806
729
  }
807
- const Xe = {
730
+ const Re = {
808
731
  high: 70,
809
732
  // >= 70: High risk (red)
810
733
  medium: 40
@@ -812,12 +735,12 @@ const Xe = {
812
735
  // < 40: Low risk (green)
813
736
  };
814
737
  export {
815
- Ge as DetailedResult,
816
- Qe as QuickResultTeaser,
817
- Xe as RISK_SCORE_THRESHOLDS,
818
- f as RiskSignalCard,
819
- m as TRADE_SAFETY_NS,
820
- Ye as TradeSafetyRepository,
821
- Je as tradeSafetyTranslations
738
+ we as DetailedResult,
739
+ Ne as QuickResultTeaser,
740
+ Re as RISK_SCORE_THRESHOLDS,
741
+ p as RiskSignalCard,
742
+ d as TRADE_SAFETY_NS,
743
+ ye as TradeSafetyRepository,
744
+ ke as tradeSafetyTranslations
822
745
  };
823
746
  //# sourceMappingURL=index.mjs.map