@clickview/streamable-learning 0.48.0-rc.0 → 0.48.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +646 -646
- package/dist/bundles.json +1 -1
- package/dist/css/DU3tPCD_.chunk.css +12 -0
- package/dist/en.json +1 -1
- package/dist/scripts/{m9QbGES0.chunk.js → ACTQklJQ.chunk.js} +2 -2
- package/dist/scripts/{m9QbGES0.chunk.js.map → ACTQklJQ.chunk.js.map} +1 -1
- package/dist/scripts/{B7if0Lk52.chunk.js → B-qOny0I2.chunk.js} +2 -2
- package/dist/scripts/{B7if0Lk52.chunk.js.map → B-qOny0I2.chunk.js.map} +1 -1
- package/dist/scripts/{BSjm_rCE.chunk.js → B5jBIPaP.chunk.js} +2 -2
- package/dist/scripts/{BSjm_rCE.chunk.js.map → B5jBIPaP.chunk.js.map} +1 -1
- package/dist/scripts/{CPkKuTSK2.chunk.js → B703cBe72.chunk.js} +2 -2
- package/dist/scripts/{CPkKuTSK2.chunk.js.map → B703cBe72.chunk.js.map} +1 -1
- package/dist/scripts/{DNNNPLMp.chunk.js → B7iwtSij.chunk.js} +2 -2
- package/dist/scripts/{DNNNPLMp.chunk.js.map → B7iwtSij.chunk.js.map} +1 -1
- package/dist/scripts/{CXNve4Wq2.chunk.js → BCBfXCYM2.chunk.js} +2 -2
- package/dist/scripts/{CXNve4Wq2.chunk.js.map → BCBfXCYM2.chunk.js.map} +1 -1
- package/dist/scripts/{CoYNU7We2.chunk.js → BKnxYKDu2.chunk.js} +2 -2
- package/dist/scripts/{CoYNU7We2.chunk.js.map → BKnxYKDu2.chunk.js.map} +1 -1
- package/dist/scripts/{BoxedFO8.chunk.js → BLrjbrp8.chunk.js} +2 -2
- package/dist/scripts/{BoxedFO8.chunk.js.map → BLrjbrp8.chunk.js.map} +1 -1
- package/dist/scripts/{CibcLNJP2.chunk.js → BTYwcYPL2.chunk.js} +2 -2
- package/dist/scripts/{CibcLNJP2.chunk.js.map → BTYwcYPL2.chunk.js.map} +1 -1
- package/dist/scripts/{CwI-7tep2.chunk.js → BXJetawx2.chunk.js} +2 -2
- package/dist/scripts/{CwI-7tep2.chunk.js.map → BXJetawx2.chunk.js.map} +1 -1
- package/dist/scripts/{BV74ZRR22.chunk.js → BZOcEcTA2.chunk.js} +2 -2
- package/dist/scripts/{BV74ZRR22.chunk.js.map → BZOcEcTA2.chunk.js.map} +1 -1
- package/dist/scripts/{DxsW8K0n2.chunk.js → BaMNOAYj2.chunk.js} +2 -2
- package/dist/scripts/{DxsW8K0n2.chunk.js.map → BaMNOAYj2.chunk.js.map} +1 -1
- package/dist/scripts/{DrDQfaFN2.chunk.js → BihZ4r0z2.chunk.js} +3 -3
- package/dist/scripts/{DrDQfaFN2.chunk.js.map → BihZ4r0z2.chunk.js.map} +1 -1
- package/dist/scripts/{CK6c6uHp2.chunk.js → BpgHKWR52.chunk.js} +2 -2
- package/dist/scripts/{CK6c6uHp2.chunk.js.map → BpgHKWR52.chunk.js.map} +1 -1
- package/dist/scripts/{JtFbyaXc.chunk.js → Br0Uc4GG.chunk.js} +2 -2
- package/dist/scripts/{JtFbyaXc.chunk.js.map → Br0Uc4GG.chunk.js.map} +1 -1
- package/dist/scripts/{Dd8r1SE32.chunk.js → BsAo7Lri2.chunk.js} +2 -2
- package/dist/scripts/{Dd8r1SE32.chunk.js.map → BsAo7Lri2.chunk.js.map} +1 -1
- package/dist/scripts/{BMjES83N2.chunk.js → BvJXPFoz2.chunk.js} +2 -2
- package/dist/scripts/{BMjES83N2.chunk.js.map → BvJXPFoz2.chunk.js.map} +1 -1
- package/dist/scripts/{CpFOQcL7.chunk.js → BxypZGPK.chunk.js} +2 -2
- package/dist/scripts/{CpFOQcL7.chunk.js.map → BxypZGPK.chunk.js.map} +1 -1
- package/dist/scripts/C4MLxDS-.chunk.js +1 -0
- package/dist/scripts/{DLp7yHzT2.chunk.js → C5i1HsPp2.chunk.js} +2 -2
- package/dist/scripts/{DLp7yHzT2.chunk.js.map → C5i1HsPp2.chunk.js.map} +1 -1
- package/dist/scripts/{Bkv1Tbyu.chunk.js → CCoZQmgX.chunk.js} +2 -2
- package/dist/scripts/{Bkv1Tbyu.chunk.js.map → CCoZQmgX.chunk.js.map} +1 -1
- package/dist/scripts/{Clh6wBrg.chunk.js → CGxa1Jzq.chunk.js} +2 -2
- package/dist/scripts/{Clh6wBrg.chunk.js.map → CGxa1Jzq.chunk.js.map} +1 -1
- package/dist/scripts/{DAvXFgC62.chunk.js → CKdklY2o2.chunk.js} +2 -2
- package/dist/scripts/{DAvXFgC62.chunk.js.map → CKdklY2o2.chunk.js.map} +1 -1
- package/dist/scripts/{CeWjJPIz.chunk.js → CN8PeBwg.chunk.js} +2 -2
- package/dist/scripts/{CeWjJPIz.chunk.js.map → CN8PeBwg.chunk.js.map} +1 -1
- package/dist/scripts/{B1jitqYS2.chunk.js → CNJrD44-2.chunk.js} +2 -2
- package/dist/scripts/{B1jitqYS2.chunk.js.map → CNJrD44-2.chunk.js.map} +1 -1
- package/dist/scripts/{DIHDe4Sg.chunk.js → CNmmq34f.chunk.js} +2 -2
- package/dist/scripts/{DIHDe4Sg.chunk.js.map → CNmmq34f.chunk.js.map} +1 -1
- package/dist/scripts/{CikSQKH-.chunk.js → CUUUI6pl.chunk.js} +2 -2
- package/dist/scripts/{CikSQKH-.chunk.js.map → CUUUI6pl.chunk.js.map} +1 -1
- package/dist/scripts/{DNO0KpY72.chunk.js → CWFInhB82.chunk.js} +2 -2
- package/dist/scripts/{DNO0KpY72.chunk.js.map → CWFInhB82.chunk.js.map} +1 -1
- package/dist/scripts/{i2-k6ULv2.chunk.js → CbLL7dIz2.chunk.js} +2 -2
- package/dist/scripts/{i2-k6ULv2.chunk.js.map → CbLL7dIz2.chunk.js.map} +1 -1
- package/dist/scripts/{KCdpQ8qv2.chunk.js → Ce1TZZdV2.chunk.js} +2 -2
- package/dist/scripts/{KCdpQ8qv2.chunk.js.map → Ce1TZZdV2.chunk.js.map} +1 -1
- package/dist/scripts/{NV4_mMU8.chunk.js → Ces-KTwe.chunk.js} +2 -2
- package/dist/scripts/{NV4_mMU8.chunk.js.map → Ces-KTwe.chunk.js.map} +1 -1
- package/dist/scripts/{0xQRFMBY.chunk.js → CkYqp83j.chunk.js} +2 -2
- package/dist/scripts/{0xQRFMBY.chunk.js.map → CkYqp83j.chunk.js.map} +1 -1
- package/dist/scripts/{DvL3J2BU.chunk.js → CrCAJmt6.chunk.js} +2 -2
- package/dist/scripts/{DvL3J2BU.chunk.js.map → CrCAJmt6.chunk.js.map} +1 -1
- package/dist/scripts/{CcDgbmw52.chunk.js → CsC3VVvE2.chunk.js} +2 -2
- package/dist/scripts/{CcDgbmw52.chunk.js.map → CsC3VVvE2.chunk.js.map} +1 -1
- package/dist/scripts/{C9UjF0q6.chunk.js → D0SYGnyF.chunk.js} +2 -2
- package/dist/scripts/{C9UjF0q6.chunk.js.map → D0SYGnyF.chunk.js.map} +1 -1
- package/dist/scripts/{BqO6i89w2.chunk.js → D7tastET2.chunk.js} +2 -2
- package/dist/scripts/{BqO6i89w2.chunk.js.map → D7tastET2.chunk.js.map} +1 -1
- package/dist/scripts/{CeI-LCE-.chunk.js → DIavEegC.chunk.js} +2 -2
- package/dist/scripts/{CeI-LCE-.chunk.js.map → DIavEegC.chunk.js.map} +1 -1
- package/dist/scripts/{BKbKu9Rp.chunk.js → DK3xia1t.chunk.js} +2 -2
- package/dist/scripts/{BKbKu9Rp.chunk.js.map → DK3xia1t.chunk.js.map} +1 -1
- package/dist/scripts/{BCdnm1Nn.chunk.js → DKnZ8BaN.chunk.js} +2 -2
- package/dist/scripts/{BCdnm1Nn.chunk.js.map → DKnZ8BaN.chunk.js.map} +1 -1
- package/dist/scripts/{awemA_vU2.chunk.js → DO8_mR5i2.chunk.js} +2 -2
- package/dist/scripts/{awemA_vU2.chunk.js.map → DO8_mR5i2.chunk.js.map} +1 -1
- package/dist/scripts/{DlQrdOls.chunk.js → DR80oZtZ.chunk.js} +2 -2
- package/dist/scripts/{DlQrdOls.chunk.js.map → DR80oZtZ.chunk.js.map} +1 -1
- package/dist/scripts/{DMq5Gp-U2.chunk.js → DU1SE31v2.chunk.js} +2 -2
- package/dist/scripts/{DMq5Gp-U2.chunk.js.map → DU1SE31v2.chunk.js.map} +1 -1
- package/dist/scripts/{XnBhLH-02.chunk.js → Dj4AeYQQ2.chunk.js} +2 -2
- package/dist/scripts/{XnBhLH-02.chunk.js.map → Dj4AeYQQ2.chunk.js.map} +1 -1
- package/dist/scripts/{CmrPRojb.chunk.js → DnSy_Myx.chunk.js} +2 -2
- package/dist/scripts/{CmrPRojb.chunk.js.map → DnSy_Myx.chunk.js.map} +1 -1
- package/dist/scripts/{D0vsmyva.chunk.js → Dr1flAez.chunk.js} +2 -2
- package/dist/scripts/{D0vsmyva.chunk.js.map → Dr1flAez.chunk.js.map} +1 -1
- package/dist/scripts/{BXT8nHry2.chunk.js → DwzBzBlI2.chunk.js} +2 -2
- package/dist/scripts/{BXT8nHry2.chunk.js.map → DwzBzBlI2.chunk.js.map} +1 -1
- package/dist/scripts/{CvqqZmNo2.chunk.js → DyT1OGvP2.chunk.js} +2 -2
- package/dist/scripts/{CvqqZmNo2.chunk.js.map → DyT1OGvP2.chunk.js.map} +1 -1
- package/dist/scripts/{E9tNds1l.chunk.js → Llxar-VU.chunk.js} +2 -2
- package/dist/scripts/{E9tNds1l.chunk.js.map → Llxar-VU.chunk.js.map} +1 -1
- package/dist/scripts/{app-B1XBsz23.js → app-BIigh9wv.js} +4 -4
- package/dist/scripts/{app-B1XBsz23.js.map → app-BIigh9wv.js.map} +1 -1
- package/dist/scripts/{BMl02f_62.chunk.js → bycmewy72.chunk.js} +2 -2
- package/dist/scripts/{BMl02f_62.chunk.js.map → bycmewy72.chunk.js.map} +1 -1
- package/dist/scripts/{DmfbtOlu.chunk.js → jWpq99N3.chunk.js} +2 -2
- package/dist/scripts/{DmfbtOlu.chunk.js.map → jWpq99N3.chunk.js.map} +1 -1
- package/dist/scripts/{BDliRFoa.chunk.js → oTYyWWB-.chunk.js} +2 -2
- package/dist/scripts/{BDliRFoa.chunk.js.map → oTYyWWB-.chunk.js.map} +1 -1
- package/dist/scripts/{lokG7Sha2.chunk.js → qcrBN1zR2.chunk.js} +2 -2
- package/dist/scripts/{lokG7Sha2.chunk.js.map → qcrBN1zR2.chunk.js.map} +1 -1
- package/dist/scripts/{UAcFqQzZ.chunk.js → smdLElLq.chunk.js} +2 -2
- package/dist/scripts/{UAcFqQzZ.chunk.js.map → smdLElLq.chunk.js.map} +1 -1
- package/dist/scripts/{D8_5yfHY2.chunk.js → tYi-sUb22.chunk.js} +2 -2
- package/dist/scripts/{D8_5yfHY2.chunk.js.map → tYi-sUb22.chunk.js.map} +1 -1
- package/package.json +1 -1
- package/dist/scripts/D5Jnyjf8.chunk.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./Dp9qJj1C.chunk.js";import{lt as e,ut as t}from"./Dun43GrB.chunk.js";import{l as n}from"./BQ5XMoHG.chunk.js";import{t as r}from"./BVWg3YHX.chunk.js";import{t as i}from"./DjIdG9LL2.chunk.js";import{s as a,t as o}from"./
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import"./Dp9qJj1C.chunk.js";import{lt as e,ut as t}from"./Dun43GrB.chunk.js";import{l as n}from"./BQ5XMoHG.chunk.js";import{t as r}from"./BVWg3YHX.chunk.js";import{t as i}from"./DjIdG9LL2.chunk.js";import{s as a,t as o}from"./BpgHKWR52.chunk.js";import{t as s}from"./CoualKDX.chunk.js";import{q as c}from"./app-BIigh9wv.js";import{t as l}from"./BRiYVLuz.chunk.js";import{t as u}from"./DIavEegC.chunk.js";import{n as d,t as f}from"./D0SYGnyF.chunk.js";import{t as p}from"./CUOEhUTb2.chunk.js";t();var m={partialHeading:`_partialHeading_n7dp5_1`},h=e();function g(){return(0,h.jsxs)(`div`,{className:`px-3`,children:[(0,h.jsx)(`div`,{className:`partial-loading-background mb-2 ${m.partialHeading}`}),(0,h.jsx)(d,{})]})}function _(e){let{commonVideoProps:t}=u(),d=n(c.streamablePresentation()),m=n(f.dashboardWidgetContent(e.widgetId)),_=n(d.data&&l.presentationAudiences(r.StreamableLearning,d.data.id)),v=p(`video-list`);return i({title:m.data?.name}),d.hasCompleted&&m.hasCompleted&&_.hasCompleted?(0,h.jsx)(a.Provider,{value:{getVideoActions:v},children:(0,h.jsxs)(`div`,{className:`px-3`,children:[(0,h.jsx)(`h1`,{className:`h2 mb-2`,children:m.data.name}),(0,h.jsx)(o,{videos:m.data.content,getVideoAppLink:s.videoType,presentationAudiences:_.data,getPreviewQuestionsAppLink:()=>null,hasPermissions:()=>!1,commonVideoProps:t})]})}):(0,h.jsx)(g,{})}export{_ as DashboardWidgetView};
|
|
2
|
+
//# sourceMappingURL=bycmewy72.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"bycmewy72.chunk.js","names":[],"sources":["../../src/apps/dashboard/views/dashboard-widget/partial-loading/partial-dashboard-widget.module.scss","../../src/apps/dashboard/views/dashboard-widget/partial-loading/PartialDashboardWidget.tsx","../../src/apps/dashboard/views/dashboard-widget/DashboardWidgetView.tsx"],"sourcesContent":[":local {\n .partialHeading {\n height: 2.375rem;\n width: 10rem;\n }\n}","import React from 'react';\n\nimport { PartialVideoList } from 'libs/shared/components/video-list/partial-loading/PartialVideoList';\n\nimport styles from './partial-dashboard-widget.module.scss';\n\nexport function PartialDashboardWidget(): JSX.Element {\n return (\n <div className='px-3'>\n <div className={`partial-loading-background mb-2 ${styles.partialHeading}`} />\n <PartialVideoList />\n </div>\n );\n}\n","import React from 'react';\n\nimport { Flight } from 'libs/common/flight';\n\nimport { VideoList } from 'libs/shared/components/video-list/VideoList';\nimport { VideoActionsContext } from 'libs/shared/context/VideoActionsContext';\nimport { PresentationType } from 'libs/shared/enums/PresentationType';\nimport { AudienceRequests } from 'libs/shared/flight-requests/AudienceRequests';\nimport { DashboardRequests } from 'libs/shared/flight-requests/DashboardRequests';\nimport { useSetPageMetadata } from 'libs/shared/hooks/useSetPageMetadata';\nimport { CuratedWidget, CuratedWidgetData, Presentation, PresentationAudience, Video } from 'libs/shared/interfaces';\n\nimport { PresentationRequests } from 'shared/flight-requests/PresentationRequests';\nimport { useCommonVideoProps } from 'shared/hooks/useCommonVideoProps';\nimport { useStreamableVideoActions } from 'shared/hooks/useStreamableVideoActions';\nimport { StreamableAppLinks } from 'shared/utils/StreamableAppLinks';\n\nimport { PartialDashboardWidget } from 'apps/dashboard/views/dashboard-widget/partial-loading/PartialDashboardWidget';\n\ninterface DashboardWidgetViewProps {\n widgetId: string;\n}\n\nexport function DashboardWidgetView(props: DashboardWidgetViewProps): JSX.Element {\n const { commonVideoProps } = useCommonVideoProps();\n\n const presentation = Flight.useBasicFetch<Presentation>(\n PresentationRequests.streamablePresentation()\n );\n\n const widget = Flight.useBasicFetch<CuratedWidget<CuratedWidgetData, Video[]>>(\n DashboardRequests.dashboardWidgetContent(props.widgetId)\n );\n\n const audiences = Flight.useBasicFetch<PresentationAudience[]>(\n presentation.data &&\n AudienceRequests.presentationAudiences(PresentationType.StreamableLearning, presentation.data.id)\n );\n\n const getVideoActions = useStreamableVideoActions('video-list');\n\n useSetPageMetadata({ title: widget.data?.name });\n\n const hasLoaded = (\n presentation.hasCompleted &&\n widget.hasCompleted &&\n audiences.hasCompleted\n );\n\n if (!hasLoaded)\n return <PartialDashboardWidget />;\n\n return (\n <VideoActionsContext.Provider value={{ getVideoActions }}>\n <div className='px-3'>\n <h1 className='h2 mb-2'>{widget.data.name}</h1>\n <VideoList\n videos={widget.data.content}\n getVideoAppLink={StreamableAppLinks.videoType}\n presentationAudiences={audiences.data}\n getPreviewQuestionsAppLink={() => null}\n hasPermissions={() => false}\n commonVideoProps={commonVideoProps}\n />\n </div>\n </VideoActionsContext.Provider>\n );\n}\n"],"mappings":"uiBCMA,SAAgB,GAAsC,CACpD,OACE,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,gBAAf,EACE,EAAA,EAAA,KAAC,MAAD,CAAK,UAAW,mCAAmC,EAAO,iBAAoB,CAAA,EAC9E,EAAA,EAAA,KAAC,EAAD,EAAoB,CAAA,CAAA,GCa1B,SAAgB,EAAoB,EAA8C,CAChF,GAAM,CAAE,oBAAqB,GAAqB,CAE5C,EAAe,EACnB,EAAqB,wBAAwB,CAC9C,CAEK,EAAS,EACb,EAAkB,uBAAuB,EAAM,SAAS,CACzD,CAEK,EAAY,EAChB,EAAa,MACb,EAAiB,sBAAsB,EAAiB,mBAAoB,EAAa,KAAK,GAAG,CAClG,CAEK,EAAkB,EAA0B,aAAa,CAa/D,OAXA,EAAmB,CAAE,MAAO,EAAO,MAAM,KAAM,CAAC,CAG9C,EAAa,cACb,EAAO,cACP,EAAU,cAOV,EAAA,EAAA,KAAC,EAAoB,SAArB,CAA8B,MAAO,CAAE,kBAAiB,WACtD,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,gBAAf,EACE,EAAA,EAAA,KAAC,KAAD,CAAI,UAAU,mBAAW,EAAO,KAAK,KAAU,CAAA,EAC/C,EAAA,EAAA,KAAC,EAAD,CACE,OAAQ,EAAO,KAAK,QACpB,gBAAiB,EAAmB,UACpC,sBAAuB,EAAU,KACjC,+BAAkC,KAClC,mBAAsB,GACJ,mBAClB,CAAA,CACE,GACuB,CAAA,EAfxB,EAAA,EAAA,KAAC,EAAD,EAA0B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as e,p as t}from"./Dp9qJj1C.chunk.js";import{t as n}from"./ImQRQGZr.chunk.js";import{n as r,t as i}from"./Xo0rk19-.chunk.js";import{et as a}from"./app-
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{h as e,p as t}from"./Dp9qJj1C.chunk.js";import{t as n}from"./ImQRQGZr.chunk.js";import{n as r,t as i}from"./Xo0rk19-.chunk.js";import{et as a}from"./app-BIigh9wv.js";var o=`shared.privateResourceError`,s=class extends r{constructor(){super(n.getPhrase(o,`title`))}get name(){return`PrivateResourceError`}get heading(){return n.getPhrase(o,`heading`)}get description(){return n.getPhrase(o,`description`)}},c=`shared.regionLockedResourceError`,l=class extends r{constructor(){super(n.getPhrase(c,`title`))}get name(){return`RegionLockedResourceError`}get heading(){return n.getPhrase(c,`heading`)}get description(){return n.getPhrase(c,`description`)}},u={notFound:i,forbidden:{rating:s,yearLevel:s,region:l,privacy:s},badRequest:a,internalServerError:a};function d(n,r={},i={}){if(!n)return;let o;o=typeof n==`number`?n:n.status;let s={...u,...r};if(o&&t.isStatusCodeError(o)){if(o===e.InternalServer){i.internalServerError||t.throw(new a);return}if(o===e.NotFound){i.notFound||t.throw(new s.notFound);return}if(o===e.Forbidden){i.forbidden||t.throw(new s.forbidden.privacy);return}i.badRequest||t.throw(new s.badRequest)}}export{l as n,d as t};
|
|
2
|
+
//# sourceMappingURL=jWpq99N3.chunk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"jWpq99N3.chunk.js","names":[],"sources":["../../../../libs/shared/src/errors/general/private-resource/PrivateResourceError.ts","../../../../libs/shared/src/errors/general/region-locked-resource/RegionLockedResourceError.ts","../../../../libs/shared/src/errors/handlers/HttpErrorHandlers.ts"],"sourcesContent":["import { LanguageService } from 'libs/common/backbone/services/LanguageService';\n\nimport { ErrorPageError } from 'libs/shared/errors/primitives/ErrorPageError';\n\nconst namespace = 'shared.privateResourceError';\n\nexport class PrivateResourceError extends ErrorPageError {\n constructor() {\n super(LanguageService.getPhrase(namespace, 'title'));\n }\n\n // @ts-ignore\n public get name(): string {\n return 'PrivateResourceError';\n }\n\n // @ts-ignore\n public get heading(): string {\n return LanguageService.getPhrase(namespace, 'heading');\n }\n\n // @ts-ignore\n public get description(): string {\n return LanguageService.getPhrase(namespace, 'description');\n }\n}\n","import { LanguageService } from 'libs/common/backbone/services/LanguageService';\n\nimport { ErrorPageError } from 'libs/shared/errors/primitives/ErrorPageError';\n\nconst namespace = 'shared.regionLockedResourceError';\n\nexport class RegionLockedResourceError extends ErrorPageError {\n constructor() {\n super(LanguageService.getPhrase(namespace, 'title'));\n }\n\n // @ts-ignore\n public get name(): string {\n return 'RegionLockedResourceError';\n }\n\n // @ts-ignore\n public get heading(): string {\n return LanguageService.getPhrase(namespace, 'heading');\n }\n\n // @ts-ignore\n public get description(): string {\n return LanguageService.getPhrase(namespace, 'description');\n }\n}\n","import { BaseError } from 'libs/common/backbone/core/BaseError';\nimport { HttpStatus } from 'libs/common/backbone/enums/HttpStatus';\nimport { Xhr } from 'libs/common/backbone/interfaces';\nimport { Core } from 'libs/common/core';\n\nimport { NotFoundError } from 'libs/shared/errors/general/not-found/NotFoundError';\nimport { PrivateResourceError } from 'libs/shared/errors/general/private-resource/PrivateResourceError';\nimport { RegionLockedResourceError } from 'libs/shared/errors/general/region-locked-resource/RegionLockedResourceError';\nimport { UnspecifiedError } from 'libs/shared/errors/general/unspecified-error/UnspecifiedError';\nimport { VideoTypes } from 'libs/shared/interfaces';\n\nexport interface HttpErrorMap {\n notFound?: new () => BaseError;\n forbidden?: {\n rating?: new (description: string) => BaseError,\n yearLevel?: new (description: string) => BaseError,\n region?: new () => BaseError,\n privacy?: new (video?: VideoTypes) => BaseError\n };\n badRequest?: new () => BaseError;\n internalServerError?: new () => BaseError;\n}\n\nexport type IgnoreHttpErrorMap = {\n [key in keyof HttpErrorMap]: boolean;\n};\n\nconst defaultErrors: HttpErrorMap = {\n notFound: NotFoundError,\n forbidden: {\n rating: PrivateResourceError,\n yearLevel: PrivateResourceError,\n region: RegionLockedResourceError,\n privacy: PrivateResourceError\n },\n badRequest: UnspecifiedError,\n internalServerError: UnspecifiedError\n};\n\nexport function handleHttpError(\n info: HttpStatus | Xhr,\n customErrorMap: HttpErrorMap = {},\n /**\n * Prevent certain errors in the errorMap from being thrown\n * so that you may implement your own handler\n */\n ignoreMap: IgnoreHttpErrorMap = {}\n): void {\n if (!info)\n return;\n\n let statusCode: HttpStatus;\n\n if (typeof(info) === 'number') {\n statusCode = info;\n } else {\n statusCode = info.status;\n }\n\n const errorMap = {\n ...defaultErrors,\n ...customErrorMap\n };\n\n if (!statusCode)\n return;\n\n if (!Core.ErrorHelper.isStatusCodeError(statusCode))\n return;\n\n if (statusCode === HttpStatus.InternalServer) {\n if (!ignoreMap.internalServerError)\n Core.ErrorHelper.throw(new UnspecifiedError());\n return;\n }\n\n if (statusCode === HttpStatus.NotFound) {\n if (!ignoreMap.notFound)\n Core.ErrorHelper.throw(new errorMap.notFound());\n return;\n }\n\n if (statusCode === HttpStatus.Forbidden) {\n /**\n * TODO: Work out how to go about handling all forbidden errors, such as region locking, year levels,\n * ratings, and privacy.\n */\n if (!ignoreMap.forbidden)\n Core.ErrorHelper.throw(new errorMap.forbidden.privacy());\n return;\n }\n\n if (!ignoreMap.badRequest)\n Core.ErrorHelper.throw(new errorMap.badRequest());\n}\n\nexport function handleXhrError(xhr: Xhr, customErrorMap?: HttpErrorMap): void {\n handleHttpError(xhr.status, customErrorMap);\n}\n"],"mappings":"6KAIA,IAAM,EAAY,8BAEL,EAAb,cAA0C,CAAe,CACvD,aAAc,CACZ,MAAM,EAAgB,UAAU,EAAW,QAAQ,CAAC,CAItD,IAAW,MAAe,CACxB,MAAO,uBAIT,IAAW,SAAkB,CAC3B,OAAO,EAAgB,UAAU,EAAW,UAAU,CAIxD,IAAW,aAAsB,CAC/B,OAAO,EAAgB,UAAU,EAAW,cAAc,GCnBxD,EAAY,mCAEL,EAAb,cAA+C,CAAe,CAC5D,aAAc,CACZ,MAAM,EAAgB,UAAU,EAAW,QAAQ,CAAC,CAItD,IAAW,MAAe,CACxB,MAAO,4BAIT,IAAW,SAAkB,CAC3B,OAAO,EAAgB,UAAU,EAAW,UAAU,CAIxD,IAAW,aAAsB,CAC/B,OAAO,EAAgB,UAAU,EAAW,cAAc,GCIxD,EAA8B,CAClC,SAAU,EACV,UAAW,CACT,OAAQ,EACR,UAAW,EACX,OAAQ,EACR,QAAS,EACV,CACD,WAAY,EACZ,oBAAqB,EACtB,CAED,SAAgB,EACd,EACA,EAA+B,EAAE,CAKjC,EAAgC,EAAE,CAC5B,CACN,GAAI,CAAC,EACH,OAEF,IAAI,EAEJ,AAGE,EAHE,OAAO,GAAU,SACN,EAEA,EAAK,OAGpB,IAAM,EAAW,CACf,GAAG,EACH,GAAG,EACJ,CAEI,MAGD,EAAkB,kBAAkB,EAAW,CAGnD,IAAI,IAAe,EAAW,eAAgB,CACvC,EAAU,qBACb,EAAiB,MAAM,IAAI,EAAmB,CAChD,OAGF,GAAI,IAAe,EAAW,SAAU,CACjC,EAAU,UACb,EAAiB,MAAM,IAAI,EAAS,SAAW,CACjD,OAGF,GAAI,IAAe,EAAW,UAAW,CAKlC,EAAU,WACb,EAAiB,MAAM,IAAI,EAAS,UAAU,QAAU,CAC1D,OAGG,EAAU,YACb,EAAiB,MAAM,IAAI,EAAS,WAAa"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{gt as e,v as t}from"./Dp9qJj1C.chunk.js";import{a as n,n as r,t as i,v as a}from"./BJvPfCvt.chunk.js";import{t as o}from"./ImQRQGZr.chunk.js";import{C as s,E as c,M as l,S as u,c as d,l as f,lt as p,m,n as h,ut as g}from"./Dun43GrB.chunk.js";import{t as _}from"./CFXUbsBS.chunk.js";import{l as v}from"./BQ5XMoHG.chunk.js";import{t as y}from"./B7tm2CBz.chunk.js";import{n as b,t as x}from"./C9ET3pjZ.chunk.js";import{t as S}from"./CN1th_9f.chunk.js";import{n as ee}from"./CAEQvGr_.chunk.js";import{i as te}from"./CEsevkum.chunk.js";import{t as ne}from"./H6wjCesG.chunk.js";import{A as C,E as re,I as ie,P as ae,S as oe,_ as se,b as ce,d as le,s as ue,u as de,x as fe,y as pe}from"./B3l7OlNe.chunk.js";import{n as me,t as w}from"./D86qrFLE.chunk.js";import{n as T}from"./Da5tDmIW2.chunk.js";import{n as he,t as E}from"./Ca1QPe-q2.chunk.js";import{t as ge}from"./Cz6swPXe2.chunk.js";import{i as _e,t as ve}from"./ClfNVaoj2.chunk.js";import{n as D}from"./D7d5XFW82.chunk.js";import{t as ye}from"./DygtVvI42.chunk.js";import{n as be,r as O,s as xe}from"./DjIdG9LL2.chunk.js";import{t as Se}from"./CE6Tgu462.chunk.js";import{n as Ce}from"./iuoIcGAm2.chunk.js";import{n as we}from"./CL1ST5J62.chunk.js";import{i as k,r as A,t as j}from"./D2om474U2.chunk.js";import{t as Te}from"./Bonea1G32.chunk.js";import{r as Ee,t as De}from"./DUNFBIIl2.chunk.js";import{_ as Oe,c as ke,d as Ae,f as je,g as Me,l as Ne,p as Pe,t as Fe,u as Ie,v as Le}from"./CK6c6uHp2.chunk.js";import{a as M,i as N,n as Re,o as ze,r as Be,s as Ve,t as P}from"./B8R4YVaF2.chunk.js";import{n as F,r as He,t as Ue}from"./Bx_V3too2.chunk.js";import{a as I,i as We,n as Ge,o as L,r as R,s as z}from"./E9tNds1l.chunk.js";import{t as B}from"./X4vTaPlk.chunk.js";import{A as Ke,N as V,O as qe,j as Je,q as Ye}from"./app-B1XBsz23.js";import{t as Xe}from"./CZb3E982.chunk.js";import{i as Ze,r as Qe,t as $e}from"./BCdnm1Nn.chunk.js";import{t as et}from"./CnDOpuFK.chunk.js";import{t as tt}from"./CwttNCGZ.chunk.js";import{t as nt}from"./CikSQKH-.chunk.js";import{t as H}from"./DDKwae_D2.chunk.js";import{t as rt}from"./DkuROpKb2.chunk.js";import{t as it}from"./BbCIyIf_2.chunk.js";import{t as at}from"./awemA_vU2.chunk.js";import{n as ot}from"./Bt57Tmef2.chunk.js";import{t as st}from"./DrgVCnQA2.chunk.js";import{t as ct}from"./LdxNQaUZ2.chunk.js";import{n as U}from"./C9tPKnK22.chunk.js";import{n as lt}from"./DnwEQ4qU2.chunk.js";import{n as ut,t as dt}from"./CVaCZDos2.chunk.js";import{a as W}from"./BKbKu9Rp.chunk.js";import{n as ft,r as pt,t as mt}from"./DvL3J2BU.chunk.js";import{r as ht}from"./CeyqMjfq.chunk.js";import{n as gt,r as _t,t as vt}from"./UAcFqQzZ.chunk.js";import{r as yt,t as bt}from"./BBWlVBxr.chunk.js";import{i as xt,n as St,r as Ct,t as wt}from"./ClGIvvk6.chunk.js";import{n as Tt,s as Et}from"./CeI-LCE-.chunk.js";import{i as Dt}from"./DobKejA8.chunk.js";import{a as Ot,n as kt,o as At,r as jt,t as Mt}from"./CIGsvs1s.chunk.js";import{t as Nt}from"./BTWCXqXm.chunk.js";import{i as Pt,n as Ft,r as It,t as Lt}from"./DlQrdOls.chunk.js";import{r as Rt,t as zt}from"./gbgcwRX-.chunk.js";import{n as Bt,t as Vt}from"./C9UjF0q6.chunk.js";function Ht(...e){return e.filter(e=>e!=null).reduce((e,t)=>{if(typeof t!=`function`)throw Error(`Invalid Argument Type, must only provide functions, undefined, or null.`);return e===null?t:function(...n){e.apply(this,n),t.apply(this,n)}},null)}var Ut=e(ie()),G=e(g()),K=p(),Wt={height:[`marginTop`,`marginBottom`],width:[`marginLeft`,`marginRight`]};function Gt(e,t){let n=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],r=Wt[e];return n+parseInt(re(t,r[0]),10)+parseInt(re(t,r[1]),10)}var Kt={[fe]:`collapse`,[oe]:`collapsing`,[ce]:`collapsing`,[pe]:`collapse show`},qt=G.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:a,children:o,dimension:s=`height`,in:c=!1,timeout:l=300,mountOnEnter:u=!1,unmountOnExit:d=!1,appear:f=!1,getDimensionValue:p=Gt,...m},h)=>{let g=typeof s==`function`?s():s,_=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=`0`},e),[g,e]),v=(0,G.useMemo)(()=>Ht(e=>{let t=`scroll${g[0].toUpperCase()}${g.slice(1)}`;e.style[g]=`${e[t]}px`},t),[g,t]),y=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=null},n),[g,n]),b=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=`${p(g,e)}px`,de(e)},r),[r,p,g]),x=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=null},i),[g,i]);return(0,K.jsx)(ue,{ref:h,addEndListener:le,...m,"aria-expanded":m.role?c:null,onEnter:_,onEntering:v,onEntered:y,onExit:b,onExiting:x,childRef:se(o),in:c,timeout:l,mountOnEnter:u,unmountOnExit:d,appear:f,children:(e,t)=>G.cloneElement(o,{...t,className:(0,Ut.default)(a,o.props.className,Kt[e],g===`width`&&`collapse-horizontal`)})})});function Jt(e,t){return Array.isArray(e)?e.includes(t):e===t}var Yt=G.createContext({});Yt.displayName=`AccordionContext`;var Xt=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,children:r,eventKey:i,...a},o)=>{let{activeEventKey:s}=(0,G.useContext)(Yt);return t=C(t,`accordion-collapse`),(0,K.jsx)(qt,{ref:o,in:Jt(s,i),...a,className:(0,Ut.default)(n,t),children:(0,K.jsx)(e,{children:G.Children.only(r)})})});Xt.displayName=`AccordionCollapse`;var Zt=G.createContext({eventKey:``});Zt.displayName=`AccordionItemContext`;var Qt=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,...l},u)=>{t=C(t,`accordion-body`);let{eventKey:d}=(0,G.useContext)(Zt);return(0,K.jsx)(Xt,{eventKey:d,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,children:(0,K.jsx)(e,{ref:u,...l,className:(0,Ut.default)(n,t)})})});Qt.displayName=`AccordionBody`;function $t(e,t){let{activeEventKey:n,onSelect:r,alwaysOpen:i}=(0,G.useContext)(Yt);return a=>{let o=e===n?null:e;i&&(o=Array.isArray(n)?n.includes(e)?n.filter(t=>t!==e):[...n,e]:[e]),r?.(o,a),t?.(a)}}var en=G.forwardRef(({as:e=`button`,bsPrefix:t,className:n,onClick:r,...i},a)=>{t=C(t,`accordion-button`);let{eventKey:o}=(0,G.useContext)(Zt),s=$t(o,r),{activeEventKey:c}=(0,G.useContext)(Yt);return e===`button`&&(i.type=`button`),(0,K.jsx)(e,{ref:a,onClick:s,...i,"aria-expanded":Array.isArray(c)?c.includes(o):o===c,className:(0,Ut.default)(n,t,!Jt(c,o)&&`collapsed`)})});en.displayName=`AccordionButton`;var tn=G.forwardRef(({as:e=`h2`,"aria-controls":t,bsPrefix:n,className:r,children:i,onClick:a,...o},s)=>(n=C(n,`accordion-header`),(0,K.jsx)(e,{ref:s,...o,className:(0,Ut.default)(r,n),children:(0,K.jsx)(en,{onClick:a,"aria-controls":t,children:i})})));tn.displayName=`AccordionHeader`;var nn=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,eventKey:r,...i},a)=>{t=C(t,`accordion-item`);let o=(0,G.useMemo)(()=>({eventKey:r}),[r]);return(0,K.jsx)(Zt.Provider,{value:o,children:(0,K.jsx)(e,{ref:a,...i,className:(0,Ut.default)(n,t)})})});nn.displayName=`AccordionItem`;var rn=G.forwardRef((e,t)=>{let{as:n=`div`,activeKey:r,bsPrefix:i,className:a,onSelect:o,flush:s,alwaysOpen:c,...l}=ae(e,{activeKey:`onSelect`}),u=C(i,`accordion`),d=(0,G.useMemo)(()=>({activeEventKey:r,onSelect:o,alwaysOpen:c}),[r,o,c]);return(0,K.jsx)(Yt.Provider,{value:d,children:(0,K.jsx)(n,{ref:t,...l,className:(0,Ut.default)(a,u,s&&`${u}-flush`)})})});rn.displayName=`Accordion`;var an=Object.assign(rn,{Button:en,Collapse:Xt,Item:nn,Header:tn,Body:Qt});function on(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fillRule:`evenodd`,d:`M7 11h10c.554 0 1 .446 1 1s-.446 1-1 1H7c-.554 0-1-.446-1-1s.446-1 1-1`,fill:`currentColor`})})}var sn={question:`_question_1wrw2_1`,disabled:`_disabled_1wrw2_5`,partialQuestion:`_partialQuestion_1wrw2_18`,description:`_description_1wrw2_22`},cn=`1.2rem`,ln=500;function un(e){let[t,r]=we(`should:expand:${e.id}`,e.isBot,{storage:te.LocalStorage}),[a,o]=G.useState(t?`100%`:cn),[c,l]=G.useState(!t),[u,p]=G.useState(!0),[g,_]=G.useState(null),v=Se(),y=G.useRef(null),b=G.useRef(null),x=G.useRef(null),S=G.useCallback(()=>{if(!g||!b.current)return;let e=document.createElement(`p`);e.innerHTML=g,e.className=`mb-0 ${O.getContainerClass()}`,e.style.visibility=`hidden`,b.current.appendChild(e);let t=e.clientHeight;b.current.removeChild(e);let n=document.createElement(`p`);n.innerHTML=` `,n.className=`mb-0 ${O.getContainerClass()}`,n.style.visibility=`hidden`,b.current.appendChild(n);let r=n.clientHeight;b.current.removeChild(n),p(t>r+5)},[g]);function ee(n){u&&(O.isLink(n.target)||window.getSelection().toString().length===0&&(h.logUserAction({...e.analyticsData,question:e.question,answer:e.answer},{...e.analyticsOptions,entity:f.Faq,actionType:s.Click,descriptor:t?d.Collapse:d.Expand,location:m.FaqQuestionWidget}),t?C():ne()))}function ne(){re(),r(!0),window.clearTimeout(y.current),l(!1)}function C(){o(cn),r(!1),y.current=window.setTimeout(()=>{l(!0)},ln)}function re(){let e=document.createElement(`p`);e.innerHTML=g,e.style.visibility=`hidden`,b.current.appendChild(e),o(`${e.clientHeight}px`),b.current.removeChild(e)}return G.useEffect(()=>{async function n(){let n=await O.parse(e.answer,{focusableLinks:t});if(v.current){if(g===null){_(n);return}g!==n&&(g&&t&&C(),_(n))}}n()},[e.answer]),G.useEffect(()=>{a!==`100%`||!x.current||o(x.current.clientHeight+`px`)},[a]),G.useEffect(()=>{S()},[S]),pt(()=>{t&&C()},S,[t,S]),!e.question||!g?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(he,{className:n(sn.question,`rounded-3`,!u&&sn.disabled),onClick:ee,children:[(0,K.jsxs)(`div`,{className:`pb-3`,children:[(0,K.jsx)(`div`,{className:`float-end rounded-circle bg-white`,children:u&&(0,K.jsx)(i,{svg:t?on:tt})}),(0,K.jsx)(`h2`,{className:`h4 mb-0 clear-end`,children:e.question})]}),(0,K.jsxs)(`div`,{className:sn.description,style:{height:a},children:[(0,K.jsx)(`p`,{className:`mb-0 ${c?`clamp-1`:``} ${O.getContainerClass()}`,dangerouslySetInnerHTML:{__html:g},ref:x}),(0,K.jsx)(`div`,{ref:b})]})]})}var dn={animatedBorder:`_animatedBorder_1g9h4_1`,borderRotate:`_borderRotate_1g9h4_1`,animatedBorderContent:`_animatedBorderContent_1g9h4_10`};function fn({enabled:e,children:t}){return e?(0,K.jsx)(`div`,{className:dn.animatedBorder,children:(0,K.jsx)(`div`,{className:`${dn.animatedBorderContent} p-2`,children:t})}):(0,K.jsx)(K.Fragment,{children:t})}var pn={rowWidth:`_rowWidth_1iijx_1`,largeRowWidth:`_largeRowWidth_1iijx_4`},mn=G.memo(function(e){let{data:t,context:n,thumbnailSize:r,preloadImage:i,presentationAudiences:o}=e,s=t?.subjectPresentationAudiences?.data,c=Tt(s,o),l=V(),u=pn.rowWidth;return n.type===z.LargeRow&&(u=pn.largeRowWidth),(0,K.jsx)(`div`,{className:`px-1 flex-shrink-0 position-relative ${u}`,children:(0,K.jsx)(je,{video:e.data,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,hideTitle:e.hideTitle,showVideoGuidance:e.showVideoGuidance,type:e.preventPopout||l.xs?`static`:`popout`,textPosition:Pe.Below,appLink:e.getAppLink(t),imageOptions:{size:r},preload:i,audience:c,hideRating:!!c,hideDuration:!1,onClickRemove:a.isFunction(e.onClickRemoveItem)&&(()=>e.onClickRemoveItem(t.id,t.name)),removeButtonTooltip:e.removeButtonTooltip,commonVideoProps:e.commonVideoProps})})}),hn={placeholderItem:`_placeholderItem_ghfxu_1`,placeholderInner:`_placeholderInner_ghfxu_19`,placeholderContent:`_placeholderContent_ghfxu_22`},gn=`widgets.thumbnailFixedListSearchCtaWidgetTemplate`,_n=3;function vn(e){let t=Re[e.widgetTypeId],a=P.getVideoContent(e.content).slice(0,_n);if(!a.length)return(0,K.jsx)(K.Fragment,{});let s=t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name);return(0,K.jsx)(R,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:z.Row,contents:L.Videos,collection:a,childComponent:mn,extraChildComponentProps:{presentationAudiences:e.audiences,showVideoGuidance:H.showVideoGuidance(e.hasPermissions),hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,preventPopout:e.preventPopout,showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:void 0,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,analyticsData:e.analyticsData,appLink:s,isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,trailingItemLength:1,trailingItems:(0,K.jsx)(`li`,{className:n(`flex-shrink-0 position-relative px-1`,hn.placeholderItem),children:(0,K.jsx)(`button`,{onClick:e.onClickSearchAllVideos,className:n(`d-block ratio ratio-16x9 bg-light rounded-1 overflow-hidden text-decoration-none border-0 p-0 w-100`,hn.placeholderInner),children:(0,K.jsx)(`div`,{className:n(`position-absolute top-0 start-0 bottom-0 end-0 d-flex flex-column align-items-center justify-content-center gap-2`,hn.placeholderContent),children:(0,K.jsxs)(`span`,{className:`text-center px-2 fw-semi-bold`,children:[(0,K.jsx)(i,{svg:Je,size:r.Small}),` `,o.getPhrase(gn,`search`)]})})})})})}function yn(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`m10.407 12.368-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.5.5 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004zm7.922-.37 1.437 1.406q.312.291.208.728a.72.72 0 0 1-.541.531l-1.957.5.551 1.936a.67.67 0 0 1-.197.729.67.67 0 0 1-.73.198l-1.935-.552-.5 1.957a.72.72 0 0 1-.53.541 1.3 1.3 0 0 1-.199.021.69.69 0 0 1-.53-.229L12 18.328l-1.405 1.436q-.292.313-.729.208a.7.7 0 0 1-.53-.541l-.5-1.957-1.937.552a.67.67 0 0 1-.728-.198.67.67 0 0 1-.198-.729l.551-1.936-1.957-.5a.72.72 0 0 1-.54-.53q-.104-.438.207-.73l1.437-1.405-1.437-1.405q-.312-.291-.208-.729a.72.72 0 0 1 .541-.53l1.957-.5-.551-1.936a.67.67 0 0 1 .198-.73.67.67 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.67.67 0 0 1 .729.198L12 5.68l1.405-1.447a.7.7 0 0 1 .73-.198q.426.104.53.53l.5 1.958L17.1 5.97a.67.67 0 0 1 .729.198.67.67 0 0 1 .197.729l-.551 1.936 1.957.5a.72.72 0 0 1 .541.53q.105.438-.208.73z`,fill:`currentColor`})})}var bn={card:`_card_1vln8_1`,avatar:`_avatar_1vln8_5`,time:`_time_1vln8_10`},xn=`shared.authorReviewerWidgetTemplate`,Sn=`MMMM D, YYYY`;function Cn(e){if(!e.person)return(0,K.jsx)(K.Fragment,{});let t=`${bn.card} h-100 rounded-2 d-flex flex-column`,n=e.person.externalUrl,r=qe.getAuthorBlogUrl(e.person.blogSlug);function i(){h.logUserAction({id:e.person.id,firstName:e.person.firstName,lastName:e.person.lastName,imageId:e.person.imageId,externalUrl:n,blogUrl:r},{entity:f.Author,location:m.AuthorReviewerWidget,actionType:s.Click})}return!r&&!n?(0,K.jsx)(`div`,{className:t,children:e.children}):(0,K.jsx)(`a`,{href:n||r,target:`_blank`,className:`${t} no-decoration`,onClick:i,children:e.children})}function wn(e){return e.person?(0,K.jsxs)(Cn,{person:e.person,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`${bn.avatar} rounded-circle me-2 overflow-hidden`,children:(0,K.jsx)(`img`,{className:`img-fluid`,src:j.getUrlById(e.imageCdnUrl,k.Avatars,e.person.imageId,A.Medium),alt:`${e.person.firstName} ${e.person.lastName}`})}),(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`h2`,{className:`h6 mb-0 fw-normal`,children:[(0,K.jsx)(i,{className:`align-middle svg-container d-inline-block`,svg:e.type===`reviewer`?yn:At}),e.type===`reviewer`?(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(D,{namespace:xn,phrase:`reviewedBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]}):(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(D,{namespace:xn,phrase:`authoredBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]})]}),(0,K.jsx)(`div`,{children:e.person.title})]})]}),(0,K.jsx)(`p`,{className:`mb-2 flex-grow-1`,children:e.person.bio}),(0,K.jsx)(`div`,{className:bn.time,children:e.type===`reviewer`?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(D,{namespace:xn,phrase:`reviewed`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:_.format(e.lastUpdated,Sn)})]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(D,{namespace:xn,phrase:`published`}),` `,(0,K.jsx)(`time`,{dateTime:e.datePublished,children:_.format(e.datePublished,Sn)}),`\xA0•\xA0`,(0,K.jsx)(D,{namespace:xn,phrase:`lastUpdated`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:_.format(e.lastUpdated,Sn)})]})})]}):(0,K.jsx)(K.Fragment,{})}function Tn(e){let{reviewer:t,author:n,lastUpdated:r,datePublished:i}=e.content[0];return!n||!t?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(wn,{type:`author`,person:n,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(wn,{type:`reviewer`,person:t,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})})]})}function En(){return(0,K.jsxs)(`div`,{className:`${bn.card} rounded-2`,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-circle me-2 ${bn.avatar}`}),(0,K.jsxs)(`div`,{className:`w-75`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`90%`,height:`21px`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`65%`,height:`1rem`}})]})]}),(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`100%`,height:`1rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`75%`,height:`1rem`}})]}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`50%`,height:`1rem`}})]})}function Dn(){return(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(En,{})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(En,{})})]})}var On={logoItem:`_logoItem_j31u5_1`,logo:`_logo_j31u5_1`},kn=function(e){let t=j.createUrl(e.data.logo?.url,{size:A.Medium}),r=e.data.metadata?.colour,i=bt(e.data.name,yt),a={...e.analyticsData,id:e.data?.id,name:e.data?.name},o={...e.analyticsOptions,location:m.CircleLogoSlidingListWidget,actionType:s.Click,entity:f.Company},c={backgroundImage:t?`url('${t}')`:null,backgroundColor:r};return(0,K.jsx)(E,{appLink:e.getAppLink(e.data),className:`position-relative px-1 flex-shrink-0 ${On.logoItem}`,analyticsData:a,analyticsOptions:o,children:(0,K.jsx)(`div`,{className:n(`rounded-circle w-100 h-100`,On.logo,!r&&i),style:c})})};function An(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Companies,collection:e.content,childComponent:kn,extraChildComponentProps:{},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,getChildAppLink:e.appLinks?.company})}var jn={logo:`_logo_siwx3_1`,logoWrapper:`_logoWrapper_siwx3_5`};function Mn(e){let t=8,n=V();return(n.sm||n.xs)&&(t=4),n.md&&(t=6),(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`d-flex flex-no-wrap`,children:Array(t).fill(null).map((e,t)=>(0,K.jsx)(`div`,{className:jn.logoWrapper,children:(0,K.jsx)(`div`,{className:`${jn.logo} h-100 d-inline-block partial-loading-background rounded-circle`})},t))})]})}function Nn(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(T,{className:`g-0`,children:[,,,,,].fill(null).map((e,t)=>(0,K.jsx)(w,{xs:12,sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Mt,{})})},t))})]})}var Pn={emoji:`_emoji_hej2b_1`};function Fn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{className:Pn.emoji,children:e.emoji}),e.children]})}function In(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`M19.4 4.362h-3.119a.6.6 0 0 0-.6.6v.233l-1.774-.705a1.8 1.8 0 0 0-.67-.128H6.731a1.82 1.82 0 0 0-1.798 1.572l-.916 6.804a1.815 1.815 0 0 0 1.797 2.057h3.833l.82 3.173a2.23 2.23 0 0 0 2.155 1.67c1.487 0 2.53-1.33 2.147-2.81l-.361-1.401a1.02 1.02 0 0 1 .61-1.202l.663-.263v.233a.6.6 0 0 0 .6.6H19.4a.6.6 0 0 0 .6-.6V4.962a.6.6 0 0 0-.6-.6m-3.719 8.309-1.106.439a2.22 2.22 0 0 0-1.33 2.617l.363 1.401c.174.676-.22 1.26-.915 1.307a1.03 1.03 0 0 1-1.065-.767l-.936-3.623a.6.6 0 0 0-.58-.45H5.813a.613.613 0 0 1-.608-.697l.916-6.804a.616.616 0 0 1 .609-.532h6.506q.118 0 .227.044l2.217.88zm3.119.924h-1.919V5.562H18.8z`,fill:`currentColor`})})}function Ln(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`M4.6 19.638h3.119a.6.6 0 0 0 .6-.6v-.233l1.774.704q.323.128.67.129h6.506a1.82 1.82 0 0 0 1.798-1.572l.916-6.804a1.815 1.815 0 0 0-1.797-2.057h-3.833l-.82-3.173a2.23 2.23 0 0 0-2.155-1.67c-1.487 0-2.53 1.33-2.147 2.81l.362 1.401a1.02 1.02 0 0 1-.61 1.202l-.664.263v-.233a.6.6 0 0 0-.6-.6H4.6a.6.6 0 0 0-.6.6v9.233a.6.6 0 0 0 .6.6m3.719-8.309 1.106-.439a2.22 2.22 0 0 0 1.33-2.617l-.363-1.401c-.174-.676.22-1.26.915-1.307.495-.033.941.289 1.065.767l.936 3.624a.6.6 0 0 0 .58.45h4.298c.373 0 .658.328.608.696l-.916 6.804a.616.616 0 0 1-.609.532h-6.506a.6.6 0 0 1-.227-.044l-2.217-.88zM5.2 10.405h1.919v8.033H5.2z`,fill:`currentColor`})})}var Rn=e(Qe()),zn=`shared.feedbackForm`,Bn=Rn.object().shape({feedbackInput:Rn.string().max(5e3,()=>o.getPhrase(zn,`tooLong`))}),Vn={promptContainer:`_promptContainer_1quuc_1`,text:`_text_1quuc_8`,form:`_form_1quuc_20`},q=`shared.feedbackForm`;function Hn(e){let[t,n]=G.useState(`prompt`),r=ne();function i(){n(`yes`)}function s(){n(`no`)}async function c(i,a){try{await e.onSubmit({content:i.feedbackInput,type:t===`yes`?`positive`:`negative`}),n(`done`)}catch{n(`prompt`),r.error(o.getPhrase(q,`error`))}finally{a({reset:!0})}}return a.isFunction(e.onSubmit)?t===`prompt`?(0,K.jsxs)(`div`,{className:Vn.promptContainer,children:[(0,K.jsx)(`p`,{className:`fw-semibold me-2 ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`🔎`,children:(0,K.jsx)(D,{namespace:q,phrase:`feedbackQuestion`})})}),(0,K.jsxs)(`div`,{className:`d-flex align-items-center`,children:[(0,K.jsx)(ge,{className:`btn btn-outline-dark me-2`,onClick:i,svg:Ln,children:(0,K.jsx)(D,{namespace:q,phrase:`yes`})}),(0,K.jsx)(ge,{className:`btn btn-outline-dark`,onClick:s,svg:In,children:(0,K.jsx)(D,{namespace:q,phrase:`no`})})]})]}):t===`yes`?(0,K.jsx)(Ze,{onSubmit:c,initialValues:{feedbackInput:``},validationSchema:Bn,children:(0,K.jsxs)(_e,{className:Vn.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`👏`,children:(0,K.jsx)(D,{namespace:q,phrase:`happyFeedback`})})}),(0,K.jsx)($e,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:o.getPhrase(q,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(D,{namespace:q,phrase:`back`})}),(0,K.jsx)(Nt,{variant:`dark`,submitText:o.getPhrase(q,`sendFeedback`)})]})]})}):t===`no`?(0,K.jsx)(Ze,{onSubmit:c,initialValues:{feedbackInput:``},validationSchema:Bn,children:(0,K.jsxs)(_e,{className:Vn.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`😢`,children:(0,K.jsx)(D,{namespace:q,phrase:`unhappyFeedback`})})}),(0,K.jsx)($e,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:o.getPhrase(q,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(D,{namespace:q,phrase:`back`})}),(0,K.jsx)(Nt,{variant:`dark`,submitText:o.getPhrase(q,`sendFeedback`)})]})]})}):t===`done`?(0,K.jsx)(`p`,{className:`fw-semibold text-center`,children:(0,K.jsx)(Fn,{emoji:`🙌`,children:(0,K.jsx)(D,{namespace:q,phrase:`thankYou`})})}):(0,K.jsx)(K.Fragment,{}):(0,K.jsx)(K.Fragment,{})}var Un={imageContainer:`_imageContainer_xfe6r_1`,image:`_image_xfe6r_1`,background:`_background_xfe6r_16`};function Wn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`${Un.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h5`,children:e.name}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mb-2 w-100`,children:e.content.map(t=>{let n=j.createUrl(t.cover?.url,{size:A.Small});return(0,K.jsx)(w,{as:`li`,xs:12,sm:6,lg:4,children:(0,K.jsxs)(E,{appLink:e.appLinks?.classification?.(t),className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`${Un.imageContainer} me-2`,children:(0,K.jsx)(`div`,{className:`${Un.image} rounded`,style:{backgroundImage:`url('${n}')`}})}),(0,K.jsx)(`div`,{children:t.name})]})},t.id)})})]}),(0,K.jsx)(Hn,{onSubmit:e.onSubmitFeedback})]})}function Gn(){return(0,K.jsxs)(`div`,{className:`${Un.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2`,style:{height:`1.35rem`,width:`8rem`}}),(0,K.jsx)(T,{className:`mb-2 ${Un.row}`,children:Array(8).fill(null).map((e,t)=>(0,K.jsx)(w,{xs:12,sm:6,lg:4,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background me-2 rounded`,style:{width:`2rem`,height:`2rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`5rem`,height:`1.3125rem`}})]})},t))})]})}var Kn={actionType:s.Click,entity:f.Playlist,location:m.PlaylistListItem,descriptor:d.Cover};function qn(e){return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map(t=>(0,K.jsx)(w,{as:`li`,xs:6,sm:4,lg:3,className:`px-1 pb-2 columns-of-five`,children:(0,K.jsx)(It,{data:t,presentationAudiences:e.audiences,appLink:e.appLinks?.playlist?.(t),itemStyle:`round`,analyticsData:e.analyticsData,analyticsOptions:Kn})},t.id))})]})}function Jn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(Pt,{itemClassName:`columns-of-five`})]})}var Yn=function(e){return e.Root=`root`,e}({}),J=function(e){return e[e.Level_1=1]=`Level_1`,e[e.Level_2=2]=`Level_2`,e[e.Level_3=3]=`Level_3`,e[e.Level_4=4]=`Level_4`,e}({}),Xn=o.encloseNamespace(`subjects.utils`),Y={isPresentation(e){return`learningLevel`in e},isTopicClassification(e){return e?.type===Xe.Subject},getMappedPresentationLevel(e){return typeof e==`string`?J[e]:e},getMappedPresentationBackgroundColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`bg-indigo`;case J.Level_2:return`bg-teal`;case J.Level_3:return`bg-blue`;case J.Level_4:return`bg-navy`;default:return`bg-green`}},getMappedPresentationLightBackgroundColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`bg-light-indigo`;case J.Level_2:return`bg-light-teal`;case J.Level_3:return`bg-light-blue`;case J.Level_4:return`bg-light-navy`;default:return`bg-light-green`}},getMappedPresentationBorderColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`border-indigo`;case J.Level_2:return`border-teal`;case J.Level_3:return`border-blue`;case J.Level_4:return`border-navy`;default:return`border-green`}},getMappedPresentationBackgroundColourCode(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`#7A76E8`;case J.Level_2:return`#40BCC3`;case J.Level_3:return`#38A2E8`;case J.Level_4:return`#1B2D71`;default:return`#5DC786`}},getPresentationLevelImage(e,t){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:if(t===`topic-banner`)return U.Images.Level_1.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_1.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_1.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_1.TOPIC_TALL_POSTER;case J.Level_2:if(t===`topic-banner`)return U.Images.Level_2.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_2.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_2.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_2.TOPIC_TALL_POSTER;default:case J.Level_3:if(t===`topic-banner`)return U.Images.Level_3.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_3.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_3.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_3.TOPIC_TALL_POSTER;case J.Level_4:if(t===`topic-banner`)return U.Images.Level_4.TOPIC_BANNER;if(t===`cover`)return U.Images.Level_4.TOPIC_COVER}},getExploreAllTopicsTitle(e,t){return t<Te.MULTI_PRESENTATION_THRESHOLD?Xn(`exploreAllTopicsHeading`):Xn(`exploreAllTopicsDynamicHeading`,{presentationName:e})},getExploreAllTopicsBreadcrumb(e,t){return t<Te.MULTI_PRESENTATION_THRESHOLD?Xn(`exploreAllTopicsHeading`):e},isFollowing(e){return e?.followers?.data?.length===1},isTopLevelTopic(e){return!!e?.parentIds?.includes(Yn.Root)},canHaveVideoListTab(e){return e?.widgets?.some(e=>e.metadata?.showInTableOfContents)},getActiveTopicTab(e,t){return Y.isTopLevelTopic(e)?t===F.Classification?`new-releases`:`all-topics`:t===F.Classification?`curated-topic`:`curriculum`},getCounts(e){let t=e?.metadata?.childClassificationCount??0;return e?.externalMetadata?{childClassificationCount:t,dashboardVideoCount:e.externalMetadata.dashboardVideoCount||0,childDashboardVideoCount:e.externalMetadata.childDashboardVideoCount||0,dashboardResourceCount:e.externalMetadata.dashboardResourceCount||0,childDashboardResourceCount:e.externalMetadata.childDashboardResourceCount||0,dashboardNewVideosCount:e.externalMetadata.dashboardNewVideosCount||0,childDashboardNewVideoCount:e.externalMetadata.childDashboardNewVideoCount||0}:{childClassificationCount:t,dashboardVideoCount:0,childDashboardVideoCount:0,dashboardResourceCount:0,childDashboardResourceCount:0,dashboardNewVideosCount:0,childDashboardNewVideoCount:0}},isTertiary(e){return e?.toString()===U.PresentationIds.AU_TERTIARY.toString()||e?.toString()===U.PresentationIds.UK_TERTIARY.toString()},isNewZealandTopic(e){return e?.toString()===U.PresentationIds.NZ_PRIMARY.toString()||e?.toString()===U.PresentationIds.NZ_SECONDARY.toString()},isCanadaTopic(e){return e?.toString()===U.PresentationIds.CA_ELEMENTARY.toString()||e?.toString()===U.PresentationIds.CA_MIDDLE.toString()||e?.toString()===U.PresentationIds.CA_HIGH.toString()},isInternationalTopic(e){return e?.toString()===U.PresentationIds.INT_PRIMARY.toString()||e?.toString()===U.PresentationIds.INT_SECONDARY.toString()},isMtv(e){return e?.tags?.data?e.tags.data.some(e=>e.tagType===lt.Curation&&e.name===Ee.MOVIES_AND_TV):!1},sortByLearningLevel(e,t,n){let r=n.find(t=>t?.id.toString()===e?.presentationId?.toString()),i=n.find(e=>e?.id.toString()===t?.presentationId?.toString());return J[r?.learningLevel]-J[i?.learningLevel]}},Zn=`classification-latest-releases`,Qn=`explore-all-topics`;function $n(e){return e.reduce((e,t)=>e+=t?.totalVideos||0,0)}function er(e){return e.totalVideos?`${e.totalVideos} new video${e.totalVideos>1?`s`:``}`:``}function tr(e,t){if(e.metadata?.appLink===ze.ClassificationDirectory&&e.settings?.hasTopicDirectories)return{id:ze.ClassificationDirectory,name:`Explore all topics`,cover:{url:j.createUrl(e.classification?.cover?.url,{size:A.Small})},metadata:{backgroundColor:e.classification?.metadata?.backgroundColor}};if(e.metadata?.appLink===ze.ClassificationLatestReleases)return{id:Zn,name:`All new releases`,cover:{url:j.getUrlById(e.imageCdnUrl,k.Covers,e.metadata.imageId,A.Medium)},totalVideos:$n(t)};if(e.metadata?.appLink===ze.ExploreAllTopics)return{id:Qn,name:`Explore all subjects`,cover:{url:j.createUrl(U.Images.STREAMABLE_TOPIC_COVER,{size:A.Small})}}}function nr(e){let t=tr(e,e.content),n=e.metadata?.appLink===ze.ClassificationLatestReleases;function r(){return!e.classification||!Y.isTopLevelTopic(e.classification)||e.widgetTypeId!==N.Classifications||e.templateId!==M.CoverSlidingPillListSmall||!e.settings?.hasTopicDirectories?null:e.appLinks?.classificationDirectory?.(e.classification)}function i(t){return t.id===ze.ClassificationDirectory?e.appLinks?.classificationDirectory?.(e.classification):t.id===ze.ExploreAllTopics?e.appLinks?.allTopics?.(t):n?e.appLinks?.classificationLatestReleases?.(t):e.appLinks?.classification?.(t)}return(0,K.jsx)(mt,{id:e.id,collection:t?[t,...e.content]:e.content,getChildAppLink:e=>i(e),childComponent:jt,partialLoadingComponent:kt,heading:e.name,headingAppLink:r(),getSubtitle:n?er:void 0,description:e.description,hideButtons:e.showHighlight,analyticsData:e.analyticsData,childComponentProps:{highlightOnHover:e.settings?.hasTopicDirectories,shouldHighlight:e=>e.id===ze.ClassificationDirectory}})}function rr(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(ft,{partialLoadingComponent:kt})]})}var ir=o.encloseNamespace(`search.searchExchangeArchiveDescription`);function ar(e){return(0,K.jsxs)(K.Fragment,{children:[ir(`searchExchangeArchiveDescription`),`\xA0`,(0,K.jsx)(E,{appLink:e.appLink,className:`info-link`,children:ir(`searchExchangeArchiveLink`)})]})}function or(e){function t(){return!!e.seeMoreLink&&[N.SearchExchangeArchive,N.SearchMySchoolLibraryVideos].includes(e.widgetTypeId)}function n(){return e.widgetTypeId===N.SearchExchangeArchive?(0,K.jsx)(ar,{appLink:e.appLinks.searchSettings()}):e.description}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata.hideWidgetDescription&&n(),showSeeMoreLink:t(),appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(Fe,{videos:e.content,getVideoAppLink:e.appLinks?.videoType,hasPermissions:e.hasPermissions,getPreviewQuestionsAppLink:e.appLinks?.getPreviewQuestionsAppLink,presentationAudiences:e.audiences,commonVideoProps:e.commonVideoProps,getAnalyticsData:e.getAnalyticsData,analyticsOptions:{location:m.ThumbnailVerticalListWidget,entity:f.Video}})]})}function sr(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`bg-gray-100 p-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h6`,children:e.name}),(0,K.jsx)(zt,{code:e.metadata.curriculumLeafName,description:e.metadata.curriculumLeafDescription,id:null,locationContext:m.SearchCurriculumCodeWidget})]}),(0,K.jsx)(or,{metadata:{hideWidgetHeading:!0,hideWidgetDescription:!0},name:``,description:``,widgetTypeId:N.SearchCurriculumCode,hasPermissions:e.hasPermissions,content:e.content,audiences:e.audiences,seeMoreLink:null,appLinks:e.appLinks,commonVideoProps:e.commonVideoProps,badgeComponent:null,settings:e.settings,getAnalyticsData:e.getAnalyticsData})]})}function cr(){return(0,K.jsx)(Bt,{numVideos:3})}function lr(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-3 mb-3 w-100`,style:{height:`5rem`}}),(0,K.jsx)(cr,{})]})}var ur={accordionButton:`_accordionButton_h20c2_1`,expanded:`_expanded_h20c2_8`};function dr(e){let{activeEventKey:t}=G.useContext(Yt),n=$t(e.name),r=t===e.name;return(0,K.jsx)(`button`,{type:`button`,onClick:n,className:`w-100 p-3 ${ur.accordionButton} ${r?ur.expanded:``}`,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center justify-content-between`,children:[(0,K.jsx)(`h3`,{className:`mb-0 h5 fw-normal`,children:e.name}),(0,K.jsx)(`div`,{className:`rounded-circle bg-white me-2`,children:(0,K.jsx)(i,{svg:r?on:tt})})]})})}var fr={video:`_video_yg2yl_1`,thumbnail:`_thumbnail_yg2yl_4`},pr=`shared.curriculumAccordionVideoList`;function mr(e){let t=!!e.outcome.name&&!!e.outcome.description;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(D,{namespace:pr,phrase:`alignedVideos`})}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:e.outcome.videos.map((t,n)=>{let r={analyticsData:e.analyticsData,analyticsOptions:{entity:f.Video,actionType:s.Click,location:m.CurriculumResourcesAccordionWidget}};return(0,K.jsxs)(`li`,{className:`${fr.video} d-flex`,children:[(0,K.jsx)(`div`,{className:`${fr.thumbnail} me-2`,children:(0,K.jsx)(je,{appLink:e.getVideoAppLink(t,{}),video:t,type:`static`,imageOptions:{size:A.Medium},commonVideoProps:e.commonVideoProps,hideDuration:!0,...r})}),(0,K.jsxs)(`div`,{className:`d-flex flex-column justify-content-between`,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(Et,{...r,video:t,appLink:e.getSeriesAppLink(t.series),type:`series`}),(0,K.jsx)(ke,{...r,video:t,appLink:e.getVideoAppLink(t,{}),size:`sm`,titleClassName:`mb-0`,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:e.commonVideoProps.showNewVideoIndicator,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience})]}),(0,K.jsx)(Me,{video:t,getVideoAppLink:e.getVideoAppLink,commonVideoProps:e.commonVideoProps,containerClassName:`d-flex justify-content-start align-items-center pt-sm-1 gap-1`,responsiveClassName:fr.responsiveGuidance,...r})]})]},`${e.outcomeIndex}:${n}`)})}),(0,K.jsx)(E,{appLink:e.getOutcomeAppLink(e.outcome.name),className:`info-link mt-2 d-inline-block`,children:t?(0,K.jsx)(D,{namespace:pr,phrase:`viewAllVideosCode`,options:{code:e.outcome.name}}):(0,K.jsx)(D,{namespace:pr,phrase:`viewAllVideosNoCode`})})]})}var hr={audience:`_audience_1aalu_1`,area:`_area_1aalu_6`,outcome:`_outcome_1aalu_9`},gr=`shared.audienceSection`;function _r(e){return(0,K.jsx)(an.Collapse,{eventKey:e.audience.name,children:(0,K.jsx)(`div`,{className:`${hr.audience} px-3 pb-3`,children:(0,K.jsx)(`ul`,{className:`bg-white p-3 rounded-3 list-unstyled mb-0`,children:e.audience.areas.map((t,n)=>(0,K.jsxs)(`li`,{className:hr.area,children:[(0,K.jsx)(`h3`,{className:`h5 fw-normal mb-3`,children:t.name}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:t.outcomes.map((t,n)=>(0,K.jsxs)(`li`,{className:hr.outcome,children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(D,{namespace:gr,phrase:`outcome`})}),(0,K.jsx)(`div`,{className:`pb-2`,children:(0,K.jsx)(zt,{id:t.id,code:t.name,description:t.description,getCodeAppLink:e.getSearchAppLink,locationContext:m.CurriculumResourcesAccordionWidget,uiContainsCodes:!0})}),(0,K.jsx)(mr,{outcome:t,analyticsData:e.analyticsData,getVideoAppLink:e.getVideoAppLink,getSeriesAppLink:e.getSeriesAppLink,getOutcomeAppLink:e.getSearchAppLink,commonVideoProps:e.commonVideoProps,outcomeIndex:n})]},n))})]},n))})})})}function vr(e){let t=new Map;function n(e,r){if(e.type===Rt.Area){r.length&&(r+=` - `),r+=e.name;for(let t of e.children)n(t,r);return}e.type===Rt.Leaf&&(t.has(r)||t.set(r,{name:r,outcomes:[]}),t.get(r).outcomes.push(e))}for(let t of e.children)n(t,``);return Array.from(t.values())}function yr(e){let t=new Map;for(let n of e)for(let e of n.children)t.has(e.name)||t.set(e.name,{name:e.name,areas:[]}),t.get(e.name).areas.push(...vr(e));return Array.from(t.values())}var br=`shared.curriculumResourcesAccordion`;function xr(e){let t=G.useMemo(()=>yr(e.content),[e.content]);return(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-end justify-content-between mb-2`,children:[(0,K.jsx)(`h2`,{className:`h3 mb-0`,children:e.curriculums.preferredCurriculum.name}),e.curriculums.availableCurriculums.length>1&&(0,K.jsx)(E,{appLink:e.appLinks.editCurriculum(),children:(0,K.jsx)(D,{namespace:br,phrase:`changeCurriculum`})})]}),(0,K.jsx)(an,{className:`mb-n3`,children:t.map((t,n)=>(0,K.jsxs)(`div`,{className:`mb-3`,children:[(0,K.jsx)(dr,{name:t.name}),(0,K.jsx)(_r,{audience:t,getSearchAppLink:e.appLinks.search,getVideoAppLink:e.appLinks.videoType,getSeriesAppLink:e.appLinks.series,commonVideoProps:e.commonVideoProps,analyticsData:e.analyticsData})]},n))})]})}var Sr=()=>(0,K.jsx)(`div`,{className:`partial-loading-background mb-3 rounded-3`,style:{height:`3.5rem`}});function Cr(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2 w-25`,style:{height:`1.7325rem`}}),(0,K.jsxs)(`div`,{className:`mb-n3`,children:[(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{})]})]})}function wr(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,fillRule:`nonzero`,d:`M19 15.75a.75.75 0 0 1 .102 1.493L19 17.25H5a.75.75 0 0 1-.102-1.493L5 15.75zm0-5a.75.75 0 0 1 .102 1.493L19 12.25H5a.75.75 0 0 1-.102-1.493L5 10.75zm0-5a.75.75 0 0 1 .102 1.493L19 7.25H5a.75.75 0 0 1-.102-1.493L5 5.75z`})})}var Tr=`shared.subjectWidgetItem`,Er=G.forwardRef((e,t)=>{let n=`px-3 d-flex flex-column justify-content-center`,r=`${Ot.name} h6`;e.multiline?r+=` clamp-3`:(n+=` text-nowrap`,r+=` text-truncate`);function a(){return e.canToggle?o.getPhrase(Tr,e.isVisible?`hideFromDashboard`:`showOnDashboard`):o.getPhrase(Tr,`cantToggle`)}return e.style?.visibility===`hidden`?(0,K.jsx)(`div`,{ref:t,className:`d-flex align-items-center position-relative clamp-2 ${Ot.widgetItem} ${Ot.draggingItem}`,style:l.omit(e.style,[`visibility`])}):(0,K.jsxs)(`div`,{ref:t,className:`border d-flex align-items-center position-relative ${Ot.widgetItem}`,style:l.omit(e.style,[`visibility`]),children:[(0,K.jsx)(`div`,{className:`
|
|
1
|
+
import{gt as e,v as t}from"./Dp9qJj1C.chunk.js";import{a as n,n as r,t as i,v as a}from"./BJvPfCvt.chunk.js";import{t as o}from"./ImQRQGZr.chunk.js";import{C as s,E as c,M as l,S as u,c as d,l as f,lt as p,m,n as h,ut as g}from"./Dun43GrB.chunk.js";import{t as _}from"./CFXUbsBS.chunk.js";import{l as v}from"./BQ5XMoHG.chunk.js";import{t as y}from"./B7tm2CBz.chunk.js";import{n as b,t as x}from"./C9ET3pjZ.chunk.js";import{t as S}from"./CN1th_9f.chunk.js";import{n as ee}from"./CAEQvGr_.chunk.js";import{i as te}from"./CEsevkum.chunk.js";import{t as ne}from"./H6wjCesG.chunk.js";import{A as C,E as re,I as ie,P as ae,S as oe,_ as se,b as ce,d as le,s as ue,u as de,x as fe,y as pe}from"./B3l7OlNe.chunk.js";import{n as me,t as w}from"./D86qrFLE.chunk.js";import{n as T}from"./Da5tDmIW2.chunk.js";import{n as he,t as E}from"./Ca1QPe-q2.chunk.js";import{t as ge}from"./Cz6swPXe2.chunk.js";import{i as _e,t as ve}from"./ClfNVaoj2.chunk.js";import{n as D}from"./D7d5XFW82.chunk.js";import{t as ye}from"./DygtVvI42.chunk.js";import{n as be,r as O,s as xe}from"./DjIdG9LL2.chunk.js";import{t as Se}from"./CE6Tgu462.chunk.js";import{n as Ce}from"./iuoIcGAm2.chunk.js";import{n as we}from"./CL1ST5J62.chunk.js";import{i as k,r as A,t as j}from"./D2om474U2.chunk.js";import{t as Te}from"./Bonea1G32.chunk.js";import{r as Ee,t as De}from"./DUNFBIIl2.chunk.js";import{_ as Oe,c as ke,d as Ae,f as je,g as Me,l as Ne,p as Pe,t as Fe,u as Ie,v as Le}from"./BpgHKWR52.chunk.js";import{a as M,i as N,n as Re,o as ze,r as Be,s as Ve,t as P}from"./B8R4YVaF2.chunk.js";import{n as F,r as He,t as Ue}from"./Bx_V3too2.chunk.js";import{a as I,i as We,n as Ge,o as L,r as R,s as z}from"./Llxar-VU.chunk.js";import{t as B}from"./X4vTaPlk.chunk.js";import{A as Ke,N as V,O as qe,j as Je,q as Ye}from"./app-BIigh9wv.js";import{t as Xe}from"./CZb3E982.chunk.js";import{i as Ze,r as Qe,t as $e}from"./DKnZ8BaN.chunk.js";import{t as et}from"./CnDOpuFK.chunk.js";import{t as tt}from"./CwttNCGZ.chunk.js";import{t as nt}from"./CUUUI6pl.chunk.js";import{t as H}from"./DDKwae_D2.chunk.js";import{t as rt}from"./DkuROpKb2.chunk.js";import{t as it}from"./BbCIyIf_2.chunk.js";import{t as at}from"./DO8_mR5i2.chunk.js";import{n as ot}from"./Bt57Tmef2.chunk.js";import{t as st}from"./DrgVCnQA2.chunk.js";import{t as ct}from"./LdxNQaUZ2.chunk.js";import{n as U}from"./C9tPKnK22.chunk.js";import{n as lt}from"./DnwEQ4qU2.chunk.js";import{n as ut,t as dt}from"./CVaCZDos2.chunk.js";import{a as W}from"./DK3xia1t.chunk.js";import{n as ft,r as pt,t as mt}from"./CrCAJmt6.chunk.js";import{r as ht}from"./CeyqMjfq.chunk.js";import{n as gt,r as _t,t as vt}from"./smdLElLq.chunk.js";import{r as yt,t as bt}from"./BBWlVBxr.chunk.js";import{i as xt,n as St,r as Ct,t as wt}from"./ClGIvvk6.chunk.js";import{n as Tt,s as Et}from"./DIavEegC.chunk.js";import{i as Dt}from"./DobKejA8.chunk.js";import{a as Ot,n as kt,o as At,r as jt,t as Mt}from"./CIGsvs1s.chunk.js";import{t as Nt}from"./BTWCXqXm.chunk.js";import{i as Pt,n as Ft,r as It,t as Lt}from"./DR80oZtZ.chunk.js";import{r as Rt,t as zt}from"./gbgcwRX-.chunk.js";import{n as Bt,t as Vt}from"./D0SYGnyF.chunk.js";function Ht(...e){return e.filter(e=>e!=null).reduce((e,t)=>{if(typeof t!=`function`)throw Error(`Invalid Argument Type, must only provide functions, undefined, or null.`);return e===null?t:function(...n){e.apply(this,n),t.apply(this,n)}},null)}var Ut=e(ie()),G=e(g()),K=p(),Wt={height:[`marginTop`,`marginBottom`],width:[`marginLeft`,`marginRight`]};function Gt(e,t){let n=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],r=Wt[e];return n+parseInt(re(t,r[0]),10)+parseInt(re(t,r[1]),10)}var Kt={[fe]:`collapse`,[oe]:`collapsing`,[ce]:`collapsing`,[pe]:`collapse show`},qt=G.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:a,children:o,dimension:s=`height`,in:c=!1,timeout:l=300,mountOnEnter:u=!1,unmountOnExit:d=!1,appear:f=!1,getDimensionValue:p=Gt,...m},h)=>{let g=typeof s==`function`?s():s,_=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=`0`},e),[g,e]),v=(0,G.useMemo)(()=>Ht(e=>{let t=`scroll${g[0].toUpperCase()}${g.slice(1)}`;e.style[g]=`${e[t]}px`},t),[g,t]),y=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=null},n),[g,n]),b=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=`${p(g,e)}px`,de(e)},r),[r,p,g]),x=(0,G.useMemo)(()=>Ht(e=>{e.style[g]=null},i),[g,i]);return(0,K.jsx)(ue,{ref:h,addEndListener:le,...m,"aria-expanded":m.role?c:null,onEnter:_,onEntering:v,onEntered:y,onExit:b,onExiting:x,childRef:se(o),in:c,timeout:l,mountOnEnter:u,unmountOnExit:d,appear:f,children:(e,t)=>G.cloneElement(o,{...t,className:(0,Ut.default)(a,o.props.className,Kt[e],g===`width`&&`collapse-horizontal`)})})});function Jt(e,t){return Array.isArray(e)?e.includes(t):e===t}var Yt=G.createContext({});Yt.displayName=`AccordionContext`;var Xt=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,children:r,eventKey:i,...a},o)=>{let{activeEventKey:s}=(0,G.useContext)(Yt);return t=C(t,`accordion-collapse`),(0,K.jsx)(qt,{ref:o,in:Jt(s,i),...a,className:(0,Ut.default)(n,t),children:(0,K.jsx)(e,{children:G.Children.only(r)})})});Xt.displayName=`AccordionCollapse`;var Zt=G.createContext({eventKey:``});Zt.displayName=`AccordionItemContext`;var Qt=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,...l},u)=>{t=C(t,`accordion-body`);let{eventKey:d}=(0,G.useContext)(Zt);return(0,K.jsx)(Xt,{eventKey:d,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,children:(0,K.jsx)(e,{ref:u,...l,className:(0,Ut.default)(n,t)})})});Qt.displayName=`AccordionBody`;function $t(e,t){let{activeEventKey:n,onSelect:r,alwaysOpen:i}=(0,G.useContext)(Yt);return a=>{let o=e===n?null:e;i&&(o=Array.isArray(n)?n.includes(e)?n.filter(t=>t!==e):[...n,e]:[e]),r?.(o,a),t?.(a)}}var en=G.forwardRef(({as:e=`button`,bsPrefix:t,className:n,onClick:r,...i},a)=>{t=C(t,`accordion-button`);let{eventKey:o}=(0,G.useContext)(Zt),s=$t(o,r),{activeEventKey:c}=(0,G.useContext)(Yt);return e===`button`&&(i.type=`button`),(0,K.jsx)(e,{ref:a,onClick:s,...i,"aria-expanded":Array.isArray(c)?c.includes(o):o===c,className:(0,Ut.default)(n,t,!Jt(c,o)&&`collapsed`)})});en.displayName=`AccordionButton`;var tn=G.forwardRef(({as:e=`h2`,"aria-controls":t,bsPrefix:n,className:r,children:i,onClick:a,...o},s)=>(n=C(n,`accordion-header`),(0,K.jsx)(e,{ref:s,...o,className:(0,Ut.default)(r,n),children:(0,K.jsx)(en,{onClick:a,"aria-controls":t,children:i})})));tn.displayName=`AccordionHeader`;var nn=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,eventKey:r,...i},a)=>{t=C(t,`accordion-item`);let o=(0,G.useMemo)(()=>({eventKey:r}),[r]);return(0,K.jsx)(Zt.Provider,{value:o,children:(0,K.jsx)(e,{ref:a,...i,className:(0,Ut.default)(n,t)})})});nn.displayName=`AccordionItem`;var rn=G.forwardRef((e,t)=>{let{as:n=`div`,activeKey:r,bsPrefix:i,className:a,onSelect:o,flush:s,alwaysOpen:c,...l}=ae(e,{activeKey:`onSelect`}),u=C(i,`accordion`),d=(0,G.useMemo)(()=>({activeEventKey:r,onSelect:o,alwaysOpen:c}),[r,o,c]);return(0,K.jsx)(Yt.Provider,{value:d,children:(0,K.jsx)(n,{ref:t,...l,className:(0,Ut.default)(a,u,s&&`${u}-flush`)})})});rn.displayName=`Accordion`;var an=Object.assign(rn,{Button:en,Collapse:Xt,Item:nn,Header:tn,Body:Qt});function on(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fillRule:`evenodd`,d:`M7 11h10c.554 0 1 .446 1 1s-.446 1-1 1H7c-.554 0-1-.446-1-1s.446-1 1-1`,fill:`currentColor`})})}var sn={question:`_question_1wrw2_1`,disabled:`_disabled_1wrw2_5`,partialQuestion:`_partialQuestion_1wrw2_18`,description:`_description_1wrw2_22`},cn=`1.2rem`,ln=500;function un(e){let[t,r]=we(`should:expand:${e.id}`,e.isBot,{storage:te.LocalStorage}),[a,o]=G.useState(t?`100%`:cn),[c,l]=G.useState(!t),[u,p]=G.useState(!0),[g,_]=G.useState(null),v=Se(),y=G.useRef(null),b=G.useRef(null),x=G.useRef(null),S=G.useCallback(()=>{if(!g||!b.current)return;let e=document.createElement(`p`);e.innerHTML=g,e.className=`mb-0 ${O.getContainerClass()}`,e.style.visibility=`hidden`,b.current.appendChild(e);let t=e.clientHeight;b.current.removeChild(e);let n=document.createElement(`p`);n.innerHTML=` `,n.className=`mb-0 ${O.getContainerClass()}`,n.style.visibility=`hidden`,b.current.appendChild(n);let r=n.clientHeight;b.current.removeChild(n),p(t>r+5)},[g]);function ee(n){u&&(O.isLink(n.target)||window.getSelection().toString().length===0&&(h.logUserAction({...e.analyticsData,question:e.question,answer:e.answer},{...e.analyticsOptions,entity:f.Faq,actionType:s.Click,descriptor:t?d.Collapse:d.Expand,location:m.FaqQuestionWidget}),t?C():ne()))}function ne(){re(),r(!0),window.clearTimeout(y.current),l(!1)}function C(){o(cn),r(!1),y.current=window.setTimeout(()=>{l(!0)},ln)}function re(){let e=document.createElement(`p`);e.innerHTML=g,e.style.visibility=`hidden`,b.current.appendChild(e),o(`${e.clientHeight}px`),b.current.removeChild(e)}return G.useEffect(()=>{async function n(){let n=await O.parse(e.answer,{focusableLinks:t});if(v.current){if(g===null){_(n);return}g!==n&&(g&&t&&C(),_(n))}}n()},[e.answer]),G.useEffect(()=>{a!==`100%`||!x.current||o(x.current.clientHeight+`px`)},[a]),G.useEffect(()=>{S()},[S]),pt(()=>{t&&C()},S,[t,S]),!e.question||!g?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(he,{className:n(sn.question,`rounded-3`,!u&&sn.disabled),onClick:ee,children:[(0,K.jsxs)(`div`,{className:`pb-3`,children:[(0,K.jsx)(`div`,{className:`float-end rounded-circle bg-white`,children:u&&(0,K.jsx)(i,{svg:t?on:tt})}),(0,K.jsx)(`h2`,{className:`h4 mb-0 clear-end`,children:e.question})]}),(0,K.jsxs)(`div`,{className:sn.description,style:{height:a},children:[(0,K.jsx)(`p`,{className:`mb-0 ${c?`clamp-1`:``} ${O.getContainerClass()}`,dangerouslySetInnerHTML:{__html:g},ref:x}),(0,K.jsx)(`div`,{ref:b})]})]})}var dn={animatedBorder:`_animatedBorder_1g9h4_1`,borderRotate:`_borderRotate_1g9h4_1`,animatedBorderContent:`_animatedBorderContent_1g9h4_10`};function fn({enabled:e,children:t}){return e?(0,K.jsx)(`div`,{className:dn.animatedBorder,children:(0,K.jsx)(`div`,{className:`${dn.animatedBorderContent} p-2`,children:t})}):(0,K.jsx)(K.Fragment,{children:t})}var pn={rowWidth:`_rowWidth_1iijx_1`,largeRowWidth:`_largeRowWidth_1iijx_4`},mn=G.memo(function(e){let{data:t,context:n,thumbnailSize:r,preloadImage:i,presentationAudiences:o}=e,s=t?.subjectPresentationAudiences?.data,c=Tt(s,o),l=V(),u=pn.rowWidth;return n.type===z.LargeRow&&(u=pn.largeRowWidth),(0,K.jsx)(`div`,{className:`px-1 flex-shrink-0 position-relative ${u}`,children:(0,K.jsx)(je,{video:e.data,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,hideTitle:e.hideTitle,showVideoGuidance:e.showVideoGuidance,type:e.preventPopout||l.xs?`static`:`popout`,textPosition:Pe.Below,appLink:e.getAppLink(t),imageOptions:{size:r},preload:i,audience:c,hideRating:!!c,hideDuration:!1,onClickRemove:a.isFunction(e.onClickRemoveItem)&&(()=>e.onClickRemoveItem(t.id,t.name)),removeButtonTooltip:e.removeButtonTooltip,commonVideoProps:e.commonVideoProps})})}),hn={placeholderItem:`_placeholderItem_ghfxu_1`,placeholderInner:`_placeholderInner_ghfxu_19`,placeholderContent:`_placeholderContent_ghfxu_22`},gn=`widgets.thumbnailFixedListSearchCtaWidgetTemplate`,_n=3;function vn(e){let t=Re[e.widgetTypeId],a=P.getVideoContent(e.content).slice(0,_n);if(!a.length)return(0,K.jsx)(K.Fragment,{});let s=t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name);return(0,K.jsx)(R,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:z.Row,contents:L.Videos,collection:a,childComponent:mn,extraChildComponentProps:{presentationAudiences:e.audiences,showVideoGuidance:H.showVideoGuidance(e.hasPermissions),hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,preventPopout:e.preventPopout,showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:void 0,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,analyticsData:e.analyticsData,appLink:s,isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,trailingItemLength:1,trailingItems:(0,K.jsx)(`li`,{className:n(`flex-shrink-0 position-relative px-1`,hn.placeholderItem),children:(0,K.jsx)(`button`,{onClick:e.onClickSearchAllVideos,className:n(`d-block ratio ratio-16x9 bg-light rounded-1 overflow-hidden text-decoration-none border-0 p-0 w-100`,hn.placeholderInner),children:(0,K.jsx)(`div`,{className:n(`position-absolute top-0 start-0 bottom-0 end-0 d-flex flex-column align-items-center justify-content-center gap-2`,hn.placeholderContent),children:(0,K.jsxs)(`span`,{className:`text-center px-2 fw-semi-bold`,children:[(0,K.jsx)(i,{svg:Je,size:r.Small}),` `,o.getPhrase(gn,`search`)]})})})})})}function yn(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`m10.407 12.368-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.5.5 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004zm7.922-.37 1.437 1.406q.312.291.208.728a.72.72 0 0 1-.541.531l-1.957.5.551 1.936a.67.67 0 0 1-.197.729.67.67 0 0 1-.73.198l-1.935-.552-.5 1.957a.72.72 0 0 1-.53.541 1.3 1.3 0 0 1-.199.021.69.69 0 0 1-.53-.229L12 18.328l-1.405 1.436q-.292.313-.729.208a.7.7 0 0 1-.53-.541l-.5-1.957-1.937.552a.67.67 0 0 1-.728-.198.67.67 0 0 1-.198-.729l.551-1.936-1.957-.5a.72.72 0 0 1-.54-.53q-.104-.438.207-.73l1.437-1.405-1.437-1.405q-.312-.291-.208-.729a.72.72 0 0 1 .541-.53l1.957-.5-.551-1.936a.67.67 0 0 1 .198-.73.67.67 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.67.67 0 0 1 .729.198L12 5.68l1.405-1.447a.7.7 0 0 1 .73-.198q.426.104.53.53l.5 1.958L17.1 5.97a.67.67 0 0 1 .729.198.67.67 0 0 1 .197.729l-.551 1.936 1.957.5a.72.72 0 0 1 .541.53q.105.438-.208.73z`,fill:`currentColor`})})}var bn={card:`_card_1vln8_1`,avatar:`_avatar_1vln8_5`,time:`_time_1vln8_10`},xn=`shared.authorReviewerWidgetTemplate`,Sn=`MMMM D, YYYY`;function Cn(e){if(!e.person)return(0,K.jsx)(K.Fragment,{});let t=`${bn.card} h-100 rounded-2 d-flex flex-column`,n=e.person.externalUrl,r=qe.getAuthorBlogUrl(e.person.blogSlug);function i(){h.logUserAction({id:e.person.id,firstName:e.person.firstName,lastName:e.person.lastName,imageId:e.person.imageId,externalUrl:n,blogUrl:r},{entity:f.Author,location:m.AuthorReviewerWidget,actionType:s.Click})}return!r&&!n?(0,K.jsx)(`div`,{className:t,children:e.children}):(0,K.jsx)(`a`,{href:n||r,target:`_blank`,className:`${t} no-decoration`,onClick:i,children:e.children})}function wn(e){return e.person?(0,K.jsxs)(Cn,{person:e.person,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`${bn.avatar} rounded-circle me-2 overflow-hidden`,children:(0,K.jsx)(`img`,{className:`img-fluid`,src:j.getUrlById(e.imageCdnUrl,k.Avatars,e.person.imageId,A.Medium),alt:`${e.person.firstName} ${e.person.lastName}`})}),(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`h2`,{className:`h6 mb-0 fw-normal`,children:[(0,K.jsx)(i,{className:`align-middle svg-container d-inline-block`,svg:e.type===`reviewer`?yn:At}),e.type===`reviewer`?(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(D,{namespace:xn,phrase:`reviewedBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]}):(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(D,{namespace:xn,phrase:`authoredBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]})]}),(0,K.jsx)(`div`,{children:e.person.title})]})]}),(0,K.jsx)(`p`,{className:`mb-2 flex-grow-1`,children:e.person.bio}),(0,K.jsx)(`div`,{className:bn.time,children:e.type===`reviewer`?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(D,{namespace:xn,phrase:`reviewed`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:_.format(e.lastUpdated,Sn)})]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(D,{namespace:xn,phrase:`published`}),` `,(0,K.jsx)(`time`,{dateTime:e.datePublished,children:_.format(e.datePublished,Sn)}),`\xA0•\xA0`,(0,K.jsx)(D,{namespace:xn,phrase:`lastUpdated`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:_.format(e.lastUpdated,Sn)})]})})]}):(0,K.jsx)(K.Fragment,{})}function Tn(e){let{reviewer:t,author:n,lastUpdated:r,datePublished:i}=e.content[0];return!n||!t?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(wn,{type:`author`,person:n,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(wn,{type:`reviewer`,person:t,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})})]})}function En(){return(0,K.jsxs)(`div`,{className:`${bn.card} rounded-2`,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-circle me-2 ${bn.avatar}`}),(0,K.jsxs)(`div`,{className:`w-75`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`90%`,height:`21px`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`65%`,height:`1rem`}})]})]}),(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`100%`,height:`1rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`75%`,height:`1rem`}})]}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`50%`,height:`1rem`}})]})}function Dn(){return(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(En,{})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(En,{})})]})}var On={logoItem:`_logoItem_j31u5_1`,logo:`_logo_j31u5_1`},kn=function(e){let t=j.createUrl(e.data.logo?.url,{size:A.Medium}),r=e.data.metadata?.colour,i=bt(e.data.name,yt),a={...e.analyticsData,id:e.data?.id,name:e.data?.name},o={...e.analyticsOptions,location:m.CircleLogoSlidingListWidget,actionType:s.Click,entity:f.Company},c={backgroundImage:t?`url('${t}')`:null,backgroundColor:r};return(0,K.jsx)(E,{appLink:e.getAppLink(e.data),className:`position-relative px-1 flex-shrink-0 ${On.logoItem}`,analyticsData:a,analyticsOptions:o,children:(0,K.jsx)(`div`,{className:n(`rounded-circle w-100 h-100`,On.logo,!r&&i),style:c})})};function An(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Companies,collection:e.content,childComponent:kn,extraChildComponentProps:{},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,getChildAppLink:e.appLinks?.company})}var jn={logo:`_logo_siwx3_1`,logoWrapper:`_logoWrapper_siwx3_5`};function Mn(e){let t=8,n=V();return(n.sm||n.xs)&&(t=4),n.md&&(t=6),(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`d-flex flex-no-wrap`,children:Array(t).fill(null).map((e,t)=>(0,K.jsx)(`div`,{className:jn.logoWrapper,children:(0,K.jsx)(`div`,{className:`${jn.logo} h-100 d-inline-block partial-loading-background rounded-circle`})},t))})]})}function Nn(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(T,{className:`g-0`,children:[,,,,,].fill(null).map((e,t)=>(0,K.jsx)(w,{xs:12,sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Mt,{})})},t))})]})}var Pn={emoji:`_emoji_hej2b_1`};function Fn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{className:Pn.emoji,children:e.emoji}),e.children]})}function In(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`M19.4 4.362h-3.119a.6.6 0 0 0-.6.6v.233l-1.774-.705a1.8 1.8 0 0 0-.67-.128H6.731a1.82 1.82 0 0 0-1.798 1.572l-.916 6.804a1.815 1.815 0 0 0 1.797 2.057h3.833l.82 3.173a2.23 2.23 0 0 0 2.155 1.67c1.487 0 2.53-1.33 2.147-2.81l-.361-1.401a1.02 1.02 0 0 1 .61-1.202l.663-.263v.233a.6.6 0 0 0 .6.6H19.4a.6.6 0 0 0 .6-.6V4.962a.6.6 0 0 0-.6-.6m-3.719 8.309-1.106.439a2.22 2.22 0 0 0-1.33 2.617l.363 1.401c.174.676-.22 1.26-.915 1.307a1.03 1.03 0 0 1-1.065-.767l-.936-3.623a.6.6 0 0 0-.58-.45H5.813a.613.613 0 0 1-.608-.697l.916-6.804a.616.616 0 0 1 .609-.532h6.506q.118 0 .227.044l2.217.88zm3.119.924h-1.919V5.562H18.8z`,fill:`currentColor`})})}function Ln(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`M4.6 19.638h3.119a.6.6 0 0 0 .6-.6v-.233l1.774.704q.323.128.67.129h6.506a1.82 1.82 0 0 0 1.798-1.572l.916-6.804a1.815 1.815 0 0 0-1.797-2.057h-3.833l-.82-3.173a2.23 2.23 0 0 0-2.155-1.67c-1.487 0-2.53 1.33-2.147 2.81l.362 1.401a1.02 1.02 0 0 1-.61 1.202l-.664.263v-.233a.6.6 0 0 0-.6-.6H4.6a.6.6 0 0 0-.6.6v9.233a.6.6 0 0 0 .6.6m3.719-8.309 1.106-.439a2.22 2.22 0 0 0 1.33-2.617l-.363-1.401c-.174-.676.22-1.26.915-1.307.495-.033.941.289 1.065.767l.936 3.624a.6.6 0 0 0 .58.45h4.298c.373 0 .658.328.608.696l-.916 6.804a.616.616 0 0 1-.609.532h-6.506a.6.6 0 0 1-.227-.044l-2.217-.88zM5.2 10.405h1.919v8.033H5.2z`,fill:`currentColor`})})}var Rn=e(Qe()),zn=`shared.feedbackForm`,Bn=Rn.object().shape({feedbackInput:Rn.string().max(5e3,()=>o.getPhrase(zn,`tooLong`))}),Vn={promptContainer:`_promptContainer_1quuc_1`,text:`_text_1quuc_8`,form:`_form_1quuc_20`},q=`shared.feedbackForm`;function Hn(e){let[t,n]=G.useState(`prompt`),r=ne();function i(){n(`yes`)}function s(){n(`no`)}async function c(i,a){try{await e.onSubmit({content:i.feedbackInput,type:t===`yes`?`positive`:`negative`}),n(`done`)}catch{n(`prompt`),r.error(o.getPhrase(q,`error`))}finally{a({reset:!0})}}return a.isFunction(e.onSubmit)?t===`prompt`?(0,K.jsxs)(`div`,{className:Vn.promptContainer,children:[(0,K.jsx)(`p`,{className:`fw-semibold me-2 ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`🔎`,children:(0,K.jsx)(D,{namespace:q,phrase:`feedbackQuestion`})})}),(0,K.jsxs)(`div`,{className:`d-flex align-items-center`,children:[(0,K.jsx)(ge,{className:`btn btn-outline-dark me-2`,onClick:i,svg:Ln,children:(0,K.jsx)(D,{namespace:q,phrase:`yes`})}),(0,K.jsx)(ge,{className:`btn btn-outline-dark`,onClick:s,svg:In,children:(0,K.jsx)(D,{namespace:q,phrase:`no`})})]})]}):t===`yes`?(0,K.jsx)(Ze,{onSubmit:c,initialValues:{feedbackInput:``},validationSchema:Bn,children:(0,K.jsxs)(_e,{className:Vn.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`👏`,children:(0,K.jsx)(D,{namespace:q,phrase:`happyFeedback`})})}),(0,K.jsx)($e,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:o.getPhrase(q,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(D,{namespace:q,phrase:`back`})}),(0,K.jsx)(Nt,{variant:`dark`,submitText:o.getPhrase(q,`sendFeedback`)})]})]})}):t===`no`?(0,K.jsx)(Ze,{onSubmit:c,initialValues:{feedbackInput:``},validationSchema:Bn,children:(0,K.jsxs)(_e,{className:Vn.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Vn.text}`,children:(0,K.jsx)(Fn,{emoji:`😢`,children:(0,K.jsx)(D,{namespace:q,phrase:`unhappyFeedback`})})}),(0,K.jsx)($e,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:o.getPhrase(q,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(D,{namespace:q,phrase:`back`})}),(0,K.jsx)(Nt,{variant:`dark`,submitText:o.getPhrase(q,`sendFeedback`)})]})]})}):t===`done`?(0,K.jsx)(`p`,{className:`fw-semibold text-center`,children:(0,K.jsx)(Fn,{emoji:`🙌`,children:(0,K.jsx)(D,{namespace:q,phrase:`thankYou`})})}):(0,K.jsx)(K.Fragment,{}):(0,K.jsx)(K.Fragment,{})}var Un={imageContainer:`_imageContainer_xfe6r_1`,image:`_image_xfe6r_1`,background:`_background_xfe6r_16`};function Wn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`${Un.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h5`,children:e.name}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mb-2 w-100`,children:e.content.map(t=>{let n=j.createUrl(t.cover?.url,{size:A.Small});return(0,K.jsx)(w,{as:`li`,xs:12,sm:6,lg:4,children:(0,K.jsxs)(E,{appLink:e.appLinks?.classification?.(t),className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`${Un.imageContainer} me-2`,children:(0,K.jsx)(`div`,{className:`${Un.image} rounded`,style:{backgroundImage:`url('${n}')`}})}),(0,K.jsx)(`div`,{children:t.name})]})},t.id)})})]}),(0,K.jsx)(Hn,{onSubmit:e.onSubmitFeedback})]})}function Gn(){return(0,K.jsxs)(`div`,{className:`${Un.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2`,style:{height:`1.35rem`,width:`8rem`}}),(0,K.jsx)(T,{className:`mb-2 ${Un.row}`,children:Array(8).fill(null).map((e,t)=>(0,K.jsx)(w,{xs:12,sm:6,lg:4,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background me-2 rounded`,style:{width:`2rem`,height:`2rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`5rem`,height:`1.3125rem`}})]})},t))})]})}var Kn={actionType:s.Click,entity:f.Playlist,location:m.PlaylistListItem,descriptor:d.Cover};function qn(e){return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map(t=>(0,K.jsx)(w,{as:`li`,xs:6,sm:4,lg:3,className:`px-1 pb-2 columns-of-five`,children:(0,K.jsx)(It,{data:t,presentationAudiences:e.audiences,appLink:e.appLinks?.playlist?.(t),itemStyle:`round`,analyticsData:e.analyticsData,analyticsOptions:Kn})},t.id))})]})}function Jn(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(Pt,{itemClassName:`columns-of-five`})]})}var Yn=function(e){return e.Root=`root`,e}({}),J=function(e){return e[e.Level_1=1]=`Level_1`,e[e.Level_2=2]=`Level_2`,e[e.Level_3=3]=`Level_3`,e[e.Level_4=4]=`Level_4`,e}({}),Xn=o.encloseNamespace(`subjects.utils`),Y={isPresentation(e){return`learningLevel`in e},isTopicClassification(e){return e?.type===Xe.Subject},getMappedPresentationLevel(e){return typeof e==`string`?J[e]:e},getMappedPresentationBackgroundColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`bg-indigo`;case J.Level_2:return`bg-teal`;case J.Level_3:return`bg-blue`;case J.Level_4:return`bg-navy`;default:return`bg-green`}},getMappedPresentationLightBackgroundColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`bg-light-indigo`;case J.Level_2:return`bg-light-teal`;case J.Level_3:return`bg-light-blue`;case J.Level_4:return`bg-light-navy`;default:return`bg-light-green`}},getMappedPresentationBorderColourClass(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`border-indigo`;case J.Level_2:return`border-teal`;case J.Level_3:return`border-blue`;case J.Level_4:return`border-navy`;default:return`border-green`}},getMappedPresentationBackgroundColourCode(e){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:return`#7A76E8`;case J.Level_2:return`#40BCC3`;case J.Level_3:return`#38A2E8`;case J.Level_4:return`#1B2D71`;default:return`#5DC786`}},getPresentationLevelImage(e,t){switch(Y.getMappedPresentationLevel(e)){case J.Level_1:if(t===`topic-banner`)return U.Images.Level_1.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_1.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_1.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_1.TOPIC_TALL_POSTER;case J.Level_2:if(t===`topic-banner`)return U.Images.Level_2.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_2.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_2.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_2.TOPIC_TALL_POSTER;default:case J.Level_3:if(t===`topic-banner`)return U.Images.Level_3.TOPIC_BANNER;if(t===`new-release-banner`)return U.Images.Level_3.NEW_RELEASES_BANNER;if(t===`cover`)return U.Images.Level_3.TOPIC_COVER;if(t===`tall-poster`)return U.Images.Level_3.TOPIC_TALL_POSTER;case J.Level_4:if(t===`topic-banner`)return U.Images.Level_4.TOPIC_BANNER;if(t===`cover`)return U.Images.Level_4.TOPIC_COVER}},getExploreAllTopicsTitle(e,t){return t<Te.MULTI_PRESENTATION_THRESHOLD?Xn(`exploreAllTopicsHeading`):Xn(`exploreAllTopicsDynamicHeading`,{presentationName:e})},getExploreAllTopicsBreadcrumb(e,t){return t<Te.MULTI_PRESENTATION_THRESHOLD?Xn(`exploreAllTopicsHeading`):e},isFollowing(e){return e?.followers?.data?.length===1},isTopLevelTopic(e){return!!e?.parentIds?.includes(Yn.Root)},canHaveVideoListTab(e){return e?.widgets?.some(e=>e.metadata?.showInTableOfContents)},getActiveTopicTab(e,t){return Y.isTopLevelTopic(e)?t===F.Classification?`new-releases`:`all-topics`:t===F.Classification?`curated-topic`:`curriculum`},getCounts(e){let t=e?.metadata?.childClassificationCount??0;return e?.externalMetadata?{childClassificationCount:t,dashboardVideoCount:e.externalMetadata.dashboardVideoCount||0,childDashboardVideoCount:e.externalMetadata.childDashboardVideoCount||0,dashboardResourceCount:e.externalMetadata.dashboardResourceCount||0,childDashboardResourceCount:e.externalMetadata.childDashboardResourceCount||0,dashboardNewVideosCount:e.externalMetadata.dashboardNewVideosCount||0,childDashboardNewVideoCount:e.externalMetadata.childDashboardNewVideoCount||0}:{childClassificationCount:t,dashboardVideoCount:0,childDashboardVideoCount:0,dashboardResourceCount:0,childDashboardResourceCount:0,dashboardNewVideosCount:0,childDashboardNewVideoCount:0}},isTertiary(e){return e?.toString()===U.PresentationIds.AU_TERTIARY.toString()||e?.toString()===U.PresentationIds.UK_TERTIARY.toString()},isNewZealandTopic(e){return e?.toString()===U.PresentationIds.NZ_PRIMARY.toString()||e?.toString()===U.PresentationIds.NZ_SECONDARY.toString()},isCanadaTopic(e){return e?.toString()===U.PresentationIds.CA_ELEMENTARY.toString()||e?.toString()===U.PresentationIds.CA_MIDDLE.toString()||e?.toString()===U.PresentationIds.CA_HIGH.toString()},isInternationalTopic(e){return e?.toString()===U.PresentationIds.INT_PRIMARY.toString()||e?.toString()===U.PresentationIds.INT_SECONDARY.toString()},isMtv(e){return e?.tags?.data?e.tags.data.some(e=>e.tagType===lt.Curation&&e.name===Ee.MOVIES_AND_TV):!1},sortByLearningLevel(e,t,n){let r=n.find(t=>t?.id.toString()===e?.presentationId?.toString()),i=n.find(e=>e?.id.toString()===t?.presentationId?.toString());return J[r?.learningLevel]-J[i?.learningLevel]}},Zn=`classification-latest-releases`,Qn=`explore-all-topics`;function $n(e){return e.reduce((e,t)=>e+=t?.totalVideos||0,0)}function er(e){return e.totalVideos?`${e.totalVideos} new video${e.totalVideos>1?`s`:``}`:``}function tr(e,t){if(e.metadata?.appLink===ze.ClassificationDirectory&&e.settings?.hasTopicDirectories)return{id:ze.ClassificationDirectory,name:`Explore all topics`,cover:{url:j.createUrl(e.classification?.cover?.url,{size:A.Small})},metadata:{backgroundColor:e.classification?.metadata?.backgroundColor}};if(e.metadata?.appLink===ze.ClassificationLatestReleases)return{id:Zn,name:`All new releases`,cover:{url:j.getUrlById(e.imageCdnUrl,k.Covers,e.metadata.imageId,A.Medium)},totalVideos:$n(t)};if(e.metadata?.appLink===ze.ExploreAllTopics)return{id:Qn,name:`Explore all subjects`,cover:{url:j.createUrl(U.Images.STREAMABLE_TOPIC_COVER,{size:A.Small})}}}function nr(e){let t=tr(e,e.content),n=e.metadata?.appLink===ze.ClassificationLatestReleases;function r(){return!e.classification||!Y.isTopLevelTopic(e.classification)||e.widgetTypeId!==N.Classifications||e.templateId!==M.CoverSlidingPillListSmall||!e.settings?.hasTopicDirectories?null:e.appLinks?.classificationDirectory?.(e.classification)}function i(t){return t.id===ze.ClassificationDirectory?e.appLinks?.classificationDirectory?.(e.classification):t.id===ze.ExploreAllTopics?e.appLinks?.allTopics?.(t):n?e.appLinks?.classificationLatestReleases?.(t):e.appLinks?.classification?.(t)}return(0,K.jsx)(mt,{id:e.id,collection:t?[t,...e.content]:e.content,getChildAppLink:e=>i(e),childComponent:jt,partialLoadingComponent:kt,heading:e.name,headingAppLink:r(),getSubtitle:n?er:void 0,description:e.description,hideButtons:e.showHighlight,analyticsData:e.analyticsData,childComponentProps:{highlightOnHover:e.settings?.hasTopicDirectories,shouldHighlight:e=>e.id===ze.ClassificationDirectory}})}function rr(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(ft,{partialLoadingComponent:kt})]})}var ir=o.encloseNamespace(`search.searchExchangeArchiveDescription`);function ar(e){return(0,K.jsxs)(K.Fragment,{children:[ir(`searchExchangeArchiveDescription`),`\xA0`,(0,K.jsx)(E,{appLink:e.appLink,className:`info-link`,children:ir(`searchExchangeArchiveLink`)})]})}function or(e){function t(){return!!e.seeMoreLink&&[N.SearchExchangeArchive,N.SearchMySchoolLibraryVideos].includes(e.widgetTypeId)}function n(){return e.widgetTypeId===N.SearchExchangeArchive?(0,K.jsx)(ar,{appLink:e.appLinks.searchSettings()}):e.description}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata.hideWidgetDescription&&n(),showSeeMoreLink:t(),appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(Fe,{videos:e.content,getVideoAppLink:e.appLinks?.videoType,hasPermissions:e.hasPermissions,getPreviewQuestionsAppLink:e.appLinks?.getPreviewQuestionsAppLink,presentationAudiences:e.audiences,commonVideoProps:e.commonVideoProps,getAnalyticsData:e.getAnalyticsData,analyticsOptions:{location:m.ThumbnailVerticalListWidget,entity:f.Video}})]})}function sr(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`bg-gray-100 p-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h6`,children:e.name}),(0,K.jsx)(zt,{code:e.metadata.curriculumLeafName,description:e.metadata.curriculumLeafDescription,id:null,locationContext:m.SearchCurriculumCodeWidget})]}),(0,K.jsx)(or,{metadata:{hideWidgetHeading:!0,hideWidgetDescription:!0},name:``,description:``,widgetTypeId:N.SearchCurriculumCode,hasPermissions:e.hasPermissions,content:e.content,audiences:e.audiences,seeMoreLink:null,appLinks:e.appLinks,commonVideoProps:e.commonVideoProps,badgeComponent:null,settings:e.settings,getAnalyticsData:e.getAnalyticsData})]})}function cr(){return(0,K.jsx)(Bt,{numVideos:3})}function lr(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-3 mb-3 w-100`,style:{height:`5rem`}}),(0,K.jsx)(cr,{})]})}var ur={accordionButton:`_accordionButton_h20c2_1`,expanded:`_expanded_h20c2_8`};function dr(e){let{activeEventKey:t}=G.useContext(Yt),n=$t(e.name),r=t===e.name;return(0,K.jsx)(`button`,{type:`button`,onClick:n,className:`w-100 p-3 ${ur.accordionButton} ${r?ur.expanded:``}`,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center justify-content-between`,children:[(0,K.jsx)(`h3`,{className:`mb-0 h5 fw-normal`,children:e.name}),(0,K.jsx)(`div`,{className:`rounded-circle bg-white me-2`,children:(0,K.jsx)(i,{svg:r?on:tt})})]})})}var fr={video:`_video_yg2yl_1`,thumbnail:`_thumbnail_yg2yl_4`},pr=`shared.curriculumAccordionVideoList`;function mr(e){let t=!!e.outcome.name&&!!e.outcome.description;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(D,{namespace:pr,phrase:`alignedVideos`})}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:e.outcome.videos.map((t,n)=>{let r={analyticsData:e.analyticsData,analyticsOptions:{entity:f.Video,actionType:s.Click,location:m.CurriculumResourcesAccordionWidget}};return(0,K.jsxs)(`li`,{className:`${fr.video} d-flex`,children:[(0,K.jsx)(`div`,{className:`${fr.thumbnail} me-2`,children:(0,K.jsx)(je,{appLink:e.getVideoAppLink(t,{}),video:t,type:`static`,imageOptions:{size:A.Medium},commonVideoProps:e.commonVideoProps,hideDuration:!0,...r})}),(0,K.jsxs)(`div`,{className:`d-flex flex-column justify-content-between`,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(Et,{...r,video:t,appLink:e.getSeriesAppLink(t.series),type:`series`}),(0,K.jsx)(ke,{...r,video:t,appLink:e.getVideoAppLink(t,{}),size:`sm`,titleClassName:`mb-0`,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:e.commonVideoProps.showNewVideoIndicator,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience})]}),(0,K.jsx)(Me,{video:t,getVideoAppLink:e.getVideoAppLink,commonVideoProps:e.commonVideoProps,containerClassName:`d-flex justify-content-start align-items-center pt-sm-1 gap-1`,responsiveClassName:fr.responsiveGuidance,...r})]})]},`${e.outcomeIndex}:${n}`)})}),(0,K.jsx)(E,{appLink:e.getOutcomeAppLink(e.outcome.name),className:`info-link mt-2 d-inline-block`,children:t?(0,K.jsx)(D,{namespace:pr,phrase:`viewAllVideosCode`,options:{code:e.outcome.name}}):(0,K.jsx)(D,{namespace:pr,phrase:`viewAllVideosNoCode`})})]})}var hr={audience:`_audience_1aalu_1`,area:`_area_1aalu_6`,outcome:`_outcome_1aalu_9`},gr=`shared.audienceSection`;function _r(e){return(0,K.jsx)(an.Collapse,{eventKey:e.audience.name,children:(0,K.jsx)(`div`,{className:`${hr.audience} px-3 pb-3`,children:(0,K.jsx)(`ul`,{className:`bg-white p-3 rounded-3 list-unstyled mb-0`,children:e.audience.areas.map((t,n)=>(0,K.jsxs)(`li`,{className:hr.area,children:[(0,K.jsx)(`h3`,{className:`h5 fw-normal mb-3`,children:t.name}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:t.outcomes.map((t,n)=>(0,K.jsxs)(`li`,{className:hr.outcome,children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(D,{namespace:gr,phrase:`outcome`})}),(0,K.jsx)(`div`,{className:`pb-2`,children:(0,K.jsx)(zt,{id:t.id,code:t.name,description:t.description,getCodeAppLink:e.getSearchAppLink,locationContext:m.CurriculumResourcesAccordionWidget,uiContainsCodes:!0})}),(0,K.jsx)(mr,{outcome:t,analyticsData:e.analyticsData,getVideoAppLink:e.getVideoAppLink,getSeriesAppLink:e.getSeriesAppLink,getOutcomeAppLink:e.getSearchAppLink,commonVideoProps:e.commonVideoProps,outcomeIndex:n})]},n))})]},n))})})})}function vr(e){let t=new Map;function n(e,r){if(e.type===Rt.Area){r.length&&(r+=` - `),r+=e.name;for(let t of e.children)n(t,r);return}e.type===Rt.Leaf&&(t.has(r)||t.set(r,{name:r,outcomes:[]}),t.get(r).outcomes.push(e))}for(let t of e.children)n(t,``);return Array.from(t.values())}function yr(e){let t=new Map;for(let n of e)for(let e of n.children)t.has(e.name)||t.set(e.name,{name:e.name,areas:[]}),t.get(e.name).areas.push(...vr(e));return Array.from(t.values())}var br=`shared.curriculumResourcesAccordion`;function xr(e){let t=G.useMemo(()=>yr(e.content),[e.content]);return(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-end justify-content-between mb-2`,children:[(0,K.jsx)(`h2`,{className:`h3 mb-0`,children:e.curriculums.preferredCurriculum.name}),e.curriculums.availableCurriculums.length>1&&(0,K.jsx)(E,{appLink:e.appLinks.editCurriculum(),children:(0,K.jsx)(D,{namespace:br,phrase:`changeCurriculum`})})]}),(0,K.jsx)(an,{className:`mb-n3`,children:t.map((t,n)=>(0,K.jsxs)(`div`,{className:`mb-3`,children:[(0,K.jsx)(dr,{name:t.name}),(0,K.jsx)(_r,{audience:t,getSearchAppLink:e.appLinks.search,getVideoAppLink:e.appLinks.videoType,getSeriesAppLink:e.appLinks.series,commonVideoProps:e.commonVideoProps,analyticsData:e.analyticsData})]},n))})]})}var Sr=()=>(0,K.jsx)(`div`,{className:`partial-loading-background mb-3 rounded-3`,style:{height:`3.5rem`}});function Cr(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2 w-25`,style:{height:`1.7325rem`}}),(0,K.jsxs)(`div`,{className:`mb-n3`,children:[(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{}),(0,K.jsx)(Sr,{})]})]})}function wr(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,fillRule:`nonzero`,d:`M19 15.75a.75.75 0 0 1 .102 1.493L19 17.25H5a.75.75 0 0 1-.102-1.493L5 15.75zm0-5a.75.75 0 0 1 .102 1.493L19 12.25H5a.75.75 0 0 1-.102-1.493L5 10.75zm0-5a.75.75 0 0 1 .102 1.493L19 7.25H5a.75.75 0 0 1-.102-1.493L5 5.75z`})})}var Tr=`shared.subjectWidgetItem`,Er=G.forwardRef((e,t)=>{let n=`px-3 d-flex flex-column justify-content-center`,r=`${Ot.name} h6`;e.multiline?r+=` clamp-3`:(n+=` text-nowrap`,r+=` text-truncate`);function a(){return e.canToggle?o.getPhrase(Tr,e.isVisible?`hideFromDashboard`:`showOnDashboard`):o.getPhrase(Tr,`cantToggle`)}return e.style?.visibility===`hidden`?(0,K.jsx)(`div`,{ref:t,className:`d-flex align-items-center position-relative clamp-2 ${Ot.widgetItem} ${Ot.draggingItem}`,style:l.omit(e.style,[`visibility`])}):(0,K.jsxs)(`div`,{ref:t,className:`border d-flex align-items-center position-relative ${Ot.widgetItem}`,style:l.omit(e.style,[`visibility`]),children:[(0,K.jsx)(`div`,{className:`
|
|
2
2
|
${Ot.dragHandle} ms-3 d-flex justify-content-center align-items-center
|
|
3
3
|
${e.isDragging?`cursor-grabbing`:`cursor-grab`} ${e.isVisible?``:`text-secondary`}
|
|
4
4
|
`,...e.dragAttributes,...e.dragListeners,children:(0,K.jsx)(i,{svg:wr})}),(0,K.jsx)(`div`,{className:n,children:(0,K.jsx)(`label`,{htmlFor:e.data.id,className:`${r} ${e.isVisible?``:`text-secondary`} mb-0`,children:e.data.name})}),(0,K.jsx)(`div`,{className:`ms-auto me-3`,children:(0,K.jsx)(ye,{id:e.data.id,on:e.isVisible,onClick:()=>e.onToggleVisibility(e.data),tooltipText:a(),disabled:!e.canToggle,showStateWhenDisabled:!0})})]})}),Dr={reorder(e,t,n){if(t===n)return{reorderedItems:e,reorderRequest:null};let r=y.moveItem(e,t,n),i=n<e.length-1?r[n+1].id:null;return{reorderedItems:r,reorderRequest:{sourceMemberId:r[n].id,destinationMemberId:i}}},updateState(e,t,n){let r=[],i=l.deepClone(n),a=[e],o=n[e],s=!!o&&!!o.data&&o.data.length;for(;o&&Array.isArray(o.data);){r.push(...o.data);let t=o.pagination&&o.pagination.cursors&&o.pagination.cursors.next,i=!!t&&`${e}:${t}`;o=t&&n[i],o&&a.push(i)}if(!r.length)return n;let c=y.findIndex(r,e=>e.id===t.sourceMemberId),u=[...r],d=u.splice(c,1),f=t.destinationMemberId?y.findIndex(u,e=>e.id===t.destinationMemberId):u.length;return u.splice(f,0,d[0]),u=u.map(e=>({id:e.id})),a.forEach(e=>{let t=u.splice(0,s);i[e].data=t}),i}},Or={dragOverlay:`_dragOverlay_1q6kh_1`,headingContainer:`_headingContainer_1q6kh_4`},kr=`shared.editableCoverFixedPillListSmall`;function Ar(e){let[t,n]=G.useState(!1),[r,i]=G.useState(!1),a=P.useGetContent(e.content,e.widgetTypeId,e.isPreviewing,e.preferences,[]).unfilteredContent,d=G.useMemo(()=>a.every(e=>!e.followers?.data?.length),[a]),p=G.useMemo(()=>a?.reduce((e,t,n)=>{let r={id:t.id,hidden:!t.followers?.data?.length&&!d,index:n};return e[t.id]=r,e},{})??{},[e.preferences,d]),[g,_]=G.useState(p),[v,y]=G.useState(p),b=G.useMemo(()=>t?a.filter(e=>!!v[e.id]).sort((e,t)=>v[e.id].index-v[t.id].index):a.filter(e=>!!g[e.id]&&!g[e.id]?.hidden).sort((e,t)=>g[e.id].index-g[t.id].index),[a,v,g,t]),S=ne();G.useEffect(()=>{n(!1)},[e.presentation?.id]);let ee=G.useMemo(()=>t||!b.length?!1:Object.values(v).some(e=>e.hidden),[t,v]);async function te(){i(!0);let t=d?a.map((e,t)=>({id:e.id,hidden:!0,index:t})):Object.values(g);e.updatePreferences(e.id,e.widgetTypeId,t,Object.values(v)).then(()=>{_(v),i(!1),n(!1)}).catch(()=>{i(!1),S.error(o.getPhrase(kr,`error`))})}function C(){y(g),n(!1)}function re(e){return v[e.id]?v[e.id].index:b.findIndex(t=>t.id===e.id)}function ie(e){return!v[e.id]?.hidden}function ae(e){let t={...v},n=ie(e);t[e.id]={id:e.id,hidden:n,index:re(e)},h.logUserAction({id:e.id,name:e.name},{location:m.EditableSubjectPreferencesWidget,entity:f.Classification,actionType:s.Hide,descriptor:n?u.On:u.Off}),y(t)}function oe(e){let t=b.find(t=>t.id===e);return(0,K.jsx)(`div`,{className:`bg-white rounded-3 ${Or.dragOverlay}`,children:(0,K.jsx)(Er,{data:t,onToggleVisibility:ae,isVisible:ie(t),isDragging:!0,canToggle:!ie(t)||Object.values(v).filter(e=>!e.hidden).length>1})})}function se(e){let t=b.find(t=>t.id.toString()===e.active.id.toString()),n=b.findIndex(t=>t.id.toString()===e.active.id.toString());h.logUserAction({id:t.id,name:t.name,index:n},{location:m.EditableSubjectPreferencesWidget,entity:f.Classification,actionType:s.Move,workflowPhase:c.Start})}function ce(e){let{active:t,over:n}=e,r=re({id:t.id}),i=b.findIndex(e=>e.id.toString()===n.id.toString());if(r===i)return;let a=b[r];if(!a)return;let o={...v},{reorderedItems:l}=Dr.reorder(b,r,i);l.forEach((e,t)=>{o[e.id]={id:e.id,index:t,hidden:!ie(e)}}),y(o),h.logUserAction({id:a.id,name:a.name,oldIndex:r,newIndex:i},{location:m.EditableSubjectPreferencesWidget,entity:f.Classification,actionType:s.Move,workflowPhase:c.Complete})}let le=G.useMemo(()=>!l.isEqual(p,v),[p,v]),ue={id:e.presentation.id,name:o.getPhrase(kr,`exploreAll`,{name:e.presentation.name}),cover:e.availablePresentations?.find(t=>t.id===e.presentation.id)?.cover??e.presentation.cover,metadata:{backgroundColor:Y.getMappedPresentationBackgroundColourCode(e.presentation.learningLevel)}},de=e.availablePresentations?e.availablePresentations.filter(t=>t.id!==e.presentation?.id).map(e=>({id:e.id,name:o.getPhrase(kr,`changeTo`,{name:e.name}),cover:e.cover,vanitySlug:e.vanitySlug,description:e.description,metadata:{backgroundColor:Y.getMappedPresentationBackgroundColourCode(e.learningLevel)}})):[],fe=!t&&de.length>0&&e.settings?.hasTopicDirectories,pe=e.hasLocalPermissions(x.ManageDiscoverPreferences),E={location:m.EditableSubjectPreferencesWidget};return b.length?(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex flex-wrap align-items-center justify-content-between`,children:[(0,K.jsxs)(`div`,{className:`col`,children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between w-100 no-wrap flex-row mb-2`,children:[(0,K.jsx)(`h2`,{className:`h4 mb-0 align-self-end flex-shrink-0`,children:t?o.getPhrase(kr,`updating`):e.name}),!t&&pe&&(0,K.jsx)(he,{className:`hover-text-underline`,onClick:()=>n(!0),children:o.getPhrase(kr,`edit`)})]}),!!e.description&&!t&&(0,K.jsx)(`p`,{className:`text-truncate description mb-2`,children:e.description}),t&&(0,K.jsx)(`p`,{className:`description mb-2`,children:(0,K.jsx)(D,{namespace:kr,phrase:`editingDescription`})})]}),t&&pe&&(0,K.jsxs)(`div`,{className:`d-flex align-items-start`,children:[(0,K.jsx)(me,{variant:`link`,className:`me-2`,onClick:C,children:(0,K.jsx)(D,{namespace:kr,phrase:`cancel`})}),(0,K.jsx)(ve,{variant:`dark`,onClick:te,showSpinner:r,disabled:!le,children:(0,K.jsx)(D,{namespace:kr,phrase:`update`})})]})]}),(0,K.jsxs)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:[ee&&(0,K.jsx)(w,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(jt,{data:ue,getChildAppLink:()=>e.appLinks?.allTopics?.(e.presentation.id),analyticsData:e.analyticsData,analyticsOptions:E,multiline:!0,highlightOnHover:e.settings?.hasTopicDirectories,shouldHighlight:()=>e.settings?.hasTopicDirectories})},e.presentation.id),(0,K.jsx)(Ie,{ids:b.map(e=>e.id),getDragOverlay:oe,onSortStart:se,onSortEnd:ce,vertical:!1,children:b.map(n=>(0,K.jsx)(w,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(K.Fragment,{children:t?(0,K.jsx)(Ne,{id:n.id,childComponent:Er,childProps:{data:n,onToggleVisibility:ae,isVisible:ie(n),isDragging:!1,canToggle:!ie(n)||Object.values(v).filter(e=>!e.hidden).length>1,multiline:!0}}):(0,K.jsx)(jt,{data:n,getChildAppLink:t=>e.appLinks?.classification?.(t),analyticsData:e.analyticsData,analyticsOptions:E,multiline:!0,highlightOnHover:e.settings?.hasTopicDirectories,showNewVideosCount:e.settings?.hasTopicDirectories&&!e.isTertiaryCustomerWithoutExchange})})},n.id))}),fe&&de.map(t=>(0,K.jsx)(w,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(jt,{data:t,getChildAppLink:()=>e.appLinks?.discover?.(t?.vanitySlug),analyticsData:{...e.analyticsData,id:t.id,presentationId:t.id,presentationDescription:t.description},analyticsOptions:{...E,entity:f.Presentation},multiline:!0,highlightOnHover:!0,shouldHighlight:()=>e.settings?.hasTopicDirectories})},t.id))]})]}):(0,K.jsx)(K.Fragment,{})}var jr={partialLoadingHeading:`_partialLoadingHeading_okyuy_1`};function Mr(){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2 ${jr.partialLoadingHeading}`}),(0,K.jsx)(T,{className:`g-0`,children:Array(7).fill(null).map((e,t)=>(0,K.jsx)(w,{sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(kt,{})})},t))})]})}var Nr={dateItemContainer:`_dateItemContainer_1cc76_1`,container:`_container_1cc76_14`};function Pr(e){return(0,K.jsx)(`div`,{className:`${Nr.container} position-relative flex-shrink-0 ${e.theme.backgroundSecondary}`,children:(0,K.jsx)(E,{appLink:e.getAppLink(e.data),className:`text-decoration-none my-2 mx-1 rounded-3 d-block position-relative`,analyticsData:e.analyticsData(e.data),analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(at,{isHovering:!1,date:new Date(e.data.startDate),notCurrentMonth:!1,monthQuery:null,eventsOnDay:[e.data],events:[e.data],sliderStep:0,presentationId:e.data.content.presentationId,hoveredEvent:null,isMultiEventDate:!1,className:`rounded-3`,getBackgroundColor:e.getBackgroundColor,getIconUrl:e.getIconUrl,hasInitialized:!0,responsiveText:!1,hideDay:!0})})})}function Fr(e){let{data:t,...n}=e;if(t.type===`date-widget-item`)return(0,K.jsx)(`div`,{className:`${Nr.container} ${Nr.dateItemContainer} flex-shrink-0 ${e.theme.backgroundSecondary} position-relative`,children:(0,K.jsx)(_t,{month:t.month,body:t.body,label:t.label,getAppLink:()=>e.getAppLink(t),analyticsData:{...e.analyticsData,label:t.label,month:t.month,body:t.body.text},analyticsOptions:{...e.analyticsOptions,entity:f.Url,actionType:s.Click,location:m.EventIconSlidingListWidget},className:`my-2 mx-1`,theme:e.theme})});if(t.type===`Livestream`)return(0,K.jsx)(Pr,{...n,data:t,getBackgroundColor:e=>e.company.metadata?.colour,getIconUrl:e=>e.company.logo?.url,analyticsData:t=>({...e.analyticsData,id:t.content.id,name:t.content.name,startDateTime:t.content.startDateTime,endDateTime:t.content.endDateTime}),analyticsOptions:{...e.analyticsOptions,entity:f.SpecialEvent,actionType:s.Click,location:m.EventIconSlidingListWidget}});function r(e){return j.createUrl(e.icon?.url,{size:A.Small})}function i(e){return U.SpecialEvents[e.id]}return(0,K.jsx)(Pr,{...n,data:t,getBackgroundColor:e=>e.metadata?.backgroundColor,getIconUrl:e=>r(e),getHardCodedEvent:i,analyticsData:t=>({...e.analyticsData,id:t.specialEventId,name:t.name,startDate:t.startDate,endDate:t.endDate,classificationId:t.content.id,classificationName:t.content.name}),analyticsOptions:{...e.analyticsOptions,entity:f.SpecialEvent,actionType:s.Click,location:m.EventIconSlidingListWidget}})}var Ir=o.encloseNamespace(`widgets.eventIconSlidingList`);function Lr(e,t){let n;switch(t){case De.Livestream:n=g(e);break;default:n=e}let r=[...n].sort((e,t)=>e.startDate.localeCompare(t.startDate)),i=new Date,a=_.format(i,`YYYY-MM-DD`),o=_.format(_.add(a,1,`day`),`YYYY-MM-DD`),s=_.format(_.add(_.startOf(i,`week`),8,`days`),`YYYY-MM-DD`),c=_.format(_.add(s,6,`days`),`YYYY-MM-DD`),l=_.format(_.startOf(i,`month`),`YYYY-MM-DD`),u=_.format(_.endOf(i,`month`),`YYYY-MM-DD`),d=_.format(_.startOf(_.add(i,1,`month`),`month`),`YYYY-MM-DD`),f=_.format(_.endOf(_.add(i,1,`month`),`month`),`YYYY-MM-DD`),p=_.format(_.startOf(_.add(i,2,`month`),`month`),`YYYY-MM-DD`),m=_.format(_.add(i,1,`year`),`YYYY-MM-DD`),h=new Map;function g(e){return e.map(e=>({id:e.id,startDate:_.format(e.startDateTime,`YYYY-MM-DD`),type:`Livestream`,name:e.name,description:e.description,content:e}))}function v(e){if(!h.has(e.group)){h.set(e.group,{events:[e.event],label:e.label,body:e.body,monthLabel:e.monthLabel,startDate:e.startDate,endDate:e.endDate});return}let t=h.get(e.group);h.set(e.group,{...t,events:[...t.events,e.event]})}r.forEach(e=>{if(e.startDate<=a){v({group:`today`,startDate:a,endDate:null,event:e,body:{text:_.format(a,`DD`),type:`day`},monthLabel:_.format(a,`MMMM`),label:Ir(`today`)});return}if(e.startDate===o){v({group:`tomorrow`,startDate:o,endDate:null,event:e,body:{text:_.format(o,`DD`),type:`day`},monthLabel:_.format(e.startDate,`MMMM`),label:Ir(`tomorrow`)});return}if(e.startDate>o&&e.startDate<s){let t=_.format(e.startDate,`dddd`);v({group:t,startDate:e.startDate,endDate:e.endDate,event:e,monthLabel:_.format(e.startDate,`MMMM`),body:{text:_.format(e.startDate,`DD`),type:`day`},label:t});return}if(e.startDate>=s&&e.startDate<=c){v({group:`nextWeek`,startDate:s,endDate:c,event:e,monthLabel:_.isSame(s,c,`month`)?_.format(s,`MMMM`):`${_.format(s,`MMM`)} - ${_.format(c,`MMM`)}`,body:{text:`${_.format(s,`DD`)}-${_.format(c,`DD`)}`,type:`range`},label:Ir(`nextWeek`)});return}if(e.startDate>=l&&e.startDate<=u){v({group:`thisMonth`,startDate:l,endDate:u,event:e,monthLabel:``,body:{text:_.format(e.startDate,`MMM`),type:`month`},label:Ir(`thisMonth`)});return}if(e.startDate>=d&&e.startDate<=f){v({group:`nextMonth`,startDate:d,endDate:f,event:e,monthLabel:``,body:{text:_.format(e.startDate,`MMM`),type:`month`},label:Ir(`nextMonth`)});return}e.startDate>=p&&e.startDate<=m&&v({group:`later`,startDate:p,endDate:m,event:e,monthLabel:``,body:{text:_.format(e.startDate,`MMM`),type:`month`},label:Ir(`later`)})});let y=[];for(let e of h.values()){let t={label:e.label,body:e.body,month:e.monthLabel,appLinkMonth:_.format(e.startDate,`MMMM`),appLinkYear:_.format(e.startDate,`YYYY`),type:`date-widget-item`};y.push(t),e.events.forEach(e=>{y.push(e)})}return y}function Rr(e){let t=G.useMemo(()=>Lr(e.content,e.contentType),[e.content]),n=r(e.contentType);function r(e){switch(e){case De.Livestream:return{background:`bg-light-green`,border:`border-light-green`,backgroundSecondary:`bg-light-blue`};default:return{background:`bg-light-blue`,border:`border-light-blue`,backgroundSecondary:`bg-light-yellow`}}}return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,appLink:e.appLinks?.calendar?.(),type:z.Row,contents:L.SpecialEvents,getChildAppLink:t=>t.type===`date-widget-item`?e.appLinks?.calendarMonth?.(t.appLinkMonth,t.appLinkYear):t.type===`Livestream`?e.appLinks?.livestream?.(t.content):e.appLinks?.classification?.(t.content),collection:t,childComponent:Fr,extraChildComponentProps:{theme:n},analyticsData:e.analyticsData,isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,prefetched:!0})}function zr(){let e=V();if(e.xs)return 2;if(e.sm)return 3;if(e.md)return 4;if(e.lg)return 5;if(e.xl||e.xxl)return 6}function Br(e){let t=zr();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0}),(0,K.jsx)(`div`,{className:`row g-0 mx-n1`,children:Array(t).fill(null).map((e,t)=>(0,K.jsx)(`div`,{className:`col px-1`,children:(0,K.jsx)(`div`,{className:`partial-loading-background rounded-3`,style:{paddingBottom:`100%`}})},t))})]})}var Vr={hovering:`_hovering_ywvzx_1`,transition:`_transition_ywvzx_6`,rowWidth:`_rowWidth_ywvzx_9`,largeRowWidth:`_largeRowWidth_ywvzx_12`},Hr=G.memo(function(e){let{data:t,context:n,thumbnailSize:r,preloadImage:i}=e,[a,o]=Ce({className:Vr.hovering,style:{transform:`scale(${n?.type===z.LargeRow?1.1:1.15})`}});G.useEffect(()=>{e.onHover(o)},[o]);let s=Vr.rowWidth;return n.type===z.LargeRow&&(s=Vr.largeRowWidth),(0,K.jsx)(`div`,{ref:a,className:`px-1 flex-shrink-0 position-relative ${s} ${Vr.transition}`,children:(0,K.jsx)(je,{video:e.data,type:`expandable`,appLink:e.getAppLink(t),imageOptions:{size:r},preload:i,hovering:o,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,commonVideoProps:e.commonVideoProps})})}),Ur={banner:`_banner_kjdf9_1`,partialBanner:`_partialBanner_kjdf9_12`};function Wr(e){let n=P.getCustomAppLink(e),r=e?.imageCdnUrl&&e.metadata?.imageId?j.getUrlById(e.imageCdnUrl,k.Banners,e.metadata.imageId,A.Medium):``;return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(E,{appLink:n,style:r?{backgroundImage:`url(${r})`}:{},className:`${Ur.banner} mb-2 d-flex justify-content-between no-decoration ${e.name?``:Ur.partialBanner}`,analyticsData:{url:t.getHref(n)},analyticsOptions:{actionType:s.Click,entity:f.Url,location:m.ContentUpdatesBanner},children:(0,K.jsx)(`h2`,{className:`h4 text-white mb-0`,children:e.name})}),(0,K.jsx)(R,{id:e.id,type:z.Row,contents:L.Videos,getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),collection:e.content,childComponent:Hr,extraChildComponentProps:{commonVideoProps:e.commonVideoProps},hideBleedingContent:e.showHighlight,analyticsData:e.analyticsData,limitTotalItems:e.limitTotalItems,prefetched:!0,hideName:!0})]})}function Gr(e){return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative partial-loading-background ${Ur.banner} ${Ur.partialBanner} mb-1 `}),(0,K.jsx)(We,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0,hideHeading:!0})]})}var Kr={rowWidth:`_rowWidth_v104l_1`};function qr(e){function t(){return e.ratingsLength>4?Kr.rowWidth:e.ratingsLength===4?`col-4 col-md-3`:`col`}return(0,K.jsx)(E,{appLink:e.getAppLink(e.data),className:`${t()} position-relative flex-shrink-0 px-1 mt-1 text-decoration-none`,analyticsData:{...e.analyticsData,code:e.data.code,id:e.data.id},analyticsOptions:{...e.analyticsOptions,entity:f.Rating,actionType:s.Click,location:m.FilterSlidingPillListSmallWidget},children:(0,K.jsx)(`div`,{className:`${ht.mapRatingToClass(e.data.value)} py-3 rounded-3`,children:(0,K.jsxs)(`div`,{className:`d-flex justify-content-center align-items-center text-white text-shadow`,children:[(0,K.jsx)(i,{svg:Je,size:r.Medium}),(0,K.jsx)(`h4`,{className:`mb-0`,children:e.data.code})]})})})}function Jr(e){switch(Y.getMappedPresentationLevel(e.learningLevel)){case J.Level_1:return 64;default:return 128}}function Yr(e){let t=Jr(e.presentation),n=e.content.filter(e=>e.code&&e.value<t&&e.code!==`E`);return(0,K.jsx)(K.Fragment,{children:(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Ratings,getChildAppLink:t=>e.appLinks?.rating?.(t,n),collection:n,childComponent:qr,analyticsData:e.analyticsData,extraChildComponentProps:{ratingsLength:n.length},prefetched:!0})})}function Xr(e){let t=V();function n(){return t.xs||t.sm?3:t.md||t.lg?4:5}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0}),(0,K.jsx)(`div`,{className:`row mx-n1`,children:[...Array(n())].map((e,t)=>(0,K.jsx)(`div`,{className:`col px-1`,children:(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3 pb-5`})},t))})]})}function Zr(e){return(0,K.jsxs)(`div`,{className:`curated-widget-header`,children:[(0,K.jsx)(`h2`,{className:`curated-widget-heading`,children:e.name}),!!e.description&&(0,K.jsx)(`p`,{className:`description curated-widget-description`,children:e.description})]})}function Qr(){return(0,K.jsxs)(`div`,{className:`curated-widget-header`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background curated-widget-heading`,style:{height:`2.099625rem`,width:`16.5rem`,maxWidth:`80%`},children:`\xA0`}),(0,K.jsx)(`div`,{className:`partial-loading-background description curated-widget-description`,style:{width:`21rem`,height:`1.3125rem`,maxWidth:`90%`},children:`\xA0`})]})}var $r={banner:`_banner_v1f1a_1`,bannerContent:`_bannerContent_v1f1a_4`,cta:`_cta_v1f1a_10`};function ei(e){let t=V();function n(){let t=y.first(e.content);return j.createBannerUrl(t.banner,{fallbackBaseUrl:``,fallbackCategoryName:t.name,type:k.Banners},{size:A.Large})}function r(){let t=y.first(e.content);return e.appLinks?.classification?.(t)}function i(){let e=`text-white clamp-2`;return t.xs||t.sm?e+=` h4`:t.md?e+=` h3`:e+=` h2`,e+=` text-white`,e}let a={location:m.Classification,actionType:s.Click,entity:f.Classification,descriptor:d.Banner};return(0,K.jsx)(E,{appLink:r(),analyticsData:e.analyticsData,analyticsOptions:a,children:(0,K.jsxs)(`div`,{className:`banner rounded-3 position-relative ${$r.banner}`,style:{backgroundImage:`url('${n()}')`},children:[e.name&&(0,K.jsx)(`div`,{className:$r.bannerContent,children:(0,K.jsx)(`p`,{className:i(),children:e.name})}),!!e.metadata?.cta?.text&&(0,K.jsx)(`div`,{className:$r.cta,children:(0,K.jsx)(`div`,{className:`btn btn-outline-dark text-nowrap`,children:e.metadata?.cta?.text})})]})})}function ti(){return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${$r.banner}`,children:(0,K.jsx)(`div`,{className:`${$r.bannerContent}`})})}function ni(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M5.5 5a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5H10a.5.5 0 0 0 .5-.5V5.5A.5.5 0 0 0 10 5zM4 5.5A1.5 1.5 0 0 1 5.5 4H10a1.5 1.5 0 0 1 1.5 1.5V10a1.5 1.5 0 0 1-1.5 1.5H5.5A1.5 1.5 0 0 1 4 10zM14 5a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5V5.5a.5.5 0 0 0-.5-.5zm-1.5.5A1.5 1.5 0 0 1 14 4h4.5A1.5 1.5 0 0 1 20 5.5V10a1.5 1.5 0 0 1-1.5 1.5H14a1.5 1.5 0 0 1-1.5-1.5zM4 14a1.5 1.5 0 0 1 1.5-1.5H10a1.5 1.5 0 0 1 1.5 1.5v4.5A1.5 1.5 0 0 1 10 20H5.5A1.5 1.5 0 0 1 4 18.5zm1.5-.5a.5.5 0 0 0-.5.5v4.5a.5.5 0 0 0 .5.5H10a.5.5 0 0 0 .5-.5V14a.5.5 0 0 0-.5-.5zm7 .5a1.5 1.5 0 0 1 1.5-1.5h4.5A1.5 1.5 0 0 1 20 14v4.5a1.5 1.5 0 0 1-1.5 1.5H14a1.5 1.5 0 0 1-1.5-1.5zm1.5-.5a.5.5 0 0 0-.5.5v4.5a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5V14a.5.5 0 0 0-.5-.5z`})})}function ri(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M4 6.4C4 5.627 4.632 5 5.412 5h13.176C19.368 5 20 5.627 20 6.4v3.733c0 .774-.632 1.4-1.412 1.4H5.412c-.78 0-1.412-.626-1.412-1.4zm1.412-.467c-.26 0-.47.21-.47.467v3.733c0 .258.21.467.47.467h13.176c.26 0 .47-.209.47-.467V6.4a.47.47 0 0 0-.47-.467zM4 13.867c0-.774.632-1.4 1.412-1.4h13.176c.78 0 1.412.627 1.412 1.4V17.6c0 .773-.632 1.4-1.412 1.4H5.412C4.632 19 4 18.373 4 17.6zm1.412-.467c-.26 0-.47.209-.47.467V17.6c0 .258.21.467.47.467h13.176c.26 0 .47-.21.47-.467v-3.733a.47.47 0 0 0-.47-.467z`})})}function ii(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,fillRule:`evenodd`,d:`M16.465 11.636a.469.469 0 0 1-.897-.003 5.11 5.11 0 0 0-3.204-3.202.469.469 0 0 1 .002-.897 5.11 5.11 0 0 0 3.203-3.203.469.469 0 0 1 .897.002 5.11 5.11 0 0 0 3.203 3.202.469.469 0 0 1-.002.897 5.11 5.11 0 0 0-3.202 3.204m-1.46-4.664a6 6 0 0 1-1.343 1.011c.492.273.946.614 1.344 1.011.397.398.738.852 1.01 1.344a6 6 0 0 1 1.012-1.344 6 6 0 0 1 1.344-1.01 6 6 0 0 1-1.344-1.012 6 6 0 0 1-1.011-1.344 6 6 0 0 1-1.011 1.344m-2.104 7.345.754.25a.469.469 0 0 1 0 .89l-.754.251a5.11 5.11 0 0 0-3.218 3.218l-.25.754a.469.469 0 0 1-.89 0l-.251-.754a5.11 5.11 0 0 0-3.218-3.218l-.754-.25a.469.469 0 0 1 0-.89l.754-.251a5.11 5.11 0 0 0 3.218-3.218l.25-.754a.469.469 0 0 1 .89 0l.251.754a5.11 5.11 0 0 0 3.218 3.218m-3.913 3.81a6.1 6.1 0 0 1 1.261-1.852 6.1 6.1 0 0 1 1.852-1.262 6.1 6.1 0 0 1-1.852-1.262 6.1 6.1 0 0 1-1.262-1.852 6.1 6.1 0 0 1-1.261 1.852 6.1 6.1 0 0 1-1.852 1.261c.688.301 1.32.732 1.852 1.262a6.1 6.1 0 0 1 1.262 1.852M4.33 6.924a2.72 2.72 0 0 1 1.698 1.697.469.469 0 0 0 .897.002 2.72 2.72 0 0 1 1.697-1.698.469.469 0 0 0 .002-.897 2.72 2.72 0 0 1-1.698-1.697.469.469 0 0 0-.897-.002 2.72 2.72 0 0 1-1.697 1.698.469.469 0 0 0-.002.897m2.147-1.412c.258.378.586.706.964.964a3.7 3.7 0 0 0-.964.964 3.7 3.7 0 0 0-.964-.964 3.7 3.7 0 0 0 .964-.964m11.495 9.865a2.72 2.72 0 0 0 1.698 1.697.47.47 0 0 1-.002.897 2.72 2.72 0 0 0-1.697 1.698.469.469 0 0 1-.897-.002 2.72 2.72 0 0 0-1.698-1.697.469.469 0 0 1 .002-.897 2.72 2.72 0 0 0 1.697-1.698.47.47 0 0 1 .897.002m-1.413 2.145c.378.258.706.586.964.964.258-.378.586-.706.964-.964a3.7 3.7 0 0 1-.964-.964 3.7 3.7 0 0 1-.964.964`,clipRule:`evenodd`})})}var X=function(e){return e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e}({}),ai=function(e){return e.Dark=`dark`,e.White=`white`,e}({}),oi=function(e){return e.NewWindow=`new-window`,e.TopicDirectory=`topic-directory`,e.TopicNewReleases=`topic-new-releases`,e.CuratedTopic=`curated-topic`,e}({});X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,ai.Dark,ai.White,oi.NewWindow;var si={[oi.NewWindow]:Ke,[oi.TopicDirectory]:ni,[oi.TopicNewReleases]:ii,[oi.CuratedTopic]:ri},ci={[X.H1]:`h1`,[X.H2]:`h2`,[X.H3]:`h3`,[X.H4]:`h4`,[X.H5]:`h5`,[X.H6]:`h6`,[ai.Dark]:`text-dark`,[ai.White]:`text-white`},Z={cta:`_cta_6olh8_1`,banner:`_banner_6olh8_6`,bannerImage:`_bannerImage_6olh8_12`,blurb:`_blurb_6olh8_22`,presentations:`_presentations_6olh8_28`,bannerContent:`_bannerContent_6olh8_49`};function li(e){function t(){return j.getUrlById(e.imageCdnUrl,k.Banners,e.metadata.imageId,A.Large)}let n=ci[e.metadata.theming?.headingSize||X.H6],r=ci[e.metadata.theming?.headingColor||ai.Dark];return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${Z.banner}`,children:(0,K.jsx)(`div`,{className:`${Z.bannerImage} ${Z.blurb} d-flex`,style:{backgroundImage:`url('${t()}')`},children:e.name&&(0,K.jsxs)(`div`,{className:`${Z.bannerContent} ${e.widgetTypeId===N.Blurb?Z.blurb:``} d-flex justify-content-between w-100 px-3`,children:[(0,K.jsx)(`p`,{className:`${n} ${r} mb-0`,children:e.name}),e.metadata.cta?.text&&(0,K.jsx)(ge,{svg:Ke,className:`btn btn-dark text-nowrap`,href:e.metadata.cta.href,openInNewTab:!0,children:e.metadata.cta.text})]})})})}var ui={banner:`_banner_1woia_1`,bannerImage:`_bannerImage_1woia_7`};function di(e){if(!e.cta?.text)return(0,K.jsx)(`div`,{});let t=`btn btn-outline-dark text-nowrap me-3`;return e.cta?.icon?(0,K.jsx)(ge,{svg:si[e.cta.icon],className:t,openInNewTab:!0,children:e.cta.text}):(0,K.jsx)(`div`,{className:t,children:e.cta.text})}function fi(e){return(0,K.jsx)(E,{appLink:e.appLink,className:`text-decoration-none`,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${ui.banner}`,children:(0,K.jsxs)(`div`,{className:`${ui.bannerImage} d-flex justify-content-between align-items-center`,style:e.style,children:[!!e.heading&&(0,K.jsx)(`div`,{className:`d-flex align-items-center ps-3 h-100`,children:(0,K.jsx)(`h2`,{className:`text-white text-shadow h4 clamp-1`,children:e.heading})}),(0,K.jsx)(di,{cta:e.cta})]})})})}function pi(e){let t=y.first(e.content);function n(){return j.createBannerUrl(t.banner,{fallbackBaseUrl:``,fallbackCategoryName:t.name,type:k.Banners},{size:A.Large})}let r={location:m.Classification,actionType:s.Click,entity:f.Classification,descriptor:d.Banner};return(0,K.jsx)(fi,{heading:e.name,appLink:e.appLinks?.classification?.(t),analyticsData:e.analyticsData,analyticsOptions:r,style:{backgroundImage:`url('${n()}')`,backgroundSize:`100%`},cta:e.metadata?.cta})}function mi(e){let t=e.hasPermissions(b.ManageSubjectPreferences)||e.hasLocalPermissions(x.ManagePublicPresentation);function n(){return j.getUrlById(e.imageCdnUrl,k.Banners,e.metadata.imageId,A.Large)}function r(t){let n={middlewareOptions:{presentationSlug:t?.vanitySlug}},r={...e.analyticsData,id:t.id,presentationName:t.name},i={entity:f.Presentation,actionType:s.Click,location:m.HeroBannerSmallWidget};return(0,K.jsx)(E,{className:`info-link d-inline`,appLink:e.appLinks?.discover?.(),appLinkOptions:n,analyticsData:r,analyticsOptions:i,children:t.name})}function i(){return e.content.length===1?r(e.content[0]):e.content.length===2?(0,K.jsxs)(K.Fragment,{children:[r(e.content[0]),` or `,r(e.content[1])]}):(0,K.jsxs)(K.Fragment,{children:[e.content.slice(0,e.content.length-1).map(e=>(0,K.jsxs)(G.Fragment,{children:[r(e),`, `]},e.id)),`or `,r(y.last(e.content))]})}let a=e.name;return t?(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${Z.banner}`,children:(0,K.jsx)(`div`,{className:`${Z.bannerImage} ${Z.presentations}`,style:{backgroundImage:`url('${n()}')`},children:a&&(0,K.jsx)(`div`,{className:`${Z.bannerContent} ${Z.presentations} px-3`,children:(0,K.jsxs)(`p`,{className:`h6 mb-0`,children:[a,` `,i(),`.`]})})})}):(0,K.jsx)(K.Fragment,{})}function hi(e){switch(e.widgetTypeId){case N.Blurb:return(0,K.jsx)(li,{...e,content:e.content});case N.Presentations:return(0,K.jsx)(mi,{...e,content:e.content});default:return(0,K.jsx)(pi,{...e,content:e.content})}}function gi(){return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${Z.banner}`,children:(0,K.jsx)(`div`,{className:`${Z.bannerContent}`})})}function _i(e){let t=y.first(e.content),n=V();function r(){switch(e.metadata?.cta?.appLink){case Ve.TopicDirectory:return e.appLinks?.classificationDirectory?.(t);case Ve.CuratedTopic:return e.appLinks?.classification?.(t);case Ve.TopicNewReleases:return e.appLinks?.classification?.(t)}return null}let i={id:t.id,name:t.name,presentationId:t.presentationId},a={location:m.ClassificationListItem,actionType:s.Click,entity:f.Classification,descriptor:d.Thumbnail};return(0,K.jsx)(fi,{heading:e.name,appLink:r(),analyticsData:i,analyticsOptions:a,style:{backgroundColor:t.metadata?.backgroundColor,backgroundSize:`100%`},cta:n.xs?null:e.metadata?.cta})}function vi(){return(0,K.jsx)(gi,{})}var yi=`shared.heroThumbnailSmall`;function bi(e){let t=e.content?.[0],n=`thumbnail`in t&&j.createUrl(t.thumbnail?.url,{size:A.Medium}),r=`metadata`in t&&t.metadata?.backgroundColor,i={backgroundColor:r,backgroundSize:`50%`};n&&(i.backgroundImage=`url('${n}')`);let a={...e.analyticsData,id:t.id,name:t.name,presentationId:`presentationId`in t&&t.presentationId},c={location:m.ClassificationListItem,actionType:s.Click,entity:f.Classification,descriptor:d.Thumbnail};return!n||!r?(0,K.jsx)(hi,{...e}):(0,K.jsx)(fi,{heading:e.name,appLink:e.appLinks?.classification?.(t),analyticsData:a,analyticsOptions:c,style:i,cta:{text:o.getPhrase(yi,`buttonLabel`),...e.metadata?.cta??{}}})}function xi(){return(0,K.jsx)(gi,{})}function Si(e){return(0,K.jsxs)(`div`,{className:`col-${e.colSize} px-1`,children:[(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`70%`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`80%`}})]})]})}function Ci(e){return(0,K.jsx)(We,{size:`lg`,childComponent:Si,name:e.name,description:e.description,isPreviewing:e.isPreviewing})}var wi=`widgets.popoutThumbnailSlidingListLarge`;function Ti(e){let t=Re[e.widgetTypeId],n=P.getVideoContent(e.content);function r(t,n){e.onClickRemoveItem?.(t,n,e.id,e.widgetTypeId)}return(0,K.jsx)(R,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:z.LargeRow,contents:L.Videos,collection:n,childComponent:mn,extraChildComponentProps:{presentationAudiences:e.audiences,hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,showVideoGuidance:H.showVideoGuidance(e.hasPermissions),showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:P.showRemoveButton(e.widgetTypeId)&&r,removeButtonTooltip:P.showRemoveButton(e.widgetTypeId)?o.getPhrase(wi,`removeFromWatchHistory`):``,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name),isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId})}function Ei(e){return(0,K.jsxs)(`div`,{className:`col-${e.colSize} px-1`,children:[(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`70%`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`80%`}})]})]})}function Di(e){return(0,K.jsx)(We,{size:`sm`,childComponent:Ei,name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:e.hideDescription,hideHeading:e.hideHeading})}var Oi={isNew:`_isNew_c6ymw_1`,newVideos:`_newVideos_c6ymw_5`,badge:`_badge_c6ymw_9`,icon:`_icon_c6ymw_12`},ki=o.encloseNamespace(`shared.subjectStatsBadge`);function Ai(e){function t(){let t=`fw-semibold d-inline-block rounded-pill px-2 ${Oi.badge}`;switch(e.badgeType){case`coming-soon`:return t+` bg-light ps-1 d-inline-flex align-items-center`;case`new-topic`:return t+` ${Oi.isNew}`;case`new-videos`:return t+` ${Oi.newVideos}`;default:return``}}function n(){switch(e.badgeType){case`coming-soon`:return ki(`comingSoon`);case`new-topic`:return ki(`new`);case`new-videos`:return ki(`newVideos`,{smartCount:e.newVideoCount});default:return``}}return(0,K.jsxs)(`div`,{className:t(),children:[e.badgeType===`coming-soon`&&(0,K.jsx)(i,{svg:it,className:`svg-container ${Oi.icon}`,size:r.ExtraSmall}),n()]})}var ji=`widgets.popoutThumbnailSlidingListSmall`;function Mi(e){if(e.isTertiaryCustomerWithoutExchange||e.widgetTypeId!==N.ClassificationLatestReleasedVideosV2||!e.classification)return(0,K.jsx)(K.Fragment,{});let{childDashboardNewVideoCount:t}=Y.getCounts(e.classification);return t?(0,K.jsx)(`div`,{className:`ms-2`,children:(0,K.jsx)(Ai,{badgeType:`new-videos`,newVideoCount:t})}):(0,K.jsx)(K.Fragment,{})}function Ni(e){let t=Re[e.widgetTypeId],n=P.getVideoContent(e.content);function r(t,n){e.onClickRemoveItem?.(t,n,e.id,e.widgetTypeId)}return(0,K.jsx)(R,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:z.Row,contents:L.Videos,collection:n,childComponent:mn,extraChildComponentProps:{presentationAudiences:e.audiences,hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,showVideoGuidance:H.showVideoGuidance(e.hasPermissions),preventPopout:e.preventPopout,showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:P.showRemoveButton(e.widgetTypeId)&&r,removeButtonTooltip:P.showRemoveButton(e.widgetTypeId)?o.getPhrase(ji,`removeFromWatchHistory`):``,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name),isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,headingBadgeComponent:(0,K.jsx)(Mi,{...e})})}var Pi={largeSeriesItem:`_largeSeriesItem_rdvk7_1`,smallSeriesItem:`_smallSeriesItem_rdvk7_14`,partialLoading:`_partialLoading_rdvk7_37`};function Fi(){let e=V();return e.xs?2:e.sm?3:4}var Ii=e=>{let t=Fi();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`row mb-n2`,children:[...Array(t)].map((e,t)=>(0,K.jsx)(`div`,{className:`col-6 col-sm-4 col-md-3 col-lg-3 pb-2`,children:(0,K.jsx)(`div`,{className:`${Pi.partialLoading} partial-loading-background rounded-3`})},t))})]})};function Li(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(`ul`,{className:`list-unstyled mx-n1 mb-n2 row`,children:e.content.map(t=>(0,K.jsx)(`li`,{className:`px-1 col-lg-3 col-md-4 col-sm-6 col-xs-12`,children:(0,K.jsx)(E,{appLink:e.appLinks.series(t),className:`d-block mb-2`,analyticsData:{...e.analyticsData,id:t.id,name:t.name},analyticsOptions:{entity:f.Series,actionType:s.Click,descriptor:d.TallPoster,location:m.PosterFixedListLargeWidget},children:(0,K.jsx)(Ft,{series:t,presentationAudiences:e.audiences,preloadImage:!1})})},t.id))})]})}function Ri(e){let{data:t}=e,n={...e.analyticsData,id:t?.id,name:t?.name},r={...e.analyticsOptions,actionType:s.Click,entity:f.Series,descriptor:d.TallPoster};return(0,K.jsx)(E,{appLink:e.getAppLink(t),className:`position-relative px-1 flex-shrink-0 ${e.isSmall?Pi.smallSeriesItem:Pi.largeSeriesItem} `,analyticsData:n,analyticsOptions:r,children:(0,K.jsx)(Ft,{series:t,presentationAudiences:e.audiences,preloadImage:e.preloadImage,isSmall:e.isSmall,hasTableOfContents:e.hasTableOfContents})},t.id)}function zi(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Series,collection:e.content,childComponent:Ri,extraChildComponentProps:{audiences:e.audiences,hasTableOfContents:e.hasTableOfContents},getChildAppLink:t=>e.appLinks?.series?.(t),appLink:e.seeMoreLink,showSeeMoreLink:!!e.seeMoreLink,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,headingBadgeComponent:e.badgeComponent})}var Bi={slidingSubjectSmall:`_slidingSubjectSmall_rgvzf_1`,slidingSubjectLarge:`_slidingSubjectLarge_rgvzf_26`,heading:`_heading_rgvzf_46`,posterContainer:`_posterContainer_rgvzf_71`,partialLoading:`_partialLoading_rgvzf_75`,labelContainer:`_labelContainer_rgvzf_80`};function Vi(e){let t=V();return t.xs?2:t.sm?3:t.md?4:t.lg||e===z.LargeRow?5:6}var Hi=e=>(0,K.jsx)(`div`,{className:`${e.type===z.Row?Bi.slidingSubjectSmall:Bi.slidingSubjectLarge} px-1`,children:(0,K.jsx)(`div`,{className:`${Bi.partialLoading} partial-loading-background rounded-3`})});function Ui(e){let t=Vi(e.type),n=[];for(let r=0;r<t;r++)n.push((0,K.jsx)(Hi,{type:e.type},r));return(0,K.jsxs)(`div`,{className:`pb-3`,children:[(0,K.jsx)(I,{}),(0,K.jsx)(`div`,{className:`row g-0 mx-n1`,children:n})]})}function Wi(e){let{data:t,preloadImage:n}=e,r={...e.analyticsOptions,entity:f.Classification,actionType:s.Click,descriptor:d.TallPoster};function i(){let t=Bi.posterContainer;return e.context.type===z.Row?t+=` ${Bi.slidingSubjectSmall}`:t+=` ${Bi.slidingSubjectLarge}`,t}return(0,K.jsx)(`div`,{className:i(),children:(0,K.jsxs)(ct,{data:t.tallPoster,alt:t.name,appLink:e.getAppLink(t),imageType:k.TallPosters,preload:n,imageOptions:{size:A.Medium},imageClassName:`rounded-3`,analyticsData:e.analyticsData,analyticsOptions:r,children:[(0,K.jsx)(wt,{type:St.TallSubject}),(0,K.jsx)(`h3`,{className:`px-2 ${Bi.heading}`,children:t.name})]})})}function Gi(){return(0,K.jsx)(Ui,{type:z.LargeRow})}function Ki(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.LargeRow,contents:L.Subjects,collection:e.content,childComponent:Wi,getChildAppLink:t=>e.appLinks?.classification?.(t),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData})}var qi=`explore-all-topics`;function Ji(e){if(e.metadata?.text||e.metadata?.imageId)return{id:e.metadata?.appLink===ze.ExploreAllTopics?qi:``,name:e.metadata?.text,tallPoster:{url:e.metadata?.imageId?j.getUrlById(e.imageCdnUrl,k.TallPosters,e.metadata.imageId,A.Medium):``}}}function Yi(e){let t=Ji(e),n=P.getCustomAppLink(e);return(0,K.jsx)(`div`,{children:(0,K.jsx)(R,{id:e.id,name:e.name,appLink:n,description:e.description,type:z.Row,contents:L.Subjects,collection:t?[t,...e.content]:e.content,childComponent:Wi,extraChildComponentProps:{audiences:e.audiences},getChildAppLink:t=>t.id?t.id===qi?e.appLinks?.allTopics?.(e.presentation.id):e.appLinks?.classification?.(t):null,analyticsData:e.analyticsData,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight})})}function Xi(){return(0,K.jsx)(Ui,{type:z.Row})}function Zi(e){return(0,K.jsx)(`div`,{children:(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.SmallSeries,collection:e.content,childComponent:Ri,extraChildComponentProps:{audiences:e.audiences,isSmall:!0},getChildAppLink:e.appLinks?.series,analyticsData:e.analyticsData,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight})})}var Qi={question:`_question_bdb62_1`,partialQuestion:`_partialQuestion_bdb62_8`,description:`_description_bdb62_12`};function $i(){return(0,K.jsxs)(`div`,{className:`${Qi.partialQuestion} rounded-3`,children:[(0,K.jsx)(`div`,{className:`mb-2 partial-loading-background`,style:{height:`1.5rem`,width:`75%`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`100%`}})]})}function ea(e){let{question:t,answer:n}=y.first(e.content);return(0,K.jsx)(un,{id:e.id,answer:n,question:t,isBot:e.isBot,analyticsData:e.analyticsData})}var ta={question:`_question_158ta_1`,padding:`_padding_158ta_7`,partialQuestion:`_partialQuestion_158ta_10`,description:`_description_158ta_13`};function na(){return(0,K.jsx)(`div`,{className:`${ta.partialQuestion} ${ta.padding} rounded-2 mb-2`,children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5rem`,width:`75%`}})})}function ra(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2`,style:{height:`2rem`,width:`30%`}}),(0,K.jsxs)(`div`,{className:`mb-n2`,children:[(0,K.jsx)(na,{}),(0,K.jsx)(na,{}),(0,K.jsx)(na,{})]})]})}function ia(e){let t=xe();G.useEffect(()=>{if(!e.faqs?.length||!t.hasProvider)return;async function n(){let n=await be.buildFaqJsonLd(e.faqs,e.widgetName);t.setFaq(n)}n()},[e.faqs,e.widgetName,t.hasProvider])}var aa=`0px`;function oa(e){let[t,n]=we(`should:expand:${e.id}`,e.isBot,{storage:te.LocalStorage}),[r,a]=G.useState(t?`100%`:aa),[o,c]=G.useState(null),l=G.useRef(null),u=G.useRef(null),p=Se();function g(n){O.isLink(n.target)||window.getSelection().toString().length===0&&(h.logUserAction({...e.analyticsData,...e.faq,questionIndex:e.index},{entity:f.Faq,actionType:s.Click,descriptor:t?d.Collapse:d.Expand,location:m.FaqQuestionAccordionWidget}),t?v():_())}async function _(){y(),n(!0);let t=await O.parse(e.faq?.answer,{focusableLinks:!0});p.current&&c(t)}async function v(){a(aa),n(!1);let t=await O.parse(e.faq?.answer,{focusableLinks:!1});p.current&&c(t)}function y(){let e=document.createElement(`p`);e.innerHTML=o,e.style.visibility=`hidden`,e.classList.add(`py-1`),l.current.appendChild(e),a(`${e.clientHeight-10}px`),l.current.removeChild(e)}if(G.useEffect(()=>{async function n(){let n=await O.parse(e.faq?.answer,{focusableLinks:t});p.current&&(c(n),t&&y())}n()},[e.faq?.answer]),pt(()=>{t&&v()},null,[t]),!e.faq?.question||!e.faq?.answer)return(0,K.jsx)(K.Fragment,{});let b=`question-${e.id}`,x=`answer-${e.id}`;return(0,K.jsxs)(he,{onClick:g,"aria-expanded":t,"aria-controls":x,className:`${ta.question} rounded-2`,children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-center ${ta.padding}`,children:[(0,K.jsx)(`div`,{className:`rounded-circle bg-white me-2`,children:(0,K.jsx)(i,{svg:t?on:tt})}),(0,K.jsx)(`h3`,{className:`mb-0 font-size-normal fw-normal`,id:b,children:e.faq.question})]}),(0,K.jsxs)(`div`,{className:`${ta.description}`,style:{height:r},id:x,"aria-labelledby":b,"aria-live":`polite`,"aria-hidden":!t,children:[(0,K.jsx)(`p`,{className:`mb-0 py-1 ${O.getContainerClass()}`,dangerouslySetInnerHTML:{__html:o},ref:u}),(0,K.jsx)(`div`,{ref:l,"aria-hidden":!0,className:O.getContainerClass()})]})]})}function sa(e){return ia({faqs:e.content,widgetName:e.name}),e.content.length?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`h2`,{className:`curated-widget-heading`,children:e.name}),(0,K.jsx)(`ul`,{className:`list-unstyled mb-n2`,children:e.content.map((t,n)=>(0,K.jsx)(`li`,{className:`mb-2`,children:(0,K.jsx)(oa,{id:`${e.id}:${n}`,faq:t,index:n,analyticsData:e.analyticsData,isBot:e.isBot},n)},n))})]}):(0,K.jsx)(K.Fragment,{})}function ca(e){let t=5,n=V();return(n.sm||n.xs)&&(t=2),n.md&&(t=3),(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`d-flex flex-no-wrap`,children:Array(t).fill(null).map((e,t)=>(0,K.jsxs)(`div`,{style:{flex:1},children:[(0,K.jsx)(`div`,{style:{width:`90%`},className:`h-auto d-inline-block partial-loading-background rounded-3 ratio ratio-16x9`}),(0,K.jsx)(`div`,{style:{width:`90%`,height:`1.25rem`},className:`partial-loading-background mt-1`})]},t))})]})}var la=function(e){return e[e.SystemGenerated=1]=`SystemGenerated`,e[e.Curated=2]=`Curated`,e[e.Spotlight=3]=`Spotlight`,e}({}),ua=o.encloseNamespace(`shared.rectangularLogoWidgetItem`);function da(e){return e.company?f.Company:f.Person}function fa(e){return e.partnerType===la.Spotlight?ua(`featured`,{name:e.name}):e.partnerType===la.Curated?ua(`curated`,{name:e.name}):e.name}function pa(e){let{partner:t,appLink:n}=e,r={...e.analyticsData,id:t.id,name:t.name,entity:da(t)},i={...e.analyticsOptions,location:m.RectangularLogoSlidingListWidget,actionType:s.Click,entity:f.Person},a=t._logo?.value?.url?{url:j.createUrl(t._logo.value.url,{size:A.Medium}),bgColor:t._colour?.value}:void 0;return{name:t.name,logo:a,appLink:n,analyticsData:r,analyticsOptions:i,title:fa(t)}}function ma(e){return(0,K.jsxs)(E,{appLink:e.appLink,className:`position-relative px-1 flex-shrink-0 col-6 col-md-3 col-lg-2`,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,title:e.title,children:[(0,K.jsx)(gt,{logoUrl:e.logo?.url,bgColor:e.logo?.bgColor,name:e.name}),(0,K.jsx)(`h2`,{className:`h6 mt-2`,children:e.name})]})}function ha(e){return(0,K.jsx)(ma,{...pa({analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,partner:e.data,appLink:e.getAppLink(e.data)})})}function ga(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.PartnerProfiles,collection:e.content,childComponent:ha,extraChildComponentProps:{},prefetched:!0,showSeeMoreLink:!0,hideBleedingContent:e.showHighlight,analyticsData:e.analyticsData,getChildAppLink:e.appLinks?.partner,appLink:e.appLinks?.partnerHome?.()})}function _a(){return(0,K.jsxs)(`div`,{className:`d-flex flex-row gap-1`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`12rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`3rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`1rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`4rem`,height:`1.25rem`}})]})}var va=`shared.searchSuggestionsBlurbWidgetTemplate`,ya=o.encloseNamespace(va),ba=2;function xa(e){return(0,K.jsxs)(K.Fragment,{children:[`"`,(0,K.jsx)(E,{appLink:e.appLink,appLinkOptions:{replace:!0},children:(0,K.jsx)(`span`,{className:`text-info hover-text-underline cursor-pointer`,children:e.name})}),`"`]})}function Sa(e){let t=e.content.splice(0,ba);return t.length?(0,K.jsxs)(`div`,{className:`rounded-2`,children:[(0,K.jsx)(D,{phrase:`prompt`,namespace:va}),`\xA0`,t.map((n,r)=>{let i=t.length-1===r;return(0,K.jsxs)(G.Fragment,{children:[(0,K.jsx)(xa,{appLink:e.appLinks.searchHome({query:n.name},{replace:!1}),name:n.name}),i?`?`:(0,K.jsxs)(K.Fragment,{children:[`\xA0`,ya(`or`),`\xA0`]})]},n.name)})]}):(0,K.jsx)(K.Fragment,{})}var Q={container:`_container_13te1_1`,bellContainer:`_bellContainer_13te1_4`,bell:`_bell_13te1_4`,followed:`_followed_13te1_22`,bellOutline:`_bellOutline_13te1_26`,cover:`_cover_13te1_33`,fallbackImage:`_fallbackImage_13te1_38`,subText:`_subText_13te1_43`};function Ca(){return(0,K.jsxs)(`div`,{className:`d-flex`,children:[(0,K.jsx)(`div`,{className:`${Q.cover} me-2 rounded overflow-hidden border rounded d-inline-block`,children:(0,K.jsx)(`div`,{className:Q.partialIcon,children:(0,K.jsx)(wt,{type:St.Subject})})}),(0,K.jsxs)(`div`,{className:`d-inline-block`,style:{flexBasis:`50%`},children:[(0,K.jsx)(`div`,{className:`partial-loading-background mt-1`,style:{height:`19px`,width:`100%`}}),(0,K.jsx)(`div`,{className:`partial-loading-background mt-1`,style:{height:`16.5px`,width:`75%`}})]})]})}function wa(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(T,{className:`g-0`,children:[,,,,,,].fill(null).map((e,t)=>(0,K.jsx)(w,{xs:12,sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Ca,{})})},t))})]})}function Ta(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M10.33 5.26c-1.023.373-1.72 1.155-2.158 2.369-.466 1.29-.655 3.104-.67 5.533-.002.112-.038.22-.102.305L5.08 16.56A.9.9 0 0 0 5.8 18h3.306q.049.13.112.251c.13.255.32.53.566.784.493.51 1.241.965 2.216.965s1.723-.455 2.216-.965c.246-.255.436-.53.566-.784a3 3 0 0 0 .112-.251H18.2a.9.9 0 0 0 .72-1.44l-2.32-3.093a.5.5 0 0 1-.101-.305c-.018-2.27-.214-4.07-.695-5.392-.447-1.232-1.157-2.09-2.211-2.498a1.8 1.8 0 0 0-.352-.722c-.28-.34-.7-.55-1.24-.55s-.965.208-1.261.53a1.9 1.9 0 0 0-.41.73M13.77 18a2.4 2.4 0 0 1-.274.34c-.353.365-.855.66-1.497.66s-1.144-.295-1.497-.66a2.4 2.4 0 0 1-.274-.34z`})})}function Ea(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M8.172 7.629c.438-1.214 1.135-1.996 2.157-2.369a1.9 1.9 0 0 1 .41-.73C11.037 4.208 11.462 4 12 4c.542 0 .96.21 1.241.55.182.22.291.474.352.722 1.054.409 1.764 1.266 2.211 2.498.48 1.323.677 3.122.695 5.392 0 .112.037.22.101.305l2.32 3.093A.9.9 0 0 1 18.2 18h-3.306a3 3 0 0 1-.112.251c-.13.255-.32.53-.566.784-.493.51-1.241.965-2.216.965s-1.723-.455-2.216-.965a3.3 3.3 0 0 1-.566-.784A3 3 0 0 1 9.106 18H5.8a.9.9 0 0 1-.72-1.44l2.32-3.093a.5.5 0 0 0 .101-.305c.016-2.429.205-4.243.67-5.533M18 17l-2.2-2.933a1.5 1.5 0 0 1-.301-.898c-.017-2.241-.215-3.9-.635-5.058-.411-1.134-1.016-1.738-1.854-1.981A3.6 3.6 0 0 0 12 6a4.2 4.2 0 0 0-1.115.132c-.809.223-1.381.752-1.773 1.836-.404 1.12-.595 2.79-.61 5.2-.003.321-.106.638-.302.899L6 17zm-7.771 1c.074.112.166.228.274.34.353.365.855.66 1.497.66s1.144-.295 1.497-.66c.108-.112.2-.228.274-.34z`})})}var Da=o.encloseNamespace(`shared.subjectStatsWidgetItem`);function Oa(e){let[t,n]=G.useState(!1),r=e.classification?.status===st.ComingSoon,a=Y.isFollowing(e.classification),{dashboardNewVideosCount:o,childDashboardNewVideoCount:c,dashboardResourceCount:l,childDashboardResourceCount:u,dashboardVideoCount:p,childDashboardVideoCount:h,childClassificationCount:g}=Y.getCounts(e.classification),v=p+h,y=l+u,b=o+c;function x(t){t.stopPropagation(),t.preventDefault(),e.canFollowTopics&&e.onToggleFollowClassification?.(e.classification,m.SubjectStatsWidgetItem)}function S(){if(e.classification.status===st.ComingSoon||e.hideCounts)return``;let t=``;if(v&&(t+=`${Da(`videos`,{smartCount:v})} `),y&&(t+=` • ${Da(`resources`,{smartCount:y})}`),Y.isTopLevelTopic(e.classification)&&g>0){if(!t)return Da(`topics`,{smartCount:g});t=`${Da(`topics`,{smartCount:g})} • `+t}return t}function ee(){if(e.classification.status===st.ComingSoon)return`coming-soon`;let{datePublished:t}=e.classification;return t&&_.timeSince(t,`day`)<=30?`new-topic`:b>0&&!e.hideCounts?`new-videos`:null}let te=S();return(0,K.jsxs)(E,{className:`d-flex no-decoration rounded ${Q.container}`,appLink:e.getAppLink?.(e.classification),analyticsData:{...e.analyticsData,id:e.classification?.id,name:e.classification?.name,presentationId:e.classification.presentationId,comingSoon:!!r,videoCount:v,resourceCount:y,newVideoCount:b,datePublished:e.classification.datePublished,countsHidden:!!e.hideCounts},analyticsOptions:{location:m.SubjectStatsWidgetItem,...e.analyticsOptions,actionType:s.Click,entity:f.Classification,descriptor:d.Cover},children:[!t&&(0,K.jsx)(wt,{type:St.Subject,extraClasses:`ms-2 rounded-end-lg ${Q.fallbackImage}`}),(0,K.jsx)(`div`,{className:`${Q.cover} me-2 rounded overflow-hidden`,children:(0,K.jsx)(ct,{data:e.classification.cover,imageOptions:{size:A.Medium},imageClassName:r?`opacity-50`:``,onLoad:()=>n(!0),children:e.canFollowTopics&&(0,K.jsxs)(he,{onClick:x,className:`
|
|
5
5
|
align-items-center justify-content-center cursor-pointer
|
|
6
6
|
${Q.bellContainer} ${a?Q.followed:``}
|
|
7
7
|
`,children:[(0,K.jsx)(i,{svg:Ta,className:`svg-container ${Q.bell}`}),(0,K.jsx)(i,{svg:Ea,className:`svg-container ${Q.bellOutline}`})]})})}),(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`h3`,{className:`h6 mb-0 clamp-2 mt-1`,children:e.classification.name}),!!te&&(0,K.jsx)(`p`,{className:`mb-0 ${Q.subText}`,children:te}),(0,K.jsx)(Ai,{badgeType:ee(),newVideoCount:b})]})]})}function ka(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(T,{className:`mb-n2`,children:e.content.map(t=>(0,K.jsx)(w,{className:`position-relative pb-2`,xs:12,sm:6,lg:e.hasTableOfContents?6:4,xl:4,children:(0,K.jsx)(Oa,{classification:t,analyticsData:e.analyticsData,getAppLink:e.appLinks?.classification,onToggleFollowClassification:e.onToggleFollowClassification,canFollowTopics:!1,hideCounts:e.isTertiaryCustomerWithoutExchange})},t.id))})]})}function Aa(){return(0,K.jsx)(`div`,{className:`me-2`,children:(0,K.jsx)(ut,{})})}function ja(e){let t=typeof e.predicate==`function`&&e.predicate()||!1;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(ft,{partialLoadingComponent:Aa,partialLoadingOptions:{numItems:4}}),t&&(0,K.jsx)(`hr`,{})]})}function Ma(e){let n=e.getSelectedItems(e.widgetTypeId),r=e.content.filter(e=>!n.find(t=>t.id===e.id)),i=[...n,...r];function a(n){t.trigger(e.appLinks.tag(n))}return(0,K.jsx)(mt,{collection:i,childComponent:e=>(0,K.jsx)(dt,{...e,selectedItems:n,onClick:a}),partialLoadingComponent:Aa,partialLoadingOptions:{numItems:4}})}function Na(){return(0,K.jsx)(`div`,{className:`partial-loading-background rounded-pill me-2`,style:{height:`2.5rem`,width:`9.375rem`}})}function Pa(){return(0,K.jsxs)(`div`,{className:`d-flex align-items-center mw-100`,children:[(0,K.jsx)(Na,{}),(0,K.jsx)(Na,{})]})}var Fa={partialHeroThumbnail:`_partialHeroThumbnail_1e73g_1`,partialVideoTitleText:`_partialVideoTitleText_1e73g_6`,partialDescription:`_partialDescription_1e73g_10`,details:`_details_1e73g_19`};function Ia(){return(0,K.jsx)(K.Fragment,{children:(0,K.jsxs)(T,{children:[(0,K.jsx)(w,{xs:12,md:6,children:(0,K.jsx)(`div`,{className:`${Fa.partialHeroThumbnail} partial-loading-background rounded-3`})}),(0,K.jsx)(w,{xs:12,md:6,children:(0,K.jsxs)(`div`,{className:Fa.details,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{style:{height:`1.5rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5625rem`,width:`15rem`}})]}),(0,K.jsx)(`div`,{className:`pt-2 mw-100`,children:(0,K.jsx)(Pa,{})})]})})]})})}function La(e){let t=y.first(P.getVideoContent(e.content));return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(Lt,{video:t,presentationAudiences:e.audiences,getVideoAppLink:e.appLinks?.videoType,analyticsData:e.analyticsData,hideInteractiveBadge:!0,showVideoGuidance:H.showVideoGuidance(e.hasPermissions),showNewVideoIndicator:e.settings?.hasTopicDirectories,commonVideoProps:e.commonVideoProps})]})}var Ra={actions:`_actions_1psxq_1`,actionsContainer:`_actionsContainer_1psxq_14`,ownerLogo:`_ownerLogo_1psxq_24`,dropStyle:`_dropStyle_1psxq_33`,dragStyle:`_dragStyle_1psxq_38`};function za(e){let t=e.folder.thumbnail?ee.urlBuilder(e.folder.thumbnail.url,{size:A.Small}):null,n=e.folder?.libraries?.data?.[0]?.owner,r=e.showOwnerLogo&&n?.logo?.url?ee.urlBuilder(n.logo.url,{size:A.Small}):null,i=e.getFolderActions?.(e.folder),a=e.analyticsData?{id:e.folder.id.toString(),name:e.folder.name,...e.analyticsData}:void 0,o=e.analyticsOptions?{actionType:s.Click,entity:f.Folder,...e.analyticsOptions}:void 0;return(0,K.jsx)(Ae,{draggable:e.drag&&{id:e.folder.id,data:e.folder},droppable:e.drop&&{id:e.folder.id,data:e.folder},dropStye:Ra.dropStyle,dragStyle:Ra.dragStyle,children:(0,K.jsxs)(`div`,{className:`position-relative`,children:[(0,K.jsxs)(E,{className:`rounded-3 d-block text-decoration-none`,appLink:e.getAppLink(e.folder),title:e.folder.name,analyticsData:a,analyticsOptions:o,children:[(0,K.jsx)(ct,{data:t,imageType:k.Thumbnails,imageClassName:`rounded-top-lg`,children:(0,K.jsx)(wt,{name:e.folder.name,type:St.Folder,extraClasses:`rounded-top-lg`})}),(0,K.jsx)(`h3`,{className:`bg-white border-start border-end border-bottom rounded-bottom-lg font-size-normal fw-semibold mb-0 p-2`,children:(0,K.jsx)(`span`,{className:`text-truncate d-block`,children:e.folder.name})})]}),i?.length&&(0,K.jsx)(nt,{actions:i,className:Ra.actionsContainer,actionsDropdownClassName:Ra.actions,dropdownToggleSvgSize:null}),!!r&&(0,K.jsx)(`img`,{src:r,className:`rounded-circle ${Ra.ownerLogo}`,alt:`${n?.name} logo`,title:n?.name||``})]})})}function Ba(e){function t(t){if(e.widgetTypeId===N.SearchMySchoolLibraryFolder){let n=t?.libraries?.data?.[0]?.id;return e.appLinks.folder(t,{libraryId:n})}return e.appLinks.folder(t)}let n=e.widgetTypeId===N.SearchMySchoolLibraryFolder;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map((r,i)=>(0,K.jsx)(w,{as:`li`,lg:3,md:4,sm:6,xs:12,className:`pb-3 px-1`,children:(0,K.jsx)(za,{folder:r,getAppLink:t,showOwnerLogo:n,analyticsData:typeof e.getAnalyticsData==`function`?e.getAnalyticsData(i):{},analyticsOptions:{location:m.ThumbnailFixedListFolderSmallWidget}})},r.id))})]})}var Va={subjectItem:`_subjectItem_1outb_1`};function Ha(e){let t=[...[,,]];return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(T,{className:`mx-n1`,children:t.map((e,t)=>(0,K.jsx)(w,{sm:12,md:6,className:`p-1`,children:(0,K.jsx)(`div`,{className:`${Va.subjectItem} partial-loading-background rounded-3`})},t))})]})}var $={appLink:`_appLink_1gvxv_1`,container:`_container_1gvxv_5`,large:`_large_1gvxv_12`,small:`_small_1gvxv_15`,content:`_content_1gvxv_19`,top:`_top_1gvxv_30`,title:`_title_1gvxv_34`,preTitle:`_preTitle_1gvxv_40`,description:`_description_1gvxv_43`,cover:`_cover_1gvxv_47`,button:`_button_1gvxv_54`},Ua=`shared.thumbnailWidgetItem`;function Wa(e){let t={};return e.data.fallbackBackgroundColor&&(t.backgroundColor=e.data.fallbackBackgroundColor),e.data.backgroundColor&&(t.backgroundColor=e.data.backgroundColor),e.data.thumbnailUrl&&(t.backgroundImage=`url('${e.data.thumbnailUrl}')`),(0,K.jsxs)(`div`,{className:n(`d-flex position-relative rounded-3 h-100`,$.container,e.isLarge?$.large:$.small),style:t,children:[(0,K.jsxs)(`div`,{className:n($.content,!e.isLarge&&`justify-content-center`),children:[(0,K.jsxs)(`div`,{className:`${$.top}`,children:[e.data.preTitle&&e.data.preTitle.length&&(0,K.jsx)(`p`,{className:`${$.preTitle} mb-1 text-white`,title:e.data.preTitle,children:e.data.preTitle}),(0,K.jsx)(`p`,{title:e.data.name,className:n(`h5 text-shadow hover-text-underline`,$.title,e.isLarge?`mb-0 text-wrap clamp-2`:`text-wrap clamp-3`),children:e.data.name}),e.isLarge&&(0,K.jsx)(`div`,{className:`text-start text-shadow ${$.description}`,children:(0,K.jsx)(`p`,{className:`clamp-3`,title:e.data.description,children:e.data.description})})]}),e.isLarge&&(0,K.jsx)(`div`,{className:$.button,children:(0,K.jsx)(`div`,{className:n(!e.appLink&&`cursor-default`,`btn btn-outline-dark`),children:e.data?.buttonText||o.getPhrase(Ua,`buttonLabel`)})})]}),!e.data.thumbnailUrl&&!!e.data.coverUrl&&(0,K.jsx)(`div`,{className:`${$.cover}`,style:{backgroundImage:`url('${e.data.coverUrl}')`}})]})}function Ga(e){return e.appLink?(0,K.jsx)(E,{className:$.appLink,appLink:e.appLink,appLinkOptions:e.appLinkOptions,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(Wa,{...e})}):(0,K.jsx)(Wa,{...e})}var Ka=G.memo(Ga),qa=o.encloseNamespace(`shared.thumbnailFixedListLargeWidgetTemplate`);function Ja(e){let t={data:{name:e.item.name,description:e.item.description}},n=e.item?.status===st.ComingSoon,r={...e.analyticsData,id:e.item?.id,name:e.item?.name,presentationId:e.item?.presentationId,comingSoon:!!n},i={location:m.ClassificationListItem,...e.analyticsOptions,actionType:s.Click,entity:f.Classification,descriptor:d.Thumbnail};return{...t,data:{...t.data,backgroundColor:e.item.metadata?.backgroundColor,coverUrl:j.createUrl(e.item.cover?.url,{size:A.Small}),thumbnailUrl:j.createUrl(e.item.thumbnail?.url,{size:A.Medium}),buttonText:qa(`exploreTopic`)},appLink:e.appLinks?.classification?.(e.item),isLarge:!0,analyticsData:r,analyticsOptions:i}}function Ya(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,content:e.content,widgetTypeId:e.widgetTypeId,isPreviewing:e.isPreviewing}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map(t=>(0,K.jsx)(w,{as:`li`,sm:12,xl:6,className:`px-1 pb-2`,children:(0,K.jsx)(Ka,{...Ja({appLinks:e.appLinks,item:t,analyticsData:e.analyticsData})})},t.id))})]})}var Xa={partialThumbnail:`_partialThumbnail_qf0tk_1`,row:`_row_qf0tk_6`},Za=e=>(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsxs)(`div`,{className:`row ${Xa.row}`,children:[(0,K.jsxs)(`div`,{className:`col-sm-12 col-md-6`,children:[(0,K.jsx)(`div`,{className:`${Xa.partialThumbnail} partial-loading-background rounded-3`}),(0,K.jsx)(Qa,{}),(0,K.jsx)(`div`,{className:`pt-1 mw-100`,children:(0,K.jsx)(Pa,{})})]}),(0,K.jsxs)(`div`,{className:`col-sm-12 col-md-6`,children:[(0,K.jsx)(`div`,{className:`${Xa.partialThumbnail} partial-loading-background rounded-3`}),(0,K.jsx)(Qa,{}),(0,K.jsx)(`div`,{className:`pt-1 mw-100`,children:(0,K.jsx)(Pa,{})})]})]})]}),Qa=()=>(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`15rem`}})]}),$a={guidance:`_guidance_ws7gu_1`,responsiveGuidance:`_responsiveGuidance_ws7gu_5`};function eo(e){let t=e.appLinks?.videoType?.(e.video,{}),n=G.useRef(null),r={actionType:s.Click,entity:H.getAnalyticsEntity(e.video),location:m.ThumbnailFixedListMediaLargeWidget,descriptor:d.Thumbnail},i=Tt(e.video.subjectPresentationAudiences?.data,e.audiences);return(0,K.jsxs)(`div`,{className:`col-md-6`,children:[(0,K.jsx)(`div`,{ref:n,children:(0,K.jsx)(je,{analyticsData:e.analyticsData,analyticsOptions:r,video:e.video,appLink:t,imageOptions:{size:A.Medium},textPosition:Pe.Independent,type:`static`,audience:i,hideRating:!!i,commonVideoProps:{...e.commonVideoProps,subTextType:`none`}})}),(0,K.jsx)(Oe,{video:e.video,appLink:t,commonVideoProps:e.commonVideoProps}),H.showVideoGuidance(e.hasPermissions)&&(0,K.jsx)(Me,{commonVideoProps:e.commonVideoProps,video:e.video,analyticsData:e.analyticsData,analyticsOptions:r,responsiveClassName:$a.responsiveGuidance,containerClassName:`d-flex justify-content-start align-items-center pt-1 ${$a.guidance}`})]})}var to={row:`_row_1s9db_1`};function no(e){let t=P.getVideoContent(e.content);return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(`div`,{className:`row ${to.row}`,children:t.map(t=>(0,K.jsx)(eo,{video:t,...e},t.id))})]})}var ro={thumbnailTitle:`_thumbnailTitle_14phd_1`};function io(e){return(0,K.jsx)(`h3`,{title:e.title,className:`h6`,children:e.title})}function ao(e){return e.appLink?(0,K.jsx)(E,{appLink:e.appLink,className:`${ro.thumbnailTitle}`,children:(0,K.jsx)(io,{...e})}):(0,K.jsx)(io,{...e})}var oo={badge:`_badge_o3vz9_1`,mask:`_mask_o3vz9_4`,thumbnailContainer:`_thumbnailContainer_o3vz9_7`},so=`shared.collectionThumbnail`;function co(e){function t(){let t=e.collection?.videos;if(t){if(!t.count&&e.collection.typeId===B.Playlist){let n=e.collection;n.clips.count&&(t=n.clips),n.interactives.count&&(t=n.interactives)}return y.first(t.data)}}function n(){let t=0;if(e.collection.videos&&e.collection.videos.count&&(t+=e.collection.videos.count),e.collection.typeId===B.Playlist){let n=e.collection;n.interactives?.count&&(t+=n.interactives.count),n.clips?.count&&(t+=n.clips.count)}return t}function r(e){if(et.isType(e,B.Playlist))return f.Playlist;if(et.isType(e,B.Series))return f.Series}let a=t(),o=n(),c=e.title?.length||e.subText?.length,l={id:e.collection.id.toString(),name:e.collection.name,...e.analyticsData},u={actionType:s.Click,entity:r(e.collection),...e.analyticsOptions};return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`position-relative ${oo.thumbnailContainer} z-1`,children:(0,K.jsxs)(E,{appLink:e.appLink,analyticsData:l,analyticsOptions:u,preventFocus:!0,children:[e.showMask&&(0,K.jsx)(`div`,{className:`${oo.mask} position-absolute w-100 h-100 rounded-3 bg-dark bg-gradient z-1 bg-opacity-50 pointer-events-none`,children:(0,K.jsxs)(`div`,{className:`${oo.badge} d-flex align-items-center w-fit flex-grow-0 bg-dark rounded-pill ps-1 m-2`,children:[(0,K.jsx)(i,{svg:xt,className:`svg-container text-white`}),(0,K.jsx)(`p`,{className:`d-inline fw-medium text-white mb-0`,children:e.hoverText?.length?(0,K.jsx)(`span`,{children:e.hoverText}):(0,K.jsx)(D,{namespace:so,phrase:`playAll`})})]})}),a&&(0,K.jsx)(je,{video:a,imageOptions:e.imageOptions,textPosition:Pe.Independent,type:`cosmetic`,hideMask:!0,hideRating:!0,hideDuration:!0,hideVideoTypeBadge:!0}),!a&&(0,K.jsx)(`div`,{className:`ratio ratio-16x9 bg-light rounded-3`,children:(0,K.jsx)(`div`,{className:`d-flex justify-content-center align-items-center`,children:(0,K.jsx)(i,{svg:xt,className:`w-33 opacity-25 text-gray-400`})})}),e.showVideoCount&&(0,K.jsxs)(`div`,{className:`${oo.badge} d-flex align-items-center w-fit bg-dark bg-opacity-75 rounded-pill position-absolute bottom-0 end-0 ps-1 m-2`,children:[(0,K.jsx)(i,{svg:Ct,className:`svg-container text-white me-1`}),(0,K.jsx)(`p`,{className:`d-inline fw-semibold text-white mb-0`,children:e.onlyCount?(0,K.jsx)(`span`,{children:o}):(0,K.jsx)(D,{namespace:so,phrase:`videos`,options:{count:o,smartCount:o}})})]})]})}),c&&(0,K.jsxs)(`div`,{className:`mt-2 d-flex flex-column`,children:[e.subText&&(0,K.jsx)(Dt,{title:e.subText,appLink:e.subTextAppLink,children:e.subText}),e.title&&(0,K.jsx)(ao,{title:e.collection.name,appLink:e.titleAppLink})]})]})}var lo=o.encloseNamespace(`widgets.thumbnailFixedListMediaSmallWidgetTemplate`);function uo(e){let t={[B.Playlist]:lo(`playlist`),[B.Series]:lo(`series`)},n={[B.Playlist]:lo(`viewPlaylist`),[B.Series]:lo(`viewSeries`)};function r(t){if(et.isType(t,B.Playlist))return e.appLinks.playlist(t);if(et.isType(t,B.Series))return e.appLinks.series(t)}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n3`,children:e.content.map((i,a)=>{let o=r(i),s=t[i?.typeId],c=n[i?.typeId];return(0,K.jsx)(w,{as:`li`,lg:3,md:4,sm:6,xs:12,className:`mb-3 px-1`,children:(0,K.jsx)(co,{collection:i,appLink:o,analyticsOptions:{location:m.ThumbnailFixedListMediaSmallWidget},analyticsData:e.getAnalyticsData(a),title:i?.name,titleAppLink:o,imageOptions:{size:A.Medium},subText:s,subTextAppLink:o,hoverText:c,showVideoCount:!0,showMask:!0})},i.id)})})]})}var fo={subjectItem:`_subjectItem_1outb_1`};function po(e){let t=[...[,,,]];return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(I,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:e.hideDescription}),(0,K.jsx)(T,{className:`mx-n1 `,children:t.map((e,t)=>(0,K.jsx)(w,{xl:4,md:6,xs:12,className:`p-1`,children:(0,K.jsx)(`div`,{className:`${fo.subjectItem} partial-loading-background rounded-3`})},t))})]})}function mo(e,t){if(!e||!t)return;let n=t.find(t=>t.id&&t.id===e.presentationId);if(n)return n.name}function ho(e){let t={data:{name:e.item.name,description:e.item.description}};if(et.isType(e.item,B.Subject)){let n=e.item?.status===st.ComingSoon,r={...e.analyticsData,id:e.item?.id,name:e.item?.name,presentationId:e.item?.presentationId,comingSoon:!!n},i={location:m.ThumbnailFixedListSmallWidget,...e.analyticsOptions,actionType:s.Click,entity:f.Classification,descriptor:d.Thumbnail},a=e.widgetTypeId===N.SearchRelevantTopics&&mo(e.item,e.availablePresentations);return{...t,data:{...t.data,preTitle:a,backgroundColor:e.item.metadata?.backgroundColor,coverUrl:j.createUrl(e.item.cover?.url,{size:A.Small}),thumbnailUrl:j.createUrl(e.item.thumbnail?.url,{size:A.Medium})},appLink:e.appLinks?.classification?.(e.item),analyticsData:r,analyticsOptions:i}}return et.isType(e.item,B.Company)?{...t,data:{...t.data,coverUrl:j.createUrl(e.item.logo?.url,{size:A.Small}),backgroundColor:e.item.metadata?.colour},appLink:e.appLinks?.company?.(e.item),appLinkOptions:e.appLinkOptions?.company(e.item)}:t}function go(e){function t(){return[N.SearchRelevantTopics,N.SearchCompanies].includes(e.widgetTypeId)||e.widgetTypeId!==N.TrendingClassifications&&e.widgetTypeId!==N.LatestReleasedClassifications?e.content:e.content.length<6?e.content.slice(0,3):e.content}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,content:e.content,widgetTypeId:e.widgetTypeId,isPreviewing:e.isPreviewing,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:t().map((t,n)=>{let r=typeof e.getAnalyticsData==`function`?e.getAnalyticsData(n):e.analyticsData;return(0,K.jsx)(w,{as:`li`,xl:4,md:6,xs:12,className:`px-1 pb-2`,children:(0,K.jsx)(Ka,{...ho({item:t,widgetTypeId:e.widgetTypeId,appLinks:e.appLinks,analyticsData:r,availablePresentations:e.availablePresentations,appLinkOptions:e.appLinkOptions})})},t.id)})})]})}function _o(){return(0,K.jsx)(ti,{})}var vo={appLink:`_appLink_17ix5_1`,container:`_container_17ix5_5`,content:`_content_17ix5_13`,top:`_top_17ix5_20`,title:`_title_17ix5_24`,description:`_description_17ix5_33`},yo=`shared.thumbnailFixedListXLarge`;function bo(e){let t=y.first(e.content),n=j.createUrl(t.thumbnail?.url,{size:A.Medium}),r=t.metadata?.backgroundColor,i={backgroundColor:r};n&&(i.backgroundImage=`url('${n}')`);let a={...e.analyticsData,id:t.id,name:t.name,presentationId:t.presentationId},c={location:m.ClassificationListItem,actionType:s.Click,entity:f.Classification,descriptor:d.Thumbnail};return!n||!r?(0,K.jsx)(ei,{...e}):(0,K.jsx)(K.Fragment,{children:(0,K.jsx)(E,{appLink:e.appLinks?.classification?.(t),className:`text-decoration-none`,analyticsData:a,analyticsOptions:c,children:(0,K.jsx)(`div`,{className:`d-flex position-relative rounded-3 h-100 ${vo.container}`,style:i,children:(0,K.jsxs)(`div`,{className:`${vo.content}`,children:[(0,K.jsxs)(`div`,{className:`${vo.top}`,children:[(0,K.jsx)(`h2`,{className:`${vo.title} text-decoration-none h4 text-nowrap text-truncate`,children:e.name}),(0,K.jsx)(`div`,{className:`text-start ${vo.description}`,children:(0,K.jsx)(`p`,{className:`clamp-3`,children:t.description})})]}),(0,K.jsx)(`div`,{children:(0,K.jsx)(`div`,{className:`btn btn-outline-dark text-nowrap`,children:e.metadata?.cta?.text||o.getPhrase(yo,`buttonLabel`)})})]})})})})}var xo={details:`_details_yxfxk_1`},So=()=>(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:xo.details,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{style:{height:`1.5rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5625rem`,width:`15rem`}})]}),(0,K.jsx)(`div`,{className:`pt-2 mw-100`,children:(0,K.jsx)(Pa,{})})]})]}),Co={details:`_details_1kim1_1`,guidance:`_guidance_1kim1_6`,responsiveGuidance:`_responsiveGuidance_1kim1_19`,seriesTitleBox:`_seriesTitleBox_1kim1_34`};function wo(e){let t=y.first(P.getVideoContent(e.content)),n=G.useRef(null),r=Tt(t.subjectPresentationAudiences?.data,e.audiences),i=H.hasSeries(t)||P.isCompanyWidget(e.widgetTypeId),a={actionType:s.Click,entity:H.getAnalyticsEntity(t),location:m.ThumbnailHeroMediaWidget},o=e.settings?.hasTopicDirectories,{canNavigate:c}=H.getCanBeConsumed(t);return t?(0,K.jsxs)(`div`,{children:[(0,K.jsx)(W,{name:e.name,description:e.description}),(0,K.jsx)(`div`,{ref:n,children:(0,K.jsx)(je,{video:t,imageOptions:{size:A.Large},type:`static`,textPosition:Pe.Independent,analyticsOptions:a,audience:r,hideRating:!!r,appLink:e.appLinks?.videoType?.(t,{}),commonVideoProps:e.commonVideoProps})}),(0,K.jsxs)(`div`,{className:Co.details,children:[(0,K.jsxs)(`div`,{children:[H.isVideo(t)&&(0,K.jsx)(Et,{type:P.isCompanyWidget(e.widgetTypeId)?`productionCompany`:e.commonVideoProps.subTextType,video:t,appLink:e.commonVideoProps.getSubTextAppLink?.(t),analyticsOptions:a,className:`mt-2 ${Co.seriesTitleBox}`}),(0,K.jsx)(`div`,{className:i?``:`mt-2`,children:(0,K.jsx)(E,{appLink:e.appLinks?.videoType?.(t,{}),analyticsData:{id:t.id,name:t.name},analyticsOptions:{...a,descriptor:d.Title},className:`d-inline-block ${c?``:`cursor-default text-decoration-none disabled`}`,disabled:!c,children:(0,K.jsx)(Le,{video:t,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:o,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,titleSize:`h4`,className:`mb-0`})})})]}),H.showVideoGuidance(e.hasPermissions)&&(0,K.jsx)(Me,{video:t,analyticsData:e.analyticsData,analyticsOptions:a,responsiveClassName:Co.responsiveGuidance,containerClassName:`d-flex mt-2 ${Co.guidance}`,commonVideoProps:e.commonVideoProps})]})]}):(0,K.jsx)(K.Fragment,{})}function To(e){return(0,K.jsx)(We,{size:`lg`,name:e.name,description:e.description,isPreviewing:e.isPreviewing})}function Eo(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.LargeRow,contents:L.Videos,collection:e.content,childComponent:Hr,extraChildComponentProps:{commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})}function Do(e){return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Videos,collection:e.content,childComponent:Hr,extraChildComponentProps:{commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})}var Oo={rowWidth:`_rowWidth_1evaz_1`},ko=G.memo(function(e){let t=e.data?.subjectPresentationAudiences?.data,n=Tt(t,e.presentationAudiences);return(0,K.jsx)(`div`,{className:`px-1 flex-shrink-0 position-relative ${Oo.rowWidth}`,children:(0,K.jsx)(je,{video:e.data,preload:e.preloadImage,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,type:`static`,appLink:e.getAppLink(e.data),imageOptions:{size:e.thumbnailSize},textPosition:Pe.Below,audience:n,hideRating:!!n,hideDuration:!1,commonVideoProps:e.commonVideoProps})})});function Ao(e){if(H.isVideoType(e.data))return(0,K.jsx)(ko,{...e});function t(t,n){t.preventDefault(),t.stopPropagation(),rt.downloadResource(n,e.analyticsData,e.analyticsOptions)}return(0,K.jsx)(Ge,{...e,location:`dashboard`,onClickDownload:t})}function jo(e){let t=e.hasLocalPermissions(x.ViewVideoResourceItems);return(0,K.jsx)(R,{id:e.id,name:e.name,description:e.description,type:z.Row,contents:L.Videos,collection:e.content,childComponent:Ao,extraChildComponentProps:{imageErrorFallbackUrl:e.resourceThumbnailFallbackImageUrl,location:`dashboard`,titlePosition:`below`,actionBehaviour:t?`normal`:`public`,presentationAudiences:e.audiences,commonVideoProps:e.commonVideoProps,imageCdnUrl:e.commonVideoProps.imageCdnUrl},getChildAppLink:n=>H.isVideoType(n)?e.appLinks?.videoType?.(n,{}):e.appLinks?.resource?.(n,n.parentId,t),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})}function Mo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 51`,children:(0,K.jsx)(`path`,{d:`M0 .4C0 .18.18 0 .4 0h34.764a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H.4a.4.4 0 0 1-.4-.4zm14.89.1v13h20.274a.5.5 0 0 0 .5-.5V1a.5.5 0 0 0-.5-.5zM.4 37a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V38a1 1 0 0 0-1-1zm34.764 13.5H14.89v-13h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5m5.254-13.1c0-.22.18-.4.4-.4h34.764a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H40.818a.4.4 0 0 1-.4-.4zm14.891.1v13h20.273a.5.5 0 0 0 .5-.5V38a.5.5 0 0 0-.5-.5zM40.82 0a.4.4 0 0 0-.4.4v13.2c0 .22.178.4.4.4h34.763a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zm14.49.5h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H55.309zM81.236 0a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4H116a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zm14.491 13.5V.5H116a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5zM.4 18a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.49.5h20.274a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H14.89zm25.928-.5a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.491.5h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H55.309zm25.927-.5a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4H116a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.491 13.5v-13H116a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5z`,fill:`currentColor`})})}function No(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 93 44`,children:(0,K.jsx)(`path`,{d:`M.7 0a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7V.7a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.589c.665 0 1.205-.537 1.205-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM52 .7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM52 12.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM52.7 24a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7v-6.6a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.588c.666 0 1.206-.537 1.206-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM52 36.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM0 12.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7H.7a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.589c.665 0 1.205.537 1.205 1.2v.6c0 .663-.54 1.2-1.206 1.2H11.816a1.203 1.203 0 0 1-1.206-1.2zM.7 24a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7v-6.6a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.589c.665 0 1.205-.537 1.205-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM0 36.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7H.7a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.589c.665 0 1.205.537 1.205 1.2v.6c0 .663-.54 1.2-1.206 1.2H11.816a1.203 1.203 0 0 1-1.206-1.2z`,fill:`currentColor`})})}function Po(e){return(0,K.jsxs)(`svg`,{...e,viewBox:`0 0 117 32`,children:[(0,K.jsx)(`path`,{d:`M18.5967 28C19.3721 28.0003 20 28.8956 20 30C20 31.1042 19.3721 31.9997 18.5967 32H1.40332C0.628292 31.9997 9.25822e-05 31.1042 0 30C0 28.8956 0.628235 28.0003 1.40332 28H18.5967Z`}),(0,K.jsx)(`path`,{d:`M48.5967 28C49.3721 28.0002 50 28.8955 50 30C50 31.1042 49.372 31.9998 48.5967 32H31.4033C30.6282 31.9997 30 31.1042 30 30C30 28.8956 30.6282 28.0003 31.4033 28H48.5967Z`}),(0,K.jsx)(`path`,{d:`M78.5967 28C79.372 28.0002 80 28.8955 80 30C80 31.1042 79.372 31.9998 78.5967 32H61.4033C60.6282 31.9997 60 31.1042 60 30C60 28.8956 60.6282 28.0003 61.4033 28H78.5967Z`}),(0,K.jsx)(`path`,{d:`M107.596 28C108.372 28 109 28.8954 109 30C109 31.1043 108.372 32 107.596 32H90.4033C89.6283 31.9998 89 31.1042 89 30C89 28.8955 89.6283 28.0002 90.4033 28H107.596Z`}),(0,K.jsx)(`path`,{d:`M27.5 10C27.7761 10 28 10.2239 28 10.5V25.5C27.9998 25.7759 27.7761 26 27.5 26H0.5C0.223944 26 0.00013193 25.7759 0 25.5V10.5C0 10.2239 0.223862 10 0.5 10H27.5Z`}),(0,K.jsx)(`path`,{d:`M57.5 10C57.7761 10 58 10.2239 58 10.5V25.5C57.9998 25.7759 57.7761 26 57.5 26H30.5C30.2239 26 30.0002 25.7759 30 25.5V10.5C30 10.2239 30.2239 10 30.5 10H57.5Z`}),(0,K.jsx)(`path`,{d:`M86.5 10C86.7761 10 87 10.2239 87 10.5V25.5C86.9998 25.7759 86.7761 26 86.5 26H60.5C60.2239 26 60.0002 25.7759 60 25.5V10.5C60 10.2239 60.2239 10 60.5 10H86.5Z`}),(0,K.jsx)(`path`,{d:`M102.4 14.5C104.002 14.5004 105.3 15.799 105.3 17.4004C105.3 18.1875 104.984 18.8994 104.475 19.4219C104.465 19.4298 104.455 19.4375 104.446 19.4463C104.437 19.4552 104.43 19.4653 104.422 19.4746C103.899 19.9838 103.188 20.2996 102.4 20.2998C100.799 20.2998 99.5004 19.0017 99.5 17.4004C99.5 15.7988 100.799 14.5 102.4 14.5Z`}),(0,K.jsx)(`path`,{d:`M116.5 10C116.776 10 117 10.2239 117 10.5V25.5C117 25.7759 116.776 26 116.5 26H89.5C89.2239 26 89.0002 25.7759 89 25.5V10.5C89 10.2239 89.2239 10 89.5 10H116.5ZM102.4 13.5C100.246 13.5 98.5 15.2465 98.5 17.4004C98.5004 19.554 100.247 21.2998 102.4 21.2998C103.297 21.2996 104.122 20.9957 104.78 20.4873L107.047 22.7539C107.242 22.9487 107.559 22.9489 107.754 22.7539C107.949 22.5588 107.949 22.2422 107.754 22.0469L105.487 19.7803C105.996 19.1216 106.3 18.2967 106.3 17.4004C106.3 15.2467 104.554 13.5004 102.4 13.5Z`}),(0,K.jsx)(`path`,{d:`M46.5 0C47.8807 0 49 1.11929 49 2.5C48.9998 3.88059 47.8807 5 46.5 5H2.5C1.11937 5 0.000131935 3.88059 0 2.5C0 1.11929 1.11929 0 2.5 0H46.5Z`})]})}function Fo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 60`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.852a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm0 8.795C0 10.356.356 10 .795 10h26.406c.439 0 .795.356.795.795V58.99c0 .44-.356.795-.795.795H.795A.795.795 0 0 1 0 58.99zM30.41 10a.795.795 0 0 0-.796.795V58.99c0 .44.356.795.795.795h26.406c.439 0 .795-.355.795-.795V10.795a.795.795 0 0 0-.795-.795zm28.818.795c0-.439.356-.795.795-.795h26.568c.439 0 .795.356.795.795V58.99c0 .44-.356.795-.795.795H60.024a.795.795 0 0 1-.796-.795zM89.638 10a.795.795 0 0 0-.796.795V58.99c0 .44.356.795.796.795h26.567a.795.795 0 0 0 .795-.795V10.795a.795.795 0 0 0-.795-.795z`,fill:`currentColor`})})}function Io(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 50`,children:(0,K.jsx)(`path`,{d:`M2 0a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h45.852a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM.632 10a.63.63 0 0 0-.632.632v38.319c0 .349.283.632.632.632h20.994c.35 0 .633-.283.633-.633V10.633a.63.63 0 0 0-.633-.632zm22.913.632c0-.349.283-.632.632-.632h20.994c.35 0 .633.283.633.632v38.319c0 .349-.283.632-.633.632H24.178a.63.63 0 0 1-.633-.633zM47.723 10a.63.63 0 0 0-.633.632v38.319c0 .349.283.632.633.632h21.122c.35 0 .633-.283.633-.633V10.633a.63.63 0 0 0-.633-.632zm46.89.632c0-.349.283-.632.632-.632h21.123c.349 0 .632.283.632.632v38.319c0 .349-.283.632-.632.632H95.245a.63.63 0 0 1-.632-.633zM71.268 10a.63.63 0 0 0-.633.632v38.319c0 .349.283.632.633.632H92.39a.63.63 0 0 0 .632-.633V10.633A.63.63 0 0 0 92.39 10z`,fill:`currentColor`})})}function Lo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 44`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.852a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm0 8.533C0 10.239.24 10 .537 10H18.05c.296 0 .537.239.537.533v32.302c0 .295-.24.533-.537.533H.537A.535.535 0 0 1 0 42.835zM20.198 10a.535.535 0 0 0-.537.533v32.302c0 .295.24.533.537.533h17.513a.535.535 0 0 0 .537-.533V10.533A.535.535 0 0 0 37.71 10zm19.124.533c0-.294.24-.533.537-.533h17.62c.297 0 .538.239.538.533v32.302c0 .295-.241.533-.538.533H39.86a.535.535 0 0 1-.537-.533zM59.521 10a.535.535 0 0 0-.538.533v32.302c0 .295.241.533.538.533h17.62a.535.535 0 0 0 .537-.533V10.533A.535.535 0 0 0 77.14 10zm19.231.533c0-.294.24-.533.537-.533h17.513c.296 0 .537.239.537.533v32.302c0 .295-.24.533-.537.533H79.289a.535.535 0 0 1-.537-.533zM98.95 10a.535.535 0 0 0-.537.533v32.302c0 .295.24.533.537.533h17.513a.535.535 0 0 0 .537-.533V10.533a.535.535 0 0 0-.537-.533z`,fill:`currentColor`})})}function Ro(e){return(0,K.jsxs)(`svg`,{...e,viewBox:`0 0 81 31`,children:[(0,K.jsx)(`g`,{clipPath:`url(#a)`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 1.643a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1zm-11 11a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm16-21a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H40a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm-12 12a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H40a1 1 0 0 1-1-1zm18-23a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm-12 12a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H68a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1z`})}),(0,K.jsx)(`defs`,{children:(0,K.jsx)(`clipPath`,{id:`a`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 .643h81v30H0z`})})})]})}function zo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 44`,children:(0,K.jsx)(`path`,{d:`M2.762 0a2.762 2.762 0 0 0 0 5.524h49.076a2.762 2.762 0 1 0 0-5.524zM1.065 11.048A1.06 1.06 0 0 0 0 12.103v30.085a1.06 1.06 0 0 0 1.065 1.056h54.699a1.06 1.06 0 0 0 1.065-1.056V12.103a1.06 1.06 0 0 0-1.065-1.055zm61.878 0a1.657 1.657 0 1 0 0 3.314h52.4a1.657 1.657 0 0 0 0-3.314zm-1.657 8.285c0-.915.742-1.657 1.657-1.657h52.4a1.657 1.657 0 0 1 0 3.315h-52.4a1.657 1.657 0 0 1-1.657-1.658`,fill:`currentColor`})})}function Bo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 67`,children:(0,K.jsx)(`path`,{d:`M0 2.192C0 .982.981 0 2.192 0h112.616C116.019 0 117 .981 117 2.192v62.473c0 1.21-.981 2.192-2.192 2.192H2.192A2.19 2.19 0 0 1 0 64.665z`,fill:`currentColor`})})}function Vo(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(W,{name:e.name,description:e.description,badgeComponent:e.badgeComponent,appLink:e.seeMoreLink,showSeeMoreLink:!!e.seeMoreLink}),(0,K.jsx)(T,{as:`ul`,className:`list-unstyled mx-n1 mb-n1 row-gap-3`,children:e.content.map((t,n)=>(0,K.jsx)(ma,{...pa({analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,partner:t,appLink:e.appLinks.partner(t)})},n))})]})}function Ho(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 34`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M55.055.922H1.462C.654.922 0 1.588 0 2.41v29.745c0 .822.654 1.488 1.462 1.488h53.593c.807 0 1.462-.666 1.462-1.488V2.41c0-.822-.655-1.488-1.462-1.488M.975 32.155V2.41c0-.274.218-.496.487-.496h53.593c.27 0 .487.222.487.496v29.745a.49.49 0 0 1-.487.496H1.462a.49.49 0 0 1-.488-.496m10.23-14.873c2.692 0 4.873-2.22 4.873-4.957 0-2.738-2.181-4.958-4.872-4.958s-4.872 2.22-4.872 4.958 2.181 4.958 4.872 4.958m11.408-6.742c-.65 0-1.175.533-1.175 1.19v.595c0 .657.526 1.19 1.175 1.19H39.75c.649 0 1.175-.533 1.175-1.19v-.595c0-.657-.526-1.19-1.175-1.19zM7.509 22.934c-.65 0-1.175.533-1.175 1.19v.595c0 .657.526 1.19 1.175 1.19h42.473c.65 0 1.176-.533 1.176-1.19v-.595c0-.657-.527-1.19-1.176-1.19zM115.513.922H60.979c-.822 0-1.487.666-1.487 1.488v29.745c0 .822.666 1.488 1.487 1.488h54.534c.821 0 1.487-.666 1.487-1.488V2.41c0-.822-.666-1.488-1.487-1.488m-55.03 31.233V2.41c0-.274.222-.496.496-.496h54.534c.273 0 .495.222.495.496v29.745a.496.496 0 0 1-.495.496H60.979a.496.496 0 0 1-.496-.496m10.411-14.873a4.958 4.958 0 1 0 0-9.915 4.958 4.958 0 0 0 0 9.915m11.607-6.742c-.66 0-1.196.533-1.196 1.19v.595c0 .657.535 1.19 1.196 1.19H99.94c.66 0 1.196-.533 1.196-1.19v-.595c0-.657-.536-1.19-1.196-1.19zM67.132 22.934c-.66 0-1.196.533-1.196 1.19v.595c0 .657.536 1.19 1.196 1.19h43.219c.66 0 1.196-.533 1.196-1.19v-.595c0-.657-.536-1.19-1.196-1.19z`})})}function Uo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M0 2C0 .895.844 0 1.886 0h43.228C46.156 0 47 .895 47 2v1c0 1.105-.844 2-1.886 2H1.886C.844 5 0 4.105 0 3zm11.524 14.238a5.762 5.762 0 1 1-11.524 0 5.762 5.762 0 0 1 11.524 0M20.429 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m21.476-5.762a5.762 5.762 0 1 1-11.524 0 5.762 5.762 0 0 1 11.524 0M50.809 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m20.43-5.762a5.762 5.762 0 1 1-11.525 0 5.762 5.762 0 0 1 11.524 0M80.142 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m20.428-5.762a5.762 5.762 0 1 1-11.523 0 5.762 5.762 0 0 1 11.523 0M110.524 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524`,fill:`currentColor`})})}function Wo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 57`,children:(0,K.jsx)(`path`,{d:`M0 2.543A2.543 2.543 0 0 1 2.543 0H47.31a2.544 2.544 0 0 1 0 5.087H2.543A2.543 2.543 0 0 1 0 2.543m47.817 8.14c0-.281.228-.51.51-.51h20.347c.28 0 .509.229.509.51v21.365a.51.51 0 0 1-.51.508H48.327a.51.51 0 0 1-.509-.508zm-22.89-.51a.51.51 0 0 0-.51.51v21.365c0 .28.228.508.51.508h20.347a.51.51 0 0 0 .509-.508V10.683a.51.51 0 0 0-.51-.51zm69.69.51c0-.281.228-.51.51-.51h21.364a.51.51 0 0 1 .509.51v21.365a.51.51 0 0 1-.509.508H95.126a.51.51 0 0 1-.509-.508zm-22.89-.51a.51.51 0 0 0-.51.51v21.365c0 .28.228.508.51.508h20.347a.51.51 0 0 0 .509-.508V10.683a.51.51 0 0 0-.51-.51zM0 10.684c0-.281.228-.51.509-.51h21.365c.28 0 .509.229.509.51v21.365a.51.51 0 0 1-.51.508H.51A.51.51 0 0 1 0 32.048zM48.326 34.59a.51.51 0 0 0-.509.51v21.364c0 .281.228.509.51.509h20.347a.51.51 0 0 0 .509-.509V35.1a.51.51 0 0 0-.51-.509zm-23.909.51c0-.282.228-.51.51-.51h20.347c.28 0 .509.228.509.51v21.364a.51.51 0 0 1-.51.509H24.927a.51.51 0 0 1-.509-.509zM.51 34.59a.51.51 0 0 0-.509.51v21.364c0 .281.228.509.509.509h21.365a.51.51 0 0 0 .509-.509V35.1a.51.51 0 0 0-.51-.509z`,fill:`currentColor`})})}function Go(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 19`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.755a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm27.432 7H1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h26.432a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1m0 9.5H10.154v-9h17.278a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5m60.91-8.5a1 1 0 0 0-1-1h-22.37a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h22.37a1 1 0 0 0 1-1zm-1 8.5H74.124v-9h13.216a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5M60.94 9H31.462a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1H60.94a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1m0 9.5H40.617v-9H60.94a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5m55.833-8.5a1 1 0 0 0-1-1h-24.4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h24.4a1 1 0 0 0 1-1zm-1 8.5h-15.247v-9h15.247a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5`,fill:`currentColor`})})}function Ko(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 40`,children:(0,K.jsx)(`path`,{d:`M.976 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H.976C.437 12 0 11.463 0 10.8V1.2C0 .537.437 0 .976 0m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H9.911zM30.726 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2V1.2c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H39.661zM86.274 0H60.476c-.539 0-.976.537-.976 1.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2V1.2c0-.663-.437-1.2-.976-1.2m0 11.4H69.411V.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.219.6-.488.6M90.226 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H90.226c-.539 0-.976-.537-.976-1.2V1.2c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H99.161zM26.774 14H.976C.437 14 0 14.537 0 15.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H9.911V14.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.218.6-.488.6M30.726 14h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H39.661zM86.274 14H60.476c-.539 0-.976.537-.976 1.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H69.411V14.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.219.6-.488.6M90.226 14h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H90.226c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H99.161zM26.774 28H.976C.437 28 0 28.537 0 29.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H9.911V28.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.218.6-.488.6M30.726 28h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H39.661z`,fill:`currentColor`})})}function qo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 32`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h44.852a2.5 2.5 0 0 0 0-5zm46.317 31h20V11h-20zm-1-20.5a.5.5 0 0 1 .5-.5h21a.5.5 0 0 1 .5.5v21a.5.5 0 0 1-.5.5h-21a.5.5 0 0 1-.5-.5zM57.1 24.701h.136q.944 0 1.573-.246.634-.253 1.011-.697t.54-1.046q.117-.426.15-.903l-.013.014q-.375.41-.882.657a2.4 2.4 0 0 1-1.087.246q-.71 0-1.258-.267a2.64 2.64 0 0 1-.902-.738 3.3 3.3 0 0 1-.533-1.067 4.4 4.4 0 0 1-.178-1.264q0-.718.219-1.347.219-.63.636-1.107a2.86 2.86 0 0 1 1.011-.752 3.25 3.25 0 0 1 1.36-.274q.808 0 1.416.315t1.025.868q.417.553.63 1.285.21.732.211 1.572v.581q0 .883-.157 1.702a5.7 5.7 0 0 1-.513 1.511q-.348.69-.923 1.217a4 4 0 0 1-1.394.813q-.82.288-1.928.287h-.15zm3.424-5.01v.658q-.135.305-.369.551-.24.253-.56.404a1.7 1.7 0 0 1-.704.143q-.404 0-.704-.17a1.5 1.5 0 0 1-.5-.466 2.2 2.2 0 0 1-.3-.67 3.3 3.3 0 0 1-.096-.792q0-.439.103-.82.11-.39.307-.677a1.5 1.5 0 0 1 .5-.458q.3-.171.676-.171.342 0 .636.157.3.157.526.472.232.307.355.772.13.457.13 1.066M24.917 10a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zM95 10.5a.5.5 0 0 1 .5-.5h21a.5.5 0 0 1 .5.5v21a.5.5 0 0 1-.5.5h-21a.5.5 0 0 1-.5-.5zM71.717 10a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zM1 11h20v20H1zm-.5-1a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zm13.884 6.95v-.903H7.486v1.312h5.155L8.669 26h1.736z`,fill:`currentColor`})})}function Jo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 27`,children:(0,K.jsx)(`path`,{d:`M5 0a5 5 0 0 0-5 5 4 4 0 0 0 4 4h109a4 4 0 0 0 4-4 5 5 0 0 0-5-5zM0 11.5a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zm30.5-.5a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm29.5.5a.5.5 0 0 1 .5-.5h26a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-26a.5.5 0 0 1-.5-.5zm29 0a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5z`,fill:`currentColor`})})}function Yo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 19`,children:(0,K.jsx)(`path`,{d:`M2 0a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h45.755a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 9a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1zm59 1a1 1 0 0 1 1-1h25a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H61a1 1 0 0 1-1-1zM31 9a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1zm59 1a1 1 0 0 1 1-1h25a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H91a1 1 0 0 1-1-1z`,fill:`currentColor`})})}function Xo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 25`,children:(0,K.jsx)(`path`,{d:`M4.77.78h48.839a4.5 4.5 0 1 1 0 9H4.769a4.5 4.5 0 1 1 0-9M.27 16.479c0 .914.74 1.655 1.655 1.655h112.932a1.655 1.655 0 0 0 0-3.31H1.925c-.915 0-1.655.741-1.655 1.655m0 6c0-.914.74-1.655 1.655-1.655h112.932a1.655 1.655 0 0 1 0 3.31H1.925A1.655 1.655 0 0 1 .27 22.478`,fill:`currentColor`})})}function Zo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 10`,children:(0,K.jsx)(`path`,{d:`M0 .391C0 .175.38 0 .847 0h115.306c.468 0 .847.175.847.391V9.61c0 .216-.379.391-.847.391H.847C.38 10 0 9.825 0 9.609z`,fill:`currentColor`})})}function Qo(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M0 .847C0 .38.38 0 .847 0h115.306c.468 0 .847.38.847.847v19.95a.847.847 0 0 1-.847.848H.847A.847.847 0 0 1 0 20.798z`,fill:`currentColor`})})}function $o(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 12`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.143c-.29 0-.576.053-.809.16C.848.391.5.613.5 1.034v9.217c0 .42.348.643.538.731.233.107.52.16.81.16h115.305c.289 0 .576-.053.809-.16.19-.088.538-.31.538-.73V1.033c0-.42-.348-.643-.538-.73a2 2 0 0 0-.809-.161zM1.5 10.09V1.194c.079-.027.199-.051.347-.051H117.5v9H1.847c-.148 0-.268-.024-.347-.052`})})}function es(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 12`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.5c-.29 0-.576.053-.809.16C.848.75.5.972.5 1.392v9.218c0 .42.348.642.538.73.233.108.52.161.81.161h115.305c.289 0 .576-.053.809-.16.19-.089.538-.311.538-.731V1.39c0-.42-.348-.642-.538-.73a2 2 0 0 0-.809-.161zM1.5 10.448V1.552c.079-.028.199-.052.347-.052H82v9H1.847c-.148 0-.268-.024-.347-.052`})})}function ts(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 38`,children:(0,K.jsx)(`path`,{d:`M0 2.688a2.5 2.5 0 0 1 2.5-2.5h45.733a2.5 2.5 0 0 1 0 5H2.5a2.5 2.5 0 0 1-2.5-2.5m79.427 8a.5.5 0 0 1 .5-.5H116.5a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H79.927a.5.5 0 0 1-.5-.5zm-39.714 0a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H40.213a.5.5 0 0 1-.5-.5zM0 10.688a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zm.028 24.466a2 2 0 0 1 2-2h24.497a2 2 0 0 1 0 4H2.028a2 2 0 0 1-2-2m39.75 0a2 2 0 0 1 2-2h24.498a2 2 0 1 1 0 4H41.78a2 2 0 0 1-2-2m39.61 0a2 2 0 0 1 2-2h24.498a2 2 0 1 1 0 4H81.389a2 2 0 0 1-2-2`,fill:`currentColor`})})}function ns(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 32`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h44a2.5 2.5 0 0 0 0-5zm58 10a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h26a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm29 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-59 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-30 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zM0 30c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H1.404C.628 32 0 31.105 0 30m89 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H90.404C89.628 32 89 31.105 89 30m-29 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H61.404C60.628 32 60 31.105 60 30m-30 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H31.404C30.628 32 30 31.105 30 30`,fill:`currentColor`})})}function rs(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 34`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.655 0h22.932a1.655 1.655 0 0 1 0 3.31H1.656a1.655 1.655 0 0 1 0-3.31M116 10V6H1v4zM1 11a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h115a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1zm0 14.31v-11h115v11zm-1 0a1 1 0 0 0 1 1h115a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1zm3.833-9.477H2.167a.166.166 0 1 0 0 .333h1.666A.17.17 0 0 0 4 16l-.001-.02a.17.17 0 0 0-.166-.147M1 33v-4h115v4zm-1 0a1 1 0 0 0 1 1h115a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1zm3-3c.092 0 .167.076.167.167v.666h.666c.086 0 .156.064.166.147L4 31a.17.17 0 0 1-.167.167h-.666v.666a.17.17 0 0 1-.147.166L3 32a.17.17 0 0 1-.167-.167v-.666h-.666a.166.166 0 1 1 0-.334h.666v-.666c0-.092.074-.167.167-.167m.167-22.833a.166.166 0 1 0-.333 0v.666h-.667a.166.166 0 1 0 0 .333h.666v.667c0 .091.075.167.167.167l.02-.001a.17.17 0 0 0 .147-.166v-.666h.666A.17.17 0 0 0 4 8l-.001-.02a.17.17 0 0 0-.166-.147h-.666z`})})}function is(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 20`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M24.588 1.285H1.654a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31M1 7.595v11h115v-11zm0 12a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h115a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1zm113.167-10.5a.17.17 0 0 0-.167-.167.167.167 0 0 0-.167.167v.666h-.666a.167.167 0 1 0 0 .333h.666v.667c0 .091.075.167.167.167l.02-.001a.17.17 0 0 0 .147-.166v-.666h.666a.17.17 0 0 0 .167-.167l-.001-.02a.17.17 0 0 0-.166-.147h-.666zm-109.501.19c-.92 0-1.666.672-1.666 1.5 0 .829.746 1.5 1.666 1.5h52.668c.92 0 1.666-.671 1.666-1.5 0-.828-.746-1.5-1.666-1.5z`})})}function as(){return(0,K.jsxs)(`svg`,{viewBox:`0 0 117 23`,children:[(0,K.jsx)(`path`,{d:`M2.5 0C1.11929 0 0 1.11929 0 2.5C0 3.88071 1.11929 5 2.5 5H46.5C47.8807 5 49 3.88071 49 2.5C49 1.11929 47.8807 0 46.5 0H2.5Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M0 2.5C0 1.11929 1.11929 0 2.5 0H46.5C47.8807 0 49 1.11929 49 2.5C49 3.88071 47.8807 5 46.5 5H2.5C1.11929 5 0 3.88071 0 2.5Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M0 10.9334C0 10.4968 0.353937 10.1428 0.790541 10.1428H21.3446C21.7812 10.1428 22.1351 10.4968 22.1351 10.9334V22.0009C22.1351 22.4375 21.7812 22.7915 21.3446 22.7915H0.79054C0.353937 22.7915 0 22.4375 0 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M23.7162 10.9334C23.7162 10.4968 24.0702 10.1428 24.5068 10.1428H45.0608C45.4974 10.1428 45.8514 10.4968 45.8514 10.9334V22.0009C45.8514 22.4375 45.4974 22.7915 45.0608 22.7915H24.5068C24.0702 22.7915 23.7162 22.4375 23.7162 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M47.4324 10.9334C47.4324 10.4968 47.7864 10.1428 48.223 10.1428H68.777C69.2136 10.1428 69.5676 10.4968 69.5676 10.9334V22.0009C69.5676 22.4375 69.2136 22.7915 68.777 22.7915H48.223C47.7864 22.7915 47.4324 22.4375 47.4324 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M71.1487 10.9334C71.1487 10.4968 71.5026 10.1428 71.9392 10.1428H92.4933C92.9299 10.1428 93.2838 10.4968 93.2838 10.9334V22.0009C93.2838 22.4375 92.9299 22.7915 92.4933 22.7915H71.9392C71.5026 22.7915 71.1487 22.4375 71.1487 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M94.8648 10.9334C94.8648 10.4968 95.2188 10.1428 95.6554 10.1428H116.209C116.646 10.1428 117 10.4968 117 10.9334V22.0009C117 22.4375 116.646 22.7915 116.209 22.7915H95.6554C95.2188 22.7915 94.8648 22.4375 94.8648 22.0009V10.9334Z`,fill:`#D7D7D7`})]})}function os(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M.413 0C.185 0 0 .385 0 .861v20.278c0 .476.185.861.413.861h56.174c.228 0 .413-.386.413-.861V.861C57 .385 56.815 0 56.587 0zm60 0C60.185 0 60 .385 60 .861v20.278c0 .476.185.861.413.861h56.174c.228 0 .413-.386.413-.861V.861c0-.476-.185-.861-.413-.861z`,fill:`currentColor`})})}function ss(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 43`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h45.733a2.5 2.5 0 0 0 0-5zM0 11.119a1 1 0 0 1 1-1h55.498a1 1 0 0 1 1 1V41.82a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm59.502 0a1 1 0 0 1 1-1H116a1 1 0 0 1 1 1V41.82a1 1 0 0 1-1 1H60.502a1 1 0 0 1-1-1z`,fill:`currentColor`})})}function cs(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 30`,children:(0,K.jsx)(`path`,{d:`M.268 0C.12 0 0 .245 0 .548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V.548C37 .245 36.88 0 36.732 0zm40 0C40.12 0 40 .245 40 .548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V.548C77 .245 76.88 0 76.732 0zM80 .548c0-.303.12-.548.268-.548h36.464c.148 0 .268.245.268.548v12.904c0 .303-.12.548-.268.548H80.268c-.148 0-.268-.245-.268-.548zM.268 16C.12 16 0 16.245 0 16.548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V16.548c0-.303-.12-.548-.268-.548zM40 16.548c0-.303.12-.548.268-.548h36.464c.148 0 .268.245.268.548v12.904c0 .303-.12.548-.268.548H40.268c-.148 0-.268-.245-.268-.548zM80.268 16c-.148 0-.268.245-.268.548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V16.548c0-.303-.12-.548-.268-.548z`,fill:`currentColor`})})}function ls(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 24`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.5C1.103.5.5 1.103.5 1.847v19.95c0 .745.603 1.348 1.347 1.348h115.306c.744 0 1.347-.603 1.347-1.347V1.848c0-.745-.603-1.348-1.347-1.348zM1.5 1.847c0-.192.155-.347.347-.347h76.18Q78 1.666 78 1.861v20.284H1.847a.347.347 0 0 1-.347-.347z`})})}function us(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 31`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h45.733a2.5 2.5 0 0 0 0-5zm77.427 10a.5.5 0 0 0-.5.5v19.953a.5.5 0 0 0 .5.5H116.5a.5.5 0 0 0 .5-.5V10.5a.5.5 0 0 0-.5-.5zm-40.214.5a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5v19.953a.5.5 0 0 1-.5.5H40.213a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 0-.5.5v19.953a.5.5 0 0 0 .5.5h36.573a.5.5 0 0 0 .5-.5V10.5a.5.5 0 0 0-.5-.5z`,fill:`currentColor`})})}function ds(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 26`,children:(0,K.jsx)(`path`,{d:`M0 2.5A2.5 2.5 0 0 1 2.5 0h44a2.5 2.5 0 0 1 0 5h-44A2.5 2.5 0 0 1 0 2.5m60 8a.5.5 0 0 1 .5-.5h26a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-26a.5.5 0 0 1-.5-.5zm29.5-.5a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-59.5.5a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5z`,fill:`currentColor`})})}function fs(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 36`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 .5A.5.5 0 0 1 .5 0h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zM31.913 0a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31zm-1.655 7.655c0-.914.74-1.655 1.655-1.655h82.932a1.655 1.655 0 0 1 0 3.31H31.913a1.655 1.655 0 0 1-1.655-1.655m1.655 4.535a1.655 1.655 0 0 0 0 3.31h62.932a1.655 1.655 0 0 0 0-3.31zM.5 20a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm31.413 0a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31zm-1.655 7.655c0-.914.74-1.655 1.655-1.655h82.932a1.655 1.655 0 0 1 0 3.31H31.913a1.655 1.655 0 0 1-1.655-1.655m1.655 4.535a1.655 1.655 0 0 0 0 3.31h62.932a1.655 1.655 0 0 0 0-3.31z`})})}var ps={[M.ThumbnailHeroMedia]:{getComponent:()=>wo,partialLoading:So,icon:Bo,predicate:({targetType:e})=>[F.Classification,F.Discover,F.Company,F.PartnerProfile].includes(e),className:``},[M.PosterSlidingListLarge]:{getComponent:()=>zi,partialLoading:Ii,icon:Fo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.MoviesAndTv,F.Company,F.PartnerProfile].includes(e),className:``},[M.PosterSlidingListMedium]:{getComponent:()=>Ki,partialLoading:Gi,icon:Io,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.MoviesAndTv,F.Company].includes(e),className:``},[M.PosterSlidingListSmall]:{getComponent:e=>{switch(e){case N.CuratedClassifications:return Yi;case N.CuratedSeries:return Zi;default:return Yi}},partialLoading:Xi,icon:Lo,predicate:({targetType:e,widgetTypeId:t,product:n})=>{if(n===S.StreamableLearning)return!1;switch(t){case N.CuratedClassifications:return[F.Classification,F.Discover,F.MoviesAndTv].includes(e);case N.CuratedSeries:return[F.MoviesAndTv,F.Company,F.PartnerProfile].includes(e);default:return!1}},className:``},[M.ThumbnailFeaturedMedia]:{getComponent:()=>La,partialLoading:Ia,icon:zo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.PartnerProfile].includes(e),className:``},[M.CoverFixedPillListLarge]:{getComponent:()=>vt,partialLoading:Nn,icon:Mo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?[F.Classification].includes(e):[F.Classification,F.Discover].includes(e),className:``},[M.StatsCoverFixedPillListLarge]:{getComponent:()=>ka,partialLoading:wa,icon:Ro,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.ClassificationDirectory].includes(e),className:``},[M.CoverFixedPillListXSmall]:{getComponent:()=>Wn,partialLoading:Gn,icon:No,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?[F.Discover].includes(e):[F.Classification,F.Discover].includes(e),className:``},[M.CoverSlidingPillListSmall]:{getComponent:()=>nr,partialLoading:rr,icon:Go,predicate:({targetType:e,widgetTypeId:t,product:n})=>n===S.StreamableLearning?t===N.Classifications?!1:[F.Discover,F.Company,F.Classification].includes(e):[F.Classification,F.Discover,F.MoviesAndTv,F.Company].includes(e),className:``},[M.CoverFixedTileList]:{getComponent:()=>qn,partialLoading:Jn,icon:Wo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company].includes(e),className:``},[M.FeaturedThumbnailSlidingList]:{getComponent:()=>Wr,partialLoading:Gr,icon:Jo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.PartnerProfile].includes(e),className:``},[M.HeroBanner]:{getComponent:()=>ei,partialLoading:ti,icon:Qo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover].includes(e),className:``},[M.HeroBannerSmall]:{getComponent:()=>hi,partialLoading:gi,icon:Zo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.MoviesAndTv,F.PartnerProfile].includes(e),className:``},[M.HeroThumbnailSmall]:{getComponent:()=>bi,partialLoading:xi,icon:es,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.MoviesAndTv].includes(e),className:``},[M.HeroBlockColourSmall]:{getComponent:()=>_i,partialLoading:vi,icon:$o,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.ClassificationDirectory,F.ClassificationCurriculum].includes(e),className:``},[M.ThumbnailFixedListXLarge]:{getComponent:()=>bo,partialLoading:_o,icon:ls,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.MoviesAndTv].includes(e),className:``},[M.ThumbnailFixedListLarge]:{getComponent:()=>Ya,partialLoading:Ha,icon:os,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.MoviesAndTv,F.PartnerProfile].includes(e),className:``},[M.ThumbnailFixedListSmall]:{getComponent:()=>go,partialLoading:po,icon:cs,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.MoviesAndTv].includes(e),className:``},[M.EditableCoverFixedPillListSmall]:{getComponent:()=>Ar,partialLoading:Mr,icon:Ko,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Discover].includes(e),className:``},[M.Heading]:{getComponent:()=>Zr,partialLoading:Qr,icon:Xo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.ClassificationDirectory,F.Discover,F.PartnerProfile].includes(e),className:`heading-widget-template`},[M.AuthorReviewer]:{getComponent:()=>Tn,partialLoading:Dn,icon:Ho,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification].includes(e),className:``},[M.Question]:{getComponent:()=>ea,partialLoading:$i,icon:is,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification].includes(e),className:``},[M.QuestionAccordion]:{getComponent:()=>sa,partialLoading:ra,icon:rs,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification].includes(e),className:``},[M.ThumbnailFixedListMediaLarge]:{getComponent:()=>no,partialLoading:Za,icon:ss,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company].includes(e),className:``},[M.PopoutThumbnailSlidingListLarge]:{getComponent:()=>Ti,partialLoading:Ci,icon:ts,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification,F.Discover,F.Company,F.PartnerProfile,F.MoviesAndTv].includes(e),className:``},[M.PopoutThumbnailSlidingListSmall]:{getComponent:()=>Ni,partialLoading:Di,icon:ns,predicate:({targetType:e,product:t,isTopLevelClassification:n})=>t===S.StreamableLearning?[F.Discover,F.Company].includes(e):e===F.Classification?n:[F.MoviesAndTv,F.Discover,F.Company,F.PartnerProfile].includes(e),className:``},[M.FilterSlidingPillListSmall]:{getComponent:()=>Yr,partialLoading:Xr,icon:Yo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.MoviesAndTv].includes(e),className:``},[M.CircleLogoSlidingList]:{getComponent:()=>An,partialLoading:Mn,icon:Uo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?[F.Discover,F.Company].includes(e):[F.MoviesAndTv].includes(e),className:``},[M.RectangularLogoSlidingList]:{getComponent:()=>ga,partialLoading:ca,icon:as,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Discover,F.MoviesAndTv,F.Search].includes(e),className:``},[M.RectangularLogoFixedList]:{getComponent:()=>Vo,partialLoading:ca,icon:null,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Discover,F.MoviesAndTv,F.Search,F.DiscoverPartnerProfiles].includes(e),className:``},[M.EventIconSlidingList]:{getComponent:()=>Rr,partialLoading:Br,icon:qo,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?[F.Discover,F.Classification,F.Company].includes(e):[F.Discover,F.Classification].includes(e),className:``},[M.ThumbnailVerticalList]:{getComponent:()=>or,partialLoading:cr,icon:fs,predicate:({targetType:e,product:t})=>F.PartnerProfile===e?!0:t===S.StreamableLearning?[F.Company,F.Classification,F.PartnerProfile].includes(e):!1,className:``},[M.InfiniteThumbnailVerticalList]:{getComponent:()=>or,partialLoading:cr,icon:fs,displayName:`Vertical list with infinite scroll`,predicate:({targetType:e})=>F.PartnerProfile===e,className:``},[M.ThumbnailFixedListSearchCta]:{getComponent:()=>vn,partialLoading:Di,icon:Po,displayName:`Fixed List with Search CTA`,predicate:({targetType:e})=>F.PartnerProfile===e,className:``},[M.ThumbnailSlidingListSmallV2]:{getComponent:()=>jo,partialLoading:We,icon:ds,predicate:({targetType:e,product:t})=>t===S.StreamableLearning?!1:[F.Classification].includes(e),className:``},[M.CurriculumResourcesAccordion]:{getComponent:()=>xr,partialLoading:Cr,icon:null,predicate:()=>!1,className:``},[M.ThumbnailFixedListMediaSmall]:{getComponent:()=>uo,partialLoading:We,icon:null,predicate:()=>!1,className:`thumbnail-fixed-list-media-small-widget-template`},[M.ThumbnailFixedListFolderSmall]:{getComponent:()=>Ba,partialLoading:We,icon:null,predicate:()=>!1,className:``},[M.TagSlidingList]:{getComponent:()=>Ma,partialLoading:ja,icon:null,predicate:()=>!1,className:`tag-sliding-list-widget-template`},[M.CurriculumCodeSearchResults]:{getComponent:()=>sr,partialLoading:lr,icon:null,predicate:()=>!1,className:``},[M.PosterFixedListLarge]:{getComponent:()=>Li,partialLoading:Ii,icon:null,predicate:()=>!1,className:`poster-fixed-list-large-widget-template`},[M.SearchSuggestionsBlurb]:{getComponent:()=>Sa,partialLoading:_a,icon:null,predicate:()=>!1,className:``},[M.ThumbnailSlidingListSmall]:{getComponent:()=>Do,partialLoading:We,icon:ds,predicate:()=>!1,className:``},[M.ThumbnailSlidingListLarge]:{getComponent:()=>Eo,partialLoading:To,icon:us,predicate:()=>!1,className:``}},ms={anchor:`_anchor_gda43_1`,widgetHighlight:`_widgetHighlight_gda43_4`,blinker:`_blinker_gda43_1`};function hs(e,t){return P.hasNoContent(e)?!1:!!(!t||Array.isArray(t)&&!t.length)}function gs(e){let t=G.createRef(),[r,i]=G.useState([]),o=Be.isWidgetTypeEnabled(e.widgetTypeId,e?.settingsHash,e?.dashboardTarget),{ref:s,inView:c}=ot({prevent:!(e.lazyLoad??!0)}),l=o&&a.isFunction(e.getContentRequest),u=v(!!(c&&o&&e.getContentRequest)&&e.getContentRequest(e.id,e.widgetTypeId,e.templateId)),{content:d}=P.useGetContent(e.content||u.data?.content,e.widgetTypeId,e.isPreviewing,u.data?.preferences,r),f=V(),p=hs(e.widgetTypeId,d),m=!P.canDisplayOnScreenSize(f,e.widgetTypeId,e.templateId);G.useEffect(()=>{l&&!u.hasCompleted||e.setIsEmpty?.(e.id,p||m)},[u.hasCompleted,p,m,l,e.setIsEmpty]),G.useEffect(()=>{!e.isScrollToTargetWidget||!t.current||t.current.scrollIntoView({behavior:`smooth`,block:`start`})},[e.isScrollToTargetWidget,t.current]);function h(t,n){if(e.onClickRemoveItem)return i([...r,t]),e.onClickRemoveItem(t,n,e.id,e.widgetTypeId)}let g=e.appLinks?{...e.appLinks}:null;g?.videoType&&(g.videoType=(t,n)=>e.appLinks?.videoType(t,{...n,contextId:e.id,includeContext:n.includeContext}));let _={...e.analyticsData,widgetId:e.widgetTypeId,templateId:e.templateId,dashboardTarget:e?.dashboardTarget,widgetIndex:e?.widgetIndex,widgetName:e.name},y=l&&!u.hasCompleted||e.isEditing&&p,b=ps[e.templateId];if(!b||!y&&(p||m))return(0,K.jsx)(K.Fragment,{});let x=b.partialLoading,S=b.getComponent(e.widgetTypeId),ee=n(b.className,e.className),te=e.isEditing&&e.metadata.aiAddedVideo;return(0,K.jsx)(`div`,{id:e.widgetTypeId===N.ContinueWatching?`continue-watching-videos-widget`:null,ref:t,className:`curated-widget ${ee} ${e.name?`has-heading`:``} ${e.isScrollToTargetWidget?`my-n2 mx-n3`:``}`,children:(0,K.jsx)(fn,{enabled:te,children:(0,K.jsxs)(`div`,{className:e.isScrollToTargetWidget?`py-2 px-3 rounded-3 ${ms.widgetHighlight}`:``,children:[P.isWidgetInTableOfContents(e.metadata)&&(0,K.jsx)(`a`,{href:`#${e.id}`,id:`${e.id}`,className:`${ms.anchor}`,ref:t=>{t&&e.headingElementRef?.current&&e.headingElementRef.current.add(t)}}),y?(0,K.jsx)(`div`,{ref:s,children:(0,K.jsx)(x,{name:e.name,description:e.description,isPreviewing:e.isPreviewing})}):(0,K.jsx)(S,{...e,appLinks:g,content:d,preferences:u.data?.preferences,analyticsData:_,showHighlight:e.isScrollToTargetWidget,isPreviewing:e.isPreviewing,onClickRemoveItem:h})]})})})}function _s(e){let t=v(Ye.streamablePresentation());function n(){return t.hasCompleted}function r(){return e.dashboardId?[Ue.Published,Ue.Draft]:[Ue.Published]}return{dashboard:v(n()&&Vt.getDashboard(He.Any,r(),Be.getUnknownDashboardTarget({targetType:e.targetType,presentationId:t.data.id,companyId:e.companyId,classificationId:e.classificationId,slug:e.partnerProfileSlug}),null,e.dashboardId)),isPreviewing:!!e.dashboardId}}export{ii as a,Y as c,Ta as i,Fn as l,gs as n,ri as o,Ea as r,ni as s,_s as t,un as u};
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=oTYyWWB-.chunk.js.map
|