1"use strict";(self.webpackChunkheaded2=self.webpackChunkheaded2||[]).push([[8864],{88794(e,s,r){r.d(s,{A:()=>n});var t=r(53209),a=(r(96540),r(74848));const l=({myClasses:e,grade:s,subject:r})=>{if(!e)return null;else return(0,a.jsx)("ul",{children:(e.filter(e=>e.grade===s&&e.courseDetail.subjectId===r.id)||[]).map(e=>(0,a.jsx)("li",{className:"course-info",children:(0,a.jsx)("span",{children:e.courseDetail.name})},`myClass-${e.id}`))})},n=({grades:e,gradeLevel:s,myClasses:r,subjects:n})=>(0,a.jsxs)("table",{className:"table equal-space",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"text-right subject-area-desc",children:t.t`Grade `}),e.map(e=>(0,a.jsx)("th",{className:e==s?"current-grade":"non-current-grade",children:e},`grade-head-${e}`))]})}),(0,a.jsx)("tbody",{children:n.map(t=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"subject-area-desc",children:t.name}),e.map(e=>(0,a.jsx)("td",{className:"scheduled-class "+(e==s?"current-grade":"non-current-grade"),children:(0,a.jsx)(l,{grade:e,myClasses:r,subject:t})},`sub${t.id}-gr${e}`))]},`sub${t.id}`))})]})},98935(e,s,r){r.d(s,{A:()=>m});var t=r(96540),a=r(6527),l=r(53209),n=r(14838),i=r(1726),c=r(56130),o=r(97731),d=r(74848);function u(e,s){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);s&&(t=t.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,t)}return r}function h(e){for(var s=1;s<arguments.length;s++){var r=null!=arguments[s]?arguments[s]:{};s%2?u(Object(r),!0).forEach(function(s){p(e,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})}return e}function p(e,s,r){return(s=function(e){var s=function(e,s){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,s||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}(e,"string");return"symbol"==typeof s?s:s+""}(s))in e?Object.defineProperty(e,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[s]=r,e}const m=(0,a.connect)(e=>{const s=!!e.authenticationState.userProfile;return h(h({},e.clusterReport),{},{signedIn:s,userProfile:e.authenticationState.userProfile})},e=>({dispatch:e,closeSaveConfirm:()=>{e((0,i.hm)())},onSave:()=>{e((0,i.aG)())},onPopupFiles:s=>{e((0,c.li)(s,"user",!1))}}))((0,o.A)(({userId:e,summary:s,userProfile:r,filters:a,toggleFilter:c,onPopupFiles:o,closeSaveConfirm:u,showPrint:h,showSave:p,showSavedConfirm:m,dispatch:j,onSetNumToDisplay:x,onSave:f,recharts:v,signedId:b})=>{(0,t.useEffect)(()=>{j((0,i.Vz)())},[b]);const{Cell:y,Legend:N,Pie:g,PieChart:w,ResponsiveContainer:P}=v;if(!r)return(0,d.jsxs)("div",{className:"container",children:[(0,d.jsx)("p",{children:l.t`The Exploration by Cluster report allows users to look at which occupations they have explored and 2 what their thoughts were, as recorded through journal entries, on the cluster and occupations within 3 it. It can help make sure that you have explored all the options available to you before picking a 4 path forward.`}),(0,d.jsxs)("div",{className:"warning",children:[(0,d.jsx)("h3",{children:l.t`It looks like you're not logged in yet.`}),(0,d.jsx)("p",{children:(()=>{const e=(0,d.jsx)("a",{href:"javascript:h2.openLogin()",children:l.t`login to an existing account`}),s=(0,d.jsx)("a",{href:"javascript:h2.openRegister()",children:l.t`create a new one`});return l.jt`Before you can run this report, you will need to ${e} or ${s}.`})()})]})]});if(!s||!s.exploration)return(0,d.jsx)("div",{});const S=(e,s)=>{const r=Object.keys(s);return e.filter(e=>r.includes(e.onetSoc))},k=e=>{if(0==(e||[]).length)return null;else return e.map(e=>(0,d.jsx)("ul",{children:(0,d.jsxs)("li",{className:"entries",children:[(0,d.jsx)("span",{className:"date",children:new Date(e.date).toLocaleDateString()})," ",(0,d.jsx)("span",{className:"entry",children:e.entry})]})}))},C=e=>{if((e||[]).length>0)return e.map(e=>(0,d.jsx)("ul",{className:"clusterjournal",children:(0,d.jsxs)("li",{className:"entries",children:[(0,d.jsx)("span",{className:"date",children:new Date(e.date).toLocaleDateString()})," ",(0,d.jsx)("span",{className:"entry",children:e.entry})]})}));else return(0,d.jsx)("ul",{children:(0,d.jsx)("li",{className:"entries",children:l.t`There are no journal entries for this cluster`})})},O=e=>{if(0==e.length)return(0,d.jsx)("p",{className:"noactivity",children:l.t`There were no actions performed in this cluster`});else return(0,d.jsx)("ul",{children:e.map(e=>(0,d.jsx)("li",{className:"occ",children:(0,d.jsxs)("div",{className:"occtitle",children:[(0,d.jsx)("a",{href:e.profileUrl,className:"occupation-link regular-match",children:e.title}),k(s.journals[e.onetSoc])]})}))})};return(0,d.jsxs)("div",{id:"reportform",children:[m.visible&&(0,d.jsx)(n.A,{bsStyle:"warning",children:(0,d.jsxs)("div",{className:"report-alert-save-confirm",children:[(0,d.jsx)("a",{href:"javascript:void(0)",className:"pull-right",onClick:u,children:(0,d.jsx)("i",{className:"fal fa-times"})}),(0,d.jsx)("h3",{children:(()=>{const s=(0,d.jsx)("a",{href:"javascript:void(0)",onClick:()=>o({id:e}),children:l.t`saved files`});if(m.forUser)return l.jt`This report has been saved to the file listing of ${m.forUser}. You can access it in their ${s}.`;else return l.jt`This report has been saved to your Career Hub. You can access it in your ${s}.`})()})]})}),(0,d.jsx)("div",{className:"filter-container",children:(0,d.jsxs)("div",{className:"container",children:[(0,d.jsx)("div",{className:"pull-right",children:(0,d.jsx)("form",{id:"userReportPrintForm",action:`/pdfs/portfolio/clusterreport${e?`/${e}`:""}.pdf`,method:"GET",target:"_blank",children:h&&(0,d.jsx)("button",{className:"btn btn-link",type:"submit",children:(0,d.jsxs)("span",{style:{fontSize:"1.2rem",color:"#666"},children:[(0,d.jsx)("i",{className:"print"})," ",l.t`Print`," "]})})})}),(0,d.jsx)("div",{className:"pull-right",children:p&&(0,d.jsx)("button",{className:"btn btn-link",onClick:()=>f(r),children:(0,d.jsxs)("span",{style:{fontSize:"1.2rem",color:"#666"},children:[(0,d.jsx)("i",{className:"save"})," ",l.t`Save to Career Hub`," "]})})})]})}),(0,d.jsxs)("div",{className:"container",id:"reports-users-cluster",style:{marginTop:"15p
4x"},children:[(0,d.jsxs)("div",{className:"summarywrapper",children:[(0,d.jsx)("h3",{children:l.t`Exploration Summary`}),(0,d.jsxs)("div",{className:"topexploration",children:[(0,d.jsx)("h4",{children:l.t`Summary of Cluster Usage`}),(()=>{const e=s.exploration.filter(e=>e.isExplored).map(e=>({name:e.cluster.name,value:e.numExplored}));return(0,d.jsx)(P,{aspect:.9,width:"100%",children:(0,d.jsxs)(w,{width:1e3,height:900,isAnimationActive:!1,children:[(0,d.jsx)(g,{data:e,cx:"50%",cy:"40%",children:Object.keys(e).map((e,s)=>(0,d.jsx)(y,{fill:dynamicValues.plotColors[s%dynamicValues.plotColors.length]},`cell-${s}`))}),(0,d.jsx)(N,{verticalAlign:"bottom",iconType:"square"})]})})})()]}),(0,d.jsxs)("div",{className:"moreexplorationneeded",children:[(0,d.jsxs)("p",{children:[(0,d.jsx)("span",{className:"attention"}),l.t`The following clusters each have had less than three occupations viewed and may merit more exploration.`]}),(0,d.jsx)("ul",{className:"unexplored",children:s.exploration.filter(e=>!e.isExplored).map(e=>(0,d.jsx)("li",{children:(0,d.jsx)("a",{href:e.cluster.profileUrl,className:`cluster-${e.cluster.id}`,children:(0,d.jsx)("span",{className:"cluster",children:(0,d.jsx)("span",{children:e.cluster.name})})})}))})]}),(0,d.jsx)("br",{className:"clear"})]}),(0,d.jsx)("h3",{children:l.t`Exploration Details`}),(0,d.jsx)("ul",{className:"mainreport",children:s.exploration.map(e=>{const r=(0,d.jsx)("span",{className:"title",children:e.cluster.name});return(0,d.jsxs)("li",{className:"cluster",children:[(0,d.jsx)("h3",{className:"titlelink",children:(0,d.jsx)("a",{id:e.cluster.id,children:e.cluster.name})}),(0,d.jsxs)("div",{className:"clustersummary",children:[(0,d.jsxs)("div",{className:"assessments",children:[(0,d.jsx)("h4",{children:l.jt`Number of ${r} occupations that appear in your assessment results`}),(0,d.jsxs)("ul",{children:[(0,d.jsxs)("li",{children:[l.t`Interest Profiler:`," ",(0,d.jsx)("span",{className:"ipresults",children:e.numIpMatches})]}),(0,d.jsxs)("li",{children:[l.t`Work Importance Profiler:`," ",(0,d.jsx)("span",{className:"wipresults",children:e.numWipMatches})]}),(0,d.jsxs)("li",{children:[l.t`Skills Profiler:`," ",(0,d.jsx)("span",{className:"spresults",children:e.numSpMatches})]})]})]}),(0,d.jsx)("h4",{children:l.t`Thoughts about the cluster`}),C(e.journals),(0,d.jsx)("br",{className:"clear"})]}),(0,d.jsxs)("div",{className:"occupationsummary",children:[(0,d.jsx)("h4",{children:l.t` Summary of Exploration in this cluster`}),(0,d.jsxs)("div",{className:"actioned",children:[(0,d.jsx)("p",{children:l.t`Occupations that were rated, bookmarked or journaled`}),O(S(e.occsInCluster,s.journals))]}),e.viewedOccs.length>0?(0,d.jsxs)("div",{className:"noaction",children:[(0,d.jsx)("p",{children:l.t`Occupations that were explored, but no other actions was performed`}),(0,d.jsx)("ul",{children:e.viewedOccs.map(e=>(0,d.jsxs)("li",{className:"unmarked",children:[(0,d.jsx)("div",{className:"occtitle",children:(0,d.jsx)("a",{href:e.profileUrl,className:"occupation-link regular-match",children:e.title})}),(0,d.jsx)("ul",{})]}))})]}):(0,d.jsx)("div",{}),(0,d.jsx)("br",{className:"clear"})]})]})})})]})]})}))},19679(e,s,r){r.r(s);r.d(s,{default:()=>c});var t=r(56347),a=(r(96540),r(6527)),l=r(98935),n=r(80677),i=r(74848);const c=e=>{const s=(0,a.useSelector)(e=>{var s,r;return null===(s=e.authenticationState)||void 0===s?void 0:null===(r=s.userProfile)||void 0===r?void 0:r.hasFileAccess});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.qh,{path:"/rep/portfolio",render:()=>{var e;return(0,i.jsx)(n.A,{showPrint:!0,showSave:(null===(e=dynamicValues.userProfile)||void 0===e?void 0:e.isRoot)||s||"dynamicValues.isSubscriber"})}}),(0,i.jsx)(t.qh,{path:"/rep/cluster",render:()=>{var e;return(0,i.jsx)(l.A,{showPrint:!0,showSave:(null===(e=dynamicValues.userProfile)||void 0===e?void 0:e.isRoot)||s||dynamicValues.isSubscriber})}})]})}},14838(e,s,r){r.d(s,{A:()=>v});var t=r(75938),a=r.n(t),l=r(52003),n=r(24730),i=r(29536),c=r(32485),o=r.n(c),d=r(96540),u=r(5556),h=r.n(u),p=r(90699),m=r(38009),j=r(36436),x={onDismiss:h().func,closeLabel:h().string},f=function(e){(0,i.A)(s,e);function s(){return e.apply(this,arguments)||this}s.prototype.render=function(){var e,s=this.props,r=s.onDismiss,t=s.closeLabel,a=s.className,i=s.children,c=(0,n.A)(s,["onDismiss","closeLabel","className","children"]),u=(0,p.UM)(c),h=u[0],m=u[1],x=!!r,f=(0,l.A)({},(0,p.nG)(h),((e={})[(0,p.Pl)(h,"dismissable")]=x,e));return d.createElement("div",(0,l.A)({},m,{role:"alert",className:o()(a,f)}),x&&d.createElement(j.A,{onClick:r,label:t}),i)};return s}(d.Component);f.propTypes=x;f.defaultProps={closeLabel:"Close alert"};const v=(0,p.EP)(a()(m.Uw),m.Uw.INFO,(0,p.in)("alert",f))}}]); 5//# sourceMappingURL=rep.fc4d364c.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.