{"version":3,"sources":["webpack://Library/webpack/universalModuleDefinition","webpack://Library/webpack/runtime/chunk loaded","webpack://Library/../Static/javascript/Content/helpers/lockBody.ts","webpack://Library/./navigation-search/classes/search-actions.ts","webpack://Library/./navigation-search/classes/search.ts","webpack://Library/./navigation-search/common/search-api.ts","webpack://Library/./navigation-search/components/app.tsx","webpack://Library/./navigation-search/components/container.tsx","webpack://Library/./navigation-search/index.tsx","webpack://Library/./navigation-search/redux-state/actions/search-api.actions.ts","webpack://Library/./navigation-search/redux-state/actions/search.actions.ts","webpack://Library/./navigation-search/redux-state/index.ts","webpack://Library/./navigation-search/redux-state/reducers/search-text.reducer.ts","webpack://Library/./navigation-search/redux-state/reducers/search.reducer.ts","webpack://Library/./navigation-search/views/library/navigation-search-container.view.tsx","webpack://Library/./navigation-search/views/library/search-app.view.tsx","webpack://Library/external \"_\"","webpack://Library/external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\",\"umd\":\"react\"}","webpack://Library/external {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\",\"umd\":\"react-dom\"}","webpack://Library/webpack/bootstrap","webpack://Library/webpack/runtime/compat get default export","webpack://Library/webpack/runtime/define property getters","webpack://Library/webpack/runtime/global","webpack://Library/webpack/runtime/harmony module decorator","webpack://Library/webpack/runtime/hasOwnProperty shorthand","webpack://Library/webpack/runtime/make namespace object","webpack://Library/webpack/runtime/node module decorator","webpack://Library/webpack/runtime/jsonp chunk loading","webpack://Library/webpack/startup"],"names":["root","factory","exports","module","require","define","amd","self","__WEBPACK_EXTERNAL_MODULE__8383__","__WEBPACK_EXTERNAL_MODULE__3949__","__WEBPACK_EXTERNAL_MODULE__6215__","deferred","bodyStyles","document","body","style","cssText","overflow","oldStyles","ActionType","defaultSearchState","searchKeyword","displaySuggested","result","noResultFound","showSuggestedSearch","defaultResult","searchResults","searchCount","defaultSearchText","suggestedSectionText","viewResultPlaceholderText","noResultsFoundText","searchCTAText","searchPageUrl","searchTextboxPlaceHolder","closeCTAText","suggestedSearch","getSearchResultsApi","requestString","get","withCredentials","cancelToken","this","filtersSource","token","then","response","data","getSearchResults","getSearchResultCache","memoize","SearchApi","CancelToken","source","props","componentDidMount","navContainer","querySelector","documentElement","setProperty","offsetHeight","render","React","Component","AppComponent","connect","state","ownProps","InitialState","typingTimer","doneTypingInterval","navBg","mainNavigation","window","searchIsOpen","_handleKeyup","event","target","value","setSearchKeyword","clearTimeout","setTimeout","_searchResults","_getQueryResult","location","href","indexOf","text","queryValue","URL","searchParams","_openSearch","_handleCssClassUpdates","showSuggestedSearches","navSearchContainer","addEventListener","e","which","_closeSearch","contains","activeElement","searchState","searchFieldActivated","_activateSearchStyles","classList","remove","removeAttribute","unlockBody","currentBodyStyles","_searchSubmit","url","_handleKeydown","key","searchForResults","lockBody","add","openSearch","closeSearch","handleKeyUp","bind","searchSubmit","handleKeyDown","handleCssClassUpdates","SearchContainerBase","searchText","dispatch","keyword","showSuggested","Provider","store","appStore","getElementById","getState","apiResult","setNoResults","setSearchResults","catch","error","type","SetSearchKeyword","searchResult","SetSearchResult","noResult","SetNoResult","ShowSuggestedSearch","search","SetSearchObject","appReducer","combineReducers","createStore","applyMiddleware","logger","setSearchObject","searchObject","action","searchActivated","searchActivatedCssClass","className","htmlFor","id","placeholder","onChange","eve","onKeyDown","onFocus","evt","onClick","focusable","role","xlinkHref","xmlnsXlink","replace","length","toString","map","pageRedirectUrl","imageUrl","src","alt","contentType","title","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","loaded","__webpack_modules__","call","m","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","splice","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","g","globalThis","Function","hmd","create","children","set","Error","obj","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","nmd","paths","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkL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AAOd,EAAoBQ,EAAExK,EAC9B,EAEIqN,EAAqBrO,KAA0B,oBAAIA,KAA0B,qBAAK,GACtFqO,EAAmBC,QAAQL,EAAqBhH,KAAK,KAAM,IAC3DoH,EAAmBE,KAAON,EAAqBhH,KAAK,KAAMoH,EAAmBE,KAAKtH,KAAKoH,G,IC7CvF,IAAIG,EAAsBxD,EAAoBQ,OAAEL,EAAW,CAAC,MAAM,WAAa,OAAOH,EAAoB,KAAO,I,OAC3FA,EAAoBQ,EAAEgD,E","file":"navigation-search-bundle.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"), require(\"_\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-dom\", \"_\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Library\"] = factory(require(\"react\"), require(\"react-dom\"), require(\"_\"));\n\telse\n\t\troot[\"Library\"] = factory(root[\"React\"], root[\"ReactDOM\"], root[\"_\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__8383__, __WEBPACK_EXTERNAL_MODULE__3949__, __WEBPACK_EXTERNAL_MODULE__6215__) {\nreturn ","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tresult = fn();\n\t\t}\n\t}\n\treturn result;\n};","export function lockBody() {\r\n    const bodyStyles = document.body.style.cssText;\r\n    document.body.style.overflow = 'hidden';\r\n    return bodyStyles;\r\n}\r\n\r\nexport function unlockBody(oldStyles: string) {\r\n    document.body.style.cssText = oldStyles || '';\r\n}","/**\r\n * Describes the shape of a single action.\r\n */\r\nexport interface ISearchStateAction {\r\n    type: ActionType;\r\n    value?: any;\r\n}\r\n\r\n\r\n\r\nexport class ActionType {\r\n\r\n    static get SetNoResult() {\r\n        return \"SetNoResult\";\r\n    }\r\n    static get SetSearchResult() {\r\n        return \"SetSearchResult\";\r\n    }\r\n    static get SetSearchObject() {\r\n        return \"SetText\";\r\n    }\r\n    static get ShowSuggestedSearch() {\r\n        return \"ShowSuggestedSearch\";\r\n    }\r\n    static get SetSearchKeyword() {\r\n        return \"SearchResult\";\r\n\r\n    }\r\n}","import moment from 'moment';\r\n\r\nexport interface ISearchState {\r\n    searchKeyword: string;\r\n    displaySuggested: boolean;\r\n    result: INavigationSearchResult;\r\n    noResultFound: boolean;\r\n    showSuggestedSearch: boolean;\r\n}\r\n\r\nexport const defaultSearchState: ISearchState = {\r\n    searchKeyword : \"\",\r\n    displaySuggested : false,\r\n    result: null,\r\n    noResultFound: false,\r\n    showSuggestedSearch: false\r\n};\r\n\r\nexport const defaultResult: INavigationSearchResult = {\r\n    searchResults: [],\r\n    searchCount: 0\r\n}\r\n\r\nexport interface INavigationSearchResult {\r\n    searchResults: Array<IBaseSearchResult>;\r\n    searchCount: number;\r\n}\r\n\r\nexport interface IBaseSearchResult {\r\n    title: string;\r\n    imageUrl: string;\r\n    pageRedirectUrl: string;\r\n    contentType: string;\r\n}\r\n\r\nexport interface ISearchText {\r\n    suggestedSectionText: string;\r\n    viewResultPlaceholderText: string;\r\n    noResultsFoundText: string\r\n    searchCTAText: string;\r\n    searchPageUrl: string;\r\n    searchTextboxPlaceHolder: string;\r\n    closeCTAText: string;\r\n    suggestedSearch: Array<SuggestedItems>;\r\n}\r\n\r\nexport const defaultSearchText: ISearchText = {\r\n    suggestedSectionText: \"Suggested\",\r\n    viewResultPlaceholderText: \"{0} results found \",\r\n    noResultsFoundText: \"0 results found for {0} \",\r\n    searchCTAText: \"Search\",\r\n    searchPageUrl: \"\",\r\n    searchTextboxPlaceHolder: \"Search for tickets, events, and more\",\r\n    closeCTAText: \"close\",\r\n    suggestedSearch: []\r\n}\r\n\r\nexport interface SuggestedItems {\r\n    href: string;\r\n    title: string;\r\n}","import axios from 'axios';\r\nimport { memoize } from 'lodash';\r\nimport { INavigationSearchResult } from '../classes/search';\r\n\r\nexport default class SearchApi {\r\n\r\n    private static getSearchResultCache = memoize(SearchApi.getSearchResultsApi, (searchKeyword: string) => `searchkey-${searchKeyword}`);\r\n\r\n    private static filtersSource = axios.CancelToken.source();\r\n\r\n    public static getSearchResultsApi(searchKeyword: string): Promise<INavigationSearchResult> {\r\n\r\n        var requestString = `/${process.env.SEARCH_API_ROUTE}/GetSearchResults?query=${searchKeyword}`;\r\n\r\n        return axios.get<INavigationSearchResult>(requestString, {\r\n            withCredentials: true,\r\n            cancelToken: this.filtersSource.token\r\n        }).then(response => response.data);\r\n    }\r\n\r\n\r\n    public static getSearchResults(searchKeyword: string): Promise<INavigationSearchResult> {\r\n        return this.getSearchResultCache(searchKeyword);\r\n    }\r\n\r\n\r\n\r\n}\r\n","import * as React from 'react';\r\nimport AppView from '../views/library/search-app.view';\r\nimport { ISearchAppState } from '../redux-state';\r\nimport { connect } from 'react-redux';\r\n\r\ninterface AppExternalProps {\r\n  \r\n}\r\n\r\ninterface StateToProps {\r\n}\r\n\r\nexport type AppProps = AppExternalProps & StateToProps;\r\n\r\nexport class AppComponent extends React.Component<AppProps, any> {\r\n    constructor(props: AppProps) {\r\n        super(props);\r\n    }\r\n\r\n    componentDidMount() {\r\n        // Remeasuring the height of the nav after the search bar exists to offset fixed nav properly\r\n        const navContainer = document.querySelector('#nav-container') as HTMLElement;\r\n        if (navContainer) {\r\n            document.documentElement.style.setProperty('--nav-clearance', `${navContainer.offsetHeight}px`);\r\n        }\r\n    }\r\n\r\n    render() {\r\n        return (\r\n            <AppView {...this.props} />\r\n        )\r\n    }\r\n}\r\n\r\nfunction mapStateToProps(state: ISearchAppState, ownProps: AppExternalProps): StateToProps {\r\n    return {\r\n    }\r\n}\r\n\r\nexport default connect<StateToProps>(mapStateToProps)(AppComponent);\r\n","import * as React from 'react';\r\nimport { connect, Dispatch } from 'react-redux';\r\nimport { lockBody, unlockBody } from '../../../Static/javascript/Content/helpers/lockBody';\r\nimport { ISearchState, ISearchText } from '../classes/search';\r\nimport { ISearchAppState } from '../redux-state';\r\nimport { getSearchResults } from '../redux-state/actions/search-api.actions';\r\nimport { setSearchKeyword, showSuggestedSearches } from '../redux-state/actions/search.actions';\r\nimport NavigationSearchContainerView from '../views/library/navigation-search-container.view';\r\n\r\ninterface StateToProps {\r\n    searchState: ISearchState;\r\n    text: ISearchText;\r\n    searchKeyword: string;\r\n}\r\n\r\ninterface DispatchToProps {\r\n    searchForResults: (keyword: string) => void;\r\n    setSearchKeyword: (keyword: string) => void;\r\n    showSuggestedSearches: (showSuggested: boolean) => void;\r\n}\r\n\r\ninterface ListPerformanceViewProps {\r\n    handleKeyUp: (event: React.ChangeEvent<HTMLInputElement>) => void;\r\n    handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;\r\n    handleCssClassUpdates: (searchFieldActivated: boolean) => void;\r\n    closeSearch: () => void;\r\n    openSearch: () => void;\r\n    searchIsOpen: boolean;\r\n    searchSubmit: () => void;\r\n}\r\n\r\ninterface SearchContainerBaseState {\r\n    typingTimer: any;\r\n    doneTypingInterval: number;\r\n}\r\n\r\nconst InitialState: SearchContainerBaseState ={\r\n    typingTimer: null,\r\n    doneTypingInterval: 300\r\n}\r\n\r\nexport type SearchContainerProps = StateToProps & DispatchToProps;\r\nexport type SearchContainerViewProps = StateToProps & DispatchToProps & ListPerformanceViewProps;\r\nexport class SearchContainerBase extends React.Component<SearchContainerProps, SearchContainerBaseState>  {\r\n    public readonly state = InitialState\r\n    public navBg: HTMLElement = document.querySelector(\"[data-nav-background]\") as HTMLElement;\r\n    public navContainer: HTMLElement = document.querySelector('#nav-container') as HTMLElement;\r\n    public navSearchContainer: HTMLElement | null;\r\n    public currentBodyStyles: string;\r\n    public mainNavigation = (window as any).mainNavigation;\r\n    public searchIsOpen: boolean = false;\r\n\r\n    constructor(props: SearchContainerProps) {\r\n        super(props);\r\n        this._getQueryResult();\r\n    }\r\n\r\n    _handleKeyup = event => {\r\n        const searchKeyword = event.target.value;\r\n        this.props.setSearchKeyword(searchKeyword);\r\n        clearTimeout(this.state.typingTimer);\r\n        this.state.typingTimer = setTimeout(() => {\r\n            this._searchResults(searchKeyword);\r\n        }, this.state.doneTypingInterval);\r\n    };\r\n\r\n    //Set the Query String Value to the search text field\r\n    _getQueryResult = () => {\r\n        if (window.location.href.indexOf(this.props.text.searchPageUrl) > -1) {\r\n            var url = new URL(window.location.href);\r\n            var queryValue = url.searchParams.get(\"query\");\r\n            this.props.setSearchKeyword(queryValue);\r\n        }\r\n    }\r\n    _openSearch = () => {\r\n        //if (this.mainNavigation.navIsShowing)\r\n        //    this.mainNavigation.closeMenu();\r\n        this._handleCssClassUpdates(true);\r\n        this.props.showSuggestedSearches(true);\r\n        this.searchIsOpen = true;\r\n        this.navSearchContainer = document.querySelector('[data-nav-search-container]');\r\n        document.body.addEventListener('keyup', (e: KeyboardEvent) => {\r\n            if (e.which == 27 && this.searchIsOpen) { // Escape key\r\n                this._closeSearch();\r\n            }\r\n            if (e.which == 9) { // Tab key. Show nav if tabbed into, or close menu if tabbed out of.\r\n                const focusInNav = this.navSearchContainer.contains(document.activeElement);\r\n\r\n                if (!focusInNav && this.searchIsOpen) {\r\n                    this._closeSearch();\r\n                }\r\n            }\r\n        });\r\n        this.props.setSearchKeyword(this.props.searchState.searchKeyword);\r\n        this._searchResults(this.props.searchState.searchKeyword);\r\n    }\r\n\r\n    _closeSearch = () => {\r\n        this._searchResults(\"\");\r\n        this._handleCssClassUpdates(false);\r\n        this.props.showSuggestedSearches(false);\r\n        this.props.setSearchKeyword(\"\");\r\n        this.searchIsOpen = false;\r\n    }\r\n\r\n    _activateSearchStyles() {\r\n        this.currentBodyStyles = lockBody();\r\n        this.navContainer.classList.add('nav-search-activated');\r\n        this.navContainer.classList.add('theme-dark');\r\n        this.navContainer.classList.add('nav-menu-is-open');\r\n    }\r\n\r\n    _handleCssClassUpdates = (searchFieldActivated:boolean) => {\r\n        if (searchFieldActivated)\r\n            this._activateSearchStyles();\r\n        else {\r\n            this.navContainer.classList.remove('nav-search-activated');\r\n            this.navContainer.classList.remove('theme-dark');\r\n            this.navContainer.classList.remove('nav-menu-is-open');\r\n            document.querySelector('body').removeAttribute('style');\r\n            unlockBody(this.currentBodyStyles);\r\n        }\r\n    }\r\n    _searchSubmit = () => {\r\n        var url = \"/search?query=\" + this.props.searchKeyword;\r\n        if (this.props.text.searchPageUrl != \"\") {\r\n            url = this.props.text.searchPageUrl + \"?query=\" + this.props.searchKeyword;\r\n        }\r\n        window.location.href = url;\r\n    }\r\n\r\n    _handleKeydown = event => {\r\n        clearTimeout(this.state.typingTimer);\r\n        if (event.key === 'Enter') {\r\n            this._searchSubmit();\r\n        }\r\n    }\r\n\r\n    _searchResults = (searchKeyword: string) => {\r\n        this.props.searchForResults(searchKeyword)\r\n    }\r\n\r\n    render() {\r\n        return <NavigationSearchContainerView {...this.props} searchIsOpen={this.searchIsOpen} openSearch={this._openSearch} closeSearch={this._closeSearch} handleKeyUp={this._handleKeyup.bind(this)} searchSubmit={this._searchSubmit.bind(this)} handleKeyDown={this._handleKeydown.bind(this)} handleCssClassUpdates={this._handleCssClassUpdates} />;\r\n    }\r\n}\r\n\r\nfunction mapStateToProps(state: ISearchAppState, ownProps: SearchContainerProps): StateToProps {\r\n    return {\r\n        searchState: state.searchState,\r\n        text: state.searchText,\r\n        searchKeyword: state.searchState.searchKeyword\r\n    }\r\n}\r\n\r\nfunction mapDispatchToProps(dispatch: Dispatch): DispatchToProps {\r\n    return {\r\n        searchForResults: (keyword: string) => dispatch(getSearchResults(keyword) as any),\r\n        setSearchKeyword: (keyword: string) => dispatch(setSearchKeyword(keyword) as any),\r\n        showSuggestedSearches: (showSuggested: boolean) => dispatch(showSuggestedSearches(showSuggested) as any)\r\n    }\r\n}\r\n\r\nexport default connect<StateToProps, DispatchToProps>(mapStateToProps, mapDispatchToProps)(SearchContainerBase);\r\n","import * as React from 'react';\r\nimport { render } from 'react-dom';\r\nimport { Provider } from 'react-redux';\r\nimport { appStore } from './redux-state';\r\nimport App from './components/app';\r\n\r\nrender(\r\n    <Provider store={appStore}>\r\n        <App />\r\n    </Provider>\r\n    , document.getElementById(\"navigation-search-entry-js\"));","import { ISearchState } from '../../classes/search'\r\nimport SearchApi from '../../common/search-api'\r\nimport { setSearchResults, setNoResults } from './search.actions'\r\n\r\n\r\nexport function getSearchResults(searchKeyword: string) {\r\n    return (dispatch, getState: () => ISearchState) => {\r\n        if (searchKeyword != \"\") {\r\n            return SearchApi.getSearchResults(searchKeyword).then(apiResult => {\r\n                if (apiResult.searchCount > 0) {\r\n                    dispatch(setNoResults(false))\r\n                    dispatch(setSearchResults(apiResult))\r\n                }\r\n                else {\r\n                    dispatch(setNoResults(true))\r\n                }\r\n            }).catch(error => {\r\n                dispatch(setNoResults(true))\r\n            })\r\n        }\r\n        \r\n    }\r\n}\r\n","import { ActionType } from \"../../classes/search-actions\";\r\nimport { ISearchText } from '../../classes/search';\r\n\r\n\r\n\r\nexport function setSearchKeyword(searchKeyword: string) {\r\n    return {\r\n        type: ActionType.SetSearchKeyword,\r\n        value: searchKeyword\r\n    }\r\n}\r\n\r\nexport function setSearchResults(searchResult) {\r\n    return {\r\n        type: ActionType.SetSearchResult,\r\n        value: searchResult\r\n    }\r\n}\r\nexport function setNoResults(noResult: boolean) {\r\n    return {\r\n        type: ActionType.SetNoResult,\r\n        value: noResult\r\n    }\r\n}\r\n\r\n\r\nexport function showSuggestedSearches(showSuggested: boolean) {\r\n    return {\r\n        type: ActionType.ShowSuggestedSearch,\r\n        value: showSuggested\r\n    }\r\n}\r\n\r\nexport function setSearchObject(search: ISearchText) {\r\n    return {\r\n        type: ActionType.SetSearchObject,\r\n        value: search\r\n    }\r\n}\r\n","import { combineReducers, createStore, applyMiddleware } from 'redux';\r\nimport thunk from 'redux-thunk';\r\nimport { logger } from '../../common/helpers/middleware';\r\nimport {  ISearchText, ISearchState } from '../classes/search';\r\nimport searchReducer from './reducers/search.reducer';\r\nimport searchTextReducer from './reducers/search-text.reducer';\r\nimport { setSearchObject } from './actions/search.actions';\r\n\r\n\r\nexport interface ISearchAppState {\r\n    searchText: ISearchText,\r\n    searchState: ISearchState\r\n}\r\n\r\nconst appReducer = combineReducers({\r\n    searchText: searchTextReducer,\r\n    searchState: searchReducer\r\n});\r\n\r\nconst appStore = createStore(appReducer, {}, applyMiddleware(thunk, logger));\r\nappStore.dispatch(setSearchObject((window as any).searchObject) as any);\r\nexport { appStore };","import { ISearchText, defaultSearchText } from \"../../classes/search\";\r\nimport { ISearchStateAction, ActionType } from \"../../classes/search-actions\";\r\n\r\n\r\n/**\r\n * Returns the new search state given a particular action. This where all of the application\r\n * logic resides.\r\n */\r\nexport default function searchTextReducer(state: ISearchText = defaultSearchText, action: ISearchStateAction) {\r\n    switch (action.type) {\r\n        case ActionType.SetSearchObject: {\r\n            return { ...state, ...action.value } as ISearchText;\r\n        }\r\n        default:\r\n            return state;\r\n    }\r\n}\r\n","import { ISearchState, defaultSearchState, defaultResult } from \"../../classes/search\";\r\nimport { ISearchStateAction, ActionType } from \"../../classes/search-actions\";\r\n\r\n\r\n/**\r\n * Returns the new search state given a particular action. This where all of the application\r\n * logic resides.\r\n */\r\nexport default function searchReducer(state: ISearchState = defaultSearchState, action: ISearchStateAction) {\r\n    switch (action.type) {\r\n        case ActionType.SetSearchKeyword: {\r\n            var searchKeyword = action.value;\r\n            return { ...state, searchKeyword: searchKeyword } as ISearchState;\r\n        }\r\n        case ActionType.SetSearchResult: {\r\n            return { ...state, result: action.value } as ISearchState;\r\n        }\r\n\r\n        case ActionType.SetNoResult: {\r\n            return { ...state, noResultFound: action.value, result: defaultResult } as ISearchState;\r\n        }\r\n        case ActionType.ShowSuggestedSearch: {\r\n            return { ...state, noResultFound: action.value, showSuggestedSearch: action.value } as ISearchState;\r\n        }\r\n        default:\r\n            return state;\r\n    }\r\n}\r\n","import * as React from 'react';\r\nimport { debounce } from 'lodash';\r\nimport { SearchContainerViewProps } from '../../components/container';\r\n\r\n\r\n\r\nconst NavigationSearchContainerView: React.StatelessComponent<SearchContainerViewProps> = props => {\r\n    const searchActivated: boolean = props.searchState.result != null && props.searchState.result.searchCount > 0 && props.searchIsOpen || props.searchState.noResultFound;\r\n    const searchActivatedCssClass: string = searchActivated ? \" nav-search-activated\" : \"\";\r\n    return (\r\n        <div className={\"nav-search\" + searchActivatedCssClass} data-nav-search-container>\r\n            <div className=\"nav-search-form\">\r\n                <div className=\"inline-input-form nav-search-form-inner\">\r\n                    <label className=\"visually-hidden\" htmlFor=\"navSearch\">Enter search term</label>\r\n                    <input id=\"navSearch\" className=\"nav-search-form-text\" type=\"text\" value={props.searchState.searchKeyword} placeholder={props.text.searchTextboxPlaceHolder}\r\n                        onChange={(eve) => props.handleKeyUp(eve)} onKeyDown={(eve) => props.handleKeyDown(eve)} onFocus={(evt) => {\r\n                            if (props.searchState.searchKeyword == \"\") {\r\n                                props.openSearch();\r\n                            }\r\n                        }}\r\n                    />\r\n                    <button className=\"nav-search-submit un-button\" onClick={() => props.searchSubmit()}> {props.text.searchCTAText}</button>\r\n                    <svg focusable=\"false\" role=\"presentation\" aria-hidden=\"true\" className=\"svg-icon nav-search-icon\">\r\n                        <use xlinkHref=\"#icon-search\" />\r\n                    </svg>\r\n                </div>\r\n                {\r\n                    searchActivated ?\r\n                        <button className=\"btn-link nav-search-close\" data-nav-search-close onClick={() => {\r\n                            props.closeSearch();\r\n                        }}>\r\n                            <span className=\"nav-search-close-text\">\r\n                                Close\r\n                            </span>\r\n                            <svg focusable=\"false\" role=\"presentation\" aria-hidden=\"true\" className=\"svg-icon\">\r\n                                <use xmlnsXlink=\"http://www.w3.org/1999/xlink\" xlinkHref=\"#icon-x\"></use>\r\n                            </svg>\r\n                        </button>\r\n                    :\r\n                    null\r\n                }\r\n            </div>\r\n\r\n            {\r\n                searchActivated\r\n                    ?\r\n                    <div className=\"nav-search-panel\" data-nav-search-panel>\r\n                        \r\n                        <div className=\"nav-search-results\">\r\n                            <div className=\"nav-search-results-header\">\r\n                                <p className=\"h4-style\">{props.text.suggestedSectionText}</p>\r\n                                {\r\n                                    props.searchState.noResultFound ?\r\n                                        null\r\n                                        :\r\n                                        <a href={props.text.searchPageUrl + \"?query=\" + props.searchState.searchKeyword}>{props.text.viewResultPlaceholderText.replace(\"{0}\", props.searchState.result.searchResults.length.toString())}</a>\r\n                                }\r\n                            </div>\r\n                            \r\n                            {\r\n                                props.searchState.searchKeyword != \"\"\r\n                                    ?\r\n                                    <div className=\"nav-search-results-grid\">\r\n                                        {\r\n                                            !props.searchState.noResultFound && props.searchState.result != null\r\n                                                ?\r\n                                                <>\r\n                                                    {\r\n                                                        props.searchState.result.searchResults.map(result => {\r\n                                                            return (\r\n                                                                <div className=\"nav-search-results-item\">\r\n                                                                    <a className=\"nav-search-results-link\" href={result.pageRedirectUrl}>\r\n                                                                        {\r\n                                                                            result.imageUrl !== \"\" && result.imageUrl !== null\r\n                                                                                ? \r\n                                                                                <div className=\"nav-search-results-image\">\r\n                                                                                    <img src={result.imageUrl} alt=\"\" />\r\n                                                                                </div>\r\n                                                                                : null\r\n                                                                        }\r\n                                                                        {\r\n                                                                            result.contentType !== \"\" && result.contentType !== null\r\n                                                                                ?\r\n                                                                                <p className=\"nav-search-results-type\">{result.contentType}</p>\r\n                                                                                : null\r\n                                                                        }\r\n                                                                        {\r\n                                                                            result.title !== \"\" && result.title !== null\r\n                                                                                ?\r\n                                                                                <p className=\"nav-search-results-title bold\">{result.title}</p>\r\n                                                                                : null\r\n                                                                        }\r\n                                                                    </a>\r\n                                                                </div>\r\n                                                            )\r\n                                                        })\r\n                                                    }\r\n                                                </>\r\n                                                :\r\n                                                <div className=\"nav-search-results-item nav-search-results-item-full\">\r\n                                                    <p className=\"large\">{props.text.noResultsFoundText.replace(\"{0}\", props.searchState.searchKeyword)}</p>\r\n                                                </div>\r\n                                        }\r\n                                    </div>\r\n                                    :\r\n                                    <div className=\"nav-search-suggested\">\r\n                                        {\r\n                                            props.text.suggestedSearch != null && props.text.suggestedSearch.length > 0 && props.searchState.showSuggestedSearch ?\r\n                                                <ul className=\"nav-search-buttons-list\">\r\n                                                    {\r\n                                                        props.text.suggestedSearch.map(result => {\r\n                                                            return (\r\n                                                                <li>\r\n                                                                    <a className=\"btn-primary btn-wide\" href={result.href}>\r\n                                                                        <svg focusable=\"false\" role=\"presentation\" aria-hidden=\"true\" className=\"svg-icon svg-on-left\">\r\n                                                                            <use xmlnsXlink=\"http://www.w3.org/1999/xlink\" xlinkHref=\"#icon-search\"></use>\r\n                                                                        </svg>\r\n                                                                        {result.title}\r\n                                                                    </a>\r\n                                                                </li>\r\n                                                            )\r\n                                                        })\r\n                                                    }\r\n                                                </ul>\r\n                                                :\r\n                                                null\r\n                                        }\r\n                                    </div>\r\n\r\n                            }\r\n                        </div>\r\n                    </div>\r\n                    :\r\n                    null\r\n            }\r\n            \r\n        </div>\r\n\r\n    )\r\n}\r\n\r\nexport default NavigationSearchContainerView;","import * as React from 'react';\r\nimport { AppProps } from '../../components/app';\r\nimport SearchContainerBase from '../../components/container';\r\n\r\n\r\nconst AppView: React.StatelessComponent<AppProps> = props => {\r\n    return (\r\n        <SearchContainerBase \r\n        />\r\n    );\r\n}\r\n\r\nexport default AppView;","module.exports = __WEBPACK_EXTERNAL_MODULE__6215__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8383__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3949__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = function(module) {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: function() {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t574: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) var result = runtime(__webpack_require__);\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkLibrary\"] = self[\"webpackChunkLibrary\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [592], function() { return __webpack_require__(6362); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"sourceRoot":""}