PageSourceSearch

https://inkistyle.com/wp-content/cache/min/1/wp-content/themes/bimber/js/global.js?ver=1790907676

js inkistyle.com collected 2026-10-04 02:54:01 UTC 24,961 bytes, 64 lines download raw bytes

1(function($){'use strict';var config=bimber_front_config;var g1={'config':config};g1.getWindowWidth=function(){if(typeof window.innerWidth!=='undefined'){return window.innerWidth}
2return $(window).width()};g1.isDesktopDevice=function(){return g1.getWindowWidth()>g1.getDesktopBreakpoint()};g1.getDesktopBreakpoint=function(){var desktopBreakPoint=$('#g1-breakpoint-desktop').css('min-width');if(!desktopBreakPoint){return 9999}
3desktopBreakPoint=parseInt(desktopBreakPoint,10);if(desktopBreakPoint===0){return 9999}
4return desktopBreakPoint};g1.isTouchDevice=function(){return('ontouchstart' in window)||navigator.msMaxTouchPoints};g1.isStickySupported=function(){var prefixes=['','-webkit-','-moz-','-ms-'];var block=document.createElement('div');var supported=!1;var i;for(i=prefixes.length-1;i>=0;i--){try{block.style.position=prefixes[i]+'sticky'}catch(e){}
5if(block.style.position!==''){supported=!0}}
6return supported};g1.isRTL=function(){return $('body').is('.rtl')};g1.log=function(data){if((g1.config.debug_mode||window.bimberDebugMode)&&typeof console!=='undefined'){if($.isArray(data)){for(var i in data){console.log(data[i])}}else{console.log(data)}}};g1.createCookie=function(name,value,time){var expires;if(time){var date=new Date();var ms=time;if(typeof time==='object'){ms=time.value;switch(time.type){case 'days':ms=ms*24*60*60*1000;break}}
7date.setTime(date.getTime()+ms);expires='; expires='+date.toGMTString()}else{expires=''}
8document.cookie=name+'='+value+expires+'; path=/'};g1.readCookie=function(name){var nameEQ=name+'=';var ca=document.cookie.split(';');for(var i=0;i<ca.length;i+=1){var c=ca[i];while(c.charAt(0)===' '){c=c.substring(1,c.length)}
9if(c.indexOf(nameEQ)===0){return c.substring(nameEQ.length,c.length)}}
10return null};g1.removeCookie=function(name){g1.createCookie(name,'',-1)};window.g1=g1})(jQuery);(function($){'use strict';g1.uiHelpers=function(){if(g1.isTouchDevice()){$('body').removeClass('g1-hoverable')}
11var mc4wpClasses=['g1-box','g1-box-tpl-frame','g1-newsletter'];var mc4wpBackgroundClasses=['g1-box-background'];if('original-2018'===g1.config.stack||'food'===g1.config.stack){mc4wpBackgroundClasses.push('g1-current-background')}
12if('miami'===g1.config.stack||'music'===g1.config.stack){mc4wpClasses.push('g1-dark')}
13$('.widget_mc4wp_form_widget').addClass(mc4wpClasses.join(' ')).wrapInner('<div class="g1-box-inner"></div>').prepend('<div class="g1-box-icon"></div>').append('<div class="'+mc4wpBackgroundClasses.join(' ')+'"></div>');var bbPressBackgroundClasses=['g1-box-background'];if('original-2018'===g1.config.stack||'food'===g1.config.stack){bbPressBackgroundClasses.push('g1-current-background')}
14$('.bbp_widget_login').addClass('g1-box g1-box-tpl-frame').wrapInner('<div class="g1-box-inner"></div>').append('<div class="'+bbPressBackgroundClasses.join(' ')+'"></div>');$('.g1-drop-the-search').on('click','.g1-drop-toggle',function(e){e.preventDefault();$('.g1-drop-the-search input.search-field').focus()});$('.search-submit').on('click',function(e){var $form=$(this).closest('form');var $input=$('input.search-field',$form);if(!$input.val()){e.preventDefault()}});$('#buddypress .load-more').click(function(){var i=0;var intervalID=setInterval(function(){$('body').trigger('g1PageHeightChanged');i++;if(i===5){window.clearInterval(intervalID)}},1000)})}})(jQuery);(function($){'use strict';g1.resetFacebookSDK=function(){$('script#facebook-jssdk').remove();$('#fb-root').remove();if(window.FB){delete window.FB}};$('body').on('g1BeforeNewContentReady',function(e,$newContent){if($newContent.find('.fb-video').length>0){g1.resetFacebookSDK()}})})(jQuery);(function($){'use strict';$('body').on('g1NewContentLoaded',function(e,$newContent){if($newContent.find('.instagram-media').length>0){if(typeof instgrm!=='undefined'&&typeof instgrm.Embeds!=='undefined'){instgrm.Embeds.process()}}})})(jQuery);(function($){'use strict';var loading=!1;var startingUrl=window.location.href;var setTargetBlank=g1.config.setTargetBlank;var useWaypoints=g1.config.useWaypoints;g1.loadMoreButton=function(){$('.g1-load-more').on('click',function(e){if(loading){return}
15loading=!0;e.preventDefault();var $button=$(this);var $collectionMore=$button.parents('.g1-collection-more');var url=$button.attr('data-g1-next-page-url');var $endMessage=$('.g1-pagination-end');$collectionMore.addClass('g1-collection-more-loading');var xhr=$.get(url);xhr.done(function(data){var collectionSelector='#primary > .g1-collection .g1-collection-items';var $resCollectionItems=$(data).find(collectionSelector).find('.g1-collection-item');var $resButton=$(data).find('.g1-load-more');var $collection=$(collectionSelector);
15$resCollectionItems.addClass('g1-collection-item-added');var $insta=$('script[src="//platform.instagram.com/en_US/embeds.js"]');if(window.wp&&typeof window.wp.mediaelement==='undefined'){var matches=data.match(/<script(.|\n)*?<\/script>/g);var mejsCode='';matches.forEach(function(match){if(match.indexOf('mejs')>0||match.indexOf('mediaelement')>0){match=match.replace('<script','<script async');mejsCode+=match}});matches=data.match(/<link(.|\n)*?\/>/g);matches.forEach(function(match){if(match.indexOf('mejs')>0||match.indexOf('mediaelement')>0){mejsCode+=match}});$collection.after(mejsCode)}
16if(setTargetBlank){$('a',$resCollectionItems).attr('target','_blank')}
17var $collection_waypoint='<span class="bimber-collection-waypoint" data-bimber-archive-url="'+url+'"></span>';$collection.append($collection_waypoint);$collection.append($resCollectionItems);if(typeof ga!=='undefined'&&typeof ga.getAll!=='undefined'){ga('create',ga.getAll()[0].get('trackingId'),'auto');ga('set',{location:url});ga('send','pageview')}
18if($insta.length>0){window.instgrm.Embeds.process()}
19if(window.wp&&typeof window.wp.mediaelement!=='undefined'){window.wp.mediaelement.initialize()}
20$('body').trigger('g1PageHeightChanged');$('body').trigger('g1NewContentLoaded',[$resCollectionItems]);if($resButton.length>0){$button.attr('data-g1-next-page-url',$resButton.attr('data-g1-next-page-url'))}else{$collectionMore.remove()}
21if(typeof g1.autoPlayVideo==='function'){g1.autoPlayVideo()}
22if(useWaypoints){$('.bimber-collection-waypoint').waypoint(function(direction){var $waypoint=$(this.element);if('up'===direction){var $waypointUp=$waypoint.prevAll('.bimber-collection-waypoint');if($waypointUp.length>0){$waypoint=$($waypointUp[0])}else{window.history.replaceState({},'',startingUrl);return}}
23var waypointUrl=$waypoint.attr('data-bimber-archive-url');var currentUrl=window.location.href;if(waypointUrl!==currentUrl){window.history.replaceState({},'',waypointUrl)}},{offset:'-5%'})}});xhr.fail(function(){$button.addClass('g1-info-error');$button.remove();$endMessage.show()});xhr.always(function(){$collectionMore.removeClass('g1-collection-more-loading');loading=!1})})}})(jQuery);(function($){'use strict';g1.infiniteScrollConfig={'offset':'150%'};var triggeredByClick=!1;g1.infiniteScroll=function(){$('.g1-collection-more.infinite-scroll').each(function(){var $this=$(this);if($this.is('.on-demand')&&!triggeredByClick){return!1}
24$this.waypoint(function(direction){if('down'===direction){$this.find('.g1-load-more').trigger('click')}},{offset:g1.infiniteScrollConfig.offset})})};$('body').on('g1NewContentLoaded',function(){triggeredByClick=!0;g1.infiniteScroll()})})(jQuery);(function($){'use strict';g1.dateToTimeago=function(){if(!$.fn.timeago){return}
25var $body=$('body');$('time.entry-date, span.entry-date > time, .comment-metadata time, time.snax-item-date').timeago();$body.on('g1NewContentLoaded',function(e,$newContent){if($newContent){$newContent.find('time.entry-date, .comment-metadata time, time.snax-item-date').timeago()}});$body.on('caceWpCommentInitialized',function(e){$(e.detail).find('time.entry-date, .comment-metadata time, time.snax-item-date').timeago()})}})(jQuery);(function($){'use strict';var selectors={'toggle':'.g1-hamburger'};g1.globalCanvasSelectors=selectors;var canvas;g1.canvas=function(){canvas=Canvas();g1.canvasInstance=canvas;$(selectors.toggle).on('click',function(e){e.preventDefault();canvas.toggle()})};function Canvas(){var that={};var listeners={'open':[],'close':[]};var currentContent='';var currentScroll=0;var _clientY;var init=function(){var $overlay=$('.g1-canvas-overlay');$overlay.on('click',that.toggle);$('.g1-canvas').on('toggle-canvas',function(){that.toggle()});$('.g1-canvas .g1-canvas-toggle').on('click',that.toggle);if($('html.g1-off-outside').length){enquire.register('screen and ( min-width: 700px )',{match:function(){that.close()}})}
26if($('html.g1-off-inside').length){enquire.register('screen and ( max-width: 1024px )',{match:function(){that.close()}});enquire.register('screen and ( min-width: 1025px )',{match:function(){that.lazyload()}})}
27return that};that.getContent=function(){return $('.g1-canvas-global .g1-canvas-content')};that.captureClientY=function(event){_clientY=event.targetTouches[0].clientY};that.disableCanvasScroll=function(e){var _element=$('.g1-canvas');var clientY=e.targetTouches[0].clientY-_clientY;if(_element.scrollTop===0&&clientY>0){alert('top scroll');e.preventDefault();e.stopPropagation();return!1}
28if((_element.scrollHeight-_element.scrollTop<=_element.clientHeight)&&clientY<0){alert('bottom scroll');e.preventDefault();e.stopPropagation();return!1}};that.disableBodyScroll=function(e){};that.lazyload=function(){$('.g1-canvas-background[data-bg]:not(.lazyloaded)').addClass('lazyload')};that.open=function(content){that.lazyload();window.requestAnimationFrame(function(){var breakpoint=$(document).width();var cssClass=breakpoint>=1025?'g1-off-global-desktop':'g1-off-global';$('html').addClass(cssClass);currentContent=content;var $canvas=$('.g1-canvas-global');if(content){if(typeof content==='string'){$canvas.find('.g1-canvas-content').html(content)}else{$canvas.find('.g1-canvas-content').empty().append(content)}
29$canvas.find('.g1-canvas-content').trigger('g1-new-content')}
30that.notify('open')})};that.close=function(){window.requestAnimationFrame(function(){$('html').removeClass('g1-off-global g1-off-global-desktop');that.notify('close')})};that.toggle=function(e){if(e){e.preventDefault()}
31if($('html').is('.g1-off-global, .g1-off-global-desktop')){that.close()}else{that.open(null)}};that.notify=function(eventType){var callbacks=listeners[eventType];for(var i=0;i<callbacks.length;i++){callbacks[i](that.getContent())}};that.on=function(eventType,listener,priority){listeners[eventType][priority]=listener};return init()}})(jQuery);(function($){'use strict';var $waypointElem=!1;var selectors={'stickyWidgetWrapper':'.g1-sticky-widget-wrapper','
31stickyWidget':'.g1-sticky-widget','widget':'.widget','content':'#primary .entry-content'};var sidebarSelectors=['#secondary','#tertiary'];g1.stickyTopOffsetSelectors=['#wpadminbar','.g1-iframe-bar','.g1-sharebar-loaded','.g1-sticky-top-wrapper'];g1.resetStickyElements=function(){$(selectors.stickyWidgetWrapper).css('height','');$(selectors.stickyWidget).css('position','block')};g1.stickySidebar=function(){if(!g1.isDesktopDevice()){g1.resetStickyElements();return}
32var $widgets=$(selectors.stickyWidget);if($widgets.length===0){return}
33var topOffset=0;$(g1.stickyTopOffsetSelectors).each(function(){var $element=$(this);if($element.length>0&&$element.is(':visible')){topOffset+=parseInt($element.outerHeight(),10)}});$widgets.each(function(){var $widget=$(this);var top=parseInt($widget.css('top'),10);if(topOffset>0){top+=topOffset;$widget.css('top',top+'px')}});if(typeof Stickyfill!=='undefined'){Stickyfill.add($widgets)}
34var adjustLastWidgetHeight=function(isVariableContent){$(sidebarSelectors).each(function(){var $sidebar=$(this);var $widgets=$sidebar.children(selectors.widget+','+selectors.stickyWidgetWrapper);var $lastWidget=$widgets.last();if($lastWidget.is(selectors.stickyWidgetWrapper)){$lastWidget.css('height','');var sidebarHeight;if(isVariableContent){sidebarHeight=parseInt($(selectors.content).outerHeight(),10)}else{sidebarHeight=parseInt($sidebar.outerHeight(),10)}
35var widgetsHeight=0;$widgets.each(function(){widgetsHeight+=parseInt($(this).outerHeight(!0),10)});if(widgetsHeight<sidebarHeight){var diffHeight=sidebarHeight-widgetsHeight;var lastWidgetHeight=parseInt($lastWidget.css('height'),10);lastWidgetHeight+=diffHeight;$lastWidget.css('height',lastWidgetHeight+'px')}
36$waypointElem=$lastWidget}})};var $body=$('body');var isVariableContent=$body.is('.single');adjustLastWidgetHeight(isVariableContent);$body.on('g1NewContentLoaded g1PageHeightChanged',function(e){adjustLastWidgetHeight()});if(!1!==$waypointElem){$waypointElem.waypoint(function(direction){if('down'===direction){adjustLastWidgetHeight()}},{offset:'bottom-in-view'})}}})(jQuery);(function($){'use strict';var selectors=['#wpadminbar','.g1-iframe-bar','.g1-sharebar-loaded','.g1-sticky-top-wrapper'];g1.stickyElementsTopOffsetSelectors=selectors;g1.stickyPosition=function($context){$context=$context||$('body');var $stickyTop=$('.g1-sticky-top-wrapper');if($stickyTop.length>0&&!$stickyTop.is('.g1-loaded')){var disableStickyHeader=!1;var isDesktop=g1.getWindowWidth()>800;var sharebarLoaded=$('.g1-sharebar-loaded').length>0||$('.essb_topbar').length>0;if(sharebarLoaded&&isDesktop){disableStickyHeader=!0}
37if(disableStickyHeader){$stickyTop.removeClass('g1-sticky-top-wrapper')}else{if(!g1.isStickySupported()){Stickyfill.add($stickyTop)}
38$stickyTop.addClass('g1-loaded')}}
39var topOffset=0;for(var i=0;i<selectors.length;i++){var $elem=$(selectors[i]);if($elem.length>0&&$elem.is(':visible')){topOffset+=$elem.outerHeight()}}
40$context.find('.g1-wrapper-with-stickies > .entry-actions').each(function(){var $this=$(this);$this.css('top',topOffset);Stickyfill.add($this)});Stickyfill.add($('.snax-form-frontend .snax-form-side'));$context.find('.entry-tpl-index-stickies > .entry-actions, .entry-tpl-feat-stickies .entry-actions').each(function(){var $this=$(this);$this.css('top',topOffset+10);Stickyfill.add($this)})};$('body').on('g1NewContentLoaded',function(e,$newContent){if($newContent){g1.stickyPosition($newContent)}})})(jQuery);(function($){'use strict';var selectors={'drop':'.g1-drop','dropExpanded':'.g1-drop-expanded','dropToggle':'.g1-drop-toggle'};var classes={'dropExpanded':'g1-drop-expanded'};g1.droppableElements=function(){$('body').on('click touchstart',function(e){var $activeDrop=$(e.target).parents('.g1-drop-expanded');$(selectors.dropExpanded).not($activeDrop).removeClass(classes.dropExpanded)});if(g1.isTouchDevice()){$('body').on('click',selectors.drop,function(e){var $drop=$(this);if($drop.find('.g1-drop-content').length===0){return}
41if($drop.is(selectors.dropExpanded)){var $clickedElement=$(e.target);var toggleClicked=$clickedElement.parents(selectors.dropToggle).length>0;if(toggleClicked){$drop.removeClass(classes.dropExpanded);e.preventDefault()}}
41else{$drop.addClass(classes.dropExpanded);e.preventDefault()}})}else{$(selectors.dropToggle).on('click',function(){})}}})(jQuery);(function($){'use strict';$('body').on('submit','.mc4wp-form',function(e){var submissionType='ajax';if(typeof bimberMc4wpFormSubmissionType==='function'){submissionType=bimberMc4wpFormSubmissionType(submissionType)}
42if(submissionType!=='ajax'){return}
43e.preventDefault();var $form=$(this);$.ajax({'type':'POST','url':window.location.href,'data':$form.serialize()}).done(function(res){var $response=$(res).find('#'+$form.attr('id')+' .mc4wp-response');$response.prependTo($form)})})})(jQuery);(function($){'use strict';g1.snax=function(){var $body=$('body');$body.on('snaxFullFormLoaded',function(e,$post){$post.find('.g1-button-m.g1-button-solid').removeClass('g1-button-m  g1-button-solid').addClass('g1-button-s  g1-button-simple');$post.find('.g1-beta.g1-beta-1st').removeClass('g1-beta g1-beta-1st').addClass('g1-gamma g1-gamma-1st')})};window.caceWpCommentListPropsFilter=function(props,comments){if($(comments).parents('.snax-item').length>0){props.loadMoreType='load_more'}
44return props}})(jQuery);(function($){'use strict';g1.mediaAce=function(){$('body').on('g1NewContentLoaded',function(){$('body').trigger('maceLoadYoutube')});$(document).on('lazybeforeunveil',function(e){var $target=$(e.target);var targetSrc=$target.attr('data-src');if(targetSrc&&targetSrc.endsWith('.gif')){$target.on('load',function(){$target.addClass('g1-enable-gif-player');setTimeout(function(){if(typeof g1.gifPlayer==='function'){g1.gifPlayer($target.parent())}},100)})}});$(document).on('bimberGifPlayerLoaded',function(e,$canvasWrapper){if($canvasWrapper.hasClass('lazyloading')){$canvasWrapper.removeClass('lazyloading');$canvasWrapper.addClass('lazyloaded')}})}})(jQuery);(function(context,$,i18n){'use strict';$(document).ready(function(){PrimaryMenu()});function PrimaryMenu(){var that={};that.init=function(){that.registerEventsHandlers();$('.menu-item-has-children > a, .menu-item-g1-mega > a').append('<span class="g1-link-toggle"></span>');return that};that.registerEventsHandlers=function(){that.handleMenuItemClick();that.handleMenuItemFocusOut()};that.handleMenuItemFocusOut=function(){$('body').on('click',function(e){if($(e.target).parents('.mtm-drop-expanded').length===0){if($(e.target).parents('.g1-menu-h').length){that.collapseAllOpenedSubmenus()}}})};that.handleMenuItemClick=function(){$('.g1-primary-nav, .g1-secondary-nav').on('click','.menu-item > a',function(e){var $menu=$(this).parents('.g1-primary-nav');if($menu.length===0){$menu=$(this).parents('.g1-secondary-nav')}
45var isSimpleList=$menu.is('#g1-canvas-primary-nav')||$menu.is('#g1-canvas-secondary-nav');if(g1.isTouchDevice()||isSimpleList){that.handleMenuTouchEvent($(this),e)}})};that.handleMenuTouchEvent=function($link,event){var $li=$link.parent('li');that.collapseAllOpenedSubmenus($li);if($li.hasClass('menu-item-has-children')){event.preventDefault();var $helper=$li.find('ul.sub-menu:first > li.g1-menu-item-helper');if($helper.length===0){var href=$link.attr('href');if(href&&href.length){var anchor=i18n.go_to+' <span class="mtm-item-helper-title">'+$link.html()+'</span>';$helper=$('<li class="menu-item g1-menu-item-helper"><a class="mtm-link" href="'+href+'"><span class="mtm-link-text"><span class="mtm-link-title">'+anchor+'</span></span></a></li>');$li.find('ul.sub-menu:first').prepend($helper)}}
46if(!$li.is('.mtm-drop-expanded')){$li.find('.mtm-drop-expanded .g1-menu-item-helper').remove();$li.addClass('mtm-drop-expanded')}else{$li.find('.mtm-drop-expanded').removeClass('mtm-drop-expanded');$li.removeClass('mtm-drop-expanded')}}};that.collapseAllOpenedSubmenus=function($currentItem){if($currentItem){var $currentMenu=$currentItem.parents('nav');var $topLevelLi=$currentItem.parents('li.menu-item');if($topLevelLi.length===0){$currentMenu.find('.mtm-drop-expanded').not($currentItem).removeClass('mtm-drop-expanded')}else{$topLevelLi.siblings('li').find('.mtm-drop-expanded').removeClass('mtm-drop-expanded')}
47$('nav').not($currentMenu).find('.mtm-drop-expanded').removeClass('mtm-drop-expanded')}else{$('.mtm-drop-expanded').removeClass('mtm-drop-expanded')}};return that.init()}})(window,jQuery,g1.config.i18n.menu);(function(){var lastTime=0;var vendors=['ms','moz','webkit','o'];for(var x=0;x<vendors.length&&!window.requestAnimationFrame;++x){window.requestAnimationFrame=window[vendors[x]+'RequestAnimationFrame'];window.cancelAnimationFrame=window[vendors[x]+'CancelAnimationFrame']||window[vendors[x]+'CancelRequestAnimationFrame']}
48if(!window.requestAnimationFrame){window.requestAnimationFrame=function(callback){var currTime=new Date().getTime();var timeToCall=Math.max(0,16-(currTime-lastTime));var id=window.setTimeout(function(){callback(currTime+timeToCall)},timeToCall);lastTime=currTime+timeToCall;return id}}
49if(!window.cancelAnimationFrame){window.cancelAnimationFrame=function(id){clearTimeout(id)}}}());(function($){'use strict';g1.popup=function(){var
50HTMLBase=$('html'),Popup=$('.g1-popup-newsletter'),PopupCookie=g1.readCookie('g1_popup_disabled'),PopupCloser=$('.g1-popup-base, .g1-popup-closer');if(PopupCookie){HTMLBase.addClass('exit-intent-disabled')}
51if(Popup.length<=0){return}
52$(document).on('mouseleave',function(e){if(e.clientY<10&&!HTMLBase.hasClass('exit-intent-disabled')&&!HTMLBase.hasClass('g1-slideup-visible')){HTMLBase.addClass('g1-popup-ready');setTimeout(function(){HTMLBase.addClass('g1-popup-visible').addClass('exit-intent-disabled')},50)}});PopupCloser.on('click',function(e){e.preventDefault();HTMLBase.removeClass('g1-popup-visible');g1.createCookie('g1_popup_disabled',1,24*60*60*1000)})}
53g1.slideup=function(){var
54HTMLBase=$('html'),Slideup=$('.g1-slideup-newsletter'),SlideupCloser=$('.g1-slideup-newsletter-closer'),SlideupCookie=g1.readCookie('g1_slideup_disabled'),ScrollPositon=$(document).scrollTop(),ScrollTarget=$('.single-post article .entry-content'),ScrollTargetOffset=ScrollTarget.offset(),ScrollTargetHeight=ScrollTarget.height(),ShowOn=50;SlideupCloser.on('click',function(e){e.preventDefault();HTMLBase.removeClass('g1-slideup-visible').addClass('slideup-intent-disabled');g1.createCookie('g1_slideup_disabled',1,24*60*60*1000)});if(SlideupCookie){HTMLBase.addClass('slideup-intent-disabled')}
55if(Slideup.length<=0){return}
56if(ScrollTarget.length<=0){return}
57$(window).on('scroll',function(){ScrollPositon=$(document).scrollTop();ScrollTargetOffset=ScrollTarget.offset();ScrollTargetHeight=ScrollTarget.height();if(((ScrollPositon-ScrollTargetOffset.top)/(ScrollTargetHeight)).toFixed(6)*100>=ShowOn&&!HTMLBase.hasClass('slideup-intent-disabled')&&!HTMLBase.hasClass('g1-popup-visible')){HTMLBase.addClass('g1-slideup-visible')}})}})(jQuery);(function($){'use strict';$(document).ready(function(){$('.wp-social-login-provider-list').on('click',function(){if($(this).hasClass('wp-social-login-provider-list-active')){return}
58$('.snax-wpsl-gdpr-consent').addClass('snax-wpsl-gdpr-consent-blink');setTimeout(function(){$('.snax-wpsl-gdpr-consent').removeClass('snax-wpsl-gdpr-consent-blink')},2000)});$('.snax-wpsl-gdpr-consent input').on('click',function(){var enabled=$(this).is(':checked');if(enabled){$('.wp-social-login-provider-list').addClass('wp-social-login-provider-list-active')}else{$('.wp-social-login-provider-list').removeClass('wp-social-login-provider-list-active')}})})})(jQuery);(function($){'use strict';g1.updatePostViews=function(nonce,postId){$.ajax({'type':'POST','url':g1.config.ajax_url,'data':{'action':'update_views_ajax','wpp_id':postId,'token':nonce}})};$('.bimber-count-view').on('click',function(){var postId;var $body=$('body');if($body.is('.single-format-link')){var res=$body.attr('class').match(/postid-(\d+)/);if(res){postId=res[1]}}else{var $article=$(this).parents('article.format-link');if($article.length>0){postId=$article.attr('class').match(/post\-(\d+)/)[1]}}
59if(postId){$.ajax({'type':'POST','url':g1.config.ajax_url,'data':{'action':'update_views_ajax','wpp_id':postId,'token':g1.config.wpp.token}})}})})(jQuery);(function($){'use strict';g1.flickity=function($context){$context=$context||$('body');var FlickitySpots=$context.find('.adace-shop-the-post-wrap.carousel-wrap .woocommerce .products, .g1-products-widget-carousel .product_list_widget');FlickitySpots.each(function(){if($(this).hasClass('.flickity-enabled')){return}
60var ThisFlickityItems=$(this).children(),ThisFlickityItemsWidth=ThisFlickityItems.outerWidth()*ThisFlickityItems.length,ThisFlickityArgs={cellAlign:'left',wrapAround:!0,prevNextButtons:!0,pageDots:!1,groupCells:!0,rightToLeft:g1.isRTL(),imagesLoaded:!0};if(ThisFlickityItemsWidth<=$(this).outerWidth()){ThisFlickityArgs.cellAlign='center';ThisFlickityArgs.wrapAround=!1}else{var ThisRequiredNumber=Math.round($(this).outerWidth()/ThisFlickityItems.outerWidth())*ThisFlickityItems.length;while(ThisFlickityItems.length<ThisRequiredNumber){$(this).append(ThisFlickityItems.clone(!0));ThisFlickityItems=$(this).children()}}
61$(this).flickity(ThisFlickityArgs)})};$('body').on('g1NewContentLoaded',function(e,$newContent){g1.flickity($newContent)})})(jQuery);(function($){'use strict';$(document).ready(function(){var selectors=['#wpadminbar','.g1-iframe-bar','.g1-sticky-top-wrapper'];var applyOffset=function(){var topOffset=0;for(var i=0;i<selectors.length;i++){var $elem=$(selectors[i]);if($elem.length>0&&$elem.is(':visible')){topOffset+=$elem.outerHeight()}}
62var cssRule='html.g1-off-inside.g1-off-global-desktop .g1-canvas {top:'+topOffset+'px;'
63$('#g1-canvas-js-css').remove();$('head').append('<style id="g1-canvas-js-css">'+cssRule+'</style>');$('html.g1-off-inside .g1-canvas').removeClass('g1-canvas-no-js').addClass('g1-canvas-js')};$('body').on('g1PageHeightChanged',function(e){applyOffset()});$('html.g1-off-inside .g1-canvas.g1-canvas-no-js').each(function(){applyOffset()})})})(jQuery);(function($){'use strict';$(document).ready(function(){g1.uiHelpers();if(g1.config.timeago==='on'){g1.dateToTimeago()}
64g1.loadMoreButton();g1.infiniteScroll();g1.stickyPosition();g1.droppableElements();g1.canvas();g1.snax();g1.mediaAce();g1.flickity();g1.popup();g1.slideup();g1.stickySidebar()})})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.