/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { b as requirePaging_pb, c as requireUuid_pb, d as requireRepresentation_pb } from './wrappers_pb-aFAwKqIf.js';
import { m as mapper } from './bundle-DLfw87TV.js';
import { k as fromPbUuid2l, U as fromPbCamera, r as mapCursor, V as toPbJsUuid2l } from './streamAttributes-B6xi3kRV.js';

var paging_pbExports = requirePaging_pb();

var uuid_pbExports = requireUuid_pb();

const mapModelView = mapper.defineMapper(mapper.read(mapper.mapRequiredProp('id', fromPbUuid2l), mapper.getProp('displayName'), mapper.mapRequiredProp('partRevisionId', fromPbUuid2l), mapper.mapRequiredProp('camera', fromPbCamera)), ([id, displayName, partRevisionId, camera]) => ({
    id,
    displayName,
    partRevisionId,
    camera,
}));
const mapListItemModelViewsResponse = mapper.defineMapper(mapper.read(mapper.mapProp('modelViewsList', mapper.mapArray(mapModelView)), mapper.mapProp('nextPageCursor', mapCursor)), ([modelViews, next]) => ({ modelViews, paging: { next } }));
const mapListItemModelViewsResponseOrThrow = mapper.ifInvalidThrow(mapListItemModelViewsResponse);
const mapItemModelView = mapper.defineMapper(mapper.read(mapper.mapProp('modelViewId', toPbJsUuid2l), mapper.mapProp('sceneItemId', toPbJsUuid2l)), ([modelViewId, sceneItemId]) => ({ modelViewId, sceneItemId }));
const mapItemModelViewOrThrow = mapper.ifInvalidThrow(mapItemModelView);

const mapPmiAnnotation = mapper.defineMapper(mapper.read(mapper.mapRequiredProp('id', fromPbUuid2l), mapper.getProp('displayName')), ([id, displayName]) => ({ id, displayName }));
const mapListPmiAnnotationsResponse = mapper.defineMapper(mapper.read(mapper.mapProp('annotationsList', mapper.mapArray(mapPmiAnnotation)), mapper.mapProp('nextPageCursor', mapCursor)), ([annotations, next]) => ({ annotations, paging: { next } }));
const mapListPmiAnnotationsResponseOrThrow = mapper.ifInvalidThrow(mapListPmiAnnotationsResponse);

var representation_pbExports = requireRepresentation_pb();

export { mapItemModelViewOrThrow as a, mapListPmiAnnotationsResponseOrThrow as b, mapListItemModelViewsResponseOrThrow as m, paging_pbExports as p, representation_pbExports as r, uuid_pbExports as u };
//# sourceMappingURL=representation_pb-CQzLHWhX.js.map

//# sourceMappingURL=representation_pb-CQzLHWhX.js.map