"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6129],{86129:(e,t,n)=>{n.r(t),n.d(t,{createProjectionTransformation:()=>s});var a=n(15756),r=(n(83661),n(95213),n(55537),n(79187));function s(e,t,n){let s,i;if(n?.geographicTransformation){if(n.geographicTransformation.steps?.length){const r=new a.D;r.setInputSpatialReference(e),r.setOutputSpatialReference(t);for(const e of n.geographicTransformation.steps){let t;t=e.wkid?(0,a.E)(e.wkid,e.isInverse):(0,a.F)(e.wkt,e.isInverse),r.add(t)}s=r.create()}else s=(0,a.G)();if(n.extendedParams){i=(0,a.m)();const{densificationStep:e}=n.extendedParams;null!=e&&(i.densificationStep=e)}}else if(n?.areaOfInterestExtent)return(0,a.b)(e,t,(o=n.areaOfInterestExtent,r.Envelope2D.construct(o.xmin,o.ymin,o.xmax,o.ymax)));var o;return s?(0,a.a)(e,t,s,i):(0,a.c)(e,t)}}}]);