@playkit-js/hotspots 3.1.1-canary.3-1ffc378 → 3.1.2
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/CHANGELOG.md +3 -1
- package/dist/playkit-hotspots.js +1 -1
- package/dist/playkit-hotspots.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [3.1.
|
|
5
|
+
### [3.1.2](https://github.com/kaltura/playkit-js-hotspots/compare/v3.1.1...v3.1.2) (2023-01-18)
|
|
6
|
+
|
|
7
|
+
### [3.1.1](https://github.com/kaltura/playkit-js-hotspots/compare/v3.1.0...v3.1.1) (2022-12-12)
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
### Bug Fixes
|
package/dist/playkit-hotspots.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var KalturaPlayer;!function(){var e={573:function(e){var t;self,t=()=>(()=>{var e={2955:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>c,Cg:()=>l,ZP:()=>d,bH:()=>p,ce:()=>s,yG:()=>u});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".bannerContainerRoot_K1xa7{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer_Ca8Vu{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton_nbz3N{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton_nbz3N .small_n5NA7{display:none}.closeButton_nbz3N:hover,.closeButton_nbz3N:active{cursor:pointer}.playkit-size-md .bannerContainerRoot_K1xa7{height:68px;min-width:230px}.playkit-size-md .closeButton_nbz3N{top:8px;right:8px;width:10px;height:10px}.playkit-size-md .closeButton_nbz3N .large_bCALw{display:none}.playkit-size-md .closeButton_nbz3N .small_n5NA7{display:block}.playkit-size-sm .bannerContainerRoot_K1xa7,.playkit-size-xs .bannerContainerRoot_K1xa7,.playkit-size-ty .bannerContainerRoot_K1xa7{display:none;width:0;height:0}","",{version:3,sources:["webpack://./src/ui-common/banner-container/_banner-container.scss"],names:[],mappings:"AAAA,2BAAqB,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAiB,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,gCAAoB,YAAY,CAAC,mDAAuC,cAAc,CAAC,4CAAqD,WAAW,CAAC,eAAe,CAAC,oCAA6C,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,iDAAoD,YAAY,CAAC,iDAAoD,aAAa,CAAC,oIAA+J,YAAY,CAAC,OAAO,CAAC,QAAQ",sourcesContent:[".bannerContainerRoot{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton .small{display:none}.closeButton:hover,.closeButton:active{cursor:pointer}:global .playkit-size-md :local .bannerContainerRoot{height:68px;min-width:230px}:global .playkit-size-md :local .closeButton{top:8px;right:8px;width:10px;height:10px}:global .playkit-size-md :local .closeButton .large{display:none}:global .playkit-size-md :local .closeButton .small{display:block}:global .playkit-size-sm :local .bannerContainerRoot,:global .playkit-size-xs :local .bannerContainerRoot,:global .playkit-size-ty :local .bannerContainerRoot{display:none;width:0;height:0}"],sourceRoot:""}]);var s="bannerContainerRoot_K1xa7",l="bannerContainer_Ca8Vu",c="closeButton_nbz3N",u="small_n5NA7",p="large_bCALw";const d=a},8727:(e,t,n)=>{"use strict";n.d(t,{Fu:()=>c,TN:()=>_,Wd:()=>l,ZP:()=>C,aW:()=>u,bH:()=>f,cy:()=>p,d7:()=>h,fL:()=>A,m0:()=>s,yG:()=>d});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".defaultBannerRoot_FcPU5{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper_mXxJz{padding:18px 17px 17px 16px}.iconContainer_peqkF{height:100%;width:64px}.iconWrapper_tGuZb{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage_bNDFZ{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage_bNDFZ .small_n4xT9{display:none}.bannerBody_TiV10{height:100%;flex:1 1 auto;overflow:hidden}.title_H1iK9{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text_tT5dF{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}.playkit-size-md .bannerWrapper_mXxJz{padding:14px 16px 14px}.playkit-size-md .iconContainer_peqkF{width:44px}.playkit-size-md .iconWrapper_tGuZb{height:32px;width:32px}.playkit-size-md .iconImage_bNDFZ{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}.playkit-size-md .iconImage_bNDFZ .small_n4xT9{display:block}.playkit-size-md .iconImage_bNDFZ .large_xGydU{display:none}.playkit-size-md .bannerBody_TiV10{flex:1 1 auto}.playkit-size-md .title_H1iK9{font-size:12px;font-weight:bold;line-height:1.17}.playkit-size-md .text_tT5dF{font-size:15px;line-height:1.27}","",{version:3,sources:["webpack://./src/ui-common/banner/_banner.scss"],names:[],mappings:"AAAA,yBAAmB,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,uBAAuB,CAAC,eAAe,CAAC,qBAAe,2BAA2B,CAAC,qBAAe,WAAW,CAAC,UAAU,CAAC,mBAAa,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,SAAS,CAAC,8BAAkB,YAAY,CAAC,kBAAY,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,aAAO,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,qBAAqB,CAAC,aAAa,CAAC,YAAM,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,sCAA+C,sBAAsB,CAAC,sCAA+C,UAAU,CAAC,oCAA6C,WAAW,CAAC,UAAU,CAAC,kCAA2C,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,+CAAkD,aAAa,CAAC,+CAAkD,YAAY,CAAC,mCAA4C,aAAa,CAAC,8BAAuC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,6BAAsC,cAAc,CAAC,gBAAgB",sourcesContent:[".defaultBannerRoot{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper{padding:18px 17px 17px 16px}.iconContainer{height:100%;width:64px}.iconWrapper{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage .small{display:none}.bannerBody{height:100%;flex:1 1 auto;overflow:hidden}.title{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}:global .playkit-size-md :local .bannerWrapper{padding:14px 16px 14px}:global .playkit-size-md :local .iconContainer{width:44px}:global .playkit-size-md :local .iconWrapper{height:32px;width:32px}:global .playkit-size-md :local .iconImage{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}:global .playkit-size-md :local .iconImage .small{display:block}:global .playkit-size-md :local .iconImage .large{display:none}:global .playkit-size-md :local .bannerBody{flex:1 1 auto}:global .playkit-size-md :local .title{font-size:12px;font-weight:bold;line-height:1.17}:global .playkit-size-md :local .text{font-size:15px;line-height:1.27}"],sourceRoot:""}]);var s="defaultBannerRoot_FcPU5",l="bannerWrapper_mXxJz",c="iconContainer_peqkF",u="iconWrapper_tGuZb",p="iconImage_bNDFZ",d="small_n4xT9",h="bannerBody_TiV10",_="title_H1iK9",A="text_tT5dF",f="large_xGydU";const C=a},5985:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,Z:()=>l});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".fill-container_hw3_7{width:100%;height:100%;overflow:hidden}","",{version:3,sources:["webpack://./src/ui-common/injected-component/injected-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW,CAAC,eAAe",sourcesContent:[".fill-container{width:100%;height:100%;overflow:hidden}"],sourceRoot:""}]);var s="fill-container_hw3_7";const l=a},8999:(e,t,n)=>{"use strict";n.d(t,{JU:()=>p,Xh:()=>u,ZP:()=>A,bB:()=>_,eX:()=>c,kz:()=>h,uN:()=>l,wc:()=>s,zF:()=>d});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".input-field-wrapper_Si_dO{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper_Si_dO ::-moz-placeholder{opacity:1}.input-field-wrapper_Si_dO .search-results_RVOEu{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG .prev-next-button_GH9Q8{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG .prev-next-button_GH9Q8.disabled_j3Qao{opacity:.4;cursor:default}.input-field-wrapper_Si_dO .input-element_N15su{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper_Si_dO .input-element_N15su::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper_Si_dO .input-element_N15su::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper_Si_dO .clear-icon_Ix9EE{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper_Si_dO:hover{border-color:#fff}.input-field-wrapper_Si_dO.active_wprgm{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./src/ui-common/input-field/input-field.scss"],names:[],mappings:"AAAA,2BAAqB,YAAY,CAAC,kBAAkB,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,8CAAwC,SAAS,CAAC,iDAAqC,YAAY,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,CAAC,cAAc,CAAC,sBAAsB,CAAC,oDAAwC,YAAY,CAAC,qBAAqB,CAAC,4BAA4B,CAAC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,4EAA0D,YAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,8BAA8B,CAAC,WAAW,CAAC,cAAc,CAAC,2FAAmE,UAAU,CAAC,cAAc,CAAC,gDAAoC,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,iCAAiC,CAAC,wBAAwB,CAAC,WAAW,CAAC,eAAe,CAAC,sBAAsB,CAAC,6DAAiD,iCAAiC,CAAC,2DAA+C,sDAAsD,CAAC,6CAAiC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,8BAA8B,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,WAAW,CAAC,cAAc,CAAC,iCAA2B,iBAAiB,CAAC,wCAA4B,iCAAiC,CAAC,sCAAsC,CAAC,iBAAiB",sourcesContent:[".input-field-wrapper{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper ::-moz-placeholder{opacity:1}.input-field-wrapper .search-results{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper .prev-next-wrapper{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper .prev-next-wrapper .prev-next-button{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper .prev-next-wrapper .prev-next-button.disabled{opacity:.4;cursor:default}.input-field-wrapper .input-element{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper .input-element::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper .input-element::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper .clear-icon{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper:hover{border-color:#fff}.input-field-wrapper.active{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}"],sourceRoot:""}]);var s="input-field-wrapper_Si_dO",l="search-results_RVOEu",c="prev-next-wrapper_F9uEG",u="prev-next-button_GH9Q8",p="disabled_j3Qao",d="input-element_N15su",h="clear-icon_Ix9EE",_="active_wprgm";const A=a},1326:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,Z:()=>l});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".fill-container_bXz_O{width:100%;height:100%}","",{version:3,sources:["webpack://./src/ui-common/managed-component/_managed-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW",sourcesContent:[".fill-container{width:100%;height:100%}"],sourceRoot:""}]);var s="fill-container_bXz_O";const l=a},2480:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>d,Fu:()=>A,GK:()=>s,Jc:()=>p,Qm:()=>c,Rr:()=>l,TN:()=>h,X$:()=>_,ZP:()=>g,aW:()=>f,fL:()=>C,x_:()=>u});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".toastWrapper_COU8f{position:relative;min-width:120px;max-width:264px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast_G1Pcn{border-left-color:#01accd}.successToast_qxdk2{border-left-color:#009e48}.warnToast_exwq_{border-left-color:#f9a71b}.errorToast_zWxrk{border-left-color:#e7585d}.closeButton_erWFo{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton_erWFo:hover{cursor:pointer}.title_WsGFu{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody_oRqUX{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer_nOLnP{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper_cRX3a{height:16px;width:16px}.text_NL9Fe{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}","",{version:3,sources:["webpack://./src/ui-common/toast/_toast.scss"],names:[],mappings:"AAAA,oBAAc,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,eAAe,CAAC,iBAAW,yBAAyB,CAAC,oBAAc,yBAAyB,CAAC,iBAAW,yBAAyB,CAAC,kBAAY,yBAAyB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,2BAA2B,CAAC,WAAW,CAAC,SAAS,CAAC,yBAAmB,cAAc,CAAC,aAAO,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,eAAe,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,yBAAyB,CAAC,qBAAe,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC,mBAAa,WAAW,CAAC,UAAU,CAAC,YAAM,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB",sourcesContent:[".toastWrapper{position:relative;min-width:120px;max-width:264px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast{border-left-color:#01accd}.successToast{border-left-color:#009e48}.warnToast{border-left-color:#f9a71b}.errorToast{border-left-color:#e7585d}.closeButton{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton:hover{cursor:pointer}.title{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper{height:16px;width:16px}.text{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],sourceRoot:""}]);var s="toastWrapper_COU8f",l="infoToast_G1Pcn",c="successToast_qxdk2",u="warnToast_exwq_",p="errorToast_zWxrk",d="closeButton_erWFo",h="title_WsGFu",_="toastBody_oRqUX",A="iconContainer_nOLnP",f="iconWrapper_cRX3a",C="text_NL9Fe";const g=a},4702:(e,t,n)=>{"use strict";n.d(t,{Q$:()=>s,YY:()=>l,ZP:()=>c});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".toastsContainer_Xf0eZ{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:264px;display:flex;flex-direction:column}.toastRow_iOkeY{height:42px;min-width:120px;max-width:264px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}","",{version:3,sources:["webpack://./src/ui-common/toasts-container/_toasts-container.scss"],names:[],mappings:"AAAA,uBAAiB,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,qBAAqB,CAAC,gBAAU,WAAW,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,eAAe,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,mBAAmB",sourcesContent:[".toastsContainer{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:264px;display:flex;flex-direction:column}.toastRow{height:42px;min-width:120px;max-width:264px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}"],sourceRoot:""}]);var s="toastsContainer_Xf0eZ",l="toastRow_iOkeY";const c=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8337:(e,t,n)=>{"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(6066)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===o(n))return"[object RegExp]"!==o(n.validate)?i(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,d(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},6066:(e,t,n)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=n(9369).source,t.src_Cc=n(9413).source,t.src_Z=n(5045).source,t.src_P=n(3189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},4291:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bannerContainer:()=>A.Cg,bannerContainerRoot:()=>A.ce,closeButton:()=>A.Ah,default:()=>C,large:()=>A.bH,small:()=>A.yG});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(2955),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},8808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bannerBody:()=>A.d7,bannerWrapper:()=>A.Wd,default:()=>C,defaultBannerRoot:()=>A.m0,iconContainer:()=>A.Fu,iconImage:()=>A.cy,iconWrapper:()=>A.aW,large:()=>A.bH,small:()=>A.yG,text:()=>A.fL,title:()=>A.TN});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(8727),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},2633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,fillContainer:()=>A.V});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(5985),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.Z,f);const C=A.Z&&A.Z.locals?A.Z.locals:void 0},2031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{active:()=>A.bB,clearIcon:()=>A.kz,default:()=>C,disabled:()=>A.JU,inputElement:()=>A.zF,inputFieldWrapper:()=>A.wc,prevNextButton:()=>A.Xh,prevNextWrapper:()=>A.eX,searchResults:()=>A.uN});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(8999),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},8802:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,fillContainer:()=>A.V});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(1326),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.Z,f);const C=A.Z&&A.Z.locals?A.Z.locals:void 0},2001:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeButton:()=>A.Ah,default:()=>C,errorToast:()=>A.Jc,iconContainer:()=>A.Fu,iconWrapper:()=>A.aW,infoToast:()=>A.Rr,successToast:()=>A.Qm,text:()=>A.fL,title:()=>A.TN,toastBody:()=>A.X$,toastWrapper:()=>A.GK,warnToast:()=>A.x_});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(2480),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},2167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,toastRow:()=>A.YY,toastsContainer:()=>A.Q$});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(4702),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var d=n(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var _=o(h,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:_,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3607:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7299),t),o(n(8707),t),o(n(1170),t)},7277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1170:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7277),t)},8376:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=void 0;var r=n(4522),o=KalturaPlayer.ui.utils.KeyMap,i=o.ENTER,a=o.SPACE,s=o.UP,l=o.DOWN,c=function(e){e.preventDefault(),e.stopPropagation()};t.A11yWrapper=function(e){var t=e.children,n=e.onClick,o=e.onUpKeyPressed,u=e.onDownKeyPressed;return(0,r.cloneElement)(t,{onKeyDown:function(e){[a,i].includes(e.keyCode)?(c(e),n(e,!0)):e.keyCode===s&&o?(c(e),o(e)):e.keyCode===l&&u&&(c(e),u(e))},onClick:function(e){var t=[e.offsetX,e.offsetY].every((function(e){return 0===e}));e.stopPropagation(),n(e,t)}})}},8893:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8376),t)},8824:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var i=n(4522),a=n(4291),s=n(3132),l=n(5494),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=this.props.theme,n=t.backgroundColor,r=t.blur;return(0,i.h)("div",{className:a.bannerContainerRoot,"aria-live":"polite"},(0,i.h)("div",{style:"\n background-color:".concat(n,"; \n backdrop-filter: blur(").concat(r,");\n "),className:a.bannerContainer},(0,i.h)("button",{className:a.closeButton,onClick:e.onClose},(0,i.h)(s.CloseSmall,{className:a.small}),(0,i.h)(l.CloseLarge,{className:a.large})),this.props.children))},t}(i.Component);t.BannerContainer=c},5494:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseLarge=void 0;var o=n(4522);t.CloseLarge=function(e){return(0,o.h)("svg",r({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32x32/Menu-Player-Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("path",{d:"M17.4142136,16 L22.363961,20.9497475 C22.7544853,21.3402718 22.7544853,21.9734367 22.363961,22.363961 C21.9734367,22.7544853 21.3402718,22.7544853 20.9497475,22.363961 L16,17.4142136 L11.0502525,22.363961 C10.6597282,22.7544853 10.0265633,22.7544853 9.63603897,22.363961 C9.24551468,21.9734367 9.24551468,21.3402718 9.63603897,20.9497475 L14.5857864,16 L9.63603897,11.0502525 C9.24551468,10.6597282 9.24551468,10.0265633 9.63603897,9.63603897 C10.0265633,9.24551468 10.6597282,9.24551468 11.0502525,9.63603897 L16,14.5857864 L20.9497475,9.63603897 C21.3402718,9.24551468 21.9734367,9.24551468 22.363961,9.63603897 C22.7544853,10.0265633 22.7544853,10.6597282 22.363961,11.0502525 L17.4142136,16 Z",id:"Path",fill:"#FFFFFF"})))}},3132:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseSmall=void 0;var o=n(4522);t.CloseSmall=function(e){return(0,o.h)("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10"},e),(0,o.h)("path",{fill:"#FFF","fill-rule":"evenodd",d:"M5.956 5l3.348-3.348A.674.674 0 0 0 9.3.7a.672.672 0 0 0-.952-.004L5 4.044 1.652.696A.674.674 0 0 0 .7.7a.672.672 0 0 0-.004.952L4.044 5 .696 8.348A.674.674 0 0 0 .7 9.3c.265.266.69.266.952.004L5 5.956l3.348 3.348c.262.262.689.26.952-.004a.672.672 0 0 0 .004-.952L5.956 5z",opacity:".9"}))}},911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var r=n(8824);Object.defineProperty(t,"BannerContainer",{enumerable:!0,get:function(){return r.BannerContainer}})},4473:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerManager=t.VisibilityMode=void 0;var r,o=n(3782),i=n(4522),a=n(3549),s=n(911),l=n(9968),c=n(8568);!function(e){e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"}(r=t.VisibilityMode||(t.VisibilityMode={}));var u={theme:{backgroundColor:"rgba(0, 0, 0, .7)",blur:"10px"}},p=function(){function e(e){this.options=e,this._floatingItem=null,this._timerSubscription=void 0,this._options=e,this._bannerConfig=(0,c.getContribConfig)(this._options.kalturaPlayer,"ui.banner",u)}return e.prototype.add=function(e){return this._floatingItem&&this.remove(),this._floatingItem=this._options.floatingManager.add({label:"Banner",mode:o.FloatingUIModes.Immediate,position:o.FloatingPositions.InteractiveArea,renderContent:this._createRenderBanner(e,{onClose:this._handleCloseEvent.bind(this),theme:this._bannerConfig.theme})}),e.autoClose&&this._startDurationTimer(e.duration),this._getState()},e.prototype.remove=function(){this._floatingItem&&(this._timerSubscription&&clearTimeout(this._timerSubscription),this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype.reset=function(){this.remove()},e.prototype._createRenderBanner=function(e,t){var n=e.content,r=e.renderContent,o=t.onClose,l=t.theme;return function(e){return(0,i.h)(s.BannerContainer,{onClose:o,theme:l},r?r(n,e):(0,i.h)(a.Banner,{content:n}))}},e.prototype._handleCloseEvent=function(){this.remove()},e.prototype._startDurationTimer=function(e){void 0===e&&(e=6e4),this._timerSubscription=setTimeout(this.remove.bind(this),Math.max(5e3,e))},e.prototype._getState=function(){var e=(0,l.getPlayerSize)(this._options.kalturaPlayer);return{visibilityMode:!e||e.width<480?r.HIDDEN:r.VISIBLE}},e}();t.BannerManager=p},3105:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var i=n(4522),a=n(8808),s=n(5084),l=n(4139),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=e.content,n=t.text,r=t.title,o=void 0===r?"Audience asks:":r,s=t.icon,l=void 0===s?this._defaultIcon():s;return(0,i.h)("div",{className:a.defaultBannerRoot+" "+a.bannerWrapper},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},l)),(0,i.h)("div",{className:a.bannerBody},(0,i.h)("div",{className:a.title},o),(0,i.h)("div",{className:a.text},n)))},t.prototype._defaultIcon=function(){return(0,i.h)("div",{className:a.iconImage},(0,i.h)(s.SomeoneAsksLarge,{className:a.large}),(0,i.h)(l.SomeoneAsksSmall,{className:a.small}))},t}(i.Component);t.Banner=c},3549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var r=n(3105);Object.defineProperty(t,"Banner",{enumerable:!0,get:function(){return r.Banner}})},5084:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksLarge=void 0;var o=n(4522);t.SomeoneAsksLarge=function(e){return(0,o.h)("svg",r({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(4.000000, 5.000000)",fill:"#B2D238"},(0,o.h)("ellipse",{id:"Oval",cx:"12",cy:"5.5",rx:"6",ry:"5.5"}),(0,o.h)("path",{d:"M12,13 C7.995,13 0,15.01 0,19 L0,20.5 C0,21.325 0.675,22 1.5,22 L22.5,22 C23.325,22 24,21.325 24,20.5 L24,19 C24,15.01 16.005,13 12,13 Z",id:"Path"}))))}},4139:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksSmall=void 0;var o=n(4522);t.SomeoneAsksSmall=function(e){return(0,o.h)("svg",r({width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/20/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(2.000000, 2.000000)",fill:"#B2D238"},(0,o.h)("circle",{id:"Oval",cx:"8",cy:"4",r:"4"}),(0,o.h)("path",{d:"M8,9 C5.33,9 0,10.5633333 0,13.6666667 L0,14.8333333 C0,15.475 0.45,16 1,16 L15,16 C15.55,16 16,15.475 16,14.8333333 L16,13.6666667 C16,10.5633333 10.67,9 8,9 Z",id:"Path"}))))}},8759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContribServices=t.getPlayerContribRegistry=void 0;var r=n(8541),o=n(3480),i=n(9945),a=n(8185),s=n(4473);function l(e){return r.PlayerContribRegistry.get(e)}t.getPlayerContribRegistry=l;var c=function(){function e(e,t){var n=this;this._playerContribRegistry=e,this._options=t,this._registered=!1,this._addListeners=function(){var e=n._options.kalturaPlayer;e.addEventListener(e.Event.PLAYER_RESET,n.reset),e.addEventListener(e.Event.PLAYER_DESTROY,n._removeListeners)},this._removeListeners=function(){var e=n._options.kalturaPlayer;e.removeEventListener(e.Event.PLAYER_RESET,n.reset),e.removeEventListener(e.Event.PLAYER_DESTROY,n._removeListeners)},this.register=function(){return n._registered?[]:(n._registered=!0,n._presetManager.registerComponents())},this.reset=function(){n._toastManager.reset(),n._floatingManager.reset(),n._bannerManager.reset()},this.destroy=function(){n._registered=!1};var r=this._options.kalturaPlayer,l=new o.PresetManager({kalturaPlayer:r}),c=new a.FloatingManager({kalturaPlayer:r,presetManager:l}),u=new i.ToastManager({floatingManager:c}),p=new s.BannerManager({kalturaPlayer:r,floatingManager:c});this._toastManager=u,this._floatingManager=c,this._presetManager=l,this._bannerManager=p,this._addListeners()}return e.get=function(t){var n=l(t.kalturaPlayer);return n.register("ContribServices",(function(){return new e(n,t)}))},Object.defineProperty(e.prototype,"presetManager",{get:function(){return this._presetManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"floatingManager",{get:function(){return this._floatingManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toastManager",{get:function(){return this._toastManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bannerManager",{get:function(){return this._bannerManager},enumerable:!1,configurable:!0}),e}();t.ContribServices=c},8568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContribConfig=void 0;var r=n(9820);t.getContribConfig=function(e,t,n,o){return r.KalturaPlayerUtils.getPlayerConfig(e,"contrib.".concat(t),n,o)}},9146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4522);t.default=function(e,t,n){return(0,r.h)("a",{href:e,key:n,target:"_blank",rel:"noopener noreferrer"},t)}},6080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var n=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var n=this._eventListeners[e];n&&n.splice(n.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=n},3782:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingPositions=t.FloatingUIModes=void 0,(r=t.FloatingUIModes||(t.FloatingUIModes={})).MediaLoaded="MediaLoaded",r.OnDemand="OnDemand",r.Immediate="Immediate",r.FirstPlay="FirstPlay",(n=t.FloatingPositions||(t.FloatingPositions={})).VideoArea="VideoArea",n.PresetArea="PresetArea",n.InteractiveArea="InteractiveArea"},9948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingItem=void 0;var r=n(4522),o=n(3782),i=n(9858),a=function(){function e(e){var t=this;this._destroyed=!1,this._isShown=!1,this._componentRef=null,this.remove=function(){t._isShown=!1,t._componentRef&&t._componentRef.update()},this.add=function(){t._isShown=!0,t._componentRef&&t._componentRef.update()},this._handleMediaLoaded=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.MEDIA_LOADED,t._handleMediaLoaded),t.add()},this._handleFirstPlay=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.FIRST_PLAY,t._handleFirstPlay),t.add()},this._options=e,this._addPlayerBindings()}return Object.defineProperty(e.prototype,"data",{get:function(){return this._options.data},enumerable:!1,configurable:!0}),e.prototype.update=function(){this._componentRef&&this._componentRef.update()},e.prototype.destroy=function(){this._destroyed=!0,this.remove()},e.prototype.renderFloatingChild=function(e){var t=this,n=this._options.data.label;return(0,r.h)(i.ManagedComponent,{label:n,renderChildren:function(){return t._options.data.renderContent(e)},isShown:function(){return t._isShown},ref:function(e){return t._componentRef=e}})},e.prototype._addPlayerBindings=function(){var e=this._options,t=e.kalturaPlayer,n=e.data;n.mode===o.FloatingUIModes.MediaLoaded&&t.addEventListener(t.Event.MEDIA_LOADED,this._handleMediaLoaded),n.mode===o.FloatingUIModes.FirstPlay&&t.addEventListener(t.Event.FIRST_PLAY,this._handleFirstPlay),n.mode===o.FloatingUIModes.Immediate&&this.add()},e}();t.FloatingItem=a},8185:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingManager=void 0;var i=n(9948),a=n(3782),s=n(3480),l=n(4522),c=n(9968),u=n(9858),p=n(9109),d=n(8568),h={presetAreasMapping:{Playback:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"},Live:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"}}},_=["VideoArea","PresetArea","InteractiveArea"],A=function(){function e(e){var t,n,r=this;this._options=e,this._items=((t={})[a.FloatingPositions.VideoArea]=[],t[a.FloatingPositions.InteractiveArea]=[],t[a.FloatingPositions.PresetArea]=[],t),this._componentRef=((n={})[a.FloatingPositions.InteractiveArea]=null,n[a.FloatingPositions.VideoArea]=null,n[a.FloatingPositions.PresetArea]=null,n),this._cache={canvas:{playerSize:{width:0,height:0},videoSize:{width:0,height:0}}},this._renderItems=function(e){var t=r._getRendererProps({});return r._items[e].map((function(e){return e.renderFloatingChild(t)}))},this._renderChild=function(e){return(0,l.h)(u.ManagedComponent,{label:"floating-manager",renderChildren:function(){return r._renderItems(e)},isShown:function(){return!0},ref:function(t){return r._componentRef[e]=t}})},this._floatingConfig=(0,d.getContribConfig)(this._options.kalturaPlayer,"ui.floating",h,{explicitMerge:["presetAreasMapping"]});var o=p.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._floatingConfig.presetAreasMapping,acceptableTypes:_});Object.keys(o).forEach((function(e){r._options.presetManager.add({label:"floating-manager",presetAreas:o[e],renderChild:function(){return r._renderChild(a.FloatingPositions[e])}})})),this._addPlayerBindings(),this._updateCachedCanvas()}return e.prototype.add=function(e){var t=this._options.presetManager,n=r(r({presetManager:t},this._options),{data:e}),o=new i.FloatingItem(n);return this._items[e.position].push(o),o},e.prototype.remove=function(e){var t=this._items[e.data.position],n=t.indexOf(e);n>-1?(t[n].destroy(),t.splice(n,1)):console.warn("couldn't remove ".concat(e," since it wasn't found"))},e.prototype.reset=function(){o(o(o([],this._items.VideoArea,!0),this._items.InteractiveArea,!0),this._items.PresetArea,!0).forEach((function(e){try{e.destroy()}catch(e){console.warn(e)}})),this._items.VideoArea=[],this._items.PresetArea=[],this._items.InteractiveArea=[]},e.prototype._getRendererProps=function(e){var t=this._options.kalturaPlayer;return{currentTime:void 0!==e.currentTime?e.currentTime:1e3*t.currentTime,canvas:this._cache.canvas}},e.prototype._updateCachedCanvas=function(){this._cache.canvas={playerSize:(0,c.getPlayerSize)(this._options.kalturaPlayer),videoSize:(0,c.getVideoSize)(this._options.kalturaPlayer)}},e.prototype._updateComponents=function(){this._componentRef.InteractiveArea&&this._componentRef.InteractiveArea.update(),this._componentRef.PresetArea&&this._componentRef.PresetArea.update(),this._componentRef.VideoArea&&this._componentRef.VideoArea.update()},e.prototype._addPlayerBindings=function(){var e=this,t=this._options.kalturaPlayer;t.addEventListener(t.Event.TIME_UPDATE,(function(){e._updateComponents()})),t.addEventListener(t.Event.MEDIA_LOADED,(function(){e._updateCachedCanvas(),e._updateComponents()})),t.addEventListener(t.Event.LOADED_DATA,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.VideoResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.PresetResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()}))},e}();t.FloatingManager=A},7299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=t.VisibilityMode=t.BannerManager=t.FloatingUIModes=t.FloatingPositions=t.FloatingItem=t.ToastSeverity=t.ContribServices=void 0;var i=n(8759);Object.defineProperty(t,"ContribServices",{enumerable:!0,get:function(){return i.ContribServices}});var a=n(9945);Object.defineProperty(t,"ToastSeverity",{enumerable:!0,get:function(){return a.ToastSeverity}});var s=n(9948);Object.defineProperty(t,"FloatingItem",{enumerable:!0,get:function(){return s.FloatingItem}});var l=n(3782);Object.defineProperty(t,"FloatingPositions",{enumerable:!0,get:function(){return l.FloatingPositions}}),Object.defineProperty(t,"FloatingUIModes",{enumerable:!0,get:function(){return l.FloatingUIModes}});var c=n(4473);Object.defineProperty(t,"BannerManager",{enumerable:!0,get:function(){return c.BannerManager}}),Object.defineProperty(t,"VisibilityMode",{enumerable:!0,get:function(){return c.VisibilityMode}});var u=n(9600);Object.defineProperty(t,"LinkifyString",{enumerable:!0,get:function(){return u.LinkifyString}}),o(n(8893),t),o(n(4598),t),o(n(4141),t)},5260:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var r=n(4369);Object.defineProperty(t,"InjectedComponent",{enumerable:!0,get:function(){return r.InjectedComponent}})},4369:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var i=n(4522),a=n(2633),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._root=null,t}return o(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){var e=this.props,t=e.onCreate;if(e.label,t){var n=this._root;n&&t({parent:n})}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.onDestroy,n=(e.label,this._root);n&&t&&t({parent:n})},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.fillContainer?a.fillContainer:"";return(0,i.h)("div",{"data-contrib-injected":n,className:r,ref:function(t){return e._root=t}})},t}(i.Component);t.InjectedComponent=s},4598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4898),t)},4898:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=n(4522),s=n(8893),l=n(2031),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={active:!1},n._inputRef=null,n.setFocus=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus()},n._handleOnChange=function(e){n.props.onChange(e.target.value)},n._onClear=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus(),n.props.onChange("")},n._onFocus=function(){n.setState({active:!0})},n._onBlur=function(){n.setState({active:!1})},n._goToNextSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,o=e.onSearchIndexChange;0!==r&&o(t!==r?t+1:1)},n._goToPrevSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults;(0,e.onSearchIndexChange)(1!==t?t-1:r)},n._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:l.searchResults,"aria-live":"polite","aria-label":n.props.searchResults.searchResultsLabel},"".concat(n.props.searchResults.totalSearchResults>0?"".concat(n.props.searchResults.activeSearchIndex,"/").concat(n.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:l.prevNextWrapper},n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":n.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":n.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},n._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:n._onClear},(0,a.h)("button",{className:l.clearIcon,tabIndex:0,"aria-label":n.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},n.state={active:!1},n}return o(t,e),t.prototype.render=function(){var e=this,t={className:l.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[l.inputFieldWrapper,this.props.value||this.state.active?l.active:""].join(" ")},(0,a.h)("input",i({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=c},9820:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KalturaPlayerUtils=void 0;var r=n(687),o=function(){function e(){}return e.getPlayerConfig=function(e,t,n,o){var i=r.ObjectUtils.get(e.config,t,{});return r.ObjectUtils.mergeDefaults(i,n,o)},e}();t.KalturaPlayerUtils=o},9600:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=void 0;var i=n(4522),a=n(8337),s=n(9146),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._linkify=new a,t}return o(t,e),t.prototype._parseString=function(e){var t=this;if(0===(e||"").trim().length)return"";var n=this._linkify.match(e);if(!n)return e;var r=[],o=0;return n.forEach((function(n,i){n.index>o&&r.push(e.substring(o,n.index));var a=n.url,s=n.text,l=t.props.componentRenderer(a,s,i);r.push(l),o=n.lastIndex})),e.length>o&&r.push(e.substring(o)),1===r.length?r[0]:r},t.prototype.render=function(){return(0,i.h)("span",null,this._parseString(this.props.text))},t.defaultProps={componentRenderer:s.default},t}(i.Component);t.LinkifyString=l},9858:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6508),t)},6508:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ManagedComponent=void 0;var a=n(4522),s=n(8802),l=KalturaPlayer.ui.redux.connect,c=function(e){return{playerSize:e.shell.playerSize}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.update=function(){this.setState((function(e){return{toggler:!e.toggler}}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.updateOnPlayerSizeChanged,r=t.playerSize;return n&&e.playerSize!==r||e.playerSize===r},t.prototype.componentDidMount=function(){this.setState({toggler:!1})},t.prototype.render=function(){var e=this.props,t=e.fillContainer,n=e.isShown,r=e.playerSize;return n()?(0,a.h)("div",{"data-contrib-item":this.props.label,className:["".concat(t?s.fillContainer:""),s.inlineContainer].join(" ")},this.props.renderChildren(r)):null},t.defaultProps={fillContainer:!1},i([l(c,null,null,{forwardRef:!0})],t)}(a.Component);t.ManagedComponent=u},687:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var r=function(){function e(){}return e.copyDeep=function(t){var n;return Array.isArray(t)?(n=t.length>0?t.slice(0):[]).forEach((function(t,r){("object"==typeof t&&t!=={}||Array.isArray(t)&&t.length>0)&&(n[r]=e.copyDeep(t))})):"object"==typeof t?(n=Object.assign({},t),Object.keys(n).forEach((function(t){("object"==typeof n[t]&&n[t]!=={}||Array.isArray(n[t])&&n[t].length>0)&&(n[t]=e.copyDeep(n[t]))}))):n=t,n},e.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},e.mergeDeep=function(t,n,r){var o,i;if(!n.length)return t;var a=(r?r.explicitMerge:null)||[],s=n.shift();if(e.isObject(t)&&e.isObject(s))for(var l in s)e.isObject(s[l])?(t[l]||Object.assign(t,((o={})[l]={},o)),-1!==a.indexOf(l)?t[l]=e.explicitFlatMerge(t[l],s[l]):e.mergeDeep(t[l],[s[l]],r)):Object.assign(t,((i={})[l]=s[l],i));return e.mergeDeep(t,n,r)},e.mergeDefaults=function(t,n,r){return e.mergeDeep({},[n,t],r)},e.explicitFlatMerge=function(e,t){var r=n({},e);return Object.keys(t).forEach((function(e){null===t[e]||0===Object.keys(t[e]).length?delete r[e]:r[e]=t[e]})),r},e.get=function(e,t,n){for(var r=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),o=e,i=0;i<r.length;i++){if(!o[r[i]])return n;o=o[r[i]]}return o},e}();t.ObjectUtils=r},4141:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1132),t)},1132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayPortal=void 0;var n=KalturaPlayer.ui.redux.useSelector,r=KalturaPlayer.ui.createPortal;t.OverlayPortal=function(e){var t=e.children,o=n((function(e){return e.config.targetId})),i=document.getElementById(o)||document;return r(t,i.querySelector(".overlay-portal"))}},8541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerContribRegistry=void 0;var n=function(){function e(){this._cache={}}return e.get=function(t){return t.__contrib__=t.__contrib__||{},t.__contrib__.services=t.__contrib__.services||new e,t.__contrib__.services},e.prototype.get=function(e){var t=this._cache[e];if(!t)throw new Error("cannot find resource with token ".concat(e));return t},e.prototype.register=function(e,t){var n=this._cache[e];return n||(n=this._cache[e]={instance:t()}),n.instance},e}();t.PlayerContribRegistry=n},9968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoSize=t.getPlayerSize=void 0,t.getPlayerSize=function(e){return e?e.dimensions:{width:0,height:0}},t.getVideoSize=function(e){if(!e)return{width:0,height:0};var t=e.getActiveTracks().video;return t&&void 0!==t.width&&void 0!==t.height?{width:t.width,height:t.height}:e.getVideoElement()?{width:e.getVideoElement().videoWidth,height:e.getVideoElement().videoHeight}:{width:0,height:0}}},6056:(e,t)=>{"use strict";var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeToTypes=t.ReservedPresetAreas=t.ReservedPresetNames=void 0,(o=t.ReservedPresetNames||(t.ReservedPresetNames={})).Playback="Playback",o.Live="Live",(r=t.ReservedPresetAreas||(t.ReservedPresetAreas={})).PresetFloating="PresetFloating",r.BottomBarLeftControls="BottomBarLeftControls",r.BottomBarRightControls="BottomBarRightControls",r.TopBarLeftControls="TopBarLeftControls",r.TopBarRightControls="TopBarRightControls",r.SidePanelTop="SidePanelTop",r.SidePanelLeft="SidePanelLeft",r.SidePanelRight="SidePanelRight",r.SidePanelBottom="SidePanelBottom",r.PresetArea="PresetArea",r.InteractiveArea="InteractiveArea",r.PlayerArea="PlayerArea",r.VideoArea="VideoArea",(n=t.RelativeToTypes||(t.RelativeToTypes={})).Before="Before",n.After="After",n.Replace="Replace"},3553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetItem=void 0;var r=n(4522),o=n(6056),i=n(5260),a=function(){function e(e){var t=this;this._render=function(){if(t._options.data.isolateComponent){var e=t._options.data,n=e.label,o=e.fillContainer;return(0,r.h)(i.InjectedComponent,{label:n,fillContainer:o||!1,onCreate:t._onCreate,onDestroy:t._onDestroy})}return t._options.data.renderChild()},this._onDestroy=function(e){e.parent&&(0,r.render)(null,e.parent)},this._onCreate=function(e){try{if(!e.parent)return;var n=t._options.data.renderChild();if(!n)return;(0,r.render)(n,e.parent)}catch(e){}},this._options=e}return Object.defineProperty(e.prototype,"playerConfig",{get:function(){var e=[];for(var t in this._options.data.presetAreas){var n=this._options.data.presetAreas[t],r=this._options.data.relativeTo;if(n){var i={label:this._options.data.label,presets:[t],container:n,get:this._render};if(r)switch(r.type){case o.RelativeToTypes.After:i.afterComponent=r.name;break;case o.RelativeToTypes.Before:i.beforeComponent=r.name;break;case o.RelativeToTypes.Replace:i.replaceComponent=r.name}e.push(i)}}return e},enumerable:!1,configurable:!0}),e}();t.PresetItem=a},3480:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.PresetManager=t.PresetManagerEventTypes=void 0;var o,i=n(4522),a=n(3553),s=n(6080),l=n(8763),c=n(9109),u=n(8568);!function(e){e.PresetResizeEvent="PresetResizeEvent",e.VideoResizeEvent="VideoResizeEvent"}(o=t.PresetManagerEventTypes||(t.PresetManagerEventTypes={}));var p=["PlayerArea"],d={presetAreasMapping:{Playback:{PlayerArea:"PlayerArea"},Live:{PlayerArea:"PlayerArea"}}},h=function(){function e(e){var t=this;this._events=new s.EventsManager,this._isLocked=!1,this._items=[],this._pendingItems=[],this._registerToPlayer=function(e){e.addEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.addEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this._notifyVideoResize=function(){t._events.emit({type:o.VideoResizeEvent})},this._notifyUIPresetResize=function(){t._events.emit({type:o.PresetResizeEvent})},this._unregisterToPlayer=function(e){e.removeEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.removeEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this.on=this._events.on.bind(this._events),this.off=this._events.off.bind(this._events),this._options=e,this._presetConfig=(0,u.getContribConfig)(this._options.kalturaPlayer,"ui.preset",d,{explicitMerge:["presetAreasMapping"]});var n=c.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._presetConfig.presetAreasMapping,acceptableTypes:p});this.add({label:"preset-manager",presetAreas:n.PlayerArea,renderChild:function(){return(0,i.h)(l.UIPlayerAdapter,{onMount:t._registerToPlayer,onUnmount:t._unregisterToPlayer})}})}return e.prototype.add=function(e){if(this._isLocked)return console.warn("cannot add new preset items once player completed its' setup phase"),null;var t=new a.PresetItem({kalturaPlayer:this._options.kalturaPlayer,data:e});this._pendingItems.push(t)},e.prototype.lockManager=function(){this._isLocked=!0},e.prototype.registerComponents=function(){var e=[];return this._pendingItems.forEach((function(t){e=r(r([],e,!0),t.playerConfig,!0)})),this._items=r(r([],this._items,!0),this._pendingItems,!0),this._pendingItems=[],e.filter(Boolean)},e}();t.PresetManager=h},9109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetsUtils=void 0;var n=function(){function e(){}return e.groupPresetAreasByType=function(e){var t=e.presetAreasMapping,n=e.acceptableTypes,r={};return n.forEach((function(e){return r[e]={}})),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(o){-1===n.indexOf(o)||(r[o][e]=t[e][o])}))})),r},e}();t.PresetsUtils=n},9945:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastManager=t.ToastSeverity=void 0;var i,a=n(3301),s=n(3782),l=n(4027),c=n(4522);(i=t.ToastSeverity||(t.ToastSeverity={})).Info="Info",i.Success="Success",i.Warn="Warn",i.Error="Error";var u=function(){function e(e){var t=this;this.options=e,this._toasts=[],this._floatingItem=null,this._remove=function(e){var n=t._findToastIndexById(e);-1!==n&&(clearTimeout(t._toasts[n].timerSubscription),t._toasts.splice(n,1),t._updateToastsUI(),0===t._toasts.length&&t._removeToastsContainer())},this._options=e}return e.prototype.add=function(e){var t=e.duration,n=o(e,["duration"]);this._floatingItem||this._addToastsContainer();var i={toastProps:r(r({},n),{id:a.UUID.uuidV1(),onClose:this._remove}),duration:t,timerSubscription:null};this._toasts.push(i),this._updateToastsUI(),this._startDurationTimer(i)},e.prototype.reset=function(){var e=this;this._toasts.forEach((function(t){e._remove(t.toastProps.id)}))},e.prototype._startDurationTimer=function(e){var t=this;e.timerSubscription=setTimeout((function(){t._remove(e.toastProps.id)}),e.duration)},e.prototype._addToastsContainer=function(){var e=this;this._floatingItem=this._options.floatingManager.add({label:"Toasts",mode:s.FloatingUIModes.Immediate,position:s.FloatingPositions.InteractiveArea,renderContent:function(){return(0,c.h)(l.ToastsContainer,{toasts:e._toasts.map((function(e){return e.toastProps}))})}})},e.prototype._removeToastsContainer=function(){this._floatingItem&&(this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype._updateToastsUI=function(){this._floatingItem&&this._floatingItem.update()},e.prototype._findToastIndexById=function(e){for(var t=0;t<this._toasts.length;){if(this._toasts[t].toastProps.id===e)return t;t++}return-1},e}();t.ToastManager=u},6577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;var r=n(4522);t.CloseIcon=function(){return(0,r.h)("svg",{width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,r.h)("g",{id:"Icons/16/Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("path",{d:"M8.8497789,8 L11.824005,10.9742261 C12.058665,11.2088861 12.058665,11.5893451 11.824005,11.824005 C11.5893451,12.058665 11.2088861,12.058665 10.9742261,11.824005 L8,8.8497789 L5.02577387,11.824005 C4.7911139,12.058665 4.41065493,12.058665 4.17599497,11.824005 C3.94133501,11.5893451 3.94133501,11.2088861 4.17599497,10.9742261 L7.1502211,8 L4.17599497,5.02577387 C3.94133501,4.7911139 3.94133501,4.41065493 4.17599497,4.17599497 C4.41065493,3.94133501 4.7911139,3.94133501 5.02577387,4.17599497 L8,7.1502211 L10.9742261,4.17599497 C11.2088861,3.94133501 11.5893451,3.94133501 11.824005,4.17599497 C12.058665,4.41065493 12.058665,4.7911139 11.824005,5.02577387 L8.8497789,8 Z",id:"Path",fill:"#cccccc"})))}},4461:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Toast=void 0;var i=n(4522),a=n(2001),s=n(9945),l=n(6577),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isShown:!0},t._onClick=function(e){t.props.onClick(),t._onClose(e)},t._onClose=function(e){e.stopPropagation(),t.setState({isShown:!1}),t.props.onClose(t.props.id)},t}return o(t,e),t.prototype._getToastSeverityClass=function(){switch(this.props.severity){case s.ToastSeverity.Success:return a.successToast;case s.ToastSeverity.Warn:return a.warnToast;case s.ToastSeverity.Error:return a.errorToast;default:return a.infoToast}},t.prototype.render=function(){var e=this.props,t=e.text,n=e.title,r=e.icon;return(0,i.h)("div",{className:a.toastWrapper+" "+this._getToastSeverityClass(),onClick:this._onClick},(0,i.h)("button",{className:a.closeButton,onClick:this._onClose},(0,i.h)(l.CloseIcon,null)),(0,i.h)("div",{className:a.title},n),(0,i.h)("div",{className:a.toastBody},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},r)),(0,i.h)("div",{className:a.text},t)))},t}(i.Component);t.Toast=c},4027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var r=n(1454);Object.defineProperty(t,"ToastsContainer",{enumerable:!0,get:function(){return r.ToastsContainer}})},1454:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var a=n(4522),s=n(4461),l=n(2167),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return(0,a.h)("div",{className:l.toastsContainer,"aria-live":"polite"},this.props.toasts.map((function(e){return(0,a.h)("div",{className:l.toastRow,key:e.id},(0,a.h)(s.Toast,i({},e)))})))},t}(a.Component);t.ToastsContainer=c},8763:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(137),t)},137:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.UIPlayerAdapter=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.componentDidMount=function(){this.props.onMount(this.props.player)},t.prototype.componentWillUnmount=function(){this.props.onUnmount(this.props.player)},t.prototype.render=function(e){return null},t.defaultProps={player:null},i([KalturaPlayer.ui.components.withPlayer],t)}(n(4522).Component);t.UIPlayerAdapter=a},3301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=void 0;var n=function(){function e(){}return e.uuidV1=function(){return"".concat(Date.now(),"-").concat(Math.random())},e}();t.UUID=n},19:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var n=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var n=this._eventListeners[e];n&&n.splice(n.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=n},8707:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(19),t),o(n(7640),t)},7640:(e,t)=>{"use strict";function n(){return"##".concat("Guest").concat("HashSeparator").concat(function(){for(var e=(0,t.generateId)(),n="",r=0;r<e.length;r++){var o=e.charAt(r);n+=Number.isNaN(+o)?o.charCodeAt(0):o}return n}(),"##")}Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.generateId=void 0,t.generateId=function(){return(new Date).getTime().toString(36)+Math.random().toString(36).slice(2)},t.getUserId=function(){return"undefined"==typeof Storage?n():((e=localStorage.getItem("anonymousUserId"))||(e=n(),localStorage.setItem("anonymousUserId",e)),e);var e}},9413:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},3189:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},5045:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},9369:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}return n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,n(3607)})(),e.exports=t()},360:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(522),o=n(573),i={position:"absolute",display:"table",boxSizing:"border-box"},a={position:"relative",width:"100%",height:"100%",appearance:"none",border:"none",display:"table-cell",verticalAlign:"middle",textAlign:"center",cursor:"pointer",wordBreak:"break-all",textRendering:"geometricPrecision"};function s(e){return e.match(/^https?:\/\//i)||(e="http://"+e),e}class l extends r.Component{constructor(){super(...arguments),this.state={disableClick:!0,isReady:!1},this.isClickable=()=>{const{hotspot:{onClick:e}}=this.props;if(!e)return!1;switch(e.type){case"jumpToTime":return void 0!==e.jumpToTime;case"openUrl":case"openUrlInNewTab":return!!e.url;default:return!1}},this.handleClick=()=>{const{hotspot:e}=this.props,{disableClick:t}=this.state;if(e.onClick&&!t)switch(e.onClick.type){case"jumpToTime":if(void 0===e.onClick.jumpToTime)return;this.props.seekTo(e.onClick.jumpToTime/1e3);break;case"openUrl":{if(!e.onClick.url)return;const t=s(e.onClick.url);window.open(t,"_top"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}break;case"openUrlInNewTab":{if(!e.onClick.url)return;this.props.pauseVideo();const t=s(e.onClick.url);try{window.open(t,"_blank"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}catch(e){}}}}}componentDidMount(){const{hotspot:e}=this.props;e&&e.onClick?this.setState({isReady:!0,disableClick:!this.isClickable()}):this.setState({isReady:!0})}render(){const{hotspot:e}=this.props,{layout:t,label:n}=e,{isReady:s,disableClick:l}=this.state;if(!s||!this.props.visible)return null;const c=Object.assign(Object.assign({},i),{top:t.y,left:t.x,height:t.height,width:t.width}),u=Object.assign(Object.assign(Object.assign({},a),e.styles),{cursor:l?"default":"pointer"});return(0,r.h)(o.A11yWrapper,{onClick:this.handleClick},(0,r.h)("div",{tabIndex:0,"aria-label":n,"aria-disabled":l,role:"button",style:c},(0,r.h)("div",{style:u},n)))}}t.default=l,l.defaultProps={styles:{}}},658:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(522),o=n(912),i=n(360),a={position:"absolute",display:"block",overflow:"visible",top:0,left:0,width:0,height:0};class s extends r.Component{constructor(){super(...arguments),this.renderHotspots=e=>{if(!e)return null;const{seekTo:t,pauseVideo:n,sendAnalytics:o}=this.props;return e.map((e=>(0,r.h)(i.default,{pauseVideo:n,seekTo:t,key:e.id,visible:!0,hotspot:e,sendAnalytics:o})))}}shouldComponentUpdate(e){return!(0,o.shallowCompareHotspots)(this.props.hotspots,e.hotspots)}render(){const{hotspots:e}=this.props,t=this.renderHotspots(e);return(0,r.h)("div",{style:a},t)}}t.default=s},624:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HotspotsPlugin=void 0;const r=n(522),o=n(573),i=n(658),a=n(263);class s extends KalturaPlayer.core.BasePlugin{constructor(e,t,n){super(e,t,n),this._hotspots=[],this._floatingItem=null,this._canvas=null,this._isHotspotType=e=>{const{metadata:t}=e,{KalturaCuePointType:n,KalturaCuePointTags:r}=this.cuePointManager;return(null==t?void 0:t.cuePointType)===n.ANNOTATION&&(null==t?void 0:t.tags)===r.HOTSPOT},this._filterHotspotCues=e=>e.filter(this._isHotspotType),this._prepareHotspots=e=>{const t=[];return e.forEach((e=>{const{partnerData:n}=e.metadata;n&&n.schemaVersion&&t.push({id:e.id,startTime:e.startTime,endTime:e.endTime,label:e.metadata.text,styles:n.styles,onClick:n.onClick,rawLayout:Object.assign({},n.layout)})})),t},this._recalculateCuepointLayout=e=>{var t,n;if(this.logger.debug("calculating cuepoint layout based on video/player sizes"),!(null===(t=this._canvas)||void 0===t?void 0:t.playerSize)||!(null===(n=this._canvas)||void 0===n?void 0:n.videoSize))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const{width:r,height:o}=this._canvas.playerSize,{width:i,height:s}=this._canvas.videoSize;if(!(r&&o&&i&&s))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const l=(0,a.scaleVideo)(i,s,r,o,!0);return this.logger.debug("recalculate cuepoint layout based on new sizes"),e.map((e=>Object.assign(Object.assign({},e),{layout:this._calculateLayout(e,l)})))},this._onTimedMetadataChange=({payload:e})=>{const t=this._filterHotspotCues(e.cues);if(t.length||this._hotspots.length){const e=this._prepareHotspots(t);this._hotspots=this._recalculateCuepointLayout(e),this._updateHotspotsContainer()}},this._pauseVideo=()=>{this._player.pause()},this._seekTo=e=>{this._player.currentTime=e},this._checkIfResizeHappened=e=>{if(!this._canvas)return this._canvas=e,!0;const t=this._canvas.playerSize,n=this._canvas.videoSize,r=e.playerSize,o=e.videoSize;return(t.width!==r.width||t.height!==r.height||n.width!==o.width||n.height!==o.height)&&(this._canvas=e,!0)},this._renderRoot=e=>(this._checkIfResizeHappened(e.canvas)&&(this._hotspots=this._recalculateCuepointLayout(this._hotspots)),(0,r.h)(i.default,{key:"hotspotWrapper",hotspots:this._hotspots,pauseVideo:this._pauseVideo,seekTo:this._seekTo,sendAnalytics:()=>{}})),this._player=t,this._contribServices=o.ContribServices.get({kalturaPlayer:this._player})}static isValid(){return!0}get cuePointManager(){return this._player.getService("kalturaCuepoints")}getUIComponents(){return this._contribServices.register()}loadMedia(){this.cuePointManager&&!this._player.isLive()?(this._addHotspotsContainer(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.HOTSPOT]),this.eventManager.listen(this._player,this._player.Event.TIMED_METADATA_CHANGE,this._onTimedMetadataChange)):this.logger.warn("kalturaCuepoints haven't registered or current entry is live")}_calculateLayout(e,t){const{rawLayout:n}=e;return{x:t.left+n.relativeX*t.width,y:t.top+n.relativeY*t.height,width:n.relativeWidth*t.width,height:n.relativeHeight*t.height}}_addHotspotsContainer(){this._floatingItem=this._contribServices.floatingManager.add({label:"Hotspots",mode:o.FloatingUIModes.FirstPlay,position:o.FloatingPositions.VideoArea,renderContent:this._renderRoot})}_updateHotspotsContainer(){this._floatingItem&&this._floatingItem.update()}reset(){this.eventManager.removeAll(),this._hotspots=[],this._canvas=null,this._floatingItem&&(this._contribServices.floatingManager.remove(this._floatingItem),this._floatingItem=null)}destroy(){}}t.HotspotsPlugin=s,s.defaultConfig={}},912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowCompareHotspots=void 0,t.shallowCompareHotspots=(e,t)=>{const n=e.length;if(t.length!==n)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},263:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleVideo=void 0,t.scaleVideo=function(e,t,n,r,o){const i={width:0,height:0,left:0,top:0,scaleToTargetWidth:!0};if(e<=0||t<=0||n<=0||r<=0)return i;const a=n,s=t*n/e,l=e*r/t,c=r;let u=l>n;return u=u?o:!o,u?(i.width=Math.abs(a),i.height=Math.abs(s),i.scaleToTargetWidth=!0):(i.width=Math.abs(l),i.height=Math.abs(c),i.scaleToTargetWidth=!1),i.left=Math.abs((n-i.width)/2),i.top=Math.abs((r-i.height)/2),i}},522:function(e){"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};!function(){"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=void 0;const t=n(624);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.HotspotsPlugin}}),e.VERSION="3.1.1-canary.3-1ffc378",e.NAME="@playkit-js/hotspots",KalturaPlayer.core.registerPlugin("playkit-js-hotspots",t.HotspotsPlugin)}(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).hotspots=r}();
|
|
1
|
+
var KalturaPlayer;!function(){var e={573:function(e){var t;self,t=()=>(()=>{var e={2955:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>c,Cg:()=>l,ZP:()=>d,bH:()=>p,ce:()=>s,yG:()=>u});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".bannerContainerRoot_K1xa7{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer_Ca8Vu{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton_nbz3N{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton_nbz3N .small_n5NA7{display:none}.closeButton_nbz3N:hover,.closeButton_nbz3N:active{cursor:pointer}.playkit-size-md .bannerContainerRoot_K1xa7{height:68px;min-width:230px}.playkit-size-md .closeButton_nbz3N{top:8px;right:8px;width:10px;height:10px}.playkit-size-md .closeButton_nbz3N .large_bCALw{display:none}.playkit-size-md .closeButton_nbz3N .small_n5NA7{display:block}.playkit-size-sm .bannerContainerRoot_K1xa7,.playkit-size-xs .bannerContainerRoot_K1xa7,.playkit-size-ty .bannerContainerRoot_K1xa7{display:none;width:0;height:0}","",{version:3,sources:["webpack://./src/ui-common/banner-container/_banner-container.scss"],names:[],mappings:"AAAA,2BAAqB,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,kBAAkB,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAiB,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,gCAAoB,YAAY,CAAC,mDAAuC,cAAc,CAAC,4CAAqD,WAAW,CAAC,eAAe,CAAC,oCAA6C,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,iDAAoD,YAAY,CAAC,iDAAoD,aAAa,CAAC,oIAA+J,YAAY,CAAC,OAAO,CAAC,QAAQ",sourcesContent:[".bannerContainerRoot{position:absolute;max-width:100%;min-width:270px;padding:0 16px 8px;height:88px;bottom:0;left:0;transition:all .5s ease}.bannerContainer{position:relative;width:100%;height:100%;border-radius:4px;transition:all .5s ease}.closeButton{position:absolute;background-color:rgba(0,0,0,0);padding:0;border:none;top:0;right:0;width:32px;height:32px;padding:0}.closeButton .small{display:none}.closeButton:hover,.closeButton:active{cursor:pointer}:global .playkit-size-md :local .bannerContainerRoot{height:68px;min-width:230px}:global .playkit-size-md :local .closeButton{top:8px;right:8px;width:10px;height:10px}:global .playkit-size-md :local .closeButton .large{display:none}:global .playkit-size-md :local .closeButton .small{display:block}:global .playkit-size-sm :local .bannerContainerRoot,:global .playkit-size-xs :local .bannerContainerRoot,:global .playkit-size-ty :local .bannerContainerRoot{display:none;width:0;height:0}"],sourceRoot:""}]);var s="bannerContainerRoot_K1xa7",l="bannerContainer_Ca8Vu",c="closeButton_nbz3N",u="small_n5NA7",p="large_bCALw";const d=a},8727:(e,t,n)=>{"use strict";n.d(t,{Fu:()=>c,TN:()=>_,Wd:()=>l,ZP:()=>C,aW:()=>u,bH:()=>f,cy:()=>p,d7:()=>h,fL:()=>A,m0:()=>s,yG:()=>d});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".defaultBannerRoot_FcPU5{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper_mXxJz{padding:18px 17px 17px 16px}.iconContainer_peqkF{height:100%;width:64px}.iconWrapper_tGuZb{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage_bNDFZ{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage_bNDFZ .small_n4xT9{display:none}.bannerBody_TiV10{height:100%;flex:1 1 auto;overflow:hidden}.title_H1iK9{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text_tT5dF{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}.playkit-size-md .bannerWrapper_mXxJz{padding:14px 16px 14px}.playkit-size-md .iconContainer_peqkF{width:44px}.playkit-size-md .iconWrapper_tGuZb{height:32px;width:32px}.playkit-size-md .iconImage_bNDFZ{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}.playkit-size-md .iconImage_bNDFZ .small_n4xT9{display:block}.playkit-size-md .iconImage_bNDFZ .large_xGydU{display:none}.playkit-size-md .bannerBody_TiV10{flex:1 1 auto}.playkit-size-md .title_H1iK9{font-size:12px;font-weight:bold;line-height:1.17}.playkit-size-md .text_tT5dF{font-size:15px;line-height:1.27}","",{version:3,sources:["webpack://./src/ui-common/banner/_banner.scss"],names:[],mappings:"AAAA,yBAAmB,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,uBAAuB,CAAC,eAAe,CAAC,qBAAe,2BAA2B,CAAC,qBAAe,WAAW,CAAC,UAAU,CAAC,mBAAa,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,SAAS,CAAC,8BAAkB,YAAY,CAAC,kBAAY,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,aAAO,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,qBAAqB,CAAC,aAAa,CAAC,YAAM,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,sCAA+C,sBAAsB,CAAC,sCAA+C,UAAU,CAAC,oCAA6C,WAAW,CAAC,UAAU,CAAC,kCAA2C,UAAU,CAAC,WAAW,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,+CAAkD,aAAa,CAAC,+CAAkD,YAAY,CAAC,mCAA4C,aAAa,CAAC,8BAAuC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,6BAAsC,cAAc,CAAC,gBAAgB",sourcesContent:[".defaultBannerRoot{display:flex;max-width:100%;height:100%;transition:all .5s ease;text-align:left}.bannerWrapper{padding:18px 17px 17px 16px}.iconContainer{height:100%;width:64px}.iconWrapper{position:relative;height:48px;width:48px;background-color:rgba(255,255,255,.14);border-radius:50%;transition:all .5s ease}.iconImage{position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);transition:all .5s ease;padding:0}.iconImage .small{display:none}.bannerBody{height:100%;flex:1 1 auto;overflow:hidden}.title{opacity:.9;font-size:14px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;color:#ebebeb}.text{opacity:.9;font-size:24px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.21;letter-spacing:normal;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .5s ease}:global .playkit-size-md :local .bannerWrapper{padding:14px 16px 14px}:global .playkit-size-md :local .iconContainer{width:44px}:global .playkit-size-md :local .iconWrapper{height:32px;width:32px}:global .playkit-size-md :local .iconImage{width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px)}:global .playkit-size-md :local .iconImage .small{display:block}:global .playkit-size-md :local .iconImage .large{display:none}:global .playkit-size-md :local .bannerBody{flex:1 1 auto}:global .playkit-size-md :local .title{font-size:12px;font-weight:bold;line-height:1.17}:global .playkit-size-md :local .text{font-size:15px;line-height:1.27}"],sourceRoot:""}]);var s="defaultBannerRoot_FcPU5",l="bannerWrapper_mXxJz",c="iconContainer_peqkF",u="iconWrapper_tGuZb",p="iconImage_bNDFZ",d="small_n4xT9",h="bannerBody_TiV10",_="title_H1iK9",A="text_tT5dF",f="large_xGydU";const C=a},5985:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,Z:()=>l});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".fill-container_hw3_7{width:100%;height:100%;overflow:hidden}","",{version:3,sources:["webpack://./src/ui-common/injected-component/injected-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW,CAAC,eAAe",sourcesContent:[".fill-container{width:100%;height:100%;overflow:hidden}"],sourceRoot:""}]);var s="fill-container_hw3_7";const l=a},8999:(e,t,n)=>{"use strict";n.d(t,{JU:()=>p,Xh:()=>u,ZP:()=>A,bB:()=>_,eX:()=>c,kz:()=>h,uN:()=>l,wc:()=>s,zF:()=>d});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".input-field-wrapper_Si_dO{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper_Si_dO ::-moz-placeholder{opacity:1}.input-field-wrapper_Si_dO .search-results_RVOEu{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG .prev-next-button_GH9Q8{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper_Si_dO .prev-next-wrapper_F9uEG .prev-next-button_GH9Q8.disabled_j3Qao{opacity:.4;cursor:default}.input-field-wrapper_Si_dO .input-element_N15su{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper_Si_dO .input-element_N15su::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper_Si_dO .input-element_N15su::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper_Si_dO .clear-icon_Ix9EE{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper_Si_dO:hover{border-color:#fff}.input-field-wrapper_Si_dO.active_wprgm{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./src/ui-common/input-field/input-field.scss"],names:[],mappings:"AAAA,2BAAqB,YAAY,CAAC,kBAAkB,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC,qCAAqC,CAAC,iBAAiB,CAAC,8CAAwC,SAAS,CAAC,iDAAqC,YAAY,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,CAAC,cAAc,CAAC,sBAAsB,CAAC,oDAAwC,YAAY,CAAC,qBAAqB,CAAC,4BAA4B,CAAC,eAAe,CAAC,WAAW,CAAC,SAAS,CAAC,YAAY,CAAC,4EAA0D,YAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,8BAA8B,CAAC,WAAW,CAAC,cAAc,CAAC,2FAAmE,UAAU,CAAC,cAAc,CAAC,gDAAoC,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC,iCAAiC,CAAC,wBAAwB,CAAC,WAAW,CAAC,eAAe,CAAC,sBAAsB,CAAC,6DAAiD,iCAAiC,CAAC,2DAA+C,sDAAsD,CAAC,6CAAiC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,8BAA8B,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,WAAW,CAAC,cAAc,CAAC,iCAA2B,iBAAiB,CAAC,wCAA4B,iCAAiC,CAAC,sCAAsC,CAAC,iBAAiB",sourcesContent:[".input-field-wrapper{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.input-field-wrapper ::-moz-placeholder{opacity:1}.input-field-wrapper .search-results{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.input-field-wrapper .prev-next-wrapper{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.input-field-wrapper .prev-next-wrapper .prev-next-button{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.input-field-wrapper .prev-next-wrapper .prev-next-button.disabled{opacity:.4;cursor:default}.input-field-wrapper .input-element{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.input-field-wrapper .input-element::placeholder{color:var(--playkit-tone-2-color)}.input-field-wrapper .input-element::selection{background-color:var(--playkit-primary-brighter-color)}.input-field-wrapper .clear-icon{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.input-field-wrapper:hover{border-color:#fff}.input-field-wrapper.active{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}"],sourceRoot:""}]);var s="input-field-wrapper_Si_dO",l="search-results_RVOEu",c="prev-next-wrapper_F9uEG",u="prev-next-button_GH9Q8",p="disabled_j3Qao",d="input-element_N15su",h="clear-icon_Ix9EE",_="active_wprgm";const A=a},1326:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,Z:()=>l});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".fill-container_bXz_O{width:100%;height:100%}","",{version:3,sources:["webpack://./src/ui-common/managed-component/_managed-component.scss"],names:[],mappings:"AAAA,sBAAgB,UAAU,CAAC,WAAW",sourcesContent:[".fill-container{width:100%;height:100%}"],sourceRoot:""}]);var s="fill-container_bXz_O";const l=a},2480:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>d,Fu:()=>A,GK:()=>s,Jc:()=>p,Qm:()=>c,Rr:()=>l,TN:()=>h,X$:()=>_,ZP:()=>g,aW:()=>f,fL:()=>C,x_:()=>u});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".toastWrapper_COU8f{position:relative;min-width:120px;max-width:264px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast_G1Pcn{border-left-color:#01accd}.successToast_qxdk2{border-left-color:#009e48}.warnToast_exwq_{border-left-color:#f9a71b}.errorToast_zWxrk{border-left-color:#e7585d}.closeButton_erWFo{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton_erWFo:hover{cursor:pointer}.title_WsGFu{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody_oRqUX{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer_nOLnP{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper_cRX3a{height:16px;width:16px}.text_NL9Fe{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}","",{version:3,sources:["webpack://./src/ui-common/toast/_toast.scss"],names:[],mappings:"AAAA,oBAAc,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,eAAe,CAAC,iBAAW,yBAAyB,CAAC,oBAAc,yBAAyB,CAAC,iBAAW,yBAAyB,CAAC,kBAAY,yBAAyB,CAAC,mBAAa,iBAAiB,CAAC,8BAA8B,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,2BAA2B,CAAC,WAAW,CAAC,SAAS,CAAC,yBAAmB,cAAc,CAAC,aAAO,cAAc,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,eAAe,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,iBAAW,iBAAiB,CAAC,UAAU,CAAC,yBAAyB,CAAC,qBAAe,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,CAAC,mBAAa,WAAW,CAAC,UAAU,CAAC,YAAM,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,sBAAsB",sourcesContent:[".toastWrapper{position:relative;min-width:120px;max-width:264px;height:100%;border-radius:4px;background-color:#222;border-left-style:solid;border-left-width:4px;text-align:left}.infoToast{border-left-color:#01accd}.successToast{border-left-color:#009e48}.warnToast{border-left-color:#f9a71b}.errorToast{border-left-color:#e7585d}.closeButton{position:absolute;background-color:rgba(0,0,0,0);top:0;right:0;width:16px;height:16px;object-fit:contain;background-repeat:no-repeat;border:none;padding:0}.closeButton:hover{cursor:pointer}.title{font-size:12px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:1.17;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px;padding-right:16px;padding-left:12px}.toastBody{position:relative;width:100%;padding:2px 16px 5px 12px}.iconContainer{position:relative;height:16px;width:16px;float:left;margin-right:7px}.iconWrapper{height:16px;width:16px}.text{font-size:14px;font-weight:bold;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],sourceRoot:""}]);var s="toastWrapper_COU8f",l="infoToast_G1Pcn",c="successToast_qxdk2",u="warnToast_exwq_",p="errorToast_zWxrk",d="closeButton_erWFo",h="title_WsGFu",_="toastBody_oRqUX",A="iconContainer_nOLnP",f="iconWrapper_cRX3a",C="text_NL9Fe";const g=a},4702:(e,t,n)=>{"use strict";n.d(t,{Q$:()=>s,YY:()=>l,ZP:()=>c});var r=n(7537),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".toastsContainer_Xf0eZ{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:264px;display:flex;flex-direction:column}.toastRow_iOkeY{height:42px;min-width:120px;max-width:264px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}","",{version:3,sources:["webpack://./src/ui-common/toasts-container/_toasts-container.scss"],names:[],mappings:"AAAA,uBAAiB,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,qBAAqB,CAAC,gBAAU,WAAW,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,eAAe,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,mBAAmB",sourcesContent:[".toastsContainer{position:absolute;right:0;top:0;padding:8px 16px 0;min-width:120px;max-width:264px;display:flex;flex-direction:column}.toastRow{height:42px;min-width:120px;max-width:264px;margin-bottom:8px;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;align-self:flex-end}"],sourceRoot:""}]);var s="toastsContainer_Xf0eZ",l="toastRow_iOkeY";const c=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8337:(e,t,n)=>{"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(6066)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===o(n))return"[object RegExp]"!==o(n.validate)?i(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,d(this,0)):null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},6066:(e,t,n)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=n(9369).source,t.src_Cc=n(9413).source,t.src_Z=n(5045).source,t.src_P=n(3189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},4291:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bannerContainer:()=>A.Cg,bannerContainerRoot:()=>A.ce,closeButton:()=>A.Ah,default:()=>C,large:()=>A.bH,small:()=>A.yG});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(2955),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},8808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bannerBody:()=>A.d7,bannerWrapper:()=>A.Wd,default:()=>C,defaultBannerRoot:()=>A.m0,iconContainer:()=>A.Fu,iconImage:()=>A.cy,iconWrapper:()=>A.aW,large:()=>A.bH,small:()=>A.yG,text:()=>A.fL,title:()=>A.TN});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(8727),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},2633:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,fillContainer:()=>A.V});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(5985),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.Z,f);const C=A.Z&&A.Z.locals?A.Z.locals:void 0},2031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{active:()=>A.bB,clearIcon:()=>A.kz,default:()=>C,disabled:()=>A.JU,inputElement:()=>A.zF,inputFieldWrapper:()=>A.wc,prevNextButton:()=>A.Xh,prevNextWrapper:()=>A.eX,searchResults:()=>A.uN});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(8999),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},8802:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,fillContainer:()=>A.V});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(1326),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.Z,f);const C=A.Z&&A.Z.locals?A.Z.locals:void 0},2001:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeButton:()=>A.Ah,default:()=>C,errorToast:()=>A.Jc,iconContainer:()=>A.Fu,iconWrapper:()=>A.aW,infoToast:()=>A.Rr,successToast:()=>A.Qm,text:()=>A.fL,title:()=>A.TN,toastBody:()=>A.X$,toastWrapper:()=>A.GK,warnToast:()=>A.x_});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(2480),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},2167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C,toastRow:()=>A.YY,toastsContainer:()=>A.Q$});var r=n(3379),o=n.n(r),i=n(7795),a=n.n(i),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),p=n(9216),d=n.n(p),h=n(4589),_=n.n(h),A=n(4702),f={};f.styleTagTransform=_(),f.setAttributes=u(),f.insert=l().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(A.ZP,f);const C=A.ZP&&A.ZP.locals?A.ZP.locals:void 0},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var d=n(p),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var _=o(h,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:_,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3607:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7299),t),o(n(8707),t),o(n(1170),t)},7277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1170:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7277),t)},8376:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=void 0;var r=n(4522),o=KalturaPlayer.ui.utils.KeyMap,i=o.ENTER,a=o.SPACE,s=o.UP,l=o.DOWN,c=function(e){e.preventDefault(),e.stopPropagation()};t.A11yWrapper=function(e){var t=e.children,n=e.onClick,o=e.onUpKeyPressed,u=e.onDownKeyPressed;return(0,r.cloneElement)(t,{onKeyDown:function(e){[a,i].includes(e.keyCode)?(c(e),n(e,!0)):e.keyCode===s&&o?(c(e),o(e)):e.keyCode===l&&u&&(c(e),u(e))},onClick:function(e){var t=[e.offsetX,e.offsetY].every((function(e){return 0===e}));e.stopPropagation(),n(e,t)}})}},8893:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8376),t)},8824:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var i=n(4522),a=n(4291),s=n(3132),l=n(5494),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=this.props.theme,n=t.backgroundColor,r=t.blur;return(0,i.h)("div",{className:a.bannerContainerRoot,"aria-live":"polite"},(0,i.h)("div",{style:"\n background-color:".concat(n,"; \n backdrop-filter: blur(").concat(r,");\n "),className:a.bannerContainer},(0,i.h)("button",{className:a.closeButton,onClick:e.onClose},(0,i.h)(s.CloseSmall,{className:a.small}),(0,i.h)(l.CloseLarge,{className:a.large})),this.props.children))},t}(i.Component);t.BannerContainer=c},5494:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseLarge=void 0;var o=n(4522);t.CloseLarge=function(e){return(0,o.h)("svg",r({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32x32/Menu-Player-Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("path",{d:"M17.4142136,16 L22.363961,20.9497475 C22.7544853,21.3402718 22.7544853,21.9734367 22.363961,22.363961 C21.9734367,22.7544853 21.3402718,22.7544853 20.9497475,22.363961 L16,17.4142136 L11.0502525,22.363961 C10.6597282,22.7544853 10.0265633,22.7544853 9.63603897,22.363961 C9.24551468,21.9734367 9.24551468,21.3402718 9.63603897,20.9497475 L14.5857864,16 L9.63603897,11.0502525 C9.24551468,10.6597282 9.24551468,10.0265633 9.63603897,9.63603897 C10.0265633,9.24551468 10.6597282,9.24551468 11.0502525,9.63603897 L16,14.5857864 L20.9497475,9.63603897 C21.3402718,9.24551468 21.9734367,9.24551468 22.363961,9.63603897 C22.7544853,10.0265633 22.7544853,10.6597282 22.363961,11.0502525 L17.4142136,16 Z",id:"Path",fill:"#FFFFFF"})))}},3132:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CloseSmall=void 0;var o=n(4522);t.CloseSmall=function(e){return(0,o.h)("svg",r({xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10"},e),(0,o.h)("path",{fill:"#FFF","fill-rule":"evenodd",d:"M5.956 5l3.348-3.348A.674.674 0 0 0 9.3.7a.672.672 0 0 0-.952-.004L5 4.044 1.652.696A.674.674 0 0 0 .7.7a.672.672 0 0 0-.004.952L4.044 5 .696 8.348A.674.674 0 0 0 .7 9.3c.265.266.69.266.952.004L5 5.956l3.348 3.348c.262.262.689.26.952-.004a.672.672 0 0 0 .004-.952L5.956 5z",opacity:".9"}))}},911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerContainer=void 0;var r=n(8824);Object.defineProperty(t,"BannerContainer",{enumerable:!0,get:function(){return r.BannerContainer}})},4473:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BannerManager=t.VisibilityMode=void 0;var r,o=n(3782),i=n(4522),a=n(3549),s=n(911),l=n(9968),c=n(8568);!function(e){e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"}(r=t.VisibilityMode||(t.VisibilityMode={}));var u={theme:{backgroundColor:"rgba(0, 0, 0, .7)",blur:"10px"}},p=function(){function e(e){this.options=e,this._floatingItem=null,this._timerSubscription=void 0,this._options=e,this._bannerConfig=(0,c.getContribConfig)(this._options.kalturaPlayer,"ui.banner",u)}return e.prototype.add=function(e){return this._floatingItem&&this.remove(),this._floatingItem=this._options.floatingManager.add({label:"Banner",mode:o.FloatingUIModes.Immediate,position:o.FloatingPositions.InteractiveArea,renderContent:this._createRenderBanner(e,{onClose:this._handleCloseEvent.bind(this),theme:this._bannerConfig.theme})}),e.autoClose&&this._startDurationTimer(e.duration),this._getState()},e.prototype.remove=function(){this._floatingItem&&(this._timerSubscription&&clearTimeout(this._timerSubscription),this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype.reset=function(){this.remove()},e.prototype._createRenderBanner=function(e,t){var n=e.content,r=e.renderContent,o=t.onClose,l=t.theme;return function(e){return(0,i.h)(s.BannerContainer,{onClose:o,theme:l},r?r(n,e):(0,i.h)(a.Banner,{content:n}))}},e.prototype._handleCloseEvent=function(){this.remove()},e.prototype._startDurationTimer=function(e){void 0===e&&(e=6e4),this._timerSubscription=setTimeout(this.remove.bind(this),Math.max(5e3,e))},e.prototype._getState=function(){var e=(0,l.getPlayerSize)(this._options.kalturaPlayer);return{visibilityMode:!e||e.width<480?r.HIDDEN:r.VISIBLE}},e}();t.BannerManager=p},3105:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var i=n(4522),a=n(8808),s=n(5084),l=n(4139),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(e){var t=e.content,n=t.text,r=t.title,o=void 0===r?"Audience asks:":r,s=t.icon,l=void 0===s?this._defaultIcon():s;return(0,i.h)("div",{className:a.defaultBannerRoot+" "+a.bannerWrapper},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},l)),(0,i.h)("div",{className:a.bannerBody},(0,i.h)("div",{className:a.title},o),(0,i.h)("div",{className:a.text},n)))},t.prototype._defaultIcon=function(){return(0,i.h)("div",{className:a.iconImage},(0,i.h)(s.SomeoneAsksLarge,{className:a.large}),(0,i.h)(l.SomeoneAsksSmall,{className:a.small}))},t}(i.Component);t.Banner=c},3549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var r=n(3105);Object.defineProperty(t,"Banner",{enumerable:!0,get:function(){return r.Banner}})},5084:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksLarge=void 0;var o=n(4522);t.SomeoneAsksLarge=function(e){return(0,o.h)("svg",r({width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/32/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(4.000000, 5.000000)",fill:"#B2D238"},(0,o.h)("ellipse",{id:"Oval",cx:"12",cy:"5.5",rx:"6",ry:"5.5"}),(0,o.h)("path",{d:"M12,13 C7.995,13 0,15.01 0,19 L0,20.5 C0,21.325 0.675,22 1.5,22 L22.5,22 C23.325,22 24,21.325 24,20.5 L24,19 C24,15.01 16.005,13 12,13 Z",id:"Path"}))))}},4139:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SomeoneAsksSmall=void 0;var o=n(4522);t.SomeoneAsksSmall=function(e){return(0,o.h)("svg",r({width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),(0,o.h)("g",{id:"Icons/20/Someone-asks",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,o.h)("g",{id:"Group",transform:"translate(2.000000, 2.000000)",fill:"#B2D238"},(0,o.h)("circle",{id:"Oval",cx:"8",cy:"4",r:"4"}),(0,o.h)("path",{d:"M8,9 C5.33,9 0,10.5633333 0,13.6666667 L0,14.8333333 C0,15.475 0.45,16 1,16 L15,16 C15.55,16 16,15.475 16,14.8333333 L16,13.6666667 C16,10.5633333 10.67,9 8,9 Z",id:"Path"}))))}},8759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContribServices=t.getPlayerContribRegistry=void 0;var r=n(8541),o=n(3480),i=n(9945),a=n(8185),s=n(4473);function l(e){return r.PlayerContribRegistry.get(e)}t.getPlayerContribRegistry=l;var c=function(){function e(e,t){var n=this;this._playerContribRegistry=e,this._options=t,this._registered=!1,this._addListeners=function(){var e=n._options.kalturaPlayer;e.addEventListener(e.Event.PLAYER_RESET,n.reset),e.addEventListener(e.Event.PLAYER_DESTROY,n._removeListeners)},this._removeListeners=function(){var e=n._options.kalturaPlayer;e.removeEventListener(e.Event.PLAYER_RESET,n.reset),e.removeEventListener(e.Event.PLAYER_DESTROY,n._removeListeners)},this.register=function(){return n._registered?[]:(n._registered=!0,n._presetManager.registerComponents())},this.reset=function(){n._toastManager.reset(),n._floatingManager.reset(),n._bannerManager.reset()},this.destroy=function(){n._registered=!1};var r=this._options.kalturaPlayer,l=new o.PresetManager({kalturaPlayer:r}),c=new a.FloatingManager({kalturaPlayer:r,presetManager:l}),u=new i.ToastManager({floatingManager:c}),p=new s.BannerManager({kalturaPlayer:r,floatingManager:c});this._toastManager=u,this._floatingManager=c,this._presetManager=l,this._bannerManager=p,this._addListeners()}return e.get=function(t){var n=l(t.kalturaPlayer);return n.register("ContribServices",(function(){return new e(n,t)}))},Object.defineProperty(e.prototype,"presetManager",{get:function(){return this._presetManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"floatingManager",{get:function(){return this._floatingManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toastManager",{get:function(){return this._toastManager},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bannerManager",{get:function(){return this._bannerManager},enumerable:!1,configurable:!0}),e}();t.ContribServices=c},8568:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContribConfig=void 0;var r=n(9820);t.getContribConfig=function(e,t,n,o){return r.KalturaPlayerUtils.getPlayerConfig(e,"contrib.".concat(t),n,o)}},9146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4522);t.default=function(e,t,n){return(0,r.h)("a",{href:e,key:n,target:"_blank",rel:"noopener noreferrer"},t)}},6080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var n=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var n=this._eventListeners[e];n&&n.splice(n.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=n},3782:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingPositions=t.FloatingUIModes=void 0,(r=t.FloatingUIModes||(t.FloatingUIModes={})).MediaLoaded="MediaLoaded",r.OnDemand="OnDemand",r.Immediate="Immediate",r.FirstPlay="FirstPlay",(n=t.FloatingPositions||(t.FloatingPositions={})).VideoArea="VideoArea",n.PresetArea="PresetArea",n.InteractiveArea="InteractiveArea"},9948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingItem=void 0;var r=n(4522),o=n(3782),i=n(9858),a=function(){function e(e){var t=this;this._destroyed=!1,this._isShown=!1,this._componentRef=null,this.remove=function(){t._isShown=!1,t._componentRef&&t._componentRef.update()},this.add=function(){t._isShown=!0,t._componentRef&&t._componentRef.update()},this._handleMediaLoaded=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.MEDIA_LOADED,t._handleMediaLoaded),t.add()},this._handleFirstPlay=function(){var e=t._options.kalturaPlayer;e.removeEventListener(e.Event.FIRST_PLAY,t._handleFirstPlay),t.add()},this._options=e,this._addPlayerBindings()}return Object.defineProperty(e.prototype,"data",{get:function(){return this._options.data},enumerable:!1,configurable:!0}),e.prototype.update=function(){this._componentRef&&this._componentRef.update()},e.prototype.destroy=function(){this._destroyed=!0,this.remove()},e.prototype.renderFloatingChild=function(e){var t=this,n=this._options.data.label;return(0,r.h)(i.ManagedComponent,{label:n,renderChildren:function(){return t._options.data.renderContent(e)},isShown:function(){return t._isShown},ref:function(e){return t._componentRef=e}})},e.prototype._addPlayerBindings=function(){var e=this._options,t=e.kalturaPlayer,n=e.data;n.mode===o.FloatingUIModes.MediaLoaded&&t.addEventListener(t.Event.MEDIA_LOADED,this._handleMediaLoaded),n.mode===o.FloatingUIModes.FirstPlay&&t.addEventListener(t.Event.FIRST_PLAY,this._handleFirstPlay),n.mode===o.FloatingUIModes.Immediate&&this.add()},e}();t.FloatingItem=a},8185:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingManager=void 0;var i=n(9948),a=n(3782),s=n(3480),l=n(4522),c=n(9968),u=n(9858),p=n(9109),d=n(8568),h={presetAreasMapping:{Playback:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"},Live:{VideoArea:"VideoArea",PresetArea:"PresetArea",InteractiveArea:"InteractiveArea"}}},_=["VideoArea","PresetArea","InteractiveArea"],A=function(){function e(e){var t,n,r=this;this._options=e,this._items=((t={})[a.FloatingPositions.VideoArea]=[],t[a.FloatingPositions.InteractiveArea]=[],t[a.FloatingPositions.PresetArea]=[],t),this._componentRef=((n={})[a.FloatingPositions.InteractiveArea]=null,n[a.FloatingPositions.VideoArea]=null,n[a.FloatingPositions.PresetArea]=null,n),this._cache={canvas:{playerSize:{width:0,height:0},videoSize:{width:0,height:0}}},this._renderItems=function(e){var t=r._getRendererProps({});return r._items[e].map((function(e){return e.renderFloatingChild(t)}))},this._renderChild=function(e){return(0,l.h)(u.ManagedComponent,{label:"floating-manager",renderChildren:function(){return r._renderItems(e)},isShown:function(){return!0},ref:function(t){return r._componentRef[e]=t}})},this._floatingConfig=(0,d.getContribConfig)(this._options.kalturaPlayer,"ui.floating",h,{explicitMerge:["presetAreasMapping"]});var o=p.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._floatingConfig.presetAreasMapping,acceptableTypes:_});Object.keys(o).forEach((function(e){r._options.presetManager.add({label:"floating-manager",presetAreas:o[e],renderChild:function(){return r._renderChild(a.FloatingPositions[e])}})})),this._addPlayerBindings(),this._updateCachedCanvas()}return e.prototype.add=function(e){var t=this._options.presetManager,n=r(r({presetManager:t},this._options),{data:e}),o=new i.FloatingItem(n);return this._items[e.position].push(o),o},e.prototype.remove=function(e){var t=this._items[e.data.position],n=t.indexOf(e);n>-1?(t[n].destroy(),t.splice(n,1)):console.warn("couldn't remove ".concat(e," since it wasn't found"))},e.prototype.reset=function(){o(o(o([],this._items.VideoArea,!0),this._items.InteractiveArea,!0),this._items.PresetArea,!0).forEach((function(e){try{e.destroy()}catch(e){console.warn(e)}})),this._items.VideoArea=[],this._items.PresetArea=[],this._items.InteractiveArea=[]},e.prototype._getRendererProps=function(e){var t=this._options.kalturaPlayer;return{currentTime:void 0!==e.currentTime?e.currentTime:1e3*t.currentTime,canvas:this._cache.canvas}},e.prototype._updateCachedCanvas=function(){this._cache.canvas={playerSize:(0,c.getPlayerSize)(this._options.kalturaPlayer),videoSize:(0,c.getVideoSize)(this._options.kalturaPlayer)}},e.prototype._updateComponents=function(){this._componentRef.InteractiveArea&&this._componentRef.InteractiveArea.update(),this._componentRef.PresetArea&&this._componentRef.PresetArea.update(),this._componentRef.VideoArea&&this._componentRef.VideoArea.update()},e.prototype._addPlayerBindings=function(){var e=this,t=this._options.kalturaPlayer;t.addEventListener(t.Event.TIME_UPDATE,(function(){e._updateComponents()})),t.addEventListener(t.Event.MEDIA_LOADED,(function(){e._updateCachedCanvas(),e._updateComponents()})),t.addEventListener(t.Event.LOADED_DATA,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.VideoResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()})),this._options.presetManager.on(s.PresetManagerEventTypes.PresetResizeEvent,(function(){e._updateCachedCanvas(),e._updateComponents()}))},e}();t.FloatingManager=A},7299:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=t.VisibilityMode=t.BannerManager=t.FloatingUIModes=t.FloatingPositions=t.FloatingItem=t.ToastSeverity=t.ContribServices=void 0;var i=n(8759);Object.defineProperty(t,"ContribServices",{enumerable:!0,get:function(){return i.ContribServices}});var a=n(9945);Object.defineProperty(t,"ToastSeverity",{enumerable:!0,get:function(){return a.ToastSeverity}});var s=n(9948);Object.defineProperty(t,"FloatingItem",{enumerable:!0,get:function(){return s.FloatingItem}});var l=n(3782);Object.defineProperty(t,"FloatingPositions",{enumerable:!0,get:function(){return l.FloatingPositions}}),Object.defineProperty(t,"FloatingUIModes",{enumerable:!0,get:function(){return l.FloatingUIModes}});var c=n(4473);Object.defineProperty(t,"BannerManager",{enumerable:!0,get:function(){return c.BannerManager}}),Object.defineProperty(t,"VisibilityMode",{enumerable:!0,get:function(){return c.VisibilityMode}});var u=n(9600);Object.defineProperty(t,"LinkifyString",{enumerable:!0,get:function(){return u.LinkifyString}}),o(n(8893),t),o(n(4598),t),o(n(4141),t)},5260:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var r=n(4369);Object.defineProperty(t,"InjectedComponent",{enumerable:!0,get:function(){return r.InjectedComponent}})},4369:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedComponent=void 0;var i=n(4522),a=n(2633),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._root=null,t}return o(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.componentDidMount=function(){var e=this.props,t=e.onCreate;if(e.label,t){var n=this._root;n&&t({parent:n})}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.onDestroy,n=(e.label,this._root);n&&t&&t({parent:n})},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.fillContainer?a.fillContainer:"";return(0,i.h)("div",{"data-contrib-injected":n,className:r,ref:function(t){return e._root=t}})},t}(i.Component);t.InjectedComponent=s},4598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4898),t)},4898:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=n(4522),s=n(8893),l=n(2031),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={active:!1},n._inputRef=null,n.setFocus=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus()},n._handleOnChange=function(e){n.props.onChange(e.target.value)},n._onClear=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus(),n.props.onChange("")},n._onFocus=function(){n.setState({active:!0})},n._onBlur=function(){n.setState({active:!1})},n._goToNextSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,o=e.onSearchIndexChange;0!==r&&o(t!==r?t+1:1)},n._goToPrevSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults;(0,e.onSearchIndexChange)(1!==t?t-1:r)},n._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:l.searchResults,"aria-live":"polite","aria-label":n.props.searchResults.searchResultsLabel},"".concat(n.props.searchResults.totalSearchResults>0?"".concat(n.props.searchResults.activeSearchIndex,"/").concat(n.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:l.prevNextWrapper},n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":n.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(l.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?l.disabled:""),"aria-label":n.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},n._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:n._onClear},(0,a.h)("button",{className:l.clearIcon,tabIndex:0,"aria-label":n.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},n.state={active:!1},n}return o(t,e),t.prototype.render=function(){var e=this,t={className:l.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[l.inputFieldWrapper,this.props.value||this.state.active?l.active:""].join(" ")},(0,a.h)("input",i({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=c},9820:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KalturaPlayerUtils=void 0;var r=n(687),o=function(){function e(){}return e.getPlayerConfig=function(e,t,n,o){var i=r.ObjectUtils.get(e.config,t,{});return r.ObjectUtils.mergeDefaults(i,n,o)},e}();t.KalturaPlayerUtils=o},9600:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyString=void 0;var i=n(4522),a=n(8337),s=n(9146),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._linkify=new a,t}return o(t,e),t.prototype._parseString=function(e){var t=this;if(0===(e||"").trim().length)return"";var n=this._linkify.match(e);if(!n)return e;var r=[],o=0;return n.forEach((function(n,i){n.index>o&&r.push(e.substring(o,n.index));var a=n.url,s=n.text,l=t.props.componentRenderer(a,s,i);r.push(l),o=n.lastIndex})),e.length>o&&r.push(e.substring(o)),1===r.length?r[0]:r},t.prototype.render=function(){return(0,i.h)("span",null,this._parseString(this.props.text))},t.defaultProps={componentRenderer:s.default},t}(i.Component);t.LinkifyString=l},9858:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6508),t)},6508:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ManagedComponent=void 0;var a=n(4522),s=n(8802),l=KalturaPlayer.ui.redux.connect,c=function(e){return{playerSize:e.shell.playerSize}},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.update=function(){this.setState((function(e){return{toggler:!e.toggler}}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.updateOnPlayerSizeChanged,r=t.playerSize;return n&&e.playerSize!==r||e.playerSize===r},t.prototype.componentDidMount=function(){this.setState({toggler:!1})},t.prototype.render=function(){var e=this.props,t=e.fillContainer,n=e.isShown,r=e.playerSize;return n()?(0,a.h)("div",{"data-contrib-item":this.props.label,className:["".concat(t?s.fillContainer:""),s.inlineContainer].join(" ")},this.props.renderChildren(r)):null},t.defaultProps={fillContainer:!1},i([l(c,null,null,{forwardRef:!0})],t)}(a.Component);t.ManagedComponent=u},687:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var r=function(){function e(){}return e.copyDeep=function(t){var n;return Array.isArray(t)?(n=t.length>0?t.slice(0):[]).forEach((function(t,r){("object"==typeof t&&t!=={}||Array.isArray(t)&&t.length>0)&&(n[r]=e.copyDeep(t))})):"object"==typeof t?(n=Object.assign({},t),Object.keys(n).forEach((function(t){("object"==typeof n[t]&&n[t]!=={}||Array.isArray(n[t])&&n[t].length>0)&&(n[t]=e.copyDeep(n[t]))}))):n=t,n},e.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)},e.mergeDeep=function(t,n,r){var o,i;if(!n.length)return t;var a=(r?r.explicitMerge:null)||[],s=n.shift();if(e.isObject(t)&&e.isObject(s))for(var l in s)e.isObject(s[l])?(t[l]||Object.assign(t,((o={})[l]={},o)),-1!==a.indexOf(l)?t[l]=e.explicitFlatMerge(t[l],s[l]):e.mergeDeep(t[l],[s[l]],r)):Object.assign(t,((i={})[l]=s[l],i));return e.mergeDeep(t,n,r)},e.mergeDefaults=function(t,n,r){return e.mergeDeep({},[n,t],r)},e.explicitFlatMerge=function(e,t){var r=n({},e);return Object.keys(t).forEach((function(e){null===t[e]||0===Object.keys(t[e]).length?delete r[e]:r[e]=t[e]})),r},e.get=function(e,t,n){for(var r=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),o=e,i=0;i<r.length;i++){if(!o[r[i]])return n;o=o[r[i]]}return o},e}();t.ObjectUtils=r},4141:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1132),t)},1132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayPortal=void 0;var n=KalturaPlayer.ui.redux.useSelector,r=KalturaPlayer.ui.createPortal;t.OverlayPortal=function(e){var t=e.children,o=n((function(e){return e.config.targetId})),i=document.getElementById(o)||document;return r(t,i.querySelector(".overlay-portal"))}},8541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerContribRegistry=void 0;var n=function(){function e(){this._cache={}}return e.get=function(t){return t.__contrib__=t.__contrib__||{},t.__contrib__.services=t.__contrib__.services||new e,t.__contrib__.services},e.prototype.get=function(e){var t=this._cache[e];if(!t)throw new Error("cannot find resource with token ".concat(e));return t},e.prototype.register=function(e,t){var n=this._cache[e];return n||(n=this._cache[e]={instance:t()}),n.instance},e}();t.PlayerContribRegistry=n},9968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoSize=t.getPlayerSize=void 0,t.getPlayerSize=function(e){return e?e.dimensions:{width:0,height:0}},t.getVideoSize=function(e){if(!e)return{width:0,height:0};var t=e.getActiveTracks().video;return t&&void 0!==t.width&&void 0!==t.height?{width:t.width,height:t.height}:e.getVideoElement()?{width:e.getVideoElement().videoWidth,height:e.getVideoElement().videoHeight}:{width:0,height:0}}},6056:(e,t)=>{"use strict";var n,r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeToTypes=t.ReservedPresetAreas=t.ReservedPresetNames=void 0,(o=t.ReservedPresetNames||(t.ReservedPresetNames={})).Playback="Playback",o.Live="Live",(r=t.ReservedPresetAreas||(t.ReservedPresetAreas={})).PresetFloating="PresetFloating",r.BottomBarLeftControls="BottomBarLeftControls",r.BottomBarRightControls="BottomBarRightControls",r.TopBarLeftControls="TopBarLeftControls",r.TopBarRightControls="TopBarRightControls",r.SidePanelTop="SidePanelTop",r.SidePanelLeft="SidePanelLeft",r.SidePanelRight="SidePanelRight",r.SidePanelBottom="SidePanelBottom",r.PresetArea="PresetArea",r.InteractiveArea="InteractiveArea",r.PlayerArea="PlayerArea",r.VideoArea="VideoArea",(n=t.RelativeToTypes||(t.RelativeToTypes={})).Before="Before",n.After="After",n.Replace="Replace"},3553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetItem=void 0;var r=n(4522),o=n(6056),i=n(5260),a=function(){function e(e){var t=this;this._render=function(){if(t._options.data.isolateComponent){var e=t._options.data,n=e.label,o=e.fillContainer;return(0,r.h)(i.InjectedComponent,{label:n,fillContainer:o||!1,onCreate:t._onCreate,onDestroy:t._onDestroy})}return t._options.data.renderChild()},this._onDestroy=function(e){e.parent&&(0,r.render)(null,e.parent)},this._onCreate=function(e){try{if(!e.parent)return;var n=t._options.data.renderChild();if(!n)return;(0,r.render)(n,e.parent)}catch(e){}},this._options=e}return Object.defineProperty(e.prototype,"playerConfig",{get:function(){var e=[];for(var t in this._options.data.presetAreas){var n=this._options.data.presetAreas[t],r=this._options.data.relativeTo;if(n){var i={label:this._options.data.label,presets:[t],container:n,get:this._render};if(r)switch(r.type){case o.RelativeToTypes.After:i.afterComponent=r.name;break;case o.RelativeToTypes.Before:i.beforeComponent=r.name;break;case o.RelativeToTypes.Replace:i.replaceComponent=r.name}e.push(i)}}return e},enumerable:!1,configurable:!0}),e}();t.PresetItem=a},3480:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.PresetManager=t.PresetManagerEventTypes=void 0;var o,i=n(4522),a=n(3553),s=n(6080),l=n(8763),c=n(9109),u=n(8568);!function(e){e.PresetResizeEvent="PresetResizeEvent",e.VideoResizeEvent="VideoResizeEvent"}(o=t.PresetManagerEventTypes||(t.PresetManagerEventTypes={}));var p=["PlayerArea"],d={presetAreasMapping:{Playback:{PlayerArea:"PlayerArea"},Live:{PlayerArea:"PlayerArea"}}},h=function(){function e(e){var t=this;this._events=new s.EventsManager,this._isLocked=!1,this._items=[],this._pendingItems=[],this._registerToPlayer=function(e){e.addEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.addEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this._notifyVideoResize=function(){t._events.emit({type:o.VideoResizeEvent})},this._notifyUIPresetResize=function(){t._events.emit({type:o.PresetResizeEvent})},this._unregisterToPlayer=function(e){e.removeEventListener(KalturaPlayer.ui.EventType.UI_PRESET_RESIZE,t._notifyUIPresetResize),e.removeEventListener(KalturaPlayer.ui.EventType.VIDEO_RESIZE,t._notifyVideoResize)},this.on=this._events.on.bind(this._events),this.off=this._events.off.bind(this._events),this._options=e,this._presetConfig=(0,u.getContribConfig)(this._options.kalturaPlayer,"ui.preset",d,{explicitMerge:["presetAreasMapping"]});var n=c.PresetsUtils.groupPresetAreasByType({presetAreasMapping:this._presetConfig.presetAreasMapping,acceptableTypes:p});this.add({label:"preset-manager",presetAreas:n.PlayerArea,renderChild:function(){return(0,i.h)(l.UIPlayerAdapter,{onMount:t._registerToPlayer,onUnmount:t._unregisterToPlayer})}})}return e.prototype.add=function(e){if(this._isLocked)return console.warn("cannot add new preset items once player completed its' setup phase"),null;var t=new a.PresetItem({kalturaPlayer:this._options.kalturaPlayer,data:e});this._pendingItems.push(t)},e.prototype.lockManager=function(){this._isLocked=!0},e.prototype.registerComponents=function(){var e=[];return this._pendingItems.forEach((function(t){e=r(r([],e,!0),t.playerConfig,!0)})),this._items=r(r([],this._items,!0),this._pendingItems,!0),this._pendingItems=[],e.filter(Boolean)},e}();t.PresetManager=h},9109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetsUtils=void 0;var n=function(){function e(){}return e.groupPresetAreasByType=function(e){var t=e.presetAreasMapping,n=e.acceptableTypes,r={};return n.forEach((function(e){return r[e]={}})),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(o){-1===n.indexOf(o)||(r[o][e]=t[e][o])}))})),r},e}();t.PresetsUtils=n},9945:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastManager=t.ToastSeverity=void 0;var i,a=n(3301),s=n(3782),l=n(4027),c=n(4522);(i=t.ToastSeverity||(t.ToastSeverity={})).Info="Info",i.Success="Success",i.Warn="Warn",i.Error="Error";var u=function(){function e(e){var t=this;this.options=e,this._toasts=[],this._floatingItem=null,this._remove=function(e){var n=t._findToastIndexById(e);-1!==n&&(clearTimeout(t._toasts[n].timerSubscription),t._toasts.splice(n,1),t._updateToastsUI(),0===t._toasts.length&&t._removeToastsContainer())},this._options=e}return e.prototype.add=function(e){var t=e.duration,n=o(e,["duration"]);this._floatingItem||this._addToastsContainer();var i={toastProps:r(r({},n),{id:a.UUID.uuidV1(),onClose:this._remove}),duration:t,timerSubscription:null};this._toasts.push(i),this._updateToastsUI(),this._startDurationTimer(i)},e.prototype.reset=function(){var e=this;this._toasts.forEach((function(t){e._remove(t.toastProps.id)}))},e.prototype._startDurationTimer=function(e){var t=this;e.timerSubscription=setTimeout((function(){t._remove(e.toastProps.id)}),e.duration)},e.prototype._addToastsContainer=function(){var e=this;this._floatingItem=this._options.floatingManager.add({label:"Toasts",mode:s.FloatingUIModes.Immediate,position:s.FloatingPositions.InteractiveArea,renderContent:function(){return(0,c.h)(l.ToastsContainer,{toasts:e._toasts.map((function(e){return e.toastProps}))})}})},e.prototype._removeToastsContainer=function(){this._floatingItem&&(this._options.floatingManager.remove(this._floatingItem),this._floatingItem=null)},e.prototype._updateToastsUI=function(){this._floatingItem&&this._floatingItem.update()},e.prototype._findToastIndexById=function(e){for(var t=0;t<this._toasts.length;){if(this._toasts[t].toastProps.id===e)return t;t++}return-1},e}();t.ToastManager=u},6577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;var r=n(4522);t.CloseIcon=function(){return(0,r.h)("svg",{width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,r.h)("g",{id:"Icons/16/Close",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("path",{d:"M8.8497789,8 L11.824005,10.9742261 C12.058665,11.2088861 12.058665,11.5893451 11.824005,11.824005 C11.5893451,12.058665 11.2088861,12.058665 10.9742261,11.824005 L8,8.8497789 L5.02577387,11.824005 C4.7911139,12.058665 4.41065493,12.058665 4.17599497,11.824005 C3.94133501,11.5893451 3.94133501,11.2088861 4.17599497,10.9742261 L7.1502211,8 L4.17599497,5.02577387 C3.94133501,4.7911139 3.94133501,4.41065493 4.17599497,4.17599497 C4.41065493,3.94133501 4.7911139,3.94133501 5.02577387,4.17599497 L8,7.1502211 L10.9742261,4.17599497 C11.2088861,3.94133501 11.5893451,3.94133501 11.824005,4.17599497 C12.058665,4.41065493 12.058665,4.7911139 11.824005,5.02577387 L8.8497789,8 Z",id:"Path",fill:"#cccccc"})))}},4461:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Toast=void 0;var i=n(4522),a=n(2001),s=n(9945),l=n(6577),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isShown:!0},t._onClick=function(e){t.props.onClick(),t._onClose(e)},t._onClose=function(e){e.stopPropagation(),t.setState({isShown:!1}),t.props.onClose(t.props.id)},t}return o(t,e),t.prototype._getToastSeverityClass=function(){switch(this.props.severity){case s.ToastSeverity.Success:return a.successToast;case s.ToastSeverity.Warn:return a.warnToast;case s.ToastSeverity.Error:return a.errorToast;default:return a.infoToast}},t.prototype.render=function(){var e=this.props,t=e.text,n=e.title,r=e.icon;return(0,i.h)("div",{className:a.toastWrapper+" "+this._getToastSeverityClass(),onClick:this._onClick},(0,i.h)("button",{className:a.closeButton,onClick:this._onClose},(0,i.h)(l.CloseIcon,null)),(0,i.h)("div",{className:a.title},n),(0,i.h)("div",{className:a.toastBody},(0,i.h)("div",{className:a.iconContainer},(0,i.h)("div",{className:a.iconWrapper},r)),(0,i.h)("div",{className:a.text},t)))},t}(i.Component);t.Toast=c},4027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var r=n(1454);Object.defineProperty(t,"ToastsContainer",{enumerable:!0,get:function(){return r.ToastsContainer}})},1454:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;var a=n(4522),s=n(4461),l=n(2167),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return(0,a.h)("div",{className:l.toastsContainer,"aria-live":"polite"},this.props.toasts.map((function(e){return(0,a.h)("div",{className:l.toastRow,key:e.id},(0,a.h)(s.Toast,i({},e)))})))},t}(a.Component);t.ToastsContainer=c},8763:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(137),t)},137:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.UIPlayerAdapter=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.componentDidMount=function(){this.props.onMount(this.props.player)},t.prototype.componentWillUnmount=function(){this.props.onUnmount(this.props.player)},t.prototype.render=function(e){return null},t.defaultProps={player:null},i([KalturaPlayer.ui.components.withPlayer],t)}(n(4522).Component);t.UIPlayerAdapter=a},3301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=void 0;var n=function(){function e(){}return e.uuidV1=function(){return"".concat(Date.now(),"-").concat(Math.random())},e}();t.UUID=n},19:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventsManager=void 0;var n=function(){function e(){this._eventListeners={},this._wildcardEventListeners=[]}return e.prototype.on=function(e,t){"*"!==e?(this._eventListeners[e]||(this._eventListeners[e]=[])).push(t):this._wildcardEventListeners.push(t)},e.prototype.off=function(e,t){if("*"!==e){var n=this._eventListeners[e];n&&n.splice(n.indexOf(t)>>>0,1)}else this._wildcardEventListeners.splice(this._wildcardEventListeners.indexOf(t)>>>0,1)},e.prototype.emit=function(e){(this._eventListeners[e.type]||[]).slice().map((function(t){t(e)})),this._wildcardEventListeners.slice().map((function(t){t(e)}))},e}();t.EventsManager=n},8707:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(19),t),o(n(7640),t)},7640:(e,t)=>{"use strict";function n(){return"##".concat("Guest").concat("HashSeparator").concat(function(){for(var e=(0,t.generateId)(),n="",r=0;r<e.length;r++){var o=e.charAt(r);n+=Number.isNaN(+o)?o.charCodeAt(0):o}return n}(),"##")}Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.generateId=void 0,t.generateId=function(){return(new Date).getTime().toString(36)+Math.random().toString(36).slice(2)},t.getUserId=function(){return"undefined"==typeof Storage?n():((e=localStorage.getItem("anonymousUserId"))||(e=n(),localStorage.setItem("anonymousUserId",e)),e);var e}},9413:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},3189:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},5045:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},9369:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}return n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,n(3607)})(),e.exports=t()},360:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(522),o=n(573),i={position:"absolute",display:"table",boxSizing:"border-box"},a={position:"relative",width:"100%",height:"100%",appearance:"none",border:"none",display:"table-cell",verticalAlign:"middle",textAlign:"center",cursor:"pointer",wordBreak:"break-all",textRendering:"geometricPrecision"};function s(e){return e.match(/^https?:\/\//i)||(e="http://"+e),e}class l extends r.Component{constructor(){super(...arguments),this.state={disableClick:!0,isReady:!1},this.isClickable=()=>{const{hotspot:{onClick:e}}=this.props;if(!e)return!1;switch(e.type){case"jumpToTime":return void 0!==e.jumpToTime;case"openUrl":case"openUrlInNewTab":return!!e.url;default:return!1}},this.handleClick=()=>{const{hotspot:e}=this.props,{disableClick:t}=this.state;if(e.onClick&&!t)switch(e.onClick.type){case"jumpToTime":if(void 0===e.onClick.jumpToTime)return;this.props.seekTo(e.onClick.jumpToTime/1e3);break;case"openUrl":{if(!e.onClick.url)return;const t=s(e.onClick.url);window.open(t,"_top"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}break;case"openUrlInNewTab":{if(!e.onClick.url)return;this.props.pauseVideo();const t=s(e.onClick.url);try{window.open(t,"_blank"),this.props.sendAnalytics({eventNumber:47,target:t,hotspotId:e.id})}catch(e){}}}}}componentDidMount(){const{hotspot:e}=this.props;e&&e.onClick?this.setState({isReady:!0,disableClick:!this.isClickable()}):this.setState({isReady:!0})}render(){const{hotspot:e}=this.props,{layout:t,label:n}=e,{isReady:s,disableClick:l}=this.state;if(!s||!this.props.visible)return null;const c=Object.assign(Object.assign({},i),{top:t.y,left:t.x,height:t.height,width:t.width}),u=Object.assign(Object.assign(Object.assign({},a),e.styles),{cursor:l?"default":"pointer"});return(0,r.h)(o.A11yWrapper,{onClick:this.handleClick},(0,r.h)("div",{tabIndex:0,"aria-label":n,"aria-disabled":l,role:"button",style:c},(0,r.h)("div",{style:u},n)))}}t.default=l,l.defaultProps={styles:{}}},658:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(522),o=n(912),i=n(360),a={position:"absolute",display:"block",overflow:"visible",top:0,left:0,width:0,height:0};class s extends r.Component{constructor(){super(...arguments),this.renderHotspots=e=>{if(!e)return null;const{seekTo:t,pauseVideo:n,sendAnalytics:o}=this.props;return e.map((e=>(0,r.h)(i.default,{pauseVideo:n,seekTo:t,key:e.id,visible:!0,hotspot:e,sendAnalytics:o})))}}shouldComponentUpdate(e){return!(0,o.shallowCompareHotspots)(this.props.hotspots,e.hotspots)}render(){const{hotspots:e}=this.props,t=this.renderHotspots(e);return(0,r.h)("div",{style:a},t)}}t.default=s},624:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HotspotsPlugin=void 0;const r=n(522),o=n(573),i=n(658),a=n(263);class s extends KalturaPlayer.core.BasePlugin{constructor(e,t,n){super(e,t,n),this._hotspots=[],this._floatingItem=null,this._canvas=null,this._isHotspotType=e=>{const{metadata:t}=e,{KalturaCuePointType:n,KalturaCuePointTags:r}=this.cuePointManager;return(null==t?void 0:t.cuePointType)===n.ANNOTATION&&(null==t?void 0:t.tags)===r.HOTSPOT},this._filterHotspotCues=e=>e.filter(this._isHotspotType),this._prepareHotspots=e=>{const t=[];return e.forEach((e=>{const{partnerData:n}=e.metadata;n&&n.schemaVersion&&t.push({id:e.id,startTime:e.startTime,endTime:e.endTime,label:e.metadata.text,styles:n.styles,onClick:n.onClick,rawLayout:Object.assign({},n.layout)})})),t},this._recalculateCuepointLayout=e=>{var t,n;if(this.logger.debug("calculating cuepoint layout based on video/player sizes"),!(null===(t=this._canvas)||void 0===t?void 0:t.playerSize)||!(null===(n=this._canvas)||void 0===n?void 0:n.videoSize))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const{width:r,height:o}=this._canvas.playerSize,{width:i,height:s}=this._canvas.videoSize;if(!(r&&o&&i&&s))return this.logger.warn("missing video/player sizes, hide all cuepoint"),[];const l=(0,a.scaleVideo)(i,s,r,o,!0);return this.logger.debug("recalculate cuepoint layout based on new sizes"),e.map((e=>Object.assign(Object.assign({},e),{layout:this._calculateLayout(e,l)})))},this._onTimedMetadataChange=({payload:e})=>{const t=this._filterHotspotCues(e.cues);if(t.length||this._hotspots.length){const e=this._prepareHotspots(t);this._hotspots=this._recalculateCuepointLayout(e),this._updateHotspotsContainer()}},this._pauseVideo=()=>{this._player.pause()},this._seekTo=e=>{this._player.currentTime=e},this._checkIfResizeHappened=e=>{if(!this._canvas)return this._canvas=e,!0;const t=this._canvas.playerSize,n=this._canvas.videoSize,r=e.playerSize,o=e.videoSize;return(t.width!==r.width||t.height!==r.height||n.width!==o.width||n.height!==o.height)&&(this._canvas=e,!0)},this._renderRoot=e=>(this._checkIfResizeHappened(e.canvas)&&(this._hotspots=this._recalculateCuepointLayout(this._hotspots)),(0,r.h)(i.default,{key:"hotspotWrapper",hotspots:this._hotspots,pauseVideo:this._pauseVideo,seekTo:this._seekTo,sendAnalytics:()=>{}})),this._player=t,this._contribServices=o.ContribServices.get({kalturaPlayer:this._player})}static isValid(){return!0}get cuePointManager(){return this._player.getService("kalturaCuepoints")}getUIComponents(){return this._contribServices.register()}loadMedia(){this.cuePointManager&&!this._player.isLive()?(this._addHotspotsContainer(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.HOTSPOT]),this.eventManager.listen(this._player,this._player.Event.TIMED_METADATA_CHANGE,this._onTimedMetadataChange)):this.logger.warn("kalturaCuepoints haven't registered or current entry is live")}_calculateLayout(e,t){const{rawLayout:n}=e;return{x:t.left+n.relativeX*t.width,y:t.top+n.relativeY*t.height,width:n.relativeWidth*t.width,height:n.relativeHeight*t.height}}_addHotspotsContainer(){this._floatingItem=this._contribServices.floatingManager.add({label:"Hotspots",mode:o.FloatingUIModes.FirstPlay,position:o.FloatingPositions.VideoArea,renderContent:this._renderRoot})}_updateHotspotsContainer(){this._floatingItem&&this._floatingItem.update()}reset(){this.eventManager.removeAll(),this._hotspots=[],this._canvas=null,this._floatingItem&&(this._contribServices.floatingManager.remove(this._floatingItem),this._floatingItem=null)}destroy(){}}t.HotspotsPlugin=s,s.defaultConfig={}},912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shallowCompareHotspots=void 0,t.shallowCompareHotspots=(e,t)=>{const n=e.length;if(t.length!==n)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},263:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scaleVideo=void 0,t.scaleVideo=function(e,t,n,r,o){const i={width:0,height:0,left:0,top:0,scaleToTargetWidth:!0};if(e<=0||t<=0||n<=0||r<=0)return i;const a=n,s=t*n/e,l=e*r/t,c=r;let u=l>n;return u=u?o:!o,u?(i.width=Math.abs(a),i.height=Math.abs(s),i.scaleToTargetWidth=!0):(i.width=Math.abs(l),i.height=Math.abs(c),i.scaleToTargetWidth=!1),i.left=Math.abs((n-i.width)/2),i.top=Math.abs((r-i.height)/2),i}},522:function(e){"use strict";e.exports=KalturaPlayer.ui.preact}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};!function(){"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=void 0;const t=n(624);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.HotspotsPlugin}}),e.VERSION="3.1.2",e.NAME="@playkit-js/hotspots",KalturaPlayer.core.registerPlugin("playkit-js-hotspots",t.HotspotsPlugin)}(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).hotspots=r}();
|
|
2
2
|
//# sourceMappingURL=playkit-hotspots.js.map
|