/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["require","exports","../../../../chunks/_rollupPluginBabelHelpers","../core/shaderModules/interfaces","../core/shaderTechnique/ReloadableShaderModule","../core/shaderTechnique/ShaderTechnique","../lib/DefaultVertexAttributeLocations","../lib/OrderIndependentTransparency","../lib/Program","../../../../chunks/Heatmap.glsl","../../../webgl/enums","../../../webgl/renderState"],(function(e,r,t,i,n,a,l,o,u,s,d,c){"use strict";let h=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).colorRamp=null,r.densityMap=null,r.searchRadius=1,r.fieldTotal=0,r.minDensity=0,r.maxDensity=100,r}return t._inheritsLoose(r,e),r}(i.NoParameters),p=function(e){function r(r,t){var i;return i=e.call(this,r,t,(()=>i.destroy()))||this}t._inheritsLoose(r,e);var i=r.prototype;return i.initializeProgram=function(e){const t=r.shader.get().build();return new u.Program(e.rctx,t,l.Default3D)},i.initializePipeline=function(){return c.makePipelineState({blending:o.blendingDefault,colorWrite:c.defaultColorWriteParams,depthTest:null,depthWrite:null})},t._createClass(r,[{key:"primitiveType",get:function(){return d.PrimitiveType.TRIANGLE_STRIP}}]),r}(a.ShaderTechnique);p.shader=new n.ReloadableShaderModule(s.HeatmapShader,(()=>new Promise(((r,t)=>e(["./Heatmap.glsl"],r,t))))),r.HeatmapPassParameters=h,r.HeatmapTechnique=p,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
