@enyxs/wikex-components 0.11.46 → 0.11.47

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/partner.js CHANGED
@@ -40,6 +40,7 @@ module.exports = __toCommonJS(partner_exports);
40
40
  var import_react2 = require("react");
41
41
 
42
42
  // src/shared/element-state.ts
43
+ var CMS_EMPTY_IMAGE = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'/%3E";
43
44
  var CMS_ELEMENTS_FIELD = "__cmsElements";
44
45
  var CMS_LIST_MARKERS = ["disc", "circle", "square", "decimal", "lower-alpha", "lower-roman", "accent-triangle", "accent-disc", "accent-circle", "accent-square", "accent-decimal"];
45
46
  function cmsListMarkerType(marker) {
@@ -80,6 +81,28 @@ function parseCmsElements(value) {
80
81
  return result;
81
82
  }
82
83
 
84
+ // src/shared/responsive-layout.ts
85
+ function object(value) {
86
+ try {
87
+ const parsed = typeof value === "string" ? JSON.parse(value) : value;
88
+ return parsed && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {};
89
+ } catch {
90
+ return {};
91
+ }
92
+ }
93
+ function cmsLayoutHash(value) {
94
+ let a = 2166136261, b = 5381;
95
+ for (let i = 0; i < value.length; i++) {
96
+ a = Math.imul(a ^ value.charCodeAt(i), 16777619);
97
+ b = Math.imul(b, 33) ^ value.charCodeAt(i);
98
+ }
99
+ return `${(a >>> 0).toString(36)}${(b >>> 0).toString(36)}`;
100
+ }
101
+ function cmsTextLayoutId(value) {
102
+ const profiles = object(value).__responsive;
103
+ return profiles && typeof profiles === "object" ? `r${cmsLayoutHash(JSON.stringify(profiles))}` : void 0;
104
+ }
105
+
83
106
  // src/shared/rich-text.tsx
84
107
  var import_react = require("react");
85
108
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -1210,13 +1233,91 @@ partnerFields.push(
1210
1233
  );
1211
1234
  partnerDefaults["vi.partner.hero.policyButton"] = "T\xECm hi\u1EC3u ch\xEDnh s\xE1ch";
1212
1235
  partnerDefaults["vi.partner.hero.registerButton"] = "\u0110\u0103ng k\xFD tr\u1EDF th\xE0nh IB";
1236
+ var brokerFormCopy = {
1237
+ "brokerTitle": [
1238
+ "Tr\u1EDF th\xE0nh m\xF4i gi\u1EDBi",
1239
+ "Become a broker"
1240
+ ],
1241
+ "accountLabel": [
1242
+ "T\xE0i kho\u1EA3n \u0111\u0103ng nh\u1EADp",
1243
+ "Login account"
1244
+ ],
1245
+ "accountPlaceholder": [
1246
+ "Nh\u1EADp t\xEAn t\xE0i kho\u1EA3n",
1247
+ "Enter username"
1248
+ ],
1249
+ "identityLabel": [
1250
+ "S\u1ED1 CCCD",
1251
+ "ID number"
1252
+ ],
1253
+ "identityPlaceholder": [
1254
+ "Nh\u1EADp s\u1ED1 CCCD",
1255
+ "Enter ID number"
1256
+ ],
1257
+ "issueDateLabel": [
1258
+ "Ng\xE0y c\u1EA5p",
1259
+ "Issue date"
1260
+ ],
1261
+ "issueDatePlaceholder": [
1262
+ "DD/MM/YYYY",
1263
+ "DD/MM/YYYY"
1264
+ ],
1265
+ "issuePlaceLabel": [
1266
+ "N\u01A1i c\u1EA5p",
1267
+ "Place of issue"
1268
+ ],
1269
+ "issuePlacePlaceholder": [
1270
+ "Ch\u1ECDn n\u01A1i c\u1EA5p",
1271
+ "Enter place of issue"
1272
+ ],
1273
+ "provinceLabel": [
1274
+ "T\u1EC9nh / Th\xE0nh Ph\u1ED1",
1275
+ "Province / City"
1276
+ ],
1277
+ "provincePlaceholder": [
1278
+ "Ch\u1ECDn T\u1EC9nh / Th\xE0nh Ph\u1ED1",
1279
+ "Select province / city"
1280
+ ],
1281
+ "districtLabel": [
1282
+ "Qu\u1EADn / Huy\u1EC7n",
1283
+ "District"
1284
+ ],
1285
+ "districtPlaceholder": [
1286
+ "Ch\u1ECDn Qu\u1EADn / Huy\u1EC7n",
1287
+ "Select district"
1288
+ ],
1289
+ "addressLabel": [
1290
+ "\u0110\u1ECBa ch\u1EC9 c\u1EE5 th\u1EC3",
1291
+ "Street address"
1292
+ ],
1293
+ "addressPlaceholder": [
1294
+ "Nh\u1EADp \u0111\u1ECBa ch\u1EC9 c\u1EE5 th\u1EC3",
1295
+ "Enter street address"
1296
+ ],
1297
+ "frontTitle": [
1298
+ "CCCD m\u1EB7t tr\u01B0\u1EDBc",
1299
+ "Front of ID"
1300
+ ],
1301
+ "backTitle": [
1302
+ "CCCD m\u1EB7t sau",
1303
+ "Back of ID"
1304
+ ],
1305
+ "uploadHint": [
1306
+ "Dung l\u01B0\u1EE3ng t\u1ED1i \u0111a 5MB.",
1307
+ "Maximum file size 5MB."
1308
+ ]
1309
+ };
1310
+ for (const [key, [vi]] of Object.entries(brokerFormCopy)) {
1311
+ partnerFields.push({ key: `vi.partner.registration.${key}`, label: vi, type: "text", group: "N\u1ED9i dung" });
1312
+ partnerDefaults[`vi.partner.registration.${key}`] = vi;
1313
+ }
1213
1314
  var vietnameseFields = partnerFields.filter((field) => field.key.startsWith("vi.partner."));
1214
1315
  for (const field of vietnameseFields) {
1215
1316
  field.group = "Ti\u1EBFng Vi\u1EC7t";
1216
1317
  const key = field.key.replace(/^vi\./, "en.");
1217
1318
  const shortKey = field.key.slice("vi.partner.".length);
1218
1319
  partnerFields.push({ ...field, key, group: "English", label: shortKey });
1219
- partnerDefaults[key] = partnerEnglish[shortKey];
1320
+ partnerDefaults[key] = partnerEnglish[shortKey] ?? brokerFormCopy[shortKey.replace(/^registration\./, "")]?.[1] ?? partnerDefaults[field.key];
1220
1321
  }
1221
1322
 
1222
1323
  // src/wikex/partner/editing.tsx
@@ -1263,6 +1364,7 @@ function PartnerText({ as = "span", field, children, style, ...props }) {
1263
1364
  key: String(value ?? ""),
1264
1365
  "data-cms-text-field": key,
1265
1366
  "data-cms-text-rendered": "true",
1367
+ "data-cms-text-layout": cmsTextLayoutId(layoutValue),
1266
1368
  "data-cms-text-sized": layout.width || layout.height ? "true" : void 0,
1267
1369
  style: {
1268
1370
  ...style,
@@ -1312,8 +1414,8 @@ function PartnerTextList({ field, type, children }) {
1312
1414
  }
1313
1415
  function PartnerAddedElements({ field }) {
1314
1416
  const context = usePartnerEditing();
1315
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: context?.state.insertions.filter((item) => item.anchor === field).map((item) => item.kind === "image" ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { "data-cms-image-container": item.field, style: { position: "relative" }, children: [
1316
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PartnerImage, { field: item.field, src: String(context.content[item.field] ?? ""), alt: "", style: { display: "block", width: "100%", height: "auto", objectFit: "contain" } }),
1417
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: context?.state.insertions.filter((item) => item.anchor === field).map((item) => item.kind === "image" ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { "data-cms-image-container": item.field, style: { position: "relative", width: context.content[item.field] ? "fit-content" : 320, maxWidth: "100%", minHeight: context.content[item.field] ? void 0 : 120 }, children: [
1418
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PartnerImage, { field: item.field, src: String(context.content[item.field] || CMS_EMPTY_IMAGE), alt: "", style: { display: "block", width: "auto", maxWidth: "100%", height: "auto", maxHeight: "min(70vh, 480px)", objectFit: "contain" } }),
1317
1419
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PartnerImageAction, { field: item.field })
1318
1420
  ] }, item.field) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PartnerText, { as: "p", field: item.field, children: context.content[item.field] ?? "" }, item.field)) });
1319
1421
  }
