{"version":3,"sources":["ilion.js"],"names":["isInPage","element","node","document","querySelector","body","contains","isElementInViewport","el","rect","getBoundingClientRect","top","left","bottom","window","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","jQuery","ready","e","$","awselect","immersive","background","vertical_padding","horizontal_padding","error","console","log","name","message","page","getElementById","header","masthead","content","auxHeightheader","ajustarPosicaoHeader","style","paddingTop","classList","add","addEventListener","pontoDeCorte","offsetHeight","pageYOffset","remove","mmenu","extensions","navbar","title","navbars","position","Typed","stringsElement","typeSpeed","backDelay","backSpeed","loop","popover","html","placement","container","this","next","hover","mouseleave","elements","querySelectorAll","Array","prototype","forEach","call","chaffle","Chaffle","delay","init","onElementInViewport","value","parseInt","innerHTML","bar","width","lightGallery","thumbnail","animateThumb","showThumbByDefault","download","share","actualSize","AOS","duration","datepicker","language","minDate","Date","validate","debug","errorClass","errorElement","onkeyup","rules","emailNewsletter","required","email","inNome","minlength","inEmail","inMensagem","inAssunto","inEmpresa","inSolicitacao","valueTo","getAttribute","hasClass","lemCounter","value_to","addClass","show","revolution","sliderType","sliderLayout","navigation","arrows","enable","hide_onmobile","hide_under","hide_onleave","hide_delay","hide_delay_mobile","tmp","h_align","v_align","h_offset","v_offset","gridwidth","gridheight","Masonry","itemSelector","columnWidth","percentPosition","btn","map","toggle","jsSocials","showLabel","showCount","shares","stick_in_parent","particlesJS","particles","number","density","value_area","color","shape","type","stroke","polygon","nb_sides","image","src","height","opacity","random","anim","speed","opacity_min","sync","size","size_min","line_linked","distance","move","direction","straight","out_mode","bounce","attract","rotateX","rotateY","interactivity","detect_on","events","onhover","mode","onclick","resize","modes","grab","bubble","repulse","push","particles_nb","retina_detect","find","toggleClass","removeClass","List","valueNames","instagramFeed","Instafeed","get","limit","target","userId","accessToken","resolution","template","after","each","run","isMove","Swiper","autoplay","effect","cubeEffect","shadow","slideShadows","shadowOffset","shadowScale","grabCursor","pagination","clickable","nextEl","prevEl","on","stop","imagesReady","start","touchMove","event","touchEnd","setTimeout","slide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AET,CACRzI,MAAM,EACNlB,MAAM,EACN4G,MAAO,IACPgD,SAAU,CACR3I,MAAO,KAET4I,OAAQ,OACRC,WAAY,CACVC,QAAQ,EACRC,cAAc,EACdC,aAAc,GACdC,YAAa,KAEfC,YAAY,EACZC,WAAY,CACV1N,GAAI,qBACJ2N,WAAW,GAEbrG,WAAY,CACVsG,OAAQ,sBACRC,OAAQ,uBAGVC,GAAI,CACFtJ,KAAM,WACJb,KAAKuJ,SAASa,QAEhBC,YAAa,WACXrK,KAAK3D,GAAGoC,UAAUM,OAAO,WACzBiB,KAAKuJ,SAASe,SAEhBC,UAAW,SAAUC,GACdnB,IACHrJ,KAAK3D,GAAGoC,UAAUM,OAAO,YACzBiB,KAAK3D,GAAGoC,UAAUC,IAAI,aACtB2K,GAAS,IAGboB,SAAU,SAAUD,GAClBxK,KAAK3D,GAAGoC,UAAUM,OAAO,aACzBiB,KAAK3D,GAAGoC,UAAUC,IAAI,YACtBgM,WAAW,WACTrB,GAAS,GACR,MAELsB,2BAA4B,WAErBtB,IACHrJ,KAAK3D,GAAGoC,UAAUM,OAAO,YACzBiB,KAAK3D,GAAGoC,UAAUC,IAAI,eAG1BkM,yBAA0B,WAEnBvB,IACHrJ,KAAK3D,GAAGoC,UAAUM,OAAO,aACzBiB,KAAK3D,GAAGoC,UAAUC,IAAI,cAG1BmM,gBAAiB,aAGjBC,cAAe,aAGfC,YAAa,gBASVlK,OAET,MAAOlD,GACPC,QAAQC,IAAIF,EAAMG,KAAO,KAAOH,EAAMI,UAtF1C","file":"ilion.js","sourcesContent":["// Titulo\n// ==========================================================================\n// (function () {\n// try {\n// if (!isInPage(\".el\"))\n// return false;\n// } catch (error) {\n// console.log(error.name + \": \" + error.message);\n// }\n// }());\n\n\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/contains\nfunction isInPage(element) {\n var node = document.querySelector(element);\n return (node === document.body) ? false : document.body.contains(node);\n}\n\nfunction isElementInViewport(el) {\n var rect = el.getBoundingClientRect();\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\n );\n}\n\njQuery(document).ready(function (e) {\n\n // Awesome Select\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"select[data-placeholder]\"))\n return false;\n\n $('select[data-placeholder]').awselect({\n immersive: false,\n background: \"transparent\",\n vertical_padding: 0,\n horizontal_padding: 0,\n })\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Fixar o menu no topo da página\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".page.-fixed-header\"))\n return false;\n\n var page = document.getElementById(\"page\");\n var header = document.getElementById(\"mainHeader\");\n var masthead = document.getElementById(\"masthead\");\n var content = document.getElementById(\"mainContent\");\n var auxHeightheader = header.clientHeight;\n\n header.classList.add(\"fixed-top\");\n\n if (!page.classList.contains(\"-transparent-header\"))\n ajustarPosicaoHeader()\n\n if (!page.classList.contains(\"-transparent-header\"))\n window.addEventListener(\"resize\", ajustarPosicaoHeader);\n\n window.addEventListener(\"scroll\", fixarHeader);\n\n function ajustarPosicaoHeader() {\n content.style.paddingTop = auxHeightheader + \"px\";\n }\n\n function fixarHeader() {\n var pontoDeCorte = masthead.offsetHeight;\n\n if (!page.classList.contains(\"-fluid-header\"))\n pontoDeCorte = auxHeightheader + masthead.offsetHeight;\n\n if (window.pageYOffset >= pontoDeCorte)\n header.classList.add(\"is-fixed\");\n else\n header.classList.remove(\"is-fixed\");\n }\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Gerar o menu para a versão mobile\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#mobileMenu\"))\n return false;\n\n $(\"#mobileMenu\").mmenu({\n extensions: [\"pagedim-black\", \"position-left\", \"listview-50\", \"border-offset\"],\n navbar: {\n title: \"NTC Eventos\"\n },\n navbars: [{\n position: \"bottom\",\n content: [\n \"\",\n \"\",\n \"\"\n ]\n }]\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Animaçao de texto: TYPED/digitaçao\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".typedjs\"))\n return false;\n\n // Sobre nos\n var typedSobrenos = new Typed('.typedjs.-sobrenos', {\n stringsElement: '.typedjs-string.-sobrenos',\n typeSpeed: 100,\n backDelay: 1000,\n backSpeed: 20,\n loop: true\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Calendario - popover do evento\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#calendario .item\"))\n return false;\n\n $(\"#calendario .item\").popover({\n html: true,\n placement: 'top',\n container: '#calendario',\n content: function () {\n return $(this).next('.popover-content').html();\n }\n });\n\n $(\"#calendario .item\").hover(function () {\n $(this).popover('show')\n });\n\n $(\"#calendario .item\").mouseleave(function () {\n $(this).popover('hide')\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Animaçao de texto: Shuffle\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"[data-chaffle]\"))\n return false;\n\n var elements = document.querySelectorAll('[data-chaffle]');\n\n Array.prototype.forEach.call(elements, function (el) {\n var chaffle = new Chaffle(el, {\n delay: 50\n });\n\n el.addEventListener('mouseover', function () {\n chaffle.init();\n });\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Animação Progressbar - Sobre nos\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".pb-item\"))\n return false;\n\n var elements = document.querySelectorAll('.listagem-progressbar .pb-item');\n\n function onElementInViewport() {\n Array.prototype.forEach.call(elements, function (el) {\n var value = parseInt(el.querySelectorAll('.pb-value')[0].innerHTML);\n var bar = el.querySelectorAll('.progress-bar')[0];\n if (isElementInViewport(el)) {\n bar.style.width = value + \"%\";\n }\n });\n }\n\n addEventListener('DOMContentLoaded', onElementInViewport, false);\n addEventListener('load', onElementInViewport, false);\n addEventListener('scroll', onElementInViewport, false);\n addEventListener('resize', onElementInViewport, false);\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Multimídia - Galeria de fotos\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#multimidiaGallery\"))\n return false;\n\n $(\"#multimidiaGallery .mgallery\").lightGallery({\n thumbnail: true,\n animateThumb: false,\n showThumbByDefault: true,\n download: false,\n share: false,\n actualSize: false\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Parallax\n // ==========================================================================\n // $(\".parallax\").parallax();\n\n\n // Animação ao fazer scroll na página\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"[data-aos]\"))\n return false;\n\n AOS.init({\n duration: 500\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Animação ao fazer scroll na página\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#datepicker\"))\n return false;\n\n $('#datepicker').datepicker({\n language: 'pt-BR',\n minDate: new Date()\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Formulario de Newsletter\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#formNewsletter\"))\n return false;\n\n $('#formNewsletter').validate({\n debug: false,\n errorClass: \"error\",\n errorElement: \"div\",\n onkeyup: false,\n rules: {\n emailNewsletter: {\n required: true,\n email: true\n }\n }\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Noticia - Formulario de comentario\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#formComentario\"))\n return false;\n\n $('#formComentario').validate({\n debug: false,\n errorClass: \"error\",\n errorElement: \"div\",\n onkeyup: false,\n rules: {\n inNome: {\n required: true,\n minlength: 4\n },\n inEmail: {\n required: true,\n email: true\n },\n inMensagem: {\n required: true,\n minlength: 10\n }\n }\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Sobre nos - Formulario de sugestao\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#formSugestao\"))\n return false;\n\n $('#formSugestao').validate({\n debug: false,\n errorClass: \"error\",\n errorElement: \"div\",\n onkeyup: false,\n rules: {\n inNome: {\n required: true,\n minlength: 4\n },\n inEmail: {\n required: true,\n email: true\n },\n inAssunto: {\n required: true\n },\n inMensagem: {\n required: true,\n minlength: 10\n }\n }\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // In Company - Formulario de Contrate\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#formContrate\"))\n return false;\n\n $('#formContrate').validate({\n debug: false,\n errorClass: \"error\",\n errorElement: \"div\",\n onkeyup: false,\n rules: {\n inNome: {\n required: true,\n minlength: 4\n },\n inEmail: {\n required: true,\n email: true\n },\n inEmpresa: {\n required: true\n },\n inSolicitacao: {\n required: true,\n minlength: 10\n }\n }\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Anumacao: Counter/Contador\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"[data-lemcounter]\"))\n return false;\n\n var elements = document.querySelectorAll('[data-lemcounter]');\n\n function onElementInViewport() {\n Array.prototype.forEach.call(elements, function (el) {\n var valueTo = el.getAttribute('data-lemcounter');\n if ($(el).hasClass(\"-lem\")) return false;\n if (isElementInViewport(el)) {\n $(el).lemCounter({\n value_to: valueTo\n }).addClass(\"-lem\");\n }\n });\n }\n\n addEventListener('DOMContentLoaded', onElementInViewport, false);\n addEventListener('load', onElementInViewport, false);\n addEventListener('scroll', onElementInViewport, false);\n addEventListener('resize', onElementInViewport, false);\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Revolution Slider\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#homeSlider\"))\n return false;\n\n var homeSlider = $('#homeSlider').show().revolution({\n sliderType: \"standard\",\n sliderLayout: \"fullwidth\",\n delay: 9000,\n // extensions: \"\",\n navigation: {\n arrows: {\n style: \"hermes\",\n enable: true,\n hide_onmobile: true,\n hide_under: 600,\n hide_onleave: true,\n hide_delay: 200,\n hide_delay_mobile: 1200,\n tmp: '
',\n left: {\n h_align: \"left\",\n v_align: \"center\",\n h_offset: 0,\n v_offset: 0\n },\n right: {\n h_align: \"right\",\n v_align: \"center\",\n h_offset: 0,\n v_offset: 0\n }\n }\n },\n gridwidth: [1200, 992, 460, 360, 320],\n gridheight: [519, 519, 460, 320]\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Evento - Galeria de fotos\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#galeria\"))\n return false;\n\n var eventoGaleria = new Masonry('#galeria .galeria', {\n itemSelector: '.item-galeria',\n columnWidth: '.item-galeria',\n percentPosition: true\n });\n\n $(\"#galeria .galeria\").lightGallery({\n thumbnail: true,\n animateThumb: false,\n showThumbByDefault: true,\n download: false,\n share: false,\n actualSize: false\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Eventos - Botao mostrar mapa\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#btnMostraMapa\"))\n return false;\n\n var btn = document.getElementById(\"btnMostraMapa\");\n var map = document.querySelector(\"#masthead .masthead-container\");\n var header = document.getElementById(\"mainHeader\");\n\n function mostraMapa() {\n map.classList.toggle(\"-fullscreen\");\n\n if (map.classList.contains(\"-fullscreen\"))\n btn.innerHTML = \"Esconder Mapa\"\n else\n btn.innerHTML = \"Mostrar Mapa\"\n\n }\n\n btn.addEventListener(\"click\", mostraMapa);\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Share - Plugin de compartilhamento\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#jsSocials\"))\n return false;\n\n $(\"#jsSocials\").jsSocials({\n showLabel: false,\n showCount: false,\n shares: [\"facebook\", \"linkedin\", \"twitter\", \"googleplus\"]\n });\n\n $(\"#jsSocials\").stick_in_parent();\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // PARTICULAS - Animação do banner na página evento\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#mastheadEvento\"))\n return false;\n\n particlesJS(\"mastheadEvento\", {\n \"particles\": {\n \"number\": {\n \"value\": 80,\n \"density\": {\n \"enable\": true,\n \"value_area\": 800\n }\n },\n \"color\": {\n \"value\": \"#ffffff\"\n },\n \"shape\": {\n \"type\": \"circle\",\n \"stroke\": {\n \"width\": 0,\n \"color\": \"#000000\"\n },\n \"polygon\": {\n \"nb_sides\": 5\n },\n \"image\": {\n \"src\": \"img/github.svg\",\n \"width\": 100,\n \"height\": 100\n }\n },\n \"opacity\": {\n \"value\": 0.5,\n \"random\": false,\n \"anim\": {\n \"enable\": false,\n \"speed\": 1,\n \"opacity_min\": 0.1,\n \"sync\": false\n }\n },\n \"size\": {\n \"value\": 3,\n \"random\": true,\n \"anim\": {\n \"enable\": false,\n \"speed\": 10,\n \"size_min\": 0.1,\n \"sync\": false\n }\n },\n \"line_linked\": {\n \"enable\": true,\n \"distance\": 150,\n \"color\": \"#ffffff\",\n \"opacity\": 0.4,\n \"width\": 1\n },\n \"move\": {\n \"enable\": true,\n \"speed\": 1,\n \"direction\": \"none\",\n \"random\": false,\n \"straight\": false,\n \"out_mode\": \"out\",\n \"bounce\": false,\n \"attract\": {\n \"enable\": false,\n \"rotateX\": 600,\n \"rotateY\": 1200\n }\n }\n },\n \"interactivity\": {\n \"detect_on\": \"canvas\",\n \"events\": {\n \"onhover\": {\n \"enable\": true,\n \"mode\": \"repulse\"\n },\n \"onclick\": {\n \"enable\": true,\n \"mode\": \"push\"\n },\n \"resize\": true\n },\n \"modes\": {\n \"grab\": {\n \"distance\": 400,\n \"line_linked\": {\n \"opacity\": 1\n }\n },\n \"bubble\": {\n \"distance\": 400,\n \"size\": 40,\n \"duration\": 2,\n \"opacity\": 8,\n \"speed\": 3\n },\n \"repulse\": {\n \"distance\": 200,\n \"duration\": 0.4\n },\n \"push\": {\n \"particles_nb\": 4\n },\n \"remove\": {\n \"particles_nb\": 2\n }\n }\n },\n \"retina_detect\": true\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // MegaMenu\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".main-navigation .dropdown\"))\n return false;\n\n // when you hover a toggle show its dropdown menu\n $(\".main-navigation .dropdown\").hover(function () {\n // $(this).parent().toggleClass(\"show\");\n $(this).find(\".dropdown-menu\").toggleClass(\"show\");\n });\n\n // hide the menu when the mouse leaves the dropdown\n $(\".main-navigation .dropdown\").mouseleave(function () {\n $(this).removeClass(\"show\");\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Página Galeria de fotos\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#galeriadefotos\"))\n return false;\n\n $(\"#galeriadefotos .mgallery\").lightGallery({\n thumbnail: true,\n animateThumb: false,\n showThumbByDefault: true,\n download: false,\n share: false,\n actualSize: false\n });\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Página Galeria de fotos\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#artigosPareceres\"))\n return false;\n\n var options = {\n valueNames: ['title', 'desc', 'datetime', 'author']\n };\n\n var userList = new List('artigosPareceres', options);\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Twitter - página palestrantes\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#tweets\"))\n return false;\n\n // $('#tweets').tweetie({\n // \"url\": \"https://files.sonnyt.com/tweetie/v3/\",\n // \"type\": \"timeline\",\n // \"template\": \"
  • {{tweet.created_at}} - {{tweet.text}}
  • \",\n // \"dateFormat\": \"%d %m %Y\",\n // \"params\": {\n // \"screen_name\": \"ntc_eventos\",\n // \"count\": 15,\n // \"screen_name\": null,\n // \"list_id\": null,\n // \"slug\": null,\n // \"q\": null,\n // \"exclude_replies\": false,\n // \"include_rts\": false\n // }\n // });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n\n // Instagram Feed - footer e menu lateral\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".listagem-instagram\"))\n return false;\n\n var instagramFeed = new Instafeed({\n get: 'user',\n limit: 8,\n target: \"instafeed\",\n userId: 5545735206,\n accessToken: '5545735206.1677ed0.5ee48fd28a3840029e5c738a81c87fa1',\n resolution: 'thumbnail',\n template: '
  • ' +\n '' +\n '\"{{caption}}\"' +\n '' +\n '
  • ',\n after: function () {}\n });\n\n $('.listagem-instagram').each(function () {\n instagramFeed.run();\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Instagram Feed - footer e menu lateral\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".galeria-instagram\"))\n return false;\n\n var instagramFeed = new Instafeed({\n get: 'user',\n limit: 16,\n target: \"galeriainstagram\",\n userId: 5545735206,\n accessToken: '5545735206.1677ed0.5ee48fd28a3840029e5c738a81c87fa1',\n // resolution: 'thumbnail',\n template: '
  • ' +\n '' +\n '\"{{caption}}\"' +\n '' +\n '
  • ',\n after: function () {}\n });\n\n $('.galeria-instagram').each(function () {\n instagramFeed.run();\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Fixar Aside na página solucao educacional\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#asideCards\"))\n return false;\n\n $(\"#asideCards\").stick_in_parent();\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // Slider Usado nas páginas: In-company e MGPC\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\"#sliderFullscreen\"))\n return false;\n\n var homeSlider = $('#sliderFullscreen').show().revolution({\n sliderType: \"standard\",\n sliderLayout: \"fullscreen\",\n delay: 9000,\n // extensions: \"\",\n navigation: {\n arrows: {\n style: \"hermes\",\n enable: true,\n hide_onmobile: true,\n hide_under: 600,\n hide_onleave: true,\n hide_delay: 200,\n hide_delay_mobile: 1200,\n tmp: '
    ',\n left: {\n h_align: \"left\",\n v_align: \"center\",\n h_offset: 0,\n v_offset: 0\n },\n right: {\n h_align: \"right\",\n v_align: \"center\",\n h_offset: 0,\n v_offset: 0\n }\n }\n },\n gridwidth: [1200, 992, 460, 360, 320],\n gridheight: [519, 519, 460, 320]\n });\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n\n // 3D Slider - página Eventos (ASIDE)\n // ==========================================================================\n (function () {\n try {\n if (!isInPage(\".swiper-container\"))\n return false;\n\n // Params\n var sliderSelector = '.swiper-container',\n isMove = false,\n options = {\n init: false,\n loop: true,\n speed: 800,\n autoplay: {\n delay: 3000\n },\n effect: 'cube', // 'cube', 'fade', 'coverflow',\n cubeEffect: {\n shadow: true,\n slideShadows: true,\n shadowOffset: 40,\n shadowScale: 0.94,\n },\n grabCursor: true,\n pagination: {\n el: '.swiper-pagination',\n clickable: true\n },\n navigation: {\n nextEl: '.swiper-button-next',\n prevEl: '.swiper-button-prev'\n },\n // Events\n on: {\n init: function () {\n this.autoplay.stop();\n },\n imagesReady: function () {\n this.el.classList.remove('loading');\n this.autoplay.start();\n },\n touchMove: function (event) {\n if (!isMove) {\n this.el.classList.remove('scale-in');\n this.el.classList.add('scale-out');\n isMove = true;\n }\n },\n touchEnd: function (event) {\n this.el.classList.remove('scale-out');\n this.el.classList.add('scale-in');\n setTimeout(function () {\n isMove = false;\n }, 300);\n },\n slideChangeTransitionStart: function () {\n // console.log('slideChangeTransitionStart ' + this.activeIndex);\n if (!isMove) {\n this.el.classList.remove('scale-in');\n this.el.classList.add('scale-out');\n }\n },\n slideChangeTransitionEnd: function () {\n // console.log('slideChangeTransitionEnd ' + this.activeIndex);\n if (!isMove) {\n this.el.classList.remove('scale-out');\n this.el.classList.add('scale-in');\n }\n },\n transitionStart: function () {\n // console.log('transitionStart ' + this.activeIndex);\n },\n transitionEnd: function () {\n // console.log('transitionEnd ' + this.activeIndex);\n },\n slideChange: function () {\n // console.log('slideChange ' + this.activeIndex);\n // console.log(this);\n }\n }\n },\n mySwiper = new Swiper(sliderSelector, options);\n\n // Initialize slider\n mySwiper.init();\n\n } catch (error) {\n console.log(error.name + \": \" + error.message);\n }\n }());\n});"]}