{"version":3,"sources":["components/pages/moderation/support/moderation-meeting.png","components/pages/moderation/support/hero-image-2.png","components/pages/moderation/support/beyond-gut-feeling-sml.png","common/images/duck.gif","components/upsell/duck-rocket.gif","components/pages/moderation/current-invitations/mountains.png","components/pages/moderation/my-files/hero-image-2.png","components/pages/moderation/archived-files/octopus.png","components/pages/moderation/school-files/hero-image-2.png","components/pages/moderation/organisation-files/octopus.png","components/pages/moderation/examples/octopus.png","components/pages/moderation/trainings/octopus.png","components/pages/moderation/support/mod-lp.png","components/pages/moderation/support/floating_teacher.png","components/pages/moderation/work-with-moderator/simon.jpg","components/pages/moderation/support/training-cover-video.jpg","components/app/app.styles.js","components/pages/assessment-file/navigation/navigation.styles.js","components/pages/assessment-file/navigation/back-link/back-link.styles.js","components/pages/assessment-file/navigation/back-link/back-link.jsx","stores/assessment-file/assessment-file.selectors.js","stores/works/works.selectors.js","components/pages/assessment-file/navigation/back-link/back-link.container.js","components/pages/assessment-file/navigation/nav-link/nav-link.styles.js","components/pages/assessment-file/navigation/nav-link/nav-link.jsx","components/pages/assessment-file/navigation/navigation.jsx","components/pages/assessment-file/navigation/navigation.container.js","components/pages/assessment-file/cover/cover.styles.js","components/pages/assessment-file/cover/intro/intro.styles.js","components/pages/assessment-file/cover/intro/context-menu/context-menu.jsx","components/pages/assessment-file/cover/intro/context-menu/context-menu.styles.js","common/api/assessment.js","stores/assessment-file/assessment-file.actions.js","stores/examples/examples.actions.js","components/pages/assessment-file/cover/intro/context-menu/context-menu.container.js","components/pages/assessment-file/cover/intro/intro.jsx","stores/discussion/discussion.selectors.js","components/pages/assessment-file/cover/intro/intro.container.js","components/pages/assessment-file/cover/discussion/discussion.styles.js","components/shared/contribution-form/contribution-form.styles.js","components/shared/contribution-form/contribution-form.jsx","common/api/discussion.js","stores/discussion/discussion.actions.js","components/shared/contribution-form/contribution-form.container.js","components/shared/discussion-feed/discussion-feed.styles.js","components/shared/discussion-feed/action/action.styles.js","components/shared/discussion-feed/action/action-comment/action-comment.styles.js","components/shared/discussion-feed/action/action-comment/context-menu/context-menu.jsx","components/shared/discussion-feed/action/action-comment/context-menu/context-menu.styles.js","components/shared/discussion-feed/action/action-comment/context-menu/context-menu.container.js","components/shared/discussion-feed/action/action-comment/action-comment-reply/action-comment-reply.styles.js","components/shared/discussion-feed/action/action-comment/action-comment-reply/context-menu/context-menu.jsx","components/shared/discussion-feed/action/action-comment/action-comment-reply/context-menu/context-menu.styles.js","components/shared/discussion-feed/action/action-comment/action-comment-reply/context-menu/context-menu.container.js","components/shared/discussion-feed/action/action-comment/action-comment-reply/action-comment-reply.jsx","components/shared/discussion-feed/action/action-comment/action-comment-reply/action-comment-reply.container.js","components/shared/discussion-feed/action/action-comment/action-comment.jsx","components/shared/discussion-feed/action/action-comment/action-comment.container.js","components/shared/discussion-feed/action/action-conclusion/action-conclusion.styles.js","components/shared/discussion-feed/action/action-conclusion/action-conclusion.jsx","components/shared/discussion-feed/action/action-conclusion/action-conclusion.container.js","components/shared/discussion-feed/action/action-unmark-conclusion/action-unmark-conclusion.styles.js","components/shared/discussion-feed/action/action-unmark-conclusion/action-unmark-conclusion.jsx","components/shared/discussion-feed/action/action-unmark-conclusion/action-unmark-conclusion.container.js","components/shared/discussion-feed/action/action-add-work/action-add-work.styles.js","components/shared/discussion-feed/action/action-add-work/action-add-work.jsx","components/shared/discussion-feed/action/action-add-work/action-add-work.container.js","components/shared/discussion-feed/action/action-remove-work/action-remove-work.styles.js","components/shared/discussion-feed/action/action-remove-work/action-remove-work.jsx","components/shared/discussion-feed/action/action.map.js","components/shared/discussion-feed/action/action-remove-work/action-remove-work.container.js","components/shared/discussion-feed/action/action.jsx","components/shared/discussion-feed/action/action.container.js","components/shared/discussion-feed/action/action-comment/context-menu/edit-contribution-dialog/edit-contribution-dialog.styles.js","components/shared/discussion-feed/action/action-comment/context-menu/edit-contribution-dialog/edit-contribution-dialog.jsx","components/shared/discussion-feed/action/action-comment/context-menu/edit-contribution-dialog/edit-contribution-dialog.container.js","components/shared/discussion-feed/discussion-feed.jsx","components/shared/discussion-feed/discussion-feed.container.js","components/pages/assessment-file/cover/discussion/discussion.jsx","components/pages/assessment-file/cover/discussion/discussion.container.js","components/pages/assessment-file/cover/works/works.styles.js","components/pages/assessment-file/cover/works/works.jsx","components/pages/assessment-file/cover/works/works.container.js","components/pages/assessment-file/cover/sidebar/sidebar.styles.js","components/pages/assessment-file/cover/sidebar/contributors/contributors.styles.js","components/pages/assessment-file/cover/sidebar/contributors/contributor/contributor.styles.js","components/pages/assessment-file/cover/sidebar/contributors/contributor/contributor.jsx","components/pages/assessment-file/cover/sidebar/contributors/contributor/contributor.container.js","components/shared/assessment-invitation-modal/info-message/info-message.jsx","components/shared/assessment-invitation-modal/info-message/info-message.styles.js","components/shared/assessment-invitation-modal/info-message/info-message.container.js","components/shared/assessment-invitation-modal/assessment-invitation-modal.jsx","components/shared/assessment-invitation-modal/assessment-invitation-modal.container.js","components/upsell/upsell.jsx","components/pages/assessment-file/cover/sidebar/contributors/contributors.jsx","components/pages/assessment-file/cover/sidebar/contributors/contributors.container.js","components/pages/assessment-file/cover/sidebar/sidebar.jsx","components/shared/edit-title-dialog/edit-title-dialog.styles.js","components/shared/edit-title-dialog/edit-title-dialog.jsx","components/shared/edit-title-dialog/edit-title-dialog.container.js","components/shared/invitees-dialog/invitees-dialog.styles.js","components/shared/invitees-dialog/invitees-dialog.jsx","components/shared/invitees-dialog/invitees-dialog.container.js","components/pages/assessment-file/cover/cover.jsx","stores/works/works.actions.js","components/pages/assessment-file/cover/cover.container.js","components/pages/assessment-file/works/works.styles.js","components/pages/assessment-file/works/works-header/works-header.styles.js","components/pages/assessment-file/works/works-header/works-header.jsx","components/pages/assessment-file/works/works-header/works-header.container.js","components/pages/assessment-file/works/works-table/work-entry/context-menu/context-menu.jsx","components/pages/assessment-file/works/works-table/work-entry/context-menu/context-menu.styles.js","components/pages/assessment-file/works/works-table/work-entry/context-menu/context-menu.container.js","components/pages/assessment-file/works/works-table/work-entry/work-entry.jsx","components/pages/assessment-file/works/works-table/work-entry/work-entry.styles.js","components/pages/assessment-file/works/works-table/work-entry/work-entry.container.js","components/pages/assessment-file/works/works-table/works-table.jsx","components/pages/assessment-file/works/works-table/works-table.styles.js","components/pages/assessment-file/works/works-table/works-table.container.js","components/pages/assessment-file/works/work-skeleton/entry-skeleton/entry-skeleton.jsx","components/pages/assessment-file/works/work-skeleton/entry-skeleton/entry-skeleton.styles.js","components/pages/assessment-file/works/work-skeleton/work-skeleton.jsx","components/pages/assessment-file/works/work-skeleton/work-skeleton.styles.js","components/shared/add-works-dialog/add-works-dialog.styles.js","components/shared/add-works-dialog/add-works-dialog.jsx","components/shared/add-works-dialog/add-works-dialog.container.js","components/pages/assessment-file/works/works.jsx","components/pages/assessment-file/works/works.container.js","components/pages/assessment-file/assessment/assessment.styles.js","components/pages/assessment-file/assessment/scene/scene.styles.js","components/pages/assessment-file/assessment/scene/actions/actions.styles.js","components/pages/assessment-file/assessment/scene/actions/contribution-modal/contribution-modal.styles.js","components/pages/assessment-file/assessment/scene/actions/contribution-modal/contribution-modal.jsx","components/pages/assessment-file/assessment/scene/actions/contribution-modal/contribution-modal.container.js","components/pages/assessment-file/assessment/scene/actions/actions.jsx","components/pages/assessment-file/assessment/scene/actions/actions.container.js","components/pages/assessment-file/assessment/scene/work-select/work-select.styles.js","components/pages/assessment-file/assessment/scene/work-select/work-select.jsx","components/pages/assessment-file/assessment/scene/work-select/work-select.container.js","components/pages/assessment-file/assessment/scene/pagination/pagination.styles.js","components/pages/assessment-file/assessment/scene/pagination/pagination.jsx","components/pages/assessment-file/assessment/scene/pagination/pagination.container.js","components/pages/assessment-file/assessment/scene/media/media.styles.js","components/pages/assessment-file/assessment/scene/media/media.jsx","components/pages/assessment-file/assessment/scene/media/media.container.js","components/pages/assessment-file/assessment/scene/discussion/discussion.styles.js","components/pages/assessment-file/assessment/scene/discussion/discussion.jsx","components/pages/assessment-file/assessment/scene/discussion/discussion.container.js","components/pages/assessment-file/assessment/scene/scene.jsx","components/pages/assessment-file/assessment/scene/scene.container.js","components/pages/assessment-file/assessment/assessment.jsx","components/pages/assessment-file/assessment/assessment.container.js","components/pages/assessment-file/assessment-file.jsx","components/pages/moderation/moderation.styles.js","components/pages/moderation/tab-nav/tab-nav.styles.js","components/pages/moderation/tab-nav/tab-link/tab-link.styles.js","components/pages/moderation/tab-nav/tab-link/tab-link.jsx","components/pages/moderation/tab-nav/tab-nav.jsx","stores/current-invitations/current-invitations.selectors.js","components/pages/moderation/tab-nav/tab-nav.container.js","components/pages/moderation/current-invitations/current-invitations.styles.js","components/pages/moderation/current-invitations/current-table/current-entry/context-menu/context-menu.jsx","components/pages/moderation/current-invitations/current-table/current-entry/context-menu/context-menu.styles.js","common/api/profile.js","common/api/invitations.js","stores/current-invitations/current-invitations.actions.js","stores/my-files/my-files.actions.js","components/pages/moderation/current-invitations/current-table/current-entry/context-menu/context-menu.container.js","components/pages/moderation/current-invitations/current-table/current-entry/current-entry.jsx","components/pages/moderation/current-invitations/current-table/current-entry/current-entry.styles.js","components/pages/moderation/current-invitations/current-table/current-entry/current-entry.container.js","components/pages/moderation/current-invitations/current-table/bulk-action/bulk-action.jsx","components/pages/moderation/current-invitations/current-table/bulk-action/bulk-action.styles.js","components/pages/moderation/current-invitations/current-table/bulk-action/bulk-action.container.js","components/pages/moderation/current-invitations/current-table/current-table.jsx","components/pages/moderation/current-invitations/current-table/current-table.styles.js","components/pages/moderation/current-invitations/current-table/current-table.container.js","components/pages/moderation/current-invitations/current-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/current-invitations/current-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/current-invitations/current-skeleton/current-skeleton.jsx","components/pages/moderation/current-invitations/current-skeleton/current-skeleton.styles.js","components/pages/moderation/current-invitations/current-invitations.jsx","components/pages/moderation/current-invitations/current-invitations.container.js","components/pages/moderation/archived-invitations/archived-invitations.styles.js","components/pages/moderation/archived-invitations/archived-table/archived-entry/archived-entry.jsx","components/pages/moderation/archived-invitations/archived-table/archived-entry/archived-entry.styles.js","stores/archived-invitations/archived-invitations.selectors.js","components/pages/moderation/archived-invitations/archived-table/archived-entry/archived-entry.container.js","components/pages/moderation/archived-invitations/archived-table/archived-table.jsx","components/pages/moderation/archived-invitations/archived-table/archived-table.styles.js","components/pages/moderation/archived-invitations/archived-table/archived-table.container.js","components/pages/moderation/archived-invitations/archived-skeleton/archived-skeleton-entry/archived-skeleton-entry.jsx","components/pages/moderation/archived-invitations/archived-skeleton/archived-skeleton-entry/archived-skeleton-entry.styles.js","components/pages/moderation/archived-invitations/archived-skeleton/archived-skeleton.jsx","components/pages/moderation/archived-invitations/archived-skeleton/archived-skeleton.styles.js","components/pages/moderation/archived-invitations/archived-invitations.jsx","stores/archived-invitations/archived-invitations.actions.js","components/pages/moderation/archived-invitations/archived-invitations.container.js","components/pages/moderation/my-files/my-files.styles.js","components/pages/moderation/my-files/my-files-table/my-files-entry/context-menu/context-menu.jsx","components/pages/moderation/my-files/my-files-table/my-files-entry/context-menu/context-menu.styles.js","stores/my-files/my-files.selectors.js","components/pages/moderation/my-files/my-files-table/my-files-entry/context-menu/context-menu.container.js","components/pages/moderation/my-files/my-files-table/my-files-entry/my-files-entry.jsx","components/pages/moderation/my-files/my-files-table/my-files-entry/my-files-entry.styles.js","components/pages/moderation/my-files/my-files-table/my-files-entry/my-files-entry.container.js","components/pages/moderation/my-files/my-files-table/my-files-table.jsx","components/pages/moderation/my-files/my-files-table/my-files-table.styles.js","components/pages/moderation/my-files/my-files-table/my-files-table.container.js","components/pages/moderation/my-files/my-files-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/my-files/my-files-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/my-files/my-files-skeleton/current-skeleton.jsx","components/pages/moderation/my-files/my-files-skeleton/current-skeleton.styles.js","components/pages/moderation/my-files/my-files.jsx","components/pages/moderation/my-files/my-files.container.js","components/pages/moderation/archived-files/archived-files.styles.js","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/context-menu/context-menu.jsx","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/context-menu/context-menu.styles.js","stores/archived-files/archived-files.actions.js","stores/archived-files/archived-files.selectors.js","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/context-menu/context-menu.container.js","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/archived-files-entry.jsx","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/archived-files-entry.styles.js","components/pages/moderation/archived-files/archived-files-table/archived-files-entry/archived-files-entry.container.js","components/pages/moderation/archived-files/archived-files-table/archived-files-table.jsx","components/pages/moderation/archived-files/archived-files-table/archived-files-table.styles.js","components/pages/moderation/archived-files/archived-files-table/archived-files-table.container.js","components/pages/moderation/archived-files/archived-files-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/archived-files/archived-files-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/archived-files/archived-files-skeleton/current-skeleton.jsx","components/pages/moderation/archived-files/archived-files-skeleton/current-skeleton.styles.js","components/pages/moderation/archived-files/archived-files.jsx","components/pages/moderation/archived-files/archived-files.container.js","components/pages/moderation/school-files/school-files.styles.js","components/pages/moderation/school-files/school-files-table/school-files-entry/context-menu/context-menu.jsx","components/pages/moderation/school-files/school-files-table/school-files-entry/context-menu/context-menu.styles.js","stores/school-files/school-files.actions.js","stores/school-files/school-files.selectors.js","components/pages/moderation/school-files/school-files-table/school-files-entry/context-menu/context-menu.container.js","components/pages/moderation/school-files/school-files-table/school-files-entry/school-files-entry.jsx","components/pages/moderation/school-files/school-files-table/school-files-entry/school-files-entry.styles.js","components/pages/moderation/school-files/school-files-table/school-files-entry/school-files-entry.container.js","components/pages/moderation/school-files/school-files-table/school-files-table.jsx","components/pages/moderation/school-files/school-files-table/school-files-table.styles.js","components/pages/moderation/school-files/school-files-table/school-files-table.container.js","components/pages/moderation/school-files/school-files-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/school-files/school-files-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/school-files/school-files-skeleton/current-skeleton.jsx","components/pages/moderation/school-files/school-files-skeleton/current-skeleton.styles.js","components/pages/moderation/school-files/school-files-filter/cell/cell.jsx","components/pages/moderation/school-files/school-files-filter/cell/cell.styles.js","components/pages/moderation/school-files/school-files-filter/school-files-filter.jsx","components/pages/moderation/school-files/school-files-filter/school-files-filter.container.js","components/pages/moderation/school-files/school-files.jsx","components/pages/moderation/school-files/school-files.container.js","components/pages/moderation/organisation-files/organisation-files.styles.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/context-menu/context-menu.jsx","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/context-menu/context-menu.styles.js","stores/organisation-files/organisation-files.actions.js","stores/organisation-files/organisation-files.selectors.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/context-menu/context-menu.container.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/organisation-files-entry.jsx","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/organisation-files-entry.styles.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-entry/organisation-files-entry.container.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-table.jsx","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-table.styles.js","components/pages/moderation/organisation-files/organisation-files-table/organisation-files-table.container.js","components/pages/moderation/organisation-files/organisation-files-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/organisation-files/organisation-files-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/organisation-files/organisation-files-skeleton/current-skeleton.jsx","components/pages/moderation/organisation-files/organisation-files-skeleton/current-skeleton.styles.js","components/pages/moderation/organisation-files/organisation-files.jsx","components/pages/moderation/organisation-files/organisation-files.container.js","components/pages/moderation/examples/examples.styles.js","components/pages/moderation/examples/examples-section/examples-entry/examples-entry.jsx","components/pages/moderation/examples/examples-section/examples-entry/examples-entry.styles.js","stores/examples/examples.selectors.js","components/pages/moderation/examples/examples-section/examples-entry/examples-entry.container.js","components/pages/moderation/examples/examples-section/examples-section.jsx","components/pages/moderation/examples/examples-section/examples-section.styles.js","components/pages/moderation/examples/examples-section/examples-section.container.js","components/pages/moderation/examples/examples-table/examples-entry/context-menu/context-menu.jsx","components/pages/moderation/examples/examples-table/examples-entry/context-menu/context-menu.styles.js","components/pages/moderation/examples/examples-table/examples-entry/context-menu/context-menu.container.js","components/pages/moderation/examples/examples-table/examples-entry/examples-entry.jsx","components/pages/moderation/examples/examples-table/examples-entry/examples-entry.styles.js","components/pages/moderation/examples/examples-table/examples-entry/examples-entry.container.js","components/pages/moderation/examples/examples-table/examples-table.jsx","components/pages/moderation/examples/examples-table/examples-table.styles.js","components/pages/moderation/examples/examples-table/examples-table.container.js","components/pages/moderation/examples/examples.jsx","components/pages/moderation/examples/examples.container.js","components/pages/moderation/trainings/trainings.styles.js","components/pages/moderation/trainings/trainings-table/trainings-entry/context-menu/context-menu.jsx","components/pages/moderation/trainings/trainings-table/trainings-entry/context-menu/context-menu.styles.js","stores/trainings/trainings.actions.js","stores/trainings/trainings.selectors.js","components/pages/moderation/trainings/trainings-table/trainings-entry/context-menu/context-menu.container.js","components/pages/moderation/trainings/trainings-table/trainings-entry/trainings-entry.jsx","components/pages/moderation/trainings/trainings-table/trainings-entry/trainings-entry.styles.js","components/pages/moderation/trainings/trainings-table/trainings-entry/trainings-entry.container.js","components/pages/moderation/trainings/trainings-table/trainings-table.jsx","components/pages/moderation/trainings/trainings-table/trainings-table.styles.js","components/pages/moderation/trainings/trainings-table/trainings-table.container.js","components/pages/moderation/trainings/trainings-skeleton/current-skeleton-entry/current-skeleton-entry.jsx","components/pages/moderation/trainings/trainings-skeleton/current-skeleton-entry/current-skeleton-entry.styles.js","components/pages/moderation/trainings/trainings-skeleton/current-skeleton.jsx","components/pages/moderation/trainings/trainings-skeleton/current-skeleton.styles.js","components/pages/moderation/trainings/trainings.jsx","components/pages/moderation/trainings/trainings.container.js","components/pages/moderation/support/support.styles.js","components/pages/moderation/support/support.jsx","components/pages/moderation/work-with-moderator/work-with-moderator.styles.js","components/pages/moderation/work-with-moderator/work-with-moderator.jsx","components/pages/moderation/moderation.jsx","components/pages/moderation/moderation.container.js","components/app/app.js","stores/assessment-file/assessment-file.reducer.js","stores/works/works.reducer.js","stores/discussion/discussion.reducer.js","stores/current-invitations/current-invitations.reducer.js","stores/archived-invitations/archived-invitations.reducer.js","stores/my-files/my-files.reducer.js","stores/archived-files/archived-files.reducer.js","stores/examples/examples.reducer.js","stores/trainings/trainings.reducer.js","stores/school-files/school-files.reducer.js","stores/organisation-files/organisation-files.reducer.js","reducer.js","index.js"],"names":["module","exports","styles","container","maxWidth","margin","display","backgroundColor","boxShadow","flexShrink","flexDirection","justifyContent","nav","padding","fontSize","listStyle","_ref","COLORS","back","alignItems","textDecoration","color","BLUE","NORMAL","injectSheet","classes","url","link","match","params","workId","React","createElement","Link","to","className","CaretLeft","getState","state","AssessmentFile","getFetchRequest","fetchAssessmentFileRequest","getAssessmentFile","assessmentFile","getContributors","contributors","getContributorsMap","createSelector","entities","getContributorsResult","result","getContributorsList","contributorsMap","map","id","getContributorsCount","length","isInvitationModalOpen","invitationAssessmentDialog","opened","getAssessmentFileId","getAssessmentFileConclusionState","concluded","getAssessmentFileClosedState","closed","getFetchInvitationRequest","Discussion","inviteContributorRequest","getInvitees","invitees","getInviteesMap","getInviteesResult","getInviteesList","inviteesMap","Works","fetchWorksRequest","getWorksAssessmentFileId","getWorksAssessmentFileTitle","title","getWorksAssessmentFileStudent","student_types","getWorks","works","getWorksMap","getWorksResult","getWorksCount","getWorksList","worksMap","getWork","getMediaKey","mediaKey","withRouter","withMe","connect","mapStateToProps","history","me","canManageAFs","account","policy","can_manage_assessment_files","assessmentFileId","BackLink","position","height","borderLeft","transition","width","left","bottom","content","transform","activeLink","children","path","location","classNames","pathname","split","inner","studentId","ready","NavLink","fetchRequest","getFetchWorksRequest","pending","Navigation","BREAKPOINTS","paddingBottom","SM","marginTop","main","spinner","marginBottom","info","verticalAlign","heading","topHeading","context","lineHeight","conclusion","background","details","overflow","float","marginRight","marginLeft","options","uppercased","textTransform","remove","RED","moreButton","border","fontWeight","opacity","description","example","trainingMaterial","benchmarked","canUpdate","isClosed","canClose","onClose","onReopen","onOpenEditTitleDialog","canMarkAsExample","canMarkAsTrainingMaterial","onMarkAsExample","onUnmarkAsExample","onMarkAsTrainingMaterial","onUnmarkAsTrainingMaterial","canMarkAsBenchmark","onMarkAsBenchmark","onUnmarkAsBenchmark","onCopy","canSeeContextMenu","moderation_type","judgement","canMarkAsPremium","premium","onMarkAsPremium","onUnmarkAsPremium","DropMenu","button","_ref2","ref","togglePopover","MoreButton","forwardedRef","onClick","_ref3","Menu","MenuItem","IconHolder","Separator","closePopover","PencilIcon","openConfirmationDialog","bodyText","action","confirmText","cancelText","CloseIcon","StarIcon","TrainingIcon","PlusIcon","MinusIcon","SubsCrown","apiGetAssessmentFile","apiClient","get","apiGetExamples","schoolOrganisationFilter","apiGetTrainings","apiCopyAssessmentFile","post","apiGetOrganisationFiles","benchmarkFilter","inviteToAssessmentFile","emails","recaptchaToken","message","requestPrefix","request","payload","assessment_file_id","recaptcha_token","data","include","apiInviteToAssessmentFileBulk","markAsExample","put","apiMarkAsExample","unmarkAsExample","apiUnmarkAsExample","markAsTrainingMaterial","apiMarkAsTrainingMaterial","unmarkAsTrainingMaterial","apiUnmarkAsTrainingMaterial","markAsBenchmark","apiMarkAsBenchmark","unmarkAsBenchmark","apiUnmarkAsBenchmark","closeAssessmentFile","apiCloseAssessmentFile","reopenAssessmentFile","apiReopenAssessmentFile","openEditTitleDialog","type","editTitle","apiEditTitle","markAsPremium","apiMarkAsPremium","unmarkAsPremium","apiUnmarkAsPremium","fetchExamples","arguments","undefined","copyExample","contributionId","user","training_material","can_mark_as_example","can_mark_as_exemplar","can_update","can_close","can_mark_as_benchmark","can_mark_assessment_file_as_premium","dispatch","mergeProps","stateProps","ownProps","then","push","ContextMenu","createdBy","createAt","contributions","conclusionAuthor","conclusionContent","benchmarkedBy","ageGroupTitle","ageGroupOrder","moderationType","accent","AgeGroup","order","Tooltip","getNormalizedContributions","getContributionsResult","getContributions","getContributionsList","getFetchContributionsRequest","fetchDiscussionRequest","getContribution","getCurrentConclusion","filter","contribution","action_object","isSibarOpen","sidebar","getSubmitContributionRequest","submitContributionRequest","getAreTemplatesVisible","templates","visible","getAreWorksVisible","teacher_type","full_name","created_at","distanceInWords","Date","originator","benchmark","benchmarked_by","year_group","replace","Intro","feed","borderBottom","actions","paddingLeft","uploader","upload","cursor","FADED","uploadDisabled","uploadReady","borderRadius","textarea","resize","cancel","visibility","area","avatar","overflowX","template","minWidth","borderColor","thumbnail","top","backgroundSize","textAlign","paddingRight","paddingTop","textShadow","selected","onSubmit","posting","isConcluded","onShowTemplates","onHideTemplates","areTemplatesVisible","onShowWorks","onHideWorks","areWorksVisible","Formik","values","resetForm","initialValues","workIds","validationSchema","Yup","shape","required","formikProps","handleBlur","handleChange","handleSubmit","setFieldValue","MyAvatar","FormTextArea","name","onChange","onBlur","value","placeholder","disabled","fileName","FormFile","accept","file","primary","files","PaperclipIcon","Button","small","simple","TextIcon","WorkIcon","ArrowIcon","work","index","key","indexOf","style","backgroundImage","media","thumb_url","apiDeleteContribution","delete","apiEditContribution","body","submitContribution","currentConclusion","apiSubmitContributionWithAttachment","formData","FormData","append","apiSubmitContribution","submitContributionReply","parentId","apiSubmitContributionReply","parent_id","markAsConclusion","actionId","apiMarkContributionAsConclusion","unmarkAsConclusion","apiUnmarkContributionAsConclusion","openEditContributionDialog","work_ids","catch","errorHandler","ContributionForm","refreshContainer","refresh","footer","markedAsConclusion","wrapper","outline","outlineColor","attachment","dots","replies","replyActions","replyForm","conclusionFooter","check","onDelete","onOpenEditContributionDialog","TrashIcon","deleteContribution","borderTop","deleteContributionReply","timestamp","canDelete","edited","postedAt","useMemo","PobbleAvatar","reply","can_delete","edited_at","ActionCommentReply","onMarkedAsConclusion","onUnmarkedAsConclusion","isConclusion","concludedBy","isAFConcluded","contributorsCount","attachmentName","assessmentFileWorks","workRef","isAFClosed","onReply","localAuthority","isLocalAuthorityManager","replyVisible","showReply","useState","isOpen","setIsOpen","CheckIcon","href","target","rel","res","props","errors","isValid","TextArea","validationError","autoFocus","Modal","closeButton","requestClose","big","ModalContent","legacy","src","duck","alt","ModalFooter","tall","la_manager_type","school_organisation","local_authority","marked_as_conclusion_by","file_url","unescape","pop","ActionComment","icon","ActionConclusion","ActionUnmarkConclusion","ActionAddWork","actionMap","CommentAdded","CommentAddedWithAttachment","ContributionMarkedAsConclusion","ContributionUnmarkedAsConclusion","WorkAdded","WorkRemoved","ActionRemoveWork","ActionByType","Action","onUpdate","ModalHeader","editedBody","dialog","editContributionDialog","editContributionDialogOpen","editContribution","editContributionReply","EditContributionDialog","DiscussionFeed","Component","componentDidMount","this","onMount","render","Fragment","Spinner","whiteSpace","workTitle","count","dateFns","format","updated_at","header","sharedButton","contributor","getContributor","Contributor","TEXT","LIGHT_GREY","student","worksCount","student_type","InfoMessage","selectedEmails","setSelectedEmails","setMessage","Recaptcha","recaptchaProps","recaptchaPending","getReCaptchaToken","useRecaptcha","useEffect","FormRow","FormLabel","spaceBetween","ColorsInfo","EmailInput","cacheKey","CharactersCount","max","maxLength","e","alignRight","token","email","toast","success","AssessementInvitationModal","currencyMap","AUD","NZD","USD","GBP","UpgradeButton","minw","darkBlue","posthog","capture","window","UpsellBody","pitch","font","list","flex","gap","bottomNote","edtech","testimonial","price","role","aria-label","currency","Upsell","holder","upsell","subsData","setSubsData","parseInt","pobble_moderation_annual","subscription_marketing_data","UpsellModal","_ref4","onOpenInvitationAssessmentDialog","onOpenInviteesDialog","canSeeInvitees","inviteesCount","invitationSP","useSubscriptionPolicy","sp","moderation","invite_people_to_assessment_file","upsellModalOpen","setUpsellModalOpen","restricted","can_view_guest_moderators","guest_moderator_count","openInvitationAssessmentDialog","openInviteesDialog","Contributors","optional","editedTitle","editedDescription","editedModerationType","editedJudgement","htmlFor","FormInput","label","FormSelect","default","editTitleDialog","getEditTitleDialog","EditTitleDialog","invitee","msgIcon","guest_moderator","email_identity","MessageIcon","individual_subscription","plan_marketing_name","school_subscriptions","inviteesDialog","getInviteesDialog","fetchInviteesRequest","InviteesDialog","Cover","Paper","Sidebar","fetchAssessmentFileWorks","setMedia","page","fetchStudentWorks","apiGetStudentWorks","addWorkToAssessmentFile","apiAddWorkToAssessmentFile","removeWorkFromAssessmentFile","apiRemoveWorkFromAssessmentFile","work_id","error","onOpenAddWorkDialog","isStudentActive","getWorksAssessmentFilePolicy","active","openAddWorksDialog","WorksHeader","onRemove","ArchiveIcon","titleLink","date","thumb","TableRow","Cell","right","WorkEntry","noWorks","Table","HeadCell","WorksTable","center","titleWidth","Bone","mainTitle","dateCell","titleCell","EntrySkeleton","uploadBtn","btn","AddWorksDialog","constructor","super","setState","onAdd","studentName","workList","currentWorks","addWorksDialog","getAddWorksDialog","first_name","WorkSkeleton","head","zIndex","discussionButton","Label","ContributionModal","sidebarOpen","onOpenSidebar","onCloseSidebar","openModal","setModalVisibility","secondary","Actions","select","borderTopRightRadius","borderBottomRightRadius","pointerEvents","WorkSelect","onChangeHandler","onSelect","selectedWorkId","selectedWorkdId","getSelectedWorkId","hiddenMobile","total","current","onNext","onPrev","ArrowLeft","ArrowRight","Pagination","image","hidden","desc","loading","setLoading","image_url","onLoad","currentMedia","Media","open","discussion","Scene","Assessment","$set","moderationUser","Route","exact","component","FONT_SIZES","HEADING_LARGE","STYLE","paper","tabContainer","plus","banner","hideMobile","XS","currentCounter","animation","from","howIcon","listItem","hover","borderBottomColor","theme","linkClassName","Object","assign","activeClassName","activeTab","changeActiveTab","canSeeTrainingFiles","examplificationSp","examplification_material","showSchoolRequiredDialog","useMe","hasSchool","teacher_in_school","TabLink","preventDefault","FontAwesomeIcon","faQuestionCircle","CurrentInvitations","getRemoveInvitationRequest","removeInvitationRequests","getRemoveInvitationRequests","requestError","getCurrentCounter","counter","getInvitations","invitations","getInvitationsResult","getInvitationsMap","getInvitationsList","invitationsMap","getInvitation","can_see_training_materials","TabNav","illustration","archived","onMarkAsSeen","onMarkAsUnseen","seen","CopyIcon","CircleIcon","apiGetMe","apiGetInvitations","removeInvitation","invitationId","apiRemoveCurrentInvitation","markAsSeen","apiMarkAsSeen","markAsUnseen","apiMarkAsUnseen","fetchMyFiles","copyMyFile","archiveMyFile","apiArchiveAssessmentFile","invitation","assessment_file","checkboxChell","unseen","borderLeftColor","invitedAt","invitedBy","school","onInvitationClick","BulkCheckbox","CircleStatus","status","currentInvitation","removeInvitationRequest","invited_by","mapDispatchToProps","CurrentEntry","archive","ActionButton","bulkSelectedList","forEach","BulkAction","allCell","invitedCell","fromCell","BulkActionProvider","SelectAllButton","CurrentTable","checkbox","conclusionCell","received","table","all","receivedCell","lo","contextCell","bulkAction","CurrentSkeletonEntry","noInvitations","mountains","CurrentSkeleton","fetchInvitationsRequest","getFetchInvitationsRequest","scope","pagination","ArchivedInvitations","getPagination","archivedInvitation","ArchivedEntry","ArchivedTable","ArchivedSkeletonEntry","onPageChange","ArchivedSkeleton","fetchArchivedInvitations","onArchive","MyFiles","getMyFiles","getMyFilesResult","getMyFilesMap","getMyFilesList","filesMap","getMyFile","document","reload","initials","createdAt","students","judgementShort","w","myFile","toString","slice","MyFilesEntry","myFiles","MyFilesTable","noFiles","restrictedFromCreatingAFs","usingmoderation","fetchMyFilesRequest","getFetchMyFilesRequest","subscription_policy","create_assessment_file","onUnarchive","unarchiveArchivedFile","apiUnarchiveAssessmentFile","ArchivedFiles","getArchivedFiles","getArchivedFilesResult","getArchivedFilesMap","getArchivedFilesList","getArchivedFile","archivedFile","ArchivedFilesEntry","archivedFiles","ArchivedFilesTable","octopus","fetchArchivedFilesRequest","getFetchArchivedFilesRequest","fetchSchoolFiles","initiator","apiGetSchoolFiles","fetchAgeGroups","apiGetYearGroups","SchoolFiles","getFetchSchoolFilesRequest","fetchSchoolFilesRequest","getSchoolFiles","schoolFiles","getSchoolFilesResult","getSchoolFilesMap","getSchoolFilesList","schoolFilesMap","getSchoolFile","getFilter","getServerFilterParams","search_string","owner_name","owner","yearGroup","getFetchSchoolFilesRequestInitiator","req","author","schoolFile","SchoolFilesEntry","SchoolFilesTable","cell","cellProps","SchoolFilesFilter","areFiltersEmpty","every","isEmpty","onClearFilters","filters","onFiltersUpdate","debouncedFiltersUpdate","debounce","callback","yearGroups","onPullAgeGroups","year_groups","colSpan","wide","componentDidUpdate","prevProps","noSchoolFiles","filterParams","limit","fetchOrganisationFiles","OrganisationFiles","getOrganisationFiles","organisationFiles","getOrganisationFilesResult","getOrganisationFilesMap","getOrganisationFilesList","organisationFilesMap","getOrganisationFile","organisationFile","last_name","OrganisationFilesEntry","OrganisationFilesTable","noOrganisationFiles","fetchOrganisationFilesRequest","getFetchOrganisationFilesRequest","getBenchmarkFilter","intro","order0","SUPPORTING","YEAR0","EXTRA_FADED","order1","YEAR1","order2","YEAR2","order3","YEAR3","order4","YEAR4","order5","YEAR5","order6","YEAR6","order7","YEAR7","order8","YEAR8","order9","YEAR9","order10","YEAR10","order11","YEAR11","order12","YEAR12","order13","YEAR13","order14","YEAR14","order15","book","bookTitle","bookArrow","crown","DARK_BLUE","working_towards_the_expected_standard","greater_depth_within_the_expected_standard","working_at_the_expected_standard","copyBtn","fileId","alignCenter","InfoIcon","Examples","getExamples","examples","getExamplesResult","getExamplesMap","getExamplesList","examplesMap","getExample","ExamplesEntry","section","flexWrap","ExamplesSection","ExamplesTable","noExamples","schoolIsPartOfOrganisation","fetchExamplesRequest","getFetchExamplesRequest","schoolOrganisation","getSchoolOrganisationFilter","school_organisations","org","fetchTrainings","Trainings","getTrainings","trainings","getTrainingsResult","getTrainingsMap","getTrainingsList","trainingsMap","getTraining","training","TrainingsEntry","TrainingsTable","noTrainings","fetchTrainingsRequest","getFetchTrainingsRequest","video","listTitle","lists","boxes","box","meeting","_blank","floatingteacher","beyond","laptop","event","eventButton","line","moderator","simon","Moderation","Support","WorkWithModerator","APP_ROOT","process","REACT_APP_APP_ROOT","PostHogIdentity","identify","meError","UserProvider","fetchMe","Promise","resolve","reject","SubscriptionProvider","EnvironmentLine","Header","activePage","appUrl","UserInspector","Router","basename","Switch","AssessementFile","PageNotFound","ToastContainer","normalizeContributors","schema","Entity","normalize","AssessmentFileReducer","combineReducers","createRequestReducer","createReducer","ASSESSMENT_FILE_STORE:FETCH_REQUEST_SUCCESS","response","ASSESSMENT_FILE_STORE:EDIT_REQUEST_SUCCESS","ASSESSMENT_FILE_STORE:FETCH_INVITEES_COUNTER_REQUEST_SUCCESS","DISCUSSION:SUBMIT_REQUEST_SUCCESS","_ref5","ASSESSMENT_FILE_STORE:FETCH_INVITEES_REQUEST_SUCCESS","_ref6","normalizeInvitees","assessment_file_invitations","ASSESSMENT_FILE_STORE:INVITATION_ASSESSMENT_DIALOG:OPEN","_ref7","ASSESSMENT_FILE_STORE:EDIT_TITLE_DIALOG:OPEN","_ref8","ASSESSMENT_FILE_STORE:INVITEES_DIALOG:OPEN","_ref9","normalizeWorks","WorksReducer","WORKS_STORE:FETCH_REQUEST_SUCCESS","WORKS_STORE:ADD_WORKS_REQUEST_SUCCESS","WORKS_STORE:REMOVE_WORK_REQUEST_SUCCESS","WORKS_STORE:SELECT_WORK_SUCCESS","WORKS_STORE:SET_MEDIA_SUCCESS","WORKS_STORE:ADD_WORKS_DIALOG:OPEN","normalizeContributions","DiscussionReducer","DISCUSSION:FETCH_REQUEST_SUCCESS","stateWithAddedContributions","DISCUSSION:SUBMIT_REPLY_REQUEST_SUCCESS","addedAction","DISCUSSION:DELETE_REQUEST_SUCCESS","DISCUSSION:EDIT_REQUEST_SUCCESS","DISCUSSION:DELETE_REPLY_REQUEST_SUCCESS","splice","DISCUSSION:EDIT_REPLY_REQUEST_SUCCESS","ASSESSMENT_FILE_STORE:INVITE_REQUEST_SUCCESS","DISCUSSION:MARK_AS_CONCLUSION_REQUEST_SUCCESS","last","DISCUSSION:UNMARK_AS_CONCLUSION_REQUEST_SUCCESS","_ref10","DISCUSSION:EDIT_CONTRIBUTION_DIALOG:OPEN","_ref11","CurrentInvitationsReducer","createMappedRequestReducer","CURRENT_INVITATIONS:FETCH_COUNTER_REQUEST_SUCCESS","assessment_file_invitations_counter","CURRENT_INVITATIONS:REMOVE_REQUEST_SUCCESS","CURRENT_INVITATIONS:FETCH_REQUEST_SUCCESS","normalizeInvitations","CURRENT_INVITATIONS:MARK_AS_SEEN_REQUEST_SUCCESS","CURRENT_INVITATIONS:MARK_AS_UNSEEN_REQUEST_SUCCESS","ArchivedInvitationsReducer","ARCHIVED_INVITATIONS:FETCH_REQUEST_SUCCESS","assessment_file_invitations_pagination","MyFilesReducer","MY_FILES:FETCH_REQUEST_SUCCESS","assessment_files_pagination","normalizeMyFiles","assessment_files","MY_FILES:ARCHIVE_REQUEST_SUCCESS","ArchivedFilesReducer","ARCHIVED_FILES:FETCH_REQUEST_SUCCESS","normalizeArchivedFiles","archived_assessment_files","ARCHIVED_FILES:UNARCHIVE_REQUEST_SUCCESS","ExamplesReducer","EXAMPLES:FETCH_REQUEST_SUCCESS","normalizeExamples","TrainingsReducer","TRAININGS:FETCH_REQUEST_SUCCESS","normalizeTrainings","defaultFilters","SchoolFilesReducer","SCHOOL_FILES:SET_SEARCH_FILTERS","SCHOOL_FILES:FETCH_REQUEST_SUCCESS","normalizeSchoolFiles","OrganisationFilesReducer","ORGANISATION_FILES:FETCH_REQUEST_SUCCESS","normalizeOrganisationFiles","Reducer","store","createStore","rootReducer","applyMiddleware","requestMiddleware","thunk","posthogOptions","api_host","autocapture","capture_pageview","capture_pageleave","disable_session_recording","ReactDOM","PostHogProvider","apiKey","Provider","PobbleStyles","App","ConfirmationDialog","getElementById","setTimeout"],"mappings":"iHAAAA,EAAOC,QAAU,IAA0B,gD,oBCA3CD,EAAOC,QAAU,IAA0B,0C,oBCA3CD,EAAOC,QAAU,IAA0B,oD,kBCA3CD,EAAOC,QAA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,GACAC,aAAgBC,qBAAmBC,OAG/BC,GAAiB,CACrBC,SAAU,yBACVC,aAAa,EACbC,kBAAkB,EAClBC,mBAAmB,EACnBC,2BAA2B,GAGvBvqB,GAASngB,IAAsB,IAArB,GAAEgF,EAAE,QAAEq+B,GAASrjC,EAC7B2qC,IAASxqB,OACPpf,IAAAC,cAAC4pC,KAAe,CACdC,OAAO,kDACP1iC,QAASkiC,IACTtpC,IAAAC,cAAC8pC,IAAQ,CAACf,MAAOA,IACfhpC,IAAAC,cAAC+pC,gBAAY,KACXhqC,IAAAC,cAACof,WAAQ,KACPrf,IAAAC,cAACgqC,GAAG,CAAChmC,GAAIA,EAAIq+B,QAASA,IACtBtiC,IAAAC,cAACiqC,sBAAkB,UAK3B3U,SAAS4U,eAAe,UAI5BvZ,GAAS,CACPtkB,QACE,gkBACD4C,KAAK4M,GAAOsD,GAAO,CAAEnb,GAAI6X,IAAQ4F,GAAKtC,GAAO,CAAEkjB,QAAS5gB,KAG3D0oB,WAAW,IAAM,kCAAuD,O","file":"static/js/main.d8a42f12.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/moderation-meeting.cdf9bd1a.png\";","module.exports = __webpack_public_path__ + \"static/media/hero-image-2.c1b81724.png\";","module.exports = __webpack_public_path__ + \"static/media/beyond-gut-feeling-sml.96704258.png\";","module.exports = \"data:image/gif;base64,R0lGODlhXgFeAaIAABkZGf7+/klJSQew74ODg7S0tHTS9tvf4CH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTk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o+7+pc7+RJgmdYjPjqyL8WRfXDW/BNQPm6uE52LvUQ1/dlzPY53VWyDhWkvmpGH86cpKiYsWlmPwRNvwWEFvtBMfV7fdNEKedxZRxlbfvaEvZVcFPWDh1/hvnoZ+5RgPHQgcKn32srfTRYrxg/X5Czj8sXSx58+PgRm+ueHfOlgfNrD+3oFv1ek/PmLwW2fv4wYOrs3vLsX3vgoP9d8x//3if8UoCP9o8DgYUAF8vtD6OctLYDss7E+g+G4kiW5omiwsYK6Qs7Kwu48Y3n+s7fMw3o9IaTAhBQICqXzKZTcvjRFE8iphWsarfcbugKFHpzBKBtjE6rm9JNcv1qa97wuv1ektfwJz2dDxgoGCB3NvgRRfN3yNjolaghQOVYUdA2SZmp2VRAQLC4GSEwIxZqeoqqdVCAmer6kAAAOw==\"","module.exports = __webpack_public_path__ + \"static/media/duck-rocket.78bba211.gif\";","module.exports = __webpack_public_path__ + \"static/media/mountains.1ee7d773.png\";","module.exports = __webpack_public_path__ + \"static/media/hero-image-2.c1b81724.png\";","module.exports = __webpack_public_path__ + \"static/media/octopus.6a85081b.png\";","module.exports = __webpack_public_path__ + \"static/media/hero-image-2.c1b81724.png\";","module.exports = __webpack_public_path__ + \"static/media/octopus.6a85081b.png\";","module.exports = __webpack_public_path__ + \"static/media/octopus.6a85081b.png\";","module.exports = __webpack_public_path__ + \"static/media/octopus.6a85081b.png\";","module.exports = __webpack_public_path__ + \"static/media/mod-lp.c57346f1.png\";","module.exports = __webpack_public_path__ + \"static/media/floating_teacher.e5da0874.png\";","module.exports = __webpack_public_path__ + \"static/media/simon.84a0152c.jpg\";","module.exports = __webpack_public_path__ + \"static/media/training-cover-video.640671cb.jpg\";","const styles = {\n container: {\n maxWidth: '500px',\n margin: '100px auto'\n }\n}\n\nexport default styles\n","const styles = () => ({\n container: {\n display: 'flex',\n backgroundColor: '#fff',\n boxShadow: '0 2px 4px 0 rgba(0, 0, 0, 0.1)',\n flexShrink: '0',\n flexDirection: 'row',\n justifyContent: 'space-between'\n },\n nav: {\n margin: 0,\n padding: 0,\n display: 'flex',\n fontSize: '18px',\n listStyle: 'none'\n }\n})\n\nexport default styles\n","const styles = ({ COLORS }) => ({\n back: {\n display: 'flex',\n padding: '18px 0 18px 18px',\n alignItems: 'center',\n flexDirection: 'row',\n textDecoration: 'none',\n color: COLORS.BLUE.NORMAL\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './back-link.styles'\nimport { Link } from 'react-router-dom'\nimport CaretLeft from 'react-icons/lib/fa/caret-left'\n\nconst Intro = ({ classes, url, link, match }) => {\n return match.params.workId ? (\n \n {link}\n \n ) : (\n \n {link}\n \n )\n}\n\nexport default injectSheet(styles)(Intro)\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.AssessmentFile\n\nconst getFetchRequest = state => getState(state).fetchAssessmentFileRequest\n\nconst getAssessmentFile = state => getState(state).assessmentFile\n\nconst getContributors = state => getState(state).contributors\n\nconst getContributorsMap = createSelector(\n [getContributors],\n contributors => (!contributors ? {} : contributors.entities.contributors)\n)\n\nconst getContributorsResult = createSelector(\n [getContributors],\n contributors => (!contributors ? [] : contributors.result)\n)\n\nconst getContributorsList = createSelector(\n [getContributorsResult, getContributorsMap],\n (result, contributorsMap) => result.map(id => contributorsMap[id])\n)\n\nconst getContributorsCount = createSelector(\n [getContributorsResult],\n result => result.length\n)\n\nconst getContributor = (state, id) => getContributorsMap(state)[id]\n\nconst isInvitationModalOpen = state =>\n getState(state).invitationAssessmentDialog.opened\n\nconst getAssessmentFileId = state => getState(state).assessmentFile.id\n\nconst getAssessmentFileConclusionState = state =>\n getState(state).assessmentFile && getState(state).assessmentFile.concluded\n\nconst getAssessmentFileClosedState = state =>\n getState(state).assessmentFile && getState(state).assessmentFile.closed\n\nconst getFetchInvitationRequest = state =>\n state.Discussion.inviteContributorRequest\n\nconst getEditTitleDialog = state => getState(state).editTitleDialog\n\nconst getInviteesDialog = state => getState(state).inviteesDialog\n\nconst getInvitees = state => getState(state).invitees\n\nconst getInviteesMap = createSelector(\n [getInvitees],\n invitees => (!invitees ? {} : invitees.entities.invitees)\n)\n\nconst getInviteesResult = createSelector(\n [getInvitees],\n invitees => (!invitees ? [] : invitees.result)\n)\n\nconst getInviteesList = createSelector(\n [getInviteesResult, getInviteesMap],\n (result, inviteesMap) => result.map(id => inviteesMap[id])\n)\n\nconst getInviteesCount = createSelector(\n [getInviteesResult],\n result => result.length\n)\n\nconst fetchInviteesRequest = state => getState(state).fetchInviteesRequest\n\nexport {\n getFetchRequest,\n getAssessmentFile,\n getContributorsList,\n getContributorsCount,\n getContributor,\n isInvitationModalOpen,\n getAssessmentFileId,\n getAssessmentFileConclusionState,\n getFetchInvitationRequest,\n getEditTitleDialog,\n getAssessmentFileClosedState,\n getInviteesDialog,\n getInviteesList,\n getInviteesCount,\n fetchInviteesRequest\n}\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.Works\n\nconst getFetchRequest = state => getState(state).fetchWorksRequest\n\nconst getWorksAssessmentFileId = state =>\n state.Works.assessmentFile && state.Works.assessmentFile.id\nconst getWorksAssessmentFileTitle = state =>\n (state.Works.assessmentFile && state.Works.assessmentFile.title) || '-'\nconst getWorksAssessmentFileStudent = state =>\n state.Works.assessmentFile && state.Works.assessmentFile.student_types[0]\nconst getWorksAssessmentFilePolicy = state =>\n state.Works.assessmentFile && state.Works.assessmentFile.policy\n\nconst getWorks = state => getState(state).works\n\nconst getWorksMap = createSelector(\n [getWorks],\n works => (!works ? {} : works.entities.works)\n)\n\nconst getWorksResult = createSelector(\n [getWorks],\n works => (!works ? [] : works.result)\n)\n\nconst getWorksCount = createSelector(\n [getWorksResult],\n works => works.length\n)\n\nconst getWorksList = createSelector(\n [getWorksResult, getWorksMap],\n (result, worksMap) => result.map(id => worksMap[id])\n)\n\nconst getWork = (state, id) => (id ? getWorksMap(state)[id] : [])\n\nconst getSelectedWorkId = state => getState(state).selectedWorkId\n\nconst getMediaKey = state => getState(state).mediaKey\n\nconst getAddWorksDialog = state => getState(state).addWorksDialog\n\nexport {\n getFetchRequest,\n getWorksAssessmentFileTitle,\n getWorksAssessmentFileStudent,\n getWorksList,\n getWorksCount,\n getWork,\n getSelectedWorkId,\n getMediaKey,\n getAddWorksDialog,\n getWorksAssessmentFileId,\n getWorksResult,\n getWorksAssessmentFilePolicy\n}\n","import { connect } from 'react-redux'\nimport BackLink from './back-link'\nimport { withRouter } from 'react-router-dom'\nimport { getAssessmentFile } from '../../../../../stores/assessment-file/assessment-file.selectors'\nimport { getWorksAssessmentFileTitle } from '../../../../../stores/works/works.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { match, history, me }) => {\n const assessmentFile = getAssessmentFile(state)\n const title =\n (assessmentFile && assessmentFile.title) ||\n getWorksAssessmentFileTitle(state)\n const canManageAFs =\n me &&\n me.account &&\n me.account.policy &&\n me.account.policy.can_manage_assessment_files\n return {\n url: match.params.workId\n ? `/assessment-files/${match.params.assessmentFileId}`\n : `${canManageAFs ? '/my-files' : '/'}`,\n link: match.params.workId ? `Back to ${title}` : `Back to Moderation`\n }\n}\n\nexport default withRouter(withMe(connect(mapStateToProps, null)(BackLink)))\n","const styles = ({ COLORS }) => ({\n link: {\n fontSize: '20px',\n position: 'relative',\n height: '70px',\n display: 'flex',\n alignItems: 'center',\n borderLeft: '1px solid #eee',\n '& > a': {\n textDecoration: 'none',\n color: 'rgba(153,153,153,1)',\n transition: 'color 0.3s ease-in-out',\n display: 'flex',\n alignItems: 'center',\n height: '100%',\n width: '100%',\n padding: '0 24px'\n },\n '&:hover > a': {\n color: COLORS.BLUE.NORMAL\n },\n '&:after': {\n left: 0,\n width: '100%',\n height: '4px',\n bottom: 0,\n content: '\"\"',\n position: 'absolute',\n transform: 'scaleX(0)',\n transition: 'transform 0.3s ease-in-out',\n backgroundColor: 'rgba(0,175,236,1)'\n }\n },\n activeLink: {\n '& > a': {\n color: COLORS.BLUE.NORMAL\n },\n '&:after': {\n transform: 'scaleX(1)'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './nav-link.styles'\nimport injectSheet from 'react-jss'\nimport { Link, withRouter } from 'react-router-dom'\nimport classNames from 'classnames'\n\nconst NavLink = ({ classes, children, path, location }) => (\n \n \n {children}\n \n \n)\n\nexport default withRouter(injectSheet(styles)(NavLink))\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport { withRouter } from 'react-router-dom'\nimport styles from './navigation.styles'\nimport BackLink from './back-link/back-link.container'\nimport NavLink from './nav-link/nav-link'\n\nconst Navigation = ({ classes, studentId, match, ready }) => {\n return (\n \n )\n}\n\nexport default withRouter(injectSheet(styles)(Navigation))\n","import { connect } from 'react-redux'\nimport Navigation from './navigation'\nimport { getFetchRequest } from '../../../../stores/assessment-file/assessment-file.selectors'\nimport { getFetchRequest as getFetchWorksRequest } from '../../../../stores/works/works.selectors'\n\nconst mapStateToProps = (state, { match }) => {\n const fetchRequest = getFetchRequest(state)\n const fetchWorksRequest = getFetchWorksRequest(state)\n return {\n ready: !fetchRequest.pending || !fetchWorksRequest.pending\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Navigation)\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n margin: '10px auto 100px',\n maxWidth: '1070px',\n paddingBottom: '50px',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n display: 'flex',\n marginTop: '50px'\n }\n },\n main: {\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '65%'\n }\n },\n spinner: {\n margin: '100px auto'\n }\n})\n\nexport default styles\n","const styles = {\n container: {\n marginBottom: '40px'\n },\n info: {\n color: '#aaa',\n fontSize: '14px',\n '& info': {\n verticalAlign: 0\n }\n },\n title: {\n marginBottom: '10px',\n marginTop: '0'\n },\n heading: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n },\n topHeading: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n },\n context: {\n fontSize: '16px',\n lineHeight: '24px'\n },\n conclusion: {\n background: '#ebf9fe',\n padding: '8px 10px'\n },\n details: {\n listStyle: 'none',\n padding: 0,\n margin: 0,\n color: '#afafaf',\n overflow: 'hidden',\n '& li': {\n float: 'left',\n marginRight: '5px',\n '&:after': {\n content: '\"•\"',\n marginLeft: '5px'\n }\n },\n '& li:last-child:after': {\n content: '\"\"'\n }\n },\n options: {\n marginTop: '18px',\n '& svg': {\n marginRight: '4px'\n }\n },\n uppercased: {\n '&:first-letter': {\n textTransform: 'uppercase'\n }\n }\n}\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport PencilIcon from 'react-icons/lib/fa/pencil'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport CloseIcon from 'react-icons/lib/fa/lock'\nimport StarIcon from 'react-icons/lib/fa/star'\nimport TrainingIcon from 'react-icons/lib/fa/graduation-cap'\nimport PlusIcon from 'react-icons/lib/fa/plus'\nimport MinusIcon from 'react-icons/lib/fa/minus'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\n\nconst ContextMenu = ({\n classes,\n id,\n title,\n description,\n example,\n trainingMaterial,\n benchmarked,\n canUpdate,\n isClosed,\n canClose,\n onClose,\n onReopen,\n onOpenEditTitleDialog,\n canMarkAsExample,\n canMarkAsTrainingMaterial,\n onMarkAsExample,\n onUnmarkAsExample,\n onMarkAsTrainingMaterial,\n onUnmarkAsTrainingMaterial,\n canMarkAsBenchmark,\n onMarkAsBenchmark,\n onUnmarkAsBenchmark,\n canManageAFs,\n onCopy,\n canSeeContextMenu,\n moderation_type,\n judgement,\n canMarkAsPremium,\n premium,\n onMarkAsPremium,\n onUnmarkAsPremium\n}) =>\n canSeeContextMenu && (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {canUpdate && (\n {\n onOpenEditTitleDialog(\n id,\n title,\n description,\n moderation_type,\n judgement\n )\n closePopover()\n }}>\n \n \n \n
\n
Edit
\n File name, description, type and judgement\n
\n \n )}\n {/*canManageAFs && (\n {\n onCopy(id)\n closePopover()\n }}>\n \n \n \n Copy\n \n )*/}\n {canClose && !isClosed && (\n {\n openConfirmationDialog({\n bodyText:\n 'Closing this moderation file will stop contributions. Are you sure you want to close this moderation file?',\n action: () => onClose(id),\n confirmText: 'Close',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Close\n \n )}\n {canClose && isClosed && (\n {\n onReopen(id)\n closePopover()\n }}>\n \n \n \n Reopen\n \n )}\n {canMarkAsExample && !example && (\n {\n openConfirmationDialog({\n bodyText:\n 'We highly recommend getting permission from the school leadership team before selecting a file to be used as a writing sample on Pobble',\n action: () => onMarkAsExample(id),\n confirmText: 'Mark as exemplification',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Add to the writing samples\n \n )}\n {canMarkAsExample && example && (\n {\n onUnmarkAsExample(id)\n closePopover()\n }}>\n \n \n \n Remove as a writing samples\n \n )}\n {canMarkAsTrainingMaterial && !trainingMaterial && (\n {\n onMarkAsTrainingMaterial(id)\n closePopover()\n }}>\n \n \n \n Mark as training material\n \n )}\n {canMarkAsTrainingMaterial && trainingMaterial && (\n {\n onUnmarkAsTrainingMaterial(id)\n closePopover()\n }}>\n \n \n \n Unmark as training material\n \n )}\n {canMarkAsBenchmark && !benchmarked && (\n {\n onMarkAsBenchmark(id)\n closePopover()\n }}>\n \n \n \n Add as an exemplar to my school files\n \n )}\n {canMarkAsBenchmark && benchmarked && (\n {\n onUnmarkAsBenchmark(id)\n closePopover()\n }}>\n \n \n \n Remove as a school exemplar\n \n )}\n {canMarkAsPremium && !premium && (\n {\n onMarkAsPremium(id)\n closePopover()\n }}>\n \n \n \n Mark this file as premium\n \n )}\n {canMarkAsPremium && premium && (\n {\n onUnmarkAsPremium(id)\n closePopover()\n }}>\n \n \n \n Unmark this file as premium\n \n )}\n
\n )}\n \n )\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n },\n moreButton: {\n padding: '7px 10px',\n fontSize: '14px',\n background: '#00afec',\n border: 'none',\n color: '#fff',\n fontWeight: 'bold',\n width: 'auto',\n height: 'auto',\n '&:hover': {\n opacity: '0.8'\n },\n '&:hover>svg': {\n color: '#fff !important'\n },\n '&:after': {\n content: '\"Review\" !important'\n },\n '& svg': {\n color: '#fff',\n marginRight: '5px'\n }\n }\n})\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiGetAssessmentFile = (assessmentFileId, params) =>\n apiClient.get(`v3/assessment_files/${assessmentFileId}`, { params })\n\nconst apiInviteToAssessmentFileBulk = (data, params) =>\n apiClient.post('/v3/bulk_invite_guest_moderators', data, { params })\n\nconst apiMarkAsExample = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/mark_as_example`)\n\nconst apiUnmarkAsExample = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/unmark_as_example`)\n\nconst apiMarkAsTrainingMaterial = assessmentFileId =>\n apiClient.put(\n `v3/assessment_files/${assessmentFileId}/mark_as_training_material`\n )\n\nconst apiUnmarkAsTrainingMaterial = assessmentFileId =>\n apiClient.put(\n `v3/assessment_files/${assessmentFileId}/unmark_as_training_material`\n )\n\nconst apiGetExamples = (schoolOrganisationFilter, params) =>\n apiClient.get(\n `v3/assessment_files?limit=50&${\n schoolOrganisationFilter\n ? 'examples_in_school_organisation=true'\n : 'example=true&created_by_pobbler=1'\n }`,\n { params }\n )\n\nconst apiGetTrainings = (schoolOrganisationFilter, params) =>\n apiClient.get(\n `v3/assessment_files?limit=50&training_material=true&created_by_pobbler=1`,\n { params }\n )\n\nconst apiCopyAssessmentFile = (assessmentFileId, params) =>\n apiClient.post(`v3/assessment_files/${assessmentFileId}/duplicate`, {\n params\n })\n\nconst apiGetSchoolFiles = params =>\n apiClient.get('v3/assessment_files?limit=350&school_search=true', { params })\n\nconst apiGetOrganisationFiles = (benchmarkFilter, params) =>\n apiClient.get(\n `v3/assessment_files?limit=50&in_school_organisation=true&benchmarked=${benchmarkFilter}`,\n { params }\n )\n\nconst apiEditTitle = (id, data, params) =>\n apiClient.put(`v3/assessment_files/${id}/`, data, {\n params\n })\n\nconst apiGetStudentWorks = (studentId, params) =>\n apiClient.get(`v3/accounts/${studentId}`, { params })\n\nconst apiAddWorkToAssessmentFile = (workId, assessmentFileId, params) =>\n apiClient.post(\n `v3/assessment_file_works?include=assessment_file.details,assessment_file.works,assessment_file.work.names,assessment_file.work.media,assessment_file.work.medium.image,assessment_file.work.timestamps,assessment_file.student_type.account,assessment_file.work.medium.thumb`,\n { id: assessmentFileId, work_ids: [workId] },\n { params }\n )\n\nconst apiRemoveWorkFromAssessmentFile = (workId, assessmentFileId) => {\n return apiClient.post(\n `v3/assessment_files/${assessmentFileId}/remove_work?include=assessment_file.details,assessment_file.works,assessment_file.work.names,assessment_file.work.media,assessment_file.work.medium.image,assessment_file.work.timestamps,assessment_file.student_type.account,assessment_file.work.medium.thumb`,\n { work_id: workId }\n )\n}\n\nconst apiCloseAssessmentFile = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/mark_as_closed`)\n\nconst apiReopenAssessmentFile = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/unmark_as_closed`)\n\nconst apiArchiveAssessmentFile = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/mark_as_archived`)\n\nconst apiUnarchiveAssessmentFile = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/unmark_as_archived`)\n\nconst apiMarkAsBenchmark = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/mark_as_benchmark`)\n\nconst apiUnmarkAsBenchmark = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/unmark_as_benchmark`)\n\nconst apiGetYearGroups = params => apiClient.get('/v3/year_groups', { params })\n\nconst apiMarkAsPremium = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/mark_as_premium`)\n\nconst apiUnmarkAsPremium = assessmentFileId =>\n apiClient.put(`v3/assessment_files/${assessmentFileId}/unmark_as_premium`)\n\nexport {\n apiGetAssessmentFile,\n apiInviteToAssessmentFileBulk,\n apiMarkAsExample,\n apiUnmarkAsExample,\n apiGetExamples,\n apiCopyAssessmentFile,\n apiGetSchoolFiles,\n apiEditTitle,\n apiGetStudentWorks,\n apiAddWorkToAssessmentFile,\n apiCloseAssessmentFile,\n apiReopenAssessmentFile,\n apiArchiveAssessmentFile,\n apiUnarchiveAssessmentFile,\n apiMarkAsBenchmark,\n apiUnmarkAsBenchmark,\n apiRemoveWorkFromAssessmentFile,\n apiGetOrganisationFiles,\n apiMarkAsTrainingMaterial,\n apiUnmarkAsTrainingMaterial,\n apiGetTrainings,\n apiGetYearGroups,\n apiMarkAsPremium,\n apiUnmarkAsPremium\n}\n","import {\n apiGetAssessmentFile,\n apiInviteToAssessmentFileBulk,\n apiMarkAsExample,\n apiUnmarkAsExample,\n apiEditTitle,\n apiCloseAssessmentFile,\n apiReopenAssessmentFile,\n apiMarkAsBenchmark,\n apiUnmarkAsBenchmark,\n apiMarkAsTrainingMaterial,\n apiUnmarkAsTrainingMaterial,\n apiMarkAsPremium,\n apiUnmarkAsPremium\n} from '../../common/api/assessment'\n\nconst fetchAssessmentFile = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:FETCH',\n params: { assessmentFileId },\n request: () =>\n apiGetAssessmentFile(assessmentFileId, {\n include:\n 'assessment_file.assessment_file_invitations,assessment_file.assessment_file_invitation.guest_moderator,assessment_file.assessment_file_invitation.guest_moderator.names,assessment_file.assessment_file_invitation.guest_moderator.email_identity,assessment_file.assessment_file_invitation.guest_moderator.email_identity.email,assessment_file.details,assessment_file.timestamps,assessment_file.student_types,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.policy,assessment_file.close,assessment_file.teacher_types,assessment_file.teacher_type,assessment_file.teacher_type.account,assessment_file.teacher_type.account.names,assessment_file.student_type.year_group,assessment_file.student_type.year_group.names,assessment_file.student_type.year_group.order,assessment_file.benchmark,assessment_file.benchmark.benchmarked_by,assessment_file.benchmark.benchmarked_by.names,assessment_file.guest_moderator_count'\n })\n})\n\nconst fetchAssessmentFileInvitees = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:FETCH_INVITEES',\n params: { assessmentFileId },\n request: () =>\n apiGetAssessmentFile(assessmentFileId, {\n include:\n 'assessment_file.assessment_file_invitations,assessment_file.assessment_file_invitation.guest_moderator,assessment_file.assessment_file_invitation.guest_moderator.names,assessment_file.assessment_file_invitation.guest_moderator.subscriptions,assessment_file.assessment_file_invitation.guest_moderator.email_identity,assessment_file.assessment_file_invitation.guest_moderator.email_identity.email,assessment_file.assessment_file_invitation.details'\n })\n})\n\nconst fetchAssessmentFileInviteesCounter = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:FETCH_INVITEES_COUNTER',\n params: { assessmentFileId },\n request: () =>\n apiGetAssessmentFile(assessmentFileId, {\n include: 'assessment_file.guest_moderator_count'\n })\n})\n\nconst openInvitationAssessmentDialog = id => ({\n type: 'ASSESSMENT_FILE_STORE:INVITATION_ASSESSMENT_DIALOG:OPEN',\n params: {\n id\n }\n})\n\nconst closeInvitationAssessmentDialog = () => ({\n type: 'ASSESSMENT_FILE_STORE:INVITATION_ASSESSMENT_DIALOG:CLOSE'\n})\n\nconst inviteToAssessmentFile = (\n assessmentFileId,\n emails,\n recaptchaToken,\n message\n) => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:INVITE',\n params: { assessmentFileId, emails },\n request: () => {\n const payload = {\n assessment_file_id: assessmentFileId,\n emails,\n recaptcha_token: recaptchaToken\n }\n if (message) payload.message = message\n return apiInviteToAssessmentFileBulk(payload, {\n include:\n 'actions,action.details,action.action_object,action.action_object.details,action.action_object.timestamps,action.action_object.account,action.action_object.account.names,action.action_object.guest_moderator,action.action_object.account.email_identity.email'\n })\n }\n})\n\nconst markAsExample = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:MARK_AS_EXAMPLE',\n params: {\n assessmentFileId\n },\n request: () => apiMarkAsExample(assessmentFileId)\n})\n\nconst unmarkAsExample = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:UNMARK_AS_EXAMPLE',\n params: {\n assessmentFileId\n },\n request: () => apiUnmarkAsExample(assessmentFileId)\n})\n\nconst markAsTrainingMaterial = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:MARK_AS_TRAINING_MATERIAL',\n params: {\n assessmentFileId\n },\n request: () => apiMarkAsTrainingMaterial(assessmentFileId)\n})\n\nconst unmarkAsTrainingMaterial = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:UNMARK_AS_TRAINING_MATERIAL',\n params: {\n assessmentFileId\n },\n request: () => apiUnmarkAsTrainingMaterial(assessmentFileId)\n})\n\nconst markAsBenchmark = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:MARK_AS_BENCHMARK',\n params: {\n assessmentFileId\n },\n request: () => apiMarkAsBenchmark(assessmentFileId)\n})\n\nconst unmarkAsBenchmark = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:UNMARK_AS_BENCHMARK',\n params: {\n assessmentFileId\n },\n request: () => apiUnmarkAsBenchmark(assessmentFileId)\n})\n\nconst closeAssessmentFile = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:CLOSE',\n params: {\n assessmentFileId\n },\n request: () => apiCloseAssessmentFile(assessmentFileId)\n})\n\nconst reopenAssessmentFile = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:REOPEN',\n params: {\n assessmentFileId\n },\n request: () => apiReopenAssessmentFile(assessmentFileId)\n})\n\nconst openEditTitleDialog = (\n id,\n title,\n description,\n moderation_type,\n judgement\n) => ({\n type: 'ASSESSMENT_FILE_STORE:EDIT_TITLE_DIALOG:OPEN',\n params: {\n id,\n title,\n description,\n moderation_type,\n judgement\n }\n})\n\nconst closeEditTitleDialog = () => ({\n type: 'ASSESSMENT_FILE_STORE:EDIT_TITLE_DIALOG:CLOSE'\n})\n\nconst editTitle = (id, title, description, moderation_type, judgement) => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:EDIT',\n params: { id, title, description, moderation_type, judgement },\n request: () =>\n apiEditTitle(id, title, description, moderation_type, judgement)\n})\n\nconst openInviteesDialog = id => ({\n type: 'ASSESSMENT_FILE_STORE:INVITEES_DIALOG:OPEN',\n params: {\n id\n }\n})\n\nconst closeInviteesDialog = () => ({\n type: 'ASSESSMENT_FILE_STORE:INVITEES_DIALOG:CLOSE'\n})\n\nconst markAsPremium = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:MARK_AS_PREMIUM',\n params: {\n assessmentFileId\n },\n request: () => apiMarkAsPremium(assessmentFileId)\n})\n\nconst unmarkAsPremium = assessmentFileId => ({\n requestPrefix: 'ASSESSMENT_FILE_STORE:UNMARK_AS_PREMIUM',\n params: {\n assessmentFileId\n },\n request: () => apiUnmarkAsPremium(assessmentFileId)\n})\n\nexport {\n fetchAssessmentFile,\n openInvitationAssessmentDialog,\n closeInvitationAssessmentDialog,\n inviteToAssessmentFile,\n markAsExample,\n unmarkAsExample,\n openEditTitleDialog,\n closeEditTitleDialog,\n editTitle,\n closeAssessmentFile,\n reopenAssessmentFile,\n markAsBenchmark,\n unmarkAsBenchmark,\n markAsTrainingMaterial,\n unmarkAsTrainingMaterial,\n openInviteesDialog,\n closeInviteesDialog,\n fetchAssessmentFileInvitees,\n fetchAssessmentFileInviteesCounter,\n markAsPremium,\n unmarkAsPremium\n}\n","import {\n apiGetExamples,\n apiCopyAssessmentFile\n} from '../../common/api/assessment'\n\nconst fetchExamples = (schoolOrganisationFilter = false) => ({\n requestPrefix: 'EXAMPLES:FETCH',\n request: () =>\n apiGetExamples(schoolOrganisationFilter, {\n include:\n 'assessment_file.details,assessment_file.timestamps,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.work.medium.thumb'\n })\n})\n\nconst filterToSchoolOrganisation = () => ({\n type: 'EXAMPLES:FILTER_SCHOOL_ORGANISATION'\n})\n\nconst filterToAll = () => ({\n type: 'EXAMPLES:FILTER_ALL'\n})\n\nconst copyExample = id => ({\n requestPrefix: 'EXAMPLES:COPY',\n request: () => apiCopyAssessmentFile(id)\n})\n\nexport { fetchExamples, copyExample, filterToSchoolOrganisation, filterToAll }\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n markAsExample,\n unmarkAsExample,\n markAsTrainingMaterial,\n unmarkAsTrainingMaterial,\n markAsBenchmark,\n unmarkAsBenchmark,\n openEditTitleDialog,\n closeAssessmentFile,\n reopenAssessmentFile,\n markAsPremium,\n unmarkAsPremium\n} from '../../../../../../stores/assessment-file/assessment-file.actions'\nimport { getAssessmentFile } from '../../../../../../stores/assessment-file/assessment-file.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\nimport { copyExample } from '../../../../../../stores/examples/examples.actions'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { me, id, contributionId, history }) => {\n const assessmentFile = getAssessmentFile(state)\n const user = me.account\n return {\n id: assessmentFile.id,\n title: assessmentFile.title,\n description: assessmentFile.context,\n example: assessmentFile.example,\n moderation_type: assessmentFile.moderation_type,\n judgement: assessmentFile.judgement,\n trainingMaterial: assessmentFile.training_material,\n canMarkAsExample: assessmentFile.policy.can_mark_as_example,\n canMarkAsTrainingMaterial: user.policy.can_mark_as_exemplar, // we will need a dedicated BE policy\n canUpdate: assessmentFile.policy && assessmentFile.policy.can_update,\n canClose: assessmentFile.policy && assessmentFile.policy.can_close,\n isClosed: assessmentFile.closed,\n canMarkAsBenchmark:\n assessmentFile.policy && assessmentFile.policy.can_mark_as_benchmark,\n benchmarked: assessmentFile.benchmarked,\n canManageAFs: user.policy && user.policy.can_manage_assessment_files,\n canSeeContextMenu:\n user.policy &&\n (user.policy.can_manage_assessment_files ||\n user.policy.can_mark_as_benchmark ||\n user.policy.can_close ||\n user.policy.can_update ||\n user.policy.can_mark_as_exemplar),\n premium: assessmentFile.premium,\n canMarkAsPremium: user.policy.can_mark_assessment_file_as_premium\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onMarkAsExample: id => dispatch(markAsExample(id)),\n onUnmarkAsExample: id => dispatch(unmarkAsExample(id)),\n onMarkAsTrainingMaterial: id => dispatch(markAsTrainingMaterial(id)),\n onUnmarkAsTrainingMaterial: id => dispatch(unmarkAsTrainingMaterial(id)),\n onMarkAsBenchmark: id => dispatch(markAsBenchmark(id)),\n onUnmarkAsBenchmark: id => dispatch(unmarkAsBenchmark(id)),\n onOpenEditTitleDialog: (id, title, description, moderation_type, judgement) =>\n dispatch(\n openEditTitleDialog(id, title, description, moderation_type, judgement)\n ),\n onClose: id => dispatch(closeAssessmentFile(id)),\n onReopen: id => dispatch(reopenAssessmentFile(id)),\n onCopy: id => {\n return dispatch(copyExample(id)).then(() =>\n ownProps.history.push('/my-files')\n )\n },\n onMarkAsPremium: id => dispatch(markAsPremium(id)),\n onUnmarkAsPremium: id => dispatch(unmarkAsPremium(id))\n})\n\nexport default withRouter(\n withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n )\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './intro.styles'\nimport ContextMenu from './context-menu/context-menu.container'\nimport AgeGroup from 'pobble-components/dist/age-group'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\n\nconst Intro = ({\n classes,\n pending,\n id,\n title,\n context,\n createdBy,\n createAt,\n contributions,\n concluded,\n conclusionAuthor,\n conclusionContent,\n example,\n trainingMaterial,\n benchmarked,\n benchmarkedBy,\n canUpdate,\n isClosed,\n canClose,\n onClose,\n onReopen,\n onOpenEditTitleDialog,\n canMarkAsExample,\n onMarkAsExample,\n onUnmarkAsExample,\n ageGroupTitle,\n ageGroupOrder,\n moderationType,\n judgement,\n premium,\n canMarkAsPremium\n}) => {\n return (\n
\n
\n

\n {premium && canMarkAsPremium && } You are viewing\n a moderation file\n

\n \n
\n
\n

\n {title}\n

\n
\n {ageGroupTitle}\n

{context}

\n
    \n {example && (\n
  • \n Exemplification material\n
  • \n )}\n {trainingMaterial && (\n
  • \n Training material\n
  • \n )}\n {benchmarked && (\n
  • \n \n School exemplar\n \n
  • \n )}\n
  • \n Created {createAt} ago by {createdBy}\n
  • \n
  • \n {contributions} contribution{contributions > 1 ? 's' : ''}\n
  • \n
  • {concluded ? 1 : 0} conclusion
  • \n {moderationType && (\n
  • \n {moderationType}\n
  • \n )}\n {judgement && (\n
  • \n {judgement}\n
  • \n )}\n
\n {concluded && conclusionContent && (\n

\n Conclusion: {conclusionContent} – \n {conclusionAuthor}\n

\n )}\n
\n )\n}\n\nexport default injectSheet(styles)(Intro)\n","import { createSelector } from 'reselect'\n\nconst getNormalizedContributions = state => state.Discussion.contributions\n\nconst getContributionsResult = createSelector(\n [getNormalizedContributions],\n contributions => (!contributions ? null : contributions.result)\n)\n\nconst getContributions = createSelector(\n [getNormalizedContributions],\n contributions =>\n !contributions ? null : contributions.entities.contributions\n)\n\nconst getContributionsList = createSelector(\n [getContributionsResult, getContributions],\n (result, contributions) =>\n !result ? null : result.map(id => contributions[id])\n)\n\nconst getFetchContributionsRequest = state =>\n state.Discussion.fetchDiscussionRequest\n\nconst getContribution = (state, id) => getContributions(state)[id]\n\nconst getCurrentConclusion = createSelector(\n [getContributionsList],\n contributions =>\n contributions &&\n contributions.filter(\n contribution => contribution.action_object.conclusion\n )[0]\n)\n\nconst isSibarOpen = state => state.Discussion.sidebar.opened\n\nconst getSubmitContributionRequest = state =>\n state.Discussion.submitContributionRequest\n\nconst editContributionDialogOpen = state =>\n state.Discussion.editContributionDialog\n\nconst getAreTemplatesVisible = state => state.Discussion.templates.visible\n\nconst getAreWorksVisible = state => state.Discussion.works.visible\n\nexport {\n getContributionsList,\n getContribution,\n getCurrentConclusion,\n getFetchContributionsRequest,\n getSubmitContributionRequest,\n isSibarOpen,\n editContributionDialogOpen,\n getAreTemplatesVisible,\n getAreWorksVisible\n}\n","import { connect } from 'react-redux'\nimport Intro from './intro'\nimport {\n getFetchRequest,\n getAssessmentFile\n} from '../../../../../stores/assessment-file/assessment-file.selectors'\nimport {\n markAsExample,\n unmarkAsExample,\n openEditTitleDialog,\n closeAssessmentFile,\n reopenAssessmentFile\n} from '../../../../../stores/assessment-file/assessment-file.actions'\nimport { getCurrentConclusion } from '../../../../../stores/discussion/discussion.selectors'\nimport { distanceInWords } from 'date-fns'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { match, me }) => {\n const fetchRequest = getFetchRequest(state)\n const assessmentFile = getAssessmentFile(state)\n const conclusion = getCurrentConclusion(state)\n const user = me.account\n return {\n id: assessmentFile.id,\n pending: fetchRequest.pending,\n title: assessmentFile.title,\n context: assessmentFile.context,\n createdBy:\n assessmentFile.teacher_type &&\n assessmentFile.teacher_type.account.full_name,\n createAt:\n assessmentFile.created_at &&\n distanceInWords(new Date(), new Date(assessmentFile.created_at)),\n contributions:\n assessmentFile.contributions && assessmentFile.contributions.length,\n concluded: assessmentFile.concluded,\n conclusionAuthor:\n conclusion && conclusion.originator && conclusion.originator.full_name,\n conclusionContent:\n conclusion &&\n conclusion.action_object &&\n conclusion.action_object.content,\n example: assessmentFile.example,\n trainingMaterial: assessmentFile.training_material,\n benchmarked: assessmentFile.benchmarked,\n benchmarkedBy:\n assessmentFile.benchmark &&\n assessmentFile.benchmark.benchmarked_by &&\n assessmentFile.benchmark.benchmarked_by.full_name,\n canMarkAsExample: user.policy.can_mark_as_exemplar,\n canUpdate: assessmentFile.policy && assessmentFile.policy.can_update,\n canClose: assessmentFile.policy && assessmentFile.policy.can_close,\n isClosed: assessmentFile.closed,\n ageGroupTitle:\n assessmentFile.student_types &&\n assessmentFile.student_types[0] &&\n assessmentFile.student_types[0].year_group &&\n assessmentFile.student_types[0].year_group.title,\n ageGroupOrder:\n assessmentFile.student_types &&\n assessmentFile.student_types[0] &&\n assessmentFile.student_types[0].year_group &&\n assessmentFile.student_types[0].year_group.order,\n moderationType:\n assessmentFile.moderation_type &&\n assessmentFile.moderation_type.replace(/_/g, ' '),\n judgement:\n assessmentFile.judgement && assessmentFile.judgement.replace(/_/g, ' '),\n canMarkAsPremium: user.policy.can_mark_assessment_file_as_premium,\n premium: assessmentFile.premium\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMarkAsExample: id => dispatch(markAsExample(id)),\n onUnmarkAsExample: id => dispatch(unmarkAsExample(id)),\n onOpenEditTitleDialog: (id, title) =>\n dispatch(openEditTitleDialog(id, title)),\n onClose: id => dispatch(closeAssessmentFile(id)),\n onReopen: id => dispatch(reopenAssessmentFile(id))\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(Intro)\n)\n","const styles = {\n container: {\n maxWidth: '100%'\n },\n feed: {\n padding: '10px 20px 0'\n },\n spinner: {\n fontSize: '25px'\n }\n}\n\nexport default styles\n","const styles = ({ COLORS }) => ({\n container: {\n background: '#fafafa',\n borderBottom: '2px solid #eee',\n padding: '20px'\n },\n actions: {\n marginTop: '8px',\n display: 'flex',\n justifyContent: 'space-between',\n paddingLeft: '35px'\n },\n uploader: {\n display: 'flex',\n alignItems: 'center',\n padding: '7px 6px'\n },\n upload: {\n cursor: 'pointer',\n fontWeight: 'bold',\n display: 'flex',\n alignItems: 'center',\n color: COLORS.BLUE.NORMAL,\n '&:hover': {\n color: COLORS.BLUE.FADED\n },\n '& > svg': {\n marginRight: '4px'\n }\n },\n uploadDisabled: {\n color: '#cbcbcb',\n cursor: 'default',\n '&:hover': {\n color: '#cbcbcb'\n }\n },\n uploadReady: {\n background: COLORS.BLUE.NORMAL,\n borderRadius: '4px',\n '& span': {\n color: '#fff !important'\n }\n },\n textarea: {\n height: '100px',\n resize: 'none'\n },\n cancel: {\n visibility: 'hidden',\n opacity: 0,\n transition: 'opacity 300ms ease-in-out'\n },\n visible: {\n visibility: 'visible',\n opacity: 1\n },\n area: {\n display: 'flex'\n },\n avatar: {\n fontSize: '25px',\n flexShrink: 0,\n marginRight: '10px'\n },\n templates: {\n display: 'flex',\n padding: '0 35px',\n justifyContent: 'flex-start',\n listStyle: 'none',\n margin: '10px 0 0',\n overflowX: 'auto'\n },\n template: {\n maxWidth: '30%',\n padding: '10px',\n border: '1px dashed #aaa',\n borderRadius: '4px',\n marginRight: '10px',\n color: '#aaa',\n cursor: 'pointer',\n minWidth: '170px',\n '&:hover': {\n background: '#fff',\n color: '#555',\n borderColor: COLORS.BLUE.NORMAL\n }\n },\n thumbnail: {\n minWidth: '145px',\n marginRight: '10px',\n cursor: 'pointer',\n '& > div': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n width: '100%',\n //paddingBottom: '133%',\n paddingBottom: '70%',\n borderRadius: '8px',\n border: '2px solid transparent',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%',\n color: '#fff',\n textAlign: 'right',\n paddingRight: '5px',\n paddingTop: '5px',\n fontWeight: 'bold',\n textShadow: '0px 0px 3px black'\n },\n '& > span > strong': {\n background: '#555555b0',\n padding: '2px 4px',\n borderRadius: '4px'\n }\n }\n },\n selected: {\n '& > div': {\n borderColor: COLORS.BLUE.NORMAL\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './contribution-form.styles'\nimport classNames from 'classnames'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport Button from 'pobble-components/dist/button'\nimport ArrowIcon from 'react-icons/lib/fa/caret-right'\nimport PaperclipIcon from 'react-icons/lib/fa/paperclip'\nimport TextIcon from 'react-icons/lib/fa/align-left'\nimport WorkIcon from 'react-icons/lib/fa/file-text-o'\nimport FormFile from 'pobble-components/dist/form-elements/form-file'\nimport { MyAvatar } from 'pobble-components/dist/pobble-avatar'\nimport Tooltip from 'pobble-components/dist/tooltip'\n\nconst ContributionForm = ({\n classes,\n onSubmit,\n pending,\n posting,\n isConcluded,\n isClosed,\n onShowTemplates,\n onHideTemplates,\n areTemplatesVisible,\n onShowWorks,\n onHideWorks,\n areWorksVisible,\n works\n}) => {\n return (\n {\n onSubmit(values)\n resetForm()\n }}\n initialValues={{\n contribution: '',\n workIds: []\n }}\n validationSchema={Yup.object().shape({\n contribution: Yup.string().required('Please provide a contribution')\n })}>\n {formikProps => {\n const {\n values,\n handleBlur,\n handleChange,\n handleSubmit,\n setFieldValue\n } = formikProps\n return (\n \n
\n \n \n
\n
\n
\n \n {\n files[0] && setFieldValue('fileName', files[0].name)\n return setFieldValue('file', files[0])\n }}>\n \n \n \n \n \n \n {!areTemplatesVisible && (\n {\n onShowTemplates()\n }}>\n \n \n )}\n {areTemplatesVisible && (\n \n \n \n )}\n \n \n {!areWorksVisible && (\n \n \n \n )}\n {areWorksVisible && (\n \n \n \n )}\n \n
\n
\n setFieldValue('contribution', '')}>\n Cancel\n \n \n {`${\n !isConcluded\n ? 'Submit contribution'\n : 'Reopen discussion and submit contribution'\n }`}{' '}\n \n \n
\n
\n {areTemplatesVisible && (\n
    \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'Across the collection the pupil has demonstrated effective application of...'\n )\n }}>\n Across the collection the pupil has demonstrated effective\n application of...\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'Across the collection the pupil is beginning to demonstrate good use of...'\n )\n }}>\n Across the collection the pupil is beginning to demonstrate\n good use of...\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'Within this piece the pupil has demonstrated effective application of ... in line with the writing purpose'\n )\n }}>\n Within this piece the pupil has demonstrated effective\n application of ... in line with the writing purpose\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'The writing purpose is clear and maintained, the pupil has achieved this by...'\n )\n }}>\n The writing purpose is clear and maintained, the pupil has\n achieved this by...\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'Following our discussions I feel that the most appropriate next step is for this pupil to...'\n )\n }}>\n Following our discussions I feel that the most appropriate\n next step is for this pupil to...\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'The discussions have reconfirmed my thinking that...'\n )\n }}>\n The discussions have reconfirmed my thinking that...\n \n {\n onHideTemplates()\n return setFieldValue(\n 'contribution',\n values.contribution +\n 'Having discussed the collection I would reconsider a revised judgement to...'\n )\n }}>\n Having discussed the collection I would reconsider a revised\n judgement to...\n \n
\n )}\n {areWorksVisible && (\n
    \n {works &&\n works.map((work, index) => (\n -1\n })}\n onClick={() => setFieldValue('workIds', [work.id])}>\n
    \n \n {index + 1}\n \n
    \n \n ))}\n
\n )}\n \n )\n }}\n \n )\n}\n\nexport default injectSheet(styles)(ContributionForm)\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiSubmitContribution = (assessmentFileId, contribution, params) =>\n apiClient.post(\n `v3/assessment_files/${assessmentFileId}/contributions`,\n contribution,\n { params }\n )\n\nconst apiSubmitContributionReply = (\n assessmentFileId,\n parentId,\n contribution,\n params\n) =>\n apiClient.post(\n `v3/assessment_files/${assessmentFileId}/contributions`,\n { content: contribution.content, parent_id: parentId },\n { params }\n )\n\nconst apiSubmitContributionWithAttachment = (\n assessmentFileId,\n contribution,\n params\n) => {\n const formData = new FormData()\n formData.append('content', contribution.content)\n formData.append('file', contribution.file)\n return apiClient.post(\n `v3/assessment_files/${assessmentFileId}/contributions`,\n formData,\n { params }\n )\n}\n\nconst apiMarkContributionAsConclusion = (contributionId, params) =>\n apiClient.put(`v3/contributions/${contributionId}/mark_as_conclusion`, null, {\n params\n })\n\nconst apiUnmarkContributionAsConclusion = (contributionId, params) =>\n apiClient.put(\n `v3/contributions/${contributionId}/unmark_as_conclusion`,\n null,\n {\n params\n }\n )\n\nconst apiDeleteContribution = (contributionId, params) =>\n apiClient.delete(`v3/contributions/${contributionId}/`, {\n params\n })\n\nconst apiEditContribution = (contributionId, body, params) =>\n apiClient.put(`v3/contributions/${contributionId}/`, body, {\n params\n })\n\nexport {\n apiSubmitContribution,\n apiSubmitContributionWithAttachment,\n apiMarkContributionAsConclusion,\n apiUnmarkContributionAsConclusion,\n apiDeleteContribution,\n apiEditContribution,\n apiSubmitContributionReply\n}\n","import {\n apiSubmitContribution,\n apiSubmitContributionWithAttachment,\n apiMarkContributionAsConclusion,\n apiUnmarkContributionAsConclusion,\n apiDeleteContribution,\n apiEditContribution,\n apiSubmitContributionReply\n} from '../../common/api/discussion'\nimport { apiGetAssessmentFile } from '../../common/api/assessment'\n\nconst fetchDiscussion = assessmentFileId => ({\n requestPrefix: 'DISCUSSION:FETCH',\n params: { assessmentFileId },\n request: () =>\n apiGetAssessmentFile(assessmentFileId, {\n include:\n 'assessment_file.actions,assessment_file.action.action_object,assessment_file.action.action_object.details,assessment_file.action.action_object.timestamps,assessment_file.action.details,assessment_file.action.originator,assessment_file.action.account.names,assessment_file.action.account.la_manager_type,assessment_file.action.account.la_manager_type.school_organisation,assessment_file.action.account.la_manager_type.school_organisation.details,assessment_file.action.account.avatar,assessment_file.action.action_object.guest_moderator,assessment_file.action.action_object.account.email_identity.email,assessment_file.action.action_object.account,assessment_file.action.action_object.account.names,assessment_file.action.action_object.marked_as_conclusion_by.names,assessment_file.action.timestamps,assessment_file.action.action_object.attachment,assessment_file.action.action_object.attachment.file,assessment_file.action.action_object.policy,assessment_file.action.action_object.works,assessment_file.action.action_object.replies,assessment_file.action.action_object.reply.actions,assessment_file.action.action_object.reply.action.action_object,assessment_file.action.action_object.reply.action.action_object.details,assessment_file.action.action_object.reply.action.action_object.timestamps,assessment_file.action.action_object.reply.action.action_object.originator,assessment_file.action.action_object.reply.action.action_object.account.names,assessment_file.action.action_object.reply.action.action_object.account.avatar,assessment_file.action.action_object.reply.action.action_object.policy'\n })\n})\n\nconst openSidebar = () => {\n return {\n type: 'DISCUSSION:SIDEBAR:OPEN'\n }\n}\n\nconst closeSidebar = () => ({\n type: 'DISCUSSION:SIDEBAR:CLOSE'\n})\n\nconst submitContribution = (id, currentConclusion, data) => ({\n requestPrefix: 'DISCUSSION:SUBMIT',\n params: { currentConclusion },\n request: () => {\n const include =\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar,action.action_object.marked_as_conclusion_by.names,action.action_object.attachment,action.action_object.attachment.file,action.action_object.policy,action.action_object.works,action.action_object.replies'\n return data.file\n ? apiSubmitContributionWithAttachment(id, data, { include })\n : apiSubmitContribution(id, data, { include })\n }\n})\n\nconst submitContributionReply = (assessmentFileId, parentId, data, id) => ({\n requestPrefix: 'DISCUSSION:SUBMIT_REPLY',\n params: { assessmentFileId, parentId, id },\n request: () => {\n const include =\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar,action.action_object.marked_as_conclusion_by.names,action.action_object.attachment,action.action_object.attachment.file,action.action_object.policy,action.action_object.works,action.action_object.account,action.action_object.account.names'\n return apiSubmitContributionReply(assessmentFileId, parentId, data, {\n include\n })\n }\n})\n\nconst markAsConclusion = (contributionId, actionId) => ({\n requestPrefix: 'DISCUSSION:MARK_AS_CONCLUSION',\n params: { actionId },\n request: () =>\n apiMarkContributionAsConclusion(contributionId, {\n include:\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar,action.action_object.marked_as_conclusion_by.names'\n })\n})\n\nconst unmarkAsConclusion = (contributionId, actionId) => ({\n requestPrefix: 'DISCUSSION:UNMARK_AS_CONCLUSION',\n params: { actionId },\n request: () =>\n apiUnmarkContributionAsConclusion(contributionId, {\n include:\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar'\n })\n})\n\nconst deleteContribution = (contributionId, actionId) => ({\n requestPrefix: 'DISCUSSION:DELETE',\n params: { contributionId, actionId },\n request: () => apiDeleteContribution(contributionId)\n})\n\nconst deleteContributionReply = (contributionId, actionId, parentId) => ({\n requestPrefix: 'DISCUSSION:DELETE_REPLY',\n params: { contributionId, actionId, parentId },\n request: () => apiDeleteContribution(contributionId)\n})\n\nconst editContribution = (contributionId, actionId, body) => ({\n requestPrefix: 'DISCUSSION:EDIT',\n params: { contributionId, actionId, body },\n request: () =>\n apiEditContribution(contributionId, body, {\n include:\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar,action.action_object.marked_as_conclusion_by.names,action.action_object.attachment,action.action_object.attachment.file,action.action_object.policy'\n })\n})\n\nconst editContributionReply = (contributionId, actionId, body, parentId) => ({\n requestPrefix: 'DISCUSSION:EDIT_REPLY',\n params: { contributionId, actionId, body, parentId },\n request: () =>\n apiEditContribution(contributionId, body, {\n include:\n 'action.details,action.timestamps,action.action_object,action.action_object.details,action.action_object.timestamps,action.originator,action.account.names,action.account.avatar,action.action_object.marked_as_conclusion_by.names,action.action_object.attachment,action.action_object.attachment.file,action.action_object.policy'\n })\n})\n\nconst openEditContributionDialog = (id, contributionId, body, parentId) => ({\n type: 'DISCUSSION:EDIT_CONTRIBUTION_DIALOG:OPEN',\n params: {\n id,\n contributionId,\n body,\n parentId\n }\n})\n\nconst closeEditContributionDialog = () => ({\n type: 'DISCUSSION:EDIT_CONTRIBUTION_DIALOG:CLOSE'\n})\n\nconst showTemplates = () => ({\n type: 'DISCUSSION:TEMPLATES:SHOW'\n})\n\nconst hideTemplates = () => ({\n type: 'DISCUSSION:TEMPLATES:HIDE'\n})\n\nconst showWorks = () => ({\n type: 'DISCUSSION:WORKS:SHOW'\n})\n\nconst hideWorks = () => ({\n type: 'DISCUSSION:WORKS:HIDE'\n})\n\nexport {\n fetchDiscussion,\n openSidebar,\n closeSidebar,\n submitContribution,\n markAsConclusion,\n unmarkAsConclusion,\n deleteContribution,\n editContribution,\n openEditContributionDialog,\n closeEditContributionDialog,\n showTemplates,\n hideTemplates,\n showWorks,\n hideWorks,\n submitContributionReply,\n editContributionReply,\n deleteContributionReply\n}\n","import { connect } from 'react-redux'\nimport ContributionForm from './contribution-form'\nimport {\n getSubmitContributionRequest,\n getCurrentConclusion,\n getAreTemplatesVisible,\n getAreWorksVisible\n} from '../../../stores/discussion/discussion.selectors'\nimport {\n getAssessmentFileConclusionState,\n getAssessmentFileClosedState\n} from '../../../stores/assessment-file/assessment-file.selectors'\nimport {\n submitContribution,\n showTemplates,\n hideTemplates,\n showWorks,\n hideWorks\n} from '../../../stores/discussion/discussion.actions'\nimport { getWorksList } from '../../../stores/works/works.selectors'\nimport { withRouter } from 'react-router-dom'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { match }) => {\n const currentConclusion = getCurrentConclusion(state)\n return {\n id: match.params.assessmentFileId,\n posting: getSubmitContributionRequest(state).pending,\n currentConclusion: currentConclusion && currentConclusion.id,\n isConcluded: getAssessmentFileConclusionState(state),\n isClosed: getAssessmentFileClosedState(state),\n areTemplatesVisible: getAreTemplatesVisible(state),\n areWorksVisible: getAreWorksVisible(state),\n works: getWorksList(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onShowTemplates: () => {\n dispatch(hideWorks())\n return dispatch(showTemplates())\n },\n onHideTemplates: () => dispatch(hideTemplates()),\n onShowWorks: () => {\n dispatch(hideTemplates())\n return dispatch(showWorks())\n },\n onHideWorks: () => dispatch(hideWorks()),\n\n onSubmit: values => {\n const data = {\n content: values.contribution,\n file: values.file,\n work_ids: values.workIds\n }\n dispatch(hideWorks())\n dispatch(hideTemplates())\n dispatch(\n submitContribution(stateProps.id, stateProps.currentConclusion, data)\n ).catch(errorHandler)\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContributionForm)\n)\n","const styles = () => ({\n container: {\n margin: 0,\n padding: 0,\n listStyle: 'none'\n },\n refreshContainer: {\n textAlign: 'center',\n marginTop: '5px'\n },\n refresh: {\n '& svg': {\n marginRight: '4px'\n }\n }\n})\n\nexport default styles\n","const styles = () => ({\n container: {\n paddingBottom: '14px',\n marginBottom: '12px',\n borderBottom: '1px solid #e5e5e5',\n '&:last-child': {\n border: 'none'\n }\n }\n})\n\nexport default styles\n","const styles = ({ COLORS }) => ({\n container: {\n display: 'flex',\n alignItems: 'flex-start'\n },\n action: {\n color: '#a8a8a8'\n },\n name: {\n color: '#666'\n },\n avatar: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n fontSize: '25px',\n flexShrink: 0\n },\n content: {\n paddingTop: '4px',\n width: '100%',\n '& p': {\n marginBottom: 0\n }\n },\n footer: {\n display: 'flex',\n justifyContent: 'flex-end',\n marginTop: '20px'\n },\n button: {\n background: 'rgba(0,0,0,0.04)',\n color: '#505050',\n fontWeight: 'normal',\n borderColor: 'transparent',\n fontSize: '12px',\n padding: '4px 8px',\n height: 'auto',\n marginLeft: '4px',\n '&:hover': {\n color: '#fff'\n },\n '&:disabled': {\n color: 'rgba(1,1,1,0.2)'\n }\n },\n markedAsConclusion: {\n fontWeight: 'bold',\n marginBottom: '20px',\n '& span': {\n fontWeight: 'normal'\n }\n },\n wrapper: {\n transition: 'background 300ms ease-in-out, outline 300ms ease-in-out',\n outline: '14px solid transparent',\n margin: '34px 0 14px'\n },\n conclusion: {\n background: '#ebf9fe',\n outlineColor: '#ebf9fe'\n },\n attachment: {\n display: 'block',\n border: '1px solid #e5e5e5',\n padding: '5px',\n marginTop: '20px',\n textDecoration: 'none',\n color: '#5c5c5c',\n borderRadius: '4px',\n '&:hover': {\n color: COLORS.BLUE.NORMAL\n }\n },\n dots: {\n float: 'right',\n '& > button': {\n height: '20px',\n width: '20px',\n padding: '4px',\n border: 'none'\n }\n },\n link: {\n color: COLORS.BLUE.NORMAL,\n fontWeight: 'bold',\n textDecoration: 'none'\n },\n ref: {\n marginTop: '10px'\n },\n replies: {\n borderLeft: '1px solid #e5e5e5',\n paddingLeft: '20px',\n marginTop: '10px'\n },\n replyActions: {\n display: 'flex',\n justifyContent: 'flex-end',\n width: '100%'\n },\n replyForm: {\n padding: '10px',\n background: '#fafafa',\n borderBottom: '2px solid #eee'\n },\n conclusionContent: {\n textAlign: 'center',\n '& p': {\n fontSize: '18px',\n lineHeight: '24px'\n },\n '& h3': {\n marginBottom: 0\n },\n '& img': {\n maxWidth: '200px',\n marginTop: '38px'\n }\n },\n conclusionFooter: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end'\n },\n check: {\n background: COLORS.BLUE.NORMAL,\n color: '#fff',\n padding: '2px',\n borderRadius: '100%',\n position: 'relative',\n top: '-1px'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport TrashIcon from 'react-icons/lib/fa/trash'\nimport PencilIcon from 'react-icons/lib/fa/pencil'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst ContextMenu = ({\n classes,\n body,\n onDelete,\n onOpenEditContributionDialog\n}) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n onOpenEditContributionDialog(body)\n closePopover()\n }}>\n \n \n \n Edit\n \n {\n openConfirmationDialog({\n bodyText: 'Are you sure you want to delete this contribution?',\n action: onDelete,\n confirmText: 'Delete',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Delete\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n deleteContribution,\n openEditContributionDialog\n} from '../../../../../../stores/discussion/discussion.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getContribution } from '../../../../../../stores/discussion/discussion.selectors'\n\nconst mapStateToProps = (state, { id, contributionId }) => {\n const contribution = getContribution(state, id)\n return {\n id: contributionId,\n body:\n contribution &&\n contribution.action_object &&\n contribution.action_object.content\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onDelete: () =>\n dispatch(deleteContribution(ownProps.contributionId, ownProps.id)).catch(\n errorHandler\n ),\n onOpenEditContributionDialog: body =>\n dispatch(\n openEditContributionDialog(ownProps.contributionId, ownProps.id, body)\n )\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ContextMenu)\n","const styles = ({ COLORS }) => ({\n container: {\n display: 'flex',\n alignItems: 'flex-start'\n },\n action: {\n color: '#a8a8a8'\n },\n name: {\n color: '#666'\n },\n avatar: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n fontSize: '25px',\n flexShrink: 0\n },\n content: {\n paddingTop: '4px',\n width: '100%',\n '& p': {\n marginBottom: '5px'\n }\n },\n footer: {\n display: 'flex',\n justifyContent: 'flex-end',\n marginTop: '20px'\n },\n button: {\n background: 'rgba(0,0,0,0.04)',\n color: '#505050',\n fontWeight: 'normal',\n borderColor: 'transparent',\n fontSize: '12px',\n padding: '4px 8px',\n height: 'auto',\n marginLeft: '4px',\n '&:hover': {\n color: '#fff'\n },\n '&:disabled': {\n color: 'rgba(1,1,1,0.2)'\n }\n },\n markedAsConclusion: {\n fontWeight: 'bold',\n marginBottom: '20px',\n '& span': {\n fontWeight: 'normal'\n }\n },\n wrapper: {\n transition: 'background 300ms ease-in-out, outline 300ms ease-in-out',\n outline: '14px solid transparent',\n margin: 0,\n padding: '10px 0',\n borderTop: '1px solid #e5e5e5'\n },\n conclusion: {\n background: '#ebf9fe',\n outlineColor: '#ebf9fe'\n },\n attachment: {\n display: 'block',\n border: '1px solid #e5e5e5',\n padding: '5px',\n marginTop: '20px',\n textDecoration: 'none',\n color: '#5c5c5c',\n borderRadius: '4px',\n '&:hover': {\n color: COLORS.BLUE.NORMAL\n }\n },\n dots: {\n float: 'right',\n '& > button': {\n height: '20px',\n width: '20px',\n padding: '4px',\n border: 'none'\n }\n },\n link: {\n color: COLORS.BLUE.NORMAL,\n fontWeight: 'bold',\n textDecoration: 'none'\n },\n ref: {\n marginTop: '10px'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport TrashIcon from 'react-icons/lib/fa/trash'\nimport PencilIcon from 'react-icons/lib/fa/pencil'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst ContextMenu = ({\n classes,\n body,\n onDelete,\n onOpenEditContributionDialog\n}) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n onOpenEditContributionDialog(body)\n closePopover()\n }}>\n \n \n \n Edit reply\n \n {\n openConfirmationDialog({\n bodyText: 'Are you sure you want to delete this contribution?',\n action: onDelete,\n confirmText: 'Delete',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Delete\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n deleteContributionReply,\n openEditContributionDialog\n} from '../../../../../../../stores/discussion/discussion.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { id, contributionId, parentId, content }) => {\n return {\n id: contributionId,\n parentId,\n body: content\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onDelete: () =>\n dispatch(\n deleteContributionReply(\n ownProps.contributionId,\n ownProps.id,\n ownProps.parentId\n )\n ).catch(errorHandler),\n onOpenEditContributionDialog: body =>\n dispatch(\n openEditContributionDialog(\n ownProps.contributionId,\n ownProps.id,\n body,\n ownProps.parentId\n )\n )\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ContextMenu)\n","import React, { useMemo } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-comment-reply.styles'\nimport { PobbleAvatar } from 'pobble-components/dist/pobble-avatar'\nimport { distanceInWords } from 'date-fns'\nimport ContextMenu from './context-menu/context-menu.container'\nimport { withRouter } from 'react-router-dom'\n\nconst ActionCommentReply = ({\n classes,\n id,\n avatar,\n name,\n content,\n timestamp,\n contributionId,\n parentId,\n canDelete,\n edited\n}) => {\n const postedAt = useMemo(\n () => (!timestamp ? '' : distanceInWords(new Date(), new Date(timestamp))),\n [timestamp]\n )\n\n return (\n
\n
\n \n
\n
\n {name} replied {postedAt}{' '}\n ago {edited && (edited)}\n {canDelete && (\n
\n \n
\n )}\n
\n

{content}

\n
\n
\n
\n )\n}\n\nexport default withRouter(injectSheet(styles)(ActionCommentReply))\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport ActionCommentReply from './action-comment-reply'\n\nconst mapStateToProps = (state, { id, match, reply, parentId }) => {\n const action = reply.actions[0]\n return {\n id,\n parentId,\n assessmentFileId: match.params.assessmentFileId,\n contributionId: action && action.action_object && action.action_object.id,\n name:\n action &&\n action.action_object &&\n action.action_object.account &&\n action.action_object.account.full_name,\n avatar:\n action &&\n action.action_object &&\n action.action_object.account &&\n action.action_object.account.avatar,\n content: action && action.action_object && action.action_object.content,\n timestamp:\n action && action.action_object && action.action_object.created_at,\n canDelete:\n action &&\n action.action_object &&\n action.action_object.policy &&\n action.action_object.policy.can_delete,\n edited: action && action.action_object && action.action_object.edited_at\n }\n}\n\nexport default withRouter(\n connect(\n mapStateToProps,\n null\n )(ActionCommentReply)\n)\n","import React, { useMemo, useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-comment.styles'\nimport { PobbleAvatar } from 'pobble-components/dist/pobble-avatar'\nimport Button from 'pobble-components/dist/button'\nimport classNames from 'classnames'\nimport PaperclipIcon from 'react-icons/lib/fa/paperclip'\nimport CheckIcon from 'react-icons/lib/fa/check'\nimport { distanceInWords } from 'date-fns'\nimport ContextMenu from './context-menu/context-menu.container'\nimport { Link, withRouter } from 'react-router-dom'\nimport TextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\nimport ActionCommentReply from './action-comment-reply/action-comment-reply.container'\nimport { Modal, ModalContent, ModalFooter } from 'pobble-components/dist/modal'\nimport duck from '../../../../../common/images/duck.gif'\nimport Tooltip from 'pobble-components/dist/tooltip'\n\nconst ActionComment = ({\n classes,\n id,\n avatar,\n name,\n content,\n timestamp,\n contributionId,\n onMarkedAsConclusion,\n onUnmarkedAsConclusion,\n isConclusion,\n concludedBy,\n isAFConcluded,\n contributorsCount,\n attachment,\n attachmentName,\n canDelete,\n edited,\n workId,\n assessmentFileWorks,\n assessmentFileId,\n workRef,\n isAFClosed,\n onReply,\n replies,\n localAuthority,\n isLocalAuthorityManager\n}) => {\n const postedAt = useMemo(\n () => (!timestamp ? '' : distanceInWords(new Date(), new Date(timestamp))),\n [timestamp]\n )\n\n let [replyVisible, showReply] = useState(0)\n\n const [isOpen, setIsOpen] = useState(false)\n\n return (\n \n {isConclusion && (\n
\n Marked as a conclusion by {concludedBy}\n
\n )}\n
\n \n
\n
\n {name}{' '}\n {localAuthority && isLocalAuthorityManager && (\n \n \n \n )}{' '}\n said {postedAt} ago {edited && (edited)}\n {!isConclusion && canDelete && (\n
\n \n
\n )}\n
\n

{content}

\n {workId && workRef && (\n
\n Ref:{' '}\n \n #{assessmentFileWorks.indexOf(workId) + 1}: {workRef.title}\n \n
\n )}\n {attachment && (\n \n {attachmentName}\n \n )}\n\n
\n {replies &&\n replies.map(reply => (\n \n ))}\n\n {!!replyVisible && (\n {\n onReply(assessmentFileId, contributionId, reply, id).then(\n res => showReply((replyVisible = false))\n )\n }}>\n {props => {\n const {\n handleSubmit,\n handleChange,\n values,\n errors,\n isValid\n } = props\n return (\n
\n \n
\n showReply((replyVisible = false))}>\n Cancel\n \n \n
\n \n )\n }}\n \n )}\n
\n\n
\n showReply((replyVisible = !replyVisible))}\n className={classes.button}>\n Reply\n \n\n {!isConclusion && (\n setIsOpen(!isOpen)}\n className={classes.button}\n disabled={isConclusion || isAFConcluded || isAFClosed}>\n Mark{isConclusion ? 'ed' : ''} as conclusion\n \n )}\n {isConclusion && (\n onUnmarkedAsConclusion(contributionId, id)}\n className={classes.button}\n disabled={isAFClosed}>\n Unmark as conclusion\n \n )}\n
\n
\n
\n \n \n \"Duck\"\n

Great!

\n

\n You are about to select a conclusion for this discussion.\n
\n Contributors to this moderation file ({contributorsCount}{' '}\n {contributorsCount > 1 ? 'people' : 'person'}) will be notified.{' '}\n

\n
\n \n
\n \n \n onMarkedAsConclusion(contributionId, id) && setIsOpen()\n }>\n Mark as conclusion\n \n
\n
\n
\n \n )\n}\n\nexport default withRouter(injectSheet(styles)(ActionComment))\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport ActionComment from './action-comment'\nimport { getContribution } from '../../../../../stores/discussion/discussion.selectors'\nimport {\n getAssessmentFileConclusionState,\n getContributorsCount,\n getAssessmentFileClosedState\n} from '../../../../../stores/assessment-file/assessment-file.selectors'\nimport {\n markAsConclusion,\n unmarkAsConclusion,\n submitContributionReply\n} from '../../../../../stores/discussion/discussion.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n getWorksResult,\n getWork\n} from '../../../../../stores/works/works.selectors'\n\nconst mapStateToProps = (state, { id, match }) => {\n const action = getContribution(state, id)\n const isAFConcluded = getAssessmentFileConclusionState(\n state,\n match.params.assessmentFileId\n )\n const assessmentFileWorks = getWorksResult(state)\n const workId =\n action.action_object &&\n action.action_object.works &&\n action.action_object.works[0] &&\n action.action_object.works[0].id\n const workRef = getWork(state, workId)\n const isAFClosed = getAssessmentFileClosedState(state)\n return {\n id,\n assessmentFileId: match.params.assessmentFileId,\n contributionId: action.action_object.id,\n name: action.originator.full_name,\n localAuthority:\n action.originator.la_manager_type &&\n action.originator.la_manager_type.school_organisation &&\n action.originator.la_manager_type.school_organisation.title,\n isLocalAuthorityManager:\n action.originator.la_manager_type &&\n action.originator.la_manager_type.school_organisation &&\n action.originator.la_manager_type.school_organisation.local_authority,\n avatar: action.originator.avatar,\n content: action.action_object.content,\n isConclusion: action.action_object.conclusion,\n concludedBy:\n action.action_object &&\n action.action_object.marked_as_conclusion_by &&\n action.action_object.marked_as_conclusion_by.full_name,\n isAFConcluded: isAFConcluded,\n contributorsCount: getContributorsCount(\n state,\n match.params.assessmentFileId\n ),\n timestamp: action.action_object && action.action_object.created_at,\n attachment:\n action.action_object &&\n action.action_object.attachment &&\n action.action_object.attachment.file_url,\n attachmentName:\n action.action_object &&\n action.action_object.attachment &&\n action.action_object.attachment.file_url &&\n unescape(action.action_object.attachment.file_url.split('/').pop(-1)),\n canDelete:\n action.action_object &&\n action.action_object.policy &&\n action.action_object.policy.can_delete,\n edited: action.action_object && action.action_object.edited_at,\n workId: workId,\n assessmentFileWorks: assessmentFileWorks,\n workRef: workRef,\n isAFClosed,\n replies: action.action_object && action.action_object.replies\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMarkedAsConclusion: (id, actionId) =>\n dispatch(markAsConclusion(id, actionId)).catch(errorHandler),\n onUnmarkedAsConclusion: (id, actionId) =>\n dispatch(unmarkAsConclusion(id, actionId)).catch(errorHandler),\n onReply: (assessmentFileId, parentId, contribution, id) => {\n return dispatch(\n submitContributionReply(\n assessmentFileId,\n parentId,\n {\n content: contribution\n },\n id\n )\n ).catch(errorHandler)\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(ActionComment)\n)\n","const styles = () => ({\n container: {\n display: 'flex',\n alignItems: 'center'\n },\n name: {\n color: '#666'\n },\n icon: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n flexShrink: 0,\n color: '#9b9b9b',\n border: '1px solid',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '& svg': {\n width: '14px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-conclusion.styles'\nimport CheckIcon from 'react-icons/lib/fa/check'\n\nconst ActionConclusion = ({ classes, id, name, timestamp }) => {\n return (\n
\n \n \n {' '}\n
\n {name} selected a\n conclusion {timestamp} ago\n
\n
\n )\n}\n\nexport default injectSheet(styles)(ActionConclusion)\n","import { connect } from 'react-redux'\nimport ActionConclusion from './action-conclusion'\nimport { getContribution } from '../../../../../stores/discussion/discussion.selectors'\nimport { distanceInWords } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const action = getContribution(state, id)\n return {\n id,\n name: action.originator.full_name,\n timestamp:\n action &&\n action.created_at &&\n distanceInWords(new Date(), new Date(action.created_at))\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ActionConclusion)\n","const styles = () => ({\n container: {\n display: 'flex',\n alignItems: 'center'\n },\n name: {\n color: '#666'\n },\n icon: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n flexShrink: 0,\n color: '#9b9b9b',\n border: '1px solid',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '& svg': {\n width: '14px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-unmark-conclusion.styles'\nimport CheckIcon from 'react-icons/lib/fa/check'\n\nconst ActionUnmarkConclusion = ({ classes, id, name, timestamp }) => {\n return (\n
\n \n \n {' '}\n
\n {name} unmarked a\n contribution as a conclusion for this discussion {timestamp} ago\n
\n
\n )\n}\n\nexport default injectSheet(styles)(ActionUnmarkConclusion)\n","import { connect } from 'react-redux'\nimport ActionUnmarkConclusion from './action-unmark-conclusion'\nimport { getContribution } from '../../../../../stores/discussion/discussion.selectors'\nimport { distanceInWords } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const action = getContribution(state, id)\n return {\n id,\n name: action.originator.full_name,\n timestamp:\n action.action_object &&\n action.action_object.created_at &&\n distanceInWords(new Date(), new Date(action.action_object.created_at))\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ActionUnmarkConclusion)\n","const styles = () => ({\n container: {\n display: 'flex',\n alignItems: 'center'\n },\n name: {\n color: '#666'\n },\n icon: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n flexShrink: 0,\n color: '#9b9b9b',\n border: '1px solid',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '& svg': {\n width: '14px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-add-work.styles'\nimport CheckIcon from 'react-icons/lib/fa/plus'\n\nconst ActionAddWork = ({ classes, id, name, timestamp }) => {\n return (\n
\n \n \n {' '}\n
\n {name} added a piece of\n work {timestamp} ago\n
\n
\n )\n}\n\nexport default injectSheet(styles)(ActionAddWork)\n","import { connect } from 'react-redux'\nimport ActionAddWork from './action-add-work'\nimport { getContribution } from '../../../../../stores/discussion/discussion.selectors'\nimport { distanceInWords } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const action = getContribution(state, id)\n return {\n id,\n name: action.originator.full_name,\n timestamp:\n action.created_at &&\n distanceInWords(new Date(), new Date(action.created_at))\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ActionAddWork)\n","const styles = () => ({\n container: {\n display: 'flex',\n alignItems: 'center'\n },\n name: {\n color: '#666'\n },\n icon: {\n borderRadius: '100%',\n width: '25px',\n height: '25px',\n marginRight: '8px',\n flexShrink: 0,\n color: '#9b9b9b',\n border: '1px solid',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '& svg': {\n width: '14px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action-remove-work.styles'\nimport CheckIcon from 'react-icons/lib/fa/minus'\n\nconst ActionRemoveWork = ({ classes, id, name, timestamp }) => {\n return (\n
\n \n \n {' '}\n
\n {name} removed a piece of\n work {timestamp} ago\n
\n
\n )\n}\n\nexport default injectSheet(styles)(ActionRemoveWork)\n","import ActionComment from './action-comment/action-comment.container'\n// import ActionJoin from './action-join/action-join.container'\n// import ActionInvitation from './action-invitation/action-invitation.container'\nimport ActionConclusion from './action-conclusion/action-conclusion.container'\nimport ActionUnmarkConclusion from './action-unmark-conclusion/action-unmark-conclusion.container'\nimport ActionAddWork from './action-add-work/action-add-work.container'\nimport ActionRemoveWork from './action-remove-work/action-remove-work.container'\n\nconst actionMap = {\n CommentAdded: ActionComment,\n CommentAddedWithAttachment: ActionComment,\n // AccountJoinedDiscussion: ActionJoin,\n // GuestModeratorInvited: ActionInvitation,\n ContributionMarkedAsConclusion: ActionConclusion,\n ContributionUnmarkedAsConclusion: ActionUnmarkConclusion,\n WorkAdded: ActionAddWork,\n WorkRemoved: ActionRemoveWork\n}\n\nexport default actionMap\n","import { connect } from 'react-redux'\nimport ActionRemoveWork from './action-remove-work'\nimport { getContribution } from '../../../../../stores/discussion/discussion.selectors'\nimport { distanceInWords } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const action = getContribution(state, id)\n return {\n id,\n name: action.originator.full_name,\n timestamp:\n action.created_at &&\n distanceInWords(new Date(), new Date(action.created_at))\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ActionRemoveWork)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './action.styles'\nimport actionMap from './action.map'\n\nconst Action = ({ classes, id, type }) => {\n const ActionByType = actionMap[type]\n\n return (\n (actionMap[type] && (\n
  • \n \n
  • \n )) ||\n null\n )\n}\n\nexport default injectSheet(styles)(Action)\n","import { connect } from 'react-redux'\nimport Action from './action'\nimport { getContribution } from '../../../../stores/discussion/discussion.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const action = getContribution(state, id)\n return {\n id,\n type: action.type\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Action)\n","const styles = () => ({\n footer: {\n display: 'flex',\n justifyContent: 'flex-end'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './edit-contribution-dialog.styles'\nimport Button from 'pobble-components/dist/button'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport TextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\n\nconst EditContributionDialog = ({\n classes,\n id,\n onUpdate,\n isOpen,\n onClose,\n body\n}) => (\n \n Edit your contribution\n \n onUpdate({ content: editedBody }) && onClose()\n }>\n {props => {\n const { handleSubmit, handleChange, values, errors, isValid } = props\n return (\n
    \n \n \n \n \n \n \n \n
    \n )\n }}\n \n
    \n)\n\nexport default injectSheet(styles)(EditContributionDialog)\n","import { connect } from 'react-redux'\nimport EditContributionDialog from './edit-contribution-dialog'\n\nimport {\n editContribution,\n editContributionReply,\n closeEditContributionDialog\n} from '../../../../../../../stores/discussion/discussion.actions'\nimport { editContributionDialogOpen } from '../../../../../../../stores/discussion/discussion.selectors'\n\nconst mapStateToProps = state => {\n const dialog = editContributionDialogOpen(state)\n return {\n isOpen: dialog.opened,\n id: dialog.id,\n contributionId: dialog.contributionId,\n body: dialog.body,\n pending: false,\n parentId: dialog.parentId\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onClose: () => dispatch(closeEditContributionDialog()),\n onUpdate: editedBody => {\n return stateProps.parentId\n ? dispatch(\n editContributionReply(\n stateProps.id,\n stateProps.contributionId,\n editedBody,\n stateProps.parentId\n )\n )\n : dispatch(\n editContribution(stateProps.id, stateProps.contributionId, editedBody)\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(EditContributionDialog)\n","import React, { Fragment, Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './discussion-feed.styles'\nimport Action from './action/action.container'\nimport Button from 'pobble-components/dist/button'\nimport ArrowIcon from 'react-icons/lib/fa/refresh'\nimport EditContributionDialog from './action/action-comment/context-menu/edit-contribution-dialog/edit-contribution-dialog.container'\n\nclass DiscussionFeed extends Component {\n componentDidMount() {\n this.props.onMount(this.props.id)\n }\n render() {\n const { classes, pending, contributions } = this.props\n return (\n \n {!pending && (\n
    \n this.props.onMount(this.props.id)}>\n Refresh\n \n
    \n )}\n
      \n {!pending &&\n contributions &&\n contributions.map(contribution => (\n \n ))}\n
    \n {!pending && contributions.length === 0 &&

    No contributions yet.

    }\n \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(DiscussionFeed)\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport DiscussionFeed from './discussion-feed'\nimport {\n getFetchContributionsRequest,\n getContributionsList\n} from '../../../stores/discussion/discussion.selectors'\nimport { fetchDiscussion } from '../../../stores/discussion/discussion.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { match }) => {\n return {\n id: match.params.assessmentFileId,\n pending: getFetchContributionsRequest(state).pending,\n contributions: getContributionsList(state) || []\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: id => dispatch(fetchDiscussion(id)).catch(errorHandler)\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(DiscussionFeed)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './discussion.styles'\nimport ContributionForm from '../../../../shared/contribution-form/contribution-form.container'\nimport DiscussionFeed from '../../../../shared/discussion-feed/discussion-feed.container'\nimport Spinner from 'pobble-components/dist/spinner'\n\nconst Discussion = ({ classes, pending }) => {\n return (\n
    \n

    Join the discussion

    \n {!pending && }\n
    \n \n {pending && }\n
    \n
    \n )\n}\n\nexport default injectSheet(styles)(Discussion)\n","import { connect } from 'react-redux'\nimport Discussion from './discussion'\nimport { getFetchContributionsRequest } from '../../../../../stores/discussion/discussion.selectors'\n\nconst mapStateToProps = state => {\n const fetchRequest = getFetchContributionsRequest(state)\n return {\n pending: fetchRequest.pending\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Discussion)\n","const styles = {\n container: {},\n heading: {\n display: 'inline',\n '& h2': {\n marginBottom: '14px'\n },\n '& small': {\n color: '#a3a3a3',\n fontSize: '12px',\n fontWeight: 'normal'\n }\n },\n works: {\n margin: 0,\n padding: 0,\n overflow: 'auto',\n whiteSpace: 'nowrap',\n display: 'flex'\n },\n work: {\n textAlign: 'center',\n maxWidth: '140px',\n listStyle: 'none',\n marginRight: '12px',\n marginBottom: '10px',\n display: 'inline-block'\n },\n workTitle: {\n margin: 0,\n maxWidth: '100%',\n overflow: 'hidden',\n whiteSpace: 'pre-wrap'\n },\n link: {\n display: 'block',\n color: '#555',\n textDecoration: 'none',\n transition: '300ms ease-in-out',\n '&:hover': {\n opacity: '0.7'\n }\n },\n thumbnail: {\n maxWidth: '100%',\n marginBottom: '10px',\n '& > div': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n}\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './works.styles'\nimport dateFns from 'date-fns'\nimport { Link } from 'react-router-dom'\n\nconst Works = ({ classes, pending, id, works, count }) => {\n return (\n
    \n
    \n

    \n Writing collection{' '}\n \n {count} piece{count > 1 ? 's' : ''} to review\n \n

    \n
    \n
      \n {works.map((work, index) => (\n \n \n
      \n
      \n \n
      \n
      \n
      {work.title}
      \n \n {dateFns.format(work.updated_at, 'MM/DD/YYYY HH:ss') || ''}\n \n \n \n ))}\n
    \n
    \n )\n}\n\nexport default injectSheet(styles)(Works)\n","import { connect } from 'react-redux'\nimport Works from './works'\nimport { getAssessmentFile } from '../../../../../stores/assessment-file/assessment-file.selectors'\nimport {\n getWorksList,\n getWorksCount\n} from '../../../../../stores/works/works.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { match, me }) => {\n const assessmentFile = getAssessmentFile(state)\n const works = getWorksList(state)\n return {\n id: assessmentFile.id,\n works,\n count: getWorksCount(state)\n }\n}\n\nexport default withRouter(\n connect(\n mapStateToProps,\n null\n )(Works)\n)\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n margin: '40px 0 0',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n borderLeft: '1px solid #ececec',\n padding: '0 40px 0',\n margin: '0 0 0 30px'\n }\n }\n})\n\nexport default styles\n","const styles = {\n container: {\n marginBottom: '50px'\n },\n header: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n width: '100%'\n },\n button: {\n marginLeft: '10px',\n '& svg': {\n marginRight: '4px'\n }\n },\n sharedButton: {\n marginLeft: '10px',\n background: '#dcdcdc !important',\n color: '#fff',\n fontWeight: 'bold',\n padding: '10px',\n borderRadius: '100%',\n height: '25px',\n width: '25px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n '&:hover': {\n color: '#fff',\n background: '#c8c5c5 !important'\n }\n }\n}\n\nexport default styles\n","const styles = {\n container: {\n display: 'flex',\n alignItems: 'center',\n textDecoration: 'none',\n color: '#555',\n marginBottom: '12px',\n transition: 'opacity 300ms ease-in-out'\n },\n avatar: {\n fontSize: '30px',\n color: '#fff',\n marginRight: '10px'\n },\n name: {\n fontSize: '16px'\n }\n}\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './contributor.styles'\nimport { PobbleAvatar } from 'pobble-components/dist/pobble-avatar'\n\nconst Contributor = ({ classes, id, name, avatar }) => {\n return (\n
    \n \n {name}\n
    \n )\n}\n\nexport default injectSheet(styles)(Contributor)\n","import { connect } from 'react-redux'\nimport Contributor from './contributor'\nimport { getContributor } from '../../../../../../../stores/assessment-file/assessment-file.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const contributor = getContributor(state, id)\n return {\n id,\n name: contributor.full_name,\n avatar: contributor.avatar\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Contributor)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './info-message.styles'\nimport PaperclipIcon from 'react-icons/lib/fa/paperclip'\n\nconst InfoMessage = ({ classes, student, worksCount }) => (\n

    \n \n Moderation file with {worksCount} piece\n {worksCount > 1 ? 's' : ''} by {student} attached\n

    \n)\n\nexport default injectSheet(styles)(InfoMessage)\n","export default ({ COLORS }) => ({\n message: {\n color: COLORS.TEXT.LIGHT_GREY.NORMAL,\n margin: '20px 0 0',\n display: 'flex',\n alignItems: 'center'\n },\n icon: {\n marginRight: '5px'\n }\n})\n","import { connect } from 'react-redux'\nimport InfoMessage from './info-message'\nimport { getAssessmentFile } from '../../../../stores/assessment-file/assessment-file.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const assessmentFile = getAssessmentFile(state, id)\n return {\n student:\n assessmentFile &&\n assessmentFile.student_type &&\n assessmentFile.student_type.account &&\n assessmentFile.student_type.account.full_name,\n worksCount:\n assessmentFile &&\n assessmentFile.works &&\n assessmentFile &&\n assessmentFile.works.length\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(InfoMessage)\n","import React, { useState, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './assessment-invitation-modal.styles'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Button from 'pobble-components/dist/button'\nimport EmailInput from 'pobble-components/dist/email-input'\nimport { ColorsInfo } from 'pobble-components/dist/email-input/utils'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport InfoMessage from './info-message/info-message.container'\nimport { useRecaptcha } from 'pobble-components/dist/recaptcha'\nimport FormTextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport CharactersCount from 'pobble-components/dist/form-elements/characters-count'\nimport FormRow from 'pobble-components/dist/form-elements/form-row'\n\nconst AssessmentInvitationModal = ({\n classes,\n isOpen,\n onSubmit,\n requestClose,\n pending,\n id\n}) => {\n const [selectedEmails, setSelectedEmails] = useState([])\n const [message, setMessage] = useState('')\n\n const {\n Recaptcha,\n recaptchaProps,\n recaptchaPending,\n getReCaptchaToken\n } = useRecaptcha()\n\n pending = pending || recaptchaPending\n\n useEffect(() => {\n // Clear selected emails each time user opens modal\n isOpen && setSelectedEmails([])\n }, [isOpen])\n\n return (\n \n Invite contributors\n \n \n \n To: {!!selectedEmails.length && }\n \n \n \n \n \n Message (optional) \n \n setMessage(e.target.value)}\n />\n \n \n \n \n \n \n getReCaptchaToken(token => onSubmit(selectedEmails, token, message))\n }\n tall>\n {!pending &&\n `Send ${\n selectedEmails.length > 1 ? `${selectedEmails.length} ` : ''\n }invitation${selectedEmails.length > 1 ? 's' : ''}`}\n {pending && 'Sending...'}\n \n \n \n )\n}\n\nexport default injectSheet(styles)(AssessmentInvitationModal)\n","import { connect } from 'react-redux'\nimport AssessementInvitationModal from './assessment-invitation-modal'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n closeInvitationAssessmentDialog,\n inviteToAssessmentFile,\n fetchAssessmentFileInviteesCounter\n} from '../../../stores/assessment-file/assessment-file.actions'\nimport {\n isInvitationModalOpen,\n getAssessmentFileId,\n getFetchInvitationRequest\n} from '../../../stores/assessment-file/assessment-file.selectors'\nimport { toast } from 'pobble-components/dist/toast'\n\nconst mapStateToProps = state => {\n return {\n isOpen: isInvitationModalOpen(state),\n id: getAssessmentFileId(state),\n pending: getFetchInvitationRequest(state).pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n requestClose: () => dispatch(closeInvitationAssessmentDialog()),\n onSubmit: (emails, token, message) =>\n dispatch(\n inviteToAssessmentFile(\n stateProps.id,\n emails.map(email => email.value),\n token,\n message\n )\n )\n .then(() => {\n toast.success('Your invitation was sent.')\n dispatch(fetchAssessmentFileInviteesCounter(stateProps.id))\n return dispatch(closeInvitationAssessmentDialog())\n })\n .catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(AssessementInvitationModal)\n","import { Modal, ModalContent } from 'pobble-components/dist/modal'\nimport React, { useState, useMemo, useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport Button from 'pobble-components/dist/button'\nimport { apiClient } from 'pobble-components/dist/api'\nimport duck from './duck-rocket.gif'\nimport posthog from 'posthog-js'\n\nconst currencyMap = {\n AUD: 'A$',\n NZD: 'NZ$',\n USD: '$',\n GBP: '£'\n}\n\nconst UpgradeButton = injectSheet({\n button: {\n margin: '24px auto 0',\n background: 'var(--yellow) !important',\n color: 'var(--gray) !important',\n border: '1px solid var(--gray) !important',\n display: 'flex',\n justifyContent: 'center',\n width: '160px',\n '&:hover': {\n background: 'var(--yellow-) !important'\n }\n }\n})(({ id, classes, children }) => {\n return (\n {\n posthog.capture('user clicked moderation upsell modal cta', {\n id: id\n })\n window.location.href = `/account/membership/moderation?from=${id}`\n }}>\n {children}\n \n )\n})\n\nconst UpsellBody = injectSheet({\n pitch: {\n font: 'var(--body-)',\n margin: '16px 0 0'\n },\n list: {\n flex: '1',\n padding: '0',\n listStyle: 'none',\n textAlign: 'left',\n font: 'var(--body)',\n display: 'flex',\n flexDirection: 'column',\n gap: '16px',\n '& li': {\n display: 'flex',\n gap: '10px',\n fontWeight: 'bold',\n alignItems: 'center'\n },\n '& svg': {\n color: 'var(--green)',\n fontSize: '20px'\n }\n },\n body: {\n display: 'flex',\n alignItems: 'center',\n margin: '48px 0',\n flexDirection: 'column-reverse',\n gap: '48px',\n '@media (min-width: 768px)': {\n flexDirection: 'row',\n gap: '16px'\n }\n },\n bottomNote: {\n font: 'var(--body-)',\n color: 'var(--gray-)',\n margin: '16px auto 0',\n lineHeight: '24px'\n },\n edtech: {\n padding: '16px',\n borderTop: '1px solid var(--light-gray)',\n margin: '24px -32px -48px',\n '@media (min-width: 768px)': {\n margin: '24px -56px -48px'\n },\n '& img': {\n maxWidth: '200px',\n height: 'auto'\n }\n },\n testimonial: {\n padding: '32px',\n borderTop: '1px solid var(--light-gray)',\n margin: '24px -32px -48px',\n font: 'var(--body-)',\n '@media (min-width: 768px)': {\n margin: '24px -56px -48px'\n },\n '& > div': {\n display: 'flex',\n gap: '24px',\n textAlign: 'left',\n maxWidth: '560px',\n margin: '0 auto'\n },\n '& p': {\n margin: '0'\n },\n '& blockquote': {\n display: 'flex',\n margin: '0',\n flexDirection: 'column',\n gap: '8px'\n },\n '& img': {\n width: '64px',\n height: '64px',\n borderRadius: '64px'\n }\n }\n})(({ classes, price, id }) => {\n return (\n <>\n

    \n \n 🌟\n {' '}\n Discover the power of Pobble moderation with a premium subscription\n \n 🌟\n \n

    \n

    \n Would you like to feel more confident in making writing assessment\n judgements?\n

    \n
    \n
      \n
    • \n \n 📝\n {' '}\n Access ready-made writing samples\n
    • \n
    • \n \n 🏫\n \n Easily compile your own school exemplars\n
    • \n
    • \n \n 👫\n {' '}\n Facilitate moderation sessions with your team and other schools\n
    • \n
    • \n \n 💻\n {' '}\n Create and share unlimited moderation files\n
    • \n
    • \n \n 👩🏻‍🏫\n {' '}\n Gain access to exclusive CPD opportunities\n
    • \n
    \n \"Duck\"\n
    \n
    \n All this and more, for as little as{' '}\n {price && `${price.currency}${price.price} a year`}!
    \n Choose the right subscription for you.\n
    \n Get started\n

    \n \n 💡\n {' '}\n Don’t miss out - become a Pobble Premium moderation subscriber now!\n \n 💡\n \n

    \n \n )\n})\n\nconst Upsell = injectSheet({\n content: {\n maxWidth: '680px',\n padding: '0',\n borderRadius: '8px',\n overflow: 'hidden'\n },\n holder: {\n display: 'flex',\n flexDirection: 'column',\n overflow: 'hidden',\n borderRadius: '8px',\n '& > *': {\n padding: '48px 32px',\n '@media (min-width: 768px)': {\n padding: '48px 56px'\n }\n }\n },\n upsell: {\n font: 'var(--body)',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n '& h2': {\n margin: '0'\n }\n }\n})(({ classes, id }) => {\n const [subsData, setSubsData] = useState(null)\n\n const price = useMemo(() => {\n if (!subsData) return null\n return {\n currency: currencyMap[subsData.currency],\n price: parseInt(subsData.pobble_moderation_annual)\n }\n }, [subsData])\n\n useEffect(() => {\n apiClient\n .get('v3/subscriptions/marketing_data')\n .then(res => setSubsData(res.data.subscription_marketing_data))\n }, [])\n\n useEffect(() => {\n posthog.capture('user opened moderation upsell modal', {\n id: id\n })\n }, [id])\n\n return (\n \n
    \n
    \n \n
    \n
    \n
    \n )\n})\n\nexport const UpsellModal = ({ isOpen, id, requestClose }) => {\n return (\n \n \n \n )\n}\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './contributors.styles'\nimport Contributor from './contributor/contributor.container'\nimport Button from 'pobble-components/dist/button'\nimport AssessementInvitationModal from '../../../../../shared/assessment-invitation-modal/assessment-invitation-modal.container'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\nimport { UpsellModal } from '../../../../../upsell/upsell'\n\nconst Contributors = ({\n classes,\n pending,\n contributors,\n onOpenInvitationAssessmentDialog,\n id,\n closed,\n onOpenInviteesDialog,\n canSeeInvitees,\n inviteesCount\n}) => {\n const invitationSP = useSubscriptionPolicy(\n sp => sp.moderation && sp.moderation.invite_people_to_assessment_file\n )\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n\n return (\n
    \n
    \n

    Contributors

    \n \n invitationSP.restricted\n ? setUpsellModalOpen(true)\n : onOpenInvitationAssessmentDialog(id)\n }\n disabled={closed}\n className={classes.button}>\n {invitationSP.restricted && }Invite\n \n {canSeeInvitees && inviteesCount > 0 && (\n onOpenInviteesDialog(id)}\n simple\n className={classes.sharedButton}>\n {inviteesCount}\n \n )}\n
    \n {!pending &&\n contributors &&\n !!contributors.length &&\n contributors.map(contributor => (\n \n ))}\n {!pending && contributors && !contributors.length && (\n No contributors yet.\n )}\n \n setUpsellModalOpen(false)}\n />\n
    \n )\n}\n\nexport default injectSheet(styles)(Contributors)\n","import { connect } from 'react-redux'\nimport Contributors from './contributors'\nimport {\n getFetchRequest,\n getContributorsList,\n getAssessmentFileId,\n getAssessmentFileClosedState,\n getAssessmentFile\n} from '../../../../../../stores/assessment-file/assessment-file.selectors'\nimport {\n openInvitationAssessmentDialog,\n openInviteesDialog\n} from '../../../../../../stores/assessment-file/assessment-file.actions'\n\nconst mapStateToProps = (state, { me }) => {\n const assessmentFile = getAssessmentFile(state)\n return {\n id: getAssessmentFileId(state),\n pending: getFetchRequest(state).pending,\n contributors: getContributorsList(state) || [],\n closed: getAssessmentFileClosedState(state),\n canSeeInvitees: assessmentFile.policy.can_view_guest_moderators,\n inviteesCount: assessmentFile.guest_moderator_count\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onOpenInvitationAssessmentDialog: id =>\n dispatch(openInvitationAssessmentDialog(id)),\n onOpenInviteesDialog: id => dispatch(openInviteesDialog(id))\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Contributors)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './sidebar.styles'\nimport Contributors from './contributors/contributors.container'\n\nconst Sidebar = ({ classes }) => {\n return (\n \n )\n}\n\nexport default injectSheet(styles)(Sidebar)\n","const styles = () => ({\n footer: {\n display: 'flex',\n justifyContent: 'flex-end'\n },\n optional: {\n marginLeft: '5px',\n color: '#a5a5a5'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './edit-title-dialog.styles'\nimport Button from 'pobble-components/dist/button'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport TextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\nimport { Formik } from 'formik'\nimport * as Yup from 'yup'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\n\nconst EditTitleDialog = ({\n classes,\n id,\n onUpdate,\n isOpen,\n onClose,\n title,\n description,\n moderation_type,\n judgement\n}) => (\n \n Edit your moderation file\n \n onUpdate({\n title: editedTitle,\n context: editedDescription,\n moderation_type: editedModerationType,\n judgement: editedJudgement\n }) && onClose()\n }>\n {props => {\n const { handleSubmit, handleChange, values, errors, isValid } = props\n return (\n
    \n \n

    \n Title:\n \n

    \n

    \n Description:\n \n

    \n

    \n \n Type (optional)\n \n \n \n \n \n \n \n \n

    \n

    \n \n Judgement\n (optional)\n \n \n \n \n \n \n \n

    \n
    \n \n \n \n \n
    \n )\n }}\n \n
    \n)\n\nexport default injectSheet(styles)(EditTitleDialog)\n","import { connect } from 'react-redux'\nimport EditTitleDialog from './edit-title-dialog'\n\nimport {\n editTitle,\n closeEditTitleDialog\n} from '../../../stores/assessment-file/assessment-file.actions'\nimport { getEditTitleDialog } from '../../../stores/assessment-file/assessment-file.selectors'\n\nconst mapStateToProps = state => {\n const dialog = getEditTitleDialog(state)\n return {\n isOpen: dialog.opened,\n id: dialog.id,\n title: dialog.title,\n description: dialog.description,\n moderation_type: dialog.moderation_type,\n judgement: dialog.judgement,\n pending: false\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onClose: () => dispatch(closeEditTitleDialog()),\n onUpdate: (\n editedTitle,\n editedDescription,\n editedModerationType,\n editedJudgement\n ) =>\n dispatch(\n editTitle(\n stateProps.id,\n editedTitle,\n editedDescription,\n editedModerationType,\n editedJudgement\n )\n )\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(EditTitleDialog)\n","const styles = () => ({\n footer: {\n display: 'flex',\n justifyContent: 'flex-end'\n },\n invitees: {\n listStyle: 'none',\n padding: 0,\n margin: 0,\n maxWidth: '570px',\n display: 'block'\n },\n invitee: {\n display: 'inline-block',\n margin: '0 2px 8px',\n padding: '5px 10px',\n borderRadius: '24px',\n border: '1px solid #ddd'\n },\n spinner: {\n width: '25px',\n height: '25px'\n },\n msgIcon: {\n position: 'relative',\n top: '-1px',\n marginLeft: '5px',\n color: '#686764'\n }\n})\n\nexport default styles\n","import React, { useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './invitees-dialog.styles'\nimport Button from 'pobble-components/dist/button'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport Spinner from 'pobble-components/dist/spinner'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport MessageIcon from 'react-icons/lib/fa/envelope'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\n\nconst InviteesDialog = ({\n classes,\n id,\n isOpen,\n onClose,\n onMount,\n pending,\n invitees\n}) => {\n useEffect(() => {\n isOpen && onMount(id)\n }, [onMount, isOpen, id])\n return (\n \n Shared with\n \n {pending && }\n
      \n {invitees.map(invitee => (\n
    • \n {invitee.guest_moderator.email_identity.email}\n {invitee.message && invitee.message !== '' && (\n \n \n \n )}\n {((invitee.guest_moderator.individual_subscription &&\n invitee.guest_moderator.individual_subscription\n .plan_marketing_name) ||\n (invitee.guest_moderator.school_subscriptions &&\n invitee.guest_moderator.school_subscriptions.length > 0 &&\n invitee.guest_moderator.school_subscriptions[0] &&\n invitee.guest_moderator.school_subscriptions[0]\n .plan_marketing_name)) && (\n 0 &&\n invitee.guest_moderator.school_subscriptions[0]\n .plan_marketing_name\n ? ',' +\n invitee.guest_moderator.school_subscriptions[0]\n .plan_marketing_name\n : '')\n }>\n \n \n )}\n
    • \n ))}\n
    \n
    \n \n \n \n
    \n )\n}\n\nexport default injectSheet(styles)(InviteesDialog)\n","import { connect } from 'react-redux'\nimport InviteesDialog from './invitees-dialog'\n\nimport {\n closeInviteesDialog,\n fetchAssessmentFileInvitees\n} from '../../../stores/assessment-file/assessment-file.actions'\nimport {\n getInviteesDialog,\n getInviteesList,\n fetchInviteesRequest\n} from '../../../stores/assessment-file/assessment-file.selectors'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n const dialog = getInviteesDialog(state)\n const fetchRequest = fetchInviteesRequest(state)\n return {\n isOpen: dialog.opened,\n id: dialog.id,\n invitees: getInviteesList(state),\n pending: fetchRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: id => dispatch(fetchAssessmentFileInvitees(id)).catch(errorHandler),\n onClose: () => dispatch(closeInviteesDialog())\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(InviteesDialog)\n","import React, { Component, Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './cover.styles'\nimport Paper from 'pobble-components/dist/paper'\nimport Intro from './intro/intro.container'\nimport Discussion from './discussion/discussion.container'\nimport Works from './works/works.container'\nimport Sidebar from './sidebar/sidebar'\nimport Spinner from 'pobble-components/dist/spinner'\nimport EditTitleDialog from '../../../shared/edit-title-dialog/edit-title-dialog.container'\nimport InviteesDialog from '../../../shared/invitees-dialog/invitees-dialog.container'\n\nclass Cover extends Component {\n componentDidMount() {\n this.props.onMount(this.props.id)\n }\n render() {\n const { classes, pending, assessmentFile } = this.props\n return (\n \n {!pending &&\n (assessmentFile && (\n \n
    \n \n \n \n
    \n \n
    \n ))}\n {pending && }\n \n \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(Cover)\n","import {\n apiGetAssessmentFile,\n apiGetStudentWorks,\n apiAddWorkToAssessmentFile,\n apiRemoveWorkFromAssessmentFile\n} from '../../common/api/assessment'\n\nconst fetchAssessmentFileWorks = assessmentFileId => ({\n requestPrefix: 'WORKS_STORE:FETCH',\n params: { assessmentFileId },\n request: () =>\n apiGetAssessmentFile(assessmentFileId, {\n include:\n 'assessment_file.details,assessment_file.works,assessment_file.work.names,assessment_file.work.media,assessment_file.work.medium.image,assessment_file.work.timestamps,assessment_file.student_types,assessment_file.student_type.account,assessment_file.student_type.status,assessment_file.work.medium.thumb,assessment_file.policy,assessment_file.student_type.account.names'\n })\n})\n\nconst selectWork = workId => ({\n type: 'WORKS_STORE:SELECT_WORK_SUCCESS',\n workId\n})\n\nconst setMedia = page => ({\n type: 'WORKS_STORE:SET_MEDIA_SUCCESS',\n page\n})\n\nconst openAddWorksDialog = (assessmentFileId, workIds, studentId) => ({\n type: 'WORKS_STORE:ADD_WORKS_DIALOG:OPEN',\n params: {\n assessmentFileId,\n workIds,\n studentId\n }\n})\n\nconst closeAddWorksDialog = () => ({\n type: 'WORKS_STORE:ADD_WORKS_DIALOG:CLOSE'\n})\n\nconst fetchStudentWorks = studentId => ({\n requestPrefix: 'WORKS_STORE:FETCH_STUDENT_WORKS',\n params: { studentId },\n request: () =>\n apiGetStudentWorks(studentId, {\n include:\n 'account.student_type.works,account.student_type.work.names,account.student_type.work.status,account.student_type.work.timestamps,account.student_type.work.year_group,account.student_type.work.year_group.names,account.student_type.work.year_group.order,account.student_type.works.limit.20,account.student_type.works.order.desc,account.student_type.works.page.1,account.student_type.work.media,account.student_type.work.medium.thumb'\n })\n})\n\nconst addWorkToAssessmentFile = (workId, assessmentFileId) => ({\n requestPrefix: 'WORKS_STORE:ADD_WORKS',\n params: { workId, assessmentFileId },\n request: () => {\n return apiAddWorkToAssessmentFile(workId, assessmentFileId)\n }\n})\n\nconst removeWorkFromAssessmentFile = (workId, assessmentFileId) => ({\n requestPrefix: 'WORKS_STORE:REMOVE_WORK',\n params: { workId, assessmentFileId },\n request: () => {\n return apiRemoveWorkFromAssessmentFile(workId, assessmentFileId)\n }\n})\n\nexport {\n fetchAssessmentFileWorks,\n selectWork,\n setMedia,\n openAddWorksDialog,\n closeAddWorksDialog,\n fetchStudentWorks,\n addWorkToAssessmentFile,\n removeWorkFromAssessmentFile\n}\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport Cover from './cover'\nimport {\n getFetchRequest,\n getAssessmentFile\n} from '../../../../stores/assessment-file/assessment-file.selectors'\nimport { fetchAssessmentFile } from '../../../../stores/assessment-file/assessment-file.actions'\n\nimport { fetchAssessmentFileWorks } from '../../../../stores/works/works.actions'\nimport { toast } from 'pobble-components/dist/toast'\n\nconst mapStateToProps = (state, { match }) => {\n const fetchRequest = getFetchRequest(state)\n const assessmentFile = getAssessmentFile(state)\n return {\n id: match.params.assessmentFileId,\n pending: fetchRequest.pending,\n assessmentFile\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: id => {\n dispatch(fetchAssessmentFileWorks(id))\n dispatch(fetchAssessmentFile(id)).catch(e =>\n toast.error(\n 'Sorry, we could not find this moderation file. You may not have been invited, or it may have been deleted.'\n )\n )\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(Cover)\n)\n","const styles = {\n container: {\n margin: '50px auto 100px',\n maxWidth: '930px',\n paddingBottom: '50px',\n paddingTop: '45px'\n }\n}\n\nexport default styles\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n marginBottom: '20px',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n '& svg': {\n marginRight: '5px'\n }\n },\n title: {\n display: 'inline',\n marginRight: '18px'\n },\n count: {\n color: '#a3a3a3',\n display: 'block',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n display: 'inline'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './works-header.styles'\nimport Button from 'pobble-components/dist/button'\nimport PlusIcon from 'react-icons/lib/fa/plus'\n\nconst WorksHeader = ({\n classes,\n title,\n count,\n onOpenAddWorkDialog,\n canUpdate,\n isStudentActive\n}) => (\n
    \n
    \n

    {title}

    \n \n {count} piece{count > 1 ? 's' : ''} of work attached\n \n
    \n {isStudentActive && canUpdate && (\n {\n onOpenAddWorkDialog()\n }}>\n Add work\n \n )}\n
    \n)\n\nexport default injectSheet(styles)(WorksHeader)\n","import { connect } from 'react-redux'\nimport WorksHeader from './works-header'\nimport {\n getWorksAssessmentFileTitle,\n getWorksAssessmentFileStudent,\n getWorksAssessmentFileId,\n getWorksCount,\n getWorksList,\n getWorksAssessmentFilePolicy\n} from '../../../../../stores/works/works.selectors'\nimport { openAddWorksDialog } from '../../../../../stores/works/works.actions'\n\nconst mapStateToProps = state => {\n const student = getWorksAssessmentFileStudent(state)\n const policy = getWorksAssessmentFilePolicy(state)\n return {\n title: getWorksAssessmentFileTitle(state),\n count: getWorksCount(state),\n id: getWorksAssessmentFileId(state),\n studentId: student && student.account && student.account.id,\n isStudentActive: student && student.active,\n works: getWorksList(state),\n canUpdate: policy && policy.can_update\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onOpenAddWorkDialog: () => {\n return dispatch(\n openAddWorksDialog(\n stateProps.id,\n stateProps.workIds,\n stateProps.studentId\n )\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(WorksHeader)\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport ArchiveIcon from 'react-icons/lib/fa/close'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst ContextMenu = ({ classes, onRemove, assessmentFileId }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n openConfirmationDialog({\n bodyText:\n 'Are you sure you want to remove this work from the moderation file?',\n action: () => onRemove(assessmentFileId),\n confirmText: 'Remove',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Remove\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { removeWorkFromAssessmentFile } from '../../../../../../../stores/works/works.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getWork } from '../../../../../../../stores/works/works.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, match }) => {\n const work = getWork(state, id)\n return {\n id: work.id,\n assessmentFileId: match.params.assessmentFileId\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onRemove: assessmentFileId => {\n return dispatch(\n removeWorkFromAssessmentFile(ownProps.id, assessmentFileId)\n ).catch(errorHandler)\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n)\n","import React from 'react'\nimport { Link, withRouter } from 'react-router-dom'\nimport injectSheet from 'react-jss'\nimport styles from './work-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport ContextMenu from './context-menu/context-menu.container'\n\nconst WorkEntry = ({\n classes,\n date,\n title,\n description,\n thumb,\n id,\n match,\n canUpdate\n}) => (\n \n \n \n \n \n \n {date}\n \n \n {title}\n \n {description &&

    {description}

    }\n
    \n {canUpdate && (\n \n \n \n )}\n
    \n)\n\nexport default withRouter(injectSheet(styles)(WorkEntry))\n","export default ({ COLORS }) => ({\n titleLink: {\n color: COLORS.BLUE.NORMAL,\n fontWeight: 'bold',\n textDecoration: 'none'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n transition: '300ms ease-in-out',\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '&:hover': {\n opacity: 0.7\n },\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n})\n","import { connect } from 'react-redux'\nimport WorkEntry from './work-entry'\nimport { getWork } from '../../../../../../stores/works/works.selectors'\nimport { getAssessmentFile } from '../../../../../../stores/assessment-file/assessment-file.selectors'\nimport dateFns from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const work = getWork(state, id)\n const assessmentFile = getAssessmentFile(state)\n return {\n date: dateFns.format(work.updated_at, 'MM/DD/YYYY HH:ss') || '',\n title: work.title || '-',\n description: work.description,\n thumb: work.media && work.media[0] && work.media[0].thumb_url,\n canUpdate:\n assessmentFile &&\n assessmentFile.policy &&\n assessmentFile.policy.can_update\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(WorkEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './works-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport WorkEntry from './work-entry/work-entry.container'\n\nconst WorksTable = ({ classes, works, noWorks }) =>\n noWorks ? (\n This moderation file doesn't have any works\n ) : (\n \n \n \n Thumb\n Date\n Work\n \n \n \n {works.map((work, index) => (\n \n ))}\n \n
    \n )\n\nexport default injectSheet(styles)(WorksTable)\n","export default ({ COLORS }) => ({\n left: {\n textAlign: 'left'\n },\n date: {\n textAlign: 'left',\n width: '180px'\n }\n})\n","import { connect } from 'react-redux'\nimport WorksTable from './works-table'\nimport { getWorksList } from '../../../../../stores/works/works.selectors'\n\nconst mapStateToProps = state => {\n const works = getWorksList(state)\n return {\n works: works,\n noWorks: !works.length\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(WorksTable)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './entry-skeleton.styles'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst EntrySkeleton = ({ classes, titleWidth = 80 }) => (\n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(EntrySkeleton)\n","export default {\n center: {\n textAlign: 'center'\n },\n date: {\n width: '80px'\n }\n}\n","import React, { Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './work-skeleton.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\nimport EntrySkeleton from './entry-skeleton/entry-skeleton'\n\nconst WorkSkeleton = ({ classes }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n)\n\nexport default injectSheet(styles)(WorkSkeleton)\n","export default {\n mainTitle: {\n width: '250px',\n height: '30px',\n marginLeft: '8px',\n display: 'block'\n },\n dateCell: {\n width: '120px',\n textAlign: 'left'\n },\n date: {\n width: '40px'\n },\n title: {\n width: '40px'\n },\n titleCell: {\n textAlign: 'left'\n }\n}\n","const styles = () => ({\n footer: {\n display: 'flex',\n justifyContent: 'flex-end'\n },\n content: {\n minWidth: '750px'\n },\n thumbnail: {\n padding: '14px',\n background: '#f2f2f2',\n borderRadius: '8px',\n '& > div': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n },\n upload: {\n overflow: 'hidden',\n width: '100%'\n },\n uploadBtn: {\n float: 'right',\n marginBottom: '16px'\n },\n works: {\n overflow: 'hidden'\n },\n work: {\n float: 'left',\n width: '25%',\n padding: '10px'\n },\n details: {\n /*padding: '14px',*/\n textAlign: 'center'\n },\n title: {\n margin: 0\n },\n btn: {\n marginTop: '8px',\n width: '100%',\n textAlign: 'center',\n display: 'inline-block'\n }\n})\n\nexport default styles\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './add-works-dialog.styles'\nimport Button from 'pobble-components/dist/button'\nimport { Modal, ModalHeader, ModalContent } from 'pobble-components/dist/modal'\n\nclass AddWorksDialog extends Component {\n constructor(props) {\n super(props)\n this.state = { works: [] }\n }\n\n componentDidMount() {\n this.props.onMount(this.props.studentId).then(res => {\n this.setState({ works: res.data.account.student_type.works })\n })\n }\n render() {\n const {\n classes,\n isOpen,\n onClose,\n onAdd,\n assessmentFileId,\n studentName\n } = this.props\n\n let workList =\n this.state.works &&\n this.state.works.map(\n (work, index) =>\n work &&\n work.id && (\n
    \n
    \n
    \n \n
    \n
    \n
    \n {/*
    \n
    {work.title}
    \n {dateFns.format(work.updated_at, 'MM/DD/YYYY') || ''}\n
    */}\n \n onAdd(work.id, assessmentFileId).then(() => onClose())\n }\n disabled={this.props.currentWorks.indexOf(work.id) > -1}>\n {this.props.currentWorks.indexOf(work.id) > -1\n ? 'Added'\n : 'Add work'}\n \n
    \n
    \n )\n )\n\n return (\n \n \n Add work from {studentName ? studentName + \"'s\" : ''} evidence bank\n \n \n
    \n \n
    \n
    {workList}
    \n
    \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(AddWorksDialog)\n","import { connect } from 'react-redux'\nimport AddWorksDialog from './add-works-dialog'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n addWorkToAssessmentFile,\n fetchStudentWorks,\n closeAddWorksDialog\n} from '../../../stores/works/works.actions'\nimport {\n getAddWorksDialog,\n getWorksResult,\n getWorksAssessmentFileStudent,\n getWorksAssessmentFileId\n} from '../../../stores/works/works.selectors'\n\nconst mapStateToProps = state => {\n const dialog = getAddWorksDialog(state)\n const student = getWorksAssessmentFileStudent(state)\n const assessmentFileId = getWorksAssessmentFileId(state)\n const currentWorks = getWorksResult(state)\n return {\n isOpen: dialog.opened,\n studentId: student && student.account.id,\n studentName: student && student.account && student.account.first_name,\n assessmentFileId: assessmentFileId,\n currentWorks: currentWorks,\n pending: false\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onClose: () => dispatch(closeAddWorksDialog()),\n onMount: id => dispatch(fetchStudentWorks(id)).catch(errorHandler),\n onAdd: (id, assessmentFileId) => {\n return dispatch(addWorkToAssessmentFile(id, assessmentFileId)).catch(\n errorHandler\n )\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(AddWorksDialog)\n","import React, { Component, Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './works.styles'\nimport Paper from 'pobble-components/dist/paper'\nimport WorksHeader from './works-header/works-header.container'\nimport WorksTable from './works-table/works-table.container'\nimport WorkSkeleton from './work-skeleton/work-skeleton'\nimport AddWorksDialog from '../../../shared/add-works-dialog/add-works-dialog.container'\n\nclass Works extends Component {\n componentDidMount() {\n this.props.onMount(this.props.id)\n }\n render() {\n const { classes, student, id, pending } = this.props\n return (\n \n {!pending && (\n \n \n \n {student && }\n \n )}\n {pending && (\n \n \n \n )}\n \n )\n }\n}\n\nexport default injectSheet(styles)(Works)\n","import { connect } from 'react-redux'\nimport Works from './works'\nimport {\n getFetchRequest,\n getWorksAssessmentFileStudent\n} from '../../../../stores/works/works.selectors'\nimport {\n fetchAssessmentFileWorks,\n setMedia\n} from '../../../../stores/works/works.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { match }) => {\n const fetchRequest = getFetchRequest(state)\n const student = getWorksAssessmentFileStudent(state)\n return {\n id: match.params.assessmentFileId,\n student: student,\n pending: fetchRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: id => {\n dispatch(setMedia(0))\n return dispatch(fetchAssessmentFileWorks(id)).catch(errorHandler)\n }\n})\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Works)\n","const styles = {}\n\nexport default styles\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n background: '#333',\n height: 'calc(100vh - 120px)',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n height: 'calc(100vh - 140px)'\n }\n },\n inner: {\n height: '100%',\n overflow: 'scroll',\n display: 'flex'\n },\n page: {\n margin: '40px auto 100px',\n width: '100%',\n maxWidth: '900px',\n padding: '0 20px',\n color: '#fff'\n },\n spinner: {\n margin: '140px auto'\n },\n head: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n marginBottom: '22px'\n }\n})\n\nexport default styles\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n width: '100%',\n background: '#fff',\n boxShadow: '0 2px 2px 3px rgba(0, 0, 0, 0.08)',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n padding: '15px 24px',\n zIndex: 10,\n '& > button': {\n marginLeft: '10px'\n }\n },\n discussionButton: {\n display: 'none',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n display: 'inline-flex'\n }\n }\n})\n\nexport default styles\n","const styles = () => ({\n footer: {\n display: 'flex',\n justifyContent: 'flex-end'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\n\nimport styles from './contribution-modal.styles.js'\nimport Button from 'pobble-components/dist/button'\nimport {\n Modal,\n ModalHeader,\n ModalContent,\n ModalFooter\n} from 'pobble-components/dist/modal'\nimport TextArea from 'pobble-components/dist/form-elements/form-text-area'\nimport Label from 'pobble-components/dist/form-elements/form-label'\nimport { Formik } from 'formik'\nimport ArrowIcon from 'react-icons/lib/fa/caret-right'\n\nconst ContributionModal = ({\n classes,\n id,\n onSubmit,\n isOpen,\n onClose,\n isConcluded\n}) => (\n \n Add contribution\n {\n onSubmit(id, contribution)\n onClose()\n }}>\n {props => {\n const { handleSubmit, handleChange, values, isValid } = props\n return (\n
    \n \n \n \n \n \n \n \n \n
    \n )\n }}\n \n
    \n)\n\nexport default injectSheet(styles)(ContributionModal)\n","import { connect } from 'react-redux'\nimport ContributionModal from './contribution-modal'\nimport {\n getSubmitContributionRequest,\n getCurrentConclusion\n} from '../../../../../../../stores/discussion/discussion.selectors'\nimport { getAssessmentFileConclusionState } from '../../../../../../../stores/assessment-file/assessment-file.selectors'\nimport { submitContribution } from '../../../../../../../stores/discussion/discussion.actions'\nimport { withRouter } from 'react-router-dom'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { match }) => {\n const currentConclusion = getCurrentConclusion(state)\n return {\n id: match.params.assessmentFileId,\n posting: getSubmitContributionRequest(state).pending,\n currentConclusion: currentConclusion && currentConclusion.id,\n isConcluded: getAssessmentFileConclusionState(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onSubmit: (id, contribution) => {\n dispatch(\n submitContribution(id, stateProps.currentConclusion, {\n content: contribution\n })\n ).catch(errorHandler)\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContributionModal)\n)\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './actions.styles'\nimport Button from 'pobble-components/dist/button'\nimport ContributionModal from './contribution-modal/contribution-modal.container'\n\nconst Actions = ({ classes, sidebarOpen, onOpenSidebar, onCloseSidebar }) => {\n const [openModal, setModalVisibility] = useState(false)\n return (\n
    \n \n {!sidebarOpen ? 'Show discussion' : 'Hide discussion'}\n \n \n setModalVisibility(false)}\n />\n
    \n )\n}\n\nexport default injectSheet(styles)(Actions)\n","import { connect } from 'react-redux'\nimport Actions from './actions'\nimport { isSibarOpen } from '../../../../../../stores/discussion/discussion.selectors'\nimport {\n openSidebar,\n closeSidebar\n} from '../../../../../../stores/discussion/discussion.actions'\n\nconst mapStateToProps = state => ({\n sidebarOpen: isSibarOpen(state)\n})\n\nconst mapDispatchToProps = dispatch => ({\n onOpenSidebar: () => dispatch(openSidebar()),\n onCloseSidebar: () => dispatch(closeSidebar())\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Actions)\n","const styles = {\n container: {\n maxWidth: '400px'\n },\n select: {\n '& > select': {\n color: '#f2f2f2',\n background: '#000',\n borderColor: 'transparent',\n position: 'relative',\n transition: 'background 300ms',\n '&:hover': {\n borderColor: 'transparent',\n background: 'rgba(0,0,0,0.4)'\n }\n },\n '& > svg': {\n zIndex: '10',\n color: '#f2f2f2'\n },\n '&:after': {\n content: '\"\"',\n display: 'block',\n position: 'absolute',\n background: '#343f55',\n width: '34px',\n height: '100%',\n top: 0,\n right: 0,\n borderTopRightRadius: '4px',\n borderBottomRightRadius: '4px',\n pointerEvents: 'none'\n }\n }\n}\n\nexport default styles\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './work-select.styles'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\n\nclass WorkSelect extends Component {\n onChangeHandler(id) {\n const { onSelect, history, match } = this.props\n onSelect(id) &&\n history.push(\n `/assessment-files/${match.params.assessmentFileId}/works/${id}`\n )\n }\n\n render() {\n const { classes, works, count, selectedWorkId } = this.props\n return (\n \n this.onChangeHandler(e.target.value)}>\n {works.map((work, index) => (\n \n ))}\n \n \n )\n }\n}\n\nexport default injectSheet(styles)(WorkSelect)\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport WorkSelect from './work-select'\nimport {\n getWorksList,\n getWorksCount,\n getSelectedWorkId\n} from '../../../../../../stores/works/works.selectors'\nimport {\n selectWork,\n setMedia\n} from '../../../../../../stores/works/works.actions'\n\nconst mapStateToProps = (state, { match }) => {\n const works = getWorksList(state)\n const selectedWorkdId = getSelectedWorkId(state)\n return {\n works,\n count: getWorksCount(state),\n selectedWorkId: selectedWorkdId ? selectedWorkdId : match.params.workId\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onSelect: id => {\n dispatch(setMedia(0))\n return dispatch(selectWork(id))\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(WorkSelect)\n)\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n fontSize: '14px',\n display: 'flex',\n alignItems: 'center',\n flexShrink: 0,\n '& button': {\n display: 'inline',\n margin: 0,\n padding: 0,\n fontSize: '30px',\n color: '#fff',\n '&:hover': {\n opacity: '0.8'\n }\n }\n },\n hiddenMobile: {\n display: 'none',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n display: 'inline'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './pagination.styles'\nimport ArrowLeft from 'react-icons/lib/fa/angle-left'\nimport ArrowRight from 'react-icons/lib/fa/angle-right'\nimport Button from 'pobble-components/dist/button'\n\nconst Pagination = ({ classes, total, current, onNext, onPrev }) => {\n return (\n
    \n \n Page \n {current + 1} of {total}\n \n
    \n )\n}\n\nexport default injectSheet(styles)(Pagination)\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport Pagination from './pagination'\nimport {\n getWork,\n getMediaKey\n} from '../../../../../../stores/works/works.selectors'\nimport { setMedia } from '../../../../../../stores/works/works.actions'\n\nconst mapStateToProps = (state, { match }) => {\n const work = getWork(state, match.params.workId)\n return {\n total: work.media && work.media.length,\n current: getMediaKey(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onNext: () => {\n const { current, total } = stateProps\n const page = current !== total - 1 ? current + 1 : current\n return dispatch(setMedia(page))\n },\n onPrev: () => {\n const { current } = stateProps\n const page = !current ? current : current - 1\n return dispatch(setMedia(page))\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(Pagination)\n)\n","const styles = {\n image: {\n transition: 'opacity 300ms ease-in-out',\n opacity: 1,\n width: '100%'\n },\n hidden: {\n visibility: 'hidden',\n opacity: 0\n },\n desc: {\n fontSize: '18px',\n lineHeight: '22px'\n }\n}\n\nexport default styles\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './media.styles'\nimport classNames from 'classnames'\n\nconst Media = ({ classes, media, description }) => {\n const [loading, setLoading] = useState(true)\n return (\n
    \n {description &&

    {description}

    }\n {media && (\n setLoading(false)}\n alt=\"Piece of writing\"\n />\n )}\n
    \n )\n}\n\nexport default injectSheet(styles)(Media)\n","import { connect } from 'react-redux'\nimport { withRouter } from 'react-router-dom'\nimport Media from './media'\nimport {\n getWork,\n getMediaKey\n} from '../../../../../../stores/works/works.selectors'\n\nconst mapStateToProps = (state, { match }) => {\n const currentMedia = getMediaKey(state)\n const work = getWork(state, match.params.workId)\n return {\n media: work.media[currentMedia],\n description: work.description\n }\n}\n\nexport default withRouter(\n connect(\n mapStateToProps,\n null\n )(Media)\n)\n","const styles = ({ BREAKPOINTS }) => ({\n container: {\n background: '#fff',\n width: 0,\n overflow: 'scroll',\n position: 'sticky',\n top: 0,\n transition: 'width 300ms ease-in-out',\n boxShadow: 'inset 0px 1px 2px 0px #e5e5e5'\n },\n inner: {\n /*display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',*/\n height: '100%',\n pointerEvents: 'none',\n minWidth: '500px'\n },\n open: {\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '500px',\n '& > div': {\n pointerEvents: 'auto'\n }\n }\n },\n title: {\n marginBottom: '30px'\n },\n discussion: {\n padding: '10px 20px 0'\n },\n spinner: {\n fontSize: '25px',\n marginTop: '10px'\n },\n conclusion: {\n background: '#ebf9fe',\n padding: '8px 10px'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './discussion.styles'\nimport ContributionForm from '../../../../../shared/contribution-form/contribution-form.container'\nimport DiscussionFeed from '../../../../../shared/discussion-feed/discussion-feed.container'\nimport classNames from 'classnames'\nimport Spinner from 'pobble-components/dist/spinner'\n\nconst Discussion = ({\n classes,\n open,\n pending,\n conclusionAuthor,\n conclusionContent\n}) => {\n return (\n \n
    \n
    \n {conclusionContent && (\n

    \n Conclusion: {conclusionContent} – \n {conclusionAuthor}\n

    \n )}\n

    Join the discussion

    \n
    \n \n
    \n \n {pending && }\n
    \n
    \n \n )\n}\n\nexport default injectSheet(styles)(Discussion)\n","import { connect } from 'react-redux'\nimport Discussion from './discussion'\nimport {\n isSibarOpen,\n getFetchContributionsRequest,\n getCurrentConclusion\n} from '../../../../../../stores/discussion/discussion.selectors'\n\nconst mapStateToProps = state => {\n const conclusion = getCurrentConclusion(state)\n return {\n open: isSibarOpen(state),\n pending: getFetchContributionsRequest(state).pending,\n conclusionAuthor:\n conclusion && conclusion.originator && conclusion.originator.full_name,\n conclusionContent:\n conclusion && conclusion.action_object && conclusion.action_object.content\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Discussion)\n","import React, { Fragment } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './scene.styles'\nimport Actions from './actions/actions.container'\nimport WorkSelect from './work-select/work-select.container'\nimport Pagination from './pagination/pagination.container'\nimport Media from './media/media.container'\nimport Discussion from './discussion/discussion.container'\nimport Spinner from 'pobble-components/dist/spinner'\n\nconst Scene = ({ classes, pending }) => {\n return (\n
    \n
    \n \n
    \n {pending && }\n {!pending && (\n \n
    \n \n \n
    \n \n
    \n )}\n
    \n \n
    \n
    \n \n
    \n )\n}\n\nexport default injectSheet(styles)(Scene)\n","import { connect } from 'react-redux'\nimport Scene from './scene'\nimport { getFetchRequest } from '../../../../../stores/works/works.selectors'\n\nconst mapStateToProps = state => {\n const fetchRequest = getFetchRequest(state)\n return {\n pending: fetchRequest.pending\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(Scene)\n","import React, { useEffect } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './assessment.styles'\nimport Scene from './scene/scene.container'\n\nconst Assessment = ({ classes, onMount, id }) => {\n useEffect(() => {\n onMount(id)\n }, [onMount, id])\n return (\n
    \n \n
    \n )\n}\n\nexport default injectSheet(styles)(Assessment)\n","import { connect } from 'react-redux'\nimport Assessment from './assessment'\nimport { getFetchRequest } from '../../../../stores/works/works.selectors'\nimport { fetchAssessmentFileWorks } from '../../../../stores/works/works.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = (state, { match }) => {\n const fetchRequest = getFetchRequest(state)\n return {\n id: match.params.assessmentFileId,\n pending: fetchRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: id => dispatch(fetchAssessmentFileWorks(id)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Assessment)\n","import React, { Fragment, useEffect } from 'react'\nimport { Route } from 'react-router-dom'\nimport Navigation from './navigation/navigation.container'\nimport Cover from './cover/cover.container'\nimport Works from './works/works.container'\nimport Assessment from './assessment/assessment.container'\nimport posthog from 'posthog-js'\n\nconst AssessmentFile = ({ classes }) => {\n useEffect(() => {\n posthog.capture('accessed assessment file', {\n $set: { moderationUser: true }\n })\n }, [])\n\n return (\n \n \n \n \n \n \n )\n}\n\nexport default AssessmentFile\n","const styles = ({ FONT_SIZES, COLORS, BREAKPOINTS }) => ({\n head: {\n height: '70px',\n backgroundColor: '#fff',\n textAlign: 'center',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n boxShadow: '0 2px 4px 0 rgba(0, 0, 0, 0.1)'\n },\n title: {\n margin: '0',\n padding: '0',\n fontWeight: 'normal',\n color: '#8a8a8a',\n ...FONT_SIZES.HEADING_LARGE.STYLE\n },\n paper: {\n maxWidth: '1280px',\n margin: '30px auto 60px'\n },\n tabContainer: {\n padding: '30px 0 0'\n },\n plus: {\n fontSize: '18px',\n fontWeight: 'normal',\n position: 'absolute',\n right: 0,\n '& svg': {\n marginRight: '4px'\n }\n },\n banner: {\n maxWidth: '1280px',\n margin: '30px auto 0',\n padding: '0 20px',\n '& a': {\n color: COLORS.BLUE.NORMAL\n }\n },\n hideMobile: {\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n display: 'none'\n }\n }\n})\n\nexport default styles\n","const styles = ({ BREAKPOINTS, COLORS }) => ({\n container: {\n fontSize: '20px',\n display: 'flex',\n borderBottom: '1px solid #ececec',\n whiteSpace: 'nowrap',\n '& > *': {\n margin: '0 0 -0.25em 2.2em',\n '&:first-child': {\n marginLeft: '0'\n }\n },\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n justifyContent: 'space-between'\n }\n },\n holder: {\n overflowX: 'auto'\n },\n hideMobile: {\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n display: 'none'\n }\n },\n current: {\n display: 'flex',\n alignItems: 'flex-start'\n },\n currentCounter: {\n opacity: '0',\n animation: '0.3s fadeIn ease-out forwards',\n fontSize: '12px',\n lineHeight: '1.2',\n display: 'inline-flex',\n background: COLORS.RED.FADED,\n color: '#fff',\n margin: '2px 0 0 6px',\n fontWeight: 'bold',\n alignItems: 'center',\n justifyContent: 'center',\n width: '22px',\n height: '22px',\n borderRadius: '22px'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n },\n howIcon: {\n marginRight: '6px',\n color: COLORS.BLUE.NORMAL,\n top: '0px !important',\n fontSize: '16px'\n }\n})\n\nexport default styles\n","import { hover } from 'pobble-components/dist/jss-mixins'\n\nconst styles = ({ FONT_SIZES, COLORS, BREAKPOINTS }) => ({\n listItem: {\n textDecoration: 'none',\n padding: '0 0 0.5em',\n borderBottom: '0.25em solid transparent',\n '& svg': {\n top: '-2px',\n position: 'relative'\n },\n '&:first-child': {\n marginLeft: '0'\n },\n [`@media (max-width: ${BREAKPOINTS.XS})`]: {\n marginLeft: '0'\n },\n ...hover({\n '& $link': {\n color: COLORS.BLUE.NORMAL\n }\n })\n },\n active: {\n borderBottomColor: COLORS.BLUE.NORMAL,\n '& $link': {\n color: COLORS.BLUE.NORMAL\n }\n },\n link: {\n fontSize: '0.9em',\n lineHeight: '1.2',\n cursor: 'pointer',\n color: COLORS.TEXT.LIGHT_GREY.NORMAL\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './tab-link.styles'\nimport { NavLink } from 'react-router-dom'\nimport classNames from 'classnames'\n\nconst TabLink = ({\n classes,\n children,\n theme,\n className,\n linkClassName,\n ...props\n}) => (\n \n {children}\n \n)\n\nexport default injectSheet(styles)(TabLink)\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './tab-nav.styles'\nimport TabLink from './tab-link/tab-link'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faQuestionCircle } from '@fortawesome/pro-solid-svg-icons/faQuestionCircle'\nimport { UpsellModal } from '../../../upsell/upsell'\n\nconst TabNav = ({\n classes,\n activeTab,\n changeActiveTab,\n currentCounter,\n canManageAFs,\n canSeeTrainingFiles\n}) => {\n const examplificationSp = useSubscriptionPolicy(\n sp => sp.moderation.examplification_material\n )\n const { me, showSchoolRequiredDialog } = useMe()\n const hasSchool = me.account.policy.teacher_in_school\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n\n return (\n
    \n
    \n
    \n Invitations\n {!!currentCounter && (\n {currentCounter}\n )}\n
    \n {\n if (!hasSchool) {\n e.preventDefault()\n showSchoolRequiredDialog()\n }\n }}>\n My files\n \n {\n if (examplificationSp.restricted) {\n e.preventDefault()\n setUpsellModalOpen(true)\n } else if (!hasSchool) {\n e.preventDefault()\n showSchoolRequiredDialog()\n }\n }}>\n {examplificationSp.restricted && } School files\n \n Writing samples\n {canSeeTrainingFiles && (\n Training files\n )}\n {/*canManageAFs && Local authority*/}\n \n \n How to use\n \n
    \n setUpsellModalOpen(false)}\n />\n
    \n )\n}\n\nexport default injectSheet(styles)(TabNav)\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.CurrentInvitations\n\nconst getFetchInvitationsRequest = state =>\n getState(state).fetchInvitationsRequest\n\nconst getRemoveInvitationRequests = state =>\n getState(state).removeInvitationRequests\n\nconst getRemoveInvitationRequest = (state, id) =>\n getRemoveInvitationRequests(state)[id] || {\n pending: false,\n requestError: null\n }\n\nconst getCurrentCounter = state => getState(state).counter\n\nconst getInvitations = state => getState(state).invitations\n\nconst getInvitationsResult = createSelector(\n [getInvitations],\n invitations => (!invitations ? [] : invitations.result)\n)\n\nconst getInvitationsMap = createSelector(\n [getInvitations],\n invitations => (!invitations ? {} : invitations.entities.invitations)\n)\n\nconst getInvitationsList = createSelector(\n [getInvitationsResult, getInvitationsMap],\n (result, invitationsMap) => result.map(id => invitationsMap[id])\n)\n\nconst getInvitation = (state, id) => getInvitationsMap(state)[id]\n\nexport {\n getInvitations,\n getInvitationsList,\n getFetchInvitationsRequest,\n getInvitation,\n getRemoveInvitationRequest,\n getCurrentCounter\n}\n","import { connect } from 'react-redux'\nimport TabNav from './tab-nav'\nimport { getCurrentCounter } from '../../../../stores/current-invitations/current-invitations.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const canManageAFs =\n me &&\n me.account &&\n me.account.policy &&\n me.account.policy.can_manage_assessment_files\n const canSeeTrainingFiles =\n me &&\n me.account &&\n me.account.policy &&\n me.account.policy.can_see_training_materials\n return {\n currentCounter: getCurrentCounter(state),\n canManageAFs,\n canSeeTrainingFiles\n }\n}\n\nexport default withMe(\n connect(\n mapStateToProps,\n null\n )(TabNav)\n)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '16px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '200px'\n },\n archived: {\n textAlign: 'right',\n marginTop: '20px'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport TrashIcon from 'react-icons/lib/fa/trash-o'\nimport CheckIcon from 'react-icons/lib/fa/check-circle-o'\nimport CircleIcon from 'react-icons/lib/fa/circle-o'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({\n classes,\n onRemove,\n onCopy,\n onMarkAsSeen,\n onMarkAsUnseen,\n seen,\n canMarkAsBenchmark\n}) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {canMarkAsBenchmark && (\n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy file\n \n )}\n {!seen && (\n {\n closePopover()\n onMarkAsSeen()\n }}>\n \n \n \n Mark as seen\n \n )}\n {seen && (\n {\n closePopover()\n onMarkAsUnseen()\n }}>\n \n \n \n Mark as unseen\n \n )}\n {\n openConfirmationDialog({\n bodyText: 'Are you sure you want to archive this invitation?',\n action: onRemove,\n confirmText: 'Archive',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Archive\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiGetMe = params => apiClient.get('v3/me', { params })\n\nexport { apiGetMe }\n","import { apiClient } from 'pobble-components/dist/api'\n\nconst apiGetInvitations = params =>\n apiClient.get(`/v3/me/assessment_file_invitations`, { params })\n\nconst apiRemoveCurrentInvitation = invitationId =>\n apiClient.put(`/v3/assessment_file_invitations/${invitationId}/archive`)\n\nconst apiMarkAsSeen = id =>\n apiClient.put(`/v3/assessment_file_invitations/${id}/mark_as_seen`)\n\nconst apiMarkAsUnseen = id =>\n apiClient.put(`/v3/assessment_file_invitations/${id}/mark_as_unseen`)\n\nexport {\n apiGetInvitations,\n apiRemoveCurrentInvitation,\n apiMarkAsSeen,\n apiMarkAsUnseen\n}\n","import { apiGetMe } from '../../common/api/profile'\nimport {\n apiGetInvitations,\n apiRemoveCurrentInvitation,\n apiMarkAsSeen,\n apiMarkAsUnseen\n} from '../../common/api/invitations'\n\nconst fetchCurrentInvitations = () => ({\n requestPrefix: 'CURRENT_INVITATIONS:FETCH',\n request: () =>\n apiGetInvitations({\n scope: 'pending',\n include:\n 'assessment_file_invitation.details,assessment_file_invitation.invited_by,assessment_file_invitation.account.names,assessment_file_invitation.guest_moderator,assessment_file_invitation.account.names,assessment_file_invitation.timestamps,assessment_file_invitation.assessment_file,assessment_file_invitation.assessment_file.details,assessment_file_invitation.assessment_file.policy,assessment_file_invitation.assessment_file.student_types.school,assessment_file_invitation.assessment_file.student_type.school.names,collection.order.desc'\n })\n})\n\nconst fetchInvitationCounter = () => ({\n requestPrefix: 'CURRENT_INVITATIONS:FETCH_COUNTER',\n request: () =>\n apiGetMe({\n include: 'account.assessment_file_invitations_counter'\n })\n})\n\nconst removeInvitation = (invitationId, seen) => ({\n requestPrefix: 'CURRENT_INVITATIONS:REMOVE',\n params: { id: invitationId, seen },\n request: () => apiRemoveCurrentInvitation(invitationId)\n})\n\nconst markAsSeen = id => ({\n requestPrefix: 'CURRENT_INVITATIONS:MARK_AS_SEEN',\n params: { id },\n request: () => apiMarkAsSeen(id)\n})\n\nconst markAsUnseen = id => ({\n requestPrefix: 'CURRENT_INVITATIONS:MARK_AS_UNSEEN',\n params: { id },\n request: () => apiMarkAsUnseen(id)\n})\n\nexport {\n fetchCurrentInvitations,\n removeInvitation,\n fetchInvitationCounter,\n markAsSeen,\n markAsUnseen\n}\n","import { apiGetMe } from '../../common/api/profile'\nimport {\n apiCopyAssessmentFile,\n apiArchiveAssessmentFile\n} from '../../common/api/assessment'\n\nconst fetchMyFiles = (params = {}) => ({\n requestPrefix: 'MY_FILES:FETCH',\n request: () =>\n apiGetMe({\n include: `account.teacher_type.assessment_files,account.teacher_type.assessment_file.details,account.teacher_type.assessment_file.timestamps,account.teacher_type.assessment_file.student_types,account.teacher_type.assessment_file.student_type.account,account.teacher_type.assessment_file.student_type.account.names,account.teacher_type.assessment_file.contributions,account.teacher_type.assessment_file.contributors,account.teacher_type.assessment_file.contributor,account.teacher_type.assessment_file.account.names,account.teacher_type.assessment_file.account.avatar,account.teacher_type.assessment_file.works,account.teacher_type.assessment_file.work.media,account.teacher_type.assessment_file.work.medium.thumb,account.teacher_type.assessment_file.student_type.year_group,account.teacher_type.assessment_file.student_type.year_group.names,account.teacher_type.assessment_file.student_type.year_group.order,account.teacher_type.assessment_files.limit.10,account.teacher_type.assessment_files.page.${params.page ||\n 1},account.teacher_type.assessment_files.order.desc`\n })\n})\n\nconst copyMyFile = id => ({\n requestPrefix: 'MY_FILES:COPY',\n request: () =>\n apiCopyAssessmentFile(id, {\n include:\n 'assessment_file.details,assessment_file.timestamps,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.policy,assessment_file.close,assessment_file.teacher_types,assessment_file.teacher_type,assessment_file.teacher_type.account,assessment_file.teacher_type.account.names,assessment_file.work.media,assessment_file.work.medium.thumb'\n })\n})\n\nconst archiveMyFile = id => ({\n requestPrefix: 'MY_FILES:ARCHIVE',\n params: { id },\n request: () => apiArchiveAssessmentFile(id)\n})\n\nexport { fetchMyFiles, copyMyFile, archiveMyFile }\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n removeInvitation,\n markAsSeen,\n markAsUnseen\n} from '../../../../../../../stores/current-invitations/current-invitations.actions'\nimport { copyMyFile } from '../../../../../../../stores/my-files/my-files.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getInvitation } from '../../../../../../../stores/current-invitations/current-invitations.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id }) => {\n const invitation = getInvitation(state, id)\n return {\n id: invitation.id,\n seen: invitation.seen,\n assessmentFileId: invitation.assessment_file.id,\n canMarkAsBenchmark: invitation.assessment_file.policy.can_mark_as_benchmark\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onRemove: () =>\n dispatch(removeInvitation(ownProps.id, stateProps.seen)).catch(\n errorHandler\n ),\n onCopy: () =>\n dispatch(copyMyFile(stateProps.assessmentFileId))\n .then(() => (window.location = `/moderation/my-files/`))\n .catch(errorHandler),\n onMarkAsSeen: () => dispatch(markAsSeen(ownProps.id)).catch(errorHandler),\n onMarkAsUnseen: () => dispatch(markAsUnseen(ownProps.id)).catch(errorHandler)\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './current-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport { BulkCheckbox } from 'pobble-components/dist/bulk-action'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport ContextMenu from './context-menu/context-menu.container'\nimport classNames from 'classnames'\n\nimport Button from 'pobble-components/dist/button'\n\nconst CurrentEntry = ({\n classes,\n id,\n title,\n invitedAt,\n invitedBy,\n conclusion,\n pending,\n seen,\n url,\n school,\n onInvitationClick,\n index\n}) => (\n \n \n \n \n {invitedAt}\n {invitedBy}\n {school}\n \n onInvitationClick(url, id)}>\n {title}\n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n unseen: {\n borderLeftColor: COLORS.RED.FADED\n },\n center: {\n textAlign: 'center'\n },\n btn: {\n padding: 0,\n fontSize: '16px'\n }\n})\n","import { connect } from 'react-redux'\nimport CurrentEntry from './current-entry'\nimport {\n getInvitation,\n getRemoveInvitationRequest\n} from '../../../../../../stores/current-invitations/current-invitations.selectors'\nimport { format } from 'date-fns'\nimport { withRouter } from 'react-router-dom'\nimport { markAsSeen } from '../../../../../../stores/current-invitations/current-invitations.actions'\n\nconst mapStateToProps = (state, { id, index }) => {\n const currentInvitation = getInvitation(state, id)\n const removeInvitationRequest = getRemoveInvitationRequest(state, id)\n return {\n id: currentInvitation.id,\n index: index,\n title: currentInvitation.assessment_file.title,\n invitedBy: currentInvitation.invited_by.full_name,\n invitedAt: format(currentInvitation.created_at, 'DD.MM.YYYY'),\n url: `/assessment-files/${currentInvitation.assessment_file.id}`,\n seen: currentInvitation.seen,\n conclusion: currentInvitation.assessment_file.concluded,\n pending: removeInvitationRequest.pending,\n school:\n (currentInvitation.assessment_file.student_types &&\n currentInvitation.assessment_file.student_types.length > 0 &&\n currentInvitation.assessment_file.student_types[0] &&\n currentInvitation.assessment_file.student_types[0].school &&\n currentInvitation.assessment_file.student_types[0].school.title) ||\n '-'\n }\n}\n\nconst mapDispatchToProps = (dispatch, { history }) => ({\n onInvitationClick: (url, id) =>\n dispatch(markAsSeen(id)).then(() => history.push(url))\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(CurrentEntry)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './bulk-action.styles'\nimport { ActionButton } from 'pobble-components/dist/bulk-action'\nimport TrashIcon from 'react-icons/lib/fa/trash-o'\nimport CheckIcon from 'react-icons/lib/fa/check-circle-o'\nimport CircleIcon from 'react-icons/lib/fa/circle-o'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst BulkAction = ({ classes, onRemove, onMarkAsSeen, onMarkAsUnseen }) => (\n \n {({ Menu, MenuItem, IconHolder, closePopover, bulkSelectedList }) => (\n \n {\n closePopover()\n onMarkAsSeen(bulkSelectedList)\n }}>\n \n \n \n Mark as seen\n \n {\n closePopover()\n onMarkAsUnseen(bulkSelectedList)\n }}>\n \n \n \n Mark as unseen\n \n {\n closePopover()\n openConfirmationDialog({\n bodyText: `Are you sure you want to archive ${bulkSelectedList.length} invitations?`,\n action: () => onRemove(bulkSelectedList),\n confirmText: 'Archive',\n cancelText: 'Cancel'\n })\n }}>\n \n \n \n Archive\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(BulkAction)\n","export default ({ COLORS }) => ({\n archive: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { connect } from 'react-redux'\nimport BulkAction from './bulk-action'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport {\n removeInvitation,\n markAsSeen,\n markAsUnseen\n} from '../../../../../../stores/current-invitations/current-invitations.actions'\n\nconst mapDispatchToProps = dispatch => ({\n onMarkAsSeen: invitations =>\n invitations.forEach(\n invitation => !invitation.seen && dispatch(markAsSeen(invitation.id))\n ),\n onMarkAsUnseen: invitations =>\n invitations.forEach(\n invitation => invitation.seen && dispatch(markAsUnseen(invitation.id))\n ),\n onRemove: invitations =>\n invitations.forEach(invitation =>\n dispatch(removeInvitation(invitation.id)).catch(errorHandler)\n )\n})\n\nexport default connect(null, mapDispatchToProps)(BulkAction)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './current-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport CurrentEntry from './current-entry/current-entry.container'\nimport {\n BulkActionProvider,\n SelectAllButton\n} from 'pobble-components/dist/bulk-action'\nimport BulkAction from './bulk-action/bulk-action.container'\n\nconst CurrentTable = ({ classes, invitations }) => (\n \n \n \n \n \n \n \n Invited on\n Invited by\n School\n Title\n Conclusion\n \n \n \n \n \n \n \n {invitations.map((invitation, index) => (\n \n ))}\n \n
    \n
    \n)\n\nexport default injectSheet(styles)(CurrentTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport CurrentTable from './current-table'\nimport { getInvitationsList } from '../../../../../stores/current-invitations/current-invitations.selectors'\n\nconst mapStateToProps = state => ({\n invitations: getInvitationsList(state)\n})\n\nexport default connect(mapStateToProps, null)(CurrentTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './current-invitations.styles'\nimport CurrentTable from './current-table/current-table.container'\nimport CurrentSkeleton from './current-skeleton/current-skeleton'\nimport mountains from './mountains.png'\nimport { Link } from 'react-router-dom'\nimport ArrowIcon from 'react-icons/lib/fa/caret-right'\n\nclass CurrentInvitations extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const { classes, pending, noInvitations } = this.props\n let invitations = noInvitations ? (\n
    \n \"Not\n

    \n You don't have any invitations yet.\n
    We'll email when you do.\n

    \n
    \n ) : pending ? (\n \n ) : (\n
    \n \n
    \n )\n return (\n
    \n {invitations}\n
    \n \n Archived invitations \n \n
    \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(CurrentInvitations)\n","import { connect } from 'react-redux'\nimport CurrentInvitations from './current-invitations'\nimport { fetchCurrentInvitations } from '../../../../stores/current-invitations/current-invitations.actions'\nimport {\n getFetchInvitationsRequest,\n getInvitations\n} from '../../../../stores/current-invitations/current-invitations.selectors'\n\nconst mapStateToProps = state => {\n const fetchInvitationsRequest = getFetchInvitationsRequest(state)\n const invitations = getInvitations(state)\n return {\n noInvitations: invitations && !invitations.result.length,\n pending: !invitations || fetchInvitationsRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchCurrentInvitations())\n }\n})\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CurrentInvitations)\n","const styles = () => ({\n pagination: {\n marginTop: '20px',\n display: 'flex',\n justifyContent: 'center'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\n\nconst ArchivedEntry = ({\n classes,\n id,\n title,\n invitedAt,\n invitedBy,\n conclusion,\n pending,\n link\n}) => (\n \n {invitedAt}\n {invitedBy}\n \n \n {title}\n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(ArchivedEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n center: {\n textAlign: 'center'\n }\n})\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.ArchivedInvitations\n\nconst getFetchInvitationsRequest = state =>\n getState(state).fetchInvitationsRequest\n\nconst getRemoveInvitationRequests = state =>\n getState(state).removeInvitationRequests\n\nconst getRemoveInvitationRequest = (state, id) =>\n getRemoveInvitationRequests(state)[id] || {\n pending: false,\n requestError: null\n }\n\nconst getInvitations = state => getState(state).invitations\n\nconst getInvitationsResult = createSelector(\n [getInvitations],\n invitations => (!invitations ? [] : invitations.result)\n)\n\nconst getInvitationsMap = createSelector(\n [getInvitations],\n invitations => (!invitations ? {} : invitations.entities.invitations)\n)\n\nconst getInvitationsList = createSelector(\n [getInvitationsResult, getInvitationsMap],\n (result, invitationsMap) => result.map(id => invitationsMap[id])\n)\n\nconst getInvitation = (state, id) => getInvitationsMap(state)[id]\n\nconst getPagination = state => getState(state).pagination\n\nexport {\n getInvitations,\n getInvitationsList,\n getFetchInvitationsRequest,\n getInvitation,\n getRemoveInvitationRequest,\n getPagination\n}\n","import { connect } from 'react-redux'\nimport ArchivedEntry from './archived-entry'\nimport {\n getInvitation,\n getRemoveInvitationRequest\n} from '../../../../../../stores/archived-invitations/archived-invitations.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const archivedInvitation = getInvitation(state, id)\n const removeInvitationRequest = getRemoveInvitationRequest(state, id)\n return {\n id: archivedInvitation.id,\n title: archivedInvitation.assessment_file.title,\n invitedBy: archivedInvitation.invited_by.full_name,\n invitedAt: format(archivedInvitation.updated_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${archivedInvitation.assessment_file.id}`,\n seen: archivedInvitation.seen,\n conclusion: archivedInvitation.assessment_file.concluded,\n pending: removeInvitationRequest.pending\n }\n}\n\nexport default connect(mapStateToProps, null)(ArchivedEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport ArchivedEntry from './archived-entry/archived-entry.container'\n\nconst ArchivedTable = ({ classes, invitations }) => (\n \n \n \n Invited on\n Invited by\n Title\n Conclusion\n \n \n \n {invitations.map(invitation => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(ArchivedTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport ArchivedTable from './archived-table'\nimport { getInvitationsList } from '../../../../../stores/archived-invitations/archived-invitations.selectors'\n\nconst mapStateToProps = state => ({\n invitations: getInvitationsList(state)\n})\n\nexport default connect(mapStateToProps, null)(ArchivedTable)\n","import React from 'react'\nimport styles from './archived-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst ArchivedSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(ArchivedSkeletonEntry)\n","export default {\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n }\n}\n","import React from 'react'\nimport styles from './archived-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport ArchivedSkeletonEntry from './archived-skeleton-entry/archived-skeleton-entry'\n\nconst ArchivedSkeleton = ({ classes }) => (\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 injectSheet(styles)(ArchivedSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n textAlign: 'center !important',\n width: '20%'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '75%'\n },\n title: {\n width: '38px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-invitations.styles'\nimport ArchivedTable from './archived-table/archived-table.container'\nimport ArchivedSkeleton from './archived-skeleton/archived-skeleton'\nimport { Pagination } from 'pobble-components/dist/pagination'\n\nclass ArchivedInvitations extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const {\n classes,\n pending,\n noInvitations,\n pagination,\n onPageChange\n } = this.props\n return noInvitations ? (\n

    You haven't archived any invitations yet.

    \n ) : pending ? (\n \n ) : (\n
    \n \n
    \n \n
    \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(ArchivedInvitations)\n","import { apiGetInvitations } from '../../common/api/invitations'\n\nconst fetchArchivedInvitations = (params = {}) => ({\n requestPrefix: 'ARCHIVED_INVITATIONS:FETCH',\n request: () =>\n apiGetInvitations({\n scope: 'archived',\n include: `assessment_file_invitation.details,assessment_file_invitation.invited_by,assessment_file_invitation.account.names,assessment_file_invitation.guest_moderator,assessment_file_invitation.account.names,assessment_file_invitation.timestamps,assessment_file_invitation.assessment_file,assessment_file_invitation.assessment_file.details,collection.order.desc,collection.limit.10,collection.page.${params.page ||\n 1}`\n })\n})\n\nexport { fetchArchivedInvitations }\n","import { connect } from 'react-redux'\nimport ArchivedInvitations from './archived-invitations'\nimport { fetchArchivedInvitations } from '../../../../stores/archived-invitations/archived-invitations.actions'\nimport {\n getFetchInvitationsRequest,\n getInvitations,\n getPagination\n} from '../../../../stores/archived-invitations/archived-invitations.selectors'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\n\nconst mapStateToProps = state => {\n const fetchInvitationsRequest = getFetchInvitationsRequest(state)\n const invitations = getInvitations(state)\n return {\n noInvitations: invitations && !invitations.result.length,\n pending: !invitations || fetchInvitationsRequest.pending,\n pagination: getPagination(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchArchivedInvitations())\n },\n onPageChange: ({ selected }) =>\n dispatch(fetchArchivedInvitations({ page: selected })).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(ArchivedInvitations)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '18px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '500px'\n },\n restricted: {\n filter: 'grayscale(1)'\n },\n archived: {\n textAlign: 'right',\n marginTop: '20px'\n },\n pagination: {\n marginTop: '20px',\n display: 'flex',\n justifyContent: 'center'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport CopyIcon from 'react-icons/lib/fa/copy'\nimport ArchiveIcon from 'react-icons/lib/fa/trash'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst ContextMenu = ({ classes, onCopy, onArchive }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy\n \n {\n openConfirmationDialog({\n bodyText:\n 'Are you sure you want to archive this moderation file?',\n action: () => onArchive(),\n confirmText: 'Archive',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Archive\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.MyFiles\n\nconst getFetchMyFilesRequest = state => getState(state).fetchMyFilesRequest\n\nconst getMyFiles = state => getState(state).files\n\nconst getMyFilesResult = createSelector(\n [getMyFiles],\n files => (!files ? [] : files.result)\n)\n\nconst getMyFilesMap = createSelector(\n [getMyFiles],\n files => (!files ? {} : files.entities.files)\n)\n\nconst getMyFilesList = createSelector(\n [getMyFilesResult, getMyFilesMap],\n (result, filesMap) => result.map(id => filesMap[id])\n)\n\nconst getMyFile = (state, id) => getMyFilesMap(state)[id]\n\nconst getPagination = state => getState(state).pagination\n\nexport {\n getMyFiles,\n getMyFilesList,\n getFetchMyFilesRequest,\n getMyFile,\n getPagination\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport {\n copyMyFile,\n archiveMyFile\n} from '../../../../../../../stores/my-files/my-files.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getMyFile } from '../../../../../../../stores/my-files/my-files.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const file = getMyFile(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () =>\n dispatch(copyMyFile(ownProps.id))\n .then(() => document.location.reload()) // BE include tags are needed to avoid this reload\n .catch(errorHandler),\n onArchive: () => dispatch(archiveMyFile(ownProps.id)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ContextMenu)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './my-files-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport AgeGroup from 'pobble-components/dist/age-group'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport classNames from 'classnames'\n\nconst MyFilesEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n students,\n thumb,\n ageGroupTitle,\n ageGroupOrder,\n moderationType,\n judgement,\n judgementShort\n}) => (\n \n \n \n \n \n \n {createdAt}\n \n \n {title}\n \n \n {students}\n \n {ageGroupTitle}\n \n \n {moderationType && (\n \n {moderationType.split(' ').map(w => w[0])}\n \n )}\n {!moderationType && '-'}\n \n \n {judgement && {judgementShort}}\n {!judgement && '-'}\n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(MyFilesEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n },\n initials: {\n textTransform: 'uppercase'\n }\n})\n","import { connect } from 'react-redux'\nimport MyFilesEntry from './my-files-entry'\nimport { getMyFile } from '../../../../../../stores/my-files/my-files.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const myFile = getMyFile(state, id)\n return {\n id: myFile.id,\n title: myFile.title,\n createdAt: format(myFile.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${myFile.id}`,\n conclusion: myFile.concluded,\n moderationType:\n myFile.moderation_type && myFile.moderation_type.replace(/_/g, ' '),\n judgement: myFile.judgement && myFile.judgement.replace(/_/g, ' '),\n judgementShort: checkJudgment(myFile.judgement),\n students:\n myFile.student_types &&\n myFile.student_types\n .map(student => student.account.full_name + ', ')\n .toString()\n .slice(0, -2),\n thumb:\n myFile.works &&\n myFile.works[0] &&\n myFile.works[0].media &&\n myFile.works[0].media[0] &&\n myFile.works[0].media[0].thumb_url,\n ageGroupTitle:\n myFile.student_types &&\n myFile.student_types[0] &&\n myFile.student_types[0].year_group &&\n myFile.student_types[0].year_group.title,\n ageGroupOrder:\n myFile.student_types &&\n myFile.student_types[0] &&\n myFile.student_types[0].year_group &&\n myFile.student_types[0].year_group.order\n }\n}\n\nfunction checkJudgment(judgement) {\n return judgement === 'greater_depth_within_the_expected_standard'\n ? 'GDS'\n : judgement === 'working_towards_the_expected_standard'\n ? 'WTS'\n : judgement === 'working_at_the_expected_standard'\n ? 'EXS'\n : '-'\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(MyFilesEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './my-files-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport MyFilesEntry from './my-files-entry/my-files-entry.container'\n\nconst MyFilesTable = ({ classes, myFiles }) => (\n \n \n \n Thumb\n Date\n Title\n Student\n Age group\n Type\n Judgement\n Conclusion\n \n \n \n {myFiles.map(myFile => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(MyFilesTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport MyFilesTable from './my-files-table'\nimport { getMyFilesList } from '../../../../../stores/my-files/my-files.selectors'\n\nconst mapStateToProps = state => ({\n myFiles: getMyFilesList(state)\n})\n\nexport default connect(mapStateToProps, null)(MyFilesTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './my-files.styles'\nimport MyFilesTable from './my-files-table/my-files-table.container'\nimport CurrentSkeleton from './my-files-skeleton/current-skeleton'\nimport usingmoderation from './hero-image-2.png'\nimport { Link } from 'react-router-dom'\nimport ArrowIcon from 'react-icons/lib/fa/caret-right'\nimport { Pagination } from 'pobble-components/dist/pagination'\nimport classNames from 'classnames'\n\nclass MyFiles extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const {\n classes,\n pending,\n noFiles,\n pagination,\n onPageChange,\n restrictedFromCreatingAFs\n } = this.props\n let files = noFiles ? (\n
    \n \n {!restrictedFromCreatingAFs && (\n

    \n Ready to start?
    \n
    \n \n Watch our video\n {' '}\n and learn how you can create and
    \n share your first moderation files.\n
    \n
    \n Once ready, create your first file by{' '}\n \n uploading writing\n {' '}\n or
    \n select work already in the{' '}\n \n pupil's evidence bank\n \n .\n

    \n )}\n {restrictedFromCreatingAFs && (\n

    \n The ability to create and share moderation files is only available\n to those with active moderation subscriptions.\n
    \n
    \n \n Purchase a subscription\n {' '}\n or{' '}\n \n join a free webinar\n {' '}\n to find out more.\n

    \n )}\n
    \n ) : pending ? (\n \n ) : (\n
    \n \n
    \n \n
    \n
    \n )\n\n return (\n <>\n {files}\n
    \n \n Archived files \n \n
    \n \n )\n }\n}\n\nexport default injectSheet(styles)(MyFiles)\n","import { connect } from 'react-redux'\nimport MyFiles from './my-files'\nimport { fetchMyFiles } from '../../../../stores/my-files/my-files.actions'\nimport {\n getFetchMyFilesRequest,\n getMyFiles,\n getPagination\n} from '../../../../stores/my-files/my-files.selectors'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const fetchMyFilesRequest = getFetchMyFilesRequest(state)\n const files = getMyFiles(state)\n const restrictedFromCreatingAFs =\n me &&\n me.account &&\n me.account.subscription_policy &&\n me.account.subscription_policy.moderation &&\n me.account.subscription_policy.moderation.create_assessment_file &&\n me.account.subscription_policy.moderation.create_assessment_file.restricted\n return {\n restrictedFromCreatingAFs,\n noFiles: files && !files.result.length,\n pending: !files || fetchMyFilesRequest.pending,\n pagination: getPagination(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchMyFiles())\n },\n onPageChange: ({ selected }) =>\n dispatch(fetchMyFiles({ page: selected })).catch(errorHandler)\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(MyFiles)\n)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '16px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '200px'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport ArchiveIcon from 'react-icons/lib/fa/repeat'\nimport { openConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nconst ContextMenu = ({ classes, onUnarchive }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n openConfirmationDialog({\n bodyText:\n 'Are you sure you want to unarchive this moderation file?',\n action: () => onUnarchive(),\n confirmText: 'Unarchive',\n cancelText: 'Cancel'\n })\n closePopover()\n }}>\n \n \n \n Unarchive\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { apiGetMe } from '../../common/api/profile'\nimport { apiUnarchiveAssessmentFile } from '../../common/api/assessment'\n\nconst fetchArchivedFiles = () => ({\n requestPrefix: 'ARCHIVED_FILES:FETCH',\n request: () =>\n apiGetMe({\n include:\n 'account.teacher_type.archived_assessment_files,account.teacher_type.assessment_file.details,account.teacher_type.assessment_file.timestamps,account.teacher_type.assessment_file.student_types,account.teacher_type.assessment_file.student_type.account,account.teacher_type.assessment_file.student_type.account.names,account.teacher_type.assessment_file.contributions,account.teacher_type.assessment_file.contributors,account.teacher_type.assessment_file.contributor,account.teacher_type.assessment_file.account.names,account.teacher_type.assessment_file.account.avatar,account.teacher_type.assessment_file.works,account.teacher_type.assessment_file.work.media,account.teacher_type.assessment_file.work.medium.thumb,account.teacher_type.assessment_file.student_type.year_group,account.teacher_type.assessment_file.student_type.year_group.names,account.teacher_type.assessment_file.student_type.year_group.order'\n })\n})\n\nconst unarchiveArchivedFile = id => ({\n requestPrefix: 'ARCHIVED_FILES:UNARCHIVE',\n params: { id },\n request: () => apiUnarchiveAssessmentFile(id)\n})\n\nexport { fetchArchivedFiles, unarchiveArchivedFile }\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.ArchivedFiles\n\nconst getFetchArchivedFilesRequest = state =>\n getState(state).fetchArchivedFilesRequest\n\nconst getArchivedFiles = state => getState(state).files\n\nconst getArchivedFilesResult = createSelector(\n [getArchivedFiles],\n files => (!files ? [] : files.result)\n)\n\nconst getArchivedFilesMap = createSelector(\n [getArchivedFiles],\n files => (!files ? {} : files.entities.files)\n)\n\nconst getArchivedFilesList = createSelector(\n [getArchivedFilesResult, getArchivedFilesMap],\n (result, filesMap) => result.map(id => filesMap[id])\n)\n\nconst getArchivedFile = (state, id) => getArchivedFilesMap(state)[id]\n\nexport {\n getArchivedFiles,\n getArchivedFilesList,\n getFetchArchivedFilesRequest,\n getArchivedFile\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { unarchiveArchivedFile } from '../../../../../../../stores/archived-files/archived-files.actions'\nimport { errorHandler } from 'pobble-components/dist/error-handler'\nimport { getArchivedFile } from '../../../../../../../stores/archived-files/archived-files.selectors'\n\nconst mapStateToProps = (state, { id }) => {\n const file = getArchivedFile(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onUnarchive: () =>\n dispatch(unarchiveArchivedFile(ownProps.id)).catch(errorHandler)\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n)(ContextMenu)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-files-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport AgeGroup from 'pobble-components/dist/age-group'\n\nconst ArchivedFilesEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n student,\n thumb,\n ageGroupTitle,\n ageGroupOrder\n}) => (\n \n \n \n \n \n \n {createdAt}\n \n \n {title}\n \n \n {student}\n \n {ageGroupTitle}\n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(ArchivedFilesEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n})\n","import { connect } from 'react-redux'\nimport ArchivedFilesEntry from './archived-files-entry'\nimport { getArchivedFile } from '../../../../../../stores/archived-files/archived-files.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const archivedFile = getArchivedFile(state, id)\n return {\n id: archivedFile.id,\n title: archivedFile.title,\n createdAt: format(archivedFile.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${archivedFile.id}`,\n conclusion: archivedFile.concluded,\n student:\n archivedFile.student_type && archivedFile.student_type.account.full_name,\n thumb:\n archivedFile.works &&\n archivedFile.works[0] &&\n archivedFile.works[0].media[0].thumb_url,\n ageGroupTitle:\n archivedFile.student_types &&\n archivedFile.student_types[0] &&\n archivedFile.student_types[0].year_group &&\n archivedFile.student_types[0].year_group.title,\n ageGroupOrder:\n archivedFile.student_types &&\n archivedFile.student_types[0] &&\n archivedFile.student_types[0].year_group &&\n archivedFile.student_types[0].year_group.order\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ArchivedFilesEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-files-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport ArchivedFilesEntry from './archived-files-entry/archived-files-entry.container'\n\nconst ArchivedFilesTable = ({ classes, archivedFiles }) => (\n \n \n \n Thumb\n Date\n Title\n Student\n Age group\n Conclusion\n \n \n \n {archivedFiles.map(archivedFile => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(ArchivedFilesTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport ArchivedFilesTable from './archived-files-table'\nimport { getArchivedFilesList } from '../../../../../stores/archived-files/archived-files.selectors'\n\nconst mapStateToProps = state => ({\n archivedFiles: getArchivedFilesList(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(ArchivedFilesTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './archived-files.styles'\nimport ArchivedFilesTable from './archived-files-table/archived-files-table.container'\nimport CurrentSkeleton from './archived-files-skeleton/current-skeleton'\nimport octopus from './octopus.png'\n\nclass ArchivedFiles extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const { classes, pending, noFiles } = this.props\n return noFiles ? (\n
    \n \"Not\n

    \n You don't have archived moderation files.
    \n

    \n
    \n ) : pending ? (\n \n ) : (\n \n )\n }\n}\n\nexport default injectSheet(styles)(ArchivedFiles)\n","import { connect } from 'react-redux'\nimport ArchivedFiles from './archived-files'\nimport { fetchArchivedFiles } from '../../../../stores/archived-files/archived-files.actions'\nimport {\n getFetchArchivedFilesRequest,\n getArchivedFiles\n} from '../../../../stores/archived-files/archived-files.selectors'\n\nconst mapStateToProps = state => {\n const fetchArchivedFilesRequest = getFetchArchivedFilesRequest(state)\n const files = getArchivedFiles(state)\n return {\n noFiles: files && !files.result.length,\n pending: !files || fetchArchivedFilesRequest.pending\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchArchivedFiles())\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(ArchivedFiles)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '18px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '500px'\n },\n restricted: {\n filter: 'grayscale(1)'\n },\n filter: {\n maxWidth: '300px',\n display: 'flex',\n alignItems: 'center'\n },\n label: {\n margin: '0 10px 0 0'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({ classes, onCopy }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy moderation file\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import {\n apiGetSchoolFiles,\n apiCopyAssessmentFile,\n apiGetYearGroups\n} from '../../common/api/assessment'\n\nconst fetchSchoolFiles = (params, initiator) => ({\n requestPrefix: 'SCHOOL_FILES:FETCH',\n params: { initiator },\n request: () =>\n apiGetSchoolFiles({\n include:\n 'assessment_file.details,assessment_file.timestamps,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.work.medium.thumb',\n order: 'desc',\n ...params\n })\n})\n\nconst copySchoolFile = id => ({\n requestPrefix: 'SCHOOL_FILES:COPY',\n request: () => apiCopyAssessmentFile(id)\n})\n\nconst resetFilters = () => ({ type: 'SCHOOL_FILES:RESET_FILTERS' })\n\nconst setSearchFilters = filters => ({\n type: 'SCHOOL_FILES:SET_SEARCH_FILTERS',\n filters\n})\n\nconst fetchAgeGroups = () => ({\n requestPrefix: 'SCHOOL_FILES:FETCH_AGE_GROUPS',\n request: () =>\n apiGetYearGroups({\n include: 'year_group.names,year_group.order'\n })\n})\n\nexport {\n fetchSchoolFiles,\n copySchoolFile,\n resetFilters,\n setSearchFilters,\n fetchAgeGroups\n}\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.SchoolFiles\n\nconst getFetchSchoolFilesRequest = state =>\n getState(state).fetchSchoolFilesRequest\n\nconst getSchoolFiles = state => getState(state).schoolFiles\n\nconst getSchoolFilesResult = createSelector(\n [getSchoolFiles],\n schoolFiles => (!schoolFiles ? [] : schoolFiles.result)\n)\n\nconst getSchoolFilesMap = createSelector(\n [getSchoolFiles],\n schoolFiles => (!schoolFiles ? {} : schoolFiles.entities.schoolFiles)\n)\n\nconst getSchoolFilesList = createSelector(\n [getSchoolFilesResult, getSchoolFilesMap],\n (result, schoolFilesMap) => result.map(id => schoolFilesMap[id])\n)\n\nconst getSchoolFile = (state, id) => getSchoolFilesMap(state)[id]\n\nconst getFilter = state => state.SchoolFiles.filter\n\nconst getServerFilterParams = createSelector(\n [getFilter],\n filter => {\n let filters = {\n search_string: filter.title,\n benchmarked: filter.benchmarked,\n owner_name: filter.owner,\n ...(filter.judgement && { judgement: filter.judgement }),\n ...(filter.moderationType && { moderation_type: filter.moderationType }),\n ...(filter.yearGroup && { 'year_group_ids[]': filter.yearGroup })\n /*limit: filter.currentLimit,*/\n }\n return filters\n }\n)\n\nconst getFetchSchoolFilesRequestInitiator = createSelector(\n [getFetchSchoolFilesRequest],\n req => (!req.params ? null : req.params.initiator)\n)\n\nexport {\n getSchoolFiles,\n getSchoolFilesList,\n getFetchSchoolFilesRequest,\n getSchoolFile,\n getFilter,\n getServerFilterParams,\n getFetchSchoolFilesRequestInitiator\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { copySchoolFile } from '../../../../../../../stores/school-files/school-files.actions'\nimport { getSchoolFile } from '../../../../../../../stores/school-files/school-files.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, history }) => {\n const file = getSchoolFile(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () => {\n return dispatch(copySchoolFile(ownProps.id)).then(() =>\n ownProps.history.push('/my-files')\n )\n }\n})\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps, mergeProps)(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './school-files-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport classNames from 'classnames'\nimport AgeGroup from 'pobble-components/dist/age-group'\n\nconst SchoolFilesEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n students,\n thumb,\n author,\n benchmarked,\n moderationType,\n judgement,\n judgementShort,\n ageGroupTitle,\n ageGroupOrder\n}) => (\n \n \n \n \n \n \n {createdAt}\n {author}\n {students}\n \n \n \n \n \n {title}\n \n \n \n {moderationType && (\n \n {moderationType.split(' ').map(w => w[0])}\n \n )}\n {!moderationType && '-'}\n \n \n {judgement && {judgementShort}}\n {!judgement && '-'}\n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(SchoolFilesEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n },\n initials: {\n textTransform: 'uppercase'\n }\n})\n","import { connect } from 'react-redux'\nimport SchoolFilesEntry from './school-files-entry'\nimport { getSchoolFile } from '../../../../../../stores/school-files/school-files.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const schoolFile = getSchoolFile(state, id)\n return {\n id: schoolFile.id,\n title: schoolFile.title,\n createdAt: format(schoolFile.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${schoolFile.id}`,\n conclusion: schoolFile.concluded,\n benchmarked: schoolFile.benchmarked,\n students:\n schoolFile.student_types &&\n schoolFile.student_types\n .map(student => student.full_name + ', ')\n .toString()\n .slice(0, -2),\n thumb:\n schoolFile.works &&\n schoolFile.works[0] &&\n schoolFile.works[0].media &&\n schoolFile.works[0].media[0] &&\n schoolFile.works[0].media[0].thumb_url,\n author: schoolFile.teacher_type && schoolFile.teacher_type.full_name,\n moderationType:\n schoolFile.moderation_type &&\n schoolFile.moderation_type.replace(/_/g, ' '),\n judgement: schoolFile.judgement && schoolFile.judgement.replace(/_/g, ' '),\n judgementShort: checkJudgment(schoolFile.judgement),\n ageGroupTitle:\n schoolFile.works &&\n schoolFile.works[0] &&\n schoolFile.works[0].year_group &&\n schoolFile.works[0].year_group.title,\n ageGroupOrder:\n schoolFile.works &&\n schoolFile.works[0] &&\n schoolFile.works[0].year_group &&\n schoolFile.works[0].year_group.order\n }\n}\n\nfunction checkJudgment(judgement) {\n return judgement === 'greater_depth_within_the_expected_standard'\n ? 'GDS'\n : judgement === 'working_towards_the_expected_standard'\n ? 'WTS'\n : judgement === 'working_at_the_expected_standard'\n ? 'EXS'\n : '-'\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(SchoolFilesEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './school-files-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport SchoolFilesEntry from './school-files-entry/school-files-entry.container'\n\nconst SchoolFilesTable = ({ classes, schoolFiles }) => (\n \n \n \n Thumb\n Date\n Owner\n Student\n Age group\n Title\n Type\n Judgement\n Conclusion\n School exemplar\n \n \n \n {schoolFiles.map(schoolFile => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(SchoolFilesTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport SchoolFilesTable from './school-files-table'\nimport { getSchoolFilesList } from '../../../../../stores/school-files/school-files.selectors'\n\nconst mapStateToProps = state => ({\n schoolFiles: getSchoolFilesList(state)\n})\n\nexport default connect(mapStateToProps, null)(SchoolFilesTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React from 'react'\nimport styles from './cell.styles'\nimport injectSheet from 'react-jss'\nimport classNames from 'classnames'\n\nconst Cell = ({ classes, children, cellProps, className }) => (\n \n {children}\n \n)\n\nexport default injectSheet(styles)(Cell)\n","export default {\n cell: {\n borderTop: 'none !important',\n backgroundColor: '#fff !important',\n borderBottom: '1px solid #ECECEC',\n padding: '0 10px 20px'\n }\n}\n","import React, { Component } from 'react'\nimport styles from './school-files-filter.styles'\nimport injectSheet from 'react-jss'\nimport Cell from './cell/cell'\nimport FormInput from 'pobble-components/dist/form-elements/form-input'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport Button from 'pobble-components/dist/button'\nimport debounce from 'lodash/debounce'\nimport every from 'lodash/every'\nimport isEmpty from 'lodash/isEmpty'\n\nconst DEBOUNCE_DELAY = 500\n\nclass SchoolFilesFilter extends Component {\n constructor(props) {\n super(props)\n this.state = {\n title: props.title,\n benchmarked: props.benchmarked,\n judgement: props.judgement,\n moderationType: props.moderationType,\n owner: props.owner,\n yearGroup: props.yearGroup,\n yearGroups: []\n }\n }\n componentDidMount() {\n this.props\n .onPullAgeGroups()\n .then(res => this.setState({ yearGroups: res.data.year_groups }))\n }\n\n areFiltersEmpty = () => every(this.state, isEmpty)\n onClearFilters = () => {\n const filters = {\n title: '',\n benchmarked: false,\n judgement: '',\n moderationType: '',\n owner: '',\n yearGroup: false\n }\n this.setState(filters)\n this.props.onFiltersUpdate(filters)\n }\n debouncedFiltersUpdate = debounce(\n () => this.props.onFiltersUpdate(this.state),\n DEBOUNCE_DELAY\n )\n handleChange = (value, key, callback) => {\n this.setState({ [key]: value })\n this.debouncedFiltersUpdate()\n }\n render() {\n const {\n title,\n benchmarked,\n judgement,\n moderationType,\n owner,\n yearGroup\n } = this.state\n return (\n \n \n \n \n \n this.handleChange(e.target.value, 'title', 'onTitleChange')\n }\n />\n \n \n \n this.handleChange(e.target.value, 'owner', 'onOwnerChange')\n }\n />\n \n \n \n this.handleChange(\n e.target.value,\n 'benchmarked',\n 'onBenchmarkedChange'\n )\n }>\n \n \n \n \n \n \n this.handleChange(\n e.target.value,\n 'yearGroup',\n 'onYearGroupChange'\n )\n }>\n \n {this.state.yearGroups.map(yearGroup => (\n \n ))}\n \n \n\n \n \n this.handleChange(\n e.target.value,\n 'judgement',\n 'onJudgementChange'\n )\n }>\n \n \n \n \n \n \n \n \n this.handleChange(\n e.target.value,\n 'moderationType',\n 'onModerationTypeChange'\n )\n }>\n \n \n \n \n \n \n \n \n \n Clear\n \n \n \n \n
    \n )\n }\n}\n\nexport default injectSheet(styles)(SchoolFilesFilter)\n","import { connect } from 'react-redux'\nimport SchoolFilesFilter from './school-files-filter'\nimport { getFilter } from '../../../../../stores/school-files/school-files.selectors'\nimport {\n resetFilters,\n setSearchFilters,\n fetchAgeGroups\n} from '../../../../../stores/school-files/school-files.actions'\n\nconst mapStateToProps = state => {\n const filter = getFilter(state)\n return {\n title: filter.title,\n benchmarked: filter.benchmarked,\n judgement: filter.judgement,\n moderationType: filter.moderationType,\n owner: filter.owner,\n yearGroup: filter.yearGroup\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onFiltersUpdate: values => dispatch(setSearchFilters(values)),\n onClearFilters: () => dispatch(resetFilters()),\n onPullAgeGroups: () => dispatch(fetchAgeGroups())\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(SchoolFilesFilter)\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './school-files.styles'\nimport SchoolFilesTable from './school-files-table/school-files-table.container'\nimport CurrentSkeleton from './school-files-skeleton/current-skeleton'\nimport SchoolFilesFilter from './school-files-filter/school-files-filter.container'\nimport usingmoderation from './hero-image-2.png'\nimport classNames from 'classnames'\n\nclass SchoolFiles extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n componentDidUpdate(prevProps) {\n this.props.onUpdate(prevProps)\n }\n render() {\n const {\n classes,\n pending,\n noSchoolFiles,\n filterParams,\n restrictedFromCreatingAFs\n } = this.props\n return (\n <>\n \n <>\n {noSchoolFiles ? (\n
    \n \n {restrictedFromCreatingAFs && (\n
    \n

    \n The school files area is only available to those with active\n moderation subscriptions. From here you can view any\n moderation files from your school,\n
    including school exemplars.\n
    \n
    \n \n Purchase a subscription\n {' '}\n or{' '}\n \n join a free webinar\n {' '}\n to find out more.\n

    \n
    \n )}\n {!restrictedFromCreatingAFs && (\n
    \n {filterParams.search_string === '' && (\n

    \n Nobody within your school has created and shared a\n moderation file yet...\n
    why not be the first.\n
    \n
    \n \n Watch our video\n {' '}\n and learn how you can create and
    \n share your first moderation files.\n
    \n
    \n Are you an Assessment Leader or English Leader?
    \n \n Join our free CPD session\n {' '}\n on using Pobble to develop effective moderation practice.\n

    \n )}\n {filterParams.search_string &&\n filterParams.search_string !== '' && (\n

    \n There are no matching moderation files yet.\n

    \n )}\n
    \n )}\n
    \n ) : pending ? (\n \n ) : (\n \n )}\n \n \n )\n }\n}\n\nexport default injectSheet(styles)(SchoolFiles)\n","import { connect } from 'react-redux'\nimport SchoolFiles from './school-files'\nimport { fetchSchoolFiles } from '../../../../stores/school-files/school-files.actions'\nimport {\n getFetchSchoolFilesRequest,\n getSchoolFiles,\n getServerFilterParams,\n getFetchSchoolFilesRequestInitiator\n} from '../../../../stores/school-files/school-files.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const schoolFiles = getSchoolFiles(state)\n const restrictedFromCreatingAFs =\n me &&\n me.account &&\n me.account.subscription_policy &&\n me.account.subscription_policy.moderation &&\n me.account.subscription_policy.moderation.create_assessment_file &&\n me.account.subscription_policy.moderation.create_assessment_file.restricted\n return {\n restrictedFromCreatingAFs,\n noSchoolFiles: schoolFiles && !schoolFiles.result.length,\n pending:\n !schoolFiles ||\n (getFetchSchoolFilesRequest(state).pending &&\n getFetchSchoolFilesRequestInitiator(state) === 'INITIAL'),\n filterParams: getServerFilterParams(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...ownProps,\n ...stateProps,\n onMount: () => dispatch(fetchSchoolFiles(stateProps.filterParams, 'INITIAL')),\n onUpdate: prevProps => {\n if (prevProps.filterParams !== stateProps.filterParams) {\n const initiator =\n prevProps.filterParams.limit !== stateProps.filterParams.limit\n ? 'LOAD_MORE'\n : 'SEARCH'\n dispatch(fetchSchoolFiles(stateProps.filterParams, initiator))\n }\n }\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(SchoolFiles)\n)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '16px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '200px'\n },\n filter: {\n maxWidth: '300px',\n display: 'flex',\n alignItems: 'center'\n },\n label: {\n margin: '0 10px 0 0'\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({ classes, onCopy }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy moderation file\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import {\n apiGetOrganisationFiles,\n apiCopyAssessmentFile\n} from '../../common/api/assessment'\n\nconst fetchOrganisationFiles = (benchmarkFilter = false) => ({\n requestPrefix: 'ORGANISATION_FILES:FETCH',\n request: () =>\n apiGetOrganisationFiles(benchmarkFilter, {\n include:\n 'assessment_file.details,assessment_file.timestamps,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.work.medium.thumb'\n })\n})\n\nconst filterToBenchmarked = () => ({\n type: 'ORGANISATION_FILES:FILTER_BENCHMARK'\n})\n\nconst filterToAll = () => ({\n type: 'ORGANISATION_FILES:FILTER_ALL'\n})\n\nconst copyOrganisationFile = id => ({\n requestPrefix: 'ORGANISATION_FILES:COPY',\n request: () => apiCopyAssessmentFile(id)\n})\n\nexport {\n fetchOrganisationFiles,\n copyOrganisationFile,\n filterToBenchmarked,\n filterToAll\n}\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.OrganisationFiles\n\nconst getFetchOrganisationFilesRequest = state =>\n getState(state).fetchOrganisationFilesRequest\n\nconst getOrganisationFiles = state => getState(state).organisationFiles\n\nconst getOrganisationFilesResult = createSelector(\n [getOrganisationFiles],\n organisationFiles => (!organisationFiles ? [] : organisationFiles.result)\n)\n\nconst getOrganisationFilesMap = createSelector(\n [getOrganisationFiles],\n organisationFiles =>\n !organisationFiles ? {} : organisationFiles.entities.organisationFiles\n)\n\nconst getOrganisationFilesList = createSelector(\n [getOrganisationFilesResult, getOrganisationFilesMap],\n (result, organisationFilesMap) => result.map(id => organisationFilesMap[id])\n)\n\nconst getOrganisationFile = (state, id) => getOrganisationFilesMap(state)[id]\n\nconst getBenchmarkFilter = state => getState(state).filters.benchmarked\n\nexport {\n getOrganisationFiles,\n getOrganisationFilesList,\n getFetchOrganisationFilesRequest,\n getOrganisationFile,\n getBenchmarkFilter\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { copyOrganisationFile } from '../../../../../../../stores/organisation-files/organisation-files.actions'\nimport { getOrganisationFile } from '../../../../../../../stores/organisation-files/organisation-files.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, history }) => {\n const file = getOrganisationFile(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () => {\n return dispatch(copyOrganisationFile(ownProps.id)).then(() =>\n ownProps.history.push('/my-files')\n )\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './organisation-files-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\nimport CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\n\nconst OrganisationFilesEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n student,\n thumb,\n author,\n benchmarked\n}) => (\n \n \n \n \n \n \n {createdAt}\n {author}\n {student}\n \n \n {title}\n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(OrganisationFilesEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n})\n","import { connect } from 'react-redux'\nimport OrganisationFilesEntry from './organisation-files-entry'\nimport { getOrganisationFile } from '../../../../../../stores/organisation-files/organisation-files.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const organisationFile = getOrganisationFile(state, id)\n return {\n id: organisationFile.id,\n title: organisationFile.title,\n createdAt: format(organisationFile.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${organisationFile.id}`,\n conclusion: organisationFile.concluded,\n benchmarked: organisationFile.benchmarked,\n student:\n organisationFile.student_type &&\n organisationFile.student_type.first_name +\n ' ' +\n organisationFile.student_type.last_name,\n thumb:\n organisationFile.works &&\n organisationFile.works[0] &&\n organisationFile.works[0].media &&\n organisationFile.works[0].media[0] &&\n organisationFile.works[0].media[0].thumb_url,\n author:\n organisationFile.teacher_type && organisationFile.teacher_type.full_name\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(OrganisationFilesEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './organisation-files-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport OrganisationFilesEntry from './organisation-files-entry/organisation-files-entry.container'\n\nconst OrganisationFilesTable = ({ classes, organisationFiles }) => (\n \n \n \n Thumb\n Date\n Owner\n Student\n Title\n Conclusion\n Benchmarked\n \n \n \n {organisationFiles.map(organisationFile => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(OrganisationFilesTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport OrganisationFilesTable from './organisation-files-table'\nimport { getOrganisationFilesList } from '../../../../../stores/organisation-files/organisation-files.selectors'\n\nconst mapStateToProps = state => ({\n organisationFiles: getOrganisationFilesList(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(OrganisationFilesTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './organisation-files.styles'\nimport OrganisationFilesTable from './organisation-files-table/organisation-files-table.container'\nimport CurrentSkeleton from './organisation-files-skeleton/current-skeleton'\nimport octopus from './octopus.png'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\n\nclass OrganisationFiles extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const {\n classes,\n pending,\n noOrganisationFiles,\n benchmarkFilter\n } = this.props\n let filters = (\n
    \n Filter:\n this.props.onSelect(e.target.value, benchmarkFilter)}>\n \n \n \n
    \n )\n return noOrganisationFiles ? (\n
    \n {filters}\n \"Not\n

    There are no moderation files yet.

    \n
    \n ) : pending ? (\n \n ) : (\n <>\n {filters}\n \n \n )\n }\n}\n\nexport default injectSheet(styles)(OrganisationFiles)\n","import { connect } from 'react-redux'\nimport OrganisationFiles from './organisation-files'\nimport {\n fetchOrganisationFiles,\n filterToBenchmarked,\n filterToAll\n} from '../../../../stores/organisation-files/organisation-files.actions'\nimport {\n getFetchOrganisationFilesRequest,\n getOrganisationFiles,\n getBenchmarkFilter\n} from '../../../../stores/organisation-files/organisation-files.selectors'\n\nconst mapStateToProps = state => {\n const fetchOrganisationFilesRequest = getFetchOrganisationFilesRequest(state)\n const organisationFiles = getOrganisationFiles(state)\n const benchmarkFilter = getBenchmarkFilter(state)\n return {\n noOrganisationFiles: organisationFiles && !organisationFiles.result.length,\n pending: !organisationFiles || fetchOrganisationFilesRequest.pending,\n benchmarkFilter\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n dispatch(filterToAll())\n return dispatch(fetchOrganisationFiles())\n },\n onSelect: (e, benchmarkFilter) => {\n e === 'benchmarked' && dispatch(filterToBenchmarked())\n e === 'all' && dispatch(filterToAll())\n return dispatch(fetchOrganisationFiles(e === 'benchmarked'))\n }\n})\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(OrganisationFiles)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '16px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '200px'\n },\n filter: {\n maxWidth: '300px',\n display: 'flex',\n alignItems: 'center',\n marginTop: '30px'\n },\n label: {\n margin: '0 10px 0 0'\n },\n intro: {\n border: '1px solid #e5e5e5',\n borderRadius: '4px',\n padding: '10px 20px',\n color: '#777',\n fontSize: '16px',\n '& p': {\n maxWidth: '700px'\n },\n '& h5': {\n margin: '12px 0',\n fontSize: '18px'\n }\n }\n})\n\nexport default styles\n","import React, { useState } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './examples-entry.styles'\n// import CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\n// import ContextMenu from './context-menu/context-menu.container'\nimport Button from 'pobble-components/dist/button'\n//import AgeGroup from 'pobble-components/dist/age-group'\nimport ArrowIcon from 'react-icons/lib/fa/arrow-right'\nimport InfoIcon from 'react-icons/lib/fa/info-circle'\nimport { SubsCrown } from 'pobble-components/dist/subscriptions'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\nimport { UpsellModal } from '../../../../../upsell/upsell'\nimport classNames from 'classnames'\nimport CopyIcon from 'react-icons/lib/fa/copy'\nimport Tooltip from 'pobble-components/dist/tooltip'\nimport { useMe } from 'pobble-components/dist/pobble-user'\n\nconst ExamplesEntry = ({\n classes,\n id,\n fileId,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n student,\n thumb,\n author,\n ageGroupOrder,\n ageGroupTitle,\n judgement,\n premium,\n onCopy\n}) => {\n const examplificationSp = useSubscriptionPolicy(\n sp => sp.moderation.examplification_material\n )\n const [upsellModalOpen, setUpsellModalOpen] = useState(false)\n const { me, showSchoolRequiredDialog } = useMe()\n const hasSchool = me.account.policy.teacher_in_school\n\n return (\n
    \n {\n if (premium && examplificationSp.restricted) {\n e.preventDefault()\n setUpsellModalOpen(true)\n }\n }}>\n \n {premium && }\n
    \n
    {title}
    \n
    \n \n
    \n {/*
    {author}
    */}\n
    \n
    \n \n {/*

    {title}

    \n
    {author}
    \n
    {createdAt}
    */}\n {!examplificationSp.restricted && (\n }\n className={classes.copyBtn}\n action={() =>\n hasSchool ? onCopy(fileId) : showSchoolRequiredDialog()\n }>\n Copy file\n \n )}\n {examplificationSp.restricted && (\n }\n className={classes.copyBtn}\n action={() => setUpsellModalOpen(true)}>\n Copy file\n \n )}\n \n \n \n {/**/}\n {/*\n {ageGroupTitle}\n\n */}\n setUpsellModalOpen(false)}\n />\n \n )\n}\n\nexport default injectSheet(styles)(ExamplesEntry)\n","export default ({ COLORS }) => ({\n container: {\n margin: '0 15px 15px 0',\n minWidth: '15%',\n width: '190px'\n },\n order0: {\n borderColor: COLORS.SUPPORTING.YEAR0.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR0.EXTRA_FADED\n },\n order1: {\n borderColor: COLORS.SUPPORTING.YEAR1.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR1.EXTRA_FADED\n },\n order2: {\n borderColor: COLORS.SUPPORTING.YEAR2.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR2.EXTRA_FADED\n },\n order3: {\n borderColor: COLORS.SUPPORTING.YEAR3.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR3.EXTRA_FADED\n },\n order4: {\n borderColor: COLORS.SUPPORTING.YEAR4.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR4.EXTRA_FADED\n },\n order5: {\n borderColor: COLORS.SUPPORTING.YEAR5.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR5.EXTRA_FADED\n },\n order6: {\n borderColor: COLORS.SUPPORTING.YEAR6.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR6.EXTRA_FADED\n },\n order7: {\n borderColor: COLORS.SUPPORTING.YEAR7.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR7.EXTRA_FADED\n },\n order8: {\n borderColor: COLORS.SUPPORTING.YEAR8.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR8.EXTRA_FADED\n },\n order9: {\n borderColor: COLORS.SUPPORTING.YEAR9.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR9.EXTRA_FADED\n },\n order10: {\n borderColor: COLORS.SUPPORTING.YEAR10.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR10.EXTRA_FADED\n },\n order11: {\n borderColor: COLORS.SUPPORTING.YEAR11.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR11.EXTRA_FADED\n },\n order12: {\n borderColor: COLORS.SUPPORTING.YEAR12.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR12.EXTRA_FADED\n },\n order13: {\n borderColor: COLORS.SUPPORTING.YEAR13.NORMAL,\n backgroundColor: '#e1f19a'\n },\n order14: {\n borderColor: COLORS.SUPPORTING.YEAR14.NORMAL,\n backgroundColor: COLORS.SUPPORTING.YEAR14.EXTRA_FADED\n },\n order15: {\n borderColor: COLORS.RED.FADED,\n backgroundColor: COLORS.RED.EXTRA_FADED\n },\n title: {\n margin: '20px 0 0',\n fontSize: '16px',\n lineHeight: '1'\n },\n thumb: {\n borderRadius: '16px',\n\n padding: '26px 26px 26px 30px',\n width: '100%',\n height: '268px',\n position: 'relative'\n },\n book: {\n background: 'rgba(255,255,255,0.5)',\n width: '100%',\n height: '100%',\n boxShadow: '-5px 5px 5px rgb(0 0 0 / 20%)',\n borderRadius: '2px',\n padding: '16px'\n },\n link: {\n textDecoration: 'none',\n color: '#333',\n '&:hover > div > div': {\n transform: 'scale(1.05)',\n transition: 'transform 200ms ease-in-out'\n }\n },\n bookTitle: {\n fontWeight: 'bold',\n fontSize: '16px'\n },\n bookArrow: {\n width: '50px',\n height: '50px',\n background: 'rgba(255,255,255,0.8)',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-around',\n padding: '10px',\n color: 'rgba(0,0,0,0.3)',\n borderRadius: '100%',\n margin: '30px 0',\n fontSize: '24px'\n },\n crown: {\n background: COLORS.DARK_BLUE.NORMAL,\n fontSize: '34px',\n position: 'absolute',\n right: '-13px',\n top: '-12px',\n borderRadius: '100%',\n padding: '5px',\n height: '30px',\n width: '30px !important'\n },\n working_towards_the_expected_standard: {\n transform: 'rotate(45deg)'\n },\n greater_depth_within_the_expected_standard: {\n transform: 'rotate(-45deg)'\n },\n working_at_the_expected_standard: {},\n copyBtn: {\n margin: '10px 5px 0px 10px',\n minWidth: '80%'\n },\n info: {\n opacity: 0.5\n }\n})\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.Examples\n\nconst getFetchExamplesRequest = state => getState(state).fetchExamplesRequest\n\nconst getExamples = state => getState(state).examples\n\nconst getExamplesResult = createSelector(\n [getExamples],\n examples => (!examples ? [] : examples.result)\n)\n\nconst getExamplesMap = createSelector(\n [getExamples],\n examples => (!examples ? {} : examples.entities.examples)\n)\n\nconst getExamplesList = createSelector(\n [getExamplesResult, getExamplesMap],\n (result, examplesMap) => result.map(id => examplesMap[id])\n)\n\nconst getExample = (state, id) => getExamplesMap(state)[id]\n\nconst getSchoolOrganisationFilter = state =>\n getState(state).filters.schoolOrganisation\n\nexport {\n getExamples,\n getExamplesList,\n getFetchExamplesRequest,\n getExample,\n getSchoolOrganisationFilter\n}\n","import { connect } from 'react-redux'\nimport ExamplesEntry from './examples-entry'\nimport { getExample } from '../../../../../../stores/examples/examples.selectors'\nimport { format } from 'date-fns'\nimport { copyExample } from '../../../../../../stores/examples/examples.actions'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, history }) => {\n const example = getExample(state, id)\n return {\n id: example.id,\n fileId: id,\n title: example.title,\n createdAt: format(example.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${example.id}`,\n //conclusion: example.concluded,\n //student: example.student_type && example.student_type.account.full_name,\n judgement: example.judgement,\n premium: example.premium,\n thumb:\n example.works &&\n example.works[0] &&\n example.works[0].media &&\n example.works[0].media[0] &&\n example.works[0].media[0].thumb_url,\n author: example.teacher_type && example.teacher_type.full_name,\n ageGroupTitle:\n example.student_types &&\n example.student_types[0] &&\n example.student_types[0].year_group &&\n example.student_types[0].year_group.title,\n ageGroupOrder:\n example.student_types &&\n example.student_types[0] &&\n example.student_types[0].year_group &&\n example.student_types[0].year_group.order\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () => {\n return dispatch(copyExample(ownProps.id)).then(() =>\n ownProps.history.push('/my-files')\n )\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ExamplesEntry)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './examples-section.styles'\nimport ExamplesEntry from './examples-entry/examples-entry.container'\n\nconst ExamplesSection = ({ classes, examples, premium }) => (\n
    \n {examples\n .filter(example => example.premium === premium)\n .map(example => (\n \n ))}\n
    \n)\n\nexport default injectSheet(styles)(ExamplesSection)\n","export default {\n section: {\n margin: '20px 0',\n display: 'flex',\n justifyContent: 'flex-start',\n flexWrap: 'wrap'\n }\n}\n","import { connect } from 'react-redux'\nimport ExamplesSection from './examples-section'\nimport { getExamplesList } from '../../../../../stores/examples/examples.selectors'\n\nconst mapStateToProps = state => ({\n examples: getExamplesList(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(ExamplesSection)\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({ classes, onCopy }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy moderation file\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { copyExample } from '../../../../../../../stores/examples/examples.actions'\nimport { getExample } from '../../../../../../../stores/examples/examples.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, history }) => {\n const file = getExample(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () => {\n return dispatch(copyExample(ownProps.id)).then(() =>\n ownProps.history.push('/my-files')\n )\n }\n})\n\nexport default withRouter(\n connect(mapStateToProps, mapDispatchToProps, mergeProps)(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './examples-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\n// import CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport AgeGroup from 'pobble-components/dist/age-group'\n\nconst ExamplesEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n student,\n thumb,\n author,\n ageGroupOrder,\n ageGroupTitle\n}) => (\n \n \n \n \n \n \n {createdAt}\n {author}\n \n \n {title}\n \n \n \n {ageGroupTitle}\n \n \n \n \n {/*{student}/*}\n {/*\n \n */}\n \n)\n\nexport default injectSheet(styles)(ExamplesEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n})\n","import { connect } from 'react-redux'\nimport ExamplesEntry from './examples-entry'\nimport { getExample } from '../../../../../../stores/examples/examples.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const example = getExample(state, id)\n return {\n id: example.id,\n title: example.title,\n createdAt: format(example.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${example.id}`,\n //conclusion: example.concluded,\n //student: example.student_type && example.student_type.account.full_name,\n thumb:\n example.works &&\n example.works[0] &&\n example.works[0].media &&\n example.works[0].media[0] &&\n example.works[0].media[0].thumb_url,\n author: example.teacher_type && example.teacher_type.full_name,\n ageGroupTitle:\n example.student_types &&\n example.student_types[0] &&\n example.student_types[0].year_group &&\n example.student_types[0].year_group.title,\n ageGroupOrder:\n example.student_types &&\n example.student_types[0] &&\n example.student_types[0].year_group &&\n example.student_types[0].year_group.order\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(ExamplesEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './examples-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport ExamplesEntry from './examples-entry/examples-entry.container'\n\nconst ExamplesTable = ({ classes, examples }) => (\n \n \n \n Thumb\n Date\n Owner\n Title\n Age Group\n {/*Student*/}\n {/*Conclusion*/}\n \n \n \n {examples.map(example => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(ExamplesTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport ExamplesTable from './examples-table'\nimport { getExamplesList } from '../../../../../stores/examples/examples.selectors'\n\nconst mapStateToProps = state => ({\n examples: getExamplesList(state)\n})\n\nexport default connect(mapStateToProps, null)(ExamplesTable)\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './examples.styles'\nimport ExamplesSection from './examples-section/examples-section.container'\nimport ExamplesTable from './examples-table/examples-table.container'\nimport Spinner from 'pobble-components/dist/spinner'\nimport octopus from './octopus.png'\nimport FormSelect from 'pobble-components/dist/form-elements/form-select'\nimport FormLabel from 'pobble-components/dist/form-elements/form-label'\n\nclass Examples extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const {\n classes,\n pending,\n noExamples,\n schoolOrganisationFilter,\n schoolIsPartOfOrganisation\n } = this.props\n return noExamples ? (\n
    \n \"Not\n

    There are no examples yet.

    \n
    \n ) : pending ? (\n \n ) : (\n <>\n
    \n
    Using these curated writing examples
    \n

    \n You may wish to use these materials to help gain an understanding of\n age-appropriate expectations for each year group across the Primary\n phase (based on the National Curriculum for England). As these\n materials are simply a guide, we encourage all teachers to assess\n pupils according to your own school's assessment policy. You can\n also copy files and use these as neutral evidence collections in\n your own moderation and training sessions.\n

    \n

    \n The files marked STA are exemplification materials used in England\n for the end of KS1 and 2 or are writing samples from STA training\n collections.\n

    \n
    \n {schoolIsPartOfOrganisation && (\n
    \n Filter:\n \n this.props.onSelect(e.target.value, schoolOrganisationFilter)\n }>\n \n \n \n
    \n )}\n {!schoolOrganisationFilter && (\n
    \n
    \n

    Free to view Writing Samples

    \n \n
    \n
    \n

    Premium Writing Samples

    \n \n
    \n
    \n )}\n {schoolOrganisationFilter && }\n \n )\n }\n}\n\nexport default injectSheet(styles)(Examples)\n","import { connect } from 'react-redux'\nimport Examples from './examples'\nimport {\n fetchExamples,\n filterToSchoolOrganisation,\n filterToAll\n} from '../../../../stores/examples/examples.actions'\nimport {\n getFetchExamplesRequest,\n getExamples,\n getSchoolOrganisationFilter\n} from '../../../../stores/examples/examples.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const fetchExamplesRequest = getFetchExamplesRequest(state)\n const examples = getExamples(state)\n const schoolOrganisationFilter = getSchoolOrganisationFilter(state)\n const user = me.account\n return {\n noExamples: examples && !examples.result.length,\n pending: !examples || fetchExamplesRequest.pending,\n schoolOrganisationFilter,\n schoolIsPartOfOrganisation:\n user.teacher_type &&\n user.teacher_type.school &&\n user.teacher_type.school.school_organisations &&\n user.teacher_type.school.school_organisations.filter(\n org => org.local_authority\n ).length > 0\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchExamples())\n },\n onSelect: (e, schoolOrganisationFilter) => {\n e === 'schoolOrganisation' && dispatch(filterToSchoolOrganisation())\n e === 'all' && dispatch(filterToAll())\n return dispatch(fetchExamples(e === 'schoolOrganisation'))\n }\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(Examples)\n)\n","const styles = ({ COLORS }) => ({\n container: {\n maxWidth: '50%',\n textAlign: 'center',\n fontSize: '16px',\n margin: '20px auto 40px',\n lineHeight: '24px'\n },\n link: {\n fontWeight: 'bold',\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none'\n },\n illustration: {\n margin: '20px auto',\n display: 'block',\n maxWidth: '200px'\n },\n filter: {\n maxWidth: '300px',\n display: 'flex',\n alignItems: 'center',\n marginTop: '30px'\n },\n label: {\n margin: '0 10px 0 0'\n },\n intro: {\n border: '1px solid #e5e5e5',\n borderRadius: '4px',\n padding: '10px 20px',\n color: '#777',\n '& h5': {\n margin: '12px 0'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport styles from './context-menu.styles'\nimport injectSheet from 'react-jss'\nimport MoreButton from 'pobble-components/dist/more-button'\nimport DropMenu from 'pobble-components/dist/drop-menu'\nimport CopyIcon from 'react-icons/lib/fa/copy'\n\nconst ContextMenu = ({ classes, onCopy }) => (\n (\n \n )}>\n {({ Menu, MenuItem, IconHolder, Separator, closePopover }) => (\n \n {\n closePopover()\n onCopy()\n }}>\n \n \n \n Copy moderation file\n \n \n )}\n \n)\n\nexport default injectSheet(styles)(ContextMenu)\n","export default ({ COLORS }) => ({\n remove: {\n color: COLORS.RED.NORMAL\n }\n})\n","import {\n apiGetTrainings,\n apiCopyAssessmentFile\n} from '../../common/api/assessment'\n\nconst fetchTrainings = (schoolOrganisationFilter = false) => ({\n requestPrefix: 'TRAININGS:FETCH',\n request: () =>\n apiGetTrainings(schoolOrganisationFilter, {\n include:\n 'assessment_file.details,assessment_file.timestamps,assessment_file.student_type.account,assessment_file.student_type.account.names,assessment_file.contributions,assessment_file.contributors,assessment_file.contributor,assessment_file.account.names,assessment_file.account.avatar,assessment_file.works,assessment_file.work.medium.thumb'\n })\n})\n\nconst filterToSchoolOrganisation = () => ({\n type: 'TRAININGS:FILTER_SCHOOL_ORGANISATION'\n})\n\nconst filterToAll = () => ({\n type: 'TRAININGS:FILTER_ALL'\n})\n\nconst copyTraining = id => ({\n requestPrefix: 'TRAININGS:COPY',\n request: () => apiCopyAssessmentFile(id)\n})\n\nexport { fetchTrainings, copyTraining, filterToSchoolOrganisation, filterToAll }\n","import { createSelector } from 'reselect'\n\nconst getState = state => state.Trainings\n\nconst getFetchTrainingsRequest = state => getState(state).fetchTrainingsRequest\n\nconst getTrainings = state => getState(state).trainings\n\nconst getTrainingsResult = createSelector(\n [getTrainings],\n trainings => (!trainings ? [] : trainings.result)\n)\n\nconst getTrainingsMap = createSelector(\n [getTrainings],\n trainings => (!trainings ? {} : trainings.entities.trainings)\n)\n\nconst getTrainingsList = createSelector(\n [getTrainingsResult, getTrainingsMap],\n (result, trainingsMap) => result.map(id => trainingsMap[id])\n)\n\nconst getTraining = (state, id) => getTrainingsMap(state)[id]\n\nconst getSchoolOrganisationFilter = state =>\n getState(state).filters.schoolOrganisation\n\nexport {\n getTrainings,\n getTrainingsList,\n getFetchTrainingsRequest,\n getTraining,\n getSchoolOrganisationFilter\n}\n","import { connect } from 'react-redux'\nimport ContextMenu from './context-menu'\nimport { copyTraining } from '../../../../../../../stores/trainings/trainings.actions'\nimport { getTraining } from '../../../../../../../stores/trainings/trainings.selectors'\nimport { withRouter } from 'react-router-dom'\n\nconst mapStateToProps = (state, { id, history }) => {\n const file = getTraining(state, id)\n return {\n id: file.id\n }\n}\n\nconst mapDispatchToProps = dispatch => ({ dispatch })\n\nconst mergeProps = (stateProps, { dispatch }, ownProps) => ({\n ...stateProps,\n ...ownProps,\n onCopy: () => {\n return dispatch(copyTraining(ownProps.id)).then(() =>\n ownProps.history.push('/my-files')\n )\n }\n})\n\nexport default withRouter(\n connect(\n mapStateToProps,\n mapDispatchToProps,\n mergeProps\n )(ContextMenu)\n)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './trainings-entry.styles'\nimport { Cell, TableRow } from 'pobble-components/dist/table'\n// import CircleStatus from 'pobble-components/dist/circle-status'\nimport { Link } from 'react-router-dom'\nimport ContextMenu from './context-menu/context-menu.container'\nimport AgeGroup from 'pobble-components/dist/age-group'\n\nconst TrainingsEntry = ({\n classes,\n id,\n title,\n conclusion,\n createdAt,\n pending,\n link,\n student,\n thumb,\n author,\n ageGroupOrder,\n ageGroupTitle\n}) => (\n \n \n \n \n \n \n {createdAt}\n {author}\n \n \n {title}\n \n \n \n {ageGroupTitle}\n \n \n \n \n {/*{student}/*}\n {/*\n \n */}\n \n)\n\nexport default injectSheet(styles)(TrainingsEntry)\n","export default ({ COLORS }) => ({\n link: {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n date: {\n whiteSpace: 'nowrap'\n },\n checkboxChell: {\n borderLeft: `5px solid transparent`\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n },\n thumbnail: {\n padding: '10px',\n '& > a': {\n display: 'block',\n position: 'relative',\n background: '#ececec',\n border: '1px solid #ececec',\n width: '100%',\n paddingBottom: '133%',\n borderRadius: '8px',\n overflow: 'hidden',\n '& > span': {\n position: 'absolute',\n left: '0',\n top: '0',\n backgroundSize: 'cover',\n width: '100%',\n height: '100%'\n }\n }\n }\n})\n","import { connect } from 'react-redux'\nimport TrainingsEntry from './trainings-entry'\nimport { getTraining } from '../../../../../../stores/trainings/trainings.selectors'\nimport { format } from 'date-fns'\n\nconst mapStateToProps = (state, { id }) => {\n const training = getTraining(state, id)\n return {\n id: training.id,\n title: training.title,\n createdAt: format(training.created_at, 'DD.MM.YYYY'),\n link: `/assessment-files/${training.id}`,\n //conclusion: training.concluded,\n //student: training.student_type && training.student_type.account.full_name,\n thumb:\n training.works &&\n training.works[0] &&\n training.works[0].media &&\n training.works[0].media[0] &&\n training.works[0].media[0].thumb_url,\n author: training.teacher_type && training.teacher_type.full_name,\n ageGroupTitle:\n training.student_types &&\n training.student_types[0] &&\n training.student_types[0].year_group &&\n training.student_types[0].year_group.title,\n ageGroupOrder:\n training.student_types &&\n training.student_types[0] &&\n training.student_types[0].year_group &&\n training.student_types[0].year_group.order\n }\n}\n\nexport default connect(\n mapStateToProps,\n null\n)(TrainingsEntry)\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './trainings-table.styles'\nimport { Table, HeadCell } from 'pobble-components/dist/table'\nimport TrainingsEntry from './trainings-entry/trainings-entry.container'\n\nconst TrainingsTable = ({ classes, trainings }) => (\n \n \n \n Thumb\n Date\n Owner\n Title\n Age Group\n {/*Student*/}\n {/*Conclusion*/}\n \n \n \n {trainings.map(training => (\n \n ))}\n \n
    \n)\n\nexport default injectSheet(styles)(TrainingsTable)\n","export default {\n allCell: {\n width: '60px'\n },\n invitedCell: {\n textAlign: 'left',\n width: '115px'\n },\n titleCell: {\n textAlign: 'left',\n width: '20%'\n },\n left: {\n textAlign: 'left'\n },\n fromCell: {\n textAlign: 'left',\n width: '20%'\n },\n center: {\n textAlign: 'center'\n },\n right: {\n textAlign: 'right'\n }\n}\n","import { connect } from 'react-redux'\nimport TrainingsTable from './trainings-table'\nimport { getTrainingsList } from '../../../../../stores/trainings/trainings.selectors'\n\nconst mapStateToProps = state => ({\n trainings: getTrainingsList(state)\n})\n\nexport default connect(\n mapStateToProps,\n null\n)(TrainingsTable)\n","import React from 'react'\nimport styles from './current-skeleton-entry.styles'\nimport injectSheet from 'react-jss'\nimport { TableRow, Cell } from 'pobble-components/dist/table'\nimport Bone from 'pobble-components/dist/bone'\n\nconst CurrentSkeletonEntry = ({ classes, titleWidth }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n)\n\nexport default injectSheet(styles)(CurrentSkeletonEntry)\n","export default {\n checkbox: {\n width: '25px'\n },\n conclusionCell: {\n textAlign: 'center'\n },\n conclusion: {\n width: '20px'\n },\n received: {\n width: '80px'\n },\n context: {\n width: '40px',\n height: '40px !important',\n borderRadius: '5px',\n display: 'inline-block'\n }\n}\n","import React from 'react'\nimport styles from './current-skeleton.styles'\nimport injectSheet from 'react-jss'\nimport Bone from 'pobble-components/dist/bone'\nimport { Table, TableRow, HeadCell } from 'pobble-components/dist/table'\nimport CurrentSkeletonEntry from './current-skeleton-entry/current-skeleton-entry'\n\nconst CurrentSkeleton = ({ classes }) => (\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 injectSheet(styles)(CurrentSkeleton)\n","export default {\n container: {\n opacity: '0',\n animation: '0.6s fadeIn ease-in forwards'\n },\n table: {\n '& th': {\n textAlign: 'left',\n '& span': {\n height: '16px'\n }\n },\n '& td span': {\n height: '16px'\n },\n '& tr:hover td': {\n backgroundColor: 'transparent'\n }\n },\n all: {\n width: '25px'\n },\n allCell: {\n width: '25px'\n },\n receivedCell: {\n width: '115px'\n },\n received: {\n width: '66px'\n },\n conclusionCell: {\n width: '20%',\n textAlign: 'center !important'\n },\n conclusion: {\n width: '42px',\n textAlign: 'center'\n },\n titleCell: {\n width: '20%'\n },\n title: {\n width: '38px'\n },\n lo: {\n width: '135px'\n },\n contextCell: {\n width: '60px'\n },\n center: {\n textAlign: 'center !important'\n },\n bulkAction: {\n display: 'block',\n height: '40px !important',\n width: '93px',\n borderRadius: '4px',\n float: 'right'\n },\n '@keyframes fadeIn': {\n from: { opacity: '0' },\n to: { opacity: '1' }\n }\n}\n","import React, { Component } from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './trainings.styles'\nimport TrainingsTable from './trainings-table/trainings-table.container'\nimport CurrentSkeleton from './trainings-skeleton/current-skeleton'\nimport octopus from './octopus.png'\n\nclass Trainings extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const { classes, pending, noTrainings } = this.props\n return noTrainings ? (\n
    \n \"Not\n

    \n There are no training materials yet.\n

    \n
    \n ) : pending ? (\n \n ) : (\n <>\n \n \n )\n }\n}\n\nexport default injectSheet(styles)(Trainings)\n","import { connect } from 'react-redux'\nimport Trainings from './trainings'\nimport {\n fetchTrainings,\n filterToSchoolOrganisation,\n filterToAll\n} from '../../../../stores/trainings/trainings.actions'\nimport {\n getFetchTrainingsRequest,\n getTrainings,\n getSchoolOrganisationFilter\n} from '../../../../stores/trainings/trainings.selectors'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const fetchTrainingsRequest = getFetchTrainingsRequest(state)\n const trainings = getTrainings(state)\n const schoolOrganisationFilter = getSchoolOrganisationFilter(state)\n const user = me.account\n return {\n noTrainings: trainings && !trainings.result.length,\n pending: !trainings || fetchTrainingsRequest.pending,\n schoolOrganisationFilter,\n schoolIsPartOfOrganisation:\n user.teacher_type &&\n user.teacher_type.school &&\n user.teacher_type.school.school_organisations &&\n user.teacher_type.school.school_organisations.filter(\n org => org.local_authority\n ).length > 0\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => {\n return dispatch(fetchTrainings())\n },\n onSelect: (e, schoolOrganisationFilter) => {\n e === 'schoolOrganisation' && dispatch(filterToSchoolOrganisation())\n e === 'all' && dispatch(filterToAll())\n return dispatch(fetchTrainings(e === 'schoolOrganisation'))\n }\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(Trainings)\n)\n","const styles = ({ COLORS, BREAKPOINTS }) => ({\n content: {\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '40%'\n }\n },\n video: {\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '50%'\n },\n '& img': {\n maxWidth: '100%'\n },\n '& a': {\n display: 'block',\n transition: '300ms ease-in-out'\n },\n '& a:hover': {\n opacity: 0.7\n }\n },\n intro: {\n '& h2': {\n fontSize: '32px'\n },\n fontSize: '20px',\n lineHeight: '25px',\n maxWidth: '60%',\n textAlign: 'center',\n margin: '0 auto 30px'\n },\n wrapper: {\n display: 'flex',\n justifyContent: 'space-between',\n maxWidth: '100%'\n },\n title: {\n fontSize: '32px'\n },\n listTitle: {\n fontSize: '24px',\n marginBottom: '10px'\n },\n lists: {\n marginTop: '30px',\n '& a': {\n color: COLORS.BLUE.NORMAL,\n textDecoration: 'none',\n fontWeight: 'bold'\n },\n '& li': {\n marginTop: '10px'\n }\n },\n boxes: {\n display: 'flex',\n width: '80%',\n margin: '0 auto',\n flexWrap: 'wrap',\n justifyContent: 'space-around'\n },\n box: {\n maxWidth: '44%',\n background: '#f8f8f8',\n padding: '20px',\n borderRadius: '8px',\n margin: '1% 1% 4% 1%',\n '& img': {\n maxWidth: '100%',\n background: '#fff',\n borderRadius: '8px',\n padding: '10px'\n },\n '& p': {\n fontSize: '18px',\n lineHeight: '23px',\n marginBottom: '24px',\n marginTop: '10px'\n },\n '& h3': {\n marginBottom: '0px'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './support.styles'\nimport Button from 'pobble-components/dist/button'\nimport cover from './training-cover-video.jpg'\nimport meeting from './moderation-meeting.png'\nimport usingmoderation from './hero-image-2.png'\nimport beyond from './beyond-gut-feeling-sml.png'\nimport laptop from './mod-lp.png'\nimport floatingteacher from './floating_teacher.png'\nimport { useMe } from 'pobble-components/dist/pobble-user'\nimport { useSubscriptionPolicy } from 'pobble-components/dist/subscriptions'\n\nconst Support = ({ classes }) => {\n const examplificationSp = useSubscriptionPolicy(\n sp => sp.moderation.examplification_material\n )\n\n return (\n
    \n
    \n

    Be confident in your writing judgments

    \n

    \n Improve the accuracy of your writing assessments with quality training\n and access to our online moderation tool\n

    \n
    \n\n {examplificationSp.restricted && (\n
    \n
    \n \n \"Moderation\n \n

    Join a webinar

    \n

    \n Join our popular free ‘Introduction to Pobble Online Moderation’\n sessions and you’ll learn how Pobble's innovative online writing\n tools will simplify your moderation process. Can’t make a live\n session? You can watch on demand!\n

    \n \n Sign up\n \n
    \n\n
    \n \n \"Using\n \n

    Refer your school leader

    \n

    \n If Pobble Moderation sounds like something you’d love to support\n you and your team, you can easily refer your school leader. Simply\n fill out a short form and invite them to explore for your school\n /school group.\n

    \n \n Refer now\n \n
    \n\n
    \n \n \"Using\n \n

    Purchase a subscription

    \n

    \n Love what you see and ready to roll out Pobble Moderation in your\n school/school group? Head over to your membership page where you\n can purchase straight away.\n

    \n \n I'm ready\n \n
    \n\n
    \n \n \"Beyond\n \n

    Read our FAQs

    \n

    \n Have a question about Pobble online moderation? Visit our helpdesk\n to find a selection of support videos and all the answers to\n commonly asked questions about our tools and training.\n

    \n \n Read the FAQs\n \n
    \n
    \n )}\n\n {!examplificationSp.restricted && (\n
    \n
    \n \n \"Moderation\n \n

    Free training

    \n

    \n English and Assessment Leads, book your free place on our\n Developing Effective Moderation Practices training. These\n interactive, small group sessions allow you to try out the tool,\n help you review your current moderation processes, and support you\n in planning your next sessions.\n

    \n \n Sign up\n \n
    \n\n
    \n \n \"Moderation\n \n

    Assessment courses

    \n

    \n Explore our range of online training sessions for Year 6 teachers\n and assessment leads to enhance your skills and provide invaluable\n opportunities to collaborate with fellow teachers and leaders.\n

    \n \n Find out more\n \n
    \n\n
    \n \n \"Using\n \n

    Bespoke support

    \n

    \n Looking for a bespoke package of training and support to\n positively impact pupil outcomes? We offer bespoke consultancy,\n training and moderation sessions.\n

    \n \n Get in touch\n \n
    \n\n
    \n \n \"Beyond\n \n

    Read our FAQs

    \n

    \n Have a question about Pobble online moderation? Visit our helpdesk\n to find a selection of support videos and all the answers to\n commonly asked questions about our tools and training.\n

    \n \n Read the FAQs\n \n
    \n
    \n )}\n
    \n )\n}\n\nexport default injectSheet(styles)(Support)\n","const styles = ({ COLORS, BREAKPOINTS }) => ({\n container: {\n paddingTop: '10px',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n display: 'flex',\n justifyContent: 'space-between'\n }\n },\n content: {\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '48%'\n }\n },\n intro: {\n fontSize: '16px',\n lineHeight: '20px'\n },\n wrapper: {\n display: 'flex',\n justifyContent: 'space-between',\n maxWidth: '100%'\n },\n title: {\n fontSize: '22px',\n lineHeight: '24px',\n margin: '18px 0 0'\n },\n label: {\n color: '#666',\n '& svg': {\n marginTop: '-3px'\n }\n },\n event: {\n marginBottom: '50px'\n },\n eventButton: {\n marginTop: '15px'\n },\n line: {\n border: 'none',\n height: '1px',\n background: '#ddd',\n marginBottom: '40px'\n },\n moderator: {\n textAlign: 'center',\n [`@media (min-width: ${BREAKPOINTS.SM})`]: {\n width: '50%',\n display: 'flex',\n alignItems: 'center'\n },\n '& img': {\n maxWidth: '240px',\n borderRadius: '100%'\n },\n '& a': {\n display: 'block',\n transition: '300ms ease-in-out'\n },\n '& a:hover': {\n opacity: 0.7\n },\n '& p': {\n maxWidth: '60%',\n margin: '20px auto'\n }\n }\n})\n\nexport default styles\n","import React from 'react'\nimport injectSheet from 'react-jss'\nimport styles from './work-with-moderator.styles'\nimport Button from 'pobble-components/dist/button'\nimport simon from './simon.jpg'\n\nconst WorkWithModerator = ({ classes }) => (\n
    \n
    \n
    \n

    \n Making the most of your moderation subscription\n

    \n

    \n Master the Pobble online moderation tool.\n

    \n

    \n During the session you'll learn how to use our tools to:\n

      \n
    • Build your own moderation files
    • \n
    • Run effective moderation sessions
    • \n
    • Develop cross-school moderation opportunities
    • \n
    • Build your own school exemplification materials
    • \n
    \n Plus! You'll have a chance to try the moderation tools for yourself!\n

    \n\n \n Book a free place\n \n
    \n
    \n\n
    \n
    \n \"Simon\"\n

    Meet your webinar host

    \n

    \n Simon is a former Primary School leader and one of the Pobble\n co-founders. He has delivered Pobble training in schools across the\n world and seen first-hand the impact Pobble can have on pupils\n writing.\n

    \n
    \n
    \n
    \n)\n\nexport default injectSheet(styles)(WorkWithModerator)\n","import React, { Component } from 'react'\nimport { Route } from 'react-router-dom'\nimport injectSheet from 'react-jss'\nimport styles from './moderation.styles'\nimport TabNav from './tab-nav/tab-nav.container'\nimport Paper from 'pobble-components/dist/paper'\nimport CurrentInvitations from './current-invitations/current-invitations.container'\nimport ArchivedInvitations from './archived-invitations/archived-invitations.container'\nimport MyFiles from './my-files/my-files.container'\nimport ArchivedFiles from './archived-files/archived-files.container'\nimport SchoolFiles from './school-files/school-files.container'\nimport OrganisationFiles from './organisation-files/organisation-files.container'\nimport Examples from './examples/examples.container'\nimport Trainings from './trainings/trainings.container'\nimport Support from './support/support'\nimport WorkWithModerator from './work-with-moderator/work-with-moderator'\nimport Button from 'pobble-components/dist/button'\nimport PlusIcon from 'react-icons/lib/fa/plus-circle'\n\nclass Moderation extends Component {\n componentDidMount() {\n this.props.onMount()\n }\n render() {\n const { classes, canManageAFs } = this.props\n return (\n
    \n
    \n

    Moderation

    \n {canManageAFs && (\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 injectSheet(styles)(Moderation)\n","import { connect } from 'react-redux'\nimport Moderation from './moderation'\nimport { fetchInvitationCounter } from '../../../stores/current-invitations/current-invitations.actions'\nimport { withMe } from 'pobble-components/dist/pobble-user'\n\nconst mapStateToProps = (state, { me }) => {\n const canManageAFs =\n me &&\n me.account &&\n me.account.policy &&\n me.account.policy.can_manage_assessment_files\n return {\n canManageAFs\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n onMount: () => dispatch(fetchInvitationCounter())\n})\n\nexport default withMe(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(Moderation)\n)\n","import React, { useEffect } from 'react'\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom'\nimport styles from './app.styles'\nimport injectSheet from 'react-jss'\nimport {\n UserProvider,\n UserInspector,\n useMe\n} from 'pobble-components/dist/pobble-user'\nimport AssessementFile from '../pages/assessment-file/assessment-file'\nimport Moderation from '../pages/moderation/moderation.container'\nimport EnvironmentLine from 'pobble-components/dist/environment-line'\nimport Header from 'pobble-components/dist/pobble-header'\nimport PageNotFound from 'pobble-components/dist/page-not-found'\nimport { SubscriptionProvider } from 'pobble-components/dist/subscriptions'\nimport { ToastContainer } from 'pobble-components/dist/toast'\nimport posthog from 'posthog-js'\n\nconst APP_ROOT = process.env.REACT_APP_APP_ROOT || ''\nconst APP_PATH = process.env.REACT_APP_PATH || '/'\n\nfunction PostHogIdentity() {\n const { me } = useMe()\n\n useEffect(() => {\n if (me) {\n const account = me.account\n posthog.identify(account.id)\n posthog.capture('landed on moderation spa', {\n url: window.location.href\n })\n }\n }, [me])\n\n return null\n}\n\nconst App = ({ me, meError }) => {\n return (\n (me ? Promise.resolve(me) : Promise.reject(meError))}>\n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default injectSheet(styles)(App)\n","import { combineReducers } from 'redux'\nimport {\n createRequestReducer,\n createReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { normalize, schema } from 'normalizr'\n\nconst normalizeContributors = data => {\n const contributor = new schema.Entity('contributors')\n return normalize(data, [contributor])\n}\n\nconst normalizeInvitees = data => {\n const invitee = new schema.Entity('invitees')\n return normalize(data, [invitee])\n}\n\nconst AssessmentFileReducer = combineReducers({\n fetchAssessmentFileRequest: createRequestReducer(\n 'ASSESSMENT_FILE_STORE:FETCH',\n { pending: true }\n ),\n assessmentFile: createReducer(null, {\n 'ASSESSMENT_FILE_STORE:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n response.data.assessment_file,\n 'ASSESSMENT_FILE_STORE:EDIT_REQUEST_SUCCESS': (\n state,\n { response, params }\n ) => {\n return {\n ...state,\n title: params.title.title,\n context: params.title.context,\n moderation_type: params.title.moderation_type,\n judgement: params.title.judgement\n }\n },\n 'DISCUSSION:MARK_AS_CONCLUSION_REQUEST_SUCCESS': state => {\n return {\n ...state,\n concluded: true\n }\n },\n 'ASSESSMENT_FILE_STORE:FETCH_INVITEES_COUNTER_REQUEST_SUCCESS': (\n state,\n { response }\n ) => {\n return {\n ...state,\n guest_moderator_count:\n response.data.assessment_file.guest_moderator_count\n }\n },\n 'DISCUSSION:SUBMIT_REQUEST_SUCCESS': state => {\n return {\n ...state,\n concluded: false\n }\n },\n 'DISCUSSION:UNMARK_AS_CONCLUSION_REQUEST_SUCCESS': state => {\n return {\n ...state,\n concluded: false\n }\n },\n 'ASSESSMENT_FILE_STORE:MARK_AS_EXAMPLE_REQUEST_SUCCESS': state => {\n return {\n ...state,\n example: true\n }\n },\n 'ASSESSMENT_FILE_STORE:UNMARK_AS_EXAMPLE_REQUEST_SUCCESS': state => {\n return {\n ...state,\n example: false\n }\n },\n 'ASSESSMENT_FILE_STORE:MARK_AS_TRAINING_MATERIAL_REQUEST_SUCCESS': state => {\n return {\n ...state,\n training_material: true\n }\n },\n 'ASSESSMENT_FILE_STORE:UNMARK_AS_TRAINING_MATERIAL_REQUEST_SUCCESS': state => {\n return {\n ...state,\n training_material: false\n }\n },\n 'ASSESSMENT_FILE_STORE:MARK_AS_BENCHMARK_REQUEST_SUCCESS': state => {\n return {\n ...state,\n benchmarked: true\n }\n },\n 'ASSESSMENT_FILE_STORE:UNMARK_AS_BENCHMARK_REQUEST_SUCCESS': state => {\n return {\n ...state,\n benchmarked: false\n }\n },\n 'ASSESSMENT_FILE_STORE:CLOSE_REQUEST_SUCCESS': state => {\n return {\n ...state,\n closed: true\n }\n },\n 'ASSESSMENT_FILE_STORE:REOPEN_REQUEST_SUCCESS': state => {\n return {\n ...state,\n closed: false\n }\n },\n 'ASSESSMENT_FILE_STORE:MARK_AS_PREMIUM_REQUEST_SUCCESS': state => {\n return {\n ...state,\n premium: true\n }\n },\n 'ASSESSMENT_FILE_STORE:UNMARK_AS_PREMIUM_REQUEST_SUCCESS': state => {\n return {\n ...state,\n premium: false\n }\n }\n }),\n contributors: createReducer(null, {\n 'ASSESSMENT_FILE_STORE:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeContributors(response.data.assessment_file.contributors),\n 'DISCUSSION:SUBMIT_REQUEST_SUCCESS': (state, { response }) => {\n if (state) {\n if (\n state.entities.contributors &&\n state.entities.contributors[response.data.actions[0].originator.id]\n ) {\n return state\n } else {\n return {\n ...state,\n result: [...state.result, response.data.actions[0].originator.id],\n entities: {\n contributors: {\n ...state.entities.contributors,\n [response.data.actions[0].originator.id]:\n response.data.actions[0].originator\n }\n }\n }\n }\n } else {\n return normalizeContributors([])\n }\n }\n }),\n fetchInviteesRequest: createRequestReducer(\n 'ASSESSMENT_FILE_STORE:FETCH_INVITEES',\n { pending: true }\n ),\n invitees: createReducer(null, {\n 'ASSESSMENT_FILE_STORE:FETCH_INVITEES_REQUEST_SUCCESS': (\n state,\n { response }\n ) => {\n return normalizeInvitees(\n response.data.assessment_file.assessment_file_invitations\n )\n }\n }),\n invitationAssessmentDialog: createReducer(\n { opened: false },\n {\n 'ASSESSMENT_FILE_STORE:INVITATION_ASSESSMENT_DIALOG:OPEN': (\n state,\n { params }\n ) => ({\n ...state,\n opened: true,\n id: params.id\n }),\n 'ASSESSMENT_FILE_STORE:INVITATION_ASSESSMENT_DIALOG:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n ),\n editTitleDialog: createReducer(\n { opened: false },\n {\n 'ASSESSMENT_FILE_STORE:EDIT_TITLE_DIALOG:OPEN': (state, { params }) => {\n return {\n ...state,\n opened: true,\n id: params.id,\n title: params.title,\n description: params.description,\n moderation_type: params.moderation_type,\n judgement: params.judgement\n }\n },\n 'ASSESSMENT_FILE_STORE:EDIT_TITLE_DIALOG:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n ),\n inviteesDialog: createReducer(\n { opened: false },\n {\n 'ASSESSMENT_FILE_STORE:INVITEES_DIALOG:OPEN': (state, { params }) => {\n return {\n ...state,\n opened: true,\n id: params.id\n }\n },\n 'ASSESSMENT_FILE_STORE:INVITEES_DIALOG:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n )\n})\n\nexport default AssessmentFileReducer\n","import { combineReducers } from 'redux'\nimport {\n createRequestReducer,\n createReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeWorks = data => {\n const work = new schema.Entity('works')\n return normalize(data, [work])\n}\n\nconst WorksReducer = combineReducers({\n fetchWorksRequest: createRequestReducer('WORKS_STORE:FETCH', {\n pending: true\n }),\n assessmentFile: createReducer(null, {\n 'WORKS_STORE:FETCH_REQUEST_SUCCESS': (state, { response }) => ({\n id: response.data.assessment_file.id,\n title: response.data.assessment_file.title,\n student_types: response.data.assessment_file.student_types,\n policy: response.data.assessment_file.policy\n })\n }),\n works: createReducer(null, {\n 'WORKS_STORE:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeWorks(response.data.assessment_file.works),\n 'WORKS_STORE:ADD_WORKS_REQUEST_SUCCESS': (state, { response }) =>\n normalizeWorks(response.data.assessment_file.works),\n 'WORKS_STORE:REMOVE_WORK_REQUEST_SUCCESS': (state, { params }) => {\n const works = { ...state.entities.works }\n delete works[params.workId]\n return {\n entities: { works },\n result: state.result.filter(id => id !== params.workId)\n }\n }\n }),\n selectedWorkId: createReducer(null, {\n 'WORKS_STORE:SELECT_WORK_SUCCESS': (state, { workId }) => workId\n }),\n mediaKey: createReducer(0, {\n 'WORKS_STORE:SET_MEDIA_SUCCESS': (state, { page }) => page\n }),\n addWorksDialog: createReducer(\n { opened: false },\n {\n 'WORKS_STORE:ADD_WORKS_DIALOG:OPEN': (state, { params }) => ({\n ...state,\n opened: true,\n assessmentFileId: params.assessmentFileId,\n workIds: params.workIds,\n studentId: params.studentId\n }),\n 'WORKS_STORE:ADD_WORKS_DIALOG:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n )\n})\n\nexport default WorksReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { normalize, schema } from 'normalizr'\n\nconst normalizeContributions = data => {\n const contribution = new schema.Entity('contributions')\n return normalize(data, [contribution])\n}\n\nconst DiscussionReducer = combineReducers({\n fetchDiscussionRequest: createRequestReducer('DISCUSSION:FETCH'),\n submitContributionRequest: createRequestReducer('DISCUSSION:SUBMIT'),\n inviteContributorRequest: createRequestReducer(\n 'ASSESSMENT_FILE_STORE:INVITE'\n ),\n contributions: createReducer(null, {\n 'DISCUSSION:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeContributions(response.data.assessment_file.actions),\n 'DISCUSSION:SUBMIT_REQUEST_SUCCESS': (state, { response, params }) => {\n const actions = normalizeContributions(response.data.actions)\n const stateWithAddedContributions = {\n ...state,\n result: [...actions.result, ...state.result],\n entities: {\n contributions: {\n ...actions.entities.contributions,\n ...state.entities.contributions\n }\n }\n }\n if (params.currentConclusion) {\n return {\n ...stateWithAddedContributions,\n entities: {\n contributions: {\n ...stateWithAddedContributions.entities.contributions,\n [params.currentConclusion]: {\n ...stateWithAddedContributions.entities.contributions[\n params.currentConclusion\n ],\n action_object: {\n ...stateWithAddedContributions.entities.contributions[\n params.currentConclusion\n ].action_object,\n conclusion: false\n }\n }\n }\n }\n }\n } else {\n return stateWithAddedContributions\n }\n },\n 'DISCUSSION:SUBMIT_REPLY_REQUEST_SUCCESS': (\n state,\n { response, params }\n ) => {\n const addedAction = {\n actions: response.data.actions,\n id: response.data.actions[0].action_object.id\n }\n let replies =\n state.entities.contributions[params.id].action_object.replies\n replies.push(addedAction)\n return {\n ...state,\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.id]: {\n ...state.entities.contributions[params.id],\n action_object: {\n ...state.entities.contributions[params.id].action_object,\n replies: replies\n }\n }\n }\n }\n }\n },\n 'DISCUSSION:DELETE_REQUEST_SUCCESS': (state, { params }) => {\n const contributions = { ...state.entities.contributions }\n delete contributions[params.actionId]\n return {\n entities: { contributions },\n result: state.result.filter(id => id !== params.actionId)\n }\n },\n 'DISCUSSION:EDIT_REQUEST_SUCCESS': (state, { response, params }) => {\n return {\n ...state,\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.actionId]: {\n ...state.entities.contributions[params.actionId],\n action_object: {\n ...state.entities.contributions[params.actionId].action_object,\n content: params.body.content,\n edited_at: true\n }\n }\n }\n }\n }\n },\n 'DISCUSSION:DELETE_REPLY_REQUEST_SUCCESS': (\n state,\n { response, params }\n ) => {\n const replies =\n state.entities.contributions[params.parentId].action_object.replies\n replies.forEach((reply, index) => {\n if (reply.id === params.contributionId) {\n replies.splice(index, 1)\n }\n })\n return {\n ...state,\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.parentId]: {\n ...state.entities.contributions[params.parentId],\n action_object: {\n ...state.entities.contributions[params.parentId].action_object,\n replies: replies\n }\n }\n }\n }\n }\n },\n 'DISCUSSION:EDIT_REPLY_REQUEST_SUCCESS': (state, { response, params }) => {\n const replies =\n state.entities.contributions[params.parentId].action_object.replies\n replies.forEach((reply, index) => {\n if (reply.id === params.contributionId) {\n replies[index] = {\n ...state.entities.contributions[params.parentId].action_object\n .replies[index],\n actions: [\n {\n action_object: {\n ...state.entities.contributions[params.parentId].action_object\n .replies[index].actions[0].action_object,\n content: params.body.content,\n edited_at: true\n }\n }\n ]\n }\n }\n })\n return {\n ...state,\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.parentId]: {\n ...state.entities.contributions[params.parentId],\n action_object: {\n ...state.entities.contributions[params.parentId].action_object,\n replies: replies\n }\n }\n }\n }\n }\n },\n 'ASSESSMENT_FILE_STORE:INVITE_REQUEST_SUCCESS': (state, { response }) => {\n const actions = normalizeContributions(response.data.actions)\n return {\n ...state,\n result: [...state.result, ...actions.result],\n entities: {\n contributions: {\n ...state.entities.contributions,\n ...actions.entities.contributions\n }\n }\n }\n },\n 'DISCUSSION:MARK_AS_CONCLUSION_REQUEST_SUCCESS': (\n state,\n { params, response }\n ) => {\n const last = response.data.actions.length - 1\n return {\n ...state,\n result: [...state.result, response.data.actions[last].id],\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.actionId]: {\n ...state.entities.contributions[params.actionId],\n action_object: {\n ...state.entities.contributions[params.actionId].action_object,\n conclusion: true,\n marked_as_conclusion_by:\n response.data.actions[last].action_object\n .marked_as_conclusion_by\n }\n },\n [response.data.actions[last].id]: response.data.actions[last]\n }\n }\n }\n },\n 'DISCUSSION:UNMARK_AS_CONCLUSION_REQUEST_SUCCESS': (\n state,\n { params, response }\n ) => {\n const last = response.data.actions.length - 1\n return {\n ...state,\n result: [...state.result, response.data.actions[last].id],\n entities: {\n contributions: {\n ...state.entities.contributions,\n [params.actionId]: {\n ...state.entities.contributions[params.actionId],\n action_object: {\n ...state.entities.contributions[params.actionId].action_object,\n conclusion: false\n }\n },\n [response.data.actions[last].id]: response.data.actions[last]\n }\n }\n }\n }\n }),\n sidebar: createReducer(\n { opened: true },\n {\n 'DISCUSSION:SIDEBAR:OPEN': state => ({\n ...state,\n opened: true\n }),\n 'DISCUSSION:SIDEBAR:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n ),\n templates: createReducer(\n { visible: false },\n {\n 'DISCUSSION:TEMPLATES:SHOW': state => ({\n ...state,\n visible: true\n }),\n 'DISCUSSION:TEMPLATES:HIDE': state => ({\n ...state,\n visible: false\n })\n }\n ),\n works: createReducer(\n { visible: false },\n {\n 'DISCUSSION:WORKS:SHOW': state => ({\n ...state,\n visible: true\n }),\n 'DISCUSSION:WORKS:HIDE': state => ({\n ...state,\n visible: false\n })\n }\n ),\n editContributionDialog: createReducer(\n { opened: false },\n {\n 'DISCUSSION:EDIT_CONTRIBUTION_DIALOG:OPEN': (state, { params }) => ({\n ...state,\n opened: true,\n id: params.id,\n contributionId: params.contributionId,\n body: params.body,\n parentId: params.parentId\n }),\n 'DISCUSSION:EDIT_CONTRIBUTION_DIALOG:CLOSE': state => ({\n ...state,\n opened: false\n })\n }\n )\n})\n\nexport default DiscussionReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer,\n createMappedRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeInvitations = data => {\n const invitation = new schema.Entity('invitations')\n return normalize(data, [invitation])\n}\n\nconst CurrentInvitationsReducer = combineReducers({\n fetchInvitationsRequest: createRequestReducer('CURRENT_INVITATIONS:FETCH'),\n removeInvitationRequests: createMappedRequestReducer(\n 'CURRENT_INVITATIONS:REMOVE'\n ),\n counter: createReducer(null, {\n 'CURRENT_INVITATIONS:FETCH_COUNTER_REQUEST_SUCCESS': (\n state,\n { response }\n ) => response.data.account.assessment_file_invitations_counter,\n 'CURRENT_INVITATIONS:REMOVE_REQUEST_SUCCESS': (state, { params }) =>\n params.seen ? state : state - 1,\n 'CURRENT_INVITATIONS:MARK_AS_SEEN_REQUEST_SUCCESS': state => state - 1,\n 'CURRENT_INVITATIONS:MARK_AS_UNSEEN_REQUEST_SUCCESS': state => state + 1\n }),\n invitations: createReducer(null, {\n 'CURRENT_INVITATIONS:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeInvitations(response.data.assessment_file_invitations),\n 'CURRENT_INVITATIONS:REMOVE_REQUEST_SUCCESS': (state, { params }) => {\n const invitations = { ...state.entities.invitations }\n delete invitations[params.id]\n return {\n entities: { invitations },\n result: state.result.filter(id => id !== params.id)\n }\n },\n 'CURRENT_INVITATIONS:MARK_AS_SEEN_REQUEST_SUCCESS': (\n state,\n { params }\n ) => ({\n ...state,\n entities: {\n invitations: {\n ...state.entities.invitations,\n [params.id]: {\n ...state.entities.invitations[params.id],\n seen: true\n }\n }\n }\n }),\n 'CURRENT_INVITATIONS:MARK_AS_UNSEEN_REQUEST_SUCCESS': (\n state,\n { params }\n ) => ({\n ...state,\n entities: {\n invitations: {\n ...state.entities.invitations,\n [params.id]: {\n ...state.entities.invitations[params.id],\n seen: false\n }\n }\n }\n })\n })\n})\n\nexport default CurrentInvitationsReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer,\n createMappedRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeInvitations = data => {\n const invitation = new schema.Entity('invitations')\n return normalize(data, [invitation])\n}\n\nconst ArchivedInvitationsReducer = combineReducers({\n fetchInvitationsRequest: createRequestReducer('ARCHIVED_INVITATIONS:FETCH'),\n pagination: createReducer(null, {\n 'ARCHIVED_INVITATIONS:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n response.data && response.data.assessment_file_invitations_pagination\n }),\n removeInvitationRequests: createMappedRequestReducer(\n 'ARCHIVED_INVITATIONS:REMOVE'\n ),\n invitations: createReducer(null, {\n 'ARCHIVED_INVITATIONS:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeInvitations(response.data.assessment_file_invitations)\n })\n})\n\nexport default ArchivedInvitationsReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeMyFiles = data => {\n const file = new schema.Entity('files')\n return normalize(data, [file])\n}\n\nconst MyFilesReducer = combineReducers({\n fetchMyFilesRequest: createRequestReducer('MY_FILES:FETCH'),\n pagination: createReducer(null, {\n 'MY_FILES:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n response.data.account.teacher_type &&\n response.data.account.teacher_type.assessment_files_pagination\n }),\n files: createReducer(null, {\n 'MY_FILES:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n response.data.account.teacher_type &&\n normalizeMyFiles(response.data.account.teacher_type.assessment_files),\n 'MY_FILES:ARCHIVE_REQUEST_SUCCESS': (state, { response, params }) => {\n const files = { ...state.entities.files }\n delete files[params.id]\n return {\n entities: { files },\n result: state.result.filter(id => id !== params.id)\n }\n }\n })\n})\n\nexport default MyFilesReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeArchivedFiles = data => {\n const file = new schema.Entity('files')\n return normalize(data, [file])\n}\n\nconst ArchivedFilesReducer = combineReducers({\n fetchArchivedFilesRequest: createRequestReducer('ARCHIVED_FILES:FETCH'),\n files: createReducer(null, {\n 'ARCHIVED_FILES:FETCH_REQUEST_SUCCESS': (state, { response }) =>\n normalizeArchivedFiles(\n response.data.account.teacher_type.archived_assessment_files\n ),\n 'ARCHIVED_FILES:UNARCHIVE_REQUEST_SUCCESS': (state, { params }) => {\n const files = { ...state.entities.files }\n delete files[params.id]\n return {\n entities: { files },\n result: state.result.filter(id => id !== params.id)\n }\n }\n })\n})\n\nexport default ArchivedFilesReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeExamples = data => {\n const example = new schema.Entity('examples')\n return normalize(data, [example])\n}\n\nconst ExamplesReducer = combineReducers({\n fetchExamplesRequest: createRequestReducer('EXAMPLES:FETCH'),\n filters: createReducer(\n { schoolOrganisation: false },\n {\n 'EXAMPLES:FILTER_SCHOOL_ORGANISATION': state => ({\n ...state,\n schoolOrganisation: true\n }),\n 'EXAMPLES:FILTER_ALL': state => ({\n ...state,\n schoolOrganisation: false\n })\n }\n ),\n examples: createReducer(null, {\n 'EXAMPLES:FETCH_REQUEST_SUCCESS': (state, { response }) => {\n return normalizeExamples(response.data.assessment_files)\n }\n })\n})\n\nexport default ExamplesReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeTrainings = data => {\n const training = new schema.Entity('trainings')\n return normalize(data, [training])\n}\n\nconst TrainingsReducer = combineReducers({\n fetchTrainingsRequest: createRequestReducer('TRAININGS:FETCH'),\n filters: createReducer(\n { schoolOrganisation: false },\n {\n 'TRAININGS:FILTER_SCHOOL_ORGANISATION': state => ({\n ...state,\n schoolOrganisation: true\n }),\n 'TRAININGS:FILTER_ALL': state => ({\n ...state,\n schoolOrganisation: false\n })\n }\n ),\n trainings: createReducer(null, {\n 'TRAININGS:FETCH_REQUEST_SUCCESS': (state, { response }) => {\n return normalizeTrainings(response.data.assessment_files)\n }\n })\n})\n\nexport default TrainingsReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeSchoolFiles = data => {\n const schoolFile = new schema.Entity('schoolFiles')\n return normalize(data, [schoolFile])\n}\n\nconst defaultFilters = {\n title: '',\n benchmarked: 'false',\n /*judgement: 'all',\n moderationType: '',*/\n owner_name: ''\n //currentLimit: DEFAULT_LIMIT,\n}\n\nconst SchoolFilesReducer = combineReducers({\n fetchSchoolFilesRequest: createRequestReducer('SCHOOL_FILES:FETCH'),\n\n filter: createReducer(defaultFilters, {\n /*'SCHOOL_FILES:LOAD_MORE': state => ({\n ...state,\n currentLimit: state.currentLimit + LOAD_MORE_STEP\n }),*/\n 'SCHOOL_FILES:SET_SEARCH_FILTERS': (state, { filters }) => ({\n ...state,\n //currentLimit: DEFAULT_LIMIT,\n ...filters\n }),\n 'SCHOOL_FILES:RESET_FILTERS': state => ({ ...defaultFilters })\n }),\n schoolFiles: createReducer(null, {\n 'SCHOOL_FILES:FETCH_REQUEST_SUCCESS': (state, { response }) => {\n return normalizeSchoolFiles(response.data.assessment_files)\n }\n })\n})\n\nexport default SchoolFilesReducer\n","import { combineReducers } from 'redux'\nimport {\n createReducer,\n createRequestReducer\n} from 'pobble-components/dist/redux-helpers'\nimport { schema, normalize } from 'normalizr'\n\nconst normalizeOrganisationFiles = data => {\n const organisationFile = new schema.Entity('organisationFiles')\n return normalize(data, [organisationFile])\n}\n\nconst OrganisationFilesReducer = combineReducers({\n fetchOrganisationFilesRequest: createRequestReducer(\n 'ORGANISATION_FILES:FETCH'\n ),\n filters: createReducer(\n { benchmarked: false },\n {\n 'ORGANISATION_FILES:FILTER_BENCHMARK': state => ({\n ...state,\n benchmarked: true\n }),\n 'ORGANISATION_FILES:FILTER_ALL': state => ({\n ...state,\n benchmarked: false\n })\n }\n ),\n organisationFiles: createReducer(null, {\n 'ORGANISATION_FILES:FETCH_REQUEST_SUCCESS': (state, { response }) => {\n return normalizeOrganisationFiles(response.data.assessment_files)\n }\n })\n})\n\nexport default OrganisationFilesReducer\n","import { combineReducers } from 'redux'\nimport AssessmentFile from './stores/assessment-file/assessment-file.reducer'\nimport Works from './stores/works/works.reducer'\nimport Discussion from './stores/discussion/discussion.reducer'\nimport CurrentInvitations from './stores/current-invitations/current-invitations.reducer'\nimport ArchivedInvitations from './stores/archived-invitations/archived-invitations.reducer'\nimport MyFiles from './stores/my-files/my-files.reducer'\nimport ArchivedFiles from './stores/archived-files/archived-files.reducer'\nimport Examples from './stores/examples/examples.reducer'\nimport Trainings from './stores/trainings/trainings.reducer'\nimport SchoolFiles from './stores/school-files/school-files.reducer'\nimport OrganisationFiles from './stores/organisation-files/organisation-files.reducer'\n\nconst Reducer = combineReducers({\n AssessmentFile,\n Works,\n Discussion,\n CurrentInvitations,\n ArchivedInvitations,\n MyFiles,\n ArchivedFiles,\n Examples,\n Trainings,\n SchoolFiles,\n OrganisationFiles\n})\n\nexport default Reducer\n","import 'react-app-polyfill/ie11'\nimport 'react-app-polyfill/stable'\nimport 'pobble-components/dist/setup/sentry'\n\nimport React, { Fragment } from 'react'\nimport ReactDOM from 'react-dom'\nimport App from './components/app/app'\n\nimport { Provider } from 'react-redux'\nimport { createStore, applyMiddleware } from 'redux'\nimport thunk from 'redux-thunk'\nimport rootReducer from './reducer'\nimport { requestMiddleware } from 'pobble-components/dist/redux-helpers'\nimport { ConfirmationDialog } from 'pobble-components/dist/modal/confirmation-dialog'\n\nimport 'normalize.css'\nimport { apiGetMe } from './common/api/profile'\nimport { PobbleStyles } from 'pobble-components/dist/styles'\n\nimport { PostHogProvider } from 'posthog-js/react'\nimport { posthog } from 'posthog-js'\n\nwindow.posthog = posthog\n\nconst store = createStore(\n rootReducer,\n applyMiddleware(requestMiddleware, thunk)\n)\n\nconst posthogOptions = {\n api_host: 'https://eu.posthog.com',\n autocapture: false,\n capture_pageview: false,\n capture_pageleave: false,\n disable_session_recording: true\n}\n\nconst render = ({ me, meError }) => {\n ReactDOM.render(\n \n \n \n \n \n \n \n \n \n ,\n document.getElementById('root')\n )\n}\n\napiGetMe({\n include:\n 'account.timestamps,account.subscriptions,account.subscription_policy,account.names,account.finish_signup_status,account.policy,account.pobbler_type,account.avatar,account.teacher_type.school,account.teacher_type.school.school_organisations,account.teacher_type.school.school_organisation.details,account.teacher_type.school.names,account.teacher_type.school.urn,account.email_identity.email,account.signup_details,account.student_type.school,account.pending_teacher_type,account.pending_teacher_type.details,account.pending_teacher_type.school,account.teacher_type.status'\n}).then(res => render({ me: res }), e => render({ meError: e }))\n\n// Lazy load external tools\nsetTimeout(() => import('pobble-components/dist/setup/external-tools'), 1000)\n"],"sourceRoot":""}