/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import{excludeTables as t}from"../../core/accessorSupport/layerContainerType.js";import{write as i,read as n}from"../effects/jsonUtils.js";const s={type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:t}},"portal-item":{read:!0,write:{layerContainerTypes:t}}}}},a={read:{reader:n},write:{allowNull:!0,writer:i,layerContainerTypes:t}},l={json:{read:!1,write:!1,origins:{"web-map":a,"portal-item":a}}},p=t=>{const i=t;let n=class extends i{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return e([r(s)],n.prototype,"blendMode",void 0),e([r(l)],n.prototype,"effect",void 0),n=e([o("esri.layers.mixins.BlendLayer")],n),n};export{p as BlendLayer,s as blendModeProperty,l as effectProperty};
