A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
feat(api): add operator pass badge and a profile badge registry
Hampusb53f2adaa9fc
diff --git a/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.ts b/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.tsnew file mode 100644index 000000000..5cd6382e1--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.ts@@ -0,0 +1,68 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import type {User} from '@app/api/models/User';+import {getBadgePremiumType} from '@app/api/user/UserHelpers';+import {PremiumFlags, type UserPremiumType, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';++export interface VisiblePremiumBadge {+ premiumType?: UserPremiumType;+ premiumSince?: Date;+ premiumLifetimeSequence?: number;+}++export function applyPremiumBadgeMasking(+ user: Pick<User, 'premiumType' | 'premiumFlags' | 'premiumSince' | 'premiumLifetimeSequence'>,+ premiumFlags: number,+ restricted: boolean,+): VisiblePremiumBadge {+ if (restricted || premiumFlags & PremiumFlags.BADGE_HIDDEN) {+ return {};+ }+ let premiumType = getBadgePremiumType(user);+ let premiumLifetimeSequence = user.premiumLifetimeSequence ?? undefined;+ if (user.premiumType === UserPremiumTypes.LIFETIME) {+ if (premiumFlags & PremiumFlags.BADGE_MASKED) {+ premiumType = UserPremiumTypes.SUBSCRIPTION;+ }+ if (premiumFlags & PremiumFlags.BADGE_SEQUENCE_HIDDEN) {+ premiumLifetimeSequence = undefined;+ }+ }+ const premiumSince =+ premiumFlags & PremiumFlags.BADGE_TIMESTAMP_HIDDEN ? undefined : (user.premiumSince ?? undefined);+ return {premiumType, premiumSince, premiumLifetimeSequence};+}++const PROFILE_BADGE_SETTING_FLAGS = [+ {field: 'premium_badge_hidden', flag: PremiumFlags.BADGE_HIDDEN},+ {field: 'premium_badge_masked', flag: PremiumFlags.BADGE_MASKED},+ {field: 'premium_badge_timestamp_hidden', flag: PremiumFlags.BADGE_TIMESTAMP_HIDDEN},+ {field: 'premium_badge_sequence_hidden', flag: PremiumFlags.BADGE_SEQUENCE_HIDDEN},+ {field: 'operator_pass_badge_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_HIDDEN},+ {field: 'operator_pass_badge_timestamp_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN},+ {field: 'operator_pass_badge_count_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_COUNT_HIDDEN},+] as const;++export type ProfileBadgeSettings = Partial<Record<(typeof PROFILE_BADGE_SETTING_FLAGS)[number]['field'], boolean>>;++export function isOperatorPassBadgeHidden(premiumFlags: number): boolean {+ return (premiumFlags & PremiumFlags.OPERATOR_PASS_BADGE_HIDDEN) !== 0;+}++export function isOperatorPassTimestampHidden(premiumFlags: number): boolean {+ return (premiumFlags & PremiumFlags.OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN) !== 0;+}++export function isOperatorPassCountHidden(premiumFlags: number): boolean {+ return (premiumFlags & PremiumFlags.OPERATOR_PASS_BADGE_COUNT_HIDDEN) !== 0;+}++export function applyProfileBadgeSettings(premiumFlags: number, settings: ProfileBadgeSettings): number {+ let flags = premiumFlags;+ for (const {field, flag} of PROFILE_BADGE_SETTING_FLAGS) {+ const enabled = settings[field];+ if (enabled === undefined) continue;+ flags = enabled ? flags | flag : flags & ~flag;+ }+ return flags;+}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.test.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.test.tsnew file mode 100644index 000000000..b692a2070--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.test.ts@@ -0,0 +1,64 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {createHash} from 'node:crypto';+import * as fs from 'node:fs';+import * as path from 'node:path';+import {fileURLToPath} from 'node:url';+import {+ OPERATOR_PASS_COUNT_BADGE_ASSETS,+ OPERATOR_PASS_SMALL_BADGE_ASSETS,+ PROFILE_BADGE_ASSETS,+} from '@app/api/user/profile_badges/ProfileBadgeAssets';+import {VISIONARY_NUMBER_TAGS} from '@app/api/user/profile_badges/VisionaryNumberTags';+import {describe, expect, test} from 'vitest';++const BADGES_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../../../../fluxer_static/badges');+const PNG_SIGNATURE = Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]);++function pngSize(bytes: Buffer): {width: number; height: number} {+ expect(bytes.subarray(0, 8).equals(PNG_SIGNATURE)).toBe(true);+ expect(bytes.subarray(12, 16).toString('ascii')).toBe('IHDR');+ return {width: bytes.readUInt32BE(16), height: bytes.readUInt32BE(20)};+}++function expectWebp(bytes: Buffer): void {+ expect(bytes.subarray(0, 4).toString('ascii')).toBe('RIFF');+ expect(bytes.subarray(8, 12).toString('ascii')).toBe('WEBP');+}++function webpCanvasSize(bytes: Buffer): {width: number; height: number} {+ expectWebp(bytes);+ expect(bytes.subarray(12, 16).toString('ascii')).toBe('VP8X');+ return {width: bytes.readUIntLE(24, 3) + 1, height: bytes.readUIntLE(27, 3) + 1};+}++const hashPrefix = (bytes: Buffer) => createHash('sha256').update(bytes).digest('hex').slice(0, 16);++describe('profile badge assets', () => {+ const hashes = [+ ...Object.values(PROFILE_BADGE_ASSETS),+ ...Object.values(OPERATOR_PASS_COUNT_BADGE_ASSETS),+ ...Object.values(OPERATOR_PASS_SMALL_BADGE_ASSETS),+ ];++ test.each([+ ...Object.entries(PROFILE_BADGE_ASSETS),+ ...Object.entries(OPERATOR_PASS_COUNT_BADGE_ASSETS).map(([count, hash]) => [`operator_pass ${count}`, hash]),+ ...Object.entries(OPERATOR_PASS_SMALL_BADGE_ASSETS).map(([count, hash]) => [`operator_pass ${count} small`, hash]),+ ])('%s ships a 128px PNG and a WebP named by its hash', (_, hash) => {+ const png = fs.readFileSync(path.join(BADGES_DIR, `${hash}.png`));+ expect(pngSize(png)).toEqual({width: 128, height: 128});+ expect(hashPrefix(png)).toBe(hash);+ expectWebp(fs.readFileSync(path.join(BADGES_DIR, `${hash}.webp`)));+ });++ test('every Visionary number tag ships a WebP named by its own hash at the listed size', () => {+ const tagHashes = Object.values(VISIONARY_NUMBER_TAGS).map((tag) => tag.asset);+ expect(new Set([...tagHashes, ...hashes]).size).toBe(tagHashes.length + hashes.length);+ for (const [number, tag] of Object.entries(VISIONARY_NUMBER_TAGS)) {+ const webp = fs.readFileSync(path.join(BADGES_DIR, `${tag.asset}.webp`));+ expect(hashPrefix(webp), number).toBe(tag.asset);+ expect(webpCanvasSize(webp), number).toEqual({width: tag.width, height: tag.height});+ }+ });+});diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.tsnew file mode 100644index 000000000..b148dcdda--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeAssets.ts@@ -0,0 +1,36 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++export const PROFILE_BADGE_ASSETS = {+ staff: '42cd5fbc480b7847',+ partner: 'b58f25b2d2725ad4',+ bug_hunter: '5d3b4eacacb0ca67',+ operator_pass: '8120d774496aa5f7',+ visionary: '90fd8b9b5421bb6a',+ plutonium: '80bb0940d19fa614',+ premium: 'c61a26d1f983369c',+} as const;++export const OPERATOR_PASS_COUNT_BADGE_ASSETS = {+ '2': '0b2c8e24de04c3f1',+ '3': '124e3a5e2027dea1',+ '4': '7377e2a1c9d4d2b6',+ '5': '4e621949f056b1a8',+ '6': 'b3e72421da3c396b',+ '7': 'c78ee3cafcb561fb',+ '8': '2ffe4ecffcdba3cf',+ '9': 'a86a8f878dd99a5e',+ '9+': 'bd36eed73a899545',+} as const;++export const OPERATOR_PASS_SMALL_BADGE_ASSETS = {+ '9+': '88fe85ac14a20fb5',+} as const;++export function operatorPassSmallBadgeAsset(count: number | null): string | null {+ return count != null && count > 9 ? OPERATOR_PASS_SMALL_BADGE_ASSETS['9+'] : null;+}++export function operatorPassBadgeAsset(count: number | null): string {+ if (count == null || count < 2) return PROFILE_BADGE_ASSETS.operator_pass;+ return count > 9 ? OPERATOR_PASS_COUNT_BADGE_ASSETS['9+'] : OPERATOR_PASS_COUNT_BADGE_ASSETS[String(count) as '2'];+}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.tsnew file mode 100644index 000000000..b32fbfdee--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.ts@@ -0,0 +1,120 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {CONTENT_I18N_LOCALE_MESSAGES} from '@app/api/content_i18n/ContentI18nLocales';+import {CONTENT_I18N_MESSAGES} from '@app/api/content_i18n/ContentI18nMessages';+import {+ buildProfileBadges,+ type ProfileBadgeInput,+ type ProfileBadgeSubject,+} from '@app/api/user/profile_badges/ProfileBadgeBuilder';+import type {ProfileBadgeEnvironment} from '@app/api/user/profile_badges/ProfileBadgeRegistry';+import {PremiumFlags, UserFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';+import {describe, expect, test} from 'vitest';++const HOSTED: ProfileBadgeEnvironment = {+ selfHosted: false,+ premiumTieringActive: true,+ productName: 'Fluxer',+ premiumName: 'Plutonium',+ premiumInfoUrl: null,+ marketingUrl: 'https://fluxer.example',+};++const OCTOBER = new Date('2026-10-15T12:00:00Z');++function subject(overrides: Partial<ProfileBadgeSubject> = {}): ProfileBadgeSubject {+ return {+ flags: 0n,+ premiumFlags: 0,+ premiumType: null,+ premiumSince: null,+ premiumLifetimeSequence: null,+ ...overrides,+ };+}++const visionary = (premiumFlags = 0, premiumLifetimeSequence: number | null = 42) =>+ subject({+ premiumType: UserPremiumTypes.LIFETIME,+ premiumSince: OCTOBER,+ premiumLifetimeSequence,+ premiumFlags,+ });++function build(overrides: Partial<ProfileBadgeInput> = {}) {+ return buildProfileBadges({+ user: subject(),+ operatorPass: null,+ locale: 'en-US',+ environment: HOSTED,+ ...overrides,+ });+}++const kinds = (overrides: Partial<ProfileBadgeInput> = {}) => build(overrides).map((badge) => badge.kind);++const everything = subject({+ flags: UserFlags.STAFF | UserFlags.PARTNER | UserFlags.BUG_HUNTER,+ premiumType: UserPremiumTypes.SUBSCRIPTION,+ premiumSince: OCTOBER,+});++describe('buildProfileBadges', () => {+ test('a hidden staff flag drops the staff badge', () => {+ expect(kinds({user: subject({flags: UserFlags.STAFF | UserFlags.STAFF_HIDDEN})})).toEqual([]);+ });++ test('restricted profiles keep only the flag badges', () => {+ expect(kinds({user: everything, operatorPass: PURCHASED, restricted: true})).toEqual([+ 'staff',+ 'partner',+ 'bug_hunter',+ ]);+ expect(kinds({user: visionary(), restricted: true})).toEqual([]);+ });++ test('hidden accounts show nothing', () => {+ expect(build({user: everything, operatorPass: PURCHASED, hidden: true})).toEqual([]);+ });++ describe('localization', () => {+ test('the date is computed in UTC', () => {+ const user = subject({+ premiumType: UserPremiumTypes.SUBSCRIPTION,+ premiumSince: new Date('2026-10-31T23:30:00Z'),+ });+ expect(build({user})[0]!.label).toBe('Fluxer Plutonium subscriber since October 2026');+ });++ test('every profile badge key is translated and keeps its variables in every locale', () => {+ const keys = Object.keys(CONTENT_I18N_MESSAGES).filter((key) => key.startsWith('profile_badge.'));+ expect(keys.length).toBeGreaterThan(0);+ const variables = (template: string) => [...template.matchAll(/\{(\w+)\}/g)].map((match) => match[1]).sort();+ for (const [locale, messages] of Object.entries(CONTENT_I18N_LOCALE_MESSAGES)) {+ for (const key of keys) {+ const template = (messages as Record<string, string | undefined>)[key];+ expect(template, `${locale} ${key}`).toBeTypeOf('string');+ expect(variables(template!), `${locale} ${key}`).toEqual(+ variables(CONTENT_I18N_MESSAGES[key as keyof typeof CONTENT_I18N_MESSAGES]),+ );+ }+ }+ });++ test('every locale renders every badge without falling back to the key', () => {+ const user = {...everything, premiumType: UserPremiumTypes.LIFETIME, premiumLifetimeSequence: 7};+ for (const locale of Object.keys(CONTENT_I18N_LOCALE_MESSAGES)) {+ const undated = {+ ...user,+ premiumFlags: PremiumFlags.BADGE_TIMESTAMP_HIDDEN,+ };+ for (const badge of [+ ...build({user, operatorPass: PURCHASED, locale}),+ ...build({user: undated, operatorPass: OCTOBER_PASS, locale}),+ ]) {+ expect(badge.label.startsWith('profile_badge.'), `${locale} ${badge.kind}`).toBe(false);+ }+ }+ });+ });+});diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.tsnew file mode 100644index 000000000..d6b7de4d6--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.ts@@ -0,0 +1,114 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {resolveContentLocale} from '@app/api/content_i18n/ContentI18n';+import type {User} from '@app/api/models/User';+import type {OperatorPassHolder} from '@app/api/operator_pass/OperatorPassEntitlementService';+import {+ applyPremiumBadgeMasking,+ isOperatorPassBadgeHidden,+ isOperatorPassCountHidden,+ isOperatorPassTimestampHidden,+} from '@app/api/user/profile_badges/PremiumBadgeMasking';+import {+ PROFILE_BADGE_REGISTRY,+ type ProfileBadgeEnvironment,+ type ProfileBadgeKind,+ type ProfileBadgeView,+ type VisibleOperatorPass,+} from '@app/api/user/profile_badges/ProfileBadgeRegistry';+import {UserFlags} from '@fluxer/constants/src/UserConstants';+import type {+ AdminProfileBadgeResponse,+ ProfileBadgeResponse,+} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';++export type ProfileBadgeSubject = Pick<+ User,+ 'flags' | 'premiumFlags' | 'premiumType' | 'premiumSince' | 'premiumLifetimeSequence'+>;++export interface ProfileBadgeInput {+ user: ProfileBadgeSubject;+ operatorPass: OperatorPassHolder | null;+ locale: string | null | undefined;+ environment: ProfileBadgeEnvironment;+ restricted?: boolean;+ hidden?: boolean;+ viewerIsSelf?: boolean;+ previewPremiumFlags?: number;+}++type ViewSource = Omit<ProfileBadgeView, 'shown'>;++function publicOperatorPass(+ holder: OperatorPassHolder | null,+ premiumFlags: number,+ viewerIsSelf: boolean,+): VisibleOperatorPass | null {+ if (!holder || isOperatorPassBadgeHidden(premiumFlags)) return null;+ const since = !viewerIsSelf && isOperatorPassTimestampHidden(premiumFlags) ? null : holder.since;+ const count = !viewerIsSelf && isOperatorPassCountHidden(premiumFlags) ? null : holder.count;+ return {since, count};+}++function publicViewSource(input: ProfileBadgeInput): ViewSource | null {+ if (input.hidden) return null;+ const {user} = input;+ const premiumFlags = input.previewPremiumFlags ?? user.premiumFlags;+ const restricted = input.restricted === true;+ const flags = (user.flags & UserFlags.STAFF_HIDDEN) !== 0n ? user.flags & ~UserFlags.STAFF : user.flags;+ const premium = applyPremiumBadgeMasking(user, premiumFlags, restricted);+ return {+ flags,+ premium,+ operatorPass: restricted ? null : publicOperatorPass(input.operatorPass, premiumFlags, input.viewerIsSelf === true),+ environment: input.environment,+ locale: resolveContentLocale(input.locale),+ };+}++function operatorViewSource(input: ProfileBadgeInput): ViewSource {+ const {user} = input;+ return {+ flags: user.flags,+ premium: applyPremiumBadgeMasking(user, 0, false),+ operatorPass: input.operatorPass ? {since: input.operatorPass.since, count: input.operatorPass.count} : null,+ environment: input.environment,+ locale: resolveContentLocale(input.locale),+ };+}++function render(source: ViewSource | null): Array<ProfileBadgeResponse> {+ if (!source) return [];+ const {selfHosted} = source.environment;+ const shown = new Set<ProfileBadgeKind>();+ const badges: Array<ProfileBadgeResponse> = [];+ for (const definition of PROFILE_BADGE_REGISTRY) {+ if (definition.availability === (selfHosted ? 'hosted' : 'self_hosted')) continue;+ const content = definition.qualify({...source, shown});+ if (!content) continue;+ shown.add(definition.kind);+ badges.push({+ kind: definition.kind,+ label: content.label,+ asset: content.asset ?? definition.asset,+ ...(content.smallAsset ? {small_asset: content.smallAsset} : {}),+ aspect_ratio: content.aspectRatio ?? null,+ caption: content.caption ?? null,+ href: definition.href(source.environment),+ ...(content.count !== undefined ? {count: content.count} : {}),+ ...(content.accessibleLabel !== undefined ? {accessible_label: content.accessibleLabel} : {}),+ ...(content.details !== undefined ? {details: content.details} : {}),+ });+ }+ return badges;+}++export function buildProfileBadges(input: ProfileBadgeInput): Array<ProfileBadgeResponse> {+ return render(publicViewSource(input));+}++export function buildOperatorProfileBadges(input: ProfileBadgeInput): Array<AdminProfileBadgeResponse> {+ const publicKinds = new Set(render(publicViewSource({...input, restricted: false})).map((badge) => badge.kind));+ return render(operatorViewSource(input)).map((badge) => ({...badge, suppressed: !publicKinds.has(badge.kind)}));+}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.tsnew file mode 100644index 000000000..cc5b093e5--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.ts@@ -0,0 +1,27 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {Config} from '@app/api/Config';+import {getInstanceConfigRepository} from '@app/api/middleware/ServiceSingletons';+import {getBillingBranding} from '@app/api/stripe/BillingBranding';+import {isPremiumTieringActive} from '@app/api/stripe/BillingConfigCache';+import type {ProfileBadgeEnvironment} from '@app/api/user/profile_badges/ProfileBadgeRegistry';++export async function loadProfileBadgeEnvironment(): Promise<ProfileBadgeEnvironment> {+ const selfHosted = Config.instance.selfHosted;+ const [branding, premiumInfoUrl] = await Promise.all([+ getBillingBranding(),+ selfHosted+ ? getInstanceConfigRepository()+ .getAppPublicConfig()+ .then((config) => config.branding.premium_info_url)+ : Promise.resolve(null),+ ]);+ return {+ selfHosted,+ premiumTieringActive: isPremiumTieringActive(),+ productName: branding.productName,+ premiumName: branding.premiumName,+ premiumInfoUrl,+ marketingUrl: Config.endpoints.marketing,+ };+}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.tsnew file mode 100644index 000000000..2aed2b9a6--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.ts@@ -0,0 +1,224 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {getContentMessage} from '@app/api/content_i18n/ContentI18n';+import {Logger} from '@app/api/Logger';+import type {VisiblePremiumBadge} from '@app/api/user/profile_badges/PremiumBadgeMasking';+import {+ operatorPassBadgeAsset,+ operatorPassSmallBadgeAsset,+ PROFILE_BADGE_ASSETS,+} from '@app/api/user/profile_badges/ProfileBadgeAssets';+import {getVisionaryNumberTag} from '@app/api/user/profile_badges/VisionaryNumberTags';+import {UserFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';+import {formatSinceMonthYear} from '@fluxer/date_utils/src/SinceMonthYear';++export type ProfileBadgeKind =+ | 'staff'+ | 'partner'+ | 'bug_hunter'+ | 'operator_pass'+ | 'visionary'+ | 'visionary_number'+ | 'plutonium'+ | 'premium';++export interface ProfileBadgeEnvironment {+ selfHosted: boolean;+ premiumTieringActive: boolean;+ productName: string;+ premiumName: string;+ premiumInfoUrl: string | null;+ marketingUrl: string;+}++export interface VisibleOperatorPass {+ since: Date | null;+ count: number | null;+}++export interface ProfileBadgeView {+ flags: bigint;+ premium: VisiblePremiumBadge;+ operatorPass: VisibleOperatorPass | null;+ environment: ProfileBadgeEnvironment;+ locale: string;+ shown: ReadonlySet<ProfileBadgeKind>;+}++interface ProfileBadgeContent {+ label: string;+ count?: number;+ accessibleLabel?: string;+ details?: {title: string; lines: Array<string>};+ caption?: string;+ asset?: string | null;+ smallAsset?: string | null;+ aspectRatio?: number;+}++export interface ProfileBadgeDefinition {+ kind: ProfileBadgeKind;+ asset: string | null;+ availability: 'everywhere' | 'hosted' | 'self_hosted';+ href(environment: ProfileBadgeEnvironment): string | null;+ qualify(view: ProfileBadgeView): ProfileBadgeContent | null;+}++function premiumName(environment: ProfileBadgeEnvironment): string {+ return `${environment.productName} ${environment.premiumName}`;+}++function premiumLabel(view: ProfileBadgeView): string {+ if (view.premium.premiumType === UserPremiumTypes.LIFETIME) {+ return getContentMessage('profile_badge.premium_lifetime', view.locale, {+ premium_name: premiumName(view.environment),+ });+ }+ const since = view.premium.premiumSince;+ if (since) {+ return getContentMessage('profile_badge.premium_since', view.locale, {+ premium_name: premiumName(view.environment),+ since_month_year: formatSinceMonthYear(since, view.locale, 'UTC'),+ });+ }+ return getContentMessage('profile_badge.premium', view.locale, {premium_name: premiumName(view.environment)});+}++function flagBadge(flag: bigint, label: (view: ProfileBadgeView) => string): ProfileBadgeDefinition['qualify'] {+ return (view) => ((view.flags & flag) !== 0n ? {label: label(view)} : null);+}++const marketing = (path: string) => (environment: ProfileBadgeEnvironment) => `${environment.marketingUrl}/${path}`;++export const PROFILE_BADGE_REGISTRY: ReadonlyArray<ProfileBadgeDefinition> = [+ {+ kind: 'staff',+ asset: PROFILE_BADGE_ASSETS.staff,+ availability: 'everywhere',+ href: (environment) => (environment.selfHosted ? null : marketing('careers')(environment)),+ qualify: flagBadge(UserFlags.STAFF, (view) =>+ getContentMessage('profile_badge.staff', view.locale, {product_name: view.environment.productName}),+ ),+ },+ {+ kind: 'partner',+ asset: PROFILE_BADGE_ASSETS.partner,+ availability: 'hosted',+ href: marketing('partners'),+ qualify: flagBadge(UserFlags.PARTNER, (view) =>+ getContentMessage('profile_badge.partner', view.locale, {product_name: view.environment.productName}),+ ),+ },+ {+ kind: 'bug_hunter',+ asset: PROFILE_BADGE_ASSETS.bug_hunter,+ availability: 'hosted',+ href: marketing('help/report-bug'),+ qualify: flagBadge(UserFlags.BUG_HUNTER, (view) =>+ getContentMessage('profile_badge.bug_hunter', view.locale, {product_name: view.environment.productName}),+ ),+ },+ {+ kind: 'operator_pass',+ asset: PROFILE_BADGE_ASSETS.operator_pass,+ availability: 'hosted',+ href: marketing('pass'),+ qualify: (view) => {+ if (!view.operatorPass) return null;+ const {since, count} = view.operatorPass;+ const stacked = count != null && count >= 2;+ const sinceMonthYear = since ? formatSinceMonthYear(since, view.locale, 'UTC') : null;+ const lines: Array<string> = [];+ if (sinceMonthYear) {+ lines.push(+ getContentMessage('profile_badge.operator_pass_since_line', view.locale, {+ since_month_year: sinceMonthYear,+ }),+ );+ }+ if (stacked) {+ lines.push(getContentMessage('profile_badge.operator_pass_count', view.locale, {count}));+ }+ let label: string;+ if (sinceMonthYear && stacked) {+ label = getContentMessage('profile_badge.operator_pass_since_count', view.locale, {+ since_month_year: sinceMonthYear,+ count,+ });+ } else if (sinceMonthYear) {+ label = getContentMessage('profile_badge.operator_pass_since', view.locale, {+ since_month_year: sinceMonthYear,+ });+ } else {+ label = getContentMessage('profile_badge.operator_pass', view.locale);+ }+ const title = getContentMessage('profile_badge.operator_pass_title', view.locale);+ return {+ label,+ asset: operatorPassBadgeAsset(count),+ smallAsset: operatorPassSmallBadgeAsset(count),+ ...(stacked ? {count} : {}),+ accessibleLabel: stacked+ ? getContentMessage('profile_badge.operator_pass_accessible_count', view.locale, {count})+ : title,+ details: {title, lines},+ };+ },+ },+ {+ kind: 'visionary',+ asset: PROFILE_BADGE_ASSETS.visionary,+ availability: 'hosted',+ href: marketing('help/visionary'),+ qualify: (view) => {+ if (view.premium.premiumType !== UserPremiumTypes.LIFETIME) return null;+ const since = view.premium.premiumSince;+ const productName = view.environment.productName;+ return {+ label: since+ ? getContentMessage('profile_badge.visionary_since', view.locale, {+ product_name: productName,+ since_month_year: formatSinceMonthYear(since, view.locale, 'UTC'),+ })+ : getContentMessage('profile_badge.visionary', view.locale, {product_name: productName}),+ };+ },+ },+ {+ kind: 'visionary_number',+ asset: null,+ availability: 'hosted',+ href: marketing('help/visionary'),+ qualify: (view) => {+ const sequence = view.premium.premiumLifetimeSequence;+ if (!view.shown.has('visionary') || sequence == null) return null;+ const caption = `#${String(sequence)}`;+ const label = getContentMessage('profile_badge.visionary_number', view.locale, {number: caption});+ const tag = getVisionaryNumberTag(sequence);+ if (!tag) {+ Logger.warn({sequence}, 'No Visionary number tag for this sequence');+ return {label, caption};+ }+ return {label, caption, asset: tag.asset, aspectRatio: tag.width / tag.height};+ },+ },+ {+ kind: 'plutonium',+ asset: PROFILE_BADGE_ASSETS.plutonium,+ availability: 'hosted',+ href: marketing('plutonium'),+ qualify: (view) =>+ view.premium.premiumType === UserPremiumTypes.SUBSCRIPTION ? {label: premiumLabel(view)} : null,+ },+ {+ kind: 'premium',+ asset: PROFILE_BADGE_ASSETS.premium,+ availability: 'self_hosted',+ href: (environment) => environment.premiumInfoUrl,+ qualify: (view) => {+ const premiumType = view.premium.premiumType;+ if (!view.environment.premiumTieringActive || !premiumType) return null;+ return {label: premiumLabel(view)};+ },+ },+];diff --git a/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.json b/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.jsonnew file mode 100644index 000000000..d3bb62642--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.json@@ -0,0 +1,1017 @@+{+ "0": {"asset": "19ab3722596d03ba", "width": 159, "height": 128},+ "1": {"asset": "0b4295f3d39ba5ea", "width": 160, "height": 128},+ "2": {"asset": "73e6909daf74900e", "width": 157, "height": 128},+ "3": {"asset": "d82959a3321d509b", "width": 155, "height": 128},+ "4": {"asset": "3c4c2b198ed05c34", "width": 159, "height": 128},+ "5": {"asset": "94370fa7a7e1133c", "width": 158, "height": 128},+ "6": {"asset": "08503b7893dcfa02", "width": 159, "height": 128},+ "7": {"asset": "dada389315739a4a", "width": 157, "height": 128},+ "8": {"asset": "02cee01645f11b61", "width": 158, "height": 128},+ "9": {"asset": "2c3f3796e725c29d", "width": 158, "height": 128},+ "10": {"asset": "21d1f77fe478f94d", "width": 229, "height": 128},+ "11": {"asset": "f1ddb9ffb76063eb", "width": 230, "height": 128},+ "12": {"asset": "0ca4690ee26adaa5", "width": 226, "height": 128},+ "13": {"asset": "3f0319ca89afb3fe", "width": 225, "height": 128},+ "14": {"asset": "f8916709c4b2477d", "width": 228, "height": 128},+ "15": {"asset": "c4944ef3a22b6cac", "width": 228, "height": 128},+ "16": {"asset": "0d9683628d0f6fdd", "width": 228, "height": 128},+ "17": {"asset": "9577796b504b071a", "width": 226, "height": 128},+ "18": {"asset": "2f8b8df3da225f5b", "width": 227, "height": 128},+ "19": {"asset": "9d161f003714f428", "width": 227, "height": 128},+ "20": {"asset": "303a4597cea46fa6", "width": 229, "height": 128},+ "21": {"asset": "ad726ccfe111cf17", "width": 230, "height": 128},+ "22": {"asset": "c3d77970304bd436", "width": 226, "height": 128},+ "23": {"asset": "f933a91c39b36f76", "width": 225, "height": 128},+ "24": {"asset": "c411d2e3e18f285f", "width": 228, "height": 128},+ "25": {"asset": "9a78c708b133b63c", "width": 228, "height": 128},+ "26": {"asset": "5fd50da91ab778d2", "width": 228, "height": 128},+ "27": {"asset": "dc83fad6220b8cf6", "width": 226, "height": 128},+ "28": {"asset": "4ec4c11447ebe414", "width": 227, "height": 128},+ "29": {"asset": "15e4469ef493799d", "width": 227, "height": 128},+ "30": {"asset": "6c88efcd556e99f0", "width": 229, "height": 128},+ "31": {"asset": "e303ed4d98d34a39", "width": 230, "height": 128},+ "32": {"asset": "704186f621af7cac", "width": 226, "height": 128},+ "33": {"asset": "b53afd65c8d58974", "width": 225, "height": 128},+ "34": {"asset": "2dd0ce136a6e3621", "width": 228, "height": 128},+ "35": {"asset": "e40fedcebd339279", "width": 228, "height": 128},+ "36": {"asset": "3a44122f32c89830", "width": 228, "height": 128},+ "37": {"asset": "76811e43d987ed8a", "width": 226, "height": 128},+ "38": {"asset": "905589a1b2583637", "width": 227, "height": 128},+ "39": {"asset": "db43484e9b0ec308", "width": 227, "height": 128},+ "40": {"asset": "ec68c4213ef53e03", "width": 229, "height": 128},+ "41": {"asset": "df8640150f50de8c", "width": 230, "height": 128},+ "42": {"asset": "131c34cf51186a25", "width": 226, "height": 128},+ "43": {"asset": "f9f9ab17abd25af6", "width": 225, "height": 128},+ "44": {"asset": "c138a83051d26f09", "width": 228, "height": 128},+ "45": {"asset": "227cdae9b84cef86", "width": 228, "height": 128},+ "46": {"asset": "11755d86c700f2be", "width": 228, "height": 128},+ "47": {"asset": "f927844bafdecd03", "width": 226, "height": 128},+ "48": {"asset": "5bb3009be8db586e", "width": 227, "height": 128},+ "49": {"asset": "2fb0e9ec0b76b806", "width": 227, "height": 128},+ "50": {"asset": "f1ad4a2f27d7fbb7", "width": 229, "height": 128},+ "51": {"asset": "366a5f6880dd4f28", "width": 230, "height": 128},+ "52": {"asset": "31ef84cf6709c1c9", "width": 226, "height": 128},+ "53": {"asset": "0e0b2048cf67db9b", "width": 225, "height": 128},+ "54": {"asset": "3f84183dad16cab6", "width": 228, "height": 128},+ "55": {"asset": "ed84f06b3fc050f5", "width": 228, "height": 128},+ "56": {"asset": "e87b51e9947a66f5", "width": 228, "height": 128},+ "57": {"asset": "8d03928d7f81d090", "width": 226, "height": 128},+ "58": {"asset": "fe32ce33ca38d296", "width": 227, "height": 128},+ "59": {"asset": "bf5f51a176ed70bb", "width": 227, "height": 128},+ "60": {"asset": "2ba632b2789dbd1e", "width": 229, "height": 128},+ "61": {"asset": "e8d483a0362ee5c1", "width": 230, "height": 128},+ "62": {"asset": "1dd1682f158aa79f", "width": 226, "height": 128},+ "63": {"asset": "606e87fbe3c068e0", "width": 225, "height": 128},+ "64": {"asset": "1e34305c8aca1250", "width": 228, "height": 128},+ "65": {"asset": "f3614c71f2bcda43", "width": 228, "height": 128},+ "66": {"asset": "d3fa2701d57b3b0b", "width": 228, "height": 128},+ "67": {"asset": "6912f11ebe706258", "width": 226, "height": 128},+ "68": {"asset": "dd999a8ceaf04caa", "width": 227, "height": 128},+ "69": {"asset": "e2b354cd6644fa41", "width": 227, "height": 128},+ "70": {"asset": "23d945b3fd13f1b8", "width": 229, "height": 128},+ "71": {"asset": "f7438ecacdc58a8f", "width": 230, "height": 128},+ "72": {"asset": "e3419c63283390f5", "width": 226, "height": 128},+ "73": {"asset": "406ccebf229f627b", "width": 225, "height": 128},+ "74": {"asset": "aa326a3a07884af7", "width": 228, "height": 128},+ "75": {"asset": "b1c84b897e944fa3", "width": 228, "height": 128},+ "76": {"asset": "f901bb4358a79e12", "width": 228, "height": 128},+ "77": {"asset": "7c5595e0ddc2b0c3", "width": 226, "height": 128},+ "78": {"asset": "0a2ffb6c8e61f6cd", "width": 227, "height": 128},+ "79": {"asset": "9a8aaad73b29282b", "width": 227, "height": 128},+ "80": {"asset": "6fd72391fe437ea9", "width": 229, "height": 128},+ "81": {"asset": "1de29906e1b5114b", "width": 230, "height": 128},+ "82": {"asset": "e504001b62ef8a1c", "width": 226, "height": 128},+ "83": {"asset": "f12c22d252613c4c", "width": 225, "height": 128},+ "84": {"asset": "cb972733c2a90c14", "width": 228, "height": 128},+ "85": {"asset": "d39e46e82b307f5f", "width": 228, "height": 128},+ "86": {"asset": "883ef8c902f7c06f", "width": 228, "height": 128},+ "87": {"asset": "3a901af311d04383", "width": 226, "height": 128},+ "88": {"asset": "c8fedb5373384a16", "width": 227, "height": 128},+ "89": {"asset": "b3c25a7fc59a311d", "width": 227, "height": 128},+ "90": {"asset": "2bc91844a294ba3f", "width": 229, "height": 128},+ "91": {"asset": "928f5350c624cc38", "width": 230, "height": 128},+ "92": {"asset": "498bcd1fffa21e73", "width": 226, "height": 128},+ "93": {"asset": "0ed0edcaab3d748a", "width": 225, "height": 128},+ "94": {"asset": "3b2bca6c3903351d", "width": 228, "height": 128},+ "95": {"asset": "b34808e814e24640", "width": 228, "height": 128},+ "96": {"asset": "e62feafb5f2d8699", "width": 228, "height": 128},+ "97": {"asset": "e15ded4dcea99e1e", "width": 226, "height": 128},+ "98": {"asset": "a3559239ad4ee90d", "width": 227, "height": 128},+ "99": {"asset": "099fa4293eabe919", "width": 227, "height": 128},+ "100": {"asset": "04ca0ca345a35d15", "width": 298, "height": 128},+ "101": {"asset": "8e3005c7f4c8de78", "width": 299, "height": 128},+ "102": {"asset": "e2cfb44625b73c72", "width": 296, "height": 128},+ "103": {"asset": "7217158ee5b9d3fb", "width": 294, "height": 128},+ "104": {"asset": "22e151ada1f645e3", "width": 298, "height": 128},+ "105": {"asset": "741200b2cefcbe15", "width": 297, "height": 128},+ "106": {"asset": "f03bf8d587fbcb6c", "width": 298, "height": 128},+ "107": {"asset": "74ca1a19e4976f72", "width": 295, "height": 128},+ "108": {"asset": "0d7ae09df65f173b", "width": 297, "height": 128},+ "109": {"asset": "30bb906c7580ad22", "width": 297, "height": 128},+ "110": {"asset": "023576a827f08447", "width": 298, "height": 128},+ "111": {"asset": "aa2d5a2e9d691932", "width": 299, "height": 128},+ "112": {"asset": "df8a1105933705ef", "width": 296, "height": 128},+ "113": {"asset": "6913416e7aecaaf8", "width": 294, "height": 128},+ "114": {"asset": "419a0c09a9f66d1b", "width": 298, "height": 128},+ "115": {"asset": "5d85578376cb11da", "width": 297, "height": 128},+ "116": {"asset": "76826e8126015e78", "width": 298, "height": 128},+ "117": {"asset": "65faff4bc46bce54", "width": 295, "height": 128},+ "118": {"asset": "2a4e35c34ef7e82e", "width": 297, "height": 128},+ "119": {"asset": "33b12f73e774e19e", "width": 297, "height": 128},+ "120": {"asset": "151e47bc57a14ec4", "width": 298, "height": 128},+ "121": {"asset": "bcbce2c4acee9ebd", "width": 299, "height": 128},+ "122": {"asset": "b7329659bc63e058", "width": 296, "height": 128},+ "123": {"asset": "80b302edf61c79da", "width": 294, "height": 128},+ "124": {"asset": "0882695138def37c", "width": 298, "height": 128},+ "125": {"asset": "42dc19a169d4b0f9", "width": 297, "height": 128},+ "126": {"asset": "997bbed79c152253", "width": 298, "height": 128},+ "127": {"asset": "6120335e4ac2f8f0", "width": 295, "height": 128},+ "128": {"asset": "f75d3432bd44268d", "width": 297, "height": 128},+ "129": {"asset": "6381b18b5d87fc57", "width": 297, "height": 128},+ "130": {"asset": "340614ab72dd578c", "width": 298, "height": 128},+ "131": {"asset": "4acd67c45bf54d0c", "width": 299, "height": 128},+ "132": {"asset": "38609d4e6a0d1206", "width": 296, "height": 128},+ "133": {"asset": "e455283d195be6ff", "width": 294, "height": 128},+ "134": {"asset": "0302b87dbdb9dc21", "width": 298, "height": 128},+ "135": {"asset": "10131a991b3f1b6b", "width": 297, "height": 128},+ "136": {"asset": "3341cb6883e57ebf", "width": 298, "height": 128},+ "137": {"asset": "c2afc5ab21312dc7", "width": 295, "height": 128},+ "138": {"asset": "5c9687a39d2fb095", "width": 297, "height": 128},+ "139": {"asset": "22ad794b56189edd", "width": 297, "height": 128},+ "140": {"asset": "9d851a9b329bcb60", "width": 298, "height": 128},+ "141": {"asset": "dfb9a0f093b72fc2", "width": 299, "height": 128},+ "142": {"asset": "c4d43131c4031cf9", "width": 296, "height": 128},+ "143": {"asset": "7370e69e067c4fc8", "width": 294, "height": 128},+ "144": {"asset": "37f40d636cea477a", "width": 298, "height": 128},+ "145": {"asset": "195f8cdf3b265733", "width": 297, "height": 128},+ "146": {"asset": "7348ecab8954fe78", "width": 298, "height": 128},+ "147": {"asset": "9ecb57989dd33bf5", "width": 295, "height": 128},+ "148": {"asset": "d775542af814258a", "width": 297, "height": 128},+ "149": {"asset": "7b8bad4bbe067e84", "width": 297, "height": 128},+ "150": {"asset": "17eaf251e588de3e", "width": 298, "height": 128},+ "151": {"asset": "eb6442f21fb64614", "width": 299, "height": 128},+ "152": {"asset": "a877ffe014ccf557", "width": 296, "height": 128},+ "153": {"asset": "71e058d52d9c2365", "width": 294, "height": 128},+ "154": {"asset": "32236712b4e03c41", "width": 298, "height": 128},+ "155": {"asset": "6f7223a9c32e6220", "width": 297, "height": 128},+ "156": {"asset": "8486503c6155d6a7", "width": 298, "height": 128},+ "157": {"asset": "c2bf8d239f4d50d6", "width": 295, "height": 128},+ "158": {"asset": "4b1c4bd57fc2fc0a", "width": 297, "height": 128},+ "159": {"asset": "86c9595e352ffa46", "width": 297, "height": 128},+ "160": {"asset": "d20ecd69168bf7d3", "width": 298, "height": 128},+ "161": {"asset": "97980b58bfabfa20", "width": 299, "height": 128},+ "162": {"asset": "97b8387cf5328e9a", "width": 296, "height": 128},+ "163": {"asset": "5b42eb92f11165b3", "width": 294, "height": 128},+ "164": {"asset": "44c38f77b087be57", "width": 298, "height": 128},+ "165": {"asset": "17858771c6772ec8", "width": 297, "height": 128},+ "166": {"asset": "133bc61e9188eb9d", "width": 298, "height": 128},+ "167": {"asset": "1b99a8e506e2d1e2", "width": 295, "height": 128},+ "168": {"asset": "5e044794117b7036", "width": 297, "height": 128},+ "169": {"asset": "9554546a34b8c557", "width": 297, "height": 128},+ "170": {"asset": "6335c2002a78e639", "width": 298, "height": 128},+ "171": {"asset": "048c3c7647b28605", "width": 299, "height": 128},+ "172": {"asset": "111d75ce7c3f742f", "width": 296, "height": 128},+ "173": {"asset": "10c10d40f401b82b", "width": 294, "height": 128},+ "174": {"asset": "560753fad541a8de", "width": 298, "height": 128},+ "175": {"asset": "4e8ca1f62b27cae2", "width": 297, "height": 128},+ "176": {"asset": "d35d76058caea1cd", "width": 298, "height": 128},+ "177": {"asset": "47503fc5a5b5ffec", "width": 295, "height": 128},+ "178": {"asset": "d914c7556892ca3a", "width": 297, "height": 128},+ "179": {"asset": "65acc7c5955f0816", "width": 297, "height": 128},+ "180": {"asset": "4be875d06d39e33a", "width": 298, "height": 128},+ "181": {"asset": "7647ede9bb891b8a", "width": 299, "height": 128},+ "182": {"asset": "f1c7f173e6382fb9", "width": 296, "height": 128},+ "183": {"asset": "c7277f8b3ce21e03", "width": 294, "height": 128},+ "184": {"asset": "49fa0f5836904c64", "width": 298, "height": 128},+ "185": {"asset": "4a905d2eb1e58fb2", "width": 297, "height": 128},+ "186": {"asset": "5441652d39686749", "width": 298, "height": 128},+ "187": {"asset": "8e5f6f842485c088", "width": 295, "height": 128},+ "188": {"asset": "6e49d4dabab5f263", "width": 297, "height": 128},+ "189": {"asset": "98396fd25aa321ee", "width": 297, "height": 128},+ "190": {"asset": "8df5001277ab950f", "width": 298, "height": 128},+ "191": {"asset": "85e4e72cd39ae553", "width": 299, "height": 128},+ "192": {"asset": "dea63e3a735ea67a", "width": 296, "height": 128},+ "193": {"asset": "f158bbd97502d758", "width": 294, "height": 128},+ "194": {"asset": "4ad3e2a7fdaf0638", "width": 298, "height": 128},+ "195": {"asset": "c33d89fde97b8a78", "width": 297, "height": 128},+ "196": {"asset": "961b2e1b598f9e08", "width": 298, "height": 128},+ "197": {"asset": "25dc29e062f25774", "width": 295, "height": 128},+ "198": {"asset": "f72fa9201e292e00", "width": 297, "height": 128},+ "199": {"asset": "d4d4cf78445d987c", "width": 297, "height": 128},+ "200": {"asset": "43d5cf5b3bd3efdf", "width": 298, "height": 128},+ "201": {"asset": "501f0d322c834e28", "width": 299, "height": 128},+ "202": {"asset": "21fc0eb0a84d43cb", "width": 296, "height": 128},+ "203": {"asset": "de76efeb561e5554", "width": 294, "height": 128},+ "204": {"asset": "63e877b2c9ec032e", "width": 298, "height": 128},+ "205": {"asset": "53480f19e64f5a38", "width": 297, "height": 128},+ "206": {"asset": "3a2750665b8a4450", "width": 298, "height": 128},+ "207": {"asset": "aeda2aff86e87b4f", "width": 295, "height": 128},+ "208": {"asset": "3a799ce06aa52d84", "width": 297, "height": 128},+ "209": {"asset": "cbabfa619f68b665", "width": 297, "height": 128},+ "210": {"asset": "4bfa932dd90d25d3", "width": 298, "height": 128},+ "211": {"asset": "567dfe3269108e91", "width": 299, "height": 128},+ "212": {"asset": "43e7417fbad13bac", "width": 296, "height": 128},+ "213": {"asset": "8f850131e50f850b", "width": 294, "height": 128},+ "214": {"asset": "599f2a129a27f9c0", "width": 298, "height": 128},+ "215": {"asset": "c1c631ed256446a6", "width": 297, "height": 128},+ "216": {"asset": "d65a5d984c47606e", "width": 298, "height": 128},+ "217": {"asset": "bd97f3fcc2896418", "width": 295, "height": 128},+ "218": {"asset": "9b372dc4c69ae446", "width": 297, "height": 128},+ "219": {"asset": "6d9e86aeef41f0d3", "width": 297, "height": 128},+ "220": {"asset": "4cb21ef39f380f0a", "width": 298, "height": 128},+ "221": {"asset": "9eec948e1aa8d4b7", "width": 299, "height": 128},+ "222": {"asset": "796318d0b2dd2f17", "width": 296, "height": 128},+ "223": {"asset": "f4b9425e7f3adb47", "width": 294, "height": 128},+ "224": {"asset": "b74083261f3fee91", "width": 298, "height": 128},+ "225": {"asset": "ef84b44ba8ffc81d", "width": 297, "height": 128},+ "226": {"asset": "6981896027fcc74b", "width": 298, "height": 128},+ "227": {"asset": "1c080a7de20aa9c3", "width": 295, "height": 128},+ "228": {"asset": "1e9a7507d118edf0", "width": 297, "height": 128},+ "229": {"asset": "94c41a4b5af7a38e", "width": 297, "height": 128},+ "230": {"asset": "03457da5c10de2cd", "width": 298, "height": 128},+ "231": {"asset": "9f5900bcf3ef1fcf", "width": 299, "height": 128},+ "232": {"asset": "426ddf135ce00d13", "width": 296, "height": 128},+ "233": {"asset": "49faa31cb7d9e122", "width": 294, "height": 128},+ "234": {"asset": "1c9dd7b4d27adc79", "width": 298, "height": 128},+ "235": {"asset": "924708ee3db8dc88", "width": 297, "height": 128},+ "236": {"asset": "89ceb196c9156325", "width": 298, "height": 128},+ "237": {"asset": "0e6f7abfb8d18065", "width": 295, "height": 128},+ "238": {"asset": "c0451c717236341c", "width": 297, "height": 128},+ "239": {"asset": "53dddea16a3b3146", "width": 297, "height": 128},+ "240": {"asset": "8b7a85a1fa557674", "width": 298, "height": 128},+ "241": {"asset": "1363788a0e6a198a", "width": 299, "height": 128},+ "242": {"asset": "3fc61193c414a442", "width": 296, "height": 128},+ "243": {"asset": "c8354e604082dbfc", "width": 294, "height": 128},+ "244": {"asset": "5ac3811e49d8f542", "width": 298, "height": 128},+ "245": {"asset": "69b723ee4b4bdfdb", "width": 297, "height": 128},+ "246": {"asset": "6ff39c2d4bcb6798", "width": 298, "height": 128},+ "247": {"asset": "49cad88709ae77e1", "width": 295, "height": 128},+ "248": {"asset": "eb4ceec89ec6b8c1", "width": 297, "height": 128},+ "249": {"asset": "4df29e265b0f5399", "width": 297, "height": 128},+ "250": {"asset": "5c91ac69fc8847e3", "width": 298, "height": 128},+ "251": {"asset": "770894b6a17e6f88", "width": 299, "height": 128},+ "252": {"asset": "c5d1d6f8a3a29ad5", "width": 296, "height": 128},+ "253": {"asset": "aac15d8be3a4d121", "width": 294, "height": 128},+ "254": {"asset": "8296b406e6309965", "width": 298, "height": 128},+ "255": {"asset": "b752063ff627d3cd", "width": 297, "height": 128},+ "256": {"asset": "a76b7ef2e2433cf5", "width": 298, "height": 128},+ "257": {"asset": "032e5c3601e120b6", "width": 295, "height": 128},+ "258": {"asset": "142fd18f1665f4e7", "width": 297, "height": 128},+ "259": {"asset": "e1555e9e510cfd30", "width": 297, "height": 128},+ "260": {"asset": "e7a0dc872021528b", "width": 298, "height": 128},+ "261": {"asset": "3d6e54c0f0acff9a", "width": 299, "height": 128},+ "262": {"asset": "71d1a431faf8997c", "width": 296, "height": 128},+ "263": {"asset": "92dfa5ff1c804c3a", "width": 294, "height": 128},+ "264": {"asset": "89947287ff19486d", "width": 298, "height": 128},+ "265": {"asset": "e541490bfcb52254", "width": 297, "height": 128},+ "266": {"asset": "329735807ebe42ae", "width": 298, "height": 128},+ "267": {"asset": "0ff71fda1114076b", "width": 295, "height": 128},+ "268": {"asset": "241668f2ba4a53e7", "width": 297, "height": 128},+ "269": {"asset": "fe3584235d8f1d0a", "width": 297, "height": 128},+ "270": {"asset": "7b88e22ebb9f851d", "width": 298, "height": 128},+ "271": {"asset": "6e3bb0a07cdfabd8", "width": 299, "height": 128},+ "272": {"asset": "e2275f7f9e177bb9", "width": 296, "height": 128},+ "273": {"asset": "2a5e3956cbc1f85e", "width": 294, "height": 128},+ "274": {"asset": "048b6c01ad9cf78a", "width": 298, "height": 128},+ "275": {"asset": "8ef3880c7e9bc17e", "width": 297, "height": 128},+ "276": {"asset": "d483be5aea354ddd", "width": 298, "height": 128},+ "277": {"asset": "3974aafb19932871", "width": 295, "height": 128},+ "278": {"asset": "fd80bba2b25890d6", "width": 297, "height": 128},+ "279": {"asset": "6f3492ac79d686da", "width": 297, "height": 128},+ "280": {"asset": "33b3cc5d47c21880", "width": 298, "height": 128},+ "281": {"asset": "56ec4e9a92247298", "width": 299, "height": 128},+ "282": {"asset": "2f8e176978c9d1d1", "width": 296, "height": 128},+ "283": {"asset": "2fd5fa6f4120b4d5", "width": 294, "height": 128},+ "284": {"asset": "adc626080e273527", "width": 298, "height": 128},+ "285": {"asset": "02ec65337eb23b6a", "width": 297, "height": 128},+ "286": {"asset": "acf91fdee103d126", "width": 298, "height": 128},+ "287": {"asset": "d72a6ae43887dfd0", "width": 295, "height": 128},+ "288": {"asset": "5dfe82db5b59e5c7", "width": 297, "height": 128},+ "289": {"asset": "407d74c052f2ab72", "width": 297, "height": 128},+ "290": {"asset": "4f759e4ed6e9470d", "width": 298, "height": 128},+ "291": {"asset": "d4d08af559147d29", "width": 299, "height": 128},+ "292": {"asset": "191c841d48d4d8e4", "width": 296, "height": 128},+ "293": {"asset": "902b2dcd5fd0d41b", "width": 294, "height": 128},+ "294": {"asset": "abcb3e156d77147a", "width": 298, "height": 128},+ "295": {"asset": "b95ec95d4d961c62", "width": 297, "height": 128},+ "296": {"asset": "85eaa6644af54bf4", "width": 298, "height": 128},+ "297": {"asset": "564e1e2a99f8df7a", "width": 295, "height": 128},+ "298": {"asset": "18e8fb1489c04050", "width": 297, "height": 128},+ "299": {"asset": "5174aa3066e5b855", "width": 297, "height": 128},+ "300": {"asset": "1a817790f30fd5c3", "width": 298, "height": 128},+ "301": {"asset": "f4c9728d73417ed5", "width": 299, "height": 128},+ "302": {"asset": "53319e90e49e0422", "width": 296, "height": 128},+ "303": {"asset": "86a30297498010f1", "width": 294, "height": 128},+ "304": {"asset": "41d4a90530cb7f60", "width": 298, "height": 128},+ "305": {"asset": "4eead38cfc4ecbac", "width": 297, "height": 128},+ "306": {"asset": "1e5b1de5a8f0267c", "width": 298, "height": 128},+ "307": {"asset": "812d2c0df67b7990", "width": 295, "height": 128},+ "308": {"asset": "50d283808d28d78f", "width": 297, "height": 128},+ "309": {"asset": "42205452c3844333", "width": 297, "height": 128},+ "310": {"asset": "931e26e59621aee3", "width": 298, "height": 128},+ "311": {"asset": "9d5ac0b7efacb930", "width": 299, "height": 128},+ "312": {"asset": "2c6954872f10d63f", "width": 296, "height": 128},+ "313": {"asset": "e7ff2ef80efccebb", "width": 294, "height": 128},+ "314": {"asset": "283183bba07b2bb0", "width": 298, "height": 128},+ "315": {"asset": "d8b00675b17d1b0e", "width": 297, "height": 128},+ "316": {"asset": "8911e1695f720a86", "width": 298, "height": 128},+ "317": {"asset": "deb26ac38202c583", "width": 295, "height": 128},+ "318": {"asset": "956b1645d3cabf17", "width": 297, "height": 128},+ "319": {"asset": "267e16d7d922b6cb", "width": 297, "height": 128},+ "320": {"asset": "35930197939274a6", "width": 298, "height": 128},+ "321": {"asset": "87eb913da961bd51", "width": 299, "height": 128},+ "322": {"asset": "7891ee9fc5976e18", "width": 296, "height": 128},+ "323": {"asset": "984e82062f301ec2", "width": 294, "height": 128},+ "324": {"asset": "dcc8db0aea3a138c", "width": 298, "height": 128},+ "325": {"asset": "09269584bcdb4e51", "width": 297, "height": 128},+ "326": {"asset": "9da17f67c791684b", "width": 298, "height": 128},+ "327": {"asset": "e9c13610342a6da7", "width": 295, "height": 128},+ "328": {"asset": "57c48a250dd63f58", "width": 297, "height": 128},+ "329": {"asset": "82e40caedcd9fee5", "width": 297, "height": 128},+ "330": {"asset": "20aaeff86257f2d3", "width": 298, "height": 128},+ "331": {"asset": "bc9bfc1bdfe43205", "width": 299, "height": 128},+ "332": {"asset": "0c59514dbacf731d", "width": 296, "height": 128},+ "333": {"asset": "dc21ff2c2875d424", "width": 294, "height": 128},+ "334": {"asset": "019fa9fc5f2d0c6b", "width": 298, "height": 128},+ "335": {"asset": "4e90c528465620c9", "width": 297, "height": 128},+ "336": {"asset": "8612ff5b8db80d44", "width": 298, "height": 128},+ "337": {"asset": "2cdb91b270be0df8", "width": 295, "height": 128},+ "338": {"asset": "87c0e0aad41876c1", "width": 297, "height": 128},+ "339": {"asset": "b51e897ae4a3108c", "width": 297, "height": 128},+ "340": {"asset": "d8cdfd3a4eec02f8", "width": 298, "height": 128},+ "341": {"asset": "eeee9ffacc526608", "width": 299, "height": 128},+ "342": {"asset": "05b5cfc40b1813da", "width": 296, "height": 128},+ "343": {"asset": "fc2f5444c80b3f11", "width": 294, "height": 128},+ "344": {"asset": "ed3fb8bb12afc917", "width": 298, "height": 128},+ "345": {"asset": "b5dce8d315d86062", "width": 297, "height": 128},+ "346": {"asset": "80c6492fcfe9c058", "width": 298, "height": 128},+ "347": {"asset": "d326c1bcabcfe924", "width": 295, "height": 128},+ "348": {"asset": "630fcc0dad1ebf9b", "width": 297, "height": 128},+ "349": {"asset": "bfabd7687690bea1", "width": 297, "height": 128},+ "350": {"asset": "5237baee05c509c5", "width": 298, "height": 128},+ "351": {"asset": "63428e68f8c900a3", "width": 299, "height": 128},+ "352": {"asset": "e3f074d0bb08d7d7", "width": 296, "height": 128},+ "353": {"asset": "5799b50e33a1a144", "width": 294, "height": 128},+ "354": {"asset": "f9ca10dca96f2544", "width": 298, "height": 128},+ "355": {"asset": "5805265f33ccfaf9", "width": 297, "height": 128},+ "356": {"asset": "b3e916de4a9b6d4f", "width": 298, "height": 128},+ "357": {"asset": "9ebbddce8ae2661a", "width": 295, "height": 128},+ "358": {"asset": "bc9cb25a29d699cd", "width": 297, "height": 128},+ "359": {"asset": "2a7dbbad287b23f3", "width": 297, "height": 128},+ "360": {"asset": "fc146a04a87838e6", "width": 298, "height": 128},+ "361": {"asset": "38ee7457c1ed0733", "width": 299, "height": 128},+ "362": {"asset": "03525e3e3e5cd971", "width": 296, "height": 128},+ "363": {"asset": "0730ed0828377ce4", "width": 294, "height": 128},+ "364": {"asset": "8911e5a688da95ba", "width": 298, "height": 128},+ "365": {"asset": "7dcadce7de2390d2", "width": 297, "height": 128},+ "366": {"asset": "b4504c3f4522508c", "width": 298, "height": 128},+ "367": {"asset": "8502ab5a27892f48", "width": 295, "height": 128},+ "368": {"asset": "039a43c80e1bd38a", "width": 297, "height": 128},+ "369": {"asset": "4ba96e215de82bc3", "width": 297, "height": 128},+ "370": {"asset": "7e1025d1e67e811a", "width": 298, "height": 128},+ "371": {"asset": "84973ceef62c77ae", "width": 299, "height": 128},+ "372": {"asset": "eed4bab448fc4571", "width": 296, "height": 128},+ "373": {"asset": "7cfdd456a9fed603", "width": 294, "height": 128},+ "374": {"asset": "a94a8803eb0c3d44", "width": 298, "height": 128},+ "375": {"asset": "dfca811145cd016c", "width": 297, "height": 128},+ "376": {"asset": "37967e5e942281ad", "width": 298, "height": 128},+ "377": {"asset": "4f2ab806922838c1", "width": 295, "height": 128},+ "378": {"asset": "321bd744f0f9e837", "width": 297, "height": 128},+ "379": {"asset": "d10208abfa338324", "width": 297, "height": 128},+ "380": {"asset": "ef616d3f37584579", "width": 298, "height": 128},+ "381": {"asset": "c0f8a12f4336475c", "width": 299, "height": 128},+ "382": {"asset": "0f342b833501af07", "width": 296, "height": 128},+ "383": {"asset": "93a8492df0e16f0b", "width": 294, "height": 128},+ "384": {"asset": "5bff0dc82c65589c", "width": 298, "height": 128},+ "385": {"asset": "dc15ceb1d860e943", "width": 297, "height": 128},+ "386": {"asset": "7964905a95afeac9", "width": 298, "height": 128},+ "387": {"asset": "2c85000e708f3721", "width": 295, "height": 128},+ "388": {"asset": "0087b776f5fb2dcf", "width": 297, "height": 128},+ "389": {"asset": "847cb175e2aad54a", "width": 297, "height": 128},+ "390": {"asset": "16041914b7888a61", "width": 298, "height": 128},+ "391": {"asset": "641900538ba834f7", "width": 299, "height": 128},+ "392": {"asset": "2f7350cb39c31e1f", "width": 296, "height": 128},+ "393": {"asset": "6100b521fe04fe92", "width": 294, "height": 128},+ "394": {"asset": "cc06bc6e5585a4e9", "width": 298, "height": 128},+ "395": {"asset": "5645a883ea59a53e", "width": 297, "height": 128},+ "396": {"asset": "60a2039fe95ec5f9", "width": 298, "height": 128},+ "397": {"asset": "015e2a96c40552ee", "width": 295, "height": 128},+ "398": {"asset": "c3755aff79d0ad1c", "width": 297, "height": 128},+ "399": {"asset": "ef85c5e0bb1ca27b", "width": 297, "height": 128},+ "400": {"asset": "b3da6f11350373f1", "width": 298, "height": 128},+ "401": {"asset": "fb8586f6b27bb8cd", "width": 299, "height": 128},+ "402": {"asset": "6b5ccd85ee1f286f", "width": 296, "height": 128},+ "403": {"asset": "b48652161a4ff829", "width": 294, "height": 128},+ "404": {"asset": "8173d03e78143c26", "width": 298, "height": 128},+ "405": {"asset": "204452ac4cab846c", "width": 297, "height": 128},+ "406": {"asset": "f53ba4e25ab469bb", "width": 298, "height": 128},+ "407": {"asset": "ff27a4bacacfd447", "width": 295, "height": 128},+ "408": {"asset": "6d465f61cd7b984f", "width": 297, "height": 128},+ "409": {"asset": "f1c4ac7bf94fe0a0", "width": 297, "height": 128},+ "410": {"asset": "18f3ac798814e6e8", "width": 298, "height": 128},+ "411": {"asset": "d1795a35625546c5", "width": 299, "height": 128},+ "412": {"asset": "de8f7d12646a4502", "width": 296, "height": 128},+ "413": {"asset": "74900a4ca1a5d856", "width": 294, "height": 128},+ "414": {"asset": "d40506d81a1278b7", "width": 298, "height": 128},+ "415": {"asset": "a315957efda3189d", "width": 297, "height": 128},+ "416": {"asset": "dfb4aaed29e4ff4b", "width": 298, "height": 128},+ "417": {"asset": "95091e4e72914aa6", "width": 295, "height": 128},+ "418": {"asset": "59f75946a3e06362", "width": 297, "height": 128},+ "419": {"asset": "4a0bbd697deeae70", "width": 297, "height": 128},+ "420": {"asset": "ce5dad9c7c3987c2", "width": 298, "height": 128},+ "421": {"asset": "59ac1216879ff843", "width": 299, "height": 128},+ "422": {"asset": "b20e9d8dbfa22a2f", "width": 296, "height": 128},+ "423": {"asset": "df67d4e76d7d3cd8", "width": 294, "height": 128},+ "424": {"asset": "55ac0f03246a466c", "width": 298, "height": 128},+ "425": {"asset": "2eaf99bc52f7e970", "width": 297, "height": 128},+ "426": {"asset": "02e64e2c383a1cf8", "width": 298, "height": 128},+ "427": {"asset": "6486269876f991a6", "width": 295, "height": 128},+ "428": {"asset": "63512a7616e9480e", "width": 297, "height": 128},+ "429": {"asset": "47b57a10076045b3", "width": 297, "height": 128},+ "430": {"asset": "3919b18e406cee86", "width": 298, "height": 128},+ "431": {"asset": "7c262483b2269a77", "width": 299, "height": 128},+ "432": {"asset": "ccc39dfa6e0e6bf2", "width": 296, "height": 128},+ "433": {"asset": "52d6f36ef8d98e0b", "width": 294, "height": 128},+ "434": {"asset": "0ec39bac27afd548", "width": 298, "height": 128},+ "435": {"asset": "80c437a2d523d759", "width": 297, "height": 128},+ "436": {"asset": "46e98c648e36fc56", "width": 298, "height": 128},+ "437": {"asset": "516cece27b6703aa", "width": 295, "height": 128},+ "438": {"asset": "8723230fa80752a4", "width": 297, "height": 128},+ "439": {"asset": "7b8237d15b5a78d2", "width": 297, "height": 128},+ "440": {"asset": "d06bc2e784bf3e5d", "width": 298, "height": 128},+ "441": {"asset": "e55e1ed6275dd80c", "width": 299, "height": 128},+ "442": {"asset": "47fed35b3c215074", "width": 296, "height": 128},+ "443": {"asset": "a59a93ea14d01a87", "width": 294, "height": 128},+ "444": {"asset": "edf6c2ccb789c16b", "width": 298, "height": 128},+ "445": {"asset": "352b5abbb57247a5", "width": 297, "height": 128},+ "446": {"asset": "38c37a686b2efd6f", "width": 298, "height": 128},+ "447": {"asset": "51370d8ef3c87451", "width": 295, "height": 128},+ "448": {"asset": "e7bf3ba1fa91024f", "width": 297, "height": 128},+ "449": {"asset": "5b4b38623368b557", "width": 297, "height": 128},+ "450": {"asset": "2e80c49b75d40ca7", "width": 298, "height": 128},+ "451": {"asset": "c189c21ab540ea77", "width": 299, "height": 128},+ "452": {"asset": "1841fd2f209a8740", "width": 296, "height": 128},+ "453": {"asset": "8344f773b16228f4", "width": 294, "height": 128},+ "454": {"asset": "1c9945f48ed31dea", "width": 298, "height": 128},+ "455": {"asset": "03c16a843758986e", "width": 297, "height": 128},+ "456": {"asset": "671e3abc565a7ac7", "width": 298, "height": 128},+ "457": {"asset": "4fe2dc3c43592535", "width": 295, "height": 128},+ "458": {"asset": "b9dd60e82f0e2e94", "width": 297, "height": 128},+ "459": {"asset": "c9759c4066854430", "width": 297, "height": 128},+ "460": {"asset": "bd04e0e67b9246b9", "width": 298, "height": 128},+ "461": {"asset": "9f0bf1decb55b129", "width": 299, "height": 128},+ "462": {"asset": "83ae77e130fcdc29", "width": 296, "height": 128},+ "463": {"asset": "4a82ea78fee0dc81", "width": 294, "height": 128},+ "464": {"asset": "b0d55d5b37ab4533", "width": 298, "height": 128},+ "465": {"asset": "2a8315b735c70a80", "width": 297, "height": 128},+ "466": {"asset": "0959a2a351ed6ac5", "width": 298, "height": 128},+ "467": {"asset": "be80263548ed8ab1", "width": 295, "height": 128},+ "468": {"asset": "5fca8f10df4cd051", "width": 297, "height": 128},+ "469": {"asset": "7f0e59976915c718", "width": 297, "height": 128},+ "470": {"asset": "51c6121828ae3070", "width": 298, "height": 128},+ "471": {"asset": "abc8cca78bf15a29", "width": 299, "height": 128},+ "472": {"asset": "bac69a2a72ea0567", "width": 296, "height": 128},+ "473": {"asset": "3949baf6283472fd", "width": 294, "height": 128},+ "474": {"asset": "43c46a9745815626", "width": 298, "height": 128},+ "475": {"asset": "a1defe209d3f49e0", "width": 297, "height": 128},+ "476": {"asset": "0aeabcd87ef3ad26", "width": 298, "height": 128},+ "477": {"asset": "6157cd590efe47e6", "width": 295, "height": 128},+ "478": {"asset": "0108a9c9a9c8e036", "width": 297, "height": 128},+ "479": {"asset": "4b2f4777406f4a5e", "width": 297, "height": 128},+ "480": {"asset": "71ad4258b2610c0d", "width": 298, "height": 128},+ "481": {"asset": "49ca0f0d5bdfdedf", "width": 299, "height": 128},+ "482": {"asset": "5d486e1948145377", "width": 296, "height": 128},+ "483": {"asset": "8ad4b6441528fc11", "width": 294, "height": 128},+ "484": {"asset": "029531eabc5a705c", "width": 298, "height": 128},+ "485": {"asset": "dbd36f5fb2e6905c", "width": 297, "height": 128},+ "486": {"asset": "005366d8be0db1af", "width": 298, "height": 128},+ "487": {"asset": "ec4223318fcf1de2", "width": 295, "height": 128},+ "488": {"asset": "bef9cadb75d7a7c9", "width": 297, "height": 128},+ "489": {"asset": "7cf8fb34b3974b80", "width": 297, "height": 128},+ "490": {"asset": "3c9901fa2ba8a998", "width": 298, "height": 128},+ "491": {"asset": "03009d4c4a551823", "width": 299, "height": 128},+ "492": {"asset": "efc12e8c101c8f77", "width": 296, "height": 128},+ "493": {"asset": "6bbaa2c86ab9829b", "width": 294, "height": 128},+ "494": {"asset": "5624c190031818d9", "width": 298, "height": 128},+ "495": {"asset": "7625e7b8416d6a75", "width": 297, "height": 128},+ "496": {"asset": "b826b3d384f6d19d", "width": 298, "height": 128},+ "497": {"asset": "e36c1b934cc1e051", "width": 295, "height": 128},+ "498": {"asset": "339dc65a2269d996", "width": 297, "height": 128},+ "499": {"asset": "a0ae8bff064d076c", "width": 297, "height": 128},+ "500": {"asset": "ee837f107325856f", "width": 298, "height": 128},+ "501": {"asset": "7c5f61f58e092a80", "width": 299, "height": 128},+ "502": {"asset": "8feba06c92fc4b3e", "width": 296, "height": 128},+ "503": {"asset": "10485a703c8371a0", "width": 294, "height": 128},+ "504": {"asset": "7ea88af7798ab637", "width": 298, "height": 128},+ "505": {"asset": "fd3dbc1f902bd995", "width": 297, "height": 128},+ "506": {"asset": "6b9b30b7b0aa23f1", "width": 298, "height": 128},+ "507": {"asset": "81f78ecc4519dc5b", "width": 295, "height": 128},+ "508": {"asset": "fcfc9cf5e0504e77", "width": 297, "height": 128},+ "509": {"asset": "3d5feb2fa45c3b48", "width": 297, "height": 128},+ "510": {"asset": "02561f99b26b994a", "width": 298, "height": 128},+ "511": {"asset": "a26bc91fe083e0ab", "width": 299, "height": 128},+ "512": {"asset": "d7a2d2ee994a913e", "width": 296, "height": 128},+ "513": {"asset": "14667f1264e84868", "width": 294, "height": 128},+ "514": {"asset": "ed79c5621b09c7fe", "width": 298, "height": 128},+ "515": {"asset": "5100f1d10e8aeb3a", "width": 297, "height": 128},+ "516": {"asset": "835d5630f04ad809", "width": 298, "height": 128},+ "517": {"asset": "7b4f8d0d063a25e6", "width": 295, "height": 128},+ "518": {"asset": "e014c754f70ee20a", "width": 297, "height": 128},+ "519": {"asset": "5b322548193a829f", "width": 297, "height": 128},+ "520": {"asset": "d7c551d96438c067", "width": 298, "height": 128},+ "521": {"asset": "0c9a2a563c7540e7", "width": 299, "height": 128},+ "522": {"asset": "05c81a78d9d3c909", "width": 296, "height": 128},+ "523": {"asset": "6dd1fffa80315d43", "width": 294, "height": 128},+ "524": {"asset": "5e54b364054a7066", "width": 298, "height": 128},+ "525": {"asset": "327598a10a0a0346", "width": 297, "height": 128},+ "526": {"asset": "bbed2b33b07cbd09", "width": 298, "height": 128},+ "527": {"asset": "2d1f728aca7f02e4", "width": 295, "height": 128},+ "528": {"asset": "3b41619c9ede8223", "width": 297, "height": 128},+ "529": {"asset": "f68780ae818e2320", "width": 297, "height": 128},+ "530": {"asset": "757dbefe1884be05", "width": 298, "height": 128},+ "531": {"asset": "4ec70a6cbed71a43", "width": 299, "height": 128},+ "532": {"asset": "512b48cefcad0da1", "width": 296, "height": 128},+ "533": {"asset": "a226c037abef2bf2", "width": 294, "height": 128},+ "534": {"asset": "11a203ca0b3411eb", "width": 298, "height": 128},+ "535": {"asset": "c42e91dc931b6b84", "width": 297, "height": 128},+ "536": {"asset": "ae2e221870574d91", "width": 298, "height": 128},+ "537": {"asset": "35e87e63477cf5a6", "width": 295, "height": 128},+ "538": {"asset": "49674026905eb1c4", "width": 297, "height": 128},+ "539": {"asset": "b5f084e692425a98", "width": 297, "height": 128},+ "540": {"asset": "98fb123cec5cd1b4", "width": 298, "height": 128},+ "541": {"asset": "2e705b81cafcfcf7", "width": 299, "height": 128},+ "542": {"asset": "eb48cc3857d36006", "width": 296, "height": 128},+ "543": {"asset": "11d16f7e5b62061f", "width": 294, "height": 128},+ "544": {"asset": "7b10929cf3d5966b", "width": 298, "height": 128},+ "545": {"asset": "7890c0a3910a2b08", "width": 297, "height": 128},+ "546": {"asset": "0b5b0db68e702fad", "width": 298, "height": 128},+ "547": {"asset": "3e11b4cf810544ca", "width": 295, "height": 128},+ "548": {"asset": "4dbbd8bd74bb794a", "width": 297, "height": 128},+ "549": {"asset": "7b17f727be2ffcbe", "width": 297, "height": 128},+ "550": {"asset": "0cb695554757004b", "width": 298, "height": 128},+ "551": {"asset": "7d09b551aea40086", "width": 299, "height": 128},+ "552": {"asset": "28ec670c2ac83f83", "width": 296, "height": 128},+ "553": {"asset": "b4956b5d09c97238", "width": 294, "height": 128},+ "554": {"asset": "45c6e77103982337", "width": 298, "height": 128},+ "555": {"asset": "5463be12188e50d3", "width": 297, "height": 128},+ "556": {"asset": "c1824dbe50831a48", "width": 298, "height": 128},+ "557": {"asset": "1c8e5c1b6a1bdd90", "width": 295, "height": 128},+ "558": {"asset": "ab1ad5b6c603ca2c", "width": 297, "height": 128},+ "559": {"asset": "52634301e80c7d51", "width": 297, "height": 128},+ "560": {"asset": "cf9bf6d5bde351b1", "width": 298, "height": 128},+ "561": {"asset": "9c44269bcd917302", "width": 299, "height": 128},+ "562": {"asset": "662b5e581b3daaec", "width": 296, "height": 128},+ "563": {"asset": "be042e4bcc0ef169", "width": 294, "height": 128},+ "564": {"asset": "0373f11897cdbbce", "width": 298, "height": 128},+ "565": {"asset": "a2d73821b705f9e2", "width": 297, "height": 128},+ "566": {"asset": "8df38df56fa52a1e", "width": 298, "height": 128},+ "567": {"asset": "1344f5fc8748f3ff", "width": 295, "height": 128},+ "568": {"asset": "c9ed8d4487eb4814", "width": 297, "height": 128},+ "569": {"asset": "f04c3f6244e2bf06", "width": 297, "height": 128},+ "570": {"asset": "c0ca8f476ca21b21", "width": 298, "height": 128},+ "571": {"asset": "31a5e8143f5950d7", "width": 299, "height": 128},+ "572": {"asset": "a606acd9c5c08131", "width": 296, "height": 128},+ "573": {"asset": "55525b9461d71775", "width": 294, "height": 128},+ "574": {"asset": "6257b68e47a5d900", "width": 298, "height": 128},+ "575": {"asset": "25fa624ee34d90f4", "width": 297, "height": 128},+ "576": {"asset": "0280d89deb454eff", "width": 298, "height": 128},+ "577": {"asset": "5c84fd77c82f4307", "width": 295, "height": 128},+ "578": {"asset": "74c643200d24d53e", "width": 297, "height": 128},+ "579": {"asset": "13ebd000ad56e60b", "width": 297, "height": 128},+ "580": {"asset": "87bbf3d25977ee24", "width": 298, "height": 128},+ "581": {"asset": "38a0fb7a06a54dd2", "width": 299, "height": 128},+ "582": {"asset": "7fee5c62a64e676c", "width": 296, "height": 128},+ "583": {"asset": "8308351cdcee9f64", "width": 294, "height": 128},+ "584": {"asset": "a88b8d870dbff812", "width": 298, "height": 128},+ "585": {"asset": "0d179aff7a66203d", "width": 297, "height": 128},+ "586": {"asset": "67ee9bd27f3f8ed8", "width": 298, "height": 128},+ "587": {"asset": "b5a364d95b45890a", "width": 295, "height": 128},+ "588": {"asset": "bd6b5610bb6603d5", "width": 297, "height": 128},+ "589": {"asset": "0e1c11df47e1f7d8", "width": 297, "height": 128},+ "590": {"asset": "215d5180a560634e", "width": 298, "height": 128},+ "591": {"asset": "cedf61b4a64eb526", "width": 299, "height": 128},+ "592": {"asset": "afdcdf5976e143a5", "width": 296, "height": 128},+ "593": {"asset": "fba045b8fe86db3d", "width": 294, "height": 128},+ "594": {"asset": "ce12819294285a7a", "width": 298, "height": 128},+ "595": {"asset": "62b2ab71f0749696", "width": 297, "height": 128},+ "596": {"asset": "a21b7542a748e597", "width": 298, "height": 128},+ "597": {"asset": "b1e826a0842758b0", "width": 295, "height": 128},+ "598": {"asset": "e4de4df30040026b", "width": 297, "height": 128},+ "599": {"asset": "ceb9cf2d1ed814b0", "width": 297, "height": 128},+ "600": {"asset": "4014bc075d7e73e8", "width": 298, "height": 128},+ "601": {"asset": "4437e222bb388e92", "width": 299, "height": 128},+ "602": {"asset": "13622828df62a20c", "width": 296, "height": 128},+ "603": {"asset": "6fb450de8ceeaedf", "width": 294, "height": 128},+ "604": {"asset": "08fe088e1177b14c", "width": 298, "height": 128},+ "605": {"asset": "1bdedc8bdf9bec80", "width": 297, "height": 128},+ "606": {"asset": "8bf740556807c2f1", "width": 298, "height": 128},+ "607": {"asset": "5ddf6721d36d9e70", "width": 295, "height": 128},+ "608": {"asset": "b5bd48d763a849cb", "width": 297, "height": 128},+ "609": {"asset": "de9e4fdf72402742", "width": 297, "height": 128},+ "610": {"asset": "f8aad2deffa21c8a", "width": 298, "height": 128},+ "611": {"asset": "8fdd66bc6863c472", "width": 299, "height": 128},+ "612": {"asset": "126ce3d8d3c128c9", "width": 296, "height": 128},+ "613": {"asset": "97c9266bb05f9a52", "width": 294, "height": 128},+ "614": {"asset": "646b50584ce2e5a9", "width": 298, "height": 128},+ "615": {"asset": "355d6f598356e3a1", "width": 297, "height": 128},+ "616": {"asset": "a592d3563d4712b9", "width": 298, "height": 128},+ "617": {"asset": "d4937783683da1a5", "width": 295, "height": 128},+ "618": {"asset": "d5306c2a70588725", "width": 297, "height": 128},+ "619": {"asset": "fe4d74410a19cc04", "width": 297, "height": 128},+ "620": {"asset": "9b73f46160bc4638", "width": 298, "height": 128},+ "621": {"asset": "7e80d7cf04055876", "width": 299, "height": 128},+ "622": {"asset": "4d033bf360ebd08c", "width": 296, "height": 128},+ "623": {"asset": "bc91068b1c26f9d3", "width": 294, "height": 128},+ "624": {"asset": "022a2702c9683666", "width": 298, "height": 128},+ "625": {"asset": "5c9592999aaaff8d", "width": 297, "height": 128},+ "626": {"asset": "85233d038cafadf8", "width": 298, "height": 128},+ "627": {"asset": "94df5eb91ad9b655", "width": 295, "height": 128},+ "628": {"asset": "e8327d144436e2da", "width": 297, "height": 128},+ "629": {"asset": "2d07e4b23c84be90", "width": 297, "height": 128},+ "630": {"asset": "e501a5785e847460", "width": 298, "height": 128},+ "631": {"asset": "af462775bfa7a931", "width": 299, "height": 128},+ "632": {"asset": "a713ae5df260f3c3", "width": 296, "height": 128},+ "633": {"asset": "cf3a26c2c3eed5bb", "width": 294, "height": 128},+ "634": {"asset": "c6c7af056e150e00", "width": 298, "height": 128},+ "635": {"asset": "324293bde7181f53", "width": 297, "height": 128},+ "636": {"asset": "ea2dcc8811f27915", "width": 298, "height": 128},+ "637": {"asset": "6d2ac196512df7ed", "width": 295, "height": 128},+ "638": {"asset": "a7382690cbc1f004", "width": 297, "height": 128},+ "639": {"asset": "2593aca3ad3a1343", "width": 297, "height": 128},+ "640": {"asset": "d99a819e3514ce9c", "width": 298, "height": 128},+ "641": {"asset": "f244e254206131f5", "width": 299, "height": 128},+ "642": {"asset": "7b89c0b341fe2d66", "width": 296, "height": 128},+ "643": {"asset": "120501dacb844512", "width": 294, "height": 128},+ "644": {"asset": "220ea07ee8117dfc", "width": 298, "height": 128},+ "645": {"asset": "56c4f96a9f5e67c8", "width": 297, "height": 128},+ "646": {"asset": "dafc257c0e0f159f", "width": 298, "height": 128},+ "647": {"asset": "725abbf8c3cbdeed", "width": 295, "height": 128},+ "648": {"asset": "21ea7bd78247e42f", "width": 297, "height": 128},+ "649": {"asset": "3671740b1ca37522", "width": 297, "height": 128},+ "650": {"asset": "7e6b59f528892bc7", "width": 298, "height": 128},+ "651": {"asset": "c31c1867fc94470f", "width": 299, "height": 128},+ "652": {"asset": "71fe45c5c3e17460", "width": 296, "height": 128},+ "653": {"asset": "acbf61316bd900a6", "width": 294, "height": 128},+ "654": {"asset": "1eed2b95fa77d522", "width": 298, "height": 128},+ "655": {"asset": "b4654e9e15cbbb64", "width": 297, "height": 128},+ "656": {"asset": "37640e84ab6ac4a2", "width": 298, "height": 128},+ "657": {"asset": "1a87dc691ce19232", "width": 295, "height": 128},+ "658": {"asset": "91ff5211f1ba6077", "width": 297, "height": 128},+ "659": {"asset": "b7b908e1c3305386", "width": 297, "height": 128},+ "660": {"asset": "c2af2353637b1acc", "width": 298, "height": 128},+ "661": {"asset": "c2d96cab2ec081e3", "width": 299, "height": 128},+ "662": {"asset": "53d1e794bfca56a7", "width": 296, "height": 128},+ "663": {"asset": "741821f0c93a7b18", "width": 294, "height": 128},+ "664": {"asset": "e9c1132cdd10d3de", "width": 298, "height": 128},+ "665": {"asset": "79711ac9fe0ae9e9", "width": 297, "height": 128},+ "666": {"asset": "36d3e862b5c0659a", "width": 298, "height": 128},+ "667": {"asset": "ad346248818a5cca", "width": 295, "height": 128},+ "668": {"asset": "b2cc9401697fb0e3", "width": 297, "height": 128},+ "669": {"asset": "931cba03b1c67a91", "width": 297, "height": 128},+ "670": {"asset": "b21faf70744d5cd6", "width": 298, "height": 128},+ "671": {"asset": "f77f1cd9a8bf2455", "width": 299, "height": 128},+ "672": {"asset": "75a08536b976cd06", "width": 296, "height": 128},+ "673": {"asset": "5104716f791a6e1f", "width": 294, "height": 128},+ "674": {"asset": "6fb5c236df603936", "width": 298, "height": 128},+ "675": {"asset": "eab9a9a75bb32df2", "width": 297, "height": 128},+ "676": {"asset": "ebc7deb37b698223", "width": 298, "height": 128},+ "677": {"asset": "d6e8d2422aa60f57", "width": 295, "height": 128},+ "678": {"asset": "179eaa913ae5d89b", "width": 297, "height": 128},+ "679": {"asset": "6ca3d943f1c19f10", "width": 297, "height": 128},+ "680": {"asset": "f87b184cde00a6c5", "width": 298, "height": 128},+ "681": {"asset": "dcf7cd22bec5d3e6", "width": 299, "height": 128},+ "682": {"asset": "0e9123c138fbed0b", "width": 296, "height": 128},+ "683": {"asset": "0b13e67c71d560a1", "width": 294, "height": 128},+ "684": {"asset": "a88d9ba18ffdda81", "width": 298, "height": 128},+ "685": {"asset": "74073518a65379d6", "width": 297, "height": 128},+ "686": {"asset": "dda61ffd78b61cf7", "width": 298, "height": 128},+ "687": {"asset": "1a3adca585a118f4", "width": 295, "height": 128},+ "688": {"asset": "e278ba71822d6164", "width": 297, "height": 128},+ "689": {"asset": "c1239de72c68bc0e", "width": 297, "height": 128},+ "690": {"asset": "5191a1b8b7f47490", "width": 298, "height": 128},+ "691": {"asset": "d29daddc4546fd35", "width": 299, "height": 128},+ "692": {"asset": "178ae5910ae08874", "width": 296, "height": 128},+ "693": {"asset": "a45100106b8ead14", "width": 294, "height": 128},+ "694": {"asset": "713d6806fd5a22af", "width": 298, "height": 128},+ "695": {"asset": "0fc53887ed8f84fc", "width": 297, "height": 128},+ "696": {"asset": "b95e27638dfff85a", "width": 298, "height": 128},+ "697": {"asset": "84cd07582ed21929", "width": 295, "height": 128},+ "698": {"asset": "55ae3d99e757d3d4", "width": 297, "height": 128},+ "699": {"asset": "682e4d196a906db2", "width": 297, "height": 128},+ "700": {"asset": "b7d380ef11c61d83", "width": 298, "height": 128},+ "701": {"asset": "e3f95b9af4ac2a32", "width": 299, "height": 128},+ "702": {"asset": "00902eb8df8d516f", "width": 296, "height": 128},+ "703": {"asset": "6a616d3122967ebf", "width": 294, "height": 128},+ "704": {"asset": "7f68176673efc4a0", "width": 298, "height": 128},+ "705": {"asset": "7fbc3755f07f3efe", "width": 297, "height": 128},+ "706": {"asset": "a8bb50eeb04a6cee", "width": 298, "height": 128},+ "707": {"asset": "30297864edef4d24", "width": 295, "height": 128},+ "708": {"asset": "a1db6a2f3bbbbe79", "width": 297, "height": 128},+ "709": {"asset": "48b3fae534042426", "width": 297, "height": 128},+ "710": {"asset": "881bb7a155b52f35", "width": 298, "height": 128},+ "711": {"asset": "34a913180f672237", "width": 299, "height": 128},+ "712": {"asset": "0786e35f9c19efa2", "width": 296, "height": 128},+ "713": {"asset": "35f14868760adc7b", "width": 294, "height": 128},+ "714": {"asset": "96924872d6aecfc8", "width": 298, "height": 128},+ "715": {"asset": "f1f7b5feda6c4697", "width": 297, "height": 128},+ "716": {"asset": "27e6f5dc882ec673", "width": 298, "height": 128},+ "717": {"asset": "693d9d548b1d4912", "width": 295, "height": 128},+ "718": {"asset": "f89609a6347dfde1", "width": 297, "height": 128},+ "719": {"asset": "3f1016ff9d64a349", "width": 297, "height": 128},+ "720": {"asset": "636106b322624ace", "width": 298, "height": 128},+ "721": {"asset": "769b8421a45b5b00", "width": 299, "height": 128},+ "722": {"asset": "11c06064d756b4b4", "width": 296, "height": 128},+ "723": {"asset": "86e3db67969d71f6", "width": 294, "height": 128},+ "724": {"asset": "ac3e1174a0427b0d", "width": 298, "height": 128},+ "725": {"asset": "ccd84971d8fd2d22", "width": 297, "height": 128},+ "726": {"asset": "84bc0e44489db47f", "width": 298, "height": 128},+ "727": {"asset": "cbcf28971bd5ba40", "width": 295, "height": 128},+ "728": {"asset": "c51ff47a86b8a891", "width": 297, "height": 128},+ "729": {"asset": "e20819a3bbd05322", "width": 297, "height": 128},+ "730": {"asset": "22451044329817a3", "width": 298, "height": 128},+ "731": {"asset": "17ec5f5133eeb13d", "width": 299, "height": 128},+ "732": {"asset": "0f7ef54d84236ea0", "width": 296, "height": 128},+ "733": {"asset": "862c40cfc35c2443", "width": 294, "height": 128},+ "734": {"asset": "1887e615648c1261", "width": 298, "height": 128},+ "735": {"asset": "021705fd66fe21d6", "width": 297, "height": 128},+ "736": {"asset": "11db94faf974ab37", "width": 298, "height": 128},+ "737": {"asset": "596acb9096f23034", "width": 295, "height": 128},+ "738": {"asset": "80adf87c41930454", "width": 297, "height": 128},+ "739": {"asset": "9f127f40193da764", "width": 297, "height": 128},+ "740": {"asset": "daaa271c2c905531", "width": 298, "height": 128},+ "741": {"asset": "09def031ee525ce0", "width": 299, "height": 128},+ "742": {"asset": "e1c3f391462d5a96", "width": 296, "height": 128},+ "743": {"asset": "9d1aec03011a782a", "width": 294, "height": 128},+ "744": {"asset": "7095b48076503955", "width": 298, "height": 128},+ "745": {"asset": "d9952bb536a40037", "width": 297, "height": 128},+ "746": {"asset": "522d58e0796e02b0", "width": 298, "height": 128},+ "747": {"asset": "854d9e23d889cdfa", "width": 295, "height": 128},+ "748": {"asset": "4dc0dcc5514376b4", "width": 297, "height": 128},+ "749": {"asset": "20db3d021c9c84ca", "width": 297, "height": 128},+ "750": {"asset": "64b0aff266068c18", "width": 298, "height": 128},+ "751": {"asset": "3072dd4d1cd87afe", "width": 299, "height": 128},+ "752": {"asset": "d92eb8eb2b62567d", "width": 296, "height": 128},+ "753": {"asset": "cedcc5328f4bf60a", "width": 294, "height": 128},+ "754": {"asset": "83d2dda3697ac878", "width": 298, "height": 128},+ "755": {"asset": "53fc24dfcc51c24c", "width": 297, "height": 128},+ "756": {"asset": "19557dcf825e5278", "width": 298, "height": 128},+ "757": {"asset": "d93990aaa96d9ceb", "width": 295, "height": 128},+ "758": {"asset": "c4fd963809af89ef", "width": 297, "height": 128},+ "759": {"asset": "5d9e1e25a61157e5", "width": 297, "height": 128},+ "760": {"asset": "880cc80a9761479c", "width": 298, "height": 128},+ "761": {"asset": "6f582c7ff0b6e246", "width": 299, "height": 128},+ "762": {"asset": "13f69c8a81517d4e", "width": 296, "height": 128},+ "763": {"asset": "e37f39a09d395a09", "width": 294, "height": 128},+ "764": {"asset": "0358b1fdea06fbfc", "width": 298, "height": 128},+ "765": {"asset": "0325d96054e11d5e", "width": 297, "height": 128},+ "766": {"asset": "ef9e91ede9aa4e5a", "width": 298, "height": 128},+ "767": {"asset": "7dd3d95137356486", "width": 295, "height": 128},+ "768": {"asset": "2a739a5a5430f634", "width": 297, "height": 128},+ "769": {"asset": "67acc69eab2005e5", "width": 297, "height": 128},+ "770": {"asset": "d59e50405e901fc6", "width": 298, "height": 128},+ "771": {"asset": "0ffbfb7ab20ac4ec", "width": 299, "height": 128},+ "772": {"asset": "ffebb07cba668fb7", "width": 296, "height": 128},+ "773": {"asset": "9d39fb7b454b0bb0", "width": 294, "height": 128},+ "774": {"asset": "509ed72586d64752", "width": 298, "height": 128},+ "775": {"asset": "9ff4811330835aec", "width": 297, "height": 128},+ "776": {"asset": "842240f9f4b54ca6", "width": 298, "height": 128},+ "777": {"asset": "3128472813db3428", "width": 295, "height": 128},+ "778": {"asset": "22db2c074c8f2d92", "width": 297, "height": 128},+ "779": {"asset": "4e1a83016deb4af5", "width": 297, "height": 128},+ "780": {"asset": "95b93422a48672f3", "width": 298, "height": 128},+ "781": {"asset": "1cf755d85fef2d80", "width": 299, "height": 128},+ "782": {"asset": "a3c6fc2d809c46a1", "width": 296, "height": 128},+ "783": {"asset": "22080a7931a3dacf", "width": 294, "height": 128},+ "784": {"asset": "b30857dba088a468", "width": 298, "height": 128},+ "785": {"asset": "44c47ddcc5130227", "width": 297, "height": 128},+ "786": {"asset": "b385a31f2feae229", "width": 298, "height": 128},+ "787": {"asset": "ffcd1a8e923d8cde", "width": 295, "height": 128},+ "788": {"asset": "9283f798162d7018", "width": 297, "height": 128},+ "789": {"asset": "e1fdcc4ceed19ec3", "width": 297, "height": 128},+ "790": {"asset": "54cf651abc8fcf77", "width": 298, "height": 128},+ "791": {"asset": "e3f0f0d3d8598f98", "width": 299, "height": 128},+ "792": {"asset": "3570b03e3cebb09e", "width": 296, "height": 128},+ "793": {"asset": "e46dee26dd17df9c", "width": 294, "height": 128},+ "794": {"asset": "f940b41544485c16", "width": 298, "height": 128},+ "795": {"asset": "efb1f4c23575138f", "width": 297, "height": 128},+ "796": {"asset": "d0a9d19b8f42e6fe", "width": 298, "height": 128},+ "797": {"asset": "5bb978b301a22353", "width": 295, "height": 128},+ "798": {"asset": "b224e74bfa946bb0", "width": 297, "height": 128},+ "799": {"asset": "9fdddd95051b50e0", "width": 297, "height": 128},+ "800": {"asset": "4209c9acab5d1457", "width": 298, "height": 128},+ "801": {"asset": "deda74694a4ee21b", "width": 299, "height": 128},+ "802": {"asset": "9129987a208c269a", "width": 296, "height": 128},+ "803": {"asset": "ca8e1a7018961b28", "width": 294, "height": 128},+ "804": {"asset": "0d0dddc4d9e839b4", "width": 298, "height": 128},+ "805": {"asset": "20fb009d2960ce4c", "width": 297, "height": 128},+ "806": {"asset": "40b06c9865a7da03", "width": 298, "height": 128},+ "807": {"asset": "b2e9ffadfb8330ae", "width": 295, "height": 128},+ "808": {"asset": "03ca489996ed86bd", "width": 297, "height": 128},+ "809": {"asset": "63aa9a25ee4d01fd", "width": 297, "height": 128},+ "810": {"asset": "272f3ed1c1ad5fff", "width": 298, "height": 128},+ "811": {"asset": "920376df022e25e4", "width": 299, "height": 128},+ "812": {"asset": "e02c2b02aab5db34", "width": 296, "height": 128},+ "813": {"asset": "850b0817e4d1eaae", "width": 294, "height": 128},+ "814": {"asset": "c4711f2943ea2997", "width": 298, "height": 128},+ "815": {"asset": "fe9b32d0453eb952", "width": 297, "height": 128},+ "816": {"asset": "c90d70fe8496a089", "width": 298, "height": 128},+ "817": {"asset": "7dc3ca7004462bc3", "width": 295, "height": 128},+ "818": {"asset": "9cb9236f75451f51", "width": 297, "height": 128},+ "819": {"asset": "415a5c9225f1fd6c", "width": 297, "height": 128},+ "820": {"asset": "a4dff177ac065a09", "width": 298, "height": 128},+ "821": {"asset": "3e032e438ce3ad29", "width": 299, "height": 128},+ "822": {"asset": "937003684b8fed52", "width": 296, "height": 128},+ "823": {"asset": "9a67c948b72f27f6", "width": 294, "height": 128},+ "824": {"asset": "9b1a347ceae86d06", "width": 298, "height": 128},+ "825": {"asset": "9f6e94d354482aab", "width": 297, "height": 128},+ "826": {"asset": "ba46af25b957d539", "width": 298, "height": 128},+ "827": {"asset": "7bc68dbc75453b41", "width": 295, "height": 128},+ "828": {"asset": "bb1d642250dcfdf7", "width": 297, "height": 128},+ "829": {"asset": "7b043c7e209897e8", "width": 297, "height": 128},+ "830": {"asset": "554a1b9ce5626c9d", "width": 298, "height": 128},+ "831": {"asset": "f5cb94a3f452ab0d", "width": 299, "height": 128},+ "832": {"asset": "52bb747f567f4d5e", "width": 296, "height": 128},+ "833": {"asset": "453e1b47383fde9e", "width": 294, "height": 128},+ "834": {"asset": "1124fe9eb1cff7db", "width": 298, "height": 128},+ "835": {"asset": "dcce8bd12e8999ec", "width": 297, "height": 128},+ "836": {"asset": "762d4f39bb869aee", "width": 298, "height": 128},+ "837": {"asset": "3715a07b9406cafd", "width": 295, "height": 128},+ "838": {"asset": "ea7da1966c39ad27", "width": 297, "height": 128},+ "839": {"asset": "4826fd66a8c8525f", "width": 297, "height": 128},+ "840": {"asset": "9a07c7e3fb513b53", "width": 298, "height": 128},+ "841": {"asset": "fb19a6602b316d51", "width": 299, "height": 128},+ "842": {"asset": "55f1a3b18b9dc0b4", "width": 296, "height": 128},+ "843": {"asset": "ea9b195cda86acba", "width": 294, "height": 128},+ "844": {"asset": "1f5a7b0f9db31ef5", "width": 298, "height": 128},+ "845": {"asset": "f452f138a07f031e", "width": 297, "height": 128},+ "846": {"asset": "a997af7e1e16a7c3", "width": 298, "height": 128},+ "847": {"asset": "67f26e029bf2bef9", "width": 295, "height": 128},+ "848": {"asset": "0d33c7df2e264b8b", "width": 297, "height": 128},+ "849": {"asset": "b0a0165475a70c5d", "width": 297, "height": 128},+ "850": {"asset": "70a2319d771ea794", "width": 298, "height": 128},+ "851": {"asset": "e617b8e447f7d9d6", "width": 299, "height": 128},+ "852": {"asset": "5a7db24bc5f43fe4", "width": 296, "height": 128},+ "853": {"asset": "2d7bc9ae2760b5af", "width": 294, "height": 128},+ "854": {"asset": "aea6e0a6bb41d57e", "width": 298, "height": 128},+ "855": {"asset": "79b865a0c2cf24f3", "width": 297, "height": 128},+ "856": {"asset": "a1df7b7ba1408fa6", "width": 298, "height": 128},+ "857": {"asset": "fee15a528143ced6", "width": 295, "height": 128},+ "858": {"asset": "73e2f62b5759baa9", "width": 297, "height": 128},+ "859": {"asset": "0d115305f85490e1", "width": 297, "height": 128},+ "860": {"asset": "254d024f72311339", "width": 298, "height": 128},+ "861": {"asset": "46efc6c2e0670f11", "width": 299, "height": 128},+ "862": {"asset": "b3d4a463b081942c", "width": 296, "height": 128},+ "863": {"asset": "e438f1d832ce223d", "width": 294, "height": 128},+ "864": {"asset": "d91f8ec9bed4154d", "width": 298, "height": 128},+ "865": {"asset": "a5c80ed9b663aea0", "width": 297, "height": 128},+ "866": {"asset": "a614b213ab520483", "width": 298, "height": 128},+ "867": {"asset": "36936e707be0057f", "width": 295, "height": 128},+ "868": {"asset": "9c6befdac2d7c2d4", "width": 297, "height": 128},+ "869": {"asset": "85917b741f855f59", "width": 297, "height": 128},+ "870": {"asset": "95a028f962a9907e", "width": 298, "height": 128},+ "871": {"asset": "d7b7e5988ef7dbca", "width": 299, "height": 128},+ "872": {"asset": "0e5be35799a22b09", "width": 296, "height": 128},+ "873": {"asset": "ae113756ee990ca6", "width": 294, "height": 128},+ "874": {"asset": "5f6eb029604c527b", "width": 298, "height": 128},+ "875": {"asset": "e6cd80509677c985", "width": 297, "height": 128},+ "876": {"asset": "4f4624077511feb2", "width": 298, "height": 128},+ "877": {"asset": "73de22262992ae4c", "width": 295, "height": 128},+ "878": {"asset": "ad531bfeb3da2c5a", "width": 297, "height": 128},+ "879": {"asset": "c84328955c5cfd5c", "width": 297, "height": 128},+ "880": {"asset": "3ae3d4f8262047cf", "width": 298, "height": 128},+ "881": {"asset": "a46ada7df7126eb1", "width": 299, "height": 128},+ "882": {"asset": "28379869f0e39703", "width": 296, "height": 128},+ "883": {"asset": "b40ea05c3027bf78", "width": 294, "height": 128},+ "884": {"asset": "d3a00bc0b4d6a601", "width": 298, "height": 128},+ "885": {"asset": "385612692566dffb", "width": 297, "height": 128},+ "886": {"asset": "3462dabc7d903489", "width": 298, "height": 128},+ "887": {"asset": "d6d512de4e3001ff", "width": 295, "height": 128},+ "888": {"asset": "57b4b7b79bf8bce9", "width": 297, "height": 128},+ "889": {"asset": "f6b1a9d085efa900", "width": 297, "height": 128},+ "890": {"asset": "14a54aa4b5aab096", "width": 298, "height": 128},+ "891": {"asset": "2bf5856239d982db", "width": 299, "height": 128},+ "892": {"asset": "2f9a9197619e1ed5", "width": 296, "height": 128},+ "893": {"asset": "53fa88a0c70139cd", "width": 294, "height": 128},+ "894": {"asset": "4f9c6257cfd5f8c7", "width": 298, "height": 128},+ "895": {"asset": "1b7f0788d8896c41", "width": 297, "height": 128},+ "896": {"asset": "b40a5f83e891d8fd", "width": 298, "height": 128},+ "897": {"asset": "de055945aa967575", "width": 295, "height": 128},+ "898": {"asset": "d5b2d4d0c30b8f25", "width": 297, "height": 128},+ "899": {"asset": "31a61459a6f277bb", "width": 297, "height": 128},+ "900": {"asset": "9425052aba40019e", "width": 298, "height": 128},+ "901": {"asset": "e2b48b3b7c9735d0", "width": 299, "height": 128},+ "902": {"asset": "b13ea03ffc325dce", "width": 296, "height": 128},+ "903": {"asset": "1c66d0edebf44cbb", "width": 294, "height": 128},+ "904": {"asset": "2205387cbb3be1f5", "width": 298, "height": 128},+ "905": {"asset": "e4423394798e39c1", "width": 297, "height": 128},+ "906": {"asset": "e533c62231e8df8e", "width": 298, "height": 128},+ "907": {"asset": "f8291b23d0f539dc", "width": 295, "height": 128},+ "908": {"asset": "9113150297307b7d", "width": 297, "height": 128},+ "909": {"asset": "910c168345d1a1e4", "width": 297, "height": 128},+ "910": {"asset": "a19ac7b192ccb422", "width": 298, "height": 128},+ "911": {"asset": "d31f74cbbadf9097", "width": 299, "height": 128},+ "912": {"asset": "25082c729dc3877b", "width": 296, "height": 128},+ "913": {"asset": "fdc274fe8010853c", "width": 294, "height": 128},+ "914": {"asset": "7b5e391c066f3a59", "width": 298, "height": 128},+ "915": {"asset": "6f75477093774f06", "width": 297, "height": 128},+ "916": {"asset": "8e5ade33e7f3c983", "width": 298, "height": 128},+ "917": {"asset": "771100906b18cdcb", "width": 295, "height": 128},+ "918": {"asset": "8d33f16f7eddbab9", "width": 297, "height": 128},+ "919": {"asset": "e33eb0b1531a4466", "width": 297, "height": 128},+ "920": {"asset": "342c7fd397a42dcc", "width": 298, "height": 128},+ "921": {"asset": "e89d2eb5925c85bb", "width": 299, "height": 128},+ "922": {"asset": "486899c342396033", "width": 296, "height": 128},+ "923": {"asset": "bfe73c5d5dc57fb5", "width": 294, "height": 128},+ "924": {"asset": "c5ead7cc5b22d7e7", "width": 298, "height": 128},+ "925": {"asset": "d9edfd4364e4f4c3", "width": 297, "height": 128},+ "926": {"asset": "fed50d98d504a38a", "width": 298, "height": 128},+ "927": {"asset": "0397b6d15db58ab3", "width": 295, "height": 128},+ "928": {"asset": "9ea41f34e581e117", "width": 297, "height": 128},+ "929": {"asset": "910017cc880733b2", "width": 297, "height": 128},+ "930": {"asset": "09a8fb5376f98280", "width": 298, "height": 128},+ "931": {"asset": "3b8fa5d00174e14f", "width": 299, "height": 128},+ "932": {"asset": "3a5498a56fdabd34", "width": 296, "height": 128},+ "933": {"asset": "ab64d4d1a0f1fcdf", "width": 294, "height": 128},+ "934": {"asset": "e33ccccd1e43cf46", "width": 298, "height": 128},+ "935": {"asset": "0b03614a0e600804", "width": 297, "height": 128},+ "936": {"asset": "9f1e5a7f6754443c", "width": 298, "height": 128},+ "937": {"asset": "941e819899359096", "width": 295, "height": 128},+ "938": {"asset": "b5db8e2b4e2977c3", "width": 297, "height": 128},+ "939": {"asset": "9d14f85061336d3a", "width": 297, "height": 128},+ "940": {"asset": "740d068ab06efc7d", "width": 298, "height": 128},+ "941": {"asset": "997d9d8e1d1173e4", "width": 299, "height": 128},+ "942": {"asset": "a9979f10b83345d2", "width": 296, "height": 128},+ "943": {"asset": "9132f7d0815e9cbd", "width": 294, "height": 128},+ "944": {"asset": "2ecaa2fb7536f480", "width": 298, "height": 128},+ "945": {"asset": "21995e327333bde0", "width": 297, "height": 128},+ "946": {"asset": "7b91cee8cc8bc44d", "width": 298, "height": 128},+ "947": {"asset": "d5fbdfbdebc0250a", "width": 295, "height": 128},+ "948": {"asset": "dc1a7968ef5748f2", "width": 297, "height": 128},+ "949": {"asset": "8d878e9823f433c5", "width": 297, "height": 128},+ "950": {"asset": "471530c1df13432d", "width": 298, "height": 128},+ "951": {"asset": "f92680c18e6c21d7", "width": 299, "height": 128},+ "952": {"asset": "5d471ebbfdec8545", "width": 296, "height": 128},+ "953": {"asset": "4acff262287c1bb1", "width": 294, "height": 128},+ "954": {"asset": "f3de8c6ea45e839f", "width": 298, "height": 128},+ "955": {"asset": "ca2e3a16db98df75", "width": 297, "height": 128},+ "956": {"asset": "c83e59a878916813", "width": 298, "height": 128},+ "957": {"asset": "9b3911e6d8d501e6", "width": 295, "height": 128},+ "958": {"asset": "5cecb0d4429f172a", "width": 297, "height": 128},+ "959": {"asset": "7a10168b37f3fa85", "width": 297, "height": 128},+ "960": {"asset": "1f96fed716f5d6c8", "width": 298, "height": 128},+ "961": {"asset": "30a18f0f053d3936", "width": 299, "height": 128},+ "962": {"asset": "bd37e7d243dd1529", "width": 296, "height": 128},+ "963": {"asset": "2fa0bd2cd27c5a6a", "width": 294, "height": 128},+ "964": {"asset": "69c6624450862f25", "width": 298, "height": 128},+ "965": {"asset": "5ca7220ff135e449", "width": 297, "height": 128},+ "966": {"asset": "ba56c390a3040b42", "width": 298, "height": 128},+ "967": {"asset": "be29456506783e31", "width": 295, "height": 128},+ "968": {"asset": "9af39bae9ff9f79b", "width": 297, "height": 128},+ "969": {"asset": "4db5ffe0a7a1ba69", "width": 297, "height": 128},+ "970": {"asset": "4636f31cff31cfe1", "width": 298, "height": 128},+ "971": {"asset": "62a8691db4844c8b", "width": 299, "height": 128},+ "972": {"asset": "183e9fbb6627e606", "width": 296, "height": 128},+ "973": {"asset": "c3f242abb1f8528e", "width": 294, "height": 128},+ "974": {"asset": "5e1d369ac6ed16f0", "width": 298, "height": 128},+ "975": {"asset": "90cd76524f48c058", "width": 297, "height": 128},+ "976": {"asset": "a60b47764aab1ad3", "width": 298, "height": 128},+ "977": {"asset": "95669aea2c8470b2", "width": 295, "height": 128},+ "978": {"asset": "7bfb7e2c941270c8", "width": 297, "height": 128},+ "979": {"asset": "f086e1661ca83c9f", "width": 297, "height": 128},+ "980": {"asset": "e2d8ee8014b91f30", "width": 298, "height": 128},+ "981": {"asset": "a5c6e461546f3c1c", "width": 299, "height": 128},+ "982": {"asset": "e633cac047333221", "width": 296, "height": 128},+ "983": {"asset": "0bc8cf6b704a9841", "width": 294, "height": 128},+ "984": {"asset": "1de16fcce55949e0", "width": 298, "height": 128},+ "985": {"asset": "0311f3182d081be2", "width": 297, "height": 128},+ "986": {"asset": "af026f602f0808be", "width": 298, "height": 128},+ "987": {"asset": "b3c2319343bf5ee7", "width": 295, "height": 128},+ "988": {"asset": "8ff5b3976bf6cb96", "width": 297, "height": 128},+ "989": {"asset": "f15901bf86522220", "width": 297, "height": 128},+ "990": {"asset": "8c5af48f67f683f6", "width": 298, "height": 128},+ "991": {"asset": "5d831344b7a7d660", "width": 299, "height": 128},+ "992": {"asset": "ad9836b9abdc8f3e", "width": 296, "height": 128},+ "993": {"asset": "03915d5e8ad67218", "width": 294, "height": 128},+ "994": {"asset": "175ce2c788f01d20", "width": 298, "height": 128},+ "995": {"asset": "ac0944779477e041", "width": 297, "height": 128},+ "996": {"asset": "90b25950afb7cdae", "width": 298, "height": 128},+ "997": {"asset": "f466088cb016471c", "width": 295, "height": 128},+ "998": {"asset": "51f52ae8c6f618b9", "width": 297, "height": 128},+ "999": {"asset": "e7336a99b3a78111", "width": 297, "height": 128},+ "1000": {"asset": "430ed0117558d9ef", "width": 367, "height": 128},+ "1001": {"asset": "fcb24852fd0df380", "width": 369, "height": 128},+ "1002": {"asset": "4ff8bf99875639f5", "width": 365, "height": 128},+ "1003": {"asset": "2b58931918953d92", "width": 364, "height": 128},+ "1004": {"asset": "aad80f1efc3a1453", "width": 367, "height": 128},+ "1005": {"asset": "5399f813243824e1", "width": 367, "height": 128},+ "1006": {"asset": "a5a233c8376cf8c3", "width": 367, "height": 128},+ "1007": {"asset": "31afa42bdf1258c9", "width": 365, "height": 128},+ "1008": {"asset": "26ee468f0106e1cf", "width": 366, "height": 128},+ "1009": {"asset": "96d3941d699499cd", "width": 366, "height": 128},+ "1010": {"asset": "162747c88dafb143", "width": 367, "height": 128},+ "1011": {"asset": "b2f875dfb76f44ec", "width": 369, "height": 128},+ "1012": {"asset": "00655f348553b80c", "width": 365, "height": 128},+ "1013": {"asset": "d10e565731281c2a", "width": 364, "height": 128},+ "1014": {"asset": "5513b74cfc9265db", "width": 367, "height": 128}+}diff --git a/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.ts b/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.tsnew file mode 100644index 000000000..989014098--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/VisionaryNumberTags.ts@@ -0,0 +1,16 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import tags from '@app/api/user/profile_badges/VisionaryNumberTags.json' with {type: 'json'};++export interface VisionaryNumberTagFile {+ asset: string;+ width: number;+ height: number;+}++export const VISIONARY_NUMBER_TAGS: Readonly<Record<string, VisionaryNumberTagFile>> = tags;++export function getVisionaryNumberTag(sequence: number): VisionaryNumberTagFile | null {+ const key = String(sequence);+ return Object.hasOwn(VISIONARY_NUMBER_TAGS, key) ? VISIONARY_NUMBER_TAGS[key] : null;+}diff --git a/fluxer_api/src/api/user/services/UserAccountLookupService.ts b/fluxer_api/src/api/user/services/UserAccountLookupService.tsindex 309f69b10..8c063fa63 100644--- a/fluxer_api/src/api/user/services/UserAccountLookupService.ts+++ b/fluxer_api/src/api/user/services/UserAccountLookupService.ts@@ -9,22 +9,19 @@ import type {DiscriminatorService} from '@app/api/infrastructure/DiscriminatorSeimport type {RequestCache} from '@app/api/middleware/RequestCacheMiddleware';import type {GuildMember} from '@app/api/models/GuildMember';import type {User} from '@app/api/models/User';+import {applyPremiumBadgeMasking} from '@app/api/user/profile_badges/PremiumBadgeMasking';import type {UserRepository} from '@app/api/user/repositories/UserRepository';import {isUsernameTaken} from '@app/api/user/UniqueUsernames';-import {getBadgePremiumType} from '@app/api/user/UserHelpers';import {hasFixedDiscriminator} from '@app/api/user/UserTag';import {ChannelTypes} from '@fluxer/constants/src/ChannelConstants';import {- PremiumFlags,ProfileFieldPrivacyFlags,ProfilePrivacyLevels,RelationshipTypes,SMALL_GUILD_MEMBER_THRESHOLD,type UserPremiumType,- UserPremiumTypes,} from '@fluxer/constants/src/UserConstants';import {MissingAccessError} from '@fluxer/errors/src/domains/core/MissingAccessError';-import {UnknownUserError} from '@fluxer/errors/src/domains/user/UnknownUserError';import type {GuildMemberResponse} from '@fluxer/schema/src/domains/guild/GuildMemberSchemas';interface ProfileFieldPrivacyContext {@@ -95,26 +92,11 @@ export class UserAccountLookupService {}}}- let premiumType = getBadgePremiumType(user);- let premiumSince = user.premiumSince ?? undefined;- let premiumLifetimeSequence = user.premiumLifetimeSequence ?? undefined;- if (restrictProfile || user.premiumFlags & PremiumFlags.BADGE_HIDDEN) {- premiumType = undefined;- premiumSince = undefined;- premiumLifetimeSequence = undefined;- } else {- if (user.premiumType === UserPremiumTypes.LIFETIME) {- if (user.premiumFlags & PremiumFlags.BADGE_MASKED) {- premiumType = UserPremiumTypes.SUBSCRIPTION;- }- if (user.premiumFlags & PremiumFlags.BADGE_SEQUENCE_HIDDEN) {- premiumLifetimeSequence = undefined;- }- }- if (user.premiumFlags & PremiumFlags.BADGE_TIMESTAMP_HIDDEN) {- premiumSince = undefined;- }- }+ const {premiumType, premiumSince, premiumLifetimeSequence} = applyPremiumBadgeMasking(+ user,+ user.premiumFlags,+ restrictProfile,+ );const profileFieldPrivacyContext = restrictProfile? null: await this.getProfileFieldPrivacyContext(userId, targetId);diff --git a/fluxer_api/src/api/user/services/UserAccountProfileService.ts b/fluxer_api/src/api/user/services/UserAccountProfileService.tsindex 7fcce06bb..12f206665 100644--- a/fluxer_api/src/api/user/services/UserAccountProfileService.ts+++ b/fluxer_api/src/api/user/services/UserAccountProfileService.ts@@ -9,6 +9,7 @@ import {resolveLimitSafe} from '@app/api/limits/LimitConfigUtils';import {createLimitMatchContext} from '@app/api/limits/LimitMatchContextBuilder';import {profileSubstringBlocklistCache} from '@app/api/middleware/ProfileSubstringBlocklistCache';import type {User} from '@app/api/models/User';+import {applyProfileBadgeSettings} from '@app/api/user/profile_badges/PremiumBadgeMasking';import type {UserRepository} from '@app/api/user/repositories/UserRepository';import {isProfileSubstringExempt} from '@app/api/user/UserHelpers';import {deriveDominantAvatarColor} from '@app/api/utils/AvatarColorUtils';@@ -40,14 +41,6 @@ interface UserAccountProfileServiceDeps {limitConfigService: LimitConfigService;}-const PREMIUM_BADGE_FIELDS = [- {field: 'premium_badge_hidden', flag: PremiumFlags.BADGE_HIDDEN},- {field: 'premium_badge_masked', flag: PremiumFlags.BADGE_MASKED},- {field: 'premium_badge_timestamp_hidden', flag: PremiumFlags.BADGE_TIMESTAMP_HIDDEN},- {field: 'premium_badge_sequence_hidden', flag: PremiumFlags.BADGE_SEQUENCE_HIDDEN},- {field: 'premium_enabled_override', flag: PremiumFlags.ENABLED_OVERRIDE},-] as const;-export class UserAccountProfileService {constructor(private readonly deps: UserAccountProfileServiceDeps) {}@@ -287,6 +280,7 @@ export class UserAccountProfileService {previousHash: user.avatarHash,base64Image: avatar,errorPath: 'avatar',+ uploader: user,});const ctx = createLimitMatchContext({user});const hasAnimatedAvatar = resolveLimitSafe(@@ -347,6 +341,7 @@ export class UserAccountProfileService {previousHash: user.bannerHash,base64Image: banner,errorPath: 'banner',+ uploader: user,});if (prepared.isAnimated && hasAnimatedBanner === 0) {await this.deps.entityAssetService.rollbackAssetUpload(prepared);@@ -370,11 +365,15 @@ export class UserAccountProfileService {if (data.premium_enabled_override !== undefined && !(user.flags & UserFlags.STAFF)) {throw new MissingAccessError();}- for (const {field, flag} of PREMIUM_BADGE_FIELDS) {- const enabled = data[field];- if (enabled === undefined) continue;- const flags = updates.premium_flags ?? user.premiumFlags;- updates.premium_flags = enabled ? flags | flag : flags & ~flag;+ const current = updates.premium_flags ?? user.premiumFlags;+ let flags = applyProfileBadgeSettings(current, data);+ if (data.premium_enabled_override !== undefined) {+ flags = data.premium_enabled_override+ ? flags | PremiumFlags.ENABLED_OVERRIDE+ : flags & ~PremiumFlags.ENABLED_OVERRIDE;+ }+ if (flags !== current) {+ updates.premium_flags = flags;}}