/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../chunks/_rollupPluginBabelHelpers","../../../core/maybe","../../../core/workers/WorkerHandle"],(function(t,e,r,o){"use strict";let u=function(t){function o(e){var r;return r=t.call(this,"PointCloudWorker","transform",{transform:t=>r._getTransferList(t)},e)||this}return e._inheritsLoose(o,t),o.prototype._getTransferList=function(t){const e=[t.geometryBuffer];if(r.isSome(t.primaryAttributeData)&&t.primaryAttributeData.buffer&&e.push(t.primaryAttributeData.buffer),r.isSome(t.modulationAttributeData)&&t.modulationAttributeData.buffer&&e.push(t.modulationAttributeData.buffer),r.isSome(t.filterAttributesData))for(const o of t.filterAttributesData)r.isSome(o)&&o.buffer&&e.push(o.buffer);for(const r of t.userAttributesData)r.buffer&&e.push(r.buffer);return e},o}(o.WorkerHandle);t.PointCloudWorkerHandle=u,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
