{"version":3,"names":[],"mappings":"","sources":["scripts-min.js"],"sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i', '']\n });\n};\n\nvar tnsPromotion = exports.tnsPromotion = function tnsPromotion() {\n var slider = tns({\n container: '#tnsPromotion',\n items: 1,\n slideBy: 1,\n autoplay: true,\n autoplayButtonOutput: false,\n swipeAngle: false,\n speed: 400,\n nav: false,\n mouseDrag: true,\n controlsText: ['', ''],\n responsive: {\n 320: {\n items: 1\n },\n 960: {\n items: 3\n }\n }\n });\n};\n\nvar tnsCarouselBanking = exports.tnsCarouselBanking = function tnsCarouselBanking() {\n var slider = tns({\n container: '#tnsCarouselBanking',\n items: 1,\n slideBy: 1,\n autoplay: true,\n autoplayButtonOutput: false,\n swipeAngle: false,\n speed: 400,\n edgePadding: 40,\n nav: false,\n mouseDrag: true,\n prevButton: false,\n nextButton: false,\n controlsText: ['', ''],\n responsive: {\n 480: {\n items: 2\n },\n 640: {\n items: 3\n },\n 800: {\n items: 4\n },\n 960: {\n items: 5\n },\n 1120: {\n items: 6\n },\n 1280: {\n items: 7\n }\n }\n });\n};\n\nvar tnsPoker = exports.tnsPoker = function tnsPoker() {\n var slider = tns({\n container: '#tnsPoker',\n items: 1,\n slideBy: 1,\n speed: 1000,\n autoplay: true,\n autoplayButtonOutput: false,\n mode: 'gallery',\n mouseDrag: true,\n controlsText: ['', '']\n });\n};\n\n},{}],6:[function(require,module,exports){\n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar topNav = exports.topNav = function topNav() {\n\tvar myFunction = function myFunction() {\n\t\tdocument.querySelector('.hamburger').addEventListener('click', function (e) {\n\t\t\te.preventDefault();\n\t\t\t[].map.call(document.querySelectorAll('.hamburger'), function (el) {\n\t\t\t\tel.classList.toggle('is-active');\n\t\t\t});\n\t\t\t[].map.call(document.querySelectorAll('.top-nav__menu'), function (el) {\n\t\t\t\tel.classList.toggle('show-top-nav');\n\t\t\t});\n\t\t});\n\t};\n\tmyFunction();\n};\n\n},{}],7:[function(require,module,exports){\n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar videosHome = exports.videosHome = function videosHome() {\n\tvar d = document,\n\t video = d.getElementById('iframeVideo'),\n\t galeryItem = d.querySelectorAll('.img-video');\n\n\tvar _loop = function _loop(i) {\n\t\tgaleryItem[i].addEventListener('click', function (e) {\n\t\t\tvar newVideo = galeryItem[i].getAttribute('value');\n\t\t\te.preventDefault();\n\t\t\tvideo.setAttribute('src', newVideo);\n\t\t});\n\t};\n\n\tfor (var i = 0; i < galeryItem.length; i++) {\n\t\t_loop(i);\n\t}\n};\n\n},{}],8:[function(require,module,exports){\n'use strict';\n\nvar _topNav = require('./components/topNav');\n\nvar _tnsSlider = require('./components/tns-slider');\n\nvar _modalLogin = require('./components/modal-login');\n\nvar _videosHome = require('./components/videos-home');\n\nvar _tablecaballos = require('./components/tablecaballos');\n\nvar _tabs = require('./components/tabs');\n\nvar _tabs2 = _interopRequireDefault(_tabs);\n\nvar _accordionRules = require('./components/accordion-rules');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n(function () {\n\n (0, _topNav.topNav)();\n (0, _tnsSlider.tnsCarouselBanking)();\n (0, _modalLogin.modalLogin)();\n\n if (document.body.classList.contains('home')) {\n (0, _tnsSlider.tnsSingle)();\n (0, _tnsSlider.tnsPromotion)();\n (0, _videosHome.videosHome)();\n } else if (document.body.classList.contains('Poker')) {\n (0, _tnsSlider.tnsPoker)();\n } else if (document.body.classList.contains('Caballos')) {\n (0, _tablecaballos.tablecaballos)();\n } else if (document.body.classList.contains('Banca')) {\n (0, _tabs2.default)();\n } else if (document.body.classList.contains('BonoBienvenidaDeportes')) {\n (0, _tnsSlider.tnsPromotion)();\n } else if (document.body.classList.contains('BonoBienvenidaCasino')) {\n (0, _tnsSlider.tnsPromotion)();\n } else if (document.body.classList.contains('BonoRecarga')) {\n (0, _tnsSlider.tnsPromotion)();\n } else if (document.body.classList.contains('ReglasDeportes')) {\n (0, _accordionRules.initAcc)();\n }\n})();\n\n},{\"./components/accordion-rules\":1,\"./components/modal-login\":2,\"./components/tablecaballos\":3,\"./components/tabs\":4,\"./components/tns-slider\":5,\"./components/topNav\":6,\"./components/videos-home\":7}]},{},[8]);\n"],"file":"scripts-min.js"}