{"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","_typeof","Symbol","constructor","_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","iterator","_step2","next","done","value","len","err","newdomain","profiles","Map","referencing","_rangeShape","slice","_rangeAxisOrder","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_iterator3","Object","_step3","axis","coords","isTypedArray","ArrayBuffer","isView","newcoords","subarray","q","Math","trunc","j","newaxis","dataType","components","set","indexOf","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","_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","needsRangeAxisOrder","filter","rangeAxisOrder","k","_iteratorNormalCompletion10","_didIteratorError10","_iteratorError10","_iterator10","_step10","system","srs","trs","rs","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","bbox","copy","JSON","parse","stringify","_this","domainOrUrl","_domainPromise","promise","url","load","result","data","paramKey","_this2","rangeOrUrl","cacheRanges","paramKeys","_this3","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","_loop","subsetted","./Coverage.js",3,"headers","responseType","arguments","reject","req","XMLHttpRequest","open","setRequestHeader","_httpCommon","ACCEPT","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,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","prop","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,QAAsBA,OAAOD,QAAQD,QAAS,IAAmB,kBAATG,SAAqBA,OAAOC,IAAKD,UAAUH,OAAO,CAAC,GAAIK,EAAkCA,GAAb,mBAATC,QAAwBA,OAA+B,mBAATC,Q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