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BN,EAAM,KAEjD,MADAK,EAAEE,KAAO,mBACHF,CACP,CACA,OAAOP,EAAIE,EACZ,CACAD,EAAeS,KAAO,WACrB,OAAOC,OAAOD,KAAKV,EACpB,EACAC,EAAeW,QAAUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK","sources":["webpack:///./app/frontend/components/ sync ^\\.\\/.*$","webpack:///./app/frontend/src/components/Dashboard/DateRange.jsx","webpack:///./app/frontend/src/components/Dashboard/DownloadCsv.jsx","webpack:///./app/frontend/src/components/Dashboard/FacetSelector.jsx","webpack:///./app/frontend/src/components/Dashboard/MetricBox.jsx","webpack:///./app/frontend/src/components/Dashboard/IndexPage.jsx","webpack:///./app/frontend/src/components/Dashboard/Main.jsx","webpack:///./app/frontend/components/DashboardApp.jsx","webpack:///./app/frontend/src/components/RecordCard/EditOverlay.jsx","webpack:///./app/frontend/src/components/RecordCard/hoc/withMyUploadedItems.jsx","webpack:///./app/frontend/src/components/MyUploadedItems.jsx","webpack:///./app/frontend/components/MyUploadedItemsApp.jsx","webpack:///./app/frontend/components/RecordPageApp.jsx","webpack:///./app/frontend/src/components/SearchPage/SearchResultsOnlyApp.jsx","webpack:///./app/frontend/components/SearchPageApp.jsx","webpack:///./app/frontend/components/StoriesApp.jsx","webpack:///./app/frontend/components/StoriesHomePageApp.jsx","webpack:///./app/frontend/packs/application.js","webpack:///./app/frontend/src/components/AddToStoryButton/AddToStoryButton.jsx","webpack:///./app/frontend/src/components/AddToStoryDescription.jsx","webpack:///./app/frontend/src/components/AddToStoryModal/Login.jsx","webpack:///./app/frontend/src/components/AddToStoryModal/CreateStoryForm.jsx","webpack:///./app/frontend/src/components/AddToStoryModal/StoryCheckboxes.jsx","webpack:///./app/frontend/src/components/AddToStoryModal/AddToStoryForm.jsx","webpack:///./app/frontend/src/components/AddToStoryModal/AddToStoryModalFactory.jsx","webpack:///./app/frontend/src/components/AddToStoryModalBehaviour.jsx","webpack:///./app/frontend/src/components/AddToStoryNotification.jsx","webpack:///./app/frontend/src/components/ErrorBoundary.jsx","webpack:///./app/frontend/src/components/Modal.jsx","webpack:///./app/frontend/src/components/RecordCard/EditUserImageModal.jsx","webpack:///./app/frontend/src/components/RecordCard/RecordLink.jsx","webpack:///./app/frontend/src/components/RecordCard/HorizontalRecordCard.jsx","webpack:///./app/frontend/src/components/RecordCard/VerticalRecordCard.jsx","webpack:///./app/frontend/src/components/RecordCard/RecordCard.jsx","webpack:///./app/frontend/src/components/RecordCard/RecordThumbnail.jsx","webpack:///./app/frontend/src/components/RecordPage/RecordPageNav.jsx","webpack:///./app/frontend/src/utils/findGetParameter.js","webpack:///./app/frontend/src/utils/convertArray.js","webpack:///./app/frontend/src/components/RecordPage/RecordImage.jsx","webpack:///./app/frontend/src/utils/linkToOriginalRecord.js","webpack:///./app/frontend/src/components/RecordPage/RecordPreview.jsx","webpack:///./app/frontend/src/components/ReadMore.jsx","webpack:///./app/frontend/src/components/RecordPage/RecordDetails.jsx","webpack:///./app/frontend/src/components/RecordPage/ReportItem.jsx","webpack:///./app/frontend/src/components/RecordPage/RecordSideInformation.jsx","webpack:///./app/frontend/src/components/RecordPage/RecordFacebookComments.jsx","webpack:///./app/frontend/src/components/MediaInRecordPage.jsx","webpack:///./app/frontend/src/components/RecordPage/rights/MoreInformation.jsx","webpack:///./app/frontend/src/components/RecordPage/rights/AllRightsReserved.jsx","webpack:///./app/frontend/src/components/RecordPage/rights/CreativeCommonsRights.jsx","webpack:///./app/frontend/src/components/RecordPage/rights/OtherRights.jsx","webpack:///./app/frontend/src/components/RecordPage/rights/UnknownRights.jsx","webpack:///./app/frontend/src/components/RecordPage/Rights.jsx","webpack:///./app/frontend/src/components/RecordPage/usage/text.js","webpack:///./app/frontend/src/components/RecordPage/usage/Usage.jsx","webpack:///./app/frontend/src/components/RecordPage/MoreLikeThisItems.jsx","webpack:///./app/frontend/src/components/RecordPage/RecordActions.jsx","webpack:///./app/frontend/src/components/RecordPage/ExperimentalBlock.jsx","webpack:///./app/frontend/src/components/RecordPage/Entities.jsx","webpack:///./app/frontend/src/components/RecordPage/AutoTags.jsx","webpack:///./app/frontend/src/components/RecordPage.jsx","webpack:///./app/frontend/src/utils/search.js","webpack:///./app/frontend/src/components/DesktopFilter/YearPicker.jsx","webpack:///./app/frontend/src/components/DesktopFilter/DateRangeFilter.jsx","webpack:///./app/frontend/src/components/DesktopFilter/FacetFilter.js","webpack:///./app/frontend/src/components/DesktopFilter/FacetFilterActionBar.js","webpack:///./app/frontend/src/components/DesktopFilter/FacetFilterTab.js","webpack:///./app/frontend/src/components/DesktopFilter/IsolatedFilter.js","webpack:///./app/frontend/src/components/MasonryLayoutSwitch.jsx","webpack:///./app/frontend/src/components/DesktopFilter/index.js","webpack:///./app/frontend/src/components/MobileFilters/FilterList.jsx","webpack:///./app/frontend/src/components/MobileFilters/MobileFiltersIndex.jsx","webpack:///./app/frontend/src/components/MobileFilters/index.jsx","webpack:///./app/frontend/src/components/SearchPage/components/search/NoResults.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchBox/SearchBox.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchBox/Autocomplete.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchBox/AutocompleteField.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchBox/SearchRow.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchBox/AdvancedSearch.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchTab/CategoryTab.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchTab/DropDown.jsx","webpack:///./app/frontend/src/components/SearchPage/components/searchTab/index.jsx","webpack:///./app/frontend/src/components/SearchPage/SearchPage.jsx","webpack:///./app/frontend/src/components/RecordCard/hoc/withSearchResults.jsx","webpack:///./app/frontend/src/components/SearchPage/components/Pagination.jsx","webpack:///./app/frontend/src/components/SearchPage/components/search/SearchResults.jsx","webpack:///./app/frontend/src/components/SocialMediaLinks.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/AddTextArea.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageDropzone.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageSelector.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageCopyrightItem.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageCopyrightForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageTermsOfUseForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/AddUserImageModal.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/index.js","webpack:///./app/frontend/src/components/StoriesPage/story/block/BlockWrapper.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/EmbedBlock/DNZRecord/EditDnzMetaForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/EmbedBlock/DNZRecord/StackBlock.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/EmbedBlock/DNZRecord/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/EmbedBlock/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/Overlay/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/RichText/RichText.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/RichText/DeleteTextModal.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/RichText/LinkModal.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/RichText/TipTap.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/RichText/RichTextBlock.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/TextBlock/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/block/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/storyLogic/dropBlock.js","webpack:///./app/frontend/src/components/StoriesPage/story/Slot.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/Row.jsx","webpack:///./app/frontend/src/utils/isExternalLink.js","webpack:///./app/frontend/src/components/StoriesPage/story/Story.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/StoryContainer.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/header/TextForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/header/RightsForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/header/TopicExplorerForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/storyheader/CopyrightLicence.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/header/Header.jsx","webpack:///./app/frontend/src/components/StoriesPage/layouts/Base.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/StoryError.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/editStory/index.jsx","webpack:///./app/frontend/src/components/RecordCard/DeleteControls.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/myStories/index.jsx","webpack:///./app/frontend/src/components/RecordCard/hoc/withMyStories.jsx","webpack:///./app/frontend/src/components/StoriesPage/storyheader/index.jsx","webpack:///./app/frontend/src/components/StoriesPage/layouts/ShowStory.jsx","webpack:///./app/frontend/src/components/StoriesPage/pages/show/Show.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/adduserimage/ImageDescriberForm.jsx","webpack:///./app/frontend/src/components/StoriesPage/story/storyLogic/storyBlocks.js","webpack:///./app/frontend/src/components/StoriesPage/story/storyLogic/positions.js","webpack:///./app/frontend/src/components/StoriesPage/story/storyLogic/utility.js","webpack:///./app/frontend/src/features/AddToStorySlice.js","webpack:///./app/frontend/src/features/AppDetailsSlice.js","webpack:///./app/frontend/src/features/Dashboard/FacetsSlice.js","webpack:///./app/frontend/src/features/Dashboard/FiltersSlice.js","webpack:///./app/frontend/src/features/Dashboard/GlobalMetricsSlice.js","webpack:///./app/frontend/src/features/Dashboard/MetricsSlice.js","webpack:///./app/frontend/src/features/DropdownSlice.js","webpack:///./app/frontend/src/features/EditStorySlice.js","webpack:///./app/frontend/src/features/EditUserImageSlice.js","webpack:///./app/frontend/src/features/EmptySearchFacetsSlice.js","webpack:///./app/frontend/src/features/ItemsSlice.js","webpack:///./app/frontend/src/features/PlugFeaturesSlice.jsx","webpack:///./app/frontend/src/features/RecordsSlice.js","webpack:///./app/frontend/src/features/SearchSlice.js","webpack:///./app/frontend/src/features/StoriesSlice.js","webpack:///./app/frontend/src/features/UserSlice.js","webpack:///./app/frontend/src/reducers.js","webpack:///./app/frontend/src/store.js","webpack:///./app/frontend/src/utils/Analytics.js","webpack:///./app/frontend/src/utils/addAndRemoveToStories.js","webpack:///./app/frontend/src/utils/dnzNil.js","webpack:///./app/frontend/src/utils/formatDate.js","webpack:///./app/frontend/src/utils/generateDateRange.js","webpack:///./app/frontend/src/utils/generateIconClass.js","webpack:///./app/frontend/src/utils/generateIconTitle.js","webpack:///./app/frontend/src/utils/generateSearchParams.js","webpack:///./app/frontend/src/utils/generateTitleText.js","webpack:///./app/frontend/src/utils/inBrowser.js","webpack:///./app/frontend/src/utils/inputCounter.js","webpack:///./app/frontend/src/utils/keyConverters.js","webpack:///./app/frontend/src/utils/request.js","webpack:///./app/frontend/src/utils/totalPages.js","webpack:///./app/frontend/src/utils/unescapeXMLCharacters.js","webpack:///./app/frontend/src/utils/useLocalStorage.js","webpack:///./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["var map = {\n\t\"./DashboardApp\": 92475,\n\t\"./DashboardApp.jsx\": 92475,\n\t\"./MyUploadedItemsApp\": 49331,\n\t\"./MyUploadedItemsApp.jsx\": 49331,\n\t\"./RecordPageApp\": 10609,\n\t\"./RecordPageApp.jsx\": 10609,\n\t\"./SearchPageApp\": 45249,\n\t\"./SearchPageApp.jsx\": 45249,\n\t\"./StoriesApp\": 8784,\n\t\"./StoriesApp.jsx\": 8784,\n\t\"./StoriesHomePageApp\": 83116,\n\t\"./StoriesHomePageApp.jsx\": 83116\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 1011;","import moment from \"moment\";\nimport { useState } from \"react\";\nimport { DateRangePicker } from \"react-dates\";\nimport { useSelector } from \"react-redux\";\n\nimport { selectFilters } from \"src/features/Dashboard/FiltersSlice\";\n\nconst DateRange = ({ action, loading }) => {\n moment.locale(\"en-NZ\");\n const { startDate, endDate } = useSelector(selectFilters);\n const [dateRange, setDateRange] = useState({ startDate, endDate });\n\n const [focusedInput, setFocusedInput] = useState(null);\n\n const formatDateRange = (startDate, endDate) => {\n endDate = endDate === null ? startDate : endDate;\n\n return {\n startDate: startDate.format(\"YYYY-MM-DD\"),\n endDate: endDate.format(\"YYYY-MM-DD\"),\n };\n };\n\n const isOutsideRange = (day) => {\n const now = moment();\n\n return day.isAfter(now);\n };\n\n const initialVisibleMonth = () => {\n return moment(dateRange.startDate).subtract(1, \"month\");\n };\n\n return (\n
\n \n \n `Choose ${date} as the start date`,\n chooseAvailableEndDate: ({ date }) =>\n `Choose ${date} as the end date`,\n }}\n endDate={moment(dateRange.endDate)}\n endDateId=\"endDate\"\n onDatesChange={({ startDate, endDate }) => {\n // needed because rspec triggers the callback on each character\n if (!moment.isMoment(startDate) || !moment.isMoment(endDate)) return;\n\n setDateRange(formatDateRange(startDate, endDate));\n }}\n onClose={({ startDate, endDate }) => {\n if (!moment.isMoment(startDate) || !moment.isMoment(endDate)) return;\n\n setDateRange(formatDateRange(startDate, endDate));\n action({\n startDate: startDate.format(\"YYYY-MM-DD\"),\n endDate: endDate.format(\"YYYY-MM-DD\"),\n });\n }}\n focusedInput={focusedInput}\n onFocusChange={(focusedInput) => setFocusedInput(focusedInput)}\n orientation={window.innerWidth <= 640 ? \"vertical\" : \"horizontal\"}\n verticalHeight={680}\n />\n
\n );\n};\n\nexport default DateRange;\n","import { difference } from \"lodash\";\nimport { useSelector } from \"react-redux\";\n\nimport generateDateRange from \"src/utils/generateDateRange\";\n\nimport { selectFilters } from \"src/features/Dashboard/FiltersSlice\";\nimport { selectGlobalMetrics } from \"src/features/Dashboard/GlobalMetricsSlice\";\nimport { currentMetrics } from \"src/features/Dashboard/MetricsSlice\";\n\nconst DownloadCsv = () => {\n const globalMetrics = useSelector(selectGlobalMetrics);\n const filters = useSelector(selectFilters);\n const metrics = useSelector((state) =>\n currentMetrics(state, filters.selectedFacet)\n );\n\n const allFacetsSelected = filters.selectedFacet === \"all\";\n const dates = generateDateRange(filters.startDate, filters.endDate);\n let csvContent = \"data:text/csv;charset=utf-8,\";\n csvContent += `Date, NewItems, TotalItems, Interactions, Views&Impressions${\n allFacetsSelected ? \", PublicSets\" : \"\"\n }\\r\\n`;\n\n let totalInteractions = 0;\n let totalViewImpressions = 0;\n let totalNewRecords = 0;\n\n const metricsDates = Object.keys(metrics);\n if (difference(dates, metricsDates).length !== 0) {\n return null;\n }\n\n dates.forEach((date) => {\n const newRecords = metrics[date].record\n ? metrics[date].record.total_new_records\n : \"\";\n const totalItems = metrics[date].record\n ? metrics[date].record.total_active_records\n : \"\";\n const interactions = metrics[date].view\n ? metrics[date].view.records_added_to_user_sets +\n metrics[date].view.records_added_to_user_stories +\n metrics[date].view.total_source_clickthroughs\n : \"\";\n const viewImpressions = metrics[date].view\n ? metrics[date].view.searches +\n metrics[date].view.record_page_views +\n metrics[date].view.user_set_views +\n metrics[date].view.user_story_views\n : \"\";\n const publicSets = globalMetrics[date]\n ? globalMetrics[date].total_public_sets\n : \"\";\n\n totalNewRecords += Number(newRecords);\n totalInteractions += Number(interactions);\n totalViewImpressions += Number(viewImpressions);\n\n csvContent += `${date}, ${newRecords}, ${totalItems}, ${interactions}, ${viewImpressions}${\n allFacetsSelected ? \", \" + publicSets : \"\"\n }\\r\\n`;\n });\n\n csvContent += `TOTAL, ${totalNewRecords}, Not applicable, ${totalInteractions}, ${totalViewImpressions}${\n allFacetsSelected ? \", Not applicable\" : \"\"\n }`;\n\n const encodedUri = encodeURI(csvContent);\n\n return (\n \n {`Download CSV (${(encodedUri.length / 1000).toFixed(1)}Kb) `}\n \n \n );\n};\n\nexport default DownloadCsv;\n","import map from \"lodash/map\";\n\nconst FacetSelector = ({ action, value, values }) => {\n const options = map(values, (v) => (\n \n ));\n\n return (\n
\n \n
\n );\n};\n\nexport default FacetSelector;\n","import isString from \"lodash/isString\";\nimport numeral from \"numeral\";\nimport { Component } from \"react\";\n\nclass MetricsBox extends Component {\n componentDidMount() {\n $(document).foundation();\n }\n\n render() {\n const { title, number, description, tooltip, notAvailable } = this.props;\n\n let metricInformation = (\n
\n

\n {numeral(number).format(\"0,0\")}\n

\n

{description}

\n
\n );\n\n if (notAvailable)\n metricInformation = (\n

\n These metrics are not available when you have a collection filter\n selected\n

\n );\n\n let metricHeader = {title};\n if (isString(tooltip))\n metricHeader = (\n \n {title}\n \n );\n\n return (\n
\n

{metricHeader}

\n {metricInformation}\n
\n );\n }\n}\n\nexport default MetricsBox;\n","import { useSelector } from \"react-redux\";\n\nimport { get, map, sum, toPairs } from \"lodash\";\nimport MetricBox from \"./MetricBox\";\n\nimport { getSelectedFacet } from \"src/features/Dashboard/FiltersSlice\";\nimport { selectedTotalSets } from \"src/features/Dashboard/GlobalMetricsSlice\";\nimport {\n selectedMetrics,\n selectedTotalItems,\n} from \"src/features/Dashboard/MetricsSlice\";\n\nconst formatAsOfDescription = (description) => {\n return `${description} as of yesterday`;\n};\n\nconst IndexPage = () => {\n const metrics = useSelector(selectedMetrics);\n const totalStories = useSelector(selectedTotalSets);\n const selectedFacet = useSelector(getSelectedFacet);\n const totalItems = useSelector(selectedTotalItems);\n\n const metricsBoxData = {\n whats_new: {\n title: \"What's new\",\n description: \"New items\",\n number: sum(map(metrics.records, (m) => m.total_new_records)),\n tooltip:\n \"The number of new items added to DigitalNZ over the specified timeframe.\",\n },\n items: {\n title: \"Items\",\n description: formatAsOfDescription(\"Total items\"),\n number: totalItems,\n tooltip:\n \"The total number of items in the complete DigitalNZ data service. This total includes items that are not discoverable through www.digitalnz.org.\",\n },\n interactions: {\n title: \"Interactions\",\n description: \"Total item activity\",\n number: sum(\n map(metrics.views, (viewData) => {\n return (\n get(viewData, \"records_added_to_user_sets\", 0) +\n get(viewData, \"records_added_to_user_stories\", 0) +\n get(viewData, \"total_source_clickthroughs\", 0)\n );\n })\n ),\n tooltip:\n \"The number of times a user has clicked-through to the content source, or added an item to a story.\",\n },\n views: {\n title: \"Views and Impressions\",\n description:\n \"Total items appearing in search results, in viewed Stories, or viewed on full details pages\",\n number: sum(\n map(metrics.views, (viewData) => {\n return (\n get(viewData, \"searches\", 0) +\n get(viewData, \"record_page_views\", 0) +\n get(viewData, \"user_set_views\", 0) +\n get(viewData, \"user_story_views\", 0)\n );\n })\n ),\n tooltip:\n \"A combined count of how many times an item has been viewed on its full details page, appeared in any search results, or displayed in a Story.\",\n },\n sets: {\n title: \"Stories\",\n description: formatAsOfDescription(\"Total public Stories\"),\n number: totalStories,\n tooltip:\n \"The total number of public Stories created. Stories with a status of hidden or private are not reflected in this number.\",\n },\n };\n\n if (selectedFacet !== \"all\") metricsBoxData.sets.notAvailable = true;\n\n const metricBoxes = map(toPairs(metricsBoxData), (pair) => {\n const [id, metricData] = pair;\n return (\n
\n \n
\n );\n });\n\n return
{metricBoxes}
;\n};\n\nexport default IndexPage;\n","// MODULES\nimport { isNil, keys } from \"lodash\";\nimport { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\n// COMPONENTS\nimport DateRange from \"./DateRange\";\nimport DownloadCsv from \"./DownloadCsv\";\nimport FacetSelector from \"./FacetSelector\";\nimport IndexPage from \"./IndexPage\";\n\nimport SpinnerImage from \"images/spinner.gif\";\nimport generateDateRange from \"src/utils/generateDateRange\";\n\n// SLICES\nimport { selectFacets } from \"src/features/Dashboard/FacetsSlice\";\nimport {\n selectFilters,\n selectNewDateRange,\n selectNewFacet,\n} from \"src/features/Dashboard/FiltersSlice\";\nimport {\n fetchMetrics,\n selectMetrics,\n} from \"src/features/Dashboard/MetricsSlice\";\n\nconst shouldFetchMetrics = (metrics, facet, startDate, endDate) => {\n const dateRangesArray = generateDateRange(startDate, endDate);\n const metricsForFacet = metrics[facet];\n\n if (isNil(metricsForFacet)) return true;\n if (metricsForFacet.loading) return false;\n\n const currentMetricsDates = keys(metricsForFacet);\n return dateRangesArray.some((date) => !currentMetricsDates.includes(date));\n};\n\nconst Main = () => {\n const dispatch = useDispatch();\n const { startDate, endDate, selectedFacet } = useSelector(selectFilters);\n const metrics = useSelector(selectMetrics);\n const facets = useSelector(selectFacets);\n\n const selectedMetricObject = metrics[selectedFacet];\n const loading = selectedMetricObject ? selectedMetricObject.loading : true;\n\n useEffect(() => {\n if (shouldFetchMetrics(metrics, selectedFacet, startDate, endDate)) {\n dispatch(\n fetchMetrics({\n facet: selectedFacet,\n startDate: startDate,\n endDate: endDate,\n })\n );\n }\n }, [dispatch, metrics, selectedFacet, startDate, endDate]);\n\n const loadingText = (\n
\n

Loading data

\n \"Spinner\"\n
\n );\n\n const changeSelectedFacet = (facet) => {\n dispatch(selectNewFacet(facet));\n };\n\n const changeSelectedDateRange = (dateRange) => {\n dispatch(selectNewDateRange(dateRange));\n };\n\n return (\n
\n

Dashboard

\n

\n Welcome to DigitalNZ's metrics dashboard. Here you can find metrics\n about the different collections DigitalNZ brings together.\n

\n
\n
\n \n
\n
\n \n
\n\n
\n {loading ? null : }\n
\n
\n {loading ? loadingText : }\n
\n );\n};\n\nexport default Main;\n","require(\"isomorphic-fetch\");\nrequire(\"es6-promise/auto\");\n\nimport \"react-dates/initialize\";\nimport { Provider } from \"react-redux\";\nimport Main from \"src/components/Dashboard/Main\";\nimport ErrorBoundary from \"src/components/ErrorBoundary\";\nimport { dashboardReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\n\nconst DashboardApp = (props) => (\n \n \n
\n \n \n);\n\nexport default DashboardApp;\n","import { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Modal from \"src/components/Modal\";\nimport {\n openEditUserImageModal,\n setEditingUserImage,\n} from \"src/features/EditUserImageSlice\";\nimport { csrfParam, csrfToken } from \"src/utils/request\";\n\nconst EditOverlay = ({ id, userImage, thumbnailImageUrl, title }) => {\n const dispatch = useDispatch();\n let [deleteModalOpened, setOpenedDeleteModal] = useState(false);\n\n const handleEditClick = () => {\n dispatch(setEditingUserImage(id));\n dispatch(openEditUserImageModal());\n };\n\n return (\n <>\n
\n \n \n \n\n setOpenedDeleteModal(true)}\n >\n \n \n
\n\n setOpenedDeleteModal(false)}\n className=\"generic-modal\"\n title=\"Delete this image\"\n >\n
\n {title}\n\n

\n Are you sure you want to delete this image from DigitalNZ? It will\n be removed from any story it has been added to.\n

\n
\n
\n
\n
\n \n \n setOpenedDeleteModal(false)}\n >\n Cancel\n \n\n \n \n
\n \n \n );\n};\n\nexport default EditOverlay;\n","import { Component } from \"react\";\nimport AddToStoryButton from \"src/components/AddToStoryButton/AddToStoryButton\";\nimport EditOverlay from \"src/components/RecordCard/EditOverlay\";\n\nfunction withMyUploadedItems(WrappedComponent) {\n return class extends Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n const { id, recordId, title, thumbnailImageUrl } = this.props;\n\n return (\n \n }\n editOverlay={}\n />\n );\n }\n };\n}\n\nexport default withMyUploadedItems;\n","import { map } from \"lodash\";\nimport { useSelector } from \"react-redux\";\nimport RecordCard from \"src/components/RecordCard/RecordCard\";\nimport withMyUploadedItems from \"src/components/RecordCard/hoc/withMyUploadedItems\";\nimport { selectAddToStory } from \"src/features/AddToStorySlice\";\nimport { selectAllRecords } from \"src/features/RecordsSlice\";\n\nconst MyUploadedItems = () => {\n const records = useSelector(selectAllRecords);\n const { activeRecord } = useSelector(selectAddToStory);\n const WithMyUploadedItems = withMyUploadedItems(RecordCard);\n\n return (\n
\n

My Uploaded Images

\n
\n {map(records, (record) => (\n
\n \n
\n ))}\n
\n
\n );\n};\n\nexport default MyUploadedItems;\n","import { Provider } from \"react-redux\";\nimport AddToStoryModalBehaviour from \"src/components/AddToStoryModalBehaviour\";\nimport AddToStoryNotification from \"src/components/AddToStoryNotification\";\nimport ErrorBoundary from \"src/components/ErrorBoundary\";\nimport MyUploadedItems from \"src/components/MyUploadedItems\";\nimport EditUserImageModal from \"src/components/RecordCard/EditUserImageModal\";\n\nimport { recordsReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\n\nconst MyUploadedItemsApp = (props) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MyUploadedItemsApp;\n","import { Provider } from \"react-redux\";\nimport { BrowserRouter, Route, Routes } from \"react-router-dom\";\nimport { StaticRouter } from \"react-router-dom/server.js\";\nimport ErrorBoundary from \"src/components/ErrorBoundary\";\nimport EditUserImageModal from \"src/components/RecordCard/EditUserImageModal\";\nimport RecordPage from \"src/components/RecordPage\";\nimport SearchPage from \"src/components/SearchPage/SearchPage\";\nimport { recordsReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\nimport inBrowser from \"src/utils/inBrowser\";\n\nconst RecordPageApp = (props) => {\n // the router is required here to use `useLocation` in children\n const Router = inBrowser() ? BrowserRouter : StaticRouter;\n\n return (\n \n \n \n \n } />\n } />\n } />\n \n \n \n \n \n );\n};\n\nexport default RecordPageApp;\n","import AddToStoryModalBehaviour from \"src/components/AddToStoryModalBehaviour\";\nimport SearchResults from \"src/components/SearchPage/components/search/SearchResults\";\n\nconst SearchPageResultsOnly = () => {\n return (\n <>\n \n \n \n );\n};\n\nexport default SearchPageResultsOnly;\n","require(\"isomorphic-fetch\");\nrequire(\"es6-promise/auto\");\n\nimport { Component } from \"react\";\nimport { DndProvider } from \"react-dnd\";\nimport { HTML5Backend } from \"react-dnd-html5-backend\";\nimport { Provider } from \"react-redux\";\nimport { BrowserRouter, Route, Routes } from \"react-router-dom\";\nimport { StaticRouter } from \"react-router-dom/server.js\";\n\nimport Analytics from \"src/utils/Analytics\";\nimport inBrowser from \"src/utils/inBrowser\";\n\nimport { selectSearch } from \"src/features/SearchSlice\";\nimport { recordsReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\n\nimport SearchPage from \"src/components/SearchPage/SearchPage\";\nimport SearchPageResultsOnly from \"src/components/SearchPage/SearchResultsOnlyApp\";\nimport { ShowStory } from \"src/components/StoriesPage/pages\";\n\nimport AddToStoryNotification from \"src/components/AddToStoryNotification\";\nimport ErrorBoundary from \"src/components/ErrorBoundary\";\nimport EditUserImageModal from \"src/components/RecordCard/EditUserImageModal\";\nimport RecordPage from \"src/components/RecordPage\";\n\nclass SearchPageApp extends Component {\n constructor(props) {\n super();\n\n this.location = props.location;\n const search = selectSearch(props);\n\n const activeTab = search.activeTab;\n const combinedStats = search.primaryCategoryCounts.concat(\n search.secondaryCategoryCounts\n );\n\n const activeCategoryStats = combinedStats.find(\n (categoryStat) => categoryStat.category === activeTab\n );\n\n if (activeCategoryStats) {\n const totalResults = activeCategoryStats.count;\n if (totalResults === \"0\") {\n let eventLabel = search.query;\n\n Analytics.event(\"Search\", \"Search No Results\", eventLabel);\n Analytics.event(\n \"SearchQuery\",\n \"Search No Results\",\n window.location.search\n );\n }\n\n Analytics.event(\"Result Count\", \"Total Results\", totalResults);\n }\n }\n\n render() {\n const Router = inBrowser() ? BrowserRouter : StaticRouter;\n\n return (\n \n \n \n \n \n } />\n }\n />\n } />\n } />\n } />\n \n\n \n \n \n \n \n \n );\n }\n}\n\nexport default SearchPageApp;\n","require(\"isomorphic-fetch\");\nrequire(\"es6-promise/auto\");\n\nimport { Provider } from \"react-redux\";\n\nimport { BrowserRouter, Route, Routes } from \"react-router-dom\";\nimport { StaticRouter } from \"react-router-dom/server.js\";\nimport SearchPage from \"src/components/SearchPage/SearchPage\";\n\nimport { DndProvider } from \"react-dnd\";\nimport { HTML5Backend } from \"react-dnd-html5-backend\";\nimport ErrorBoundary from \"src/components/ErrorBoundary\";\nimport { MyStories, ShowStory } from \"src/components/StoriesPage/pages\";\nimport inBrowser from \"src/utils/inBrowser\";\n\nimport EditUserImageModal from \"src/components/RecordCard/EditUserImageModal\";\nimport { recordsReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\n\nconst App = (props) => {\n const location = props.ui.appDetails.location;\n const Router = inBrowser() ? BrowserRouter : StaticRouter;\n\n // We handle /records here\n // As if the user clicks on a story from the search results page, then clicks on a record.\n // If they use the browser back button to get back to the Search Results page.\n // The stories app is still mounted and it breaks as it doesnt know how to handle /records.\n\n return (\n \n \n \n } />\n } />\n } />\n \n \n \n \n );\n};\n\nconst StoriesApp = (props) => {\n return (\n \n \n \n \n \n );\n};\n\nexport default StoriesApp;\n","import { map } from \"lodash\";\nimport Masonry from \"react-masonry-component\";\nimport { Provider } from \"react-redux\";\nimport RecordCard from \"src/components/RecordCard/RecordCard\";\nimport { selectAllStories } from \"src/features/StoriesSlice\";\nimport { recordsReducer } from \"src/reducers\";\nimport configureAppStore from \"src/store\";\n\nconst StoriesHomePageApp = (props) => {\n const cards = map(selectAllStories(props), (record) => (\n
\n \n
\n ));\n\n return (\n \n
\n \n {cards}\n \n
\n
\n );\n};\n\nexport default StoriesHomePageApp;\n","// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\nimport { init as initApm } from \"@elastic/apm-rum\";\nimport \"core-js\";\nimport \"delayed-scroll-restoration-polyfill\";\nimport $ from \"jquery\";\nimport \"regenerator-runtime/runtime\";\nimport Analytics from \"src/utils/Analytics\";\nimport InputCounter from \"src/utils/inputCounter\";\nimport \"url-polyfill\";\nimport \"whatwg-fetch\";\n\n// Support component names relative to this directory:\nvar componentRequireContext = require.context(\"components\", true);\nvar ReactRailsUJS = require(\"react_ujs\");\n// eslint-disable-next-line react-hooks/rules-of-hooks\nReactRailsUJS.useContext(componentRequireContext);\n\n//\n\ninitApm({\n // Set required service name (allowed characters: a-z, A-Z, 0-9, -, _, and space)\n serviceName: \"DigitalNZ\",\n\n // Set custom APM Server URL (default: http://localhost:8200)\n serverUrl: \"https://apm-server.digitalnz.org\",\n\n // Set service version (required for sourcemap feature)\n serviceVersion: \"\",\n\n active: false,\n // to enable this again\n // active:\n // process.env.RAILS_ENV == \"staging\" || process.env.RAILS_ENV == \"production\",\n environment: process.env.RAILS_ENV,\n ignoreTransactions: [new RegExp(\".+XFBML.+\")], // ignore errors from the facebook widget\n});\n\n$(function () {\n InputCounter.init();\n});\n\nAnalytics.init();\n","import classNames from \"classnames\";\nimport {\n bindAll,\n filter,\n includes,\n intersection,\n isEmpty,\n isEqual,\n map,\n some,\n} from \"lodash\";\nimport { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport AddToStoryDescription from \"src/components/AddToStoryDescription\";\nimport {\n closeNotification,\n openNotification,\n selectAddToStory,\n updateActiveRecord,\n} from \"src/features/AddToStorySlice\";\nimport { selectAllStories } from \"src/features/StoriesSlice\";\nimport addAndRemoveToStories from \"src/utils/addAndRemoveToStories\";\n\nclass AddToStoryButton extends Component {\n constructor(props) {\n super(props);\n\n bindAll(\n this,\n \"handleClick\",\n \"isAddedToEveryStories\",\n \"isARecordAddInProgress\",\n \"isProcessing\",\n \"storiesLinkedToRecord\",\n \"storiesToAlwaysAdd\"\n );\n }\n\n isARecordAddInProgress() {\n return !isEmpty(this.props.processingRecordIds);\n }\n\n isProcessing() {\n return includes(this.props.processingRecordIds, this.props.record.id);\n }\n\n storiesLinkedToRecord() {\n return filter(this.props.stories, (story) =>\n some(story.recordIds, { recordId: this.props.record.id })\n );\n }\n\n storiesToAlwaysAdd() {\n return filter(this.props.stories, (story) =>\n includes(this.props.storyIdsToAlwaysAdd, story.id)\n );\n }\n\n handleClick() {\n const { alwaysAddToStory, storyIdsToAlwaysAdd, record, stories, dispatch } =\n this.props;\n if (alwaysAddToStory) {\n // converts from [1, 2, 3] to {1: true, 2: true, 3: true}\n const storiesMap = Object.assign(\n ...storyIdsToAlwaysAdd.map((k) => ({ [k]: true }))\n );\n addAndRemoveToStories({ record, storiesMap, stories, dispatch });\n dispatch(openNotification());\n } else {\n dispatch(closeNotification());\n dispatch(updateActiveRecord(record));\n }\n }\n\n isAddedToEveryStories(storyIds) {\n const storiesLinkedToRecordIds = map(this.storiesLinkedToRecord(), \"id\");\n\n return isEqual(intersection(storyIds, storiesLinkedToRecordIds), storyIds);\n }\n\n render() {\n const {\n storyIdsToAlwaysAdd,\n alwaysAddToStory,\n isExpanded,\n className,\n buttonClass,\n } = this.props;\n let buttonModifier = `${buttonClass}--add`,\n addStoryText = \"Add to a story\";\n\n if (alwaysAddToStory) {\n // if you have the always add flag on and the record is already part of the selected stories\n if (this.isAddedToEveryStories(storyIdsToAlwaysAdd)) {\n addStoryText = `Added to ${\n storyIdsToAlwaysAdd.length > 1 ? \"stories\" : \"story\"\n }`;\n buttonModifier = `${buttonClass}--added`;\n } else {\n // if you have the always add flag on and you can add to the stories\n addStoryText = (\n \n );\n }\n } else if (this.storiesLinkedToRecord().length > 0) {\n // if you don't always add you already have stories linked to the record\n addStoryText = `Added to ${\n this.storiesLinkedToRecord().length > 1 ? \"stories\" : \"story\"\n }`;\n buttonModifier = `${buttonClass}--added`;\n }\n\n if (this.isProcessing()) {\n return (\n \n \n {`Adding to ${\n this.storiesToAlwaysAdd().length > 1 ? \"stories\" : \"story\"\n }`}\n \n );\n } else {\n return (\n \n {addStoryText}\n \n );\n }\n }\n}\n\nexport default connect((state) => ({\n stories: selectAllStories(state),\n alwaysAddToStory: selectAddToStory(state).alwaysAddToStory,\n storyIdsToAlwaysAdd: selectAddToStory(state).storyIdsToAlwaysAdd,\n processingRecordIds: selectAddToStory(state).processingRecordIds,\n isExpanded: selectAddToStory(state).modalIsOpened,\n}))(AddToStoryButton);\n","import { isEmpty, slice, map } from \"lodash\";\n\nconst AddToStoryDescription = ({ preContent, storyNames }) => {\n if (isEmpty(storyNames)) return null;\n\n let content = (\n <>\n {preContent} '{storyNames[0]}'\n \n );\n\n const leftStoryNames = slice(storyNames, 1, storyNames.length);\n if (storyNames.length > 1) {\n content = (\n <>\n {content} +{\" \"}\n \n `'${name}'`).join(\", \")}>\n {storyNames.length - 1} {storyNames.length > 2 ? \"others\" : \"other\"}\n \n \n \n );\n }\n\n return content;\n};\n\nexport default AddToStoryDescription;\n","const Login = () => {\n return (\n <>\n
\n

\n You need to log in or sign up before you can add an item to a story.\n

\n
\n\n
\n\n \n \n );\n};\n\nexport default Login;\n","import { Component } from \"react\";\nimport { bindAll, trim } from \"lodash\";\n\nclass CreateStoryForm extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n value: \"\",\n valid: true,\n };\n\n bindAll(this, \"onChange\", \"handleSubmit\");\n }\n\n onChange(e) {\n this.setState({ value: e.target.value });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n\n const { value } = this.state;\n const { storyCreateCb } = this.props;\n\n if (trim(value)) {\n this.setState({ valid: true });\n storyCreateCb(value);\n } else {\n this.setState({ valid: false });\n }\n }\n\n render() {\n return (\n <>\n
\n
\n

\n Stories are groups of items you create and enhance.\n
\n Learn more\n

