text: (window.webpackJsonp=window.webpackJsonp||[]).push([[45],{"+6vl":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("PStO")),n,a=_interopRequireDefault(e("VYij")),i,o=_interopRequireDefault(e("sQ/U")),u,s=_interopRequireDefault(e("+LJP")),l,d=_interopRequireDefault(e("l1ss")),c,f=_interopRequireDefault(e("KMW/")),p,m=_interopRequireDefault(e("DiLM")),g,h=_interopRequireDefault(e("gYzo")),v,E=_interopRequireDefault(e("eKAK")),D,R=_interopRequireDefault(e("YRQ5")),S,y=_interopRequireDefault(e("g/lr")),C,b=_interopRequireDefault(e("Q7tT")),P,N=_interopRequireDefault(e("3U3/")),w,A=_interopRequireDefault(e("JTm5")),I,q=_interopRequireDefault(e("tmaX")),T,O=_interopRequireDefault(e("F1Xn"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var M=(0,m.default)(function(e){var t=e.course,r=e.programMemberships,n=e.onDemandGuidedItemsProgress,i=e.sessions,o=e.hasJustEnrollEvent,u=t.id,s=u;i.length>0&&(s=i[0].branchId||i[0].courseId);var l=f.default.get("Flex","aliceHiringEnabled"),d=f.default.get("Flex","aliceCoursePageviewEnabled",{course_id:u}),c=r.some(function(e){return"MEMBER"===e.membershipState}),p=(0,a.default)(n.progressStates).chain().values().any(function(e){return"Completed"===(0,a.default)(e).values()[0].progressState}).value(),m;if((0,a.default)(n.progressStates).chain().values().every(function(e){return"NotStarted"===(0,a.default)(e).values()[0].genericState||"NotStarted"===(0,a.default)(e).values()[0].progressState}).value())return new y.default({courseBranchId:s});if(l&&!c)return new h.default({courseBranchId:s});if(d)return new R.default({courseBranchId:s});if(p)return new E.default({courseBranchId:s});return null},function(e){var t=e.course;return{course_id:t&&t.id}})(function(){return null});exports.default=a.default.compose((0,d.default)(),(0,s.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),r.default.createContainer(function(e){var t=e.courseSlug;return{programMemberships:A.default.finder("byUser",{params:{userId:o.default.get().id}}),course:b.default.bySlug(t,{fields:["id"]})}}),r.default.createContainer(function(e){var t=e.course;return{onDemandGuidedItemsProgress:O.default.get(o.default.get().id+"~"+t.id,{fields:["progressStates"]}),onDemandSessionMemberships:q.default.finder("activeByUserAndCourse",{params:{courseId:t.id,userId:o.default.get().id},includes:["sessions"]})}}),r.default.createContainer(function(e){var t,r=e.onDemandSessionMemberships.map(function(e){return e.sessionId});return{sessions:N.default.multiGet(r,{field:["courseId, branchId"]})}}))(M)},"+p0P":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OverlayTrigger=exports.Overlay=void 0;var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d,c,f=_interopRequireDefault(e("sbe7")),p,m=_interopRequireDefault(e("w/1P"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("ii4s");var g=(s=u=function(e){function Overlay(){return(0,r.default)(this,Overlay),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(Overlay,e),Overlay.prototype.render=function render(){var e=this.props,t=e.placement,r=e.size,n=e.children;return f.default.createElement("div",{className:(0,m.default)("rc-OverlayWrapper",t,r)},f.default.createElement("span",{className:"overlay-arrow"}),f.default.createElement("div",{className:"overlay-content"},f.default.createElement("div",{className:"overlay-body"},n)))},Overlay}(f.default.Component),u.propTypes={children:f.default.PropTypes.node,placement:f.default.PropTypes.oneOf(["top","top-left","top-right","bottom"]).isRequired,size:f.default.PropTypes.string},s),h=(d=l=function(e){function OverlayTrigger(){var t,n,i;(0,r.default)(this,OverlayTrigger);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showOverlay:!1},n.showOverlay=function(){n.setState({showOverlay:!0}),n.props.onHover&&n.props.onHover()},n.hideOverlay=function(){n.setState({showOverlay:!1})},i=t,(0,a.default)(n,i)}return(0,o.default)(OverlayTrigger,e),OverlayTrigger.prototype.render=function render(){return f.default.createElement("div",{className:"overlay-parent",onMouseLeave:this.hideOverlay},f.default.createElement("div",{onMouseOver:this.showOverlay},this.props.children),this.state.showOverlay&&f.default.createElement("div",{onMouseLeave:this.hideOverlay,className:"overlay"},this.props.overlay))},OverlayTrigger}(f.default.Component),l.propTypes={children:f.default.PropTypes.node,overlay:f.default.PropTypes.node,onHover:f.default.PropTypes.func},d);exports.Overlay=g,exports.OverlayTrigger=h},"+uGC":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("sbe7")),n=e("6gRZ"),a,i=_interopRequireDefault(e("NFGF")),o=e("Bgbc"),u=e("DpUQ");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("BDmr");var s=function CalendarIcon(){var e="gle-calendar-tooltip",t=r.default.createElement(n.Tooltip,{id:e},(0,i.default)("This is where you should be to finish the course on time."));return r.default.createElement(n.OverlayTrigger,{placement:"top",overlay:t,trigger:["hover","focus"]},r.default.createElement("div",{className:"rc-CalendarIcon",role:"tooltip",tabIndex:"0","aria-describedby":e},r.default.createElement(u.SvgCalendar,{color:o.color.primaryText,size:14})))};exports.default=s},"+zMR":function(module,exports,e){var t=e("IV4Y"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"/NCM":function(module,exports,e){},"/W1q":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("cfnO")),i,o=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var u=function MultipleDeadlines(e){var t=e.nextStep.definition.courseId;return r.createElement("div",{className:"rc-MultipleDeadlines"},r.createElement("div",{className:"next-step-content horizontal-box wrap"},r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},(0,o.default)("Need more time?")),r.createElement("div",{className:"body-1-text"},(0,o.default)("Change your due dates and pick up where you left off in a new session."))),r.createElement(a.default,{courseId:t})))};exports.default=u},"0dhB":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("6pUo")),i,o=_interopRequireDefault(e("YiG2")),u,s=_interopRequireDefault(e("k4I1")),l,d=_interopRequireDefault(e("R2Ce")),c,f=_interopRequireDefault(e("w/vV"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var p=function CourseMaterial(e){var t=e.nextStep.definition,n=t.item,i=t.courseMaterialNextStepType,u=t.currentWeekNumberByProgress,l=t.item.timeCommitment,c=e.sessionsV2Enabled,p=(0,f.default)(i,n),m=p.description,g=p.overrideLabel,h=p.overrideName;return r.createElement("div",{className:"rc-CourseMaterial"},r.createElement("div",{className:"next-step-content horizontal-box wrap"},!c&&r.createElement(a.default,{week:u}),r.createElement("div",{className:"flex-1 description"},r.createElement(o.default,{item:n,overrideName:h}),r.createElement("div",{className:"body-1-text"},m),r.createElement(d.default,{timeCommitment:l})),r.createElement(s.default,{item:n,overrideLabel:g})))};exports.default=p},"0ekK":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("VYij")),i,o=_interopRequireDefault(e("PStO")),u,s=_interopRequireDefault(e("w/1P")),l,d=_interopRequireDefault(e("+LJP")),c,f=_interopRequireDefault(e("Q7tT")),p,m=_interopRequireDefault(e("0Qso")),g=e("Q8V+"),h,v=_interopRequireDefault(e("MgUF")),E=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("LILc");var D=function stringifyPartners(e){var t=e.map(function(e){return e.name});return a.default.compact([a.default.initial(t).join(", "),a.default.last(t)]).join(" & ")},R=function CourseNameHeader(e){var t=e.course.name,n=e.partners,a=n&&D(n),i=(0,s.default)("course-name","color-primary-text",{"display-3-text":!(0,g.isPhoneOrSmaller)(),"display-2-text":(0,g.isPhoneOrSmaller)()});return r.createElement("div",{className:"rc-CourseNameHeader vertical-box align-items-absolute-center styleguide"},r.createElement("h1",{className:i,"aria-describedby":"partner-names-description"},t),r.createElement("div",{className:"headline-1-text partner-names"},r.createElement("span",{className:"body-1-text",id:"partner-names-description"},a&&r.createElement(E.FormattedMessage,{message:(0,v.default)("by {partnerNames}"),partnerNames:a}))))};exports.default=a.default.compose((0,d.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),o.default.createContainer(function(e){var t=e.courseSlug;return{course:f.default.bySlug(t,{fields:["name","partnerIds"],includes:["partnerIds"]})}}),o.default.createContainer(function(e){var t=e.course;return{partners:t&&t.partnerIds&&m.default.multiGet(t.partnerIds,{fields:["name"]})}}))(R)},"0ekn":function(module,exports,e){var t=e("fjOU"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"18xh":function(module,exports,e){var t=e("68W8"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"1uIf":function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pt":true,"ru":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},"2+8w":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("UZuA")),c,f=_interopRequireDefault(e("SAFg")),p=e("lEg3"),m,g=_interopRequireDefault(e("MgUF")),h=e("kvW3"),v=e("Bgbc"),E=e("DpUQ");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("moKP");var D=function(e){function WeekCardHeader(){return(0,r.default)(this,WeekCardHeader),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(WeekCardHeader,e),WeekCardHeader.prototype.render=function render(){var e=this.props,t=e.week,r=t.weekStatus,n=t.weekTimeProgress.totalItemsProgress.remainingDuration,a=e.weekNumber,i=e.isCollapsed,o=e.onToggleCollapse,u="COMPLETED"===r;return s.createElement(d.default,{className:"rc-WeekCardHeader",onClick:o,trackingName:"week_card_toggle_collapse","aria-expanded":!i,role:"heading"},s.createElement("div",{className:"horizontal-box align-items-vertical-center content"},s.createElement(f.default,{status:r}),s.createElement("div",{className:"week-number body-2-text flex-1"},s.createElement(h.FormattedMessage,{message:(0,g.default)("WEEK {weekNumber}"),weekNumber:a})),!u&&s.createElement("span",{className:"body-2-text estimated-time"},(0,g.default)("Estimated Time"),": ",(0,p.humanizeLearningTime)(n)),i?s.createElement(E.SvgChevronDown,{size:24,color:v.color.primaryText,style:{marginLeft:"24px"}}):s.createElement(E.SvgChevronUp,{size:24,color:v.color.primaryText,style:{marginLeft:"24px"}})))},WeekCardHeader}(s.Component);exports.default=D},"2FDs":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c,f=_interopRequireDefault(e("PStO")),p,m=_interopRequireDefault(e("jsrg")),g,h=_interopRequireDefault(e("VXRf")),v,E=_interopRequireDefault(e("+LJP")),D,R=_interopRequireDefault(e("l1ss")),S,y=_interopRequireDefault(e("QOVl")),C,b=_interopRequireDefault(e("Q7tT")),P,N=_interopRequireDefault(e("a94F")),w,A=_interopRequireDefault(e("If8s")),I,q=_interopRequireDefault(e("jGf+")),T,O=_interopRequireDefault(e("DZMx"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var M=function(e){function InstructorWelcomeNote(){var t,n,i;(0,r.default)(this,InstructorWelcomeNote);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={isDismissed:!0},n.handleDismiss=function(){var e=n.props.course.id;O.default.storeKey("dismissedWelcomeMessage."+e).then(function(){n.setState({isDismissed:!0})})},i=t,(0,a.default)(n,i)}return(0,o.default)(InstructorWelcomeNote,e),InstructorWelcomeNote.prototype.componentDidMount=function componentDidMount(){var e=this,t=this.props.course;O.default.hasKey("dismissedWelcomeMessage."+t.id).then(function(t){e.setState({isDismissed:t})})},InstructorWelcomeNote.prototype.render=function render(){var e=this.state.isDismissed,t=this.props,r=t.instructorNote,n=t.instructors;if(!r||!r.body||e)return null;return s.default.createElement(y.default,{note:r.body,instructors:n,canDismiss:!0,onDismiss:this.handleDismiss})},InstructorWelcomeNote}(s.default.Component);exports.default=d.default.compose((0,R.default)(),(0,E.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),f.default.createContainer(function(e){var t=e.courseSlug;return{course:b.default.bySlug(t,{fields:["id","instructorIds"]})}}),(0,m.default)(function(e){var t=e.course;return!!t&&!!t.instructorIds}),f.default.createContainer(function(e){var t=e.course;return{instructors:N.default.multiGet(t.instructorIds,{fields:["id","fullName","photo"]}),instructorNotes:A.default.byCourse(t.id),defaultInstructorNotes:q.default.byCourse(t.id)}}),(0,h.default)(function(e){var t=e.instructorNotes,r=e.defaultInstructorNotes,n=(0,d.default)(t).find(function(e){return"start"===e.context.definition.position});return n||(n=(0,d.default)(r).find(function(e){return"start"===e.context.definition.position})),{instructorNote:n}}))(M)},"2oG7":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("+LJP")),c,f=_interopRequireDefault(e("DZMx")),p,m=_interopRequireDefault(e("mHwx")),g,h=_interopRequireDefault(e("lS+i")),v=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var E=function(e){function NewEnrollmentPersonalizedScheduleNotification(){var t,n,i;(0,r.default)(this,NewEnrollmentPersonalizedScheduleNotification);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={isDismissed:!0},n.handleDismiss=function(){var e=n.props.courseSlug;f.default.storeKey("dismissedNewEnrollmentPersonalizedScheduleNotification."+e).then(function(){n.setState({isDismissed:!0})})},i=t,(0,a.default)(n,i)}return(0,o.default)(NewEnrollmentPersonalizedScheduleNotification,e),NewEnrollmentPersonalizedScheduleNotification.prototype.componentDidMount=function componentDidMount(){var e=this,t=this.props.courseSlug;f.default.hasKey("dismissedNewEnrollmentPersonalizedScheduleNotification."+t).then(function(t){e.setState({isDismissed:t})})},NewEnrollmentPersonalizedScheduleNotification.prototype.render=function render(){var e;if(this.state.isDismissed)return null;var t=s.default.createElement(v.FormattedMessage,{message:(0,h.default)("You can start learning right away. Courses follow a week-based schedule, and you can go faster, if you like.")});return s.default.createElement("div",{className:"rc-NewEnrollmentPersonalizedScheduleNotification"},s.default.createElement(m.default,{trackingName:"new_enrollment_personalized_schedule_notification",type:"info",message:t,isDismissible:!0,onDismiss:this.handleDismiss}))},NewEnrollmentPersonalizedScheduleNotification}(s.default.Component);exports.default=(0,d.default)(function(e,t){return{courseSlug:e.params.courseSlug}})(E)},"2spd":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("w/1P")),c=e("VC0F"),f=e("64Af"),p,m=_interopRequireDefault(e("ReeL")),g=e("Bgbc"),h=e("DpUQ"),v,E=_interopRequireDefault(e("MgUF"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("alAY");var D=function(e){function AssignmentSection(){return(0,r.default)(this,AssignmentSection),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentSection,e),AssignmentSection.prototype.render=function render(){var e=this.props,t=e.className,module=e.module,r=module.name,n=(0,c.getGradableItemsWithoutHonorsInModule)(module);if(0===n.length)return s.createElement("div",{className:(0,d.default)("rc-AssignmentSection","vertical-box","align-items-absolute-center",t)},s.createElement(h.SvgReading,{color:g.color.primaryText,size:24}),(0,E.default)("Nothing due"));var a=n.sort(function(e,t){var r=e.deadline,n=t.deadline;if(!r)return 1;if(!n)return-1;return r-n});return s.createElement("div",{className:(0,d.default)("rc-AssignmentSection",t)},s.createElement("div",{className:"assignments"},s.createElement("div",{className:"horizontal-box"},s.createElement("div",{className:"label-text color-secondary-text flex-1 assignment-section-header"},(0,E.default)("Required")),s.createElement("div",{className:"label-text color-secondary-text assignment-section-header"},(0,E.default)("Grade")),s.createElement("div",{className:"label-text color-secondary-text assignment-section-header"},(0,E.default)("Due"))),s.createElement("div",null,a.map(function(e){if((0,f.getIsAssignmentPartForSplitPeer)(e))return[s.createElement(m.default,{key:e.id,item:e,moduleName:r}),s.createElement(m.default,{moduleName:r,key:e.id+"ReviewPortion",item:(0,f.getReviewPartFromSplitPeer)(e)})];return s.createElement(m.default,{key:e.id,item:e,moduleName:r})}))))},AssignmentSection}(s.Component);exports.default=D},"2uu2":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("w/1P")),c=e("VC0F"),f,p=_interopRequireDefault(e("tjKw")),m,g=_interopRequireDefault(e("GXs9")),h,v=_interopRequireDefault(e("Akn8")),E,D=_interopRequireDefault(e("IAOZ")),R,S=_interopRequireDefault(e("MgUF"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("JAM/");var y=D.default.assets.rootPath,C=function(e){function UngradedItemSection(){return(0,r.default)(this,UngradedItemSection),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(UngradedItemSection,e),UngradedItemSection.prototype.render=function render(){var e=this.props,t=e.className,module=e.module,r=e.module.moduleTimeProgress,n=r.lecturesProgress,a=r.readingsProgress,i=r.nonGradedAssessmentsProgress,o=r.otherNonPassableItemsProgress;if((0,c.hasGradableItemsOnly)(module))return s.createElement("div",{className:(0,d.default)("rc-UngradedItemSection","vertical-box","align-items-absolute-center",t)},s.createElement(g.default,{className:"only-required-assignments-icon",src:v.default.join(y,"bundles/ondemand/assets/images/quizIcon.png")}),(0,S.default)("Only required assignments"));return s.createElement("div",{className:(0,d.default)("rc-UngradedItemSection",t)},s.createElement(p.default,{title:(0,S.default)("Videos"),progress:n}),s.createElement(p.default,{title:(0,S.default)("Readings"),progress:a}),s.createElement(p.default,{title:(0,S.default)("Practice Exercises"),progress:i}),s.createElement(p.default,{title:(0,S.default)("Other"),progress:o}))},UngradedItemSection}(s.Component);exports.default=C},"2vyg":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("sbe7")),n,a=_interopRequireDefault(e("Vl5c"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function AssignmentLatePenalty(e){var t=e.gradingLatePenalty,n=e.computedOutcome;if(!t)return null;if(!n)return r.default.createElement(a.default,{gradingLatePenalty:t});if(n&&n.latePenaltyRatio)return r.default.createElement(a.default,{tooltipLabel:"Penalty of "+100*n.latePenaltyRatio.definition.ratio+"% applied"});return null};exports.default=i},"3Xa9":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n=e("MnCE"),a,i=_interopRequireDefault(e("K2l7")),o,u=_interopRequireDefault(e("0dhB")),s,l=_interopRequireDefault(e("KpnV")),d,c=_interopRequireDefault(e("/W1q")),f,p=_interopRequireDefault(e("jTI6")),m,g=_interopRequireDefault(e("Q+sy")),h,v=_interopRequireDefault(e("rjF8"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("0ekn");var E=function CourseNextStep(e){var t=e.nextStep,n=e.isEnrollmentStateBannerEnabled,a=null;if("notEnoughPeerReviewsNextStep"===t.typeName?a=r.createElement(p.default,{nextStep:t}):"multipleDeadlinesNextStep"===t.typeName?a=r.createElement(c.default,{nextStep:t}):"sessionEndedNextStep"===t.typeName?a=r.createElement(i.default,{nextStep:t}):"courseMaterialNextStep"===t.typeName?a=r.createElement(u.default,{nextStep:t}):"courseCompletedNextStep"===t.typeName?a=r.createElement(l.default,{nextStep:t}):"noActiveSessionNextStep"===t.typeName&&(n||(a=r.createElement(g.default,{allowClose:!1,courseId:t.definition.courseId}))),!a)return null;return r.createElement("div",{className:"rc-CourseNextStep card-no-action comfy"},a)};exports.default=(0,n.compose)((0,v.default)())(E)},"3h2j":function(module,exports,e){var t=e("Pg5B"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"3jBl":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("QbLZ")),n,a=_interopRequireDefault(e("iCc5")),i,o=_interopRequireDefault(e("FYw3")),u,s=_interopRequireDefault(e("mRg0")),l,d=_interopRequireWildcard(e("sbe7")),c,f=_interopRequireDefault(e("i8i4")),p,m=_interopRequireDefault(e("VYij")),g,h=_interopRequireDefault(e("PStO")),v,E=_interopRequireDefault(e("sQ/U")),D,R=_interopRequireDefault(e("jsrg")),S,y=_interopRequireDefault(e("w/1P")),C,b=_interopRequireDefault(e("VXRf")),P,N=_interopRequireDefault(e("+LJP")),w=e("PDuk"),A,I=_interopRequireDefault(e("K8uz")),q,T=_interopRequireDefault(e("U5uW")),O,M=_interopRequireDefault(e("8PcL")),k,F=_interopRequireDefault(e("J0Fs")),U,x=_interopRequireDefault(e("gSSS")),L,W=_interopRequireDefault(e("aSNm")),B,j=_interopRequireDefault(e("uBRY")),G=e("Bgbc"),V=e("DpUQ"),Y,H=_interopRequireDefault(e("MgUF"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("F2dC");var z=function(e){function CourseProgressBar(){var t,r,n;(0,a.default)(this,CourseProgressBar);for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return t=r=(0,o.default)(this,e.call.apply(e,[this].concat(u))),r.state={showMoveBackArrow:!1,showMoveForwardArrow:!1},r.move=function(e){var t=f.default.findDOMNode(r.refs.progressBarContainer).getBoundingClientRect().width,n=f.default.findDOMNode(r.refs.weeksStatus).getBoundingClientRect().width,a=f.default.findDOMNode(r.refs.progress),i,o=40,u=parseInt(window.getComputedStyle(a).left.replace(/px/,""),10)-e;u<-(n+40-t)&&(u=-(n+40-t)),u>0&&(u=0),a.style.left=u+"px"},r.moveDirection=function(e){var t,n=f.default.findDOMNode(r.refs.progressBarContainer).getBoundingClientRect().width;"backward"===e&&(n*=-1),r.move(n)},r.moveForward=function(){r.moveDirection("forward")},r.moveBack=function(){r.moveDirection("backward")},n=t,(0,o.default)(r,n)}return(0,s.default)(CourseProgressBar,e),CourseProgressBar.prototype.componentDidMount=function componentDidMount(){this.showHideArrows(),this.setOnTransitionEnd(),this.setStartPosition(),this.props.naptime.refreshData({resources:["guidedCourseSessionProgresses.v1"]})},CourseProgressBar.prototype.showHideArrows=function showHideArrows(){var e=f.default.findDOMNode(this.refs.progress),t=f.default.findDOMNode(this.refs.weeksStatus),r=f.default.findDOMNode(this.refs.progressBarContainer).getBoundingClientRect().width,n=Math.abs(parseInt(window.getComputedStyle(e).left.replace(/px/,""),10)),a,i=!1,o=!1;n+r<t.getBoundingClientRect().width&&(i=!0),n>0&&(o=!0),this.setState({showMoveForwardArrow:i,showMoveBackArrow:o})},CourseProgressBar.prototype.setOnTransitionEnd=function setOnTransitionEnd(){var e=this;f.default.findDOMNode(this).addEventListener("transitionend",function(){e.showHideArrows()})},CourseProgressBar.prototype.setStartPosition=function setStartPosition(){var e=this.props,t=e.weeks,r=e.currentWeekByUserProgress,n;if(e.hasSessionModuleDeadlines){var a,i=40,o,u,s=(f.default.findDOMNode(this.refs.weeksStatus).getBoundingClientRect().width-40)/(t.length+1)*(r-1);this.move(s)}},CourseProgressBar.prototype.render=function render(){var e=this.props,t=e.courseId,r=e.coursePresentGrade,n=e.weeks,a=e.startedAt,i=e.endedAt,o=e.showAssignmentIcons,u=e.sessionsV2Enabled,s=this.state,l=s.showMoveBackArrow,c=s.showMoveForwardArrow,f=(0,y.default)("rc-CourseProgressBar",{"detailed-view":o,"simple-view":!o});return d.createElement("div",{className:"progress-grades-container align-items-vertical-center horizontal-box"},d.createElement("div",{className:f,ref:"progressBarContainer"},l&&d.createElement("button",{className:"nostyle move-back",onClick:this.moveBack},d.createElement(V.SvgChevronLeft,{size:18,color:G.color.secondaryText,hoverColor:G.color.black})),d.createElement("div",{className:"progress-section",ref:"progressSection"},d.createElement("div",{className:"progress",ref:"progress"},d.createElement("div",{className:"nostyle"},d.createElement(I.default,{ref:"progressBar",courseId:t,numWeeks:n.length,weeks:n})),d.createElement("div",{className:"nostyle"},d.createElement("div",{className:"horizontal-box weeks-status-section",ref:"weeksStatus"},d.createElement("div",{className:"start-week-section"},d.createElement(T.default,{key:0,weekNumber:0,courseId:t,weekDeadline:a||"",sessionsV2Enabled:u})),n.map(function(e,r){var n=parseInt((0,w.stringKeyToTuple)(e.learnerMaterialWeekNumber)[2],10);return d.createElement("div",{className:"week-section",key:n},o&&d.createElement(M.default,{week:e,weekNumber:n,isCurrentWeekBySchedule:e.isCurrentWeekBySchedule}),!o&&d.createElement(T.default,{key:n,weekNumber:r+1,courseId:t,week:e}))}),d.createElement("div",{className:"end-week-section week-section",key:n.length},d.createElement(T.default,{key:-1,weekNumber:-1,courseId:t,weekDeadline:i||""})))))),c&&d.createElement("button",{className:"nostyle move-forward",onClick:this.moveForward},d.createElement(V.SvgChevronRight,{size:18,color:G.color.secondaryText,hoverColor:G.color.black}))),r&&r.isCumulativeGraded&&d.createElement(F.default,{smallVersion:!o,isPassing:r.isPassing,grade:Math.round(1e3*r.grade)/10,label:o?(0,H.default)("Current Course Grade"):(0,H.default)("Current Grade")}))},CourseProgressBar}(d.Component);exports.default=m.default.compose((0,N.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),h.default.createContainer(function(e){var t=e.courseSlug;return{guidedCourseSessionProgresses:W.default.multiGet([E.default.get().id+"~"+t],{fields:["id","courseId","courseProgressState","weeks","currentWeekByUserProgress","startedAt","endedAt","hasSessionModuleDeadlines"]}),coursePresentGrade:x.default.getById(E.default.get().id+"~"+t,{fields:["grade","relevantItems","passingStateForecast"]}),sessionsV2Enabled:j.default.getSessionsV2EnabledBySlug(t)}}),(0,R.default)(function(e){var t;return 0!==e.guidedCourseSessionProgresses.length}),(0,b.default)(function(e){var t=e.guidedCourseSessionProgresses;return(0,r.default)({},t[0])}),(0,R.default)(function(e){var t;return"Completed"!==e.courseProgressState}))(z)},"4dLQ":function(module,exports,e){},"4o2h":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("PStO")),c,f=_interopRequireDefault(e("sQ/U")),p=e("MnCE"),m,g=_interopRequireDefault(e("VXRf")),h,v=_interopRequireDefault(e("+LJP")),E=e("PDuk"),D,R=_interopRequireDefault(e("EdYf")),S,y=_interopRequireDefault(e("KMW/")),C,b=_interopRequireDefault(e("1mvU")),P,N=_interopRequireDefault(e("BH3y")),w,A=_interopRequireDefault(e("ETOr")),I,q=_interopRequireDefault(e("i6Ub")),T,O=_interopRequireDefault(e("omOm")),M,k=_interopRequireDefault(e("tRvr")),F,U=_interopRequireDefault(e("2oG7")),x,L=_interopRequireDefault(e("t5s1")),W,B=_interopRequireDefault(e("PN7A")),j,G=_interopRequireDefault(e("lS+i"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var V=N.default.COURSE_WELCOME,Y=function(e){function WelcomeNotifications(){var t,n,i;(0,r.default)(this,WelcomeNotifications);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.renderNotification=function(e){var t=null;return"verificationRequiredMessage"===e.typeName?t=s.createElement(q.default,{showSummary:!0,notification:e}):"certificateExpirationMessage"===e.typeName?t=s.createElement(O.default,{notification:e}):"s12nUpsellMessage"!==e.typeName||y.default.get("payments","inCourseUpsell")?"s12nUpgradeMessage"===e.typeName?t=s.createElement(k.default,{notification:e}):"newEnrollmentPersonalizedScheduleMessage"===e.typeName?t=s.createElement(U.default,{notification:e}):"gradeDisclaimerMessage"===e.typeName?t=s.createElement(B.default,{notification:e}):"userVerificationRequiredMessage"===e.typeName&&(t=s.createElement(L.default,null)):t=s.createElement(A.default,{notification:e}),t},i=t,(0,a.default)(n,i)}return(0,o.default)(WelcomeNotifications,e),WelcomeNotifications.prototype.componentDidMount=function componentDidMount(){var e;this.props.naptime.refreshData({resources:["courseMessages.v1"]})},WelcomeNotifications.prototype.render=function render(){var e=this,t=this.props.notifications;if(0===t.length)return null;return s.createElement("div",{className:"rc-WelcomeNotifications"},s.createElement(R.default,{tagName:"h2"},(0,G.default)("Notifications")),t.map(function(t){return e.renderNotification(t)}))},WelcomeNotifications}(s.Component);exports.default=(0,p.compose)((0,v.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),d.default.createContainer(function(e){var t=e.courseSlug;return{response:b.default.finder("findCourseMessages",{params:{id:(0,E.tupleToStringKey)([(0,E.tupleToStringKey)([f.default.get().id,t]),V,-1])}})}}),(0,g.default)(function(e){var t=e.response;return{notifications:t&&t[0]?t[0].messages:[]}}))(Y)},"4vkR":function(module,exports,e){var t=e("K352"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"5vFa":function(module,exports,e){},"64Af":function(module,exports,e){"use strict";(function(t){Object.defineProperty(exports,"__esModule",{value:!0});var r,n=_interopRequireDefault(e("QbLZ"));exports.getFormattedTitlePrefix=getFormattedTitlePrefix,exports.getFormattedTimeCommitment=getFormattedTimeCommitment,exports.getFormattedNameWithPrefix=getFormattedNameWithPrefix,exports.getFormattedDeadline=getFormattedDeadline,exports.getIsGradable=getIsGradable,exports.getIsHonors=getIsHonors,exports.getIsReviewPartForSplitPeer=getIsReviewPartForSplitPeer,exports.getIsAssignmentPartForSplitPeer=getIsAssignmentPartForSplitPeer,exports.getReviewPartFromSplitPeer=getReviewPartFromSplitPeer,exports.getIsComplete=getIsComplete;var a,i=_interopRequireDefault(e("BN6r")),o=e("lEg3"),u,s=_interopRequireDefault(e("ZSQl")),l,d=_interopRequireDefault(e("dnln")),c=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getFormattedTitlePrefix(e){return(0,s.default)(e.contentSummary.typeName,e.trackId,e.contentSummary)}function getFormattedTimeCommitment(e){return(0,o.humanizeLearningTime)(e.timeCommitment)}function getFormattedNameWithPrefix(e){var r=e.contentSummary.typeName,n=(0,s.default)(r);if("lecture"===r)return t.createElement(c.FormattedMessage,{message:(0,d.default)("Video: {name}"),name:e.name});if("supplement"===r)return t.createElement(c.FormattedMessage,{message:(0,d.default)("Reading: {name}"),name:e.name});if("slideshow"===r)return t.createElement(c.FormattedMessage,{message:(0,d.default)("Slideshow: {name}"),name:e.name});if(n)return n+": "+e.name;return e.name}function getFormattedDeadline(e){if(!e.deadline||!(0,i.default)(e.deadline).isValid())return null;return(0,i.default)(e.deadline).format("MMM D")}function getIsGradable(e){return["exam","closedPeer","gradedPeer","phasedPeer","gradedProgramming","programming","gradedLti","gradedDiscussionPrompt","teammateReview","staffGraded"].includes(e.contentSummary.typeName)}function getIsHonors(e){return"honors"===e.trackId}function getIsReviewPartForSplitPeer(e){return"splitPeerReviewItem"===e.contentSummary.typeName}function getIsAssignmentPartForSplitPeer(e){return!e.contentSummary.isMentorGraded&&-1!==["phasedPeer","gradedPeer","closedPeer"].indexOf(e.contentSummary.typeName)}function getReviewPartFromSplitPeer(e){if(!getIsAssignmentPartForSplitPeer(e))return;var t=(0,n.default)({},e),r=(0,n.default)({},t.contentSummary,{typeName:"splitPeerReviewItem"});return r.definition.reviewDeadlineOffset||(r.definition.reviewDeadlineOffset=2592e5),e.deadline&&(t.deadline=e.deadline+r.definition.reviewDeadlineOffset),t.contentSummary=r,t}function getIsComplete(e,t){var r=e.itemDeadlineStatus,n=e.contentSummary,a,i;if(getIsReviewPartForSplitPeer(e)&&(n&&n.definition))return(t.getDefinition("reviewCount")||0)>=n.definition.requiredReviewCount;return"COMPLETED"===r}}).call(this,e("sbe7"))},"65wB":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function OnDemandCourseGrades(){return(0,r.default)(this,OnDemandCourseGrades),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(OnDemandCourseGrades,e),OnDemandCourseGrades}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="onDemandCourseGrades.v2",s);exports.default=c},"68W8":function(module,exports,e){},"6pUo":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("dnln")),i=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var o=function Week(e){var t=e.week;return r.createElement("div",{className:"title label-text"},r.createElement(i.FormattedMessage,{message:(0,a.default)("WEEK {week}"),week:t}))};exports.default=o},"7T7m":function(module,exports,e){},"7aPg":function(module,exports,e){var t=e("qak8"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"834k":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function GuidedCourseNextSteps(){return(0,r.default)(this,GuidedCourseNextSteps),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(GuidedCourseNextSteps,e),GuidedCourseNextSteps}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="guidedCourseNextSteps.v1",s);exports.default=c},"87Ia":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getGradableItemsWithoutHonors=getGradableItemsWithoutHonors;var t,r=_interopRequireDefault(e("VYij")),n=e("VC0F");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getGradableItemsWithoutHonors(e){return(0,r.default)(e.modules).chain().map(function(module){return(0,n.getGradableItemsWithoutHonorsInModule)(module)}).flatten().value()}},"8D0q":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.accountDeleted=exports.receivedSuccessfulDisablingTwoFactorAuthenticationResponse=exports.receivedConfirmTwoFactorAuthenticationCodeResponse=exports.receivedInvalidPassword=exports.receivedTwoFactorQRCode=exports.receivedTwoFactorAuthenticationSettings=exports.beganLoadingTwoFactorAuthenticationSettings=exports.beginTwoFactorAuthenticationServerAction=exports.unsubscribedAllEmails=exports.partnerBannerStatusReceived=exports.updatedEmailAddress=exports.updatePasswordFailedInsufficientlyComplex=exports.updateFailedEmailInUse=exports.updateFailed=exports.updateFieldFailed=exports.updateSucceeded=exports.updateStarted=exports.receivedEmailPreferences=exports.receivedCreditCardPreferences=exports.receivedUserSettings=void 0;var t=e("jfMY"),r,n=_interopRequireDefault(e("QKRT"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a={receivedUserSettings:function receivedUserSettings(e){n.default.handleServerAction({type:t.Actions.RECEIVED_USER_SETTINGS,userData:e})},receivedCreditCardPreferences:function receivedCreditCardPreferences(e){n.default.handleServerAction({type:t.Actions.RECEIVED_CREDIT_CARD_PREFERENCES,creditCardPreferences:e})},receivedEmailPreferences:function receivedEmailPreferences(e,r){n.default.handleServerAction({type:t.Actions.RECEIVED_EMAIL_PREFERENCES,notificationPreferences:e,emailPreferences:r})},updateStarted:function updateStarted(e){n.default.handleServerAction({type:t.Actions.UPDATE_STARTED,section:e})},updateSucceeded:function updateSucceeded(e,r){n.default.handleServerAction({type:t.Actions.UPDATE_SUCCEEDED,section:e,data:r})},updateFieldFailed:function updateFieldFailed(e){n.default.handleServerAction({type:t.Actions.UPDATE_FIELD_FAILED,field:e})},updateFailed:function updateFailed(e){n.default.handleServerAction({type:t.Actions.UPDATE_FAILED,section:e})},updateFailedEmailInUse:function updateFailedEmailInUse(e){n.default.handleServerAction({type:t.Actions.UPDATE_FAILED_EMAIL_IN_USE,section:e})},updatePasswordFailedInsufficientlyComplex:function updatePasswordFailedInsufficientlyComplex(e){n.default.handleServerAction({type:t.Actions.UPDATE_PASSWORD_FAILED_INSUFFICIENTLY_COMPLEX,section:e})},updatedEmailAddress:function updatedEmailAddress(e){n.default.handleServerAction({type:t.Actions.UPDATED_EMAIL_ADDRESS,email:e})},partnerBannerStatusReceived:function partnerBannerStatusReceived(e,r){n.default.handleServerAction({type:t.Actions.PARTNER_BANNER_STATUS_RECEIVED,partnerId:e,status:r})},unsubscribedAllEmails:function unsubscribedAllEmails(){n.default.handleServerAction({type:t.Actions.UNSUBSCRIBED_ALL_EMAILS})},beginTwoFactorAuthenticationServerAction:function beginTwoFactorAuthenticationServerAction(){n.default.handleServerAction({type:t.Actions.PERFORMING_TWO_FACTOR_AUTHENTICATION_SERVER_ACTION})},beganLoadingTwoFactorAuthenticationSettings:function beganLoadingTwoFactorAuthenticationSettings(){n.default.handleServerAction({type:t.Actions.LOADING_TWO_FACTOR_AUTHENTICATION_SETTINGS})},receivedTwoFactorAuthenticationSettings:function receivedTwoFactorAuthenticationSettings(e){n.default.handleServerAction({type:t.Actions.RECEIVED_TWO_FACTOR_AUTHENTICATION_SETTINGS,settings:e})},receivedTwoFactorQRCode:function receivedTwoFactorQRCode(e){n.default.handleServerAction({type:t.Actions.RECEIVED_TWO_FACTOR_AUTHENTICATION_QR_CODE,qrCode:e})},receivedInvalidPassword:function receivedInvalidPassword(){n.default.handleServerAction({type:t.Actions.RECEIVED_INVALID_PASSWORD})},receivedConfirmTwoFactorAuthenticationCodeResponse:function receivedConfirmTwoFactorAuthenticationCodeResponse(e){n.default.handleServerAction({type:t.Actions.RECEIVED_TWO_FACTOR_AUTHENTICATION_CODE_CONFIRMATION_RESPONSE,success:e})},receivedSuccessfulDisablingTwoFactorAuthenticationResponse:function receivedSuccessfulDisablingTwoFactorAuthenticationResponse(){n.default.handleServerAction({type:t.Actions.RECEIVED_SUCCESSFUL_DISABLING_TWO_FACTOR_AUTHENTICATION_RESPONSE})},accountDeleted:function accountDeleted(){n.default.handleServerAction({type:t.Actions.ACCOUNT_DELETED})}};exports.default=a;var i=a.receivedUserSettings,o=a.receivedCreditCardPreferences,u=a.receivedEmailPreferences,s=a.updateStarted,l=a.updateSucceeded,d=a.updateFieldFailed,c=a.updateFailed,f=a.updateFailedEmailInUse,p=a.updatePasswordFailedInsufficientlyComplex,m=a.updatedEmailAddress,g=a.partnerBannerStatusReceived,h=a.unsubscribedAllEmails,v=a.beginTwoFactorAuthenticationServerAction,E=a.beganLoadingTwoFactorAuthenticationSettings,D=a.receivedTwoFactorAuthenticationSettings,R=a.receivedTwoFactorQRCode,S=a.receivedInvalidPassword,y=a.receivedConfirmTwoFactorAuthenticationCodeResponse,C=a.receivedSuccessfulDisablingTwoFactorAuthenticationResponse,b=a.accountDeleted;exports.receivedUserSettings=i,exports.receivedCreditCardPreferences=o,exports.receivedEmailPreferences=u,exports.updateStarted=s,exports.updateSucceeded=l,exports.updateFieldFailed=d,exports.updateFailed=c,exports.updateFailedEmailInUse=f,exports.updatePasswordFailedInsufficientlyComplex=p,exports.updatedEmailAddress=m,exports.partnerBannerStatusReceived=g,exports.unsubscribedAllEmails=h,exports.beginTwoFactorAuthenticationServerAction=v,exports.beganLoadingTwoFactorAuthenticationSettings=E,exports.receivedTwoFactorAuthenticationSettings=D,exports.receivedTwoFactorQRCode=R,exports.receivedInvalidPassword=S,exports.receivedConfirmTwoFactorAuthenticationCodeResponse=y,exports.receivedSuccessfulDisablingTwoFactorAuthenticationResponse=C,exports.accountDeleted=b},"8PcL":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c=e("VC0F"),f,p=_interopRequireDefault(e("+uGC")),m,g=_interopRequireDefault(e("vzE2")),h,v=_interopRequireDefault(e("9+Ox")),E=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("+zMR");var D=3,R=function(e){function WeekAssignmentIcons(){return(0,r.default)(this,WeekAssignmentIcons),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(WeekAssignmentIcons,e),WeekAssignmentIcons.prototype.render=function render(){var e=this.props,t=e.week,r=e.weekNumber,n=e.isCurrentWeekBySchedule,a=(0,d.default)(t.modules).chain().map(function(module){return(0,c.getGradableItemsWithoutHonorsInModule)(module).map(function(e){return{item:e,module:module}})}).flatten().value(),i=a.length-3;return s.createElement("div",{className:"rc-WeekAssignmentIcons"},s.createElement("div",{className:"vertical-box"},i>0&&s.createElement("div",{className:"num-hidden-assignments"},"+",i),s.createElement("ol",{className:"nostyle vertical-box"},a.slice(0,3).map(function(e){var t=e.item,module=e.module;return s.createElement(g.default,{key:t.id,item:t,moduleName:module.name})})),s.createElement("div",{className:"label horizontal-box align-items-vertical-center"},s.createElement(E.FormattedMessage,{message:(0,v.default)("Week {weekNumber}"),weekNumber:r}),n&&s.createElement(p.default,null))))},WeekAssignmentIcons}(s.Component);exports.default=R},"8SKt":function(module,exports,e){"use strict";
  /*
  object-assign
  (c) Sindre Sorhus
  @license MIT
  */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function toObject(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc"),t;if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var a={};if("abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},a)).join(""))return!1;return!0}catch(e){return!1}}module.exports=shouldUseNative()?Object.assign:function(e,a){for(var i,o=toObject(e),u,s=1;s<arguments.length;s++){for(var l in i=Object(arguments[s]))r.call(i,l)&&(o[l]=i[l]);if(t){u=t(i);for(var d=0;d<u.length;d++)n.call(i,u[d])&&(o[u[d]]=i[u[d]])}}return o}},"8w2O":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("VYij")),n,a=_interopRequireDefault(e("QKRT")),i,o=_interopRequireDefault(e("jfMY")),u,s=_interopRequireDefault(e("+203"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var l=o.default.Fields,d=o.default.Actions,c=o.default.UpdateStates,f=o.default.TwoFactorAuthenticationStatus,p="en_US",m=null,g=null,h=null,v=null,E=!1,D=null,R=null,S=null,y=null,C=null,b={},P={state:c.IDLE},N={},w=f.UNAVAILABLE,A=[],I=null,q=!1,T=!1,O=r.default.extend({},s.default.prototype,{getTopSection:function getTopSection(){return g},getUser:function getUser(){return m},getUserId:function getUserId(){return m[l.ID]},getFullName:function getFullName(){return m[l.FULL_NAME]},getEmailAddress:function getEmailAddress(){return m[l.EMAIL_ADDRESS]},getLocale:function getLocale(){return m[l.LOCALE]||"en_US"},getTimezone:function getTimezone(){return m[l.TIMEZONE]},getUpdateStatus:function getUpdateStatus(){return P},getInvalidFields:function getInvalidFields(){return S},getUpdatedEmailAddress:function getUpdatedEmailAddress(){return y},getNotificationPreferences:function getNotificationPreferences(){return h},getCreditCardPreferences:function getCreditCardPreferences(){return v},getShowDeleteCreditCardModal:function getShowDeleteCreditCardModal(){return E},getActiveWalletId:function getActiveWalletId(){return D},getEmailPreferences:function getEmailPreferences(){return R},getUnsubscribedAllEmails:function getUnsubscribedAllEmails(){return C},hasPendingChanges:function hasPendingChanges(){return!(0,r.default)(N).isEmpty()},getPartnerBannerStatus:function getPartnerBannerStatus(e){return b[e]},getTwoFactorAuthenticationStatus:function getTwoFactorAuthenticationStatus(){return w},getTwoFactorAuthenticationQRCode:function getTwoFactorAuthenticationQRCode(){return I},getTwoFactorAuthenticationInvalidFields:function getTwoFactorAuthenticationInvalidFields(){return A},isTwoFactorAuthenticationUpdating:function isTwoFactorAuthenticationUpdating(){return q},isAccountDeleted:function isAccountDeleted(){return T}});O.dispatchToken=a.default.register(function(e){var t=e.action;switch(t.type){case d.SET_TOP_SECTION:g=t.section,O.emit("change");break;case d.HIDE_DELETE_CREDIT_CARD_MODAL:E=!1,O.emit("change");break;case d.SHOW_DELETE_CREDIT_CARD_MODAL:E=!0,D=t.walletId,O.emit("change");break;case d.RECEIVED_USER_SETTINGS:m=t.userData,O.emit("change");break;case d.RECEIVED_CREDIT_CARD_PREFERENCES:v=t.creditCardPreferences,O.emit("change");break;case d.RECEIVED_EMAIL_PREFERENCES:R=t.emailPreferences,h=t.notificationPreferences,O.emit("change");break;case d.PARTNER_BANNER_STATUS_RECEIVED:b[t.partnerId]=t.status,O.emit("change");break;case d.RESET_SECTION:P={state:c.IDLE,section:t.section},S=[],y=null,C=null,O.emit("change");break;case d.UPDATE_STARTED:P={state:c.UPDATING,section:t.section},O.emit("change");break;case d.UPDATE_SUCCEEDED:P={state:c.SUCCEEDED,section:t.section},S=[],delete N[t.section],O.emit("change");break;case d.UPDATE_FIELD_FAILED:S.push(t.field);break;case d.UPDATE_PASSWORD_FAILED_INSUFFICIENTLY_COMPLEX:P={state:c.FAILED_NEW_PASSWORD_NOT_SUFFICIENTLY_COMPLEX,section:t.section},O.emit("change");break;case d.UPDATE_FAILED:P={state:c.FAILED,section:t.section},O.emit("change");break;case d.UPDATED_EMAIL_ADDRESS:y=t.email;break;case d.UPDATE_FAILED_EMAIL_IN_USE:P={state:c.FAILED_EMAIL_IN_USE,section:t.section},O.emit("change");break;case d.UNSUBSCRIBED_ALL_EMAILS:C=!0,O.emit("change");break;case d.UPDATE_PENDING_CHANGES_STATUS:N[t.section]=t.isChanged,O.emit("change");break;case d.LOADING_TWO_FACTOR_AUTHENTICATION_SETTINGS:w=f.LOADING,O.emit("change");break;case d.RECEIVED_TWO_FACTOR_AUTHENTICATION_SETTINGS:w=t.settings&&!0===t.settings.details.enabled?f.ENABLED:t.settings&&!1===t.settings.details.enabled?f.DISABLED:f.UNAVAILABLE,O.emit("change");break;case d.ENABLE_TWO_FACTOR_AUTHENTICATION:w=f.ENABLING_CONFIRMING_PASSWORD,O.emit("change");break;case d.RECEIVED_TWO_FACTOR_AUTHENTICATION_QR_CODE:I=t.qrCode,q=!1,w=f.ENABLING_CONFIRMING_CODE,O.emit("change");break;case d.RECEIVED_INVALID_PASSWORD:A=["password"],q=!1,O.emit("change");break;case d.RECEIVED_TWO_FACTOR_AUTHENTICATION_CODE_CONFIRMATION_RESPONSE:t.success?(I=null,q=!1,w=f.ENABLED):(A=["code"],q=!1),O.emit("change");break;case d.CANCEL_TWO_FACTOR_AUTHENTICATION_ACTION:w===f.ENABLING_CONFIRMING_PASSWORD||w===f.ENABLING_CONFIRMING_CODE?(w=f.DISABLED,O.emit("change")):w===f.DISABLING_CONFIRMING_PASSWORD&&(w=f.ENABLED),q=!1,A=[],O.emit("change");break;case d.PERFORMING_TWO_FACTOR_AUTHENTICATION_SERVER_ACTION:q=!0,A=[],O.emit("change");break;case d.DISABLE_TWO_FACTOR_AUTHENTICATION:w=f.DISABLING_CONFIRMING_PASSWORD,O.emit("change");break;case d.RECEIVED_SUCCESSFUL_DISABLING_TWO_FACTOR_AUTHENTICATION_RESPONSE:w=f.DISABLED,q=!1,O.emit("change");break;case d.ACCOUNT_DELETED:T=!0,O.emit("change")}}),exports.default=O},"9+Ox":function(module,exports,e){var t=e("kxLr"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},"9x45":function(module,exports,e){},BDmr:function(module,exports,e){var t=e("LeKw"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},BRnK:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("wO3E")),c,f=_interopRequireDefault(e("dU/J")),p,m=_interopRequireDefault(e("dnln"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function PurchaseCourse(){var t,n,i;(0,r.default)(this,PurchaseCourse);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showModal:!1},n.handleClick=function(){n.setState({showModal:!0})},n.handleClose=function(){n.setState({showModal:!1})},i=t,(0,a.default)(n,i)}return(0,o.default)(PurchaseCourse,e),PurchaseCourse.prototype.render=function render(){var e=this.state.showModal,t=this.props,r=t.courseId,n=t.canSubscribe;return s.createElement("div",{className:"rc-PurchaseCourse"},s.createElement(d.default,{onClick:this.handleClick,className:"button-link certificate-upsell",trackingName:"dashboard_subscription_purchase_button"},n?(0,m.default)("Subscribe"):(0,m.default)("Purchase Course")),e&&s.createElement(f.default,{courseId:r,onClose:this.handleClose}))},PurchaseCourse}(s.Component);exports.default=g},DxuJ:function(module,exports,e){},ELlV:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("VYij")),n,a=_interopRequireDefault(e("Go4P"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function AppDispatcher(){a.default.call(this)};r.default.extend(i.prototype,a.default.prototype),i.prototype.handleServerAction=function(e){this.dispatch({action:e,source:"server"})},i.prototype.handleViewAction=function(e){this.dispatch({action:e,source:"view"})},exports.default=i},ETOr:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("mHwx")),c,f=_interopRequireDefault(e("/SOP")),p,m=_interopRequireDefault(e("lS+i")),g=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var h=function S12nName(e){var t=e.s12nName,r=e.s12nSlug,n;if(e.s12nIsCertificate)return s.default.createElement("a",{href:"/specializations/"+r,target:"_blank"},t);return s.default.createElement("a",{href:"/specializations/"+r,target:"_blank"},s.default.createElement(g.FormattedMessage,{s12nName:t,message:"{s12nName} Specialization"}))},v=function S12nHybridCourseMessage(e){var t=e.s12nName,r=e.s12nSlug,n=e.s12nIsCertificate;return s.default.createElement(g.FormattedMessage,{s12n:s.default.createElement(h,{s12nName:t,s12nSlug:r,s12nIsCertificate:n}),message:(0,m.default)("Good news! You've completed an equivalent course, so you don't \n            need to complete this course to receive credit in the {s12n}.")})},E=function JoinS12nMessage(e){var t=e.s12nName,r=e.s12nSlug,n=e.s12nIsCertificate;return s.default.createElement(g.FormattedMessage,{s12n:s.default.createElement(h,{s12nName:t,s12nSlug:r,s12nIsCertificate:n}),message:(0,m.default)("Like this course? Become an expert by joining the {s12n}.")})},D=function PurchaseCourseMessage(e){var t=e.onClick;return s.default.createElement(g.FormattedMessage,{action:s.default.createElement("button",{className:"button-link",onClick:t,style:{marginLeft:"15px"}},(0,m.default)("Purchase")),message:(0,m.default)("Like what you've learned so far? Purchase \n      this course to advance in the Specialization. {action}")})},R=function(e){function S12nUpsellNotification(){var t,n,i;(0,r.default)(this,S12nUpsellNotification);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showModal:!1},n.handleEnroll=function(){n.setState({showModal:!0})},i=t,(0,a.default)(n,i)}return(0,o.default)(S12nUpsellNotification,e),S12nUpsellNotification.prototype.render=function render(){var e=this,t=this.props.notification.definition,r=t.s12nId,n=t.s12nName,a=t.s12nSlug,i=t.courseId,o=t.isHybridCourse,u=t.isEnrolledInS12n,l=t.isEnrolledInCourse,c=t.s12nIsCertificate,p=this.state.showModal,m=void 0;if(o?m=s.default.createElement(v,{s12nName:n,s12nSlug:a,s12nIsCertificate:c}):l&&(m=u?s.default.createElement(D,{onClick:this.handleEnroll}):s.default.createElement(E,{s12nName:n,s12nSlug:a,s12nIsCertificate:c,onClick:this.handleEnroll})),!m)return null;return s.default.createElement("div",{className:"rc-S12nUpsellNotification"},s.default.createElement(d.default,{trackingName:"s12n_upsell_notification",type:"info",message:m}),p&&s.default.createElement(f.default,{s12nId:r,courseIdOverride:i,showFreeOption:!l,onClose:function onClose(){return e.setState({showModal:!1})}}))},S12nUpsellNotification}(s.default.Component);exports.default=R},EVkW:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("V7oC")),i,o=_interopRequireDefault(e("FYw3")),u,s=_interopRequireDefault(e("mRg0")),l,d=_interopRequireDefault(e("6oCU")),c,f;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function RatingFeedback(t,n,a,i,u){(0,r.default)(this,RatingFeedback);var s=5,l={rating:{value:t,maxValue:5,active:n},comments:a&&!d.default.isEmpty(a)?{generic:a}:{},timestamp:i,id:u};return(0,o.default)(this,e.call(this,l))}return(0,s.default)(RatingFeedback,e),RatingFeedback.prototype.hasComment=function hasComment(){return this.comment&&!d.default.isEmpty(this.comment)},(0,a.default)(RatingFeedback,[{key:"comment",get:function get(){return this.comments&&this.comments.generic}}]),RatingFeedback}(_interopRequireDefault(e("e9c9")).default);exports.default=p},F1Xn:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function OnDemandCourseViewGuidedItemProgressStates(){return(0,r.default)(this,OnDemandCourseViewGuidedItemProgressStates),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(OnDemandCourseViewGuidedItemProgressStates,e),OnDemandCourseViewGuidedItemProgressStates}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="onDemandGuidedItemsProgress.v1",s);exports.default=c},F2dC:function(module,exports,e){var t=e("DxuJ"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},F8VM:function(module,exports,e){},FTmp:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l=e("9A5E"),d,c=_interopRequireDefault(e("MUfn")),f,p=_interopRequireDefault(e("lEg3")),m,g=_interopRequireDefault(e("MgUF")),h=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("18xh");var v=function(e){function UngradedItem(){return(0,r.default)(this,UngradedItem),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(UngradedItem,e),UngradedItem.prototype.render=function render(){var e=this.props,t=e.title,r=e.nextItemLink,n=e.totalDuration,a=e.remainingDuration,i=Math.round((n-a)/n*100);return s.createElement(l.TrackedReactLink,{href:r,trackingName:"week_card_item_type_progress",className:"rc-UngradedItem horizontal-box align-items-vertical-center"},s.createElement("div",{className:"title flex-1"},s.createElement("span",{className:"color-secondary-text"},t)),s.createElement(c.default,{percentComplete:i,innerColor:"#fafafa",backgroundColor:"#DDDDDD"}),s.createElement("div",{className:"time-remaining"},100===i?s.createElement("span",{className:"color-secondary-text"},(0,g.default)("Done")):s.createElement("span",{className:"body-2-text color-primary-text"},s.createElement(h.FormattedMessage,{message:(0,g.default)("{remainingDuration} left"),remainingDuration:p.default.humanizeLearningTime(a)}))))},UngradedItem}(s.Component);exports.default=v},Go4P:function(module,exports,e){var t;void 0===(t=function(require){"use strict";var t=e("KL+U"),r=1,n="ID_";function Dispatcher(){this.$Dispatcher_callbacks={},this.$Dispatcher_isPending={},this.$Dispatcher_isHandled={},this.$Dispatcher_isDispatching=!1,this.$Dispatcher_pendingPayload=null}return Dispatcher.prototype.register=function(e){var t="ID_"+r++;return this.$Dispatcher_callbacks[t]=e,t},Dispatcher.prototype.unregister=function(e){t(this.$Dispatcher_callbacks[e],"Dispatcher.unregister(...): `%s` does not map to a registered callback.",e),delete this.$Dispatcher_callbacks[e]},Dispatcher.prototype.waitFor=function(e){t(this.$Dispatcher_isDispatching,"Dispatcher.waitFor(...): Must be invoked while dispatching.");for(var r=0;r<e.length;r++){var n=e[r];if(this.$Dispatcher_isPending[n]){t(this.$Dispatcher_isHandled[n],"Dispatcher.waitFor(...): Circular dependency detected while waiting for `%s`.",n);continue}t(this.$Dispatcher_callbacks[n],"Dispatcher.waitFor(...): `%s` does not map to a registered callback.",n),this.$Dispatcher_invokeCallback(n)}},Dispatcher.prototype.dispatch=function(e){t(!this.$Dispatcher_isDispatching,"Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch."),this.$Dispatcher_startDispatching(e);try{for(var r in this.$Dispatcher_callbacks){if(this.$Dispatcher_isPending[r])continue;this.$Dispatcher_invokeCallback(r)}}finally{this.$Dispatcher_stopDispatching()}},Dispatcher.prototype.isDispatching=function(){return this.$Dispatcher_isDispatching},Dispatcher.prototype.$Dispatcher_invokeCallback=function(e){this.$Dispatcher_isPending[e]=!0,this.$Dispatcher_callbacks[e](this.$Dispatcher_pendingPayload),this.$Dispatcher_isHandled[e]=!0},Dispatcher.prototype.$Dispatcher_startDispatching=function(e){for(var t in this.$Dispatcher_callbacks)this.$Dispatcher_isPending[t]=!1,this.$Dispatcher_isHandled[t]=!1;this.$Dispatcher_pendingPayload=e,this.$Dispatcher_isDispatching=!0},Dispatcher.prototype.$Dispatcher_stopDispatching=function(){this.$Dispatcher_pendingPayload=null,this.$Dispatcher_isDispatching=!1},Dispatcher}.call(exports,e,exports,module))||(module.exports=t)},IV4Y:function(module,exports,e){},If8s:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function OnDemandInstructorNotes(){return(0,r.default)(this,OnDemandInstructorNotes),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(OnDemandInstructorNotes,e),OnDemandInstructorNotes.byCourse=function byCourse(e,t){return this.finder("byCourse",Object.assign({params:{courseId:e}},t))},OnDemandInstructorNotes.byModule=function byModule(e,t){var r=e.courseId,n=e.moduleId;return this.finder("byModule",Object.assign({params:{courseId:r,moduleId:n}},t))},OnDemandInstructorNotes}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="onDemandInstructorNotes.v1",s);exports.default=c},J0Fs:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireDefault(e("sbe7")),c,f=_interopRequireDefault(e("w/1P")),p,m=_interopRequireDefault(e("37kS"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("cfJ5");var g=(s=u=function(e){function CoursePercentageGrade(){return(0,r.default)(this,CoursePercentageGrade),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(CoursePercentageGrade,e),CoursePercentageGrade.prototype.render=function render(){var e=this.props,t=e.grade,r=e.label,n=e.isPassing,a=e.smallVersion,i=e.showLeftBorder;if(null===t||void 0===t)return null;var o=(0,f.default)("rc-CoursePercentageGrade vertical-box align-items-absolute-center",i?"rc-CoursePercentageGradeLeftBorder":"",{"small-version":a}),u=(0,f.default)("percent-grade headline-6-text",{"color-success":n,"color-danger":!n});return d.default.createElement("div",{className:o},d.default.createElement("div",{className:u},t,"%"),d.default.createElement("div",{className:"grade-label headline-1-text"},(0,m.default)(r)))},CoursePercentageGrade}(d.default.Component),u.propTypes={grade:d.default.PropTypes.number.isRequired,label:d.default.PropTypes.string,isPassing:d.default.PropTypes.bool,smallVersion:d.default.PropTypes.bool,showLeftBorder:d.default.PropTypes.bool},u.defaultProps={label:"Final Course Grade",isPassing:!0,smallVersion:!1},s);exports.default=g},"JAM/":function(module,exports,e){var t=e("K46z"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},JQ0W:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l=e("Bgbc"),d,c=_interopRequireDefault(e("2spd")),f,p=_interopRequireDefault(e("2uu2"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("iwjj");var m=function(e){function WeekCardBody(){return(0,r.default)(this,WeekCardBody),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(WeekCardBody,e),WeekCardBody.prototype.render=function render(){var e=this.props.week;return s.default.createElement(l.Expandable,{hideHeader:!0,isOpened:!0,isFullBleed:!0,hideBorder:!0,rootClassName:"rc-WeekCardBody"},s.default.createElement("div",{className:"body-content"},e.modules.map(function(module){return s.default.createElement("section",{className:"module-section",key:module.id},s.default.createElement("div",{className:"headline-1-text module-title"},module.name),s.default.createElement("div",{className:"progress-section-wrapper horizontal-box wrap"},s.default.createElement(p.default,{className:"flex-4",module:module}),s.default.createElement(c.default,{className:"flex-5",module:module})))})))},WeekCardBody}(s.default.Component);exports.default=m},JSxl:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l=e("6gRZ"),d,c=_interopRequireDefault(e("g21z"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function InstructorImage(){return(0,r.default)(this,InstructorImage),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(InstructorImage,e),InstructorImage.prototype.render=function render(){var e=this.props.instructor,t=e.id,r=e.photo,n=e.fullName,a=s.default.createElement(l.Tooltip,null,n);return s.default.createElement(l.OverlayTrigger,{placement:"top",overlay:a,key:t},s.default.createElement("div",{className:"instructor-image-container"},s.default.createElement(c.default,{width:40,height:40,alt:n,fullName:n,profileImageUrl:r,imgParams:{auto:"fit",fit:"crop"}})))},InstructorImage}(s.default.Component);exports.default=f},JTm5:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("V7oC")),i,o=_interopRequireDefault(e("FYw3")),u,s=_interopRequireDefault(e("mRg0")),l,d,c,f,p,m,g,h,v,E,D,R=e("SYcQ"),S=e("qM3v"),y,C=_interopRequireDefault(e("W3Lk"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _applyDecoratedDescriptor(e,t,r,n,a){var i={};return Object.keys(n).forEach(function(e){i[e]=n[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){return n(e,t,r)||r},i),a&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(a):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}var b=(l=(0,R.requireFields)("role"),d=(0,R.requireFields)("membershipState"),c=(0,R.requireFields)("membershipState"),f=(0,R.requireFields)("membershipState"),p=(0,R.requireFields)("membershipState"),m=(0,R.requireFields)("membershipState"),D=E=function(e){function ProgramMemberships(){return(0,r.default)(this,ProgramMemberships),(0,o.default)(this,e.apply(this,arguments))}return(0,s.default)(ProgramMemberships,e),ProgramMemberships.prototype.isMember=function isMember(){return this.membershipState===S.Member},ProgramMemberships.prototype.isAdmin=function isAdmin(){return"DERIVED_PROGRAM_ADMIN"===this.role||"PROGRAM_ADMIN"===this.role},(0,a.default)(ProgramMemberships,[{key:"isProgramAdmin",get:function get(){return"DERIVED_PROGRAM_ADMIN"===this.role||"PROGRAM_ADMIN"===this.role}},{key:"isNotProgramMember",get:function get(){return this.membershipState===S.NotMember}},{key:"isInvited",get:function get(){return this.membershipState===S.Invited}},{key:"isEmailNotVerified",get:function get(){return this.membershipState===S.EmailNotVerified}},{key:"isWhitelisted",get:function get(){return this.membershipState===S.Whitelisted}},{key:"isProgramMember",get:function get(){return this.membershipState===S.Member}}]),ProgramMemberships}(C.default),E.RESOURCE_NAME="programMemberships.v1",_applyDecoratedDescriptor((v=D).prototype,"isProgramAdmin",[l],Object.getOwnPropertyDescriptor(v.prototype,"isProgramAdmin"),v.prototype),_applyDecoratedDescriptor(v.prototype,"isNotProgramMember",[d],Object.getOwnPropertyDescriptor(v.prototype,"isNotProgramMember"),v.prototype),_applyDecoratedDescriptor(v.prototype,"isInvited",[c],Object.getOwnPropertyDescriptor(v.prototype,"isInvited"),v.prototype),_applyDecoratedDescriptor(v.prototype,"isEmailNotVerified",[f],Object.getOwnPropertyDescriptor(v.prototype,"isEmailNotVerified"),v.prototype),_applyDecoratedDescriptor(v.prototype,"isWhitelisted",[p],Object.getOwnPropertyDescriptor(v.prototype,"isWhitelisted"),v.prototype),_applyDecoratedDescriptor(v.prototype,"isProgramMember",[m],Object.getOwnPropertyDescriptor(v.prototype,"isProgramMember"),v.prototype),v);exports.default=b},JiAh:function(module,exports,e){},Jykp:function(module,exports,e){"use strict";module.exports=e("p/0Y")},K2l7:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("BN6r")),i,o=_interopRequireDefault(e("cfnO")),u,s=_interopRequireDefault(e("dnln")),l=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var d=function SessionEnded(e){var t=e.nextStep.definition,n=t.currentSessionEndedAt,i=t.courseId;return r.createElement("div",{className:"rc-SessionEnded"},r.createElement("div",{className:"next-step-content horizontal-box wrap"},r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},r.createElement(l.FormattedMessage,{message:(0,s.default)("The session ended on {date}"),date:(0,a.default)(n).format("LL")})),r.createElement("div",{className:"body-1-text"},(0,s.default)("That's ok! You can enroll in the next session. Your progress will be saved and you\n              can pick up right where you left off."))),r.createElement(o.default,{courseId:i})))};exports.default=d},K352:function(module,exports,e){},K46z:function(module,exports,e){},K8uz:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("c3yl"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("7aPg");var c=function(e){function ProgressBar(){return(0,r.default)(this,ProgressBar),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(ProgressBar,e),ProgressBar.prototype.render=function render(){for(var e=this.props,t=e.weeks,r=e.numWeeks,n=e.courseId,a=[],i=0;i<r;i+=1)a.push(s.createElement("div",{className:"status-bar",key:"status_"+n+"_"+i},s.createElement(d.default,{week:t[i],weekNumber:i+1,courseId:n})));for(var o=[],u=0;u<r+1;u+=1)o.push(s.createElement("div",{key:"base_"+n+"_"+u,className:"base-bar"}));return s.createElement("div",{className:"rc-ProgressBar"},s.createElement("div",{className:"horizontal-box"},o),s.createElement("div",{className:"horizontal-box"},a))},ProgressBar}(s.Component);exports.default=c},"KL+U":function(module,exports,e){var t;void 0===(t=function(require){"use strict";var e;return function(e,t,r,n,a,i,o,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,a,i,o,u],d=0;s=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return l[d++]}))}throw s.framesToPop=1,s}}}.call(exports,e,exports,module))||(module.exports=t)},"Km/6":function(module,exports,e){var t=e("iVI1"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},Knt5:function(module,exports,e){},Koaw:function(module,exports,e){},KpnV:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("M7yL")),i,o=_interopRequireDefault(e("BRnK")),u,s=_interopRequireDefault(e("pzg6")),l,d=_interopRequireDefault(e("qAUo")),c,f=_interopRequireDefault(e("QqF6")),p,m=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("iNW5");var g=function CourseCompleted(e){var t=e.nextStep.definition,n=t.course,i=t.s12n,u=t.enrolledCourseIds,l=t.canUpgrade,c=t.canUnenroll,p=t.canSubscribe,g=t.canSwitchSession,h=t.canViewCertificate,v=t.canCompleteVerificationProfile;return r.createElement("div",{className:"rc-CourseCompleted"},r.createElement(a.default,{course:n,canUnenroll:c,canSwitchSession:g}),r.createElement("div",{className:"contents vertical-box align-items-absolute-center"},r.createElement("h3",{className:"headline-5-text"},(0,m.default)("Congratulations!")),r.createElement(d.default,{course:n,s12n:i}),v&&r.createElement(f.default,null),l&&r.createElement(o.default,{courseId:n.id,canSubscribe:p}),h&&r.createElement("a",{className:"secondary",target:"_blank",rel:"noopener noreferrer",href:"/accomplishments"},(0,m.default)("View your certificate")),!!i&&!v&&r.createElement("div",null,r.createElement("br",null),r.createElement("span",null,(0,m.default)("Keep going!")))),r.createElement("div",{className:"completed-course-rating horizontal-box align-items-absolute-center"},"undefined"!=typeof window&&r.createElement(s.default,{enrolledCourseIds:u,course:n})))};exports.default=g},L0WV:function(module,exports,e){var t=e("JiAh"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},LILc:function(module,exports,e){var t=e("ll52"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},LeKw:function(module,exports,e){},M7yL:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("sQ/U")),c,f=_interopRequireDefault(e("uZC/")),p,m=_interopRequireDefault(e("0X0l")),g,h=_interopRequireDefault(e("pIuF")),v,E=_interopRequireDefault(e("ZrV/")),D,R=_interopRequireDefault(e("mHOz")),S,y=_interopRequireDefault(e("V9g4"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var C=function(e){function CourseOptions(){var t,n,i;(0,r.default)(this,CourseOptions);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showSessionModal:!1,showUnenrollModal:!1},i=t,(0,a.default)(n,i)}return(0,o.default)(CourseOptions,e),CourseOptions.prototype.render=function render(){var e=this,t=this.state,r=t.showSessionModal,n=t.showUnenrollModal,a=this.props,i=a.course,o=a.course,u=o.id,l=o.slug,c=a.canUnenroll,p=a.canSwitchSession,g=[s.createElement(h.default,{slug:l}),s.createElement(E.default,{canSwitchSession:p,onClick:function onClick(){return e.setState({showSessionModal:!0})}})];return c&&g.push(s.createElement(y.default,{onClick:function onClick(){return e.setState({showUnenrollModal:!0})}})),s.createElement("div",{className:"rc-CourseOptions"},s.createElement(f.default,{listItems:g,iconClassName:"ellipsis-h",toggleClassName:"arrow-icon",dropdownId:"dropdown-"+u}),n&&s.createElement(R.default,{course:i,userId:d.default.get().id,onClose:function onClose(){return e.setState({showUnenrollModal:!1})}}),r&&s.createElement(m.default,{courseId:u,onClose:function onClose(){return e.setState({showSessionModal:!1})}}))},CourseOptions}(s.Component);exports.default=C},MPFf:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.logout=exports.submitNameChangeRequest=exports.updateEmailAddressWithPassword=exports.updateBasicInformation=exports.getGroupedSettings=exports.sortCoursesByName=exports.groupCourses=exports.getPartners=exports.getCourses=exports.getProductOwnerships=exports.mergePreferences=exports.update=exports.preparePreferences=exports.confirmTwoFactorAuthenticationCode=exports.confirmPasswordToEnableTwoFactorAuthentication=exports.loadTwoFactorAuthenticationSettings=exports.confirmPasswordToDisableTwoFactorAuthentication=exports.resetPassword=exports.dismissPartnerBanner=exports.checkPartnerBannerStatus=exports.togglePartnerEmailSubscription=exports.unsubscribeAllEmails=exports.getEmailPreferences=exports.updateEmailPreferences=exports.fetchEmailPreferences=exports.deleteCreditCard=exports.getCreditCardPreferences=exports.fetchCreditCardPreferences=exports.getUserSettings=void 0;var t,r=_interopRequireDefault(e("YEIV")),n,a=_interopRequireDefault(e("BDKN")),i,o=_interopRequireDefault(e("wiyT")),u,s=_interopRequireDefault(e("VYij")),l,d=_interopRequireDefault(e("8D0q")),c,f=_interopRequireDefault(e("jfMY")),p,m=_interopRequireDefault(e("8w2O")),g,h=_interopRequireDefault(e("DnuM")),v,E=_interopRequireDefault(e("VGgr")),D,R=_interopRequireDefault(e("sQ/U")),S=e("h95Q");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var y=f.default.Sections,C=f.default.Fields,b=f.default.FieldGroups,P=f.default.Subscriptions,N=f.default.PartnerBannerStatus,w=f.default.EMAIL_PREFERENCE_LOGO_SIZE,A={email_address:(0,h.default)("/api/userEmails.v1",{type:"rest"}),two_factor_authentication:(0,h.default)("/api/2fa/v1",{type:"rest"}),courses:(0,h.default)("/api/courses.v1",{type:"rest"}),email_preferences:(0,h.default)("/api/notificationPreferences.v2/",{type:"rest"}),banner_view_status:(0,h.default)("/api/onDemandTutorialViews.v1/",{type:"rest"}),partners:(0,h.default)("/api/partners.v1",{type:"rest"}),password:(0,h.default)("/api/password/v1/change",{type:"rest"}),profile:(0,h.default)("/api/profiles.v1",{type:"rest"}),wallet:(0,h.default)("/api/paymentWallets.v1",{type:"rest"}),account_deletion:(0,h.default)("/api/userAccounts.v1",{type:"rest"}),product_ownerships:(0,h.default)("/api/productOwnerships.v1",{type:"rest"}),name_change_request:(0,h.default)("maestro/api/credentials")},I="partnerBannerDismissed",q="Email is already used by another account.",T={getUserSettings:function getUserSettings(e){return(0,o.default)().then(function(){T.fetchCreditCardPreferences(e),T.fetchEmailPreferences(e),T.fetchProductOwnerships(e)})},fetchCreditCardPreferences:function fetchCreditCardPreferences(e){T.getCreditCardPreferences(e).then(function(e){d.default.receivedCreditCardPreferences(e.elements[0])})},getCreditCardPreferences:function getCreditCardPreferences(e){var t=new a.default;return t.addQueryParam("q","findByUser"),t.addQueryParam("userId",e),t.addQueryParam("getLatest","true"),t.addQueryParam("fields","creditCardExpiration,creditCardLastFourDigits,creditCardType,isValid"),(0,o.default)(A[C.WALLET].get(t.toString()))},deleteCreditCard:function deleteCreditCard(e){d.default.updateStarted(y.CREDIT_CARD_DELETE);var t=new a.default(e);return(0,o.default)(A[C.WALLET].delete(t.toString())).then(function(e){d.default.updateSucceeded(y.CREDIT_CARD_DELETE,e)}).catch(function(){d.default.updateFailed(y.CREDIT_CARD_DELETE)})},fetchEmailPreferences:function fetchEmailPreferences(e){T.getEmailPreferences(e).then(function(e){var t=e.elements[0],r=t.courses.preferences,n=(0,s.default)(r).keys(),a=(0,s.default)(t.partners.preferences).keys();if((0,s.default)(a).isEmpty()){var i=T.mergePreferences(t);d.default.receivedEmailPreferences(t,i)}else T.getPartners(a).then(function(e){for(var r=e.elements,a=[],i=70,u=0;u<n.length;u+=70)a.push(T.getCourses(n.slice(u,u+70)));o.default.all(a).then(function(e){var n=[];(0,s.default)(e).map(function(e){n.push(e.elements)}),n=(0,s.default)(n).flatten();var a=T.mergePreferences(t,n,r);d.default.receivedEmailPreferences(t,a)})})})},updateEmailPreferences:function updateEmailPreferences(e,t){var r=R.default.get().id,n=new a.default(r),i=this.preparePreferences(e,t);return d.default.updateStarted(e),(0,o.default)(A[C.EMAIL_PREFERENCES].put(n.toString(),{data:i})).then(function(){d.default.updateSucceeded(e)}).catch(function(){d.default.updateFailed(e)})},getEmailPreferences:function getEmailPreferences(e){var t=new a.default(e);return t.addQueryParam("fields","volunteer"),(0,o.default)(A[C.EMAIL_PREFERENCES].get(t.toString()))},unsubscribeAllEmails:function unsubscribeAllEmails(){var e=this,t=new a.default(R.default.get().id),r=m.default.getNotificationPreferences();return d.default.updateStarted(y.GLOBAL_EMAIL_PREFERENCES),r.global=P.DISABLED,r.promotions.email=P.UNSUBSCRIBED,r.recommendations.email=P.UNSUBSCRIBED,r.volunteer.email=P.UNSUBSCRIBED,(0,s.default)(r.partners.preferences).each(function(e){e.subscriptions.email=P.UNSUBSCRIBED}),(0,s.default)(r.courses.preferences).each(function(e){e.announcements.email=P.UNSUBSCRIBED,e.reminders&&(e.reminders.email=P.UNSUBSCRIBED)}),(0,o.default)(A[C.EMAIL_PREFERENCES].put(t.toString(),{data:r})).then(function(){d.default.updateSucceeded(y.GLOBAL_EMAIL_PREFERENCES),d.default.unsubscribedAllEmails()}).catch(function(){d.default.updateFailed(y.GLOBAL_EMAIL_PREFERENCES)}).done(function(){e.getUserSettings()})},togglePartnerEmailSubscription:function togglePartnerEmailSubscription(e,t,r){var n=this,a={};a[e]={id:e,value:{subscriptions:r}};var i=r?N.SUBSCRIBED:N.UNSUBSCRIBED;T.updateEmailPreferences(y.PARTNER_EMAIL_PREFERENCES,a).done(function(){d.default.partnerBannerStatusReceived(e,i),n.dismissPartnerBanner(t,e,!0)})},checkPartnerBannerStatus:function checkPartnerBannerStatus(e,t){var r=this,n=R.default.get().id,i=new a.default(n+"~"+I+"-"+e+"-"+t);return(0,o.default)(A.banner_view_status.get(i.toString())).then(function(){d.default.partnerBannerStatusReceived(t,N.DISMISSED)}).catch(function(){r.getEmailPreferences(n).then(function(e){var r=e.elements[0],n=r.partners.preferences[t],a=N.SUBSCRIBED;n&&n.subscriptions.email===P.UNSUBSCRIBED&&(a=N.UNSUBSCRIBED),d.default.receivedEmailPreferences(r,null),d.default.partnerBannerStatusReceived(t,a)})})},dismissPartnerBanner:function dismissPartnerBanner(e,t,r){var n=R.default.get().id,i=new a.default(n+"~"+I+"-"+e+"-"+t);return(0,o.default)(A.banner_view_status.put(i.toString())).done(function(){r||d.default.partnerBannerStatusReceived(t,N.DISMISSED)})},resetPassword:function resetPassword(e){if(d.default.updateStarted(y.PASSWORD),e.newPassword===e.retypedPassword){var t=new FormData;return t.append("currentPassword",e.currentPassword),t.append("newPassword",e.newPassword),(0,o.default)(A.password.post("",{contentType:!1,processData:!1,data:t})).then(function(e){d.default.updateSucceeded(y.PASSWORD,e)}).catch(function(e){"Password is not sufficiently complex"===e.responseText?d.default.updatePasswordFailedInsufficientlyComplex(y.PASSWORD):"Incorrect existing password"===e.responseText&&(d.default.updateFieldFailed(C.PASSWORD),d.default.updateFailed(y.PASSWORD))})}d.default.updateFieldFailed(C.NEW_PASSWORD),d.default.updateFailed(y.PASSWORD)},confirmPasswordToDisableTwoFactorAuthentication:function confirmPasswordToDisableTwoFactorAuthentication(e){setTimeout(function(){return d.default.beginTwoFactorAuthenticationServerAction()});var t=new a.default("/disable");return(0,o.default)(A.two_factor_authentication.post(t.toString(),{data:{password:e}})).then(function(e){return d.default.receivedSuccessfulDisablingTwoFactorAuthenticationResponse()}).catch(function(){return d.default.receivedInvalidPassword()}).done()},loadTwoFactorAuthenticationSettings:function loadTwoFactorAuthenticationSettings(){setTimeout(function(){return d.default.beganLoadingTwoFactorAuthenticationSettings()});var e=new a.default("/enabled");return(0,o.default)(A.two_factor_authentication.get(e.toString())).then(function(e){return d.default.receivedTwoFactorAuthenticationSettings(e)}).done()},confirmPasswordToEnableTwoFactorAuthentication:function confirmPasswordToEnableTwoFactorAuthentication(e){setTimeout(function(){return d.default.beginTwoFactorAuthenticationServerAction()});var t=new a.default("/create");return(0,o.default)(A.two_factor_authentication.post(t.toString(),{data:{password:e}})).then(function(e){return d.default.receivedTwoFactorQRCode(e.details.imgSrc)}).catch(function(){return d.default.receivedInvalidPassword()}).done()},confirmTwoFactorAuthenticationCode:function confirmTwoFactorAuthenticationCode(e){setTimeout(function(){return d.default.beginTwoFactorAuthenticationServerAction()});var t=new a.default("/enable");return(0,o.default)(A.two_factor_authentication.post(t.toString(),{data:{code:e}})).then(function(e){return d.default.receivedConfirmTwoFactorAuthenticationCodeResponse(!0)}).catch(function(){return d.default.receivedConfirmTwoFactorAuthenticationCodeResponse(!1)}).done()},preparePreferences:function preparePreferences(e,t){var n=m.default.getNotificationPreferences()||{},a=void 0;switch(n.global=P.ENABLED,e){case y.COURSE_EMAIL_PREFERENCES:a=n.courses?n.courses.preferences:{};break;case y.PARTNER_EMAIL_PREFERENCES:a=n.partners?n.partners.preferences:{};break;case y.COURSERA_EMAIL_PREFERENCES:a=n}return(0,s.default)(t).map(function(t){(0,s.default)(t.value).map(function(n,i){var o=n?P.SUBSCRIBED:P.UNSUBSCRIBED;e===y.COURSERA_EMAIL_PREFERENCES?a[t.id].email=o:a[t.id]?a[t.id][i].email=o:a[t.id]=(0,r.default)({},i,{email:o})})}),n},update:function update(e,t){return(0,o.default)(A[e].post("",{contentType:"application/x-www-form-urlencoded",processData:!0,data:(0,r.default)({},e,t)})).catch(function(t){return d.default.updateFieldFailed(e,t),{type:e,error:t}})},mergePreferences:function mergePreferences(e,t,r){var n={courses:[],partners:[],coursera:{promotions:e.promotions.email===P.SUBSCRIBED,recommendations:e.recommendations.email===P.SUBSCRIBED,volunteer:e.volunteer.email===P.SUBSCRIBED}};return(0,s.default)(e.courses.preferences).map(function(e,a){var i=(0,s.default)(t).where({id:a});if(!(0,s.default)(i).isEmpty()){var o=i[0],u={id:a,value:{announcements:e.announcements.email===P.SUBSCRIBED},name:o.name};if(o.photoUrl&&(u.logo=o.photoUrl+"?h="+w),o.partnerIds){var l=(0,s.default)(r).findWhere({id:o.partnerIds[0]});u.description=l&&l.name}e.reminders&&(u.value.reminders=e.reminders.email===P.SUBSCRIBED),e.discussionForums&&(u.value.discussionForums=e.discussionForums.email===P.SUBSCRIBED),n.courses.push(u)}}),n.courses=this.groupCourses(n.courses),(0,s.default)(e.partners.preferences).map(function(e,t){var a=(0,s.default)(r).where({id:t});if(!(0,s.default)(a).isEmpty()){var i=a[0],o={id:t,value:{subscriptions:e.subscriptions.email===P.SUBSCRIBED},name:i.name};i.squareLogo&&(o.logo=i.squareLogo),n.partners.push(o)}}),n},getProductOwnerships:function getProductOwnerships(){var e=new a.default;return e.addQueryParam("q","getByUser"),e.addQueryParam("id",R.default.get().id),e.addQueryParam("ownsAndExpiredOwnsFilter",!0),(0,o.default)(A.product_ownerships.get(e.toString()))},getCourses:function getCourses(e){if((0,s.default)(e).isEmpty())return(0,o.default)();var t=(new a.default).addQueryParam("ids",e).addQueryParam("fields","photoUrl, partnerIds");return(0,o.default)(A.courses.get(t.toString()))},getPartners:function getPartners(e){if((0,s.default)(e).isEmpty())return(0,o.default)();var t=(new a.default).addQueryParam("ids",e);return(0,o.default)(A.partners.get(t.toString()))},groupCourses:function groupCourses(e){var t=(0,s.default)(e).groupBy(function(e){return 0===e.id.indexOf("v1-")}),r=this.sortCoursesByName(t.false),n=this.sortCoursesByName(t.true);return r.concat(n)},sortCoursesByName:function sortCoursesByName(e){return(0,s.default)(e).sortBy(function(e){return e.name})},getGroupedSettings:function getGroupedSettings(e){var t=[C.FULL_NAME,C.TIMEZONE,C.LOCALE];return e.reduce(function(e,n){return t.includes(n.type)?(e.profile.push(n),e):Object.assign({},e,(0,r.default)({},n.type,n.value))},{profile:[]})},updateBasicInformation:function updateBasicInformation(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,n=this.getGroupedSettings(e);d.default.updateStarted(y.BASIC_INFORMATION),(0,s.default)(n).reduce(function(e,n,a){return a===C.EMAIL_ADDRESS?(r=n,e.then(function(){var e=R.default.get().id;return(0,o.default)(A.email_address.put(e.toString(),{data:{email:r,sendVerificationEmail:!0}}))})):a===b.PROFILE?e.then(function(){if(n.length>0){var e={id:t.userId.toString(),userId:t.userId,externalId:t.externalId,privacy:t.privacy};return n.forEach(function(t){e[t.type]=t.value}),(0,o.default)(A[a].put(t.userId.toString(),{data:e}))}return(0,o.default)()}):e.then((0,s.default)(T.update).partial(a,n))},(0,o.default)()).then(function(e){r&&d.default.updatedEmailAddress(r),d.default.updateSucceeded(y.BASIC_INFORMATION,e)}).catch(function(e){e.responseJSON&&e.responseJSON.errorCode===q?d.default.updateFailedEmailInUse(y.BASIC_INFORMATION):d.default.updateFailed(y.BASIC_INFORMATION)}).done()},updateEmailAddressWithPassword:function updateEmailAddressWithPassword(e,t,r){return(0,o.default)(A.email_address.put(r.toString(),{data:{email:e,password:t,sendVerificationEmail:!0}})).then(function(t){d.default.updatedEmailAddress(e),d.default.updateSucceeded(y.BASIC_INFORMATION,t)}).catch(function(e){if(!e.responseJSON||e.responseJSON.errorCode!==q)throw e;d.default.updateFailedEmailInUse(y.BASIC_INFORMATION)})},submitNameChangeRequest:function submitNameChangeRequest(e){var t=new a.default("/rename_profile");return(0,o.default)(A.name_change_request.post(t.toString(),{data:e}))},logout:function logout(){var e=(0,h.default)((0,S.getActionUrl)("logout",E.default.get("CSRF3-Token")));return(0,o.default)(e.post("",{contentType:"application/x-www-form-urlencoded",processData:!0})).then(function(){d.default.accountDeleted()}).catch().done()}};exports.default=T;var O=T.getUserSettings,M=T.fetchCreditCardPreferences,k=T.getCreditCardPreferences,F=T.deleteCreditCard,U=T.fetchEmailPreferences,x=T.updateEmailPreferences,L=T.getEmailPreferences,W=T.unsubscribeAllEmails,B=T.togglePartnerEmailSubscription,j=T.checkPartnerBannerStatus,G=T.dismissPartnerBanner,V=T.resetPassword,Y=T.confirmPasswordToDisableTwoFactorAuthentication,H=T.loadTwoFactorAuthenticationSettings,z=T.confirmPasswordToEnableTwoFactorAuthentication,Q=T.confirmTwoFactorAuthenticationCode,K=T.preparePreferences,J=T.update,Z=T.mergePreferences,X=T.getProductOwnerships,ee=T.getCourses,te=T.getPartners,re=T.groupCourses,ne=T.sortCoursesByName,ae=T.getGroupedSettings,ie=T.updateBasicInformation,oe=T.updateEmailAddressWithPassword,ue=T.submitNameChangeRequest,se=T.logout;exports.getUserSettings=O,exports.fetchCreditCardPreferences=M,exports.getCreditCardPreferences=k,exports.deleteCreditCard=F,exports.fetchEmailPreferences=U,exports.updateEmailPreferences=x,exports.getEmailPreferences=L,exports.unsubscribeAllEmails=W,exports.togglePartnerEmailSubscription=B,exports.checkPartnerBannerStatus=j,exports.dismissPartnerBanner=G,exports.resetPassword=V,exports.confirmPasswordToDisableTwoFactorAuthentication=Y,exports.loadTwoFactorAuthenticationSettings=H,exports.confirmPasswordToEnableTwoFactorAuthentication=z,exports.confirmTwoFactorAuthenticationCode=Q,exports.preparePreferences=K,exports.update=J,exports.mergePreferences=Z,exports.getProductOwnerships=X,exports.getCourses=ee,exports.getPartners=te,exports.groupCourses=re,exports.sortCoursesByName=ne,exports.getGroupedSettings=ae,exports.updateBasicInformation=ie,exports.updateEmailAddressWithPassword=oe,exports.submitNameChangeRequest=ue,exports.logout=se},MUfn:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireDefault(e("sbe7")),c,f=_interopRequireDefault(e("w/1P"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("lS9C");var p=(s=u=function(e){function ProgressCircle(){return(0,r.default)(this,ProgressCircle),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(ProgressCircle,e),ProgressCircle.prototype.getOuterCircleStyles=function getOuterCircleStyles(){var e=this.props,t=e.percentComplete,r=e.diameter,n=e.arcColor,a=3.6,i=void 0,o=0===this.props.percentComplete?this.props.emptyColor:this.props.backgroundColor,u,s;t<50?i="linear-gradient(90deg, "+o+" 50%, transparent 50%, transparent),\n        linear-gradient("+(90+3.6*t)+"deg, "+n+" 50%, "+o+" 50%, "+o+")":i="linear-gradient("+(3.6*(t-50)-90)+"deg, "+n+" 50%, transparent 50%, transparent),\n          linear-gradient(270deg, "+n+" 50%, "+o+" 50%, "+o+")";return{width:r,height:r,backgroundColor:n,backgroundImage:i}},ProgressCircle.prototype.getInnerCircleStyles=function getInnerCircleStyles(){var e=this.props,t,r,n,a=e.diameter-e.arcWidth;return{width:a,height:a,backgroundColor:e.innerColor}},ProgressCircle.prototype.render=function render(){var e=(0,f.default)("rc-ProgressCircle","outer-circle",this.props.className);return d.default.createElement("div",{className:e,style:this.getOuterCircleStyles()},d.default.createElement("div",{className:"inner-circle",style:this.getInnerCircleStyles()}))},ProgressCircle}(d.default.Component),u.propTypes={percentComplete:d.default.PropTypes.number.isRequired,diameter:d.default.PropTypes.number,arcWidth:d.default.PropTypes.number,arcColor:d.default.PropTypes.string,innerColor:d.default.PropTypes.string,backgroundColor:d.default.PropTypes.string,emptyColor:d.default.PropTypes.string,className:d.default.PropTypes.string},u.defaultProps={diameter:20,arcWidth:4,arcColor:"#1F8354",innerColor:"#FFFFFF",backgroundColor:"#FFFFFF",emptyColor:"#DDDDDD"},s);exports.default=p},MgUF:function(module,exports,e){var t=e("Om1Z"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},Mk0x:function(module,exports,e){var t=e("/NCM"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},NFGF:function(module,exports,e){var t=e("rzIS"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},OVf9:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("CQyo")),i,o=_interopRequireDefault(e("cLJ6")),u,s=_interopRequireDefault(e("ku+6"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var l=function ConfirmVersionChangesModal(e){var t=e.handleConfirm,n=e.handleClose,i=e.changesDescription,u=e.courseId;return r.createElement(a.default,{handleClose:n,modalName:(0,s.default)("Confirm Version Changes")},r.createElement("div",{className:"vertical-box align-items-absolute-center",style:{height:"300px"}},r.createElement(o.default,{handleConfirm:t,changesDescription:i,courseId:u})))};exports.default=l},Om1Z:function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pt":true,"ru":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},PDTV:function(module,exports,e){var t=e("9x45"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},PN7A:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("mHwx"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function GradeDisclaimerNotification(){return(0,r.default)(this,GradeDisclaimerNotification),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(GradeDisclaimerNotification,e),GradeDisclaimerNotification.prototype.render=function render(){var e=this.props.notification.definition.message;return s.createElement("div",{className:"rc-GradeDisclaimerNotification"},s.createElement(d.default,{trackingName:"grade_disclaimer_notification",type:"info",message:e}))},GradeDisclaimerNotification}(s.Component);exports.default=c},PYPp:function(module,exports,e){},PbWl:function(module,exports,e){},Pg5B:function(module,exports,e){},Pwo0:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("QbLZ")),n,a=_interopRequireDefault(e("iCc5")),i,o=_interopRequireDefault(e("FYw3")),u,s=_interopRequireDefault(e("mRg0")),l,d=_interopRequireWildcard(e("sbe7")),c,f=_interopRequireDefault(e("VYij")),p,m=_interopRequireDefault(e("PStO")),g,h=_interopRequireDefault(e("sQ/U")),v,E=_interopRequireDefault(e("jsrg")),D,R=_interopRequireDefault(e("VXRf")),S,y=_interopRequireDefault(e("+LJP")),C,b=_interopRequireDefault(e("tgnq")),P,N=_interopRequireDefault(e("rn0H"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function CourseWeekCards(){return(0,a.default)(this,CourseWeekCards),(0,o.default)(this,e.apply(this,arguments))}return(0,s.default)(CourseWeekCards,e),CourseWeekCards.prototype.componentDidMount=function componentDidMount(){this.props.naptime.refreshData({resources:["guidedCourseWeekCards.v1"]})},CourseWeekCards.prototype.render=function render(){var e=this.props.weeks;return d.createElement("ul",{className:"rc-CourseWeekCards nostyle","data-elementtiming":"ondemand.course-week-cards"},e.map(function(e,t){return d.createElement("li",{key:t+1},d.createElement(b.default,{weekNumber:t+1,week:e}))}))},CourseWeekCards}(d.Component);exports.default=f.default.compose((0,y.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),m.default.createContainer(function(e){var t=e.courseSlug;return{guidedCourseWeekCards:N.default.multiGet([h.default.get().id+"~"+t],{fields:["id","courseId","weeks"]})}}),(0,E.default)(function(e){var t;return 0!==e.guidedCourseWeekCards.length}),(0,R.default)(function(e){var t=e.guidedCourseWeekCards;return(0,r.default)({},t[0])}))(w)},"Q+sy":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("QbLZ")),n,a=_interopRequireDefault(e("CSPP")),i,o=_interopRequireDefault(e("iCc5")),u,s=_interopRequireDefault(e("FYw3")),l,d=_interopRequireDefault(e("mRg0")),c,f,p=(0,a.default)(["\n      query($courseId: String!, $userId: String!) {\n        OnDemandSessionsV1Resource {\n          nextEnrollableSessionsByUserAndCourse(courseId: $courseId, userId: $userId, limit: 3) {\n            elements {\n              id\n              startedAt\n              endedAt\n              enrollmentEndedAt\n            }\n          }\n        }\n        CoursesV1Resource {\n          get(id: $courseId, showHidden: true, includeHiddenS12ns: true, withCorrectBehavior: true) {\n            id\n            slug\n            courseType\n            name\n          }\n        }\n      }\n    "],["\n      query($courseId: String!, $userId: String!) {\n        OnDemandSessionsV1Resource {\n          nextEnrollableSessionsByUserAndCourse(courseId: $courseId, userId: $userId, limit: 3) {\n            elements {\n              id\n              startedAt\n              endedAt\n              enrollmentEndedAt\n            }\n          }\n        }\n        CoursesV1Resource {\n          get(id: $courseId, showHidden: true, includeHiddenS12ns: true, withCorrectBehavior: true) {\n            id\n            slug\n            courseType\n            name\n          }\n        }\n      }\n    "]),m,g=_interopRequireDefault(e("lTCR")),h,v=_interopRequireDefault(e("sbe7")),E=e("VYij"),D,R=_interopRequireDefault(e("6gvX")),S,y=_interopRequireDefault(e("Q7tT")),C,b=_interopRequireDefault(e("3U3/")),P,N=_interopRequireDefault(e("YcUM")),w,A=_interopRequireDefault(e("RwRD")),I=e("hvww"),q,T=_interopRequireDefault(e("CQyo")),O,M=_interopRequireDefault(e("VXRf")),k,F=_interopRequireDefault(e("sQ/U")),U,x=_interopRequireDefault(e("jsrg")),L,W=_interopRequireDefault(e("xJyF")),B,j=_interopRequireDefault(e("ku+6"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("Xfq7");var G=(f=c=function(e){function SessionJoinModal(t,r){(0,o.default)(this,SessionJoinModal);var n=(0,s.default)(this,e.call(this,t,r));return n.handleSessionSwitch=function(e){n.enrollInSession(e)},n.enrollInSession=function(e){(0,I.forceEnroll)(e.sessionId).then(function(){n.setState({showSuccess:!0,enrolledSession:e})}).done()},n.state={showSuccess:!1},n}return(0,d.default)(SessionJoinModal,e),SessionJoinModal.prototype.render=function render(){var e=this.props,t=e.courseHomeLink,r=e.onClose,n=e.upcomingEnrollableSessions,a=e.trackingName,i=e.course,o=e.allowClose,u=this.state,s=u.showSuccess,l=u.enrolledSession,d=!s;return v.default.createElement("div",{className:"rc-SessionSwitchModal"},v.default.createElement(T.default,{allowClose:o,handleClose:r,modalName:(0,j.default)("Pick a session"),trackingName:a},d&&v.default.createElement(N.default,{upcomingEnrollableSessions:n,handleSessionSwitch:this.handleSessionSwitch,isSelfServeSession:!0}),s&&v.default.createElement(A.default,{courseHomeLink:t,courseName:i.name,enrolledSession:l,isSelfServeSession:!0})))},SessionJoinModal}(v.default.Component),c.contextTypes={getStore:v.default.PropTypes.func.isRequired},c.defaultProps={trackingName:"session_switch_modal"},f);exports.default=(0,E.compose)((0,W.default)((0,g.default)(p),{options:function options(e){var t;return{variables:{courseId:e.courseId,userId:F.default.get().id.toString()}}},props:function props(e){var t=e.error,n=e.data,a=n.OnDemandSessionsV1Resource,i=n.CoursesV1Resource;return{error:t,learnerSessions:a&&(0,R.default)(a.nextEnrollableSessionsByUserAndCourse.elements.map(function(e){return(0,r.default)({},e,{sessionId:e.id})})),course:i&&(0,R.default)(i.get)}}}),(0,x.default)(function(e,t){var r=e.learnerSessions,n=e.course,a=e.error;return!!r&&!!n&&!a}),(0,M.default)(function(e){return{upcomingEnrollableSessions:e.learnerSessions,courseHomeLink:e.course.phoenixHomeLink}}))(G)},QKRT:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("ELlV"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.default=new r.default},QMyN:function(module,exports,e){},QOVl:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("QbLZ")),n,a=_interopRequireDefault(e("iCc5")),i,o=_interopRequireDefault(e("FYw3")),u,s=_interopRequireDefault(e("mRg0")),l,d=_interopRequireDefault(e("sbe7")),c,f=_interopRequireDefault(e("VYij")),p=e("MnCE"),m,g=_interopRequireDefault(e("30O4")),h,v=_interopRequireDefault(e("JSxl")),E,D=_interopRequireDefault(e("DH10")),R,S=_interopRequireDefault(e("kwmr")),y,C=_interopRequireDefault(e("Tb//")),b=e("Bgbc"),P=e("DpUQ"),N,w=_interopRequireDefault(e("ZLWr"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("PDTV");var A=250,I=function(e){function InstructorNote(){var t,r,n;(0,a.default)(this,InstructorNote);for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return t=r=(0,o.default)(this,e.call.apply(e,[this].concat(u))),r.state={collapsed:!r.props.userAgent.isMobileBrowser},r.handleToggle=function(){var e=r.state.collapsed;r.setState({collapsed:!e})},n=t,(0,o.default)(r,n)}return(0,s.default)(InstructorNote,e),InstructorNote.prototype.render=function render(){var e=this.state.collapsed,t=this.props,r=t.note,n=t.instructors,a=t.canDismiss,i=t.onDismiss;return d.default.createElement(g.default,{cardSpacing:"cozy",className:"rc-InstructorNote",isInitiallyCollapsed:e,onToggleClick:this.handleToggle,showToggle:r.length>250},a&&d.default.createElement("button",{onClick:i,className:"nostyle dismiss","aria-label":(0,w.default)("Dismiss instructor note")},d.default.createElement(P.SvgClose,{size:24,color:b.color.secondaryText,hoverColor:b.color.black})),n.length>0&&d.default.createElement("div",{className:"horizontal-box align-items-left align-items-vertical-center instructor-profile"},n.map(function(e){return d.default.createElement(v.default,{key:e.id,instructor:e})}),1===n.length&&d.default.createElement("p",{className:"headline-1-text instructor-name"},n[0].fullName)),d.default.createElement("div",{key:(0,f.default)("message_").uniqueId(),dangerouslySetInnerHTML:{__html:r}}))},InstructorNote}(d.default.Component);exports.default=(0,p.compose)((0,S.default)([D.default],function(e,t){return(0,r.default)({},t,{userAgent:e.getUserAgent()})}))(I)},QV6e:function(module,exports,e){var t=e("ygAC"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},QqF6:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var i=function CompleteVerification(){return r.createElement("a",{className:"secondary",href:"/account-settings",target:"_blank",rel:"noopener noreferrer"},(0,a.default)("To receive your certificate, verify your account."))};exports.default=i},R2Ce:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n=e("lEg3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var a=function TimeCommitment(e){var t=e.timeCommitment;return r.createElement("div",{className:"pill-white time-estimate-pill"},(0,n.humanizeLearningTime)(t))};exports.default=a},ReeL:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("aDhS")),c,f=_interopRequireDefault(e("nChC")),p,m=_interopRequireDefault(e("pGKy")),g,h=_interopRequireDefault(e("y308"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("gzco");var v=function(e){function AssignmentRow(){return(0,r.default)(this,AssignmentRow),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentRow,e),AssignmentRow.prototype.render=function render(){var e=this.props,t=e.item,r=e.moduleName;return s.createElement("div",{className:"rc-AssignmentRow horizontal-box"},s.createElement(d.default,{item:t,moduleName:r}),s.createElement(f.default,{item:t}),s.createElement(m.default,{item:t}))},AssignmentRow}(s.Component);exports.default=(0,h.default)(v,{trackingName:"home_assignment_row_course_upsell_cta"})},RzpI:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c,f=_interopRequireDefault(e("QSYF")),p,m=_interopRequireDefault(e("PStO")),g,h=_interopRequireDefault(e("sQ/U")),v,E=_interopRequireDefault(e("VXRf")),D,R=_interopRequireDefault(e("+LJP")),S,y=_interopRequireDefault(e("Q7tT")),C,b=_interopRequireDefault(e("65wB"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var P=function(e){function EndOfCourseNpsModal(){return(0,r.default)(this,EndOfCourseNpsModal),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(EndOfCourseNpsModal,e),EndOfCourseNpsModal.prototype.render=function render(){var e=this.props,t=e.course,r;if(!e.hasPassedCourse)return null;return s.default.createElement(f.default,{showFollowupQuestion:!0,courseId:t.id,feedbackSystem:"NPS_END_OF_COURSE",followupSurveyLink:"https://www.surveymonkey.com/r/FCPMXC2"})},EndOfCourseNpsModal}(s.default.Component);exports.default=d.default.compose((0,R.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),m.default.createContainer(function(e){var t=e.courseSlug;return{course:y.default.bySlug(t,{fields:["id"]})}}),m.default.createContainer(function(e){var t=e.course;return{grade:b.default.get(h.default.get().id+"~"+t.id,{fields:["passingState"]})}}),(0,E.default)(function(e){var t=e.grade;return{hasPassedCourse:!!t&&("passed"===t.passingState||"verifiedPassed"===t.passingState)}}))(P)},SAFg:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l=e("6gRZ"),d,c=_interopRequireDefault(e("EdYf")),f,p=_interopRequireDefault(e("w/1P")),m=e("Bgbc"),g=e("DpUQ"),h,v=_interopRequireDefault(e("MgUF"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("4vkR");var E=function(e){function WeekStatusMarker(){return(0,r.default)(this,WeekStatusMarker),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(WeekStatusMarker,e),WeekStatusMarker.prototype.render=function render(){var e=this.props.status,t="FAILED"===e,r="OVERDUE"===e,n="COMPLETED"===e,a=(0,p.default)("rc-WeekStatusMarker","horizontal-box","align-items-absolute-center"),i=void 0,o=void 0;if(t?(i=s.default.createElement(g.SvgCircleWarning,{fill:m.color.error,size:24}),o=(0,v.default)("Try Again")):r?(i=s.default.createElement(g.SvgClockFilled,{fill:m.color.warning,size:24}),o=(0,v.default)("Overdue")):n&&(i=s.default.createElement(g.SvgCheckSolid,{fill:m.color.success,size:24}),o=(0,v.default)("Great Work!")),!i)return null;var u="week-status-tooltip";return s.default.createElement(l.OverlayTrigger,{placement:"top",delay:500,overlay:s.default.createElement(l.Tooltip,{id:u,role:"tooltip"},o),trigger:["hover","focus"]},s.default.createElement("div",{className:a,"aria-describedby":u},i,s.default.createElement(c.default,{tagName:"span"},o)))},WeekStatusMarker}(s.default.Component);exports.default=E},SU1K:function(module,exports,e){var t=e("rqcf"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},SaZo:function(module,exports,e){},Sh0k:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c,f=_interopRequireDefault(e("PStO")),p,m=_interopRequireDefault(e("jsrg")),g,h=_interopRequireDefault(e("VXRf")),v,E=_interopRequireDefault(e("+LJP")),D=e("jfMY"),R=e("rvKz"),S,y=_interopRequireDefault(e("8w2O")),C,b=_interopRequireDefault(e("dJJt")),P,N=_interopRequireDefault(e("Q7tT")),w,A=_interopRequireDefault(e("0Qso"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var I=D.PartnerBannerStatus.SUBSCRIBED,q=D.PartnerBannerStatus.UNSUBSCRIBED,T=D.PartnerBannerStatus.DISMISSED,O=function(e){function LegacyEmailSubscription(t,n){(0,r.default)(this,LegacyEmailSubscription);var i=(0,a.default)(this,e.call(this,t,n));return i.handleStoreChange=function(){var e=i.props.partnerId;i.setState({status:y.default.getPartnerBannerStatus(e)})},i.handleDismiss=function(){var e=i.props,t=e.courseId,r=e.partnerId;(0,R.dismissPartnerEmailSubscription)(t,r)},i.handleUpdate=function(e){var t=i.props,r=t.courseId,n=t.partnerId;(0,R.togglePartnerEmailSubscription)(n,r,e)},i.state={status:y.default.getPartnerBannerStatus(t.partnerId)},i}return(0,o.default)(LegacyEmailSubscription,e),LegacyEmailSubscription.prototype.componentDidMount=function componentDidMount(){var e=this.props,t=e.courseId,r=e.partnerId;(0,R.getPartnerBannerViewStatus)(t,r),y.default.addListener("change",this.handleStoreChange)},LegacyEmailSubscription.prototype.componentWillUnmount=function componentWillUnmount(){y.default.removeListener("change",this.handleStoreChange)},LegacyEmailSubscription.prototype.render=function render(){var e=this.state.status,t=this.props.partnerName;if(!e||e===T)return null;return s.default.createElement(b.default,{status:e,partnerName:t,onDismiss:this.handleDismiss,onUpdate:this.handleUpdate})},LegacyEmailSubscription}(s.default.Component);exports.default=d.default.compose((0,E.default)(function(e,t){return{courseSlug:e.params.courseSlug}}),f.default.createContainer(function(e){var t=e.courseSlug;return{course:N.default.bySlug(t,{fields:["id"],includes:["partnerIds"]})}}),f.default.createContainer(function(e){var t=e.course;return{partners:A.default.multiGet(t.partnerIds,{fields:["name"]})}}),(0,m.default)(function(e){var t;return!!e.partners}),(0,h.default)(function(e){var t=e.course,r,n=e.partners[0];return{courseId:t.id,partnerId:n.id,partnerName:n.name}}))(O)},TdsV:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("xtGv")),i,o=_interopRequireDefault(e("jKu9")),u=e("kvW3"),s,l=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("wYhx");var d=function WithNoProgress(){return r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},(0,l.default)("Ready to get started?")),r.createElement("div",{className:"body-1-text"},(0,l.default)("It looks like you didn't have a chance to start yet and\n        missed some assignment deadlines.")))},c=function WithProgress(){return r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},(0,l.default)("Pick up where you left off")),r.createElement("div",{className:"body-1-text"},(0,l.default)("Don't let the great things you learned fade away! Reset your deadlines and complete\n      your assignments every week.")))},f=function WithSignificantProgress(e){var t=e.progressPercentage;return r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},(0,l.default)("You can finish this time")),r.createElement("div",{className:"body-1-text"},r.createElement(u.FormattedMessage,{message:(0,l.default)("You've already completed {progressPercentage}% of your course! Reset your\n        deadlines so you can finish the rest!"),progressPercentage:Math.round(t)})))},p=function CourseScheduleAdjustment(e){var t=e.courseId,n=e.nextStep.definition.suggestion,i=new o.default(n),u=i.progressPercentage,s=0===u,l=null!==u&&void 0!==u&&u>50;return r.createElement("div",{className:"rc-CourseScheduleAdjustment"},r.createElement("div",{className:"next-step-content horizontal-box wrap"},s&&r.createElement(d,null),!l&&!s&&r.createElement(c,null),null!==u&&void 0!==u&&l&&r.createElement(f,{progressPercentage:u}),r.createElement(a.default,{size:"sm",type:"primary",trackingName:"sessions_v2_reset_deadlines_next_step",trackingData:{progressPercentage:u},courseId:t,courseScheduleSuggestion:i})))};exports.default=p},U5uW:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("Suiq")),c=e("87Ia"),f,p=_interopRequireDefault(e("q4Ye")),m,g=_interopRequireDefault(e("+uGC")),h,v=_interopRequireDefault(e("9+Ox")),E=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("g1Np");var D=function(e){function WeekStatusIndicator(){var t,n,i;(0,r.default)(this,WeekStatusIndicator);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.showTooltip=function(e){var t=e.target.getBoundingClientRect(),r=t.top+(document.documentElement.scrollTop||document.body.scrollTop),a=n.refs.tooltipContents;a.style.display="block",a.style.visibility="hidden",a.style.position="absolute",a.setAttribute("id",n.getWeekStatusId()),document.body.appendChild(a);var i=8,o=6,u=a.getBoundingClientRect();a.style.top=r-u.height-8+"px",a.style.left=t.left-u.width/2+6+"px",a.style.visibility="visible"},n.hideTooltip=function(){var e=document.body.querySelector("#"+n.getWeekStatusId());e&&document.body.removeChild(e)},i=t,(0,a.default)(n,i)}return(0,o.default)(WeekStatusIndicator,e),WeekStatusIndicator.prototype.getWeekStatusId=function getWeekStatusId(){var e=this.props,t,r;return"course_"+e.courseId+"_"+e.weekNumber},WeekStatusIndicator.prototype.render=function render(){var e=this.props,t=e.courseId,r=e.weekNumber,n=e.weekDeadline,a=e.week,i=e.sessionsV2Enabled;if(0===r)return s.createElement("div",{className:"rc-WeekStatusIndicator vertical-box"},s.createElement("div",{className:"completed"}),s.createElement("div",{className:"label"},!i&&s.createElement(E.FormattedMessage,{message:(0,v.default)("Start {weekDate}"),weekDate:(0,d.default)(n).format("MM/DD")}),i&&(0,v.default)("Start")));if(-1===r)return s.createElement("div",{className:"rc-WeekStatusIndicator vertical-box"},s.createElement("div",{className:"ontrack"}),s.createElement("div",{className:"label"},s.createElement(E.FormattedMessage,{message:(0,v.default)("End {weekDate}"),weekDate:(0,d.default)(n).format("MM/DD")})));if(!a)return null;var o=(0,c.getGradableItemsWithoutHonors)(a);return s.createElement("div",{className:"rc-WeekStatusIndicator vertical-box",onMouseOut:this.hideTooltip,onBlur:this.hideTooltip},s.createElement("div",{className:a.weekStatus.toLowerCase(),onMouseOver:this.showTooltip,onFocus:this.showTooltip}),s.createElement("div",{className:"label"},s.createElement(E.FormattedMessage,{message:(0,v.default)("Week {weekNumber}"),weekNumber:r}),a.isCurrentWeekBySchedule&&s.createElement(g.default,null)),s.createElement("div",{ref:"tooltipContents",className:"gle-tooltip-contents",style:{display:"none"}},s.createElement("div",{className:"item-status-tooltip"},s.createElement("div",{className:"caption-text"},s.createElement(E.FormattedMessage,{message:o.length>0?(0,v.default)("Due {deadline}"):(0,v.default)("No assignments due"),deadline:(0,d.default)(a.deadline).format("MMM DD")})),s.createElement("ul",{className:"nostyle"},o.map(function(e){return s.createElement(p.default,{key:e.id,item:e,courseId:t})})))))},WeekStatusIndicator}(s.Component);exports.default=D},V9g4:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("wO3E")),i,o=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var u=function CourseUnenrollOption(e){var t=e.onClick;return r.createElement(a.default,{className:"nostyle",onClick:t,trackingName:"gle_dropdown_unenroll"},(0,o.default)("Un-enroll from Course"))};exports.default=u},VC0F:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getGradableItemsWithoutHonorsInModule=getGradableItemsWithoutHonorsInModule,exports.hasGradableItemsOnly=hasGradableItemsOnly;var t,r=_interopRequireDefault(e("VYij")),n=e("64Af");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getGradableItemsWithoutHonorsInModule(module){return(0,r.default)(module.items).filter(function(e){return(0,n.getIsGradable)(e)&&!(0,n.getIsHonors)(e)})}function hasGradableItemsOnly(module){return!(0,r.default)(module.items).find(function(e){return!(0,n.getIsGradable)(e)})}},VNmA:function(module,exports,e){var t=e("ueRs"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},VqLG:function(module,exports,e){var t=e("PYPp"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},WiYv:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=exports.GuidedItemProgressState={PassableItemProgressState:"org.coursera.ondemand.guided.itemprogress.PassableItemProgressState",NonPassableItemProgressState:"org.coursera.ondemand.guided.itemprogress.NonPassableItemProgressState"},r=exports.PassableItemStartedStates={PeerStartedState:"org.coursera.ondemand.guided.itemprogress.PeerStartedState",ProgrammingStartedState:"org.coursera.ondemand.guided.itemprogress.ProgrammingStartedState",StaffGradedStartedState:"org.coursera.ondemand.guided.itemprogress.StaffGradedStartedState",DiscussionPromptAssignmentStartedState:"org.coursera.ondemand.guided.itemprogress.DiscussionPromptAssignmentStartedState"},n=exports.GenericPassableItemProgressStates={NotStarted:"NotStarted",Started:"Started",VerifiedPassed:"VerifiedPassed",UnverifiedPassed:"UnverifiedPassed",Failed:"Failed"},a=exports.GenericNonPassableItemProgressStates={NotStarted:"NotStarted",Started:"Started",Completed:"Completed"},i=exports.PeerStartedStates={NotSubmitted:"NotSubmitted",SubmittedNotReviewedOthers:"SubmittedNotReviewedOthers",WaitingForGrading:"WaitingForGrading"},o=exports.StaffGradedStartedStates={NotSubmitted:"NotSubmitted",WaitingForGrading:"WaitingForGrading"},u=exports.DiscussionPromptAssignmentStartedStates={InProgress:"InProgress",GradingStarted:"GradingStarted"},s=exports.ProgrammingStartedStates={NotSubmitted:"NotSubmitted",WaitingForGrading:"WaitingForGrading"},l=exports.WeekStatus={FAILED:"FAILED",OVERDUE:"OVERDUE",ONTRACK:"ONTRACK",COMPLETED:"COMPLETED"},d=exports.ItemStatus={FAILED:"FAILED",OVERDUE:"OVERDUE",ONTRACK:"ONTRACK",COMPLETED:"COMPLETED"}},"Y+iF":function(module,exports,e){},YRQ5:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("SDZF")),l=e("QjDL");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function AlicePageviewEvent(t){var n=t.contextType,i=t.courseBranchId;(0,r.default)(this,AlicePageviewEvent);var o=(0,a.default)(this,e.call(this,{type:l.PAGEVIEW,contextType:n,courseBranchId:i}));return o.id=l.PAGEVIEW+"~"+(n||i),o}return(0,o.default)(AlicePageviewEvent,e),AlicePageviewEvent}(s.default);exports.default=d},YiG2:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n=e("64Af");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var a=function ItemName(e){var t=e.item,a=e.overrideName;return r.createElement("div",{className:"rc-ItemName body-2-text title"},!!a&&a,!a&&(0,n.getFormattedNameWithPrefix)(t))};exports.default=a},"ZrV/":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("wO3E")),i,o=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var u=function CourseSessionOption(e){var t=e.canSwitchSession,n=e.onClick;return r.createElement(a.default,{className:"nostyle",onClick:n,trackingName:"gle_dropdown_session_switch"},t?(0,o.default)("Switch Session"):(0,o.default)("Join Session"))};exports.default=u},a9XQ:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c,f=_interopRequireDefault(e("PStO")),p,m=_interopRequireDefault(e("sQ/U")),g,h=_interopRequireDefault(e("jsrg")),v,E=_interopRequireDefault(e("3Xa9")),D,R=_interopRequireDefault(e("pAFQ")),S,y=_interopRequireDefault(e("834k")),C,b=_interopRequireDefault(e("uBRY")),P,N=_interopRequireDefault(e("Q7tT"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function CourseNextStepContainer(){return(0,r.default)(this,CourseNextStepContainer),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(CourseNextStepContainer,e),CourseNextStepContainer.prototype.componentDidMount=function componentDidMount(){this.props.naptime.refreshData({resources:["guidedCourseNextSteps.v1"]})},CourseNextStepContainer.prototype.render=function render(){var e=this.props,t=e.course.id,r=e.guidedCourseNextSteps,n=e.sessionsV2Enabled,a=r[0].nextStep;return n?s.createElement(R.default,{courseId:t,nextStep:a,sessionsV2Enabled:n}):s.createElement(E.default,{nextStep:a})},CourseNextStepContainer}(s.Component);exports.default=d.default.compose(f.default.createContainer(function(e){var t=e.courseSlug;return{course:N.default.bySlug(t,{fields:["id"]}),guidedCourseNextSteps:y.default.multiGet([m.default.get().id+"~"+t],{fields:["id","nextStep"]}),sessionsV2Enabled:b.default.getSessionsV2EnabledBySlug(t)}}),(0,h.default)(function(e){var t=e.guidedCourseNextSteps;return!!t&&0!==t.length}))(w)},aDhS:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l=e("9A5E"),d=e("64Af"),c,f=_interopRequireDefault(e("kreo")),p,m=_interopRequireDefault(e("MgUF")),g=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("Mk0x");var h=function(e){function AssignmentName(){return(0,r.default)(this,AssignmentName),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentName,e),AssignmentName.prototype.render=function render(){var e=this.props,t=e.item,r=e.moduleName,n=e.courseHasVerification,a=t.name,i=t.lessonGroup,o=t.computedProgressState,u=t.computedOutcome,c="InReview"===o;return s.createElement(l.TrackedReactLink,{href:t.resourcePath,trackingName:"week_card_assignment_name",className:"nostyle rc-AssignmentName assignment-link"},(0,d.getIsReviewPartForSplitPeer)(t)&&s.createElement("div",{className:"vertical-line vertical-line-top"}),(0,d.getIsAssignmentPartForSplitPeer)(t)&&s.createElement("div",{className:"vertical-line vertical-line-bottom"}),s.createElement("div",{className:"horizontal-box"},s.createElement("div",null,s.createElement(f.default,{item:t,style:{marginRight:8}})),s.createElement("div",null,s.createElement("div",{className:"body-2-text"},(0,d.getFormattedTitlePrefix)(t)),s.createElement("div",{className:"item-name"},a),s.createElement("div",{className:"horizontal-box align-items-vertical-center"},!(0,d.getIsReviewPartForSplitPeer)(t)&&s.createElement("div",{className:"body-2-text"},(0,d.getFormattedTimeCommitment)(t)),u&&u.isUnverifiedPassed&&n&&s.createElement("div",{className:"pill-white not-verified-pill"},(0,m.default)("Not Verified")),c&&s.createElement("div",{className:"pill-white"},(0,m.default)("Grading in progress"))),!(0,d.getIsReviewPartForSplitPeer)(t)&&i&&s.createElement("div",{className:"caption-text color-secondary-text"},s.createElement(g.FormattedMessage,{message:"{requiredPassedCount} out of {totalNumberOfAssignmentsAvailable} to be completed for {moduleName}",moduleName:r,requiredPassedCount:i.requiredPassedCount,totalNumberOfAssignmentsAvailable:i.passableItemGroupChoiceIds.length})))))},AssignmentName}(s.Component);exports.default=h},aSNm:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function GuidedCourseSessionProgresses(){return(0,r.default)(this,GuidedCourseSessionProgresses),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(GuidedCourseSessionProgresses,e),GuidedCourseSessionProgresses}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="guidedCourseSessionProgresses.v1",s);exports.default=c},alAY:function(module,exports,e){var t=e("fD4P"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},c3yl:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function WeekBar(){return(0,r.default)(this,WeekBar),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(WeekBar,e),WeekBar.prototype.render=function render(){var e=this.props,t=e.weekNumber,r=e.week,n=r.weekStatus,a=r.previousWeekStatus,i=r.estimateTimeProgress.totalItemsProgress,o=i.totalDuration,u=i.remainingDuration,l=o?u/o:0,d="COMPLETED"===n,c;if((!(t>1)||"COMPLETED"===a)&&(d||l<1)){var f={width:d?"100%":Math.round(100*(1-l))+"%"};return s.createElement("div",{className:"rc-WeekBar",style:f})}return null},WeekBar}(s.Component);exports.default=l},cLJ6:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("sbe7")),n,a=_interopRequireDefault(e("JUgE")),i,o=_interopRequireDefault(e("1wFC")),u=e("Bgbc"),s,l=_interopRequireDefault(e("ku+6"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("3h2j");var d=function BranchSwitchInfo(e){var t=e.changesDescription,n=e.handleConfirm,i=e.courseId,s=(0,o.default)(i)?(0,l.default)("Your instructor has made some changes to the course! Review the information below to learn\n        more. You may need to complete additional assignments to pass the course in this version.\n        If the instructor has removed or altered videos, then your highlights and notes\n        will be preserved, but they may not link back to the original video."):(0,l.default)("Your instructor has made some changes to the course! Review the information below to learn\n        more. You may need to complete additional assignments to pass the course in this version.");return r.default.createElement("div",{className:"rc-BranchSwitchInfo vertical-box flex-1"},r.default.createElement("h3",{className:"title"},(0,l.default)("New in this version")),r.default.createElement("div",null,r.default.createElement("p",{className:"body-1-text"},s),r.default.createElement("p",{className:"body-2-text instructor-note"},(0,l.default)("Note from your instructor:")),r.default.createElement("p",{className:"body-1-text"},r.default.createElement(a.default,{cml:t}))),r.default.createElement("div",{className:"horizontal-box align-items-right wrap"},r.default.createElement(u.Button,{rootClassName:"confirm-button",type:"primary",onClick:n},(0,l.default)("Confirm"))))};exports.default=d},cfJ5:function(module,exports,e){var t=e("lxJx"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},cfnO:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireWildcard(e("sbe7")),c,f=_interopRequireDefault(e("wO3E")),p,m=_interopRequireDefault(e("S//u")),g,h=_interopRequireDefault(e("Q+sy")),v,E=_interopRequireDefault(e("ku+6"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var D=(s=u=function(e){function SessionSwitchButton(){var t,n,i;(0,r.default)(this,SessionSwitchButton);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showModal:!1},n.handleClick=function(){n.setState({showModal:!0})},i=t,(0,a.default)(n,i)}return(0,o.default)(SessionSwitchButton,e),SessionSwitchButton.prototype.render=function render(){var e=this,t=this.props,r=t.courseId,n=t.buttonText,a=t.isSelfServeSession,i=this.state.showModal,o=a?d.createElement(h.default,{onClose:function onClose(){return e.setState({showModal:!1})},courseId:r}):d.createElement(m.default,{onClose:function onClose(){return e.setState({showModal:!1})},courseId:r});return d.createElement("div",{className:"rc-SessionSwitchButton align-self-center"},d.createElement(f.default,{className:"primary cozy",trackingName:"next_step_click",onClick:function onClick(){return e.handleClick()}},n),i&&o)},SessionSwitchButton}(d.Component),u.defaultProps={buttonText:(0,E.default)("Switch Sessions"),isSelfServeSession:!1},s);exports.default=D},dJJt:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("G5J4")),c,f=_interopRequireDefault(e("x5Fl")),p,m=_interopRequireDefault(e("MgUF")),g=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("mtBT");var h=function(e){function EmailSubscription(){return(0,r.default)(this,EmailSubscription),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(EmailSubscription,e),EmailSubscription.prototype.render=function render(){var e=this.props,t=e.status,r=e.partnerName,n=e.onDismiss,a=e.onUpdate,i="subscribed"===t;return s.default.createElement("div",{className:"rc-EmailSubscription"},s.default.createElement("div",{className:"partner-banner-content horizontal-box align-items-vertical-center"},s.default.createElement("p",{className:"partner-subscription-text flex-1"},i&&s.default.createElement(g.FormattedHTMLMessage,{message:(0,m.default)("<strong>Yes</strong>, I’d like to receive email about other programs from <strong>{partnerName}</strong>."),partnerName:r}),!i&&s.default.createElement(g.FormattedHTMLMessage,{message:(0,m.default)("<strong>No</strong>, I don’t want to receive email about other programs from <strong>{partnerName}</strong>."),partnerName:r})),s.default.createElement(f.default,{onToggle:function onToggle(e){a(e===f.default.getStatus().On)},defaultStatus:i?f.default.getStatus().On:f.default.getStatus().Off}),s.default.createElement("i",{tabIndex:"0",role:"button",onClick:n,"aria-label":(0,m.default)("Dismiss"),className:"cif-close dismiss",onKeyPress:function onKeyPress(e){return(0,d.default)(e,n)}})))},EmailSubscription}(s.default.Component);exports.default=h},dQfp:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("VYij")),i,o=_interopRequireDefault(e("L1vm")),u,s=_interopRequireDefault(e("+LJP")),l,d=_interopRequireDefault(e("UZuA")),c,f=_interopRequireDefault(e("EdYf")),p,m=_interopRequireDefault(e("a9XQ")),g,h=_interopRequireDefault(e("Pwo0")),v,E=_interopRequireDefault(e("0ekK")),D,R=_interopRequireDefault(e("3jBl")),S,y=_interopRequireDefault(e("RzpI")),C,b=_interopRequireDefault(e("2FDs")),P,N=_interopRequireDefault(e("Sh0k")),w,A=_interopRequireDefault(e("+6vl")),I,q=_interopRequireDefault(e("4o2h")),T,O=_interopRequireDefault(e("MgUF"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("g/jb");var M=function Welcome(e){var t=e.courseSlug;return r.createElement("div",{className:"rc-Welcome"},r.createElement(d.default,{trackClicks:!1,requireFullyVisible:!1,withVisibilityTracking:!0,trackingName:"guided_course_home"},r.createElement(q.default,null),r.createElement(E.default,null),r.createElement(b.default,null),r.createElement(f.default,{tagName:"h2"},(0,O.default)("Timeline")),r.createElement(R.default,{showAssignmentIcons:!0}),r.createElement(f.default,{tagName:"h2"},(0,O.default)("Next Step")),r.createElement(m.default,{courseSlug:t}),r.createElement(h.default,null),r.createElement(N.default,null),r.createElement(A.default,null),r.createElement(y.default,null)))};exports.default=a.default.compose(o.default.createTrackedContainer(function(e){return{namespace:{page:"home_page"}}}),(0,s.default)(function(e,t){return{courseSlug:e.params.courseSlug}}))(M)},dnln:function(module,exports,e){var t=e("1uIf"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},eKAK:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("SDZF")),l=e("QjDL");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function AliceCourseLectureCompleteEvent(t){var n=t.courseBranchId;(0,r.default)(this,AliceCourseLectureCompleteEvent);var i=(0,a.default)(this,e.call(this,{type:l.COURSE_LECTURE_COMPLETE,courseBranchId:n}));return i.id=l.COURSE_LECTURE_COMPLETE+"~"+n,i}return(0,o.default)(AliceCourseLectureCompleteEvent,e),AliceCourseLectureCompleteEvent}(s.default);exports.default=d},ey6q:function(module,exports,e){},fD4P:function(module,exports,e){},fjOU:function(module,exports,e){},"g/jb":function(module,exports,e){var t=e("Y+iF"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"g/lr":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("SDZF")),l=e("QjDL");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function AliceJustEnrollEvent(t){var n=t.courseBranchId;(0,r.default)(this,AliceJustEnrollEvent);var i=(0,a.default)(this,e.call(this,{type:l.JUST_ENROLL,courseBranchId:n}));return i.id=l.JUST_ENROLL+"~"+n,i}return(0,o.default)(AliceJustEnrollEvent,e),AliceJustEnrollEvent}(s.default);exports.default=d},g1Np:function(module,exports,e){var t=e("Knt5"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},gSSS:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function OnDemandCoursePresentGrades(){return(0,r.default)(this,OnDemandCoursePresentGrades),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(OnDemandCoursePresentGrades,e),OnDemandCoursePresentGrades.getById=function getById(e,t){return this.get(e,t,function(e){return e||{}})},OnDemandCoursePresentGrades}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="onDemandCoursePresentGrades.v1",s);exports.default=c},gYzo:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("SDZF")),l=e("QjDL");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function AliceHiringInterestEvent(t){var n=t.courseBranchId;(0,r.default)(this,AliceHiringInterestEvent);var i=(0,a.default)(this,e.call(this,{type:l.HIRING_INTEREST,courseBranchId:n}));return i.id=l.HIRING_INTEREST+"~"+n,i}return(0,o.default)(AliceHiringInterestEvent,e),AliceHiringInterestEvent}(s.default);exports.default=d},gzco:function(module,exports,e){var t=e("ysEe"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"i/1om":function(module,exports,e){},i6Ub:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("VYij")),c=e("l2sx"),f,p=_interopRequireDefault(e("+LJP")),m,g=_interopRequireDefault(e("ZSQl")),h,v=_interopRequireDefault(e("mHwx")),E=e("KFL6"),D,R=_interopRequireDefault(e("lS+i")),S=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function VerificationRequiredNotification(){var t,n,i;(0,r.default)(this,VerificationRequiredNotification);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.renderNotification=function(e){var t=e.name,r=(0,g.default)(e.contentSummary.typeName,e.trackId,e.contentSummary),n=s.createElement(c.Link,{style:{paddingLeft:"10px"},to:e.resourcePath},(0,R.default)("Retake")),a=s.createElement(S.FormattedMessage,{action:n,prefix:s.createElement("strong",null,"Verification Required: ",r,": ",t),message:(0,R.default)("{prefix} was not verified. Retake with verification to be eligible for a Course Certificate. {action}")});return s.createElement(v.default,{trackingName:"item_verification_required_notification",message:a,type:"warning"})},i=t,(0,a.default)(n,i)}return(0,o.default)(VerificationRequiredNotification,e),VerificationRequiredNotification.prototype.render=function render(){var e=this,t=this.props,r=t.courseSlug,n=t.showSummary,a=t.notification.definition.items,i=s.createElement(c.Link,{style:{paddingLeft:"10px"},to:(0,E.getGradesUrl)(r)},(0,R.default)("Retake"));if(n){var o=s.createElement(S.FormattedMessage,{action:i,itemCount:a.length,prefix:s.createElement("strong",null,"Verification Required:"),message:(0,R.default)("\n            {prefix} {itemCount} of your assignments {itemCount, plural, =1 {was} other {were}} not verified. \n            Retake with verification to be eligible for a Course Certificate. {action}\n          ")});return s.createElement(v.default,{trackingName:"verification_required_notification",message:o,type:"warning"})}return s.createElement("div",{className:"rc-VerificationRequiredNotification"},(0,d.default)(a).map(function(t){return e.renderNotification(t)}))},VerificationRequiredNotification}(s.Component);exports.default=(0,p.default)(function(e){return{courseSlug:e.params.courseSlug}})(y)},iNW5:function(module,exports,e){var t=e("tyWf"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},iVI1:function(module,exports,e){},ii4s:function(module,exports,e){var t=e("F8VM"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},iwjj:function(module,exports,e){var t=e("SaZo"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"jGf+":function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function OnDemandDefaultInstructorNotes(){return(0,r.default)(this,OnDemandDefaultInstructorNotes),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(OnDemandDefaultInstructorNotes,e),OnDemandDefaultInstructorNotes.byCourse=function byCourse(e,t){return this.finder("byCourse",Object.assign({params:{courseId:e}},t))},OnDemandDefaultInstructorNotes.byModule=function byModule(e,t){var r=e.courseId,n=e.moduleId;return this.finder("byModule",Object.assign({params:{courseId:r,moduleId:n}},t))},OnDemandDefaultInstructorNotes}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="onDemandDefaultInstructorNotes.v1",s);exports.default=c},jKu9:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("V7oC")),i,o=_interopRequireDefault(e("VYij"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var u=function(){function CourseScheduleSuggestion(e){(0,r.default)(this,CourseScheduleSuggestion),this._suggestion=e}return CourseScheduleSuggestion.prototype.hasVersionChangeForShiftDeadlinesSuggestion=function hasVersionChangeForShiftDeadlinesSuggestion(){if(this.shiftDeadlines&&this.shiftDeadlines.sessionSwitch&&this.shiftDeadlines.sessionSwitch.branchChange)return!0;return!1},(0,a.default)(CourseScheduleSuggestion,[{key:"extension",get:function get(){if(this.isExtension){if((0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.Extension"))return this._suggestion["org.coursera.ondemand.schedule.Extension"];return this._suggestion["org.coursera.ondemand.schedule.suggestion.Extension"]}return}},{key:"shiftDeadlines",get:function get(){if(this.isShiftDeadlines)return this._suggestion["org.coursera.ondemand.schedule.suggestion.ShiftDeadlines"];return}},{key:"isExtension",get:function get(){return(0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.Extension")||(0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.suggestion.Extension")}},{key:"isNoSuggestion",get:function get(){return(0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.NoSuggestion")||(0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.suggestion.NoSuggestion")}},{key:"isShiftDeadlines",get:function get(){return(0,o.default)(this._suggestion).has("org.coursera.ondemand.schedule.suggestion.ShiftDeadlines")}},{key:"days",get:function get(){if(this.extension&&void 0!==this.extension.days)return this.extension.days;if(this.shiftDeadlines&&this.shiftDeadlines.days)return this.shiftDeadlines.days;return}},{key:"progressPercentage",get:function get(){if(this.extension&&void 0!==this.extension.progressPercentage)return this.extension.progressPercentage;if(this.shiftDeadlines&&this.shiftDeadlines.progressPercentage)return this.shiftDeadlines.progressPercentage;return}},{key:"startsAtForShiftDeadlinesSuggestion",get:function get(){if(this.shiftDeadlines&&this.shiftDeadlines.startsAt)return this.shiftDeadlines.startsAt;return}},{key:"endsAtForShiftDeadlinesSuggestion",get:function get(){if(this.shiftDeadlines&&this.shiftDeadlines.endsAt)return this.shiftDeadlines.endsAt;return}},{key:"changesDescriptionForShiftDeadlinesSuggestion",get:function get(){if(this.shiftDeadlines&&this.shiftDeadlines.sessionSwitch&&this.shiftDeadlines.sessionSwitch.branchChange)return this.shiftDeadlines.sessionSwitch.branchChange.changesDescription;return}},{key:"destinationSessionBranchIdForShiftDeadlinesSuggestion",get:function get(){if(this.shiftDeadlines&&this.shiftDeadlines.sessionSwitch&&this.shiftDeadlines.sessionSwitch["org.coursera.ondemand.session.SuggestedSwitch"])return this.shiftDeadlines.sessionSwitch["org.coursera.ondemand.session.SuggestedSwitch"].destinationSessionBranchId;return}}]),CourseScheduleSuggestion}();exports.default=u},jTI6:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("cfnO")),i,o=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var u=function NotEnoughPeerReviews(e){var t=e.nextStep.definition.courseId;return r.createElement("div",{className:"rc-NotEnoughPeerReviews"},r.createElement("div",{className:"next-step-content horizontal-box wrap"},r.createElement("div",{className:"flex-1 description"},r.createElement("div",{className:"body-2-text title"},(0,o.default)("Need more reviews on your peer assignment?")),r.createElement("div",{className:"body-1-text"},(0,o.default)("You can enroll in the next session. Your progress will be saved and you can\n              pick up right where you left off."))),r.createElement(a.default,{courseId:t})))};exports.default=u},jfMY:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t={CREDIT_CARD_SAFETY_LINK:"https://learner.coursera.help/hc/articles/208280176",EMAIL_PREFERENCE_LOGO_SIZE:64,PARTNER_BANNER_STATUS_RECEIVED:"partnerBannerStatusReceived",Actions:{HIDE_DELETE_CREDIT_CARD_MODAL:"hideDeleteCreditCardModal",SHOW_DELETE_CREDIT_CARD_MODAL:"showDeleteCreditCardModal",RECEIVED_CREDIT_CARD_PREFERENCES:"receivedCreditCardPreferences",RECEIVED_EMAIL_PREFERENCES:"receivedEmailPreferences",RECEIVED_USER_SETTINGS:"receivedUserSettings",RESET_SECTION:"resetSection",UPDATED_EMAIL_ADDRESS:"updatedEmailAddress",UPDATE_FAILED:"updateFailed",UPDATE_FAILED_EMAIL_IN_USE:"updateFailedEmailInUse",UPDATE_FIELD_FAILED:"updateFieldFailed",UPDATE_PASSWORD_FAILED_INSUFFICIENTLY_COMPLEX:"updatePasswordFailedInsufficientlyComplex",UPDATE_STARTED:"updateStarted",UPDATE_SUCCEEDED:"updateSucceeded",UNSUBSCRIBED_ALL_EMAILS:"unsubscribedAllEmails",UPDATE_PENDING_CHANGES_STATUS:"updatePendingChangesStatus",CANCEL_TWO_FACTOR_AUTHENTICATION_ACTION:"cancelTwoFactorAuthenticationAction",DISABLE_TWO_FACTOR_AUTHENTICATION:"disableTwoFactorAuthentication",ENABLE_TWO_FACTOR_AUTHENTICATION:"enableTwoFactorAuthentication",LOAD_TWO_FACTOR_AUTHENTICATION_SETTINGS:"loadTwoFactorAuthenticationSettings",LOADING_TWO_FACTOR_AUTHENTICATION_SETTINGS:"loadingTwoFactorAuthenticationSettings",PERFORMING_TWO_FACTOR_AUTHENTICATION_SERVER_ACTION:"performingTwoFactorAuthenticationServerAction",RECEIVED_INVALID_PASSWORD:"receivedInvalidPassword",RECEIVED_SUCCESSFUL_DISABLING_TWO_FACTOR_AUTHENTICATION_RESPONSE:"receivedSuccessfulDisablingTwoFactorAuthenticationResponse",RECEIVED_TWO_FACTOR_AUTHENTICATION_CODE_CONFIRMATION_RESPONSE:"receivedTwoFactorAuthenticationCodeConfirmationResponse",RECEIVED_TWO_FACTOR_AUTHENTICATION_QR_CODE:"receivedTwoFactorAuthenticationQRCode",RECEIVED_TWO_FACTOR_AUTHENTICATION_SETTINGS:"receivedTwoFactorAuthenticationSettings",ACCOUNT_DELETED:"accountDeleted",SET_TOP_SECTION:"setTopSection"},Fields:{EMAIL_ADDRESS:"email_address",EMAIL_PREFERENCES:"email_preferences",FULL_NAME:"fullName",ID:"id",LOCALE:"locale",NEW_PASSWORD:"new_password",PASSWORD:"password",TIMEZONE:"timezone",WALLET:"wallet"},FieldGroups:{PROFILE:"profile"},PartnerBannerStatus:{DISMISSED:"dismissed",SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},TopSections:{ACCOUNT:"Account",PAYMENT:"Payment",EMAIL:"Email",HIGHLIGHTS:"Highlights"},Sections:{BASIC_INFORMATION:"basicInformation",CREDIT_CARD_DELETE:"creditCardDelete",COURSE_EMAIL_PREFERENCES:"courseEmailPreferences",COURSERA_EMAIL_PREFERENCES:"courseraEmailPreferences",GLOBAL_EMAIL_PREFERENCES:"globalEmailPreferences",PARTNER_EMAIL_PREFERENCES:"partnerEmailPreferences",PASSWORD:"password"},Subscriptions:{DISABLED:"DISABLED",ENABLED:"ENABLED",SUBSCRIBED:"SUBSCRIBED",UNSUBSCRIBED:"UNSUBSCRIBED"},TwoFactorAuthenticationStatus:{DISABLED:"disabled",DISABLING_CONFIRMING_PASSWORD:"disablingConfirmingPasword",ENABLED:"enabled",ENABLING_CONFIRMING_PASSWORD:"enablingConfirmingPassword",ENABLING_CONFIRMING_CODE:"enablingConfirmingCode",LOADING:"loading",UNAVAILABLE:"unavailable"},UpdateStates:{FAILED:"failed",FAILED_NEW_PASSWORD_NOT_SUFFICIENTLY_COMPLEX:"passwordNotComplex",FAILED_EMAIL_IN_USE:"failedEmailInUse",IDLE:"idle",SUCCEEDED:"succeeded",UPDATING:"updating"},PaymentMethodSectionDisplayMode:{ENTER_CARD:"enterCard",VIEW_CURRENT_CARD:"viewCurrentCard"}};exports.default=t;var r=t.CREDIT_CARD_SAFETY_LINK,n=t.EMAIL_PREFERENCE_LOGO_SIZE,a=t.PARTNER_BANNER_STATUS_RECEIVED,i=t.Actions,o=t.Fields,u=t.FieldGroups,s=t.PartnerBannerStatus,l=t.TopSections,d=t.Sections,c=t.Subscriptions,f=t.TwoFactorAuthenticationStatus,p=t.UpdateStates,m=t.PaymentMethodSectionDisplayMode;exports.CREDIT_CARD_SAFETY_LINK=r,exports.EMAIL_PREFERENCE_LOGO_SIZE=n,exports.PARTNER_BANNER_STATUS_RECEIVED=a,exports.Actions=i,exports.Fields=o,exports.FieldGroups=u,exports.PartnerBannerStatus=s,exports.TopSections=l,exports.Sections=d,exports.Subscriptions=c,exports.TwoFactorAuthenticationStatus=f,exports.UpdateStates=p,exports.PaymentMethodSectionDisplayMode=m},k4I1:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireWildcard(e("sbe7")),c=e("l2sx"),f,p=_interopRequireDefault(e("dnln"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var m=function Action(e){var t=e.resourcePath,r=e.pathname,n=e.children,a;if(r.includes("/learn"))return d.createElement(c.Link,{to:t,className:"link-button primary cozy"},n);return d.createElement("a",{href:t,className:"link-button primary cozy"},n)},g=(s=u=function(e){function ItemButton(){return(0,r.default)(this,ItemButton),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(ItemButton,e),ItemButton.prototype.render=function render(){var e=this.props,t=e.item,r=e.overrideLabel,n=this.context.router.location.pathname;return d.createElement("div",{className:"rc-ItemButton align-self-center"},d.createElement(m,{resourcePath:t.resourcePath,pathname:n},!!r&&r,!r&&!t.hasStarted&&(0,p.default)("Start"),!r&&t.hasStarted&&(0,p.default)("Resume")))},ItemButton}(d.Component),u.contextTypes={router:d.PropTypes.object.isRequired},s);exports.default=g},"k6X/":function(module,exports,e){var t=e("o0WZ"),r=t.default?t.default:{},n,a=(0,e("HdzH").default)(r);a.getLocale=function(){return"en"},module.exports=a},kHLH:function(module,exports,e){var t=e("wFeI"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},kOHA:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.adjustSchedule=exports.getByUserIdAndCourseId=void 0;var t,r=_interopRequireDefault(e("wiyT")),n,a=_interopRequireDefault(e("DnuM")),i,o=_interopRequireDefault(e("BDKN")),u=e("PDuk");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=(0,a.default)("/api/learnerCourseSchedules.v1/",{type:"rest"}),l={getByUserIdAndCourseId:function getByUserIdAndCourseId(e,t){var n=(0,u.tupleToStringKey)([e,t]),a=new o.default(n);return(0,r.default)(s.get(a.toString())).then(function(e){return e.elements&&e.elements[0]})},adjustSchedule:function adjustSchedule(e,t,n){var a=(0,u.tupleToStringKey)([e,t]),i=(new o.default).addQueryParam("action","adjust").addQueryParam("id",a),l={"org.coursera.ondemand.schedule.ShiftDeadlinesRequest":{days:n}};return(0,r.default)(s.post(i.toString(),{data:l}))}};exports.default=l;var d=l.getByUserIdAndCourseId,c=l.adjustSchedule;exports.getByUserIdAndCourseId=d,exports.adjustSchedule=c},kreo:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("xImJ")),c=e("Bgbc"),f=e("DpUQ");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("QV6e");var p=function(e){function AssignmentProgressIcon(){return(0,r.default)(this,AssignmentProgressIcon),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentProgressIcon,e),AssignmentProgressIcon.prototype.render=function render(){var e=this.props,t=e.item,r=e.size,n=e.style,a=t.isLocked,i=t.itemDeadlineStatus,o=t.computedProgressState;if(a)return s.createElement(f.SvgLockFilled,{fill:c.color.lightGrayText,size:r,style:n});if("Completed"===o)return s.createElement(f.SvgCheckSolid,{fill:c.color.success,size:24,style:n});if("FAILED"===i)return s.createElement(f.SvgCircleWarning,{fill:c.color.error,size:24,style:n});if("OVERDUE"===i)return s.createElement(f.SvgClockFilled,{fill:c.color.warning,size:24,style:n});return s.createElement(d.default,{size:24,type:t.contentSummary.typeName,style:n})},AssignmentProgressIcon}(s.Component);exports.default=p},kxLr:function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pt":true,"ru":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},lS9C:function(module,exports,e){var t=e("y6tC"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},ll52:function(module,exports,e){},lxJx:function(module,exports,e){},mHOz:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireWildcard(e("sbe7")),c,f=_interopRequireDefault(e("PStO")),p,m=_interopRequireDefault(e("sQ/U")),g,h=_interopRequireDefault(e("wiyT")),v,E=_interopRequireDefault(e("VYij")),D,R=_interopRequireDefault(e("CWYE")),S,y=_interopRequireDefault(e("kVCs")),C,b=_interopRequireDefault(e("/Ajv")),P,N=_interopRequireDefault(e("s48h")),w,A=_interopRequireDefault(e("dnln"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var I=(s=u=function(e){function CourseUnenrollModal(){var t,n,i;(0,r.default)(this,CourseUnenrollModal);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.onUnenrollFromCourse=function(){var e=m.default.get().id,t=n.props,r=t.naptime,a=t.onClose,i=t.course,o=i.id,u=i.courseType;if(["v2.ondemand","v2.capstone"].indexOf(u)>-1)n.context.executeMutation(b.default.delete(e+"~"+o,{body:{}})).then(function(){r.refreshData({resources:["memberships.v1"]}),a()});else{var s=new R.default("/api/enrollments.v1"),l,d=n.context.getStore("NaptimeStore").__getAllFromInternalStorage(y.default);(0,E.default)(d).forEach(function(t){t.courseId===o&&(0,h.default)(s.delete(e+"~"+t.v1SessionId,{body:{}})).then(function(){r.refreshData({resources:["memberships.v1"]}),a()})})}},i=t,(0,a.default)(n,i)}return(0,o.default)(CourseUnenrollModal,e),CourseUnenrollModal.prototype.renderModalBody=function renderModalBody(){return d.createElement("div",null,d.createElement("h2",{className:"headline-4-text"},(0,A.default)("Are you sure you want to un-enroll?")),d.createElement("p",null,(0,A.default)("When you un-enroll, this course will no longer appear on your course dashboard.\n            Your progress will be saved, and you can re-enroll through the catalog if you change your mind.")))},CourseUnenrollModal.prototype.render=function render(){var e=this.props.onClose;return d.createElement(N.default,{modalName:"Un-enroll from Course",closeModal:e,unenrollLink:null,unenrollButtonText:null,handleUnenroll:this.onUnenrollFromCourse},this.renderModalBody())},CourseUnenrollModal}(d.Component),u.contextTypes={executeMutation:d.PropTypes.func.isRequired,getStore:d.PropTypes.func.isRequired},s);exports.default=f.default.createContainer(function(){return{}})(I)},moKP:function(module,exports,e){var t=e("y44U"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},mpgh:function(module,exports,e){var t=e("QMyN"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},mtBT:function(module,exports,e){var t=e("i/1om"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},nChC:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l=e("9A5E"),d=e("C+yd"),c,f=_interopRequireDefault(e("2vyg"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function AssignmentGrade(){return(0,r.default)(this,AssignmentGrade),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentGrade,e),AssignmentGrade.prototype.render=function render(){var e=this.props.item,t=e.gradingLatePenalty,r=e.computedOutcome,n=e.resourcePath,a=r&&void 0!==r.grade;return s.createElement("div",{className:"rc-AssignmentGrade"},a&&s.createElement(l.TrackedReactLink,{className:"nostyle",href:n,trackingName:"week_card_grade"},r&&void 0!==r.grade&&(0,d.getFormattedGrade)(r.grade)),s.createElement(f.default,{gradingLatePenalty:t,computedOutcome:r}))},AssignmentGrade}(s.Component);exports.default=p},o0WZ:function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pseudo":true,"pt":true,"ru":true,"tr":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},olCE:function(module,exports,e){var t=e("PbWl"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},omOm:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("Suiq")),c=e("l2sx"),f,p=_interopRequireDefault(e("+LJP")),m,g=_interopRequireDefault(e("mHwx")),h=e("KFL6"),v,E=_interopRequireDefault(e("lS+i")),D=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var R=function(e){function CertificateExpirationNotification(){return(0,r.default)(this,CertificateExpirationNotification),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(CertificateExpirationNotification,e),CertificateExpirationNotification.prototype.render=function render(){var e=this.props,t=e.courseSlug,r=e.notification.definition.certificateExpirationDate,n=s.createElement(c.Link,{style:{paddingLeft:"10px"},to:(0,h.getGradesUrl)(t)},(0,E.default)("Go to assignments")),a=s.createElement(D.FormattedMessage,{message:(0,E.default)("Your eligibility to earn a certificate in this course expires {relativeTime}. \n          Pass and verify all assignments to earn your certificate. {action}"),action:n,relativeTime:s.createElement("strong",null,(0,d.default)(r).fromNow())});return s.createElement("div",{className:"rc-CertificateExpirationNotification"},s.createElement(g.default,{trackingName:"certificate_expiration_notification",type:"warning",message:a}))},CertificateExpirationNotification}(s.Component);exports.default=(0,p.default)(function(e){return{courseSlug:e.params.courseSlug}})(R)},"p/0Y":function(module,exports,e){"use strict";
  /** @license React v16.1.1
   * react.production.min.js
   *
   * Copyright (c) 2013-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */var r=e("8SKt"),n=e("t33a"),a=e("ohE5");function q(e){for(var t=arguments.length-1,r="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);throw(t=Error(r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.")).name="Invariant Violation",t.framesToPop=1,t}var i={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function t(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||i}function u(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||i}function v(){}t.prototype.isReactComponent={},t.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&q("85"),this.updater.enqueueSetState(this,e,t,"setState")},t.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=t.prototype;var o=u.prototype=new v;function x(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||i}o.constructor=u,r(o,t.prototype),o.isPureReactComponent=!0;var s=x.prototype=new v;s.constructor=x,r(s,t.prototype),s.unstable_isAsyncReactComponent=!0,s.render=function(){return this.props.children};var l={current:null},d=Object.prototype.hasOwnProperty,c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,f={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,r){var n,a={},i=null,o=null;if(null!=t)for(n in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(i=""+t.key),t)d.call(t,n)&&!f.hasOwnProperty(n)&&(a[n]=t[n]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),p=0;p<u;p++)s[p]=arguments[p+2];a.children=s}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===a[n]&&(a[n]=u[n]);return{$$typeof:c,type:e,key:i,ref:o,props:a,_owner:l.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===c}var p="function"==typeof Symbol&&Symbol.iterator,m="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,g="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.portal")||60106;function escape(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}var h=/\/+/g,R=[];function K(e,t,r,n){if(R.length){var a=R.pop();return a.result=e,a.keyPrefix=t,a.func=r,a.context=n,a.count=0,a}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function M(e,t,r,n){var a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||"object"===a&&e.$$typeof===m||"object"===a&&e.$$typeof===g)return r(n,e,""===t?"."+N(e,0):t),1;var i=0;if(t=""===t?".":t+":",Array.isArray(e))for(var o=0;o<e.length;o++){var u=t+N(a=e[o],o);i+=M(a,u,r,n)}else if("function"==typeof(u=p&&e[p]||e["@@iterator"]))for(e=u.call(e),o=0;!(a=e.next()).done;)i+=M(a=a.value,u=t+N(a,o++),r,n);else"object"===a&&q("31","[object Object]"===(r=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":r,"");return i}function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?escape(e.key):t.toString(36)}function O(e,t){e.func.call(e.context,t,e.count++)}function P(e,t,r){var n=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Q(e,n,r,a.thatReturnsArgument):null!=e&&(E(e)&&(t=i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(h,"$&/")+"/")+r,e={$$typeof:c,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),n.push(e))}function Q(e,t,r,n,a){var i="";null!=r&&(i=(""+r).replace(h,"$&/")+"/"),t=K(t,i,n,a),null==e||M(e,"",P,t),L(t)}"function"==typeof Symbol&&Symbol.for&&Symbol.for("react.fragment");var S={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return Q(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;t=K(null,null,t,r),null==e||M(e,"",O,t),L(t)},count:function(e){return null==e?0:M(e,"",a.thatReturnsNull,null)},toArray:function(e){var t=[];return Q(e,t,null,a.thatReturnsArgument),t},only:function(e){return E(e)||q("143"),e}},Component:t,PureComponent:u,unstable_AsyncComponent:x,createElement:D,cloneElement:function(e,t,n){var a=r({},e.props),i=e.key,o=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,u=l.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(p in t)d.call(t,p)&&!f.hasOwnProperty(p)&&(a[p]=void 0===t[p]&&void 0!==s?s[p]:t[p])}var p=arguments.length-2;if(1===p)a.children=n;else if(1<p){s=Array(p);for(var m=0;m<p;m++)s[m]=arguments[m+2];a.children=s}return{$$typeof:c,type:e.type,key:i,ref:o,props:a,_owner:u}},createFactory:function(e){var t=D.bind(null,e);return t.type=e,t},isValidElement:E,version:"16.1.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:l,assign:r}},y=Object.freeze({default:S}),C=y&&S||y;module.exports=C.default?C.default:C},pAFQ:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n=e("kvW3"),a,i=_interopRequireDefault(e("0dhB")),o,u=_interopRequireDefault(e("KpnV")),s,l=_interopRequireDefault(e("TdsV")),d=e("Bgbc"),c,f=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("L0WV");var p=function CourseNextStepV2(e){var t=e.nextStep,a=e.courseId,o=e.sessionsV2Enabled,s=null,c=null,p=null;if("courseCompletedNextStep"===t.typeName)return r.createElement("div",{className:"rc-CourseNextStepV2 card-no-action comfy"},r.createElement(u.default,{nextStep:t}));if("courseMaterialNextStep"===t.typeName){var m=t.definition.currentWeekNumberByProgress;s=r.createElement(i.default,{nextStep:t,sessionsV2Enabled:o}),c=r.createElement(n.FormattedMessage,{message:(0,f.default)("WEEK {week}"),week:m}),p=d.gradient.coursera}else{if("courseScheduleAdjustmentNextStep"!==t.typeName)return null;s=r.createElement(l.default,{courseId:a,nextStep:t}),c=(0,f.default)("Resume"),p=d.gradient.blueberry}return r.createElement("div",{className:"rc-CourseNextStepV2 card-no-action"},r.createElement(d.GradientWrapper,{tag:d.Box,alignItems:"center",flexDirection:"column",justifyContent:"start",gradient:p,style:{padding:"12px 30px",fontWeight:"bold",color:d.color.white}},r.createElement("div",{className:"label-text"},c)),r.createElement("div",{className:"content"},s))};exports.default=p},pGKy:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l=e("64Af"),d=e("9A5E");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function AssignmentDueDate(){return(0,r.default)(this,AssignmentDueDate),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(AssignmentDueDate,e),AssignmentDueDate.prototype.render=function render(){var e=this.props.item,t=(0,l.getFormattedDeadline)(e);if(!t)return null;return s.createElement("div",{className:"rc-AssignmentDueDate"},s.createElement(d.TrackedReactLink,{className:"nostyle",trackingName:"week_card_due_date",href:e.resourcePath},t))},AssignmentDueDate}(s.Component);exports.default=c},pIuF:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n=e("9A5E"),a,i=_interopRequireDefault(e("dnln"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var o=function CourseInfoOption(e){var t=e.slug;return r.createElement(n.TrackedA,{className:"nostyle button-styles",href:"/learn/"+t+"/home/welcome",trackingName:"gle_dropdown_course_info"},(0,i.default)("Course Info"))};exports.default=o},pzg6:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireDefault(e("17x9")),c,f=_interopRequireDefault(e("Jykp")),p,m=_interopRequireDefault(e("EVkW")),g,h=_interopRequireDefault(e("aIIu")),v,E=_interopRequireDefault(e("Q7tT")),D,R=_interopRequireDefault(e("Apzy")),S,y=_interopRequireDefault(e("PStO")),C,b=_interopRequireDefault(e("VYij"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("mpgh");var P=function loadOldCourseRating(){return Promise.all([e.e("allStyles"),e.e("asyncCommonJS"),e.e(76)]).then(e.t.bind(null,"Fg3N",7))},N=(s=u=function(e){function OldCourseRatingAdapter(){var t,n,i;(0,r.default)(this,OldCourseRatingAdapter);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={CourseRating:void 0,ratingFeedback:void 0},i=t,(0,a.default)(n,i)}return(0,o.default)(OldCourseRatingAdapter,e),OldCourseRatingAdapter.prototype.componentDidMount=function componentDidMount(){var e=this,t=this.props.myRatingFeedback;this.setState({ratingFeedback:(0,b.default)(t).isEmpty()||void 0===t?new m.default(0,!1):new m.default(t[0].rating.value,t[0].rating.active,t[0].comments.generic,t[0].timestamp,t[0].id)}),h.default||P().then(function(t){e.setState({CourseRating:t.default})})},OldCourseRatingAdapter.prototype.render=function render(){var e=this.props,t=e.course,r=e.enrolledCourseIds,n=this.state,a=n.CourseRating,i=n.ratingFeedback;if(r&&r.indexOf(t.id)<0)return null;return f.default.createElement("div",{className:"rc-OldCourseRatingAdapter"},a&&i&&f.default.createElement(a,{course:t,ratingFeedback:i}))},OldCourseRatingAdapter}(f.default.Component),u.propTypes={course:d.default.instanceOf(E.default),myRatingFeedback:d.default.arrayOf(d.default.instanceOf(R.default)),enrolledCourseIds:d.default.arrayOf(d.default.string)},s);exports.default=y.default.createContainer(function(e){return e.enrolledCourseIds&&e.enrolledCourseIds.find(function(t){return t===e.course.id})?{myRatingFeedback:R.default.finder("byCourseAndFeedback",{params:{courseIds:[e.course.id],feedbackSystem:"STAR"}})}:{myRatingFeedback:[]}})(N)},q4Ye:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("ZSQl")),c,f=_interopRequireDefault(e("9+Ox"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("kHLH");var p=function(e){function ItemStatus(){return(0,r.default)(this,ItemStatus),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(ItemStatus,e),ItemStatus.prototype.render=function render(){var e=this.props,t=e.courseId,r=e.item,n=t+"_"+r.id,a=void 0;switch(r.contentSummary.typeName){case"ungradedLti":case"gradedLti":a=(0,f.default)("Assignment");break;default:a=(0,d.default)(r.contentSummary.typeName)}return s.createElement("li",{className:"rc-ItemStatus horizontal-box align-items-vertical-center",key:n},s.createElement("div",{className:r.status.toLowerCase()}),s.createElement("div",null,a))},ItemStatus}(s.Component);exports.default=p},qAUo:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("dnln")),i=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var o=function CompletionMessage(e){var t=e.course,n=t.id,o=t.name,u=e.s12n;if(!u)return r.createElement(i.FormattedHTMLMessage,{message:(0,a.default)('<span>You\'ve successfully completed </span><span class="body-2-text">{name}</span>'),name:o});return r.createElement(i.FormattedHTMLMessage,{message:(0,a.default)('\n          <span>You\'ve successfully completed Course {index} of {totalCount}:</span>\n          <span class="body-2-text">{name}</span>\n        '),name:o,index:u.courseIds.indexOf(n)+1,totalCount:u.courseIds.length})};exports.default=o},qak8:function(module,exports,e){},r9Go:function(module,exports,e){var t=e("4dLQ"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},rn0H:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=(s=u=function(e){function GuidedCourseWeekCards(){return(0,r.default)(this,GuidedCourseWeekCards),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(GuidedCourseWeekCards,e),GuidedCourseWeekCards}(_interopRequireDefault(e("W3Lk")).default),u.RESOURCE_NAME="guidedCourseWeekCards.v1",s);exports.default=c},rqcf:function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pseudo":true,"pt":true,"ru":true,"tr":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},rvKz:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.accountDeleted=exports.cancelTwoFactorAuthenticationAction=exports.confirmPasswordToDisableTwoFactorAuthentication=exports.disableTwoFactorAuthentication=exports.confirmTwoFactorAuthenticationCode=exports.confirmPasswordToEnableTwoFactorAuthentication=exports.enableTwoFactorAuthentication=exports.loadTwoFactorAuthenticationSettings=exports.updatePendingChangesStatus=exports.resetSection=exports.unsubscribeAllEmails=exports.dismissPartnerEmailSubscription=exports.getPartnerBannerViewStatus=exports.togglePartnerEmailSubscription=exports.updateEmailPreferences=exports.deleteCreditCard=exports.hideDeleteCreditCardModal=exports.showDeleteCreditCardModal=exports.resetPassword=exports.submitNameChangeRequest=exports.updateEmailAddressWithPassword=exports.updateBasicInformation=exports.fetchCreditCardPreferences=exports.getUserSettings=exports.setTopSection=exports.setUserData=void 0;var t,r=_interopRequireDefault(e("QKRT")),n,a=_interopRequireDefault(e("8D0q")),i,o=_interopRequireDefault(e("jfMY")),u,s=_interopRequireDefault(e("MPFf"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var l=o.default.Actions,d=o.default.Sections,c={setUserData:function setUserData(e){a.default.receivedUserSettings(e)},setTopSection:function setTopSection(e){r.default.handleViewAction({type:l.SET_TOP_SECTION,section:e})},getUserSettings:function getUserSettings(e){s.default.getUserSettings(e)},fetchCreditCardPreferences:function fetchCreditCardPreferences(e){s.default.fetchCreditCardPreferences(e)},updateBasicInformation:function updateBasicInformation(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.resetSection(d.BASIC_INFORMATION),s.default.updateBasicInformation(e,t)},updateEmailAddressWithPassword:function updateEmailAddressWithPassword(e,t,r){return this.resetSection(d.BASIC_INFORMATION),s.default.updateEmailAddressWithPassword(e,t,r)},submitNameChangeRequest:function submitNameChangeRequest(e){return s.default.submitNameChangeRequest(e)},resetPassword:function resetPassword(e){this.resetSection(d.PASSWORD),s.default.resetPassword(e)},showDeleteCreditCardModal:function showDeleteCreditCardModal(e){this.resetSection(d.CREDIT_CARD_DELETE),r.default.handleViewAction({type:l.SHOW_DELETE_CREDIT_CARD_MODAL,walletId:e})},hideDeleteCreditCardModal:function hideDeleteCreditCardModal(){r.default.handleViewAction({type:l.HIDE_DELETE_CREDIT_CARD_MODAL})},deleteCreditCard:function deleteCreditCard(e){this.hideDeleteCreditCardModal(),this.resetSection(d.CREDIT_CARD_DELETE),s.default.deleteCreditCard(e)},updateEmailPreferences:function updateEmailPreferences(e,t){this.resetSection(e),s.default.updateEmailPreferences(e,t)},togglePartnerEmailSubscription:function togglePartnerEmailSubscription(e,t,r){s.default.togglePartnerEmailSubscription(e,t,r)},getPartnerBannerViewStatus:function getPartnerBannerViewStatus(e,t){s.default.checkPartnerBannerStatus(e,t)},dismissPartnerEmailSubscription:function dismissPartnerEmailSubscription(e,t){s.default.dismissPartnerBanner(e,t,!1)},unsubscribeAllEmails:function unsubscribeAllEmails(){s.default.unsubscribeAllEmails()},resetSection:function resetSection(e){r.default.handleViewAction({type:l.RESET_SECTION,section:e})},updatePendingChangesStatus:function updatePendingChangesStatus(e,t){r.default.handleViewAction({type:l.UPDATE_PENDING_CHANGES_STATUS,section:e,isChanged:t})},loadTwoFactorAuthenticationSettings:function loadTwoFactorAuthenticationSettings(){s.default.loadTwoFactorAuthenticationSettings()},enableTwoFactorAuthentication:function enableTwoFactorAuthentication(){r.default.handleViewAction({type:l.ENABLE_TWO_FACTOR_AUTHENTICATION})},confirmPasswordToEnableTwoFactorAuthentication:function confirmPasswordToEnableTwoFactorAuthentication(e){s.default.confirmPasswordToEnableTwoFactorAuthentication(e)},confirmTwoFactorAuthenticationCode:function confirmTwoFactorAuthenticationCode(e){s.default.confirmTwoFactorAuthenticationCode(e)},disableTwoFactorAuthentication:function disableTwoFactorAuthentication(){r.default.handleViewAction({type:l.DISABLE_TWO_FACTOR_AUTHENTICATION})},confirmPasswordToDisableTwoFactorAuthentication:function confirmPasswordToDisableTwoFactorAuthentication(e){s.default.confirmPasswordToDisableTwoFactorAuthentication(e)},cancelTwoFactorAuthenticationAction:function cancelTwoFactorAuthenticationAction(){r.default.handleViewAction({type:l.CANCEL_TWO_FACTOR_AUTHENTICATION_ACTION})},accountDeleted:function accountDeleted(){s.default.logout()}};exports.default=c;var f=c.setUserData,p=c.setTopSection,m=c.getUserSettings,g=c.fetchCreditCardPreferences,h=c.updateBasicInformation,v=c.updateEmailAddressWithPassword,E=c.submitNameChangeRequest,D=c.resetPassword,R=c.showDeleteCreditCardModal,S=c.hideDeleteCreditCardModal,y=c.deleteCreditCard,C=c.updateEmailPreferences,b=c.togglePartnerEmailSubscription,P=c.getPartnerBannerViewStatus,N=c.dismissPartnerEmailSubscription,w=c.unsubscribeAllEmails,A=c.resetSection,I=c.updatePendingChangesStatus,q=c.loadTwoFactorAuthenticationSettings,T=c.enableTwoFactorAuthentication,O=c.confirmPasswordToEnableTwoFactorAuthentication,M=c.confirmTwoFactorAuthenticationCode,k=c.disableTwoFactorAuthentication,F=c.confirmPasswordToDisableTwoFactorAuthentication,U=c.cancelTwoFactorAuthenticationAction,x=c.accountDeleted;exports.setUserData=f,exports.setTopSection=p,exports.getUserSettings=m,exports.fetchCreditCardPreferences=g,exports.updateBasicInformation=h,exports.updateEmailAddressWithPassword=v,exports.submitNameChangeRequest=E,exports.resetPassword=D,exports.showDeleteCreditCardModal=R,exports.hideDeleteCreditCardModal=S,exports.deleteCreditCard=y,exports.updateEmailPreferences=C,exports.togglePartnerEmailSubscription=b,exports.getPartnerBannerViewStatus=P,exports.dismissPartnerEmailSubscription=N,exports.unsubscribeAllEmails=w,exports.resetSection=A,exports.updatePendingChangesStatus=I,exports.loadTwoFactorAuthenticationSettings=q,exports.enableTwoFactorAuthentication=T,exports.confirmPasswordToEnableTwoFactorAuthentication=O,exports.confirmTwoFactorAuthenticationCode=M,exports.disableTwoFactorAuthentication=k,exports.confirmPasswordToDisableTwoFactorAuthentication=F,exports.cancelTwoFactorAuthenticationAction=U,exports.accountDeleted=x},rzIS:function(module,exports,e){"use strict";exports.default={"ar":true,"de":true,"es":true,"fr":true,"ja":true,"ko":true,"pt":true,"ru":true,"tr":true,"zh":true,"zh-hk":"zh-tw","zh-mo":"zh-tw","zh-tw":true}},s48h:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireDefault(e("SU1K")),c,f=_interopRequireDefault(e("sbe7")),p,m=_interopRequireDefault(e("CQyo"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("VqLG");var g=(s=u=function(e){function UnenrollConfirmationModal(){var t,n,i;(0,r.default)(this,UnenrollConfirmationModal);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.onUnenroll=function(e){e.preventDefault(),n.props.handleUnenroll()},i=t,(0,a.default)(n,i)}return(0,o.default)(UnenrollConfirmationModal,e),UnenrollConfirmationModal.prototype.render=function render(){var e=this.props,t=e.modalName,r=e.closeModal,n=e.handleUnenroll,a=e.unenrollLink,i,o=e.unenrollButtonText||(0,d.default)("Yes, un-enroll");return f.default.createElement(m.default,{modalName:t,handleClose:r,className:"rc-UnenrollConfirmationModal vertical-box"},f.default.createElement("div",{className:"modal-content vertical-box"},f.default.createElement("div",{className:"flex-1"},this.props.children),f.default.createElement("section",{className:"button-container"},f.default.createElement("button",{className:"passive",onClick:r},(0,d.default)("Cancel")),a&&f.default.createElement("a",{className:"link-button primary",href:a},o),n&&f.default.createElement("button",{onClick:this.onUnenroll,className:"primary"},o))))},UnenrollConfirmationModal}(f.default.Component),u.propTypes={modalName:f.default.PropTypes.string,closeModal:f.default.PropTypes.func.isRequired,handleUnenroll:f.default.PropTypes.func,unenrollLink:f.default.PropTypes.string,unenrollButtonText:f.default.PropTypes.string,children:f.default.PropTypes.node},s);exports.default=g},sOAJ:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=e("WiYv"),r,n=_interopRequireDefault(e("37kS"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.default=function(e){switch(e){case t.ItemStatus.COMPLETED:return(0,n.default)("Passed");case t.ItemStatus.FAILED:return(0,n.default)("Try again");case t.ItemStatus.OVERDUE:return(0,n.default)("Overdue");default:return""}}},t5s1:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("sbe7")),n,a=_interopRequireDefault(e("37kS"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("Km/6");var i=function UserVerificationRequiredNotification(){var e=(0,a.default)("Verify"),t="/account-settings",n=(0,a.default)("To earn your certificate,\n        please verify your account.");return r.default.createElement("div",{className:"rc-UserVerificationRequiredNotification"},r.default.createElement("div",{className:"horizontal-box"},r.default.createElement("div",{className:"flex-1"},r.default.createElement("div",{className:"banner-message-container"},n)),r.default.createElement("div",null,r.default.createElement("a",{className:"link-button primary verification-button",href:t,target:"_blank",rel:"noopener noreferrer"},e))))};exports.default=i},tRvr:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("Suiq")),c,f=_interopRequireDefault(e("mHwx")),p=e("0UTs"),m,g=_interopRequireDefault(e("bZp4")),h=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function S12nUpgradeNotification(){var t,n,i;(0,r.default)(this,S12nUpgradeNotification);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={dismissedNotifications:[]},n.handleDismiss=function(e){var t=n.props.notification.definition.upgradePreferences,r=e.newS12nId,a=(0,p.getUpgradePreferenceMap)(t)||{},i=JSON.parse(JSON.stringify(a));i[r]=Object.assign({},i[r],{dismissedTime:(0,d.default)().valueOf()}),g.default.set(g.default.keyEnum.S12N_UPGRADE,{upgradePreferenceMap:i}).then(function(e){n.hideNotification(r)}).fail(function(e){n.hideNotification(r)}).done()},n.hideNotification=function(e){var t=n.state.dismissedNotifications;n.setState({dismissedNotifications:[].concat(t,[e])})},n.isDismissed=function(e){return-1!==n.state.dismissedNotifications.indexOf(e)},n.renderSingleNotification=function(e){var t=e.name,r=e.newS12nId,a=e.oldS12nId,i=(0,p.getNotificationConfig)(e),o="/learn/specialization/upgrade/"+a+":"+r;return s.default.createElement(f.default,{key:t,type:i.type,message:s.default.createElement(h.FormattedMessage,{message:i.htmlMessage,actionLabel:s.default.createElement("a",{href:o,style:{marginLeft:"8px"}},i.actionLabel)}),isDismissible:"info"!==i.type,trackingName:"s12n_upgrade_notification",onDismiss:function onDismiss(){return n.handleDismiss(e)}})},i=t,(0,a.default)(n,i)}return(0,o.default)(S12nUpgradeNotification,e),S12nUpgradeNotification.prototype.render=function render(){var e=this,t=this.props.notification.definition.s12nUpdates;return s.default.createElement("div",{className:"rc-S12nUpgradeNotification"},t.filter(function(t){return!e.isDismissed(t.newS12nId)}).map(function(t){return e.renderSingleNotification(t)}))},S12nUpgradeNotification}(s.default.Component);exports.default=v},tgnq:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("EdYf")),c,f=_interopRequireDefault(e("UZuA")),p,m=_interopRequireDefault(e("JQ0W")),g,h=_interopRequireDefault(e("2+8w")),v,E=_interopRequireDefault(e("MgUF")),D=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("VNmA");var R=function(e){function WeekCard(t){(0,r.default)(this,WeekCard);var n=(0,a.default)(this,e.call(this,t));return n.toggleCollapse=function(){n.setState({isCollapsed:!n.state.isCollapsed})},n.state={isCollapsed:"COMPLETED"===t.week.weekStatus},n}return(0,o.default)(WeekCard,e),WeekCard.prototype.render=function render(){var e=this.props,t=e.week,r=e.weekNumber,n=this.state.isCollapsed;return s.createElement(f.default,{trackingName:"home_week_card",withVisibilityTracking:!0,className:"rc-WeekCard card-rich-interaction",role:"region","aria-label":(0,E.default)("Week #{weekNumber} summary",{weekNumber:r})},s.createElement(d.default,{tagName:"h2"},s.createElement(D.FormattedMessage,{message:(0,E.default)("Week {weekNumber} information"),weekNumber:r})),s.createElement(h.default,{week:t,weekNumber:r,isCollapsed:n,onToggleCollapse:this.toggleCollapse}),!n&&s.createElement(m.default,{week:t,weekNumber:r}))},WeekCard}(s.Component);exports.default=R},tjKw:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("FTmp"));function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function UngradedItemContainer(){return(0,r.default)(this,UngradedItemContainer),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(UngradedItemContainer,e),UngradedItemContainer.prototype.render=function render(){var e=this.props,t=e.title,r=e.progress,n=r.remainingDuration,a=r.totalDuration,i=r.nextItem;if(!a)return null;return s.createElement(d.default,{title:t,totalDuration:a,nextItemLink:i.resourcePath,remainingDuration:n})},UngradedItemContainer}(s.Component);exports.default=c},tyWf:function(module,exports,e){},ueRs:function(module,exports,e){},vzE2:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l,d=_interopRequireDefault(e("w/1P")),c,f=_interopRequireDefault(e("BN6r")),p=e("6gRZ"),m,g=_interopRequireDefault(e("ZSQl")),h,v=_interopRequireDefault(e("sOAJ")),E,D=_interopRequireDefault(e("kreo")),R,S=_interopRequireDefault(e("9+Ox")),y=e("kvW3");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("r9Go");var C=function(e){function TooltipAssignmentProgressIcon(){return(0,r.default)(this,TooltipAssignmentProgressIcon),(0,a.default)(this,e.apply(this,arguments))}return(0,o.default)(TooltipAssignmentProgressIcon,e),TooltipAssignmentProgressIcon.prototype.render=function render(){var e=this.props,t=e.item,r=e.moduleName,n=t.name,a=t.deadline,i=t.contentSummary,o=t.trackId,u=t.itemDeadlineStatus,l=t.lessonGroup,c=(0,d.default)("progress-indicator",u.toLowerCase()),m=(0,v.default)(u),h=(0,g.default)(i.typeName,o,i),E="assignment-progression-tooltip",R=s.createElement(p.Tooltip,{id:E},s.createElement("div",{className:"horizontal-box assignment-tooltip-content"},m&&s.createElement("div",{className:c}),s.createElement("div",{className:"flex-1 vertical-box"},s.createElement("p",{className:"body-2-text"},m),s.createElement("div",{className:"horizontal-box"},s.createElement("p",{className:"flex-1 body-2-text item-type"},h),a&&s.createElement("p",{className:"item-deadline"},(0,f.default)(a).format("MMM D"))),s.createElement("p",null,n),l&&s.createElement("p",{className:"caption-text"},s.createElement(y.FormattedMessage,{message:(0,S.default)("{requiredPassedCount} out of {totalNumberOfAssignmentsAvailable} to be completed for {moduleName}"),moduleName:r,requiredPassedCount:l.requiredPassedCount,totalNumberOfAssignmentsAvailable:l.passableItemGroupChoiceIds.length})))));return s.createElement("li",{className:"rc-TooltipAssignmentProgressIcon"},s.createElement(p.OverlayTrigger,{placement:"top",overlay:R,trigger:["hover","focus"]},s.createElement("div",{className:"icon-wrapper",role:"tooltip",tabIndex:"0","aria-describedby":E},s.createElement(D.default,{item:t}))))},TooltipAssignmentProgressIcon}(s.Component);exports.default=C},"w+Dm":function(module,exports,e){var t=e("5vFa"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},"w/vV":function(module,exports,e){"use strict";(function(t){Object.defineProperty(exports,"__esModule",{value:!0});var r,n=_interopRequireDefault(e("BN6r")),a=e("64Af"),i,o=_interopRequireDefault(e("dnln")),u=e("kvW3");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.default=function(e,r){var i="Started"===r.computedProgressState,s="",l="",d="";switch(e){case"STUDY_MATERIAL_ONTRACK":s=i?(0,o.default)("You're doing great! Pick up where you left off and you'll be done in no time."):t.createElement(u.FormattedMessage,{message:(0,o.default)("It'll take about {timeCommitment}. After you're done,\n                  continue on and try finishing the week ahead of schedule."),timeCommitment:(0,a.getFormattedTimeCommitment)(r)});break;case"STUDY_MATERIAL_OVERDUE":s=(0,o.default)("It's not too late—finish up the week and then give your next assessment a try.");break;case"QUIZ_ONTRACK":d=(0,o.default)("Start"),s=(0,o.default)("Find out what to review by testing what you've learned so far.");break;case"QUIZ_OVERDUE":s=(0,o.default)("It's not too late—finish up the week and you'll be right on schedule.");break;case"PRACTICE_ASSIGNMENT_ONTRACK":s=i?(0,o.default)("You're doing great! Pick up where you left off and you'll be done in no time."):(0,o.default)("Find out what to review by applying what you've learned so far.");break;case"PRACTICE_ASSIGNMENT_OVERDUE":s=t.createElement(u.FormattedMessage,{message:(0,o.default)("It's not too late—finish up the week and then give {name} a try."),name:r.name});break;case"EXAM_VERIFY":d=(0,o.default)("Try Again"),l=t.createElement(u.FormattedMessage,{message:(0,o.default)("Verify: {name}"),name:(0,a.getFormattedNameWithPrefix)(r)}),s=(0,o.default)("You passed, great work! To get credit, you'll need to verify your identity and give it another try");break;case"EXAM_FAILED_TRY_AGAIN":d=(0,o.default)("Try Again"),l=t.createElement(u.FormattedMessage,{message:(0,o.default)("Retake: {name}"),name:(0,a.getFormattedNameWithPrefix)(r)}),s=(0,o.default)("You get another chance! Review what you missed and try again");break;case"EXAM_FAILED_TRY_LATER":d=(0,o.default)("Resume"),s=t.createElement(u.FormattedHTMLMessage,{message:(0,o.default)("Finish up the week and then try <b>{name}</b> again—you can still get full credit."),name:(0,a.getFormattedNameWithPrefix)(r)});break;case"EXAM_ONTRACK":d=(0,o.default)("Start"),s=(0,o.default)("If you don't get it the first time, you can always try again.");break;case"EXAM_OVERDUE":d=(0,o.default)("Start"),s=(0,o.default)("It's not too late! You can still get full credit, so give it a try.");break;case"GRADED_ASSIGNMENT_VERIFY":d=(0,o.default)("Try Again"),l=t.createElement(u.FormattedMessage,{message:(0,o.default)("Verify: {name}"),name:(0,a.getFormattedNameWithPrefix)(r)}),s=(0,o.default)("You passed, great work! To get credit, you'll need to verify your identity and give it another try");break;case"GRADED_ASSIGNMENT_FAILED_TRY_AGAIN":d=(0,o.default)("Try Again"),l=t.createElement(u.FormattedMessage,{message:(0,o.default)("Resubmit: {name}"),name:(0,a.getFormattedNameWithPrefix)(r)}),s=(0,o.default)("You get another chance! Review what you missed and resubmit as soon as you can.");break;case"GRADED_ASSIGNMENT_FAILED_TRY_LATER":d=(0,o.default)("Resume"),s=t.createElement(u.FormattedHTMLMessage,{message:(0,o.default)("Finish up the week and then try <b>{name}</b> again—you can still get full credit."),name:(0,a.getFormattedNameWithPrefix)(r)});break;case"GRADED_ASSIGNMENT_ONTRACK":s=i?(0,o.default)("If you don't get it the first time, you can always try again."):t.createElement(u.FormattedMessage,{message:(0,o.default)("You're making great progress. Try finishing up by {deadline} to stay on track"),deadline:(0,n.default)(r.deadline).format("LL")});break;case"GRADED_ASSIGNMENT_OVERDUE":d=(0,o.default)("Start"),s=(0,o.default)("It's not too late! You can still get full credit, so give it a try.");break;case"GRADED_PEER_VERIFY":l=t.createElement(u.FormattedMessage,{message:(0,o.default)("Verify {name}"),name:(0,a.getFormattedNameWithPrefix)(r)}),d=(0,o.default)("Try Again"),s=(0,o.default)("You passed, great work! To get credit, give it another try and don't forget to verify\n                your identity before you start.");break;case"GRADED_PEER_UNSUBMITTED_ONTRACK":i?s=t.createElement(u.FormattedMessage,{message:(0,o.default)("You're making great progress. Try to finish up by {deadline} so your\n                    classmates have enough time to review your work."),deadline:(0,n.default)(r.deadline).format("LL")}):(l=(0,o.default)("Peer Graded Assignment"),s=t.createElement(u.FormattedMessage,{message:(0,o.default)("Get started early to make sure your classmates have enough time\n                      to review your work—grading ends at {deadline}"),deadline:(0,n.default)(r.deadline).format("LL")}));break;case"GRADED_PEER_UNSUBMITTED_OVERDUE":l=(0,o.default)("Peer Graded Assignment"),s=i?(0,o.default)("It's not too late! Try finishing today so that classmates have enough time to review\n                  your work"):(0,o.default)("It's not too late! Get started as soon as you can so classmates have enough time\n                  to review your work");break;case"GRADED_PEER_REVIEW_ONTRACK":l=(0,o.default)("Review Your Peers"),s=t.createElement(u.FormattedMessage,{message:"To get credit, you'll need to grade {requiredReviewCount} of your peer's assignment submissions.",requiredReviewCount:r.contentSummary.definition.requiredReviewCount});break;case"GRADED_PEER_REVIEW_OVERDUE":l=(0,o.default)("Review Your Peers"),s=i?t.createElement(u.FormattedMessage,{message:"It's not too late! As long as you grade at least {reviewCount} more assignments, you'll get credit for your work.",reviewCount:r.contentSummary.definition.reviewCount}):t.createElement(u.FormattedMessage,{message:"It's not too late! As long as you grade at least {requiredReviewCount} assignments, you'll get credit for your work.",requiredReviewCount:r.contentSummary.definition.requiredReviewCount});break;case"GRADED_PEER_OVERDUE":l=(0,o.default)("Peer Graded Assignment"),s=i?(0,o.default)("It's not too late! Try finishing today so that classmates have enough time to review\n                your work"):(0,o.default)("It's not too late! Get started as soon as you can so classmates have enough time\n                to review your work");break;case"GRADED_PEER_ONTRACK":i?s=t.createElement(u.FormattedMessage,{message:(0,o.default)("You're making great progress. Try to finish up by {deadline} so your\n                  classmates have enough time to review your work."),deadline:(0,n.default)(r.deadline).format("LL")}):(l=(0,o.default)("Peer Graded Assignment"),s=t.createElement(u.FormattedMessage,{message:(0,o.default)("Get started early to make sure your classmates have enough time\n                    to review your work—grading ends at {deadline}"),deadline:(0,n.default)(r.deadline).format("LL")}));break;case"GRADED_PEER_FAILED":l=(0,o.default)("Review what you missed"),d=(0,o.default)("Try Again"),s=t.createElement(u.FormattedMessage,{message:(0,o.default)("It looks like you didn't get full credit for {name}. That's ok"),name:(0,a.getFormattedNameWithPrefix)(r)});break;default:l=(0,o.default)("You're doing great!"),s=(0,o.default)("Pick up where you left off and you'll be done in no time."),d=(0,o.default)("Resume")}return{description:s,overrideLabel:d,overrideName:l}}}).call(this,e("sbe7"))},wFeI:function(module,exports,e){},wPiJ:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireWildcard(e("sbe7")),n,a=_interopRequireDefault(e("CQyo")),i=e("DpUQ"),o,u=_interopRequireDefault(e("ku+6"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}e("olCE");var s=function AdjustingDeadlinesModal(e){var t=e.isAdjustingSchedule,n=e.adjustScheduleError,o=e.handleClose;return r.createElement(a.default,{className:"rc-AdjustingDeadlinesModal",allowClose:!t,handleClose:o,modalName:(0,u.default)("Adjusting Deadlines Modal")},r.createElement("div",{className:"vertical-box align-items-absolute-center",style:{height:"200px"}},n&&r.createElement("span",{className:"message"},(0,u.default)("Something went wrong. Please try again.")),t&&r.createElement("div",{className:"vertical-box align-items-absolute-center"},r.createElement(i.SvgLoaderSignal,null),r.createElement("span",{className:"message"},(0,u.default)("Resetting your deadlines")))))};exports.default=s},wYhx:function(module,exports,e){var t=e("7T7m"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},x5Fl:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s,l,d=_interopRequireDefault(e("sbe7")),c,f=_interopRequireDefault(e("w/1P")),p,m=_interopRequireDefault(e("G5J4")),g,h=_interopRequireDefault(e("k6X/"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("xRvV");var v={On:"on",Off:"off"},E=(s=u=function(e){function ToggleSwitch(t){(0,r.default)(this,ToggleSwitch);var n=(0,a.default)(this,e.call(this,t));return n.onClick=function(){var e=n.state.status,t=n.props.onToggle,r=e===v.Off?v.On:v.Off;n.setState({status:r}),t(r)},n.state={status:t.value||t.defaultStatus},n}return(0,o.default)(ToggleSwitch,e),ToggleSwitch.prototype.componentWillReceiveProps=function componentWillReceiveProps(e){void 0!==e.value&&this.setState({status:e.value})},ToggleSwitch.prototype.render=function render(){var e=this,t=this.props,r=t.disableToggle,n=t.hideStatusText,a=this.state.status,i=(0,f.default)("rc-ToggleSwitch",a),o=a===v.Off?(0,h.default)("No"):(0,h.default)("Yes");return d.default.createElement("div",{className:i,role:"button",onClick:!r&&this.onClick,onKeyPress:function onKeyPress(t){return!r&&(0,m.default)(t,e.onClick)},tabIndex:!r&&0},d.default.createElement("span",{className:"toggle-handle"}),!n&&o)},ToggleSwitch}(d.default.Component),u.defaultProps={disableToggle:!1,hideStatusText:!1},u.getStatus=function(){return v},s);exports.default=E},xRvV:function(module,exports,e){var t=e("Koaw"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)},xtGv:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireDefault(e("sbe7")),l,d=_interopRequireDefault(e("sQ/U")),c,f=_interopRequireDefault(e("Ihj9")),p,m=_interopRequireDefault(e("jKu9")),g,h=_interopRequireDefault(e("kOHA")),v,E=_interopRequireDefault(e("OVf9")),D,R=_interopRequireDefault(e("wPiJ")),S=e("Bgbc"),y,C=_interopRequireDefault(e("ku+6"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("w+Dm"),e("3h2j");var b=(0,f.default)({type:"BUTTON"})(S.Button),P=function(e){function ResetDeadlinesButton(){var t,n,i;(0,r.default)(this,ResetDeadlinesButton);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return t=n=(0,a.default)(this,e.call.apply(e,[this].concat(u))),n.state={showConfirmVersionChangesModal:!1,isAdjustingSchedule:!1,adjustScheduleError:!1},n.handleClose=function(){n.setState({showConfirmVersionChangesModal:!1,adjustScheduleError:!1,isAdjustingSchedule:!1})},n.handleConfirm=function(){n.setState({showConfirmVersionChangesModal:!1}),n.adjustSchedule()},n.onResetDeadlinesClick=function(){var e;n.props.courseScheduleSuggestion.hasVersionChangeForShiftDeadlinesSuggestion()?n.setState({showConfirmVersionChangesModal:!0}):n.adjustSchedule()},n.adjustSchedule=function(){var e=n.props,t=e.courseId,r,a=e.courseScheduleSuggestion.days;n.setState({isAdjustingSchedule:!0}),h.default.adjustSchedule(d.default.get().id,t,a).then(function(){window.location.reload()}).catch(function(){n.setState({isAdjustingSchedule:!1,adjustScheduleError:!0,showConfirmVersionChangesModal:!1})})},i=t,(0,a.default)(n,i)}return(0,o.default)(ResetDeadlinesButton,e),ResetDeadlinesButton.prototype.render=function render(){var e=this.props,t=e.isThemeDark,r=e.trackingName,n=e.className,a=e.style,i=e.type,o=e.size,u=e.trackingData,l=e.courseScheduleSuggestion,d=e.courseId,c=this.state,f=c.showConfirmVersionChangesModal,p=c.isAdjustingSchedule,m=c.adjustScheduleError,g=p||m,h=l.changesDescriptionForShiftDeadlinesSuggestion;return s.default.createElement("div",{className:"rc-ResetDeadlinesButton"},f&&s.default.createElement(E.default,{handleConfirm:this.handleConfirm,handleClose:this.handleClose,changesDescription:h,courseId:d}),g&&s.default.createElement(R.default,{isAdjustingSchedule:p,adjustScheduleError:m,handleClose:this.handleClose}),s.default.createElement(b,{isThemeDark:t,type:i,size:o,onClick:this.onResetDeadlinesClick,trackingName:r,trackingData:u,className:n,style:a,label:(0,C.default)("Reset my deadlines")}))},ResetDeadlinesButton}(s.default.Component);exports.default=P},y308:function(module,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,r=_interopRequireDefault(e("iCc5")),n,a=_interopRequireDefault(e("FYw3")),i,o=_interopRequireDefault(e("mRg0")),u,s=_interopRequireWildcard(e("sbe7")),l=e("MnCE"),d=e("+p0P"),c=e("C+yd"),f,p=_interopRequireDefault(e("zA+n")),m,g=_interopRequireDefault(e("6i5T")),h,v=_interopRequireDefault(e("KMW/")),E=e("eGjL");function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e("yxOe");var D=E.ItemLockReasons.PREMIUM,R=E.ItemLockReasons.PREMIUM_ITEM,S=function withCourseUpsellTooltip(e,t){var n=t.trackingName,i=function(t){function WithCourseUpsellTooltip(){var e,n,i;(0,r.default)(this,WithCourseUpsellTooltip);for(var o=arguments.length,u=Array(o),s=0;s<o;s++)u[s]=arguments[s];return e=n=(0,a.default)(this,t.call.apply(t,[this].concat(u))),n.closeTooltip=function(){n.overlayTriggerRef&&n.overlayTriggerRef.hideOverlay()},i=e,(0,a.default)(n,i)}return(0,o.default)(WithCourseUpsellTooltip,t),WithCourseUpsellTooltip.prototype.getUpsellToolTip=function getUpsellToolTip(){var e=this.props,t=e.item,r=e.computedItem,a=e.upsellCopy;if(!t&&!r)return null;var i=void 0;if(t){var o=t.itemLockSummary&&t.itemLockSummary.lockState&&t.itemLockSummary.lockState.reasonCode;i=t.isLocked&&[D,R].includes(o)}else r&&(i=(0,c.getIsLockedForPremiumGrading)(r));return i&&s.createElement("div",{className:"rc-CourseUpsellToolTip horizontal-box align-items-vertical-center"},s.createElement("div",{className:"body-text"},a.tooltip),s.createElement(p.default,{trackingName:n,onClose:this.closeTooltip,hideMobileCta:!0}))},WithCourseUpsellTooltip.prototype.render=function render(){var t=this;return s.createElement("div",{className:"rc-CourseUpsellTooltipWrapper"},s.createElement(d.OverlayTrigger,{overlay:this.getUpsellToolTip(),ref:function ref(e){t.overlayTriggerRef=e}},s.createElement(e,this.props)))},WithCourseUpsellTooltip}(s.Component);if(!v.default.get("payments","inCourseUpsell"))return e;return(0,l.compose)((0,g.default)())(i)};exports.default=S},y44U:function(module,exports,e){},y6tC:function(module,exports,e){},ygAC:function(module,exports,e){},ysEe:function(module,exports,e){},yxOe:function(module,exports,e){var t=e("ey6q"),r;"string"==typeof t&&(t=[[module.i,t,""]]);var n={transform:void 0},a=e("aET+")(t,n);t.locals&&(module.exports=t.locals)}}]);
  //# sourceMappingURL=en.45.8eef520c7962c3ff2256.js.map