/*
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","../../../../chunks/vec4f64","../core/shaderModules/interfaces","../core/shaderTechnique/ReloadableShaderModule","../core/shaderTechnique/ShaderTechnique","../lib/DefaultVertexAttributeLocations","../lib/Program","../../../../chunks/ShadowHighlight.glsl","../../../webgl/enums","../../../webgl/renderState"],(function(e,r,t,i,a,n,l,o,u,h,s,d){"use strict";let c=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).shadowColor=i.fromValues(1,0,1,1),r.shadowOpacity=.2,r.occludedShadowOpacity=.1,r.opacityElevation=1,r.dayNightTerminator=1,r}return t._inheritsLoose(r,e),r}(a.NoParameters),g=function(e){function r(r){var t;return t=e.call(this,r,null,(()=>t.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,o.Default3D)},i.initializePipeline=function(){return d.makePipelineState({blending:d.separateBlendingParams(s.BlendFactor.SRC_ALPHA,s.BlendFactor.ONE,s.BlendFactor.ONE_MINUS_SRC_ALPHA,s.BlendFactor.ONE_MINUS_SRC_ALPHA),colorWrite:d.defaultColorWriteParams,depthTest:null,depthWrite:null})},t._createClass(r,[{key:"primitiveType",get:function(){return s.PrimitiveType.TRIANGLE_STRIP}}]),r}(l.ShaderTechnique);g.shader=new n.ReloadableShaderModule(h.ShadowHighlight,(()=>new Promise(((r,t)=>e(["./ShadowHighlight.glsl"],r,t))))),r.ShadowHighlightPassParameters=c,r.ShadowHighlightTechnique=g,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
