Source: ProfileParser.js

import "./Ability-D1F1s_19.js";
import "./ChallengeProgress-DKKtijWw.js";
import "./Enemy-BqxhFdkB.js";
import "./Intrinsics-CqFOpLxp.js";
import "./Utils-C3kZCO6a.js";
import "./Skin-D6v6jC9U.js";
import "./ItemConfig-uU36aJFJ.js";
import "./Polarity--RYq3iwF.js";
import "./LoadOutItem-B_6G9dXC.js";
import "./XpInfo-CXC3I0NQ.js";
import "./LoadOutInventory-CPVZJ_W5.js";
import "./LoadOutPreset-CMbZo-II.js";
import "./Mission-D2n1i5R2.js";
import "./OperatorLoadOuts-B8bEy2dp.js";
import "./Syndicate-CjUKKAsk.js";
import { Profile } from "./Profile-WWZ2BDf0.js";
import "./Pvp-hyzYfVBB.js";
import "./Race-5Q0StEkE.js";
import "./Scan-Dlrv6viG.js";
import "./Weapon-4KlXEHQF.js";
import { Stats } from "./Stats-Bm1bpQe5.js";
import { parseDate } from "warframe-worldstate-data/utilities";

//#region src/ProfileParser.ts
/**
* Parser entry point
* @module
*/
var ProfileParser = class {
	/**
	* Player's profile
	*/
	profile;
	/**
	* N/A
	*/
	techProjects;
	/**
	* N/A
	*/
	xpComponents;
	/**
	* N/A
	*/
	xpCacheExpiryDate;
	/**
	* N/A
	*/
	ceremonyResetDate;
	/**
	* Player stats
	*/
	stats;
	/**
	*
	* @param {Object} data The data returned by getProfile endpoint
	* @param {string} locale The locale to return where possible
	* @param {boolean} [withItem=false] Whether or not to include items
	*/
	constructor(data, locale = "en", withItem = false) {
		this.profile = new Profile(data.Results[0], locale, withItem);
		this.techProjects = data.TechProjects;
		this.xpComponents = data.XpCompoents;
		this.xpCacheExpiryDate = parseDate(data.XpCacheExpiryDate);
		this.ceremonyResetDate = parseDate(data.CeremonyResetDate);
		this.stats = new Stats(data.Stats);
	}
};

//#endregion
export { ProfileParser as default };