'use strict';
import { createBaseResourceProperties } from '../../../../utils/base-resource-properties.js';
import { createLanguage } from './language-db.js';
import { englishLanguageCode } from '../../../../../../fd-toolbox/constants/constants.js';

var __defProp=Object['defineProperty'],__name=(_0x530079,_0x363544)=>__defProp(_0x530079,'name',{'value':_0x363544,'configurable':!![]});const languageIds={'english':'f3a9c1e2-7b4d-4f8a-9c12-8e5d3a2b1c90','german':'a8d4e2f9-3c71-4b6a-8f52-1e9c0d7b5a43','polish':'9c2e7a4f-b1d5-48e3-a6f9-0c8b5d3a2e71','ukrainian':'e4b1d9c7-6a2f-4e85-b3a9-2f8d5c1e7a90','french':'123e4567-e89b-12d3-a456-426614174004','dutch':'3e8c1a9f-6d52-4b70-9f1c-a4d7e2b8c053'};const languageCodes={'english':englishLanguageCode,'german':'de-DE','polish':'pl-PL','french':'fr-FR','ukrainian':'uk-UA','dutch':'nl-NL'};async function seedLanguages(){await seedEnglishLanguage(),await seedGermanLanguage(),await seedPolishLanguage(),await seedFrenchLanguage(),await seedUkrainianLanguage(),await seedDutchLanguage();}__name(seedLanguages,'seedLanguages');async function seedLanguage(_0x2a1292,_0x383820,_0x2fc289){const _0x291244={...createBaseResourceProperties(_0x2a1292),'name':_0x383820,'code':_0x2fc289};return createLanguage(_0x291244);}__name(seedLanguage,'seedLanguage');async function seedEnglishLanguage(){await seedLanguage(languageIds['english'],'English',languageCodes['english']);}__name(seedEnglishLanguage,'seedEnglishLanguage');async function seedGermanLanguage(){await seedLanguage(languageIds['german'],'German',languageCodes['german']);}__name(seedGermanLanguage,'seedGermanLanguage');async function seedPolishLanguage(){await seedLanguage(languageIds['polish'],'Polish',languageCodes['polish']);}__name(seedPolishLanguage,'seedPolishLanguage');async function seedFrenchLanguage(){await seedLanguage(languageIds['french'],'French',languageCodes['french']);}__name(seedFrenchLanguage,'seedFrenchLanguage');async function seedUkrainianLanguage(){await seedLanguage(languageIds['ukrainian'],'Ukrainian',languageCodes['ukrainian']);}__name(seedUkrainianLanguage,'seedUkrainianLanguage');async function seedDutchLanguage(){await seedLanguage(languageIds['dutch'],'Dutch',languageCodes['dutch']);}__name(seedDutchLanguage,'seedDutchLanguage');

export { languageIds, seedLanguages };