@@ -1403,7 +1505,7 @@ var InputAdornment = import_styled_components.default.span.withConfig({
1403
1505
 
1404
1506
  // src/wikex/partner/style.ts
1405
1507
  var PartnerMain = import_styled_components2.default.main.withConfig({
1406
- componentId: "sc-84d108fe-0"
1508
+ componentId: "sc-2be40048-0"
1407
1509
  })([
1408
1510
  `.ib-image-action{position:absolute;inset:0;pointer-events:none;z-index:30;}&[data-partner-editable] [data-cms-image-field]:hover{outline:2px solid #00a76f;outline-offset:2px;}&[data-partner-editable] [data-cms-text-managed]:hover{outline:1px dashed #00a76f;outline-offset:2px;}&,& *,& *::before,& *::after{box-sizing:border-box;}font-size:16px;font-weight:400;line-height:normal;letter-spacing:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;img{max-width:none;vertical-align:baseline;}h1,h2,h3,p{font-family:inherit;letter-spacing:normal;}button,input,textarea,select{font:inherit;}a{color:inherit;text-decoration:none;}.wikex-cms-image-action{position:absolute;right:12px;bottom:12px;z-index:30;pointer-events:auto;cursor:pointer;padding:6px 10px;border:1px solid #ffffffb8;border-radius:6px;background:#fffffff0;color:#17211e;box-shadow:0 6px 18px #0f172a2e;font:700 12px/18px Arial,sans-serif;}.wikex-cms-image-action:hover{background:#fff;}[data-cms-list-id]{margin:0;padding-inline-start:1.5em;}[data-cms-list-id] > li{display:list-item;}[data-cms-list-marker^="accent-"] > li::marker{color:#f9bb3a;}[data-cms-list-marker="accent-triangle"] > li::marker{content:"\u25B8 ";}color:#05080f;background:#fff;font-family:var(--font-inter),Arial,sans-serif;overflow:clip;h1,h2,h3,p{margin:0;}.ib-mobile-only,.ib-mobile-benefit-art{display:none;}h2{font-size:40px;font-weight:700;line-height:48px;}h3{font-size:20px;font-weight:600;line-height:26px;}button,input,textarea{font-family:inherit;}section{position:relative;padding:120px 24px;scroll-margin-top:80px;}.ib-container{position:relative;width:100%;max-width:1280px;margin-inline:auto;}.ib-tag{display:flex;align-items:center;gap:12px;color:#f2a70e;font-size:16px;font-weight:600;line-height:20px;margin-bottom:16px;}.ib-tag img{flex-shrink:0;}.ib-subtitle{margin-top:16px;font-size:20px;font-weight:500;line-height:26px;color:#4e5560;}.ib-hero{overflow:hidden;padding-top:120px;padding-bottom:50px;height:663px;color:white;background:#181513;}.ib-hero::before,.ib-hero::after{position:absolute;inset:0;content:'';pointer-events:none;background:linear-gradient(150.4503deg,rgb(249 187 58 / 30%),rgb(24 21 19 / 0%) 31.763%);}.ib-hero::after{transform:rotate(180deg);}.ib-hero-light{position:absolute;pointer-events:none;mix-blend-mode:plus-lighter;opacity:.6;transform:scaleY(-1) rotate(-179.1deg);}.ib-hero-light--large{left:-380px;top:-396px;}.ib-hero-light--small{left:-150px;top:-177px;}.ib-hero .ib-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;z-index:1;}.ib-hero-copy{position:relative;z-index:2;}.ib-hero .ib-tag{color:#f9bb3a;}h1{font-size:54px;line-height:68px;font-weight:700;}.ib-hero-description{color:#cbd5e1;font-size:16px;font-weight:500;line-height:20px;margin-top:16px;}.ib-actions{display:flex;gap:16px;margin-top:32px;}.ib-button{height:48px;min-width:210px;padding:14px 24px;border-radius:8px;font-size:16px;font-weight:600;line-height:20px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;}.ib-button-outline{color:#f9bb3a;background:transparent;border:1px solid #f9bb3a;}.ib-button-outline:hover{background:rgb(249 187 58 / 10%);}.ib-hero-art{position:relative;height:493px;}.ib-hero-image{position:absolute;width:828px;height:828px;left:-106px;top:-242px;opacity:.9;mask-size:828px 828px;mask-repeat:no-repeat;mask-composite:intersect;}.ib-challenges-heading{max-width:966px;text-align:center;margin-inline:auto;}.ib-challenge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:32px;}.ib-challenge{position:relative;padding:32px;border:0;outline:1px solid #ffe5ab;outline-offset:-1px;border-radius:12px;background:linear-gradient(123.117deg,#fffdf8,#fff);box-shadow:0 8px 24px #0000000a;overflow:hidden;}.ib-challenge::after{content:"";position:absolute;inset:0;border-radius:inherit;border-bottom:4px solid #f2a60e;pointer-events:none;opacity:0;transition:opacity 200ms ease;}.ib-challenge:hover::after{opacity:1;}.ib-challenge:hover h3{color:#f2a60e;}.ib-challenge:hover i{width:0;}.ib-challenge:hover > .ib-challenge-diagonal-default{opacity:0;}.ib-challenge:hover > .ib-challenge-diagonal-hover{opacity:1;transform:translateY(4px);}.ib-challenge > img{position:absolute;right:0;bottom:0;pointer-events:none;transition:opacity 200ms ease,transform 200ms ease;}.ib-challenge > .ib-challenge-diagonal-hover{opacity:0;}.ib-challenge > div{position:relative;}.ib-challenge h3{max-width:224px;transition:color 200ms ease;}.ib-challenge:first-child h3{max-width:216px;}.ib-challenge:nth-child(3) h3{max-width:210px;}.ib-challenge:nth-child(4) h3{max-width:196px;}.ib-challenge i{display:block;height:3px;width:24px;background:#f2a60e;margin-block:12px;transition:width 200ms ease;}.ib-challenge p{font-size:14px;line-height:18px;font-weight:400;color:#252b34;}.ib-benefits,.ib-faq{background:#fafafa;}.ib-benefit-grid{margin-top:32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,284px);gap:24px;}.ib-benefit{position:relative;padding:32px;border-radius:16px;overflow:hidden;color:#fff;background:linear-gradient(134deg,rgb(249 187 58 / 30%),transparent 47%),linear-gradient(330deg,rgb(249 187 58 / 30%),transparent 24%),#181513;}.ib-benefit--products{grid-row:span 2;background:linear-gradient(142deg,rgb(249 187 58 / 20%) 5%,transparent 46%),linear-gradient(322deg,rgb(249 187 58 / 30%),transparent 30%),#332210;}.ib-benefit-copy{position:relative;z-index:1;max-width:250px;}.ib-benefit--products .ib-benefit-copy{max-width:none;}.ib-benefit--training .ib-benefit-copy{max-width:233px;}.ib-benefit--marketing .ib-benefit-copy{max-width:257px;}.ib-benefit p{font-size:14px;line-height:18px;color:#d8dce4;margin-top:8px;}.ib-benefit-art{position:absolute;left:calc(50% - 205.3335px);top:0;width:410.667px;height:284px;pointer-events:none;}.ib-benefit-art--products{height:592px;}.ib-benefit-art--products > img:first-child{mix-blend-mode:lighten;opacity:.8;}.ib-product-tint{position:absolute;left:-43px;top:117.07px;width:502px;height:485.78px;background:#332210;opacity:.2;mask:url('/partner-assets/21447-29585-imgHinhAnhSanPhamGiaoDich1.svg') center / 100% 100% no-repeat;}.ib-commission{background:linear-gradient(130.846deg,#fff 0%,#fffefb 36.89%,#fbf8f0 63.603%);}.ib-map{position:absolute;right:95px;top:0;width:1046px;height:584px;opacity:.2;mix-blend-mode:multiply;}.ib-commission .ib-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:60px;}.ib-commission-description{margin-top:32px;font-size:16px;line-height:20px;font-weight:400;color:#252b34;}.ib-commission-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:32px;}.ib-commission-row{display:contents;}.ib-commission-card{position:relative;min-height:162px;padding:24px 40px 40px 24px;display:flex;flex-direction:column;align-items:center;gap:6px;}.ib-commission-card:nth-child(even){padding-left:40px;padding-right:24px;}.ib-commission-row:last-child .ib-commission-card{padding-top:40px;padding-bottom:24px;}.ib-commission-card-back{position:absolute;left:-24px;top:-16px;pointer-events:none;}.ib-commission-card p{position:relative;text-align:center;font-size:14px;line-height:18px;color:#252b34;}.ib-commission-icon{position:relative;width:38px;height:38px;display:grid;place-items:center;}.ib-commission-row:first-child .ib-commission-card:first-child .ib-commission-icon img{transform:scaleX(-1);}.ib-dollar{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);width:100px;height:100px;display:grid;place-items:center;}.ib-dollar-coin{position:relative;width:100%;height:100%;border:10px solid #fff9ed;border-radius:50%;background:#f9bb3a;display:grid;place-items:center;z-index:1;}.ib-commission-notch{display:none;}.ib-commission-art{position:relative;align-self:stretch;min-height:590px;}.ib-commission-image{position:absolute;width:581px;height:581px;left:calc(50% - 285.14px);top:calc(50% - 234px);}.ib-commission-shadow{position:absolute;left:15.12px;top:458.08px;}.ib-process-heading{text-align:center;}.ib-process-heading .ib-tag{justify-content:center;margin-bottom:8px;}.ib-step-grid{display:flex;gap:180px;padding-right:160px;margin-top:32px;isolation:isolate;}.ib-step{position:relative;min-width:0;flex:1;min-height:230px;padding:32px 16px;text-align:center;}.ib-step:nth-child(1){z-index:3;}.ib-step:nth-child(2){z-index:2;}.ib-step:nth-child(3){z-index:1;}.ib-step-back{position:absolute;top:0;left:-50.67px;z-index:-1;}.ib-step-shadow{position:absolute;top:-40px;left:198.83px;z-index:-2;}.ib-step-icon{display:block;margin-inline:auto;margin-bottom:16px;}.ib-step p{font-size:14px;line-height:18px;color:#252b34;margin-top:4px;}.ib-step-number{z-index:-3;position:absolute;right:-165.33px;top:50%;transform:translateY(-50%);width:140px;height:140px;display:grid;place-items:center;}.ib-step-number img{position:absolute;left:-56px;top:0;z-index:-1;}.ib-step-number span{font-size:64px;line-height:82px;font-weight:700;background:linear-gradient(90deg,rgb(255 255 255 / 10%),rgb(255 255 255 / 90%));background-clip:text;color:transparent;}.ib-faq .ib-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;align-items:start;}.ib-faq-list{display:flex;flex-direction:column;gap:24px;}.ib-faq-item{padding-bottom:24px;background:#fff;border:0;outline:1px solid #eceef3;outline-offset:-1px;border-radius:12px;box-shadow:0 8px 24px #0000000a;}.ib-faq-item:first-child,.ib-faq-item:hover,.ib-faq-item:focus-within{outline:2px solid rgb(242 147 14 / 40%);outline-offset:-2px;}.ib-faq-trigger{border:0;background:transparent;color:#05080f;cursor:pointer;display:flex;align-items:flex-start;gap:12px;padding:24px 24px 0;width:100%;text-align:left;font-size:16px;font-weight:600;line-height:20px;}.ib-faq-trigger > span:first-child{flex:1;}.ib-faq-icon{position:relative;display:block;width:20px;height:20px;flex:0 0 20px;}.ib-faq-icon img{position:absolute;inset:0;transition:opacity 200ms ease,transform 250ms ease;}.ib-faq-minus{opacity:0;transform:rotate(-90deg);}.ib-faq-trigger[data-state='open'] .ib-faq-plus{opacity:0;transform:rotate(90deg);}.ib-faq-trigger[data-state='open'] .ib-faq-minus{opacity:1;transform:rotate(0);}.ib-faq-answer{overflow:hidden;color:#4e5560;font-size:14px;font-weight:400;line-height:18px;}.ib-faq-answer-inner{padding:8px 24px 0;}.ib-faq-answer[data-state='open']{animation:ib-faq-expand 280ms cubic-bezier(.22,1,.36,1);}.ib-faq-answer[data-state='closed']{animation:ib-faq-collapse 240ms cubic-bezier(.4,0,.2,1);}@keyframes ib-faq-expand{from{height:0;opacity:0;}to{height:var(--radix-collapsible-content-height);opacity:1;}}@keyframes ib-faq-collapse{from{height:var(--radix-collapsible-content-height);opacity:1;}to{height:0;opacity:0;}}.ib-register{background:linear-gradient(214.24deg,rgb(249 187 58 / 30%),transparent 31.763%),#181513;color:white;}.ib-register .ib-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:80px;}.ib-register-art{position:relative;min-height:556px;}.ib-register-image{width:100%;height:100%;object-fit:cover;mix-blend-mode:lighten;position:absolute;inset:0;}.ib-register-art::before,.ib-register-art::after{position:absolute;top:0;bottom:0;width:45px;left:0;content:'';background:linear-gradient(90deg,#1a1613,transparent);z-index:1;}.ib-register-art::after{left:auto;right:0;width:73px;transform:scaleX(-1);}.ib-register-fade{position:absolute;bottom:0;left:0;width:100%;height:102px;}.ib-form{padding:40px;border:0;outline:1px solid rgb(255 255 255 / 20%);outline-offset:-1px;border-radius:16px;background:rgb(0 0 0 / 20%);backdrop-filter:blur(10px);}.ib-form h2{font-size:32px;line-height:40px;}.ib-form-subtitle{font-size:16px;line-height:20px;color:#eceef3;margin-top:16px;}.ib-fields{margin-top:32px;display:flex;flex-direction:column;gap:16px;}.ib-field{display:flex;flex-direction:column;gap:4px;min-width:0;}.ib-label{font-size:12px;font-weight:500;line-height:16px;color:#9ea3ad;}.ib-label b{font-weight:500;color:#f04438;margin-left:4px;}.ib-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.ib-form `,
1409
1511
  `{height:44px;padding:12px 16px;background:#1c1f24;border-color:transparent;border-radius:8px;}.ib-form `,
@@ -1412,44 +1514,16 @@ var PartnerMain = import_styled_components2.default.main.withConfig({
1412
1514
  `::placeholder,.ib-form textarea::placeholder{color:#4e5560;opacity:1;}.ib-form .ib-field button{border:0;padding:0;background:transparent;display:flex;cursor:pointer;}.ib-email-control{position:relative;}.ib-email-control input{padding-right:24px;}.ib-form .ib-field .ib-email-clear{position:absolute;right:16px;top:14px;}.ib-form textarea{background:#1c1f24;border:1px solid transparent;border-radius:8px;padding:12px 16px;min-height:108px;resize:vertical;outline:none;}.ib-form textarea:focus{border-color:#f9bb3a;}.ib-form input,.ib-form input:focus,.ib-form input:focus-visible{border:0;outline:none;box-shadow:none;}.ib-form `,
1413
1515
  `:is(:autofill,:-webkit-autofill){-webkit-text-fill-color:#fff;caret-color:#fff;box-shadow:0 0 0 1000px #1c1f24 inset;}.ib-form textarea:focus,.ib-form textarea:focus-visible{outline:none;box-shadow:none;}.ib-form-submit{display:flex;justify-content:flex-end;margin-top:32px;}.ib-form-submit .ib-button{min-width:160px;box-shadow:0 8px 20px rgb(249 187 58 / 20%);}.ib-submit-message{margin-top:16px;font-size:14px;line-height:22px;color:#eceef3;}:focus-visible{outline:2px solid #f2a70e;outline-offset:4px;}@media (max-width:1100px){section{padding-block:80px;}h2{font-size:32px;line-height:40px;}h1{font-size:44px;line-height:54px;}.ib-hero{height:auto;padding-block:80px;}.ib-hero .ib-container{gap:24px;}.ib-hero-art{height:440px;}.ib-hero-image{transform:scale(.8);transform-origin:top center;}.ib-challenge-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.ib-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,284px);}.ib-benefit--products{grid-column:1 / -1;grid-row:auto;container-type:inline-size;background:linear-gradient(105deg,#493516 0%,#332210 38%,#181513 65%);}.ib-benefit--products .ib-benefit-art{left:auto;right:0;top:auto;bottom:0;width:39.037cqw;height:37.452cqw;transform:none;}.ib-benefit-art--products > img:first-child{left:-14.33cqw !important;top:calc(19.452cqw - 188px) !important;width:65.035cqw !important;height:43.631cqw !important;}.ib-benefit-art--products > img:nth-child(2){left:auto !important;right:0;top:auto !important;bottom:0;width:32cqw !important;height:31cqw !important;}.ib-benefit--products .ib-product-tint{left:auto;right:0;top:auto;bottom:0;width:32cqw;height:31cqw;}.ib-benefit--products .ib-benefit-copy{max-width:45%;}.ib-commission .ib-container,.ib-faq .ib-container{gap:32px;}.ib-commission-art{min-height:590px;transform:scale(.75);transform-origin:center;}.ib-step-grid{gap:70px;padding-right:80px;}.ib-step-number{right:-90px;transform:translateY(-50%) scale(.6);transform-origin:right center;}.ib-step-back,.ib-step-shadow{display:none;}.ib-register .ib-container{gap:32px;}.ib-form{padding:24px;}.ib-form h2{font-size:26px;line-height:34px;}}@media (min-width:768px) and (max-width:1023px){.ib-commission .ib-container{grid-template-columns:1fr;gap:32px;}.ib-commission-grid{max-width:610px;margin-inline:auto;}.ib-commission-art{display:none;}}@media (min-width:768px) and (max-width:1100px){.ib-step-back{display:block;left:calc(100% - 194px);top:41.5px;width:225px;height:147px;}}@media (min-width:901px) and (max-width:1100px){.ib-step p{margin-right:12px;}}@media (min-width:768px) and (max-width:900px){.ib-process{padding-top:80px;padding-bottom:52px;}.ib-process h2{font-size:26px;line-height:32px;}.ib-process .ib-tag{font-size:12px;line-height:16px;}.ib-step-grid{margin-top:24px;}.ib-step{min-height:230px;padding:28px 16px 20px;}.ib-step-icon{width:32px;height:32px;}.ib-step h3{font-size:16px;line-height:20px;}.ib-step p{font-size:11px;line-height:14px;}.ib-step-number img{left:-36px;top:6px;width:158px;height:111px;}.ib-step-number span{font-size:52px;line-height:68px;}}@media (max-width:767px){.ib-desktop-only,.ib-benefit-art{display:none;}.ib-mobile-only{display:block;}section{padding:60px 16px;}h1{font-size:32px;line-height:40px;}h2{font-size:28px;line-height:34px;}h3{font-size:16px;line-height:20px;}.ib-tag{font-size:14px;line-height:18px;gap:10px;margin-bottom:12px;}.ib-subtitle{margin-top:12px;font-size:16px;line-height:20px;}.ib-hero{padding:60px 16px 20px;}.ib-hero::before,.ib-hero::after{background:linear-gradient(107.988deg,rgb(249 187 58 / 30%),transparent 31.763%);}.ib-hero .ib-container,.ib-commission .ib-container,.ib-faq .ib-container,.ib-register .ib-container{grid-template-columns:1fr;gap:24px;}.ib-hero-description{font-size:14px;line-height:18px;margin-top:12px;}.ib-actions{flex-wrap:nowrap;gap:16px;margin-top:24px;}.ib-actions .ib-button{flex:1;min-width:0;padding:12px 8px;font-size:14px;line-height:18px;white-space:nowrap;}.ib-hero-art{height:274.511px;}.ib-hero-mobile-image{position:absolute;width:443.261px;height:443.261px;left:calc(50% - 234.5px);top:-106.261px;opacity:.9;mask-size:443.261px 443.261px;mask-repeat:no-repeat;mask-composite:intersect;}.ib-hero-light{display:none;}.ib-challenge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px;}.ib-challenge{padding:16px;min-height:170px;}.ib-challenge h3{font-size:16px;line-height:20px;color:#f2a60e;}.ib-challenge p{font-size:12px;line-height:16px;}.ib-challenge i{height:2px;margin-block:8px;}.ib-challenge:hover i{width:24px;}.ib-challenge::after{border-bottom-width:3px;opacity:1;}.ib-challenge > .ib-challenge-diagonal-default,.ib-challenge > .ib-challenge-diagonal-hover{display:none;}.ib-challenge > .ib-challenge-mobile-diagonal{bottom:-3px;}.ib-benefits h2{width:231px;margin-inline:auto;text-align:center;}.ib-benefits .ib-subtitle{text-align:center;}.ib-benefit-grid{grid-template-columns:1fr;grid-template-rows:none;gap:16px;margin-top:24px;}.ib-benefit{height:220px;min-height:0;padding:24px;}.ib-benefit--products{grid-column:auto;grid-row:auto;}.ib-benefit--marketing{order:4;}.ib-benefit--tools{order:5;}.ib-benefit--products .ib-benefit-copy{max-width:234px;}.ib-benefit--training .ib-benefit-copy{max-width:233px;}.ib-benefit--materials .ib-benefit-copy{max-width:196px;}.ib-benefit--marketing .ib-benefit-copy{max-width:192px;}.ib-benefit--tools .ib-benefit-copy{max-width:234px;}.ib-benefit h3{font-size:16px;line-height:20px;}.ib-benefit p{font-size:12px;line-height:16px;margin-top:8px;}.ib-mobile-benefit-art{display:block;position:absolute;top:0;left:calc(50% - 171.5px);width:343px;height:220px;pointer-events:none;}.ib-benefit--products{background:linear-gradient(160.72deg,rgb(249 187 58 / 20%) 5.1025%,transparent 46.144%),linear-gradient(340.52deg,rgb(249 187 58 / 30%),transparent 29.665%),#332210;}.ib-mobile-products-global{position:absolute;left:-105px;top:-99.51px;width:526.505px;height:320.007px;display:flex;align-items:center;justify-content:center;mix-blend-mode:lighten;}.ib-mobile-products-global-frame{position:relative;width:495.636px;height:251.853px;overflow:hidden;opacity:.8;transform:rotate(-8.2deg);}.ib-mobile-products-global-frame img{position:absolute;left:0;top:0;width:100%;height:132.03%;max-width:none;object-fit:cover;}.ib-mobile-products-tint{position:absolute;left:106px;top:16.489px;width:232.374px;height:224.866px;background:#332210;opacity:.2;mask:url('/partner-assets/21691-46223-imgHinhAnhSanPhamGiaoDich1.svg') center / 100% 100% no-repeat;}.ib-commission{background:linear-gradient(164.487deg,#fff,#fffefb 54.157%,#fbf8f0 93.328%);}.ib-commission h2{max-width:320px;}.ib-commission-description{margin-top:24px;font-size:14px;line-height:18px;}.ib-commission-grid{display:flex;flex-direction:column;gap:8px;margin-top:24px;}.ib-commission-row{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.ib-commission-card{min-height:148px;padding:24px 40px 40px 24px;border:1px solid #ffe5ab;border-radius:12px;background:#fff;}.ib-commission-card:nth-child(even){padding:24px 24px 40px 40px;}.ib-commission-row:last-child .ib-commission-card{padding-top:40px;padding-bottom:24px;}.ib-commission-card-back{display:none;}.ib-commission-icon{width:30px;height:30px;}.ib-commission-card p{align-self:stretch;width:auto;margin-left:0;font-size:12px;line-height:16px;}.ib-commission-row:last-child .ib-commission-card p{font-size:11.5px;}.ib-dollar{z-index:4;transform:translate(-50%,-50%) scale(.8);}.ib-dollar::before{position:absolute;inset:-16px;content:'';border-radius:50%;background:#fbf8f0;z-index:0;}.ib-dollar-coin{z-index:2;}.ib-dollar-coin .ib-mobile-only{display:none;}.ib-dollar-coin .ib-desktop-only{display:block;}.ib-commission-notch{position:absolute;z-index:1;display:block;width:60px;height:60px;pointer-events:none;}.ib-commission-notch img{display:block;width:100%;height:100%;}.ib-commission-notch--top-left{right:calc(50% + 5px);bottom:calc(50% + 5px);transform:scaleY(-1);}.ib-commission-notch--top-right{left:calc(50% + 5px);bottom:calc(50% + 5px);transform:rotate(180deg);}.ib-commission-notch--bottom-left{right:calc(50% + 5px);top:calc(50% + 5px);}.ib-commission-notch--bottom-right{left:calc(50% + 5px);top:calc(50% + 5px);transform:scaleX(-1);}.ib-commission-art,.ib-map{display:none;}.ib-process{background:#fafafa;}.ib-step-grid{flex-direction:column;padding-right:0;padding-bottom:142px;gap:140px;margin-top:16px;}.ib-step{flex:none;width:100%;min-height:158px;padding:24px 16px;border:0;border-radius:12px;}.ib-step p{font-size:12px;line-height:16px;}.ib-step-back,.ib-step-shadow,.ib-step-icon,.ib-step-number{display:none;}.ib-mobile-step-icon{margin:0 auto 16px;}.ib-mobile-step-back{position:absolute;left:calc(50% - 114.696px);top:calc(100% - 224.196px);transform:rotate(90deg);z-index:-1;}.ib-mobile-step-shadow{position:absolute;left:calc(50% - 72.0835px);top:calc(100% - 182px);transform:rotate(90deg);z-index:-2;}.ib-mobile-step-number{position:absolute;width:158px;height:160px;left:calc(50% - 3.5px);bottom:-139px;transform:translateX(-50%);z-index:-3;}.ib-mobile-step-number img{position:absolute;left:-28.837px;top:-27.837px;transform:rotate(90deg);}.ib-mobile-step-number span{position:absolute;left:0;top:80px;width:158px;font-size:54px;line-height:68px;font-weight:700;text-align:center;color:transparent;background:linear-gradient(0deg,rgb(255 255 255 / 10%),rgb(255 255 255 / 90%));background-clip:text;}.ib-faq{background:white;}.ib-faq .ib-container{gap:24px;}.ib-faq-item{padding-bottom:16px;}.ib-faq-item:first-child{outline:1px solid #eceef3;outline-offset:-1px;}.ib-faq-item:hover,.ib-faq-item:focus-within{outline:2px solid rgb(242 147 14 / 40%);outline-offset:-2px;}.ib-faq-trigger{padding:16px 16px 0;font-size:14px;line-height:18px;}.ib-faq-icon{width:20px;height:20px;}.ib-faq-list{gap:16px;}.ib-faq-item:last-child{margin-top:8px;}.ib-faq-answer{font-size:12px;line-height:16px;}.ib-faq-answer-inner{padding:8px 16px 0;}.ib-register{background:linear-gradient(257.223deg,rgb(249 187 58 / 15%) 11.312%,rgb(24 21 19 / 0%) 27.673%),linear-gradient(84.554deg,rgb(249 187 58 / 15%) 10.216%,rgb(24 21 19 / 0%) 28.02%),#181513;}.ib-register-art{display:none;}.ib-form{padding:32px 24px;}.ib-form h2{font-size:24px;line-height:30px;}.ib-form-subtitle{margin-top:12px;font-size:14px;line-height:18px;}.ib-fields{margin-top:24px;gap:10px;}.ib-field{gap:2px;}.ib-label{display:flex;align-items:center;height:16px;font-size:10px;line-height:12px;}.ib-field-row{grid-template-columns:1fr;gap:12px;}.ib-form `,
1414
1516
  `{height:40px;padding:10px 12px;}.ib-form `,
1415
- `,.ib-form textarea{font-size:12px;line-height:16px;}.ib-form textarea{min-height:110px;padding:12px;}.ib-form-submit{margin-top:24px;}.ib-form-submit .ib-button{font-size:14px;line-height:18px;}.ib-form .ib-field .ib-email-clear{top:12px;right:12px;}}@media (min-width:540px) and (max-width:767px){.ib-commission-card{min-height:162px;}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none !important;animation-duration:0.01ms !important;scroll-behavior:auto !important;}}`
1416
- ], InputCommonRoot, InputCommonRoot, InputCommonField, InputCommonField, InputCommonField, InputCommonRoot, InputCommonField);
1417
-
1418
- // src/wikex/partner/data.ts
1419
- var challenges = [
1420
- ["Ngu\u1ED3n thu ch\u01B0a t\u01B0\u01A1ng x\u1EE9ng", "C\xF3 t\u1EC7p kh\xE1ch h\xE0ng nh\u01B0ng ch\u01B0a khai th\xE1c \u0111\u01B0\u1EE3c h\u1EBFt ti\u1EC1m n\u0103ng doanh thu t\u1EEB m\u1EA1ng l\u01B0\u1EDBi hi\u1EC7n c\xF3."],
1421
- ["Kh\xF3 ph\xE1t tri\u1EC3n t\u1EC7p kh\xE1ch h\xE0ng", "Thi\u1EBFu c\u01A1 h\u1ED9i v\xE0 ph\u01B0\u01A1ng th\u1EE9c ph\xF9 h\u1EE3p \u0111\u1EC3 ti\u1EBFp c\u1EADn kh\xE1ch h\xE0ng m\u1EDBi, m\u1EDF r\u1ED9ng c\u1ED9ng \u0111\u1ED3ng \u0111\u1EA7u t\u01B0."],
1422
- ["Thi\u1EBFu s\u1EA3n ph\u1EA9m \u0111\u1EC3 m\u1EDF r\u1ED9ng", "Danh m\u1EE5c s\u1EA3n ph\u1EA9m h\u1EA1n ch\u1EBF, kh\xF3 \u0111\xE1p \u1EE9ng \u0111a d\u1EA1ng nhu c\u1EA7u \u0111\u1EA7u t\u01B0 c\u1EE7a kh\xE1ch h\xE0ng."],
1423
- ["Thi\u1EBFu h\u1EC7 sinh th\xE1i h\u1ED7 tr\u1EE3", "T\u1EF1 tri\u1EC3n khai t\u1EEB t\u01B0 v\u1EA5n \u0111\u1EBFn ch\u0103m s\xF3c kh\xE1ch h\xE0ng khi\u1EBFn IB t\u1ED1n ngu\u1ED3n l\u1EF1c v\xE0 kh\xF3 m\u1EDF r\u1ED9ng quy m\xF4."]
1424
- ];
1425
- var benefits = [
1426
- ["Danh m\u1EE5c s\u1EA3n ph\u1EA9m", "Ti\u1EBFp c\u1EADn h\u1EC7 sinh th\xE1i giao d\u1ECBch h\xE0ng h\xF3a ph\xE1i sinh v\xE0 \u0111a d\u1EA1ng nh\xF3m s\u1EA3n ph\u1EA9m tr\xEAn th\u1ECB tr\u01B0\u1EDDng.", "products"],
1427
- ["\u0110\xE0o t\u1EA1o chuy\xEAn m\xF4n", "Kh\xF3a h\u1ECDc v\xE0 ki\u1EBFn th\u1EE9c chuy\xEAn s\xE2u h\u1ED7 tr\u1EE3 IB hi\u1EC3u s\u1EA3n ph\u1EA9m, th\u1ECB tr\u01B0\u1EDDng v\xE0 t\u01B0 v\u1EA5n kh\xE1ch h\xE0ng hi\u1EC7u qu\u1EA3.", "training"],
1428
- ["T\xE0i li\u1EC7u v\xE0 n\u1ED9i dung", "Ngu\u1ED3n t\xE0i li\u1EC7u v\xE0 n\u1ED9i dung h\u1ED7 tr\u1EE3 ho\u1EA1t \u0111\u1ED9ng t\u01B0 v\u1EA5n, ch\u0103m s\xF3c v\xE0 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng.", "materials"],
1429
- ["C\xF4ng c\u1EE5 v\xE0 Bot giao d\u1ECBch", "Bot ch\u1EC9 b\xE1o t\xEDch h\u1EE3p s\u1EB5n, h\u1ED7 tr\u1EE3 theo d\xF5i, ph\xE2n t\xEDch th\u1ECB tr\u01B0\u1EDDng, t\xEDn hi\u1EC7u v\xE0o l\u1EC7nh v\xE0 giao d\u1ECBch.", "tools"],
1430
- ["H\u1ED7 tr\u1EE3 marketing", "\u0110\u1ED9i ng\u0169 h\u1ED7 tr\u1EE3 n\u1ED9i dung v\xE0 truy\u1EC1n th\xF4ng, gi\xFAp IB ph\xE1t tri\u1EC3n v\xE0 m\u1EDF r\u1ED9ng m\u1EA1ng l\u01B0\u1EDBi kh\xE1ch h\xE0ng.", "marketing"]
1431
- ];
1432
- var commissions = [
1433
- ["S\u1ED1 l\u01B0\u1EE3ng kh\xE1ch h\xE0ng \u0111\u01B0\u1EE3c gi\u1EDBi thi\u1EC7u v\xE0 duy tr\xEC ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch.", "imgGroup", "imgFeatureCard"],
1434
- ["Ch\xEDnh s\xE1ch hoa h\u1ED3ng t\u01B0\u01A1ng \u1EE9ng v\u1EDBi h\xECnh th\u1EE9c h\u1EE3p t\xE1c \u0111\xE3 \u0111\u0103ng k\xFD.", "imgTips", "imgFeatureCard1"],
1435
- ["D\u1EEF li\u1EC7u giao d\u1ECBch v\xE0 hoa h\u1ED3ng \u0111\u01B0\u1EE3c t\u1ED5ng h\u1EE3p \u0111\u1EC3 l\xE0m c\u0103n c\u1EE9 x\xE1c \u0111\u1ECBnh thu nh\u1EADp.", "imgPresentationBarChart01", "imgFeatureCard2"],
1436
- ["Th\u1EDDi gian v\xE0 ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh trong th\u1ECFa thu\u1EADn h\u1EE3p t\xE1c.", "imgCreditCard", "imgFeatureCard3"]
1437
- ];
1438
- var steps = [
1439
- ["\u0110\u0103ng k\xFD", "\u0110i\u1EC1n th\xF4ng tin \u0111\u0103ng k\xFD \u0111\u1EC3 Wikex t\xECm hi\u1EC3u v\u1EC1 b\u1EA1n, t\u1EC7p kh\xE1ch h\xE0ng v\xE0 nhu c\u1EA7u h\u1EE3p t\xE1c.", "imgIconGalleryEdit"],
1440
- ["\u0110\u1ECBnh h\u01B0\u1EDBng h\u1EE3p t\xE1c", "\u0110\u1ED9i ng\u0169 Wikex li\xEAn h\u1EC7 x\xE1c nh\u1EADn th\xF4ng tin, trao \u0111\u1ED5i v\u1EC1 m\xF4 h\xECnh h\u1EE3p t\xE1c v\xE0 cung c\u1EA5p ch\xEDnh s\xE1ch d\xE0nh cho IB.", "imgIconMessages"],
1441
- ["K\u1EBFt n\u1ED1i & Ph\xE1t tri\u1EC3n", "Sau khi h\u1EE3p t\xE1c, IB \u0111\u01B0\u1EE3c cung c\u1EA5p kh\xF3a h\u1ECDc, t\xE0i li\u1EC7u, n\u1ED9i dung v\xE0 c\xF4ng c\u1EE5 h\u1ED7 tr\u1EE3 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng.", "imgIconChart"]
1442
- ];
1443
- var faqs = [
1444
- ["Ai c\xF3 th\u1EC3 \u0111\u0103ng k\xFD tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex?", "C\xE1 nh\xE2n ho\u1EB7c t\u1ED5 ch\u1EE9c c\xF3 t\u1EC7p kh\xE1ch h\xE0ng, c\u1ED9ng \u0111\u1ED3ng \u0111\u1EA7u t\u01B0 ho\u1EB7c kinh nghi\u1EC7m trong l\u0129nh v\u1EF1c t\xE0i ch\xEDnh \u0111\u1EC1u c\xF3 th\u1EC3 \u0111\u0103ng k\xFD h\u1EE3p t\xE1c."],
1445
- ["Tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex c\xF3 c\u1EA7n kinh nghi\u1EC7m giao d\u1ECBch h\xE0ng h\xF3a kh\xF4ng?", "Kh\xF4ng nh\u1EA5t thi\u1EBFt. \u0110\u1ED1i t\xE1c s\u1EBD \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 t\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn, quy tr\xECnh tri\u1EC3n khai v\xE0 \u0111\u1ED9i ng\u0169 ph\xE2n t\xEDch \u0111\u1ED3ng h\xE0nh trong qu\xE1 tr\xECnh ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng."],
1446
- ["Thu nh\u1EADp hoa h\u1ED3ng c\u1EE7a \u0111\u1ED1i t\xE1c IB \u0111\u01B0\u1EE3c t\xEDnh nh\u01B0 th\u1EBF n\xE0o?", "Hoa h\u1ED3ng \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh theo ch\xEDnh s\xE1ch h\u1EE3p t\xE1c, kh\u1ED1i l\u01B0\u1EE3ng giao d\u1ECBch th\u1EF1c t\u1EBF v\xE0 c\xE1c \u0111i\u1EC1u kho\u1EA3n quy \u0111\u1ECBnh trong h\u1EE3p \u0111\u1ED3ng."],
1447
- ["Wikex h\u1ED7 tr\u1EE3 \u0111\u1ED1i t\xE1c IB nh\u1EEFng g\xEC?", "Wikex h\u1ED7 tr\u1EE3 n\u1EC1n t\u1EA3ng giao d\u1ECBch, c\xF4ng c\u1EE5 ph\xE2n t\xEDch, t\xE0i li\u1EC7u \u0111\xE0o t\u1EA1o v\xE0 c\xE1c ngu\u1ED3n l\u1EF1c marketing ph\u1EE5c v\u1EE5 ho\u1EA1t \u0111\u1ED9ng ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng."],
1448
- ["Ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch h\xE0ng h\xF3a t\u1EA1i Wikex c\xF3 minh b\u1EA1ch v\xE0 tu\xE2n th\u1EE7 ph\xE1p lu\u1EADt kh\xF4ng?", "C\xF3. Ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch h\xE0ng h\xF3a \u0111\u01B0\u1EE3c th\u1EF1c hi\u1EC7n theo quy \u0111\u1ECBnh ph\xE1p lu\u1EADt Vi\u1EC7t Nam th\xF4ng qua h\u1EC7 th\u1ED1ng S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a Vi\u1EC7t Nam (MXV)."]
1449
- ];
1450
- function asset(section3, name, extension = "svg") {
1451
- return `/partner-assets/${section3}-${name}.${extension}`;
1452
- }
1517
+ `,.ib-form textarea{font-size:12px;line-height:16px;}.ib-form textarea{min-height:110px;padding:12px;}.ib-form-submit{margin-top:24px;}.ib-form-submit .ib-button{font-size:14px;line-height:18px;}.ib-form .ib-field .ib-email-clear{top:12px;right:12px;}}@media (min-width:540px) and (max-width:767px){.ib-commission-card{min-height:162px;}}.ib-hero--broker{height:auto;min-height:893px;padding:120px 24px 50px;}.ib-hero--broker::before,.ib-hero--broker::after{background:linear-gradient(142.635deg,rgb(249 187 58 / 30%),rgb(24 21 19 / 0%) 31.763%);}.ib-hero--broker .ib-container{align-items:center;min-height:723px;}.ib-hero--broker .ib-hero-copy{min-width:0;}.ib-broker-light{position:absolute;pointer-events:none;opacity:.6;mix-blend-mode:plus-lighter;transform:scaleY(-1) rotate(-179.1deg);}.ib-broker-light--large{left:-380px;top:-396px;}.ib-broker-light--small{left:-150px;top:-177px;}.ib-broker-form{min-width:0;width:100%;padding:24px;scroll-margin-top:80px;}.ib-broker-form{animation:ib-broker-enter 420ms cubic-bezier(.22,1,.36,1) both;}@keyframes ib-broker-enter{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}@keyframes ib-broker-fade{from{opacity:0;}to{opacity:1;}}.ib-broker-form .ib-identity-upload{transition:border-color 180ms ease,background-color 180ms ease,opacity 180ms ease;}.ib-broker-form .ib-identity-thumbnail{transition:background-color 180ms ease;}.ib-broker-form .ib-identity-thumbnail img,.ib-broker-form .ib-field-error{animation:ib-broker-fade 180ms ease both;}.ib-broker-form .ib-form-submit .ib-button{transition:transform 180ms ease,box-shadow 180ms ease,opacity 180ms ease;}.ib-broker-form .ib-form-submit .ib-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 24px rgb(249 187 58 / 25%);}.ib-broker-form .ib-form-submit .ib-button:active:not(:disabled){transform:translateY(0);}.ib-broker-form .ib-form-submit .ib-button:disabled{opacity:.65;}.ib-broker-form .ib-field-error{margin-top:0;}.ib-broker-form .ib-field[data-invalid] `,
1518
+ `{border-color:#f04438;}.ib-broker-form .ib-field[data-invalid] `,
1519
+ `:focus-within{border-color:#f04438;}.ib-broker-form .ib-identity-field[data-invalid] .ib-identity-upload{border-color:#f04438;}.ib-broker-form .ib-date-picker .MuiIconButton-root{display:inline-flex;padding:4px;color:#9ea3ad;}.ib-broker-form h2{font-size:20px;font-weight:600;line-height:26px;}.ib-broker-form .ib-fields{margin-top:16px;gap:16px;}.ib-broker-form .ib-field{gap:4px;}.ib-broker-form .ib-label{height:16px;font-size:12px;line-height:16px;display:flex;align-items:center;}.ib-broker-form `,
1520
+ `{width:20px;height:20px;flex-basis:20px;}.ib-identity-copy > span:first-child::after{content:" *";color:#f04438;}.ib-broker-form .ib-form-submit{margin-top:24px;}.ib-broker-form .ib-form-submit .ib-button{min-width:160px;}.ib-broker-form .ib-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.ib-broker-form `,
1521
+ `{height:44px;padding:12px 16px;}.ib-broker-form `,
1522
+ `{font-size:14px;line-height:18px;min-width:0;}.ib-broker-form `,
1523
+ `:hover{border-color:#4e5560;}.ib-broker-form `,
1524
+ `:focus-within{border-color:#f9bb3a;}.ib-broker-form .ib-email-clear{top:14px;right:16px;}.ib-broker-form `,
1525
+ `:disabled{cursor:wait;opacity:.65;}.ib-identity-field{position:relative;min-width:0;}.ib-identity-upload{display:flex;position:relative;align-items:center;gap:12px;min-height:81px;padding:8px;border:1px dashed #3a414e;border-radius:8px;cursor:pointer;}.ib-identity-upload:hover,.ib-identity-upload:focus-within{border-color:#707580;}.ib-identity-upload input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;}.ib-identity-upload:has(input:disabled){cursor:wait;opacity:.65;}.ib-identity-upload:has(input[aria-invalid='true']){border-color:#f04438;}.ib-identity-upload:focus-within{outline:2px solid #f9bb3a;outline-offset:3px;}.ib-identity-thumbnail{flex:0 0 100px;height:63px;display:flex;align-items:center;justify-content:center;background:rgb(242 147 14 / 10%);border-radius:4px;overflow:hidden;}.ib-identity-upload:hover .ib-identity-thumbnail{background:rgb(242 147 14 / 20%);}.ib-identity-upload[data-selected] .ib-identity-thumbnail img{width:100%;height:100%;object-fit:contain;}.ib-identity-copy{display:flex;flex-direction:column;gap:2px;min-width:0;}.ib-identity-copy > span:first-child{font-size:14px;font-weight:600;line-height:18px;color:white;}.ib-identity-copy > span:nth-child(2){font-size:12px;line-height:16px;color:#9ea3ad;}.ib-identity-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;line-height:14px;color:#f9bb3a;}.ib-identity-remove{position:absolute;top:2px;right:2px;width:24px;height:24px;border:0;border-radius:50%;background:#1c1f24;color:white;cursor:pointer;}.ib-field-error{display:block;margin-top:6px;font-size:12px;line-height:16px;color:#fda29b;}@media (min-width:901px) and (max-width:1100px){.ib-hero--broker{min-height:0;padding-block:80px;}.ib-hero--broker h1{font-size:44px;line-height:54px;}.ib-identity-thumbnail{flex-basis:64px;}}@media (max-width:900px){.ib-hero--broker{min-height:0;padding:60px 24px;}.ib-hero--broker .ib-container{grid-template-columns:1fr;gap:40px;max-width:680px;min-height:0;}.ib-hero--broker h1{font-size:44px;line-height:54px;}.ib-hero--broker .ib-actions .ib-button{flex:none;padding:14px 24px;}.ib-broker-light{display:none;}}@media (max-width:767px){.ib-hero--broker{padding:48px 16px;}.ib-hero--broker h1{font-size:32px;line-height:40px;}.ib-hero--broker .ib-actions{margin-top:24px;}.ib-hero--broker .ib-actions .ib-button{height:44px;font-size:14px;line-height:18px;}.ib-broker-form{padding:24px;}.ib-broker-form .ib-field-row{grid-template-columns:1fr;}.ib-broker-form .ib-identity-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.ib-identity-upload{flex-direction:column;align-items:stretch;gap:8px;}.ib-identity-thumbnail{flex-basis:auto;width:100%;height:63px;}.ib-identity-copy > span:first-child{font-size:12px;line-height:16px;}.ib-identity-copy > span:nth-child(2){font-size:10px;line-height:14px;}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none !important;animation-duration:0.01ms !important;scroll-behavior:auto !important;}}`
1526
+ ], InputCommonRoot, InputCommonRoot, InputCommonField, InputCommonField, InputCommonField, InputCommonRoot, InputCommonField, InputCommonRoot, InputCommonRoot, InputAdornment, InputCommonRoot, InputCommonField, InputCommonRoot, InputCommonRoot, InputCommonField);
1453
1527
 
1454
1528
  // src/wikex/partner/primitives/Button/WebglBorder.tsx
1455
1529
  var import_react3 = require("react");
@@ -2005,6 +2079,42 @@ function scrollPageTo(target) {
2005
2079
  else target.scrollIntoView({ block: "start", behavior });
2006
2080
  }
2007
2081
 
2082
+ // src/wikex/partner/data.ts
2083
+ var challenges = [
2084
+ ["Ngu\u1ED3n thu ch\u01B0a t\u01B0\u01A1ng x\u1EE9ng", "C\xF3 t\u1EC7p kh\xE1ch h\xE0ng nh\u01B0ng ch\u01B0a khai th\xE1c \u0111\u01B0\u1EE3c h\u1EBFt ti\u1EC1m n\u0103ng doanh thu t\u1EEB m\u1EA1ng l\u01B0\u1EDBi hi\u1EC7n c\xF3."],
2085
+ ["Kh\xF3 ph\xE1t tri\u1EC3n t\u1EC7p kh\xE1ch h\xE0ng", "Thi\u1EBFu c\u01A1 h\u1ED9i v\xE0 ph\u01B0\u01A1ng th\u1EE9c ph\xF9 h\u1EE3p \u0111\u1EC3 ti\u1EBFp c\u1EADn kh\xE1ch h\xE0ng m\u1EDBi, m\u1EDF r\u1ED9ng c\u1ED9ng \u0111\u1ED3ng \u0111\u1EA7u t\u01B0."],
2086
+ ["Thi\u1EBFu s\u1EA3n ph\u1EA9m \u0111\u1EC3 m\u1EDF r\u1ED9ng", "Danh m\u1EE5c s\u1EA3n ph\u1EA9m h\u1EA1n ch\u1EBF, kh\xF3 \u0111\xE1p \u1EE9ng \u0111a d\u1EA1ng nhu c\u1EA7u \u0111\u1EA7u t\u01B0 c\u1EE7a kh\xE1ch h\xE0ng."],
2087
+ ["Thi\u1EBFu h\u1EC7 sinh th\xE1i h\u1ED7 tr\u1EE3", "T\u1EF1 tri\u1EC3n khai t\u1EEB t\u01B0 v\u1EA5n \u0111\u1EBFn ch\u0103m s\xF3c kh\xE1ch h\xE0ng khi\u1EBFn IB t\u1ED1n ngu\u1ED3n l\u1EF1c v\xE0 kh\xF3 m\u1EDF r\u1ED9ng quy m\xF4."]
2088
+ ];
2089
+ var benefits = [
2090
+ ["Danh m\u1EE5c s\u1EA3n ph\u1EA9m", "Ti\u1EBFp c\u1EADn h\u1EC7 sinh th\xE1i giao d\u1ECBch h\xE0ng h\xF3a ph\xE1i sinh v\xE0 \u0111a d\u1EA1ng nh\xF3m s\u1EA3n ph\u1EA9m tr\xEAn th\u1ECB tr\u01B0\u1EDDng.", "products"],
2091
+ ["\u0110\xE0o t\u1EA1o chuy\xEAn m\xF4n", "Kh\xF3a h\u1ECDc v\xE0 ki\u1EBFn th\u1EE9c chuy\xEAn s\xE2u h\u1ED7 tr\u1EE3 IB hi\u1EC3u s\u1EA3n ph\u1EA9m, th\u1ECB tr\u01B0\u1EDDng v\xE0 t\u01B0 v\u1EA5n kh\xE1ch h\xE0ng hi\u1EC7u qu\u1EA3.", "training"],
2092
+ ["T\xE0i li\u1EC7u v\xE0 n\u1ED9i dung", "Ngu\u1ED3n t\xE0i li\u1EC7u v\xE0 n\u1ED9i dung h\u1ED7 tr\u1EE3 ho\u1EA1t \u0111\u1ED9ng t\u01B0 v\u1EA5n, ch\u0103m s\xF3c v\xE0 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng.", "materials"],
2093
+ ["C\xF4ng c\u1EE5 v\xE0 Bot giao d\u1ECBch", "Bot ch\u1EC9 b\xE1o t\xEDch h\u1EE3p s\u1EB5n, h\u1ED7 tr\u1EE3 theo d\xF5i, ph\xE2n t\xEDch th\u1ECB tr\u01B0\u1EDDng, t\xEDn hi\u1EC7u v\xE0o l\u1EC7nh v\xE0 giao d\u1ECBch.", "tools"],
2094
+ ["H\u1ED7 tr\u1EE3 marketing", "\u0110\u1ED9i ng\u0169 h\u1ED7 tr\u1EE3 n\u1ED9i dung v\xE0 truy\u1EC1n th\xF4ng, gi\xFAp IB ph\xE1t tri\u1EC3n v\xE0 m\u1EDF r\u1ED9ng m\u1EA1ng l\u01B0\u1EDBi kh\xE1ch h\xE0ng.", "marketing"]
2095
+ ];
2096
+ var commissions = [
2097
+ ["S\u1ED1 l\u01B0\u1EE3ng kh\xE1ch h\xE0ng \u0111\u01B0\u1EE3c gi\u1EDBi thi\u1EC7u v\xE0 duy tr\xEC ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch.", "imgGroup", "imgFeatureCard"],
2098
+ ["Ch\xEDnh s\xE1ch hoa h\u1ED3ng t\u01B0\u01A1ng \u1EE9ng v\u1EDBi h\xECnh th\u1EE9c h\u1EE3p t\xE1c \u0111\xE3 \u0111\u0103ng k\xFD.", "imgTips", "imgFeatureCard1"],
2099
+ ["D\u1EEF li\u1EC7u giao d\u1ECBch v\xE0 hoa h\u1ED3ng \u0111\u01B0\u1EE3c t\u1ED5ng h\u1EE3p \u0111\u1EC3 l\xE0m c\u0103n c\u1EE9 x\xE1c \u0111\u1ECBnh thu nh\u1EADp.", "imgPresentationBarChart01", "imgFeatureCard2"],
2100
+ ["Th\u1EDDi gian v\xE0 ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh trong th\u1ECFa thu\u1EADn h\u1EE3p t\xE1c.", "imgCreditCard", "imgFeatureCard3"]
2101
+ ];
2102
+ var steps = [
2103
+ ["\u0110\u0103ng k\xFD", "\u0110i\u1EC1n th\xF4ng tin \u0111\u0103ng k\xFD \u0111\u1EC3 Wikex t\xECm hi\u1EC3u v\u1EC1 b\u1EA1n, t\u1EC7p kh\xE1ch h\xE0ng v\xE0 nhu c\u1EA7u h\u1EE3p t\xE1c.", "imgIconGalleryEdit"],
2104
+ ["\u0110\u1ECBnh h\u01B0\u1EDBng h\u1EE3p t\xE1c", "\u0110\u1ED9i ng\u0169 Wikex li\xEAn h\u1EC7 x\xE1c nh\u1EADn th\xF4ng tin, trao \u0111\u1ED5i v\u1EC1 m\xF4 h\xECnh h\u1EE3p t\xE1c v\xE0 cung c\u1EA5p ch\xEDnh s\xE1ch d\xE0nh cho IB.", "imgIconMessages"],
2105
+ ["K\u1EBFt n\u1ED1i & Ph\xE1t tri\u1EC3n", "Sau khi h\u1EE3p t\xE1c, IB \u0111\u01B0\u1EE3c cung c\u1EA5p kh\xF3a h\u1ECDc, t\xE0i li\u1EC7u, n\u1ED9i dung v\xE0 c\xF4ng c\u1EE5 h\u1ED7 tr\u1EE3 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng.", "imgIconChart"]
2106
+ ];
2107
+ var faqs = [
2108
+ ["Ai c\xF3 th\u1EC3 \u0111\u0103ng k\xFD tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex?", "C\xE1 nh\xE2n ho\u1EB7c t\u1ED5 ch\u1EE9c c\xF3 t\u1EC7p kh\xE1ch h\xE0ng, c\u1ED9ng \u0111\u1ED3ng \u0111\u1EA7u t\u01B0 ho\u1EB7c kinh nghi\u1EC7m trong l\u0129nh v\u1EF1c t\xE0i ch\xEDnh \u0111\u1EC1u c\xF3 th\u1EC3 \u0111\u0103ng k\xFD h\u1EE3p t\xE1c."],
2109
+ ["Tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex c\xF3 c\u1EA7n kinh nghi\u1EC7m giao d\u1ECBch h\xE0ng h\xF3a kh\xF4ng?", "Kh\xF4ng nh\u1EA5t thi\u1EBFt. \u0110\u1ED1i t\xE1c s\u1EBD \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 t\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn, quy tr\xECnh tri\u1EC3n khai v\xE0 \u0111\u1ED9i ng\u0169 ph\xE2n t\xEDch \u0111\u1ED3ng h\xE0nh trong qu\xE1 tr\xECnh ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng."],
2110
+ ["Thu nh\u1EADp hoa h\u1ED3ng c\u1EE7a \u0111\u1ED1i t\xE1c IB \u0111\u01B0\u1EE3c t\xEDnh nh\u01B0 th\u1EBF n\xE0o?", "Hoa h\u1ED3ng \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh theo ch\xEDnh s\xE1ch h\u1EE3p t\xE1c, kh\u1ED1i l\u01B0\u1EE3ng giao d\u1ECBch th\u1EF1c t\u1EBF v\xE0 c\xE1c \u0111i\u1EC1u kho\u1EA3n quy \u0111\u1ECBnh trong h\u1EE3p \u0111\u1ED3ng."],
2111
+ ["Wikex h\u1ED7 tr\u1EE3 \u0111\u1ED1i t\xE1c IB nh\u1EEFng g\xEC?", "Wikex h\u1ED7 tr\u1EE3 n\u1EC1n t\u1EA3ng giao d\u1ECBch, c\xF4ng c\u1EE5 ph\xE2n t\xEDch, t\xE0i li\u1EC7u \u0111\xE0o t\u1EA1o v\xE0 c\xE1c ngu\u1ED3n l\u1EF1c marketing ph\u1EE5c v\u1EE5 ho\u1EA1t \u0111\u1ED9ng ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng."],
2112
+ ["Ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch h\xE0ng h\xF3a t\u1EA1i Wikex c\xF3 minh b\u1EA1ch v\xE0 tu\xE2n th\u1EE7 ph\xE1p lu\u1EADt kh\xF4ng?", "C\xF3. Ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch h\xE0ng h\xF3a \u0111\u01B0\u1EE3c th\u1EF1c hi\u1EC7n theo quy \u0111\u1ECBnh ph\xE1p lu\u1EADt Vi\u1EC7t Nam th\xF4ng qua h\u1EC7 th\u1ED1ng S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a Vi\u1EC7t Nam (MXV)."]
2113
+ ];
2114
+ function asset(section3, name, extension = "svg") {
2115
+ return `/partner-assets/${section3}-${name}.${extension}`;
2116
+ }
2117
+
2008
2118
  // src/wikex/partner/shared.tsx
2009
2119
  var import_jsx_runtime5 = require("react/jsx-runtime");
2010
2120
  function PartnerTag({ children, section: section3, leading = false }) {
@@ -2027,286 +2137,27 @@ function scrollToPartnerSection(id) {
2027
2137
  if (section3) scrollPageTo(window.scrollY + section3.getBoundingClientRect().top - 72);
2028
2138
  }
2029
2139
 
2030
- // src/wikex/partner/PartnerHeroSection.tsx
2031
- var import_jsx_runtime6 = require("react/jsx-runtime");
2032
- function PartnerHeroSection() {
2033
- const labels = usePartnerLabels();
2034
- const masks = [1, 2, 3, 4].map((i) => `url(${asset("21447-29491", `imgTangTruongVangTrongMangLuoiToanCau${i}`)})`).join(", ");
2035
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { className: "ib-hero", "aria-labelledby": "ib-hero-title", children: [
2036
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImage, { className: "ib-hero-light ib-hero-light--large", src: asset("21447-29474", "imgVector2693"), alt: "", "aria-hidden": "true" }),
2037
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImage, { className: "ib-hero-light ib-hero-light--small", src: asset("21447-29474", "imgVector3185"), alt: "", "aria-hidden": "true" }),
2038
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "ib-container", children: [
2039
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "ib-hero-copy", children: [
2040
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerTag, { section: "21447-29482", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerText, { as: "span", field: "hero.tag", children: "CH\u01AF\u01A0NG TR\xCCNH \u0110\u1ED0I T\xC1C IB" }) }),
2041
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerText, { as: "h1", field: "hero.title", id: "ib-hero-title", children: "M\u1EDF r\u1ED9ng t\u1EC7p kh\xE1ch h\xE0ng ph\xE1t tri\u1EC3n th\xEAm ngu\u1ED3n thu" }),
2042
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerText, { as: "p", field: "hero.description", className: "ib-hero-description", children: "Tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex, ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng v\u1EDBi h\u1EC7 th\u1ED1ng giao d\u1ECBch v\xE0 \u0111\u1ED9i ng\u0169 h\u1ED7 tr\u1EE3 chuy\xEAn nghi\u1EC7p - ho\u1EA1t \u0111\u1ED9ng d\u01B0\u1EDBi s\u1EF1 qu\u1EA3n l\xFD c\u1EE7a B\u1ED9 C\xF4ng Th\u01B0\u01A1ng th\xF4ng qua S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a Vi\u1EC7t Nam (MXV)." }),
2043
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "ib-actions", children: [
2044
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "ib-button ib-button-outline", type: "button", onClick: () => scrollToPartnerSection("ib-commission"), children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerText, { field: "hero.policyButton", children: "T\xECm hi\u1EC3u ch\xEDnh s\xE1ch" }) }),
2045
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerButton, { onClick: () => scrollToPartnerSection("register"), children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerText, { field: "hero.registerButton", children: "\u0110\u0103ng k\xFD tr\u1EDF th\xE0nh IB" }) })
2046
- ] })
2047
- ] }),
2048
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "ib-hero-art", children: [
2049
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImageAction, { className: "ib-image-action ib-desktop-only", field: "partnerImage.21447-29491-imgTangTruongVangTrongMangLuoiToanCau5" }),
2050
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImageAction, { className: "ib-image-action ib-mobile-only", field: "partnerImage.21691-46108-imgTangTruongVangTrongMangLuoiToanCau5" }),
2051
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImage, { className: "ib-hero-mobile-image ib-mobile-only", src: asset("21691-46108", "imgTangTruongVangTrongMangLuoiToanCau5", "png"), style: { maskImage: [1, 2, 3, 4].map((i) => `url(${asset("21691-46108", `imgTangTruongVangTrongMangLuoiToanCau${i}`)})`).join(", ") }, alt: labels.heroAlt }),
2052
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PartnerImage, { className: "ib-hero-image ib-desktop-only", src: asset("21447-29491", "imgTangTruongVangTrongMangLuoiToanCau5", "png"), style: { maskImage: masks }, alt: labels.heroAlt, fetchPriority: "high" })
2053
- ] })
2054
- ] })
2055
- ] });
2056
- }
2057
-
2058
- // src/wikex/partner/PartnerChallengesSection.tsx
2059
- var import_jsx_runtime7 = require("react/jsx-runtime");
2060
- function PartnerChallengesSection() {
2061
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { "aria-labelledby": "ib-challenges-title", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "ib-container", children: [
2062
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "ib-challenges-heading", children: [
2063
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerText, { as: "h2", field: "challenges.title", id: "ib-challenges-title", children: "B\u1EA1n \u0111\xE3 c\xF3 t\u1EC7p kh\xE1ch h\xE0ng nh\u01B0ng v\u1EABn c\xF2n nhi\u1EC1u ti\u1EC1m n\u0103ng ch\u01B0a khai th\xE1c." }),
2064
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerText, { as: "p", field: "challenges.description", className: "ib-subtitle", children: "M\u1EDF r\u1ED9ng, ph\xE1t tri\u1EC3n c\u01A1 h\u1ED9i kinh doanh v\xE0 gia t\u0103ng ngu\u1ED3n thu t\u1EEB t\u1EC7p kh\xE1ch h\xE0ng s\u1EB5n c\xF3." })
2065
- ] }),
2066
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "ib-challenge-grid", children: challenges.map(([title, description], index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("article", { className: "ib-challenge", children: [
2067
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerImage, { className: "ib-challenge-diagonal-default", src: asset("21447-29546", "imgMngCheo"), alt: "", "aria-hidden": "true" }),
2068
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerImage, { className: "ib-mobile-only ib-challenge-mobile-diagonal", src: asset("21691-46181", title === challenges[0][0] ? "imgMngCheo" : "imgMngCheo1"), alt: "", "aria-hidden": "true" }),
2069
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerImage, { className: "ib-challenge-diagonal-hover", src: "/partner-assets/challenge-hover-diagonal.svg", alt: "", "aria-hidden": "true" }),
2070
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
2071
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerText, { as: "h3", field: `challenges.items.${index}.title`, children: title }),
2072
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("i", { "aria-hidden": "true" }),
2073
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PartnerText, { as: "p", field: `challenges.items.${index}.description`, children: description })
2074
- ] })
2075
- ] }, title)) })
2076
- ] }) });
2077
- }
2078
-
2079
- // src/wikex/partner/BenefitArt.tsx
2080
- var import_jsx_runtime8 = require("react/jsx-runtime");
2081
- var section = "21447-29585";
2082
- function Picture({ name, x, y, w, h, mask, rotate = 0 }) {
2083
- const style = {
2084
- position: "absolute",
2085
- left: x,
2086
- top: y,
2087
- width: w,
2088
- height: h,
2089
- transform: rotate ? `rotate(${rotate}deg)` : void 0,
2090
- maskImage: mask ? `url(${asset(section, mask)})` : void 0,
2091
- maskSize: "100% 100%",
2092
- maskRepeat: "no-repeat"
2093
- };
2094
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(PartnerImage, { alt: "", "aria-hidden": "true", src: asset(section, name, "png"), style });
2095
- }
2096
- function BenefitArt({ kind }) {
2097
- const editing = usePartnerEditing();
2098
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: `ib-benefit-art ib-benefit-art--${kind}`, "aria-hidden": editing?.editable ? void 0 : true, children: [
2099
- kind === "products" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
2100
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgGlobal", x: -150.75, y: 16.47, w: 684.17, h: 459, rotate: -8.2 }),
2101
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgHinhAnhSanPhamGiaoDich2", x: -43, y: 117.07, w: 501.451, h: 485.78, mask: "imgHinhAnhSanPhamGiaoDich1" }),
2102
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "ib-product-tint" })
2103
- ] }),
2104
- kind === "training" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
2105
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgImage1", x: 174.33, y: 68, w: 232, h: 232, mask: "imgImage" }),
2106
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D", x: 91.33, y: 158, w: 103, h: 88 }),
2107
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D1", x: 316.33, y: 86, w: 65, h: 52 })
2108
- ] }),
2109
- kind === "materials" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
2110
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgImage3", x: 152.67, y: 26, w: 262.667, h: 262.667, mask: "imgImage2" }),
2111
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D2", x: 308.24, y: 87.43, w: 66, h: 51, rotate: 6.23 }),
2112
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D3", x: 129.67, y: 156, w: 66, h: 56 }),
2113
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D4", x: 147.67, y: 138, w: 73, h: 62 })
2114
- ] }),
2115
- kind === "tools" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
2116
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgImage7", x: 165.33, y: 89, w: 199, h: 199, mask: "imgImage6" }),
2117
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D7", x: 170.33, y: 142, w: 60, h: 52 }),
2118
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D8", x: 306.5, y: 168.5, w: 69.871, h: 52.733, rotate: 2.62 }),
2119
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective23D", x: 326.33, y: 117, w: 46, h: 37 })
2120
- ] }),
2121
- kind === "marketing" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
2122
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgImage5", x: 145.67, y: 39, w: 274, h: 274, mask: "imgImage4" }),
2123
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D5", x: 288.74, y: 110.75, w: 39.348, h: 43.282, rotate: 8.77 }),
2124
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Picture, { name: "imgPerspective13D6", x: 157.67, y: 138, w: 34, h: 37.517 })
2125
- ] })
2126
- ] });
2127
- }
2140
+ // src/wikex/partner/PartnerBrokerForm.tsx
2141
+ var import_react8 = require("react");
2128
2142
 
