// Module ID: 7985 // Function ID: 7986 // Name: items // Dependencies: [7986, 7987, 1236, 7988, 7989, 7990, 7991, 7992, 7993, 7994, 7995, 7996, 7997, 7998, 7999, 8000, 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 2] // Exports: getDefaultIcon, getIconById, getIcons, getLimitedAlternateIcons, getOfficialAlternateIcons, isIconExpired // Module 7985 (items) import set from "set" /* 2 */; import getSystemLocale from "getSystemLocale" /* 1236 */; import FreemiumAppIconIds from "FreemiumAppIconIds" /* 7986 */; import registerAssetDefault from "registerAsset" /* 7987 */; import registerAssetDefault2 from "registerAsset" /* 7988 */; import registerAssetDefault3 from "registerAsset" /* 7989 */; import registerAssetDefault4 from "registerAsset" /* 7990 */; import registerAssetDefault5 from "registerAsset" /* 7991 */; import registerAssetDefault6 from "registerAsset" /* 7992 */; import registerAssetDefault7 from "registerAsset" /* 7993 */; import registerAssetDefault8 from "registerAsset" /* 7994 */; import registerAssetDefault9 from "registerAsset" /* 7995 */; import registerAssetDefault10 from "registerAsset" /* 7996 */; import registerAssetDefault11 from "registerAsset" /* 7997 */; import registerAssetDefault12 from "registerAsset" /* 7998 */; import registerAssetDefault13 from "registerAsset" /* 7999 */; import registerAssetDefault14 from "registerAsset" /* 8000 */; import registerAssetDefault15 from "registerAsset" /* 8001 */; import registerAssetDefault16 from "registerAsset" /* 8002 */; import registerAssetDefault17 from "registerAsset" /* 8003 */; import registerAssetDefault18 from "registerAsset" /* 8004 */; import registerAssetDefault19 from "registerAsset" /* 8005 */; import registerAssetDefault20 from "registerAsset" /* 8006 */; import registerAssetDefault21 from "registerAsset" /* 8007 */; import registerAssetDefault22 from "registerAsset" /* 8008 */; import registerAssetDefault23 from "registerAsset" /* 8009 */; import registerAssetDefault24 from "registerAsset" /* 8010 */; import registerAssetDefault25 from "registerAsset" /* 8011 */; let obj = { id: FreemiumAppIconIds.PremiumAppIconIds.IN_RAINBOWS, iconSource: registerAssetDefault2, isPremium: true, name: null }; let intl = getSystemLocale.intl; obj[3] = intl.string(getSystemLocale.t.yxJB9E); let items = [obj, , , , , , , , , , , , , , , , , , , , , , , ]; obj = { id: FreemiumAppIconIds.PremiumAppIconIds.MIDNIGHT_PRISM, iconSource: registerAssetDefault3, isPremium: true, name: null }; let intl2 = getSystemLocale.intl; obj[3] = intl2.string(getSystemLocale.t.nshUZZ); items[1] = obj; obj = { id: FreemiumAppIconIds.PremiumAppIconIds.COLOR_WAVE, iconSource: registerAssetDefault4, isPremium: true, name: null }; const intl3 = getSystemLocale.intl; obj[3] = intl3.string(getSystemLocale.t.MWRYqh); items[2] = obj; const obj1 = { id: FreemiumAppIconIds.PremiumAppIconIds.BLURPLE_TWILIGHT, iconSource: registerAssetDefault5, isPremium: true, name: null }; const intl4 = getSystemLocale.intl; obj1[3] = intl4.string(getSystemLocale.t.Mfoe3p); items[3] = obj1; const obj2 = { id: FreemiumAppIconIds.PremiumAppIconIds.BRAND_INVERTED, iconSource: registerAssetDefault6, isPremium: true, name: null }; const intl5 = getSystemLocale.intl; obj2[3] = intl5.string(getSystemLocale.t.h6UXSt); items[4] = obj2; const obj3 = { id: FreemiumAppIconIds.PremiumAppIconIds.BRAND_DARK, iconSource: registerAssetDefault7, name: null, isPremium: true }; const intl6 = getSystemLocale.intl; obj3[2] = intl6.string(getSystemLocale.t.gZEUBl); items[5] = obj3; const obj4 = { id: FreemiumAppIconIds.PremiumAppIconIds.MATTE_DARK, iconSource: registerAssetDefault8, isPremium: true, name: null }; const intl7 = getSystemLocale.intl; obj4[3] = intl7.string(getSystemLocale.t.NkshQt); items[6] = obj4; const obj5 = { id: FreemiumAppIconIds.PremiumAppIconIds.MATTE_LIGHT, iconSource: registerAssetDefault9, name: null, isPremium: true }; const intl8 = getSystemLocale.intl; obj5[2] = intl8.string(getSystemLocale.t.G2W302); items[7] = obj5; const obj6 = { id: FreemiumAppIconIds.PremiumAppIconIds.PASTEL, iconSource: registerAssetDefault10, isPremium: true, name: null }; const intl9 = getSystemLocale.intl; obj6[3] = intl9.string(getSystemLocale.t.mTSkLT); items[8] = obj6; const obj7 = { id: FreemiumAppIconIds.PremiumAppIconIds.PIRATE, iconSource: registerAssetDefault11, isPremium: true, name: null }; const intl10 = getSystemLocale.intl; obj7[3] = intl10.string(getSystemLocale.t["EgWTY+"]); items[9] = obj7; const obj8 = { id: FreemiumAppIconIds.PremiumAppIconIds.CAMO, iconSource: registerAssetDefault12, isPremium: true, name: null }; const intl11 = getSystemLocale.intl; obj8[3] = intl11.string(getSystemLocale.t.RSKXOK); items[10] = obj8; const obj9 = { id: FreemiumAppIconIds.PremiumAppIconIds.SUNSET, iconSource: registerAssetDefault13, isPremium: true, name: null }; const intl12 = getSystemLocale.intl; obj9[3] = intl12.string(getSystemLocale.t.ixdjPB); items[11] = obj9; const obj10 = { id: FreemiumAppIconIds.PremiumAppIconIds.GALAXY, iconSource: registerAssetDefault14, isPremium: true, name: null }; const intl13 = getSystemLocale.intl; obj10[3] = intl13.string(getSystemLocale.t.cb78Ls); items[12] = obj10; const obj11 = { id: FreemiumAppIconIds.PremiumAppIconIds.Y2K, iconSource: registerAssetDefault15, isPremium: true, name: null }; const intl14 = getSystemLocale.intl; obj11[3] = intl14.string(getSystemLocale.t["s+KoXO"]); items[13] = obj11; const obj12 = { id: FreemiumAppIconIds.PremiumAppIconIds.CHERRY_BLOSSOM, iconSource: registerAssetDefault16, isPremium: true, name: null }; const intl15 = getSystemLocale.intl; obj12[3] = intl15.string(getSystemLocale.t["ta/5RB"]); items[14] = obj12; const obj13 = { id: FreemiumAppIconIds.PremiumAppIconIds.BEANIE, iconSource: registerAssetDefault17, isPremium: true, name: null }; const intl16 = getSystemLocale.intl; obj13[3] = intl16.string(getSystemLocale.t.IoLViw); items[15] = obj13; const obj14 = { id: FreemiumAppIconIds.PremiumAppIconIds.GAMING, iconSource: registerAssetDefault18, isPremium: true, name: null }; const intl17 = getSystemLocale.intl; obj14[3] = intl17.string(getSystemLocale.t["2Tf+c4"]); items[16] = obj14; const obj15 = { id: FreemiumAppIconIds.PremiumAppIconIds.CIRCUIT, iconSource: registerAssetDefault19, isPremium: true, name: null }; const intl18 = getSystemLocale.intl; obj15[3] = intl18.string(getSystemLocale.t.dUpxKb); items[17] = obj15; const obj16 = { id: FreemiumAppIconIds.PremiumAppIconIds.HOLO_WAVES, iconSource: registerAssetDefault20, isPremium: true, name: null }; const intl19 = getSystemLocale.intl; obj16[3] = intl19.string(getSystemLocale.t["9mg7g1"]); items[18] = obj16; const obj17 = { id: FreemiumAppIconIds.PremiumAppIconIds.BLUSH, iconSource: registerAssetDefault21, isPremium: true, name: null }; const intl20 = getSystemLocale.intl; obj17[3] = intl20.string(getSystemLocale.t.nmd90m); items[19] = obj17; const obj18 = { id: FreemiumAppIconIds.PremiumAppIconIds.ANGRY, iconSource: registerAssetDefault22, isPremium: true, name: null }; const intl21 = getSystemLocale.intl; obj18[3] = intl21.string(getSystemLocale.t["9PUXpM"]); items[20] = obj18; const obj19 = { id: FreemiumAppIconIds.PremiumAppIconIds.MANGA, iconSource: registerAssetDefault23, isPremium: true, name: null }; const intl22 = getSystemLocale.intl; obj19[3] = intl22.string(getSystemLocale.t.hGBbF8); items[21] = obj19; const obj20 = { id: FreemiumAppIconIds.PremiumAppIconIds.CONTROLLER, iconSource: registerAssetDefault24, isPremium: true, name: null }; const intl23 = getSystemLocale.intl; obj20[3] = intl23.string(getSystemLocale.t["4QM2U1"]); items[22] = obj20; const obj21 = { id: FreemiumAppIconIds.PremiumAppIconIds.MUSHROOM, iconSource: registerAssetDefault25, isPremium: true, name: null }; const intl24 = getSystemLocale.intl; obj21[3] = intl24.string(getSystemLocale.t.gnLLSK); items[23] = obj21; let closure_4 = []; const result = set.fileFinishedImporting("modules/app_icons/native/AppIconConstants.tsx"); export const getDefaultIcon = function getDefaultIcon() { const obj = { id: FreemiumAppIconIds.FreemiumAppIconIds.DEFAULT, iconSource: registerAssetDefault, name: null, isPremium: false }; const intl = getSystemLocale.intl; obj[2] = intl.string(getSystemLocale.t.ANxkLy); return obj; }; export const isIconExpired = function isIconExpired(expiresAt) { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return tmp; }; export const getOfficialAlternateIcons = function getOfficialAlternateIcons() { return items.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }); }; export const getLimitedAlternateIcons = function getLimitedAlternateIcons() { return closure_4.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }); }; export const getIcons = function getIcons() { const obj = { id: FreemiumAppIconIds.FreemiumAppIconIds.DEFAULT, iconSource: registerAssetDefault, name: null, isPremium: false }; const intl = getSystemLocale.intl; obj[2] = intl.string(getSystemLocale.t.ANxkLy); items = [ obj, ...items.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }), ...closure_4.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }) ]; return items; }; export const getIconById = function getIconById(currentAppIcon) { const _require = currentAppIcon; let obj = { id: _require(7986).FreemiumAppIconIds.DEFAULT, iconSource: registerAssetDefault, name: null, isPremium: false }; const intl = _require(1236).intl; obj[2] = intl.string(_require(1236).t.ANxkLy); items = [ obj, ...items.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }), ...closure_4.filter((expiresAt) => { let tmp = null != expiresAt.expiresAt; if (tmp) { const _Date = Date; tmp = Date.now() > expiresAt.expiresAt; } return !tmp; }) ]; let found = items.find((id) => id.id === closure_0); if (null == found) { obj = { id: null, iconSource: null, name: null, isPremium: false }; obj[0] = tmp(7986).FreemiumAppIconIds.DEFAULT; obj[1] = registerAssetDefault; const intl2 = tmp(1236).intl; obj[2] = intl2.string(tmp(1236).t.ANxkLy); found = obj; } return found; };