@shift72/core-template 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/CHANGELOG.md +39 -6
  2. package/kibble.json +1 -1
  3. package/package.json +1 -1
  4. package/site/ar_LB.all.json +27 -12
  5. package/site/ca_ES.all.json +28 -13
  6. package/site/da_DK.all.json +28 -13
  7. package/site/de_DE.all.json +27 -12
  8. package/site/el_EL.all.json +28 -13
  9. package/site/en_AU.all.json +27 -12
  10. package/site/es_ES.all.json +28 -13
  11. package/site/es_MX.all.json +27 -12
  12. package/site/et_ET.all.json +27 -12
  13. package/site/fi_FI.all.json +28 -13
  14. package/site/fr_FR.all.json +28 -13
  15. package/site/hr_HR.all.json +28 -13
  16. package/site/hu_HU.all.json +28 -13
  17. package/site/it_IT.all.json +26 -11
  18. package/site/ja_JP.all.json +27 -12
  19. package/site/lt_LT.all.json +28 -13
  20. package/site/manifest.json.jet +2 -2
  21. package/site/nl_BE.all.json +27 -12
  22. package/site/no_NO.all.json +28 -13
  23. package/site/pl_PL.all.json +28 -13
  24. package/site/plans.html.jet +1 -1
  25. package/site/pt_BR.all.json +28 -13
  26. package/site/pt_PT.all.json +28 -13
  27. package/site/ru_RU.all.json +28 -13
  28. package/site/sr_SR.all.json +28 -13
  29. package/site/static/fonts/fa-s72.woff +0 -0
  30. package/site/static/js/main.js +0 -1
  31. package/site/static/scripts/main.js.map +1 -1
  32. package/site/styles/_availability-tags.scss +1 -3
  33. package/site/styles/_awards.scss +16 -10
  34. package/site/styles/_buttons.scss +19 -95
  35. package/site/styles/_can-be-watched-button.scss +1 -1
  36. package/site/styles/_carousel.scss +41 -28
  37. package/site/styles/_collections.scss +17 -33
  38. package/site/styles/_cta-buttons.scss +3 -75
  39. package/site/styles/_footer.scss +5 -9
  40. package/site/styles/_forms.scss +7 -4
  41. package/site/styles/_icons.scss +22 -9
  42. package/site/styles/_meta-detail.scss +44 -56
  43. package/site/styles/_meta-item-tagline.scss +2 -6
  44. package/site/styles/_meta-item.scss +0 -4
  45. package/site/styles/_meta-sub-item.scss +0 -4
  46. package/site/styles/_mixins.scss +17 -15
  47. package/site/styles/_pages.scss +21 -49
  48. package/site/styles/_plans.scss +4 -0
  49. package/site/styles/_search.scss +0 -2
  50. package/site/styles/_share-modal.scss +0 -4
  51. package/site/styles/_shopping.scss +0 -5
  52. package/site/styles/_tooltips.scss +13 -0
  53. package/site/styles/_typography.scss +87 -0
  54. package/site/styles/_variables.scss +14 -4
  55. package/site/styles/_wishlist.scss +8 -14
  56. package/site/styles/main.scss +1 -0
  57. package/site/templates/application/footer/brand.jet +4 -4
  58. package/site/templates/application/footer/copyright-statement.jet +1 -1
  59. package/site/templates/application/nav/nav.jet +2 -2
  60. package/site/templates/collection/carousel/item/synopsis.jet +5 -3
  61. package/site/templates/collection/carousel/item.jet +8 -5
  62. package/site/templates/common/awards/item.jet +2 -2
  63. package/site/templates/common/cta_buttons.jet +4 -12
  64. package/site/templates/film/item.jet +3 -3
  65. package/site/templates/items/meta_item.jet +20 -6
  66. package/site/templates/items/tagline.jet +25 -50
  67. package/site/templates/tv/detail.jet +1 -1
  68. package/site/tr_TR.all.json +28 -13
  69. package/site/uk_UA.all.json +28 -13
  70. package/site/zh_TW.all.json +27 -12
@@ -1,7 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
2
  "settings_title": {
6
3
  "other": "Configurações"
7
4
  },
@@ -70,9 +67,6 @@
70
67
  "404_page_content": {
71
68
  "other": "<p>Desculpe-nos, parece que a página que você está procurando não existe.</p><p>Ela pode ter sido removida, ou talvez você tenha digitado algo errado.</p><p>Tente voltar para a Página Inicial para buscar o que você estava procurando.</p><p><a href=\"{{.URL}}\">Voltar a Página Inicial</a></p>"
72
69
  },