2129
- // src/wikex/partner/MobileBenefitArt.tsx
2130
- var import_jsx_runtime9 = require("react/jsx-runtime");
2131
- var section2 = "21691-46223";
2132
- var layers = {
2133
- products: [
2134
- ["imgGlobal", -89.56, -65.44, 495.636, 332.52, void 0, -8.2],
2135
- ["imgHinhAnhSanPhamGiaoDich2", 106, 16.489, 232.12, 224.866, "imgHinhAnhSanPhamGiaoDich1"]
2136
- ],
2137
- training: [
2138
- ["imgImage1", 153.4, 45.489, 185.6, 185.6, "imgImage"],
2139
- ["imgPerspective13D", 87, 117.489, 82.4, 70.4],
2140
- ["imgPerspective13D1", 267, 59.889, 52, 41.6]
2141
- ],
2142
- materials: [
2143
- ["imgImage3", 139.4, 10.489, 210.133, 210.133, "imgImage2"],
2144
- ["imgPerspective13D2", 268.29, 59.63, 52.8, 40.8, void 0, 6.23],
2145
- ["imgPerspective13D3", 121, 114.489, 52.8, 44.8],
2146
- ["imgPerspective13D4", 135.4, 100.089, 58.4, 49.6]
2147
- ],
2148
- marketing: [
2149
- ["imgImage5", 133, 21.489, 219.2, 219.2, "imgImage4"],
2150
- ["imgPerspective13D5", 252.74, 78.89, 31.478, 34.626, void 0, 8.77],
2151
- ["imgPerspective13D6", 142.6, 100.689, 27.2, 30.014]
2152
- ],
2153
- tools: [
2154
- ["imgImage7", 156, 57.489, 159.2, 159.2, "imgImage6"],
2155
- ["imgPerspective13D7", 160, 99.889, 48, 41.6],
2156
- ["imgPerspective13D8", 268.94, 121.09, 55.897, 42.186, void 0, 2.62],
2157
- ["imgPerspective23D", 284.8, 79.889, 36.8, 29.6]
2158
- ]
2159
- };
2160
- function MobileBenefitArt({ kind }) {
2161
- const editing = usePartnerEditing();
2162
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: `ib-mobile-benefit-art ib-mobile-benefit-art--${kind}`, "aria-hidden": editing?.editable ? void 0 : true, children: [
2163
- kind === "products" && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2164
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "ib-mobile-products-global", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "ib-mobile-products-global-frame", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PartnerImage, { alt: "", src: asset(section2, "imgGlobal", "png") }) }) }),
2165
- layers.products.slice(1).map(([name, x, y, width, height, mask]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PartnerImage, { alt: "", src: asset(section2, name, "png"), style: { position: "absolute", left: x, top: y, width, height, maskImage: mask ? `url(${asset(section2, mask)})` : void 0, maskSize: "100% 100%", maskRepeat: "no-repeat" } }, name)),
2166
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "ib-mobile-products-tint" })
2167
- ] }),
2168
- kind !== "products" && layers[kind].map(([name, x, y, width, height, mask, rotate]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PartnerImage, { alt: "", src: asset(section2, name, "png"), style: { position: "absolute", left: x, top: y, width, height, transform: rotate ? `rotate(${rotate}deg)` : void 0, maskImage: mask ? `url(${asset(section2, mask)})` : void 0, maskSize: "100% 100%", maskRepeat: "no-repeat" } }, name))
2169
- ] });
2170
- }
2171
-
2172
- // src/wikex/partner/PartnerBenefitsSection.tsx
2173
- var import_jsx_runtime10 = require("react/jsx-runtime");
2174
- var benefitImages = { products: "imgHinhAnhSanPhamGiaoDich2", training: "imgImage1", materials: "imgImage3", tools: "imgImage7", marketing: "imgImage5" };
2175
- function PartnerBenefitsSection() {
2176
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { className: "ib-benefits", "aria-labelledby": "ib-benefits-title", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-container", children: [
2177
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "h2", field: "benefits.title", id: "ib-benefits-title", children: "Wikex mang \u0111\u1EBFn g\xEC cho \u0111\u1ED1i t\xE1c" }),
2178
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "p", field: "benefits.description", className: "ib-subtitle", children: "Wikex \u0111\u1ED3ng h\xE0nh c\xF9ng IB - T\u1EEB s\u1EA3n ph\u1EA9m, ki\u1EBFn th\u1EE9c \u0111\u1EBFn c\xF4ng c\u1EE5." }),
2179
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "ib-benefit-grid", children: benefits.map(([title, description, kind], index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("article", { className: `ib-benefit ib-benefit--${kind}`, children: [
2180
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerImageAction, { className: "ib-image-action ib-desktop-only", field: `partnerImage.21447-29585-${benefitImages[kind]}` }),
2181
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerImageAction, { className: "ib-image-action ib-mobile-only", field: `partnerImage.21691-46223-${benefitImages[kind]}` }),
2182
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(BenefitArt, { kind }),
2183
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MobileBenefitArt, { kind }),
2184
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-benefit-copy", children: [
2185
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "h3", field: `benefits.items.${index}.title`, children: title }),
2186
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "p", field: `benefits.items.${index}.description`, children: description })
2187
- ] })
2188
- ] }, kind)) })
2189
- ] }) });
2190
- }
2191
-
2192
- // src/wikex/partner/PartnerCommissionSection.tsx
2193
- var import_jsx_runtime11 = require("react/jsx-runtime");
2194
- function PartnerCommissionSection() {
2195
- const labels = usePartnerLabels();
2196
- const renderCommissionCard = (commission) => {
2197
- const [description, icon, background] = commission;
2198
- const index = commissions.indexOf(commission);
2199
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-commission-card", children: [
2200
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-commission-card-back", src: asset("21447-29644", background), alt: "", "aria-hidden": "true" }),
2201
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-commission-icon", children: [
2202
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-desktop-only", src: asset("21447-29644", icon), alt: "", "aria-hidden": "true" }),
2203
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-mobile-only", src: asset("21691-46279", icon), alt: "", "aria-hidden": "true" })
2204
- ] }),
2205
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "p", field: `commission.items.${index}.description`, children: description })
2206
- ] }, icon);
2207
- };
2208
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { className: "ib-commission", id: "ib-commission", "aria-labelledby": "ib-commission-title", children: [
2209
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-map", src: asset("21447-29644", "imgMap", "png"), alt: "", "aria-hidden": "true" }),
2210
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-container", children: [
2211
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
2212
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerTag, { section: "21447-29644", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "span", field: "commission.tag", children: "C\u01A0 CH\u1EBE HOA H\u1ED2NG" }) }),
2213
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "h2", field: "commission.title", id: "ib-commission-title", children: "Thu nh\u1EADp t\u0103ng tr\u01B0\u1EDFng theo kh\u1ED1i l\u01B0\u1EE3ng giao d\u1ECBch" }),
2214
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "p", field: "commission.description", className: "ib-commission-description", children: "M\u1EE9c hoa h\u1ED3ng \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh r\xF5 r\xE0ng, minh b\u1EA1ch trong h\u1EE3p \u0111\u1ED3ng h\u1EE3p t\xE1c v\xE0 chi tr\u1EA3 \u0111\u1ECBnh k\u1EF3. Thu nh\u1EADp d\u1EF1a tr\xEAn hi\u1EC7u qu\u1EA3 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng v\xE0 ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch th\u1EF1c t\u1EBF c\u1EE7a m\u1ED7i \u0111\u1ED1i t\xE1c." }),
2215
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-commission-grid", children: [
2216
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "ib-commission-row", children: commissions.slice(0, 2).map(renderCommissionCard) }),
2217
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "ib-commission-row", children: commissions.slice(2).map(renderCommissionCard) }),
2218
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-dollar", "aria-hidden": "true", children: [
2219
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "ib-commission-notch ib-commission-notch--top-left", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2220
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "ib-commission-notch ib-commission-notch--top-right", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2221
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "ib-commission-notch ib-commission-notch--bottom-left", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2222
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "ib-commission-notch ib-commission-notch--bottom-right", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2223
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "ib-dollar-coin", children: [
2224
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-mobile-only", src: asset("21691-46279", "imgIconDollarSolid"), alt: "", "aria-hidden": "true" }),
2225
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-desktop-only", src: asset("21447-29644", "imgIconDollarSolid"), alt: "", "aria-hidden": "true" })
2226
- ] })
2227
- ] })
2228
- ] })
2229
- ] }),
2230
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-commission-art", children: [
2231
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImageAction, { className: "ib-image-action ", field: "partnerImage.21447-29644-imgImage" }),
2232
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-commission-shadow", src: asset("21447-29644", "imgShadow"), alt: "", "aria-hidden": "true" }),
2233
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-commission-image", src: asset("21447-29644", "imgImage", "png"), alt: labels.commissionAlt })
2234
- ] })
2235
- ] })
2236
- ] });
2237
- }
2238
-
2239
- // src/wikex/partner/PartnerProcessSection.tsx
2240
- var import_jsx_runtime12 = require("react/jsx-runtime");
2241
- function PartnerProcessSection() {
2242
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { className: "ib-process", "aria-labelledby": "ib-process-title", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-container", children: [
2243
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-process-heading", children: [
2244
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerTag, { section: "21447-29714", leading: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "span", field: "process.tag", children: "QUY TR\xCCNH THAM GIA" }) }),
2245
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "h2", field: "process.title", id: "ib-process-title", children: "3 b\u01B0\u1EDBc b\u1EAFt \u0111\u1EA7u h\xE0nh tr\xECnh c\xF9ng Wikex" })
2246
- ] }),
2247
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "ib-step-grid", children: steps.map(([title, description, icon], index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("article", { className: "ib-step", children: [
2248
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-step-shadow", src: asset("21447-29714", "imgVector7300"), alt: "", "aria-hidden": "true" }),
2249
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-step-back", src: asset("21447-29714", "imgVector7301"), alt: "", "aria-hidden": "true" }),
2250
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-mobile-step-shadow ib-mobile-only", src: asset("21691-46349", "imgVector7300"), alt: "", "aria-hidden": "true" }),
2251
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-mobile-step-back ib-mobile-only", src: asset("21691-46349", "imgVector7301"), alt: "", "aria-hidden": "true" }),
2252
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-mobile-step-icon ib-mobile-only", src: asset("21691-46349", icon), alt: "", "aria-hidden": "true" }),
2253
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-mobile-step-number ib-mobile-only", "aria-hidden": "true", children: [
2254
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { src: asset("21691-46349", "imgVector7299"), alt: "" }),
2255
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { children: [
2256
- "0",
2257
- index + 1
2258
- ] })
2259
- ] }),
2260
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-step-icon", src: asset("21447-29714", icon), alt: "", "aria-hidden": "true" }),
2261
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "h3", field: `process.items.${index}.title`, children: title }),
2262
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "p", field: `process.items.${index}.description`, children: description }),
2263
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-step-number", "aria-hidden": "true", children: [
2264
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { src: asset("21447-29714", "imgVector7299"), alt: "" }),
2265
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { children: [
2266
- "0",
2267
- index + 1
2268
- ] })
2269
- ] })
2270
- ] }, icon)) })
2271
- ] }) });
2272
- }
2273
-
2274
- // src/wikex/partner/PartnerFaq.tsx
2143
+ // src/shared/use-registration-form.ts
2275
2144
  var import_react4 = require("react");
2276
- var import_radix_ui = require("radix-ui");
2277
- var import_jsx_runtime13 = require("react/jsx-runtime");
2278
- function PartnerFaq({ question, answer, index }) {
2279
- const editing = usePartnerEditing();
2280
- const [open, setOpen] = (0, import_react4.useState)(false);
2281
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_radix_ui.Collapsible.Root, { className: "ib-faq-item", open: Boolean(editing?.editable) || open, onOpenChange: setOpen, children: [
2282
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_radix_ui.Collapsible.Trigger, { className: "ib-faq-trigger", id: `ib-question-${index}`, children: [
2283
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PartnerText, { as: "span", field: `faq.items.${index}.question`, children: question }),
2284
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "ib-faq-icon", "aria-hidden": "true", children: [
2285
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PartnerImage, { className: "ib-faq-plus", src: asset("21447-29776", "imgIconDropdown"), alt: "" }),
2286
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PartnerImage, { className: "ib-faq-minus", src: "/partner-assets/faq-minus.svg", alt: "" })
2287
- ] })
2288
- ] }),
2289
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_radix_ui.Collapsible.Content, { className: "ib-faq-answer", role: "region", "aria-labelledby": `ib-question-${index}`, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "ib-faq-answer-inner", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PartnerText, { as: "p", field: `faq.items.${index}.answer`, children: answer }) }) })
2290
- ] });
2291
- }
2292
2145
 
2293
- // src/wikex/partner/PartnerFaqSection.tsx
2294
- var import_jsx_runtime14 = require("react/jsx-runtime");
2295
- function PartnerFaqSection() {
2296
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("section", { className: "ib-faq", "aria-labelledby": "ib-faq-title", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "ib-container", children: [
2297
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
2298
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerTag, { section: "21447-29776", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerText, { as: "span", field: "faq.tag", children: "H\u1ECEI \u0110\xC1P" }) }),
2299
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerText, { as: "h2", field: "faq.title", id: "ib-faq-title", children: "C\xE2u h\u1ECFi th\u01B0\u1EDDng g\u1EB7p c\u1EE7a \u0111\u1ED1i t\xE1c v\u1EC1 ch\u01B0\u01A1ng tr\xECnh IB" })
2300
- ] }),
2301
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "ib-faq-list", children: faqs.map(([question, answer], index) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerFaq, { question, answer, index }, question)) })
2302
- ] }) });
2146
+ // src/shared/registration-date.ts
2147
+ var REGISTRATION_TIMEZONE = "Asia/Ho_Chi_Minh";
2148
+ function registrationToday(now = /* @__PURE__ */ new Date()) {
2149
+ return new Intl.DateTimeFormat("en-CA", { timeZone: REGISTRATION_TIMEZONE, year: "numeric", month: "2-digit", day: "2-digit" }).format(now);
2150
+ }
2151
+ function isValidRegistrationIssueDate(value, today = registrationToday()) {
2152
+ const match = /^(\d{2})\/(\d{2})\/(\d{4})$/.exec(value);
2153
+ if (!match) return false;
2154
+ const [, dd, mm, yyyy] = match;
2155
+ const day = Number(dd), month = Number(mm), year = Number(yyyy);
2156
+ const date = new Date(Date.UTC(year, month - 1, day));
2157
+ return year >= 1900 && date.getUTCFullYear() === year && date.getUTCMonth() === month - 1 && date.getUTCDate() === day && `${yyyy}-${mm}-${dd}` <= today;
2303
2158
  }
2304
-
2305
- // src/wikex/partner/PartnerRegistrationSection.tsx
2306
- var import_react6 = require("react");
2307
2159
 
2308
2160
  // src/shared/use-registration-form.ts
