'use strict';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { accessByUserId } from '../../meta/decorators/access-by-user-id.js';
import { icon } from '../../meta/decorators/icon.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { searchable } from '../../meta/decorators/searchable.js';
import { url } from '../../meta/decorators/url.js';
import { iconNames } from '../../fd-component-toolbox/icon/Icon.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x3c6819,_0x22662d)=>__defProp(_0x3c6819,'name',{'value':_0x22662d,'configurable':!![]}),__decorateClass=(_0x1beaac,_0x2b82b9,_0x3953ec,_0xeb5320)=>{var _0xa5ffe4=_0xeb5320>-0x25c1+-0x173*-0x3+0x1*0x2169?void(0x860+0x1*-0x150a+0xcaa):_0xeb5320?__getOwnPropDesc(_0x2b82b9,_0x3953ec):_0x2b82b9;for(var _0x3319b8=_0x1beaac['length']-(-0x1bc+0x1d44+-0x57*0x51),_0x3d4f57;_0x3319b8>=-0xdea*0x1+0x8*0x465+0xa9f*-0x2;_0x3319b8--)if(_0x3d4f57=_0x1beaac[_0x3319b8])_0xa5ffe4=(_0xeb5320?_0x3d4f57(_0x2b82b9,_0x3953ec,_0xa5ffe4):_0x3d4f57(_0xa5ffe4))||_0xa5ffe4;if(_0xeb5320&&_0xa5ffe4)__defProp(_0x2b82b9,_0x3953ec,_0xa5ffe4);return _0xa5ffe4;};let Company=class extends WorkspaceResource{['name'];['address'];['phoneNumber'];['website'];['industry'];['imageUrl'];};__name(Company,'Company'),__decorateClass([searchable()],Company['prototype'],'name',-0x26e+0x1*0x6fb+0x1*-0x48b),__decorateClass([searchable()],Company['prototype'],'address',-0x1f3c+-0x13*0x73+0x27c7),__decorateClass([searchable()],Company['prototype'],'phoneNumber',0xd40+-0xbed*0x1+0x151*-0x1),__decorateClass([url()],Company['prototype'],'website',-0x15d*-0x7+0x15d6+-0x3*0xa75),Company=__decorateClass([accessByUserId(),resourceMetaId(resourceIds['company']),icon(iconNames['globe'])],Company);

export { Company };