73
- "nav_homepage": {
74
- "other": "ABC Cinemas"
75
- },
76
70
  "nav_signin": {
77
71
  "other": "Entrar"
78
72
  },
@@ -131,7 +125,7 @@
131
125
  "other": "Buscar"
132
126
  },
133
127
  "play_button_watch": {
134
- "other": "Assistir Agora"
128
+ "other": "Assista agora"
135
129
  },
136
130
  "play_button_resume": {
137
131
  "other": "Continuar"
@@ -814,7 +808,7 @@
814
808
  "other": "Adicionar à minha lista"
815
809
  },
816
810
  "userwishlist_button_remove": {
817
- "other": "Minha Lista"
811
+ "other": "Remover da minha lista"
818
812
  },
819
813
  "userwishlist_button_add_compact": {
820
814
  "other": "Minha Lista"
@@ -962,7 +956,7 @@
962
956
  "other": "(expirado)"
963
957
  },
964
958
  "shopping_card_use_other": {
965
- "other": "Use um novo cartão."
959
+ "other": "Adicionar novo cartão"
966
960
  },
967
961
  "shopping_card_use_new_card": {
968
962
  "other": "Mudar cartão."
@@ -977,7 +971,7 @@
977
971
  "other": "O cartão de crédito não está correto? <a href=\"{{.SubscriptionsURL}}\"> Clique aqui para atualizar seu cartão. </a>"
978
972
  },
979
973
  "shopping_info_ownership_plan": {
980
- "other": "Inscrição"
974
+ "other": "Plano"
981
975
  },
982
976
  "shopping_action_credit": {
983
977
  "other": "Completar"
@@ -1004,10 +998,10 @@
1004
998
  "other": "Cancelar minha assinaturan"
1005
999
  },
1006
1000
  "usersubscriptions_unsubscribe_modal_cancel": {
1007
- "other": "Cancelar"
1001
+ "other": "Não, obrigado"
1008
1002
  },
1009
1003
  "usersubscriptions_unsubscribe_modal_confirm": {
1010
- "other": "Sim, cancelar minha assinatura"
1004
+ "other": "Sim, cancelar"
1011
1005
  },
1012
1006
  "usersubscriptions_unsubscribe_modal_title": {
1013
1007
  "other": "Cancelar assinatura?"
@@ -1195,7 +1189,7 @@
1195
1189
  "other": "Completo"
1196
1190
  },
1197
1191
  "shopping_complete_subscription": {
1198
- "other": "Sua compra de assinatura foi bem-sucedida. Agora você está inscrito em {{.Title}} ."
1192
+ "other": "Sua compra de assinatura foi bem-sucedida. Agora você está inscrito em {{.Title}}."
1199
1193
  },
1200
1194
  "shopping_complete_subscription_browse": {
1201
1195
  "other": "Fique à vontade para <a href=\"/\">navegar pelo</a> site ou <a href=\"/search.html\">pesquisar</a> algo específico."
@@ -1318,5 +1312,26 @@
1318
1312
  },
1319
1313
  "bundle_items_generic": {
1320
1314
  "other": "{{.Count}} Itens"
1315
+ },
1316
+ "shopping_card_update_reason_expired": {
1317
+ "other": "Atualize seu cartão de crédito. Os cartões suportados são Visa, Mastercard e American Express."
1318
+ },
1319
+ "shopping_discount_applied_promo": {
1320
+ "other": "Código aplicado com sucesso."
1321
+ },
1322
+ "promo_only_purchases_must_be_100_percent_discounted": {
1323
+ "other": "Insira um código promocional válido."
1324
+ },
1325
+ "shopping_complete_promo_only": {
1326
+ "other": "Agora você pode assistir {{.Title}}."
1327
+ },
1328
+ "shopping_action_redeem_promo_code": {
1329
+ "other": "Resgatar"
1330
+ },
1331
+ "pricing_ownership_promo": {
1332
+ "other": "Resgatar"
1333
+ },
1334
+ "shopping_info_ownership_subscription": {
1335
+ "other": "Inscrição"
1321
1336
  }
1322
1337
  }
@@ -1,7 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
2
  "settings_title": {
6
3
  "other": "Configurações"
7
4
  },
@@ -70,9 +67,6 @@
70
67
  "404_page_content": {
71
68
  "other": "<p>Desculpe-nos, parece que a página que você está procurando não existe.</p><p>Ela pode ter sido removida, ou talvez você tenha digitado algo errado.</p><p>Tente voltar para a Página Inicial para buscar o que você estava procurando.</p><p><a href=\"{{.URL}}\">Voltar a Página Inicial</a></p>"
72
69
  },