2309
- var import_react5 = require("react");
2310
2161
  var registrationFieldProps = {
2311
2162
  name: { required: true, minLength: 2, maxLength: 120, autoComplete: "name" },
2312
2163
  phone: { required: true, type: "tel", maxLength: 30, autoComplete: "tel" },
@@ -2315,15 +2166,15 @@ var registrationFieldProps = {
2315
2166
  };
2316
2167
  function useRegistrationForm({ kind, language, editable = false, onSubmit, onSuccess }) {
2317
2168
  const english = language === "en";
2318
- const [pending, setPending] = (0, import_react5.useState)(false);
2319
- const [formVersion, setFormVersion] = (0, import_react5.useState)(0);
2320
- const [notice, setNotice] = (0, import_react5.useState)(null);
2321
- const submitting = (0, import_react5.useRef)(false);
2322
- const [retryAt, setRetryAt] = (0, import_react5.useState)(0);
2323
- const [remaining, setRemaining] = (0, import_react5.useState)(0);
2324
- const submissionId = (0, import_react5.useRef)("");
2325
- const previousPayload = (0, import_react5.useRef)("");
2326
- (0, import_react5.useEffect)(() => {
2169
+ const [pending, setPending] = (0, import_react4.useState)(false);
2170
+ const [formVersion, setFormVersion] = (0, import_react4.useState)(0);
2171
+ const [notice, setNotice] = (0, import_react4.useState)(null);
2172
+ const submitting = (0, import_react4.useRef)(false);
2173
+ const [retryAt, setRetryAt] = (0, import_react4.useState)(0);
2174
+ const [remaining, setRemaining] = (0, import_react4.useState)(0);
2175
+ const submissionId = (0, import_react4.useRef)("");
2176
+ const previousPayload = (0, import_react4.useRef)("");
2177
+ (0, import_react4.useEffect)(() => {
2327
2178
  if (!retryAt) return;
2328
2179
  const update = () => setRemaining(Math.max(0, Math.ceil((retryAt - Date.now()) / 1e3)));
2329
2180
  update();
@@ -2368,7 +2219,19 @@ function useRegistrationForm({ kind, language, editable = false, onSubmit, onSuc
2368
2219
  language,
2369
2220
  sourcePath: window.location.pathname,
2370
2221
  website: text("website"),
2371
- ...kind === "broker" ? { message: text("message") } : {}
2222
+ ...kind === "broker" ? { message: text("message") } : {},
2223
+ ...kind === "broker" && values.has("accountName") ? {
2224
+ brokerProfile: {
2225
+ accountName: text("accountName"),
2226
+ identityNumber: text("identityNumber"),
2227
+ identityIssuedDate: text("identityIssuedDate"),
2228
+ identityIssuedPlace: text("identityIssuedPlace")
2229
+ },
2230
+ brokerFiles: Object.fromEntries(["front", "back"].flatMap((side) => {
2231
+ const file = values.get(`identity-${side}`);
2232
+ return file instanceof File && file.size > 0 ? [[side, file]] : [];
2233
+ }))
2234
+ } : {}
2372
2235
  };
2373
2236
  const phoneDigits = data.phone.replace(/\D/g, "");
2374
2237
  const invalidField = data.name.length < 2 || data.name.length > 120 ? "name" : !/^\+?[0-9 ()\-.]+$/.test(data.phone) || phoneDigits.length < 9 || phoneDigits.length > 15 || data.phone.length > 30 ? "phone" : (data.message?.length ?? 0) > 2e3 ? "message" : null;
@@ -2379,7 +2242,17 @@ function useRegistrationForm({ kind, language, editable = false, onSubmit, onSuc
2379
2242
  input?.reportValidity();
2380
2243
  return;
2381
2244
  }
2382
- const payload = JSON.stringify(data);
2245
+ if (data.brokerProfile) {
2246
+ const invalid = !isValidRegistrationIssueDate(data.brokerProfile.identityIssuedDate);
2247
+ if (invalid) {
2248
+ const input = form.elements.namedItem("identityIssuedDate");
2249
+ input.setCustomValidity(english ? "Enter a valid issue date in DD/MM/YYYY format." : "Nh\u1EADp ng\xE0y c\u1EA5p h\u1EE3p l\u1EC7 theo \u0111\u1ECBnh d\u1EA1ng DD/MM/YYYY.");
2250
+ invalidNotice();
2251
+ input.reportValidity();
2252
+ return;
2253
+ }
2254
+ }
2255
+ const payload = JSON.stringify({ ...data, brokerFiles: data.brokerFiles ? Object.fromEntries(Object.entries(data.brokerFiles).map(([side, file]) => [side, { name: file.name, size: file.size, lastModified: file.lastModified }])) : void 0 });
2383
2256
  if (!submissionId.current || previousPayload.current !== payload) {
2384
2257
  submissionId.current = crypto.randomUUID();
2385
2258
  previousPayload.current = payload;
@@ -2412,10 +2285,10 @@ function useRegistrationForm({ kind, language, editable = false, onSubmit, onSuc
2412
2285
  var import_Alert = __toESM(require("@mui/material/Alert"));
2413
2286
  var import_Portal = __toESM(require("@mui/material/Portal"));
2414
2287
  var import_Snackbar = __toESM(require("@mui/material/Snackbar"));
2415
- var import_jsx_runtime15 = require("react/jsx-runtime");
2288
+ var import_jsx_runtime6 = require("react/jsx-runtime");
2416
2289
  function RegistrationToast({ notice, language, kind, onClose }) {
2417
2290
  if (!notice) return null;
2418
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_Portal.default, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2291
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Portal.default, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2419
2292
  import_Snackbar.default,
2420
2293
  {
2421
2294
  open: true,
@@ -2427,7 +2300,7 @@ function RegistrationToast({ notice, language, kind, onClose }) {
2427
2300
  if (reason !== "clickaway") onClose();
2428
2301
  },
2429
2302
  sx: { maxWidth: { sm: 480 } },
2430
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2303
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2431
2304
  import_Alert.default,
2432
2305
  {
2433
2306
  severity: notice.severity,
@@ -2443,7 +2316,7 @@ function RegistrationToast({ notice, language, kind, onClose }) {
2443
2316
  }
2444
2317
 
2445
2318
  // src/wikex/partner/primitives/InputCommon/index.tsx
2446
- var import_jsx_runtime16 = require("react/jsx-runtime");
2319
+ var import_jsx_runtime7 = require("react/jsx-runtime");
2447
2320
  function InputCommon({
2448
2321
  leftIcon,
2449
2322
  rightIcon,
@@ -2454,23 +2327,755 @@ function InputCommon({
2454
2327
  onClear,
2455
2328
  ...inputProps
2456
2329
  }) {
2457
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(InputCommonRoot, { "data-disabled": inputProps.disabled || void 0, "data-error": error || void 0, "data-size": size, children: [
2458
- leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InputAdornment, { "aria-hidden": "true", children: leftIcon }) : null,
2459
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InputCommonField, { ...inputProps }),
2460
- clearable && inputProps.value ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("button", { "aria-label": "X\xF3a n\u1ED9i dung", onClick: onClear, type: "button", children: "\xD7" }) : rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InputAdornment, { "aria-hidden": "true", children: rightIcon }) : null,
2461
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { role: "alert", children: errorMessage }) : null
2330
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(InputCommonRoot, { "data-disabled": inputProps.disabled || void 0, "data-error": error || void 0, "data-size": size, children: [
2331
+ leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(InputAdornment, { "aria-hidden": "true", children: leftIcon }) : null,
2332
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(InputCommonField, { ...inputProps }),
2333
+ clearable && inputProps.value ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { "aria-label": "X\xF3a n\u1ED9i dung", onClick: onClear, type: "button", children: "\xD7" }) : rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(InputAdornment, { "aria-hidden": "true", children: rightIcon }) : null,
2334
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { role: "alert", children: errorMessage }) : null
2462
2335
  ] });
2463
2336
  }
2464
2337
 
2465
- // src/wikex/partner/PartnerRegistrationSection.tsx
2338
+ // src/wikex/partner/PartnerIssueDatePicker.tsx
2339
+ var import_react6 = require("react");
2340
+ var import_dayjs = __toESM(require("dayjs"));
2341
+ var import_utc = __toESM(require("dayjs/plugin/utc"));
2342
+ var import_timezone = __toESM(require("dayjs/plugin/timezone"));
2343
+ var import_vi = require("dayjs/locale/vi");
2344
+ var import_DatePicker = require("@mui/x-date-pickers/DatePicker");
2345
+ var import_AdapterDayjs = require("@mui/x-date-pickers/AdapterDayjs");
2346
+ var import_LocalizationProvider = require("@mui/x-date-pickers/LocalizationProvider");
2347
+ var import_locales = require("@mui/x-date-pickers/locales");
2348
+
2349
+ // src/wikex/partner/use-partner-select-scroll-lock.ts
2350
+ var import_react5 = require("react");
2351
+ var locks = /* @__PURE__ */ new WeakMap();
2352
+ function usePartnerSelectScrollLock(active, root) {
2353
+ (0, import_react5.useLayoutEffect)(() => {
2354
+ const doc = root.current?.ownerDocument;
2355
+ if (!active || !doc) return;
2356
+ let lock = locks.get(doc);
2357
+ if (!lock) {
2358
+ const html = doc.documentElement;
2359
+ const properties = ["overflow", "scroll-behavior", "overscroll-behavior", "scrollbar-gutter"];
2360
+ const previous = properties.map((property) => [property, html.style.getPropertyValue(property), html.style.getPropertyPriority(property)]);
2361
+ const view = doc.defaultView;
2362
+ view?.scrollTo({ top: view.scrollY, left: view.scrollX, behavior: "instant" });
2363
+ html.style.setProperty("scrollbar-gutter", "stable");
2364
+ html.style.setProperty("overflow", "hidden");
2365
+ html.style.setProperty("scroll-behavior", "auto");
2366
+ html.style.setProperty("overscroll-behavior", "none");
2367
+ doc.body.setAttribute("data-partner-select-open", "");
2368
+ lock = { count: 0, release: () => {
2369
+ for (const [property, value, priority] of previous) {
2370
+ if (value) html.style.setProperty(property, value, priority);
2371
+ else html.style.removeProperty(property);
2372
+ }
2373
+ doc.body.removeAttribute("data-partner-select-open");
2374
+ } };
2375
+ locks.set(doc, lock);
2376
+ }
2377
+ lock.count++;
2378
+ return () => {
2379
+ if (--lock.count === 0) {
2380
+ lock.release();
2381
+ locks.delete(doc);
2382
+ }
2383
+ };
2384
+ }, [active, root]);
2385
+ }
2386
+
2387
+ // src/wikex/partner/PartnerIssueDatePicker.tsx
2388
+ var import_jsx_runtime8 = require("react/jsx-runtime");
2389
+ import_dayjs.default.extend(import_utc.default);
2390
+ import_dayjs.default.extend(import_timezone.default);
2391
+ var calendarStyles = {
2392
+ bgcolor: "#1c1f24",
2393
+ color: "#fff",
2394
+ backgroundImage: "none",
2395
+ border: "1px solid #3a414e",
2396
+ borderRadius: "12px",
2397
+ "& .MuiPickersLayout-root": { bgcolor: "#1c1f24", color: "#fff" },
2398
+ "& .MuiPickersDay-root, & .MuiPickersCalendarHeader-label, & .MuiYearCalendar-button, & .MuiMonthCalendar-button": { color: "#fff" },
2399
+ "& .MuiDayCalendar-weekDayLabel, & .MuiIconButton-root": { color: "#9ea3ad" },
2400
+ "& .MuiPickersDay-root.Mui-selected, & .MuiPickersDay-root.Mui-selected:hover, & .MuiPickersDay-root.Mui-selected:focus, & .MuiYearCalendar-button.Mui-selected, & .MuiYearCalendar-button.Mui-selected:hover, & .MuiYearCalendar-button.Mui-selected:focus, & .MuiMonthCalendar-button.Mui-selected, & .MuiMonthCalendar-button.Mui-selected:hover, & .MuiMonthCalendar-button.Mui-selected:focus": { bgcolor: "#f9bb3a", color: "#05080f" },
2401
+ "& .MuiPickersDay-root.Mui-disabled, & .MuiYearCalendar-button.Mui-disabled, & .MuiMonthCalendar-button.Mui-disabled": { color: "#4e5560" },
2402
+ "& .MuiPickersDay-today": { borderColor: "#f9bb3a" },
2403
+ "& .MuiButton-root": { color: "#f9bb3a" }
2404
+ };
2405
+ function PartnerIssueDatePicker({ disabled, error, onChange }) {
2406
+ const id = (0, import_react6.useId)();
2407
+ const root = (0, import_react6.useRef)(null);
2408
+ const language = usePartnerLanguage();
2409
+ const text = usePartnerText();
2410
+ const [draft, setDraft] = (0, import_react6.useState)(null);
2411
+ const [open, setOpen] = (0, import_react6.useState)(false);
2412
+ usePartnerSelectScrollLock(open, root);
2413
+ const formatted = draft?.isValid() ? draft.format("DD/MM/YYYY") : "";
2414
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "ib-field ib-date-picker", "data-broker-field": "identityIssuedDate", "data-invalid": Boolean(error) || void 0, ref: root, children: [
2415
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "ib-label", id: `${id}-label`, children: [
2416
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(PartnerText, { as: "span", field: "registration.issueDateLabel", children: "Ng\xE0y c\u1EA5p" }),
2417
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("b", { "aria-hidden": "true", children: "*" })
2418
+ ] }),
2419
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("input", { type: "hidden", name: "identityIssuedDate", value: formatted }),
2420
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2421
+ import_LocalizationProvider.LocalizationProvider,
2422
+ {
2423
+ dateAdapter: import_AdapterDayjs.AdapterDayjs,
2424
+ adapterLocale: language === "en" ? "en" : "vi",
2425
+ localeText: language === "vi" ? import_locales.viVN.components.MuiLocalizationProvider.defaultProps.localeText : void 0,
2426
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2427
+ import_DatePicker.DatePicker,
2428
+ {
2429
+ value: draft,
2430
+ open,
2431
+ onOpen: () => setOpen(true),
2432
+ onClose: () => setOpen(false),
2433
+ disabled,
2434
+ format: "DD/MM/YYYY",
2435
+ timezone: REGISTRATION_TIMEZONE,
2436
+ minDate: import_dayjs.default.tz("1900-01-01", REGISTRATION_TIMEZONE),
2437
+ maxDate: (0, import_dayjs.default)().tz(REGISTRATION_TIMEZONE).startOf("day"),
2438
+ views: ["year", "month", "day"],
2439
+ closeOnSelect: true,
2440
+ dayOfWeekFormatter: (date) => language === "vi" ? ["CN", "T2", "T3", "T4", "T5", "T6", "T7"][date.day()] : date.format("ddd"),
2441
+ onChange: (next, context) => {
2442
+ setDraft(next);
2443
+ onChange(next?.isValid() ? next.format("DD/MM/YYYY") : "", context.validationError !== null);
2444
+ },
2445
+ onError: (reason) => onChange(formatted, reason !== null),
2446
+ sx: {
2447
+ width: "100%",
2448
+ "& .MuiPickersInputBase-root": { height: 44, px: "16px", bgcolor: "#1c1f24", color: "#fff", borderRadius: "8px", fontFamily: "inherit", fontSize: 14 },
2449
+ "& .MuiPickersInputBase-sectionsContainer": { py: 0, color: draft ? "#fff" : "#4e5560" },
2450
+ "& .MuiPickersSectionList-sectionContent": { fontSize: 14, lineHeight: "18px" },
2451
+ // The whole field owns the focus ring; page-level outlines clip inside date segments.
2452
+ "& .MuiPickersSectionList-root:focus-visible, & .MuiPickersSectionList-sectionContent:focus-visible": { outline: "none", outlineOffset: 0 },
2453
+ "& .MuiPickersOutlinedInput-notchedOutline": { borderColor: "transparent" },
2454
+ "& .MuiPickersInputBase-root:hover .MuiPickersOutlinedInput-notchedOutline": { borderColor: "#4e5560" },
2455
+ "& .MuiPickersInputBase-root.Mui-focused:not(.Mui-error) .MuiPickersOutlinedInput-notchedOutline": { borderColor: "#f9bb3a", borderWidth: 1 },
2456
+ "& .MuiPickersInputBase-root.Mui-error .MuiPickersOutlinedInput-notchedOutline": { borderColor: "#f04438" },
2457
+ "& .MuiIconButton-root": { color: "#9ea3ad", p: "4px", bgcolor: "transparent" },
2458
+ "& .MuiSvgIcon-root": { width: 20, height: 20 }
2459
+ },
2460
+ slotProps: {
2461
+ actionBar: ({ pickerVariant }) => ({ actions: pickerVariant === "mobile" ? ["cancel"] : [] }),
2462
+ textField: {
2463
+ fullWidth: true,
2464
+ required: true,
2465
+ error: Boolean(error),
2466
+ onClick: (event) => {
2467
+ if (!disabled && !event.defaultPrevented) setOpen(true);
2468
+ },
2469
+ placeholder: text("registration.issueDatePlaceholder", "DD/MM/YYYY"),
2470
+ InputProps: { "aria-labelledby": `${id}-label`, "aria-describedby": error ? `${id}-error` : void 0 }
2471
+ },
2472
+ openPickerButton: { "aria-label": language === "en" ? "Open issue date calendar" : "M\u1EDF l\u1ECBch ng\xE0y c\u1EA5p" },
2473
+ popper: { container: () => root.current?.ownerDocument.body ?? document.body, placement: "bottom-start" },
2474
+ desktopPaper: { ...{ "data-lenis-prevent": true }, sx: calendarStyles },
2475
+ mobilePaper: { ...{ "data-lenis-prevent": true }, sx: calendarStyles },
2476
+ dialog: { container: () => root.current?.ownerDocument.body ?? document.body, disableScrollLock: true }
2477
+ }
2478
+ }
2479
+ )
2480
+ }
2481
+ ),
2482
+ error && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { id: `${id}-error`, className: "ib-field-error", role: "alert", children: error })
2483
+ ] });
2484
+ }
2485
+
2486
+ // src/wikex/partner/address-options.ts
2487
+ var partnerProvinces = [{ "code": "1", "name": "Th\xE0nh ph\u1ED1 H\xE0 N\u1ED9i", "districts": [{ "code": "1", "name": "Qu\u1EADn Ba \u0110\xECnh" }, { "code": "2", "name": "Qu\u1EADn Ho\xE0n Ki\u1EBFm" }, { "code": "3", "name": "Qu\u1EADn T\xE2y H\u1ED3" }, { "code": "4", "name": "Qu\u1EADn Long Bi\xEAn" }, { "code": "5", "name": "Qu\u1EADn C\u1EA7u Gi\u1EA5y" }, { "code": "6", "name": "Qu\u1EADn \u0110\u1ED1ng \u0110a" }, { "code": "7", "name": "Qu\u1EADn Hai B\xE0 Tr\u01B0ng" }, { "code": "8", "name": "Qu\u1EADn Ho\xE0ng Mai" }, { "code": "9", "name": "Qu\u1EADn Thanh Xu\xE2n" }, { "code": "16", "name": "Huy\u1EC7n S\xF3c S\u01A1n" }, { "code": "17", "name": "Huy\u1EC7n \u0110\xF4ng Anh" }, { "code": "18", "name": "Huy\u1EC7n Gia L\xE2m" }, { "code": "19", "name": "Qu\u1EADn Nam T\u1EEB Li\xEAm" }, { "code": "20", "name": "Huy\u1EC7n Thanh Tr\xEC" }, { "code": "21", "name": "Qu\u1EADn B\u1EAFc T\u1EEB Li\xEAm" }, { "code": "250", "name": "Huy\u1EC7n M\xEA Linh" }, { "code": "268", "name": "Qu\u1EADn H\xE0 \u0110\xF4ng" }, { "code": "269", "name": "Th\u1ECB x\xE3 S\u01A1n T\xE2y" }, { "code": "271", "name": "Huy\u1EC7n Ba V\xEC" }, { "code": "272", "name": "Huy\u1EC7n Ph\xFAc Th\u1ECD" }, { "code": "273", "name": "Huy\u1EC7n \u0110an Ph\u01B0\u1EE3ng" }, { "code": "274", "name": "Huy\u1EC7n Ho\xE0i \u0110\u1EE9c" }, { "code": "275", "name": "Huy\u1EC7n Qu\u1ED1c Oai" }, { "code": "276", "name": "Huy\u1EC7n Th\u1EA1ch Th\u1EA5t" }, { "code": "277", "name": "Huy\u1EC7n Ch\u01B0\u01A1ng M\u1EF9" }, { "code": "278", "name": "Huy\u1EC7n Thanh Oai" }, { "code": "279", "name": "Huy\u1EC7n Th\u01B0\u1EDDng T\xEDn" }, { "code": "280", "name": "Huy\u1EC7n Ph\xFA Xuy\xEAn" }, { "code": "281", "name": "Huy\u1EC7n \u1EE8ng H\xF2a" }, { "code": "282", "name": "Huy\u1EC7n M\u1EF9 \u0110\u1EE9c" }] }, { "code": "2", "name": "T\u1EC9nh H\xE0 Giang", "districts": [{ "code": "24", "name": "Th\xE0nh ph\u1ED1 H\xE0 Giang" }, { "code": "26", "name": "Huy\u1EC7n \u0110\u1ED3ng V\u0103n" }, { "code": "27", "name": "Huy\u1EC7n M\xE8o V\u1EA1c" }, { "code": "28", "name": "Huy\u1EC7n Y\xEAn Minh" }, { "code": "29", "name": "Huy\u1EC7n Qu\u1EA3n B\u1EA1" }, { "code": "30", "name": "Huy\u1EC7n V\u1ECB Xuy\xEAn" }, { "code": "31", "name": "Huy\u1EC7n B\u1EAFc M\xEA" }, { "code": "32", "name": "Huy\u1EC7n Ho\xE0ng Su Ph\xEC" }, { "code": "33", "name": "Huy\u1EC7n X\xEDn M\u1EA7n" }, { "code": "34", "name": "Huy\u1EC7n B\u1EAFc Quang" }, { "code": "35", "name": "Huy\u1EC7n Quang B\xECnh" }] }, { "code": "4", "name": "T\u1EC9nh Cao B\u1EB1ng", "districts": [{ "code": "40", "name": "Th\xE0nh ph\u1ED1 Cao B\u1EB1ng" }, { "code": "42", "name": "Huy\u1EC7n B\u1EA3o L\xE2m" }, { "code": "43", "name": "Huy\u1EC7n B\u1EA3o L\u1EA1c" }, { "code": "45", "name": "Huy\u1EC7n H\xE0 Qu\u1EA3ng" }, { "code": "47", "name": "Huy\u1EC7n Tr\xF9ng Kh\xE1nh" }, { "code": "48", "name": "Huy\u1EC7n H\u1EA1 Lang" }, { "code": "49", "name": "Huy\u1EC7n Qu\u1EA3ng H\xF2a" }, { "code": "51", "name": "Huy\u1EC7n Ho\xE0 An" }, { "code": "52", "name": "Huy\u1EC7n Nguy\xEAn B\xECnh" }, { "code": "53", "name": "Huy\u1EC7n Th\u1EA1ch An" }] }, { "code": "6", "name": "T\u1EC9nh B\u1EAFc K\u1EA1n", "districts": [{ "code": "58", "name": "Th\xE0nh Ph\u1ED1 B\u1EAFc K\u1EA1n" }, { "code": "60", "name": "Huy\u1EC7n P\xE1c N\u1EB7m" }, { "code": "61", "name": "Huy\u1EC7n Ba B\u1EC3" }, { "code": "62", "name": "Huy\u1EC7n Ng\xE2n S\u01A1n" }, { "code": "63", "name": "Huy\u1EC7n B\u1EA1ch Th\xF4ng" }, { "code": "64", "name": "Huy\u1EC7n Ch\u1EE3 \u0110\u1ED3n" }, { "code": "65", "name": "Huy\u1EC7n Ch\u1EE3 M\u1EDBi" }, { "code": "66", "name": "Huy\u1EC7n Na R\xEC" }] }, { "code": "8", "name": "T\u1EC9nh Tuy\xEAn Quang", "districts": [{ "code": "70", "name": "Th\xE0nh ph\u1ED1 Tuy\xEAn Quang" }, { "code": "71", "name": "Huy\u1EC7n L\xE2m B\xECnh" }, { "code": "72", "name": "Huy\u1EC7n Na Hang" }, { "code": "73", "name": "Huy\u1EC7n Chi\xEAm H\xF3a" }, { "code": "74", "name": "Huy\u1EC7n H\xE0m Y\xEAn" }, { "code": "75", "name": "Huy\u1EC7n Y\xEAn S\u01A1n" }, { "code": "76", "name": "Huy\u1EC7n S\u01A1n D\u01B0\u01A1ng" }] }, { "code": "10", "name": "T\u1EC9nh L\xE0o Cai", "districts": [{ "code": "80", "name": "Th\xE0nh ph\u1ED1 L\xE0o Cai" }, { "code": "82", "name": "Huy\u1EC7n B\xE1t X\xE1t" }, { "code": "83", "name": "Huy\u1EC7n M\u01B0\u1EDDng Kh\u01B0\u01A1ng" }, { "code": "84", "name": "Huy\u1EC7n Si Ma Cai" }, { "code": "85", "name": "Huy\u1EC7n B\u1EAFc H\xE0" }, { "code": "86", "name": "Huy\u1EC7n B\u1EA3o Th\u1EAFng" }, { "code": "87", "name": "Huy\u1EC7n B\u1EA3o Y\xEAn" }, { "code": "88", "name": "Th\u1ECB x\xE3 Sa Pa" }, { "code": "89", "name": "Huy\u1EC7n V\u0103n B\xE0n" }] }, { "code": "11", "name": "T\u1EC9nh \u0110i\u1EC7n Bi\xEAn", "districts": [{ "code": "94", "name": "Th\xE0nh ph\u1ED1 \u0110i\u1EC7n Bi\xEAn Ph\u1EE7" }, { "code": "95", "name": "Th\u1ECB x\xE3 M\u01B0\u1EDDng Lay" }, { "code": "96", "name": "Huy\u1EC7n M\u01B0\u1EDDng Nh\xE9" }, { "code": "97", "name": "Huy\u1EC7n M\u01B0\u1EDDng Ch\xE0" }, { "code": "98", "name": "Huy\u1EC7n T\u1EE7a Ch\xF9a" }, { "code": "99", "name": "Huy\u1EC7n Tu\u1EA7n Gi\xE1o" }, { "code": "100", "name": "Huy\u1EC7n \u0110i\u1EC7n Bi\xEAn" }, { "code": "101", "name": "Huy\u1EC7n \u0110i\u1EC7n Bi\xEAn \u0110\xF4ng" }, { "code": "102", "name": "Huy\u1EC7n M\u01B0\u1EDDng \u1EA2ng" }, { "code": "103", "name": "Huy\u1EC7n N\u1EADm P\u1ED3" }] }, { "code": "12", "name": "T\u1EC9nh Lai Ch\xE2u", "districts": [{ "code": "105", "name": "Th\xE0nh ph\u1ED1 Lai Ch\xE2u" }, { "code": "106", "name": "Huy\u1EC7n Tam \u0110\u01B0\u1EDDng" }, { "code": "107", "name": "Huy\u1EC7n M\u01B0\u1EDDng T\xE8" }, { "code": "108", "name": "Huy\u1EC7n S\xECn H\u1ED3" }, { "code": "109", "name": "Huy\u1EC7n Phong Th\u1ED5" }, { "code": "110", "name": "Huy\u1EC7n Than Uy\xEAn" }, { "code": "111", "name": "Huy\u1EC7n T\xE2n Uy\xEAn" }, { "code": "112", "name": "Huy\u1EC7n N\u1EADm Nh\xF9n" }] }, { "code": "14", "name": "T\u1EC9nh S\u01A1n La", "districts": [{ "code": "116", "name": "Th\xE0nh ph\u1ED1 S\u01A1n La" }, { "code": "118", "name": "Huy\u1EC7n Qu\u1EF3nh Nhai" }, { "code": "119", "name": "Huy\u1EC7n Thu\u1EADn Ch\xE2u" }, { "code": "120", "name": "Huy\u1EC7n M\u01B0\u1EDDng La" }, { "code": "121", "name": "Huy\u1EC7n B\u1EAFc Y\xEAn" }, { "code": "122", "name": "Huy\u1EC7n Ph\xF9 Y\xEAn" }, { "code": "123", "name": "Huy\u1EC7n M\u1ED9c Ch\xE2u" }, { "code": "124", "name": "Huy\u1EC7n Y\xEAn Ch\xE2u" }, { "code": "125", "name": "Huy\u1EC7n Mai S\u01A1n" }, { "code": "126", "name": "Huy\u1EC7n S\xF4ng M\xE3" }, { "code": "127", "name": "Huy\u1EC7n S\u1ED1p C\u1ED9p" }, { "code": "128", "name": "Huy\u1EC7n V\xE2n H\u1ED3" }] }, { "code": "15", "name": "T\u1EC9nh Y\xEAn B\xE1i", "districts": [{ "code": "132", "name": "Th\xE0nh ph\u1ED1 Y\xEAn B\xE1i" }, { "code": "133", "name": "Th\u1ECB x\xE3 Ngh\u0129a L\u1ED9" }, { "code": "135", "name": "Huy\u1EC7n L\u1EE5c Y\xEAn" }, { "code": "136", "name": "Huy\u1EC7n V\u0103n Y\xEAn" }, { "code": "137", "name": "Huy\u1EC7n M\xF9 C\u0103ng Ch\u1EA3i" }, { "code": "138", "name": "Huy\u1EC7n Tr\u1EA5n Y\xEAn" }, { "code": "139", "name": "Huy\u1EC7n Tr\u1EA1m T\u1EA5u" }, { "code": "140", "name": "Huy\u1EC7n V\u0103n Ch\u1EA5n" }, { "code": "141", "name": "Huy\u1EC7n Y\xEAn B\xECnh" }] }, { "code": "17", "name": "T\u1EC9nh Ho\xE0 B\xECnh", "districts": [{ "code": "148", "name": "Th\xE0nh ph\u1ED1 H\xF2a B\xECnh" }, { "code": "150", "name": "Huy\u1EC7n \u0110\xE0 B\u1EAFc" }, { "code": "152", "name": "Huy\u1EC7n L\u01B0\u01A1ng S\u01A1n" }, { "code": "153", "name": "Huy\u1EC7n Kim B\xF4i" }, { "code": "154", "name": "Huy\u1EC7n Cao Phong" }, { "code": "155", "name": "Huy\u1EC7n T\xE2n L\u1EA1c" }, { "code": "156", "name": "Huy\u1EC7n Mai Ch\xE2u" }, { "code": "157", "name": "Huy\u1EC7n L\u1EA1c S\u01A1n" }, { "code": "158", "name": "Huy\u1EC7n Y\xEAn Th\u1EE7y" }, { "code": "159", "name": "Huy\u1EC7n L\u1EA1c Th\u1EE7y" }] }, { "code": "19", "name": "T\u1EC9nh Th\xE1i Nguy\xEAn", "districts": [{ "code": "164", "name": "Th\xE0nh ph\u1ED1 Th\xE1i Nguy\xEAn" }, { "code": "165", "name": "Th\xE0nh ph\u1ED1 S\xF4ng C\xF4ng" }, { "code": "167", "name": "Huy\u1EC7n \u0110\u1ECBnh H\xF3a" }, { "code": "168", "name": "Huy\u1EC7n Ph\xFA L\u01B0\u01A1ng" }, { "code": "169", "name": "Huy\u1EC7n \u0110\u1ED3ng H\u1EF7" }, { "code": "170", "name": "Huy\u1EC7n V\xF5 Nhai" }, { "code": "171", "name": "Huy\u1EC7n \u0110\u1EA1i T\u1EEB" }, { "code": "172", "name": "Th\xE0nh ph\u1ED1 Ph\u1ED5 Y\xEAn" }, { "code": "173", "name": "Huy\u1EC7n Ph\xFA B\xECnh" }] }, { "code": "20", "name": "T\u1EC9nh L\u1EA1ng S\u01A1n", "districts": [{ "code": "178", "name": "Th\xE0nh ph\u1ED1 L\u1EA1ng S\u01A1n" }, { "code": "180", "name": "Huy\u1EC7n Tr\xE0ng \u0110\u1ECBnh" }, { "code": "181", "name": "Huy\u1EC7n B\xECnh Gia" }, { "code": "182", "name": "Huy\u1EC7n V\u0103n L\xE3ng" }, { "code": "183", "name": "Huy\u1EC7n Cao L\u1ED9c" }, { "code": "184", "name": "Huy\u1EC7n V\u0103n Quan" }, { "code": "185", "name": "Huy\u1EC7n B\u1EAFc S\u01A1n" }, { "code": "186", "name": "Huy\u1EC7n H\u1EEFu L\u0169ng" }, { "code": "187", "name": "Huy\u1EC7n Chi L\u0103ng" }, { "code": "188", "name": "Huy\u1EC7n L\u1ED9c B\xECnh" }, { "code": "189", "name": "Huy\u1EC7n \u0110\xECnh L\u1EADp" }] }, { "code": "22", "name": "T\u1EC9nh Qu\u1EA3ng Ninh", "districts": [{ "code": "193", "name": "Th\xE0nh ph\u1ED1 H\u1EA1 Long" }, { "code": "194", "name": "Th\xE0nh ph\u1ED1 M\xF3ng C\xE1i" }, { "code": "195", "name": "Th\xE0nh ph\u1ED1 C\u1EA9m Ph\u1EA3" }, { "code": "196", "name": "Th\xE0nh ph\u1ED1 U\xF4ng B\xED" }, { "code": "198", "name": "Huy\u1EC7n B\xECnh Li\xEAu" }, { "code": "199", "name": "Huy\u1EC7n Ti\xEAn Y\xEAn" }, { "code": "200", "name": "Huy\u1EC7n \u0110\u1EA7m H\xE0" }, { "code": "201", "name": "Huy\u1EC7n H\u1EA3i H\xE0" }, { "code": "202", "name": "Huy\u1EC7n Ba Ch\u1EBD" }, { "code": "203", "name": "Huy\u1EC7n V\xE2n \u0110\u1ED3n" }, { "code": "205", "name": "Th\xE0nh ph\u1ED1 \u0110\xF4ng Tri\u1EC1u" }, { "code": "206", "name": "Th\u1ECB x\xE3 Qu\u1EA3ng Y\xEAn" }, { "code": "207", "name": "Huy\u1EC7n C\xF4 T\xF4" }] }, { "code": "24", "name": "T\u1EC9nh B\u1EAFc Giang", "districts": [{ "code": "213", "name": "Th\xE0nh ph\u1ED1 B\u1EAFc Giang" }, { "code": "215", "name": "Huy\u1EC7n Y\xEAn Th\u1EBF" }, { "code": "216", "name": "Huy\u1EC7n T\xE2n Y\xEAn" }, { "code": "217", "name": "Huy\u1EC7n L\u1EA1ng Giang" }, { "code": "218", "name": "Huy\u1EC7n L\u1EE5c Nam" }, { "code": "219", "name": "Huy\u1EC7n L\u1EE5c Ng\u1EA1n" }, { "code": "220", "name": "Huy\u1EC7n S\u01A1n \u0110\u1ED9ng" }, { "code": "222", "name": "Th\u1ECB x\xE3 Vi\u1EC7t Y\xEAn" }, { "code": "223", "name": "Huy\u1EC7n Hi\u1EC7p H\xF2a" }, { "code": "224", "name": "Th\u1ECB x\xE3 Ch\u0169" }] }, { "code": "25", "name": "T\u1EC9nh Ph\xFA Th\u1ECD", "districts": [{ "code": "227", "name": "Th\xE0nh ph\u1ED1 Vi\u1EC7t Tr\xEC" }, { "code": "228", "name": "Th\u1ECB x\xE3 Ph\xFA Th\u1ECD" }, { "code": "230", "name": "Huy\u1EC7n \u0110oan H\xF9ng" }, { "code": "231", "name": "Huy\u1EC7n H\u1EA1 Ho\xE0" }, { "code": "232", "name": "Huy\u1EC7n Thanh Ba" }, { "code": "233", "name": "Huy\u1EC7n Ph\xF9 Ninh" }, { "code": "234", "name": "Huy\u1EC7n Y\xEAn L\u1EADp" }, { "code": "235", "name": "Huy\u1EC7n C\u1EA9m Kh\xEA" }, { "code": "236", "name": "Huy\u1EC7n Tam N\xF4ng" }, { "code": "237", "name": "Huy\u1EC7n L\xE2m Thao" }, { "code": "238", "name": "Huy\u1EC7n Thanh S\u01A1n" }, { "code": "239", "name": "Huy\u1EC7n Thanh Thu\u1EF7" }, { "code": "240", "name": "Huy\u1EC7n T\xE2n S\u01A1n" }] }, { "code": "26", "name": "T\u1EC9nh V\u0129nh Ph\xFAc", "districts": [{ "code": "243", "name": "Th\xE0nh ph\u1ED1 V\u0129nh Y\xEAn" }, { "code": "244", "name": "Th\xE0nh ph\u1ED1 Ph\xFAc Y\xEAn" }, { "code": "246", "name": "Huy\u1EC7n L\u1EADp Th\u1EA1ch" }, { "code": "247", "name": "Huy\u1EC7n Tam D\u01B0\u01A1ng" }, { "code": "248", "name": "Huy\u1EC7n Tam \u0110\u1EA3o" }, { "code": "249", "name": "Huy\u1EC7n B\xECnh Xuy\xEAn" }, { "code": "251", "name": "Huy\u1EC7n Y\xEAn L\u1EA1c" }, { "code": "252", "name": "Huy\u1EC7n V\u0129nh T\u01B0\u1EDDng" }, { "code": "253", "name": "Huy\u1EC7n S\xF4ng L\xF4" }] }, { "code": "27", "name": "T\u1EC9nh B\u1EAFc Ninh", "districts": [{ "code": "256", "name": "Th\xE0nh ph\u1ED1 B\u1EAFc Ninh" }, { "code": "258", "name": "Huy\u1EC7n Y\xEAn Phong" }, { "code": "259", "name": "Th\u1ECB x\xE3 Qu\u1EBF V\xF5" }, { "code": "260", "name": "Huy\u1EC7n Ti\xEAn Du" }, { "code": "261", "name": "Th\xE0nh ph\u1ED1 T\u1EEB S\u01A1n" }, { "code": "262", "name": "Th\u1ECB x\xE3 Thu\u1EADn Th\xE0nh" }, { "code": "263", "name": "Huy\u1EC7n Gia B\xECnh" }, { "code": "264", "name": "Huy\u1EC7n L\u01B0\u01A1ng T\xE0i" }] }, { "code": "30", "name": "T\u1EC9nh H\u1EA3i D\u01B0\u01A1ng", "districts": [{ "code": "288", "name": "Th\xE0nh ph\u1ED1 H\u1EA3i D\u01B0\u01A1ng" }, { "code": "290", "name": "Th\xE0nh ph\u1ED1 Ch\xED Linh" }, { "code": "291", "name": "Huy\u1EC7n Nam S\xE1ch" }, { "code": "292", "name": "Th\u1ECB x\xE3 Kinh M\xF4n" }, { "code": "293", "name": "Huy\u1EC7n Kim Th\xE0nh" }, { "code": "294", "name": "Huy\u1EC7n Thanh H\xE0" }, { "code": "295", "name": "Huy\u1EC7n C\u1EA9m Gi\xE0ng" }, { "code": "296", "name": "Huy\u1EC7n B\xECnh Giang" }, { "code": "297", "name": "Huy\u1EC7n Gia L\u1ED9c" }, { "code": "298", "name": "Huy\u1EC7n T\u1EE9 K\u1EF3" }, { "code": "299", "name": "Huy\u1EC7n Ninh Giang" }, { "code": "300", "name": "Huy\u1EC7n Thanh Mi\u1EC7n" }] }, { "code": "31", "name": "Th\xE0nh ph\u1ED1 H\u1EA3i Ph\xF2ng", "districts": [{ "code": "303", "name": "Qu\u1EADn H\u1ED3ng B\xE0ng" }, { "code": "304", "name": "Qu\u1EADn Ng\xF4 Quy\u1EC1n" }, { "code": "305", "name": "Qu\u1EADn L\xEA Ch\xE2n" }, { "code": "306", "name": "Qu\u1EADn H\u1EA3i An" }, { "code": "307", "name": "Qu\u1EADn Ki\u1EBFn An" }, { "code": "308", "name": "Qu\u1EADn \u0110\u1ED3 S\u01A1n" }, { "code": "309", "name": "Qu\u1EADn D\u01B0\u01A1ng Kinh" }, { "code": "311", "name": "Th\xE0nh ph\u1ED1 Thu\u1EF7 Nguy\xEAn" }, { "code": "312", "name": "Qu\u1EADn An D\u01B0\u01A1ng" }, { "code": "313", "name": "Huy\u1EC7n An L\xE3o" }, { "code": "314", "name": "Huy\u1EC7n Ki\u1EBFn Thu\u1EF5" }, { "code": "315", "name": "Huy\u1EC7n Ti\xEAn L\xE3ng" }, { "code": "316", "name": "Huy\u1EC7n V\u0129nh B\u1EA3o" }, { "code": "317", "name": "Huy\u1EC7n C\xE1t H\u1EA3i" }, { "code": "318", "name": "Huy\u1EC7n B\u1EA1ch Long V\u0129" }] }, { "code": "33", "name": "T\u1EC9nh H\u01B0ng Y\xEAn", "districts": [{ "code": "323", "name": "Th\xE0nh ph\u1ED1 H\u01B0ng Y\xEAn" }, { "code": "325", "name": "Huy\u1EC7n V\u0103n L\xE2m" }, { "code": "326", "name": "Huy\u1EC7n V\u0103n Giang" }, { "code": "327", "name": "Huy\u1EC7n Y\xEAn M\u1EF9" }, { "code": "328", "name": "Th\u1ECB x\xE3 M\u1EF9 H\xE0o" }, { "code": "329", "name": "Huy\u1EC7n \xC2n Thi" }, { "code": "330", "name": "Huy\u1EC7n Kho\xE1i Ch\xE2u" }, { "code": "331", "name": "Huy\u1EC7n Kim \u0110\u1ED9ng" }, { "code": "332", "name": "Huy\u1EC7n Ti\xEAn L\u1EEF" }, { "code": "333", "name": "Huy\u1EC7n Ph\xF9 C\u1EEB" }] }, { "code": "34", "name": "T\u1EC9nh Th\xE1i B\xECnh", "districts": [{ "code": "336", "name": "Th\xE0nh ph\u1ED1 Th\xE1i B\xECnh" }, { "code": "338", "name": "Huy\u1EC7n Qu\u1EF3nh Ph\u1EE5" }, { "code": "339", "name": "Huy\u1EC7n H\u01B0ng H\xE0" }, { "code": "340", "name": "Huy\u1EC7n \u0110\xF4ng H\u01B0ng" }, { "code": "341", "name": "Huy\u1EC7n Th\xE1i Th\u1EE5y" }, { "code": "342", "name": "Huy\u1EC7n Ti\u1EC1n H\u1EA3i" }, { "code": "343", "name": "Huy\u1EC7n Ki\u1EBFn X\u01B0\u01A1ng" }, { "code": "344", "name": "Huy\u1EC7n V\u0169 Th\u01B0" }] }, { "code": "35", "name": "T\u1EC9nh H\xE0 Nam", "districts": [{ "code": "347", "name": "Th\xE0nh ph\u1ED1 Ph\u1EE7 L\xFD" }, { "code": "349", "name": "Th\u1ECB x\xE3 Duy Ti\xEAn" }, { "code": "350", "name": "Th\u1ECB x\xE3 Kim B\u1EA3ng" }, { "code": "351", "name": "Huy\u1EC7n Thanh Li\xEAm" }, { "code": "352", "name": "Huy\u1EC7n B\xECnh L\u1EE5c" }, { "code": "353", "name": "Huy\u1EC7n L\xFD Nh\xE2n" }] }, { "code": "36", "name": "T\u1EC9nh Nam \u0110\u1ECBnh", "districts": [{ "code": "356", "name": "Th\xE0nh ph\u1ED1 Nam \u0110\u1ECBnh" }, { "code": "359", "name": "Huy\u1EC7n V\u1EE5 B\u1EA3n" }, { "code": "360", "name": "Huy\u1EC7n \xDD Y\xEAn" }, { "code": "361", "name": "Huy\u1EC7n Ngh\u0129a H\u01B0ng" }, { "code": "362", "name": "Huy\u1EC7n Nam Tr\u1EF1c" }, { "code": "363", "name": "Huy\u1EC7n Tr\u1EF1c Ninh" }, { "code": "364", "name": "Huy\u1EC7n Xu\xE2n Tr\u01B0\u1EDDng" }, { "code": "365", "name": "Huy\u1EC7n Giao Th\u1EE7y" }, { "code": "366", "name": "Huy\u1EC7n H\u1EA3i H\u1EADu" }] }, { "code": "37", "name": "T\u1EC9nh Ninh B\xECnh", "districts": [{ "code": "370", "name": "Th\xE0nh ph\u1ED1 Tam \u0110i\u1EC7p" }, { "code": "372", "name": "Huy\u1EC7n Nho Quan" }, { "code": "373", "name": "Huy\u1EC7n Gia Vi\u1EC5n" }, { "code": "374", "name": "Th\xE0nh ph\u1ED1 Hoa L\u01B0" }, { "code": "375", "name": "Huy\u1EC7n Y\xEAn Kh\xE1nh" }, { "code": "376", "name": "Huy\u1EC7n Kim S\u01A1n" }, { "code": "377", "name": "Huy\u1EC7n Y\xEAn M\xF4" }] }, { "code": "38", "name": "T\u1EC9nh Thanh H\xF3a", "districts": [{ "code": "380", "name": "Th\xE0nh ph\u1ED1 Thanh H\xF3a" }, { "code": "381", "name": "Th\u1ECB x\xE3 B\u1EC9m S\u01A1n" }, { "code": "382", "name": "Th\xE0nh ph\u1ED1 S\u1EA7m S\u01A1n" }, { "code": "384", "name": "Huy\u1EC7n M\u01B0\u1EDDng L\xE1t" }, { "code": "385", "name": "Huy\u1EC7n Quan H\xF3a" }, { "code": "386", "name": "Huy\u1EC7n B\xE1 Th\u01B0\u1EDBc" }, { "code": "387", "name": "Huy\u1EC7n Quan S\u01A1n" }, { "code": "388", "name": "Huy\u1EC7n Lang Ch\xE1nh" }, { "code": "389", "name": "Huy\u1EC7n Ng\u1ECDc L\u1EB7c" }, { "code": "390", "name": "Huy\u1EC7n C\u1EA9m Th\u1EE7y" }, { "code": "391", "name": "Huy\u1EC7n Th\u1EA1ch Th\xE0nh" }, { "code": "392", "name": "Huy\u1EC7n H\xE0 Trung" }, { "code": "393", "name": "Huy\u1EC7n V\u0129nh L\u1ED9c" }, { "code": "394", "name": "Huy\u1EC7n Y\xEAn \u0110\u1ECBnh" }, { "code": "395", "name": "Huy\u1EC7n Th\u1ECD Xu\xE2n" }, { "code": "396", "name": "Huy\u1EC7n Th\u01B0\u1EDDng Xu\xE2n" }, { "code": "397", "name": "Huy\u1EC7n Tri\u1EC7u S\u01A1n" }, { "code": "398", "name": "Huy\u1EC7n Thi\u1EC7u H\xF3a" }, { "code": "399", "name": "Huy\u1EC7n Ho\u1EB1ng H\xF3a" }, { "code": "400", "name": "Huy\u1EC7n H\u1EADu L\u1ED9c" }, { "code": "401", "name": "Huy\u1EC7n Nga S\u01A1n" }, { "code": "402", "name": "Huy\u1EC7n Nh\u01B0 Xu\xE2n" }, { "code": "403", "name": "Huy\u1EC7n Nh\u01B0 Thanh" }, { "code": "404", "name": "Huy\u1EC7n N\xF4ng C\u1ED1ng" }, { "code": "406", "name": "Huy\u1EC7n Qu\u1EA3ng X\u01B0\u01A1ng" }, { "code": "407", "name": "Th\u1ECB x\xE3 Nghi S\u01A1n" }] }, { "code": "40", "name": "T\u1EC9nh Ngh\u1EC7 An", "districts": [{ "code": "412", "name": "Th\xE0nh ph\u1ED1 Vinh" }, { "code": "414", "name": "Th\u1ECB x\xE3 Th\xE1i Ho\xE0" }, { "code": "415", "name": "Huy\u1EC7n Qu\u1EBF Phong" }, { "code": "416", "name": "Huy\u1EC7n Qu\u1EF3 Ch\xE2u" }, { "code": "417", "name": "Huy\u1EC7n K\u1EF3 S\u01A1n" }, { "code": "418", "name": "Huy\u1EC7n T\u01B0\u01A1ng D\u01B0\u01A1ng" }, { "code": "419", "name": "Huy\u1EC7n Ngh\u0129a \u0110\xE0n" }, { "code": "420", "name": "Huy\u1EC7n Qu\u1EF3 H\u1EE3p" }, { "code": "421", "name": "Huy\u1EC7n Qu\u1EF3nh L\u01B0u" }, { "code": "422", "name": "Huy\u1EC7n Con Cu\xF4ng" }, { "code": "423", "name": "Huy\u1EC7n T\xE2n K\u1EF3" }, { "code": "424", "name": "Huy\u1EC7n Anh S\u01A1n" }, { "code": "425", "name": "Huy\u1EC7n Di\u1EC5n Ch\xE2u" }, { "code": "426", "name": "Huy\u1EC7n Y\xEAn Th\xE0nh" }, { "code": "427", "name": "Huy\u1EC7n \u0110\xF4 L\u01B0\u01A1ng" }, { "code": "428", "name": "Huy\u1EC7n Thanh Ch\u01B0\u01A1ng" }, { "code": "429", "name": "Huy\u1EC7n Nghi L\u1ED9c" }, { "code": "430", "name": "Huy\u1EC7n Nam \u0110\xE0n" }, { "code": "431", "name": "Huy\u1EC7n H\u01B0ng Nguy\xEAn" }, { "code": "432", "name": "Th\u1ECB x\xE3 Ho\xE0ng Mai" }] }, { "code": "42", "name": "T\u1EC9nh H\xE0 T\u0129nh", "districts": [{ "code": "436", "name": "Th\xE0nh ph\u1ED1 H\xE0 T\u0129nh" }, { "code": "437", "name": "Th\u1ECB x\xE3 H\u1ED3ng L\u0129nh" }, { "code": "439", "name": "Huy\u1EC7n H\u01B0\u01A1ng S\u01A1n" }, { "code": "440", "name": "Huy\u1EC7n \u0110\u1EE9c Th\u1ECD" }, { "code": "441", "name": "Huy\u1EC7n V\u0169 Quang" }, { "code": "442", "name": "Huy\u1EC7n Nghi Xu\xE2n" }, { "code": "443", "name": "Huy\u1EC7n Can L\u1ED9c" }, { "code": "444", "name": "Huy\u1EC7n H\u01B0\u01A1ng Kh\xEA" }, { "code": "445", "name": "Huy\u1EC7n Th\u1EA1ch H\xE0" }, { "code": "446", "name": "Huy\u1EC7n C\u1EA9m Xuy\xEAn" }, { "code": "447", "name": "Huy\u1EC7n K\u1EF3 Anh" }, { "code": "449", "name": "Th\u1ECB x\xE3 K\u1EF3 Anh" }] }, { "code": "44", "name": "T\u1EC9nh Qu\u1EA3ng B\xECnh", "districts": [{ "code": "450", "name": "Th\xE0nh Ph\u1ED1 \u0110\u1ED3ng H\u1EDBi" }, { "code": "452", "name": "Huy\u1EC7n Minh H\xF3a" }, { "code": "453", "name": "Huy\u1EC7n Tuy\xEAn H\xF3a" }, { "code": "454", "name": "Huy\u1EC7n Qu\u1EA3ng Tr\u1EA1ch" }, { "code": "455", "name": "Huy\u1EC7n B\u1ED1 Tr\u1EA1ch" }, { "code": "456", "name": "Huy\u1EC7n Qu\u1EA3ng Ninh" }, { "code": "457", "name": "Huy\u1EC7n L\u1EC7 Th\u1EE7y" }, { "code": "458", "name": "Th\u1ECB x\xE3 Ba \u0110\u1ED3n" }] }, { "code": "45", "name": "T\u1EC9nh Qu\u1EA3ng Tr\u1ECB", "districts": [{ "code": "461", "name": "Th\xE0nh ph\u1ED1 \u0110\xF4ng H\xE0" }, { "code": "462", "name": "Th\u1ECB x\xE3 Qu\u1EA3ng Tr\u1ECB" }, { "code": "464", "name": "Huy\u1EC7n V\u0129nh Linh" }, { "code": "465", "name": "Huy\u1EC7n H\u01B0\u1EDBng H\xF3a" }, { "code": "466", "name": "Huy\u1EC7n Gio Linh" }, { "code": "467", "name": "Huy\u1EC7n \u0110a Kr\xF4ng" }, { "code": "468", "name": "Huy\u1EC7n Cam L\u1ED9" }, { "code": "469", "name": "Huy\u1EC7n Tri\u1EC7u Phong" }, { "code": "470", "name": "Huy\u1EC7n H\u1EA3i L\u0103ng" }, { "code": "471", "name": "Huy\u1EC7n C\u1ED3n C\u1ECF" }] }, { "code": "46", "name": "Th\xE0nh ph\u1ED1 Hu\u1EBF", "districts": [{ "code": "474", "name": "Qu\u1EADn Thu\u1EADn H\xF3a" }, { "code": "475", "name": "Qu\u1EADn Ph\xFA Xu\xE2n" }, { "code": "476", "name": "Th\u1ECB x\xE3 Phong \u0110i\u1EC1n" }, { "code": "477", "name": "Huy\u1EC7n Qu\u1EA3ng \u0110i\u1EC1n" }, { "code": "478", "name": "Huy\u1EC7n Ph\xFA Vang" }, { "code": "479", "name": "Th\u1ECB x\xE3 H\u01B0\u01A1ng Th\u1EE7y" }, { "code": "480", "name": "Th\u1ECB x\xE3 H\u01B0\u01A1ng Tr\xE0" }, { "code": "481", "name": "Huy\u1EC7n A L\u01B0\u1EDBi" }, { "code": "482", "name": "Huy\u1EC7n Ph\xFA L\u1ED9c" }] }, { "code": "48", "name": "Th\xE0nh ph\u1ED1 \u0110\xE0 N\u1EB5ng", "districts": [{ "code": "490", "name": "Qu\u1EADn Li\xEAn Chi\u1EC3u" }, { "code": "491", "name": "Qu\u1EADn Thanh Kh\xEA" }, { "code": "492", "name": "Qu\u1EADn H\u1EA3i Ch\xE2u" }, { "code": "493", "name": "Qu\u1EADn S\u01A1n Tr\xE0" }, { "code": "494", "name": "Qu\u1EADn Ng\u0169 H\xE0nh S\u01A1n" }, { "code": "495", "name": "Qu\u1EADn C\u1EA9m L\u1EC7" }, { "code": "497", "name": "Huy\u1EC7n H\xF2a Vang" }, { "code": "498", "name": "Huy\u1EC7n Ho\xE0ng Sa" }] }, { "code": "49", "name": "T\u1EC9nh Qu\u1EA3ng Nam", "districts": [{ "code": "502", "name": "Th\xE0nh ph\u1ED1 Tam K\u1EF3" }, { "code": "503", "name": "Th\xE0nh ph\u1ED1 H\u1ED9i An" }, { "code": "504", "name": "Huy\u1EC7n T\xE2y Giang" }, { "code": "505", "name": "Huy\u1EC7n \u0110\xF4ng Giang" }, { "code": "506", "name": "Huy\u1EC7n \u0110\u1EA1i L\u1ED9c" }, { "code": "507", "name": "Th\u1ECB x\xE3 \u0110i\u1EC7n B\xE0n" }, { "code": "508", "name": "Huy\u1EC7n Duy Xuy\xEAn" }, { "code": "509", "name": "Huy\u1EC7n Qu\u1EBF S\u01A1n" }, { "code": "510", "name": "Huy\u1EC7n Nam Giang" }, { "code": "511", "name": "Huy\u1EC7n Ph\u01B0\u1EDBc S\u01A1n" }, { "code": "512", "name": "Huy\u1EC7n Hi\u1EC7p \u0110\u1EE9c" }, { "code": "513", "name": "Huy\u1EC7n Th\u0103ng B\xECnh" }, { "code": "514", "name": "Huy\u1EC7n Ti\xEAn Ph\u01B0\u1EDBc" }, { "code": "515", "name": "Huy\u1EC7n B\u1EAFc Tr\xE0 My" }, { "code": "516", "name": "Huy\u1EC7n Nam Tr\xE0 My" }, { "code": "517", "name": "Huy\u1EC7n N\xFAi Th\xE0nh" }, { "code": "518", "name": "Huy\u1EC7n Ph\xFA Ninh" }] }, { "code": "51", "name": "T\u1EC9nh Qu\u1EA3ng Ng\xE3i", "districts": [{ "code": "522", "name": "Th\xE0nh ph\u1ED1 Qu\u1EA3ng Ng\xE3i" }, { "code": "524", "name": "Huy\u1EC7n B\xECnh S\u01A1n" }, { "code": "525", "name": "Huy\u1EC7n Tr\xE0 B\u1ED3ng" }, { "code": "527", "name": "Huy\u1EC7n S\u01A1n T\u1ECBnh" }, { "code": "528", "name": "Huy\u1EC7n T\u01B0 Ngh\u0129a" }, { "code": "529", "name": "Huy\u1EC7n S\u01A1n H\xE0" }, { "code": "530", "name": "Huy\u1EC7n S\u01A1n T\xE2y" }, { "code": "531", "name": "Huy\u1EC7n Minh Long" }, { "code": "532", "name": "Huy\u1EC7n Ngh\u0129a H\xE0nh" }, { "code": "533", "name": "Huy\u1EC7n M\u1ED9 \u0110\u1EE9c" }, { "code": "534", "name": "Th\u1ECB x\xE3 \u0110\u1EE9c Ph\u1ED5" }, { "code": "535", "name": "Huy\u1EC7n Ba T\u01A1" }, { "code": "536", "name": "Huy\u1EC7n L\xFD S\u01A1n" }] }, { "code": "52", "name": "T\u1EC9nh B\xECnh \u0110\u1ECBnh", "districts": [{ "code": "540", "name": "Th\xE0nh ph\u1ED1 Quy Nh\u01A1n" }, { "code": "542", "name": "Huy\u1EC7n An L\xE3o" }, { "code": "543", "name": "Th\u1ECB x\xE3 Ho\xE0i Nh\u01A1n" }, { "code": "544", "name": "Huy\u1EC7n Ho\xE0i \xC2n" }, { "code": "545", "name": "Huy\u1EC7n Ph\xF9 M\u1EF9" }, { "code": "546", "name": "Huy\u1EC7n V\u0129nh Th\u1EA1nh" }, { "code": "547", "name": "Huy\u1EC7n T\xE2y S\u01A1n" }, { "code": "548", "name": "Huy\u1EC7n Ph\xF9 C\xE1t" }, { "code": "549", "name": "Th\u1ECB x\xE3 An Nh\u01A1n" }, { "code": "550", "name": "Huy\u1EC7n Tuy Ph\u01B0\u1EDBc" }, { "code": "551", "name": "Huy\u1EC7n V\xE2n Canh" }] }, { "code": "54", "name": "T\u1EC9nh Ph\xFA Y\xEAn", "districts": [{ "code": "555", "name": "Th\xE0nh ph\u1ED1 Tuy Ho\xE0" }, { "code": "557", "name": "Th\u1ECB x\xE3 S\xF4ng C\u1EA7u" }, { "code": "558", "name": "Huy\u1EC7n \u0110\u1ED3ng Xu\xE2n" }, { "code": "559", "name": "Huy\u1EC7n Tuy An" }, { "code": "560", "name": "Huy\u1EC7n S\u01A1n H\xF2a" }, { "code": "561", "name": "Huy\u1EC7n S\xF4ng Hinh" }, { "code": "562", "name": "Huy\u1EC7n T\xE2y Ho\xE0" }, { "code": "563", "name": "Huy\u1EC7n Ph\xFA Ho\xE0" }, { "code": "564", "name": "Th\u1ECB x\xE3 \u0110\xF4ng H\xF2a" }] }, { "code": "56", "name": "T\u1EC9nh Kh\xE1nh H\xF2a", "districts": [{ "code": "568", "name": "Th\xE0nh ph\u1ED1 Nha Trang" }, { "code": "569", "name": "Th\xE0nh ph\u1ED1 Cam Ranh" }, { "code": "570", "name": "Huy\u1EC7n Cam L\xE2m" }, { "code": "571", "name": "Huy\u1EC7n V\u1EA1n Ninh" }, { "code": "572", "name": "Th\u1ECB x\xE3 Ninh H\xF2a" }, { "code": "573", "name": "Huy\u1EC7n Kh\xE1nh V\u0129nh" }, { "code": "574", "name": "Huy\u1EC7n Di\xEAn Kh\xE1nh" }, { "code": "575", "name": "Huy\u1EC7n Kh\xE1nh S\u01A1n" }, { "code": "576", "name": "Huy\u1EC7n Tr\u01B0\u1EDDng Sa" }] }, { "code": "58", "name": "T\u1EC9nh Ninh Thu\u1EADn", "districts": [{ "code": "582", "name": "Th\xE0nh ph\u1ED1 Phan Rang - Th\xE1p Ch\xE0m" }, { "code": "584", "name": "Huy\u1EC7n B\xE1c \xC1i" }, { "code": "585", "name": "Huy\u1EC7n Ninh S\u01A1n" }, { "code": "586", "name": "Huy\u1EC7n Ninh H\u1EA3i" }, { "code": "587", "name": "Huy\u1EC7n Ninh Ph\u01B0\u1EDBc" }, { "code": "588", "name": "Huy\u1EC7n Thu\u1EADn B\u1EAFc" }, { "code": "589", "name": "Huy\u1EC7n Thu\u1EADn Nam" }] }, { "code": "60", "name": "T\u1EC9nh B\xECnh Thu\u1EADn", "districts": [{ "code": "593", "name": "Th\xE0nh ph\u1ED1 Phan Thi\u1EBFt" }, { "code": "594", "name": "Th\u1ECB x\xE3 La Gi" }, { "code": "595", "name": "Huy\u1EC7n Tuy Phong" }, { "code": "596", "name": "Huy\u1EC7n B\u1EAFc B\xECnh" }, { "code": "597", "name": "Huy\u1EC7n H\xE0m Thu\u1EADn B\u1EAFc" }, { "code": "598", "name": "Huy\u1EC7n H\xE0m Thu\u1EADn Nam" }, { "code": "599", "name": "Huy\u1EC7n T\xE1nh Linh" }, { "code": "600", "name": "Huy\u1EC7n \u0110\u1EE9c Linh" }, { "code": "601", "name": "Huy\u1EC7n H\xE0m T\xE2n" }, { "code": "602", "name": "Huy\u1EC7n Ph\xFA Qu\xED" }] }, { "code": "62", "name": "T\u1EC9nh Kon Tum", "districts": [{ "code": "608", "name": "Th\xE0nh ph\u1ED1 Kon Tum" }, { "code": "610", "name": "Huy\u1EC7n \u0110\u1EAFk Glei" }, { "code": "611", "name": "Huy\u1EC7n Ng\u1ECDc H\u1ED3i" }, { "code": "612", "name": "Huy\u1EC7n \u0110\u1EAFk T\xF4" }, { "code": "613", "name": "Huy\u1EC7n Kon Pl\xF4ng" }, { "code": "614", "name": "Huy\u1EC7n Kon R\u1EABy" }, { "code": "615", "name": "Huy\u1EC7n \u0110\u1EAFk H\xE0" }, { "code": "616", "name": "Huy\u1EC7n Sa Th\u1EA7y" }, { "code": "617", "name": "Huy\u1EC7n Tu M\u01A1 R\xF4ng" }, { "code": "618", "name": "Huy\u1EC7n Ia H' Drai" }] }, { "code": "64", "name": "T\u1EC9nh Gia Lai", "districts": [{ "code": "622", "name": "Th\xE0nh ph\u1ED1 Pleiku" }, { "code": "623", "name": "Th\u1ECB x\xE3 An Kh\xEA" }, { "code": "624", "name": "Th\u1ECB x\xE3 Ayun Pa" }, { "code": "625", "name": "Huy\u1EC7n KBang" }, { "code": "626", "name": "Huy\u1EC7n \u0110\u0103k \u0110oa" }, { "code": "627", "name": "Huy\u1EC7n Ch\u01B0 P\u0103h" }, { "code": "628", "name": "Huy\u1EC7n Ia Grai" }, { "code": "629", "name": "Huy\u1EC7n Mang Yang" }, { "code": "630", "name": "Huy\u1EC7n K\xF4ng Chro" }, { "code": "631", "name": "Huy\u1EC7n \u0110\u1EE9c C\u01A1" }, { "code": "632", "name": "Huy\u1EC7n Ch\u01B0 Pr\xF4ng" }, { "code": "633", "name": "Huy\u1EC7n Ch\u01B0 S\xEA" }, { "code": "634", "name": "Huy\u1EC7n \u0110\u0103k P\u01A1" }, { "code": "635", "name": "Huy\u1EC7n Ia Pa" }, { "code": "637", "name": "Huy\u1EC7n Kr\xF4ng Pa" }, { "code": "638", "name": "Huy\u1EC7n Ph\xFA Thi\u1EC7n" }, { "code": "639", "name": "Huy\u1EC7n Ch\u01B0 P\u01B0h" }] }, { "code": "66", "name": "T\u1EC9nh \u0110\u1EAFk L\u1EAFk", "districts": [{ "code": "643", "name": "Th\xE0nh ph\u1ED1 Bu\xF4n Ma Thu\u1ED9t" }, { "code": "644", "name": "Th\u1ECB x\xE3 Bu\xF4n H\u1ED3" }, { "code": "645", "name": "Huy\u1EC7n Ea H'leo" }, { "code": "646", "name": "Huy\u1EC7n Ea S\xFAp" }, { "code": "647", "name": "Huy\u1EC7n Bu\xF4n \u0110\xF4n" }, { "code": "648", "name": "Huy\u1EC7n C\u01B0 M'gar" }, { "code": "649", "name": "Huy\u1EC7n Kr\xF4ng B\xFAk" }, { "code": "650", "name": "Huy\u1EC7n Kr\xF4ng N\u0103ng" }, { "code": "651", "name": "Huy\u1EC7n Ea Kar" }, { "code": "652", "name": "Huy\u1EC7n M'\u0110r\u1EAFk" }, { "code": "653", "name": "Huy\u1EC7n Kr\xF4ng B\xF4ng" }, { "code": "654", "name": "Huy\u1EC7n Kr\xF4ng P\u1EAFc" }, { "code": "655", "name": "Huy\u1EC7n Kr\xF4ng A Na" }, { "code": "656", "name": "Huy\u1EC7n L\u1EAFk" }, { "code": "657", "name": "Huy\u1EC7n C\u01B0 Kuin" }] }, { "code": "67", "name": "T\u1EC9nh \u0110\u1EAFk N\xF4ng", "districts": [{ "code": "660", "name": "Th\xE0nh ph\u1ED1 Gia Ngh\u0129a" }, { "code": "661", "name": "Huy\u1EC7n \u0110\u0103k Glong" }, { "code": "662", "name": "Huy\u1EC7n C\u01B0 J\xFAt" }, { "code": "663", "name": "Huy\u1EC7n \u0110\u1EAFk Mil" }, { "code": "664", "name": "Huy\u1EC7n Kr\xF4ng N\xF4" }, { "code": "665", "name": "Huy\u1EC7n \u0110\u1EAFk Song" }, { "code": "666", "name": "Huy\u1EC7n \u0110\u1EAFk R'L\u1EA5p" }, { "code": "667", "name": "Huy\u1EC7n Tuy \u0110\u1EE9c" }] }, { "code": "68", "name": "T\u1EC9nh L\xE2m \u0110\u1ED3ng", "districts": [{ "code": "672", "name": "Th\xE0nh ph\u1ED1 \u0110\xE0 L\u1EA1t" }, { "code": "673", "name": "Th\xE0nh ph\u1ED1 B\u1EA3o L\u1ED9c" }, { "code": "674", "name": "Huy\u1EC7n \u0110am R\xF4ng" }, { "code": "675", "name": "Huy\u1EC7n L\u1EA1c D\u01B0\u01A1ng" }, { "code": "676", "name": "Huy\u1EC7n L\xE2m H\xE0" }, { "code": "677", "name": "Huy\u1EC7n \u0110\u01A1n D\u01B0\u01A1ng" }, { "code": "678", "name": "Huy\u1EC7n \u0110\u1EE9c Tr\u1ECDng" }, { "code": "679", "name": "Huy\u1EC7n Di Linh" }, { "code": "680", "name": "Huy\u1EC7n B\u1EA3o L\xE2m" }, { "code": "682", "name": "Huy\u1EC7n \u0110\u1EA1 Huoai" }] }, { "code": "70", "name": "T\u1EC9nh B\xECnh Ph\u01B0\u1EDBc", "districts": [{ "code": "688", "name": "Th\u1ECB x\xE3 Ph\u01B0\u1EDBc Long" }, { "code": "689", "name": "Th\xE0nh ph\u1ED1 \u0110\u1ED3ng Xo\xE0i" }, { "code": "690", "name": "Th\u1ECB x\xE3 B\xECnh Long" }, { "code": "691", "name": "Huy\u1EC7n B\xF9 Gia M\u1EADp" }, { "code": "692", "name": "Huy\u1EC7n L\u1ED9c Ninh" }, { "code": "693", "name": "Huy\u1EC7n B\xF9 \u0110\u1ED1p" }, { "code": "694", "name": "Huy\u1EC7n H\u1EDBn Qu\u1EA3n" }, { "code": "695", "name": "Huy\u1EC7n \u0110\u1ED3ng Ph\xFA" }, { "code": "696", "name": "Huy\u1EC7n B\xF9 \u0110\u0103ng" }, { "code": "697", "name": "Th\u1ECB x\xE3 Ch\u01A1n Th\xE0nh" }, { "code": "698", "name": "Huy\u1EC7n Ph\xFA Ri\u1EC1ng" }] }, { "code": "72", "name": "T\u1EC9nh T\xE2y Ninh", "districts": [{ "code": "703", "name": "Th\xE0nh ph\u1ED1 T\xE2y Ninh" }, { "code": "705", "name": "Huy\u1EC7n T\xE2n Bi\xEAn" }, { "code": "706", "name": "Huy\u1EC7n T\xE2n Ch\xE2u" }, { "code": "707", "name": "Huy\u1EC7n D\u01B0\u01A1ng Minh Ch\xE2u" }, { "code": "708", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "709", "name": "Th\u1ECB x\xE3 H\xF2a Th\xE0nh" }, { "code": "710", "name": "Huy\u1EC7n G\xF2 D\u1EA7u" }, { "code": "711", "name": "Huy\u1EC7n B\u1EBFn C\u1EA7u" }, { "code": "712", "name": "Th\u1ECB x\xE3 Tr\u1EA3ng B\xE0ng" }] }, { "code": "74", "name": "T\u1EC9nh B\xECnh D\u01B0\u01A1ng", "districts": [{ "code": "718", "name": "Th\xE0nh ph\u1ED1 Th\u1EE7 D\u1EA7u M\u1ED9t" }, { "code": "719", "name": "Huy\u1EC7n B\xE0u B\xE0ng" }, { "code": "720", "name": "Huy\u1EC7n D\u1EA7u Ti\u1EBFng" }, { "code": "721", "name": "Th\xE0nh ph\u1ED1 B\u1EBFn C\xE1t" }, { "code": "722", "name": "Huy\u1EC7n Ph\xFA Gi\xE1o" }, { "code": "723", "name": "Th\xE0nh ph\u1ED1 T\xE2n Uy\xEAn" }, { "code": "724", "name": "Th\xE0nh ph\u1ED1 D\u0129 An" }, { "code": "725", "name": "Th\xE0nh ph\u1ED1 Thu\u1EADn An" }, { "code": "726", "name": "Huy\u1EC7n B\u1EAFc T\xE2n Uy\xEAn" }] }, { "code": "75", "name": "T\u1EC9nh \u0110\u1ED3ng Nai", "districts": [{ "code": "731", "name": "Th\xE0nh ph\u1ED1 Bi\xEAn H\xF2a" }, { "code": "732", "name": "Th\xE0nh ph\u1ED1 Long Kh\xE1nh" }, { "code": "734", "name": "Huy\u1EC7n T\xE2n Ph\xFA" }, { "code": "735", "name": "Huy\u1EC7n V\u0129nh C\u1EEDu" }, { "code": "736", "name": "Huy\u1EC7n \u0110\u1ECBnh Qu\xE1n" }, { "code": "737", "name": "Huy\u1EC7n Tr\u1EA3ng Bom" }, { "code": "738", "name": "Huy\u1EC7n Th\u1ED1ng Nh\u1EA5t" }, { "code": "739", "name": "Huy\u1EC7n C\u1EA9m M\u1EF9" }, { "code": "740", "name": "Huy\u1EC7n Long Th\xE0nh" }, { "code": "741", "name": "Huy\u1EC7n Xu\xE2n L\u1ED9c" }, { "code": "742", "name": "Huy\u1EC7n Nh\u01A1n Tr\u1EA1ch" }] }, { "code": "77", "name": "T\u1EC9nh B\xE0 R\u1ECBa - V\u0169ng T\xE0u", "districts": [{ "code": "747", "name": "Th\xE0nh ph\u1ED1 V\u0169ng T\xE0u" }, { "code": "748", "name": "Th\xE0nh ph\u1ED1 B\xE0 R\u1ECBa" }, { "code": "750", "name": "Huy\u1EC7n Ch\xE2u \u0110\u1EE9c" }, { "code": "751", "name": "Huy\u1EC7n Xuy\xEAn M\u1ED9c" }, { "code": "753", "name": "Huy\u1EC7n Long \u0110\u1EA5t" }, { "code": "754", "name": "Th\u1ECB x\xE3 Ph\xFA M\u1EF9" }, { "code": "755", "name": "Huy\u1EC7n C\xF4n \u0110\u1EA3o" }] }, { "code": "79", "name": "Th\xE0nh ph\u1ED1 H\u1ED3 Ch\xED Minh", "districts": [{ "code": "760", "name": "Qu\u1EADn 1" }, { "code": "761", "name": "Qu\u1EADn 12" }, { "code": "764", "name": "Qu\u1EADn G\xF2 V\u1EA5p" }, { "code": "765", "name": "Qu\u1EADn B\xECnh Th\u1EA1nh" }, { "code": "766", "name": "Qu\u1EADn T\xE2n B\xECnh" }, { "code": "767", "name": "Qu\u1EADn T\xE2n Ph\xFA" }, { "code": "768", "name": "Qu\u1EADn Ph\xFA Nhu\u1EADn" }, { "code": "769", "name": "Th\xE0nh ph\u1ED1 Th\u1EE7 \u0110\u1EE9c" }, { "code": "770", "name": "Qu\u1EADn 3" }, { "code": "771", "name": "Qu\u1EADn 10" }, { "code": "772", "name": "Qu\u1EADn 11" }, { "code": "773", "name": "Qu\u1EADn 4" }, { "code": "774", "name": "Qu\u1EADn 5" }, { "code": "775", "name": "Qu\u1EADn 6" }, { "code": "776", "name": "Qu\u1EADn 8" }, { "code": "777", "name": "Qu\u1EADn B\xECnh T\xE2n" }, { "code": "778", "name": "Qu\u1EADn 7" }, { "code": "783", "name": "Huy\u1EC7n C\u1EE7 Chi" }, { "code": "784", "name": "Huy\u1EC7n H\xF3c M\xF4n" }, { "code": "785", "name": "Huy\u1EC7n B\xECnh Ch\xE1nh" }, { "code": "786", "name": "Huy\u1EC7n Nh\xE0 B\xE8" }, { "code": "787", "name": "Huy\u1EC7n C\u1EA7n Gi\u1EDD" }] }, { "code": "80", "name": "T\u1EC9nh Long An", "districts": [{ "code": "794", "name": "Th\xE0nh ph\u1ED1 T\xE2n An" }, { "code": "795", "name": "Th\u1ECB x\xE3 Ki\u1EBFn T\u01B0\u1EDDng" }, { "code": "796", "name": "Huy\u1EC7n T\xE2n H\u01B0ng" }, { "code": "797", "name": "Huy\u1EC7n V\u0129nh H\u01B0ng" }, { "code": "798", "name": "Huy\u1EC7n M\u1ED9c H\xF3a" }, { "code": "799", "name": "Huy\u1EC7n T\xE2n Th\u1EA1nh" }, { "code": "800", "name": "Huy\u1EC7n Th\u1EA1nh H\xF3a" }, { "code": "801", "name": "Huy\u1EC7n \u0110\u1EE9c Hu\u1EC7" }, { "code": "802", "name": "Huy\u1EC7n \u0110\u1EE9c H\xF2a" }, { "code": "803", "name": "Huy\u1EC7n B\u1EBFn L\u1EE9c" }, { "code": "804", "name": "Huy\u1EC7n Th\u1EE7 Th\u1EEBa" }, { "code": "805", "name": "Huy\u1EC7n T\xE2n Tr\u1EE5" }, { "code": "806", "name": "Huy\u1EC7n C\u1EA7n \u0110\u01B0\u1EDBc" }, { "code": "807", "name": "Huy\u1EC7n C\u1EA7n Giu\u1ED9c" }, { "code": "808", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }] }, { "code": "82", "name": "T\u1EC9nh Ti\u1EC1n Giang", "districts": [{ "code": "815", "name": "Th\xE0nh ph\u1ED1 M\u1EF9 Tho" }, { "code": "816", "name": "Th\xE0nh ph\u1ED1 G\xF2 C\xF4ng" }, { "code": "817", "name": "Th\u1ECB x\xE3 Cai L\u1EADy" }, { "code": "818", "name": "Huy\u1EC7n T\xE2n Ph\u01B0\u1EDBc" }, { "code": "819", "name": "Huy\u1EC7n C\xE1i B\xE8" }, { "code": "820", "name": "Huy\u1EC7n Cai L\u1EADy" }, { "code": "821", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "822", "name": "Huy\u1EC7n Ch\u1EE3 G\u1EA1o" }, { "code": "823", "name": "Huy\u1EC7n G\xF2 C\xF4ng T\xE2y" }, { "code": "824", "name": "Huy\u1EC7n G\xF2 C\xF4ng \u0110\xF4ng" }, { "code": "825", "name": "Huy\u1EC7n T\xE2n Ph\xFA \u0110\xF4ng" }] }, { "code": "83", "name": "T\u1EC9nh B\u1EBFn Tre", "districts": [{ "code": "829", "name": "Th\xE0nh ph\u1ED1 B\u1EBFn Tre" }, { "code": "831", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "832", "name": "Huy\u1EC7n Ch\u1EE3 L\xE1ch" }, { "code": "833", "name": "Huy\u1EC7n M\u1ECF C\xE0y Nam" }, { "code": "834", "name": "Huy\u1EC7n Gi\u1ED3ng Tr\xF4m" }, { "code": "835", "name": "Huy\u1EC7n B\xECnh \u0110\u1EA1i" }, { "code": "836", "name": "Huy\u1EC7n Ba Tri" }, { "code": "837", "name": "Huy\u1EC7n Th\u1EA1nh Ph\xFA" }, { "code": "838", "name": "Huy\u1EC7n M\u1ECF C\xE0y B\u1EAFc" }] }, { "code": "84", "name": "T\u1EC9nh Tr\xE0 Vinh", "districts": [{ "code": "842", "name": "Th\xE0nh ph\u1ED1 Tr\xE0 Vinh" }, { "code": "844", "name": "Huy\u1EC7n C\xE0ng Long" }, { "code": "845", "name": "Huy\u1EC7n C\u1EA7u K\xE8" }, { "code": "846", "name": "Huy\u1EC7n Ti\u1EC3u C\u1EA7n" }, { "code": "847", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "848", "name": "Huy\u1EC7n C\u1EA7u Ngang" }, { "code": "849", "name": "Huy\u1EC7n Tr\xE0 C\xFA" }, { "code": "850", "name": "Huy\u1EC7n Duy\xEAn H\u1EA3i" }, { "code": "851", "name": "Th\u1ECB x\xE3 Duy\xEAn H\u1EA3i" }] }, { "code": "86", "name": "T\u1EC9nh V\u0129nh Long", "districts": [{ "code": "855", "name": "Th\xE0nh ph\u1ED1 V\u0129nh Long" }, { "code": "857", "name": "Huy\u1EC7n Long H\u1ED3" }, { "code": "858", "name": "Huy\u1EC7n Mang Th\xEDt" }, { "code": "859", "name": "Huy\u1EC7n V\u0169ng Li\xEAm" }, { "code": "860", "name": "Huy\u1EC7n Tam B\xECnh" }, { "code": "861", "name": "Th\u1ECB x\xE3 B\xECnh Minh" }, { "code": "862", "name": "Huy\u1EC7n Tr\xE0 \xD4n" }, { "code": "863", "name": "Huy\u1EC7n B\xECnh T\xE2n" }] }, { "code": "87", "name": "T\u1EC9nh \u0110\u1ED3ng Th\xE1p", "districts": [{ "code": "866", "name": "Th\xE0nh ph\u1ED1 Cao L\xE3nh" }, { "code": "867", "name": "Th\xE0nh ph\u1ED1 Sa \u0110\xE9c" }, { "code": "868", "name": "Th\xE0nh ph\u1ED1 H\u1ED3ng Ng\u1EF1" }, { "code": "869", "name": "Huy\u1EC7n T\xE2n H\u1ED3ng" }, { "code": "870", "name": "Huy\u1EC7n H\u1ED3ng Ng\u1EF1" }, { "code": "871", "name": "Huy\u1EC7n Tam N\xF4ng" }, { "code": "872", "name": "Huy\u1EC7n Th\xE1p M\u01B0\u1EDDi" }, { "code": "873", "name": "Huy\u1EC7n Cao L\xE3nh" }, { "code": "874", "name": "Huy\u1EC7n Thanh B\xECnh" }, { "code": "875", "name": "Huy\u1EC7n L\u1EA5p V\xF2" }, { "code": "876", "name": "Huy\u1EC7n Lai Vung" }, { "code": "877", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }] }, { "code": "89", "name": "T\u1EC9nh An Giang", "districts": [{ "code": "883", "name": "Th\xE0nh ph\u1ED1 Long Xuy\xEAn" }, { "code": "884", "name": "Th\xE0nh ph\u1ED1 Ch\xE2u \u0110\u1ED1c" }, { "code": "886", "name": "Huy\u1EC7n An Ph\xFA" }, { "code": "887", "name": "Th\u1ECB x\xE3 T\xE2n Ch\xE2u" }, { "code": "888", "name": "Huy\u1EC7n Ph\xFA T\xE2n" }, { "code": "889", "name": "Huy\u1EC7n Ch\xE2u Ph\xFA" }, { "code": "890", "name": "Th\u1ECB x\xE3 T\u1ECBnh Bi\xEAn" }, { "code": "891", "name": "Huy\u1EC7n Tri T\xF4n" }, { "code": "892", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "893", "name": "Huy\u1EC7n Ch\u1EE3 M\u1EDBi" }, { "code": "894", "name": "Huy\u1EC7n Tho\u1EA1i S\u01A1n" }] }, { "code": "91", "name": "T\u1EC9nh Ki\xEAn Giang", "districts": [{ "code": "899", "name": "Th\xE0nh ph\u1ED1 R\u1EA1ch Gi\xE1" }, { "code": "900", "name": "Th\xE0nh ph\u1ED1 H\xE0 Ti\xEAn" }, { "code": "902", "name": "Huy\u1EC7n Ki\xEAn L\u01B0\u01A1ng" }, { "code": "903", "name": "Huy\u1EC7n H\xF2n \u0110\u1EA5t" }, { "code": "904", "name": "Huy\u1EC7n T\xE2n Hi\u1EC7p" }, { "code": "905", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "906", "name": "Huy\u1EC7n Gi\u1ED3ng Ri\u1EC1ng" }, { "code": "907", "name": "Huy\u1EC7n G\xF2 Quao" }, { "code": "908", "name": "Huy\u1EC7n An Bi\xEAn" }, { "code": "909", "name": "Huy\u1EC7n An Minh" }, { "code": "910", "name": "Huy\u1EC7n V\u0129nh Thu\u1EADn" }, { "code": "911", "name": "Th\xE0nh ph\u1ED1 Ph\xFA Qu\u1ED1c" }, { "code": "912", "name": "Huy\u1EC7n Ki\xEAn H\u1EA3i" }, { "code": "913", "name": "Huy\u1EC7n U Minh Th\u01B0\u1EE3ng" }, { "code": "914", "name": "Huy\u1EC7n Giang Th\xE0nh" }] }, { "code": "92", "name": "Th\xE0nh ph\u1ED1 C\u1EA7n Th\u01A1", "districts": [{ "code": "916", "name": "Qu\u1EADn Ninh Ki\u1EC1u" }, { "code": "917", "name": "Qu\u1EADn \xD4 M\xF4n" }, { "code": "918", "name": "Qu\u1EADn B\xECnh Thu\u1EF7" }, { "code": "919", "name": "Qu\u1EADn C\xE1i R\u0103ng" }, { "code": "923", "name": "Qu\u1EADn Th\u1ED1t N\u1ED1t" }, { "code": "924", "name": "Huy\u1EC7n V\u0129nh Th\u1EA1nh" }, { "code": "925", "name": "Huy\u1EC7n C\u1EDD \u0110\u1ECF" }, { "code": "926", "name": "Huy\u1EC7n Phong \u0110i\u1EC1n" }, { "code": "927", "name": "Huy\u1EC7n Th\u1EDBi Lai" }] }, { "code": "93", "name": "T\u1EC9nh H\u1EADu Giang", "districts": [{ "code": "930", "name": "Th\xE0nh ph\u1ED1 V\u1ECB Thanh" }, { "code": "931", "name": "Th\xE0nh ph\u1ED1 Ng\xE3 B\u1EA3y" }, { "code": "932", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh A" }, { "code": "933", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "934", "name": "Huy\u1EC7n Ph\u1EE5ng Hi\u1EC7p" }, { "code": "935", "name": "Huy\u1EC7n V\u1ECB Thu\u1EF7" }, { "code": "936", "name": "Huy\u1EC7n Long M\u1EF9" }, { "code": "937", "name": "Th\u1ECB x\xE3 Long M\u1EF9" }] }, { "code": "94", "name": "T\u1EC9nh S\xF3c Tr\u0103ng", "districts": [{ "code": "941", "name": "Th\xE0nh ph\u1ED1 S\xF3c Tr\u0103ng" }, { "code": "942", "name": "Huy\u1EC7n Ch\xE2u Th\xE0nh" }, { "code": "943", "name": "Huy\u1EC7n K\u1EBF S\xE1ch" }, { "code": "944", "name": "Huy\u1EC7n M\u1EF9 T\xFA" }, { "code": "945", "name": "Huy\u1EC7n C\xF9 Lao Dung" }, { "code": "946", "name": "Huy\u1EC7n Long Ph\xFA" }, { "code": "947", "name": "Huy\u1EC7n M\u1EF9 Xuy\xEAn" }, { "code": "948", "name": "Th\u1ECB x\xE3 Ng\xE3 N\u0103m" }, { "code": "949", "name": "Huy\u1EC7n Th\u1EA1nh Tr\u1ECB" }, { "code": "950", "name": "Th\u1ECB x\xE3 V\u0129nh Ch\xE2u" }, { "code": "951", "name": "Huy\u1EC7n Tr\u1EA7n \u0110\u1EC1" }] }, { "code": "95", "name": "T\u1EC9nh B\u1EA1c Li\xEAu", "districts": [{ "code": "954", "name": "Th\xE0nh ph\u1ED1 B\u1EA1c Li\xEAu" }, { "code": "956", "name": "Huy\u1EC7n H\u1ED3ng D\xE2n" }, { "code": "957", "name": "Huy\u1EC7n Ph\u01B0\u1EDBc Long" }, { "code": "958", "name": "Huy\u1EC7n V\u0129nh L\u1EE3i" }, { "code": "959", "name": "Th\u1ECB x\xE3 Gi\xE1 Rai" }, { "code": "960", "name": "Huy\u1EC7n \u0110\xF4ng H\u1EA3i" }, { "code": "961", "name": "Huy\u1EC7n Ho\xE0 B\xECnh" }] }, { "code": "96", "name": "T\u1EC9nh C\xE0 Mau", "districts": [{ "code": "964", "name": "Th\xE0nh ph\u1ED1 C\xE0 Mau" }, { "code": "966", "name": "Huy\u1EC7n U Minh" }, { "code": "967", "name": "Huy\u1EC7n Th\u1EDBi B\xECnh" }, { "code": "968", "name": "Huy\u1EC7n Tr\u1EA7n V\u0103n Th\u1EDDi" }, { "code": "969", "name": "Huy\u1EC7n C\xE1i N\u01B0\u1EDBc" }, { "code": "970", "name": "Huy\u1EC7n \u0110\u1EA7m D\u01A1i" }, { "code": "971", "name": "Huy\u1EC7n N\u0103m C\u0103n" }, { "code": "972", "name": "Huy\u1EC7n Ph\xFA T\xE2n" }, { "code": "973", "name": "Huy\u1EC7n Ng\u1ECDc Hi\u1EC3n" }] }];
2488
+
2489
+ // src/wikex/partner/broker-validation.ts
2490
+ function brokerIssueDateError(value, english, pickerInvalid = false, today = registrationToday()) {
2491
+ if (pickerInvalid) return english ? "Enter a valid issue date, no later than today." : "Ng\xE0y c\u1EA5p kh\xF4ng h\u1EE3p l\u1EC7 ho\u1EB7c n\u1EB1m trong t\u01B0\u01A1ng lai.";
2492
+ if (!value) return english ? "Select the ID issue date." : "Vui l\xF2ng ch\u1ECDn ng\xE0y c\u1EA5p CCCD.";
2493
+ if (isValidRegistrationIssueDate(value, today)) return "";
2494
+ return english ? "Enter a valid issue date in DD/MM/YYYY format, no later than today." : "Nh\u1EADp ng\xE0y c\u1EA5p h\u1EE3p l\u1EC7 theo DD/MM/YYYY, kh\xF4ng \u0111\u01B0\u1EE3c sau h\xF4m nay.";
2495
+ }
2496
+ function validateBrokerForm(values, english, pickerInvalid = false) {
2497
+ const errors = {};
2498
+ const text = (name2) => String(values.get(name2) ?? "").trim();
2499
+ const name = text("name"), email = text("email"), phone = text("phone"), account = text("accountName");
2500
+ if (name.length < 2 || name.length > 120) errors.name = english ? "Enter your full name (2\u2013120 characters)." : "Nh\u1EADp h\u1ECD v\xE0 t\xEAn t\u1EEB 2 \u0111\u1EBFn 120 k\xFD t\u1EF1.";
2501
+ if (email.length > 254 || !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) errors.email = english ? "Enter a valid email address." : "Vui l\xF2ng nh\u1EADp \u0111\u1ECBa ch\u1EC9 email h\u1EE3p l\u1EC7.";
2502
+ if (!/^[A-Za-z0-9._@-]{2,120}$/.test(account)) errors.accountName = english ? "Use 2\u2013120 letters, numbers, dots, underscores, @ or hyphens." : "T\xE0i kho\u1EA3n g\u1ED3m 2\u2013120 k\xFD t\u1EF1: ch\u1EEF kh\xF4ng d\u1EA5u, s\u1ED1, d\u1EA5u ch\u1EA5m, g\u1EA1ch d\u01B0\u1EDBi, @ ho\u1EB7c g\u1EA1ch ngang.";
2503
+ const digits = phone.replace(/\D/g, "");
2504
+ if (!/^\+?[0-9 ()\-.]+$/.test(phone) || digits.length < 9 || digits.length > 15 || phone.length > 30) errors.phone = english ? "Enter a valid phone number (9\u201315 digits)." : "Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i h\u1EE3p l\u1EC7 t\u1EEB 9 \u0111\u1EBFn 15 ch\u1EEF s\u1ED1.";
2505
+ if (!/^\d{12}$/.test(text("identityNumber"))) errors.identityNumber = english ? "The ID number must contain 12 digits." : "S\u1ED1 CCCD ph\u1EA3i g\u1ED3m \u0111\xFAng 12 ch\u1EEF s\u1ED1.";
2506
+ const dateError = brokerIssueDateError(text("identityIssuedDate"), english, pickerInvalid);
2507
+ if (dateError) errors.identityIssuedDate = dateError;
2508
+ if (!["B\u1ED9 C\xF4ng An", "C\u1EE5c C\u1EA3nh S\xE1t"].includes(text("identityIssuedPlace"))) errors.identityIssuedPlace = english ? "Select the place of issue." : "Vui l\xF2ng ch\u1ECDn n\u01A1i c\u1EA5p CCCD.";
2509
+ const province = partnerProvinces.find((item) => item.code === text("province"));
2510
+ if (!province) errors.province = english ? "Select a province / city." : "Vui l\xF2ng ch\u1ECDn t\u1EC9nh / th\xE0nh ph\u1ED1.";
2511
+ if (!province?.districts.some((item) => item.code === text("district"))) errors.district = english ? "Select a district in this province." : "Vui l\xF2ng ch\u1ECDn qu\u1EADn / huy\u1EC7n thu\u1ED9c t\u1EC9nh \u0111\xE3 ch\u1ECDn.";
2512
+ if (text("address").length < 2 || text("address").length > 500) errors.address = english ? "Enter your street address (2\u2013500 characters)." : "Nh\u1EADp \u0111\u1ECBa ch\u1EC9 c\u1EE5 th\u1EC3 t\u1EEB 2 \u0111\u1EBFn 500 k\xFD t\u1EF1.";
2513
+ for (const side of ["front", "back"]) {
2514
+ const key = `identity-${side}`;
2515
+ const file = values.get(key);
2516
+ if (!(file instanceof File) || !file.size) errors[key] = english ? `Upload the ${side} of your ID.` : `Vui l\xF2ng t\u1EA3i \u1EA3nh CCCD m\u1EB7t ${side === "front" ? "tr\u01B0\u1EDBc" : "sau"}.`;
2517
+ else if (!["image/jpeg", "image/png", "image/webp"].includes(file.type)) errors[key] = english ? "Choose a JPG, PNG or WebP image." : "Vui l\xF2ng ch\u1ECDn \u1EA3nh JPG, PNG ho\u1EB7c WebP.";
2518
+ else if (file.size > 5 * 1024 * 1024) errors[key] = english ? "Maximum image size is 5MB." : "Dung l\u01B0\u1EE3ng \u1EA3nh kh\xF4ng \u0111\u01B0\u1EE3c v\u01B0\u1EE3t qu\xE1 5MB.";
2519
+ }
2520
+ return errors;
2521
+ }
2522
+
2523
+ // src/wikex/partner/PartnerSelectField.tsx
2524
+ var import_react7 = require("react");
2525
+ var import_Select = __toESM(require("@mui/material/Select"));
2526
+ var import_MenuItem = __toESM(require("@mui/material/MenuItem"));
2527
+ var import_jsx_runtime9 = require("react/jsx-runtime");
2528
+ function DropdownIcon({ className }) {
2529
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("img", { className, src: "/partner-assets/broker-dropdown.svg", width: 20, height: 20, alt: "", "aria-hidden": "true" });
2530
+ }
2531
+ function PartnerSelectField({ name, field, label, placeholderField, placeholder, value, options, disabled = false, error, onChange }) {
2532
+ const id = (0, import_react7.useId)();
2533
+ const root = (0, import_react7.useRef)(null);
2534
+ const text = usePartnerText();
2535
+ const [scrollLocked, setScrollLocked] = (0, import_react7.useState)(false);
2536
+ usePartnerSelectScrollLock(scrollLocked, root);
2537
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "ib-field", "data-broker-field": name, "data-invalid": Boolean(error) || void 0, ref: root, children: [
2538
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "ib-label", id: `${id}-label`, children: [
2539
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PartnerText, { as: "span", field: `registration.${field}`, children: label }),
2540
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { "aria-hidden": "true", children: "*" })
2541
+ ] }),
2542
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2543
+ import_Select.default,
2544
+ {
2545
+ className: "ib-mui-select",
2546
+ fullWidth: true,
2547
+ displayEmpty: true,
2548
+ required: true,
2549
+ disabled,
2550
+ error: Boolean(error),
2551
+ inputProps: { "aria-describedby": error ? `${id}-error` : void 0 },
2552
+ labelId: `${id}-label`,
2553
+ id: `${id}-select`,
2554
+ name,
2555
+ value,
2556
+ onChange: (event) => onChange(event.target.value),
2557
+ onOpen: () => setScrollLocked(true),
2558
+ IconComponent: DropdownIcon,
2559
+ renderValue: (selected) => options.find((option) => option.value === selected)?.label ?? text(`registration.${placeholderField}`, placeholder),
2560
+ sx: {
2561
+ height: 44,
2562
+ transition: "background-color 180ms ease, color 180ms ease, box-shadow 180ms ease",
2563
+ borderRadius: "8px",
2564
+ bgcolor: "#1c1f24",
2565
+ color: value ? "#fff" : "#4e5560",
2566
+ fontFamily: "var(--font-inter), Arial, sans-serif",
2567
+ fontSize: 14,
2568
+ lineHeight: "18px",
2569
+ "& .MuiSelect-select": { padding: "12px 40px 12px 16px", minHeight: "0 !important", lineHeight: "18px" },
2570
+ "& .MuiOutlinedInput-notchedOutline": { borderColor: "transparent", transition: "border-color 180ms ease" },
2571
+ "&.Mui-error .MuiOutlinedInput-notchedOutline": { borderColor: "#f04438" },
2572
+ "&.Mui-disabled": { color: "#707580", cursor: "not-allowed" },
2573
+ "&.Mui-disabled .MuiSelect-select": { WebkitTextFillColor: "#707580" },
2574
+ "&.Mui-disabled .MuiOutlinedInput-notchedOutline": { borderColor: "transparent" },
2575
+ "& .MuiSelect-nativeInput": { opacity: 0 },
2576
+ "&:hover .MuiOutlinedInput-notchedOutline": { borderColor: "#4e5560" },
2577
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: "#f9bb3a", borderWidth: 1 },
2578
+ "&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: "#f04438" },
2579
+ "& .MuiSelect-icon": { right: 12, top: "calc(50% - 10px)", width: 20, height: 20, transition: "transform 180ms ease, opacity 180ms ease" }
2580
+ },
2581
+ MenuProps: {
2582
+ container: () => root.current?.ownerDocument.body ?? document.body,
2583
+ disableScrollLock: true,
2584
+ transitionDuration: { enter: 180, exit: 120 },
2585
+ slotProps: {
2586
+ transition: { onExited: () => setScrollLocked(false) },
2587
+ paper: { ...{ "data-lenis-prevent": true }, sx: { overscrollBehavior: "contain", scrollbarColor: "#707580 #1c1f24", "@media (prefers-reduced-motion: reduce)": { transition: "none !important" }, mt: 0.5, maxHeight: 320, p: 0, bgcolor: "#1c1f24", backgroundImage: "none", backdropFilter: "none", WebkitBackdropFilter: "none", color: "#fff", "& .MuiList-root": { p: 1 }, outline: "1px solid #252b34", borderRadius: "8px" } },
2588
+ list: { sx: { p: 1 } }
2589
+ }
2590
+ },
2591
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_MenuItem.default, { value: option.value, sx: {
2592
+ transition: "background-color 160ms ease",
2593
+ "@media (prefers-reduced-motion: reduce)": { transition: "none" },
2594
+ display: "flex",
2595
+ alignItems: "flex-start",
2596
+ gap: "6px",
2597
+ minHeight: "38px !important",
2598
+ p: "10px 8px",
2599
+ borderRadius: "8px",
2600
+ fontFamily: "var(--font-inter), Arial, sans-serif",
2601
+ fontSize: 14,
2602
+ fontWeight: 500,
2603
+ lineHeight: "18px",
2604
+ whiteSpace: "normal",
2605
+ "&:not(:last-of-type)": { marginBottom: 0 },
2606
+ "&.Mui-selected": { bgcolor: "transparent", fontWeight: 500 },
2607
+ "&.Mui-selected:hover, &:hover": { bgcolor: "#ffffff0a" },
2608
+ "&.Mui-focusVisible": { bgcolor: "#f9bb3a1a" }
2609
+ }, children: [
2610
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { style: { flex: 1 }, children: option.label }),
2611
+ value === option.value ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("img", { src: "/partner-assets/broker-option-selected.svg", width: 18, height: 18, alt: "", "aria-hidden": "true" }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { "aria-hidden": "true", style: { width: 15, height: 15, margin: 1.5, border: "1.5px solid #9ea3ad", borderRadius: "50%", flexShrink: 0 } })
2612
+ ] }, option.value))
2613
+ }
2614
+ ),
2615
+ error && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { id: `${id}-error`, className: "ib-field-error", role: "alert", children: error })
2616
+ ] });
2617
+ }
2618
+
2619
+ // src/wikex/partner/PartnerBrokerForm.tsx
2620
+ var import_jsx_runtime10 = require("react/jsx-runtime");
2621
+ function IdentityUpload({ side, disabled, version, error }) {
2622
+ const english = usePartnerLanguage() === "en";
2623
+ const id = (0, import_react8.useId)();
2624
+ const [file, setFile] = (0, import_react8.useState)(null);
2625
+ const [preview, setPreview] = (0, import_react8.useState)("");
2626
+ const [fileError, setError] = (0, import_react8.useState)("");
2627
+ (0, import_react8.useEffect)(() => {
2628
+ setFile(null);
2629
+ setError("");
2630
+ }, [version]);
2631
+ (0, import_react8.useEffect)(() => {
2632
+ if (!file) {
2633
+ setPreview("");
2634
+ return;
2635
+ }
2636
+ const url = URL.createObjectURL(file);
2637
+ setPreview(url);
2638
+ return () => URL.revokeObjectURL(url);
2639
+ }, [file]);
2640
+ const title = side === "front" ? "CCCD m\u1EB7t tr\u01B0\u1EDBc" : "CCCD m\u1EB7t sau";
2641
+ const select = (event) => {
2642
+ const input = event.currentTarget;
2643
+ const next = input.files?.[0];
2644
+ if (!next) return;
2645
+ const message2 = !["image/jpeg", "image/png", "image/webp"].includes(next.type) ? english ? "Choose a JPG, PNG or WebP image." : "Vui l\xF2ng ch\u1ECDn \u1EA3nh JPG, PNG ho\u1EB7c WebP." : next.size > 5 * 1024 * 1024 || !next.size ? english ? "Choose a non-empty image up to 5MB." : "Vui l\xF2ng ch\u1ECDn \u1EA3nh c\xF3 dung l\u01B0\u1EE3ng t\u1ED1i \u0111a 5MB." : "";
2646
+ setError(message2);
2647
+ input.setCustomValidity(message2);
2648
+ setFile(message2 ? null : next);
2649
+ };
2650
+ const message = fileError || error;
2651
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-identity-field", "data-broker-field": `identity-${side}`, "data-invalid": Boolean(message) || void 0, children: [
2652
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { className: "ib-identity-upload", htmlFor: id, "data-selected": Boolean(file) || void 0, children: [
2653
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { id, name: `identity-${side}`, type: "file", required: true, accept: "image/jpeg,image/png,image/webp", disabled, onChange: select, "aria-describedby": `${id}-hint${message ? ` ${id}-error` : ""}`, "aria-invalid": Boolean(message) }),
2654
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "ib-identity-thumbnail", children: preview ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("img", { src: preview, alt: english ? `Selected ID ${side}` : `\u1EA2nh ${title} \u0111\xE3 ch\u1ECDn` }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerImage, { src: "/partner-assets/broker-upload-plus.svg", width: 24, height: 24, alt: "", "aria-hidden": "true" }) }),
2655
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "ib-identity-copy", children: [
2656
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "span", field: `registration.${side}Title`, children: title }),
2657
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "span", field: "registration.uploadHint", id: `${id}-hint`, children: "Dung l\u01B0\u1EE3ng t\u1ED1i \u0111a 5MB." }),
2658
+ file && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "ib-identity-filename", title: file.name, children: file.name })
2659
+ ] })
2660
+ ] }),
2661
+ file && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "ib-identity-remove", type: "button", disabled, "aria-label": english ? `Remove ${side} image` : `X\xF3a \u1EA3nh ${title}`, onClick: () => {
2662
+ const input = document.getElementById(id);
2663
+ if (input) {
2664
+ input.value = "";
2665
+ input.setCustomValidity("");
2666
+ }
2667
+ setFile(null);
2668
+ setError("");
2669
+ }, children: "\xD7" }),
2670
+ message && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { id: `${id}-error`, className: "ib-field-error", role: "alert", children: message })
2671
+ ] });
2672
+ }
2673
+ function PartnerBrokerForm() {
2674
+ const editing = usePartnerEditing();
2675
+ const text = usePartnerText();
2676
+ const language = usePartnerLanguage();
2677
+ const labels = usePartnerLabels();
2678
+ const english = language === "en";
2679
+ const id = (0, import_react8.useId)();
2680
+ const [email, setEmail] = (0, import_react8.useState)("");
2681
+ const [province, setProvince] = (0, import_react8.useState)("");
2682
+ const [district, setDistrict] = (0, import_react8.useState)("");
2683
+ const [issuedPlace, setIssuedPlace] = (0, import_react8.useState)("");
2684
+ const [dateInvalid, setDateInvalid] = (0, import_react8.useState)(false);
2685
+ const [errors, setErrors] = (0, import_react8.useState)({});
2686
+ const districts = partnerProvinces.find((item) => item.code === province)?.districts ?? [];
2687
+ const { pending, formVersion, remaining, notice, invalidNotice, clearValidation, submit, dismissNotice } = useRegistrationForm({
2688
+ kind: "broker",
2689
+ language,
2690
+ editable: editing?.editable,
2691
+ onSubmit: editing?.onConsultationSubmit,
2692
+ onSuccess: () => {
2693
+ setEmail("");
2694
+ setProvince("");
2695
+ setDistrict("");
2696
+ setIssuedPlace("");
2697
+ setDateInvalid(false);
2698
+ setErrors({});
2699
+ }
2700
+ });
2701
+ const updateError = (name, message) => setErrors((current) => {
2702
+ if ((current[name] || "") === (message || "")) return current;
2703
+ const next = { ...current };
2704
+ if (message) next[name] = message;
2705
+ else delete next[name];
2706
+ return next;
2707
+ });
2708
+ const clearErrors = (...names) => setErrors((current) => {
2709
+ if (!names.some((name) => current[name])) return current;
2710
+ const next = { ...current };
2711
+ names.forEach((name) => delete next[name]);
2712
+ return next;
2713
+ });
2714
+ const field = (name, key, label, children, required = true) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { className: "ib-field", "data-broker-field": name, "data-invalid": Boolean(errors[name]) || void 0, htmlFor: `${id}-${name}`, children: [
2715
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "ib-label", children: [
2716
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "span", field: `registration.${key}`, children: label }),
2717
+ required && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("b", { "aria-hidden": "true", children: "*" })
2718
+ ] }),
2719
+ children,
2720
+ errors[name] && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { id: `${id}-${name}-error`, className: "ib-field-error", role: "alert", children: errors[name] })
2721
+ ] });
2722
+ const input = (name, placeholderKey, placeholder, props = {}) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(InputCommon, { id: `${id}-${name}`, name, placeholder: text(`registration.${placeholderKey}`, placeholder), required: true, maxLength: 120, disabled: pending, error: Boolean(errors[name]), "aria-invalid": Boolean(errors[name]), "aria-describedby": errors[name] ? `${id}-${name}-error` : void 0, ...props });
2723
+ const handleInput = (event) => {
2724
+ clearValidation(event);
2725
+ const target = event.target;
2726
+ if (target.name && errors[target.name]) updateError(target.name, validateBrokerForm(new FormData(event.currentTarget), english, dateInvalid)[target.name]);
2727
+ };
2728
+ const handleBlur = (event) => {
2729
+ const target = event.target;
2730
+ if (typeof target.closest !== "function") return;
2731
+ const fieldRoot = target.closest("[data-broker-field]");
2732
+ if (!fieldRoot || event.relatedTarget instanceof Node && fieldRoot.contains(event.relatedTarget)) return;
2733
+ if (event.relatedTarget?.closest?.("[role=dialog], [role=listbox]")) return;
2734
+ const name = fieldRoot.dataset.brokerField;
2735
+ if (name) updateError(name, validateBrokerForm(new FormData(event.currentTarget), english, dateInvalid)[name]);
2736
+ };
2737
+ const handleSubmit = (event) => {
2738
+ event.preventDefault();
2739
+ const next = validateBrokerForm(new FormData(event.currentTarget), english, dateInvalid);
2740
+ setErrors(next);
2741
+ const first = Object.keys(next)[0];
2742
+ if (first) {
2743
+ invalidNotice();
2744
+ const fieldRoot = event.currentTarget.querySelector(`[data-broker-field="${first}"]`);
2745
+ fieldRoot?.scrollIntoView({ block: "center", behavior: "instant" });
2746
+ fieldRoot?.querySelector("input:not([type=hidden]):not([aria-hidden=true]), textarea, [role=combobox], [role=spinbutton], button")?.focus({ preventScroll: true });
2747
+ return;
2748
+ }
2749
+ void submit(event);
2750
+ };
2751
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
2752
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("form", { className: "ib-form ib-broker-form", id: "register", "data-broker-form": true, noValidate: true, "aria-labelledby": `${id}-title`, "aria-busy": pending, onInvalid: invalidNotice, onInput: handleInput, onBlur: handleBlur, onSubmit: handleSubmit, children: [
2753
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "h2", field: "registration.brokerTitle", id: `${id}-title`, children: "Tr\u1EDF th\xE0nh m\xF4i gi\u1EDBi" }),
2754
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { hidden: true, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("input", { name: "website", tabIndex: -1, autoComplete: "off" }) }),
2755
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-fields", children: [
2756
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-field-row", children: [
2757
+ field("name", "label0", "H\u1ECD v\xE0 t\xEAn", input("name", "placeholder0", "Nh\u1EADp h\u1ECD v\xE0 t\xEAn", registrationFieldProps.name)),
2758
+ field("email", "label1", "Email", /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-email-control", children: [
2759
+ input("email", "placeholder1", "Nh\u1EADp email", { ...registrationFieldProps.email, value: email, onChange: (event) => setEmail(event.target.value) }),
2760
+ email && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { className: "ib-email-clear", type: "button", disabled: pending, "aria-label": labels.clearEmail, onClick: () => {
2761
+ setEmail("");
2762
+ clearErrors("email");
2763
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerImage, { src: "/partner-assets/broker-close.svg", width: 16, height: 16, alt: "" }) })
2764
+ ] }))
2765
+ ] }),
2766
+ field("accountName", "accountLabel", "T\xE0i kho\u1EA3n \u0111\u0103ng nh\u1EADp", input("accountName", "accountPlaceholder", "Nh\u1EADp t\xEAn t\xE0i kho\u1EA3n", { autoComplete: "username", minLength: 2 })),
2767
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-field-row", children: [
2768
+ field("phone", "label2", "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i", input("phone", "placeholder2", "Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i", registrationFieldProps.phone)),
2769
+ field("identityNumber", "identityLabel", "S\u1ED1 CCCD", input("identityNumber", "identityPlaceholder", "Nh\u1EADp s\u1ED1 CCCD", { inputMode: "numeric", pattern: "[0-9]{12}", minLength: 12, maxLength: 12, autoComplete: "off" }))
2770
+ ] }),
2771
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-field-row", children: [
2772
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerIssueDatePicker, { disabled: pending, error: errors.identityIssuedDate, onChange: (value, invalid) => {
2773
+ setDateInvalid(invalid);
2774
+ if (errors.identityIssuedDate || invalid) updateError("identityIssuedDate", brokerIssueDateError(value, english, invalid));
2775
+ } }),
2776
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerSelectField, { name: "identityIssuedPlace", field: "issuePlaceLabel", label: "N\u01A1i c\u1EA5p", placeholderField: "issuePlacePlaceholder", placeholder: "Ch\u1ECDn n\u01A1i c\u1EA5p", value: issuedPlace, disabled: pending, error: errors.identityIssuedPlace, onChange: (value) => {
2777
+ setIssuedPlace(value);
2778
+ clearErrors("identityIssuedPlace");
2779
+ }, options: [{ value: "B\u1ED9 C\xF4ng An", label: "B\u1ED9 C\xF4ng An" }, { value: "C\u1EE5c C\u1EA3nh S\xE1t", label: "C\u1EE5c C\u1EA3nh S\xE1t" }] })
2780
+ ] }),
2781
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-field-row", children: [
2782
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerSelectField, { name: "province", field: "provinceLabel", label: "T\u1EC9nh / Th\xE0nh Ph\u1ED1", placeholderField: "provincePlaceholder", placeholder: "Ch\u1ECDn T\u1EC9nh / Th\xE0nh Ph\u1ED1", value: province, disabled: pending, error: errors.province, onChange: (value) => {
2783
+ setProvince(value);
2784
+ setDistrict("");
2785
+ clearErrors("province", "district");
2786
+ }, options: partnerProvinces.map((item) => ({ value: item.code, label: item.name })) }),
2787
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerSelectField, { name: "district", field: "districtLabel", label: "Qu\u1EADn / Huy\u1EC7n", placeholderField: "districtPlaceholder", placeholder: "Ch\u1ECDn Qu\u1EADn / Huy\u1EC7n", value: district, disabled: pending || !province, error: errors.district, onChange: (value) => {
2788
+ setDistrict(value);
2789
+ clearErrors("district");
2790
+ }, options: districts.map((item) => ({ value: item.code, label: item.name })) })
2791
+ ] }),
2792
+ field("address", "addressLabel", "\u0110\u1ECBa ch\u1EC9 c\u1EE5 th\u1EC3", input("address", "addressPlaceholder", "Nh\u1EADp \u0111\u1ECBa ch\u1EC9 c\u1EE5 th\u1EC3", { maxLength: 500, autoComplete: "street-address" })),
2793
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "ib-field-row ib-identity-row", children: [
2794
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IdentityUpload, { side: "front", disabled: pending, version: formVersion, error: errors["identity-front"] }),
2795
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IdentityUpload, { side: "back", disabled: pending, version: formVersion, error: errors["identity-back"] })
2796
+ ] })
2797
+ ] }, formVersion),
2798
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "ib-form-submit", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerButton, { type: "submit", disabled: pending || remaining > 0, children: pending ? english ? "Sending\u2026" : "\u0110ang g\u1EEDi\u2026" : remaining > 0 ? english ? `Try again in ${remaining}s` : `G\u1EEDi l\u1EA1i sau ${remaining}s` : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PartnerText, { as: "span", field: "registration.submitLabel", children: "\u0110\u0103ng k\xFD ngay" }) }) })
2799
+ ] }),
2800
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(RegistrationToast, { notice, language, kind: "broker", onClose: dismissNotice })
2801
+ ] });
2802
+ }
2803
+
2804
+ // src/wikex/partner/PartnerHeroSection.tsx
2805
+ var import_jsx_runtime11 = require("react/jsx-runtime");
2806
+ function PartnerHeroSection() {
2807
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("section", { className: "ib-hero ib-hero--broker", "aria-labelledby": "ib-hero-title", children: [
2808
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-broker-light ib-broker-light--large", src: "/partner-assets/broker-light-large.svg", alt: "", "aria-hidden": "true" }),
2809
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerImage, { className: "ib-broker-light ib-broker-light--small", src: "/partner-assets/broker-light-small.svg", alt: "", "aria-hidden": "true" }),
2810
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-container", children: [
2811
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "ib-hero-copy", children: [
2812
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerTag, { section: "21447-29482", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "span", field: "hero.tag", children: "CH\u01AF\u01A0NG TR\xCCNH \u0110\u1ED0I T\xC1C IB" }) }),
2813
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "h1", field: "hero.title", id: "ib-hero-title", children: "M\u1EDF r\u1ED9ng t\u1EC7p kh\xE1ch h\xE0ng ph\xE1t tri\u1EC3n th\xEAm ngu\u1ED3n thu" }),
2814
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { as: "p", field: "hero.description", className: "ib-hero-description", children: "Tr\u1EDF th\xE0nh \u0111\u1ED1i t\xE1c IB c\u1EE7a Wikex, ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng v\u1EDBi h\u1EC7 th\u1ED1ng giao d\u1ECBch v\xE0 \u0111\u1ED9i ng\u0169 h\u1ED7 tr\u1EE3 chuy\xEAn nghi\u1EC7p - ho\u1EA1t \u0111\u1ED9ng d\u01B0\u1EDBi s\u1EF1 qu\u1EA3n l\xFD c\u1EE7a B\u1ED9 C\xF4ng Th\u01B0\u01A1ng th\xF4ng qua S\u1EDF Giao d\u1ECBch H\xE0ng h\xF3a Vi\u1EC7t Nam (MXV)." }),
2815
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "ib-actions", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("button", { className: "ib-button ib-button-outline", type: "button", onClick: () => scrollToPartnerSection("ib-commission"), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerText, { field: "hero.policyButton", children: "T\xECm hi\u1EC3u ch\xEDnh s\xE1ch" }) }) })
2816
+ ] }),
2817
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(PartnerBrokerForm, {})
2818
+ ] })
2819
+ ] });
2820
+ }
2821
+
2822
+ // src/wikex/partner/PartnerChallengesSection.tsx
2823
+ var import_jsx_runtime12 = require("react/jsx-runtime");
2824
+ function PartnerChallengesSection() {
2825
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { "aria-labelledby": "ib-challenges-title", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-container", children: [
2826
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "ib-challenges-heading", children: [
2827
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "h2", field: "challenges.title", id: "ib-challenges-title", children: "B\u1EA1n \u0111\xE3 c\xF3 t\u1EC7p kh\xE1ch h\xE0ng nh\u01B0ng v\u1EABn c\xF2n nhi\u1EC1u ti\u1EC1m n\u0103ng ch\u01B0a khai th\xE1c." }),
2828
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "p", field: "challenges.description", className: "ib-subtitle", children: "M\u1EDF r\u1ED9ng, ph\xE1t tri\u1EC3n c\u01A1 h\u1ED9i kinh doanh v\xE0 gia t\u0103ng ngu\u1ED3n thu t\u1EEB t\u1EC7p kh\xE1ch h\xE0ng s\u1EB5n c\xF3." })
2829
+ ] }),
2830
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "ib-challenge-grid", children: challenges.map(([title, description], index) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("article", { className: "ib-challenge", children: [
2831
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-challenge-diagonal-default", src: asset("21447-29546", "imgMngCheo"), alt: "", "aria-hidden": "true" }),
2832
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-mobile-only ib-challenge-mobile-diagonal", src: asset("21691-46181", title === challenges[0][0] ? "imgMngCheo" : "imgMngCheo1"), alt: "", "aria-hidden": "true" }),
2833
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerImage, { className: "ib-challenge-diagonal-hover", src: "/partner-assets/challenge-hover-diagonal.svg", alt: "", "aria-hidden": "true" }),
2834
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { children: [
2835
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "h3", field: `challenges.items.${index}.title`, children: title }),
2836
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("i", { "aria-hidden": "true" }),
2837
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(PartnerText, { as: "p", field: `challenges.items.${index}.description`, children: description })
2838
+ ] })
2839
+ ] }, title)) })
2840
+ ] }) });
2841
+ }
2842
+
2843
+ // src/wikex/partner/BenefitArt.tsx
2844
+ var import_jsx_runtime13 = require("react/jsx-runtime");
2845
+ var section = "21447-29585";
2846
+ function Picture({ name, x, y, w, h, mask, rotate = 0 }) {
2847
+ const style = {
2848
+ position: "absolute",
2849
+ left: x,
2850
+ top: y,
2851
+ width: w,
2852
+ height: h,
2853
+ transform: rotate ? `rotate(${rotate}deg)` : void 0,
2854
+ maskImage: mask ? `url(${asset(section, mask)})` : void 0,
2855
+ maskSize: "100% 100%",
2856
+ maskRepeat: "no-repeat"
2857
+ };
2858
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PartnerImage, { alt: "", "aria-hidden": "true", src: asset(section, name, "png"), style });
2859
+ }
2860
+ function BenefitArt({ kind }) {
2861
+ const editing = usePartnerEditing();
2862
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: `ib-benefit-art ib-benefit-art--${kind}`, "aria-hidden": editing?.editable ? void 0 : true, children: [
2863
+ kind === "products" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2864
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgGlobal", x: -150.75, y: 16.47, w: 684.17, h: 459, rotate: -8.2 }),
2865
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgHinhAnhSanPhamGiaoDich2", x: -43, y: 117.07, w: 501.451, h: 485.78, mask: "imgHinhAnhSanPhamGiaoDich1" }),
2866
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "ib-product-tint" })
2867
+ ] }),
2868
+ kind === "training" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2869
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgImage1", x: 174.33, y: 68, w: 232, h: 232, mask: "imgImage" }),
2870
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D", x: 91.33, y: 158, w: 103, h: 88 }),
2871
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D1", x: 316.33, y: 86, w: 65, h: 52 })
2872
+ ] }),
2873
+ kind === "materials" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2874
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgImage3", x: 152.67, y: 26, w: 262.667, h: 262.667, mask: "imgImage2" }),
2875
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D2", x: 308.24, y: 87.43, w: 66, h: 51, rotate: 6.23 }),
2876
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D3", x: 129.67, y: 156, w: 66, h: 56 }),
2877
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D4", x: 147.67, y: 138, w: 73, h: 62 })
2878
+ ] }),
2879
+ kind === "tools" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2880
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgImage7", x: 165.33, y: 89, w: 199, h: 199, mask: "imgImage6" }),
2881
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D7", x: 170.33, y: 142, w: 60, h: 52 }),
2882
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D8", x: 306.5, y: 168.5, w: 69.871, h: 52.733, rotate: 2.62 }),
2883
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective23D", x: 326.33, y: 117, w: 46, h: 37 })
2884
+ ] }),
2885
+ kind === "marketing" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2886
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgImage5", x: 145.67, y: 39, w: 274, h: 274, mask: "imgImage4" }),
2887
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D5", x: 288.74, y: 110.75, w: 39.348, h: 43.282, rotate: 8.77 }),
2888
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Picture, { name: "imgPerspective13D6", x: 157.67, y: 138, w: 34, h: 37.517 })
2889
+ ] })
2890
+ ] });
2891
+ }
2892
+
2893
+ // src/wikex/partner/MobileBenefitArt.tsx
2894
+ var import_jsx_runtime14 = require("react/jsx-runtime");
2895
+ var section2 = "21691-46223";
2896
+ var layers = {
2897
+ products: [
2898
+ ["imgGlobal", -89.56, -65.44, 495.636, 332.52, void 0, -8.2],
2899
+ ["imgHinhAnhSanPhamGiaoDich2", 106, 16.489, 232.12, 224.866, "imgHinhAnhSanPhamGiaoDich1"]
2900
+ ],
2901
+ training: [
2902
+ ["imgImage1", 153.4, 45.489, 185.6, 185.6, "imgImage"],
2903
+ ["imgPerspective13D", 87, 117.489, 82.4, 70.4],
2904
+ ["imgPerspective13D1", 267, 59.889, 52, 41.6]
2905
+ ],
2906
+ materials: [
2907
+ ["imgImage3", 139.4, 10.489, 210.133, 210.133, "imgImage2"],
2908
+ ["imgPerspective13D2", 268.29, 59.63, 52.8, 40.8, void 0, 6.23],
2909
+ ["imgPerspective13D3", 121, 114.489, 52.8, 44.8],
2910
+ ["imgPerspective13D4", 135.4, 100.089, 58.4, 49.6]
2911
+ ],
2912
+ marketing: [
2913
+ ["imgImage5", 133, 21.489, 219.2, 219.2, "imgImage4"],
2914
+ ["imgPerspective13D5", 252.74, 78.89, 31.478, 34.626, void 0, 8.77],
2915
+ ["imgPerspective13D6", 142.6, 100.689, 27.2, 30.014]
2916
+ ],
2917
+ tools: [
2918
+ ["imgImage7", 156, 57.489, 159.2, 159.2, "imgImage6"],
2919
+ ["imgPerspective13D7", 160, 99.889, 48, 41.6],
2920
+ ["imgPerspective13D8", 268.94, 121.09, 55.897, 42.186, void 0, 2.62],
2921
+ ["imgPerspective23D", 284.8, 79.889, 36.8, 29.6]
2922
+ ]
2923
+ };
2924
+ function MobileBenefitArt({ kind }) {
2925
+ const editing = usePartnerEditing();
2926
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: `ib-mobile-benefit-art ib-mobile-benefit-art--${kind}`, "aria-hidden": editing?.editable ? void 0 : true, children: [
2927
+ kind === "products" && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
2928
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "ib-mobile-products-global", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "ib-mobile-products-global-frame", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerImage, { alt: "", src: asset(section2, "imgGlobal", "png") }) }) }),
2929
+ layers.products.slice(1).map(([name, x, y, width, height, mask]) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerImage, { alt: "", src: asset(section2, name, "png"), style: { position: "absolute", left: x, top: y, width, height, maskImage: mask ? `url(${asset(section2, mask)})` : void 0, maskSize: "100% 100%", maskRepeat: "no-repeat" } }, name)),
2930
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "ib-mobile-products-tint" })
2931
+ ] }),
2932
+ kind !== "products" && layers[kind].map(([name, x, y, width, height, mask, rotate]) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(PartnerImage, { alt: "", src: asset(section2, name, "png"), style: { position: "absolute", left: x, top: y, width, height, transform: rotate ? `rotate(${rotate}deg)` : void 0, maskImage: mask ? `url(${asset(section2, mask)})` : void 0, maskSize: "100% 100%", maskRepeat: "no-repeat" } }, name))
2933
+ ] });
2934
+ }
2935
+
2936
+ // src/wikex/partner/PartnerBenefitsSection.tsx
2937
+ var import_jsx_runtime15 = require("react/jsx-runtime");
2938
+ var benefitImages = { products: "imgHinhAnhSanPhamGiaoDich2", training: "imgImage1", materials: "imgImage3", tools: "imgImage7", marketing: "imgImage5" };
2939
+ function PartnerBenefitsSection() {
2940
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("section", { className: "ib-benefits", "aria-labelledby": "ib-benefits-title", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "ib-container", children: [
2941
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerText, { as: "h2", field: "benefits.title", id: "ib-benefits-title", children: "Wikex mang \u0111\u1EBFn g\xEC cho \u0111\u1ED1i t\xE1c" }),
2942
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerText, { as: "p", field: "benefits.description", className: "ib-subtitle", children: "Wikex \u0111\u1ED3ng h\xE0nh c\xF9ng IB - T\u1EEB s\u1EA3n ph\u1EA9m, ki\u1EBFn th\u1EE9c \u0111\u1EBFn c\xF4ng c\u1EE5." }),
2943
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "ib-benefit-grid", children: benefits.map(([title, description, kind], index) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("article", { className: `ib-benefit ib-benefit--${kind}`, children: [
2944
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerImageAction, { className: "ib-image-action ib-desktop-only", field: `partnerImage.21447-29585-${benefitImages[kind]}` }),
2945
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerImageAction, { className: "ib-image-action ib-mobile-only", field: `partnerImage.21691-46223-${benefitImages[kind]}` }),
2946
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(BenefitArt, { kind }),
2947
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(MobileBenefitArt, { kind }),
2948
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "ib-benefit-copy", children: [
2949
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerText, { as: "h3", field: `benefits.items.${index}.title`, children: title }),
2950
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(PartnerText, { as: "p", field: `benefits.items.${index}.description`, children: description })
2951
+ ] })
2952
+ ] }, kind)) })
2953
+ ] }) });
2954
+ }
2955
+
2956
+ // src/wikex/partner/PartnerCommissionSection.tsx
2957
+ var import_jsx_runtime16 = require("react/jsx-runtime");
2958
+ function PartnerCommissionSection() {
2959
+ const labels = usePartnerLabels();
2960
+ const renderCommissionCard = (commission) => {
2961
+ const [description, icon, background] = commission;
2962
+ const index = commissions.indexOf(commission);
2963
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-commission-card", children: [
2964
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-commission-card-back", src: asset("21447-29644", background), alt: "", "aria-hidden": "true" }),
2965
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-commission-icon", children: [
2966
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-desktop-only", src: asset("21447-29644", icon), alt: "", "aria-hidden": "true" }),
2967
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-mobile-only", src: asset("21691-46279", icon), alt: "", "aria-hidden": "true" })
2968
+ ] }),
2969
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerText, { as: "p", field: `commission.items.${index}.description`, children: description })
2970
+ ] }, icon);
2971
+ };
2972
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { className: "ib-commission", id: "ib-commission", "aria-labelledby": "ib-commission-title", children: [
2973
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-map", src: asset("21447-29644", "imgMap", "png"), alt: "", "aria-hidden": "true" }),
2974
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-container", children: [
2975
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
2976
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerTag, { section: "21447-29644", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerText, { as: "span", field: "commission.tag", children: "C\u01A0 CH\u1EBE HOA H\u1ED2NG" }) }),
2977
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerText, { as: "h2", field: "commission.title", id: "ib-commission-title", children: "Thu nh\u1EADp t\u0103ng tr\u01B0\u1EDFng theo kh\u1ED1i l\u01B0\u1EE3ng giao d\u1ECBch" }),
2978
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerText, { as: "p", field: "commission.description", className: "ib-commission-description", children: "M\u1EE9c hoa h\u1ED3ng \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh r\xF5 r\xE0ng, minh b\u1EA1ch trong h\u1EE3p \u0111\u1ED3ng h\u1EE3p t\xE1c v\xE0 chi tr\u1EA3 \u0111\u1ECBnh k\u1EF3. Thu nh\u1EADp d\u1EF1a tr\xEAn hi\u1EC7u qu\u1EA3 ph\xE1t tri\u1EC3n kh\xE1ch h\xE0ng v\xE0 ho\u1EA1t \u0111\u1ED9ng giao d\u1ECBch th\u1EF1c t\u1EBF c\u1EE7a m\u1ED7i \u0111\u1ED1i t\xE1c." }),
2979
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-commission-grid", children: [
2980
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "ib-commission-row", children: commissions.slice(0, 2).map(renderCommissionCard) }),
2981
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "ib-commission-row", children: commissions.slice(2).map(renderCommissionCard) }),
2982
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-dollar", "aria-hidden": "true", children: [
2983
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "ib-commission-notch ib-commission-notch--top-left", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2984
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "ib-commission-notch ib-commission-notch--top-right", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2985
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "ib-commission-notch ib-commission-notch--bottom-left", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2986
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "ib-commission-notch ib-commission-notch--bottom-right", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { src: "/partner-assets/commission-card-corner.svg", alt: "", "aria-hidden": "true" }) }),
2987
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("span", { className: "ib-dollar-coin", children: [
2988
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-mobile-only", src: asset("21691-46279", "imgIconDollarSolid"), alt: "", "aria-hidden": "true" }),
2989
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-desktop-only", src: asset("21447-29644", "imgIconDollarSolid"), alt: "", "aria-hidden": "true" })
2990
+ ] })
2991
+ ] })
2992
+ ] })
2993
+ ] }),
2994
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "ib-commission-art", children: [
2995
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImageAction, { className: "ib-image-action ", field: "partnerImage.21447-29644-imgImage" }),
2996
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-commission-shadow", src: asset("21447-29644", "imgShadow"), alt: "", "aria-hidden": "true" }),
2997
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(PartnerImage, { className: "ib-commission-image", src: asset("21447-29644", "imgImage", "png"), alt: labels.commissionAlt })
2998
+ ] })
2999
+ ] })
3000
+ ] });
3001
+ }
3002
+
3003
+ // src/wikex/partner/PartnerProcessSection.tsx
2466
3004
  var import_jsx_runtime17 = require("react/jsx-runtime");
