@shift72/core-template 1.9.16 → 1.9.17
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +5 -2
- package/kibble.json +1 -1
- package/package.json +1 -1
- package/site/ar_LB.all.json +6 -0
- package/site/ca_ES.all.json +6 -0
- package/site/da_DK.all.json +6 -0
- package/site/de_DE.all.json +6 -0
- package/site/el_EL.all.json +6 -0
- package/site/en_AU.all.json +6 -0
- package/site/es_ES.all.json +6 -0
- package/site/es_MX.all.json +6 -0
- package/site/et_ET.all.json +6 -0
- package/site/fi_FI.all.json +6 -0
- package/site/fr_FR.all.json +6 -0
- package/site/hr_HR.all.json +6 -0
- package/site/hu_HU.all.json +6 -0
- package/site/it_IT.all.json +6 -0
- package/site/ja_JP.all.json +6 -0
- package/site/lt_LT.all.json +6 -0
- package/site/nl_BE.all.json +6 -0
- package/site/no_NO.all.json +6 -0
- package/site/pl_PL.all.json +6 -0
- package/site/pt_BR.all.json +6 -0
- package/site/pt_PT.all.json +6 -0
- package/site/ru_RU.all.json +6 -0
- package/site/sr_SR.all.json +6 -0
- package/site/static/js/main.js +25 -25
- package/site/static/scripts/main.js.map +1 -1
- package/site/styles/_variables.scss +4 -4
- package/site/templates/collection/continue_watching.jet +33 -0
- package/site/templates/page/homepage.jet +7 -1
- package/site/tr_TR.all.json +6 -0
- package/site/uk_UA.all.json +6 -0
- package/site/zh_TW.all.json +6 -0
package/CHANGELOG.md
CHANGED
@@ -2,11 +2,14 @@
|
|
2
2
|
|
3
3
|
## [Unreleased](https://github.com/shift72/core-template/compare/1.9.16...HEAD)
|
4
4
|
|
5
|
+
## [1.9.17](https://github.com/shift72/core-template/compare/1.9.16...1.9.17)
|
6
|
+
|
5
7
|
### Added
|
8
|
+
- Continue watching slider
|
6
9
|
|
7
10
|
### Changed
|
8
|
-
|
9
|
-
|
11
|
+
- Reduced carousel height slightly
|
12
|
+
- css: use `--button-text-color` instead of `--body-bg` for `--tooltip-color`
|
10
13
|
|
11
14
|
## [1.9.16](https://github.com/shift72/core-template/compare/1.9.15...1.9.16)
|
12
15
|
|
package/kibble.json
CHANGED
package/package.json
CHANGED
package/site/ar_LB.all.json
CHANGED
@@ -1779,5 +1779,11 @@
|
|
1779
1779
|
},
|
1780
1780
|
"confirm_delete_check_box_message": {
|
1781
1781
|
"other": "أفهم أن هذا الإجراء دائم"
|
1782
|
+
},
|
1783
|
+
"continue_watching_slider_header": {
|
1784
|
+
"other": "مواصلة المشاهدة"
|
1785
|
+
},
|
1786
|
+
"wcag_aria_label_continue_watching": {
|
1787
|
+
"other": "مواصلة المشاهدة"
|
1782
1788
|
}
|
1783
1789
|
}
|
package/site/ca_ES.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Entenc que aquesta acció és permanent"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Continuar mirant"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Continuar mirant"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/da_DK.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Jeg forstår, at denne handling er permanent"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Fortsæt med at se"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Fortsæt med at se"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/de_DE.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Ich verstehe, dass diese Aktion dauerhaft ist"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Weiter schauen"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Weiter schauen"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/el_EL.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Κατανοώ ότι αυτή η ενέργεια είναι μόνιμη"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Συνεχίστε την παρακολούθηση"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Συνεχίστε την παρακολούθηση"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/en_AU.all.json
CHANGED
@@ -831,6 +831,9 @@
|
|
831
831
|
"userwishlist_button_remove_compact": {
|
832
832
|
"other": "My List"
|
833
833
|
},
|
834
|
+
"continue_watching_slider_header": {
|
835
|
+
"other": "Continue Watching"
|
836
|
+
},
|
834
837
|
"activatedevice_page_header": {
|
835
838
|
"other": "Activate Device"
|
836
839
|
},
|
@@ -1247,6 +1250,9 @@
|
|
1247
1250
|
"wcag_aria_label_wishlist": {
|
1248
1251
|
"other": "Wishlist"
|
1249
1252
|
},
|
1253
|
+
"wcag_aria_label_continue_watching": {
|
1254
|
+
"other": "Continue Watching"
|
1255
|
+
},
|
1250
1256
|
"wcag_aria_label_facebook": {
|
1251
1257
|
"other": "Share on Facebook"
|
1252
1258
|
},
|
package/site/es_ES.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Entiendo que esta acción es permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continuar viendo"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continuar viendo"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/es_MX.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Entiendo que esta acción es permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continuar viendo"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continuar viendo"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/et_ET.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Saan aru, et see toiming on püsiv"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Jätkake vaatamist"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Jätkake vaatamist"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/fi_FI.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Ymmärrän, että tämä toimenpide on pysyvä"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Jatka katselua"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Jatka katselua"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/fr_FR.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Je comprends que cette action est permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continuer à regarder"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continuer à regarder"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/hr_HR.all.json
CHANGED
@@ -1717,5 +1717,11 @@
|
|
1717
1717
|
},
|
1718
1718
|
"confirm_delete_check_box_message": {
|
1719
1719
|
"other": "Razumijem da je ova akcija trajna"
|
1720
|
+
},
|
1721
|
+
"continue_watching_slider_header": {
|
1722
|
+
"other": "Nastavite s gledanjem"
|
1723
|
+
},
|
1724
|
+
"wcag_aria_label_continue_watching": {
|
1725
|
+
"other": "Nastavite s gledanjem"
|
1720
1726
|
}
|
1721
1727
|
}
|
package/site/hu_HU.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Megértem, hogy ez a művelet végleges"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Folytassa a nézést"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Folytassa a nézést"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/it_IT.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Capisco che questa azione è permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continua a guardare"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continua a guardare"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/ja_JP.all.json
CHANGED
@@ -1702,5 +1702,11 @@
|
|
1702
1702
|
},
|
1703
1703
|
"confirm_delete_check_box_message": {
|
1704
1704
|
"other": "このアクションは永続的なものであることを理解しています"
|
1705
|
+
},
|
1706
|
+
"continue_watching_slider_header": {
|
1707
|
+
"other": "視聴を続ける"
|
1708
|
+
},
|
1709
|
+
"wcag_aria_label_continue_watching": {
|
1710
|
+
"other": "視聴を続ける"
|
1705
1711
|
}
|
1706
1712
|
}
|
package/site/lt_LT.all.json
CHANGED
@@ -1747,5 +1747,11 @@
|
|
1747
1747
|
},
|
1748
1748
|
"confirm_delete_check_box_message": {
|
1749
1749
|
"other": "Suprantu, kad šis veiksmas yra nuolatinis"
|
1750
|
+
},
|
1751
|
+
"continue_watching_slider_header": {
|
1752
|
+
"other": "Žiūrėti toliau"
|
1753
|
+
},
|
1754
|
+
"wcag_aria_label_continue_watching": {
|
1755
|
+
"other": "Žiūrėti toliau"
|
1750
1756
|
}
|
1751
1757
|
}
|
package/site/nl_BE.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Ik begrijp dat deze actie permanent is"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Ga door met kijken"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Ga door met kijken"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/no_NO.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Jeg forstår at denne handlingen er permanent"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "Fortsett å se"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "Fortsett å se"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/pl_PL.all.json
CHANGED
@@ -1792,5 +1792,11 @@
|
|
1792
1792
|
},
|
1793
1793
|
"confirm_delete_check_box_message": {
|
1794
1794
|
"other": "Rozumiem, że to działanie ma charakter trwały"
|
1795
|
+
},
|
1796
|
+
"continue_watching_slider_header": {
|
1797
|
+
"other": "Kontynuuj oglądanie"
|
1798
|
+
},
|
1799
|
+
"wcag_aria_label_continue_watching": {
|
1800
|
+
"other": "Kontynuuj oglądanie"
|
1795
1801
|
}
|
1796
1802
|
}
|
package/site/pt_BR.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Entendo que esta ação é permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continuar assistindo"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continuar assistindo"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/pt_PT.all.json
CHANGED
@@ -1719,5 +1719,11 @@
|
|
1719
1719
|
},
|
1720
1720
|
"confirm_delete_check_box_message": {
|
1721
1721
|
"other": "Entendo que esta ação é permanente"
|
1722
|
+
},
|
1723
|
+
"continue_watching_slider_header": {
|
1724
|
+
"other": "Continuar assistindo"
|
1725
|
+
},
|
1726
|
+
"wcag_aria_label_continue_watching": {
|
1727
|
+
"other": "Continuar assistindo"
|
1722
1728
|
}
|
1723
1729
|
}
|
package/site/ru_RU.all.json
CHANGED
@@ -1769,5 +1769,11 @@
|
|
1769
1769
|
},
|
1770
1770
|
"confirm_delete_check_box_message": {
|
1771
1771
|
"other": "Я понимаю, что это действие является постоянным"
|
1772
|
+
},
|
1773
|
+
"continue_watching_slider_header": {
|
1774
|
+
"other": "Продолжить просмотр"
|
1775
|
+
},
|
1776
|
+
"wcag_aria_label_continue_watching": {
|
1777
|
+
"other": "Продолжить просмотр"
|
1772
1778
|
}
|
1773
1779
|
}
|
package/site/sr_SR.all.json
CHANGED
@@ -1731,5 +1731,11 @@
|
|
1731
1731
|
},
|
1732
1732
|
"confirm_delete_check_box_message": {
|
1733
1733
|
"other": "Разумем да је ова акција трајна"
|
1734
|
+
},
|
1735
|
+
"continue_watching_slider_header": {
|
1736
|
+
"other": "Наставите са гледањем"
|
1737
|
+
},
|
1738
|
+
"wcag_aria_label_continue_watching": {
|
1739
|
+
"other": "Наставите са гледањем"
|
1734
1740
|
}
|
1735
1741
|
}
|
package/site/static/js/main.js
CHANGED
@@ -6,34 +6,34 @@ import './external-purchase-button.component.js';
|
|
6
6
|
|
7
7
|
let slideObservers = [];
|
8
8
|
|
9
|
-
function
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
function initializeCustomSliders() {
|
10
|
+
['s72-userwishlist', 's72-continue-watching'].forEach(selector => {
|
11
|
+
let wishlist = document.querySelector(selector);
|
12
|
+
if (!wishlist) return;
|
13
|
+
|
14
|
+
// Gross.
|
15
|
+
let originalFunction = wishlist.classList.remove;
|
16
|
+
wishlist.classList.remove = function (className) {
|
18
17
|
// Remove class
|
19
18
|
originalFunction.apply(this, [className]);
|
19
|
+
if (className === 's72-hide') {
|
20
|
+
// Hide this from view
|
21
|
+
wishlist.style.opacity = '0';
|
22
|
+
|
23
|
+
/* Convert this to a swiper */
|
24
|
+
let containers = wishlist.getElementsByClassName('swiper-container');
|
25
|
+
if (containers.length > 0) {
|
26
|
+
let container = containers[0];
|
27
|
+
let swiper = initializeSwiper(container, true);
|
28
|
+
init(swiper);
|
29
|
+
toggleButtons(container);
|
30
|
+
}
|
20
31
|
|
21
|
-
|
22
|
-
|
23
|
-
if (containers.length > 0) {
|
24
|
-
let container = containers[0];
|
25
|
-
let swiper = initializeSwiper(container, true);
|
26
|
-
|
27
|
-
init(swiper);
|
28
|
-
toggleButtons(container);
|
32
|
+
// Now show it
|
33
|
+
wishlist.style.opacity = '1';
|
29
34
|
}
|
30
|
-
|
31
|
-
|
32
|
-
wishlist.style.opacity = '1';
|
33
|
-
} else {
|
34
|
-
originalFunction.apply(this, [className]);
|
35
|
-
}
|
36
|
-
};
|
35
|
+
};
|
36
|
+
});
|
37
37
|
}
|
38
38
|
|
39
39
|
function initializeSwiper(element, force) {
|
@@ -463,7 +463,7 @@ function toggleScroll() {
|
|
463
463
|
}
|
464
464
|
|
465
465
|
function documentReady(app) {
|
466
|
-
|
466
|
+
initializeCustomSliders();
|
467
467
|
|
468
468
|
app.classificationsService.load('/classifications.all.json');
|
469
469
|
app.urlMapService.load('/urlmap.json');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.js","sources":["../js/modernizr-custom.js","../js/can-be-watched-button.component.js","../js/external-purchase-button.component.js","../js/main.js"],"sourcesContent":["/*! modernizr 3.6.0 (Custom Build) | MIT *\n * https://modernizr.com/download/?-smil-setclasses !*/\n!function(e,n,s){function o(e,n){return typeof e===n}function a(){var e,n,s,a,t,r,f;for(var c in l)if(l.hasOwnProperty(c)){if(e=[],n=l[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(a=o(n.fn,\"function\")?n.fn():n.fn,t=0;t<e.length;t++)r=e[t],f=r.split(\".\"),1===f.length?Modernizr[f[0]]=a:(!Modernizr[f[0]]||Modernizr[f[0]]instanceof Boolean||(Modernizr[f[0]]=new Boolean(Modernizr[f[0]])),Modernizr[f[0]][f[1]]=a),i.push((a?\"\":\"no-\")+f.join(\"-\"))}}function t(e){var n=f.className,s=Modernizr._config.classPrefix||\"\";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp(\"(^|\\\\s)\"+s+\"no-js(\\\\s|$)\");n=n.replace(o,\"$1\"+s+\"js$2\")}Modernizr._config.enableClasses&&(n+=\" \"+s+e.join(\" \"+s),c?f.className.baseVal=n:f.className=n)}var i=[],l=[],r={_version:\"3.6.0\",_config:{classPrefix:\"\",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){l.push({name:e,fn:n,options:s})},addAsyncTest:function(e){l.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=r,Modernizr=new Modernizr;var f=n.documentElement,c=\"svg\"===f.nodeName.toLowerCase(),u={}.toString;Modernizr.addTest(\"smil\",function(){return!!n.createElementNS&&/SVGAnimate/.test(u.call(n.createElementNS(\"http://www.w3.org/2000/svg\",\"animate\")))}),a(),t(i),delete r.addTest,delete r.addAsyncTest;for(var d=0;d<Modernizr._q.length;d++)Modernizr._q[d]();e.Modernizr=Modernizr}(window,document);","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class CanBeWatchedButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.state.loaded && this.state.isOwned);\n }, utils.noop);\n }\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n return;\n }\n\n openLink(event, url) {\n event.preventDefault();\n if (url.length == 0) return;\n window.open(url);\n }\n\n render(props, state) {\n if (!state.loaded || !state.isOwned || props.url == '' || props.label == '') return;\n return (\n state.loaded &&\n state.isOwned && (\n <button\n class=\"s72-btn s72-btn-can-be-watched\"\n onClick={e => {\n this.openLink(e, props.url);\n }}\n >\n <span class=\"padder\" />\n <span class=\"verb watch s72-btn-can-be-watched-label\">{props.label}</span>\n </button>\n )\n );\n }\n}\n\nbindAllComponents('can-be-watched-button', elements => {\n return elements.map(e => render(h(CanBeWatchedButton, attrs(e)), e));\n});\n","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class ExternalPurchaseButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.shouldBeVisible);\n }, utils.noop);\n }\n }\n\n get shouldBeVisible() {\n return this.state.loaded && !this.state.isOwned;\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n }\n \n render(props) {\n if (!this.shouldBeVisible || props.url == '' || props.label == '') return null;\n return (\n <button\n type=\"button\"\n class=\"s72-btn s72-btn-purchase s72-btn-external-purchase\"\n onClick={e => {\n e.preventDefault();\n if (props.url) {\n window.location.href = props.url;\n }\n }}\n >\n <span class=\"verb\">{props.label}</span>\n </button>\n );\n }\n}\n\nbindAllComponents('external-purchase-button', elements => {\n return elements.map(e => render(h(ExternalPurchaseButton, attrs(e)), e));\n});\n","import './modernizr-custom.js';\nimport './can-be-watched-button.component.js';\nimport './external-purchase-button.component.js';\n\n/*global Swiper, Modernizr, s72*/\n\nlet slideObservers = [];\n\nfunction initializeWishlist() {\n let wishlist = document.querySelector('s72-userwishlist');\n if (!wishlist) return;\n let originalFunction = wishlist.classList.remove;\n wishlist.classList.remove = function (className) {\n if (className == 's72-hide') {\n // Hide this from view\n wishlist.style.opacity = '0';\n\n // Remove class\n originalFunction.apply(this, [className]);\n\n /* Convert this to a swiper */\n let containers = wishlist.getElementsByClassName('swiper-container');\n if (containers.length > 0) {\n let container = containers[0];\n let swiper = initializeSwiper(container, true);\n\n init(swiper);\n toggleButtons(container);\n }\n\n // Now show it\n wishlist.style.opacity = '1';\n } else {\n originalFunction.apply(this, [className]);\n }\n };\n}\n\nfunction initializeSwiper(element, force) {\n if (element.swiper) {\n if (force) {\n element.swiper.destroy();\n } else {\n return;\n }\n }\n\n let isTouchscreen = isTouchscreenEnabled();\n\n let defaultSlidesPerView = 8;\n let slidesPerView = {\n 320: 2,\n 568: 2,\n 667: 2,\n 768: 4,\n 992: 4,\n 1200: 4,\n 1440: 6,\n 1600: 6,\n };\n\n // Override some slider values specific sizes. Could potentially expand this for portrait vs. landscapes\n if (element.getAttribute('data-items-per-row')) {\n let itemsPerRow = element.getAttribute('data-items-per-row');\n let layout = element.getAttribute('data-layout');\n\n if (layout == 'portrait') {\n switch (itemsPerRow) {\n case '6':\n defaultSlidesPerView = 8;\n slidesPerView[1600] = 6;\n slidesPerView[1440] = 6;\n slidesPerView[1200] = 5;\n slidesPerView[992] = 4;\n slidesPerView[768] = 4;\n slidesPerView[667] = 3;\n slidesPerView[568] = 3;\n break;\n\n case '4':\n defaultSlidesPerView = 6;\n slidesPerView[1600] = 5;\n slidesPerView[1440] = 5;\n slidesPerView[1200] = 4;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[667] = 3;\n slidesPerView[568] = 2;\n break;\n }\n } else if (layout == 'landscape') {\n switch (itemsPerRow) {\n case '4':\n defaultSlidesPerView = 5;\n slidesPerView[1600] = 4;\n slidesPerView[1440] = 4;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[568] = 2;\n break;\n\n case '3':\n defaultSlidesPerView = 4;\n slidesPerView[1600] = 3;\n slidesPerView[1440] = 3;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 2;\n slidesPerView[768] = 2;\n slidesPerView[568] = 2;\n break;\n }\n }\n }\n\n let swiper = new Swiper(element, {\n init: false,\n slidesPerView: defaultSlidesPerView,\n spaceBetween: 1,\n slidesPerGroup: 1, // leave this for infinite scrollings\n speed: 600,\n watchSlidesVisibility: true,\n\n breakpoints: {\n // when window width is <= 320px\n 319: {\n slidesPerView: slidesPerView[320],\n spaceBetween: 2,\n slidesPerGroup: 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 480px\n 567: {\n slidesPerView: slidesPerView[568],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[568] : 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 640px\n 666: {\n slidesPerView: slidesPerView[667],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[667] : 1,\n },\n 767: {\n slidesPerView: slidesPerView[768],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[768] : 1,\n },\n 991: {\n slidesPerView: slidesPerView[992],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[992] : 1,\n },\n 1199: {\n slidesPerView: slidesPerView[1200],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1200] : 1,\n },\n 1439: {\n slidesPerView: slidesPerView[1440],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1440] : 1,\n },\n 1599: {\n slidesPerView: slidesPerView[1600],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1600] : 1,\n },\n },\n pagination: {\n el: '.swiper-pagination',\n clickable: true,\n },\n on: {\n init() {\n element.dispatchEvent(new Event('init'));\n },\n slideChangeTransitionEnd() {\n addAndRemoveSlides(element.swiper, true, true);\n toggleButtons(element);\n },\n },\n });\n\n element.buttons = {};\n\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-next'),\n 1\n );\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-prev'),\n -1\n );\n\n return swiper;\n}\n\nfunction disableButton(button) {\n button.classList.add('swiper-button-disabled');\n}\n\nfunction enableButton(button) {\n button.classList.remove('swiper-button-disabled');\n}\n\nfunction toggleButtons(slider) {\n let currentIndex = slider.swiper.activeIndex;\n let slidesToTheLeft = currentIndex;\n let slidesPerView = slider.swiper.params.slidesPerView;\n let slidesLength = slider.swiper.slides.length;\n let lastVisibleIndex = currentIndex + slidesPerView;\n let slidesToTheRight = slidesLength - lastVisibleIndex;\n\n if (slidesToTheLeft == 0) {\n disableButton(slider.buttons.prev);\n } else {\n enableButton(slider.buttons.prev);\n }\n\n if (slidesToTheRight <= 0) {\n disableButton(slider.buttons.next);\n } else {\n enableButton(slider.buttons.next);\n }\n}\n\nfunction initButton(slider, button, velocity) {\n if (button) {\n button.classList.remove('s72-hide');\n // Clone the button so any pre-existing listeners are destroyed\n let buttonClone = button.cloneNode(true);\n button.parentNode.replaceChild(buttonClone, button);\n\n buttonClone.addEventListener('click', e => {\n e.preventDefault();\n if (velocity > 0) {\n addAndRemoveSlides(slider.swiper, true, false);\n } else {\n addAndRemoveSlides(slider.swiper, false, true);\n }\n slider.swiper.slideToLoop(\n slider.swiper.realIndex + slider.swiper.params.slidesPerView * velocity\n );\n });\n\n let direction = velocity > 0 ? 'next' : 'prev';\n slider.buttons[direction] = buttonClone;\n }\n}\n\nfunction getMatchingDuplicatedSlides(slider, link) {\n let result = [];\n\n if (!slider.destroyed) {\n Array.from(slider.el.querySelectorAll('.swiper-slide')).forEach(slide => {\n if (!slide.classList.contains('base')) {\n let thisLink = slide.querySelector('a.meta-item-link').getAttribute('href');\n if (link === thisLink) result.push(slide);\n }\n });\n }\n\n return result;\n}\n\nfunction init(slider) {\n slider.init();\n\n // Set up a mutation observer against each base slide, as it'll get redrawn as the components get rendered\n for (let x = 0; x < slider.slides.length; x++) {\n let slide = slider.slides[x];\n\n slide.classList.add('base');\n\n if (infiniteScrollEnabled(slider)) {\n let config = { subtree: true, childList: true };\n\n let observer = new MutationObserver(mutations => {\n for (let y = 0; y < mutations.length; y++) {\n let mutationRecord = mutations[y];\n\n // var href = mutationRecord.target.closest('a.meta-item-link').getAttribute('href');\n let thisSlide = mutationRecord.target.closest('.swiper-slide');\n if (thisSlide) {\n let thisLink = thisSlide.querySelector('a.meta-item-link').getAttribute('href');\n\n let duplicatedSlides = getMatchingDuplicatedSlides(slider, thisLink);\n\n Array.from(duplicatedSlides).forEach(dupe => {\n dupe.innerHTML = thisSlide.innerHTML;\n });\n }\n }\n });\n\n observer.observe(slide, config);\n\n slideObservers.push(observer);\n }\n }\n\n addAndRemoveSlides(slider);\n\n return true;\n}\n\nfunction infiniteScrollEnabled(slider) {\n if (!Modernizr.smil) return false; // i.e. is this IE11\n\n if (isTouchscreenEnabled()) return false; // i.e. is this a touchscreen device?\n\n let el = slider.el;\n\n if (el.getAttribute('disable-infinite-scroll') !== null) {\n return false;\n }\n\n let prev = el.buttons.prev;\n let next = el.buttons.next;\n\n // Only infinite scroll on desktop (i.e. when the next/prev buttons are visible)\n let buttonsVisible = (prev && prev.offsetHeight > 0) || (next && next.offsetHeight > 0);\n\n let screens = slider.slides.length / slider.params.slidesPerView;\n\n return buttonsVisible && screens > 1;\n}\n\nfunction addAndRemoveSlides(slider, append, prepend) {\n // This is a no-go\n if (!infiniteScrollEnabled(slider)) return;\n\n // Just in case something's gone horribly wrong\n if (slider.slides.length > 100) {\n return;\n }\n\n if (append) {\n let lastVisibleIndex = slider.activeIndex + slider.params.slidesPerView;\n let slidesToTheRight = slider.slides.length - lastVisibleIndex;\n\n if (slidesToTheRight <= slider.params.slidesPerView) {\n appendBaseSlides(slider);\n }\n }\n\n if (prepend) {\n if (slider.activeIndex <= slider.params.slidesPerView) {\n prependBaseSlides(slider);\n }\n }\n}\n\nfunction getBaseSlides(slider) {\n let result = Array.from(slider.el.querySelectorAll('.swiper-slide.base')).map(node => {\n return node.cloneNode(true);\n });\n\n Array.from(result).forEach(slide => {\n slide.classList.remove(\n 'base',\n 'swiper-slide-visible',\n 'swiper-slide-active',\n 'swiper-slide-next',\n 'swiper-slide-prev'\n );\n });\n\n return result;\n}\n\nfunction appendBaseSlides(slider) {\n let baseSlides = getBaseSlides(slider).slice(0);\n slider.appendSlide(baseSlides);\n\n cullSlides(slider, 1);\n}\n\nfunction prependBaseSlides(slider) {\n // var baseSlides = getBaseSlides(slider).reverse().slice(0);\n let baseSlides = getBaseSlides(slider).reverse().slice(0);\n\n let currentIndex = slider.activeIndex;\n\n for (let i = 0; i < baseSlides.length; i++) {\n slider.prependSlide(baseSlides[i]);\n }\n slider.slideTo(currentIndex + baseSlides.length, 0);\n\n cullSlides(slider, -1);\n}\n\n// Get rid of the oldest N slides to the left of current\nfunction cullSlides(slider, direction) {\n let baseSlides = getBaseSlides(slider);\n\n let indices = [];\n for (let index = 0; index < slider.slides.length; index++) {\n let slide = slider.slides[index];\n if (direction > 0) {\n if (index < slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n } else if (index > slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n }\n\n if (indices.length > baseSlides.length) {\n let toCullIndices = [];\n if (direction > 0) {\n toCullIndices = indices.slice(0, baseSlides.length);\n } else {\n toCullIndices = indices.reverse().slice(0, baseSlides.length).reverse();\n }\n\n slider.removeSlide(toCullIndices.reverse());\n }\n}\n\nfunction initSearch() {\n let searchButton = document.querySelector('.btn-search-open');\n let searchForm = document.querySelector('.form-control-search');\n\n let openSearch = function () {\n document.querySelector('.form-control-search').focus();\n document.querySelector('.navbar-nav-search').classList.add('search-show');\n document.querySelector('.navbar-nav-search').classList.remove('search-hidden');\n };\n\n let closeSearch = function () {\n document.querySelector('.navbar-nav-search').classList.remove('search-show');\n document.querySelector('.navbar-nav-search').classList.add('search-hidden');\n };\n\n searchButton.addEventListener('click', openSearch, false);\n searchForm.addEventListener('focusin', openSearch, false);\n searchForm.addEventListener('focusout', closeSearch, false);\n}\n\nfunction initScroll() {\n let nav = document.querySelector('.navbar-toggler');\n if (nav) {\n nav.addEventListener('click', () => {\n toggleScroll();\n });\n }\n}\n\nfunction toggleScroll() {\n let body = document.querySelector('body');\n if (!body.classList.contains('no-scroll')) {\n body.classList.add('no-scroll');\n } else {\n body.classList.remove('no-scroll');\n }\n}\n\nfunction documentReady(app) {\n initializeWishlist();\n\n app.classificationsService.load('/classifications.all.json');\n app.urlMapService.load('/urlmap.json');\n\n detectTouchscreen();\n\n let swipers = document.getElementsByClassName('swiper-container');\n for (let i = 0; i < swipers.length; i++) {\n let el = swipers[i];\n if (el.getAttribute('is-wishlist') == undefined) {\n let swiper = initializeSwiper(el, false);\n init(swiper);\n\n toggleButtons(el);\n }\n }\n\n document.querySelectorAll('.s72-btn-trailer:not(.s72-btn-play)').forEach(btn => {\n btn.addEventListener('click', e => {\n e.preventDefault();\n e.stopPropagation();\n });\n });\n\n document.querySelectorAll('.navbar-nav').forEach(nav => {\n nav.classList.remove('s72-hide');\n });\n\n if (document.querySelector('.navbar-nav-search')) {\n initSearch();\n }\n initScroll();\n}\n\nfunction detectTouchscreen() {\n let touchEnabled = s72.utils.device.isTouchEnabled();\n document.querySelector('html').setAttribute('is-touchscreen', touchEnabled);\n}\n\nfunction isTouchscreenEnabled() {\n return document.querySelector('html').getAttribute('is-touchscreen') === 'true';\n}\ndocument.addEventListener('s72loaded', event => {\n let app = event.detail.app;\n documentReady(app);\n});\n"],"names":["super","this","utils","let","getComponentElement","AppComponent","bindAllComponents","render","h","attrs","y"],"mappings":";;;EAAA;EACA;EACA,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC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G,CAAC,CAAC;AACL;EACA,EAAE,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,UAAA,GAAA,EAAO;EAC1D,IAAI,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;EACrC,GAAG,CAAC,CAAC;AACL;EACA,EAAE,IAAI,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE;EACpD,IAAI,UAAU,EAAE,CAAC;EACjB,GAAG;EACH,EAAE,UAAU,EAAE,CAAC;EACf,CAAC;AACD;EACA,SAAS,iBAAiB,GAAG;EAC7B,EAAEA,IAAI,YAAY,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;EACvD,EAAE,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;EAC9E,CAAC;AACD;EACA,SAAS,oBAAoB,GAAG;EAChC,EAAE,OAAO,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,MAAM,CAAC;EAClF,CAAC;EACD,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAA,UAAE,OAAS;EAChD,EAAEA,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;EAC7B,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;EACrB,CAAC,CAAC;;;;;;"}
|
1
|
+
{"version":3,"file":"main.js","sources":["../js/modernizr-custom.js","../js/can-be-watched-button.component.js","../js/external-purchase-button.component.js","../js/main.js"],"sourcesContent":["/*! modernizr 3.6.0 (Custom Build) | MIT *\n * https://modernizr.com/download/?-smil-setclasses !*/\n!function(e,n,s){function o(e,n){return typeof e===n}function a(){var e,n,s,a,t,r,f;for(var c in l)if(l.hasOwnProperty(c)){if(e=[],n=l[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(a=o(n.fn,\"function\")?n.fn():n.fn,t=0;t<e.length;t++)r=e[t],f=r.split(\".\"),1===f.length?Modernizr[f[0]]=a:(!Modernizr[f[0]]||Modernizr[f[0]]instanceof Boolean||(Modernizr[f[0]]=new Boolean(Modernizr[f[0]])),Modernizr[f[0]][f[1]]=a),i.push((a?\"\":\"no-\")+f.join(\"-\"))}}function t(e){var n=f.className,s=Modernizr._config.classPrefix||\"\";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp(\"(^|\\\\s)\"+s+\"no-js(\\\\s|$)\");n=n.replace(o,\"$1\"+s+\"js$2\")}Modernizr._config.enableClasses&&(n+=\" \"+s+e.join(\" \"+s),c?f.className.baseVal=n:f.className=n)}var i=[],l=[],r={_version:\"3.6.0\",_config:{classPrefix:\"\",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){l.push({name:e,fn:n,options:s})},addAsyncTest:function(e){l.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=r,Modernizr=new Modernizr;var f=n.documentElement,c=\"svg\"===f.nodeName.toLowerCase(),u={}.toString;Modernizr.addTest(\"smil\",function(){return!!n.createElementNS&&/SVGAnimate/.test(u.call(n.createElementNS(\"http://www.w3.org/2000/svg\",\"animate\")))}),a(),t(i),delete r.addTest,delete r.addAsyncTest;for(var d=0;d<Modernizr._q.length;d++)Modernizr._q[d]();e.Modernizr=Modernizr}(window,document);","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class CanBeWatchedButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.state.loaded && this.state.isOwned);\n }, utils.noop);\n }\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n return;\n }\n\n openLink(event, url) {\n event.preventDefault();\n if (url.length == 0) return;\n window.open(url);\n }\n\n render(props, state) {\n if (!state.loaded || !state.isOwned || props.url == '' || props.label == '') return;\n return (\n state.loaded &&\n state.isOwned && (\n <button\n class=\"s72-btn s72-btn-can-be-watched\"\n onClick={e => {\n this.openLink(e, props.url);\n }}\n >\n <span class=\"padder\" />\n <span class=\"verb watch s72-btn-can-be-watched-label\">{props.label}</span>\n </button>\n )\n );\n }\n}\n\nbindAllComponents('can-be-watched-button', elements => {\n return elements.map(e => render(h(CanBeWatchedButton, attrs(e)), e));\n});\n","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class ExternalPurchaseButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.shouldBeVisible);\n }, utils.noop);\n }\n }\n\n get shouldBeVisible() {\n return this.state.loaded && !this.state.isOwned;\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n }\n \n render(props) {\n if (!this.shouldBeVisible || props.url == '' || props.label == '') return null;\n return (\n <button\n type=\"button\"\n class=\"s72-btn s72-btn-purchase s72-btn-external-purchase\"\n onClick={e => {\n e.preventDefault();\n if (props.url) {\n window.location.href = props.url;\n }\n }}\n >\n <span class=\"verb\">{props.label}</span>\n </button>\n );\n }\n}\n\nbindAllComponents('external-purchase-button', elements => {\n return elements.map(e => render(h(ExternalPurchaseButton, attrs(e)), e));\n});\n","import './modernizr-custom.js';\nimport './can-be-watched-button.component.js';\nimport './external-purchase-button.component.js';\n\n/*global Swiper, Modernizr, s72*/\n\nlet slideObservers = [];\n\nfunction initializeCustomSliders() {\n ['s72-userwishlist', 's72-continue-watching'].forEach(selector => {\n let wishlist = document.querySelector(selector);\n if (!wishlist) return;\n\n // Gross.\n let originalFunction = wishlist.classList.remove;\n wishlist.classList.remove = function (className) {\n // Remove class\n originalFunction.apply(this, [className]);\n if (className === 's72-hide') {\n // Hide this from view\n wishlist.style.opacity = '0';\n\n /* Convert this to a swiper */\n let containers = wishlist.getElementsByClassName('swiper-container');\n if (containers.length > 0) {\n let container = containers[0];\n let swiper = initializeSwiper(container, true);\n init(swiper);\n toggleButtons(container);\n }\n\n // Now show it\n wishlist.style.opacity = '1';\n }\n };\n });\n}\n\nfunction initializeSwiper(element, force) {\n if (element.swiper) {\n if (force) {\n element.swiper.destroy();\n } else {\n return;\n }\n }\n\n let isTouchscreen = isTouchscreenEnabled();\n\n let defaultSlidesPerView = 8;\n let slidesPerView = {\n 320: 2,\n 568: 2,\n 667: 2,\n 768: 4,\n 992: 4,\n 1200: 4,\n 1440: 6,\n 1600: 6,\n };\n\n // Override some slider values specific sizes. Could potentially expand this for portrait vs. landscapes\n if (element.getAttribute('data-items-per-row')) {\n let itemsPerRow = element.getAttribute('data-items-per-row');\n let layout = element.getAttribute('data-layout');\n\n if (layout == 'portrait') {\n switch (itemsPerRow) {\n case '6':\n defaultSlidesPerView = 8;\n slidesPerView[1600] = 6;\n slidesPerView[1440] = 6;\n slidesPerView[1200] = 5;\n slidesPerView[992] = 4;\n slidesPerView[768] = 4;\n slidesPerView[667] = 3;\n slidesPerView[568] = 3;\n break;\n\n case '4':\n defaultSlidesPerView = 6;\n slidesPerView[1600] = 5;\n slidesPerView[1440] = 5;\n slidesPerView[1200] = 4;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[667] = 3;\n slidesPerView[568] = 2;\n break;\n }\n } else if (layout == 'landscape') {\n switch (itemsPerRow) {\n case '4':\n defaultSlidesPerView = 5;\n slidesPerView[1600] = 4;\n slidesPerView[1440] = 4;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[568] = 2;\n break;\n\n case '3':\n defaultSlidesPerView = 4;\n slidesPerView[1600] = 3;\n slidesPerView[1440] = 3;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 2;\n slidesPerView[768] = 2;\n slidesPerView[568] = 2;\n break;\n }\n }\n }\n\n let swiper = new Swiper(element, {\n init: false,\n slidesPerView: defaultSlidesPerView,\n spaceBetween: 1,\n slidesPerGroup: 1, // leave this for infinite scrollings\n speed: 600,\n watchSlidesVisibility: true,\n\n breakpoints: {\n // when window width is <= 320px\n 319: {\n slidesPerView: slidesPerView[320],\n spaceBetween: 2,\n slidesPerGroup: 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 480px\n 567: {\n slidesPerView: slidesPerView[568],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[568] : 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 640px\n 666: {\n slidesPerView: slidesPerView[667],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[667] : 1,\n },\n 767: {\n slidesPerView: slidesPerView[768],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[768] : 1,\n },\n 991: {\n slidesPerView: slidesPerView[992],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[992] : 1,\n },\n 1199: {\n slidesPerView: slidesPerView[1200],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1200] : 1,\n },\n 1439: {\n slidesPerView: slidesPerView[1440],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1440] : 1,\n },\n 1599: {\n slidesPerView: slidesPerView[1600],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1600] : 1,\n },\n },\n pagination: {\n el: '.swiper-pagination',\n clickable: true,\n },\n on: {\n init() {\n element.dispatchEvent(new Event('init'));\n },\n slideChangeTransitionEnd() {\n addAndRemoveSlides(element.swiper, true, true);\n toggleButtons(element);\n },\n },\n });\n\n element.buttons = {};\n\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-next'),\n 1\n );\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-prev'),\n -1\n );\n\n return swiper;\n}\n\nfunction disableButton(button) {\n button.classList.add('swiper-button-disabled');\n}\n\nfunction enableButton(button) {\n button.classList.remove('swiper-button-disabled');\n}\n\nfunction toggleButtons(slider) {\n let currentIndex = slider.swiper.activeIndex;\n let slidesToTheLeft = currentIndex;\n let slidesPerView = slider.swiper.params.slidesPerView;\n let slidesLength = slider.swiper.slides.length;\n let lastVisibleIndex = currentIndex + slidesPerView;\n let slidesToTheRight = slidesLength - lastVisibleIndex;\n\n if (slidesToTheLeft == 0) {\n disableButton(slider.buttons.prev);\n } else {\n enableButton(slider.buttons.prev);\n }\n\n if (slidesToTheRight <= 0) {\n disableButton(slider.buttons.next);\n } else {\n enableButton(slider.buttons.next);\n }\n}\n\nfunction initButton(slider, button, velocity) {\n if (button) {\n button.classList.remove('s72-hide');\n // Clone the button so any pre-existing listeners are destroyed\n let buttonClone = button.cloneNode(true);\n button.parentNode.replaceChild(buttonClone, button);\n\n buttonClone.addEventListener('click', e => {\n e.preventDefault();\n if (velocity > 0) {\n addAndRemoveSlides(slider.swiper, true, false);\n } else {\n addAndRemoveSlides(slider.swiper, false, true);\n }\n slider.swiper.slideToLoop(\n slider.swiper.realIndex + slider.swiper.params.slidesPerView * velocity\n );\n });\n\n let direction = velocity > 0 ? 'next' : 'prev';\n slider.buttons[direction] = buttonClone;\n }\n}\n\nfunction getMatchingDuplicatedSlides(slider, link) {\n let result = [];\n\n if (!slider.destroyed) {\n Array.from(slider.el.querySelectorAll('.swiper-slide')).forEach(slide => {\n if (!slide.classList.contains('base')) {\n let thisLink = slide.querySelector('a.meta-item-link').getAttribute('href');\n if (link === thisLink) result.push(slide);\n }\n });\n }\n\n return result;\n}\n\nfunction init(slider) {\n slider.init();\n\n // Set up a mutation observer against each base slide, as it'll get redrawn as the components get rendered\n for (let x = 0; x < slider.slides.length; x++) {\n let slide = slider.slides[x];\n\n slide.classList.add('base');\n\n if (infiniteScrollEnabled(slider)) {\n let config = { subtree: true, childList: true };\n\n let observer = new MutationObserver(mutations => {\n for (let y = 0; y < mutations.length; y++) {\n let mutationRecord = mutations[y];\n\n // var href = mutationRecord.target.closest('a.meta-item-link').getAttribute('href');\n let thisSlide = mutationRecord.target.closest('.swiper-slide');\n if (thisSlide) {\n let thisLink = thisSlide.querySelector('a.meta-item-link').getAttribute('href');\n\n let duplicatedSlides = getMatchingDuplicatedSlides(slider, thisLink);\n\n Array.from(duplicatedSlides).forEach(dupe => {\n dupe.innerHTML = thisSlide.innerHTML;\n });\n }\n }\n });\n\n observer.observe(slide, config);\n\n slideObservers.push(observer);\n }\n }\n\n addAndRemoveSlides(slider);\n\n return true;\n}\n\nfunction infiniteScrollEnabled(slider) {\n if (!Modernizr.smil) return false; // i.e. is this IE11\n\n if (isTouchscreenEnabled()) return false; // i.e. is this a touchscreen device?\n\n let el = slider.el;\n\n if (el.getAttribute('disable-infinite-scroll') !== null) {\n return false;\n }\n\n let prev = el.buttons.prev;\n let next = el.buttons.next;\n\n // Only infinite scroll on desktop (i.e. when the next/prev buttons are visible)\n let buttonsVisible = (prev && prev.offsetHeight > 0) || (next && next.offsetHeight > 0);\n\n let screens = slider.slides.length / slider.params.slidesPerView;\n\n return buttonsVisible && screens > 1;\n}\n\nfunction addAndRemoveSlides(slider, append, prepend) {\n // This is a no-go\n if (!infiniteScrollEnabled(slider)) return;\n\n // Just in case something's gone horribly wrong\n if (slider.slides.length > 100) {\n return;\n }\n\n if (append) {\n let lastVisibleIndex = slider.activeIndex + slider.params.slidesPerView;\n let slidesToTheRight = slider.slides.length - lastVisibleIndex;\n\n if (slidesToTheRight <= slider.params.slidesPerView) {\n appendBaseSlides(slider);\n }\n }\n\n if (prepend) {\n if (slider.activeIndex <= slider.params.slidesPerView) {\n prependBaseSlides(slider);\n }\n }\n}\n\nfunction getBaseSlides(slider) {\n let result = Array.from(slider.el.querySelectorAll('.swiper-slide.base')).map(node => {\n return node.cloneNode(true);\n });\n\n Array.from(result).forEach(slide => {\n slide.classList.remove(\n 'base',\n 'swiper-slide-visible',\n 'swiper-slide-active',\n 'swiper-slide-next',\n 'swiper-slide-prev'\n );\n });\n\n return result;\n}\n\nfunction appendBaseSlides(slider) {\n let baseSlides = getBaseSlides(slider).slice(0);\n slider.appendSlide(baseSlides);\n\n cullSlides(slider, 1);\n}\n\nfunction prependBaseSlides(slider) {\n // var baseSlides = getBaseSlides(slider).reverse().slice(0);\n let baseSlides = getBaseSlides(slider).reverse().slice(0);\n\n let currentIndex = slider.activeIndex;\n\n for (let i = 0; i < baseSlides.length; i++) {\n slider.prependSlide(baseSlides[i]);\n }\n slider.slideTo(currentIndex + baseSlides.length, 0);\n\n cullSlides(slider, -1);\n}\n\n// Get rid of the oldest N slides to the left of current\nfunction cullSlides(slider, direction) {\n let baseSlides = getBaseSlides(slider);\n\n let indices = [];\n for (let index = 0; index < slider.slides.length; index++) {\n let slide = slider.slides[index];\n if (direction > 0) {\n if (index < slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n } else if (index > slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n }\n\n if (indices.length > baseSlides.length) {\n let toCullIndices = [];\n if (direction > 0) {\n toCullIndices = indices.slice(0, baseSlides.length);\n } else {\n toCullIndices = indices.reverse().slice(0, baseSlides.length).reverse();\n }\n\n slider.removeSlide(toCullIndices.reverse());\n }\n}\n\nfunction initSearch() {\n let searchButton = document.querySelector('.btn-search-open');\n let searchForm = document.querySelector('.form-control-search');\n\n let openSearch = function () {\n document.querySelector('.form-control-search').focus();\n document.querySelector('.navbar-nav-search').classList.add('search-show');\n document.querySelector('.navbar-nav-search').classList.remove('search-hidden');\n };\n\n let closeSearch = function () {\n document.querySelector('.navbar-nav-search').classList.remove('search-show');\n document.querySelector('.navbar-nav-search').classList.add('search-hidden');\n };\n\n searchButton.addEventListener('click', openSearch, false);\n searchForm.addEventListener('focusin', openSearch, false);\n searchForm.addEventListener('focusout', closeSearch, false);\n}\n\nfunction initScroll() {\n let nav = document.querySelector('.navbar-toggler');\n if (nav) {\n nav.addEventListener('click', () => {\n toggleScroll();\n });\n }\n}\n\nfunction toggleScroll() {\n let body = document.querySelector('body');\n if (!body.classList.contains('no-scroll')) {\n body.classList.add('no-scroll');\n } else {\n body.classList.remove('no-scroll');\n }\n}\n\nfunction documentReady(app) {\n initializeCustomSliders();\n\n app.classificationsService.load('/classifications.all.json');\n app.urlMapService.load('/urlmap.json');\n\n detectTouchscreen();\n\n let swipers = document.getElementsByClassName('swiper-container');\n for (let i = 0; i < swipers.length; i++) {\n let el = swipers[i];\n if (el.getAttribute('is-wishlist') == undefined) {\n let swiper = initializeSwiper(el, false);\n init(swiper);\n\n toggleButtons(el);\n }\n }\n\n document.querySelectorAll('.s72-btn-trailer:not(.s72-btn-play)').forEach(btn => {\n btn.addEventListener('click', e => {\n e.preventDefault();\n e.stopPropagation();\n });\n });\n\n document.querySelectorAll('.navbar-nav').forEach(nav => {\n nav.classList.remove('s72-hide');\n });\n\n if (document.querySelector('.navbar-nav-search')) {\n initSearch();\n }\n initScroll();\n}\n\nfunction detectTouchscreen() {\n let touchEnabled = s72.utils.device.isTouchEnabled();\n document.querySelector('html').setAttribute('is-touchscreen', touchEnabled);\n}\n\nfunction isTouchscreenEnabled() {\n return document.querySelector('html').getAttribute('is-touchscreen') === 'true';\n}\ndocument.addEventListener('s72loaded', event => {\n let app = event.detail.app;\n documentReady(app);\n});\n"],"names":["super","this","utils","let","getComponentElement","AppComponent","bindAllComponents","render","h","attrs","y"],"mappings":";;;EAAA;EACA;EACA,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,EAAA,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,C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AU,EAAE,CAAC;EACf,CAAC;AACD;EACA,SAAS,iBAAiB,GAAG;EAC7B,EAAEA,IAAI,YAAY,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;EACvD,EAAE,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;EAC9E,CAAC;AACD;EACA,SAAS,oBAAoB,GAAG;EAChC,EAAE,OAAO,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,MAAM,CAAC;EAClF,CAAC;EACD,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAA,UAAE,OAAS;EAChD,EAAEA,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;EAC7B,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;EACrB,CAAC,CAAC;;;;;;"}
|
@@ -60,7 +60,7 @@
|
|
60
60
|
--live-label-background-color: var(--hover-background);
|
61
61
|
--live-label-live-background-color: var(--live-red);
|
62
62
|
|
63
|
-
--tooltip-color: var(--
|
63
|
+
--tooltip-color: var(--button-text-color, #000);
|
64
64
|
--tooltip-bg: var(--primary, #00a3ff);
|
65
65
|
--tooltip-arrow-color: var(--tooltip-bg);
|
66
66
|
|
@@ -111,9 +111,9 @@
|
|
111
111
|
--signin-sso-btn-background-hover-color: var(--button-background-hover);
|
112
112
|
|
113
113
|
// Carousel
|
114
|
-
--carousel-height:
|
115
|
-
--carousel-height-sm:
|
116
|
-
--carousel-height-lg:
|
114
|
+
--carousel-height: 82vh;
|
115
|
+
--carousel-height-sm: 82vh;
|
116
|
+
--carousel-height-lg: 82vh;
|
117
117
|
--carousel-bottom-gradient-height: 200px; // Increase this to 300px for light theme.
|
118
118
|
--carousel-bottom-gradient-height-sm: 200px; // Increase this to 300px for light theme.
|
119
119
|
--carousel-bottom-gradient-height-lg: 200px; // Increase this to 600px for light theme.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{{import "./page_collection_item.jet"}}
|
2
|
+
{{import "../common/slider.jet"}}
|
3
|
+
{{import "./slider-buttons.jet"}}
|
4
|
+
|
5
|
+
{{block continueWatchingCollection()}}
|
6
|
+
{{layout := config("default_image_type")}}
|
7
|
+
{{itemsPerRow := layout == "portrait" ? 6 : 4}}
|
8
|
+
<s72-continue-watching
|
9
|
+
hide-if-empty="true"
|
10
|
+
partials-base-path="/partials"
|
11
|
+
partials-classes="swiper-slide"
|
12
|
+
partials-insert-point-selector=".swiper-wrapper"
|
13
|
+
force-login="false"
|
14
|
+
data-item-layout="{{layout}}"
|
15
|
+
data-items-per-page="{{itemsPerRow}}"
|
16
|
+
class="user-continue-watching s72-slider s72-hide">
|
17
|
+
<section class="page-collection" aria-label="{{i18n("wcag_aria_label_continue_watching")}}">
|
18
|
+
<div class="collection-wrapper-container swiper-wrapper-container">
|
19
|
+
<div class="collection-container swiper-container" data-items-per-row="{{itemsPerRow}}" data-layout="{{layout}}">
|
20
|
+
{{if i18n("continue_watching_slider_header") != ""}}
|
21
|
+
<div class="swiper-title">
|
22
|
+
<h3>{{i18n("continue_watching_slider_header")}}</h3>
|
23
|
+
</div>
|
24
|
+
{{end}}
|
25
|
+
<div class="swiper-wrapper">
|
26
|
+
{{yield content}}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
{{yield sliderButtons()}}
|
30
|
+
</div>
|
31
|
+
</section>
|
32
|
+
</s72-continue-watching>
|
33
|
+
{{end}}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
{{import "templates/collection/page_collection.jet"}}
|
3
3
|
{{import "../collection/carousel/carousel.jet"}}
|
4
4
|
{{import "templates/collection/wishlist.jet"}}
|
5
|
+
{{import "templates/collection/continue_watching.jet"}}
|
5
6
|
|
6
7
|
{{block head()}}
|
7
8
|
{{yield seo() page}}
|
@@ -23,6 +24,11 @@
|
|
23
24
|
<div class="other-sliders">
|
24
25
|
<h2 class="sr-only">{{i18n("wcag_collections_h2")}}</h2>
|
25
26
|
<div class="other-sliders-container">
|
27
|
+
|
28
|
+
{{if config("continue_watching") == "true"}}
|
29
|
+
{{yield continueWatchingCollection()}}
|
30
|
+
{{end}}
|
31
|
+
|
26
32
|
{{yield wishlistCollection()}}
|
27
33
|
{{range index, pf := page.PageCollections}}
|
28
34
|
{{if index == 1}}{{yield pageCollection() pf}}{{end}}
|
@@ -38,4 +44,4 @@
|
|
38
44
|
</div>
|
39
45
|
</div>
|
40
46
|
</main>
|
41
|
-
{{end}}
|
47
|
+
{{end}}
|
package/site/tr_TR.all.json
CHANGED
@@ -1715,5 +1715,11 @@
|
|
1715
1715
|
},
|
1716
1716
|
"confirm_delete_check_box_message": {
|
1717
1717
|
"other": "Bu eylemin kalıcı olduğunu anlıyorum"
|
1718
|
+
},
|
1719
|
+
"continue_watching_slider_header": {
|
1720
|
+
"other": "İzlemeye Devam Et"
|
1721
|
+
},
|
1722
|
+
"wcag_aria_label_continue_watching": {
|
1723
|
+
"other": "İzlemeye Devam Et"
|
1718
1724
|
}
|
1719
1725
|
}
|
package/site/uk_UA.all.json
CHANGED
@@ -1775,5 +1775,11 @@
|
|
1775
1775
|
},
|
1776
1776
|
"confirm_delete_check_box_message": {
|
1777
1777
|
"other": "Я розумію, що ця дія є постійною"
|
1778
|
+
},
|
1779
|
+
"continue_watching_slider_header": {
|
1780
|
+
"other": "Продовжити перегляд"
|
1781
|
+
},
|
1782
|
+
"wcag_aria_label_continue_watching": {
|
1783
|
+
"other": "Продовжити перегляд"
|
1778
1784
|
}
|
1779
1785
|
}
|
package/site/zh_TW.all.json
CHANGED