{"version":3,"file":"830.bundle.js","mappings":";;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAgC;;AAEzB,iCAAiC,6DAAO;;AAExC;AACP,kBAAkB,6DAAO;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO,8BAA8B,6DAAO;;AAErC;AACP,4BAA4B,6DAAO;AACnC;AACA,QAAQ;AACR;AACA;AACA;;AAEO;AACP,0BAA0B,6DAAO;AACjC;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;AC3CA","sources":["webpack://narconon-us-site/./node_modules/@able-sbcadmin/narconon-npm/dist/playerInit.js","webpack://narconon-us-site/ignored|/codebuild/output/src2050249466/src/narconon-yunlin-site/node_modules/global|min-document"],"sourcesContent":["/*******************************************************************************************************************\n * File: /assets/js/videoimport.js\n * Imports videojs and prepares the player for use.\n * \n * Vid player code and various disclaimer work - ABLE DEV\n * \n * Author: Matt Hawk\n *\n *******************************************************************************************************************/\n import videojs from 'video.js';\n\nexport function globalSuccessPlayer () {videojs('vid-global-success');}\n\nexport function heroVidPlayer () {\n let vidHeader = videojs('hero-vid-header');\n\n // Disclaimer pop-up padding\n if (document.body.classList.contains(\"testimonials\")) {\n vidHeader.on(\"play\", () => {\n disclaimerPadding();\n }\n );\n }\n}\n\nexport function vidSuccessPlayer () {videojs('vid-success');} \n\nexport function lightBoxVidPlayer(dataSrc, dataPoster) {\n let lightBoxVidPlayer = videojs('vid-success');\n lightBoxVidPlayer.src([ \n { src: dataSrc }\n ]);\n lightBoxVidPlayer.poster(dataPoster);\n}\n\nexport function lightBoxVidPause() {\n let lightBoxVidPlayer = videojs('vid-success');\n lightBoxVidPlayer.pause();\n}\n\nfunction disclaimerPadding() {\n document.getElementById('mobile-hero-nav-wrapper').classList.add('disclaimer-on');\n document.getElementById('desktop-hero-nav-wrapper').classList.add('disclaimer-on');\n}\n\n\n\n","/* (ignored) */"],"names":[],"sourceRoot":""}