3005
+ function PartnerProcessSection() {
3006
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { className: "ib-process", "aria-labelledby": "ib-process-title", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-container", children: [
3007
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-process-heading", children: [
3008
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerTag, { section: "21447-29714", leading: true, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "process.tag", children: "QUY TR\xCCNH THAM GIA" }) }),
3009
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "h2", field: "process.title", id: "ib-process-title", children: "3 b\u01B0\u1EDBc b\u1EAFt \u0111\u1EA7u h\xE0nh tr\xECnh c\xF9ng Wikex" })
3010
+ ] }),
3011
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "ib-step-grid", children: steps.map(([title, description, icon], index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("article", { className: "ib-step", children: [
3012
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-step-shadow", src: asset("21447-29714", "imgVector7300"), alt: "", "aria-hidden": "true" }),
3013
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-step-back", src: asset("21447-29714", "imgVector7301"), alt: "", "aria-hidden": "true" }),
3014
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-mobile-step-shadow ib-mobile-only", src: asset("21691-46349", "imgVector7300"), alt: "", "aria-hidden": "true" }),
3015
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-mobile-step-back ib-mobile-only", src: asset("21691-46349", "imgVector7301"), alt: "", "aria-hidden": "true" }),
3016
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-mobile-step-icon ib-mobile-only", src: asset("21691-46349", icon), alt: "", "aria-hidden": "true" }),
3017
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-mobile-step-number ib-mobile-only", "aria-hidden": "true", children: [
3018
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { src: asset("21691-46349", "imgVector7299"), alt: "" }),
3019
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { children: [
3020
+ "0",
3021
+ index + 1
3022
+ ] })
3023
+ ] }),
3024
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-step-icon", src: asset("21447-29714", icon), alt: "", "aria-hidden": "true" }),
3025
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "h3", field: `process.items.${index}.title`, children: title }),
3026
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "p", field: `process.items.${index}.description`, children: description }),
3027
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-step-number", "aria-hidden": "true", children: [
3028
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { src: asset("21447-29714", "imgVector7299"), alt: "" }),
3029
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { children: [
3030
+ "0",
3031
+ index + 1
3032
+ ] })
3033
+ ] })
3034
+ ] }, icon)) })
3035
+ ] }) });
3036
+ }
3037
+
3038
+ // src/wikex/partner/PartnerFaq.tsx
3039
+ var import_react9 = require("react");
3040
+ var import_radix_ui = require("radix-ui");
3041
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3042
+ function PartnerFaq({ question, answer, index }) {
3043
+ const editing = usePartnerEditing();
3044
+ const [open, setOpen] = (0, import_react9.useState)(false);
3045
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_radix_ui.Collapsible.Root, { className: "ib-faq-item", open: Boolean(editing?.editable) || open, onOpenChange: setOpen, children: [
3046
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_radix_ui.Collapsible.Trigger, { className: "ib-faq-trigger", id: `ib-question-${index}`, children: [
3047
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerText, { as: "span", field: `faq.items.${index}.question`, children: question }),
3048
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("span", { className: "ib-faq-icon", "aria-hidden": "true", children: [
3049
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerImage, { className: "ib-faq-plus", src: asset("21447-29776", "imgIconDropdown"), alt: "" }),
3050
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerImage, { className: "ib-faq-minus", src: "/partner-assets/faq-minus.svg", alt: "" })
3051
+ ] })
3052
+ ] }),
3053
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_radix_ui.Collapsible.Content, { className: "ib-faq-answer", role: "region", "aria-labelledby": `ib-question-${index}`, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "ib-faq-answer-inner", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerText, { as: "p", field: `faq.items.${index}.answer`, children: answer }) }) })
3054
+ ] });
3055
+ }
3056
+
3057
+ // src/wikex/partner/PartnerFaqSection.tsx
3058
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3059
+ function PartnerFaqSection() {
3060
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("section", { className: "ib-faq", "aria-labelledby": "ib-faq-title", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "ib-container", children: [
3061
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { children: [
3062
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PartnerTag, { section: "21447-29776", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PartnerText, { as: "span", field: "faq.tag", children: "H\u1ECEI \u0110\xC1P" }) }),
3063
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PartnerText, { as: "h2", field: "faq.title", id: "ib-faq-title", children: "C\xE2u h\u1ECFi th\u01B0\u1EDDng g\u1EB7p c\u1EE7a \u0111\u1ED1i t\xE1c v\u1EC1 ch\u01B0\u01A1ng tr\xECnh IB" })
3064
+ ] }),
3065
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "ib-faq-list", children: faqs.map(([question, answer], index) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PartnerFaq, { question, answer, index }, question)) })
3066
+ ] }) });
3067
+ }
3068
+
3069
+ // src/wikex/partner/PartnerRegistrationSection.tsx
3070
+ var import_react10 = require("react");
3071
+ var import_jsx_runtime20 = require("react/jsx-runtime");
2467
3072
  function PartnerRegistrationSection() {
2468
3073
  const labels = usePartnerLabels();
2469
3074
  const editing = usePartnerEditing();
2470
3075
  const text = usePartnerText();
2471
3076
  const language = usePartnerLanguage();
2472
3077
  const english = language === "en";
2473
- const [email, setEmail] = (0, import_react6.useState)("");
3078
+ const [email, setEmail] = (0, import_react10.useState)("");
2474
3079
  const { pending, formVersion, remaining, notice, invalidNotice, clearValidation, submit, dismissNotice } = useRegistrationForm({
2475
3080
  kind: "broker",
2476
3081
  language,
@@ -2478,69 +3083,79 @@ function PartnerRegistrationSection() {
2478
3083
  onSubmit: editing?.onConsultationSubmit,
2479
3084
  onSuccess: () => setEmail("")
2480
3085
  });
2481
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("section", { className: "ib-register", id: "register", "aria-labelledby": "ib-register-title", children: [
2482
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-container", children: [
2483
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-register-art", children: [
2484
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImageAction, { className: "ib-image-action ", field: "partnerImage.21447-29794-imgImage12" }),
2485
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-register-image", src: asset("21447-29794", "imgImage12", "png"), alt: labels.registrationAlt }),
2486
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { className: "ib-register-fade", src: asset("21447-29794", "imgRectangle34624392", "png"), alt: "", "aria-hidden": "true" })
3086
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("section", { className: "ib-register", id: "register", "aria-labelledby": "ib-register-title", children: [
3087
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-container", children: [
3088
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-register-art", children: [
3089
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerImageAction, { className: "ib-image-action ", field: "partnerImage.21447-29794-imgImage12" }),
3090
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerImage, { className: "ib-register-image", src: asset("21447-29794", "imgImage12", "png"), alt: labels.registrationAlt }),
3091
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerImage, { className: "ib-register-fade", src: asset("21447-29794", "imgRectangle34624392", "png"), alt: "", "aria-hidden": "true" })
2487
3092
  ] }),