\n\n \n \n {!this.state.valid &&

The story title is required.

}\n
\n
\n
\n \n Cancel\n \n \n {this.props.loading && (\n \n )}\n Create story\n \n
\n
\n \n );\n }\n}\n\nexport default CreateStoryForm;\n","import { map, truncate } from \"lodash\";\n\nconst StoryCheckboxes = ({ stories, record, storiesMap, onStoryToggle }) => {\n return map(stories, ({ id, name, numberOfItems, recordIds }) => {\n const toggleCheckbox = onStoryToggle.bind(null, id);\n\n return (\n
\n
\n \n
\n
\n \n {`${numberOfItems} items`}\n \n
\n
\n );\n });\n};\n\nexport default StoryCheckboxes;\n","import { Component } from \"react\";\nimport StoryCheckboxes from \"./StoryCheckboxes\";\nimport { bindAll, some, isEqual } from \"lodash\";\n\nclass AddToStoryForm extends Component {\n constructor(props) {\n super(props);\n\n const record = props.record || {};\n const checkedStories = {};\n props.stories.forEach(({ id, recordIds }) => {\n checkedStories[id] = some(recordIds, { recordId: record.id });\n });\n\n this.state = {\n initialMap: checkedStories, // {id1: true, id2: false, id3: false...}\n storiesMap: Object.assign({}, checkedStories),\n };\n\n bindAll(this, \"onStoryToggle\", \"handleSubmit\");\n }\n\n onStoryToggle(storyId) {\n const storiesMap = this.state.storiesMap;\n storiesMap[storyId] = !storiesMap[storyId];\n this.setState({ storiesMap: storiesMap });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n\n // only update stories where a checkbox has been changed\n const changedStoriesMap = {};\n for (let storyId in this.state.initialMap) {\n if (this.state.initialMap[storyId] != this.state.storiesMap[storyId]) {\n changedStoriesMap[storyId] = this.state.storiesMap[storyId];\n }\n }\n this.props.boundAddRemoveToStories(changedStoriesMap, this.props.record);\n }\n\n render() {\n const { stories, activateCreateMode, record, mode, toggleOpenCb, loading } =\n this.props;\n\n if (record == null) return null;\n\n return (\n <>\n
\n
\n {record.thumbnailImageUrl && (\n
\n \n
\n )}\n
\n

\n Add the item{\" \"}\n \n '{record.title}'\n {\" \"}\n to a story:\n

\n
\n
\n
\n\n
\n
\n \n\n \n \n Create new story\n \n
\n\n
\n
\n \n Cancel\n \n \n {loading && (\n \n )}\n Done\n \n
\n
\n \n );\n }\n}\n\nexport default AddToStoryForm;\n","import { Component } from \"react\";\nimport isEmpty from \"lodash/isEmpty\";\nimport bindAll from \"lodash/bindAll\";\nimport Modal from \"src/components/Modal\";\n\nimport Login from \"./Login\";\nimport CreateStoryForm from \"./CreateStoryForm\";\nimport AddToStoryForm from \"./AddToStoryForm\";\n\nclass AddToStoryModalFactory extends Component {\n constructor(props) {\n super(props);\n\n if (!props.loggedIn) this.state = { mode: \"login\" };\n else if (isEmpty(props.stories)) this.state = { mode: \"createStory\" };\n else this.state = { mode: \"addToStory\" };\n\n bindAll(this, \"changeMode\", \"onAfterClose\");\n }\n\n onAfterClose() {\n if (this.state.mode == \"createStory\") {\n this.setState({ mode: \"addToStory\" });\n }\n if ($(`#card_${this.props.record.id} [aria-haspopup=\"true\"]`).length) {\n $(`#card_${this.props.record.id} [aria-haspopup=\"true\"]`)[0].focus();\n }\n }\n\n changeMode(mode) {\n this.setState({ mode });\n }\n\n render() {\n const {\n stories,\n storyCreateCb,\n boundAddRemoveToStories,\n record,\n toggleOpenCb,\n loading,\n isOpened,\n } = this.props;\n\n const modeMap = {\n login: ,\n createStory: (\n \n ),\n addToStory: (\n \n ),\n };\n\n return (\n \n {modeMap[this.state.mode]}\n \n );\n }\n}\n\nexport default AddToStoryModalFactory;\n","import { filter, map } from \"lodash\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { snakeToCamelCase } from \"src/utils/keyConverters\";\nimport AddToStoryModalFactory from \"./AddToStoryModal/AddToStoryModalFactory\";\n\nimport {\n closeModal as closeModalAction,\n openNotification,\n selectAddToStory,\n setModalIsProcessing,\n setStoryIdsToAlwaysAdd,\n unsetModalIsProcessing,\n} from \"src/features/AddToStorySlice\";\nimport { blockAdd } from \"src/features/ItemsSlice\";\nimport {\n addItemToStory,\n addStory,\n createStory,\n selectAllStories,\n} from \"src/features/StoriesSlice\";\nimport { selectUser } from \"src/features/UserSlice\";\nimport addAndRemoveToStories from \"src/utils/addAndRemoveToStories\";\n\n// This was originally below the mounted apps that provide the toggle button to display the dialog\n// But I realized when implementing the default story functionality that those apps themselves\n// need to have the logic required to add an item to a story because the dialog toggle button\n// does that if defaultStory is set.\n//\n// So I restructured the hierachy to put this at the top as an HOC that transparently\n// handles the defaultStory functionality as part of the toggle function provided by the Openable HOC\n// and deals with the construction of the Dialog itself which is passed down as a prop\nconst AddToStoryModalBehaviour = () => {\n const dispatch = useDispatch();\n const stories = useSelector(selectAllStories);\n const { loggedIn } = useSelector(selectUser);\n const { modalIsOpened, activeRecord, modalIsProcessing } =\n useSelector(selectAddToStory);\n\n const closeModal = async () => {\n await dispatch(closeModalAction());\n };\n\n const boundCreateStory = async (name) => {\n dispatch(setModalIsProcessing());\n const response = await dispatch(\n createStory({\n name: name,\n type: \"embed\",\n subType: \"record\",\n content: activeRecord,\n })\n );\n\n const newStory = snakeToCamelCase(response.payload);\n newStory.recordIds = [];\n newStory.numberOfItems = 0;\n\n await dispatch(addStory(newStory));\n await dispatch(\n blockAdd({\n storyId: newStory.id,\n type: \"embed\",\n subType: \"record\",\n content: activeRecord,\n })\n );\n\n await dispatch(\n addItemToStory({ storyId: newStory.id, storyItem: activeRecord })\n );\n\n dispatch(unsetModalIsProcessing());\n closeModal();\n\n dispatch(setStoryIdsToAlwaysAdd([newStory.id]));\n dispatch(openNotification());\n };\n\n const boundAddRemoveToStories = async (storiesMap, record) => {\n dispatch(setModalIsProcessing());\n await addAndRemoveToStories({ record, storiesMap, stories, dispatch });\n\n dispatch(unsetModalIsProcessing());\n await closeModal();\n\n // select only the added IDs from the storiesMap\n const addedIds = map(\n filter(Object.entries(storiesMap), (o) => o[1]),\n (o) => o[0]\n );\n dispatch(setStoryIdsToAlwaysAdd(addedIds));\n if (addedIds.length > 0) {\n dispatch(openNotification());\n }\n };\n\n return (\n \n );\n};\n\nexport default AddToStoryModalBehaviour;\n","import classNames from \"classnames\";\nimport { filter, includes, map } from \"lodash\";\nimport ReactDOM from \"react-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport AddToStoryDescription from \"src/components/AddToStoryDescription\";\nimport {\n closeNotification,\n selectAddToStory,\n toggleAlwaysAdd,\n} from \"src/features/AddToStorySlice\";\nimport { selectAllStories } from \"src/features/StoriesSlice\";\nimport inBrowser from \"src/utils/inBrowser\";\n\nconst AddToStoryNotification = () => {\n const dispatch = useDispatch();\n const stories = useSelector(selectAllStories);\n const {\n alwaysAddToStory,\n storyIdsToAlwaysAdd,\n notificationOpened,\n notificationNumber,\n } = useSelector(selectAddToStory);\n\n if (!inBrowser()) return null;\n\n const addedStories = filter(stories, (story) =>\n includes(storyIdsToAlwaysAdd, story.id)\n );\n const storiesButtonText =\n storyIdsToAlwaysAdd.length > 1 ? \"these stories\" : \"this story\";\n const buttonText = alwaysAddToStory\n ? `Don't always add to ${storiesButtonText} `\n : `Always add to ${storiesButtonText} `;\n\n const divClass = classNames(\n \"flash-message\",\n \"ats-notification\",\n notificationOpened\n ? \"ats-notification--fade-in\"\n : \"ats-notification--fade-out\",\n { [`fade-out-and-in-${notificationNumber}`]: notificationNumber != null }\n );\n return ReactDOM.createPortal(\n
dispatch(closeNotification())} className={divClass}>\n
\n
\n
\n {\" \"}\n \n
\n
\n {\n e.stopPropagation();\n dispatch(toggleAlwaysAdd());\n }}\n >\n {buttonText}\n \n
\n
\n \n \n \n
\n
\n
\n
,\n document.getElementById(\"notifications\") // defined in application.html.haml\n );\n};\n\nexport default AddToStoryNotification;\n","import { Component } from \"react\";\n\nclass ErrorBoundary extends Component {\n constructor(props) {\n super(props);\n\n this.state = { hasError: false };\n\n this.developmentRender = this.developmentRender.bind(this);\n }\n\n componentDidCatch(error, info) {\n // Display fallback UI\n this.setState({ hasError: true, error: error });\n\n // eslint-disable-next-line no-console\n console.error(error, info);\n }\n\n developmentRender() {\n return (\n
\n

[DEVELOPMENT] AN ERROR OCCURED

\n

{this.state.error.message}

\n
\n          {this.state.error.stack}\n        
\n
\n );\n }\n\n render() {\n if (!this.state.hasError) {\n return this.props.children;\n }\n\n if (\n process.env.RAILS_ENV == \"development\" ||\n process.env.RAILS_ENV == \"test\"\n ) {\n return this.developmentRender();\n }\n\n return (\n // taken from 500.html.haml\n
\n
\n

We're sorry

\n

\n But something went wrong, we've been notified about this issue and\n we'll take a look at it shortly.\n

\n \n

Thank you

\n
\n
\n );\n }\n}\n\nexport default ErrorBoundary;\n","import ReactModal from \"react-modal\";\n\nif (process.env.NODE_ENV != \"test\") {\n ReactModal.setAppElement(\"#root\");\n}\n\nconst Modal = (props) => {\n const OverlayElement = function (props, contentElement) {\n return (\n
\n
\n
{contentElement}
\n
\n
\n );\n };\n\n const ContentElement = function (props, children) {\n return (\n
\n
\n
\n

{this.title}

\n {this.shouldHaveCloseButton !== false && (\n \n ×\n \n )}\n
\n
\n {children}\n
\n
\n );\n };\n\n return (\n \n {props.children}\n \n );\n};\n\nexport default Modal;\n","import { useDispatch, useSelector } from \"react-redux\";\nimport Modal from \"src/components/Modal\";\nimport ImageDescriberForm from \"src/components/StoriesPage/story/adduserimage/ImageDescriberForm\";\nimport {\n closeEditUserImageModal,\n selectEditUserImage,\n setEditingUserImage,\n} from \"src/features/EditUserImageSlice\";\nimport { updateBlockData } from \"src/features/ItemsSlice\";\nimport {\n selectRecordById,\n submitUserImageEdit,\n} from \"src/features/RecordsSlice\";\n\nconst EditUserImageModal = () => {\n const dispatch = useDispatch();\n\n const { isFetchingUserImageRecord, isSubmitting, editUserImageModalOpened } =\n useSelector(selectEditUserImage);\n\n const { thumbnailImageUrl, userImage } = useSelector((state) => {\n const { userImageBeingEdited } = selectEditUserImage(state);\n const record = selectRecordById(state, userImageBeingEdited);\n\n return {\n thumbnailImageUrl: record?.thumbnailImageUrl,\n userImage: record?.userImage,\n };\n });\n\n const handleValidDescriptionSubmit = (attributes) => {\n dispatch(submitUserImageEdit({ ...attributes, id: userImage.id }));\n dispatch(\n updateBlockData({ recordId: userImage.recordId, title: attributes.title })\n );\n };\n\n return (\n dispatch(closeEditUserImageModal())}\n onAfterClose={() => dispatch(setEditingUserImage(null))}\n className=\"generic-modal modal--extra-wide\"\n title=\"Edit your image\"\n >\n {isFetchingUserImageRecord ? (\n
Loading...
\n ) : (\n dispatch(closeEditUserImageModal())}\n backLabel=\"Cancel\"\n isSubmitting={isSubmitting}\n submitLabel=\"Save\"\n />\n )}\n \n );\n};\n\nexport default EditUserImageModal;\n","import { Link } from \"react-router-dom\";\n\nconst RecordLink = ({ isExternalLink, link, children, ...props }) => {\n if (isExternalLink) {\n return (\n \n {children}\n \n );\n } else {\n return (\n \n {children}\n \n );\n }\n};\n\nexport default RecordLink;\n","import classNames from \"classnames\";\nimport { compact, uniq } from \"lodash\";\nimport dnzNil from \"src/utils/dnzNil\";\nimport formatDate from \"src/utils/formatDate\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\nimport RecordLink from \"./RecordLink\";\nimport RecordThumbnail from \"./RecordThumbnail\";\n\nconst HorizontalRecordCard = ({ editOverlay, children, ...props }) => {\n const {\n id,\n title,\n creator,\n displayDate,\n displayCollection,\n displayContentPartner,\n description,\n link,\n externalLink,\n className,\n } = props;\n\n let storyCreator;\n\n if (creator) {\n let filtered_creator = creator\n .filter((creator) => !dnzNil(creator))\n .join(\", \");\n storyCreator = `Created by ${filtered_creator}`;\n }\n\n return (\n \n {editOverlay}\n
\n \n
\n
\n
\n

\n {uniq(\n compact([\n formatDate(displayDate),\n displayContentPartner,\n displayCollection,\n storyCreator,\n ])\n ).join(\" | \")}\n

\n \n

\n {unescapeXMLCharacters(title)}\n

\n \n {description && (\n

\n {description}\n

\n )}\n
\n {children}\n
\n \n );\n};\n\nexport default HorizontalRecordCard;\n","import classNames from \"classnames\";\nimport { truncate } from \"lodash\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\nimport RecordLink from \"./RecordLink\";\nimport RecordThumbnail from \"./RecordThumbnail\";\n\nconst VerticalRecordCard = ({ editOverlay, children, ...props }) => {\n const { id, title, source, link, externalLink, className, category } = props;\n const truncatedTitle = truncate(unescapeXMLCharacters(title), {\n length: 100,\n });\n\n let storyCreator = source ? `Created by ${source}` : \"\";\n\n return (\n
\n {editOverlay}\n \n \n
\n

\n {truncatedTitle}\n

\n

\n {category.includes(\"Stories\") ? storyCreator : source}\n

\n
\n \n {children ?
{children}
: null}\n
\n );\n};\n\nexport default VerticalRecordCard;\n","import HorizontalRecordCard from \"./HorizontalRecordCard\";\nimport VerticalRecordCard from \"./VerticalRecordCard\";\n\nconst RecordCard = ({ layout, ...props }) => {\n const RecordComponent =\n layout === \"list\" ? HorizontalRecordCard : VerticalRecordCard;\n\n return ;\n};\n\nexport default RecordCard;\n","import generateIconClass from \"src/utils/generateIconClass\";\nimport generateIconTitle from \"src/utils/generateIconTitle\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\n\nimport { isNil } from \"lodash\";\n\nconst iconThumbnail = (category) => {\n let iconClass = generateIconClass(category);\n let categoryTitle = generateIconTitle(category);\n\n return (\n
\n \n

{categoryTitle}

\n
\n );\n};\n\nconst loadingGifThumbnail = () => {\n return (\n
\n \n

Uploading image

\n
\n );\n};\n\nconst image = (imageUrl, title) => {\n const escapedTitle = unescapeXMLCharacters(title);\n let imageResizedUrl = new URL(imageUrl);\n imageResizedUrl.searchParams.append(\"resize\", \"368%3E\");\n\n return (\n
\n \n
\n );\n};\n\nconst hasImage = (imageUrl) => {\n return (\n !isNil(imageUrl) &&\n imageUrl.length !== 0 &&\n imageUrl.indexOf(\"Unknown\") === -1\n );\n};\n\nconst RecordThumbnail = ({ thumbnailImageUrl, imageUrl, title, category }) => {\n let badge;\n if (category.includes(\"Stories\")) {\n badge = (\n
\n \n USER STORY\n \n
\n );\n }\n\n return (\n <>\n {badge}\n {category.includes(\"LoadingGif\") ? (\n <>{loadingGifThumbnail()}\n ) : (\n <>\n {hasImage(thumbnailImageUrl || imageUrl) &&\n image(thumbnailImageUrl || imageUrl, title)}\n {!hasImage(thumbnailImageUrl || imageUrl) && iconThumbnail(category)}\n \n )}\n \n );\n};\n\nexport default RecordThumbnail;\n","import { useEffect, useState } from \"react\";\nimport { useLocation, useNavigate } from \"react-router-dom\";\nimport { Link } from \"react-router-dom\";\nimport { fetchMoreSearchResults, selectSearch } from \"src/features/SearchSlice\";\nimport truncate from \"lodash/truncate\";\nimport Parameterize from \"parameterize\";\nimport findGetParameter from \"src/utils/findGetParameter\";\nimport generateSearchParams from \"src/utils/generateSearchParams\";\nimport classNames from \"classnames\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport totalPages from 'src/utils/totalPages';\n\nconst RecordPageNav = (props) => {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const search = useSelector(selectSearch);\n\n let [direction, setDirection] = useState();\n\n useEffect(() => {\n const currentRecord = props.searchRecords[\n props.searchRecords.findIndex((record) => record.id === props.record.id)\n ];\n\n // If the current record is not in the search records\n // We have loaded a new page in the background and need to navigate to a new page.\n if(!currentRecord) {\n if(direction == 'forward') {\n const nextRecord = props.searchRecords[0];\n\n navigate(`/records/${nextRecord.recordId}/${truncate(\n Parameterize(nextRecord.title),\n { length: 75, omission: \"\" }\n )}`);\n } else {\n const previousRecord = props.searchRecords[props.searchRecords.length - 1];\n\n navigate(`/records/${previousRecord.recordId}/${truncate(\n Parameterize(previousRecord.title),\n { length: 75, omission: \"\" }\n )}`);\n }\n }\n }, [props.searchRecords, direction, navigate, props.record.id]);\n\n const isFirstRecord = () => {\n const results = props.searchRecords;\n const currentRecord = props.record;\n const firstRecord = results[0]\n\n if(results == undefined) {\n return false;\n }\n\n return(firstRecord.id == currentRecord.id);\n }\n\n const isLastRecord = () => {\n const results = props.searchRecords;\n const currentRecord = props.record; \n\n if(results == undefined) {\n return false;\n }\n\n return(results.length - 1 == results.findIndex((record) => record.id === currentRecord.id))\n }\n\n const fetchResults = (direction) => {\n // This conditional prevents an infinite loop.\n if (props.page * props.per_page < props.total_pages) {\n let page;\n\n if(isFirstRecord() && direction == 'back') {\n page = props.page - 1;\n setDirection('back');\n dispatch(fetchMoreSearchResults(page));\n }\n\n if(isLastRecord() && direction == 'forward') {\n page = props.page + 1;\n setDirection('forward');\n dispatch(fetchMoreSearchResults(page));\n }\n }\n };\n\n const nextSearchResult = () => {\n const results = props.searchRecords;\n const currentRecord = props.record;\n const nextRecord =\n results[\n results.findIndex((record) => record.id === currentRecord.id) + 1\n ];\n\n if (nextRecord && !props.loading) {\n return `/records/${nextRecord.recordId}/${truncate(\n Parameterize(nextRecord.title),\n { length: 75, omission: \"\" }\n )}`;\n }\n\n return \"#\";\n };\n\n const previousSearchResult = () => {\n const results = props.searchRecords;\n const currentRecord = props.record;\n const previousRecord =\n results[\n results.findIndex((record) => record.id === currentRecord.id) - 1\n ];\n\n if (previousRecord && !props.loading) {\n return `/records/${previousRecord.recordId}/${truncate(\n Parameterize(previousRecord.title),\n { length: 75, omission: \"\" }\n )}`;\n }\n\n return \"#\";\n };\n\n const nextLinkDisabled = () => {\n return props.page == totalPages(search) && isLastRecord();\n }\n\n const previousLinkDisabled = () => {\n return props.page == 1 && isFirstRecord();\n }\n\n const searchParams = generateSearchParams(\n props.searchValue,\n props.filters,\n props.activeTab,\n props.page\n );\n const location = useLocation();\n const storyId = findGetParameter(\"from-story\", location.search);\n const displayNav = storyId !== null || props.fromSearchResults;\n const record = props.record;\n\n let navParams = {\n backPath: `/stories/${storyId}`,\n backText: \" Back to story\",\n fromRouter: false,\n previousSearchResult: null,\n nextSearchResult: null,\n recordId: null,\n display: displayNav,\n };\n if (props.fromSearchResults) {\n navParams = {\n backPath: `/records?${$.param(searchParams)}#card_${record.recordId}`,\n backText: \" Back to results\",\n fromRouter: true,\n previousSearchResult: previousSearchResult(),\n nextSearchResult: nextSearchResult(),\n recordId: record.recordId,\n display: true,\n };\n }\n\n let Component = Link,\n navProp = { to: navParams.backPath };\n if (!navParams.fromRouter) {\n Component = \"a\";\n }\n\n return (\n
\n
\n
\n
\n \n \n {navParams.backText}\n \n
\n
\n {(navParams.previousSearchResult != null ||\n navParams.nextSearchResult != null) && (\n <>\n
\n { fetchResults('back') }}\n >\n Previous record\n \n
\n
\n { fetchResults('forward') }}\n >\n Next record\n \n
\n \n )}\n
\n
\n
\n );\n};\n\nexport default RecordPageNav;\n","import inBrowser from \"./inBrowser\";\n\nexport default function findGetParameter(parameterName, search = null) {\n if (search === null && !inBrowser()) return null;\n\n const parametersString = search == null ? window.location.search : search;\n let result = null,\n tmp = [];\n const items = parametersString.substr(1).split(\"&\");\n for (let index = 0; index < items.length; index++) {\n tmp = items[index].split(\"=\");\n if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);\n }\n return result;\n}\n","import { map } from \"lodash\";\nimport { Fragment } from \"react\";\n\nfunction isLast(array, index) {\n return index === array.length - 1;\n}\n\nfunction determineSeparator(\n array,\n index,\n separator,\n secondToLastSeparator = null\n) {\n if (index === 0) return \"\";\n\n if (isLast(array, index) && secondToLastSeparator !== null) {\n return secondToLastSeparator;\n } else {\n return separator;\n }\n}\n\nexport default function convertArray(\n array,\n separator,\n secondToLastSeparator = null\n) {\n return map(array, (component, index) => {\n return (\n \n {determineSeparator(array, index, separator, secondToLastSeparator)}\n {component}\n \n );\n });\n}\n","import generateIconClass from \"src/utils/generateIconClass\";\nimport linkToOriginalRecord from \"src/utils/linkToOriginalRecord\";\nimport truncate from \"lodash/truncate\";\nimport { includes } from \"lodash\";\nimport Analytics from \"src/utils/Analytics\";\n\nfunction RecordImage({\n youtubeEmbed,\n thumbnailImageUrl,\n landingUrl,\n title,\n sourceUrl,\n objectUrl,\n category,\n belongsToUser,\n}) {\n const badge = (\n
\n \n YOUR UPLOAD\n \n
\n );\n\n const iconClass = generateIconClass(category);\n const urlToOriginalRecord = linkToOriginalRecord(\n objectUrl,\n sourceUrl,\n landingUrl\n );\n\n if (youtubeEmbed) {\n return (\n
\n
\n
\n
\n \n
\n
\n
\n
\n );\n }\n let linkProps = { href: urlToOriginalRecord };\n\n if (!includes(landingUrl, \"digitalnz.org/records/\")) {\n linkProps.title =\n \"This link will leave DigitalNZ. Use your browser's Back button to return here.\";\n linkProps[\"ga-category\"] = \"Click Through\";\n linkProps[\"ga-action\"] = \"Landing page - Image\";\n linkProps[\"ga-label\"] = truncate(sourceUrl, { length: 125 });\n linkProps.onClick = Analytics.onClick;\n }\n\n return (\n
\n {belongsToUser && badge}\n
\n
\n
\n
\n );\n}\n\nexport default RecordImage;\n","import { includes } from \"lodash\";\n\nexport default function linkToOriginalRecord(objectUrl, sourceUrl, landingUrl) {\n return includes(landingUrl, \"digitalnz.org/records/\")\n ? objectUrl\n : sourceUrl || landingUrl;\n}\n","import { map } from \"lodash\";\n\nimport generateIconTitle from \"src/utils/generateIconTitle\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\nimport convertArray from \"src/utils/convertArray.js\";\n\nimport RecordImage from \"./RecordImage.jsx\";\n\nconst RecordPreview = ({ record }) => {\n return (\n
\n

\n {convertArray(\n map(record.category, (category) => generateIconTitle([category])),\n \" / \"\n )}\n

\n

\n {unescapeXMLCharacters(record.title)}\n

\n \n
\n );\n};\n\nexport default RecordPreview;\n","import classnames from \"classnames\";\nimport { bindAll, truncate } from \"lodash\";\nimport { Component } from \"react\";\n\nconst READ_MORE_LABEL = \"Read more\";\nconst READ_LESS_LABEL = \"Read less\";\n\nclass ReadMore extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n isExpanded: false,\n buttonLabel: READ_MORE_LABEL,\n };\n\n bindAll(this, \"expand\");\n }\n\n expand() {\n const isExpanded = !this.state.isExpanded;\n\n this.setState({\n isExpanded: isExpanded,\n buttonLabel: isExpanded ? READ_LESS_LABEL : READ_MORE_LABEL,\n });\n }\n\n render() {\n const { contentClass, maxCharacters, maxSentences, children } = this.props;\n const sentences = children.split(/\\.\\s/);\n let truncatedContent = sentences.slice(0, maxSentences).join(\". \");\n truncatedContent = truncate(truncatedContent, { length: maxCharacters });\n const isTruncated =\n children.length > maxCharacters || sentences.length > maxSentences;\n\n return (\n <>\n \n {this.state.isExpanded ? children : truncatedContent}\n

\n\n {isTruncated && (\n \n )}\n \n );\n }\n}\n\nexport default ReadMore;\n","import ReadMore from \"src/components/ReadMore\";\n\nimport { map, uniq, filter, truncate, includes } from \"lodash\";\n\nimport generateIconTitle from \"src/utils/generateIconTitle\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\nimport dnzNil from \"src/utils/dnzNil\";\nimport convertArray from \"src/utils/convertArray\";\nimport formatDate from \"src/utils/formatDate\";\nimport Analytics from \"src/utils/Analytics\";\n\nfunction convertArrayItemsToSpans(array) {\n array = filter(uniq(array), (value) => !dnzNil(value));\n\n return convertArray(array, \" / \");\n}\n\nfunction convertArrayItemsToLinks(array, queryType = \"text\") {\n array = filter(uniq(array), (value) => !dnzNil(value));\n\n const links = map(array, (arrayItem) => {\n return (\n \n {arrayItem}\n \n );\n });\n\n return convertArray(links, \" / \");\n}\n\nfunction Row({ attribute, children }) {\n if (!children) return null;\n if (children[\"$$typeof\"] === undefined && dnzNil(children)) return null;\n\n return (\n <>\n
\n {attribute}\n
\n
\n {children}\n
\n \n );\n}\n\nconst RecordDetails = ({ record }) => {\n const creatorList =\n record.displayCollection === \"User Uploaded Content\"\n ? convertArrayItemsToSpans(record.creator)\n : convertArrayItemsToLinks(record.creator, \"i[creator]\");\n\n return (\n
\n

About this item

\n
\n \n\n {record.displayCollection !== \"User Uploaded Content\" && (\n \n \n {record.displayContentPartner}\n \n \n )}\n\n {record.displayCollection !== \"User Uploaded Content\" && (\n \n \n {record.displayCollection}\n \n \n )}\n\n {!dnzNil(record.description) && (\n \n \n {record.description}\n \n \n )}\n\n \n {convertArray(\n map(record.category, (category) => {\n return (\n \n {generateIconTitle([category])}\n \n );\n }),\n \" / \"\n )}\n \n\n {includes(record.tags, \"nzresearch\") && (\n \n {convertArray(\n map(record.dcType, (type) => {\n return (\n \n {generateIconTitle([type])}\n \n );\n }),\n \" / \"\n )}\n \n )}\n \n\n \n \n\n {record.displayCollection === \"User Uploaded Content\" && (\n \n {record.belongsToUser\n ? \"You\"\n : `DigitalNZ user ${record.userImage.user.username}`}\n \n )}\n\n {record.displayCollection !== \"User Uploaded Content\" && (\n \n )}\n\n {record.displayCollection !== \"User Uploaded Content\" && (\n \n \n {truncate(record.landingUrl, { length: 100 })}\n \n \n )}\n\n \n \n
\n
\n );\n};\n\nexport { convertArrayItemsToLinks };\n\nexport default RecordDetails;\n","import { Component } from \"react\";\nimport ReCAPTCHA from \"react-google-recaptcha\";\nimport Modal from \"src/components/Modal\";\n\nimport { pickBy, keys, filter } from \"lodash\";\n\nimport inBrowser from \"src/utils/inBrowser\";\nimport { request } from \"src/utils/request\";\nimport InputCounter from \"src/utils/inputCounter\";\n\nclass ReportItem extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n recaptchaSuccess: false,\n canReport: false,\n additionalFields: false,\n report: {\n offensive: false,\n culturallyInsensitive: false,\n spam: false,\n copyrightViolation: false,\n recaptchaHash: null,\n reason: \"\",\n email: \"\",\n },\n reportItemModal: false,\n };\n\n if (process.env.RAILS_ENV == \"test\") {\n this.state.recaptchaSuccess = true;\n }\n\n this.handleSuccessfulRecaptcha = this.handleSuccessfulRecaptcha.bind(this);\n this.handleChange = this.handleChange.bind(this);\n this.handleReportItemModalButtonClick =\n this.handleReportItemModalButtonClick.bind(this);\n this.submitReportRecord = this.submitReportRecord.bind(this);\n this.additionalFields = this.additionalFields.bind(this);\n this.resetState = this.resetState.bind(this);\n }\n\n handleReportItemModalButtonClick(event) {\n event.preventDefault();\n\n this.setState({\n reportItemModal: true,\n });\n return;\n }\n\n submitReportRecord(event) {\n event.preventDefault();\n\n // disable report item submit button\n this.setState({ canReport: false });\n\n // toggle spinner on\n this.toggleSpinner();\n\n const params = {\n url: this.reportRecordRoute(),\n body: this.state.report,\n options: { method: \"post\" },\n };\n\n request(params)\n .then((resp) => {\n if (resp.ok) return resp.text();\n })\n .then((data) => {\n // add success message to body\n $(document.body).prepend(data);\n\n // reset component state\n this.resetState();\n\n // reset Recaptcha input\n if (typeof window.grecaptcha !== \"undefined\") window.grecaptcha.reset();\n\n // reset checkboxes\n $('.report-item-modal__input-group input[type=\"checkbox\"]').prop(\n \"checked\",\n false\n );\n\n // toggle spinner off\n this.toggleSpinner();\n })\n .bind(this);\n }\n\n toggleSpinner() {\n const spinner = $(\"i.fa-spin\");\n\n if (spinner.hasClass(\"hide\")) spinner.removeClass(\"hide\");\n else spinner.addClass(\"hide\");\n\n return;\n }\n\n handleChange(event) {\n const report = this.state.report;\n\n if (event.target.id == \"reason\" || event.target.id == \"email\") {\n report[event.target.id] = event.target.value;\n } else {\n const reportOptionKey = event.target.value;\n report[reportOptionKey] = event.target.checked;\n }\n\n // Determine which option has been checked\n // We only want to show additional fields if any field except spam\n // has been ticked.\n let options = keys(\n pickBy(report, (item) => {\n return item == true;\n })\n );\n\n options = filter(options, (option) => {\n return option != \"spam\";\n });\n\n // If no options have been selected, remove the reason and email values.\n if (options.length == 0) {\n report[\"reason\"] = \"\";\n report[\"email\"] = \"\";\n }\n\n const state = {\n canReport: this.canReport(),\n report: report,\n additionalFields: options.length >= 1,\n };\n\n this.setState(state);\n }\n\n handleSuccessfulRecaptcha(authHash) {\n const report = this.state.report;\n report.authHash = authHash;\n\n // update the recaptcha status\n // before checking if report can be submitted\n // also add recaptcha hash to report\n this.setState({\n recaptchaSuccess: true,\n report: report,\n });\n\n // recaptcha state updated\n // now, determine whether report can be submitted\n this.setState({\n canReport: Object.values(this.state.report).includes(true) \n });\n }\n\n reportRecordRoute() {\n return `/records/${this.props.recordId}/report`;\n }\n\n resetState() {\n this.setState({\n recaptchaSuccess: false,\n canReport: false,\n additionalFields: false,\n report: {\n offensive: false,\n culturallyInsensitive: false,\n spam: false,\n copyrightViolation: false,\n reason: \"\",\n email: \"\",\n },\n reportItemModal: false,\n });\n }\n\n canReport() {\n return (\n this.state.recaptchaSuccess &&\n Object.values(this.state.report).includes(true)\n );\n }\n\n additionalFields() {\n return (\n
\n
\n \n \n
\n\n
\n \n \n\n \n This is used in case we need to get further information.\n \n
\n
\n );\n }\n\n render() {\n const recaptcha = (\n \n );\n\n return (\n <>\n \n Report this item\n \n \n
\n
\n

\n If you believe this item breaches our{\" \"}\n \n terms of use\n \n , please let us know why and we will determine what action needs\n to be taken.\n

\n Please tick all that apply:\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n
\n
\n \n
\n
\n\n {this.state.additionalFields && this.additionalFields()}\n {this.state.additionalFields && InputCounter.init()}\n\n {inBrowser() && process.env.RAILS_ENV != \"test\" && recaptcha}\n
\n\n
\n
\n this.resetState()}\n >\n Cancel\n \n \n \n Submit\n \n
\n
\n \n \n );\n }\n}\n\nexport default ReportItem;\n","import classnames from \"classnames\";\nimport SocialMediaLinks from \"src/components/SocialMediaLinks\";\nimport formatDate from \"src/utils/formatDate\";\nimport ReportItem from \"./ReportItem.jsx\";\n\nconst RecordSideInformation = (props) => {\n return (\n <>\n
\n

\n What can I do with this item?\n

\n

\n Check copyright status and what you can do with this item\n

\n \n Check\n information\n \n
\n\n {!props.record.belongsToUser && (\n
\n

Report this item

\n

\n If you believe this item breaches our terms of use please report\n this item\n

\n \n
\n )}\n\n \n

\n DigitalNZ brings together more than 30 million items\n from institutions so that they are easy to find and use.{\" \"}\n {props.record.displayCollection !== \"User Uploaded Content\" &&\n \"This information is the best information we could find on this item. \"}\n This item was added on {formatDate(props.record.createdAt)}, and\n updated {formatDate(props.record.updatedAt)}.
\n Learn more about how we work.\n

\n \n\n \n

Share

\n\n \n \n \n );\n};\n\nexport default RecordSideInformation;\n","import { FacebookProvider, Comments } from \"react-facebook\";\n\nfunction RecordFacebookComments({ facebookCommentsUrl, facebookAppId }) {\n if (process.env.RAILS_ENV == \"test\") {\n return null;\n }\n\n return (\n \n \n \n );\n}\n\nexport default RecordFacebookComments;\n","import classNames from \"classnames\";\nimport { useState } from \"react\";\n\nconst MediaInRecordPage = ({ img_src, img_alt, title, children }) => {\n let [selected, setSelected] = useState(false);\n\n const toggleInformationDropdownClick = () => setSelected(!selected);\n\n const toggleInformationDropdownKeyDown = (event) => {\n if (event.keyCode === 13) {\n setSelected(!selected);\n }\n };\n\n return (\n <>\n \n
\n {img_alt}\n
\n\n
\n

\n {title}\n

\n
\n {children}\n
\n
\n\n
\n \n
\n \n\n
\n
\n
{children}
\n
\n
\n \n );\n};\n\nexport default MediaInRecordPage;\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\n\nimport InformationImage from \"images/information.png\";\n\nconst MoreInformation = ({\n displayContentPartner,\n rightsInformation,\n rightsUrl,\n}) => {\n if (!(rightsUrl && rightsUrl.length > 0) && !rightsInformation) {\n return \"\";\n }\n\n return (\n \n {rightsInformation && (\n <>\n

\n {displayContentPartner} has this to say about the rights status of\n this item:\n

\n

{rightsInformation}

\n \n )}\n\n {rightsUrl && rightsUrl.length > 0 && (\n

\n You can learn more about the rights status of this item at:{\" \"}\n\n { rightsUrl.length == 1 && (\n \n {rightsUrl}\n \n )}\n\n { rightsUrl.length > 1 && (\n

    \n {\n rightsUrl.map((url) => {\n return(\n
  • \n \n {url}\n \n
  • \n )\n })\n }\n
\n )}\n

\n )}\n \n );\n};\n\nexport default MoreInformation;\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\nimport MoreInformation from \"./MoreInformation\";\n\nimport CopyrightImage from \"images/copyright.png\";\n\nconst AllRightsReserved = (props) => {\n const { displayContentPartner, sourceUrl } = props;\n\n return (\n <>\n \n

\n This item is all rights reserved, which means you'll have to{\" \"}\n \n get permission from {displayContentPartner}\n {\" \"}\n before using it.\n

\n \n\n \n \n );\n};\n\nexport default AllRightsReserved;\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\n\nimport CreativeCommonsImage from \"images/creative-commons.png\";\nimport MoreInformation from \"./MoreInformation\";\n\nconst CreativeCommonsRights = (props) => {\n const { licenseType, licenseTitle, licenseVersion, licenseLocale } = props;\n\n const licenseTypeText = `(${licenseType})`;\n const licenseText = [\n licenseTitle,\n licenseTypeText,\n licenseVersion,\n licenseLocale,\n \"license.\",\n ].join(\" \");\n\n return (\n <>\n \n

\n This item appears to be licensed under a Creative Commons{\" \"}\n {licenseText}\n

\n \n\n \n \n );\n};\n\nexport default CreativeCommonsRights;\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\nimport MoreInformation from \"./MoreInformation\";\nimport ThumbsUpImage from \"images/thumbs-up.png\";\n\nconst OtherRights = (props) => {\n let title = props.usage.join(\", \");\n\n return (\n <>\n \n

See below for specifics about how you may use this item.

\n \n\n \n \n );\n};\n\nexport default OtherRights;\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\nimport MoreInformation from \"./MoreInformation\";\n\nimport UnknownImage from \"images/unknown.png\";\n\nconst UnknownRights = (props) => {\n const { displayContentPartner, sourceUrl } = props;\n\n return (\n <>\n \n

\n We haven't been able to determine the rights status of this item. It{\" \"}\n may be suitable for sharing, modification and commercial use,\n but you will need to{\" \"}\n \n check with {displayContentPartner}\n {\" \"}\n about its specific terms of use, and may need to undertake research to\n find the creator and publisher of each object to determine this.\n

\n \n\n \n \n );\n};\n\nexport default UnknownRights;\n","import AllRightsReserved from \"./rights/AllRightsReserved\";\nimport CreativeCommonsRights from \"./rights/CreativeCommonsRights.jsx\";\nimport OtherRights from \"./rights/OtherRights\";\nimport UnknownRights from \"./rights/UnknownRights\";\n\nconst Rights = (record) => {\n const rightsProps = {\n displayContentPartner: record.displayContentPartner,\n rightsInformation: record.rightsInformation,\n rightsUrl: record.rightsUrl,\n sourceUrl: record.sourceUrl,\n usage: record.usage,\n };\n\n let rightsElement;\n if (record.hasCreativeCommonsRights) {\n rightsElement = ;\n } else if (record.usage.includes(\"All rights reserved\")) {\n rightsElement = ;\n } else if (record.usage.includes(\"Unknown\")) {\n rightsElement = ;\n } else {\n rightsElement = ;\n }\n\n return (\n \n

