/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../../../core/accessorSupport/decorators/subclass.js";import t from"../../../../../../layers/Layer.js";import{createTestMeshData as n}from"./createTestMeshData.js";import s from"./FeatureInstanceStore.js";import{TechniqueDebugContainer as a}from"./TechniqueDebugContainer.js";import{TechniqueDebugLayerView as c}from"./TechniqueDebugLayerView.js";var o;let i=o=class extends t{constructor(){super(...arguments),this.createLayerView=async(e,r)=>{const t=new c;return t.container=this._container,t.attach(),t}}static async create(e){const r=new s,t=e.featureInfos.map(e=>{const t=r.ensureInstance(e.technique,e.techniqueInputs).instanceId;return{...e,instanceId:t}}),c=await n(t),i=new a(r,c),u=new o;return u._container=i,u}whenRender(){return this._container.whenRender()}};i=o=e([r("esri.views.2d.engine.webgl.shaderGraph.techniques.TechniqueDebugLayer")],i);const u=i;export{u as default};
