{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyLmpzIjsKaW1wb3J0IF90b0NvbnN1bWFibGVBcnJheSBmcm9tICIvaG9tZS9jbWlzcy9KZW5raW5zL3dvcmtzcGFjZS9tYXBpbnRlZ3JhdGVkdnVlci9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9lc20vdG9Db25zdW1hYmxlQXJyYXkuanMiOw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XIoZXZlbnQpOwoKICAgICAgICAvLyBDcmVhdGUgcmVzdWx0cyBmb3IgdGhlIGZpbHRlciB1cGRhdGUgCiAgICAgICAgdmFyIGZpbHRlcktleXMgPSBldmVudC5maWx0ZXIoZnVuY3Rpb24gKHNlbGVjdGlvbikgewogICAgICAgICAgcmV0dXJuIHNlbGVjdGlvbiAhPT0gdW5kZWZpbmVkOwogICAgICAgIH0pLm1hcChmdW5jdGlvbiAoZnMpIHsKICAgICAgICAgIHZhciBfdGhpczIkZmluZEhpZXJhcmFjaHkgPSBfdGhpczIuZmluZEhpZXJhcmFjaHlTdHJpbmdBbmRCb29sZWFuU3RyaW5nKGZzKSwKICAgICAgICAgICAgaFN0cmluZyA9IF90aGlzMiRmaW5kSGllcmFyYWNoeS5oU3RyaW5nLAogICAgICAgICAgICBiU3RyaW5nID0gX3RoaXMyJGZpbmRIaWVyYXJhY2h5LmJTdHJpbmc7CiAgICAgICAgICB2YXIgX3RoaXMyJGdldEZhY2V0c0Zyb21IID0gX3RoaXMyLmdldEZhY2V0c0Zyb21IaWVyYXJjaHlTdHJpbmcoaFN0cmluZyksCiAgICAgICAgICAgIGZhY2V0ID0gX3RoaXMyJGdldEZhY2V0c0Zyb21ILmZhY2V0LAogICAgICAgICAgICBmYWNldDIgPSBfdGhpczIkZ2V0RmFjZXRzRnJvbUguZmFjZXQyLAogICAgICAgICAgICB0ZXJtID0gX3RoaXMyJGdldEZhY2V0c0Zyb21ILnRlcm07CiAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICBmYWNldFByb3BQYXRoOiBmc1swXSwKICAgICAgICAgICAgZmFjZXQ6IGZhY2V0LAogICAgICAgICAgICBmYWNldDI6IGZhY2V0MiwKICAgICAgICAgICAgdGVybTogdGVybSwKICAgICAgICAgICAgQU5EOiBiU3RyaW5nIC8vIGZvciBzZXR0aW5nIHRoZSBib29sZWFuCiAgICAgICAgICB9OwogICAgICAgIH0pOwoKICAgICAgICAvLyBNb3ZlIHJlc3VsdHMgZ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IGFueQogICAgICAgICAgZm9yICh2YXIgX2kgPSBmYWNldE1hcHNbZmFjZXRdLmxlbmd0aCAtIDE7IF9pID49IDA7IF9pLS0pIHsKICAgICAgICAgICAgaWYgKGZhY2V0TWFwc1tmYWNldF1bX2ldWzFdLnRvTG93ZXJDYXNlKCkuaW5jbHVkZXMoInNob3cgYWxsIikpIHsKICAgICAgICAgICAgICAvL3NlcGVyYXRlIHRoZSBzaG93QWxsIGl0ZW0gYW5kIHRoZSByZXN0CiAgICAgICAgICAgICAgc2hvd0FsbCA9IGZhY2V0TWFwc1tmYWNldF0uc3BsaWNlKF9pLCAxKVswXTsKICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgICAgaWYgKHNob3dBbGwpIHsKICAgICAgICAgICAgaWYgKHRoaXMucHJldmlvdXNTaG93QWxsQ2hlY2tlZFtmYWNldF0pIHsKICAgICAgICAgICAgICAvL1Vuc2V0IHRoZSBzaG93IGFsbCBpZiBpdCB3YXMgcHJlc2VudCBwcmV2aW91c2x5CiAgICAgICAgICAgICAgLy9hbmQgdGhlcmUgYXJlIG90aGVyIGl0ZW1zCiAgICAgICAgICAgICAgaWYgKGZhY2V0TWFwc1tmYWNldF0ubGVuZ3RoID4gMCkgbW9kaWZpZWRFdmVudC5wdXNoLmFwcGx5KG1vZGlmaWVkRXZlbnQsIF90b0NvbnN1bWFibGVBcnJheShmYWNldE1hcHNbZmFjZXRdKSk7ZWxzZSBtb2RpZmllZEV2ZW50LnB1c2goc2hvd0FsbCk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgLy9zaG93QWxsIGlzIHR1cm5lZCBvbgogICAgICAgICAgICAgIG1vZGlmaWVkRXZlbnQucHVzaChzaG93QWxsKTsKICAgICAgICAgICAgfQogICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgbW9kaWZpZWRFdmVudC5wdXNoLmFwcGx5KG1vZGlmaWVkRXZlbnQsIF90b0NvbnN1bWFibGVBcnJheShmYWNldE1hcHNbZmFjZXRdKSk7CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIC8vTWFrZSBzdXJlIHRoZSBleHBhbmRlZCBpdGVtIGFyZSBzb3J0ZWQgZmlyc3QuCiAgICAgICAgcmV0dXJuIG1vZGlmaWVkRXZlbnQuc29ydChmdW5jdGlvbiAoYSwgYikgewogICAgICAgICAgaWYgKF90aGlzMy5fX2V4cGFuZEl0ZW1fXykgewogICAgICAgICAgICBpZiAoYVswXSA9PSBfdGhpczMuX19leHBhbmRJdGVtX18pIHsKICAgICAgICAgICAgICBpZiAoYlswXSA9PSBfdGhpczMuX19leHBhbmRJdGVtX18pIHsKICAgICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICByZXR1cm4gLTE7CiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9IGVsc2UgaWYgKGJbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgaWYgKGFbMF0gPT0gX3RoaXMzLl9fZXhwYW5kSXRlbV9fKSB7CiAgICAgICAgICAgICAgICByZXR1cm4gMDsKICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgcmV0dXJuIDE7CiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgIHJldHVybiAwOwogICAgICAgICAgICB9CiAgICAgICAgICB9IGVsc2UgcmV0dXJuIDA7CiAgICAgICAgfSk7CiAgICAgIH0KICAgICAgcmV0dXJuIGV2ZW50OwogICAgfSwKICAgIGNhc2NhZGVFeHBhbmRDaGFuZ2U6IGZ1bmN0aW9uIGNhc2NhZGVFeHBhbmRDaGFuZ2UoZXZlbnQpIHsKICAgICAgLy93b3JrIGFyb3VuZCBhcyB0aGUgZXhwYW5kIGl0ZW0gbWF5IGNoYW5nZSBvbiBtb2RpZnlpbmcgdGhlIGNhc2NhZG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ICAgIGlmIChzZWNvbmRMYXllci5sYWJlbCA9PT0gZmlsdGVyLmZhY2V0KSB7CiAgICAgICAgICAgICAgICAgICAgICAvLyBpZiB3ZSBmaW5kIGEgbWF0Y2ggb24gdGhlIHNlY29uZCBsZXZlbCwgdGhlIGZpbHRlciB3aWxsIGFscmVhZHkgYmUgY29ycmVjdAogICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZpbHRlcjsKICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgaWYgKHNlY29uZExheWVyLmNoaWxkcmVuICYmIHNlY29uZExheWVyLmNoaWxkcmVuLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIF9pdGVyYXRvcjMgPSBfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlcihzZWNvbmRMYXllci5jaGlsZHJlbiksCiAgICAgICAgICAgICAgICAgICAgICAgICAgX3N0ZXAzOwogICAgICAgICAgICAgICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAoX2l0ZXJhdG9yMy5zKCk7ICEoX3N0ZXAzID0gX2l0ZXJhdG9yMy5uKCkpLmRvbmU7KSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdGhpcmRMYXllciA9IF9zdGVwMy52YWx1ZTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlyZExheWVyLmxhYmVsID09PSBmaWx0ZXIuZmFjZXQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gSWYgd2UgZmluZCBhIG1hdGNoIG9uIHRoZSB0aGlyZCBsZXZlbCwgd2UgbmVlZCB0byBzd2l0Y2ggZmFjZXQxIHRvIGZhY2V0MgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgIGFuZCBwb3B1bGF0ZSBmYWNldDEgd2l0aCBpdHMgcGFyZW50cyBsYWJlbC4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyLmZhY2V0MiA9IHRoaXJkTGF5ZXIubGFiZWw7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbHRlci5mYWNldCA9IHNlY29uZExheWVyLmxhYmVsOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmlsdGVyOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgX2l0ZXJhdG9yMy5lKGVycik7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgX2l0ZXJhdG9yMy5mKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycikgewogICAgICAgICAgICAgICAgICBfaXRlcmF0b3IyLmUoZXJyKTsKICAgICAgICAgICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgICAgICAgIF9pdGVyYXRvcjIuZigpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfSBjYXRjaCAoZXJyKSB7CiAgICAgICAgICAgIF9pdGVyYXRvci5lKGVycik7CiAgICAgICAgICB9IGZpbmFsbHkgewogICAgICAgICAgICBfaXRlcmF0b3IuZigpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAogICAgZ2V0SGllcmFyY2hpY2FsVmFsaWRhdGVkRmlsdGVyczogZnVuY3Rpb24gZ2V0SGllcmFyY2hpY2FsVmFsaWRhdGVkRmlsdGVycyhmaWx0ZXJzKSB7CiAgICAgIHZhciBfdGhpczY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TsKICAgICAgX3RoaXM3LmNzc01vZHMoKTsKICAgICAgX3RoaXM3LiRlbWl0KCJjYXNjYWRlclJlYWR5Iik7CiAgICB9KTsKICB9Cn07"},{"version":3,"names":["Vue","CustomCascader","lang","locale","speciesMap","MapSvgIcon","MapSvgSpriteColor","AlgoliaClient","facetPropPathMapping","use","_Option","_Select","_Popover","capitalise","txt","charAt","toUpperCase","slice","convertReadableLabel","original","name","toLowerCase","components","props","entry","Object","envVars","type","default","_default","data","cascaderIsReady","previousShowAllChecked","species","gender","organ","datasets","showFilters","showFiltersText","cascadeSelected","cascadeSelectedWithBoolean","numberShown","filters","facets","numberDatasetsShown","multiple","options","value","label","children","computed","numberOfResultsText","concat","numberOfHits","methods","createCascaderItemValue","term","facet1","arguments","length","undefined","facet2","console","warn","populateCascader","_this","Promise","resolve","algoliaClient","getAlgoliaFacets","then","forEach","facet","i","key","unshift","facetItem","j","k","finally","tagsChangedCallback","presentTags","cascadeEvent","event","_this2","showAllEventModifier","filterKeys","filter","selection","map","fs","_this2$findHierarachy","findHierarachyStringAndBooleanString","hString","bString","_this2$getFacetsFromH","getFacetsFromHierarchyString","facetPropPath","AND","facetSubPropPath","propPath","includes","split","_this2$findHierarachy2","_this2$getFacetsFromH2","$emit","setCascader","cssMods","cascadeEventItem","hierarchyString","fsSplit","_this3","hasShowAll","ev","modifiedEvent","facetMaps","push","showAll","splice","apply","_toConsumableArray","sort","a","b","__expandItem__","cascadeExpandChange","numberShownChanged","parseInt","updatePreviousShowAllChecked","_this4","element","filterFacets","_this5","e","addFilter","filterToAdd","validateAndConvertFilterToHierarchical","f","initiateSearch","checkShowAllBoxes","option","makeCascadeLabelsClickable","$nextTick","document","querySelectorAll","el","onclick","checkbox","previousElementSibling","parentElement","attributes","click","removeTopLevelCascaderCheckboxes","cascadePanels","style","display","_iterator","_createForOfIteratorHelper","_step","s","n","done","firstLayer","_iterator2","_step2","secondLayer","_iterator3","_step3","thirdLayer","err","getHierarchicalValidatedFilters","_this6","result","validatedFilter","mounted","_this7","ALGOLIA_ID","ALGOLIA_KEY","PENNSIEVE_API_LOCATION","initIndex","ALGOLIA_INDEX"],"sources":["node_modules/@abi-software/map-side-bar/src/components/SearchFilters.vue"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n Filters\r\n \r\n \r\n \r\n \r\n Within categories: OR \r\n \r\n example: 'heart' OR 'colon'\r\n \r\n \r\n Between categories: AND\r\n \r\n example: 'rat' AND 'lung'\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ this.numberOfResultsText }}\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAkEA;AACA,OAAAA,GAAA;AAEA,OAAAC,cAAA;AACA,OAAAC,IAAA;AACA,OAAAC,MAAA;AACA,OAAAC,UAAA;AACA,SAAAC,UAAA,EAAAC,iBAAA;AAEA,SAAAC,aAAA;AACA,SAAAC,oBAAA;AAEAL,MAAA,CAAAM,GAAA,CAAAP,IAAA;AACAF,GAAA,CAAAS,GAAA,CAAAC,OAAA;AACAV,GAAA,CAAAS,GAAA,CAAAE,OAAA;AACAX,GAAA,CAAAS,GAAA,CAAAG,QAAA;AAEA,IAAAC,UAAA,YAAAA,WAAAC,GAAA;EACA,OAAAA,GAAA,CAAAC,MAAA,IAAAC,WAAA,KAAAF,GAAA,CAAAG,KAAA;AACA;AAEA,IAAAC,oBAAA,YAAAA,qBAAAC,QAAA;EACA,IAAAC,IAAA,GAAAD,QAAA,CAAAE,WAAA;EACA,IAAAjB,UAAA,CAAAgB,IAAA;IACA,OAAAP,UAAA,CAAAT,UAAA,CAAAgB,IAAA;EACA;IACA,OAAAP,UAAA,CAAAO,IAAA;EACA;AACA;AAEA;EACAA,IAAA;EACAE,UAAA;IACArB,cAAA,EAAAA,cAAA;IACAI,UAAA,EAAAA,UAAA;IACAC,iBAAA,EAAAA;EACA;EACAiB,KAAA;IACA;AACA;AACA;AACA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