PageSourceSearch

https://simplonline.co/_next/static/chunks/pages/trainer-workspace/frameworks-7f432cbf5dc89b69.js

js simplonline.co collected 2026-10-07 18:52:54 UTC 4,563 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5486],{16895:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/trainer-workspace/frameworks",function(){return i(62805)}])},62805:function(e,t,i){"use strict";i.r(t);var n=i(87451),l=i(20264),s=i(85344),a=i(8129),r=i(16957);t.default=function(){var e=(0,n._)((0,s.$G)(),1)[0];return(0,l.jsx)(a.Xg,{title:e("page.frameworks.title"),children:(0,l.jsx)(r.E,{})})}},81283:function(e,t,i){"use strict";i.d(t,{q:function(){return v}});var n=i(81367),l=i(33209),s=i(86703),a=i(20264),r=i(73277),o=i(19841),c=i(60294),d=i(83676),u=i(58050),f=i(37861),v=function(e){var t=e.children,i=e.title,v=e.helper,m=e.className,x=(e["data-cy"],e.tooltip),h=(0,s._)(e,["children","title","helper","className","data-cy","tooltip"]),p=(0,c.Me)(),N="string"===typeof i;return(0,a.jsxs)("section",(0,l._)((0,n._)({tabIndex:0,className:(0,o.Z)("focus-classes rounded-ant-lg bg-ant-container p-ant-xl focus:outline-hidden",m),"aria-labelledby":p},h),{children:[i&&(0,a.jsx)("header",{className:"mb-ant-xl flex flex-col",id:p,children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-ant",children:[(0,a.jsxs)("div",{className:"flex items-center gap-ant-xs",children:[N?(0,a.jsx)(r.Z.Title,{level:1,className:"mb-0! text-ant-h1",id:p,children:i}):i,x?(0,a.jsx)(u.u,{title:x,trigger:["hover","click"],placement:"right",children:(0,a.jsx)(f.z,{color:"primary",variant:"text",icon:(0,a.jsx)(d.$,{variant:"antd",className:"inline-block text-ant-xl"})})}):null]}),(0,a.jsx)("div",{className:"flex items-center gap-ant",children:v})]})}),t]}))}},16957:function(e,t,i){"use strict";i.d(t,{E:function(){return w}});var n=i(81367),l=i(33209),s=i(86703),a=i(87451),r=i(20264),o=i(23638),c=i(73277),d=i(49231),u=i(85344),f=i(50227),v=i(49071),m=i(52988),x=i(8029),h=i(81283),p=i(19841),N=i(17142),g=i.n(N),j=i(16525),_=function(e){var t=e.filters,i=e.className,a=(0,s._)(e,["filters","className"]),o=(0,v.sqR)({filters:t}),c=o.data,u=o.isLoading,f=null===c||void 0===c?void 0:c["hydra:member"],m=(0,d.useState)(g()(f)),h=m[0],N=m[1];return(0,d.useEffect)((function(){(null===f||void 0===f?void 0:f.find((function(e){return e["@id"]===(null===h||void 0===h?void 0:h["@id"])})))||N(g()(f))}),[f]),u?(0,r.jsx)("div",{className:"grid w-full grid-flow-row auto-rows-max grid-cols-12 gap-ant-md",children:(0,r.jsx)("div",{className:"col-span-12 h-56 min-w-0",children:(0,r.jsx)(x.O.Node,{className:"size-full!",active:!0})})}):(0,r.jsxs)("div",(0,l._)((0,n._)({className:(0,p.Z)("grid h-[490px] grid-cols-12 gap-4 divide-x-2 divide-grey-lightest overflow-hidden",i)},a),{children:[(0,r.jsx)(j.IW,{items:f,selectedItem:null===h||void 0===h?void 0:h["@id"],onSelect:N,className:"col-span-3"}),h?(0,r.jsx)(j.tE,{skill:h,className:"col-span-9 pl-6"}):void 0]}))},w=function(e){var t,i=e.variant,p=void 0===i?"default":i,N=e.filters,g=(0,s._)(e,["variant","filters"]),j=(0,a._)((0,u.$G)(),1)[0],w=(0,f.OT)().activeClassroom,b=(0,v.q0$)("classroom-scoped"===p?{filters:(0,n._)({classrooms:w&&(0,v.sRO)(w)},N),order:{by:"createdAt",direction:m.j1.DESC}}:{filters:(0,n._)({restricted:!0},N),order:{by:"createdAt",direction:m.j1.DESC}},"classroom-scoped"===p?{enabled:!!w}:void 0),k=b.data,y=b.isLoading,E=null===k||void 0===k?void 0:k["hydra:member"],C=(0,d.useState)((function(){return(null===E||void 0===E?void 0:E[0])?(0,v.sRO)(E[0]):void 0})),O=C[0],S=C[1],R=(0,d.useState)((function(){var e;return null===E||void 0===E||null===(e=E[0])||void 0===e?void 0:e.title})),T=R[0],q=R[1];(0,d.useEffect)((function(){E&&E.length>0&&!O&&(S((0,v.sRO)(E[0])),q(E[0].title))}),[E,O]);var Z=(0,d.useMemo)((function(){return null!==(t=null===E||void 0===E?void 0:E.map((function(e){return{label:e.title,value:(0,v.sRO)(e)}})))&&void 0!==t?t:[]}),[E]);return(0,r.jsx)(h.q,(0,l._)((0,n._)({title:(0,r.jsx)(o.default,{options:Z,value:T,onSelect:function(e){var t;q(null===(t=Z.find((function(t){return t.value===e})))||void 0===t?void 0:t.label),S(e)},onClear:function(){q(void 0),S(void 0)},onChange:function(e){q(e)},style:{minWidth:400}}),helper:E&&(0,r.jsx)(c.Z.Text,{className:"font-ant-strong text-color-ant-secondary",children:j("component.home.FrameworksCard.frameworksCount",{count:E.length})})},g),{children:y?(0,r.jsx)("div",{className:"h-[516px] w-full",children:(0,r.jsx)(x.O.Node,{className:"size-full!",active:!0})}):O&&(0,r.jsx)(_,{filters:{frameworks:O}})}))}}},function(e){e.O(0,[6525,9774,2888,179],(function(){return t=16895,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=frameworks-7f432cbf5dc89b69.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.