PageSourceSearch

https://yashararch.com/wp-content/uploads/wipi-builder/cache/2312-…?ver=48627dfe6e680ad0daf2eb8ed1198028

js yashararch.com collected 2026-10-08 16:26:41 UTC 13,839 bytes, 69 lines download raw bytes

1
2var offsetCalc=100;if(jQuery('.fl-page-nav-right-transparent')){offsetCalc=0;}
3var FLBuilderLayoutConfig={isRtl:true,anchorLinkAnimations:{duration:1000,easing:'swing',offset:offsetCalc},paths:{home:'https://yashararch.com',pluginUrl:'https://yashararch.com/wp-content/plugins/wipi-builder/',wpAjaxUrl:'https://yashararch.com/wp-admin/admin-ajax.php'}};(function($){if(typeof FLBuilderLayout!='undefined'){return;}
4FLBuilderLayout={init:function()
5{FLBuilderLayout._destroy();FLBuilderLayout._initClasses();FLBuilderLayout._initBackgrounds();if(0===$('.fl-builder-edit').length){FLBuilderLayout._initAnchorLinks();FLBuilderLayout._initHash();FLBuilderLayout._initModuleAnimations();FLBuilderLayout._initForms();}},refreshGalleries:function(element)
6{var $element='undefined'==typeof element?$('body'):$(element),mfContent=$element.find('.fl-mosaicflow-content'),wmContent=$element.find('.fl-gallery'),mfObject=null;if(mfContent){mfObject=mfContent.data('mosaicflow');if(mfObject){mfObject.columns=$([]);mfObject.columnsHeights=[];mfContent.data('mosaicflow',mfObject);mfContent.mosaicflow('refill');}}
7if(wmContent){wmContent.trigger('refreshWookmark');}},_destroy:function()
8{var win=$(window);win.off('scroll.fl-bg-parallax');win.off('resize.fl-bg-video');},_isTouch:function()
9{if(('ontouchstart'in window)||(window.DocumentTouch&&document instanceof DocumentTouch)){return true;}
10return false;},_isMobile:function()
11{return/Mobile|Android|Silk\/|Kindle|BlackBerry|Opera Mini|Opera Mobi|webOS/i.test(navigator.userAgent);},_initClasses:function()
12{var body=$('body');if(body.hasClass('archive')){return;}
13body.addClass('wipi-builder');if(FLBuilderLayout._isTouch()){body.addClass('fl-builder-touch');}
14if(FLBuilderLayout._isMobile()){body.addClass('fl-builder-mobile');}}
14,_initBackgrounds:function()
15{var win=$(window);if($('.fl-row-bg-parallax').length>0&&!FLBuilderLayout._isMobile()){FLBuilderLayout._scrollParallaxBackgrounds();FLBuilderLayout._initParallaxBackgrounds();win.on('scroll.fl-bg-parallax',FLBuilderLayout._scrollParallaxBackgrounds);}
16if($('.fl-bg-video').length>0){FLBuilderLayout._initBgVideos();FLBuilderLayout._resizeBgVideos();win.on('resize.fl-bg-video',FLBuilderLayout._resizeBgVideos);}},_initParallaxBackgrounds:function()
17{$('.fl-row-bg-parallax').each(FLBuilderLayout._initParallaxBackground);},_initParallaxBackground:function()
18{var row=$(this),content=row.find('.fl-row-content-wrap'),src=row.data('parallax-image'),loaded=row.data('parallax-loaded'),img=new Image();if(loaded){return;}
19else if(typeof src!='undefined'){$(img).on('load',function(){content.css('background-image','url('+src+')');row.data('parallax-loaded',true);});img.src=src;}},_scrollParallaxBackgrounds:function()
20{$('.fl-row-bg-parallax').each(FLBuilderLayout._scrollParallaxBackground);},_scrollParallaxBackground:function()
21{var win=$(window),row=$(this),content=row.find('.fl-row-content-wrap'),speed=row.data('parallax-speed'),offset=content.offset(),yPos=-((win.scrollTop()-offset.top)/speed);content.css('background-position','center '+yPos+'px');},_initBgVideos:function()
22{$('.fl-bg-video').each(FLBuilderLayout._initBgVideo);},_initBgVideo:function()
23{var wrap=$(this),width=wrap.data('width'),height=wrap.data('height'),mp4=wrap.data('mp4'),mp4Type=wrap.data('mp4-type'),webm=wrap.data('webm'),webmType=wrap.data('webm-type'),youtube=wrap.data('youtube'),fallback=wrap.data('fallback'),loaded=wrap.data('loaded'),fallbackTag='',videoTag=null,mp4Tag=null,webmTag=null,youtubeTag=null;if(loaded){return;}
24else if(!FLBuilderLayout._isMobile()){videoTag=$('<video autoplay loop muted preload></video>');if('undefined'!=typeof mp4){mp4Tag=$('<source />');mp4Tag.attr('src',mp4);mp4Tag.attr('type',mp4Type);if('undefined'==typeof webm){mp4Tag.on('error',FLBuilderLayout._videoBgSourceError);}
25videoTag.append(mp4Tag);}
26if('undefined'!=typeof webm){webmTag=$('<source />');webmTag.attr('src',webm);webmTag.attr('type',webmType);if('undefined'!=typeof mp4){webmTag.on('error',FLBuilderLayout._videoBgSourceError);}
27videoTag.append(webmTag);}
28if('undefined'!=typeof youtube){var elId=wrap.data('player-id');if('undefined'==typeof YT){var tag=document.createElement('script');tag.src="https://www.youtube.com/player_api";var firstScriptTag=document.getElementsByTagName('script')[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);}
29var player;window['onYouTubePlayerAPIReady']=function(){player=new YT.Player(elId,{height:'720',width:'1280',videoId:youtube,playerVars:{playlist:youtube,controls:0,loop:1,modestbranding:1,playsinline:1,showinfo:0,rel:0,start:0,iv_load_policy:3,disablekb:0,cc_load_policy:0,origin:FLBuilderLayoutConfig.paths.home},events:{'onReady':function(){FLBuilderLayout._resizeBgVideos();player.mute();player.playVideo();}}});}
30videoTag=$('<!-- Youtube Video -->');}
31wrap.append(videoTag);}
32else if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);}
33wrap.data('loaded',true);},_videoBgSourceError:function(e)
34{var source=$(e.target),wrap=source.closest('.fl-bg-video'),vid=wrap.find('video iframe'),fallback=wrap.data('fallback'),fallbackTag='';if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);vid.remove();}},_resizeBgVideos:function()
35{$('.fl-bg-video').each(function(){FLBuilderLayout._resizeBgVideo.apply(this);if($(this).parent().find('img').length>0){$(this).parent().imagesLoaded($.proxy(FLBuilderLayout._resizeBgVideo,this));}});},_resizeBgVideo:function()
36{if(0===$(this).find('video, iframe').length){return;}
37var wrap=$(this),wrapHeight=wrap.outerHeight(),wrapWidth=wrap.outerWidth(),vid=wrap.find('video, iframe'),vidHeight=wrap.data('height'),vidWidth=wrap.data('width'),newWidth=wrapWidth,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newLeft=0,newTop=0;if(vidHeight===''||vidWidth===''){vid.css({'left':'0px','top':'0px','width':newWidth+'px'});}
38else{if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);}
39else{newTop=-((newHeight-wrapHeight)/2);}
40vid.css({'left':newLeft+'px','top':newTop+'px','height':newHeight+'px','width':newWidth+'px'});}},_initModuleAnimations:function()
41{if(typeof jQuery.fn.waypoint!=='undefined'){$('.fl-animation').waypoint({offset:'80%',handler:FLBuilderLayout._doModuleAnimation});}},_doModuleAnimation:function()
42{var module=$(this),delay=parseFloat(module.data('animation-delay'));if(!isNaN(delay)&&delay>0){setTimeout(function(){module.addClass('fl-animated');},delay*1000);}
43else{module.addClass('fl-animated');}},_initHash:function()
44{var hash=window.location.hash.replace('#','').split('/').shift(),element=null,tabs=null,responsiveLabel=null,tabIndex=null,label=null;if(''!==hash){element=$('#'+hash);if(element.length>0){if(element.hasClass('fl-accordion-item')){setTimeout(function(){element.find('.fl-accordion-button').trigger('click');},100);}
45if(element.hasClass('fl-tabs-panel')){setTimeout(function(){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){responsiveLabel.trigger('click');}
46else{FLBuilderLayout._scrollToElement(label);label.trigger('click');}},100);}}}},_initAnchorLinks:function()
47{$('a').each(FLBuilderLayout._initAnchorLink);},_initAnchorLink:function()
48{var link=$(this),href=link.attr('href'),loc=window.location,id=null,element=null;if('undefined'!=typeof href&&href.indexOf('#')>-1){if(loc.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&loc.hostname==this.hostname){try{id=href.split('#').pop();element=$('#'+id);if(element.length>0){if(link.hasClass('fl-scroll-link')||element.hasClass('fl-row')||element.hasClass('fl-col')||element.hasClass('fl-module')){$(link).on('click',FLBuilderLayout._scrollToElementOnLinkClick);}
49if(element.hasClass('fl-accordion-item')){$(link).on('click',FLBuilderLayout._scrollToAccordionOnLinkClick);}
50if(element.hasClass('fl-tabs-panel')){$(link).on('click',FLBuilderLayout._scrollToTabOnLinkClick);}}}
51catch(e){}}}},_scrollToElementOnLinkClick:function(e,callback)
52{var element=$('#'+$(this).attr('href').split('#').pop());FLBuilderLayout._scrollToElement(element,callback);e.preventDefault();},_scrollToElement:function(element,callback)
53{var config=FLBuilderLayoutConfig.anchorLinkAnimations,dest=0,win=$(window),doc=$(document);if(element.length>0){if(element.offset().top>doc.height()-win.height()){dest=doc.height()-win.height();}
54else{dest=element.offset().top-config.offset;}
55$('html, body').animate({scrollTop:dest},config.duration,config.easing,function(){if('undefined'!=typeof callback){callback();}
56if(history.pushState){history.pushState(null,null,'#'+element.attr('id'));}
57else{window.location.hash=element.attr('id');}});}},_scrollToAccordionOnLinkClick:function(e)
58{var element=$('#'+$(this).attr('href').split('#').pop());if(element.length>0){var callback=function(){if(element){element.find('.fl-accordion-button').trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);}},_scrollToTabOnLinkClick:function(e)
59{var element=$('#'+$(this).attr('href').split('#').pop()),tabs=null,label=null,responsiveLabel=null;if(element.length>0){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){var callback=function(){if(element){responsiveLabel.trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);}
60else{FLBuilderLayout._scrollToElement(label);label.trigger('click');}
61e.preventDefault();}},_initForms:function()
62{if(!FLBuilderLayout._hasPlaceholderSupport){$('.fl-form-field input').each(FLBuilderLayout._initFormFieldPlaceholderFallback);}
63$('.fl-form-field input').on('focus',FLBuilderLayout._clearFormFieldError);},_hasPlaceholderSupport:function()
64{var input=document.createElement('input');return'undefined'!=input.placeholder;},_initFormFieldPlaceholderFallback:function()
65{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if('undefined'!=placeholder&&''===val){field.val(placeholder);field.on('focus',FLBuilderLayout._hideFormFieldPlaceholderFallback);
65field.on('blur',FLBuilderLayout._showFormFieldPlaceholderFallback);}},_hideFormFieldPlaceholderFallback:function()
66{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(val==placeholder){field.val('');}},_showFormFieldPlaceholderFallback:function()
67{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(''===val){field.val(placeholder);}},_clearFormFieldError:function()
68{var field=$(this);field.removeClass('fl-form-error');field.siblings('.fl-form-error-message').hide();}};$(function(){FLBuilderLayout.init();});})(jQuery);(function($){FLBuilderPostCarousel=function(settings){this.settings=settings.settings;this.transitionType=settings.transition;this.nodeClass='.fl-node-'+settings.id;this.wrapperClass=this.nodeClass+' .fl-post-carousel-wrapper';this.postClass=this.nodeClass+' .fl-post-carousel-post';this.prevCarouselBtn=$(this.nodeClass+' .carousel-prev');this.nextCarouselBtn=$(this.nodeClass+' .carousel-next');this.layout=settings.layout;this.navigation=settings.navigationControls;this.slideWidth=settings.slideWidth;this.currentBrowserWidth=$(window).width();if(this._hasPosts()){this._initCarousel();$(window).on('resize',function(e){var width=$(window).width();if(width!=this.currentBrowserWidth){this._resizeDebounce();this.currentBrowserWidth=width;}}.bind(this));}};FLBuilderPostCarousel.prototype={settings:{},nodeClass:'',wrapperClass:'',postClass:'',prevCarouselBtn:'',nextCarouselBtn:'',layout:'',navigation:false,slideWidth:0,carousel:'',_hasPosts:function(){return $(this.postClass).length>0;},_resizeDebounce:function(){clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout(function(){this._reloadCarousel();}.bind(this),250);},_getSlidesNumber:function(){var $wrapperWidth=$(this.nodeClass+' .fl-post-carousel').width(),$slideWidth=$(this.postClass).width(),columns=Math.ceil($wrapperWidth/this.slideWidth);return columns;},_getSlideWidth:function(){return Math.ceil(($(this.nodeClass+' .fl-post-carousel').width()-(this.settings.slideMargin*(this._getSlidesNumber()-1)))/this._getSlidesNumber());},_getSettings:function(){var newSettings,settings={slideWidth:this._getSlideWidth(),minSlides:this._getSlidesNumber(),maxSlides:this._getSlidesNumber(),onSliderLoad:function(){$(this.wrapperClass).addClass('fl-post-carousel-loaded');}.bind(this),}
69newSettings=$.extend({},this.settings,settings);return newSettings;},_initCarousel:function(){this.carousel=$(this.wrapperClass).bxSlider(this._getSettings());$(this.wrapperClass).data('bxSlider',this.carousel);if(this.navigation){this.prevCarouselBtn.on('click',function(e){e.preventDefault();this.carousel.goToPrevSlide();}.bind(this));this.nextCarouselBtn.on('click',function(e){e.preventDefault();this.carousel.goToNextSlide();}.bind(this));}},_reloadCarousel:function(){this.carousel.reloadSlider(this._getSettings());},};})(jQuery);(function($){$(function(){new FLBuilderPostCarousel({id:'5a9fadac7f29b',layout:'grid',navigationControls:true,slideWidth:200,settings:{pager:false,auto:false,pause:1000,speed:1000,infiniteLoop:true,adaptiveHeight:true,controls:false,autoHover:true,slideMargin:1,moveSlides:1,}});});})(jQuery);var wpAjaxUrl='https://yashararch.com/wp-admin/admin-ajax.php';var flBuilderUrl='https://yashararch.com/wp-content/plugins/wipi-builder/';

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.