"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6061,9159],{5808(e,t,n){n.d(t,{O:()=>o});const o={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},24988(e,t,n){n.d(t,{Hh:()=>l,fz:()=>c,g7:()=>m,s1:()=>s,zo:()=>a});var o=n(76061),r=n(83290);let i;function s(){return!!i&&(0,r.i)()}async function l(){if(!s()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(7444)]).then(n.bind(n,37444)),Promise.all([n.e(3661),n.e(1878),n.e(5756)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);i=new e.OperatorGeodesicBuffer,t(r.p)}}function m(e,t,n,o,r){return i.execute(e,t,n,o,r,!1,null)}function a(e,t,n,r,s,l){const m=i.executeMany(new o.S(e),t,n,r,s,!1,l,null);return Array.from(m)}function c(){return i.supportsCurves()}},49159(e,t,n){n.d(t,{execute:()=>c,load:()=>a}),n(4576);var o=n(86211),r=n(24988),i=n(5808);let s,l,m;async function a(){if(!s||!(0,r.s1)()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(5756),n.e(3299),n.e(189)]).then(n.bind(n,83299)),(0,r.Hh)()]);s=e.fromGeometries,l=e.fromGeometry,m=e.toGeometry}}function c(e,t,n={}){let{curveType:s="geodesic",maxDeviation:a=NaN,unit:c}=n;c&&(t=(0,o.oU)(t,c,"meters"),a&&(a=(0,o.oU)(a,c,"meters")));const u=l(e),h=u.getSpatialReference();return m((0,r.g7)(u.getGeometry(),h,i.O[s],t,a),h)}},76061(e,t,n){n.d(t,{G:()=>o,S:()=>r});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);