UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

1 lines • 44.7 kB
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{46187(t,e,o){async function r(t={}){var e,o=t,r="";try{r=new URL(".","").href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var _,p,n,i,c,a,y,s,P,g,u=console.log.bind(console),f=console.error.bind(console),b=!1;function E(t,e){t||m(e)}var d,T=!1;function O(){var t=So.buffer;n=new Int8Array(t),c=new Int16Array(t),i=new Uint8Array(t),a=new Int32Array(t),y=new Uint32Array(t),s=new Float32Array(t),P=new Float64Array(t),g=new BigInt64Array(t),new BigUint64Array(t)}function m(t){f(t="Aborted("+t+")"),b=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw p?.(e),e}function h(){return o.locateFile?function(t){return o.locateFile?o.locateFile(t,r):r+t}("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}async function S(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return function(){throw"both async and sync fetching of the wasm failed"}()}var N,l,v,M,j,D,A,R,C,G,I,L,U,w,F,Y,X,x,H,z,Z,W,B,q,K,k,V,$,J,Q,tt,et,ot,rt,_t,pt,nt,it,ct,at,yt,st,Pt,gt,ut,ft,bt,Et,dt,Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Ct,Gt,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,Bt,qt,Kt,kt,Vt,$t,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ce,Ge,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,Be,qe,Ke,ke,Ve,$e,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No=globalThis.TextDecoder&&new TextDecoder,lo=(t,e=0,o,r)=>{var _=((t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e})(t,e,o,r);if(_-e>16&&t.buffer&&No)return No.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},vo=(t,e,o)=>t?lo(i,t,e,o):"",Mo=[0,31,60,91,121,152,182,213,244,274,305,335],jo=[0,31,59,90,120,151,181,212,243,273,304,334],Do=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},Ao=(t,e,o)=>Do(t,i,e,o),Ro=(t,e)=>Math.ceil(t/e)*e,Co=t=>{var e=(t-So.buffer.byteLength+65535)/65536|0;try{return So.grow(e),O(),1}catch(t){}},Go={},Io=()=>{if(!Io.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:"./this.program"};for(var e in Go)void 0===Go[e]?delete t[e]:t[e]=Go[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);Io.strings=o}return Io.strings},Lo=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},Uo=[null,[],[]],wo=(t,e)=>{var o=Uo[t];0===e||10===e?((1===t?u:f)(lo(o)),o.length=0):o.push(e)};function Fo(t){o._webidl_free=t.u,o._webidl_malloc=t.v,N=o._emscripten_bind_PeObject_getCode_0=t.w,l=o._emscripten_bind_PeObject_getName_1=t.x,v=o._emscripten_bind_PeObject_getType_0=t.y,M=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,j=o._emscripten_bind_PeCoordsys_getCode_0=t.A,D=o._emscripten_bind_PeCoordsys_getName_1=t.B,A=o._emscripten_bind_PeCoordsys_getType_0=t.C,R=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,C=o._emscripten_bind_PeUnit_getCode_0=t.E,G=o._emscripten_bind_PeUnit_getName_1=t.F,I=o._emscripten_bind_PeUnit_getType_0=t.G,L=o._emscripten_bind_VoidPtr___destroy___0=t.H,U=o._emscripten_bind_PeAngunit_getCode_0=t.I,w=o._emscripten_bind_PeAngunit_getName_1=t.J,F=o._emscripten_bind_PeAngunit_getType_0=t.K,Y=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,X=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,x=o._emscripten_bind_PeDatum_getCode_0=t.N,H=o._emscripten_bind_PeDatum_getName_1=t.O,z=o._emscripten_bind_PeDatum_getType_0=t.P,Z=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,W=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,B=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,q=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,K=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,k=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,V=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,$=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,J=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Q=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,tt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,et=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,ot=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,rt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,_t=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,pt=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,nt=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,it=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,ct=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,at=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,yt=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,st=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,Pt=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,gt=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ut=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ft=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,bt=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,Et=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,dt=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,Tt=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,Ot=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,mt=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,ht=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,St=o._emscripten_bind_PeDouble_get_val_0=t.va,Nt=o._emscripten_bind_PeDouble_set_val_1=t.wa,lt=o._emscripten_bind_PeDouble___destroy___0=t.xa,vt=o._emscripten_bind_PeFactory_initialize_1=t.ya,Mt=o._emscripten_bind_PeFactory_factoryByType_2=t.za,jt=o._emscripten_bind_PeFactory_fromString_2=t.Aa,Dt=o._emscripten_bind_PeFactory_getCode_1=t.Ba,At=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,Rt=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Ct=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,Gt=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,It=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Lt=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,Ut=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,wt=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ft=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Yt=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Xt=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,xt=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,Ht=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,zt=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Zt=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,Wt=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,Bt=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,qt=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,Kt=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,kt=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,Vt=o._emscripten_bind_PeGeogtran_getCode_0=t.Wa,$t=o._emscripten_bind_PeGeogtran_getName_1=t.Xa,Jt=o._emscripten_bind_PeGeogtran_getType_0=t.Ya,Qt=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t.Za,te=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t._a,ee=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.$a,oe=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.ab,re=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.bb,_e=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.cb,pe=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.db,ne=o._emscripten_bind_PeHorizon_getNump_0=t.eb,ie=o._emscripten_bind_PeHorizon_getKind_0=t.fb,ce=o._emscripten_bind_PeHorizon_getInclusive_0=t.gb,ae=o._emscripten_bind_PeHorizon_getSize_0=t.hb,ye=o._emscripten_bind_PeHorizon_getCoord_0=t.ib,se=o._emscripten_bind_PeInteger_PeInteger_1=t.jb,Pe=o._emscripten_bind_PeInteger_get_val_0=t.kb,ge=o._emscripten_bind_PeInteger_set_val_1=t.lb,ue=o._emscripten_bind_PeInteger___destroy___0=t.mb,fe=o._emscripten_bind_PeLineType_geodetic_distance_10=t.nb,be=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.ob,Ee=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.pb,de=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.qb,Te=o._emscripten_bind_PeMath_phi_to_eta_2=t.rb,Oe=o._emscripten_bind_PeMath_eta_to_phi_2=t.sb,me=o._emscripten_bind_PeMath_phi_to_phig_2=t.tb,he=o._emscripten_bind_PeMath_q_3=t.ub,Se=o._emscripten_bind_PeMath_q90_2=t.vb,Ne=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.wb,le=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.xb,ve=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.yb,Me=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.zb,je=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Ab,De=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Bb,Ae=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Cb,Re=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Db,Ce=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Eb,Ge=o._emscripten_bind_PeParameter_getValue_0=t.Fb,Ie=o._emscripten_bind_PeParameter_getCode_0=t.Gb,Le=o._emscripten_bind_PeParameter_getName_1=t.Hb,Ue=o._emscripten_bind_PeParameter_getType_0=t.Ib,we=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Jb,Fe=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Kb,Ye=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Lb,Xe=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Mb,xe=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Nb,He=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Ob,ze=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Pb,Ze=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Qb,We=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Rb,Be=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Sb,qe=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Tb,Ke=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Ub,ke=o._emscripten_bind_PePCSInfo_generate_2=t.Vb,Ve=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Wb,$e=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Xb,Je=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Yb,Qe=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t.Zb,to=o._emscripten_bind_PePrimem_getLongitude_0=t._b,eo=o._emscripten_bind_PePrimem_getCode_0=t.$b,oo=o._emscripten_bind_PePrimem_getName_1=t.ac,ro=o._emscripten_bind_PePrimem_getType_0=t.bc,_o=o._emscripten_bind_PeProjcs_Delete_0=t.cc,po=o._emscripten_bind_PeProjcs_getGeogcs_0=t.dc,no=o._emscripten_bind_PeProjcs_getProjection_0=t.ec,io=o._emscripten_bind_PeProjcs_getParameters_0=t.fc,co=o._emscripten_bind_PeProjcs_getUnit_0=t.gc,ao=o._emscripten_bind_PeProjcs_loadConstants_0=t.hc,yo=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.ic,so=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.jc,Po=o._emscripten_bind_PeProjcs_isEqual_1=t.kc,go=o._emscripten_bind_PeProjcs_getCode_0=t.lc,uo=o._emscripten_bind_PeProjcs_getName_1=t.mc,fo=o._emscripten_bind_PeProjcs_getType_0=t.nc,bo=o._emscripten_bind_PeSpheroid_getAxis_0=t.oc,Eo=o._emscripten_bind_PeSpheroid_getFlattening_0=t.pc,To=o._emscripten_bind_PeSpheroid_getCode_0=t.qc,Oo=o._emscripten_bind_PeSpheroid_getName_1=t.rc,mo=o._emscripten_bind_PeSpheroid_getType_0=t.sc,ho=o._emscripten_bind_PeVersion_version_string_0=t.tc,o._pe_getPeGTlistExtendedEntrySize=t.uc,o._pe_getPeGTlistExtendedGTsSize=t.vc,o._pe_getPeHorizonSize=t.wc,o._pe_geog_to_geog=t.xc,o._pe_geog_to_proj=t.yc,o._pe_geog_to_dd=t.zc,o._pe_dd_to_geog=t.Ac,o._pe_geog_to_ddm=t.Bc,o._pe_ddm_to_geog=t.Cc,o._pe_geog_to_dms=t.Dc,o._pe_dms_to_geog=t.Ec,o._pe_geog_to_mgrs_extended=t.Fc,o._pe_mgrs_to_geog_extended=t.Gc,o._pe_geog_to_usng=t.Hc,o._pe_usng_to_geog=t.Ic,o._pe_geog_to_utm=t.Jc,o._pe_utm_to_geog=t.Kc,o._pe_object_to_string_ext=t.Lc,o._pe_object_is_wkt2_needed=t.Mc,o._pe_proj_to_geog_center=t.Nc,So=t.s,t.__indirect_function_table}o.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return n[t];case"i16":return c[t>>1];case"i32":return a[t>>2];case"i64":return g[t>>3];case"float":return s[t>>2];case"double":return P[t>>3];case"*":return y[t>>2];default:m(`invalid type for getValue: ${e}`)}},o.UTF8ToString=vo;var Yo,Xo={c:function(t,e,o){return 0},o:(t,e,o)=>{},i:function(t,e,o){return 0},d:function(t,e,o,r){},m:t=>{},l:(t,e)=>{},n:(t,e,o)=>{},j:()=>m(""),p:function(t,e){t=(t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t))(t);var o=new Date(1e3*t);a[e>>2]=o.getSeconds(),a[e+4>>2]=o.getMinutes(),a[e+8>>2]=o.getHours(),a[e+12>>2]=o.getDate(),a[e+16>>2]=o.getMonth(),a[e+20>>2]=o.getFullYear()-1900,a[e+24>>2]=o.getDay();var r=0|(t=>((t=>t%4==0&&(t%100!=0||t%400==0))(t.getFullYear())?Mo:jo)[t.getMonth()]+t.getDate()-1)(o);a[e+28>>2]=r,a[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));a[e+32>>2]=i},q:(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),s=Math.max(i,c);y[t>>2]=60*s,a[e>>2]=Number(i!=c);var P=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},g=P(i),u=P(c);c<i?(Ao(g,o,17),Ao(u,r,17)):(Ao(g,r,17),Ao(u,o,17))},r:()=>Date.now(),k:t=>{var e=i.length,o=2147483648;if((t>>>=0)>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,Ro(Math.max(t,_),65536));if(Co(p))return!0}return!1},f:(t,e)=>{var o=0,r=0;for(var _ of Io()){var p=e+o;y[t+r>>2]=p,o+=Ao(_,p,1/0)+1,r+=4}return 0},g:(t,e)=>{var o=Io();y[t>>2]=o.length;var r=0;for(var _ of o)r+=Lo(_)+1;return y[e>>2]=r,0},a:t=>52,h:(t,e,o,r)=>52,e:function(t,e,o,r){return 70},b:(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=y[e>>2],c=y[e+4>>2];e+=8;for(var a=0;a<c;a++)wo(t,i[n+a]);_+=c}return y[r>>2]=_,0}};function xo(){}function Ho(t){return(t||xo).__cache__}function zo(t,e){var o=Ho(e),r=o[t];return r||((r=Object.create((e||xo).prototype)).ptr=t,o[t]=r)}Yo=await async function(){var t={a:Xo};return d??=h(),function(t){return function(t){return Fo(Yo=t.exports),O(),Yo}(t.instance)}(await async function(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(t){f(`wasm streaming compile failed: ${t}`),f("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var o=await S(t);return await WebAssembly.instantiate(o,e)}catch(t){f(`failed to asynchronously prepare wasm: ${t}`),m(t)}}(e,o)}(0,d,t))}(),o.calledRun=!0,b||(T=!0,(t=>{for(;t.length>0;)t.shift()(o)})([]),Yo.t(),_?.(o)),xo.prototype=Object.create(xo.prototype),xo.prototype.constructor=xo,xo.prototype.__class__=xo,xo.__cache__={},o.WrapperObject=xo,o.getCache=Ho,o.wrapPointer=zo,o.castObject=function(t,e){return zo(t.ptr,e)},o.NULL=zo(0),o.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Ho(t.__class__)[t.ptr]},o.compare=function(t,e){return t.ptr===e.ptr},o.getPointer=function(t){return t.ptr},o.getClass=function(t){return t.__class__};var Zo={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Zo.needed){for(var t=0;t<Zo.temps.length;t++)o._webidl_free(Zo.temps[t]);Zo.temps.length=0,o._webidl_free(Zo.buffer),Zo.buffer=0,Zo.size+=Zo.needed,Zo.needed=0}Zo.buffer||(Zo.size+=128,Zo.buffer=o._webidl_malloc(Zo.size),E(Zo.buffer)),Zo.pos=0},alloc(t,e){E(Zo.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=Ro(p,8),Zo.pos+p>=Zo.size?(E(p>0),Zo.needed+=p,r=o._webidl_malloc(p),Zo.temps.push(r)):(r=Zo.buffer+Zo.pos,Zo.pos+=p),r}};function Wo(t){if("string"==typeof t){for(var e=(t=>{var e=Lo(t)+1,o=new Array(e);return Do(t,o,0,o.length),o})(t),o=Zo.alloc(e,n),r=0;r<e.length;r++)n[o+r]=e[r];return o}return t}function Bo(t){if("object"==typeof t){for(var e=Zo.alloc(t,n),o=0;o<t.length;o++)n[e+o]=t[o];return e}return t}function qo(){throw"cannot construct a PeObject, no constructor in IDL"}function Ko(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function ko(){throw"cannot construct a PeUnit, no constructor in IDL"}function Vo(){throw"cannot construct a VoidPtr, no constructor in IDL"}function $o(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Jo(){throw"cannot construct a PeDatum, no constructor in IDL"}function Qo(){throw"cannot construct a PeDefs, no constructor in IDL"}function tr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=ht(t),Ho(tr)[this.ptr]=this}function er(){throw"cannot construct a PeFactory, no constructor in IDL"}function or(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=At(t,e,o,r,_,p),Ho(or)[this.ptr]=this}function rr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function _r(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function pr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function nr(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function ir(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function cr(){throw"cannot construct a PeHorizon, no constructor in IDL"}function ar(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=se(t),Ho(ar)[this.ptr]=this}function yr(){throw"cannot construct a PeLineType, no constructor in IDL"}function sr(){throw"cannot construct a PeMath, no constructor in IDL"}function Pr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function gr(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function ur(){throw"cannot construct a PeParameter, no constructor in IDL"}function fr(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function br(){throw"cannot construct a PePrimem, no constructor in IDL"}function Er(){throw"cannot construct a PeProjcs, no constructor in IDL"}function dr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Tr(){throw"cannot construct a PeVersion, no constructor in IDL"}return qo.prototype=Object.create(xo.prototype),qo.prototype.constructor=qo,qo.prototype.__class__=qo,qo.__cache__={},o.PeObject=qo,qo.prototype.getCode=qo.prototype.getCode=function(){var t=this.ptr;return N(t)},qo.prototype.getName=qo.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(l(e,t))},qo.prototype.getType=qo.prototype.getType=function(){var t=this.ptr;return v(t)},Ko.prototype=Object.create(qo.prototype),Ko.prototype.constructor=Ko,Ko.prototype.__class__=Ko,Ko.__cache__={},o.PeCoordsys=Ko,Ko.prototype.isEqual=Ko.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!M(e,t)},Ko.prototype.getCode=Ko.prototype.getCode=function(){var t=this.ptr;return j(t)},Ko.prototype.getName=Ko.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(D(e,t))},Ko.prototype.getType=Ko.prototype.getType=function(){var t=this.ptr;return A(t)},ko.prototype=Object.create(qo.prototype),ko.prototype.constructor=ko,ko.prototype.__class__=ko,ko.__cache__={},o.PeUnit=ko,ko.prototype.getUnitFactor=ko.prototype.getUnitFactor=function(){var t=this.ptr;return R(t)},ko.prototype.getCode=ko.prototype.getCode=function(){var t=this.ptr;return C(t)},ko.prototype.getName=ko.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(G(e,t))},ko.prototype.getType=ko.prototype.getType=function(){var t=this.ptr;return I(t)},Vo.prototype=Object.create(xo.prototype),Vo.prototype.constructor=Vo,Vo.prototype.__class__=Vo,Vo.__cache__={},o.VoidPtr=Vo,Vo.prototype.__destroy__=Vo.prototype.__destroy__=function(){var t=this.ptr;L(t)},$o.prototype=Object.create(ko.prototype),$o.prototype.constructor=$o,$o.prototype.__class__=$o,$o.__cache__={},o.PeAngunit=$o,$o.prototype.getCode=$o.prototype.getCode=function(){var t=this.ptr;return U(t)},$o.prototype.getName=$o.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(w(e,t))},$o.prototype.getType=$o.prototype.getType=function(){var t=this.ptr;return F(t)},$o.prototype.getUnitFactor=$o.prototype.getUnitFactor=function(){var t=this.ptr;return Y(t)},Jo.prototype=Object.create(qo.prototype),Jo.prototype.constructor=Jo,Jo.prototype.__class__=Jo,Jo.__cache__={},o.PeDatum=Jo,Jo.prototype.getSpheroid=Jo.prototype.getSpheroid=function(){var t=this.ptr;return zo(X(t),dr)},Jo.prototype.getCode=Jo.prototype.getCode=function(){var t=this.ptr;return x(t)},Jo.prototype.getName=Jo.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(H(e,t))},Jo.prototype.getType=Jo.prototype.getType=function(){var t=this.ptr;return z(t)},Qo.prototype=Object.create(xo.prototype),Qo.prototype.constructor=Qo,Qo.prototype.__class__=Qo,Qo.__cache__={},o.PeDefs=Qo,Qo.prototype.get_PE_BUFFER_MAX=Qo.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Z(t)},Object.defineProperty(Qo.prototype,"PE_BUFFER_MAX",{get:Qo.prototype.get_PE_BUFFER_MAX}),Qo.prototype.get_PE_NAME_MAX=Qo.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return W(t)},Object.defineProperty(Qo.prototype,"PE_NAME_MAX",{get:Qo.prototype.get_PE_NAME_MAX}),Qo.prototype.get_PE_MGRS_MAX=Qo.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return B(t)},Object.defineProperty(Qo.prototype,"PE_MGRS_MAX",{get:Qo.prototype.get_PE_MGRS_MAX}),Qo.prototype.get_PE_USNG_MAX=Qo.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return q(t)},Object.defineProperty(Qo.prototype,"PE_USNG_MAX",{get:Qo.prototype.get_PE_USNG_MAX}),Qo.prototype.get_PE_DD_MAX=Qo.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return K(t)},Object.defineProperty(Qo.prototype,"PE_DD_MAX",{get:Qo.prototype.get_PE_DD_MAX}),Qo.prototype.get_PE_DMS_MAX=Qo.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return k(t)},Object.defineProperty(Qo.prototype,"PE_DMS_MAX",{get:Qo.prototype.get_PE_DMS_MAX}),Qo.prototype.get_PE_DDM_MAX=Qo.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return V(t)},Object.defineProperty(Qo.prototype,"PE_DDM_MAX",{get:Qo.prototype.get_PE_DDM_MAX}),Qo.prototype.get_PE_UTM_MAX=Qo.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return $(t)},Object.defineProperty(Qo.prototype,"PE_UTM_MAX",{get:Qo.prototype.get_PE_UTM_MAX}),Qo.prototype.get_PE_PARM_MAX=Qo.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return J(t)},Object.defineProperty(Qo.prototype,"PE_PARM_MAX",{get:Qo.prototype.get_PE_PARM_MAX}),Qo.prototype.get_PE_TYPE_NONE=Qo.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Q(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_NONE",{get:Qo.prototype.get_PE_TYPE_NONE}),Qo.prototype.get_PE_TYPE_GEOGCS=Qo.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return tt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_GEOGCS",{get:Qo.prototype.get_PE_TYPE_GEOGCS}),Qo.prototype.get_PE_TYPE_PROJCS=Qo.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return et(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_PROJCS",{get:Qo.prototype.get_PE_TYPE_PROJCS}),Qo.prototype.get_PE_TYPE_GEOGTRAN=Qo.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return ot(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_GEOGTRAN",{get:Qo.prototype.get_PE_TYPE_GEOGTRAN}),Qo.prototype.get_PE_TYPE_COORDSYS=Qo.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return rt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_COORDSYS",{get:Qo.prototype.get_PE_TYPE_COORDSYS}),Qo.prototype.get_PE_TYPE_UNIT=Qo.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return _t(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_UNIT",{get:Qo.prototype.get_PE_TYPE_UNIT}),Qo.prototype.get_PE_TYPE_LINUNIT=Qo.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return pt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_LINUNIT",{get:Qo.prototype.get_PE_TYPE_LINUNIT}),Qo.prototype.get_PE_STR_OPTS_NONE=Qo.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return nt(t)},Object.defineProperty(Qo.prototype,"PE_STR_OPTS_NONE",{get:Qo.prototype.get_PE_STR_OPTS_NONE}),Qo.prototype.get_PE_STR_AUTH_NONE=Qo.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return it(t)},Object.defineProperty(Qo.prototype,"PE_STR_AUTH_NONE",{get:Qo.prototype.get_PE_STR_AUTH_NONE}),Qo.prototype.get_PE_STR_AUTH_TOP=Qo.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return ct(t)},Object.defineProperty(Qo.prototype,"PE_STR_AUTH_TOP",{get:Qo.prototype.get_PE_STR_AUTH_TOP}),Qo.prototype.get_PE_STR_NAME_CANON=Qo.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return at(t)},Object.defineProperty(Qo.prototype,"PE_STR_NAME_CANON",{get:Qo.prototype.get_PE_STR_NAME_CANON}),Qo.prototype.get_PE_STR_FMT_WKT=Qo.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return yt(t)},Object.defineProperty(Qo.prototype,"PE_STR_FMT_WKT",{get:Qo.prototype.get_PE_STR_FMT_WKT}),Qo.prototype.get_PE_STR_FMT_WKT2=Qo.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return st(t)},Object.defineProperty(Qo.prototype,"PE_STR_FMT_WKT2",{get:Qo.prototype.get_PE_STR_FMT_WKT2}),Qo.prototype.get_PE_PARM_X0=Qo.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Pt(t)},Object.defineProperty(Qo.prototype,"PE_PARM_X0",{get:Qo.prototype.get_PE_PARM_X0}),Qo.prototype.get_PE_PARM_ND=Qo.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return gt(t)},Object.defineProperty(Qo.prototype,"PE_PARM_ND",{get:Qo.prototype.get_PE_PARM_ND}),Qo.prototype.get_PE_TRANSFORM_1_TO_2=Qo.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ut(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_1_TO_2",{get:Qo.prototype.get_PE_TRANSFORM_1_TO_2}),Qo.prototype.get_PE_TRANSFORM_2_TO_1=Qo.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ft(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_2_TO_1",{get:Qo.prototype.get_PE_TRANSFORM_2_TO_1}),Qo.prototype.get_PE_TRANSFORM_P_TO_G=Qo.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return bt(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_P_TO_G",{get:Qo.prototype.get_PE_TRANSFORM_P_TO_G}),Qo.prototype.get_PE_TRANSFORM_G_TO_P=Qo.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Et(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_G_TO_P",{get:Qo.prototype.get_PE_TRANSFORM_G_TO_P}),Qo.prototype.get_PE_HORIZON_RECT=Qo.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return dt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_RECT",{get:Qo.prototype.get_PE_HORIZON_RECT}),Qo.prototype.get_PE_HORIZON_POLY=Qo.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_POLY",{get:Qo.prototype.get_PE_HORIZON_POLY}),Qo.prototype.get_PE_HORIZON_LINE=Qo.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_LINE",{get:Qo.prototype.get_PE_HORIZON_LINE}),Qo.prototype.get_PE_HORIZON_DELTA=Qo.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return mt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_DELTA",{get:Qo.prototype.get_PE_HORIZON_DELTA}),tr.prototype=Object.create(xo.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},o.PeDouble=tr,tr.prototype.get_val=tr.prototype.get_val=function(){var t=this.ptr;return St(t)},tr.prototype.set_val=tr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nt(e,t)},Object.defineProperty(tr.prototype,"val",{get:tr.prototype.get_val,set:tr.prototype.set_val}),tr.prototype.__destroy__=tr.prototype.__destroy__=function(){var t=this.ptr;lt(t)},er.prototype=Object.create(xo.prototype),er.prototype.constructor=er,er.prototype.__class__=er,er.__cache__={},o.PeFactory=er,er.prototype.initialize=er.prototype.initialize=function(t){Zo.prepare(),t=t&&"object"==typeof t?t.ptr:Wo(t),vt(t)},er.prototype.factoryByType=er.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zo(Mt(t,e),qo)},er.prototype.fromString=er.prototype.fromString=function(t,e){return Zo.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Wo(e),zo(jt(t,e),qo)},er.prototype.getCode=er.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Dt(t)},or.prototype=Object.create(xo.prototype),or.prototype.constructor=or,or.prototype.__class__=or,or.__cache__={},o.PeGCSExtent=or,or.prototype.getLLon=or.prototype.getLLon=function(){var t=this.ptr;return Rt(t)},or.prototype.getSLat=or.prototype.getSLat=function(){var t=this.ptr;return Ct(t)},or.prototype.getRLon=or.prototype.getRLon=function(){var t=this.ptr;return Gt(t)},or.prototype.getNLat=or.prototype.getNLat=function(){var t=this.ptr;return It(t)},or.prototype.__destroy__=or.prototype.__destroy__=function(){var t=this.ptr;Lt(t)},rr.prototype=Object.create(Ko.prototype),rr.prototype.constructor=rr,rr.prototype.__class__=rr,rr.__cache__={},o.PeGeogcs=rr,rr.prototype.Delete=rr.prototype.Delete=function(){var t=this.ptr;Ut(t)},rr.prototype.cloneAlterUnits=rr.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),zo(wt(e,t),rr)},rr.prototype.getDatum=rr.prototype.getDatum=function(){var t=this.ptr;return zo(Ft(t),Jo)},rr.prototype.getPrimem=rr.prototype.getPrimem=function(){var t=this.ptr;return zo(Yt(t),br)},rr.prototype.getUnit=rr.prototype.getUnit=function(){var t=this.ptr;return zo(Xt(t),$o)},rr.prototype.isEqual=rr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!xt(e,t)},rr.prototype.getCode=rr.prototype.getCode=function(){var t=this.ptr;return Ht(t)},rr.prototype.getName=rr.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(zt(e,t))},rr.prototype.getType=rr.prototype.getType=function(){var t=this.ptr;return Zt(t)},_r.prototype=Object.create(qo.prototype),_r.prototype.constructor=_r,_r.prototype.__class__=_r,_r.__cache__={},o.PeGeogtran=_r,_r.prototype.isEqual=_r.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Wt(e,t)},_r.prototype.getGeogcs1=_r.prototype.getGeogcs1=function(){var t=this.ptr;return zo(Bt(t),rr)},_r.prototype.getGeogcs2=_r.prototype.getGeogcs2=function(){var t=this.ptr;return zo(qt(t),rr)},_r.prototype.getParameters=_r.prototype.getParameters=function(){var t=this.ptr;return Kt(t)},_r.prototype.loadConstants=_r.prototype.loadConstants=function(){var t=this.ptr;return!!kt(t)},_r.prototype.getCode=_r.prototype.getCode=function(){var t=this.ptr;return Vt(t)},_r.prototype.getName=_r.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo($t(e,t))},_r.prototype.getType=_r.prototype.getType=function(){var t=this.ptr;return Jt(t)},pr.prototype=Object.create(xo.prototype),pr.prototype.constructor=pr,pr.prototype.__class__=pr,pr.__cache__={},o.PeGTlistExtended=pr,pr.prototype.getGTlist=pr.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),zo(Qt(t,e,o,r,_,p),nr)},pr.prototype.get_PE_GTLIST_OPTS_COMMON=pr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return te(t)},Object.defineProperty(pr.prototype,"PE_GTLIST_OPTS_COMMON",{get:pr.prototype.get_PE_GTLIST_OPTS_COMMON}),nr.prototype=Object.create(xo.prototype),nr.prototype.constructor=nr,nr.prototype.__class__=nr,nr.__cache__={},o.PeGTlistExtendedEntry=nr,nr.prototype.getEntries=nr.prototype.getEntries=function(){var t=this.ptr;return zo(ee(t),ir)},nr.prototype.getSteps=nr.prototype.getSteps=function(){var t=this.ptr;return oe(t)},nr.prototype.Delete=nr.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),re(t)},ir.prototype=Object.create(xo.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},o.PeGTlistExtendedGTs=ir,ir.prototype.getDirection=ir.prototype.getDirection=function(){var t=this.ptr;return _e(t)},ir.prototype.getGeogtran=ir.prototype.getGeogtran=function(){var t=this.ptr;return zo(pe(t),_r)},cr.prototype=Object.create(xo.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},o.PeHorizon=cr,cr.prototype.getNump=cr.prototype.getNump=function(){var t=this.ptr;return ne(t)},cr.prototype.getKind=cr.prototype.getKind=function(){var t=this.ptr;return ie(t)},cr.prototype.getInclusive=cr.prototype.getInclusive=function(){var t=this.ptr;return ce(t)},cr.prototype.getSize=cr.prototype.getSize=function(){var t=this.ptr;return ae(t)},cr.prototype.getCoord=cr.prototype.getCoord=function(){var t=this.ptr;return ye(t)},ar.prototype=Object.create(xo.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},o.PeInteger=ar,ar.prototype.get_val=ar.prototype.get_val=function(){var t=this.ptr;return Pe(t)},ar.prototype.set_val=ar.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ge(e,t)},Object.defineProperty(ar.prototype,"val",{get:ar.prototype.get_val,set:ar.prototype.set_val}),ar.prototype.__destroy__=ar.prototype.__destroy__=function(){var t=this.ptr;ue(t)},yr.prototype=Object.create(xo.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},o.PeLineType=yr,yr.prototype.geodetic_distance=yr.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),fe(t,e,o,r,_,p,n,i,c,a)},yr.prototype.geodetic_coordinate=yr.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),be(t,e,o,r,_,p,n,i,c)},yr.prototype.geodesic_coordinate=yr.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),Ee(t,e,o,r,_,p,n,i)},yr.prototype.great_elliptic_distance=yr.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),de(t,e,o,r,_,p,n,i,c)},sr.prototype=Object.create(xo.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},o.PeMath=sr,sr.prototype.phi_to_eta=sr.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Te(t,e)},sr.prototype.eta_to_phi=sr.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Oe(t,e)},sr.prototype.phi_to_phig=sr.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),me(t,e)},sr.prototype.q=sr.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),he(t,e,o)},sr.prototype.q90=sr.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Se(t,e)},Pr.prototype=Object.create(xo.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},o.PeNotationMgrs=Pr,Pr.prototype.get_PE_MGRS_STYLE_NEW=Pr.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return Ne(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_NEW",{get:Pr.prototype.get_PE_MGRS_STYLE_NEW}),Pr.prototype.get_PE_MGRS_STYLE_OLD=Pr.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return le(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_OLD",{get:Pr.prototype.get_PE_MGRS_STYLE_OLD}),Pr.prototype.get_PE_MGRS_STYLE_AUTO=Pr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return ve(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_AUTO",{get:Pr.prototype.get_PE_MGRS_STYLE_AUTO}),Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return Me(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),Pr.prototype.get_PE_MGRS_ADD_SPACES=Pr.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return je(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_ADD_SPACES",{get:Pr.prototype.get_PE_MGRS_ADD_SPACES}),gr.prototype=Object.create(xo.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},o.PeNotationUtm=gr,gr.prototype.get_PE_UTM_OPTS_NONE=gr.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return De(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NONE",{get:gr.prototype.get_PE_UTM_OPTS_NONE}),gr.prototype.get_PE_UTM_OPTS_NS=gr.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return Ae(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NS",{get:gr.prototype.get_PE_UTM_OPTS_NS}),gr.prototype.get_PE_UTM_OPTS_NS_STRICT=gr.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Re(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NS_STRICT",{get:gr.prototype.get_PE_UTM_OPTS_NS_STRICT}),gr.prototype.get_PE_UTM_OPTS_ADD_SPACES=gr.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return Ce(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:gr.prototype.get_PE_UTM_OPTS_ADD_SPACES}),ur.prototype=Object.create(qo.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},o.PeParameter=ur,ur.prototype.getValue=ur.prototype.getValue=function(){var t=this.ptr;return Ge(t)},ur.prototype.getCode=ur.prototype.getCode=function(){var t=this.ptr;return Ie(t)},ur.prototype.getName=ur.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(Le(e,t))},ur.prototype.getType=ur.prototype.getType=function(){var t=this.ptr;return Ue(t)},fr.prototype=Object.create(xo.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},o.PePCSInfo=fr,fr.prototype.getCentralMeridian=fr.prototype.getCentralMeridian=function(){var t=this.ptr;return we(t)},fr.prototype.getDomainMinx=fr.prototype.getDomainMinx=function(){var t=this.ptr;return Fe(t)},fr.prototype.getDomainMiny=fr.prototype.getDomainMiny=function(){var t=this.ptr;return Ye(t)},fr.prototype.getDomainMaxx=fr.prototype.getDomainMaxx=function(){var t=this.ptr;return Xe(t)},fr.prototype.getDomainMaxy=fr.prototype.getDomainMaxy=function(){var t=this.ptr;return xe(t)},fr.prototype.getNorthPoleLocation=fr.prototype.getNorthPoleLocation=function(){var t=this.ptr;return He(t)},fr.prototype.getNorthPoleGeometry=fr.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return ze(t)},fr.prototype.getSouthPoleLocation=fr.prototype.getSouthPoleLocation=function(){var t=this.ptr;return Ze(t)},fr.prototype.getSouthPoleGeometry=fr.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return We(t)},fr.prototype.isDensificationNeeded=fr.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!Be(t)},fr.prototype.isGcsHorizonMultiOverlap=fr.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!qe(t)},fr.prototype.isPannableRectangle=fr.prototype.isPannableRectangle=function(){var t=this.ptr;return!!Ke(t)},fr.prototype.generate=fr.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zo(ke(t,e),fr)},fr.prototype.get_PE_PCSINFO_OPTION_NONE=fr.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return Ve(t)},Object.defineProperty(fr.prototype,"PE_PCSINFO_OPTION_NONE",{get:fr.prototype.get_PE_PCSINFO_OPTION_NONE}),fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN=fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return $e(t)},Object.defineProperty(fr.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Je(t)},Object.defineProperty(fr.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),fr.prototype.get_PE_POLE_POINT=fr.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return Qe(t)},Object.defineProperty(fr.prototype,"PE_POLE_POINT",{get:fr.prototype.get_PE_POLE_POINT}),br.prototype=Object.create(qo.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},o.PePrimem=br,br.prototype.getLongitude=br.prototype.getLongitude=function(){var t=this.ptr;return to(t)},br.prototype.getCode=br.prototype.getCode=function(){var t=this.ptr;return eo(t)},br.prototype.getName=br.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(oo(e,t))},br.prototype.getType=br.prototype.getType=function(){var t=this.ptr;return ro(t)},Er.prototype=Object.create(Ko.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},o.PeProjcs=Er,Er.prototype.Delete=Er.prototype.Delete=function(){var t=this.ptr;_o(t)},Er.prototype.getGeogcs=Er.prototype.getGeogcs=function(){var t=this.ptr;return zo(po(t),rr)},Er.prototype.getProjection=Er.prototype.getProjection=function(){var t=this.ptr;return zo(no(t),qo)},Er.prototype.getParameters=Er.prototype.getParameters=function(){var t=this.ptr;return io(t)},Er.prototype.getUnit=Er.prototype.getUnit=function(){var t=this.ptr;return zo(co(t),ko)},Er.prototype.loadConstants=Er.prototype.loadConstants=function(){var t=this.ptr;return!!ao(t)},Er.prototype.horizonGcsGenerate=Er.prototype.horizonGcsGenerate=function(){var t=this.ptr;return zo(yo(t),cr)},Er.prototype.horizonPcsGenerate=Er.prototype.horizonPcsGenerate=function(){var t=this.ptr;return zo(so(t),cr)},Er.prototype.isEqual=Er.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Po(e,t)},Er.prototype.getCode=Er.prototype.getCode=function(){var t=this.ptr;return go(t)},Er.prototype.getName=Er.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(uo(e,t))},Er.prototype.getType=Er.prototype.getType=function(){var t=this.ptr;return fo(t)},dr.prototype=Object.create(qo.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},o.PeSpheroid=dr,dr.prototype.getAxis=dr.prototype.getAxis=function(){var t=this.ptr;return bo(t)},dr.prototype.getFlattening=dr.prototype.getFlattening=function(){var t=this.ptr;return Eo(t)},dr.prototype.getCode=dr.prototype.getCode=function(){var t=this.ptr;return To(t)},dr.prototype.getName=dr.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(Oo(e,t))},dr.prototype.getType=dr.prototype.getType=function(){var t=this.ptr;return mo(t)},Tr.prototype=Object.create(xo.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},o.PeVersion=Tr,Tr.prototype.version_string=Tr.prototype.version_string=function(){var t=this.ptr;return vo(ho(t))},o.ensureCache=Zo,o.ensureString=Wo,o.ensureInt8=Bo,o.ensureInt16=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,c),o=e/2,r=0;r<t.length;r++)c[o+r]=t[r];return e}return t},o.ensureInt32=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,a),o=e/4,r=0;r<t.length;r++)a[o+r]=t[r];return e}return t},o.ensureFloat32=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,s),o=e/4,r=0;r<t.length;r++)s[o+r]=t[r];return e}return t},o.ensureFloat64=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,P),o=e/8,r=0;r<t.length;r++)P[o+r]=t[r];return e}return t},T?o:new Promise((t,e)=>{_=t,p=e})}o.d(e,{default:()=>r})}}]);