73
- "nav_homepage": {
74
- "other": "ABC Cinemas"
75
- },
76
70
  "nav_signin": {
77
71
  "other": "Entrar"
78
72
  },
@@ -128,7 +122,7 @@
128
122
  "other": "Buscar"
129
123
  },
130
124
  "play_button_watch": {
131
- "other": "Assistir Agora"
125
+ "other": "Assista agora"
132
126
  },
133
127
  "play_button_resume": {
134
128
  "other": "Continuar"
@@ -739,7 +733,7 @@
739
733
  "other": "Adicionar à minha lista"
740
734
  },
741
735
  "userwishlist_button_remove": {
742
- "other": "Minha Lista"
736
+ "other": "Remover da minha lista"
743
737
  },
744
738
  "userwishlist_button_add_compact": {
745
739
  "other": "Minha Lista"
@@ -881,13 +875,13 @@
881
875
  "other": "(expirada)"
882
876
  },
883
877
  "shopping_card_use_other": {
884
- "other": "Usar um novo cartão"
878
+ "other": "Adicionar novo cartão"
885
879
  },
886
880
  "shopping_card_use_new_card": {
887
881
  "other": "Alterar cartão"
888
882
  },
889
883
  "shopping_info_ownership_plan": {
890
- "other": "Inscrição"
884
+ "other": "Plano"
891
885
  },
892
886
  "shopping_action_credit": {
893
887
  "other": "Completar"
@@ -914,10 +908,10 @@
914
908
  "other": "Cancelar minha assinaturan"
915
909
  },
916
910
  "usersubscriptions_unsubscribe_modal_cancel": {
917
- "other": "Cancelar"
911
+ "other": "Não, obrigado"
918
912
  },
919
913
  "usersubscriptions_unsubscribe_modal_confirm": {
920
- "other": "Sim, cancelar minha assinatura"
914
+ "other": "Sim, cancelar"
921
915
  },
922
916
  "usersubscriptions_unsubscribe_modal_title": {
923
917
  "other": "Cancelar assinatura?"
@@ -1015,7 +1009,7 @@
1015
1009
  "other": "Completo"
1016
1010
  },
1017
1011
  "shopping_complete_subscription": {
1018
- "other": "Sua compra de assinatura foi bem-sucedida. Agora você está inscrito em {{.Title}} ."
1012
+ "other": "Sua compra de assinatura foi bem-sucedida. Agora você está inscrito em {{.Title}}."
1019
1013
  },
1020
1014
  "shopping_complete_subscription_browse": {
1021
1015
  "other": "Fique à vontade para <a href=\"/\">navegar pelo</a> site ou <a href=\"/search.html\">pesquisar</a> algo específico."
@@ -1318,5 +1312,26 @@
1318
1312
  },
1319
1313
  "bundle_items_generic": {
1320
1314
  "other": "{{.Count}} Itens"
1315
+ },
1316
+ "shopping_card_update_reason_expired": {
1317
+ "other": "Atualize seu cartão de crédito. Os cartões suportados são Visa, Mastercard e American Express."
1318
+ },
1319
+ "shopping_discount_applied_promo": {
1320
+ "other": "Código aplicado com sucesso."
1321
+ },
1322
+ "promo_only_purchases_must_be_100_percent_discounted": {
1323
+ "other": "Insira um código promocional válido."
1324
+ },
1325
+ "shopping_complete_promo_only": {
1326
+ "other": "Agora você pode assistir {{.Title}}."
1327
+ },
1328
+ "shopping_action_redeem_promo_code": {
1329
+ "other": "Resgatar"
1330
+ },
1331
+ "pricing_ownership_promo": {
1332
+ "other": "Resgatar"
1333
+ },
1334
+ "shopping_info_ownership_subscription": {
1335
+ "other": "Inscrição"
1321
1336
  }
1322
1337
  }
@@ -1,10 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
- "nav_homepage": {
6
- "other": "ABC Cinemas"
7
- },
8
2
  "settings_title": {
9
3
  "other": "Settings"
10
4
  },
@@ -130,7 +124,7 @@
130
124
  "other": "Начать поиск"
131
125
  },
132
126
  "play_button_watch": {
133
- "other": "Запустить сейчас"
127
+ "other": "Смотри"
134
128
  },
135
129
  "play_button_resume": {
136
130
  "other": "Поделиться"
@@ -766,7 +760,7 @@
766
760
  "other": "Добавить в мой список"
767
761
  },
