{"version":3,"sources":["covjson-reader.src.js"],"names":["f","exports","module","define","amd","g","window","global","self","this","CovJSON","e","t","n","r","s","o","u","a","require","i","Error","code","l","call","length",1,"_interopRequireDefault","obj","__esModule","default","_toConsumableArray","arr","Array","isArray","arr2","from","_classCallCheck","instance","Constructor","TypeError","_subsetByIndex","cov","constraints","loadDomain","then","domain","_util","shallowcopy","axisName","axes","has","undefined","constraint","start","stop","_constraints$axisName","_constraints$axisName2","_constraints$axisName3","get","values","_constraints$axisName4","step","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","keys","Symbol","iterator","_step2","next","done","value","len","err","newdomain","profiles","Map","referencing","_rangeShape","slice","_rangeAxisOrder","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_loop","_step3","axis","coords","bounds","isTypedArray","ArrayBuffer","isView","newcoords","newbounds","subarray","q","Math","trunc","constructor","j","newaxis","dataType","components","set","indexOf","_iterator3","Object","rangeWrapper","range","_ndarr$hi$lo","_ndarr$hi","ndarr","_ndarr","axisNames","los","map","name","his","steps","newndarr","hi","apply","lo","newrange","createRangeGetFunction","shape","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_iterator4","_step4","size","loadRange","key","loadRanges","ranges","concat","_ref","_ref2","_slicedToArray","newcov","domainProfiles","parameters","Promise","resolve","subsetByIndex","bind","subsetByValue","_subsetByValue","indexConstraints","_iteratorNormalCompletion5","_didIteratorError5","_iteratorError5","_iterator5","_step5","spec","vals","isISODate","_referencing","isISODateAxis","isLongitude","isLongitudeAxis","lonWrapper","getLongitudeWrapper","Date","match","asTime","v","getTime","prototype","target","indexOfNearest","_start","_stop","_ref3","_ref4","_indicesOfNearest","indicesOfNearest","_indicesOfNearest2","lo1","hi1","_indicesOfNearest3","_indicesOfNearest4","lo2","hi2","imin","min","imax","max","transformParameter","params","param","categoryEncoding","_iteratorNormalCompletion6","_didIteratorError6","_iteratorError6","_iterator6","_step6","category","__transformDone","transformRange","targetDataType","isTyped","missingIsEncoded","validMin","hasOffsetFactor","assert","offset","factor","validMax","val","actualMin","_minMax","minMax","_minMax2","actualMax","_iteratorNormalCompletion7","_didIteratorError7","_iteratorError7","_iterator7","_step7","_ndarray2","axisOrder","ndargs","fn","Function","transformDomain","profile","substr","PREFIX","push","_iteratorNormalCompletion8","_didIteratorError8","_iteratorError8","_iterator8","_step8","_iteratorNormalCompletion9","_didIteratorError9","_iteratorError9","_iterator9","_step9","_step9$value","dimensions","Float64Array","num","_step11","wrapBounds","needsRangeAxisOrder","filter","rangeAxisOrder","k","_iteratorNormalCompletion10","_didIteratorError10","_iteratorError10","_iterator10","_step10","system","srs","trs","rs","_ret2","_typeof","sliceIterator","_arr","_n","_d","_e","_i","_s","_createClass","defineProperties","props","descriptor","enumerable","configurable","writable","defineProperty","protoProps","staticProps","_ndarray","_http","Coverage","covjson","options","_covjson","ld","_exposeLd","id","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","_step","domainProfile","_updateLoadStatus","_this","isLoaded","prop","domainLoaded","rangesLoaded","every","loaded","copy","JSON","parse","stringify","_this2","domainOrUrl","_domainPromise","promise","url","load","result","data","paramKey","_this3","rangeOrUrl","cacheRanges","paramKeys","_this4","all","./http","./referencing.js","./util.js","ndarray",2,"matchesFilter","condition","mergeInto","inputObj","targetObj","CollectionQuery","_Coverage","_Coverage2","CoverageCollection","covs","rootParams","covOptions","coverages","coverage","domainTemplate","query","collection","_collection","_filter","_subset","subset","embed","execute","coll","newcoll","promises","subsetted","./Coverage.js",3,"arguments","responseType","headers","reject","req","XMLHttpRequest","open","accept","_httpCommon","getAcceptHeader","eagerload","setRequestHeader","header","addEventListener","status","type","getResponseHeader","MEDIATYPE","OCTETSTREAM","TEXT","endsWith","EXT","COVJSON","COVCBOR","arrayBuffer","response","t0","_cborJs2","decode","console","log","JSONLD","TextDecoder","DataView","responseHeaders","parseResponseHeaders","getAllResponseHeaders","send","headerStr","headerPairs","split","headerPair","index","substring","toLowerCase","_cborJs","./http-common.js","cbor-js",4,"standalone","covjsonProfile","COVJSON_PROFILE_STANDALONE",5,"_interopRequireWildcard","newObj","hasOwnProperty","http","read","input","transformCovJSON","checkValidCovJSON","_CoverageCollection2","addLinkRelations","IANAPrefix","link","trim","parts","relStart","rel","startsWith","_CoverageCollection","./CoverageCollection.js",6,"_defineProperty","lon_min","lon_max","x_mid","x_min","x_max","lon","ref","getReferenceObject","crsId","EllipsoidalCRSs","compIdx","LongitudeAxisIndex","isNaN","component","find","_LongitudeAxisIndex","OPENGIS_CRS_PREFIX","EPSG4979","EPSG4326","CRS84",7,"message","create","getPrototypeOf","subject","search","position","lastIndex","Infinity","el","x","ascending","mid","round","abs","inp","res",8,"encode","ensureSpace","newByteLength","byteLength","requiredLength","oldDataView","dataView","uint32count","setUint32","getUint32","lastLength","write","writeFloat64","setFloat64","writeUint8","setUint8","writeUint8Array","writeUint16","setUint16","writeUint32","writeUint64","low","POW_2_32","high","writeTypeAndLength","encodeItem","floor","POW_2_53","utf8data","charCode","charCodeAt","Uint8Array","ret","retView","getUint8","tagger","simpleValue","readArrayBuffer","readFloat16","tempArrayBuffer","tempDataView","readUint16","sign","exponent","fraction","POW_2_24","getFloat32","readFloat32","readFloat64","getFloat64","readUint8","getUint16","readUint32","readUint64","readBreak","readLength","additionalInformation","readIndefiniteStringLength","majorType","initialByte","appendUtf16data","utf16data","decodeItem","elements","fullArrayLength","fullArray","fullArrayOffset","String","fromCharCode","retArray","retObject","pow","CBOR",9,"compare1st","b","order","stride","terms","sort","compileConstructor","dtype","dimension","className","join","useGetters","procedure","CACHED_CONSTRUCTORS","indices","iota","args","index_str","shapeArg","strideArg","a_vars","c_vars","tShape","tStride","idx","arrayDType","isBuffer","hasTypedArrays","toString","wrappedNDArrayCtor","ctor","array","d","sz","ctor_list","float32","float64","int8","int16","int32","uint8","uint16","uint32","uint8_clamped","buffer","generic","iota-array","is-buffer",10,11,"_isBuffer"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,gBAAVC,UAAoC,mBAATC,QAAs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