@clickview/streamable-learning 0.12.0 → 0.12.1-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/bundles.json +2 -2
- package/dist/css/{8664-streamable-learning-f0eefa4abe.chunk.css → 1067-streamable-learning-629bbd0a42.chunk.css} +1 -1
- package/dist/css/{1437-streamable-learning-e9b3e621e5.chunk.css → 1437-streamable-learning-5f51fab46d.chunk.css} +1 -1
- package/dist/css/{2568-streamable-learning-ee9378ce96.chunk.css → 4797-streamable-learning-4feb015d59.chunk.css} +4 -2
- package/dist/css/{5594-streamable-learning-82a602553e.chunk.css → 5594-streamable-learning-ffb770af33.chunk.css} +3 -3
- package/dist/css/{719-streamable-learning-f53cbbb6cc.chunk.css → 719-streamable-learning-2753997e3f.chunk.css} +1 -1
- package/dist/css/{7303-streamable-learning-b7adc6f6dc.chunk.css → 7303-streamable-learning-339eb189ee.chunk.css} +6 -6
- package/dist/css/{8069-streamable-learning-b49d0dd7a8.chunk.css → 8069-streamable-learning-37ac0f07b5.chunk.css} +1 -1
- package/dist/css/streamable-learning-6cf570b2e4.css +21 -0
- package/dist/languages/en.json +1 -1
- package/dist/scripts/1067-7f82ade4a9-streamable-learning.chunk.js +1 -0
- package/dist/scripts/1437-76d56b4d4c-streamable-learning.chunk.js +1 -0
- package/dist/scripts/1661-6f55953c13-streamable-learning.chunk.js +1 -0
- package/dist/scripts/2042-2eb4fc393d-streamable-learning.chunk.js +1 -0
- package/dist/scripts/262-1c5176a55f-streamable-learning.chunk.js +1 -0
- package/dist/scripts/2676-9799905e4b-streamable-learning.chunk.js +2 -0
- package/dist/scripts/2700-49c1bcb970-streamable-learning.chunk.js +1 -0
- package/dist/scripts/2861-0236ce939f-streamable-learning.chunk.js +1 -0
- package/dist/scripts/{2967-073ef8276e-streamable-learning.chunk.js → 2967-fc7e5dd922-streamable-learning.chunk.js} +1 -1
- package/dist/scripts/2987-151cbbceda-streamable-learning.chunk.js +1 -0
- package/dist/scripts/3093-9218f2dd9a-streamable-learning.chunk.js +1 -0
- package/dist/scripts/339-1ae03fbc50-streamable-learning.chunk.js +1 -0
- package/dist/scripts/3933-27535488c4-streamable-learning.chunk.js +1 -0
- package/dist/scripts/3958-4efeb0bebf-streamable-learning.chunk.js +1 -0
- package/dist/scripts/{4018-79febe5bcb-streamable-learning.chunk.js → 4018-168a7bb0bd-streamable-learning.chunk.js} +2 -2
- package/dist/scripts/{4254-355be6131d-streamable-learning.chunk.js → 4254-c97776bd5d-streamable-learning.chunk.js} +1 -1
- package/dist/scripts/4797-15f87e7824-streamable-learning.chunk.js +2 -0
- package/dist/scripts/487-aff6b95fc8-streamable-learning.chunk.js +1 -0
- package/dist/scripts/4959-d9342d3256-streamable-learning.chunk.js +2 -0
- package/dist/scripts/520-8734f2e0f7-streamable-learning.chunk.js +1 -0
- package/dist/scripts/5594-63024a37f0-streamable-learning.chunk.js +1 -0
- package/dist/scripts/625-1200e876e9-streamable-learning.chunk.js +1 -0
- package/dist/scripts/6533-c9404f21a3-streamable-learning.chunk.js +1 -0
- package/dist/scripts/{6909-2740b17e80-streamable-learning.chunk.js → 6909-31e9162346-streamable-learning.chunk.js} +1 -1
- package/dist/scripts/7102-76f958374d-streamable-learning.chunk.js +1 -0
- package/dist/scripts/719-ba682f08a8-streamable-learning.chunk.js +2 -0
- package/dist/scripts/7303-5265ba8daa-streamable-learning.chunk.js +2 -0
- package/dist/scripts/7545-aae090520f-streamable-learning.chunk.js +1 -0
- package/dist/scripts/7694-1e367e4f68-streamable-learning.chunk.js +2 -0
- package/dist/scripts/8069-598c1883bc-streamable-learning.chunk.js +1 -0
- package/dist/scripts/{8598-80abd9d41d-streamable-learning.chunk.js → 8598-2184349983-streamable-learning.chunk.js} +2 -2
- package/dist/scripts/9596-02a53132fb-streamable-learning.chunk.js +1 -0
- package/dist/scripts/9908-6393e6dae9-streamable-learning.chunk.js +2 -0
- package/dist/scripts/9908-6393e6dae9-streamable-learning.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/bundle-101a80372c.min.js +2 -0
- package/package.json +1 -1
- package/dist/css/streamable-learning-80de1e9260.css +0 -21
- package/dist/scripts/1437-fe853c2920-streamable-learning.chunk.js +0 -1
- package/dist/scripts/1661-c201fdd00b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2020-6022dd9225-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2206-876c57f924-streamable-learning.chunk.js +0 -2
- package/dist/scripts/2568-f15a06f42e-streamable-learning.chunk.js +0 -2
- package/dist/scripts/2700-bc11c55e61-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2861-a4788e04aa-streamable-learning.chunk.js +0 -1
- package/dist/scripts/2987-b88afe0360-streamable-learning.chunk.js +0 -1
- package/dist/scripts/339-4d308b4b85-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3933-9081df6e1b-streamable-learning.chunk.js +0 -1
- package/dist/scripts/3958-4053217e7e-streamable-learning.chunk.js +0 -1
- package/dist/scripts/487-0f5693b89a-streamable-learning.chunk.js +0 -1
- package/dist/scripts/520-a33d823ad2-streamable-learning.chunk.js +0 -1
- package/dist/scripts/5594-ef43e6cbdf-streamable-learning.chunk.js +0 -1
- package/dist/scripts/625-fa9cd15e25-streamable-learning.chunk.js +0 -1
- package/dist/scripts/6284-1854ac15da-streamable-learning.chunk.js +0 -1
- package/dist/scripts/6533-cfa299a803-streamable-learning.chunk.js +0 -1
- package/dist/scripts/719-2ae6ad3acb-streamable-learning.chunk.js +0 -2
- package/dist/scripts/7303-399f2f4d66-streamable-learning.chunk.js +0 -2
- package/dist/scripts/7545-31217597c7-streamable-learning.chunk.js +0 -1
- package/dist/scripts/7694-4affa05b0f-streamable-learning.chunk.js +0 -2
- package/dist/scripts/8069-9e470ae93e-streamable-learning.chunk.js +0 -1
- package/dist/scripts/8664-361731a4c2-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9531-32201ab9da-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9596-77a1e197d4-streamable-learning.chunk.js +0 -1
- package/dist/scripts/9908-b22183dac6-streamable-learning.chunk.js +0 -2
- package/dist/scripts/bundle-307ad2277c.min.js +0 -2
- /package/dist/scripts/{2206-876c57f924-streamable-learning.chunk.js.LICENSE.txt → 2676-9799905e4b-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2568-f15a06f42e-streamable-learning.chunk.js.LICENSE.txt → 4018-168a7bb0bd-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4018-79febe5bcb-streamable-learning.chunk.js.LICENSE.txt → 4797-15f87e7824-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{719-2ae6ad3acb-streamable-learning.chunk.js.LICENSE.txt → 4959-d9342d3256-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7303-399f2f4d66-streamable-learning.chunk.js.LICENSE.txt → 719-ba682f08a8-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7694-4affa05b0f-streamable-learning.chunk.js.LICENSE.txt → 7303-5265ba8daa-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9908-b22183dac6-streamable-learning.chunk.js.LICENSE.txt → 7694-1e367e4f68-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8598-80abd9d41d-streamable-learning.chunk.js.LICENSE.txt → 8598-2184349983-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{bundle-307ad2277c.min.js.LICENSE.txt → bundle-101a80372c.min.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 7303-399f2f4d66-streamable-learning.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[7303],{39880:(e,t,n)=>{n.d(t,{s:()=>o});var a=n(32735),i=n(57408);const r={dateItem:"I3SBm",label:"PRORs",body:"RfiM_",bodyDay:"ZOVny",bodyRange:"vYhXN",bodyMonth:"mYslO",month:"EPkkQ"};function o(e){var t,n,o;return a.createElement(i.F,{appLink:null===(t=e.getAppLink)||void 0===t?void 0:t.call(e),className:"text-decoration-none text-center bg-white text-dark border border-3 ".concat(null===(n=e.theme)||void 0===n?void 0:n.border," rounded-3 d-block fw-semibold ").concat(e.className),analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions},a.createElement("div",{className:"position-relative ".concat(r.dateItem)},a.createElement("div",{className:"".concat(null===(o=e.theme)||void 0===o?void 0:o.background," py-1 ").concat(r.label," d-flex align-items-center justify-content-center")},e.label?e.label:a.createElement(a.Fragment,null," ")),a.createElement("div",{className:"".concat(function(){switch(e.body.type){case"range":return r.bodyRange;case"day":return r.bodyDay;case"month":return r.bodyMonth}}()," ").concat(r.body," my-2")},e.body.text),a.createElement("div",{className:"mb-0 ".concat(r.month)},e.month)))}},43306:(e,t,n)=>{n.d(t,{H:()=>v});var a=n(23481),i=n(57900),r=n(65858),o=JSON.parse('{"9":{"JpZ05O1":{"name":"English","videoIds":["12293130","30361411","56866418","58438459","47329278","33204878"]},"2jDy2MG":{"name":"Health and Physical Education","videoIds":["7707302","3714120","3714278","3714173","3714263","57736366"]},"nK2le8E":{"name":"Personal Development and Health","videoIds":["8789599","60153074","3713674","15492556","3716135","53092493"]},"yKGO31z":{"name":"Business and Economics","videoIds":["47366972","3715870","18845095","36235981","53428226","51407674"]},"m0LrOj4":{"name":"Geography","videoIds":["67277770","3716182","5803343","21143528","3716292","3922246"]},"WAJk5KZ":{"name":"Earth and Environment","videoIds":["59077564","4006484","21148006","3716170","21143528","3716621"]},"v47nvEK":{"name":"History","videoIds":["3926454","3716774","3713871","3716594","3716183","3713847"]},"j03MPwr":{"name":"Legal Studies","videoIds":["3102514","1980904","1969843","3716210","3714860","2787675"]},"bbJR9Zn":{"name":"Languages","videoIds":["5449905","42463035","6820509","6027576","47076421","5455635"]},"8L21E3O":{"name":"Mathematics","videoIds":["3715870","3715019","51005229","3714949","3716177","3715365"]},"2jDy2M7":{"name":"Religion and Philosophy","videoIds":["3716229","3716171","41056701","16574869","3716175","50917953"]},"qdo988Y":{"name":"Biological Sciences","videoIds":["3714819","3716265","4683666","3715984","38041517","3779793"]},"0OPpqqo":{"name":"Chemical Sciences","videoIds":["52947827","52948049","3715160","4427422","57870424","47323862"]},"dlMrOdE":{"name":"Physical Sciences","videoIds":["11746875","3716307","39316775","6746382","6812332","6344597"]},"3koR9yA":{"name":"Psychology","videoIds":["3714373","3714891","16132648","6599207","3717591","3717555"]},"0OZyLGy":{"name":"Technologies","videoIds":["3714027","6863817","3716153","34149622","22733300","10345707"]},"0OZyLYy":{"name":"The Arts","videoIds":["3713730","3716727","3937998","32102569","3716167","32998073"]}},"12":{"v45P37g":{"name":"Expressive Arts","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"GxyLnJn":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"7PWYrDW":{"name":"Literacy and English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"eKpbY50":{"name":"Numeracy and Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"4GR8pEL":{"name":"Physical Education","videoIds":["38132665","39294835","48118056","57372274","53108623","47431467"]},"k3MlbL9":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"wLDW2LL":{"name":"Religious and Philosophical Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"nKGonKL":{"name":"Sciences","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]},"eKpbEMy":{"name":"Social Studies","videoIds":["38091407","52436848","8139170","8733988","52601783","51668932"]},"MgqLxwk":{"name":"Technologies","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]}},"13":{"GxAzY0z":{"name":"Arts","videoIds":["6412547","53550381","40919555","50977326","53108637","49858623"]},"Jpy1Edb":{"name":"Computer Science and Technology","videoIds":["39382930","40907539","48236013","48233767","48236100","3712674"]},"NqgPKaG":{"name":"English Language Arts","videoIds":["38945464","39388174","52673932","38945448","60062676","48235940"]},"bbJ74ed":{"name":"Health","videoIds":["39430062","40919434","39362080","39383081","58025600","40919494"]},"Dda6pW3":{"name":"Math","videoIds":["49532295","38943192","49532442","39382723","39388252","38944700"]},"j0a4Arj":{"name":"Physical Education","videoIds":["40919406","48235838","50652589","40919430","48236078","50652575"]},"LqG71RA":{"name":"Science","videoIds":["45248852","48235521","52318531","48235464","39383083","51731134"]},"8LnP7p8":{"name":"Social and Emotional Learning","videoIds":["39451488","48235859","39337317","40964136","42314985","39382748"]},"v4qEZDG":{"name":"Social Studies","videoIds":["51666992","39382727","41120130","56997479","57311898","39342430"]},"4Gl1DaK":{"name":"World Languages","videoIds":["40919719","40919802","40919815","40919186","40915325","49858537"]}},"14":{"2jrkdLY":{"name":"Arts","videoIds":["38916908","6412547","40919390","40919482","38817643","38817665"]},"g42EN1v":{"name":"Computer Science and Technology","videoIds":["40919434","38917550","50878197","40907190","40907208","39382881"]},"5ROzG7l":{"name":"English Language Arts","videoIds":["39387902","40912179","60062676","40916580","40919438","48234159"]},"ze5J1AE":{"name":"Health","videoIds":["39362404","39430062","51152651","40919426","40919486","48234499"]},"v4qnrzg":{"name":"Math","videoIds":["39361909","51005193","51730147","48715611","39382600","49532478"]},"1dRa6vd":{"name":"Physical Education","videoIds":["40918377","51617459","49533964","42463003","51182678","50652593"]},"KAE9Kqx":{"name":"Science","videoIds":["50877364","39438561","40907311","51735853","40908561","50878717"]},"xyLWk6w":{"name":"Social and Emotional Learning","videoIds":["40964136","53746175","48172750","48171641","50417923","50418083"]},"8Ln1GA8":{"name":"Social Studies","videoIds":["51666258","38945379","50900368","49690616","45259058","51666231"]},"DdaRGrq":{"name":"World Languages","videoIds":["40915666","40915325","42486037","40915698","40915345","48040254"]}},"15":{"yKZ43dw":{"name":"Arts","videoIds":["38817665","39999270","38808751","40911271","40911232","51581800"]},"p3y82WO":{"name":"Career and Technical Education","videoIds":["52328915","52328920","47488746","47488362","52436904","40917538"]},"KAERnwR":{"name":"Computer Science and Technology","videoIds":["40915847","40916210","51262040","39912587","51250029","58318543"]},"LqGrPwA":{"name":"English Language Arts","videoIds":["40914651","40918236","77544344","51581321","39319556","40912204"]},"8LnamD8":{"name":"Health","videoIds":["51154979","48235793","46984526","39894691","59279809","50996991"]},"Jpyo7W2":{"name":"Math","videoIds":["47595827","51730147","49532658","48715416","48234988","48715584"]},"5RO2ml5":{"name":"Physical Education","videoIds":["49533951","40918509","40918377","51655191","50652593","40908770"]},"obMre0k":{"name":"Science","videoIds":["40915159","51293454","52938790","51291516","39414759","40916620"]},"ze5d6l9":{"name":"Social and Emotional Learning","videoIds":["48171596","48171968","48171765","50418083","50418241","48235802"]},"qd17eke":{"name":"Social Studies","videoIds":["50763143","49690616","53578611","53313159","45286772","39414759"]},"KAERnDz":{"name":"World Languages","videoIds":["42486037","48234348","40919186","40919098","40918945","40915898"]}},"16":{"KAEY5GK":{"name":"Art and Design","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"6wa2YwO":{"name":"Citizenship","videoIds":["57355388","52601783","48522943","22372630","53108585","41992024"]},"R0LK746":{"name":"Computing","videoIds":["26617482","38132678","26619390","36895952","41565288","36895909"]},"9DPkNz6":{"name":"Design and Technology","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]},"2jDnan9":{"name":"Drama","videoIds":["51240522","230268","37018426","41939112","51582282","46916103"]},"E06dg2Z":{"name":"English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"8LnO2Rd":{"name":"Geography","videoIds":["67225999","3713237","4402476","50800706","51666994","48105073"]},"bbJ9Ayb":{"name":"History","videoIds":["52436848","8139170","8733988","48666851","51668932","51731292"]},"Dda4KYL":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"Ax2Jyoa":{"name":"Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"bbJ9Ap0":{"name":"Music","videoIds":["50466237","6412547","49535315","49808227","30324910","64333"]},"NqgMRWy":{"name":"Physical Education","videoIds":["38132665","39294835","48118056","57372274","53108623","47431467"]},"Yvm5eyp":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"8LnO2Je":{"name":"Religious Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"3kmoJ72":{"name":"Science","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]}},"18":{"yKP9gOD":{"name":"Civics and Citizenship","videoIds":["7735265","7735497","50679052","51452628","13106949","13107690"]},"7P6JOYb":{"name":"Economics and Business Studies","videoIds":["53428624","37455700","57355319","53428628","43961148","57966130"]},"j0jRJ1Z":{"name":"English","videoIds":["8416974","8417845","3712691","32127566","6673418","52675027"]},"nKDmYEl":{"name":"Geography","videoIds":["58600977","6980722","34591272","4402447","34597058","51437590"]},"Pk7e2GL":{"name":"Health and Physical Education","videoIds":["7593365","4170133","9900524","36875667","4669690","7593792"]},"WAe601Z":{"name":"History","videoIds":["3713735","6430651","3716829","43772092","51391809","56980377"]},"v4893Yy":{"name":"Languages","videoIds":["5449905","32345978","39623583","6820509","39255442","39254760"]},"nKDmYkl":{"name":"Mathematics","videoIds":["3713828","10749459","32102562","6689791","3713607","48278618"]},"0OeG09l":{"name":"Religion","videoIds":["8740724","8733239","8739706","8734693","8733792","33320133"]},"2jd70bp":{"name":"Science","videoIds":["3712073","36554689","3713561","3713739","7310275","3711972"]},"KAmPJqP":{"name":"Technologies","videoIds":["26619390","4131606","38132678","50720784","57230386","51181861"]},"MgOve7k":{"name":"The Arts","videoIds":["50466237","6412547","8100020","3716220","49808227","32787298"]}},"24":{"qdarDYp":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"3ko2ey4":{"name":"Citizenship","videoIds":["36220305","47575902","3716210","36103171","57771705","5270400"]},"eKnGDa0":{"name":"English","videoIds":["36191688","33204878","36395402","5758602","35997069","23851791"]},"Yv5dzw5":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"ra6m0d1":{"name":"Geography","videoIds":["74135484","9375166","5711759","16206702","3922246","48476601"]},"E0dZqyR":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"9DkAaKy":{"name":"Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"8LOYpl0":{"name":"Numeracy and Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","48091307"]},"m0d5D7r":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"g4WgD5l":{"name":"PSE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"WALeYqE":{"name":"Psychology","videoIds":["57771705","3714373","39438648","3714426","3714891","3717591"]},"eKnGDdP":{"name":"Religious, Moral and Philosophical Education","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"eKnGDdo":{"name":"Sciences","videoIds":["11746875","3779793","4558988","48139884","3713268","3716170"]},"nK2D9Oj":{"name":"Sociology","videoIds":["3716077","3714531","47207659","58441038","63984885","38146645"]},"2jDd3kx":{"name":"Technologies","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]}},"47":{"LqKNnNw":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"7PgZvEA":{"name":"Careers","videoIds":["9315247","9312222","47104083","3715120","3714944","47159767"]},"la7zdgw":{"name":"English","videoIds":["53466594","77444242","17989642","30340068","24419904","33204878"]},"wLKkMwD":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"wLKkMEp":{"name":"Geography","videoIds":["74135484","22687577","5711759","16206702","3922246","19105359"]},"OzZ6vg4":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"YvJby7P":{"name":"Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","34497285"]},"v41jLmK":{"name":"Modern Foreign Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"aPG3mRe":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"Gxp3jze":{"name":"PSHE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"qd2K0qY":{"name":"Religion","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"ob31yZ9":{"name":"Science","videoIds":["9375775","11746875","3779793","4558988","48139884","3713268"]},"nKvyqe1":{"name":"Technology","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]}}}'),l=n(46477),c=n(19808),s=n(65728),d={CreatePlaylist:function(e){return!(e.hasPlaylist||e.preferredPresentation&&!o[e.preferredPresentation.id])}},u=a.T.encloseNamespace("onboarding.constants"),m="show-subjects-summary",p="show-job-title-to-trial-user",v={"welcome-video":{id:"welcome-video",predicate:function(e){return!!l.m.shouldRedirectToOnboarding(e.masterUser,e.hasPermissions)&&e.instanceRegion===c.b.US},setting:s.E.HasCompletedOnboardingStepWelcomeVideo,analyticsLocation:r.LZ.OnboardingWelcomeVideoScreen,includeInProgressBar:function(){return!1},getWidgetHeading:function(){return u("selectRoleHeading")},getWidgetDescription:function(){return u("selectRoleMessage")}},"select-role":{id:"select-role",predicate:function(e){return!l.m.hasNonBdmTrial(e.hasPermissions)||(e.jobTitle?"boolean"==typeof i.SG.get(p)?i.SG.get(p):(i.SG.set(p,!1),!1):("boolean"!=typeof i.SG.get(p)&&i.SG.set(p,!0),!0))},setting:s.E.HasCompletedOnboardingStepSelectRole,analyticsLocation:r.LZ.OnboardingSelectRoleScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return u("selectRoleHeading")},getWidgetDescription:function(){return u("selectRoleMessage")}},"usage-intention":{id:"usage-intention",predicate:function(){return!0},setting:s.E.HasCompletedOnboardingStepUsageIntention,analyticsLocation:r.LZ.OnboardingUsageIntentionScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return u("usageIntentionHeading")},getWidgetDescription:function(){return u("usageIntentionMessage")}},"subjects-summary":{id:"subjects-summary",predicate:function(e){return"boolean"==typeof i.SG.cacheGet(m)||i.SG.cacheSet(m,!l.m.shouldRedirectToOnboarding(e.masterUser,e.hasPermissions)&&!!(null===(t=e.preferredSubjects)||void 0===t?void 0:t.length),604800),i.SG.cacheGet(m);var t},setting:s.E.HasCompletedOnboardingStepSubjectsSummary,analyticsLocation:r.LZ.OnboardingSubjectsSummaryScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return u("subjectsHeading")},getWidgetDescription:function(){return u("subjectsMessage")},branches:["school-level","subjects","select-curriculum"]},"school-level":{id:"school-level",predicate:function(e){var t;return!(v["subjects-summary"].predicate(e)||(null===(t=e.presentations)||void 0===t?void 0:t.length)<2)},setting:s.E.HasCompletedOnboardingStepSchoolLevel,analyticsLocation:r.LZ.OnboardingSchoolLevelScreen,includeInProgressBar:function(e){return!v["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return u(e?"schoolLevelHeadingKdm":"schoolLevelHeading")},getWidgetDescription:function(e){return u(e?"schoolLevelMessageKdm":"schoolLevelMessage")}},"select-curriculum":{id:"select-curriculum",predicate:function(e){var t;return!(v["subjects-summary"].predicate(e)||(null===(t=e.curriculums)||void 0===t?void 0:t.length)<2)},setting:s.E.HasCompletedOnboardingStepSelectCurriculum,analyticsLocation:r.LZ.OnboardingSelectCurriculumScreen,includeInProgressBar:function(e){return!v["subjects-summary"].predicate(e)},getWidgetHeading:function(){return u("selectCurriculumHeading")},getWidgetDescription:function(){return u("selectCurriculumMessage")}},subjects:{id:"subjects",predicate:function(e){return!(v["subjects-summary"].predicate(e)||e.preferredPresentation&&!o[e.preferredPresentation.id])},setting:s.E.HasCompletedOnboardingStepSubjects,analyticsLocation:r.LZ.OnboardingSubjectsScreen,includeInProgressBar:function(e){return!v["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return u(e?"subjectsHeadingKdm":"subjectsHeading")},getWidgetDescription:function(){return u("subjectsMessage")}},"select-videos":{id:"select-videos",predicate:d.CreatePlaylist,setting:s.E.HasCompletedOnboardingStepSelectVideos,analyticsLocation:r.LZ.OnboardingSelectVideosScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return u("selectVideosHeading")},getWidgetDescription:function(e){return u(e?"selectVideosMessageKdm":"selectVideosMessage")}},"create-playlist":{id:"create-playlist",predicate:d.CreatePlaylist,setting:s.E.HasCompletedOnboardingStepCreatePlaylist,analyticsLocation:r.LZ.OnboardingCreatePlaylistScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return u("createPlaylistHeading")},getWidgetDescription:function(){return u("createPlaylistMessage")}}}},46477:(e,t,n)=>{n.d(t,{m:()=>m});var a=n(57900),i=n(75896),r=n(43306),o=n(16714),l=n(64818);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var s="onboarding:persona",d="onboarding:usage:intention",u="onboarding:had:job:title",m={getOnboardingPathway:function(e){var t=e.jobTitle,n=e.userSettings,a=e.presentations,i=e.curriculums,o=e.preferredPresentation,c=e.preferredSubjects,s=e.hasPlaylist,d=e.appLink,u=e.appLinks,p=e.masterUser,v=e.currentUser,g=e.hasPermissions,f=m.getPersona();!f&&t&&m.updatePersona(t),f&&f!==l.l.getPersonaFromJobTitle(t)&&m.updatePersona(t);var y={jobTitle:t,hasPlaylist:s,masterUser:p,presentations:a||[],curriculums:i||[],preferredPresentation:o,preferredSubjects:c,instanceRegion:null==v?void 0:v.instanceRegion,hasPermissions:g},h=m.getCurrentScreen(d,u),b=Object.values(r.H),E={},k=null,L=null,w=0,S=0,C=!0;return b.forEach((function(e){var t;if(e.predicate(y)){L||(L=e.id);var a=function(e,t){var n;return null===(n=null==e?void 0:e[t])||void 0===n?void 0:n.value}(n,e.setting);a||(C=!1),h||a||(h=e.id),w++,E[e.id]={isComplete:a,next:null,previous:k,number:w,includeInProgressBar:!1},e.includeInProgressBar(y)&&(S++,E[e.id].progressBarNumber=S,E[e.id].includeInProgressBar=!0),(null===(t=e.branches)||void 0===t?void 0:t.length)&&e.branches.forEach((function(t){E[t]={next:e.id,previous:e.id,includeInProgressBar:!1}})),k&&(E[k].next=e.id),k=e.id}})),h||C||(h=L),{screens:E,currentScreen:h,totalScreens:w,totalScreensInProgressBar:S,hasCompletedAllSteps:C}},getNextAppLink:function(e,t){var n=e.screens[e.currentScreen],a=null==n?void 0:n.next;return a?t[a]:null},getPreviousAppLink:function(e,t){var n=e.screens[e.currentScreen],a=null==n?void 0:n.previous;return a?t[a]:null},getCurrentScreen:function(e,t){var n=Object.entries(t).find((function(t){return(n=t,a=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(n,a)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(n,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1].action===e.action;var n,a}));return n?i.m.first(n):null},getPersona:function(){return a.SG.get(s)},updatePersona:function(e){var t=l.l.getPersonaFromJobTitle(e);a.SG.set(s,t||"teacher")},getUsageIntention:function(){return a.SG.get(d)},updateUsageIntention:function(e){a.SG.set(d,e)},removeUsageIntention:function(){a.SG.remove(d)},getProgress:function(e){var t,n,a,i=null===(t=e.screens[e.currentScreen])||void 0===t?void 0:t.number,r=null===(n=e.screens[e.currentScreen])||void 0===n?void 0:n.progressBarNumber,o=e.totalScreens,l=e.totalScreensInProgressBar,c=r/l*100,s=(i-1)/o*100;return{showProgressBar:null===(a=e.screens[e.currentScreen])||void 0===a?void 0:a.includeInProgressBar,currentStepNumber:i,currentStepProgressBarNumber:r,totalScreens:o,totalScreensInProgressBar:l,progressBarPercentage:c,overallPercentage:s}},hasNonBdmTrial:function(e){return e(o.C.ViewTrialUpgrade)},getOnboardingScreenStates:function(e){var t=[],n=[];return Object.keys(e.screens).forEach((function(a){e.screens[a].isComplete?t.push(a):n.push(a)})),{completedScreens:t,incompleteScreens:n}},shouldRedirectToOnboarding:function(e,t){var n,i;return(null==e?void 0:e.dateCreated)>="2024-03-26"||!!m.hasNonBdmTrial(t)&&("boolean"!=typeof a.SG.get(u)&&a.SG.set(u,!!(null===(i=null===(n=null==e?void 0:e.userProfile)||void 0===n?void 0:n.metadata)||void 0===i?void 0:i.jobTitle)),!a.SG.get(u))}}},10731:(e,t,n)=>{n.d(t,{V:()=>r});var a=n(32735);const i={emoji:"d86p2"};function r(e){return a.createElement(a.Fragment,null,a.createElement("span",{className:i.emoji},e.emoji),e.children)}},56097:(e,t,n)=>{n.d(t,{$:()=>b});var a=n(32735),i=n(16367),r=n(57900),o=n(2948),l=n(92582),c=n(65858),s=n(11607),d=n(83914),u=n(10038),m=n(52108),p=n(35223);const v={question:"r4X_X",partialQuestion:"aE9qQ",description:"dVLkj"};function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var y="1.2rem",h=500;function b(e){var t=g((0,o.D)("should:expand:".concat(e.id),e.isBot,{storage:r.Z1.LocalStorage}),2),n=t[0],f=t[1],b=g(a.useState(n?"100%":y),2),E=b[0],k=b[1],L=g(a.useState(!n),2),w=L[0],S=L[1],C=g(a.useState(i(e.answer,{renderer:m.M.getSeoWidgetRenderer()})),2),O=C[0],T=C[1],x=a.useRef(null),N=a.useRef(null),I=a.useRef(null);function j(){k(y),f(!1),x.current=window.setTimeout((function(){S(!0)}),h)}return a.useEffect((function(){var t=i(e.answer||"",{renderer:m.M.getSeoWidgetRenderer()});O!==t&&(O&&n&&j(),T(t))}),[e.answer]),a.useEffect((function(){"100%"===E&&I.current&&k(I.current.clientHeight+"px")}),[E]),(0,u.H)((function(){n&&j()}),null,[n]),e.question&&O?a.createElement(s.L,{className:"".concat(v.question," rounded-3"),onClick:function(t){var a;m.M.isLink(t.target)||0===window.getSelection().toString().length&&(l.k.logUserAction(Object.assign(Object.assign({},e.analyticsData),{question:e.question,answer:e.answer}),Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Faq,actionType:c.Vw.Click,descriptor:n?c._S.Collapse:c._S.Expand,location:c.LZ.FaqQuestionWidget})),n?j():((a=document.createElement("p")).innerHTML=O,a.style.visibility="hidden",N.current.appendChild(a),k("".concat(a.clientHeight,"px")),N.current.removeChild(a),f(!0),window.clearTimeout(x.current),S(!1)))}},a.createElement("div",{className:"pb-2"},a.createElement("div",{className:"float-end rounded-circle bg-white"},a.createElement(d.x,{svgName:n?p.vn.Minus:p.vn.Plus})),a.createElement("h2",{className:"h4 mb-0 clear-end"},e.question)),a.createElement("div",{className:v.description,style:{height:E}},a.createElement("p",{className:"mb-0 ".concat(w?"clamp-1":""),dangerouslySetInnerHTML:{__html:O},ref:I}),a.createElement("div",{ref:N}))):a.createElement(a.Fragment,null)}},23201:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(32735),i=n(92802),r=n(2102),o=n(83345),l=n(33936),c="shared.formButtons";function s(e){var t=(0,i.u6)(),n=(0,l.l)(t);return a.createElement(r.m,{variant:e.variant||"primary",type:"submit",disabled:!n,size:e.size,className:e.className?e.className:"",showSpinner:t.isSubmitting},e.submitText?a.createElement(a.Fragment,null,e.submitText):a.createElement(o.x,{namespace:c,phrase:e.isNew?"create":"save"}))}},1269:(e,t,n)=>{n.d(t,{n:()=>k,W:()=>L});var a=n(32735),i=n(80247),r=n(50132),o=n(92802),l=n(91967),c=n(1048),s=n(57408),d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function u(e){var t=e.label,n=e.checkboxLabelClassName,i=e.checkboxLabelFontWeight,o=e.className,l=d(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return a.createElement(r.Z.Group,{className:"form-group"},a.createElement("div",{className:"form-check ".concat(o||"")},a.createElement(k,Object.assign({className:"form-check-input"},l)),a.createElement(r.Z.Label,{className:"form-check-label cursor-pointer ".concat("normal"===i?"fw-normal":""," \n ").concat(n),htmlFor:l.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&a.createElement(a.Fragment,null,a.createElement("span",null," "),a.createElement(s.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var m=n(83914),p=n(83345),v={getCustomFormControlClassName:function(e,t,n,a,i,r){var l="";return l=function(e,t){var n="";return n="select"===e?"form-select":"form-control","sm"===t&&(n+=" ".concat(n,"-sm")),"lg"===t&&(n+=" ".concat(n,"-lg")),n}(r,a),(0,o.u9)(t,n)&&(0,o.u9)(e,n)&&(l+=" is-invalid"),i&&(l+=" ".concat(i)),l}},g=n(35223);function f(e){var t=(0,o.u6)().values[e.fieldName];return"string"!=typeof t?a.createElement(a.Fragment,null):a.createElement("div",{className:"float-end text-secondary fw-normal"},t.length,"/",e.limit," characters")}const y={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG",spinner:"CycFx"};function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n},E="shared.formField";function k(e){var t,n,r=e.children,s=e.showLoadingSpinner,d=b(e,["children","showLoadingSpinner"]),u=(t=a.useState(e.type),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=u[0],v=u[1],f=l.q.isFunction(r)?function(e){return r(e)}:a.Children.count(r)?r:null;if("password"!==d.type)return s?a.createElement("div",{className:"position-relative"},a.createElement(o.gN,Object.assign({},c.t.omit(d,["formSize"])),f),a.createElement("div",{className:y.spinner},a.createElement(i.Z,{animation:"border",size:"sm"}))):a.createElement(o.gN,Object.assign({},c.t.omit(d,["formSize"])),f);var E="position-relative ".concat(y.passwordContainer);return d.className&&(E+=" ".concat(d.className)),d.disabled&&(E+=" ".concat(y.passwordContainerDisabled)),a.createElement("div",{className:E},a.createElement(o.gN,Object.assign({},c.t.omit(d,["formSize","type","className"]),{type:p,className:"".concat(y.passwordInput," border-0 w-100 h-100 outline-none rounded")}),f),"password"===d.type&&a.createElement(m.x,{svgName:"password"===p?g.vn.VisibleOn:g.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(y.revealPassword),onClick:function(){v("password"===p?"text":"password")}}))}function L(e){var t=e.label,n=e.className,i=e.showCharacterCounter,l=e.showRequiredStar,s=e.infoTooltip,d=e.infoTooltipPlacement,h=e.infoText,L=e.formSize,w=e.showOptionalLabel,S=b(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),C=(0,o.u6)(),O=C.errors,T=C.touched,x=function(){};if("checkbox"===S.type){var N=c.t.omit(e,["formSize","infoTooltipPlacement"]);return e.disabled&&(N.onChange=x),a.createElement(u,Object.assign({},N))}var I=Object.assign(Object.assign({},S),{className:v.getCustomFormControlClassName(O,T,S.name,L,n,"string"==typeof e.as?e.as:null)});return e.disabled&&(I.onChange=x),a.createElement(r.Z.Group,{className:"form-group"},!!t&&a.createElement(r.Z.Label,{htmlFor:S.id,className:"d-flex align-items-center"},t,l&&a.createElement("span",{className:"text-danger"},"*"),s&&a.createElement(m.x,{className:"svg-container text-secondary ".concat(y.infoTooltip),svgName:g.vn.Info,title:s,tooltipPlacement:d,tooltipSpanHack:!0}),w&&a.createElement("span",{className:"text-secondary"}," ",a.createElement(p.x,{namespace:E,phrase:"optional"})),!!i&&!!S.maxLength&&a.createElement("div",{className:"ms-auto"},a.createElement(f,{fieldName:S.name,limit:S.maxLength}))),a.createElement(k,Object.assign({},I)),!!h&&a.createElement(r.Z.Text,{className:"text-secondary"},h),a.createElement(o.Bc,{name:S.name},(function(e){return a.createElement(r.Z.Control.Feedback,{type:"invalid"},e)})))}k.defaultProps={autoComplete:"off"},L.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,n)=>{n.d(t,{b:()=>d,n:()=>s});var a=n(32735),i=n(92802),r=n(91967),o=n(1048);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function s(e){var t=e.castInitialValues,n=e.castValuesOnSubmit,s=e.initialValues,d=e.onSubmit,u=c(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),m=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=o.t.deepClone(e);return function e(n){Object.keys(t).forEach((function(a){t.hasOwnProperty(a)&&(o.t.isObject(n[a])?e(n[a]):null===t[a]&&delete t[a])}))}(t),t}(s)):s,p={allowInitialSubmit:e.allowInitialSubmit};return a.createElement(i.J9,Object.assign({enableReinitialize:!0},u,{initialValues:m,onSubmit:function(t,a){var i=a.setSubmitting,r=a.resetForm,o=a.setFieldError,c=n&&e.validationSchema?e.validationSchema.cast(t):t;d(c,(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.reset&&r(),n.errors)for(var a=0,c=Object.entries(n.errors);a<c.length;a++){var s=(e=c[a],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=s[0],u=s[1];o(d,u)}i(!1)}))},initialStatus:p}),r.q.isFunction(e.children)?function(t){return e.children(t)}:a.Children.count(e.children)?e.children:null)}function d(){return(0,i.u6)()}s.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},71471:(e,t,n)=>{n.d(t,{S:()=>s});var a=n(32735),i=n(68050),r=n(69111),o=n(9977),l=n(79967);const c={partialOptions:"Gufgq",partialName:"SicQQ",partialDescription:"dPGMq",partialThumbnail:"vZrnb",partialDragHandle:"iq73R"};function s(e){return a.createElement("div",{className:"mx-2"},Array(e.numVideos).fill(null).map((function(t,n){return a.createElement("div",{className:"d-flex",key:n},e.allowBulkActions&&a.createElement("div",{className:"form-check pe-3 pe-sm-2 mx-0 mx-md-2"}),a.createElement(d,Object.assign({},e)))})))}function d(e){var t=(0,l.k)(),n="sm"===o.O.getSize(t,"md"),s=e.withReordering&&!t.xs;return a.createElement(i.Z,{className:"".concat(n?"":"py-2"," flex-grow-1")},a.createElement(r.Z,Object.assign({},o.O.getThumbnailColumns(),{className:"flex-column align-items-flex-start ".concat(n?"pb-2 pe-1":"mb-1 pe-3 pe-md-2")}),a.createElement(i.Z,null,!!s&&a.createElement("div",{className:"d-flex align-items-center justify-content-center col-2"},a.createElement("div",{className:"partial-loading-background ".concat(c.partialDragHandle)})),a.createElement(r.Z,{xs:o.O.getThumbnailColSize(s)},a.createElement("div",{className:"partial-loading-background ".concat(n?"rounded":"rounded-3"," ").concat(c.partialThumbnail)})))),a.createElement(r.Z,Object.assign({},o.O.getDetailsColumns(),{className:n?"pb-2":"px-2"}),a.createElement("div",{className:"partial-loading-background mb-1 ".concat(c.partialName)}),a.createElement("div",{className:"partial-loading-background ".concat(c.partialDescription)})))}s.defaultProps={numVideos:15}},81326:(e,t,n)=>{n.d(t,{L:()=>vi});var a=n(32735),i=n(91967),r=n(20354),o=n(110),l=n(92582),c=n(65858),s=n(83914),d=n(83345),u=n(54610),m=n(12778),p=n(67453),v=n(35223);const g={card:"TTPKV",avatar:"nF3tK",time:"lwnZl"};var f="shared.authorReviewerWidgetTemplate",y="MMMM D, YYYY";function h(e){if(!e.person)return a.createElement(a.Fragment,null);var t="".concat(g.card," h-100 rounded-2 d-flex flex-column"),n=m.o.getAuthorBlogUrl(e.person.blogSlug);return n?a.createElement("a",{href:n,target:"_blank",className:"".concat(t," no-decoration"),onClick:function(){l.k.logUserAction({id:e.person.id,firstName:e.person.firstName,lastName:e.person.lastName,imageId:e.person.imageId,blogUrl:n},{entity:c.py.Author,location:c.LZ.AuthorReviewerWidget,actionType:c.Vw.Click})}},e.children):a.createElement("div",{className:t},e.children)}function b(e){return e.person?a.createElement(h,{person:e.person},a.createElement("div",{className:"d-flex mb-2"},a.createElement("div",{className:"".concat(g.avatar," rounded-circle me-2 overflow-hidden")},a.createElement("img",{className:"img-fluid",src:p.j.getUrlById(e.imageCdnUrl,u.__.Avatars,e.person.imageId,u.h2.Small),alt:"".concat(e.person.firstName," ").concat(e.person.lastName)})),a.createElement("div",null,a.createElement("h2",{className:"h6 mb-0 fw-normal"},a.createElement(s.x,{className:"align-middle svg-container d-inline-block",svgName:"reviewer"===e.type?v.vn.Verified:v.vn.Edit}),"reviewer"===e.type?a.createElement("span",{className:"align-middle"},a.createElement(d.x,{namespace:f,phrase:"reviewedBy"})," ",e.person.firstName," ",e.person.lastName):a.createElement("span",{className:"align-middle"},a.createElement(d.x,{namespace:f,phrase:"authoredBy"})," ",e.person.firstName," ",e.person.lastName)),a.createElement("div",null,e.person.title))),a.createElement("p",{className:"mb-2 flex-grow-1"},e.person.bio),a.createElement("div",{className:g.time},"reviewer"===e.type?a.createElement(a.Fragment,null,a.createElement(d.x,{namespace:f,phrase:"reviewed",options:{date:o.O.format(e.datePublished,y)}})):a.createElement(a.Fragment,null,a.createElement(d.x,{namespace:f,phrase:"published",options:{date:o.O.format(e.datePublished,y)}})," • ",a.createElement(d.x,{namespace:f,phrase:"lastUpdated",options:{date:o.O.format(e.lastUpdated,y)}})))):a.createElement(a.Fragment,null)}function E(e){var t=e.content[0],n=t.reviewer,i=t.author,r=t.lastUpdated,o=t.datePublished;return i&&n?a.createElement("div",{className:"row mb-n3"},a.createElement("div",{className:"col-12 col-md-6 mb-3"},a.createElement(b,{type:"author",person:i,imageCdnUrl:e.imageCdnUrl,datePublished:o,lastUpdated:r})),a.createElement("div",{className:"col-12 col-md-6 mb-3"},a.createElement(b,{type:"reviewer",person:n,imageCdnUrl:e.imageCdnUrl,datePublished:o,lastUpdated:r}))):a.createElement(a.Fragment,null)}function k(){return a.createElement("div",{className:"".concat(g.card," rounded-2")},a.createElement("div",{className:"d-flex mb-2"},a.createElement("div",{className:"partial-loading-background rounded-circle me-2 ".concat(g.avatar)}),a.createElement("div",{className:"w-75"},a.createElement("div",{className:"partial-loading-background mb-1",style:{width:"90%",height:"21px"}}),a.createElement("div",{className:"partial-loading-background",style:{width:"65%",height:"1rem"}}))),a.createElement("div",null,a.createElement("div",{className:"partial-loading-background mb-1",style:{width:"100%",height:"1rem"}}),a.createElement("div",{className:"partial-loading-background mb-1",style:{width:"75%",height:"1rem"}})),a.createElement("div",{className:"partial-loading-background",style:{width:"50%",height:"1rem"}}))}var L=n(5281),w=n(57408),S=n(7733),C=n(9085);var O=function(e){var t,n,i,r=p.j.createUrl(null===(t=e.data.logo)||void 0===t?void 0:t.url,{size:u.h2.Medium}),o=(0,C.x)(e.data.name,S.o),l=Object.assign(Object.assign({},e.analyticsData),{id:null===(n=e.data)||void 0===n?void 0:n.id,name:null===(i=e.data)||void 0===i?void 0:i.name}),s=Object.assign(Object.assign({},e.analyticsOptions),{location:c.LZ.CircleLogoSlidingListWidget,actionType:c.Vw.Click,entity:c.py.Company});return a.createElement(w.F,{appLink:e.getAppLink(e.data),className:"position-relative px-1 flex-shrink-0 ".concat("z6iYz"),analyticsData:l,analyticsOptions:s},a.createElement("div",{className:"rounded-circle w-100 h-100 ".concat("vt0gx"," ").concat(o),style:{backgroundImage:"url(".concat(r,")")}}))},T=n(58704),x=n(26154);function N(e){var t;return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.Companies,collection:e.content,childComponent:O,extraChildComponentProps:{imageCdnUrl:e.imageCdnUrl},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,getChildAppLink:null===(t=e.appLinks)||void 0===t?void 0:t.company})}var I=n(55827),j=n(79967);var D=n(47770),P=n(68050),A=n(69111),M=n(9513),F=n(92802),R=n(23481),V=n(10731),H=n(23201),B=n(1269),_=n(82644),W=n(63855),G=n(69883),z=n(5173),U=z.Ry().shape({feedbackInput:z.Z_().max(5e3,(function(){return R.T.getPhrase("shared.feedbackForm","tooLong")}))});const Z={promptContainer:"A_kCD",text:"UFm9h",form:"na9Vb"};function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function q(){q=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function d(e,t,n,a){var r=t&&t.prototype instanceof y?t:y,o=Object.create(r.prototype),l=new I(a||[]);return i(o,"_invoke",{value:O(e,n,l)}),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var m="suspendedStart",p="suspendedYield",v="executing",g="completed",f={};function y(){}function h(){}function b(){}var E={};s(E,o,(function(){return this}));var k=Object.getPrototypeOf,L=k&&k(k(j([])));L&&L!==n&&a.call(L,o)&&(E=L);var w=b.prototype=y.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,r,o,l){var c=u(e[i],e,r);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==Y(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,l)}),(function(e){n("throw",e,o,l)})):t.resolve(d).then((function(e){s.value=e,o(s)}),(function(e){return n("throw",e,o,l)}))}l(c.arg)}var r;i(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,i){n(e,a,t,i)}))}return r=r?r.then(i,i):i()}})}function O(t,n,a){var i=m;return function(r,o){if(i===v)throw Error("Generator is already running");if(i===g){if("throw"===r)throw o;return{value:e,done:!0}}for(a.method=r,a.arg=o;;){var l=a.delegate;if(l){var c=T(l,a);if(c){if(c===f)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===m)throw i=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=v;var s=u(t,n,a);if("normal"===s.type){if(i=a.done?g:p,s.arg===f)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(i=g,a.method="throw",a.arg=s.arg)}}}function T(t,n){var a=n.method,i=t.iterator[a];if(i===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),f;var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(Y(t)+" is not iterable")}return h.prototype=b,i(w,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:h,configurable:!0}),h.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},S(C.prototype),s(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,a,i,r){void 0===r&&(r=Promise);var o=new C(d(e,n,a,i),r);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(w),s(w,c,"Generator"),s(w,o,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=j,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(a,i){return l.type="throw",l.arg=t,n.next=a,i&&(n.method="next",n.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var i=a.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:j(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),f}},t}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var J=function(e,t,n,a){return new(n||(n=Promise))((function(i,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function l(e){try{c(a.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}c((a=a.apply(e,t||[])).next())}))},Q="shared.feedbackForm";function $(e){var t,n,r=(t=a.useState("prompt"),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return K(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],l=r[1],c=(0,G.Z)();function s(t,n){return J(this,void 0,void 0,q().mark((function a(){return q().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.onSubmit({content:t.feedbackInput,type:"yes"===o?"positive":"negative"});case 3:l("done"),a.next=10;break;case 6:a.prev=6,a.t0=a.catch(0),l("prompt"),c.error(R.T.getPhrase(Q,"error"));case 10:return a.prev=10,n({reset:!0}),a.finish(10);case 13:case"end":return a.stop()}}),a,null,[[0,6,10,13]])})))}return i.q.isFunction(e.onSubmit)?"prompt"===o?a.createElement("div",{className:Z.promptContainer},a.createElement("p",{className:"fw-semibold me-2 ".concat(Z.text)},a.createElement(V.V,{emoji:"🔎"},a.createElement(d.x,{namespace:Q,phrase:"feedbackQuestion"}))),a.createElement("div",{className:"d-flex align-items-center"},a.createElement(W.h,{className:"btn btn-outline-dark me-2",onClick:function(){l("yes")},svgName:v.vn.ThumbsUp},a.createElement(d.x,{namespace:Q,phrase:"yes"})),a.createElement(W.h,{className:"btn btn-outline-dark",onClick:function(){l("no")},svgName:v.vn.ThumbsDown},a.createElement(d.x,{namespace:Q,phrase:"no"})))):"yes"===o?a.createElement(_.n,{onSubmit:s,initialValues:{feedbackInput:""},validationSchema:U},a.createElement(F.l0,{className:Z.form},a.createElement("p",{className:"fw-semibold ".concat(Z.text)},a.createElement(V.V,{emoji:"👏"},a.createElement(d.x,{namespace:Q,phrase:"happyFeedback"}))),a.createElement(B.W,{name:"feedbackInput",as:"textarea",autoComplete:"off",autoFocus:!0,rows:4,placeholder:R.T.getPhrase(Q,"feedbackPlaceholder"),spellCheck:!1}),a.createElement("div",{className:"d-flex justify-content-end w-100"},a.createElement("button",{className:"btn btn-link",onClick:function(){return l("prompt")}},a.createElement(d.x,{namespace:Q,phrase:"back"})),a.createElement(H.A,{variant:"dark",submitText:R.T.getPhrase(Q,"sendFeedback")})))):"no"===o?a.createElement(_.n,{onSubmit:s,initialValues:{feedbackInput:""},validationSchema:U},a.createElement(F.l0,{className:Z.form},a.createElement("p",{className:"fw-semibold ".concat(Z.text)},a.createElement(V.V,{emoji:"😢"},a.createElement(d.x,{namespace:Q,phrase:"unhappyFeedback"}))),a.createElement(B.W,{name:"feedbackInput",as:"textarea",autoComplete:"off",autoFocus:!0,rows:4,placeholder:R.T.getPhrase(Q,"feedbackPlaceholder"),spellCheck:!1}),a.createElement("div",{className:"d-flex justify-content-end w-100"},a.createElement("button",{className:"btn btn-link",onClick:function(){return l("prompt")}},a.createElement(d.x,{namespace:Q,phrase:"back"})),a.createElement(H.A,{variant:"dark",submitText:R.T.getPhrase(Q,"sendFeedback")})))):"done"===o?a.createElement("p",{className:"fw-semibold text-center"},a.createElement(V.V,{emoji:"🙌"},a.createElement(d.x,{namespace:Q,phrase:"thankYou"}))):a.createElement(a.Fragment,null):a.createElement(a.Fragment,null)}const X={imageContainer:"ZMjnx",image:"SsxEf",background:"MtcB3"};function ee(e){return a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(X.background," px-4 py-3 rounded-3 mb-3")},a.createElement("h2",{className:"h5"},e.name),a.createElement(P.Z,{as:"ul",className:"list-unstyled mb-2 w-100"},e.content.map((function(t){var n,i,r,o=p.j.createUrl(null===(n=t.cover)||void 0===n?void 0:n.url,{size:u.h2.Small});return a.createElement(A.Z,{as:"li",key:t.id,xs:12,sm:6,lg:4},a.createElement(w.F,{appLink:null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.classification)||void 0===r?void 0:r.call(i,t),className:"d-flex align-items-center mb-2"},a.createElement("div",{className:"".concat(X.imageContainer," me-2")},a.createElement("div",{className:"".concat(X.image," rounded"),style:{backgroundImage:"url('".concat(o,"')")}})),a.createElement("div",null,t.name)))})))),a.createElement($,{onSubmit:e.onSubmitFeedback}))}var te=n(75903),ne=n(66869),ae={actionType:c.Vw.Click,entity:c.py.Playlist,location:c.LZ.PlaylistListItem,descriptor:c._S.Cover};function ie(e){return a.createElement("div",null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement(P.Z,{as:"ul",className:"list-unstyled mx-n1 mb-n2"},e.content.map((function(t){var n,i;return a.createElement(A.Z,{as:"li",key:t.id,xs:6,sm:4,lg:3,className:"px-1 pb-2 columns-of-five"},a.createElement(te.tN,{data:t,presentationAudiences:e.audiences,appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.playlist)||void 0===i?void 0:i.call(n,t),itemStyle:"round",analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),ae)}))}))))}var re=n(72861),oe=n(43741),le=n(55171);function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function se(e){return e.reduce((function(e,t){return e+((null==t?void 0:t.totalVideos)||0)}),0)}function de(e){return e.totalVideos?"".concat(e.totalVideos," new video").concat(e.totalVideos>1?"s":""):""}function ue(e){var t,n,i=function(e,t){var n,a;return(null===(n=e.metadata)||void 0===n?void 0:n.appLink)===x.OL.ClassificationLatestReleases?{id:"classification-latest-releases",name:"All new releases",cover:{url:p.j.getUrlById(e.imageCdnUrl,u.__.Covers,e.metadata.imageId,u.h2.Medium)},totalVideos:se(t)}:(null===(a=e.metadata)||void 0===a?void 0:a.appLink)===x.OL.ExploreAllTopics?{id:"explore-all-topics",name:"Explore all subjects",cover:{url:p.j.createUrl(le.e.Images.STREAMABLE_TOPIC_COVER,{size:u.h2.Small})}}:void 0}(e,e.content),r=(null===(t=e.metadata)||void 0===t?void 0:t.appLink)===x.OL.ClassificationLatestReleases;return a.createElement(re.e,{collection:i?[i].concat((n=e.content,function(e){if(Array.isArray(e))return ce(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ce(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):e.content,getChildAppLink:function(t){return function(t){var n,a,i,o,l,c;return t.id===x.OL.ExploreAllTopics?null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.allTopics)||void 0===a?void 0:a.call(n,t):r?null===(o=null===(i=e.appLinks)||void 0===i?void 0:i.classificationLatestReleases)||void 0===o?void 0:o.call(i,t):null===(c=null===(l=e.appLinks)||void 0===l?void 0:l.classification)||void 0===c?void 0:c.call(l,t)}(t)},childComponent:M.Vz,partialLoadingComponent:oe.Q,heading:e.name,getSubtitle:r?de:void 0,description:e.description,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions})}var me=n(65163),pe=n(98269),ve=n(1048),ge=n(11607),fe=n(17808),ye=n(1287),he=n(2102),be=n(83523),Ee=n(29309),ke="shared.subjectWidgetItem",Le=a.forwardRef((function(e,t){var n,i="px-3 d-flex flex-column justify-content-center",r="".concat(Ee.Z.name," h6");return e.multiline?r+=" clamp-3":(i+=" text-nowrap",r+=" text-truncate"),"hidden"===(null===(n=e.style)||void 0===n?void 0:n.visibility)?a.createElement("div",{ref:t,className:"d-flex align-items-center position-relative clamp-2 ".concat(Ee.Z.widgetItem," ").concat(Ee.Z.draggingItem),style:ve.t.omit(e.style,["visibility"])}):a.createElement("div",{ref:t,className:"border d-flex align-items-center position-relative ".concat(Ee.Z.widgetItem),style:ve.t.omit(e.style,["visibility"])},a.createElement("div",Object.assign({className:"\n ".concat(Ee.Z.dragHandle," ms-3 d-flex justify-content-center align-items-center \n ").concat(e.isDragging?"cursor-grabbing":"cursor-grab"," ").concat(e.isVisible?"":"text-secondary","\n ")},e.dragAttributes,e.dragListeners),a.createElement(s.x,{svgName:v.vn.Hamburger})),a.createElement("div",{className:i},a.createElement("label",{htmlFor:e.data.id,className:"".concat(r," ").concat(e.isVisible?"":"text-secondary"," mb-0")},e.data.name)),a.createElement("div",{className:"ms-auto me-3"},a.createElement(be.Z,{id:e.data.id,on:e.isVisible,onClick:function(){return e.onToggleVisibility(e.data)},tooltipText:e.canToggle?R.T.getPhrase(ke,e.isVisible?"hideFromDashboard":"showOnDashboard"):R.T.getPhrase(ke,"cantToggle"),disabled:!e.canToggle,showStateWhenDisabled:!0})))})),we=n(91028),Se=n(16714),Ce=n(75896);var Oe=n(49542);function Te(e){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(e)}function xe(){xe=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function d(e,t,n,a){var r=t&&t.prototype instanceof y?t:y,o=Object.create(r.prototype),l=new I(a||[]);return i(o,"_invoke",{value:O(e,n,l)}),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var m="suspendedStart",p="suspendedYield",v="executing",g="completed",f={};function y(){}function h(){}function b(){}var E={};s(E,o,(function(){return this}));var k=Object.getPrototypeOf,L=k&&k(k(j([])));L&&L!==n&&a.call(L,o)&&(E=L);var w=b.prototype=y.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,r,o,l){var c=u(e[i],e,r);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==Te(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,l)}),(function(e){n("throw",e,o,l)})):t.resolve(d).then((function(e){s.value=e,o(s)}),(function(e){return n("throw",e,o,l)}))}l(c.arg)}var r;i(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,i){n(e,a,t,i)}))}return r=r?r.then(i,i):i()}})}function O(t,n,a){var i=m;return function(r,o){if(i===v)throw Error("Generator is already running");if(i===g){if("throw"===r)throw o;return{value:e,done:!0}}for(a.method=r,a.arg=o;;){var l=a.delegate;if(l){var c=T(l,a);if(c){if(c===f)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===m)throw i=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=v;var s=u(t,n,a);if("normal"===s.type){if(i=a.done?g:p,s.arg===f)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(i=g,a.method="throw",a.arg=s.arg)}}}function T(t,n){var a=n.method,i=t.iterator[a];if(i===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),f;var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(Te(t)+" is not iterable")}return h.prototype=b,i(w,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:h,configurable:!0}),h.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},S(C.prototype),s(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,a,i,r){void 0===r&&(r=Promise);var o=new C(d(e,n,a,i),r);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(w),s(w,c,"Generator"),s(w,o,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=j,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(a,i){return l.type="throw",l.arg=t,n.next=a,i&&(n.method="next",n.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var i=a.arg;N(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:j(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),f}},t}function Ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ie(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var je="shared.editableCoverFixedPillListSmall";function De(e){var t,n=Ne(a.useState(!1),2),i=n[0],r=n[1],o=Ne(a.useState(!1),2),s=o[0],u=o[1],m=Oe.d.useGetContent(e.content,e.preferences).unfilteredContent,p=a.useMemo((function(){return m.every((function(e){var t,n;return!(null===(n=null===(t=e.followers)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)}))}),[m]),v=a.useMemo((function(){var e;return null!==(e=null==m?void 0:m.reduce((function(e,t,n){var a,i,r={id:t.id,hidden:!(null===(i=null===(a=t.followers)||void 0===a?void 0:a.data)||void 0===i?void 0:i.length)&&!p,index:n};return e[t.id]=r,e}),{}))&&void 0!==e?e:{}}),[e.preferences,p]),g=Ne(a.useState(v),2),f=g[0],y=g[1],h=Ne(a.useState(v),2),b=h[0],E=h[1],k=a.useMemo((function(){return i?m.filter((function(e){return!!b[e.id]})).sort((function(e,t){return b[e.id].index-b[t.id].index})):m.filter((function(e){var t;return!!f[e.id]&&!(null===(t=f[e.id])||void 0===t?void 0:t.hidden)})).sort((function(e,t){return f[e.id].index-f[t.id].index}))}),[m,b,f,i]),L=(0,G.Z)();a.useEffect((function(){r(!1)}),[null===(t=e.presentation)||void 0===t?void 0:t.id]);var w=a.useMemo((function(){return!(i||!k.length)&&Object.values(b).some((function(e){return e.hidden}))}),[i,b]);function S(e){return b[e.id]?b[e.id].index:k.findIndex((function(t){return t.id===e.id}))}function C(e){var t;return!(null===(t=b[e.id])||void 0===t?void 0:t.hidden)}function O(e){var t=Object.assign({},b),n=C(e);t[e.id]={id:e.id,hidden:n,index:S(e)},l.k.logUserAction({id:e.id,name:e.name},{location:c.LZ.EditableSubjectPreferencesWidget,entity:c.py.Classification,actionType:c.Vw.Hide,descriptor:n?c.DL.On:c.DL.Off}),E(t)}var T=a.useMemo((function(){return!ve.t.isEqual(v,b)}),[v,b]),x={id:e.presentation.id,name:R.T.getPhrase(je,"exploreAll"),cover:e.presentation.cover},N=e.hasLocalPermissions(Se.E.ManageDiscoverPreferences);return k.length?a.createElement("div",null,a.createElement("div",{className:"d-flex flex-wrap align-items-center justify-content-between"},a.createElement("div",{className:"col"},a.createElement("div",{className:"d-flex justify-content-between w-100 no-wrap flex-row mb-2"},a.createElement("h2",{className:"h4 mb-0 align-self-end flex-shrink-0"},i?R.T.getPhrase(je,"updating"):e.name),!i&&N&&a.createElement(ge.L,{className:"hover-text-underline",onClick:function(){return r(!0)}},R.T.getPhrase(je,"edit"))),!!e.description&&!i&&a.createElement("p",{className:"text-truncate description mb-2"},e.description),i&&a.createElement("p",{className:"description mb-2"},a.createElement(d.x,{namespace:je,phrase:"editingDescription"}))),i&&N&&a.createElement("div",{className:"d-flex align-items-start"},a.createElement(pe.Z,{variant:"link",className:"me-2",onClick:function(){E(f),r(!1)}},a.createElement(d.x,{namespace:je,phrase:"cancel"})),a.createElement(he.m,{variant:"dark",onClick:function(){return t=this,n=void 0,a=void 0,i=xe().mark((function t(){var n;return xe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u(!0),n=p?m.map((function(e,t){return{id:e.id,hidden:!0,index:t}})):Object.values(f),e.updatePreferences(e.id,e.widgetTypeId,n,Object.values(b)).then((function(){y(b),u(!1),r(!1)})).catch((function(){u(!1),L.error(R.T.getPhrase(je,"error"))}));case 3:case"end":return t.stop()}}),t)})),new(a||(a=Promise))((function(e,r){function o(e){try{c(i.next(e))}catch(e){r(e)}}function l(e){try{c(i.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof a?n:new a((function(e){e(n)}))).then(o,l)}c((i=i.apply(t,n||[])).next())}));var t,n,a,i},showSpinner:s,disabled:!T},a.createElement(d.x,{namespace:je,phrase:"update"})))),a.createElement(P.Z,{as:"ul",className:"list-unstyled mx-n1 mb-n2"},w&&a.createElement(A.Z,{as:"li",className:"position-relative pb-2 px-1",key:e.presentation.id,sm:6,lg:4},a.createElement(we.V,{data:x,getChildAppLink:function(){var t,n;return null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.allTopics)||void 0===n?void 0:n.call(t,e.presentation.id)},analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,multiline:!0})),a.createElement(fe.Q,{ids:k.map((function(e){return e.id})),getDragOverlay:function(e){var t=k.find((function(t){return t.id===e}));return a.createElement("div",{className:"bg-white rounded-3 ".concat("K1Ce4")},a.createElement(Le,{data:t,onToggleVisibility:O,isVisible:C(t),isDragging:!0,canToggle:!C(t)||Object.values(b).filter((function(e){return!e.hidden})).length>1}))},onSortStart:function(e){var t=k.find((function(t){return t.id.toString()===e.active.id.toString()})),n=k.findIndex((function(t){return t.id.toString()===e.active.id.toString()}));l.k.logUserAction({id:t.id,name:t.name,index:n},{location:c.LZ.EditableSubjectPreferencesWidget,entity:c.py.Classification,actionType:c.Vw.Move,workflowPhase:c.eu.Start})},onSortEnd:function(e){var t=e.active,n=e.over,a=S({id:t.id}),i=k.findIndex((function(e){return e.id.toString()===n.id.toString()}));if(a!==i){var r=k[a];if(r){var o=Object.assign({},b);(function(e,t,n){if(t===n)return{reorderedItems:e,reorderRequest:null};var a=Ce.m.moveItem(e,t,n),i=n<e.length-1?a[n+1].id:null;return{reorderedItems:a,reorderRequest:{sourceMemberId:a[n].id,destinationMemberId:i}}})(k,a,i).reorderedItems.forEach((function(e,t){o[e.id]={id:e.id,index:t,hidden:!C(e)}})),E(o),l.k.logUserAction({id:r.id,name:r.name,oldIndex:a,newIndex:i},{location:c.LZ.EditableSubjectPreferencesWidget,entity:c.py.Classification,actionType:c.Vw.Move,workflowPhase:c.eu.Complete})}}},vertical:!1},k.map((function(t){return a.createElement(A.Z,{as:"li",className:"position-relative pb-2 px-1",key:t.id,sm:6,lg:4},a.createElement(a.Fragment,null,i?a.createElement(ye.W,{id:t.id,childComponent:Le,childProps:{data:t,onToggleVisibility:O,isVisible:C(t),isDragging:!1,canToggle:!C(t)||Object.values(b).filter((function(e){return!e.hidden})).length>1,multiline:!0}}):a.createElement(we.V,{data:t,getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.classification)||void 0===a?void 0:a.call(n,t)},analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,multiline:!0})))}))))):a.createElement(a.Fragment,null)}var Pe=n(11518),Ae=n(43933),Me=n(39880);const Fe={dateItemContainer:"Hrx2m",container:"k2Xse"};var Re=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function Ve(e){return a.createElement("div",{className:"".concat(Fe.container," position-relative flex-shrink-0 ").concat(e.theme.backgroundSecondary)},a.createElement(w.F,{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},a.createElement(Ae.X,{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 He(e){var t=e.data,n=Re(e,["data"]);return"date-widget-item"===t.type?a.createElement("div",{className:"".concat(Fe.container," ").concat(Fe.dateItemContainer," flex-shrink-0 ").concat(e.theme.backgroundSecondary," position-relative")},a.createElement(Me.s,{month:t.month,body:t.body,label:t.label,getAppLink:function(){return e.getAppLink(t)},analyticsData:Object.assign(Object.assign({},e.analyticsData),{label:t.label,month:t.month,body:t.body.text}),analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Url,actionType:c.Vw.Click,location:c.LZ.EventIconSlidingListWidget}),className:"my-2 mx-1",theme:e.theme})):"Livestream"===t.type?a.createElement(Ve,Object.assign({},n,{data:t,getBackgroundColor:function(e){var t;return null===(t=e.company.metadata)||void 0===t?void 0:t.colour},getIconUrl:function(e){var t;return null===(t=e.company.logo)||void 0===t?void 0:t.url},analyticsData:function(t){return Object.assign(Object.assign({},e.analyticsData),{id:t.content.id,name:t.content.name,startDateTime:t.content.startDateTime,endDateTime:t.content.endDateTime})},analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.SpecialEvent,actionType:c.Vw.Click,location:c.LZ.EventIconSlidingListWidget})})):a.createElement(Ve,Object.assign({},n,{data:t,getBackgroundColor:function(e){var t;return null===(t=e.metadata)||void 0===t?void 0:t.backgroundColor},getIconUrl:function(e){return function(e){var t;return p.j.createUrl(null===(t=e.icon)||void 0===t?void 0:t.url,{size:u.h2.Small})}(e)},getHardCodedEvent:function(e){return le.e.SpecialEvents[e.id]},analyticsData:function(t){return Object.assign(Object.assign({},e.analyticsData),{id:t.specialEventId,name:t.name,startDate:t.startDate,endDate:t.endDate,classificationId:t.content.id,classificationName:t.content.name})},analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.SpecialEvent,actionType:c.Vw.Click,location:c.LZ.EventIconSlidingListWidget})}))}function Be(e){return function(e){if(Array.isArray(e))return We(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_e(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _e(e,t){if(e){if("string"==typeof e)return We(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?We(e,t):void 0}}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var Ge=R.T.encloseNamespace("widgets.eventIconSlidingList");function ze(e){var t,n,i=a.useMemo((function(){return function(e,t){var n=Be(t===x.VH.Livestream?e.map((function(e){return{id:e.id,startDate:o.O.format(e.startDateTime,"YYYY-MM-DD"),type:"Livestream",name:e.name,description:e.description,content:e}})):e).sort((function(e,t){return e.startDate.localeCompare(t.startDate)})),a=new Date,i=o.O.format(a,"YYYY-MM-DD"),r=o.O.format(o.O.add(i,1,"day"),"YYYY-MM-DD"),l=o.O.format(o.O.add(o.O.startOf(a,"week"),8,"days"),"YYYY-MM-DD"),c=o.O.format(o.O.add(l,6,"days"),"YYYY-MM-DD"),s=o.O.format(o.O.startOf(a,"month"),"YYYY-MM-DD"),d=o.O.format(o.O.endOf(a,"month"),"YYYY-MM-DD"),u=o.O.format(o.O.startOf(o.O.add(a,1,"month"),"month"),"YYYY-MM-DD"),m=o.O.format(o.O.endOf(o.O.add(a,1,"month"),"month"),"YYYY-MM-DD"),p=o.O.format(o.O.startOf(o.O.add(a,2,"month"),"month"),"YYYY-MM-DD"),v=o.O.format(o.O.endOf(o.O.add(a,2,"month"),"month"),"YYYY-MM-DD"),g=new Map;function f(e){if(g.has(e.group)){var t=g.get(e.group);g.set(e.group,Object.assign(Object.assign({},t),{events:[].concat(Be(t.events),[e.event])}))}else g.set(e.group,{events:[e.event],label:e.label,body:e.body,monthLabel:e.monthLabel,startDate:e.startDate,endDate:e.endDate})}n.forEach((function(e){if(e.startDate<=i)f({group:"today",startDate:i,endDate:null,event:e,body:{text:o.O.format(i,"DD"),type:"day"},monthLabel:o.O.format(i,"MMMM"),label:Ge("today")});else if(e.startDate!==r)if(e.startDate>r&&e.startDate<l){var t=o.O.format(e.startDate,"dddd");f({group:t,startDate:e.startDate,endDate:e.endDate,event:e,monthLabel:o.O.format(e.startDate,"MMMM"),body:{text:o.O.format(e.startDate,"DD"),type:"day"},label:t})}else e.startDate>=l&&e.startDate<=c?f({group:"nextWeek",startDate:l,endDate:c,event:e,monthLabel:o.O.isSame(l,c,"month")?o.O.format(l,"MMMM"):"".concat(o.O.format(l,"MMM")," - ").concat(o.O.format(c,"MMM")),body:{text:"".concat(o.O.format(l,"DD"),"-").concat(o.O.format(c,"DD")),type:"range"},label:Ge("nextWeek")}):e.startDate>=s&&e.startDate<=d?f({group:"thisMonth",startDate:s,endDate:d,event:e,monthLabel:"",body:{text:o.O.format(e.startDate,"MMM"),type:"month"},label:Ge("thisMonth")}):e.startDate>=u&&e.startDate<=m?f({group:"nextMonth",startDate:u,endDate:m,event:e,monthLabel:"",body:{text:o.O.format(e.startDate,"MMM"),type:"month"},label:Ge("nextMonth")}):e.startDate>=p&&e.startDate<=v&&f({group:"later",startDate:p,endDate:v,event:e,monthLabel:"",body:{text:o.O.format(e.startDate,"MMM"),type:"month"},label:Ge("later")});else f({group:"tomorrow",startDate:r,endDate:null,event:e,body:{text:o.O.format(r,"DD"),type:"day"},monthLabel:o.O.format(e.startDate,"MMMM"),label:Ge("tomorrow")})}));var y,h=[],b=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_e(e))){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw r}}}}(g.values());try{for(b.s();!(y=b.n()).done;){var E=y.value,k={label:E.label,body:E.body,month:E.monthLabel,appLinkMonth:o.O.format(E.startDate,"MMMM"),appLinkYear:o.O.format(E.startDate,"YYYY"),type:"date-widget-item"};h.push(k),E.events.forEach((function(e){h.push(e)}))}}catch(e){b.e(e)}finally{b.f()}return h}(e.content,e.contentType)}),[e.content]),r=e.contentType===x.VH.Livestream?{background:"bg-light-green",border:"border-light-green",backgroundSecondary:"bg-light-blue"}:{background:"bg-light-blue",border:"border-light-blue",backgroundSecondary:"bg-light-yellow"};return a.createElement(Pe.kM,{name:e.name,description:e.description,appLink:null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.calendar)||void 0===n?void 0:n.call(t),type:x.l9.Row,contents:T.z.SpecialEvents,getChildAppLink:function(t){var n,a,i,r,o,l;return"date-widget-item"===t.type?null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.calendarMonth)||void 0===a?void 0:a.call(n,t.appLinkMonth,t.appLinkYear):"Livestream"===t.type?null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.livestream)||void 0===r?void 0:r.call(i,t.content):null===(l=null===(o=e.appLinks)||void 0===o?void 0:o.classification)||void 0===l?void 0:l.call(o,t.content)},collection:i,childComponent:He,extraChildComponentProps:{theme:r},analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,prefetched:!0})}var Ue=n(39202),Ze=n(57825),Ye=n(49439);function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var Ke=a.memo((function(e){var t,n,i=e.data,r=e.subTextAppLink,o=e.context,l=e.thumbnailSize,c=e.preloadImage,s=(t=(0,Ye.L)({className:"x7nyG",style:{transform:"scale(".concat((null==o?void 0:o.type)===x.l9.LargeRow?1.1:1.15,")")}}),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return qe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qe(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=s[0],u=s[1];a.useEffect((function(){e.onHover(u)}),[u]);var m="eo8oY";return o.type===x.l9.LargeRow&&(m="lhqxB"),a.createElement("div",{ref:d,className:"px-1 flex-shrink-0 position-relative ".concat(m," ").concat("A7FeL")},a.createElement(Ze.u,{video:i,type:"expandable",appLink:e.getAppLink(i),subTextAppLink:r,imageOptions:{size:l},preload:c,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,setFavourite:e.setFavourite,canFavourite:e.canFavourite,hovering:u,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:e.subTextType,isPlugin:e.isPlugin}))}));const Je="eSMIx",Qe="layDP";function $e(e){var t,n,i=Oe.d.getCustomAppLink(e),r=(null==e?void 0:e.imageCdnUrl)&&(null===(t=e.metadata)||void 0===t?void 0:t.imageId)?p.j.getUrlById(e.imageCdnUrl,u.__.Banners,e.metadata.imageId,u.h2.Medium):"";return a.createElement("div",null,a.createElement(w.F,{appLink:i,style:r?{backgroundImage:"url(".concat(r,")")}:{},className:"".concat(Je," mb-2 d-flex justify-content-between no-decoration ").concat(e.name?"":Qe),analyticsData:{url:Ue.C$.getHref(i)},analyticsOptions:{actionType:c.Vw.Click,entity:c.py.Url,location:c.LZ.ContentUpdatesBanner}},a.createElement("h2",{className:"h4 text-white mb-0"},e.name)),a.createElement(L.k,{type:x.l9.Row,contents:T.z.Videos,getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{})},collection:e.content,childComponent:Ke,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite,seriesAppLink:null===(n=e.appLinks)||void 0===n?void 0:n.series},hideBleedingContent:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,limitTotalItems:e.limitTotalItems,prefetched:!0,hideName:!0}))}var Xe=n(81993);const et={rowWidth:"TzZuL"};function tt(e){return a.createElement(w.F,{appLink:e.getAppLink(e.data),className:"".concat(et.rowWidth," ").concat(e.ratingsLength>4?"":4===e.ratingsLength?"col-4 col-md-3":"col"," position-relative flex-shrink-0 px-1 mt-1 text-decoration-none"),analyticsData:Object.assign(Object.assign({},e.analyticsData),{code:e.data.code,id:e.data.id}),analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Rating,actionType:c.Vw.Click,location:c.LZ.FilterSlidingPillListSmallWidget})},a.createElement("div",{className:"".concat(Xe.u.mapRatingToClass(e.data.value)," py-3 rounded-3")},a.createElement("div",{className:"d-flex justify-content-center align-items-center text-white text-shadow"},a.createElement(s.x,{svgName:v.vn.Search,size:s.S.Medium}),a.createElement("h4",{className:"mb-0"},e.data.code))))}var nt,at,it,rt=n(72639),ot=n(87114);function lt(e){var t,n=(t=e.presentation,ot.i.getMappedPresentationLevel(t.learningLevel)===rt.p.Level_1?64:128),i=e.content.filter((function(e){return e.code&&e.value<n}));return a.createElement(a.Fragment,null,a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.Ratings,getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.rating)||void 0===a?void 0:a.call(n,t,i)},collection:i,childComponent:tt,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,extraChildComponentProps:{ratingsLength:i.length},prefetched:!0}))}function ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function st(e){return a.createElement("div",{className:"curated-widget-header"},a.createElement("h2",{className:"curated-widget-heading"},e.name),!!e.description&&a.createElement("p",{className:"description curated-widget-description"},e.description))}function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function ut(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=dt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=dt(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6"}(nt||(nt={})),function(e){e.Dark="dark",e.White="white"}(at||(at={})),function(e){e.NewWindow="new-window",e.TopicDirectory="topic-directory",e.TopicNewReleases="topic-new-releases",e.CuratedTopic="curated-topic"}(it||(it={})),nt.H1,nt.H2,nt.H3,nt.H4,nt.H5,nt.H6,at.Dark,at.White,it.NewWindow;var mt=ut(ut(ut(ut({},it.NewWindow,v.vn.NewWindow),it.TopicDirectory,v.vn.Grid),it.TopicNewReleases,v.vn.Sparkle),it.CuratedTopic,v.vn.Rectangles),pt=ut(ut(ut(ut(ut(ut(ut(ut({},nt.H1,"h1"),nt.H2,"h2"),nt.H3,"h3"),nt.H4,"h4"),nt.H5,"h5"),nt.H6,"h6"),at.Dark,"text-dark"),at.White,"text-white");const vt={banner:"MQAsk",bannerImage:"Sk9ox"};function gt(e){var t,n;if(!(null===(t=e.cta)||void 0===t?void 0:t.text))return a.createElement("div",null);var i="btn btn-outline-dark text-nowrap me-3";return(null===(n=e.cta)||void 0===n?void 0:n.icon)?a.createElement(W.h,{svgName:mt[e.cta.icon],className:i,openInNewTab:!0},e.cta.text):a.createElement("div",{className:i},e.cta.text)}function ft(e){return a.createElement(w.F,{appLink:e.appLink,className:"text-decoration-none",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions},a.createElement("div",{className:"banner rounded-3 position-relative ".concat(vt.banner)},a.createElement("div",{className:"".concat(vt.bannerImage," d-flex justify-content-between align-items-center"),style:e.style},!!e.heading&&a.createElement("div",{className:"d-flex align-items-center ps-3 h-100"},a.createElement("h2",{className:"text-white text-shadow h4 clamp-1"},e.heading)),a.createElement(gt,{cta:e.cta}))))}function yt(e){var t,n,i,r=Ce.m.first(e.content),o=Object.assign(Object.assign({},e.analyticsOptions),{location:c.LZ.Classification,actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Banner});return a.createElement(ft,{heading:e.name,appLink:null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.classification)||void 0===n?void 0:n.call(t,r),analyticsData:e.analyticsData,analyticsOptions:o,style:{backgroundImage:"url('".concat(p.j.createBannerUrl(r.banner,{fallbackBaseUrl:"",fallbackCategoryName:r.name,type:u.__.Banners},{size:u.h2.Large}),"')"),backgroundSize:"100%"},cta:null===(i=e.metadata)||void 0===i?void 0:i.cta})}function ht(e){return a.createElement(yt,Object.assign({},e))}const bt="iCyo4",Et="cgv_6";function kt(){return a.createElement("div",{className:"banner rounded-3 position-relative ".concat(bt)},a.createElement("div",{className:"".concat(Et)}))}var Lt=n(42308);const wt={cta:"nA9th",banner:"b5ljD",bannerImage:"dj_1H",blurb:"UBcVE",presentations:"fGBlR",bannerContent:"lkPfM"};function St(e){var t,n,i,r=pt[(null===(t=e.metadata.theming)||void 0===t?void 0:t.headingSize)||nt.H6],o=pt[(null===(n=e.metadata.theming)||void 0===n?void 0:n.headingColor)||at.Dark];return a.createElement("div",{className:"banner rounded-3 position-relative ".concat(wt.banner)},a.createElement("div",{className:"".concat(wt.bannerImage," ").concat(wt.blurb," d-flex"),style:{backgroundImage:"url('".concat(p.j.getUrlById(e.imageCdnUrl,u.__.Banners,e.metadata.imageId,u.h2.Large),"')")}},e.name&&a.createElement("div",{className:"".concat(wt.bannerContent," ").concat(e.widgetTypeId===Lt.z.Blurb?wt.blurb:""," d-flex justify-content-between w-100 px-3")},a.createElement("p",{className:"".concat(r," ").concat(o," mb-0")},e.name),(null===(i=e.metadata.cta)||void 0===i?void 0:i.text)&&a.createElement(W.h,{svgName:v.vn.NewWindow,className:"btn btn-dark text-nowrap",href:e.metadata.cta.href,openInNewTab:!0},e.metadata.cta.text))))}function Ct(e){var t=e.hasPermissions(Se.C.ManageSubjectPreferences)||e.hasLocalPermissions(Se.E.ManagePublicPresentation);function n(t){var n,i,r={middlewareOptions:{presentationSlug:null==t?void 0:t.vanitySlug}},o=Object.assign(Object.assign({},e.analyticsData),{id:t.id,presentationName:t.name}),l=Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Presentation,actionType:c.Vw.Click,location:c.LZ.HeroBannerSmallWidget});return a.createElement(w.F,{className:"info-link d-inline",appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.discover)||void 0===i?void 0:i.call(n),appLinkOptions:r,analyticsData:o,analyticsOptions:l},t.name)}var i=e.name;return t?a.createElement("div",{className:"banner rounded-3 position-relative ".concat(wt.banner)},a.createElement("div",{className:"".concat(wt.bannerImage," ").concat(wt.presentations),style:{backgroundImage:"url('".concat(p.j.getUrlById(e.imageCdnUrl,u.__.Banners,e.metadata.imageId,u.h2.Large),"')")}},i&&a.createElement("div",{className:"".concat(wt.bannerContent," ").concat(wt.presentations," px-3")},a.createElement("p",{className:"h6 mb-0"},i," ",1===e.content.length?n(e.content[0]):2===e.content.length?a.createElement(a.Fragment,null,n(e.content[0])," or ",n(e.content[1])):a.createElement(a.Fragment,null,e.content.slice(0,e.content.length-1).map((function(e){return a.createElement(a.Fragment,{key:e.id},n(e),", ")})),"or ",n(Ce.m.last(e.content))),".")))):a.createElement(a.Fragment,null)}function Ot(e){switch(e.widgetTypeId){case Lt.z.Blurb:return a.createElement(St,Object.assign({},e));case Lt.z.Presentations:return a.createElement(Ct,Object.assign({},e));default:return a.createElement(yt,Object.assign({},e))}}function Tt(){return a.createElement("div",{className:"banner rounded-3 position-relative ".concat(wt.banner)},a.createElement("div",{className:"".concat(wt.bannerContent)}))}function xt(e){var t,n,i=Ce.m.first(e.content),r=Object.assign(Object.assign({},e.analyticsData),{id:i.id,name:i.name,presentationId:i.presentationId}),o=Object.assign(Object.assign({},e.analyticsOptions),{location:c.LZ.ClassificationListItem,actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Thumbnail});return a.createElement(ft,{heading:e.name,appLink:function(){var t,n,a,r,o,l,c,s;switch(null===(n=null===(t=e.metadata)||void 0===t?void 0:t.cta)||void 0===n?void 0:n.appLink){case x.NK.TopicDirectory:return null===(r=null===(a=e.appLinks)||void 0===a?void 0:a.classificationDirectory)||void 0===r?void 0:r.call(a,i);case x.NK.CuratedTopic:return null===(l=null===(o=e.appLinks)||void 0===o?void 0:o.classification)||void 0===l?void 0:l.call(o,i);case x.NK.TopicNewReleases:return null===(s=null===(c=e.appLinks)||void 0===c?void 0:c.classification)||void 0===s?void 0:s.call(c,i)}return null}(),analyticsData:r,analyticsOptions:o,style:{backgroundColor:null===(t=i.metadata)||void 0===t?void 0:t.backgroundColor,backgroundSize:"100%"},cta:null===(n=e.metadata)||void 0===n?void 0:n.cta})}function Nt(e){var t,n,i,r,o,l,s=Ce.m.first(e.content),d=p.j.createUrl(null===(t=s.thumbnail)||void 0===t?void 0:t.url,{size:u.h2.Medium}),m=null===(n=s.metadata)||void 0===n?void 0:n.backgroundColor,v={backgroundColor:m,backgroundSize:"50%"};d&&(v.backgroundImage="url('".concat(d,"')"));var g=Object.assign(Object.assign({},e.analyticsData),{id:s.id,name:s.name,presentationId:s.presentationId}),f=Object.assign(Object.assign({},e.analyticsOptions),{location:c.LZ.ClassificationListItem,actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Thumbnail});return d&&m?a.createElement(ft,{heading:e.name,appLink:null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.classification)||void 0===r?void 0:r.call(i,s),analyticsData:g,analyticsOptions:f,style:v,cta:Object.assign({text:R.T.getPhrase("shared.heroThumbnailSmall","buttonLabel")},null!==(l=null===(o=e.metadata)||void 0===o?void 0:o.cta)&&void 0!==l?l:{})}):a.createElement(Ot,Object.assign({},e))}var It=n(43306),jt=n(2948),Dt=n(46477),Pt=n(25925),At=n(21750),Mt=(n(99940),n(97395)),Ft=n(1651),Rt=n(56050);function Vt(e){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Ht(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Bt(a.key),a)}}function Bt(e){var t=function(e,t){if("object"!=Vt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=Vt(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Vt(t)?t:t+""}var _t,Wt,Gt=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setData(t)},(t=[{key:"setData",value:function(e){var t=e.collectionPrefix,n=e.id,a=e.sort,i=e.cursor;n&&(this.id=n),a&&(this.sort=a),i&&(this.cursor=i),t&&(this.collectionPrefix=t)}},{key:"toString",value:function(){return[this.collectionPrefix,this.id,this.sort,this.cursor].filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.sort&&(e.sort=this.getSortTypeParam().toLowerCase()),this.cursor&&(e.cursor=this.cursor),e}},{key:"getSortTypeParam",value:function(){return Ft.Ry.throw(new Rt.H("getSortTypeParam must be implemented when extending BaseCollectionIdentifier")),""}}])&&Ht(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function Ut(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Zt(a.key),a)}}function Zt(e){var t=function(e,t){if("object"!=zt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=zt(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zt(t)?t:t+""}function Yt(e,t,n){return t=Kt(t),function(e,t){if(t&&("object"==zt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qt()?Reflect.construct(t,n||[],Kt(e).constructor):t.apply(e,n))}function qt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qt=function(){return!!e})()}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kt(e)}function Jt(e,t){return Jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jt(e,t)}n(20588),function(e){e.Newest="newest",e.Oldest="oldest",e.RecentlyUpdated="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa"}(_t||(_t={})),function(e){e.OwnedByMe="owned_by_me",e.Followed="followed",e.All="all"}(Wt||(Wt={}));var Qt=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t.Newest,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wt.OwnedByMe;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Yt(this,t,[{collectionPrefix:"user:playlists",cursor:a,sort:n}])).type=i,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jt(e,t)}(t,e),n=t,(a=[{key:"toString",value:function(){return[this.collectionPrefix,this.sort,this.cursor,this.type].filter(Boolean).join(":")}}])&&Ut(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a}(Gt);var $t=n(62803),Xt=(n(5960),n(4594),n(78417),n(40370)),en=function(e){var t=e.sort,n=e.type,a={sort:t,query:"{limit:100}".concat($t.v.PLAYLIST_COLLECTION,",_isClickViewCurated,_liteOwner")};return e.cursor&&(a.cursor=e.cursor),{url:Mt._.urlBuilder("/api/domain/v2/me/playlists/".concat(n),a),key:e.toString()}},tn=n(61699),nn=n(31949),an=n(22902),rn=n(25964),on=n(75795);function ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var cn={HIGH:.75,MODERATE:.5};const sn={circleContainer:"p8Vgz",backgroundCircle:"asGGE",circleSuccess:"PXLNj",circleWarning:"ZckRN",circleDanger:"slBRg",lgCircleContainer:"N8KCI",pendingCircle:"DKrcq",centredPercentageText:"tpmLR"};var dn,un,mn=2,pn=5.8,vn=.2,gn=.36;function fn(e){var t=e===dn.Large?pn:mn,n=e===dn.Large?gn:vn;return"".concat(t/2-2*n,"rem")}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cn;return e>=t.HIGH?sn.circleSuccess:e>=t.MODERATE?sn.circleWarning:sn.circleDanger}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cn;return e>=t.HIGH?"text-success":e>=t.MODERATE?"text-warning":"text-danger"}function bn(e,t){var n="d-inline-block ".concat(sn.circleContainer);return e===dn.Large&&(n+=" ".concat(sn.lgCircleContainer)),En(t)&&(n+=" ".concat(sn.pendingCircle)),n}function En(e){return"number"!=typeof e}function kn(e){var t=a.useCallback((function(t){if(t){var n=t.r.baseVal.value,a=2*Math.PI*n,i=a-e.percentage*a;t.style.strokeDasharray="".concat(a," ").concat(a),t.style.strokeDashoffset=i.toString()}}),[e.percentage]);return a.createElement("svg",null,a.createElement("circle",{r:fn(e.size),className:sn.backgroundCircle}),!En(e.percentage)&&a.createElement("circle",{ref:t,r:fn(e.size),className:yn(e.percentage,e.scoreThresholds)}))}function Ln(e){var t,n,i=function(e){if(!En(e))return+e.toFixed(2)}(e.percentage),r=e.layout===un.LabelInside?dn.Large:dn.Small,o=e.customLabel||(En(n=i)?"--%":"".concat(Math.round(100*n),"%"));return e.layout===un.LabelOnly?a.createElement("span",{className:hn(i)},o):a.createElement("div",{className:"d-flex align-items-center justify-content-between ".concat(null!==(t=e.className)&&void 0!==t?t:"")},e.layout===un.LabelBefore&&a.createElement("span",{className:"me-2"},o),a.createElement("div",{className:bn(r,i)},a.createElement(kn,{percentage:i,size:r,scoreThresholds:e.scoreThresholds}),e.layout===un.LabelInside&&a.createElement("span",{className:sn.centredPercentageText},o)))}!function(e){e.Small="small",e.Large="large"}(dn||(dn={})),function(e){e.CircleOnly="circle_only",e.LabelOnly="label_only",e.LabelBefore="label_before",e.LabelInside="label_inside"}(un||(un={})),Ln.defaultProps={layout:un.CircleOnly};var wn=n(64818);var Sn="widgets.onboardingSteps",Cn=R.T.encloseNamespace(Sn);function On(e){var t,n,i,o,l,u,m,p,g=function(e){var t,n,i,o=(n=(0,jt.D)("has:playlist",null),i=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(n,i)||function(e,t){if(e){if("string"==typeof e)return ln(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ln(e,t):void 0}}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=o[0],c=o[1],s=r.a.useBasicFetch(nn.N.currentUser()),d=r.a.useBasicFetch((null===(t=s.data)||void 0===t?void 0:t.isAuthenticated)&&nn.N.user(s.data.id)),u=r.a.useBasicFetch(At.x.availablePresentations(Pt.R.Subject)),m=r.a.useBasicFetch(At.x.presentation(Pt.R.Subject)),p=r.a.useBasicFetch(At.x.availablePresentations(Pt.R.Curriculum)),v=r.a.useBasicFetch(en(new Qt)),g=r.a.useBasicFetch(tn.o.mySubjectPreferences()),f=(0,an.T)().hasPermissions;a.useEffect((function(){var e,t,n,a;v.hasCompleted&&l!==!!(null===(t=null===(e=v.data)||void 0===e?void 0:e.data)||void 0===t?void 0:t.length)&&c(!!(null===(a=null===(n=v.data)||void 0===n?void 0:n.data)||void 0===a?void 0:a.length))}),[v.hasCompleted]);var y=s.hasCompleted&&d.hasCompleted&&u.hasCompleted&&p.hasCompleted&&m.hasCompleted&&v.hasCompleted&&g.hasCompleted&&null!==l,h=(0,rn.r)(null).userSettings;return{getPathway:function(){var t,n,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=i.jobTitleOverride||(null===(a=null===(n=null===(t=d.data)||void 0===t?void 0:t.userProfile)||void 0===n?void 0:n.metadata)||void 0===a?void 0:a.jobTitle),o=i.preferredPresentationOverride||m.data;return y?Dt.m.getOnboardingPathway({jobTitle:r,userSettings:h.data,presentations:u.data,curriculums:p.data,preferredSubjects:g.data,preferredPresentation:o,appLink:on.O.getCurrentRoute().appLink,appLinks:e,masterUser:d.data,hasPlaylist:l,hasPermissions:f,currentUser:s.data}):{screens:{},currentScreen:null,totalScreens:0,totalScreensInProgressBar:0,hasCompletedAllSteps:!1}},hasLoadedPathway:y}}(null!==(i=null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.onboardingAppLinks)||void 0===n?void 0:n.call(t))&&void 0!==i?i:{}),f=g.getPathway,y=g.hasLoadedPathway,h=y&&f(),b=wn.l.isKDM(e.jobTitle);if(function(){var t,n;return!(e.isPreviewing||y&&!(null===(t=e.settings)||void 0===t?void 0:t.hasCompletedOnboardingV2)&&(null===(n=e.settings)||void 0===n?void 0:n.hasOnboardingV2)&&e.hasPermissions(Se.C.ViewOnboarding)&&!h.hasCompletedAllSteps)}())return a.createElement("div",{className:"mb-n3"});var E=function(){if(e.isPreviewing)return{};var t=It.H[h.currentScreen],n=h.screens[h.currentScreen],a=null==n?void 0:n.next,i=null==n?void 0:n.previous;return Object.assign({currentScreen:null==t?void 0:t.id,nextScreen:a,previousScreen:i,progress:Dt.m.getProgress(h)},Dt.m.getOnboardingScreenStates(h))}(),k=function(){if(e.isPreviewing)return{overallPercentage:75,totalScreens:8,currentStepNumber:6};var t=Dt.m.getProgress(h);return 0===t.overallPercentage?Object.assign(Object.assign({},t),{overallPercentage:10}):t}(),L=k.overallPercentage,S=k.totalScreens,C=k.currentStepNumber;return a.createElement("div",{className:"rounded-3 bg-light-yellow border border-2 border-dark position-relative d-flex align-items-center ".concat("QU4re")},a.createElement("div",{className:"".concat("zmH98")},a.createElement("div",{className:"T9LAC"},a.createElement(Ln,{percentage:Math.round(L)/100,layout:un.LabelInside,scoreThresholds:{HIGH:.75,MODERATE:0}})),a.createElement("div",null,a.createElement("h2",{className:"h4"},e.isPreviewing?null===(o=It.H["select-videos"])||void 0===o?void 0:o.getWidgetHeading(b):null===(l=It.H[h.currentScreen])||void 0===l?void 0:l.getWidgetHeading(b)),a.createElement("div",{className:"dTKo5"},a.createElement(s.x,{svgName:v.vn.ArrowRight,className:"svg-container me-1"}),a.createElement("p",{className:"ypP5M"},function(e,t,n,a){var i=It.H[e];return t===n?"".concat(Cn("lastStepDescriptionPrefix")," ").concat(null==i?void 0:i.getWidgetDescription(a)):1===t?"".concat(Cn("firstStepDescriptionPrefix")," ").concat(null==i?void 0:i.getWidgetDescription(a)):"".concat(Cn("descriptionPrefix")," ").concat(null==i?void 0:i.getWidgetDescription(a))}(e.isPreviewing?"select-videos":h.currentScreen,C,S,b))))),a.createElement("div",{className:"align-items-center justify-content-end h-100 ".concat("w05om"),style:{backgroundImage:"url('".concat(null===(u=e.imageUrls)||void 0===u?void 0:u.onboardingTeacherBackground,"')")}},a.createElement(w.F,{appLink:null===(p=null===(m=e.appLinks)||void 0===m?void 0:m.onboardingStep)||void 0===p?void 0:p.call(m,h.currentScreen),className:"btn btn-dark btn-lg ".concat("CHWcH"),analyticsData:E,analyticsOptions:{actionType:c.Vw.Click,entity:c.py.User,location:c.LZ.OnboardingStepsWidget,descriptor:c.Ix.FinishPersonalising}},a.createElement(d.x,{namespace:Sn,phrase:"completeSetup"}))))}function Tn(e){return a.createElement("div",{className:"col-".concat(e.colSize," px-1")},a.createElement("div",{className:"d-inline-block w-100 partial-loading-background rounded-3",style:{paddingBottom:"56.25%"}}),a.createElement("div",{className:"mt-2"},a.createElement("div",{style:{height:"1.4rem"}},a.createElement("div",{className:"partial-loading-background",style:{height:"1.1rem",width:"70%"}})),a.createElement("div",{className:"partial-loading-background",style:{height:"1.33875rem",width:"80%"}})))}var xn=n(68626),Nn=n(80143);var In=a.memo((function(e){var t,n=e.data,i=e.getSubTextAppLink,r=e.context,o=e.thumbnailSize,l=e.preloadImage,c=e.presentationAudiences,s=null===(t=null==n?void 0:n.subjectPresentationAudiences)||void 0===t?void 0:t.data,d=(0,Nn.n)(s,c),u=(0,j.k)(),m="JSM4l";return r.type===x.l9.LargeRow&&(m="YYpNz"),a.createElement("div",{className:"px-1 flex-shrink-0 position-relative ".concat(m)},a.createElement(Ze.u,{type:e.preventPopout||u.xs?"static":"popout",textPosition:xn.z.Below,video:n,appLink:e.getAppLink(n),subTextAppLink:Xt.M.isVideo(n)&&(null==i?void 0:i(n)),imageOptions:{size:o},preload:l,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,canFavourite:e.canFavourite,setFavourite:e.setFavourite,imageCdnUrl:e.imageCdnUrl,audience:d,hideRating:!!d,hideDuration:!1,yearGroups:e.yearGroups,hideTitle:e.hideTitle,showVideoGuidance:e.showVideoGuidance,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:e.subTextType,isPlugin:e.isPlugin,getInteractiveGuidanceAppLink:e.getInteractiveGuidanceAppLink,getResourceGuidanceAppLink:e.getResourceGuidanceAppLink,getClassroomGuideAppLink:e.getClassroomGuideAppLink}))}));function jn(e){var t,n,i,r,o,l,c,s,d,u;return a.createElement(L.k,{name:!(null===(t=e.metadata)||void 0===t?void 0:t.hideWidgetHeading)&&e.name,description:!(null===(n=e.metadata)||void 0===n?void 0:n.hideWidgetDescription)&&e.description,type:x.l9.LargeRow,contents:T.z.Videos,collection:e.content,childComponent:In,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite,presentationAudiences:e.audiences,getSubTextAppLink:null===(i=e.appLinks)||void 0===i?void 0:i.subText,imageCdnUrl:e.imageCdnUrl,yearGroups:e.yearGroups,hideTitle:null===(r=e.metadata)||void 0===r?void 0:r.hideObjectTitle,hideSeries:null===(o=e.metadata)||void 0===o?void 0:o.hideObjectSeries,companyLogoFallbackUrl:e.companyLogoFallbackUrl,showVideoGuidance:Xt.M.showVideoGuidance(e.hasPermissions),subTextType:e.subTextType,isPlugin:e.isPlugin,getClassroomGuideAppLink:null===(l=e.appLinks)||void 0===l?void 0:l.classroomGuide,getResourceGuidanceAppLink:null===(c=e.appLinks)||void 0===c?void 0:c.resourceGuidance,getInteractiveGuidanceAppLink:null===(s=e.appLinks)||void 0===s?void 0:s.interactiveGuidance},getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{})},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLink:null===(u=null===(d=e.appLinks)||void 0===d?void 0:d.widgetVideoList)||void 0===u?void 0:u.call(d,e.id,e.name)})}function Dn(e){return a.createElement("div",{className:"col-".concat(e.colSize," px-1")},a.createElement("div",{className:"d-inline-block w-100 partial-loading-background rounded-3",style:{paddingBottom:"56.25%"}}),a.createElement("div",{className:"mt-2"},a.createElement("div",{style:{height:"1.4rem"}},a.createElement("div",{className:"partial-loading-background",style:{height:"1.1rem",width:"70%"}})),a.createElement("div",{className:"partial-loading-background",style:{height:"1.33875rem",width:"80%"}})))}function Pn(e){var t,n,i,r,o,l,c,s,d,u,m,p,v,g=null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.widgetVideoList)||void 0===n?void 0:n.call(t,e.id,e.name);return e.widgetTypeId===Lt.z.ContinueWatching&&(null===(i=e.appLinks)||void 0===i?void 0:i.watchHistory)&&(g=null===(o=null===(r=e.appLinks)||void 0===r?void 0:r.watchHistory)||void 0===o?void 0:o.call(r)),a.createElement(L.k,{name:!(null===(l=e.metadata)||void 0===l?void 0:l.hideWidgetHeading)&&e.name,description:!(null===(c=e.metadata)||void 0===c?void 0:c.hideWidgetDescription)&&e.description,type:x.l9.Row,contents:T.z.Videos,collection:e.content,childComponent:In,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite,presentationAudiences:e.audiences,getSubTextAppLink:null===(s=e.appLinks)||void 0===s?void 0:s.subText,imageCdnUrl:e.imageCdnUrl,hideTitle:null===(d=e.metadata)||void 0===d?void 0:d.hideObjectTitle,hideSeries:null===(u=e.metadata)||void 0===u?void 0:u.hideObjectSeries,yearGroups:e.yearGroups,showVideoGuidance:Xt.M.showVideoGuidance(e.hasPermissions),companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:e.subTextType,preventPopout:e.preventPopout,isPlugin:e.isPlugin,getClassroomGuideAppLink:null===(m=e.appLinks)||void 0===m?void 0:m.classroomGuide,getResourceGuidanceAppLink:null===(p=e.appLinks)||void 0===p?void 0:p.resourceGuidance,getInteractiveGuidanceAppLink:null===(v=e.appLinks)||void 0===v?void 0:v.interactiveGuidance},getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{})},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLink:g})}const An={largeSeriesItem:"HZ00X",smallSeriesItem:"PQ2sv",partialLoading:"hMoHO"};function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var Fn=n(70580);function Rn(e){var t=e.data,n=Object.assign(Object.assign({},e.analyticsData),{id:null==t?void 0:t.id,name:null==t?void 0:t.name}),i=Object.assign(Object.assign({},e.analyticsOptions),{actionType:c.Vw.Click,entity:c.py.Series,descriptor:c._S.TallPoster});return a.createElement(w.F,{key:t.id,appLink:e.getAppLink(t),className:"position-relative px-1 flex-shrink-0 ".concat(e.isSmall?An.smallSeriesItem:An.largeSeriesItem," "),analyticsData:n,analyticsOptions:i},a.createElement(Fn.r,{series:t,presentationAudiences:e.audiences,preloadImage:e.preloadImage,isSmall:e.isSmall}))}function Vn(e){return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.Series,collection:e.content,childComponent:Rn,extraChildComponentProps:{audiences:e.audiences},getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.series)||void 0===a?void 0:a.call(n,t)},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions})}const Hn={slidingSubjectSmall:"fgIje",slidingSubjectLarge:"CJwKL",heading:"P16Yg",posterContainer:"VtrLt",partialLoading:"IgCcl",labelContainer:"ujwlj"};var Bn=function(e){return a.createElement("div",{className:"".concat(e.type===x.l9.Row?Hn.slidingSubjectSmall:Hn.slidingSubjectLarge," px-1")},a.createElement("div",{className:"".concat(Hn.partialLoading," partial-loading-background rounded-3")}))};function _n(e){for(var t,n,i=(t=e.type,(n=(0,j.k)()).xs?2:n.sm?3:n.md?4:n.lg||t===x.l9.LargeRow?5:6),r=[],o=0;o<i;o++)r.push(a.createElement(Bn,{key:o,type:e.type}));return a.createElement("div",{className:"pb-3"},a.createElement(I.l,null),a.createElement("div",{className:"row g-0 mx-n1"},r))}var Wn=n(85473),Gn=n(85177);function zn(e){var t,n=e.data,i=e.preloadImage,r=Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Classification,actionType:c.Vw.Click,descriptor:c._S.TallPoster});return a.createElement("div",{className:(t=Hn.posterContainer,e.context.type===x.l9.Row?t+=" ".concat(Hn.slidingSubjectSmall):t+=" ".concat(Hn.slidingSubjectLarge),t)},a.createElement(Wn.Z,{data:n.tallPoster,alt:n.name,appLink:e.getAppLink(n),imageType:u.__.TallPosters,preload:i,imageOptions:{size:u.h2.Medium},imageClassName:"rounded-3",analyticsData:e.analyticsData,analyticsOptions:r},a.createElement(Gn.oy,{type:Gn.mS.TallSubject}),a.createElement("h3",{className:"px-2 ".concat(Hn.heading)},n.name)))}function Un(e){return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.LargeRow,contents:T.z.Subjects,collection:e.content,childComponent:zn,getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.classification)||void 0===a?void 0:a.call(n,t)},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions})}function Zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var Yn="explore-all-topics";function qn(e){var t,n=function(e){var t,n,a,i,r;if((null===(t=e.metadata)||void 0===t?void 0:t.text)||(null===(n=e.metadata)||void 0===n?void 0:n.imageId))return{id:(null===(a=e.metadata)||void 0===a?void 0:a.appLink)===x.OL.ExploreAllTopics?Yn:"",name:null===(i=e.metadata)||void 0===i?void 0:i.text,tallPoster:{url:(null===(r=e.metadata)||void 0===r?void 0:r.imageId)?p.j.getUrlById(e.imageCdnUrl,u.__.TallPosters,e.metadata.imageId,u.h2.Medium):""}}}(e),i=Oe.d.getCustomAppLink(e);return a.createElement("div",null,a.createElement(L.k,{name:e.name,appLink:i,description:e.description,type:x.l9.Row,contents:T.z.Subjects,collection:n?[n].concat((t=e.content,function(e){if(Array.isArray(e))return Zn(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Zn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):e.content,childComponent:zn,extraChildComponentProps:{audiences:e.audiences},getChildAppLink:function(t){var n,a,i,r;return t.id?t.id===Yn?null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.allTopics)||void 0===a?void 0:a.call(n,e.presentation.id):null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.classification)||void 0===r?void 0:r.call(i,t):null},analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight}))}function Kn(e){var t;return a.createElement("div",null,a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.SmallSeries,collection:e.content,childComponent:Rn,extraChildComponentProps:{audiences:e.audiences,isSmall:!0},getChildAppLink:null===(t=e.appLinks)||void 0===t?void 0:t.series,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight}))}var Jn=n(56097);function Qn(e){var t=Ce.m.first(e.content),n=t.question,i=t.answer;return a.createElement(Jn.$,{id:e.id,answer:i,question:n,isBot:e.isBot,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions})}const $n={question:"G1OXf",padding:"Jg3am",partialQuestion:"tWUKI",description:"z5LRc"};function Xn(){return a.createElement("div",{className:"".concat($n.partialQuestion," ").concat($n.padding," rounded-2 mb-2")},a.createElement("div",{className:"partial-loading-background",style:{height:"1.5rem",width:"75%"}}))}var ea=n(16367),ta=n(57900),na=n(10038),aa=n(52108);function ia(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,l=[],c=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ra(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ra(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var oa="0px";function la(e){var t,n,i,r,o,d=ia((0,jt.D)("should:expand:".concat(e.id),e.isBot,{storage:ta.Z1.LocalStorage}),2),u=d[0],m=d[1],p=ia(a.useState(u?"100%":oa),2),g=p[0],f=p[1],y=ia(a.useState(ea(null!==(n=null===(t=e.faq)||void 0===t?void 0:t.answer)&&void 0!==n?n:"",{renderer:aa.M.getSeoWidgetRenderer()})),2),h=y[0],b=y[1],E=a.useRef(null),k=a.useRef(null);function L(){f(oa),m(!1)}return a.useEffect((function(){var t,n,a=ea(null!==(n=null===(t=e.faq)||void 0===t?void 0:t.answer)&&void 0!==n?n:"",{renderer:aa.M.getSeoWidgetRenderer()});h!==a&&(h&&u&&L(),b(a))}),[null===(i=e.faq)||void 0===i?void 0:i.answer]),(0,na.H)((function(){u&&L()}),null,[u]),a.useEffect((function(){"100%"===g&&k.current&&f(k.current.clientHeight+"px")}),[g]),(null===(r=e.faq)||void 0===r?void 0:r.question)&&(null===(o=e.faq)||void 0===o?void 0:o.answer)?a.createElement(ge.L,{onClick:function(t){var n;aa.M.isLink(t.target)||0===window.getSelection().toString().length&&(l.k.logUserAction(Object.assign(Object.assign(Object.assign({},e.analyticsData),e.faq),{questionIndex:e.index}),Object.assign(Object.assign({},e.analyticsOptions),{entity:c.py.Faq,actionType:c.Vw.Click,descriptor:u?c._S.Collapse:c._S.Expand,location:c.LZ.FaqQuestionAccordionWidget})),u?L():((n=document.createElement("p")).innerHTML=h,n.style.visibility="hidden",n.classList.add("py-1"),E.current.appendChild(n),f("".concat(n.clientHeight-10,"px")),E.current.removeChild(n),m(!0)))},className:"".concat($n.question," rounded-2")},a.createElement("div",{className:"d-flex align-items-center ".concat($n.padding)},a.createElement("div",{className:"rounded-circle bg-white me-2"},a.createElement(s.x,{svgName:u?v.vn.Minus:v.vn.Plus})),a.createElement("h3",{className:"mb-0 font-size-normal fw-normal"},e.faq.question)),a.createElement("div",{className:"".concat($n.description),style:{height:g}},a.createElement("p",{className:"mb-0 py-1",dangerouslySetInnerHTML:{__html:h},ref:k}),a.createElement("div",{ref:E}))):a.createElement(a.Fragment,null)}function ca(e){return e.content.length?a.createElement(a.Fragment,null,a.createElement("h2",{className:"curated-widget-heading"},e.name),a.createElement("ul",{className:"list-unstyled mb-n2"},e.content.map((function(t,n){return a.createElement("li",{className:"mb-2",key:n},a.createElement(la,{key:n,id:"".concat(e.id,":").concat(n),faq:t,index:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,isBot:e.isBot}))})))):a.createElement(a.Fragment,null)}const sa={container:"wzt8R",bellContainer:"X7Jgx",bell:"HoKe4",followed:"Pdmdk",bellOutline:"bEQDk",cover:"luOU3",subText:"p0kUV"};function da(){return a.createElement("div",{className:"d-flex"},a.createElement("div",{className:"".concat(sa.cover," me-2 rounded overflow-hidden border rounded d-inline-block")},a.createElement("div",{className:sa.partialIcon},a.createElement(Gn.oy,{type:Gn.mS.Subject}))),a.createElement("div",{className:"d-inline-block",style:{flexBasis:"50%"}},a.createElement("div",{className:"partial-loading-background mt-1",style:{height:"19px",width:"100%"}}),a.createElement("div",{className:"partial-loading-background mt-1",style:{height:"16.5px",width:"75%"}})))}var ua=n(2284);const ma={isNew:"KLRzE",newVideos:"xozwy",badge:"NWZxu",icon:"G9W_I"};var pa=R.T.encloseNamespace("shared.subjectStatsBadge");function va(e){var t=function(){var t;if(e.classification.status===ua.W.ComingSoon)return"coming-soon";var n=e.classification.datePublished;return n&&o.O.timeSince(n,"day")<=30?"new-topic":(null===(t=e.classification.externalMetadata)||void 0===t?void 0:t.dashboardNewVideoCount)>0?"new-videos":null}();return a.createElement("div",{className:function(){var e="fw-semibold d-inline-block rounded-pill px-2 ".concat(ma.badge);switch(t){case"coming-soon":return e+" bg-light ps-1 d-inline-flex align-items-center";case"new-topic":return e+" ".concat(ma.isNew);case"new-videos":return e+" ".concat(ma.newVideos);default:return""}}()},"coming-soon"===t&&a.createElement(s.x,{svgName:v.vn.Timer,className:"svg-container ".concat(ma.icon)}),function(){var n;switch(t){case"coming-soon":return pa("comingSoon");case"new-topic":return pa("new");case"new-videos":return pa("newVideos",{smartCount:null===(n=e.classification.externalMetadata)||void 0===n?void 0:n.dashboardNewVideoCount});default:return""}}())}var ga=R.T.encloseNamespace("shared.subjectStatsWidgetItem");function fa(e){var t,n,i,r,o,l,d,m=(null===(t=e.classification)||void 0===t?void 0:t.status)===ua.W.ComingSoon,p=ot.i.isFollowing(e.classification),g=function(){var t,n,a,i,r="";return(null===(t=e.classification.externalMetadata)||void 0===t?void 0:t.dashboardVideoCount)&&(r+="".concat(ga("videos",{smartCount:null===(n=e.classification.externalMetadata)||void 0===n?void 0:n.dashboardVideoCount})," ")),(null===(a=e.classification.externalMetadata)||void 0===a?void 0:a.dashboardResourceCount)&&(r+=" • ".concat(ga("resources",{smartCount:null===(i=e.classification.externalMetadata)||void 0===i?void 0:i.dashboardResourceCount}))),r}();return a.createElement(w.F,{className:"d-flex no-decoration rounded ".concat(sa.container),appLink:null===(n=e.getAppLink)||void 0===n?void 0:n.call(e,e.classification),analyticsData:Object.assign(Object.assign({},e.analyticsData),{id:null===(i=e.classification)||void 0===i?void 0:i.id,name:null===(r=e.classification)||void 0===r?void 0:r.name,presentationId:e.classification.presentationId,comingSoon:!!m,dashboardVideoCount:null===(o=e.classification.externalMetadata)||void 0===o?void 0:o.dashboardVideoCount,dashboardResourceCount:null===(l=e.classification.externalMetadata)||void 0===l?void 0:l.dashboardResourceCount,dashboardNewVideoCount:null===(d=e.classification.externalMetadata)||void 0===d?void 0:d.dashboardNewVideoCount,datePublished:e.classification.datePublished}),analyticsOptions:Object.assign(Object.assign({location:c.LZ.SubjectStatsWidgetItem},e.analyticsOptions),{actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Cover})},a.createElement("div",{className:"".concat(sa.cover," me-2 rounded overflow-hidden")},a.createElement(Wn.Z,{data:e.classification.cover,imageOptions:{size:u.h2.Medium},imageClassName:m?"opacity-50":""},e.canFollowTopics&&a.createElement(ge.L,{onClick:function(t){var n;t.stopPropagation(),t.preventDefault(),e.canFollowTopics&&(null===(n=e.onToggleFollowClassification)||void 0===n||n.call(e,e.classification,c.LZ.SubjectStatsWidgetItem))},className:"\n align-items-center justify-content-center cursor-pointer\n ".concat(sa.bellContainer," ").concat(p?sa.followed:"","\n ")},a.createElement(s.x,{svgName:v.vn.BellFilled,className:"svg-container ".concat(sa.bell)}),a.createElement(s.x,{svgName:v.vn.Bell,className:"svg-container ".concat(sa.bellOutline)})))),a.createElement("div",null,a.createElement("h3",{className:"h6 mb-0 clamp-2 mt-1"},e.classification.name),!!g&&a.createElement("p",{className:"mb-0 ".concat(sa.subText)},g),a.createElement(va,{classification:e.classification})))}function ya(e){var t=e.hasPermissions(Se.C.FollowSubjects)&&!!e.onToggleFollowClassification;return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement(P.Z,{className:"mb-n2"},e.content.map((function(n){var i;return a.createElement(A.Z,{className:"position-relative pb-2",key:n.id,xs:12,sm:6,lg:e.hasTableOfContents?6:4,xl:4},a.createElement(fa,{classification:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,getAppLink:null===(i=e.appLinks)||void 0===i?void 0:i.classification,onToggleFollowClassification:e.onToggleFollowClassification,canFollowTopics:t}))}))))}function ha(){return a.createElement("div",{className:"partial-loading-background rounded-pill me-2",style:{height:"2.5rem",width:"9.375rem"}})}function ba(){return a.createElement("div",{className:"d-flex align-items-center mw-100"},a.createElement(ha,null),a.createElement(ha,null))}var Ea=n(43889);function ka(e){var t,n,i,r,o,l,c=e.content[0];return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement(Ea.J,{video:c,presentationAudiences:e.audiences,getVideoAppLink:null===(t=e.appLinks)||void 0===t?void 0:t.videoType,subTextAppLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.subText)||void 0===i?void 0:i.call(n,c),setFavourite:e.setFavourite,canFavourite:e.canFavourite,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,hideInteractiveBadge:!0,showVideoGuidance:Xt.M.showVideoGuidance(e.hasPermissions),yearGroups:e.yearGroups,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:e.subTextType,imageCdnUrl:e.imageCdnUrl,isPlugin:e.isPlugin,getInteractiveGuidanceAppLink:null===(r=e.appLinks)||void 0===r?void 0:r.interactiveGuidance,getResourceGuidanceAppLink:null===(o=e.appLinks)||void 0===o?void 0:o.resourceGuidance,getClassroomGuideAppLink:null===(l=e.appLinks)||void 0===l?void 0:l.classroomGuide}))}function La(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}const wa="OZATG",Sa="hcAU2",Ca="Tbieu",Oa="mGGrd",Ta="VtzxT",xa="jrY7R",Na="yAgR6",Ia="RjJ7O",ja="TJ7Sl",Da="yzmvY",Pa="hGi43";function Aa(e){var t,n,i,r=p.j.createUrl(null===(t=e.data.cover)||void 0===t?void 0:t.url,{size:u.h2.Small}),o=p.j.createUrl(null===(n=e.data.thumbnail)||void 0===n?void 0:n.url,{size:u.h2.Medium}),l={backgroundColor:null===(i=e.data.metadata)||void 0===i?void 0:i.backgroundColor};return o&&(l.backgroundImage="url('".concat(o,"')")),a.createElement("div",{className:"d-flex position-relative rounded-3 h-100 ".concat(Sa," ").concat(e.isLarge?Ca:Oa),style:l},a.createElement("div",{className:"".concat(Ta)},a.createElement("div",{className:"".concat(xa)},a.createElement("p",{className:"".concat(Na," h4 text-shadow ").concat(e.isLarge?"text-nowrap text-truncate":"text-wrap clamp-3")},e.data.name),e.isLarge&&a.createElement("div",{className:"text-start text-shadow ".concat(Ia)},a.createElement("p",{className:Da},e.data.description))),e.isLarge&&a.createElement("div",{className:Pa},a.createElement("div",{className:"".concat(!e.appLink&&"cursor-default"," btn btn-outline-dark")},R.T.getPhrase("shared.subjectThumbnailWidgetItem","buttonLabel")))),!o&&!!r&&a.createElement("div",{className:"".concat(ja),style:{backgroundImage:"url('".concat(r,"')")}}))}var Ma=a.memo((function(e){var t,n,i,r,o=(null===(t=e.data)||void 0===t?void 0:t.status)===ua.W.ComingSoon,l=Object.assign(Object.assign({},e.analyticsData),{id:null===(n=e.data)||void 0===n?void 0:n.id,name:null===(i=e.data)||void 0===i?void 0:i.name,presentationId:null===(r=e.data)||void 0===r?void 0:r.presentationId,comingSoon:!!o}),s=Object.assign(Object.assign({location:c.LZ.ClassificationListItem},e.analyticsOptions),{actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Thumbnail});return e.appLink?a.createElement(w.F,{className:wa,appLink:e.appLink,analyticsData:l,analyticsOptions:s},a.createElement(Aa,Object.assign({},e))):a.createElement(Aa,Object.assign({},e))}));function Fa(e){return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement(P.Z,{as:"ul",className:"list-unstyled mx-n1 mb-n2"},e.content.map((function(t){var n,i;return a.createElement(A.Z,{as:"li",key:t.id,sm:12,md:6,className:"px-1 pb-2"},a.createElement(Ma,{data:t,appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.classification)||void 0===i?void 0:i.call(n,t),isLarge:!0,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}))}))))}const Ra="HwejH";var Va=function(){return a.createElement("div",{className:"mt-2"},a.createElement("div",{style:{height:"1.4rem"}},a.createElement("div",{className:"partial-loading-background",style:{height:"1.1rem",width:"12rem"}})),a.createElement("div",{className:"partial-loading-background",style:{height:"1.33875rem",width:"15rem"}}))},Ha=n(39802),Ba=n(99131);const _a={guidance:"uCRU1",responsiveGuidance:"iwav4"};function Wa(e){var t,n,i,r,o,l,s,d,m=null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.videoType)||void 0===n?void 0:n.call(t,e.video,{}),p=Xt.M.isVideo(e.video)&&(null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.subText)||void 0===r?void 0:r.call(i,e.video)),v=a.useRef(null),g={actionType:c.Vw.Click,entity:Xt.M.getAnalyticsEntity(e.video),location:c.LZ.ThumbnailFixedListMediaLargeWidget,descriptor:c._S.Thumbnail},f=(0,Nn.n)(null===(o=e.video.subjectPresentationAudiences)||void 0===o?void 0:o.data,e.audiences);return a.createElement("div",{className:"col-md-6"},a.createElement("div",{ref:v},a.createElement(Ze.u,{analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),g),video:e.video,appLink:m,imageOptions:{size:u.h2.Medium},textPosition:xn.z.Independent,type:"static",setFavourite:e.setFavourite,canFavourite:e.canFavourite,audience:f,hideRating:!!f,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:"none",isPlugin:e.isPlugin})),a.createElement(Ha.h,{video:e.video,appLink:m,subTextAppLink:p,yearGroups:e.yearGroups,subTextType:e.subTextType}),Xt.M.showVideoGuidance(e.hasPermissions)&&a.createElement(Ba.u,{getClassroomGuideAppLink:null===(l=e.appLinks)||void 0===l?void 0:l.classroomGuide,getResourceGuidanceAppLink:null===(s=e.appLinks)||void 0===s?void 0:s.resourceGuidance,getInteractiveGuidanceAppLink:null===(d=e.appLinks)||void 0===d?void 0:d.interactiveGuidance,video:e.video,analyticsData:e.analyticsData,analyticsOptions:g,responsiveClassName:_a.responsiveGuidance,containerClassName:"d-flex justify-content-start align-items-center pt-1 ".concat(_a.guidance)}))}function Ga(e){return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement("div",{className:"row ".concat("KItVW")},e.content.map((function(t){return a.createElement(Wa,Object.assign({key:t.id,video:t},e))}))))}function za(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function Ua(e){return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement(P.Z,{as:"ul",className:"list-unstyled mx-n1 mb-n2"},e.content.map((function(t){var n,i;return a.createElement(A.Z,{as:"li",key:t.id,lg:4,md:6,sm:6,xs:12,className:"px-1 pb-2"},a.createElement(Ma,{data:t,appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.classification)||void 0===i?void 0:i.call(n,t),analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}))}))))}function Za(e){var t,n,i,r,o,l,s=Ce.m.first(e.content),d=p.j.createUrl(null===(t=s.thumbnail)||void 0===t?void 0:t.url,{size:u.h2.Medium}),m=null===(n=s.metadata)||void 0===n?void 0:n.backgroundColor,v={backgroundColor:m};d&&(v.backgroundImage="url('".concat(d,"')"));var g=Object.assign(Object.assign({},e.analyticsData),{id:s.id,name:s.name,presentationId:s.presentationId}),f=Object.assign(Object.assign({},e.analyticsOptions),{location:c.LZ.ClassificationListItem,actionType:c.Vw.Click,entity:c.py.Classification,descriptor:c._S.Thumbnail});return d&&m?a.createElement(a.Fragment,null,a.createElement(w.F,{appLink:null===(r=null===(i=e.appLinks)||void 0===i?void 0:i.classification)||void 0===r?void 0:r.call(i,s),className:"text-decoration-none",analyticsData:g,analyticsOptions:f},a.createElement("div",{className:"d-flex position-relative rounded-3 h-100 ".concat("EkoYD"),style:v},a.createElement("div",{className:"".concat("SSmWX")},a.createElement("div",{className:"".concat("vEXH2")},a.createElement("h2",{className:"".concat("bMbF2"," text-decoration-none h4 text-nowrap text-truncate")},e.name),a.createElement("div",{className:"text-start ".concat("gDFxm")},a.createElement("p",{className:"clamp-3"},s.description))),a.createElement("div",null,a.createElement("div",{className:"btn btn-outline-dark text-nowrap"},(null===(l=null===(o=e.metadata)||void 0===o?void 0:o.cta)||void 0===l?void 0:l.text)||R.T.getPhrase("shared.thumbnailFixedListXLarge","buttonLabel"))))))):a.createElement(ht,Object.assign({},e))}var Ya=n(38647),qa=n(17034);function Ka(e){var t,n,i,r,o,s,d,m,p,v,g,f,y=e.content[0],h=a.useRef(),b=(0,Nn.n)(null===(t=y.subjectPresentationAudiences)||void 0===t?void 0:t.data,e.audiences),E=Xt.M.hasSeries(y)||Oe.d.isCompanyWidget(e.widgetTypeId),k=l.k.mergeOptions(e.analyticsOptions,{actionType:c.Vw.Click,entity:Xt.M.getAnalyticsEntity(y),location:c.LZ.ThumbnailHeroMediaWidget}),L=Xt.M.getCanBeConsumed(y).canNavigate;return y?a.createElement("div",null,a.createElement(ne.B,{name:e.name,description:e.description}),a.createElement("div",{ref:h},a.createElement(Ze.u,{video:y,imageOptions:{size:u.h2.Large},type:"static",textPosition:xn.z.Independent,analyticsOptions:k,audience:b,hideRating:!!b,appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===i?void 0:i.call(n,y,{}),subTextAppLink:null===(o=null===(r=e.appLinks)||void 0===r?void 0:r.subText)||void 0===o?void 0:o.call(r,y),setFavourite:e.setFavourite,canFavourite:e.canFavourite,companyLogoFallbackUrl:e.companyLogoFallbackUrl,subTextType:"none",isPlugin:e.isPlugin})),a.createElement("div",{className:"RmYET"},a.createElement("div",null,Xt.M.isVideo(y)&&a.createElement(qa.$,{type:Oe.d.isCompanyWidget(e.widgetTypeId)?"productionCompany":e.subTextType,video:y,appLink:null===(d=null===(s=e.appLinks)||void 0===s?void 0:s.subText)||void 0===d?void 0:d.call(s,y),analyticsOptions:k,className:"mt-2 ".concat("zmtsM")}),a.createElement("div",{className:E?"":"mt-2"},a.createElement(w.F,{appLink:null===(p=null===(m=e.appLinks)||void 0===m?void 0:m.videoType)||void 0===p?void 0:p.call(m,y,{}),analyticsData:{id:y.id,name:y.name},analyticsOptions:Object.assign(Object.assign({},k),{descriptor:c._S.Title}),className:"d-inline-block ".concat(L?"":"cursor-default text-decoration-none disabled"),disabled:!L},a.createElement("h3",{className:"h4 mb-0"},y.name,a.createElement(Ya.m,{video:y,yearGroups:e.yearGroups}))))),Xt.M.showVideoGuidance(e.hasPermissions)&&a.createElement(Ba.u,{getClassroomGuideAppLink:null===(v=e.appLinks)||void 0===v?void 0:v.classroomGuide,getResourceGuidanceAppLink:null===(g=e.appLinks)||void 0===g?void 0:g.resourceGuidance,getInteractiveGuidanceAppLink:null===(f=e.appLinks)||void 0===f?void 0:f.interactiveGuidance,video:y,analyticsData:e.analyticsData,analyticsOptions:k,responsiveClassName:"RoK8y",containerClassName:"d-flex mt-2 ".concat("EQXKD")}))):a.createElement(a.Fragment,null)}function Ja(e){var t,n;return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.LargeRow,contents:T.z.Videos,collection:e.content,childComponent:Ke,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite},getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{})},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLink:null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.widgetVideoList)||void 0===n?void 0:n.call(t,e.id,e.name)})}function Qa(e){var t,n;return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.Videos,collection:e.content,childComponent:Ke,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite},getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{})},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLink:null===(n=null===(t=e.appLinks)||void 0===t?void 0:t.widgetVideoList)||void 0===n?void 0:n.call(t,e.id,e.name)})}var $a=n(74237),Xa=n(84342);var ei=a.memo((function(e){var t,n,i,r=null===(n=null===(t=e.data)||void 0===t?void 0:t.subjectPresentationAudiences)||void 0===n?void 0:n.data,o=(0,Nn.n)(r,e.presentationAudiences);return a.createElement("div",{className:"px-1 flex-shrink-0 position-relative ".concat("YY2CD")},a.createElement(Ze.u,{video:e.data,type:"static",appLink:e.getAppLink(e.data),subTextAppLink:Xt.M.isVideo(e.data)&&(null===(i=e.getSubTextAppLink)||void 0===i?void 0:i.call(e,e.data.series)),imageOptions:{size:e.thumbnailSize},preload:e.preloadImage,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,setFavourite:e.setFavourite,canFavourite:e.canFavourite,subTextType:e.subTextType,textPosition:xn.z.Below,audience:o,hideRating:!!o,hideDuration:!1,isPlugin:e.isPlugin}))}));function ti(e){return Xt.M.isVideoType(e.data)?a.createElement(ei,Object.assign({},e)):a.createElement(Xa.R,Object.assign({},e,{location:"dashboard",onClickDownload:function(t,n){t.preventDefault(),t.stopPropagation(),$a.T.downloadResource(n,e.analyticsData,e.analyticsOptions)}}))}function ni(e){var t,n,i,r=e.hasLocalPermissions(Se.E.ViewVideoResourceItems);return a.createElement(L.k,{name:e.name,description:e.description,type:x.l9.Row,contents:T.z.Videos,collection:e.content,childComponent:ti,extraChildComponentProps:{setFavourite:e.setFavourite,canFavourite:e.canFavourite,imageCdnUrl:e.imageCdnUrl,imageErrorFallbackUrl:e.resourceThumbnailFallbackImageUrl,getSubTextAppLink:null===(t=e.appLinks)||void 0===t?void 0:t.series,location:"dashboard",titlePosition:"below",actionBehaviour:r?"normal":"public",presentationAudiences:e.audiences,subTextType:"series",isPlugin:e.isPlugin},getChildAppLink:function(t){var n,a,i,o;return Xt.M.isVideoType(t)?null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.videoType)||void 0===a?void 0:a.call(n,t,{}):null===(o=null===(i=e.appLinks)||void 0===i?void 0:i.resource)||void 0===o?void 0:o.call(i,t,t.parentId,r)},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLink:null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.widgetVideoList)||void 0===i?void 0:i.call(n,e.id,e.name)})}var ai=n(71471),ii=n(24546);function ri(e){var t,n,i,r;return a.createElement(a.Fragment,null,a.createElement(ne.B,{name:!e.metadata.hideWidgetHeading&&e.name,description:!e.metadata.hideWidgetDescription&&e.description}),a.createElement(ii.E4,{videos:e.content,getVideoAppLink:null===(t=e.appLinks)||void 0===t?void 0:t.videoType,getSubTextAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.company)||void 0===a?void 0:a.call(n,t)},hasPermissions:e.hasPermissions,subTextType:"productionCompany",getPreviewQuestionsAppLink:function(){return null},presentationAudiences:e.audiences,isPlugin:e.isPlugin,getClassroomGuideAppLink:null===(n=e.appLinks)||void 0===n?void 0:n.classroomGuide,getResourceGuidanceAppLink:null===(i=e.appLinks)||void 0===i?void 0:i.resourceGuidance,getInteractiveGuidanceAppLink:null===(r=e.appLinks)||void 0===r?void 0:r.interactiveGuidance}))}var oi,li=n(12754),ci=n(78479);function si(e){return si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},si(e)}function di(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=si(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=si(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==si(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ui=(di(di(di(di(di(di(di(di(di(di(oi={},ci.f.ThumbnailHeroMedia,{getComponent:function(){return Ka},partialLoading:function(){return a.createElement("div",null,a.createElement("div",{className:"w-100 partial-loading-background rounded-3",style:{paddingBottom:"56.25%"}}),a.createElement("div",{className:"KjaI4"},a.createElement("div",null,a.createElement("div",{style:{height:"1.5rem"}},a.createElement("div",{className:"partial-loading-background",style:{height:"1.2rem",width:"12rem"}})),a.createElement("div",{className:"partial-loading-background",style:{height:"1.5625rem",width:"15rem"}})),a.createElement("div",{className:"pt-2 mw-100"},a.createElement(ba,null))))},icon:v.vn.WidgetTemplateThumbnailHeroMedia,predicate:function(e){var t=e.targetType;return[x.ku.Classification,x.ku.Discover,x.ku.Company].includes(t)},className:""}),ci.f.PosterSlidingListLarge,{getComponent:function(){return Vn},partialLoading:function(){var e,t,n=(e=(0,j.k)()).xs?2:e.sm?3:4;return a.createElement(a.Fragment,null,a.createElement(I.l,null),a.createElement("div",{className:"row mb-n2"},(t=Array(n),function(e){if(Array.isArray(e))return Mn(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Mn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mn(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return a.createElement("div",{key:t,className:"col-6 col-sm-4 col-md-3 col-lg-3 pb-2"},a.createElement("div",{className:"".concat(An.partialLoading," partial-loading-background rounded-3")}))}))))},icon:v.vn.WidgetTemplatePosterSlidingListLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.MoviesAndTv,x.ku.Company].includes(t)},className:""}),ci.f.PosterSlidingListMedium,{getComponent:function(){return Un},partialLoading:function(){return a.createElement(_n,{type:x.l9.LargeRow})},icon:v.vn.WidgetTemplatePosterSlidingListMedium,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.MoviesAndTv,x.ku.Company].includes(t)},className:""}),ci.f.PosterSlidingListSmall,{getComponent:function(e){switch(e){case Lt.z.CuratedClassifications:return qn;case Lt.z.CuratedSeries:return Kn;default:return qn}},partialLoading:function(){return a.createElement(_n,{type:x.l9.Row})},icon:v.vn.WidgetTemplatePosterSlidingListSmall,predicate:function(e){var t=e.targetType,n=e.widgetTypeId;if(e.product===li.x.StreamableLearning)return!1;switch(n){case Lt.z.CuratedClassifications:return[x.ku.Classification,x.ku.Discover,x.ku.MoviesAndTv].includes(t);case Lt.z.CuratedSeries:return[x.ku.MoviesAndTv,x.ku.Company].includes(t);default:return!1}},className:""}),ci.f.ThumbnailFeaturedMedia,{getComponent:function(){return ka},partialLoading:function(){return a.createElement(a.Fragment,null,a.createElement(P.Z,null,a.createElement(A.Z,{xs:12,md:6},a.createElement("div",{className:"".concat("P3cF6"," partial-loading-background rounded-3")})),a.createElement(A.Z,{xs:12,md:6},a.createElement("div",{className:"J5CAD"},a.createElement("div",null,a.createElement("div",{style:{height:"1.5rem"}},a.createElement("div",{className:"partial-loading-background",style:{height:"1.2rem",width:"12rem"}})),a.createElement("div",{className:"partial-loading-background",style:{height:"1.5625rem",width:"15rem"}})),a.createElement("div",{className:"pt-2 mw-100"},a.createElement(ba,null))))))},icon:v.vn.WidgetTemplateThumbnailFeaturedMedia,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company].includes(t)},className:""}),ci.f.CoverFixedPillListLarge,{getComponent:function(){return D.K},partialLoading:function(){return a.createElement("div",{className:"py-2"},a.createElement(I.l,null),a.createElement(P.Z,{className:"g-0"},Array(5).fill(null).map((function(e,t){return a.createElement(A.Z,{key:t,xs:12,sm:6,lg:4},a.createElement("div",{className:"position-relative mb-2"},a.createElement(M.Ml,null)))}))))},icon:v.vn.WidgetTemplateCoverFixedPillListLarge,predicate:function(e){var t=e.targetType;return e.product===li.x.StreamableLearning?[x.ku.Classification].includes(t):[x.ku.Classification,x.ku.Discover].includes(t)},className:""}),ci.f.StatsCoverFixedPillListLarge,{getComponent:function(){return ya},partialLoading:function(){return a.createElement("div",{className:"py-2"},a.createElement(I.l,null),a.createElement(P.Z,{className:"g-0"},Array(6).fill(null).map((function(e,t){return a.createElement(A.Z,{key:t,xs:12,sm:6,lg:4},a.createElement("div",{className:"position-relative mb-2"},a.createElement(da,null)))}))))},icon:v.vn.WidgetTemplateStatsCoverFixedPillListLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&t===x.ku.ClassificationDirectory},className:""}),ci.f.CoverFixedPillListXSmall,{getComponent:function(){return ee},partialLoading:function(){return a.createElement("div",{className:"".concat(X.background," px-4 py-3 rounded-3 mb-3")},a.createElement("div",{className:"partial-loading-background mb-2",style:{height:"1.35rem",width:"8rem"}}),a.createElement(P.Z,{className:"mb-2 ".concat(X.row)},Array(8).fill(null).map((function(e,t){return a.createElement(A.Z,{key:t,xs:12,sm:6,lg:4},a.createElement("div",{className:"d-flex align-items-center mb-2"},a.createElement("div",{className:"partial-loading-background me-2 rounded",style:{width:"2rem",height:"2rem"}}),a.createElement("div",{className:"partial-loading-background",style:{width:"5rem",height:"1.3125rem"}})))}))))},icon:v.vn.WidgetTemplateCoverFixedPillListXSmall,predicate:function(e){var t=e.targetType;return e.product===li.x.StreamableLearning?[x.ku.Discover].includes(t):[x.ku.Classification,x.ku.Discover].includes(t)},className:""}),ci.f.CoverSlidingPillListSmall,{getComponent:function(){return ue},partialLoading:function(){return a.createElement("div",{className:"py-2"},a.createElement(I.l,null),a.createElement(me.QL,{partialLoadingComponent:M.Qh}))},icon:v.vn.WidgetTemplateCoverSlidingPillListSmall,predicate:function(e){var t=e.targetType,n=e.widgetTypeId;return e.product===li.x.StreamableLearning?n!==Lt.z.Classifications&&[x.ku.Discover,x.ku.Company,x.ku.Classification].includes(t):[x.ku.Classification,x.ku.Discover,x.ku.MoviesAndTv,x.ku.Company].includes(t)},className:""}),ci.f.CoverFixedTileList,{getComponent:function(){return ie},partialLoading:function(){return a.createElement(a.Fragment,null,a.createElement(I.l,null),a.createElement(te.YA,{itemClassName:"columns-of-five"}))},icon:v.vn.WidgetTemplateCoverFixedTileList,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company].includes(t)},className:""}),di(di(di(di(di(di(di(di(di(di(oi,ci.f.FeaturedThumbnailSlidingList,{getComponent:function(){return $e},partialLoading:function(){return a.createElement("div",null,a.createElement("div",{className:"banner rounded-3 position-relative partial-loading-background ".concat(Je," ").concat(Qe," mb-1 ")}),a.createElement(Pe.j7,{hideDescription:!0,hideHeading:!0}))},icon:v.vn.WidgetTemplateFeaturedThumbnailSlidingList,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover].includes(t)},className:""}),ci.f.HeroBanner,{getComponent:function(){return ht},partialLoading:kt,icon:v.vn.WidgetTemplateHeroBanner,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover].includes(t)},className:""}),ci.f.OnboardingSteps,{getComponent:function(){return On},partialLoading:kt,icon:v.vn.WidgetTemplateOnboardingSteps,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Discover].includes(t)},className:""}),ci.f.HeroBannerSmall,{getComponent:function(){return Ot},partialLoading:Tt,icon:v.vn.WidgetTemplateHeroBannerSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.HeroThumbnailSmall,{getComponent:function(){return Nt},partialLoading:function(){return a.createElement(Tt,null)},icon:v.vn.WidgetTemplateHeroThumbnailSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.HeroBlockColourSmall,{getComponent:function(){return xt},partialLoading:function(){return a.createElement(Tt,null)},icon:v.vn.WidgetTemplateHeroBlockColourSmall,predicate:function(e){var t=e.targetType,n=e.product,a=e.isTopLevelClassification;return n!==li.x.StreamableLearning&&!!a&&[x.ku.Classification,x.ku.ClassificationDirectory,x.ku.ClassificationVideos].includes(t)},className:""}),ci.f.ThumbnailFixedListXLarge,{getComponent:function(){return Za},partialLoading:function(){return a.createElement(kt,null)},icon:v.vn.WidgetTemplateThumbnailFixedListXLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.ThumbnailFixedListLarge,{getComponent:function(){return Fa},partialLoading:function(){var e,t=function(e){if(Array.isArray(e))return La(e)}(e=Array(2))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return La(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?La(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return a.createElement("div",null,a.createElement(I.l,null),a.createElement(P.Z,{className:"mx-n1"},t.map((function(e,t){return a.createElement(A.Z,{key:t,sm:12,md:6,className:"p-1"},a.createElement("div",{className:"".concat("pRXSM"," partial-loading-background rounded-3")}))}))))},icon:v.vn.WidgetTemplateThumbnailFixedListLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.ThumbnailFixedListSmall,{getComponent:function(){return Ua},partialLoading:function(){var e,t=function(e){if(Array.isArray(e))return za(e)}(e=Array(3))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return za(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?za(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return a.createElement(a.Fragment,null,a.createElement(I.l,null),a.createElement(P.Z,{className:"mx-n1 "},t.map((function(e,t){return a.createElement(A.Z,{key:t,lg:4,md:6,sm:6,xs:12,className:"p-1"},a.createElement("div",{className:"".concat("SNBRD"," partial-loading-background rounded-3")}))}))))},icon:v.vn.WidgetTemplateThumbnailFixedListSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.EditableCoverFixedPillListSmall,{getComponent:function(){return De},partialLoading:function(){return a.createElement("div",{className:"py-2"},a.createElement("div",{className:"partial-loading-background mb-2 ".concat("hjdMb")}),a.createElement(P.Z,{className:"g-0"},Array(7).fill(null).map((function(e,t){return a.createElement(A.Z,{key:t,sm:6,lg:4},a.createElement("div",{className:"position-relative mb-2"},a.createElement(M.Qh,null)))}))))},icon:v.vn.WidgetTemplateEditableCoverFixedPillListSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Discover].includes(t)},className:""}),di(di(di(di(di(di(di(di(di(di(oi,ci.f.Heading,{getComponent:function(){return st},partialLoading:function(){return a.createElement("div",{className:"curated-widget-header"},a.createElement("div",{className:"partial-loading-background curated-widget-heading",style:{height:"2.099625rem",width:"16.5rem",maxWidth:"80%"}}," "),a.createElement("div",{className:"partial-loading-background description curated-widget-description",style:{width:"21rem",height:"1.3125rem",maxWidth:"90%"}}," "))},icon:v.vn.WidgetTemplateHeading,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.ClassificationDirectory,x.ku.Discover].includes(t)},className:"heading-widget-template"}),ci.f.AuthorReviewer,{getComponent:function(){return E},partialLoading:function(){return a.createElement("div",{className:"row mb-n3"},a.createElement("div",{className:"col-12 col-md-6 mb-3"},a.createElement(k,null)),a.createElement("div",{className:"col-12 col-md-6 mb-3"},a.createElement(k,null)))},icon:v.vn.WidgetTemplateAuthorReviewer,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification].includes(t)},className:""}),ci.f.Question,{getComponent:function(){return Qn},partialLoading:function(){return a.createElement("div",{className:"".concat("QrLg2"," rounded-3")},a.createElement("div",{className:"mb-2 partial-loading-background",style:{height:"1.5rem",width:"75%"}}),a.createElement("div",{className:"partial-loading-background",style:{height:"1.2rem",width:"100%"}}))},icon:v.vn.WidgetTemplateQuestion,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification].includes(t)},className:""}),ci.f.QuestionAccordion,{getComponent:function(){return ca},partialLoading:function(){return a.createElement(a.Fragment,null,a.createElement("div",{className:"partial-loading-background mb-2",style:{height:"2rem",width:"30%"}}),a.createElement("div",{className:"mb-n2"},a.createElement(Xn,null),a.createElement(Xn,null),a.createElement(Xn,null)))},icon:v.vn.WidgetTemplateQuestionAccordion,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification].includes(t)},className:""}),ci.f.ThumbnailFixedListMediaLarge,{getComponent:function(){return Ga},partialLoading:function(){return a.createElement(a.Fragment,null,a.createElement(I.l,null),a.createElement("div",{className:"row ".concat("hk2Ed")},a.createElement("div",{className:"col-sm-12 col-md-6"},a.createElement("div",{className:"".concat(Ra," partial-loading-background rounded-3")}),a.createElement(Va,null),a.createElement("div",{className:"pt-1 mw-100"},a.createElement(ba,null))),a.createElement("div",{className:"col-sm-12 col-md-6"},a.createElement("div",{className:"".concat(Ra," partial-loading-background rounded-3")}),a.createElement(Va,null),a.createElement("div",{className:"pt-1 mw-100"},a.createElement(ba,null)))))},icon:v.vn.WidgetTemplateThumbnailFixedListMediaLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company].includes(t)},className:""}),ci.f.PopoutThumbnailSlidingListLarge,{getComponent:function(){return jn},partialLoading:function(){return a.createElement(Pe.j7,{size:"lg",childComponent:Tn})},icon:v.vn.WidgetTemplatePopoutThumbnailSlidingListLarge,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification,x.ku.Discover,x.ku.Company,x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.PopoutThumbnailSlidingListSmall,{getComponent:function(){return Pn},partialLoading:function(){return a.createElement(Pe.j7,{size:"sm",childComponent:Dn})},icon:v.vn.WidgetTemplatePopoutThumbnailSlidingListSmall,predicate:function(e){var t=e.targetType,n=e.product,a=e.isTopLevelClassification;return n===li.x.StreamableLearning?[x.ku.Discover,x.ku.Company].includes(t):t===x.ku.Classification?a:[x.ku.MoviesAndTv,x.ku.Discover,x.ku.Company].includes(t)},className:""}),ci.f.FilterSlidingPillListSmall,{getComponent:function(){return lt},partialLoading:function(){var e,t=(0,j.k)();return a.createElement(a.Fragment,null,a.createElement(I.l,{hideDescription:!0}),a.createElement("div",{className:"row mx-n1"},(e=Array(t.xs||t.sm?3:t.md||t.lg?4:5),function(e){if(Array.isArray(e))return ct(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ct(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ct(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return a.createElement("div",{key:t,className:"col px-1"},a.createElement("div",{className:"d-inline-block w-100 partial-loading-background rounded-3 pb-5"}))}))))},icon:v.vn.WidgetTemplateFilterSlidingPillListSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.CircleLogoSlidingList,{getComponent:function(){return N},partialLoading:function(){var e=8,t=(0,j.k)();return(t.sm||t.xs)&&(e=4),t.md&&(e=6),a.createElement(a.Fragment,null,a.createElement(I.l,null),a.createElement("div",{className:"d-flex flex-no-wrap"},Array(e).fill(null).map((function(e,t){return a.createElement("div",{key:t,className:"uVZyX"},a.createElement("div",{className:"".concat("KbaRB"," h-100 d-inline-block partial-loading-background rounded-circle")}))}))))},icon:v.vn.WidgetTemplateCircleLogoSlidingList,predicate:function(e){var t=e.targetType;return e.product===li.x.StreamableLearning?[x.ku.Discover,x.ku.Company].includes(t):[x.ku.MoviesAndTv].includes(t)},className:""}),ci.f.EventIconSlidingList,{getComponent:function(){return ze},partialLoading:function(){var e,t=(e=(0,j.k)()).xs?2:e.sm?3:e.md?4:e.lg?5:e.xl||e.xxl?6:void 0;return a.createElement(a.Fragment,null,a.createElement(I.l,{hideDescription:!0}),a.createElement("div",{className:"row g-0 mx-n1"},Array(t).fill(null).map((function(e,t){return a.createElement("div",{className:"col px-1",key:t},a.createElement("div",{className:"partial-loading-background rounded-3",style:{paddingBottom:"100%"}}))}))))},icon:v.vn.WidgetTemplateEventIconSlidingList,predicate:function(e){var t=e.targetType;return e.product===li.x.StreamableLearning?[x.ku.Discover,x.ku.Classification,x.ku.Company].includes(t):[x.ku.Discover,x.ku.Classification].includes(t)},className:""}),di(di(di(di(oi,ci.f.ThumbnailVerticalList,{getComponent:function(){return ri},partialLoading:function(){return a.createElement(ai.S,{numVideos:3})},icon:v.vn.WidgetTemplateThumbnailVerticalList,predicate:function(e){var t=e.targetType;return e.product===li.x.StreamableLearning&&[x.ku.Company,x.ku.Classification].includes(t)},className:""}),ci.f.ThumbnailSlidingListSmallV2,{getComponent:function(){return ni},partialLoading:Pe.j7,icon:v.vn.WidgetTemplateThumbnailSlidingListSmall,predicate:function(e){var t=e.targetType;return e.product!==li.x.StreamableLearning&&[x.ku.Classification].includes(t)},className:""}),ci.f.ThumbnailSlidingListSmall,{getComponent:function(){return Qa},partialLoading:Pe.j7,icon:v.vn.WidgetTemplateThumbnailSlidingListSmall,predicate:function(){return!1},className:""}),ci.f.ThumbnailSlidingListLarge,{getComponent:function(){return Ja},partialLoading:function(){return a.createElement(Pe.j7,{size:"lg"})},icon:v.vn.WidgetTemplateThumbnailSlidingListLarge,predicate:function(){return!1},className:""})),mi=n(65294);const pi={anchor:"FRyJT",widgetHighlight:"e4uXN",blinker:"e7d4o"};function vi(e){var t,n,o,l,c=a.createRef(),s=null===(t=e.lazyLoad)||void 0===t||t,d=(0,mi.Y)({prevent:!s}),u=d.ref,m=d.inView,p=i.q.isFunction(e.getContentRequest),v=r.a.useBasicFetch(!(!m||!e.getContentRequest)&&e.getContentRequest(e.id,e.widgetTypeId,e.templateId)),g=Oe.d.useGetContent(e.content||(null===(n=v.data)||void 0===n?void 0:n.content),null===(o=v.data)||void 0===o?void 0:o.preferences),f=g.content,y=g.unfilteredContent,h=(0,j.k)(),b=function(e,t){return!(Oe.d.hasNoContent(e)||t&&(!Array.isArray(t)||t.length))}(e.widgetTypeId,f),E=!Oe.d.canDisplayOnScreenSize(h,e.widgetTypeId,e.templateId);a.useEffect((function(){var t;p&&!v.hasCompleted||null===(t=e.setIsEmpty)||void 0===t||t.call(e,e.id,b||E)}),[v.hasCompleted,b,E,p,e.setIsEmpty]),a.useEffect((function(){e.isScrollToTargetWidget&&c.current&&c.current.scrollIntoView({behavior:"smooth",block:"start"})}),[e.isScrollToTargetWidget,c.current]);var k=e.appLinks?Object.assign({},e.appLinks):null;(null==k?void 0:k.videoType)&&(k.videoType=function(t,n){var a;return null===(a=e.appLinks)||void 0===a?void 0:a.videoType(t,Object.assign(Object.assign({},n),{contextId:e.id}))});var L=Object.assign(Object.assign({},e.analyticsData),{widgetId:e.widgetTypeId,templateId:e.templateId,dashboardTarget:null==e?void 0:e.dashboardTarget,widgetIndex:null==e?void 0:e.widgetIndex,widgetName:e.name}),w=p&&!v.hasCompleted||e.isEditing&&b,S=ui[e.templateId].partialLoading,C=ui[e.templateId].getComponent(e.widgetTypeId),O=ui[e.templateId].className;return w||!b&&!E?a.createElement("div",{id:e.widgetTypeId===Lt.z.ContinueWatching?"continue-watching-videos-widget":null,ref:c,className:"curated-widget ".concat(O," ").concat(e.name?"has-heading":""," ").concat(e.isScrollToTargetWidget?"my-n2 mx-n3":"")},a.createElement("div",{className:e.isScrollToTargetWidget?"".concat(pi.widgetHighlight," py-2 px-3 rounded-3"):""},Oe.d.isWidgetInTableOfContents(e.metadata)&&a.createElement("a",{href:"#".concat(e.id),id:"".concat(e.id),className:"".concat(pi.anchor),ref:function(t){var n;t&&(null===(n=e.headingElementRef)||void 0===n?void 0:n.current)&&e.headingElementRef.current.add(t)}}),w?a.createElement("div",{ref:u},a.createElement(S,null)):a.createElement(C,Object.assign({},e,{appLinks:k,content:f,unfilteredContent:y,preferences:null===(l=v.data)||void 0===l?void 0:l.preferences,analyticsData:L,showHighlight:e.isScrollToTargetWidget,isPreviewing:e.isPreviewing})))):a.createElement(a.Fragment,null)}},47770:(e,t,n)=>{n.d(t,{K:()=>c});var a=n(32735),i=n(68050),r=n(69111),o=n(66869),l=n(91028);function c(e){return a.createElement(a.Fragment,null,a.createElement(o.B,{name:e.name,description:e.description}),a.createElement(i.Z,{className:"mb-n2"},e.content.map((function(t){return a.createElement(r.Z,{className:"position-relative pb-2",key:t.id,xs:12,sm:6,lg:e.hasTableOfContents?6:4,xl:4},a.createElement(l.V,{data:t,getChildAppLink:function(t){var n,a;return null===(a=null===(n=e.appLinks)||void 0===n?void 0:n.classification)||void 0===a?void 0:a.call(n,t)},analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,isLarge:!0}))}))))}},65163:(e,t,n)=>{n.d(t,{QL:()=>a.Q,eb:()=>a.e});var a=n(72861);n(14244)},19808:(e,t,n)=>{var a;n.d(t,{b:()=>a}),function(e){e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1"}(a||(a={}))},72639:(e,t,n)=>{var a;n.d(t,{p:()=>a}),function(e){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"}(a||(a={}))},80889:(e,t,n)=>{n.d(t,{_:()=>p});var a=n(99940),i=n(97395),r=n(75896),o=n(49542),l=n(55171),c=n(78479),s=n(45778);function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var m=new Set([].concat(d(Object.values(l.e.Classifications.Twig.EnglandPrimary)),d(Object.values(l.e.Classifications.Twig.InternationalPrimary)),d(Object.values(l.e.Classifications.Twig.ScotlandPrimary)))),p={classificationDashboard:function(e,t,n,a){var o={target:"classification:".concat(e),status:n,userType:t};return{url:i._.urlBuilder("{gateway}/v1/discover/dashboards",o),publicUrl:i._.urlBuilder("/api/discover/dashboards",o),key:"classification:dashboard:".concat(e,":").concat(t,":").concat(a,":").concat(null==n?void 0:n.join(":")),formatData:function(e){var t;return a?null===(t=e.data)||void 0===t?void 0:t.find((function(e){return e.id.toString()===a.toString()})):r.m.first(e.data)}}},dashboardWidgetContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,l=Object.keys(t).map((function(e){return t[e]})).join(":");return{url:i._.urlBuilder("{gateway}/v1/discover/widgets/".concat(e),t),publicUrl:i._.urlBuilder("/api/discover/widgets/".concat(e),t),key:"widget:".concat(e,":").concat(l),formatData:function(e){return o.d.formatResponseData(e,a)},normalizeOptions:{namespace:l},normalize:n!==c.f.EditableCoverFixedPillListSmall,success:r}},discoverWidgetContent:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,d=Object.keys(n).map((function(e){return n[e]})).join(":");return{url:i._.urlBuilder("{gateway}/v1/discover/widgets/".concat(t),n),publicUrl:i._.urlBuilder("/api/discover/widgets/".concat(t),n),key:"widget:".concat(t,":").concat(d),formatData:function(t){var n=o.d.formatResponseData(t,r);if(e)return n;if(Array.isArray(n.content)){var a=n.content.filter((function(e){return!s.G.isClassification(e)||!m.has(e.id)}));n.content=a}return n},normalizeOptions:{namespace:d},normalize:a!==c.f.EditableCoverFixedPillListSmall,success:l}},getDashboard:function(e,t,n,a,o,l){var c={target:n,status:t,userType:e};(null==a?void 0:a.length)&&(c["widgets.curriculum"]=a);var s="dashboard:".concat(n,":").concat(e,":").concat(o,":").concat(t.join(":"));return{url:i._.urlBuilder("{gateway}/v1/discover/dashboards",c),publicUrl:i._.urlBuilder("/api/discover/dashboards",c),key:s,formatData:function(e){var t;return o?null===(t=e.data)||void 0===t?void 0:t.find((function(e){return e.id.toString()===o.toString()})):r.m.first(e.data)},success:l}},updateWidgetPreferences:function(e,t,n){return{url:"{gateway}/v1/discover/widgets/".concat(e,"/preferences"),key:"update:widget:preferences",invalidationKeys:["widget:".concat(e)],type:a.k.PUT,data:{userId:n.id,customerId:n.customerId,metadata:t}}}}},21366:(e,t,n)=>{n.d(t,{S:()=>p});var a=n(75896),i=n(110),r=n(43306),o=n(65728),l=(n(76881),n(86613),n(78479)),c=n(42308),s=n(26154);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=d(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var p={onSelectCuratedObject:function(e,t){var n=Object.assign(Object.assign({},t.values.data),{objectIds:a.m.addOrRemoveImmutable(t.values.data.objectIds||[],e.id)});t.setFieldValue("data",n),t.setTouched(Object.assign(Object.assign({},t.touched),{data:{objectIds:!0}}))},onRemoveCuratedObject:function(e,t){var n=Object.assign(Object.assign({},t.values.data),{objectIds:t.values.data.objectIds.filter((function(t){return t!==e}))});t.setFieldValue("data",n)},getDashboardTarget:function(e){return e.targetType===s.ku.Discover?"discover:presentation:".concat(e.presentationId):e.targetType===s.ku.Classification?"classification:".concat(e.classificationId):e.targetType===s.ku.ClassificationDirectory?"classification:".concat(e.classificationId,":directory"):e.targetType===s.ku.ClassificationVideos?"classification:".concat(e.classificationId,":videos"):e.targetType===s.ku.MoviesAndTv?"moviesAndTv:presentation:".concat(e.presentationId):e.targetType===s.ku.Company?"company:".concat(e.companyId,":presentation:").concat(e.presentationId):null},getUnknownDashboardTarget:function(e){var t=e.presentationId,n=e.companyId,a=e.targetType,i=e.classificationId;return a===s.ku.Discover?p.getDashboardTarget({targetType:s.ku.Discover,presentationId:t}):a===s.ku.MoviesAndTv?p.getDashboardTarget({targetType:s.ku.MoviesAndTv,presentationId:t}):a===s.ku.Company?p.getDashboardTarget({targetType:s.ku.Company,presentationId:t,companyId:n}):a===s.ku.Classification?p.getDashboardTarget({targetType:s.ku.Classification,classificationId:i}):a===s.ku.ClassificationDirectory?p.getDashboardTarget({targetType:s.ku.ClassificationDirectory,classificationId:i}):a===s.ku.ClassificationVideos?p.getDashboardTarget({targetType:s.ku.ClassificationVideos,classificationId:i}):void 0},getDashboardTargetInfo:function(e){var t,n=p.getDashboardTargetType(e),a=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.split(":");return n===s.ku.Discover?{targetType:s.ku.Discover,presentationId:a[2]}:n===s.ku.Classification?{targetType:s.ku.Classification,classificationId:a[1]}:n===s.ku.ClassificationDirectory?{targetType:s.ku.ClassificationDirectory,classificationId:a[1]}:n===s.ku.ClassificationVideos?{targetType:s.ku.ClassificationVideos,classificationId:a[1]}:n===s.ku.MoviesAndTv?{targetType:s.ku.MoviesAndTv,presentationId:a[2]}:n===s.ku.Company?{targetType:s.ku.Company,companyId:a[1],presentationId:a[3]}:null},getDashboardTargetType:function(e){return(null==e?void 0:e.target)?e.target.startsWith("discover")?s.ku.Discover:e.target.startsWith("classification")?e.target.endsWith("directory")?s.ku.ClassificationDirectory:e.target.endsWith("videos")?s.ku.ClassificationVideos:s.ku.Classification:e.target.startsWith("moviesAndTv")?s.ku.MoviesAndTv:e.target.startsWith("company")?s.ku.Company:null:null},isType:function(e,t){return p.getDashboardTargetType(e)===t},isCuratedDashboard:function(e){var t=e,n=p.getDashboardTargetType(t);return n===s.ku.Discover||n===s.ku.Classification||n===s.ku.ClassificationDirectory||n===s.ku.ClassificationVideos||n===s.ku.MoviesAndTv||n===s.ku.Company},getLatestReleasedTimeRange:function(){var e=new Date;return{from:i.O.format(i.O.endOf(i.O.subtract(e,2,"month"),"day"),"YYYY-MM-DD"),to:i.O.format(i.O.endOf(e,"day"),"YYYY-MM-DD")}},getWidgetParams:function(e,t,n,a){var d,u={};if(a&&(u.audienceId=a),e===c.z.Classifications&&n===s.ku.Discover&&(t!==l.f.PosterSlidingListSmall&&t!==l.f.CoverFixedPillListXSmall&&t!==l.f.EditableCoverFixedPillListSmall||(u.canBePreferred=!0),t===l.f.EditableCoverFixedPillListSmall&&(u.isFollowing=!0)),e===c.z.LatestReleasedClassifications&&(u.limit=6),e===c.z.ClassificationLatestReleasedVideosV2&&(u.limit=12),e===c.z.LatestReleasedVideos||e===c.z.ClassificationLatestReleasedVideos){var v=p.getLatestReleasedTimeRange(),g=v.from,f=v.to;u.from=g,u.to=f}return e===c.z.SpecialEventClassifications&&(u.from=i.O.format(new Date,"YYYY-MM-DD")),e===c.z.UpcomingLivestreams&&(u.from=i.O.format(new Date,"YYYY-MM-DD")),t===l.f.OnboardingSteps&&(u.customerSetting=[o.E.HasNewOnboarding],u.userSetting=[].concat(function(e){if(Array.isArray(e))return m(e)}(d=Object.values(r.H).map((function(e){return e.setting})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(d)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o.E.HasCompletedOnboardingV2,o.E.HasExitedOnboarding])),u},isSystemGeneratedDashboard:function(e){var t,n=(u(u(u(u(u(u(u(u(u(u(t={},c.z.ClassificationFeaturedVideo,!0),c.z.ClassificationPinnedVideos,!0),c.z.ClassificationPlaylists,!0),c.z.ClassificationSeries,!0),c.z.LatestReleasedVideos,!1),c.z.ClassificationLatestReleasedVideos,!1),c.z.ClassificationMedia,!1),c.z.Classifications,!1),c.z.CuratedClassifications,!1),c.z.CuratedMedia,!1),u(u(u(u(u(u(u(u(u(u(t,c.z.CuratedPlaylists,!1),c.z.CuratedSeries,!1),c.z.PlaylistMedia,!1),c.z.Blurb,!1),c.z.Ratings,!1),c.z.CuratedCompanies,!1),c.z.ContinueWatching,!1),c.z.Presentations,!1),c.z.DynamicBlurb,!1),c.z.SpecialEventClassifications,!1),u(u(u(u(u(u(u(u(u(u(t,c.z.CompanyLatestReleasedVideo,!1),c.z.CompanyVideos,!1),c.z.CompanyClassificationVideos,!1),c.z.UpcomingLivestreams,!1),c.z.ClassificationLatestReleasedVideo,!1),c.z.AuthorReviewer,!1),c.z.Faq,!1),c.z.CuratedMultimedia,!1),c.z.LatestReleasedClassifications,!1),c.z.ClassificationLatestReleasedVideosV2,!1));return null==e?void 0:e.some((function(e){return n[e.widgetId]}))},isClassificationDashboard:function(e){return[s.ku.Classification,s.ku.ClassificationDirectory,s.ku.ClassificationVideos].includes(null==e?void 0:e.targetType)}}},74237:(e,t,n)=>{n.d(t,{T:()=>l});var a=n(97395),i=n(92582),r=n(65858),o=null,l={getVideoDownloadUrl:function(e,t){return a._.safeUrlConcat(a._.makeHttps(e),"/download?token=".concat(t))},downloadResource:function(e,t,n){var a,l=o;o||(l=o=document.createElement("iframe"),document.body.appendChild(l),l.style.display="none"),l.src=e.url,i.k.logUserAction(Object.assign({id:null==e?void 0:e.id,name:null==e?void 0:e.name,resourceType:null===(a=null==e?void 0:e.metadata)||void 0===a?void 0:a.resourceType},t),Object.assign({actionType:r.Vw.Download,entity:r.py.Resource,workflowPhase:r.eu.Complete},n))}}},52108:(e,t,n)=>{n.d(t,{M:()=>r});var a=n(16367);var i="markdown-link",r={isLink:function(e){return e.classList.contains(i)},getSeoWidgetRenderer:function(){var e=new a.Renderer;return e.link=function(e,t,n){return'<a href="'.concat(e,'" target="_blank" class="info-link ').concat(i,'">').concat(n,"</a>")},e.list=function(e){return'<ul class="'.concat("TIGbB",'">').concat(e,"</ul>")},e}}},87114:(e,t,n)=>{n.d(t,{i:()=>u});var a,i=n(23481);!function(e){e.Root="root"}(a||(a={}));var r=n(55171),o=n(52641),l=n(85594),c=n(72639),s=n(26154),d=i.T.encloseNamespace("subjects.utils"),u={isPresentation:function(e){return"learningLevel"in e},isTopicClassification:function(e){return(null==e?void 0:e.type)===l.A.Subject},getMappedPresentationLevel:function(e){return"string"==typeof e?c.p[e]:e},getMappedPresentationBackgroundColour:function(e){switch(u.getMappedPresentationLevel(e)){case c.p.Level_1:return"primary";case c.p.Level_3:return"secondary";default:case c.p.Level_2:return"tertiary"}},getPresentationLevelImage:function(e,t){switch(u.getMappedPresentationLevel(e)){case c.p.Level_1:if("topic-banner"===t)return r.e.Images.Level_1.TOPIC_BANNER;if("new-release-banner"===t)return r.e.Images.Level_1.NEW_RELEASES_BANNER;if("cover"===t)return r.e.Images.Level_1.TOPIC_COVER;if("tall-poster"===t)return r.e.Images.Level_1.TOPIC_TALL_POSTER;case c.p.Level_2:if("topic-banner"===t)return r.e.Images.Level_2.TOPIC_BANNER;if("new-release-banner"===t)return r.e.Images.Level_2.NEW_RELEASES_BANNER;if("cover"===t)return r.e.Images.Level_2.TOPIC_COVER;if("tall-poster"===t)return r.e.Images.Level_2.TOPIC_TALL_POSTER;default:case c.p.Level_3:if("topic-banner"===t)return r.e.Images.Level_3.TOPIC_BANNER;if("new-release-banner"===t)return r.e.Images.Level_3.NEW_RELEASES_BANNER;if("cover"===t)return r.e.Images.Level_3.TOPIC_COVER;if("tall-poster"===t)return r.e.Images.Level_3.TOPIC_TALL_POSTER;case c.p.Level_4:if("topic-banner"===t)return r.e.Images.Level_4.TOPIC_BANNER}},getExploreAllTopicsTitle:function(e,t){return t<o._.MULTI_PRESENTATION_THRESHOLD?d("exploreAllTopicsHeading"):d("exploreAllTopicsDynamicHeading",{presentationName:e})},isFollowing:function(e){var t,n;return 1===(null===(n=null===(t=null==e?void 0:e.followers)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)},isTopLevelTopic:function(e){var t;return!!(null===(t=null==e?void 0:e.parentIds)||void 0===t?void 0:t.includes(a.Root))},canHaveVideoListTab:function(e){var t;return null===(t=null==e?void 0:e.widgets)||void 0===t?void 0:t.some((function(e){var t;return null===(t=e.metadata)||void 0===t?void 0:t.showInTableOfContents}))},getActiveTopicTab:function(e,t){return u.isTopLevelTopic(e)?t===s.ku.Classification?"new-releases":"all-topics":t===s.ku.Classification?"curated-topic":"video-list"}}},73688:(e,t,n)=>{n.d(t,{B:()=>c});var a=n(20354),i=n(80889),r=n(26154),o=n(21366),l=n(31700);function c(e){var t=a.a.useBasicFetch(l.g.streamablePresentation());return{dashboard:a.a.useBasicFetch(t.hasCompleted&&i._.getDashboard(r.Yv.Any,e.dashboardId?[r.GL.Published,r.GL.Draft]:[r.GL.Published],o.S.getUnknownDashboardTarget({targetType:e.targetType,presentationId:t.data.id,companyId:e.companyId,classificationId:e.classificationId}),null,e.dashboardId)),isPreviewing:!!e.dashboardId}}}}]);
|