768
762
  "userwishlist_button_remove": {
769
- "other": "Мой список"
763
+ "other": "Удалить из моего списка"
770
764
  },
771
765
  "userwishlist_button_add_compact": {
772
766
  "other": "Мой список"
@@ -909,13 +903,13 @@
909
903
  "other": "(истекший)"
910
904
  },
911
905
  "shopping_card_use_other": {
912
- "other": "Использовать новую карту"
906
+ "other": "Добавить новую карту"
913
907
  },
914
908
  "shopping_card_use_new_card": {
915
909
  "other": "Изменить карту"
916
910
  },
917
911
  "shopping_info_ownership_plan": {
918
- "other": "Подписка"
912
+ "other": "План"
919
913
  },
920
914
  "shopping_action_credit": {
921
915
  "other": "Пополнить"
@@ -942,10 +936,10 @@
942
936
  "other": "Отменить мою подписку"
943
937
  },
944
938
  "usersubscriptions_unsubscribe_modal_cancel": {
945
- "other": "Отмена"
939
+ "other": "Спасибо, не надо"
946
940
  },
947
941
  "usersubscriptions_unsubscribe_modal_confirm": {
948
- "other": "Да, отмените мою подписку"
942
+ "other": "Да, отменить"
949
943
  },
950
944
  "usersubscriptions_unsubscribe_modal_title": {
951
945
  "other": "Отменить подписку?"
@@ -1047,7 +1041,7 @@
1047
1041
  "other": "Полный"
1048
1042
  },
1049
1043
  "shopping_complete_subscription": {
1050
- "other": "Ваша подписка была приобретена. Теперь вы подписаны на {{.Title}} ."
1044
+ "other": "Ваша подписка была приобретена. Теперь вы подписаны на {{.Title}}."
1051
1045
  },
1052
1046
  "shopping_complete_subscription_browse": {
1053
1047
  "other": "Не стесняйтесь <a href=\"/\">просматривать</a> сайт или <a href=\"/search.html\">искать</a> что-то конкретное."
@@ -1344,5 +1338,26 @@
1344
1338
  },
1345
1339
  "bundle_items_generic": {
1346
1340
  "other": "{{.Count}} Предметы"
1341
+ },
1342
+ "shopping_card_update_reason_expired": {
1343
+ "other": "Обновите свою кредитную карту. Поддерживаются карты Visa, Mastercard и American Express."
1344
+ },
1345
+ "shopping_discount_applied_promo": {
1346
+ "other": "Код успешно применен."
1347
+ },
1348
+ "promo_only_purchases_must_be_100_percent_discounted": {
1349
+ "other": "Пожалуйста, введите действительный промо-код."
1350
+ },
1351
+ "shopping_complete_promo_only": {
1352
+ "other": "Теперь вы можете смотреть {{.Title}}."
1353
+ },
1354
+ "shopping_action_redeem_promo_code": {
1355
+ "other": "Выкупать"
1356
+ },
1357
+ "pricing_ownership_promo": {
1358
+ "other": "Выкупать"
1359
+ },
1360
+ "shopping_info_ownership_subscription": {
1361
+ "other": "Подписка"
1347
1362
  }
1348
1363
  }
@@ -1,7 +1,4 @@
1
1
  {
2
- "site_owner": {
3
- "other": "ABC Cinemas"
4
- },
5
2
  "settings_title": {
6
3
  "other": "Settings"
7
4
  },
@@ -70,9 +67,6 @@
70
67
  "404_page_content": {
71
68
  "other": "<p>Нажалост, изледа да страница коју тражите не постоји.</p><p>Можда је премештена или обрисана или сте направили грешку при писању.</p><p>Покушајте да се вратите на почетну страницу и пронађете то што тражите.</p><p><a href=\"{{.URL}}\">Назад на почетну страницу</a></p>"
72
69
  },
73
- "nav_homepage": {
74
- "other": "ABC Cinemas"
75
- },
76
70
  "nav_signin": {
77
71
  "other": "Пријавите се"
78
72
  },
@@ -128,7 +122,7 @@
128
122
  "other": "Пошаљите претрагу"
129
123
  },
130
124
  "play_button_watch": {
131
- "other": "Гледајте одмах"
125
+ "other": "Гледај сада"
132
126
  },
133
127
  "play_button_resume": {
134
128
  "other": "Наставите"
@@ -760,7 +754,7 @@
760
754
  "other": "Додај на Моју листу"
761
755
  },
762
756
  "userwishlist_button_remove": {
763
- "other": "Моја листа"
757
+ "other": "Уклони са моје листе"
764
758
  },
