'use strict';
import { getNewUuid } from '../../../fd-toolbox/uuids.js';
import { workspaceConstants } from '../../../fd-toolbox/server/constants/workspace-constants.js';
import { userIds } from '../../common/dev/constants/user-ids.js';
import { getNowWithoutTimezone, unixTimestampToDate } from '../../../fd-toolbox/time/date-time.js';

var __defProp=Object['defineProperty'],__name=(_0x9911a8,_0x379d49)=>__defProp(_0x9911a8,'name',{'value':_0x379d49,'configurable':!![]});function createBaseResourceProperties(_0x930d31,_0x17db2b){const _0x195910=getNowWithoutTimezone(),_0x2c962c=(0x212b*-0x1+-0x5d4+0x391*0xb)*(-0x1376+0x644+0xd6e),_0x216d4d={'id':_0x930d31??getNewUuid(),'createdDate':unixTimestampToDate(_0x195910/(-0x827*-0x2+-0xe61*-0x1+-0x1ac7)-_0x2c962c),'createdByUserId':userIds['timWId'],'modifiedDate':unixTimestampToDate(_0x195910/(0x21d0+0xe41+-0x2c29)),'modifiedByUserId':userIds['timWId'],'workspaceId':_0x17db2b??workspaceConstants['defaultWorkspaceId']};return _0x216d4d;}__name(createBaseResourceProperties,'createBaseResourceProperties');

export { createBaseResourceProperties };
