'use strict';
import { userIds } from '../../../../common/dev/constants/user-ids.js';
import { resourceNames } from '../../../../../fd-toolbox/resources/resource-names.js';
import { createBaseResourceProperties } from '../../../utils/base-resource-properties.js';
import { subtractTime, getNow } from '../../../../../fd-toolbox/time/date-time.js';
import { workspaceConstants } from '../../../../../fd-toolbox/server/constants/workspace-constants.js';
import { createResource } from '../../../../meta/server/resources/crud-resources.js';

var __defProp=Object['defineProperty'],__name=(_0xd82a30,_0x29f061)=>__defProp(_0xd82a30,'name',{'value':_0x29f061,'configurable':!![]});async function seedNotifications(){await seedNotification(userIds['timWId'],![],!![],'Your\x20profile\x20is\x20complete','You\x20have\x20successfully\x20completed\x20your\x20profile',subtractTime(getNow(),0x48+0x4*-0x133+0x4*0x121,-0x75c+0x20f0*-0x1+0x2851*0x1)),await seedNotification(userIds['timWId'],![],![],'New\x20feature\x20available','Check\x20out\x20the\x20new\x20feature\x20in\x20your\x20dashboard'),await seedNotification(userIds['timWId'],!![],![],'Password\x20changed','Your\x20password\x20has\x20been\x20changed\x20successfully',subtractTime(getNow(),0x3b*-0x6c+-0x3aa*-0x5+0x6aa,-0xd*-0x18d+-0x23ae+-0x89*-0x1d)),await seedNotification(userIds['timWId'],!![],![],'Update\x20your\x20settings','Please\x20update\x20your\x20settings\x20to\x20improve\x20security',subtractTime(getNow(),-0x2134+0x259*0xd+0x1*0x2df,0x2*-0x241+-0x1336+0x17b8));}__name(seedNotifications,'seedNotifications');async function seedNotification(_0x5645f7,_0x1b9199,_0x1824e6,_0x90f5f9,_0x358b3c,_0xa752cd=getNow()){const _0x3da6ab={...createBaseResourceProperties(),'workspaceId':workspaceConstants['defaultWorkspaceId'],'createdDate':_0xa752cd,'isRead':_0x1b9199,'isExternal':_0x1824e6,'userId':_0x5645f7,'message':_0x90f5f9,'description':_0x358b3c};return createResource(_0x3da6ab,resourceNames['notification']);}__name(seedNotification,'seedNotification');

export { seedNotifications };
