j1-template 2023.9.1 → 2023.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (740) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_page.html +1 -1
  5. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  6. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  7. data/_includes/themes/j1/layouts/layout_metadata_generator.html +1 -1
  8. data/_includes/themes/j1/layouts/layout_module_generator.html +1 -1
  9. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -1
  10. data/_includes/themes/j1/modules/attics/generator.html +1 -1
  11. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  12. data/_includes/themes/j1/modules/searcher/generator.html +1 -1
  13. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +1 -1
  14. data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
  15. data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
  16. data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
  17. data/_includes/themes/j1/procedures/blocks/footer/boxes/legal_statements.proc +1 -1
  18. data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
  19. data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
  20. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +1 -1
  21. data/_includes/themes/j1/procedures/blocks/get_wave.proc +1 -1
  22. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
  23. data/_includes/themes/j1/procedures/collections/pager.proc +1 -1
  24. data/_includes/themes/j1/procedures/global/attributes_loader.proc +1 -1
  25. data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +1 -1
  26. data/_includes/themes/j1/procedures/global/collect_page_options.proc +1 -1
  27. data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
  28. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -1
  29. data/_includes/themes/j1/procedures/global/date-german.proc +1 -1
  30. data/_includes/themes/j1/procedures/global/get_category.proc +1 -1
  31. data/_includes/themes/j1/procedures/global/get_category_item.proc +1 -1
  32. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
  33. data/_includes/themes/j1/procedures/global/get_page_path.proc +1 -1
  34. data/_includes/themes/j1/procedures/global/get_page_url.proc +1 -1
  35. data/_includes/themes/j1/procedures/global/select_color.proc +1 -1
  36. data/_includes/themes/j1/procedures/global/select_font_size.proc +1 -1
  37. data/_includes/themes/j1/procedures/global/select_icon_size.proc +1 -1
  38. data/_includes/themes/j1/procedures/global/select_location.proc +1 -1
  39. data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +1 -1
  40. data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
  41. data/_includes/themes/j1/procedures/global/set_image_block.proc +1 -1
  42. data/_includes/themes/j1/procedures/global/setup.proc +1 -1
  43. data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -1
  44. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
  45. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  46. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +1 -1
  47. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
  48. data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
  49. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +1 -1
  50. data/_includes/themes/j1/procedures/posts/create_ad_block.proc +1 -1
  51. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  52. data/_includes/themes/j1/procedures/posts/pager.proc +1 -1
  53. data/_layouts/_home.html +1 -1
  54. data/_layouts/autopage_category.html +1 -1
  55. data/_layouts/autopage_collection.html +1 -1
  56. data/_layouts/autopage_collections_tags.html +1 -1
  57. data/_layouts/autopage_tags.html +1 -1
  58. data/_layouts/collection.html +1 -1
  59. data/_layouts/compress.html +1 -1
  60. data/_layouts/default.html +1 -1
  61. data/_layouts/home.html +1 -1
  62. data/_layouts/news_panel_posts.html +1 -1
  63. data/_layouts/page.html +1 -1
  64. data/_layouts/post.html +1 -1
  65. data/_layouts/raw.html +1 -1
  66. data/apps/public/cc/cc.yml +1 -1
  67. data/assets/data/authclient.html +2 -2
  68. data/assets/data/banner.html +5 -5
  69. data/assets/data/carousel.json +1 -1
  70. data/assets/data/cookieconsent.html +2 -2
  71. data/assets/data/fab.html +2 -2
  72. data/assets/data/footer.html +2 -2
  73. data/assets/data/galeries.html +240 -0
  74. data/assets/data/gallery_customizer.html +2 -2
  75. data/assets/data/iso-639-language-codes-flags.json +1 -1
  76. data/assets/data/iso-639-language-codes.json +1 -1
  77. data/assets/data/j1_config.json +1 -1
  78. data/assets/data/masonry.html +99 -86
  79. data/assets/data/masterslider.html +2 -2
  80. data/assets/data/mdi_icons.json +1 -1
  81. data/assets/data/mdil_icons.json +1 -1
  82. data/assets/data/menu.html +2 -2
  83. data/assets/data/mmenu.html +2 -2
  84. data/assets/data/mmenu_sidebar.html +2 -2
  85. data/assets/data/mmenu_toc.html +2 -2
  86. data/assets/data/panel.html +2 -2
  87. data/assets/data/particles.yml +1 -1
  88. data/assets/data/private.json +1 -1
  89. data/assets/data/quicklinks.html +2 -2
  90. data/assets/data/rtext_resizer.html +2 -2
  91. data/assets/data/slick.html +2 -2
  92. data/assets/data/speak2me.html +11 -9
  93. data/assets/data/themes.bootswatch.json +1 -1
  94. data/assets/data/themes.json +1 -1
  95. data/assets/data/translator.html +2 -2
  96. data/assets/error_pages/HTTP204.html +1 -1
  97. data/assets/error_pages/HTTP400.html +1 -1
  98. data/assets/error_pages/HTTP401.html +1 -1
  99. data/assets/error_pages/HTTP403.html +1 -1
  100. data/assets/error_pages/HTTP404.html +1 -1
  101. data/assets/error_pages/HTTP444.html +1 -1
  102. data/assets/error_pages/HTTP445.html +1 -1
  103. data/assets/error_pages/HTTP446.html +1 -1
  104. data/assets/error_pages/HTTP447.html +1 -1
  105. data/assets/error_pages/HTTP448.html +1 -1
  106. data/assets/error_pages/HTTP500.html +1 -1
  107. data/assets/error_pages/HTTP501.html +1 -1
  108. data/assets/error_pages/HTTP502.html +1 -1
  109. data/assets/error_pages/HTTP503.html +1 -1
  110. data/assets/themes/j1/adapter/js/advertising.js +2 -2
  111. data/assets/themes/j1/adapter/js/algolia.js +2 -2
  112. data/assets/themes/j1/adapter/js/analytics.js +2 -2
  113. data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
  114. data/assets/themes/j1/adapter/js/attic.js +2 -2
  115. data/assets/themes/j1/adapter/js/bmd.js +2 -2
  116. data/assets/themes/j1/adapter/js/carousel.js +2 -2
  117. data/assets/themes/j1/adapter/js/clipboard.js +2 -2
  118. data/assets/themes/j1/adapter/js/comments.js +2 -2
  119. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  120. data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
  121. data/assets/themes/j1/adapter/js/customModule.js +2 -2
  122. data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
  123. data/assets/themes/j1/adapter/js/fab.js +2 -2
  124. data/assets/themes/j1/adapter/js/framer.js +2 -2
  125. data/assets/themes/j1/adapter/js/gallery.js +325 -0
  126. data/assets/themes/j1/adapter/js/iconPicker.js +2 -2
  127. data/assets/themes/j1/adapter/js/j1.js +2 -2
  128. data/assets/themes/j1/adapter/js/lazyLoader.js +2 -2
  129. data/assets/themes/j1/adapter/js/{justifiedGallery.js → lightGallery.js} +54 -48
  130. data/assets/themes/j1/adapter/js/lightbox.js +2 -2
  131. data/assets/themes/j1/adapter/js/logger.js +2 -2
  132. data/assets/themes/j1/adapter/js/lunr.js +2 -2
  133. data/assets/themes/j1/adapter/js/masonry.js +80 -13
  134. data/assets/themes/j1/adapter/js/masterslider.js +2 -2
  135. data/assets/themes/j1/adapter/js/mmenu.js +2 -2
  136. data/assets/themes/j1/adapter/js/navigator.js +7 -4
  137. data/assets/themes/j1/adapter/js/particles.js +2 -2
  138. data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
  139. data/assets/themes/j1/adapter/js/rouge.js +2 -2
  140. data/assets/themes/j1/adapter/js/rtable.js +2 -2
  141. data/assets/themes/j1/adapter/js/rtextResizer.js +2 -2
  142. data/assets/themes/j1/adapter/js/scroller.js +2 -2
  143. data/assets/themes/j1/adapter/js/slick.js +1 -1
  144. data/assets/themes/j1/adapter/js/speak2me.js +183 -48
  145. data/assets/themes/j1/adapter/js/themeToggler.js +2 -2
  146. data/assets/themes/j1/adapter/js/themer.js +2 -2
  147. data/assets/themes/j1/adapter/js/toccer.js +2 -2
  148. data/assets/themes/j1/adapter/js/translator.js +1 -1
  149. data/assets/themes/j1/adapter/js/waves.js +2 -2
  150. data/assets/themes/j1/core/country-flags/css/theme/uno.css +1 -1
  151. data/assets/themes/j1/core/country-flags/css/theme/uno.min.css +1 -1
  152. data/assets/themes/j1/core/css/animate.css +2 -2
  153. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +2 -2
  154. data/assets/themes/j1/core/css/icon-fonts/iconify.css +5 -5
  155. data/assets/themes/j1/core/css/icon-fonts/mdi.css +9 -9
  156. data/assets/themes/j1/core/css/icon-fonts/mdib.css +7 -7
  157. data/assets/themes/j1/core/css/icon-fonts/mdil.css +10 -10
  158. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1 -1
  159. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -30
  160. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +107 -100
  161. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  162. data/assets/themes/j1/core/css/vendor.css +10 -10
  163. data/assets/themes/j1/core/js/template.js +240 -83
  164. data/assets/themes/j1/core/js/template.min.js +6 -6
  165. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  166. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
  167. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  168. data/assets/themes/j1/modules/bmd/js/bmd.js +1 -1
  169. data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
  170. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +2118 -2696
  171. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  172. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +3 -3
  173. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -1
  174. data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
  175. data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
  176. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
  177. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
  178. data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
  179. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  180. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +1 -1
  181. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +1 -1
  182. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +1 -1
  183. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +1 -1
  184. data/assets/themes/j1/modules/dropdowns/js/cash.js +1 -1
  185. data/assets/themes/j1/modules/dropdowns/js/cash.min.js +1 -1
  186. data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +1 -1
  187. data/assets/themes/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
  188. data/assets/themes/j1/modules/fab/js/cash.js +1 -1
  189. data/assets/themes/j1/modules/fab/js/cash.min.js +1 -1
  190. data/assets/themes/j1/modules/fab/js/fab.js +1 -1
  191. data/assets/themes/j1/modules/fab/js/fab.min.js +1 -1
  192. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +1 -1
  193. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +1 -1
  194. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +1 -1
  195. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +1 -1
  196. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -1
  197. data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +0 -1
  198. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +1 -1
  199. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.min.js +1 -1
  200. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +1 -1
  201. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.min.js +1 -1
  202. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
  203. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
  204. data/assets/themes/j1/modules/lightGallery/css/lg-transitions.css +984 -0
  205. data/assets/themes/j1/modules/lightGallery/css/lg-transitions.min.css +26 -0
  206. data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.css +1627 -0
  207. data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.min.css +25 -0
  208. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-autoplay.css +67 -0
  209. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-comments.css +157 -0
  210. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-fullscreen.css +32 -0
  211. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-medium-zoom.css +40 -0
  212. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-pager.css +115 -0
  213. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-rotate.css +74 -0
  214. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-share.css +168 -0
  215. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-thumbnail.css +133 -0
  216. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-video.css +169 -0
  217. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-zoom.css +141 -0
  218. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.css +109 -0
  219. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.min.css +19 -0
  220. data/assets/themes/j1/modules/lightGallery/{css/fonts → fonts}/lg.svg +35 -28
  221. data/assets/themes/j1/modules/lightGallery/fonts/lg.ttf +0 -0
  222. data/assets/themes/j1/modules/lightGallery/fonts/lg.woff +0 -0
  223. data/assets/themes/j1/modules/lightGallery/fonts/lg.woff2 +0 -0
  224. data/assets/themes/j1/modules/lightGallery/img/loading.gif +0 -0
  225. data/assets/themes/j1/modules/lightGallery/js/lightgallery.js +2759 -0
  226. data/assets/themes/j1/modules/lightGallery/js/lightgallery.min.js +25 -0
  227. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.js +275 -0
  228. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +26 -0
  229. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.js +230 -0
  230. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.min.js +26 -0
  231. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +160 -0
  232. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +26 -0
  233. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.js +223 -0
  234. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.min.js +27 -0
  235. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +157 -0
  236. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +26 -0
  237. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.js +164 -0
  238. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.min.js +26 -0
  239. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.js +299 -0
  240. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +26 -0
  241. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.js +244 -0
  242. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.min.js +27 -0
  243. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +509 -0
  244. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +26 -0
  245. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +585 -0
  246. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +27 -0
  247. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +207 -0
  248. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
  249. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.js +999 -0
  250. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +26 -0
  251. data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
  252. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
  253. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
  254. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
  255. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  256. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  257. data/assets/themes/j1/modules/lunr/js/j1.js +1 -1
  258. data/assets/themes/j1/modules/lunr/js/j1.min.js +1 -1
  259. data/assets/themes/j1/modules/masonry/js/utils/images_loaded.js +439 -0
  260. data/assets/themes/j1/modules/masonry/js/utils/images_loaded.min.js +12 -0
  261. data/assets/themes/j1/modules/masterslider/css/theme/uno.css +1 -1
  262. data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
  263. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +1 -1
  264. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
  265. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
  266. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
  267. data/assets/themes/j1/modules/mmenuLight/js/mmenu.polyfills.js +118 -0
  268. data/assets/themes/j1/modules/particles/skies/cavern1.png +0 -0
  269. data/assets/themes/j1/modules/particles/skies/cavern2.png +0 -0
  270. data/assets/themes/j1/modules/particles/skies/chrome.png +0 -0
  271. data/assets/themes/j1/modules/particles/skies/deep-space.jpg +0 -0
  272. data/assets/themes/j1/modules/particles/skies/deepblue.png +0 -0
  273. data/assets/themes/j1/modules/particles/skies/fire.png +0 -0
  274. data/assets/themes/j1/modules/particles/skies/fog.png +0 -0
  275. data/assets/themes/j1/modules/particles/skies/sky1.png +0 -0
  276. data/assets/themes/j1/modules/particles/skies/sky2.png +0 -0
  277. data/assets/themes/j1/modules/particles/skies/sky3.png +0 -0
  278. data/assets/themes/j1/modules/particles/skies/sky4.png +0 -0
  279. data/assets/themes/j1/modules/particles/skies/sky5.png +0 -0
  280. data/assets/themes/j1/modules/particles/skies/space1.png +0 -0
  281. data/assets/themes/j1/modules/particles/skies/space2.png +0 -0
  282. data/assets/themes/j1/modules/particles/skies/space3.png +0 -0
  283. data/assets/themes/j1/modules/particles/skies/starfield.png +0 -0
  284. data/assets/themes/j1/modules/particles/skies/sunorbit.png +0 -0
  285. data/assets/themes/j1/modules/particles/skies/sunset.png +0 -0
  286. data/assets/themes/j1/modules/particles/skies/toxic.png +0 -0
  287. data/assets/themes/j1/modules/particles/skies/underwater1.png +0 -0
  288. data/assets/themes/j1/modules/particles/skies/underwater2.png +0 -0
  289. data/assets/themes/j1/modules/particles/skies/underwater3.png +0 -0
  290. data/assets/themes/j1/modules/particles/skies/wtf.png +0 -0
  291. data/assets/themes/j1/modules/particles/sprites/slime.png +0 -0
  292. data/assets/themes/j1/modules/particles/sprites/slimeeyes.png +0 -0
  293. data/assets/themes/j1/modules/particles/sprites/snake.png +0 -0
  294. data/assets/themes/j1/modules/particles/sprites/snowflakes.png +0 -0
  295. data/assets/themes/j1/modules/particles/sprites/snowflakes_large.png +0 -0
  296. data/assets/themes/j1/modules/popper/js/popper.min.js +0 -1
  297. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.css +1 -1
  298. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.min.css +1 -1
  299. data/assets/themes/j1/modules/rouge/css/base16/theme.css +1 -1
  300. data/assets/themes/j1/modules/rouge/css/base16/theme.min.css +1 -1
  301. data/assets/themes/j1/modules/rouge/css/base16.dark/theme.css +1 -1
  302. data/assets/themes/j1/modules/rouge/css/base16.dark/theme.min.css +1 -1
  303. data/assets/themes/j1/modules/rouge/css/base16.light/theme.css +1 -1
  304. data/assets/themes/j1/modules/rouge/css/base16.light/theme.min.css +1 -1
  305. data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.css +1 -1
  306. data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.min.css +1 -1
  307. data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.css +1 -1
  308. data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.min.css +1 -1
  309. data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.css +1 -1
  310. data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.min.css +1 -1
  311. data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.css +1 -1
  312. data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.min.css +1 -1
  313. data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.css +1 -1
  314. data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.min.css +1 -1
  315. data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.css +1 -1
  316. data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.min.css +1 -1
  317. data/assets/themes/j1/modules/rouge/css/colorful/theme.css +1 -1
  318. data/assets/themes/j1/modules/rouge/css/colorful/theme.min.css +1 -1
  319. data/assets/themes/j1/modules/rouge/css/github/theme.css +1 -1
  320. data/assets/themes/j1/modules/rouge/css/github/theme.min.css +1 -1
  321. data/assets/themes/j1/modules/rouge/css/gruvbox/theme.css +1 -1
  322. data/assets/themes/j1/modules/rouge/css/gruvbox/theme.min.css +1 -1
  323. data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.css +1 -1
  324. data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.min.css +1 -1
  325. data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.css +1 -1
  326. data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.min.css +1 -1
  327. data/assets/themes/j1/modules/rouge/css/igorpro/theme.css +1 -1
  328. data/assets/themes/j1/modules/rouge/css/igorpro/theme.min.css +1 -1
  329. data/assets/themes/j1/modules/rouge/css/molokai/theme.css +1 -1
  330. data/assets/themes/j1/modules/rouge/css/molokai/theme.min.css +1 -1
  331. data/assets/themes/j1/modules/rouge/css/monokai/theme.css +1 -1
  332. data/assets/themes/j1/modules/rouge/css/monokai/theme.min.css +1 -1
  333. data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.css +1 -1
  334. data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.min.css +1 -1
  335. data/assets/themes/j1/modules/rouge/css/pastie/theme.css +1 -1
  336. data/assets/themes/j1/modules/rouge/css/pastie/theme.min.css +1 -1
  337. data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.css +1 -1
  338. data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.min.css +1 -1
  339. data/assets/themes/j1/modules/rouge/css/themes.txt +1 -1
  340. data/assets/themes/j1/modules/rouge/css/tulip/theme.css +1 -1
  341. data/assets/themes/j1/modules/rouge/css/tulip/theme.min.css +1 -1
  342. data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +1 -1
  343. data/assets/themes/j1/modules/rouge/css/uno.dark/theme.min.css +1 -1
  344. data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +1 -1
  345. data/assets/themes/j1/modules/rouge/css/uno.light/theme.min.css +1 -1
  346. data/assets/themes/j1/modules/rouge/js/select.js +1 -1
  347. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +1 -1
  348. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +1 -1
  349. data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
  350. data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
  351. data/assets/themes/j1/modules/scroller/css/theme/uno.css +1 -1
  352. data/assets/themes/j1/modules/scroller/css/theme/uno.min.css +1 -1
  353. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  354. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +1 -1
  355. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +1 -1
  356. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +0 -1
  357. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +1 -1
  358. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
  359. data/assets/themes/j1/modules/spinner/css/spin.css +1 -1
  360. data/assets/themes/j1/modules/spinner/css/spin.min.css +1 -1
  361. data/assets/themes/j1/modules/spinner/js/spin.js +1 -1
  362. data/assets/themes/j1/modules/spinner/js/spin.min.js +1 -1
  363. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
  364. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  365. data/assets/themes/j1/modules/translator/css/translator.css +1 -1
  366. data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
  367. data/assets/themes/j1/modules/videojs/css/themes/city.css +74 -74
  368. data/assets/themes/j1/modules/videojs/css/themes/city.min.css +3 -4
  369. data/assets/themes/j1/modules/videojs/css/themes/fantasy.css +3 -3
  370. data/assets/themes/j1/modules/videojs/css/themes/fantasy.min.css +3 -4
  371. data/assets/themes/j1/modules/videojs/css/themes/forest.css +4 -3
  372. data/assets/themes/j1/modules/videojs/css/themes/forest.min.css +3 -4
  373. data/assets/themes/j1/modules/videojs/css/themes/sea.css +2 -2
  374. data/assets/themes/j1/modules/videojs/css/themes/sea.min.css +3 -4
  375. data/assets/themes/j1/modules/videojs/css/themes/uno.css +151 -0
  376. data/assets/themes/j1/modules/videojs/css/themes/uno.min.css +17 -0
  377. data/assets/themes/j1/modules/videojs/css/video-js.css +12 -0
  378. data/assets/themes/j1/modules/videojs/css/video-js.min.css +12 -0
  379. data/assets/themes/j1/modules/videojs/js/plugins/dm/LICENSE +19 -0
  380. data/assets/themes/j1/modules/videojs/js/plugins/dm/README.md +94 -0
  381. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/README.md +7 -0
  382. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.min.js +29 -0
  383. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.player.min.js +80 -0
  384. data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.js +603 -0
  385. data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.min.js +16 -0
  386. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-controls.html +18 -0
  387. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-javascript.html +27 -0
  388. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-playlist.html +19 -0
  389. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/global-parameters.html +28 -0
  390. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/simple.html +20 -0
  391. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/switch.html +37 -0
  392. data/assets/themes/j1/modules/videojs/js/plugins/vm/LICENSE +21 -0
  393. data/assets/themes/j1/modules/videojs/js/plugins/vm/README.md +15 -0
  394. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/README.md +1818 -0
  395. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/player.min.js +23 -0
  396. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.js +3562 -0
  397. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.min.js +35 -0
  398. data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/index.html +33 -0
  399. data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/player/index.html +37 -0
  400. data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.js +521 -0
  401. data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.min.js +15 -0
  402. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/Readme.txt +20 -0
  403. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/WistiaPlayer.ts +1617 -0
  404. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/wistia.min.js +2 -0
  405. data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.js +383 -0
  406. data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.min.js +18 -0
  407. data/assets/themes/j1/modules/videojs/js/plugins/yt/README.md +115 -0
  408. data/assets/themes/j1/modules/videojs/js/plugins/yt/api/youtube.min.js +20 -0
  409. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html +32 -0
  410. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/simple.html +20 -0
  411. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/switch.html +37 -0
  412. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-controls.html +18 -0
  413. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-javascript.html +27 -0
  414. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-list.html +19 -0
  415. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-playlist.html +19 -0
  416. data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.js +832 -0
  417. data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.min.js +16 -0
  418. data/assets/themes/j1/modules/videojs/js/video.js +40610 -32915
  419. data/assets/themes/j1/modules/videojs/js/video.min.js +33 -20
  420. data/lib/j1/version.rb +1 -1
  421. data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
  422. data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
  423. data/lib/j1_app/omniauth/strategies/github.rb +1 -1
  424. data/lib/starter_web/Gemfile +3 -3
  425. data/lib/starter_web/README.md +5 -5
  426. data/lib/starter_web/_config.yml +2 -2
  427. data/lib/starter_web/_data/_defaults/categories.yml +1 -1
  428. data/lib/starter_web/_data/_defaults/colors.yml +1 -1
  429. data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
  430. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  431. data/lib/starter_web/_data/_defaults/private.yml +1 -1
  432. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  433. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -1
  434. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +1 -1
  435. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +1 -1
  436. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  437. data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
  438. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  439. data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
  440. data/lib/starter_web/_data/blocks/footer.yml +2 -2
  441. data/lib/starter_web/_data/blocks/panel.yml +1 -1
  442. data/lib/starter_web/_data/categories.yml +1 -1
  443. data/lib/starter_web/_data/colors.yml +1 -1
  444. data/lib/starter_web/_data/font_sizes.yml +1 -1
  445. data/lib/starter_web/_data/j1_config.yml +1 -1
  446. data/lib/starter_web/_data/layouts/collection.yml +1 -1
  447. data/lib/starter_web/_data/layouts/default.yml +1 -1
  448. data/lib/starter_web/_data/layouts/home.yml +1 -1
  449. data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -1
  450. data/lib/starter_web/_data/layouts/page.yml +1 -1
  451. data/lib/starter_web/_data/layouts/post.yml +1 -1
  452. data/lib/starter_web/_data/layouts/raw.yml +1 -1
  453. data/lib/starter_web/_data/modules/advertising.yml +2 -2
  454. data/lib/starter_web/_data/modules/analytics.yml +1 -1
  455. data/lib/starter_web/_data/modules/attics.yml +1 -1
  456. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  457. data/lib/starter_web/_data/modules/blog_navigator.yml +1 -1
  458. data/lib/starter_web/_data/modules/carousel.yml +1 -1
  459. data/lib/starter_web/_data/modules/comments.yml +1 -1
  460. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
  461. data/lib/starter_web/_data/modules/cookies.yml +1 -1
  462. data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
  463. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  464. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  465. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
  466. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
  467. data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -1
  468. data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
  469. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -1
  470. data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -1
  471. data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -1
  472. data/lib/starter_web/_data/modules/defaults/fab.yml +1 -1
  473. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
  474. data/lib/starter_web/_data/modules/defaults/{justifiedGallery.yml → gallery.yml} +18 -28
  475. data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
  476. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +1 -1
  477. data/lib/starter_web/_data/modules/defaults/lightGallery.yml +8 -6
  478. data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -1
  479. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
  480. data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
  481. data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -1
  482. data/lib/starter_web/_data/modules/defaults/masonry.yml +53 -13
  483. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  484. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  485. data/lib/starter_web/_data/modules/defaults/particles.yml +1 -1
  486. data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -1
  487. data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -1
  488. data/lib/starter_web/_data/modules/defaults/scroller.yml +1 -1
  489. data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
  490. data/lib/starter_web/_data/modules/defaults/speak2me.yml +8 -5
  491. data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +1 -1
  492. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  493. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  494. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  495. data/lib/starter_web/_data/modules/defaults/waves.yml +1 -1
  496. data/lib/starter_web/_data/modules/dropdowns.yml +1 -1
  497. data/lib/starter_web/_data/modules/fab.yml +1 -1
  498. data/lib/starter_web/_data/modules/framer.yml +1 -1
  499. data/lib/starter_web/_data/modules/gallery.yml +874 -0
  500. data/lib/starter_web/_data/modules/iconPicker.yml +1 -1
  501. data/lib/starter_web/_data/modules/lazyLoader.yml +1 -1
  502. data/lib/starter_web/_data/modules/lightGallery.yml +8 -5
  503. data/lib/starter_web/_data/modules/lightbox.yml +1 -1
  504. data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
  505. data/lib/starter_web/_data/modules/log4r.yml +1 -1
  506. data/lib/starter_web/_data/modules/lunr.yml +1 -1
  507. data/lib/starter_web/_data/modules/masonry.yml +401 -87
  508. data/lib/starter_web/_data/modules/masterslider.yml +1 -1
  509. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  510. data/lib/starter_web/_data/modules/navigator_menu.yml +18 -4
  511. data/lib/starter_web/_data/modules/nbinteract.yml +1 -1
  512. data/lib/starter_web/_data/modules/particles.yml +1 -1
  513. data/lib/starter_web/_data/modules/rangeSlider.yml +1 -1
  514. data/lib/starter_web/_data/modules/rtable.yml +1 -1
  515. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  516. data/lib/starter_web/_data/modules/slick.yml +1 -1
  517. data/lib/starter_web/_data/modules/speak2me.yml +1 -1
  518. data/lib/starter_web/_data/modules/theme_toggler.yml +1 -1
  519. data/lib/starter_web/_data/modules/themer.yml +1 -1
  520. data/lib/starter_web/_data/modules/toccer.yml +1 -1
  521. data/lib/starter_web/_data/modules/translator.yml +1 -1
  522. data/lib/starter_web/_data/modules/waves.yml +1 -1
  523. data/lib/starter_web/_data/plugins/defaults/feed.yml +1 -1
  524. data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
  525. data/lib/starter_web/_data/plugins/defaults/seo-tags.yml +1 -1
  526. data/lib/starter_web/_data/plugins/defaults/sitemap.yml +1 -1
  527. data/lib/starter_web/_data/plugins/feed.yml +1 -1
  528. data/lib/starter_web/_data/plugins/paginator.yml +1 -1
  529. data/lib/starter_web/_data/plugins/seo-tags.yml +1 -1
  530. data/lib/starter_web/_data/plugins/sitemap.yml +1 -1
  531. data/lib/starter_web/_data/private.yml +1 -1
  532. data/lib/starter_web/_data/resources.yml +190 -118
  533. data/lib/starter_web/_data/templates/feed.xml +2 -2
  534. data/lib/starter_web/_data/templates/robots.txt +1 -1
  535. data/lib/starter_web/_data/templates/seo-tags.html +1 -1
  536. data/lib/starter_web/_data/templates/sitemap.xml +1 -1
  537. data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
  538. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  539. data/lib/starter_web/_includes/custom/static/bs5_accordion.html +1 -1
  540. data/lib/starter_web/_includes/custom/templates/bs5_accordion.html +1 -1
  541. data/lib/starter_web/_includes/custom/templates/collection_panel.html +1 -1
  542. data/lib/starter_web/_includes/custom/templates/custom_header.html +1 -1
  543. data/lib/starter_web/_includes/custom/templates/people_panel.html +1 -1
  544. data/lib/starter_web/_includes/google/static/google_ad__your-slot-id.html +1 -1
  545. data/lib/starter_web/_includes/google/templates/google_ads.html +1 -1
  546. data/lib/starter_web/_plugins/asciidoctor/admonition-block-answer.rb +3 -2
  547. data/lib/starter_web/_plugins/asciidoctor/admonition-block-question.rb +7 -6
  548. data/lib/starter_web/_plugins/asciidoctor/banner.rb +8 -5
  549. data/lib/starter_web/_plugins/asciidoctor/callout.rb +10 -8
  550. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +14 -8
  551. data/lib/starter_web/_plugins/asciidoctor/conum.rb +3 -1
  552. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +83 -0
  553. data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +8 -5
  554. data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +8 -5
  555. data/lib/starter_web/_plugins/asciidoctor/flag-icon-inline.rb +8 -5
  556. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +50 -44
  557. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +56 -52
  558. data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +52 -47
  559. data/lib/starter_web/_plugins/asciidoctor/iconify-icon-inline.rb +8 -5
  560. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +88 -82
  561. data/lib/starter_web/_plugins/asciidoctor/lorem_inline.rb +5 -4
  562. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +13 -7
  563. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +54 -48
  564. data/lib/starter_web/_plugins/asciidoctor/mdi-icon-inline.rb +2 -1
  565. data/lib/starter_web/_plugins/asciidoctor/mdib-icon-inline.rb +2 -1
  566. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +2 -1
  567. data/lib/starter_web/_plugins/asciidoctor/panel.rb +9 -5
  568. data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +4 -3
  569. data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +49 -44
  570. data/lib/starter_web/_plugins/asciidoctor/shout-block.rb +6 -7
  571. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +12 -6
  572. data/lib/starter_web/_plugins/asciidoctor/textbook-block.rb +9 -5
  573. data/lib/starter_web/_plugins/asciidoctor/twitter-emoji-inline.rb +4 -1
  574. data/lib/starter_web/_plugins/asciidoctor/video-block.rb +65 -0
  575. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +82 -0
  576. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +82 -0
  577. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +87 -0
  578. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +95 -0
  579. data/lib/starter_web/_plugins/filter/debug.rb +1 -1
  580. data/lib/starter_web/_plugins/filter/encodeBase64.rb +1 -1
  581. data/lib/starter_web/_plugins/filter/encryptAES.rb +1 -1
  582. data/lib/starter_web/_plugins/filter/filters.rb +1 -1
  583. data/lib/starter_web/_plugins/filter/liquify.rb +1 -1
  584. data/lib/starter_web/_plugins/filter/minifyJS.rb +1 -1
  585. data/lib/starter_web/_plugins/filter/minifyJSON.rb +1 -1
  586. data/lib/starter_web/_plugins/filter/prettify.rb +1 -1
  587. data/lib/starter_web/_plugins/filter/xml_prettify.rb +1 -1
  588. data/lib/starter_web/_plugins/helper/symlink_watcher.rb +1 -1
  589. data/lib/starter_web/_plugins/i18n/date.rb +1 -1
  590. data/lib/starter_web/_plugins/index/lunr.rb +2 -2
  591. data/lib/starter_web/_plugins/seo/j1-feed.rb +1 -1
  592. data/lib/starter_web/_plugins/seo/j1-seo-tags.rb +1 -1
  593. data/lib/starter_web/_plugins/seo/j1-sitemap.rb +1 -1
  594. data/lib/starter_web/assets/images/icons/videojs/videojs-logo.png +0 -0
  595. data/lib/starter_web/assets/images/icons/videojs/videojs-poster.png +0 -0
  596. data/lib/starter_web/assets/videos/gallery/_video_james_carpool_caraoke_poster.jpg +0 -0
  597. data/lib/starter_web/assets/videos/gallery/html5/video1-poster.jpg +0 -0
  598. data/lib/starter_web/assets/videos/gallery/html5/video1.subtitles.vtt +39 -0
  599. data/lib/starter_web/assets/videos/gallery/html5/video2-poster.jpg +0 -0
  600. data/lib/starter_web/assets/videos/gallery/html5/303/237video2-poster.jpg +0 -0
  601. data/lib/starter_web/assets/videos/gallery/video1-poster.1920..jpg +0 -0
  602. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.1920.jpg +0 -0
  603. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg +0 -0
  604. data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
  605. data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke_poster.jpg +0 -0
  606. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  607. data/lib/starter_web/config.ru +1 -1
  608. data/lib/starter_web/dot.gitattributes +1 -1
  609. data/lib/starter_web/dot.nojekyll +1 -1
  610. data/lib/starter_web/package.json +1 -1
  611. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +5 -0
  612. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +3 -0
  613. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +1 -0
  614. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +11 -7
  615. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +27 -11
  616. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +3 -0
  617. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +12 -7
  618. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +14 -7
  619. data/lib/starter_web/pages/public/features/general.adoc +12 -1
  620. data/lib/starter_web/pages/public/features/template.adoc +37 -38
  621. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +4 -3
  622. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +2 -3
  623. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +2 -2
  624. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +2 -2
  625. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +6 -5
  626. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -0
  627. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +4 -0
  628. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +6 -5
  629. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +2 -0
  630. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +7 -2
  631. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +7 -2
  632. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -3
  633. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +4 -2
  634. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +84 -93
  635. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +264 -64
  636. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +5 -2
  637. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -0
  638. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -1
  639. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
  640. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
  641. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -39
  642. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
  643. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +3 -2
  644. data/lib/starter_web/pages/public/plans/plans.adoc +14 -5
  645. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +69 -0
  646. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/readme +0 -0
  647. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +3093 -3104
  648. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  649. data/lib/starter_web/utilsrv/package.json +1 -1
  650. data/lib/starter_web/utilsrv/server.js +1 -1
  651. metadata +170 -94
  652. data/assets/data/galleries.json +0 -156
  653. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +0 -360
  654. data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.js +0 -1694
  655. data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.min.js +0 -19
  656. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -1
  657. data/assets/themes/j1/modules/iframeResizer/js/resizer.map +0 -1
  658. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -110
  659. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -110
  660. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +0 -23
  661. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -1229
  662. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -1229
  663. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -8
  664. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -20
  665. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -113
  666. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +0 -110
  667. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +0 -110
  668. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.js +0 -1245
  669. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.min.js +0 -7
  670. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +0 -110
  671. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +0 -110
  672. data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.css +0 -58
  673. data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
  674. data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.css +0 -778
  675. data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.min.css +0 -5
  676. data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.css +0 -981
  677. data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.min.css +0 -5
  678. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.eot +0 -0
  679. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.ttf +0 -0
  680. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.woff +0 -0
  681. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +0 -262
  682. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +0 -15
  683. data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.js +0 -1375
  684. data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.min.js +0 -5
  685. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +0 -1362
  686. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +0 -4
  687. data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.js +0 -206
  688. data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.min.js +0 -5
  689. data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.js +0 -126
  690. data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.min.js +0 -5
  691. data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.js +0 -101
  692. data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.min.js +0 -5
  693. data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.js +0 -105
  694. data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.min.js +0 -5
  695. data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.js +0 -107
  696. data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.min.js +0 -5
  697. data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +0 -486
  698. data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +0 -7
  699. data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.js +0 -527
  700. data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.min.js +0 -5
  701. data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +0 -1
  702. data/assets/themes/j1/modules/popper/js/popper.min.js.map +0 -1
  703. data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.js +0 -2337
  704. data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.min.js +0 -1
  705. data/assets/themes/j1/modules/rangeSlider/js/9.1.0/nouislider.js +0 -2534
  706. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +0 -1
  707. data/assets/themes/j1/modules/themeSwitcher/js/_unsued/switcher.1.js +0 -454
  708. data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.js +0 -4
  709. data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.min.js +0 -4
  710. data/assets/themes/j1/modules/vimeo/player/js/player.js +0 -2138
  711. data/assets/themes/j1/modules/vimeo/player/js/player.js.map +0 -1
  712. data/assets/themes/j1/modules/vimeo/player/js/player.min.js +0 -2
  713. data/assets/themes/j1/modules/vimeo/player/js/player.min.js.map +0 -1
  714. data/lib/starter_web/_data/modules/justifiedGallery.yml +0 -556
  715. data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
  716. data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
  717. /data/assets/themes/j1/modules/backstretch/{LICENSE-MIT → LICENSE} +0 -0
  718. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/animation-w.png +0 -0
  719. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/customize-w.png +0 -0
  720. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/dynamic-w.png +0 -0
  721. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/facebook-icon.svg +0 -0
  722. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/googleplus-icon.svg +0 -0
  723. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/html5-w.png +0 -0
  724. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/linked-in.png +0 -0
  725. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/module-w.png +0 -0
  726. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/play-button.png +0 -0
  727. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/responsive-w.png +0 -0
  728. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/thumb-w.png +0 -0
  729. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/touch-w.png +0 -0
  730. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter-icon.svg +0 -0
  731. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter.png +0 -0
  732. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/video1-w.png +0 -0
  733. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom-w.png +0 -0
  734. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom.png +0 -0
  735. /data/assets/themes/j1/modules/lightGallery/{css/img → images}/loading.gif +0 -0
  736. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/video-play.png +0 -0
  737. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/vimeo-play.png +0 -0
  738. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/youtube-play.png +0 -0
  739. /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.js +0 -0
  740. /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.min.js +0 -0
