/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{EffectAddControlPoints as e}from"./effects/EffectAddControlPoints.js";import{EffectArrow as t}from"./effects/EffectArrow.js";import{EffectBuffer as r}from"./effects/EffectBuffer.js";import{EffectControlMeasureLine as c}from"./effects/EffectControlMeasureLine.js";import{EffectCut as f}from"./effects/EffectCut.js";import{EffectDashes as o}from"./effects/EffectDashes.js";import{EffectDonut as n}from"./effects/EffectDonut.js";import{EffectEnclosingPolygon as s}from"./effects/EffectEnclosingPolygon.js";import{EffectJog as i}from"./effects/EffectJog.js";import{EffectMove as a}from"./effects/EffectMove.js";import{EffectOffset as m}from"./effects/EffectOffset.js";import{EffectRadial as l}from"./effects/EffectRadial.js";import{EffectReverse as u}from"./effects/EffectReverse.js";import{EffectRotate as E}from"./effects/EffectRotate.js";import{EffectScale as p}from"./effects/EffectScale.js";import{EffectSuppress as M}from"./effects/EffectSuppress.js";import{EffectTaperedPolygon as C}from"./effects/EffectTaperedPolygon.js";import{EffectWave as j}from"./effects/EffectWave.js";import{PlacementAlongLineSameSize as P}from"./placements/PlacementAlongLineSameSize.js";import{PlacementAtExtremities as I}from"./placements/PlacementAtExtremities.js";import{PlacementAtMeasuredUnits as L}from"./placements/PlacementAtMeasuredUnits.js";import{PlacementAtRatioPositions as d}from"./placements/PlacementAtRatioPositions.js";import{PlacementInsidePolygon as G}from"./placements/PlacementInsidePolygon.js";import{PlacementOnLine as D}from"./placements/PlacementOnLine.js";import{PlacementOnVertices as g}from"./placements/PlacementOnVertices.js";import{PlacementPolygonCenter as A}from"./placements/PlacementPolygonCenter.js";import y from"../dimensions/effects/LinearDimensionArrowEffect.js";import k from"../dimensions/effects/LinearDimensionExtensionLineEffect.js";import R from"../dimensions/effects/LinearDimensionLeaderLineEffect.js";import S from"../dimensions/effects/LinearDimensionLineEffect.js";import x from"../dimensions/effects/LinearDimensionPointEffect.js";import v from"../dimensions/effects/LinearDimensionTextEffect.js";function w(P){if(!P)return null;switch(P.type){case"CIMGeometricEffectAddControlPoints":return e.local();case"CIMGeometricEffectArrow":return t.local();case"CIMGeometricEffectBuffer":return r.local();case"CIMGeometricEffectControlMeasureLine":return c.local();case"CIMGeometricEffectCut":return f.local();case"CIMGeometricEffectDashes":return o.local();case"CIMGeometricEffectDonut":return n.local();case"CIMGeometricEffectJog":return i.local();case"CIMGeometricEffectMove":return a.local();case"CIMGeometricEffectOffset":return m.local();case"CIMGeometricEffectRadial":return l.local();case"CIMGeometricEffectReverse":return u.local();case"CIMGeometricEffectRotate":return E.local();case"CIMGeometricEffectScale":return p.local();case"CIMGeometricEffectSuppress":return M.local();case"CIMGeometricEffectTaperedPolygon":return C.local();case"CIMGeometricEffectWave":return j.local();case"CIMGeometricEffectEnclosingPolygon":return s.local();case"LinearDimensionLineEffect":return S.local();case"LinearDimensionLeaderLineEffect":return R.local();case"LinearDimensionPointEffect":return x.local();case"LinearDimensionArrowEffect":return y.local();case"LinearDimensionTextEffect":return v.local();case"LinearDimensionExtensionLineEffect":return k.local()}return null}function O(e){if(!e)return null;switch(e.type){case"CIMMarkerPlacementAlongLineSameSize":return P.local();case"CIMMarkerPlacementAtExtremities":return I.local();case"CIMMarkerPlacementAtMeasuredUnits":return L.local();case"CIMMarkerPlacementAtRatioPositions":return d.local();case"CIMMarkerPlacementInsidePolygon":return G.local();case"CIMMarkerPlacementOnLine":return D.local();case"CIMMarkerPlacementOnVertices":return g.local();case"CIMMarkerPlacementPolygonCenter":return A.local()}return null}export{w as getEffectOperator,O as getPlacementOperator};
