{"version":3,"sources":["global.js"],"names":["jQuery","$","breakpt","breakpt_sm","lastScroll","popToTop","createCookie","name","value","days","expires","date","Date","setTime","getTime","toUTCString","deleteCookie","document","cookie","window","readCookie","nameEQ","ca","split","i","length","c","charAt","substring","indexOf","eraseCookie","gaAnalytics","s","o","g","r","a","m","q","push","arguments","l","createElement","getElementsByTagName","async","src","parentNode","insertBefore","gtm","w","d","gtm.start","event","f","j","dl","cookiebar","googleAnalytics","ajax","url","success","data","ga","console","log","error","getIEVersion","agent","navigator","userAgent","reg","matches","match","major","minor","ie_version","is_ie","is_ie11","displayScrollToTopButton","scrollTop","addClass","removeClass","redirectUrlArticles","article","this","find","attr","location","href","popupScrollBar","setTimeout","heightContainer","height","heightBody","css","max-height","mCustomScrollbar","scrollbarPosition","showPopup","popup","body","top","display","calculTranquileo","arrayAmountToAdd","initAmount","amountToAdd","each","key","val","parseInt","amountbeforeImpot","amountAfterImpot","html","number","stickyHeader","st","mouseover","mouseout","on","toggle","showMoreCookiebar","getElementById","checked","hideCookiebar","ready","loadVideo","player","plyr","setup","fadeOut","show","nocookie","click","e","preventDefault","plyrCntr","createVideoDiv","is","len","cookiename","remove","videoDiv","getElementsByClassName","cntr","querySelector","newDiv","appendChild","setAttribute","toggleClass","animate","hide","slick","slidesToShow","slidesToScroll","autoplay","dots","arrows","fade","adaptiveHeight","cssEase","speed","asNavFor","centerMode","focusOnSelect","responsive","breakpoint","settings","infinite","that","totalheight","closest","hasClass","parent","next","resize","scroll","adjustCollapseView","id","desktopView","width","offset","submit","sex","lastname","firstname","mail","token","type","form[sex]","form[lastname]]","form[firstname]","form[mail]","form[_token]","dataType","statut","resultat","erreur"],"mappings":"AAAAA,OAAA,SAAAC,GACA,aAEA,IAAAC,QAAA,IACA,IAAAC,WAAA,IACA,IAAAC,WAAA,EACA,IAAAC,SAAA,EAGA,SAAAC,aAAAC,KAAAC,MAAAC,MACA,IAAAC,QAAA,GACA,GAAAD,KAAA,CACA,IAAAE,KAAA,IAAAC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AEA7D,EAAA,oBAAA,EAAAoI,MAAA,WACAvE,GAAA,OAAA,QAAA,KAAA,aAAA,YAAA,CACA,CAAA,CAGA,CAAA,EAMA7D,EAAAkB,MAAA,EAAA4J,OAAA,WACAE,mBAAA,kBAAA,CACA,CAAA,EAMAhL,EAAAkB,MAAA,EAAA6J,OAAA,YAAA,EAIA/K,EAAA,iBAAA,EAAAqL,OAAA,SAAAhD,GACAA,EAAAC,eAAA,EACA,IAAAgD,IAAAtL,EAAA,oCAAA,iBAAA,EAAA4G,IAAA,EACA,IAAA2E,SAAAvL,EAAA,iCAAA,iBAAA,EAAA4G,IAAA,EACA,IAAA4E,UAAAxL,EAAA,kCAAA,iBAAA,EAAA4G,IAAA,EACA,IAAA6E,KAAAzL,EAAA,6BAAA,iBAAA,EAAA4G,IAAA,EACA,IAAA8E,MAAA1L,EAAA,+BAAA,iBAAA,EAAA4G,IAAA,EACA5G,EAAAyD,KAAA,CACAC,IAAA,eACAiI,KAAA,OACA/H,KAAA,CACAgI,YAAAN,IACAO,kBAAAN,SACAO,kBAAAN,UACAO,aAAAN,KACAO,eAAAN,KACA,EACAO,SAAA,OACAtI,QAAA,SAAAC,KAAAsI,QACArI,GAAA,OAAA,QAAA,cAAA,aAAA,sBAAA,EACA,GAAAD,KAAApC,QAAA,EAAA,CACAR,SAAAsE,SAAAC,KAAA,qCACA,CACA,EACAvB,MAAA,SAAAmI,SAAAD,OAAAE,SAEA,CAAA,CACA,CAAA,CAEA,CAAA","file":"../home.min.js","sourcesContent":["jQuery(function($) {\n \"use strict\";\n // Variables\n var breakpt = 992;\n var breakpt_sm = 540;\n var lastScroll = 0;\n var popToTop = 0;\n\n // Cookies\n function createCookie(name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n switch (name) {\n case 'cookiebar':\n deleteCookie(\"nocookie\"); \n break;\n case 'nocookie':\n deleteCookie(\"cookiebar\");\n break;\n case 'social_cookie':\n deleteCookie(\"no_social_cookie\");\n break;\n case 'no_social_cookie':\n deleteCookie(\"social_cookie\");\n break;\n }\n document.cookie = name + \"=\" + value + expires + \"; path=/\";\n }\n\n function deleteCookie(name) {\n document.cookie = name + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\";\n }\n\n window.readCookie = function(name) {\n var nameEQ = name + \"=\";\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n }\n\n function eraseCookie(name) {\n createCookie(name, \"\", -1);\n }\n\n\tfunction gaAnalytics(i, s, o, g, r, a, m) {\n\t\ti['GoogleAnalyticsObject'] = r;\n\t\ti[r] = i[r] || function() {\n\t\t\t(i[r].q = i[r].q || []).push(arguments)\n\t\t}, i[r].l = 1 * new Date();\n\t\ta = s.createElement(o),\n\t\t\tm = s.getElementsByTagName(o)[0];\n\t\ta.async = 1;\n\t\ta.src = g;\n\t\tm.parentNode.insertBefore(a, m);\n\t}\n\n function gtm(w,d,s,l,i) {\n w[l]=w[l]||[];\n w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});\n var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;\n j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;\n f.parentNode.insertBefore(j,f);\n }\n\n // analytics\n var cookiebar = readCookie('cookiebar');\n if(cookiebar) {\n gaAnalytics(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');\n googleAnalytics();\n }\n function googleAnalytics() {\n $.ajax({\n url: '/codeUA',\n success: function (data) {\n if (data != false) {\n ga('create', data, 'auto');\n ga('send', 'pageview');\n } else {\n console.log(\"Problème de codeUA\");\n }\n },\n error: function() {\n console.log(\"Problème de codeUA\");\n }\n });\n }\n $.ajax({\n url: '/codeGTM',\n success: function (data) {\n if (data != false) {\n gtm(window, document, 'script', 'dataLayer', data);\n } \n },\n error: function() {\n }\n });\n\n // Detect IE version\n function getIEVersion() {\n var agent = navigator.userAgent;\n var reg = /MSIE\\s?(\\d+)(?:\\.(\\d+))?/i;\n var matches = agent.match(reg);\n if (matches != null) {\n return { major: matches[1], minor: matches[2] };\n }\n return { major: \"-1\", minor: \"-1\" };\n }\n var ie_version = getIEVersion();\n var is_ie = ie_version.major;\n var is_ie11 = !!navigator.userAgent.match(/Trident.*rv\\:11\\./);\n\n // Display or Hide btn Scroll To Top\n function displayScrollToTopButton() {\n if ($('#btnToTop').length) {\n if ($(window).scrollTop() > 0) {\n $('#btnToTop').addClass('scrolled');\n } else {\n $('#btnToTop').removeClass('scrolled');\n }\n }\n }\n // Redirection to article url\n function redirectUrlArticles() {\n var article = $(this),\n url = article.find('a').attr('href');\n window.location.href = url;\n }\n\n // Custom Malibu Scrollbar for popup\n function popupScrollBar() {\n if ($('.popup').length) {\n setTimeout(function() {\n var heightContainer = $('.popup>.container').height();\n var heightBody = $('.popup>.container>.popup-body').height();\n if (heightBody > heightContainer) {\n $('.popup>.container .popup-body').css({\n 'max-height': heightContainer + 'px'\n });\n $('.popup>.container .popup-body').mCustomScrollbar({\n scrollbarPosition: 'outside'\n });\n }\n }, 100);\n }\n }\n // Open popup\n function showPopup(popup) {\n var popToTop = $(window).scrollTop();\n\n $(document.body).addClass('no-scroll').css({\n 'top': '-' + popToTop + 'px'\n });\n\n $(popup).css({\n 'display': 'flex'\n });\n popupScrollBar();\n }\n\n // Calcul\n window.calculTranquileo = function(arrayAmountToAdd) {\n\n var initAmount = 24.90,\n amountToAdd = 0;\n\n $.each(arrayAmountToAdd, function(key, val) {\n amountToAdd += parseInt(val);\n });\n\n var amountbeforeImpot = initAmount + amountToAdd,\n amountAfterImpot = amountbeforeImpot / 2;\n $('#popup-simulation .amount-before-impot .amount').html($.number(amountbeforeImpot, 2, ',', ' '));\n $('#popup-simulation .amount-after-impot .amount').html($.number(amountAfterImpot, 2, ',', ' '));\n $('.result-block').removeClass('hidden');\n popupScrollBar();\n\n return [amountbeforeImpot, amountAfterImpot];\n }\n // Sticky header\n function stickyHeader(window) {\n var st = window.scrollTop();\n if (st < 200) {\n $('header').removeClass('sticky-header-on sticky-header-off');\n } else {\n if (st > lastScroll) {\n $('header').removeClass('sticky-header-on');\n $('header').addClass('sticky-header-off');\n } else {\n $('header').removeClass('sticky-header-off');\n $('header').addClass('sticky-header-on');\n }\n }\n lastScroll = st;\n }\n\n $( \".dropdown\" ).mouseover(function() {\n $('.dropdown-menu').css(\"display\", \"block\");\n });\n $( \".dropdown\" ).mouseout(function() {\n $('.dropdown-menu').css(\"display\", \"none\");\n });\n $(\".dropdown\").on(\"click\",function(){\n $('.dropdown-menu').toggle();\n });\n // Cookiebar\n\n function showMoreCookiebar() {\n if($('#cookiebar').length) {\n $('#info-cookiebar').addClass('hide-cookiebar');\n if(readCookie('cookiebar')) {\n document.getElementById(\"rgpd-checkbox\").checked = true;\n } else {\n document.getElementById(\"rgpd-checkbox\").checked = false;\n }\n if(readCookie('social_cookie')) {\n document.getElementById(\"social-checkbox\").checked = true;\n } else {\n document.getElementById(\"social-checkbox\").checked = false;\n }\n $('#more-cookiebar').addClass('show-more-cookiebar');\n }\n }\n\n function hideCookiebar() {\n if ($('#cookiebar').length) {\n $('#cookiebar').addClass('hide-cookiebar');\n }\n }\n /*=====================================\n = INIT FUNCTION =\n =====================================*/\n $(document).ready(function() {\n function loadVideo() {\n if(readCookie('social_cookie')) {\n var player;\n player = plyr.setup()[0];\n player.on('play', function (event) {\n $('.plyr__controls').css({'display': 'flex'});\n $('.main-title').fadeOut();\n $('.plyr__video-wrapper').addClass('isPlaying');\n });\n player.on('pause', function (event) {\n $('.main-title').show();\n });\n player.on('ended', function (event) {\n $('.plyr__video-wrapper').removeClass('isPlaying');\n });\n }\n }\n // CookieBar\n var nocookie = readCookie('nocookie');\n if (cookiebar) {\n $('#cookiebar').addClass('hide-cookiebar');\n } else if (nocookie) {\n $('#cookiebar').addClass('hide-cookiebar');\n }\n // icon-burger\n $('#icon-burger').click(function(e) {\n e.preventDefault();\n });\n // Cookies bar\n $('#more-rgpd').click(function() {\n showMoreCookiebar();\n });\n // Cookies banner pop\n $('#banner-pop').click(function(e) {\n e.preventDefault();\n $('#cookiebar').removeClass('hide-cookiebar');\n $('#info-cookiebar').removeClass('hide-cookiebar');\n $('#more-cookiebar').removeClass('show-more-cookiebar');\n });\n\n $('#cookiebar .btn-close').click(function() {\n //createCookie('nocookie', true, '');\n $('#info-cookiebar').removeClass('hide-cookiebar');\n $('#more-cookiebar').removeClass('show-more-cookiebar');\n // hideCookiebar();\n });\n //add cookie\n $('#accept-rgpd').click(function() {\n createCookie('cookiebar', true, 360);\n createCookie('social_cookie', true, 360);\n hideCookiebar();\n $(\".yt-img-container\").addClass('hidden');\n var plyrCntr = $(\".plyr-container\").find(\"[data-type='youtube']\").length;\n if(plyrCntr == 0) {\n createVideoDiv();\n loadVideo();\n } else {\n loadVideo();\n }\n gaAnalytics(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');\n googleAnalytics();\n //ga('send', 'pageview');\n });\n $('#accept-rgpd-checkbox').click(function() {\n if ($('#rgpd-checkbox').is(\":checked\")) {\n createCookie('cookiebar', true, 360);\n hideCookiebar();\n gaAnalytics(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');\n googleAnalytics();\n //ga('send', 'pageview');\n } else {\n var ca = document.cookie.split(';');\n var len = ca.length;\n for(var i = 0; i < len; i++) {\n var cookiename = ca[i].split('=');\n document.cookie = cookiename[0] + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\";\n document.cookie = cookiename[0] + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=.tranquileo.localhost; path=/;\";\n document.cookie = cookiename[0] + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=.appserviceenvironment.net; path=/;\";\n document.cookie = cookiename[0] + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=.axa-assistance.fr; path=/;\";\n }\n createCookie('nocookie', true, 1);\n hideCookiebar();\n } \n if ($('#social-checkbox').is(\":checked\")) {\n createCookie('social_cookie', true, 360);\n $(\".yt-img-container\").addClass('hidden');\n var plyrCntr = $(\".plyr-container\").find(\"[data-type='youtube']\").length;\n if(plyrCntr == 0) {\n createVideoDiv();\n loadVideo();\n } else {\n loadVideo();\n }\n } else {\n createCookie('no_social_cookie', true, 1);\n $('.plyr--youtube').remove();\n $(\".yt-img-container\").removeClass('hidden');\n }\n });\n function createVideoDiv() {\n var videoDiv = document.getElementsByClassName('plyr--youtube'); \n if(videoDiv.length == 0) {\n var cntr = document.querySelector('.plyr-container');\n var newDiv = cntr.appendChild(document.createElement(\"div\"));\n newDiv.setAttribute(\"data-type\", \"youtube\");\n newDiv.setAttribute(\"data-video-id\", \"2mx9ZFvW794\");\n $(\".yt-img-container\").addClass('hidden');\n }\n }\n //Burger Menu behaviour\n $('#icon-burger').click(function() {\n $(this).toggleClass('open');\n });\n $('#icon-burger-sticky').click(function() {\n $(this).toggleClass('open');\n $('#navbar-sticky-mobile').show();\n });\n // Redirection to article url\n $('.item-article').click(redirectUrlArticles);\n //Action button Scroll to Top\n displayScrollToTopButton();\n $('#btnToTop').click(function() {\n $('html, body').animate({ scrollTop: '0px' }, 300);\n });\n // Display popup\n $('.open-popup').click(function(e) {\n e.preventDefault();\n showPopup($(this).attr('href'));\n });\n\n //Close popup\n $('.btn-close-popup').click(function(e) {\n e.preventDefault();\n $(document.body).removeClass('no-scroll');\n $(window).scrollTop(popToTop);\n var popup = $(this).attr('href');\n $(popup).hide();\n $(popup + ' .result-block').addClass('hidden');\n });\n\n //Simulation calcul\n $('.btn-form-popup').click(function(e) {\n e.preventDefault();\n var popup = $(this).attr('href');\n var arrayAmountToAdd = [];\n\n $('#popup-simulation .popup-form input[type=checkbox]:checked').each(function() {\n arrayAmountToAdd.push($(this).val());\n });\n\n calculTranquileo(arrayAmountToAdd);\n });\n //Check simulation checkboxes\n $('#popup-simulation input[type=checkbox]').click(function() {\n $(this).toggleClass('unchecked');\n\n });\n\n\n /*=====================================\n = TAGGAGE =\n =====================================*/\n $('#header-btn-subscribe').click(function() {\n ga('send', 'event', 'Header', 'click-link', 'Souscription');\n });\n\n $('#popup-btn-subscribe').click(function() {\n ga('send', 'event', 'Simulation', 'click-link', 'Souscription');\n });\n\n $('#footer-ddl-documentation').click(function() {\n ga('send', 'event', 'Footer', 'click-link', 'Brochure');\n });\n // Slider FAQ\n if($('.slider-faq-list').length) {\n $('#faq-list').slick({\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: false,\n dots: false,\n arrows: false,\n fade: true,\n adaptiveHeight: true,\n cssEase: 'linear',\n speed: 500,\n asNavFor: '.faq-slider-nav'\n });\n $('.faq-slider-nav').slick({\n slidesToShow: 4,\n asNavFor: '#faq-list',\n dots: false,\n centerMode: false,\n arrows: false,\n focusOnSelect: true,\n responsive: [\n {\n breakpoint: breakpt,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n infinite: true,\n dots: false,\n arrows: true\n }\n },\n {\n breakpoint: breakpt_sm,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n infinite: true,\n dots: false,\n arrows: true\n }\n }\n ]\n });\n }\n // Adapt height on collapse\n if($('#faq-list .slick-list').length) {\n $('#faq-list .panel-heading a').click(function() {\n var that = $(this);\n setTimeout(function(){\n var totalheight = that.closest('.panel-group').height();\n $('#faq-list .slick-list').animate({\n 'height': totalheight + 'px'\n }, 200);\n }, 500);\n\n });\n }\n //footer menu\n $('.nav-item span').click(function() {\n if($(this).hasClass( \"active\" )) {\n $(this).parent().next( \"ul\" ).toggle();\n $(this).removeClass(\"active\");\n } else {\n $(\".nav-item span\").removeClass(\"active\");\n $(this).addClass(\"active\");\n $( \".nav-item > ul\" ).css( \"display\", \"none\" );\n $(this).parent().next( \"ul\" ).toggle();\n }\n });\n });\n /*===== End of INIT FUNCTION ======*/\n /*=====================================\n = RESIZE FUNCTION =\n =====================================*/\n $(window).resize(function() {});\n /*===== End of RESIZE FUNCTION =====*/\n /*=====================================\n = SCROLL FUNCTION =\n =====================================*/\n $(window).scroll(function() {\n\n //Button Scroll to Top\n displayScrollToTopButton();\n //Sticky header\n if (!is_ie11 && is_ie == -1) {\n stickyHeader($(this));\n }\n });\n /*===== End of SCROLL FUNCTION =====*/\n});\n"]}