2488
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("form", { className: "ib-form", "data-broker-form": true, "aria-busy": pending, onInvalid: invalidNotice, onInput: clearValidation, onSubmit: submit, children: [
2489
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "h2", field: "registration.title", id: "ib-register-title", children: "\u0110\u0103ng k\xFD h\u1EE3p t\xE1c c\xF9ng Wikex" }),
2490
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "p", field: "registration.description", className: "ib-form-subtitle", children: "\u0110i\u1EC1n th\xF4ng tin nh\u1EADn t\u01B0 v\u1EA5n v\xE0 \u0111\u1ED3ng h\xE0nh c\xF9ng WIKEX" }),
2491
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { "aria-hidden": "true", style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("input", { name: "website", tabIndex: -1, autoComplete: "off" }) }),
2492
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-fields", children: [
2493
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: "ib-field", children: [
2494
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { className: "ib-label", children: [
2495
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "registration.label0", children: "H\u1ECD v\xE0 t\xEAn" }),
2496
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("b", { children: "*" })
3093
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("form", { className: "ib-form", "data-broker-form": true, "aria-busy": pending, onInvalid: invalidNotice, onInput: clearValidation, onSubmit: submit, children: [
3094
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "h2", field: "registration.title", id: "ib-register-title", children: "\u0110\u0103ng k\xFD h\u1EE3p t\xE1c c\xF9ng Wikex" }),
3095
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "p", field: "registration.description", className: "ib-form-subtitle", children: "\u0110i\u1EC1n th\xF4ng tin nh\u1EADn t\u01B0 v\u1EA5n v\xE0 \u0111\u1ED3ng h\xE0nh c\xF9ng WIKEX" }),
3096
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { "aria-hidden": "true", style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("input", { name: "website", tabIndex: -1, autoComplete: "off" }) }),
3097
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-fields", children: [
3098
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "ib-field", children: [
3099
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("span", { className: "ib-label", children: [
3100
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "span", field: "registration.label0", children: "H\u1ECD v\xE0 t\xEAn" }),
3101
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("b", { children: "*" })
2497
3102
  ] }),
