640 lines
17 KiB
TypeScript
640 lines
17 KiB
TypeScript
// Module ID: 15802
|
|
// Function ID: 15803
|
|
// Name: GuildPrimaryCategory
|
|
// Dependencies: [1236, 2]
|
|
// Exports: calculateLocaleOptions
|
|
|
|
// Module 15802 (GuildPrimaryCategory)
|
|
import set from "set" /* 2 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
|
|
|
let obj = { GENERAL_CHATTING: 14, [14]: "GENERAL_CHATTING", GAMING: 1, [1]: "GAMING", MUSIC: 2, [2]: "MUSIC", ENTERTAINMENT: 3, [3]: "ENTERTAINMENT", CREATIVE_ARTS: 4, [4]: "CREATIVE_ARTS", SCIENCE_AND_TECH: 5, [5]: "SCIENCE_AND_TECH", EDUCATION: 6, [6]: "EDUCATION", SPORTS: 7, [7]: "SPORTS", FASHION_AND_BEAUTY: 8, [8]: "FASHION_AND_BEAUTY", RELATIONSHIPS_AND_IDENTITY: 9, [9]: "RELATIONSHIPS_AND_IDENTITY", TRAVEL_AND_FOOD: 10, [10]: "TRAVEL_AND_FOOD", FITNESS_AND_HEALTH: 11, [11]: "FITNESS_AND_HEALTH", FINANCE: 12, [12]: "FINANCE", OTHER: 13, [13]: "OTHER", EMOJI: 43, [43]: "EMOJI", BOTS: 49, [49]: "BOTS" };
|
|
const items = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.D7iWE8);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["/L7rG6"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pQ3bLk);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["GIaXW+"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.BXJCGj);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.vuVkqw);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.bhfaCW);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.i2qs5h);
|
|
}
|
|
];
|
|
const items1 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["GIaXW+"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["/L7rG6"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pQ3bLk);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.bhfaCW);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XFmNp1);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.i2qs5h);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["X/WT14"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.GXGNi3);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.Kma1jy);
|
|
}
|
|
];
|
|
const items2 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.bt4I06);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.kPJLKg);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["AIm/r7"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["ge/d+Y"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["6IjJBI"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["9o6KiB"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.D7iWE8);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["7ztK/F"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["rD/nte"]);
|
|
}
|
|
];
|
|
const items3 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.D7iWE8);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pQ3bLk);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pdWHSS);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QiafXT);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.vuVkqw);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.UoCpFN);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["+1/7Z9"]);
|
|
}
|
|
];
|
|
const items4 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.ZtggfH);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["94j5sB"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.o4tBN9);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.IFIoIy);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.LbCJkt);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pdWHSS);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.IVKcrB);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.eyEy1Y);
|
|
}
|
|
];
|
|
const items5 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.b7SNGt);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["3QIvxd"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.kNNW5o);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.N3xsjt);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pHmUCm);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.KOKw4a);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QxiuyN);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["ID64/X"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["i5+2F9"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["mJwTU+"]);
|
|
}
|
|
];
|
|
const items6 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["7F8qdf"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XmPLhd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["G/c0Q3"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.uQYr4y);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.L2nkMg);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.iUSTDT);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.b7SNGt);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["T+brl5"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.rAnIoO);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
}
|
|
];
|
|
const items7 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.PMk3Os);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.WzM5YA);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["+Epq9l"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.y8wELp);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.xVrb6z);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.F86j2U);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.b3cP4x);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["3KaQOw"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["+1/7Z9"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["6dJGyT"]);
|
|
}
|
|
];
|
|
const items8 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["4J2PYL"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.splt1M);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.MkNq82);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.NiqSMj);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["+1/7Z9"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.xJ4Qzg);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.bNBcQ4);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.j5IdUH);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["+zpNOK"]);
|
|
}
|
|
];
|
|
const items9 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["MR5I+r"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.UoCpFN);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["3EMtxu"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.BXJCGj);
|
|
}
|
|
];
|
|
const items10 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.rOhu7l);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.f1Zj06);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.Uh0Fxx);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.mFRT9N);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.jEfJqz);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.YkEzAe);
|
|
}
|
|
];
|
|
const items11 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["kg/vN2"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["1S1Wfl"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.eR1cPK);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XPWT7K);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.vtJDag);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["4te8Ao"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.MKokF8);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["h1o0//"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.h5IW39);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["9reexT"]);
|
|
}
|
|
];
|
|
const items12 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.rAnIoO);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.f9SRFh);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.Z53e3m);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["eWY96/"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QxiuyN);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.eNZqqK);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.put7Hw);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.NtauHv);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["DZeh+8"]);
|
|
}
|
|
];
|
|
const items13 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.D7iWE8);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.cGIWjd);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.pQ3bLk);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.BXJCGj);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.vmvBDm);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.UoCpFN);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QiafXT);
|
|
}
|
|
];
|
|
const items14 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.dl70Jj);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.R58PcO);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.hDjtaI);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.XuOAEC);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["/Fgjes"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["FM0+HZ"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.OGdz4x);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.ZtggfH);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QiafXT);
|
|
}
|
|
];
|
|
const items15 = [
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QYvZFr);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.C2TrLo);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["9AEkCw"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["FM0+HZ"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t["vwjf/8"]);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.Exwe4w);
|
|
},
|
|
() => {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(getSystemLocale.t.QiafXT);
|
|
}
|
|
];
|
|
let closure_2 = ["en-GB"];
|
|
const result = set.fileFinishedImporting("modules/guild_settings/discovery/GuildSettingsDiscoveryConstants.tsx");
|
|
|
|
export const GuildPrimaryCategory = obj;
|
|
export const SUGGESTED_TAGS_FOR_CATEGORIES = { [obj.GENERAL_CHATTING]: items, [obj.GAMING]: items1, [obj.MUSIC]: items2, [obj.ENTERTAINMENT]: items3, [obj.CREATIVE_ARTS]: items4, [obj.SCIENCE_AND_TECH]: items5, [obj.EDUCATION]: items6, [obj.SPORTS]: items7, [obj.FASHION_AND_BEAUTY]: items8, [obj.RELATIONSHIPS_AND_IDENTITY]: items9, [obj.TRAVEL_AND_FOOD]: items10, [obj.FITNESS_AND_HEALTH]: items11, [obj.FINANCE]: items12, [obj.OTHER]: items13, [obj.EMOJI]: items14, [obj.BOTS]: items15 };
|
|
export const calculateLocaleOptions = function calculateLocaleOptions() {
|
|
const availableLocales = getSystemLocale.getAvailableLocales();
|
|
const mapped = availableLocales.map((value) => {
|
|
value = value.value;
|
|
if ("en-US" === value) {
|
|
let obj = { id: null, value: null, label: null, image: "ct" };
|
|
obj[0] = value;
|
|
obj[1] = value;
|
|
const intl = callback(1236).intl;
|
|
obj[2] = intl.string(callback(1236).t.WKEPHR);
|
|
} else {
|
|
obj = { id: null, value: null, label: null, image: "ct" };
|
|
obj[0] = value;
|
|
obj[1] = value;
|
|
obj[2] = tmp;
|
|
}
|
|
return obj;
|
|
});
|
|
return mapped.filter((value) => !closure_2.includes(value.value));
|
|
};
|