{"version":3,"sources":["webpack:///./src/js/components/Spinner.js","webpack:///./src/js/modules/pager/utils.js","webpack:///./src/js/modules/pager/index.js","webpack:///./src/js/modules/search-results/hooks/useQueryString.js","webpack:///./node_modules/query-string/index.js","webpack:///./node_modules/strict-uri-encode/index.js","webpack:///./node_modules/decode-uri-component/index.js","webpack:///./node_modules/split-on-first/index.js","webpack:///./node_modules/filter-obj/index.js","webpack:///./src/js/modules/search-results/hooks/useClickOutside.js","webpack:///./src/js/modules/search-results/hooks/useConditionalFetch.js","webpack:///./src/js/modules/search-results/hooks/useSuggestedResults.js","webpack:///./src/js/modules/favorites-listing/NotificationBar.js","webpack:///./src/js/modules/search-results/hooks/useFetch.js","webpack:///./src/js/modules/listing/FavoriteButton.js","webpack:///./src/js/modules/search-results/Masthead.js","webpack:///./src/js/modules/search-results/Facet.js","webpack:///./src/js/modules/search-results/Filters.js","webpack:///./src/js/modules/search-results/Listing.js","webpack:///./src/js/modules/search-results/Sort.js","webpack:///./src/js/modules/search-results/hooks/useResults.js","webpack:///./src/js/modules/search-results/SearchResults.js","webpack:///./src/js/modules/search-results/index.js"],"names":["Spinner","props","loading","className","getPageSpread","pages","current","map","page","isCurrent","pagerArrow","window","ue","pager","arrowPrev","aria-label","prevArrowLabel","xmlns","width","height","viewBox","xlinkHref","arrowNext","nextArrowLabel","Pager","total","onChange","focusTable","items","Array","from","keys","n","isEllipses","getPages","handleChange","cb","length","isPrevDisabled","isNextDisabled","previous","key","onClick","disabled","title","labelPrev","next","labelNext","p","history","location","setQueryStringValue","value","queryString","search","values","qs","parse","filteredValues","Object","entries","filter","v","newQsValue","stringify","fromEntries","qsValue","newUrl","protocol","host","pathname","pushState","setQueryString","getQueryStringValue","stringifyUrl","input","options","url","hashStart","indexOf","slice","removeHash","split","queryFromUrl","extract","parsedQueryFromUrl","hash","getHash","query","assign","useQueryString","initialValue","setValue","useState","onSetValue","useCallback","newValue","useEffect","handlePopState","addEventListener","removeEventListener","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","TypeError","encode","strict","encodeURIComponent","decode","queryStart","parseValue","parseNumbers","Number","isNaN","trim","parseBooleans","toLowerCase","sort","arrayFormat","arrayFormatSeparator","formatter","result","accumulator","exec","replace","undefined","concat","isArray","includes","isEncodedArray","item","test","arrayValue","parserForArrayFormat","ret","create","param","k","reduce","Boolean","keysSorter","a","b","exports","object","shouldFilter","skipNull","skipEmptyString","index","join","keyValueSep","encoderForArrayFormat","objectCopy","x","parseUrl","url_","parseFragmentIdentifier","fragmentIdentifier","pick","exclude","exclusionFilter","module","str","charCodeAt","toString","toUpperCase","singleMatcher","RegExp","multiMatcher","decodeComponents","components","decodeURIComponent","err","left","right","prototype","call","tokens","match","i","encodedURI","replaceMap","customDecodeURIComponent","string","separator","separatorIndex","obj","predicate","isArr","val","useClickOutside","ref","e","contains","target","document","abortController","AbortController","useConditionalFetch","condition","response","setResponse","error","setError","isLoading","setIsLoading","async","json","fetch","signal","then","res","fetchData","useSuggestedResults","liveQuery","debouncedQuery","setDebouncedQuery","stringifiedUrl","keyword","suggestions","Results","onQueryChange","useDebouncedFn","cancel","NotificationBar","show","setShow","firstRender","setFirstRender","action","setAction","displayAgain","setDisplayAgain","timeOutRef","useRef","buttonsContainer","blockSize","setBlockSize","handleResize","dismiss","clearTimeout","setTimeout","handleAction","timer","heading","_action","offsetHeight","onTransitionEnd","buttons","onDismiss","aria-labelledby","id","style","type","dismissNotification","subdata","copy","role","label","useFetch","FavoriteButton","setLoading","favorited","setFavorited","favoriteId","submitNotification","handleFavoriteId","loggedIn","headers","postEndpoint","method","body","JSON","add","r","data","Success","onHandleNotification","prev","querySelector","setAttribute","loginBtn","linkqueries","URLSearchParams","prevHref","getAttribute","set","replaceAll","catch","console","finally","data-favorited","labelFavorited","labelFavorite","Masthead","queryValue","endpointSuggestions","summary","onSearch","searchLabel","searchPlaceholder","suggestedResultsLabel","viewAllResultsLabel","viewAllResultsUrl","searchValue","setSearchValue","allowExpand","setAllowExpand","inputFocused","setInputFocused","isExpanded","inputId","nanoid","listId","suggestionsRef","inputRef","handleClickSuggestion","dangerouslySetInnerHTML","__html","aria-haspopup","aria-owns","onSubmit","preventDefault","noValidate","htmlFor","autoComplete","onFocus","onBlur","placeholder","autoFocus","closest","Title","Url","ContentType","Institution","Guid","href","Facet","updateFacets","expanded","setExpanded","facetsQs","setFacetsQs","getActiveFacets","contentId","buttonId","state","facet","handleClear","aria-expanded","aria-controls","Value","Label","Count","name","checked","Filters","collapseFiltersLabel","filterResultsLabel","expandFiltersLabel","filters","itemsLength","isDesktop","resetLabel","onFiltersChange","facetsCount","isSmall","useMediaQuery","clearFacets","customEvent","CustomEvent","dispatchEvent","Items","Listing","labels","timeout","favoriteBtn","favoritedBtn","barAddedHeading","barAddedCopy","barRemovedHeading","barRemovedCopy","barViewFavoritesBtn","barViewFavoritesUrl","barDismissBtn","displayNotification","setDisplayNotification","handleShowNotification","handleNotificationDismiss","handleViewFavorites","IsSuggested","Heading","Teaser","SuggestedLabel","CanFavorite","Favorited","classNames","substr","notificationProps","renderNotification","Sort","defaultValue","useResults","facets","setFacets","setPage","queries","setFavoriteId","get","setQuery","setSort","queryParams","acc","listingItems","resultsLabel","ResultsLabel","currentPage","CurrentPage","totalPages","TotalPages","Summary","SearchResults","endpointResults","noResultsRtf","sortOptions","resetPage","handleFiltersChange","option","delete","replaceState","num","Module"],"mappings":"2FAAA,oBAeeA,IAbCC,GACPA,EAAMC,QACX,yBAAKC,UAAU,WACb,yBAAKA,UAAU,iBACb,8BACA,8BACA,8BACA,gCAGF,M,qDCZN,MAAMC,EAAgB,CAACC,EAAOC,IACRD,EAAME,IAAIC,IAAQ,CACpCA,OACAC,UAAWH,IAAYE,K,MCA3B,MAAME,EAAU,UAAGC,OAAOC,UAAV,aAAG,EAAWC,MACxBC,EACJ,yBACEC,aAAYL,aAAZ,EAAYA,EAAYM,eACxBb,UAAU,eACVc,MAAM,6BACNC,MAAM,KACNC,OA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JTmO","file":"28.73277f.js","sourcesContent":["import React from 'react';\n\nconst Spinner = props => {\n return props.loading ? (\n
{props.copy}
}\n \n\n {Teaser.length > MAX_CHARS\n ? Teaser.substr(0, MAX_CHARS)\n : Teaser}\n
\n )}\n {(ContentType || Institution) && (\n{resultsLabel}
\n {sortOptions?.length > 0 && (\n