2498
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(InputCommon, { name: "name", ...registrationFieldProps.name, placeholder: text("registration.placeholder0", "Nh\u1EADp h\u1ECD v\xE0 t\xEAn"), disabled: pending })
3103
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(InputCommon, { name: "name", ...registrationFieldProps.name, placeholder: text("registration.placeholder0", "Nh\u1EADp h\u1ECD v\xE0 t\xEAn"), disabled: pending })
2499
3104
  ] }),
2500
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-field-row", children: [
2501
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-field", children: [
2502
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: "ib-label", htmlFor: "ib-email", children: [
2503
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "registration.label1", children: "Email" }),
2504
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("b", { children: "*" })
3105
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-field-row", children: [
3106
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-field", children: [
3107
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "ib-label", htmlFor: "ib-email", children: [
3108
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "span", field: "registration.label1", children: "Email" }),
3109
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("b", { children: "*" })
2505
3110
  ] }),
2506
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "ib-email-control", children: [
2507
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(InputCommon, { id: "ib-email", name: "email", ...registrationFieldProps.email, placeholder: text("registration.placeholder1", "Nh\u1EADp email"), disabled: pending, value: email, onChange: (event) => setEmail(event.target.value) }),
2508
- email && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { className: "ib-email-clear", type: "button", disabled: pending, "aria-label": labels.clearEmail, onClick: () => setEmail(""), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerImage, { src: asset("21447-29794", "imgIconClose"), alt: "" }) })
3111
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "ib-email-control", children: [
3112
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(InputCommon, { id: "ib-email", name: "email", ...registrationFieldProps.email, placeholder: text("registration.placeholder1", "Nh\u1EADp email"), disabled: pending, value: email, onChange: (event) => setEmail(event.target.value) }),
3113
+ email && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("button", { className: "ib-email-clear", type: "button", disabled: pending, "aria-label": labels.clearEmail, onClick: () => setEmail(""), children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerImage, { src: asset("21447-29794", "imgIconClose"), alt: "" }) })
2509
3114
  ] })