\n What is the copyright status of this item?\n

\n {rightsElement}\n \n );\n};\n\nexport default Rights;\n","export default {\n OPEN: {\n shareStatus: \"Share it\",\n shareMessage:\n \"This item is suitable for copying and sharing with others, without further permission.\",\n modifyStatus: \"Modify it\",\n modifyMessage:\n \"This item is suitable for modifying, remixing and building upon, without further permission.\",\n commercialStatus: \"Use it commercially\",\n commercialMessage:\n \"This item is suitable for commercial use, without further permission.\",\n },\n UNKNOWN: {\n shareStatus: \"Check before sharing\",\n shareMessage:\n \"You'll need to confirm with the copyright holder before copying and/or sharing this item with others. This includes posting it on your blog, using it in a presentation, or any other public use.\",\n modifyStatus: \"Check before modifying\",\n modifyMessage:\n \"You'll need to confirm with the copyright holder before modifying, remixing, or building upon this item.\",\n commercialStatus: \"Check about commercial use\",\n commercialMessage:\n \"You'll need to confirm with the copyright holder before using this item for commercial purposes.\",\n },\n RESTRICTED: {\n shareStatus: \"No sharing\",\n shareMessage:\n \"You may not copy and/or share this item with others without further permission. This includes posting it on your blog, using it in a presentation, or any other public use.\",\n modifyStatus: \"No modifying\",\n modifyMessage:\n \"You are not allowed to adapt or remix this item into any other works.\",\n commercialStatus: \"No commercial use\",\n commercialMessage: \"You may not use this item commercially.\",\n },\n};\n","import MediaInRecordPage from \"src/components/MediaInRecordPage\";\nimport usageText from \"./text\";\n\nimport commercialUseImage from \"images/commercial-use.png\";\nimport modifyImage from \"images/modify.png\";\nimport noCommercialUseImage from \"images/no-commercial-use.png\";\nimport noModifyImage from \"images/no-modify.png\";\nimport noShareImage from \"images/no-share.png\";\nimport researchImage from \"images/research.png\";\nimport shareImage from \"images/share.png\";\nimport unknownCommercialUseImage from \"images/unknown-commercial-use.png\";\nimport unknownModifyImage from \"images/unknown-modify.png\";\nimport unknownShareImage from \"images/unknown-share.png\";\n\nconst Usage = ({ usage, displayContentPartner, sourceUrl, userImage }) => {\n if (!usage) return null;\n\n let shareStatus = \"RESTRICTED\";\n let modifyStatus = \"RESTRICTED\";\n let commercialStatus = \"RESTRICTED\";\n let shareIcon = noShareImage;\n let modifyIcon = noModifyImage;\n let commercialIcon = noCommercialUseImage;\n\n if (usage.includes(\"Share\")) {\n shareStatus = \"OPEN\";\n shareIcon = shareImage;\n }\n\n if (usage.includes(\"Modify\")) {\n modifyStatus = \"OPEN\";\n modifyIcon = modifyImage;\n }\n\n if (usage.includes(\"Use commercially\")) {\n commercialStatus = \"OPEN\";\n commercialIcon = commercialUseImage;\n }\n\n if (usage.includes(\"Unknown\")) {\n shareStatus = \"UNKNOWN\";\n modifyStatus = \"UNKNOWN\";\n commercialStatus = \"UNKNOWN\";\n shareIcon = unknownShareImage;\n modifyIcon = unknownModifyImage;\n commercialIcon = unknownCommercialUseImage;\n }\n\n return (\n
\n

What can I do with this item?

\n\n {!!userImage || (\n

\n \n You must always check with {displayContentPartner}\n {\" \"}\n to confirm the specific terms of use, but this is our understanding:\n

\n )}\n\n \n

\n \n NZ Copyright law\n {\" \"}\n does not prevent every use of a copyright work. You should consider\n what you can and cannot do with a copyright work.\n

\n \n\n \n

{usageText[shareStatus].shareMessage}

\n \n\n \n

{usageText[modifyStatus].modifyMessage}

\n \n\n \n

{usageText[commercialStatus].commercialMessage}

\n \n
\n );\n};\n\nexport default Usage;\n","import { useEffect, useState } from \"react\";\nimport { truncate } from \"lodash\";\nimport { snakeToCamelCase } from \"src/utils/keyConverters\";\nimport RecordCard from \"src/components/RecordCard/RecordCard\";\nimport { request } from \"src/utils/request\";\n\nconst MoreLikeThisItems = ({ recordId }) => {\n let [items, setItems] = useState(false);\n\n useEffect(() => {\n request({ url: `/records/${recordId}/more_like_this.json` })\n .then((response) => response.json())\n .then((itemsAsJson) => setItems(snakeToCamelCase(itemsAsJson)));\n }, [recordId]);\n\n let body = null;\n if (items === false) {\n body =

Loading...

;\n } else if (items.length === 0) {\n body =

No related items found.

;\n } else if (items.length) {\n body = (\n
\n {items.map((item) => (\n \n \n
\n ))}\n \n );\n }\n\n return (\n
\n

\n Related items\n

\n {body}\n
\n );\n};\n\nexport default MoreLikeThisItems;\n","import AddToStoryButton from \"src/components/AddToStoryButton/AddToStoryButton\";\n\nimport { truncate } from \"lodash\";\nimport { useDispatch } from \"react-redux\";\nimport {\n setEditingUserImage,\n openEditUserImageModal,\n} from \"src/features/EditUserImageSlice\";\nimport Analytics from \"src/utils/Analytics\";\n\nconst ReactActions = (props) => {\n const dispatch = useDispatch();\n\n const handleEditDetailsClick = () => {\n dispatch(setEditingUserImage(props.record.id));\n dispatch(openEditUserImageModal());\n };\n\n return (\n <>\n {props.record.displayCollection !== \"User Uploaded Content\" && (\n \n {props.record.category[0] === \"Audio\" ? \"Listen to\" : \"View\"} original\n item\n \n )}\n\n {props.record.belongsToUser && (\n \n Edit details\n \n )}\n
\n {(props.record.displayCollection !== \"User Uploaded Content\" ||\n props.record.belongsToUser) && (\n \n )}\n \n );\n};\n\nexport default ReactActions;\n","import { flatten, isEmpty } from \"lodash\";\nimport { Fragment } from \"react\";\nimport { convertArrayItemsToLinks } from \"./RecordDetails\";\n\nconst ExperimentalBlock = (props) => {\n if (process.env.RAILS_ENV === \"production\") return null;\n if (isEmpty(flatten(props.entities.map((entity) => entity.tags))))\n return null;\n\n return (\n
\n

\n {props.title}\n Experimental\n

\n
\n {props.entities.map((entity) => (\n \n {!isEmpty(entity.tags) && (\n <>\n
\n {entity.title}\n
\n
\n {convertArrayItemsToLinks(\n entity.tags,\n `i[${entity.solrAttr}]`\n )}\n
\n \n )}\n
\n ))}\n
\n {props.description}\n
\n );\n};\n\nexport default ExperimentalBlock;\n","import ExperimentalBlock from \"./ExperimentalBlock\";\n\nconst Entities = ({ record }) => {\n return (\n \n \n Entities automatically pull out specific concepts from existing\n metadata (using the records title and description).{\" \"}\n Learn more about how these entities are created\n \n

\n }\n />\n );\n};\n\nexport default Entities;\n","import ExperimentalBlock from \"./ExperimentalBlock\";\n\nconst AutoTags = ({ record }) => {\n return (\n \n \n These tags are automatically generated by computer programs that\n analyse the visual contents of this image.{\" \"}\n Learn more about how these entities are created\n \n

\n }\n />\n );\n};\n\nexport default AutoTags;\n","import { useEffect } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport inBrowser from \"src/utils/inBrowser\";\nimport generateTitleText from \"src/utils/generateTitleText\";\nimport { camelCaseToSnake } from \"src/utils/keyConverters\";\nimport { Helmet } from \"react-helmet\";\nimport { selectRecordById } from \"src/features/RecordsSlice.js\";\nimport { selectSearch } from \"src/features/SearchSlice.js\";\nimport { selectAppDetails } from \"src/features/AppDetailsSlice.js\";\n\nimport RecordPageNav from \"src/components/RecordPage/RecordPageNav.jsx\";\nimport RecordPreview from \"src/components/RecordPage/RecordPreview.jsx\";\nimport RecordDetails from \"src/components/RecordPage/RecordDetails.jsx\";\nimport RecordSideInformation from \"src/components/RecordPage/RecordSideInformation.jsx\";\nimport RecordFacebookComments from \"src/components/RecordPage/RecordFacebookComments.jsx\";\nimport Rights from \"src/components/RecordPage/Rights.jsx\";\nimport Usage from \"src/components/RecordPage/usage/Usage.jsx\";\nimport AddToStoryModalBehaviour from \"src/components/AddToStoryModalBehaviour\";\nimport MoreLikeThisItems from \"src/components/RecordPage/MoreLikeThisItems.jsx\";\nimport RecordActions from \"src/components/RecordPage/RecordActions.jsx\";\nimport Entities from \"src/components/RecordPage/Entities.jsx\";\nimport AutoTags from \"src/components/RecordPage/AutoTags.jsx\";\nimport Analytics from \"src/utils/Analytics\";\nimport { has } from \"lodash\";\n\nfunction mapStateToProps(state, id) {\n id = Number(id);\n return {\n fromSearchResults: has(selectSearch(state), \"resultsIds\"),\n searchRecords: selectSearch(state).resultsIds?.map((id) =>\n selectRecordById(state, id)\n ),\n searchLoading: selectSearch(state).loading,\n searchValue: selectSearch(state).query,\n filters: selectSearch(state).filters,\n activeTab: selectSearch(state).activeTab,\n page: selectSearch(state).page,\n per_page: selectSearch(state).per_page,\n total_pages: selectSearch(state).total,\n record: selectRecordById(state, id),\n facebookAppId: selectAppDetails(state).facebookAppId,\n recaptchaSiteKey: selectAppDetails(state).recaptchaSiteKey,\n };\n}\n\nconst RecordPage = () => {\n const { id } = useParams();\n const props = useSelector((state) => mapStateToProps(state, id));\n\n useEffect(() => {\n if (inBrowser()) window.scrollTo(0, 0);\n }, []);\n\n useEffect(() => {\n // Analytics.pageView();\n sendDisplayEvent(props.record, \"displayContentPartner\");\n sendDisplayEvent(props.record, \"displayCollection\");\n }, [props.record]);\n\n const sendDisplayEvent = (record, attr) => {\n Analytics.event(\n \"Landing Page\",\n \"Page View\",\n `${camelCaseToSnake(attr)}: ${record[attr]}`\n );\n };\n\n return (\n <>\n \n {generateTitleText(props.record.title, \"RECORD\")}\n \n {props.fromSearchResults && }\n\n \n\n
\n
\n
\n
\n \n
\n \n \n \n
\n
\n \n
\n \n \n
\n
\n \n \n
\n
\n
\n\n
\n
\n \n
\n
\n\n
\n \n
\n\n \n \n );\n};\n\nexport default RecordPage;\n","import { includes, isEmpty, range } from \"lodash\";\nimport {\n setMobileFiltersState,\n toggleError,\n toggleFacetTab,\n} from \"../features/SearchSlice\";\nimport generateSearchParams from \"./generateSearchParams\";\n\nexport const validDateRangeFilter = (dispatch, search) => {\n const dateRange = find(search.filters, (filter) => {\n return filter.facet == \"date_range\";\n });\n\n const validDates = range(1, new Date().getFullYear() + 1);\n let errors = [];\n\n if (dateRange) {\n const years = dateRange.value.split(\" TO \");\n const fromYear = parseInt(years[0]);\n const toYear = parseInt(years[1]);\n\n if (!fromYear || !includes(validDates, fromYear)) {\n errors.push(\"from\");\n dispatch(toggleError({ field: \"from\", value: true }));\n } else {\n dispatch(toggleError({ field: \"from\", value: false }));\n }\n\n if (!toYear || !includes(validDates, toYear)) {\n errors.push(\"to\");\n dispatch(toggleError({ field: \"to\", value: true }));\n } else {\n dispatch(toggleError({ field: \"to\", value: false }));\n }\n\n if (fromYear > toYear) {\n errors.push(\"range\");\n dispatch(toggleError({ field: \"range\", value: true }));\n } else {\n dispatch(toggleError({ field: \"range\", value: false }));\n }\n }\n\n return isEmpty(errors);\n};\n\nexport const performSearch = (dispatch, search) => {\n const urlWithoutQueryParams = window.location.host + \"/records?\";\n const searchParams = generateSearchParams(\n search.query,\n search.filters,\n search.activeTab,\n 1\n );\n\n if (validDateRangeFilter(dispatch, search)) {\n $(\".spinner\").show();\n // This uses the jquery param method to convert an object into properly\n // url encoded query parameters\n const newUrl = \"http://\" + urlWithoutQueryParams + $.param(searchParams);\n window.location.assign(newUrl);\n } else {\n if (search.mobileFiltersState == \"closed\") {\n if (search.panel.activeFacetTab != \"date_range\") {\n dispatch(toggleFacetTab({ facetName: \"date_range\" }));\n }\n } else {\n if (search.mobileFiltersState != \"date_range\") {\n dispatch(setMobileFiltersState(\"date_range\"));\n }\n }\n }\n};\n","import { forwardRef, useState } from 'react';\nimport { range, chunk, map, first, last } from 'lodash';\nimport classnames from \"classnames\";\n\nconst YearPicker = forwardRef((props, ref) => {\n\n let { fromYear, toYear, type, callback } = props;\n const pageSize = 18;\n\n const minYear = 1;\n const maxYear = new Date().getFullYear();\n\n if(fromYear == undefined || fromYear == '') {\n fromYear = '1801';\n }\n\n if(toYear == undefined || toYear == '') {\n toYear = maxYear;\n } \n\n const years = range(minYear, (maxYear + 1));\n const pages = chunk(years, pageSize);\n\n const initialPage = () => {\n let selectedYear;\n\n if(type == 'from') {\n selectedYear = fromYear;\n } \n\n if(type == 'to') {\n selectedYear = toYear;\n }\n\n return (Math.ceil(selectedYear / pageSize));\n }\n\n const [pageValue, setPageValue] = useState(initialPage())\n\n const currentPage = () => {\n return pages[pageValue - 1]\n }\n\n const previousPage = () => {\n if(pageValue != 1) {\n setPageValue(pageValue - 1);\n }\n }\n\n const nextPage = () => {\n if(pageValue != pages.length) {\n setPageValue(pageValue + 1);\n }\n }\n\n const activeYear = (year) => {\n if(type == 'from') {\n return year == fromYear;\n }\n\n if(type == 'to') {\n return year == toYear;\n }\n }\n\n return(\n
\n
\n { pageValue != 1 && previousPage() }> }\n { pageValue == 1 && }\n\n { pageValue != pages.length && nextPage() }> }\n { pageValue == pages.length && }\n\n
Year {first(currentPage())} - {last(currentPage())}
\n
\n\n
\n { map(currentPage(), (year) => {\n return(\n
callback(type, year)}\n >\n { year }\n
\n )\n })}\n
\n
\n )\n});\n\nexport default YearPicker;\n","import { useEffect, useState, useRef } from 'react';\nimport {\n updateDateRange,\n selectSearch\n} from \"src/features/SearchSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { find } from 'lodash';\nimport { clearFacet } from '../../features/SearchSlice';\nimport classNames from \"classnames\";\nimport YearPicker from './YearPicker';\n\nconst DateRangeFilter = (props) => {\n const dispatch = useDispatch();\n let { filters } = useSelector(selectSearch);\n let { errors } = useSelector(selectSearch).panel;\n\n const dateRange = find(filters, (filter) => {\n return filter.facet == 'date_range';\n });\n\n const fromRef = useRef(null);\n const toRef = useRef(null);\n\n let fromYear;\n let toYear;\n\n if(dateRange) {\n const years = dateRange.value.split(' TO ');\n fromYear = years[0];\n toYear = years[1];\n }\n\n const [fromYearValue, setFromYearValue] = useState(fromYear)\n const [toYearValue, setToYearValue] = useState(toYear)\n const [fromPickerDisplayed, setFromPickerDisplayed] = useState(false);\n const [toPickerDisplayed, setToPickerDisplayed] = useState(false);\n\n const handleEnterPress = (event) => {\n if(event.keyCode == 13) {\n if(dateRange == undefined) {\n return;\n }\n\n props.enterCallback();\n }\n };\n\n useEffect(() => {\n if(dateRange == undefined) {\n setFromYearValue('');\n setToYearValue('');\n }\n }, [dateRange])\n\n useEffect(() => {\n if(fromYearValue || toYearValue) {\n dispatch(updateDateRange({ facet: 'date_range', value: `${fromYearValue} TO ${toYearValue}`}));\n } else {\n dispatch(clearFacet('date_range'));\n }\n \n }, [fromYearValue, toYearValue, dispatch]);\n\n const updateYear = (type, year) => {\n setFromPickerDisplayed(false);\n setToPickerDisplayed(false);\n \n if(type == 'from') {\n setFromYearValue(year)\n }\n\n if(type == 'to') {\n setToYearValue(year)\n }\n }\n \n const toggleYearPicker = (type) => {\n setFromPickerDisplayed(false);\n setToPickerDisplayed(false);\n\n if(type == 'from') {\n setFromPickerDisplayed(true);\n }\n\n if(type == 'to') {\n setToPickerDisplayed(true);\n }\n }\n\n useEffect(() => {\n function handleClickOutside(event) {\n\n if(fromRef.current && !fromRef.current.contains(event.target)) {\n setFromPickerDisplayed(false);\n }\n\n if(toRef.current && !toRef.current.contains(event.target)) {\n setToPickerDisplayed(false);\n }\n }\n\n document.addEventListener(\"mousedown\", handleClickOutside);\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [fromRef, toRef]);\n\n return(\n
\n
\n
\n From year\n\n { setFromYearValue(e.target.value.replace(/\\D/g,'')) }}\n onFocus={ () => { toggleYearPicker('from') }}\n />\n\n { fromPickerDisplayed && }\n \n { errors.from && (\n

\n Please enter a year between 1 and {new Date().getFullYear()}\n
\n

\n )}\n\n { errors.range && (\n

\n Must be lower than To year\n

\n )}\n
\n\n
\n To year\n\n { setToYearValue(e.target.value.replace(/\\D/g,'')) }}\n onKeyDown={ (e) => { handleEnterPress(e)} }\n onFocus={ () => { toggleYearPicker('to') }}\n />\n\n { toPickerDisplayed && }\n\n { errors.to && (\n

\n Please enter a year between 1 and {new Date().getFullYear()}\n

\n )}\n\n { errors.range && (\n

\n Must be higher than From year\n

\n )}\n
\n
\n\n This feature is currently in Beta. Please note not all records on DigitalNZ currently have date metadata and may not be shown in your results.\n
\n )\n}\n\nexport default DateRangeFilter;","import { join } from \"lodash\";\n\nconst FacetFilter = (props) => {\n const { toggleFacetFilter, isActive, facetFilterName, facetFilterCount } =\n props;\n\n const facetFilterBaseClass = \"search-panel__content__filters__items__item\";\n const facetFilterActiveClassModifier = `${facetFilterBaseClass}--active`;\n const isActiveClass = isActive ? facetFilterActiveClassModifier : \"\";\n\n return (\n
\n \n \n {facetFilterName}\n \n \n {\" \"}\n {facetFilterCount.toLocaleString()}{\" \"}\n \n \n
\n );\n};\n\nexport default FacetFilter;\n","import { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport {\n clearFiltersByFacet,\n selectSearch,\n toggleFacetTab,\n} from \"src/features/SearchSlice\";\nimport Analytics from \"src/utils/Analytics\";\nimport { performSearch } from \"src/utils/search\";\n\nconst FacetFilterActionBar = ({ hasActiveFilters, facetName }) => {\n const search = useSelector(selectSearch);\n const { hasDifferentFilters } = search;\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (search.refreshWithNewFilters) {\n performSearch(dispatch, search);\n }\n }, [search, dispatch]);\n\n const clearFilters = (facetName) => {\n Analytics.event(\"click\", \"SearchFilterSelect\", \"Clear \" + facetName);\n dispatch(clearFiltersByFacet(facetName));\n };\n\n const applyFilters = () => {\n Analytics.event(\"click\", \"SearchFilterSelect\", \"Apply filters\");\n performSearch(dispatch, search);\n };\n\n return (\n
\n
\n {hasActiveFilters && (\n clearFilters(facetName)}\n >\n Clear all\n \n \n )}\n
\n\n {!hasDifferentFilters && (\n dispatch(toggleFacetTab())}\n >\n Close\n \n \n )}\n\n {hasDifferentFilters && (\n \n )}\n
\n );\n};\n\nexport default FacetFilterActionBar;\n","import classNames from \"classnames\";\nimport { chain, size, startCase } from \"lodash\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport { selectSearch, toggleFacetTab } from \"src/features/SearchSlice\";\nimport Analytics from \"src/utils/Analytics\";\nimport { performSearch } from \"src/utils/search\";\n\nconst FacetFilterTab = ({ facetName }) => {\n const search = useSelector(selectSearch);\n const { panel, filters, hasDifferentFilters } = search;\n const isActive = panel.activeFacetTab === facetName;\n\n const dispatch = useDispatch();\n\n const getActiveFilterNamesByFacet = (facetName) => {\n const byFacetName = (filter) => filter.facet == facetName;\n const filterName = (filter) => filter.value;\n return chain(filters).filter(byFacetName).map(filterName).value();\n };\n\n const buildLabelForFacetTab = (facetName, filters) => {\n const alternativeFacetNames = {\n primary_collection: \"collection\",\n decade: \"Decades\",\n };\n\n const numberOfFilters = size(filters);\n\n if (numberOfFilters === 0) {\n return startCase(alternativeFacetNames[facetName] || facetName);\n }\n let label = chain(filters).first().truncate(25).value();\n label += facetName === \"decade\" ? \"s\" : \"\";\n\n // Add `+ X OTHERS` in the label if more than 1 filter is active\n // eg \"National Library of New Zea... + 1 others\"\n if (numberOfFilters > 1)\n label += ` + ${numberOfFilters - 1} ${\n numberOfFilters === 2 ? \"OTHER\" : \"OTHERS\"\n }`;\n\n return label;\n };\n\n const toggleFacetTabAndPerformSearch = (facetName) => {\n Analytics.event(\"click\", \"SearchFilterTabs\", facetName);\n dispatch(toggleFacetTab({ facetName: facetName }));\n\n if (isActive && hasDifferentFilters) performSearch(dispatch, search);\n };\n\n const activeFiltersByFacet = getActiveFilterNamesByFacet(facetName);\n const facetTabClass = classNames({\n \"search-panel__header__item\": true,\n \"search-panel__header__item--active\": isActive,\n \"search-panel__header__item--with-filters\": size(activeFiltersByFacet) > 0,\n \"search-panel__header__item--decade-filter\":\n facetName === \"decade\" && size(activeFiltersByFacet) > 0,\n });\n\n return (\n toggleFacetTabAndPerformSearch(facetName)}\n role=\"menuitem\"\n aria-expanded=\"true\"\n >\n {buildLabelForFacetTab(facetName, activeFiltersByFacet)}\n \n \n );\n};\n\nexport default FacetFilterTab;\n","import { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { selectSearch, toggleFacet } from \"src/features/SearchSlice\";\nimport { performSearch } from \"src/utils/search\";\n\nconst IsolatedFilter = ({ filter }) => {\n const dispatch = useDispatch();\n const search = useSelector(selectSearch);\n\n useEffect(() => {\n if (search.refreshWithNewFilters) {\n performSearch(dispatch, search);\n }\n }, [search, dispatch]);\n\n const removeFilter = () => {\n dispatch(toggleFacet({ refreshWithNewFilters: true, filter: filter }));\n };\n\n function displayTitleFor(filter) {\n return filter.replace(\"_\", \"-\");\n }\n\n return (\n removeFilter()}\n >\n {displayTitleFor(filter.type || filter.facet)}:{\" \"}\n {filter.customLabel || filter.value}\n \n \n );\n};\n\nexport default IsolatedFilter;\n","import classNames from \"classnames\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Analytics from \"src/utils/Analytics\";\nimport { useLocalStorage } from \"src/utils/useLocalStorage\";\nimport { selectSearch, switchLayoutClick } from \"../features/SearchSlice\";\n\nconst MasonryLayoutSwitch = () => {\n const [storageLayout, setLayout] = useLocalStorage(\n \"searchResultsLayout\",\n \"grid\"\n );\n let { layout } = useSelector(selectSearch);\n const dispatch = useDispatch();\n\n layout = layout || storageLayout;\n\n const handleClick = () => {\n layout = layout === \"grid\" ? \"list\" : \"grid\";\n setLayout(layout);\n dispatch(switchLayoutClick(layout));\n Analytics.event(\"switch_layout\", \"SearchSwitchLayout\", layout);\n };\n\n return (\n
\n View as: \n \n
\n );\n};\n\nconst GridIcon = () => (\n \n \n \n);\n\nconst ListIcon = () => (\n \n \n \n);\n\nexport default MasonryLayoutSwitch;\n","import { chain, includes, keys, map, size } from \"lodash\";\nimport { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport Analytics from \"src/utils/Analytics\";\nimport { performSearch } from \"src/utils/search\";\n\nimport DateRangeFilter from \"./DateRangeFilter\";\nimport FacetFilter from \"./FacetFilter\";\nimport FacetFilterActionBar from \"./FacetFilterActionBar\";\nimport FacetFilterTab from \"./FacetFilterTab\";\nimport IsolatedFilter from \"./IsolatedFilter\";\n\nimport MasonryLayoutSwitch from \"src/components/MasonryLayoutSwitch\";\nimport {\n clearAllFacets,\n selectSearch,\n toggleFacet,\n toggleFacetTab,\n} from \"src/features/SearchSlice\";\n\nconst DesktopFilter = () => {\n const dispatch = useDispatch();\n const search = useSelector(selectSearch);\n const activeFacetTab = search.panel.activeFacetTab;\n const activeFilters = search.filters;\n const facetFiltersWithCount = search.panel.facets;\n const hasDifferentFilters = search.hasDifferentFilters;\n\n useEffect(() => {\n if (search.refreshWithNewFilters) {\n performSearch(dispatch, search);\n }\n }, [search, dispatch]);\n\n const facetFilterTabs = {\n content_partner: { order: \"asc\" },\n primary_collection: { order: \"asc\" },\n usage: { order: \"asc\" },\n decade: { order: \"desc\" },\n date_range: { order: \"asc\" },\n };\n\n const alwaysDisplayedFilters = [\n \"decade\",\n \"content_partner\",\n \"primary_collection\",\n \"usage\",\n \"date_range\",\n ];\n\n const getOrderedFacetFiltersByFacetAsPair = (facetName) => {\n return (\n chain(facetFiltersWithCount[facetName])\n // I cannnot convert it back to a hash with `fromPairs()`\n // as it will not retain the order when the key is a number\n // so I'm returning a pair [filterName, filterCount]\n .toPairs()\n .orderBy(0, facetFilterTabs[facetName].order)\n .value()\n );\n };\n\n const getActiveFiltersForFacet = (facetName) =>\n chain(activeFilters)\n .filter((filter) => filter.facet === facetName)\n .map((filter) => filter.value)\n .value();\n\n const getNumberOfActiveFacets = chain(activeFilters)\n .map((filter) => filter.facet)\n .uniq()\n .size();\n\n const clearAllFacetsAndSearch = async () => {\n Analytics.event(\"click\", \"SearchFilterSelect\", \"Clear All Facets\");\n await dispatch(clearAllFacets({ refreshWithNewFilters: true }));\n };\n\n const closeFacetFiltersPanel = () => {\n dispatch(toggleFacetTab({ refreshWithNewFilters: hasDifferentFilters }));\n };\n\n const handleKeyUp = (e) => {\n if (e.key === \"Escape\") closeFacetFiltersPanel();\n };\n\n return (\n
\n
\n
\n
\n {chain(facetFiltersWithCount)\n .pick(keys(facetFilterTabs))\n .keys()\n .map((facetName) => (\n \n ))\n .value()}\n\n {chain(activeFilters)\n .filter(\n (activeFilter) =>\n !includes(alwaysDisplayedFilters, activeFilter.facet)\n )\n .map((activeFilter) => (\n \n ))\n .value()}\n\n {getNumberOfActiveFacets > 1 && (\n \n Clear all\n \n \n )}\n
\n \n
\n\n {activeFacetTab && (\n <>\n closeFacetFiltersPanel()}\n />\n\n
\n 0\n }\n facetName={activeFacetTab}\n />\n\n
\n
\n
\n {activeFacetTab == \"date_range\" && (\n \n )}\n\n {activeFacetTab != \"date_range\" &&\n map(\n getOrderedFacetFiltersByFacetAsPair(activeFacetTab),\n ([facetFilterName, facetFilterCount]) => (\n \n dispatch(\n toggleFacet({\n filter: {\n facet: activeFacetTab,\n value: facetFilterName,\n },\n })\n )\n }\n isActive={includes(\n getActiveFiltersForFacet(activeFacetTab),\n facetFilterName\n )}\n facetFilterName={\n activeFacetTab === \"decade\"\n ? `${facetFilterName}s`\n : facetFilterName\n }\n facetFilterCount={facetFilterCount}\n />\n )\n )}\n
\n
\n
\n
\n \n )}\n
\n
\n );\n};\n\nexport default DesktopFilter;\n","import classNames from \"classnames\";\nimport { bindAll, filter, map, some } from \"lodash\";\nimport { Component } from \"react\";\nimport { connect } from \"react-redux\";\n\nimport {\n clearFacet,\n openMobileFilters,\n selectTab,\n toggleFacet,\n} from \"src/features/SearchSlice\";\n\nimport DateRangeFilter from \"src/components/DesktopFilter/DateRangeFilter\";\nimport { validDateRangeFilter } from \"src/utils/search\";\n\nclass FilterList extends Component {\n constructor(props) {\n super(props);\n bindAll(\n this,\n \"displayFilters\",\n \"applyFilters\",\n \"activeFilter\",\n \"activeFacetsInPanel\",\n \"onUpdateFilterClick\"\n );\n }\n\n applyFilters(filter) {\n if (this.props.facet == \"format\") {\n this.props.dispatch(selectTab(filter));\n } else {\n const facet = this.props.facet;\n this.props.dispatch(toggleFacet({ filter: { facet, value: filter } }));\n }\n }\n\n activeFilter(filter) {\n return (\n this.props.ui.search.activeTab == filter ||\n some(\n this.props.ui.search.filters,\n (f) => f.facet === this.props.facet && f.value === filter\n )\n );\n }\n\n displayFilters() {\n return (\n
    \n {map(this.props.filters, (count, filter) => {\n const listClass = classNames({\n \"mobile-filters__options__option\": true,\n \"mobile-filters__options__option--active\":\n this.activeFilter(filter),\n });\n\n const filterItem = (\n {\n this.applyFilters(filter);\n }}\n key={filter}\n className={listClass}\n >\n
    \n
    \n {this.props.multiple && (\n {}}\n type=\"checkbox\"\n checked={this.activeFilter(filter)}\n >\n )}\n
    \n\n
    {`${filter}${\n this.props.name === \"Decades\" ? \"s\" : \"\"\n }`}
    \n
    \n {count.toLocaleString()}\n
    \n
    \n \n );\n\n return filterItem;\n })}\n
\n );\n }\n\n activeFacetsInPanel() {\n return (\n filter(this.props.ui.search.filters, { facet: this.props.facet }).length >\n 0 && this.props.facet != \"format\"\n );\n }\n\n onUpdateFilterClick() {\n if (validDateRangeFilter(this.props.dispatch, this.props.ui.search)) {\n this.props.dispatch(openMobileFilters());\n }\n }\n\n render() {\n return (\n
\n
\n this.props.dispatch(openMobileFilters())}\n className=\"mobile-filters__nav__back\"\n >\n \n Back\n \n\n {this.activeFacetsInPanel() && (\n {\n this.props.dispatch(clearFacet(this.props.facet));\n }}\n >\n Reset filters\n \n )}\n\n \n
\n\n

\n {this.props.name}\n

\n\n
\n {this.props.facet != \"date_range\" && this.displayFilters()}\n {this.props.facet == \"date_range\" && (\n \n )}\n
\n\n this.onUpdateFilterClick()}\n className=\"mobile-filters__button\"\n >\n UPDATE FILTERS\n \n
\n );\n }\n}\n\nfunction mapStateToProps(state) {\n return state;\n}\n\nexport default connect(mapStateToProps)(FilterList);\n","import classNames from \"classnames\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n clearAllFacets,\n closeMobileFilters,\n selectSearch,\n selectTab,\n setMobileFiltersState,\n} from \"src/features/SearchSlice\";\nimport { performSearch } from \"src/utils/search\";\n\nconst MobileFiltersIndex = () => {\n const dispatch = useDispatch();\n const search = useSelector(selectSearch);\n\n const formatName = () => {\n if (search.activeTab == \"All\") {\n return \"FORMAT (ALL)\";\n } else {\n return search.activeTab;\n }\n };\n\n const filterName = (facet, onClick) => {\n const facetName = {\n date_range: \"DATE RANGE\",\n content_partner: \"CONTENT PARTNER\",\n primary_collection: \"COLLECTIONS\",\n usage: \"USAGE\",\n decade: \"DECADES\",\n };\n\n const filtersApplied = search.filters\n .filter((b) => b.facet === facet)\n .map((a) => a.value);\n let tabName = facetName[facet];\n\n const filterClasses = classNames({\n \"mobile-filters__filter\": true,\n \"mobile-filters__filter--active\": filtersApplied.length > 0,\n \"mobile-filters__filter--last\": facet === \"date_range\",\n \"mobile-filters__filter--decade-filter\": facet === \"decade\",\n });\n\n if (filtersApplied.length > 0) {\n tabName = filtersApplied.shift();\n tabName += facetName[facet] === \"DECADES\" ? \"s\" : \"\";\n tabName =\n tabName.length >= 15 ? tabName.substring(0, 15) + \"...\" : tabName;\n const filtersCount = filtersApplied.length;\n if (filtersCount > 0) {\n tabName = `${tabName} + ${filtersCount} ${\n filtersCount === 1 ? \"OTHER\" : \"OTHERS\"\n }`;\n }\n }\n\n return (\n \n );\n };\n\n const FilterButton = ({ className, onClick, tabName }) => (\n \n );\n\n return (\n
\n \n\n

Filters

