/*! * DevExtreme (dx.vectormaputils.js) * Version: 19.1.16 * Build date: Tue Oct 18 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict";!function(n,e){if("function"==typeof define&&define.amd)define(function(n,t,r){e(t)});else if("object"==typeof module&&module.exports)e(t);else{var t=n.DevExpress=n.DevExpress||{};t=t.viz=t.viz||{},t=t.vectormaputils={},e(t)}}(this,function(n){function e(){}function t(n){return n}function r(n){return"function"==typeof n}function o(n){var e,t=F(n),r=0;return e={pos:function(){return r},skip:function(n){return r+=n,e},ui8arr:function(n){var t=0,r=[];for(r.length=n;t=0?s(o.precision):t,f),u(a,f.length?f:null)}),a}function f(n,e){function t(){--i,0!==i||u||e(r,o)}var r=[],o=[],i=1,u=!0;n.forEach(function(n,e){++i,n(function(n,i){r[e]=n,o[e]=i,t()})}),u=!1,t()}function l(n,e){var t,r,o,i,u=[];try{t=new Date,o=x(n)}catch(n){return void e.push("shp: header parsing error: "+n.message+" / "+n.description)}9994!==o.fileCode&&e.push("shp: file code: "+o.fileCode+" / expected: 9994"),1e3!==o.version&&e.push("shp: file version: "+o.version+" / expected: 1000");try{for(;n.pos()0;--t)o.fields.push(U(n));return r=n.ui8(),13!==r&&e.push("dbf: header terminator: "+r+" / expected: 13"),o}function S(n,e){return W.apply(null,n.ui8arr(e))}function U(n){var e={name:S(n,11).replace(/\0*$/gi,""),type:W(n.ui8()),length:n.skip(4).ui8(),count:n.ui8()};return n.skip(14),e}function z(n,e){return n.skip(e),null}function X(n,e){var t,r,o=[],i=0,u=n.fields.length,s=0;for(i=0;i