765
759
  "userwishlist_button_add_compact": {
766
760
  "other": "Моја листа"
@@ -908,7 +902,7 @@
908
902
  "other": "(истекший)"
909
903
  },
910
904
  "shopping_card_use_other": {
911
- "other": "Использовать новую карту"
905
+ "other": "Додајте нову картицу"
912
906
  },
913
907
  "shopping_card_use_new_card": {
914
908
  "other": "Изменить карту"
@@ -923,7 +917,7 @@
923
917
  "other": "Кредитная карта не правильная? <a href=\"{{.SubscriptionsURL}}\">Нажмите здесь, чтобы обновить свою карту.</a>"
924
918
  },
925
919
  "shopping_info_ownership_plan": {
926
- "other": "Подписка"
920
+ "other": "План"
927
921
  },
928
922
  "shopping_action_credit": {
929
923
  "other": "Пополнить"
@@ -950,10 +944,10 @@
950
944
  "other": "Отменить мою подписку"
951
945
  },
952
946
  "usersubscriptions_unsubscribe_modal_cancel": {
953
- "other": "Отмена"
947
+ "other": "Не хвала"
954
948
  },
955
949
  "usersubscriptions_unsubscribe_modal_confirm": {
956
- "other": "Да, отмените мою подписку"
950
+ "other": "Да, откажи"
957
951
  },
958
952
  "usersubscriptions_unsubscribe_modal_title": {
959
953
  "other": "Отменить подписку?"
@@ -1104,7 +1098,7 @@
1104
1098
  "other": "комплетан"
1105
1099
  },
1106
1100
  "shopping_complete_subscription": {
1107
- "other": "Ваша куповина претплате је била успешна. Сада сте претплаћени на {{.Title}} ."
1101
+ "other": "Ваша куповина претплате је била успешна. Сада сте претплаћени на {{.Title}}."
1108
1102
  },
1109
1103
  "shopping_complete_subscription_browse": {
1110
1104
  "other": "Слободно <a href=\"/\">претражујте по</a> сајту или <a href=\"/search.html\">тражите</a> нешто специфично."
@@ -1320,5 +1314,26 @@
1320
1314
  },
1321
1315
  "bundle_items_generic": {
1322
1316
  "other": "{{.Count}} ставке"
1317
+ },
1318
+ "shopping_card_update_reason_expired": {
1319
+ "other": "Ажурирајте своју кредитну картицу. Подржане картице су Виса, Мастерцард и Америцан Екпресс."
1320
+ },
1321
+ "shopping_discount_applied_promo": {
1322
+ "other": "Код је успешно примењен."
1323
+ },
1324
+ "promo_only_purchases_must_be_100_percent_discounted": {
1325
+ "other": "Унесите важећи промотивни код."
1326
+ },
1327
+ "shopping_complete_promo_only": {
1328
+ "other": "Сада можете гледати {{.Title}}."
1329
+ },
1330
+ "shopping_action_redeem_promo_code": {
1331
+ "other": "Искупити"
1332
+ },
1333
+ "pricing_ownership_promo": {
1334
+ "other": "Искупити"
1335
+ },
1336
+ "shopping_info_ownership_subscription": {
1337
+ "other": "Претплата"
1323
1338
  }
1324
1339
  }
Binary file
@@ -482,7 +482,6 @@ function documentReady(app) {
482
482
  btn.addEventListener('click', e => {
483
483
  e.preventDefault();
484
484
  e.stopPropagation();
485
- window.location = btn.getAttribute('data-url');
486
485
  });
487
486
  });
488
487
 
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sources":["../js/modernizr-custom.js","../js/can-be-watched-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 './modernizr-custom.js';\nimport './can-be-watched-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 nav.addEventListener('click', () => {\n toggleScroll();\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 window.location = btn.getAttribute('data-url');\n });\n });\n\n document.querySelectorAll('.navbar-nav').forEach(nav => {\n nav.classList.remove('s72-hide');\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,CAAC,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U,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/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 './modernizr-custom.js';\nimport './can-be-watched-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 nav.addEventListener('click', () => {\n toggleScroll();\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 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,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,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M,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,10 +1,8 @@
1
1
  s72-availability-label {
2
- font-weight: $font-weight-light;
3
2
  .availability-state {
4
3
  @extend .d-flex;
5
4
  @extend .mb-2;
6
- font-size: 16px;
7
- letter-spacing: 0.4px;
5
+ @include body-1-style;
8
6
  line-height: 24px;
9
7
 
10
8
  &::before {