'use strict';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { UserWorkspaceBaseResource } from '../../meta/models/user-workspace-base-resource.js';
import { userWorkspaceBaseResourceProps } from '../../meta/core/resources/users/props/user-workspace-base-resource-props.js';
import { nameOf } from '../../../fd-toolbox-core/core/name-of.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x4b91db,_0x1ffee7)=>__defProp(_0x4b91db,'name',{'value':_0x1ffee7,'configurable':!![]}),__decorateClass=(_0x2ee187,_0x1caa57,_0x2b77b6,_0x5a8757)=>{var _0x2d87fb=_0x5a8757>-0x862+-0xa1d+-0x94*-0x20?void(-0x3*0xae8+-0x3a1+0x5*0x745):_0x5a8757?__getOwnPropDesc(_0x1caa57,_0x2b77b6):_0x1caa57;for(var _0x215224=_0x2ee187['length']-(0xf*-0x15b+0x42*-0x34+0x21be),_0x4e78b0;_0x215224>=0x1a5c+-0x1951+-0x59*0x3;_0x215224--)if(_0x4e78b0=_0x2ee187[_0x215224])_0x2d87fb=(_0x5a8757?_0x4e78b0(_0x1caa57,_0x2b77b6,_0x2d87fb):_0x4e78b0(_0x2d87fb))||_0x2d87fb;if(_0x5a8757&&_0x2d87fb)__defProp(_0x1caa57,_0x2b77b6,_0x2d87fb);return _0x2d87fb;};let Address=class extends UserWorkspaceBaseResource{['addressLine'];['addressLine2'];['city'];['countryId'];['country'];['state'];['zip'];['type'];};__name(Address,'Address'),Address=__decorateClass([resourceMetaId(resourceIds['address'])],Address);const addressProps={'userWorkspaceBaseResourceProps':userWorkspaceBaseResourceProps,'addressLine':nameOf('addressLine'),'addressLine2':nameOf('addressLine2'),'city':nameOf('city'),'countryId':nameOf('countryId'),'country':nameOf('country'),'state':nameOf('state'),'zip':nameOf('zip'),'type':nameOf('type')};

export { Address, addressProps };