\n\n
\n dispatch(setMobileFiltersState(\"format\"))}\n />\n\n {filterName(\"content_partner\", () =>\n dispatch(setMobileFiltersState(\"content-partners\"))\n )}\n {filterName(\"primary_collection\", () =>\n dispatch(setMobileFiltersState(\"collections\"))\n )}\n {filterName(\"usage\", () => dispatch(setMobileFiltersState(\"usage\")))}\n\n {filterName(\"decade\", () => dispatch(setMobileFiltersState(\"decades\")))}\n\n {filterName(\"date_range\", () =>\n dispatch(setMobileFiltersState(\"date_range\"))\n )}\n
\n\n {\n performSearch(dispatch, search);\n }}\n >\n APPLY FILTERS\n \n
\n );\n};\n\nexport default MobileFiltersIndex;\n","import { useDispatch, useSelector } from \"react-redux\";\n\nimport { CSSTransition } from \"react-transition-group\";\n\nimport { openMobileFilters, selectSearch } from \"src/features/SearchSlice\";\n\nimport { fromPairs, reduce, sortBy, toPairs } from \"lodash\";\nimport MasonryLayoutSwitch from \"src/components/MasonryLayoutSwitch\";\nimport FilterList from \"./FilterList\";\nimport MobileFiltersIndex from \"./MobileFiltersIndex\";\n\nconst MobileFiltersApp = () => {\n const dispatch = useDispatch();\n const search = useSelector(selectSearch);\n\n const filterButtonText = () => {\n if (search.filters.length > 0 || search.activeTab != \"All\") {\n return \"Change or clear your filters\";\n } else {\n return \"Filter these results\";\n }\n };\n\n // Convert the format filters so that they are in the same format as the panel facets\n // So that the FilterList accepts normalized data.\n const formatFilters = () => {\n let filters = sortBy(search.primaryCategoryCounts, [\n function (filter) {\n return filter.category;\n },\n ]);\n\n return reduce(\n filters,\n function (result, value) {\n result[value.category] = value.count;\n return result;\n },\n {}\n );\n };\n\n const sortedFilters = (filters) => {\n let sortedFilters = sortBy(toPairs(filters), ([k, _v]) => {\n k = k.toUpperCase();\n return k;\n });\n\n return fromPairs(sortedFilters);\n };\n\n return (\n <>\n
\n dispatch(openMobileFilters())}\n >\n {filterButtonText()}\n \n\n \n
\n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n );\n};\n\nexport default MobileFiltersApp;\n","import $ from \"jquery\";\nimport { filter, isEmpty, map } from \"lodash\";\nimport generateSearchParams from \"src/utils/generateSearchParams\";\n\nfunction NoResults({ categories, activeCategory, currentSearch, filters }) {\n let categoriesWithResults = filter(categories, function (category) {\n return category.count !== \"0\" && category.category !== \"More\";\n });\n\n function suggestedResults() {\n let categoryLinks = map(categoriesWithResults, (arrayItem, _index) => {\n let params = generateSearchParams(currentSearch, filters, null);\n\n if (arrayItem.category !== \"All\") {\n params = generateSearchParams(\n currentSearch,\n filters,\n arrayItem.category,\n 1\n );\n }\n\n return (\n
  • \n \n {arrayItem.category} ({arrayItem.count})\n \n
  • \n );\n });\n\n return {categoryLinks};\n }\n\n function message() {\n if (activeCategory !== \"All\" && !isEmpty(categoriesWithResults)) {\n return (\n <>\n

    \n \n Sorry, there are no results for '{currentSearch}' in{\" \"}\n {activeCategory}. However, there are results for '{currentSearch}'\n in these other content types:\n \n

    \n
      {suggestedResults()}
    \n \n );\n } else if (isEmpty(filters)) {\n return (\n

    \n \n Sorry, there are no results for your search. Please try searching\n with a different word or refining your search. For example, you\n could remove a date or a few words to see if this brings back more\n results.\n \n

    \n );\n } else {\n return (\n

    \n \n Sorry, there are no results for your search. Please try searching{\" \"}\n \n without filters applied.\n \n \n

    \n );\n }\n }\n\n return (\n
    \n
    {message()}
    \n
    \n );\n}\n\nexport default NoResults;\n","import { useDispatch, useSelector } from \"react-redux\";\nimport { featureIsEnabled } from \"src/features/PlugFeaturesSlice\";\nimport { selectSearch, updateSearchQuery } from \"src/features/SearchSlice\";\n\nconst SearchBox = ({ switchSearchMode, handleSubmit }) => {\n const dispatch = useDispatch();\n const { query } = useSelector(selectSearch);\n const advancedSearchEnabled = useSelector((state) =>\n featureIsEnabled(state, \"advanced-search\")\n );\n\n const handleChange = (event) => {\n event.preventDefault();\n dispatch(updateSearchQuery(event.target.value));\n };\n\n return (\n
    \n
    \n \n \n Search\n \n \n \n {advancedSearchEnabled && (\n
    \n \n Advanced search{\" \"}\n \n \n
    \n )}\n
    \n );\n};\n\nexport default SearchBox;\n","import classNames from \"classnames\";\nimport Downshift from \"downshift\";\nimport { useEffect, useState } from \"react\";\n\nconst filterSuggestions = (suggestions, inputText, maxResults = undefined) => {\n return suggestions\n .filter(\n (suggestion) =>\n suggestion.label.toLowerCase().indexOf(inputText.toLowerCase()) > -1\n )\n .slice(0, maxResults);\n};\n\nconst findSelectedItem = (suggestions, value) => {\n return suggestions.find((suggestion) => suggestion.value === value) || null;\n};\n\nconst Autocomplete = ({\n value,\n suggestions,\n onChange,\n maxResults,\n placeholder,\n}) => {\n const selectedItem = findSelectedItem(suggestions, value);\n const [inputValue, setInputValue] = useState(selectedItem?.label || \"\");\n\n useEffect(() => {\n // Sync the input value when the selected item or value prop changes\n setInputValue(selectedItem?.label || \"\");\n }, [value, selectedItem]);\n\n return (\n setInputValue(inputVal)}\n onChange={(selection) => onChange({ target: { value: selection.value } })}\n itemToString={(item) => (item ? item.label : \"\")}\n inputValue={inputValue || \"\"}\n >\n {({\n getInputProps,\n getItemProps,\n getMenuProps,\n isOpen,\n inputValue,\n highlightedIndex,\n getRootProps,\n openMenu,\n }) => (\n
    \n
    \n \n
    \n \n {isOpen\n ? filterSuggestions(suggestions, inputValue, maxResults).map(\n (item, index) => (\n \n {item.value}\n \n )\n )\n : null}\n \n
    \n )}\n \n );\n};\n\nexport default Autocomplete;\n","import { useSelector } from \"react-redux\";\nimport { selectEmptySearchFacetById } from \"src/features/EmptySearchFacetsSlice\";\nimport Autocomplete from \"./Autocomplete\";\n\nconst AutocompleteField = ({ value, field, onChange }) => {\n const facets = useSelector((state) =>\n selectEmptySearchFacetById(state, field.field)\n );\n const options = Object.keys(facets).map((key) => ({\n value: key,\n label: key,\n }));\n\n return (\n \n );\n};\n\nexport default AutocompleteField;\n","import classNames from \"classnames\";\nimport AutocompleteField from \"./AutocompleteField\";\n\nconst FIELD_OPTIONS = [\n {\n name: \"Any field\",\n field: \"\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Title\",\n field: \"title\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Description\",\n field: \"description\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Creator\",\n field: \"creator\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Subject\",\n field: \"subject\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Placename\",\n field: \"placename\",\n autocomplete: false,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Format\",\n field: \"category\",\n autocomplete: true,\n excludeEnabled: false,\n roughlyEnabled: false,\n },\n {\n name: \"Content partner\",\n field: \"content_partner\",\n autocomplete: true,\n excludeEnabled: false,\n roughlyEnabled: false,\n },\n {\n name: \"Collection\",\n field: \"primary_collection\",\n autocomplete: true,\n excludeEnabled: false,\n roughlyEnabled: true,\n },\n {\n name: \"Usage\",\n field: \"usage\",\n autocomplete: true,\n excludeEnabled: false,\n roughlyEnabled: false,\n },\n];\n\nconst SearchRow = ({\n index,\n deletable,\n handleChange,\n handleDeleteRow,\n row,\n}) => {\n const currentField = FIELD_OPTIONS.find((field) => field.field == row.field);\n\n if (!currentField.excludeEnabled && !row.include) {\n handleChange(index, { ...row, include: true });\n }\n\n if (!currentField.roughlyEnabled && !row.exactMatch) {\n handleChange(index, { ...row, exactMatch: true });\n }\n\n const handleInclusionExclusionChange = (e) => {\n handleChange(index, {\n ...row,\n include: e.target.value === \"true\" ? true : false,\n });\n };\n\n const handleExactRoughChange = (e) => {\n handleChange(index, {\n ...row,\n exactMatch: e.target.value === \"true\" ? true : false,\n });\n };\n\n const handleTextChange = (e) => {\n handleChange(index, {\n ...row,\n terms: e.target.value,\n });\n };\n\n const handleFieldChange = (e) => {\n handleChange(index, {\n ...row,\n field: e.target.value,\n });\n };\n\n return (\n
    \n
    \n
    \n
    \n \n \n \n \n
    \n\n {!currentField.autocomplete && (\n
    \n \n \n \n \n
    \n )}\n\n
    \n {(currentField.autocomplete && (\n \n )) || (\n \n )}\n
    \n\n
    in
    \n\n
    \n \n {FIELD_OPTIONS.map((option) => (\n \n ))}\n \n
    \n
    \n
    \n\n \n handleDeleteRow(index)}\n type=\"button\"\n >\n \n \n
    \n \n );\n};\n\nexport default SearchRow;\n","import { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\n\nimport { selectSearch } from \"src/features/SearchSlice\";\n\nimport generateSearchParams from \"src/utils/generateSearchParams\";\nimport SearchRow from \"./SearchRow\";\n\nconst searchHref = (filters, page) => {\n const queryFilter = filters.find((filter) => filter.facet === \"\");\n const activeTab = filters.find((filter) => filter.facet === \"category\");\n\n const params = generateSearchParams(\n queryFilter ? queryFilter.value : \"\",\n filters.filter(\n (filter) => filter.facet !== \"\" && filter.facet !== \"category\"\n ),\n activeTab ? activeTab.value : \"All\",\n page\n );\n\n return `/records?${$.param(params)}`;\n};\n\nconst AdvancedSearch = () => {\n const { query, activeTab, filters, page } = useSelector(selectSearch);\n const initialRows = [\n {\n include: true,\n exactMatch: true,\n terms: query,\n field: \"\",\n },\n ];\n\n if (activeTab !== \"All\") {\n initialRows.push({\n include: true,\n exactMatch: true,\n terms: activeTab,\n field: \"category\",\n });\n }\n filters.forEach((filter) => {\n initialRows.push({\n include: true,\n exactMatch: true,\n terms: filter.value,\n field: filter.facet,\n });\n });\n\n const [rows, setRows] = useState(initialRows);\n\n const handleAddRow = (e) => {\n setRows([\n ...rows,\n { include: true, exactMatch: true, terms: \"\", field: \"\" },\n ]);\n };\n\n const handleChange = (key, fields) => {\n setRows(\n rows.map((row, index) => {\n return key === index ? fields : row;\n })\n );\n };\n\n const handleDeleteRow = (key) => {\n setRows(rows.filter((_row, index) => key !== index));\n };\n\n const handleSubmit = () => {\n window.location.assign(\n window.location.protocol +\n \"//\" +\n window.location.host +\n searchHref(buildFilters(), page)\n );\n };\n\n const buildFilters = () => {\n return rows.map((row) => {\n return { facet: row.field, value: row.terms };\n });\n };\n\n return (\n
    \n
    \n
    \n

    Find records that...

    \n
    \n \n
    \n {rows.map((row, index) => (\n 1}\n />\n ))}\n\n
    \n \n \n Search\n \n
    \n \n );\n};\n\nexport default AdvancedSearch;\n","import $ from \"jquery\";\nimport { Component, createRef } from \"react\";\nimport Analytics from \"src/utils/Analytics\";\nimport generateSearchParams from \"src/utils/generateSearchParams\";\n\nimport { bindAll } from \"lodash\";\n\nclass CategoryTab extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.tabRef = createRef();\n bindAll(this, \"categoryLink\");\n }\n\n componentDidMount() {\n if (this.props.categoryName === this.props.activeCategory) {\n this.tabRef.current.focus({ preventScroll: true });\n }\n }\n\n categoryLink(categoryName, searchValue) {\n const searchParams = generateSearchParams(\n searchValue,\n this.props.filters,\n categoryName,\n 1\n );\n return `/records?${$.param(searchParams)}`;\n }\n\n render() {\n const { classNames, activeCategory, categoryName, searchValue } =\n this.props;\n const activeTag =\n categoryName === activeCategory ? \"search-tabs__filter--active\" : \"\";\n\n const count = this.props.count;\n\n const disabledTag = count === \"0\" ? \"search-tabs__filter--disabled\" : \"\";\n\n return (\n \n \n {categoryName}\n
    {count}
    \n \n \n );\n }\n}\n\nexport default CategoryTab;\n","/*\n Heavily inspired by: http://alexfedoseev.com/post/64/react-dropdown (@Alex Fedoseev)\n https://github.com/zippyui/react-dropdown-button/blob/master/src/index.jsx (@Zippy Tech)\n Author: Jeffery\n\n*/\n\nimport { bindAll, chain, find, includes, isUndefined } from \"lodash\";\nimport { Component } from \"react\";\nimport CategoryTab from \"./CategoryTab\";\n\nconst PRIMARY_TABS = [\"All\", \"Images\", \"Audio\", \"Videos\", \"Stories\"];\n\nclass DropDown extends Component {\n constructor(props) {\n super(props);\n\n // Dropdown block is inactive & hidden by default\n // Local state to track down the open/close, position of dropdown menu\n this.state = {\n dropdownIsActive: false,\n dropdownIsVisible: false,\n categoryStats: props.categoryStats,\n };\n\n bindAll(\n this,\n \"hideDropdown\",\n \"toggleDropdown\",\n \"handleClick\",\n \"handleFocus\",\n \"handleKeyUp\"\n );\n }\n\n componentDidMount() {\n window.addEventListener(\"click\", this.hideDropdown, false);\n }\n\n componentWillUnmount() {\n window.removeEventListener(\"click\", this.hideDropdown, false);\n }\n\n selectedStatus(tab) {\n const { dropdownIsVisible } = this.state;\n return !dropdownIsVisible && !includes(PRIMARY_TABS, tab);\n }\n\n moreTitleCount(tab) {\n if (find(this.props.categoryStats, { category: \"More\" }).count == 0)\n return 0;\n\n let tabName = tab;\n\n if (includes(PRIMARY_TABS, tab)) tabName = \"More\";\n\n return find(this.props.categoryStats, { category: tabName }).count;\n }\n\n toggleDropdown() {\n const { dropdownIsVisible } = this.state;\n this.setState({ dropdownIsVisible: !dropdownIsVisible });\n }\n\n handleClick(e) {\n this.toggleDropdown();\n\n e.stopPropagation();\n e.nativeEvent.stopImmediatePropagation();\n }\n\n handleKeyUp(e) {\n if (e.key === \"Enter\") {\n this.toggleDropdown();\n }\n\n e.stopPropagation();\n e.nativeEvent.stopImmediatePropagation();\n }\n\n hideDropdown() {\n this.setState({ dropdownIsVisible: false });\n }\n\n handleFocus() {\n this.setState({ dropdownIsActive: true });\n }\n\n getMenuName() {\n const { categoryName, activeCategory } = this.props;\n\n if (!isUndefined(activeCategory) && !includes(PRIMARY_TABS, activeCategory))\n return activeCategory;\n else return categoryName;\n }\n\n render() {\n const { categoryStats, activeCategory, dispatch, searchValue, filters } =\n this.props;\n const { dropdownIsVisible } = this.state;\n\n const activeClass =\n this.selectedStatus(activeCategory) || dropdownIsVisible;\n const disabledTag =\n this.moreTitleCount(activeCategory) === 0\n ? \"search-tabs__filter--disabled\"\n : \"\";\n\n const tabClass = activeClass ? \"search-tabs__filter--active\" : \"\";\n const tabMenus = chain(categoryStats)\n .filter((e) => e.category !== \"More\")\n .map((tab, index) => (\n \n ))\n .value();\n\n let dropdown = null;\n let dropdownIcon;\n\n if (dropdownIsVisible) {\n dropdownIcon = \"fa fa-chevron-up\";\n dropdown = (\n
      \n {tabMenus}\n
    \n );\n } else {\n dropdownIcon = \"fa fa-chevron-down\";\n dropdown = null;\n }\n\n return (\n \n \n {this.getMenuName()}\n \n
    \n {this.moreTitleCount(activeCategory)}\n
    \n {dropdown}\n \n \n );\n }\n}\n\nexport default DropDown;\n","import { map } from \"lodash\";\nimport { useSelector } from \"react-redux\";\nimport { selectSearch } from \"src/features/SearchSlice\";\nimport CategoryTab from \"./CategoryTab\";\nimport DropDown from \"./DropDown\";\n\nconst SearchTab = (_props) => {\n const {\n primaryCategoryCounts,\n secondaryCategoryCounts,\n activeTab,\n query,\n filters,\n } = useSelector(selectSearch);\n\n return (\n \n
      \n {map(primaryCategoryCounts, (tab, index) => {\n return (\n \n );\n })}\n \n
    \n \n );\n};\n\nexport default SearchTab;\n","import { replace } from \"lodash\";\nimport { useEffect, useState } from \"react\";\nimport { Helmet } from \"react-helmet\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport AddToStoryModalBehaviour from \"src/components/AddToStoryModalBehaviour\";\nimport DesktopFilter from \"src/components/DesktopFilter/index\";\nimport MobileFilters from \"src/components/MobileFilters/index\";\nimport NoResults from \"src/components/SearchPage/components/search/NoResults\";\nimport SearchResults from \"src/components/SearchPage/components/search/SearchResults\";\nimport SearchBox from \"src/components/SearchPage/components/searchBox/SearchBox\";\nimport { selectSearch } from \"src/features/SearchSlice\";\nimport Analytics from \"src/utils/Analytics\";\nimport generateTitleText from \"src/utils/generateTitleText\";\nimport { performSearch } from \"src/utils/search\";\nimport AdvancedSearch from \"./components/searchBox/AdvancedSearch\";\nimport SearchTab from \"./components/searchTab/index\";\n\nconst SearchPage = () => {\n const dispatch = useDispatch();\n const [searchMode, setSearchMode] = useState(\"simple\");\n const search = useSelector(selectSearch);\n\n useEffect(() => {\n // This sneaky code gets the browser to auto scroll to the id the user was viewing\n // we strip the slash so that it plays nice with the mobile filters router.\n const item_id = replace(location.hash, \"/\", \"\");\n\n location.hash = \"\";\n\n // TODO the transition seems to be too fast for the render.\n setTimeout(function () {\n location.hash = item_id;\n }, 10);\n }, []);\n\n if (search.resultsIds === undefined) {\n location.reload();\n return;\n }\n\n const resultsLength = search.resultsIds.length;\n\n const titleText = () => {\n let filters = search.filters.slice();\n let searchTab;\n\n if (search.activeTab !== \"All\") {\n searchTab = search.activeTab;\n }\n\n return generateTitleText(search.query, \"SEARCH\", filters, searchTab);\n };\n\n const switchSearchMode = (e) => {\n e.preventDefault();\n\n setSearchMode(searchMode === \"simple\" ? \"advanced\" : \"simple\");\n };\n\n const handleSubmit = (event) => {\n event.preventDefault();\n\n Analytics.event(\n \"Search\",\n \"Search Box\",\n $(event.target).find(\"input\").filter(\":visible:first\").val()\n );\n\n performSearch(dispatch, search);\n };\n\n if (search.resultsIds === undefined) return;\n\n if (search.apiAvailable) {\n return (\n <>\n \n {titleText()}\n \n\n
    \n {search.mobileFiltersState == \"closed\" &&\n ((searchMode === \"simple\" && (\n \n )) || )}\n \n\n {resultsLength > 0 && }\n
    \n\n {search.mobileFiltersState != \"closed\" && (\n
    \n )}\n\n {resultsLength > 0 && }\n {resultsLength > 0 && search.mobileFiltersState == \"closed\" && (\n \n )}\n\n {resultsLength === 0 && (\n \n )}\n \n \n );\n } else {\n return (\n
    \n \n Sorry, search is not working at the moment. Someone has been notified.\n Please try again later.\n \n
    \n );\n }\n};\n\nexport default SearchPage;\n","import classNames from \"classnames\";\nimport { truncate } from \"lodash\";\nimport Parameterize from \"parameterize\";\nimport { Component } from \"react\";\nimport AddToStoryButton from \"src/components/AddToStoryButton/AddToStoryButton\";\n\nfunction withSearchResults(WrappedComponent) {\n return class extends Component {\n constructor(props) {\n super(props);\n }\n\n recordLink() {\n const { title, landingUrl, id, redirectToRecord } = this.props;\n\n let link = \"\";\n let externalLink = false;\n const isStory =\n landingUrl &&\n ((process.env.RAILS_ENV === \"development\" &&\n landingUrl.includes(\"http://www.dev/stories/\")) ||\n landingUrl.includes(\"digitalnz.org/stories/\"));\n\n if (isStory) {\n const storyId = landingUrl\n .match(RegExp(\"(?=stories).+\"))\n .toString()\n .replace(\"stories\", \"\");\n link = `/stories${storyId}`;\n } else {\n const truncatedTitle = truncate(Parameterize(title), {\n length: 75,\n omission: \"\",\n });\n link = `/records/${id}/${truncatedTitle}`;\n }\n\n // This is for the concepts page\n // Otherwise the record page will render inside of the concepts page\n if (redirectToRecord) {\n externalLink = true;\n }\n\n return { link, externalLink };\n }\n\n render() {\n const addToStoryButton = (\n \n );\n return (\n \n );\n }\n };\n}\n\nexport default withSearchResults;\n","import classNames from \"classnames\";\nimport { map, range } from \"lodash\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { fetchMoreSearchResults, selectSearch } from \"src/features/SearchSlice\";\nimport generateSearchParams from \"src/utils/generateSearchParams\";\nimport totalPages from \"src/utils/totalPages\";\n\nconst Pagination = () => {\n const dispatch = useDispatch();\n const search = useSelector(selectSearch);\n\n const handlePageClick = (page) => {\n dispatch(fetchMoreSearchResults(page));\n window.scrollTo({ top: 0, behavior: \"smooth\" });\n };\n\n const searchParams = (page) => {\n if (page == 0) {\n page = 1;\n }\n\n return generateSearchParams(\n search.query,\n search.filters,\n search.activeTab,\n page\n );\n };\n\n const pages = () => {\n let startingPage = 1;\n let endingPage = totalPages(search);\n\n if (endingPage > 9) {\n endingPage = 9;\n }\n\n if (startingPage + 6 <= search.page) {\n startingPage = search.page - 4;\n\n if (search.page + 4 < totalPages(search)) {\n endingPage = search.page + 4;\n } else {\n endingPage = totalPages(search);\n }\n }\n\n if (endingPage >= 100) {\n endingPage = 100;\n }\n\n // + 1 here as lodashes range isn't inclusive..\n return range(startingPage, endingPage + 1);\n };\n\n const showPreviousOffsetIndiciation = () => {\n return search.page > 6 && totalPages(search) > 9;\n };\n\n const showNextOffsetIndication = () => {\n return totalPages(search) > 9 && search.page < totalPages(search) - 4;\n };\n\n const desktopPagination = () => {\n return (\n
      \n
    • \n handlePageClick(search.page - 1)}\n className={classNames({ disabled: search.page - 1 === 0 })}\n >\n \n Previous Page\n \n
    • \n\n {showPreviousOffsetIndiciation() && (\n
    • \n ...\n
    • \n )}\n\n {map(pages(), (page) => {\n if (page == search.page) {\n return (\n \n {page}\n \n );\n } else {\n return (\n handlePageClick(page)}\n >\n {page}\n \n );\n }\n })}\n\n {showNextOffsetIndication() && (\n
    • \n ...\n
    • \n )}\n\n
    • \n handlePageClick(search.page + 1)}\n className={classNames({\n disabled: search.page + 1 > totalPages(search),\n })}\n >\n Next Page\n \n \n
    • \n
    \n );\n };\n\n const mobilePagination = () => {\n return (\n
      \n
    • \n handlePageClick(search.page - 1)}\n className={classNames({ disabled: search.page - 1 === 0 })}\n >\n Previous\n \n
    • \n
    • \n {search.page} / {totalPages(search)}{\" \"}\n
    • \n\n
    • \n handlePageClick(search.page + 1)}\n className={classNames({\n disabled: search.page + 1 > totalPages(search),\n })}\n >\n Next\n \n
    • \n
    \n );\n };\n\n return (\n <>\n {totalPages(search) > 1 && (\n <>\n {desktopPagination()}\n {mobilePagination()}\n \n )}\n \n );\n};\n\nexport default Pagination;\n","import classNames from \"classnames\";\nimport { map } from \"lodash\";\nimport { useSelector } from \"react-redux\";\n\nimport RecordCard from \"src/components/RecordCard/RecordCard\";\nimport withSearchResults from \"src/components/RecordCard/hoc/withSearchResults\";\n\nimport { selectAddToStory } from \"src/features/AddToStorySlice\";\nimport { selectRecordById } from \"src/features/RecordsSlice\";\nimport { selectSearch } from \"src/features/SearchSlice\";\n\nimport { useLocalStorage } from \"src/utils/useLocalStorage\";\n\nimport Pagination from \"src/components/SearchPage/components/Pagination\";\n\nconst SearchResults = ({ redirectToRecord }) => {\n const { activeRecord } = useSelector(selectAddToStory);\n const { loading, layout } = useSelector(selectSearch);\n const results = useSelector((state) =>\n selectSearch(state).resultsIds.map((id) => selectRecordById(state, id))\n );\n\n const [storageLayout] = useLocalStorage(\"searchResultsLayout\", \"grid\");\n const resultsLayout = layout || storageLayout;\n\n const WithSearchResults = withSearchResults(RecordCard);\n const cards = map(results, (r) => (\n
    \n \n
    \n ));\n\n const spinner = (\n
    \n \n

    Loading

    \n
    \n );\n\n return (\n
    \n \n {cards}\n
    \n\n \n\n {loading && spinner}\n \n );\n};\n\nexport default SearchResults;\n","/* eslint-disable no-process-env, no-undef */\n\nimport { useState, useEffect } from \"react\";\n\nconst SocialMediaLinks = ({ id }) => {\n const [urls, setUrls] = useState({ twitter: \"#\", facebook: \"#\" });\n\n useEffect(\n function () {\n setUrls({\n facebook: `https://www.facebook.com/sharer/sharer.php?${facebookParams()}`,\n twitter: `https://twitter.com/intent/tweet?${twitterParams()}`,\n });\n },\n [id]\n );\n\n const twitterParams = () =>\n new URLSearchParams({\n original_referer: \"https://digitalnz.org/\",\n text: window.document.title,\n url: window.location.href.replace(/#.*/, \"\"),\n });\n\n const facebookParams = () =>\n new URLSearchParams({\n u: window.location.href.replace(/#.*/, \"\"),\n });\n\n function openFacebook(event) {\n event.preventDefault();\n window.open(\n event.target.href,\n \"facebook-share-dialog\",\n \"width=626,height=436\"\n );\n }\n\n return (\n
      \n
    • \n \n
    • \n
    • \n \n
    • \n
    \n );\n};\n\nexport default SocialMediaLinks;\n","import { useDispatch } from \"react-redux\";\nimport { addTextBlock } from \"src/features/ItemsSlice\";\n\nconst AddTextArea = ({ index, disabled }) => {\n let dispatch = useDispatch();\n\n return (\n
    \n
    \n
    \n dispatch(addTextBlock({ position: index + 1 }))}\n tabIndex=\"0\"\n >\n \n Add text\n \n
    \n \n \n );\n};\n\nexport default AddTextArea;\n","import { useState } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\nimport classNames from \"classnames\";\nimport { uniq, flatten } from \"lodash\";\nimport { UilCloudUpload } from \"@iconscout/react-unicons\";\n\nconst ImageDropzone = ({ onValidImageSubmit }) => {\n const [errors, setErrors] = useState([]);\n\n const onDropAccepted = (files) => {\n onValidImageSubmit(files[0]);\n };\n\n const onDropRejected = (files) => {\n let errors = files.map((file) => file.errors.map((error) => error.code));\n errors = uniq(flatten(errors));\n\n const error_code_to_sentence = {\n \"too-many-files\": \"Only one image allowed.\",\n \"file-too-large\": \"The maximum file size is 15MB\",\n \"file-invalid-type\": \"The only files allowed are: JPG, PNG or GIF\",\n };\n\n setErrors(errors.map((error) => error_code_to_sentence[error]));\n };\n\n const { isDragActive, getRootProps, getInputProps } = useDropzone({\n multiple: false,\n maxSize: 15 * 1024 * 1024, // 15 megabytes\n accept: {\"image/*\": [\".png\", \".jpg\", \".jpeg\", \".gif\"]},\n onDropAccepted: onDropAccepted,\n onDropRejected: onDropRejected,\n });\n\n const dropzoneClassNames = (isDragActive) => {\n return classNames({\n cell: true,\n dropzone: true,\n \"text-center\": true,\n \"dropzone--active\": isDragActive,\n });\n };\n\n return (\n
    \n {/* 120 makes the svg 80px high, or 5em */}\n

    Drag and drop your image here

    \n
    or
    \n \n \n {errors.length > 0 && (\n
    \n {errors.map((error, i) => (\n

    \n {error}\n

    \n ))}\n
    \n )}\n
    \n );\n};\n\nexport default ImageDropzone;\n","import { Component } from \"react\";\nimport ImageDropzone from \"./ImageDropzone\";\n\nclass ImageSelector extends Component {\n constructor(props) {\n super(props);\n // TODO\n // this.handleImageClick = this.handleImageClick.bind(this);\n }\n\n // TODO in another story\n // handleImageClick() {\n\n // }\n\n render() {\n // TODO in another story\n /*
    \n
    \n
    \n
    OR CHOOSE A PREVIOUSLY UPLOADED IMAGE
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    */\n return (\n <>\n
    \n

    \n Uploads are limited to a file size of 15 megabytes and jpg, png, and\n gif formats.\n

    \n
    \n \n
    \n
    \n \n
    \n
    Your image
    \n

    \n Upload any image that helps tell your story. Your image may\n contribute to your family history, the story of your local area,\n or simply give more context to your research.\n

    \n
    Privacy of your image
    \n

    \n Your story can be public, private, or hidden.{\" \"}\n \n Here’s how to change the privacy of your story.\n \n

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n );\n }\n}\n\nexport default ImageSelector;\n","import { Component } from \"react\";\n\nimport activeRadio from \"images/active-radio.svg\";\nimport inactiveRadio from \"images/inactive-radio.svg\";\n\nclass ImageCopyrightItem extends Component {\n render() {\n const { selected, onClick, onKeyDown, imgSrc, title, description } =\n this.props;\n\n const radioSource = selected ? activeRadio : inactiveRadio;\n\n return (\n
    \n
    \n \n
    \n
    \n \n
    \n \"\"\n
    \n
    \n

    {title}

    \n

    {description}

    \n
    \n
    \n {description}\n
    \n
    \n
    \n \n );\n }\n}\n\nexport default ImageCopyrightItem;\n","import { Component } from \"react\";\nimport ImageCopyrightItem from \"./ImageCopyrightItem\";\n\nimport CopyrightImage from \"images/copyright.png\";\nimport CreativeCommonsImage from \"images/creative-commons.png\";\nimport ThumbsUpImage from \"images/thumbs-up.png\";\n\nclass ImageCopyrightForm extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n selected: props.license,\n errors: [],\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleSelectChange = this.handleSelectChange.bind(this);\n }\n\n handleSelectChange(copyright) {\n this.setState({\n selected: copyright,\n });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n if (this.state.selected === null) {\n this.setState({\n errors: [\"Please select a licence field\"],\n });\n } else {\n this.props.onValidCopyrightSubmit(this.state.selected);\n }\n }\n\n render() {\n const selected = this.state.selected;\n return (\n
    \n
    \n
    \n \n
    \n
    \n

    What images can I upload to DigitalNZ?

    \n

    \n If you created this image, you are the copyright holder and are\n free to upload it to DigitalNZ. If you're uploading an image\n created by someone else, you need to have their permission to\n upload it, or know that it is free of copyright.\n

    \n\n

    How do I find the copyright status of this image?

    \n

    \n Use our{\" \"}\n \n copyright status flowchart\n {\" \"}\n or this{\" \"}\n \n Facebook messenger chatbot.\n \n

    \n\n
    \n

    \n How can other people use this image?\n

    \n

    Please select one of the options below:

    \n\n {this.state.errors.length > 0 &&\n this.state.errors.map((error, i) => (\n

    \n \n {error}\n

    \n ))}\n\n this.handleSelectChange(\"cc4\")}\n onKeyDown={(e) => {\n if (e.keyCode == 32) this.handleSelectChange(\"cc4\");\n }}\n imgSrc={CreativeCommonsImage}\n title={\n \n Creative Commons 4.0 Attribution licence.\n \n }\n description=\"The image can be used by anyone if they credit the copyright holder.\"\n />\n\n this.handleSelectChange(\"no-known-copyrights\")}\n onKeyDown={(e) => {\n if (e.keyCode == 32)\n this.handleSelectChange(\"no-known-copyrights\");\n }}\n imgSrc={ThumbsUpImage}\n title=\"No known copyright.\"\n description=\"The image can be shared, modified, and used commercially.\"\n />\n\n this.handleSelectChange(\"all-rights-reserved\")}\n onKeyDown={(e) => {\n if (e.keyCode == 32)\n this.handleSelectChange(\"all-rights-reserved\");\n }}\n imgSrc={CopyrightImage}\n title=\"All rights reserved.\"\n description=\"The image cannot be used without the permission of the copyright holder.\"\n />\n
    \n
    \n
    \n\n
    \n
    \n \n Back\n \n \n
    \n
    \n );\n }\n}\n\nexport default ImageCopyrightForm;\n","import { Component } from \"react\";\n\nclass ImageTermsOfUseForm extends Component {\n render() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n

    \n To complete your upload, please read and agree to our{\" \"}\n \n Contributed Content Terms of Use\n \n .\n

    \n
    \n
    \n\n
    \n
    \n \n Back\n \n \n
    \n
    \n );\n }\n}\n\nexport default ImageTermsOfUseForm;\n","import { Component } from \"react\";\nimport Modal from \"src/components/Modal\";\nimport ImageSelector from \"./ImageSelector\";\nimport ImageDescriberForm from \"./ImageDescriberForm\";\nimport ImageCopyrightForm from \"./ImageCopyrightForm\";\nimport ImageTermsOfUseForm from \"./ImageTermsOfUseForm\";\nimport { bindAll } from \"lodash\";\n\nclass AddUserImageModal extends Component {\n constructor(props) {\n super(props);\n this.state = this.initialState();\n\n bindAll(\n this,\n \"handleValidImageSubmit\",\n \"handleValidDescriptionSubmit\",\n \"handleValidCopyrightSubmit\",\n \"handleValidTermsOfUseSubmit\",\n \"handleRequestClose\",\n \"handleBackOnImageSelection\",\n \"handleBackOnDescription\",\n \"handleBackOnCopyright\"\n );\n }\n\n initialState() {\n return {\n title: \"\",\n description: \"\",\n subject: \"\",\n displayDate: \"\",\n creator: \"\",\n license: null,\n image: null,\n imageURL: null,\n stage: \"image\",\n };\n }\n\n handleValidImageSubmit(image) {\n this.setState({\n image: image,\n imageURL: URL.createObjectURL(image),\n stage: \"description\",\n });\n }\n\n handleValidDescriptionSubmit({\n title,\n description,\n displayDate,\n subject,\n creator,\n }) {\n this.setState({\n title: title,\n description: description,\n displayDate: displayDate,\n subject: subject,\n creator: creator,\n stage: \"license\",\n });\n }\n\n handleBackOnImageSelection() {\n this.setState({\n image: null,\n stage: \"image\",\n });\n }\n\n handleValidCopyrightSubmit(license) {\n this.setState({\n license: license,\n stage: \"terms-of-use\",\n });\n }\n\n handleBackOnDescription() {\n this.setState({\n stage: \"description\",\n });\n }\n\n handleValidTermsOfUseSubmit(e) {\n e.preventDefault();\n\n this.props.onImageUploadSubmit({\n image: this.state.image,\n title: this.state.title,\n description: this.state.description,\n subject: this.state.subject,\n displayDate: this.state.displayDate,\n creator: this.state.creator,\n license: this.state.license,\n });\n\n this.handleRequestClose();\n }\n\n handleBackOnCopyright() {\n this.setState({ stage: \"license\" });\n }\n\n handleRequestClose() {\n this.setState(this.initialState);\n this.props.onRequestClose();\n }\n\n render() {\n let content = null;\n let title = \"\";\n switch (this.state.stage) {\n case \"image\":\n title = \"Add your own images\";\n content = (\n \n );\n break;\n case \"description\":\n title = \"Describe this image\";\n content = (\n \n );\n break;\n case \"license\":\n title = \"Copyright & use of the image\";\n content = (\n \n );\n break;\n case \"terms-of-use\":\n title = \"Terms of use\";\n content = (\n \n );\n break;\n }\n\n return (\n \n
    {content}
    \n \n );\n }\n}\n\nexport default AddUserImageModal;\n","import AddUserImageModal from \"./AddUserImageModal\";\n\nexport default AddUserImageModal;\n","import { useEffect, useState } from \"react\";\n\nconst BlockWrapper = ({ BlockComponent, dragRef, actionProps, blockProps }) => {\n const [scrollY, setScrollY] = useState(0);\n\n useEffect(() => {\n if (blockProps.monitor.isDragging()) {\n const interval = setInterval(() => {\n window.scrollBy(0, scrollY);\n }, 100);\n\n return () => clearInterval(interval);\n }\n }, [scrollY, blockProps.monitor]);\n\n const updateScrolling = () => {\n const { y } = blockProps.monitor.getClientOffset();\n const height = window.innerHeight;\n const buffer = height * 0.3;\n const maxScroll = 60;\n\n if (y <= buffer) {\n const strength = ((buffer - y) * maxScroll) / buffer;\n setScrollY(-strength); // scroll up\n } else if (y >= height - buffer) {\n const strength = (Math.abs(height - buffer - y) * maxScroll) / buffer;\n setScrollY(+strength); // scroll down\n } else {\n setScrollY(0);\n }\n };\n\n return (\n setScrollY(0)}\n >\n
    \n \n
    \n \n );\n};\n\nexport default BlockWrapper;\n","import { Component } from \"react\";\n\nimport { cancelEditCaptionAndNotes } from \"src/features/EditStorySlice\";\nimport { blockUpdate } from \"src/features/ItemsSlice\";\n\nimport { assign, bindAll, concat, includes, remove, slice } from \"lodash\";\nimport CloseOnEscape from \"react-close-on-escape\";\nimport InputCounter from \"src/utils/inputCounter\";\n\nconst CATEGORY_OPTIONS = [\n \"\",\n \"Images\",\n \"Audio\",\n \"Videos\",\n \"Articles\",\n \"Websites\",\n \"Books\",\n \"Newspapers\",\n \"Other\",\n \"Manuscripts\",\n \"Research papers\",\n \"Data\",\n \"Archives\",\n \"Guides\",\n];\n\nclass EditDnzMetaForm extends Component {\n constructor(props) {\n super(props);\n const { meta } = props;\n let title = meta.title ? meta.title : props.title;\n title = title === props.title ? \"\" : title;\n\n this.state = assign(\n {},\n meta,\n { caption: meta.caption ? meta.caption : \"\" },\n { title: title },\n { category: meta.category }\n );\n\n bindAll(this, \"handleChange\", \"handleSubmit\", \"handleCancel\");\n }\n\n componentDidMount() {\n this.focusedElement.focus();\n InputCounter.init();\n }\n\n handleChange(e, key) {\n let tags = slice(this.state.tags);\n switch (key) {\n case \"isCover\":\n this.setState({ isCover: e.target.checked });\n break;\n case \"caption\":\n this.setState({ caption: e.target.value });\n break;\n case \"title\":\n this.setState({ title: e.target.value });\n break;\n case \"category\":\n this.setState({ category: e.target.value });\n break;\n case \"ssTePrimarySource\":\n if (e.target.checked) tags = concat(tags, \"s2s_te_primary_source\");\n else remove(tags, (i) => i === \"s2s_te_primary_source\");\n this.setState({ tags });\n break;\n default:\n break;\n }\n }\n\n handleSubmit(event) {\n event.preventDefault();\n const { title } = this.props;\n if (title === this.state.title) {\n this.setState({ title: \"\" }, this.submit);\n } else {\n this.submit();\n }\n\n this.props.doneEditing();\n event.preventDefault();\n }\n\n handleCancel() {\n this.props.dispatch(cancelEditCaptionAndNotes());\n this.props.doneEditing();\n }\n\n submit() {\n this.props.dispatch(\n blockUpdate({\n storyId: this.props.storyId,\n blockId: this.props.id,\n meta: this.state,\n })\n );\n }\n\n render() {\n const { isCover, caption, title, tags, category } = this.state;\n const ssTePrimarySource = includes(tags, \"s2s_te_primary_source\");\n const { user } = this.props;\n\n const isSchoolAdmin = includes(user.roles, \"school_admin\") && user.loggedIn;\n\n const categoriesDropdown = CATEGORY_OPTIONS.map((cat) => {\n return (\n \n );\n });\n\n const s2sBoxes = isSchoolAdmin ? (\n
    \n \n this.handleChange(e, \"category\")}\n >\n {categoriesDropdown}\n \n \n
    \n ) : null;\n\n const editForm = (\n \n
    \n
    \n
    \n \n this.handleChange(e, \"title\")}\n ref={(input) => {\n this.focusedElement = input;\n }}\n aria-labelledby=\"story-title-label\"\n />\n
    \n\n
    \n \n this.handleChange(e, \"caption\")}\n ref={(input) => {\n this.captionInput = input;\n }}\n aria-labelledby=\"story-caption-label\"\n />\n
    \n\n {isSchoolAdmin && s2sBoxes}\n\n {this.props.imageUrl && (\n
    \n this.handleChange(e, \"isCover\")}\n aria-labelledby=\"story-coverthumb-label\"\n />\n \n Use as cover image for this story\n \n
    \n )}\n\n
    \n \n Cancel\n \n\n \n
    \n
    \n
    \n \n );\n\n return (\n {editForm}\n );\n }\n}\n\nexport default EditDnzMetaForm;\n","import classNames from \"classnames\";\nimport { head, keys, last, truncate } from \"lodash\";\nimport Parameterize from \"parameterize\";\nimport { Component } from \"react\";\nimport Modal from \"src/components/Modal\";\nimport RecordThumbnail from \"src/components/RecordCard/RecordThumbnail\";\nimport { blockRemove } from \"src/features/ItemsSlice\";\nimport inBrowser from \"src/utils/inBrowser\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\nimport EditDnzMetaForm from \"./EditDnzMetaForm\";\n\nconst UNAVAILABLE_STORY_CONTENT = {\n deleted: {\n heading: \"Item no longer available\",\n tooltip: \"The content that this item relates to has been removed.\",\n },\n suppressed: {\n heading: \"Item not currently available\",\n tooltip: \"The content that this item relates to is not currently available\",\n },\n};\n\nclass StackBlock extends Component {\n constructor(props) {\n super(props);\n this.state = {\n deleteMode: false,\n deleting: false,\n storyId: null,\n };\n\n this.setDelete.bind(this);\n }\n\n componentDidMount() {\n if (inBrowser()) {\n const storyId = last(window.location.href.split(\"/\"));\n this.setState({ storyId: storyId });\n }\n }\n\n setDelete() {\n this.setState({ deleteMode: !this.state.deleteMode });\n }\n\n async removeBlock(id) {\n this.setState({ deleting: true });\n await this.props.dispatch(\n blockRemove({ storyId: this.state.storyId, blockId: id })\n );\n this.setState({ deleting: false });\n this.setDelete();\n }\n\n render() {\n const {\n content,\n meta,\n Overlay,\n id,\n storyId,\n user,\n updateBlock,\n activeRecordItem,\n doneEditing,\n isOver,\n dispatch,\n } = this.props;\n\n const category = meta.category ? [meta.category] : content.category;\n const escapedTitle = unescapeXMLCharacters(content.title);\n const truncatedTitle = truncate(escapedTitle, { length: 150 });\n\n const titleTag = (\n \n {truncate(meta.title, { length: 250 })}\n \n );\n\n const caption = (\n

    \n {meta.caption}\n

    \n );\n\n const editForm = (\n \n );\n\n const removeItem = (\n (!this.state.deleting ? this.setDelete() : null)}\n className=\"share-modal generic-modal\"\n title=\"Remove item from story\"\n >\n
    \n

    \n Are you sure you want to remove '{escapedTitle}'{\" \"}\n from this story?\n

    \n

    You cannot undo this action.

    \n
    \n
    \n
    \n this.setDelete()}\n disabled={this.state.deleting}\n >\n Cancel\n \n this.removeBlock(id)}\n disabled={this.state.deleting}\n >\n \n Remove\n \n
    \n \n );\n\n const isSmallBlock = meta.alignMode === 0;\n\n let recordLink = { title: escapedTitle };\n if (!keys(UNAVAILABLE_STORY_CONTENT).includes(content.status)) {\n const parameters = truncate(Parameterize(escapedTitle), {\n length: 75,\n omission: \"\",\n });\n recordLink = {\n ...recordLink,\n href: `/records/${content.id}/${parameters}?from-story=${this.state.storyId}`,\n };\n }\n\n let source = head(content.contentPartner);\n if (content.displayCollection == \"User Uploaded Content\") {\n source = `Uploaded by ${head(content.contentPartner)} user ${head(\n content.contributingPartner\n )}`;\n }\n\n const equalizerClasses = classNames({\n \"story-blocks__block-container__details__equalizer--grey\":\n meta.title || meta.caption,\n \"story-blocks__block-container__details__equalizer\": true,\n });\n\n return (\n \n \n
    \n {keys(UNAVAILABLE_STORY_CONTENT).includes(content.status) && (\n \n {UNAVAILABLE_STORY_CONTENT[content.status].heading}  \n \n \n \n
    \n )}\n \n \n \n \n \n \n \n
    \n {meta.title && titleTag}\n {meta.caption && caption}\n
    \n\n \n {meta.title ? truncatedTitle :

    {truncatedTitle}

    }\n
    \n\n

    \n {source}\n

    \n \n {id === activeRecordItem && editForm}\n {this.state.deleteMode && removeItem}\n \n );\n }\n}\n\nexport default StackBlock;\n","import StackBlock from \"./StackBlock\";\n\nconst modeMappings = {\n stack: StackBlock,\n};\n\nconst DNZEmbedBlock = ({ mode, ...props }) => {\n const Component = modeMappings[mode];\n\n return ;\n};\n\nexport default DNZEmbedBlock;\n","import DNZRecord from \"./DNZRecord\";\n\nconst subtypeMappings = {\n record: DNZRecord,\n};\n\nexport const EmbedBlock = (props) => {\n const { subType } = props;\n const Component = subtypeMappings[subType];\n\n return ;\n};\n","import {\n UilArrowsHAlt,\n UilEditAlt,\n UilEllipsisH,\n UilFileEditAlt,\n UilShrink,\n UilTrashAlt,\n} from \"@iconscout/react-unicons\";\nimport classNames from \"classnames\";\nimport { Fragment, useEffect, useRef } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n closeDropdown,\n openDropdown,\n selectDropdown,\n} from \"src/features/DropdownSlice\";\nimport { editCaptionAndNotes } from \"src/features/EditStorySlice\";\nimport {\n blockMetadataUpdate,\n compressBlock,\n expandBlock,\n} from \"src/features/ItemsSlice\";\nimport { fetchUserImageRecord } from \"src/features/RecordsSlice\";\n\nimport {\n openEditUserImageModal,\n setEditingUserImage,\n} from \"src/features/EditUserImageSlice\";\nimport { featureIsEnabled } from \"src/features/PlugFeaturesSlice\";\n\nconst Overlay = (props) => {\n const ref = useRef();\n const dispatch = useDispatch();\n const { dropdownID } = useSelector(selectDropdown);\n const imageUploadEnabled = useSelector((state) =>\n featureIsEnabled(state, \"user-image-upload\")\n );\n\n const {\n activeRecordItem,\n type,\n blockId,\n setDelete,\n meta,\n belongsToUser,\n imageId,\n content,\n } = props;\n\n useEffect(() => {\n const handleClickOffDropdown = (event) => {\n if (ref.current && !ref.current.contains(event.target)) {\n if (blockId == dropdownID) {\n dispatch(closeDropdown());\n }\n }\n };\n\n document.addEventListener(\"mousedown\", handleClickOffDropdown);\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOffDropdown);\n };\n }, [dropdownID, dispatch, blockId]);\n\n if (!props.user.loggedIn || !props.modifiable) {\n return null;\n }\n\n const alignment = meta.alignMode;\n\n const handleEditImageMetadataClick = () => {\n props.dispatch(fetchUserImageRecord(imageId));\n props.dispatch(setEditingUserImage(content.id));\n props.dispatch(openEditUserImageModal());\n };\n\n const handleEditCaptionAndNotes = () => {\n props.dispatch(closeDropdown());\n props.dispatch(editCaptionAndNotes(blockId));\n };\n\n const fadeOut = (id, cb) => {\n const elem = $(`#story-block-${id}`);\n if (process.env.NODE_ENV != \"test\") {\n Foundation.Motion.animateOut(elem, \"fade-out\", cb);\n }\n };\n\n const fadeIn = (id, cb) => {\n const elem = $(`#story-block-${id}`);\n if (process.env.NODE_ENV != \"test\") {\n Foundation.Motion.animateIn(elem, \"fade-in\", cb);\n }\n };\n\n const expandCb = async () => {\n props.dispatch(expandBlock(blockId));\n props.dispatch(\n blockMetadataUpdate({\n storyId: props.storyId,\n fieldName: \"alignMode\",\n value: 1,\n blockId: blockId,\n })\n );\n\n props.dispatch(closeDropdown());\n fadeIn(blockId, () => {});\n };\n\n const compressCb = () => {\n props.dispatch(compressBlock(blockId));\n props.dispatch(\n blockMetadataUpdate({\n storyId: props.storyId,\n fieldName: \"alignMode\",\n value: 0,\n blockId: blockId,\n })\n );\n props.dispatch(closeDropdown());\n\n fadeIn(blockId, () => {});\n };\n\n let badge;\n if (belongsToUser) {\n badge = (\n
    \n \n YOUR UPLOAD\n \n
    \n );\n }\n\n let alignmentElem = (\n {\n fadeOut(blockId, expandCb);\n }}\n >\n Make item full width\n \n );\n if (alignment !== 0) {\n alignmentElem = (\n {\n fadeOut(blockId, compressCb);\n }}\n >\n Make item 1/3 width\n \n );\n }\n\n const hideButtonClass = activeRecordItem == blockId ? \" hide\" : \"\";\n\n const dropdownClasses = classNames({\n \"dropdown-pane\": true,\n \"dropdown-pane--visible-large\": dropdownID == blockId && alignment == 1,\n \"dropdown-pane--visible-small\": dropdownID == blockId && alignment == 0,\n });\n\n const handleDropdownClick = () => {\n if (dropdownID == blockId) {\n dispatch(closeDropdown());\n } else {\n dispatch(openDropdown(blockId));\n }\n };\n\n return (\n
    \n {badge}\n {type === \"embed\" && (\n \n \n \n \n
    \n {alignmentElem}\n\n
    \n \n {belongsToUser && imageUploadEnabled && (\n \n )}\n
    \n {\n setDelete();\n }}\n >\n Remove item from story\n \n
    \n
    \n )}\n
    \n );\n};\n\nexport default Overlay;\n","import { isEmpty } from \"lodash\";\nimport { useDispatch } from \"react-redux\";\nimport { editTextBlock } from \"src/features/EditStorySlice\";\n\nconst RichText = ({ id, content, modifiable, activeTextItem }) => {\n const dispatch = useDispatch();\n\n return (\n
    \n
    \n\n {modifiable && (\n
    \n dispatch(editTextBlock(id))}\n >\n \n Edit\n \n
    \n )}\n
    \n );\n};\n\nexport default RichText;\n","import { useState } from \"react\";\nimport { includes } from \"lodash\";\nimport { useDispatch } from \"react-redux\";\nimport { blockRemove } from \"src/features/ItemsSlice\";\n\nimport Modal from \"src/components/Modal\";\n\nconst DeleteTextModal = ({ id, storyId, opened, setOpened }) => {\n const dispatch = useDispatch();\n\n const [deleting, setDeleting] = useState(false);\n\n const deleteTextBlock = async (id) => {\n setDeleting(true);\n\n if (!includes(id, \"text-editor\")) {\n await dispatch(blockRemove({ storyId: storyId, blockId: id }));\n }\n\n setDeleting(false);\n setOpened(false);\n };\n\n return (\n (!deleting ? setOpened(false) : null)}\n className=\"share-modal generic-modal\"\n title=\"Delete text block\"\n >\n
    \n

    \n Are you use you want to delete your text box? You cannot undo this\n action.\n

    \n
    \n
    \n
    \n setOpened(false)}\n disabled={deleting}\n >\n Cancel\n \n deleteTextBlock(id)}\n disabled={deleting}\n >\n \n Delete\n \n
    \n \n );\n};\n\nexport default DeleteTextModal;\n","import { useCallback, useRef, useState } from \"react\";\nimport Modal from \"src/components/Modal\";\nimport { isEmpty } from \"lodash\";\n\nconst LinkModal = ({\n linkModal,\n editor,\n setLinkModal,\n linkHref,\n setLinkHref,\n linkExternal,\n setLinkExternal,\n}) => {\n let linkInput = useRef();\n let [error, setError] = useState(false);\n\n const checkHandler = () => {\n setLinkExternal(!linkExternal);\n };\n\n const setLink = useCallback(() => {\n if (\n linkInput.current.checkValidity() &&\n !isEmpty(linkInput.current.value)\n ) {\n setError(false);\n let linkTarget = null;\n\n if (linkExternal) {\n linkTarget = \"_blank\";\n }\n\n editor\n .chain()\n .focus()\n .extendMarkRange(\"link\")\n .setLink({ href: linkHref, target: linkTarget })\n .run();\n\n setLinkModal(false);\n setLinkHref(\"\");\n setLinkExternal(false);\n } else {\n setError(true);\n }\n }, [\n setLinkExternal,\n setLinkHref,\n editor,\n linkHref,\n setLinkModal,\n linkExternal,\n ]);\n\n return (\n setLinkModal(false)}\n className=\"share-modal generic-modal\"\n title=\"Add link\"\n >\n
    \n
    \n
    \n {\n setLinkHref(e.target.value);\n }}\n value={linkHref}\n />\n\n \n \n
    \n
    \n\n {error &&

    Please enter a valid URL

    }\n
    \n
    \n
    \n setLinkModal(false)}\n >\n Cancel\n \n\n setLink()}\n type=\"submit\"\n >\n Save\n \n
    \n \n );\n};\n\nexport default LinkModal;\n","import { useEffect, useState, useCallback } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport CloseOnEscape from \"react-close-on-escape\";\nimport { filter, isEmpty, includes } from \"lodash\";\nimport sanitizeHtml from \"sanitize-html\";\nimport inBrowser from \"src/utils/inBrowser\";\nimport { EditorContent, useEditor } from \"@tiptap/react\";\nimport StarterKit from \"@tiptap/starter-kit\";\nimport Link from \"@tiptap/extension-link\";\nimport Underline from \"@tiptap/extension-underline\";\nimport Placeholder from \"@tiptap/extension-placeholder\";\n\nimport { selectBlocks } from \"src/features/ItemsSlice\";\nimport {\n blockUpdate,\n blockAdd,\n cancelAddTextBlock,\n} from \"src/features/ItemsSlice\";\nimport DeleteTextModal from \"./DeleteTextModal\";\nimport LinkModal from \"./LinkModal\";\n\nexport default (props) => {\n const dispatch = useDispatch();\n\n const [modalOpened, setModalOpened] = useState(false);\n const [value, setValue] = useState(props.content.value);\n const [disableSave, setDisableSave] = useState(false);\n const [linkModal, setLinkModal] = useState(false);\n const [linkHref, setLinkHref] = useState(\"\");\n const [linkExternal, setLinkExternal] = useState(false);\n\n function countStoryTextBlocks(state) {\n return filter(selectBlocks(state), (content) => {\n return content.type === \"text\";\n }).length;\n }\n\n const storyTextBlockCount = useSelector(countStoryTextBlocks);\n\n useEffect(() => {\n setDisableSave(isEmpty(parseTextContent(value)));\n }, [value]);\n\n useEffect(() => {\n if (!inBrowser()) return;\n\n // This is equivalent to componentDidMount\n window.onbeforeunload = () => {\n finishEditing();\n return confirm(\"Your changes will be lost\");\n };\n\n // This is equivalent to componentWillUnmount\n return () => {\n window.onbeforeunload = null;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const editor = useEditor({\n content: props.content.value,\n extensions: [\n StarterKit,\n Underline,\n Link.configure({\n autolink: true,\n HTMLAttributes: {\n rel: \"\",\n target: null,\n },\n }),\n Placeholder.configure({\n placeholder: \"type here\",\n }),\n ],\n\n onUpdate({ editor }) {\n const content = editor.getHTML();\n setValue(content);\n setDisableSave(isEmpty(parseTextContent(content)));\n },\n });\n\n const parseTextContent = (content) => {\n // Removing empty tags\n return sanitizeHtml(content, {\n exclusiveFilter: function (frame) {\n return !frame.text.trim();\n },\n allowedTags: false,\n }).trim();\n };\n\n const submitChanges = async () => {\n const { id, privacy, storyId, position } = props;\n\n if (!isEmpty(parseTextContent(value))) {\n if (includes(id, \"text-editor\")) {\n await dispatch(\n blockAdd({\n storyId: storyId,\n type: \"text\",\n subType: \"rich-text\",\n content: { value: parseTextContent(value) },\n position: position,\n })\n );\n } else {\n await dispatch(\n blockUpdate({\n storyId: storyId,\n blockId: id,\n content: {\n value: parseTextContent(value),\n },\n })\n );\n }\n\n if (privacy === \"public\" && storyTextBlockCount === 1) {\n props.openPrivacyModal();\n }\n }\n };\n\n const finishEditing = () => {\n submitChanges();\n props.doneEditing();\n };\n\n const cancel = () => {\n dispatch(cancelAddTextBlock(props.id));\n };\n\n const displayLinkModal = useCallback(() => {\n setLinkModal(true);\n\n const previousUrl = editor.getAttributes(\"link\").href;\n const previousChecked = editor.getAttributes(\"link\").target;\n\n if (previousUrl) {\n setLinkHref(previousUrl);\n }\n\n if (previousChecked == \"_blank\") {\n setLinkExternal(true);\n }\n }, [editor, setLinkModal]);\n\n const displayInlinePrivacyReminder = props.privacy === \"public\";\n\n return (\n finishEditing()}>\n \n\n \n\n {displayInlinePrivacyReminder && (\n

    \n You are editing a publicly available story\n

    \n )}\n\n
    \n
    \n {\n editor.chain().focus().toggleBold().run();\n }}\n className={\n editor?.isActive(\"bold\")\n ? \"tip-tap__button tip-tap__button--active button\"\n : \"button tip-tap__button\"\n }\n title=\"bold\"\n >\n \n \n\n {\n editor.chain().focus().toggleItalic().run();\n }}\n className={\n editor?.isActive(\"italic\")\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"italic\"\n >\n \n \n\n {\n editor.chain().focus().toggleMark(\"underline\").run();\n }}\n className={\n editor?.isActive(\"underline\")\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"underline\"\n >\n \n \n
    \n\n
    \n {\n editor.chain().focus().toggleBulletList().run();\n }}\n title=\"bullet list\"\n >\n \n \n\n {\n editor.chain().focus().toggleOrderedList().run();\n }}\n title=\"numbered list\"\n >\n \n \n\n editor.chain().focus().toggleBlockquote().run()}\n title=\"blockquote\"\n >\n \n \n
    \n\n
    \n {\n displayLinkModal();\n }}\n className={\n editor?.isActive(\"link\")\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"link\"\n >\n \n \n\n editor.chain().focus().unsetLink().run()}\n className=\"tip-tap__button button\"\n title=\"unlink\"\n >\n \n \n
    \n\n
    \n \n editor.chain().focus().toggleHeading({ level: 1 }).run()\n }\n className={\n editor?.isActive(\"heading\", { level: 1 })\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"heading 1\"\n >\n h1\n \n\n \n editor.chain().focus().toggleHeading({ level: 2 }).run()\n }\n className={\n editor?.isActive(\"heading\", { level: 2 })\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"heading 2\"\n >\n h2\n \n\n \n editor.chain().focus().toggleHeading({ level: 3 }).run()\n }\n className={\n editor?.isActive(\"heading\", { level: 3 })\n ? \"button tip-tap__button tip-tap__button--active\"\n : \"button tip-tap__button\"\n }\n title=\"heading 3\"\n >\n h3\n \n
    \n\n
    \n editor.chain().focus().undo().run()}\n className=\"button tip-tap__button\"\n title=\"undo\"\n >\n \n \n\n editor.chain().focus().redo().run()}\n className=\"button tip-tap__button\"\n title=\"redo\"\n >\n \n \n
    \n\n
    \n\n \n
    \n\n {!includes(props.id, \"text-editor\") && (\n
    \n setModalOpened(true)}\n aria-label=\"delete text block\"\n className=\"button clear\"\n >\n Delete\n \n
    \n )}\n\n
    \n cancel()}\n aria-label=\"Close editor\"\n className=\"button clear\"\n >\n Cancel\n \n\n finishEditing()}\n aria-label=\"Save and close editor\"\n className=\"button\"\n >\n Save\n \n
    \n
    \n );\n};\n","import RichText from \"./RichText\";\nimport TipTap from \"./TipTap\";\n\nconst modeMappings = {\n editing: TipTap,\n stack: RichText,\n};\n\nconst RichTextBlock = ({ mode, ...otherProps }) => {\n const Component = modeMappings[mode];\n\n return ;\n};\n\nexport default RichTextBlock;\n","import RichTextBlock from \"./RichText/RichTextBlock\";\n\nconst subtypeMappings = {\n \"rich-text\": RichTextBlock,\n};\n\nexport const TextBlock = (props) => {\n const { subType } = props;\n const Component = subtypeMappings[subType];\n\n return ;\n};\n","import { useState } from \"react\";\nimport { useDrag } from \"react-dnd\";\nimport BlockWrapper from \"./BlockWrapper\";\nimport { EmbedBlock } from \"./EmbedBlock\";\nimport Overlay from \"./Overlay\";\nimport { TextBlock } from \"./TextBlock\";\n\nimport inBrowser from \"src/utils/inBrowser\";\n\nconst typeMappings = {\n text: TextBlock,\n embed: EmbedBlock,\n};\n\nconst Block = (props) => {\n const [active, setActive] = useState(false);\n\n const {\n type,\n subType,\n content,\n meta,\n id,\n addBlock,\n removeBlock,\n findBlockIndex,\n editing,\n activeTextItem,\n modifiable,\n viewMode,\n user,\n activeRecordItem,\n storyTextBlockCount,\n privacy,\n openPrivacyModal,\n isOver,\n belongsToUser,\n imageId,\n dispatch,\n position,\n storyId,\n rowId,\n slotId,\n } = props;\n\n const BlockComponent = typeMappings[type];\n\n const mode = editing ? \"editing\" : viewMode;\n\n const doneEditingAction = () => {\n setActive(false);\n };\n\n const [{ monitor }, dragRef] = useDrag(\n () => ({\n type: \"SLOT\",\n item: {\n id,\n position,\n slotId,\n rowId,\n meta: { alignMode: props.meta.alignMode },\n },\n collect: (monitor) => ({ monitor }),\n canDrag: () => !props.activeRecordItem,\n }),\n [props]\n );\n\n const blockProps = {\n id,\n type,\n content,\n meta,\n editing,\n active,\n addBlock,\n activeTextItem,\n findBlockIndex,\n removeBlock,\n subType,\n mode,\n doneEditing: doneEditingAction,\n Overlay: Overlay,\n user: user,\n activeRecordItem,\n privacy,\n openPrivacyModal,\n storyTextBlockCount,\n modifiable,\n isOver,\n belongsToUser,\n imageId,\n dispatch,\n position,\n storyId,\n monitor,\n };\n\n let actionProps = {\n onFocus: () => setActive(true),\n onBlur: () => setActive(false),\n };\n\n // There is an open bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1189486\n // that prevents a text box from being clicked into if it is inside of a HTML5 draggable element.\n // To get around this we do not initialize the dragRef when there is an activeRecordItem.\n // An activeRecordItem is where a story record has the edit pane toggled open.\n\n return (\n \n );\n};\n\nexport default Block;\n","import { filter, find, findIndex, map } from \"lodash\";\nimport storyBlocks from \"./storyBlocks\";\nimport {\n correctPositions,\n emptyBlock,\n inTheMiddle,\n largeBlock,\n onTheFarLeft,\n onTheFarRight,\n smallBlock,\n} from \"./utility\";\n\nconst replaceMovedBlockWithEmptyBlock = (blocks, dragSource) => {\n return map(blocks, (block) => {\n if (block.id === dragSource.id) {\n return emptyBlock(block.position);\n } else {\n return block;\n }\n });\n};\n\n// If a large block is dropped in a location that is not the far left\n// We look ahead to first confirm that it's not allready there\n// Before proceeding with the sorting.\nconst alreadyInPosition = (dragSource, position) => {\n if (largeBlock(dragSource)) {\n if (!onTheFarLeft(position)) {\n let distance = 0;\n // If it ends up going back where it was, do nothing.\n if (inTheMiddle(position)) {\n distance = 2;\n } else if (onTheFarRight(position)) {\n distance = 1;\n }\n\n return position + distance == dragSource.position;\n }\n }\n};\n\nconst droppingOnSelf = (dropTarget, dragSource) => {\n return dropTarget.content.id == dragSource.id;\n};\n\n// When a large block is dropped we need to insert the small empty blocks that\n// Complete the row.\nconst completeLargeBlockRow = (dragSource, position, blocks, newIndex) => {\n let blocksCopy = [...blocks];\n\n if (largeBlock(dragSource)) {\n if (onTheFarLeft(position)) {\n // Only insert empty blocks if there aren't any allready there\n\n const emptyBlockOne = newIndex + 1;\n const emptyBlockTwo = newIndex + 2;\n\n if (\n blocksCopy[emptyBlockOne] == undefined ||\n blocksCopy[emptyBlockOne].status != \"empty\"\n ) {\n blocksCopy.splice(emptyBlockOne, 0, emptyBlock(position + 1));\n }\n\n if (\n blocksCopy[emptyBlockTwo] == undefined ||\n blocksCopy[emptyBlockTwo].status != \"empty\"\n ) {\n blocksCopy.splice(emptyBlockTwo, 0, emptyBlock(position + 2));\n }\n } else if (inTheMiddle(position)) {\n const emptyBlockOne = newIndex + 1;\n if (\n blocksCopy[emptyBlockOne] == undefined ||\n blocksCopy[emptyBlockOne].status != \"empty\"\n ) {\n blocksCopy.splice(emptyBlockOne, 0, emptyBlock(position + 1));\n }\n }\n }\n\n return blocksCopy;\n};\n\n// This is for a particular scenario which causes blocks that are\n// Seperated by gaps to be moved around as there is an extra block that we don't actually want.\nconst removeExcessBlocks = (\n blocks,\n dragSource,\n position,\n dropTarget,\n newIndex\n) => {\n let blocksCopy = [...blocks];\n\n // Look ahead for an extra empty block and remove it, so as to not\n // push the blocks seperated by gaps around if we are moving forward\n if (\n (dragSource.position < position &&\n dropTarget.content.status != \"empty\" &&\n smallBlock(dragSource)) ||\n (dropTarget.content.status != \"empty\" &&\n smallBlock(dragSource) &&\n largeBlock(dropTarget.content))\n ) {\n const blockToRemove = findIndex(\n blocksCopy,\n (block) => {\n return block.status == \"empty\";\n },\n newIndex\n );\n\n if (blockToRemove !== -1) {\n blocksCopy.splice(blockToRemove, 1);\n }\n }\n\n return blocksCopy;\n};\n\nconst smallBlockMovingBackwards = (dragSource, dropTarget) => {\n return (\n dragSource.position > dropTarget.content.position &&\n dropTarget.content.status != \"empty\" &&\n smallBlock(dropTarget.content) &&\n smallBlock(dragSource)\n );\n};\n\n//\n// Drop\n//\n\nexport default function dropBlock(blocks, dropTarget, dragSource) {\n const position = dropTarget.content.position;\n\n if (\n droppingOnSelf(dropTarget, dragSource) ||\n alreadyInPosition(dragSource, position)\n ) {\n return blocks;\n }\n\n const blockToMove = find(blocks, (b) => b.id === dragSource.id);\n\n // If a small block is moving backwards the behaviour is to swap,\n // Rather than push.\n if (smallBlockMovingBackwards(dragSource, dropTarget)) {\n blocks = filter(blocks, (block) => {\n return block.id != blockToMove.id;\n });\n } else {\n blocks = replaceMovedBlockWithEmptyBlock(blocks, dragSource);\n }\n\n const newIndex = position - 1;\n\n // If you are dropping a block onto an empty space\n // Replace the empty block with the new block.\n if (dropTarget.content.status === \"empty\") {\n blocks.splice(newIndex, 1, blockToMove);\n } else {\n // Otherwise insert the new block and push everyone across.\n blocks.splice(newIndex, 0, blockToMove);\n }\n\n blocks = removeExcessBlocks(\n blocks,\n dragSource,\n position,\n dropTarget,\n newIndex\n );\n blocks = completeLargeBlockRow(dragSource, position, blocks, newIndex);\n blocks = correctPositions(blocks);\n\n return storyBlocks(blocks);\n}\n","import classNames from \"classnames\";\nimport { assign } from \"lodash\";\nimport { useDrop } from \"react-dnd\";\nimport { updateStoryBlocks } from \"src/features/ItemsSlice\";\nimport { updateActiveSlot } from \"src/features/EditStorySlice\";\nimport Block from \"./block\";\nimport dropBlock from \"./storyLogic/dropBlock\";\nimport { onTheFarLeft } from \"./storyLogic/utility\";\n\nconst Slot = (props) => {\n const {\n content,\n findBlockIndex,\n editable,\n hasLargeBlock,\n storyId,\n rowId,\n blocks,\n activeSlot,\n dispatch,\n id,\n } = props;\n\n const [, dropRef] = useDrop(\n () => ({\n accept: \"SLOT\",\n drop: (dragSourceItem) => {\n const storyBlocks = dropBlock(blocks, props, dragSourceItem);\n\n dispatch(updateStoryBlocks(storyBlocks));\n dispatch(updateActiveSlot({ id: \"\" }));\n },\n hover: (item) => {\n if (activeSlot.rowId === rowId && activeSlot.slotId === id) return null;\n\n let blockSize = \"small\",\n adjacentRowId = \"\";\n if (item.meta.alignMode === 1) {\n blockSize = \"large\";\n if (!onTheFarLeft(id + 1)) {\n adjacentRowId = rowId + 1;\n }\n }\n\n dispatch(\n updateActiveSlot({ rowId, blockSize, adjacentRowId, slotId: id })\n );\n },\n }),\n [props]\n );\n\n const dropClasses = classNames({\n \"slot--drop-left\":\n activeSlot.rowId === rowId &&\n activeSlot.slotId === id &&\n content.status !== \"empty\",\n \"slot--drop-empty\":\n activeSlot.rowId === rowId &&\n activeSlot.slotId === id &&\n content.status === \"empty\",\n });\n\n let insiderContent = null,\n outerClasses = null;\n\n const unavailableStory = [\"deleted\", \"suppressed\"].includes(\n content?.content?.status\n );\n if (content.id != undefined) {\n if (!editable && unavailableStory) return null;\n\n const isSmallBlock = content.meta.alignMode === 0;\n\n const sizeClasses = classNames({\n \"small-12\": true,\n \"medium-4\": isSmallBlock,\n \"medium-12\": !isSmallBlock,\n });\n\n const blockClasses = classNames({\n \"story-blocks--small\": isSmallBlock,\n \"story-blocks--large\": !isSmallBlock,\n });\n\n outerClasses = `slot ${sizeClasses} ${dropClasses}`;\n insiderContent = (\n \n \n
    \n );\n } else if (content.status === \"empty\") {\n if (hasLargeBlock) return null;\n\n const emptyClasses = classNames({\n slot__drop_target: editable,\n \"slot--empty\": editable,\n });\n\n outerClasses = \"medium-4 slot show-for-medium\";\n insiderContent =
    ;\n }\n\n return (\n
    \n {insiderContent}\n
    \n );\n};\n\nexport default Slot;\n","import classNames from \"classnames\";\nimport { chunk, first, get, isEmpty, last, map } from \"lodash\";\nimport AddTextArea from \"./AddTextArea\";\nimport Slot from \"./Slot\";\n\nexport const Row = ({ contents, findBlockIndex, id, ...storyProps }) => {\n const hasLargeBlock = get(first(contents), \"meta.alignMode\", 0) == 1;\n\n const dropClasses = classNames(\"grid-x\", \"row\", {\n \"row--drop\":\n (storyProps.activeSlot.rowId === id &&\n storyProps.activeSlot.blockSize === \"large\" &&\n storyProps.activeSlot.adjacentRowId === \"\") ||\n (storyProps.activeSlot.adjacentRowId === id &&\n storyProps.activeSlot.blockSize === \"large\"),\n });\n\n const displayTextBlock = () => {\n const containsTextBlock = get(first(contents), \"type\", \"embed\") == \"text\";\n\n const rows = chunk(storyProps.blocks, 3);\n const nextRowContainsTextBlock =\n get(first(rows[id + 1]), \"type\", \"embed\") == \"text\";\n\n return !(containsTextBlock || nextRowContainsTextBlock);\n };\n\n return (\n
    \n {map(contents, (content, index) => {\n return (\n \n );\n })}\n {storyProps.editable && displayTextBlock() && (\n \n )}\n
    \n );\n};\n","const isInternalLink = (href) => {\n return (\n !href ||\n href.startsWith(\"#\") ||\n href.startsWith(\"data:\") ||\n href.startsWith(\"/\") ||\n href.includes(\"digitalnz.org\") ||\n href.includes(\"localhost\") ||\n href.includes(window.location.host)\n );\n};\n\nconst isExternalLink = (href) => {\n return !isInternalLink(href);\n};\n\nexport { isExternalLink, isInternalLink };\n","import { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bindAll, findIndex, chunk, map, isEmpty, head } from \"lodash\";\nimport AddTextArea from \"./AddTextArea\";\nimport AddUserImageModal from \"./adduserimage\";\nimport Modal from \"src/components/Modal\";\nimport { request } from \"src/utils/request\";\nimport { Row } from \"./Row\";\nimport $ from \"jquery\";\n\nimport { selectStoryById } from \"src/features/StoriesSlice\";\nimport { selectUser } from \"src/features/UserSlice\";\nimport { selectEditStory } from \"src/features/EditStorySlice\";\nimport {\n blockFakeAdd,\n blockFakeRemove,\n blockAdd,\n repositionApiBlocks,\n selectBlocks,\n} from \"src/features/ItemsSlice\";\n\nimport { isInternalLink } from \"src/utils/isExternalLink\";\nimport { featureIsDisabled } from \"src/features/PlugFeaturesSlice\";\n\nclass Story extends Component {\n constructor(props) {\n super(props);\n this.state = {\n imageModalIsOpened: false,\n errorModalIsOpened: false,\n errors: [],\n uploadingImage: false,\n };\n bindAll(\n this,\n \"openModal\",\n \"closeModal\",\n \"handleImageUploadSubmit\",\n \"openUploadImageModalButton\"\n );\n }\n\n addExternalLinkStyles() {\n $(\".main a\").each(function (_idx, link) {\n var href = $(link).attr(\"href\");\n\n if (isInternalLink(href)) {\n return;\n }\n\n $(link).addClass(\"external-link\");\n });\n }\n\n componentDidMount() {\n this.addExternalLinkStyles();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.blocks != this.props.blocks) {\n this.props.dispatch(\n repositionApiBlocks({\n storyId: this.props.storyId,\n blocks: this.props.blocks,\n })\n );\n }\n if (process.env.NODE_ENV != \"test\") {\n try {\n Foundation.reInit(\"equalizer\");\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(error);\n }\n }\n\n this.addExternalLinkStyles();\n }\n\n somethingWentWrong() {\n return (\n <>\n We're sorry, but something went wrong. For support, please get in touch\n with us at{\" \"}\n \n info@digitalnz.org\n \n \n );\n }\n\n openModal() {\n request({ url: \"/api/user_images.json\" })\n .then((response) => response.json())\n .then((json) => {\n if (json.numberOfImages >= json.maxImagesPerUser) {\n this.setState({\n errorModalIsOpened: true,\n errors: [\n \"You have reached your upload limit of \" +\n json.maxImagesPerUser +\n \" images.\",\n ],\n });\n } else {\n this.setState({ imageModalIsOpened: true });\n }\n })\n .catch((error) => {\n this.setState({\n errorModalIsOpened: true,\n imageModalIsOpened: true,\n errors:\n error && error.errors ? error.errors : [this.somethingWentWrong()],\n });\n });\n }\n\n closeModal() {\n if (this.state.imageModalIsOpened) {\n this.setState({ imageModalIsOpened: false });\n }\n if (this.state.errorModalIsOpened) {\n this.setState({ errorModalIsOpened: false });\n }\n }\n\n handleImageUploadSubmit(imageObject) {\n const formData = new FormData();\n const fakeId = \"fake-image-card-id\";\n\n this.setState({ uploadingImage: true });\n\n this.props.dispatch(blockFakeAdd({ title: imageObject.title, id: fakeId }));\n\n formData.append(\"user_image[title]\", imageObject.title);\n formData.append(\"user_image[description]\", imageObject.description);\n if (imageObject.subject)\n formData.append(\"user_image[subject]\", imageObject.subject);\n if (imageObject.displayDate)\n formData.append(\"user_image[display_date]\", imageObject.displayDate);\n if (imageObject.creator)\n formData.append(\"user_image[creator]\", imageObject.creator);\n formData.append(\"user_image[license]\", imageObject.license);\n formData.append(\n \"user_image[image]\",\n imageObject.image,\n imageObject.image.path\n );\n\n request({\n url: \"/api/user_images\",\n body: formData,\n options: { method: \"POST\" },\n stringify: false,\n })\n .then((response) => response.json())\n .then(async (record) => {\n this.setState({\n imageModalIsOpened: false,\n });\n\n await this.props.dispatch(\n blockAdd({\n storyId: this.props.storyId,\n type: \"embed\",\n subType: \"record\",\n content: record,\n position: 1,\n })\n );\n\n this.setState({ uploadingImage: false });\n })\n .catch((error) => {\n this.props.dispatch(blockFakeRemove(fakeId));\n this.setState({\n errorModalIsOpened: true,\n imageModalIsOpened: false,\n uploadingImage: false,\n errors:\n error && error.errors ? error.errors : [this.somethingWentWrong()],\n });\n });\n }\n\n openUploadImageModalButton() {\n if (!this.props.editable) return;\n if (this.props.imageUploadDisabled) return;\n\n return (\n
    \n
    \n
    \n \n \n \n Upload your image\n \n \n\n

    \n Uploads are limited to a file size of 15 megabytes and jpg, png,\n and gif formats.\n

    \n
    \n
    \n
    \n );\n }\n\n render() {\n const { blocks } = this.props;\n const findBlockIndex = (id) =>\n findIndex(this.props.blocks, (b) => b.id === id);\n\n const rows = chunk(this.props.blocks, 3);\n\n return (\n
    \n {this.openUploadImageModalButton()}\n
    \n {(isEmpty(blocks) || blocks[0].type !== \"text\") &&\n this.props.editable && (\n \n )}\n
    \n\n {map(rows, (row, index) => {\n return (\n \n );\n })}\n\n \n \n
    \n

    {head(this.state.errors)}

    \n
    \n \n
    \n );\n }\n}\n\nexport default connect((state, ownProps) => ({\n imageUploadDisabled: featureIsDisabled(state, \"user-image-upload\"),\n blocks: selectBlocks(state),\n activeTextItem: selectEditStory(state).activeTextItem,\n activeRecordItem: selectEditStory(state).activeRecordItem,\n activeSlot: selectEditStory(state).activeSlot,\n user: selectUser(state),\n metadata: selectStoryById(state, ownProps.storyId),\n}))(Story);\n","import { bindAll } from \"lodash\";\nimport { Component } from \"react\";\nimport Modal from \"src/components/Modal\";\nimport inBrowser from \"src/utils/inBrowser\";\nimport Story from \"./Story\";\n\nimport { updateStory } from \"src/features/StoriesSlice\";\n\nclass StoryContainer extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n privacyModal: false,\n privateModal: false,\n publicModal: false,\n };\n\n bindAll(this, \"makeStoryPrivate\", \"openModal\", \"closeModal\");\n }\n\n componentDidMount() {\n if (inBrowser() && process.env.NODE_ENV != \"test\") {\n window.scrollTo(0, 0);\n $(document).foundation();\n }\n }\n\n openModal(modal) {\n this.setState({\n [modal]: true,\n });\n }\n\n closeModal(modal) {\n this.setState({\n [modal]: false,\n });\n }\n\n makeStoryPrivate() {\n this.props.dispatch(\n updateStory({ storyId: this.props.id, payload: { privacy: \"private\" } })\n );\n this.closeModal(\"privacyModal\");\n this.openModal(\"privateModal\");\n }\n\n keepStoryPublic() {\n this.closeModal(\"privacyModal\");\n this.openModal(\"publicModal\");\n }\n\n render() {\n const { privacyModal, privateModal, publicModal } = this.state;\n\n return (\n <>\n this.openModal(\"privacyModal\")}\n />\n\n this.closeModal(\"privacyModal\")}\n className=\"generic-modal\"\n title=\"Make this story private while you are editing?\"\n >\n
    \n

    \n Changes to your story may be viewed by anyone. Do you want us to\n make your story private while you're writing?\n

    \n\n

    \n By saving a story on DigitalNZ, you agree to our{\" \"}\n \n terms and conditions\n {\" \"}\n and release your story under a{\" \"}\n \n Creative Commons CC-BY license.\n \n

    \n
    \n
    \n
    \n this.makeStoryPrivate()}\n id=\"delete-story-privacy-modal\"\n >\n Yes, make my story private\n \n this.keepStoryPublic()}\n >\n No, Keep it public\n \n
    \n \n\n this.closeModal(\"privateModal\")}\n className=\"generic-modal\"\n title=\"Story set to private\"\n >\n
    \n

    \n When you're ready, you can publish your story by changing story\n privacy settings at the top of this page.\n

    \n
    \n
    \n
    \n this.closeModal(\"privateModal\")}\n aria-label=\"Close modal\"\n >\n OK, got it\n \n
    \n \n\n this.closeModal(\"publicModal\")}\n className=\"generic-modal\"\n title=\"Story is public\"\n >\n
    \n

    \n Any changes you make will be immediately visible to anyone reading\n this story. You can make your story private by changing story\n privacy settings at the top of this page.\n

    \n
    \n
    \n
    \n this.closeModal(\"publicModal\")}\n aria-label=\"Close modal\"\n >\n OK, got it\n \n
    \n \n \n );\n }\n}\n\nexport default StoryContainer;\n","import { Component } from \"react\";\nimport autosize from \"autosize\";\nimport bindAll from \"lodash/bindAll\";\nimport unescape from \"lodash/unescape\";\nimport classNames from \"classnames\";\n\nclass TextForm extends Component {\n constructor(props) {\n super(props);\n\n this.state = { value: props.value };\n bindAll(this, \"onChange\", \"submitChanges\", \"finishEditingKeyDown\");\n }\n\n componentDidMount() {\n autosize(this.textArea);\n }\n\n componentWillUnmount() {\n this.submitChanges();\n }\n\n onChange(e) {\n this.setState({ value: e.target.value });\n autosize(e.target);\n }\n\n submitChanges() {\n const { updateCb } = this.props;\n const { value } = this.state;\n\n // don't hammer the api\n if (this.props.value !== value) updateCb(value);\n }\n\n finishEditingKeyDown(e) {\n if (e.key === \"Enter\") this.submitChanges();\n }\n\n render() {\n const { value } = this.state;\n const { placeholder, id, maxLength } = this.props;\n const rows = 1;\n return (\n {\n this.textArea = input;\n }}\n onChange={this.onChange}\n onKeyDown={this.finishEditingKeyDown}\n onBlur={this.submitChanges}\n value={unescape(value)}\n />\n );\n }\n}\n\nexport default TextForm;\n","import { Component } from \"react\";\nimport Modal from \"src/components/Modal\";\nimport { bindAll, map } from \"lodash\";\n\nconst privacyTextMap = [\n { text: \"Public (Viewable by anyone)\", value: \"public\" },\n { text: \"Hidden (Viewable only with URL)\", value: \"hidden\" },\n { text: \"Private (Viewable by you only)\", value: \"private\" },\n];\n\nclass RightsForm extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n privacyState: props.privacy,\n shareModal: false,\n publishModal: false,\n publicModal: false,\n storyState: props.state,\n storyName: props.name,\n };\n\n bindAll(\n this,\n \"updateAccessRight\",\n \"saveRights\",\n \"closeModal\",\n \"openModal\",\n \"updatePrivacy\"\n );\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.privacy !== this.state.privacyState) {\n this.setState({\n privacyState: nextProps.privacy,\n });\n }\n }\n\n updateAccessRight(e) {\n this.setState({\n privacyState: e.target.value,\n });\n }\n\n resetForm() {\n this.closeModal(\"shareModal\");\n }\n\n openModal(modal) {\n this.setState({\n [modal]: true,\n });\n }\n\n closeModal(modal, resetForm = false) {\n this.setState({\n [modal]: false,\n privacyState: resetForm ? this.props.privacy : this.state.privacyState,\n });\n }\n\n saveRights() {\n const { privacyState } = this.state;\n\n if (privacyState === \"public\" && this.props.storyTextBlockCount > 0)\n this.openModal(\"publishModal\");\n else this.updatePrivacy();\n\n this.closeModal(\"shareModal\");\n }\n\n updatePrivacy() {\n const { updateCb } = this.props;\n const { privacyState } = this.state;\n\n updateCb(\"privacy\", privacyState);\n this.closeModal(\"publishModal\");\n if (privacyState === \"public\") this.openModal(\"publicModal\");\n }\n\n canBePublic() {\n return this.props.numberOfItems > 2 || this.props.storyTextBlockCount !== 0;\n }\n\n accessDisplayClassFor(storyState) {\n if (this.canBePublic()) {\n if (\n storyState == \"unmoderated\" &&\n this.state.privacyState !== \"private\" &&\n this.state.storyName !== \"Favourites\"\n ) {\n return \"story-header-edit__content__access__description--unmoderated\";\n } else {\n return \"story-header-edit__content__access__description\";\n }\n } else {\n return \"story-header-edit__content__access__description\";\n }\n }\n\n accessDisplayTextFor(storyState) {\n if (this.canBePublic()) {\n if (\n storyState == \"unmoderated\" &&\n this.state.privacyState !== \"private\" &&\n this.state.storyName !== \"Favourites\"\n ) {\n return `This story is currently in moderation and will be made ${this.state.privacyState} if approved.`;\n } else {\n return `This story is ${this.state.privacyState}`;\n }\n } else {\n return \"To be able to Publicly share this story, please add more items or text.\";\n }\n }\n\n manageAccessButton() {\n let button = this.canBePublic() ? (\n this.openModal(\"shareModal\")}\n aria-haspopup=\"true\"\n aria-controls=\"access-form\"\n aria-label=\"change story access\"\n >\n Manage/change access\n \n ) : (\n \"\"\n );\n\n return button;\n }\n\n manageAccess() {\n return (\n

    \n {this.manageAccessButton()}{\" \"}\n {this.accessDisplayTextFor(this.props.state)}\n

    \n );\n }\n\n rejectedMessage() {\n return (\n

    \n \n This story is rejected because we believe it has violated DigitalNZ\n contributed content terms of use. If you believe our action is\n incorrect please get in touch with us by emailing{\" \"}\n info@digitalnz.org.\n \n

    \n );\n }\n\n displayAccessState() {\n if (this.state.storyState === \"rejected\") {\n return this.rejectedMessage();\n } else {\n return this.manageAccess();\n }\n }\n\n render() {\n const { privacyState, shareModal, publishModal, publicModal } = this.state;\n\n return (\n
    \n {this.displayAccessState()}\n\n this.closeModal(\"shareModal\", true)}\n className=\"share-modal generic-modal\"\n title=\"Sharing settings\"\n >\n
    \n

    Select who can see your stories

    \n
    \n {map(privacyTextMap, (right) => (\n
    \n \n \n {right.text}\n \n
    \n ))}\n
    \n
    \n
    \n
    \n this.closeModal(\"shareModal\", true)}\n >\n Cancel\n \n this.saveRights()}\n id=\"update-story-access\"\n >\n Save\n \n
    \n \n\n this.closeModal(\"publishModal\", true)}\n className=\"generic-modal\"\n title=\"Publish your story\"\n >\n
    \n

    \n By publishing a story on DigitalNZ, you agree to our{\" \"}\n \n terms and conditions\n {\" \"}\n and release your story under a{\" \"}\n \n Creative Commons CC-BY license\n \n

    \n
    \n
    \n
    \n this.closeModal(\"publishModal\", true)}\n >\n Keep private\n \n this.updatePrivacy()}\n >\n Publish\n \n
    \n \n\n this.closeModal(\"publicModal\")}\n className=\"generic-modal\"\n id=\"confirm-public-modal\"\n title=\"Story is public\"\n >\n
    \n

    \n Any changes you make will be immediately visible to anyone reading\n this story. You can make your story private by changing story\n privacy settings at the top of this page.\n

    \n
    \n
    \n
    \n this.closeModal(\"publicModal\")}\n >\n OK, got it\n \n
    \n \n
    \n );\n }\n}\n\nexport default RightsForm;\n","import { includes } from \"lodash\";\n\nexport default (tags, toggleS2S) => {\n const featured = includes(tags, \"s2s_te_featured\");\n const heTohu = includes(tags, \"s2s_te_he_tohu\");\n\n return (\n
    \n
    \n

    Topic Explorer

    \n
    \n
    \n toggleS2S(e, \"s2s_te_featured\")}\n />\n \n
    \n
    \n toggleS2S(e, \"s2s_te_he_tohu\")}\n />\n \n
    \n
    \n );\n};\n","import Modal from \"src/components/Modal\";\nimport { Component } from \"react\";\nimport { bindAll } from \"lodash\";\n\nclass CopyrightLicence extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n copyrightModal: false,\n };\n\n bindAll(this, \"closeModal\", \"openModal\");\n }\n\n closeModal(modal) {\n this.setState({\n [modal]: false,\n });\n }\n\n openModal(modal) {\n this.setState({\n [modal]: true,\n });\n }\n\n render() {\n return (\n
    \n this.openModal(\"copyrightModal\")}\n >\n Check copyright of this story\n \n\n this.closeModal(\"copyrightModal\")}\n className=\"generic-modal modal\"\n title=\"What is the copyright status of this story?\"\n >\n

    \n This story may include original text by the identified creator\n and/or copies of text by other people. It is the creator’s\n responsibility to ensure that they are licensed to include any text\n by other people or institutions and that they comply with the\n licence of that text. This may include attributing the original\n source and citing the terms on which that text is licensed. If you\n think any text has been included in a way that contravenes any\n licence conditions or copyright,{\" \"}\n \n please let us know\n \n . To the extent the creator owns copyright in this story, it is\n licensed under a{\" \"}\n \n Creative Commons Attribution 4.0 License\n \n

    \n
    \n
    \n this.closeModal(\"copyrightModal\")}\n >\n Got it\n \n
    \n \n
    \n );\n }\n}\n\nexport default CopyrightLicence;\n","import { Component } from \"react\";\nimport { request } from \"src/utils/request\";\nimport generateTitleText from \"src/utils/generateTitleText\";\nimport TextForm from \"./TextForm\";\nimport RightsForm from \"./RightsForm\";\nimport TopicExplorerForm from \"./TopicExplorerForm\";\nimport Modal from \"src/components/Modal\";\nimport { Helmet } from \"react-helmet\";\nimport CopyrightLicence from \"../../../storyheader/CopyrightLicence\";\nimport { without } from \"lodash\";\nimport { bindAll, concat, includes } from \"lodash\";\n\nclass Header extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n tags: props.tags,\n deleteModal: false,\n helpModal: false,\n };\n\n bindAll(\n this,\n \"deleteStory\",\n \"convertSubjectsToArray\",\n \"toggleS2S\",\n \"closeModal\",\n \"openModal\"\n );\n }\n\n componentDidMount() {\n const accessForm = new Foundation.Reveal($(\"#access-form\"));\n const deleteForm = new Foundation.Reveal($(\"#delete-form\"));\n const helpModal = new Foundation.Reveal($(\"#help-modal\"));\n accessForm;\n deleteForm;\n helpModal;\n }\n\n convertSubjectsToArray(subjects) {\n const subjectsArray = subjects.split(\",\").map((subject) => subject.trim());\n this.props.storyMetadataUpdateCb(\"subjects\", subjectsArray);\n }\n\n openModal(modal) {\n this.setState({\n [modal]: true,\n });\n }\n\n closeModal(modal) {\n this.setState({\n [modal]: false,\n });\n }\n\n deleteStory() {\n const { id } = this.props;\n const url = `/api/stories/${id}`;\n\n request({ url: url, options: { method: \"delete\" } }).then((json) => {\n if (json.status === 200) window.location.assign(\"/stories\");\n else {\n this.setState({\n deleteStoryMessage: \"Deleting story failed\",\n deleteStoryIcon: \"fa fa-ban\",\n });\n }\n });\n }\n\n toggleS2S(e, field) {\n const cb = this.props.storyMetadataUpdateCb;\n const tags = this.state.tags;\n\n if (e.target.checked)\n this.setState({ tags: concat(tags, field) }, () =>\n cb(\"tags\", this.state.tags)\n );\n else\n this.setState({ tags: without(tags, field) }, () =>\n cb(\"tags\", this.state.tags)\n );\n }\n\n render() {\n const {\n description,\n subjects,\n privacy,\n storyMetadataUpdateCb,\n user,\n name,\n state,\n storyTextBlockCount,\n } = this.props;\n\n const { tags, deleteModal, helpModal } = this.state;\n\n const isAdmin = user.loggedIn && includes(user.roles, \"admin\");\n const isSchoolAdmin = user.loggedIn && includes(user.roles, \"school_admin\");\n const searchParams = new URLSearchParams({ search: name });\n\n return (\n
    \n \n {generateTitleText(name, \"STORY\")}\n \n\n
    \n
    \n
    \n \n Story title\n \n \n

    {name}

    \n
    \n\n \n Story description\n \n \n

    {description}

    \n\n \n Story subjects\n \n \n

    {subjects.join(\", \")}

    \n\n \n\n {isAdmin && (\n \n Moderate\n \n )}\n {isSchoolAdmin && TopicExplorerForm(tags, this.toggleS2S)}\n
    \n\n
    \n
    \n \n
    \n\n
    \n this.openModal(\"helpModal\")}\n >\n Quick help\n \n\n this.closeModal(\"helpModal\")}\n className=\"generic-modal modal--wide\"\n title=\"Quick help\"\n >\n
    \n

    \n Stories allow you to save items found in DigitalNZ, upload\n your own images and add your own captions, titles, and notes\n to tell a story.\n

    \n

    How to customise your story

    \n

    \n Drag and drop - \n By default, your items will be added as you add things. You\n can reorder your items and customise your story by drag and\n drop the item cards and text boxes.\n

    \n

    \n Add text - \n You can add text by tapping on the \"add text\" button which\n will expand to be editable.\n

    \n

    \n Manage/change access - \n Your story is in moderation once created and will be made\n Public if approved. You can manage/change privacy access\n once you add items to your story.\n

    \n

    \n Go here for more help.\n

    \n
    \n
    \n
    \n this.closeModal(\"helpModal\")}\n >\n Got it\n \n
    \n \n
    \n\n
    \n this.openModal(\"deleteModal\")}\n >\n Delete\n \n this.closeModal(\"deleteModal\")}\n className=\"generic-modal\"\n title=\"Are you sure you want to delete this story?\"\n >\n
    \n

    \n Once you delete this story you will not be able to recover\n it.\n

    \n
    \n
    \n
    \n this.closeModal(\"deleteModal\")}\n >\n Cancel\n \n this.deleteStory()}\n id=\"delete-story\"\n >\n Delete\n \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default Header;\n","import SocialMediaLinks from \"src/components/SocialMediaLinks\";\n\nconst BaseLayout = ({ Header, children, id }) => {\n return (\n
    \n
    \n {Header}\n {children}\n {id !== undefined && (\n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n );\n};\n\nexport default BaseLayout;\n","import Modal from \"src/components/Modal\";\nimport { useSelector } from \"react-redux\";\nimport { selectEditStory } from \"src/features/EditStorySlice\";\n\nconst StoryError = () => {\n const storyError = useSelector((state) => selectEditStory(state).storyError);\n\n return (\n
    \n \n
    \n

    \n It looks like this story has been edited in another window. Please\n reload the page to update the story. Your most recent edit may be\n lost.\n

    \n
    \n
    \n
    \n window.location.reload(false)}\n >\n Reload Page\n \n
    \n \n
    \n );\n};\n\nexport default StoryError;\n","// TODO This component does not need to access redux - ie mapstatetoprops, because it's parent (show.js)\n// can pass all the required props now.\n\nimport { useDispatch, useSelector } from \"react-redux\";\nimport StoryContainer from \"../../story/StoryContainer\";\nimport Header from \"./header/Header\";\nimport BaseLayout from \"../../layouts/Base\";\nimport StoryError from \"./StoryError\";\nimport { filter } from \"lodash\";\n\nimport { selectStoryById, updateStory } from \"src/features/StoriesSlice\";\nimport { selectBlocks } from \"src/features/ItemsSlice\";\nimport { selectUser } from \"src/features/UserSlice\";\n\n// Return the number of text blocks that are currently\n// In the story\nfunction countStoryTextBlocks(state) {\n return filter(selectBlocks(state), (content) => {\n return content.type === \"text\";\n }).length;\n}\n\nconst Page = ({ id }) => {\n const dispatch = useDispatch();\n const metadata = useSelector((state) => selectStoryById(state, id));\n const user = useSelector(selectUser);\n const storyTextBlockCount = useSelector(countStoryTextBlocks);\n\n const boundStoryMetadataUpdate = (fieldName, value) => {\n dispatch(updateStory({ storyId: id, payload: { [fieldName]: value } }));\n };\n\n const headerProps = {\n ...metadata,\n storyTextBlockCount,\n };\n\n const header = (\n \n );\n\n return (\n \n \n \n \n );\n};\n\nexport default Page;\n","import { bindAll } from \"lodash\";\nimport { Component } from \"react\";\nimport { request } from \"src/utils/request\";\n\nclass DeleteControls extends Component {\n constructor(props) {\n super(props);\n\n bindAll(this, \"deleteStory\", \"setDeleteStory\");\n }\n\n deleteStory() {\n const url = `/api/stories/${this.props.id}`;\n request({ url: url, options: { method: \"delete\" } }).then((json) => {\n if (json.status === 200) window.location.reload();\n });\n }\n\n setDeleteStory() {\n const deleteConfirmation = confirm(\"Do you want to delete this story?\");\n deleteConfirmation ? this.deleteStory() : null;\n }\n\n render() {\n const { numberOfItems } = this.props;\n\n return (\n
    \n

    \n {numberOfItems} items\n

    \n \n \n \n
    \n );\n }\n}\n\nexport default DeleteControls;\n","import { useSelector } from \"react-redux\";\nimport Masonry from \"react-masonry-component\";\nimport BaseLayout from \"../../layouts/Base\";\nimport withMyStories from \"src/components/RecordCard/hoc/withMyStories\";\nimport RecordCard from \"src/components/RecordCard/RecordCard\";\nimport { map } from \"lodash\";\nimport { selectAllStories } from \"src/features/StoriesSlice\";\n\nconst WithMyStories = withMyStories(RecordCard);\n\nconst MyStories = () => {\n const stories = useSelector(selectAllStories);\n const header =

    My Stories

    ;\n\n return (\n \n
    \n \n {map(stories, (s) => {\n return (\n
    \n \n
    \n );\n })}\n \n
    \n
    \n );\n};\n\nexport default MyStories;\n","import { Component } from \"react\";\nimport DeleteControls from \"src/components/RecordCard/DeleteControls\";\n\nfunction withMyStories(WrappedComponent) {\n return class extends Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n const { id, name, coverThumbnail } = this.props;\n\n return (\n }\n />\n );\n }\n };\n}\n\nexport default withMyStories;\n","import CopyrightLicence from \"./CopyrightLicence\";\nimport { Helmet } from \"react-helmet\";\nimport generateTitleText from \"src/utils/generateTitleText\";\nimport unescape from \"lodash/unescape\";\nimport { map, isEmpty } from \"lodash\";\n\nconst StoryHeader = ({ description, name, subjects, creator }) => {\n const subjectSpans = map(subjects, (subject) => (\n \n {subject}\n \n ));\n\n return (\n
    \n \n {generateTitleText(name, \"STORY\")}\n \n
    \n

    {unescape(name)}

    \n

    \n A DigitalNZ Story by {creator}\n

    \n

    {unescape(description)}

    \n

    \n {!isEmpty(subjectSpans) &&\n subjectSpans.reduce((prev, curr) => [prev, \", \", curr])}\n

    \n \n
    \n
    \n );\n};\n\nexport { StoryHeader };\n","import { cloneElement } from \"react\";\nimport { StoryHeader } from \"../storyheader\";\nimport BaseLayout from \"./Base\";\nimport { includes } from \"lodash\";\n\nconst ShowStoryLayout = ({ children, metadata, ...otherProps }) => {\n const header = ;\n const { user } = otherProps;\n const searchParam = new URLSearchParams({ search: metadata.id });\n\n return (\n \n {includes(user.roles, \"admin\") && (\n
    \n
    \n This story is {metadata.privacy}\n
    \n Moderate\n
    \n
    \n )}\n {cloneElement(children, otherProps)}\n
    \n );\n};\n\nexport default ShowStoryLayout;\n","import StoryContainer from \"../../story/StoryContainer\";\nimport { EditStory } from \"../../pages\";\nimport StoryLayout from \"../../layouts/ShowStory\";\n\nimport {\n selectBlocks,\n selectStoryId,\n fetchStory,\n} from \"src/features/ItemsSlice\";\nimport { selectStoryById } from \"src/features/StoriesSlice\";\nimport { selectUser } from \"src/features/UserSlice\";\n\nimport { useParams } from \"react-router-dom\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { useEffect } from \"react\";\n\nconst Show = (props) => {\n const storyId = useParams().id;\n const dispatch = useDispatch();\n\n const blocks = useSelector(selectBlocks);\n const blocksStoryId = useSelector(selectStoryId);\n const metadata = useSelector((state) => selectStoryById(state, storyId));\n const user = useSelector(selectUser);\n const blocksAreLoaded = blocksStoryId === storyId;\n\n useEffect(() => {\n // this check is for the navigation from /records and /stories\n if (!blocksAreLoaded) {\n dispatch(fetchStory(storyId));\n }\n }, [blocksAreLoaded, dispatch, storyId]);\n\n // TODO work out how to go back to the story here.\n // const { query, filters, activeTab } = useSelector(state => state.search);\n // const searchParams = generateSearchParams(\n // query,\n // filters,\n // activeTab\n // );\n\n const userOwnsStory = metadata?.userId === user.apiId;\n\n return (\n <>\n {blocksAreLoaded && userOwnsStory && }\n\n {blocksAreLoaded && !userOwnsStory && (\n \n \n \n )}\n \n );\n};\n\nexport default Show;\n","import { bindAll } from \"lodash\";\nimport { Component } from \"react\";\nimport classNames from \"classnames\";\nimport InputCounter from \"src/utils/inputCounter\";\n\nclass ImageDescriberForm extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n title: props.title || \"\",\n description: props.description || \"\",\n subject: props.subject || \"\",\n displayDate: props.displayDate || \"\",\n creator: props.creator || \"\",\n errors: {\n title: [],\n description: [],\n subject: [],\n displayDate: [],\n creator: [],\n },\n };\n\n bindAll(\n this,\n \"handleSubmit\",\n \"handleTitleChange\",\n \"handleDescriptionChange\",\n \"handleSubjectChange\",\n \"handleDisplayDateChange\",\n \"handleCreatorChange\"\n );\n }\n\n componentDidMount() {\n InputCounter.init();\n $(\"input#displayDate\").datepicker({\n dateFormat: \"dd/mm/yy\",\n onSelect: this.handleDisplayDateChange,\n });\n }\n\n handleTitleChange(event) {\n this.setState({ title: event.target.value });\n }\n\n handleDescriptionChange(event) {\n this.setState({ description: event.target.value });\n }\n\n handleSubjectChange(event) {\n this.setState({ subject: event.target.value });\n }\n\n handleDisplayDateChange(value) {\n this.setState({ displayDate: value });\n }\n\n handleCreatorChange(event) {\n this.setState({ creator: event.target.value });\n }\n\n handleSubmit(event) {\n event.preventDefault();\n const errors = { title: [], description: [] };\n if (this.state.title === \"\") {\n errors.title.push(\"Please fill in this field\");\n }\n if (this.state.description === \"\") {\n errors.description.push(\"Please fill in this field\");\n }\n if (errors.title.length === 0 && errors.description.length === 0) {\n this.props.onValidDescriptionSubmit(this.state);\n } else {\n this.setState({ errors: errors });\n }\n }\n\n render() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n {this.state.errors.length > 0 && (\n
    \n
      \n {this.state.errors.map((error, i) => (\n
    • {error}
    • \n ))}\n
    \n
    \n )}\n\n \n
    \n
    \n required fields\n
    \n
    \n \n
    \n \n {this.state.errors.title.length\n ? this.state.errors.title.map((error, i) => (\n

    {error}

    \n ))\n : null}\n
    \n\n \n \n \n {this.state.errors.description.length\n ? this.state.errors.description.map((error, i) => (\n

    {error}

    \n ))\n : null}\n
    \n\n \n \n \n {this.state.errors.subject.length\n ? this.state.errors.subject.map((error, i) => (\n

    {error}

    \n ))\n : null}\n
    \n\n \n \n \n {this.state.errors.creator.length\n ? this.state.errors.creator.map((error, i) => (\n

    {error}

    \n ))\n : null}\n \n\n \n \n this.handleDisplayDateChange(e.target.value) }\n defaultValue={this.state.displayDate}\n />\n {this.state.errors.displayDate.length\n ? this.state.errors.displayDate.map((error, i) => (\n

    {error}

    \n ))\n : null}\n \n \n \n \n
    \n
    \n \n {this.props.backLabel}\n \n \n
    \n \n );\n }\n}\n\nexport default ImageDescriberForm;\n","// This is tested via the DropBlock.spec\n// It's also based on the stories redux presenter which is tested with RSpec.\n\nimport {\n chunk,\n each,\n first,\n flatten,\n isEmpty,\n isNil,\n map,\n pullAt,\n} from \"lodash\";\n\nimport positions from \"./positions\";\nimport {\n correctPositions,\n emptyBlock,\n inCorrectPosition,\n largeBlock,\n onTheFarLeft,\n rowEmpty,\n smallBlock,\n} from \"./utility\";\n\n// Converts an array of blocks into the shape that the stories app understands.\n// This combines the array of positions together with the approprate blocks, and enforces the rules\n// that we have around what blocks can go where. For example it will ensure large blocks are where\n// they belong (at the start of a row) and insert the empty blocks into the story data for the frontend.\n//\n// This logic is essentially the same as in the stories redux presenter, but is here as well to avoid the clientside having to query the rails app\n// whenever an item is moved.\n//\n// == Parameters:\n// blocksParam::\n// An array of JSON objects that have been retrieved from the API.\n//\n// == Returns:\n// An array of blocks including all of the empty blocks that the stories app requires.This is then given to the redux state.\n//\nexport default function storyBlocks(blocksParam) {\n let blocksToMove = [...blocksParam];\n\n let blocks = map(positions(blocksParam), (position) => {\n let block = first(blocksToMove);\n\n if (isNil(block)) {\n return emptyBlock(position);\n } else if (block.status == \"empty\") {\n return blocksToMove.shift();\n } else if (smallBlock(block) && inCorrectPosition(block, position)) {\n return blocksToMove.shift();\n } else if (\n largeBlock(block) &&\n inCorrectPosition(block, position) &&\n onTheFarLeft(position)\n ) {\n return blocksToMove.shift();\n } else if (largeBlock(block) && onTheFarLeft(position)) {\n let movedBlock = blocksToMove.shift();\n movedBlock.position = position;\n\n blocksToMove = map(blocksToMove, (block) => {\n block[\"position\"] += 3;\n return block;\n });\n\n return movedBlock;\n } else {\n return emptyBlock(position);\n }\n });\n\n // check if the last row is empty\n let rows = chunk(blocks, 3);\n let rowsToRemove = [];\n\n each(rows, (row, index) => {\n if (rowEmpty(row)) {\n rowsToRemove.push(index);\n }\n });\n\n if (!isEmpty(rowsToRemove)) {\n pullAt(rows, rowsToRemove);\n\n blocks = flatten(rows);\n }\n\n return correctPositions(blocks);\n}\n","import { each, first, isNil, last, range } from \"lodash\";\n\nimport { inCorrectPosition, largeBlock, smallBlock } from \"./utility\";\n\n// Converts an array of blocks into an array of positions.\n// This adds all the padding that is created by large blocks and sanitizes the input from the API.\n// The data from the API will not necessarily have items in positions where they are actually allowed to be\n// and it will also not have the empty blocks.\n//\n// The intention of this is to avoid any sort of infinite loop when the story blocks are being created\n// as the number of items in a story or the last position of a story is not necessarily the number of blocks we need and using a while loop\n// feels risky.\n// For example if we have 4 blocks, 3 large and 1 small, we actually have 12 positions as the large blocks all take up their own\n// row and their are 2 empty ones that need to complete the first row. Old data from the API will notate this as positions 1, 2, 3, and 4.\n// Which is incorrect.\n//\n// This logic is essentially the same as in the stories redux presenter, but is here as well to avoid the clientside having to query the rails app\n// whenever an item is moved.\n//\n// == Parameters:\n// blocks::\n// An array of JSON objects that have been retrieved from the storys API.\n//\n// == Returns:\n// An array of integers, representing the positions that are available in the story.\n//\nexport default function positions(blocks) {\n let blocksCopy = [...blocks];\n let finalPosition = 0;\n\n let maxPositions = blocksCopy.length;\n maxPositions += last(blocks).position;\n\n // If the total of not empty blocks is not a factor of 3. Round it up to the nearest 3.\n if (maxPositions % 3 != 0) {\n maxPositions += 3 - (maxPositions % 3);\n }\n\n each(range(1, maxPositions), (position) => {\n let block = first(blocksCopy);\n\n if (isNil(block)) {\n return false;\n } else if (\n block.status != \"empty\" &&\n smallBlock(block) &&\n inCorrectPosition(block, position)\n ) {\n finalPosition += 1;\n blocksCopy.shift();\n } else if (block.status != \"empty\" && largeBlock(block)) {\n if (finalPosition % 3 != 0) {\n finalPosition += 3 - (finalPosition % 3);\n }\n finalPosition += 3;\n blocksCopy.shift();\n } else {\n finalPosition += 1;\n }\n });\n\n if (finalPosition % 3 != 0) {\n finalPosition += 3 - (finalPosition % 3);\n }\n\n // This is because Range does not include the top number\n return range(1, finalPosition + 1);\n}\n","import { every, map } from \"lodash\";\n\n// Helper method to determine if a block is `small`\n//\n// == Parameters:\n// block::\n// The JSON hash of a particular block.\n//\n// == Returns:\n// true or false\n//\nexport const smallBlock = (block) => {\n return block[\"meta\"][\"alignMode\"] == 0;\n};\n\n// Helper method to determine if a block is `large`\n//\n// == Parameters:\n// block::\n// The JSON hash of a particular block.\n//\n// == Returns:\n// true or false\n//\nexport const largeBlock = (block) => {\n return !smallBlock(block);\n};\n\n// Helper method to determine if the position of the block is the same as\n// the position that is currently being allocated.\n//\n// == Parameters:\n// block::\n// The JSON hash of a particular block.\n// position::\n// Integer of the currently allocated position.\n//\n// == Returns:\n// true or false\n//\nexport const inCorrectPosition = (block, position) => {\n return block.position == position;\n};\n\n// Helper method to create an empty block\n//\n// == Parameters:\n// position::\n// The position to assign to the empty block.\n//\n// == Returns:\n// JSON hash of the empty block.\n//\nexport const emptyBlock = (position) => {\n return {\n position: position,\n status: \"empty\",\n };\n};\n\n// Helper method to determine if a position will be\n// in the middle of the story.\n//\n// == Parameters:\n// position::\n// An integer representing the position in the story that this block occupies.\n//\n// == Returns:\n// true or false\n//\nexport const inTheMiddle = (position) => {\n return !onTheFarRight(position) && !onTheFarLeft(position);\n};\n\n// Helper method to determine if a position will be\n// on the far right of the story. Eg a factor of 3 without the position subtraction.\n//\n// == Parameters:\n// position::\n// An integer representing the position in the story that this block occupies.\n//\n// == Returns:\n// true or false\n//\nexport const onTheFarRight = (position) => {\n return position % 3 == 0;\n};\n\n// Helper method to determine if a position will be\n// on the far left of the story. Eg a factor of 3.\n//\n// == Parameters:\n// position::\n// An integer representing the position in the story that this block occupies.\n// Note that positions on the API start from 1, hence the subtraction.\n//\n// == Returns:\n// true or false\n//\nexport const onTheFarLeft = (position) => {\n return (position - 1) % 3 == 0;\n};\n\n// Helper method to determine if a row is empty or not\n// A row is considered empty if all of the slots have the status empty\n//\n// == Parameters:\n// row::\n// An array of slots that make up that row.\n//\n// == Returns:\n// true or false\n//\nexport const rowEmpty = (row) => {\n return every(row, (slot) => {\n return slot.status == \"empty\";\n });\n};\n\n// Helper method to correct all of the positions, as once the blocks have been sorted\n// There positions will not reflect the new indexes where they have been put.\n//\n// == Parameters:\n// blocks::\n// An array of blocks to be corrected.\n//\n// == Returns:\n// An array of blocks with there positions set to their current index + 1.\n//\nexport const correctPositions = (blocks) => {\n return map(blocks, (block, index) => {\n return {\n ...block,\n position: index + 1,\n };\n });\n};\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { remove } from \"lodash\";\n\nconst addToStorySlice = createSlice({\n name: \"addToStory\",\n initialState: {},\n reducers: {\n /////////////////////////////\n // MODAL\n /////////////////////////////\n openModal(state) {\n state.modalIsOpened = true;\n },\n closeModal(state) {\n // better to have a modalIsOpened state for the animation\n // if you set activeRecord to null and rely on this to display the modal\n // or not. The modal will get blank and then close which is ugly\n state.modalIsOpened = false;\n },\n updateActiveRecord(state, action) {\n state.modalIsOpened = action.payload !== null;\n state.activeRecord = action.payload;\n },\n setModalIsProcessing(state) {\n state.modalIsProcessing = true;\n },\n unsetModalIsProcessing(state) {\n state.modalIsProcessing = false;\n },\n /////////////////////////////\n // NOTIFICATION\n /////////////////////////////\n openNotification(state) {\n // if the notification is already opened, we need a transition\n // to tell the user that it's a new notification\n // the number helps the AddToStoryNotification to create an animation\n if (state.notificationOpened) {\n state.notificationNumber = (state.notificationNumber + 1) % 2;\n }\n state.notificationOpened = true;\n },\n closeNotification(state) {\n state.notificationNumber = null;\n state.notificationOpened = false;\n },\n addProcessingRecord(state, action) {\n state.processingRecordIds.push(action.payload);\n },\n removeProcessingRecord(state, action) {\n remove(state.processingRecordIds, (id) => id == action.payload);\n },\n setStoryIdsToAlwaysAdd(state, action) {\n state.storyIdsToAlwaysAdd = action.payload;\n },\n toggleAlwaysAdd(state) {\n state.alwaysAddToStory = !state.alwaysAddToStory;\n },\n },\n});\n\nexport const selectAddToStory = (state) => state.ui.addToStory;\n\nconst { actions, reducer } = addToStorySlice;\nexport const {\n openNotification,\n closeNotification,\n addProcessingRecord,\n removeProcessingRecord,\n updateActiveRecord,\n toggleAlwaysAdd,\n setStoryIdsToAlwaysAdd,\n setModalIsProcessing,\n unsetModalIsProcessing,\n closeModal,\n openModal,\n} = actions;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst appDetailsSlice = createSlice({\n name: \"appDetails\",\n initialState: {},\n reducers: {},\n});\n\nexport const selectAppDetails = (state) => state.ui.appDetails;\n\nconst { reducer } = appDetailsSlice;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst facetsSlice = createSlice({\n name: \"facets\",\n initialState: {},\n reducers: {},\n});\n\nexport const selectFacets = (state) => state.facets.data;\n\nconst { reducer } = facetsSlice;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst filtersSlice = createSlice({\n name: \"filters\",\n initialState: {},\n reducers: {\n selectNewFacet: (state, action) => {\n state.selectedFacet = action.payload;\n },\n selectNewDateRange: (state, action) => {\n state.startDate = action.payload.startDate;\n state.endDate = action.payload.endDate;\n },\n },\n});\n\nconst { actions, reducer } = filtersSlice;\n\nexport const selectFilters = (state) => state.filters;\nexport const getSelectedFacet = (state) => state.filters.selectedFacet;\nexport const getStartDate = (state) => state.filters.startDate;\nexport const getEndDate = (state) => state.filters.endDate;\n\nexport const { selectNewFacet, selectNewDateRange } = actions;\n\nexport default reducer;\n","import { createSelector, createSlice } from \"@reduxjs/toolkit\";\nimport { getEndDate } from \"./FiltersSlice\";\nimport { fetchMetrics } from \"./MetricsSlice\";\n\nconst globalMetricsSlice = createSlice({\n name: \"globalMetrics\",\n initialState: {},\n reducers: {},\n extraReducers: (builder) => {\n builder\n .addCase(fetchMetrics.pending, (state, _) => {\n state.loading = true;\n })\n .addCase(fetchMetrics.fulfilled, (state, action) => {\n state.loading = false;\n\n const globalMetrics = action.payload.globalMetrics;\n for (const key of Object.keys(globalMetrics)) {\n state[key] = globalMetrics[key];\n }\n })\n .addCase(fetchMetrics.rejected, (state, _) => {\n state.loading = false;\n });\n },\n});\n\nexport const selectGlobalMetrics = (state) => state.globalMetrics;\n\nexport const selectedTotalSets = createSelector(\n [getEndDate, selectGlobalMetrics],\n (endDate, globalMetrics) => {\n if (globalMetrics.loading) return 0;\n\n return globalMetrics[endDate]\n ? globalMetrics[endDate].total_public_sets\n : \"Unavailable\";\n }\n);\n\nconst { reducer } = globalMetricsSlice;\n\nexport default reducer;\n","import {\n createAsyncThunk,\n createSelector,\n createSlice,\n} from \"@reduxjs/toolkit\";\nimport { assign, isNil, map, reduce } from \"lodash\";\nimport generateDateRange from \"src/utils/generateDateRange\";\nimport { getEndDate, getSelectedFacet, getStartDate } from \"./FiltersSlice\";\n\nexport const fetchMetrics = createAsyncThunk(\n \"metrics/fetchMetrics\",\n async (payload, { rejectWithValue }) => {\n const { startDate, endDate, facet } = payload;\n\n const facetParam = encodeURIComponent(facet);\n return fetch(\n `/metrics?start_date=${startDate}&end_date=${endDate}&facet=${facetParam}`\n )\n .then((req) => req.json())\n .catch((e) => {\n return rejectWithValue(e.response);\n });\n }\n);\n\nconst metricsSlice = createSlice({\n name: \"metrics\",\n initialState: {},\n reducers: {},\n extraReducers: (builder) => {\n builder\n .addCase(fetchMetrics.pending, (state, action) => {\n state[action.meta.arg.facet] = { loading: true };\n })\n .addCase(fetchMetrics.fulfilled, (state, action) => {\n const facet = action.meta.arg.facet;\n const facetMetrics = action.payload.metrics[facet];\n\n state[facet].loading = false;\n for (const key of Object.keys(facetMetrics)) {\n state[facet][key] = facetMetrics[key];\n }\n })\n .addCase(fetchMetrics.rejected, (state, action) => {\n state[action.meta.arg.facet] = { loading: false };\n });\n },\n});\n\nexport const selectMetrics = (state) => state.metrics;\n\nexport const currentMetrics = createSelector(\n [getSelectedFacet, selectMetrics],\n (selectedFacet, metrics) => metrics[selectedFacet]\n);\n\nexport const selectedMetrics = createSelector(\n [getStartDate, getEndDate, currentMetrics],\n (startDate, endDate, currentMetrics_) => {\n const defaultState = { views: [], records: [] };\n if (isNil(currentMetrics_)) return defaultState;\n\n const activeDates = generateDateRange(startDate, endDate);\n const relevantMetrics = map(activeDates, (date) => {\n return { ...currentMetrics_[date], date };\n });\n\n return reduce(\n relevantMetrics,\n (acc, el) => {\n return assign(\n {},\n {\n views: [...acc.views, assign({}, el.view, { date: el.date })],\n records: [...acc.records, assign({}, el.record, { date: el.date })],\n }\n );\n },\n defaultState\n );\n }\n);\n\nexport const selectedTotalItems = createSelector(\n [getEndDate, currentMetrics],\n (endDate, currentMetrics_) => {\n return currentMetrics_[endDate] && currentMetrics_[endDate].record\n ? currentMetrics_[endDate].record.total_active_records\n : \"Unavailable\";\n }\n);\n\nconst { reducer } = metricsSlice;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst dropdownSlice = createSlice({\n name: \"dropdown\",\n initialState: {\n dropdownID: null,\n },\n reducers: {\n openDropdown(state, action) {\n state.dropdownID = action.payload;\n },\n closeDropdown(state) {\n state.dropdownID = null;\n },\n },\n});\n\nexport const selectDropdown = (state) => state.ui.dropdown;\n\nconst { actions, reducer } = dropdownSlice;\n\nexport const { openDropdown, closeDropdown } = actions;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport {\n addTextBlock,\n blockAdd,\n blockFakeRemove,\n blockRemove,\n blockUpdate,\n cancelAddTextBlock,\n fetchStory,\n repositionApiBlocks,\n} from \"./ItemsSlice\";\n\nconst handleDoneEditing = (state, type) => {\n if (type === \"text\") {\n state.activeTextItem = null;\n }\n if (type === \"embed\") {\n state.activeRecordItem = null;\n }\n};\n\nconst EditStorySlice = createSlice({\n name: \"editStory\",\n // These values are overritten by the redux presenter\n initialState: {\n activeTextItem: null,\n activeSlot: {\n rowId: \"\",\n slotId: \"\",\n blockSize: \"\",\n adjacentRowId: \"\",\n },\n activeRecordItem: null,\n storyIsLoading: false,\n storyError: false,\n },\n reducers: {\n editTextBlock: (state, action) => {\n state.activeTextItem = action.payload;\n },\n editCaptionAndNotes: (state, action) => {\n state.activeRecordItem = action.payload;\n },\n cancelEditCaptionAndNotes: (state, _action) => {\n state.activeRecordItem = null;\n },\n updateActiveSlot: (state, action) => {\n state.activeSlot = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(addTextBlock, (state, action) => {\n state.activeTextItem = `text-editor-${action.payload.position}`;\n })\n .addCase(cancelAddTextBlock, (state, _action) => {\n state.activeTextItem = null;\n })\n .addCase(blockAdd.fulfilled, (state, action) => {\n handleDoneEditing(state, action.payload.type);\n })\n .addCase(blockUpdate.fulfilled, (state, action) => {\n handleDoneEditing(state, action.payload.type);\n })\n .addCase(blockFakeRemove, (state, _action) => {\n state.activeRecordItem = null;\n })\n .addCase(blockRemove.fulfilled, (state, action) => {\n handleDoneEditing(state, action.payload.block.type);\n })\n .addCase(repositionApiBlocks.rejected, (state, _action) => {\n state.storyError = true;\n })\n .addCase(fetchStory.pending, (state, _action) => {\n state.storyIsLoading = true;\n })\n .addCase(fetchStory.fulfilled, (state, _action) => {\n state.storyIsLoading = false;\n state.activeTextItem = null;\n state.activeSlot = {\n rowId: \"\",\n slotId: \"\",\n blockSize: \"\",\n adjacentRowId: \"\",\n };\n });\n },\n});\n\nexport const selectEditStory = (state) => state.ui.editStory;\n\nconst { actions, reducer } = EditStorySlice;\nexport const {\n editTextBlock,\n editCaptionAndNotes,\n cancelEditCaptionAndNotes,\n updateActiveSlot,\n} = actions;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { fetchUserImageRecord, submitUserImageEdit } from \"./RecordsSlice\";\n\nconst EditUserImageSlice = createSlice({\n name: \"editUserImage\",\n // These values are overritten by the redux presenter\n initialState: {\n isFetchingUserImageRecord: false,\n submitUserImageEditOpened: false,\n userImageBeingEdited: null,\n isSubmitting: false,\n },\n reducers: {\n setEditingUserImage(state, action) {\n state.userImageBeingEdited = action.payload;\n },\n closeEditUserImageModal(state) {\n state.editUserImageModalOpened = false;\n },\n openEditUserImageModal(state) {\n state.editUserImageModalOpened = true;\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(fetchUserImageRecord.fulfilled, (state, _action) => {\n state.isFetchingUserImageRecord = false;\n })\n .addCase(fetchUserImageRecord.pending, (state, _action) => {\n state.isFetchingUserImageRecord = true;\n })\n .addCase(fetchUserImageRecord.rejected, (state, _action) => {\n state.userImageError = true;\n state.isSubmitting = false;\n state.isFetchingUserImageRecord = false;\n })\n .addCase(submitUserImageEdit.fulfilled, (state, _action) => {\n state.isSubmitting = false;\n state.editUserImageModalOpened = false;\n })\n .addCase(submitUserImageEdit.pending, (state, _action) => {\n state.isSubmitting = true;\n })\n .addCase(submitUserImageEdit.rejected, (state, _action) => {\n state.userImageError = true;\n state.isSubmitting = false;\n });\n },\n});\n\nexport const selectEditUserImage = (state) => state.ui.editUserImage;\n\nconst { actions, reducer } = EditUserImageSlice;\nexport const {\n setEditingUserImage,\n closeEditUserImageModal,\n openEditUserImageModal,\n} = actions;\n\nexport default reducer;\n","import { createEntityAdapter, createSlice } from \"@reduxjs/toolkit\";\n\nconst emptySearchFacetsAdapter = createEntityAdapter();\n\nconst emptySearchFacetsSlice = createSlice({\n name: \"emptySearchFacets\",\n initialState: {},\n reducers: {},\n});\n\nexport const {\n selectById: selectEmptySearchFacetById,\n selectIds: selectEmptySearchFacetIds,\n selectEntities: selectEmptySearchFacetEntities,\n selectAll: selectAllEmptySearchFacets,\n selectTotal: selectTotalEmptySearchFacets,\n} = emptySearchFacetsAdapter.getSelectors(\n (state) => state.entities.emptySearchFacets\n);\n\nconst { reducer } = emptySearchFacetsSlice;\n\nexport default reducer;\n","import { createAsyncThunk, createSlice, current } from \"@reduxjs/toolkit\";\nimport { assign, find, findIndex, map, omitBy, pick, remove } from \"lodash\";\nimport storyBlocks from \"src/components/StoriesPage/story/storyLogic/storyBlocks\";\nimport {\n inTheMiddle,\n largeBlock,\n onTheFarRight,\n} from \"src/components/StoriesPage/story/storyLogic/utility\";\nimport { request } from \"src/utils/request\";\n\n// Helper functions\n\nexport const fetchStory = createAsyncThunk(\n \"items/fetchStoryStatus\",\n async (storyId, { rejectWithValue }) => {\n try {\n const response = await request({\n url: `/api/stories/${storyId}.json`,\n }).then((req) => req.json());\n return response;\n } catch (err) {\n return rejectWithValue(err.response);\n }\n }\n);\n\nexport const blockAdd = createAsyncThunk(\n \"items/blockAddStatus\",\n async (payload) => {\n const { storyId, type, subType, content, position } = payload;\n\n const alignMode = type === \"text\" ? 1 : 0;\n const belongsToUser = !!content.belongsToUser;\n const imageId = content.imageId;\n\n let postPayload = {\n recordId: content.id,\n storyId,\n type,\n subType,\n content,\n meta: { alignMode },\n position,\n belongsToUser,\n imageId,\n };\n\n postPayload.meta = omitBy(postPayload.meta, (a) => a === \"\");\n\n const response = await request({\n url: `/api/stories/${storyId}/items`,\n body: { item: postPayload },\n options: { method: \"POST\" },\n })\n .then((req) => req.json())\n .then((json) => {\n return assign(json, { belongsToUser: belongsToUser });\n });\n\n return response;\n }\n);\n\nexport const repositionApiBlocks = createAsyncThunk(\n \"items/repositionApiBlocksStatus\",\n async (payload) => {\n const { storyId, blocks } = payload;\n let changes = map(blocks, (item) => {\n return pick(item, [\"id\", \"position\"]);\n });\n\n changes = remove(changes, (item) => {\n return item.id != undefined;\n });\n\n const response = await request({\n url: `/api/stories/${storyId}/reposition`,\n body: {\n id: storyId,\n items: changes,\n },\n options: { method: \"POST\" },\n }).then((req) => req.json());\n\n return response;\n }\n);\n\nexport const blockMetadataUpdate = createAsyncThunk(\n \"items/blockMetadataUpdateStatus\",\n async (payload, { getState }) => {\n const { storyId, fieldName, value, blockId } = payload;\n const blocks = selectBlocks(getState());\n\n const currentBlock = find(blocks, function (block) {\n return block.id == blockId;\n });\n\n const newValue = {\n [fieldName]: value,\n };\n\n const newMeta = { ...currentBlock.meta, ...newValue };\n\n const response = await request({\n url: `/api/stories/${storyId}/items/${blockId}`,\n body: { item: { meta: newMeta } },\n options: { method: \"PATCH\" },\n }).then((req) => req.json());\n\n return response;\n }\n);\n\nexport const blockUpdate = createAsyncThunk(\n \"items/blockUpdateStatus\",\n async (payload) => {\n const { storyId, blockId } = payload;\n\n const itemPayload = payload;\n // Remove empty meta attributes\n if (itemPayload.meta) {\n itemPayload.meta = omitBy(itemPayload.meta, (a) => a === \"\");\n }\n const response = await request({\n url: `/api/stories/${storyId}/items/${blockId}`,\n body: { item: itemPayload },\n options: { method: \"PATCH\" },\n }).then((req) => req.json());\n\n return response;\n }\n);\n\n// TODO this is here because it relates to the story hash and removes the block from the story in that hash, rather than all stories. It is used on the story show page.\nexport const blockRemove = createAsyncThunk(\n \"items/blockRemoveStatus\",\n async (payload, { getState }) => {\n const { storyId, blockId } = payload;\n const block = selectBlockById(getState(), blockId);\n\n if (typeof blockId !== \"undefined\") {\n await request({\n url: `/api/stories/${storyId}/items/${blockId}`,\n body: {},\n options: { method: \"DELETE\" },\n }).then((req) => req.json());\n\n return { storyId, block };\n }\n }\n);\n\nconst itemsSlice = createSlice({\n name: \"items\",\n // These values are overritten by the redux presenter\n initialState: {},\n reducers: {\n expandBlock: (state, action) => {\n const blockId = action.payload;\n const indexOfBlockToChange = findIndex(state.blocks, (block) => {\n return block.id == blockId;\n });\n\n state.blocks[indexOfBlockToChange].meta.alignMode = 1;\n let blocks = state.blocks;\n\n const changedBlock = state.blocks[indexOfBlockToChange];\n\n if (!onTheFarRight(changedBlock.position)) {\n let distance = 2;\n\n if (inTheMiddle(changedBlock.position)) {\n distance = 1;\n }\n\n blocks = map(state.blocks, (block, index) => {\n if (index > indexOfBlockToChange) {\n return {\n ...block,\n position: block.position + distance,\n };\n } else {\n return block;\n }\n });\n }\n\n state.blocks = storyBlocks(blocks);\n },\n\n compressBlock: (state, action) => {\n const blockId = action.payload;\n const indexOfBlockToChange = findIndex(state.blocks, (block) => {\n return block.id == blockId;\n });\n\n state.blocks[indexOfBlockToChange].meta.alignMode = 0;\n let emptyBlockOne;\n let emptyBlockTwo;\n\n emptyBlockOne = indexOfBlockToChange + 1;\n emptyBlockTwo = indexOfBlockToChange + 2;\n\n remove(state.blocks, (_block, index) => {\n return index == emptyBlockOne || index == emptyBlockTwo;\n });\n\n let blocks = map(state.blocks, (block, index) => {\n if (index > indexOfBlockToChange) {\n return {\n ...block,\n position: block.position - 2,\n };\n } else {\n return block;\n }\n });\n\n state.blocks = storyBlocks(blocks);\n },\n addTextBlock: (state, action) => {\n const { position } = action.payload;\n\n state.blocks.splice(position - 1, 0, {\n id: \"text-editor-\" + position,\n type: \"text\",\n subType: \"rich-text\",\n content: { value: \"\" },\n position: position,\n meta: {\n alignMode: 1,\n },\n });\n\n state.blocks = map(state.blocks, (block, index) => {\n if (index > position - 1) {\n return {\n ...block,\n position: block.position + 3,\n };\n } else {\n return block;\n }\n });\n\n state.blocks = storyBlocks(state.blocks);\n },\n cancelAddTextBlock: (state, action) => {\n const id = action.payload;\n if (!id.includes(\"text-editor-\")) return;\n\n const blockIndex = state.blocks.findIndex((block) => block.id === id);\n state.blocks.splice(blockIndex, 3);\n let blocks = state.blocks.map((block, currentIndex) => {\n if (currentIndex >= blockIndex) {\n return { ...block, position: block.position - 3 };\n }\n return block;\n });\n state.blocks = storyBlocks(blocks);\n },\n updateStoryBlocks: (state, action) => {\n state.blocks = action.payload;\n },\n updateBlockData: (state, action) => {\n const { recordId, title } = action.payload;\n const blockToUpdateIndex = findIndex(state.blocks, (block) => {\n if (!block.content || !block.content.id) return false;\n return block.content.id.toString() === recordId.toString();\n });\n state.blocks[blockToUpdateIndex].content.title = title;\n },\n blockFakeRemove: (state, action) => {\n remove(state.blocks, function (block) {\n return block.id == action.payload;\n });\n },\n blockFakeAdd: (state, action) => {\n const { title, id } = action.payload;\n\n const fakeBlock = {\n belongsToUser: true,\n position: 1,\n content: {\n category: [\"LoadingGif\"],\n contentPartner: [\"DigitalNZ\"],\n title: title,\n },\n id: id,\n meta: { alignMode: 0, isCover: false },\n subType: \"record\",\n type: \"embed\",\n };\n\n let blocks = state.blocks;\n\n blocks = map(blocks, (block) => {\n return {\n ...block,\n position: block.position + 1,\n };\n });\n\n blocks.splice(0, 0, fakeBlock);\n state.blocks = storyBlocks(blocks);\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(blockUpdate.fulfilled, (state, action) => {\n const newBlock = action.payload;\n\n let newBlocks = current(state.blocks);\n\n if (newBlock.meta.isCover == true) {\n newBlocks = map(state.blocks, function (block) {\n if (block.status !== \"empty\") {\n block.meta.isCover = false;\n return block;\n } else {\n return block;\n }\n });\n }\n\n newBlocks = map(newBlocks, function (block) {\n if (block.status != \"empty\" && block.id == newBlock.id) {\n return newBlock;\n } else {\n return block;\n }\n });\n\n state.blocks = newBlocks;\n })\n .addCase(blockAdd.fulfilled, (state, action) => {\n if (state.blocks != undefined) {\n const indexOfNewBlock = action.payload.position - 1;\n let blocks = state.blocks;\n\n blocks.splice(indexOfNewBlock, 1, action.payload);\n state.blocks = storyBlocks(blocks);\n }\n })\n .addCase(blockRemove.fulfilled, (state, action) => {\n const blockId = action.payload.block.id;\n if (state.blocks != undefined) {\n const blockToRemove = find(state.blocks, (block) => {\n return block.id == blockId;\n });\n\n let blocks;\n let decrementAmount = 0;\n\n if (largeBlock(blockToRemove)) {\n const emptyBlockOne = blockToRemove.position + 1;\n const emptyBlockTwo = blockToRemove.position + 2;\n\n remove(state.blocks, (block) => {\n return (\n block.position == blockToRemove.position ||\n block.position == emptyBlockOne ||\n block.position == emptyBlockTwo\n );\n });\n\n decrementAmount = 3;\n } else {\n remove(state.blocks, (block) => {\n return block.id == blockToRemove.id;\n });\n\n decrementAmount = 1;\n }\n\n blocks = map(state.blocks, (block, index) => {\n if (index >= blockToRemove.position - 1) {\n return {\n ...block,\n position: block.position - decrementAmount,\n };\n } else {\n return block;\n }\n });\n\n state.blocks = storyBlocks(blocks);\n }\n })\n .addCase(fetchStory.fulfilled, (state, action) => {\n state.blocks = action.payload.story.contents;\n state.storyId = action.payload.story.id;\n });\n },\n});\n\nconst { actions, reducer } = itemsSlice;\n\nexport const selectBlockById = (state, id) =>\n find(state.entities.items.blocks, { id: id });\nexport const selectBlocks = (state) => state.entities.items.blocks;\nexport const selectStoryId = (state) => state.entities.items.storyId;\n\nexport const {\n blockFakeRemove,\n blockFakeAdd,\n updateStoryBlocks,\n expandBlock,\n compressBlock,\n addTextBlock,\n cancelAddTextBlock,\n updateBlockData,\n} = actions;\nexport default reducer;\n","import { createEntityAdapter, createSlice } from \"@reduxjs/toolkit\";\n\nconst plugFeaturesAdapter = createEntityAdapter();\n\nconst plugFeatureSlice = createSlice({\n name: \"plugFeatures\",\n initialState: {},\n reducers: {},\n});\n\nconst { reducer } = plugFeatureSlice;\n\nexport const {\n selectById: selectPlugFeatureById,\n selectIds: selectPlugFeatureIds,\n selectEntities: selectPlugFeatureEntities,\n selectAll: selectAllPlugFeatures,\n selectTotal: selectTotalPlugFeatures,\n} = plugFeaturesAdapter.getSelectors((state) => state.entities.plugFeatures);\n\nexport const selectPlugFeatureBySlug = (state, slug) => {\n return selectAllPlugFeatures(state).find((feature) => {\n return feature.slug === slug;\n });\n};\n\nexport const featureIsEnabled = (state, slug) => {\n const feature = selectPlugFeatureBySlug(state, slug);\n\n return feature === undefined || feature.state === \"enabled\";\n};\n\nexport const featureIsDisabled = (state, feature) => {\n return !featureIsEnabled(state, feature);\n};\n\nexport default reducer;\n","import {\n createAsyncThunk,\n createEntityAdapter,\n createSlice,\n} from \"@reduxjs/toolkit\";\nimport { snakeToCamelCase } from \"src/utils/keyConverters\";\nimport { request } from \"src/utils/request\";\nimport { fetchMoreSearchResults } from \"./SearchSlice\";\n\nexport const fetchUserImageRecord = createAsyncThunk(\n \"story/fetchUserImageRecordStatus\",\n async (userImageId, { rejectWithValue }) => {\n try {\n const response = await request({\n url: `/api/user_images/${userImageId}.json`,\n }).then((req) => req.json());\n return snakeToCamelCase(response);\n } catch (err) {\n return rejectWithValue(err.response);\n }\n }\n);\n\nexport const submitUserImageEdit = createAsyncThunk(\n \"story/submitUserImageEditStatus\",\n async (userImage, { rejectWithValue }) => {\n try {\n const response = await request({\n url: `/api/user_images/${userImage.id}.json`,\n body: { user_image: userImage },\n options: { method: \"PATCH\" },\n }).then((req) => req.json());\n return snakeToCamelCase(response);\n } catch (err) {\n return rejectWithValue(err.response);\n }\n }\n);\n\nconst recordsAdapter = createEntityAdapter();\n\nconst recordsSlice = createSlice({\n name: \"records\",\n // These values are overritten by the redux presenter\n initialState: {},\n reducers: {},\n extraReducers: (builder) => {\n builder\n .addCase(fetchUserImageRecord.fulfilled, (state, action) => {\n recordsAdapter.setOne(state, action.payload.record);\n })\n .addCase(submitUserImageEdit.fulfilled, (state, action) => {\n recordsAdapter.setOne(state, action.payload);\n })\n .addCase(fetchMoreSearchResults.fulfilled, (state, action) => {\n recordsAdapter.setMany(state, action.payload.records);\n });\n },\n});\n\nconst { reducer } = recordsSlice;\n\nexport const {\n selectById: selectRecordById,\n selectIds: selectRecordIds,\n selectEntities: selectRecordEntities,\n selectAll: selectAllRecords,\n selectTotal: selectTotalRecords,\n} = recordsAdapter.getSelectors((state) => state.entities.records);\n\nexport default reducer;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { assign, filter, find, isEqual, merge, remove, sortBy } from \"lodash\";\nimport generateSearchParams from \"src/utils/generateSearchParams\";\nimport { request } from \"src/utils/request\";\n\nexport const fetchMoreSearchResults = createAsyncThunk(\n \"search/fetchMoreSearchResultsStatus\",\n async (page, { getState }) => {\n const SEARCH_ENDPOINT = \"/records.json?\";\n\n if (page < 1) {\n page = 1;\n }\n\n if (page > 100) {\n page = 100;\n }\n\n let { query, filters, activeTab, layout } = getState().ui.search;\n\n const searchParams = assign(\n {},\n merge(generateSearchParams(query, filters, activeTab, layout), {\n page: page,\n })\n );\n\n const response = await request({\n url: SEARCH_ENDPOINT + $.param(searchParams),\n }).then((req) => req.json());\n return response;\n }\n);\n\nconst searchSlice = createSlice({\n name: \"search\",\n initialState: {\n activeRecord: null,\n previouslyActiveRecord: null,\n page: 1,\n results: [],\n loading: false,\n apiAvailable: true,\n mobileFiltersState: \"closed\",\n panel: {\n activeFacetTab: null,\n },\n layout: \"grid\",\n },\n reducers: {\n switchLayoutClick(state, action) {\n state.layout = action.payload;\n },\n updateSearchQuery(state, action) {\n state.query = action.payload;\n },\n selectTab(state, action) {\n state.activeTab = action.payload;\n },\n toggleFacet(state, action) {\n state.refreshWithNewFilters =\n action.payload.refreshWithNewFilters || false;\n if (find(state.filters, action.payload.filter)) {\n remove(state.filters, action.payload.filter);\n } else {\n state.filters.push(action.payload.filter);\n }\n\n state.hasDifferentFilters = !isEqual(\n sortBy(state.initialFilters, \"value\"),\n sortBy(state.filters, \"value\")\n );\n },\n clearFacet(state, action) {\n remove(state.filters, function (f) {\n if (action.payload.facet == \"concept_ids\") {\n return (\n f.facet == action.payload.facet && f.value == action.payload.value\n );\n } else if (action.payload.facet == \"subject\") {\n return (\n f.facet == action.payload.facet && f.value == action.payload.value\n );\n } else {\n return f.facet == action.payload;\n }\n });\n\n state.hasDifferentFilters = !isEqual(\n sortBy(state.initialFilters, \"value\"),\n sortBy(state.filters, \"value\")\n );\n },\n clearAllFacets(state, action) {\n state.filters = [];\n state.refreshWithNewFilters =\n action.payload?.refreshWithNewFilters || false;\n\n state.hasDifferentFilters = !isEqual(\n sortBy(state.initialFilters, \"value\"),\n sortBy(state.filters, \"value\")\n );\n },\n clearFiltersByFacet(state, action) {\n state.filters = filter(\n state.filters,\n (filter) => filter.facet !== action.payload\n );\n\n state.hasDifferentFilters = !isEqual(\n sortBy(state.initialFilters, \"value\"),\n sortBy(state.filters, \"value\")\n );\n },\n toggleFacetTab(state, action) {\n const facetName = action.payload?.facetName;\n state.refreshWithNewFilters =\n action.payload?.refreshWithNewFilters || false;\n\n if (state.panel.activeFacetTab == facetName) {\n state.panel.activeFacetTab = null;\n } else {\n state.panel.activeFacetTab = facetName;\n }\n },\n // Mobile filters\n openMobileFilters(state) {\n state.mobileFiltersState = \"opened\";\n },\n closeMobileFilters(state) {\n state.mobileFiltersState = \"closed\";\n },\n setMobileFiltersState(state, action) {\n state.mobileFiltersState = action.payload;\n },\n updateDateRange(state, action) {\n if (\n find(state.filters, (filter) => {\n return filter.facet == \"date_range\";\n })\n ) {\n remove(state.filters, (filter) => {\n return filter.facet == \"date_range\";\n });\n }\n\n state.filters.push(action.payload);\n\n state.hasDifferentFilters = !isEqual(\n sortBy(state.initialFilters, \"value\"),\n sortBy(state.filters, \"value\")\n );\n },\n toggleError(state, action) {\n state.panel.errors[action.payload.field] = action.payload.value;\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(fetchMoreSearchResults.pending, (state, _action) => {\n state.loading = true;\n })\n .addCase(fetchMoreSearchResults.fulfilled, (state, action) => {\n state.active = null;\n state.loading = false;\n\n state.page = action.payload.page;\n state.per_page = action.payload.per_page;\n state.total = action.payload.total;\n\n state.resultsIds = [...action.payload.records.map((r) => r.id)];\n });\n },\n});\n\nexport const selectSearch = (state) => state.ui.search;\n\nconst { actions, reducer } = searchSlice;\nexport const {\n switchLayoutClick,\n updateSearchQuery,\n closePanel,\n selectTab,\n toggleFacet,\n clearFacet,\n clearAllFacets,\n toggleFacetTab,\n clearFiltersByFacet,\n openMobileFilters,\n closeMobileFilters,\n setMobileFiltersState,\n updateDateRange,\n toggleError,\n} = actions;\n\nexport default reducer;\n","import {\n createAsyncThunk,\n createEntityAdapter,\n createSlice,\n} from \"@reduxjs/toolkit\";\nimport { filter, omit, remove } from \"lodash\";\nimport { snakeToCamelCase } from \"src/utils/keyConverters\";\nimport { request } from \"src/utils/request\";\nimport { blockRemove, fetchStory } from \"./ItemsSlice\";\n\nexport const createStory = createAsyncThunk(\n \"stories/createStoryStatus\",\n async (params) => {\n const { name } = params;\n const url = \"/api/stories.json\";\n\n const response = await request({\n url,\n body: { name: name },\n options: { method: \"POST\" },\n }).then((req) => req.json());\n\n return response;\n }\n);\n\nexport const updateStory = createAsyncThunk(\n \"stories/updateStoryStatus\",\n async ({ storyId, payload }) => {\n const response = await request({\n url: `/api/stories/${storyId}.json`,\n body: payload,\n options: { method: \"PATCH\" },\n }).then((req) => req.json());\n\n return response;\n }\n);\n\nexport const removeItem = createAsyncThunk(\n \"stories/removeItemStatus\",\n async (payload) => {\n const { blockId, storyId } = payload;\n\n if (typeof blockId !== \"undefined\") {\n await request({\n url: `/api/stories/${storyId}/items/${blockId}`,\n body: {},\n options: { method: \"DELETE\" },\n }).then((req) => req.json());\n\n return { blockId: blockId, storyId: storyId };\n } else {\n return payload;\n }\n }\n);\n\nconst storiesAdapter = createEntityAdapter();\n\nconst storiesSlice = createSlice({\n name: \"stories\",\n initialState: {},\n reducers: {\n addItemToStory(state, action) {\n let { storyId, storyItem } = action.payload;\n storyItem = snakeToCamelCase(storyItem);\n let story = state.entities[storyId];\n\n story.recordIds.push({\n recordId: storyItem.recordId,\n storyItemId: storyItem.id,\n });\n\n const itemCount = filter(story.recordIds, function (record) {\n return record.recordId != null;\n });\n\n story.numberOfItems = itemCount.length;\n state.entities[storyId] = story;\n },\n addStory(state, action) {\n storiesAdapter.upsertOne(state, action.payload);\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(updateStory.fulfilled, (state, action) => {\n const story = omit(action.payload, \"contents\");\n storiesAdapter.setOne(state, story);\n })\n .addCase(removeItem.fulfilled, (state, action) => {\n const { blockId, storyId } = action.payload;\n let story = state.entities[storyId];\n\n remove(story.recordIds, function (record) {\n return record.storyItemId == blockId;\n });\n story.numberOfItems = story.recordIds.length;\n state.entities[storyId] = story;\n })\n .addCase(blockRemove.fulfilled, (state, action) => {\n const storyId = action.payload.storyId;\n state.entities[storyId].numberOfItems -= 1;\n })\n .addCase(fetchStory.fulfilled, (state, action) => {\n const story = omit(action.payload.story, \"contents\");\n storiesAdapter.setOne(state, story);\n });\n },\n});\n\nexport const {\n selectById: selectStoryById,\n selectIds: selectStoryIds,\n selectEntities: selectStoryEntities,\n selectAll: selectAllStories,\n selectTotal: selectTotalStories,\n} = storiesAdapter.getSelectors((state) => state.entities.stories);\n\nconst { actions, reducer } = storiesSlice;\nexport const { addItemToStory, addStory } = actions;\n\nexport default reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nconst userSlice = createSlice({\n name: \"user\",\n initialState: {},\n reducers: {},\n});\n\nexport const selectUser = (state) => state.entities.user;\n\nconst { reducer } = userSlice;\n\nexport default reducer;\n","import { combineReducers } from \"@reduxjs/toolkit\";\n\n// entities\nimport emptySearchFacets from \"./features/EmptySearchFacetsSlice\";\nimport items from \"./features/ItemsSlice\";\nimport plugFeatures from \"./features/PlugFeaturesSlice\";\nimport records from \"./features/RecordsSlice\";\nimport stories from \"./features/StoriesSlice\";\nimport user from \"./features/UserSlice\";\n\n// ui\nimport addToStory from \"./features/AddToStorySlice\";\nimport appDetails from \"./features/AppDetailsSlice\";\nimport dropdown from \"./features/DropdownSlice\";\nimport editStory from \"./features/EditStorySlice\";\nimport editUserImage from \"./features/EditUserImageSlice\";\nimport search from \"./features/SearchSlice\";\n\n// dashboard\nimport facets from \"./features/Dashboard/FacetsSlice\";\nimport filters from \"./features/Dashboard/FiltersSlice\";\nimport globalMetrics from \"./features/Dashboard/GlobalMetricsSlice\";\nimport metrics from \"./features/Dashboard/MetricsSlice\";\n\nexport const dashboardReducer = combineReducers({\n facets,\n filters,\n globalMetrics,\n metrics,\n});\n\nexport const recordsReducer = combineReducers({\n entities: combineReducers({\n emptySearchFacets,\n user,\n records,\n stories,\n items,\n plugFeatures,\n }),\n ui: combineReducers({\n appDetails,\n addToStory,\n editStory,\n editUserImage,\n search,\n dropdown,\n }),\n});\n","import { configureStore } from \"@reduxjs/toolkit\";\n\nexport default function configureAppStore(reducer, preloadedState) {\n const store = configureStore({\n reducer: reducer,\n middleware: (getDefaultMiddleware) => getDefaultMiddleware(),\n preloadedState,\n });\n\n return store;\n}\n","import inBrowser from \"./inBrowser\";\n\nclass Analytics {\n static init() {\n if (inBrowser()) {\n window.dataLayer = window.dataLayer || [];\n window.Analytics = Analytics;\n }\n\n Analytics._gtag(\"js\", new Date());\n Analytics._gtag(\"config\", Analytics._googleAnalytics4MeasurementId(), {\n send_page_views: true,\n });\n }\n\n static pageView() {\n Analytics._gtag(\"event\", \"page_view\");\n }\n\n static event(action, category, label) {\n Analytics._gtag(\"event\", action, {\n event_category: category,\n event_label: label,\n });\n }\n\n static onClick(event) {\n const link = event.currentTarget;\n\n Analytics.event(\n link.getAttribute(\"ga-action\"),\n link.getAttribute(\"ga-category\"),\n link.getAttribute(\"ga-label\")\n );\n }\n\n // private\n\n static _gtag() {\n if (inBrowser()) {\n window.dataLayer.push(arguments);\n }\n }\n\n static _googleAnalytics4MeasurementId() {\n if (!inBrowser()) return \"\";\n\n return document\n .querySelector(\"meta[name='google_analytics_4_measurement_id']\")\n .getAttribute(\"content\");\n }\n}\n\nexport default Analytics;\n","import { find, some } from \"lodash\";\nimport {\n addProcessingRecord,\n removeProcessingRecord,\n} from \"src/features/AddToStorySlice\";\nimport { blockAdd } from \"src/features/ItemsSlice\";\nimport { addItemToStory, removeItem } from \"src/features/StoriesSlice\";\n\n/**\n * @param {Object} story\n * @param {Integer} recordId\n * @returns true if the record is present in the story, false otherwise\n */\nexport const isRecordInStory = (story, recordId) => {\n return some(story.recordIds, { recordId: recordId });\n};\n\n/**\n * add and remove items to stories depending on the storiesMap\n *\n * @param {Function} dispatch function to dispatch actions to redux\n * @param {Array} stories every stories linked to the current user\n * @param {Object} storiesMap in the form: {storyId1: true, storyId2: false}\n * true \"meaning add to story\", false meaning \"remove to story\"\n * @param {Object} record to add or remove to the stories\n */\nconst addAndRemoveToStories = async ({\n record,\n storiesMap,\n stories,\n dispatch,\n}) => {\n dispatch(addProcessingRecord(record.id));\n for (let storyId in storiesMap) {\n const story = find(stories, [\"id\", storyId]);\n\n if (storiesMap[storyId] && !isRecordInStory(story, record.id)) {\n const response = await dispatch(\n blockAdd({\n storyId: storyId,\n type: \"embed\",\n subType: \"record\",\n content: record,\n })\n );\n if (response.payload) {\n dispatch(addItemToStory({ storyId, storyItem: response.payload }));\n }\n } else if (!storiesMap[storyId] && isRecordInStory(story, record.id)) {\n const blockId = find(story.recordIds, {\n recordId: record.id,\n }).storyItemId;\n await dispatch(\n removeItem({\n storyId: storyId,\n blockId: blockId,\n recordId: record.recordId,\n })\n );\n }\n }\n dispatch(removeProcessingRecord(record.id));\n};\n\nexport default addAndRemoveToStories;\n","import { compact, isEmpty, trim } from \"lodash\";\n\nexport default function dnzNil(value) {\n return (\n value == \"Unknown\" ||\n value == \"Not specified\" ||\n isEmpty(compact(trim(value)))\n );\n}\n","import moment from \"moment\";\nimport dnzNil from \"./dnzNil\";\n\nexport default function formatDate(\n dateStr,\n expectedFormat = null,\n formatTo = null,\n fallbackStr = \"\"\n) {\n if (dnzNil(dateStr)) return fallbackStr;\n\n formatTo = formatTo || \"DD MMMM YYYY\";\n const momentDate =\n expectedFormat === null\n ? moment(dateStr)\n : moment(dateStr, expectedFormat, true);\n\n return momentDate.isValid() ? momentDate.format(formatTo) : dateStr;\n}\n","import moment from \"moment\";\n\nexport default (startDate, endDate) => {\n if (startDate === endDate) return [startDate];\n\n const dates = [startDate];\n let date = startDate;\n while (date !== endDate) {\n date = moment(date).add(1, \"day\").format(\"YYYY-MM-DD\");\n dates.push(date);\n }\n\n return dates;\n};\n","export default function generateIconClass(category) {\n category = category[0] || \"other\";\n\n if (category.includes(\"&\")) category = category.replace(\"&\", \"and\");\n\n // convert category string to lower case\n // split string into array by where there are spaces\n // join array into string using dashes\n category = category.toLowerCase().split(\" \").join(\"-\");\n\n let className = \"icon--\" + category;\n return className;\n}\n","import { isEmpty, mixin } from \"lodash\";\nimport inflection, { singularize } from \"lodash-inflection\";\nmixin(inflection);\n\nexport default function generateIconClass(category) {\n if (isEmpty(category)) category = [\"Other\"];\n\n let title = category.map((c) => {\n if (c !== \"Data\") {\n return c\n .split(\" \")\n .map((word) => {\n return singularize(word);\n })\n .join(\" \");\n }\n\n return c;\n });\n\n return title.join(\" \");\n}\n","import {\n assign,\n find,\n first,\n groupBy,\n isNil,\n map,\n merge,\n omit,\n reduce,\n} from \"lodash\";\n\nexport default function generateSearchParams(query, filters, activeTab, page) {\n let baseQueryParams = { text: query, i: {}, or: {}, page: page || 1 };\n\n const dateRange = find(filters, (filter) => {\n return filter.facet == \"date_range\";\n });\n\n if (dateRange) {\n const years = dateRange.value.split(\" TO \");\n const fromYear = years[0];\n const toYear = years[1];\n\n baseQueryParams.from_year = fromYear;\n baseQueryParams.to_year = toYear;\n }\n\n // This groups all the filters by what facet they belong to so we can\n // determine whether there are multiple for a facet to determine whether\n // they need to be an 'i' or 'or' parameter\n let groupedFacets = groupBy(filters, \"facet\");\n groupedFacets = omit(groupedFacets, \"date_range\");\n\n if (activeTab !== \"All\" && !isNil(activeTab)) {\n assign(baseQueryParams, { tab: activeTab });\n }\n\n // This reduces the object of grouped facets, which looks like this\n // { content_partner: [ { facet: 'content_partner', value: '95bFM' } ], ... }\n // into the baseQueryParams object.\n //\n // Assigning the filter to either the 'i' or 'or' params depending on whether\n // or not there are multiple filters for a given facet\n const fullQueryParams = reduce(\n groupedFacets,\n (acc, group) => {\n if (group.length === 1) {\n const facet = first(group);\n return assign({}, merge(acc, { i: { [facet.facet]: facet.value } }));\n }\n\n const values = map(group, \"value\");\n const facet = first(group).facet;\n\n return assign({}, merge(acc, { or: { [facet]: values } }));\n },\n baseQueryParams\n );\n\n // This uses the jquery param method to convert an object into properly\n // url encoded query parameters\n return fullQueryParams;\n}\n","import values from \"lodash/values\";\nimport unescapeXMLCharacters from \"src/utils/unescapeXMLCharacters\";\n\n// text (str), type (str), filters (arr)\nexport default function generateTitleText(text, type, filters, tab) {\n text = unescapeXMLCharacters(text);\n\n if (type === \"RECORD\") return [text, \"Record\", \"DigitalNZ\"].join(\" | \");\n else if (type === \"STORY\") return [text, \"Story\", \"DigitalNZ\"].join(\" | \");\n else if (type === \"SEARCH\") {\n let base = [\"Records\", \"DigitalNZ\"];\n\n if (tab) base.unshift(tab);\n\n if (filters && filters.length > 0) {\n const filterString = filters.map((filter) => {\n return values(filter).join(\"=\");\n });\n base.unshift(filterString.join(\" \"));\n }\n\n base.unshift(text);\n return base.join(\" | \");\n }\n}\n","export default function inBrowser() {\n return typeof window !== \"undefined\";\n}\n","import $ from \"jquery\";\n\nconst InputCounter = {\n init: () => {\n $(\"label .input-counter\").each(function () {\n const $counter = $(this);\n const $input = InputCounter.findRelatedInput($counter);\n\n $input.is(\":focus\")\n ? $counter.removeClass(\"input-counter--hidden\")\n : $counter.addClass(\"input-counter--hidden\");\n\n InputCounter.updateCounter($counter, $input);\n $input.keyup(() => {\n InputCounter.updateCounter($counter, $input);\n });\n\n $input.focusin(() => {\n $counter.removeClass(\"input-counter--hidden\");\n });\n $input.focusout(() => {\n $counter.addClass(\"input-counter--hidden\");\n });\n });\n },\n\n updateCounter: ($counter, $input) => {\n const maxLength = parseInt($input.attr(\"maxlength\"));\n const newLength = maxLength - $input.val().length;\n $counter.html(newLength.toString());\n },\n\n findRelatedInput: ($counter) => {\n const $label = $counter.parents(\"label\");\n const input_name = $label.attr(\"for\");\n if (input_name === undefined) {\n return $label.find(\"input, textarea\");\n } else {\n return $(`#${input_name}`);\n }\n },\n};\n\nexport default InputCounter;\n","import {\n camelCase,\n isArray,\n isObject,\n map,\n mapKeys,\n mapValues,\n snakeCase,\n} from \"lodash\";\n\nfunction convertKeys(conversionFunction, target) {\n const boundWithConversion = convertKeys.bind(null, conversionFunction);\n\n if (isArray(target)) return map(target, boundWithConversion);\n if (!isObject(target)) return target;\n\n const targetWithFixedKeys = mapKeys(target, (_value, key) =>\n conversionFunction(key)\n );\n\n return mapValues(targetWithFixedKeys, (v) => {\n // The order of this is important, if istarget is first arrays are converted to targets\n if (isArray(v)) return map(v, boundWithConversion);\n if (isObject(v)) return boundWithConversion(v);\n\n return v;\n });\n}\n\nexport function snakeToCamelCase(target) {\n return convertKeys(camelCase, target);\n}\n\nexport function camelCaseToSnake(target) {\n return convertKeys(snakeCase, target);\n}\n","import isNil from \"lodash/isNil\";\nimport merge from \"lodash/merge\";\nimport inBrowser from \"src/utils/inBrowser\";\nimport { camelCaseToSnake } from \"src/utils/keyConverters\";\n\nexport function csrfParam() {\n if (inBrowser()) {\n return $(\"meta[name=csrf-param]\").attr(\"content\");\n }\n}\n\nexport function csrfToken() {\n if (inBrowser()) {\n return $(\"meta[name=csrf-token]\").attr(\"content\");\n }\n}\n\nexport function request({ url, body, options, stringify = true }) {\n let bodyOption = null;\n if (stringify) {\n bodyOption = isNil(body)\n ? {}\n : {\n body: JSON.stringify(camelCaseToSnake(body)),\n };\n } else {\n bodyOption = { body: body };\n }\n\n let headers = {};\n if (inBrowser()) {\n headers[\"X-CSRF-Token\"] = csrfToken();\n }\n if (!(body instanceof FormData)) {\n headers[\"Content-Type\"] = \"application/json\";\n }\n\n const fetchOptions = merge(\n {},\n {\n credentials: \"include\",\n headers: headers,\n },\n bodyOption,\n options\n );\n\n return fetch(url, fetchOptions).then((response) => {\n if (!response.ok) {\n return response.text().then((text) => {\n let rejectError = null;\n try {\n rejectError = JSON.parse(text);\n } finally {\n rejectError =\n rejectError ||\n `${url}: ${response.status} ${response.statusText}: ${text}`;\n }\n return Promise.reject(rejectError);\n });\n }\n return Promise.resolve(response);\n });\n}\n","export default function totalPages(search) {\n const activeTab = search.activeTab;\n const combinedStats = search.primaryCategoryCounts.concat(\n search.secondaryCategoryCounts\n );\n\n const activeCategoryStats = combinedStats.find(\n (categoryStat) => categoryStat.category === activeTab\n );\n\n const totalRecords = parseInt(activeCategoryStats.count.replace(/,/g, \"\"));\n const total = Math.ceil(totalRecords / search.per_page);\n\n if (total > 100) {\n return 100;\n } else {\n return total;\n }\n}\n","export default function unescapeXMLCharacters(title) {\n const characterEntityMappings = {\n \""\": '\"',\n \"&\": \"&\",\n \"'\": \"'\",\n \"<\": \"<\",\n \">\": \">\",\n };\n\n return title.replace(\n /("|<|>|&|')/g,\n function (str, item) {\n return characterEntityMappings[item];\n }\n );\n}\n","import { useEffect, useState } from \"react\";\nimport inBrowser from \"src/utils/inBrowser\";\n\nfunction getStorageValue(key, defaultValue) {\n // getting stored value\n if (inBrowser()) {\n const saved = localStorage.getItem(key);\n const initial = JSON.parse(saved);\n return initial || defaultValue;\n }\n}\n\nexport const useLocalStorage = (key, defaultValue) => {\n const [value, setValue] = useState(() => {\n return getStorageValue(key, defaultValue);\n });\n\n useEffect(() => {\n // storing input name\n localStorage.setItem(key, JSON.stringify(value));\n }, [key, value]);\n\n return [value, setValue];\n};\n","var map = {\n\t\"./af\": 25177,\n\t\"./af.js\": 25177,\n\t\"./ar\": 61509,\n\t\"./ar-dz\": 41488,\n\t\"./ar-dz.js\": 41488,\n\t\"./ar-kw\": 58676,\n\t\"./ar-kw.js\": 58676,\n\t\"./ar-ly\": 42353,\n\t\"./ar-ly.js\": 42353,\n\t\"./ar-ma\": 24496,\n\t\"./ar-ma.js\": 24496,\n\t\"./ar-ps\": 6947,\n\t\"./ar-ps.js\": 6947,\n\t\"./ar-sa\": 82682,\n\t\"./ar-sa.js\": 82682,\n\t\"./ar-tn\": 89756,\n\t\"./ar-tn.js\": 89756,\n\t\"./ar.js\": 61509,\n\t\"./az\": 95533,\n\t\"./az.js\": 95533,\n\t\"./be\": 28959,\n\t\"./be.js\": 28959,\n\t\"./bg\": 47777,\n\t\"./bg.js\": 47777,\n\t\"./bm\": 54903,\n\t\"./bm.js\": 54903,\n\t\"./bn\": 61290,\n\t\"./bn-bd\": 17357,\n\t\"./bn-bd.js\": 17357,\n\t\"./bn.js\": 61290,\n\t\"./bo\": 31545,\n\t\"./bo.js\": 31545,\n\t\"./br\": 11470,\n\t\"./br.js\": 11470,\n\t\"./bs\": 44429,\n\t\"./bs.js\": 44429,\n\t\"./ca\": 7306,\n\t\"./ca.js\": 7306,\n\t\"./cs\": 56464,\n\t\"./cs.js\": 56464,\n\t\"./cv\": 73635,\n\t\"./cv.js\": 73635,\n\t\"./cy\": 64226,\n\t\"./cy.js\": 64226,\n\t\"./da\": 93601,\n\t\"./da.js\": 93601,\n\t\"./de\": 77853,\n\t\"./de-at\": 26111,\n\t\"./de-at.js\": 26111,\n\t\"./de-ch\": 54697,\n\t\"./de-ch.js\": 54697,\n\t\"./de.js\": 77853,\n\t\"./dv\": 60708,\n\t\"./dv.js\": 60708,\n\t\"./el\": 54691,\n\t\"./el.js\": 54691,\n\t\"./en-au\": 53872,\n\t\"./en-au.js\": 53872,\n\t\"./en-ca\": 28298,\n\t\"./en-ca.js\": 28298,\n\t\"./en-gb\": 56195,\n\t\"./en-gb.js\": 56195,\n\t\"./en-ie\": 66584,\n\t\"./en-ie.js\": 66584,\n\t\"./en-il\": 65543,\n\t\"./en-il.js\": 65543,\n\t\"./en-in\": 9033,\n\t\"./en-in.js\": 9033,\n\t\"./en-nz\": 79402,\n\t\"./en-nz.js\": 79402,\n\t\"./en-sg\": 43004,\n\t\"./en-sg.js\": 43004,\n\t\"./eo\": 32934,\n\t\"./eo.js\": 32934,\n\t\"./es\": 97650,\n\t\"./es-do\": 20838,\n\t\"./es-do.js\": 20838,\n\t\"./es-mx\": 17730,\n\t\"./es-mx.js\": 17730,\n\t\"./es-us\": 56575,\n\t\"./es-us.js\": 56575,\n\t\"./es.js\": 97650,\n\t\"./et\": 3035,\n\t\"./et.js\": 3035,\n\t\"./eu\": 3508,\n\t\"./eu.js\": 3508,\n\t\"./fa\": 119,\n\t\"./fa.js\": 119,\n\t\"./fi\": 90527,\n\t\"./fi.js\": 90527,\n\t\"./fil\": 95995,\n\t\"./fil.js\": 95995,\n\t\"./fo\": 52477,\n\t\"./fo.js\": 52477,\n\t\"./fr\": 85498,\n\t\"./fr-ca\": 26435,\n\t\"./fr-ca.js\": 26435,\n\t\"./fr-ch\": 37892,\n\t\"./fr-ch.js\": 37892,\n\t\"./fr.js\": 85498,\n\t\"./fy\": 37071,\n\t\"./fy.js\": 37071,\n\t\"./ga\": 41734,\n\t\"./ga.js\": 41734,\n\t\"./gd\": 70217,\n\t\"./gd.js\": 70217,\n\t\"./gl\": 77329,\n\t\"./gl.js\": 77329,\n\t\"./gom-deva\": 32124,\n\t\"./gom-deva.js\": 32124,\n\t\"./gom-latn\": 93383,\n\t\"./gom-latn.js\": 93383,\n\t\"./gu\": 95050,\n\t\"./gu.js\": 95050,\n\t\"./he\": 11713,\n\t\"./he.js\": 11713,\n\t\"./hi\": 43861,\n\t\"./hi.js\": 43861,\n\t\"./hr\": 26308,\n\t\"./hr.js\": 26308,\n\t\"./hu\": 90609,\n\t\"./hu.js\": 90609,\n\t\"./hy-am\": 17160,\n\t\"./hy-am.js\": 17160,\n\t\"./id\": 74063,\n\t\"./id.js\": 74063,\n\t\"./is\": 89374,\n\t\"./is.js\": 89374,\n\t\"./it\": 88383,\n\t\"./it-ch\": 21827,\n\t\"./it-ch.js\": 21827,\n\t\"./it.js\": 88383,\n\t\"./ja\": 23827,\n\t\"./ja.js\": 23827,\n\t\"./jv\": 89722,\n\t\"./jv.js\": 89722,\n\t\"./ka\": 41794,\n\t\"./ka.js\": 41794,\n\t\"./kk\": 27088,\n\t\"./kk.js\": 27088,\n\t\"./km\": 96870,\n\t\"./km.js\": 96870,\n\t\"./kn\": 84451,\n\t\"./kn.js\": 84451,\n\t\"./ko\": 63164,\n\t\"./ko.js\": 63164,\n\t\"./ku\": 98174,\n\t\"./ku-kmr\": 6181,\n\t\"./ku-kmr.js\": 6181,\n\t\"./ku.js\": 98174,\n\t\"./ky\": 78474,\n\t\"./ky.js\": 78474,\n\t\"./lb\": 79680,\n\t\"./lb.js\": 79680,\n\t\"./lo\": 15867,\n\t\"./lo.js\": 15867,\n\t\"./lt\": 45766,\n\t\"./lt.js\": 45766,\n\t\"./lv\": 69532,\n\t\"./lv.js\": 69532,\n\t\"./me\": 58076,\n\t\"./me.js\": 58076,\n\t\"./mi\": 41848,\n\t\"./mi.js\": 41848,\n\t\"./mk\": 30306,\n\t\"./mk.js\": 30306,\n\t\"./ml\": 73739,\n\t\"./ml.js\": 73739,\n\t\"./mn\": 99053,\n\t\"./mn.js\": 99053,\n\t\"./mr\": 86169,\n\t\"./mr.js\": 86169,\n\t\"./ms\": 73386,\n\t\"./ms-my\": 92297,\n\t\"./ms-my.js\": 92297,\n\t\"./ms.js\": 73386,\n\t\"./mt\": 77075,\n\t\"./mt.js\": 77075,\n\t\"./my\": 72264,\n\t\"./my.js\": 72264,\n\t\"./nb\": 22274,\n\t\"./nb.js\": 22274,\n\t\"./ne\": 8235,\n\t\"./ne.js\": 8235,\n\t\"./nl\": 92572,\n\t\"./nl-be\": 43784,\n\t\"./nl-be.js\": 43784,\n\t\"./nl.js\": 92572,\n\t\"./nn\": 54566,\n\t\"./nn.js\": 54566,\n\t\"./oc-lnc\": 69330,\n\t\"./oc-lnc.js\": 69330,\n\t\"./pa-in\": 29849,\n\t\"./pa-in.js\": 29849,\n\t\"./pl\": 94418,\n\t\"./pl.js\": 94418,\n\t\"./pt\": 79834,\n\t\"./pt-br\": 48303,\n\t\"./pt-br.js\": 48303,\n\t\"./pt.js\": 79834,\n\t\"./ro\": 24457,\n\t\"./ro.js\": 24457,\n\t\"./ru\": 82271,\n\t\"./ru.js\": 82271,\n\t\"./sd\": 1221,\n\t\"./sd.js\": 1221,\n\t\"./se\": 33478,\n\t\"./se.js\": 33478,\n\t\"./si\": 17538,\n\t\"./si.js\": 17538,\n\t\"./sk\": 5784,\n\t\"./sk.js\": 5784,\n\t\"./sl\": 46637,\n\t\"./sl.js\": 46637,\n\t\"./sq\": 86794,\n\t\"./sq.js\": 86794,\n\t\"./sr\": 45719,\n\t\"./sr-cyrl\": 3322,\n\t\"./sr-cyrl.js\": 3322,\n\t\"./sr.js\": 45719,\n\t\"./ss\": 56000,\n\t\"./ss.js\": 56000,\n\t\"./sv\": 41011,\n\t\"./sv.js\": 41011,\n\t\"./sw\": 40748,\n\t\"./sw.js\": 40748,\n\t\"./ta\": 11025,\n\t\"./ta.js\": 11025,\n\t\"./te\": 34266,\n\t\"./te.js\": 34266,\n\t\"./tet\": 28861,\n\t\"./tet.js\": 28861,\n\t\"./tg\": 86571,\n\t\"./tg.js\": 86571,\n\t\"./th\": 55802,\n\t\"./th.js\": 55802,\n\t\"./tk\": 59527,\n\t\"./tk.js\": 59527,\n\t\"./tl-ph\": 29231,\n\t\"./tl-ph.js\": 29231,\n\t\"./tlh\": 31052,\n\t\"./tlh.js\": 31052,\n\t\"./tr\": 85096,\n\t\"./tr.js\": 85096,\n\t\"./tzl\": 79846,\n\t\"./tzl.js\": 79846,\n\t\"./tzm\": 81765,\n\t\"./tzm-latn\": 97711,\n\t\"./tzm-latn.js\": 97711,\n\t\"./tzm.js\": 81765,\n\t\"./ug-cn\": 48414,\n\t\"./ug-cn.js\": 48414,\n\t\"./uk\": 16618,\n\t\"./uk.js\": 16618,\n\t\"./ur\": 57777,\n\t\"./ur.js\": 57777,\n\t\"./uz\": 57609,\n\t\"./uz-latn\": 72475,\n\t\"./uz-latn.js\": 72475,\n\t\"./uz.js\": 57609,\n\t\"./vi\": 21135,\n\t\"./vi.js\": 21135,\n\t\"./x-pseudo\": 64051,\n\t\"./x-pseudo.js\": 64051,\n\t\"./yo\": 82218,\n\t\"./yo.js\": 82218,\n\t\"./zh-cn\": 52648,\n\t\"./zh-cn.js\": 52648,\n\t\"./zh-hk\": 1632,\n\t\"./zh-hk.js\": 1632,\n\t\"./zh-mo\": 31541,\n\t\"./zh-mo.js\": 31541,\n\t\"./zh-tw\": 50304,\n\t\"./zh-tw.js\": 50304\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 35358;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","_ref","action","loading","moment","_useSelector","useSelector","selectFilters","startDate","endDate","_useState2","_slicedToArray","useState","dateRange","setDateRange","_useState4","focusedInput","setFocusedInput","formatDateRange","format","_jsxs","className","children","_jsx","DateRangePicker","isOutsideRange","day","now","isAfter","minimumNights","initialVisibleMonth","subtract","disabled","startDateId","phrases","chooseAvailableStartDate","_ref2","date","concat","chooseAvailableEndDate","_ref3","endDateId","onDatesChange","_ref4","onClose","_ref5","onFocusChange","orientation","window","innerWidth","verticalHeight","globalMetrics","selectGlobalMetrics","filters","metrics","state","currentMetrics","selectedFacet","allFacetsSelected","dates","generateDateRange","csvContent","totalInteractions","totalViewImpressions","totalNewRecords","metricsDates","difference","length","forEach","newRecords","record","total_new_records","totalItems","total_active_records","interactions","view","records_added_to_user_sets","records_added_to_user_stories","total_source_clickthroughs","viewImpressions","searches","record_page_views","user_set_views","user_story_views","publicSets","total_public_sets","Number","encodedUri","encodeURI","href","download","toFixed","value","values","options","v","onChange","target","MetricsBox","_Component","_classCallCheck","_callSuper","arguments","_inherits","key","$","document","foundation","_this$props","this","props","title","number","description","tooltip","notAvailable","metricInformation","numeral","metricHeader","isString","Component","formatAsOfDescription","selectedMetrics","totalStories","selectedTotalSets","getSelectedFacet","selectedTotalItems","metricsBoxData","whats_new","sum","records","m","items","views","viewData","get","sets","metricBoxes","toPairs","pair","_pair","metricData","MetricBox","_objectSpread","dispatch","useDispatch","selectMetrics","facets","selectFacets","selectedMetricObject","useEffect","facet","dateRangesArray","metricsForFacet","isNil","currentMetricsDates","some","includes","shouldFetchMetrics","fetchMetrics","loadingText","src","SpinnerImage","alt","FacetSelector","selectNewFacet","label","DateRange","selectNewDateRange","DownloadCsv","IndexPage","require","ErrorBoundary","Provider","store","configureAppStore","dashboardReducer","Main","userImage","thumbnailImageUrl","deleteModalOpened","setOpenedDeleteModal","_Fragment","onClick","setEditingUserImage","openEditUserImageModal","role","Modal","isOpen","onRequestClose","method","type","name","csrfParam","csrfToken","WrappedComponent","_class","recordId","category","link","externalLink","imageUrl","AddToStoryButton","buttonClass","editOverlay","EditOverlay","selectAllRecords","activeRecord","selectAddToStory","WithMyUploadedItems","withMyUploadedItems","RecordCard","active","recordsReducer","MyUploadedItems","EditUserImageModal","AddToStoryModalBehaviour","AddToStoryNotification","Router","inBrowser","BrowserRouter","StaticRouter","location","ui","appDetails","Routes","Route","path","element","SearchPage","RecordPage","SearchResults","redirectToRecord","SearchPageApp","_this","search","selectSearch","activeTab","activeCategoryStats","primaryCategoryCounts","secondaryCategoryCounts","find","categoryStat","totalResults","count","eventLabel","query","Analytics","event","DndProvider","backend","HTML5Backend","context","SearchPageResultsOnly","ShowStory","App","MyStories","cards","selectAllStories","coverThumbnail","source","creator","Masonry","gutter","transitionDuration","componentRequireContext","useContext","initApm","serviceName","serverUrl","serviceVersion","environment","process","ignoreTransactions","RegExp","InputCounter","init","bindAll","isEmpty","processingRecordIds","_this2","filter","stories","story","recordIds","_this3","storyIdsToAlwaysAdd","alwaysAddToStory","storiesMap","assign","apply","_toConsumableArray","k","addAndRemoveToStories","openNotification","closeNotification","updateActiveRecord","storyIds","storiesLinkedToRecordIds","storiesLinkedToRecord","isEqual","intersection","_this$props2","isExpanded","buttonModifier","addStoryText","isAddedToEveryStories","AddToStoryDescription","preContent","storyNames","storiesToAlwaysAdd","isProcessing","classNames","handleClick","isARecordAddInProgress","connect","modalIsOpened","content","leftStoryNames","slice","join","CreateStoryForm","valid","setState","preventDefault","storyCreateCb","trim","onSubmit","handleSubmit","htmlFor","placeholder","autoFocus","required","toggleOpenCb","onStoryToggle","numberOfItems","toggleCheckbox","bind","checked","truncate","unescape","AddToStoryForm","checkedStories","initialMap","storyId","changedStoriesMap","boundAddRemoveToStories","activateCreateMode","mode","StoryCheckboxes","AddToStoryModalFactory","loggedIn","focus","isOpened","modeMap","login","Login","createStory","addToStory","changeMode","onAfterClose","_regeneratorRuntime","t","r","prototype","n","hasOwnProperty","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","then","callInvokeWithMethodAndArg","done","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","reverse","pop","prev","charAt","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_asyncToGenerator","_next","_throw","selectUser","_useSelector2","modalIsProcessing","closeModal","_callee","_context","closeModalAction","boundCreateStory","_callee2","response","newStory","_context2","setModalIsProcessing","subType","snakeToCamelCase","payload","addStory","blockAdd","addItemToStory","storyItem","unsetModalIsProcessing","setStoryIdsToAlwaysAdd","_x","_callee3","addedIds","_context3","entries","_x2","_x3","notificationOpened","notificationNumber","addedStories","storiesButtonText","buttonText","divClass","_defineProperty","ReactDOM","stopPropagation","toggleAlwaysAdd","getElementById","hasError","developmentRender","error","info","console","message","stack","ReactModal","bodyOpenClassName","modalClassName","overlayClassName","closeTimeoutMS","overlayElement","contentElement","shouldHaveCloseButton","tabIndex","selectEditUserImage","isFetchingUserImageRecord","isSubmitting","editUserImageModalOpened","userImageBeingEdited","selectRecordById","closeEditUserImageModal","ImageDescriberForm","image","onValidDescriptionSubmit","attributes","submitUserImageEdit","updateBlockData","onBack","backLabel","submitLabel","isExternalLink","_objectWithoutProperties","_excluded","Link","to","storyCreator","displayDate","displayCollection","displayContentPartner","filtered_creator","dnzNil","RecordThumbnail","uniq","compact","formatDate","RecordLink","unescapeXMLCharacters","truncatedTitle","layout","RecordComponent","HorizontalRecordCard","VerticalRecordCard","iconThumbnail","iconClass","generateIconClass","categoryTitle","generateIconTitle","escapedTitle","imageResizedUrl","URL","searchParams","append","hasImage","indexOf","badge","navigate","useNavigate","direction","setDirection","currentRecord","searchRecords","findIndex","nextRecord","Parameterize","omission","previousRecord","results","isFirstRecord","firstRecord","undefined","isLastRecord","fetchResults","page","per_page","total_pages","fetchMoreSearchResults","generateSearchParams","searchValue","parameterName","result","tmp","substr","split","index","decodeURIComponent","findGetParameter","useLocation","displayNav","fromSearchResults","navParams","backPath","backText","fromRouter","previousSearchResult","nextSearchResult","display","param","navProp","hide","totalPages","determineSeparator","array","separator","secondToLastSeparator","isLast","convertArray","component","Fragment","youtubeEmbed","landingUrl","sourceUrl","objectUrl","belongsToUser","urlToOriginalRecord","linkToOriginalRecord","frameBorder","linkProps","RecordImage","READ_MORE_LABEL","ReadMore","buttonLabel","contentClass","maxCharacters","maxSentences","sentences","truncatedContent","isTruncated","classnames","expand","convertArrayItemsToSpans","convertArrayItemsToLinks","queryType","arrayItem","encodeURIComponent","Row","attribute","creatorList","replace","tags","dcType","thesisLevel","user","username","contributingPartner","locations","subject","ReportItem","recaptchaSuccess","canReport","additionalFields","report","offensive","culturallyInsensitive","spam","copyrightViolation","recaptchaHash","reason","email","reportItemModal","handleSuccessfulRecaptcha","handleChange","handleReportItemModalButtonClick","submitReportRecord","resetState","toggleSpinner","params","url","reportRecordRoute","body","request","resp","ok","text","data","prepend","grecaptcha","prop","spinner","hasClass","removeClass","addClass","pickBy","item","option","authHash","maxLength","rows","recaptcha","ReCAPTCHA","sitekey","recaptchaSiteKey","modifier","createdAt","updatedAt","SocialMediaLinks","facebookCommentsUrl","facebookAppId","FacebookProvider","appId","Comments","img_src","img_alt","selected","setSelected","onKeyDown","keyCode","rightsInformation","rightsUrl","MediaInRecordPage","InformationImage","CopyrightImage","MoreInformation","licenseType","licenseTitle","licenseVersion","licenseLocale","licenseText","CreativeCommonsImage","usage","ThumbsUpImage","UnknownImage","rightsElement","rightsProps","hasCreativeCommonsRights","CreativeCommonsRights","AllRightsReserved","UnknownRights","OtherRights","OPEN","shareStatus","shareMessage","modifyStatus","modifyMessage","commercialStatus","commercialMessage","UNKNOWN","RESTRICTED","shareIcon","noShareImage","modifyIcon","noModifyImage","commercialIcon","noCommercialUseImage","shareImage","modifyImage","commercialUseImage","unknownShareImage","unknownModifyImage","unknownCommercialUseImage","researchImage","usageText","setItems","json","itemsAsJson","ExperimentalBlock","entities","autoTagPeople","solrAttr","autoTagPlaces","autoTagOrganisations","autoTagEvents","autoTag","useParams","_selectSearch$results","has","resultsIds","searchLoading","total","selectAppDetails","mapStateToProps","scrollTo","sendDisplayEvent","attr","camelCaseToSnake","Helmet","generateTitleText","RecordPageNav","RecordPreview","RecordActions","RecordDetails","Entities","AutoTags","RecordSideInformation","Rights","Usage","MoreLikeThisItems","RecordFacebookComments","validDateRangeFilter","validDates","range","Date","getFullYear","errors","years","fromYear","parseInt","toYear","toggleError","field","performSearch","urlWithoutQueryParams","host","show","newUrl","mobileFiltersState","panel","activeFacetTab","toggleFacetTab","facetName","setMobileFiltersState","forwardRef","ref","callback","maxYear","selectedYear","pages","chunk","Math","ceil","pageValue","setPageValue","currentPage","activeYear","year","first","last","fromRef","useRef","toRef","fromYearValue","setFromYearValue","toYearValue","setToYearValue","_useState6","fromPickerDisplayed","setFromPickerDisplayed","_useState8","toPickerDisplayed","setToPickerDisplayed","updateDateRange","clearFacet","updateYear","toggleYearPicker","handleClickOutside","current","contains","addEventListener","removeEventListener","from","onFocus","YearPicker","enterCallback","handleEnterPress","toggleFacetFilter","isActive","facetFilterName","facetFilterCount","facetFilterBaseClass","facetFilterActiveClassModifier","isActiveClass","toLocaleString","hasActiveFilters","hasDifferentFilters","refreshWithNewFilters","clearFiltersByFacet","clearFilters","activeFiltersByFacet","chain","getActiveFilterNamesByFacet","facetTabClass","size","toggleFacetTabAndPerformSearch","numberOfFilters","startCase","primary_collection","decade","buildLabelForFacetTab","toggleFacet","displayTitleFor","customLabel","GridIcon","width","height","viewBox","fill","xmlns","ListIcon","_useLocalStorage2","useLocalStorage","storageLayout","setLayout","switchLayoutClick","activeFilters","facetFiltersWithCount","facetFilterTabs","content_partner","order","date_range","alwaysDisplayedFilters","getActiveFiltersForFacet","getNumberOfActiveFacets","clearAllFacetsAndSearch","clearAllFacets","closeFacetFiltersPanel","onKeyUp","pick","FacetFilterTab","activeFilter","IsolatedFilter","MasonryLayoutSwitch","FacetFilterActionBar","DateRangeFilter","enterCallbackType","orderBy","FacetFilter","FilterList","selectTab","listClass","applyFilters","multiple","openMobileFilters","_this4","activeFacetsInPanel","displayFilters","onUpdateFilterClick","filterName","filtersApplied","b","tabName","filterClasses","shift","substring","filtersCount","FilterButton","closeMobileFilters","sortedFilters","sortBy","toUpperCase","fromPairs","CSSTransition","timeout","unmountOnExit","exit","in","MobileFiltersIndex","reduce","categoryLinks","categories","activeCategory","currentSearch","categoriesWithResults","_index","switchSearchMode","advancedSearchEnabled","featureIsEnabled","updateSearchQuery","filterSuggestions","suggestions","inputText","maxResults","suggestion","toLowerCase","selectedItem","findSelectedItem","inputValue","setInputValue","Downshift","onInputValueChange","inputVal","selection","itemToString","getInputProps","getItemProps","getMenuProps","highlightedIndex","getRootProps","openMenu","suppressRefError","selectEmptySearchFacetById","Autocomplete","FIELD_OPTIONS","autocomplete","excludeEnabled","roughlyEnabled","deletable","handleDeleteRow","row","currentField","include","exactMatch","handleTextChange","terms","AutocompleteField","searchHref","queryFilter","initialRows","setRows","fields","_row","protocol","buildFilters","SearchRow","CategoryTab","tabRef","createRef","categoryName","preventScroll","activeTag","disabledTag","categoryLink","PRIMARY_TABS","DropDown","dropdownIsActive","dropdownIsVisible","categoryStats","hideDropdown","tab","toggleDropdown","nativeEvent","stopImmediatePropagation","isUndefined","dropdownIcon","activeClass","selectedStatus","moreTitleCount","tabClass","tabMenus","dropdown","handleFocus","handleKeyUp","getMenuName","_props","searchMode","setSearchMode","item_id","hash","setTimeout","resultsLength","apiAvailable","searchTab","titleText","SearchBox","val","AdvancedSearch","SearchTab","MobileFilters","DesktopFilter","NoResults","reload","match","toString","addToStoryButton","recordLink","startingPage","endingPage","handlePageClick","top","behavior","resultsLayout","WithSearchResults","withSearchResults","Pagination","twitter","facebook","urls","setUrls","facebookParams","twitterParams","URLSearchParams","original_referer","open","addTextBlock","position","onValidImageSubmit","setErrors","_useDropzone","useDropzone","maxSize","accept","onDropAccepted","files","onDropRejected","file","flatten","error_code_to_sentence","isDragActive","cell","dropzone","dropzoneClassNames","UilCloudUpload","ImageSelector","ImageDropzone","onCancel","ImageCopyrightItem","imgSrc","radioSource","activeRadio","inactiveRadio","ImageCopyrightForm","license","handleSelectChange","copyright","onValidCopyrightSubmit","ImageTermsOfUseForm","onValidTermsOfUseSubmit","AddUserImageModal","initialState","imageURL","stage","createObjectURL","onImageUploadSubmit","handleRequestClose","handleValidImageSubmit","handleValidDescriptionSubmit","handleBackOnImageSelection","handleValidCopyrightSubmit","handleBackOnDescription","handleBackOnCopyright","handleValidTermsOfUseSubmit","BlockComponent","dragRef","actionProps","blockProps","scrollY","setScrollY","monitor","isDragging","interval","setInterval","scrollBy","clearInterval","onDrag","getClientOffset","innerHeight","buffer","strength","abs","onDragEnd","CATEGORY_OPTIONS","EditDnzMetaForm","meta","caption","focusedElement","isCover","remove","submit","doneEditing","cancelEditCaptionAndNotes","blockUpdate","blockId","_this$state","ssTePrimarySource","isSchoolAdmin","roles","categoriesDropdown","cat","s2sBoxes","editForm","input","captionInput","Boolean","handleCancel","CloseOnEscape","onEscape","_defineProperties","_toPropertyKey","toPrimitive","String","_toPrimitive","_getPrototypeOf","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","valueOf","_setPrototypeOf","UNAVAILABLE_STORY_CONTENT","deleted","heading","suppressed","StackBlock","deleteMode","deleting","setDelete","blockRemove","_removeBlock","Overlay","updateBlock","activeRecordItem","isOver","titleTag","removeItem","removeBlock","isSmallBlock","alignMode","status","parameters","head","contentPartner","equalizerClasses","modeMappings","subtypeMappings","DNZRecord","dropdownID","selectDropdown","imageUploadEnabled","imageId","handleClickOffDropdown","closeDropdown","modifiable","alignment","fadeOut","cb","elem","Foundation","Motion","animateOut","fadeIn","animateIn","expandCb","expandBlock","blockMetadataUpdate","fieldName","compressCb","compressBlock","alignmentElem","UilArrowsHAlt","UilShrink","hideButtonClass","dropdownClasses","openDropdown","UilEllipsisH","editCaptionAndNotes","UilEditAlt","fetchUserImageRecord","UilFileEditAlt","UilTrashAlt","activeTextItem","dangerouslySetInnerHTML","__html","editTextBlock","Array","isArray","_arrayWithHoles","_iterableToArrayLimit","_arrayLikeToArray","test","_unsupportedIterableToArray","_nonIterableRest","opened","setOpened","setDeleting","deleteTextBlock","linkModal","editor","setLinkModal","linkHref","setLinkHref","linkExternal","setLinkExternal","linkInput","setError","setLink","useCallback","checkValidity","linkTarget","extendMarkRange","run","for","editing","modalOpened","setModalOpened","setValue","disableSave","setDisableSave","_useState10","_useState12","storyTextBlockCount","selectBlocks","parseTextContent","onbeforeunload","finishEditing","confirm","useEditor","extensions","StarterKit","Underline","configure","autolink","HTMLAttributes","rel","Placeholder","onUpdate","getHTML","sanitizeHtml","exclusiveFilter","frame","allowedTags","submitChanges","privacy","openPrivacyModal","displayLinkModal","previousUrl","getAttributes","previousChecked","displayInlinePrivacyReminder","LinkModal","DeleteTextModal","toggleBold","toggleItalic","toggleMark","toggleBulletList","toggleOrderedList","toggleBlockquote","unsetLink","toggleHeading","level","undo","redo","EditorContent","cancelAddTextBlock","RichText","otherProps","RichTextBlock","typeMappings","embed","setActive","addBlock","findBlockIndex","viewMode","rowId","slotId","_useDrag","useDrag","collect","canDrag","_useDrag2","onBlur","BlockWrapper","dropBlock","blocks","dropTarget","dragSource","droppingOnSelf","largeBlock","onTheFarLeft","distance","inTheMiddle","onTheFarRight","alreadyInPosition","blockToMove","smallBlock","smallBlockMovingBackwards","block","emptyBlock","replaceMovedBlockWithEmptyBlock","newIndex","splice","blocksCopy","blockToRemove","removeExcessBlocks","emptyBlockOne","emptyBlockTwo","completeLargeBlockRow","correctPositions","storyBlocks","_content$content","editable","hasLargeBlock","activeSlot","_useDrop","useDrop","drop","dragSourceItem","updateStoryBlocks","updateActiveSlot","hover","blockSize","adjacentRowId","dropRef","dropClasses","insiderContent","outerClasses","unavailableStory","sizeClasses","blockClasses","Block","metadata","emptyClasses","slot__drop_target","containsTextBlock","nextRowContainsTextBlock","contents","storyProps","Slot","AddTextArea","isInternalLink","startsWith","Story","imageModalIsOpened","errorModalIsOpened","uploadingImage","each","_idx","addExternalLinkStyles","prevProps","repositionApiBlocks","reInit","numberOfImages","maxImagesPerUser","somethingWentWrong","imageObject","formData","FormData","fakeId","blockFakeAdd","stringify","blockFakeRemove","imageUploadDisabled","openModal","openUploadImageModalButton","handleImageUploadSubmit","ownProps","featureIsDisabled","selectEditStory","selectStoryById","StoryContainer","privacyModal","privateModal","publicModal","modal","updateStory","makeStoryPrivate","keepStoryPublic","TextForm","autosize","textArea","updateCb","finishEditingKeyDown","privacyTextMap","RightsForm","privacyState","shareModal","publishModal","storyState","storyName","nextProps","resetForm","updatePrivacy","canBePublic","accessDisplayClassFor","manageAccessButton","accessDisplayTextFor","rejectedMessage","manageAccess","displayAccessState","right","updateAccessRight","saveRights","toggleS2S","featured","heTohu","CopyrightLicence","copyrightModal","Header","deleteModal","helpModal","Reveal","subjects","subjectsArray","storyMetadataUpdateCb","deleteStoryMessage","deleteStoryIcon","without","isAdmin","convertSubjectsToArray","TopicExplorerForm","deleteStory","storyError","shouldCloseOnOverlayClick","shouldCloseOnEsc","countStoryTextBlocks","headerProps","header","BaseLayout","StoryError","DeleteControls","setDeleteStory","WithMyStories","withMyStories","Sidebar","StoryHeader","subjectSpans","curr","searchParam","cloneElement","blocksStoryId","selectStoryId","blocksAreLoaded","fetchStory","userOwnsStory","userId","apiId","EditStory","StoryLayout","datepicker","dateFormat","onSelect","handleDisplayDateChange","field_with_errors","handleTitleChange","handleDescriptionChange","handleSubjectChange","defaultValue","handleCreatorChange","blocksParam","blocksToMove","finalPosition","maxPositions","inCorrectPosition","positions","movedBlock","rowsToRemove","rowEmpty","pullAt","every","slot","addToStorySlice","createSlice","reducers","addProcessingRecord","removeProcessingRecord","actions","reducer","appDetailsSlice","facetsSlice","filtersSlice","getStartDate","getEndDate","globalMetricsSlice","extraReducers","builder","addCase","pending","_","fulfilled","_i","_Object$keys","rejected","createSelector","createAsyncThunk","rejectWithValue","facetParam","fetch","metricsSlice","facetMetrics","currentMetrics_","defaultState","activeDates","relevantMetrics","acc","el","dropdownSlice","handleDoneEditing","EditStorySlice","storyIsLoading","_action","editStory","EditUserImageSlice","submitUserImageEditOpened","userImageError","editUserImage","emptySearchFacetsAdapter","createEntityAdapter","emptySearchFacetsSlice","_emptySearchFacetsAda","getSelectors","emptySearchFacets","selectById","selectIds","selectEntities","selectAll","selectTotal","t0","postPayload","omitBy","changes","_x4","_ref6","_callee4","getState","currentBlock","newValue","newMeta","_context4","_x5","_x6","_ref7","_callee5","itemPayload","_context5","_x7","_ref9","_callee6","_ref8","_context6","selectBlockById","_x8","_x9","itemsSlice","indexOfBlockToChange","changedBlock","_block","blockIndex","currentIndex","_action$payload","blockToUpdateIndex","_action$payload2","fakeBlock","newBlock","newBlocks","indexOfNewBlock","decrementAmount","plugFeaturesAdapter","_plugFeaturesAdapter$","plugFeatures","selectAllPlugFeatures","slug","feature","selectPlugFeatureBySlug","userImageId","user_image","recordsAdapter","setOne","setMany","_recordsAdapter$getSe","_getState$ui$search","merge","searchSlice","previouslyActiveRecord","initialFilters","_action$payload3","closePanel","storiesAdapter","storiesSlice","storyItemId","itemCount","upsertOne","omit","_storiesAdapter$getSe","userSlice","combineReducers","preloadedState","configureStore","middleware","getDefaultMiddleware","dataLayer","_gtag","_googleAnalytics4MeasurementId","send_page_views","event_category","event_label","currentTarget","getAttribute","querySelector","isRecordInStory","t1","dateStr","expectedFormat","formatTo","fallbackStr","momentDate","isValid","add","word","singularize","mixin","inflection","baseQueryParams","or","from_year","to_year","groupedFacets","groupBy","group","base","unshift","filterString","$counter","$input","findRelatedInput","is","updateCounter","keyup","focusin","focusout","newLength","html","$label","parents","input_name","convertKeys","conversionFunction","boundWithConversion","isObject","targetWithFixedKeys","mapKeys","_value","mapValues","camelCase","snakeCase","_ref$stringify","bodyOption","JSON","headers","fetchOptions","credentials","rejectError","parse","statusText","reject","totalRecords","characterEntityMappings","str","_useState","saved","localStorage","getItem","getStorageValue","setItem"],"sourceRoot":""}