@@ -0,0 +1,29 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/videojs/js/dailymotion/api/dailymotion.min.js
4
+ # Vimeo Player|API
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ # https://developers.dailymotion.com/sdks/#sdk-javascript
9
+ # https://github.com/dailymotion/dailymotion-sdk-js
10
+ #
11
+ # Copyright (C) Dailymotion 2022
12
+ # Copyright (C) 2023 Juergen Adams
13
+ #
14
+ # J1 Theme is licensed under MIT License.
15
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
16
+ # -----------------------------------------------------------------------------
17
+ # See: https://developers.dailymotion.com/sdks/#sdk-javascript
18
+ #
19
+ # -----------------------------------------------------------------------------
20
+ # NOTE:
21
+ # Dailymotion does no longer support using this JS SDK for
22
+ # Player integration and should only be used for interaction with
23
+ # the Data API. The Player can be embedded with any of our embed methods
24
+ # that can be found at. https://developers.dailymotion.com/player.
25
+ # -----------------------------------------------------------------------------
26
+ */
27
+
28
+ /* Dailymotion SDK - 2022-10-18T08:55:51.599Z */
29
+ if(!this.JSON){this.JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());if(!window.DM){DM={_apiKey:null,_session:null,_userStatus:"unknown",_refreshRequested:false,_refreshCallbacks:[],_sessionLoadingMethod:null,_logging:true,_domain:{api:"https://api.dailymotion.com",www:"//www.dailymotion.com",cdn:"//api.dmcdn.net"},_oauth:{logoutUrl:"https://www.dailymotion.com/oauth/logout",authorizeUrl:"https://www.dailymotion.com/oauth/authorize",tokenUrl:"https://graphql.api.dailymotion.com/oauth/token"},copy:function(e,d,b,a){for(var c in d){if(b||typeof e[c]==="undefined"){e[c]=a?a(d[c]):d[c]}}return e},create:function(d,g){var f=window.DM,a=d?d.split("."):[],j=a.length;for(var e=0;e<j;e++){var b=a[e];var h=f[b];if(!h){h=(g&&e+1==j)?g:{};f[b]=h}f=h}return f},provide:function(c,b,a){return DM.copy(typeof c=="string"?DM.create(c):c,b,a)},guid:function(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")},log:function(a){if(DM._logging){if(window.Debug&&window.Debug.writeln){window.Debug.writeln(a)}else{if(window.console){window.console.log(a)}}}if(DM.Event){DM.Event.fire("dm.log",a)}},error:function(a){if(window.console){window.console.error(a)}if(DM.Event){DM.Event.fire("dm.error",a)}},warn:function(b){try{if(console&&typeof console.warn==="function"){console.warn(b)}}catch(a){}},$:function(a){if(typeof a=="string"){a=document.getElementById(a)}return a},parseBool:function(a){if(a===true||a===false){return a}if(a===0){return false}if(typeof a=="string"){return !a.match(/^(?:|false|no|off|0)$/i)}return !!a},type:function(e){if(!DM._class2type){DM._class2type={};var d="Boolean Number String Function Array Date RegExp Object".split(" ");for(var c=0,a=d.length;c<a;c++){var b=d[c];DM._class2type["[object "+b+"]"]=b.toLowerCase()}DM._class2type["[object Undefined]"]="undefined"}return e===null?String(e):DM._class2type[Object.prototype.toString.call(e)]||"object"}}}DM.provide("JSON",{stringify:function(a){if(window.Prototype&&Object.toJSON){return Object.toJSON(a)}else{return JSON.stringify(a)}},parse:function(a){return JSON.parse(a)},flatten:function(c){var d={};for(var a in c){if(c.hasOwnProperty(a)){var b=c[a];if(null===b||undefined===b){continue}else{if(typeof b=="string"){d[a]=b}else{d[a]=DM.JSON.stringify(b)}}}}return d}});DM.provide("Array",{indexOf:function(a,d){if(a.indexOf){return a.indexOf(d)}var c=a.length;if(c){for(var b=0;b<c;b++){if(a[b]===d){return b}}}return -1},merge:function(c,b){for(var a=0;a<b.length;a++){if(DM.Array.indexOf(c,b[a])<0){c.push(b[a])}}return c},flatten:function(a){for(var b in a){if(a.hasOwnProperty(b)){if(DM.type(a[b])=="array"){a[b]=a[b].join(",")}}}return a},filter:function(c,e){var a=[];for(var d=0;d<c.length;d++){if(e(c[d])){a.push(c[d])}}return a},keys:function(d,c){var a=[];for(var b in d){if(c||d.hasOwnProperty(b)){a.push(b)}}return a},map:function(a,c){var b=[];for(var d=0;d<a.length;d++){b.push(c(a[d]))}return b},forEach:function(f,d,e){if(!f){return}if(Object.prototype.toString.apply(f)==="[object Array]"||(!(f instanceof Function)&&typeof f.length=="number")){if(f.forEach){f.forEach(d)}else{for(var c=0,a=f.length;c<a;c++){d(f[c],c,f)}}}else{for(var b in f){if(e||f.hasOwnProperty(b)){d(f[b],b,f)}}}}});DM.provide("Cookie",{_domain:null,_enabled:false,setEnabled:function(a){DM.Cookie._enabled=a},getEnabled:function(){return DM.Cookie._enabled},getKeyValuePair:function(c){var h=c.indexOf("=");h=h<0?c.length:h;var d=c.substr(0,h);var f=c.substr(h+1);var a;var b;try{a=decodeURIComponent(d)}catch(g){console.error("Could not decode cookie key: "+d)}try{b=decodeURIComponent(f)}catch(g){console.error("Could not decode cookie value: "+f)}return{key:a,value:b}},getCookieValue:function(d){var e=d+"=";var a=document.cookie.split(";");for(var b=0;b<a.length;b++){var f=a[b];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null},load:function(){var a=document.cookie.split("; ");var c,b;DM.Array.forEach(a,function(d){var e=DM.Cookie.getKeyValuePair(d);if(e.key.match("dms_"+DM._apiKey)){e.value=e.value.replace(/^"(.+(?="$))"$/,"$1");c=e}});if(c){b=DM.QS.decode(c.value);b.expires=parseInt(b.expires,10);DM.Cookie._domain=b.base_domain}return b},setRaw:function(c,a,b){var d=(c+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent);document.cookie="dms_"+DM._apiKey+'="'+d+'"'+(d&&a==0?"":"; expires="+new Date(a*1000).toGMTString())+"; path=/"+(b&&b!=="localhost"?"; domain=."+b:"");DM.Cookie._domain=b},setNeonCookies:function(c,d,b){if(typeof b==="undefined"){return}var a=new Date();a.setSeconds(a.getSeconds()+b);var f=new Date(a.getTime());var e=f.setSeconds(f.getSeconds()+3600*24*30*3);if(c){document.cookie="access_token="+c+"; expires="+new Date(a).toUTCString()+"; path=/"}if(d){document.cookie="refresh_token="+d+"; expires="+new Date(e).toUTCString()+"; path=/"}},set:function(a){if(a){DM.Cookie.setRaw(DM.QS.encode(a),a.expires,a.base_domain)}else{DM.Cookie.clear()}},clear:function(){DM.Cookie.setRaw("",0,DM.Cookie._domain)}});DM.provide("EventProvider",{subscribers:function(){if(!this._subscribersMap){this._subscribersMap={}}return this._subscribersMap},subscribe:function(b,a){var c=this.subscribers();if(!c[b]){c[b]=[a]}else{c[b].push(a)}},unsubscribe:function(b,a){var c=this.subscribers()[b];DM.Array.forEach(c,function(e,d){if(e==a){c[d]=null}})},monitor:function(b,d){if(!d()){var a=this,c=function(){if(d.apply(d,arguments)){a.unsubscribe(b,c)}};this.subscribe(b,c)}},clear:function(a){delete this.subscribers()[a]},fire:function(){var b=Array.prototype.slice.call(arguments),a=b.shift();DM.Array.forEach(this.subscribers()[a],function(c){if(c){c.apply(this,b)}})}});DM.provide("Event",DM.EventProvider);DM.provide("",{init:function(a){a=DM.copy(a||{},{logging:true});DM._apiKey=a.apiKey;if(!a.logging&&window.location.toString().indexOf("dm_debug=1")<0){DM._logging=false}if(DM._apiKey){DM._apiSecret=a.apiSecret||null;DM.Cookie.setEnabled(a.cookie);DM.Auth.readFragment();var c;var b=DM.Auth.loadSiteSession();if(null!==b.session){c=b.session;DM._sessionLoadingMethod=b.loading_method}else{if(a.session){c=a.session;DM._sessionLoadingMethod="init_options"}else{if(DM.Auth._receivedSession){c=DM.Auth._receivedSession;DM._sessionLoadingMethod="fragment"}else{c=DM.Cookie.load();DM._sessionLoadingMethod="local_cookies"}}}if(null!==c&&DM.Auth.isSessionExpired(c)){DM.Auth.refreshToken(c,function(){if(a.status){DM.getLoginStatus()}})}else{DM.Auth.setSession(c,c?"connected":"unknown")}if(a.status){DM.getLoginStatus()}}}});window.setTimeout(function(){if(window.dmAsyncInit){dmAsyncInit()}},0);DM.provide("QS",{encode:function(d,a,b){a=a===undefined?"&":a;b=b===false?function(e){return e}:encodeURIComponent;var c=[];DM.Array.forEach(d,function(f,e){if(f!==null&&typeof f!="undefined"){c.push(b(e)+"="+b(f))}});c.sort();return c.join(a)},decode:function(h){var g=h.split("&");var a=decodeURIComponent;var b={};for(var f=0;f<g.length;f+=1){var d=g[f].indexOf("=");if(d<1){continue}var c=a(g[f].substring(0,d)).replace(/\]/g,"").split("[");var j=a(g[f].substring(d+1));var e=b;while(c.length>0){var i=c.shift();if(c.length===0){if(i.length===0){e.push(j)}else{e[i]=j}}else{if(typeof e[i]==="undefined"){e[i]=c[0].length===0?[]:{}}}e=e[i]}}return b}});DM.provide("",{api:function(){DM.ApiServer.call.apply(DM.ApiServer,arguments)}});DM.provide("ApiServer",{type:null,METHODS:["get","post","delete"],_callbacks:{},_calls:[],call:function(){var c=Array.prototype.slice.call(arguments),f=c.shift(),e=c.shift(),h,g,a,b=false;while(typeof e!=="undefined"){var d=typeof e;if(d==="string"&&!h){h=e.toLowerCase()}else{if(d==="function"&&!a){a=e}else{if(d==="object"&&!g){g=DM.ApiServer.formatCallParams(e)}else{if(d==="boolean"&&!b){b=e}else{DM.log("Invalid argument passed to DM.api(): "+e);return}}}}e=c.shift()}h=h||"get";g=g||{};if(f[0]==="/"){f=f.substr(1)}if(DM.Array.indexOf(DM.ApiServer.METHODS,h)<0){DM.log("Invalid method passed to DM.api(): "+h);return}DM.ApiServer.transport(f,h,g,a,b)},formatCallParams:function(h){var e=h.subrequests,f=[],g="";if(e){var d=DM.type(e);if(d=="object"){for(fieldName in e){var b=e[fieldName],a=[];a.push(fieldName+".fields("+(b.fields||[]).join(",")+")");delete (b.fields);for(subRequestParam in b){a.push(subRequestParam+"("+b[subRequestParam]+")")}if(a.length){f.push(a.join("."))}}}else{throw new Error('Unexpected type "'+d+'" for "subrequests" parameter. Expected type: object')}delete (h.subrequests)}if(f.length){g=f.join(",")}if(h.fields){var c=DM.type(h.fields);if(c=="array"){h.fields.push(g);h.fields=h.fields.join(",")}else{if(c=="string"){if(h.fields.length){h.fields+=","+g}else{h.fields=g}}else{throw new Error('Unexpected type "'+c+'" for "fields" parameter, Allowed types: array, string')}}}else{if(g){h.fields=g}}return h},getSimpleCallURL:function(a,b){var d=DM.QS.encode(b),c=d.length?(a.indexOf("?")>-1?"&":"?")+d:"";return DM._domain.api+"/"+a+c},transport:function(d,g,f,a,b){try{DM.ApiServer.xhr();DM.ApiServer.transport=DM.ApiServer.ajax;DM.ApiServer.type="ajax"}catch(c){DM.ApiServer.transport=DM.ApiServer.jsonp;DM.ApiServer.type="jsonp"}DM.ApiServer.transport(d,g,f,a,b)},jsonp:function(l,a,d,c){var e=DM.guid(),j=document.createElement("script"),h,i=5;d.method=a;d.callback="DM.ApiServer._callbacks."+e;var f=DM.getSession();if(f&&f.access_token&&!d.access_token){d.access_token=f.access_token}d=DM.Array.flatten(d);var b=DM.ApiServer.getSimpleCallURL(l,d);if(b.length>2000){throw new Error("JSONP only support a maximum of 2000 bytes of input.")}DM.ApiServer._callbacks[e]=function(g){if(c){c(g)}delete DM.ApiServer._callbacks[e];j.src=null;j.parentNode.removeChild(j);if(h){clearTimeout(h);h=null}};j.async=true;j.src=b;document.getElementsByTagName("head")[0].appendChild(j);h=setTimeout(function(){DM.ApiServer._callbacks[e]({error:{code:500,message:"The request has timed out",type:"transport_error"}})},i*1000)},ajax:function(d,f,e,a,b){var c={path:d,method:f,params:e,cb:a};if(!b){DM.ApiServer._calls.push(c);DM.ApiServer.ajaxHandleQueue()}else{DM.ApiServer.performSimpleCall(d,f,e,a)}},ajaxHandleQueue:function(){if(!DM.ApiServer._callTimeout&&DM.ApiServer._calls.length>0){DM.ApiServer._callTimeout=setTimeout(function(){DM.ApiServer.performMultipleCalls(DM.ApiServer._calls);DM.ApiServer._calls=[];delete DM.ApiServer._callTimeout},0)}else{if(DM.ApiServer._calls.length==10){if(DM.ApiServer._callTimeout){clearTimeout(DM.ApiServer._callTimeout);delete DM.ApiServer._callTimeout}DM.ApiServer.performMultipleCalls(DM.ApiServer._calls);DM.ApiServer._calls=[]}}},performSimpleCall:function(d,g,f,a){if(DM._session&&DM.Auth.isSessionExpired()){DM.Auth.refreshToken(DM._session,function(h){if(h.error){if(a){a(h)}return}DM.ApiServer.performSimpleCall(d,g,f,a)});return}var c=DM.getSession();if(c&&c.access_token&&!f.access_token){f.access_token=c.access_token}f=DM.Array.flatten(f);var b=DM.ApiServer.getSimpleCallURL(d,f);var e=DM.ApiServer.xhr();e.open(g,b);e.setRequestHeader("Content-type","application/x-www-form-urlencoded");e.send();e.onreadystatechange=function(){if(e.readyState==4){var h={error:{code:500,message:"Invalid server response",type:"transport_error"}},i;if(e.status){try{i=DM.JSON.parse(e.responseText)}catch(j){}}if(DM.type(i)!="object"){i=h;DM.error("Cannot parse call response data "+e.responseText)}if(a){a(i)}}}},performMultipleCalls:function(d){var c=[],h=DM._domain.api;for(var b=0,a=d.length;b<a;b++){var e=d[b];c.push({call:e.method.toUpperCase()+" /"+e.path,args:e.params,id:b})}if(DM._session&&DM.Auth.isSessionExpired()){DM.Auth.refreshToken(DM._session,function(i){if(i.error){DM.Array.forEach(d,function(j){if(j&&j.cb){j.cb(i)}});return}DM.ApiServer.performMultipleCalls(d)});return}var f=DM.getSession();if(f&&f.access_token){h+="?access_token="+encodeURIComponent(f.access_token)}var g=DM.ApiServer.xhr();g.open("POST",h);g.setRequestHeader("Content-type","application/x-www-form-urlencoded");g.send(DM.JSON.stringify(c));g.onreadystatechange=function(){if(g.readyState==4){var j={error:{code:500,message:"Invalid server response",type:"transport_error"}},q;if(g.status){try{q=DM.JSON.parse(g.responseText)}catch(r){}}var o=DM.type(q);if(o=="array"){for(var p=0,m=q.length;p<m;p++){var n=q[p];e="id" in n&&d[n.id]?d[n.id]:null;if(!e){DM.error("Response with no valid call id: "+DM.JSON.stringify(n));continue}if(e.cb){if("result" in n){e.cb(n.result)}else{if("error" in n){e.cb({error:n.error})}else{e.cb({error:{code:500,message:"Missing result or error key",type:"transport_error"}})}}}d[n.id]=null}}else{if(o=="object"&&"error" in q){j=q}else{DM.error("Cannot parse multicall response data "+g.responseText)}}DM.Array.forEach(d,function(i){if(i&&i.cb){i.cb(j)}})}}},xhr:function(){var a=new window.XMLHttpRequest();if(!("withCredentials" in a)){throw new Error("Browser is not CORS capable")}return a}});DM.provide("",{getLoginStatus:function(a){if(a){DM.Auth.refreshToken(DM._session,function(b){a({status:DM._userStatus,session:b})})}},getSession:function(){if(DM.Auth.isSessionExpired()){DM.Auth.setSession(null,"notConnected")}return DM._session},login:function(g,a){var f=typeof window.screenX!="undefined"?window.screenX:window.screenLeft,d=typeof window.screenY!="undefined"?window.screenY:window.screenTop,m=typeof window.outerWidth!="undefined"?window.outerWidth:document.documentElement.clientWidth,j=typeof window.outerHeight!="undefined"?window.outerHeight:(document.documentElement.clientHeight-22),b=500,l=520,e=parseInt(f+((m-b)/2),10),i=parseInt(d+((j-l)/2.5),10),c="width="+b+",height="+l+",left="+e+",top="+i+",status,scrollbars=yes";a=DM.copy(a||{},{client_id:DM._apiKey,response_type:"token",display:"popup",scope:"",redirect_uri:document.location.href,state:"dmauth_"+DM.guid()});if(a.display==="popup"){var h=window.open(DM._oauth.authorizeUrl+"?"+DM.QS.encode(a),"dmauth",c);DM.Auth._active[a.state]={cb:g?g:function(){},win:h};DM.Auth._popupMonitor()}else{location.href=DM._oauth.authorizeUrl+"?"+DM.QS.encode(a)}},logout:function(a){var g=DM._oauth.logoutUrl;var d=DM.getSession();var b=[];var f="dm_l_o_sc";var c;if(d&&d.access_token){b.push("access_token="+encodeURIComponent(d.access_token));c="_"+d.access_token+"_logout";window[c]=function(h){if(DM.type(h)=="array"&&!h.length){a({});DM.Auth.setSession(null,"notConnected")}else{a(h)}window[c]=null};b.push("callback="+c)}var e=document.getElementById(f);if(e){e.parentNode.removeChild(e)}e=document.createElement("script");e.type="text/javascript";e.id=f;document.body.appendChild(e);e.src=g+(b.length?("?"+b.join("&")):"")}});DM.provide("Auth",{_active:{},_receivedSession:null,loadSiteSession:function(){var c=true;var f={};var b={session:null,loading_method:null};if(window.location.host.match(/dailymotion\.com$/)){var g=DM.Cookie.getCookieValue("sid");var e=DM.Cookie.getCookieValue("access_token");var a=DM.Cookie.getCookieValue("refresh_token");if(a){f.refresh_token=a;c=false}var d="neon_cookie";if(e){f.access_token=e;c=false}if(!a&&!e&&g){f.access_token=g;d="sid_cookie";c=false}if(a&&!f.access_token){f.expires=Math.round(new Date().getTime()/1000)-10}}if(!c){b.session=f;b.loading_method=d}return b},refreshToken:function(c,a){a=a||function(){};DM._refreshCallbacks.push(a);if(DM._refreshRequested){return}DM._refreshRequested=true;var b=function(h){while(DM._refreshCallbacks.length>0){var g=DM._refreshCallbacks.pop();g(h)}DM._refreshRequested=false};if(!DM.Auth.isSessionExpired(c)){b(c);return}if(DM._apiKey&&DM._apiSecret&&c&&c.refresh_token){var e=DM.ApiServer.xhr();var d={grant_type:"refresh_token",client_id:DM._apiKey,client_secret:DM._apiSecret,refresh_token:c.refresh_token};var f=DM.QS.encode(d);e.open("POST",DM._oauth.tokenUrl);e.setRequestHeader("Content-type","application/x-www-form-urlencoded");e.send(f);e.onreadystatechange=function(){if(e.readyState==4){var g={error:{code:500,message:"Invalid server response",type:"transport_error"}},h;if(e.status){try{h=DM.JSON.parse(e.responseText)}catch(j){}}if(DM.type(h)!="object"){h=g;DM.error("Cannot parse call response data "+e.responseText)}if(e.status&&e.status!==200){h=g}var i=h.access_token?h:null;DM.Auth.setSession(i,i?"connected":"notConnected");b(h)}}}else{b(c)}},readFragment:function(){var b=window.location.hash.replace("%23","#"),a=b.substr(b.lastIndexOf("#")+1);if(a.indexOf("access_token=")>=0||a.indexOf("error=")>=0){var c=DM.QS.decode(a);if(window.opener&&window.opener.DM.Auth.setSession&&window.name=="dmauth"&&window.opener.name!="dmauth"){document.documentElement.style.display="none";window.opener.DM.Auth.recvSession(c)}else{if(c&&("state" in c)&&c.state.indexOf("dmauth_")==0){if("access_token" in c){DM.Auth._receivedSession=c}window.location.hash=b.substr(0,b.lastIndexOf("#"))}}}},recvSession:function(b){if(!b){DM.error("Received invalid session")}if("error" in b){DM.error("Received auth error `"+b.error+"': "+b.error_description)}if(!("state" in b)){DM.error("Received a session with not `state' field");return}if(!(b.state in DM.Auth._active)){DM.error("Received a session from an inactive window");return}var a;if(b){a={};for(k in b){a[k]=b[k]}}else{a=b}DM.Auth._active[b.state].session=a},setSession:function(e,b){var g=!DM._session&&e,i=DM._session&&!e,f=false,c=g||i||(DM._session&&e&&DM._session.access_token!=e.access_token),d=b!=DM._userStatus;if(e&&"expires_in" in e){e.expires=Math.round(new Date().getTime()/1000)+parseInt(e.expires_in,10);var h=parseInt(e.expires_in,10);delete e.expires_in}var a={session:e,status:b};DM._session=e;DM._userStatus=b;if(c&&DM.Cookie&&DM.Cookie.getEnabled()){DM.Cookie.set(e)}if(DM._sessionLoadingMethod==="neon_cookie"){DM.Cookie.setNeonCookies(e.access_token,e.refresh_token,h)}if(d){DM.Event.fire("auth.statusChange",a)}if(i||f){DM.Event.fire("auth.logout",a)}if(g||f){DM.Event.fire("auth.login",a)}if(c){DM.Event.fire("auth.sessionChange",a)}return a},isSessionExpired:function(a,b){if(typeof(a)==="undefined"){a=DM._session}if(typeof(b)==="undefined"){b=DM._sessionLoadingMethod}if(!a){return true}if(b==="neon_cookie"){return !DM.Cookie.getCookieValue("access_token")}return a&&"expires" in a&&new Date().getTime()>a.expires*1000},_popupMonitor:function(){for(var f in DM.Auth._active){if("win" in DM.Auth._active[f]){try{if(DM.Auth._active[f].win.closed){delete DM.Auth._active[f].win;DM.Auth.recvSession({error:"access_denied",error_description:"Client closed the window",state:f})}}catch(d){}}if("session" in DM.Auth._active[f]){var a=DM.Auth._active[f];delete DM.Auth._active[f];var c=a.session;if("access_token" in c){DM.Auth.setSession(c,"connected")}else{DM.Auth.setSession(null,"notConnected")}if("win" in a){a.win.close()}if("cb" in a){a.cb({status:DM._userStatus,session:DM._session})}}}var b=false;for(var f in DM.Auth._active){b=true;break}if(b&&!DM.Auth._popupInterval){DM.Auth._popupInterval=window.setInterval(DM.Auth._popupMonitor,100)}else{if(!b&&DM.Auth._popupInterval){window.clearInterval(DM.Auth._popupInterval);DM.Auth._popupInterval=null}}}});DM.provide("",{player:function(b,a){b=DM.$(b);if(!b||b.nodeType!==Node.ELEMENT_NODE){throw new Error("Invalid first argument sent to DM.player(), requires a HTML element or element id: "+b)}if(!a||typeof a!=="object"){throw new Error("Missing 'options' parameter for DM.player()")}if(DM.Player._INSTANCES[b.id]!==undefined){b=DM.Player.destroy(b.id)}return DM.Player.create(b,a)},destroy:function(b){if(!b){if(DM.Array.keys(DM.Player._INSTANCES).length===0){DM.warn("DM.destroy(): no player to destroy");return}for(var a in DM.Player._INSTANCES){DM.Player.destroy(a)}}else{if(DM.Player._INSTANCES[b]===undefined){DM.warn("Invalid first argument sent to DM.destroy(), requires a player id: "+b);return}DM.Player.destroy(b)}}});DM.provide("Player",{_IFRAME_ORIGIN:null,_INSTANCES:{},_EVENTS:{},_ANCHORS:{},_INTERVAL_ID:null,API_MODE:null,EVENT_HANDLERS:{},_environmentInfo:null,apiReady:false,autoplay:false,currentTime:0,bufferedTime:0,duration:NaN,seeking:false,error:null,ended:false,muted:false,volume:1,paused:true,fullscreen:false,controls:undefined,rebuffering:false,qualities:[],quality:undefined,subtitles:[],subtitle:undefined,video:null,companionAds:null,loop:false,adData:{},play:function(){this.api("play")},togglePlay:function(){this.api("toggle-play")},pause:function(){this.api("pause")},seek:function(a){this.api("seek",a)},load:function(b,a){this.api("load",b,a)},setMuted:function(a){this.api("muted",a)},toggleMuted:function(){this.api("toggle-muted")},setVolume:function(a){this.api("volume",a)},setQuality:function(a){this.api("quality",a)},setSubtitle:function(a){this.api("subtitle",a)},setFullscreen:function(a){this.api("fullscreen",a)},setControls:function(a){this.api("controls",a)},toggleControls:function(){this.api("toggle-controls")},setProp:function(){this.api.apply(this,["set-prop"].concat([].slice.call(arguments)))},setAdsConfig:function(a){this.api("set-ads-config",a)},setCustConfig:function(a){this.api("set-ads-config",a)},watchOnSite:function(a){this.api("watch-on-site")},setLoop:function(a){this.api("loop",a)},api:function(b){var a=(2<=arguments.length)?[].slice.call(arguments,1):[];this._send(b,a)},create:function(d,b){b=DM.copy(b,{width:480,height:270,title:"video player",referrerPolicy:null,params:{},events:{}});if(location.search.length>1&&location.search.indexOf("dm:params")!==-1){var e=DM.QS.decode(location.search.substr(1));if("dm:params" in e){b.params=DM.copy(DM.QS.decode(e["dm:params"]),b.params)}}DM._domain.www=DM._domain.www.replace(/^https?\:/,"");var c=document.createElement("iframe");DM.Array.forEach(["id","style","class"],function(f){var g=d.getAttribute(f);if(g){c.setAttribute(f,g)}});c.setAttribute("frameborder","0");c.setAttribute("allowfullscreen","true");c.setAttribute("allow","autoplay");if(typeof b.referrerPolicy==="string"){c.referrerPolicy=b.referrerPolicy}c.title="Dailymotion "+b.title;c.type="text/html";c.width=b.width;c.height=b.height;d.parentNode.replaceChild(c,d);DM.copy(c,DM.Player);c.init(b.video,b.params,b.playlist,b.events,d);if(typeof b.events=="object"){for(var a in b.events){c.addEventListener(a,b.events[a],false)}}return c},destroy:function(c){var b=DM.Player._INSTANCES[c];var a=DM.Player._ANCHORS[c];DM.Array.forEach(DM.Player._EVENTS[c],function(e){var d=DM.Array.keys(e)[0];b.removeEventListener(d,e[d],false)});b.parentNode.replaceChild(a,b);delete DM.Player._INSTANCES[c];delete DM.Player._ANCHORS[c];delete DM.Player._EVENTS[c];return a},_getPathname:function(a,b){if(b&&!a){return"/embed/playlist/"+b}if(a){return"/embed/video/"+a}return"/embed"},init:function(d,f,e,c,b){var a=this;DM.Player._installHandlers();f=typeof f=="object"?f:{};f.api=DM.Player.API_MODE;if(location.origin){f.origin=location.origin}else{f.origin="*"}if(DM._apiKey){f.apiKey=DM._apiKey}if(d&&e){f.playlist=e}f.pubtool=f.pubtool||"jssdk";if(f.pubtool==="jssdk"){console.warn("DEPRECATED: Legacy JS SDK integration method is deprecated. Please consider using Player Embeds https://faq.dailymotion.com/hc/en-us/articles/4411096679954-Integrate-your-Player-Embed")}this.id=f.id=this.id?this.id:DM.guid();this.src="https:"+DM._domain.www+this._getPathname(d,e)+"?"+DM.QS.encode(f);if(DM.Player._INSTANCES[this.id]!=this){DM.Player._INSTANCES[this.id]=this;DM.Player._EVENTS[this.id]=c;DM.Player._ANCHORS[this.id]=b;this.addEventListener("unload",function(){delete DM.Player._INSTANCES[this.id];delete DM.Player._ANCHORS[this.id];delete DM.Player._EVENTS[this.id]})}this.autoplay=DM.parseBool(f.autoplay)},_installHandlers:function(){if(DM.Player.API_MODE!==null){return}if(window.postMessage){DM.Player.API_MODE="postMessage";var a=function(f){var d=f.origin?f.origin.replace(/^https?:/,""):null;if(!d||d.indexOf(DM._domain.www)!==0){return}if(!f.data||typeof f.data!=="string"){return}if(!DM.Player._IFRAME_ORIGIN){DM.Player._IFRAME_ORIGIN=f.origin}var c=DM.Player._decodePostMessage(f.data);if(!c.id||!c.event){return}var b=DM.$(c.id);if(!b||typeof b._recvEvent!=="function"){return}b._recvEvent(c)};if(window.addEventListener){window.addEventListener("message",a,false)}else{if(window.attachEvent){window.attachEvent("onmessage",a)}}}},_decodePostMessage:function(b){if(b.substring(0,1)==="{"){try{var a=JSON.parse(b);return a}catch(c){return{}}}return DM.QS.decode(b)},_send:function(b,a){if(!this.apiReady){DM.warn('Player not ready. Ignoring command : "'+b+'"');return}if(DM.Player.API_MODE=="postMessage"){if(!this.contentWindow||typeof this.contentWindow.postMessage!=="function"){DM.warn("Player not reachable anymore. You may have destroyed it.");return}this.contentWindow.postMessage(JSON.stringify({command:b,parameters:a||[]}),DM.Player._IFRAME_ORIGIN)}},_dispatch:document.createEvent?function(b){const a=b.event;const c=document.createEvent("HTMLEvents");if(b.event==="ad_log"&&b.args){c.data=b.args}c.initEvent(a,true,true);this.dispatchEvent(c)}:function(b){const a=b.event;if("on"+a in this){c=document.createEventObject();this.fireEvent("on"+a,c)}else{if(a in this.EVENT_HANDLERS){var c={type:a,target:this};DM.Array.forEach(this.EVENT_HANDLERS[a],function(d){d(c)})}}},_recvEvent:function(a){switch(a.event){case"apiready":if(this.apiReady){return}else{this.apiReady=true}this._environmentInfo=a.info||null;break;case"start":this.ended=false;break;case"loadedmetadata":this.error=null;break;case"timeupdate":case"ad_timeupdate":this.currentTime=parseFloat(a.time);break;case"progress":this.bufferedTime=parseFloat(a.time);break;case"durationchange":this.duration=parseFloat(a.duration);break;case"seeking":this.seeking=true;this.currentTime=parseFloat(a.time);break;case"seeked":this.seeking=false;this.currentTime=parseFloat(a.time);break;case"fullscreenchange":this.fullscreen=DM.parseBool(a.fullscreen);break;case"controlschange":this.controls=DM.parseBool(a.controls);break;case"volumechange":this.volume=parseFloat(a.volume);this.muted=DM.parseBool(a.muted);break;case"ad_start":this.adData=a.adData;case"video_start":case"ad_play":case"playing":case"play":this.paused=false;break;case"end":this.ended=true;break;case"ad_end":this.adData={};case"ad_pause":case"video_end":case"pause":this.paused=true;break;case"error":this.error={code:a.code,title:a.title,message:a.message};break;case"rebuffer":this.rebuffering=DM.parseBool(a.rebuffering);break;case"qualitiesavailable":this.qualities=a.qualities;break;case"qualitychange":this.quality=a.quality;break;case"subtitlesavailable":this.subtitles=a.subtitles;break;case"subtitlechange":this.subtitle=a.subtitle;break;case"videochange":this.video={videoId:a.videoId,title:a.title,duration:parseFloat(a.duration)};break;case"ad_companions":this.companionAds=a.companionAds;break}this._dispatch(a)},addEventListener:function(b,c,a){if("on"+b in this&&this.attachEvent){this.attachEvent("on"+b,c,a)}else{if(!(b in this.EVENT_HANDLERS)){this.EVENT_HANDLERS[b]=[]}this.EVENT_HANDLERS[b].push(c)}}});
@@ -0,0 +1,80 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/videojs/js/dailymotion/api/dailymotion.player.min.js
4
+ # Vimeo Player|API
5
+ #
6
+ # Copyright (C) Dailymotion 2023
7
+ #
8
+ # -----------------------------------------------------------------------------
9
+ */
10
+
11
+ // Dailymotion Player Embed v-0.0.3352-rc1
12
+ // This file is generated dynamically, do not host it yourself
13
+ // Statically hosting or caching this file will break your integration
14
+ //
15
+ 'use strict';var _dmpesplayer=function(){function oa(d,a){var b=Object.keys(d);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(d);a&&(c=c.filter(function(e){return Object.getOwnPropertyDescriptor(d,e).enumerable}));b.push.apply(b,c)}return b}function x(d){for(var a=1;a<arguments.length;a++){var b=null!=arguments[a]?arguments[a]:{};a%2?oa(Object(b),!0).forEach(function(c){Z(d,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(b)):
16
+ oa(Object(b)).forEach(function(c){Object.defineProperty(d,c,Object.getOwnPropertyDescriptor(b,c))})}return d}function C(d){"@babel/helpers - typeof";return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},C(d)}function pa(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function");}function qa(d,a){for(var b=0;b<a.length;b++){var c=
17
+ a[b];c.enumerable=c.enumerable||!1;c.configurable=!0;"value"in c&&(c.writable=!0);Object.defineProperty(d,ra(c.key),c)}}function sa(d,a,b){a&&qa(d.prototype,a);b&&qa(d,b);Object.defineProperty(d,"prototype",{writable:!1});return d}function Z(d,a,b){a=ra(a);a in d?Object.defineProperty(d,a,{value:b,enumerable:!0,configurable:!0,writable:!0}):d[a]=b;return d}function aa(d,a){var b=Array.isArray(d)?d:void 0;if(!b)a:{var c=null==d?null:"undefined"!=typeof Symbol&&d[Symbol.iterator]||d["@@iterator"];if(null!=
18
+ c){var e,f,g,k=[],h=!0,m=!1;try{if(f=(c=c.call(d)).next,0===a){if(Object(c)!==c){b=void 0;break a}h=!1}else for(;!(h=(e=f.call(c)).done)&&(k.push(e.value),k.length!==a);h=!0);}catch(n){m=!0;var p=n}finally{try{if(!h&&null!=c.return&&(g=c.return(),Object(g)!==g)){b=void 0;break a}}finally{if(m)throw p;}}b=k}else b=void 0}if(!(d=b||ta(d,a)))throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19
+ return d}function ua(d){var a=Array.isArray(d)?ba(d):void 0;a||(a="undefined"!==typeof Symbol&&null!=d[Symbol.iterator]||null!=d["@@iterator"]?Array.from(d):void 0);if(!(d=a||ta(d)))throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return d}function ta(d,a){if(d){if("string"===typeof d)return ba(d,a);var b=Object.prototype.toString.call(d).slice(8,-1);"Object"===b&&d.constructor&&(b=d.constructor.name);
20
+ if("Map"===b||"Set"===b)return Array.from(d);if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return ba(d,a)}}function ba(d,a){if(null==a||a>d.length)a=d.length;for(var b=0,c=Array(a);b<a;b++)c[b]=d[b];return c}function ra(d){a:if("object"===typeof d&&null!==d){var a=d[Symbol.toPrimitive];if(void 0!==a){d=a.call(d,"string");if("object"!==typeof d)break a;throw new TypeError("@@toPrimitive must return a primitive value.");}d=String(d)}return"symbol"===typeof d?d:String(d)}function va(){return(new URL(window.location.href)).searchParams.get("dmLogger")||
21
+ ""}function wa(d,a){var b;if(eb&&console[a]){for(var c=arguments.length,e=Array(2<c?c-2:0),f=2;f<c;f++)e[f-2]=arguments[f];c=["%cPES%c".concat(d),"".concat("border-radius: 0.125rem; padding: 0.0625rem 0.1875rem; margin: 0 0.0625rem; color: white;","; background: purple"),"".concat("border-radius: 0.125rem; padding: 0.0625rem 0.1875rem; margin: 0 0.0625rem; color: white;","; background: #ae27ae")].concat(e);(b=console)[a].apply(b,ua(c))}}function fb(){var d=null;if(z())return l.log("Skipping 3rd party cookie detection on dailymotion.com"),
22
+ Promise.resolve();var a=new Promise(function(c){d=setTimeout(function(){l.log("3rd party cookie","Received detection timeout");c()},2E3)}),b=new Promise(function(c){var e=document.createElement("script");e.src="".concat("https://geo.dailymotion.com","/cookie.js");e.onload=function(){l.log("3rd party cookie","Script loaded");clearTimeout(d);return c()};e.onerror=function(){l.log("3rd party cookie","Script error");clearTimeout(d);return c()};document.head.appendChild(e)});return Promise.race([b,a])}
23
+ var xa=function(d){return new Promise(function(a,b){var c=d.getAttribute("load-status");"loaded"===c?a():"error"===c?b():(d.addEventListener("load",function(){d.setAttribute("load-status","loaded");a()}),d.addEventListener("error",function(){d.setAttribute("load-status","error");b()}))})},ya=function(d,a,b,c){d.addEventListener(a,b,c);return function(){d.removeEventListener(a,b,c)}},M=function(d,a){var b=2<arguments.length&&void 0!==arguments[2]?arguments[2]:31536E6;b=["".concat(d,"=").concat(a),
24
+ "path=/","max-age=".concat(b),"samesite=lax","secure"];document.cookie=b.join(";")},N=function(d){var a=window.document.cookie.split(";").map(function(b){return b.trim()}).find(function(b){return b.startsWith(d)});return(null===a||void 0===a?void 0:a.split("=")[1])||""},O=function(){var d=[],a=new window.Uint16Array(32);window.crypto.getRandomValues(a);a.forEach(function(b){return d.push("000".concat(b.toString(16)).slice(-4))});return"".concat(d[0]).concat(d[1],"-").concat(d[2],"-").concat(d[3],
25
+ "-").concat(d[4],"-").concat(d[5]).concat(d[6]).concat(d[7])},t={PUBLIC:{AD_CLICK:"ad_click",AD_COMPANIONSREADY:"ad_companions",AD_DURATIONCHANGE:"ad_durationchange",AD_END:"ad_end",AD_ERROR:"ad_error",AD_IMPRESSION:"ad_impression",AD_LOADED:"ad_loaded",AD_PAUSE:"ad_pause",AD_PLAY:"ad_play",AD_READYTOFETCH:"ad_readytofetch",AD_START:"ad_start",AD_TIMECHANGE:"ad_timeupdate",PLAYER_ASPECTRATIOCHANGE:"pes_aspectratiochange",PLAYER_CRITICALPATHREADY:"playback_ready",PLAYER_END:"end",PLAYER_ERROR:"error",
26
+ PLAYER_HEAVYADSINTERVENTION:"player_heavyadsintervention",PLAYER_PIPEXPANDEDCHANGE:"pes_pipexpandedchange",PLAYER_PLAYBACKPERMISSION:"playback_resolution",PLAYER_PLAYBACKSPEEDCHANGE:"playbackspeedchange",PLAYER_PRESENTATIONMODECHANGE:"pes_presentationmodechange",PLAYER_SCALEMODECHANGE:"pes_scalemodechange",PLAYER_START:"start",PLAYER_VIDEOCHANGE:"videochange",PLAYER_VIDEOLISTCHANGE:"videolistchange",PLAYER_VIEWABILITYCHANGE:"pes_viewabilitychange",PLAYER_VOLUMECHANGE:"volumechange",VIDEO_BUFFERING:"waiting",
27
+ VIDEO_DURATIONCHANGE:"video_durationchange",VIDEO_END:"video_end",VIDEO_PAUSE:"pause",VIDEO_PLAY:"play",VIDEO_PLAYING:"playing",VIDEO_PROGRESS:"progress",VIDEO_QUALITIESREADY:"qualitiesavailable",VIDEO_QUALITYCHANGE:"qualitychange",VIDEO_SEEKEND:"seeked",VIDEO_SEEKSTART:"seeking",VIDEO_START:"video_start",VIDEO_SUBTITLESCHANGE:"subtitlechange",VIDEO_SUBTITLESREADY:"subtitlesavailable",VIDEO_TIMECHANGE:"timeupdate"},PRIVATE:{ALL:"all",BACK_TO_INLINE_DISPLAY_REQUESTED:"pes_pip_back_to_inline_display_requested",
28
+ CLOSE_PIP_REQUESTED:"pes_pip_close_requested",COLLAPSE_PIP_REQUESTED:"pes_pip_collapse_requested",EXPAND_PIP_REQUESTED:"pes_pip_expand_requested",PLAYER_APIREADY:"apiready",PLAYER_CROSSICONCLICK:"crossiconclick",PLAYER_FULLSCREENCHANGE:"fullscreenchange",PLAYER_NATIVEPIPCHANGE:"presentationmodechange",PLAYER_STATE:"playerstate",WRITE_UID:"pes_write_uid"}},P={CUSTOMCONFIG:"set-ads-config",FULLSCREEN:"fullscreen",INIT_PIP_IFRAME_CHUNK:"initPesPipChunk",LOAD:"load",LOOP:"loop",MUTED:"muted",NOTIFY_EMBEDDER_URL_CHANGED:"notifyEmbedderURLChanged",
29
+ NOTIFY_PIP_CHANGED:"notifyPesPipChanged",PAUSE:"pause",PLAY:"play",QUALITY:"quality",SCALE:"scaleMode",SEEK:"seek",SPEED:"speed",STATE:"playerstate",SUBTITLES:"subtitle",UPDATE_NEON_TRACKING_DATA:"updateNeonTrackingData",UPDATE_PARAMS:"updatePesParams",VIEWPORT_RESIZE:"notifyPesViewportSizeChanged",VOLUME:"volume",CONTROLS:"controls"},Q=function(d,a){if(d._do_not_use_07eff3cdc5fbd340477d.iframe.contentWindow){for(var b=arguments.length,c=Array(2<b?b-2:0),e=2;e<b;e++)c[e-2]=arguments[e];d._do_not_use_07eff3cdc5fbd340477d.iframe.contentWindow.postMessage(JSON.stringify({command:a,
30
+ parameters:c}),"https://geo.dailymotion.com")}},R=function(d,a){window.postMessage(JSON.stringify(x({event:d},a)),window.origin)},I=function(d,a,b){return za(d,a,b)},Aa=function(d,a){return za(null,d,a)},za=function(d,a,b){return ya(window,"message",function(c){var e=c.origin;c=c.data;if((e===window.origin||"https://geo.dailymotion.com"===e)&&c&&"string"===typeof c)try{var f=JSON.parse(c);"all"!==a&&a!==f.event||null!==d&&d._do_not_use_07eff3cdc5fbd340477d.id!==f.id||b(f)}catch(g){}})},eb=va().split(",").includes("pes"),
31
+ l={log:function(d){for(var a=arguments.length,b=Array(1<a?a-1:0),c=1;c<a;c++)b[c-1]=arguments[c];return wa.apply(void 0,[d,"log"].concat(b))},error:function(d){for(var a=arguments.length,b=Array(1<a?a-1:0),c=1;c<a;c++)b[c-1]=arguments[c];return wa.apply(void 0,[d,"error"].concat(b))}},q={"udger":{"browserOsFamily":"Windows","browserOsName":"Windows 10","browserUaFamily":"Chrome","browserUaName":"Chrome 117.0.0.0","browserUaVersion":117,"deviceType":"desktop"},"geoip":{"visitorAsNumber":"AS3320","visitorCity":"D\u00c3\u00bcsseldorf","visitorContinent":"EU","visitorCountry":"DE","visitorRegion":"NW"},"playerEnv":"prod","playerGatekeepers":["PV5_ADSENSE_DISPLAY_PREROLL","PV5_AD_BUFFET","PV5_AD_COOKIE_SYNC","PV5_AUDIO_ADS_POC","PV5_CONSENT","PV5_COOKIE_SYNC_AB_TEST","PV5_DISABLE_AUDIO_VISUALIZER","PV5_ENABLE_IMA_OMSDK","PV5_IAS_INAPP","PV5_IAS_SAMPLING","PV5_IGNORE_EARLY_LOAD_MIDROLL","PV5_IMA_CUSTOM_PLAYBACK_IOS","PV5_IMA_NATIVE_POC","PV5_IMA_OVERLAY","PV5_IMA_REQUEST_TIMEOUT","PV5_LIVE_MIDROLL_DISABLED","PV5_MOAT_30","PV5_MULTI_FALLBACK","PV5_OEMBED_GEO","PV5_OMSDK","PV5_OMSDK_NATIVE","PV5_PROXY_LOAD_POSTROLL","PV5_SAVE_VAST_RECORD","PV5_TEMP_AD_SLOT_HEIGHT","PV5_TEMP_IMA_PAGEURL","PV5_TEMP_IMA_PAGEURL_OFFSITE","PV5_TEMP_VMAPNOJSONP","PV5_VERTICAL_ADS","PV5_WATCHTOWER","PV5_SIMID"],"trafficSegment":146939,"v1st":"8ae7e19f-db58-490d-b254-659d3cfc7013","player":{"id":"default","ownerId":null,"status":"ok","aspectRatio":"16:9","autoskipAfter":10,"autostart":"firstTimeViewable","color":null,"enableHeaderDetectionOverlap":false,"enableAds":true,"enableAdsAutopauseInactiveTab":false,"enableAdsControls":true,"enableAutomaticRecommendations":true,"enableAutoNext":true,"enableAutonext":true,"enableAutoskip":false,"enableChannelLink":true,"enableDMLogo":true,"enableDmLogo":true,"enableGooglePolicyUi":false,"enableInfo":true,"enablePlaybackControls":true,"enableQueue":true,"enableReceiveUrlLocation":false,"enableSharing":true,"enableSharingUrlLocation":false,"enableStartPipExpanded":false,"enableStartscreenDMLink":true,"enableTitlesInVideoCards":true,"enableVideoTitleLink":true,"enableWaitForCustomConfig":false,"pip":"off","watermarkImageType":"none","watermarkImageUrl":"","watermarkLinkType":"none","watermarkLinkUrl":""}},Ba=[{key:"id",isPublic:!0,isTrackable:!0},{key:"ownerId",isPublic:!1,isTrackable:!1},{key:"aspectRatio",isPublic:!0,isTrackable:!0},{key:"autoskipAfter",isPublic:!1,isTrackable:!0},{key:"autostart",
32
+ isPublic:!0,isTrackable:!0},{key:"color",isPublic:!0,isTrackable:!0},{key:"enableAds",isPublic:!1,isTrackable:!0},{key:"enableAdsAutopauseInactiveTab",isPublic:!1,isTrackable:!0},{key:"enableAdsControls",isPublic:!0,isTrackable:!0},{key:"enableAutonext",isPublic:!0,isTrackable:!0},{key:"enableAutoskip",isPublic:!1,isTrackable:!0},{key:"enableChannelLink",isPublic:!0,isTrackable:!0},{key:"enableDmLogo",isPublic:!0,isTrackable:!0},{key:"enableGooglePolicyUi",isPublic:!0,isTrackable:!0},{key:"enableHeaderDetectionOverlap",
33
+ isPublic:!1,isTrackable:!0},{key:"enableInfo",isPublic:!0,isTrackable:!0},{key:"enablePlaybackControls",isPublic:!0,isTrackable:!0},{key:"enableQueue",isPublic:!0,isTrackable:!0},{key:"enableReceiveUrlLocation",isPublic:!0,isTrackable:!0},{key:"enableSharing",isPublic:!0,isTrackable:!0},{key:"enableSharingUrlLocation",isPublic:!0,isTrackable:!0},{key:"enableStartPipExpanded",isPublic:!0,isTrackable:!0},{key:"enableStartscreenDMLink",isPublic:!0,isTrackable:!0},{key:"enableTitlesInVideoCards",isPublic:!0,
34
+ isTrackable:!0},{key:"enableVideoTitleLink",isPublic:!0,isTrackable:!0},{key:"enableWaitForCustomConfig",isPublic:!0,isTrackable:!0},{key:"pip",isPublic:!0,isTrackable:!0},{key:"watermarkImageType",isPublic:!0,isTrackable:!0},{key:"watermarkImageUrl",isPublic:!0,isTrackable:!1},{key:"watermarkLinkType",isPublic:!0,isTrackable:!0},{key:"watermarkLinkUrl",isPublic:!0,isTrackable:!1}],ca=function(d,a){var b={};Ba.filter(function(c){return c[a]}).forEach(function(c){c=c.key;b[c]=d[c]});return b},gb=function(d){var a=
35
+ window.dailymotion._do_not_use_07eff3cdc5fbd340477d.settings;return void 0!==a[d]?Promise.resolve(a[d]):window.fetch("".concat("https://geo.dailymotion.com","/player/").concat(d,".json"),{method:"GET"}).then(function(b){return b.json()}).then(function(b){Ca(b);l.log("Player settings",b);return b})["catch"](function(b){console.error("Settings fetch error: ",b)})},hb=function(d){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};a&&"object"===C(a)&&Object.keys(a).forEach(function(b){Ba.map(function(c){return c.key}).includes(b)&&
36
+ z()&&(d[b]=a[b],d.hasOverride=!0)});return d},Ca=function(d){"not_found"===d.status?console.warn("".concat("The player configuration ID has not been found"," : ").concat(d.id)):("deleted"===d.status&&console.warn("".concat("The player configuration ID has been deleted"," : ").concat(d.id)),window.dailymotion._do_not_use_07eff3cdc5fbd340477d.settings[d.id]=d)},Da=function(d){return"string"===typeof d?ib(d):d},ib=function(d){var a={};d.split("&").forEach(function(b){b=b.split("=");var c=aa(b,2);b=c[0];
37
+ c=c[1];if(b&&c){var e=b.match(/([a-zA-Z0-9]+)\[([a-zA-Z0-9]+)\]/);"true"===c?a[b]=!0:"false"===c?a[b]=!1:c.match(/^[0-9]+$/)?a[b]=b.match(/color$/i)?c:parseInt(c):e?a[e[1]]=x({},a[e[1]],Z({},e[2],decodeURIComponent(c))):a[b]=decodeURIComponent(c)}});return a},z=function(){return(window.location.hostname||window.origin).endsWith(".dailymotion.com")},S=!1,Ea=function(){return S},T=!1,Fa=new RegExp(/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/),da=null,jb=function(){var d=N("uid_dm");
38
+ return null===d||void 0===d?void 0:d.match(Fa)},kb=new RegExp(/[A-F0-9]{32}/),D=null,lb="xbzwps xbzwyj xkb83k x5xhrd x2k4l07 xgphb5 x2k4kr6 x2k4l64 x1fv3qc x1uzrwn".split(" "),Ga={inherit:"","16:9":"56.25%","4:3":"75%","1:1":"100%","3:4":"133.3%","9:16":"177.7%"},Ha={SMALL:480,MEDIUM:1800,LARGE:2160},mb="fit fill fillLeft fillRight fillTop fillBottom".split(" "),Ia=function(d,a){var b=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},c=Object.prototype.hasOwnProperty.call(Ga,a)?a:"16:9";Object.assign(d._do_not_use_07eff3cdc5fbd340477d.rootNode.style,
39
+ {background:"#000",height:"inherit"===c?"100%":"",paddingBottom:Ga[c],position:"relative",width:"inherit"===c?"100%":""});Object.assign(d._do_not_use_07eff3cdc5fbd340477d.iframe,{height:"100%",width:"100%"});d._do_not_use_07eff3cdc5fbd340477d.stateFromPES.playerAspectRatio=c;b.withPesEvent&&R(t.PUBLIC.PLAYER_ASPECTRATIOCHANGE,{id:d._do_not_use_07eff3cdc5fbd340477d.id,aspectRatio:c})},Ja=function(d,a){var b=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},c=mb.includes(a)?a:"fit";d._do_not_use_07eff3cdc5fbd340477d.stateFromPES.playerScaleMode=
40
+ c;b.withPesEvent&&R(t.PUBLIC.PLAYER_SCALEMODECHANGE,{id:d._do_not_use_07eff3cdc5fbd340477d.id,scaleMode:c})},Ka=!1,La=!1,Ma=!1,ea=!1,fa=!1,rb=function(){function d(a,b,c,e,f,g,k,h){var m=this;pa(this,d);this._do_not_use_07eff3cdc5fbd340477d={placeholderNode:f,settings:g,id:a,iframe:e,index:c,initialized:!1,observer:k,viewportResizeListener:null,rootNode:b,stateFromPES:{playerAspectRatio:null,playerIsViewable:null,playerPip:null,playerPipDisplay:window.innerWidth<=Ha.SMALL?"smallViewport":"largeViewport",
41
+ playerPipIsExpanded:!1,playerPipStatus:"off"===g.pip?"disabled":"enabled",playerPresentationMode:"inline",playerScaleMode:null}};k.init(g,e);ea=h;Ia(this,g.aspectRatio);Ja(this,g.scaleMode);if(!jb())var p=I(this,t.PRIVATE.WRITE_UID,function(){var n;!1!==(null===(n=q.player)||void 0===n?void 0:n.enableAds)&&Ea&&M("uid_dm",da,33696E3);p()});Ka=new Promise(function(n){var r=I(m,t.PRIVATE.PLAYER_APIREADY,function(){m._do_not_use_07eff3cdc5fbd340477d.iframe.removeAttribute("name");r();n()})});La=new Promise(function(n,
42
+ r){window._dmDynamicImportPolyfill("pes.playerInterface.f25338ef.js").then(function(){return window.dailymotion._do_not_use_07eff3cdc5fbd340477d.api(m)}).then(n)["catch"](function(y){return r(y)})});Ma=new Promise(function(n,r){"off"!==g.pip?(window.dailymotion._do_not_use_07eff3cdc5fbd340477d.playerSelectedForPip?console.warn("[".concat(g.id,"] ").concat("PIP is already enabled with another configuration")):window.dailymotion._do_not_use_07eff3cdc5fbd340477d.playerSelectedForPip=m,window._dmDynamicImportPolyfill("pes.pip.e5452126.js").then(n)["catch"](function(y){return r(y)})):
43
+ n()})}sa(d,[{key:"initialize",value:function(){var a=this,b=this._do_not_use_07eff3cdc5fbd340477d,c=b.settings,e=c.autostart,f=c.pip,g=b.id,k=b.observer,h=b.rootNode;b.initialized||(k.earlyObserve(h),this._do_not_use_07eff3cdc5fbd340477d.initialized=Promise.all([Ma,Ka,La]).then(function(){k.unobserve(h);I(a,t.PUBLIC.PLAYER_VIDEOCHANGE,function(m){a._do_not_use_07eff3cdc5fbd340477d.iframe.setAttribute("title","Dailymotion video player - ".concat(m.title));ea&&!fa&&(k.unobserve(h),k.observe(h));fa=
44
+ !0});"off"!==f&&(window.dailymotion._do_not_use_07eff3cdc5fbd340477d.playerSelectedForPip===a&&window.dailymotion.pipResume(),Q(a,P.INIT_PIP_IFRAME_CHUNK));nb();"firstTimeViewable"===e&&ob(a);pb(a)}).then(function(){l.log("Player","".concat(g," fully initialized"));k.observe(h);return a}));return this._do_not_use_07eff3cdc5fbd340477d.initialized}},{key:"destroy",value:function(){var a=this._do_not_use_07eff3cdc5fbd340477d,b=a.placeholderNode,c=a.id,e=a.rootNode,f=a.removeAllListeners;a.observer.unobserve(e);
45
+ f();qb(this);e.parentNode.replaceChild(b,e);this===window.dailymotion._do_not_use_07eff3cdc5fbd340477d.playerSelectedForPip&&(window.dailymotion.pipClose(),window.dailymotion._do_not_use_07eff3cdc5fbd340477d.playerSelectedForPip=null);window.removeEventListener("resize",this._do_not_use_07eff3cdc5fbd340477d.viewportResizeListener);delete window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players[c]}},{key:"isEligibleForPipDisplay",value:function(a){var b=this._do_not_use_07eff3cdc5fbd340477d.settings.pip;
46
+ return"off"===b?{status:!1,reason:"PIP is OFF"}:ea&&!fa?{status:!1,reason:"empty embed without videochange event"}:a?{status:!0,reason:"PIP is ON and was viewable at least once"}:{status:"instant"===b,reason:"instant"===b?"PIP is INSTANT":"was not viewable at least once"}}}]);return d}(),ob=function(d){var a=I(d,t.PUBLIC.PLAYER_VIEWABILITYCHANGE,function(b){var c=b.viewable;b=b.wasViewableAtLeastOnce;d&&(c||d.isEligibleForPipDisplay(b).status)&&(a(),d.play())})},pb=function(d){d._do_not_use_07eff3cdc5fbd340477d.viewportResizeListener=
47
+ function(){Q(d,P.VIEWPORT_RESIZE,{width:window.innerWidth,height:window.innerHeight})};window.addEventListener("resize",d._do_not_use_07eff3cdc5fbd340477d.viewportResizeListener)},nb=function(){Aa(t.PUBLIC.PLAYER_VIEWABILITYCHANGE,function(d){var a=d.viewable;if(d=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players[d.id])d._do_not_use_07eff3cdc5fbd340477d.stateFromPES.playerIsViewable=a})},qb=function(d){var a=function(b){console.warn("Invalid call to player.".concat(b,"() : player ").concat(d._do_not_use_07eff3cdc5fbd340477d.id,
48
+ " has been destroyed"))};Object.keys(d).forEach(function(b){"function"===typeof d[b]&&(d[b]=function(){a(b)})});Object.getOwnPropertyNames(Object.getPrototypeOf(d)).forEach(function(b){"constructor"!==b&&"function"===typeof d[b]&&(d[b]=function(){a(b)})})},Na=function(d){var a;return null===(a=q.playerGatekeepers)||void 0===a?void 0:a.includes(d)},Oa=function(){var d=window.navigator.connection;return d&&d.effectiveType?d.effectiveType:null},ha=function b(a){var c={};Object.keys(a).forEach(function(e){var f=
49
+ a[e];if(void 0!==f&&null!==f&&""!==f){if(null===f)var g=!1;else"object"!==C(f)?g=!1:(g=Object.getPrototypeOf(f),g=g===Object.prototype||null===g);c[e]=g?b(f):f}});return c},sb=function(){var a=window.performance.getEntriesByType("resource").find(function(c){return c.name===document.currentScript.src}),b=function(c){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:6E3;return"number"!==typeof c||Number.isNaN(c)||0>c?null:c>e?e:Math.round(c)};return a?{pes_res:{start_time:b(a.startTime,3E4)},
50
+ pes_custom:{script_request:b(a.requestStart-a.startTime),script_response_start:b(a.responseStart-a.startTime),script_response_end:b(a.responseEnd-a.startTime)}}:null},E=q.udger,Pa=E.browserOsFamily,Qa=E.browserOsName,Ra=E.browserUaFamily,Sa=E.browserUaName,tb=E.browserUaVersion,Ta=E.deviceType,J=q.geoip,Ua=J.visitorAsNumber,ub=J.visitorCity,Va=J.visitorContinent,Wa=J.visitorCountry,Xa=J.visitorRegion,F=q.player,vb=q.playerEnv,ia=q.trafficSegment,wb=function(a,b){a={name:"life_cycle.embedStart",version:"1.0",
51
+ data:{context:{visitor_group:Math.ceil(ia/1E4)},created_ts:Date.now(),empty_player:b,info:{browser:{effective_connection_type:Oa(),os_family:Pa,os_name:Qa,ua_family:Ra,ua_name:Sa,ua_version:tb,user_agent:window.navigator.userAgent},device:{type:Ta,width:window.innerWidth,height:window.innerHeight},player:{config:ca(F,"isTrackable"),embedder:document.location.href,embedder_hostname:document.location.hostname,env:vb,secure:!0,version:"v-0.0.3352-rc1"},visitor:{as_number:Ua,continent:Va,country:Wa,onsite:z(),
52
+ referer:document.referer,region:Xa,timezone_offset:-6E4*(new Date).getTimezoneOffset(),traffic_segment:ia}},perf:sb(),settings:{embed_index:a,pubtool:"pes"}}};F.ownerId&&(a.data.info.publisher={type:"player",xid:F.ownerId});a={channel:"player",edward:"1.1",sent_ts:Date.now(),events:[ha(a)],stack_ctx:{player_stack:"noworker"}};window.fetch("https://pebed.dm-event.net",{method:"POST",body:JSON.stringify(a)})},Ya=function(a){var b=a.name,c=a.emptyPlayer,e=a.pesUUID,f=a.pesIframeIndex,g=a.pesIntegrationType;
53
+ if(Na("PV5_WATCHTOWER")){a=Date.now();c={name:b,version:"1.0",data:{browser:{effective_connection_type:Oa(),os_family:Pa,os_name:Qa,ua_family:Ra,ua_name:Sa,user_agent:window.navigator.userAgent},created_ts:a,device:{type:Ta,height:window.screen.height,width:window.screen.width},player:{embedder:document.location.href,embedder_hostname:document.location.hostname,pes_uuid:e,pes_iframe_index:f,pes_integration_type:g,is_empty:c,pubtool:"pes",version:"v-0.0.3352-rc1",settings:ca(F,"isTrackable")},timestamp:{created_event:a,
54
+ delta_previous_event:window.dailymotion._do_not_use_07eff3cdc5fbd340477d.pesLastEventTs?a-window.dailymotion._do_not_use_07eff3cdc5fbd340477d.pesLastEventTs:null},visitor:{as_number:Ua,city:ub,continent:Va,country:Wa,id:D,onsite:z(),referer:document.referer,region:Xa,timezone_offset:-6E4*(new Date).getTimezoneOffset(),traffic_segment:ia}}};F.ownerId&&(c.data.publisher={xid:F.ownerId});window.dailymotion._do_not_use_07eff3cdc5fbd340477d.pesLastEventTs=a;var k={channel:"player",edward:"1.1",events:[ha(c)],
55
+ sent_ts:Date.now()};window.fetch("https://pebed.dm-event.net",{method:"POST",body:JSON.stringify(k),headers:{"content-type":"text/plain; charset=UTF-8"}}).then(function(h){200===h.status?l.log("Watchtower",b,"sent",k.events[0]):l.error("Watchtower",b,"failed",h.status,k.events[0])})["catch"](function(h){l.error("Watchtower",b,"failed",h.message,k.events[0])})}},Za=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],yb=function(a,b,c,e){if(!0===b)return l.log("Observer","No header overlapping ! Reason: IO isVisible is true"),
56
+ {status:!1,marginTop:null};var f=a.getBoundingClientRect();a=f.x;var g=f.y,k=f.width;f=f.height;if(0<=g)return l.log("Observer","Overlapping detection canceled ! Reason : Player is not about to pass above the fold, y:".concat(g)),{status:!1,marginTop:null};e=document.elementFromPoint(a+Math.round(.5*k),g+Math.round(f*(1-e)));if(!e)return l.log("Observer","No header overlapping ! Reason: No overlapping element"),{status:!1,marginTop:null};if(c.isSameNode(e))return l.log("Observer","No header overlapping ! Reason: Overlapping element is the same as the player iframe"),
57
+ {status:!1,marginTop:null};c=xb(e);if(!c)return l.log("Observer",'No header overlapping ! Reason: Overlapping element or ancestors are not in "fixed" position'),{status:!1,marginTop:null};var h=c.getBoundingClientRect(),m=h.x,p=h.y,n=h.width;h=h.height;l.log("Observer","Overlapping header detection data :\n - IO isVisible : ".concat(b,"\n - targetX : ").concat(a,"\n - targetY : ").concat(g,"\n - targetWidth : ").concat(k,"\n - targetHeight : ").concat(f,"\n - fixedElementX : ").concat(m,
58
+ "\n - fixedElementY: ").concat(p,"\n - fixedElementWidth: ").concat(n,"\n - fixedElementHeight: ").concat(h,"\n - fixed element:"),c,"\n - overlapping element:",e);if(0!==p)return l.log("Observer","No header overlapping ! Reason: Overlapping element Y position is not 0"),{status:!1,marginTop:null};if(!(m<=a&&n>=k))return l.log("Observer","No header overlapping ! Reason: Overlapping element is not fully covering the player width"),{status:!1,marginTop:null};l.log("Observer",
59
+ "Fixed header is overlapping player iframe");return{status:!0,marginTop:h}},$a=function(a){return a.enableHeaderDetectionOverlap||Na("PV5_PES_HEADER_OVERLAP_DETECTION")},xb=function(a){try{for(;a;){var b=window.getComputedStyle(a).getPropertyValue("position").toLowerCase();if("fixed"===b||"sticky"===b)return a;a=a.parentNode instanceof HTMLElement&&"BODY"!==a.tagName?a.parentNode:null}return null}catch(c){return null}},zb=function(){function a(){pa(this,a);this.uiActionOrigin=this.intersectionObserver=
60
+ null;this.earlyObserverMode=this.wasViewableAtLeastOnce=!1;this.playerIframe=this.playerSettings=null;this.hasCompletedHeaderDetection=!1;this.intersectionObserver=new window.IntersectionObserver(this.intersectionObserverCallback.bind(this),{threshold:Za})}sa(a,[{key:"init",value:function(b,c){this.playerSettings=b;this.playerIframe=c;l.log("Observer","Observer initialized ".concat($a(this.playerSettings)?"with":"without"," header detection"))}},{key:"intersectionObserverCallback",value:function(b){var c=
61
+ this;b.forEach(function(e){var f=e.target,g=e.isVisible;if((e=.5<=e.intersectionRatio)&&$a(c.playerSettings)&&!c.hasCompletedHeaderDetection&&0>=f.getBoundingClientRect().y){g=yb(f,g,c.playerIframe,.5);var k=g.marginTop;g.status&&(c.hasCompletedHeaderDetection=!0,e=!1,c.intersectionObserver.disconnect(),c.intersectionObserver=null,l.log("Observer","Defining new observer with root marginTop",k),c.intersectionObserver=new window.IntersectionObserver(c.intersectionObserverCallback.bind(c),{rootMargin:"-".concat(k,
62
+ "px 0px 0px 0px"),threshold:Za}),c.intersectionObserver.observe(f))}e&&!c.wasViewableAtLeastOnce&&(l.log("Observer","Player iframe was viewable at least once"),c.wasViewableAtLeastOnce=!0);c.earlyObserverMode||R(t.PUBLIC.PLAYER_VIEWABILITYCHANGE,x({id:f.id,viewable:e,wasViewableAtLeastOnce:c.wasViewableAtLeastOnce},c.uiActionOrigin?{uiActionOrigin:c.uiActionOrigin}:{}));c.uiActionOrigin=null})}},{key:"observe",value:function(b){var c;null===(c=this.intersectionObserver)||void 0===c?void 0:c.observe(b)}},
63
+ {key:"earlyObserve",value:function(b){var c;l.log("Observer","Early intersection observer has started");this.earlyObserverMode=!0;null===(c=this.intersectionObserver)||void 0===c?void 0:c.observe(b)}},{key:"unobserve",value:function(b){var c;this.earlyObserverMode=!1;null===(c=this.intersectionObserver)||void 0===c?void 0:c.unobserve(b)}},{key:"disconnect",value:function(){var b;null===(b=this.intersectionObserver)||void 0===b?void 0:b.disconnect()}},{key:"setUIActionOrigin",value:function(b){this.uiActionOrigin=
64
+ b}}]);return a}(),ab={create:function(a,b,c,e){var f=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},g=f.videoId,k=f.playlistId,h=f.playerId,m=f.params,p=f.settings,n=f.referrerPolicy;if(!document.body||!document.body.contains(a))return console.warn("The player placeholder node must be added in the body element"),Promise.resolve();var r=a.id||"dailymotion-instance-".concat(O()),y=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.iframeIndex++,K=!g&&!k,ja=new zb,A=Da(m),ka=Da(p),la="pes".concat((null===
65
+ A||void 0===A?0:A.dmPubtool)?"-".concat(A.dmPubtool):"");return gb(h).then(function(B){B=hb(B,ka);var G=Ab(g,k,h,A,n),u=Bb(r,h),H=Cb(),w=new rb(r,u,b,G,a,B,ja,K);window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players[r]=w;Ya({name:"vital_pes_iframe_start",emptyPlayer:K,pesUUID:c,pesIframeIndex:y,pesIntegrationType:e});return Db(r,b,c,y,e,la,B).then(function(v){G.name=encodeURIComponent(v);u.appendChild(H);H.appendChild(G);a.parentNode.replaceChild(u,a);return w})})}},Ab=function(a,b,c){var e=
66
+ 3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},f=4<arguments.length?arguments[4]:void 0,g=document.createElement("iframe"),k="default"!==c?"/player/".concat(c,".html"):"/player.html",h=x({},a&&{video:a},{},b&&{playlist:b});Object.keys(e).filter(function(p){return!h[p]}).forEach(function(p){e[p]&&"object"===C(e[p])?Object.keys(e[p]).forEach(function(n){h["".concat(p,"[").concat(n,"]")]=encodeURIComponent(e[p][n])}):h[p]=encodeURIComponent(e[p])});var m=window.location.href.match(/dmDevBackendEnv=[-_a-zA-Z0-9]+/);
67
+ null!==m&&(m=m[0].split("="),m=aa(m,2)[1],h.dmDevBackendEnv=m);m=Object.keys(h).map(function(p){return"".concat(p,"=").concat(h[p])}).join("&");Object.assign(g,x({allow:"autoplay; fullscreen; picture-in-picture",allowFullscreen:!0,className:"dailymotion-player",frameBorder:0,src:"".concat("https://geo.dailymotion.com").concat(k,"?").concat(m),title:"Dailymotion video player"},f&&{referrerPolicy:f}));return g},Db=function(a,b,c,e,f,g,k){var h=q.trafficSegment,m=q.playerGatekeepers,p=q.player,n=window,
68
+ r=n.location,y=n.origin,K=window.dailymotion._do_not_use_07eff3cdc5fbd340477d,ja=K.pesLastEventTs,A=K.neonTrackingData,ka={width:n.innerWidth,height:n.innerHeight},la=k.hasOverride?k:void 0,B=null;if(k.enableReceiveUrlLocation||k.enableSharingUrlLocation)B=r.hostname?r.href:r.ancestorOrigins[0];var G=null;try{G=(new URL(document.referrer)).origin}catch(u){}return Promise.all([function(){return lb.includes(null===p||void 0===p?void 0:p.ownerId)?new Promise(function(u,H){window._dmDynamicImportPolyfill("pes.liveramp.16b2ae61.js").then(function(){return window.dailymotion._do_not_use_07eff3cdc5fbd340477d.getLiverampEnvelope()}).then(u)["catch"](function(w){return H(w)})}):
69
+ Promise.resolve(null)}(),fb()]).then(function(u){u=aa(u,1)[0];M("_TEST_","1");S="1"===N("_TEST_");M("_TEST_",null,0);z()?T=S:"undefined"!==typeof window.dmCookie3rdPartyAllowed&&(T=window.dmCookie3rdPartyAllowed,delete window.dmCookie3rdPartyAllowed);var H=T,w=N("v1st_dm");H?(l.log("Config","Got v1st from backend, 3rd party cookie allowed"),D=q.v1st):(null===w||void 0===w?0:w.match(kb))?(l.log("Config",'Got v1st from 1st party cookie "v1st_dm"'),D=w):(l.log("Config",'Got v1st from backend, v1st_dm created because 3rd party cookie not allowed and 1st party cookie "v1st_dm" does not exist'),
70
+ D=q.v1st,Ea&&M("v1st_dm",D,604800));var v;!1!==(null===(v=q.player)||void 0===v?void 0:v.enableAds)&&(v=N("uid_dm"),da=(null===v||void 0===v?0:v.match(Fa))?v:O());return JSON.stringify({dmInternalData:{cookies1stPartyAvailable:S,cookies3rdPartyAvailable:T,embedder:B,embedIndex:b,forcedSettings:la,gatekeepers:m,iframeId:a,initialViewportSize:ka,liverampEnvelope:u,logger:va(),neonTrackingData:A,pesIframeIndex:e,pesIntegrationType:f,pesLastEventTs:ja,pesPlayerVersion:"v-0.0.3352-rc1",pesUUID:c,pubtool:g,
71
+ referer:G,targetOrigin:y,ts:h,uid:da,v1st:D}})})},Bb=function(a,b){var c=document.createElement("div");c.id=a;c.classList.add("dailymotion-player-root");c.classList.add("dailymotion-player-".concat(b));return c},Cb=function(){var a=document.createElement("div");a.className="dailymotion-player-wrapper";Object.assign(a.style,{height:"100%",overflow:"hidden",position:"absolute",width:"100%",margin:"0.00001px"});return a},L=function(){console.warn("PIP is disabled in the configuration")},Eb=function(a){l.log("API",
72
+ "dailymotion.forwardNeonTrackingData(data), with data:",a);var b=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players,c=Object.keys(b);0===c.length?window.dailymotion._do_not_use_07eff3cdc5fbd340477d.neonTrackingData=a:Q(b[c[0]],P.UPDATE_NEON_TRACKING_DATA,a)},Fb=function(){var a=q.udger;a=void 0===a?{}:a;return{osFamily:a.browserOsFamily,osName:a.browserOsName,uaFamily:a.browserUaFamily,uaName:a.browserUaName,uaVersion:a.browserUaVersion}},Gb=x({events:t.PUBLIC,createPlayer:function(a){var b=
73
+ 1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=window.dailymotion._do_not_use_07eff3cdc5fbd340477d,e=c.settings,f=c.embedScriptIndex;c=c.pesUUID;var g=document.querySelector("#".concat(a));if(!g)return Promise.reject(Error("".concat("DOM element ID not found"," : #").concat(a)));if(g.classList.contains("dailymotion-player-wrapper"))return Promise.reject(Error("".concat("A player instance is already attached to this DOM element"," : #").concat(a)));if(b&&"object"!==C(b))return Promise.reject(Error("Player options invalid, please use an object"));
74
+ b.player||(1===Object.keys(e).length?b.player=Object.keys(e)[0]:(1<Object.keys(e).length&&console.warn("Several player configurations are imported, please specify a player configuration ID"),b.player="default"));return ab.create(g,f,c,"lib",{videoId:b.video,playlistId:b.playlist,playerId:b.player,params:b.params,settings:b.settings,referrerPolicy:b.referrerPolicy}).then(function(k){return k.initialize()})},getAllPlayers:function(){var a=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players,
75
+ b=[];if(0===Object.keys(a).length)return Error("No player found in the page");Object.values(a).forEach(function(c){return b.push(c.initialize())});return b},getPlayer:function(a){var b=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.players,c=b[a];return 0===Object.keys(b).length?Promise.reject(Error("No player found in the page")):void 0===a?1<Object.keys(b).length?Promise.reject(Error("There are multiple players in the page, please specify an ID")):Object.values(b)[0].initialize():void 0===
76
+ c?Promise.reject(Error("".concat("Player ID not found"," : #").concat(a))):c.initialize()},pipClose:L,pipCollapse:L,pipExpand:L,pipRepaint:L,pipResume:L},z()&&{forwardNeonTrackingData:Eb,getEnvironmentInfo:Fb},{_do_not_use_07eff3cdc5fbd340477d:{api:null,embedScriptIndex:1,iframeIndex:1,neonTrackingData:null,pesUUID:null,players:{},playerSelectedForPip:null,screenId:O(),settings:{}}}),ma;window._dmDynamicImportPolyfill=function(a){var b="pes-".concat(a),c=document.querySelector('script[id="'.concat(b,
77
+ '"]'));if(c)return xa(c);c=document.createElement("script");c.src="".concat("https://static1.dmcdn.net/playerv5","/").concat(a);c.id=b;a=xa(c);document.body.appendChild(c);return a};var U=q.player;if(!U)throw Error("Backend settings not set");var Hb=U.id,Ib=U.status,V=document.currentScript,W=V.dataset,bb=W.video,cb=W.playlist,Jb=W.params,Kb=W.settings,Lb=V.referrerPolicy,X=0,db=!bb&&!cb,na=V.src.match(/\/libs\//);null!==(ma=window.dailymotion)&&void 0!==ma&&ma.createPlayer||(window.dailymotion=x({},
78
+ window.dailymotion,{},Gb));var Y=O();window.dailymotion._do_not_use_07eff3cdc5fbd340477d.pesUUID=Y;l.log("PES UUID",Y);"not_found"!==Ib&&Ca(U);"function"===typeof window.dailymotion.onScriptLoaded&&(window.dailymotion.onScriptLoaded(),delete window.dailymotion.onScriptLoaded);na?l.log("Library script loaded"):(X=window.dailymotion._do_not_use_07eff3cdc5fbd340477d.embedScriptIndex++,l.log("Embed script loaded","Index ".concat(X)),wb(X,db),ab.create(V,X,Y,"embed",{videoId:bb,playlistId:cb,playerId:Hb,
79
+ params:Jb,settings:Kb,referrerPolicy:Lb}).then(function(a){return a.initialize()}));Ya({name:"vital_pes_enter",emptyPlayer:na?null:db,pesUUID:Y,pesIntegrationType:na?"lib":"embed"});return{B:Ha,C:P,E:300,_:ua,a:I,b:Ja,c:function(a){return Object.values(t.PUBLIC).includes(a)},d:t,e:R,f:function(a){return ca(a,"isPublic")},g:function(a){a={channel:"player",edward:"1.1",sent_ts:Date.now(),events:a.map(ha),stack_ctx:{player_stack:"noworker"}};window.fetch("https://pebed.dm-event.net",{method:"POST",body:JSON.stringify(a)})},
80
+ h:x,i:z,j:Z,k:ya,l,m:Aa,s:Q,u:Ia}}()