@clickview/library-editor 1.33.2 → 1.34.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +1 -1
- package/dist/css/2842-library-editor-32398cd1ad.chunk.css +4 -0
- package/dist/css/3525-library-editor-6c6933c94d.chunk.css +72 -0
- package/dist/css/9215-library-editor-01b4461ff1.chunk.css +10 -0
- package/dist/css/9309-library-editor-aad2f294a9.chunk.css +10 -0
- package/dist/languages/en.json +1 -1
- package/dist/scripts/{1010-f87fc2db69.chunk.js → 1010-a4704e61de.chunk.js} +1 -1
- package/dist/scripts/{1086-fe154012dd.chunk.js → 1086-1e49d7436c.chunk.js} +1 -1
- package/dist/scripts/{1216-d126efc56b.chunk.js → 1216-3680236a27.chunk.js} +1 -1
- package/dist/scripts/{1269-2b37c230ee.chunk.js → 1269-6898014713.chunk.js} +1 -1
- package/dist/scripts/1364-17e2eeefbc.chunk.js +1 -0
- package/dist/scripts/1409-7dec2a8e18.chunk.js +1 -0
- package/dist/scripts/{1492-86b5115bf1.chunk.js → 1492-815b776897.chunk.js} +1 -1
- package/dist/scripts/1601-d11282915d.chunk.js +2 -0
- package/dist/scripts/{1832-5bef85d5e2.chunk.js → 1832-2c91ee3a51.chunk.js} +1 -1
- package/dist/scripts/{1887-954988b80e.chunk.js → 1887-1f10bdcd32.chunk.js} +1 -1
- package/dist/scripts/{1911-50beb412a1.chunk.js → 1911-90a2329c55.chunk.js} +1 -1
- package/dist/scripts/{2254-74699301be.chunk.js → 2254-28945bd10d.chunk.js} +1 -1
- package/dist/scripts/2417-5006b87aa9.chunk.js +1 -0
- package/dist/scripts/{243-44d266be30.chunk.js → 243-7cbcd679de.chunk.js} +1 -1
- package/dist/scripts/259-1e858db89a.chunk.js +1 -0
- package/dist/scripts/{2692-aa369df8c9.chunk.js → 2692-4dec659d9d.chunk.js} +1 -1
- package/dist/scripts/2842-230d775b71.chunk.js +1 -0
- package/dist/scripts/{2888-d50b64a6b4.chunk.js → 2888-0eeb8ded06.chunk.js} +1 -1
- package/dist/scripts/{299-268a19c153.chunk.js → 299-500f0b6af0.chunk.js} +1 -1
- package/dist/scripts/3096-ce0ed4447d.chunk.js +1 -0
- package/dist/scripts/{3400-c76a38cdf8.chunk.js → 3400-a38cfe2a5d.chunk.js} +1 -1
- package/dist/scripts/3525-54f3afe02c.chunk.js +2 -0
- package/dist/scripts/{3763-dc8ddac371.chunk.js → 3763-6f873cc545.chunk.js} +1 -1
- package/dist/scripts/3969-07f2d1c976.chunk.js +1 -0
- package/dist/scripts/{4177-ac15a97029.chunk.js → 4177-2ce1a9bdaa.chunk.js} +1 -1
- package/dist/scripts/{4201-625f4064dd.chunk.js → 4201-84a6867187.chunk.js} +1 -1
- package/dist/scripts/{4245-f6d4caa7ef.chunk.js → 4245-b2e9ec5ba5.chunk.js} +1 -1
- package/dist/scripts/4523-14445af8ad.chunk.js +1 -0
- package/dist/scripts/{4591-cb921b33c7.chunk.js → 4591-55fa691940.chunk.js} +1 -1
- package/dist/scripts/{4860-da56ee92fd.chunk.js → 4860-d42be62696.chunk.js} +1 -1
- package/dist/scripts/{4885-df54f067a6.chunk.js → 4885-8b2fae075e.chunk.js} +1 -1
- package/dist/scripts/{514-3ffe5b2338.chunk.js → 514-0d0d21f74f.chunk.js} +1 -1
- package/dist/scripts/{5412-9846d1f676.chunk.js → 5412-789cbf80a3.chunk.js} +1 -1
- package/dist/scripts/{5418-eca3699393.chunk.js → 5418-c1287e4896.chunk.js} +1 -1
- package/dist/scripts/{5424-b39db67d02.chunk.js → 5424-b185ba8a45.chunk.js} +1 -1
- package/dist/scripts/5524-b4527dfc81.chunk.js +1 -0
- package/dist/scripts/5698-74d4735cbc.chunk.js +1 -0
- package/dist/scripts/{5747-2973b05689.chunk.js → 5747-05c9d61fe0.chunk.js} +1 -1
- package/dist/scripts/{6093-25b1188c94.chunk.js → 6093-d497dc9474.chunk.js} +1 -1
- package/dist/scripts/61-137f92938e.chunk.js +2 -0
- package/dist/scripts/{6220-df69ae5053.chunk.js → 6220-dfa7ef3ad3.chunk.js} +1 -1
- package/dist/scripts/{6357-fce36786e9.chunk.js → 6357-8477d01a86.chunk.js} +1 -1
- package/dist/scripts/{6505-a55246ec06.chunk.js → 6505-f069c1fbe4.chunk.js} +1 -1
- package/dist/scripts/6532-0b999572cf.chunk.js +2 -0
- package/dist/scripts/6732-59d6dff740.chunk.js +1 -0
- package/dist/scripts/{6774-9b62595255.chunk.js → 6774-c9e8698d5c.chunk.js} +1 -1
- package/dist/scripts/6963-881ab7febf.chunk.js +1 -0
- package/dist/scripts/{6995-a6f779a727.chunk.js → 6995-861706c8b2.chunk.js} +1 -1
- package/dist/scripts/{6999-2764068f9b.chunk.js → 6999-1b7d8256a1.chunk.js} +1 -1
- package/dist/scripts/{7002-582dbef73b.chunk.js → 7002-2a94889cc7.chunk.js} +1 -1
- package/dist/scripts/{7053-142226754b.chunk.js → 7053-86b05dc741.chunk.js} +1 -1
- package/dist/scripts/708-b844d56f4e.chunk.js +1 -0
- package/dist/scripts/{7190-d0b5a6c372.chunk.js → 7190-921073f4ef.chunk.js} +1 -1
- package/dist/scripts/{7376-92729fc093.chunk.js → 7376-753fc6cb76.chunk.js} +1 -1
- package/dist/scripts/7634-8a81b8d57d.chunk.js +1 -0
- package/dist/scripts/8113-a5da448af4.chunk.js +1 -0
- package/dist/scripts/{8362-ff7966140e.chunk.js → 8362-e662057f79.chunk.js} +1 -1
- package/dist/scripts/{8495-fd102f09d3.chunk.js → 8495-bdf4488b7f.chunk.js} +1 -1
- package/dist/scripts/{8727-0d05d3801e.chunk.js → 8727-6104f06be6.chunk.js} +1 -1
- package/dist/scripts/{8762-6223770914.chunk.js → 8762-97ee795453.chunk.js} +1 -1
- package/dist/scripts/{8906-746489f5ca.chunk.js → 8906-2f788f9242.chunk.js} +1 -1
- package/dist/scripts/{8947-fcd146181d.chunk.js → 8947-c600642573.chunk.js} +1 -1
- package/dist/scripts/9215-23e4e44ad3.chunk.js +2 -0
- package/dist/scripts/9215-23e4e44ad3.chunk.js.LICENSE.txt +31 -0
- package/dist/scripts/9219-9157d9317c.chunk.js +1 -0
- package/dist/scripts/9309-6ec7ec7f41.chunk.js +1 -0
- package/dist/scripts/{9357-fade2427e7.chunk.js → 9357-8cae90b1de.chunk.js} +1 -1
- package/dist/scripts/{9695-d90471521a.chunk.js → 9695-ad43223301.chunk.js} +1 -1
- package/dist/scripts/9927-faf9b990b5.chunk.js +1 -0
- package/dist/scripts/{9976-f4bb28d542.chunk.js → 9976-e00c6a4cb7.chunk.js} +1 -1
- package/dist/scripts/bundle-002fbaf79b.min.js +2 -0
- package/dist/scripts/bundle-002fbaf79b.min.js.LICENSE.txt +1 -0
- package/package.json +73 -73
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/Environment.d.ts +10 -10
- package/typings/libs/LazyLoad.d.ts +29 -29
- package/typings/libs/LazyLoad.ts +27 -27
- package/typings/libs/backbone.validation.d.ts +99 -99
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/cookiesjs.d.ts +24 -24
- package/typings/libs/draft-convert.d.ts +4 -0
- package/typings/libs/google-api.d.ts +4 -4
- package/typings/libs/microsoft-teams.d.ts +2 -2
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +30 -30
- package/typings/utils/imports.d.ts +9 -9
- package/dist/css/1365-library-editor-b5feb30d27.chunk.css +0 -46
- package/dist/css/343-library-editor-78937ca69b.chunk.css +0 -41
- package/dist/scripts/1364-455d685ddb.chunk.js +0 -1
- package/dist/scripts/1365-51f5c74092.chunk.js +0 -1
- package/dist/scripts/1409-cd9fc39b5d.chunk.js +0 -1
- package/dist/scripts/1601-761890ed99.chunk.js +0 -2
- package/dist/scripts/2417-9b4c6ac8e4.chunk.js +0 -1
- package/dist/scripts/259-f6e7679bb7.chunk.js +0 -1
- package/dist/scripts/3096-9ec03e7976.chunk.js +0 -1
- package/dist/scripts/343-00ec0d32b8.chunk.js +0 -1
- package/dist/scripts/3969-c0fb87bf87.chunk.js +0 -1
- package/dist/scripts/4483-0f6dd31061.chunk.js +0 -1
- package/dist/scripts/4523-3442c2a303.chunk.js +0 -1
- package/dist/scripts/5698-3fedc0a2ec.chunk.js +0 -1
- package/dist/scripts/5745-6e1f878392.chunk.js +0 -2
- package/dist/scripts/5987-0bbfd0a4ae.chunk.js +0 -2
- package/dist/scripts/6732-d5590f299f.chunk.js +0 -1
- package/dist/scripts/6963-4dff136102.chunk.js +0 -1
- package/dist/scripts/6991-06f0fb6962.chunk.js +0 -1
- package/dist/scripts/708-3f11882fdc.chunk.js +0 -1
- package/dist/scripts/7433-237709791d.chunk.js +0 -1
- package/dist/scripts/7634-1947974da8.chunk.js +0 -1
- package/dist/scripts/9219-aaa524d177.chunk.js +0 -1
- package/dist/scripts/9554-9767913623.chunk.js +0 -1
- package/dist/scripts/9927-09536434a8.chunk.js +0 -1
- package/dist/scripts/bundle-888b1d37a8.min.js +0 -2
- /package/dist/css/{9554-library-editor-36f0a42508.chunk.css → 5524-library-editor-36f0a42508.chunk.css} +0 -0
- /package/dist/css/{5987-library-editor-07a7bc7368.chunk.css → 61-library-editor-07a7bc7368.chunk.css} +0 -0
- /package/dist/scripts/{101-0ec9c3cf59.chunk.js → 101-5640626835.chunk.js} +0 -0
- /package/dist/scripts/{1601-761890ed99.chunk.js.LICENSE.txt → 1601-d11282915d.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5987-0bbfd0a4ae.chunk.js.LICENSE.txt → 3525-54f3afe02c.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3746-eee343e060.chunk.js → 3746-e0c3fc3e93.chunk.js} +0 -0
- /package/dist/scripts/{5891-4866980a65.chunk.js → 5891-8b9423d292.chunk.js} +0 -0
- /package/dist/scripts/{bundle-888b1d37a8.min.js.LICENSE.txt → 61-137f92938e.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5745-6e1f878392.chunk.js.LICENSE.txt → 6532-0b999572cf.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import videojs from 'video.js';
|
|
2
|
-
|
|
3
|
-
declare module 'video.js' {
|
|
4
|
-
export interface VideoJsPlayer {
|
|
5
|
-
qualityLevels(): QualityLevelList;
|
|
6
|
-
nextVideoPlugin(): any;
|
|
7
|
-
resourcesPlugin(options: ResourcesPluginOptions): void;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare module 'videojs-contrib-quality-levels' {
|
|
12
|
-
export interface QualityLevelList extends videojs.EventTarget {
|
|
13
|
-
[id: string]: QualityLevel;
|
|
14
|
-
selectedIndex: number;
|
|
15
|
-
length: number;
|
|
16
|
-
addQualityLevel(representation: Representation): QualityLevel;
|
|
17
|
-
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
18
|
-
getQualityLevelById(id: string): QualityLevel;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface QualityLevel {
|
|
22
|
-
id: string;
|
|
23
|
-
label: string;
|
|
24
|
-
enabled: boolean;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface Representation {
|
|
28
|
-
id: string;
|
|
29
|
-
enabled(enabled: boolean): boolean;
|
|
30
|
-
}
|
|
1
|
+
import videojs from 'video.js';
|
|
2
|
+
|
|
3
|
+
declare module 'video.js' {
|
|
4
|
+
export interface VideoJsPlayer {
|
|
5
|
+
qualityLevels(): QualityLevelList;
|
|
6
|
+
nextVideoPlugin(): any;
|
|
7
|
+
resourcesPlugin(options: ResourcesPluginOptions): void;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module 'videojs-contrib-quality-levels' {
|
|
12
|
+
export interface QualityLevelList extends videojs.EventTarget {
|
|
13
|
+
[id: string]: QualityLevel;
|
|
14
|
+
selectedIndex: number;
|
|
15
|
+
length: number;
|
|
16
|
+
addQualityLevel(representation: Representation): QualityLevel;
|
|
17
|
+
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
18
|
+
getQualityLevelById(id: string): QualityLevel;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface QualityLevel {
|
|
22
|
+
id: string;
|
|
23
|
+
label: string;
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Representation {
|
|
28
|
+
id: string;
|
|
29
|
+
enabled(enabled: boolean): boolean;
|
|
30
|
+
}
|
|
31
31
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Define our templates as a module so that we can use
|
|
3
|
-
* import statements just the same as we do for other
|
|
4
|
-
* ts/js code.
|
|
5
|
-
*/
|
|
6
|
-
declare module '*.handlebars';
|
|
7
|
-
declare module '*.hbs';
|
|
8
|
-
declare module '*.scss';
|
|
9
|
-
declare module '*.svg';
|
|
1
|
+
/**
|
|
2
|
+
* Define our templates as a module so that we can use
|
|
3
|
+
* import statements just the same as we do for other
|
|
4
|
+
* ts/js code.
|
|
5
|
+
*/
|
|
6
|
+
declare module '*.handlebars';
|
|
7
|
+
declare module '*.hbs';
|
|
8
|
+
declare module '*.scss';
|
|
9
|
+
declare module '*.svg';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.B3rOI{margin:.3125rem 0}.B3rOI label::after{cursor:pointer}
|
|
2
|
-
.sLa86{border-radius:0;border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.xDcnT{border-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}
|
|
3
|
-
.GVXVU{border-radius:3px;font-size:.8rem}.GVXVU.R6_hs{background-color:#84868d}.ovYAQ{max-width:75%}.Vi02A{max-width:70%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
|
|
4
|
-
.Gvwzj{border-radius:50%;background-color:#40bcc3;width:100%;height:100%;text-align:center;line-height:100%;background-size:cover;background-position:top center}.JJHBJ{position:absolute;top:-0.1rem;right:-0.1rem;width:.8rem;height:.8rem}
|
|
5
|
-
.xeRKY{width:1.25rem;left:.625rem}.nIGok{width:2.5rem;top:-0.3125rem;left:.0625rem;transform:rotate(-16deg)}.NsQtq{margin-left:1.625rem}.tWyxl{width:1.875rem;transition:all 300ms}.tWyxl.d5amu{opacity:0;top:-0.5rem;left:1rem}.tWyxl.wZ5Wp{opacity:1;top:-1.5rem;left:2rem}
|
|
6
|
-
.KDq7l::after{display:none}.E9o_Q{min-width:10rem;width:max-content}.E9o_Q.C70vU{max-width:35rem}@media screen and (max-width: 767px){.E9o_Q.C70vU{max-width:20rem}}.E9o_Q.kUHcg{min-width:12rem}.E9o_Q.bi1FH{max-width:15rem}.rbr22{width:25rem;max-width:calc(100vw - 1.875rem)}.UwDMA{margin-top:.05rem;margin-right:.2rem;margin-left:-0.2rem}
|
|
7
|
-
.Zw6d9{display:flex;flex-wrap:wrap}.jlL1c{background-color:#f1f1f1;color:#b5b5b5}.jlL1c:hover{background-color:#f1f1f1;color:#b5b5b5}.too_N{width:5rem}.OjtN8{line-height:1.1rem}.X9joI{opacity:1;background-size:.625rem}.X9joI:not(:disabled):hover{opacity:1}
|
|
8
|
-
._ejId{position:absolute;width:100%;top:0;pointer-events:none}.VSAPU{left:-1rem}.VSAPU svg{transform:translateX(-0.1rem)}.kgeXh{right:-1rem}.kgeXh svg{transform:translateX(0.1rem)}.gAsE9{position:absolute;background-color:#fff;border-radius:1.25rem;cursor:pointer;pointer-events:auto;transform:translateY(-50%);z-index:5;box-shadow:0px 2px 4px 1px rgba(0,0,0,.3);height:2.5rem;min-width:2.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.gAsE9 .APA36{display:none;transition:all .2s}.gAsE9 svg{color:#84868d}.cqD75 .APA36~.Ev4hr,.AtsWP:hover+.gAsE9 .APA36~.Ev4hr,.gAsE9:hover .APA36~.Ev4hr{margin-right:.4rem}.cqD75 .APA36,.AtsWP:hover+.gAsE9 .APA36,.gAsE9:hover .APA36{display:block}.cqD75 svg,.AtsWP:hover+.gAsE9 svg,.gAsE9:hover svg,.cqD75 .APA36,.AtsWP:hover+.gAsE9 .APA36,.gAsE9:hover .APA36{color:#313543}.AtsWP,.ZuAif,.Pt3nx{position:absolute;width:3rem;height:100%;z-index:3;top:50%;transform:translateY(-50%)}.Pt3nx{left:-1.5rem;background-image:linear-gradient(to left, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.ZuAif{right:-1.5rem;background-image:linear-gradient(to right, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.AtsWP{cursor:pointer;pointer-events:auto;background-color:rgba(255,255,255,.005)}.AtsWP.kgeXh{right:-1.5rem}.AtsWP.VSAPU{left:-1.5rem}.BVcIS{top:50%}
|
|
9
|
-
.fDc_6:not(:last-child){margin-right:.625rem}.aLSzv{overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.aLSzv::-webkit-scrollbar{display:none}.YheD1{left:-2rem}.ISepF{left:-1.5rem}.i9XEE{right:-2rem}.OxM84{right:-1.5rem}
|
|
10
|
-
.EcurS{line-height:1rem;font-weight:600}.FypfE{background-color:#d8edfa}
|
|
11
|
-
.j84HW{line-height:1rem;font-weight:600}
|
|
12
|
-
.O8f8H{height:1.5rem;width:3.5rem}.ThKam{height:2.2rem;width:5rem}.JIp3h{row-gap:.3125rem}
|
|
13
|
-
.hwnEk{width:2.1875rem;height:2.1875rem}.LyFKD{padding-bottom:1.25rem}.LyFKD:last-child{padding-bottom:0}
|
|
14
|
-
.jEh7m:not(:empty){min-height:1.5rem}.WQ2eS{background-color:rgba(255,147,0,.1);color:#ff9300}.z4DeQ{background-color:rgba(217,88,79,.1);color:#d9584f}
|
|
15
|
-
.b0KLR{color:inherit;font-size:.7857142857em}.b0KLR:hover .YR5Q7{text-decoration:underline}.ts6Yo{font-size:.5714285714em}
|
|
16
|
-
.Z5BW7:hover span{text-decoration:underline}
|
|
17
|
-
.VwD1b{color:#313543}.eJ85e{width:1.75rem;height:1.75rem}
|
|
18
|
-
.t0svX,.CFRo3{width:1.875rem;height:1.875rem}.ZMMQu{display:none}.CFRo3{color:#313543;background-color:rgba(241,241,241,.5);border-radius:50%}.CFRo3:hover{color:#d9584f;background-color:rgba(241,241,241,.7)}.CFRo3:hover .truFo{display:none}.CFRo3:hover .ZMMQu{opacity:.75;display:inline-block}.t0svX{color:#d9584f;background-color:rgba(241,241,241,.8)}.t0svX .truFo{display:none}.t0svX .ZMMQu{display:inline-block}.t0svX:hover .ZMMQu{opacity:1}
|
|
19
|
-
.fVSzb{width:100%;height:100%}
|
|
20
|
-
.vdd4V{position:relative;width:100%;height:100%}.vdd4V img{position:absolute;top:0;bottom:0;left:0;right:0}.Ez0E7{padding-bottom:56.25%}.H9bQA{padding-bottom:177.77778%}.Nudts{padding-bottom:100%}.IOvDH{padding-bottom:18.5%}.iiY56{padding-bottom:150%}.aDJiJ img{height:auto}.wDpui img{width:auto;margin:0 auto}
|
|
21
|
-
.ZvbeV,.atIHN{position:absolute;width:100%;height:100%}.atIHN{background-color:#f8f8f8}.m20L7{background-color:rgba(0,0,0,.0000005);height:100%;border-top-left-radius:.6rem;border-bottom-left-radius:.6rem;border-right:1px solid #eaeaea;position:absolute;top:0;left:0}.QIbxu{width:2rem}.z_sHT{width:5rem}.epoLB,.h1S5T{width:3.75rem;height:3.75rem}.ZbKBN,.I1mTo{width:7.5rem;height:7.5rem}.ZbKBN svg,.I1mTo svg{width:100%;height:100%}.epoLB,.h1S5T,.ZbKBN,.I1mTo,.kNG8Z{position:absolute;top:50%;left:50%;color:#d7d7d7;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.nKsWZ{padding:.3125rem;background-size:cover;background-position:center;background-repeat:no-repeat;width:100%;height:100%}.LolCW,.mdrT5{position:absolute;width:100%;height:100%}
|
|
22
|
-
.YnXtZ{position:absolute;bottom:0;left:0;right:0;z-index:2;height:.25rem}
|
|
23
|
-
.w4cg8{color:#313543;border-radius:50%;width:2rem;height:2rem;opacity:.8}.w4cg8.JpIYd{width:1.5rem;height:1.5rem}
|
|
24
|
-
.Sc3C4{display:flex;align-items:center;min-width:1.875rem;width:1.875rem;height:1.875rem;transition:width .3s;overflow:hidden;position:relative}.Sc3C4 .Ag_ex{min-width:1.5rem;position:absolute;left:50%;transform:translateX(-50%)}.Sc3C4 .Ag_ex svg{vertical-align:top}.Sc3C4 .Ipmb3{display:none;line-height:1.875rem}.Sc3C4.Pi49o{min-width:1.5rem;width:1.5rem;height:1.5rem}.Sc3C4.Pi49o .Ag_ex{min-width:1.25rem}.Sc3C4.Pi49o .Ipmb3{font-size:80%;line-height:1.5rem}.Sc3C4:hover{width:100%;padding-right:.625rem}.Sc3C4:hover .Ipmb3{display:block}.Sc3C4:hover .Ag_ex{margin-left:.2rem;position:relative;left:.75rem}.Sc3C4:hover.Pi49o .Ag_ex{left:.55rem}
|
|
25
|
-
.TzWQw{position:absolute;top:0;left:0;right:0;bottom:0;z-index:6;opacity:0;transition:opacity .5s;pointer-events:none}.gdTcW{opacity:1;pointer-events:auto}
|
|
26
|
-
.ft_ST{position:absolute;top:.625rem;left:.625rem;z-index:3}.qu3A3{position:absolute;width:100%;height:100%;z-index:2;padding:.3125rem;color:#fff}.XAfZW{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:3;transform:translate3d(0, 0, 0)}.NTrtm{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;padding:.625rem;padding-top:0;width:100%}@media(max-width: 576px){.NTrtm{padding-bottom:.3125rem}}.NTrtm.puKcM{transform:scale(0.9);margin-left:-1rem;margin-bottom:-0.2rem}@media(max-width: 576px){._6FukN{margin-bottom:0 !important}}.rXzR8::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}.dndOA{position:absolute;top:50%;left:50%;z-index:4;color:#fff;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out;width:2.75rem;height:2.75rem}.yhWf4{position:absolute;bottom:0;left:0;right:0;height:.25rem}.yhWf4+.AtgmC{bottom:.5625rem}.E2egN,.WycwR{position:absolute;bottom:0;left:0;right:0;background-color:#1b2d71;height:1.25rem;opacity:.9}.E2egN+.AtgmC,.WycwR+.AtgmC{bottom:1.5625rem}
|
|
27
|
-
.jO7pW{z-index:101}.xXfXO{animation:BrrtL .8s ease-in}@keyframes BrrtL{0%{transform:scale(var(--scale))}20%{transform:scale(var(--scale)/5)}}
|
|
28
|
-
.fdtKb:not(:last-child){margin-right:.3125rem}
|
|
29
|
-
.fy9Un .duration-badge-new,.fy9Un .rating-badge{height:1.5rem;font-weight:500;align-items:center;font-size:100%}.fy9Un{position:absolute;bottom:.625rem;right:.625rem;z-index:2}.fy9Un .rating-badge{width:auto;line-height:1.5}.fy9Un .duration-badge-new{line-height:1.3}.fy9Un.Rb0TL .duration-badge-new{font-size:90%;height:1.3rem;line-height:1.1}
|
|
30
|
-
.r70GR{z-index:10000}.rULXI{min-width:0}.h9k1p{height:1.5rem;line-height:1.5rem}.QaDDX{height:1.5rem}@media(max-width: 576px){.hvsne{display:none}}
|
|
31
|
-
.I9E5O{border-top-left-radius:.6rem;border-top-right-radius:.6rem;filter:drop-shadow(0px -1px 4px rgba(0, 0, 0, 0.1))}.tqUFn{width:25%}@media(max-width: 767.98px){.tqUFn{width:33.3333333333%}}@media(max-width: 575.98px){.tqUFn{width:50%}}.s1dNr{height:10rem}@media(max-width: 991.98px){.s1dNr{height:8rem}}.s1dNr:hover{text-decoration:none}.EDiGi{height:66.6666666667%}._tdVE .g5NWS{color:#38a2e8}._tdVE.s1dNr{background-color:#e0f3ff}._tdVE.xRYhX:hover{background-color:#eff9ff}.X39wU .g5NWS{color:#7a76e8}.X39wU.s1dNr{background-color:#e0dfff}.X39wU.xRYhX:hover{background-color:#f0efff}.X9pMl .g5NWS{color:#b679c7}.X9pMl.s1dNr{background-color:#f8e1ff}.X9pMl.xRYhX:hover{background-color:#fcf0ff}.qRVUo .g5NWS{color:#5dc786}.qRVUo.s1dNr{background-color:#d8ffe7}.qRVUo.xRYhX:hover{background-color:#e5ffef}._18JaV .g5NWS{color:#40bcc3}._18JaV.s1dNr{background-color:#cdfcff}._18JaV.xRYhX:hover{background-color:#e3feff}.KYtZL{width:auto;object-fit:contain;left:50% !important;transform:translateX(-50%)}
|
|
32
|
-
.c4Hun{background-color:#f8f8f8}.c4Hun:not(:last-child){margin-bottom:.625rem}.telfV{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.bdBNU{height:5rem !important;padding:0 !important}.QN5kl{height:70%}
|
|
33
|
-
.OjHQZ{background-color:#f8f8f8;height:2.5rem}.OjHQZ .SS2zL{width:1.8rem;height:1.8rem;display:flex;align-items:center;justify-content:center}.OjHQZ .SS2zL svg{transform:scale(0.85)}.OjHQZ:hover{background-color:#eef8ff}.OjHQZ.kD1xM{background-color:#eef8ff}
|
|
34
|
-
.aGxoe{vertical-align:top;position:relative}.aGxoe._cjiV{padding-left:36px;white-space:nowrap}.aGxoe._cjiV .q6vwS{left:.53125rem;top:50%;margin-top:-0.75rem;position:absolute}.aGxoe._cjiV svg{vertical-align:top}.aGxoe._cjiV .sm svg{vertical-align:middle}.aGxoe.T1CzO{padding:1rem}.aGxoe.T1CzO .q6vwS{top:50%;left:50%;transform:translate3D(-50%, -50%, 0);position:absolute}
|
|
35
|
-
.NsLci{width:18rem;padding-bottom:1.25rem}
|
|
36
|
-
.GvGYH:not(:last-child),.d7RK0:not(:last-child),.XRTAe:not(:last-child){margin-bottom:1.25rem}.N3l5Q{position:absolute;top:1rem;right:1.25rem}.hAxR4{height:1.5rem}.h66ke{list-style-type:disc}.CsG6G{width:75%}@media(min-width: 768px){.CsG6G{width:33%}}@media(min-width: 992px){.CsG6G{width:25%}}
|
|
37
|
-
.vDcrq{width:13rem;max-width:50%;height:1.675rem}.GXhoW{height:1.1875rem;max-width:70%;width:30rem}.goKaS{width:5.5rem;max-width:20%;height:1.3125rem}.vFew6{height:1.3125rem;max-width:70%;width:25rem}
|
|
38
|
-
.KQ5Wt{background-color:#f8f8f8}.KQ5Wt:not(:last-child){margin-bottom:.625rem}
|
|
39
|
-
.qz_5t{position:absolute;top:.625rem;left:.625rem;z-index:3}.whbhf{border-top-left-radius:.6rem;border-top-right-radius:.6rem}.vMaXP{overflow-y:auto;display:none}.vMaXP.tR1jA{display:block}.KJrT1{z-index:1;position:relative;box-shadow:none;transition:box-shadow .1s ease-in;padding:0 .94rem .94rem .94rem}.oZXV7{height:0;transition:height .3s ease-in-out}.oZXV7.EiQ04{height:10rem;padding:0 .94rem .94rem .94rem}.FAuzc{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:5;transform:translate3d(0, 0, 0)}
|
|
40
|
-
.qpc7L{position:absolute;width:100%;height:100%;z-index:2;background-color:#333;opacity:0;transition:opacity 100ms ease-in-out}.L8Oxs .b8kJW{width:2rem;height:2rem}.b8kJW{width:3.75rem;height:3.75rem}.L8Oxs .b8kJW,.b8kJW,.eo2p2{position:absolute;top:50%;left:50%;z-index:4;color:#fff;opacity:0;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.lpwag:hover .qpc7L{opacity:.5}.lpwag:hover .eo2p2,.lpwag:hover .b8kJW{opacity:1}
|
|
41
|
-
.maxOx{color:#313543;background-color:rgba(241,241,241,.5)}.maxOx:hover{color:#fff;background-color:#5dc786;opacity:.75;display:inline-block}.k3CBB{color:#fff;background-color:#5dc786}.Czq9C{width:1.875rem;height:1.875rem}
|
|
42
|
-
.efxnE{position:absolute;top:.625rem;right:.625rem;z-index:5}.efxnE.OJ_ZQ svg{transform:scale(0.7) translateX(1.5px)}.efxnE .vWvGn:not(:first-child){margin-left:.3125rem}
|
|
43
|
-
.krg9f{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;z-index:2;padding:.625rem;padding-top:0}.krg9f.MPRU6{padding-bottom:0;bottom:1.5625rem}.krg9f.MPRU6.g5_ww{bottom:2.3125rem}.krg9f.Zzo3e{padding-bottom:0;bottom:1.5625rem}.krg9f.Zzo3e.g5_ww{bottom:2.3125rem}.tZjPt{margin-top:.3125rem;line-height:1.2}.EElm1{position:absolute;width:100%;height:100%;padding:.3125rem;color:#fff}.pwC3i{position:absolute;top:.625rem;left:.625rem;z-index:2}.LS_EH::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}
|
|
44
|
-
.O2Czg svg{vertical-align:top}
|
|
45
|
-
.GyyRT:hover{background-color:#eef8ff}.aVNhj,.aVNhj:hover{background-color:#f1f1f1;border-left:3px solid #1b2d71}.uQ6as{height:calc(100vh - 425px);min-height:360px}.NjJLh{margin-bottom:0 !important}
|
|
46
|
-
.Hdi6o{border-radius:.6rem}.Hdi6o li{border-radius:0;min-width:7rem}.Hdi6o li:first-child{border-top-left-radius:.6rem;border-bottom-left-radius:.6rem}.Hdi6o li:last-child{border-top-right-radius:.6rem;border-bottom-right-radius:.6rem}.Hdi6o li:not(:first-child){border-left:none}.Hdi6o li:not(:last-child){border-right:none}.Hdi6o .hUJx1{padding-top:.53125rem;padding-bottom:.53125rem}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.aGxoe{vertical-align:top;position:relative}.aGxoe._cjiV{padding-left:36px;white-space:nowrap}.aGxoe._cjiV .q6vwS{left:.53125rem;top:50%;margin-top:-0.75rem;position:absolute}.aGxoe._cjiV svg{vertical-align:top}.aGxoe._cjiV .sm svg{vertical-align:middle}.aGxoe.T1CzO{padding:1rem}.aGxoe.T1CzO .q6vwS{top:50%;left:50%;transform:translate3D(-50%, -50%, 0);position:absolute}
|
|
2
|
-
.UCAnJ:after{content:none}
|
|
3
|
-
.JAT0R{transform:rotate(180deg)}.ld41u{transform:rotate(0deg)}.jZTRR{transform:rotate(90deg)}.HHkPe{transform:rotate(270deg)}
|
|
4
|
-
.ZYvBT .eVGWe{padding-left:1.8125rem}.ZYvBT .v76mu{right:auto;left:.3125rem}.ZYvBT .ZYvBT .eVGWe{padding-left:2.8125rem}.ZYvBT .ZYvBT .v76mu{right:auto;left:1.3125rem}.ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:3.8125rem}.ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:2.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:4.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:3.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:5.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:4.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:6.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:5.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:7.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:6.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:8.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:7.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:9.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:8.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:10.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:9.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:11.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:10.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:12.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:11.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:13.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:12.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:14.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:13.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:15.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:14.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:16.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:15.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:17.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:16.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:18.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:17.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:19.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:18.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:20.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:19.3125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .eVGWe{padding-left:21.8125rem}.ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .ZYvBT .v76mu{right:auto;left:20.3125rem}.v76mu{display:inline-block;position:absolute;color:#000;cursor:pointer;top:50%;margin-top:-0.625rem;right:100%}.eVGWe{overflow-wrap:break-word;padding-right:1.5rem;cursor:pointer}.eVGWe.wIrTq{cursor:not-allowed}.JDRq_ .v76mu{left:.3125rem}.JDRq_ .eVGWe{padding-left:1.8125rem}.wT87N{font-weight:600}.fKJU4{position:absolute;right:0;top:0;bottom:0;display:none !important}.fKJU4:hover{display:flex !important}.gOBrH:hover{text-decoration:none}.gOBrH:hover.fKmrr{background-color:#eef8ff}.gOBrH:hover .dropdown{display:block}.gOBrH:hover+.fKJU4{display:block !important}
|
|
5
|
-
.Jh8Ep{padding-right:2rem;overflow-y:hidden;cursor:pointer}.Jh8Ep::after{position:absolute;right:.75rem;top:50%;margin-top:-0.15em}.hnfdj:hover{background-color:#eef8ff}
|
|
6
|
-
.p8Vgz{position:relative;height:2rem;width:2rem}.p8Vgz svg{height:2rem;width:2rem}.p8Vgz circle{position:absolute;fill:none;stroke-width:.2rem;transform:translate(50%, 50%) rotate(-90deg)}.p8Vgz .asGGE{stroke:#b5b5b5}.p8Vgz .PXLNj{stroke:#5dc786}.p8Vgz .ZckRN{stroke:#ffcd52}.p8Vgz .slBRg{stroke:#d9584f}.N8KCI{height:5.8rem;width:5.8rem}.N8KCI svg{height:5.8rem;width:5.8rem}.N8KCI circle{stroke-width:.36rem}.DKrcq circle{stroke-dasharray:3}.DKrcq .asGGE{stroke:#4e9ace}.DKrcq.N8KCI circle{stroke-dasharray:6}.tpmLR{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-size:1.25rem;font-weight:700}
|
|
7
|
-
.Gvwzj{border-radius:50%;background-color:#40bcc3;width:100%;height:100%;text-align:center;line-height:100%;background-size:cover;background-position:top center}.JJHBJ{position:absolute;top:-0.1rem;right:-0.1rem;width:.8rem;height:.8rem}
|
|
8
|
-
.hwnEk{width:2.1875rem;height:2.1875rem}.LyFKD{padding-bottom:1.25rem}.LyFKD:last-child{padding-bottom:0}
|
|
9
|
-
.jEh7m:not(:empty){min-height:1.5rem}.WQ2eS{background-color:rgba(255,147,0,.1);color:#ff9300}.z4DeQ{background-color:rgba(217,88,79,.1);color:#d9584f}
|
|
10
|
-
.b0KLR{color:inherit;font-size:.7857142857em}.b0KLR:hover .YR5Q7{text-decoration:underline}.ts6Yo{font-size:.5714285714em}
|
|
11
|
-
.Z5BW7:hover span{text-decoration:underline}
|
|
12
|
-
.VwD1b{color:#313543}.eJ85e{width:1.75rem;height:1.75rem}
|
|
13
|
-
.t0svX,.CFRo3{width:1.875rem;height:1.875rem}.ZMMQu{display:none}.CFRo3{color:#313543;background-color:rgba(241,241,241,.5);border-radius:50%}.CFRo3:hover{color:#d9584f;background-color:rgba(241,241,241,.7)}.CFRo3:hover .truFo{display:none}.CFRo3:hover .ZMMQu{opacity:.75;display:inline-block}.t0svX{color:#d9584f;background-color:rgba(241,241,241,.8)}.t0svX .truFo{display:none}.t0svX .ZMMQu{display:inline-block}.t0svX:hover .ZMMQu{opacity:1}
|
|
14
|
-
.fVSzb{width:100%;height:100%}
|
|
15
|
-
.vdd4V{position:relative;width:100%;height:100%}.vdd4V img{position:absolute;top:0;bottom:0;left:0;right:0}.Ez0E7{padding-bottom:56.25%}.H9bQA{padding-bottom:177.77778%}.Nudts{padding-bottom:100%}.IOvDH{padding-bottom:18.5%}.iiY56{padding-bottom:150%}.aDJiJ img{height:auto}.wDpui img{width:auto;margin:0 auto}
|
|
16
|
-
.ZvbeV,.atIHN{position:absolute;width:100%;height:100%}.atIHN{background-color:#f8f8f8}.m20L7{background-color:rgba(0,0,0,.0000005);height:100%;border-top-left-radius:.6rem;border-bottom-left-radius:.6rem;border-right:1px solid #eaeaea;position:absolute;top:0;left:0}.QIbxu{width:2rem}.z_sHT{width:5rem}.epoLB,.h1S5T{width:3.75rem;height:3.75rem}.ZbKBN,.I1mTo{width:7.5rem;height:7.5rem}.ZbKBN svg,.I1mTo svg{width:100%;height:100%}.epoLB,.h1S5T,.ZbKBN,.I1mTo,.kNG8Z{position:absolute;top:50%;left:50%;color:#d7d7d7;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.nKsWZ{padding:.3125rem;background-size:cover;background-position:center;background-repeat:no-repeat;width:100%;height:100%}.LolCW,.mdrT5{position:absolute;width:100%;height:100%}
|
|
17
|
-
.YnXtZ{position:absolute;bottom:0;left:0;right:0;z-index:2;height:.25rem}
|
|
18
|
-
.w4cg8{color:#313543;border-radius:50%;width:2rem;height:2rem;opacity:.8}.w4cg8.JpIYd{width:1.5rem;height:1.5rem}
|
|
19
|
-
.Sc3C4{display:flex;align-items:center;min-width:1.875rem;width:1.875rem;height:1.875rem;transition:width .3s;overflow:hidden;position:relative}.Sc3C4 .Ag_ex{min-width:1.5rem;position:absolute;left:50%;transform:translateX(-50%)}.Sc3C4 .Ag_ex svg{vertical-align:top}.Sc3C4 .Ipmb3{display:none;line-height:1.875rem}.Sc3C4.Pi49o{min-width:1.5rem;width:1.5rem;height:1.5rem}.Sc3C4.Pi49o .Ag_ex{min-width:1.25rem}.Sc3C4.Pi49o .Ipmb3{font-size:80%;line-height:1.5rem}.Sc3C4:hover{width:100%;padding-right:.625rem}.Sc3C4:hover .Ipmb3{display:block}.Sc3C4:hover .Ag_ex{margin-left:.2rem;position:relative;left:.75rem}.Sc3C4:hover.Pi49o .Ag_ex{left:.55rem}
|
|
20
|
-
.TzWQw{position:absolute;top:0;left:0;right:0;bottom:0;z-index:6;opacity:0;transition:opacity .5s;pointer-events:none}.gdTcW{opacity:1;pointer-events:auto}
|
|
21
|
-
.ft_ST{position:absolute;top:.625rem;left:.625rem;z-index:3}.qu3A3{position:absolute;width:100%;height:100%;z-index:2;padding:.3125rem;color:#fff}.XAfZW{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:3;transform:translate3d(0, 0, 0)}.NTrtm{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;padding:.625rem;padding-top:0;width:100%}@media(max-width: 576px){.NTrtm{padding-bottom:.3125rem}}.NTrtm.puKcM{transform:scale(0.9);margin-left:-1rem;margin-bottom:-0.2rem}@media(max-width: 576px){._6FukN{margin-bottom:0 !important}}.rXzR8::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}.dndOA{position:absolute;top:50%;left:50%;z-index:4;color:#fff;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out;width:2.75rem;height:2.75rem}.yhWf4{position:absolute;bottom:0;left:0;right:0;height:.25rem}.yhWf4+.AtgmC{bottom:.5625rem}.E2egN,.WycwR{position:absolute;bottom:0;left:0;right:0;background-color:#1b2d71;height:1.25rem;opacity:.9}.E2egN+.AtgmC,.WycwR+.AtgmC{bottom:1.5625rem}
|
|
22
|
-
.jO7pW{z-index:101}.xXfXO{animation:BrrtL .8s ease-in}@keyframes BrrtL{0%{transform:scale(var(--scale))}20%{transform:scale(var(--scale)/5)}}
|
|
23
|
-
.fdtKb:not(:last-child){margin-right:.3125rem}
|
|
24
|
-
.fy9Un .duration-badge-new,.fy9Un .rating-badge{height:1.5rem;font-weight:500;align-items:center;font-size:100%}.fy9Un{position:absolute;bottom:.625rem;right:.625rem;z-index:2}.fy9Un .rating-badge{width:auto;line-height:1.5}.fy9Un .duration-badge-new{line-height:1.3}.fy9Un.Rb0TL .duration-badge-new{font-size:90%;height:1.3rem;line-height:1.1}
|
|
25
|
-
.r70GR{z-index:10000}.rULXI{min-width:0}.h9k1p{height:1.5rem;line-height:1.5rem}.QaDDX{height:1.5rem}@media(max-width: 576px){.hvsne{display:none}}
|
|
26
|
-
.I9E5O{border-top-left-radius:.6rem;border-top-right-radius:.6rem;filter:drop-shadow(0px -1px 4px rgba(0, 0, 0, 0.1))}.tqUFn{width:25%}@media(max-width: 767.98px){.tqUFn{width:33.3333333333%}}@media(max-width: 575.98px){.tqUFn{width:50%}}.s1dNr{height:10rem}@media(max-width: 991.98px){.s1dNr{height:8rem}}.s1dNr:hover{text-decoration:none}.EDiGi{height:66.6666666667%}._tdVE .g5NWS{color:#38a2e8}._tdVE.s1dNr{background-color:#e0f3ff}._tdVE.xRYhX:hover{background-color:#eff9ff}.X39wU .g5NWS{color:#7a76e8}.X39wU.s1dNr{background-color:#e0dfff}.X39wU.xRYhX:hover{background-color:#f0efff}.X9pMl .g5NWS{color:#b679c7}.X9pMl.s1dNr{background-color:#f8e1ff}.X9pMl.xRYhX:hover{background-color:#fcf0ff}.qRVUo .g5NWS{color:#5dc786}.qRVUo.s1dNr{background-color:#d8ffe7}.qRVUo.xRYhX:hover{background-color:#e5ffef}._18JaV .g5NWS{color:#40bcc3}._18JaV.s1dNr{background-color:#cdfcff}._18JaV.xRYhX:hover{background-color:#e3feff}.KYtZL{width:auto;object-fit:contain;left:50% !important;transform:translateX(-50%)}
|
|
27
|
-
.c4Hun{background-color:#f8f8f8}.c4Hun:not(:last-child){margin-bottom:.625rem}.telfV{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.bdBNU{height:5rem !important;padding:0 !important}.QN5kl{height:70%}
|
|
28
|
-
.OjHQZ{background-color:#f8f8f8;height:2.5rem}.OjHQZ .SS2zL{width:1.8rem;height:1.8rem;display:flex;align-items:center;justify-content:center}.OjHQZ .SS2zL svg{transform:scale(0.85)}.OjHQZ:hover{background-color:#eef8ff}.OjHQZ.kD1xM{background-color:#eef8ff}
|
|
29
|
-
.NsLci{width:18rem;padding-bottom:1.25rem}
|
|
30
|
-
.GvGYH:not(:last-child),.d7RK0:not(:last-child),.XRTAe:not(:last-child){margin-bottom:1.25rem}.N3l5Q{position:absolute;top:1rem;right:1.25rem}.hAxR4{height:1.5rem}.h66ke{list-style-type:disc}.CsG6G{width:75%}@media(min-width: 768px){.CsG6G{width:33%}}@media(min-width: 992px){.CsG6G{width:25%}}
|
|
31
|
-
.vDcrq{width:13rem;max-width:50%;height:1.675rem}.GXhoW{height:1.1875rem;max-width:70%;width:30rem}.goKaS{width:5.5rem;max-width:20%;height:1.3125rem}.vFew6{height:1.3125rem;max-width:70%;width:25rem}
|
|
32
|
-
.Zw6d9{display:flex;flex-wrap:wrap}.jlL1c{background-color:#f1f1f1;color:#b5b5b5}.jlL1c:hover{background-color:#f1f1f1;color:#b5b5b5}.too_N{width:5rem}.OjtN8{line-height:1.1rem}.X9joI{opacity:1;background-size:.625rem}.X9joI:not(:disabled):hover{opacity:1}
|
|
33
|
-
.KQ5Wt{background-color:#f8f8f8}.KQ5Wt:not(:last-child){margin-bottom:.625rem}
|
|
34
|
-
.qz_5t{position:absolute;top:.625rem;left:.625rem;z-index:3}.whbhf{border-top-left-radius:.6rem;border-top-right-radius:.6rem}.vMaXP{overflow-y:auto;display:none}.vMaXP.tR1jA{display:block}.KJrT1{z-index:1;position:relative;box-shadow:none;transition:box-shadow .1s ease-in;padding:0 .94rem .94rem .94rem}.oZXV7{height:0;transition:height .3s ease-in-out}.oZXV7.EiQ04{height:10rem;padding:0 .94rem .94rem .94rem}.FAuzc{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:5;transform:translate3d(0, 0, 0)}
|
|
35
|
-
.qpc7L{position:absolute;width:100%;height:100%;z-index:2;background-color:#333;opacity:0;transition:opacity 100ms ease-in-out}.L8Oxs .b8kJW{width:2rem;height:2rem}.b8kJW{width:3.75rem;height:3.75rem}.L8Oxs .b8kJW,.b8kJW,.eo2p2{position:absolute;top:50%;left:50%;z-index:4;color:#fff;opacity:0;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.lpwag:hover .qpc7L{opacity:.5}.lpwag:hover .eo2p2,.lpwag:hover .b8kJW{opacity:1}
|
|
36
|
-
.maxOx{color:#313543;background-color:rgba(241,241,241,.5)}.maxOx:hover{color:#fff;background-color:#5dc786;opacity:.75;display:inline-block}.k3CBB{color:#fff;background-color:#5dc786}.Czq9C{width:1.875rem;height:1.875rem}
|
|
37
|
-
.efxnE{position:absolute;top:.625rem;right:.625rem;z-index:5}.efxnE.OJ_ZQ svg{transform:scale(0.7) translateX(1.5px)}.efxnE .vWvGn:not(:first-child){margin-left:.3125rem}
|
|
38
|
-
.krg9f{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;z-index:2;padding:.625rem;padding-top:0}.krg9f.MPRU6{padding-bottom:0;bottom:1.5625rem}.krg9f.MPRU6.g5_ww{bottom:2.3125rem}.krg9f.Zzo3e{padding-bottom:0;bottom:1.5625rem}.krg9f.Zzo3e.g5_ww{bottom:2.3125rem}.tZjPt{margin-top:.3125rem;line-height:1.2}.EElm1{position:absolute;width:100%;height:100%;padding:.3125rem;color:#fff}.pwC3i{position:absolute;top:.625rem;left:.625rem;z-index:2}.LS_EH::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}
|
|
39
|
-
.O2Czg svg{vertical-align:top}
|
|
40
|
-
.GyyRT:hover{background-color:#eef8ff}.aVNhj,.aVNhj:hover{background-color:#f1f1f1;border-left:3px solid #1b2d71}.uQ6as{height:calc(100vh - 425px);min-height:360px}.NjJLh{margin-bottom:0 !important}
|
|
41
|
-
.Hdi6o{border-radius:.6rem}.Hdi6o li{border-radius:0;min-width:7rem}.Hdi6o li:first-child{border-top-left-radius:.6rem;border-bottom-left-radius:.6rem}.Hdi6o li:last-child{border-top-right-radius:.6rem;border-bottom-right-radius:.6rem}.Hdi6o li:not(:first-child){border-left:none}.Hdi6o li:not(:last-child){border-right:none}.Hdi6o .hUJx1{padding-top:.53125rem;padding-bottom:.53125rem}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[1364],{44391:function(e,t,n){"use strict";n.d(t,{K:function(){return g}});var o=n(11306),r=n(31647),i=n(48088),l=n(48090),s=n(26457),a=n(15564),u=n.n(a);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===c(r)?r:String(r)),o)}var r}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(y,e);var t,n,o,r,a=(o=y,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(o);if(r){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function y(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),a.call(this,e)}return t=y,(n=[{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.Dm.Link?"a":"span"}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.zM.Vertical?"":" d-inline-flex"),t="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.Dm.Disabled?" ".concat("dE3WC"):""),o="".concat(this.options.behavior===s.Dm.Filter?" cursor-pointer":"");return"rounded-pill tag py-1 px-2 my-1 me-1".concat(o).concat(e).concat(t).concat(n)}},{key:"template",get:function(){return u()}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.Dm.Link?{}:{"[this]":{application:l.OV.SEARCH,action:l.eX.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.Dm.Link,orientation:s.zM.Flex}}},{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.Dm.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.Dm.Filter){var e=this.model.pick("id","name","remove"),t=e.id,n=e.name;return!!e.remove||!t||!n}}},{key:"onRemoveTag",value:function(e){if(e.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),i.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(){this.options.behavior!==s.Dm.Filter||this.options.removeEvent||i.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.Q.wA);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===d(r)?r:String(r)),o)}var r}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(u,e);var t,n,i,l,a=(i=u,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(i);if(l){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.options.behavior!==s.Dm.Edit||this.options.removeEvent||r.Q.Ry.throw(new o.H("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.zM.Flex}}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.zM.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(e)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return y}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.Q.$W)},71641:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var o=n(39479),r=n(31647),i=n(55142);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===l(r)?r:String(r)),o)}var r}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(f,e);var t,n,r,c,p=(r=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=u(r);if(c){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,e)}return t=f,n=[{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"childView",get:function(){return i.N}},{key:"childViewOptions",get:function(){var e={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(e,this.options.childOptions)}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,o=e.extraClasses,r="dropdown-menu-".concat(n);return o&&(r="".concat(r," ").concat(o)),r}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".active");if(e.length){var t=this.$el.scrollTop()+e.position().top,n=.5*this.$el.height()+.5*e.height();this.$el.scrollTop(t-n)}}}],n&&s(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.Q.$W)},66882:function(e,t,n){"use strict";n.d(t,{R:function(){return A}});var o=n(57857),r=n(31647),i=n(52076),l=n(70065),s=n(63791),a=n(71641),u=n(39479),c=n(56210),p=n(37106),f=n.n(p),h={actions:"VXWM3",svgContainer:"etJKo",moreSvgContainer:"kwNUa",actionName:"gbBGB",disabled:"Ykm_2",iconButton:"xqFbC"};function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==y(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===y(r)?r:String(r)),o)}var r}function v(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=O(e);if(t){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var E=function(e){g(n,e);var t=k(n);function n(e){return m(this,n),t.call(this,e)}return v(n,[{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return f()}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var e="cursor-pointer";return this.options.showLabel?e+=" ".concat(h.iconButton," btn btn-outline-dark ms-2"):e+=" d-inline-block px-1 no-decoration",this.model.get("isDisabled")&&(e+=" ".concat(h.disabled)),e}},{key:"events",value:function(){return{click:"onClick"}}},{key:"behaviors",get:function(){var e=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(e)return[{behaviorClass:c.H,title:e}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}},{key:"onClick",value:function(){this.logAction()}},{key:"logAction",value:function(){var e,t,n=this.model.get("appLink");if(u.isObject(n)){var o=(e=n.args,t=1,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,l,s=[],a=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;a=!1}else for(;!(a=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{if(!a&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];i.k.logUserAction({id:o},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}}]),n}(r.Q.wA),S=function(e){g(n,e);var t=k(n);function n(e){return m(this,n),t.call(this,e)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return E}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(r.Q.$W),P=n(48090),j=n(61843),T=n(89707),C=n(264),_=n(26457),x=n(59168),R=n.n(x);function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==D(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===D(r)?r:String(r)),o)}var r}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(f,e);var t,n,u,c,p=(u=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=N(u);if(c){var n=N(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,e)}return t=f,(n=[{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return R()}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}},{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"onClickMore",value:function(){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new r.Q.FE([{title:o.T.getPhrase(this.lang,"share"),svg:s.Nj.getSvg(s.vn.Share2),isDisabled:!j.BK.canShareVideo(this.model,this.options.application),tooltipText:j.BK.canShareVideo(this.model,this.options.application)?o.T.getPhrase(this.lang,"share"):j.BK.getSharePermissionsMessage(this.model,this.options.application),appLink:C.g.hasLite?{application:this.options.application,action:P.eX.Shared.SHARE,args:[this.model.get("id")],params:{entityType:"video"}}:{application:this.options.application,action:P.eX.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Share,eventVersion:l.eq.V3})},{title:o.T.getPhrase(this.lang,"edit"),svg:j.BK.canEditVideo(this.model)?s.Nj.getSvg(s.vn.Edit):s.Nj.getSvg(s.vn.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:P.OV.LIBRARY_EDITOR,action:P.eX.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Edit,workflowPhase:l.eu.Start})}])}},{key:"getEditTooltip",value:function(){return j.BK.canEditVideo(this.model)?o.T.getPhrase(this.lang,"edit"):j.M2.isExchangeVideo(this.model)?o.T.getPhrase(this.lang,"linkedToExchange"):o.T.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===_.x_.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var e=[];this.options.collectionIdentifier&&e.push({title:o.T.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:P.eX.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Move,descriptor:l.yh.Single,workflowPhase:l.eu.Start})}),e.push({title:o.T.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:P.eX.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.SetAccess,workflowPhase:l.eu.Start})}),this.options.application===P.OV.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&e.push({title:o.T.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:P.eX.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}});var t="videos/".concat(this.model.get("id"));if(e.push({title:o.T.getPhrase(this.lang,"openInStaffView"),href:T.k.getMainProductUrl(this.options.config,t,t),external:!0,icon:s.Nj.getSvg(s.vn.NewWindow),analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Click,descriptor:l._S.OpenInStaffView})}),this.options.application!==P.OV.CONTENT_UPDATES){var n=j.BK.canDownloadVideo(this.model);e.push({title:o.T.getPhrase(this.lang,"download"),disabled:!n,classes:n?"":"".concat(h.disabled),tooltip:n?null:{title:o.T.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Download}),appLink:n?{application:this.options.application,action:P.eX.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&j.BK.canAddToExchange(this.model)&&!C.g.hasLite&&e.push({title:o.T.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:P.eX.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&e.push({title:o.T.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:P.eX.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.AddToLocalCache})}),this.options.collectionIdentifier&&e.push({title:o.T.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:P.eX.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Delete,descriptor:l.yh.Single,workflowPhase:l.eu.Start})}),new r.Q.FE(e)}},{key:"renderActions",value:function(){this.showChildView("actions",new S({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new a.w({displayOptions:{alignment:"end"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:i.k})))}},{key:"viewOptions",value:function(){return{styles:h,moreSvg:s.Nj.getSvg(s.vn.More),showLabel:this.options.showActionLabels}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions(),this.renderMoreActions()}}])&&L(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(r.Q.wA)},23130:function(e,t,n){"use strict";n.d(t,{Z:function(){return b},t:function(){return o}});var o,r=n(57857),i=n(31647),l=n(61843),s=n(58040),a=n.n(s),u={columnNames:"hkjBy",descriptionWrapper:"vGCSU",description:"lM8Hu",ellipsis:"zcKZV",showMoreEllipsis:"mUQy_",singleEllipsis:"sLOGz",showEllipsis:"Dn0yN",hideEllipsis:"Y0fDv",open:"JcPWW",truncateSmall:"FgeiQ",truncateLarge:"x5Rgi"};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}!function(e){e.Small="sm",e.Large="lg"}(o||(o={}));var m=y(y({},o.Small,3),o.Large,5),b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(b,e);var t,n,i,s,d=(i=b,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(s){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function b(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),(t=d.call(this,e)).showingMore=!1,t}return t=b,(n=[{key:"name",get:function(){return"VideoDescriptionComponent"}},{key:"template",get:function(){return a()}},{key:"lang",get:function(){return"shared.videoDescription"}},{key:"defaults",get:function(){return{size:"sm"}}},{key:"elements",get:function(){return{description:".description-element",ellipsis:this.options.allowExpand?".".concat(u.showMoreEllipsis):".".concat(u.singleEllipsis)}}},{key:"events",value:function(){return y({},"click .".concat(u.showMoreEllipsis),"onClickShowMore")}},{key:"onClickShowMore",value:function(e){e.preventDefault(),this.showingMore?this.showLessDescription():this.showMoreDescription()}},{key:"getDescription",value:function(){return this.options.linkify?l.m$.linkifyText(this.model.get("description")):this.options.highlighter?l.m$.wordsHighlighter(l.m$.escapeExpression(this.model.get("description")),this.model.get("_matchedWords")):void 0}},{key:"getDescriptionElements",value:function(){return{descriptionTextEl:this.getUI("description"),ellipsisEl:this.getUI("ellipsis")}}},{key:"showMoreDescription",value:function(){var e=this.getDescriptionElements(),t=e.descriptionTextEl,n=e.ellipsisEl;t.removeClass(u.truncateLarge).addClass(u.open),n.text(r.T.getPhrase(this.lang,"showLess")),this.showingMore=!0}},{key:"showLessDescription",value:function(){var e,t=this.getDescriptionElements(),n=t.descriptionTextEl,i=t.ellipsisEl;this.options.size===o.Small&&(e="truncateSmall"),this.options.size===o.Large&&(e="truncateLarge"),n.addClass(u[e]),i.text(this.options.allowExpand?"... ".concat(r.T.getPhrase(this.lang,"showMore")):"...").removeClass(u.hideEllipsis).addClass(u.showEllipsis),this.showingMore=!1}},{key:"truncateDescription",value:function(){if(this.options.truncate){var e=this.getDescriptionElements().descriptionTextEl,t=m[this.options.size];e.height()<=21*t||this.showLessDescription()}}},{key:"viewOptions",value:function(){return{styles:u,truncate:this.options.truncate,expandable:this.options.allowExpand,description:this.getDescription()}}},{key:"onAttach",value:function(){this.truncateDescription()}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),b}(i.Q.wA)},37570:function(e,t,n){"use strict";n.d(t,{O:function(){return y}});var o=n(31647),r=n(63791),i=n(48090),l=n(61843),s=n(19021),a=n.n(s),u={svgContainer:"kKrQJ",series:"zJvxj"};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===c(r)?r:String(r)),o)}var r}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,o,s,y=(o=d,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(o);if(s){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y.call(this,e)}return t=d,(n=[{key:"defaults",get:function(){return{styleUppercase:!0}}},{key:"name",get:function(){return"VideoItemSeriesComponent"}},{key:"template",get:function(){return a()}},{key:"appLinks",get:function(){return this.options.seriesUrl?{}:{".series-applink":{application:i.OV.LIBRARY_EDITOR,action:i.eX.LibraryEditor.SERIES,args:[this.model.series.get("id")]}}}},{key:"padNumber",value:function(e){if(!e)return null;var t=e.toString(),n=2;if(t.length>=n)return t;for(n-=t.length;n>0;)t="0"+t,n--;return t}},{key:"getSeriesName",value:function(){var e=l.m$.escapeExpression(this.model.series.get("name"));return this.options.highlight?l.m$.wordsHighlighter(e,this.model.get("_matchedWords")):e}},{key:"viewOptions",value:function(){return{styles:u,seasonNumber:this.padNumber(this.model.season&&this.model.season.get("number")),episodeNumber:this.padNumber(this.model.get("episodeNumber")),seriesName:this.getSeriesName(),seriesUrl:this.options.seriesUrl,externalSvg:r.Nj.getSvg(r.vn.NewWindow),styleUppercase:this.options.styleUppercase}}},{key:"onBeforeRender",value:function(){return this.model.series&&!!this.model.series.get("id")}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.Q.wA)},7427:function(e,t,n){"use strict";n.d(t,{V:function(){return y}});var o=n(31647),r=n(48090),i=n(61843),l=n(25205),s=n.n(l),a={sourceLabel:"TczXY"};function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,p(o.key),o)}}function p(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,o,l,y=(o=d,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(o);if(l){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y.call(this,e)}return t=d,(n=[{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s()}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var e;return this.options.showFolder&&(null===(e=this.folders)||void 0===e?void 0:e.length)?this.folders.reduce((function(e,t){return e[".applink-folder-".concat(t.get("id"))]={application:r.OV.LIBRARY_EDITOR,action:r.eX.LibraryEditor.FOLDER,args:[t.get("id")]},e}),{}):{}}},{key:"events",value:function(){var e,t,n,o=Object.keys(this.appLinks),r=(e={},n="onClick",(t=p(t="click .".concat(a.sourceLabel)))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e);return o.forEach((function(e){r["click ".concat(e)]="onClick"})),r}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"getFolderLinks",value:function(){var e,t=this;if(null===(e=this.folders)||void 0===e?void 0:e.length){var n={};return this.folders.forEach((function(e){var o=t.options.highlight?i.m$.wordsHighlighter(i.m$.escapeExpression(e.get("name")),t.model.get("_matchedWords")):i.m$.escapeExpression(e.get("name"));n[e.get("id")]=o})),Object.keys(n).map((function(e){return'<a class="info-link applink-folder-'.concat(e,'">').concat(n[e],"</a>")})).join(", ")}}},{key:"getCustomLibraryFolders",value:function(){var e;if(!(null===(e=this.model)||void 0===e?void 0:e.categories)||!this.options.libraries)return[];var t=this.options.libraries.reduce((function(e,t){return e[t.id]=!0,e}),{});return this.model.categories.filter((function(e){var n=e.libraries.first().get("id");return t[n]}))}},{key:"onBeforeRender",value:function(){var e;return this.folders||(this.folders=this.getCustomLibraryFolders()),this.options.showFolder&&!!(null===(e=this.folders)||void 0===e?void 0:e.length)}},{key:"viewOptions",value:function(){return{styles:a,folderCount:this.folders.length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.Q.wA)},61356:function(e,t,n){"use strict";n.d(t,{c:function(){return O}});var o=n(48088),r=n(39479),i=n(31647),l=n(52076),s=n(70065),a=n(88483),u=n(2772),c=n(10101),p=n(89167),f=n(48090),h=n(61843),y=n(264),d=n(60716),m=n(37339),b=n.n(m);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==v(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===v(r)?r:String(r)),o)}var r}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(E,e);var t,n,i,m,O=(i=E,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(m){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function E(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,E),(t=O.call(this,e))._viewKeyRequested=!1,t}return t=E,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoPreviewComponent"}},{key:"template",get:function(){return b()}},{key:"instanceChannelName",get:function(){return h.N0.generateUniqueChannelName(this)}},{key:"defaults",get:function(){return{captureAnalytics:!0}}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.Im,selector:".lazy-img",callback:function(){o.Radio.channel(e.instanceChannelName).trigger("show:play:icon")},minBrowserSupportVersion:f.v9}]}},{key:"regions",value:function(){return{player:{el:".video-player-region",replaceElement:!1},thumbnail:{el:".thumbnail-region",replaceElement:!0}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"bindListeners",value:function(){this.options.channelName&&this.listenTo(this.options.channelName,"update:chapter:time",this.onUpdateWebplayer)}},{key:"onUpdateWebplayer",value:function(e){return y.g.hasLite?this.playerViewKey?this.player?void this.seekToChapter(e):(this.listenToOnce(this.options.channelName,"player:loaded",r.bind(this.seekToChapter,this,e)),void this.renderVideoPreview()):(this.listenToOnce(this.options.channelName,"player:loaded",r.bind(this.seekToChapter,this,e)),void this.requestViewKey()):this.webPlayer?void this.seekToChapter(e):(this.listenToOnce(this.options.channelName,"webplayer:loaded",r.bind(this.seekToChapter,this,e)),void this.renderVideoPreview())}},{key:"seekToChapter",value:function(e){this.player?this.player.currentTime(e):this.webPlayer.seekTo(e)}},{key:"requestViewKey",value:function(){var e=this;this.playerViewKey||this._viewKeyRequested||(this._viewKeyRequested=!0,this.options.createViewKey(this.model.get("id"),(function(t){e.playerViewKey=t,e.renderVideoPreview()})))}},{key:"onClick",value:function(){this.model.get("id")&&(y.g.hasLite?this.requestViewKey():this.webPlayer||this.renderVideoPreview())}},{key:"renderThumbnail",value:function(){this.showChildView("thumbnail",new u.Z({model:this.model,thumbnailOptions:{size:a.h2.Medium},playIcon:!0,lazyload:!0,channelName:this.instanceChannelName}))}},{key:"renderVideoPreview",value:function(){if(this.playerViewKey)return this.player=new d.l({model:this.playerViewKey,playerApiUrl:this.options.playerApiUrl,channelName:this.options.channelName}),void this.showChildView("player",this.player);this.webPlayer=new p.Q({model:this.model,webPlayerUrl:this.options.webPlayerUrl,parentChannelName:this.options.channelName,autoplay:!0,analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{entity:s.py.Video}),captureAnalytics:this.options.captureAnalytics,currentUser:this.options.currentUser}),this.showChildView("player",this.webPlayer)}},{key:"onRender",value:function(){this.playerViewKey?this.renderVideoPreview():this.renderThumbnail()}}])&&g(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),E}(i.Q.wA)},15564:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return'<span class="btn-close cursor-pointer" role="button" aria-label="Close"></span>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,s=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u="function",c=e.escapeExpression;return'<span class="clamp-1" title="'+c(typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:a)===u?l.call(s,{name:"name",hash:{},data:r}):l)+'">'+c(typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:a)===u?l.call(s,{name:"name",hash:{},data:r}):l)+"</span>\r\n"+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.removable:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},37106:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression("function"==typeof(i=null!=(i=n.title||(null!=t?t.title:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:r}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,s=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return' <span class="d-inline-block align-middle '+a(s(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" "+a(s(null!=(i=null!=t?t.options:t)?i.additionalClassName:i,t))+'">'+(null!=(i="function"==typeof(l=null!=(l=n.svg||(null!=t?t.svg:t))?l:e.hooks.helperMissing)?l.call(u,{name:"svg",hash:{},data:r}):l)?i:"")+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.showLabel:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},59168:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return"btn btn-outline-dark px-0 ms-2"},3:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.moreSvgContainer:i,t))},5:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" align-middle"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return'<div class="actions-region d-inline-block"></div><span class="position-relative d-inline-block dropdown">\r\n <span\r\n data-bs-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showLabel:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' ui-dropdown-toggle"\r\n >\r\n <span class="ui-more d-inline-block '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showLabel:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?i:"")+' cursor-pointer">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.moreSvg:i,t))?i:"")+'</span>\r\n </span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})},58040:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <div class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.descriptionWrapper:i,t))+'">\r\n <p class="description-element '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.description:i,t))+'">'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.expandable:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.program(4,r,0),data:r}))?i:"")+"</p>\r\n </div>\r\n"},2:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return(null!=(i=l(null!=(i=null!=t?t.options:t)?i.description:i,t))?i:"")+'<span class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.showMoreEllipsis:i,t))+" "+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.hideEllipsis:i,t))+'">... '+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"showMore",{name:"lang",hash:{},data:r}))+"</span>"},4:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return(null!=(i=l(null!=(i=null!=t?t.options:t)?i.description:i,t))?i:"")+'<span class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.singleEllipsis:i,t))+" "+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.hideEllipsis:i,t))+'">...</span>'},6:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda;return' <p class="'+e.escapeExpression(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.description:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.description:i,t))?i:"")+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.truncate:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(6,r,0),data:r}))?i:""},useData:!0})},19021:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.series:i,t))},3:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,'href="'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.seriesUrl:i,t))+'" target="_blank"'},5:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.seasonNumber:i,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+" E"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.episodeNumber:i,t))+"\r\n"},6:function(e,t,n,o,r){var i;return e.propertyIsEnumerable," S"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.seasonNumber:i,t))+" •"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return'<a class="series-applink text-reset '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.styleUppercase:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.seriesUrl:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+">\r\n "+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.seriesName:i,t))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.episodeNumber:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+"</a>"},useData:!0})},25205:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return'<span class="'+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sourceLabel:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.folderCount:i},data:r}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,(null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.hideLabel:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.folders:i,t))?i:"")},useData:!0})},37339:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return"cursor-pointer "},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,'<div class="video-player-region '+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.id:t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <div class="thumbnail-region"></div>\r\n</div>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[1365],{79410:function(e,t,n){n.d(t,{D:function(){return c}});var r=n(1024),i=n.n(r),a=n(58566),o=n(4705),l=n(34279),c=function(e,t,n){var r,c=(r=null==n?void 0:n.storage)?r===o.Z1.SessionStorage?o.qS:o.SG:null,s=null==c?void 0:c.get(e),u=(0,a.useDispatch)(),d=(0,a.useSelector)((function(t){return t.viewModelData[e]}));function f(){return null!=s}"undefined"!==s&&"null"!==s||(s=null);var m=(void 0!==t||f())&&void 0===d;function v(t,n){c&&function(t,n){if(c){var r=c.get(e);"string"!=typeof t||void 0===n?c.set(e,t):c.set(e,Object.assign(Object.assign({},r),{dataOrKey:n}))}}(t,n),u({type:l.B.UPDATE,payload:{viewModelKey:e,dataOrKey:t,keyData:n}})}return i().useEffect((function(){if(m)return f()?void v(s):void v(t)}),[]),m?f()?[s,v]:[t,v]:[null!=d?d:void 0,v]}},39023:function(e,t,n){n.d(t,{X:function(){return i}});var r=n(1024);function i(e){var t=e.isLabelEllipsis,n=r.useRef(null);return r.useEffect((function(){n.current&&(e.checked?n.current.indeterminate&&(n.current.indeterminate=!1):!e.indeterminate||n.current.indeterminate?!e.indeterminate&&n.current.indeterminate&&(n.current.indeterminate=!1):n.current.indeterminate=!0)}),[n.current,e.indeterminate,e.checked]),r.createElement("div",{className:"form-check pe-2 ".concat(e.className)},r.createElement("input",{ref:n,type:"checkbox",className:"form-check-input",id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled}),r.createElement("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id},r.createElement("span",{className:"".concat(t?"clamp-1":"")},e.label)))}i.defaultProps={checked:!1,label:"",className:""}},9063:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(1024),i=n.n(r),a=n(58424),o=n(63946);function l(e){function t(){e.disabled||e.onClick.apply(e,arguments)}var n=e.disabled?"disabled":"",r=e.hideOutline?"outline-none":"",l=e.on?"on":"";e.disabled&&!e.showStateWhenDisabled&&(l="");var c="".concat("d-inline-block float-end align-top custom-toggle toggle-option"," ").concat(l," ").concat(n," ").concat(r);return e.tooltipText?i().createElement(o.u,{title:e.tooltipText,spanHack:!0},i().createElement(a.L,{onClick:t,className:c},i().createElement("span",{className:"handle"}))):i().createElement(a.L,{onClick:t,className:c},i().createElement("span",{className:"handle"}))}},52086:function(e,t,n){n.d(t,{g:function(){return r}});var r={PERMISSIONS:"permissions",AUDIENCE_FILTER:"audience:filter",BULK_USER_UPLOAD:"bulk:user:upload",BULK_REMOVE_USERS:"bulk:remove:users",BULK_USER_ACTIONS:"bulk:user:actions",CURATOR_WORKING_LISTS:"curator:working:lists",LOOKING_FOR_INTEGRATION:"looking:for:integration",PRESENTATION_ID:"presentation:id",BRAZE_BANNER_PREFIX:"braze:banner"}},74483:function(e,t,n){var r;n.d(t,{w:function(){return r}}),function(e){e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive"}(r||(r={}))},29309:function(e,t,n){n.r(t),n.d(t,{PastRequestsView:function(){return wn}});var r=n(1024),i=n.n(r),a=n(57857),o=n(86120),l=n(23689),c=n(86242),s=n(66703),u=n(90335),d=n(2491),f=n(30317),m=n(22430),v=n(50997),p=n(68893),y=n(48404),g=n(19226),b=n(39396),h=n(63791),E=n(50072),S="libraryRequests.closedAlert";function A(e){var t;return(null===(t=e.libraryRequest)||void 0===t?void 0:t.status)!==E.l.Closed?i().createElement(i().Fragment,null):i().createElement("div",{className:"alert alert-warning mb-3 rounded d-flex align-items-center px-2",role:"alert"},i().createElement(b.x,{svgName:h.vn.Lock,className:"d-inline-block svg-container me-2"}),i().createElement(s.x,{namespace:S,phrase:"closedRequest"}))}var O=n(70065),C=n(40221),w=n(85887),k=n(99910),L=n(58424),T="search.filterActions";function N(e){return r.createElement("div",{className:"d-flex justify-content-between ".concat(e.className)},e.active?r.createElement(L.L,{className:"text-muted hover-text-underline cursor-pointer",onClick:e.onClickReset},r.createElement(s.x,{namespace:T,phrase:"reset"})):r.createElement("div",{className:"invisible"}),r.createElement(L.L,{className:"info-link",onClick:e.onClickApply},r.createElement(s.x,{namespace:T,phrase:"apply"})))}N.defaultProps={active:!1,className:""};var j=(0,r.createContext)(null);function I(e,t){return"update"===t.type?t.payload:e}var R=n(53808),_=n(31647),x=n(52076);function P(e){return i().createElement("h3",{className:"h6 mb-2"},e.title)}var F=n(39023);function D(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function q(e){var t,n=Le.displayTwoColumns(e.filter),i=e.draftState.selection;return r.createElement(r.Fragment,null,r.createElement(P,{title:e.filter.name}),r.createElement(k.Form,{className:"mb-3"},(t=e.filter.options.map((function(t){var a=e.filter.disabled||t.disabled,o=!!e.draftState.selection.find((function(e){return e.id.toString()===t.id.toString()})),l=Array.isArray(t.id)?t.id.join("_"):t.id;return r.createElement(F.X,{key:l,label:t.name,name:l,id:l,onChange:function(){return function(t,n){if(n){var r=-1;i.find((function(e,n){r>-1||e.id.toString()===t.id.toString()&&(r=n)}));var a=[].concat(D(i.slice(0,r)),D(i.slice(r+1)));e.setDraftState({active:!!a.length,selection:a})}else{var o=D(i);o.push(t),e.setDraftState({active:!!o.length,selection:o})}}(t,o)},checked:!a&&o,className:"my-1 ".concat(n?"col-md-6 col-12":""),isLabelEllipsis:n,disabled:a})})),n?r.createElement("div",{className:"d-flex flex-wrap"},t):t)))}function U(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e){var t,n,i,a=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=U(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}(e.filter.options);try{var l=function(){var o,l=i.value,c=e.filter.disabled||l.disabled,s=null===(t=e.draftState.selection)||void 0===t?void 0:t.find((function(e){return(null==e?void 0:e.id)===l.id})),u=null!==(n=l.secondLayerOptions)&&void 0!==n?n:[],d=function(e,t){var n,r,i=(null===(n=null==e?void 0:e.secondLayerSelection)||void 0===n?void 0:n.length)>0,a=(null===(r=null==e?void 0:e.secondLayerSelection)||void 0===r?void 0:r.length)===t.length;return i&&!a}(s,u),f=!d&&!!s;a.push(r.createElement(F.X,{key:l.id,label:l.name,name:l.id,id:l.id,indeterminate:d,onChange:function(){return e.onToggleItem(l,f||d)},checked:!c&&f,className:"my-1",disabled:c})),Le.hasManyFilterOptions(u)&&a.push.apply(a,(o=u.map((function(t){var n,i=c||t.disabled,a=!!(null===(n=null==s?void 0:s.secondLayerSelection)||void 0===n?void 0:n.find((function(e){return e.id===t.id})));return r.createElement(F.X,{key:t.id,label:t.name,name:t.id,id:t.id,onChange:function(){return e.onToggleChildItem(t,a,l)},checked:!i&&a,className:"my-1 ms-3",disabled:i})})),function(e){if(Array.isArray(e))return M(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||U(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))};for(o.s();!(i=o.n()).done;)l()}catch(e){o.e(e)}finally{o.f()}return r.createElement(r.Fragment,null,a)}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function X(e){var t,n,i,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}(e.filter.options);try{var o,l=function(){var a=i.value,o=e.filter.disabled||a.disabled,l=null===(t=e.draftState.selection)||void 0===t?void 0:t.find((function(e){return(null==e?void 0:e.id)===a.id})),c=(null!==(n=a.secondLayerOptions)&&void 0!==n?n:[]).map((function(t){var n,i=o||t.disabled,c=!!(null===(n=null==l?void 0:l.secondLayerSelection)||void 0===n?void 0:n.find((function(e){return e.id===t.id})));return r.createElement(F.X,{key:t.id,label:t.name,name:t.id,id:t.id,onChange:function(){return e.onToggleChildItem(t,c,a)},checked:!i&&c,className:"my-1",disabled:i})}));return{v:r.createElement(r.Fragment,null,c)}};for(a.s();!(i=a.n()).done;)if(o=l())return o.v}catch(e){a.e(e)}finally{a.f()}}function Y(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function W(e){var t=e.filter.options;function n(t,n,r){var i,a,o=e.draftState.selection,l=o.findIndex((function(e){return e.id===r.id}));if(!n){var c=[].concat(Y(null!==(a=null===(i=o[l])||void 0===i?void 0:i.secondLayerSelection)&&void 0!==a?a:[]),[t]);if(0===o.length||-1===l){var s=Object.assign(Object.assign({},r),{secondLayerSelection:c}),u=[].concat(Y(o),[s]);return void e.setDraftState({active:!!u.length,selection:u})}if(-1!==l){var d=o.map((function(e){return e.id===r.id?Object.assign(Object.assign({},e),{secondLayerSelection:c}):e}));return void e.setDraftState({active:!!d.length,selection:d})}}var f=o.map((function(e){if(e.id===r.id){var n=C.m.removeItem(e.secondLayerSelection,t);return Object.assign(Object.assign({},r),{secondLayerSelection:n})}return e}));0===f[l].secondLayerSelection.length&&(f=C.m.removeItem(f,r)),e.setDraftState({active:!!f.length,selection:f})}return r.createElement(r.Fragment,null,r.createElement(P,{title:e.filter.name}),r.createElement(k.Form,{className:"mb-3"},Le.hasManyFilterOptions(t)?r.createElement(V,Object.assign({onToggleItem:function(n,r){var i,a=e.draftState.selection,o=a.findIndex((function(e){return e.id===n.id}));if(!r){var l=null===(i=null==t?void 0:t.find((function(e){return e.id===n.id})).secondLayerOptions)||void 0===i?void 0:i.filter((function(e){return!e.disabled})),c=Object.assign(Object.assign({},n),{secondLayerSelection:l});if(0===a.length||-1===o){var s=[].concat(Y(a),[c]);return void e.setDraftState({active:!0,selection:s})}if(-1!==o){var u=a.map((function(e){return e.id===n.id?c:e}));return void e.setDraftState({active:!!u.length,selection:u})}}var d=C.m.removeItemFromIndex(a,a.findIndex((function(e){return e.id===n.id})));e.setDraftState({active:!!d.length,selection:d})},onToggleChildItem:n},e)):r.createElement(X,Object.assign({onToggleChildItem:n},e))))}var H=n(9063);function z(e){var t=e.draftState.active;return r.createElement(r.Fragment,null,r.createElement(P,{title:e.filter.name}),r.createElement("div",{className:"d-flex align-items-start justify-content-between"},r.createElement("p",{className:"d-inline-block w-75"},e.filter.description),r.createElement(H.Z,{disabled:e.filter.disabled,onClick:function(){e.setDraftState({active:!t})},on:t})))}function $(e){return i().createElement(i().Fragment,null,e.filter.options.map((function(t){return i().createElement(k.Dropdown.Item,{key:t.id,onClick:function(){return function(t){e.setDraftState({active:!t.default,selection:[t]})}(t)},disabled:e.filter.disabled||t.disabled},t.name)})))}function K(e){return r.createElement(r.Fragment,null,r.createElement(P,{title:e.filter.name}),r.createElement(k.Form,{className:e.isOnMoreFilters?"d-flex flex-wrap":""},e.filter.options.map((function(t){var n,i=e.filter.disabled||t.disabled,a=(null===(n=C.m.first(e.draftState.selection))||void 0===n?void 0:n.id.toString())===t.id.toString();return r.createElement(k.Form.Check,{key:t.id,type:"radio",label:t.name,name:t.id,id:t.id,value:t.id,onChange:function(){return function(t){e.setDraftState({active:!t.default,selection:[t]})}(t)},checked:!i&&a,className:"".concat("B3rOI"," ").concat(e.isOnMoreFilters?"w-50":""),disabled:i})}))))}var Z=n(63946),J=n(32557);function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ne=a.T.encloseNamespace("shared.ratingRangeSelector");function re(e){var t=ee((0,J.X)({delay:1}),2),n=t[0],r=t[1];if(i().useEffect((function(){e.onHover(r?e.rating:null,e.isRatingValid)}),[r]),!e.rating.code)return i().createElement(i().Fragment,null);var a=i().createElement(L.L,{ref:n,className:e.getButtonClasses(e.rating,e.isActive,r,e.isRatingValid),onClick:e.onClick,disabled:e.disabled},e.rating.code);return e.disabled?a:i().createElement(Z.u,{title:e.isRatingValid?e.rating.name:ne("invalidRating"),spanHack:!0},a)}function ie(e){var t=ee(i().useState(!1),2),n=t[0],r=t[1],a=ee(i().useState([]),2),o=a[0],l=a[1];function c(t){return e.ratings.filter((function(e){return e.code&&e.value<=t.value}))}function s(t,n){t&&!e.isDisabled(t)?(n&&l(c(t)),r(n)):l([])}function u(t){return o.length?!!o.find((function(e){return e.id===t.id})):!!e.selections.find((function(e){return e.id===t.id}))}function d(t){if(!t)return!1;var n=e.yearGroups.findIndex((function(t){return t.value===e.yearGroup.value}));return 0===n||e.yearGroups.slice(0,n).every((function(e){return t.value>=e.rating.value}))}return i().createElement("div",null,i().createElement(k.ButtonGroup,null,e.ratings.map((function(t){var r;return i().createElement(re,{key:t.id,rating:t,isRatingValid:!e.yearGroup||d(t),onClick:function(){return function(t){if(n){var r=c(t);e.onSelectRange(r)}}(t)},onHover:s,isActive:u(t),disabled:e.disabled||(null===(r=e.isDisabled)||void 0===r?void 0:r.call(e,t)),getButtonClasses:e.getButtonClasses})}))))}ie.defaultProps={selections:[]};function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oe(e){var t,n,i=e.filter.options,a=i.filter((function(e){return e.code})),o=(t=a,n=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],l=a[a.length-1];return r.createElement(r.Fragment,null,r.createElement(P,{title:e.filter.name}),r.createElement("div",{className:"mb-2"},r.createElement(ie,{ratings:i,selections:e.draftState.selection,onSelectRange:function(t){e.setDraftState({active:!!t.length,selection:t})},disabled:e.filter.disabled,isDisabled:function(e){return e.disabled},getButtonClasses:function(e,t,n){var r="btn border text-nowrap";return r+=t||n?" btn-dark":" btn-outline-dark",n&&(r+=" active"),1===a.length?r+=" rounded":o.id===e.id?r+=" sLa86":l.id===e.id?r+=" xDcnT":r+=" rounded-0",r}})))}var le,ce="filters.",se=n(50028);!function(e){e.CLICKVIEW_CURATED="is_clickview_curated",e.MOVIES_AND_TV="is_movies_and_tv"}(le||(le={}));var ue,de,fe,me,ve,pe=n(75459);n(11306),n(79410),n(56285),n(1268),n(74483),n(46237),n(38182),n(83891),function(e){e.Online="online",e.Primary="primary",e.Curator="curator"}(ue||(ue={})),n(52086),i().createContext({}),function(e){e[e.Unknown=0]="Unknown",e[e.Staff=1]="Staff",e[e.Learner=2]="Learner",e[e.MasterVideo=3]="MasterVideo"}(de||(de={})),function(e){e.YearGroupRollover="year-group-rollover",e.ChangeYearGroup="change-year-group",e.DeleteUser="delete-user",e.RemoveUser="remove-user",e.DeactivateUser="deactivate-user",e.ActivateUser="activate-user",e.AddToClassroom="add-to-classroom",e.ResetPassword="reset-password",e.SendResetPasswordEmail="send-reset-password-email",e.SendAccountActivationEmail="send-account-activation-email",e.CreateUser="create-user",e.AddToAudience="add-to-audience",e.AddToBackboneClassification="add-to-backbone-classification",e.AddToBackboneAudience="add-to-backbone-audience",e.AddToClassification="add-to-classification",e.AddToSeries="add-to-series",e.AddToDirector="add-to-director",e.AddToDistributor="add-to-distributor",e.AddToProductionCompany="add-to-production-company",e.AddToProducer="add-to-producer",e.AddToLibrary="add-to-library",e.AddToCurationTag="add-to-curation-tag",e.AddToSkillTag="add-to-skill-tag",e.AddToPedagogyTag="add-to-pedagogy-tag",e.AddToNormalTag="add-to-normal-tag",e.AddToHiddenTag="add-to-hidden-tag",e.AddResourceAndLink="add-resource-and-link"}(fe||(fe={})),function(e){e[e.NoAction=1]="NoAction",e[e.Succeed=1]="Succeed",e[e.Unknown=10]="Unknown",e[e.CustomerNotFound=100]="CustomerNotFound",e[e.UserNotFound=101]="UserNotFound",e[e.EmailNotVerified=131]="EmailNotVerified",e[e.UserDisabled=133]="UserDisabled",e[e.InvalidYearGroup=200]="InvalidYearGroup",e[e.MissingYearGroup=201]="MissingYearGroup",e[e.NewYearGroupNotSet=202]="NewYearGroupNotSet",e[e.ObjectNotFoundInBackboneClassification=300]="ObjectNotFoundInBackboneClassification",e[e.ObjectNotFoundInBackboneAudience=301]="ObjectNotFoundInBackboneAudience"}(me||(me={})),function(e){e[e.RolloverYearGroup=1]="RolloverYearGroup",e[e.DeactivateUser=2]="DeactivateUser",e[e.ChangeYearGroup=3]="ChangeYearGroup",e[e.DeleteUser=4]="DeleteUser",e[e.CreateUser=5]="CreateUser",e[e.ResetPassword=6]="ResetPassword",e[e.AddUsersClassroom=7]="AddUsersClassroom",e[e.SendAccountReminderEmail=8]="SendAccountReminderEmail",e[e.ActivateUser=9]="ActivateUser",e[e.AddToBackboneClassification=10]="AddToBackboneClassification",e[e.AddToClassification=11]="AddToClassification",e[e.AddToBackboneAudience=12]="AddToBackboneAudience",e[e.AddToAudience=13]="AddToAudience",e[e.AddVideosSeries=14]="AddVideosSeries",e[e.AddVideosDistributor=15]="AddVideosDistributor",e[e.AddVideosProductionCompany=16]="AddVideosProductionCompany",e[e.AddVideosProducer=17]="AddVideosProducer",e[e.AddVideosDirector=18]="AddVideosDirector",e[e.AddVideosLibrary=19]="AddVideosLibrary",e[e.AddVideosResourceAndLinks=21]="AddVideosResourceAndLinks",e[e.AddVideosTag=22]="AddVideosTag",e[e.SendAccountActivationEmail=23]="SendAccountActivationEmail",e[e.RemoveUser=24]="RemoveUser"}(ve||(ve={})),n(74421),n(84868),a.T.encloseNamespace("userManager.utils");var ye=(a.T.encloseNamespace("sharedSearch.utils"),function(e){switch(e){case"bite-sized":return"...179999";case"short":return"180000...299999";case"medium":return"300000...899999";case"long":return"900000..."}}),ge=(a.T.encloseNamespace("sharedSearch.utils"),function(e){var t=(new Date).getFullYear();switch(e){case"any-year":return"";case"this-year":return"".concat(t,"...");case"last-3-years":return"".concat(t-3,"...");case"last-5-years":return"".concat(t-5,"...")}});function be(e,t){return e.split("-to-").map((function(e){return t.find((function(t){return t.code===e}))}))}function he(e){return he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},he(e)}function Ee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==he(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==he(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===he(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Oe(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function Ae(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Oe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var we=a.T.encloseNamespace("sharedSearch.utils"),ke={classification:!0,categoryId:!0,channel:!0},Le={displayTwoLayers:function(e){var t=this;return"nested-checkbox"===e.type&&!!this.hasManyFilterOptions(e.options)&&!e.options.every((function(e){return!t.hasManyFilterOptions(null==e?void 0:e.secondLayerOptions)}))},hasManyFilterOptions:function(e){return e.length>=2},displayTwoColumns:function(e){var t;return ke[e.id]&&(null===(t=e.options)||void 0===t?void 0:t.length)>=10},showPresentationFilter:function(e){var t,n;return!!(null===(t=e.options)||void 0===t?void 0:t.length)&&(e.options.length>1||!!(null===(n=C.m.first(e.options).secondLayerOptions)||void 0===n?void 0:n.length))},getMoreFilters:function(e){return{id:"moreFilters",name:we("moreFilters"),type:"more-filters",filters:e}},mapTypeToComponent:function(e){switch(e){case"switch":return function(e){return r.createElement(z,Object.assign({key:e.id},e))};case"checkbox":return function(e){return r.createElement(q,Object.assign({key:e.id},e))};case"nested-checkbox":return function(e){return r.createElement(W,Object.assign({key:e.id},e))};case"radio":return function(e){return r.createElement(K,Object.assign({key:e.id},e))};case"rating":return function(e){return r.createElement(oe,Object.assign({key:e.id},e))};case"dropdown":return function(e){return r.createElement($,Object.assign({key:e.id},e))};default:return function(){return r.createElement(r.Fragment,null)}}},deriveInitialStateFromQuery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i={sort:{active:!!e.sort,selection:Te(e,t,"sort")},classification:{active:!!e.classification,selection:Te(e,t,"classification")},presentation:{active:!!e.presentation,selection:Te(e,t,"presentation")},type:{active:!!e.type,selection:Te(e,t,"type")},rating:{active:!!e.rating,selection:Te(e,t,"rating")},interactives:{active:e.interactives},clips:{active:e.clips},yearGroup:{active:!!e.yearGroup,selection:Te(e,t,"yearGroup")},moviesAndTv:{active:!!e.moviesAndTv},classroom:{active:!!e.classroom,selection:Te(e,t,"classroom")},audience:{active:!!e.audience,selection:Te(e,t,"audience")},hasResources:{active:e.hasResources},hasSubtitles:{active:e.hasSubtitles},productionYear:{active:!!e.productionYear,selection:Te(e,null==n?void 0:n.filters,"productionYear")},isHd:{active:e.isHd},producedByClickView:{active:e.producedByClickView},duration:{active:e.duration,selection:Te(e,null==n?void 0:n.filters,"duration")},tagOrClassification:{active:!!e.tagOrClassification,selection:Te(e,t,"tagOrClassification")},status:{active:!!e.status,selection:Te(e,t,"status")},isAdmin:{active:e.isAdmin},bulkActionType:{active:!!e.bulkActionType,selection:Te(e,t,"bulkActionType")},userType:{active:!!e.userType,selection:Te(e,t,"userType")},filter:{active:!!e.filter,selection:Te(e,t,"filter")},channel:{active:!!e.channel,selection:Te(e,t,"channel")},dateBroadcast:{active:!!e.dateBroadcast,selection:Te(e,t,"dateBroadcast")},categoryId:{active:!!e.categoryId,selection:Te(e,t,"categoryId")}},a=t.reduce((function(e,t){return e[t.id]=i[t.id],e}),{});return(null==n?void 0:n.filters)&&(a.moreFilters=n.filters.reduce((function(e,t){return e[t.id]=i[t.id],e}),{})),a.appLink=r,a},hasActiveFilters:function(e){var t=Object.keys(e);return!!t.length&&!!t.filter((function(t){return"query"!==t&&"cursor"!==t&&"page"!==t&&!(Array.isArray(e[t])&&!e[t].length)})).length},getLabel:function(e,t){var n,r;if(!(null===(n=t.selection)||void 0===n?void 0:n.length))return e.name;if("dropdown"===e.type)return C.m.first(t.selection).name;if("radio"===e.type){var i=C.m.first(t.selection);return!i||i.default?e.name:i.name}if("nested-checkbox"===e.type||"checkbox"===e.type){var a=e.options.find((function(e){return e.default&&t.selection.find((function(t){return t.id===e.id}))}));if(a)return e.name;if(e.secondaryId){var o=null===(r=t.selection)||void 0===r?void 0:r.reduce((function(t,n){var r,i,a,o=e.options,l=o.findIndex((function(e){return e.id===n.id}));return 0===(null===(r=o[l].secondLayerOptions)||void 0===r?void 0:r.length)?t+1:null!==(a=t+(null===(i=n.secondLayerSelection)||void 0===i?void 0:i.length))&&void 0!==a?a:0}),0);return"".concat(e.name," - ").concat(o)}return"".concat(e.name," - ").concat(t.selection.length)}if("rating"===e.type){if(!t.selection.length)return e.name;var l=C.m.first(t.selection),c=C.m.last(t.selection);return 1===t.selection.length?"".concat(e.name,": ").concat(l.code):"".concat(e.name,": ").concat(l.code," to ").concat(c.code)}},buildFrontendFilterParams:function(e,t){var n=Object.assign({},e);return t.forEach((function(e){var t,r;if(null==e?void 0:e.filter){var i=e.filter,a=i.id,o=i.type,l=e.state,c=l.active,s=l.selection;switch(o){case"switch":case"button":n[a]=c?"true":"";break;case"radio":case"dropdown":var u=1===(null===(t=e.state.selection)||void 0===t?void 0:t.length)&&(null===(r=C.m.first(e.state.selection))||void 0===r?void 0:r.default);n[a]=e.state.selection.length&&!u?C.m.first(e.state.selection).id:"";break;case"nested-checkbox":n[a]=c?s.map((function(e){return e.id})):null;var d,f=e.filter.secondaryId;f&&(n[f]=(d=[]).concat.apply(d,Ae(s.map((function(e){return e.secondLayerSelection.map((function(e){return e.id}))})))));break;case"checkbox":if(!c){n[a]=null;break}var m,v=[],p=Se(s);try{for(p.s();!(m=p.n()).done;){var y=m.value,g=y.id.toString().split(":");if(g.length>1){var b,h=Se(g);try{for(h.s();!(b=h.n()).done;){var E=b.value;v.push(E)}}catch(e){h.e(e)}finally{h.f()}}else v.push(y.id)}}catch(e){p.e(e)}finally{p.f()}n[a]=v;break;case"tag":n[a]=c?s.map((function(e){return e.id})):null;break;case"rating":n[a]=c?function(e){if(!(null==e?void 0:e.length))return"";var t=C.m.first(e),n=C.m.last(e);return 1===e.length?t.code:"".concat(t.code,"-to-").concat(n.code)}(s):null}n[a]||delete n[a]}})),w.t.omit(n,["cursor"])},buildBackendFilterParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,i={query:!0,type:!0},a=n?Ee(Ee({},"filters.presentation",arguments.length>2?arguments[2]:void 0),"isLearner",n):{};return r&&(a["".concat(ce,"library")]=r.filter((function(e){return e.type!==pe.r.Exchange&&e.status===se.X.Published})).map((function(e){return e.id}))),Object.keys(e).reduce((function(n,r){if(i[r])return n;var a=e[r];return Array.isArray(a)&&!a.length||!a?n:"rating"===r?(n["".concat(ce).concat(r)]=function(e,t){var n=be(e,t);if(1===n.length){var r=C.m.first(n);return"0...".concat(r.value)}var i=C.m.last(n);return"0...".concat(i.value)}(a,t),n):"productionYear"===r?(n["".concat(ce).concat(r)]=ge(a),n):"duration"===r?(n["".concat(ce).concat(r)]=ye(a),n):"moviesAndTv"===r?(n["".concat(ce,"curationTag")]=le.MOVIES_AND_TV,n):(n["".concat(ce).concat(r)]=a,n)}),a)},getAppliedIndices:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type;if(e){if(!Array.isArray(e))return[e];if(e.length)return e}return["series","video","playlist","classification","clip","interactive","company"]},applyFilter:function(e,t,n,r){if(!w.t.isEqual(t,n)){var i=Object.keys(n).map((function(t){var r,i,a=e.find((function(e){return e.id===t})),o=n[t],l=1===(null===(r=o.selection)||void 0===r?void 0:r.length)&&(null===(i=C.m.first(o.selection))||void 0===i?void 0:i.default);return{filter:a,state:{active:o.active&&!l,selection:o.selection}}})),a=_.Q.Ab.GetQuery();_.Q.C$.trigger(Object.assign(Object.assign({},r),{params:Le.buildFrontendFilterParams(a,i)}),{replace:!0})}},mixinDisabledFields:function(e,t,n,r){var i,a=[].concat(Ae(n),Ae(null!==(i=null==r?void 0:r.filters)&&void 0!==i?i:[]));a=function(e,t,n){var r=n.reduce((function(e,t){return e[t]=!0,e}),{});return t.map((function(n){var i;if(!(null===(i=n.compatibleIndices)||void 0===i?void 0:i.length))return n;if(!n.compatibleIndices.find((function(e){return r[e]})))return Object.assign(Object.assign({},n),{disabled:!0});var a=Object.keys(e).filter((function(t){var n=e[t];return"active"in n&&n.active})),o=!1;return a.forEach((function(e){var r;if(!o){var i=t.find((function(t){return t.id===e}));if(null===(r=i.compatibleIndices)||void 0===r?void 0:r.length){var a=i.compatibleIndices.reduce((function(e,t){return e[t]=!0,e}),{});n.compatibleIndices.find((function(e){return a[e]}))||(o=!0)}}})),Object.assign(Object.assign({},n),{disabled:o})}))}(e,a,t),a=function(e,t){return t.map((function(n){if(!R.q.isFunction(n.disableOptions))return n;var r=n.disableOptions(n.options,t,e);return Object.assign(Object.assign({},n),{options:r})}))}(e,a);var o={mainFilters:a.filter((function(e){return n.find((function(t){return t.id===e.id}))}))};return(null==r?void 0:r.filters)&&(o.moreFilters=Object.assign(Object.assign({},r),{filters:a.filter((function(e){return r.filters.find((function(t){return t.id===e.id}))}))})),o},logFilterEvent:function(e,t,n,r,i){var a,o=[];null==e||e.forEach((function(e){var t=n[e.id];t.active&&o.push({type:e.id,selection:t.selection})})),null===(a=null==t?void 0:t.filters)||void 0===a||a.forEach((function(e){var t=n.moreFilters[e.id];t.active&&o.push({type:e.id,selection:t.selection})})),o.length||(i.descriptor=O.OR.Reset),x.k.logUserAction({query:null!=r?r:"",filters:o},x.k.mergeOptions(i,{workflowPhase:O.eu.Complete,actionType:O.Vw.Filter}))},getObjectTypeOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[{id:"classification",name:we("topics")},{id:"playlist",name:we("playlists")},{id:"series",name:we("series")},{id:"video",name:we("videos")},{id:"clip",name:we("clips")},{id:"interactive",name:we("interactives")}].filter((function(t){return!e.find((function(e){return e===t.id}))}))},getIsObjectTypeOptionDisabled:function(e,t,n){return e.map((function(e){var r=!1;return t.forEach((function(t){var i;if(!r){var a=n[t.id]||n.moreFilters[t.id];(null==a?void 0:a.active)&&(null===(i=t.compatibleIndices)||void 0===i?void 0:i.length)&&(t.compatibleIndices.find((function(t){return e.id===t}))||(r=!0))}})),Object.assign(Object.assign({},e),{disabled:r})}))},getNameSortOptions:function(){return[{id:"newest",name:we("newest")},{id:"oldest",name:we("oldest")},{id:"first-name-atoz",name:we("firstNameAToZ")},{id:"first-name-ztoa",name:we("firstNameZToA")},{id:"surname-atoz",name:we("surnameAToZ")},{id:"surname-ztoa",name:we("surnameZToA")}]},getYearGroupOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.value.toString(),name:e.name}})):[]},getStatusOptions:function(){return[{id:"active",name:we("active")},{id:"deactivated",name:we("deactivated")},{id:"pending",name:we("pending")}]},getTvFieldsOptions:function(){return[{id:"0",name:we("allFields"),default:!0},{id:"1",name:we("titleDescriptionField")},{id:"2",name:we("captionsField")}]},getTvChannelOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.name,name:e.name}})):[]},getTvDateBroadcastOptions:function(){return[{id:"any-time",name:we("anyTime"),default:!0},{id:"yesterday",name:we("yesterday")},{id:"last-week",name:we("lastWeek")},{id:"last-2-weeks",name:we("last2Weeks")}]},getCategoriesOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.data.id,name:e.data.name}})):[]}};function Te(e){var t,n,r=arguments.length>2?arguments[2]:void 0,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).find((function(e){return e.id===r}));if(!i)return[];if(!e[r])return null!==(n=null===(t=i.options)||void 0===t?void 0:t.filter((function(e){return e.default})))&&void 0!==n?n:[];if("rating"===r)return function(e,t){if(Array.isArray(e))return e;var n=t.options,r=be(e,n),i=C.m.last(r);return n.filter((function(e){return e.value>0&&e.value<=i.value}))}(e[r],i);var a=e[r];return Array.isArray(a)||(a=[a]),"classification"===r?function(e,t){var n,r;return null!==(r=null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.filter((function(e){return e.id.split(":").every((function(e){return t.find((function(t){return t.toString()===e.toString()}))}))})))&&void 0!==r?r:[]}(i,a):"presentation"===r?function(e,t,n){return Ne(e,t).map((function(e){var t=n.audience,r=Ne(e.secondLayerOptions,t);return Object.assign(Object.assign({},e),{secondLayerSelection:r})}))}(i.options,a,e):Ne(i.options,a)}function Ne(e,t){var n;return Array.isArray(t)||(t=[t]),null!==(n=null==e?void 0:e.filter((function(e){return t.find((function(t){return t.toString()===e.id.toString()}))})))&&void 0!==n?n:[]}var je={hideCaret:"KDq7l",filterMenu:"E9o_Q",twoColumnsWidth:"C70vU",nestedCheckboxesWidth:"kUHcg",switchWidth:"bi1FH",moreFiltersWidth:"rbr22",svgContainer:"UwDMA"};function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xe(e){var t=r.useContext(j).state,n=t[e.filter.id],i="dropdown"===e.filter.type,a=Re(r.useState(e.filter.name),2),o=a[0],l=a[1],c=Re(r.useState(!1),2),s=c[0],u=c[1],d=Re(r.useState(n),2),f=d[0],m=d[1];function v(e){m(e),i&&p(e)}function p(){var r,i,a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;Le.applyFilter([e.filter],n,(r={},i=e.filter.id,a=o,(i=function(e){var t=function(e,t){if("object"!==Ie(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Ie(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ie(t)?t:String(t)}(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a,r),t.appLink)}r.useEffect((function(){l(Le.getLabel(e.filter,n)),m(n)}),[e.filter,n.selection]);var y,g=r.useMemo((function(){return e.filter.customComponent?e.filter.customComponent:Le.mapTypeToComponent(e.filter.type)}),[e.filter.type]),h=i?"":je.hideCaret,E=(y=e.filter,Le.displayTwoColumns(y)?je.twoColumnsWidth:"classification"===y.id?je.classificationWidth:Le.displayTwoLayers(y)?je.nestedCheckboxesWidth:"switch"===y.type?je.switchWidth:"");return"button"===e.filter.type?r.createElement(g,{filter:e.filter,draftState:f,setDraftState:v}):r.createElement(k.Dropdown,{onToggle:function(e){u(e),e||i||p()},show:s},r.createElement(k.Dropdown.Toggle,{id:"filterButton-".concat(e.filter.id),className:"".concat("fw-semibold mx-1 btn d-flex align-items-center"," ").concat(h),variant:n.active&&!i?"dark":"outline-dark",disabled:e.filter.disabled},!!e.filter.icon&&r.createElement("div",{className:je.svgContainer},r.createElement(b.x,{svgName:e.filter.icon})),o),r.createElement(k.Dropdown.Menu,null,r.createElement("div",{className:"mx-1 ".concat(je.filterMenu," ").concat(E," ").concat(i?"":"px-2 py-1")},r.createElement(g,{filter:e.filter,draftState:f,setDraftState:v}),!i&&!e.filter.disabled&&r.createElement(N,{active:f.active,onClickReset:function(){var t,n=null===(t=e.filter.options)||void 0===t?void 0:t.find((function(e){return e.default}));m({active:!1,selection:n?[n]:[]})},onClickApply:function(){p(),u(!1)}}))))}function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}var Fe={getSetStateByKey:function(e,t,n){return function(r){return e((function(e){var i=R.q.isFunction(n)?n:R.q.useIdentity();return Object.assign(Object.assign({},e),function(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Pe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Pe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,i(r,e)))}))}}};function De(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Be(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Be(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Be(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qe(e){return Object.keys(e).reduce((function(t,n){return e[n].active?t+1:t}),0)}function Ue(e){var t=r.useContext(j).state,n=t.moreFilters,i=De(r.useState(e.filter.name),2),a=i[0],o=i[1],l=De(r.useState(!1),2),c=l[0],s=l[1],u=De(r.useState(n),2),d=u[0],f=u[1],m=De(r.useState(qe(n)),2),v=m[0],p=m[1],y=Object.keys(n).map((function(e){return"".concat(e,":").concat(n[e].active)})).join("-");function g(){Le.applyFilter(e.filter.filters,n,d,t.appLink)}r.useEffect((function(){f(n),p(qe(n))}),[e.filter,y]),r.useEffect((function(){o(v?"".concat(e.filter.name," - ").concat(v):e.filter.name)}),[v]);var b="fw-semibold ".concat(je.hideCaret," mx-1 btn");return r.createElement(k.Dropdown,{onToggle:function(e){s(e),e||g()},show:c},r.createElement(k.Dropdown.Toggle,{id:e.filter.id,className:b,variant:v?"dark":"outline-dark"},a),r.createElement(k.Dropdown.Menu,{onClick:function(e){return e.stopPropagation()}},r.createElement("div",{className:"mx-1 ".concat(je.moreFiltersWidth," ").concat("dropdown"!==e.filter.type?"px-2 py-1":"")},e.filter.filters.map((function(e){var t=e.customComponent?e.customComponent:Le.mapTypeToComponent(e.type);return r.createElement("div",{key:e.id,className:"mb-2"},r.createElement(t,{filter:e,draftState:d[e.id],setDraftState:Fe.getSetStateByKey(f,e.id),isOnMoreFilters:!0}))})),r.createElement(N,{active:!!Object.keys(d).find((function(e){return d[e].active})),onClickReset:function(){var t=Object.keys(n).reduce((function(t,n){var r,i=null===(r=e.filter.filters.find((function(e){return e.id===n})).options)||void 0===r?void 0:r.find((function(e){return e.default}));return t[n]={active:!1,selection:i?[i]:[]},t}),{});f(t)},onClickApply:function(){g(),s(!1)}}))))}var Me,Ve=n(91807),Ge=i().memo((function(e){var t=e.tagClass,n="partial-loading-background d-inline-block rounded-pill py-1 px-2 mb-1 me-1 text-nowrap ".concat(void 0===t?"":t," ").concat(Ve.Z.partialTag);return i().createElement("div",{className:"mt-1"},i().createElement("span",{className:n}," "))})),Xe=n(37360),Ye=n(49642);function Qe(e){return i().createElement(i().Fragment,null,!!e.name&&i().createElement(Ye.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":"")},i().createElement("h2",{className:"h4 curated-widget-heading"},e.name,!!e.appLink&&i().createElement(b.x,{svgName:h.vn.ChevronRight,size:b.S.Small}))),!!e.description&&i().createElement("p",{className:"description curated-widget-description"},i().createElement("span",{className:"clamp-2"},e.description)))}!function(e){e.Percentage="%",e.Pixels="px"}(Me||(Me={}));var We=new Image;We.src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";var He,ze=function(e){e.dataTransfer.setDragImage&&R.q.isFunction(e.dataTransfer.setDragImage)&&e.dataTransfer.setDragImage(We,0,0)},$e=Xe.V.isTouchScreen(),Ke=r.forwardRef((function(e,t){var n,i,a,o,l=e.children,c=e.positionType,s=e.onDrag,u=e.onDragEnd,d=e.onTouchMove,f=e.onTouchEnd,m=e.percentageDragged,v=e.position,p=void 0===v?0:v;return r.createElement("div",Object.assign({className:"d-flex flex-nowrap position-relative w-100",style:(i=p,a=c,o=m,a===Me.Percentage&&o&&(i-=o),{transform:"translate3d(".concat(i).concat(a,", 0px, 0px)"),transition:"transform .4s ease-in-out"}),ref:t},(n={},s&&u&&(n.draggable=!0,n.onDragEnd=u,n.onDragStart=ze,n.onDragOver=s),d&&f&&$e&&(n.onTouchMoveCapture=d,n.onTouchEndCapture=f),n)),l)})),Ze="VSAPU",Je="kgeXh";!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(He||(He={}));var et,tt=r.memo((function(e){var t,n,i,a=e.direction===He.Left,o=a?h.vn.ChevronLeft:h.vn.ChevronRight;return e.hide?r.createElement(r.Fragment,null):r.createElement("div",{className:"_ejId",style:"videos"===(null===(n=e.state)||void 0===n?void 0:n.contents)?{paddingBottom:56.25/(null===(i=e.state)||void 0===i?void 0:i.viewableItems)+"%"}:{height:"100%"}},e.useGradientBackdrop&&r.createElement("div",{className:a?"".concat("Pt3nx"," ").concat(e.leftGradientClassName):"".concat("ZuAif"," ").concat(e.rightGradientClassName)}),!e.hideExtendedClickableArea&&r.createElement("div",{role:"button",onClick:e.onClick,className:"".concat("AtsWP"," ").concat(a?Ze:Je)}),r.createElement("div",{role:"button",className:"".concat((t="BVcIS",t+=a?" ".concat(Ze," ").concat(e.leftButtonClassName):" ".concat(Je," ").concat(e.rightButtonClassName))," ").concat("gAsE9"," ").concat(e.className||""),onClick:e.onClick},e.hoverText&&r.createElement("span",{className:"ps-3 pe-2 ".concat("APA36")},e.hoverText),r.createElement(b.x,{svgName:o,size:b.S.Medium,className:"svg-container d-inline-block ".concat("Ev4hr")})))}));!function(e){e.Init="init",e.Next="next",e.Previous="previous",e.Resize="resize",e.Drag="drag",e.Update="update",e.JumpToIndex="jump-to-index"}(et||(et={}));var nt=n(90547),rt=n(5256),it=n(29267);function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ot,lt,ct,st=n(89146);!function(e){e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived"}(ot||(ot={})),function(e){e.ThumbnailHeroMedia="thumbnail_hero_media",e.ThumbnailFeaturedMedia="thumbnail_featured_media",e.ThumbnailSlidingListSmall="thumbnail_sliding_list_small",e.ThumbnailSlidingListLarge="thumbnail_sliding_list_large",e.CoverSlidingPillListSmall="cover_sliding_pill_list_small",e.CoverFixedPillListLarge="cover_fixed_pill_list_large",e.CoverFixedPillListXSmall="cover_fixed_pill_list_xsmall",e.CoverFixedTileList="cover_fixed_tile_list",e.PosterSlidingListLarge="poster_sliding_list_large",e.PosterSlidingListMedium="poster_sliding_list_medium",e.PosterSlidingListSmall="poster_sliding_list_small",e.FeaturedThumbnailSlidingList="featured_thumbnail_sliding_list",e.HeroBanner="hero_banner",e.HeroBannerSmall="hero_banner_small",e.HeroThumbnailSmall="hero_thumbnail_small",e.ThumbnailFixedListXLarge="thumbnail_fixed_list_xlarge",e.ThumbnailFixedListLarge="thumbnail_fixed_list_large",e.ThumbnailFixedListSmall="thumbnail_fixed_list_small",e.EditableCoverFixedPillListSmall="editable_cover_fixed_pill_list_small",e.Heading="heading",e.ThumbnailFixedListMediaLarge="thumbnail_fixed_list_media_large",e.PopoutThumbnailSlidingListLarge="popout_thumbnail_sliding_list_large",e.PopoutThumbnailSlidingListSmall="popout_thumbnail_sliding_list_small",e.CircleLogoSlidingList="circle_logo_sliding_list",e.FilterSlidingPillListSmall="filter_sliding_pill_list_small",e.EventIconSlidingList="event_icon_sliding_list"}(lt||(lt={})),function(e){e.CuratedMedia="curated_media",e.PlaylistMedia="playlist_media",e.ClassificationMedia="classification_media",e.LatestReleasedVideos="latest_released_videos",e.ContinueWatching="continue_watching_videos",e.CuratedClassifications="curated_classifications",e.Classifications="classifications",e.ClassificationLatestReleasedVideos="classification_latest_released_videos",e.SpecialEventClassifications="special_event_classifications",e.CuratedSeries="curated_series",e.CuratedPlaylists="curated_playlists",e.Blurb="blurb",e.CuratedCompanies="curated_companies",e.Ratings="ratings",e.Presentations="presentations",e.ClassificationPlaylists="classification_playlists",e.ClassificationSeries="classification_series",e.ClassificationFeaturedVideo="classification_featured_video",e.ClassificationPinnedVideos="classification_pinned_videos"}(ct||(ct={}));var ut,dt=n(58447);function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.Draft="Draft",e.Published="Published",e.Archived="Archived"}(ut||(ut={}));var mt={getSliderAnalyticsOptions:function(){return{actionType:O.Vw.Click,location:O.LZ.SlidingList,entity:O.py.Widget,descriptor:O._S.Slide}},getSliderItemAnalyticsOptions:function(){return{location:O.LZ.SlidingListItem}},getSliderHeadingAnalyticsOptions:function(){return{actionType:O.Vw.Click,location:O.LZ.SlidingList,entity:O.py.Widget,descriptor:O._S.Title}},useGetContent:function(e,t){return i().useMemo((function(){var n;if(!e)return{content:null,unfilteredContent:null};if(!Array.isArray(e))return{content:e,unfilteredContent:e};var r,i=null!==(n=null==t?void 0:t.reduce((function(e,t){return e[t.id]=t,e}),{}))&&void 0!==n?n:{},a=function(e){if(Array.isArray(e))return ft(e)}(r=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=a.sort((function(e,t){var n,r,o,l,c=null!==(r=null===(n=i[e.id])||void 0===n?void 0:n.index)&&void 0!==r?r:a.findIndex((function(t){return t.id===e.id})),s=null!==(l=null===(o=i[t.id])||void 0===o?void 0:o.index)&&void 0!==l?l:a.findIndex((function(e){return e.id===t.id}));return c<s?-1:c>s?1:0}));return{content:o.filter((function(e){var t;return!(null===(t=i[e.id])||void 0===t?void 0:t.hidden)})),unfilteredContent:o}}),[e,t])},getCustomAppLink:function(e){var t,n,r,i,a,o;return(null===(t=e.metadata)||void 0===t?void 0:t.appLink)===dt.OL.LatestReleases?null===(r=null===(n=e.appLinks)||void 0===n?void 0:n.latestReleases)||void 0===r?void 0:r.call(n):(null===(i=e.metadata)||void 0===i?void 0:i.appLink)===dt.OL.ExploreAllTopics?null===(o=null===(a=e.appLinks)||void 0===a?void 0:a.allTopics)||void 0===o?void 0:o.call(a):null},getWidgetStatus:function(e){var t=e.status;if("string"==typeof t)switch(t){case ut.Archived:t=ot.Archived;break;case ut.Published:t=ot.Published;break;case ut.Draft:t=ot.Draft}return t},formatResponseData:function(e,t){var n=e.content;if(!n)return e;switch("data"in n?e.content=n.data:Array.isArray(n)||(e.content=[n]),e.widgetId){case ct.ClassificationSeries:e.content=e.content.filter((function(e){var t;return!!(null===(t=e.tallPoster)||void 0===t?void 0:t.id)}));break;case ct.ClassificationPlaylists:e.content=e.content.filter((function(e){var t;return!!(null===(t=e.cover)||void 0===t?void 0:t.id)}));break;case ct.ContinueWatching:e.content=e.content.map((function(e){return e.object}));default:break;case ct.Presentations:e.content=e.content.filter((function(e){var n;return e.id.toString()!==(null===(n=null==t?void 0:t.id)||void 0===n?void 0:n.toString())}))}return e},isWidgetInTableOfContents:function(e){return!!(null==e?void 0:e.showInTableOfContents)},hasNoContent:function(e){return e===ct.Blurb},canDisplayOnScreenSize:function(e,t,n){return t!==ct.Blurb||n!==lt.HeroBannerSmall||!e.xs&&!e.sm}},vt=function(e,t,n){return function(){e.container.current&&(e.container.current.style.transition=""),t({type:et.Resize,payload:{elementRefs:e,mediaQuery:n}})}},pt=function(e){return function(){e.current&&(e.current.style.transition="transform .4s ease-in-out")}},yt=function(e,t,n,r,i){return function(a){var o=a.clientX,l=r;l||(l=Object.assign(Object.assign({},t),{initialMouseX:o}),i(l),e.current.style.transition=""),n({type:et.Drag,payload:{widgetSnapshot:l,currentMouseX:o}})}},gt=function(e,t){return function(){e.current.style.transition="transform .4s ease-in-out",t(null)}};function bt(e){return e===nt.r.XS?200:e===nt.r.SM||e===nt.r.MD?350:500}var ht={offset:0,containerLeftPosition:null,containerRightPosition:null,firstElementPosition:null,lastElementPosition:null,hideLeftButton:!0,hideRightButton:!0,maxSlideDistance:0,leftOffsetLimit:null},Et=function(e){var t=e.elementRefs,n=t.container,r=t.lastElement;if(!(null==n?void 0:n.current)||!(null==r?void 0:r.current))return ht;var i=n.current.getBoundingClientRect(),a=i.left,o=i.right,l=a,c=r.current.getBoundingClientRect().right,s=o-c;return Object.assign(Object.assign({},ht),{containerLeftPosition:a,containerRightPosition:o,firstElementPosition:l,lastElementPosition:c,hideRightButton:c<o,leftOffsetLimit:s,maxSlideDistance:bt(e.mediaQuery)})},St=function(e){var t=Et(Object.assign(Object.assign({},e),e.elementRefs));return Object.assign(Object.assign({},t),{maxSlideDistance:bt(e.mediaQuery)})},At=function(e){var t=e.firstElementPosition,n=e.lastElementPosition,r=e.maxSlideDistance,i=e.offset,a=e.containerRightPosition,o=n-a>=r?r:n-a;return{firstElementPosition:t-o,lastElementPosition:n-o,offset:i-o,hideRightButton:n-o===a,hideLeftButton:!1}},Ot=function(e){var t=e.containerLeftPosition,n=e.firstElementPosition,r=e.lastElementPosition,i=e.maxSlideDistance,a=e.offset,o=n+i<=t,l=o?i:Math.abs(a);return{firstElementPosition:n+l,lastElementPosition:r+l,offset:a+l,hideLeftButton:!o||n+l===t,hideRightButton:!1}},Ct=function(e,t){var n=t.widgetSnapshot,r=t.currentMouseX;if(n.hideLeftButton&&n.hideRightButton)return{};var i=n.initialMouseX-r,a=n.offset-i,o=n.firstElementPosition-i,l=n.lastElementPosition-i,c=!1,s=!1;return o>e.containerLeftPosition&&(a=0,o=e.containerLeftPosition,l=e.lastElementPosition,c=!0),l<=e.containerRightPosition&&(a=e.leftOffsetLimit,o=e.containerLeftPosition-Math.abs(e.leftOffsetLimit),l=n.containerRightPosition,s=!0),{offset:a,firstElementPosition:o,lastElementPosition:l,hideLeftButton:c,hideRightButton:s}};function wt(e,t){switch(t.type){case et.Init:return Object.assign(Object.assign({},e),Et(t.payload));case et.Resize:return Object.assign(Object.assign({},e),St(t.payload));case et.Next:return Object.assign(Object.assign({},e),At(e));case et.Previous:return Object.assign(Object.assign({},e),Ot(e));case et.Drag:return Object.assign(Object.assign({},e),Ct(e,t.payload));default:return e}}var kt={itemSpacing:"fDc_6",mobileScroll:"aLSzv",leftGradient:"YheD1",leftButton:"ISepF",rightGradient:"i9XEE",rightButton:"OxM84"};function Lt(e){return function(e){if(Array.isArray(e))return jt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||Nt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nt(e,t){if(e){if("string"==typeof e)return jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jt(e,t):void 0}}function jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function It(e){var t,n,i,a,o,l,c,s=e.childComponent,u=e.staticChildren,d=e.getWidgetItemAnalyticsData,f=void 0===d?function(){}:d,m=Tt(r.useReducer(wt,ht),2),v=m[0],p=m[1],y=Tt(r.useState(null),2),g=y[0],b=y[1],h={container:r.useRef(null),firstElement:r.useRef(null),lastElement:r.useRef(null)},E=(t=(0,rt.a)(nt.r.XS),n=(0,rt.a)(nt.r.SM),i=(0,rt.a)(nt.r.MD),a=(0,rt.a)(nt.r.LG),o=(0,rt.a)(nt.r.XL),l=(0,rt.a)(nt.r.XXL),c=nt.r.LG,t&&(c=nt.r.XS),n&&(c=nt.r.SM),i&&(c=nt.r.MD),a&&(c=nt.r.LG),o&&(c=nt.r.XL),l&&(c=nt.r.XXL),c),S=Xe.V.isTabletOrMobile();!function(e,t){var n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=function(){e(),window.clearTimeout(n),n=window.setTimeout(t,100)};r.useEffect((function(){return window.addEventListener("resize",t?o:e),function(){return window.removeEventListener("resize",t?o:e)}}),function(e){if(Array.isArray(e))return at(e)}(i=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return at(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?at(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}(vt(h,p,E),pt(h.container),[E]);var A=(0,it.Y)({prevent:!e.lazyLoad}),O=A.ref,k=A.inView,L=e.collection;if(!e.collection&&R.q.isFunction(e.fetch)){var T=e.fetch(k);L=T.data}r.useEffect((function(){L&&!w.t.isEmpty(L)&&p({type:et.Init,payload:{elementRefs:h,mediaQuery:E}})}),[L]);var N=r.useMemo((function(){var t,n;if(L){var i=null!==(t=null==u?void 0:u.filter((function(e){return"start"===e.position})))&&void 0!==t?t:[],a=null!==(n=null==u?void 0:u.filter((function(e){return"end"===e.position})))&&void 0!==n?n:[],o=L.map((function(t,n){var o;t===C.m.first(L)&&(null==i?void 0:i.length)&&(o=h.firstElement),t!==C.m.last(L)||(null==a?void 0:a.length)||(o=h.lastElement);var l=n+1===L.length;return r.createElement("div",{key:t.id,ref:o,className:"".concat(kt.itemSpacing," ").concat(l&&S?"pe-4":"")},r.createElement(s,{getChildAppLink:e.getChildAppLink,data:t,getSubtitle:e.getSubtitle,analyticsData:Object.assign(Object.assign({itemIndex:n},e.analyticsData),f(t)),analyticsOptions:Object.assign(Object.assign({},null==e?void 0:e.analyticsOptions),mt.getSliderItemAnalyticsOptions())}))}));return i.length&&(o=[].concat(Lt(i.map((function(e,t){var n=e.component;return r.createElement("div",{key:"first-widget-component:".concat(t),ref:0===t?h.firstElement:null,className:kt.itemSpacing},r.createElement(n,null))}))),Lt(o))),a.length&&(o=[].concat(Lt(o),Lt(a.map((function(e,t){var n=e.component;return r.createElement("div",{key:"end-widget-component:".concat(t),ref:t===a.length-1?h.lastElement:null,className:kt.itemSpacing},r.createElement(n,null))}))))),r.createElement(r.Fragment,null,o)}}),[L]);if(L&&!L.length&&!(null==u?void 0:u.length))return r.createElement(r.Fragment,null);if(!L||w.t.isEmpty(L))return r.createElement("div",{ref:O},r.createElement(Rt,{partialLoadingComponent:e.partialLoadingComponent,partialLoadingOptions:e.partialLoadingOptions}));var j=function(t){return Object.assign(Object.assign({},e.analyticsData),{name:e.heading,direction:t===et.Next?"right":"left"})},I=S||e.hideButtons;return r.createElement("div",{className:"mx-n4"},r.createElement("div",{className:"px-4"},r.createElement(Qe,{name:e.heading,description:e.description,appLink:e.headingAppLink})),r.createElement("div",{className:"position-relative"},r.createElement("div",{className:"px-4 py-3 my-n3 position-relative ".concat(S?kt.mobileScroll:"overflow-hidden-x")},r.createElement("div",{className:"position-relative ".concat(e.hideButtons?"overflow-hidden-x":"")},!I&&r.createElement(tt,{direction:He.Left,onClick:function(){p({type:et.Previous}),x.k.logUserAction(j(et.Previous),mt.getSliderAnalyticsOptions())},leftButtonClassName:kt.leftButton,leftGradientClassName:kt.leftGradient,hide:v.hideLeftButton,useGradientBackdrop:!0}),r.createElement(Ke,{position:v.offset,positionType:Me.Pixels,onDrag:yt(h.container,v,p,g,b),onDragEnd:gt(h.container,b),ref:h.container},N),!I&&r.createElement(tt,{direction:He.Right,onClick:function(){p({type:et.Next}),x.k.logUserAction(j(et.Next),mt.getSliderAnalyticsOptions())},hide:v.hideRightButton,rightButtonClassName:kt.rightButton,rightGradientClassName:kt.rightGradient,useGradientBackdrop:!0})))))}It.defaultProps={heading:"",description:""};var Rt=function(e){var t=e.partialLoadingComponent,n=e.partialLoadingOptions;return r.createElement("div",{className:"d-flex flex-nowrap overflow-hidden"},st.u.getPartialLoadingItems(n).map((function(e,n){return r.createElement(t,{key:n})})))},_t=n(34564),xt={tagItem:"EcurS",selected:"FypfE"};function Pt(e){var t=e.selectedItems.find((function(t){return t.id===e.data.id}))?"".concat(xt.selected," text-info"):"bg-light";return i().createElement(_t.z,{tag:e.data,appLink:e.appLink,tagClass:"no-decoration ".concat(t," ").concat(xt.tagItem),onClick:function(){return e.onClick(e.data)}})}var Ft={tagItem:"j84HW"};function Dt(e){return Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dt(e)}function Bt(e){return function(e){if(Array.isArray(e))return qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ut(e){var t,n,r,a,o=i().useContext(j).state;if(!(null===(t=e.filter)||void 0===t?void 0:t.id))return i().createElement(i().Fragment,null);var l=o[e.filter.id],c=l.selection,s=null!==(a=null===(r=null===(n=e.filter)||void 0===n?void 0:n.options)||void 0===r?void 0:r.filter((function(e){return!(null==c?void 0:c.find((function(t){return t.id===e.id})))})))&&void 0!==a?a:[];function u(t){var n,r,i,a=null,s=-1;if(c.find((function(e,n){s>-1||e.id.toString()===t.id.toString()&&(s=n)})),s>=0){var u=[].concat(Bt(c.slice(0,s)),Bt(c.slice(s+1)));a={active:!!u.length,selection:u}}else a={active:!0,selection:c.concat(t)};Le.applyFilter([e.filter],l,(n={},r=e.filter.id,i=a,(r=function(e){var t=function(e,t){if("object"!==Dt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Dt(t)?t:String(t)}(r))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),o.appLink)}var d,f=[].concat(Bt(c),Bt(e.isFetching?[]:s));return i().createElement("div",{className:"py-2"},i().createElement("div",{className:(d="mb-3",f.length&&e.isFetching?d+=" mt-n1":f.length||e.isFetching||(d+=" d-none"),d)},(!!f.length||e.isFetching)&&i().createElement(It,{collection:f,childComponent:function(e){return i().createElement(Pt,Object.assign({},e,{selectedItems:c,onClick:u}))},staticChildren:e.isFetching?new Array(3).fill({component:function(){return i().createElement(Ge,{tagClass:Ft.tagItem})},position:"end"}):[],partialLoadingComponent:function(){return i().createElement("div",{className:"me-2"},i().createElement(Ge,{tagClass:"".concat(Ft.tagItem)}))}})))}function Mt(e){var t=r.useContext(j).state;return r.createElement(L.L,{onClick:function(){_.Q.C$.trigger(Object.assign(Object.assign({},t.appLink),{params:e.currentQueryParam?{query:e.currentQueryParam}:null}))},className:"hover-text-underline cursor-pointer d-flex align-items-center ms-2"},r.createElement(s.x,{namespace:"search.resetButton",phrase:"reset"}))}var Vt={partialFilterHeading:"O8f8H",partialButton:"ThKam",filtersContainer:"JIp3h"};function Gt(e){return function(e){if(Array.isArray(e))return Yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xt(e,t){if(e){if("string"==typeof e)return Yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yt(e,t):void 0}}function Yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qt(e){var t,n,i=e.queryParams,a=e.appLink,o=e.hideHeading,l=e.isFetchingOptions,c=e.constantIndices,u=void 0===c?[]:c,d=r.useMemo((function(){return Le.deriveInitialStateFromQuery(i,e.mainFilters,e.moreFilters,a)}),[i,l]),f=(t=r.useReducer(I,d),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(t,n)||Xt(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=f[0],v=f[1];r.useEffect((function(){w.t.isEqual(d,m)||(v({type:"update",payload:d}),e.analyticsOptions&&Le.logFilterEvent(e.mainFilters,e.moreFilters,d,i.query,e.analyticsOptions))}),[d]);var p=C.m.uniq([].concat(Gt(Le.getAppliedIndices(i)),Gt(u))),y=Le.mixinDisabledFields(m,p,e.mainFilters,e.moreFilters),g=y.mainFilters,b=y.moreFilters,h=g.filter((function(e){return"tag"!==e.type})),E=g.find((function(e){return"tag"===e.type}));return r.createElement(j.Provider,{value:{state:m,dispatch:v}},r.createElement(s.D.Provider,{value:"search.searchFilters"},r.createElement("section",null,r.createElement("div",{className:"d-flex ".concat(e.hideDivider?"":"border-bottom pb-3 mb-3")},!o&&r.createElement("h2",{className:"h5 mb-0 d-inline-block pe-2 border-end d-flex align-items-center"},r.createElement(s.x,{phrase:"heading"})),r.createElement("div",{className:"d-flex flex-wrap ".concat(Vt.filtersContainer," ").concat(o?"":"ms-2")},h.map((function(e){return r.createElement(xe,{key:e.id,filter:e})})),b&&r.createElement(Ue,{filter:b}),Le.hasActiveFilters(i)&&!e.hideResetButton&&r.createElement(Mt,{mainFilters:e.mainFilters,moreFilters:e.moreFilters,currentQueryParam:i.query,analyticsOptions:e.analyticsOptions}))),r.createElement(Ut,{filter:E,queryParams:i,isFetching:e.isFetchingOptions}))))}var Wt=a.T.encloseNamespace("libraryRequests.filters");function Ht(e){return i().createElement(Qt,{queryParams:e.queryParams,mainFilters:[{id:"status",name:"Status",type:"checkbox",options:[{id:"approved",name:Wt("approved")},{id:"rejected",name:Wt("rejected")},{id:"closed",name:Wt("closed")},{id:"autoApproved",name:Wt("autoApproved")}],compatibleIndices:[]}],appLink:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.PAST_REQUESTS,args:[e.id],params:e.queryParams},analyticsOptions:{entity:O.py.LibraryRequest,location:O.LZ.LibraryRequestDetails},constantIndices:[],hideDivider:!0})}var zt=n(61421),$t=n(49824),Kt=n(71287),Zt=n(7044),Jt=n(21974),en=n(264),tn=n(65402),nn="libraryRequests.pastDetails";function rn(e){var t=(0,tn.$)(e.status);return i().createElement("span",{className:"ms-1"},t)}function an(e){var t,n,r,a,o,l,u,d=e.libraryRequest.sourceLibrary||e.libraryRequest.sourceCategory,f="";e.libraryRequest.actionedBy&&(f="".concat(e.libraryRequest.actionedBy.name," ").concat(e.libraryRequest.actionedBy.surname));var m=function(e){switch(e){case E.l.AutoApproved:return"addedBy";case E.l.Approved:return"approvedBy";default:return"rejectedBy"}}(e.libraryRequest.status),p=e.libraryRequest.sender&&"".concat(null!==(n=null===(t=e.libraryRequest.sender)||void 0===t?void 0:t.name)&&void 0!==n?n:""," ").concat(null!==(a=null===(r=e.libraryRequest.sender)||void 0===r?void 0:r.surname)&&void 0!==a?a:""),y="";return(null===(o=e.libraryRequest.senderCustomer)||void 0===o?void 0:o.id.toString())!==e.currentUser.get("customerId").toString()&&(y=null===(l=e.libraryRequest.senderCustomer)||void 0===l?void 0:l.name),i().createElement("div",{className:"bg-white rounded p-3 mb-3"},i().createElement("div",{className:"row"},i().createElement("div",{className:"col-3 offset-9 mb-n3"},i().createElement("div",{className:"d-flex justify-content-end align-items-start"},i().createElement(tn.h,{status:e.libraryRequest.status}),i().createElement(rn,{status:e.libraryRequest.status}))),i().createElement("div",{className:"col-12"},!!f&&i().createElement("div",{className:"row mb-3"},i().createElement("div",{className:"col-3 font-label"},i().createElement(s.x,{namespace:nn,phrase:m})),i().createElement("div",{className:"col-6"},f)),!!p&&e.libraryRequest.status!==E.l.AutoApproved&&i().createElement("div",{className:"row mb-3"},i().createElement("div",{className:"col-3"},i().createElement("label",null,i().createElement(s.x,{namespace:nn,phrase:"requestedBy"}))),i().createElement("div",{className:"col-6"},i().createElement(i().Fragment,null,p,!!y&&i().createElement(i().Fragment,null," (",y,")")))),i().createElement("div",{className:"row mb-3"},i().createElement("div",{className:"col-3 font-label"},d&&i().createElement(s.x,{namespace:nn,phrase:"videoSource"})),i().createElement("div",{className:"col-6"},!!e.libraryRequest.sourceLibrary&&i().createElement("span",{className:"badge p-1 me-1 text-white ".concat(Jt.u.mapSourceToClass(e.libraryRequest.sourceLibrary.type))},Jt.u.mapSourceToDisplayName(e.libraryRequest.sourceLibrary,en.g.hasLite)),!!e.libraryRequest.sourceCategory&&i().createElement("span",{className:"ms-1"},e.libraryRequest.sourceCategory.name))),(null===(u=e.folderPath)||void 0===u?void 0:u.length)&&i().createElement("div",{className:"row"},i().createElement("div",{className:"col-3 font-label"},i().createElement(s.x,{namespace:nn,phrase:"libraryLocation"})),i().createElement("div",{className:"col-9"},i().createElement(c.Oo,{breadcrumbs:e.folderPath.map((function(e,t){return{name:e.name,appLink:{application:v.OV.LIBRARY_EDITOR,action:0===t?v.eX.LibraryEditor.LIBRARY:v.eX.LibraryEditor.FOLDER,args:[e.id]}}}))}))))))}function on(){return i().createElement("div",{className:"bg-white rounded p-3 mb-3"},i().createElement("div",{className:"row"},i().createElement("div",{className:"col-3"},i().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"6rem"}})),i().createElement("div",{className:"col-6 mb-2"},i().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"9rem"}})),i().createElement("div",{className:"col-3 d-flex justify-content-end"},i().createElement("div",{className:"partial-loading-background rounded",style:{height:"1.25rem",width:"6rem"}})),i().createElement("div",{className:"col-3"},i().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"7rem"}})),i().createElement("div",{className:"col-6"},i().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"15rem"}}))))}var ln=n(17950),cn=n(9416),sn=n(25796),un=n(41026),dn=n(59198),fn=n(85739),mn=n(30328),vn=n(64429),pn=n(41777),yn=n(56154),gn="libraryRequests.pastRequestsEmptyState",bn=a.T.encloseNamespace(gn);function hn(){return i().createElement("div",{className:"bg-white rounded p-3 py-5"},i().createElement(pn.u,null,i().createElement(pn.u.Image,{src:yn.W.EmptyStates.PAST_REQUESTS}),i().createElement(pn.u.Info,{className:"mb-1"},i().createElement(s.x,{namespace:gn,phrase:"info"})),i().createElement(pn.u.Cta,{text:bn("cta"),className:"btn btn-link text-info",appLink:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS_LIBRARIES}})))}function En(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var An="libraryRequests.pastRequests",On=a.T.encloseNamespace(An),Cn=[E.l.Approved,E.l.Closed,E.l.Rejected,E.l.AutoApproved];function wn(e){var t,n,r,a,b,h=o.a.useGetFetch(),E=(0,d.Z)(),S=(0,fn.p)(e.queryParams.sort||u.D.Newest,e.queryParams.status||Cn),O=o.a.useBasicFetch(e.id&&sn.y.libraryRequest(e.id)),C=(0,dn.s)(e.id),w=o.a.useBasicFetch(O.data&&(null===(t=O.data.destinationLibrary)||void 0===t?void 0:t.id)&&(null===(n=O.data.destinationCategory)||void 0===n?void 0:n.id)&&sn.y.categoryPath(O.data.destinationLibrary.id,O.data.destinationCategory.id)),k=En(i().useState(null),2),L=k[0],T=k[1];(0,l.i)(y.p.getConfigFetchOptions(T),[]);var N=En(i().useState(null),2),j=N[0],I=N[1];(0,l.i)(g.K.getCurrentUserFetchOptions(I),[]),(0,f.v)(O),(0,mn.A)({id:e.id,requests:S.items,appLink:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.PAST_REQUESTS,params:e.queryParams}}),(0,vn.m)(O.data,"past",e.queryParams),(0,un.K)(O.data);var R=((null===(r=S.items)||void 0===r?void 0:r.length)||S.hasCompleted)&&L&&j,_=O.data&&C.hasCompleted,x=!e.queryParams.status&&O.hasCompleted&&!(null===(a=S.items)||void 0===a?void 0:a.length);return i().createElement("div",null,i().createElement("h1",{className:"h2"},i().createElement(s.x,{namespace:An,phrase:"title"})),i().createElement("div",{className:"mb-3"},i().createElement(c.Oo,{breadcrumbs:[{name:On("libraryEditor"),appLink:{application:v.OV.LIBRARY_EDITOR,action:v.eX.LibraryEditor.HOME}},{name:On("title"),active:!0}]})),i().createElement(cn.A,{active:"past"}),!x&&i().createElement("div",{className:"d-flex justify-content-between mb-3"},i().createElement(Ht,{id:e.id,queryParams:e.queryParams}),i().createElement(ln.F,{appLink:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.PAST_REQUESTS,args:[e.id]},queryParams:e.queryParams})),!R||(null===(b=S.items)||void 0===b?void 0:b.length)?i().createElement("div",{className:"row"},i().createElement("div",{className:"col-4"},R?i().createElement(Kt.q,{libraryRequests:S.items,selectedId:e.id,appLink:{application:v.OV.LIBRARY_REQUESTS,action:v.eX.LibraryRequests.PAST_REQUESTS},queryParams:e.queryParams,fetchNext:S.fetchNext,isFetching:S.isFetching,nextCursor:S.nextCursor}):i().createElement(Zt.p,null)),i().createElement("div",{className:"col-8"},R&&_?i().createElement(i().Fragment,null,i().createElement(A,{libraryRequest:O.data}),i().createElement(an,{libraryRequest:O.data,folderPath:w.data,currentUser:j}),i().createElement(zt.x,{libraryRequest:O.data,config:L,currentUser:j,createViewKey:function(t,n){var r=sn.y.createViewKey(e.id,(function(e){return n(new p.y(e))}),(function(e){return E.error(m.M.libraryApiError(e))}));h(r)},comments:C.items})):i().createElement(i().Fragment,null,i().createElement(on,null),i().createElement($t.j,null)))):i().createElement(hn,null))}}}]);
|