2510
3115
  ] }),
2511
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: "ib-field", children: [
2512
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { className: "ib-label", children: [
2513
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "registration.label2", children: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }),
2514
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("b", { children: "*" })
3116
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "ib-field", children: [
3117
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("span", { className: "ib-label", children: [
3118
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "span", field: "registration.label2", children: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }),
3119
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("b", { children: "*" })
2515
3120
  ] }),
2516
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(InputCommon, { name: "phone", ...registrationFieldProps.phone, placeholder: text("registration.placeholder2", "Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i"), disabled: pending })
3121
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(InputCommon, { name: "phone", ...registrationFieldProps.phone, placeholder: text("registration.placeholder2", "Nh\u1EADp s\u1ED1 \u0111i\u1EC7n tho\u1EA1i"), disabled: pending })
2517
3122
  ] })
2518
3123
  ] }),
2519
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: "ib-field", children: [
2520
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "ib-label", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "registration.label3", children: "\u0110\u1EC3 l\u1EA1i l\u1EDDi nh\u1EAFn" }) }),
2521
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("textarea", { name: "message", placeholder: text("registration.placeholder3", "Nh\u1EADp l\u1EDDi nh\u1EAFn"), ...registrationFieldProps.message, disabled: pending })
3124
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "ib-field", children: [
3125
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "ib-label", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "span", field: "registration.label3", children: "\u0110\u1EC3 l\u1EA1i l\u1EDDi nh\u1EAFn" }) }),
3126
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("textarea", { name: "message", placeholder: text("registration.placeholder3", "Nh\u1EADp l\u1EDDi nh\u1EAFn"), ...registrationFieldProps.message, disabled: pending })
2522
3127
  ] })
2523
3128
  ] }, formVersion),
2524
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "ib-form-submit", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerButton, { type: "submit", disabled: pending || remaining > 0, children: pending ? english ? "Sending\u2026" : "\u0110ang g\u1EEDi\u2026" : remaining > 0 ? english ? `Try again in ${remaining}s` : `G\u1EEDi l\u1EA1i sau ${remaining}s` : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(PartnerText, { as: "span", field: "registration.submitLabel", children: "\u0110\u0103ng k\xFD ngay" }) }) })
3129
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "ib-form-submit", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerButton, { type: "submit", disabled: pending || remaining > 0, children: pending ? english ? "Sending\u2026" : "\u0110ang g\u1EEDi\u2026" : remaining > 0 ? english ? `Try again in ${remaining}s` : `G\u1EEDi l\u1EA1i sau ${remaining}s` : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(PartnerText, { as: "span", field: "registration.submitLabel", children: "\u0110\u0103ng k\xFD ngay" }) }) })
2525
3130
  ] })
2526
3131
  ] }),
2527
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(RegistrationToast, { notice, language, kind: "broker", onClose: dismissNotice })
3132
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(RegistrationToast, { notice, language, kind: "broker", onClose: dismissNotice })
2528
3133
  ] });
2529
3134
  }
2530
3135
 
2531
3136
  // src/wikex/partner/blocks.tsx
2532
- var import_jsx_runtime18 = require("react/jsx-runtime");
3137
+ var import_jsx_runtime21 = require("react/jsx-runtime");
2533
3138
  function partnerBlock(section3, name, Component) {
2534
- const fields = partnerFields.filter((field) => /^(vi|en)\.partner\./.test(field.key) && field.key.split(".")[2] === section3 || field.type === "image" && sectionImageIds[section3].some((id) => field.key.includes(id)));
3139
+ const fields = partnerFields.filter((field) => {
3140
+ if (field.type === "image") return sectionImageIds[section3].some((id) => field.key.includes(id));
3141
+ if (!/^(vi|en)\.partner\./.test(field.key)) return false;
3142
+ const [, , fieldSection, fieldName] = field.key.split(".");
3143
+ if (section3 === "hero") {
3144
+ if (fieldSection === "hero") return fieldName !== "registerButton";
3145
+ return fieldSection === "registration" && !/^(?:title|description|label3|placeholder3|contact[0-4])$/.test(fieldName);
3146
+ }
3147
+ return fieldSection === section3 && !(section3 === "registration" && fieldName in brokerFormCopy);
3148
+ });
2535
3149
  const defaults = Object.fromEntries(fields.map((field) => [field.key, partnerDefaults[field.key]]));
2536
3150
  function Renderer2(props) {
2537
3151
  const language = partnerLanguage(props.content.__cmsLanguage);
2538
3152
  const content = { ...defaults, ...props.content, __cmsLanguage: language };
2539
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerEditingProvider, { ...props, content, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PartnerMain, { as: "div", lang: language, "data-partner-section": section3, "data-partner-editable": props.editable || void 0, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Component, {}) }) });
3153
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PartnerEditingProvider, { ...props, content, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PartnerMain, { as: "div", lang: language, "data-partner-section": section3, "data-partner-editable": props.editable || void 0, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Component, {}) }) });
2540
3154
  }
2541
3155
  return {
2542
3156
  definition: {
2543
3157
  kind: "cms-component",
3158
+ hidden: section3 === "registration",
2544
3159
  category: "wikex",
2545
3160
  placement: "content",
2546
3161
  type: `commodity-partner-${section3}`,
@@ -2554,7 +3169,7 @@ function partnerBlock(section3, name, Component) {
2554
3169
  };
2555
3170
  }
2556
3171
  var sectionImageIds = {
2557
- hero: ["21447-29491", "21691-46108"],
3172
+ hero: [],
2558
3173
  challenges: [],
2559
3174
  benefits: ["21447-29585", "21691-46223"],
2560
3175
  commission: ["21447-29644", "21691-46279"],
@@ -2572,8 +3187,8 @@ var wikexPartnerBlocks = [
2572
3187
  partnerBlock("registration", "\u0110\u0103ng k\xFD h\u1EE3p t\xE1c", PartnerRegistrationSection)
2573
3188
  ];
2574
3189
  function PartnerPage({ content = {}, ...props }) {
2575
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("main", { "data-partner-page": true, children: wikexPartnerBlocks.map(
2576
- ({ Renderer: Renderer2, definition }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Renderer2, { ...props, content }, definition.type)
3190
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("main", { "data-partner-page": true, children: wikexPartnerBlocks.filter((block) => block.definition.type !== "commodity-partner-registration").map(
3191
+ ({ Renderer: Renderer2, definition }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Renderer2, { ...props, content }, definition.type)
2577
3192
  ) });
2578
3193
  }
2579
3194
  // Annotate the CommonJS export names for ESM import in node: